2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for tslib 0.0.2.
5 # Report bugs to <kergoth@handhelds.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 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 # Pre-4.2 versions of Zsh do 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
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x
; then
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var
in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
136 # Required to use basename.
137 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
144 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151 # Name of the executable.
152 as_me
=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
175 if test "x$CONFIG_SHELL" = x
; then
176 if (eval ":") 2>/dev
/null
; then
182 if test $as_have_required = yes && (eval ":
192 as_func_ret_success () {
195 as_func_ret_failure () {
200 if as_func_success; then
204 echo as_func_success failed.
207 if as_func_failure; then
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev
/null
; then
242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
243 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
246 test -z "$as_dir" && as_dir
=.
249 for as_base
in sh bash ksh sh5
; do
250 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
257 for as_shell
in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
279 CONFIG_SHELL
=$as_shell
281 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
290 case `(set -o) 2>/dev/null` in
291 *posix
*) set -o posix
;;
307 as_func_ret_success
() {
310 as_func_ret_failure
() {
315 if as_func_success
; then
319 echo as_func_success failed.
322 if as_func_failure
; then
324 echo as_func_failure succeeded.
327 if as_func_ret_success
; then
331 echo as_func_ret_success failed.
334 if as_func_ret_failure
; then
336 echo as_func_ret_failure succeeded.
339 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
343 echo positional parameters were not saved.
346 test $exitcode = 0) ||
{ (exit 1); exit 1; }
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
363 if test "x$CONFIG_SHELL" != x
; then
364 for as_var
in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no
; then
373 echo This
script requires a shell
more modern than all the
374 echo shells that I found on your system. Please
install a
375 echo modern shell
, or manually run the
script under such a
376 echo shell
if you
do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
396 as_func_ret_success () {
399 as_func_ret_failure () {
404 if as_func_success; then
408 echo as_func_success failed.
411 if as_func_failure; then
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 echo positional parameters were not saved.
435 test \$exitcode = 0") ||
{
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system
,
438 echo including any error possibly output before this message.
439 echo This can
help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475 chmod +x
"$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
483 # Exit status is that of the last command.
488 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
494 ECHO_C
= ECHO_N
= ECHO_T
=
498 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
504 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
511 rm -f conf$$ conf$$.exe conf$$.
file
512 if test -d conf$$.dir
; then
513 rm -f conf$$.dir
/conf$$.
file
516 mkdir conf$$.dir
2>/dev
/null
518 if (echo >conf$$.
file) 2>/dev
/null
; then
519 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
527 elif ln conf$$.
file conf$$
2>/dev
/null
; then
535 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
536 rmdir conf$$.dir
2>/dev
/null
538 if mkdir
-p .
2>/dev
/null
; then
541 test -d .
/-p && rmdir .
/-p
545 if test -x / >/dev
/null
2>&1; then
548 if ls -dL / >/dev
/null
2>&1; then
555 if test -d "$1"; then
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
566 as_executable_p
=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
577 # Check that we are running under the correct shell.
578 SHELL
=${CONFIG_SHELL-/bin/sh}
582 # Remove one level of quotation (which was required for Make).
583 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
588 if test "X$1" = X--no-reexec
; then
589 # Discard the --no-reexec flag, and continue.
591 elif test "X$1" = X--fallback-echo
; then
592 # Avoid inline document here, it may be left over
594 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
595 # Yippee, $echo works!
598 # Restart under the correct shell.
599 exec $SHELL "$0" --no-reexec ${1+"$@"}
602 if test "X$1" = X--fallback-echo
; then
603 # used as fallback echo
611 # The HP-UX ksh and POSIX shell print the target directory to stdout
613 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
615 if test -z "$ECHO"; then
616 if test "X${echo_test_string+set}" != Xset
; then
617 # find a string as large as possible, as long as the shell can cope with it
618 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
621 echo_test_string
=`eval $cmd` &&
622 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
629 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
630 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
631 test "X$echo_testing_string" = "X$echo_test_string"; then
634 # The Solaris, AIX, and Digital Unix default echo programs unquote
635 # backslashes. This makes it impossible to quote backslashes using
636 # echo "$something" | sed 's/\\/\\\\/g'
638 # So, first we look for a working echo in the user's PATH.
640 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
641 for dir
in $PATH /usr
/ucb
; do
643 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
644 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
645 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
646 test "X$echo_testing_string" = "X$echo_test_string"; then
653 if test "X$echo" = Xecho
; then
654 # We didn't find a better echo, so look for alternatives.
655 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
656 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
657 test "X$echo_testing_string" = "X$echo_test_string"; then
658 # This shell has a builtin print -r that does the trick.
660 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
661 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
662 # If we have ksh, try running configure again with it.
663 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
664 export ORIGINAL_CONFIG_SHELL
665 CONFIG_SHELL
=/bin
/ksh
667 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
671 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
672 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
673 test "X$echo_testing_string" = "X$echo_test_string"; then
676 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
677 test "X$echo_testing_string" = 'X\t' &&
678 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
679 test "X$echo_testing_string" = "X$echo_test_string"; then
680 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
682 SHELL
="$CONFIG_SHELL"
684 echo="$CONFIG_SHELL $0 --fallback-echo"
685 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
686 test "X$echo_testing_string" = 'X\t' &&
687 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
688 test "X$echo_testing_string" = "X$echo_test_string"; then
689 echo="$CONFIG_SHELL $0 --fallback-echo"
691 # maybe with a smaller string...
694 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
695 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
702 if test "$prev" != 'sed 50q "$0"'; then
703 echo_test_string
=`eval $prev`
704 export echo_test_string
705 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
707 # Oops. We lost completely, so just stick with echo.
716 # Copy echo and quote the copy suitably for passing to libtool from
717 # the Makefile, instead of quoting the original, which is used later.
719 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
720 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
726 tagnames
=${tagnames+${tagnames},}CXX
728 tagnames
=${tagnames+${tagnames},}F77
730 exec 7<&0 </dev
/null
6>&1
733 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
734 # so uname gets run too.
735 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
740 ac_default_prefix
=/usr
/local
742 ac_config_libobj_dir
=.
748 SHELL
=${CONFIG_SHELL-/bin/sh}
750 # Identity of this package.
752 PACKAGE_TARNAME
='tslib'
753 PACKAGE_VERSION
='0.0.2'
754 PACKAGE_STRING
='tslib 0.0.2'
755 PACKAGE_BUGREPORT
='kergoth@handhelds.org'
757 ac_unique_file
="src/ts_close.c"
758 # Factoring default headers for most tests.
759 ac_includes_default
="\
761 #ifdef HAVE_SYS_TYPES_H
762 # include <sys/types.h>
764 #ifdef HAVE_SYS_STAT_H
765 # include <sys/stat.h>
771 # ifdef HAVE_STDLIB_H
776 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
781 #ifdef HAVE_STRINGS_H
782 # include <strings.h>
784 #ifdef HAVE_INTTYPES_H
785 # include <inttypes.h>
794 ac_subst_vars
='LTLIBOBJS
803 ENABLE_INPUT_MODULE_FALSE
804 ENABLE_INPUT_MODULE_TRUE
805 ENABLE_ARCTIC2_MODULE_FALSE
806 ENABLE_ARCTIC2_MODULE_TRUE
807 ENABLE_MK712_MODULE_FALSE
808 ENABLE_MK712_MODULE_TRUE
809 ENABLE_H3600_MODULE_FALSE
810 ENABLE_H3600_MODULE_TRUE
811 ENABLE_COLLIE_MODULE_FALSE
812 ENABLE_COLLIE_MODULE_TRUE
813 ENABLE_CORGI_MODULE_FALSE
814 ENABLE_CORGI_MODULE_TRUE
815 ENABLE_UCB1X00_MODULE_FALSE
816 ENABLE_UCB1X00_MODULE_TRUE
817 ENABLE_PTHRES_MODULE_FALSE
818 ENABLE_PTHRES_MODULE_TRUE
819 ENABLE_VARIANCE_MODULE_FALSE
820 ENABLE_VARIANCE_MODULE_TRUE
821 ENABLE_H2200_LINEAR_MODULE_FALSE
822 ENABLE_H2200_LINEAR_MODULE_TRUE
823 ENABLE_DEJITTER_MODULE_FALSE
824 ENABLE_DEJITTER_MODULE_TRUE
825 ENABLE_LINEAR_MODULE_FALSE
826 ENABLE_LINEAR_MODULE_TRUE
884 INSTALL_STRIP_PROGRAM
926 program_transform_name
938 enable_option_checking
939 enable_dependency_tracking
940 with_hidden_visibility
962 ac_precious_vars
='build_alias
979 # Initialize some variables set by options.
981 ac_init_version
=false
982 ac_unrecognized_opts
=
984 # The variables have the same names as the options, with
985 # dashes changed to underlines.
993 program_transform_name
=s
,x
,x
,
1001 # Installation directory options.
1002 # These are left unexpanded so users can "make install exec_prefix=/foo"
1003 # and all the variables that are supposed to be based on exec_prefix
1004 # by default will actually change.
1005 # Use braces instead of parens because sh, perl, etc. also accept them.
1006 # (The list follows the same order as the GNU Coding Standards.)
1007 bindir
='${exec_prefix}/bin'
1008 sbindir
='${exec_prefix}/sbin'
1009 libexecdir
='${exec_prefix}/libexec'
1010 datarootdir
='${prefix}/share'
1011 datadir
='${datarootdir}'
1012 sysconfdir
='${prefix}/etc'
1013 sharedstatedir
='${prefix}/com'
1014 localstatedir
='${prefix}/var'
1015 includedir
='${prefix}/include'
1016 oldincludedir
='/usr/include'
1017 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1018 infodir
='${datarootdir}/info'
1023 libdir
='${exec_prefix}/lib'
1024 localedir
='${datarootdir}/locale'
1025 mandir
='${datarootdir}/man'
1031 # If the previous option needs an argument, assign it.
1032 if test -n "$ac_prev"; then
1033 eval $ac_prev=\
$ac_option
1039 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1043 # Accept the important Cygnus configure options, so we can diagnose typos.
1045 case $ac_dashdash$ac_option in
1049 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1051 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1052 bindir
=$ac_optarg ;;
1054 -build |
--build |
--buil |
--bui |
--bu)
1055 ac_prev
=build_alias
;;
1056 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1057 build_alias
=$ac_optarg ;;
1059 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1060 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1061 ac_prev
=cache_file
;;
1062 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1063 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1064 cache_file
=$ac_optarg ;;
1066 --config-cache |
-C)
1067 cache_file
=config.cache
;;
1069 -datadir |
--datadir |
--datadi |
--datad)
1071 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1072 datadir
=$ac_optarg ;;
1074 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1075 |
--dataroo |
--dataro |
--datar)
1076 ac_prev
=datarootdir
;;
1077 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1078 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1079 datarootdir
=$ac_optarg ;;
1081 -disable-* |
--disable-*)
1082 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1083 # Reject names that are not valid shell variable names.
1084 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1085 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1086 { (exit 1); exit 1; }; }
1087 ac_useropt_orig
=$ac_useropt
1088 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1089 case $ac_user_opts in
1091 "enable_
$ac_useropt"
1093 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1094 ac_unrecognized_sep
=', ';;
1096 eval enable_
$ac_useropt=no
;;
1098 -docdir |
--docdir |
--docdi |
--doc |
--do)
1100 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1101 docdir
=$ac_optarg ;;
1103 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1105 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1106 dvidir
=$ac_optarg ;;
1108 -enable-* |
--enable-*)
1109 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1112 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1113 { (exit 1); exit 1; }; }
1114 ac_useropt_orig
=$ac_useropt
1115 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1116 case $ac_user_opts in
1118 "enable_
$ac_useropt"
1120 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1121 ac_unrecognized_sep
=', ';;
1123 eval enable_
$ac_useropt=\
$ac_optarg ;;
1125 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1126 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1127 |
--exec |
--exe |
--ex)
1128 ac_prev
=exec_prefix
;;
1129 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1130 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1131 |
--exec=* |
--exe=* |
--ex=*)
1132 exec_prefix
=$ac_optarg ;;
1134 -gas |
--gas |
--ga |
--g)
1135 # Obsolete; use --with-gas.
1138 -help |
--help |
--hel |
--he |
-h)
1139 ac_init_help
=long
;;
1140 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1141 ac_init_help
=recursive
;;
1142 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1143 ac_init_help
=short
;;
1145 -host |
--host |
--hos |
--ho)
1146 ac_prev
=host_alias
;;
1147 -host=* |
--host=* |
--hos=* |
--ho=*)
1148 host_alias
=$ac_optarg ;;
1150 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1152 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1154 htmldir
=$ac_optarg ;;
1156 -includedir |
--includedir |
--includedi |
--included |
--include \
1157 |
--includ |
--inclu |
--incl |
--inc)
1158 ac_prev
=includedir
;;
1159 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1160 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1161 includedir
=$ac_optarg ;;
1163 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1165 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1166 infodir
=$ac_optarg ;;
1168 -libdir |
--libdir |
--libdi |
--libd)
1170 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1171 libdir
=$ac_optarg ;;
1173 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1174 |
--libexe |
--libex |
--libe)
1175 ac_prev
=libexecdir
;;
1176 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1177 |
--libexe=* |
--libex=* |
--libe=*)
1178 libexecdir
=$ac_optarg ;;
1180 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1181 ac_prev
=localedir
;;
1182 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1183 localedir
=$ac_optarg ;;
1185 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1186 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1187 ac_prev
=localstatedir
;;
1188 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1189 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1190 localstatedir
=$ac_optarg ;;
1192 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1194 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1195 mandir
=$ac_optarg ;;
1197 -nfp |
--nfp |
--nf)
1198 # Obsolete; use --without-fp.
1201 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1202 |
--no-cr |
--no-c |
-n)
1205 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1206 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1209 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1210 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1211 |
--oldin |
--oldi |
--old |
--ol |
--o)
1212 ac_prev
=oldincludedir
;;
1213 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1214 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1215 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1216 oldincludedir
=$ac_optarg ;;
1218 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1220 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1221 prefix
=$ac_optarg ;;
1223 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1224 |
--program-pre |
--program-pr |
--program-p)
1225 ac_prev
=program_prefix
;;
1226 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1227 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1228 program_prefix
=$ac_optarg ;;
1230 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1231 |
--program-suf |
--program-su |
--program-s)
1232 ac_prev
=program_suffix
;;
1233 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1234 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1235 program_suffix
=$ac_optarg ;;
1237 -program-transform-name |
--program-transform-name \
1238 |
--program-transform-nam |
--program-transform-na \
1239 |
--program-transform-n |
--program-transform- \
1240 |
--program-transform |
--program-transfor \
1241 |
--program-transfo |
--program-transf \
1242 |
--program-trans |
--program-tran \
1243 |
--progr-tra |
--program-tr |
--program-t)
1244 ac_prev
=program_transform_name
;;
1245 -program-transform-name=* |
--program-transform-name=* \
1246 |
--program-transform-nam=* |
--program-transform-na=* \
1247 |
--program-transform-n=* |
--program-transform-=* \
1248 |
--program-transform=* |
--program-transfor=* \
1249 |
--program-transfo=* |
--program-transf=* \
1250 |
--program-trans=* |
--program-tran=* \
1251 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1252 program_transform_name
=$ac_optarg ;;
1254 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1256 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1257 pdfdir
=$ac_optarg ;;
1259 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1261 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1264 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1265 |
-silent |
--silent |
--silen |
--sile |
--sil)
1268 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1270 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1272 sbindir
=$ac_optarg ;;
1274 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1275 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1276 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1278 ac_prev
=sharedstatedir
;;
1279 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1280 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1281 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1283 sharedstatedir
=$ac_optarg ;;
1285 -site |
--site |
--sit)
1287 -site=* |
--site=* |
--sit=*)
1290 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1292 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1293 srcdir
=$ac_optarg ;;
1295 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1296 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1297 ac_prev
=sysconfdir
;;
1298 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1299 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1300 sysconfdir
=$ac_optarg ;;
1302 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1303 ac_prev
=target_alias
;;
1304 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1305 target_alias
=$ac_optarg ;;
1307 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1310 -version |
--version |
--versio |
--versi |
--vers |
-V)
1311 ac_init_version
=: ;;
1314 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1315 # Reject names that are not valid shell variable names.
1316 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1317 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1318 { (exit 1); exit 1; }; }
1319 ac_useropt_orig
=$ac_useropt
1320 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1321 case $ac_user_opts in
1325 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1326 ac_unrecognized_sep
=', ';;
1328 eval with_
$ac_useropt=\
$ac_optarg ;;
1330 -without-* |
--without-*)
1331 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1332 # Reject names that are not valid shell variable names.
1333 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1334 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1335 { (exit 1); exit 1; }; }
1336 ac_useropt_orig
=$ac_useropt
1337 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1338 case $ac_user_opts in
1342 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1343 ac_unrecognized_sep
=', ';;
1345 eval with_
$ac_useropt=no
;;
1348 # Obsolete; use --with-x.
1351 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1352 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1353 ac_prev
=x_includes
;;
1354 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1355 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1356 x_includes
=$ac_optarg ;;
1358 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1359 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1360 ac_prev
=x_libraries
;;
1361 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1362 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1363 x_libraries
=$ac_optarg ;;
1365 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1366 Try \`$0 --help' for more information." >&2
1367 { (exit 1); exit 1; }; }
1371 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1372 # Reject names that are not valid shell variable names.
1373 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1374 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1375 { (exit 1); exit 1; }; }
1376 eval $ac_envvar=\
$ac_optarg
1377 export $ac_envvar ;;
1380 # FIXME: should be removed in autoconf 3.0.
1381 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1382 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1383 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1384 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1390 if test -n "$ac_prev"; then
1391 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1392 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1393 { (exit 1); exit 1; }; }
1396 if test -n "$ac_unrecognized_opts"; then
1397 case $enable_option_checking in
1399 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1400 { (exit 1); exit 1; }; } ;;
1401 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1405 # Check all directory arguments for consistency.
1406 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1407 datadir sysconfdir sharedstatedir localstatedir includedir \
1408 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1409 libdir localedir mandir
1411 eval ac_val
=\$
$ac_var
1412 # Remove trailing slashes.
1415 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1416 eval $ac_var=\
$ac_val;;
1418 # Be sure to have absolute directory names.
1420 [\\/$
]* | ?
:[\\/]* ) continue;;
1421 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1423 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1424 { (exit 1); exit 1; }; }
1427 # There might be people who depend on the old broken behavior: `$host'
1428 # used to hold the argument of --host etc.
1429 # FIXME: To remove some day.
1432 target
=$target_alias
1434 # FIXME: To remove some day.
1435 if test "x$host_alias" != x
; then
1436 if test "x$build_alias" = x
; then
1437 cross_compiling
=maybe
1438 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1439 If a cross compiler is detected then cross compile mode will be used." >&2
1440 elif test "x$build_alias" != "x$host_alias"; then
1446 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1448 test "$silent" = yes && exec 6>/dev
/null
1451 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1452 ac_ls_di
=`ls -di .` &&
1453 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1454 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1455 { (exit 1); exit 1; }; }
1456 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1457 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1458 { (exit 1); exit 1; }; }
1461 # Find the source files, if location was not specified.
1462 if test -z "$srcdir"; then
1463 ac_srcdir_defaulted
=yes
1464 # Try the directory containing this script, then the parent directory.
1465 ac_confdir
=`$as_dirname -- "$as_myself" ||
1466 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1467 X"$as_myself" : 'X\(//\)[^/]' \| \
1468 X"$as_myself" : 'X\(//\)$' \| \
1469 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1470 $as_echo X"$as_myself" |
1471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1489 if test ! -r "$srcdir/$ac_unique_file"; then
1493 ac_srcdir_defaulted
=no
1495 if test ! -r "$srcdir/$ac_unique_file"; then
1496 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1497 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1498 { (exit 1); exit 1; }; }
1500 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1502 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1503 { (exit 1); exit 1; }; }
1505 # When building in place, set srcdir=.
1506 if test "$ac_abs_confdir" = "$ac_pwd"; then
1509 # Remove unnecessary trailing slashes from srcdir.
1510 # Double slashes in file names in object file debugging info
1511 # mess up M-x gdb in Emacs.
1513 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1515 for ac_var
in $ac_precious_vars; do
1516 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1517 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1518 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1519 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1523 # Report the --help message.
1525 if test "$ac_init_help" = "long"; then
1526 # Omit some internal or obsolete options to make the list less imposing.
1527 # This message is too long to be a string in the A/UX 3.1 sh.
1529 \`configure' configures tslib 0.0.2 to adapt to many kinds of systems.
1531 Usage: $0 [OPTION]... [VAR=VALUE]...
1533 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1534 VAR=VALUE. See below for descriptions of some of the useful variables.
1536 Defaults for the options are specified in brackets.
1539 -h, --help display this help and exit
1540 --help=short display options specific to this package
1541 --help=recursive display the short help of all the included packages
1542 -V, --version display version information and exit
1543 -q, --quiet, --silent do not print \`checking...' messages
1544 --cache-file=FILE cache test results in FILE [disabled]
1545 -C, --config-cache alias for \`--cache-file=config.cache'
1546 -n, --no-create do not create output files
1547 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1549 Installation directories:
1550 --prefix=PREFIX install architecture-independent files in PREFIX
1551 [$ac_default_prefix]
1552 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1555 By default, \`make install' will install all the files in
1556 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1557 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1558 for instance \`--prefix=\$HOME'.
1560 For better control, use the options below.
1562 Fine tuning of the installation directories:
1563 --bindir=DIR user executables [EPREFIX/bin]
1564 --sbindir=DIR system admin executables [EPREFIX/sbin]
1565 --libexecdir=DIR program executables [EPREFIX/libexec]
1566 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1567 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1568 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1569 --libdir=DIR object code libraries [EPREFIX/lib]
1570 --includedir=DIR C header files [PREFIX/include]
1571 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1572 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1573 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1574 --infodir=DIR info documentation [DATAROOTDIR/info]
1575 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1576 --mandir=DIR man documentation [DATAROOTDIR/man]
1577 --docdir=DIR documentation root [DATAROOTDIR/doc/tslib]
1578 --htmldir=DIR html documentation [DOCDIR]
1579 --dvidir=DIR dvi documentation [DOCDIR]
1580 --pdfdir=DIR pdf documentation [DOCDIR]
1581 --psdir=DIR ps documentation [DOCDIR]
1587 --program-prefix=PREFIX prepend PREFIX to installed program names
1588 --program-suffix=SUFFIX append SUFFIX to installed program names
1589 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1592 --build=BUILD configure
for building on BUILD
[guessed
]
1593 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1597 if test -n "$ac_init_help"; then
1598 case $ac_init_help in
1599 short | recursive
) echo "Configuration of tslib 0.0.2:";;
1604 --disable-option-checking ignore unrecognized
--enable/--with options
1605 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1606 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1607 --disable-dependency-tracking speeds up one-time build
1608 --enable-dependency-tracking do not reject slow dependency extractors
1609 --enable-static[=PKGS
] build static libraries
[default
=no
]
1610 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1611 --enable-fast-install[=PKGS
]
1612 optimize
for fast installation
[default
=yes]
1613 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1614 --enable-linear Enable building of linear scaling
(default
=yes)
1615 --enable-dejitter Enable building of dejitter filter
(default
=yes)
1616 --enable-linear-h2200 Enable building of linearizing filter
for iPAQ h2200
1618 --enable-variance Enable building of variance filter
(default
=yes)
1619 --enable-pthres Enable building of pthres filter
(default
=yes)
1620 --enable-ucb1x00 Enable building of ucb1x00 raw module
(UCB1x00
1621 support
) (default
=yes)
1622 --enable-corgi Enable building of corgi raw module
(Sharp Zaurus
1623 sl-c7x0 support
) (default
=yes)
1624 --enable-collie Enable building of collie raw module
(Sharp Zaurus
1625 sl-5500
/5000d support
) (default
=yes)
1626 --enable-h3600 Enable building of h3600 raw module
(HP iPaq H3600
1627 support
) (default
=yes)
1628 --enable-mk712 Enable building of mk712 raw module
(Hi tachi
1629 support
) (default
=yes)
1630 --enable-arctic2 Enable building of arctic2 raw module
(IBM Arctic II
1631 support
) (default
=yes)
1632 --enable-input Enable building of generic input raw module
(Linux
1633 /dev
/input
/eventN support
) (default
=yes)
1635 Enable debug messages from filters
(default
=no
)
1639 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1640 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1641 --with-hidden_visibility=VAL
1642 use
-fvisibility=hidden
(default VAL is
'auto')
1643 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1644 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1646 --with-tags[=TAGS
] include additional configurations
[automatic
]
1647 --with-plugindir=ARG Where to
look for plugins
(default
=${libdir}/ts
)
1649 Some influential environment variables
:
1650 CXX C
++ compiler
command
1651 CXXFLAGS C
++ compiler flags
1652 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1653 nonstandard directory
<lib dir
>
1654 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1655 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1656 you have headers
in a nonstandard directory
<include dir
>
1657 CC C compiler
command
1658 CFLAGS C compiler flags
1660 CXXCPP C
++ preprocessor
1661 F77 Fortran
77 compiler
command
1662 FFLAGS Fortran
77 compiler flags
1664 Use these variables to override the choices made by
`configure' or to help
1665 it to find libraries and programs with nonstandard names/locations.
1667 Report bugs to <kergoth@handhelds.org>.
1672 if test "$ac_init_help" = "recursive"; then
1673 # If there are subdirs, report their specific --help.
1674 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1675 test -d "$ac_dir" ||
1676 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1681 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1683 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1684 # A ".." for each directory in $ac_dir_suffix.
1685 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1686 case $ac_top_builddir_sub in
1687 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1688 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1691 ac_abs_top_builddir=$ac_pwd
1692 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1693 # for backward compatibility:
1694 ac_top_builddir=$ac_top_build_prefix
1697 .) # We are building in place.
1699 ac_top_srcdir=$ac_top_builddir_sub
1700 ac_abs_top_srcdir=$ac_pwd ;;
1701 [\\/]* | ?:[\\/]* ) # Absolute name.
1702 ac_srcdir=$srcdir$ac_dir_suffix;
1703 ac_top_srcdir=$srcdir
1704 ac_abs_top_srcdir=$srcdir ;;
1706 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1707 ac_top_srcdir=$ac_top_build_prefix$srcdir
1708 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1710 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1712 cd "$ac_dir" || { ac_status=$?; continue; }
1713 # Check for guested configure.
1714 if test -f "$ac_srcdir/configure.gnu"; then
1716 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1717 elif test -f "$ac_srcdir/configure"; then
1719 $SHELL "$ac_srcdir/configure" --help=recursive
1721 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1723 cd "$ac_pwd" || { ac_status=$?; break; }
1727 test -n "$ac_init_help" && exit $ac_status
1728 if $ac_init_version; then
1730 tslib configure 0.0.2
1731 generated by GNU Autoconf 2.63
1733 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1734 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1735 This configure script is free software; the Free Software Foundation
1736 gives unlimited permission to copy, distribute and modify it.
1740 cat >config.log <<_ACEOF
1741 This file contains any messages produced by compilers while
1742 running configure, to aid debugging if configure makes a mistake.
1744 It was created by tslib $as_me 0.0.2, which was
1745 generated by GNU Autoconf 2.63. Invocation command line was
1757 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1758 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1759 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1760 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1761 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1763 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1764 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1766 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1767 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1768 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1769 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1770 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1771 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1772 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1780 test -z "$as_dir" && as_dir=.
1781 $as_echo "PATH: $as_dir"
1797 # Keep a trace of the command line.
1798 # Strip out --no-create and --no-recursion so they do not pile up.
1799 # Strip out --silent because we don't want to record it for future runs.
1800 # Also quote any args containing shell meta-characters.
1801 # Make two passes to allow for proper duplicate-argument suppression.
1805 ac_must_keep_next=false
1811 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1812 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1813 | -silent | --silent | --silen | --sile | --sil)
1816 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1819 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1821 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1822 if test $ac_must_keep_next = true; then
1823 ac_must_keep_next=false # Got value, back to normal.
1826 *=* | --config-cache | -C | -disable-* | --disable-* \
1827 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1828 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1829 | -with-* | --with-* | -without-* | --without-* | --x)
1830 case "$ac_configure_args0 " in
1831 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1834 -* ) ac_must_keep_next=true ;;
1837 ac_configure_args="$ac_configure_args '$ac_arg'"
1842 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1843 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1845 # When interrupted or exit'd, cleanup temporary files, and complete
1846 # config.log. We remove comments because anyway the quotes in there
1847 # would cause problems or look ugly.
1848 # WARNING: Use '\'' to represent an apostrophe within the trap.
1849 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1850 trap 'exit_status=$?
1851 # Save into config.log some information that might help in debugging.
1856 ## ---------------- ##
1857 ## Cache variables. ##
1858 ## ---------------- ##
1861 # The following way of writing the cache mishandles newlines in values,
1863 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1864 eval ac_val=\$$ac_var
1868 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1869 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1872 _ | IFS | as_nl) ;; #(
1873 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1874 *) $as_unset $ac_var ;;
1879 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1880 *${as_nl}ac_space=\ *)
1882 "s/'\''/'\''\\\\'\'''\''/g;
1883 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1886 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1894 ## ----------------- ##
1895 ## Output variables. ##
1896 ## ----------------- ##
1899 for ac_var in $ac_subst_vars
1901 eval ac_val=\$$ac_var
1903 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1905 $as_echo "$ac_var='\''$ac_val'\''"
1909 if test -n "$ac_subst_files"; then
1911 ## ------------------- ##
1912 ## File substitutions. ##
1913 ## ------------------- ##
1916 for ac_var in $ac_subst_files
1918 eval ac_val=\$$ac_var
1920 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1922 $as_echo "$ac_var='\''$ac_val'\''"
1927 if test -s confdefs.h; then
1937 test "$ac_signal" != 0 &&
1938 $as_echo "$as_me: caught signal $ac_signal"
1939 $as_echo "$as_me: exit $exit_status"
1941 rm -f core *.core core.conftest.* &&
1942 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1945 for ac_signal in 1 2 13 15; do
1946 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1950 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1951 rm -f -r conftest* confdefs.h
1953 # Predefined preprocessor variables.
1955 cat >>confdefs.h <<_ACEOF
1956 #define PACKAGE_NAME "$PACKAGE_NAME"
1960 cat >>confdefs.h <<_ACEOF
1961 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1965 cat >>confdefs.h <<_ACEOF
1966 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1970 cat >>confdefs.h <<_ACEOF
1971 #define PACKAGE_STRING "$PACKAGE_STRING"
1975 cat >>confdefs.h <<_ACEOF
1976 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1980 # Let the site file select an alternate cache file if it wants to.
1981 # Prefer an explicitly selected file to automatically selected ones.
1984 if test -n "$CONFIG_SITE"; then
1985 ac_site_file1=$CONFIG_SITE
1986 elif test "x$prefix" != xNONE; then
1987 ac_site_file1=$prefix/share/config.site
1988 ac_site_file2=$prefix/etc/config.site
1990 ac_site_file1=$ac_default_prefix/share/config.site
1991 ac_site_file2=$ac_default_prefix/etc/config.site
1993 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1995 test "x$ac_site_file" = xNONE && continue
1996 if test -r "$ac_site_file"; then
1997 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1998 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1999 sed 's/^/| /' "$ac_site_file" >&5
2004 if test -r "$cache_file"; then
2005 # Some versions of bash will fail to source /dev/null (special
2006 # files actually), so we avoid doing that.
2007 if test -f "$cache_file"; then
2008 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2009 $as_echo "$as_me: loading cache $cache_file" >&6;}
2011 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2012 *) . "./$cache_file";;
2016 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2017 $as_echo "$as_me: creating cache $cache_file" >&6;}
2021 # Check that the precious variables saved in the cache have kept the same
2023 ac_cache_corrupted=false
2024 for ac_var in $ac_precious_vars; do
2025 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2026 eval ac_new_set=\$ac_env_${ac_var}_set
2027 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2028 eval ac_new_val=\$ac_env_${ac_var}_value
2029 case $ac_old_set,$ac_new_set in
2031 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2032 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2033 ac_cache_corrupted=: ;;
2035 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
2036 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2037 ac_cache_corrupted=: ;;
2040 if test "x$ac_old_val" != "x$ac_new_val"; then
2041 # differences in whitespace do not lead to failure.
2042 ac_old_val_w=`echo x
$ac_old_val`
2043 ac_new_val_w=`echo x
$ac_new_val`
2044 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2045 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2046 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2047 ac_cache_corrupted=:
2049 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2050 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2051 eval $ac_var=\$ac_old_val
2053 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2054 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2055 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2056 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2059 # Pass precious variables to config.status.
2060 if test "$ac_new_set" = set; then
2062 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2063 *) ac_arg=$ac_var=$ac_new_val ;;
2065 case " $ac_configure_args " in
2066 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2067 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2071 if $ac_cache_corrupted; then
2072 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2074 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2075 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2076 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
2077 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
2078 { (exit 1); exit 1; }; }
2106 ac_cpp='$CPP $CPPFLAGS'
2107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2112 # AC_CONFIG_AUX_DIR(config)
2113 am__api_version='1.10'
2116 for ac_dir in "$srcdir" "$srcdir/..
" "$srcdir/..
/..
"; do
2117 if test -f "$ac_dir/install-sh
"; then
2119 ac_install_sh="$ac_aux_dir/install-sh
-c"
2121 elif test -f "$ac_dir/install.sh
"; then
2123 ac_install_sh="$ac_aux_dir/install.sh
-c"
2125 elif test -f "$ac_dir/shtool
"; then
2127 ac_install_sh="$ac_aux_dir/shtool
install -c"
2131 if test -z "$ac_aux_dir"; then
2132 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&5
2133 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&2;}
2134 { (exit 1); exit 1; }; }
2137 # These three variables are undocumented and unsupported,
2138 # and are intended to be withdrawn in a future Autoconf release.
2139 # They can cause serious problems if a builder's source tree is in a directory
2140 # whose full name contains unusual characters.
2141 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2142 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2143 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2146 # Find a good install program. We prefer a C program (faster),
2147 # so one script is as good as another. But avoid the broken or
2148 # incompatible versions:
2149 # SysV /etc/install, /usr/sbin/install
2150 # SunOS /usr/etc/install
2151 # IRIX /sbin/install
2153 # AmigaOS /C/install, which installs bootblocks on floppy discs
2154 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2155 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2156 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
2157 # OS/2's system install, which has a completely different semantic
2158 # ./install, which can be erroneously created by make from ./install.sh.
2159 # Reject install programs that cannot install multiple files.
2160 { $as_echo "$as_me:$LINENO: checking
for a BSD-compatible
install" >&5
2161 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
2162 if test -z "$INSTALL"; then
2163 if test "${ac_cv_path_install+set}" = set; then
2164 $as_echo_n "(cached
) " >&6
2166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2170 test -z "$as_dir" && as_dir=.
2171 # Account for people who put trailing slashes in PATH elements.
2173 ./ | .// | /cC/* | \
2174 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2175 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2178 # OSF1 and SCO ODT 3.0 have their own names for install.
2179 # Don't use installbsd from OSF since it installs stuff as root
2181 for ac_prog in ginstall scoinst install; do
2182 for ac_exec_ext in '' $ac_executable_extensions; do
2183 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2184 if test $ac_prog = install &&
2185 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2186 # AIX install. It has an incompatible calling convention.
2188 elif test $ac_prog = install &&
2189 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2190 # program-specific install script used by HP pwplus--don't use.
2193 rm -rf conftest.one conftest.two conftest.dir
2194 echo one > conftest.one
2195 echo two > conftest.two
2197 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
2198 test -s conftest.one && test -s conftest.two &&
2199 test -s conftest.dir/conftest.one &&
2200 test -s conftest.dir/conftest.two
2202 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2215 rm -rf conftest.one conftest.two conftest.dir
2218 if test "${ac_cv_path_install+set}" = set; then
2219 INSTALL=$ac_cv_path_install
2221 # As a last resort, use the slow shell script. Don't cache a
2222 # value for INSTALL within a source directory, because that will
2223 # break other packages using the cache if that directory is
2224 # removed, or if the value is a relative name.
2225 INSTALL=$ac_install_sh
2228 { $as_echo "$as_me:$LINENO: result
: $INSTALL" >&5
2229 $as_echo "$INSTALL" >&6; }
2231 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2232 # It thinks the first close brace ends the variable substitution.
2233 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2235 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2237 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2239 { $as_echo "$as_me:$LINENO: checking whether build environment is sane
" >&5
2240 $as_echo_n "checking whether build environment is sane...
" >&6; }
2243 echo timestamp > conftest.file
2244 # Do `set' in a subshell so we don't clobber the current shell's
2245 # arguments. Must try -L first in case configure is actually a
2246 # symlink; some systems play weird games with the mod time of symlinks
2247 # (eg FreeBSD returns the mod time of the symlink's containing
2250 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2251 if test "$
*" = "X
"; then
2253 set X `ls -t $srcdir/configure conftest.file`
2256 if test "$
*" != "X
$srcdir/configure conftest.
file" \
2257 && test "$
*" != "X conftest.
file $srcdir/configure
"; then
2259 # If neither matched, then we have a broken ls. This can happen
2260 # if, for instance, CONFIG_SHELL is bash and it inherits a
2261 # broken ls alias from the environment. This has actually
2262 # happened. Such a system could not be considered "sane
".
2263 { { $as_echo "$as_me:$LINENO: error
: ls -t appears to fail. Make sure there is not a broken
2264 alias in your environment
" >&5
2265 $as_echo "$as_me: error
: ls -t appears to fail. Make sure there is not a broken
2266 alias in your environment
" >&2;}
2267 { (exit 1); exit 1; }; }
2270 test "$2" = conftest.file
2276 { { $as_echo "$as_me:$LINENO: error
: newly created
file is older than distributed files
!
2277 Check your system
clock" >&5
2278 $as_echo "$as_me: error
: newly created
file is older than distributed files
!
2279 Check your system
clock" >&2;}
2280 { (exit 1); exit 1; }; }
2282 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2283 $as_echo "yes" >&6; }
2284 test "$program_prefix" != NONE &&
2285 program_transform_name="s
&^
&$program_prefix&;$program_transform_name"
2286 # Use a double $ so make ignores it.
2287 test "$program_suffix" != NONE &&
2288 program_transform_name="s
&\$
&$program_suffix&;$program_transform_name"
2289 # Double any \ or $.
2290 # By default was `s,x,x', remove it if useless.
2291 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2292 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2294 # expand $ac_aux_dir to an absolute path
2295 am_aux_dir=`cd $ac_aux_dir && pwd`
2297 test x"${MISSING+set}" = xset || MISSING="\
${SHELL} $am_aux_dir/missing
"
2298 # Use eval to expand $SHELL
2299 if eval "$MISSING --run true
"; then
2300 am_missing_run="$MISSING --run "
2303 { $as_echo "$as_me:$LINENO: WARNING
: \
`missing' script is too old or missing" >&5
2304 $as_echo "$as_me: WARNING: \`missing
' script is too old or missing" >&2;}
2307 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2308 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2309 if test -z "$MKDIR_P"; then
2310 if test "${ac_cv_path_mkdir+set}" = set; then
2311 $as_echo_n "(cached) " >&6
2313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2314 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2317 test -z "$as_dir" && as_dir=.
2318 for ac_prog in mkdir gmkdir; do
2319 for ac_exec_ext in '' $ac_executable_extensions; do
2320 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2321 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2322 'mkdir
(GNU coreutils
) '* | \
2323 'mkdir
(coreutils
) '* | \
2324 'mkdir
(fileutils
) '4.1*)
2325 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2335 if test "${ac_cv_path_mkdir+set}" = set; then
2336 MKDIR_P="$ac_cv_path_mkdir -p"
2338 # As a last resort, use the slow shell script. Don't cache a
2339 # value for MKDIR_P within a source directory, because that will
2340 # break other packages using the cache if that directory is
2341 # removed, or if the value is a relative name.
2342 test -d .
/--version && rmdir .
/--version
2343 MKDIR_P
="$ac_install_sh -d"
2346 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2347 $as_echo "$MKDIR_P" >&6; }
2351 [\\/$
]* | ?
:[\\/]*) ;;
2352 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2355 for ac_prog
in gawk mawk nawk
awk
2357 # Extract the first word of "$ac_prog", so it can be a program name with args.
2358 set dummy
$ac_prog; ac_word
=$2
2359 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2360 $as_echo_n "checking for $ac_word... " >&6; }
2361 if test "${ac_cv_prog_AWK+set}" = set; then
2362 $as_echo_n "(cached) " >&6
2364 if test -n "$AWK"; then
2365 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2371 test -z "$as_dir" && as_dir
=.
2372 for ac_exec_ext
in '' $ac_executable_extensions; do
2373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2374 ac_cv_prog_AWK
="$ac_prog"
2375 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2385 if test -n "$AWK"; then
2386 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2387 $as_echo "$AWK" >&6; }
2389 { $as_echo "$as_me:$LINENO: result: no" >&5
2390 $as_echo "no" >&6; }
2394 test -n "$AWK" && break
2397 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2398 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2400 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2401 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2402 $as_echo_n "(cached) " >&6
2404 cat >conftest.
make <<\_ACEOF
2407 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2409 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2410 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2412 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2414 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2418 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2419 { $as_echo "$as_me:$LINENO: result: yes" >&5
2420 $as_echo "yes" >&6; }
2423 { $as_echo "$as_me:$LINENO: result: no" >&5
2424 $as_echo "no" >&6; }
2425 SET_MAKE
="MAKE=${MAKE-make}"
2428 rm -rf .tst
2>/dev
/null
2429 mkdir .tst
2>/dev
/null
2430 if test -d .tst
; then
2435 rmdir .tst
2>/dev
/null
2437 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2438 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2439 # is not polluted with repeated "-I."
2440 am__isrc
=' -I$(srcdir)'
2441 # test to see if srcdir already configured
2442 if test -f $srcdir/config.status
; then
2443 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2444 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2445 { (exit 1); exit 1; }; }
2449 # test whether we have cygpath
2450 if test -z "$CYGPATH_W"; then
2451 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2452 CYGPATH_W
='cygpath -w'
2459 # Define the identity of the package.
2464 cat >>confdefs.h
<<_ACEOF
2465 #define PACKAGE "$PACKAGE"
2469 cat >>confdefs.h
<<_ACEOF
2470 #define VERSION "$VERSION"
2473 # Some tools Automake needs.
2475 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2478 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2481 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2484 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2487 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2489 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2491 # Installed binaries are usually stripped using `strip' when the user
2492 # run `make install-strip'. However `strip' might not be the right
2493 # tool to use in cross-compilation environments, therefore Automake
2494 # will honor the `STRIP' environment variable to overrule this program.
2495 if test "$cross_compiling" != no
; then
2496 if test -n "$ac_tool_prefix"; then
2497 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2498 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2499 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2500 $as_echo_n "checking for $ac_word... " >&6; }
2501 if test "${ac_cv_prog_STRIP+set}" = set; then
2502 $as_echo_n "(cached) " >&6
2504 if test -n "$STRIP"; then
2505 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2511 test -z "$as_dir" && as_dir
=.
2512 for ac_exec_ext
in '' $ac_executable_extensions; do
2513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2514 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2515 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2524 STRIP
=$ac_cv_prog_STRIP
2525 if test -n "$STRIP"; then
2526 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2527 $as_echo "$STRIP" >&6; }
2529 { $as_echo "$as_me:$LINENO: result: no" >&5
2530 $as_echo "no" >&6; }
2535 if test -z "$ac_cv_prog_STRIP"; then
2537 # Extract the first word of "strip", so it can be a program name with args.
2538 set dummy strip
; ac_word
=$2
2539 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2540 $as_echo_n "checking for $ac_word... " >&6; }
2541 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2542 $as_echo_n "(cached) " >&6
2544 if test -n "$ac_ct_STRIP"; then
2545 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2551 test -z "$as_dir" && as_dir
=.
2552 for ac_exec_ext
in '' $ac_executable_extensions; do
2553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2554 ac_cv_prog_ac_ct_STRIP
="strip"
2555 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2564 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2565 if test -n "$ac_ct_STRIP"; then
2566 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2567 $as_echo "$ac_ct_STRIP" >&6; }
2569 { $as_echo "$as_me:$LINENO: result: no" >&5
2570 $as_echo "no" >&6; }
2573 if test "x$ac_ct_STRIP" = x
; then
2576 case $cross_compiling:$ac_tool_warned in
2578 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2579 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2580 ac_tool_warned
=yes ;;
2585 STRIP
="$ac_cv_prog_STRIP"
2589 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2591 # We need awk for the "check" target. The system "awk" is bad on
2593 # Always define AMTAR for backward compatibility.
2595 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2597 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2604 ac_config_headers
="$ac_config_headers config.h"
2607 PACKAGE_DESCRIPTION
="Touchscreen Access Library"
2610 # Set our default flags variables
2612 if test x
"$CFLAGS" = "x"; then
2613 CFLAGS
="-O2 -Wall -W"
2617 # Checks for programs.
2619 ac_cpp
='$CXXCPP $CPPFLAGS'
2620 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2621 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2622 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2623 if test -z "$CXX"; then
2624 if test -n "$CCC"; then
2627 if test -n "$ac_tool_prefix"; then
2628 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2630 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2631 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2632 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2633 $as_echo_n "checking for $ac_word... " >&6; }
2634 if test "${ac_cv_prog_CXX+set}" = set; then
2635 $as_echo_n "(cached) " >&6
2637 if test -n "$CXX"; then
2638 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2644 test -z "$as_dir" && as_dir
=.
2645 for ac_exec_ext
in '' $ac_executable_extensions; do
2646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2647 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2648 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2658 if test -n "$CXX"; then
2659 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
2660 $as_echo "$CXX" >&6; }
2662 { $as_echo "$as_me:$LINENO: result: no" >&5
2663 $as_echo "no" >&6; }
2667 test -n "$CXX" && break
2670 if test -z "$CXX"; then
2672 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2674 # Extract the first word of "$ac_prog", so it can be a program name with args.
2675 set dummy
$ac_prog; ac_word
=$2
2676 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2677 $as_echo_n "checking for $ac_word... " >&6; }
2678 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2679 $as_echo_n "(cached) " >&6
2681 if test -n "$ac_ct_CXX"; then
2682 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2688 test -z "$as_dir" && as_dir
=.
2689 for ac_exec_ext
in '' $ac_executable_extensions; do
2690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2691 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2692 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2701 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2702 if test -n "$ac_ct_CXX"; then
2703 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2704 $as_echo "$ac_ct_CXX" >&6; }
2706 { $as_echo "$as_me:$LINENO: result: no" >&5
2707 $as_echo "no" >&6; }
2711 test -n "$ac_ct_CXX" && break
2714 if test "x$ac_ct_CXX" = x
; then
2717 case $cross_compiling:$ac_tool_warned in
2719 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2721 ac_tool_warned
=yes ;;
2729 # Provide some information about the compiler.
2730 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2733 { (ac_try
="$ac_compiler --version >&5"
2735 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2736 *) ac_try_echo=$ac_try;;
2738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2739 $as_echo "$ac_try_echo") >&5
2740 (eval "$ac_compiler --version >&5") 2>&5
2742 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); }
2744 { (ac_try="$ac_compiler -v >&5"
2746 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2747 *) ac_try_echo
=$ac_try;;
2749 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2750 $as_echo "$ac_try_echo") >&5
2751 (eval "$ac_compiler -v >&5") 2>&5
2753 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2754 (exit $ac_status); }
2755 { (ac_try
="$ac_compiler -V >&5"
2757 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2758 *) ac_try_echo=$ac_try;;
2760 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2761 $as_echo "$ac_try_echo") >&5
2762 (eval "$ac_compiler -V >&5") 2>&5
2764 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); }
2767 cat >conftest.$ac_ext <<_ACEOF
2770 cat confdefs.h >>conftest.$ac_ext
2771 cat >>conftest.$ac_ext <<_ACEOF
2772 /* end confdefs.h. */
2782 ac_clean_files_save=$ac_clean_files
2783 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2784 # Try to create an executable without -o first, disregard a.out.
2785 # It will help us diagnose broken compilers, and finding out an intuition
2787 { $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2788 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2789 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2791 # The possible output files:
2792 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2795 for ac_file in $ac_files
2798 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2799 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2804 if { (ac_try="$ac_link_default"
2806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2807 *) ac_try_echo
=$ac_try;;
2809 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2810 $as_echo "$ac_try_echo") >&5
2811 (eval "$ac_link_default") 2>&5
2813 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814 (exit $ac_status); }; then
2815 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2816 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2817 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2818 # so that the user can short-circuit this test for compilers unknown to
2820 for ac_file
in $ac_files ''
2822 test -f "$ac_file" ||
continue
2824 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2827 # We found the default executable, but exeext='' is most
2831 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2833 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2835 # We set ac_cv_exeext here because the later test for it is not
2836 # safe: cross compilers may not add the suffix if given an `-o'
2837 # argument, so we may need to know it at that point already.
2838 # Even if this section looks crufty: it has the advantage of
2845 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2851 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2852 $as_echo "$ac_file" >&6; }
2853 if test -z "$ac_file"; then
2854 $as_echo "$as_me: failed program was:" >&5
2855 sed 's/^/| /' conftest.
$ac_ext >&5
2857 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2858 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2859 { { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2860 See \`config.log' for more details." >&5
2861 $as_echo "$as_me: error: C++ compiler cannot create executables
2862 See \`config.log' for more details." >&2;}
2863 { (exit 77); exit 77; }; }; }
2866 ac_exeext
=$ac_cv_exeext
2868 # Check that the compiler produces executables we can run. If not, either
2869 # the compiler is broken, or we cross compile.
2870 { $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2871 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2872 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2873 # If not cross compiling, check that we can run a simple program.
2874 if test "$cross_compiling" != yes; then
2875 if { ac_try
='./$ac_file'
2876 { (case "(($ac_try" in
2877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2878 *) ac_try_echo=$ac_try;;
2880 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2881 $as_echo "$ac_try_echo") >&5
2882 (eval "$ac_try") 2>&5
2884 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885 (exit $ac_status); }; }; then
2888 if test "$cross_compiling" = maybe; then
2891 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2892 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2893 { { $as_echo "$as_me:$LINENO: error
: cannot run C
++ compiled programs.
2894 If you meant to cross compile
, use \
`--host'.
2895 See \`config.log
' for more details." >&5
2896 $as_echo "$as_me: error: cannot run C++ compiled programs.
2897 If you meant to cross compile, use \`--host'.
2898 See \
`config.log' for more details." >&2;}
2899 { (exit 1); exit 1; }; }; }
2903 { $as_echo "$as_me:$LINENO: result: yes" >&5
2904 $as_echo "yes" >&6; }
2906 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2907 ac_clean_files=$ac_clean_files_save
2908 # Check that the compiler produces executables we can run. If not, either
2909 # the compiler is broken, or we cross compile.
2910 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2911 $as_echo_n "checking whether we are cross compiling... " >&6; }
2912 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2913 $as_echo "$cross_compiling" >&6; }
2915 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2916 $as_echo_n "checking for suffix of executables... " >&6; }
2917 if { (ac_try="$ac_link"
2919 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2920 *) ac_try_echo
=$ac_try;;
2922 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2923 $as_echo "$ac_try_echo") >&5
2924 (eval "$ac_link") 2>&5
2926 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927 (exit $ac_status); }; then
2928 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2929 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2930 # work properly (i.e., refer to `conftest.exe'), while it won't with
2932 for ac_file
in conftest.exe conftest conftest.
*; do
2933 test -f "$ac_file" ||
continue
2935 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2936 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2942 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2944 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2945 See \`config.log' for more details." >&5
2946 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2947 See \`config.log' for more details." >&2;}
2948 { (exit 1); exit 1; }; }; }
2951 rm -f conftest
$ac_cv_exeext
2952 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2953 $as_echo "$ac_cv_exeext" >&6; }
2955 rm -f conftest.
$ac_ext
2956 EXEEXT
=$ac_cv_exeext
2958 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2959 $as_echo_n "checking for suffix of object files... " >&6; }
2960 if test "${ac_cv_objext+set}" = set; then
2961 $as_echo_n "(cached) " >&6
2963 cat >conftest.
$ac_ext <<_ACEOF
2966 cat confdefs.h
>>conftest.
$ac_ext
2967 cat >>conftest.
$ac_ext <<_ACEOF
2968 /* end confdefs.h. */
2978 rm -f conftest.o conftest.obj
2979 if { (ac_try
="$ac_compile"
2981 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2982 *) ac_try_echo=$ac_try;;
2984 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2985 $as_echo "$ac_try_echo") >&5
2986 (eval "$ac_compile") 2>&5
2988 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); }; then
2990 for ac_file in conftest.o conftest.obj conftest.*; do
2991 test -f "$ac_file" || continue;
2993 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2994 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2999 $as_echo "$as_me: failed program was:" >&5
3000 sed 's/^/| /' conftest.$ac_ext >&5
3002 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3003 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3004 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3005 See \
`config.log' for more details." >&5
3006 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3007 See \`config.log
' for more details." >&2;}
3008 { (exit 1); exit 1; }; }; }
3011 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3013 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3014 $as_echo "$ac_cv_objext" >&6; }
3015 OBJEXT=$ac_cv_objext
3017 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3018 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3019 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3020 $as_echo_n "(cached) " >&6
3022 cat >conftest.$ac_ext <<_ACEOF
3025 cat confdefs.h >>conftest.$ac_ext
3026 cat >>conftest.$ac_ext <<_ACEOF
3027 /* end confdefs.h. */
3040 rm -f conftest.$ac_objext
3041 if { (ac_try="$ac_compile"
3043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3044 *) ac_try_echo=$ac_try;;
3046 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3047 $as_echo "$ac_try_echo") >&5
3048 (eval "$ac_compile") 2>conftest.er1
3050 grep -v '^
*+' conftest.er1 >conftest.err
3052 cat conftest.err >&5
3053 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054 (exit $ac_status); } && {
3055 test -z "$ac_cxx_werror_flag" ||
3056 test ! -s conftest.err
3057 } && test -s conftest.$ac_objext; then
3060 $as_echo "$as_me: failed program was:" >&5
3061 sed 's
/^
/|
/' conftest.$ac_ext >&5
3066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3067 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3070 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3071 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3072 if test $ac_compiler_gnu = yes; then
3077 ac_test_CXXFLAGS=${CXXFLAGS+set}
3078 ac_save_CXXFLAGS=$CXXFLAGS
3079 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3080 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3081 if test "${ac_cv_prog_cxx_g+set}" = set; then
3082 $as_echo_n "(cached) " >&6
3084 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3085 ac_cxx_werror_flag=yes
3088 cat >conftest.$ac_ext <<_ACEOF
3091 cat confdefs.h >>conftest.$ac_ext
3092 cat >>conftest.$ac_ext <<_ACEOF
3093 /* end confdefs.h. */
3103 rm -f conftest.$ac_objext
3104 if { (ac_try="$ac_compile"
3106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3107 *) ac_try_echo=$ac_try;;
3109 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3110 $as_echo "$ac_try_echo") >&5
3111 (eval "$ac_compile") 2>conftest.er1
3113 grep -v '^
*+' conftest.er1 >conftest.err
3115 cat conftest.err >&5
3116 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3117 (exit $ac_status); } && {
3118 test -z "$ac_cxx_werror_flag" ||
3119 test ! -s conftest.err
3120 } && test -s conftest.$ac_objext; then
3121 ac_cv_prog_cxx_g=yes
3123 $as_echo "$as_me: failed program was:" >&5
3124 sed 's
/^
/|
/' conftest.$ac_ext >&5
3127 cat >conftest.$ac_ext <<_ACEOF
3130 cat confdefs.h >>conftest.$ac_ext
3131 cat >>conftest.$ac_ext <<_ACEOF
3132 /* end confdefs.h. */
3142 rm -f conftest.$ac_objext
3143 if { (ac_try="$ac_compile"
3145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3146 *) ac_try_echo=$ac_try;;
3148 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3149 $as_echo "$ac_try_echo") >&5
3150 (eval "$ac_compile") 2>conftest.er1
3152 grep -v '^
*+' conftest.er1 >conftest.err
3154 cat conftest.err >&5
3155 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156 (exit $ac_status); } && {
3157 test -z "$ac_cxx_werror_flag" ||
3158 test ! -s conftest.err
3159 } && test -s conftest.$ac_objext; then
3162 $as_echo "$as_me: failed program was:" >&5
3163 sed 's
/^
/|
/' conftest.$ac_ext >&5
3165 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3167 cat >conftest.$ac_ext <<_ACEOF
3170 cat confdefs.h >>conftest.$ac_ext
3171 cat >>conftest.$ac_ext <<_ACEOF
3172 /* end confdefs.h. */
3182 rm -f conftest.$ac_objext
3183 if { (ac_try="$ac_compile"
3185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3186 *) ac_try_echo=$ac_try;;
3188 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3189 $as_echo "$ac_try_echo") >&5
3190 (eval "$ac_compile") 2>conftest.er1
3192 grep -v '^
*+' conftest.er1 >conftest.err
3194 cat conftest.err >&5
3195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196 (exit $ac_status); } && {
3197 test -z "$ac_cxx_werror_flag" ||
3198 test ! -s conftest.err
3199 } && test -s conftest.$ac_objext; then
3200 ac_cv_prog_cxx_g=yes
3202 $as_echo "$as_me: failed program was:" >&5
3203 sed 's
/^
/|
/' conftest.$ac_ext >&5
3208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3215 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3217 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3218 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3219 if test "$ac_test_CXXFLAGS" = set; then
3220 CXXFLAGS=$ac_save_CXXFLAGS
3221 elif test $ac_cv_prog_cxx_g = yes; then
3222 if test "$GXX" = yes; then
3228 if test "$GXX" = yes; then
3235 ac_cpp='$CPP $CPPFLAGS'
3236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3237 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3239 DEPDIR="${am__leading_dot}deps"
3241 ac_config_commands="$ac_config_commands depfiles"
3244 am_make=${MAKE-make}
3245 cat > confinc << 'END
'
3250 # If we don't
find an include directive
, just comment out the code.
3251 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3252 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3256 # First try GNU make style include.
3257 echo "include confinc" > confmf
3258 # We grep out `Entering directory' and `Leaving directory'
3259 # messages which can occur if `w' ends up in MAKEFLAGS.
3260 # In particular we don't look at `^make:' because GNU make might
3261 # be invoked under some other name (usually "gmake"), in which
3262 # case it prints its new name instead of `make'.
3263 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3268 # Now try BSD make style include.
3269 if test "$am__include" = "#"; then
3270 echo '.include "confinc"' > confmf
3271 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3272 am__include
=.include
3279 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3280 $as_echo "$_am_result" >&6; }
3281 rm -f confinc confmf
3283 # Check whether --enable-dependency-tracking was given.
3284 if test "${enable_dependency_tracking+set}" = set; then
3285 enableval
=$enable_dependency_tracking;
3288 if test "x$enable_dependency_tracking" != xno
; then
3289 am_depcomp
="$ac_aux_dir/depcomp"
3292 if test "x$enable_dependency_tracking" != xno; then
3302 depcc
="$CXX" am_compiler_list
=
3304 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3305 $as_echo_n "checking dependency style of $depcc... " >&6; }
3306 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3307 $as_echo_n "(cached) " >&6
3309 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3310 # We make a subdir and do the tests there. Otherwise we can end up
3311 # making bogus files that we don't know about and never remove. For
3312 # instance it was reported that on HP-UX the gcc test will end up
3313 # making a dummy file named `D' -- because `-MD' means `put the output
3316 # Copy depcomp to subdir because otherwise we won't find it if we're
3317 # using a relative directory.
3318 cp "$am_depcomp" conftest.dir
3320 # We will build objects and dependencies in a subdirectory because
3321 # it helps to detect inapplicable dependency modes. For instance
3322 # both Tru64's cc and ICC support -MD to output dependencies as a
3323 # side effect of compilation, but ICC will put the dependencies in
3324 # the current directory while Tru64 will put them in the object
3328 am_cv_CXX_dependencies_compiler_type
=none
3329 if test "$am_compiler_list" = ""; then
3330 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3332 for depmode
in $am_compiler_list; do
3333 # Setup a source with many dependencies, because some compilers
3334 # like to wrap large dependency lists on column 80 (with \), and
3335 # we should not choose a depcomp mode which is confused by this.
3337 # We need to recreate these files for each test, as the compiler may
3338 # overwrite some of them when testing with obscure command lines.
3339 # This happens at least with the AIX C compiler.
3341 for i
in 1 2 3 4 5 6; do
3342 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3343 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3344 # Solaris 8's {/usr,}/bin/sh.
3345 touch sub
/conftst
$i.h
3347 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3351 # after this tag, mechanisms are not by side-effect, so they'll
3352 # only be used when explicitly requested
3353 if test "x$enable_dependency_tracking" = xyes
; then
3361 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3362 # mode. It turns out that the SunPro C++ compiler does not properly
3363 # handle `-M -o', and we need to detect this.
3364 if depmode
=$depmode \
3365 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3366 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3367 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3368 >/dev
/null
2>conftest.err
&&
3369 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3370 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3371 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3372 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3373 # icc doesn't choke on unknown options, it will just issue warnings
3374 # or remarks (even with -Werror). So we grep stderr for any message
3375 # that says an option was ignored or not supported.
3376 # When given -MP, icc 7.0 and 7.1 complain thusly:
3377 # icc: Command line warning: ignoring option '-M'; no argument required
3378 # The diagnosis changed in icc 8.0:
3379 # icc: Command line remark: option '-MP' not supported
3380 if (grep 'ignoring option' conftest.err ||
3381 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3382 am_cv_CXX_dependencies_compiler_type
=$depmode
3391 am_cv_CXX_dependencies_compiler_type
=none
3395 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3396 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3397 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3400 test "x$enable_dependency_tracking" != xno \
3401 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3402 am__fastdepCXX_TRUE
=
3403 am__fastdepCXX_FALSE
='#'
3405 am__fastdepCXX_TRUE
='#'
3406 am__fastdepCXX_FALSE
=
3411 ac_cpp
='$CPP $CPPFLAGS'
3412 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3413 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3414 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3415 if test -n "$ac_tool_prefix"; then
3416 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3417 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3418 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3419 $as_echo_n "checking for $ac_word... " >&6; }
3420 if test "${ac_cv_prog_CC+set}" = set; then
3421 $as_echo_n "(cached) " >&6
3423 if test -n "$CC"; then
3424 ac_cv_prog_CC
="$CC" # Let the user override the test.
3426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3430 test -z "$as_dir" && as_dir
=.
3431 for ac_exec_ext
in '' $ac_executable_extensions; do
3432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3433 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3434 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3444 if test -n "$CC"; then
3445 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3446 $as_echo "$CC" >&6; }
3448 { $as_echo "$as_me:$LINENO: result: no" >&5
3449 $as_echo "no" >&6; }
3454 if test -z "$ac_cv_prog_CC"; then
3456 # Extract the first word of "gcc", so it can be a program name with args.
3457 set dummy gcc
; ac_word
=$2
3458 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3459 $as_echo_n "checking for $ac_word... " >&6; }
3460 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3461 $as_echo_n "(cached) " >&6
3463 if test -n "$ac_ct_CC"; then
3464 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3470 test -z "$as_dir" && as_dir
=.
3471 for ac_exec_ext
in '' $ac_executable_extensions; do
3472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3473 ac_cv_prog_ac_ct_CC
="gcc"
3474 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3483 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3484 if test -n "$ac_ct_CC"; then
3485 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3486 $as_echo "$ac_ct_CC" >&6; }
3488 { $as_echo "$as_me:$LINENO: result: no" >&5
3489 $as_echo "no" >&6; }
3492 if test "x$ac_ct_CC" = x
; then
3495 case $cross_compiling:$ac_tool_warned in
3497 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3498 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3499 ac_tool_warned
=yes ;;
3507 if test -z "$CC"; then
3508 if test -n "$ac_tool_prefix"; then
3509 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3510 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3511 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3512 $as_echo_n "checking for $ac_word... " >&6; }
3513 if test "${ac_cv_prog_CC+set}" = set; then
3514 $as_echo_n "(cached) " >&6
3516 if test -n "$CC"; then
3517 ac_cv_prog_CC
="$CC" # Let the user override the test.
3519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3523 test -z "$as_dir" && as_dir
=.
3524 for ac_exec_ext
in '' $ac_executable_extensions; do
3525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3526 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3527 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3537 if test -n "$CC"; then
3538 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3539 $as_echo "$CC" >&6; }
3541 { $as_echo "$as_me:$LINENO: result: no" >&5
3542 $as_echo "no" >&6; }
3548 if test -z "$CC"; then
3549 # Extract the first word of "cc", so it can be a program name with args.
3550 set dummy cc
; ac_word
=$2
3551 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3552 $as_echo_n "checking for $ac_word... " >&6; }
3553 if test "${ac_cv_prog_CC+set}" = set; then
3554 $as_echo_n "(cached) " >&6
3556 if test -n "$CC"; then
3557 ac_cv_prog_CC
="$CC" # Let the user override the test.
3560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3564 test -z "$as_dir" && as_dir
=.
3565 for ac_exec_ext
in '' $ac_executable_extensions; do
3566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3567 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3568 ac_prog_rejected
=yes
3572 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3579 if test $ac_prog_rejected = yes; then
3580 # We found a bogon in the path, so make sure we never use it.
3581 set dummy
$ac_cv_prog_CC
3583 if test $# != 0; then
3584 # We chose a different compiler from the bogus one.
3585 # However, it has the same basename, so the bogon will be chosen
3586 # first if we set CC to just the basename; use the full file name.
3588 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3594 if test -n "$CC"; then
3595 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3596 $as_echo "$CC" >&6; }
3598 { $as_echo "$as_me:$LINENO: result: no" >&5
3599 $as_echo "no" >&6; }
3604 if test -z "$CC"; then
3605 if test -n "$ac_tool_prefix"; then
3606 for ac_prog
in cl.exe
3608 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3609 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3610 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3611 $as_echo_n "checking for $ac_word... " >&6; }
3612 if test "${ac_cv_prog_CC+set}" = set; then
3613 $as_echo_n "(cached) " >&6
3615 if test -n "$CC"; then
3616 ac_cv_prog_CC
="$CC" # Let the user override the test.
3618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3622 test -z "$as_dir" && as_dir
=.
3623 for ac_exec_ext
in '' $ac_executable_extensions; do
3624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3625 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3626 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3636 if test -n "$CC"; then
3637 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3638 $as_echo "$CC" >&6; }
3640 { $as_echo "$as_me:$LINENO: result: no" >&5
3641 $as_echo "no" >&6; }
3645 test -n "$CC" && break
3648 if test -z "$CC"; then
3650 for ac_prog
in cl.exe
3652 # Extract the first word of "$ac_prog", so it can be a program name with args.
3653 set dummy
$ac_prog; ac_word
=$2
3654 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3655 $as_echo_n "checking for $ac_word... " >&6; }
3656 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3657 $as_echo_n "(cached) " >&6
3659 if test -n "$ac_ct_CC"; then
3660 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3666 test -z "$as_dir" && as_dir
=.
3667 for ac_exec_ext
in '' $ac_executable_extensions; do
3668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3669 ac_cv_prog_ac_ct_CC
="$ac_prog"
3670 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3679 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3680 if test -n "$ac_ct_CC"; then
3681 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3682 $as_echo "$ac_ct_CC" >&6; }
3684 { $as_echo "$as_me:$LINENO: result: no" >&5
3685 $as_echo "no" >&6; }
3689 test -n "$ac_ct_CC" && break
3692 if test "x$ac_ct_CC" = x
; then
3695 case $cross_compiling:$ac_tool_warned in
3697 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3699 ac_tool_warned
=yes ;;
3708 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3709 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3710 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3711 See \`config.log' for more details." >&5
3712 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3713 See \`config.log' for more details." >&2;}
3714 { (exit 1); exit 1; }; }; }
3716 # Provide some information about the compiler.
3717 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3720 { (ac_try
="$ac_compiler --version >&5"
3722 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3723 *) ac_try_echo=$ac_try;;
3725 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3726 $as_echo "$ac_try_echo") >&5
3727 (eval "$ac_compiler --version >&5") 2>&5
3729 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3730 (exit $ac_status); }
3731 { (ac_try="$ac_compiler -v >&5"
3733 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3734 *) ac_try_echo
=$ac_try;;
3736 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3737 $as_echo "$ac_try_echo") >&5
3738 (eval "$ac_compiler -v >&5") 2>&5
3740 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741 (exit $ac_status); }
3742 { (ac_try
="$ac_compiler -V >&5"
3744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3745 *) ac_try_echo=$ac_try;;
3747 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3748 $as_echo "$ac_try_echo") >&5
3749 (eval "$ac_compiler -V >&5") 2>&5
3751 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3752 (exit $ac_status); }
3754 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3755 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3756 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3757 $as_echo_n "(cached) " >&6
3759 cat >conftest.$ac_ext <<_ACEOF
3762 cat confdefs.h >>conftest.$ac_ext
3763 cat >>conftest.$ac_ext <<_ACEOF
3764 /* end confdefs.h. */
3777 rm -f conftest.$ac_objext
3778 if { (ac_try="$ac_compile"
3780 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3781 *) ac_try_echo
=$ac_try;;
3783 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3784 $as_echo "$ac_try_echo") >&5
3785 (eval "$ac_compile") 2>conftest.er1
3787 grep -v '^ *+' conftest.er1
>conftest.err
3789 cat conftest.err
>&5
3790 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3791 (exit $ac_status); } && {
3792 test -z "$ac_c_werror_flag" ||
3793 test ! -s conftest.err
3794 } && test -s conftest.
$ac_objext; then
3797 $as_echo "$as_me: failed program was:" >&5
3798 sed 's/^/| /' conftest.
$ac_ext >&5
3803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3804 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3807 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3808 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3809 if test $ac_compiler_gnu = yes; then
3814 ac_test_CFLAGS
=${CFLAGS+set}
3815 ac_save_CFLAGS
=$CFLAGS
3816 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3817 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3818 if test "${ac_cv_prog_cc_g+set}" = set; then
3819 $as_echo_n "(cached) " >&6
3821 ac_save_c_werror_flag
=$ac_c_werror_flag
3822 ac_c_werror_flag
=yes
3825 cat >conftest.
$ac_ext <<_ACEOF
3828 cat confdefs.h
>>conftest.
$ac_ext
3829 cat >>conftest.
$ac_ext <<_ACEOF
3830 /* end confdefs.h. */
3840 rm -f conftest.
$ac_objext
3841 if { (ac_try
="$ac_compile"
3843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3844 *) ac_try_echo=$ac_try;;
3846 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3847 $as_echo "$ac_try_echo") >&5
3848 (eval "$ac_compile") 2>conftest.er1
3850 grep -v '^ *+' conftest.er1 >conftest.err
3852 cat conftest.err >&5
3853 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3854 (exit $ac_status); } && {
3855 test -z "$ac_c_werror_flag" ||
3856 test ! -s conftest.err
3857 } && test -s conftest.$ac_objext; then
3860 $as_echo "$as_me: failed program was:" >&5
3861 sed 's/^/| /' conftest.$ac_ext >&5
3864 cat >conftest.$ac_ext <<_ACEOF
3867 cat confdefs.h >>conftest.$ac_ext
3868 cat >>conftest.$ac_ext <<_ACEOF
3869 /* end confdefs.h. */
3879 rm -f conftest.$ac_objext
3880 if { (ac_try="$ac_compile"
3882 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3883 *) ac_try_echo
=$ac_try;;
3885 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3886 $as_echo "$ac_try_echo") >&5
3887 (eval "$ac_compile") 2>conftest.er1
3889 grep -v '^ *+' conftest.er1
>conftest.err
3891 cat conftest.err
>&5
3892 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3893 (exit $ac_status); } && {
3894 test -z "$ac_c_werror_flag" ||
3895 test ! -s conftest.err
3896 } && test -s conftest.
$ac_objext; then
3899 $as_echo "$as_me: failed program was:" >&5
3900 sed 's/^/| /' conftest.
$ac_ext >&5
3902 ac_c_werror_flag
=$ac_save_c_werror_flag
3904 cat >conftest.
$ac_ext <<_ACEOF
3907 cat confdefs.h
>>conftest.
$ac_ext
3908 cat >>conftest.
$ac_ext <<_ACEOF
3909 /* end confdefs.h. */
3919 rm -f conftest.
$ac_objext
3920 if { (ac_try
="$ac_compile"
3922 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3923 *) ac_try_echo=$ac_try;;
3925 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3926 $as_echo "$ac_try_echo") >&5
3927 (eval "$ac_compile") 2>conftest.er1
3929 grep -v '^ *+' conftest.er1 >conftest.err
3931 cat conftest.err >&5
3932 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3933 (exit $ac_status); } && {
3934 test -z "$ac_c_werror_flag" ||
3935 test ! -s conftest.err
3936 } && test -s conftest.$ac_objext; then
3939 $as_echo "$as_me: failed program was:" >&5
3940 sed 's/^/| /' conftest.$ac_ext >&5
3945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3952 ac_c_werror_flag=$ac_save_c_werror_flag
3954 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3955 $as_echo "$ac_cv_prog_cc_g" >&6; }
3956 if test "$ac_test_CFLAGS" = set; then
3957 CFLAGS=$ac_save_CFLAGS
3958 elif test $ac_cv_prog_cc_g = yes; then
3959 if test "$GCC" = yes; then
3965 if test "$GCC" = yes; then
3971 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3972 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3973 if test "${ac_cv_prog_cc_c89+set}" = set; then
3974 $as_echo_n "(cached) " >&6
3976 ac_cv_prog_cc_c89=no
3978 cat >conftest.$ac_ext <<_ACEOF
3981 cat confdefs.h >>conftest.$ac_ext
3982 cat >>conftest.$ac_ext <<_ACEOF
3983 /* end confdefs.h. */
3986 #include <sys/types.h>
3987 #include <sys/stat.h>
3988 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3989 struct buf { int x; };
3990 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3991 static char *e (p, i)
3997 static char *f (char * (*g) (char **, int), char **p, ...)
4002 s = g (p, va_arg (v,int));
4007 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4008 function prototypes and stuff, but not '\xHH' hex character constants.
4009 These don't provoke an error unfortunately, instead are silently treated
4010 as 'x'. The following induces an error, until -std is added to get
4011 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4012 array size at least. It's necessary to write '\x00'==0 to get something
4013 that's true only with -std. */
4014 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4016 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4017 inside strings and character constants. */
4019 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4021 int test (int i, double x);
4022 struct s1 {int (*f) (int a);};
4023 struct s2 {int (*f) (double a);};
4024 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4030 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4035 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4036 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4038 CC="$ac_save_CC $ac_arg"
4039 rm -f conftest.$ac_objext
4040 if { (ac_try="$ac_compile"
4042 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4043 *) ac_try_echo
=$ac_try;;
4045 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4046 $as_echo "$ac_try_echo") >&5
4047 (eval "$ac_compile") 2>conftest.er1
4049 grep -v '^ *+' conftest.er1
>conftest.err
4051 cat conftest.err
>&5
4052 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4053 (exit $ac_status); } && {
4054 test -z "$ac_c_werror_flag" ||
4055 test ! -s conftest.err
4056 } && test -s conftest.
$ac_objext; then
4057 ac_cv_prog_cc_c89
=$ac_arg
4059 $as_echo "$as_me: failed program was:" >&5
4060 sed 's/^/| /' conftest.
$ac_ext >&5
4065 rm -f core conftest.err conftest.
$ac_objext
4066 test "x$ac_cv_prog_cc_c89" != "xno" && break
4068 rm -f conftest.
$ac_ext
4073 case "x$ac_cv_prog_cc_c89" in
4075 { $as_echo "$as_me:$LINENO: result: none needed" >&5
4076 $as_echo "none needed" >&6; } ;;
4078 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4079 $as_echo "unsupported" >&6; } ;;
4081 CC
="$CC $ac_cv_prog_cc_c89"
4082 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4083 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4088 ac_cpp
='$CPP $CPPFLAGS'
4089 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4090 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4091 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4093 depcc
="$CC" am_compiler_list
=
4095 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4096 $as_echo_n "checking dependency style of $depcc... " >&6; }
4097 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4098 $as_echo_n "(cached) " >&6
4100 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4101 # We make a subdir and do the tests there. Otherwise we can end up
4102 # making bogus files that we don't know about and never remove. For
4103 # instance it was reported that on HP-UX the gcc test will end up
4104 # making a dummy file named `D' -- because `-MD' means `put the output
4107 # Copy depcomp to subdir because otherwise we won't find it if we're
4108 # using a relative directory.
4109 cp "$am_depcomp" conftest.dir
4111 # We will build objects and dependencies in a subdirectory because
4112 # it helps to detect inapplicable dependency modes. For instance
4113 # both Tru64's cc and ICC support -MD to output dependencies as a
4114 # side effect of compilation, but ICC will put the dependencies in
4115 # the current directory while Tru64 will put them in the object
4119 am_cv_CC_dependencies_compiler_type
=none
4120 if test "$am_compiler_list" = ""; then
4121 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4123 for depmode
in $am_compiler_list; do
4124 # Setup a source with many dependencies, because some compilers
4125 # like to wrap large dependency lists on column 80 (with \), and
4126 # we should not choose a depcomp mode which is confused by this.
4128 # We need to recreate these files for each test, as the compiler may
4129 # overwrite some of them when testing with obscure command lines.
4130 # This happens at least with the AIX C compiler.
4132 for i
in 1 2 3 4 5 6; do
4133 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4134 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4135 # Solaris 8's {/usr,}/bin/sh.
4136 touch sub
/conftst
$i.h
4138 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4142 # after this tag, mechanisms are not by side-effect, so they'll
4143 # only be used when explicitly requested
4144 if test "x$enable_dependency_tracking" = xyes
; then
4152 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4153 # mode. It turns out that the SunPro C++ compiler does not properly
4154 # handle `-M -o', and we need to detect this.
4155 if depmode
=$depmode \
4156 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4157 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4158 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4159 >/dev
/null
2>conftest.err
&&
4160 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4161 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4162 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4163 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4164 # icc doesn't choke on unknown options, it will just issue warnings
4165 # or remarks (even with -Werror). So we grep stderr for any message
4166 # that says an option was ignored or not supported.
4167 # When given -MP, icc 7.0 and 7.1 complain thusly:
4168 # icc: Command line warning: ignoring option '-M'; no argument required
4169 # The diagnosis changed in icc 8.0:
4170 # icc: Command line remark: option '-MP' not supported
4171 if (grep 'ignoring option' conftest.err ||
4172 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4173 am_cv_CC_dependencies_compiler_type
=$depmode
4182 am_cv_CC_dependencies_compiler_type
=none
4186 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4187 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4188 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4191 test "x$enable_dependency_tracking" != xno \
4192 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4194 am__fastdepCC_FALSE
='#'
4196 am__fastdepCC_TRUE
='#'
4197 am__fastdepCC_FALSE
=
4202 ac_cpp
='$CPP $CPPFLAGS'
4203 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4204 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4205 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4206 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4207 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4208 # On Suns, sometimes $CPP names a directory.
4209 if test -n "$CPP" && test -d "$CPP"; then
4212 if test -z "$CPP"; then
4213 if test "${ac_cv_prog_CPP+set}" = set; then
4214 $as_echo_n "(cached) " >&6
4216 # Double quotes because CPP needs to be expanded
4217 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4220 for ac_c_preproc_warn_flag
in '' yes
4222 # Use a header file that comes with gcc, so configuring glibc
4223 # with a fresh cross-compiler works.
4224 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4225 # <limits.h> exists even on freestanding compilers.
4226 # On the NeXT, cc -E runs the code through the compiler's parser,
4227 # not just through cpp. "Syntax error" is here to catch this case.
4228 cat >conftest.
$ac_ext <<_ACEOF
4231 cat confdefs.h
>>conftest.
$ac_ext
4232 cat >>conftest.
$ac_ext <<_ACEOF
4233 /* end confdefs.h. */
4235 # include <limits.h>
4237 # include <assert.h>
4241 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4243 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4244 *) ac_try_echo=$ac_try;;
4246 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4247 $as_echo "$ac_try_echo") >&5
4248 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4250 grep -v '^ *+' conftest.er1 >conftest.err
4252 cat conftest.err >&5
4253 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4254 (exit $ac_status); } >/dev/null && {
4255 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4256 test ! -s conftest.err
4260 $as_echo "$as_me: failed program was:" >&5
4261 sed 's/^/| /' conftest.$ac_ext >&5
4263 # Broken: fails on valid input.
4267 rm -f conftest.err conftest.$ac_ext
4269 # OK, works on sane cases. Now check whether nonexistent headers
4270 # can be detected and how.
4271 cat >conftest.$ac_ext <<_ACEOF
4274 cat confdefs.h >>conftest.$ac_ext
4275 cat >>conftest.$ac_ext <<_ACEOF
4276 /* end confdefs.h. */
4277 #include <ac_nonexistent.h>
4279 if { (ac_try="$ac_cpp conftest.$ac_ext"
4281 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4282 *) ac_try_echo
=$ac_try;;
4284 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4285 $as_echo "$ac_try_echo") >&5
4286 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4288 grep -v '^ *+' conftest.er1
>conftest.err
4290 cat conftest.err
>&5
4291 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4292 (exit $ac_status); } >/dev
/null
&& {
4293 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4294 test ! -s conftest.err
4296 # Broken: success on invalid input.
4299 $as_echo "$as_me: failed program was:" >&5
4300 sed 's/^/| /' conftest.
$ac_ext >&5
4302 # Passes both tests.
4307 rm -f conftest.err conftest.
$ac_ext
4310 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4311 rm -f conftest.err conftest.
$ac_ext
4312 if $ac_preproc_ok; then
4324 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4325 $as_echo "$CPP" >&6; }
4327 for ac_c_preproc_warn_flag
in '' yes
4329 # Use a header file that comes with gcc, so configuring glibc
4330 # with a fresh cross-compiler works.
4331 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4332 # <limits.h> exists even on freestanding compilers.
4333 # On the NeXT, cc -E runs the code through the compiler's parser,
4334 # not just through cpp. "Syntax error" is here to catch this case.
4335 cat >conftest.
$ac_ext <<_ACEOF
4338 cat confdefs.h
>>conftest.
$ac_ext
4339 cat >>conftest.
$ac_ext <<_ACEOF
4340 /* end confdefs.h. */
4342 # include <limits.h>
4344 # include <assert.h>
4348 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4350 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4351 *) ac_try_echo=$ac_try;;
4353 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4354 $as_echo "$ac_try_echo") >&5
4355 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4357 grep -v '^ *+' conftest.er1 >conftest.err
4359 cat conftest.err >&5
4360 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361 (exit $ac_status); } >/dev/null && {
4362 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4363 test ! -s conftest.err
4367 $as_echo "$as_me: failed program was:" >&5
4368 sed 's/^/| /' conftest.$ac_ext >&5
4370 # Broken: fails on valid input.
4374 rm -f conftest.err conftest.$ac_ext
4376 # OK, works on sane cases. Now check whether nonexistent headers
4377 # can be detected and how.
4378 cat >conftest.$ac_ext <<_ACEOF
4381 cat confdefs.h >>conftest.$ac_ext
4382 cat >>conftest.$ac_ext <<_ACEOF
4383 /* end confdefs.h. */
4384 #include <ac_nonexistent.h>
4386 if { (ac_try="$ac_cpp conftest.$ac_ext"
4388 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4389 *) ac_try_echo
=$ac_try;;
4391 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4392 $as_echo "$ac_try_echo") >&5
4393 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4395 grep -v '^ *+' conftest.er1
>conftest.err
4397 cat conftest.err
>&5
4398 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4399 (exit $ac_status); } >/dev
/null
&& {
4400 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4401 test ! -s conftest.err
4403 # Broken: success on invalid input.
4406 $as_echo "$as_me: failed program was:" >&5
4407 sed 's/^/| /' conftest.
$ac_ext >&5
4409 # Passes both tests.
4414 rm -f conftest.err conftest.
$ac_ext
4417 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4418 rm -f conftest.err conftest.
$ac_ext
4419 if $ac_preproc_ok; then
4422 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4423 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4424 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4425 See \`config.log' for more details." >&5
4426 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4427 See \`config.log' for more details." >&2;}
4428 { (exit 1); exit 1; }; }; }
4432 ac_cpp
='$CPP $CPPFLAGS'
4433 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4434 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4435 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4439 bb_save_CFLAGS
="$CFLAGS"
4440 CFLAGS
="-fvisibility=hidden $bb_save_CFLAGS"
4441 { $as_echo "$as_me:$LINENO: checking whether the C compiler supports -fvisibility=hidden" >&5
4442 $as_echo_n "checking whether the C compiler supports -fvisibility=hidden... " >&6; }
4443 if test "${bb_cv_cc_supports_hidden_visibility+set}" = set; then
4444 $as_echo_n "(cached) " >&6
4447 cat >conftest.
$ac_ext <<_ACEOF
4450 cat confdefs.h
>>conftest.
$ac_ext
4451 cat >>conftest.
$ac_ext <<_ACEOF
4452 /* end confdefs.h. */
4462 rm -f conftest.
$ac_objext
4463 if { (ac_try
="$ac_compile"
4465 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4466 *) ac_try_echo=$ac_try;;
4468 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4469 $as_echo "$ac_try_echo") >&5
4470 (eval "$ac_compile") 2>conftest.er1
4472 grep -v '^ *+' conftest.er1 >conftest.err
4474 cat conftest.err >&5
4475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4476 (exit $ac_status); } && {
4477 test -z "$ac_c_werror_flag" ||
4478 test ! -s conftest.err
4479 } && test -s conftest.$ac_objext; then
4480 bb_cv_cc_supports_hidden_visibility=yes
4482 $as_echo "$as_me: failed program was:" >&5
4483 sed 's/^/| /' conftest.$ac_ext >&5
4485 bb_cv_cc_supports_hidden_visibility=no
4488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4491 { $as_echo "$as_me:$LINENO: result: $bb_cv_cc_supports_hidden_visibility" >&5
4492 $as_echo "$bb_cv_cc_supports_hidden_visibility" >&6; }
4493 CFLAGS="$bb_save_CFLAGS"
4494 if test "x$bb_cv_cc_supports_hidden_visibility" != "xno"; then
4495 CFLAGS="-DGCC_HASCLASSVISIBILITY $CFLAGS"
4499 { $as_echo "$as_me:$LINENO: checking whether to use -fvisibility=hidden" >&5
4500 $as_echo_n "checking whether to use -fvisibility=hidden... " >&6; }
4502 # Check whether --with-hidden_visibility was given.
4503 if test "${with_hidden_visibility+set}" = set; then
4504 withval=$with_hidden_visibility; bb_with_hidden_visibility=$withval
4506 bb_with_hidden_visibility=auto
4510 if test "x$bb_with_hidden_visibility" != "xno" && \
4511 test "x$bb_cv_cc_supports_hidden_visibility" != "xno"; then
4512 { $as_echo "$as_me:$LINENO: result: yes" >&5
4513 $as_echo "yes" >&6; }
4514 VIS_CFLAGS="-fvisibility=hidden"
4516 { $as_echo "$as_me:$LINENO: result: no" >&5
4517 $as_echo "no" >&6; }
4521 # Find a good install program. We prefer a C program (faster),
4522 # so one script is as good as another. But avoid the broken or
4523 # incompatible versions:
4524 # SysV /etc/install, /usr/sbin/install
4525 # SunOS /usr/etc/install
4526 # IRIX /sbin/install
4528 # AmigaOS /C/install, which installs bootblocks on floppy discs
4529 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4530 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4531 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4532 # OS/2's system install, which has a completely different semantic
4533 # ./install, which can be erroneously created by make from ./install.sh.
4534 # Reject install programs that cannot install multiple files.
4535 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4536 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4537 if test -z "$INSTALL"; then
4538 if test "${ac_cv_path_install+set}" = set; then
4539 $as_echo_n "(cached) " >&6
4541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4545 test -z "$as_dir" && as_dir=.
4546 # Account for people who put trailing slashes in PATH elements.
4548 ./ | .// | /cC/* | \
4549 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4550 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4553 # OSF1 and SCO ODT 3.0 have their own names for install.
4554 # Don't use installbsd from OSF since it installs stuff as root
4556 for ac_prog in ginstall scoinst install; do
4557 for ac_exec_ext in '' $ac_executable_extensions; do
4558 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4559 if test $ac_prog = install &&
4560 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4561 # AIX install. It has an incompatible calling convention.
4563 elif test $ac_prog = install &&
4564 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4565 # program-specific install script used by HP pwplus--don't use.
4568 rm -rf conftest.one conftest.two conftest.dir
4569 echo one > conftest.one
4570 echo two > conftest.two
4572 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4573 test -s conftest.one && test -s conftest.two &&
4574 test -s conftest.dir/conftest.one &&
4575 test -s conftest.dir/conftest.two
4577 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4590 rm -rf conftest.one conftest.two conftest.dir
4593 if test "${ac_cv_path_install+set}" = set; then
4594 INSTALL=$ac_cv_path_install
4596 # As a last resort, use the slow shell script. Don't cache a
4597 # value for INSTALL within a source directory, because that will
4598 # break other packages using the cache if that directory is
4599 # removed, or if the value is a relative name.
4600 INSTALL=$ac_install_sh
4603 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4604 $as_echo "$INSTALL" >&6; }
4606 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4607 # It thinks the first close brace ends the variable substitution.
4608 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4610 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4612 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4614 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4615 $as_echo_n "checking whether ln -s works... " >&6; }
4617 if test "$LN_S" = "ln -s"; then
4618 { $as_echo "$as_me:$LINENO: result: yes" >&5
4619 $as_echo "yes" >&6; }
4621 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4622 $as_echo "no, using $LN_S" >&6; }
4625 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4626 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4628 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4629 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
4630 $as_echo_n "(cached) " >&6
4632 cat >conftest.make <<\_ACEOF
4635 @echo '@@@%%%=$(MAKE)=@@@%%%'
4637 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4638 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
4640 eval ac_cv_prog_make_${ac_make}_set=yes;;
4642 eval ac_cv_prog_make_${ac_make}_set=no;;
4646 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4647 { $as_echo "$as_me:$LINENO: result: yes" >&5
4648 $as_echo "yes" >&6; }
4651 { $as_echo "$as_me:$LINENO: result: no" >&5
4652 $as_echo "no" >&6; }
4653 SET_MAKE="MAKE=${MAKE-make}"
4656 # Check whether --enable-static was given.
4657 if test "${enable_static+set}" = set; then
4658 enableval=$enable_static; p=${PACKAGE-default}
4660 yes) enable_static=yes ;;
4661 no) enable_static=no ;;
4664 # Look at the argument we got. We use all the common list separators.
4665 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4666 for pkg in $enableval; do
4668 if test "X$pkg" = "X$p"; then
4681 # Check whether --enable-shared was given.
4682 if test "${enable_shared+set}" = set; then
4683 enableval=$enable_shared; p=${PACKAGE-default}
4685 yes) enable_shared=yes ;;
4686 no) enable_shared=no ;;
4689 # Look at the argument we got. We use all the common list separators.
4690 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4691 for pkg in $enableval; do
4693 if test "X$pkg" = "X$p"; then
4707 # Check whether --enable-fast-install was given.
4708 if test "${enable_fast_install+set}" = set; then
4709 enableval=$enable_fast_install; p=${PACKAGE-default}
4711 yes) enable_fast_install=yes ;;
4712 no) enable_fast_install=no ;;
4714 enable_fast_install=no
4715 # Look at the argument we got. We use all the common list separators.
4716 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4717 for pkg in $enableval; do
4719 if test "X$pkg" = "X$p"; then
4720 enable_fast_install=yes
4727 enable_fast_install=yes
4731 # Make sure we can run config.sub.
4732 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4733 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4734 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4735 { (exit 1); exit 1; }; }
4737 { $as_echo "$as_me:$LINENO: checking build system type" >&5
4738 $as_echo_n "checking build system type... " >&6; }
4739 if test "${ac_cv_build+set}" = set; then
4740 $as_echo_n "(cached) " >&6
4742 ac_build_alias=$build_alias
4743 test "x$ac_build_alias" = x &&
4744 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4745 test "x$ac_build_alias" = x &&
4746 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4747 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4748 { (exit 1); exit 1; }; }
4749 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4750 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4751 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4752 { (exit 1); exit 1; }; }
4755 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4756 $as_echo "$ac_cv_build" >&6; }
4757 case $ac_cv_build in
4759 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4760 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
4761 { (exit 1); exit 1; }; };;
4764 ac_save_IFS=$IFS; IFS='-'
4770 # Remember, the first character of IFS is used to create $*,
4771 # except with old shells:
4774 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
4777 { $as_echo "$as_me:$LINENO: checking host system type" >&5
4778 $as_echo_n "checking host system type... " >&6; }
4779 if test "${ac_cv_host+set}" = set; then
4780 $as_echo_n "(cached) " >&6
4782 if test "x$host_alias" = x; then
4783 ac_cv_host=$ac_cv_build
4785 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4786 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4787 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4788 { (exit 1); exit 1; }; }
4792 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4793 $as_echo "$ac_cv_host" >&6; }
4796 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4797 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
4798 { (exit 1); exit 1; }; };;
4801 ac_save_IFS=$IFS; IFS='-'
4807 # Remember, the first character of IFS is used to create $*,
4808 # except with old shells:
4811 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
4814 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4815 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4816 if test "${lt_cv_path_SED+set}" = set; then
4817 $as_echo_n "(cached) " >&6
4819 # Loop through the user's path and test for sed and gsed.
4820 # Then use that list of sed's as ones to test for truncation.
4821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4825 test -z "$as_dir" && as_dir=.
4826 for lt_ac_prog in sed gsed; do
4827 for ac_exec_ext in '' $ac_executable_extensions; do
4828 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4829 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4837 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4838 # along with /bin/sed that truncates output.
4839 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4840 test ! -f $lt_ac_sed && continue
4841 cat /dev/null > conftest.in
4843 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4844 # Check for GNU sed and select it if it is found.
4845 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4846 lt_cv_path_SED=$lt_ac_sed
4850 cat conftest.in conftest.in >conftest.tmp
4851 mv conftest.tmp conftest.in
4852 cp conftest.in conftest.nl
4854 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4855 cmp -s conftest.out conftest.nl || break
4856 # 10000 chars as input seems more than enough
4857 test $lt_ac_count -gt 10 && break
4858 lt_ac_count=`expr $lt_ac_count + 1`
4859 if test $lt_ac_count -gt $lt_ac_max; then
4860 lt_ac_max=$lt_ac_count
4861 lt_cv_path_SED=$lt_ac_sed
4870 { $as_echo "$as_me:$LINENO: result: $SED" >&5
4871 $as_echo "$SED" >&6; }
4873 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4874 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4875 if test "${ac_cv_path_GREP+set}" = set; then
4876 $as_echo_n "(cached) " >&6
4878 if test -z "$GREP"; then
4879 ac_path_GREP_found=false
4880 # Loop through the user's path and test for each of PROGNAME-LIST
4881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4882 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4885 test -z "$as_dir" && as_dir=.
4886 for ac_prog in grep ggrep; do
4887 for ac_exec_ext in '' $ac_executable_extensions; do
4888 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4889 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4890 # Check for GNU ac_path_GREP and select it if it is found.
4891 # Check for GNU $ac_path_GREP
4892 case `"$ac_path_GREP" --version 2>&1` in
4894 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4897 $as_echo_n 0123456789 >"conftest.in"
4900 cat "conftest.in" "conftest.in" >"conftest.tmp"
4901 mv "conftest.tmp" "conftest.in"
4902 cp "conftest.in" "conftest.nl"
4903 $as_echo 'GREP' >> "conftest.nl"
4904 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4905 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4906 ac_count=`expr $ac_count + 1`
4907 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4908 # Best one so far, save it but keep looking for a better one
4909 ac_cv_path_GREP="$ac_path_GREP"
4910 ac_path_GREP_max=$ac_count
4912 # 10*(2^10) chars as input seems more than enough
4913 test $ac_count -gt 10 && break
4915 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4918 $ac_path_GREP_found && break 3
4923 if test -z "$ac_cv_path_GREP"; then
4924 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4925 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4926 { (exit 1); exit 1; }; }
4929 ac_cv_path_GREP=$GREP
4933 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4934 $as_echo "$ac_cv_path_GREP" >&6; }
4935 GREP="$ac_cv_path_GREP"
4938 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4939 $as_echo_n "checking for egrep... " >&6; }
4940 if test "${ac_cv_path_EGREP+set}" = set; then
4941 $as_echo_n "(cached) " >&6
4943 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4944 then ac_cv_path_EGREP="$GREP -E"
4946 if test -z "$EGREP"; then
4947 ac_path_EGREP_found=false
4948 # Loop through the user's path and test for each of PROGNAME-LIST
4949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4950 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4953 test -z "$as_dir" && as_dir=.
4954 for ac_prog in egrep; do
4955 for ac_exec_ext in '' $ac_executable_extensions; do
4956 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4957 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4958 # Check for GNU ac_path_EGREP and select it if it is found.
4959 # Check for GNU $ac_path_EGREP
4960 case `"$ac_path_EGREP" --version 2>&1` in
4962 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4965 $as_echo_n 0123456789 >"conftest.in"
4968 cat "conftest.in" "conftest.in" >"conftest.tmp"
4969 mv "conftest.tmp" "conftest.in"
4970 cp "conftest.in" "conftest.nl"
4971 $as_echo 'EGREP' >> "conftest.nl"
4972 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4973 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4974 ac_count=`expr $ac_count + 1`
4975 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4976 # Best one so far, save it but keep looking for a better one
4977 ac_cv_path_EGREP="$ac_path_EGREP"
4978 ac_path_EGREP_max=$ac_count
4980 # 10*(2^10) chars as input seems more than enough
4981 test $ac_count -gt 10 && break
4983 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4986 $ac_path_EGREP_found && break 3
4991 if test -z "$ac_cv_path_EGREP"; then
4992 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4993 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4994 { (exit 1); exit 1; }; }
4997 ac_cv_path_EGREP=$EGREP
5002 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5003 $as_echo "$ac_cv_path_EGREP" >&6; }
5004 EGREP="$ac_cv_path_EGREP"
5008 # Check whether --with-gnu-ld was given.
5009 if test "${with_gnu_ld+set}" = set; then
5010 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5016 if test "$GCC" = yes; then
5017 # Check if gcc -print-prog-name=ld gives a path.
5018 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5019 $as_echo_n "checking for ld used by $CC... " >&6; }
5022 # gcc leaves a trailing carriage return which upsets mingw
5023 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
5025 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
5028 # Accept absolute paths.
5030 re_direlt='/[^/][^/]*/\.\./'
5031 # Canonicalize the pathname of ld
5032 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
5033 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5034 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
5036 test -z "$LD" && LD="$ac_prog"
5039 # If it fails, then pretend we aren't using GCC.
5043 # If it is relative, then search for the first ld in PATH.
5047 elif test "$with_gnu_ld" = yes; then
5048 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
5049 $as_echo_n "checking for GNU ld... " >&6; }
5051 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5052 $as_echo_n "checking for non-GNU ld... " >&6; }
5054 if test "${lt_cv_path_LD+set}" = set; then
5055 $as_echo_n "(cached) " >&6
5057 if test -z "$LD"; then
5058 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5059 for ac_dir in $PATH; do
5061 test -z "$ac_dir" && ac_dir=.
5062 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5063 lt_cv_path_LD="$ac_dir/$ac_prog"
5064 # Check to see if the program is GNU ld. I'd rather use --version,
5065 # but apparently some variants of GNU ld only accept -v.
5066 # Break only if it was the GNU/non-GNU ld that we prefer.
5067 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
5068 *GNU* | *'with BFD'*)
5069 test "$with_gnu_ld" != no && break
5072 test "$with_gnu_ld" != yes && break
5079 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5084 if test -n "$LD"; then
5085 { $as_echo "$as_me:$LINENO: result: $LD" >&5
5086 $as_echo "$LD" >&6; }
5088 { $as_echo "$as_me:$LINENO: result: no" >&5
5089 $as_echo "no" >&6; }
5091 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5092 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5093 { (exit 1); exit 1; }; }
5094 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5095 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5096 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5097 $as_echo_n "(cached) " >&6
5099 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5100 case `$LD -v 2>&1 </dev
/null
` in
5101 *GNU* | *'with BFD'*)
5102 lt_cv_prog_gnu_ld=yes
5105 lt_cv_prog_gnu_ld=no
5109 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5110 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5111 with_gnu_ld=$lt_cv_prog_gnu_ld
5114 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5115 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5116 if test "${lt_cv_ld_reload_flag+set}" = set; then
5117 $as_echo_n "(cached) " >&6
5119 lt_cv_ld_reload_flag='-r'
5121 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5122 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5123 reload_flag=$lt_cv_ld_reload_flag
5124 case $reload_flag in
5126 *) reload_flag=" $reload_flag" ;;
5128 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5131 if test "$GCC" = yes; then
5132 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5134 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5139 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5140 $as_echo_n "checking for BSD-compatible nm... " >&6; }
5141 if test "${lt_cv_path_NM+set}" = set; then
5142 $as_echo_n "(cached) " >&6
5144 if test -n "$NM"; then
5145 # Let the user override the test.
5148 lt_nm_to_check="${ac_tool_prefix}nm"
5149 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5150 lt_nm_to_check="$lt_nm_to_check nm"
5152 for lt_tmp_nm in $lt_nm_to_check; do
5153 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5154 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5156 test -z "$ac_dir" && ac_dir=.
5157 tmp_nm="$ac_dir/$lt_tmp_nm"
5158 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5159 # Check to see if the nm accepts a BSD-compat flag.
5160 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
5161 # nm: unknown option "B" ignored
5162 # Tru64's nm complains that
/dev
/null is an invalid object
file
5163 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5164 */dev
/null
* |
*'Invalid file or object type'*)
5165 lt_cv_path_NM
="$tmp_nm -B"
5169 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5171 lt_cv_path_NM
="$tmp_nm -p"
5175 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5176 continue # so that we can try to find one that supports BSD flags
5185 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
5188 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5189 $as_echo "$lt_cv_path_NM" >&6; }
5192 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5193 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5194 if test "${lt_cv_deplibs_check_method+set}" = set; then
5195 $as_echo_n "(cached) " >&6
5197 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5198 lt_cv_file_magic_test_file
=
5199 lt_cv_deplibs_check_method
='unknown'
5200 # Need to set the preceding variable on all platforms that support
5201 # interlibrary dependencies.
5202 # 'none' -- dependencies not supported.
5203 # `unknown' -- same as none, but documents that we really don't know.
5204 # 'pass_all' -- all dependencies passed with no checks.
5205 # 'test_compile' -- check by making test program.
5206 # 'file_magic [[regex]]' -- check by looking for files in library path
5207 # which responds to the $file_magic_cmd with a given extended regex.
5208 # If you have `file' or equivalent on your system and you're not sure
5209 # whether `pass_all' will *always* work, you probably want this one.
5213 lt_cv_deplibs_check_method
=pass_all
5217 lt_cv_deplibs_check_method
=pass_all
5221 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5222 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5223 lt_cv_file_magic_test_file
=/shlib
/libc.so
5227 # func_win32_libid is a shell function defined in ltmain.sh
5228 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5229 lt_cv_file_magic_cmd
='func_win32_libid'
5233 # Base MSYS/MinGW do not provide the 'file' command needed by
5234 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5235 # unless we find 'file', for example because we are cross-compiling.
5236 if ( file / ) >/dev
/null
2>&1; then
5237 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5238 lt_cv_file_magic_cmd
='func_win32_libid'
5240 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5241 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5245 darwin
* | rhapsody
*)
5246 lt_cv_deplibs_check_method
=pass_all
5249 freebsd
* | dragonfly
*)
5250 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5253 # Not sure whether the presence of OpenBSD here was a mistake.
5254 # Let's accept both of them until this is cleared up.
5255 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5256 lt_cv_file_magic_cmd
=/usr
/bin
/file
5257 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5261 lt_cv_deplibs_check_method
=pass_all
5266 lt_cv_deplibs_check_method
=pass_all
5269 hpux10.20
* | hpux11
*)
5270 lt_cv_file_magic_cmd
=/usr
/bin
/file
5273 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5274 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5277 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]'
5278 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5281 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5282 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5288 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5289 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5292 irix5
* | irix6
* | nonstopux
*)
5294 *-32|
*"-32 ") libmagic
=32-bit;;
5295 *-n32|
*"-n32 ") libmagic
=N32
;;
5296 *-64|
*"-64 ") libmagic
=64-bit;;
5297 *) libmagic
=never-match
;;
5299 lt_cv_deplibs_check_method
=pass_all
5302 # This must be Linux ELF.
5303 linux
* | k
*bsd
*-gnu)
5304 lt_cv_deplibs_check_method
=pass_all
5308 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5309 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5311 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5316 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5317 lt_cv_file_magic_cmd
=/usr
/bin
/file
5318 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5322 lt_cv_deplibs_check_method
=unknown
5326 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5327 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5329 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5333 osf3
* | osf4
* | osf5
*)
5334 lt_cv_deplibs_check_method
=pass_all
5338 lt_cv_deplibs_check_method
=pass_all
5342 lt_cv_deplibs_check_method
=pass_all
5346 case $host_vendor in
5348 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]'
5349 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5352 lt_cv_deplibs_check_method
=pass_all
5355 lt_cv_file_magic_cmd
='/bin/file'
5356 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5359 lt_cv_file_magic_cmd
='/bin/file'
5360 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5361 lt_cv_file_magic_test_file
=/lib
/libc.so
5364 lt_cv_deplibs_check_method
=pass_all
5367 lt_cv_deplibs_check_method
=pass_all
5372 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5373 lt_cv_deplibs_check_method
=pass_all
5378 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5379 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5380 file_magic_cmd
=$lt_cv_file_magic_cmd
5381 deplibs_check_method
=$lt_cv_deplibs_check_method
5382 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5387 # If no C compiler was specified, use CC.
5390 # If no C compiler flags were specified, use CFLAGS.
5391 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5393 # Allow CC to be a program name with arguments.
5396 # Check whether --enable-libtool-lock was given.
5397 if test "${enable_libtool_lock+set}" = set; then
5398 enableval
=$enable_libtool_lock;
5401 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5403 # Some flags need to be propagated to the compiler or linker for good
5407 # Find out which ABI we are using.
5408 echo 'int i;' > conftest.
$ac_ext
5409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5410 (eval $ac_compile) 2>&5
5412 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5413 (exit $ac_status); }; then
5414 case `/usr/bin/file conftest.$ac_objext` in
5426 # Find out which ABI we are using.
5427 echo '#line 5427 "configure"' > conftest.
$ac_ext
5428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5429 (eval $ac_compile) 2>&5
5431 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5432 (exit $ac_status); }; then
5433 if test "$lt_cv_prog_gnu_ld" = yes; then
5434 case `/usr/bin/file conftest.$ac_objext` in
5436 LD
="${LD-ld} -melf32bsmip"
5439 LD
="${LD-ld} -melf32bmipn32"
5442 LD
="${LD-ld} -melf64bmip"
5446 case `/usr/bin/file conftest.$ac_objext` in
5462 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
5463 s390
*-*linux
*|sparc
*-*linux
*)
5464 # Find out which ABI we are using.
5465 echo 'int i;' > conftest.
$ac_ext
5466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5467 (eval $ac_compile) 2>&5
5469 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5470 (exit $ac_status); }; then
5471 case `/usr/bin/file conftest.o` in
5474 x86_64-
*kfreebsd
*-gnu)
5475 LD
="${LD-ld} -m elf_i386_fbsd"
5478 LD
="${LD-ld} -m elf_i386"
5480 ppc64-
*linux
*|powerpc64-
*linux
*)
5481 LD
="${LD-ld} -m elf32ppclinux"
5484 LD
="${LD-ld} -m elf_s390"
5487 LD
="${LD-ld} -m elf32_sparc"
5494 x86_64-
*kfreebsd
*-gnu)
5495 LD
="${LD-ld} -m elf_x86_64_fbsd"
5498 LD
="${LD-ld} -m elf_x86_64"
5500 ppc
*-*linux
*|powerpc
*-*linux
*)
5501 LD
="${LD-ld} -m elf64ppc"
5504 LD
="${LD-ld} -m elf64_s390"
5507 LD
="${LD-ld} -m elf64_sparc"
5517 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5518 SAVE_CFLAGS
="$CFLAGS"
5519 CFLAGS
="$CFLAGS -belf"
5520 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5521 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5522 if test "${lt_cv_cc_needs_belf+set}" = set; then
5523 $as_echo_n "(cached) " >&6
5526 ac_cpp
='$CPP $CPPFLAGS'
5527 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5528 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5529 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5531 cat >conftest.
$ac_ext <<_ACEOF
5534 cat confdefs.h
>>conftest.
$ac_ext
5535 cat >>conftest.
$ac_ext <<_ACEOF
5536 /* end confdefs.h. */
5546 rm -f conftest.
$ac_objext conftest
$ac_exeext
5547 if { (ac_try
="$ac_link"
5549 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5550 *) ac_try_echo=$ac_try;;
5552 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5553 $as_echo "$ac_try_echo") >&5
5554 (eval "$ac_link") 2>conftest.er1
5556 grep -v '^ *+' conftest.er1 >conftest.err
5558 cat conftest.err >&5
5559 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5560 (exit $ac_status); } && {
5561 test -z "$ac_c_werror_flag" ||
5562 test ! -s conftest.err
5563 } && test -s conftest$ac_exeext && {
5564 test "$cross_compiling" = yes ||
5565 $as_test_x conftest$ac_exeext
5567 lt_cv_cc_needs_belf=yes
5569 $as_echo "$as_me: failed program was:" >&5
5570 sed 's/^/| /' conftest.$ac_ext >&5
5572 lt_cv_cc_needs_belf=no
5575 rm -rf conftest.dSYM
5576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5577 conftest$ac_exeext conftest.$ac_ext
5579 ac_cpp='$CPP $CPPFLAGS'
5580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5585 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5586 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5587 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5588 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5589 CFLAGS="$SAVE_CFLAGS"
5593 # Find out which ABI we are using.
5594 echo 'int i;' > conftest.$ac_ext
5595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5596 (eval $ac_compile) 2>&5
5598 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599 (exit $ac_status); }; then
5600 case `/usr
/bin
/file conftest.o
` in
5602 case $lt_cv_prog_gnu_ld in
5603 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5605 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5619 need_locks="$enable_libtool_lock"
5623 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5624 $as_echo_n "checking for ANSI C header files... " >&6; }
5625 if test "${ac_cv_header_stdc+set}" = set; then
5626 $as_echo_n "(cached) " >&6
5628 cat >conftest.$ac_ext <<_ACEOF
5631 cat confdefs.h >>conftest.$ac_ext
5632 cat >>conftest.$ac_ext <<_ACEOF
5633 /* end confdefs.h. */
5647 rm -f conftest.$ac_objext
5648 if { (ac_try="$ac_compile"
5650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5651 *) ac_try_echo
=$ac_try;;
5653 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5654 $as_echo "$ac_try_echo") >&5
5655 (eval "$ac_compile") 2>conftest.er1
5657 grep -v '^ *+' conftest.er1
>conftest.err
5659 cat conftest.err
>&5
5660 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5661 (exit $ac_status); } && {
5662 test -z "$ac_c_werror_flag" ||
5663 test ! -s conftest.err
5664 } && test -s conftest.
$ac_objext; then
5665 ac_cv_header_stdc
=yes
5667 $as_echo "$as_me: failed program was:" >&5
5668 sed 's/^/| /' conftest.
$ac_ext >&5
5670 ac_cv_header_stdc
=no
5673 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5675 if test $ac_cv_header_stdc = yes; then
5676 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5677 cat >conftest.
$ac_ext <<_ACEOF
5680 cat confdefs.h
>>conftest.
$ac_ext
5681 cat >>conftest.
$ac_ext <<_ACEOF
5682 /* end confdefs.h. */
5686 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5687 $EGREP "memchr" >/dev
/null
2>&1; then
5690 ac_cv_header_stdc
=no
5696 if test $ac_cv_header_stdc = yes; then
5697 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5698 cat >conftest.
$ac_ext <<_ACEOF
5701 cat confdefs.h
>>conftest.
$ac_ext
5702 cat >>conftest.
$ac_ext <<_ACEOF
5703 /* end confdefs.h. */
5707 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5708 $EGREP "free" >/dev
/null
2>&1; then
5711 ac_cv_header_stdc
=no
5717 if test $ac_cv_header_stdc = yes; then
5718 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5719 if test "$cross_compiling" = yes; then
5722 cat >conftest.
$ac_ext <<_ACEOF
5725 cat confdefs.h
>>conftest.
$ac_ext
5726 cat >>conftest.
$ac_ext <<_ACEOF
5727 /* end confdefs.h. */
5730 #if ((' ' & 0x0FF) == 0x020)
5731 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5732 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5734 # define ISLOWER(c) \
5735 (('a' <= (c) && (c) <= 'i') \
5736 || ('j' <= (c) && (c) <= 'r') \
5737 || ('s' <= (c) && (c) <= 'z'))
5738 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5741 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5746 for (i = 0; i < 256; i++)
5747 if (XOR (islower (i), ISLOWER (i))
5748 || toupper (i) != TOUPPER (i))
5753 rm -f conftest
$ac_exeext
5754 if { (ac_try
="$ac_link"
5756 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5757 *) ac_try_echo=$ac_try;;
5759 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5760 $as_echo "$ac_try_echo") >&5
5761 (eval "$ac_link") 2>&5
5763 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5764 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5765 { (case "(($ac_try" in
5766 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5767 *) ac_try_echo
=$ac_try;;
5769 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5770 $as_echo "$ac_try_echo") >&5
5771 (eval "$ac_try") 2>&5
5773 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5774 (exit $ac_status); }; }; then
5777 $as_echo "$as_me: program exited with status $ac_status" >&5
5778 $as_echo "$as_me: failed program was:" >&5
5779 sed 's/^/| /' conftest.
$ac_ext >&5
5782 ac_cv_header_stdc
=no
5784 rm -rf conftest.dSYM
5785 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5791 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5792 $as_echo "$ac_cv_header_stdc" >&6; }
5793 if test $ac_cv_header_stdc = yes; then
5795 cat >>confdefs.h
<<\_ACEOF
5796 #define STDC_HEADERS 1
5801 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5811 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5812 inttypes.h stdint.h unistd.h
5814 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5815 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5816 $as_echo_n "checking for $ac_header... " >&6; }
5817 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5818 $as_echo_n "(cached) " >&6
5820 cat >conftest.
$ac_ext <<_ACEOF
5823 cat confdefs.h
>>conftest.
$ac_ext
5824 cat >>conftest.
$ac_ext <<_ACEOF
5825 /* end confdefs.h. */
5826 $ac_includes_default
5828 #include <$ac_header>
5830 rm -f conftest.
$ac_objext
5831 if { (ac_try
="$ac_compile"
5833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5834 *) ac_try_echo=$ac_try;;
5836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5837 $as_echo "$ac_try_echo") >&5
5838 (eval "$ac_compile") 2>conftest.er1
5840 grep -v '^ *+' conftest.er1 >conftest.err
5842 cat conftest.err >&5
5843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5844 (exit $ac_status); } && {
5845 test -z "$ac_c_werror_flag" ||
5846 test ! -s conftest.err
5847 } && test -s conftest.$ac_objext; then
5848 eval "$as_ac_Header=yes"
5850 $as_echo "$as_me: failed program was:" >&5
5851 sed 's/^/| /' conftest.$ac_ext >&5
5853 eval "$as_ac_Header=no"
5856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5858 ac_res=`eval 'as_val=${'$as_ac_Header'}
5859 $as_echo "$as_val"'`
5860 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5861 $as_echo "$ac_res" >&6; }
5862 as_val=`eval 'as_val=${'$as_ac_Header'}
5863 $as_echo "$as_val"'`
5864 if test "x$as_val" = x""yes; then
5865 cat >>confdefs.h <<_ACEOF
5866 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5875 for ac_header in dlfcn.h
5877 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5878 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5879 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5880 $as_echo_n "checking for $ac_header... " >&6; }
5881 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5882 $as_echo_n "(cached) " >&6
5884 ac_res=`eval 'as_val=${'$as_ac_Header'}
5885 $as_echo "$as_val"'`
5886 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5887 $as_echo "$ac_res" >&6; }
5889 # Is the header compilable?
5890 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5891 $as_echo_n "checking $ac_header usability... " >&6; }
5892 cat >conftest.$ac_ext <<_ACEOF
5895 cat confdefs.h >>conftest.$ac_ext
5896 cat >>conftest.$ac_ext <<_ACEOF
5897 /* end confdefs.h. */
5898 $ac_includes_default
5899 #include <$ac_header>
5901 rm -f conftest.$ac_objext
5902 if { (ac_try="$ac_compile"
5904 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5905 *) ac_try_echo
=$ac_try;;
5907 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5908 $as_echo "$ac_try_echo") >&5
5909 (eval "$ac_compile") 2>conftest.er1
5911 grep -v '^ *+' conftest.er1
>conftest.err
5913 cat conftest.err
>&5
5914 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5915 (exit $ac_status); } && {
5916 test -z "$ac_c_werror_flag" ||
5917 test ! -s conftest.err
5918 } && test -s conftest.
$ac_objext; then
5919 ac_header_compiler
=yes
5921 $as_echo "$as_me: failed program was:" >&5
5922 sed 's/^/| /' conftest.
$ac_ext >&5
5924 ac_header_compiler
=no
5927 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5928 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5929 $as_echo "$ac_header_compiler" >&6; }
5931 # Is the header present?
5932 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5933 $as_echo_n "checking $ac_header presence... " >&6; }
5934 cat >conftest.
$ac_ext <<_ACEOF
5937 cat confdefs.h
>>conftest.
$ac_ext
5938 cat >>conftest.
$ac_ext <<_ACEOF
5939 /* end confdefs.h. */
5940 #include <$ac_header>
5942 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5944 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5945 *) ac_try_echo=$ac_try;;
5947 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5948 $as_echo "$ac_try_echo") >&5
5949 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5951 grep -v '^ *+' conftest.er1 >conftest.err
5953 cat conftest.err >&5
5954 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5955 (exit $ac_status); } >/dev/null && {
5956 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5957 test ! -s conftest.err
5959 ac_header_preproc=yes
5961 $as_echo "$as_me: failed program was:" >&5
5962 sed 's/^/| /' conftest.$ac_ext >&5
5964 ac_header_preproc=no
5967 rm -f conftest.err conftest.$ac_ext
5968 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5969 $as_echo "$ac_header_preproc" >&6; }
5971 # So? What about this header?
5972 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5974 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5975 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5976 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5977 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5978 ac_header_preproc=yes
5981 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5982 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5983 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5984 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5985 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5986 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5987 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5988 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5989 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5990 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5991 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5992 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5994 ## ------------------------------------ ##
5995 ## Report this to kergoth@handhelds.org ##
5996 ## ------------------------------------ ##
5998 ) | sed "s/^/$as_me: WARNING: /" >&2
6001 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6002 $as_echo_n "checking for $ac_header... " >&6; }
6003 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6004 $as_echo_n "(cached) " >&6
6006 eval "$as_ac_Header=\$ac_header_preproc"
6008 ac_res=`eval 'as_val=${'$as_ac_Header'}
6009 $as_echo "$as_val"'`
6010 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6011 $as_echo "$ac_res" >&6; }
6014 as_val=`eval 'as_val=${'$as_ac_Header'}
6015 $as_echo "$as_val"'`
6016 if test "x$as_val" = x""yes; then
6017 cat >>confdefs.h <<_ACEOF
6018 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6027 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6028 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
6029 (test "X$CXX" != "Xg++"))) ; then
6031 ac_cpp='$CXXCPP $CPPFLAGS'
6032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6035 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6036 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6037 if test -z "$CXXCPP"; then
6038 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6039 $as_echo_n "(cached) " >&6
6041 # Double quotes because CXXCPP needs to be expanded
6042 for CXXCPP in "$CXX -E" "/lib/cpp"
6045 for ac_cxx_preproc_warn_flag in '' yes
6047 # Use a header file that comes with gcc, so configuring glibc
6048 # with a fresh cross-compiler works.
6049 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6050 # <limits.h> exists even on freestanding compilers.
6051 # On the NeXT, cc -E runs the code through the compiler's parser,
6052 # not just through cpp. "Syntax error" is here to catch this case.
6053 cat >conftest.$ac_ext <<_ACEOF
6056 cat confdefs.h >>conftest.$ac_ext
6057 cat >>conftest.$ac_ext <<_ACEOF
6058 /* end confdefs.h. */
6060 # include <limits.h>
6062 # include <assert.h>
6066 if { (ac_try="$ac_cpp conftest.$ac_ext"
6068 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6069 *) ac_try_echo
=$ac_try;;
6071 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6072 $as_echo "$ac_try_echo") >&5
6073 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6075 grep -v '^ *+' conftest.er1
>conftest.err
6077 cat conftest.err
>&5
6078 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6079 (exit $ac_status); } >/dev
/null
&& {
6080 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6081 test ! -s conftest.err
6085 $as_echo "$as_me: failed program was:" >&5
6086 sed 's/^/| /' conftest.
$ac_ext >&5
6088 # Broken: fails on valid input.
6092 rm -f conftest.err conftest.
$ac_ext
6094 # OK, works on sane cases. Now check whether nonexistent headers
6095 # can be detected and how.
6096 cat >conftest.
$ac_ext <<_ACEOF
6099 cat confdefs.h
>>conftest.
$ac_ext
6100 cat >>conftest.
$ac_ext <<_ACEOF
6101 /* end confdefs.h. */
6102 #include <ac_nonexistent.h>
6104 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6106 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6107 *) ac_try_echo=$ac_try;;
6109 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6110 $as_echo "$ac_try_echo") >&5
6111 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6113 grep -v '^ *+' conftest.er1 >conftest.err
6115 cat conftest.err >&5
6116 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117 (exit $ac_status); } >/dev/null && {
6118 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6119 test ! -s conftest.err
6121 # Broken: success on invalid input.
6124 $as_echo "$as_me: failed program was:" >&5
6125 sed 's/^/| /' conftest.$ac_ext >&5
6127 # Passes both tests.
6132 rm -f conftest.err conftest.$ac_ext
6135 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6136 rm -f conftest.err conftest.
$ac_ext
6137 if $ac_preproc_ok; then
6142 ac_cv_prog_CXXCPP
=$CXXCPP
6145 CXXCPP
=$ac_cv_prog_CXXCPP
6147 ac_cv_prog_CXXCPP
=$CXXCPP
6149 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
6150 $as_echo "$CXXCPP" >&6; }
6152 for ac_cxx_preproc_warn_flag
in '' yes
6154 # Use a header file that comes with gcc, so configuring glibc
6155 # with a fresh cross-compiler works.
6156 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6157 # <limits.h> exists even on freestanding compilers.
6158 # On the NeXT, cc -E runs the code through the compiler's parser,
6159 # not just through cpp. "Syntax error" is here to catch this case.
6160 cat >conftest.
$ac_ext <<_ACEOF
6163 cat confdefs.h
>>conftest.
$ac_ext
6164 cat >>conftest.
$ac_ext <<_ACEOF
6165 /* end confdefs.h. */
6167 # include <limits.h>
6169 # include <assert.h>
6173 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6175 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6176 *) ac_try_echo=$ac_try;;
6178 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6179 $as_echo "$ac_try_echo") >&5
6180 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6182 grep -v '^ *+' conftest.er1 >conftest.err
6184 cat conftest.err >&5
6185 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6186 (exit $ac_status); } >/dev/null && {
6187 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6188 test ! -s conftest.err
6192 $as_echo "$as_me: failed program was:" >&5
6193 sed 's/^/| /' conftest.$ac_ext >&5
6195 # Broken: fails on valid input.
6199 rm -f conftest.err conftest.$ac_ext
6201 # OK, works on sane cases. Now check whether nonexistent headers
6202 # can be detected and how.
6203 cat >conftest.$ac_ext <<_ACEOF
6206 cat confdefs.h >>conftest.$ac_ext
6207 cat >>conftest.$ac_ext <<_ACEOF
6208 /* end confdefs.h. */
6209 #include <ac_nonexistent.h>
6211 if { (ac_try="$ac_cpp conftest.$ac_ext"
6213 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6214 *) ac_try_echo
=$ac_try;;
6216 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6217 $as_echo "$ac_try_echo") >&5
6218 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6220 grep -v '^ *+' conftest.er1
>conftest.err
6222 cat conftest.err
>&5
6223 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6224 (exit $ac_status); } >/dev
/null
&& {
6225 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6226 test ! -s conftest.err
6228 # Broken: success on invalid input.
6231 $as_echo "$as_me: failed program was:" >&5
6232 sed 's/^/| /' conftest.
$ac_ext >&5
6234 # Passes both tests.
6239 rm -f conftest.err conftest.
$ac_ext
6242 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6243 rm -f conftest.err conftest.
$ac_ext
6244 if $ac_preproc_ok; then
6247 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6249 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6250 See \`config.log' for more details." >&5
6251 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6252 See \`config.log' for more details." >&2;}
6253 { (exit 1); exit 1; }; }; }
6257 ac_cpp
='$CXXCPP $CPPFLAGS'
6258 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6259 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6260 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6266 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6267 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6268 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
6269 if test -n "$ac_tool_prefix"; then
6270 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
6272 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6273 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6274 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6275 $as_echo_n "checking for $ac_word... " >&6; }
6276 if test "${ac_cv_prog_F77+set}" = set; then
6277 $as_echo_n "(cached) " >&6
6279 if test -n "$F77"; then
6280 ac_cv_prog_F77
="$F77" # Let the user override the test.
6282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6286 test -z "$as_dir" && as_dir
=.
6287 for ac_exec_ext
in '' $ac_executable_extensions; do
6288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6289 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
6290 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6300 if test -n "$F77"; then
6301 { $as_echo "$as_me:$LINENO: result: $F77" >&5
6302 $as_echo "$F77" >&6; }
6304 { $as_echo "$as_me:$LINENO: result: no" >&5
6305 $as_echo "no" >&6; }
6309 test -n "$F77" && break
6312 if test -z "$F77"; then
6314 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
6316 # Extract the first word of "$ac_prog", so it can be a program name with args.
6317 set dummy
$ac_prog; ac_word
=$2
6318 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6319 $as_echo_n "checking for $ac_word... " >&6; }
6320 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6321 $as_echo_n "(cached) " >&6
6323 if test -n "$ac_ct_F77"; then
6324 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6330 test -z "$as_dir" && as_dir
=.
6331 for ac_exec_ext
in '' $ac_executable_extensions; do
6332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6333 ac_cv_prog_ac_ct_F77
="$ac_prog"
6334 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6343 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6344 if test -n "$ac_ct_F77"; then
6345 { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6346 $as_echo "$ac_ct_F77" >&6; }
6348 { $as_echo "$as_me:$LINENO: result: no" >&5
6349 $as_echo "no" >&6; }
6353 test -n "$ac_ct_F77" && break
6356 if test "x$ac_ct_F77" = x
; then
6359 case $cross_compiling:$ac_tool_warned in
6361 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6362 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6363 ac_tool_warned
=yes ;;
6370 # Provide some information about the compiler.
6371 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6374 { (ac_try
="$ac_compiler --version >&5"
6376 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6377 *) ac_try_echo=$ac_try;;
6379 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6380 $as_echo "$ac_try_echo") >&5
6381 (eval "$ac_compiler --version >&5") 2>&5
6383 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6384 (exit $ac_status); }
6385 { (ac_try="$ac_compiler -v >&5"
6387 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6388 *) ac_try_echo
=$ac_try;;
6390 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6391 $as_echo "$ac_try_echo") >&5
6392 (eval "$ac_compiler -v >&5") 2>&5
6394 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6395 (exit $ac_status); }
6396 { (ac_try
="$ac_compiler -V >&5"
6398 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6399 *) ac_try_echo=$ac_try;;
6401 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6402 $as_echo "$ac_try_echo") >&5
6403 (eval "$ac_compiler -V >&5") 2>&5
6405 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6406 (exit $ac_status); }
6409 # If we don't use `.F
' as extension, the preprocessor is not run on the
6410 # input file. (Note that this only needs to work for GNU compilers.)
6413 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6414 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
6415 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6416 $as_echo_n "(cached) " >&6
6418 cat >conftest.$ac_ext <<_ACEOF
6426 rm -f conftest.$ac_objext
6427 if { (ac_try="$ac_compile"
6429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6430 *) ac_try_echo=$ac_try;;
6432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6433 $as_echo "$ac_try_echo") >&5
6434 (eval "$ac_compile") 2>conftest.er1
6436 grep -v '^
*+' conftest.er1 >conftest.err
6438 cat conftest.err >&5
6439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6440 (exit $ac_status); } && {
6441 test -z "$ac_f77_werror_flag" ||
6442 test ! -s conftest.err
6443 } && test -s conftest.$ac_objext; then
6446 $as_echo "$as_me: failed program was:" >&5
6447 sed 's
/^
/|
/' conftest.$ac_ext >&5
6452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6453 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6456 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6457 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
6459 ac_test_FFLAGS=${FFLAGS+set}
6460 ac_save_FFLAGS=$FFLAGS
6462 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6463 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
6464 if test "${ac_cv_prog_f77_g+set}" = set; then
6465 $as_echo_n "(cached) " >&6
6468 cat >conftest.$ac_ext <<_ACEOF
6473 rm -f conftest.$ac_objext
6474 if { (ac_try="$ac_compile"
6476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6477 *) ac_try_echo=$ac_try;;
6479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6480 $as_echo "$ac_try_echo") >&5
6481 (eval "$ac_compile") 2>conftest.er1
6483 grep -v '^
*+' conftest.er1 >conftest.err
6485 cat conftest.err >&5
6486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6487 (exit $ac_status); } && {
6488 test -z "$ac_f77_werror_flag" ||
6489 test ! -s conftest.err
6490 } && test -s conftest.$ac_objext; then
6491 ac_cv_prog_f77_g=yes
6493 $as_echo "$as_me: failed program was:" >&5
6494 sed 's
/^
/|
/' conftest.$ac_ext >&5
6499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6502 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6503 $as_echo "$ac_cv_prog_f77_g" >&6; }
6504 if test "$ac_test_FFLAGS" = set; then
6505 FFLAGS=$ac_save_FFLAGS
6506 elif test $ac_cv_prog_f77_g = yes; then
6507 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6513 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6520 if test $ac_compiler_gnu = yes; then
6526 ac_cpp='$CPP $CPPFLAGS'
6527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6528 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6533 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6534 # find the maximum length of command line arguments
6535 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6536 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6537 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6538 $as_echo_n "(cached) " >&6
6545 # On DJGPP, this test can blow up pretty badly due to problems in libc
6546 # (any single argument exceeding 2000 bytes causes a buffer overrun
6547 # during glob expansion). Even if it were fixed, the result of this
6548 # check would be larger than it should be.
6549 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6553 # Under GNU Hurd, this test is not required because there is
6554 # no limit to the length of command line arguments.
6555 # Libtool will interpret -1 as no limit whatsoever
6556 lt_cv_sys_max_cmd_len
=-1;
6560 # On Win9x/ME, this test blows up -- it succeeds, but takes
6561 # about 5 minutes as the teststring grows exponentially.
6562 # Worse, since 9x/ME are not pre-emptively multitasking,
6563 # you end up with a "frozen" computer, even though with patience
6564 # the test eventually succeeds (with a max line length of 256k).
6565 # Instead, let's just punt: use the minimum linelength reported by
6566 # all of the supported platforms: 8192 (on NT/2K/XP).
6567 lt_cv_sys_max_cmd_len
=8192;
6571 # On AmigaOS with pdksh, this test takes hours, literally.
6572 # So we just punt and use a minimum line length of 8192.
6573 lt_cv_sys_max_cmd_len
=8192;
6576 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6577 # This has been around since 386BSD, at least. Likely further.
6578 if test -x /sbin
/sysctl
; then
6579 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6580 elif test -x /usr
/sbin
/sysctl
; then
6581 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6583 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6585 # And add a safety zone
6586 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6587 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6591 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6592 lt_cv_sys_max_cmd_len
=196608
6596 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6597 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6598 # nice to cause kernel panics so lets avoid the loop below.
6599 # First set a reasonable default.
6600 lt_cv_sys_max_cmd_len
=16384
6602 if test -x /sbin
/sysconfig
; then
6603 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6604 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6609 lt_cv_sys_max_cmd_len
=102400
6611 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6612 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6613 if test -n "$kargmax"; then
6614 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6616 lt_cv_sys_max_cmd_len
=32768
6620 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6621 if test -n "$lt_cv_sys_max_cmd_len"; then
6622 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6623 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6625 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6626 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6627 = "XX$teststring") >/dev
/null
2>&1 &&
6628 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6629 lt_cv_sys_max_cmd_len
=$new_result &&
6630 test $i != 17 # 1/2 MB should be enough
6633 teststring
=$teststring$teststring
6636 # Add a significant safety factor because C++ compilers can tack on massive
6637 # amounts of additional arguments before passing them to the linker.
6638 # It appears as though 1/2 is a usable value.
6639 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6646 if test -n $lt_cv_sys_max_cmd_len ; then
6647 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6648 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6650 { $as_echo "$as_me:$LINENO: result: none" >&5
6651 $as_echo "none" >&6; }
6658 # Check for command to grab the raw symbol name followed by C symbol from nm.
6659 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6660 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6661 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6662 $as_echo_n "(cached) " >&6
6665 # These are sane defaults that work on at least a few old systems.
6666 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6668 # Character class describing NM global symbol codes.
6669 symcode
='[BCDEGRST]'
6671 # Regexp to match symbols that can be accessed directly from C.
6672 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6674 # Transform an extracted symbol line into a proper C declaration
6675 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6677 # Transform an extracted symbol line into symbol name and symbol address
6678 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'"
6680 # Define system-specific variables.
6685 cygwin
* | mingw
* | pw32
*)
6686 symcode
='[ABCDGISTW]'
6688 hpux
*) # Its linker distinguishes data from code symbols
6689 if test "$host_cpu" = ia64
; then
6690 symcode
='[ABCDEGRST]'
6692 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6693 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'"
6695 linux
* | k
*bsd
*-gnu)
6696 if test "$host_cpu" = ia64
; then
6697 symcode
='[ABCDGIRSTW]'
6698 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6699 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'"
6703 symcode
='[BCDEGRST]'
6706 symcode
='[BCDEGQRST]'
6717 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6725 # Handle CRLF in mingw tool chain
6729 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6733 # If we're using GNU nm, then use its standard symbol codes.
6734 case `$NM -V 2>&1` in
6735 *GNU
* |
*'with BFD'*)
6736 symcode
='[ABCDGIRSTW]' ;;
6739 # Try without a prefix undercore, then with it.
6740 for ac_symprfx
in "" "_"; do
6742 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6743 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6745 # Write the raw and C identifiers.
6746 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6748 # Check to see that the pipe works correctly.
6752 cat > conftest.
$ac_ext <<EOF
6757 void nm_test_func(){}
6761 int main(){nm_test_var='a';nm_test_func();return(0);}
6764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6765 (eval $ac_compile) 2>&5
6767 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6768 (exit $ac_status); }; then
6769 # Now try to grab the symbols.
6771 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6772 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6774 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6775 (exit $ac_status); } && test -s "$nlist"; then
6776 # Try sorting and uniquifying the output.
6777 if sort "$nlist" |
uniq > "$nlist"T
; then
6778 mv -f "$nlist"T
"$nlist"
6783 # Make sure that we snagged all the symbols we need.
6784 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6785 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6786 cat <<EOF > conftest.$ac_ext
6792 # Now generate the symbol file.
6793 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6795 cat <<EOF >> conftest.$ac_ext
6796 #if defined (__STDC__) && __STDC__
6797 # define lt_ptr_t void *
6799 # define lt_ptr_t char *
6803 /* The mapping between symbol names and symbols. */
6808 lt_preloaded_symbols[] =
6811 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6812 cat <<\EOF
>> conftest.
$ac_ext
6820 # Now try linking the two files.
6821 mv conftest.
$ac_objext conftstm.
$ac_objext
6822 lt_save_LIBS
="$LIBS"
6823 lt_save_CFLAGS
="$CFLAGS"
6824 LIBS
="conftstm.$ac_objext"
6825 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6827 (eval $ac_link) 2>&5
6829 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6830 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6833 LIBS
="$lt_save_LIBS"
6834 CFLAGS
="$lt_save_CFLAGS"
6836 echo "cannot find nm_test_func in $nlist" >&5
6839 echo "cannot find nm_test_var in $nlist" >&5
6842 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6845 echo "$progname: failed program was:" >&5
6846 cat conftest.
$ac_ext >&5
6848 rm -rf conftest
* conftst
*
6850 # Do not use the global_symbol_pipe unless it works.
6851 if test "$pipe_works" = yes; then
6854 lt_cv_sys_global_symbol_pipe
=
6860 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6861 lt_cv_sys_global_symbol_to_cdecl
=
6863 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6864 { $as_echo "$as_me:$LINENO: result: failed" >&5
6865 $as_echo "failed" >&6; }
6867 { $as_echo "$as_me:$LINENO: result: ok" >&5
6868 $as_echo "ok" >&6; }
6871 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
6872 $as_echo_n "checking for objdir... " >&6; }
6873 if test "${lt_cv_objdir+set}" = set; then
6874 $as_echo_n "(cached) " >&6
6876 rm -f .libs
2>/dev
/null
6877 mkdir .libs
2>/dev
/null
6878 if test -d .libs
; then
6881 # MS-DOS does not allow filenames that begin with a dot.
6884 rmdir .libs
2>/dev
/null
6886 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6887 $as_echo "$lt_cv_objdir" >&6; }
6888 objdir
=$lt_cv_objdir
6896 # AIX sometimes has problems with the GCC collect2 program. For some
6897 # reason, if we set the COLLECT_NAMES environment variable, the problems
6898 # vanish in a puff of smoke.
6899 if test "X${COLLECT_NAMES+set}" != Xset
; then
6901 export COLLECT_NAMES
6906 # Sed substitution that helps us do robust quoting. It backslashifies
6907 # metacharacters that are still active within double-quoted strings.
6908 Xsed
='sed -e 1s/^X//'
6909 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6911 # Same as above, but do not quote variable references.
6912 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6914 # Sed substitution to delay expansion of an escaped shell variable in a
6915 # double_quote_subst'ed string.
6916 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6918 # Sed substitution to avoid accidental globbing in evaled expressions
6919 no_glob_subst
='s/\*/\\\*/g'
6925 default_ofile
=libtool
6926 can_build_shared
=yes
6928 # All known linkers require a `.a' archive for static linking (except MSVC,
6929 # which needs '.lib').
6931 ltmain
="$ac_aux_dir/ltmain.sh"
6932 ofile
="$default_ofile"
6933 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6935 if test -n "$ac_tool_prefix"; then
6936 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6937 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6938 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6939 $as_echo_n "checking for $ac_word... " >&6; }
6940 if test "${ac_cv_prog_AR+set}" = set; then
6941 $as_echo_n "(cached) " >&6
6943 if test -n "$AR"; then
6944 ac_cv_prog_AR
="$AR" # Let the user override the test.
6946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6950 test -z "$as_dir" && as_dir
=.
6951 for ac_exec_ext
in '' $ac_executable_extensions; do
6952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6953 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6954 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6964 if test -n "$AR"; then
6965 { $as_echo "$as_me:$LINENO: result: $AR" >&5
6966 $as_echo "$AR" >&6; }
6968 { $as_echo "$as_me:$LINENO: result: no" >&5
6969 $as_echo "no" >&6; }
6974 if test -z "$ac_cv_prog_AR"; then
6976 # Extract the first word of "ar", so it can be a program name with args.
6977 set dummy
ar; ac_word
=$2
6978 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6979 $as_echo_n "checking for $ac_word... " >&6; }
6980 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6981 $as_echo_n "(cached) " >&6
6983 if test -n "$ac_ct_AR"; then
6984 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6990 test -z "$as_dir" && as_dir
=.
6991 for ac_exec_ext
in '' $ac_executable_extensions; do
6992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6993 ac_cv_prog_ac_ct_AR
="ar"
6994 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7003 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7004 if test -n "$ac_ct_AR"; then
7005 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7006 $as_echo "$ac_ct_AR" >&6; }
7008 { $as_echo "$as_me:$LINENO: result: no" >&5
7009 $as_echo "no" >&6; }
7012 if test "x$ac_ct_AR" = x
; then
7015 case $cross_compiling:$ac_tool_warned in
7017 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7019 ac_tool_warned
=yes ;;
7027 if test -n "$ac_tool_prefix"; then
7028 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7029 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7030 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7031 $as_echo_n "checking for $ac_word... " >&6; }
7032 if test "${ac_cv_prog_RANLIB+set}" = set; then
7033 $as_echo_n "(cached) " >&6
7035 if test -n "$RANLIB"; then
7036 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7042 test -z "$as_dir" && as_dir
=.
7043 for ac_exec_ext
in '' $ac_executable_extensions; do
7044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7045 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7046 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7055 RANLIB
=$ac_cv_prog_RANLIB
7056 if test -n "$RANLIB"; then
7057 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
7058 $as_echo "$RANLIB" >&6; }
7060 { $as_echo "$as_me:$LINENO: result: no" >&5
7061 $as_echo "no" >&6; }
7066 if test -z "$ac_cv_prog_RANLIB"; then
7067 ac_ct_RANLIB
=$RANLIB
7068 # Extract the first word of "ranlib", so it can be a program name with args.
7069 set dummy ranlib
; ac_word
=$2
7070 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7071 $as_echo_n "checking for $ac_word... " >&6; }
7072 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7073 $as_echo_n "(cached) " >&6
7075 if test -n "$ac_ct_RANLIB"; then
7076 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7082 test -z "$as_dir" && as_dir
=.
7083 for ac_exec_ext
in '' $ac_executable_extensions; do
7084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7085 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7086 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7095 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7096 if test -n "$ac_ct_RANLIB"; then
7097 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7098 $as_echo "$ac_ct_RANLIB" >&6; }
7100 { $as_echo "$as_me:$LINENO: result: no" >&5
7101 $as_echo "no" >&6; }
7104 if test "x$ac_ct_RANLIB" = x
; then
7107 case $cross_compiling:$ac_tool_warned in
7109 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7111 ac_tool_warned
=yes ;;
7113 RANLIB
=$ac_ct_RANLIB
7116 RANLIB
="$ac_cv_prog_RANLIB"
7119 if test -n "$ac_tool_prefix"; then
7120 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7121 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7122 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7123 $as_echo_n "checking for $ac_word... " >&6; }
7124 if test "${ac_cv_prog_STRIP+set}" = set; then
7125 $as_echo_n "(cached) " >&6
7127 if test -n "$STRIP"; then
7128 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7134 test -z "$as_dir" && as_dir
=.
7135 for ac_exec_ext
in '' $ac_executable_extensions; do
7136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7137 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7138 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7147 STRIP
=$ac_cv_prog_STRIP
7148 if test -n "$STRIP"; then
7149 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
7150 $as_echo "$STRIP" >&6; }
7152 { $as_echo "$as_me:$LINENO: result: no" >&5
7153 $as_echo "no" >&6; }
7158 if test -z "$ac_cv_prog_STRIP"; then
7160 # Extract the first word of "strip", so it can be a program name with args.
7161 set dummy strip
; ac_word
=$2
7162 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7163 $as_echo_n "checking for $ac_word... " >&6; }
7164 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7165 $as_echo_n "(cached) " >&6
7167 if test -n "$ac_ct_STRIP"; then
7168 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7174 test -z "$as_dir" && as_dir
=.
7175 for ac_exec_ext
in '' $ac_executable_extensions; do
7176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7177 ac_cv_prog_ac_ct_STRIP
="strip"
7178 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7187 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7188 if test -n "$ac_ct_STRIP"; then
7189 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7190 $as_echo "$ac_ct_STRIP" >&6; }
7192 { $as_echo "$as_me:$LINENO: result: no" >&5
7193 $as_echo "no" >&6; }
7196 if test "x$ac_ct_STRIP" = x
; then
7199 case $cross_compiling:$ac_tool_warned in
7201 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7203 ac_tool_warned
=yes ;;
7208 STRIP
="$ac_cv_prog_STRIP"
7213 old_CFLAGS
="$CFLAGS"
7215 # Set sane defaults for various variables
7216 test -z "$AR" && AR
=ar
7217 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7218 test -z "$AS" && AS
=as
7219 test -z "$CC" && CC
=cc
7220 test -z "$LTCC" && LTCC
=$CC
7221 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7222 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7223 test -z "$LD" && LD
=ld
7224 test -z "$LN_S" && LN_S
="ln -s"
7225 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7226 test -z "$NM" && NM
=nm
7227 test -z "$SED" && SED
=sed
7228 test -z "$OBJDUMP" && OBJDUMP
=objdump
7229 test -z "$RANLIB" && RANLIB
=:
7230 test -z "$STRIP" && STRIP
=:
7231 test -z "$ac_objext" && ac_objext
=o
7233 # Determine commands to create old-style static archives.
7234 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7235 old_postinstall_cmds
='chmod 644 $oldlib'
7236 old_postuninstall_cmds
=
7238 if test -n "$RANLIB"; then
7241 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7244 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7247 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7250 for cc_temp
in $compiler""; do
7252 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7253 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7258 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7261 # Only perform the check for file, if the check method requires it
7262 case $deplibs_check_method in
7264 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7265 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7266 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7267 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7268 $as_echo_n "(cached) " >&6
7272 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7275 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7276 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7277 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7278 for ac_dir
in $ac_dummy; do
7280 test -z "$ac_dir" && ac_dir
=.
7281 if test -f $ac_dir/${ac_tool_prefix}file; then
7282 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7283 if test -n "$file_magic_test_file"; then
7284 case $deplibs_check_method in
7286 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7287 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7288 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7289 $EGREP "$file_magic_regex" > /dev
/null
; then
7294 *** Warning: the command libtool uses to detect shared libraries,
7295 *** $file_magic_cmd, produces output that libtool cannot recognize.
7296 *** The result is that libtool may fail to recognize shared libraries
7297 *** as such. This will affect the creation of libtool libraries that
7298 *** depend on shared libraries, but programs linked with such libtool
7299 *** libraries will work regardless of this problem. Nevertheless, you
7300 *** may want to report the problem to your system manager and/or to
7301 *** bug-libtool@gnu.org
7311 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7316 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7317 if test -n "$MAGIC_CMD"; then
7318 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7319 $as_echo "$MAGIC_CMD" >&6; }
7321 { $as_echo "$as_me:$LINENO: result: no" >&5
7322 $as_echo "no" >&6; }
7325 if test -z "$lt_cv_path_MAGIC_CMD"; then
7326 if test -n "$ac_tool_prefix"; then
7327 { $as_echo "$as_me:$LINENO: checking for file" >&5
7328 $as_echo_n "checking for file... " >&6; }
7329 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7330 $as_echo_n "(cached) " >&6
7334 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7337 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7338 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7339 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7340 for ac_dir
in $ac_dummy; do
7342 test -z "$ac_dir" && ac_dir
=.
7343 if test -f $ac_dir/file; then
7344 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7345 if test -n "$file_magic_test_file"; then
7346 case $deplibs_check_method in
7348 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7349 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7350 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7351 $EGREP "$file_magic_regex" > /dev
/null
; then
7356 *** Warning: the command libtool uses to detect shared libraries,
7357 *** $file_magic_cmd, produces output that libtool cannot recognize.
7358 *** The result is that libtool may fail to recognize shared libraries
7359 *** as such. This will affect the creation of libtool libraries that
7360 *** depend on shared libraries, but programs linked with such libtool
7361 *** libraries will work regardless of this problem. Nevertheless, you
7362 *** may want to report the problem to your system manager and/or to
7363 *** bug-libtool@gnu.org
7373 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7378 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7379 if test -n "$MAGIC_CMD"; then
7380 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7381 $as_echo "$MAGIC_CMD" >&6; }
7383 { $as_echo "$as_me:$LINENO: result: no" >&5
7384 $as_echo "no" >&6; }
7398 rhapsody
* | darwin
*)
7399 if test -n "$ac_tool_prefix"; then
7400 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7401 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7402 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7403 $as_echo_n "checking for $ac_word... " >&6; }
7404 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7405 $as_echo_n "(cached) " >&6
7407 if test -n "$DSYMUTIL"; then
7408 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7414 test -z "$as_dir" && as_dir
=.
7415 for ac_exec_ext
in '' $ac_executable_extensions; do
7416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7417 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7418 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7427 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7428 if test -n "$DSYMUTIL"; then
7429 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7430 $as_echo "$DSYMUTIL" >&6; }
7432 { $as_echo "$as_me:$LINENO: result: no" >&5
7433 $as_echo "no" >&6; }
7438 if test -z "$ac_cv_prog_DSYMUTIL"; then
7439 ac_ct_DSYMUTIL
=$DSYMUTIL
7440 # Extract the first word of "dsymutil", so it can be a program name with args.
7441 set dummy dsymutil
; ac_word
=$2
7442 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7443 $as_echo_n "checking for $ac_word... " >&6; }
7444 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7445 $as_echo_n "(cached) " >&6
7447 if test -n "$ac_ct_DSYMUTIL"; then
7448 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7454 test -z "$as_dir" && as_dir
=.
7455 for ac_exec_ext
in '' $ac_executable_extensions; do
7456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7457 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7458 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7467 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7468 if test -n "$ac_ct_DSYMUTIL"; then
7469 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7470 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7472 { $as_echo "$as_me:$LINENO: result: no" >&5
7473 $as_echo "no" >&6; }
7476 if test "x$ac_ct_DSYMUTIL" = x
; then
7479 case $cross_compiling:$ac_tool_warned in
7481 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7482 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7483 ac_tool_warned
=yes ;;
7485 DSYMUTIL
=$ac_ct_DSYMUTIL
7488 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7491 if test -n "$ac_tool_prefix"; then
7492 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7493 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7494 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7495 $as_echo_n "checking for $ac_word... " >&6; }
7496 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7497 $as_echo_n "(cached) " >&6
7499 if test -n "$NMEDIT"; then
7500 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7506 test -z "$as_dir" && as_dir
=.
7507 for ac_exec_ext
in '' $ac_executable_extensions; do
7508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7509 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7510 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7519 NMEDIT
=$ac_cv_prog_NMEDIT
7520 if test -n "$NMEDIT"; then
7521 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
7522 $as_echo "$NMEDIT" >&6; }
7524 { $as_echo "$as_me:$LINENO: result: no" >&5
7525 $as_echo "no" >&6; }
7530 if test -z "$ac_cv_prog_NMEDIT"; then
7531 ac_ct_NMEDIT
=$NMEDIT
7532 # Extract the first word of "nmedit", so it can be a program name with args.
7533 set dummy nmedit
; ac_word
=$2
7534 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7535 $as_echo_n "checking for $ac_word... " >&6; }
7536 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7537 $as_echo_n "(cached) " >&6
7539 if test -n "$ac_ct_NMEDIT"; then
7540 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7546 test -z "$as_dir" && as_dir
=.
7547 for ac_exec_ext
in '' $ac_executable_extensions; do
7548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7549 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7550 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7559 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7560 if test -n "$ac_ct_NMEDIT"; then
7561 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7562 $as_echo "$ac_ct_NMEDIT" >&6; }
7564 { $as_echo "$as_me:$LINENO: result: no" >&5
7565 $as_echo "no" >&6; }
7568 if test "x$ac_ct_NMEDIT" = x
; then
7571 case $cross_compiling:$ac_tool_warned in
7573 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7574 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7575 ac_tool_warned
=yes ;;
7577 NMEDIT
=$ac_ct_NMEDIT
7580 NMEDIT
="$ac_cv_prog_NMEDIT"
7584 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7585 $as_echo_n "checking for -single_module linker flag... " >&6; }
7586 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7587 $as_echo_n "(cached) " >&6
7589 lt_cv_apple_cc_single_mod
=no
7590 if test -z "${LT_MULTI_MODULE}"; then
7591 # By default we will add the -single_module flag. You can override
7592 # by either setting the environment variable LT_MULTI_MODULE
7593 # non-empty at configure time, or by adding -multi_module to the
7595 echo "int foo(void){return 1;}" > conftest.c
7596 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7597 -dynamiclib ${wl}-single_module conftest.c
7598 if test -f libconftest.dylib
; then
7599 lt_cv_apple_cc_single_mod
=yes
7600 rm -rf libconftest.dylib
*
7605 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7606 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7607 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7608 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7609 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7610 $as_echo_n "(cached) " >&6
7612 lt_cv_ld_exported_symbols_list
=no
7613 save_LDFLAGS
=$LDFLAGS
7614 echo "_main" > conftest.sym
7615 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7616 cat >conftest.
$ac_ext <<_ACEOF
7619 cat confdefs.h
>>conftest.
$ac_ext
7620 cat >>conftest.
$ac_ext <<_ACEOF
7621 /* end confdefs.h. */
7631 rm -f conftest.
$ac_objext conftest
$ac_exeext
7632 if { (ac_try
="$ac_link"
7634 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7635 *) ac_try_echo=$ac_try;;
7637 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7638 $as_echo "$ac_try_echo") >&5
7639 (eval "$ac_link") 2>conftest.er1
7641 grep -v '^ *+' conftest.er1 >conftest.err
7643 cat conftest.err >&5
7644 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7645 (exit $ac_status); } && {
7646 test -z "$ac_c_werror_flag" ||
7647 test ! -s conftest.err
7648 } && test -s conftest$ac_exeext && {
7649 test "$cross_compiling" = yes ||
7650 $as_test_x conftest$ac_exeext
7652 lt_cv_ld_exported_symbols_list=yes
7654 $as_echo "$as_me: failed program was:" >&5
7655 sed 's/^/| /' conftest.$ac_ext >&5
7657 lt_cv_ld_exported_symbols_list=no
7660 rm -rf conftest.dSYM
7661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7662 conftest$ac_exeext conftest.$ac_ext
7663 LDFLAGS="$save_LDFLAGS"
7666 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7667 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7669 rhapsody* | darwin1.[0123])
7670 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7672 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7674 # if running on 10.5 or later, the deployment target defaults
7675 # to the OS version, if on x86, and 10.4, the deployment
7676 # target defaults to 10.4. Don't you love it?
7677 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7678 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7679 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7681 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7683 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7687 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7688 _lt_dar_single_mod='$single_module'
7690 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7691 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7693 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
7695 if test "$DSYMUTIL" != ":"; then
7696 _lt_dsymutil="~$DSYMUTIL \$lib || :"
7707 # Check whether --enable-libtool-lock was given.
7708 if test "${enable_libtool_lock+set}" = set; then
7709 enableval=$enable_libtool_lock;
7712 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7715 # Check whether --with-pic was given.
7716 if test "${with_pic+set}" = set; then
7717 withval=$with_pic; pic_mode="$withval"
7722 test -z "$pic_mode" && pic_mode=default
7724 # Use C for the default configuration in the libtool script
7728 ac_cpp='$CPP $CPPFLAGS'
7729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7734 # Source file extension for C test sources.
7737 # Object file extension for compiled C test sources.
7741 # Code to be used in simple compile tests
7742 lt_simple_compile_test_code="int some_variable = 0;"
7744 # Code to be used in simple link tests
7745 lt_simple_link_test_code='int main(){return(0);}'
7748 # If no C compiler was specified, use CC.
7751 # If no C compiler flags were specified, use CFLAGS.
7752 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7754 # Allow CC to be a program name with arguments.
7758 # save warnings/boilerplate of simple test code
7759 ac_outfile=conftest.$ac_objext
7760 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7761 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7762 _lt_compiler_boilerplate=`cat conftest.err
`
7765 ac_outfile=conftest.$ac_objext
7766 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7767 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7768 _lt_linker_boilerplate=`cat conftest.err
`
7773 lt_prog_compiler_no_builtin_flag=
7775 if test "$GCC" = yes; then
7776 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7779 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7780 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7781 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7782 $as_echo_n "(cached) " >&6
7784 lt_cv_prog_compiler_rtti_exceptions=no
7785 ac_outfile=conftest.$ac_objext
7786 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7787 lt_compiler_flag="-fno-rtti -fno-exceptions"
7788 # Insert the option either (1) after the last *FLAGS variable, or
7789 # (2) before a word containing "conftest.", or (3) at the end.
7790 # Note that $ac_compile itself does not contain backslashes and begins
7791 # with a dollar sign (not a hyphen), so the echo should work correctly.
7792 # The option is referenced via a variable to avoid confusing sed.
7793 lt_compile=`echo "$ac_compile" |
$SED \
7794 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7795 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7796 -e 's:$: $lt_compiler_flag:'`
7797 (eval echo "\"\$as_me:7797: $lt_compile\"" >&5)
7798 (eval "$lt_compile" 2>conftest.err)
7800 cat conftest.err >&5
7801 echo "$as_me:7801: \$? = $ac_status" >&5
7802 if (exit $ac_status) && test -s "$ac_outfile"; then
7803 # The compiler can only warn and ignore the option if not recognized
7804 # So say no if there are warnings other than the usual output.
7805 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7806 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7807 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7808 lt_cv_prog_compiler_rtti_exceptions=yes
7814 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7815 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7817 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7818 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7825 lt_prog_compiler_wl=
7826 lt_prog_compiler_pic=
7827 lt_prog_compiler_static=
7829 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7830 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7832 if test "$GCC" = yes; then
7833 lt_prog_compiler_wl='-Wl,'
7834 lt_prog_compiler_static='-static'
7838 # All AIX code is PIC.
7839 if test "$host_cpu" = ia64; then
7840 # AIX 5 now supports IA64 processor
7841 lt_prog_compiler_static='-Bstatic'
7846 # FIXME: we need at least 68020 code to build shared libraries, but
7847 # adding the `-m68020' flag to GCC prevents building anything better,
7849 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7852 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7853 # PIC is the default for these OSes.
7856 mingw
* | cygwin
* | pw32
* | os2
*)
7857 # This hack is so that the source file can tell whether it is being
7858 # built for inclusion in a dll (and should export symbols for example).
7859 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7860 # (--disable-auto-import) libraries
7861 lt_prog_compiler_pic
='-DDLL_EXPORT'
7864 darwin
* | rhapsody
*)
7865 # PIC is the default on this platform
7866 # Common symbols not allowed in MH_DYLIB files
7867 lt_prog_compiler_pic
='-fno-common'
7871 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7872 # Instead, we relocate shared libraries at runtime.
7876 # Just because we use GCC doesn't mean we suddenly get shared libraries
7877 # on systems that don't support them.
7878 lt_prog_compiler_can_build_shared
=no
7883 if test -d /usr
/nec
; then
7884 lt_prog_compiler_pic
=-Kconform_pic
7889 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7896 lt_prog_compiler_pic
='-fPIC'
7902 lt_prog_compiler_pic
='-fPIC'
7906 # PORTME Check for flag to pass linker flags through the system compiler.
7909 lt_prog_compiler_wl
='-Wl,'
7910 if test "$host_cpu" = ia64
; then
7911 # AIX 5 now supports IA64 processor
7912 lt_prog_compiler_static
='-Bstatic'
7914 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7918 # PIC is the default on this platform
7919 # Common symbols not allowed in MH_DYLIB files
7920 case $cc_basename in
7922 lt_prog_compiler_pic
='-qnocommon'
7923 lt_prog_compiler_wl
='-Wl,'
7928 mingw
* | cygwin
* | pw32
* | os2
*)
7929 # This hack is so that the source file can tell whether it is being
7930 # built for inclusion in a dll (and should export symbols for example).
7931 lt_prog_compiler_pic
='-DDLL_EXPORT'
7934 hpux9
* | hpux10
* | hpux11
*)
7935 lt_prog_compiler_wl
='-Wl,'
7936 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7943 lt_prog_compiler_pic
='+Z'
7946 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7947 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7950 irix5
* | irix6
* | nonstopux
*)
7951 lt_prog_compiler_wl
='-Wl,'
7952 # PIC (with -KPIC) is the default.
7953 lt_prog_compiler_static
='-non_shared'
7957 lt_prog_compiler_pic
='-KPIC'
7958 lt_prog_compiler_static
='-Bstatic'
7961 linux
* | k
*bsd
*-gnu)
7962 case $cc_basename in
7964 lt_prog_compiler_wl
='-Wl,'
7965 lt_prog_compiler_pic
='-KPIC'
7966 lt_prog_compiler_static
='-static'
7968 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7969 # Portland Group compilers (*not* the Pentium gcc compiler,
7970 # which looks to be a dead project)
7971 lt_prog_compiler_wl
='-Wl,'
7972 lt_prog_compiler_pic
='-fpic'
7973 lt_prog_compiler_static
='-Bstatic'
7976 lt_prog_compiler_wl
='-Wl,'
7977 # All Alpha code is PIC.
7978 lt_prog_compiler_static
='-non_shared'
7981 case `$CC -V 2>&1 | sed 5q` in
7984 lt_prog_compiler_pic
='-KPIC'
7985 lt_prog_compiler_static
='-Bstatic'
7986 lt_prog_compiler_wl
='-Wl,'
7989 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7990 lt_prog_compiler_pic
='-KPIC'
7991 lt_prog_compiler_static
='-Bstatic'
7992 lt_prog_compiler_wl
=''
7999 osf3
* | osf4
* | osf5
*)
8000 lt_prog_compiler_wl
='-Wl,'
8001 # All OSF/1 code is PIC.
8002 lt_prog_compiler_static
='-non_shared'
8006 lt_prog_compiler_static
='-non_shared'
8010 lt_prog_compiler_pic
='-KPIC'
8011 lt_prog_compiler_static
='-Bstatic'
8012 case $cc_basename in
8014 lt_prog_compiler_wl
='-Qoption ld ';;
8016 lt_prog_compiler_wl
='-Wl,';;
8021 lt_prog_compiler_wl
='-Qoption ld '
8022 lt_prog_compiler_pic
='-PIC'
8023 lt_prog_compiler_static
='-Bstatic'
8026 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8027 lt_prog_compiler_wl
='-Wl,'
8028 lt_prog_compiler_pic
='-KPIC'
8029 lt_prog_compiler_static
='-Bstatic'
8033 if test -d /usr
/nec
;then
8034 lt_prog_compiler_pic
='-Kconform_pic'
8035 lt_prog_compiler_static
='-Bstatic'
8039 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8040 lt_prog_compiler_wl
='-Wl,'
8041 lt_prog_compiler_pic
='-KPIC'
8042 lt_prog_compiler_static
='-Bstatic'
8046 lt_prog_compiler_wl
='-Wl,'
8047 lt_prog_compiler_can_build_shared
=no
8051 lt_prog_compiler_pic
='-pic'
8052 lt_prog_compiler_static
='-Bstatic'
8056 lt_prog_compiler_can_build_shared
=no
8061 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8062 $as_echo "$lt_prog_compiler_pic" >&6; }
8065 # Check to make sure the PIC flag actually works.
8067 if test -n "$lt_prog_compiler_pic"; then
8069 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8070 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8071 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8072 $as_echo_n "(cached) " >&6
8074 lt_cv_prog_compiler_pic_works
=no
8075 ac_outfile
=conftest.
$ac_objext
8076 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8077 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8078 # Insert the option either (1) after the last *FLAGS variable, or
8079 # (2) before a word containing "conftest.", or (3) at the end.
8080 # Note that $ac_compile itself does not contain backslashes and begins
8081 # with a dollar sign (not a hyphen), so the echo should work correctly.
8082 # The option is referenced via a variable to avoid confusing sed.
8083 lt_compile
=`echo "$ac_compile" | $SED \
8084 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8085 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8086 -e 's:$: $lt_compiler_flag:'`
8087 (eval echo "\"\$as_me:8087: $lt_compile\"" >&5)
8088 (eval "$lt_compile" 2>conftest.err
)
8090 cat conftest.err
>&5
8091 echo "$as_me:8091: \$? = $ac_status" >&5
8092 if (exit $ac_status) && test -s "$ac_outfile"; then
8093 # The compiler can only warn and ignore the option if not recognized
8094 # So say no if there are warnings other than the usual output.
8095 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8096 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8097 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8098 lt_cv_prog_compiler_pic_works
=yes
8104 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8105 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8107 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8108 case $lt_prog_compiler_pic in
8110 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8113 lt_prog_compiler_pic
=
8114 lt_prog_compiler_can_build_shared
=no
8119 # For platforms which do not support PIC, -DPIC is meaningless:
8121 lt_prog_compiler_pic
=
8124 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8129 # Check to make sure the static flag actually works.
8131 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8132 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8133 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8134 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8135 $as_echo_n "(cached) " >&6
8137 lt_cv_prog_compiler_static_works
=no
8138 save_LDFLAGS
="$LDFLAGS"
8139 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8140 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8141 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8142 # The linker can only warn and ignore the option if not recognized
8143 # So say no if there are warnings
8144 if test -s conftest.err
; then
8145 # Append any errors to the config.log.
8146 cat conftest.err
1>&5
8147 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8148 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8149 if diff conftest.exp conftest.er2
>/dev
/null
; then
8150 lt_cv_prog_compiler_static_works
=yes
8153 lt_cv_prog_compiler_static_works
=yes
8157 LDFLAGS
="$save_LDFLAGS"
8160 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8161 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8163 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8166 lt_prog_compiler_static
=
8170 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8171 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8172 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8173 $as_echo_n "(cached) " >&6
8175 lt_cv_prog_compiler_c_o
=no
8176 $rm -r conftest
2>/dev
/null
8180 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8182 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8183 # Insert the option either (1) after the last *FLAGS variable, or
8184 # (2) before a word containing "conftest.", or (3) at the end.
8185 # Note that $ac_compile itself does not contain backslashes and begins
8186 # with a dollar sign (not a hyphen), so the echo should work correctly.
8187 lt_compile
=`echo "$ac_compile" | $SED \
8188 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8189 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8190 -e 's:$: $lt_compiler_flag:'`
8191 (eval echo "\"\$as_me:8191: $lt_compile\"" >&5)
8192 (eval "$lt_compile" 2>out
/conftest.err
)
8194 cat out
/conftest.err
>&5
8195 echo "$as_me:8195: \$? = $ac_status" >&5
8196 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8198 # The compiler can only warn and ignore the option if not recognized
8199 # So say no if there are warnings
8200 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8201 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8202 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8203 lt_cv_prog_compiler_c_o
=yes
8208 # SGI C++ compiler will create directory out/ii_files/ for
8209 # template instantiation
8210 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
8211 $rm out
/* && rmdir out
8217 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8218 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8221 hard_links
="nottested"
8222 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8223 # do not overwrite the value of need_locks provided by the user
8224 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8225 $as_echo_n "checking if we can lock with hard links... " >&6; }
8228 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8230 ln conftest.a conftest.b
2>&5 || hard_links
=no
8231 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8232 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8233 $as_echo "$hard_links" >&6; }
8234 if test "$hard_links" = no
; then
8235 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8236 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8243 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8244 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8247 allow_undefined_flag
=
8248 enable_shared_with_static_runtimes
=no
8250 archive_expsym_cmds
=
8251 old_archive_From_new_cmds
=
8252 old_archive_from_expsyms_cmds
=
8253 export_dynamic_flag_spec
=
8254 whole_archive_flag_spec
=
8255 thread_safe_flag_spec
=
8256 hardcode_libdir_flag_spec
=
8257 hardcode_libdir_flag_spec_ld
=
8258 hardcode_libdir_separator
=
8261 hardcode_shlibpath_var
=unsupported
8262 link_all_deplibs
=unknown
8263 hardcode_automatic
=no
8266 always_export_symbols
=no
8267 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8268 # include_expsyms should be a list of space-separated symbols to be *always*
8269 # included in the symbol list
8271 # exclude_expsyms can be an extended regexp of symbols to exclude
8272 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8273 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8274 # as well as any symbol that contains `d'.
8275 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8276 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8277 # platforms (ab)use it in PIC code, but their linkers get confused if
8278 # the symbol is explicitly referenced. Since portable code cannot
8279 # rely on this symbol name, it's probably fine to never include it in
8280 # preloaded symbol tables.
8281 # Exclude shared library initialization/finalization symbols.
8282 extract_expsyms_cmds
=
8283 # Just being paranoid about ensuring that cc_basename is set.
8284 for cc_temp
in $compiler""; do
8286 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8287 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8292 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8295 cygwin
* | mingw
* | pw32
*)
8296 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8297 # When not using gcc, we currently assume that we are using
8298 # Microsoft Visual C++.
8299 if test "$GCC" != yes; then
8304 # we just hope/assume this is gcc and not c89 (= MSVC++)
8313 if test "$with_gnu_ld" = yes; then
8314 # If archive_cmds runs LD, not CC, wlarc should be empty
8317 # Set some defaults for GNU ld with shared library support. These
8318 # are reset later if shared libraries are not supported. Putting them
8319 # here allows them to be overridden if necessary.
8320 runpath_var
=LD_RUN_PATH
8321 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
8322 export_dynamic_flag_spec
='${wl}--export-dynamic'
8323 # ancient GNU ld didn't support --whole-archive et. al.
8324 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
8325 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8327 whole_archive_flag_spec
=
8329 supports_anon_versioning
=no
8330 case `$LD -v 2>/dev/null` in
8331 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8332 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8333 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8334 *\
2.11.
*) ;; # other 2.11 versions
8335 *) supports_anon_versioning
=yes ;;
8338 # See if GNU ld supports shared libraries.
8341 # On AIX/PPC, the GNU linker is very broken
8342 if test "$host_cpu" != ia64
; then
8346 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8347 *** to be unable to reliably create shared libraries on AIX.
8348 *** Therefore, libtool is disabling shared libraries support. If you
8349 *** really care for shared libraries, you may want to modify your PATH
8350 *** so that a non-GNU linker is found, and then restart.
8357 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)'
8358 hardcode_libdir_flag_spec
='-L$libdir'
8359 hardcode_minus_L
=yes
8361 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8362 # that the semantics of dynamic libraries on AmigaOS, at least up
8363 # to version 4, is to share data among multiple programs linked
8364 # with the same dynamic library. Since this doesn't match the
8365 # behavior of shared libraries on other platforms, we can't use
8371 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8372 allow_undefined_flag
=unsupported
8373 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8374 # support --undefined. This deserves some investigation. FIXME
8375 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8381 cygwin
* | mingw
* | pw32
*)
8382 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8383 # as there is no search path for DLLs.
8384 hardcode_libdir_flag_spec
='-L$libdir'
8385 allow_undefined_flag
=unsupported
8386 always_export_symbols
=no
8387 enable_shared_with_static_runtimes
=yes
8388 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8390 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
8391 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8392 # If the export-symbols file already is a .def file (1st line
8393 # is EXPORTS), use it as is; otherwise, prepend...
8394 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8395 cp $export_symbols $output_objdir/$soname.def;
8397 echo EXPORTS > $output_objdir/$soname.def;
8398 cat $export_symbols >> $output_objdir/$soname.def;
8400 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8408 hardcode_shlibpath_var
=no
8409 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8410 export_dynamic_flag_spec
='${wl}-E'
8411 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8412 # Instead, shared libraries are loaded at an image base (0x10000000 by
8413 # default) and relocated if they conflict, which is a slow very memory
8414 # consuming and fragmenting process. To avoid this, we pick a random,
8415 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8416 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8417 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8418 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'
8421 gnu
* | linux
* | k
*bsd
*-gnu)
8422 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8424 case $cc_basename,$host_cpu in
8425 pgcc
*) # Portland Group C compiler
8426 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'
8427 tmp_addflag
=' $pic_flag'
8429 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8430 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'
8431 tmp_addflag
=' $pic_flag -Mnomain' ;;
8432 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8433 tmp_addflag
=' -i_dynamic' ;;
8434 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8435 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8436 ifc
* | ifort
*) # Intel Fortran compiler
8437 tmp_addflag
=' -nofor_main' ;;
8439 case `$CC -V 2>&1 | sed 5q` in
8440 *Sun\ C
*) # Sun C 5.9
8441 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8442 tmp_sharedflag
='-G' ;;
8443 *Sun\ F
*) # Sun Fortran 8.3
8444 tmp_sharedflag
='-G' ;;
8446 tmp_sharedflag
='-shared' ;;
8448 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8450 if test $supports_anon_versioning = yes; then
8451 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
8452 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8453 $echo "local: *; };" >> $output_objdir/$libname.ver~
8454 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8462 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8463 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8466 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8467 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8472 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
8476 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8477 *** create shared libraries on Solaris systems. Therefore, libtool
8478 *** is disabling shared libraries support. We urge you to upgrade GNU
8479 *** binutils to release 2.9.1 or newer. Another option is to modify
8480 *** your PATH or compiler configuration so that the native linker is
8481 *** used, and then restart.
8484 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8485 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8486 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8492 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8493 case `$LD -v 2>&1` in
8494 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8498 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8499 *** reliably create shared libraries on SCO systems. Therefore, libtool
8500 *** is disabling shared libraries support. We urge you to upgrade GNU
8501 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8502 *** your PATH or compiler configuration so that the native linker is
8503 *** used, and then restart.
8508 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8509 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8510 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8511 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8520 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8523 hardcode_shlibpath_var
=no
8527 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8528 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8529 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8536 if test "$ld_shlibs" = no
; then
8538 hardcode_libdir_flag_spec
=
8539 export_dynamic_flag_spec
=
8540 whole_archive_flag_spec
=
8543 # PORTME fill in a description of your system's linker (not GNU ld)
8546 allow_undefined_flag
=unsupported
8547 always_export_symbols
=yes
8548 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'
8549 # Note: this linker hardcodes the directories in LIBPATH if there
8550 # are no directories specified by -L.
8551 hardcode_minus_L
=yes
8552 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8553 # Neither direct hardcoding nor static linking is supported with a
8555 hardcode_direct
=unsupported
8560 if test "$host_cpu" = ia64
; then
8561 # On IA64, the linker does run time linking by default, so we don't
8562 # have to do anything special.
8563 aix_use_runtimelinking
=no
8564 exp_sym_flag
='-Bexport'
8567 # If we're using GNU nm, then we don't want the "-C" option.
8568 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8569 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
8570 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'
8572 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'
8574 aix_use_runtimelinking
=no
8576 # Test if we are trying to use run time linking or normal
8577 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8578 # need to do runtime linking.
8579 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8580 for ld_flag
in $LDFLAGS; do
8581 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8582 aix_use_runtimelinking
=yes
8589 exp_sym_flag
='-bexport'
8590 no_entry_flag
='-bnoentry'
8593 # When large executables or shared objects are built, AIX ld can
8594 # have problems creating the table of contents. If linking a library
8595 # or program results in "error TOC overflow" add -mminimal-toc to
8596 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8597 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8601 hardcode_libdir_separator
=':'
8602 link_all_deplibs
=yes
8604 if test "$GCC" = yes; then
8605 case $host_os in aix4.
[012]|aix4.
[012].
*)
8606 # We only want to do this on AIX 4.2 and lower, the check
8607 # below for broken collect2 doesn't work under 4.3+
8608 collect2name
=`${CC} -print-prog-name=collect2`
8609 if test -f "$collect2name" && \
8610 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8612 # We have reworked collect2
8615 # We have old collect2
8616 hardcode_direct
=unsupported
8617 # It fails to find uninstalled libraries when the uninstalled
8618 # path is not listed in the libpath. Setting hardcode_minus_L
8619 # to unsupported forces relinking
8620 hardcode_minus_L
=yes
8621 hardcode_libdir_flag_spec
='-L$libdir'
8622 hardcode_libdir_separator
=
8626 shared_flag
='-shared'
8627 if test "$aix_use_runtimelinking" = yes; then
8628 shared_flag
="$shared_flag "'${wl}-G'
8632 if test "$host_cpu" = ia64
; then
8633 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8634 # chokes on -Wl,-G. The following line is correct:
8637 if test "$aix_use_runtimelinking" = yes; then
8638 shared_flag
='${wl}-G'
8640 shared_flag
='${wl}-bM:SRE'
8645 # It seems that -bexpall does not export symbols beginning with
8646 # underscore (_), so it is better to generate a list of symbols to export.
8647 always_export_symbols
=yes
8648 if test "$aix_use_runtimelinking" = yes; then
8649 # Warning - without using the other runtime loading flags (-brtl),
8650 # -berok will link without error, but may produce a broken library.
8651 allow_undefined_flag
='-berok'
8652 # Determine the default libpath from the value encoded in an empty executable.
8653 cat >conftest.
$ac_ext <<_ACEOF
8656 cat confdefs.h
>>conftest.
$ac_ext
8657 cat >>conftest.
$ac_ext <<_ACEOF
8658 /* end confdefs.h. */
8668 rm -f conftest.
$ac_objext conftest
$ac_exeext
8669 if { (ac_try
="$ac_link"
8671 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8672 *) ac_try_echo=$ac_try;;
8674 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8675 $as_echo "$ac_try_echo") >&5
8676 (eval "$ac_link") 2>conftest.er1
8678 grep -v '^ *+' conftest.er1 >conftest.err
8680 cat conftest.err >&5
8681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8682 (exit $ac_status); } && {
8683 test -z "$ac_c_werror_flag" ||
8684 test ! -s conftest.err
8685 } && test -s conftest$ac_exeext && {
8686 test "$cross_compiling" = yes ||
8687 $as_test_x conftest$ac_exeext
8690 lt_aix_libpath_sed='
8691 /Import File Strings/,/^$/ {
8697 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8698 # Check for a 64-bit object if we didn't find anything.
8699 if test -z "$aix_libpath"; then
8700 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8703 $as_echo "$as_me: failed program was:" >&5
8704 sed 's/^/| /' conftest.$ac_ext >&5
8709 rm -rf conftest.dSYM
8710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8711 conftest$ac_exeext conftest.$ac_ext
8712 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8714 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8715 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"
8717 if test "$host_cpu" = ia64; then
8718 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8719 allow_undefined_flag="-z nodefs"
8720 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"
8722 # Determine the default libpath from the value encoded in an empty executable.
8723 cat >conftest.$ac_ext <<_ACEOF
8726 cat confdefs.h >>conftest.$ac_ext
8727 cat >>conftest.$ac_ext <<_ACEOF
8728 /* end confdefs.h. */
8738 rm -f conftest.$ac_objext conftest$ac_exeext
8739 if { (ac_try="$ac_link"
8741 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8742 *) ac_try_echo
=$ac_try;;
8744 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8745 $as_echo "$ac_try_echo") >&5
8746 (eval "$ac_link") 2>conftest.er1
8748 grep -v '^ *+' conftest.er1
>conftest.err
8750 cat conftest.err
>&5
8751 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8752 (exit $ac_status); } && {
8753 test -z "$ac_c_werror_flag" ||
8754 test ! -s conftest.err
8755 } && test -s conftest
$ac_exeext && {
8756 test "$cross_compiling" = yes ||
8757 $as_test_x conftest
$ac_exeext
8760 lt_aix_libpath_sed
='
8761 /Import File Strings/,/^$/ {
8767 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8768 # Check for a 64-bit object if we didn't find anything.
8769 if test -z "$aix_libpath"; then
8770 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8773 $as_echo "$as_me: failed program was:" >&5
8774 sed 's/^/| /' conftest.
$ac_ext >&5
8779 rm -rf conftest.dSYM
8780 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8781 conftest
$ac_exeext conftest.
$ac_ext
8782 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8784 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8785 # Warning - without using the other run time loading flags,
8786 # -berok will link without error, but may produce a broken library.
8787 no_undefined_flag
=' ${wl}-bernotok'
8788 allow_undefined_flag
=' ${wl}-berok'
8789 # Exported symbols can be pulled into shared objects from archives
8790 whole_archive_flag_spec
='$convenience'
8791 archive_cmds_need_lc
=yes
8792 # This is similar to how AIX traditionally builds its shared libraries.
8793 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'
8799 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)'
8800 hardcode_libdir_flag_spec
='-L$libdir'
8801 hardcode_minus_L
=yes
8802 # see comment about different semantics on the GNU ld section
8807 export_dynamic_flag_spec
=-rdynamic
8810 cygwin
* | mingw
* | pw32
*)
8811 # When not using gcc, we currently assume that we are using
8812 # Microsoft Visual C++.
8813 # hardcode_libdir_flag_spec is actually meaningless, as there is
8814 # no search path for DLLs.
8815 hardcode_libdir_flag_spec
=' '
8816 allow_undefined_flag
=unsupported
8817 # Tell ltmain to make .lib files, not .a files.
8819 # Tell ltmain to make .dll files, not .so files.
8821 # FIXME: Setting linknames here is a bad hack.
8822 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8823 # The linker will automatically build a .lib file if we build a DLL.
8824 old_archive_From_new_cmds
='true'
8825 # FIXME: Should let the user specify the lib program.
8826 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8827 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8828 enable_shared_with_static_runtimes
=yes
8831 darwin
* | rhapsody
*)
8833 rhapsody
* | darwin1.
[012])
8834 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8837 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8838 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8840 case ${MACOSX_DEPLOYMENT_TARGET} in
8842 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8845 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8851 archive_cmds_need_lc
=no
8853 hardcode_automatic
=yes
8854 hardcode_shlibpath_var
=unsupported
8855 whole_archive_flag_spec
=''
8856 link_all_deplibs
=yes
8857 if test "$GCC" = yes ; then
8858 output_verbose_link_cmd
='echo'
8859 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8860 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8861 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8862 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8864 case $cc_basename in
8866 output_verbose_link_cmd
='echo'
8867 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8868 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8869 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8870 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8871 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}'
8881 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8882 hardcode_libdir_flag_spec
='-L$libdir'
8883 hardcode_shlibpath_var
=no
8890 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8891 # support. Future versions do this automatically, but an explicit c++rt0.o
8892 # does not break anything, and helps significantly (at the cost of a little
8895 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8896 hardcode_libdir_flag_spec
='-R$libdir'
8898 hardcode_shlibpath_var
=no
8901 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8903 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8905 hardcode_minus_L
=yes
8906 hardcode_shlibpath_var
=no
8909 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8910 freebsd
* | dragonfly
*)
8911 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8912 hardcode_libdir_flag_spec
='-R$libdir'
8914 hardcode_shlibpath_var
=no
8918 if test "$GCC" = yes; then
8919 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'
8921 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'
8923 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8924 hardcode_libdir_separator
=:
8927 # hardcode_minus_L: Not really in the search PATH,
8928 # but as the default location of the library.
8929 hardcode_minus_L
=yes
8930 export_dynamic_flag_spec
='${wl}-E'
8934 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8935 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8937 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8939 if test "$with_gnu_ld" = no
; then
8940 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8941 hardcode_libdir_separator
=:
8944 export_dynamic_flag_spec
='${wl}-E'
8946 # hardcode_minus_L: Not really in the search PATH,
8947 # but as the default location of the library.
8948 hardcode_minus_L
=yes
8953 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8956 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8959 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8962 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8968 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8971 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8974 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8978 if test "$with_gnu_ld" = no
; then
8979 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8980 hardcode_libdir_separator
=:
8984 hardcode_libdir_flag_spec_ld
='+b $libdir'
8986 hardcode_shlibpath_var
=no
8990 export_dynamic_flag_spec
='${wl}-E'
8992 # hardcode_minus_L: Not really in the search PATH,
8993 # but as the default location of the library.
8994 hardcode_minus_L
=yes
9000 irix5
* | irix6
* | nonstopux
*)
9001 if test "$GCC" = yes; then
9002 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'
9004 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'
9005 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9007 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9008 hardcode_libdir_separator
=:
9009 link_all_deplibs
=yes
9013 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9014 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9016 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9018 hardcode_libdir_flag_spec
='-R$libdir'
9020 hardcode_shlibpath_var
=no
9024 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9026 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9027 hardcode_libdir_separator
=:
9028 hardcode_shlibpath_var
=no
9032 if test -f /usr
/libexec
/ld.so
; then
9034 hardcode_shlibpath_var
=no
9035 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9036 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9037 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9038 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9039 export_dynamic_flag_spec
='${wl}-E'
9042 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9043 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9044 hardcode_libdir_flag_spec
='-R$libdir'
9047 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9048 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9058 hardcode_libdir_flag_spec
='-L$libdir'
9059 hardcode_minus_L
=yes
9060 allow_undefined_flag
=unsupported
9061 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'
9062 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9066 if test "$GCC" = yes; then
9067 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9068 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'
9070 allow_undefined_flag
=' -expect_unresolved \*'
9071 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'
9073 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9074 hardcode_libdir_separator
=:
9077 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9078 if test "$GCC" = yes; then
9079 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9080 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'
9081 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9083 allow_undefined_flag
=' -expect_unresolved \*'
9084 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'
9085 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9086 $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'
9088 # Both c and cxx compiler support -rpath directly
9089 hardcode_libdir_flag_spec
='-rpath $libdir'
9091 hardcode_libdir_separator
=:
9095 no_undefined_flag
=' -z text'
9096 if test "$GCC" = yes; then
9098 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9099 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9100 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
9103 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9104 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9105 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9107 hardcode_libdir_flag_spec
='-R$libdir'
9108 hardcode_shlibpath_var
=no
9110 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9112 # The compiler driver will combine and reorder linker options,
9113 # but understands `-z linker_flag'. GCC discards it without `$wl',
9114 # but is careful enough not to reorder.
9115 # Supported since Solaris 2.6 (maybe 2.5.1?)
9116 if test "$GCC" = yes; then
9117 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9119 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9123 link_all_deplibs
=yes
9127 if test "x$host_vendor" = xsequent
; then
9128 # Use $CC to link under sequent, because it throws in some extra .o
9129 # files that make .init and .fini sections work.
9130 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9132 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9134 hardcode_libdir_flag_spec
='-L$libdir'
9136 hardcode_minus_L
=yes
9137 hardcode_shlibpath_var
=no
9141 case $host_vendor in
9143 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9144 hardcode_direct
=yes # is this really true???
9147 ## LD is ld it makes a PLAMLIB
9148 ## CC just makes a GrossModule.
9149 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9150 reload_cmds
='$CC -r -o $output$reload_objs'
9154 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9155 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9158 runpath_var
='LD_RUN_PATH'
9159 hardcode_shlibpath_var
=no
9163 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9164 hardcode_shlibpath_var
=no
9165 export_dynamic_flag_spec
='-Bexport'
9169 if test -d /usr
/nec
; then
9170 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9171 hardcode_shlibpath_var
=no
9172 runpath_var
=LD_RUN_PATH
9173 hardcode_runpath_var
=yes
9178 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9179 no_undefined_flag
='${wl}-z,text'
9180 archive_cmds_need_lc
=no
9181 hardcode_shlibpath_var
=no
9182 runpath_var
='LD_RUN_PATH'
9184 if test "$GCC" = yes; then
9185 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9186 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9188 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9189 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9193 sysv5
* | sco3.2v5
* | sco5v6
*)
9194 # Note: We can NOT use -z defs as we might desire, because we do not
9195 # link with -lc, and that would cause any symbols used from libc to
9196 # always be unresolved, which means just about no library would
9197 # ever link correctly. If we're not using GNU ld we use -z text
9198 # though, which does catch some bad symbols but isn't as heavy-handed
9200 no_undefined_flag
='${wl}-z,text'
9201 allow_undefined_flag
='${wl}-z,nodefs'
9202 archive_cmds_need_lc
=no
9203 hardcode_shlibpath_var
=no
9204 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
9205 hardcode_libdir_separator
=':'
9206 link_all_deplibs
=yes
9207 export_dynamic_flag_spec
='${wl}-Bexport'
9208 runpath_var
='LD_RUN_PATH'
9210 if test "$GCC" = yes; then
9211 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9212 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9214 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9215 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9220 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9221 hardcode_libdir_flag_spec
='-L$libdir'
9222 hardcode_shlibpath_var
=no
9231 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9232 $as_echo "$ld_shlibs" >&6; }
9233 test "$ld_shlibs" = no
&& can_build_shared
=no
9236 # Do we need to explicitly link libc?
9238 case "x$archive_cmds_need_lc" in
9240 # Assume -lc should be added
9241 archive_cmds_need_lc
=yes
9243 if test "$enable_shared" = yes && test "$GCC" = yes; then
9244 case $archive_cmds in
9246 # FIXME: we may have to deal with multi-command sequences.
9249 # Test whether the compiler implicitly links with -lc since on some
9250 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9251 # to ld, don't add -lc before -lgcc.
9252 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9253 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9255 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9258 (eval $ac_compile) 2>&5
9260 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9261 (exit $ac_status); } 2>conftest.err
; then
9264 libobjs
=conftest.
$ac_objext
9266 wl
=$lt_prog_compiler_wl
9267 pic_flag
=$lt_prog_compiler_pic
9273 lt_save_allow_undefined_flag
=$allow_undefined_flag
9274 allow_undefined_flag
=
9275 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9276 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9278 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9279 (exit $ac_status); }
9281 archive_cmds_need_lc
=no
9283 archive_cmds_need_lc
=yes
9285 allow_undefined_flag
=$lt_save_allow_undefined_flag
9287 cat conftest.err
1>&5
9290 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9291 $as_echo "$archive_cmds_need_lc" >&6; }
9298 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9299 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9301 libname_spec
='lib$name'
9309 shlibpath_overrides_runpath
=unknown
9311 dynamic_linker
="$host_os ld.so"
9312 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9314 if test "$GCC" = yes; then
9316 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9317 *) lt_awk_arg
="/^libraries:/" ;;
9319 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9320 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
9321 # if the path contains ";" then we assume it to be the separator
9322 # otherwise default to the standard path separator (i.e. ":") - it is
9323 # assumed that no part of a normal pathname contains ";" but that should
9324 # okay in the real world where ";" in dirpaths is itself problematic.
9325 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9327 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9329 # Ok, now we have the path, separated by spaces, we can step through it
9330 # and add multilib dir if necessary.
9331 lt_tmp_lt_search_path_spec
=
9332 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9333 for lt_sys_path
in $lt_search_path_spec; do
9334 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9335 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9337 test -d "$lt_sys_path" && \
9338 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9341 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
9342 BEGIN {RS=" "; FS="/|\n";} {
9345 for (lt_i = NF; lt_i > 0; lt_i--) {
9346 if ($lt_i != "" && $lt_i != ".") {
9347 if ($lt_i == "..") {
9350 if (lt_count == 0) {
9351 lt_foo="/" $lt_i lt_foo;
9358 if (lt_foo != "") { lt_freq[lt_foo]++; }
9359 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9361 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
9363 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9365 need_lib_prefix
=unknown
9366 hardcode_into_libs
=no
9368 # when you set need_version to no, make sure it does not cause -set_version
9369 # flags to be left without arguments
9370 need_version
=unknown
9375 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9376 shlibpath_var
=LIBPATH
9378 # AIX 3 has no versioning support, so we append a major version to the name.
9379 soname_spec
='${libname}${release}${shared_ext}$major'
9386 hardcode_into_libs
=yes
9387 if test "$host_cpu" = ia64
; then
9388 # AIX 5 supports IA64
9389 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9390 shlibpath_var
=LD_LIBRARY_PATH
9392 # With GCC up to 2.95.x, collect2 would create an import file
9393 # for dependence libraries. The import file would start with
9394 # the line `#! .'. This would cause the generated library to
9395 # depend on `.', always an invalid library. This was fixed in
9396 # development snapshots of GCC prior to 3.0.
9398 aix4 | aix4.
[01] | aix4.
[01].
*)
9399 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9401 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9408 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9409 # soname into executable. Probably we can add versioning support to
9410 # collect2, so additional links can be useful in future.
9411 if test "$aix_use_runtimelinking" = yes; then
9412 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9413 # instead of lib<name>.a to let people know that these are not
9414 # typical AIX shared libraries.
9415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9417 # We preserve .a as extension for shared libraries through AIX4.2
9418 # and later when we are not doing run time linking.
9419 library_names_spec
='${libname}${release}.a $libname.a'
9420 soname_spec
='${libname}${release}${shared_ext}$major'
9422 shlibpath_var
=LIBPATH
9427 library_names_spec
='$libname.ixlibrary $libname.a'
9428 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9429 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'
9433 library_names_spec
='${libname}${shared_ext}'
9434 dynamic_linker
="$host_os ld.so"
9435 shlibpath_var
=LIBRARY_PATH
9441 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9442 soname_spec
='${libname}${release}${shared_ext}$major'
9443 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9444 shlibpath_var
=LD_LIBRARY_PATH
9445 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9446 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9447 # the default ld.so.conf also contains /usr/contrib/lib and
9448 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9449 # libtool to hard-code these into programs
9452 cygwin
* | mingw
* | pw32
*)
9453 version_type
=windows
9458 case $GCC,$host_os in
9459 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9460 library_names_spec
='$libname.dll.a'
9461 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9462 postinstall_cmds
='base_file=`basename \${file}`~
9463 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9464 dldir=$destdir/`dirname \$dlpath`~
9465 test -d \$dldir || mkdir -p \$dldir~
9466 $install_prog $dir/$dlname \$dldir/$dlname~
9467 chmod a+x \$dldir/$dlname'
9468 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9469 dlpath=$dir/\$dldll~
9471 shlibpath_overrides_runpath
=yes
9475 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9476 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9477 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9480 # MinGW DLLs use traditional 'lib' prefix
9481 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9482 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9483 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
9484 # It is most probably a Windows format PATH printed by
9485 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9486 # path with ; separators, and with drive letters. We can handle the
9487 # drive letters (cygwin fileutils understands them), so leave them,
9488 # especially as we might pass files found there to a mingw objdump,
9489 # which wouldn't understand a cygwinified path. Ahh.
9490 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9492 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9496 # pw32 DLLs use 'pw' prefix rather than 'lib'
9497 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9503 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9506 dynamic_linker
='Win32 ld.exe'
9507 # FIXME: first we should search . and the directory the executable is in
9511 darwin
* | rhapsody
*)
9512 dynamic_linker
="$host_os dyld"
9516 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9517 soname_spec
='${libname}${release}${major}$shared_ext'
9518 shlibpath_overrides_runpath
=yes
9519 shlibpath_var
=DYLD_LIBRARY_PATH
9520 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9522 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9523 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9530 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9531 soname_spec
='${libname}${release}${shared_ext}$major'
9532 shlibpath_var
=LD_LIBRARY_PATH
9539 freebsd
* | dragonfly
*)
9540 # DragonFly does not have aout. When/if they implement a new
9541 # versioning mechanism, adjust this.
9542 if test -x /usr
/bin
/objformat
; then
9543 objformat
=`/usr/bin/objformat`
9546 freebsd
[123]*) objformat
=aout
;;
9550 version_type
=freebsd-
$objformat
9551 case $version_type in
9553 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9558 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9562 shlibpath_var
=LD_LIBRARY_PATH
9565 shlibpath_overrides_runpath
=yes
9567 freebsd3.
[01]* | freebsdelf3.
[01]*)
9568 shlibpath_overrides_runpath
=yes
9569 hardcode_into_libs
=yes
9571 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9572 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9573 shlibpath_overrides_runpath
=no
9574 hardcode_into_libs
=yes
9576 *) # from 4.6 on, and DragonFly
9577 shlibpath_overrides_runpath
=yes
9578 hardcode_into_libs
=yes
9587 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9588 soname_spec
='${libname}${release}${shared_ext}$major'
9589 shlibpath_var
=LD_LIBRARY_PATH
9590 hardcode_into_libs
=yes
9593 hpux9
* | hpux10
* | hpux11
*)
9594 # Give a soname corresponding to the major version so that dld.sl refuses to
9595 # link against other versions.
9602 hardcode_into_libs
=yes
9603 dynamic_linker
="$host_os dld.so"
9604 shlibpath_var
=LD_LIBRARY_PATH
9605 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9606 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9607 soname_spec
='${libname}${release}${shared_ext}$major'
9608 if test "X$HPUX_IA64_MODE" = X32
; then
9609 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9611 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9613 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9617 hardcode_into_libs
=yes
9618 dynamic_linker
="$host_os dld.sl"
9619 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9620 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9621 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9622 soname_spec
='${libname}${release}${shared_ext}$major'
9623 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9624 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9628 dynamic_linker
="$host_os dld.sl"
9629 shlibpath_var
=SHLIB_PATH
9630 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9631 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9632 soname_spec
='${libname}${release}${shared_ext}$major'
9635 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9636 postinstall_cmds
='chmod 555 $lib'
9643 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9644 soname_spec
='${libname}${release}${shared_ext}$major'
9645 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9646 shlibpath_var
=LD_LIBRARY_PATH
9647 shlibpath_overrides_runpath
=no
9648 hardcode_into_libs
=yes
9651 irix5
* | irix6
* | nonstopux
*)
9653 nonstopux
*) version_type
=nonstopux
;;
9655 if test "$lt_cv_prog_gnu_ld" = yes; then
9663 soname_spec
='${libname}${release}${shared_ext}$major'
9664 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9666 irix5
* | nonstopux
*)
9670 case $LD in # libtool.m4 will add one of these switches to LD
9671 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9672 libsuff
= shlibsuff
= libmagic
=32-bit;;
9673 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9674 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9675 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9676 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9677 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9681 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9682 shlibpath_overrides_runpath
=no
9683 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9684 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9685 hardcode_into_libs
=yes
9688 # No shared lib support for Linux oldld, aout, or coff.
9689 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9693 # This must be Linux ELF.
9694 linux
* | k
*bsd
*-gnu)
9698 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9699 soname_spec
='${libname}${release}${shared_ext}$major'
9700 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9701 shlibpath_var
=LD_LIBRARY_PATH
9702 shlibpath_overrides_runpath
=no
9703 # This implies no fast_install, which is unacceptable.
9704 # Some rework will be needed to allow for fast_install
9705 # before this can be enabled.
9706 hardcode_into_libs
=yes
9707 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9708 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9710 # Append ld.so.conf contents to the search path
9711 if test -f /etc
/ld.so.conf
; then
9712 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9713 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
9716 # We used to test for /lib/ld.so.1 and disable shared libraries on
9717 # powerpc, because MkLinux only supported shared libraries with the
9718 # GNU dynamic linker. Since this was broken with cross compilers,
9719 # most powerpc-linux boxes support dynamic linking these days and
9720 # people can always --disable-shared, the test was removed, and we
9721 # assume the GNU/Linux dynamic linker is in use.
9722 dynamic_linker
='GNU/Linux ld.so'
9729 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9730 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9731 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9732 dynamic_linker
='NetBSD (a.out) ld.so'
9734 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9735 soname_spec
='${libname}${release}${shared_ext}$major'
9736 dynamic_linker
='NetBSD ld.elf_so'
9738 shlibpath_var
=LD_LIBRARY_PATH
9739 shlibpath_overrides_runpath
=yes
9740 hardcode_into_libs
=yes
9745 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9746 shlibpath_var
=LD_LIBRARY_PATH
9747 shlibpath_overrides_runpath
=yes
9754 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9755 soname_spec
='${libname}${release}${shared_ext}$major'
9756 shlibpath_var
=LD_LIBRARY_PATH
9757 shlibpath_overrides_runpath
=yes
9762 sys_lib_dlsearch_path_spec
="/usr/lib"
9764 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9766 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9767 *) need_version
=no
;;
9769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9770 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9771 shlibpath_var
=LD_LIBRARY_PATH
9772 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9774 openbsd2.
[89] | openbsd2.
[89].
*)
9775 shlibpath_overrides_runpath
=no
9778 shlibpath_overrides_runpath
=yes
9782 shlibpath_overrides_runpath
=yes
9787 libname_spec
='$name'
9790 library_names_spec
='$libname${shared_ext} $libname.a'
9791 dynamic_linker
='OS/2 ld.exe'
9792 shlibpath_var
=LIBPATH
9795 osf3
* | osf4
* | osf5
*)
9799 soname_spec
='${libname}${release}${shared_ext}$major'
9800 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9801 shlibpath_var
=LD_LIBRARY_PATH
9802 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9803 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9814 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9815 soname_spec
='${libname}${release}${shared_ext}$major'
9816 shlibpath_var
=LD_LIBRARY_PATH
9817 shlibpath_overrides_runpath
=yes
9818 hardcode_into_libs
=yes
9819 # ldd complains unless libraries are executable
9820 postinstall_cmds
='chmod +x $lib'
9825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9826 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9827 shlibpath_var
=LD_LIBRARY_PATH
9828 shlibpath_overrides_runpath
=yes
9829 if test "$with_gnu_ld" = yes; then
9837 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9838 soname_spec
='${libname}${release}${shared_ext}$major'
9839 shlibpath_var
=LD_LIBRARY_PATH
9840 case $host_vendor in
9842 shlibpath_overrides_runpath
=no
9844 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9845 runpath_var
=LD_RUN_PATH
9853 shlibpath_overrides_runpath
=no
9854 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9860 if test -d /usr
/nec
;then
9862 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9863 soname_spec
='$libname${shared_ext}.$major'
9864 shlibpath_var
=LD_LIBRARY_PATH
9868 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9869 version_type
=freebsd-elf
9872 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9873 soname_spec
='${libname}${release}${shared_ext}$major'
9874 shlibpath_var
=LD_LIBRARY_PATH
9875 hardcode_into_libs
=yes
9876 if test "$with_gnu_ld" = yes; then
9877 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9878 shlibpath_overrides_runpath
=no
9880 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9881 shlibpath_overrides_runpath
=yes
9884 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9888 sys_lib_dlsearch_path_spec
='/usr/lib'
9893 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9894 soname_spec
='${libname}${release}${shared_ext}$major'
9895 shlibpath_var
=LD_LIBRARY_PATH
9902 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9903 $as_echo "$dynamic_linker" >&6; }
9904 test "$dynamic_linker" = no
&& can_build_shared
=no
9906 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9907 $as_echo_n "(cached) " >&6
9909 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
9912 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9913 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9914 $as_echo_n "(cached) " >&6
9916 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
9919 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9921 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9922 if test "$GCC" = yes; then
9923 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9926 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9927 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9929 if test -n "$hardcode_libdir_flag_spec" || \
9930 test -n "$runpath_var" || \
9931 test "X$hardcode_automatic" = "Xyes" ; then
9933 # We can hardcode non-existant directories.
9934 if test "$hardcode_direct" != no
&&
9935 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9936 # have to relink, otherwise we might link with an installed library
9937 # when we should be linking with a yet-to-be-installed one
9938 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9939 test "$hardcode_minus_L" != no
; then
9940 # Linking always hardcodes the temporary library directory.
9941 hardcode_action
=relink
9943 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9944 hardcode_action
=immediate
9947 # We cannot hardcode anything, or else we can only hardcode existing
9949 hardcode_action
=unsupported
9951 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
9952 $as_echo "$hardcode_action" >&6; }
9954 if test "$hardcode_action" = relink
; then
9955 # Fast installation is not supported
9956 enable_fast_install
=no
9957 elif test "$shlibpath_overrides_runpath" = yes ||
9958 test "$enable_shared" = no
; then
9959 # Fast installation is not necessary
9960 enable_fast_install
=needless
9965 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9966 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
9967 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9968 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9969 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9970 { $as_echo "$as_me:$LINENO: result: yes" >&5
9971 $as_echo "yes" >&6; }
9973 # FIXME - insert some real tests, host_os isn't really good enough
9976 if test -n "$STRIP" ; then
9977 striplib
="$STRIP -x"
9978 old_striplib
="$STRIP -S"
9979 { $as_echo "$as_me:$LINENO: result: yes" >&5
9980 $as_echo "yes" >&6; }
9982 { $as_echo "$as_me:$LINENO: result: no" >&5
9983 $as_echo "no" >&6; }
9987 { $as_echo "$as_me:$LINENO: result: no" >&5
9988 $as_echo "no" >&6; }
9993 if test "x$enable_dlopen" != xyes
; then
9994 enable_dlopen
=unknown
9995 enable_dlopen_self
=unknown
9996 enable_dlopen_self_static
=unknown
10003 lt_cv_dlopen
="load_add_on"
10005 lt_cv_dlopen_self
=yes
10009 lt_cv_dlopen
="LoadLibrary"
10014 lt_cv_dlopen
="dlopen"
10019 # if libdl is installed we need to link against it
10020 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10021 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10022 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10023 $as_echo_n "(cached) " >&6
10025 ac_check_lib_save_LIBS
=$LIBS
10027 cat >conftest.
$ac_ext <<_ACEOF
10030 cat confdefs.h
>>conftest.
$ac_ext
10031 cat >>conftest.
$ac_ext <<_ACEOF
10032 /* end confdefs.h. */
10034 /* Override any GCC internal prototype to avoid an error.
10035 Use char because int might match the return type of a GCC
10036 builtin and then its argument prototype would still apply. */
10049 rm -f conftest.
$ac_objext conftest
$ac_exeext
10050 if { (ac_try
="$ac_link"
10051 case "(($ac_try" in
10052 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10053 *) ac_try_echo=$ac_try;;
10055 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10056 $as_echo "$ac_try_echo") >&5
10057 (eval "$ac_link") 2>conftest.er1
10059 grep -v '^ *+' conftest.er1 >conftest.err
10061 cat conftest.err >&5
10062 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10063 (exit $ac_status); } && {
10064 test -z "$ac_c_werror_flag" ||
10065 test ! -s conftest.err
10066 } && test -s conftest$ac_exeext && {
10067 test "$cross_compiling" = yes ||
10068 $as_test_x conftest$ac_exeext
10070 ac_cv_lib_dl_dlopen=yes
10072 $as_echo "$as_me: failed program was:" >&5
10073 sed 's/^/| /' conftest.$ac_ext >&5
10075 ac_cv_lib_dl_dlopen=no
10078 rm -rf conftest.dSYM
10079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10080 conftest$ac_exeext conftest.$ac_ext
10081 LIBS=$ac_check_lib_save_LIBS
10083 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10084 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10085 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10086 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10089 lt_cv_dlopen="dyld"
10091 lt_cv_dlopen_self=yes
10098 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10099 $as_echo_n "checking for shl_load... " >&6; }
10100 if test "${ac_cv_func_shl_load+set}" = set; then
10101 $as_echo_n "(cached) " >&6
10103 cat >conftest.$ac_ext <<_ACEOF
10106 cat confdefs.h >>conftest.$ac_ext
10107 cat >>conftest.$ac_ext <<_ACEOF
10108 /* end confdefs.h. */
10109 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10111 #define shl_load innocuous_shl_load
10113 /* System header to define __stub macros and hopefully few prototypes,
10114 which can conflict with char shl_load (); below.
10115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10116 <limits.h> exists even on freestanding compilers. */
10119 # include <limits.h>
10121 # include <assert.h>
10126 /* Override any GCC internal prototype to avoid an error.
10127 Use char because int might match the return type of a GCC
10128 builtin and then its argument prototype would still apply. */
10133 /* The GNU C library defines this for functions which it implements
10134 to always fail with ENOSYS. Some functions are actually named
10135 something starting with __ and the normal name is an alias. */
10136 #if defined __stub_shl_load || defined __stub___shl_load
10143 return shl_load ();
10148 rm -f conftest.$ac_objext conftest$ac_exeext
10149 if { (ac_try="$ac_link"
10150 case "(($ac_try" in
10151 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10152 *) ac_try_echo
=$ac_try;;
10154 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10155 $as_echo "$ac_try_echo") >&5
10156 (eval "$ac_link") 2>conftest.er1
10158 grep -v '^ *+' conftest.er1
>conftest.err
10160 cat conftest.err
>&5
10161 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10162 (exit $ac_status); } && {
10163 test -z "$ac_c_werror_flag" ||
10164 test ! -s conftest.err
10165 } && test -s conftest
$ac_exeext && {
10166 test "$cross_compiling" = yes ||
10167 $as_test_x conftest
$ac_exeext
10169 ac_cv_func_shl_load
=yes
10171 $as_echo "$as_me: failed program was:" >&5
10172 sed 's/^/| /' conftest.
$ac_ext >&5
10174 ac_cv_func_shl_load
=no
10177 rm -rf conftest.dSYM
10178 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10179 conftest
$ac_exeext conftest.
$ac_ext
10181 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10182 $as_echo "$ac_cv_func_shl_load" >&6; }
10183 if test "x$ac_cv_func_shl_load" = x
""yes; then
10184 lt_cv_dlopen
="shl_load"
10186 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10187 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10188 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10189 $as_echo_n "(cached) " >&6
10191 ac_check_lib_save_LIBS
=$LIBS
10193 cat >conftest.
$ac_ext <<_ACEOF
10196 cat confdefs.h
>>conftest.
$ac_ext
10197 cat >>conftest.
$ac_ext <<_ACEOF
10198 /* end confdefs.h. */
10200 /* Override any GCC internal prototype to avoid an error.
10201 Use char because int might match the return type of a GCC
10202 builtin and then its argument prototype would still apply. */
10210 return shl_load ();
10215 rm -f conftest.
$ac_objext conftest
$ac_exeext
10216 if { (ac_try
="$ac_link"
10217 case "(($ac_try" in
10218 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10219 *) ac_try_echo=$ac_try;;
10221 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10222 $as_echo "$ac_try_echo") >&5
10223 (eval "$ac_link") 2>conftest.er1
10225 grep -v '^ *+' conftest.er1 >conftest.err
10227 cat conftest.err >&5
10228 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10229 (exit $ac_status); } && {
10230 test -z "$ac_c_werror_flag" ||
10231 test ! -s conftest.err
10232 } && test -s conftest$ac_exeext && {
10233 test "$cross_compiling" = yes ||
10234 $as_test_x conftest$ac_exeext
10236 ac_cv_lib_dld_shl_load=yes
10238 $as_echo "$as_me: failed program was:" >&5
10239 sed 's/^/| /' conftest.$ac_ext >&5
10241 ac_cv_lib_dld_shl_load=no
10244 rm -rf conftest.dSYM
10245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10246 conftest$ac_exeext conftest.$ac_ext
10247 LIBS=$ac_check_lib_save_LIBS
10249 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10250 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10251 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10252 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10254 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10255 $as_echo_n "checking for dlopen... " >&6; }
10256 if test "${ac_cv_func_dlopen+set}" = set; then
10257 $as_echo_n "(cached) " >&6
10259 cat >conftest.$ac_ext <<_ACEOF
10262 cat confdefs.h >>conftest.$ac_ext
10263 cat >>conftest.$ac_ext <<_ACEOF
10264 /* end confdefs.h. */
10265 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10267 #define dlopen innocuous_dlopen
10269 /* System header to define __stub macros and hopefully few prototypes,
10270 which can conflict with char dlopen (); below.
10271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10272 <limits.h> exists even on freestanding compilers. */
10275 # include <limits.h>
10277 # include <assert.h>
10282 /* Override any GCC internal prototype to avoid an error.
10283 Use char because int might match the return type of a GCC
10284 builtin and then its argument prototype would still apply. */
10289 /* The GNU C library defines this for functions which it implements
10290 to always fail with ENOSYS. Some functions are actually named
10291 something starting with __ and the normal name is an alias. */
10292 #if defined __stub_dlopen || defined __stub___dlopen
10304 rm -f conftest.$ac_objext conftest$ac_exeext
10305 if { (ac_try="$ac_link"
10306 case "(($ac_try" in
10307 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10308 *) ac_try_echo
=$ac_try;;
10310 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10311 $as_echo "$ac_try_echo") >&5
10312 (eval "$ac_link") 2>conftest.er1
10314 grep -v '^ *+' conftest.er1
>conftest.err
10316 cat conftest.err
>&5
10317 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10318 (exit $ac_status); } && {
10319 test -z "$ac_c_werror_flag" ||
10320 test ! -s conftest.err
10321 } && test -s conftest
$ac_exeext && {
10322 test "$cross_compiling" = yes ||
10323 $as_test_x conftest
$ac_exeext
10325 ac_cv_func_dlopen
=yes
10327 $as_echo "$as_me: failed program was:" >&5
10328 sed 's/^/| /' conftest.
$ac_ext >&5
10330 ac_cv_func_dlopen
=no
10333 rm -rf conftest.dSYM
10334 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10335 conftest
$ac_exeext conftest.
$ac_ext
10337 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10338 $as_echo "$ac_cv_func_dlopen" >&6; }
10339 if test "x$ac_cv_func_dlopen" = x
""yes; then
10340 lt_cv_dlopen
="dlopen"
10342 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10343 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10344 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10345 $as_echo_n "(cached) " >&6
10347 ac_check_lib_save_LIBS
=$LIBS
10349 cat >conftest.
$ac_ext <<_ACEOF
10352 cat confdefs.h
>>conftest.
$ac_ext
10353 cat >>conftest.
$ac_ext <<_ACEOF
10354 /* end confdefs.h. */
10356 /* Override any GCC internal prototype to avoid an error.
10357 Use char because int might match the return type of a GCC
10358 builtin and then its argument prototype would still apply. */
10371 rm -f conftest.
$ac_objext conftest
$ac_exeext
10372 if { (ac_try
="$ac_link"
10373 case "(($ac_try" in
10374 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10375 *) ac_try_echo=$ac_try;;
10377 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10378 $as_echo "$ac_try_echo") >&5
10379 (eval "$ac_link") 2>conftest.er1
10381 grep -v '^ *+' conftest.er1 >conftest.err
10383 cat conftest.err >&5
10384 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10385 (exit $ac_status); } && {
10386 test -z "$ac_c_werror_flag" ||
10387 test ! -s conftest.err
10388 } && test -s conftest$ac_exeext && {
10389 test "$cross_compiling" = yes ||
10390 $as_test_x conftest$ac_exeext
10392 ac_cv_lib_dl_dlopen=yes
10394 $as_echo "$as_me: failed program was:" >&5
10395 sed 's/^/| /' conftest.$ac_ext >&5
10397 ac_cv_lib_dl_dlopen=no
10400 rm -rf conftest.dSYM
10401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10402 conftest$ac_exeext conftest.$ac_ext
10403 LIBS=$ac_check_lib_save_LIBS
10405 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10406 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10407 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10408 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10410 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10411 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10412 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10413 $as_echo_n "(cached) " >&6
10415 ac_check_lib_save_LIBS=$LIBS
10416 LIBS="-lsvld $LIBS"
10417 cat >conftest.$ac_ext <<_ACEOF
10420 cat confdefs.h >>conftest.$ac_ext
10421 cat >>conftest.$ac_ext <<_ACEOF
10422 /* end confdefs.h. */
10424 /* Override any GCC internal prototype to avoid an error.
10425 Use char because int might match the return type of a GCC
10426 builtin and then its argument prototype would still apply. */
10439 rm -f conftest.$ac_objext conftest$ac_exeext
10440 if { (ac_try="$ac_link"
10441 case "(($ac_try" in
10442 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10443 *) ac_try_echo
=$ac_try;;
10445 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10446 $as_echo "$ac_try_echo") >&5
10447 (eval "$ac_link") 2>conftest.er1
10449 grep -v '^ *+' conftest.er1
>conftest.err
10451 cat conftest.err
>&5
10452 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10453 (exit $ac_status); } && {
10454 test -z "$ac_c_werror_flag" ||
10455 test ! -s conftest.err
10456 } && test -s conftest
$ac_exeext && {
10457 test "$cross_compiling" = yes ||
10458 $as_test_x conftest
$ac_exeext
10460 ac_cv_lib_svld_dlopen
=yes
10462 $as_echo "$as_me: failed program was:" >&5
10463 sed 's/^/| /' conftest.
$ac_ext >&5
10465 ac_cv_lib_svld_dlopen
=no
10468 rm -rf conftest.dSYM
10469 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10470 conftest
$ac_exeext conftest.
$ac_ext
10471 LIBS
=$ac_check_lib_save_LIBS
10473 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10474 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10475 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then
10476 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10478 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10479 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10480 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10481 $as_echo_n "(cached) " >&6
10483 ac_check_lib_save_LIBS
=$LIBS
10485 cat >conftest.
$ac_ext <<_ACEOF
10488 cat confdefs.h
>>conftest.
$ac_ext
10489 cat >>conftest.
$ac_ext <<_ACEOF
10490 /* end confdefs.h. */
10492 /* Override any GCC internal prototype to avoid an error.
10493 Use char because int might match the return type of a GCC
10494 builtin and then its argument prototype would still apply. */
10502 return dld_link ();
10507 rm -f conftest.
$ac_objext conftest
$ac_exeext
10508 if { (ac_try
="$ac_link"
10509 case "(($ac_try" in
10510 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10511 *) ac_try_echo=$ac_try;;
10513 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10514 $as_echo "$ac_try_echo") >&5
10515 (eval "$ac_link") 2>conftest.er1
10517 grep -v '^ *+' conftest.er1 >conftest.err
10519 cat conftest.err >&5
10520 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10521 (exit $ac_status); } && {
10522 test -z "$ac_c_werror_flag" ||
10523 test ! -s conftest.err
10524 } && test -s conftest$ac_exeext && {
10525 test "$cross_compiling" = yes ||
10526 $as_test_x conftest$ac_exeext
10528 ac_cv_lib_dld_dld_link=yes
10530 $as_echo "$as_me: failed program was:" >&5
10531 sed 's/^/| /' conftest.$ac_ext >&5
10533 ac_cv_lib_dld_dld_link=no
10536 rm -rf conftest.dSYM
10537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10538 conftest$ac_exeext conftest.$ac_ext
10539 LIBS=$ac_check_lib_save_LIBS
10541 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10542 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10543 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
10544 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10565 if test "x$lt_cv_dlopen" != xno; then
10571 case $lt_cv_dlopen in
10573 save_CPPFLAGS="$CPPFLAGS"
10574 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10576 save_LDFLAGS="$LDFLAGS"
10577 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10580 LIBS="$lt_cv_dlopen_libs $LIBS"
10582 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10583 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10584 if test "${lt_cv_dlopen_self+set}" = set; then
10585 $as_echo_n "(cached) " >&6
10587 if test "$cross_compiling" = yes; then :
10588 lt_cv_dlopen_self=cross
10590 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10591 lt_status=$lt_dlunknown
10592 cat > conftest.$ac_ext <<EOF
10593 #line 10593 "configure"
10594 #include "confdefs.h"
10603 # define LT_DLGLOBAL RTLD_GLOBAL
10606 # define LT_DLGLOBAL DL_GLOBAL
10608 # define LT_DLGLOBAL 0
10612 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10613 find out it does not work in some platform. */
10614 #ifndef LT_DLLAZY_OR_NOW
10616 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10619 # define LT_DLLAZY_OR_NOW DL_LAZY
10622 # define LT_DLLAZY_OR_NOW RTLD_NOW
10625 # define LT_DLLAZY_OR_NOW DL_NOW
10627 # define LT_DLLAZY_OR_NOW 0
10635 extern "C" void exit (int);
10638 void fnord() { int i=42;}
10641 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10642 int status = $lt_dlunknown;
10646 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10647 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10648 /* dlclose (self); */
10656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10657 (eval $ac_link) 2>&5
10659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10660 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10661 (./conftest; exit; ) >&5 2>/dev/null
10663 case x$lt_status in
10664 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10665 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10666 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10669 # compilation failed
10670 lt_cv_dlopen_self=no
10677 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10678 $as_echo "$lt_cv_dlopen_self" >&6; }
10680 if test "x$lt_cv_dlopen_self" = xyes; then
10681 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10682 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10683 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10684 if test "${lt_cv_dlopen_self_static+set}" = set; then
10685 $as_echo_n "(cached) " >&6
10687 if test "$cross_compiling" = yes; then :
10688 lt_cv_dlopen_self_static=cross
10690 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10691 lt_status=$lt_dlunknown
10692 cat > conftest.$ac_ext <<EOF
10693 #line 10693 "configure"
10694 #include "confdefs.h"
10703 # define LT_DLGLOBAL RTLD_GLOBAL
10706 # define LT_DLGLOBAL DL_GLOBAL
10708 # define LT_DLGLOBAL 0
10712 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10713 find out it does not work in some platform. */
10714 #ifndef LT_DLLAZY_OR_NOW
10716 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10719 # define LT_DLLAZY_OR_NOW DL_LAZY
10722 # define LT_DLLAZY_OR_NOW RTLD_NOW
10725 # define LT_DLLAZY_OR_NOW DL_NOW
10727 # define LT_DLLAZY_OR_NOW 0
10735 extern "C" void exit (int);
10738 void fnord() { int i=42;}
10741 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10742 int status = $lt_dlunknown;
10746 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10747 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10748 /* dlclose (self); */
10756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10757 (eval $ac_link) 2>&5
10759 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10760 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10761 (./conftest; exit; ) >&5 2>/dev/null
10763 case x$lt_status in
10764 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10765 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10766 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10769 # compilation failed
10770 lt_cv_dlopen_self_static=no
10777 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10778 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10781 CPPFLAGS="$save_CPPFLAGS"
10782 LDFLAGS="$save_LDFLAGS"
10787 case $lt_cv_dlopen_self in
10788 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10789 *) enable_dlopen_self=unknown ;;
10792 case $lt_cv_dlopen_self_static in
10793 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10794 *) enable_dlopen_self_static=unknown ;;
10799 # Report which library types will actually be built
10800 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10801 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10802 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
10803 $as_echo "$can_build_shared" >&6; }
10805 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10806 $as_echo_n "checking whether to build shared libraries... " >&6; }
10807 test "$can_build_shared" = "no" && enable_shared=no
10809 # On AIX, shared libraries and static libraries use the same namespace, and
10810 # are all built from PIC.
10813 test "$enable_shared" = yes && enable_static=no
10814 if test -n "$RANLIB"; then
10815 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10816 postinstall_cmds='$RANLIB $lib'
10821 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10822 test "$enable_shared" = yes && enable_static=no
10826 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
10827 $as_echo "$enable_shared" >&6; }
10829 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10830 $as_echo_n "checking whether to build static libraries... " >&6; }
10831 # Make sure either enable_shared or enable_static is yes.
10832 test "$enable_shared" = yes || enable_static=yes
10833 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
10834 $as_echo "$enable_static" >&6; }
10836 # The else clause should only fire when bootstrapping the
10837 # libtool distribution, otherwise you forgot to ship ltmain.sh
10838 # with your package, and you will get complaints that there are
10839 # no rules to generate ltmain.sh.
10840 if test -f "$ltmain"; then
10841 # See if we are running on zsh, and set the options which allow our commands through
10842 # without removal of \ escapes.
10843 if test -n "${ZSH_VERSION+set}" ; then
10844 setopt NO_GLOB_SUBST
10846 # Now quote all the things that may contain metacharacters while being
10847 # careful not to overquote the AC_SUBSTed values. We take copies of the
10848 # variables and quote the copies for generation of the libtool script.
10849 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10851 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10852 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10853 deplibs_check_method reload_flag reload_cmds need_locks \
10854 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10855 lt_cv_sys_global_symbol_to_c_name_address \
10856 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10857 old_postinstall_cmds old_postuninstall_cmds \
10861 lt_prog_compiler_wl \
10862 lt_prog_compiler_pic \
10863 lt_prog_compiler_static \
10864 lt_prog_compiler_no_builtin_flag \
10865 export_dynamic_flag_spec \
10866 thread_safe_flag_spec \
10867 whole_archive_flag_spec \
10868 enable_shared_with_static_runtimes \
10870 old_archive_from_new_cmds \
10875 compiler_lib_search_path \
10876 compiler_lib_search_dirs \
10878 archive_expsym_cmds \
10880 postuninstall_cmds \
10881 old_archive_from_expsyms_cmds \
10882 allow_undefined_flag \
10883 no_undefined_flag \
10884 export_symbols_cmds \
10885 hardcode_libdir_flag_spec \
10886 hardcode_libdir_flag_spec_ld \
10887 hardcode_libdir_separator \
10888 hardcode_automatic \
10890 module_expsym_cmds \
10891 lt_cv_prog_compiler_c_o \
10894 include_expsyms; do
10897 old_archive_cmds | \
10898 old_archive_from_new_cmds | \
10900 archive_expsym_cmds | \
10902 module_expsym_cmds | \
10903 old_archive_from_expsyms_cmds | \
10904 export_symbols_cmds | \
10905 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10906 postinstall_cmds | postuninstall_cmds | \
10907 old_postinstall_cmds | old_postuninstall_cmds | \
10908 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10909 # Double-quote double-evaled strings.
10910 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10913 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10919 *'\$0 --fallback-echo"')
10920 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10924 cfgfile="${ofile}T"
10925 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10927 { $as_echo "$as_me:$LINENO: creating $ofile" >&5
10928 $as_echo "$as_me: creating $ofile" >&6;}
10930 cat <<__EOF__ >> "$cfgfile"
10933 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10934 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10935 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10937 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
10938 # Free Software Foundation, Inc.
10940 # This file is part of GNU Libtool:
10941 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10943 # This program is free software; you can redistribute it and/or modify
10944 # it under the terms of the GNU General Public License as published by
10945 # the Free Software Foundation; either version 2 of the License, or
10946 # (at your option) any later version.
10948 # This program is distributed in the hope that it will be useful, but
10949 # WITHOUT ANY WARRANTY; without even the implied warranty of
10950 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10951 # General Public License for more details.
10953 # You should have received a copy of the GNU General Public License
10954 # along with this program; if not, write to the Free Software
10955 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10957 # As a special exception to the GNU General Public License, if you
10958 # distribute this file as part of a program that contains a
10959 # configuration script generated by Autoconf, you may include it under
10960 # the same distribution terms that you use for the rest of that program.
10962 # A sed program that does not truncate output.
10965 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10966 Xsed="$SED -e 1s/^X//"
10968 # The HP-UX ksh and POSIX shell print the target directory to stdout
10969 # if CDPATH is set.
10970 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10972 # The names of the tagged configurations supported by this script.
10975 # ### BEGIN LIBTOOL CONFIG
10977 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10979 # Shell to use when invoking shell scripts.
10982 # Whether or not to build shared libraries.
10983 build_libtool_libs=$enable_shared
10985 # Whether or not to build static libraries.
10986 build_old_libs=$enable_static
10988 # Whether or not to add -lc for building shared libraries.
10989 build_libtool_need_lc=$archive_cmds_need_lc
10991 # Whether or not to disallow shared libs when runtime libs are static
10992 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10994 # Whether or not to optimize for fast installation.
10995 fast_install=$enable_fast_install
10998 host_alias=$host_alias
11002 # The build system.
11003 build_alias=$build_alias
11007 # An echo program that does not interpret backslashes.
11012 AR_FLAGS=$lt_AR_FLAGS
11017 # LTCC compiler flags.
11018 LTCFLAGS=$lt_LTCFLAGS
11020 # A language-specific compiler.
11023 # Is the compiler the GNU C compiler?
11029 # The linker used to build libraries.
11032 # Whether we need hard or soft links.
11035 # A BSD-compatible nm program.
11038 # A symbol stripping program
11041 # Used to examine libraries when file_magic_cmd begins "file"
11042 MAGIC_CMD=$MAGIC_CMD
11044 # Used on cygwin: DLL creation program.
11047 # Used on cygwin: object dumper.
11050 # Used on cygwin: assembler.
11053 # The name of the directory that contains temporary libtool files.
11056 # How to create reloadable object files.
11057 reload_flag=$lt_reload_flag
11058 reload_cmds=$lt_reload_cmds
11060 # How to pass a linker flag through the compiler.
11061 wl=$lt_lt_prog_compiler_wl
11063 # Object file suffix (normally "o").
11064 objext="$ac_objext"
11066 # Old archive suffix (normally "a").
11069 # Shared library suffix (normally ".so").
11070 shrext_cmds='$shrext_cmds'
11072 # Executable file suffix (normally "").
11075 # Additional compiler flags for building library objects.
11076 pic_flag=$lt_lt_prog_compiler_pic
11079 # What is the maximum length of a command?
11080 max_cmd_len=$lt_cv_sys_max_cmd_len
11082 # Does compiler simultaneously support -c and -o options?
11083 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11085 # Must we lock files when doing compilation?
11086 need_locks=$lt_need_locks
11088 # Do we need the lib prefix for modules?
11089 need_lib_prefix=$need_lib_prefix
11091 # Do we need a version for libraries?
11092 need_version=$need_version
11094 # Whether dlopen is supported.
11095 dlopen_support=$enable_dlopen
11097 # Whether dlopen of programs is supported.
11098 dlopen_self=$enable_dlopen_self
11100 # Whether dlopen of statically linked programs is supported.
11101 dlopen_self_static=$enable_dlopen_self_static
11103 # Compiler flag to prevent dynamic linking.
11104 link_static_flag=$lt_lt_prog_compiler_static
11106 # Compiler flag to turn off builtin functions.
11107 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11109 # Compiler flag to allow reflexive dlopens.
11110 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11112 # Compiler flag to generate shared objects directly from archives.
11113 whole_archive_flag_spec=$lt_whole_archive_flag_spec
11115 # Compiler flag to generate thread-safe objects.
11116 thread_safe_flag_spec=$lt_thread_safe_flag_spec
11118 # Library versioning type.
11119 version_type=$version_type
11121 # Format of library name prefix.
11122 libname_spec=$lt_libname_spec
11124 # List of archive names. First name is the real one, the rest are links.
11125 # The last name is the one that the linker finds with -lNAME.
11126 library_names_spec=$lt_library_names_spec
11128 # The coded name of the library, if different from the real name.
11129 soname_spec=$lt_soname_spec
11131 # Commands used to build and install an old-style archive.
11133 old_archive_cmds=$lt_old_archive_cmds
11134 old_postinstall_cmds=$lt_old_postinstall_cmds
11135 old_postuninstall_cmds=$lt_old_postuninstall_cmds
11137 # Create an old-style archive from a shared archive.
11138 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11140 # Create a temporary old-style archive to link instead of a shared archive.
11141 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11143 # Commands used to build and install a shared archive.
11144 archive_cmds=$lt_archive_cmds
11145 archive_expsym_cmds=$lt_archive_expsym_cmds
11146 postinstall_cmds=$lt_postinstall_cmds
11147 postuninstall_cmds=$lt_postuninstall_cmds
11149 # Commands used to build a loadable module (assumed same as above if empty)
11150 module_cmds=$lt_module_cmds
11151 module_expsym_cmds=$lt_module_expsym_cmds
11153 # Commands to strip libraries.
11154 old_striplib=$lt_old_striplib
11155 striplib=$lt_striplib
11157 # Dependencies to place before the objects being linked to create a
11159 predep_objects=$lt_predep_objects
11161 # Dependencies to place after the objects being linked to create a
11163 postdep_objects=$lt_postdep_objects
11165 # Dependencies to place before the objects being linked to create a
11167 predeps=$lt_predeps
11169 # Dependencies to place after the objects being linked to create a
11171 postdeps=$lt_postdeps
11173 # The directories searched by this compiler when creating a shared
11175 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
11177 # The library search path used internally by the compiler when linking
11178 # a shared library.
11179 compiler_lib_search_path=$lt_compiler_lib_search_path
11181 # Method to check whether dependent libraries are shared objects.
11182 deplibs_check_method=$lt_deplibs_check_method
11184 # Command to use when deplibs_check_method == file_magic.
11185 file_magic_cmd=$lt_file_magic_cmd
11187 # Flag that allows shared libraries with undefined symbols to be built.
11188 allow_undefined_flag=$lt_allow_undefined_flag
11190 # Flag that forces no undefined symbols.
11191 no_undefined_flag=$lt_no_undefined_flag
11193 # Commands used to finish a libtool library installation in a directory.
11194 finish_cmds=$lt_finish_cmds
11196 # Same as above, but a single script fragment to be evaled but not shown.
11197 finish_eval=$lt_finish_eval
11199 # Take the output of nm and produce a listing of raw symbols and C names.
11200 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11202 # Transform the output of nm in a proper C declaration
11203 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11205 # Transform the output of nm in a C name address pair
11206 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11208 # This is the shared library runtime path variable.
11209 runpath_var=$runpath_var
11211 # This is the shared library path variable.
11212 shlibpath_var=$shlibpath_var
11214 # Is shlibpath searched before the hard-coded library search path?
11215 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11217 # How to hardcode a shared library path into an executable.
11218 hardcode_action=$hardcode_action
11220 # Whether we should hardcode library paths into libraries.
11221 hardcode_into_libs=$hardcode_into_libs
11223 # Flag to hardcode \$libdir into a binary during linking.
11224 # This must work even if \$libdir does not exist.
11225 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11227 # If ld is used when linking, flag to hardcode \$libdir into
11228 # a binary during linking. This must work even if \$libdir does
11230 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11232 # Whether we need a single -rpath flag with a separated argument.
11233 hardcode_libdir_separator=$lt_hardcode_libdir_separator
11235 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11236 # resulting binary.
11237 hardcode_direct=$hardcode_direct
11239 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11240 # resulting binary.
11241 hardcode_minus_L=$hardcode_minus_L
11243 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11244 # the resulting binary.
11245 hardcode_shlibpath_var=$hardcode_shlibpath_var
11247 # Set to yes if building a shared library automatically hardcodes DIR into the library
11248 # and all subsequent libraries and executables linked against it.
11249 hardcode_automatic=$hardcode_automatic
11251 # Variables whose values should be saved in libtool wrapper scripts and
11252 # restored at relink time.
11253 variables_saved_for_relink="$variables_saved_for_relink"
11255 # Whether libtool must link a program against all its dependency libraries.
11256 link_all_deplibs=$link_all_deplibs
11258 # Compile-time system search path for libraries
11259 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11261 # Run-time system search path for libraries
11262 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11264 # Fix the shell variable \$srcfile for the compiler.
11265 fix_srcfile_path=$lt_fix_srcfile_path
11267 # Set to yes if exported symbols are required.
11268 always_export_symbols=$always_export_symbols
11270 # The commands to list exported symbols.
11271 export_symbols_cmds=$lt_export_symbols_cmds
11273 # The commands to extract the exported symbol list from a shared archive.
11274 extract_expsyms_cmds=$lt_extract_expsyms_cmds
11276 # Symbols that should not be listed in the preloaded symbols.
11277 exclude_expsyms=$lt_exclude_expsyms
11279 # Symbols that must always be exported.
11280 include_expsyms=$lt_include_expsyms
11282 # ### END LIBTOOL CONFIG
11289 cat <<\EOF >> "$cfgfile"
11291 # AIX sometimes has problems with the GCC collect2 program. For some
11292 # reason, if we set the COLLECT_NAMES environment variable, the problems
11293 # vanish in a puff of smoke.
11294 if test "X${COLLECT_NAMES+set}" != Xset; then
11296 export COLLECT_NAMES
11302 # We use sed instead of cat because bash on DJGPP gets confused if
11303 # if finds mixed CR/LF and LF-only lines. Since sed operates in
11304 # text mode, it properly converts lines to CR/LF. This bash problem
11305 # is reportedly fixed, but why not run on old versions too?
11306 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11308 mv -f "$cfgfile" "$ofile" || \
11309 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11313 # If there is no Makefile yet, we rely on a make rule to execute
11314 # `config.status
--recheck' to rerun these tests and create the
11315 # libtool script then.
11316 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
11317 if test -f "$ltmain_in"; then
11318 test -f Makefile && make "$ltmain"
11324 ac_cpp='$CPP $CPPFLAGS'
11325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
11326 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
11327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11332 # Check whether --with-tags was given.
11333 if test "${with_tags+set}" = set; then
11334 withval=$with_tags; tagnames="$withval"
11338 if test -f "$ltmain" && test -n "$tagnames"; then
11339 if test ! -f "${ofile}"; then
11340 { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
11341 $as_echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
11344 if test -z "$LTCC"; then
11345 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
11346 if test -z "$LTCC"; then
11347 { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11348 $as_echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
11350 { $as_echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
11351 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
11354 if test -z "$LTCFLAGS"; then
11355 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
11358 # Extract list of available tagged configurations in $ofile.
11359 # Note that this assumes the entire list is on one line.
11360 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11362 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11363 for tagname in $tagnames; do
11365 # Check whether tagname contains only valid characters
11366 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11368 *) { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11369 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
11370 { (exit 1); exit 1; }; }
11374 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11376 { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11377 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11378 { (exit 1); exit 1; }; }
11381 # Update the list of available tags.
11382 if test -n "$tagname"; then
11383 echo appending configuration tag \"$tagname\" to $ofile
11387 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11388 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
11389 (test "X$CXX" != "Xg++"))) ; then
11391 ac_cpp='$CXXCPP $CPPFLAGS'
11392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11399 archive_cmds_need_lc_CXX=no
11400 allow_undefined_flag_CXX=
11401 always_export_symbols_CXX=no
11402 archive_expsym_cmds_CXX=
11403 export_dynamic_flag_spec_CXX=
11404 hardcode_direct_CXX=no
11405 hardcode_libdir_flag_spec_CXX=
11406 hardcode_libdir_flag_spec_ld_CXX=
11407 hardcode_libdir_separator_CXX=
11408 hardcode_minus_L_CXX=no
11409 hardcode_shlibpath_var_CXX=unsupported
11410 hardcode_automatic_CXX=no
11412 module_expsym_cmds_CXX=
11413 link_all_deplibs_CXX=unknown
11414 old_archive_cmds_CXX=$old_archive_cmds
11415 no_undefined_flag_CXX=
11416 whole_archive_flag_spec_CXX=
11417 enable_shared_with_static_runtimes_CXX=no
11419 # Dependencies to place before and after the object being linked:
11420 predep_objects_CXX=
11421 postdep_objects_CXX=
11424 compiler_lib_search_path_CXX=
11425 compiler_lib_search_dirs_CXX=
11427 # Source file extension for C++ test sources.
11430 # Object file extension for compiled C++ test sources.
11434 # Code to be used in simple compile tests
11435 lt_simple_compile_test_code="int some_variable = 0;"
11437 # Code to be used in simple link tests
11438 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11440 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11442 # If no C compiler was specified, use CC.
11445 # If no C compiler flags were specified, use CFLAGS.
11446 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11448 # Allow CC to be a program name with arguments.
11452 # save warnings/boilerplate of simple test code
11453 ac_outfile=conftest.$ac_objext
11454 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11455 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11456 _lt_compiler_boilerplate=`cat conftest.err
`
11459 ac_outfile=conftest.$ac_objext
11460 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11461 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11462 _lt_linker_boilerplate=`cat conftest.err
`
11466 # Allow CC to be a program name with arguments.
11471 lt_save_with_gnu_ld=$with_gnu_ld
11472 lt_save_path_LD=$lt_cv_path_LD
11473 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11474 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11476 $as_unset lt_cv_prog_gnu_ld
11478 if test -n "${lt_cv_path_LDCXX+set}"; then
11479 lt_cv_path_LD=$lt_cv_path_LDCXX
11481 $as_unset lt_cv_path_LD
11483 test -z "${LDCXX+set}" || LD=$LDCXX
11487 for cc_temp in $compiler""; do
11489 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11490 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11495 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11498 # We don't want -fno-exception wen compiling C++ code, so set the
11499 # no_builtin_flag separately
11500 if test "$GXX" = yes; then
11501 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11503 lt_prog_compiler_no_builtin_flag_CXX=
11506 if test "$GXX" = yes; then
11507 # Set up default GNU C++ configuration
11510 # Check whether --with-gnu-ld was given.
11511 if test "${with_gnu_ld+set}" = set; then
11512 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11518 if test "$GCC" = yes; then
11519 # Check if gcc -print-prog-name=ld gives a path.
11520 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11521 $as_echo_n "checking for ld used by $CC... " >&6; }
11524 # gcc leaves a trailing carriage return which upsets mingw
11525 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
11527 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
11530 # Accept absolute paths.
11532 re_direlt='/[^/][^/]*/\.\./'
11533 # Canonicalize the pathname of ld
11534 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
11535 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11536 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
11538 test -z "$LD" && LD="$ac_prog"
11541 # If it fails, then pretend we aren't using GCC.
11545 # If it is relative, then search for the first ld in PATH.
11546 with_gnu_ld=unknown
11549 elif test "$with_gnu_ld" = yes; then
11550 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
11551 $as_echo_n "checking for GNU ld... " >&6; }
11553 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11554 $as_echo_n "checking for non-GNU ld... " >&6; }
11556 if test "${lt_cv_path_LD+set}" = set; then
11557 $as_echo_n "(cached) " >&6
11559 if test -z "$LD"; then
11560 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11561 for ac_dir in $PATH; do
11563 test -z "$ac_dir" && ac_dir=.
11564 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11565 lt_cv_path_LD="$ac_dir/$ac_prog"
11566 # Check to see if the program is GNU ld. I'd rather use --version,
11567 # but apparently some variants of GNU ld only accept -v.
11568 # Break only if it was the GNU/non-GNU ld that we prefer.
11569 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
11570 *GNU* | *'with BFD'*)
11571 test "$with_gnu_ld" != no && break
11574 test "$with_gnu_ld" != yes && break
11581 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11585 LD="$lt_cv_path_LD"
11586 if test -n "$LD"; then
11587 { $as_echo "$as_me:$LINENO: result: $LD" >&5
11588 $as_echo "$LD" >&6; }
11590 { $as_echo "$as_me:$LINENO: result: no" >&5
11591 $as_echo "no" >&6; }
11593 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11594 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11595 { (exit 1); exit 1; }; }
11596 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11597 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11598 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11599 $as_echo_n "(cached) " >&6
11601 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11602 case `$LD -v 2>&1 </dev
/null
` in
11603 *GNU* | *'with BFD'*)
11604 lt_cv_prog_gnu_ld=yes
11607 lt_cv_prog_gnu_ld=no
11611 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11612 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11613 with_gnu_ld=$lt_cv_prog_gnu_ld
11617 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11618 # archiving commands below assume that GNU ld is being used.
11619 if test "$with_gnu_ld" = yes; then
11620 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11621 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'
11623 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11624 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11626 # If archive_cmds runs LD, not CC, wlarc should be empty
11627 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11628 # investigate it a little bit more. (MM)
11631 # ancient GNU ld didn't support --whole-archive et. al.
11632 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
11633 grep 'no-whole-archive' > /dev/null; then
11634 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11636 whole_archive_flag_spec_CXX=
11642 # A generic and very simple default shared library creation
11643 # command for GNU C++ for the case where it uses the native
11644 # linker, instead of GNU ld. If possible, this setting should
11645 # overridden to take advantage of the native linker features on
11646 # the platform it is being used on.
11647 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11650 # Commands to make compiler produce verbose output that lists
11651 # what "hidden" libraries, object files and flags are used when
11652 # linking a shared library.
11653 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11661 # PORTME: fill in a description of your system's C++ link characteristics
11662 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11663 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11667 # FIXME: insert proper C++ library support
11671 if test "$host_cpu" = ia64; then
11672 # On IA64, the linker does run time linking by default, so we don't
11673 # have to do anything special.
11674 aix_use_runtimelinking=no
11675 exp_sym_flag='-Bexport'
11678 aix_use_runtimelinking=no
11680 # Test if we are trying to use run time linking or normal
11681 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11682 # need to do runtime linking.
11683 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11684 for ld_flag in $LDFLAGS; do
11687 aix_use_runtimelinking=yes
11695 exp_sym_flag='-bexport'
11696 no_entry_flag='-bnoentry'
11699 # When large executables or shared objects are built, AIX ld can
11700 # have problems creating the table of contents. If linking a library
11701 # or program results in "error TOC overflow" add -mminimal-toc to
11702 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11703 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11705 archive_cmds_CXX=''
11706 hardcode_direct_CXX=yes
11707 hardcode_libdir_separator_CXX=':'
11708 link_all_deplibs_CXX=yes
11710 if test "$GXX" = yes; then
11711 case $host_os in aix4.[012]|aix4.[012].*)
11712 # We only want to do this on AIX 4.2 and lower, the check
11713 # below for broken collect2 doesn't work under 4.3+
11714 collect2name=`${CC} -print-prog-name=collect2
`
11715 if test -f "$collect2name" && \
11716 strings "$collect2name" | grep resolve_lib_name >/dev/null
11718 # We have reworked collect2
11721 # We have old collect2
11722 hardcode_direct_CXX=unsupported
11723 # It fails to find uninstalled libraries when the uninstalled
11724 # path is not listed in the libpath. Setting hardcode_minus_L
11725 # to unsupported forces relinking
11726 hardcode_minus_L_CXX=yes
11727 hardcode_libdir_flag_spec_CXX='-L$libdir'
11728 hardcode_libdir_separator_CXX=
11732 shared_flag='-shared'
11733 if test "$aix_use_runtimelinking" = yes; then
11734 shared_flag="$shared_flag "'${wl}-G'
11738 if test "$host_cpu" = ia64; then
11739 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11740 # chokes on -Wl,-G. The following line is correct:
11743 if test "$aix_use_runtimelinking" = yes; then
11744 shared_flag='${wl}-G'
11746 shared_flag='${wl}-bM:SRE'
11751 # It seems that -bexpall does not export symbols beginning with
11752 # underscore (_), so it is better to generate a list of symbols to export.
11753 always_export_symbols_CXX=yes
11754 if test "$aix_use_runtimelinking" = yes; then
11755 # Warning - without using the other runtime loading flags (-brtl),
11756 # -berok will link without error, but may produce a broken library.
11757 allow_undefined_flag_CXX='-berok'
11758 # Determine the default libpath from the value encoded in an empty executable.
11759 cat >conftest.$ac_ext <<_ACEOF
11762 cat confdefs.h >>conftest.$ac_ext
11763 cat >>conftest.$ac_ext <<_ACEOF
11764 /* end confdefs.h. */
11774 rm -f conftest.$ac_objext conftest$ac_exeext
11775 if { (ac_try="$ac_link"
11776 case "(($ac_try" in
11777 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11778 *) ac_try_echo
=$ac_try;;
11780 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11781 $as_echo "$ac_try_echo") >&5
11782 (eval "$ac_link") 2>conftest.er1
11784 grep -v '^ *+' conftest.er1
>conftest.err
11786 cat conftest.err
>&5
11787 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11788 (exit $ac_status); } && {
11789 test -z "$ac_cxx_werror_flag" ||
11790 test ! -s conftest.err
11791 } && test -s conftest
$ac_exeext && {
11792 test "$cross_compiling" = yes ||
11793 $as_test_x conftest
$ac_exeext
11796 lt_aix_libpath_sed
='
11797 /Import File Strings/,/^$/ {
11803 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11804 # Check for a 64-bit object if we didn't find anything.
11805 if test -z "$aix_libpath"; then
11806 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11809 $as_echo "$as_me: failed program was:" >&5
11810 sed 's/^/| /' conftest.
$ac_ext >&5
11815 rm -rf conftest.dSYM
11816 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11817 conftest
$ac_exeext conftest.
$ac_ext
11818 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11820 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11822 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"
11824 if test "$host_cpu" = ia64
; then
11825 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11826 allow_undefined_flag_CXX
="-z nodefs"
11827 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"
11829 # Determine the default libpath from the value encoded in an empty executable.
11830 cat >conftest.
$ac_ext <<_ACEOF
11833 cat confdefs.h
>>conftest.
$ac_ext
11834 cat >>conftest.
$ac_ext <<_ACEOF
11835 /* end confdefs.h. */
11845 rm -f conftest.
$ac_objext conftest
$ac_exeext
11846 if { (ac_try
="$ac_link"
11847 case "(($ac_try" in
11848 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11849 *) ac_try_echo=$ac_try;;
11851 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11852 $as_echo "$ac_try_echo") >&5
11853 (eval "$ac_link") 2>conftest.er1
11855 grep -v '^ *+' conftest.er1 >conftest.err
11857 cat conftest.err >&5
11858 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11859 (exit $ac_status); } && {
11860 test -z "$ac_cxx_werror_flag" ||
11861 test ! -s conftest.err
11862 } && test -s conftest$ac_exeext && {
11863 test "$cross_compiling" = yes ||
11864 $as_test_x conftest$ac_exeext
11867 lt_aix_libpath_sed='
11868 /Import File Strings/,/^$/ {
11874 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11875 # Check for a 64-bit object if we didn't find anything.
11876 if test -z "$aix_libpath"; then
11877 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11880 $as_echo "$as_me: failed program was:" >&5
11881 sed 's/^/| /' conftest.$ac_ext >&5
11886 rm -rf conftest.dSYM
11887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11888 conftest$ac_exeext conftest.$ac_ext
11889 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11891 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11892 # Warning - without using the other run time loading flags,
11893 # -berok will link without error, but may produce a broken library.
11894 no_undefined_flag_CXX=' ${wl}-bernotok'
11895 allow_undefined_flag_CXX=' ${wl}-berok'
11896 # Exported symbols can be pulled into shared objects from archives
11897 whole_archive_flag_spec_CXX='$convenience'
11898 archive_cmds_need_lc_CXX=yes
11899 # This is similar to how AIX traditionally builds its shared libraries.
11900 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'
11906 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11907 allow_undefined_flag_CXX=unsupported
11908 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11909 # support --undefined. This deserves some investigation. FIXME
11910 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11917 case $cc_basename in
11919 # FIXME: insert proper C++ library support
11925 cygwin* | mingw* | pw32*)
11926 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11927 # as there is no search path for DLLs.
11928 hardcode_libdir_flag_spec_CXX='-L$libdir'
11929 allow_undefined_flag_CXX=unsupported
11930 always_export_symbols_CXX=no
11931 enable_shared_with_static_runtimes_CXX=yes
11933 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11934 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'
11935 # If the export-symbols file already is a .def file (1st line
11936 # is EXPORTS), use it as is; otherwise, prepend...
11937 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11938 cp $export_symbols $output_objdir/$soname.def;
11940 echo EXPORTS > $output_objdir/$soname.def;
11941 cat $export_symbols >> $output_objdir/$soname.def;
11943 $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'
11948 darwin* | rhapsody*)
11949 archive_cmds_need_lc_CXX=no
11950 hardcode_direct_CXX=no
11951 hardcode_automatic_CXX=yes
11952 hardcode_shlibpath_var_CXX=unsupported
11953 whole_archive_flag_spec_CXX=''
11954 link_all_deplibs_CXX=yes
11955 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11956 if test "$GXX" = yes ; then
11957 output_verbose_link_cmd='echo'
11958 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11959 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11960 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
11961 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
11962 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11963 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
11964 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
11967 case $cc_basename in
11969 output_verbose_link_cmd='echo'
11970 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11971 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11972 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11973 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11974 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}'
11984 case $cc_basename in
11986 # FIXME: insert proper C++ library support
11990 # Green Hills C++ Compiler
11991 # FIXME: insert proper C++ library support
11995 # FIXME: insert proper C++ library support
12001 # C++ shared libraries reported to be fairly broken before switch to ELF
12005 archive_cmds_need_lc_CXX=no
12007 freebsd* | dragonfly*)
12008 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12015 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12016 hardcode_libdir_separator_CXX=:
12017 export_dynamic_flag_spec_CXX='${wl}-E'
12018 hardcode_direct_CXX=yes
12019 hardcode_minus_L_CXX=yes # Not in the search PATH,
12020 # but as the default
12021 # location of the library.
12023 case $cc_basename in
12025 # FIXME: insert proper C++ library support
12029 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'
12030 # Commands to make compiler produce verbose output that lists
12031 # what "hidden" libraries, object files and flags are used when
12032 # linking a shared library.
12034 # There doesn't appear to be a way to prevent this compiler from
12035 # explicitly linking system object files so we need to strip them
12036 # from the output so that they don't get included in the library
12038 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'
12041 if test "$GXX" = yes; then
12042 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'
12044 # FIXME: insert proper C++ library support
12051 if test $with_gnu_ld = no; then
12052 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12053 hardcode_libdir_separator_CXX=:
12058 export_dynamic_flag_spec_CXX='${wl}-E'
12064 hardcode_direct_CXX=no
12065 hardcode_shlibpath_var_CXX=no
12068 hardcode_direct_CXX=yes
12069 hardcode_minus_L_CXX=yes # Not in the search PATH,
12070 # but as the default
12071 # location of the library.
12075 case $cc_basename in
12077 # FIXME: insert proper C++ library support
12083 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12086 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12089 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12092 # Commands to make compiler produce verbose output that lists
12093 # what "hidden" libraries, object files and flags are used when
12094 # linking a shared library.
12096 # There doesn't appear to be a way to prevent this compiler from
12097 # explicitly linking system object files so we need to strip them
12098 # from the output so that they don't get included in the library
12100 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'
12103 if test "$GXX" = yes; then
12104 if test $with_gnu_ld = no; then
12107 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12110 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12113 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'
12118 # FIXME: insert proper C++ library support
12125 hardcode_direct_CXX=no
12126 hardcode_shlibpath_var_CXX=no
12127 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12128 export_dynamic_flag_spec_CXX='${wl}-E'
12129 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12130 # Instead, shared libraries are loaded at an image base (0x10000000 by
12131 # default) and relocated if they conflict, which is a slow very memory
12132 # consuming and fragmenting process. To avoid this, we pick a random,
12133 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12134 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12135 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'
12136 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'
12139 case $cc_basename in
12142 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'
12144 # Archives containing C++ object files must be created using
12145 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12146 # necessary to make sure instantiated templates are included
12148 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12151 if test "$GXX" = yes; then
12152 if test "$with_gnu_ld" = no; then
12153 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'
12155 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'
12158 link_all_deplibs_CXX=yes
12161 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12162 hardcode_libdir_separator_CXX=:
12164 linux* | k*bsd*-gnu)
12165 case $cc_basename in
12167 # Kuck and Associates, Inc. (KAI) C++ Compiler
12169 # KCC will only create a shared library if the output file
12170 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12171 # to its proper name (with version) after linking.
12172 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'
12173 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'
12174 # Commands to make compiler produce verbose output that lists
12175 # what "hidden" libraries, object files and flags are used when
12176 # linking a shared library.
12178 # There doesn't appear to be a way to prevent this compiler from
12179 # explicitly linking system object files so we need to strip them
12180 # from the output so that they don't get included in the library
12182 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'
12184 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
12185 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12187 # Archives containing C++ object files must be created using
12188 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12189 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12194 # version 8.0 and above of icpc choke on multiply defined symbols
12195 # if we add $predep_objects and $postdep_objects, however 7.1 and
12196 # earlier do not add the objects themselves.
12197 case `$CC -V 2>&1` in
12199 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12200 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'
12202 *) # Version 8.0 or newer
12205 ia64
*) tmp_idyn
=' -i_dynamic';;
12207 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12208 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'
12211 archive_cmds_need_lc_CXX
=no
12212 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12213 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12214 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12217 # Portland Group C++ compiler
12218 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12219 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'
12221 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12222 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12223 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'
12227 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12228 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'
12230 runpath_var
=LD_RUN_PATH
12231 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12232 hardcode_libdir_separator_CXX
=:
12234 # Commands to make compiler produce verbose output that lists
12235 # what "hidden" libraries, object files and flags are used when
12236 # linking a shared library.
12238 # There doesn't appear to be a way to prevent this compiler from
12239 # explicitly linking system object files so we need to strip them
12240 # from the output so that they don't get included in the library
12242 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'
12245 case `$CC -V 2>&1 | sed 5q` in
12248 no_undefined_flag_CXX
=' -zdefs'
12249 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12250 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12251 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12252 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
12254 # Not sure whether something based on
12255 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12257 output_verbose_link_cmd
='echo'
12259 # Archives containing C++ object files must be created using
12260 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12261 # necessary to make sure instantiated templates are included
12263 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12270 # FIXME: insert proper C++ library support
12274 # FIXME: insert proper C++ library support
12278 case $cc_basename in
12280 # FIXME: insert proper C++ library support
12284 # FIXME: insert proper C++ library support
12290 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12291 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12293 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12294 hardcode_direct_CXX
=yes
12295 hardcode_shlibpath_var_CXX
=no
12297 # Workaround some broken pre-1.5 toolchains
12298 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12301 # C++ shared libraries are fairly broken
12305 if test -f /usr
/libexec
/ld.so
; then
12306 hardcode_direct_CXX
=yes
12307 hardcode_shlibpath_var_CXX
=no
12308 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12309 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12310 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12311 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12312 export_dynamic_flag_spec_CXX
='${wl}-E'
12313 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12315 output_verbose_link_cmd
='echo'
12321 case $cc_basename in
12323 # Kuck and Associates, Inc. (KAI) C++ Compiler
12325 # KCC will only create a shared library if the output file
12326 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12327 # to its proper name (with version) after linking.
12328 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'
12330 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12331 hardcode_libdir_separator_CXX
=:
12333 # Archives containing C++ object files must be created using
12334 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12335 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12339 # Rational C++ 2.4.1
12340 # FIXME: insert proper C++ library support
12344 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12345 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'
12347 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12348 hardcode_libdir_separator_CXX
=:
12350 # Commands to make compiler produce verbose output that lists
12351 # what "hidden" libraries, object files and flags are used when
12352 # linking a shared library.
12354 # There doesn't appear to be a way to prevent this compiler from
12355 # explicitly linking system object files so we need to strip them
12356 # from the output so that they don't get included in the library
12358 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'
12361 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12362 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12363 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'
12365 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12366 hardcode_libdir_separator_CXX
=:
12368 # Commands to make compiler produce verbose output that lists
12369 # what "hidden" libraries, object files and flags are used when
12370 # linking a shared library.
12371 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12374 # FIXME: insert proper C++ library support
12381 case $cc_basename in
12383 # Kuck and Associates, Inc. (KAI) C++ Compiler
12385 # KCC will only create a shared library if the output file
12386 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12387 # to its proper name (with version) after linking.
12388 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'
12390 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12391 hardcode_libdir_separator_CXX
=:
12393 # Archives containing C++ object files must be created using
12394 # the KAI C++ compiler.
12395 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
12398 # Rational C++ 2.4.1
12399 # FIXME: insert proper C++ library support
12403 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12404 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'
12405 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12406 echo "-hidden">> $lib.exp~
12407 $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~
12410 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12411 hardcode_libdir_separator_CXX
=:
12413 # Commands to make compiler produce verbose output that lists
12414 # what "hidden" libraries, object files and flags are used when
12415 # linking a shared library.
12417 # There doesn't appear to be a way to prevent this compiler from
12418 # explicitly linking system object files so we need to strip them
12419 # from the output so that they don't get included in the library
12421 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'
12424 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12425 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12426 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'
12428 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12429 hardcode_libdir_separator_CXX
=:
12431 # Commands to make compiler produce verbose output that lists
12432 # what "hidden" libraries, object files and flags are used when
12433 # linking a shared library.
12434 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12437 # FIXME: insert proper C++ library support
12444 # FIXME: insert proper C++ library support
12448 case $cc_basename in
12451 # FIXME: insert proper C++ library support
12456 # FIXME: insert proper C++ library support
12460 # FIXME: insert proper C++ library support
12466 case $cc_basename in
12468 # Sun C++ 4.2, 5.x and Centerline C++
12469 archive_cmds_need_lc_CXX
=yes
12470 no_undefined_flag_CXX
=' -zdefs'
12471 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12472 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12473 $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'
12475 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12476 hardcode_shlibpath_var_CXX
=no
12478 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12480 # The compiler driver will combine and reorder linker options,
12481 # but understands `-z linker_flag'.
12482 # Supported since Solaris 2.6 (maybe 2.5.1?)
12483 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12486 link_all_deplibs_CXX
=yes
12488 output_verbose_link_cmd
='echo'
12490 # Archives containing C++ object files must be created using
12491 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12492 # necessary to make sure instantiated templates are included
12494 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12497 # Green Hills C++ Compiler
12498 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12500 # The C++ compiler must be used to create the archive.
12501 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12504 # GNU C++ compiler with Solaris linker
12505 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12506 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12507 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
12508 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12509 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12510 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12512 # Commands to make compiler produce verbose output that lists
12513 # what "hidden" libraries, object files and flags are used when
12514 # linking a shared library.
12515 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12517 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12519 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12520 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12521 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12523 # Commands to make compiler produce verbose output that lists
12524 # what "hidden" libraries, object files and flags are used when
12525 # linking a shared library.
12526 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12529 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12531 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12533 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12540 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12541 no_undefined_flag_CXX
='${wl}-z,text'
12542 archive_cmds_need_lc_CXX
=no
12543 hardcode_shlibpath_var_CXX
=no
12544 runpath_var
='LD_RUN_PATH'
12546 case $cc_basename in
12548 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12549 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12552 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12553 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12557 sysv5
* | sco3.2v5
* | sco5v6
*)
12558 # Note: We can NOT use -z defs as we might desire, because we do not
12559 # link with -lc, and that would cause any symbols used from libc to
12560 # always be unresolved, which means just about no library would
12561 # ever link correctly. If we're not using GNU ld we use -z text
12562 # though, which does catch some bad symbols but isn't as heavy-handed
12564 # For security reasons, it is highly recommended that you always
12565 # use absolute paths for naming shared libraries, and exclude the
12566 # DT_RUNPATH tag from executables and libraries. But doing so
12567 # requires that you compile everything twice, which is a pain.
12568 # So that behaviour is only enabled if SCOABSPATH is set to a
12569 # non-empty value in the environment. Most likely only useful for
12570 # creating official distributions of packages.
12571 # This is a hack until libtool officially supports absolute path
12572 # names for shared libraries.
12573 no_undefined_flag_CXX
='${wl}-z,text'
12574 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12575 archive_cmds_need_lc_CXX
=no
12576 hardcode_shlibpath_var_CXX
=no
12577 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12578 hardcode_libdir_separator_CXX
=':'
12579 link_all_deplibs_CXX
=yes
12580 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12581 runpath_var
='LD_RUN_PATH'
12583 case $cc_basename in
12585 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12586 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12589 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12590 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12595 case $cc_basename in
12597 # NonStop-UX NCC 3.20
12598 # FIXME: insert proper C++ library support
12602 # FIXME: insert proper C++ library support
12608 # FIXME: insert proper C++ library support
12612 # FIXME: insert proper C++ library support
12616 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12617 $as_echo "$ld_shlibs_CXX" >&6; }
12618 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12623 cat > conftest.
$ac_ext <<EOF
12627 Foo (void) { a = 0; }
12633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12634 (eval $ac_compile) 2>&5
12636 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12637 (exit $ac_status); }; then
12638 # Parse the compiler output and extract the necessary
12639 # objects, libraries and library flags.
12641 # Sentinel used to keep track of whether or not we are before
12642 # the conftest object file.
12643 pre_test_object_deps_done
=no
12645 # The `*' in the case matches for architectures that use `case' in
12646 # $output_verbose_cmd can trigger glob expansion during the loop
12647 # eval without this substitution.
12648 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12650 for p
in `eval $output_verbose_link_cmd`; do
12654 # Some compilers place space between "-{L,R}" and the path.
12655 # Remove the space.
12656 if test $p = "-L" \
12657 ||
test $p = "-R"; then
12664 if test "$pre_test_object_deps_done" = no
; then
12667 # Internal compiler library paths should come after those
12668 # provided the user. The postdeps already come after the
12669 # user supplied libs so there is no need to process them.
12670 if test -z "$compiler_lib_search_path_CXX"; then
12671 compiler_lib_search_path_CXX
="${prev}${p}"
12673 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12676 # The "-l" case would never come before the object being
12677 # linked, so don't bother handling this case.
12680 if test -z "$postdeps_CXX"; then
12681 postdeps_CXX
="${prev}${p}"
12683 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12689 # This assumes that the test object file only shows up
12690 # once in the compiler output.
12691 if test "$p" = "conftest.$objext"; then
12692 pre_test_object_deps_done
=yes
12696 if test "$pre_test_object_deps_done" = no
; then
12697 if test -z "$predep_objects_CXX"; then
12698 predep_objects_CXX
="$p"
12700 predep_objects_CXX
="$predep_objects_CXX $p"
12703 if test -z "$postdep_objects_CXX"; then
12704 postdep_objects_CXX
="$p"
12706 postdep_objects_CXX
="$postdep_objects_CXX $p"
12711 *) ;; # Ignore the rest.
12719 echo "libtool.m4: error: problem compiling CXX test program"
12722 $rm -f confest.
$objext
12724 compiler_lib_search_dirs_CXX
=
12725 if test -n "$compiler_lib_search_path_CXX"; then
12726 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12729 # PORTME: override above test on systems where it is broken
12732 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12733 # hack all around it, let's just trust "g++" to DTRT.
12734 predep_objects_CXX
=
12735 postdep_objects_CXX
=
12740 case `$CC -V 2>&1 | sed 5q` in
12744 # The more standards-conforming stlport4 library is
12745 # incompatible with the Cstd library. Avoid specifying
12746 # it if it's in CXXFLAGS. Ignore libCrun as
12747 # -library=stlport4 depends on it.
12748 case " $CXX $CXXFLAGS " in
12749 *" -library=stlport4 "*)
12750 solaris_use_stlport4
=yes
12753 if test "$solaris_use_stlport4" != yes; then
12754 postdeps_CXX
='-library=Cstd -library=Crun'
12761 case $cc_basename in
12763 # The more standards-conforming stlport4 library is
12764 # incompatible with the Cstd library. Avoid specifying
12765 # it if it's in CXXFLAGS. Ignore libCrun as
12766 # -library=stlport4 depends on it.
12767 case " $CXX $CXXFLAGS " in
12768 *" -library=stlport4 "*)
12769 solaris_use_stlport4
=yes
12773 # Adding this requires a known-good setup of shared libraries for
12774 # Sun compiler versions before 5.6, else PIC objects from an old
12775 # archive will be linked into the output, leading to subtle bugs.
12776 if test "$solaris_use_stlport4" != yes; then
12777 postdeps_CXX
='-library=Cstd -library=Crun'
12784 case " $postdeps_CXX " in
12785 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12788 lt_prog_compiler_wl_CXX
=
12789 lt_prog_compiler_pic_CXX
=
12790 lt_prog_compiler_static_CXX
=
12792 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12793 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12795 # C++ specific cases for pic, static, wl, etc.
12796 if test "$GXX" = yes; then
12797 lt_prog_compiler_wl_CXX
='-Wl,'
12798 lt_prog_compiler_static_CXX
='-static'
12802 # All AIX code is PIC.
12803 if test "$host_cpu" = ia64
; then
12804 # AIX 5 now supports IA64 processor
12805 lt_prog_compiler_static_CXX
='-Bstatic'
12809 # FIXME: we need at least 68020 code to build shared libraries, but
12810 # adding the `-m68020' flag to GCC prevents building anything better,
12812 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12814 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12815 # PIC is the default for these OSes.
12817 mingw
* | cygwin
* | os2
* | pw32
*)
12818 # This hack is so that the source file can tell whether it is being
12819 # built for inclusion in a dll (and should export symbols for example).
12820 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12821 # (--disable-auto-import) libraries
12822 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12824 darwin
* | rhapsody
*)
12825 # PIC is the default on this platform
12826 # Common symbols not allowed in MH_DYLIB files
12827 lt_prog_compiler_pic_CXX
='-fno-common'
12830 # DJGPP does not support shared libraries at all
12831 lt_prog_compiler_pic_CXX
=
12834 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12835 # Instead, we relocate shared libraries at runtime.
12838 if test -d /usr
/nec
; then
12839 lt_prog_compiler_pic_CXX
=-Kconform_pic
12843 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12844 # not for PA HP-UX.
12849 lt_prog_compiler_pic_CXX
='-fPIC'
12854 lt_prog_compiler_pic_CXX
='-fPIC'
12860 # All AIX code is PIC.
12861 if test "$host_cpu" = ia64
; then
12862 # AIX 5 now supports IA64 processor
12863 lt_prog_compiler_static_CXX
='-Bstatic'
12865 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12869 case $cc_basename in
12871 # Green Hills C++ Compiler
12872 # _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"
12877 # PIC is the default on this platform
12878 # Common symbols not allowed in MH_DYLIB files
12879 case $cc_basename in
12881 lt_prog_compiler_pic_CXX
='-qnocommon'
12882 lt_prog_compiler_wl_CXX
='-Wl,'
12887 case $cc_basename in
12889 lt_prog_compiler_pic_CXX
='-KPIC'
12892 # Green Hills C++ Compiler
12893 lt_prog_compiler_pic_CXX
='-pic'
12899 freebsd
* | dragonfly
*)
12900 # FreeBSD uses GNU C++
12902 hpux9
* | hpux10
* | hpux11
*)
12903 case $cc_basename in
12905 lt_prog_compiler_wl_CXX
='-Wl,'
12906 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12907 if test "$host_cpu" != ia64
; then
12908 lt_prog_compiler_pic_CXX
='+Z'
12912 lt_prog_compiler_wl_CXX
='-Wl,'
12913 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12919 lt_prog_compiler_pic_CXX
='+Z'
12928 # This is c89, which is MS Visual C++ (no shared libs)
12929 # Anyone wants to do a port?
12931 irix5
* | irix6
* | nonstopux
*)
12932 case $cc_basename in
12934 lt_prog_compiler_wl_CXX
='-Wl,'
12935 lt_prog_compiler_static_CXX
='-non_shared'
12936 # CC pic flag -KPIC is the default.
12942 linux
* | k
*bsd
*-gnu)
12943 case $cc_basename in
12946 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12947 lt_prog_compiler_pic_CXX
='-fPIC'
12951 lt_prog_compiler_wl_CXX
='-Wl,'
12952 lt_prog_compiler_pic_CXX
='-KPIC'
12953 lt_prog_compiler_static_CXX
='-static'
12956 # Portland Group C++ compiler.
12957 lt_prog_compiler_wl_CXX
='-Wl,'
12958 lt_prog_compiler_pic_CXX
='-fpic'
12959 lt_prog_compiler_static_CXX
='-Bstatic'
12963 # Make sure the PIC flag is empty. It appears that all Alpha
12964 # Linux and Compaq Tru64 Unix objects are PIC.
12965 lt_prog_compiler_pic_CXX
=
12966 lt_prog_compiler_static_CXX
='-non_shared'
12969 case `$CC -V 2>&1 | sed 5q` in
12972 lt_prog_compiler_pic_CXX
='-KPIC'
12973 lt_prog_compiler_static_CXX
='-Bstatic'
12974 lt_prog_compiler_wl_CXX
='-Qoption ld '
12985 case $cc_basename in
12987 lt_prog_compiler_pic_CXX
='-W c,exportall'
12995 osf3
* | osf4
* | osf5
*)
12996 case $cc_basename in
12998 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13001 # Rational C++ 2.4.1
13002 lt_prog_compiler_pic_CXX
='-pic'
13005 # Digital/Compaq C++
13006 lt_prog_compiler_wl_CXX
='-Wl,'
13007 # Make sure the PIC flag is empty. It appears that all Alpha
13008 # Linux and Compaq Tru64 Unix objects are PIC.
13009 lt_prog_compiler_pic_CXX
=
13010 lt_prog_compiler_static_CXX
='-non_shared'
13019 case $cc_basename in
13021 # Sun C++ 4.2, 5.x and Centerline C++
13022 lt_prog_compiler_pic_CXX
='-KPIC'
13023 lt_prog_compiler_static_CXX
='-Bstatic'
13024 lt_prog_compiler_wl_CXX
='-Qoption ld '
13027 # Green Hills C++ Compiler
13028 lt_prog_compiler_pic_CXX
='-PIC'
13035 case $cc_basename in
13038 lt_prog_compiler_pic_CXX
='-pic'
13039 lt_prog_compiler_static_CXX
='-Bstatic'
13043 lt_prog_compiler_pic_CXX
='-pic'
13050 case $cc_basename in
13052 # NonStop-UX NCC 3.20
13053 lt_prog_compiler_pic_CXX
='-KPIC'
13059 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13060 case $cc_basename in
13062 lt_prog_compiler_wl_CXX
='-Wl,'
13063 lt_prog_compiler_pic_CXX
='-KPIC'
13064 lt_prog_compiler_static_CXX
='-Bstatic'
13071 lt_prog_compiler_can_build_shared_CXX
=no
13076 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13077 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13080 # Check to make sure the PIC flag actually works.
13082 if test -n "$lt_prog_compiler_pic_CXX"; then
13084 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13085 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13086 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
13087 $as_echo_n "(cached) " >&6
13089 lt_cv_prog_compiler_pic_works_CXX
=no
13090 ac_outfile
=conftest.
$ac_objext
13091 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13092 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13093 # Insert the option either (1) after the last *FLAGS variable, or
13094 # (2) before a word containing "conftest.", or (3) at the end.
13095 # Note that $ac_compile itself does not contain backslashes and begins
13096 # with a dollar sign (not a hyphen), so the echo should work correctly.
13097 # The option is referenced via a variable to avoid confusing sed.
13098 lt_compile
=`echo "$ac_compile" | $SED \
13099 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13100 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13101 -e 's:$: $lt_compiler_flag:'`
13102 (eval echo "\"\$as_me:13102: $lt_compile\"" >&5)
13103 (eval "$lt_compile" 2>conftest.err
)
13105 cat conftest.err
>&5
13106 echo "$as_me:13106: \$? = $ac_status" >&5
13107 if (exit $ac_status) && test -s "$ac_outfile"; then
13108 # The compiler can only warn and ignore the option if not recognized
13109 # So say no if there are warnings other than the usual output.
13110 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13111 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13112 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13113 lt_cv_prog_compiler_pic_works_CXX
=yes
13119 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13120 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13122 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13123 case $lt_prog_compiler_pic_CXX in
13125 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13128 lt_prog_compiler_pic_CXX
=
13129 lt_prog_compiler_can_build_shared_CXX
=no
13134 # For platforms which do not support PIC, -DPIC is meaningless:
13136 lt_prog_compiler_pic_CXX
=
13139 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13144 # Check to make sure the static flag actually works.
13146 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13147 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13148 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13149 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
13150 $as_echo_n "(cached) " >&6
13152 lt_cv_prog_compiler_static_works_CXX
=no
13153 save_LDFLAGS
="$LDFLAGS"
13154 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13155 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13156 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13157 # The linker can only warn and ignore the option if not recognized
13158 # So say no if there are warnings
13159 if test -s conftest.err
; then
13160 # Append any errors to the config.log.
13161 cat conftest.err
1>&5
13162 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13163 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13164 if diff conftest.exp conftest.er2
>/dev
/null
; then
13165 lt_cv_prog_compiler_static_works_CXX
=yes
13168 lt_cv_prog_compiler_static_works_CXX
=yes
13172 LDFLAGS
="$save_LDFLAGS"
13175 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13176 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13178 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13181 lt_prog_compiler_static_CXX
=
13185 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13186 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13187 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13188 $as_echo_n "(cached) " >&6
13190 lt_cv_prog_compiler_c_o_CXX
=no
13191 $rm -r conftest
2>/dev
/null
13195 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13197 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13198 # Insert the option either (1) after the last *FLAGS variable, or
13199 # (2) before a word containing "conftest.", or (3) at the end.
13200 # Note that $ac_compile itself does not contain backslashes and begins
13201 # with a dollar sign (not a hyphen), so the echo should work correctly.
13202 lt_compile
=`echo "$ac_compile" | $SED \
13203 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13204 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13205 -e 's:$: $lt_compiler_flag:'`
13206 (eval echo "\"\$as_me:13206: $lt_compile\"" >&5)
13207 (eval "$lt_compile" 2>out
/conftest.err
)
13209 cat out
/conftest.err
>&5
13210 echo "$as_me:13210: \$? = $ac_status" >&5
13211 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13213 # The compiler can only warn and ignore the option if not recognized
13214 # So say no if there are warnings
13215 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13216 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13217 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13218 lt_cv_prog_compiler_c_o_CXX
=yes
13223 # SGI C++ compiler will create directory out/ii_files/ for
13224 # template instantiation
13225 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13226 $rm out
/* && rmdir out
13232 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13233 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13236 hard_links
="nottested"
13237 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13238 # do not overwrite the value of need_locks provided by the user
13239 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13240 $as_echo_n "checking if we can lock with hard links... " >&6; }
13243 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13245 ln conftest.a conftest.b
2>&5 || hard_links
=no
13246 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13247 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
13248 $as_echo "$hard_links" >&6; }
13249 if test "$hard_links" = no
; then
13250 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13251 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13258 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13259 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13261 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13264 # If we're using GNU nm, then we don't want the "-C" option.
13265 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13266 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13267 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'
13269 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'
13273 export_symbols_cmds_CXX
="$ltdll_cmds"
13276 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'
13279 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13282 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13284 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13285 $as_echo "$ld_shlibs_CXX" >&6; }
13286 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13289 # Do we need to explicitly link libc?
13291 case "x$archive_cmds_need_lc_CXX" in
13293 # Assume -lc should be added
13294 archive_cmds_need_lc_CXX
=yes
13296 if test "$enable_shared" = yes && test "$GCC" = yes; then
13297 case $archive_cmds_CXX in
13299 # FIXME: we may have to deal with multi-command sequences.
13302 # Test whether the compiler implicitly links with -lc since on some
13303 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13304 # to ld, don't add -lc before -lgcc.
13305 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13306 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13308 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13311 (eval $ac_compile) 2>&5
13313 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13314 (exit $ac_status); } 2>conftest.err
; then
13317 libobjs
=conftest.
$ac_objext
13319 wl
=$lt_prog_compiler_wl_CXX
13320 pic_flag
=$lt_prog_compiler_pic_CXX
13326 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13327 allow_undefined_flag_CXX
=
13328 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13329 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13332 (exit $ac_status); }
13334 archive_cmds_need_lc_CXX
=no
13336 archive_cmds_need_lc_CXX
=yes
13338 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13340 cat conftest.err
1>&5
13343 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13344 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
13351 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13352 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13353 library_names_spec
=
13354 libname_spec
='lib$name'
13358 postuninstall_cmds
=
13362 shlibpath_overrides_runpath
=unknown
13364 dynamic_linker
="$host_os ld.so"
13365 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13367 need_lib_prefix
=unknown
13368 hardcode_into_libs
=no
13370 # when you set need_version to no, make sure it does not cause -set_version
13371 # flags to be left without arguments
13372 need_version
=unknown
13377 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13378 shlibpath_var
=LIBPATH
13380 # AIX 3 has no versioning support, so we append a major version to the name.
13381 soname_spec
='${libname}${release}${shared_ext}$major'
13388 hardcode_into_libs
=yes
13389 if test "$host_cpu" = ia64
; then
13390 # AIX 5 supports IA64
13391 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13392 shlibpath_var
=LD_LIBRARY_PATH
13394 # With GCC up to 2.95.x, collect2 would create an import file
13395 # for dependence libraries. The import file would start with
13396 # the line `#! .'. This would cause the generated library to
13397 # depend on `.', always an invalid library. This was fixed in
13398 # development snapshots of GCC prior to 3.0.
13400 aix4 | aix4.
[01] | aix4.
[01].
*)
13401 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13403 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
13406 can_build_shared
=no
13410 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13411 # soname into executable. Probably we can add versioning support to
13412 # collect2, so additional links can be useful in future.
13413 if test "$aix_use_runtimelinking" = yes; then
13414 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13415 # instead of lib<name>.a to let people know that these are not
13416 # typical AIX shared libraries.
13417 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13419 # We preserve .a as extension for shared libraries through AIX4.2
13420 # and later when we are not doing run time linking.
13421 library_names_spec
='${libname}${release}.a $libname.a'
13422 soname_spec
='${libname}${release}${shared_ext}$major'
13424 shlibpath_var
=LIBPATH
13429 library_names_spec
='$libname.ixlibrary $libname.a'
13430 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13431 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'
13435 library_names_spec
='${libname}${shared_ext}'
13436 dynamic_linker
="$host_os ld.so"
13437 shlibpath_var
=LIBRARY_PATH
13443 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13444 soname_spec
='${libname}${release}${shared_ext}$major'
13445 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13446 shlibpath_var
=LD_LIBRARY_PATH
13447 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13448 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13449 # the default ld.so.conf also contains /usr/contrib/lib and
13450 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13451 # libtool to hard-code these into programs
13454 cygwin
* | mingw
* | pw32
*)
13455 version_type
=windows
13460 case $GCC,$host_os in
13461 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
13462 library_names_spec
='$libname.dll.a'
13463 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13464 postinstall_cmds
='base_file=`basename \${file}`~
13465 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13466 dldir=$destdir/`dirname \$dlpath`~
13467 test -d \$dldir || mkdir -p \$dldir~
13468 $install_prog $dir/$dlname \$dldir/$dlname~
13469 chmod a+x \$dldir/$dlname'
13470 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13471 dlpath=$dir/\$dldll~
13473 shlibpath_overrides_runpath
=yes
13477 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13478 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13479 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13482 # MinGW DLLs use traditional 'lib' prefix
13483 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13484 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13485 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
13486 # It is most probably a Windows format PATH printed by
13487 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13488 # path with ; separators, and with drive letters. We can handle the
13489 # drive letters (cygwin fileutils understands them), so leave them,
13490 # especially as we might pass files found there to a mingw objdump,
13491 # which wouldn't understand a cygwinified path. Ahh.
13492 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13494 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13498 # pw32 DLLs use 'pw' prefix rather than 'lib'
13499 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13505 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13508 dynamic_linker
='Win32 ld.exe'
13509 # FIXME: first we should search . and the directory the executable is in
13513 darwin
* | rhapsody
*)
13514 dynamic_linker
="$host_os dyld"
13515 version_type
=darwin
13518 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13519 soname_spec
='${libname}${release}${major}$shared_ext'
13520 shlibpath_overrides_runpath
=yes
13521 shlibpath_var
=DYLD_LIBRARY_PATH
13522 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13524 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13531 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13532 soname_spec
='${libname}${release}${shared_ext}$major'
13533 shlibpath_var
=LD_LIBRARY_PATH
13540 freebsd
* | dragonfly
*)
13541 # DragonFly does not have aout. When/if they implement a new
13542 # versioning mechanism, adjust this.
13543 if test -x /usr
/bin
/objformat
; then
13544 objformat
=`/usr/bin/objformat`
13547 freebsd
[123]*) objformat
=aout
;;
13548 *) objformat
=elf
;;
13551 version_type
=freebsd-
$objformat
13552 case $version_type in
13554 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13559 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13563 shlibpath_var
=LD_LIBRARY_PATH
13566 shlibpath_overrides_runpath
=yes
13568 freebsd3.
[01]* | freebsdelf3.
[01]*)
13569 shlibpath_overrides_runpath
=yes
13570 hardcode_into_libs
=yes
13572 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13573 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13574 shlibpath_overrides_runpath
=no
13575 hardcode_into_libs
=yes
13577 *) # from 4.6 on, and DragonFly
13578 shlibpath_overrides_runpath
=yes
13579 hardcode_into_libs
=yes
13588 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13589 soname_spec
='${libname}${release}${shared_ext}$major'
13590 shlibpath_var
=LD_LIBRARY_PATH
13591 hardcode_into_libs
=yes
13594 hpux9
* | hpux10
* | hpux11
*)
13595 # Give a soname corresponding to the major version so that dld.sl refuses to
13596 # link against other versions.
13603 hardcode_into_libs
=yes
13604 dynamic_linker
="$host_os dld.so"
13605 shlibpath_var
=LD_LIBRARY_PATH
13606 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13608 soname_spec
='${libname}${release}${shared_ext}$major'
13609 if test "X$HPUX_IA64_MODE" = X32
; then
13610 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13612 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13614 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13618 hardcode_into_libs
=yes
13619 dynamic_linker
="$host_os dld.sl"
13620 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13621 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13622 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13623 soname_spec
='${libname}${release}${shared_ext}$major'
13624 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13625 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13629 dynamic_linker
="$host_os dld.sl"
13630 shlibpath_var
=SHLIB_PATH
13631 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13632 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13633 soname_spec
='${libname}${release}${shared_ext}$major'
13636 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13637 postinstall_cmds
='chmod 555 $lib'
13644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13645 soname_spec
='${libname}${release}${shared_ext}$major'
13646 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13647 shlibpath_var
=LD_LIBRARY_PATH
13648 shlibpath_overrides_runpath
=no
13649 hardcode_into_libs
=yes
13652 irix5
* | irix6
* | nonstopux
*)
13654 nonstopux
*) version_type
=nonstopux
;;
13656 if test "$lt_cv_prog_gnu_ld" = yes; then
13664 soname_spec
='${libname}${release}${shared_ext}$major'
13665 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13667 irix5
* | nonstopux
*)
13668 libsuff
= shlibsuff
=
13671 case $LD in # libtool.m4 will add one of these switches to LD
13672 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13673 libsuff
= shlibsuff
= libmagic
=32-bit;;
13674 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13675 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13676 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13677 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13678 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13682 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13683 shlibpath_overrides_runpath
=no
13684 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13685 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13686 hardcode_into_libs
=yes
13689 # No shared lib support for Linux oldld, aout, or coff.
13690 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13694 # This must be Linux ELF.
13695 linux
* | k
*bsd
*-gnu)
13699 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13700 soname_spec
='${libname}${release}${shared_ext}$major'
13701 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13702 shlibpath_var
=LD_LIBRARY_PATH
13703 shlibpath_overrides_runpath
=no
13704 # This implies no fast_install, which is unacceptable.
13705 # Some rework will be needed to allow for fast_install
13706 # before this can be enabled.
13707 hardcode_into_libs
=yes
13708 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13709 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13711 # Append ld.so.conf contents to the search path
13712 if test -f /etc
/ld.so.conf
; then
13713 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13714 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
13717 # We used to test for /lib/ld.so.1 and disable shared libraries on
13718 # powerpc, because MkLinux only supported shared libraries with the
13719 # GNU dynamic linker. Since this was broken with cross compilers,
13720 # most powerpc-linux boxes support dynamic linking these days and
13721 # people can always --disable-shared, the test was removed, and we
13722 # assume the GNU/Linux dynamic linker is in use.
13723 dynamic_linker
='GNU/Linux ld.so'
13730 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13731 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13732 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13733 dynamic_linker
='NetBSD (a.out) ld.so'
13735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13736 soname_spec
='${libname}${release}${shared_ext}$major'
13737 dynamic_linker
='NetBSD ld.elf_so'
13739 shlibpath_var
=LD_LIBRARY_PATH
13740 shlibpath_overrides_runpath
=yes
13741 hardcode_into_libs
=yes
13746 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13747 shlibpath_var
=LD_LIBRARY_PATH
13748 shlibpath_overrides_runpath
=yes
13755 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13756 soname_spec
='${libname}${release}${shared_ext}$major'
13757 shlibpath_var
=LD_LIBRARY_PATH
13758 shlibpath_overrides_runpath
=yes
13763 sys_lib_dlsearch_path_spec
="/usr/lib"
13765 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13767 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13768 *) need_version
=no
;;
13770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13771 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13772 shlibpath_var
=LD_LIBRARY_PATH
13773 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13775 openbsd2.
[89] | openbsd2.
[89].
*)
13776 shlibpath_overrides_runpath
=no
13779 shlibpath_overrides_runpath
=yes
13783 shlibpath_overrides_runpath
=yes
13788 libname_spec
='$name'
13791 library_names_spec
='$libname${shared_ext} $libname.a'
13792 dynamic_linker
='OS/2 ld.exe'
13793 shlibpath_var
=LIBPATH
13796 osf3
* | osf4
* | osf5
*)
13800 soname_spec
='${libname}${release}${shared_ext}$major'
13801 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13802 shlibpath_var
=LD_LIBRARY_PATH
13803 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13804 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13815 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13816 soname_spec
='${libname}${release}${shared_ext}$major'
13817 shlibpath_var
=LD_LIBRARY_PATH
13818 shlibpath_overrides_runpath
=yes
13819 hardcode_into_libs
=yes
13820 # ldd complains unless libraries are executable
13821 postinstall_cmds
='chmod +x $lib'
13826 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13827 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13828 shlibpath_var
=LD_LIBRARY_PATH
13829 shlibpath_overrides_runpath
=yes
13830 if test "$with_gnu_ld" = yes; then
13838 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13839 soname_spec
='${libname}${release}${shared_ext}$major'
13840 shlibpath_var
=LD_LIBRARY_PATH
13841 case $host_vendor in
13843 shlibpath_overrides_runpath
=no
13845 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13846 runpath_var
=LD_RUN_PATH
13854 shlibpath_overrides_runpath
=no
13855 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13861 if test -d /usr
/nec
;then
13863 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13864 soname_spec
='$libname${shared_ext}.$major'
13865 shlibpath_var
=LD_LIBRARY_PATH
13869 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13870 version_type
=freebsd-elf
13873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13874 soname_spec
='${libname}${release}${shared_ext}$major'
13875 shlibpath_var
=LD_LIBRARY_PATH
13876 hardcode_into_libs
=yes
13877 if test "$with_gnu_ld" = yes; then
13878 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13879 shlibpath_overrides_runpath
=no
13881 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13882 shlibpath_overrides_runpath
=yes
13885 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13889 sys_lib_dlsearch_path_spec
='/usr/lib'
13894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13895 soname_spec
='${libname}${release}${shared_ext}$major'
13896 shlibpath_var
=LD_LIBRARY_PATH
13903 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13904 $as_echo "$dynamic_linker" >&6; }
13905 test "$dynamic_linker" = no
&& can_build_shared
=no
13907 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13908 $as_echo_n "(cached) " >&6
13910 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
13913 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
13914 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13915 $as_echo_n "(cached) " >&6
13917 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
13920 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13922 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13923 if test "$GCC" = yes; then
13924 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13927 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13928 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13929 hardcode_action_CXX
=
13930 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13931 test -n "$runpath_var_CXX" || \
13932 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13934 # We can hardcode non-existant directories.
13935 if test "$hardcode_direct_CXX" != no
&&
13936 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13937 # have to relink, otherwise we might link with an installed library
13938 # when we should be linking with a yet-to-be-installed one
13939 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13940 test "$hardcode_minus_L_CXX" != no
; then
13941 # Linking always hardcodes the temporary library directory.
13942 hardcode_action_CXX
=relink
13944 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13945 hardcode_action_CXX
=immediate
13948 # We cannot hardcode anything, or else we can only hardcode existing
13950 hardcode_action_CXX
=unsupported
13952 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13953 $as_echo "$hardcode_action_CXX" >&6; }
13955 if test "$hardcode_action_CXX" = relink
; then
13956 # Fast installation is not supported
13957 enable_fast_install
=no
13958 elif test "$shlibpath_overrides_runpath" = yes ||
13959 test "$enable_shared" = no
; then
13960 # Fast installation is not necessary
13961 enable_fast_install
=needless
13965 # The else clause should only fire when bootstrapping the
13966 # libtool distribution, otherwise you forgot to ship ltmain.sh
13967 # with your package, and you will get complaints that there are
13968 # no rules to generate ltmain.sh.
13969 if test -f "$ltmain"; then
13970 # See if we are running on zsh, and set the options which allow our commands through
13971 # without removal of \ escapes.
13972 if test -n "${ZSH_VERSION+set}" ; then
13973 setopt NO_GLOB_SUBST
13975 # Now quote all the things that may contain metacharacters while being
13976 # careful not to overquote the AC_SUBSTed values. We take copies of the
13977 # variables and quote the copies for generation of the libtool script.
13978 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13980 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13981 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13982 deplibs_check_method reload_flag reload_cmds need_locks \
13983 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13984 lt_cv_sys_global_symbol_to_c_name_address \
13985 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13986 old_postinstall_cmds old_postuninstall_cmds \
13990 lt_prog_compiler_wl_CXX \
13991 lt_prog_compiler_pic_CXX \
13992 lt_prog_compiler_static_CXX \
13993 lt_prog_compiler_no_builtin_flag_CXX \
13994 export_dynamic_flag_spec_CXX \
13995 thread_safe_flag_spec_CXX \
13996 whole_archive_flag_spec_CXX \
13997 enable_shared_with_static_runtimes_CXX \
13998 old_archive_cmds_CXX \
13999 old_archive_from_new_cmds_CXX \
14000 predep_objects_CXX \
14001 postdep_objects_CXX \
14004 compiler_lib_search_path_CXX \
14005 compiler_lib_search_dirs_CXX \
14007 archive_expsym_cmds_CXX \
14008 postinstall_cmds_CXX \
14009 postuninstall_cmds_CXX \
14010 old_archive_from_expsyms_cmds_CXX \
14011 allow_undefined_flag_CXX \
14012 no_undefined_flag_CXX \
14013 export_symbols_cmds_CXX \
14014 hardcode_libdir_flag_spec_CXX \
14015 hardcode_libdir_flag_spec_ld_CXX \
14016 hardcode_libdir_separator_CXX \
14017 hardcode_automatic_CXX \
14019 module_expsym_cmds_CXX \
14020 lt_cv_prog_compiler_c_o_CXX \
14021 fix_srcfile_path_CXX \
14022 exclude_expsyms_CXX \
14023 include_expsyms_CXX
; do
14026 old_archive_cmds_CXX | \
14027 old_archive_from_new_cmds_CXX | \
14028 archive_cmds_CXX | \
14029 archive_expsym_cmds_CXX | \
14030 module_cmds_CXX | \
14031 module_expsym_cmds_CXX | \
14032 old_archive_from_expsyms_cmds_CXX | \
14033 export_symbols_cmds_CXX | \
14034 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14035 postinstall_cmds | postuninstall_cmds | \
14036 old_postinstall_cmds | old_postuninstall_cmds | \
14037 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
14038 # Double-quote double-evaled strings.
14039 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14042 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14048 *'\$0 --fallback-echo"')
14049 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14055 cat <<__EOF__ >> "$cfgfile"
14056 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14058 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14060 # Shell to use when invoking shell scripts.
14063 # Whether or not to build shared libraries.
14064 build_libtool_libs=$enable_shared
14066 # Whether or not to build static libraries.
14067 build_old_libs=$enable_static
14069 # Whether or not to add -lc for building shared libraries.
14070 build_libtool_need_lc=$archive_cmds_need_lc_CXX
14072 # Whether or not to disallow shared libs when runtime libs are static
14073 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14075 # Whether or not to optimize for fast installation.
14076 fast_install=$enable_fast_install
14079 host_alias=$host_alias
14083 # The build system.
14084 build_alias=$build_alias
14088 # An echo program that does not interpret backslashes.
14093 AR_FLAGS=$lt_AR_FLAGS
14098 # LTCC compiler flags.
14099 LTCFLAGS=$lt_LTCFLAGS
14101 # A language-specific compiler.
14102 CC=$lt_compiler_CXX
14104 # Is the compiler the GNU C compiler?
14110 # The linker used to build libraries.
14113 # Whether we need hard or soft links.
14116 # A BSD-compatible nm program.
14119 # A symbol stripping program
14122 # Used to examine libraries when file_magic_cmd begins "file"
14123 MAGIC_CMD=$MAGIC_CMD
14125 # Used on cygwin: DLL creation program.
14128 # Used on cygwin: object dumper.
14131 # Used on cygwin: assembler.
14134 # The name of the directory that contains temporary libtool files.
14137 # How to create reloadable object files.
14138 reload_flag=$lt_reload_flag
14139 reload_cmds=$lt_reload_cmds
14141 # How to pass a linker flag through the compiler.
14142 wl=$lt_lt_prog_compiler_wl_CXX
14144 # Object file suffix (normally "o").
14145 objext="$ac_objext"
14147 # Old archive suffix (normally "a").
14150 # Shared library suffix (normally ".so").
14151 shrext_cmds='$shrext_cmds'
14153 # Executable file suffix (normally "").
14156 # Additional compiler flags for building library objects.
14157 pic_flag=$lt_lt_prog_compiler_pic_CXX
14160 # What is the maximum length of a command?
14161 max_cmd_len=$lt_cv_sys_max_cmd_len
14163 # Does compiler simultaneously support -c and -o options?
14164 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14166 # Must we lock files when doing compilation?
14167 need_locks=$lt_need_locks
14169 # Do we need the lib prefix for modules?
14170 need_lib_prefix=$need_lib_prefix
14172 # Do we need a version for libraries?
14173 need_version=$need_version
14175 # Whether dlopen is supported.
14176 dlopen_support=$enable_dlopen
14178 # Whether dlopen of programs is supported.
14179 dlopen_self=$enable_dlopen_self
14181 # Whether dlopen of statically linked programs is supported.
14182 dlopen_self_static=$enable_dlopen_self_static
14184 # Compiler flag to prevent dynamic linking.
14185 link_static_flag=$lt_lt_prog_compiler_static_CXX
14187 # Compiler flag to turn off builtin functions.
14188 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14190 # Compiler flag to allow reflexive dlopens.
14191 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14193 # Compiler flag to generate shared objects directly from archives.
14194 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14196 # Compiler flag to generate thread-safe objects.
14197 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14199 # Library versioning type.
14200 version_type=$version_type
14202 # Format of library name prefix.
14203 libname_spec=$lt_libname_spec
14205 # List of archive names. First name is the real one, the rest are links.
14206 # The last name is the one that the linker finds with -lNAME.
14207 library_names_spec=$lt_library_names_spec
14209 # The coded name of the library, if different from the real name.
14210 soname_spec=$lt_soname_spec
14212 # Commands used to build and install an old-style archive.
14214 old_archive_cmds=$lt_old_archive_cmds_CXX
14215 old_postinstall_cmds=$lt_old_postinstall_cmds
14216 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14218 # Create an old-style archive from a shared archive.
14219 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14221 # Create a temporary old-style archive to link instead of a shared archive.
14222 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14224 # Commands used to build and install a shared archive.
14225 archive_cmds=$lt_archive_cmds_CXX
14226 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14227 postinstall_cmds=$lt_postinstall_cmds
14228 postuninstall_cmds=$lt_postuninstall_cmds
14230 # Commands used to build a loadable module (assumed same as above if empty)
14231 module_cmds=$lt_module_cmds_CXX
14232 module_expsym_cmds=$lt_module_expsym_cmds_CXX
14234 # Commands to strip libraries.
14235 old_striplib=$lt_old_striplib
14236 striplib=$lt_striplib
14238 # Dependencies to place before the objects being linked to create a
14240 predep_objects=$lt_predep_objects_CXX
14242 # Dependencies to place after the objects being linked to create a
14244 postdep_objects=$lt_postdep_objects_CXX
14246 # Dependencies to place before the objects being linked to create a
14248 predeps=$lt_predeps_CXX
14250 # Dependencies to place after the objects being linked to create a
14252 postdeps=$lt_postdeps_CXX
14254 # The directories searched by this compiler when creating a shared
14256 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
14258 # The library search path used internally by the compiler when linking
14259 # a shared library.
14260 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14262 # Method to check whether dependent libraries are shared objects.
14263 deplibs_check_method=$lt_deplibs_check_method
14265 # Command to use when deplibs_check_method == file_magic.
14266 file_magic_cmd=$lt_file_magic_cmd
14268 # Flag that allows shared libraries with undefined symbols to be built.
14269 allow_undefined_flag=$lt_allow_undefined_flag_CXX
14271 # Flag that forces no undefined symbols.
14272 no_undefined_flag=$lt_no_undefined_flag_CXX
14274 # Commands used to finish a libtool library installation in a directory.
14275 finish_cmds=$lt_finish_cmds
14277 # Same as above, but a single script fragment to be evaled but not shown.
14278 finish_eval=$lt_finish_eval
14280 # Take the output of nm and produce a listing of raw symbols and C names.
14281 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14283 # Transform the output of nm in a proper C declaration
14284 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14286 # Transform the output of nm in a C name address pair
14287 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14289 # This is the shared library runtime path variable.
14290 runpath_var=$runpath_var
14292 # This is the shared library path variable.
14293 shlibpath_var=$shlibpath_var
14295 # Is shlibpath searched before the hard-coded library search path?
14296 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14298 # How to hardcode a shared library path into an executable.
14299 hardcode_action=$hardcode_action_CXX
14301 # Whether we should hardcode library paths into libraries.
14302 hardcode_into_libs=$hardcode_into_libs
14304 # Flag to hardcode \$libdir into a binary during linking.
14305 # This must work even if \$libdir does not exist.
14306 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14308 # If ld is used when linking, flag to hardcode \$libdir into
14309 # a binary during linking. This must work even if \$libdir does
14311 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14313 # Whether we need a single -rpath flag with a separated argument.
14314 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14316 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14317 # resulting binary.
14318 hardcode_direct=$hardcode_direct_CXX
14320 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14321 # resulting binary.
14322 hardcode_minus_L=$hardcode_minus_L_CXX
14324 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14325 # the resulting binary.
14326 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14328 # Set to yes if building a shared library automatically hardcodes DIR into the library
14329 # and all subsequent libraries and executables linked against it.
14330 hardcode_automatic=$hardcode_automatic_CXX
14332 # Variables whose values should be saved in libtool wrapper scripts and
14333 # restored at relink time.
14334 variables_saved_for_relink="$variables_saved_for_relink"
14336 # Whether libtool must link a program against all its dependency libraries.
14337 link_all_deplibs=$link_all_deplibs_CXX
14339 # Compile-time system search path for libraries
14340 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14342 # Run-time system search path for libraries
14343 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14345 # Fix the shell variable \$srcfile for the compiler.
14346 fix_srcfile_path=$lt_fix_srcfile_path
14348 # Set to yes if exported symbols are required.
14349 always_export_symbols=$always_export_symbols_CXX
14351 # The commands to list exported symbols.
14352 export_symbols_cmds=$lt_export_symbols_cmds_CXX
14354 # The commands to extract the exported symbol list from a shared archive.
14355 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14357 # Symbols that should not be listed in the preloaded symbols.
14358 exclude_expsyms=$lt_exclude_expsyms_CXX
14360 # Symbols that must always be exported.
14361 include_expsyms=$lt_include_expsyms_CXX
14363 # ### END LIBTOOL TAG CONFIG: $tagname
14369 # If there is no Makefile yet, we rely on a make rule to execute
14370 # `config.status --recheck' to rerun these tests and create the
14371 # libtool script then.
14372 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14373 if test -f "$ltmain_in"; then
14374 test -f Makefile
&& make "$ltmain"
14380 ac_cpp
='$CPP $CPPFLAGS'
14381 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14382 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14383 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14389 with_gnu_ldcxx
=$with_gnu_ld
14390 with_gnu_ld
=$lt_save_with_gnu_ld
14391 lt_cv_path_LDCXX
=$lt_cv_path_LD
14392 lt_cv_path_LD
=$lt_save_path_LD
14393 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14394 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14402 if test -n "$F77" && test "X$F77" != "Xno"; then
14405 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14406 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14407 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
14410 archive_cmds_need_lc_F77
=no
14411 allow_undefined_flag_F77
=
14412 always_export_symbols_F77
=no
14413 archive_expsym_cmds_F77
=
14414 export_dynamic_flag_spec_F77
=
14415 hardcode_direct_F77
=no
14416 hardcode_libdir_flag_spec_F77
=
14417 hardcode_libdir_flag_spec_ld_F77
=
14418 hardcode_libdir_separator_F77
=
14419 hardcode_minus_L_F77
=no
14420 hardcode_automatic_F77
=no
14422 module_expsym_cmds_F77
=
14423 link_all_deplibs_F77
=unknown
14424 old_archive_cmds_F77
=$old_archive_cmds
14425 no_undefined_flag_F77
=
14426 whole_archive_flag_spec_F77
=
14427 enable_shared_with_static_runtimes_F77
=no
14429 # Source file extension for f77 test sources.
14432 # Object file extension for compiled f77 test sources.
14436 # Code to be used in simple compile tests
14437 lt_simple_compile_test_code
="\
14443 # Code to be used in simple link tests
14444 lt_simple_link_test_code
="\
14449 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14451 # If no C compiler was specified, use CC.
14454 # If no C compiler flags were specified, use CFLAGS.
14455 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
14457 # Allow CC to be a program name with arguments.
14461 # save warnings/boilerplate of simple test code
14462 ac_outfile
=conftest.
$ac_objext
14463 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
14464 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14465 _lt_compiler_boilerplate
=`cat conftest.err`
14468 ac_outfile
=conftest.
$ac_objext
14469 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
14470 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14471 _lt_linker_boilerplate
=`cat conftest.err`
14475 # Allow CC to be a program name with arguments.
14480 for cc_temp
in $compiler""; do
14482 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14483 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14488 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14491 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14492 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14493 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
14494 $as_echo "$can_build_shared" >&6; }
14496 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14497 $as_echo_n "checking whether to build shared libraries... " >&6; }
14498 test "$can_build_shared" = "no" && enable_shared
=no
14500 # On AIX, shared libraries and static libraries use the same namespace, and
14501 # are all built from PIC.
14504 test "$enable_shared" = yes && enable_static
=no
14505 if test -n "$RANLIB"; then
14506 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14507 postinstall_cmds
='$RANLIB $lib'
14511 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14512 test "$enable_shared" = yes && enable_static
=no
14516 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
14517 $as_echo "$enable_shared" >&6; }
14519 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14520 $as_echo_n "checking whether to build static libraries... " >&6; }
14521 # Make sure either enable_shared or enable_static is yes.
14522 test "$enable_shared" = yes || enable_static
=yes
14523 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
14524 $as_echo "$enable_static" >&6; }
14529 lt_prog_compiler_wl_F77
=
14530 lt_prog_compiler_pic_F77
=
14531 lt_prog_compiler_static_F77
=
14533 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14534 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14536 if test "$GCC" = yes; then
14537 lt_prog_compiler_wl_F77
='-Wl,'
14538 lt_prog_compiler_static_F77
='-static'
14542 # All AIX code is PIC.
14543 if test "$host_cpu" = ia64
; then
14544 # AIX 5 now supports IA64 processor
14545 lt_prog_compiler_static_F77
='-Bstatic'
14550 # FIXME: we need at least 68020 code to build shared libraries, but
14551 # adding the `-m68020' flag to GCC prevents building anything better,
14553 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14556 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14557 # PIC is the default for these OSes.
14560 mingw
* | cygwin
* | pw32
* | os2
*)
14561 # This hack is so that the source file can tell whether it is being
14562 # built for inclusion in a dll (and should export symbols for example).
14563 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14564 # (--disable-auto-import) libraries
14565 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14568 darwin
* | rhapsody
*)
14569 # PIC is the default on this platform
14570 # Common symbols not allowed in MH_DYLIB files
14571 lt_prog_compiler_pic_F77
='-fno-common'
14575 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14576 # Instead, we relocate shared libraries at runtime.
14580 # Just because we use GCC doesn't mean we suddenly get shared libraries
14581 # on systems that don't support them.
14582 lt_prog_compiler_can_build_shared_F77
=no
14587 if test -d /usr
/nec
; then
14588 lt_prog_compiler_pic_F77
=-Kconform_pic
14593 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14594 # not for PA HP-UX.
14600 lt_prog_compiler_pic_F77
='-fPIC'
14606 lt_prog_compiler_pic_F77
='-fPIC'
14610 # PORTME Check for flag to pass linker flags through the system compiler.
14613 lt_prog_compiler_wl_F77
='-Wl,'
14614 if test "$host_cpu" = ia64
; then
14615 # AIX 5 now supports IA64 processor
14616 lt_prog_compiler_static_F77
='-Bstatic'
14618 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14622 # PIC is the default on this platform
14623 # Common symbols not allowed in MH_DYLIB files
14624 case $cc_basename in
14626 lt_prog_compiler_pic_F77
='-qnocommon'
14627 lt_prog_compiler_wl_F77
='-Wl,'
14632 mingw
* | cygwin
* | pw32
* | os2
*)
14633 # This hack is so that the source file can tell whether it is being
14634 # built for inclusion in a dll (and should export symbols for example).
14635 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14638 hpux9
* | hpux10
* | hpux11
*)
14639 lt_prog_compiler_wl_F77
='-Wl,'
14640 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14641 # not for PA HP-UX.
14647 lt_prog_compiler_pic_F77
='+Z'
14650 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14651 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14654 irix5
* | irix6
* | nonstopux
*)
14655 lt_prog_compiler_wl_F77
='-Wl,'
14656 # PIC (with -KPIC) is the default.
14657 lt_prog_compiler_static_F77
='-non_shared'
14661 lt_prog_compiler_pic_F77
='-KPIC'
14662 lt_prog_compiler_static_F77
='-Bstatic'
14665 linux
* | k
*bsd
*-gnu)
14666 case $cc_basename in
14668 lt_prog_compiler_wl_F77
='-Wl,'
14669 lt_prog_compiler_pic_F77
='-KPIC'
14670 lt_prog_compiler_static_F77
='-static'
14672 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14673 # Portland Group compilers (*not* the Pentium gcc compiler,
14674 # which looks to be a dead project)
14675 lt_prog_compiler_wl_F77
='-Wl,'
14676 lt_prog_compiler_pic_F77
='-fpic'
14677 lt_prog_compiler_static_F77
='-Bstatic'
14680 lt_prog_compiler_wl_F77
='-Wl,'
14681 # All Alpha code is PIC.
14682 lt_prog_compiler_static_F77
='-non_shared'
14685 case `$CC -V 2>&1 | sed 5q` in
14688 lt_prog_compiler_pic_F77
='-KPIC'
14689 lt_prog_compiler_static_F77
='-Bstatic'
14690 lt_prog_compiler_wl_F77
='-Wl,'
14693 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14694 lt_prog_compiler_pic_F77
='-KPIC'
14695 lt_prog_compiler_static_F77
='-Bstatic'
14696 lt_prog_compiler_wl_F77
=''
14703 osf3
* | osf4
* | osf5
*)
14704 lt_prog_compiler_wl_F77
='-Wl,'
14705 # All OSF/1 code is PIC.
14706 lt_prog_compiler_static_F77
='-non_shared'
14710 lt_prog_compiler_static_F77
='-non_shared'
14714 lt_prog_compiler_pic_F77
='-KPIC'
14715 lt_prog_compiler_static_F77
='-Bstatic'
14716 case $cc_basename in
14717 f77
* | f90
* | f95
*)
14718 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14720 lt_prog_compiler_wl_F77
='-Wl,';;
14725 lt_prog_compiler_wl_F77
='-Qoption ld '
14726 lt_prog_compiler_pic_F77
='-PIC'
14727 lt_prog_compiler_static_F77
='-Bstatic'
14730 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14731 lt_prog_compiler_wl_F77
='-Wl,'
14732 lt_prog_compiler_pic_F77
='-KPIC'
14733 lt_prog_compiler_static_F77
='-Bstatic'
14737 if test -d /usr
/nec
;then
14738 lt_prog_compiler_pic_F77
='-Kconform_pic'
14739 lt_prog_compiler_static_F77
='-Bstatic'
14743 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14744 lt_prog_compiler_wl_F77
='-Wl,'
14745 lt_prog_compiler_pic_F77
='-KPIC'
14746 lt_prog_compiler_static_F77
='-Bstatic'
14750 lt_prog_compiler_wl_F77
='-Wl,'
14751 lt_prog_compiler_can_build_shared_F77
=no
14755 lt_prog_compiler_pic_F77
='-pic'
14756 lt_prog_compiler_static_F77
='-Bstatic'
14760 lt_prog_compiler_can_build_shared_F77
=no
14765 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14766 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
14769 # Check to make sure the PIC flag actually works.
14771 if test -n "$lt_prog_compiler_pic_F77"; then
14773 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14774 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
14775 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
14776 $as_echo_n "(cached) " >&6
14778 lt_cv_prog_compiler_pic_works_F77
=no
14779 ac_outfile
=conftest.
$ac_objext
14780 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14781 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14782 # Insert the option either (1) after the last *FLAGS variable, or
14783 # (2) before a word containing "conftest.", or (3) at the end.
14784 # Note that $ac_compile itself does not contain backslashes and begins
14785 # with a dollar sign (not a hyphen), so the echo should work correctly.
14786 # The option is referenced via a variable to avoid confusing sed.
14787 lt_compile
=`echo "$ac_compile" | $SED \
14788 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14789 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14790 -e 's:$: $lt_compiler_flag:'`
14791 (eval echo "\"\$as_me:14791: $lt_compile\"" >&5)
14792 (eval "$lt_compile" 2>conftest.err
)
14794 cat conftest.err
>&5
14795 echo "$as_me:14795: \$? = $ac_status" >&5
14796 if (exit $ac_status) && test -s "$ac_outfile"; then
14797 # The compiler can only warn and ignore the option if not recognized
14798 # So say no if there are warnings other than the usual output.
14799 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14800 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14801 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14802 lt_cv_prog_compiler_pic_works_F77
=yes
14808 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
14809 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
14811 if test x
"$lt_cv_prog_compiler_pic_works_F77" = xyes
; then
14812 case $lt_prog_compiler_pic_F77 in
14814 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14817 lt_prog_compiler_pic_F77
=
14818 lt_prog_compiler_can_build_shared_F77
=no
14823 # For platforms which do not support PIC, -DPIC is meaningless:
14825 lt_prog_compiler_pic_F77
=
14828 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14833 # Check to make sure the static flag actually works.
14835 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14836 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14837 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14838 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
14839 $as_echo_n "(cached) " >&6
14841 lt_cv_prog_compiler_static_works_F77
=no
14842 save_LDFLAGS
="$LDFLAGS"
14843 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14844 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14845 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14846 # The linker can only warn and ignore the option if not recognized
14847 # So say no if there are warnings
14848 if test -s conftest.err
; then
14849 # Append any errors to the config.log.
14850 cat conftest.err
1>&5
14851 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14852 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14853 if diff conftest.exp conftest.er2
>/dev
/null
; then
14854 lt_cv_prog_compiler_static_works_F77
=yes
14857 lt_cv_prog_compiler_static_works_F77
=yes
14861 LDFLAGS
="$save_LDFLAGS"
14864 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
14865 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
14867 if test x
"$lt_cv_prog_compiler_static_works_F77" = xyes
; then
14870 lt_prog_compiler_static_F77
=
14874 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14875 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14876 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14877 $as_echo_n "(cached) " >&6
14879 lt_cv_prog_compiler_c_o_F77
=no
14880 $rm -r conftest
2>/dev
/null
14884 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14886 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14887 # Insert the option either (1) after the last *FLAGS variable, or
14888 # (2) before a word containing "conftest.", or (3) at the end.
14889 # Note that $ac_compile itself does not contain backslashes and begins
14890 # with a dollar sign (not a hyphen), so the echo should work correctly.
14891 lt_compile
=`echo "$ac_compile" | $SED \
14892 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14893 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14894 -e 's:$: $lt_compiler_flag:'`
14895 (eval echo "\"\$as_me:14895: $lt_compile\"" >&5)
14896 (eval "$lt_compile" 2>out
/conftest.err
)
14898 cat out
/conftest.err
>&5
14899 echo "$as_me:14899: \$? = $ac_status" >&5
14900 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14902 # The compiler can only warn and ignore the option if not recognized
14903 # So say no if there are warnings
14904 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14905 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14906 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14907 lt_cv_prog_compiler_c_o_F77
=yes
14912 # SGI C++ compiler will create directory out/ii_files/ for
14913 # template instantiation
14914 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14915 $rm out
/* && rmdir out
14921 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14922 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
14925 hard_links
="nottested"
14926 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14927 # do not overwrite the value of need_locks provided by the user
14928 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14929 $as_echo_n "checking if we can lock with hard links... " >&6; }
14932 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14934 ln conftest.a conftest.b
2>&5 || hard_links
=no
14935 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14936 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
14937 $as_echo "$hard_links" >&6; }
14938 if test "$hard_links" = no
; then
14939 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14940 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14947 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14948 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14951 allow_undefined_flag_F77
=
14952 enable_shared_with_static_runtimes_F77
=no
14954 archive_expsym_cmds_F77
=
14955 old_archive_From_new_cmds_F77
=
14956 old_archive_from_expsyms_cmds_F77
=
14957 export_dynamic_flag_spec_F77
=
14958 whole_archive_flag_spec_F77
=
14959 thread_safe_flag_spec_F77
=
14960 hardcode_libdir_flag_spec_F77
=
14961 hardcode_libdir_flag_spec_ld_F77
=
14962 hardcode_libdir_separator_F77
=
14963 hardcode_direct_F77
=no
14964 hardcode_minus_L_F77
=no
14965 hardcode_shlibpath_var_F77
=unsupported
14966 link_all_deplibs_F77
=unknown
14967 hardcode_automatic_F77
=no
14969 module_expsym_cmds_F77
=
14970 always_export_symbols_F77
=no
14971 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14972 # include_expsyms should be a list of space-separated symbols to be *always*
14973 # included in the symbol list
14974 include_expsyms_F77
=
14975 # exclude_expsyms can be an extended regexp of symbols to exclude
14976 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14977 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14978 # as well as any symbol that contains `d'.
14979 exclude_expsyms_F77
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14980 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14981 # platforms (ab)use it in PIC code, but their linkers get confused if
14982 # the symbol is explicitly referenced. Since portable code cannot
14983 # rely on this symbol name, it's probably fine to never include it in
14984 # preloaded symbol tables.
14985 # Exclude shared library initialization/finalization symbols.
14986 extract_expsyms_cmds
=
14987 # Just being paranoid about ensuring that cc_basename is set.
14988 for cc_temp
in $compiler""; do
14990 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14991 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14996 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14999 cygwin
* | mingw
* | pw32
*)
15000 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15001 # When not using gcc, we currently assume that we are using
15002 # Microsoft Visual C++.
15003 if test "$GCC" != yes; then
15008 # we just hope/assume this is gcc and not c89 (= MSVC++)
15017 if test "$with_gnu_ld" = yes; then
15018 # If archive_cmds runs LD, not CC, wlarc should be empty
15021 # Set some defaults for GNU ld with shared library support. These
15022 # are reset later if shared libraries are not supported. Putting them
15023 # here allows them to be overridden if necessary.
15024 runpath_var
=LD_RUN_PATH
15025 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
15026 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
15027 # ancient GNU ld didn't support --whole-archive et. al.
15028 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
15029 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15031 whole_archive_flag_spec_F77
=
15033 supports_anon_versioning
=no
15034 case `$LD -v 2>/dev/null` in
15035 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
15036 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
15037 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
15038 *\
2.11.
*) ;; # other 2.11 versions
15039 *) supports_anon_versioning
=yes ;;
15042 # See if GNU ld supports shared libraries.
15045 # On AIX/PPC, the GNU linker is very broken
15046 if test "$host_cpu" != ia64
; then
15050 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15051 *** to be unable to reliably create shared libraries on AIX.
15052 *** Therefore, libtool is disabling shared libraries support. If you
15053 *** really care for shared libraries, you may want to modify your PATH
15054 *** so that a non-GNU linker is found, and then restart.
15061 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)'
15062 hardcode_libdir_flag_spec_F77
='-L$libdir'
15063 hardcode_minus_L_F77
=yes
15065 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15066 # that the semantics of dynamic libraries on AmigaOS, at least up
15067 # to version 4, is to share data among multiple programs linked
15068 # with the same dynamic library. Since this doesn't match the
15069 # behavior of shared libraries on other platforms, we can't use
15075 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15076 allow_undefined_flag_F77
=unsupported
15077 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15078 # support --undefined. This deserves some investigation. FIXME
15079 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15085 cygwin
* | mingw
* | pw32
*)
15086 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15087 # as there is no search path for DLLs.
15088 hardcode_libdir_flag_spec_F77
='-L$libdir'
15089 allow_undefined_flag_F77
=unsupported
15090 always_export_symbols_F77
=no
15091 enable_shared_with_static_runtimes_F77
=yes
15092 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15094 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
15095 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15096 # If the export-symbols file already is a .def file (1st line
15097 # is EXPORTS), use it as is; otherwise, prepend...
15098 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15099 cp $export_symbols $output_objdir/$soname.def;
15101 echo EXPORTS > $output_objdir/$soname.def;
15102 cat $export_symbols >> $output_objdir/$soname.def;
15104 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15111 hardcode_direct_F77
=no
15112 hardcode_shlibpath_var_F77
=no
15113 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15114 export_dynamic_flag_spec_F77
='${wl}-E'
15115 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15116 # Instead, shared libraries are loaded at an image base (0x10000000 by
15117 # default) and relocated if they conflict, which is a slow very memory
15118 # consuming and fragmenting process. To avoid this, we pick a random,
15119 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15120 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15121 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'
15122 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'
15125 gnu
* | linux
* | k
*bsd
*-gnu)
15126 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15128 case $cc_basename,$host_cpu in
15129 pgcc
*) # Portland Group C compiler
15130 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'
15131 tmp_addflag
=' $pic_flag'
15133 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
15134 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'
15135 tmp_addflag
=' $pic_flag -Mnomain' ;;
15136 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
15137 tmp_addflag
=' -i_dynamic' ;;
15138 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
15139 tmp_addflag
=' -i_dynamic -nofor_main' ;;
15140 ifc
* | ifort
*) # Intel Fortran compiler
15141 tmp_addflag
=' -nofor_main' ;;
15143 case `$CC -V 2>&1 | sed 5q` in
15144 *Sun\ C
*) # Sun C 5.9
15145 whole_archive_flag_spec_F77
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15146 tmp_sharedflag
='-G' ;;
15147 *Sun\ F
*) # Sun Fortran 8.3
15148 tmp_sharedflag
='-G' ;;
15150 tmp_sharedflag
='-shared' ;;
15152 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15154 if test $supports_anon_versioning = yes; then
15155 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
15156 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15157 $echo "local: *; };" >> $output_objdir/$libname.ver~
15158 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15166 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15167 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15170 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15171 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15176 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
15180 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15181 *** create shared libraries on Solaris systems. Therefore, libtool
15182 *** is disabling shared libraries support. We urge you to upgrade GNU
15183 *** binutils to release 2.9.1 or newer. Another option is to modify
15184 *** your PATH or compiler configuration so that the native linker is
15185 *** used, and then restart.
15188 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15189 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15190 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15196 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
15197 case `$LD -v 2>&1` in
15198 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
15202 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15203 *** reliably create shared libraries on SCO systems. Therefore, libtool
15204 *** is disabling shared libraries support. We urge you to upgrade GNU
15205 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15206 *** your PATH or compiler configuration so that the native linker is
15207 *** used, and then restart.
15212 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15213 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15214 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15215 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15224 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15226 hardcode_direct_F77
=yes
15227 hardcode_shlibpath_var_F77
=no
15231 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15232 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15233 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15240 if test "$ld_shlibs_F77" = no
; then
15242 hardcode_libdir_flag_spec_F77
=
15243 export_dynamic_flag_spec_F77
=
15244 whole_archive_flag_spec_F77
=
15247 # PORTME fill in a description of your system's linker (not GNU ld)
15250 allow_undefined_flag_F77
=unsupported
15251 always_export_symbols_F77
=yes
15252 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'
15253 # Note: this linker hardcodes the directories in LIBPATH if there
15254 # are no directories specified by -L.
15255 hardcode_minus_L_F77
=yes
15256 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15257 # Neither direct hardcoding nor static linking is supported with a
15259 hardcode_direct_F77
=unsupported
15264 if test "$host_cpu" = ia64
; then
15265 # On IA64, the linker does run time linking by default, so we don't
15266 # have to do anything special.
15267 aix_use_runtimelinking
=no
15268 exp_sym_flag
='-Bexport'
15271 # If we're using GNU nm, then we don't want the "-C" option.
15272 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15273 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
15274 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'
15276 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'
15278 aix_use_runtimelinking
=no
15280 # Test if we are trying to use run time linking or normal
15281 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15282 # need to do runtime linking.
15283 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
15284 for ld_flag
in $LDFLAGS; do
15285 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
15286 aix_use_runtimelinking
=yes
15293 exp_sym_flag
='-bexport'
15294 no_entry_flag
='-bnoentry'
15297 # When large executables or shared objects are built, AIX ld can
15298 # have problems creating the table of contents. If linking a library
15299 # or program results in "error TOC overflow" add -mminimal-toc to
15300 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15301 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15303 archive_cmds_F77
=''
15304 hardcode_direct_F77
=yes
15305 hardcode_libdir_separator_F77
=':'
15306 link_all_deplibs_F77
=yes
15308 if test "$GCC" = yes; then
15309 case $host_os in aix4.
[012]|aix4.
[012].
*)
15310 # We only want to do this on AIX 4.2 and lower, the check
15311 # below for broken collect2 doesn't work under 4.3+
15312 collect2name
=`${CC} -print-prog-name=collect2`
15313 if test -f "$collect2name" && \
15314 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15316 # We have reworked collect2
15319 # We have old collect2
15320 hardcode_direct_F77
=unsupported
15321 # It fails to find uninstalled libraries when the uninstalled
15322 # path is not listed in the libpath. Setting hardcode_minus_L
15323 # to unsupported forces relinking
15324 hardcode_minus_L_F77
=yes
15325 hardcode_libdir_flag_spec_F77
='-L$libdir'
15326 hardcode_libdir_separator_F77
=
15330 shared_flag
='-shared'
15331 if test "$aix_use_runtimelinking" = yes; then
15332 shared_flag
="$shared_flag "'${wl}-G'
15336 if test "$host_cpu" = ia64
; then
15337 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15338 # chokes on -Wl,-G. The following line is correct:
15341 if test "$aix_use_runtimelinking" = yes; then
15342 shared_flag
='${wl}-G'
15344 shared_flag
='${wl}-bM:SRE'
15349 # It seems that -bexpall does not export symbols beginning with
15350 # underscore (_), so it is better to generate a list of symbols to export.
15351 always_export_symbols_F77
=yes
15352 if test "$aix_use_runtimelinking" = yes; then
15353 # Warning - without using the other runtime loading flags (-brtl),
15354 # -berok will link without error, but may produce a broken library.
15355 allow_undefined_flag_F77
='-berok'
15356 # Determine the default libpath from the value encoded in an empty executable.
15357 cat >conftest.
$ac_ext <<_ACEOF
15362 rm -f conftest.
$ac_objext conftest
$ac_exeext
15363 if { (ac_try
="$ac_link"
15364 case "(($ac_try" in
15365 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15366 *) ac_try_echo=$ac_try;;
15368 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15369 $as_echo "$ac_try_echo") >&5
15370 (eval "$ac_link") 2>conftest.er1
15372 grep -v '^ *+' conftest.er1 >conftest.err
15374 cat conftest.err >&5
15375 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15376 (exit $ac_status); } && {
15377 test -z "$ac_f77_werror_flag" ||
15378 test ! -s conftest.err
15379 } && test -s conftest$ac_exeext && {
15380 test "$cross_compiling" = yes ||
15381 $as_test_x conftest$ac_exeext
15384 lt_aix_libpath_sed='
15385 /Import File Strings/,/^$/ {
15391 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
15392 # Check for a 64-bit object if we didn't find anything.
15393 if test -z "$aix_libpath"; then
15394 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
15397 $as_echo "$as_me: failed program was:" >&5
15398 sed 's/^/| /' conftest.$ac_ext >&5
15403 rm -rf conftest.dSYM
15404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15405 conftest$ac_exeext conftest.$ac_ext
15406 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15408 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15409 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"
15411 if test "$host_cpu" = ia64; then
15412 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15413 allow_undefined_flag_F77="-z nodefs"
15414 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"
15416 # Determine the default libpath from the value encoded in an empty executable.
15417 cat >conftest.$ac_ext <<_ACEOF
15422 rm -f conftest.$ac_objext conftest$ac_exeext
15423 if { (ac_try="$ac_link"
15424 case "(($ac_try" in
15425 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15426 *) ac_try_echo
=$ac_try;;
15428 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15429 $as_echo "$ac_try_echo") >&5
15430 (eval "$ac_link") 2>conftest.er1
15432 grep -v '^ *+' conftest.er1
>conftest.err
15434 cat conftest.err
>&5
15435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15436 (exit $ac_status); } && {
15437 test -z "$ac_f77_werror_flag" ||
15438 test ! -s conftest.err
15439 } && test -s conftest
$ac_exeext && {
15440 test "$cross_compiling" = yes ||
15441 $as_test_x conftest
$ac_exeext
15444 lt_aix_libpath_sed
='
15445 /Import File Strings/,/^$/ {
15451 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15452 # Check for a 64-bit object if we didn't find anything.
15453 if test -z "$aix_libpath"; then
15454 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15457 $as_echo "$as_me: failed program was:" >&5
15458 sed 's/^/| /' conftest.
$ac_ext >&5
15463 rm -rf conftest.dSYM
15464 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15465 conftest
$ac_exeext conftest.
$ac_ext
15466 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15468 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
15469 # Warning - without using the other run time loading flags,
15470 # -berok will link without error, but may produce a broken library.
15471 no_undefined_flag_F77
=' ${wl}-bernotok'
15472 allow_undefined_flag_F77
=' ${wl}-berok'
15473 # Exported symbols can be pulled into shared objects from archives
15474 whole_archive_flag_spec_F77
='$convenience'
15475 archive_cmds_need_lc_F77
=yes
15476 # This is similar to how AIX traditionally builds its shared libraries.
15477 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'
15483 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)'
15484 hardcode_libdir_flag_spec_F77
='-L$libdir'
15485 hardcode_minus_L_F77
=yes
15486 # see comment about different semantics on the GNU ld section
15491 export_dynamic_flag_spec_F77
=-rdynamic
15494 cygwin
* | mingw
* | pw32
*)
15495 # When not using gcc, we currently assume that we are using
15496 # Microsoft Visual C++.
15497 # hardcode_libdir_flag_spec is actually meaningless, as there is
15498 # no search path for DLLs.
15499 hardcode_libdir_flag_spec_F77
=' '
15500 allow_undefined_flag_F77
=unsupported
15501 # Tell ltmain to make .lib files, not .a files.
15503 # Tell ltmain to make .dll files, not .so files.
15505 # FIXME: Setting linknames here is a bad hack.
15506 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15507 # The linker will automatically build a .lib file if we build a DLL.
15508 old_archive_From_new_cmds_F77
='true'
15509 # FIXME: Should let the user specify the lib program.
15510 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
15511 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15512 enable_shared_with_static_runtimes_F77
=yes
15515 darwin
* | rhapsody
*)
15517 rhapsody
* | darwin1.
[012])
15518 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
15521 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15522 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15524 case ${MACOSX_DEPLOYMENT_TARGET} in
15526 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15529 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15535 archive_cmds_need_lc_F77
=no
15536 hardcode_direct_F77
=no
15537 hardcode_automatic_F77
=yes
15538 hardcode_shlibpath_var_F77
=unsupported
15539 whole_archive_flag_spec_F77
=''
15540 link_all_deplibs_F77
=yes
15541 if test "$GCC" = yes ; then
15542 output_verbose_link_cmd
='echo'
15543 archive_cmds_F77
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15544 module_cmds_F77
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15545 archive_expsym_cmds_F77
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
15546 module_expsym_cmds_F77
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
15548 case $cc_basename in
15550 output_verbose_link_cmd
='echo'
15551 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15552 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15553 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15554 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15555 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}'
15565 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15566 hardcode_libdir_flag_spec_F77
='-L$libdir'
15567 hardcode_shlibpath_var_F77
=no
15574 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15575 # support. Future versions do this automatically, but an explicit c++rt0.o
15576 # does not break anything, and helps significantly (at the cost of a little
15579 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15580 hardcode_libdir_flag_spec_F77
='-R$libdir'
15581 hardcode_direct_F77
=yes
15582 hardcode_shlibpath_var_F77
=no
15585 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15587 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15588 hardcode_direct_F77
=yes
15589 hardcode_minus_L_F77
=yes
15590 hardcode_shlibpath_var_F77
=no
15593 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15594 freebsd
* | dragonfly
*)
15595 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15596 hardcode_libdir_flag_spec_F77
='-R$libdir'
15597 hardcode_direct_F77
=yes
15598 hardcode_shlibpath_var_F77
=no
15602 if test "$GCC" = yes; then
15603 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'
15605 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'
15607 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15608 hardcode_libdir_separator_F77
=:
15609 hardcode_direct_F77
=yes
15611 # hardcode_minus_L: Not really in the search PATH,
15612 # but as the default location of the library.
15613 hardcode_minus_L_F77
=yes
15614 export_dynamic_flag_spec_F77
='${wl}-E'
15618 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15619 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15621 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15623 if test "$with_gnu_ld" = no
; then
15624 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15625 hardcode_libdir_separator_F77
=:
15627 hardcode_direct_F77
=yes
15628 export_dynamic_flag_spec_F77
='${wl}-E'
15630 # hardcode_minus_L: Not really in the search PATH,
15631 # but as the default location of the library.
15632 hardcode_minus_L_F77
=yes
15637 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15640 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15643 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15646 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15652 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15655 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15658 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15662 if test "$with_gnu_ld" = no
; then
15663 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15664 hardcode_libdir_separator_F77
=:
15668 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15669 hardcode_direct_F77
=no
15670 hardcode_shlibpath_var_F77
=no
15673 hardcode_direct_F77
=yes
15674 export_dynamic_flag_spec_F77
='${wl}-E'
15676 # hardcode_minus_L: Not really in the search PATH,
15677 # but as the default location of the library.
15678 hardcode_minus_L_F77
=yes
15684 irix5
* | irix6
* | nonstopux
*)
15685 if test "$GCC" = yes; then
15686 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'
15688 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'
15689 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15691 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15692 hardcode_libdir_separator_F77
=:
15693 link_all_deplibs_F77
=yes
15697 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15698 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15700 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15702 hardcode_libdir_flag_spec_F77
='-R$libdir'
15703 hardcode_direct_F77
=yes
15704 hardcode_shlibpath_var_F77
=no
15708 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15709 hardcode_direct_F77
=yes
15710 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15711 hardcode_libdir_separator_F77
=:
15712 hardcode_shlibpath_var_F77
=no
15716 if test -f /usr
/libexec
/ld.so
; then
15717 hardcode_direct_F77
=yes
15718 hardcode_shlibpath_var_F77
=no
15719 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15720 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15721 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15722 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15723 export_dynamic_flag_spec_F77
='${wl}-E'
15726 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15727 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15728 hardcode_libdir_flag_spec_F77
='-R$libdir'
15731 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15732 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15742 hardcode_libdir_flag_spec_F77
='-L$libdir'
15743 hardcode_minus_L_F77
=yes
15744 allow_undefined_flag_F77
=unsupported
15745 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'
15746 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15750 if test "$GCC" = yes; then
15751 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15752 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'
15754 allow_undefined_flag_F77
=' -expect_unresolved \*'
15755 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'
15757 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15758 hardcode_libdir_separator_F77
=:
15761 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15762 if test "$GCC" = yes; then
15763 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15764 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'
15765 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15767 allow_undefined_flag_F77
=' -expect_unresolved \*'
15768 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'
15769 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~
15770 $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'
15772 # Both c and cxx compiler support -rpath directly
15773 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15775 hardcode_libdir_separator_F77
=:
15779 no_undefined_flag_F77
=' -z text'
15780 if test "$GCC" = yes; then
15782 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15783 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15784 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15787 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15788 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15789 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15791 hardcode_libdir_flag_spec_F77
='-R$libdir'
15792 hardcode_shlibpath_var_F77
=no
15794 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15796 # The compiler driver will combine and reorder linker options,
15797 # but understands `-z linker_flag'. GCC discards it without `$wl',
15798 # but is careful enough not to reorder.
15799 # Supported since Solaris 2.6 (maybe 2.5.1?)
15800 if test "$GCC" = yes; then
15801 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15803 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
15807 link_all_deplibs_F77
=yes
15811 if test "x$host_vendor" = xsequent
; then
15812 # Use $CC to link under sequent, because it throws in some extra .o
15813 # files that make .init and .fini sections work.
15814 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15816 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15818 hardcode_libdir_flag_spec_F77
='-L$libdir'
15819 hardcode_direct_F77
=yes
15820 hardcode_minus_L_F77
=yes
15821 hardcode_shlibpath_var_F77
=no
15825 case $host_vendor in
15827 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15828 hardcode_direct_F77
=yes # is this really true???
15831 ## LD is ld it makes a PLAMLIB
15832 ## CC just makes a GrossModule.
15833 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15834 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15835 hardcode_direct_F77
=no
15838 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15839 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15842 runpath_var
='LD_RUN_PATH'
15843 hardcode_shlibpath_var_F77
=no
15847 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15848 hardcode_shlibpath_var_F77
=no
15849 export_dynamic_flag_spec_F77
='-Bexport'
15853 if test -d /usr
/nec
; then
15854 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15855 hardcode_shlibpath_var_F77
=no
15856 runpath_var
=LD_RUN_PATH
15857 hardcode_runpath_var
=yes
15862 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15863 no_undefined_flag_F77
='${wl}-z,text'
15864 archive_cmds_need_lc_F77
=no
15865 hardcode_shlibpath_var_F77
=no
15866 runpath_var
='LD_RUN_PATH'
15868 if test "$GCC" = yes; then
15869 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15870 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15872 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15873 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15877 sysv5
* | sco3.2v5
* | sco5v6
*)
15878 # Note: We can NOT use -z defs as we might desire, because we do not
15879 # link with -lc, and that would cause any symbols used from libc to
15880 # always be unresolved, which means just about no library would
15881 # ever link correctly. If we're not using GNU ld we use -z text
15882 # though, which does catch some bad symbols but isn't as heavy-handed
15884 no_undefined_flag_F77
='${wl}-z,text'
15885 allow_undefined_flag_F77
='${wl}-z,nodefs'
15886 archive_cmds_need_lc_F77
=no
15887 hardcode_shlibpath_var_F77
=no
15888 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15889 hardcode_libdir_separator_F77
=':'
15890 link_all_deplibs_F77
=yes
15891 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15892 runpath_var
='LD_RUN_PATH'
15894 if test "$GCC" = yes; then
15895 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15896 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15898 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15899 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15904 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15905 hardcode_libdir_flag_spec_F77
='-L$libdir'
15906 hardcode_shlibpath_var_F77
=no
15915 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15916 $as_echo "$ld_shlibs_F77" >&6; }
15917 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15920 # Do we need to explicitly link libc?
15922 case "x$archive_cmds_need_lc_F77" in
15924 # Assume -lc should be added
15925 archive_cmds_need_lc_F77
=yes
15927 if test "$enable_shared" = yes && test "$GCC" = yes; then
15928 case $archive_cmds_F77 in
15930 # FIXME: we may have to deal with multi-command sequences.
15933 # Test whether the compiler implicitly links with -lc since on some
15934 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15935 # to ld, don't add -lc before -lgcc.
15936 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15937 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15939 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15942 (eval $ac_compile) 2>&5
15944 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); } 2>conftest.err
; then
15948 libobjs
=conftest.
$ac_objext
15950 wl
=$lt_prog_compiler_wl_F77
15951 pic_flag
=$lt_prog_compiler_pic_F77
15957 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15958 allow_undefined_flag_F77
=
15959 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15960 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15962 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15963 (exit $ac_status); }
15965 archive_cmds_need_lc_F77
=no
15967 archive_cmds_need_lc_F77
=yes
15969 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15971 cat conftest.err
1>&5
15974 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15975 $as_echo "$archive_cmds_need_lc_F77" >&6; }
15982 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15983 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15984 library_names_spec
=
15985 libname_spec
='lib$name'
15989 postuninstall_cmds
=
15993 shlibpath_overrides_runpath
=unknown
15995 dynamic_linker
="$host_os ld.so"
15996 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15998 need_lib_prefix
=unknown
15999 hardcode_into_libs
=no
16001 # when you set need_version to no, make sure it does not cause -set_version
16002 # flags to be left without arguments
16003 need_version
=unknown
16008 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16009 shlibpath_var
=LIBPATH
16011 # AIX 3 has no versioning support, so we append a major version to the name.
16012 soname_spec
='${libname}${release}${shared_ext}$major'
16019 hardcode_into_libs
=yes
16020 if test "$host_cpu" = ia64
; then
16021 # AIX 5 supports IA64
16022 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16023 shlibpath_var
=LD_LIBRARY_PATH
16025 # With GCC up to 2.95.x, collect2 would create an import file
16026 # for dependence libraries. The import file would start with
16027 # the line `#! .'. This would cause the generated library to
16028 # depend on `.', always an invalid library. This was fixed in
16029 # development snapshots of GCC prior to 3.0.
16031 aix4 | aix4.
[01] | aix4.
[01].
*)
16032 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16034 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
16037 can_build_shared
=no
16041 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16042 # soname into executable. Probably we can add versioning support to
16043 # collect2, so additional links can be useful in future.
16044 if test "$aix_use_runtimelinking" = yes; then
16045 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16046 # instead of lib<name>.a to let people know that these are not
16047 # typical AIX shared libraries.
16048 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16050 # We preserve .a as extension for shared libraries through AIX4.2
16051 # and later when we are not doing run time linking.
16052 library_names_spec
='${libname}${release}.a $libname.a'
16053 soname_spec
='${libname}${release}${shared_ext}$major'
16055 shlibpath_var
=LIBPATH
16060 library_names_spec
='$libname.ixlibrary $libname.a'
16061 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16062 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'
16066 library_names_spec
='${libname}${shared_ext}'
16067 dynamic_linker
="$host_os ld.so"
16068 shlibpath_var
=LIBRARY_PATH
16074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16075 soname_spec
='${libname}${release}${shared_ext}$major'
16076 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16077 shlibpath_var
=LD_LIBRARY_PATH
16078 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16079 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16080 # the default ld.so.conf also contains /usr/contrib/lib and
16081 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16082 # libtool to hard-code these into programs
16085 cygwin
* | mingw
* | pw32
*)
16086 version_type
=windows
16091 case $GCC,$host_os in
16092 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
16093 library_names_spec
='$libname.dll.a'
16094 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16095 postinstall_cmds
='base_file=`basename \${file}`~
16096 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16097 dldir=$destdir/`dirname \$dlpath`~
16098 test -d \$dldir || mkdir -p \$dldir~
16099 $install_prog $dir/$dlname \$dldir/$dlname~
16100 chmod a+x \$dldir/$dlname'
16101 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16102 dlpath=$dir/\$dldll~
16104 shlibpath_overrides_runpath
=yes
16108 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16109 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16110 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16113 # MinGW DLLs use traditional 'lib' prefix
16114 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16115 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16116 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
16117 # It is most probably a Windows format PATH printed by
16118 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16119 # path with ; separators, and with drive letters. We can handle the
16120 # drive letters (cygwin fileutils understands them), so leave them,
16121 # especially as we might pass files found there to a mingw objdump,
16122 # which wouldn't understand a cygwinified path. Ahh.
16123 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16125 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16129 # pw32 DLLs use 'pw' prefix rather than 'lib'
16130 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16136 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16139 dynamic_linker
='Win32 ld.exe'
16140 # FIXME: first we should search . and the directory the executable is in
16144 darwin
* | rhapsody
*)
16145 dynamic_linker
="$host_os dyld"
16146 version_type
=darwin
16149 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16150 soname_spec
='${libname}${release}${major}$shared_ext'
16151 shlibpath_overrides_runpath
=yes
16152 shlibpath_var
=DYLD_LIBRARY_PATH
16153 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
16155 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16162 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16163 soname_spec
='${libname}${release}${shared_ext}$major'
16164 shlibpath_var
=LD_LIBRARY_PATH
16171 freebsd
* | dragonfly
*)
16172 # DragonFly does not have aout. When/if they implement a new
16173 # versioning mechanism, adjust this.
16174 if test -x /usr
/bin
/objformat
; then
16175 objformat
=`/usr/bin/objformat`
16178 freebsd
[123]*) objformat
=aout
;;
16179 *) objformat
=elf
;;
16182 version_type
=freebsd-
$objformat
16183 case $version_type in
16185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16190 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16194 shlibpath_var
=LD_LIBRARY_PATH
16197 shlibpath_overrides_runpath
=yes
16199 freebsd3.
[01]* | freebsdelf3.
[01]*)
16200 shlibpath_overrides_runpath
=yes
16201 hardcode_into_libs
=yes
16203 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16204 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16205 shlibpath_overrides_runpath
=no
16206 hardcode_into_libs
=yes
16208 *) # from 4.6 on, and DragonFly
16209 shlibpath_overrides_runpath
=yes
16210 hardcode_into_libs
=yes
16219 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16220 soname_spec
='${libname}${release}${shared_ext}$major'
16221 shlibpath_var
=LD_LIBRARY_PATH
16222 hardcode_into_libs
=yes
16225 hpux9
* | hpux10
* | hpux11
*)
16226 # Give a soname corresponding to the major version so that dld.sl refuses to
16227 # link against other versions.
16234 hardcode_into_libs
=yes
16235 dynamic_linker
="$host_os dld.so"
16236 shlibpath_var
=LD_LIBRARY_PATH
16237 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16238 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16239 soname_spec
='${libname}${release}${shared_ext}$major'
16240 if test "X$HPUX_IA64_MODE" = X32
; then
16241 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16243 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16245 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16249 hardcode_into_libs
=yes
16250 dynamic_linker
="$host_os dld.sl"
16251 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16252 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16253 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16254 soname_spec
='${libname}${release}${shared_ext}$major'
16255 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16256 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16260 dynamic_linker
="$host_os dld.sl"
16261 shlibpath_var
=SHLIB_PATH
16262 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16263 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16264 soname_spec
='${libname}${release}${shared_ext}$major'
16267 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16268 postinstall_cmds
='chmod 555 $lib'
16275 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16276 soname_spec
='${libname}${release}${shared_ext}$major'
16277 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16278 shlibpath_var
=LD_LIBRARY_PATH
16279 shlibpath_overrides_runpath
=no
16280 hardcode_into_libs
=yes
16283 irix5
* | irix6
* | nonstopux
*)
16285 nonstopux
*) version_type
=nonstopux
;;
16287 if test "$lt_cv_prog_gnu_ld" = yes; then
16295 soname_spec
='${libname}${release}${shared_ext}$major'
16296 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16298 irix5
* | nonstopux
*)
16299 libsuff
= shlibsuff
=
16302 case $LD in # libtool.m4 will add one of these switches to LD
16303 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16304 libsuff
= shlibsuff
= libmagic
=32-bit;;
16305 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16306 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16307 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16308 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16309 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16313 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16314 shlibpath_overrides_runpath
=no
16315 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16316 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16317 hardcode_into_libs
=yes
16320 # No shared lib support for Linux oldld, aout, or coff.
16321 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16325 # This must be Linux ELF.
16326 linux
* | k
*bsd
*-gnu)
16330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16331 soname_spec
='${libname}${release}${shared_ext}$major'
16332 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16333 shlibpath_var
=LD_LIBRARY_PATH
16334 shlibpath_overrides_runpath
=no
16335 # This implies no fast_install, which is unacceptable.
16336 # Some rework will be needed to allow for fast_install
16337 # before this can be enabled.
16338 hardcode_into_libs
=yes
16339 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16340 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16342 # Append ld.so.conf contents to the search path
16343 if test -f /etc
/ld.so.conf
; then
16344 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16345 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
16348 # We used to test for /lib/ld.so.1 and disable shared libraries on
16349 # powerpc, because MkLinux only supported shared libraries with the
16350 # GNU dynamic linker. Since this was broken with cross compilers,
16351 # most powerpc-linux boxes support dynamic linking these days and
16352 # people can always --disable-shared, the test was removed, and we
16353 # assume the GNU/Linux dynamic linker is in use.
16354 dynamic_linker
='GNU/Linux ld.so'
16361 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16362 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16363 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16364 dynamic_linker
='NetBSD (a.out) ld.so'
16366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16367 soname_spec
='${libname}${release}${shared_ext}$major'
16368 dynamic_linker
='NetBSD ld.elf_so'
16370 shlibpath_var
=LD_LIBRARY_PATH
16371 shlibpath_overrides_runpath
=yes
16372 hardcode_into_libs
=yes
16377 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16378 shlibpath_var
=LD_LIBRARY_PATH
16379 shlibpath_overrides_runpath
=yes
16386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16387 soname_spec
='${libname}${release}${shared_ext}$major'
16388 shlibpath_var
=LD_LIBRARY_PATH
16389 shlibpath_overrides_runpath
=yes
16394 sys_lib_dlsearch_path_spec
="/usr/lib"
16396 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16398 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16399 *) need_version
=no
;;
16401 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16402 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16403 shlibpath_var
=LD_LIBRARY_PATH
16404 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16406 openbsd2.
[89] | openbsd2.
[89].
*)
16407 shlibpath_overrides_runpath
=no
16410 shlibpath_overrides_runpath
=yes
16414 shlibpath_overrides_runpath
=yes
16419 libname_spec
='$name'
16422 library_names_spec
='$libname${shared_ext} $libname.a'
16423 dynamic_linker
='OS/2 ld.exe'
16424 shlibpath_var
=LIBPATH
16427 osf3
* | osf4
* | osf5
*)
16431 soname_spec
='${libname}${release}${shared_ext}$major'
16432 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16433 shlibpath_var
=LD_LIBRARY_PATH
16434 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16435 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16446 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16447 soname_spec
='${libname}${release}${shared_ext}$major'
16448 shlibpath_var
=LD_LIBRARY_PATH
16449 shlibpath_overrides_runpath
=yes
16450 hardcode_into_libs
=yes
16451 # ldd complains unless libraries are executable
16452 postinstall_cmds
='chmod +x $lib'
16457 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16458 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16459 shlibpath_var
=LD_LIBRARY_PATH
16460 shlibpath_overrides_runpath
=yes
16461 if test "$with_gnu_ld" = yes; then
16469 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16470 soname_spec
='${libname}${release}${shared_ext}$major'
16471 shlibpath_var
=LD_LIBRARY_PATH
16472 case $host_vendor in
16474 shlibpath_overrides_runpath
=no
16476 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16477 runpath_var
=LD_RUN_PATH
16485 shlibpath_overrides_runpath
=no
16486 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16492 if test -d /usr
/nec
;then
16494 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16495 soname_spec
='$libname${shared_ext}.$major'
16496 shlibpath_var
=LD_LIBRARY_PATH
16500 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16501 version_type
=freebsd-elf
16504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16505 soname_spec
='${libname}${release}${shared_ext}$major'
16506 shlibpath_var
=LD_LIBRARY_PATH
16507 hardcode_into_libs
=yes
16508 if test "$with_gnu_ld" = yes; then
16509 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16510 shlibpath_overrides_runpath
=no
16512 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16513 shlibpath_overrides_runpath
=yes
16516 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16520 sys_lib_dlsearch_path_spec
='/usr/lib'
16525 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16526 soname_spec
='${libname}${release}${shared_ext}$major'
16527 shlibpath_var
=LD_LIBRARY_PATH
16534 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16535 $as_echo "$dynamic_linker" >&6; }
16536 test "$dynamic_linker" = no
&& can_build_shared
=no
16538 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16539 $as_echo_n "(cached) " >&6
16541 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
16544 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16545 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16546 $as_echo_n "(cached) " >&6
16548 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
16551 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16553 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16554 if test "$GCC" = yes; then
16555 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16558 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16559 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16560 hardcode_action_F77
=
16561 if test -n "$hardcode_libdir_flag_spec_F77" || \
16562 test -n "$runpath_var_F77" || \
16563 test "X$hardcode_automatic_F77" = "Xyes" ; then
16565 # We can hardcode non-existant directories.
16566 if test "$hardcode_direct_F77" != no
&&
16567 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16568 # have to relink, otherwise we might link with an installed library
16569 # when we should be linking with a yet-to-be-installed one
16570 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16571 test "$hardcode_minus_L_F77" != no
; then
16572 # Linking always hardcodes the temporary library directory.
16573 hardcode_action_F77
=relink
16575 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16576 hardcode_action_F77
=immediate
16579 # We cannot hardcode anything, or else we can only hardcode existing
16581 hardcode_action_F77
=unsupported
16583 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16584 $as_echo "$hardcode_action_F77" >&6; }
16586 if test "$hardcode_action_F77" = relink
; then
16587 # Fast installation is not supported
16588 enable_fast_install
=no
16589 elif test "$shlibpath_overrides_runpath" = yes ||
16590 test "$enable_shared" = no
; then
16591 # Fast installation is not necessary
16592 enable_fast_install
=needless
16596 # The else clause should only fire when bootstrapping the
16597 # libtool distribution, otherwise you forgot to ship ltmain.sh
16598 # with your package, and you will get complaints that there are
16599 # no rules to generate ltmain.sh.
16600 if test -f "$ltmain"; then
16601 # See if we are running on zsh, and set the options which allow our commands through
16602 # without removal of \ escapes.
16603 if test -n "${ZSH_VERSION+set}" ; then
16604 setopt NO_GLOB_SUBST
16606 # Now quote all the things that may contain metacharacters while being
16607 # careful not to overquote the AC_SUBSTed values. We take copies of the
16608 # variables and quote the copies for generation of the libtool script.
16609 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16611 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16612 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16613 deplibs_check_method reload_flag reload_cmds need_locks \
16614 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16615 lt_cv_sys_global_symbol_to_c_name_address \
16616 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16617 old_postinstall_cmds old_postuninstall_cmds \
16621 lt_prog_compiler_wl_F77 \
16622 lt_prog_compiler_pic_F77 \
16623 lt_prog_compiler_static_F77 \
16624 lt_prog_compiler_no_builtin_flag_F77 \
16625 export_dynamic_flag_spec_F77 \
16626 thread_safe_flag_spec_F77 \
16627 whole_archive_flag_spec_F77 \
16628 enable_shared_with_static_runtimes_F77 \
16629 old_archive_cmds_F77 \
16630 old_archive_from_new_cmds_F77 \
16631 predep_objects_F77 \
16632 postdep_objects_F77 \
16635 compiler_lib_search_path_F77 \
16636 compiler_lib_search_dirs_F77 \
16638 archive_expsym_cmds_F77 \
16639 postinstall_cmds_F77 \
16640 postuninstall_cmds_F77 \
16641 old_archive_from_expsyms_cmds_F77 \
16642 allow_undefined_flag_F77 \
16643 no_undefined_flag_F77 \
16644 export_symbols_cmds_F77 \
16645 hardcode_libdir_flag_spec_F77 \
16646 hardcode_libdir_flag_spec_ld_F77 \
16647 hardcode_libdir_separator_F77 \
16648 hardcode_automatic_F77 \
16650 module_expsym_cmds_F77 \
16651 lt_cv_prog_compiler_c_o_F77 \
16652 fix_srcfile_path_F77 \
16653 exclude_expsyms_F77 \
16654 include_expsyms_F77
; do
16657 old_archive_cmds_F77 | \
16658 old_archive_from_new_cmds_F77 | \
16659 archive_cmds_F77 | \
16660 archive_expsym_cmds_F77 | \
16661 module_cmds_F77 | \
16662 module_expsym_cmds_F77 | \
16663 old_archive_from_expsyms_cmds_F77 | \
16664 export_symbols_cmds_F77 | \
16665 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16666 postinstall_cmds | postuninstall_cmds | \
16667 old_postinstall_cmds | old_postuninstall_cmds | \
16668 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16669 # Double-quote double-evaled strings.
16670 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16673 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16679 *'\$0 --fallback-echo"')
16680 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16686 cat <<__EOF__ >> "$cfgfile"
16687 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16689 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16691 # Shell to use when invoking shell scripts.
16694 # Whether or not to build shared libraries.
16695 build_libtool_libs=$enable_shared
16697 # Whether or not to build static libraries.
16698 build_old_libs=$enable_static
16700 # Whether or not to add -lc for building shared libraries.
16701 build_libtool_need_lc=$archive_cmds_need_lc_F77
16703 # Whether or not to disallow shared libs when runtime libs are static
16704 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16706 # Whether or not to optimize for fast installation.
16707 fast_install=$enable_fast_install
16710 host_alias=$host_alias
16714 # The build system.
16715 build_alias=$build_alias
16719 # An echo program that does not interpret backslashes.
16724 AR_FLAGS=$lt_AR_FLAGS
16729 # LTCC compiler flags.
16730 LTCFLAGS=$lt_LTCFLAGS
16732 # A language-specific compiler.
16733 CC=$lt_compiler_F77
16735 # Is the compiler the GNU C compiler?
16741 # The linker used to build libraries.
16744 # Whether we need hard or soft links.
16747 # A BSD-compatible nm program.
16750 # A symbol stripping program
16753 # Used to examine libraries when file_magic_cmd begins "file"
16754 MAGIC_CMD=$MAGIC_CMD
16756 # Used on cygwin: DLL creation program.
16759 # Used on cygwin: object dumper.
16762 # Used on cygwin: assembler.
16765 # The name of the directory that contains temporary libtool files.
16768 # How to create reloadable object files.
16769 reload_flag=$lt_reload_flag
16770 reload_cmds=$lt_reload_cmds
16772 # How to pass a linker flag through the compiler.
16773 wl=$lt_lt_prog_compiler_wl_F77
16775 # Object file suffix (normally "o").
16776 objext="$ac_objext"
16778 # Old archive suffix (normally "a").
16781 # Shared library suffix (normally ".so").
16782 shrext_cmds='$shrext_cmds'
16784 # Executable file suffix (normally "").
16787 # Additional compiler flags for building library objects.
16788 pic_flag=$lt_lt_prog_compiler_pic_F77
16791 # What is the maximum length of a command?
16792 max_cmd_len=$lt_cv_sys_max_cmd_len
16794 # Does compiler simultaneously support -c and -o options?
16795 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16797 # Must we lock files when doing compilation?
16798 need_locks=$lt_need_locks
16800 # Do we need the lib prefix for modules?
16801 need_lib_prefix=$need_lib_prefix
16803 # Do we need a version for libraries?
16804 need_version=$need_version
16806 # Whether dlopen is supported.
16807 dlopen_support=$enable_dlopen
16809 # Whether dlopen of programs is supported.
16810 dlopen_self=$enable_dlopen_self
16812 # Whether dlopen of statically linked programs is supported.
16813 dlopen_self_static=$enable_dlopen_self_static
16815 # Compiler flag to prevent dynamic linking.
16816 link_static_flag=$lt_lt_prog_compiler_static_F77
16818 # Compiler flag to turn off builtin functions.
16819 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16821 # Compiler flag to allow reflexive dlopens.
16822 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16824 # Compiler flag to generate shared objects directly from archives.
16825 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16827 # Compiler flag to generate thread-safe objects.
16828 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16830 # Library versioning type.
16831 version_type=$version_type
16833 # Format of library name prefix.
16834 libname_spec=$lt_libname_spec
16836 # List of archive names. First name is the real one, the rest are links.
16837 # The last name is the one that the linker finds with -lNAME.
16838 library_names_spec=$lt_library_names_spec
16840 # The coded name of the library, if different from the real name.
16841 soname_spec=$lt_soname_spec
16843 # Commands used to build and install an old-style archive.
16845 old_archive_cmds=$lt_old_archive_cmds_F77
16846 old_postinstall_cmds=$lt_old_postinstall_cmds
16847 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16849 # Create an old-style archive from a shared archive.
16850 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16852 # Create a temporary old-style archive to link instead of a shared archive.
16853 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16855 # Commands used to build and install a shared archive.
16856 archive_cmds=$lt_archive_cmds_F77
16857 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16858 postinstall_cmds=$lt_postinstall_cmds
16859 postuninstall_cmds=$lt_postuninstall_cmds
16861 # Commands used to build a loadable module (assumed same as above if empty)
16862 module_cmds=$lt_module_cmds_F77
16863 module_expsym_cmds=$lt_module_expsym_cmds_F77
16865 # Commands to strip libraries.
16866 old_striplib=$lt_old_striplib
16867 striplib=$lt_striplib
16869 # Dependencies to place before the objects being linked to create a
16871 predep_objects=$lt_predep_objects_F77
16873 # Dependencies to place after the objects being linked to create a
16875 postdep_objects=$lt_postdep_objects_F77
16877 # Dependencies to place before the objects being linked to create a
16879 predeps=$lt_predeps_F77
16881 # Dependencies to place after the objects being linked to create a
16883 postdeps=$lt_postdeps_F77
16885 # The directories searched by this compiler when creating a shared
16887 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
16889 # The library search path used internally by the compiler when linking
16890 # a shared library.
16891 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16893 # Method to check whether dependent libraries are shared objects.
16894 deplibs_check_method=$lt_deplibs_check_method
16896 # Command to use when deplibs_check_method == file_magic.
16897 file_magic_cmd=$lt_file_magic_cmd
16899 # Flag that allows shared libraries with undefined symbols to be built.
16900 allow_undefined_flag=$lt_allow_undefined_flag_F77
16902 # Flag that forces no undefined symbols.
16903 no_undefined_flag=$lt_no_undefined_flag_F77
16905 # Commands used to finish a libtool library installation in a directory.
16906 finish_cmds=$lt_finish_cmds
16908 # Same as above, but a single script fragment to be evaled but not shown.
16909 finish_eval=$lt_finish_eval
16911 # Take the output of nm and produce a listing of raw symbols and C names.
16912 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16914 # Transform the output of nm in a proper C declaration
16915 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16917 # Transform the output of nm in a C name address pair
16918 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16920 # This is the shared library runtime path variable.
16921 runpath_var=$runpath_var
16923 # This is the shared library path variable.
16924 shlibpath_var=$shlibpath_var
16926 # Is shlibpath searched before the hard-coded library search path?
16927 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16929 # How to hardcode a shared library path into an executable.
16930 hardcode_action=$hardcode_action_F77
16932 # Whether we should hardcode library paths into libraries.
16933 hardcode_into_libs=$hardcode_into_libs
16935 # Flag to hardcode \$libdir into a binary during linking.
16936 # This must work even if \$libdir does not exist.
16937 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16939 # If ld is used when linking, flag to hardcode \$libdir into
16940 # a binary during linking. This must work even if \$libdir does
16942 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16944 # Whether we need a single -rpath flag with a separated argument.
16945 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16947 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16948 # resulting binary.
16949 hardcode_direct=$hardcode_direct_F77
16951 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16952 # resulting binary.
16953 hardcode_minus_L=$hardcode_minus_L_F77
16955 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16956 # the resulting binary.
16957 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16959 # Set to yes if building a shared library automatically hardcodes DIR into the library
16960 # and all subsequent libraries and executables linked against it.
16961 hardcode_automatic=$hardcode_automatic_F77
16963 # Variables whose values should be saved in libtool wrapper scripts and
16964 # restored at relink time.
16965 variables_saved_for_relink="$variables_saved_for_relink"
16967 # Whether libtool must link a program against all its dependency libraries.
16968 link_all_deplibs=$link_all_deplibs_F77
16970 # Compile-time system search path for libraries
16971 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16973 # Run-time system search path for libraries
16974 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16976 # Fix the shell variable \$srcfile for the compiler.
16977 fix_srcfile_path=$lt_fix_srcfile_path
16979 # Set to yes if exported symbols are required.
16980 always_export_symbols=$always_export_symbols_F77
16982 # The commands to list exported symbols.
16983 export_symbols_cmds=$lt_export_symbols_cmds_F77
16985 # The commands to extract the exported symbol list from a shared archive.
16986 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16988 # Symbols that should not be listed in the preloaded symbols.
16989 exclude_expsyms=$lt_exclude_expsyms_F77
16991 # Symbols that must always be exported.
16992 include_expsyms=$lt_include_expsyms_F77
16994 # ### END LIBTOOL TAG CONFIG: $tagname
17000 # If there is no Makefile yet, we rely on a make rule to execute
17001 # `config.status --recheck' to rerun these tests and create the
17002 # libtool script then.
17003 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17004 if test -f "$ltmain_in"; then
17005 test -f Makefile
&& make "$ltmain"
17011 ac_cpp
='$CPP $CPPFLAGS'
17012 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17013 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17014 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17024 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17027 # Source file extension for Java test sources.
17030 # Object file extension for compiled Java test sources.
17034 # Code to be used in simple compile tests
17035 lt_simple_compile_test_code
="class foo {}"
17037 # Code to be used in simple link tests
17038 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
17040 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17042 # If no C compiler was specified, use CC.
17045 # If no C compiler flags were specified, use CFLAGS.
17046 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
17048 # Allow CC to be a program name with arguments.
17052 # save warnings/boilerplate of simple test code
17053 ac_outfile
=conftest.
$ac_objext
17054 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
17055 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17056 _lt_compiler_boilerplate
=`cat conftest.err`
17059 ac_outfile
=conftest.
$ac_objext
17060 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
17061 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17062 _lt_linker_boilerplate
=`cat conftest.err`
17066 # Allow CC to be a program name with arguments.
17071 for cc_temp
in $compiler""; do
17073 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17074 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17079 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17082 # GCJ did not exist at the time GCC didn't implicitly link libc in.
17083 archive_cmds_need_lc_GCJ
=no
17085 old_archive_cmds_GCJ
=$old_archive_cmds
17088 lt_prog_compiler_no_builtin_flag_GCJ
=
17090 if test "$GCC" = yes; then
17091 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
17094 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17095 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
17096 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17097 $as_echo_n "(cached) " >&6
17099 lt_cv_prog_compiler_rtti_exceptions
=no
17100 ac_outfile
=conftest.
$ac_objext
17101 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17102 lt_compiler_flag
="-fno-rtti -fno-exceptions"
17103 # Insert the option either (1) after the last *FLAGS variable, or
17104 # (2) before a word containing "conftest.", or (3) at the end.
17105 # Note that $ac_compile itself does not contain backslashes and begins
17106 # with a dollar sign (not a hyphen), so the echo should work correctly.
17107 # The option is referenced via a variable to avoid confusing sed.
17108 lt_compile
=`echo "$ac_compile" | $SED \
17109 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17110 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17111 -e 's:$: $lt_compiler_flag:'`
17112 (eval echo "\"\$as_me:17112: $lt_compile\"" >&5)
17113 (eval "$lt_compile" 2>conftest.err
)
17115 cat conftest.err
>&5
17116 echo "$as_me:17116: \$? = $ac_status" >&5
17117 if (exit $ac_status) && test -s "$ac_outfile"; then
17118 # The compiler can only warn and ignore the option if not recognized
17119 # So say no if there are warnings other than the usual output.
17120 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17121 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17122 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17123 lt_cv_prog_compiler_rtti_exceptions
=yes
17129 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17130 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17132 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
17133 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17140 lt_prog_compiler_wl_GCJ
=
17141 lt_prog_compiler_pic_GCJ
=
17142 lt_prog_compiler_static_GCJ
=
17144 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17145 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17147 if test "$GCC" = yes; then
17148 lt_prog_compiler_wl_GCJ
='-Wl,'
17149 lt_prog_compiler_static_GCJ
='-static'
17153 # All AIX code is PIC.
17154 if test "$host_cpu" = ia64
; then
17155 # AIX 5 now supports IA64 processor
17156 lt_prog_compiler_static_GCJ
='-Bstatic'
17161 # FIXME: we need at least 68020 code to build shared libraries, but
17162 # adding the `-m68020' flag to GCC prevents building anything better,
17164 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
17167 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
17168 # PIC is the default for these OSes.
17171 mingw
* | cygwin
* | pw32
* | os2
*)
17172 # This hack is so that the source file can tell whether it is being
17173 # built for inclusion in a dll (and should export symbols for example).
17174 # Although the cygwin gcc ignores -fPIC, still need this for old-style
17175 # (--disable-auto-import) libraries
17179 darwin
* | rhapsody
*)
17180 # PIC is the default on this platform
17181 # Common symbols not allowed in MH_DYLIB files
17182 lt_prog_compiler_pic_GCJ
='-fno-common'
17186 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17187 # Instead, we relocate shared libraries at runtime.
17191 # Just because we use GCC doesn't mean we suddenly get shared libraries
17192 # on systems that don't support them.
17193 lt_prog_compiler_can_build_shared_GCJ
=no
17198 if test -d /usr
/nec
; then
17199 lt_prog_compiler_pic_GCJ
=-Kconform_pic
17204 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17205 # not for PA HP-UX.
17211 lt_prog_compiler_pic_GCJ
='-fPIC'
17217 lt_prog_compiler_pic_GCJ
='-fPIC'
17221 # PORTME Check for flag to pass linker flags through the system compiler.
17224 lt_prog_compiler_wl_GCJ
='-Wl,'
17225 if test "$host_cpu" = ia64
; then
17226 # AIX 5 now supports IA64 processor
17227 lt_prog_compiler_static_GCJ
='-Bstatic'
17229 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
17233 # PIC is the default on this platform
17234 # Common symbols not allowed in MH_DYLIB files
17235 case $cc_basename in
17237 lt_prog_compiler_pic_GCJ
='-qnocommon'
17238 lt_prog_compiler_wl_GCJ
='-Wl,'
17243 mingw
* | cygwin
* | pw32
* | os2
*)
17244 # This hack is so that the source file can tell whether it is being
17245 # built for inclusion in a dll (and should export symbols for example).
17249 hpux9
* | hpux10
* | hpux11
*)
17250 lt_prog_compiler_wl_GCJ
='-Wl,'
17251 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17252 # not for PA HP-UX.
17258 lt_prog_compiler_pic_GCJ
='+Z'
17261 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17262 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
17265 irix5
* | irix6
* | nonstopux
*)
17266 lt_prog_compiler_wl_GCJ
='-Wl,'
17267 # PIC (with -KPIC) is the default.
17268 lt_prog_compiler_static_GCJ
='-non_shared'
17272 lt_prog_compiler_pic_GCJ
='-KPIC'
17273 lt_prog_compiler_static_GCJ
='-Bstatic'
17276 linux
* | k
*bsd
*-gnu)
17277 case $cc_basename in
17279 lt_prog_compiler_wl_GCJ
='-Wl,'
17280 lt_prog_compiler_pic_GCJ
='-KPIC'
17281 lt_prog_compiler_static_GCJ
='-static'
17283 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
17284 # Portland Group compilers (*not* the Pentium gcc compiler,
17285 # which looks to be a dead project)
17286 lt_prog_compiler_wl_GCJ
='-Wl,'
17287 lt_prog_compiler_pic_GCJ
='-fpic'
17288 lt_prog_compiler_static_GCJ
='-Bstatic'
17291 lt_prog_compiler_wl_GCJ
='-Wl,'
17292 # All Alpha code is PIC.
17293 lt_prog_compiler_static_GCJ
='-non_shared'
17296 case `$CC -V 2>&1 | sed 5q` in
17299 lt_prog_compiler_pic_GCJ
='-KPIC'
17300 lt_prog_compiler_static_GCJ
='-Bstatic'
17301 lt_prog_compiler_wl_GCJ
='-Wl,'
17304 # Sun Fortran 8.3 passes all unrecognized flags to the linker
17305 lt_prog_compiler_pic_GCJ
='-KPIC'
17306 lt_prog_compiler_static_GCJ
='-Bstatic'
17307 lt_prog_compiler_wl_GCJ
=''
17314 osf3
* | osf4
* | osf5
*)
17315 lt_prog_compiler_wl_GCJ
='-Wl,'
17316 # All OSF/1 code is PIC.
17317 lt_prog_compiler_static_GCJ
='-non_shared'
17321 lt_prog_compiler_static_GCJ
='-non_shared'
17325 lt_prog_compiler_pic_GCJ
='-KPIC'
17326 lt_prog_compiler_static_GCJ
='-Bstatic'
17327 case $cc_basename in
17328 f77
* | f90
* | f95
*)
17329 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
17331 lt_prog_compiler_wl_GCJ
='-Wl,';;
17336 lt_prog_compiler_wl_GCJ
='-Qoption ld '
17337 lt_prog_compiler_pic_GCJ
='-PIC'
17338 lt_prog_compiler_static_GCJ
='-Bstatic'
17341 sysv4 | sysv4.2uw2
* | sysv4.3
*)
17342 lt_prog_compiler_wl_GCJ
='-Wl,'
17343 lt_prog_compiler_pic_GCJ
='-KPIC'
17344 lt_prog_compiler_static_GCJ
='-Bstatic'
17348 if test -d /usr
/nec
;then
17349 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
17350 lt_prog_compiler_static_GCJ
='-Bstatic'
17354 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
17355 lt_prog_compiler_wl_GCJ
='-Wl,'
17356 lt_prog_compiler_pic_GCJ
='-KPIC'
17357 lt_prog_compiler_static_GCJ
='-Bstatic'
17361 lt_prog_compiler_wl_GCJ
='-Wl,'
17362 lt_prog_compiler_can_build_shared_GCJ
=no
17366 lt_prog_compiler_pic_GCJ
='-pic'
17367 lt_prog_compiler_static_GCJ
='-Bstatic'
17371 lt_prog_compiler_can_build_shared_GCJ
=no
17376 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17377 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
17380 # Check to make sure the PIC flag actually works.
17382 if test -n "$lt_prog_compiler_pic_GCJ"; then
17384 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17385 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
17386 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
17387 $as_echo_n "(cached) " >&6
17389 lt_cv_prog_compiler_pic_works_GCJ
=no
17390 ac_outfile
=conftest.
$ac_objext
17391 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17392 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
17393 # Insert the option either (1) after the last *FLAGS variable, or
17394 # (2) before a word containing "conftest.", or (3) at the end.
17395 # Note that $ac_compile itself does not contain backslashes and begins
17396 # with a dollar sign (not a hyphen), so the echo should work correctly.
17397 # The option is referenced via a variable to avoid confusing sed.
17398 lt_compile
=`echo "$ac_compile" | $SED \
17399 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17400 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17401 -e 's:$: $lt_compiler_flag:'`
17402 (eval echo "\"\$as_me:17402: $lt_compile\"" >&5)
17403 (eval "$lt_compile" 2>conftest.err
)
17405 cat conftest.err
>&5
17406 echo "$as_me:17406: \$? = $ac_status" >&5
17407 if (exit $ac_status) && test -s "$ac_outfile"; then
17408 # The compiler can only warn and ignore the option if not recognized
17409 # So say no if there are warnings other than the usual output.
17410 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17411 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17412 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17413 lt_cv_prog_compiler_pic_works_GCJ
=yes
17419 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
17420 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17422 if test x
"$lt_cv_prog_compiler_pic_works_GCJ" = xyes
; then
17423 case $lt_prog_compiler_pic_GCJ in
17425 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
17428 lt_prog_compiler_pic_GCJ
=
17429 lt_prog_compiler_can_build_shared_GCJ
=no
17434 # For platforms which do not support PIC, -DPIC is meaningless:
17436 lt_prog_compiler_pic_GCJ
=
17439 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
17444 # Check to make sure the static flag actually works.
17446 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
17447 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17448 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17449 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
17450 $as_echo_n "(cached) " >&6
17452 lt_cv_prog_compiler_static_works_GCJ
=no
17453 save_LDFLAGS
="$LDFLAGS"
17454 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17455 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
17456 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17457 # The linker can only warn and ignore the option if not recognized
17458 # So say no if there are warnings
17459 if test -s conftest.err
; then
17460 # Append any errors to the config.log.
17461 cat conftest.err
1>&5
17462 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
17463 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17464 if diff conftest.exp conftest.er2
>/dev
/null
; then
17465 lt_cv_prog_compiler_static_works_GCJ
=yes
17468 lt_cv_prog_compiler_static_works_GCJ
=yes
17472 LDFLAGS
="$save_LDFLAGS"
17475 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17476 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17478 if test x
"$lt_cv_prog_compiler_static_works_GCJ" = xyes
; then
17481 lt_prog_compiler_static_GCJ
=
17485 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17486 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17487 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17488 $as_echo_n "(cached) " >&6
17490 lt_cv_prog_compiler_c_o_GCJ
=no
17491 $rm -r conftest
2>/dev
/null
17495 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17497 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17498 # Insert the option either (1) after the last *FLAGS variable, or
17499 # (2) before a word containing "conftest.", or (3) at the end.
17500 # Note that $ac_compile itself does not contain backslashes and begins
17501 # with a dollar sign (not a hyphen), so the echo should work correctly.
17502 lt_compile
=`echo "$ac_compile" | $SED \
17503 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17504 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17505 -e 's:$: $lt_compiler_flag:'`
17506 (eval echo "\"\$as_me:17506: $lt_compile\"" >&5)
17507 (eval "$lt_compile" 2>out
/conftest.err
)
17509 cat out
/conftest.err
>&5
17510 echo "$as_me:17510: \$? = $ac_status" >&5
17511 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17513 # The compiler can only warn and ignore the option if not recognized
17514 # So say no if there are warnings
17515 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
17516 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17517 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17518 lt_cv_prog_compiler_c_o_GCJ
=yes
17523 # SGI C++ compiler will create directory out/ii_files/ for
17524 # template instantiation
17525 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17526 $rm out
/* && rmdir out
17532 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17533 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17536 hard_links
="nottested"
17537 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17538 # do not overwrite the value of need_locks provided by the user
17539 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17540 $as_echo_n "checking if we can lock with hard links... " >&6; }
17543 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17545 ln conftest.a conftest.b
2>&5 || hard_links
=no
17546 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17547 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
17548 $as_echo "$hard_links" >&6; }
17549 if test "$hard_links" = no
; then
17550 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17551 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17558 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17559 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17562 allow_undefined_flag_GCJ
=
17563 enable_shared_with_static_runtimes_GCJ
=no
17565 archive_expsym_cmds_GCJ
=
17566 old_archive_From_new_cmds_GCJ
=
17567 old_archive_from_expsyms_cmds_GCJ
=
17568 export_dynamic_flag_spec_GCJ
=
17569 whole_archive_flag_spec_GCJ
=
17570 thread_safe_flag_spec_GCJ
=
17571 hardcode_libdir_flag_spec_GCJ
=
17572 hardcode_libdir_flag_spec_ld_GCJ
=
17573 hardcode_libdir_separator_GCJ
=
17574 hardcode_direct_GCJ
=no
17575 hardcode_minus_L_GCJ
=no
17576 hardcode_shlibpath_var_GCJ
=unsupported
17577 link_all_deplibs_GCJ
=unknown
17578 hardcode_automatic_GCJ
=no
17580 module_expsym_cmds_GCJ
=
17581 always_export_symbols_GCJ
=no
17582 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17583 # include_expsyms should be a list of space-separated symbols to be *always*
17584 # included in the symbol list
17585 include_expsyms_GCJ
=
17586 # exclude_expsyms can be an extended regexp of symbols to exclude
17587 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17588 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17589 # as well as any symbol that contains `d'.
17590 exclude_expsyms_GCJ
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17591 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17592 # platforms (ab)use it in PIC code, but their linkers get confused if
17593 # the symbol is explicitly referenced. Since portable code cannot
17594 # rely on this symbol name, it's probably fine to never include it in
17595 # preloaded symbol tables.
17596 # Exclude shared library initialization/finalization symbols.
17597 extract_expsyms_cmds
=
17598 # Just being paranoid about ensuring that cc_basename is set.
17599 for cc_temp
in $compiler""; do
17601 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17602 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17607 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17610 cygwin
* | mingw
* | pw32
*)
17611 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17612 # When not using gcc, we currently assume that we are using
17613 # Microsoft Visual C++.
17614 if test "$GCC" != yes; then
17619 # we just hope/assume this is gcc and not c89 (= MSVC++)
17628 if test "$with_gnu_ld" = yes; then
17629 # If archive_cmds runs LD, not CC, wlarc should be empty
17632 # Set some defaults for GNU ld with shared library support. These
17633 # are reset later if shared libraries are not supported. Putting them
17634 # here allows them to be overridden if necessary.
17635 runpath_var
=LD_RUN_PATH
17636 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17637 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17638 # ancient GNU ld didn't support --whole-archive et. al.
17639 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17640 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17642 whole_archive_flag_spec_GCJ
=
17644 supports_anon_versioning
=no
17645 case `$LD -v 2>/dev/null` in
17646 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17647 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17648 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17649 *\
2.11.
*) ;; # other 2.11 versions
17650 *) supports_anon_versioning
=yes ;;
17653 # See if GNU ld supports shared libraries.
17656 # On AIX/PPC, the GNU linker is very broken
17657 if test "$host_cpu" != ia64
; then
17661 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17662 *** to be unable to reliably create shared libraries on AIX.
17663 *** Therefore, libtool is disabling shared libraries support. If you
17664 *** really care for shared libraries, you may want to modify your PATH
17665 *** so that a non-GNU linker is found, and then restart.
17672 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)'
17673 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17674 hardcode_minus_L_GCJ
=yes
17676 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17677 # that the semantics of dynamic libraries on AmigaOS, at least up
17678 # to version 4, is to share data among multiple programs linked
17679 # with the same dynamic library. Since this doesn't match the
17680 # behavior of shared libraries on other platforms, we can't use
17686 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17687 allow_undefined_flag_GCJ
=unsupported
17688 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17689 # support --undefined. This deserves some investigation. FIXME
17690 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17696 cygwin
* | mingw
* | pw32
*)
17697 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17698 # as there is no search path for DLLs.
17699 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17700 allow_undefined_flag_GCJ
=unsupported
17701 always_export_symbols_GCJ
=no
17702 enable_shared_with_static_runtimes_GCJ
=yes
17703 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17705 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17706 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17707 # If the export-symbols file already is a .def file (1st line
17708 # is EXPORTS), use it as is; otherwise, prepend...
17709 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17710 cp $export_symbols $output_objdir/$soname.def;
17712 echo EXPORTS > $output_objdir/$soname.def;
17713 cat $export_symbols >> $output_objdir/$soname.def;
17715 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17722 hardcode_direct_GCJ
=no
17723 hardcode_shlibpath_var_GCJ
=no
17724 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17725 export_dynamic_flag_spec_GCJ
='${wl}-E'
17726 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17727 # Instead, shared libraries are loaded at an image base (0x10000000 by
17728 # default) and relocated if they conflict, which is a slow very memory
17729 # consuming and fragmenting process. To avoid this, we pick a random,
17730 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17731 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17732 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'
17733 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'
17736 gnu
* | linux
* | k
*bsd
*-gnu)
17737 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17739 case $cc_basename,$host_cpu in
17740 pgcc
*) # Portland Group C compiler
17741 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'
17742 tmp_addflag
=' $pic_flag'
17744 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17745 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'
17746 tmp_addflag
=' $pic_flag -Mnomain' ;;
17747 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17748 tmp_addflag
=' -i_dynamic' ;;
17749 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17750 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17751 ifc
* | ifort
*) # Intel Fortran compiler
17752 tmp_addflag
=' -nofor_main' ;;
17754 case `$CC -V 2>&1 | sed 5q` in
17755 *Sun\ C
*) # Sun C 5.9
17756 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17757 tmp_sharedflag
='-G' ;;
17758 *Sun\ F
*) # Sun Fortran 8.3
17759 tmp_sharedflag
='-G' ;;
17761 tmp_sharedflag
='-shared' ;;
17763 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17765 if test $supports_anon_versioning = yes; then
17766 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17767 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17768 $echo "local: *; };" >> $output_objdir/$libname.ver~
17769 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17777 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17778 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17781 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17782 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17787 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17791 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17792 *** create shared libraries on Solaris systems. Therefore, libtool
17793 *** is disabling shared libraries support. We urge you to upgrade GNU
17794 *** binutils to release 2.9.1 or newer. Another option is to modify
17795 *** your PATH or compiler configuration so that the native linker is
17796 *** used, and then restart.
17799 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17800 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17801 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17807 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17808 case `$LD -v 2>&1` in
17809 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17813 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17814 *** reliably create shared libraries on SCO systems. Therefore, libtool
17815 *** is disabling shared libraries support. We urge you to upgrade GNU
17816 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17817 *** your PATH or compiler configuration so that the native linker is
17818 *** used, and then restart.
17823 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17824 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17825 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17826 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17835 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17837 hardcode_direct_GCJ
=yes
17838 hardcode_shlibpath_var_GCJ
=no
17842 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17843 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17844 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17851 if test "$ld_shlibs_GCJ" = no
; then
17853 hardcode_libdir_flag_spec_GCJ
=
17854 export_dynamic_flag_spec_GCJ
=
17855 whole_archive_flag_spec_GCJ
=
17858 # PORTME fill in a description of your system's linker (not GNU ld)
17861 allow_undefined_flag_GCJ
=unsupported
17862 always_export_symbols_GCJ
=yes
17863 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'
17864 # Note: this linker hardcodes the directories in LIBPATH if there
17865 # are no directories specified by -L.
17866 hardcode_minus_L_GCJ
=yes
17867 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17868 # Neither direct hardcoding nor static linking is supported with a
17870 hardcode_direct_GCJ
=unsupported
17875 if test "$host_cpu" = ia64
; then
17876 # On IA64, the linker does run time linking by default, so we don't
17877 # have to do anything special.
17878 aix_use_runtimelinking
=no
17879 exp_sym_flag
='-Bexport'
17882 # If we're using GNU nm, then we don't want the "-C" option.
17883 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17884 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17885 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'
17887 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'
17889 aix_use_runtimelinking
=no
17891 # Test if we are trying to use run time linking or normal
17892 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17893 # need to do runtime linking.
17894 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
17895 for ld_flag
in $LDFLAGS; do
17896 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17897 aix_use_runtimelinking
=yes
17904 exp_sym_flag
='-bexport'
17905 no_entry_flag
='-bnoentry'
17908 # When large executables or shared objects are built, AIX ld can
17909 # have problems creating the table of contents. If linking a library
17910 # or program results in "error TOC overflow" add -mminimal-toc to
17911 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17912 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17914 archive_cmds_GCJ
=''
17915 hardcode_direct_GCJ
=yes
17916 hardcode_libdir_separator_GCJ
=':'
17917 link_all_deplibs_GCJ
=yes
17919 if test "$GCC" = yes; then
17920 case $host_os in aix4.
[012]|aix4.
[012].
*)
17921 # We only want to do this on AIX 4.2 and lower, the check
17922 # below for broken collect2 doesn't work under 4.3+
17923 collect2name
=`${CC} -print-prog-name=collect2`
17924 if test -f "$collect2name" && \
17925 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17927 # We have reworked collect2
17930 # We have old collect2
17931 hardcode_direct_GCJ
=unsupported
17932 # It fails to find uninstalled libraries when the uninstalled
17933 # path is not listed in the libpath. Setting hardcode_minus_L
17934 # to unsupported forces relinking
17935 hardcode_minus_L_GCJ
=yes
17936 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17937 hardcode_libdir_separator_GCJ
=
17941 shared_flag
='-shared'
17942 if test "$aix_use_runtimelinking" = yes; then
17943 shared_flag
="$shared_flag "'${wl}-G'
17947 if test "$host_cpu" = ia64
; then
17948 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17949 # chokes on -Wl,-G. The following line is correct:
17952 if test "$aix_use_runtimelinking" = yes; then
17953 shared_flag
='${wl}-G'
17955 shared_flag
='${wl}-bM:SRE'
17960 # It seems that -bexpall does not export symbols beginning with
17961 # underscore (_), so it is better to generate a list of symbols to export.
17962 always_export_symbols_GCJ
=yes
17963 if test "$aix_use_runtimelinking" = yes; then
17964 # Warning - without using the other runtime loading flags (-brtl),
17965 # -berok will link without error, but may produce a broken library.
17966 allow_undefined_flag_GCJ
='-berok'
17967 # Determine the default libpath from the value encoded in an empty executable.
17968 cat >conftest.
$ac_ext <<_ACEOF
17971 cat confdefs.h
>>conftest.
$ac_ext
17972 cat >>conftest.
$ac_ext <<_ACEOF
17973 /* end confdefs.h. */
17983 rm -f conftest.
$ac_objext conftest
$ac_exeext
17984 if { (ac_try
="$ac_link"
17985 case "(($ac_try" in
17986 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17987 *) ac_try_echo=$ac_try;;
17989 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17990 $as_echo "$ac_try_echo") >&5
17991 (eval "$ac_link") 2>conftest.er1
17993 grep -v '^ *+' conftest.er1 >conftest.err
17995 cat conftest.err >&5
17996 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17997 (exit $ac_status); } && {
17998 test -z "$ac_c_werror_flag" ||
17999 test ! -s conftest.err
18000 } && test -s conftest$ac_exeext && {
18001 test "$cross_compiling" = yes ||
18002 $as_test_x conftest$ac_exeext
18005 lt_aix_libpath_sed='
18006 /Import File Strings/,/^$/ {
18012 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
18013 # Check for a 64-bit object if we didn't find anything.
18014 if test -z "$aix_libpath"; then
18015 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
18018 $as_echo "$as_me: failed program was:" >&5
18019 sed 's/^/| /' conftest.$ac_ext >&5
18024 rm -rf conftest.dSYM
18025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18026 conftest$ac_exeext conftest.$ac_ext
18027 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18029 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18030 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"
18032 if test "$host_cpu" = ia64; then
18033 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18034 allow_undefined_flag_GCJ="-z nodefs"
18035 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"
18037 # Determine the default libpath from the value encoded in an empty executable.
18038 cat >conftest.$ac_ext <<_ACEOF
18041 cat confdefs.h >>conftest.$ac_ext
18042 cat >>conftest.$ac_ext <<_ACEOF
18043 /* end confdefs.h. */
18053 rm -f conftest.$ac_objext conftest$ac_exeext
18054 if { (ac_try="$ac_link"
18055 case "(($ac_try" in
18056 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18057 *) ac_try_echo
=$ac_try;;
18059 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
18060 $as_echo "$ac_try_echo") >&5
18061 (eval "$ac_link") 2>conftest.er1
18063 grep -v '^ *+' conftest.er1
>conftest.err
18065 cat conftest.err
>&5
18066 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18067 (exit $ac_status); } && {
18068 test -z "$ac_c_werror_flag" ||
18069 test ! -s conftest.err
18070 } && test -s conftest
$ac_exeext && {
18071 test "$cross_compiling" = yes ||
18072 $as_test_x conftest
$ac_exeext
18075 lt_aix_libpath_sed
='
18076 /Import File Strings/,/^$/ {
18082 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18083 # Check for a 64-bit object if we didn't find anything.
18084 if test -z "$aix_libpath"; then
18085 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18088 $as_echo "$as_me: failed program was:" >&5
18089 sed 's/^/| /' conftest.
$ac_ext >&5
18094 rm -rf conftest.dSYM
18095 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18096 conftest
$ac_exeext conftest.
$ac_ext
18097 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18099 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
18100 # Warning - without using the other run time loading flags,
18101 # -berok will link without error, but may produce a broken library.
18102 no_undefined_flag_GCJ
=' ${wl}-bernotok'
18103 allow_undefined_flag_GCJ
=' ${wl}-berok'
18104 # Exported symbols can be pulled into shared objects from archives
18105 whole_archive_flag_spec_GCJ
='$convenience'
18106 archive_cmds_need_lc_GCJ
=yes
18107 # This is similar to how AIX traditionally builds its shared libraries.
18108 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'
18114 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)'
18115 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18116 hardcode_minus_L_GCJ
=yes
18117 # see comment about different semantics on the GNU ld section
18122 export_dynamic_flag_spec_GCJ
=-rdynamic
18125 cygwin
* | mingw
* | pw32
*)
18126 # When not using gcc, we currently assume that we are using
18127 # Microsoft Visual C++.
18128 # hardcode_libdir_flag_spec is actually meaningless, as there is
18129 # no search path for DLLs.
18130 hardcode_libdir_flag_spec_GCJ
=' '
18131 allow_undefined_flag_GCJ
=unsupported
18132 # Tell ltmain to make .lib files, not .a files.
18134 # Tell ltmain to make .dll files, not .so files.
18136 # FIXME: Setting linknames here is a bad hack.
18137 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18138 # The linker will automatically build a .lib file if we build a DLL.
18139 old_archive_From_new_cmds_GCJ
='true'
18140 # FIXME: Should let the user specify the lib program.
18141 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
18142 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
18143 enable_shared_with_static_runtimes_GCJ
=yes
18146 darwin
* | rhapsody
*)
18148 rhapsody
* | darwin1.
[012])
18149 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
18152 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18153 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18155 case ${MACOSX_DEPLOYMENT_TARGET} in
18157 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18160 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
18166 archive_cmds_need_lc_GCJ
=no
18167 hardcode_direct_GCJ
=no
18168 hardcode_automatic_GCJ
=yes
18169 hardcode_shlibpath_var_GCJ
=unsupported
18170 whole_archive_flag_spec_GCJ
=''
18171 link_all_deplibs_GCJ
=yes
18172 if test "$GCC" = yes ; then
18173 output_verbose_link_cmd
='echo'
18174 archive_cmds_GCJ
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
18175 module_cmds_GCJ
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18176 archive_expsym_cmds_GCJ
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
18177 module_expsym_cmds_GCJ
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
18179 case $cc_basename in
18181 output_verbose_link_cmd
='echo'
18182 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18183 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18184 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18185 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18186 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}'
18196 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18197 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18198 hardcode_shlibpath_var_GCJ
=no
18205 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18206 # support. Future versions do this automatically, but an explicit c++rt0.o
18207 # does not break anything, and helps significantly (at the cost of a little
18210 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18211 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18212 hardcode_direct_GCJ
=yes
18213 hardcode_shlibpath_var_GCJ
=no
18216 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18218 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18219 hardcode_direct_GCJ
=yes
18220 hardcode_minus_L_GCJ
=yes
18221 hardcode_shlibpath_var_GCJ
=no
18224 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18225 freebsd
* | dragonfly
*)
18226 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18227 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18228 hardcode_direct_GCJ
=yes
18229 hardcode_shlibpath_var_GCJ
=no
18233 if test "$GCC" = yes; then
18234 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'
18236 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'
18238 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18239 hardcode_libdir_separator_GCJ
=:
18240 hardcode_direct_GCJ
=yes
18242 # hardcode_minus_L: Not really in the search PATH,
18243 # but as the default location of the library.
18244 hardcode_minus_L_GCJ
=yes
18245 export_dynamic_flag_spec_GCJ
='${wl}-E'
18249 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18250 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18252 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18254 if test "$with_gnu_ld" = no
; then
18255 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18256 hardcode_libdir_separator_GCJ
=:
18258 hardcode_direct_GCJ
=yes
18259 export_dynamic_flag_spec_GCJ
='${wl}-E'
18261 # hardcode_minus_L: Not really in the search PATH,
18262 # but as the default location of the library.
18263 hardcode_minus_L_GCJ
=yes
18268 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18271 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18274 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18277 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18283 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18286 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18289 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18293 if test "$with_gnu_ld" = no
; then
18294 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18295 hardcode_libdir_separator_GCJ
=:
18299 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
18300 hardcode_direct_GCJ
=no
18301 hardcode_shlibpath_var_GCJ
=no
18304 hardcode_direct_GCJ
=yes
18305 export_dynamic_flag_spec_GCJ
='${wl}-E'
18307 # hardcode_minus_L: Not really in the search PATH,
18308 # but as the default location of the library.
18309 hardcode_minus_L_GCJ
=yes
18315 irix5
* | irix6
* | nonstopux
*)
18316 if test "$GCC" = yes; then
18317 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'
18319 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'
18320 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
18322 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18323 hardcode_libdir_separator_GCJ
=:
18324 link_all_deplibs_GCJ
=yes
18328 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18329 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18331 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18333 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18334 hardcode_direct_GCJ
=yes
18335 hardcode_shlibpath_var_GCJ
=no
18339 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18340 hardcode_direct_GCJ
=yes
18341 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18342 hardcode_libdir_separator_GCJ
=:
18343 hardcode_shlibpath_var_GCJ
=no
18347 if test -f /usr
/libexec
/ld.so
; then
18348 hardcode_direct_GCJ
=yes
18349 hardcode_shlibpath_var_GCJ
=no
18350 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18351 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18352 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18353 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18354 export_dynamic_flag_spec_GCJ
='${wl}-E'
18357 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
18358 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18359 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18362 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18363 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18373 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18374 hardcode_minus_L_GCJ
=yes
18375 allow_undefined_flag_GCJ
=unsupported
18376 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'
18377 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18381 if test "$GCC" = yes; then
18382 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18383 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'
18385 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18386 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'
18388 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18389 hardcode_libdir_separator_GCJ
=:
18392 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
18393 if test "$GCC" = yes; then
18394 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18395 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'
18396 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18398 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18399 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'
18400 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~
18401 $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'
18403 # Both c and cxx compiler support -rpath directly
18404 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
18406 hardcode_libdir_separator_GCJ
=:
18410 no_undefined_flag_GCJ
=' -z text'
18411 if test "$GCC" = yes; then
18413 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18414 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18415 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18418 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18419 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18420 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18422 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18423 hardcode_shlibpath_var_GCJ
=no
18425 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18427 # The compiler driver will combine and reorder linker options,
18428 # but understands `-z linker_flag'. GCC discards it without `$wl',
18429 # but is careful enough not to reorder.
18430 # Supported since Solaris 2.6 (maybe 2.5.1?)
18431 if test "$GCC" = yes; then
18432 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18434 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
18438 link_all_deplibs_GCJ
=yes
18442 if test "x$host_vendor" = xsequent
; then
18443 # Use $CC to link under sequent, because it throws in some extra .o
18444 # files that make .init and .fini sections work.
18445 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18447 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18449 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18450 hardcode_direct_GCJ
=yes
18451 hardcode_minus_L_GCJ
=yes
18452 hardcode_shlibpath_var_GCJ
=no
18456 case $host_vendor in
18458 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18459 hardcode_direct_GCJ
=yes # is this really true???
18462 ## LD is ld it makes a PLAMLIB
18463 ## CC just makes a GrossModule.
18464 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18465 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18466 hardcode_direct_GCJ
=no
18469 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18470 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18473 runpath_var
='LD_RUN_PATH'
18474 hardcode_shlibpath_var_GCJ
=no
18478 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18479 hardcode_shlibpath_var_GCJ
=no
18480 export_dynamic_flag_spec_GCJ
='-Bexport'
18484 if test -d /usr
/nec
; then
18485 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18486 hardcode_shlibpath_var_GCJ
=no
18487 runpath_var
=LD_RUN_PATH
18488 hardcode_runpath_var
=yes
18493 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18494 no_undefined_flag_GCJ
='${wl}-z,text'
18495 archive_cmds_need_lc_GCJ
=no
18496 hardcode_shlibpath_var_GCJ
=no
18497 runpath_var
='LD_RUN_PATH'
18499 if test "$GCC" = yes; then
18500 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18501 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18503 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18504 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18508 sysv5
* | sco3.2v5
* | sco5v6
*)
18509 # Note: We can NOT use -z defs as we might desire, because we do not
18510 # link with -lc, and that would cause any symbols used from libc to
18511 # always be unresolved, which means just about no library would
18512 # ever link correctly. If we're not using GNU ld we use -z text
18513 # though, which does catch some bad symbols but isn't as heavy-handed
18515 no_undefined_flag_GCJ
='${wl}-z,text'
18516 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18517 archive_cmds_need_lc_GCJ
=no
18518 hardcode_shlibpath_var_GCJ
=no
18519 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18520 hardcode_libdir_separator_GCJ
=':'
18521 link_all_deplibs_GCJ
=yes
18522 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18523 runpath_var
='LD_RUN_PATH'
18525 if test "$GCC" = yes; then
18526 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18527 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18529 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18530 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18535 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18536 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18537 hardcode_shlibpath_var_GCJ
=no
18546 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18547 $as_echo "$ld_shlibs_GCJ" >&6; }
18548 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18551 # Do we need to explicitly link libc?
18553 case "x$archive_cmds_need_lc_GCJ" in
18555 # Assume -lc should be added
18556 archive_cmds_need_lc_GCJ
=yes
18558 if test "$enable_shared" = yes && test "$GCC" = yes; then
18559 case $archive_cmds_GCJ in
18561 # FIXME: we may have to deal with multi-command sequences.
18564 # Test whether the compiler implicitly links with -lc since on some
18565 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18566 # to ld, don't add -lc before -lgcc.
18567 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18568 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18570 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18573 (eval $ac_compile) 2>&5
18575 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); } 2>conftest.err
; then
18579 libobjs
=conftest.
$ac_objext
18581 wl
=$lt_prog_compiler_wl_GCJ
18582 pic_flag
=$lt_prog_compiler_pic_GCJ
18588 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18589 allow_undefined_flag_GCJ
=
18590 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18591 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18593 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18594 (exit $ac_status); }
18596 archive_cmds_need_lc_GCJ
=no
18598 archive_cmds_need_lc_GCJ
=yes
18600 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18602 cat conftest.err
1>&5
18605 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18606 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
18613 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18614 $as_echo_n "checking dynamic linker characteristics... " >&6; }
18615 library_names_spec
=
18616 libname_spec
='lib$name'
18620 postuninstall_cmds
=
18624 shlibpath_overrides_runpath
=unknown
18626 dynamic_linker
="$host_os ld.so"
18627 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18629 need_lib_prefix
=unknown
18630 hardcode_into_libs
=no
18632 # when you set need_version to no, make sure it does not cause -set_version
18633 # flags to be left without arguments
18634 need_version
=unknown
18639 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18640 shlibpath_var
=LIBPATH
18642 # AIX 3 has no versioning support, so we append a major version to the name.
18643 soname_spec
='${libname}${release}${shared_ext}$major'
18650 hardcode_into_libs
=yes
18651 if test "$host_cpu" = ia64
; then
18652 # AIX 5 supports IA64
18653 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18654 shlibpath_var
=LD_LIBRARY_PATH
18656 # With GCC up to 2.95.x, collect2 would create an import file
18657 # for dependence libraries. The import file would start with
18658 # the line `#! .'. This would cause the generated library to
18659 # depend on `.', always an invalid library. This was fixed in
18660 # development snapshots of GCC prior to 3.0.
18662 aix4 | aix4.
[01] | aix4.
[01].
*)
18663 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18665 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18668 can_build_shared
=no
18672 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18673 # soname into executable. Probably we can add versioning support to
18674 # collect2, so additional links can be useful in future.
18675 if test "$aix_use_runtimelinking" = yes; then
18676 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18677 # instead of lib<name>.a to let people know that these are not
18678 # typical AIX shared libraries.
18679 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18681 # We preserve .a as extension for shared libraries through AIX4.2
18682 # and later when we are not doing run time linking.
18683 library_names_spec
='${libname}${release}.a $libname.a'
18684 soname_spec
='${libname}${release}${shared_ext}$major'
18686 shlibpath_var
=LIBPATH
18691 library_names_spec
='$libname.ixlibrary $libname.a'
18692 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18693 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'
18697 library_names_spec
='${libname}${shared_ext}'
18698 dynamic_linker
="$host_os ld.so"
18699 shlibpath_var
=LIBRARY_PATH
18705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18706 soname_spec
='${libname}${release}${shared_ext}$major'
18707 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18708 shlibpath_var
=LD_LIBRARY_PATH
18709 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18710 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18711 # the default ld.so.conf also contains /usr/contrib/lib and
18712 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18713 # libtool to hard-code these into programs
18716 cygwin
* | mingw
* | pw32
*)
18717 version_type
=windows
18722 case $GCC,$host_os in
18723 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18724 library_names_spec
='$libname.dll.a'
18725 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18726 postinstall_cmds
='base_file=`basename \${file}`~
18727 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18728 dldir=$destdir/`dirname \$dlpath`~
18729 test -d \$dldir || mkdir -p \$dldir~
18730 $install_prog $dir/$dlname \$dldir/$dlname~
18731 chmod a+x \$dldir/$dlname'
18732 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18733 dlpath=$dir/\$dldll~
18735 shlibpath_overrides_runpath
=yes
18739 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18740 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18741 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18744 # MinGW DLLs use traditional 'lib' prefix
18745 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18746 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18747 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18748 # It is most probably a Windows format PATH printed by
18749 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18750 # path with ; separators, and with drive letters. We can handle the
18751 # drive letters (cygwin fileutils understands them), so leave them,
18752 # especially as we might pass files found there to a mingw objdump,
18753 # which wouldn't understand a cygwinified path. Ahh.
18754 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18756 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18760 # pw32 DLLs use 'pw' prefix rather than 'lib'
18761 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18767 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18770 dynamic_linker
='Win32 ld.exe'
18771 # FIXME: first we should search . and the directory the executable is in
18775 darwin
* | rhapsody
*)
18776 dynamic_linker
="$host_os dyld"
18777 version_type
=darwin
18780 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18781 soname_spec
='${libname}${release}${major}$shared_ext'
18782 shlibpath_overrides_runpath
=yes
18783 shlibpath_var
=DYLD_LIBRARY_PATH
18784 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18786 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18794 soname_spec
='${libname}${release}${shared_ext}$major'
18795 shlibpath_var
=LD_LIBRARY_PATH
18802 freebsd
* | dragonfly
*)
18803 # DragonFly does not have aout. When/if they implement a new
18804 # versioning mechanism, adjust this.
18805 if test -x /usr
/bin
/objformat
; then
18806 objformat
=`/usr/bin/objformat`
18809 freebsd
[123]*) objformat
=aout
;;
18810 *) objformat
=elf
;;
18813 version_type
=freebsd-
$objformat
18814 case $version_type in
18816 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18821 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18825 shlibpath_var
=LD_LIBRARY_PATH
18828 shlibpath_overrides_runpath
=yes
18830 freebsd3.
[01]* | freebsdelf3.
[01]*)
18831 shlibpath_overrides_runpath
=yes
18832 hardcode_into_libs
=yes
18834 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18835 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18836 shlibpath_overrides_runpath
=no
18837 hardcode_into_libs
=yes
18839 *) # from 4.6 on, and DragonFly
18840 shlibpath_overrides_runpath
=yes
18841 hardcode_into_libs
=yes
18850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18851 soname_spec
='${libname}${release}${shared_ext}$major'
18852 shlibpath_var
=LD_LIBRARY_PATH
18853 hardcode_into_libs
=yes
18856 hpux9
* | hpux10
* | hpux11
*)
18857 # Give a soname corresponding to the major version so that dld.sl refuses to
18858 # link against other versions.
18865 hardcode_into_libs
=yes
18866 dynamic_linker
="$host_os dld.so"
18867 shlibpath_var
=LD_LIBRARY_PATH
18868 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18869 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18870 soname_spec
='${libname}${release}${shared_ext}$major'
18871 if test "X$HPUX_IA64_MODE" = X32
; then
18872 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18874 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18876 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18880 hardcode_into_libs
=yes
18881 dynamic_linker
="$host_os dld.sl"
18882 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18883 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18884 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18885 soname_spec
='${libname}${release}${shared_ext}$major'
18886 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18887 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18891 dynamic_linker
="$host_os dld.sl"
18892 shlibpath_var
=SHLIB_PATH
18893 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18895 soname_spec
='${libname}${release}${shared_ext}$major'
18898 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18899 postinstall_cmds
='chmod 555 $lib'
18906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18907 soname_spec
='${libname}${release}${shared_ext}$major'
18908 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18909 shlibpath_var
=LD_LIBRARY_PATH
18910 shlibpath_overrides_runpath
=no
18911 hardcode_into_libs
=yes
18914 irix5
* | irix6
* | nonstopux
*)
18916 nonstopux
*) version_type
=nonstopux
;;
18918 if test "$lt_cv_prog_gnu_ld" = yes; then
18926 soname_spec
='${libname}${release}${shared_ext}$major'
18927 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18929 irix5
* | nonstopux
*)
18930 libsuff
= shlibsuff
=
18933 case $LD in # libtool.m4 will add one of these switches to LD
18934 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18935 libsuff
= shlibsuff
= libmagic
=32-bit;;
18936 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18937 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18938 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18939 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18940 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18944 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18945 shlibpath_overrides_runpath
=no
18946 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18947 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18948 hardcode_into_libs
=yes
18951 # No shared lib support for Linux oldld, aout, or coff.
18952 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18956 # This must be Linux ELF.
18957 linux
* | k
*bsd
*-gnu)
18961 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18962 soname_spec
='${libname}${release}${shared_ext}$major'
18963 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18964 shlibpath_var
=LD_LIBRARY_PATH
18965 shlibpath_overrides_runpath
=no
18966 # This implies no fast_install, which is unacceptable.
18967 # Some rework will be needed to allow for fast_install
18968 # before this can be enabled.
18969 hardcode_into_libs
=yes
18970 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18971 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18973 # Append ld.so.conf contents to the search path
18974 if test -f /etc
/ld.so.conf
; then
18975 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18976 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
18979 # We used to test for /lib/ld.so.1 and disable shared libraries on
18980 # powerpc, because MkLinux only supported shared libraries with the
18981 # GNU dynamic linker. Since this was broken with cross compilers,
18982 # most powerpc-linux boxes support dynamic linking these days and
18983 # people can always --disable-shared, the test was removed, and we
18984 # assume the GNU/Linux dynamic linker is in use.
18985 dynamic_linker
='GNU/Linux ld.so'
18992 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18993 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18994 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18995 dynamic_linker
='NetBSD (a.out) ld.so'
18997 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18998 soname_spec
='${libname}${release}${shared_ext}$major'
18999 dynamic_linker
='NetBSD ld.elf_so'
19001 shlibpath_var
=LD_LIBRARY_PATH
19002 shlibpath_overrides_runpath
=yes
19003 hardcode_into_libs
=yes
19008 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19009 shlibpath_var
=LD_LIBRARY_PATH
19010 shlibpath_overrides_runpath
=yes
19017 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19018 soname_spec
='${libname}${release}${shared_ext}$major'
19019 shlibpath_var
=LD_LIBRARY_PATH
19020 shlibpath_overrides_runpath
=yes
19025 sys_lib_dlsearch_path_spec
="/usr/lib"
19027 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19029 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
19030 *) need_version
=no
;;
19032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19033 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19034 shlibpath_var
=LD_LIBRARY_PATH
19035 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19037 openbsd2.
[89] | openbsd2.
[89].
*)
19038 shlibpath_overrides_runpath
=no
19041 shlibpath_overrides_runpath
=yes
19045 shlibpath_overrides_runpath
=yes
19050 libname_spec
='$name'
19053 library_names_spec
='$libname${shared_ext} $libname.a'
19054 dynamic_linker
='OS/2 ld.exe'
19055 shlibpath_var
=LIBPATH
19058 osf3
* | osf4
* | osf5
*)
19062 soname_spec
='${libname}${release}${shared_ext}$major'
19063 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19064 shlibpath_var
=LD_LIBRARY_PATH
19065 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19066 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
19077 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19078 soname_spec
='${libname}${release}${shared_ext}$major'
19079 shlibpath_var
=LD_LIBRARY_PATH
19080 shlibpath_overrides_runpath
=yes
19081 hardcode_into_libs
=yes
19082 # ldd complains unless libraries are executable
19083 postinstall_cmds
='chmod +x $lib'
19088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19089 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19090 shlibpath_var
=LD_LIBRARY_PATH
19091 shlibpath_overrides_runpath
=yes
19092 if test "$with_gnu_ld" = yes; then
19100 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19101 soname_spec
='${libname}${release}${shared_ext}$major'
19102 shlibpath_var
=LD_LIBRARY_PATH
19103 case $host_vendor in
19105 shlibpath_overrides_runpath
=no
19107 export_dynamic_flag_spec
='${wl}-Blargedynsym'
19108 runpath_var
=LD_RUN_PATH
19116 shlibpath_overrides_runpath
=no
19117 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
19123 if test -d /usr
/nec
;then
19125 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19126 soname_spec
='$libname${shared_ext}.$major'
19127 shlibpath_var
=LD_LIBRARY_PATH
19131 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
19132 version_type
=freebsd-elf
19135 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19136 soname_spec
='${libname}${release}${shared_ext}$major'
19137 shlibpath_var
=LD_LIBRARY_PATH
19138 hardcode_into_libs
=yes
19139 if test "$with_gnu_ld" = yes; then
19140 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19141 shlibpath_overrides_runpath
=no
19143 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
19144 shlibpath_overrides_runpath
=yes
19147 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
19151 sys_lib_dlsearch_path_spec
='/usr/lib'
19156 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19157 soname_spec
='${libname}${release}${shared_ext}$major'
19158 shlibpath_var
=LD_LIBRARY_PATH
19165 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19166 $as_echo "$dynamic_linker" >&6; }
19167 test "$dynamic_linker" = no
&& can_build_shared
=no
19169 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
19170 $as_echo_n "(cached) " >&6
19172 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
19175 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
19176 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
19177 $as_echo_n "(cached) " >&6
19179 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
19182 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
19184 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
19185 if test "$GCC" = yes; then
19186 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19189 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19190 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
19191 hardcode_action_GCJ
=
19192 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19193 test -n "$runpath_var_GCJ" || \
19194 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19196 # We can hardcode non-existant directories.
19197 if test "$hardcode_direct_GCJ" != no
&&
19198 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19199 # have to relink, otherwise we might link with an installed library
19200 # when we should be linking with a yet-to-be-installed one
19201 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19202 test "$hardcode_minus_L_GCJ" != no
; then
19203 # Linking always hardcodes the temporary library directory.
19204 hardcode_action_GCJ
=relink
19206 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19207 hardcode_action_GCJ
=immediate
19210 # We cannot hardcode anything, or else we can only hardcode existing
19212 hardcode_action_GCJ
=unsupported
19214 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19215 $as_echo "$hardcode_action_GCJ" >&6; }
19217 if test "$hardcode_action_GCJ" = relink
; then
19218 # Fast installation is not supported
19219 enable_fast_install
=no
19220 elif test "$shlibpath_overrides_runpath" = yes ||
19221 test "$enable_shared" = no
; then
19222 # Fast installation is not necessary
19223 enable_fast_install
=needless
19227 # The else clause should only fire when bootstrapping the
19228 # libtool distribution, otherwise you forgot to ship ltmain.sh
19229 # with your package, and you will get complaints that there are
19230 # no rules to generate ltmain.sh.
19231 if test -f "$ltmain"; then
19232 # See if we are running on zsh, and set the options which allow our commands through
19233 # without removal of \ escapes.
19234 if test -n "${ZSH_VERSION+set}" ; then
19235 setopt NO_GLOB_SUBST
19237 # Now quote all the things that may contain metacharacters while being
19238 # careful not to overquote the AC_SUBSTed values. We take copies of the
19239 # variables and quote the copies for generation of the libtool script.
19240 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19242 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19243 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19244 deplibs_check_method reload_flag reload_cmds need_locks \
19245 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19246 lt_cv_sys_global_symbol_to_c_name_address \
19247 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19248 old_postinstall_cmds old_postuninstall_cmds \
19252 lt_prog_compiler_wl_GCJ \
19253 lt_prog_compiler_pic_GCJ \
19254 lt_prog_compiler_static_GCJ \
19255 lt_prog_compiler_no_builtin_flag_GCJ \
19256 export_dynamic_flag_spec_GCJ \
19257 thread_safe_flag_spec_GCJ \
19258 whole_archive_flag_spec_GCJ \
19259 enable_shared_with_static_runtimes_GCJ \
19260 old_archive_cmds_GCJ \
19261 old_archive_from_new_cmds_GCJ \
19262 predep_objects_GCJ \
19263 postdep_objects_GCJ \
19266 compiler_lib_search_path_GCJ \
19267 compiler_lib_search_dirs_GCJ \
19269 archive_expsym_cmds_GCJ \
19270 postinstall_cmds_GCJ \
19271 postuninstall_cmds_GCJ \
19272 old_archive_from_expsyms_cmds_GCJ \
19273 allow_undefined_flag_GCJ \
19274 no_undefined_flag_GCJ \
19275 export_symbols_cmds_GCJ \
19276 hardcode_libdir_flag_spec_GCJ \
19277 hardcode_libdir_flag_spec_ld_GCJ \
19278 hardcode_libdir_separator_GCJ \
19279 hardcode_automatic_GCJ \
19281 module_expsym_cmds_GCJ \
19282 lt_cv_prog_compiler_c_o_GCJ \
19283 fix_srcfile_path_GCJ \
19284 exclude_expsyms_GCJ \
19285 include_expsyms_GCJ
; do
19288 old_archive_cmds_GCJ | \
19289 old_archive_from_new_cmds_GCJ | \
19290 archive_cmds_GCJ | \
19291 archive_expsym_cmds_GCJ | \
19292 module_cmds_GCJ | \
19293 module_expsym_cmds_GCJ | \
19294 old_archive_from_expsyms_cmds_GCJ | \
19295 export_symbols_cmds_GCJ | \
19296 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19297 postinstall_cmds | postuninstall_cmds | \
19298 old_postinstall_cmds | old_postuninstall_cmds | \
19299 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19300 # Double-quote double-evaled strings.
19301 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19304 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19310 *'\$0 --fallback-echo"')
19311 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19317 cat <<__EOF__ >> "$cfgfile"
19318 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19320 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19322 # Shell to use when invoking shell scripts.
19325 # Whether or not to build shared libraries.
19326 build_libtool_libs=$enable_shared
19328 # Whether or not to build static libraries.
19329 build_old_libs=$enable_static
19331 # Whether or not to add -lc for building shared libraries.
19332 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19334 # Whether or not to disallow shared libs when runtime libs are static
19335 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19337 # Whether or not to optimize for fast installation.
19338 fast_install=$enable_fast_install
19341 host_alias=$host_alias
19345 # The build system.
19346 build_alias=$build_alias
19350 # An echo program that does not interpret backslashes.
19355 AR_FLAGS=$lt_AR_FLAGS
19360 # LTCC compiler flags.
19361 LTCFLAGS=$lt_LTCFLAGS
19363 # A language-specific compiler.
19364 CC=$lt_compiler_GCJ
19366 # Is the compiler the GNU C compiler?
19372 # The linker used to build libraries.
19375 # Whether we need hard or soft links.
19378 # A BSD-compatible nm program.
19381 # A symbol stripping program
19384 # Used to examine libraries when file_magic_cmd begins "file"
19385 MAGIC_CMD=$MAGIC_CMD
19387 # Used on cygwin: DLL creation program.
19390 # Used on cygwin: object dumper.
19393 # Used on cygwin: assembler.
19396 # The name of the directory that contains temporary libtool files.
19399 # How to create reloadable object files.
19400 reload_flag=$lt_reload_flag
19401 reload_cmds=$lt_reload_cmds
19403 # How to pass a linker flag through the compiler.
19404 wl=$lt_lt_prog_compiler_wl_GCJ
19406 # Object file suffix (normally "o").
19407 objext="$ac_objext"
19409 # Old archive suffix (normally "a").
19412 # Shared library suffix (normally ".so").
19413 shrext_cmds='$shrext_cmds'
19415 # Executable file suffix (normally "").
19418 # Additional compiler flags for building library objects.
19419 pic_flag=$lt_lt_prog_compiler_pic_GCJ
19422 # What is the maximum length of a command?
19423 max_cmd_len=$lt_cv_sys_max_cmd_len
19425 # Does compiler simultaneously support -c and -o options?
19426 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19428 # Must we lock files when doing compilation?
19429 need_locks=$lt_need_locks
19431 # Do we need the lib prefix for modules?
19432 need_lib_prefix=$need_lib_prefix
19434 # Do we need a version for libraries?
19435 need_version=$need_version
19437 # Whether dlopen is supported.
19438 dlopen_support=$enable_dlopen
19440 # Whether dlopen of programs is supported.
19441 dlopen_self=$enable_dlopen_self
19443 # Whether dlopen of statically linked programs is supported.
19444 dlopen_self_static=$enable_dlopen_self_static
19446 # Compiler flag to prevent dynamic linking.
19447 link_static_flag=$lt_lt_prog_compiler_static_GCJ
19449 # Compiler flag to turn off builtin functions.
19450 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19452 # Compiler flag to allow reflexive dlopens.
19453 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19455 # Compiler flag to generate shared objects directly from archives.
19456 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19458 # Compiler flag to generate thread-safe objects.
19459 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19461 # Library versioning type.
19462 version_type=$version_type
19464 # Format of library name prefix.
19465 libname_spec=$lt_libname_spec
19467 # List of archive names. First name is the real one, the rest are links.
19468 # The last name is the one that the linker finds with -lNAME.
19469 library_names_spec=$lt_library_names_spec
19471 # The coded name of the library, if different from the real name.
19472 soname_spec=$lt_soname_spec
19474 # Commands used to build and install an old-style archive.
19476 old_archive_cmds=$lt_old_archive_cmds_GCJ
19477 old_postinstall_cmds=$lt_old_postinstall_cmds
19478 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19480 # Create an old-style archive from a shared archive.
19481 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19483 # Create a temporary old-style archive to link instead of a shared archive.
19484 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19486 # Commands used to build and install a shared archive.
19487 archive_cmds=$lt_archive_cmds_GCJ
19488 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19489 postinstall_cmds=$lt_postinstall_cmds
19490 postuninstall_cmds=$lt_postuninstall_cmds
19492 # Commands used to build a loadable module (assumed same as above if empty)
19493 module_cmds=$lt_module_cmds_GCJ
19494 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19496 # Commands to strip libraries.
19497 old_striplib=$lt_old_striplib
19498 striplib=$lt_striplib
19500 # Dependencies to place before the objects being linked to create a
19502 predep_objects=$lt_predep_objects_GCJ
19504 # Dependencies to place after the objects being linked to create a
19506 postdep_objects=$lt_postdep_objects_GCJ
19508 # Dependencies to place before the objects being linked to create a
19510 predeps=$lt_predeps_GCJ
19512 # Dependencies to place after the objects being linked to create a
19514 postdeps=$lt_postdeps_GCJ
19516 # The directories searched by this compiler when creating a shared
19518 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
19520 # The library search path used internally by the compiler when linking
19521 # a shared library.
19522 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19524 # Method to check whether dependent libraries are shared objects.
19525 deplibs_check_method=$lt_deplibs_check_method
19527 # Command to use when deplibs_check_method == file_magic.
19528 file_magic_cmd=$lt_file_magic_cmd
19530 # Flag that allows shared libraries with undefined symbols to be built.
19531 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19533 # Flag that forces no undefined symbols.
19534 no_undefined_flag=$lt_no_undefined_flag_GCJ
19536 # Commands used to finish a libtool library installation in a directory.
19537 finish_cmds=$lt_finish_cmds
19539 # Same as above, but a single script fragment to be evaled but not shown.
19540 finish_eval=$lt_finish_eval
19542 # Take the output of nm and produce a listing of raw symbols and C names.
19543 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19545 # Transform the output of nm in a proper C declaration
19546 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19548 # Transform the output of nm in a C name address pair
19549 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19551 # This is the shared library runtime path variable.
19552 runpath_var=$runpath_var
19554 # This is the shared library path variable.
19555 shlibpath_var=$shlibpath_var
19557 # Is shlibpath searched before the hard-coded library search path?
19558 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19560 # How to hardcode a shared library path into an executable.
19561 hardcode_action=$hardcode_action_GCJ
19563 # Whether we should hardcode library paths into libraries.
19564 hardcode_into_libs=$hardcode_into_libs
19566 # Flag to hardcode \$libdir into a binary during linking.
19567 # This must work even if \$libdir does not exist.
19568 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19570 # If ld is used when linking, flag to hardcode \$libdir into
19571 # a binary during linking. This must work even if \$libdir does
19573 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19575 # Whether we need a single -rpath flag with a separated argument.
19576 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19578 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19579 # resulting binary.
19580 hardcode_direct=$hardcode_direct_GCJ
19582 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19583 # resulting binary.
19584 hardcode_minus_L=$hardcode_minus_L_GCJ
19586 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19587 # the resulting binary.
19588 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19590 # Set to yes if building a shared library automatically hardcodes DIR into the library
19591 # and all subsequent libraries and executables linked against it.
19592 hardcode_automatic=$hardcode_automatic_GCJ
19594 # Variables whose values should be saved in libtool wrapper scripts and
19595 # restored at relink time.
19596 variables_saved_for_relink="$variables_saved_for_relink"
19598 # Whether libtool must link a program against all its dependency libraries.
19599 link_all_deplibs=$link_all_deplibs_GCJ
19601 # Compile-time system search path for libraries
19602 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19604 # Run-time system search path for libraries
19605 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19607 # Fix the shell variable \$srcfile for the compiler.
19608 fix_srcfile_path=$lt_fix_srcfile_path
19610 # Set to yes if exported symbols are required.
19611 always_export_symbols=$always_export_symbols_GCJ
19613 # The commands to list exported symbols.
19614 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19616 # The commands to extract the exported symbol list from a shared archive.
19617 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19619 # Symbols that should not be listed in the preloaded symbols.
19620 exclude_expsyms=$lt_exclude_expsyms_GCJ
19622 # Symbols that must always be exported.
19623 include_expsyms=$lt_include_expsyms_GCJ
19625 # ### END LIBTOOL TAG CONFIG: $tagname
19631 # If there is no Makefile yet, we rely on a make rule to execute
19632 # `config.status --recheck' to rerun these tests and create the
19633 # libtool script then.
19634 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19635 if test -f "$ltmain_in"; then
19636 test -f Makefile
&& make "$ltmain"
19642 ac_cpp
='$CPP $CPPFLAGS'
19643 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19644 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19645 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19657 # Source file extension for RC test sources.
19660 # Object file extension for compiled RC test sources.
19664 # Code to be used in simple compile tests
19665 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19667 # Code to be used in simple link tests
19668 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19670 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19672 # If no C compiler was specified, use CC.
19675 # If no C compiler flags were specified, use CFLAGS.
19676 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19678 # Allow CC to be a program name with arguments.
19682 # save warnings/boilerplate of simple test code
19683 ac_outfile
=conftest.
$ac_objext
19684 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
19685 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19686 _lt_compiler_boilerplate
=`cat conftest.err`
19689 ac_outfile
=conftest.
$ac_objext
19690 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
19691 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19692 _lt_linker_boilerplate
=`cat conftest.err`
19696 # Allow CC to be a program name with arguments.
19701 for cc_temp
in $compiler""; do
19703 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19704 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19709 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19711 lt_cv_prog_compiler_c_o_RC
=yes
19713 # The else clause should only fire when bootstrapping the
19714 # libtool distribution, otherwise you forgot to ship ltmain.sh
19715 # with your package, and you will get complaints that there are
19716 # no rules to generate ltmain.sh.
19717 if test -f "$ltmain"; then
19718 # See if we are running on zsh, and set the options which allow our commands through
19719 # without removal of \ escapes.
19720 if test -n "${ZSH_VERSION+set}" ; then
19721 setopt NO_GLOB_SUBST
19723 # Now quote all the things that may contain metacharacters while being
19724 # careful not to overquote the AC_SUBSTed values. We take copies of the
19725 # variables and quote the copies for generation of the libtool script.
19726 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19728 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19729 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19730 deplibs_check_method reload_flag reload_cmds need_locks \
19731 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19732 lt_cv_sys_global_symbol_to_c_name_address \
19733 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19734 old_postinstall_cmds old_postuninstall_cmds \
19738 lt_prog_compiler_wl_RC \
19739 lt_prog_compiler_pic_RC \
19740 lt_prog_compiler_static_RC \
19741 lt_prog_compiler_no_builtin_flag_RC \
19742 export_dynamic_flag_spec_RC \
19743 thread_safe_flag_spec_RC \
19744 whole_archive_flag_spec_RC \
19745 enable_shared_with_static_runtimes_RC \
19746 old_archive_cmds_RC \
19747 old_archive_from_new_cmds_RC \
19748 predep_objects_RC \
19749 postdep_objects_RC \
19752 compiler_lib_search_path_RC \
19753 compiler_lib_search_dirs_RC \
19755 archive_expsym_cmds_RC \
19756 postinstall_cmds_RC \
19757 postuninstall_cmds_RC \
19758 old_archive_from_expsyms_cmds_RC \
19759 allow_undefined_flag_RC \
19760 no_undefined_flag_RC \
19761 export_symbols_cmds_RC \
19762 hardcode_libdir_flag_spec_RC \
19763 hardcode_libdir_flag_spec_ld_RC \
19764 hardcode_libdir_separator_RC \
19765 hardcode_automatic_RC \
19767 module_expsym_cmds_RC \
19768 lt_cv_prog_compiler_c_o_RC \
19769 fix_srcfile_path_RC \
19770 exclude_expsyms_RC \
19771 include_expsyms_RC
; do
19774 old_archive_cmds_RC | \
19775 old_archive_from_new_cmds_RC | \
19776 archive_cmds_RC | \
19777 archive_expsym_cmds_RC | \
19779 module_expsym_cmds_RC | \
19780 old_archive_from_expsyms_cmds_RC | \
19781 export_symbols_cmds_RC | \
19782 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19783 postinstall_cmds | postuninstall_cmds | \
19784 old_postinstall_cmds | old_postuninstall_cmds | \
19785 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19786 # Double-quote double-evaled strings.
19787 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19790 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19796 *'\$0 --fallback-echo"')
19797 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19803 cat <<__EOF__ >> "$cfgfile"
19804 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19806 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19808 # Shell to use when invoking shell scripts.
19811 # Whether or not to build shared libraries.
19812 build_libtool_libs=$enable_shared
19814 # Whether or not to build static libraries.
19815 build_old_libs=$enable_static
19817 # Whether or not to add -lc for building shared libraries.
19818 build_libtool_need_lc=$archive_cmds_need_lc_RC
19820 # Whether or not to disallow shared libs when runtime libs are static
19821 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19823 # Whether or not to optimize for fast installation.
19824 fast_install=$enable_fast_install
19827 host_alias=$host_alias
19831 # The build system.
19832 build_alias=$build_alias
19836 # An echo program that does not interpret backslashes.
19841 AR_FLAGS=$lt_AR_FLAGS
19846 # LTCC compiler flags.
19847 LTCFLAGS=$lt_LTCFLAGS
19849 # A language-specific compiler.
19852 # Is the compiler the GNU C compiler?
19858 # The linker used to build libraries.
19861 # Whether we need hard or soft links.
19864 # A BSD-compatible nm program.
19867 # A symbol stripping program
19870 # Used to examine libraries when file_magic_cmd begins "file"
19871 MAGIC_CMD=$MAGIC_CMD
19873 # Used on cygwin: DLL creation program.
19876 # Used on cygwin: object dumper.
19879 # Used on cygwin: assembler.
19882 # The name of the directory that contains temporary libtool files.
19885 # How to create reloadable object files.
19886 reload_flag=$lt_reload_flag
19887 reload_cmds=$lt_reload_cmds
19889 # How to pass a linker flag through the compiler.
19890 wl=$lt_lt_prog_compiler_wl_RC
19892 # Object file suffix (normally "o").
19893 objext="$ac_objext"
19895 # Old archive suffix (normally "a").
19898 # Shared library suffix (normally ".so").
19899 shrext_cmds='$shrext_cmds'
19901 # Executable file suffix (normally "").
19904 # Additional compiler flags for building library objects.
19905 pic_flag=$lt_lt_prog_compiler_pic_RC
19908 # What is the maximum length of a command?
19909 max_cmd_len=$lt_cv_sys_max_cmd_len
19911 # Does compiler simultaneously support -c and -o options?
19912 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19914 # Must we lock files when doing compilation?
19915 need_locks=$lt_need_locks
19917 # Do we need the lib prefix for modules?
19918 need_lib_prefix=$need_lib_prefix
19920 # Do we need a version for libraries?
19921 need_version=$need_version
19923 # Whether dlopen is supported.
19924 dlopen_support=$enable_dlopen
19926 # Whether dlopen of programs is supported.
19927 dlopen_self=$enable_dlopen_self
19929 # Whether dlopen of statically linked programs is supported.
19930 dlopen_self_static=$enable_dlopen_self_static
19932 # Compiler flag to prevent dynamic linking.
19933 link_static_flag=$lt_lt_prog_compiler_static_RC
19935 # Compiler flag to turn off builtin functions.
19936 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19938 # Compiler flag to allow reflexive dlopens.
19939 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19941 # Compiler flag to generate shared objects directly from archives.
19942 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19944 # Compiler flag to generate thread-safe objects.
19945 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19947 # Library versioning type.
19948 version_type=$version_type
19950 # Format of library name prefix.
19951 libname_spec=$lt_libname_spec
19953 # List of archive names. First name is the real one, the rest are links.
19954 # The last name is the one that the linker finds with -lNAME.
19955 library_names_spec=$lt_library_names_spec
19957 # The coded name of the library, if different from the real name.
19958 soname_spec=$lt_soname_spec
19960 # Commands used to build and install an old-style archive.
19962 old_archive_cmds=$lt_old_archive_cmds_RC
19963 old_postinstall_cmds=$lt_old_postinstall_cmds
19964 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19966 # Create an old-style archive from a shared archive.
19967 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19969 # Create a temporary old-style archive to link instead of a shared archive.
19970 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19972 # Commands used to build and install a shared archive.
19973 archive_cmds=$lt_archive_cmds_RC
19974 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19975 postinstall_cmds=$lt_postinstall_cmds
19976 postuninstall_cmds=$lt_postuninstall_cmds
19978 # Commands used to build a loadable module (assumed same as above if empty)
19979 module_cmds=$lt_module_cmds_RC
19980 module_expsym_cmds=$lt_module_expsym_cmds_RC
19982 # Commands to strip libraries.
19983 old_striplib=$lt_old_striplib
19984 striplib=$lt_striplib
19986 # Dependencies to place before the objects being linked to create a
19988 predep_objects=$lt_predep_objects_RC
19990 # Dependencies to place after the objects being linked to create a
19992 postdep_objects=$lt_postdep_objects_RC
19994 # Dependencies to place before the objects being linked to create a
19996 predeps=$lt_predeps_RC
19998 # Dependencies to place after the objects being linked to create a
20000 postdeps=$lt_postdeps_RC
20002 # The directories searched by this compiler when creating a shared
20004 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
20006 # The library search path used internally by the compiler when linking
20007 # a shared library.
20008 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20010 # Method to check whether dependent libraries are shared objects.
20011 deplibs_check_method=$lt_deplibs_check_method
20013 # Command to use when deplibs_check_method == file_magic.
20014 file_magic_cmd=$lt_file_magic_cmd
20016 # Flag that allows shared libraries with undefined symbols to be built.
20017 allow_undefined_flag=$lt_allow_undefined_flag_RC
20019 # Flag that forces no undefined symbols.
20020 no_undefined_flag=$lt_no_undefined_flag_RC
20022 # Commands used to finish a libtool library installation in a directory.
20023 finish_cmds=$lt_finish_cmds
20025 # Same as above, but a single script fragment to be evaled but not shown.
20026 finish_eval=$lt_finish_eval
20028 # Take the output of nm and produce a listing of raw symbols and C names.
20029 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20031 # Transform the output of nm in a proper C declaration
20032 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20034 # Transform the output of nm in a C name address pair
20035 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20037 # This is the shared library runtime path variable.
20038 runpath_var=$runpath_var
20040 # This is the shared library path variable.
20041 shlibpath_var=$shlibpath_var
20043 # Is shlibpath searched before the hard-coded library search path?
20044 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20046 # How to hardcode a shared library path into an executable.
20047 hardcode_action=$hardcode_action_RC
20049 # Whether we should hardcode library paths into libraries.
20050 hardcode_into_libs=$hardcode_into_libs
20052 # Flag to hardcode \$libdir into a binary during linking.
20053 # This must work even if \$libdir does not exist.
20054 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20056 # If ld is used when linking, flag to hardcode \$libdir into
20057 # a binary during linking. This must work even if \$libdir does
20059 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20061 # Whether we need a single -rpath flag with a separated argument.
20062 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20064 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20065 # resulting binary.
20066 hardcode_direct=$hardcode_direct_RC
20068 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20069 # resulting binary.
20070 hardcode_minus_L=$hardcode_minus_L_RC
20072 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20073 # the resulting binary.
20074 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20076 # Set to yes if building a shared library automatically hardcodes DIR into the library
20077 # and all subsequent libraries and executables linked against it.
20078 hardcode_automatic=$hardcode_automatic_RC
20080 # Variables whose values should be saved in libtool wrapper scripts and
20081 # restored at relink time.
20082 variables_saved_for_relink="$variables_saved_for_relink"
20084 # Whether libtool must link a program against all its dependency libraries.
20085 link_all_deplibs=$link_all_deplibs_RC
20087 # Compile-time system search path for libraries
20088 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20090 # Run-time system search path for libraries
20091 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20093 # Fix the shell variable \$srcfile for the compiler.
20094 fix_srcfile_path=$lt_fix_srcfile_path
20096 # Set to yes if exported symbols are required.
20097 always_export_symbols=$always_export_symbols_RC
20099 # The commands to list exported symbols.
20100 export_symbols_cmds=$lt_export_symbols_cmds_RC
20102 # The commands to extract the exported symbol list from a shared archive.
20103 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20105 # Symbols that should not be listed in the preloaded symbols.
20106 exclude_expsyms=$lt_exclude_expsyms_RC
20108 # Symbols that must always be exported.
20109 include_expsyms=$lt_include_expsyms_RC
20111 # ### END LIBTOOL TAG CONFIG: $tagname
20117 # If there is no Makefile yet, we rely on a make rule to execute
20118 # `config.status --recheck' to rerun these tests and create the
20119 # libtool script then.
20120 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20121 if test -f "$ltmain_in"; then
20122 test -f Makefile
&& make "$ltmain"
20128 ac_cpp
='$CPP $CPPFLAGS'
20129 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20130 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20131 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20138 { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20139 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20140 { (exit 1); exit 1; }; }
20144 # Append the new tag name to the list of available tags.
20145 if test -n "$tagname" ; then
20146 available_tags
="$available_tags $tagname"
20152 # Now substitute the updated list of available tags.
20153 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20154 mv "${ofile}T" "$ofile"
20158 { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20159 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20160 { (exit 1); exit 1; }; }
20166 # This can be used to rebuild libtool when needed
20167 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
20169 # Always use our own libtool.
20170 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
20172 # Prevent multiple expansion
20194 # Checks for libraries.
20196 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
20197 $as_echo_n "checking for dlopen in -ldl... " >&6; }
20198 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20199 $as_echo_n "(cached) " >&6
20201 ac_check_lib_save_LIBS
=$LIBS
20203 cat >conftest.
$ac_ext <<_ACEOF
20206 cat confdefs.h
>>conftest.
$ac_ext
20207 cat >>conftest.
$ac_ext <<_ACEOF
20208 /* end confdefs.h. */
20210 /* Override any GCC internal prototype to avoid an error.
20211 Use char because int might match the return type of a GCC
20212 builtin and then its argument prototype would still apply. */
20225 rm -f conftest.
$ac_objext conftest
$ac_exeext
20226 if { (ac_try
="$ac_link"
20227 case "(($ac_try" in
20228 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20229 *) ac_try_echo=$ac_try;;
20231 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20232 $as_echo "$ac_try_echo") >&5
20233 (eval "$ac_link") 2>conftest.er1
20235 grep -v '^ *+' conftest.er1 >conftest.err
20237 cat conftest.err >&5
20238 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20239 (exit $ac_status); } && {
20240 test -z "$ac_c_werror_flag" ||
20241 test ! -s conftest.err
20242 } && test -s conftest$ac_exeext && {
20243 test "$cross_compiling" = yes ||
20244 $as_test_x conftest$ac_exeext
20246 ac_cv_lib_dl_dlopen=yes
20248 $as_echo "$as_me: failed program was:" >&5
20249 sed 's/^/| /' conftest.$ac_ext >&5
20251 ac_cv_lib_dl_dlopen=no
20254 rm -rf conftest.dSYM
20255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20256 conftest$ac_exeext conftest.$ac_ext
20257 LIBS=$ac_check_lib_save_LIBS
20259 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
20260 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
20261 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
20262 cat >>confdefs.h <<_ACEOF
20263 #define HAVE_LIBDL 1
20271 # Checks for header files.
20272 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
20273 # for constant arguments. Useless!
20274 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
20275 $as_echo_n "checking for working alloca.h... " >&6; }
20276 if test "${ac_cv_working_alloca_h+set}" = set; then
20277 $as_echo_n "(cached) " >&6
20279 cat >conftest.$ac_ext <<_ACEOF
20282 cat confdefs.h >>conftest.$ac_ext
20283 cat >>conftest.$ac_ext <<_ACEOF
20284 /* end confdefs.h. */
20285 #include <alloca.h>
20289 char *p = (char *) alloca (2 * sizeof (int));
20295 rm -f conftest.$ac_objext conftest$ac_exeext
20296 if { (ac_try="$ac_link"
20297 case "(($ac_try" in
20298 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20299 *) ac_try_echo
=$ac_try;;
20301 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20302 $as_echo "$ac_try_echo") >&5
20303 (eval "$ac_link") 2>conftest.er1
20305 grep -v '^ *+' conftest.er1
>conftest.err
20307 cat conftest.err
>&5
20308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20309 (exit $ac_status); } && {
20310 test -z "$ac_c_werror_flag" ||
20311 test ! -s conftest.err
20312 } && test -s conftest
$ac_exeext && {
20313 test "$cross_compiling" = yes ||
20314 $as_test_x conftest
$ac_exeext
20316 ac_cv_working_alloca_h
=yes
20318 $as_echo "$as_me: failed program was:" >&5
20319 sed 's/^/| /' conftest.
$ac_ext >&5
20321 ac_cv_working_alloca_h
=no
20324 rm -rf conftest.dSYM
20325 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20326 conftest
$ac_exeext conftest.
$ac_ext
20328 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
20329 $as_echo "$ac_cv_working_alloca_h" >&6; }
20330 if test $ac_cv_working_alloca_h = yes; then
20332 cat >>confdefs.h
<<\_ACEOF
20333 #define HAVE_ALLOCA_H 1
20338 { $as_echo "$as_me:$LINENO: checking for alloca" >&5
20339 $as_echo_n "checking for alloca... " >&6; }
20340 if test "${ac_cv_func_alloca_works+set}" = set; then
20341 $as_echo_n "(cached) " >&6
20343 cat >conftest.
$ac_ext <<_ACEOF
20346 cat confdefs.h
>>conftest.
$ac_ext
20347 cat >>conftest.
$ac_ext <<_ACEOF
20348 /* end confdefs.h. */
20350 # define alloca __builtin_alloca
20353 # include <malloc.h>
20354 # define alloca _alloca
20356 # ifdef HAVE_ALLOCA_H
20357 # include <alloca.h>
20362 # ifndef alloca /* predefined by HP cc +Olibcalls */
20373 char *p = (char *) alloca (1);
20379 rm -f conftest.
$ac_objext conftest
$ac_exeext
20380 if { (ac_try
="$ac_link"
20381 case "(($ac_try" in
20382 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20383 *) ac_try_echo=$ac_try;;
20385 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20386 $as_echo "$ac_try_echo") >&5
20387 (eval "$ac_link") 2>conftest.er1
20389 grep -v '^ *+' conftest.er1 >conftest.err
20391 cat conftest.err >&5
20392 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20393 (exit $ac_status); } && {
20394 test -z "$ac_c_werror_flag" ||
20395 test ! -s conftest.err
20396 } && test -s conftest$ac_exeext && {
20397 test "$cross_compiling" = yes ||
20398 $as_test_x conftest$ac_exeext
20400 ac_cv_func_alloca_works=yes
20402 $as_echo "$as_me: failed program was:" >&5
20403 sed 's/^/| /' conftest.$ac_ext >&5
20405 ac_cv_func_alloca_works=no
20408 rm -rf conftest.dSYM
20409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20410 conftest$ac_exeext conftest.$ac_ext
20412 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
20413 $as_echo "$ac_cv_func_alloca_works" >&6; }
20415 if test $ac_cv_func_alloca_works = yes; then
20417 cat >>confdefs.h <<\_ACEOF
20418 #define HAVE_ALLOCA 1
20422 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
20423 # that cause trouble. Some versions do not even contain alloca or
20424 # contain a buggy version. If you still want to use their alloca,
20425 # use ar to extract alloca.o from them instead of compiling alloca.c.
20427 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
20429 cat >>confdefs.h <<\_ACEOF
20434 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c
' needs Cray hooks" >&5
20435 $as_echo_n "checking whether \`alloca.c' needs Cray hooks...
" >&6; }
20436 if test "${ac_cv_os_cray+set}" = set; then
20437 $as_echo_n "(cached
) " >&6
20439 cat >conftest.$ac_ext <<_ACEOF
20442 cat confdefs.h >>conftest.$ac_ext
20443 cat >>conftest.$ac_ext <<_ACEOF
20444 /* end confdefs.h. */
20445 #if defined CRAY && ! defined CRAY2
20452 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
20453 $EGREP "webecray
" >/dev/null 2>&1; then
20461 { $as_echo "$as_me:$LINENO: result
: $ac_cv_os_cray" >&5
20462 $as_echo "$ac_cv_os_cray" >&6; }
20463 if test $ac_cv_os_cray = yes; then
20464 for ac_func in _getb67 GETB67 getb67; do
20465 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
20466 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
20467 $as_echo_n "checking
for $ac_func...
" >&6; }
20468 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
20469 $as_echo_n "(cached
) " >&6
20471 cat >conftest.$ac_ext <<_ACEOF
20474 cat confdefs.h >>conftest.$ac_ext
20475 cat >>conftest.$ac_ext <<_ACEOF
20476 /* end confdefs.h. */
20477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20479 #define $ac_func innocuous_$ac_func
20481 /* System header to define __stub macros and hopefully few prototypes,
20482 which can conflict with char $ac_func (); below.
20483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20484 <limits.h> exists even on freestanding compilers. */
20487 # include <limits.h>
20489 # include <assert.h>
20494 /* Override any GCC internal prototype to avoid an error.
20495 Use char because int might match the return type of a GCC
20496 builtin and then its argument prototype would still apply. */
20501 /* The GNU C library defines this for functions which it implements
20502 to always fail with ENOSYS. Some functions are actually named
20503 something starting with __ and the normal name is an alias. */
20504 #if defined __stub_$ac_func || defined __stub___$ac_func
20511 return $ac_func ();
20516 rm -f conftest.$ac_objext conftest$ac_exeext
20517 if { (ac_try="$ac_link"
20518 case "(($ac_try" in
20519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20520 *) ac_try_echo=$ac_try;;
20522 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
20523 $as_echo "$ac_try_echo") >&5
20524 (eval "$ac_link") 2>conftest.er1
20526 grep -v '^ *+' conftest.er1 >conftest.err
20528 cat conftest.err >&5
20529 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20530 (exit $ac_status); } && {
20531 test -z "$ac_c_werror_flag" ||
20532 test ! -s conftest.err
20533 } && test -s conftest$ac_exeext && {
20534 test "$cross_compiling" = yes ||
20535 $as_test_x conftest$ac_exeext
20537 eval "$as_ac_var=yes"
20539 $as_echo "$as_me: failed program was
:" >&5
20540 sed 's/^/| /' conftest.$ac_ext >&5
20542 eval "$as_ac_var=no
"
20545 rm -rf conftest.dSYM
20546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20547 conftest$ac_exeext conftest.$ac_ext
20549 ac_res=`eval 'as_val=${'$as_ac_var'}
20550 $as_echo "$as_val"'`
20551 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
20552 $as_echo "$ac_res" >&6; }
20553 as_val=`eval 'as_val=${'$as_ac_var'}
20554 $as_echo "$as_val"'`
20555 if test "x
$as_val" = x""yes; then
20557 cat >>confdefs.h <<_ACEOF
20558 #define CRAY_STACKSEG_END $ac_func
20567 { $as_echo "$as_me:$LINENO: checking stack direction
for C alloca
" >&5
20568 $as_echo_n "checking stack direction
for C alloca...
" >&6; }
20569 if test "${ac_cv_c_stack_direction+set}" = set; then
20570 $as_echo_n "(cached
) " >&6
20572 if test "$cross_compiling" = yes; then
20573 ac_cv_c_stack_direction=0
20575 cat >conftest.$ac_ext <<_ACEOF
20578 cat confdefs.h >>conftest.$ac_ext
20579 cat >>conftest.$ac_ext <<_ACEOF
20580 /* end confdefs.h. */
20581 $ac_includes_default
20583 find_stack_direction ()
20585 static char *addr = 0;
20590 return find_stack_direction ();
20593 return (&dummy > addr) ? 1 : -1;
20599 return find_stack_direction () < 0;
20602 rm -f conftest$ac_exeext
20603 if { (ac_try="$ac_link"
20604 case "(($ac_try" in
20605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20606 *) ac_try_echo=$ac_try;;
20608 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
20609 $as_echo "$ac_try_echo") >&5
20610 (eval "$ac_link") 2>&5
20612 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20613 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20614 { (case "(($ac_try" in
20615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20616 *) ac_try_echo=$ac_try;;
20618 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
20619 $as_echo "$ac_try_echo") >&5
20620 (eval "$ac_try") 2>&5
20622 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20623 (exit $ac_status); }; }; then
20624 ac_cv_c_stack_direction=1
20626 $as_echo "$as_me: program exited with status
$ac_status" >&5
20627 $as_echo "$as_me: failed program was
:" >&5
20628 sed 's/^/| /' conftest.$ac_ext >&5
20630 ( exit $ac_status )
20631 ac_cv_c_stack_direction=-1
20633 rm -rf conftest.dSYM
20634 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20639 { $as_echo "$as_me:$LINENO: result
: $ac_cv_c_stack_direction" >&5
20640 $as_echo "$ac_cv_c_stack_direction" >&6; }
20642 cat >>confdefs.h <<_ACEOF
20643 #define STACK_DIRECTION $ac_cv_c_stack_direction
20649 { $as_echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
20650 $as_echo_n "checking
for ANSI C header files...
" >&6; }
20651 if test "${ac_cv_header_stdc+set}" = set; then
20652 $as_echo_n "(cached
) " >&6
20654 cat >conftest.$ac_ext <<_ACEOF
20657 cat confdefs.h >>conftest.$ac_ext
20658 cat >>conftest.$ac_ext <<_ACEOF
20659 /* end confdefs.h. */
20660 #include <stdlib.h>
20661 #include <stdarg.h>
20662 #include <string.h>
20673 rm -f conftest.$ac_objext
20674 if { (ac_try="$ac_compile"
20675 case "(($ac_try" in
20676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20677 *) ac_try_echo=$ac_try;;
20679 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
20680 $as_echo "$ac_try_echo") >&5
20681 (eval "$ac_compile") 2>conftest.er1
20683 grep -v '^ *+' conftest.er1 >conftest.err
20685 cat conftest.err >&5
20686 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20687 (exit $ac_status); } && {
20688 test -z "$ac_c_werror_flag" ||
20689 test ! -s conftest.err
20690 } && test -s conftest.$ac_objext; then
20691 ac_cv_header_stdc=yes
20693 $as_echo "$as_me: failed program was
:" >&5
20694 sed 's/^/| /' conftest.$ac_ext >&5
20696 ac_cv_header_stdc=no
20699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20701 if test $ac_cv_header_stdc = yes; then
20702 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20703 cat >conftest.$ac_ext <<_ACEOF
20706 cat confdefs.h >>conftest.$ac_ext
20707 cat >>conftest.$ac_ext <<_ACEOF
20708 /* end confdefs.h. */
20709 #include <string.h>
20712 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
20713 $EGREP "memchr
" >/dev/null 2>&1; then
20716 ac_cv_header_stdc=no
20722 if test $ac_cv_header_stdc = yes; then
20723 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20724 cat >conftest.$ac_ext <<_ACEOF
20727 cat confdefs.h >>conftest.$ac_ext
20728 cat >>conftest.$ac_ext <<_ACEOF
20729 /* end confdefs.h. */
20730 #include <stdlib.h>
20733 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
20734 $EGREP "free
" >/dev/null 2>&1; then
20737 ac_cv_header_stdc=no
20743 if test $ac_cv_header_stdc = yes; then
20744 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20745 if test "$cross_compiling" = yes; then
20748 cat >conftest.$ac_ext <<_ACEOF
20751 cat confdefs.h >>conftest.$ac_ext
20752 cat >>conftest.$ac_ext <<_ACEOF
20753 /* end confdefs.h. */
20755 #include <stdlib.h>
20756 #if ((' ' & 0x0FF) == 0x020)
20757 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20758 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20760 # define ISLOWER(c) \
20761 (('a' <= (c) && (c) <= 'i') \
20762 || ('j' <= (c) && (c) <= 'r') \
20763 || ('s' <= (c) && (c) <= 'z'))
20764 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20767 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20772 for (i = 0; i < 256; i++)
20773 if (XOR (islower (i), ISLOWER (i))
20774 || toupper (i) != TOUPPER (i))
20779 rm -f conftest$ac_exeext
20780 if { (ac_try="$ac_link"
20781 case "(($ac_try" in
20782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20783 *) ac_try_echo=$ac_try;;
20785 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
20786 $as_echo "$ac_try_echo") >&5
20787 (eval "$ac_link") 2>&5
20789 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20790 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20791 { (case "(($ac_try" in
20792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20793 *) ac_try_echo=$ac_try;;
20795 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
20796 $as_echo "$ac_try_echo") >&5
20797 (eval "$ac_try") 2>&5
20799 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20800 (exit $ac_status); }; }; then
20803 $as_echo "$as_me: program exited with status
$ac_status" >&5
20804 $as_echo "$as_me: failed program was
:" >&5
20805 sed 's/^/| /' conftest.$ac_ext >&5
20807 ( exit $ac_status )
20808 ac_cv_header_stdc=no
20810 rm -rf conftest.dSYM
20811 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20817 { $as_echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
20818 $as_echo "$ac_cv_header_stdc" >&6; }
20819 if test $ac_cv_header_stdc = yes; then
20821 cat >>confdefs.h <<\_ACEOF
20822 #define STDC_HEADERS 1
20834 for ac_header in fcntl.h limits.h stdlib.h string.h sys/ioctl.h sys/time.h unistd.h
20836 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20837 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20838 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
20839 $as_echo_n "checking
for $ac_header...
" >&6; }
20840 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20841 $as_echo_n "(cached
) " >&6
20843 ac_res=`eval 'as_val=${'$as_ac_Header'}
20844 $as_echo "$as_val"'`
20845 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
20846 $as_echo "$ac_res" >&6; }
20848 # Is the header compilable?
20849 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
20850 $as_echo_n "checking
$ac_header usability...
" >&6; }
20851 cat >conftest.$ac_ext <<_ACEOF
20854 cat confdefs.h >>conftest.$ac_ext
20855 cat >>conftest.$ac_ext <<_ACEOF
20856 /* end confdefs.h. */
20857 $ac_includes_default
20858 #include <$ac_header>
20860 rm -f conftest.$ac_objext
20861 if { (ac_try="$ac_compile"
20862 case "(($ac_try" in
20863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20864 *) ac_try_echo=$ac_try;;
20866 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
20867 $as_echo "$ac_try_echo") >&5
20868 (eval "$ac_compile") 2>conftest.er1
20870 grep -v '^ *+' conftest.er1 >conftest.err
20872 cat conftest.err >&5
20873 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20874 (exit $ac_status); } && {
20875 test -z "$ac_c_werror_flag" ||
20876 test ! -s conftest.err
20877 } && test -s conftest.$ac_objext; then
20878 ac_header_compiler=yes
20880 $as_echo "$as_me: failed program was
:" >&5
20881 sed 's/^/| /' conftest.$ac_ext >&5
20883 ac_header_compiler=no
20886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20887 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
20888 $as_echo "$ac_header_compiler" >&6; }
20890 # Is the header present?
20891 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
20892 $as_echo_n "checking
$ac_header presence...
" >&6; }
20893 cat >conftest.$ac_ext <<_ACEOF
20896 cat confdefs.h >>conftest.$ac_ext
20897 cat >>conftest.$ac_ext <<_ACEOF
20898 /* end confdefs.h. */
20899 #include <$ac_header>
20901 if { (ac_try="$ac_cpp conftest.
$ac_ext"
20902 case "(($ac_try" in
20903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20904 *) ac_try_echo=$ac_try;;
20906 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
20907 $as_echo "$ac_try_echo") >&5
20908 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
20910 grep -v '^ *+' conftest.er1 >conftest.err
20912 cat conftest.err >&5
20913 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20914 (exit $ac_status); } >/dev/null && {
20915 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20916 test ! -s conftest.err
20918 ac_header_preproc=yes
20920 $as_echo "$as_me: failed program was
:" >&5
20921 sed 's/^/| /' conftest.$ac_ext >&5
20923 ac_header_preproc=no
20926 rm -f conftest.err conftest.$ac_ext
20927 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
20928 $as_echo "$ac_header_preproc" >&6; }
20930 # So? What about this header?
20931 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20933 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
20934 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
20935 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
20936 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
20937 ac_header_preproc=yes
20940 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
20941 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
20942 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
20943 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
20944 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
20945 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
20946 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
20947 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
20948 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
20949 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
20950 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
20951 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
20953 ## ------------------------------------ ##
20954 ## Report this to kergoth@handhelds.org ##
20955 ## ------------------------------------ ##
20957 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
20960 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
20961 $as_echo_n "checking
for $ac_header...
" >&6; }
20962 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20963 $as_echo_n "(cached
) " >&6
20965 eval "$as_ac_Header=\
$ac_header_preproc"
20967 ac_res=`eval 'as_val=${'$as_ac_Header'}
20968 $as_echo "$as_val"'`
20969 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
20970 $as_echo "$ac_res" >&6; }
20973 as_val=`eval 'as_val=${'$as_ac_Header'}
20974 $as_echo "$as_val"'`
20975 if test "x
$as_val" = x""yes; then
20976 cat >>confdefs.h <<_ACEOF
20977 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20985 # Checks for typedefs, structures, and compiler characteristics.
20986 { $as_echo "$as_me:$LINENO: checking
for an ANSI C-conforming const
" >&5
20987 $as_echo_n "checking
for an ANSI C-conforming const...
" >&6; }
20988 if test "${ac_cv_c_const+set}" = set; then
20989 $as_echo_n "(cached
) " >&6
20991 cat >conftest.$ac_ext <<_ACEOF
20994 cat confdefs.h >>conftest.$ac_ext
20995 cat >>conftest.$ac_ext <<_ACEOF
20996 /* end confdefs.h. */
21001 /* FIXME: Include the comments suggested by Paul. */
21002 #ifndef __cplusplus
21003 /* Ultrix mips cc rejects this. */
21004 typedef int charset[2];
21006 /* SunOS 4.1.1 cc rejects this. */
21007 char const *const *pcpcc;
21009 /* NEC SVR4.0.2 mips cc rejects this. */
21010 struct point {int x, y;};
21011 static struct point const zero = {0,0};
21012 /* AIX XL C 1.02.0.0 rejects this.
21013 It does not let you subtract one const X* pointer from another in
21014 an arm of an if-expression whose if-part is not a constant
21016 const char *g = "string
";
21017 pcpcc = &g + (g ? g-g : 0);
21018 /* HPUX 7.0 cc rejects these. */
21020 ppc = (char**) pcpcc;
21021 pcpcc = (char const *const *) ppc;
21022 { /* SCO 3.2v4 cc rejects this. */
21024 char const *s = 0 ? (char *) 0 : (char const *) 0;
21029 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21030 int x[] = {25, 17};
21031 const int *foo = &x[0];
21034 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21035 typedef const int *iptr;
21039 { /* AIX XL C 1.02.0.0 rejects this saying
21040 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21041 struct s { int j; const int *ap[3]; };
21042 struct s *b; b->j = 5;
21044 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21045 const int foo = 10;
21046 if (!foo) return 0;
21048 return !cs[0] && !zero.x;
21055 rm -f conftest.$ac_objext
21056 if { (ac_try="$ac_compile"
21057 case "(($ac_try" in
21058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21059 *) ac_try_echo=$ac_try;;
21061 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
21062 $as_echo "$ac_try_echo") >&5
21063 (eval "$ac_compile") 2>conftest.er1
21065 grep -v '^ *+' conftest.er1 >conftest.err
21067 cat conftest.err >&5
21068 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21069 (exit $ac_status); } && {
21070 test -z "$ac_c_werror_flag" ||
21071 test ! -s conftest.err
21072 } && test -s conftest.$ac_objext; then
21075 $as_echo "$as_me: failed program was
:" >&5
21076 sed 's/^/| /' conftest.$ac_ext >&5
21081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21083 { $as_echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
21084 $as_echo "$ac_cv_c_const" >&6; }
21085 if test $ac_cv_c_const = no; then
21087 cat >>confdefs.h <<\_ACEOF
21093 { $as_echo "$as_me:$LINENO: checking
for inline
" >&5
21094 $as_echo_n "checking
for inline...
" >&6; }
21095 if test "${ac_cv_c_inline+set}" = set; then
21096 $as_echo_n "(cached
) " >&6
21099 for ac_kw in inline __inline__ __inline; do
21100 cat >conftest.$ac_ext <<_ACEOF
21103 cat confdefs.h >>conftest.$ac_ext
21104 cat >>conftest.$ac_ext <<_ACEOF
21105 /* end confdefs.h. */
21106 #ifndef __cplusplus
21108 static $ac_kw foo_t static_foo () {return 0; }
21109 $ac_kw foo_t foo () {return 0; }
21113 rm -f conftest.$ac_objext
21114 if { (ac_try="$ac_compile"
21115 case "(($ac_try" in
21116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21117 *) ac_try_echo=$ac_try;;
21119 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
21120 $as_echo "$ac_try_echo") >&5
21121 (eval "$ac_compile") 2>conftest.er1
21123 grep -v '^ *+' conftest.er1 >conftest.err
21125 cat conftest.err >&5
21126 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21127 (exit $ac_status); } && {
21128 test -z "$ac_c_werror_flag" ||
21129 test ! -s conftest.err
21130 } && test -s conftest.$ac_objext; then
21131 ac_cv_c_inline=$ac_kw
21133 $as_echo "$as_me: failed program was
:" >&5
21134 sed 's/^/| /' conftest.$ac_ext >&5
21139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21140 test "$ac_cv_c_inline" != no && break
21144 { $as_echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
21145 $as_echo "$ac_cv_c_inline" >&6; }
21148 case $ac_cv_c_inline in
21151 case $ac_cv_c_inline in
21153 *) ac_val=$ac_cv_c_inline;;
21155 cat >>confdefs.h <<_ACEOF
21156 #ifndef __cplusplus
21157 #define inline $ac_val
21163 { $as_echo "$as_me:$LINENO: checking
for size_t
" >&5
21164 $as_echo_n "checking
for size_t...
" >&6; }
21165 if test "${ac_cv_type_size_t+set}" = set; then
21166 $as_echo_n "(cached
) " >&6
21168 ac_cv_type_size_t=no
21169 cat >conftest.$ac_ext <<_ACEOF
21172 cat confdefs.h >>conftest.$ac_ext
21173 cat >>conftest.$ac_ext <<_ACEOF
21174 /* end confdefs.h. */
21175 $ac_includes_default
21179 if (sizeof (size_t))
21185 rm -f conftest.$ac_objext
21186 if { (ac_try="$ac_compile"
21187 case "(($ac_try" in
21188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21189 *) ac_try_echo=$ac_try;;
21191 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
21192 $as_echo "$ac_try_echo") >&5
21193 (eval "$ac_compile") 2>conftest.er1
21195 grep -v '^ *+' conftest.er1 >conftest.err
21197 cat conftest.err >&5
21198 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21199 (exit $ac_status); } && {
21200 test -z "$ac_c_werror_flag" ||
21201 test ! -s conftest.err
21202 } && test -s conftest.$ac_objext; then
21203 cat >conftest.$ac_ext <<_ACEOF
21206 cat confdefs.h >>conftest.$ac_ext
21207 cat >>conftest.$ac_ext <<_ACEOF
21208 /* end confdefs.h. */
21209 $ac_includes_default
21213 if (sizeof ((size_t)))
21219 rm -f conftest.$ac_objext
21220 if { (ac_try="$ac_compile"
21221 case "(($ac_try" in
21222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21223 *) ac_try_echo=$ac_try;;
21225 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
21226 $as_echo "$ac_try_echo") >&5
21227 (eval "$ac_compile") 2>conftest.er1
21229 grep -v '^ *+' conftest.er1 >conftest.err
21231 cat conftest.err >&5
21232 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21233 (exit $ac_status); } && {
21234 test -z "$ac_c_werror_flag" ||
21235 test ! -s conftest.err
21236 } && test -s conftest.$ac_objext; then
21239 $as_echo "$as_me: failed program was
:" >&5
21240 sed 's/^/| /' conftest.$ac_ext >&5
21242 ac_cv_type_size_t=yes
21245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21247 $as_echo "$as_me: failed program was
:" >&5
21248 sed 's/^/| /' conftest.$ac_ext >&5
21253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21255 { $as_echo "$as_me:$LINENO: result
: $ac_cv_type_size_t" >&5
21256 $as_echo "$ac_cv_type_size_t" >&6; }
21257 if test "x
$ac_cv_type_size_t" = x""yes; then
21261 cat >>confdefs.h <<_ACEOF
21262 #define size_t unsigned int
21267 { $as_echo "$as_me:$LINENO: checking whether
time.h and sys
/time.h may both be included
" >&5
21268 $as_echo_n "checking whether
time.h and sys
/time.h may both be included...
" >&6; }
21269 if test "${ac_cv_header_time+set}" = set; then
21270 $as_echo_n "(cached
) " >&6
21272 cat >conftest.$ac_ext <<_ACEOF
21275 cat confdefs.h >>conftest.$ac_ext
21276 cat >>conftest.$ac_ext <<_ACEOF
21277 /* end confdefs.h. */
21278 #include <sys/types.h>
21279 #include <sys/time.h>
21285 if ((struct tm *) 0)
21291 rm -f conftest.$ac_objext
21292 if { (ac_try="$ac_compile"
21293 case "(($ac_try" in
21294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21295 *) ac_try_echo=$ac_try;;
21297 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
21298 $as_echo "$ac_try_echo") >&5
21299 (eval "$ac_compile") 2>conftest.er1
21301 grep -v '^ *+' conftest.er1 >conftest.err
21303 cat conftest.err >&5
21304 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21305 (exit $ac_status); } && {
21306 test -z "$ac_c_werror_flag" ||
21307 test ! -s conftest.err
21308 } && test -s conftest.$ac_objext; then
21309 ac_cv_header_time=yes
21311 $as_echo "$as_me: failed program was
:" >&5
21312 sed 's/^/| /' conftest.$ac_ext >&5
21314 ac_cv_header_time=no
21317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21319 { $as_echo "$as_me:$LINENO: result
: $ac_cv_header_time" >&5
21320 $as_echo "$ac_cv_header_time" >&6; }
21321 if test $ac_cv_header_time = yes; then
21323 cat >>confdefs.h <<\_ACEOF
21324 #define TIME_WITH_SYS_TIME 1
21330 # Checks for library functions.
21331 if test $ac_cv_c_compiler_gnu = yes; then
21332 { $as_echo "$as_me:$LINENO: checking whether
$CC needs
-traditional" >&5
21333 $as_echo_n "checking whether
$CC needs
-traditional...
" >&6; }
21334 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21335 $as_echo_n "(cached
) " >&6
21337 ac_pattern="Autoconf.
*'x'"
21338 cat >conftest.$ac_ext <<_ACEOF
21341 cat confdefs.h >>conftest.$ac_ext
21342 cat >>conftest.$ac_ext <<_ACEOF
21343 /* end confdefs.h. */
21347 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21348 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21349 ac_cv_prog_gcc_traditional=yes
21351 ac_cv_prog_gcc_traditional=no
21356 if test $ac_cv_prog_gcc_traditional = no; then
21357 cat >conftest.$ac_ext <<_ACEOF
21360 cat confdefs.h >>conftest.$ac_ext
21361 cat >>conftest.$ac_ext <<_ACEOF
21362 /* end confdefs.h. */
21363 #include <termio.h>
21366 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21367 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21368 ac_cv_prog_gcc_traditional=yes
21374 { $as_echo "$as_me:$LINENO: result
: $ac_cv_prog_gcc_traditional" >&5
21375 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
21376 if test $ac_cv_prog_gcc_traditional = yes; then
21377 CC="$CC -traditional"
21382 for ac_header in stdlib.h
21384 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21385 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21386 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
21387 $as_echo_n "checking
for $ac_header...
" >&6; }
21388 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21389 $as_echo_n "(cached
) " >&6
21391 ac_res=`eval 'as_val=${'$as_ac_Header'}
21392 $as_echo "$as_val"'`
21393 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
21394 $as_echo "$ac_res" >&6; }
21396 # Is the header compilable?
21397 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
21398 $as_echo_n "checking
$ac_header usability...
" >&6; }
21399 cat >conftest.$ac_ext <<_ACEOF
21402 cat confdefs.h >>conftest.$ac_ext
21403 cat >>conftest.$ac_ext <<_ACEOF
21404 /* end confdefs.h. */
21405 $ac_includes_default
21406 #include <$ac_header>
21408 rm -f conftest.$ac_objext
21409 if { (ac_try="$ac_compile"
21410 case "(($ac_try" in
21411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21412 *) ac_try_echo=$ac_try;;
21414 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
21415 $as_echo "$ac_try_echo") >&5
21416 (eval "$ac_compile") 2>conftest.er1
21418 grep -v '^ *+' conftest.er1 >conftest.err
21420 cat conftest.err >&5
21421 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21422 (exit $ac_status); } && {
21423 test -z "$ac_c_werror_flag" ||
21424 test ! -s conftest.err
21425 } && test -s conftest.$ac_objext; then
21426 ac_header_compiler=yes
21428 $as_echo "$as_me: failed program was
:" >&5
21429 sed 's/^/| /' conftest.$ac_ext >&5
21431 ac_header_compiler=no
21434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21435 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
21436 $as_echo "$ac_header_compiler" >&6; }
21438 # Is the header present?
21439 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
21440 $as_echo_n "checking
$ac_header presence...
" >&6; }
21441 cat >conftest.$ac_ext <<_ACEOF
21444 cat confdefs.h >>conftest.$ac_ext
21445 cat >>conftest.$ac_ext <<_ACEOF
21446 /* end confdefs.h. */
21447 #include <$ac_header>
21449 if { (ac_try="$ac_cpp conftest.
$ac_ext"
21450 case "(($ac_try" in
21451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21452 *) ac_try_echo=$ac_try;;
21454 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
21455 $as_echo "$ac_try_echo") >&5
21456 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
21458 grep -v '^ *+' conftest.er1 >conftest.err
21460 cat conftest.err >&5
21461 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21462 (exit $ac_status); } >/dev/null && {
21463 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21464 test ! -s conftest.err
21466 ac_header_preproc=yes
21468 $as_echo "$as_me: failed program was
:" >&5
21469 sed 's/^/| /' conftest.$ac_ext >&5
21471 ac_header_preproc=no
21474 rm -f conftest.err conftest.$ac_ext
21475 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
21476 $as_echo "$ac_header_preproc" >&6; }
21478 # So? What about this header?
21479 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21481 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
21482 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
21483 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
21484 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
21485 ac_header_preproc=yes
21488 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
21489 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
21490 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
21491 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
21492 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
21493 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
21494 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
21495 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
21496 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
21497 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
21498 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
21499 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
21501 ## ------------------------------------ ##
21502 ## Report this to kergoth@handhelds.org ##
21503 ## ------------------------------------ ##
21505 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
21508 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
21509 $as_echo_n "checking
for $ac_header...
" >&6; }
21510 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21511 $as_echo_n "(cached
) " >&6
21513 eval "$as_ac_Header=\
$ac_header_preproc"
21515 ac_res=`eval 'as_val=${'$as_ac_Header'}
21516 $as_echo "$as_val"'`
21517 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
21518 $as_echo "$ac_res" >&6; }
21521 as_val=`eval 'as_val=${'$as_ac_Header'}
21522 $as_echo "$as_val"'`
21523 if test "x
$as_val" = x""yes; then
21524 cat >>confdefs.h <<_ACEOF
21525 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21532 { $as_echo "$as_me:$LINENO: checking
for GNU libc compatible malloc
" >&5
21533 $as_echo_n "checking
for GNU libc compatible malloc...
" >&6; }
21534 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
21535 $as_echo_n "(cached
) " >&6
21537 if test "$cross_compiling" = yes; then
21538 ac_cv_func_malloc_0_nonnull=no
21540 cat >conftest.$ac_ext <<_ACEOF
21543 cat confdefs.h >>conftest.$ac_ext
21544 cat >>conftest.$ac_ext <<_ACEOF
21545 /* end confdefs.h. */
21546 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
21547 # include <stdlib.h>
21555 return ! malloc (0);
21560 rm -f conftest$ac_exeext
21561 if { (ac_try="$ac_link"
21562 case "(($ac_try" in
21563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21564 *) ac_try_echo=$ac_try;;
21566 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
21567 $as_echo "$ac_try_echo") >&5
21568 (eval "$ac_link") 2>&5
21570 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21571 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21572 { (case "(($ac_try" in
21573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21574 *) ac_try_echo=$ac_try;;
21576 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
21577 $as_echo "$ac_try_echo") >&5
21578 (eval "$ac_try") 2>&5
21580 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21581 (exit $ac_status); }; }; then
21582 ac_cv_func_malloc_0_nonnull=yes
21584 $as_echo "$as_me: program exited with status
$ac_status" >&5
21585 $as_echo "$as_me: failed program was
:" >&5
21586 sed 's/^/| /' conftest.$ac_ext >&5
21588 ( exit $ac_status )
21589 ac_cv_func_malloc_0_nonnull=no
21591 rm -rf conftest.dSYM
21592 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21597 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_malloc_0_nonnull" >&5
21598 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
21599 if test $ac_cv_func_malloc_0_nonnull = yes; then
21601 cat >>confdefs.h <<\_ACEOF
21602 #define HAVE_MALLOC 1
21606 cat >>confdefs.h <<\_ACEOF
21607 #define HAVE_MALLOC 0
21610 case " $LIBOBJS " in
21611 *" malloc.
$ac_objext "* ) ;;
21612 *) LIBOBJS="$LIBOBJS malloc.
$ac_objext"
21617 cat >>confdefs.h <<\_ACEOF
21618 #define malloc rpl_malloc
21627 for ac_header in stdlib.h unistd.h
21629 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21630 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21631 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
21632 $as_echo_n "checking
for $ac_header...
" >&6; }
21633 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21634 $as_echo_n "(cached
) " >&6
21636 ac_res=`eval 'as_val=${'$as_ac_Header'}
21637 $as_echo "$as_val"'`
21638 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
21639 $as_echo "$ac_res" >&6; }
21641 # Is the header compilable?
21642 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
21643 $as_echo_n "checking
$ac_header usability...
" >&6; }
21644 cat >conftest.$ac_ext <<_ACEOF
21647 cat confdefs.h >>conftest.$ac_ext
21648 cat >>conftest.$ac_ext <<_ACEOF
21649 /* end confdefs.h. */
21650 $ac_includes_default
21651 #include <$ac_header>
21653 rm -f conftest.$ac_objext
21654 if { (ac_try="$ac_compile"
21655 case "(($ac_try" in
21656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21657 *) ac_try_echo=$ac_try;;
21659 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
21660 $as_echo "$ac_try_echo") >&5
21661 (eval "$ac_compile") 2>conftest.er1
21663 grep -v '^ *+' conftest.er1 >conftest.err
21665 cat conftest.err >&5
21666 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21667 (exit $ac_status); } && {
21668 test -z "$ac_c_werror_flag" ||
21669 test ! -s conftest.err
21670 } && test -s conftest.$ac_objext; then
21671 ac_header_compiler=yes
21673 $as_echo "$as_me: failed program was
:" >&5
21674 sed 's/^/| /' conftest.$ac_ext >&5
21676 ac_header_compiler=no
21679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21680 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
21681 $as_echo "$ac_header_compiler" >&6; }
21683 # Is the header present?
21684 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
21685 $as_echo_n "checking
$ac_header presence...
" >&6; }
21686 cat >conftest.$ac_ext <<_ACEOF
21689 cat confdefs.h >>conftest.$ac_ext
21690 cat >>conftest.$ac_ext <<_ACEOF
21691 /* end confdefs.h. */
21692 #include <$ac_header>
21694 if { (ac_try="$ac_cpp conftest.
$ac_ext"
21695 case "(($ac_try" in
21696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21697 *) ac_try_echo=$ac_try;;
21699 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
21700 $as_echo "$ac_try_echo") >&5
21701 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
21703 grep -v '^ *+' conftest.er1 >conftest.err
21705 cat conftest.err >&5
21706 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21707 (exit $ac_status); } >/dev/null && {
21708 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21709 test ! -s conftest.err
21711 ac_header_preproc=yes
21713 $as_echo "$as_me: failed program was
:" >&5
21714 sed 's/^/| /' conftest.$ac_ext >&5
21716 ac_header_preproc=no
21719 rm -f conftest.err conftest.$ac_ext
21720 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
21721 $as_echo "$ac_header_preproc" >&6; }
21723 # So? What about this header?
21724 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21726 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
21727 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
21728 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
21729 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
21730 ac_header_preproc=yes
21733 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
21734 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
21735 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
21736 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
21737 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
21738 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
21739 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
21740 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
21741 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
21742 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
21743 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
21744 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
21746 ## ------------------------------------ ##
21747 ## Report this to kergoth@handhelds.org ##
21748 ## ------------------------------------ ##
21750 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
21753 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
21754 $as_echo_n "checking
for $ac_header...
" >&6; }
21755 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21756 $as_echo_n "(cached
) " >&6
21758 eval "$as_ac_Header=\
$ac_header_preproc"
21760 ac_res=`eval 'as_val=${'$as_ac_Header'}
21761 $as_echo "$as_val"'`
21762 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
21763 $as_echo "$ac_res" >&6; }
21766 as_val=`eval 'as_val=${'$as_ac_Header'}
21767 $as_echo "$as_val"'`
21768 if test "x
$as_val" = x""yes; then
21769 cat >>confdefs.h <<_ACEOF
21770 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21778 for ac_func in getpagesize
21780 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
21781 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
21782 $as_echo_n "checking
for $ac_func...
" >&6; }
21783 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
21784 $as_echo_n "(cached
) " >&6
21786 cat >conftest.$ac_ext <<_ACEOF
21789 cat confdefs.h >>conftest.$ac_ext
21790 cat >>conftest.$ac_ext <<_ACEOF
21791 /* end confdefs.h. */
21792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21794 #define $ac_func innocuous_$ac_func
21796 /* System header to define __stub macros and hopefully few prototypes,
21797 which can conflict with char $ac_func (); below.
21798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21799 <limits.h> exists even on freestanding compilers. */
21802 # include <limits.h>
21804 # include <assert.h>
21809 /* Override any GCC internal prototype to avoid an error.
21810 Use char because int might match the return type of a GCC
21811 builtin and then its argument prototype would still apply. */
21816 /* The GNU C library defines this for functions which it implements
21817 to always fail with ENOSYS. Some functions are actually named
21818 something starting with __ and the normal name is an alias. */
21819 #if defined __stub_$ac_func || defined __stub___$ac_func
21826 return $ac_func ();
21831 rm -f conftest.$ac_objext conftest$ac_exeext
21832 if { (ac_try="$ac_link"
21833 case "(($ac_try" in
21834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21835 *) ac_try_echo=$ac_try;;
21837 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
21838 $as_echo "$ac_try_echo") >&5
21839 (eval "$ac_link") 2>conftest.er1
21841 grep -v '^ *+' conftest.er1 >conftest.err
21843 cat conftest.err >&5
21844 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21845 (exit $ac_status); } && {
21846 test -z "$ac_c_werror_flag" ||
21847 test ! -s conftest.err
21848 } && test -s conftest$ac_exeext && {
21849 test "$cross_compiling" = yes ||
21850 $as_test_x conftest$ac_exeext
21852 eval "$as_ac_var=yes"
21854 $as_echo "$as_me: failed program was
:" >&5
21855 sed 's/^/| /' conftest.$ac_ext >&5
21857 eval "$as_ac_var=no
"
21860 rm -rf conftest.dSYM
21861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21862 conftest$ac_exeext conftest.$ac_ext
21864 ac_res=`eval 'as_val=${'$as_ac_var'}
21865 $as_echo "$as_val"'`
21866 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
21867 $as_echo "$ac_res" >&6; }
21868 as_val=`eval 'as_val=${'$as_ac_var'}
21869 $as_echo "$as_val"'`
21870 if test "x
$as_val" = x""yes; then
21871 cat >>confdefs.h <<_ACEOF
21872 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
21878 { $as_echo "$as_me:$LINENO: checking
for working mmap
" >&5
21879 $as_echo_n "checking
for working mmap...
" >&6; }
21880 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
21881 $as_echo_n "(cached
) " >&6
21883 if test "$cross_compiling" = yes; then
21884 ac_cv_func_mmap_fixed_mapped=no
21886 cat >conftest.$ac_ext <<_ACEOF
21889 cat confdefs.h >>conftest.$ac_ext
21890 cat >>conftest.$ac_ext <<_ACEOF
21891 /* end confdefs.h. */
21892 $ac_includes_default
21893 /* malloc might have been renamed as rpl_malloc. */
21896 /* Thanks to Mike Haertel and Jim Avera for this test.
21897 Here is a matrix of mmap possibilities:
21898 mmap private not fixed
21899 mmap private fixed at somewhere currently unmapped
21900 mmap private fixed at somewhere already mapped
21901 mmap shared not fixed
21902 mmap shared fixed at somewhere currently unmapped
21903 mmap shared fixed at somewhere already mapped
21904 For private mappings, we should verify that changes cannot be read()
21905 back from the file, nor mmap's back from the file at a different
21906 address. (There have been systems where private was not correctly
21907 implemented like the infamous i386 svr4.0, and systems where the
21908 VM page cache was not coherent with the file system buffer cache
21909 like early versions of FreeBSD and possibly contemporary NetBSD.)
21910 For shared mappings, we should conversely verify that changes get
21911 propagated back to all the places they're supposed to be.
21913 Grep wants private fixed already mapped.
21914 The main things grep needs to know about mmap are:
21915 * does it exist and is it safe to write into the mmap'd area
21916 * how to use it (BSD variants) */
21919 #include <sys/mman.h>
21921 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
21925 /* This mess was copied from the GNU getpagesize.h. */
21926 #ifndef HAVE_GETPAGESIZE
21927 /* Assume that all systems that can run configure have sys/param.h. */
21928 # ifndef HAVE_SYS_PARAM_H
21929 # define HAVE_SYS_PARAM_H 1
21932 # ifdef _SC_PAGESIZE
21933 # define getpagesize() sysconf(_SC_PAGESIZE)
21934 # else /* no _SC_PAGESIZE */
21935 # ifdef HAVE_SYS_PARAM_H
21936 # include <sys/param.h>
21937 # ifdef EXEC_PAGESIZE
21938 # define getpagesize() EXEC_PAGESIZE
21939 # else /* no EXEC_PAGESIZE */
21941 # define getpagesize() NBPG * CLSIZE
21944 # endif /* no CLSIZE */
21945 # else /* no NBPG */
21947 # define getpagesize() NBPC
21948 # else /* no NBPC */
21950 # define getpagesize() PAGESIZE
21951 # endif /* PAGESIZE */
21952 # endif /* no NBPC */
21953 # endif /* no NBPG */
21954 # endif /* no EXEC_PAGESIZE */
21955 # else /* no HAVE_SYS_PARAM_H */
21956 # define getpagesize() 8192 /* punt totally */
21957 # endif /* no HAVE_SYS_PARAM_H */
21958 # endif /* no _SC_PAGESIZE */
21960 #endif /* no HAVE_GETPAGESIZE */
21965 char *data, *data2, *data3;
21969 pagesize = getpagesize ();
21971 /* First, make a file with some known garbage in it. */
21972 data = (char *) malloc (pagesize);
21975 for (i = 0; i < pagesize; ++i)
21976 *(data + i) = rand ();
21978 fd = creat ("conftest.mmap
", 0600);
21981 if (write (fd, data, pagesize) != pagesize)
21985 /* Next, try to mmap the file at a fixed address which already has
21986 something else allocated at it. If we can, also make sure that
21987 we see the same garbage. */
21988 fd = open ("conftest.mmap
", O_RDWR);
21991 data2 = (char *) malloc (2 * pagesize);
21994 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
21995 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
21996 MAP_PRIVATE | MAP_FIXED, fd, 0L))
21998 for (i = 0; i < pagesize; ++i)
21999 if (*(data + i) != *(data2 + i))
22002 /* Finally, make sure that changes to the mapped area do not
22003 percolate back to the file as seen by read(). (This is a bug on
22004 some variants of i386 svr4.0.) */
22005 for (i = 0; i < pagesize; ++i)
22006 *(data2 + i) = *(data2 + i) + 1;
22007 data3 = (char *) malloc (pagesize);
22010 if (read (fd, data3, pagesize) != pagesize)
22012 for (i = 0; i < pagesize; ++i)
22013 if (*(data + i) != *(data3 + i))
22019 rm -f conftest$ac_exeext
22020 if { (ac_try="$ac_link"
22021 case "(($ac_try" in
22022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22023 *) ac_try_echo=$ac_try;;
22025 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22026 $as_echo "$ac_try_echo") >&5
22027 (eval "$ac_link") 2>&5
22029 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22030 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22031 { (case "(($ac_try" in
22032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22033 *) ac_try_echo=$ac_try;;
22035 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22036 $as_echo "$ac_try_echo") >&5
22037 (eval "$ac_try") 2>&5
22039 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22040 (exit $ac_status); }; }; then
22041 ac_cv_func_mmap_fixed_mapped=yes
22043 $as_echo "$as_me: program exited with status
$ac_status" >&5
22044 $as_echo "$as_me: failed program was
:" >&5
22045 sed 's/^/| /' conftest.$ac_ext >&5
22047 ( exit $ac_status )
22048 ac_cv_func_mmap_fixed_mapped=no
22050 rm -rf conftest.dSYM
22051 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22056 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_mmap_fixed_mapped" >&5
22057 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
22058 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22060 cat >>confdefs.h <<\_ACEOF
22061 #define HAVE_MMAP 1
22065 rm -f conftest.mmap
22069 for ac_header in sys/select.h sys/socket.h
22071 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
22072 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22073 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
22074 $as_echo_n "checking
for $ac_header...
" >&6; }
22075 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22076 $as_echo_n "(cached
) " >&6
22078 ac_res=`eval 'as_val=${'$as_ac_Header'}
22079 $as_echo "$as_val"'`
22080 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
22081 $as_echo "$ac_res" >&6; }
22083 # Is the header compilable?
22084 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
22085 $as_echo_n "checking
$ac_header usability...
" >&6; }
22086 cat >conftest.$ac_ext <<_ACEOF
22089 cat confdefs.h >>conftest.$ac_ext
22090 cat >>conftest.$ac_ext <<_ACEOF
22091 /* end confdefs.h. */
22092 $ac_includes_default
22093 #include <$ac_header>
22095 rm -f conftest.$ac_objext
22096 if { (ac_try="$ac_compile"
22097 case "(($ac_try" in
22098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22099 *) ac_try_echo=$ac_try;;
22101 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22102 $as_echo "$ac_try_echo") >&5
22103 (eval "$ac_compile") 2>conftest.er1
22105 grep -v '^ *+' conftest.er1 >conftest.err
22107 cat conftest.err >&5
22108 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22109 (exit $ac_status); } && {
22110 test -z "$ac_c_werror_flag" ||
22111 test ! -s conftest.err
22112 } && test -s conftest.$ac_objext; then
22113 ac_header_compiler=yes
22115 $as_echo "$as_me: failed program was
:" >&5
22116 sed 's/^/| /' conftest.$ac_ext >&5
22118 ac_header_compiler=no
22121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22122 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
22123 $as_echo "$ac_header_compiler" >&6; }
22125 # Is the header present?
22126 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
22127 $as_echo_n "checking
$ac_header presence...
" >&6; }
22128 cat >conftest.$ac_ext <<_ACEOF
22131 cat confdefs.h >>conftest.$ac_ext
22132 cat >>conftest.$ac_ext <<_ACEOF
22133 /* end confdefs.h. */
22134 #include <$ac_header>
22136 if { (ac_try="$ac_cpp conftest.
$ac_ext"
22137 case "(($ac_try" in
22138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22139 *) ac_try_echo=$ac_try;;
22141 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22142 $as_echo "$ac_try_echo") >&5
22143 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
22145 grep -v '^ *+' conftest.er1 >conftest.err
22147 cat conftest.err >&5
22148 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22149 (exit $ac_status); } >/dev/null && {
22150 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22151 test ! -s conftest.err
22153 ac_header_preproc=yes
22155 $as_echo "$as_me: failed program was
:" >&5
22156 sed 's/^/| /' conftest.$ac_ext >&5
22158 ac_header_preproc=no
22161 rm -f conftest.err conftest.$ac_ext
22162 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
22163 $as_echo "$ac_header_preproc" >&6; }
22165 # So? What about this header?
22166 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22168 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
22169 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
22170 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
22171 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
22172 ac_header_preproc=yes
22175 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
22176 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
22177 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
22178 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
22179 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
22180 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
22181 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
22182 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
22183 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
22184 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
22185 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
22186 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
22188 ## ------------------------------------ ##
22189 ## Report this to kergoth@handhelds.org ##
22190 ## ------------------------------------ ##
22192 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
22195 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
22196 $as_echo_n "checking
for $ac_header...
" >&6; }
22197 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22198 $as_echo_n "(cached
) " >&6
22200 eval "$as_ac_Header=\
$ac_header_preproc"
22202 ac_res=`eval 'as_val=${'$as_ac_Header'}
22203 $as_echo "$as_val"'`
22204 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
22205 $as_echo "$ac_res" >&6; }
22208 as_val=`eval 'as_val=${'$as_ac_Header'}
22209 $as_echo "$as_val"'`
22210 if test "x
$as_val" = x""yes; then
22211 cat >>confdefs.h <<_ACEOF
22212 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
22219 { $as_echo "$as_me:$LINENO: checking types of arguments
for select" >&5
22220 $as_echo_n "checking types of arguments
for select...
" >&6; }
22221 if test "${ac_cv_func_select_args+set}" = set; then
22222 $as_echo_n "(cached
) " >&6
22224 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
22225 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
22226 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
22227 cat >conftest.$ac_ext <<_ACEOF
22230 cat confdefs.h >>conftest.$ac_ext
22231 cat >>conftest.$ac_ext <<_ACEOF
22232 /* end confdefs.h. */
22233 $ac_includes_default
22234 #ifdef HAVE_SYS_SELECT_H
22235 # include <sys/select.h>
22237 #ifdef HAVE_SYS_SOCKET_H
22238 # include <sys/socket.h>
22244 extern int select ($ac_arg1,
22245 $ac_arg234, $ac_arg234, $ac_arg234,
22251 rm -f conftest.$ac_objext
22252 if { (ac_try="$ac_compile"
22253 case "(($ac_try" in
22254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22255 *) ac_try_echo=$ac_try;;
22257 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22258 $as_echo "$ac_try_echo") >&5
22259 (eval "$ac_compile") 2>conftest.er1
22261 grep -v '^ *+' conftest.er1 >conftest.err
22263 cat conftest.err >&5
22264 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22265 (exit $ac_status); } && {
22266 test -z "$ac_c_werror_flag" ||
22267 test ! -s conftest.err
22268 } && test -s conftest.$ac_objext; then
22269 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
22271 $as_echo "$as_me: failed program was
:" >&5
22272 sed 's/^/| /' conftest.$ac_ext >&5
22277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22281 # Provide a safe default value.
22282 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
22285 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_select_args" >&5
22286 $as_echo "$ac_cv_func_select_args" >&6; }
22287 ac_save_IFS=$IFS; IFS=','
22288 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
22292 cat >>confdefs.h <<_ACEOF
22293 #define SELECT_TYPE_ARG1 $1
22297 cat >>confdefs.h <<_ACEOF
22298 #define SELECT_TYPE_ARG234 ($2)
22302 cat >>confdefs.h <<_ACEOF
22303 #define SELECT_TYPE_ARG5 ($3)
22308 { $as_echo "$as_me:$LINENO: checking
return type of signal handlers
" >&5
22309 $as_echo_n "checking
return type of signal handlers...
" >&6; }
22310 if test "${ac_cv_type_signal+set}" = set; then
22311 $as_echo_n "(cached
) " >&6
22313 cat >conftest.$ac_ext <<_ACEOF
22316 cat confdefs.h >>conftest.$ac_ext
22317 cat >>conftest.$ac_ext <<_ACEOF
22318 /* end confdefs.h. */
22319 #include <sys/types.h>
22320 #include <signal.h>
22325 return *(signal (0, 0)) (0) == 1;
22330 rm -f conftest.$ac_objext
22331 if { (ac_try="$ac_compile"
22332 case "(($ac_try" in
22333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22334 *) ac_try_echo=$ac_try;;
22336 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22337 $as_echo "$ac_try_echo") >&5
22338 (eval "$ac_compile") 2>conftest.er1
22340 grep -v '^ *+' conftest.er1 >conftest.err
22342 cat conftest.err >&5
22343 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22344 (exit $ac_status); } && {
22345 test -z "$ac_c_werror_flag" ||
22346 test ! -s conftest.err
22347 } && test -s conftest.$ac_objext; then
22348 ac_cv_type_signal=int
22350 $as_echo "$as_me: failed program was
:" >&5
22351 sed 's/^/| /' conftest.$ac_ext >&5
22353 ac_cv_type_signal=void
22356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22358 { $as_echo "$as_me:$LINENO: result
: $ac_cv_type_signal" >&5
22359 $as_echo "$ac_cv_type_signal" >&6; }
22361 cat >>confdefs.h <<_ACEOF
22362 #define RETSIGTYPE $ac_cv_type_signal
22366 { $as_echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash
" >&5
22367 $as_echo_n "checking whether lstat dereferences a symlink specified with a trailing slash...
" >&6; }
22368 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
22369 $as_echo_n "(cached
) " >&6
22371 rm -f conftest.sym conftest.file
22372 echo >conftest.file
22373 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
22374 if test "$cross_compiling" = yes; then
22375 ac_cv_func_lstat_dereferences_slashed_symlink=no
22377 cat >conftest.$ac_ext <<_ACEOF
22380 cat confdefs.h >>conftest.$ac_ext
22381 cat >>conftest.$ac_ext <<_ACEOF
22382 /* end confdefs.h. */
22383 $ac_includes_default
22388 /* Linux will dereference the symlink and fail.
22389 That is better in the sense that it means we will not
22390 have to compile and use the lstat wrapper. */
22391 return lstat ("conftest.sym
/", &sbuf) == 0;
22396 rm -f conftest$ac_exeext
22397 if { (ac_try="$ac_link"
22398 case "(($ac_try" in
22399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22400 *) ac_try_echo=$ac_try;;
22402 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22403 $as_echo "$ac_try_echo") >&5
22404 (eval "$ac_link") 2>&5
22406 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22407 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22408 { (case "(($ac_try" in
22409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22410 *) ac_try_echo=$ac_try;;
22412 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22413 $as_echo "$ac_try_echo") >&5
22414 (eval "$ac_try") 2>&5
22416 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22417 (exit $ac_status); }; }; then
22418 ac_cv_func_lstat_dereferences_slashed_symlink=yes
22420 $as_echo "$as_me: program exited with status
$ac_status" >&5
22421 $as_echo "$as_me: failed program was
:" >&5
22422 sed 's/^/| /' conftest.$ac_ext >&5
22424 ( exit $ac_status )
22425 ac_cv_func_lstat_dereferences_slashed_symlink=no
22427 rm -rf conftest.dSYM
22428 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22433 # If the `ln -s' command failed, then we probably don't even
22434 # have an lstat function.
22435 ac_cv_func_lstat_dereferences_slashed_symlink=no
22437 rm -f conftest.sym conftest.file
22440 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
22441 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
22443 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
22445 cat >>confdefs.h <<_ACEOF
22446 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
22450 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
22451 case " $LIBOBJS " in
22452 *" lstat.
$ac_objext "* ) ;;
22453 *) LIBOBJS="$LIBOBJS lstat.
$ac_objext"
22459 { $as_echo "$as_me:$LINENO: checking whether stat accepts an empty string
" >&5
22460 $as_echo_n "checking whether stat accepts an empty string...
" >&6; }
22461 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
22462 $as_echo_n "(cached
) " >&6
22464 if test "$cross_compiling" = yes; then
22465 ac_cv_func_stat_empty_string_bug=yes
22467 cat >conftest.$ac_ext <<_ACEOF
22470 cat confdefs.h >>conftest.$ac_ext
22471 cat >>conftest.$ac_ext <<_ACEOF
22472 /* end confdefs.h. */
22473 $ac_includes_default
22478 return stat ("", &sbuf) == 0;
22483 rm -f conftest$ac_exeext
22484 if { (ac_try="$ac_link"
22485 case "(($ac_try" in
22486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22487 *) ac_try_echo=$ac_try;;
22489 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22490 $as_echo "$ac_try_echo") >&5
22491 (eval "$ac_link") 2>&5
22493 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22494 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22495 { (case "(($ac_try" in
22496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22497 *) ac_try_echo=$ac_try;;
22499 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22500 $as_echo "$ac_try_echo") >&5
22501 (eval "$ac_try") 2>&5
22503 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22504 (exit $ac_status); }; }; then
22505 ac_cv_func_stat_empty_string_bug=no
22507 $as_echo "$as_me: program exited with status
$ac_status" >&5
22508 $as_echo "$as_me: failed program was
:" >&5
22509 sed 's/^/| /' conftest.$ac_ext >&5
22511 ( exit $ac_status )
22512 ac_cv_func_stat_empty_string_bug=yes
22514 rm -rf conftest.dSYM
22515 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22520 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_stat_empty_string_bug" >&5
22521 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
22522 if test $ac_cv_func_stat_empty_string_bug = yes; then
22523 case " $LIBOBJS " in
22524 *" stat.
$ac_objext "* ) ;;
22525 *) LIBOBJS="$LIBOBJS stat.
$ac_objext"
22530 cat >>confdefs.h <<_ACEOF
22531 #define HAVE_STAT_EMPTY_STRING_BUG 1
22537 for ac_func in vprintf
22539 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
22540 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
22541 $as_echo_n "checking
for $ac_func...
" >&6; }
22542 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
22543 $as_echo_n "(cached
) " >&6
22545 cat >conftest.$ac_ext <<_ACEOF
22548 cat confdefs.h >>conftest.$ac_ext
22549 cat >>conftest.$ac_ext <<_ACEOF
22550 /* end confdefs.h. */
22551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22553 #define $ac_func innocuous_$ac_func
22555 /* System header to define __stub macros and hopefully few prototypes,
22556 which can conflict with char $ac_func (); below.
22557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22558 <limits.h> exists even on freestanding compilers. */
22561 # include <limits.h>
22563 # include <assert.h>
22568 /* Override any GCC internal prototype to avoid an error.
22569 Use char because int might match the return type of a GCC
22570 builtin and then its argument prototype would still apply. */
22575 /* The GNU C library defines this for functions which it implements
22576 to always fail with ENOSYS. Some functions are actually named
22577 something starting with __ and the normal name is an alias. */
22578 #if defined __stub_$ac_func || defined __stub___$ac_func
22585 return $ac_func ();
22590 rm -f conftest.$ac_objext conftest$ac_exeext
22591 if { (ac_try="$ac_link"
22592 case "(($ac_try" in
22593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22594 *) ac_try_echo=$ac_try;;
22596 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22597 $as_echo "$ac_try_echo") >&5
22598 (eval "$ac_link") 2>conftest.er1
22600 grep -v '^ *+' conftest.er1 >conftest.err
22602 cat conftest.err >&5
22603 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22604 (exit $ac_status); } && {
22605 test -z "$ac_c_werror_flag" ||
22606 test ! -s conftest.err
22607 } && test -s conftest$ac_exeext && {
22608 test "$cross_compiling" = yes ||
22609 $as_test_x conftest$ac_exeext
22611 eval "$as_ac_var=yes"
22613 $as_echo "$as_me: failed program was
:" >&5
22614 sed 's/^/| /' conftest.$ac_ext >&5
22616 eval "$as_ac_var=no
"
22619 rm -rf conftest.dSYM
22620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22621 conftest$ac_exeext conftest.$ac_ext
22623 ac_res=`eval 'as_val=${'$as_ac_var'}
22624 $as_echo "$as_val"'`
22625 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
22626 $as_echo "$ac_res" >&6; }
22627 as_val=`eval 'as_val=${'$as_ac_var'}
22628 $as_echo "$as_val"'`
22629 if test "x
$as_val" = x""yes; then
22630 cat >>confdefs.h <<_ACEOF
22631 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
22634 { $as_echo "$as_me:$LINENO: checking
for _doprnt
" >&5
22635 $as_echo_n "checking
for _doprnt...
" >&6; }
22636 if test "${ac_cv_func__doprnt+set}" = set; then
22637 $as_echo_n "(cached
) " >&6
22639 cat >conftest.$ac_ext <<_ACEOF
22642 cat confdefs.h >>conftest.$ac_ext
22643 cat >>conftest.$ac_ext <<_ACEOF
22644 /* end confdefs.h. */
22645 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
22646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22647 #define _doprnt innocuous__doprnt
22649 /* System header to define __stub macros and hopefully few prototypes,
22650 which can conflict with char _doprnt (); below.
22651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22652 <limits.h> exists even on freestanding compilers. */
22655 # include <limits.h>
22657 # include <assert.h>
22662 /* Override any GCC internal prototype to avoid an error.
22663 Use char because int might match the return type of a GCC
22664 builtin and then its argument prototype would still apply. */
22669 /* The GNU C library defines this for functions which it implements
22670 to always fail with ENOSYS. Some functions are actually named
22671 something starting with __ and the normal name is an alias. */
22672 #if defined __stub__doprnt || defined __stub____doprnt
22684 rm -f conftest.$ac_objext conftest$ac_exeext
22685 if { (ac_try="$ac_link"
22686 case "(($ac_try" in
22687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22688 *) ac_try_echo=$ac_try;;
22690 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22691 $as_echo "$ac_try_echo") >&5
22692 (eval "$ac_link") 2>conftest.er1
22694 grep -v '^ *+' conftest.er1 >conftest.err
22696 cat conftest.err >&5
22697 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22698 (exit $ac_status); } && {
22699 test -z "$ac_c_werror_flag" ||
22700 test ! -s conftest.err
22701 } && test -s conftest$ac_exeext && {
22702 test "$cross_compiling" = yes ||
22703 $as_test_x conftest$ac_exeext
22705 ac_cv_func__doprnt=yes
22707 $as_echo "$as_me: failed program was
:" >&5
22708 sed 's/^/| /' conftest.$ac_ext >&5
22710 ac_cv_func__doprnt=no
22713 rm -rf conftest.dSYM
22714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22715 conftest$ac_exeext conftest.$ac_ext
22717 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func__doprnt" >&5
22718 $as_echo "$ac_cv_func__doprnt" >&6; }
22719 if test "x
$ac_cv_func__doprnt" = x""yes; then
22721 cat >>confdefs.h <<\_ACEOF
22722 #define HAVE_DOPRNT 1
22741 for ac_func in bzero gettimeofday memmove memset munmap select strcasecmp strchr strdup strtoul
22743 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
22744 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
22745 $as_echo_n "checking
for $ac_func...
" >&6; }
22746 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
22747 $as_echo_n "(cached
) " >&6
22749 cat >conftest.$ac_ext <<_ACEOF
22752 cat confdefs.h >>conftest.$ac_ext
22753 cat >>conftest.$ac_ext <<_ACEOF
22754 /* end confdefs.h. */
22755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22757 #define $ac_func innocuous_$ac_func
22759 /* System header to define __stub macros and hopefully few prototypes,
22760 which can conflict with char $ac_func (); below.
22761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22762 <limits.h> exists even on freestanding compilers. */
22765 # include <limits.h>
22767 # include <assert.h>
22772 /* Override any GCC internal prototype to avoid an error.
22773 Use char because int might match the return type of a GCC
22774 builtin and then its argument prototype would still apply. */
22779 /* The GNU C library defines this for functions which it implements
22780 to always fail with ENOSYS. Some functions are actually named
22781 something starting with __ and the normal name is an alias. */
22782 #if defined __stub_$ac_func || defined __stub___$ac_func
22789 return $ac_func ();
22794 rm -f conftest.$ac_objext conftest$ac_exeext
22795 if { (ac_try="$ac_link"
22796 case "(($ac_try" in
22797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22798 *) ac_try_echo=$ac_try;;
22800 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22801 $as_echo "$ac_try_echo") >&5
22802 (eval "$ac_link") 2>conftest.er1
22804 grep -v '^ *+' conftest.er1 >conftest.err
22806 cat conftest.err >&5
22807 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22808 (exit $ac_status); } && {
22809 test -z "$ac_c_werror_flag" ||
22810 test ! -s conftest.err
22811 } && test -s conftest$ac_exeext && {
22812 test "$cross_compiling" = yes ||
22813 $as_test_x conftest$ac_exeext
22815 eval "$as_ac_var=yes"
22817 $as_echo "$as_me: failed program was
:" >&5
22818 sed 's/^/| /' conftest.$ac_ext >&5
22820 eval "$as_ac_var=no
"
22823 rm -rf conftest.dSYM
22824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22825 conftest$ac_exeext conftest.$ac_ext
22827 ac_res=`eval 'as_val=${'$as_ac_var'}
22828 $as_echo "$as_val"'`
22829 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
22830 $as_echo "$ac_res" >&6; }
22831 as_val=`eval 'as_val=${'$as_ac_var'}
22832 $as_echo "$as_val"'`
22833 if test "x
$as_val" = x""yes; then
22834 cat >>confdefs.h <<_ACEOF
22835 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
22843 { $as_echo "$as_me:$LINENO: checking whether linear modules is requested
" >&5
22844 $as_echo_n "checking whether linear modules is requested...
" >&6; }
22845 # Check whether --enable-linear was given.
22846 if test "${enable_linear+set}" = set; then
22847 enableval=$enable_linear; linear_module=$enableval
22852 { $as_echo "$as_me:$LINENO: result
: $linear_module" >&5
22853 $as_echo "$linear_module" >&6; }
22854 if test "$linear_module" = "yes"; then
22855 ENABLE_LINEAR_MODULE_TRUE=
22856 ENABLE_LINEAR_MODULE_FALSE='#'
22858 ENABLE_LINEAR_MODULE_TRUE='#'
22859 ENABLE_LINEAR_MODULE_FALSE=
22863 { $as_echo "$as_me:$LINENO: checking whether dejitter module is requested
" >&5
22864 $as_echo_n "checking whether dejitter module is requested...
" >&6; }
22865 # Check whether --enable-dejitter was given.
22866 if test "${enable_dejitter+set}" = set; then
22867 enableval=$enable_dejitter; dejitter_module=$enableval
22869 dejitter_module=yes
22872 { $as_echo "$as_me:$LINENO: result
: $dejitter_module" >&5
22873 $as_echo "$dejitter_module" >&6; }
22874 if test "$dejitter_module" = "yes"; then
22875 ENABLE_DEJITTER_MODULE_TRUE=
22876 ENABLE_DEJITTER_MODULE_FALSE='#'
22878 ENABLE_DEJITTER_MODULE_TRUE='#'
22879 ENABLE_DEJITTER_MODULE_FALSE=
22883 { $as_echo "$as_me:$LINENO: checking whether linear-h2200 module is requested
" >&5
22884 $as_echo_n "checking whether linear-h2200 module is requested...
" >&6; }
22885 # Check whether --enable-dejitter was given.
22886 if test "${enable_dejitter+set}" = set; then
22887 enableval=$enable_dejitter; h2200_linear_module=$enableval
22889 h2200_linear_module=yes
22892 { $as_echo "$as_me:$LINENO: result
: $h2200_linear_module" >&5
22893 $as_echo "$h2200_linear_module" >&6; }
22894 if test "$h2200_linear_module" = "yes"; then
22895 ENABLE_H2200_LINEAR_MODULE_TRUE=
22896 ENABLE_H2200_LINEAR_MODULE_FALSE='#'
22898 ENABLE_H2200_LINEAR_MODULE_TRUE='#'
22899 ENABLE_H2200_LINEAR_MODULE_FALSE=
22903 { $as_echo "$as_me:$LINENO: checking whether variance module is requested
" >&5
22904 $as_echo_n "checking whether variance module is requested...
" >&6; }
22905 # Check whether --enable-variance was given.
22906 if test "${enable_variance+set}" = set; then
22907 enableval=$enable_variance; variance_module=$enableval
22909 variance_module=yes
22912 { $as_echo "$as_me:$LINENO: result
: $variance_module" >&5
22913 $as_echo "$variance_module" >&6; }
22914 if test "$variance_module" = "yes"; then
22915 ENABLE_VARIANCE_MODULE_TRUE=
22916 ENABLE_VARIANCE_MODULE_FALSE='#'
22918 ENABLE_VARIANCE_MODULE_TRUE='#'
22919 ENABLE_VARIANCE_MODULE_FALSE=
22923 { $as_echo "$as_me:$LINENO: checking whether pthres module is requested
" >&5
22924 $as_echo_n "checking whether pthres module is requested...
" >&6; }
22925 # Check whether --enable-pthres was given.
22926 if test "${enable_pthres+set}" = set; then
22927 enableval=$enable_pthres; pthres_module=$enableval
22932 { $as_echo "$as_me:$LINENO: result
: $pthres_module" >&5
22933 $as_echo "$pthres_module" >&6; }
22934 if test "$pthres_module" = "yes"; then
22935 ENABLE_PTHRES_MODULE_TRUE=
22936 ENABLE_PTHRES_MODULE_FALSE='#'
22938 ENABLE_PTHRES_MODULE_TRUE='#'
22939 ENABLE_PTHRES_MODULE_FALSE=
22944 # hardware access modules
22945 { $as_echo "$as_me:$LINENO: checking whether ucb1x00 module is requested
" >&5
22946 $as_echo_n "checking whether ucb1x00 module is requested...
" >&6; }
22947 # Check whether --enable-ucb1x00 was given.
22948 if test "${enable_ucb1x00+set}" = set; then
22949 enableval=$enable_ucb1x00; ucb1x00_module=$enableval
22954 { $as_echo "$as_me:$LINENO: result
: $ucb1x00_module" >&5
22955 $as_echo "$ucb1x00_module" >&6; }
22956 if test "$ucb1x00_module" = "yes"; then
22957 ENABLE_UCB1X00_MODULE_TRUE=
22958 ENABLE_UCB1X00_MODULE_FALSE='#'
22960 ENABLE_UCB1X00_MODULE_TRUE='#'
22961 ENABLE_UCB1X00_MODULE_FALSE=
22965 { $as_echo "$as_me:$LINENO: checking whether corgi module is requested
" >&5
22966 $as_echo_n "checking whether corgi module is requested...
" >&6; }
22967 # Check whether --enable-corgi was given.
22968 if test "${enable_corgi+set}" = set; then
22969 enableval=$enable_corgi; corgi_module=$enableval
22974 { $as_echo "$as_me:$LINENO: result
: $corgi_module" >&5
22975 $as_echo "$corgi_module" >&6; }
22976 if test "$corgi_module" = "yes"; then
22977 ENABLE_CORGI_MODULE_TRUE=
22978 ENABLE_CORGI_MODULE_FALSE='#'
22980 ENABLE_CORGI_MODULE_TRUE='#'
22981 ENABLE_CORGI_MODULE_FALSE=
22985 { $as_echo "$as_me:$LINENO: checking whether collie module is requested
" >&5
22986 $as_echo_n "checking whether collie module is requested...
" >&6; }
22987 # Check whether --enable-collie was given.
22988 if test "${enable_collie+set}" = set; then
22989 enableval=$enable_collie; collie_module=$enableval
22994 { $as_echo "$as_me:$LINENO: result
: $collie_module" >&5
22995 $as_echo "$collie_module" >&6; }
22996 if test "$collie_module" = "yes"; then
22997 ENABLE_COLLIE_MODULE_TRUE=
22998 ENABLE_COLLIE_MODULE_FALSE='#'
23000 ENABLE_COLLIE_MODULE_TRUE='#'
23001 ENABLE_COLLIE_MODULE_FALSE=
23006 { $as_echo "$as_me:$LINENO: checking whether h3600 module is requested
" >&5
23007 $as_echo_n "checking whether h3600 module is requested...
" >&6; }
23008 # Check whether --enable-h3600 was given.
23009 if test "${enable_h3600+set}" = set; then
23010 enableval=$enable_h3600; h3600_module=$enableval
23015 { $as_echo "$as_me:$LINENO: result
: $h3600_module" >&5
23016 $as_echo "$h3600_module" >&6; }
23017 if test "$h3600_module" = "yes"; then
23018 ENABLE_H3600_MODULE_TRUE=
23019 ENABLE_H3600_MODULE_FALSE='#'
23021 ENABLE_H3600_MODULE_TRUE='#'
23022 ENABLE_H3600_MODULE_FALSE=
23026 { $as_echo "$as_me:$LINENO: checking whether mk712 module is requested
" >&5
23027 $as_echo_n "checking whether mk712 module is requested...
" >&6; }
23028 # Check whether --enable-mk712 was given.
23029 if test "${enable_mk712+set}" = set; then
23030 enableval=$enable_mk712; mk712_module=$enableval
23035 { $as_echo "$as_me:$LINENO: result
: $mk712_module" >&5
23036 $as_echo "$mk712_module" >&6; }
23037 if test "$mk712_module" = "yes"; then
23038 ENABLE_MK712_MODULE_TRUE=
23039 ENABLE_MK712_MODULE_FALSE='#'
23041 ENABLE_MK712_MODULE_TRUE='#'
23042 ENABLE_MK712_MODULE_FALSE=
23046 { $as_echo "$as_me:$LINENO: checking whether arctic2 module is requested
" >&5
23047 $as_echo_n "checking whether arctic2 module is requested...
" >&6; }
23048 # Check whether --enable-arctic2 was given.
23049 if test "${enable_arctic2+set}" = set; then
23050 enableval=$enable_arctic2; arctic2_module=$enableval
23055 { $as_echo "$as_me:$LINENO: result
: $arctic2_module" >&5
23056 $as_echo "$arctic2_module" >&6; }
23057 if test "$arctic2_module" = "yes"; then
23058 ENABLE_ARCTIC2_MODULE_TRUE=
23059 ENABLE_ARCTIC2_MODULE_FALSE='#'
23061 ENABLE_ARCTIC2_MODULE_TRUE='#'
23062 ENABLE_ARCTIC2_MODULE_FALSE=
23066 { $as_echo "$as_me:$LINENO: checking whether input module is requested
" >&5
23067 $as_echo_n "checking whether input module is requested...
" >&6; }
23068 # Check whether --enable-input was given.
23069 if test "${enable_input+set}" = set; then
23070 enableval=$enable_input; input_module=$enableval
23075 { $as_echo "$as_me:$LINENO: result
: $input_module" >&5
23076 $as_echo "$input_module" >&6; }
23077 if test "$input_module" = "yes"; then
23078 ENABLE_INPUT_MODULE_TRUE=
23079 ENABLE_INPUT_MODULE_FALSE='#'
23081 ENABLE_INPUT_MODULE_TRUE='#'
23082 ENABLE_INPUT_MODULE_FALSE=
23086 { $as_echo "$as_me:$LINENO: checking where to place modules
" >&5
23087 $as_echo_n "checking where to place modules...
" >&6; }
23089 # Check whether --with-plugindir was given.
23090 if test "${with_plugindir+set}" = set; then
23091 withval=$with_plugindir; PLUGIN_DIR=$withval
23093 PLUGIN_DIR='${libdir}/ts/'
23096 { $as_echo "$as_me:$LINENO: result
: $PLUGIN_DIR" >&5
23097 $as_echo "$PLUGIN_DIR" >&6; }
23100 { $as_echo "$as_me:$LINENO: checking whether to
enable debugging
" >&5
23101 $as_echo_n "checking whether to
enable debugging...
" >&6; }
23102 # Check whether --enable-debug was given.
23103 if test "${enable_debug+set}" = set; then
23104 enableval=$enable_debug;
23109 { $as_echo "$as_me:$LINENO: result
: $enable_debug" >&5
23110 $as_echo "$enable_debug" >&6; }
23111 if test "$enable_debug" = "yes"; then
23112 DEBUGFLAGS="-g -ggdb -DDEBUG"
23118 LIBFLAGS="-DTSLIB_INTERNAL"
23121 TS_CONF='${sysconfdir}/ts.conf'
23124 # Library versioning
23134 ac_config_files="$ac_config_files Makefile etc
/Makefile plugins
/Makefile src
/Makefile
tests
/Makefile tslib-
$LT_RELEASE.pc
:tslib.pc.
in"
23136 cat >confcache <<\_ACEOF
23137 # This file is a shell script that caches the results of configure
23138 # tests run on this system so they can be shared between configure
23139 # scripts and configure runs, see configure's option --config-cache.
23140 # It is not useful on other systems. If it contains results you don't
23141 # want to keep, you may remove or edit it.
23143 # config.status only pays attention to the cache file if you give it
23144 # the --recheck option to rerun configure.
23146 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23147 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23148 # following values.
23152 # The following way of writing the cache mishandles newlines in values,
23153 # but we know of no workaround that is simple, portable, and efficient.
23154 # So, we kill variables containing newlines.
23155 # Ultrix sh set writes to stderr and can't be redirected directly,
23156 # and sets the high bit in the cache file unless we assign to the vars.
23158 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23159 eval ac_val=\$$ac_var
23163 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING
: cache variable
$ac_var contains a newline
" >&5
23164 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
23167 _ | IFS | as_nl) ;; #(
23168 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
23169 *) $as_unset $ac_var ;;
23175 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23176 *${as_nl}ac_space=\ *)
23177 # `set' does not quote correctly, so add quotes (double-quote
23178 # substitution turns \\\\ into \\, and sed turns \\ into \).
23181 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
23184 # `set' quotes correctly as required by POSIX, so do not add quotes.
23185 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
23194 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23196 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23198 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23199 if test -w "$cache_file"; then
23200 test "x
$cache_file" != "x
/dev
/null
" &&
23201 { $as_echo "$as_me:$LINENO: updating cache
$cache_file" >&5
23202 $as_echo "$as_me: updating cache
$cache_file" >&6;}
23203 cat confcache >$cache_file
23205 { $as_echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
23206 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
23211 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
23212 # Let make expand exec_prefix.
23213 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
23215 DEFS=-DHAVE_CONFIG_H
23219 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
23220 # 1. Remove the extension, and $U if already installed.
23221 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23222 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
23223 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23224 # will be set to the directory where LIBOBJS objects are built.
23225 ac_libobjs="$ac_libobjs \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
23226 ac_ltlibobjs="$ac_ltlibobjs \
${LIBOBJDIR}$ac_i"'$U.lo'
23228 LIBOBJS=$ac_libobjs
23230 LTLIBOBJS=$ac_ltlibobjs
23233 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23234 { { $as_echo "$as_me:$LINENO: error
: conditional
\"AMDEP
\" was never defined.
23235 Usually this means the macro was only invoked conditionally.
" >&5
23236 $as_echo "$as_me: error
: conditional
\"AMDEP
\" was never defined.
23237 Usually this means the macro was only invoked conditionally.
" >&2;}
23238 { (exit 1); exit 1; }; }
23240 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23241 { { $as_echo "$as_me:$LINENO: error
: conditional
\"am__fastdepCXX
\" was never defined.
23242 Usually this means the macro was only invoked conditionally.
" >&5
23243 $as_echo "$as_me: error
: conditional
\"am__fastdepCXX
\" was never defined.
23244 Usually this means the macro was only invoked conditionally.
" >&2;}
23245 { (exit 1); exit 1; }; }
23247 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23248 { { $as_echo "$as_me:$LINENO: error
: conditional
\"am__fastdepCC
\" was never defined.
23249 Usually this means the macro was only invoked conditionally.
" >&5
23250 $as_echo "$as_me: error
: conditional
\"am__fastdepCC
\" was never defined.
23251 Usually this means the macro was only invoked conditionally.
" >&2;}
23252 { (exit 1); exit 1; }; }
23254 if test -z "${ENABLE_LINEAR_MODULE_TRUE}" && test -z "${ENABLE_LINEAR_MODULE_FALSE}"; then
23255 { { $as_echo "$as_me:$LINENO: error
: conditional
\"ENABLE_LINEAR_MODULE
\" was never defined.
23256 Usually this means the macro was only invoked conditionally.
" >&5
23257 $as_echo "$as_me: error
: conditional
\"ENABLE_LINEAR_MODULE
\" was never defined.
23258 Usually this means the macro was only invoked conditionally.
" >&2;}
23259 { (exit 1); exit 1; }; }
23261 if test -z "${ENABLE_DEJITTER_MODULE_TRUE}" && test -z "${ENABLE_DEJITTER_MODULE_FALSE}"; then
23262 { { $as_echo "$as_me:$LINENO: error
: conditional
\"ENABLE_DEJITTER_MODULE
\" was never defined.
23263 Usually this means the macro was only invoked conditionally.
" >&5
23264 $as_echo "$as_me: error
: conditional
\"ENABLE_DEJITTER_MODULE
\" was never defined.
23265 Usually this means the macro was only invoked conditionally.
" >&2;}
23266 { (exit 1); exit 1; }; }
23268 if test -z "${ENABLE_H2200_LINEAR_MODULE_TRUE}" && test -z "${ENABLE_H2200_LINEAR_MODULE_FALSE}"; then
23269 { { $as_echo "$as_me:$LINENO: error
: conditional
\"ENABLE_H2200_LINEAR_MODULE
\" was never defined.
23270 Usually this means the macro was only invoked conditionally.
" >&5
23271 $as_echo "$as_me: error
: conditional
\"ENABLE_H2200_LINEAR_MODULE
\" was never defined.
23272 Usually this means the macro was only invoked conditionally.
" >&2;}
23273 { (exit 1); exit 1; }; }
23275 if test -z "${ENABLE_VARIANCE_MODULE_TRUE}" && test -z "${ENABLE_VARIANCE_MODULE_FALSE}"; then
23276 { { $as_echo "$as_me:$LINENO: error
: conditional
\"ENABLE_VARIANCE_MODULE
\" was never defined.
23277 Usually this means the macro was only invoked conditionally.
" >&5
23278 $as_echo "$as_me: error
: conditional
\"ENABLE_VARIANCE_MODULE
\" was never defined.
23279 Usually this means the macro was only invoked conditionally.
" >&2;}
23280 { (exit 1); exit 1; }; }
23282 if test -z "${ENABLE_PTHRES_MODULE_TRUE}" && test -z "${ENABLE_PTHRES_MODULE_FALSE}"; then
23283 { { $as_echo "$as_me:$LINENO: error
: conditional
\"ENABLE_PTHRES_MODULE
\" was never defined.
23284 Usually this means the macro was only invoked conditionally.
" >&5
23285 $as_echo "$as_me: error
: conditional
\"ENABLE_PTHRES_MODULE
\" was never defined.
23286 Usually this means the macro was only invoked conditionally.
" >&2;}
23287 { (exit 1); exit 1; }; }
23289 if test -z "${ENABLE_UCB1X00_MODULE_TRUE}" && test -z "${ENABLE_UCB1X00_MODULE_FALSE}"; then
23290 { { $as_echo "$as_me:$LINENO: error
: conditional
\"ENABLE_UCB1X00_MODULE
\" was never defined.
23291 Usually this means the macro was only invoked conditionally.
" >&5
23292 $as_echo "$as_me: error
: conditional
\"ENABLE_UCB1X00_MODULE
\" was never defined.
23293 Usually this means the macro was only invoked conditionally.
" >&2;}
23294 { (exit 1); exit 1; }; }
23296 if test -z "${ENABLE_CORGI_MODULE_TRUE}" && test -z "${ENABLE_CORGI_MODULE_FALSE}"; then
23297 { { $as_echo "$as_me:$LINENO: error
: conditional
\"ENABLE_CORGI_MODULE
\" was never defined.
23298 Usually this means the macro was only invoked conditionally.
" >&5
23299 $as_echo "$as_me: error
: conditional
\"ENABLE_CORGI_MODULE
\" was never defined.
23300 Usually this means the macro was only invoked conditionally.
" >&2;}
23301 { (exit 1); exit 1; }; }
23303 if test -z "${ENABLE_COLLIE_MODULE_TRUE}" && test -z "${ENABLE_COLLIE_MODULE_FALSE}"; then
23304 { { $as_echo "$as_me:$LINENO: error
: conditional
\"ENABLE_COLLIE_MODULE
\" was never defined.
23305 Usually this means the macro was only invoked conditionally.
" >&5
23306 $as_echo "$as_me: error
: conditional
\"ENABLE_COLLIE_MODULE
\" was never defined.
23307 Usually this means the macro was only invoked conditionally.
" >&2;}
23308 { (exit 1); exit 1; }; }
23310 if test -z "${ENABLE_H3600_MODULE_TRUE}" && test -z "${ENABLE_H3600_MODULE_FALSE}"; then
23311 { { $as_echo "$as_me:$LINENO: error
: conditional
\"ENABLE_H3600_MODULE
\" was never defined.
23312 Usually this means the macro was only invoked conditionally.
" >&5
23313 $as_echo "$as_me: error
: conditional
\"ENABLE_H3600_MODULE
\" was never defined.
23314 Usually this means the macro was only invoked conditionally.
" >&2;}
23315 { (exit 1); exit 1; }; }
23317 if test -z "${ENABLE_MK712_MODULE_TRUE}" && test -z "${ENABLE_MK712_MODULE_FALSE}"; then
23318 { { $as_echo "$as_me:$LINENO: error
: conditional
\"ENABLE_MK712_MODULE
\" was never defined.
23319 Usually this means the macro was only invoked conditionally.
" >&5
23320 $as_echo "$as_me: error
: conditional
\"ENABLE_MK712_MODULE
\" was never defined.
23321 Usually this means the macro was only invoked conditionally.
" >&2;}
23322 { (exit 1); exit 1; }; }
23324 if test -z "${ENABLE_ARCTIC2_MODULE_TRUE}" && test -z "${ENABLE_ARCTIC2_MODULE_FALSE}"; then
23325 { { $as_echo "$as_me:$LINENO: error
: conditional
\"ENABLE_ARCTIC2_MODULE
\" was never defined.
23326 Usually this means the macro was only invoked conditionally.
" >&5
23327 $as_echo "$as_me: error
: conditional
\"ENABLE_ARCTIC2_MODULE
\" was never defined.
23328 Usually this means the macro was only invoked conditionally.
" >&2;}
23329 { (exit 1); exit 1; }; }
23331 if test -z "${ENABLE_INPUT_MODULE_TRUE}" && test -z "${ENABLE_INPUT_MODULE_FALSE}"; then
23332 { { $as_echo "$as_me:$LINENO: error
: conditional
\"ENABLE_INPUT_MODULE
\" was never defined.
23333 Usually this means the macro was only invoked conditionally.
" >&5
23334 $as_echo "$as_me: error
: conditional
\"ENABLE_INPUT_MODULE
\" was never defined.
23335 Usually this means the macro was only invoked conditionally.
" >&2;}
23336 { (exit 1); exit 1; }; }
23339 : ${CONFIG_STATUS=./config.status}
23341 ac_clean_files_save=$ac_clean_files
23342 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23343 { $as_echo "$as_me:$LINENO: creating
$CONFIG_STATUS" >&5
23344 $as_echo "$as_me: creating
$CONFIG_STATUS" >&6;}
23345 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23347 # Generated by $as_me.
23348 # Run this file to recreate the current configuration.
23349 # Compiler output produced by configure, useful for debugging
23350 # configure, is in config.log if it exists.
23353 ac_cs_recheck=false
23355 SHELL=\${CONFIG_SHELL-$SHELL}
23358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23359 ## --------------------- ##
23360 ## M4sh Initialization. ##
23361 ## --------------------- ##
23363 # Be more Bourne compatible
23364 DUALCASE=1; export DUALCASE # for MKS sh
23365 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23368 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23369 # is contrary to our usage. Disable this feature.
23370 alias -g '${1+"$@"}'='"$@
"'
23371 setopt NO_GLOB_SUBST
23373 case `(set -o) 2>/dev/null` in
23374 *posix*) set -o posix ;;
23383 # Avoid depending upon Character Ranges.
23384 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23385 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23386 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23387 as_cr_digits='0123456789'
23388 as_cr_alnum=$as_cr_Letters$as_cr_digits
23393 # Printing a long string crashes Solaris 7 /usr/bin/printf.
23394 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
23395 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
23396 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
23397 if (test "X
`printf %s $as_echo`" = "X
$as_echo") 2>/dev/null; then
23398 as_echo='printf %s\n'
23399 as_echo_n='printf %s'
23401 if test "X
`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n
$as_echo"; then
23402 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
23403 as_echo_n='/usr/ucb/echo -n'
23405 as_echo_body='eval expr "X
$1" : "X
\\(.
*\\)"'
23406 as_echo_n_body='eval
23410 expr "X
$arg" : "X
\\(.
*\\)$as_nl";
23411 arg=`expr "X
$arg" : ".
*$as_nl\\(.
*\\)"`;;
23413 expr "X
$arg" : "X
\\(.
*\\)" | tr -d "$as_nl"
23415 export as_echo_n_body
23416 as_echo_n='sh -c $as_echo_n_body as_echo'
23418 export as_echo_body
23419 as_echo='sh -c $as_echo_body as_echo'
23422 # The user is always right.
23423 if test "${PATH_SEPARATOR+set}" != set; then
23425 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23426 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23431 # Support unset when possible.
23432 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
23440 # We need space, tab and new line, in precisely that order. Quoting is
23441 # there to prevent editors from complaining about space-tab.
23442 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23443 # splitting by setting IFS to empty value.)
23446 # Find who we are. Look in the path if we contain no directory separator.
23448 *[\\/]* ) as_myself=$0 ;;
23449 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23450 for as_dir in $PATH
23453 test -z "$as_dir" && as_dir=.
23454 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23460 # We did not find ourselves, most probably we were run as `sh COMMAND'
23461 # in which case we are not to be found in the path.
23462 if test "x
$as_myself" = x; then
23465 if test ! -f "$as_myself"; then
23466 $as_echo "$as_myself: error
: cannot
find myself
; rerun with an absolute
file name
" >&2
23467 { (exit 1); exit 1; }
23470 # Work around bugs in pre-3.0 UWIN ksh.
23471 for as_var in ENV MAIL MAILPATH
23472 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23484 # Required to use basename.
23485 if expr a : '\(a\)' >/dev/null 2>&1 &&
23486 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
23492 if (basename -- /) >/dev/null 2>&1 && test "X
`basename -- / 2>&1`" = "X
/"; then
23493 as_basename=basename
23499 # Name of the executable.
23500 as_me=`$as_basename -- "$0" ||
23501 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23502 X"$0" : 'X\(//\)$' \| \
23503 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23505 sed '/^.*\/\([^/][^/]*\)\/*$/{
23524 as_lineno_1=$LINENO
23525 as_lineno_2=$LINENO
23526 test "x
$as_lineno_1" != "x
$as_lineno_2" &&
23527 test "x
`expr $as_lineno_1 + 1`" = "x
$as_lineno_2" || {
23529 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23530 # uniformly replaced by the line number. The first 'sed' inserts a
23531 # line-number line after each line using $LINENO; the second 'sed'
23532 # does the real work. The second script uses 'N' to pair each
23533 # line-number line with the line containing $LINENO, and appends
23534 # trailing '-' during substitution so that $LINENO is not a special
23535 # case at line end.
23536 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23537 # scripts with optimization help from Paolo Bonzini. Blame Lee
23538 # E. McMahon (1931-1989) for sed's syntax. :-)
23550 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
23553 ' >$as_me.lineno &&
23554 chmod +x "$as_me.lineno
" ||
23555 { $as_echo "$as_me: error
: cannot create
$as_me.lineno
; rerun with a POSIX shell
" >&2
23556 { (exit 1); exit 1; }; }
23558 # Don't try to exec as it changes $[0], causing all sort of problems
23559 # (the dirname of $[0] is not the place where we might find the
23560 # original and so on. Autoconf is especially sensitive to this).
23561 . ".
/$as_me.lineno
"
23562 # Exit status is that of the last command.
23567 if (as_dir=`dirname -- /` && test "X
$as_dir" = X/) >/dev/null 2>&1; then
23573 ECHO_C= ECHO_N= ECHO_T=
23574 case `echo -n x` in
23576 case `echo 'x\c'` in
23577 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23583 if expr a : '\(a\)' >/dev/null 2>&1 &&
23584 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
23590 rm -f conf$$ conf$$.exe conf$$.file
23591 if test -d conf$$.dir; then
23592 rm -f conf$$.dir/conf$$.file
23595 mkdir conf$$.dir 2>/dev/null
23597 if (echo >conf$$.file) 2>/dev/null; then
23598 if ln -s conf$$.file conf$$ 2>/dev/null; then
23600 # ... but there are two gotchas:
23601 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23602 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23603 # In both cases, we have to default to `cp -p'.
23604 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23606 elif ln conf$$.file conf$$ 2>/dev/null; then
23614 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23615 rmdir conf$$.dir 2>/dev/null
23617 if mkdir -p . 2>/dev/null; then
23620 test -d ./-p && rmdir ./-p
23624 if test -x / >/dev/null 2>&1; then
23625 as_test_x='test -x'
23627 if ls -dL / >/dev/null 2>&1; then
23634 if test -d "$1"; then
23640 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
23641 ???[sx]*):;;*)false;;esac;fi
23645 as_executable_p=$as_test_x
23647 # Sed expression to map a string onto a valid CPP name.
23648 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23650 # Sed expression to map a string onto a valid variable name.
23651 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23656 # Save the log message, to keep $[0] and so on meaningful, and to
23657 # report actual input values of CONFIG_FILES etc. instead of their
23658 # values after options handling.
23660 This
file was extended by tslib
$as_me 0.0.2, which was
23661 generated by GNU Autoconf
2.63. Invocation
command line was
23663 CONFIG_FILES
= $CONFIG_FILES
23664 CONFIG_HEADERS
= $CONFIG_HEADERS
23665 CONFIG_LINKS
= $CONFIG_LINKS
23666 CONFIG_COMMANDS
= $CONFIG_COMMANDS
23669 on
`(hostname || uname -n) 2>/dev/null | sed 1q`
23674 case $ac_config_files in *"
23675 "*) set x $ac_config_files; shift; ac_config_files=$*;;
23678 case $ac_config_headers in *"
23679 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23684 # Files that config.status was made for.
23685 config_files="$ac_config_files"
23686 config_headers="$ac_config_headers"
23687 config_commands="$ac_config_commands"
23691 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23693 \
`$as_me' instantiates files from templates according to the
23694 current configuration.
23696 Usage: $0 [OPTION]... [FILE]...
23698 -h, --help print this help, then exit
23699 -V, --version print version number and configuration settings, then exit
23700 -q, --quiet, --silent
23701 do not print progress messages
23702 -d, --debug don't remove temporary files
23703 --recheck update $as_me by reconfiguring in the same conditions
23704 --file=FILE[:TEMPLATE]
23705 instantiate the configuration file FILE
23706 --header=FILE[:TEMPLATE]
23707 instantiate the configuration header FILE
23709 Configuration files:
23712 Configuration headers:
23715 Configuration commands:
23718 Report bugs to <bug-autoconf@gnu.org>."
23721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23723 tslib config.status 0.0.2
23724 configured by $0, generated by GNU Autoconf 2.63,
23725 with options \\"`$as_echo "$ac_configure_args" |
sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23727 Copyright (C) 2008 Free Software Foundation, Inc.
23728 This config.status script is free software; the Free Software Foundation
23729 gives unlimited permission to copy, distribute and modify it."
23736 test -n "\$AWK" || AWK=awk
23739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23740 # The default lists apply if the user does not specify any file.
23746 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23747 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23758 # Handling of the options.
23759 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23761 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23762 $as_echo "$ac_cs_version"; exit ;;
23763 --debug | --debu | --deb | --de | --d | -d )
23765 --file | --fil | --fi | --f )
23768 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
23770 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
23771 ac_need_defaults=false;;
23772 --header | --heade | --head | --hea )
23775 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
23777 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
23778 ac_need_defaults=false;;
23780 # Conflict between --help and --header
23781 { $as_echo "$as_me: error: ambiguous option: $1
23782 Try \`$0 --help' for more information." >&2
23783 { (exit 1); exit 1; }; };;
23784 --help | --hel | -h )
23785 $as_echo "$ac_cs_usage"; exit ;;
23786 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23787 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23790 # This is an error.
23791 -*) { $as_echo "$as_me: error: unrecognized option: $1
23792 Try \`$0 --help' for more information.
" >&2
23793 { (exit 1); exit 1; }; } ;;
23795 *) ac_config_targets="$ac_config_targets $1"
23796 ac_need_defaults=false ;;
23802 ac_configure_extra_args=
23804 if $ac_cs_silent; then
23806 ac_configure_extra_args="$ac_configure_extra_args --silent"
23810 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23811 if \$ac_cs_recheck; then
23812 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23814 \$as_echo "running CONFIG_SHELL
=$SHELL \$
*" >&6
23815 CONFIG_SHELL='$SHELL'
23816 export CONFIG_SHELL
23821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23825 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23826 ## Running $as_me. ##
23832 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23836 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23840 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23842 # Handling of arguments.
23843 for ac_config_target in $ac_config_targets
23845 case $ac_config_target in
23846 "config.h
") CONFIG_HEADERS="$CONFIG_HEADERS config.h
" ;;
23847 "depfiles
") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles
" ;;
23848 "Makefile
") CONFIG_FILES="$CONFIG_FILES Makefile
" ;;
23849 "etc
/Makefile
") CONFIG_FILES="$CONFIG_FILES etc
/Makefile
" ;;
23850 "plugins
/Makefile
") CONFIG_FILES="$CONFIG_FILES plugins
/Makefile
" ;;
23851 "src
/Makefile
") CONFIG_FILES="$CONFIG_FILES src
/Makefile
" ;;
23852 "tests
/Makefile
") CONFIG_FILES="$CONFIG_FILES tests
/Makefile
" ;;
23853 "tslib-
$LT_RELEASE.pc
") CONFIG_FILES="$CONFIG_FILES tslib-
$LT_RELEASE.pc
:tslib.pc.
in" ;;
23855 *) { { $as_echo "$as_me:$LINENO: error
: invalid argument
: $ac_config_target" >&5
23856 $as_echo "$as_me: error
: invalid argument
: $ac_config_target" >&2;}
23857 { (exit 1); exit 1; }; };;
23862 # If the user did not use the arguments to specify the items to instantiate,
23863 # then the envvar interface is used. Set only those that are not.
23864 # We use the long form for the default assignment because of an extremely
23865 # bizarre bug on SunOS 4.1.3.
23866 if $ac_need_defaults; then
23867 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23868 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23869 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23872 # Have a temporary directory for convenience. Make it in the build tree
23873 # simply because there is no reason against having it here, and in addition,
23874 # creating and moving files from /tmp can sometimes cause problems.
23875 # Hook for its removal unless debugging.
23876 # Note that there is a small window in which the directory will not be cleaned:
23877 # after its creation but before its name has been assigned to `$tmp'.
23881 trap 'exit_status=$?
23882 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23884 trap '{ (exit 1); exit 1; }' 1 2 13 15
23886 # Create a (secure) tmp directory for tmp files.
23889 tmp=`(umask 077 && mktemp -d ".
/confXXXXXX
") 2>/dev/null` &&
23890 test -n "$tmp" && test -d "$tmp"
23893 tmp=./conf$$-$RANDOM
23894 (umask 077 && mkdir "$tmp")
23897 $as_echo "$as_me: cannot create a temporary directory
in .
" >&2
23898 { (exit 1); exit 1; }
23901 # Set up the scripts for CONFIG_FILES section.
23902 # No need to generate them if there are no CONFIG_FILES.
23903 # This happens for instance with `./config.status config.h'.
23904 if test -n "$CONFIG_FILES"; then
23908 ac_cs_awk_cr=`$AWK 'BEGIN { print "a
\rb
" }' </dev/null 2>/dev/null`
23909 if test "$ac_cs_awk_cr" = "a
${ac_cr}b
"; then
23912 ac_cs_awk_cr=$ac_cr
23915 echo 'BEGIN {' >"$tmp/subs1.
awk" &&
23920 echo "cat >conf$
$subs.
awk <<_ACEOF" &&
23921 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
23923 } >conf$$subs.sh ||
23924 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
23925 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
23926 { (exit 1); exit 1; }; }
23927 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
23929 for ac_last_try in false false false false false :; do
23930 . ./conf$$subs.sh ||
23931 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
23932 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
23933 { (exit 1); exit 1; }; }
23935 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
23936 if test $ac_delim_n = $ac_delim_num; then
23938 elif $ac_last_try; then
23939 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
23940 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
23941 { (exit 1); exit 1; }; }
23943 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23946 rm -f conf$$subs.sh
23948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23949 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
23953 s/^/S["/; s
/!.
*/"]=/
23963 s/\(.\{148\}\).*/\1/
23965 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
23970 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23977 s/\(.\{148\}\).*/\1/
23979 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
23983 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23988 ' <conf$$subs.awk | sed '
23993 ' >>$CONFIG_STATUS || ac_write_fail=1
23994 rm -f conf$$subs.awk
23995 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23997 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
23998 for (key in S) S_is_set[key] = 1
24004 nfields = split(line, field, "@
")
24006 len = length(field[1])
24007 for (i = 2; i < nfields; i++) {
24009 keylen = length(key)
24010 if (S_is_set[key]) {
24012 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
24013 len += length(value) + length(field[++i])
24024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24025 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
24026 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
24029 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
24030 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
24031 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
24032 { (exit 1); exit 1; }; }
24035 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24036 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
24037 # trailing colons and then remove the whole line if VPATH becomes empty
24038 # (actually we leave an empty line to preserve line numbers).
24039 if test "x
$srcdir" = x.; then
24040 ac_vpsub='/^[ ]*VPATH[ ]*=/{
24041 s/:*\$(srcdir):*/:/
24042 s/:*\${srcdir}:*/:/
24044 s/^\([^=]*=[ ]*\):*/\1/
24050 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24051 fi # test -n "$CONFIG_FILES"
24053 # Set up the scripts for CONFIG_HEADERS section.
24054 # No need to generate them if there are no CONFIG_HEADERS.
24055 # This happens for instance with `./config.status Makefile'.
24056 if test -n "$CONFIG_HEADERS"; then
24057 cat >"$tmp/defines.
awk" <<\_ACAWK ||
24061 # Transform confdefs.h into an awk script `defines.awk', embedded as
24062 # here-document in config.status, that substitutes the proper values into
24063 # config.h.in to produce config.h.
24065 # Create a delimiter string that does not exist in confdefs.h, to ease
24066 # handling of long lines.
24068 for ac_last_try in false false :; do
24069 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
24070 if test -z "$ac_t"; then
24072 elif $ac_last_try; then
24073 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
24074 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
24075 { (exit 1); exit 1; }; }
24077 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
24081 # For the awk script, D is an array of macro values keyed by name,
24082 # likewise P contains macro parameters if any. Preserve backslash
24083 # newline sequences.
24085 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24087 s/.\{148\}/&'"$ac_delim"'/g
24090 s/^[ ]*#[ ]*define[ ][ ]*/ /
24097 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
24099 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
24103 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
24104 D["\
1"]=" \
3\\\\\\n
"\\/p
24106 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
24111 s/.\{148\}/&'"$ac_delim"'/g
24116 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
24119 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
24121 ' <confdefs.h | sed '
24122 s/'"$ac_delim"'/"\\\
24123 "/g' >>$CONFIG_STATUS || ac_write_fail=1
24125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24126 for (key in D) D_is_set[key] = 1
24129 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
24131 split(line, arg, " ")
24132 if (arg[1] == "#") {
24136 defundef
= substr
(arg
[1], 2)
24139 split(mac1
, mac2
, "(") #)
24141 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
24142 if (D_is_set
[macro
]) {
24143 # Preserve the white space surrounding the "#".
24144 print prefix
"define", macro P
[macro
] D
[macro
]
24147 # Replace #undef with comments. This is necessary, for example,
24148 # in the case of _POSIX_SOURCE, which is predefined and required
24149 # on some systems where configure will not decide to define it.
24150 if (defundef
== "undef") {
24151 print
"/*", prefix defundef
, macro
, "*/"
24159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24160 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
24161 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
24162 { (exit 1); exit 1; }; }
24163 fi # test -n "$CONFIG_HEADERS"
24166 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
24171 :[FHLC
]) ac_mode
=$ac_tag; continue;;
24173 case $ac_mode$ac_tag in
24175 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
24176 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
24177 { (exit 1); exit 1; }; };;
24178 :[FH
]-) ac_tag
=-:-;;
24179 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
24196 -) ac_f
="$tmp/stdin";;
24197 *) # Look for the file first in the build tree, then in the source tree
24198 # (if the path is not absolute). The absolute path cannot be DOS-style,
24199 # because $ac_f cannot contain `:'.
24203 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
24205 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24206 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24207 { (exit 1); exit 1; }; };;
24209 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24210 ac_file_inputs
="$ac_file_inputs '$ac_f'"
24213 # Let's still pretend it is `configure' which instantiates (i.e., don't
24214 # use $as_me), people would be surprised to read:
24215 # /* config.h. Generated by config.status. */
24216 configure_input
='Generated from '`
24217 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24219 if test x
"$ac_file" != x-
; then
24220 configure_input
="$ac_file. $configure_input"
24221 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
24222 $as_echo "$as_me: creating $ac_file" >&6;}
24224 # Neutralize special characters interpreted by sed in replacement strings.
24225 case $configure_input in #(
24226 *\
&* |
*\|
* |
*\\* )
24227 ac_sed_conf_input
=`$as_echo "$configure_input" |
24228 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24229 *) ac_sed_conf_input
=$configure_input;;
24233 *:-:* |
*:-) cat >"$tmp/stdin" \
24234 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
24235 $as_echo "$as_me: error: could not create $ac_file" >&2;}
24236 { (exit 1); exit 1; }; } ;;
24241 ac_dir
=`$as_dirname -- "$ac_file" ||
24242 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24243 X"$ac_file" : 'X\(//\)[^/]' \| \
24244 X"$ac_file" : 'X\(//\)$' \| \
24245 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24246 $as_echo X"$ac_file" |
24247 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24251 /^X\(\/\/\)[^/].*/{
24266 -*) as_dir
=.
/$as_dir;;
24268 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
24272 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
24273 *) as_qdir
=$as_dir;;
24275 as_dirs
="'$as_qdir' $as_dirs"
24276 as_dir
=`$as_dirname -- "$as_dir" ||
24277 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24278 X"$as_dir" : 'X\(//\)[^/]' \| \
24279 X"$as_dir" : 'X\(//\)$' \| \
24280 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24281 $as_echo X"$as_dir" |
24282 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24286 /^X\(\/\/\)[^/].*/{
24299 test -d "$as_dir" && break
24301 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
24302 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24303 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
24304 { (exit 1); exit 1; }; }; }
24308 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24310 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
24311 # A ".." for each directory in $ac_dir_suffix.
24312 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24313 case $ac_top_builddir_sub in
24314 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24315 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
24318 ac_abs_top_builddir
=$ac_pwd
24319 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
24320 # for backward compatibility:
24321 ac_top_builddir
=$ac_top_build_prefix
24324 .
) # We are building in place.
24326 ac_top_srcdir
=$ac_top_builddir_sub
24327 ac_abs_top_srcdir
=$ac_pwd ;;
24328 [\\/]* | ?
:[\\/]* ) # Absolute name.
24329 ac_srcdir
=$srcdir$ac_dir_suffix;
24330 ac_top_srcdir
=$srcdir
24331 ac_abs_top_srcdir
=$srcdir ;;
24332 *) # Relative name.
24333 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
24334 ac_top_srcdir
=$ac_top_build_prefix$srcdir
24335 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
24337 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
24347 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
24348 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
24350 ac_MKDIR_P
=$MKDIR_P
24352 [\\/$
]* | ?
:[\\/]* ) ;;
24353 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
24357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24358 # If the template does not know about datarootdir, expand it.
24359 # FIXME: This hack should be removed a few years after 2.60.
24360 ac_datarootdir_hack
=; ac_datarootdir_seen
=
24373 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
24374 *datarootdir
*) ac_datarootdir_seen
=yes;;
24375 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
24376 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24377 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24380 ac_datarootdir_hack='
24381 s&@datadir@&$datadir&g
24382 s&@docdir@&$docdir&g
24383 s&@infodir@&$infodir&g
24384 s&@localedir@&$localedir&g
24385 s&@mandir@&$mandir&g
24386 s&\\\${datarootdir}&$datarootdir&g' ;;
24390 # Neutralize VPATH when `$srcdir' = `.'.
24391 # Shell code in configure.ac might set extrasub.
24392 # FIXME: do we really want to maintain this feature?
24393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24394 ac_sed_extra="$ac_vpsub
24397 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24399 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
24400 s|@configure_input@|
$ac_sed_conf_input|
;t t
24401 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
24402 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
24403 s
&@srcdir@
&$ac_srcdir&;t t
24404 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
24405 s
&@top_srcdir@
&$ac_top_srcdir&;t t
24406 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
24407 s
&@builddir@
&$ac_builddir&;t t
24408 s
&@abs_builddir@
&$ac_abs_builddir&;t t
24409 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
24410 s
&@INSTALL@
&$ac_INSTALL&;t t
24411 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
24412 $ac_datarootdir_hack
24414 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
24415 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
24416 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
24417 { (exit 1); exit 1; }; }
24419 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24420 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
24421 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
24422 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
24423 which seems to be undefined. Please make sure it is defined." >&5
24424 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
24425 which seems to be undefined. Please make sure it is defined." >&2;}
24429 -) cat "$tmp/out" && rm -f "$tmp/out";;
24430 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
24432 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
24433 $as_echo "$as_me: error: could not create $ac_file" >&2;}
24434 { (exit 1); exit 1; }; }
24440 if test x"$ac_file" != x-; then
24442 $as_echo "/* $configure_input */" \
24443 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
24444 } >"$tmp/config.h" \
24445 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
24446 $as_echo "$as_me: error: could not create $ac_file" >&2;}
24447 { (exit 1); exit 1; }; }
24448 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
24449 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24450 $as_echo "$as_me: $ac_file is unchanged" >&6;}
24453 mv "$tmp/config.h" "$ac_file" \
24454 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
24455 $as_echo "$as_me: error: could not create $ac_file" >&2;}
24456 { (exit 1); exit 1; }; }
24459 $as_echo "/* $configure_input */" \
24460 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
24461 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
24462 $as_echo "$as_me: error: could not create -" >&2;}
24463 { (exit 1); exit 1; }; }
24465 # Compute "$ac_file"'s index
in $config_headers.
24468 for _am_header
in $config_headers :; do
24469 case $_am_header in
24470 $_am_arg |
$_am_arg:* )
24473 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
24476 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
24477 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24478 X"$_am_arg" : 'X\(//\)[^/]' \| \
24479 X"$_am_arg" : 'X\(//\)$' \| \
24480 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
24481 $as_echo X"$_am_arg" |
24482 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24486 /^X\(\/\/\)[^/].*/{
24498 s/.*/./; q'`/stamp-h
$_am_stamp_count
24501 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
24502 $as_echo "$as_me: executing $ac_file commands" >&6;}
24507 case $ac_file$ac_mode in
24508 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
24509 # Strip MF so we end up with the name of the file.
24510 mf
=`echo "$mf" | sed -e 's/:.*$//'`
24511 # Check whether this is an Automake generated Makefile or not.
24512 # We used to match only the files named `Makefile.in', but
24513 # some people rename them; so instead we look at the file content.
24514 # Grep'ing the first line is not enough: some people post-process
24515 # each Makefile.in and add a new line on top of each file to say so.
24516 # Grep'ing the whole file is not good either: AIX grep has a line
24517 # limit of 2048, but all sed's we know have understand at least 4000.
24518 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
24519 dirpart
=`$as_dirname -- "$mf" ||
24520 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24521 X"$mf" : 'X\(//\)[^/]' \| \
24522 X"$mf" : 'X\(//\)$' \| \
24523 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24529 /^X\(\/\/\)[^/].*/{
24545 # Extract the definition of DEPDIR, am__include, and am__quote
24546 # from the Makefile without running `make'.
24547 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
24548 test -z "$DEPDIR" && continue
24549 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
24550 test -z "am__include" && continue
24551 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
24552 # When using ansi2knr, U may be empty or an underscore; expand it
24553 U
=`sed -n 's/^U = //p' < "$mf"`
24554 # Find all dependency output files, they are included files with
24555 # $(DEPDIR) in their names. We invoke sed twice because it is the
24556 # simplest approach to changing $(DEPDIR) to its actual value in the
24558 for file in `sed -n "
24559 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
24560 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
24561 # Make sure the directory exists.
24562 test -f "$dirpart/$file" && continue
24563 fdir
=`$as_dirname -- "$file" ||
24564 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24565 X"$file" : 'X\(//\)[^/]' \| \
24566 X"$file" : 'X\(//\)$' \| \
24567 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
24568 $as_echo X"$file" |
24569 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24573 /^X\(\/\/\)[^/].*/{
24586 { as_dir
=$dirpart/$fdir
24588 -*) as_dir
=.
/$as_dir;;
24590 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
24594 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
24595 *) as_qdir
=$as_dir;;
24597 as_dirs
="'$as_qdir' $as_dirs"
24598 as_dir
=`$as_dirname -- "$as_dir" ||
24599 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24600 X"$as_dir" : 'X\(//\)[^/]' \| \
24601 X"$as_dir" : 'X\(//\)$' \| \
24602 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24603 $as_echo X"$as_dir" |
24604 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24608 /^X\(\/\/\)[^/].*/{
24621 test -d "$as_dir" && break
24623 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
24624 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24625 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
24626 { (exit 1); exit 1; }; }; }
24627 # echo "creating $dirpart/$file"
24628 echo '# dummy' > "$dirpart/$file"
24637 { (exit 0); exit 0; }
24639 chmod +x
$CONFIG_STATUS
24640 ac_clean_files
=$ac_clean_files_save
24642 test $ac_write_fail = 0 ||
24643 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
24644 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
24645 { (exit 1); exit 1; }; }
24648 # configure is writing to config.log, and then calls config.status.
24649 # config.status does its own redirection, appending to config.log.
24650 # Unfortunately, on DOS this fails, as config.log is still kept open
24651 # by configure, so config.status won't be able to write to it; its
24652 # output is simply discarded. So we exec the FD to /dev/null,
24653 # effectively closing config.log, so it can be properly (re)opened and
24654 # appended to by config.status. When coming back to configure, we
24655 # need to make the FD available again.
24656 if test "$no_create" != yes; then
24658 ac_config_status_args
=
24659 test "$silent" = yes &&
24660 ac_config_status_args
="$ac_config_status_args --quiet"
24662 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24664 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24665 # would make configure fail if this is the last instruction.
24666 $ac_cs_success ||
{ (exit 1); exit 1; }
24668 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
24669 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24670 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}