2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for MPFR 2.4.1.
6 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
7 # Contributed by the Arenaire and Cacao projects, INRIA.
9 # This file is part of the GNU MPFR Library.
11 # The GNU MPFR Library is free software; you can redistribute it and/or modify
12 # it under the terms of the GNU Lesser General Public License as published
13 # by the Free Software Foundation; either version 2.1 of the License, or (at
14 # your option) any later version.
16 # The GNU MPFR Library is distributed in the hope that it will be useful, but
17 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
18 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
19 # License for more details.
21 # You should have received a copy of the GNU Lesser General Public License
22 # along with the GNU MPFR Library; see the file COPYING.LIB. If not, write to
23 # the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
27 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
28 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
29 # This configure script is free software; the Free Software Foundation
30 # gives unlimited permission to copy, distribute and modify it.
31 ## --------------------- ##
32 ## M4sh Initialization. ##
33 ## --------------------- ##
35 # Be more Bourne compatible
36 DUALCASE
=1; export DUALCASE
# for MKS sh
37 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
40 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41 # is contrary to our usage. Disable this feature.
42 alias -g '${1+"$@"}'='"$@"'
45 case `(set -o) 2>/dev/null` in
46 *posix
*) set -o posix
;;
55 # Avoid depending upon Character Ranges.
56 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
57 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
58 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
59 as_cr_digits
='0123456789'
60 as_cr_alnum
=$as_cr_Letters$as_cr_digits
65 # Printing a long string crashes Solaris 7 /usr/bin/printf.
66 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
67 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
68 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
69 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
73 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
74 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
75 as_echo_n='/usr
/ucb
/echo -n'
77 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
82 expr "X$arg" : "X\\(.*\\)$as_nl";
83 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
85 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
88 as_echo_n='sh
-c $as_echo_n_body as_echo
'
91 as_echo='sh
-c $as_echo_body as_echo
'
94 # The user is always right.
95 if test "${PATH_SEPARATOR+set}" != set; then
97 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
98 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
103 # Support unset when possible.
104 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
112 # We need space, tab and new line, in precisely that order. Quoting is
113 # there to prevent editors from complaining about space-tab.
114 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
115 # splitting by setting IFS to empty value.)
118 # Find who we are. Look in the path if we contain no directory separator.
120 *[\\/]* ) as_myself=$0 ;;
121 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
125 test -z "$as_dir" && as_dir=.
126 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
132 # We did not find ourselves, most probably we were run as `sh COMMAND'
133 # in which case we are not to be found in the path.
134 if test "x$as_myself" = x
; then
137 if test ! -f "$as_myself"; then
138 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
139 { (exit 1); exit 1; }
142 # Work around bugs in pre-3.0 UWIN ksh.
143 for as_var
in ENV MAIL MAILPATH
144 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
156 # Required to use basename.
157 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
158 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
164 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
171 # Name of the executable.
172 as_me
=`$as_basename -- "$0" ||
173 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
174 X"$0" : 'X\(//\)$' \| \
175 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
177 sed '/^.*\/\([^/][^/]*\)\/*$/{
195 if test "x$CONFIG_SHELL" = x
; then
196 if (eval ":") 2>/dev
/null
; then
202 if test $as_have_required = yes && (eval ":
212 as_func_ret_success () {
215 as_func_ret_failure () {
220 if as_func_success; then
224 echo as_func_success failed.
227 if as_func_failure; then
229 echo as_func_failure succeeded.
232 if as_func_ret_success; then
236 echo as_func_ret_success failed.
239 if as_func_ret_failure; then
241 echo as_func_ret_failure succeeded.
244 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
248 echo positional parameters were not saved.
251 test \$exitcode = 0) || { (exit 1); exit 1; }
256 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
257 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
258 ") 2> /dev
/null
; then
262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
263 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
266 test -z "$as_dir" && as_dir
=.
269 for as_base
in sh bash ksh sh5
; do
270 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
277 for as_shell
in $as_candidate_shells $SHELL; do
278 # Try only shells that exist, to save several forks.
279 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
280 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
281 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
284 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
285 # is contrary to our usage. Disable this feature.
286 alias -g '${1+"$@"}'='"$@"'
289 case `(set -o) 2>/dev/null` in
290 *posix
*) set -o posix
;;
299 CONFIG_SHELL
=$as_shell
301 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
302 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
305 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
306 # is contrary to our usage. Disable this feature.
307 alias -g '${1+"$@"}'='"$@"'
310 case `(set -o) 2>/dev/null` in
311 *posix
*) set -o posix
;;
327 as_func_ret_success
() {
330 as_func_ret_failure
() {
335 if as_func_success
; then
339 echo as_func_success failed.
342 if as_func_failure
; then
344 echo as_func_failure succeeded.
347 if as_func_ret_success
; then
351 echo as_func_ret_success failed.
354 if as_func_ret_failure
; then
356 echo as_func_ret_failure succeeded.
359 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
363 echo positional parameters were not saved.
366 test $exitcode = 0) ||
{ (exit 1); exit 1; }
371 test "x$as_lineno_1" != "x$as_lineno_2" &&
372 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
383 if test "x$CONFIG_SHELL" != x
; then
384 for as_var
in BASH_ENV ENV
385 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
388 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
392 if test $as_have_required = no
; then
393 echo This
script requires a shell
more modern than all the
394 echo shells that I found on your system. Please
install a
395 echo modern shell
, or manually run the
script under such a
396 echo shell
if you
do have one.
397 { (exit 1); exit 1; }
407 (eval "as_func_return () {
416 as_func_ret_success () {
419 as_func_ret_failure () {
424 if as_func_success; then
428 echo as_func_success failed.
431 if as_func_failure; then
433 echo as_func_failure succeeded.
436 if as_func_ret_success; then
440 echo as_func_ret_success failed.
443 if as_func_ret_failure; then
445 echo as_func_ret_failure succeeded.
448 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
452 echo positional parameters were not saved.
455 test \$exitcode = 0") ||
{
456 echo No shell found that supports shell functions.
457 echo Please tell bug-autoconf@gnu.org about your system
,
458 echo including any error possibly output before this message.
459 echo This can
help us improve future autoconf versions.
460 echo Configuration will now proceed without shell functions.
467 test "x$as_lineno_1" != "x$as_lineno_2" &&
468 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
470 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
471 # uniformly replaced by the line number. The first 'sed' inserts a
472 # line-number line after each line using $LINENO; the second 'sed'
473 # does the real work. The second script uses 'N' to pair each
474 # line-number line with the line containing $LINENO, and appends
475 # trailing '-' during substitution so that $LINENO is not a special
477 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
478 # scripts with optimization help from Paolo Bonzini. Blame Lee
479 # E. McMahon (1931-1989) for sed's syntax. :-)
491 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
495 chmod +x
"$as_me.lineno" ||
496 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
497 { (exit 1); exit 1; }; }
499 # Don't try to exec as it changes $[0], causing all sort of problems
500 # (the dirname of $[0] is not the place where we might find the
501 # original and so on. Autoconf is especially sensitive to this).
503 # Exit status is that of the last command.
508 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
514 ECHO_C
= ECHO_N
= ECHO_T
=
518 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
524 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
525 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
531 rm -f conf$$ conf$$.exe conf$$.
file
532 if test -d conf$$.dir
; then
533 rm -f conf$$.dir
/conf$$.
file
536 mkdir conf$$.dir
2>/dev
/null
538 if (echo >conf$$.
file) 2>/dev
/null
; then
539 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
541 # ... but there are two gotchas:
542 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
543 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
544 # In both cases, we have to default to `cp -p'.
545 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
547 elif ln conf$$.
file conf$$
2>/dev
/null
; then
555 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
556 rmdir conf$$.dir
2>/dev
/null
558 if mkdir
-p .
2>/dev
/null
; then
561 test -d .
/-p && rmdir .
/-p
565 if test -x / >/dev
/null
2>&1; then
568 if ls -dL / >/dev
/null
2>&1; then
575 if test -d "$1"; then
581 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
582 ???[sx]*):;;*)false;;esac;fi
586 as_executable_p
=$as_test_x
588 # Sed expression to map a string onto a valid CPP name.
589 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
591 # Sed expression to map a string onto a valid variable name.
592 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
597 # Check that we are running under the correct shell.
598 SHELL
=${CONFIG_SHELL-/bin/sh}
602 # Remove one level of quotation (which was required for Make).
603 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
608 if test "X$1" = X--no-reexec
; then
609 # Discard the --no-reexec flag, and continue.
611 elif test "X$1" = X--fallback-echo
; then
612 # Avoid inline document here, it may be left over
614 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
615 # Yippee, $ECHO works!
618 # Restart under the correct shell.
619 exec $SHELL "$0" --no-reexec ${1+"$@"}
622 if test "X$1" = X--fallback-echo
; then
623 # used as fallback echo
631 # The HP-UX ksh and POSIX shell print the target directory to stdout
633 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
635 if test -z "$lt_ECHO"; then
636 if test "X${echo_test_string+set}" != Xset
; then
637 # find a string as large as possible, as long as the shell can cope with it
638 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
639 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
640 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
641 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
648 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
649 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
650 test "X$echo_testing_string" = "X$echo_test_string"; then
653 # The Solaris, AIX, and Digital Unix default echo programs unquote
654 # backslashes. This makes it impossible to quote backslashes using
655 # echo "$something" | sed 's/\\/\\\\/g'
657 # So, first we look for a working echo in the user's PATH.
659 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
660 for dir
in $PATH /usr
/ucb
; do
662 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
663 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
664 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
665 test "X$echo_testing_string" = "X$echo_test_string"; then
672 if test "X$ECHO" = Xecho
; then
673 # We didn't find a better echo, so look for alternatives.
674 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
675 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
676 test "X$echo_testing_string" = "X$echo_test_string"; then
677 # This shell has a builtin print -r that does the trick.
679 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
680 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
681 # If we have ksh, try running configure again with it.
682 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
683 export ORIGINAL_CONFIG_SHELL
684 CONFIG_SHELL
=/bin
/ksh
686 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
690 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
691 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
692 test "X$echo_testing_string" = "X$echo_test_string"; then
695 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
696 test "X$echo_testing_string" = 'X\t' &&
697 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
698 test "X$echo_testing_string" = "X$echo_test_string"; then
699 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
701 SHELL
="$CONFIG_SHELL"
703 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
704 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
705 test "X$echo_testing_string" = 'X\t' &&
706 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
707 test "X$echo_testing_string" = "X$echo_test_string"; then
708 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
710 # maybe with a smaller string...
713 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
714 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
721 if test "$prev" != 'sed 50q "$0"'; then
722 echo_test_string
=`eval $prev`
723 export echo_test_string
724 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
726 # Oops. We lost completely, so just stick with echo.
735 # Copy echo and quote the copy suitably for passing to libtool from
736 # the Makefile, instead of quoting the original, which is used later.
738 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
739 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
745 exec 7<&0 </dev
/null
6>&1
748 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
749 # so uname gets run too.
750 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
755 ac_default_prefix
=/usr
/local
757 ac_config_libobj_dir
=.
763 SHELL
=${CONFIG_SHELL-/bin/sh}
765 # Identity of this package.
767 PACKAGE_TARNAME
='mpfr'
768 PACKAGE_VERSION
='2.4.1'
769 PACKAGE_STRING
='MPFR 2.4.1'
772 # Factoring default headers for most tests.
773 ac_includes_default
="\
775 #ifdef HAVE_SYS_TYPES_H
776 # include <sys/types.h>
778 #ifdef HAVE_SYS_STAT_H
779 # include <sys/stat.h>
785 # ifdef HAVE_STDLIB_H
790 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
795 #ifdef HAVE_STRINGS_H
796 # include <strings.h>
798 #ifdef HAVE_INTTYPES_H
799 # include <inttypes.h>
808 ac_subst_vars
='LTLIBOBJS
868 MAINTAINER_MODE_FALSE
878 INSTALL_STRIP_PROGRAM
920 program_transform_name
932 enable_option_checking
933 enable_maintainer_mode
944 enable_dependency_tracking
953 ac_precious_vars
='build_alias
970 # Initialize some variables set by options.
972 ac_init_version
=false
973 ac_unrecognized_opts
=
975 # The variables have the same names as the options, with
976 # dashes changed to underlines.
984 program_transform_name
=s
,x
,x
,
992 # Installation directory options.
993 # These are left unexpanded so users can "make install exec_prefix=/foo"
994 # and all the variables that are supposed to be based on exec_prefix
995 # by default will actually change.
996 # Use braces instead of parens because sh, perl, etc. also accept them.
997 # (The list follows the same order as the GNU Coding Standards.)
998 bindir
='${exec_prefix}/bin'
999 sbindir
='${exec_prefix}/sbin'
1000 libexecdir
='${exec_prefix}/libexec'
1001 datarootdir
='${prefix}/share'
1002 datadir
='${datarootdir}'
1003 sysconfdir
='${prefix}/etc'
1004 sharedstatedir
='${prefix}/com'
1005 localstatedir
='${prefix}/var'
1006 includedir
='${prefix}/include'
1007 oldincludedir
='/usr/include'
1008 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1009 infodir
='${datarootdir}/info'
1014 libdir
='${exec_prefix}/lib'
1015 localedir
='${datarootdir}/locale'
1016 mandir
='${datarootdir}/man'
1022 # If the previous option needs an argument, assign it.
1023 if test -n "$ac_prev"; then
1024 eval $ac_prev=\
$ac_option
1030 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1034 # Accept the important Cygnus configure options, so we can diagnose typos.
1036 case $ac_dashdash$ac_option in
1040 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1042 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1043 bindir
=$ac_optarg ;;
1045 -build |
--build |
--buil |
--bui |
--bu)
1046 ac_prev
=build_alias
;;
1047 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1048 build_alias
=$ac_optarg ;;
1050 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1051 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1052 ac_prev
=cache_file
;;
1053 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1054 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1055 cache_file
=$ac_optarg ;;
1057 --config-cache |
-C)
1058 cache_file
=config.cache
;;
1060 -datadir |
--datadir |
--datadi |
--datad)
1062 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1063 datadir
=$ac_optarg ;;
1065 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1066 |
--dataroo |
--dataro |
--datar)
1067 ac_prev
=datarootdir
;;
1068 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1069 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1070 datarootdir
=$ac_optarg ;;
1072 -disable-* |
--disable-*)
1073 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1074 # Reject names that are not valid shell variable names.
1075 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1076 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1077 { (exit 1); exit 1; }; }
1078 ac_useropt_orig
=$ac_useropt
1079 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1080 case $ac_user_opts in
1082 "enable_
$ac_useropt"
1084 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1085 ac_unrecognized_sep
=', ';;
1087 eval enable_
$ac_useropt=no
;;
1089 -docdir |
--docdir |
--docdi |
--doc |
--do)
1091 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1092 docdir
=$ac_optarg ;;
1094 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1096 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1097 dvidir
=$ac_optarg ;;
1099 -enable-* |
--enable-*)
1100 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1101 # Reject names that are not valid shell variable names.
1102 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1103 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1104 { (exit 1); exit 1; }; }
1105 ac_useropt_orig
=$ac_useropt
1106 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1107 case $ac_user_opts in
1109 "enable_
$ac_useropt"
1111 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1112 ac_unrecognized_sep
=', ';;
1114 eval enable_
$ac_useropt=\
$ac_optarg ;;
1116 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1117 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1118 |
--exec |
--exe |
--ex)
1119 ac_prev
=exec_prefix
;;
1120 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1121 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1122 |
--exec=* |
--exe=* |
--ex=*)
1123 exec_prefix
=$ac_optarg ;;
1125 -gas |
--gas |
--ga |
--g)
1126 # Obsolete; use --with-gas.
1129 -help |
--help |
--hel |
--he |
-h)
1130 ac_init_help
=long
;;
1131 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1132 ac_init_help
=recursive
;;
1133 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1134 ac_init_help
=short
;;
1136 -host |
--host |
--hos |
--ho)
1137 ac_prev
=host_alias
;;
1138 -host=* |
--host=* |
--hos=* |
--ho=*)
1139 host_alias
=$ac_optarg ;;
1141 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1143 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1145 htmldir
=$ac_optarg ;;
1147 -includedir |
--includedir |
--includedi |
--included |
--include \
1148 |
--includ |
--inclu |
--incl |
--inc)
1149 ac_prev
=includedir
;;
1150 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1151 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1152 includedir
=$ac_optarg ;;
1154 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1156 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1157 infodir
=$ac_optarg ;;
1159 -libdir |
--libdir |
--libdi |
--libd)
1161 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1162 libdir
=$ac_optarg ;;
1164 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1165 |
--libexe |
--libex |
--libe)
1166 ac_prev
=libexecdir
;;
1167 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1168 |
--libexe=* |
--libex=* |
--libe=*)
1169 libexecdir
=$ac_optarg ;;
1171 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1172 ac_prev
=localedir
;;
1173 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1174 localedir
=$ac_optarg ;;
1176 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1177 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1178 ac_prev
=localstatedir
;;
1179 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1180 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1181 localstatedir
=$ac_optarg ;;
1183 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1185 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1186 mandir
=$ac_optarg ;;
1188 -nfp |
--nfp |
--nf)
1189 # Obsolete; use --without-fp.
1192 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1193 |
--no-cr |
--no-c |
-n)
1196 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1197 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1200 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1201 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1202 |
--oldin |
--oldi |
--old |
--ol |
--o)
1203 ac_prev
=oldincludedir
;;
1204 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1205 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1206 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1207 oldincludedir
=$ac_optarg ;;
1209 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1211 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1212 prefix
=$ac_optarg ;;
1214 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1215 |
--program-pre |
--program-pr |
--program-p)
1216 ac_prev
=program_prefix
;;
1217 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1218 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1219 program_prefix
=$ac_optarg ;;
1221 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1222 |
--program-suf |
--program-su |
--program-s)
1223 ac_prev
=program_suffix
;;
1224 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1225 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1226 program_suffix
=$ac_optarg ;;
1228 -program-transform-name |
--program-transform-name \
1229 |
--program-transform-nam |
--program-transform-na \
1230 |
--program-transform-n |
--program-transform- \
1231 |
--program-transform |
--program-transfor \
1232 |
--program-transfo |
--program-transf \
1233 |
--program-trans |
--program-tran \
1234 |
--progr-tra |
--program-tr |
--program-t)
1235 ac_prev
=program_transform_name
;;
1236 -program-transform-name=* |
--program-transform-name=* \
1237 |
--program-transform-nam=* |
--program-transform-na=* \
1238 |
--program-transform-n=* |
--program-transform-=* \
1239 |
--program-transform=* |
--program-transfor=* \
1240 |
--program-transfo=* |
--program-transf=* \
1241 |
--program-trans=* |
--program-tran=* \
1242 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1243 program_transform_name
=$ac_optarg ;;
1245 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1247 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1248 pdfdir
=$ac_optarg ;;
1250 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1252 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1255 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1256 |
-silent |
--silent |
--silen |
--sile |
--sil)
1259 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1261 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1263 sbindir
=$ac_optarg ;;
1265 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1266 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1267 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1269 ac_prev
=sharedstatedir
;;
1270 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1271 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1272 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1274 sharedstatedir
=$ac_optarg ;;
1276 -site |
--site |
--sit)
1278 -site=* |
--site=* |
--sit=*)
1281 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1283 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1284 srcdir
=$ac_optarg ;;
1286 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1287 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1288 ac_prev
=sysconfdir
;;
1289 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1290 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1291 sysconfdir
=$ac_optarg ;;
1293 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1294 ac_prev
=target_alias
;;
1295 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1296 target_alias
=$ac_optarg ;;
1298 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1301 -version |
--version |
--versio |
--versi |
--vers |
-V)
1302 ac_init_version
=: ;;
1305 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1306 # Reject names that are not valid shell variable names.
1307 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1308 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1309 { (exit 1); exit 1; }; }
1310 ac_useropt_orig
=$ac_useropt
1311 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1312 case $ac_user_opts in
1316 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1317 ac_unrecognized_sep
=', ';;
1319 eval with_
$ac_useropt=\
$ac_optarg ;;
1321 -without-* |
--without-*)
1322 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1323 # Reject names that are not valid shell variable names.
1324 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1325 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1326 { (exit 1); exit 1; }; }
1327 ac_useropt_orig
=$ac_useropt
1328 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1329 case $ac_user_opts in
1333 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1334 ac_unrecognized_sep
=', ';;
1336 eval with_
$ac_useropt=no
;;
1339 # Obsolete; use --with-x.
1342 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1343 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1344 ac_prev
=x_includes
;;
1345 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1346 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1347 x_includes
=$ac_optarg ;;
1349 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1350 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1351 ac_prev
=x_libraries
;;
1352 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1353 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1354 x_libraries
=$ac_optarg ;;
1356 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1357 Try \`$0 --help' for more information." >&2
1358 { (exit 1); exit 1; }; }
1362 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1363 # Reject names that are not valid shell variable names.
1364 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1365 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1366 { (exit 1); exit 1; }; }
1367 eval $ac_envvar=\
$ac_optarg
1368 export $ac_envvar ;;
1371 # FIXME: should be removed in autoconf 3.0.
1372 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1373 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1374 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1375 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1381 if test -n "$ac_prev"; then
1382 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1383 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1384 { (exit 1); exit 1; }; }
1387 if test -n "$ac_unrecognized_opts"; then
1388 case $enable_option_checking in
1390 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1391 { (exit 1); exit 1; }; } ;;
1392 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1396 # Check all directory arguments for consistency.
1397 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1398 datadir sysconfdir sharedstatedir localstatedir includedir \
1399 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1400 libdir localedir mandir
1402 eval ac_val
=\$
$ac_var
1403 # Remove trailing slashes.
1406 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1407 eval $ac_var=\
$ac_val;;
1409 # Be sure to have absolute directory names.
1411 [\\/$
]* | ?
:[\\/]* ) continue;;
1412 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1414 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1415 { (exit 1); exit 1; }; }
1418 # There might be people who depend on the old broken behavior: `$host'
1419 # used to hold the argument of --host etc.
1420 # FIXME: To remove some day.
1423 target
=$target_alias
1425 # FIXME: To remove some day.
1426 if test "x$host_alias" != x
; then
1427 if test "x$build_alias" = x
; then
1428 cross_compiling
=maybe
1429 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1430 If a cross compiler is detected then cross compile mode will be used." >&2
1431 elif test "x$build_alias" != "x$host_alias"; then
1437 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1439 test "$silent" = yes && exec 6>/dev
/null
1442 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1443 ac_ls_di
=`ls -di .` &&
1444 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1445 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1446 { (exit 1); exit 1; }; }
1447 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1448 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1449 { (exit 1); exit 1; }; }
1452 # Find the source files, if location was not specified.
1453 if test -z "$srcdir"; then
1454 ac_srcdir_defaulted
=yes
1455 # Try the directory containing this script, then the parent directory.
1456 ac_confdir
=`$as_dirname -- "$as_myself" ||
1457 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1458 X"$as_myself" : 'X\(//\)[^/]' \| \
1459 X"$as_myself" : 'X\(//\)$' \| \
1460 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1461 $as_echo X"$as_myself" |
1462 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1480 if test ! -r "$srcdir/$ac_unique_file"; then
1484 ac_srcdir_defaulted
=no
1486 if test ! -r "$srcdir/$ac_unique_file"; then
1487 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1488 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1489 { (exit 1); exit 1; }; }
1491 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1493 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1494 { (exit 1); exit 1; }; }
1496 # When building in place, set srcdir=.
1497 if test "$ac_abs_confdir" = "$ac_pwd"; then
1500 # Remove unnecessary trailing slashes from srcdir.
1501 # Double slashes in file names in object file debugging info
1502 # mess up M-x gdb in Emacs.
1504 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1506 for ac_var
in $ac_precious_vars; do
1507 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1508 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1509 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1510 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1514 # Report the --help message.
1516 if test "$ac_init_help" = "long"; then
1517 # Omit some internal or obsolete options to make the list less imposing.
1518 # This message is too long to be a string in the A/UX 3.1 sh.
1520 \`configure' configures MPFR 2.4.1 to adapt to many kinds of systems.
1522 Usage: $0 [OPTION]... [VAR=VALUE]...
1524 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1525 VAR=VALUE. See below for descriptions of some of the useful variables.
1527 Defaults for the options are specified in brackets.
1530 -h, --help display this help and exit
1531 --help=short display options specific to this package
1532 --help=recursive display the short help of all the included packages
1533 -V, --version display version information and exit
1534 -q, --quiet, --silent do not print \`checking...' messages
1535 --cache-file=FILE cache test results in FILE [disabled]
1536 -C, --config-cache alias for \`--cache-file=config.cache'
1537 -n, --no-create do not create output files
1538 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1540 Installation directories:
1541 --prefix=PREFIX install architecture-independent files in PREFIX
1542 [$ac_default_prefix]
1543 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1546 By default, \`make install' will install all the files in
1547 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1548 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1549 for instance \`--prefix=\$HOME'.
1551 For better control, use the options below.
1553 Fine tuning of the installation directories:
1554 --bindir=DIR user executables [EPREFIX/bin]
1555 --sbindir=DIR system admin executables [EPREFIX/sbin]
1556 --libexecdir=DIR program executables [EPREFIX/libexec]
1557 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1558 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1559 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1560 --libdir=DIR object code libraries [EPREFIX/lib]
1561 --includedir=DIR C header files [PREFIX/include]
1562 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1563 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1564 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1565 --infodir=DIR info documentation [DATAROOTDIR/info]
1566 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1567 --mandir=DIR man documentation [DATAROOTDIR/man]
1568 --docdir=DIR documentation root [DATAROOTDIR/doc/mpfr]
1569 --htmldir=DIR html documentation [DOCDIR]
1570 --dvidir=DIR dvi documentation [DOCDIR]
1571 --pdfdir=DIR pdf documentation [DOCDIR]
1572 --psdir=DIR ps documentation [DOCDIR]
1578 --program-prefix=PREFIX prepend PREFIX to installed program names
1579 --program-suffix=SUFFIX append SUFFIX to installed program names
1580 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1583 --build=BUILD configure
for building on BUILD
[guessed
]
1584 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1588 if test -n "$ac_init_help"; then
1589 case $ac_init_help in
1590 short | recursive
) echo "Configuration of MPFR 2.4.1:";;
1595 --disable-option-checking ignore unrecognized
--enable/--with options
1596 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1597 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1598 --disable-maintainer-mode disable
make rules and dependencies not useful
1599 (and sometimes confusing
) to the casual installer
1600 --enable-assert enable ASSERT checking
[default
=no
]
1601 --enable-logging enable MPFR logging
(the system must support it
)
1603 --enable-thread-safe build MPFR as thread safe
(the system must support
1605 --enable-warnings allow MPFR to output warnings to stderr
[default
=no
]
1606 --enable-tests-timeout=NUM
enable timeout
(NUM seconds
) for test programs
1607 (NUM
<= 9999) [default
=no
]; if enabled
, env variable
1608 $MPFR_TESTS_TIMEOUT overrides NUM
(0: no timeout
).
1609 --disable-dependency-tracking speeds up one-time build
1610 --enable-dependency-tracking do not reject slow dependency extractors
1611 --enable-decimal-float build conversion functions from
/to decimal floats
1613 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1614 --enable-static[=PKGS
] build static libraries
[default
=yes]
1615 --enable-fast-install[=PKGS
]
1616 optimize
for fast installation
[default
=yes]
1617 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1620 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1621 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1622 --with-gmp-include=DIR GMP include directory
1623 --with-gmp-lib=DIR GMP lib directory
1624 --with-gmp=DIR GMP
install directory
1625 --with-gmp-build=DIR GMP build directory
(please
read INSTALL
file)
1626 --with-mulhigh-size=NUM internal threshold table
for mulhigh
1627 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1629 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1631 Some influential environment variables
:
1632 CC C compiler
command
1633 CFLAGS C compiler flags
1634 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1635 nonstandard directory
<lib dir
>
1636 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1637 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1638 you have headers
in a nonstandard directory
<include dir
>
1640 CXX C
++ compiler
command
1641 CXXFLAGS C
++ compiler flags
1642 F77 Fortran
77 compiler
command
1643 FFLAGS Fortran
77 compiler flags
1644 CXXCPP C
++ preprocessor
1646 Use these variables to override the choices made by
`configure' or to help
1647 it to find libraries and programs with nonstandard names/locations.
1653 if test "$ac_init_help" = "recursive"; then
1654 # If there are subdirs, report their specific --help.
1655 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1656 test -d "$ac_dir" ||
1657 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1662 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1664 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1665 # A ".." for each directory in $ac_dir_suffix.
1666 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1667 case $ac_top_builddir_sub in
1668 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1669 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1672 ac_abs_top_builddir=$ac_pwd
1673 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1674 # for backward compatibility:
1675 ac_top_builddir=$ac_top_build_prefix
1678 .) # We are building in place.
1680 ac_top_srcdir=$ac_top_builddir_sub
1681 ac_abs_top_srcdir=$ac_pwd ;;
1682 [\\/]* | ?:[\\/]* ) # Absolute name.
1683 ac_srcdir=$srcdir$ac_dir_suffix;
1684 ac_top_srcdir=$srcdir
1685 ac_abs_top_srcdir=$srcdir ;;
1687 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1688 ac_top_srcdir=$ac_top_build_prefix$srcdir
1689 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1691 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1693 cd "$ac_dir" || { ac_status=$?; continue; }
1694 # Check for guested configure.
1695 if test -f "$ac_srcdir/configure.gnu"; then
1697 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1698 elif test -f "$ac_srcdir/configure"; then
1700 $SHELL "$ac_srcdir/configure" --help=recursive
1702 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1704 cd "$ac_pwd" || { ac_status=$?; break; }
1708 test -n "$ac_init_help" && exit $ac_status
1709 if $ac_init_version; then
1711 MPFR configure 2.4.1
1712 generated by GNU Autoconf 2.63
1714 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1715 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1716 This configure script is free software; the Free Software Foundation
1717 gives unlimited permission to copy, distribute and modify it.
1720 Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
1721 Contributed by the Arenaire and Cacao projects, INRIA.
1723 This file is part of the GNU MPFR Library.
1725 The GNU MPFR Library is free software; you can redistribute it and/or modify
1726 it under the terms of the GNU Lesser General Public License as published
1727 by the Free Software Foundation; either version 2.1 of the License, or (at
1728 your option) any later version.
1730 The GNU MPFR Library is distributed in the hope that it will be useful, but
1731 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
1732 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
1733 License for more details.
1735 You should have received a copy of the GNU Lesser General Public License
1736 along with the GNU MPFR Library; see the file COPYING.LIB. If not, write to
1737 the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
1743 cat >config.log <<_ACEOF
1744 This file contains any messages produced by compilers while
1745 running configure, to aid debugging if configure makes a mistake.
1747 It was created by MPFR $as_me 2.4.1, which was
1748 generated by GNU Autoconf 2.63. Invocation command line was
1760 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1761 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1762 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1763 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1764 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1766 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1767 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1769 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1770 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1771 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1772 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1773 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1774 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1775 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1783 test -z "$as_dir" && as_dir=.
1784 $as_echo "PATH: $as_dir"
1800 # Keep a trace of the command line.
1801 # Strip out --no-create and --no-recursion so they do not pile up.
1802 # Strip out --silent because we don't want to record it for future runs.
1803 # Also quote any args containing shell meta-characters.
1804 # Make two passes to allow for proper duplicate-argument suppression.
1808 ac_must_keep_next=false
1814 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1815 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1816 | -silent | --silent | --silen | --sile | --sil)
1819 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1822 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1824 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1825 if test $ac_must_keep_next = true; then
1826 ac_must_keep_next=false # Got value, back to normal.
1829 *=* | --config-cache | -C | -disable-* | --disable-* \
1830 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1831 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1832 | -with-* | --with-* | -without-* | --without-* | --x)
1833 case "$ac_configure_args0 " in
1834 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1837 -* ) ac_must_keep_next=true ;;
1840 ac_configure_args="$ac_configure_args '$ac_arg'"
1845 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1846 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1848 # When interrupted or exit'd, cleanup temporary files, and complete
1849 # config.log. We remove comments because anyway the quotes in there
1850 # would cause problems or look ugly.
1851 # WARNING: Use '\'' to represent an apostrophe within the trap.
1852 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1853 trap 'exit_status=$?
1854 # Save into config.log some information that might help in debugging.
1859 ## ---------------- ##
1860 ## Cache variables. ##
1861 ## ---------------- ##
1864 # The following way of writing the cache mishandles newlines in values,
1866 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1867 eval ac_val=\$$ac_var
1871 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1872 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1875 _ | IFS | as_nl) ;; #(
1876 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1877 *) $as_unset $ac_var ;;
1882 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1883 *${as_nl}ac_space=\ *)
1885 "s/'\''/'\''\\\\'\'''\''/g;
1886 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1889 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1897 ## ----------------- ##
1898 ## Output variables. ##
1899 ## ----------------- ##
1902 for ac_var in $ac_subst_vars
1904 eval ac_val=\$$ac_var
1906 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1908 $as_echo "$ac_var='\''$ac_val'\''"
1912 if test -n "$ac_subst_files"; then
1914 ## ------------------- ##
1915 ## File substitutions. ##
1916 ## ------------------- ##
1919 for ac_var in $ac_subst_files
1921 eval ac_val=\$$ac_var
1923 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1925 $as_echo "$ac_var='\''$ac_val'\''"
1930 if test -s confdefs.h; then
1940 test "$ac_signal" != 0 &&
1941 $as_echo "$as_me: caught signal $ac_signal"
1942 $as_echo "$as_me: exit $exit_status"
1944 rm -f core *.core core.conftest.* &&
1945 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1948 for ac_signal in 1 2 13 15; do
1949 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1953 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1954 rm -f -r conftest* confdefs.h
1956 # Predefined preprocessor variables.
1958 cat >>confdefs.h <<_ACEOF
1959 #define PACKAGE_NAME "$PACKAGE_NAME"
1963 cat >>confdefs.h <<_ACEOF
1964 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1968 cat >>confdefs.h <<_ACEOF
1969 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1973 cat >>confdefs.h <<_ACEOF
1974 #define PACKAGE_STRING "$PACKAGE_STRING"
1978 cat >>confdefs.h <<_ACEOF
1979 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1983 # Let the site file select an alternate cache file if it wants to.
1984 # Prefer an explicitly selected file to automatically selected ones.
1987 if test -n "$CONFIG_SITE"; then
1988 ac_site_file1=$CONFIG_SITE
1989 elif test "x$prefix" != xNONE; then
1990 ac_site_file1=$prefix/share/config.site
1991 ac_site_file2=$prefix/etc/config.site
1993 ac_site_file1=$ac_default_prefix/share/config.site
1994 ac_site_file2=$ac_default_prefix/etc/config.site
1996 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1998 test "x$ac_site_file" = xNONE && continue
1999 if test -r "$ac_site_file"; then
2000 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2001 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2002 sed 's/^/| /' "$ac_site_file" >&5
2007 if test -r "$cache_file"; then
2008 # Some versions of bash will fail to source /dev/null (special
2009 # files actually), so we avoid doing that.
2010 if test -f "$cache_file"; then
2011 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2012 $as_echo "$as_me: loading cache $cache_file" >&6;}
2014 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2015 *) . "./$cache_file";;
2019 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2020 $as_echo "$as_me: creating cache $cache_file" >&6;}
2024 # Check that the precious variables saved in the cache have kept the same
2026 ac_cache_corrupted=false
2027 for ac_var in $ac_precious_vars; do
2028 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2029 eval ac_new_set=\$ac_env_${ac_var}_set
2030 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2031 eval ac_new_val=\$ac_env_${ac_var}_value
2032 case $ac_old_set,$ac_new_set in
2034 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2035 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2036 ac_cache_corrupted=: ;;
2038 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
2039 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2040 ac_cache_corrupted=: ;;
2043 if test "x$ac_old_val" != "x$ac_new_val"; then
2044 # differences in whitespace do not lead to failure.
2045 ac_old_val_w=`echo x
$ac_old_val`
2046 ac_new_val_w=`echo x
$ac_new_val`
2047 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2048 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2049 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2050 ac_cache_corrupted=:
2052 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2053 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2054 eval $ac_var=\$ac_old_val
2056 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2057 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2058 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2059 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2062 # Pass precious variables to config.status.
2063 if test "$ac_new_set" = set; then
2065 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2066 *) ac_arg=$ac_var=$ac_new_val ;;
2068 case " $ac_configure_args " in
2069 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2070 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2074 if $ac_cache_corrupted; then
2075 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2077 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2078 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2079 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
2080 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
2081 { (exit 1); exit 1; }; }
2109 ac_cpp='$CPP $CPPFLAGS'
2110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2115 am__api_version='1.10'
2118 for ac_dir in "$srcdir" "$srcdir/..
" "$srcdir/..
/..
"; do
2119 if test -f "$ac_dir/install-sh
"; then
2121 ac_install_sh="$ac_aux_dir/install-sh
-c"
2123 elif test -f "$ac_dir/install.sh
"; then
2125 ac_install_sh="$ac_aux_dir/install.sh
-c"
2127 elif test -f "$ac_dir/shtool
"; then
2129 ac_install_sh="$ac_aux_dir/shtool
install -c"
2133 if test -z "$ac_aux_dir"; then
2134 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&5
2135 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&2;}
2136 { (exit 1); exit 1; }; }
2139 # These three variables are undocumented and unsupported,
2140 # and are intended to be withdrawn in a future Autoconf release.
2141 # They can cause serious problems if a builder's source tree is in a directory
2142 # whose full name contains unusual characters.
2143 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2144 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2145 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2148 # Find a good install program. We prefer a C program (faster),
2149 # so one script is as good as another. But avoid the broken or
2150 # incompatible versions:
2151 # SysV /etc/install, /usr/sbin/install
2152 # SunOS /usr/etc/install
2153 # IRIX /sbin/install
2155 # AmigaOS /C/install, which installs bootblocks on floppy discs
2156 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2157 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2158 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
2159 # OS/2's system install, which has a completely different semantic
2160 # ./install, which can be erroneously created by make from ./install.sh.
2161 # Reject install programs that cannot install multiple files.
2162 { $as_echo "$as_me:$LINENO: checking
for a BSD-compatible
install" >&5
2163 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
2164 if test -z "$INSTALL"; then
2165 if test "${ac_cv_path_install+set}" = set; then
2166 $as_echo_n "(cached
) " >&6
2168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2172 test -z "$as_dir" && as_dir=.
2173 # Account for people who put trailing slashes in PATH elements.
2175 ./ | .// | /cC/* | \
2176 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2177 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2180 # OSF1 and SCO ODT 3.0 have their own names for install.
2181 # Don't use installbsd from OSF since it installs stuff as root
2183 for ac_prog in ginstall scoinst install; do
2184 for ac_exec_ext in '' $ac_executable_extensions; do
2185 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2186 if test $ac_prog = install &&
2187 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2188 # AIX install. It has an incompatible calling convention.
2190 elif test $ac_prog = install &&
2191 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2192 # program-specific install script used by HP pwplus--don't use.
2195 rm -rf conftest.one conftest.two conftest.dir
2196 echo one > conftest.one
2197 echo two > conftest.two
2199 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
2200 test -s conftest.one && test -s conftest.two &&
2201 test -s conftest.dir/conftest.one &&
2202 test -s conftest.dir/conftest.two
2204 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2217 rm -rf conftest.one conftest.two conftest.dir
2220 if test "${ac_cv_path_install+set}" = set; then
2221 INSTALL=$ac_cv_path_install
2223 # As a last resort, use the slow shell script. Don't cache a
2224 # value for INSTALL within a source directory, because that will
2225 # break other packages using the cache if that directory is
2226 # removed, or if the value is a relative name.
2227 INSTALL=$ac_install_sh
2230 { $as_echo "$as_me:$LINENO: result
: $INSTALL" >&5
2231 $as_echo "$INSTALL" >&6; }
2233 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2234 # It thinks the first close brace ends the variable substitution.
2235 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2237 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2239 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2241 { $as_echo "$as_me:$LINENO: checking whether build environment is sane
" >&5
2242 $as_echo_n "checking whether build environment is sane...
" >&6; }
2245 echo timestamp > conftest.file
2246 # Do `set' in a subshell so we don't clobber the current shell's
2247 # arguments. Must try -L first in case configure is actually a
2248 # symlink; some systems play weird games with the mod time of symlinks
2249 # (eg FreeBSD returns the mod time of the symlink's containing
2252 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2253 if test "$
*" = "X
"; then
2255 set X `ls -t $srcdir/configure conftest.file`
2258 if test "$
*" != "X
$srcdir/configure conftest.
file" \
2259 && test "$
*" != "X conftest.
file $srcdir/configure
"; then
2261 # If neither matched, then we have a broken ls. This can happen
2262 # if, for instance, CONFIG_SHELL is bash and it inherits a
2263 # broken ls alias from the environment. This has actually
2264 # happened. Such a system could not be considered "sane
".
2265 { { $as_echo "$as_me:$LINENO: error
: ls -t appears to fail. Make sure there is not a broken
2266 alias in your environment
" >&5
2267 $as_echo "$as_me: error
: ls -t appears to fail. Make sure there is not a broken
2268 alias in your environment
" >&2;}
2269 { (exit 1); exit 1; }; }
2272 test "$2" = conftest.file
2278 { { $as_echo "$as_me:$LINENO: error
: newly created
file is older than distributed files
!
2279 Check your system
clock" >&5
2280 $as_echo "$as_me: error
: newly created
file is older than distributed files
!
2281 Check your system
clock" >&2;}
2282 { (exit 1); exit 1; }; }
2284 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2285 $as_echo "yes" >&6; }
2286 test "$program_prefix" != NONE &&
2287 program_transform_name="s
&^
&$program_prefix&;$program_transform_name"
2288 # Use a double $ so make ignores it.
2289 test "$program_suffix" != NONE &&
2290 program_transform_name="s
&\$
&$program_suffix&;$program_transform_name"
2291 # Double any \ or $.
2292 # By default was `s,x,x', remove it if useless.
2293 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2294 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2296 # expand $ac_aux_dir to an absolute path
2297 am_aux_dir=`cd $ac_aux_dir && pwd`
2299 test x"${MISSING+set}" = xset || MISSING="\
${SHELL} $am_aux_dir/missing
"
2300 # Use eval to expand $SHELL
2301 if eval "$MISSING --run true
"; then
2302 am_missing_run="$MISSING --run "
2305 { $as_echo "$as_me:$LINENO: WARNING
: \
`missing' script is too old or missing" >&5
2306 $as_echo "$as_me: WARNING: \`missing
' script is too old or missing" >&2;}
2309 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2310 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2311 if test -z "$MKDIR_P"; then
2312 if test "${ac_cv_path_mkdir+set}" = set; then
2313 $as_echo_n "(cached) " >&6
2315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2316 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2319 test -z "$as_dir" && as_dir=.
2320 for ac_prog in mkdir gmkdir; do
2321 for ac_exec_ext in '' $ac_executable_extensions; do
2322 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2323 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2324 'mkdir
(GNU coreutils
) '* | \
2325 'mkdir
(coreutils
) '* | \
2326 'mkdir
(fileutils
) '4.1*)
2327 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2337 if test "${ac_cv_path_mkdir+set}" = set; then
2338 MKDIR_P="$ac_cv_path_mkdir -p"
2340 # As a last resort, use the slow shell script. Don't cache a
2341 # value for MKDIR_P within a source directory, because that will
2342 # break other packages using the cache if that directory is
2343 # removed, or if the value is a relative name.
2344 test -d .
/--version && rmdir .
/--version
2345 MKDIR_P
="$ac_install_sh -d"
2348 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2349 $as_echo "$MKDIR_P" >&6; }
2353 [\\/$
]* | ?
:[\\/]*) ;;
2354 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2357 for ac_prog
in gawk mawk nawk
awk
2359 # Extract the first word of "$ac_prog", so it can be a program name with args.
2360 set dummy
$ac_prog; ac_word
=$2
2361 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2362 $as_echo_n "checking for $ac_word... " >&6; }
2363 if test "${ac_cv_prog_AWK+set}" = set; then
2364 $as_echo_n "(cached) " >&6
2366 if test -n "$AWK"; then
2367 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2373 test -z "$as_dir" && as_dir
=.
2374 for ac_exec_ext
in '' $ac_executable_extensions; do
2375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2376 ac_cv_prog_AWK
="$ac_prog"
2377 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2387 if test -n "$AWK"; then
2388 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2389 $as_echo "$AWK" >&6; }
2391 { $as_echo "$as_me:$LINENO: result: no" >&5
2392 $as_echo "no" >&6; }
2396 test -n "$AWK" && break
2399 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2400 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2402 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2403 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2404 $as_echo_n "(cached) " >&6
2406 cat >conftest.
make <<\_ACEOF
2409 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2411 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2412 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2414 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2416 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2420 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2421 { $as_echo "$as_me:$LINENO: result: yes" >&5
2422 $as_echo "yes" >&6; }
2425 { $as_echo "$as_me:$LINENO: result: no" >&5
2426 $as_echo "no" >&6; }
2427 SET_MAKE
="MAKE=${MAKE-make}"
2430 rm -rf .tst
2>/dev
/null
2431 mkdir .tst
2>/dev
/null
2432 if test -d .tst
; then
2437 rmdir .tst
2>/dev
/null
2439 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2440 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2441 # is not polluted with repeated "-I."
2442 am__isrc
=' -I$(srcdir)'
2443 # test to see if srcdir already configured
2444 if test -f $srcdir/config.status
; then
2445 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2446 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2447 { (exit 1); exit 1; }; }
2451 # test whether we have cygpath
2452 if test -z "$CYGPATH_W"; then
2453 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2454 CYGPATH_W
='cygpath -w'
2461 # Define the identity of the package.
2466 # Some tools Automake needs.
2468 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2471 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2474 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2477 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2480 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2482 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2484 # Installed binaries are usually stripped using `strip' when the user
2485 # run `make install-strip'. However `strip' might not be the right
2486 # tool to use in cross-compilation environments, therefore Automake
2487 # will honor the `STRIP' environment variable to overrule this program.
2488 if test "$cross_compiling" != no
; then
2489 if test -n "$ac_tool_prefix"; then
2490 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2491 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2492 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2493 $as_echo_n "checking for $ac_word... " >&6; }
2494 if test "${ac_cv_prog_STRIP+set}" = set; then
2495 $as_echo_n "(cached) " >&6
2497 if test -n "$STRIP"; then
2498 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2504 test -z "$as_dir" && as_dir
=.
2505 for ac_exec_ext
in '' $ac_executable_extensions; do
2506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2507 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2508 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2517 STRIP
=$ac_cv_prog_STRIP
2518 if test -n "$STRIP"; then
2519 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2520 $as_echo "$STRIP" >&6; }
2522 { $as_echo "$as_me:$LINENO: result: no" >&5
2523 $as_echo "no" >&6; }
2528 if test -z "$ac_cv_prog_STRIP"; then
2530 # Extract the first word of "strip", so it can be a program name with args.
2531 set dummy strip
; ac_word
=$2
2532 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2533 $as_echo_n "checking for $ac_word... " >&6; }
2534 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2535 $as_echo_n "(cached) " >&6
2537 if test -n "$ac_ct_STRIP"; then
2538 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2544 test -z "$as_dir" && as_dir
=.
2545 for ac_exec_ext
in '' $ac_executable_extensions; do
2546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2547 ac_cv_prog_ac_ct_STRIP
="strip"
2548 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2557 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2558 if test -n "$ac_ct_STRIP"; then
2559 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2560 $as_echo "$ac_ct_STRIP" >&6; }
2562 { $as_echo "$as_me:$LINENO: result: no" >&5
2563 $as_echo "no" >&6; }
2566 if test "x$ac_ct_STRIP" = x
; then
2569 case $cross_compiling:$ac_tool_warned in
2571 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2572 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2573 ac_tool_warned
=yes ;;
2578 STRIP
="$ac_cv_prog_STRIP"
2582 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2584 # We need awk for the "check" target. The system "awk" is bad on
2586 # Always define AMTAR for backward compatibility.
2588 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2590 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2597 { $as_echo "$as_me:$LINENO: checking whether to disable maintainer-specific portions of Makefiles" >&5
2598 $as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
2599 # Check whether --enable-maintainer-mode was given.
2600 if test "${enable_maintainer_mode+set}" = set; then
2601 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2603 USE_MAINTAINER_MODE
=yes
2606 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2607 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2608 if test $USE_MAINTAINER_MODE = yes; then
2609 MAINTAINER_MODE_TRUE
=
2610 MAINTAINER_MODE_FALSE
='#'
2612 MAINTAINER_MODE_TRUE
='#'
2613 MAINTAINER_MODE_FALSE
=
2616 MAINT
=$MAINTAINER_MODE_TRUE
2623 test_CFLAGS
=${CFLAGS+set}
2625 # Make sure we can run config.sub.
2626 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2627 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2628 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2629 { (exit 1); exit 1; }; }
2631 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2632 $as_echo_n "checking build system type... " >&6; }
2633 if test "${ac_cv_build+set}" = set; then
2634 $as_echo_n "(cached) " >&6
2636 ac_build_alias
=$build_alias
2637 test "x$ac_build_alias" = x
&&
2638 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2639 test "x$ac_build_alias" = x
&&
2640 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2641 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2642 { (exit 1); exit 1; }; }
2643 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2644 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2645 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2646 { (exit 1); exit 1; }; }
2649 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2650 $as_echo "$ac_cv_build" >&6; }
2651 case $ac_cv_build in
2653 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2654 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2655 { (exit 1); exit 1; }; };;
2658 ac_save_IFS
=$IFS; IFS
='-'
2664 # Remember, the first character of IFS is used to create $*,
2665 # except with old shells:
2668 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2671 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2672 $as_echo_n "checking host system type... " >&6; }
2673 if test "${ac_cv_host+set}" = set; then
2674 $as_echo_n "(cached) " >&6
2676 if test "x$host_alias" = x
; then
2677 ac_cv_host
=$ac_cv_build
2679 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2680 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2681 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2682 { (exit 1); exit 1; }; }
2686 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2687 $as_echo "$ac_cv_host" >&6; }
2690 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2691 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2692 { (exit 1); exit 1; }; };;
2695 ac_save_IFS
=$IFS; IFS
='-'
2701 # Remember, the first character of IFS is used to create $*,
2702 # except with old shells:
2705 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2710 unset gmp_lib_path GMP_CFLAGS GMP_CC
2712 # Check whether --with-gmp_include was given.
2713 if test "${with_gmp_include+set}" = set; then
2714 withval
=$with_gmp_include; CPPFLAGS
="$CPPFLAGS -I$withval"
2718 # Check whether --with-gmp_lib was given.
2719 if test "${with_gmp_lib+set}" = set; then
2720 withval
=$with_gmp_lib;
2721 LDFLAGS
="$LDFLAGS -L$withval"
2722 gmp_lib_path
="$withval"
2727 # Check whether --with-gmp was given.
2728 if test "${with_gmp+set}" = set; then
2730 if test -z "$with_gmp_lib" -a -z "$with_gmp_include" ; then
2731 CPPFLAGS
="$CPPFLAGS -I$withval/include"
2732 LDFLAGS
="$LDFLAGS -L$withval/lib"
2733 gmp_lib_path
="$withval/lib"
2735 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2736 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2737 { { $as_echo "$as_me:$LINENO: error: Do not use --with-gmp and --with-gmp-include/--with-gmp-lib options simultaneously.
2738 See \`config.log' for more details." >&5
2739 $as_echo "$as_me: error: Do not use --with-gmp and --with-gmp-include/--with-gmp-lib options simultaneously.
2740 See \`config.log' for more details." >&2;}
2741 { (exit 1); exit 1; }; }; }
2748 # Check whether --with-gmp_build was given.
2749 if test "${with_gmp_build+set}" = set; then
2750 withval
=$with_gmp_build;
2751 if test -z "$gmp_lib_path" -a -z "$with_gmp_include" ; then
2752 CPPFLAGS
="$CPPFLAGS -I$withval -I$withval/tune"
2753 LDFLAGS
="$LDFLAGS -L$withval -L$withval/.libs -L$withval/tune/"
2754 gmp_lib_path
="$withval$PATH_SEPARATOR$withval/.libs$PATH_SEPARATOR$withval/tune"
2755 if test -r $withval/Makefile
; then
2756 GMP_CFLAGS
=`grep -w "CFLAGS =" $withval/Makefile | sed 's/CFLAGS = //'`
2757 GMP_CC
=`grep -w "CC =" $withval/Makefile | sed 's/CC = //'`
2761 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2762 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2763 { { $as_echo "$as_me:$LINENO: error: Do not use --with-gmp-build and other --with-gmp options simultaneously.
2764 See \`config.log' for more details." >&5
2765 $as_echo "$as_me: error: Do not use --with-gmp-build and other --with-gmp options simultaneously.
2766 See \`config.log' for more details." >&2;}
2767 { (exit 1); exit 1; }; }; }
2774 # Check whether --with-mulhigh_size was given.
2775 if test "${with_mulhigh_size+set}" = set; then
2776 withval
=$with_mulhigh_size;
2777 cat >>confdefs.h
<<_ACEOF
2778 #define MPFR_MULHIGH_SIZE $withval
2784 # Check whether --enable-assert was given.
2785 if test "${enable_assert+set}" = set; then
2786 enableval
=$enable_assert; case $enableval in
2788 cat >>confdefs.h
<<\_ACEOF
2789 #define WANT_ASSERT 1
2794 cat >>confdefs.h
<<\_ACEOF
2795 #define WANT_ASSERT 2
2798 *) { { $as_echo "$as_me:$LINENO: error: bad value for --enable-assert: yes, no or full" >&5
2799 $as_echo "$as_me: error: bad value for --enable-assert: yes, no or full" >&2;}
2800 { (exit 1); exit 1; }; } ;;
2804 # Check whether --enable-logging was given.
2805 if test "${enable_logging+set}" = set; then
2806 enableval
=$enable_logging; disable_gcc_format_warning
=yes
2809 cat >>confdefs.h
<<\_ACEOF
2810 #define MPFR_USE_LOGGING 1
2814 *) { { $as_echo "$as_me:$LINENO: error: bad value for --enable-logging: yes or no" >&5
2815 $as_echo "$as_me: error: bad value for --enable-logging: yes or no" >&2;}
2816 { (exit 1); exit 1; }; } ;;
2820 # Check whether --enable-thread-safe was given.
2821 if test "${enable_thread_safe+set}" = set; then
2822 enableval
=$enable_thread_safe; case $enableval in
2824 cat >>confdefs.h
<<\_ACEOF
2825 #define MPFR_USE_THREAD_SAFE 1
2829 *) { { $as_echo "$as_me:$LINENO: error: bad value for --enable-thread-safe: yes or no" >&5
2830 $as_echo "$as_me: error: bad value for --enable-thread-safe: yes or no" >&2;}
2831 { (exit 1); exit 1; }; } ;;
2835 # Check whether --enable-warnings was given.
2836 if test "${enable_warnings+set}" = set; then
2837 enableval
=$enable_warnings; case $enableval in
2839 cat >>confdefs.h
<<\_ACEOF
2840 #define MPFR_USE_WARNINGS 1
2844 *) { { $as_echo "$as_me:$LINENO: error: bad value for --enable-warnings: yes or no" >&5
2845 $as_echo "$as_me: error: bad value for --enable-warnings: yes or no" >&2;}
2846 { (exit 1); exit 1; }; } ;;
2851 # Check whether --enable-tests-timeout was given.
2852 if test "${enable_tests_timeout+set}" = set; then
2853 enableval
=$enable_tests_timeout; case $enableval in
2856 cat >>confdefs.h
<<\_ACEOF
2857 #define MPFR_TESTS_TIMEOUT 0
2860 [0-9]|
[0-9][0-9]|
[0-9][0-9][0-9]|
[0-9][0-9][0-9][0-9])
2862 cat >>confdefs.h
<<_ACEOF
2863 #define MPFR_TESTS_TIMEOUT $enableval
2866 *) { { $as_echo "$as_me:$LINENO: error: bad value for --enable-tests-timeout" >&5
2867 $as_echo "$as_me: error: bad value for --enable-tests-timeout" >&2;}
2868 { (exit 1); exit 1; }; } ;;
2875 if test -n "$CFLAGS" ||
test -n "$CC" ; then
2876 user_redefine_cc
=yes
2879 ac_cpp
='$CPP $CPPFLAGS'
2880 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2881 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2882 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2883 if test -n "$ac_tool_prefix"; then
2884 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2885 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2886 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2887 $as_echo_n "checking for $ac_word... " >&6; }
2888 if test "${ac_cv_prog_CC+set}" = set; then
2889 $as_echo_n "(cached) " >&6
2891 if test -n "$CC"; then
2892 ac_cv_prog_CC
="$CC" # Let the user override the test.
2894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2898 test -z "$as_dir" && as_dir
=.
2899 for ac_exec_ext
in '' $ac_executable_extensions; do
2900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2901 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2902 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2912 if test -n "$CC"; then
2913 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2914 $as_echo "$CC" >&6; }
2916 { $as_echo "$as_me:$LINENO: result: no" >&5
2917 $as_echo "no" >&6; }
2922 if test -z "$ac_cv_prog_CC"; then
2924 # Extract the first word of "gcc", so it can be a program name with args.
2925 set dummy gcc
; ac_word
=$2
2926 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2927 $as_echo_n "checking for $ac_word... " >&6; }
2928 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2929 $as_echo_n "(cached) " >&6
2931 if test -n "$ac_ct_CC"; then
2932 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2938 test -z "$as_dir" && as_dir
=.
2939 for ac_exec_ext
in '' $ac_executable_extensions; do
2940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2941 ac_cv_prog_ac_ct_CC
="gcc"
2942 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2951 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2952 if test -n "$ac_ct_CC"; then
2953 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2954 $as_echo "$ac_ct_CC" >&6; }
2956 { $as_echo "$as_me:$LINENO: result: no" >&5
2957 $as_echo "no" >&6; }
2960 if test "x$ac_ct_CC" = x
; then
2963 case $cross_compiling:$ac_tool_warned in
2965 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2967 ac_tool_warned
=yes ;;
2975 if test -z "$CC"; then
2976 if test -n "$ac_tool_prefix"; then
2977 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2978 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2979 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2980 $as_echo_n "checking for $ac_word... " >&6; }
2981 if test "${ac_cv_prog_CC+set}" = set; then
2982 $as_echo_n "(cached) " >&6
2984 if test -n "$CC"; then
2985 ac_cv_prog_CC
="$CC" # Let the user override the test.
2987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2991 test -z "$as_dir" && as_dir
=.
2992 for ac_exec_ext
in '' $ac_executable_extensions; do
2993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2994 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2995 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3005 if test -n "$CC"; then
3006 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3007 $as_echo "$CC" >&6; }
3009 { $as_echo "$as_me:$LINENO: result: no" >&5
3010 $as_echo "no" >&6; }
3016 if test -z "$CC"; then
3017 # Extract the first word of "cc", so it can be a program name with args.
3018 set dummy cc
; ac_word
=$2
3019 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3020 $as_echo_n "checking for $ac_word... " >&6; }
3021 if test "${ac_cv_prog_CC+set}" = set; then
3022 $as_echo_n "(cached) " >&6
3024 if test -n "$CC"; then
3025 ac_cv_prog_CC
="$CC" # Let the user override the test.
3028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3032 test -z "$as_dir" && as_dir
=.
3033 for ac_exec_ext
in '' $ac_executable_extensions; do
3034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3035 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3036 ac_prog_rejected
=yes
3040 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3047 if test $ac_prog_rejected = yes; then
3048 # We found a bogon in the path, so make sure we never use it.
3049 set dummy
$ac_cv_prog_CC
3051 if test $# != 0; then
3052 # We chose a different compiler from the bogus one.
3053 # However, it has the same basename, so the bogon will be chosen
3054 # first if we set CC to just the basename; use the full file name.
3056 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3062 if test -n "$CC"; then
3063 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3064 $as_echo "$CC" >&6; }
3066 { $as_echo "$as_me:$LINENO: result: no" >&5
3067 $as_echo "no" >&6; }
3072 if test -z "$CC"; then
3073 if test -n "$ac_tool_prefix"; then
3074 for ac_prog
in cl.exe
3076 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3077 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3078 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3079 $as_echo_n "checking for $ac_word... " >&6; }
3080 if test "${ac_cv_prog_CC+set}" = set; then
3081 $as_echo_n "(cached) " >&6
3083 if test -n "$CC"; then
3084 ac_cv_prog_CC
="$CC" # Let the user override the test.
3086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3090 test -z "$as_dir" && as_dir
=.
3091 for ac_exec_ext
in '' $ac_executable_extensions; do
3092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3093 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3094 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3104 if test -n "$CC"; then
3105 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3106 $as_echo "$CC" >&6; }
3108 { $as_echo "$as_me:$LINENO: result: no" >&5
3109 $as_echo "no" >&6; }
3113 test -n "$CC" && break
3116 if test -z "$CC"; then
3118 for ac_prog
in cl.exe
3120 # Extract the first word of "$ac_prog", so it can be a program name with args.
3121 set dummy
$ac_prog; ac_word
=$2
3122 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3123 $as_echo_n "checking for $ac_word... " >&6; }
3124 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3125 $as_echo_n "(cached) " >&6
3127 if test -n "$ac_ct_CC"; then
3128 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3134 test -z "$as_dir" && as_dir
=.
3135 for ac_exec_ext
in '' $ac_executable_extensions; do
3136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3137 ac_cv_prog_ac_ct_CC
="$ac_prog"
3138 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3147 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3148 if test -n "$ac_ct_CC"; then
3149 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3150 $as_echo "$ac_ct_CC" >&6; }
3152 { $as_echo "$as_me:$LINENO: result: no" >&5
3153 $as_echo "no" >&6; }
3157 test -n "$ac_ct_CC" && break
3160 if test "x$ac_ct_CC" = x
; then
3163 case $cross_compiling:$ac_tool_warned in
3165 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3166 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3167 ac_tool_warned
=yes ;;
3176 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3178 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3179 See \`config.log' for more details." >&5
3180 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3181 See \`config.log' for more details." >&2;}
3182 { (exit 1); exit 1; }; }; }
3184 # Provide some information about the compiler.
3185 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3188 { (ac_try
="$ac_compiler --version >&5"
3190 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3191 *) ac_try_echo=$ac_try;;
3193 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3194 $as_echo "$ac_try_echo") >&5
3195 (eval "$ac_compiler --version >&5") 2>&5
3197 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198 (exit $ac_status); }
3199 { (ac_try="$ac_compiler -v >&5"
3201 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3202 *) ac_try_echo
=$ac_try;;
3204 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3205 $as_echo "$ac_try_echo") >&5
3206 (eval "$ac_compiler -v >&5") 2>&5
3208 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209 (exit $ac_status); }
3210 { (ac_try
="$ac_compiler -V >&5"
3212 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3213 *) ac_try_echo=$ac_try;;
3215 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3216 $as_echo "$ac_try_echo") >&5
3217 (eval "$ac_compiler -V >&5") 2>&5
3219 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220 (exit $ac_status); }
3222 cat >conftest.$ac_ext <<_ACEOF
3225 cat confdefs.h >>conftest.$ac_ext
3226 cat >>conftest.$ac_ext <<_ACEOF
3227 /* end confdefs.h. */
3237 ac_clean_files_save=$ac_clean_files
3238 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3239 # Try to create an executable without -o first, disregard a.out.
3240 # It will help us diagnose broken compilers, and finding out an intuition
3242 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3243 $as_echo_n "checking for C compiler default output file name... " >&6; }
3244 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3246 # The possible output files:
3247 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3250 for ac_file in $ac_files
3253 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3254 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3259 if { (ac_try="$ac_link_default"
3261 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3262 *) ac_try_echo
=$ac_try;;
3264 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3265 $as_echo "$ac_try_echo") >&5
3266 (eval "$ac_link_default") 2>&5
3268 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269 (exit $ac_status); }; then
3270 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3271 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3272 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3273 # so that the user can short-circuit this test for compilers unknown to
3275 for ac_file
in $ac_files ''
3277 test -f "$ac_file" ||
continue
3279 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3282 # We found the default executable, but exeext='' is most
3286 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3288 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3290 # We set ac_cv_exeext here because the later test for it is not
3291 # safe: cross compilers may not add the suffix if given an `-o'
3292 # argument, so we may need to know it at that point already.
3293 # Even if this section looks crufty: it has the advantage of
3300 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3306 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3307 $as_echo "$ac_file" >&6; }
3308 if test -z "$ac_file"; then
3309 $as_echo "$as_me: failed program was:" >&5
3310 sed 's/^/| /' conftest.
$ac_ext >&5
3312 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3314 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3315 See \`config.log' for more details." >&5
3316 $as_echo "$as_me: error: C compiler cannot create executables
3317 See \`config.log' for more details." >&2;}
3318 { (exit 77); exit 77; }; }; }
3321 ac_exeext
=$ac_cv_exeext
3323 # Check that the compiler produces executables we can run. If not, either
3324 # the compiler is broken, or we cross compile.
3325 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3326 $as_echo_n "checking whether the C compiler works... " >&6; }
3327 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3328 # If not cross compiling, check that we can run a simple program.
3329 if test "$cross_compiling" != yes; then
3330 if { ac_try
='./$ac_file'
3331 { (case "(($ac_try" in
3332 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3335 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3336 $as_echo "$ac_try_echo") >&5
3337 (eval "$ac_try") 2>&5
3339 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3340 (exit $ac_status); }; }; then
3343 if test "$cross_compiling" = maybe; then
3346 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3348 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
3349 If you meant to cross compile
, use \
`--host'.
3350 See \`config.log
' for more details." >&5
3351 $as_echo "$as_me: error: cannot run C compiled programs.
3352 If you meant to cross compile, use \`--host'.
3353 See \
`config.log' for more details." >&2;}
3354 { (exit 1); exit 1; }; }; }
3358 { $as_echo "$as_me:$LINENO: result: yes" >&5
3359 $as_echo "yes" >&6; }
3361 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3362 ac_clean_files=$ac_clean_files_save
3363 # Check that the compiler produces executables we can run. If not, either
3364 # the compiler is broken, or we cross compile.
3365 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3366 $as_echo_n "checking whether we are cross compiling... " >&6; }
3367 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3368 $as_echo "$cross_compiling" >&6; }
3370 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3371 $as_echo_n "checking for suffix of executables... " >&6; }
3372 if { (ac_try="$ac_link"
3374 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3375 *) ac_try_echo
=$ac_try;;
3377 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3378 $as_echo "$ac_try_echo") >&5
3379 (eval "$ac_link") 2>&5
3381 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3382 (exit $ac_status); }; then
3383 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3384 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3385 # work properly (i.e., refer to `conftest.exe'), while it won't with
3387 for ac_file
in conftest.exe conftest conftest.
*; do
3388 test -f "$ac_file" ||
continue
3390 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3391 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3397 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3399 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3400 See \`config.log' for more details." >&5
3401 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3402 See \`config.log' for more details." >&2;}
3403 { (exit 1); exit 1; }; }; }
3406 rm -f conftest
$ac_cv_exeext
3407 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3408 $as_echo "$ac_cv_exeext" >&6; }
3410 rm -f conftest.
$ac_ext
3411 EXEEXT
=$ac_cv_exeext
3413 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3414 $as_echo_n "checking for suffix of object files... " >&6; }
3415 if test "${ac_cv_objext+set}" = set; then
3416 $as_echo_n "(cached) " >&6
3418 cat >conftest.
$ac_ext <<_ACEOF
3421 cat confdefs.h
>>conftest.
$ac_ext
3422 cat >>conftest.
$ac_ext <<_ACEOF
3423 /* end confdefs.h. */
3433 rm -f conftest.o conftest.obj
3434 if { (ac_try
="$ac_compile"
3436 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3437 *) ac_try_echo=$ac_try;;
3439 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3440 $as_echo "$ac_try_echo") >&5
3441 (eval "$ac_compile") 2>&5
3443 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444 (exit $ac_status); }; then
3445 for ac_file in conftest.o conftest.obj conftest.*; do
3446 test -f "$ac_file" || continue;
3448 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3449 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3454 $as_echo "$as_me: failed program was:" >&5
3455 sed 's/^/| /' conftest.$ac_ext >&5
3457 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3458 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3459 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3460 See \
`config.log' for more details." >&5
3461 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3462 See \`config.log
' for more details." >&2;}
3463 { (exit 1); exit 1; }; }; }
3466 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3468 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3469 $as_echo "$ac_cv_objext" >&6; }
3470 OBJEXT=$ac_cv_objext
3472 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3473 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3474 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3475 $as_echo_n "(cached) " >&6
3477 cat >conftest.$ac_ext <<_ACEOF
3480 cat confdefs.h >>conftest.$ac_ext
3481 cat >>conftest.$ac_ext <<_ACEOF
3482 /* end confdefs.h. */
3495 rm -f conftest.$ac_objext
3496 if { (ac_try="$ac_compile"
3498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3499 *) ac_try_echo=$ac_try;;
3501 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3502 $as_echo "$ac_try_echo") >&5
3503 (eval "$ac_compile") 2>conftest.er1
3505 grep -v '^
*+' conftest.er1 >conftest.err
3507 cat conftest.err >&5
3508 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3509 (exit $ac_status); } && {
3510 test -z "$ac_c_werror_flag" ||
3511 test ! -s conftest.err
3512 } && test -s conftest.$ac_objext; then
3515 $as_echo "$as_me: failed program was:" >&5
3516 sed 's
/^
/|
/' conftest.$ac_ext >&5
3521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3522 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3525 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3526 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3527 if test $ac_compiler_gnu = yes; then
3532 ac_test_CFLAGS=${CFLAGS+set}
3533 ac_save_CFLAGS=$CFLAGS
3534 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3535 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3536 if test "${ac_cv_prog_cc_g+set}" = set; then
3537 $as_echo_n "(cached) " >&6
3539 ac_save_c_werror_flag=$ac_c_werror_flag
3540 ac_c_werror_flag=yes
3543 cat >conftest.$ac_ext <<_ACEOF
3546 cat confdefs.h >>conftest.$ac_ext
3547 cat >>conftest.$ac_ext <<_ACEOF
3548 /* end confdefs.h. */
3558 rm -f conftest.$ac_objext
3559 if { (ac_try="$ac_compile"
3561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3562 *) ac_try_echo=$ac_try;;
3564 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3565 $as_echo "$ac_try_echo") >&5
3566 (eval "$ac_compile") 2>conftest.er1
3568 grep -v '^
*+' conftest.er1 >conftest.err
3570 cat conftest.err >&5
3571 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3572 (exit $ac_status); } && {
3573 test -z "$ac_c_werror_flag" ||
3574 test ! -s conftest.err
3575 } && test -s conftest.$ac_objext; then
3578 $as_echo "$as_me: failed program was:" >&5
3579 sed 's
/^
/|
/' conftest.$ac_ext >&5
3582 cat >conftest.$ac_ext <<_ACEOF
3585 cat confdefs.h >>conftest.$ac_ext
3586 cat >>conftest.$ac_ext <<_ACEOF
3587 /* end confdefs.h. */
3597 rm -f conftest.$ac_objext
3598 if { (ac_try="$ac_compile"
3600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3601 *) ac_try_echo=$ac_try;;
3603 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3604 $as_echo "$ac_try_echo") >&5
3605 (eval "$ac_compile") 2>conftest.er1
3607 grep -v '^
*+' conftest.er1 >conftest.err
3609 cat conftest.err >&5
3610 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611 (exit $ac_status); } && {
3612 test -z "$ac_c_werror_flag" ||
3613 test ! -s conftest.err
3614 } && test -s conftest.$ac_objext; then
3617 $as_echo "$as_me: failed program was:" >&5
3618 sed 's
/^
/|
/' conftest.$ac_ext >&5
3620 ac_c_werror_flag=$ac_save_c_werror_flag
3622 cat >conftest.$ac_ext <<_ACEOF
3625 cat confdefs.h >>conftest.$ac_ext
3626 cat >>conftest.$ac_ext <<_ACEOF
3627 /* end confdefs.h. */
3637 rm -f conftest.$ac_objext
3638 if { (ac_try="$ac_compile"
3640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3641 *) ac_try_echo=$ac_try;;
3643 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3644 $as_echo "$ac_try_echo") >&5
3645 (eval "$ac_compile") 2>conftest.er1
3647 grep -v '^
*+' conftest.er1 >conftest.err
3649 cat conftest.err >&5
3650 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3651 (exit $ac_status); } && {
3652 test -z "$ac_c_werror_flag" ||
3653 test ! -s conftest.err
3654 } && test -s conftest.$ac_objext; then
3657 $as_echo "$as_me: failed program was:" >&5
3658 sed 's
/^
/|
/' conftest.$ac_ext >&5
3663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3670 ac_c_werror_flag=$ac_save_c_werror_flag
3672 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3673 $as_echo "$ac_cv_prog_cc_g" >&6; }
3674 if test "$ac_test_CFLAGS" = set; then
3675 CFLAGS=$ac_save_CFLAGS
3676 elif test $ac_cv_prog_cc_g = yes; then
3677 if test "$GCC" = yes; then
3683 if test "$GCC" = yes; then
3689 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3690 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3691 if test "${ac_cv_prog_cc_c89+set}" = set; then
3692 $as_echo_n "(cached) " >&6
3694 ac_cv_prog_cc_c89=no
3696 cat >conftest.$ac_ext <<_ACEOF
3699 cat confdefs.h >>conftest.$ac_ext
3700 cat >>conftest.$ac_ext <<_ACEOF
3701 /* end confdefs.h. */
3704 #include <sys/types.h>
3705 #include <sys/stat.h>
3706 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3707 struct buf
{ int x
; };
3708 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3709 static char
*e
(p
, i
)
3715 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3720 s
= g
(p
, va_arg
(v
,int
));
3725 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3726 function prototypes and stuff
, but not
'\xHH' hex character constants.
3727 These don
't provoke an error unfortunately, instead are silently treated
3728 as 'x
'. The following induces an error, until -std is added to get
3729 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3730 array size at least. It's necessary to
write '\x00'==0 to get something
3731 that
's true only with -std. */
3732 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3734 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3735 inside strings and character constants. */
3737 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3739 int test (int i, double x);
3740 struct s1 {int (*f) (int a);};
3741 struct s2 {int (*f) (double a);};
3742 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3748 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3753 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3754 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3756 CC="$ac_save_CC $ac_arg"
3757 rm -f conftest.$ac_objext
3758 if { (ac_try="$ac_compile"
3760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3761 *) ac_try_echo=$ac_try;;
3763 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3764 $as_echo "$ac_try_echo") >&5
3765 (eval "$ac_compile") 2>conftest.er1
3767 grep -v '^
*+' conftest.er1 >conftest.err
3769 cat conftest.err >&5
3770 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3771 (exit $ac_status); } && {
3772 test -z "$ac_c_werror_flag" ||
3773 test ! -s conftest.err
3774 } && test -s conftest.$ac_objext; then
3775 ac_cv_prog_cc_c89=$ac_arg
3777 $as_echo "$as_me: failed program was:" >&5
3778 sed 's
/^
/|
/' conftest.$ac_ext >&5
3783 rm -f core conftest.err conftest.$ac_objext
3784 test "x$ac_cv_prog_cc_c89" != "xno" && break
3786 rm -f conftest.$ac_ext
3791 case "x$ac_cv_prog_cc_c89" in
3793 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3794 $as_echo "none needed" >&6; } ;;
3796 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3797 $as_echo "unsupported" >&6; } ;;
3799 CC="$CC $ac_cv_prog_cc_c89"
3800 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3801 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3806 ac_cpp='$CPP $CPPFLAGS'
3807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3808 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3810 DEPDIR="${am__leading_dot}deps"
3812 ac_config_commands="$ac_config_commands depfiles"
3815 am_make=${MAKE-make}
3816 cat > confinc << 'END
'
3821 # If we don't
find an include directive
, just comment out the code.
3822 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3823 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3827 # First try GNU make style include.
3828 echo "include confinc" > confmf
3829 # We grep out `Entering directory' and `Leaving directory'
3830 # messages which can occur if `w' ends up in MAKEFLAGS.
3831 # In particular we don't look at `^make:' because GNU make might
3832 # be invoked under some other name (usually "gmake"), in which
3833 # case it prints its new name instead of `make'.
3834 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3839 # Now try BSD make style include.
3840 if test "$am__include" = "#"; then
3841 echo '.include "confinc"' > confmf
3842 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3843 am__include
=.include
3850 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3851 $as_echo "$_am_result" >&6; }
3852 rm -f confinc confmf
3854 # Check whether --enable-dependency-tracking was given.
3855 if test "${enable_dependency_tracking+set}" = set; then
3856 enableval
=$enable_dependency_tracking;
3859 if test "x$enable_dependency_tracking" != xno
; then
3860 am_depcomp
="$ac_aux_dir/depcomp"
3863 if test "x$enable_dependency_tracking" != xno; then
3873 depcc
="$CC" am_compiler_list
=
3875 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3876 $as_echo_n "checking dependency style of $depcc... " >&6; }
3877 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3878 $as_echo_n "(cached) " >&6
3880 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3881 # We make a subdir and do the tests there. Otherwise we can end up
3882 # making bogus files that we don't know about and never remove. For
3883 # instance it was reported that on HP-UX the gcc test will end up
3884 # making a dummy file named `D' -- because `-MD' means `put the output
3887 # Copy depcomp to subdir because otherwise we won't find it if we're
3888 # using a relative directory.
3889 cp "$am_depcomp" conftest.dir
3891 # We will build objects and dependencies in a subdirectory because
3892 # it helps to detect inapplicable dependency modes. For instance
3893 # both Tru64's cc and ICC support -MD to output dependencies as a
3894 # side effect of compilation, but ICC will put the dependencies in
3895 # the current directory while Tru64 will put them in the object
3899 am_cv_CC_dependencies_compiler_type
=none
3900 if test "$am_compiler_list" = ""; then
3901 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3903 for depmode
in $am_compiler_list; do
3904 # Setup a source with many dependencies, because some compilers
3905 # like to wrap large dependency lists on column 80 (with \), and
3906 # we should not choose a depcomp mode which is confused by this.
3908 # We need to recreate these files for each test, as the compiler may
3909 # overwrite some of them when testing with obscure command lines.
3910 # This happens at least with the AIX C compiler.
3912 for i
in 1 2 3 4 5 6; do
3913 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3914 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3915 # Solaris 8's {/usr,}/bin/sh.
3916 touch sub
/conftst
$i.h
3918 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3922 # after this tag, mechanisms are not by side-effect, so they'll
3923 # only be used when explicitly requested
3924 if test "x$enable_dependency_tracking" = xyes
; then
3932 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3933 # mode. It turns out that the SunPro C++ compiler does not properly
3934 # handle `-M -o', and we need to detect this.
3935 if depmode
=$depmode \
3936 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3937 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3938 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3939 >/dev
/null
2>conftest.err
&&
3940 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3941 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3942 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3943 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3944 # icc doesn't choke on unknown options, it will just issue warnings
3945 # or remarks (even with -Werror). So we grep stderr for any message
3946 # that says an option was ignored or not supported.
3947 # When given -MP, icc 7.0 and 7.1 complain thusly:
3948 # icc: Command line warning: ignoring option '-M'; no argument required
3949 # The diagnosis changed in icc 8.0:
3950 # icc: Command line remark: option '-MP' not supported
3951 if (grep 'ignoring option' conftest.err ||
3952 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3953 am_cv_CC_dependencies_compiler_type
=$depmode
3962 am_cv_CC_dependencies_compiler_type
=none
3966 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3967 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3968 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3971 test "x$enable_dependency_tracking" != xno \
3972 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3974 am__fastdepCC_FALSE
='#'
3976 am__fastdepCC_TRUE
='#'
3977 am__fastdepCC_FALSE
=
3982 ac_cpp
='$CPP $CPPFLAGS'
3983 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3984 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3985 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3986 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3987 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3988 # On Suns, sometimes $CPP names a directory.
3989 if test -n "$CPP" && test -d "$CPP"; then
3992 if test -z "$CPP"; then
3993 if test "${ac_cv_prog_CPP+set}" = set; then
3994 $as_echo_n "(cached) " >&6
3996 # Double quotes because CPP needs to be expanded
3997 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4000 for ac_c_preproc_warn_flag
in '' yes
4002 # Use a header file that comes with gcc, so configuring glibc
4003 # with a fresh cross-compiler works.
4004 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4005 # <limits.h> exists even on freestanding compilers.
4006 # On the NeXT, cc -E runs the code through the compiler's parser,
4007 # not just through cpp. "Syntax error" is here to catch this case.
4008 cat >conftest.
$ac_ext <<_ACEOF
4011 cat confdefs.h
>>conftest.
$ac_ext
4012 cat >>conftest.
$ac_ext <<_ACEOF
4013 /* end confdefs.h. */
4015 # include <limits.h>
4017 # include <assert.h>
4021 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4023 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4024 *) ac_try_echo=$ac_try;;
4026 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4027 $as_echo "$ac_try_echo") >&5
4028 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4030 grep -v '^ *+' conftest.er1 >conftest.err
4032 cat conftest.err >&5
4033 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4034 (exit $ac_status); } >/dev/null && {
4035 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4036 test ! -s conftest.err
4040 $as_echo "$as_me: failed program was:" >&5
4041 sed 's/^/| /' conftest.$ac_ext >&5
4043 # Broken: fails on valid input.
4047 rm -f conftest.err conftest.$ac_ext
4049 # OK, works on sane cases. Now check whether nonexistent headers
4050 # can be detected and how.
4051 cat >conftest.$ac_ext <<_ACEOF
4054 cat confdefs.h >>conftest.$ac_ext
4055 cat >>conftest.$ac_ext <<_ACEOF
4056 /* end confdefs.h. */
4057 #include <ac_nonexistent.h>
4059 if { (ac_try="$ac_cpp conftest.$ac_ext"
4061 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4062 *) ac_try_echo
=$ac_try;;
4064 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4065 $as_echo "$ac_try_echo") >&5
4066 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4068 grep -v '^ *+' conftest.er1
>conftest.err
4070 cat conftest.err
>&5
4071 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4072 (exit $ac_status); } >/dev
/null
&& {
4073 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4074 test ! -s conftest.err
4076 # Broken: success on invalid input.
4079 $as_echo "$as_me: failed program was:" >&5
4080 sed 's/^/| /' conftest.
$ac_ext >&5
4082 # Passes both tests.
4087 rm -f conftest.err conftest.
$ac_ext
4090 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4091 rm -f conftest.err conftest.
$ac_ext
4092 if $ac_preproc_ok; then
4104 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4105 $as_echo "$CPP" >&6; }
4107 for ac_c_preproc_warn_flag
in '' yes
4109 # Use a header file that comes with gcc, so configuring glibc
4110 # with a fresh cross-compiler works.
4111 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4112 # <limits.h> exists even on freestanding compilers.
4113 # On the NeXT, cc -E runs the code through the compiler's parser,
4114 # not just through cpp. "Syntax error" is here to catch this case.
4115 cat >conftest.
$ac_ext <<_ACEOF
4118 cat confdefs.h
>>conftest.
$ac_ext
4119 cat >>conftest.
$ac_ext <<_ACEOF
4120 /* end confdefs.h. */
4122 # include <limits.h>
4124 # include <assert.h>
4128 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4130 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4131 *) ac_try_echo=$ac_try;;
4133 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4134 $as_echo "$ac_try_echo") >&5
4135 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4137 grep -v '^ *+' conftest.er1 >conftest.err
4139 cat conftest.err >&5
4140 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4141 (exit $ac_status); } >/dev/null && {
4142 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4143 test ! -s conftest.err
4147 $as_echo "$as_me: failed program was:" >&5
4148 sed 's/^/| /' conftest.$ac_ext >&5
4150 # Broken: fails on valid input.
4154 rm -f conftest.err conftest.$ac_ext
4156 # OK, works on sane cases. Now check whether nonexistent headers
4157 # can be detected and how.
4158 cat >conftest.$ac_ext <<_ACEOF
4161 cat confdefs.h >>conftest.$ac_ext
4162 cat >>conftest.$ac_ext <<_ACEOF
4163 /* end confdefs.h. */
4164 #include <ac_nonexistent.h>
4166 if { (ac_try="$ac_cpp conftest.$ac_ext"
4168 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4169 *) ac_try_echo
=$ac_try;;
4171 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4172 $as_echo "$ac_try_echo") >&5
4173 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4175 grep -v '^ *+' conftest.er1
>conftest.err
4177 cat conftest.err
>&5
4178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179 (exit $ac_status); } >/dev
/null
&& {
4180 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4181 test ! -s conftest.err
4183 # Broken: success on invalid input.
4186 $as_echo "$as_me: failed program was:" >&5
4187 sed 's/^/| /' conftest.
$ac_ext >&5
4189 # Passes both tests.
4194 rm -f conftest.err conftest.
$ac_ext
4197 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4198 rm -f conftest.err conftest.
$ac_ext
4199 if $ac_preproc_ok; then
4202 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4204 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4205 See \`config.log' for more details." >&5
4206 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4207 See \`config.log' for more details." >&2;}
4208 { (exit 1); exit 1; }; }; }
4212 ac_cpp
='$CPP $CPPFLAGS'
4213 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4214 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4215 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4217 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4218 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4219 if test "${ac_cv_path_GREP+set}" = set; then
4220 $as_echo_n "(cached) " >&6
4222 if test -z "$GREP"; then
4223 ac_path_GREP_found
=false
4224 # Loop through the user's path and test for each of PROGNAME-LIST
4225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4226 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4229 test -z "$as_dir" && as_dir
=.
4230 for ac_prog
in grep ggrep
; do
4231 for ac_exec_ext
in '' $ac_executable_extensions; do
4232 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4233 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4234 # Check for GNU ac_path_GREP and select it if it is found.
4235 # Check for GNU $ac_path_GREP
4236 case `"$ac_path_GREP" --version 2>&1` in
4238 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4241 $as_echo_n 0123456789 >"conftest.in"
4244 cat "conftest.in" "conftest.in" >"conftest.tmp"
4245 mv "conftest.tmp" "conftest.in"
4246 cp "conftest.in" "conftest.nl"
4247 $as_echo 'GREP' >> "conftest.nl"
4248 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4249 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4250 ac_count
=`expr $ac_count + 1`
4251 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4252 # Best one so far, save it but keep looking for a better one
4253 ac_cv_path_GREP
="$ac_path_GREP"
4254 ac_path_GREP_max
=$ac_count
4256 # 10*(2^10) chars as input seems more than enough
4257 test $ac_count -gt 10 && break
4259 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4262 $ac_path_GREP_found && break 3
4267 if test -z "$ac_cv_path_GREP"; then
4268 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4269 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4270 { (exit 1); exit 1; }; }
4273 ac_cv_path_GREP
=$GREP
4277 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4278 $as_echo "$ac_cv_path_GREP" >&6; }
4279 GREP
="$ac_cv_path_GREP"
4282 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4283 $as_echo_n "checking for egrep... " >&6; }
4284 if test "${ac_cv_path_EGREP+set}" = set; then
4285 $as_echo_n "(cached) " >&6
4287 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4288 then ac_cv_path_EGREP
="$GREP -E"
4290 if test -z "$EGREP"; then
4291 ac_path_EGREP_found
=false
4292 # Loop through the user's path and test for each of PROGNAME-LIST
4293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4294 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4297 test -z "$as_dir" && as_dir
=.
4298 for ac_prog
in egrep; do
4299 for ac_exec_ext
in '' $ac_executable_extensions; do
4300 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4301 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4302 # Check for GNU ac_path_EGREP and select it if it is found.
4303 # Check for GNU $ac_path_EGREP
4304 case `"$ac_path_EGREP" --version 2>&1` in
4306 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4309 $as_echo_n 0123456789 >"conftest.in"
4312 cat "conftest.in" "conftest.in" >"conftest.tmp"
4313 mv "conftest.tmp" "conftest.in"
4314 cp "conftest.in" "conftest.nl"
4315 $as_echo 'EGREP' >> "conftest.nl"
4316 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4317 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4318 ac_count
=`expr $ac_count + 1`
4319 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4320 # Best one so far, save it but keep looking for a better one
4321 ac_cv_path_EGREP
="$ac_path_EGREP"
4322 ac_path_EGREP_max
=$ac_count
4324 # 10*(2^10) chars as input seems more than enough
4325 test $ac_count -gt 10 && break
4327 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4330 $ac_path_EGREP_found && break 3
4335 if test -z "$ac_cv_path_EGREP"; then
4336 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4337 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4338 { (exit 1); exit 1; }; }
4341 ac_cv_path_EGREP
=$EGREP
4346 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4347 $as_echo "$ac_cv_path_EGREP" >&6; }
4348 EGREP
="$ac_cv_path_EGREP"
4351 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4352 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4353 if test "${ac_cv_path_SED+set}" = set; then
4354 $as_echo_n "(cached) " >&6
4356 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4357 for ac_i
in 1 2 3 4 5 6 7; do
4358 ac_script
="$ac_script$as_nl$ac_script"
4360 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4361 $as_unset ac_script || ac_script
=
4362 if test -z "$SED"; then
4363 ac_path_SED_found
=false
4364 # Loop through the user's path and test for each of PROGNAME-LIST
4365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4369 test -z "$as_dir" && as_dir
=.
4370 for ac_prog
in sed gsed
; do
4371 for ac_exec_ext
in '' $ac_executable_extensions; do
4372 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4373 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4374 # Check for GNU ac_path_SED and select it if it is found.
4375 # Check for GNU $ac_path_SED
4376 case `"$ac_path_SED" --version 2>&1` in
4378 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4381 $as_echo_n 0123456789 >"conftest.in"
4384 cat "conftest.in" "conftest.in" >"conftest.tmp"
4385 mv "conftest.tmp" "conftest.in"
4386 cp "conftest.in" "conftest.nl"
4387 $as_echo '' >> "conftest.nl"
4388 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4389 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4390 ac_count
=`expr $ac_count + 1`
4391 if test $ac_count -gt ${ac_path_SED_max-0}; then
4392 # Best one so far, save it but keep looking for a better one
4393 ac_cv_path_SED
="$ac_path_SED"
4394 ac_path_SED_max
=$ac_count
4396 # 10*(2^10) chars as input seems more than enough
4397 test $ac_count -gt 10 && break
4399 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4402 $ac_path_SED_found && break 3
4407 if test -z "$ac_cv_path_SED"; then
4408 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
4409 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
4410 { (exit 1); exit 1; }; }
4417 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4418 $as_echo "$ac_cv_path_SED" >&6; }
4419 SED
="$ac_cv_path_SED"
4423 ac_cpp
='$CPP $CPPFLAGS'
4424 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4425 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4426 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4429 if test -z "$GMP_CFLAGS" -a -z "$user_redefine_cc" ; then
4430 { $as_echo "$as_me:$LINENO: checking for CC and CFLAGS in gmp.h" >&5
4431 $as_echo_n "checking for CC and CFLAGS in gmp.h... " >&6; }
4432 # FIXME: Move this in aclocal ?
4434 echo "#include \"gmp.h\"" > conftest.c
4435 echo "MPFR_OPTION __GMP_CC" >> conftest.c
4436 GMP_CC
="`$CPP $CPPFLAGS conftest.c 2> /dev/null | $EGREP MPFR_OPTION | $SED -e 's/MPFR_OPTION //g' | $SED -e 's/"//g
'`"
4438 echo "#include \"gmp.h\"" > conftest.c
4439 echo "MPFR_OPTION __GMP_CFLAGS" >> conftest.c
4440 GMP_CFLAGS="`$CPP $CPPFLAGS conftest.c 2> /dev/null | $EGREP MPFR_OPTION | $SED -e 's
/MPFR_OPTION
//g
'| $SED -e 's
/"//g'`"
4442 if test "x$GMP_CFLAGS" = "x__GMP_CFLAGS" -o "x$GMP_CC" = "x__GMP_CC" ; then
4443 { $as_echo "$as_me:$LINENO: result: no" >&5
4444 $as_echo "no" >&6; }
4448 { $as_echo "$as_me:$LINENO: result: yes CC=$GMP_CC CFLAGS=$GMP_CFLAGS" >&5
4449 $as_echo "yes CC=$GMP_CC CFLAGS=$GMP_CFLAGS" >&6; }
4453 if test -n "$GMP_CFLAGS" && test -z "$user_redefine_cc" ; then
4458 { $as_echo "$as_me:$LINENO: checking for CC=$GMP_CC and CFLAGS=$GMP_CFLAGS" >&5
4459 $as_echo_n "checking for CC=$GMP_CC and CFLAGS=$GMP_CFLAGS... " >&6; }
4461 if test "$cross_compiling" = yes; then
4463 { $as_echo "$as_me:$LINENO: result: can't test" >&5
4464 $as_echo "can't test" >&6; }
4469 cat >conftest.
$ac_ext <<_ACEOF
4472 cat confdefs.h
>>conftest.
$ac_ext
4473 cat >>conftest.
$ac_ext <<_ACEOF
4474 /* end confdefs.h. */
4484 rm -f conftest
$ac_exeext
4485 if { (ac_try
="$ac_link"
4487 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4488 *) ac_try_echo=$ac_try;;
4490 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4491 $as_echo "$ac_try_echo") >&5
4492 (eval "$ac_link") 2>&5
4494 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4495 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4496 { (case "(($ac_try" in
4497 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4498 *) ac_try_echo
=$ac_try;;
4500 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4501 $as_echo "$ac_try_echo") >&5
4502 (eval "$ac_try") 2>&5
4504 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4505 (exit $ac_status); }; }; then
4507 { $as_echo "$as_me:$LINENO: result: yes" >&5
4508 $as_echo "yes" >&6; }
4511 $as_echo "$as_me: program exited with status $ac_status" >&5
4512 $as_echo "$as_me: failed program was:" >&5
4513 sed 's/^/| /' conftest.
$ac_ext >&5
4517 { $as_echo "$as_me:$LINENO: result: no" >&5
4518 $as_echo "no" >&6; }
4523 rm -rf conftest.dSYM
4524 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4529 cat >conftest.
$ac_ext <<_ACEOF
4532 cat confdefs.h
>>conftest.
$ac_ext
4533 cat >>conftest.
$ac_ext <<_ACEOF
4534 /* end confdefs.h. */
4537 # error "GCC Not Found"
4549 rm -f conftest.
$ac_objext
4550 if { (ac_try
="$ac_compile"
4552 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4553 *) ac_try_echo=$ac_try;;
4555 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4556 $as_echo "$ac_try_echo") >&5
4557 (eval "$ac_compile") 2>conftest.er1
4559 grep -v '^ *+' conftest.er1 >conftest.err
4561 cat conftest.err >&5
4562 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4563 (exit $ac_status); } && {
4564 test -z "$ac_c_werror_flag" ||
4565 test ! -s conftest.err
4566 } && test -s conftest.$ac_objext; then
4571 $as_echo "$as_me: failed program was:" >&5
4572 sed 's/^/| /' conftest.$ac_ext >&5
4577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4580 # Check whether --enable-decimal-float was given.
4581 if test "${enable_decimal_float+set}" = set; then
4582 enableval=$enable_decimal_float; case $enableval in
4584 cat >>confdefs.h <<\_ACEOF
4585 #define MPFR_WANT_DECIMAL_FLOATS 1
4588 { $as_echo "$as_me:$LINENO: checking if compiler knows _Decimal64" >&5
4589 $as_echo_n "checking if compiler knows _Decimal64... " >&6; }
4590 cat >conftest.$ac_ext <<_ACEOF
4593 cat confdefs.h >>conftest.$ac_ext
4594 cat >>conftest.$ac_ext <<_ACEOF
4595 /* end confdefs.h. */
4605 rm -f conftest.$ac_objext
4606 if { (ac_try="$ac_compile"
4608 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4609 *) ac_try_echo
=$ac_try;;
4611 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4612 $as_echo "$ac_try_echo") >&5
4613 (eval "$ac_compile") 2>conftest.er1
4615 grep -v '^ *+' conftest.er1
>conftest.err
4617 cat conftest.err
>&5
4618 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4619 (exit $ac_status); } && {
4620 test -z "$ac_c_werror_flag" ||
4621 test ! -s conftest.err
4622 } && test -s conftest.
$ac_objext; then
4623 { $as_echo "$as_me:$LINENO: result: yes" >&5
4624 $as_echo "yes" >&6; }
4625 if test "$use_gmp_build" != yes ; then
4626 { { $as_echo "$as_me:$LINENO: error: decimal float support requires --with-gmp-build" >&5
4627 $as_echo "$as_me: error: decimal float support requires --with-gmp-build" >&2;}
4628 { (exit 1); exit 1; }; }
4630 { $as_echo "$as_me:$LINENO: checking if _GMP_IEEE_FLOATS is defined" >&5
4631 $as_echo_n "checking if _GMP_IEEE_FLOATS is defined... " >&6; }
4632 cat >conftest.
$ac_ext <<_ACEOF
4635 cat confdefs.h
>>conftest.
$ac_ext
4636 cat >>conftest.
$ac_ext <<_ACEOF
4637 /* end confdefs.h. */
4640 #include "gmp-impl.h"
4641 #ifndef _GMP_IEEE_FLOATS
4642 #error "_GMP_IEEE_FLOATS is not defined"
4645 rm -f conftest.
$ac_objext
4646 if { (ac_try
="$ac_compile"
4648 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4649 *) ac_try_echo=$ac_try;;
4651 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4652 $as_echo "$ac_try_echo") >&5
4653 (eval "$ac_compile") 2>conftest.er1
4655 grep -v '^ *+' conftest.er1 >conftest.err
4657 cat conftest.err >&5
4658 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); } && {
4660 test -z "$ac_c_werror_flag" ||
4661 test ! -s conftest.err
4662 } && test -s conftest.$ac_objext; then
4663 { $as_echo "$as_me:$LINENO: result: yes" >&5
4664 $as_echo "yes" >&6; }
4666 $as_echo "$as_me: failed program was:" >&5
4667 sed 's/^/| /' conftest.$ac_ext >&5
4669 { $as_echo "$as_me:$LINENO: result: no" >&5
4670 $as_echo "no" >&6; }
4671 { { $as_echo "$as_me:$LINENO: error: decimal float support requires _GMP_IEEE_FLOATS" >&5
4672 $as_echo "$as_me: error: decimal float support requires _GMP_IEEE_FLOATS" >&2;}
4673 { (exit 1); exit 1; }; }
4676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4679 $as_echo "$as_me: failed program was:" >&5
4680 sed 's/^/| /' conftest.$ac_ext >&5
4682 { { $as_echo "$as_me:$LINENO: error: Compiler doesn't know _Decimal64; try GCC >= 4.2, configured with --enable-decimal-float
4684 $as_echo "$as_me: error: Compiler doesn't know _Decimal64; try GCC >= 4.2, configured with --enable-decimal-float
4686 { (exit 1); exit 1; }; }
4689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4690 { $as_echo "$as_me:$LINENO: checking decimal float format" >&5
4691 $as_echo_n "checking decimal float format... " >&6; }
4692 if test "$cross_compiling" = yes; then
4693 { $as_echo "$as_me:$LINENO: result: assuming DPD" >&5
4694 $as_echo "assuming DPD" >&6; }
4695 cat >>confdefs.h <<\_ACEOF
4696 #define DPD_FORMAT 1
4700 cat >conftest.$ac_ext <<_ACEOF
4703 cat confdefs.h >>conftest.$ac_ext
4704 cat >>conftest.$ac_ext <<_ACEOF
4705 /* end confdefs.h. */
4713 union { double d; _Decimal64 d64; } y;
4714 y.d64 = 1234567890123456.0dd;
4715 return y.d == 0.14894469406741037E-123 ? 0 :
4716 y.d == 0.59075095508629822E-68 ? 1 : 2;
4722 rm -f conftest$ac_exeext
4723 if { (ac_try="$ac_link"
4725 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4726 *) ac_try_echo
=$ac_try;;
4728 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4729 $as_echo "$ac_try_echo") >&5
4730 (eval "$ac_link") 2>&5
4732 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4734 { (case "(($ac_try" in
4735 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4736 *) ac_try_echo=$ac_try;;
4738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4739 $as_echo "$ac_try_echo") >&5
4740 (eval "$ac_try") 2>&5
4742 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4743 (exit $ac_status); }; }; then
4744 { $as_echo "$as_me:$LINENO: result: DPD" >&5
4745 $as_echo "DPD" >&6; }
4746 cat >>confdefs.h <<\_ACEOF
4747 #define DPD_FORMAT 1
4751 $as_echo "$as_me: program exited with status $ac_status" >&5
4752 $as_echo "$as_me: failed program was:" >&5
4753 sed 's/^/| /' conftest.$ac_ext >&5
4756 if test "$?" != 1 ; then
4757 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4758 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4759 { { $as_echo "$as_me:$LINENO: error
: neither DPD nor BID
4760 See \
`config.log' for more details." >&5
4761 $as_echo "$as_me: error: neither DPD nor BID
4762 See \`config.log
' for more details." >&2;}
4763 { (exit 1); exit 1; }; }; }
4765 { $as_echo "$as_me:$LINENO: result: BID" >&5
4766 $as_echo "BID" >&6; }
4768 rm -rf conftest.dSYM
4769 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4775 *) { { $as_echo "$as_me:$LINENO: error: bad value for --enable-decimal-float: yes or no" >&5
4776 $as_echo "$as_me: error: bad value for --enable-decimal-float: yes or no" >&2;}
4777 { (exit 1); exit 1; }; } ;;
4782 { $as_echo "$as_me:$LINENO: checking for ICC" >&5
4783 $as_echo_n "checking for ICC... " >&6; }
4784 cat >conftest.$ac_ext <<_ACEOF
4787 cat confdefs.h >>conftest.$ac_ext
4788 cat >>conftest.$ac_ext <<_ACEOF
4789 /* end confdefs.h. */
4792 # error "ICC Not Found"
4804 rm -f conftest.$ac_objext
4805 if { (ac_try="$ac_compile"
4807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4808 *) ac_try_echo=$ac_try;;
4810 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4811 $as_echo "$ac_try_echo") >&5
4812 (eval "$ac_compile") 2>conftest.er1
4814 grep -v '^
*+' conftest.er1 >conftest.err
4816 cat conftest.err >&5
4817 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4818 (exit $ac_status); } && {
4819 test -z "$ac_c_werror_flag" ||
4820 test ! -s conftest.err
4821 } && test -s conftest.$ac_objext; then
4823 { $as_echo "$as_me:$LINENO: result: yes" >&5
4824 $as_echo "yes" >&6; }
4825 CFLAGS="-fp_port -mp -wd1572 -wd265 -wd186 -wd239 $CFLAGS"
4828 $as_echo "$as_me: failed program was:" >&5
4829 sed 's
/^
/|
/' conftest.$ac_ext >&5
4831 { $as_echo "$as_me:$LINENO: result: no" >&5
4832 $as_echo "no" >&6; }
4835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4837 if test "$test_CFLAGS" != set && test -n "$GCC"; then
4838 CFLAGS="-Wall -Wmissing-prototypes -Wpointer-arith $CFLAGS"
4839 if test -n "$disable_gcc_format_warning" ; then
4840 CFLAGS="$CFLAGS -Wno-format"
4844 if test "x$CC" != xcc; then
4845 { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
4846 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4848 { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
4849 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4851 set dummy $CC; ac_cc=`$as_echo "$2" |
4852 sed 's
/[^a-zA-Z0-9_
]/_
/g
;s
/^
[0-9]/_
/'`
4853 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
4854 $as_echo_n "(cached) " >&6
4856 cat >conftest.$ac_ext <<_ACEOF
4859 cat confdefs.h >>conftest.$ac_ext
4860 cat >>conftest.$ac_ext <<_ACEOF
4861 /* end confdefs.h. */
4871 # Make sure it works both with $CC and with simple cc.
4872 # We do the test twice because some compilers refuse to overwrite an
4873 # existing .o file with -o, though they will create one.
4874 ac_try='$CC -c conftest.
$ac_ext -o conftest2.
$ac_objext >&5'
4876 if { (case "(($ac_try" in
4877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4878 *) ac_try_echo=$ac_try;;
4880 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4881 $as_echo "$ac_try_echo") >&5
4882 (eval "$ac_try") 2>&5
4884 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4885 (exit $ac_status); } &&
4886 test -f conftest2.$ac_objext && { (case "(($ac_try" in
4887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4888 *) ac_try_echo=$ac_try;;
4890 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4891 $as_echo "$ac_try_echo") >&5
4892 (eval "$ac_try") 2>&5
4894 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895 (exit $ac_status); };
4897 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4898 if test "x$CC" != xcc; then
4899 # Test first that cc exists at all.
4900 if { ac_try='cc
-c conftest.
$ac_ext >&5'
4901 { (case "(($ac_try" in
4902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4903 *) ac_try_echo=$ac_try;;
4905 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4906 $as_echo "$ac_try_echo") >&5
4907 (eval "$ac_try") 2>&5
4909 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4910 (exit $ac_status); }; }; then
4911 ac_try='cc
-c conftest.
$ac_ext -o conftest2.
$ac_objext >&5'
4913 if { (case "(($ac_try" in
4914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4915 *) ac_try_echo=$ac_try;;
4917 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4918 $as_echo "$ac_try_echo") >&5
4919 (eval "$ac_try") 2>&5
4921 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4922 (exit $ac_status); } &&
4923 test -f conftest2.$ac_objext && { (case "(($ac_try" in
4924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4925 *) ac_try_echo=$ac_try;;
4927 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4928 $as_echo "$ac_try_echo") >&5
4929 (eval "$ac_try") 2>&5
4931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932 (exit $ac_status); };
4937 # cc exists but doesn't like
-o.
4938 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
4943 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
4945 rm -f core conftest
*
4948 if eval test \
$ac_cv_prog_cc_${ac_cc}_c_o
= yes; then
4949 { $as_echo "$as_me:$LINENO: result: yes" >&5
4950 $as_echo "yes" >&6; }
4952 { $as_echo "$as_me:$LINENO: result: no" >&5
4953 $as_echo "no" >&6; }
4955 cat >>confdefs.h
<<\_ACEOF
4956 #define NO_MINUS_C_MINUS_O 1
4961 # FIXME: we rely on the cache variable name because
4962 # there is no other way.
4964 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4965 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
4966 # Losing compiler, so override with the script.
4967 # FIXME: It is wrong to rewrite CC.
4968 # But if we don't then we get into trouble of one sort or another.
4969 # A longer-term fix would be to have automake use am__CC in this case,
4970 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4971 CC
="$am_aux_dir/compile $CC"
4975 { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5
4976 $as_echo_n "checking for function prototypes... " >&6; }
4977 if test "$ac_cv_prog_cc_c89" != no
; then
4978 { $as_echo "$as_me:$LINENO: result: yes" >&5
4979 $as_echo "yes" >&6; }
4981 cat >>confdefs.h
<<\_ACEOF
4982 #define PROTOTYPES 1
4986 cat >>confdefs.h
<<\_ACEOF
4987 #define __PROTOTYPES 1
4991 { $as_echo "$as_me:$LINENO: result: no" >&5
4992 $as_echo "no" >&6; }
4996 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4997 $as_echo_n "checking for ANSI C header files... " >&6; }
4998 if test "${ac_cv_header_stdc+set}" = set; then
4999 $as_echo_n "(cached) " >&6
5001 cat >conftest.
$ac_ext <<_ACEOF
5004 cat confdefs.h
>>conftest.
$ac_ext
5005 cat >>conftest.
$ac_ext <<_ACEOF
5006 /* end confdefs.h. */
5020 rm -f conftest.
$ac_objext
5021 if { (ac_try
="$ac_compile"
5023 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5024 *) ac_try_echo=$ac_try;;
5026 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5027 $as_echo "$ac_try_echo") >&5
5028 (eval "$ac_compile") 2>conftest.er1
5030 grep -v '^ *+' conftest.er1 >conftest.err
5032 cat conftest.err >&5
5033 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5034 (exit $ac_status); } && {
5035 test -z "$ac_c_werror_flag" ||
5036 test ! -s conftest.err
5037 } && test -s conftest.$ac_objext; then
5038 ac_cv_header_stdc=yes
5040 $as_echo "$as_me: failed program was:" >&5
5041 sed 's/^/| /' conftest.$ac_ext >&5
5043 ac_cv_header_stdc=no
5046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5048 if test $ac_cv_header_stdc = yes; then
5049 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5050 cat >conftest.$ac_ext <<_ACEOF
5053 cat confdefs.h >>conftest.$ac_ext
5054 cat >>conftest.$ac_ext <<_ACEOF
5055 /* end confdefs.h. */
5059 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5060 $EGREP "memchr" >/dev/null 2>&1; then
5063 ac_cv_header_stdc=no
5069 if test $ac_cv_header_stdc = yes; then
5070 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5071 cat >conftest.$ac_ext <<_ACEOF
5074 cat confdefs.h >>conftest.$ac_ext
5075 cat >>conftest.$ac_ext <<_ACEOF
5076 /* end confdefs.h. */
5080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5081 $EGREP "free" >/dev/null 2>&1; then
5084 ac_cv_header_stdc=no
5090 if test $ac_cv_header_stdc = yes; then
5091 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5092 if test "$cross_compiling" = yes; then
5095 cat >conftest.$ac_ext <<_ACEOF
5098 cat confdefs.h >>conftest.$ac_ext
5099 cat >>conftest.$ac_ext <<_ACEOF
5100 /* end confdefs.h. */
5103 #if ((' ' & 0x0FF) == 0x020)
5104 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5105 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5107 # define ISLOWER(c) \
5108 (('a' <= (c) && (c) <= 'i') \
5109 || ('j' <= (c) && (c) <= 'r') \
5110 || ('s' <= (c) && (c) <= 'z'))
5111 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5114 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5119 for (i = 0; i < 256; i++)
5120 if (XOR (islower (i), ISLOWER (i))
5121 || toupper (i) != TOUPPER (i))
5126 rm -f conftest$ac_exeext
5127 if { (ac_try="$ac_link"
5129 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5130 *) ac_try_echo
=$ac_try;;
5132 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5133 $as_echo "$ac_try_echo") >&5
5134 (eval "$ac_link") 2>&5
5136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5138 { (case "(($ac_try" in
5139 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5140 *) ac_try_echo=$ac_try;;
5142 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5143 $as_echo "$ac_try_echo") >&5
5144 (eval "$ac_try") 2>&5
5146 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5147 (exit $ac_status); }; }; then
5150 $as_echo "$as_me: program exited with status $ac_status" >&5
5151 $as_echo "$as_me: failed program was:" >&5
5152 sed 's/^/| /' conftest.$ac_ext >&5
5155 ac_cv_header_stdc=no
5157 rm -rf conftest.dSYM
5158 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5164 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5165 $as_echo "$ac_cv_header_stdc" >&6; }
5166 if test $ac_cv_header_stdc = yes; then
5168 cat >>confdefs.h <<\_ACEOF
5169 #define STDC_HEADERS 1
5174 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5184 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5185 inttypes.h stdint.h unistd.h
5187 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5188 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5189 $as_echo_n "checking for $ac_header... " >&6; }
5190 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5191 $as_echo_n "(cached) " >&6
5193 cat >conftest.$ac_ext <<_ACEOF
5196 cat confdefs.h >>conftest.$ac_ext
5197 cat >>conftest.$ac_ext <<_ACEOF
5198 /* end confdefs.h. */
5199 $ac_includes_default
5201 #include <$ac_header>
5203 rm -f conftest.$ac_objext
5204 if { (ac_try="$ac_compile"
5206 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5207 *) ac_try_echo
=$ac_try;;
5209 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5210 $as_echo "$ac_try_echo") >&5
5211 (eval "$ac_compile") 2>conftest.er1
5213 grep -v '^ *+' conftest.er1
>conftest.err
5215 cat conftest.err
>&5
5216 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5217 (exit $ac_status); } && {
5218 test -z "$ac_c_werror_flag" ||
5219 test ! -s conftest.err
5220 } && test -s conftest.
$ac_objext; then
5221 eval "$as_ac_Header=yes"
5223 $as_echo "$as_me: failed program was:" >&5
5224 sed 's/^/| /' conftest.
$ac_ext >&5
5226 eval "$as_ac_Header=no"
5229 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5231 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5232 $as_echo "$as_val"'`
5233 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5234 $as_echo "$ac_res" >&6; }
5235 as_val
=`eval 'as_val=${'$as_ac_Header'}
5236 $as_echo "$as_val"'`
5237 if test "x$as_val" = x
""yes; then
5238 cat >>confdefs.h
<<_ACEOF
5239 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5248 if test "$ac_cv_prog_cc_stdc" != no
; then
5251 U
=_ ANSI2KNR
=.
/ansi2knr
5253 # Ensure some checks needed by ansi2knr itself.
5256 for ac_header
in string.h
5258 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5259 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5260 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5261 $as_echo_n "checking for $ac_header... " >&6; }
5262 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5263 $as_echo_n "(cached) " >&6
5265 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5266 $as_echo "$as_val"'`
5267 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5268 $as_echo "$ac_res" >&6; }
5270 # Is the header compilable?
5271 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5272 $as_echo_n "checking $ac_header usability... " >&6; }
5273 cat >conftest.
$ac_ext <<_ACEOF
5276 cat confdefs.h
>>conftest.
$ac_ext
5277 cat >>conftest.
$ac_ext <<_ACEOF
5278 /* end confdefs.h. */
5279 $ac_includes_default
5280 #include <$ac_header>
5282 rm -f conftest.
$ac_objext
5283 if { (ac_try
="$ac_compile"
5285 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5286 *) ac_try_echo=$ac_try;;
5288 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5289 $as_echo "$ac_try_echo") >&5
5290 (eval "$ac_compile") 2>conftest.er1
5292 grep -v '^ *+' conftest.er1 >conftest.err
5294 cat conftest.err >&5
5295 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296 (exit $ac_status); } && {
5297 test -z "$ac_c_werror_flag" ||
5298 test ! -s conftest.err
5299 } && test -s conftest.$ac_objext; then
5300 ac_header_compiler=yes
5302 $as_echo "$as_me: failed program was:" >&5
5303 sed 's/^/| /' conftest.$ac_ext >&5
5305 ac_header_compiler=no
5308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5309 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5310 $as_echo "$ac_header_compiler" >&6; }
5312 # Is the header present?
5313 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5314 $as_echo_n "checking $ac_header presence... " >&6; }
5315 cat >conftest.$ac_ext <<_ACEOF
5318 cat confdefs.h >>conftest.$ac_ext
5319 cat >>conftest.$ac_ext <<_ACEOF
5320 /* end confdefs.h. */
5321 #include <$ac_header>
5323 if { (ac_try="$ac_cpp conftest.$ac_ext"
5325 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5326 *) ac_try_echo
=$ac_try;;
5328 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5329 $as_echo "$ac_try_echo") >&5
5330 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5332 grep -v '^ *+' conftest.er1
>conftest.err
5334 cat conftest.err
>&5
5335 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5336 (exit $ac_status); } >/dev
/null
&& {
5337 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5338 test ! -s conftest.err
5340 ac_header_preproc
=yes
5342 $as_echo "$as_me: failed program was:" >&5
5343 sed 's/^/| /' conftest.
$ac_ext >&5
5345 ac_header_preproc
=no
5348 rm -f conftest.err conftest.
$ac_ext
5349 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5350 $as_echo "$ac_header_preproc" >&6; }
5352 # So? What about this header?
5353 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5355 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5356 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5357 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5358 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5359 ac_header_preproc
=yes
5362 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5363 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5364 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5365 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5366 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5367 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5368 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5369 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5370 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5371 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5372 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5373 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5377 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5378 $as_echo_n "checking for $ac_header... " >&6; }
5379 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5380 $as_echo_n "(cached) " >&6
5382 eval "$as_ac_Header=\$ac_header_preproc"
5384 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5385 $as_echo "$as_val"'`
5386 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5387 $as_echo "$ac_res" >&6; }
5390 as_val
=`eval 'as_val=${'$as_ac_Header'}
5391 $as_echo "$as_val"'`
5392 if test "x$as_val" = x
""yes; then
5393 cat >>confdefs.h
<<_ACEOF
5394 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5405 case "$LD $LDFLAGS" in
5406 *-Wl,-search_paths_first*) ;;
5407 *) { $as_echo "$as_me:$LINENO: checking if the compiler understands -Wl,-search_paths_first" >&5
5408 $as_echo_n "checking if the compiler understands -Wl,-search_paths_first... " >&6; }
5409 saved_LDFLAGS
="$LDFLAGS"
5410 LDFLAGS
="-Wl,-search_paths_first $LDFLAGS"
5411 cat >conftest.
$ac_ext <<_ACEOF
5414 cat confdefs.h
>>conftest.
$ac_ext
5415 cat >>conftest.
$ac_ext <<_ACEOF
5416 /* end confdefs.h. */
5426 rm -f conftest.
$ac_objext conftest
$ac_exeext
5427 if { (ac_try
="$ac_link"
5429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5430 *) ac_try_echo=$ac_try;;
5432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5433 $as_echo "$ac_try_echo") >&5
5434 (eval "$ac_link") 2>conftest.er1
5436 grep -v '^ *+' conftest.er1 >conftest.err
5438 cat conftest.err >&5
5439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5440 (exit $ac_status); } && {
5441 test -z "$ac_c_werror_flag" ||
5442 test ! -s conftest.err
5443 } && test -s conftest$ac_exeext && {
5444 test "$cross_compiling" = yes ||
5445 $as_test_x conftest$ac_exeext
5447 { $as_echo "$as_me:$LINENO: result: yes" >&5
5448 $as_echo "yes" >&6; }
5450 $as_echo "$as_me: failed program was:" >&5
5451 sed 's/^/| /' conftest.$ac_ext >&5
5453 { $as_echo "$as_me:$LINENO: result: no" >&5
5454 $as_echo "no" >&6; }
5455 LDFLAGS="$saved_LDFLAGS"
5458 rm -rf conftest.dSYM
5459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5460 conftest$ac_exeext conftest.$ac_ext
5466 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5467 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5468 if test "${ac_cv_c_const+set}" = set; then
5469 $as_echo_n "(cached) " >&6
5471 cat >conftest.$ac_ext <<_ACEOF
5474 cat confdefs.h >>conftest.$ac_ext
5475 cat >>conftest.$ac_ext <<_ACEOF
5476 /* end confdefs.h. */
5481 /* FIXME: Include the comments suggested by Paul. */
5483 /* Ultrix mips cc rejects this. */
5484 typedef int charset[2];
5486 /* SunOS 4.1.1 cc rejects this. */
5487 char const *const *pcpcc;
5489 /* NEC SVR4.0.2 mips cc rejects this. */
5490 struct point {int x, y;};
5491 static struct point const zero = {0,0};
5492 /* AIX XL C 1.02.0.0 rejects this.
5493 It does not let you subtract one const X* pointer from another in
5494 an arm of an if-expression whose if-part is not a constant
5496 const char *g = "string";
5497 pcpcc = &g + (g ? g-g : 0);
5498 /* HPUX 7.0 cc rejects these. */
5500 ppc = (char**) pcpcc;
5501 pcpcc = (char const *const *) ppc;
5502 { /* SCO 3.2v4 cc rejects this. */
5504 char const *s = 0 ? (char *) 0 : (char const *) 0;
5509 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5511 const int *foo = &x[0];
5514 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5515 typedef const int *iptr;
5519 { /* AIX XL C 1.02.0.0 rejects this saying
5520 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5521 struct s { int j; const int *ap[3]; };
5522 struct s *b; b->j = 5;
5524 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5528 return !cs[0] && !zero.x;
5535 rm -f conftest.$ac_objext
5536 if { (ac_try="$ac_compile"
5538 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5539 *) ac_try_echo
=$ac_try;;
5541 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5542 $as_echo "$ac_try_echo") >&5
5543 (eval "$ac_compile") 2>conftest.er1
5545 grep -v '^ *+' conftest.er1
>conftest.err
5547 cat conftest.err
>&5
5548 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5549 (exit $ac_status); } && {
5550 test -z "$ac_c_werror_flag" ||
5551 test ! -s conftest.err
5552 } && test -s conftest.
$ac_objext; then
5555 $as_echo "$as_me: failed program was:" >&5
5556 sed 's/^/| /' conftest.
$ac_ext >&5
5561 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5563 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5564 $as_echo "$ac_cv_c_const" >&6; }
5565 if test $ac_cv_c_const = no
; then
5567 cat >>confdefs.h
<<\_ACEOF
5573 { $as_echo "$as_me:$LINENO: checking for working volatile" >&5
5574 $as_echo_n "checking for working volatile... " >&6; }
5575 if test "${ac_cv_c_volatile+set}" = set; then
5576 $as_echo_n "(cached) " >&6
5578 cat >conftest.
$ac_ext <<_ACEOF
5581 cat confdefs.h
>>conftest.
$ac_ext
5582 cat >>conftest.
$ac_ext <<_ACEOF
5583 /* end confdefs.h. */
5590 int * volatile y = (int *) 0;
5596 rm -f conftest.
$ac_objext
5597 if { (ac_try
="$ac_compile"
5599 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5600 *) ac_try_echo=$ac_try;;
5602 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5603 $as_echo "$ac_try_echo") >&5
5604 (eval "$ac_compile") 2>conftest.er1
5606 grep -v '^ *+' conftest.er1 >conftest.err
5608 cat conftest.err >&5
5609 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5610 (exit $ac_status); } && {
5611 test -z "$ac_c_werror_flag" ||
5612 test ! -s conftest.err
5613 } && test -s conftest.$ac_objext; then
5614 ac_cv_c_volatile=yes
5616 $as_echo "$as_me: failed program was:" >&5
5617 sed 's/^/| /' conftest.$ac_ext >&5
5622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5624 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
5625 $as_echo "$ac_cv_c_volatile" >&6; }
5626 if test $ac_cv_c_volatile = no; then
5628 cat >>confdefs.h <<\_ACEOF
5629 #define volatile /**/
5639 *-*-beos* | *-*-cygwin* | *-*-pw32*)
5640 # According to libtool AC CHECK LIBM, these systems don't have libm
5643 # -lM means something subtly different to -lm, SVID style error handling
5644 # or something. FIXME: Why exactly do we want this?
5645 { $as_echo "$as_me:$LINENO: checking for main in -lM" >&5
5646 $as_echo_n "checking for main in -lM... " >&6; }
5647 if test "${ac_cv_lib_M_main+set}" = set; then
5648 $as_echo_n "(cached) " >&6
5650 ac_check_lib_save_LIBS=$LIBS
5652 cat >conftest.$ac_ext <<_ACEOF
5655 cat confdefs.h >>conftest.$ac_ext
5656 cat >>conftest.$ac_ext <<_ACEOF
5657 /* end confdefs.h. */
5668 rm -f conftest.$ac_objext conftest$ac_exeext
5669 if { (ac_try="$ac_link"
5671 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5672 *) ac_try_echo
=$ac_try;;
5674 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5675 $as_echo "$ac_try_echo") >&5
5676 (eval "$ac_link") 2>conftest.er1
5678 grep -v '^ *+' conftest.er1
>conftest.err
5680 cat conftest.err
>&5
5681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5682 (exit $ac_status); } && {
5683 test -z "$ac_c_werror_flag" ||
5684 test ! -s conftest.err
5685 } && test -s conftest
$ac_exeext && {
5686 test "$cross_compiling" = yes ||
5687 $as_test_x conftest
$ac_exeext
5689 ac_cv_lib_M_main
=yes
5691 $as_echo "$as_me: failed program was:" >&5
5692 sed 's/^/| /' conftest.
$ac_ext >&5
5697 rm -rf conftest.dSYM
5698 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5699 conftest
$ac_exeext conftest.
$ac_ext
5700 LIBS
=$ac_check_lib_save_LIBS
5702 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_M_main" >&5
5703 $as_echo "$ac_cv_lib_M_main" >&6; }
5704 if test "x$ac_cv_lib_M_main" = x
""yes; then
5710 # On Solaris the math functions new in C99 are in -lm9x.
5711 # FIXME: Do we need -lm9x as well as -lm, or just instead of?
5712 { $as_echo "$as_me:$LINENO: checking for main in -lm9x" >&5
5713 $as_echo_n "checking for main in -lm9x... " >&6; }
5714 if test "${ac_cv_lib_m9x_main+set}" = set; then
5715 $as_echo_n "(cached) " >&6
5717 ac_check_lib_save_LIBS
=$LIBS
5719 cat >conftest.
$ac_ext <<_ACEOF
5722 cat confdefs.h
>>conftest.
$ac_ext
5723 cat >>conftest.
$ac_ext <<_ACEOF
5724 /* end confdefs.h. */
5735 rm -f conftest.
$ac_objext conftest
$ac_exeext
5736 if { (ac_try
="$ac_link"
5738 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5739 *) ac_try_echo=$ac_try;;
5741 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5742 $as_echo "$ac_try_echo") >&5
5743 (eval "$ac_link") 2>conftest.er1
5745 grep -v '^ *+' conftest.er1 >conftest.err
5747 cat conftest.err >&5
5748 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5749 (exit $ac_status); } && {
5750 test -z "$ac_c_werror_flag" ||
5751 test ! -s conftest.err
5752 } && test -s conftest$ac_exeext && {
5753 test "$cross_compiling" = yes ||
5754 $as_test_x conftest$ac_exeext
5756 ac_cv_lib_m9x_main=yes
5758 $as_echo "$as_me: failed program was:" >&5
5759 sed 's/^/| /' conftest.$ac_ext >&5
5761 ac_cv_lib_m9x_main=no
5764 rm -rf conftest.dSYM
5765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5766 conftest$ac_exeext conftest.$ac_ext
5767 LIBS=$ac_check_lib_save_LIBS
5769 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m9x_main" >&5
5770 $as_echo "$ac_cv_lib_m9x_main" >&6; }
5771 if test "x$ac_cv_lib_m9x_main" = x""yes; then
5775 { $as_echo "$as_me:$LINENO: checking for main in -lm" >&5
5776 $as_echo_n "checking for main in -lm... " >&6; }
5777 if test "${ac_cv_lib_m_main+set}" = set; then
5778 $as_echo_n "(cached) " >&6
5780 ac_check_lib_save_LIBS=$LIBS
5782 cat >conftest.$ac_ext <<_ACEOF
5785 cat confdefs.h >>conftest.$ac_ext
5786 cat >>conftest.$ac_ext <<_ACEOF
5787 /* end confdefs.h. */
5798 rm -f conftest.$ac_objext conftest$ac_exeext
5799 if { (ac_try="$ac_link"
5801 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5802 *) ac_try_echo
=$ac_try;;
5804 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5805 $as_echo "$ac_try_echo") >&5
5806 (eval "$ac_link") 2>conftest.er1
5808 grep -v '^ *+' conftest.er1
>conftest.err
5810 cat conftest.err
>&5
5811 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5812 (exit $ac_status); } && {
5813 test -z "$ac_c_werror_flag" ||
5814 test ! -s conftest.err
5815 } && test -s conftest
$ac_exeext && {
5816 test "$cross_compiling" = yes ||
5817 $as_test_x conftest
$ac_exeext
5819 ac_cv_lib_m_main
=yes
5821 $as_echo "$as_me: failed program was:" >&5
5822 sed 's/^/| /' conftest.
$ac_ext >&5
5827 rm -rf conftest.dSYM
5828 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5829 conftest
$ac_exeext conftest.
$ac_ext
5830 LIBS
=$ac_check_lib_save_LIBS
5832 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
5833 $as_echo "$ac_cv_lib_m_main" >&6; }
5834 if test "x$ac_cv_lib_m_main" = x
""yes; then
5835 MPFR_LIBM
="$MPFR_LIBM -lm"
5840 # FIXME: What does -lmw mean? Libtool AC CHECK LIBM does it this way.
5841 { $as_echo "$as_me:$LINENO: checking for _mwvalidcheckl in -lmw" >&5
5842 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
5843 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then
5844 $as_echo_n "(cached) " >&6
5846 ac_check_lib_save_LIBS
=$LIBS
5848 cat >conftest.
$ac_ext <<_ACEOF
5851 cat confdefs.h
>>conftest.
$ac_ext
5852 cat >>conftest.
$ac_ext <<_ACEOF
5853 /* end confdefs.h. */
5855 /* Override any GCC internal prototype to avoid an error.
5856 Use char because int might match the return type of a GCC
5857 builtin and then its argument prototype would still apply. */
5861 char _mwvalidcheckl ();
5865 return _mwvalidcheckl ();
5870 rm -f conftest.
$ac_objext conftest
$ac_exeext
5871 if { (ac_try
="$ac_link"
5873 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5874 *) ac_try_echo=$ac_try;;
5876 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5877 $as_echo "$ac_try_echo") >&5
5878 (eval "$ac_link") 2>conftest.er1
5880 grep -v '^ *+' conftest.er1 >conftest.err
5882 cat conftest.err >&5
5883 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5884 (exit $ac_status); } && {
5885 test -z "$ac_c_werror_flag" ||
5886 test ! -s conftest.err
5887 } && test -s conftest$ac_exeext && {
5888 test "$cross_compiling" = yes ||
5889 $as_test_x conftest$ac_exeext
5891 ac_cv_lib_mw__mwvalidcheckl=yes
5893 $as_echo "$as_me: failed program was:" >&5
5894 sed 's/^/| /' conftest.$ac_ext >&5
5896 ac_cv_lib_mw__mwvalidcheckl=no
5899 rm -rf conftest.dSYM
5900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5901 conftest$ac_exeext conftest.$ac_ext
5902 LIBS=$ac_check_lib_save_LIBS
5904 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
5905 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
5906 if test "x$ac_cv_lib_mw__mwvalidcheckl" = x""yes; then
5910 { $as_echo "$as_me:$LINENO: checking for main in -lm" >&5
5911 $as_echo_n "checking for main in -lm... " >&6; }
5912 if test "${ac_cv_lib_m_main+set}" = set; then
5913 $as_echo_n "(cached) " >&6
5915 ac_check_lib_save_LIBS=$LIBS
5917 cat >conftest.$ac_ext <<_ACEOF
5920 cat confdefs.h >>conftest.$ac_ext
5921 cat >>conftest.$ac_ext <<_ACEOF
5922 /* end confdefs.h. */
5933 rm -f conftest.$ac_objext conftest$ac_exeext
5934 if { (ac_try="$ac_link"
5936 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5937 *) ac_try_echo
=$ac_try;;
5939 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5940 $as_echo "$ac_try_echo") >&5
5941 (eval "$ac_link") 2>conftest.er1
5943 grep -v '^ *+' conftest.er1
>conftest.err
5945 cat conftest.err
>&5
5946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5947 (exit $ac_status); } && {
5948 test -z "$ac_c_werror_flag" ||
5949 test ! -s conftest.err
5950 } && test -s conftest
$ac_exeext && {
5951 test "$cross_compiling" = yes ||
5952 $as_test_x conftest
$ac_exeext
5954 ac_cv_lib_m_main
=yes
5956 $as_echo "$as_me: failed program was:" >&5
5957 sed 's/^/| /' conftest.
$ac_ext >&5
5962 rm -rf conftest.dSYM
5963 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5964 conftest
$ac_exeext conftest.
$ac_ext
5965 LIBS
=$ac_check_lib_save_LIBS
5967 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
5968 $as_echo "$ac_cv_lib_m_main" >&6; }
5969 if test "x$ac_cv_lib_m_main" = x
""yes; then
5970 MPFR_LIBM
="$MPFR_LIBM -lm"
5975 { $as_echo "$as_me:$LINENO: checking for main in -lm" >&5
5976 $as_echo_n "checking for main in -lm... " >&6; }
5977 if test "${ac_cv_lib_m_main+set}" = set; then
5978 $as_echo_n "(cached) " >&6
5980 ac_check_lib_save_LIBS
=$LIBS
5982 cat >conftest.
$ac_ext <<_ACEOF
5985 cat confdefs.h
>>conftest.
$ac_ext
5986 cat >>conftest.
$ac_ext <<_ACEOF
5987 /* end confdefs.h. */
5998 rm -f conftest.
$ac_objext conftest
$ac_exeext
5999 if { (ac_try
="$ac_link"
6001 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6002 *) ac_try_echo=$ac_try;;
6004 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6005 $as_echo "$ac_try_echo") >&5
6006 (eval "$ac_link") 2>conftest.er1
6008 grep -v '^ *+' conftest.er1 >conftest.err
6010 cat conftest.err >&5
6011 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6012 (exit $ac_status); } && {
6013 test -z "$ac_c_werror_flag" ||
6014 test ! -s conftest.err
6015 } && test -s conftest$ac_exeext && {
6016 test "$cross_compiling" = yes ||
6017 $as_test_x conftest$ac_exeext
6019 ac_cv_lib_m_main=yes
6021 $as_echo "$as_me: failed program was:" >&5
6022 sed 's/^/| /' conftest.$ac_ext >&5
6027 rm -rf conftest.dSYM
6028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6029 conftest$ac_exeext conftest.$ac_ext
6030 LIBS=$ac_check_lib_save_LIBS
6032 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
6033 $as_echo "$ac_cv_lib_m_main" >&6; }
6034 if test "x$ac_cv_lib_m_main" = x""yes; then
6041 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6042 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6043 if test "${ac_cv_header_time+set}" = set; then
6044 $as_echo_n "(cached) " >&6
6046 cat >conftest.$ac_ext <<_ACEOF
6049 cat confdefs.h >>conftest.$ac_ext
6050 cat >>conftest.$ac_ext <<_ACEOF
6051 /* end confdefs.h. */
6052 #include <sys/types.h>
6053 #include <sys/time.h>
6059 if ((struct tm *) 0)
6065 rm -f conftest.$ac_objext
6066 if { (ac_try="$ac_compile"
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_compile") 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); } && {
6080 test -z "$ac_c_werror_flag" ||
6081 test ! -s conftest.err
6082 } && test -s conftest.
$ac_objext; then
6083 ac_cv_header_time
=yes
6085 $as_echo "$as_me: failed program was:" >&5
6086 sed 's/^/| /' conftest.
$ac_ext >&5
6088 ac_cv_header_time
=no
6091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6093 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6094 $as_echo "$ac_cv_header_time" >&6; }
6095 if test $ac_cv_header_time = yes; then
6097 cat >>confdefs.h
<<\_ACEOF
6098 #define TIME_WITH_SYS_TIME 1
6109 if test "${ac_cv_header_limits_h+set}" = set; then
6110 { $as_echo "$as_me:$LINENO: checking for limits.h" >&5
6111 $as_echo_n "checking for limits.h... " >&6; }
6112 if test "${ac_cv_header_limits_h+set}" = set; then
6113 $as_echo_n "(cached) " >&6
6115 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5
6116 $as_echo "$ac_cv_header_limits_h" >&6; }
6118 # Is the header compilable?
6119 { $as_echo "$as_me:$LINENO: checking limits.h usability" >&5
6120 $as_echo_n "checking limits.h usability... " >&6; }
6121 cat >conftest.
$ac_ext <<_ACEOF
6124 cat confdefs.h
>>conftest.
$ac_ext
6125 cat >>conftest.
$ac_ext <<_ACEOF
6126 /* end confdefs.h. */
6127 $ac_includes_default
6130 rm -f conftest.
$ac_objext
6131 if { (ac_try
="$ac_compile"
6133 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6134 *) ac_try_echo=$ac_try;;
6136 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6137 $as_echo "$ac_try_echo") >&5
6138 (eval "$ac_compile") 2>conftest.er1
6140 grep -v '^ *+' conftest.er1 >conftest.err
6142 cat conftest.err >&5
6143 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6144 (exit $ac_status); } && {
6145 test -z "$ac_c_werror_flag" ||
6146 test ! -s conftest.err
6147 } && test -s conftest.$ac_objext; then
6148 ac_header_compiler=yes
6150 $as_echo "$as_me: failed program was:" >&5
6151 sed 's/^/| /' conftest.$ac_ext >&5
6153 ac_header_compiler=no
6156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6157 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6158 $as_echo "$ac_header_compiler" >&6; }
6160 # Is the header present?
6161 { $as_echo "$as_me:$LINENO: checking limits.h presence" >&5
6162 $as_echo_n "checking limits.h presence... " >&6; }
6163 cat >conftest.$ac_ext <<_ACEOF
6166 cat confdefs.h >>conftest.$ac_ext
6167 cat >>conftest.$ac_ext <<_ACEOF
6168 /* end confdefs.h. */
6171 if { (ac_try="$ac_cpp conftest.$ac_ext"
6173 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6174 *) ac_try_echo
=$ac_try;;
6176 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6177 $as_echo "$ac_try_echo") >&5
6178 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6180 grep -v '^ *+' conftest.er1
>conftest.err
6182 cat conftest.err
>&5
6183 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6184 (exit $ac_status); } >/dev
/null
&& {
6185 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6186 test ! -s conftest.err
6188 ac_header_preproc
=yes
6190 $as_echo "$as_me: failed program was:" >&5
6191 sed 's/^/| /' conftest.
$ac_ext >&5
6193 ac_header_preproc
=no
6196 rm -f conftest.err conftest.
$ac_ext
6197 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6198 $as_echo "$ac_header_preproc" >&6; }
6200 # So? What about this header?
6201 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6203 { $as_echo "$as_me:$LINENO: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor!" >&5
6204 $as_echo "$as_me: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6205 { $as_echo "$as_me:$LINENO: WARNING: limits.h: proceeding with the compiler's result" >&5
6206 $as_echo "$as_me: WARNING: limits.h: proceeding with the compiler's result" >&2;}
6207 ac_header_preproc
=yes
6210 { $as_echo "$as_me:$LINENO: WARNING: limits.h: present but cannot be compiled" >&5
6211 $as_echo "$as_me: WARNING: limits.h: present but cannot be compiled" >&2;}
6212 { $as_echo "$as_me:$LINENO: WARNING: limits.h: check for missing prerequisite headers?" >&5
6213 $as_echo "$as_me: WARNING: limits.h: check for missing prerequisite headers?" >&2;}
6214 { $as_echo "$as_me:$LINENO: WARNING: limits.h: see the Autoconf documentation" >&5
6215 $as_echo "$as_me: WARNING: limits.h: see the Autoconf documentation" >&2;}
6216 { $as_echo "$as_me:$LINENO: WARNING: limits.h: section \"Present But Cannot Be Compiled\"" >&5
6217 $as_echo "$as_me: WARNING: limits.h: section \"Present But Cannot Be Compiled\"" >&2;}
6218 { $as_echo "$as_me:$LINENO: WARNING: limits.h: proceeding with the preprocessor's result" >&5
6219 $as_echo "$as_me: WARNING: limits.h: proceeding with the preprocessor's result" >&2;}
6220 { $as_echo "$as_me:$LINENO: WARNING: limits.h: in the future, the compiler will take precedence" >&5
6221 $as_echo "$as_me: WARNING: limits.h: in the future, the compiler will take precedence" >&2;}
6225 { $as_echo "$as_me:$LINENO: checking for limits.h" >&5
6226 $as_echo_n "checking for limits.h... " >&6; }
6227 if test "${ac_cv_header_limits_h+set}" = set; then
6228 $as_echo_n "(cached) " >&6
6230 ac_cv_header_limits_h
=$ac_header_preproc
6232 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5
6233 $as_echo "$ac_cv_header_limits_h" >&6; }
6236 if test "x$ac_cv_header_limits_h" = x
""yes; then
6239 { { $as_echo "$as_me:$LINENO: error: limits.h not found" >&5
6240 $as_echo "$as_me: error: limits.h not found" >&2;}
6241 { (exit 1); exit 1; }; }
6245 if test "${ac_cv_header_float_h+set}" = set; then
6246 { $as_echo "$as_me:$LINENO: checking for float.h" >&5
6247 $as_echo_n "checking for float.h... " >&6; }
6248 if test "${ac_cv_header_float_h+set}" = set; then
6249 $as_echo_n "(cached) " >&6
6251 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_float_h" >&5
6252 $as_echo "$ac_cv_header_float_h" >&6; }
6254 # Is the header compilable?
6255 { $as_echo "$as_me:$LINENO: checking float.h usability" >&5
6256 $as_echo_n "checking float.h usability... " >&6; }
6257 cat >conftest.
$ac_ext <<_ACEOF
6260 cat confdefs.h
>>conftest.
$ac_ext
6261 cat >>conftest.
$ac_ext <<_ACEOF
6262 /* end confdefs.h. */
6263 $ac_includes_default
6266 rm -f conftest.
$ac_objext
6267 if { (ac_try
="$ac_compile"
6269 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6270 *) ac_try_echo=$ac_try;;
6272 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6273 $as_echo "$ac_try_echo") >&5
6274 (eval "$ac_compile") 2>conftest.er1
6276 grep -v '^ *+' conftest.er1 >conftest.err
6278 cat conftest.err >&5
6279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6280 (exit $ac_status); } && {
6281 test -z "$ac_c_werror_flag" ||
6282 test ! -s conftest.err
6283 } && test -s conftest.$ac_objext; then
6284 ac_header_compiler=yes
6286 $as_echo "$as_me: failed program was:" >&5
6287 sed 's/^/| /' conftest.$ac_ext >&5
6289 ac_header_compiler=no
6292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6293 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6294 $as_echo "$ac_header_compiler" >&6; }
6296 # Is the header present?
6297 { $as_echo "$as_me:$LINENO: checking float.h presence" >&5
6298 $as_echo_n "checking float.h presence... " >&6; }
6299 cat >conftest.$ac_ext <<_ACEOF
6302 cat confdefs.h >>conftest.$ac_ext
6303 cat >>conftest.$ac_ext <<_ACEOF
6304 /* end confdefs.h. */
6307 if { (ac_try="$ac_cpp conftest.$ac_ext"
6309 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6310 *) ac_try_echo
=$ac_try;;
6312 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6313 $as_echo "$ac_try_echo") >&5
6314 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6316 grep -v '^ *+' conftest.er1
>conftest.err
6318 cat conftest.err
>&5
6319 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6320 (exit $ac_status); } >/dev
/null
&& {
6321 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6322 test ! -s conftest.err
6324 ac_header_preproc
=yes
6326 $as_echo "$as_me: failed program was:" >&5
6327 sed 's/^/| /' conftest.
$ac_ext >&5
6329 ac_header_preproc
=no
6332 rm -f conftest.err conftest.
$ac_ext
6333 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6334 $as_echo "$ac_header_preproc" >&6; }
6336 # So? What about this header?
6337 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6339 { $as_echo "$as_me:$LINENO: WARNING: float.h: accepted by the compiler, rejected by the preprocessor!" >&5
6340 $as_echo "$as_me: WARNING: float.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6341 { $as_echo "$as_me:$LINENO: WARNING: float.h: proceeding with the compiler's result" >&5
6342 $as_echo "$as_me: WARNING: float.h: proceeding with the compiler's result" >&2;}
6343 ac_header_preproc
=yes
6346 { $as_echo "$as_me:$LINENO: WARNING: float.h: present but cannot be compiled" >&5
6347 $as_echo "$as_me: WARNING: float.h: present but cannot be compiled" >&2;}
6348 { $as_echo "$as_me:$LINENO: WARNING: float.h: check for missing prerequisite headers?" >&5
6349 $as_echo "$as_me: WARNING: float.h: check for missing prerequisite headers?" >&2;}
6350 { $as_echo "$as_me:$LINENO: WARNING: float.h: see the Autoconf documentation" >&5
6351 $as_echo "$as_me: WARNING: float.h: see the Autoconf documentation" >&2;}
6352 { $as_echo "$as_me:$LINENO: WARNING: float.h: section \"Present But Cannot Be Compiled\"" >&5
6353 $as_echo "$as_me: WARNING: float.h: section \"Present But Cannot Be Compiled\"" >&2;}
6354 { $as_echo "$as_me:$LINENO: WARNING: float.h: proceeding with the preprocessor's result" >&5
6355 $as_echo "$as_me: WARNING: float.h: proceeding with the preprocessor's result" >&2;}
6356 { $as_echo "$as_me:$LINENO: WARNING: float.h: in the future, the compiler will take precedence" >&5
6357 $as_echo "$as_me: WARNING: float.h: in the future, the compiler will take precedence" >&2;}
6361 { $as_echo "$as_me:$LINENO: checking for float.h" >&5
6362 $as_echo_n "checking for float.h... " >&6; }
6363 if test "${ac_cv_header_float_h+set}" = set; then
6364 $as_echo_n "(cached) " >&6
6366 ac_cv_header_float_h
=$ac_header_preproc
6368 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_float_h" >&5
6369 $as_echo "$ac_cv_header_float_h" >&6; }
6372 if test "x$ac_cv_header_float_h" = x
""yes; then
6375 { { $as_echo "$as_me:$LINENO: error: float.h not found" >&5
6376 $as_echo "$as_me: error: float.h not found" >&2;}
6377 { (exit 1); exit 1; }; }
6381 if test "${ac_cv_header_string_h+set}" = set; then
6382 { $as_echo "$as_me:$LINENO: checking for string.h" >&5
6383 $as_echo_n "checking for string.h... " >&6; }
6384 if test "${ac_cv_header_string_h+set}" = set; then
6385 $as_echo_n "(cached) " >&6
6387 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5
6388 $as_echo "$ac_cv_header_string_h" >&6; }
6390 # Is the header compilable?
6391 { $as_echo "$as_me:$LINENO: checking string.h usability" >&5
6392 $as_echo_n "checking string.h usability... " >&6; }
6393 cat >conftest.
$ac_ext <<_ACEOF
6396 cat confdefs.h
>>conftest.
$ac_ext
6397 cat >>conftest.
$ac_ext <<_ACEOF
6398 /* end confdefs.h. */
6399 $ac_includes_default
6402 rm -f conftest.
$ac_objext
6403 if { (ac_try
="$ac_compile"
6405 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6406 *) ac_try_echo=$ac_try;;
6408 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6409 $as_echo "$ac_try_echo") >&5
6410 (eval "$ac_compile") 2>conftest.er1
6412 grep -v '^ *+' conftest.er1 >conftest.err
6414 cat conftest.err >&5
6415 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6416 (exit $ac_status); } && {
6417 test -z "$ac_c_werror_flag" ||
6418 test ! -s conftest.err
6419 } && test -s conftest.$ac_objext; then
6420 ac_header_compiler=yes
6422 $as_echo "$as_me: failed program was:" >&5
6423 sed 's/^/| /' conftest.$ac_ext >&5
6425 ac_header_compiler=no
6428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6429 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6430 $as_echo "$ac_header_compiler" >&6; }
6432 # Is the header present?
6433 { $as_echo "$as_me:$LINENO: checking string.h presence" >&5
6434 $as_echo_n "checking string.h presence... " >&6; }
6435 cat >conftest.$ac_ext <<_ACEOF
6438 cat confdefs.h >>conftest.$ac_ext
6439 cat >>conftest.$ac_ext <<_ACEOF
6440 /* end confdefs.h. */
6443 if { (ac_try="$ac_cpp conftest.$ac_ext"
6445 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6446 *) ac_try_echo
=$ac_try;;
6448 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6449 $as_echo "$ac_try_echo") >&5
6450 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6452 grep -v '^ *+' conftest.er1
>conftest.err
6454 cat conftest.err
>&5
6455 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456 (exit $ac_status); } >/dev
/null
&& {
6457 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6458 test ! -s conftest.err
6460 ac_header_preproc
=yes
6462 $as_echo "$as_me: failed program was:" >&5
6463 sed 's/^/| /' conftest.
$ac_ext >&5
6465 ac_header_preproc
=no
6468 rm -f conftest.err conftest.
$ac_ext
6469 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6470 $as_echo "$ac_header_preproc" >&6; }
6472 # So? What about this header?
6473 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6475 { $as_echo "$as_me:$LINENO: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&5
6476 $as_echo "$as_me: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6477 { $as_echo "$as_me:$LINENO: WARNING: string.h: proceeding with the compiler's result" >&5
6478 $as_echo "$as_me: WARNING: string.h: proceeding with the compiler's result" >&2;}
6479 ac_header_preproc
=yes
6482 { $as_echo "$as_me:$LINENO: WARNING: string.h: present but cannot be compiled" >&5
6483 $as_echo "$as_me: WARNING: string.h: present but cannot be compiled" >&2;}
6484 { $as_echo "$as_me:$LINENO: WARNING: string.h: check for missing prerequisite headers?" >&5
6485 $as_echo "$as_me: WARNING: string.h: check for missing prerequisite headers?" >&2;}
6486 { $as_echo "$as_me:$LINENO: WARNING: string.h: see the Autoconf documentation" >&5
6487 $as_echo "$as_me: WARNING: string.h: see the Autoconf documentation" >&2;}
6488 { $as_echo "$as_me:$LINENO: WARNING: string.h: section \"Present But Cannot Be Compiled\"" >&5
6489 $as_echo "$as_me: WARNING: string.h: section \"Present But Cannot Be Compiled\"" >&2;}
6490 { $as_echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5
6491 $as_echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;}
6492 { $as_echo "$as_me:$LINENO: WARNING: string.h: in the future, the compiler will take precedence" >&5
6493 $as_echo "$as_me: WARNING: string.h: in the future, the compiler will take precedence" >&2;}
6497 { $as_echo "$as_me:$LINENO: checking for string.h" >&5
6498 $as_echo_n "checking for string.h... " >&6; }
6499 if test "${ac_cv_header_string_h+set}" = set; then
6500 $as_echo_n "(cached) " >&6
6502 ac_cv_header_string_h
=$ac_header_preproc
6504 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5
6505 $as_echo "$ac_cv_header_string_h" >&6; }
6508 if test "x$ac_cv_header_string_h" = x
""yes; then
6511 { { $as_echo "$as_me:$LINENO: error: string.h not found" >&5
6512 $as_echo "$as_me: error: string.h not found" >&2;}
6513 { (exit 1); exit 1; }; }
6519 for ac_header
in locale.h
6521 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6522 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6523 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6524 $as_echo_n "checking for $ac_header... " >&6; }
6525 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6526 $as_echo_n "(cached) " >&6
6528 ac_res
=`eval 'as_val=${'$as_ac_Header'}
6529 $as_echo "$as_val"'`
6530 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6531 $as_echo "$ac_res" >&6; }
6533 # Is the header compilable?
6534 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6535 $as_echo_n "checking $ac_header usability... " >&6; }
6536 cat >conftest.
$ac_ext <<_ACEOF
6539 cat confdefs.h
>>conftest.
$ac_ext
6540 cat >>conftest.
$ac_ext <<_ACEOF
6541 /* end confdefs.h. */
6542 $ac_includes_default
6543 #include <$ac_header>
6545 rm -f conftest.
$ac_objext
6546 if { (ac_try
="$ac_compile"
6548 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6549 *) ac_try_echo=$ac_try;;
6551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6552 $as_echo "$ac_try_echo") >&5
6553 (eval "$ac_compile") 2>conftest.er1
6555 grep -v '^ *+' conftest.er1 >conftest.err
6557 cat conftest.err >&5
6558 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6559 (exit $ac_status); } && {
6560 test -z "$ac_c_werror_flag" ||
6561 test ! -s conftest.err
6562 } && test -s conftest.$ac_objext; then
6563 ac_header_compiler=yes
6565 $as_echo "$as_me: failed program was:" >&5
6566 sed 's/^/| /' conftest.$ac_ext >&5
6568 ac_header_compiler=no
6571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6572 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6573 $as_echo "$ac_header_compiler" >&6; }
6575 # Is the header present?
6576 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6577 $as_echo_n "checking $ac_header presence... " >&6; }
6578 cat >conftest.$ac_ext <<_ACEOF
6581 cat confdefs.h >>conftest.$ac_ext
6582 cat >>conftest.$ac_ext <<_ACEOF
6583 /* end confdefs.h. */
6584 #include <$ac_header>
6586 if { (ac_try="$ac_cpp conftest.$ac_ext"
6588 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6589 *) ac_try_echo
=$ac_try;;
6591 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6592 $as_echo "$ac_try_echo") >&5
6593 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6595 grep -v '^ *+' conftest.er1
>conftest.err
6597 cat conftest.err
>&5
6598 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6599 (exit $ac_status); } >/dev
/null
&& {
6600 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6601 test ! -s conftest.err
6603 ac_header_preproc
=yes
6605 $as_echo "$as_me: failed program was:" >&5
6606 sed 's/^/| /' conftest.
$ac_ext >&5
6608 ac_header_preproc
=no
6611 rm -f conftest.err conftest.
$ac_ext
6612 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6613 $as_echo "$ac_header_preproc" >&6; }
6615 # So? What about this header?
6616 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6618 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6619 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6620 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6621 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6622 ac_header_preproc
=yes
6625 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6626 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6627 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6628 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6629 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6630 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6631 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6632 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6633 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6634 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6635 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6636 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6640 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6641 $as_echo_n "checking for $ac_header... " >&6; }
6642 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6643 $as_echo_n "(cached) " >&6
6645 eval "$as_ac_Header=\$ac_header_preproc"
6647 ac_res
=`eval 'as_val=${'$as_ac_Header'}
6648 $as_echo "$as_val"'`
6649 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6650 $as_echo "$ac_res" >&6; }
6653 as_val
=`eval 'as_val=${'$as_ac_Header'}
6654 $as_echo "$as_val"'`
6655 if test "x$as_val" = x
""yes; then
6656 cat >>confdefs.h
<<_ACEOF
6657 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6666 for ac_header
in wchar.h
6668 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6669 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6670 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6671 $as_echo_n "checking for $ac_header... " >&6; }
6672 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6673 $as_echo_n "(cached) " >&6
6675 ac_res
=`eval 'as_val=${'$as_ac_Header'}
6676 $as_echo "$as_val"'`
6677 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6678 $as_echo "$ac_res" >&6; }
6680 # Is the header compilable?
6681 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6682 $as_echo_n "checking $ac_header usability... " >&6; }
6683 cat >conftest.
$ac_ext <<_ACEOF
6686 cat confdefs.h
>>conftest.
$ac_ext
6687 cat >>conftest.
$ac_ext <<_ACEOF
6688 /* end confdefs.h. */
6689 $ac_includes_default
6690 #include <$ac_header>
6692 rm -f conftest.
$ac_objext
6693 if { (ac_try
="$ac_compile"
6695 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6696 *) ac_try_echo=$ac_try;;
6698 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6699 $as_echo "$ac_try_echo") >&5
6700 (eval "$ac_compile") 2>conftest.er1
6702 grep -v '^ *+' conftest.er1 >conftest.err
6704 cat conftest.err >&5
6705 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6706 (exit $ac_status); } && {
6707 test -z "$ac_c_werror_flag" ||
6708 test ! -s conftest.err
6709 } && test -s conftest.$ac_objext; then
6710 ac_header_compiler=yes
6712 $as_echo "$as_me: failed program was:" >&5
6713 sed 's/^/| /' conftest.$ac_ext >&5
6715 ac_header_compiler=no
6718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6719 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6720 $as_echo "$ac_header_compiler" >&6; }
6722 # Is the header present?
6723 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6724 $as_echo_n "checking $ac_header presence... " >&6; }
6725 cat >conftest.$ac_ext <<_ACEOF
6728 cat confdefs.h >>conftest.$ac_ext
6729 cat >>conftest.$ac_ext <<_ACEOF
6730 /* end confdefs.h. */
6731 #include <$ac_header>
6733 if { (ac_try="$ac_cpp conftest.$ac_ext"
6735 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6736 *) ac_try_echo
=$ac_try;;
6738 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6739 $as_echo "$ac_try_echo") >&5
6740 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6742 grep -v '^ *+' conftest.er1
>conftest.err
6744 cat conftest.err
>&5
6745 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6746 (exit $ac_status); } >/dev
/null
&& {
6747 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6748 test ! -s conftest.err
6750 ac_header_preproc
=yes
6752 $as_echo "$as_me: failed program was:" >&5
6753 sed 's/^/| /' conftest.
$ac_ext >&5
6755 ac_header_preproc
=no
6758 rm -f conftest.err conftest.
$ac_ext
6759 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6760 $as_echo "$ac_header_preproc" >&6; }
6762 # So? What about this header?
6763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6765 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6766 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6767 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6768 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6769 ac_header_preproc
=yes
6772 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6773 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6774 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6775 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6776 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6777 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6778 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6779 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6780 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6781 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6782 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6783 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6787 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6788 $as_echo_n "checking for $ac_header... " >&6; }
6789 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6790 $as_echo_n "(cached) " >&6
6792 eval "$as_ac_Header=\$ac_header_preproc"
6794 ac_res
=`eval 'as_val=${'$as_ac_Header'}
6795 $as_echo "$as_val"'`
6796 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6797 $as_echo "$ac_res" >&6; }
6800 as_val
=`eval 'as_val=${'$as_ac_Header'}
6801 $as_echo "$as_val"'`
6802 if test "x$as_val" = x
""yes; then
6803 cat >>confdefs.h
<<_ACEOF
6804 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6812 if test "${ac_cv_header_stdarg_h+set}" = set; then
6813 { $as_echo "$as_me:$LINENO: checking for stdarg.h" >&5
6814 $as_echo_n "checking for stdarg.h... " >&6; }
6815 if test "${ac_cv_header_stdarg_h+set}" = set; then
6816 $as_echo_n "(cached) " >&6
6818 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5
6819 $as_echo "$ac_cv_header_stdarg_h" >&6; }
6821 # Is the header compilable?
6822 { $as_echo "$as_me:$LINENO: checking stdarg.h usability" >&5
6823 $as_echo_n "checking stdarg.h usability... " >&6; }
6824 cat >conftest.
$ac_ext <<_ACEOF
6827 cat confdefs.h
>>conftest.
$ac_ext
6828 cat >>conftest.
$ac_ext <<_ACEOF
6829 /* end confdefs.h. */
6830 $ac_includes_default
6833 rm -f conftest.
$ac_objext
6834 if { (ac_try
="$ac_compile"
6836 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6837 *) ac_try_echo=$ac_try;;
6839 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6840 $as_echo "$ac_try_echo") >&5
6841 (eval "$ac_compile") 2>conftest.er1
6843 grep -v '^ *+' conftest.er1 >conftest.err
6845 cat conftest.err >&5
6846 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6847 (exit $ac_status); } && {
6848 test -z "$ac_c_werror_flag" ||
6849 test ! -s conftest.err
6850 } && test -s conftest.$ac_objext; then
6851 ac_header_compiler=yes
6853 $as_echo "$as_me: failed program was:" >&5
6854 sed 's/^/| /' conftest.$ac_ext >&5
6856 ac_header_compiler=no
6859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6860 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6861 $as_echo "$ac_header_compiler" >&6; }
6863 # Is the header present?
6864 { $as_echo "$as_me:$LINENO: checking stdarg.h presence" >&5
6865 $as_echo_n "checking stdarg.h presence... " >&6; }
6866 cat >conftest.$ac_ext <<_ACEOF
6869 cat confdefs.h >>conftest.$ac_ext
6870 cat >>conftest.$ac_ext <<_ACEOF
6871 /* end confdefs.h. */
6874 if { (ac_try="$ac_cpp conftest.$ac_ext"
6876 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6877 *) ac_try_echo
=$ac_try;;
6879 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6880 $as_echo "$ac_try_echo") >&5
6881 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6883 grep -v '^ *+' conftest.er1
>conftest.err
6885 cat conftest.err
>&5
6886 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6887 (exit $ac_status); } >/dev
/null
&& {
6888 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6889 test ! -s conftest.err
6891 ac_header_preproc
=yes
6893 $as_echo "$as_me: failed program was:" >&5
6894 sed 's/^/| /' conftest.
$ac_ext >&5
6896 ac_header_preproc
=no
6899 rm -f conftest.err conftest.
$ac_ext
6900 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6901 $as_echo "$ac_header_preproc" >&6; }
6903 # So? What about this header?
6904 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6906 { $as_echo "$as_me:$LINENO: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&5
6907 $as_echo "$as_me: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6908 { $as_echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the compiler's result" >&5
6909 $as_echo "$as_me: WARNING: stdarg.h: proceeding with the compiler's result" >&2;}
6910 ac_header_preproc
=yes
6913 { $as_echo "$as_me:$LINENO: WARNING: stdarg.h: present but cannot be compiled" >&5
6914 $as_echo "$as_me: WARNING: stdarg.h: present but cannot be compiled" >&2;}
6915 { $as_echo "$as_me:$LINENO: WARNING: stdarg.h: check for missing prerequisite headers?" >&5
6916 $as_echo "$as_me: WARNING: stdarg.h: check for missing prerequisite headers?" >&2;}
6917 { $as_echo "$as_me:$LINENO: WARNING: stdarg.h: see the Autoconf documentation" >&5
6918 $as_echo "$as_me: WARNING: stdarg.h: see the Autoconf documentation" >&2;}
6919 { $as_echo "$as_me:$LINENO: WARNING: stdarg.h: section \"Present But Cannot Be Compiled\"" >&5
6920 $as_echo "$as_me: WARNING: stdarg.h: section \"Present But Cannot Be Compiled\"" >&2;}
6921 { $as_echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the preprocessor's result" >&5
6922 $as_echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;}
6923 { $as_echo "$as_me:$LINENO: WARNING: stdarg.h: in the future, the compiler will take precedence" >&5
6924 $as_echo "$as_me: WARNING: stdarg.h: in the future, the compiler will take precedence" >&2;}
6928 { $as_echo "$as_me:$LINENO: checking for stdarg.h" >&5
6929 $as_echo_n "checking for stdarg.h... " >&6; }
6930 if test "${ac_cv_header_stdarg_h+set}" = set; then
6931 $as_echo_n "(cached) " >&6
6933 ac_cv_header_stdarg_h
=$ac_header_preproc
6935 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5
6936 $as_echo "$ac_cv_header_stdarg_h" >&6; }
6939 if test "x$ac_cv_header_stdarg_h" = x
""yes; then
6941 cat >>confdefs.h
<<\_ACEOF
6942 #define HAVE_STDARG 1
6946 if test "${ac_cv_header_varargs_h+set}" = set; then
6947 { $as_echo "$as_me:$LINENO: checking for varargs.h" >&5
6948 $as_echo_n "checking for varargs.h... " >&6; }
6949 if test "${ac_cv_header_varargs_h+set}" = set; then
6950 $as_echo_n "(cached) " >&6
6952 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_varargs_h" >&5
6953 $as_echo "$ac_cv_header_varargs_h" >&6; }
6955 # Is the header compilable?
6956 { $as_echo "$as_me:$LINENO: checking varargs.h usability" >&5
6957 $as_echo_n "checking varargs.h usability... " >&6; }
6958 cat >conftest.
$ac_ext <<_ACEOF
6961 cat confdefs.h
>>conftest.
$ac_ext
6962 cat >>conftest.
$ac_ext <<_ACEOF
6963 /* end confdefs.h. */
6964 $ac_includes_default
6965 #include <varargs.h>
6967 rm -f conftest.
$ac_objext
6968 if { (ac_try
="$ac_compile"
6970 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6971 *) ac_try_echo=$ac_try;;
6973 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6974 $as_echo "$ac_try_echo") >&5
6975 (eval "$ac_compile") 2>conftest.er1
6977 grep -v '^ *+' conftest.er1 >conftest.err
6979 cat conftest.err >&5
6980 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6981 (exit $ac_status); } && {
6982 test -z "$ac_c_werror_flag" ||
6983 test ! -s conftest.err
6984 } && test -s conftest.$ac_objext; then
6985 ac_header_compiler=yes
6987 $as_echo "$as_me: failed program was:" >&5
6988 sed 's/^/| /' conftest.$ac_ext >&5
6990 ac_header_compiler=no
6993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6994 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6995 $as_echo "$ac_header_compiler" >&6; }
6997 # Is the header present?
6998 { $as_echo "$as_me:$LINENO: checking varargs.h presence" >&5
6999 $as_echo_n "checking varargs.h presence... " >&6; }
7000 cat >conftest.$ac_ext <<_ACEOF
7003 cat confdefs.h >>conftest.$ac_ext
7004 cat >>conftest.$ac_ext <<_ACEOF
7005 /* end confdefs.h. */
7006 #include <varargs.h>
7008 if { (ac_try="$ac_cpp conftest.$ac_ext"
7010 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7011 *) ac_try_echo
=$ac_try;;
7013 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7014 $as_echo "$ac_try_echo") >&5
7015 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7017 grep -v '^ *+' conftest.er1
>conftest.err
7019 cat conftest.err
>&5
7020 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7021 (exit $ac_status); } >/dev
/null
&& {
7022 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7023 test ! -s conftest.err
7025 ac_header_preproc
=yes
7027 $as_echo "$as_me: failed program was:" >&5
7028 sed 's/^/| /' conftest.
$ac_ext >&5
7030 ac_header_preproc
=no
7033 rm -f conftest.err conftest.
$ac_ext
7034 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7035 $as_echo "$ac_header_preproc" >&6; }
7037 # So? What about this header?
7038 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7040 { $as_echo "$as_me:$LINENO: WARNING: varargs.h: accepted by the compiler, rejected by the preprocessor!" >&5
7041 $as_echo "$as_me: WARNING: varargs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7042 { $as_echo "$as_me:$LINENO: WARNING: varargs.h: proceeding with the compiler's result" >&5
7043 $as_echo "$as_me: WARNING: varargs.h: proceeding with the compiler's result" >&2;}
7044 ac_header_preproc
=yes
7047 { $as_echo "$as_me:$LINENO: WARNING: varargs.h: present but cannot be compiled" >&5
7048 $as_echo "$as_me: WARNING: varargs.h: present but cannot be compiled" >&2;}
7049 { $as_echo "$as_me:$LINENO: WARNING: varargs.h: check for missing prerequisite headers?" >&5
7050 $as_echo "$as_me: WARNING: varargs.h: check for missing prerequisite headers?" >&2;}
7051 { $as_echo "$as_me:$LINENO: WARNING: varargs.h: see the Autoconf documentation" >&5
7052 $as_echo "$as_me: WARNING: varargs.h: see the Autoconf documentation" >&2;}
7053 { $as_echo "$as_me:$LINENO: WARNING: varargs.h: section \"Present But Cannot Be Compiled\"" >&5
7054 $as_echo "$as_me: WARNING: varargs.h: section \"Present But Cannot Be Compiled\"" >&2;}
7055 { $as_echo "$as_me:$LINENO: WARNING: varargs.h: proceeding with the preprocessor's result" >&5
7056 $as_echo "$as_me: WARNING: varargs.h: proceeding with the preprocessor's result" >&2;}
7057 { $as_echo "$as_me:$LINENO: WARNING: varargs.h: in the future, the compiler will take precedence" >&5
7058 $as_echo "$as_me: WARNING: varargs.h: in the future, the compiler will take precedence" >&2;}
7062 { $as_echo "$as_me:$LINENO: checking for varargs.h" >&5
7063 $as_echo_n "checking for varargs.h... " >&6; }
7064 if test "${ac_cv_header_varargs_h+set}" = set; then
7065 $as_echo_n "(cached) " >&6
7067 ac_cv_header_varargs_h
=$ac_header_preproc
7069 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_varargs_h" >&5
7070 $as_echo "$ac_cv_header_varargs_h" >&6; }
7073 if test "x$ac_cv_header_varargs_h" = x
""yes; then
7076 { { $as_echo "$as_me:$LINENO: error: stdarg.h or varargs.h not found" >&5
7077 $as_echo "$as_me: error: stdarg.h or varargs.h not found" >&2;}
7078 { (exit 1); exit 1; }; }
7088 for ac_header
in sys
/time.h sys
/fpu.h
7090 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7091 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7092 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7093 $as_echo_n "checking for $ac_header... " >&6; }
7094 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7095 $as_echo_n "(cached) " >&6
7097 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7098 $as_echo "$as_val"'`
7099 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7100 $as_echo "$ac_res" >&6; }
7102 # Is the header compilable?
7103 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7104 $as_echo_n "checking $ac_header usability... " >&6; }
7105 cat >conftest.
$ac_ext <<_ACEOF
7108 cat confdefs.h
>>conftest.
$ac_ext
7109 cat >>conftest.
$ac_ext <<_ACEOF
7110 /* end confdefs.h. */
7111 $ac_includes_default
7112 #include <$ac_header>
7114 rm -f conftest.
$ac_objext
7115 if { (ac_try
="$ac_compile"
7117 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7118 *) ac_try_echo=$ac_try;;
7120 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7121 $as_echo "$ac_try_echo") >&5
7122 (eval "$ac_compile") 2>conftest.er1
7124 grep -v '^ *+' conftest.er1 >conftest.err
7126 cat conftest.err >&5
7127 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7128 (exit $ac_status); } && {
7129 test -z "$ac_c_werror_flag" ||
7130 test ! -s conftest.err
7131 } && test -s conftest.$ac_objext; then
7132 ac_header_compiler=yes
7134 $as_echo "$as_me: failed program was:" >&5
7135 sed 's/^/| /' conftest.$ac_ext >&5
7137 ac_header_compiler=no
7140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7141 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7142 $as_echo "$ac_header_compiler" >&6; }
7144 # Is the header present?
7145 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7146 $as_echo_n "checking $ac_header presence... " >&6; }
7147 cat >conftest.$ac_ext <<_ACEOF
7150 cat confdefs.h >>conftest.$ac_ext
7151 cat >>conftest.$ac_ext <<_ACEOF
7152 /* end confdefs.h. */
7153 #include <$ac_header>
7155 if { (ac_try="$ac_cpp conftest.$ac_ext"
7157 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7158 *) ac_try_echo
=$ac_try;;
7160 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7161 $as_echo "$ac_try_echo") >&5
7162 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7164 grep -v '^ *+' conftest.er1
>conftest.err
7166 cat conftest.err
>&5
7167 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7168 (exit $ac_status); } >/dev
/null
&& {
7169 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7170 test ! -s conftest.err
7172 ac_header_preproc
=yes
7174 $as_echo "$as_me: failed program was:" >&5
7175 sed 's/^/| /' conftest.
$ac_ext >&5
7177 ac_header_preproc
=no
7180 rm -f conftest.err conftest.
$ac_ext
7181 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7182 $as_echo "$ac_header_preproc" >&6; }
7184 # So? What about this header?
7185 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7187 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7188 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7189 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7190 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7191 ac_header_preproc
=yes
7194 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7195 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7196 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7197 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7198 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7199 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7200 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7201 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7202 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7203 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7204 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7205 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7209 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7210 $as_echo_n "checking for $ac_header... " >&6; }
7211 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7212 $as_echo_n "(cached) " >&6
7214 eval "$as_ac_Header=\$ac_header_preproc"
7216 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7217 $as_echo "$as_val"'`
7218 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7219 $as_echo "$ac_res" >&6; }
7222 as_val
=`eval 'as_val=${'$as_ac_Header'}
7223 $as_echo "$as_val"'`
7224 if test "x$as_val" = x
""yes; then
7225 cat >>confdefs.h
<<_ACEOF
7226 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7236 for ac_header
in stdint.h
7238 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7239 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7240 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7241 $as_echo_n "checking for $ac_header... " >&6; }
7242 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7243 $as_echo_n "(cached) " >&6
7245 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7246 $as_echo "$as_val"'`
7247 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7248 $as_echo "$ac_res" >&6; }
7250 # Is the header compilable?
7251 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7252 $as_echo_n "checking $ac_header usability... " >&6; }
7253 cat >conftest.
$ac_ext <<_ACEOF
7256 cat confdefs.h
>>conftest.
$ac_ext
7257 cat >>conftest.
$ac_ext <<_ACEOF
7258 /* end confdefs.h. */
7259 $ac_includes_default
7260 #include <$ac_header>
7262 rm -f conftest.
$ac_objext
7263 if { (ac_try
="$ac_compile"
7265 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7266 *) ac_try_echo=$ac_try;;
7268 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7269 $as_echo "$ac_try_echo") >&5
7270 (eval "$ac_compile") 2>conftest.er1
7272 grep -v '^ *+' conftest.er1 >conftest.err
7274 cat conftest.err >&5
7275 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7276 (exit $ac_status); } && {
7277 test -z "$ac_c_werror_flag" ||
7278 test ! -s conftest.err
7279 } && test -s conftest.$ac_objext; then
7280 ac_header_compiler=yes
7282 $as_echo "$as_me: failed program was:" >&5
7283 sed 's/^/| /' conftest.$ac_ext >&5
7285 ac_header_compiler=no
7288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7289 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7290 $as_echo "$ac_header_compiler" >&6; }
7292 # Is the header present?
7293 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7294 $as_echo_n "checking $ac_header presence... " >&6; }
7295 cat >conftest.$ac_ext <<_ACEOF
7298 cat confdefs.h >>conftest.$ac_ext
7299 cat >>conftest.$ac_ext <<_ACEOF
7300 /* end confdefs.h. */
7301 #include <$ac_header>
7303 if { (ac_try="$ac_cpp conftest.$ac_ext"
7305 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7306 *) ac_try_echo
=$ac_try;;
7308 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7309 $as_echo "$ac_try_echo") >&5
7310 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7312 grep -v '^ *+' conftest.er1
>conftest.err
7314 cat conftest.err
>&5
7315 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7316 (exit $ac_status); } >/dev
/null
&& {
7317 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7318 test ! -s conftest.err
7320 ac_header_preproc
=yes
7322 $as_echo "$as_me: failed program was:" >&5
7323 sed 's/^/| /' conftest.
$ac_ext >&5
7325 ac_header_preproc
=no
7328 rm -f conftest.err conftest.
$ac_ext
7329 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7330 $as_echo "$ac_header_preproc" >&6; }
7332 # So? What about this header?
7333 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7335 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7336 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7337 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7338 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7339 ac_header_preproc
=yes
7342 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7343 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7344 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7345 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7346 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7347 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7348 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7349 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7350 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7351 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7352 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7353 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7357 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7358 $as_echo_n "checking for $ac_header... " >&6; }
7359 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7360 $as_echo_n "(cached) " >&6
7362 eval "$as_ac_Header=\$ac_header_preproc"
7364 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7365 $as_echo "$as_val"'`
7366 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7367 $as_echo "$ac_res" >&6; }
7370 as_val
=`eval 'as_val=${'$as_ac_Header'}
7371 $as_echo "$as_val"'`
7372 if test "x$as_val" = x
""yes; then
7373 cat >>confdefs.h
<<_ACEOF
7374 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7381 { $as_echo "$as_me:$LINENO: checking for SIZE_MAX" >&5
7382 $as_echo_n "checking for SIZE_MAX... " >&6; }
7383 if test "${gl_cv_size_max+set}" = set; then
7384 $as_echo_n "(cached) " >&6
7388 cat >conftest.
$ac_ext <<_ACEOF
7391 cat confdefs.h
>>conftest.
$ac_ext
7392 cat >>conftest.
$ac_ext <<_ACEOF
7393 /* end confdefs.h. */
7404 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7405 $EGREP "Found it" >/dev
/null
2>&1; then
7410 if test -z "$gl_cv_size_max"; then
7411 if test "$cross_compiling" = yes; then
7412 # Depending upon the size, compute the lo and hi bounds.
7413 cat >conftest.
$ac_ext <<_ACEOF
7416 cat confdefs.h
>>conftest.
$ac_ext
7417 cat >>conftest.
$ac_ext <<_ACEOF
7418 /* end confdefs.h. */
7424 static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) >= 0)];
7431 rm -f conftest.
$ac_objext
7432 if { (ac_try
="$ac_compile"
7434 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7435 *) ac_try_echo=$ac_try;;
7437 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7438 $as_echo "$ac_try_echo") >&5
7439 (eval "$ac_compile") 2>conftest.er1
7441 grep -v '^ *+' conftest.er1 >conftest.err
7443 cat conftest.err >&5
7444 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7445 (exit $ac_status); } && {
7446 test -z "$ac_c_werror_flag" ||
7447 test ! -s conftest.err
7448 } && test -s conftest.$ac_objext; then
7451 cat >conftest.$ac_ext <<_ACEOF
7454 cat confdefs.h >>conftest.$ac_ext
7455 cat >>conftest.$ac_ext <<_ACEOF
7456 /* end confdefs.h. */
7462 static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) <= $ac_mid)];
7469 rm -f conftest.$ac_objext
7470 if { (ac_try="$ac_compile"
7472 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7473 *) ac_try_echo
=$ac_try;;
7475 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7476 $as_echo "$ac_try_echo") >&5
7477 (eval "$ac_compile") 2>conftest.er1
7479 grep -v '^ *+' conftest.er1
>conftest.err
7481 cat conftest.err
>&5
7482 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7483 (exit $ac_status); } && {
7484 test -z "$ac_c_werror_flag" ||
7485 test ! -s conftest.err
7486 } && test -s conftest.
$ac_objext; then
7487 ac_hi
=$ac_mid; break
7489 $as_echo "$as_me: failed program was:" >&5
7490 sed 's/^/| /' conftest.
$ac_ext >&5
7492 ac_lo
=`expr $ac_mid + 1`
7493 if test $ac_lo -le $ac_mid; then
7497 ac_mid
=`expr 2 '*' $ac_mid + 1`
7500 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7503 $as_echo "$as_me: failed program was:" >&5
7504 sed 's/^/| /' conftest.
$ac_ext >&5
7506 cat >conftest.
$ac_ext <<_ACEOF
7509 cat confdefs.h
>>conftest.
$ac_ext
7510 cat >>conftest.
$ac_ext <<_ACEOF
7511 /* end confdefs.h. */
7517 static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) < 0)];
7524 rm -f conftest.
$ac_objext
7525 if { (ac_try
="$ac_compile"
7527 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7528 *) ac_try_echo=$ac_try;;
7530 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7531 $as_echo "$ac_try_echo") >&5
7532 (eval "$ac_compile") 2>conftest.er1
7534 grep -v '^ *+' conftest.er1 >conftest.err
7536 cat conftest.err >&5
7537 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7538 (exit $ac_status); } && {
7539 test -z "$ac_c_werror_flag" ||
7540 test ! -s conftest.err
7541 } && test -s conftest.$ac_objext; then
7544 cat >conftest.$ac_ext <<_ACEOF
7547 cat confdefs.h >>conftest.$ac_ext
7548 cat >>conftest.$ac_ext <<_ACEOF
7549 /* end confdefs.h. */
7555 static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) >= $ac_mid)];
7562 rm -f conftest.$ac_objext
7563 if { (ac_try="$ac_compile"
7565 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7566 *) ac_try_echo
=$ac_try;;
7568 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7569 $as_echo "$ac_try_echo") >&5
7570 (eval "$ac_compile") 2>conftest.er1
7572 grep -v '^ *+' conftest.er1
>conftest.err
7574 cat conftest.err
>&5
7575 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7576 (exit $ac_status); } && {
7577 test -z "$ac_c_werror_flag" ||
7578 test ! -s conftest.err
7579 } && test -s conftest.
$ac_objext; then
7580 ac_lo
=$ac_mid; break
7582 $as_echo "$as_me: failed program was:" >&5
7583 sed 's/^/| /' conftest.
$ac_ext >&5
7585 ac_hi
=`expr '(' $ac_mid ')' - 1`
7586 if test $ac_mid -le $ac_hi; then
7590 ac_mid
=`expr 2 '*' $ac_mid`
7593 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7596 $as_echo "$as_me: failed program was:" >&5
7597 sed 's/^/| /' conftest.
$ac_ext >&5
7602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7606 # Binary search between lo and hi bounds.
7607 while test "x$ac_lo" != "x$ac_hi"; do
7608 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7609 cat >conftest.
$ac_ext <<_ACEOF
7612 cat confdefs.h
>>conftest.
$ac_ext
7613 cat >>conftest.
$ac_ext <<_ACEOF
7614 /* end confdefs.h. */
7620 static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) <= $ac_mid)];
7627 rm -f conftest.
$ac_objext
7628 if { (ac_try
="$ac_compile"
7630 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7631 *) ac_try_echo=$ac_try;;
7633 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7634 $as_echo "$ac_try_echo") >&5
7635 (eval "$ac_compile") 2>conftest.er1
7637 grep -v '^ *+' conftest.er1 >conftest.err
7639 cat conftest.err >&5
7640 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7641 (exit $ac_status); } && {
7642 test -z "$ac_c_werror_flag" ||
7643 test ! -s conftest.err
7644 } && test -s conftest.$ac_objext; then
7647 $as_echo "$as_me: failed program was:" >&5
7648 sed 's/^/| /' conftest.$ac_ext >&5
7650 ac_lo=`expr '(' $ac_mid ')' + 1`
7653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7656 ?*) size_t_bits_minus_1=$ac_lo;;
7657 '') size_t_bits_minus_1= ;;
7660 cat >conftest.$ac_ext <<_ACEOF
7663 cat confdefs.h >>conftest.$ac_ext
7664 cat >>conftest.$ac_ext <<_ACEOF
7665 /* end confdefs.h. */
7668 static long int longval () { return sizeof (size_t) * CHAR_BIT - 1; }
7669 static unsigned long int ulongval () { return sizeof (size_t) * CHAR_BIT - 1; }
7676 FILE *f = fopen ("conftest.val", "w");
7679 if ((sizeof (size_t) * CHAR_BIT - 1) < 0)
7681 long int i = longval ();
7682 if (i != (sizeof (size_t) * CHAR_BIT - 1))
7684 fprintf (f, "%ld", i);
7688 unsigned long int i = ulongval ();
7689 if (i != (sizeof (size_t) * CHAR_BIT - 1))
7691 fprintf (f, "%lu", i);
7693 /* Do not output a trailing newline, as this causes \r\n confusion
7694 on some platforms. */
7695 return ferror (f) || fclose (f) != 0;
7701 rm -f conftest$ac_exeext
7702 if { (ac_try="$ac_link"
7704 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7705 *) ac_try_echo
=$ac_try;;
7707 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7708 $as_echo "$ac_try_echo") >&5
7709 (eval "$ac_link") 2>&5
7711 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7712 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7713 { (case "(($ac_try" in
7714 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7715 *) ac_try_echo=$ac_try;;
7717 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7718 $as_echo "$ac_try_echo") >&5
7719 (eval "$ac_try") 2>&5
7721 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7722 (exit $ac_status); }; }; then
7723 size_t_bits_minus_1=`cat conftest.val
`
7725 $as_echo "$as_me: program exited with status $ac_status" >&5
7726 $as_echo "$as_me: failed program was:" >&5
7727 sed 's/^/| /' conftest.$ac_ext >&5
7730 size_t_bits_minus_1=
7732 rm -rf conftest.dSYM
7733 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7736 if test "$cross_compiling" = yes; then
7737 # Depending upon the size, compute the lo and hi bounds.
7738 cat >conftest.$ac_ext <<_ACEOF
7741 cat confdefs.h >>conftest.$ac_ext
7742 cat >>conftest.$ac_ext <<_ACEOF
7743 /* end confdefs.h. */
7748 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= 0)];
7755 rm -f conftest.$ac_objext
7756 if { (ac_try="$ac_compile"
7758 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7759 *) ac_try_echo
=$ac_try;;
7761 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7762 $as_echo "$ac_try_echo") >&5
7763 (eval "$ac_compile") 2>conftest.er1
7765 grep -v '^ *+' conftest.er1
>conftest.err
7767 cat conftest.err
>&5
7768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7769 (exit $ac_status); } && {
7770 test -z "$ac_c_werror_flag" ||
7771 test ! -s conftest.err
7772 } && test -s conftest.
$ac_objext; then
7775 cat >conftest.
$ac_ext <<_ACEOF
7778 cat confdefs.h
>>conftest.
$ac_ext
7779 cat >>conftest.
$ac_ext <<_ACEOF
7780 /* end confdefs.h. */
7785 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
7792 rm -f conftest.
$ac_objext
7793 if { (ac_try
="$ac_compile"
7795 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7796 *) ac_try_echo=$ac_try;;
7798 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7799 $as_echo "$ac_try_echo") >&5
7800 (eval "$ac_compile") 2>conftest.er1
7802 grep -v '^ *+' conftest.er1 >conftest.err
7804 cat conftest.err >&5
7805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7806 (exit $ac_status); } && {
7807 test -z "$ac_c_werror_flag" ||
7808 test ! -s conftest.err
7809 } && test -s conftest.$ac_objext; then
7810 ac_hi=$ac_mid; break
7812 $as_echo "$as_me: failed program was:" >&5
7813 sed 's/^/| /' conftest.$ac_ext >&5
7815 ac_lo=`expr $ac_mid + 1`
7816 if test $ac_lo -le $ac_mid; then
7820 ac_mid=`expr 2 '*' $ac_mid + 1`
7823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7826 $as_echo "$as_me: failed program was:" >&5
7827 sed 's/^/| /' conftest.$ac_ext >&5
7829 cat >conftest.$ac_ext <<_ACEOF
7832 cat confdefs.h >>conftest.$ac_ext
7833 cat >>conftest.$ac_ext <<_ACEOF
7834 /* end confdefs.h. */
7839 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) < 0)];
7846 rm -f conftest.$ac_objext
7847 if { (ac_try="$ac_compile"
7849 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7850 *) ac_try_echo
=$ac_try;;
7852 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7853 $as_echo "$ac_try_echo") >&5
7854 (eval "$ac_compile") 2>conftest.er1
7856 grep -v '^ *+' conftest.er1
>conftest.err
7858 cat conftest.err
>&5
7859 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7860 (exit $ac_status); } && {
7861 test -z "$ac_c_werror_flag" ||
7862 test ! -s conftest.err
7863 } && test -s conftest.
$ac_objext; then
7866 cat >conftest.
$ac_ext <<_ACEOF
7869 cat confdefs.h
>>conftest.
$ac_ext
7870 cat >>conftest.
$ac_ext <<_ACEOF
7871 /* end confdefs.h. */
7876 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= $ac_mid)];
7883 rm -f conftest.
$ac_objext
7884 if { (ac_try
="$ac_compile"
7886 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7887 *) ac_try_echo=$ac_try;;
7889 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7890 $as_echo "$ac_try_echo") >&5
7891 (eval "$ac_compile") 2>conftest.er1
7893 grep -v '^ *+' conftest.er1 >conftest.err
7895 cat conftest.err >&5
7896 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7897 (exit $ac_status); } && {
7898 test -z "$ac_c_werror_flag" ||
7899 test ! -s conftest.err
7900 } && test -s conftest.$ac_objext; then
7901 ac_lo=$ac_mid; break
7903 $as_echo "$as_me: failed program was:" >&5
7904 sed 's/^/| /' conftest.$ac_ext >&5
7906 ac_hi=`expr '(' $ac_mid ')' - 1`
7907 if test $ac_mid -le $ac_hi; then
7911 ac_mid=`expr 2 '*' $ac_mid`
7914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7917 $as_echo "$as_me: failed program was:" >&5
7918 sed 's/^/| /' conftest.$ac_ext >&5
7923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7927 # Binary search between lo and hi bounds.
7928 while test "x$ac_lo" != "x$ac_hi"; do
7929 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7930 cat >conftest.$ac_ext <<_ACEOF
7933 cat confdefs.h >>conftest.$ac_ext
7934 cat >>conftest.$ac_ext <<_ACEOF
7935 /* end confdefs.h. */
7940 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
7947 rm -f conftest.$ac_objext
7948 if { (ac_try="$ac_compile"
7950 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7951 *) ac_try_echo
=$ac_try;;
7953 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7954 $as_echo "$ac_try_echo") >&5
7955 (eval "$ac_compile") 2>conftest.er1
7957 grep -v '^ *+' conftest.er1
>conftest.err
7959 cat conftest.err
>&5
7960 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7961 (exit $ac_status); } && {
7962 test -z "$ac_c_werror_flag" ||
7963 test ! -s conftest.err
7964 } && test -s conftest.
$ac_objext; then
7967 $as_echo "$as_me: failed program was:" >&5
7968 sed 's/^/| /' conftest.
$ac_ext >&5
7970 ac_lo
=`expr '(' $ac_mid ')' + 1`
7973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7976 ?
*) fits_in_uint
=$ac_lo;;
7977 '') fits_in_uint
= ;;
7980 cat >conftest.
$ac_ext <<_ACEOF
7983 cat confdefs.h
>>conftest.
$ac_ext
7984 cat >>conftest.
$ac_ext <<_ACEOF
7985 /* end confdefs.h. */
7987 static long int longval () { return sizeof (size_t) <= sizeof (unsigned int); }
7988 static unsigned long int ulongval () { return sizeof (size_t) <= sizeof (unsigned int); }
7995 FILE *f = fopen ("conftest.val", "w");
7998 if ((sizeof (size_t) <= sizeof (unsigned int)) < 0)
8000 long int i = longval ();
8001 if (i != (sizeof (size_t) <= sizeof (unsigned int)))
8003 fprintf (f, "%ld", i);
8007 unsigned long int i = ulongval ();
8008 if (i != (sizeof (size_t) <= sizeof (unsigned int)))
8010 fprintf (f, "%lu", i);
8012 /* Do not output a trailing newline, as this causes \r\n confusion
8013 on some platforms. */
8014 return ferror (f) || fclose (f) != 0;
8020 rm -f conftest
$ac_exeext
8021 if { (ac_try
="$ac_link"
8023 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8024 *) ac_try_echo=$ac_try;;
8026 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8027 $as_echo "$ac_try_echo") >&5
8028 (eval "$ac_link") 2>&5
8030 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8031 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8032 { (case "(($ac_try" in
8033 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8034 *) ac_try_echo
=$ac_try;;
8036 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8037 $as_echo "$ac_try_echo") >&5
8038 (eval "$ac_try") 2>&5
8040 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8041 (exit $ac_status); }; }; then
8042 fits_in_uint
=`cat conftest.val`
8044 $as_echo "$as_me: program exited with status $ac_status" >&5
8045 $as_echo "$as_me: failed program was:" >&5
8046 sed 's/^/| /' conftest.
$ac_ext >&5
8051 rm -rf conftest.dSYM
8052 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8055 if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
8056 if test $fits_in_uint = 1; then
8057 cat >conftest.
$ac_ext <<_ACEOF
8060 cat confdefs.h
>>conftest.
$ac_ext
8061 cat >>conftest.
$ac_ext <<_ACEOF
8062 /* end confdefs.h. */
8065 extern unsigned long foo;
8075 rm -f conftest.
$ac_objext
8076 if { (ac_try
="$ac_compile"
8078 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8079 *) ac_try_echo=$ac_try;;
8081 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8082 $as_echo "$ac_try_echo") >&5
8083 (eval "$ac_compile") 2>conftest.er1
8085 grep -v '^ *+' conftest.er1 >conftest.err
8087 cat conftest.err >&5
8088 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8089 (exit $ac_status); } && {
8090 test -z "$ac_c_werror_flag" ||
8091 test ! -s conftest.err
8092 } && test -s conftest.$ac_objext; then
8095 $as_echo "$as_me: failed program was:" >&5
8096 sed 's/^/| /' conftest.$ac_ext >&5
8101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8103 if test $fits_in_uint = 1; then
8104 gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)"
8106 gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)"
8109 gl_cv_size_max='((size_t)~(size_t)0)'
8115 { $as_echo "$as_me:$LINENO: result: $gl_cv_size_max" >&5
8116 $as_echo "$gl_cv_size_max" >&6; }
8117 if test "$gl_cv_size_max" != yes; then
8119 cat >>confdefs.h <<_ACEOF
8120 #define SIZE_MAX $gl_cv_size_max
8126 { $as_echo "$as_me:$LINENO: checking how to copy va_list" >&5
8127 $as_echo_n "checking how to copy va_list... " >&6; }
8128 cat >conftest.$ac_ext <<_ACEOF
8131 cat confdefs.h >>conftest.$ac_ext
8132 cat >>conftest.$ac_ext <<_ACEOF
8133 /* end confdefs.h. */
8148 rm -f conftest.$ac_objext conftest$ac_exeext
8149 if { (ac_try="$ac_link"
8151 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8152 *) ac_try_echo
=$ac_try;;
8154 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8155 $as_echo "$ac_try_echo") >&5
8156 (eval "$ac_link") 2>conftest.er1
8158 grep -v '^ *+' conftest.er1
>conftest.err
8160 cat conftest.err
>&5
8161 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8162 (exit $ac_status); } && {
8163 test -z "$ac_c_werror_flag" ||
8164 test ! -s conftest.err
8165 } && test -s conftest
$ac_exeext && {
8166 test "$cross_compiling" = yes ||
8167 $as_test_x conftest
$ac_exeext
8169 { $as_echo "$as_me:$LINENO: result: va_copy" >&5
8170 $as_echo "va_copy" >&6; }
8172 $as_echo "$as_me: failed program was:" >&5
8173 sed 's/^/| /' conftest.
$ac_ext >&5
8175 cat >conftest.
$ac_ext <<_ACEOF
8178 cat confdefs.h
>>conftest.
$ac_ext
8179 cat >>conftest.
$ac_ext <<_ACEOF
8180 /* end confdefs.h. */
8189 __va_copy(ap1, ap2);
8195 rm -f conftest.
$ac_objext conftest
$ac_exeext
8196 if { (ac_try
="$ac_link"
8198 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8199 *) ac_try_echo=$ac_try;;
8201 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8202 $as_echo "$ac_try_echo") >&5
8203 (eval "$ac_link") 2>conftest.er1
8205 grep -v '^ *+' conftest.er1 >conftest.err
8207 cat conftest.err >&5
8208 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8209 (exit $ac_status); } && {
8210 test -z "$ac_c_werror_flag" ||
8211 test ! -s conftest.err
8212 } && test -s conftest$ac_exeext && {
8213 test "$cross_compiling" = yes ||
8214 $as_test_x conftest$ac_exeext
8216 cat >>confdefs.h <<\_ACEOF
8217 #define va_copy __va_copy
8219 { $as_echo "$as_me:$LINENO: result: __va_copy" >&5
8220 $as_echo "__va_copy" >&6; }
8222 $as_echo "$as_me: failed program was:" >&5
8223 sed 's/^/| /' conftest.$ac_ext >&5
8225 cat >>confdefs.h <<\_ACEOF
8226 #define va_copy(dest,src) memcpy(&dest,&src,sizeof(va_list))
8229 { $as_echo "$as_me:$LINENO: result: memcpy" >&5
8230 $as_echo "memcpy" >&6; }
8233 rm -rf conftest.dSYM
8234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8235 conftest$ac_exeext conftest.$ac_ext
8239 rm -rf conftest.dSYM
8240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8241 conftest$ac_exeext conftest.$ac_ext
8248 for ac_func in memmove memset setlocale strtol gettimeofday
8250 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
8251 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
8252 $as_echo_n "checking for $ac_func... " >&6; }
8253 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8254 $as_echo_n "(cached) " >&6
8256 cat >conftest.$ac_ext <<_ACEOF
8259 cat confdefs.h >>conftest.$ac_ext
8260 cat >>conftest.$ac_ext <<_ACEOF
8261 /* end confdefs.h. */
8262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8264 #define $ac_func innocuous_$ac_func
8266 /* System header to define __stub macros and hopefully few prototypes,
8267 which can conflict with char $ac_func (); below.
8268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8269 <limits.h> exists even on freestanding compilers. */
8272 # include <limits.h>
8274 # include <assert.h>
8279 /* Override any GCC internal prototype to avoid an error.
8280 Use char because int might match the return type of a GCC
8281 builtin and then its argument prototype would still apply. */
8286 /* The GNU C library defines this for functions which it implements
8287 to always fail with ENOSYS. Some functions are actually named
8288 something starting with __ and the normal name is an alias. */
8289 #if defined __stub_$ac_func || defined __stub___$ac_func
8301 rm -f conftest.$ac_objext conftest$ac_exeext
8302 if { (ac_try="$ac_link"
8304 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8305 *) ac_try_echo
=$ac_try;;
8307 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8308 $as_echo "$ac_try_echo") >&5
8309 (eval "$ac_link") 2>conftest.er1
8311 grep -v '^ *+' conftest.er1
>conftest.err
8313 cat conftest.err
>&5
8314 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8315 (exit $ac_status); } && {
8316 test -z "$ac_c_werror_flag" ||
8317 test ! -s conftest.err
8318 } && test -s conftest
$ac_exeext && {
8319 test "$cross_compiling" = yes ||
8320 $as_test_x conftest
$ac_exeext
8322 eval "$as_ac_var=yes"
8324 $as_echo "$as_me: failed program was:" >&5
8325 sed 's/^/| /' conftest.
$ac_ext >&5
8327 eval "$as_ac_var=no"
8330 rm -rf conftest.dSYM
8331 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8332 conftest
$ac_exeext conftest.
$ac_ext
8334 ac_res
=`eval 'as_val=${'$as_ac_var'}
8335 $as_echo "$as_val"'`
8336 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8337 $as_echo "$ac_res" >&6; }
8338 as_val
=`eval 'as_val=${'$as_ac_var'}
8339 $as_echo "$as_val"'`
8340 if test "x$as_val" = x
""yes; then
8341 cat >>confdefs.h
<<_ACEOF
8342 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8351 saved_CFLAGS
="$CFLAGS"
8352 { $as_echo "$as_me:$LINENO: checking for IEEE-754 switches" >&5
8353 $as_echo_n "checking for IEEE-754 switches... " >&6; }
8354 if test "${mpfr_cv_ieee_switches+set}" = set; then
8355 $as_echo_n "(cached) " >&6
8358 if test -n "$GCC"; then
8359 mpfr_cv_ieee_switches
="-mfp-rounding-mode=d -mieee-with-inexact"
8361 mpfr_cv_ieee_switches
="-fprm d -ieee_with_inexact"
8363 CFLAGS
="$CFLAGS $mpfr_cv_ieee_switches"
8364 cat >conftest.
$ac_ext <<_ACEOF
8367 cat confdefs.h
>>conftest.
$ac_ext
8368 cat >>conftest.
$ac_ext <<_ACEOF
8369 /* end confdefs.h. */
8379 rm -f conftest.
$ac_objext
8380 if { (ac_try
="$ac_compile"
8382 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8383 *) ac_try_echo=$ac_try;;
8385 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8386 $as_echo "$ac_try_echo") >&5
8387 (eval "$ac_compile") 2>conftest.er1
8389 grep -v '^ *+' conftest.er1 >conftest.err
8391 cat conftest.err >&5
8392 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8393 (exit $ac_status); } && {
8394 test -z "$ac_c_werror_flag" ||
8395 test ! -s conftest.err
8396 } && test -s conftest.$ac_objext; then
8399 $as_echo "$as_me: failed program was:" >&5
8400 sed 's/^/| /' conftest.$ac_ext >&5
8402 mpfr_cv_ieee_switches="none"
8405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8408 { $as_echo "$as_me:$LINENO: result: $mpfr_cv_ieee_switches" >&5
8409 $as_echo "$mpfr_cv_ieee_switches" >&6; }
8410 if test "$mpfr_cv_ieee_switches" = "none"; then
8411 CFLAGS="$saved_CFLAGS"
8413 CFLAGS="$saved_CFLAGS $mpfr_cv_ieee_switches"
8419 case `sed -n '/^vendor_id/s/^.*: \(.*\)/\1/p' < /proc
/cpuinfo
` in
8421 cat >>confdefs.h <<\_ACEOF
8422 #define HAVE_HOST_CORE2 1
8428 { $as_echo "$as_me:$LINENO: checking for long long int" >&5
8429 $as_echo_n "checking for long long int... " >&6; }
8430 if test "${ac_cv_type_long_long_int+set}" = set; then
8431 $as_echo_n "(cached) " >&6
8433 ac_cv_type_long_long_int=no
8434 cat >conftest.$ac_ext <<_ACEOF
8437 cat confdefs.h >>conftest.$ac_ext
8438 cat >>conftest.$ac_ext <<_ACEOF
8439 /* end confdefs.h. */
8440 $ac_includes_default
8444 if (sizeof (long long int))
8450 rm -f conftest.$ac_objext
8451 if { (ac_try="$ac_compile"
8453 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8454 *) ac_try_echo
=$ac_try;;
8456 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8457 $as_echo "$ac_try_echo") >&5
8458 (eval "$ac_compile") 2>conftest.er1
8460 grep -v '^ *+' conftest.er1
>conftest.err
8462 cat conftest.err
>&5
8463 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8464 (exit $ac_status); } && {
8465 test -z "$ac_c_werror_flag" ||
8466 test ! -s conftest.err
8467 } && test -s conftest.
$ac_objext; then
8468 cat >conftest.
$ac_ext <<_ACEOF
8471 cat confdefs.h
>>conftest.
$ac_ext
8472 cat >>conftest.
$ac_ext <<_ACEOF
8473 /* end confdefs.h. */
8474 $ac_includes_default
8478 if (sizeof ((long long int)))
8484 rm -f conftest.
$ac_objext
8485 if { (ac_try
="$ac_compile"
8487 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8488 *) ac_try_echo=$ac_try;;
8490 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8491 $as_echo "$ac_try_echo") >&5
8492 (eval "$ac_compile") 2>conftest.er1
8494 grep -v '^ *+' conftest.er1 >conftest.err
8496 cat conftest.err >&5
8497 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8498 (exit $ac_status); } && {
8499 test -z "$ac_c_werror_flag" ||
8500 test ! -s conftest.err
8501 } && test -s conftest.$ac_objext; then
8504 $as_echo "$as_me: failed program was:" >&5
8505 sed 's/^/| /' conftest.$ac_ext >&5
8507 ac_cv_type_long_long_int=yes
8510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8512 $as_echo "$as_me: failed program was:" >&5
8513 sed 's/^/| /' conftest.$ac_ext >&5
8518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8520 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
8521 $as_echo "$ac_cv_type_long_long_int" >&6; }
8522 if test "x$ac_cv_type_long_long_int" = x""yes; then
8524 cat >>confdefs.h <<\_ACEOF
8525 #define HAVE_LONG_LONG 1
8531 { $as_echo "$as_me:$LINENO: checking for intmax_t" >&5
8532 $as_echo_n "checking for intmax_t... " >&6; }
8533 if test "${ac_cv_type_intmax_t+set}" = set; then
8534 $as_echo_n "(cached) " >&6
8536 ac_cv_type_intmax_t=no
8537 cat >conftest.$ac_ext <<_ACEOF
8540 cat confdefs.h >>conftest.$ac_ext
8541 cat >>conftest.$ac_ext <<_ACEOF
8542 /* end confdefs.h. */
8543 $ac_includes_default
8547 if (sizeof (intmax_t))
8553 rm -f conftest.$ac_objext
8554 if { (ac_try="$ac_compile"
8556 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8557 *) ac_try_echo
=$ac_try;;
8559 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8560 $as_echo "$ac_try_echo") >&5
8561 (eval "$ac_compile") 2>conftest.er1
8563 grep -v '^ *+' conftest.er1
>conftest.err
8565 cat conftest.err
>&5
8566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8567 (exit $ac_status); } && {
8568 test -z "$ac_c_werror_flag" ||
8569 test ! -s conftest.err
8570 } && test -s conftest.
$ac_objext; then
8571 cat >conftest.
$ac_ext <<_ACEOF
8574 cat confdefs.h
>>conftest.
$ac_ext
8575 cat >>conftest.
$ac_ext <<_ACEOF
8576 /* end confdefs.h. */
8577 $ac_includes_default
8581 if (sizeof ((intmax_t)))
8587 rm -f conftest.
$ac_objext
8588 if { (ac_try
="$ac_compile"
8590 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8591 *) ac_try_echo=$ac_try;;
8593 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8594 $as_echo "$ac_try_echo") >&5
8595 (eval "$ac_compile") 2>conftest.er1
8597 grep -v '^ *+' conftest.er1 >conftest.err
8599 cat conftest.err >&5
8600 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8601 (exit $ac_status); } && {
8602 test -z "$ac_c_werror_flag" ||
8603 test ! -s conftest.err
8604 } && test -s conftest.$ac_objext; then
8607 $as_echo "$as_me: failed program was:" >&5
8608 sed 's/^/| /' conftest.$ac_ext >&5
8610 ac_cv_type_intmax_t=yes
8613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8615 $as_echo "$as_me: failed program was:" >&5
8616 sed 's/^/| /' conftest.$ac_ext >&5
8621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8623 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
8624 $as_echo "$ac_cv_type_intmax_t" >&6; }
8625 if test "x$ac_cv_type_intmax_t" = x""yes; then
8627 cat >>confdefs.h <<_ACEOF
8628 #define HAVE_INTMAX_T 1
8635 { $as_echo "$as_me:$LINENO: checking for union fpc_csr" >&5
8636 $as_echo_n "checking for union fpc_csr... " >&6; }
8637 if test "${ac_cv_type_union_fpc_csr+set}" = set; then
8638 $as_echo_n "(cached) " >&6
8640 ac_cv_type_union_fpc_csr=no
8641 cat >conftest.$ac_ext <<_ACEOF
8644 cat confdefs.h >>conftest.$ac_ext
8645 cat >>conftest.$ac_ext <<_ACEOF
8646 /* end confdefs.h. */
8649 # include <sys/fpu.h>
8656 if (sizeof (union fpc_csr))
8662 rm -f conftest.$ac_objext
8663 if { (ac_try="$ac_compile"
8665 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8666 *) ac_try_echo
=$ac_try;;
8668 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8669 $as_echo "$ac_try_echo") >&5
8670 (eval "$ac_compile") 2>conftest.er1
8672 grep -v '^ *+' conftest.er1
>conftest.err
8674 cat conftest.err
>&5
8675 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8676 (exit $ac_status); } && {
8677 test -z "$ac_c_werror_flag" ||
8678 test ! -s conftest.err
8679 } && test -s conftest.
$ac_objext; then
8680 cat >conftest.
$ac_ext <<_ACEOF
8683 cat confdefs.h
>>conftest.
$ac_ext
8684 cat >>conftest.
$ac_ext <<_ACEOF
8685 /* end confdefs.h. */
8688 # include <sys/fpu.h>
8695 if (sizeof ((union fpc_csr)))
8701 rm -f conftest.
$ac_objext
8702 if { (ac_try
="$ac_compile"
8704 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8705 *) ac_try_echo=$ac_try;;
8707 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8708 $as_echo "$ac_try_echo") >&5
8709 (eval "$ac_compile") 2>conftest.er1
8711 grep -v '^ *+' conftest.er1 >conftest.err
8713 cat conftest.err >&5
8714 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8715 (exit $ac_status); } && {
8716 test -z "$ac_c_werror_flag" ||
8717 test ! -s conftest.err
8718 } && test -s conftest.$ac_objext; then
8721 $as_echo "$as_me: failed program was:" >&5
8722 sed 's/^/| /' conftest.$ac_ext >&5
8724 ac_cv_type_union_fpc_csr=yes
8727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8729 $as_echo "$as_me: failed program was:" >&5
8730 sed 's/^/| /' conftest.$ac_ext >&5
8735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8737 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_union_fpc_csr" >&5
8738 $as_echo "$ac_cv_type_union_fpc_csr" >&6; }
8739 if test "x$ac_cv_type_union_fpc_csr" = x""yes; then
8741 cat >>confdefs.h <<\_ACEOF
8742 #define HAVE_FPC_CSR 1
8748 { $as_echo "$as_me:$LINENO: checking for fesetround" >&5
8749 $as_echo_n "checking for fesetround... " >&6; }
8750 if test "${mpfr_cv_have_fesetround+set}" = set; then
8751 $as_echo_n "(cached) " >&6
8755 LIBS="$LIBS $MPFR_LIBM"
8756 cat >conftest.$ac_ext <<_ACEOF
8759 cat confdefs.h >>conftest.$ac_ext
8760 cat >>conftest.$ac_ext <<_ACEOF
8761 /* end confdefs.h. */
8766 fesetround(FE_TONEAREST);
8771 rm -f conftest.$ac_objext conftest$ac_exeext
8772 if { (ac_try="$ac_link"
8774 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8775 *) ac_try_echo
=$ac_try;;
8777 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8778 $as_echo "$ac_try_echo") >&5
8779 (eval "$ac_link") 2>conftest.er1
8781 grep -v '^ *+' conftest.er1
>conftest.err
8783 cat conftest.err
>&5
8784 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8785 (exit $ac_status); } && {
8786 test -z "$ac_c_werror_flag" ||
8787 test ! -s conftest.err
8788 } && test -s conftest
$ac_exeext && {
8789 test "$cross_compiling" = yes ||
8790 $as_test_x conftest
$ac_exeext
8792 mpfr_cv_have_fesetround
=yes
8794 $as_echo "$as_me: failed program was:" >&5
8795 sed 's/^/| /' conftest.
$ac_ext >&5
8797 mpfr_cv_have_fesetround
=no
8800 rm -rf conftest.dSYM
8801 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8802 conftest
$ac_exeext conftest.
$ac_ext
8806 { $as_echo "$as_me:$LINENO: result: $mpfr_cv_have_fesetround" >&5
8807 $as_echo "$mpfr_cv_have_fesetround" >&6; }
8808 if test "$mpfr_cv_have_fesetround" = "yes"; then
8810 cat >>confdefs.h
<<\_ACEOF
8811 #define MPFR_HAVE_FESETROUND 1
8816 if test -n "$GCC"; then
8817 { $as_echo "$as_me:$LINENO: checking for gcc float-conversion bug" >&5
8818 $as_echo_n "checking for gcc float-conversion bug... " >&6; }
8819 if test "${mpfr_cv_gcc_floatconv_bug+set}" = set; then
8820 $as_echo_n "(cached) " >&6
8824 LIBS
="$LIBS $MPFR_LIBM"
8825 if test "$cross_compiling" = yes; then
8826 mpfr_cv_gcc_floatconv_bug
="cannot test, use -ffloat-store"
8828 cat >conftest.
$ac_ext <<_ACEOF
8831 cat confdefs.h
>>conftest.
$ac_ext
8832 cat >>conftest.
$ac_ext <<_ACEOF
8833 /* end confdefs.h. */
8836 #ifdef MPFR_HAVE_FESETROUND
8839 static double get_max (void);
8843 for (i = 1; i <= 11; i++)
8847 #ifdef MPFR_HAVE_FESETROUND
8848 /* Useful test for the G4 PowerPC */
8849 fesetround(FE_TOWARDZERO);
8852 if (x != get_max ())
8857 static double get_max (void) { return DBL_MAX; }
8860 rm -f conftest
$ac_exeext
8861 if { (ac_try
="$ac_link"
8863 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8864 *) ac_try_echo=$ac_try;;
8866 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8867 $as_echo "$ac_try_echo") >&5
8868 (eval "$ac_link") 2>&5
8870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8871 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8872 { (case "(($ac_try" in
8873 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8874 *) ac_try_echo
=$ac_try;;
8876 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8877 $as_echo "$ac_try_echo") >&5
8878 (eval "$ac_try") 2>&5
8880 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8881 (exit $ac_status); }; }; then
8882 mpfr_cv_gcc_floatconv_bug
="no"
8884 $as_echo "$as_me: program exited with status $ac_status" >&5
8885 $as_echo "$as_me: failed program was:" >&5
8886 sed 's/^/| /' conftest.
$ac_ext >&5
8889 mpfr_cv_gcc_floatconv_bug
="yes, use -ffloat-store"
8891 rm -rf conftest.dSYM
8892 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8899 { $as_echo "$as_me:$LINENO: result: $mpfr_cv_gcc_floatconv_bug" >&5
8900 $as_echo "$mpfr_cv_gcc_floatconv_bug" >&6; }
8901 if test "$mpfr_cv_gcc_floatconv_bug" != "no"; then
8902 CFLAGS
="$CFLAGS -ffloat-store"
8906 { $as_echo "$as_me:$LINENO: checking for denormalized numbers" >&5
8907 $as_echo_n "checking for denormalized numbers... " >&6; }
8908 if test "${mpfr_cv_have_denorms+set}" = set; then
8909 $as_echo_n "(cached) " >&6
8912 if test "$cross_compiling" = yes; then
8913 mpfr_cv_have_denorms
=no
8915 cat >conftest.
$ac_ext <<_ACEOF
8918 cat confdefs.h
>>conftest.
$ac_ext
8919 cat >>conftest.
$ac_ext <<_ACEOF
8920 /* end confdefs.h. */
8925 double x = 2.22507385850720138309e-308;
8926 fprintf (stderr, "%e\n", x / 2.0);
8927 return 2.0 * (x / 2.0) != x;
8931 rm -f conftest
$ac_exeext
8932 if { (ac_try
="$ac_link"
8934 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8935 *) ac_try_echo=$ac_try;;
8937 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8938 $as_echo "$ac_try_echo") >&5
8939 (eval "$ac_link") 2>&5
8941 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8942 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8943 { (case "(($ac_try" in
8944 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8945 *) ac_try_echo
=$ac_try;;
8947 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8948 $as_echo "$ac_try_echo") >&5
8949 (eval "$ac_try") 2>&5
8951 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8952 (exit $ac_status); }; }; then
8953 mpfr_cv_have_denorms
=yes
8955 $as_echo "$as_me: program exited with status $ac_status" >&5
8956 $as_echo "$as_me: failed program was:" >&5
8957 sed 's/^/| /' conftest.
$ac_ext >&5
8960 mpfr_cv_have_denorms
=no
8962 rm -rf conftest.dSYM
8963 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8969 { $as_echo "$as_me:$LINENO: result: $mpfr_cv_have_denorms" >&5
8970 $as_echo "$mpfr_cv_have_denorms" >&6; }
8971 if test "$mpfr_cv_have_denorms" = "yes"; then
8973 cat >>confdefs.h
<<\_ACEOF
8974 #define HAVE_DENORMS 1
8979 { $as_echo "$as_me:$LINENO: checking if NAN == NAN" >&5
8980 $as_echo_n "checking if NAN == NAN... " >&6; }
8981 if test "${mpfr_cv_nanisnan+set}" = set; then
8982 $as_echo_n "(cached) " >&6
8985 if test "$cross_compiling" = yes; then
8986 mpfr_cv_nanisnan
="cannot test, assume no"
8988 cat >conftest.
$ac_ext <<_ACEOF
8991 cat confdefs.h
>>conftest.
$ac_ext
8992 cat >>conftest.
$ac_ext <<_ACEOF
8993 /* end confdefs.h. */
8998 # define NAN (0.0/0.0)
9007 rm -f conftest
$ac_exeext
9008 if { (ac_try
="$ac_link"
9010 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9011 *) ac_try_echo=$ac_try;;
9013 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9014 $as_echo "$ac_try_echo") >&5
9015 (eval "$ac_link") 2>&5
9017 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9018 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9019 { (case "(($ac_try" in
9020 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9021 *) ac_try_echo
=$ac_try;;
9023 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9024 $as_echo "$ac_try_echo") >&5
9025 (eval "$ac_try") 2>&5
9027 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9028 (exit $ac_status); }; }; then
9029 mpfr_cv_nanisnan
="yes"
9031 $as_echo "$as_me: program exited with status $ac_status" >&5
9032 $as_echo "$as_me: failed program was:" >&5
9033 sed 's/^/| /' conftest.
$ac_ext >&5
9036 mpfr_cv_nanisnan
="no"
9038 rm -rf conftest.dSYM
9039 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9045 { $as_echo "$as_me:$LINENO: result: $mpfr_cv_nanisnan" >&5
9046 $as_echo "$mpfr_cv_nanisnan" >&6; }
9047 if test "$mpfr_cv_nanisnan" = "yes"; then
9049 cat >>confdefs.h
<<\_ACEOF
9050 #define MPFR_NANISNAN 1
9053 { $as_echo "$as_me:$LINENO: WARNING: The test NAN != NAN is false. The probable reason is that" >&5
9054 $as_echo "$as_me: WARNING: The test NAN != NAN is false. The probable reason is that" >&2;}
9055 { $as_echo "$as_me:$LINENO: WARNING: your compiler optimizes floating-point expressions in an" >&5
9056 $as_echo "$as_me: WARNING: your compiler optimizes floating-point expressions in an" >&2;}
9057 { $as_echo "$as_me:$LINENO: WARNING: unsafe way because some option, such as -ffast-math or" >&5
9058 $as_echo "$as_me: WARNING: unsafe way because some option, such as -ffast-math or" >&2;}
9059 { $as_echo "$as_me:$LINENO: WARNING: -fast (depending on the compiler), has been used. You" >&5
9060 $as_echo "$as_me: WARNING: -fast (depending on the compiler), has been used. You" >&2;}
9061 { $as_echo "$as_me:$LINENO: WARNING: should NOT use such an option, otherwise MPFR functions" >&5
9062 $as_echo "$as_me: WARNING: should NOT use such an option, otherwise MPFR functions" >&2;}
9063 { $as_echo "$as_me:$LINENO: WARNING: such as mpfr_get_d and mpfr_set_d may return incorrect" >&5
9064 $as_echo "$as_me: WARNING: such as mpfr_get_d and mpfr_set_d may return incorrect" >&2;}
9065 { $as_echo "$as_me:$LINENO: WARNING: results on special FP numbers (e.g. NaN or signed zeros)." >&5
9066 $as_echo "$as_me: WARNING: results on special FP numbers (e.g. NaN or signed zeros)." >&2;}
9067 { $as_echo "$as_me:$LINENO: WARNING: If you did not use such an option, please send us a bug" >&5
9068 $as_echo "$as_me: WARNING: If you did not use such an option, please send us a bug" >&2;}
9069 { $as_echo "$as_me:$LINENO: WARNING: report so that we can try to find a workaround for your" >&5
9070 $as_echo "$as_me: WARNING: report so that we can try to find a workaround for your" >&2;}
9071 { $as_echo "$as_me:$LINENO: WARNING: platform and/or document the behavior." >&5
9072 $as_echo "$as_me: WARNING: platform and/or document the behavior." >&2;}
9075 { $as_echo "$as_me:$LINENO: checking if charset has consecutive values" >&5
9076 $as_echo_n "checking if charset has consecutive values... " >&6; }
9077 if test "$cross_compiling" = yes; then
9078 { $as_echo "$as_me:$LINENO: result: can not test" >&5
9079 $as_echo "can not test" >&6; }
9081 cat >conftest.
$ac_ext <<_ACEOF
9084 cat confdefs.h
>>conftest.
$ac_ext
9085 cat >>conftest.
$ac_ext <<_ACEOF
9086 /* end confdefs.h. */
9088 char *number = "0123456789";
9089 char *lower = "abcdefghijklmnopqrstuvwxyz";
9090 char *upper = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
9098 for (p = (unsigned char*) number, i = 0; i < 9; i++)
9099 if ( (*p)+1 != *(p+1) ) return 1;
9100 for (p = (unsigned char*) lower, i = 0; i < 25; i++)
9101 if ( (*p)+1 != *(p+1) ) return 1;
9102 for (p = (unsigned char*) upper, i = 0; i < 25; i++)
9103 if ( (*p)+1 != *(p+1) ) return 1;
9109 rm -f conftest
$ac_exeext
9110 if { (ac_try
="$ac_link"
9112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9113 *) ac_try_echo=$ac_try;;
9115 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9116 $as_echo "$ac_try_echo") >&5
9117 (eval "$ac_link") 2>&5
9119 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9121 { (case "(($ac_try" in
9122 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9123 *) ac_try_echo
=$ac_try;;
9125 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9126 $as_echo "$ac_try_echo") >&5
9127 (eval "$ac_try") 2>&5
9129 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9130 (exit $ac_status); }; }; then
9131 { $as_echo "$as_me:$LINENO: result: yes" >&5
9132 $as_echo "yes" >&6; }
9134 $as_echo "$as_me: program exited with status $ac_status" >&5
9135 $as_echo "$as_me: failed program was:" >&5
9136 sed 's/^/| /' conftest.
$ac_ext >&5
9140 { $as_echo "$as_me:$LINENO: result: no" >&5
9141 $as_echo "no" >&6; }
9143 cat >>confdefs.h
<<\_ACEOF
9144 #define MPFR_NO_CONSECUTIVE_CHARSET 1
9149 rm -rf conftest.dSYM
9150 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9156 LIBS
="$LIBS $MPFR_LIBM"
9157 { $as_echo "$as_me:$LINENO: checking for math/round" >&5
9158 $as_echo_n "checking for math/round... " >&6; }
9159 cat >conftest.
$ac_ext <<_ACEOF
9162 cat confdefs.h
>>conftest.
$ac_ext
9163 cat >>conftest.
$ac_ext <<_ACEOF
9164 /* end confdefs.h. */
9167 int f (double (*func)(double)) { return 0;}
9181 rm -f conftest.
$ac_objext conftest
$ac_exeext
9182 if { (ac_try
="$ac_link"
9184 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9185 *) ac_try_echo=$ac_try;;
9187 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9188 $as_echo "$ac_try_echo") >&5
9189 (eval "$ac_link") 2>conftest.er1
9191 grep -v '^ *+' conftest.er1 >conftest.err
9193 cat conftest.err >&5
9194 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9195 (exit $ac_status); } && {
9196 test -z "$ac_c_werror_flag" ||
9197 test ! -s conftest.err
9198 } && test -s conftest$ac_exeext && {
9199 test "$cross_compiling" = yes ||
9200 $as_test_x conftest$ac_exeext
9203 { $as_echo "$as_me:$LINENO: result: yes" >&5
9204 $as_echo "yes" >&6; }
9206 cat >>confdefs.h <<\_ACEOF
9207 #define HAVE_ROUND 1
9212 $as_echo "$as_me: failed program was:" >&5
9213 sed 's/^/| /' conftest.$ac_ext >&5
9215 { $as_echo "$as_me:$LINENO: result: no" >&5
9216 $as_echo "no" >&6; }
9219 rm -rf conftest.dSYM
9220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9221 conftest$ac_exeext conftest.$ac_ext
9223 { $as_echo "$as_me:$LINENO: checking for math/trunc" >&5
9224 $as_echo_n "checking for math/trunc... " >&6; }
9225 cat >conftest.$ac_ext <<_ACEOF
9228 cat confdefs.h >>conftest.$ac_ext
9229 cat >>conftest.$ac_ext <<_ACEOF
9230 /* end confdefs.h. */
9233 int f (double (*func)(double)) { return 0;}
9247 rm -f conftest.$ac_objext conftest$ac_exeext
9248 if { (ac_try="$ac_link"
9250 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9251 *) ac_try_echo
=$ac_try;;
9253 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9254 $as_echo "$ac_try_echo") >&5
9255 (eval "$ac_link") 2>conftest.er1
9257 grep -v '^ *+' conftest.er1
>conftest.err
9259 cat conftest.err
>&5
9260 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9261 (exit $ac_status); } && {
9262 test -z "$ac_c_werror_flag" ||
9263 test ! -s conftest.err
9264 } && test -s conftest
$ac_exeext && {
9265 test "$cross_compiling" = yes ||
9266 $as_test_x conftest
$ac_exeext
9269 { $as_echo "$as_me:$LINENO: result: yes" >&5
9270 $as_echo "yes" >&6; }
9272 cat >>confdefs.h
<<\_ACEOF
9273 #define HAVE_TRUNC 1
9278 $as_echo "$as_me: failed program was:" >&5
9279 sed 's/^/| /' conftest.
$ac_ext >&5
9281 { $as_echo "$as_me:$LINENO: result: no" >&5
9282 $as_echo "no" >&6; }
9285 rm -rf conftest.dSYM
9286 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9287 conftest
$ac_exeext conftest.
$ac_ext
9289 { $as_echo "$as_me:$LINENO: checking for math/floor" >&5
9290 $as_echo_n "checking for math/floor... " >&6; }
9291 cat >conftest.
$ac_ext <<_ACEOF
9294 cat confdefs.h
>>conftest.
$ac_ext
9295 cat >>conftest.
$ac_ext <<_ACEOF
9296 /* end confdefs.h. */
9299 int f (double (*func)(double)) { return 0;}
9313 rm -f conftest.
$ac_objext conftest
$ac_exeext
9314 if { (ac_try
="$ac_link"
9316 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9317 *) ac_try_echo=$ac_try;;
9319 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9320 $as_echo "$ac_try_echo") >&5
9321 (eval "$ac_link") 2>conftest.er1
9323 grep -v '^ *+' conftest.er1 >conftest.err
9325 cat conftest.err >&5
9326 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9327 (exit $ac_status); } && {
9328 test -z "$ac_c_werror_flag" ||
9329 test ! -s conftest.err
9330 } && test -s conftest$ac_exeext && {
9331 test "$cross_compiling" = yes ||
9332 $as_test_x conftest$ac_exeext
9335 { $as_echo "$as_me:$LINENO: result: yes" >&5
9336 $as_echo "yes" >&6; }
9338 cat >>confdefs.h <<\_ACEOF
9339 #define HAVE_FLOOR 1
9344 $as_echo "$as_me: failed program was:" >&5
9345 sed 's/^/| /' conftest.$ac_ext >&5
9347 { $as_echo "$as_me:$LINENO: result: no" >&5
9348 $as_echo "no" >&6; }
9351 rm -rf conftest.dSYM
9352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9353 conftest$ac_exeext conftest.$ac_ext
9355 { $as_echo "$as_me:$LINENO: checking for math/ceil" >&5
9356 $as_echo_n "checking for math/ceil... " >&6; }
9357 cat >conftest.$ac_ext <<_ACEOF
9360 cat confdefs.h >>conftest.$ac_ext
9361 cat >>conftest.$ac_ext <<_ACEOF
9362 /* end confdefs.h. */
9365 int f (double (*func)(double)) { return 0;}
9379 rm -f conftest.$ac_objext conftest$ac_exeext
9380 if { (ac_try="$ac_link"
9382 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9383 *) ac_try_echo
=$ac_try;;
9385 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9386 $as_echo "$ac_try_echo") >&5
9387 (eval "$ac_link") 2>conftest.er1
9389 grep -v '^ *+' conftest.er1
>conftest.err
9391 cat conftest.err
>&5
9392 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9393 (exit $ac_status); } && {
9394 test -z "$ac_c_werror_flag" ||
9395 test ! -s conftest.err
9396 } && test -s conftest
$ac_exeext && {
9397 test "$cross_compiling" = yes ||
9398 $as_test_x conftest
$ac_exeext
9401 { $as_echo "$as_me:$LINENO: result: yes" >&5
9402 $as_echo "yes" >&6; }
9404 cat >>confdefs.h
<<\_ACEOF
9410 $as_echo "$as_me: failed program was:" >&5
9411 sed 's/^/| /' conftest.
$ac_ext >&5
9413 { $as_echo "$as_me:$LINENO: result: no" >&5
9414 $as_echo "no" >&6; }
9417 rm -rf conftest.dSYM
9418 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9419 conftest
$ac_exeext conftest.
$ac_ext
9421 { $as_echo "$as_me:$LINENO: checking for math/rint" >&5
9422 $as_echo_n "checking for math/rint... " >&6; }
9423 cat >conftest.
$ac_ext <<_ACEOF
9426 cat confdefs.h
>>conftest.
$ac_ext
9427 cat >>conftest.
$ac_ext <<_ACEOF
9428 /* end confdefs.h. */
9431 int f (double (*func)(double)) { return 0;}
9445 rm -f conftest.
$ac_objext conftest
$ac_exeext
9446 if { (ac_try
="$ac_link"
9448 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9449 *) ac_try_echo=$ac_try;;
9451 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9452 $as_echo "$ac_try_echo") >&5
9453 (eval "$ac_link") 2>conftest.er1
9455 grep -v '^ *+' conftest.er1 >conftest.err
9457 cat conftest.err >&5
9458 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9459 (exit $ac_status); } && {
9460 test -z "$ac_c_werror_flag" ||
9461 test ! -s conftest.err
9462 } && test -s conftest$ac_exeext && {
9463 test "$cross_compiling" = yes ||
9464 $as_test_x conftest$ac_exeext
9467 { $as_echo "$as_me:$LINENO: result: yes" >&5
9468 $as_echo "yes" >&6; }
9470 cat >>confdefs.h <<\_ACEOF
9471 #define HAVE_NEARBYINT 1
9476 $as_echo "$as_me: failed program was:" >&5
9477 sed 's/^/| /' conftest.$ac_ext >&5
9479 { $as_echo "$as_me:$LINENO: result: no" >&5
9480 $as_echo "no" >&6; }
9483 rm -rf conftest.dSYM
9484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9485 conftest$ac_exeext conftest.$ac_ext
9492 { $as_echo "$as_me:$LINENO: checking for long double" >&5
9493 $as_echo_n "checking for long double... " >&6; }
9494 if test "${ac_cv_type_long_double+set}" = set; then
9495 $as_echo_n "(cached) " >&6
9497 ac_cv_type_long_double=no
9498 cat >conftest.$ac_ext <<_ACEOF
9501 cat confdefs.h >>conftest.$ac_ext
9502 cat >>conftest.$ac_ext <<_ACEOF
9503 /* end confdefs.h. */
9504 $ac_includes_default
9508 if (sizeof (long double))
9514 rm -f conftest.$ac_objext
9515 if { (ac_try="$ac_compile"
9517 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9518 *) ac_try_echo
=$ac_try;;
9520 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9521 $as_echo "$ac_try_echo") >&5
9522 (eval "$ac_compile") 2>conftest.er1
9524 grep -v '^ *+' conftest.er1
>conftest.err
9526 cat conftest.err
>&5
9527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9528 (exit $ac_status); } && {
9529 test -z "$ac_c_werror_flag" ||
9530 test ! -s conftest.err
9531 } && test -s conftest.
$ac_objext; then
9532 cat >conftest.
$ac_ext <<_ACEOF
9535 cat confdefs.h
>>conftest.
$ac_ext
9536 cat >>conftest.
$ac_ext <<_ACEOF
9537 /* end confdefs.h. */
9538 $ac_includes_default
9542 if (sizeof ((long double)))
9548 rm -f conftest.
$ac_objext
9549 if { (ac_try
="$ac_compile"
9551 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9552 *) ac_try_echo=$ac_try;;
9554 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9555 $as_echo "$ac_try_echo") >&5
9556 (eval "$ac_compile") 2>conftest.er1
9558 grep -v '^ *+' conftest.er1 >conftest.err
9560 cat conftest.err >&5
9561 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9562 (exit $ac_status); } && {
9563 test -z "$ac_c_werror_flag" ||
9564 test ! -s conftest.err
9565 } && test -s conftest.$ac_objext; then
9568 $as_echo "$as_me: failed program was:" >&5
9569 sed 's/^/| /' conftest.$ac_ext >&5
9571 ac_cv_type_long_double=yes
9574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9576 $as_echo "$as_me: failed program was:" >&5
9577 sed 's/^/| /' conftest.$ac_ext >&5
9582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9584 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5
9585 $as_echo "$ac_cv_type_long_double" >&6; }
9586 if test "x$ac_cv_type_long_double" = x""yes; then
9588 cat >>confdefs.h <<_ACEOF
9589 #define HAVE_LONG_DOUBLE 1
9595 { $as_echo "$as_me:$LINENO: checking format of \`long double
' floating point" >&5
9596 $as_echo_n "checking format of \`long double' floating point...
" >&6; }
9597 if test "${mpfr_cv_c_long_double_format+set}" = set; then
9598 $as_echo_n "(cached
) " >&6
9600 mpfr_cv_c_long_double_format=unknown
9601 if test "$ac_cv_type_long_double" != yes; then
9602 mpfr_cv_c_long_double_format="not available
"
9604 cat >conftest.c <<\EOF
9606 /* "before
" is 16 bytes to ensure there's no padding between it and "x
".
9607 We're not expecting any "long double
" bigger than 16 bytes or with
9608 alignment requirements stricter than 16 bytes. */
9614 { '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
9615 '\001', '\043', '\105', '\147', '\211', '\253', '\315', '\357' },
9617 { '\376', '\334', '\272', '\230', '\166', '\124', '\062', '\020' }
9621 mpfr_compile="$CC $CFLAGS $CPPFLAGS -c conftest.c
>&5 2>&1"
9622 if { (eval echo "$as_me:$LINENO: \"$mpfr_compile\"") >&5
9623 (eval $mpfr_compile) 2>&5
9625 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9626 (exit $ac_status); }; then
9627 cat >conftest.awk <<\EOF
9633 # got[] holds a sliding window of bytes read the input. got[0] is the most
9634 # recent byte read, and got[31] the oldest byte read, so when looking to
9635 # match some data the indices are "reversed
".
9638 for (f = 2; f <= NF; f++)
9640 # new byte, shift others up
9641 for (i = 31; i >= 0; i--)
9646 if (got[7] != "376") continue
9647 if (got[6] != "334") continue
9648 if (got[5] != "272") continue
9649 if (got[4] != "230") continue
9650 if (got[3] != "166") continue
9651 if (got[2] != "124") continue
9652 if (got[1] != "062") continue
9653 if (got[0] != "020") continue
9655 # start sequence, with 12-byte body
9656 if (got[27] == "001" && \
9657 got[26] == "043" && \
9658 got[25] == "105" && \
9659 got[24] == "147" && \
9660 got[23] == "211" && \
9661 got[22] == "253" && \
9662 got[21] == "315" && \
9665 saw = " (" got[19] \
9678 if (got[19] == "000" && \
9679 got[18] == "000" && \
9680 got[17] == "000" && \
9681 got[16] == "000" && \
9682 got[15] == "240" && \
9683 got[14] == "242" && \
9684 got[13] == "171" && \
9685 got[12] == "353" && \
9686 got[11] == "031" && \
9689 print "IEEE extended
, little endian
"
9695 # start sequence, with 16-byte body
9696 if (got[31] == "001" && \
9697 got[30] == "043" && \
9698 got[29] == "105" && \
9699 got[28] == "147" && \
9700 got[27] == "211" && \
9701 got[26] == "253" && \
9702 got[25] == "315" && \
9705 saw = " (" got[23] \
9722 if (got[23] == "000" && \
9723 got[22] == "000" && \
9724 got[21] == "000" && \
9725 got[20] == "000" && \
9726 got[19] == "240" && \
9727 got[18] == "242" && \
9728 got[17] == "171" && \
9729 got[16] == "353" && \
9730 got[15] == "031" && \
9733 print "IEEE extended
, little endian
"
9738 if (got[23] == "300" && \
9739 got[22] == "031" && \
9740 got[21] == "326" && \
9741 got[20] == "363" && \
9742 got[19] == "105" && \
9743 got[18] == "100" && \
9744 got[17] == "000" && \
9745 got[16] == "000" && \
9746 got[15] == "000" && \
9747 got[14] == "000" && \
9748 got[13] == "000" && \
9749 got[12] == "000" && \
9750 got[11] == "000" && \
9751 got[10] == "000" && \
9752 got[9] == "000" && \
9755 print "IEEE quad
, big endian
"
9765 print "unknown
", saw
9769 mpfr_cv_c_long_double_format=`od -b conftest.$OBJEXT | $AWK -f conftest.awk`
9770 case $mpfr_cv_c_long_double_format in
9772 echo "cannot match anything
, conftest.
$OBJEXT contains
" >&5
9773 od -b conftest.$OBJEXT >&5
9777 { $as_echo "$as_me:$LINENO: WARNING
: oops
, cannot compile
test program
" >&5
9778 $as_echo "$as_me: WARNING
: oops
, cannot compile
test program
" >&2;}
9784 { $as_echo "$as_me:$LINENO: result
: $mpfr_cv_c_long_double_format" >&5
9785 $as_echo "$mpfr_cv_c_long_double_format" >&6; }
9790 case $mpfr_cv_c_long_double_format in
9791 "IEEE extended
, little endian
")
9792 cat >>confdefs.h <<\_ACEOF
9793 #define HAVE_LDOUBLE_IEEE_EXT_LITTLE 1
9797 "IEEE quad
, big endian
")
9798 cat >>confdefs.h <<\_ACEOF
9799 #define HAVE_LDOUBLE_IEEE_QUAD_BIG 1
9803 unknown* | "not available
")
9806 { $as_echo "$as_me:$LINENO: WARNING
: oops
, unrecognised float format
: $mpfr_cv_c_long_double_format" >&5
9807 $as_echo "$as_me: WARNING
: oops
, unrecognised float format
: $mpfr_cv_c_long_double_format" >&2;}
9812 if test "$enable_thread_safe" = yes; then
9813 { $as_echo "$as_me:$LINENO: checking
for TLS support
" >&5
9814 $as_echo_n "checking
for TLS support...
" >&6; }
9815 if test "${mpfr_cv_working_tls+set}" = set; then
9816 $as_echo_n "(cached
) " >&6
9819 saved_CPPFLAGS="$CPPFLAGS"
9820 # The -I$srcdir is necessary when objdir is different from srcdir.
9821 CPPFLAGS="$CPPFLAGS -I$srcdir"
9822 if test "$cross_compiling" = yes; then
9823 mpfr_cv_working_tls="cannot
test, assume
yes"
9825 cat >conftest.$ac_ext <<_ACEOF
9827 #define MPFR_USE_THREAD_SAFE 1
9828 #include "mpfr-thread.h
"
9829 MPFR_THREAD_ATTR int x = 17;
9835 rm -f conftest$ac_exeext
9836 if { (ac_try="$ac_link"
9838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9839 *) ac_try_echo=$ac_try;;
9841 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9842 $as_echo "$ac_try_echo") >&5
9843 (eval "$ac_link") 2>&5
9845 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9846 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9847 { (case "(($ac_try" in
9848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9849 *) ac_try_echo=$ac_try;;
9851 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
9852 $as_echo "$ac_try_echo") >&5
9853 (eval "$ac_try") 2>&5
9855 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9856 (exit $ac_status); }; }; then
9857 mpfr_cv_working_tls="yes"
9859 $as_echo "$as_me: program exited with status
$ac_status" >&5
9860 $as_echo "$as_me: failed program was
:" >&5
9861 sed 's/^/| /' conftest.$ac_ext >&5
9864 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9865 $as_echo "no
" >&6; }
9866 { { $as_echo "$as_me:$LINENO: error
: please configure with
--disable-thread-safe" >&5
9867 $as_echo "$as_me: error
: please configure with
--disable-thread-safe" >&2;}
9868 { (exit 1); exit 1; }; }
9870 rm -rf conftest.dSYM
9871 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9875 CPPFLAGS="$saved_CPPFLAGS"
9878 { $as_echo "$as_me:$LINENO: result
: $mpfr_cv_working_tls" >&5
9879 $as_echo "$mpfr_cv_working_tls" >&6; }
9883 if test -n "$variable_indefinie" ; then
9885 ac_cpp='$CXXCPP $CPPFLAGS'
9886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9889 if test -z "$CXX"; then
9890 if test -n "$CCC"; then
9893 if test -n "$ac_tool_prefix"; then
9896 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9897 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9898 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
9899 $as_echo_n "checking
for $ac_word...
" >&6; }
9900 if test "${ac_cv_prog_CXX+set}" = set; then
9901 $as_echo_n "(cached
) " >&6
9903 if test -n "$CXX"; then
9904 ac_cv_prog_CXX="$CXX" # Let the user override the test.
9906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9910 test -z "$as_dir" && as_dir=.
9911 for ac_exec_ext in '' $ac_executable_extensions; do
9912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9913 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
9914 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9924 if test -n "$CXX"; then
9925 { $as_echo "$as_me:$LINENO: result
: $CXX" >&5
9926 $as_echo "$CXX" >&6; }
9928 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9929 $as_echo "no
" >&6; }
9933 test -n "$CXX" && break
9936 if test -z "$CXX"; then
9940 # Extract the first word of "$ac_prog", so it can be a program name with args.
9941 set dummy $ac_prog; ac_word=$2
9942 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
9943 $as_echo_n "checking
for $ac_word...
" >&6; }
9944 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
9945 $as_echo_n "(cached
) " >&6
9947 if test -n "$ac_ct_CXX"; then
9948 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
9950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9954 test -z "$as_dir" && as_dir=.
9955 for ac_exec_ext in '' $ac_executable_extensions; do
9956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9957 ac_cv_prog_ac_ct_CXX="$ac_prog"
9958 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9967 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
9968 if test -n "$ac_ct_CXX"; then
9969 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
9970 $as_echo "$ac_ct_CXX" >&6; }
9972 { $as_echo "$as_me:$LINENO: result
: no
" >&5
9973 $as_echo "no
" >&6; }
9977 test -n "$ac_ct_CXX" && break
9980 if test "x
$ac_ct_CXX" = x; then
9983 case $cross_compiling:$ac_tool_warned in
9985 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9986 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9987 ac_tool_warned=yes ;;
9995 # Provide some information about the compiler.
9996 $as_echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
9999 { (ac_try="$ac_compiler --version >&5"
10000 case "(($ac_try" in
10001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10002 *) ac_try_echo=$ac_try;;
10004 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10005 $as_echo "$ac_try_echo") >&5
10006 (eval "$ac_compiler --version >&5") 2>&5
10008 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10009 (exit $ac_status); }
10010 { (ac_try="$ac_compiler -v >&5"
10011 case "(($ac_try" in
10012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10013 *) ac_try_echo=$ac_try;;
10015 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10016 $as_echo "$ac_try_echo") >&5
10017 (eval "$ac_compiler -v >&5") 2>&5
10019 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10020 (exit $ac_status); }
10021 { (ac_try="$ac_compiler -V >&5"
10022 case "(($ac_try" in
10023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10024 *) ac_try_echo=$ac_try;;
10026 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10027 $as_echo "$ac_try_echo") >&5
10028 (eval "$ac_compiler -V >&5") 2>&5
10030 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10031 (exit $ac_status); }
10033 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
10034 $as_echo_n "checking whether we are using the GNU C
++ compiler...
" >&6; }
10035 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
10036 $as_echo_n "(cached
) " >&6
10038 cat >conftest.$ac_ext <<_ACEOF
10041 cat confdefs.h >>conftest.$ac_ext
10042 cat >>conftest.$ac_ext <<_ACEOF
10043 /* end confdefs.h. */
10056 rm -f conftest.$ac_objext
10057 if { (ac_try="$ac_compile"
10058 case "(($ac_try" in
10059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10060 *) ac_try_echo=$ac_try;;
10062 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10063 $as_echo "$ac_try_echo") >&5
10064 (eval "$ac_compile") 2>conftest.er1
10066 grep -v '^ *+' conftest.er1 >conftest.err
10068 cat conftest.err >&5
10069 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10070 (exit $ac_status); } && {
10071 test -z "$ac_cxx_werror_flag" ||
10072 test ! -s conftest.err
10073 } && test -s conftest.$ac_objext; then
10074 ac_compiler_gnu=yes
10076 $as_echo "$as_me: failed program was
:" >&5
10077 sed 's/^/| /' conftest.$ac_ext >&5
10082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10083 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
10086 { $as_echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
10087 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
10088 if test $ac_compiler_gnu = yes; then
10093 ac_test_CXXFLAGS=${CXXFLAGS+set}
10094 ac_save_CXXFLAGS=$CXXFLAGS
10095 { $as_echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
10096 $as_echo_n "checking whether
$CXX accepts
-g...
" >&6; }
10097 if test "${ac_cv_prog_cxx_g+set}" = set; then
10098 $as_echo_n "(cached
) " >&6
10100 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
10101 ac_cxx_werror_flag=yes
10102 ac_cv_prog_cxx_g=no
10104 cat >conftest.$ac_ext <<_ACEOF
10107 cat confdefs.h >>conftest.$ac_ext
10108 cat >>conftest.$ac_ext <<_ACEOF
10109 /* end confdefs.h. */
10119 rm -f conftest.$ac_objext
10120 if { (ac_try="$ac_compile"
10121 case "(($ac_try" in
10122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10123 *) ac_try_echo=$ac_try;;
10125 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10126 $as_echo "$ac_try_echo") >&5
10127 (eval "$ac_compile") 2>conftest.er1
10129 grep -v '^ *+' conftest.er1 >conftest.err
10131 cat conftest.err >&5
10132 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10133 (exit $ac_status); } && {
10134 test -z "$ac_cxx_werror_flag" ||
10135 test ! -s conftest.err
10136 } && test -s conftest.$ac_objext; then
10137 ac_cv_prog_cxx_g=yes
10139 $as_echo "$as_me: failed program was
:" >&5
10140 sed 's/^/| /' conftest.$ac_ext >&5
10143 cat >conftest.$ac_ext <<_ACEOF
10146 cat confdefs.h >>conftest.$ac_ext
10147 cat >>conftest.$ac_ext <<_ACEOF
10148 /* end confdefs.h. */
10158 rm -f conftest.$ac_objext
10159 if { (ac_try="$ac_compile"
10160 case "(($ac_try" in
10161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10162 *) ac_try_echo=$ac_try;;
10164 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10165 $as_echo "$ac_try_echo") >&5
10166 (eval "$ac_compile") 2>conftest.er1
10168 grep -v '^ *+' conftest.er1 >conftest.err
10170 cat conftest.err >&5
10171 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10172 (exit $ac_status); } && {
10173 test -z "$ac_cxx_werror_flag" ||
10174 test ! -s conftest.err
10175 } && test -s conftest.$ac_objext; then
10178 $as_echo "$as_me: failed program was
:" >&5
10179 sed 's/^/| /' conftest.$ac_ext >&5
10181 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10183 cat >conftest.$ac_ext <<_ACEOF
10186 cat confdefs.h >>conftest.$ac_ext
10187 cat >>conftest.$ac_ext <<_ACEOF
10188 /* end confdefs.h. */
10198 rm -f conftest.$ac_objext
10199 if { (ac_try="$ac_compile"
10200 case "(($ac_try" in
10201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10202 *) ac_try_echo=$ac_try;;
10204 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10205 $as_echo "$ac_try_echo") >&5
10206 (eval "$ac_compile") 2>conftest.er1
10208 grep -v '^ *+' conftest.er1 >conftest.err
10210 cat conftest.err >&5
10211 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10212 (exit $ac_status); } && {
10213 test -z "$ac_cxx_werror_flag" ||
10214 test ! -s conftest.err
10215 } && test -s conftest.$ac_objext; then
10216 ac_cv_prog_cxx_g=yes
10218 $as_echo "$as_me: failed program was
:" >&5
10219 sed 's/^/| /' conftest.$ac_ext >&5
10224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10231 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10233 { $as_echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
10234 $as_echo "$ac_cv_prog_cxx_g" >&6; }
10235 if test "$ac_test_CXXFLAGS" = set; then
10236 CXXFLAGS=$ac_save_CXXFLAGS
10237 elif test $ac_cv_prog_cxx_g = yes; then
10238 if test "$GXX" = yes; then
10244 if test "$GXX" = yes; then
10251 ac_cpp='$CPP $CPPFLAGS'
10252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10256 depcc="$CXX" am_compiler_list=
10258 { $as_echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
10259 $as_echo_n "checking dependency style of
$depcc...
" >&6; }
10260 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
10261 $as_echo_n "(cached
) " >&6
10263 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
10264 # We make a subdir and do the tests there. Otherwise we can end up
10265 # making bogus files that we don't know about and never remove. For
10266 # instance it was reported that on HP-UX the gcc test will end up
10267 # making a dummy file named `D' -- because `-MD' means `put the output
10270 # Copy depcomp to subdir because otherwise we won't find it if we're
10271 # using a relative directory.
10272 cp "$am_depcomp" conftest.dir
10274 # We will build objects and dependencies in a subdirectory because
10275 # it helps to detect inapplicable dependency modes. For instance
10276 # both Tru64's cc and ICC support -MD to output dependencies as a
10277 # side effect of compilation, but ICC will put the dependencies in
10278 # the current directory while Tru64 will put them in the object
10282 am_cv_CXX_dependencies_compiler_type=none
10283 if test "$am_compiler_list" = ""; then
10284 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
10286 for depmode in $am_compiler_list; do
10287 # Setup a source with many dependencies, because some compilers
10288 # like to wrap large dependency lists on column 80 (with \), and
10289 # we should not choose a depcomp mode which is confused by this.
10291 # We need to recreate these files for each test, as the compiler may
10292 # overwrite some of them when testing with obscure command lines.
10293 # This happens at least with the AIX C compiler.
10295 for i in 1 2 3 4 5 6; do
10296 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
10297 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
10298 # Solaris 8's {/usr,}/bin/sh.
10299 touch sub/conftst$i.h
10301 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
10305 # after this tag, mechanisms are not by side-effect, so they'll
10306 # only be used when explicitly requested
10307 if test "x
$enable_dependency_tracking" = xyes; then
10315 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
10316 # mode. It turns out that the SunPro C++ compiler does not properly
10317 # handle `-M -o', and we need to detect this.
10318 if depmode=$depmode \
10319 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
10320 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
10321 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
10322 >/dev/null 2>conftest.err &&
10323 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
10324 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
10325 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
10326 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
10327 # icc doesn't choke on unknown options, it will just issue warnings
10328 # or remarks (even with -Werror). So we grep stderr for any message
10329 # that says an option was ignored or not supported.
10330 # When given -MP, icc 7.0 and 7.1 complain thusly:
10331 # icc: Command line warning: ignoring option '-M'; no argument required
10332 # The diagnosis changed in icc 8.0:
10333 # icc: Command line remark: option '-MP' not supported
10334 if (grep 'ignoring option' conftest.err ||
10335 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
10336 am_cv_CXX_dependencies_compiler_type=$depmode
10343 rm -rf conftest.dir
10345 am_cv_CXX_dependencies_compiler_type=none
10349 { $as_echo "$as_me:$LINENO: result
: $am_cv_CXX_dependencies_compiler_type" >&5
10350 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
10351 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
10354 test "x
$enable_dependency_tracking" != xno \
10355 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
10356 am__fastdepCXX_TRUE=
10357 am__fastdepCXX_FALSE='#'
10359 am__fastdepCXX_TRUE='#'
10360 am__fastdepCXX_FALSE=
10365 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
10366 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10367 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
10368 if test -n "$ac_tool_prefix"; then
10371 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10372 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10373 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
10374 $as_echo_n "checking
for $ac_word...
" >&6; }
10375 if test "${ac_cv_prog_F77+set}" = set; then
10376 $as_echo_n "(cached
) " >&6
10378 if test -n "$F77"; then
10379 ac_cv_prog_F77="$F77" # Let the user override the test.
10381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10382 for as_dir in $PATH
10385 test -z "$as_dir" && as_dir=.
10386 for ac_exec_ext in '' $ac_executable_extensions; do
10387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10388 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
10389 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10398 F77=$ac_cv_prog_F77
10399 if test -n "$F77"; then
10400 { $as_echo "$as_me:$LINENO: result
: $F77" >&5
10401 $as_echo "$F77" >&6; }
10403 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10404 $as_echo "no
" >&6; }
10408 test -n "$F77" && break
10411 if test -z "$F77"; then
10415 # Extract the first word of "$ac_prog", so it can be a program name with args.
10416 set dummy $ac_prog; ac_word=$2
10417 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
10418 $as_echo_n "checking
for $ac_word...
" >&6; }
10419 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
10420 $as_echo_n "(cached
) " >&6
10422 if test -n "$ac_ct_F77"; then
10423 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
10425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10426 for as_dir in $PATH
10429 test -z "$as_dir" && as_dir=.
10430 for ac_exec_ext in '' $ac_executable_extensions; do
10431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10432 ac_cv_prog_ac_ct_F77="$ac_prog"
10433 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10442 ac_ct_F77=$ac_cv_prog_ac_ct_F77
10443 if test -n "$ac_ct_F77"; then
10444 { $as_echo "$as_me:$LINENO: result
: $ac_ct_F77" >&5
10445 $as_echo "$ac_ct_F77" >&6; }
10447 { $as_echo "$as_me:$LINENO: result
: no
" >&5
10448 $as_echo "no
" >&6; }
10452 test -n "$ac_ct_F77" && break
10455 if test "x
$ac_ct_F77" = x; then
10458 case $cross_compiling:$ac_tool_warned in
10460 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
10461 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
10462 ac_tool_warned=yes ;;
10469 # Provide some information about the compiler.
10470 $as_echo "$as_me:$LINENO: checking
for Fortran
77 compiler version
" >&5
10473 { (ac_try="$ac_compiler --version >&5"
10474 case "(($ac_try" in
10475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10476 *) ac_try_echo=$ac_try;;
10478 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10479 $as_echo "$ac_try_echo") >&5
10480 (eval "$ac_compiler --version >&5") 2>&5
10482 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10483 (exit $ac_status); }
10484 { (ac_try="$ac_compiler -v >&5"
10485 case "(($ac_try" in
10486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10487 *) ac_try_echo=$ac_try;;
10489 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10490 $as_echo "$ac_try_echo") >&5
10491 (eval "$ac_compiler -v >&5") 2>&5
10493 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10494 (exit $ac_status); }
10495 { (ac_try="$ac_compiler -V >&5"
10496 case "(($ac_try" in
10497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10498 *) ac_try_echo=$ac_try;;
10500 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10501 $as_echo "$ac_try_echo") >&5
10502 (eval "$ac_compiler -V >&5") 2>&5
10504 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10505 (exit $ac_status); }
10508 # If we don't use `.F' as extension, the preprocessor is not run on the
10509 # input file. (Note that this only needs to work for GNU compilers.)
10510 ac_save_ext=$ac_ext
10512 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran
77 compiler
" >&5
10513 $as_echo_n "checking whether we are using the GNU Fortran
77 compiler...
" >&6; }
10514 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
10515 $as_echo_n "(cached
) " >&6
10517 cat >conftest.$ac_ext <<_ACEOF
10525 rm -f conftest.$ac_objext
10526 if { (ac_try="$ac_compile"
10527 case "(($ac_try" in
10528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10529 *) ac_try_echo=$ac_try;;
10531 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10532 $as_echo "$ac_try_echo") >&5
10533 (eval "$ac_compile") 2>conftest.er1
10535 grep -v '^ *+' conftest.er1 >conftest.err
10537 cat conftest.err >&5
10538 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10539 (exit $ac_status); } && {
10540 test -z "$ac_f77_werror_flag" ||
10541 test ! -s conftest.err
10542 } && test -s conftest.$ac_objext; then
10543 ac_compiler_gnu=yes
10545 $as_echo "$as_me: failed program was
:" >&5
10546 sed 's/^/| /' conftest.$ac_ext >&5
10551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10552 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
10555 { $as_echo "$as_me:$LINENO: result
: $ac_cv_f77_compiler_gnu" >&5
10556 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
10557 ac_ext=$ac_save_ext
10558 ac_test_FFLAGS=${FFLAGS+set}
10559 ac_save_FFLAGS=$FFLAGS
10561 { $as_echo "$as_me:$LINENO: checking whether
$F77 accepts
-g" >&5
10562 $as_echo_n "checking whether
$F77 accepts
-g...
" >&6; }
10563 if test "${ac_cv_prog_f77_g+set}" = set; then
10564 $as_echo_n "(cached
) " >&6
10567 cat >conftest.$ac_ext <<_ACEOF
10572 rm -f conftest.$ac_objext
10573 if { (ac_try="$ac_compile"
10574 case "(($ac_try" in
10575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10576 *) ac_try_echo=$ac_try;;
10578 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10579 $as_echo "$ac_try_echo") >&5
10580 (eval "$ac_compile") 2>conftest.er1
10582 grep -v '^ *+' conftest.er1 >conftest.err
10584 cat conftest.err >&5
10585 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10586 (exit $ac_status); } && {
10587 test -z "$ac_f77_werror_flag" ||
10588 test ! -s conftest.err
10589 } && test -s conftest.$ac_objext; then
10590 ac_cv_prog_f77_g=yes
10592 $as_echo "$as_me: failed program was
:" >&5
10593 sed 's/^/| /' conftest.$ac_ext >&5
10595 ac_cv_prog_f77_g=no
10598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10601 { $as_echo "$as_me:$LINENO: result
: $ac_cv_prog_f77_g" >&5
10602 $as_echo "$ac_cv_prog_f77_g" >&6; }
10603 if test "$ac_test_FFLAGS" = set; then
10604 FFLAGS=$ac_save_FFLAGS
10605 elif test $ac_cv_prog_f77_g = yes; then
10606 if test "x
$ac_cv_f77_compiler_gnu" = xyes; then
10612 if test "x
$ac_cv_f77_compiler_gnu" = xyes; then
10619 if test $ac_compiler_gnu = yes; then
10625 ac_cpp='$CPP $CPPFLAGS'
10626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10631 ac_cpp='$CXXCPP $CPPFLAGS'
10632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10635 { $as_echo "$as_me:$LINENO: checking how to run the C
++ preprocessor
" >&5
10636 $as_echo_n "checking how to run the C
++ preprocessor...
" >&6; }
10637 if test -z "$CXXCPP"; then
10638 if test "${ac_cv_prog_CXXCPP+set}" = set; then
10639 $as_echo_n "(cached
) " >&6
10641 # Double quotes because CXXCPP needs to be expanded
10642 for CXXCPP in "$CXX -E" "/lib
/cpp
"
10644 ac_preproc_ok=false
10645 for ac_cxx_preproc_warn_flag in '' yes
10647 # Use a header file that comes with gcc, so configuring glibc
10648 # with a fresh cross-compiler works.
10649 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10650 # <limits.h> exists even on freestanding compilers.
10651 # On the NeXT, cc -E runs the code through the compiler's parser,
10652 # not just through cpp. "Syntax error
" is here to catch this case.
10653 cat >conftest.$ac_ext <<_ACEOF
10656 cat confdefs.h >>conftest.$ac_ext
10657 cat >>conftest.$ac_ext <<_ACEOF
10658 /* end confdefs.h. */
10660 # include <limits.h>
10662 # include <assert.h>
10666 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10667 case "(($ac_try" in
10668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10669 *) ac_try_echo=$ac_try;;
10671 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10672 $as_echo "$ac_try_echo") >&5
10673 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10675 grep -v '^ *+' conftest.er1 >conftest.err
10677 cat conftest.err >&5
10678 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10679 (exit $ac_status); } >/dev/null && {
10680 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10681 test ! -s conftest.err
10685 $as_echo "$as_me: failed program was
:" >&5
10686 sed 's/^/| /' conftest.$ac_ext >&5
10688 # Broken: fails on valid input.
10692 rm -f conftest.err conftest.$ac_ext
10694 # OK, works on sane cases. Now check whether nonexistent headers
10695 # can be detected and how.
10696 cat >conftest.$ac_ext <<_ACEOF
10699 cat confdefs.h >>conftest.$ac_ext
10700 cat >>conftest.$ac_ext <<_ACEOF
10701 /* end confdefs.h. */
10702 #include <ac_nonexistent.h>
10704 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10705 case "(($ac_try" in
10706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10707 *) ac_try_echo=$ac_try;;
10709 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10710 $as_echo "$ac_try_echo") >&5
10711 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10713 grep -v '^ *+' conftest.er1 >conftest.err
10715 cat conftest.err >&5
10716 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10717 (exit $ac_status); } >/dev/null && {
10718 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10719 test ! -s conftest.err
10721 # Broken: success on invalid input.
10724 $as_echo "$as_me: failed program was
:" >&5
10725 sed 's/^/| /' conftest.$ac_ext >&5
10727 # Passes both tests.
10732 rm -f conftest.err conftest.$ac_ext
10735 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10736 rm -f conftest.err conftest.$ac_ext
10737 if $ac_preproc_ok; then
10742 ac_cv_prog_CXXCPP=$CXXCPP
10745 CXXCPP=$ac_cv_prog_CXXCPP
10747 ac_cv_prog_CXXCPP=$CXXCPP
10749 { $as_echo "$as_me:$LINENO: result
: $CXXCPP" >&5
10750 $as_echo "$CXXCPP" >&6; }
10751 ac_preproc_ok=false
10752 for ac_cxx_preproc_warn_flag in '' yes
10754 # Use a header file that comes with gcc, so configuring glibc
10755 # with a fresh cross-compiler works.
10756 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10757 # <limits.h> exists even on freestanding compilers.
10758 # On the NeXT, cc -E runs the code through the compiler's parser,
10759 # not just through cpp. "Syntax error
" is here to catch this case.
10760 cat >conftest.$ac_ext <<_ACEOF
10763 cat confdefs.h >>conftest.$ac_ext
10764 cat >>conftest.$ac_ext <<_ACEOF
10765 /* end confdefs.h. */
10767 # include <limits.h>
10769 # include <assert.h>
10773 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10774 case "(($ac_try" in
10775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10776 *) ac_try_echo=$ac_try;;
10778 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10779 $as_echo "$ac_try_echo") >&5
10780 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10782 grep -v '^ *+' conftest.er1 >conftest.err
10784 cat conftest.err >&5
10785 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10786 (exit $ac_status); } >/dev/null && {
10787 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10788 test ! -s conftest.err
10792 $as_echo "$as_me: failed program was
:" >&5
10793 sed 's/^/| /' conftest.$ac_ext >&5
10795 # Broken: fails on valid input.
10799 rm -f conftest.err conftest.$ac_ext
10801 # OK, works on sane cases. Now check whether nonexistent headers
10802 # can be detected and how.
10803 cat >conftest.$ac_ext <<_ACEOF
10806 cat confdefs.h >>conftest.$ac_ext
10807 cat >>conftest.$ac_ext <<_ACEOF
10808 /* end confdefs.h. */
10809 #include <ac_nonexistent.h>
10811 if { (ac_try="$ac_cpp conftest.
$ac_ext"
10812 case "(($ac_try" in
10813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10814 *) ac_try_echo=$ac_try;;
10816 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
10817 $as_echo "$ac_try_echo") >&5
10818 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
10820 grep -v '^ *+' conftest.er1 >conftest.err
10822 cat conftest.err >&5
10823 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10824 (exit $ac_status); } >/dev/null && {
10825 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10826 test ! -s conftest.err
10828 # Broken: success on invalid input.
10831 $as_echo "$as_me: failed program was
:" >&5
10832 sed 's/^/| /' conftest.$ac_ext >&5
10834 # Passes both tests.
10839 rm -f conftest.err conftest.$ac_ext
10842 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10843 rm -f conftest.err conftest.$ac_ext
10844 if $ac_preproc_ok; then
10847 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
10848 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10849 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
10850 See \`config.log' for more details.
" >&5
10851 $as_echo "$as_me: error
: C
++ preprocessor
\"$CXXCPP\" fails sanity check
10852 See \
`config.log' for more details." >&2;}
10853 { (exit 1); exit 1; }; }; }
10857 ac_cpp='$CPP $CPPFLAGS'
10858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10863 am__fastdepCXX_FALSE='#'
10864 if test "${with_tags+set}" != set; then
10869 { $as_echo "$as_me:$LINENO: checking for gmp.h" >&5
10870 $as_echo_n "checking for gmp.h... " >&6; }
10871 cat >conftest.$ac_ext <<_ACEOF
10874 cat confdefs.h >>conftest.$ac_ext
10875 cat >>conftest.$ac_ext <<_ACEOF
10876 /* end confdefs.h. */
10881 rm -f conftest.$ac_objext
10882 if { (ac_try="$ac_compile"
10883 case "(($ac_try" in
10884 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10885 *) ac_try_echo
=$ac_try;;
10887 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10888 $as_echo "$ac_try_echo") >&5
10889 (eval "$ac_compile") 2>conftest.er1
10891 grep -v '^ *+' conftest.er1
>conftest.err
10893 cat conftest.err
>&5
10894 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10895 (exit $ac_status); } && {
10896 test -z "$ac_c_werror_flag" ||
10897 test ! -s conftest.err
10898 } && test -s conftest.
$ac_objext; then
10899 { $as_echo "$as_me:$LINENO: result: yes" >&5
10900 $as_echo "yes" >&6; }
10902 $as_echo "$as_me: failed program was:" >&5
10903 sed 's/^/| /' conftest.
$ac_ext >&5
10906 { $as_echo "$as_me:$LINENO: result: no" >&5
10907 $as_echo "no" >&6; }
10908 { { $as_echo "$as_me:$LINENO: error: gmp.h can't be found, or is unusable." >&5
10909 $as_echo "$as_me: error: gmp.h can't be found, or is unusable." >&2;}
10910 { (exit 1); exit 1; }; }
10914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10916 enable_win32_dll
=yes
10919 *-*-cygwin* |
*-*-mingw* |
*-*-pw32*)
10920 if test -n "$ac_tool_prefix"; then
10921 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
10922 set dummy
${ac_tool_prefix}as
; ac_word
=$2
10923 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10924 $as_echo_n "checking for $ac_word... " >&6; }
10925 if test "${ac_cv_prog_AS+set}" = set; then
10926 $as_echo_n "(cached) " >&6
10928 if test -n "$AS"; then
10929 ac_cv_prog_AS
="$AS" # Let the user override the test.
10931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10932 for as_dir
in $PATH
10935 test -z "$as_dir" && as_dir
=.
10936 for ac_exec_ext
in '' $ac_executable_extensions; do
10937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10938 ac_cv_prog_AS
="${ac_tool_prefix}as"
10939 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10949 if test -n "$AS"; then
10950 { $as_echo "$as_me:$LINENO: result: $AS" >&5
10951 $as_echo "$AS" >&6; }
10953 { $as_echo "$as_me:$LINENO: result: no" >&5
10954 $as_echo "no" >&6; }
10959 if test -z "$ac_cv_prog_AS"; then
10961 # Extract the first word of "as", so it can be a program name with args.
10962 set dummy as
; ac_word
=$2
10963 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10964 $as_echo_n "checking for $ac_word... " >&6; }
10965 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
10966 $as_echo_n "(cached) " >&6
10968 if test -n "$ac_ct_AS"; then
10969 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
10971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10972 for as_dir
in $PATH
10975 test -z "$as_dir" && as_dir
=.
10976 for ac_exec_ext
in '' $ac_executable_extensions; do
10977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10978 ac_cv_prog_ac_ct_AS
="as"
10979 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10988 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
10989 if test -n "$ac_ct_AS"; then
10990 { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
10991 $as_echo "$ac_ct_AS" >&6; }
10993 { $as_echo "$as_me:$LINENO: result: no" >&5
10994 $as_echo "no" >&6; }
10997 if test "x$ac_ct_AS" = x
; then
11000 case $cross_compiling:$ac_tool_warned in
11002 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11004 ac_tool_warned
=yes ;;
11009 AS
="$ac_cv_prog_AS"
11012 if test -n "$ac_tool_prefix"; then
11013 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
11014 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
11015 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11016 $as_echo_n "checking for $ac_word... " >&6; }
11017 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
11018 $as_echo_n "(cached) " >&6
11020 if test -n "$DLLTOOL"; then
11021 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
11023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11024 for as_dir
in $PATH
11027 test -z "$as_dir" && as_dir
=.
11028 for ac_exec_ext
in '' $ac_executable_extensions; do
11029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11030 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
11031 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11040 DLLTOOL
=$ac_cv_prog_DLLTOOL
11041 if test -n "$DLLTOOL"; then
11042 { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
11043 $as_echo "$DLLTOOL" >&6; }
11045 { $as_echo "$as_me:$LINENO: result: no" >&5
11046 $as_echo "no" >&6; }
11051 if test -z "$ac_cv_prog_DLLTOOL"; then
11052 ac_ct_DLLTOOL
=$DLLTOOL
11053 # Extract the first word of "dlltool", so it can be a program name with args.
11054 set dummy dlltool
; ac_word
=$2
11055 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11056 $as_echo_n "checking for $ac_word... " >&6; }
11057 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
11058 $as_echo_n "(cached) " >&6
11060 if test -n "$ac_ct_DLLTOOL"; then
11061 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
11063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11064 for as_dir
in $PATH
11067 test -z "$as_dir" && as_dir
=.
11068 for ac_exec_ext
in '' $ac_executable_extensions; do
11069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11070 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
11071 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11080 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
11081 if test -n "$ac_ct_DLLTOOL"; then
11082 { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
11083 $as_echo "$ac_ct_DLLTOOL" >&6; }
11085 { $as_echo "$as_me:$LINENO: result: no" >&5
11086 $as_echo "no" >&6; }
11089 if test "x$ac_ct_DLLTOOL" = x
; then
11092 case $cross_compiling:$ac_tool_warned in
11094 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11096 ac_tool_warned
=yes ;;
11098 DLLTOOL
=$ac_ct_DLLTOOL
11101 DLLTOOL
="$ac_cv_prog_DLLTOOL"
11104 if test -n "$ac_tool_prefix"; then
11105 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
11106 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
11107 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11108 $as_echo_n "checking for $ac_word... " >&6; }
11109 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
11110 $as_echo_n "(cached) " >&6
11112 if test -n "$OBJDUMP"; then
11113 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
11115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11116 for as_dir
in $PATH
11119 test -z "$as_dir" && as_dir
=.
11120 for ac_exec_ext
in '' $ac_executable_extensions; do
11121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11122 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
11123 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11132 OBJDUMP
=$ac_cv_prog_OBJDUMP
11133 if test -n "$OBJDUMP"; then
11134 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
11135 $as_echo "$OBJDUMP" >&6; }
11137 { $as_echo "$as_me:$LINENO: result: no" >&5
11138 $as_echo "no" >&6; }
11143 if test -z "$ac_cv_prog_OBJDUMP"; then
11144 ac_ct_OBJDUMP
=$OBJDUMP
11145 # Extract the first word of "objdump", so it can be a program name with args.
11146 set dummy objdump
; ac_word
=$2
11147 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11148 $as_echo_n "checking for $ac_word... " >&6; }
11149 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
11150 $as_echo_n "(cached) " >&6
11152 if test -n "$ac_ct_OBJDUMP"; then
11153 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
11155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11156 for as_dir
in $PATH
11159 test -z "$as_dir" && as_dir
=.
11160 for ac_exec_ext
in '' $ac_executable_extensions; do
11161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11162 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
11163 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11172 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
11173 if test -n "$ac_ct_OBJDUMP"; then
11174 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
11175 $as_echo "$ac_ct_OBJDUMP" >&6; }
11177 { $as_echo "$as_me:$LINENO: result: no" >&5
11178 $as_echo "no" >&6; }
11181 if test "x$ac_ct_OBJDUMP" = x
; then
11184 case $cross_compiling:$ac_tool_warned in
11186 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11188 ac_tool_warned
=yes ;;
11190 OBJDUMP
=$ac_ct_OBJDUMP
11193 OBJDUMP
="$ac_cv_prog_OBJDUMP"
11199 test -z "$AS" && AS
=as
11205 test -z "$DLLTOOL" && DLLTOOL
=dlltool
11211 test -z "$OBJDUMP" && OBJDUMP
=objdump
11220 *-*-cygwin* |
*-*-mingw* |
*-*-pw32* |
*-*-os2*)
11221 { $as_echo "$as_me:$LINENO: checking for DLL/static GMP" >&5
11222 $as_echo_n "checking for DLL/static GMP... " >&6; }
11223 if test "$enable_shared" = yes; then
11224 LDFLAGS
="$LDFLAGS -no-undefined"
11225 dont_link_with_gmp
="yes"
11226 cat >conftest.
$ac_ext <<_ACEOF
11229 cat confdefs.h
>>conftest.
$ac_ext
11230 cat >>conftest.
$ac_ext <<_ACEOF
11231 /* end confdefs.h. */
11234 #if !__GMP_LIBGMP_DLL
11247 rm -f conftest.
$ac_objext
11248 if { (ac_try
="$ac_compile"
11249 case "(($ac_try" in
11250 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11251 *) ac_try_echo=$ac_try;;
11253 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11254 $as_echo "$ac_try_echo") >&5
11255 (eval "$ac_compile") 2>conftest.er1
11257 grep -v '^ *+' conftest.er1 >conftest.err
11259 cat conftest.err >&5
11260 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11261 (exit $ac_status); } && {
11262 test -z "$ac_c_werror_flag" ||
11263 test ! -s conftest.err
11264 } && test -s conftest.$ac_objext; then
11265 { $as_echo "$as_me:$LINENO: result: DLL" >&5
11266 $as_echo "DLL" >&6; }
11268 $as_echo "$as_me: failed program was:" >&5
11269 sed 's/^/| /' conftest.$ac_ext >&5
11272 { $as_echo "$as_me:$LINENO: result: static" >&5
11273 $as_echo "static" >&6; }
11274 { { $as_echo "$as_me:$LINENO: error: gmp.h isn't a DLL: use --enable-static --disable-shared" >&5
11275 $as_echo "$as_me: error: gmp.h isn't a DLL: use --enable-static --disable-shared" >&2;}
11276 { (exit 1); exit 1; }; }
11279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11281 cat >conftest.$ac_ext <<_ACEOF
11284 cat confdefs.h >>conftest.$ac_ext
11285 cat >>conftest.$ac_ext <<_ACEOF
11286 /* end confdefs.h. */
11289 #if __GMP_LIBGMP_DLL
11302 rm -f conftest.$ac_objext
11303 if { (ac_try="$ac_compile"
11304 case "(($ac_try" in
11305 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11306 *) ac_try_echo
=$ac_try;;
11308 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11309 $as_echo "$ac_try_echo") >&5
11310 (eval "$ac_compile") 2>conftest.er1
11312 grep -v '^ *+' conftest.er1
>conftest.err
11314 cat conftest.err
>&5
11315 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11316 (exit $ac_status); } && {
11317 test -z "$ac_c_werror_flag" ||
11318 test ! -s conftest.err
11319 } && test -s conftest.
$ac_objext; then
11320 { $as_echo "$as_me:$LINENO: result: static" >&5
11321 $as_echo "static" >&6; }
11323 $as_echo "$as_me: failed program was:" >&5
11324 sed 's/^/| /' conftest.
$ac_ext >&5
11327 { $as_echo "$as_me:$LINENO: result: DLL" >&5
11328 $as_echo "DLL" >&6; }
11329 { { $as_echo "$as_me:$LINENO: error: gmp.h is a DLL: use --disable-static --enable-shared" >&5
11330 $as_echo "$as_me: error: gmp.h is a DLL: use --disable-static --enable-shared" >&2;}
11331 { (exit 1); exit 1; }; }
11334 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11340 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
11341 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
11346 macro_version
='2.2'
11347 macro_revision
='1.2599'
11361 ltmain
="$ac_aux_dir/ltmain.sh"
11363 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
11364 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
11365 if test "${ac_cv_path_SED+set}" = set; then
11366 $as_echo_n "(cached) " >&6
11368 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
11369 for ac_i
in 1 2 3 4 5 6 7; do
11370 ac_script
="$ac_script$as_nl$ac_script"
11372 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
11373 $as_unset ac_script || ac_script
=
11374 if test -z "$SED"; then
11375 ac_path_SED_found
=false
11376 # Loop through the user's path and test for each of PROGNAME-LIST
11377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11378 for as_dir
in $PATH
11381 test -z "$as_dir" && as_dir
=.
11382 for ac_prog
in sed gsed
; do
11383 for ac_exec_ext
in '' $ac_executable_extensions; do
11384 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
11385 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
11386 # Check for GNU ac_path_SED and select it if it is found.
11387 # Check for GNU $ac_path_SED
11388 case `"$ac_path_SED" --version 2>&1` in
11390 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
11393 $as_echo_n 0123456789 >"conftest.in"
11396 cat "conftest.in" "conftest.in" >"conftest.tmp"
11397 mv "conftest.tmp" "conftest.in"
11398 cp "conftest.in" "conftest.nl"
11399 $as_echo '' >> "conftest.nl"
11400 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
11401 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
11402 ac_count
=`expr $ac_count + 1`
11403 if test $ac_count -gt ${ac_path_SED_max-0}; then
11404 # Best one so far, save it but keep looking for a better one
11405 ac_cv_path_SED
="$ac_path_SED"
11406 ac_path_SED_max
=$ac_count
11408 # 10*(2^10) chars as input seems more than enough
11409 test $ac_count -gt 10 && break
11411 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
11414 $ac_path_SED_found && break 3
11419 if test -z "$ac_cv_path_SED"; then
11420 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
11421 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
11422 { (exit 1); exit 1; }; }
11425 ac_cv_path_SED
=$SED
11429 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
11430 $as_echo "$ac_cv_path_SED" >&6; }
11431 SED
="$ac_cv_path_SED"
11434 test -z "$SED" && SED
=sed
11435 Xsed
="$SED -e 1s/^X//"
11447 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
11448 $as_echo_n "checking for fgrep... " >&6; }
11449 if test "${ac_cv_path_FGREP+set}" = set; then
11450 $as_echo_n "(cached) " >&6
11452 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
11453 then ac_cv_path_FGREP
="$GREP -F"
11455 if test -z "$FGREP"; then
11456 ac_path_FGREP_found
=false
11457 # Loop through the user's path and test for each of PROGNAME-LIST
11458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11459 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
11462 test -z "$as_dir" && as_dir
=.
11463 for ac_prog
in fgrep
; do
11464 for ac_exec_ext
in '' $ac_executable_extensions; do
11465 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
11466 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
11467 # Check for GNU ac_path_FGREP and select it if it is found.
11468 # Check for GNU $ac_path_FGREP
11469 case `"$ac_path_FGREP" --version 2>&1` in
11471 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
11474 $as_echo_n 0123456789 >"conftest.in"
11477 cat "conftest.in" "conftest.in" >"conftest.tmp"
11478 mv "conftest.tmp" "conftest.in"
11479 cp "conftest.in" "conftest.nl"
11480 $as_echo 'FGREP' >> "conftest.nl"
11481 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
11482 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
11483 ac_count
=`expr $ac_count + 1`
11484 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
11485 # Best one so far, save it but keep looking for a better one
11486 ac_cv_path_FGREP
="$ac_path_FGREP"
11487 ac_path_FGREP_max
=$ac_count
11489 # 10*(2^10) chars as input seems more than enough
11490 test $ac_count -gt 10 && break
11492 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
11495 $ac_path_FGREP_found && break 3
11500 if test -z "$ac_cv_path_FGREP"; then
11501 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
11502 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
11503 { (exit 1); exit 1; }; }
11506 ac_cv_path_FGREP
=$FGREP
11511 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
11512 $as_echo "$ac_cv_path_FGREP" >&6; }
11513 FGREP
="$ac_cv_path_FGREP"
11516 test -z "$GREP" && GREP
=grep
11536 # Check whether --with-gnu-ld was given.
11537 if test "${with_gnu_ld+set}" = set; then
11538 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
11544 if test "$GCC" = yes; then
11545 # Check if gcc -print-prog-name=ld gives a path.
11546 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11547 $as_echo_n "checking for ld used by $CC... " >&6; }
11550 # gcc leaves a trailing carriage return which upsets mingw
11551 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11553 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11556 # Accept absolute paths.
11558 re_direlt
='/[^/][^/]*/\.\./'
11559 # Canonicalize the pathname of ld
11560 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11561 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
11562 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11564 test -z "$LD" && LD
="$ac_prog"
11567 # If it fails, then pretend we aren't using GCC.
11571 # If it is relative, then search for the first ld in PATH.
11572 with_gnu_ld
=unknown
11575 elif test "$with_gnu_ld" = yes; then
11576 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
11577 $as_echo_n "checking for GNU ld... " >&6; }
11579 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11580 $as_echo_n "checking for non-GNU ld... " >&6; }
11582 if test "${lt_cv_path_LD+set}" = set; then
11583 $as_echo_n "(cached) " >&6
11585 if test -z "$LD"; then
11586 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11587 for ac_dir
in $PATH; do
11589 test -z "$ac_dir" && ac_dir
=.
11590 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
11591 lt_cv_path_LD
="$ac_dir/$ac_prog"
11592 # Check to see if the program is GNU ld. I'd rather use --version,
11593 # but apparently some variants of GNU ld only accept -v.
11594 # Break only if it was the GNU/non-GNU ld that we prefer.
11595 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11596 *GNU
* |
*'with BFD'*)
11597 test "$with_gnu_ld" != no
&& break
11600 test "$with_gnu_ld" != yes && break
11607 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11611 LD
="$lt_cv_path_LD"
11612 if test -n "$LD"; then
11613 { $as_echo "$as_me:$LINENO: result: $LD" >&5
11614 $as_echo "$LD" >&6; }
11616 { $as_echo "$as_me:$LINENO: result: no" >&5
11617 $as_echo "no" >&6; }
11619 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11620 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11621 { (exit 1); exit 1; }; }
11622 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11623 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11624 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11625 $as_echo_n "(cached) " >&6
11627 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11628 case `$LD -v 2>&1 </dev/null` in
11629 *GNU
* |
*'with BFD'*)
11630 lt_cv_prog_gnu_ld
=yes
11633 lt_cv_prog_gnu_ld
=no
11637 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11638 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11639 with_gnu_ld
=$lt_cv_prog_gnu_ld
11649 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
11650 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
11651 if test "${lt_cv_path_NM+set}" = set; then
11652 $as_echo_n "(cached) " >&6
11654 if test -n "$NM"; then
11655 # Let the user override the test.
11656 lt_cv_path_NM
="$NM"
11658 lt_nm_to_check
="${ac_tool_prefix}nm"
11659 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
11660 lt_nm_to_check
="$lt_nm_to_check nm"
11662 for lt_tmp_nm
in $lt_nm_to_check; do
11663 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11664 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
11666 test -z "$ac_dir" && ac_dir
=.
11667 tmp_nm
="$ac_dir/$lt_tmp_nm"
11668 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
11669 # Check to see if the nm accepts a BSD-compat flag.
11670 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
11671 # nm: unknown option "B" ignored
11672 # Tru64's nm complains that /dev/null is an invalid object file
11673 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
11674 */dev
/null
* |
*'Invalid file or object type'*)
11675 lt_cv_path_NM
="$tmp_nm -B"
11679 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
11681 lt_cv_path_NM
="$tmp_nm -p"
11685 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
11686 continue # so that we can try to find one that supports BSD flags
11695 : ${lt_cv_path_NM=no}
11698 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
11699 $as_echo "$lt_cv_path_NM" >&6; }
11700 if test "$lt_cv_path_NM" != "no"; then
11701 NM
="$lt_cv_path_NM"
11703 # Didn't find any BSD compatible name lister, look for dumpbin.
11704 if test -n "$ac_tool_prefix"; then
11705 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
11707 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11708 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11709 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11710 $as_echo_n "checking for $ac_word... " >&6; }
11711 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
11712 $as_echo_n "(cached) " >&6
11714 if test -n "$DUMPBIN"; then
11715 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
11717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11718 for as_dir
in $PATH
11721 test -z "$as_dir" && as_dir
=.
11722 for ac_exec_ext
in '' $ac_executable_extensions; do
11723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11724 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
11725 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11734 DUMPBIN
=$ac_cv_prog_DUMPBIN
11735 if test -n "$DUMPBIN"; then
11736 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
11737 $as_echo "$DUMPBIN" >&6; }
11739 { $as_echo "$as_me:$LINENO: result: no" >&5
11740 $as_echo "no" >&6; }
11744 test -n "$DUMPBIN" && break
11747 if test -z "$DUMPBIN"; then
11748 ac_ct_DUMPBIN
=$DUMPBIN
11749 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
11751 # Extract the first word of "$ac_prog", so it can be a program name with args.
11752 set dummy
$ac_prog; ac_word
=$2
11753 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11754 $as_echo_n "checking for $ac_word... " >&6; }
11755 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
11756 $as_echo_n "(cached) " >&6
11758 if test -n "$ac_ct_DUMPBIN"; then
11759 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
11761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11762 for as_dir
in $PATH
11765 test -z "$as_dir" && as_dir
=.
11766 for ac_exec_ext
in '' $ac_executable_extensions; do
11767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11768 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
11769 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11778 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
11779 if test -n "$ac_ct_DUMPBIN"; then
11780 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
11781 $as_echo "$ac_ct_DUMPBIN" >&6; }
11783 { $as_echo "$as_me:$LINENO: result: no" >&5
11784 $as_echo "no" >&6; }
11788 test -n "$ac_ct_DUMPBIN" && break
11791 if test "x$ac_ct_DUMPBIN" = x
; then
11794 case $cross_compiling:$ac_tool_warned in
11796 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11797 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11798 ac_tool_warned
=yes ;;
11800 DUMPBIN
=$ac_ct_DUMPBIN
11805 if test "$DUMPBIN" != ":"; then
11809 test -z "$NM" && NM
=nm
11816 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
11817 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
11818 if test "${lt_cv_nm_interface+set}" = set; then
11819 $as_echo_n "(cached) " >&6
11821 lt_cv_nm_interface
="BSD nm"
11822 echo "int some_variable = 0;" > conftest.
$ac_ext
11823 (eval echo "\"\$as_me:11823: $ac_compile\"" >&5)
11824 (eval "$ac_compile" 2>conftest.err
)
11825 cat conftest.err
>&5
11826 (eval echo "\"\$as_me:11826: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
11827 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
11828 cat conftest.err
>&5
11829 (eval echo "\"\$as_me:11829: output\"" >&5)
11830 cat conftest.out
>&5
11831 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
11832 lt_cv_nm_interface
="MS dumpbin"
11836 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
11837 $as_echo "$lt_cv_nm_interface" >&6; }
11839 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
11840 $as_echo_n "checking whether ln -s works... " >&6; }
11842 if test "$LN_S" = "ln -s"; then
11843 { $as_echo "$as_me:$LINENO: result: yes" >&5
11844 $as_echo "yes" >&6; }
11846 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11847 $as_echo "no, using $LN_S" >&6; }
11850 # find the maximum length of command line arguments
11851 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
11852 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
11853 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
11854 $as_echo_n "(cached) " >&6
11861 # On DJGPP, this test can blow up pretty badly due to problems in libc
11862 # (any single argument exceeding 2000 bytes causes a buffer overrun
11863 # during glob expansion). Even if it were fixed, the result of this
11864 # check would be larger than it should be.
11865 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
11869 # Under GNU Hurd, this test is not required because there is
11870 # no limit to the length of command line arguments.
11871 # Libtool will interpret -1 as no limit whatsoever
11872 lt_cv_sys_max_cmd_len
=-1;
11876 # On Win9x/ME, this test blows up -- it succeeds, but takes
11877 # about 5 minutes as the teststring grows exponentially.
11878 # Worse, since 9x/ME are not pre-emptively multitasking,
11879 # you end up with a "frozen" computer, even though with patience
11880 # the test eventually succeeds (with a max line length of 256k).
11881 # Instead, let's just punt: use the minimum linelength reported by
11882 # all of the supported platforms: 8192 (on NT/2K/XP).
11883 lt_cv_sys_max_cmd_len
=8192;
11887 # On AmigaOS with pdksh, this test takes hours, literally.
11888 # So we just punt and use a minimum line length of 8192.
11889 lt_cv_sys_max_cmd_len
=8192;
11892 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
11893 # This has been around since 386BSD, at least. Likely further.
11894 if test -x /sbin
/sysctl
; then
11895 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
11896 elif test -x /usr
/sbin
/sysctl
; then
11897 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
11899 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
11901 # And add a safety zone
11902 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
11903 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
11907 # We know the value 262144 and hardcode it with a safety zone (like BSD)
11908 lt_cv_sys_max_cmd_len
=196608
11912 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
11913 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
11914 # nice to cause kernel panics so lets avoid the loop below.
11915 # First set a reasonable default.
11916 lt_cv_sys_max_cmd_len
=16384
11918 if test -x /sbin
/sysconfig
; then
11919 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
11920 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
11925 lt_cv_sys_max_cmd_len
=102400
11927 sysv5
* | sco5v6
* | sysv4.2uw2
*)
11928 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
11929 if test -n "$kargmax"; then
11930 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
11932 lt_cv_sys_max_cmd_len
=32768
11936 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
11937 if test -n "$lt_cv_sys_max_cmd_len"; then
11938 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
11939 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
11941 # Make teststring a little bigger before we do anything with it.
11942 # a 1K string should be a reasonable start.
11943 for i
in 1 2 3 4 5 6 7 8 ; do
11944 teststring
=$teststring$teststring
11946 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
11947 # If test is not a shell built-in, we'll probably end up computing a
11948 # maximum length that is only half of the actual maximum length, but
11950 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
11951 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
11952 test $i != 17 # 1/2 MB should be enough
11955 teststring
=$teststring$teststring
11957 # Only check the string length outside the loop.
11958 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
11960 # Add a significant safety factor because C++ compilers can tack on
11961 # massive amounts of additional arguments before passing them to the
11962 # linker. It appears as though 1/2 is a usable value.
11963 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
11970 if test -n $lt_cv_sys_max_cmd_len ; then
11971 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
11972 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
11974 { $as_echo "$as_me:$LINENO: result: none" >&5
11975 $as_echo "none" >&6; }
11977 max_cmd_len
=$lt_cv_sys_max_cmd_len
11989 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
11990 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
11991 # Try some XSI features
11993 ( _lt_dummy
="a/b/c"
11994 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
11995 = c,a/b,, ) >/dev/null 2>&1 \
11997 { $as_echo "$as_me:$LINENO: result
: $xsi_shell" >&5
11998 $as_echo "$xsi_shell" >&6; }
12001 { $as_echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
12002 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
12004 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
12006 && lt_shell_append=yes
12007 { $as_echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
12008 $as_echo "$lt_shell_append" >&6; }
12011 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12021 # test EBCDIC or ASCII
12022 case `echo X|tr X '\101'` in
12023 A) # ASCII based system
12024 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
12025 lt_SP2NL='tr \040 \012'
12026 lt_NL2SP='tr \015\012 \040\040'
12028 *) # EBCDIC based system
12029 lt_SP2NL='tr \100 \n'
12030 lt_NL2SP='tr \r\n \100\100'
12042 { $as_echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
12043 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
12044 if test "${lt_cv_ld_reload_flag+set}" = set; then
12045 $as_echo_n "(cached
) " >&6
12047 lt_cv_ld_reload_flag='-r'
12049 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
12050 $as_echo "$lt_cv_ld_reload_flag" >&6; }
12051 reload_flag=$lt_cv_ld_reload_flag
12052 case $reload_flag in
12054 *) reload_flag=" $reload_flag" ;;
12056 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12059 if test "$GCC" = yes; then
12060 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
12062 reload_cmds='$LD$reload_flag -o $output$reload_objs'
12076 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
12077 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
12078 if test "${lt_cv_deplibs_check_method+set}" = set; then
12079 $as_echo_n "(cached
) " >&6
12081 lt_cv_file_magic_cmd='$MAGIC_CMD'
12082 lt_cv_file_magic_test_file=
12083 lt_cv_deplibs_check_method='unknown'
12084 # Need to set the preceding variable on all platforms that support
12085 # interlibrary dependencies.
12086 # 'none' -- dependencies not supported.
12087 # `unknown' -- same as none, but documents that we really don't know.
12088 # 'pass_all' -- all dependencies passed with no checks.
12089 # 'test_compile' -- check by making test program.
12090 # 'file_magic [[regex]]' -- check by looking for files in library path
12091 # which responds to the $file_magic_cmd with a given extended regex.
12092 # If you have `file' or equivalent on your system and you're not sure
12093 # whether `pass_all' will *always* work, you probably want this one.
12097 lt_cv_deplibs_check_method=pass_all
12101 lt_cv_deplibs_check_method=pass_all
12105 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
12106 lt_cv_file_magic_cmd='/usr/bin/file -L'
12107 lt_cv_file_magic_test_file=/shlib/libc.so
12111 # func_win32_libid is a shell function defined in ltmain.sh
12112 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
12113 lt_cv_file_magic_cmd='func_win32_libid'
12117 # Base MSYS/MinGW do not provide the 'file' command needed by
12118 # func_win32_libid shell function, so use a weaker test based on 'objdump',
12119 # unless we find 'file', for example because we are cross-compiling.
12120 if ( file / ) >/dev/null 2>&1; then
12121 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
12122 lt_cv_file_magic_cmd='func_win32_libid'
12124 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
12125 lt_cv_file_magic_cmd='$OBJDUMP -f'
12129 darwin* | rhapsody*)
12130 lt_cv_deplibs_check_method=pass_all
12133 freebsd* | dragonfly*)
12134 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
12137 # Not sure whether the presence of OpenBSD here was a mistake.
12138 # Let's accept both of them until this is cleared up.
12139 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
12140 lt_cv_file_magic_cmd=/usr/bin/file
12141 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
12145 lt_cv_deplibs_check_method=pass_all
12150 lt_cv_deplibs_check_method=pass_all
12153 hpux10.20* | hpux11*)
12154 lt_cv_file_magic_cmd=/usr/bin/file
12157 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
12158 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
12161 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]'
12162 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
12165 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
12166 lt_cv_file_magic_test_file=/usr/lib/libc.sl
12172 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
12173 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
12176 irix5* | irix6* | nonstopux*)
12178 *-32|*"-32 ") libmagic=32-bit;;
12179 *-n32|*"-n32 ") libmagic=N32;;
12180 *-64|*"-64 ") libmagic=64-bit;;
12181 *) libmagic=never-match;;
12183 lt_cv_deplibs_check_method=pass_all
12186 # This must be Linux ELF.
12187 linux* | k*bsd*-gnu)
12188 lt_cv_deplibs_check_method=pass_all
12192 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
12193 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12195 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
12200 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
12201 lt_cv_file_magic_cmd=/usr/bin/file
12202 lt_cv_file_magic_test_file=/usr/lib/libnls.so
12206 lt_cv_deplibs_check_method=pass_all
12210 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
12211 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
12213 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
12217 osf3* | osf4* | osf5*)
12218 lt_cv_deplibs_check_method=pass_all
12222 lt_cv_deplibs_check_method=pass_all
12226 lt_cv_deplibs_check_method=pass_all
12229 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12230 lt_cv_deplibs_check_method=pass_all
12234 case $host_vendor in
12236 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]'
12237 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
12240 lt_cv_deplibs_check_method=pass_all
12243 lt_cv_file_magic_cmd='/bin/file'
12244 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
12247 lt_cv_file_magic_cmd='/bin/file'
12248 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
12249 lt_cv_file_magic_test_file=/lib/libc.so
12252 lt_cv_deplibs_check_method=pass_all
12255 lt_cv_deplibs_check_method=pass_all
12261 lt_cv_deplibs_check_method=pass_all
12266 { $as_echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
12267 $as_echo "$lt_cv_deplibs_check_method" >&6; }
12268 file_magic_cmd=$lt_cv_file_magic_cmd
12269 deplibs_check_method=$lt_cv_deplibs_check_method
12270 test -z "$deplibs_check_method" && deplibs_check_method=unknown
12283 if test -n "$ac_tool_prefix"; then
12284 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
12285 set dummy ${ac_tool_prefix}ar; ac_word=$2
12286 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
12287 $as_echo_n "checking
for $ac_word...
" >&6; }
12288 if test "${ac_cv_prog_AR+set}" = set; then
12289 $as_echo_n "(cached
) " >&6
12291 if test -n "$AR"; then
12292 ac_cv_prog_AR="$AR" # Let the user override the test.
12294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12295 for as_dir in $PATH
12298 test -z "$as_dir" && as_dir=.
12299 for ac_exec_ext in '' $ac_executable_extensions; do
12300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12301 ac_cv_prog_AR="${ac_tool_prefix}ar"
12302 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
12312 if test -n "$AR"; then
12313 { $as_echo "$as_me:$LINENO: result
: $AR" >&5
12314 $as_echo "$AR" >&6; }
12316 { $as_echo "$as_me:$LINENO: result
: no
" >&5
12317 $as_echo "no
" >&6; }
12322 if test -z "$ac_cv_prog_AR"; then
12324 # Extract the first word of "ar", so it can be a program name with args.
12325 set dummy ar; ac_word=$2
12326 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
12327 $as_echo_n "checking
for $ac_word...
" >&6; }
12328 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
12329 $as_echo_n "(cached
) " >&6
12331 if test -n "$ac_ct_AR"; then
12332 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
12334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12335 for as_dir in $PATH
12338 test -z "$as_dir" && as_dir=.
12339 for ac_exec_ext in '' $ac_executable_extensions; do
12340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12341 ac_cv_prog_ac_ct_AR="ar"
12342 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
12351 ac_ct_AR=$ac_cv_prog_ac_ct_AR
12352 if test -n "$ac_ct_AR"; then
12353 { $as_echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
12354 $as_echo "$ac_ct_AR" >&6; }
12356 { $as_echo "$as_me:$LINENO: result
: no
" >&5
12357 $as_echo "no
" >&6; }
12360 if test "x
$ac_ct_AR" = x; then
12363 case $cross_compiling:$ac_tool_warned in
12365 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
12366 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
12367 ac_tool_warned=yes ;;
12372 AR="$ac_cv_prog_AR"
12375 test -z "$AR" && AR=ar
12376 test -z "$AR_FLAGS" && AR_FLAGS=cru
12388 if test -n "$ac_tool_prefix"; then
12389 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
12390 set dummy ${ac_tool_prefix}strip; ac_word=$2
12391 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
12392 $as_echo_n "checking
for $ac_word...
" >&6; }
12393 if test "${ac_cv_prog_STRIP+set}" = set; then
12394 $as_echo_n "(cached
) " >&6
12396 if test -n "$STRIP"; then
12397 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12400 for as_dir in $PATH
12403 test -z "$as_dir" && as_dir=.
12404 for ac_exec_ext in '' $ac_executable_extensions; do
12405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12406 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
12407 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
12416 STRIP=$ac_cv_prog_STRIP
12417 if test -n "$STRIP"; then
12418 { $as_echo "$as_me:$LINENO: result
: $STRIP" >&5
12419 $as_echo "$STRIP" >&6; }
12421 { $as_echo "$as_me:$LINENO: result
: no
" >&5
12422 $as_echo "no
" >&6; }
12427 if test -z "$ac_cv_prog_STRIP"; then
12429 # Extract the first word of "strip
", so it can be a program name with args.
12430 set dummy strip; ac_word=$2
12431 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
12432 $as_echo_n "checking
for $ac_word...
" >&6; }
12433 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
12434 $as_echo_n "(cached
) " >&6
12436 if test -n "$ac_ct_STRIP"; then
12437 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
12439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12440 for as_dir in $PATH
12443 test -z "$as_dir" && as_dir=.
12444 for ac_exec_ext in '' $ac_executable_extensions; do
12445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12446 ac_cv_prog_ac_ct_STRIP="strip
"
12447 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
12456 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
12457 if test -n "$ac_ct_STRIP"; then
12458 { $as_echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
12459 $as_echo "$ac_ct_STRIP" >&6; }
12461 { $as_echo "$as_me:$LINENO: result
: no
" >&5
12462 $as_echo "no
" >&6; }
12465 if test "x
$ac_ct_STRIP" = x; then
12468 case $cross_compiling:$ac_tool_warned in
12470 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
12471 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
12472 ac_tool_warned=yes ;;
12477 STRIP="$ac_cv_prog_STRIP"
12480 test -z "$STRIP" && STRIP=:
12487 if test -n "$ac_tool_prefix"; then
12488 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
12489 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
12490 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
12491 $as_echo_n "checking
for $ac_word...
" >&6; }
12492 if test "${ac_cv_prog_RANLIB+set}" = set; then
12493 $as_echo_n "(cached
) " >&6
12495 if test -n "$RANLIB"; then
12496 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
12498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12499 for as_dir in $PATH
12502 test -z "$as_dir" && as_dir=.
12503 for ac_exec_ext in '' $ac_executable_extensions; do
12504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12505 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
12506 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
12515 RANLIB=$ac_cv_prog_RANLIB
12516 if test -n "$RANLIB"; then
12517 { $as_echo "$as_me:$LINENO: result
: $RANLIB" >&5
12518 $as_echo "$RANLIB" >&6; }
12520 { $as_echo "$as_me:$LINENO: result
: no
" >&5
12521 $as_echo "no
" >&6; }
12526 if test -z "$ac_cv_prog_RANLIB"; then
12527 ac_ct_RANLIB=$RANLIB
12528 # Extract the first word of "ranlib
", so it can be a program name with args.
12529 set dummy ranlib; ac_word=$2
12530 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
12531 $as_echo_n "checking
for $ac_word...
" >&6; }
12532 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12533 $as_echo_n "(cached
) " >&6
12535 if test -n "$ac_ct_RANLIB"; then
12536 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
12538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12539 for as_dir in $PATH
12542 test -z "$as_dir" && as_dir=.
12543 for ac_exec_ext in '' $ac_executable_extensions; do
12544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12545 ac_cv_prog_ac_ct_RANLIB="ranlib
"
12546 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
12555 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
12556 if test -n "$ac_ct_RANLIB"; then
12557 { $as_echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
12558 $as_echo "$ac_ct_RANLIB" >&6; }
12560 { $as_echo "$as_me:$LINENO: result
: no
" >&5
12561 $as_echo "no
" >&6; }
12564 if test "x
$ac_ct_RANLIB" = x; then
12567 case $cross_compiling:$ac_tool_warned in
12569 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
12570 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
12571 ac_tool_warned=yes ;;
12573 RANLIB=$ac_ct_RANLIB
12576 RANLIB="$ac_cv_prog_RANLIB"
12579 test -z "$RANLIB" && RANLIB=:
12586 # Determine commands to create old-style static archives.
12587 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
12588 old_postinstall_cmds='chmod 644 $oldlib'
12589 old_postuninstall_cmds=
12591 if test -n "$RANLIB"; then
12594 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
12597 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
12600 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
12636 # If no C compiler was specified, use CC.
12639 # If no C compiler flags were specified, use CFLAGS.
12640 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12642 # Allow CC to be a program name with arguments.
12646 # Check for command to grab the raw symbol name followed by C symbol from nm.
12647 { $as_echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
12648 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
12649 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
12650 $as_echo_n "(cached
) " >&6
12653 # These are sane defaults that work on at least a few old systems.
12654 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
12656 # Character class describing NM global symbol codes.
12657 symcode='[BCDEGRST]'
12659 # Regexp to match symbols that can be accessed directly from C.
12660 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
12662 # Define system-specific variables.
12667 cygwin* | mingw* | pw32*)
12668 symcode='[ABCDGISTW]'
12671 if test "$host_cpu" = ia64; then
12672 symcode='[ABCDEGRST]'
12675 irix* | nonstopux*)
12676 symcode='[BCDEGRST]'
12679 symcode='[BCDEGQRST]'
12690 sysv5* | sco5v6* | unixware* | OpenUNIX*)
12698 # If we're using GNU nm, then use its standard symbol codes.
12699 case `$NM -V 2>&1` in
12700 *GNU* | *'with BFD'*)
12701 symcode='[ABCDGIRSTW]' ;;
12704 # Transform an extracted symbol line into a proper C declaration.
12705 # Some systems (esp. on ia64) link data and code symbols differently,
12706 # so use this general approach.
12707 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
12709 # Transform an extracted symbol line into symbol name and symbol address
12710 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
12711 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
12713 # Handle CRLF in mingw tool chain
12717 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
12721 # Try without a prefix underscore, then with it.
12722 for ac_symprfx in "" "_
"; do
12724 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
12725 symxfrm="\\1 $ac_symprfx\\2 \\2"
12727 # Write the raw and C identifiers.
12728 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
12729 # Fake it for dumpbin and say T for any non-static function
12730 # and D for any global variable.
12731 # Also find C++ and __fastcall symbols from MSVC++,
12732 # which start with @ or ?.
12733 lt_cv_sys_global_symbol_pipe="$AWK '"\
12734 " {last_section=section; section=\$ 3};"\
12735 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
12736 " \$ 0!~/External *\|/{next};"\
12737 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
12738 " {if(hide[section]) next};"\
12739 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
12740 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
12741 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
12742 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
12743 " ' prfx
=^
$ac_symprfx"
12745 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
12748 # Check to see that the pipe works correctly.
12752 cat > conftest.$ac_ext <<_LT_EOF
12757 void nm_test_func(void);
12758 void nm_test_func(void){}
12762 int main(){nm_test_var='a';nm_test_func();return(0);}
12765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12766 (eval $ac_compile) 2>&5
12768 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12769 (exit $ac_status); }; then
12770 # Now try to grab the symbols.
12772 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
12773 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
12775 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12776 (exit $ac_status); } && test -s "$nlist"; then
12777 # Try sorting and uniquifying the output.
12778 if sort "$nlist" | uniq > "$nlist"T; then
12779 mv -f "$nlist"T "$nlist"
12784 # Make sure that we snagged all the symbols we need.
12785 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
12786 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
12787 cat <<_LT_EOF > conftest.$ac_ext
12793 # Now generate the symbol file.
12794 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
12796 cat <<_LT_EOF >> conftest.$ac_ext
12798 /* The mapping between symbol names and symbols. */
12803 lt__PROGRAM__LTX_preloaded_symbols[] =
12805 { "@PROGRAM@
", (void *) 0 },
12807 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
12808 cat <<\_LT_EOF >> conftest.$ac_ext
12812 /* This works around a problem in FreeBSD linker */
12813 #ifdef FREEBSD_WORKAROUND
12814 static const void *lt_preloaded_setup() {
12815 return lt__PROGRAM__LTX_preloaded_symbols;
12823 # Now try linking the two files.
12824 mv conftest.$ac_objext conftstm.$ac_objext
12825 lt_save_LIBS="$LIBS"
12826 lt_save_CFLAGS="$CFLAGS"
12827 LIBS="conftstm.
$ac_objext"
12828 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
12829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12830 (eval $ac_link) 2>&5
12832 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12833 (exit $ac_status); } && test -s conftest${ac_exeext}; then
12836 LIBS="$lt_save_LIBS"
12837 CFLAGS="$lt_save_CFLAGS"
12839 echo "cannot
find nm_test_func
in $nlist" >&5
12842 echo "cannot
find nm_test_var
in $nlist" >&5
12845 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
12848 echo "$progname: failed program was
:" >&5
12849 cat conftest.$ac_ext >&5
12851 rm -rf conftest* conftst*
12853 # Do not use the global_symbol_pipe unless it works.
12854 if test "$pipe_works" = yes; then
12857 lt_cv_sys_global_symbol_pipe=
12863 if test -z "$lt_cv_sys_global_symbol_pipe"; then
12864 lt_cv_sys_global_symbol_to_cdecl=
12866 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
12867 { $as_echo "$as_me:$LINENO: result
: failed
" >&5
12868 $as_echo "failed
" >&6; }
12870 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
12871 $as_echo "ok
" >&6; }
12895 # Check whether --enable-libtool-lock was given.
12896 if test "${enable_libtool_lock+set}" = set; then
12897 enableval=$enable_libtool_lock;
12900 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
12902 # Some flags need to be propagated to the compiler or linker for good
12906 # Find out which ABI we are using.
12907 echo 'int i;' > conftest.$ac_ext
12908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12909 (eval $ac_compile) 2>&5
12911 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12912 (exit $ac_status); }; then
12913 case `/usr/bin/file conftest.$ac_objext` in
12915 HPUX_IA64_MODE="32"
12918 HPUX_IA64_MODE="64"
12925 # Find out which ABI we are using.
12926 echo '#line 12926 "configure
"' > conftest.$ac_ext
12927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12928 (eval $ac_compile) 2>&5
12930 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12931 (exit $ac_status); }; then
12932 if test "$lt_cv_prog_gnu_ld" = yes; then
12933 case `/usr/bin/file conftest.$ac_objext` in
12935 LD="${LD-ld} -melf32bsmip"
12938 LD="${LD-ld} -melf32bmipn32"
12941 LD="${LD-ld} -melf64bmip"
12945 case `/usr/bin/file conftest.$ac_objext` in
12961 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
12962 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
12963 # Find out which ABI we are using.
12964 echo 'int i;' > conftest.$ac_ext
12965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12966 (eval $ac_compile) 2>&5
12968 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12969 (exit $ac_status); }; then
12970 case `/usr/bin/file conftest.o` in
12973 x86_64-*kfreebsd*-gnu)
12974 LD="${LD-ld} -m elf_i386_fbsd
"
12977 LD="${LD-ld} -m elf_i386
"
12979 ppc64-*linux*|powerpc64-*linux*)
12980 LD="${LD-ld} -m elf32ppclinux
"
12983 LD="${LD-ld} -m elf_s390
"
12986 LD="${LD-ld} -m elf32_sparc
"
12992 x86_64-*kfreebsd*-gnu)
12993 LD="${LD-ld} -m elf_x86_64_fbsd
"
12996 LD="${LD-ld} -m elf_x86_64
"
12998 ppc*-*linux*|powerpc*-*linux*)
12999 LD="${LD-ld} -m elf64ppc
"
13001 s390*-*linux*|s390*-*tpf*)
13002 LD="${LD-ld} -m elf64_s390
"
13005 LD="${LD-ld} -m elf64_sparc
"
13015 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
13016 SAVE_CFLAGS="$CFLAGS"
13017 CFLAGS="$CFLAGS -belf"
13018 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
13019 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
13020 if test "${lt_cv_cc_needs_belf+set}" = set; then
13021 $as_echo_n "(cached
) " >&6
13024 ac_cpp='$CPP $CPPFLAGS'
13025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13029 cat >conftest.$ac_ext <<_ACEOF
13032 cat confdefs.h >>conftest.$ac_ext
13033 cat >>conftest.$ac_ext <<_ACEOF
13034 /* end confdefs.h. */
13044 rm -f conftest.$ac_objext conftest$ac_exeext
13045 if { (ac_try="$ac_link"
13046 case "(($ac_try" in
13047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13048 *) ac_try_echo=$ac_try;;
13050 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
13051 $as_echo "$ac_try_echo") >&5
13052 (eval "$ac_link") 2>conftest.er1
13054 grep -v '^ *+' conftest.er1 >conftest.err
13056 cat conftest.err >&5
13057 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13058 (exit $ac_status); } && {
13059 test -z "$ac_c_werror_flag" ||
13060 test ! -s conftest.err
13061 } && test -s conftest$ac_exeext && {
13062 test "$cross_compiling" = yes ||
13063 $as_test_x conftest$ac_exeext
13065 lt_cv_cc_needs_belf=yes
13067 $as_echo "$as_me: failed program was
:" >&5
13068 sed 's/^/| /' conftest.$ac_ext >&5
13070 lt_cv_cc_needs_belf=no
13073 rm -rf conftest.dSYM
13074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13075 conftest$ac_exeext conftest.$ac_ext
13077 ac_cpp='$CPP $CPPFLAGS'
13078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13083 { $as_echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
13084 $as_echo "$lt_cv_cc_needs_belf" >&6; }
13085 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
13086 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
13087 CFLAGS="$SAVE_CFLAGS"
13091 # Find out which ABI we are using.
13092 echo 'int i;' > conftest.$ac_ext
13093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13094 (eval $ac_compile) 2>&5
13096 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13097 (exit $ac_status); }; then
13098 case `/usr/bin/file conftest.o` in
13100 case $lt_cv_prog_gnu_ld in
13101 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
13103 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
13115 need_locks="$enable_libtool_lock"
13119 rhapsody* | darwin*)
13120 if test -n "$ac_tool_prefix"; then
13121 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
13122 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
13123 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
13124 $as_echo_n "checking
for $ac_word...
" >&6; }
13125 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
13126 $as_echo_n "(cached
) " >&6
13128 if test -n "$DSYMUTIL"; then
13129 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
13131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13132 for as_dir in $PATH
13135 test -z "$as_dir" && as_dir=.
13136 for ac_exec_ext in '' $ac_executable_extensions; do
13137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13138 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
13139 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13148 DSYMUTIL=$ac_cv_prog_DSYMUTIL
13149 if test -n "$DSYMUTIL"; then
13150 { $as_echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
13151 $as_echo "$DSYMUTIL" >&6; }
13153 { $as_echo "$as_me:$LINENO: result
: no
" >&5
13154 $as_echo "no
" >&6; }
13159 if test -z "$ac_cv_prog_DSYMUTIL"; then
13160 ac_ct_DSYMUTIL=$DSYMUTIL
13161 # Extract the first word of "dsymutil
", so it can be a program name with args.
13162 set dummy dsymutil; ac_word=$2
13163 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
13164 $as_echo_n "checking
for $ac_word...
" >&6; }
13165 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
13166 $as_echo_n "(cached
) " >&6
13168 if test -n "$ac_ct_DSYMUTIL"; then
13169 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
13171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13172 for as_dir in $PATH
13175 test -z "$as_dir" && as_dir=.
13176 for ac_exec_ext in '' $ac_executable_extensions; do
13177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13178 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
13179 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13188 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
13189 if test -n "$ac_ct_DSYMUTIL"; then
13190 { $as_echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
13191 $as_echo "$ac_ct_DSYMUTIL" >&6; }
13193 { $as_echo "$as_me:$LINENO: result
: no
" >&5
13194 $as_echo "no
" >&6; }
13197 if test "x
$ac_ct_DSYMUTIL" = x; then
13200 case $cross_compiling:$ac_tool_warned in
13202 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
13203 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
13204 ac_tool_warned=yes ;;
13206 DSYMUTIL=$ac_ct_DSYMUTIL
13209 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
13212 if test -n "$ac_tool_prefix"; then
13213 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
13214 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
13215 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
13216 $as_echo_n "checking
for $ac_word...
" >&6; }
13217 if test "${ac_cv_prog_NMEDIT+set}" = set; then
13218 $as_echo_n "(cached
) " >&6
13220 if test -n "$NMEDIT"; then
13221 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
13223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13224 for as_dir in $PATH
13227 test -z "$as_dir" && as_dir=.
13228 for ac_exec_ext in '' $ac_executable_extensions; do
13229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13230 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
13231 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13240 NMEDIT=$ac_cv_prog_NMEDIT
13241 if test -n "$NMEDIT"; then
13242 { $as_echo "$as_me:$LINENO: result
: $NMEDIT" >&5
13243 $as_echo "$NMEDIT" >&6; }
13245 { $as_echo "$as_me:$LINENO: result
: no
" >&5
13246 $as_echo "no
" >&6; }
13251 if test -z "$ac_cv_prog_NMEDIT"; then
13252 ac_ct_NMEDIT=$NMEDIT
13253 # Extract the first word of "nmedit
", so it can be a program name with args.
13254 set dummy nmedit; ac_word=$2
13255 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
13256 $as_echo_n "checking
for $ac_word...
" >&6; }
13257 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
13258 $as_echo_n "(cached
) " >&6
13260 if test -n "$ac_ct_NMEDIT"; then
13261 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
13263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13264 for as_dir in $PATH
13267 test -z "$as_dir" && as_dir=.
13268 for ac_exec_ext in '' $ac_executable_extensions; do
13269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13270 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
13271 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13280 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
13281 if test -n "$ac_ct_NMEDIT"; then
13282 { $as_echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
13283 $as_echo "$ac_ct_NMEDIT" >&6; }
13285 { $as_echo "$as_me:$LINENO: result
: no
" >&5
13286 $as_echo "no
" >&6; }
13289 if test "x
$ac_ct_NMEDIT" = x; then
13292 case $cross_compiling:$ac_tool_warned in
13294 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
13295 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
13296 ac_tool_warned=yes ;;
13298 NMEDIT=$ac_ct_NMEDIT
13301 NMEDIT="$ac_cv_prog_NMEDIT"
13315 { $as_echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
13316 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
13317 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
13318 $as_echo_n "(cached
) " >&6
13320 lt_cv_apple_cc_single_mod=no
13321 if test -z "${LT_MULTI_MODULE}"; then
13322 # By default we will add the -single_module flag. You can override
13323 # by either setting the environment variable LT_MULTI_MODULE
13324 # non-empty at configure time, or by adding -multi_module to the
13326 echo "int foo
(void
){return 1;}" > conftest.c
13327 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
13328 -dynamiclib ${wl}-single_module conftest.c
13329 if test -f libconftest.dylib; then
13330 lt_cv_apple_cc_single_mod=yes
13331 rm -rf libconftest.dylib*
13336 { $as_echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
13337 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
13338 { $as_echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
13339 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
13340 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
13341 $as_echo_n "(cached
) " >&6
13343 lt_cv_ld_exported_symbols_list=no
13344 save_LDFLAGS=$LDFLAGS
13345 echo "_main
" > conftest.sym
13346 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
13347 cat >conftest.$ac_ext <<_ACEOF
13350 cat confdefs.h >>conftest.$ac_ext
13351 cat >>conftest.$ac_ext <<_ACEOF
13352 /* end confdefs.h. */
13362 rm -f conftest.$ac_objext conftest$ac_exeext
13363 if { (ac_try="$ac_link"
13364 case "(($ac_try" in
13365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13366 *) ac_try_echo=$ac_try;;
13368 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
13369 $as_echo "$ac_try_echo") >&5
13370 (eval "$ac_link") 2>conftest.er1
13372 grep -v '^ *+' conftest.er1 >conftest.err
13374 cat conftest.err >&5
13375 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13376 (exit $ac_status); } && {
13377 test -z "$ac_c_werror_flag" ||
13378 test ! -s conftest.err
13379 } && test -s conftest$ac_exeext && {
13380 test "$cross_compiling" = yes ||
13381 $as_test_x conftest$ac_exeext
13383 lt_cv_ld_exported_symbols_list=yes
13385 $as_echo "$as_me: failed program was
:" >&5
13386 sed 's/^/| /' conftest.$ac_ext >&5
13388 lt_cv_ld_exported_symbols_list=no
13391 rm -rf conftest.dSYM
13392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13393 conftest$ac_exeext conftest.$ac_ext
13394 LDFLAGS="$save_LDFLAGS"
13397 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
13398 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
13400 rhapsody* | darwin1.[012])
13401 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
13403 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
13404 darwin*) # darwin 5.x on
13405 # if running on 10.5 or later, the deployment target defaults
13406 # to the OS version, if on x86, and 10.4, the deployment
13407 # target defaults to 10.4. Don't you love it?
13408 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
13409 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
13410 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
13412 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
13414 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
13418 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
13419 _lt_dar_single_mod='$single_module'
13421 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
13422 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
13424 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
13426 if test "$DSYMUTIL" != ":"; then
13427 _lt_dsymutil='~$DSYMUTIL $lib || :'
13435 for ac_header in dlfcn.h
13437 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
13438 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
13439 $as_echo_n "checking
for $ac_header...
" >&6; }
13440 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
13441 $as_echo_n "(cached
) " >&6
13443 cat >conftest.$ac_ext <<_ACEOF
13446 cat confdefs.h >>conftest.$ac_ext
13447 cat >>conftest.$ac_ext <<_ACEOF
13448 /* end confdefs.h. */
13449 $ac_includes_default
13451 #include <$ac_header>
13453 rm -f conftest.$ac_objext
13454 if { (ac_try="$ac_compile"
13455 case "(($ac_try" in
13456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13457 *) ac_try_echo=$ac_try;;
13459 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
13460 $as_echo "$ac_try_echo") >&5
13461 (eval "$ac_compile") 2>conftest.er1
13463 grep -v '^ *+' conftest.er1 >conftest.err
13465 cat conftest.err >&5
13466 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13467 (exit $ac_status); } && {
13468 test -z "$ac_c_werror_flag" ||
13469 test ! -s conftest.err
13470 } && test -s conftest.$ac_objext; then
13471 eval "$as_ac_Header=yes"
13473 $as_echo "$as_me: failed program was
:" >&5
13474 sed 's/^/| /' conftest.$ac_ext >&5
13476 eval "$as_ac_Header=no
"
13479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13481 ac_res=`eval 'as_val=${'$as_ac_Header'}
13482 $as_echo "$as_val"'`
13483 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
13484 $as_echo "$ac_res" >&6; }
13485 as_val=`eval 'as_val=${'$as_ac_Header'}
13486 $as_echo "$as_val"'`
13487 if test "x
$as_val" = x""yes; then
13488 cat >>confdefs.h <<_ACEOF
13489 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
13499 ac_cpp='$CXXCPP $CPPFLAGS'
13500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13503 if test -z "$CXX"; then
13504 if test -n "$CCC"; then
13507 if test -n "$ac_tool_prefix"; then
13508 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13510 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13511 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13512 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
13513 $as_echo_n "checking
for $ac_word...
" >&6; }
13514 if test "${ac_cv_prog_CXX+set}" = set; then
13515 $as_echo_n "(cached
) " >&6
13517 if test -n "$CXX"; then
13518 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13521 for as_dir in $PATH
13524 test -z "$as_dir" && as_dir=.
13525 for ac_exec_ext in '' $ac_executable_extensions; do
13526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13527 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13528 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13537 CXX=$ac_cv_prog_CXX
13538 if test -n "$CXX"; then
13539 { $as_echo "$as_me:$LINENO: result
: $CXX" >&5
13540 $as_echo "$CXX" >&6; }
13542 { $as_echo "$as_me:$LINENO: result
: no
" >&5
13543 $as_echo "no
" >&6; }
13547 test -n "$CXX" && break
13550 if test -z "$CXX"; then
13552 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13554 # Extract the first word of "$ac_prog", so it can be a program name with args.
13555 set dummy $ac_prog; ac_word=$2
13556 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
13557 $as_echo_n "checking
for $ac_word...
" >&6; }
13558 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13559 $as_echo_n "(cached
) " >&6
13561 if test -n "$ac_ct_CXX"; then
13562 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13565 for as_dir in $PATH
13568 test -z "$as_dir" && as_dir=.
13569 for ac_exec_ext in '' $ac_executable_extensions; do
13570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13571 ac_cv_prog_ac_ct_CXX="$ac_prog"
13572 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
13581 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13582 if test -n "$ac_ct_CXX"; then
13583 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
13584 $as_echo "$ac_ct_CXX" >&6; }
13586 { $as_echo "$as_me:$LINENO: result
: no
" >&5
13587 $as_echo "no
" >&6; }
13591 test -n "$ac_ct_CXX" && break
13594 if test "x
$ac_ct_CXX" = x; then
13597 case $cross_compiling:$ac_tool_warned in
13599 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
13600 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
13601 ac_tool_warned=yes ;;
13609 # Provide some information about the compiler.
13610 $as_echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
13613 { (ac_try="$ac_compiler --version >&5"
13614 case "(($ac_try" in
13615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13616 *) ac_try_echo=$ac_try;;
13618 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
13619 $as_echo "$ac_try_echo") >&5
13620 (eval "$ac_compiler --version >&5") 2>&5
13622 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13623 (exit $ac_status); }
13624 { (ac_try="$ac_compiler -v >&5"
13625 case "(($ac_try" in
13626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13627 *) ac_try_echo=$ac_try;;
13629 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
13630 $as_echo "$ac_try_echo") >&5
13631 (eval "$ac_compiler -v >&5") 2>&5
13633 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13634 (exit $ac_status); }
13635 { (ac_try="$ac_compiler -V >&5"
13636 case "(($ac_try" in
13637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13638 *) ac_try_echo=$ac_try;;
13640 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
13641 $as_echo "$ac_try_echo") >&5
13642 (eval "$ac_compiler -V >&5") 2>&5
13644 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13645 (exit $ac_status); }
13647 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
13648 $as_echo_n "checking whether we are using the GNU C
++ compiler...
" >&6; }
13649 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13650 $as_echo_n "(cached
) " >&6
13652 cat >conftest.$ac_ext <<_ACEOF
13655 cat confdefs.h >>conftest.$ac_ext
13656 cat >>conftest.$ac_ext <<_ACEOF
13657 /* end confdefs.h. */
13670 rm -f conftest.$ac_objext
13671 if { (ac_try="$ac_compile"
13672 case "(($ac_try" in
13673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13674 *) ac_try_echo=$ac_try;;
13676 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
13677 $as_echo "$ac_try_echo") >&5
13678 (eval "$ac_compile") 2>conftest.er1
13680 grep -v '^ *+' conftest.er1 >conftest.err
13682 cat conftest.err >&5
13683 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13684 (exit $ac_status); } && {
13685 test -z "$ac_cxx_werror_flag" ||
13686 test ! -s conftest.err
13687 } && test -s conftest.$ac_objext; then
13688 ac_compiler_gnu=yes
13690 $as_echo "$as_me: failed program was
:" >&5
13691 sed 's/^/| /' conftest.$ac_ext >&5
13696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13697 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13700 { $as_echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
13701 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13702 if test $ac_compiler_gnu = yes; then
13707 ac_test_CXXFLAGS=${CXXFLAGS+set}
13708 ac_save_CXXFLAGS=$CXXFLAGS
13709 { $as_echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
13710 $as_echo_n "checking whether
$CXX accepts
-g...
" >&6; }
13711 if test "${ac_cv_prog_cxx_g+set}" = set; then
13712 $as_echo_n "(cached
) " >&6
13714 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13715 ac_cxx_werror_flag=yes
13716 ac_cv_prog_cxx_g=no
13718 cat >conftest.$ac_ext <<_ACEOF
13721 cat confdefs.h >>conftest.$ac_ext
13722 cat >>conftest.$ac_ext <<_ACEOF
13723 /* end confdefs.h. */
13733 rm -f conftest.$ac_objext
13734 if { (ac_try="$ac_compile"
13735 case "(($ac_try" in
13736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13737 *) ac_try_echo=$ac_try;;
13739 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
13740 $as_echo "$ac_try_echo") >&5
13741 (eval "$ac_compile") 2>conftest.er1
13743 grep -v '^ *+' conftest.er1 >conftest.err
13745 cat conftest.err >&5
13746 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13747 (exit $ac_status); } && {
13748 test -z "$ac_cxx_werror_flag" ||
13749 test ! -s conftest.err
13750 } && test -s conftest.$ac_objext; then
13751 ac_cv_prog_cxx_g=yes
13753 $as_echo "$as_me: failed program was
:" >&5
13754 sed 's/^/| /' conftest.$ac_ext >&5
13757 cat >conftest.$ac_ext <<_ACEOF
13760 cat confdefs.h >>conftest.$ac_ext
13761 cat >>conftest.$ac_ext <<_ACEOF
13762 /* end confdefs.h. */
13772 rm -f conftest.$ac_objext
13773 if { (ac_try="$ac_compile"
13774 case "(($ac_try" in
13775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13776 *) ac_try_echo=$ac_try;;
13778 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
13779 $as_echo "$ac_try_echo") >&5
13780 (eval "$ac_compile") 2>conftest.er1
13782 grep -v '^ *+' conftest.er1 >conftest.err
13784 cat conftest.err >&5
13785 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13786 (exit $ac_status); } && {
13787 test -z "$ac_cxx_werror_flag" ||
13788 test ! -s conftest.err
13789 } && test -s conftest.$ac_objext; then
13792 $as_echo "$as_me: failed program was
:" >&5
13793 sed 's/^/| /' conftest.$ac_ext >&5
13795 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13797 cat >conftest.$ac_ext <<_ACEOF
13800 cat confdefs.h >>conftest.$ac_ext
13801 cat >>conftest.$ac_ext <<_ACEOF
13802 /* end confdefs.h. */
13812 rm -f conftest.$ac_objext
13813 if { (ac_try="$ac_compile"
13814 case "(($ac_try" in
13815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13816 *) ac_try_echo=$ac_try;;
13818 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
13819 $as_echo "$ac_try_echo") >&5
13820 (eval "$ac_compile") 2>conftest.er1
13822 grep -v '^ *+' conftest.er1 >conftest.err
13824 cat conftest.err >&5
13825 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13826 (exit $ac_status); } && {
13827 test -z "$ac_cxx_werror_flag" ||
13828 test ! -s conftest.err
13829 } && test -s conftest.$ac_objext; then
13830 ac_cv_prog_cxx_g=yes
13832 $as_echo "$as_me: failed program was
:" >&5
13833 sed 's/^/| /' conftest.$ac_ext >&5
13838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13845 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13847 { $as_echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
13848 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13849 if test "$ac_test_CXXFLAGS" = set; then
13850 CXXFLAGS=$ac_save_CXXFLAGS
13851 elif test $ac_cv_prog_cxx_g = yes; then
13852 if test "$GXX" = yes; then
13858 if test "$GXX" = yes; then
13865 ac_cpp='$CPP $CPPFLAGS'
13866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13870 depcc="$CXX" am_compiler_list=
13872 { $as_echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
13873 $as_echo_n "checking dependency style of
$depcc...
" >&6; }
13874 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
13875 $as_echo_n "(cached
) " >&6
13877 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13878 # We make a subdir and do the tests there. Otherwise we can end up
13879 # making bogus files that we don't know about and never remove. For
13880 # instance it was reported that on HP-UX the gcc test will end up
13881 # making a dummy file named `D' -- because `-MD' means `put the output
13884 # Copy depcomp to subdir because otherwise we won't find it if we're
13885 # using a relative directory.
13886 cp "$am_depcomp" conftest.dir
13888 # We will build objects and dependencies in a subdirectory because
13889 # it helps to detect inapplicable dependency modes. For instance
13890 # both Tru64's cc and ICC support -MD to output dependencies as a
13891 # side effect of compilation, but ICC will put the dependencies in
13892 # the current directory while Tru64 will put them in the object
13896 am_cv_CXX_dependencies_compiler_type=none
13897 if test "$am_compiler_list" = ""; then
13898 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13900 for depmode in $am_compiler_list; do
13901 # Setup a source with many dependencies, because some compilers
13902 # like to wrap large dependency lists on column 80 (with \), and
13903 # we should not choose a depcomp mode which is confused by this.
13905 # We need to recreate these files for each test, as the compiler may
13906 # overwrite some of them when testing with obscure command lines.
13907 # This happens at least with the AIX C compiler.
13909 for i in 1 2 3 4 5 6; do
13910 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
13911 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13912 # Solaris 8's {/usr,}/bin/sh.
13913 touch sub/conftst$i.h
13915 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13919 # after this tag, mechanisms are not by side-effect, so they'll
13920 # only be used when explicitly requested
13921 if test "x
$enable_dependency_tracking" = xyes; then
13929 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
13930 # mode. It turns out that the SunPro C++ compiler does not properly
13931 # handle `-M -o', and we need to detect this.
13932 if depmode=$depmode \
13933 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
13934 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13935 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
13936 >/dev/null 2>conftest.err &&
13937 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13938 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13939 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
13940 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13941 # icc doesn't choke on unknown options, it will just issue warnings
13942 # or remarks (even with -Werror). So we grep stderr for any message
13943 # that says an option was ignored or not supported.
13944 # When given -MP, icc 7.0 and 7.1 complain thusly:
13945 # icc: Command line warning: ignoring option '-M'; no argument required
13946 # The diagnosis changed in icc 8.0:
13947 # icc: Command line remark: option '-MP' not supported
13948 if (grep 'ignoring option' conftest.err ||
13949 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13950 am_cv_CXX_dependencies_compiler_type=$depmode
13957 rm -rf conftest.dir
13959 am_cv_CXX_dependencies_compiler_type=none
13963 { $as_echo "$as_me:$LINENO: result
: $am_cv_CXX_dependencies_compiler_type" >&5
13964 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13965 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13968 test "x
$enable_dependency_tracking" != xno \
13969 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13970 am__fastdepCXX_TRUE=
13971 am__fastdepCXX_FALSE='#'
13973 am__fastdepCXX_TRUE='#'
13974 am__fastdepCXX_FALSE=
13978 if test -n "$CXX" && ( test "X
$CXX" != "Xno
" &&
13979 ( (test "X
$CXX" = "Xg
++" && `g++ -v >/dev/null 2>&1` ) ||
13980 (test "X
$CXX" != "Xg
++"))) ; then
13982 ac_cpp='$CXXCPP $CPPFLAGS'
13983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13986 { $as_echo "$as_me:$LINENO: checking how to run the C
++ preprocessor
" >&5
13987 $as_echo_n "checking how to run the C
++ preprocessor...
" >&6; }
13988 if test -z "$CXXCPP"; then
13989 if test "${ac_cv_prog_CXXCPP+set}" = set; then
13990 $as_echo_n "(cached
) " >&6
13992 # Double quotes because CXXCPP needs to be expanded
13993 for CXXCPP in "$CXX -E" "/lib
/cpp
"
13995 ac_preproc_ok=false
13996 for ac_cxx_preproc_warn_flag in '' yes
13998 # Use a header file that comes with gcc, so configuring glibc
13999 # with a fresh cross-compiler works.
14000 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14001 # <limits.h> exists even on freestanding compilers.
14002 # On the NeXT, cc -E runs the code through the compiler's parser,
14003 # not just through cpp. "Syntax error
" is here to catch this case.
14004 cat >conftest.$ac_ext <<_ACEOF
14007 cat confdefs.h >>conftest.$ac_ext
14008 cat >>conftest.$ac_ext <<_ACEOF
14009 /* end confdefs.h. */
14011 # include <limits.h>
14013 # include <assert.h>
14017 if { (ac_try="$ac_cpp conftest.
$ac_ext"
14018 case "(($ac_try" in
14019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14020 *) ac_try_echo=$ac_try;;
14022 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
14023 $as_echo "$ac_try_echo") >&5
14024 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
14026 grep -v '^ *+' conftest.er1 >conftest.err
14028 cat conftest.err >&5
14029 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14030 (exit $ac_status); } >/dev/null && {
14031 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
14032 test ! -s conftest.err
14036 $as_echo "$as_me: failed program was
:" >&5
14037 sed 's/^/| /' conftest.$ac_ext >&5
14039 # Broken: fails on valid input.
14043 rm -f conftest.err conftest.$ac_ext
14045 # OK, works on sane cases. Now check whether nonexistent headers
14046 # can be detected and how.
14047 cat >conftest.$ac_ext <<_ACEOF
14050 cat confdefs.h >>conftest.$ac_ext
14051 cat >>conftest.$ac_ext <<_ACEOF
14052 /* end confdefs.h. */
14053 #include <ac_nonexistent.h>
14055 if { (ac_try="$ac_cpp conftest.
$ac_ext"
14056 case "(($ac_try" in
14057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14058 *) ac_try_echo=$ac_try;;
14060 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
14061 $as_echo "$ac_try_echo") >&5
14062 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
14064 grep -v '^ *+' conftest.er1 >conftest.err
14066 cat conftest.err >&5
14067 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14068 (exit $ac_status); } >/dev/null && {
14069 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
14070 test ! -s conftest.err
14072 # Broken: success on invalid input.
14075 $as_echo "$as_me: failed program was
:" >&5
14076 sed 's/^/| /' conftest.$ac_ext >&5
14078 # Passes both tests.
14083 rm -f conftest.err conftest.$ac_ext
14086 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14087 rm -f conftest.err conftest.$ac_ext
14088 if $ac_preproc_ok; then
14093 ac_cv_prog_CXXCPP=$CXXCPP
14096 CXXCPP=$ac_cv_prog_CXXCPP
14098 ac_cv_prog_CXXCPP=$CXXCPP
14100 { $as_echo "$as_me:$LINENO: result
: $CXXCPP" >&5
14101 $as_echo "$CXXCPP" >&6; }
14102 ac_preproc_ok=false
14103 for ac_cxx_preproc_warn_flag in '' yes
14105 # Use a header file that comes with gcc, so configuring glibc
14106 # with a fresh cross-compiler works.
14107 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14108 # <limits.h> exists even on freestanding compilers.
14109 # On the NeXT, cc -E runs the code through the compiler's parser,
14110 # not just through cpp. "Syntax error
" is here to catch this case.
14111 cat >conftest.$ac_ext <<_ACEOF
14114 cat confdefs.h >>conftest.$ac_ext
14115 cat >>conftest.$ac_ext <<_ACEOF
14116 /* end confdefs.h. */
14118 # include <limits.h>
14120 # include <assert.h>
14124 if { (ac_try="$ac_cpp conftest.
$ac_ext"
14125 case "(($ac_try" in
14126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14127 *) ac_try_echo=$ac_try;;
14129 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
14130 $as_echo "$ac_try_echo") >&5
14131 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
14133 grep -v '^ *+' conftest.er1 >conftest.err
14135 cat conftest.err >&5
14136 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14137 (exit $ac_status); } >/dev/null && {
14138 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
14139 test ! -s conftest.err
14143 $as_echo "$as_me: failed program was
:" >&5
14144 sed 's/^/| /' conftest.$ac_ext >&5
14146 # Broken: fails on valid input.
14150 rm -f conftest.err conftest.$ac_ext
14152 # OK, works on sane cases. Now check whether nonexistent headers
14153 # can be detected and how.
14154 cat >conftest.$ac_ext <<_ACEOF
14157 cat confdefs.h >>conftest.$ac_ext
14158 cat >>conftest.$ac_ext <<_ACEOF
14159 /* end confdefs.h. */
14160 #include <ac_nonexistent.h>
14162 if { (ac_try="$ac_cpp conftest.
$ac_ext"
14163 case "(($ac_try" in
14164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14165 *) ac_try_echo=$ac_try;;
14167 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
14168 $as_echo "$ac_try_echo") >&5
14169 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
14171 grep -v '^ *+' conftest.er1 >conftest.err
14173 cat conftest.err >&5
14174 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14175 (exit $ac_status); } >/dev/null && {
14176 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
14177 test ! -s conftest.err
14179 # Broken: success on invalid input.
14182 $as_echo "$as_me: failed program was
:" >&5
14183 sed 's/^/| /' conftest.$ac_ext >&5
14185 # Passes both tests.
14190 rm -f conftest.err conftest.$ac_ext
14193 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14194 rm -f conftest.err conftest.$ac_ext
14195 if $ac_preproc_ok; then
14198 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
14199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14200 _lt_caught_CXX_error=yes; }
14204 ac_cpp='$CPP $CPPFLAGS'
14205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14206 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14210 _lt_caught_CXX_error=yes
14218 ac_compile='$F77 -c $FFLAGS conftest.
$ac_ext >&5'
14219 ac_link='$F77 -o conftest
$ac_exeext $FFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14220 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14221 if test -n "$ac_tool_prefix"; then
14222 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
14224 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14225 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14226 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14227 $as_echo_n "checking for $ac_word... " >&6; }
14228 if test "${ac_cv_prog_F77+set}" = set; then
14229 $as_echo_n "(cached) " >&6
14231 if test -n "$F77"; then
14232 ac_cv_prog_F77="$F77" # Let the user override the test.
14234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14235 for as_dir in $PATH
14238 test -z "$as_dir" && as_dir=.
14239 for ac_exec_ext in '' $ac_executable_extensions; do
14240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14241 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
14242 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14251 F77=$ac_cv_prog_F77
14252 if test -n "$F77"; then
14253 { $as_echo "$as_me:$LINENO: result: $F77" >&5
14254 $as_echo "$F77" >&6; }
14256 { $as_echo "$as_me:$LINENO: result: no" >&5
14257 $as_echo "no" >&6; }
14261 test -n "$F77" && break
14264 if test -z "$F77"; then
14266 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
14268 # Extract the first word of "$ac_prog", so it can be a program name with args.
14269 set dummy $ac_prog; ac_word=$2
14270 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14271 $as_echo_n "checking for $ac_word... " >&6; }
14272 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
14273 $as_echo_n "(cached) " >&6
14275 if test -n "$ac_ct_F77"; then
14276 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
14278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14279 for as_dir in $PATH
14282 test -z "$as_dir" && as_dir=.
14283 for ac_exec_ext in '' $ac_executable_extensions; do
14284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14285 ac_cv_prog_ac_ct_F77="$ac_prog"
14286 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14295 ac_ct_F77=$ac_cv_prog_ac_ct_F77
14296 if test -n "$ac_ct_F77"; then
14297 { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
14298 $as_echo "$ac_ct_F77" >&6; }
14300 { $as_echo "$as_me:$LINENO: result: no" >&5
14301 $as_echo "no" >&6; }
14305 test -n "$ac_ct_F77" && break
14308 if test "x$ac_ct_F77" = x; then
14311 case $cross_compiling:$ac_tool_warned in
14313 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
14314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14315 ac_tool_warned=yes ;;
14322 # Provide some information about the compiler.
14323 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
14326 { (ac_try="$ac_compiler --version >&5"
14327 case "(($ac_try" in
14328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14329 *) ac_try_echo=$ac_try;;
14331 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14332 $as_echo "$ac_try_echo") >&5
14333 (eval "$ac_compiler --version >&5") 2>&5
14335 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14336 (exit $ac_status); }
14337 { (ac_try="$ac_compiler -v >&5"
14338 case "(($ac_try" in
14339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14340 *) ac_try_echo=$ac_try;;
14342 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14343 $as_echo "$ac_try_echo") >&5
14344 (eval "$ac_compiler -v >&5") 2>&5
14346 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14347 (exit $ac_status); }
14348 { (ac_try="$ac_compiler -V >&5"
14349 case "(($ac_try" in
14350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14351 *) ac_try_echo=$ac_try;;
14353 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14354 $as_echo "$ac_try_echo") >&5
14355 (eval "$ac_compiler -V >&5") 2>&5
14357 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14358 (exit $ac_status); }
14361 # If we don't use
`.F' as extension, the preprocessor is not run on the
14362 # input file. (Note that this only needs to work for GNU compilers.)
14363 ac_save_ext=$ac_ext
14365 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
14366 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
14367 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
14368 $as_echo_n "(cached) " >&6
14370 cat >conftest.$ac_ext <<_ACEOF
14378 rm -f conftest.$ac_objext
14379 if { (ac_try="$ac_compile"
14380 case "(($ac_try" in
14381 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14382 *) ac_try_echo
=$ac_try;;
14384 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14385 $as_echo "$ac_try_echo") >&5
14386 (eval "$ac_compile") 2>conftest.er1
14388 grep -v '^ *+' conftest.er1
>conftest.err
14390 cat conftest.err
>&5
14391 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14392 (exit $ac_status); } && {
14393 test -z "$ac_f77_werror_flag" ||
14394 test ! -s conftest.err
14395 } && test -s conftest.
$ac_objext; then
14396 ac_compiler_gnu
=yes
14398 $as_echo "$as_me: failed program was:" >&5
14399 sed 's/^/| /' conftest.
$ac_ext >&5
14404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14405 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
14408 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
14409 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
14410 ac_ext
=$ac_save_ext
14411 ac_test_FFLAGS
=${FFLAGS+set}
14412 ac_save_FFLAGS
=$FFLAGS
14414 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
14415 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
14416 if test "${ac_cv_prog_f77_g+set}" = set; then
14417 $as_echo_n "(cached) " >&6
14420 cat >conftest.
$ac_ext <<_ACEOF
14425 rm -f conftest.
$ac_objext
14426 if { (ac_try
="$ac_compile"
14427 case "(($ac_try" in
14428 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14429 *) ac_try_echo=$ac_try;;
14431 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14432 $as_echo "$ac_try_echo") >&5
14433 (eval "$ac_compile") 2>conftest.er1
14435 grep -v '^ *+' conftest.er1 >conftest.err
14437 cat conftest.err >&5
14438 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14439 (exit $ac_status); } && {
14440 test -z "$ac_f77_werror_flag" ||
14441 test ! -s conftest.err
14442 } && test -s conftest.$ac_objext; then
14443 ac_cv_prog_f77_g=yes
14445 $as_echo "$as_me: failed program was:" >&5
14446 sed 's/^/| /' conftest.$ac_ext >&5
14448 ac_cv_prog_f77_g=no
14451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14454 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
14455 $as_echo "$ac_cv_prog_f77_g" >&6; }
14456 if test "$ac_test_FFLAGS" = set; then
14457 FFLAGS=$ac_save_FFLAGS
14458 elif test $ac_cv_prog_f77_g = yes; then
14459 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
14465 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
14472 if test $ac_compiler_gnu = yes; then
14478 ac_cpp='$CPP $CPPFLAGS'
14479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14483 if test -z "$F77" || test "X$F77" = "Xno"; then
14484 _lt_disable_F77=yes
14499 # Check whether --enable-shared was given.
14500 if test "${enable_shared+set}" = set; then
14501 enableval=$enable_shared; p=${PACKAGE-default}
14503 yes) enable_shared=yes ;;
14504 no) enable_shared=no ;;
14507 # Look at the argument we got. We use all the common list separators.
14508 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
14509 for pkg in $enableval; do
14511 if test "X$pkg" = "X$p"; then
14530 # Check whether --enable-static was given.
14531 if test "${enable_static+set}" = set; then
14532 enableval=$enable_static; p=${PACKAGE-default}
14534 yes) enable_static=yes ;;
14535 no) enable_static=no ;;
14538 # Look at the argument we got. We use all the common list separators.
14539 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
14540 for pkg in $enableval; do
14542 if test "X$pkg" = "X$p"; then
14562 # Check whether --with-pic was given.
14563 if test "${with_pic+set}" = set; then
14564 withval=$with_pic; pic_mode="$withval"
14570 test -z "$pic_mode" && pic_mode=default
14578 # Check whether --enable-fast-install was given.
14579 if test "${enable_fast_install+set}" = set; then
14580 enableval=$enable_fast_install; p=${PACKAGE-default}
14582 yes) enable_fast_install=yes ;;
14583 no) enable_fast_install=no ;;
14585 enable_fast_install=no
14586 # Look at the argument we got. We use all the common list separators.
14587 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
14588 for pkg in $enableval; do
14590 if test "X$pkg" = "X$p"; then
14591 enable_fast_install=yes
14598 enable_fast_install=yes
14611 # This can be used to rebuild libtool when needed
14612 LIBTOOL_DEPS="$ltmain"
14614 # Always use our own libtool.
14615 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
14641 test -z "$LN_S" && LN_S="ln -s"
14656 if test -n "${ZSH_VERSION+set}" ; then
14657 setopt NO_GLOB_SUBST
14660 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
14661 $as_echo_n "checking for objdir... " >&6; }
14662 if test "${lt_cv_objdir+set}" = set; then
14663 $as_echo_n "(cached) " >&6
14665 rm -f .libs 2>/dev/null
14666 mkdir .libs 2>/dev/null
14667 if test -d .libs; then
14670 # MS-DOS does not allow filenames that begin with a dot.
14673 rmdir .libs 2>/dev/null
14675 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
14676 $as_echo "$lt_cv_objdir" >&6; }
14677 objdir=$lt_cv_objdir
14683 cat >>confdefs.h <<_ACEOF
14684 #define LT_OBJDIR "$lt_cv_objdir/"
14705 # AIX sometimes has problems with the GCC collect2 program. For some
14706 # reason, if we set the COLLECT_NAMES environment variable, the problems
14707 # vanish in a puff of smoke.
14708 if test "X${COLLECT_NAMES+set}" != Xset; then
14710 export COLLECT_NAMES
14715 # Sed substitution that helps us do robust quoting. It backslashifies
14716 # metacharacters that are still active within double-quoted strings.
14717 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
14719 # Same as above, but do not quote variable references.
14720 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
14722 # Sed substitution to delay expansion of an escaped shell variable in a
14723 # double_quote_subst'ed string.
14724 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
14726 # Sed substitution to delay expansion of an escaped single quote.
14727 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
14729 # Sed substitution to avoid accidental globbing in evaled expressions
14730 no_glob_subst='s/\*/\\\*/g'
14732 # Global variables:
14734 can_build_shared=yes
14736 # All known linkers require a `.a' archive for static linking (except MSVC,
14737 # which needs '.lib').
14740 with_gnu_ld="$lt_cv_prog_gnu_ld"
14743 old_CFLAGS="$CFLAGS"
14745 # Set sane defaults for various variables
14746 test -z "$CC" && CC=cc
14747 test -z "$LTCC" && LTCC=$CC
14748 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
14749 test -z "$LD" && LD=ld
14750 test -z "$ac_objext" && ac_objext=o
14752 for cc_temp in $compiler""; do
14754 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14755 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14760 cc_basename=`$ECHO "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
14763 # Only perform the check for file, if the check method requires it
14764 test -z "$MAGIC_CMD" && MAGIC_CMD=file
14765 case $deplibs_check_method in
14767 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
14768 { $as_echo "$as_me:$LINENO: checking
for ${ac_tool_prefix}file" >&5
14769 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
14770 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14771 $as_echo_n "(cached
) " >&6
14775 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14778 lt_save_MAGIC_CMD="$MAGIC_CMD"
14779 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14780 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
14781 for ac_dir in $ac_dummy; do
14783 test -z "$ac_dir" && ac_dir=.
14784 if test -f $ac_dir/${ac_tool_prefix}file; then
14785 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
14786 if test -n "$file_magic_test_file"; then
14787 case $deplibs_check_method in
14789 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
14790 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14791 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14792 $EGREP "$file_magic_regex" > /dev/null; then
14797 *** Warning: the command libtool uses to detect shared libraries,
14798 *** $file_magic_cmd, produces output that libtool cannot recognize.
14799 *** The result is that libtool may fail to recognize shared libraries
14800 *** as such. This will affect the creation of libtool libraries that
14801 *** depend on shared libraries, but programs linked with such libtool
14802 *** libraries will work regardless of this problem. Nevertheless, you
14803 *** may want to report the problem to your system manager and/or to
14804 *** bug-libtool@gnu.org
14814 MAGIC_CMD="$lt_save_MAGIC_CMD"
14819 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14820 if test -n "$MAGIC_CMD"; then
14821 { $as_echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
14822 $as_echo "$MAGIC_CMD" >&6; }
14824 { $as_echo "$as_me:$LINENO: result
: no
" >&5
14825 $as_echo "no
" >&6; }
14832 if test -z "$lt_cv_path_MAGIC_CMD"; then
14833 if test -n "$ac_tool_prefix"; then
14834 { $as_echo "$as_me:$LINENO: checking
for file" >&5
14835 $as_echo_n "checking
for file...
" >&6; }
14836 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
14837 $as_echo_n "(cached
) " >&6
14841 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
14844 lt_save_MAGIC_CMD="$MAGIC_CMD"
14845 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14846 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
14847 for ac_dir in $ac_dummy; do
14849 test -z "$ac_dir" && ac_dir=.
14850 if test -f $ac_dir/file; then
14851 lt_cv_path_MAGIC_CMD="$ac_dir/file"
14852 if test -n "$file_magic_test_file"; then
14853 case $deplibs_check_method in
14855 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
14856 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14857 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
14858 $EGREP "$file_magic_regex" > /dev/null; then
14863 *** Warning: the command libtool uses to detect shared libraries,
14864 *** $file_magic_cmd, produces output that libtool cannot recognize.
14865 *** The result is that libtool may fail to recognize shared libraries
14866 *** as such. This will affect the creation of libtool libraries that
14867 *** depend on shared libraries, but programs linked with such libtool
14868 *** libraries will work regardless of this problem. Nevertheless, you
14869 *** may want to report the problem to your system manager and/or to
14870 *** bug-libtool@gnu.org
14880 MAGIC_CMD="$lt_save_MAGIC_CMD"
14885 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
14886 if test -n "$MAGIC_CMD"; then
14887 { $as_echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
14888 $as_echo "$MAGIC_CMD" >&6; }
14890 { $as_echo "$as_me:$LINENO: result
: no
" >&5
14891 $as_echo "no
" >&6; }
14904 # Use C for the default configuration in the libtool script
14908 ac_cpp='$CPP $CPPFLAGS'
14909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14914 # Source file extension for C test sources.
14917 # Object file extension for compiled C test sources.
14921 # Code to be used in simple compile tests
14922 lt_simple_compile_test_code="int some_variable
= 0;"
14924 # Code to be used in simple link tests
14925 lt_simple_link_test_code='int main(){return(0);}'
14933 # If no C compiler was specified, use CC.
14936 # If no C compiler flags were specified, use CFLAGS.
14937 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14939 # Allow CC to be a program name with arguments.
14942 # Save the default compiler, since it gets overwritten when the other
14943 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
14944 compiler_DEFAULT=$CC
14946 # save warnings/boilerplate of simple test code
14947 ac_outfile=conftest.$ac_objext
14948 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14949 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14950 _lt_compiler_boilerplate=`cat conftest.err`
14953 ac_outfile=conftest.$ac_objext
14954 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14955 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14956 _lt_linker_boilerplate=`cat conftest.err`
14961 ## There is no encapsulation within the following macros, do not change
14962 ## the running order or otherwise move them around unless you know exactly
14963 ## what you are doing...
14964 if test -n "$compiler"; then
14966 lt_prog_compiler_no_builtin_flag=
14968 if test "$GCC" = yes; then
14969 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
14971 { $as_echo "$as_me:$LINENO: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
14972 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
14973 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
14974 $as_echo_n "(cached
) " >&6
14976 lt_cv_prog_compiler_rtti_exceptions=no
14977 ac_outfile=conftest.$ac_objext
14978 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14979 lt_compiler_flag="-fno-rtti -fno-exceptions"
14980 # Insert the option either (1) after the last *FLAGS variable, or
14981 # (2) before a word containing "conftest.
", or (3) at the end.
14982 # Note that $ac_compile itself does not contain backslashes and begins
14983 # with a dollar sign (not a hyphen), so the echo should work correctly.
14984 # The option is referenced via a variable to avoid confusing sed.
14985 lt_compile=`echo "$ac_compile" | $SED \
14986 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14987 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14988 -e 's:$: $lt_compiler_flag:'`
14989 (eval echo "\"\
$as_me:14989: $lt_compile\"" >&5)
14990 (eval "$lt_compile" 2>conftest.err)
14992 cat conftest.err >&5
14993 echo "$as_me:14993: \$?
= $ac_status" >&5
14994 if (exit $ac_status) && test -s "$ac_outfile"; then
14995 # The compiler can only warn and ignore the option if not recognized
14996 # So say no if there are warnings other than the usual output.
14997 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14998 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14999 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15000 lt_cv_prog_compiler_rtti_exceptions=yes
15006 { $as_echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
15007 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
15009 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15010 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
15022 lt_prog_compiler_wl=
15023 lt_prog_compiler_pic=
15024 lt_prog_compiler_static=
15026 { $as_echo "$as_me:$LINENO: checking
for $compiler option to produce PIC
" >&5
15027 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
15029 if test "$GCC" = yes; then
15030 lt_prog_compiler_wl='-Wl,'
15031 lt_prog_compiler_static='-static'
15035 # All AIX code is PIC.
15036 if test "$host_cpu" = ia64; then
15037 # AIX 5 now supports IA64 processor
15038 lt_prog_compiler_static='-Bstatic'
15043 if test "$host_cpu" = m68k; then
15044 # FIXME: we need at least 68020 code to build shared libraries, but
15045 # adding the `-m68020' flag to GCC prevents building anything better,
15047 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
15051 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15052 # PIC is the default for these OSes.
15055 mingw* | cygwin* | pw32* | os2*)
15056 # This hack is so that the source file can tell whether it is being
15057 # built for inclusion in a dll (and should export symbols for example).
15058 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15059 # (--disable-auto-import) libraries
15060 lt_prog_compiler_pic='-DDLL_EXPORT'
15063 darwin* | rhapsody*)
15064 # PIC is the default on this platform
15065 # Common symbols not allowed in MH_DYLIB files
15066 lt_prog_compiler_pic='-fno-common'
15070 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15071 # not for PA HP-UX.
15077 lt_prog_compiler_pic='-fPIC'
15083 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15084 # Instead, we relocate shared libraries at runtime.
15088 # Just because we use GCC doesn't mean we suddenly get shared libraries
15089 # on systems that don't support them.
15090 lt_prog_compiler_can_build_shared=no
15095 # QNX uses GNU C++, but need to define -shared option too, otherwise
15096 # it will coredump.
15097 lt_prog_compiler_pic='-fPIC -shared'
15101 if test -d /usr/nec; then
15102 lt_prog_compiler_pic=-Kconform_pic
15107 lt_prog_compiler_pic='-fPIC'
15111 # PORTME Check for flag to pass linker flags through the system compiler.
15114 lt_prog_compiler_wl='-Wl,'
15115 if test "$host_cpu" = ia64; then
15116 # AIX 5 now supports IA64 processor
15117 lt_prog_compiler_static='-Bstatic'
15119 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
15123 mingw* | cygwin* | pw32* | os2*)
15124 # This hack is so that the source file can tell whether it is being
15125 # built for inclusion in a dll (and should export symbols for example).
15126 lt_prog_compiler_pic='-DDLL_EXPORT'
15129 hpux9* | hpux10* | hpux11*)
15130 lt_prog_compiler_wl='-Wl,'
15131 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15132 # not for PA HP-UX.
15138 lt_prog_compiler_pic='+Z'
15141 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15142 lt_prog_compiler_static='${wl}-a ${wl}archive'
15145 irix5* | irix6* | nonstopux*)
15146 lt_prog_compiler_wl='-Wl,'
15147 # PIC (with -KPIC) is the default.
15148 lt_prog_compiler_static='-non_shared'
15151 linux* | k*bsd*-gnu)
15152 case $cc_basename in
15153 icc* | ecc* | ifort*)
15154 lt_prog_compiler_wl='-Wl,'
15155 lt_prog_compiler_pic='-KPIC'
15156 lt_prog_compiler_static='-static'
15158 pgcc* | pgf77* | pgf90* | pgf95*)
15159 # Portland Group compilers (*not* the Pentium gcc compiler,
15160 # which looks to be a dead project)
15161 lt_prog_compiler_wl='-Wl,'
15162 lt_prog_compiler_pic='-fpic'
15163 lt_prog_compiler_static='-Bstatic'
15166 lt_prog_compiler_wl='-Wl,'
15167 # All Alpha code is PIC.
15168 lt_prog_compiler_static='-non_shared'
15171 # IBM XL C 8.0/Fortran 10.1 on PPC
15172 lt_prog_compiler_wl='-Wl,'
15173 lt_prog_compiler_pic='-qpic'
15174 lt_prog_compiler_static='-qstaticlink'
15177 case `$CC -V 2>&1 | sed 5q` in
15180 lt_prog_compiler_pic='-KPIC'
15181 lt_prog_compiler_static='-Bstatic'
15182 lt_prog_compiler_wl='-Wl,'
15185 # Sun Fortran 8.3 passes all unrecognized flags to the linker
15186 lt_prog_compiler_pic='-KPIC'
15187 lt_prog_compiler_static='-Bstatic'
15188 lt_prog_compiler_wl=''
15196 lt_prog_compiler_pic='-KPIC'
15197 lt_prog_compiler_static='-Bstatic'
15201 # QNX uses GNU C++, but need to define -shared option too, otherwise
15202 # it will coredump.
15203 lt_prog_compiler_pic='-fPIC -shared'
15206 osf3* | osf4* | osf5*)
15207 lt_prog_compiler_wl='-Wl,'
15208 # All OSF/1 code is PIC.
15209 lt_prog_compiler_static='-non_shared'
15213 lt_prog_compiler_static='-non_shared'
15217 lt_prog_compiler_pic='-KPIC'
15218 lt_prog_compiler_static='-Bstatic'
15219 case $cc_basename in
15220 f77* | f90* | f95*)
15221 lt_prog_compiler_wl='-Qoption ld ';;
15223 lt_prog_compiler_wl='-Wl,';;
15228 lt_prog_compiler_wl='-Qoption ld '
15229 lt_prog_compiler_pic='-PIC'
15230 lt_prog_compiler_static='-Bstatic'
15233 sysv4 | sysv4.2uw2* | sysv4.3*)
15234 lt_prog_compiler_wl='-Wl,'
15235 lt_prog_compiler_pic='-KPIC'
15236 lt_prog_compiler_static='-Bstatic'
15240 if test -d /usr/nec ;then
15241 lt_prog_compiler_pic='-Kconform_pic'
15242 lt_prog_compiler_static='-Bstatic'
15246 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15247 lt_prog_compiler_wl='-Wl,'
15248 lt_prog_compiler_pic='-KPIC'
15249 lt_prog_compiler_static='-Bstatic'
15253 lt_prog_compiler_wl='-Wl,'
15254 lt_prog_compiler_can_build_shared=no
15258 lt_prog_compiler_pic='-pic'
15259 lt_prog_compiler_static='-Bstatic'
15263 lt_prog_compiler_can_build_shared=no
15269 # For platforms which do not support PIC, -DPIC is meaningless:
15271 lt_prog_compiler_pic=
15274 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
15277 { $as_echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic" >&5
15278 $as_echo "$lt_prog_compiler_pic" >&6; }
15286 # Check to make sure the PIC flag actually works.
15288 if test -n "$lt_prog_compiler_pic"; then
15289 { $as_echo "$as_me:$LINENO: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
15290 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
15291 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
15292 $as_echo_n "(cached
) " >&6
15294 lt_cv_prog_compiler_pic_works=no
15295 ac_outfile=conftest.$ac_objext
15296 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15297 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
15298 # Insert the option either (1) after the last *FLAGS variable, or
15299 # (2) before a word containing "conftest.
", or (3) at the end.
15300 # Note that $ac_compile itself does not contain backslashes and begins
15301 # with a dollar sign (not a hyphen), so the echo should work correctly.
15302 # The option is referenced via a variable to avoid confusing sed.
15303 lt_compile=`echo "$ac_compile" | $SED \
15304 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15305 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15306 -e 's:$: $lt_compiler_flag:'`
15307 (eval echo "\"\
$as_me:15307: $lt_compile\"" >&5)
15308 (eval "$lt_compile" 2>conftest.err)
15310 cat conftest.err >&5
15311 echo "$as_me:15311: \$?
= $ac_status" >&5
15312 if (exit $ac_status) && test -s "$ac_outfile"; then
15313 # The compiler can only warn and ignore the option if not recognized
15314 # So say no if there are warnings other than the usual output.
15315 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15316 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15317 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15318 lt_cv_prog_compiler_pic_works=yes
15324 { $as_echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_pic_works" >&5
15325 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
15327 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
15328 case $lt_prog_compiler_pic in
15330 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
15333 lt_prog_compiler_pic=
15334 lt_prog_compiler_can_build_shared=no
15345 # Check to make sure the static flag actually works.
15347 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
15348 { $as_echo "$as_me:$LINENO: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
15349 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
15350 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
15351 $as_echo_n "(cached
) " >&6
15353 lt_cv_prog_compiler_static_works=no
15354 save_LDFLAGS="$LDFLAGS"
15355 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15356 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15357 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15358 # The linker can only warn and ignore the option if not recognized
15359 # So say no if there are warnings
15360 if test -s conftest.err; then
15361 # Append any errors to the config.log.
15362 cat conftest.err 1>&5
15363 $ECHO "X
$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15364 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15365 if diff conftest.exp conftest.er2 >/dev/null; then
15366 lt_cv_prog_compiler_static_works=yes
15369 lt_cv_prog_compiler_static_works=yes
15373 LDFLAGS="$save_LDFLAGS"
15376 { $as_echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_static_works" >&5
15377 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
15379 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
15382 lt_prog_compiler_static=
15391 { $as_echo "$as_me:$LINENO: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
15392 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
15393 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
15394 $as_echo_n "(cached
) " >&6
15396 lt_cv_prog_compiler_c_o=no
15397 $RM -r conftest 2>/dev/null
15401 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15403 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
15404 # Insert the option either (1) after the last *FLAGS variable, or
15405 # (2) before a word containing "conftest.
", or (3) at the end.
15406 # Note that $ac_compile itself does not contain backslashes and begins
15407 # with a dollar sign (not a hyphen), so the echo should work correctly.
15408 lt_compile=`echo "$ac_compile" | $SED \
15409 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15410 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15411 -e 's:$: $lt_compiler_flag:'`
15412 (eval echo "\"\
$as_me:15412: $lt_compile\"" >&5)
15413 (eval "$lt_compile" 2>out/conftest.err)
15415 cat out/conftest.err >&5
15416 echo "$as_me:15416: \$?
= $ac_status" >&5
15417 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15419 # The compiler can only warn and ignore the option if not recognized
15420 # So say no if there are warnings
15421 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15422 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15423 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15424 lt_cv_prog_compiler_c_o=yes
15429 # SGI C++ compiler will create directory out/ii_files/ for
15430 # template instantiation
15431 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15432 $RM out/* && rmdir out
15438 { $as_echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5
15439 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
15446 { $as_echo "$as_me:$LINENO: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
15447 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
15448 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
15449 $as_echo_n "(cached
) " >&6
15451 lt_cv_prog_compiler_c_o=no
15452 $RM -r conftest 2>/dev/null
15456 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15458 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
15459 # Insert the option either (1) after the last *FLAGS variable, or
15460 # (2) before a word containing "conftest.
", or (3) at the end.
15461 # Note that $ac_compile itself does not contain backslashes and begins
15462 # with a dollar sign (not a hyphen), so the echo should work correctly.
15463 lt_compile=`echo "$ac_compile" | $SED \
15464 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15465 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15466 -e 's:$: $lt_compiler_flag:'`
15467 (eval echo "\"\
$as_me:15467: $lt_compile\"" >&5)
15468 (eval "$lt_compile" 2>out/conftest.err)
15470 cat out/conftest.err >&5
15471 echo "$as_me:15471: \$?
= $ac_status" >&5
15472 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15474 # The compiler can only warn and ignore the option if not recognized
15475 # So say no if there are warnings
15476 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15477 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15478 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15479 lt_cv_prog_compiler_c_o=yes
15484 # SGI C++ compiler will create directory out/ii_files/ for
15485 # template instantiation
15486 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15487 $RM out/* && rmdir out
15493 { $as_echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5
15494 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
15499 hard_links="nottested
"
15500 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
15501 # do not overwrite the value of need_locks provided by the user
15502 { $as_echo "$as_me:$LINENO: checking
if we can lock with hard links
" >&5
15503 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
15506 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15508 ln conftest.a conftest.b 2>&5 || hard_links=no
15509 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15510 { $as_echo "$as_me:$LINENO: result
: $hard_links" >&5
15511 $as_echo "$hard_links" >&6; }
15512 if test "$hard_links" = no; then
15513 { $as_echo "$as_me:$LINENO: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
15514 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
15526 { $as_echo "$as_me:$LINENO: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
15527 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
15530 allow_undefined_flag=
15531 always_export_symbols=no
15533 archive_expsym_cmds=
15534 compiler_needs_object=no
15535 enable_shared_with_static_runtimes=no
15536 export_dynamic_flag_spec=
15537 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15538 hardcode_automatic=no
15540 hardcode_direct_absolute=no
15541 hardcode_libdir_flag_spec=
15542 hardcode_libdir_flag_spec_ld=
15543 hardcode_libdir_separator=
15544 hardcode_minus_L=no
15545 hardcode_shlibpath_var=unsupported
15547 link_all_deplibs=unknown
15549 module_expsym_cmds=
15550 old_archive_from_new_cmds=
15551 old_archive_from_expsyms_cmds=
15552 thread_safe_flag_spec=
15553 whole_archive_flag_spec=
15554 # include_expsyms should be a list of space-separated symbols to be *always*
15555 # included in the symbol list
15557 # exclude_expsyms can be an extended regexp of symbols to exclude
15558 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15559 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15560 # as well as any symbol that contains `d'.
15561 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15562 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15563 # platforms (ab)use it in PIC code, but their linkers get confused if
15564 # the symbol is explicitly referenced. Since portable code cannot
15565 # rely on this symbol name, it's probably fine to never include it in
15566 # preloaded symbol tables.
15567 # Exclude shared library initialization/finalization symbols.
15568 extract_expsyms_cmds=
15571 cygwin* | mingw* | pw32*)
15572 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15573 # When not using gcc, we currently assume that we are using
15574 # Microsoft Visual C++.
15575 if test "$GCC" != yes; then
15580 # we just hope/assume this is gcc and not c89 (= MSVC++)
15589 if test "$with_gnu_ld" = yes; then
15590 # If archive_cmds runs LD, not CC, wlarc should be empty
15593 # Set some defaults for GNU ld with shared library support. These
15594 # are reset later if shared libraries are not supported. Putting them
15595 # here allows them to be overridden if necessary.
15596 runpath_var=LD_RUN_PATH
15597 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
15598 export_dynamic_flag_spec='${wl}--export-dynamic'
15599 # ancient GNU ld didn't support --whole-archive et. al.
15600 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
15601 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15603 whole_archive_flag_spec=
15605 supports_anon_versioning=no
15606 case `$LD -v 2>&1` in
15607 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15608 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15609 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15610 *\ 2.11.*) ;; # other 2.11 versions
15611 *) supports_anon_versioning=yes ;;
15614 # See if GNU ld supports shared libraries.
15617 # On AIX/PPC, the GNU linker is very broken
15618 if test "$host_cpu" != ia64; then
15622 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15623 *** to be unable to reliably create shared libraries on AIX.
15624 *** Therefore, libtool is disabling shared libraries support. If you
15625 *** really care for shared libraries, you may want to modify your PATH
15626 *** so that a non-GNU linker is found, and then restart.
15633 if test "$host_cpu" = m68k; then
15634 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)'
15635 hardcode_libdir_flag_spec
='-L$libdir'
15636 hardcode_minus_L
=yes
15639 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15640 # that the semantics of dynamic libraries on AmigaOS, at least up
15641 # to version 4, is to share data among multiple programs linked
15642 # with the same dynamic library. Since this doesn't match the
15643 # behavior of shared libraries on other platforms, we can't use
15649 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
15650 allow_undefined_flag
=unsupported
15651 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15652 # support --undefined. This deserves some investigation. FIXME
15653 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15659 cygwin
* | mingw
* | pw32
*)
15660 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
15661 # as there is no search path for DLLs.
15662 hardcode_libdir_flag_spec
='-L$libdir'
15663 allow_undefined_flag
=unsupported
15664 always_export_symbols
=no
15665 enable_shared_with_static_runtimes
=yes
15666 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15668 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
15669 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15670 # If the export-symbols file already is a .def file (1st line
15671 # is EXPORTS), use it as is; otherwise, prepend...
15672 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15673 cp $export_symbols $output_objdir/$soname.def;
15675 echo EXPORTS > $output_objdir/$soname.def;
15676 cat $export_symbols >> $output_objdir/$soname.def;
15678 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15686 hardcode_shlibpath_var
=no
15687 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
15688 export_dynamic_flag_spec
='${wl}-E'
15689 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15690 # Instead, shared libraries are loaded at an image base (0x10000000 by
15691 # default) and relocated if they conflict, which is a slow very memory
15692 # consuming and fragmenting process. To avoid this, we pick a random,
15693 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15694 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15695 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15696 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'
15699 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
15701 if test "$host_os" = linux-dietlibc
; then
15702 case $cc_basename in
15703 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
15706 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
15707 && test "$tmp_diet" = no
15710 tmp_sharedflag
='-shared'
15711 case $cc_basename,$host_cpu in
15712 pgcc
*) # Portland Group C compiler
15713 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'
15714 tmp_addflag
=' $pic_flag'
15716 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
15717 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'
15718 tmp_addflag
=' $pic_flag -Mnomain' ;;
15719 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
15720 tmp_addflag
=' -i_dynamic' ;;
15721 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
15722 tmp_addflag
=' -i_dynamic -nofor_main' ;;
15723 ifc
* | ifort
*) # Intel Fortran compiler
15724 tmp_addflag
=' -nofor_main' ;;
15725 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
15726 tmp_sharedflag
='-qmkshrobj'
15729 case `$CC -V 2>&1 | sed 5q` in
15730 *Sun\ C
*) # Sun C 5.9
15731 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'
15732 compiler_needs_object
=yes
15733 tmp_sharedflag
='-G' ;;
15734 *Sun\ F
*) # Sun Fortran 8.3
15735 tmp_sharedflag
='-G' ;;
15737 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15739 if test "x$supports_anon_versioning" = xyes
; then
15740 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
15741 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15742 echo "local: *; };" >> $output_objdir/$libname.ver~
15743 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15746 case $cc_basename in
15748 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
15749 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
15750 hardcode_libdir_flag_spec
=
15751 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
15752 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
15753 if test "x$supports_anon_versioning" = xyes
; then
15754 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
15755 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15756 echo "local: *; };" >> $output_objdir/$libname.ver~
15757 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
15767 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15768 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15771 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15772 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15777 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
15781 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15782 *** create shared libraries on Solaris systems. Therefore, libtool
15783 *** is disabling shared libraries support. We urge you to upgrade GNU
15784 *** binutils to release 2.9.1 or newer. Another option is to modify
15785 *** your PATH or compiler configuration so that the native linker is
15786 *** used, and then restart.
15789 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
15790 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15791 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15797 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
15798 case `$LD -v 2>&1` in
15799 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
15803 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15804 *** reliably create shared libraries on SCO systems. Therefore, libtool
15805 *** is disabling shared libraries support. We urge you to upgrade GNU
15806 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15807 *** your PATH or compiler configuration so that the native linker is
15808 *** used, and then restart.
15813 # For security reasons, it is highly recommended that you always
15814 # use absolute paths for naming shared libraries, and exclude the
15815 # DT_RUNPATH tag from executables and libraries. But doing so
15816 # requires that you compile everything twice, which is a pain.
15817 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
15818 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
15819 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15820 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15829 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15831 hardcode_direct
=yes
15832 hardcode_shlibpath_var
=no
15836 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
15837 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15838 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15845 if test "$ld_shlibs" = no
; then
15847 hardcode_libdir_flag_spec
=
15848 export_dynamic_flag_spec
=
15849 whole_archive_flag_spec
=
15852 # PORTME fill in a description of your system's linker (not GNU ld)
15855 allow_undefined_flag
=unsupported
15856 always_export_symbols
=yes
15857 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'
15858 # Note: this linker hardcodes the directories in LIBPATH if there
15859 # are no directories specified by -L.
15860 hardcode_minus_L
=yes
15861 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15862 # Neither direct hardcoding nor static linking is supported with a
15864 hardcode_direct
=unsupported
15869 if test "$host_cpu" = ia64
; then
15870 # On IA64, the linker does run time linking by default, so we don't
15871 # have to do anything special.
15872 aix_use_runtimelinking
=no
15873 exp_sym_flag
='-Bexport'
15876 # If we're using GNU nm, then we don't want the "-C" option.
15877 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15878 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15879 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'
15881 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'
15883 aix_use_runtimelinking
=no
15885 # Test if we are trying to use run time linking or normal
15886 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15887 # need to do runtime linking.
15888 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
15889 for ld_flag
in $LDFLAGS; do
15890 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
15891 aix_use_runtimelinking
=yes
15898 exp_sym_flag
='-bexport'
15899 no_entry_flag
='-bnoentry'
15902 # When large executables or shared objects are built, AIX ld can
15903 # have problems creating the table of contents. If linking a library
15904 # or program results in "error TOC overflow" add -mminimal-toc to
15905 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15906 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15909 hardcode_direct
=yes
15910 hardcode_direct_absolute
=yes
15911 hardcode_libdir_separator
=':'
15912 link_all_deplibs
=yes
15913 file_list_spec
='${wl}-f,'
15915 if test "$GCC" = yes; then
15916 case $host_os in aix4.
[012]|aix4.
[012].
*)
15917 # We only want to do this on AIX 4.2 and lower, the check
15918 # below for broken collect2 doesn't work under 4.3+
15919 collect2name
=`${CC} -print-prog-name=collect2`
15920 if test -f "$collect2name" &&
15921 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
15923 # We have reworked collect2
15926 # We have old collect2
15927 hardcode_direct
=unsupported
15928 # It fails to find uninstalled libraries when the uninstalled
15929 # path is not listed in the libpath. Setting hardcode_minus_L
15930 # to unsupported forces relinking
15931 hardcode_minus_L
=yes
15932 hardcode_libdir_flag_spec
='-L$libdir'
15933 hardcode_libdir_separator
=
15937 shared_flag
='-shared'
15938 if test "$aix_use_runtimelinking" = yes; then
15939 shared_flag
="$shared_flag "'${wl}-G'
15943 if test "$host_cpu" = ia64
; then
15944 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15945 # chokes on -Wl,-G. The following line is correct:
15948 if test "$aix_use_runtimelinking" = yes; then
15949 shared_flag
='${wl}-G'
15951 shared_flag
='${wl}-bM:SRE'
15956 # It seems that -bexpall does not export symbols beginning with
15957 # underscore (_), so it is better to generate a list of symbols to export.
15958 always_export_symbols
=yes
15959 if test "$aix_use_runtimelinking" = yes; then
15960 # Warning - without using the other runtime loading flags (-brtl),
15961 # -berok will link without error, but may produce a broken library.
15962 allow_undefined_flag
='-berok'
15963 # Determine the default libpath from the value encoded in an
15964 # empty executable.
15965 cat >conftest.
$ac_ext <<_ACEOF
15968 cat confdefs.h
>>conftest.
$ac_ext
15969 cat >>conftest.
$ac_ext <<_ACEOF
15970 /* end confdefs.h. */
15980 rm -f conftest.
$ac_objext conftest
$ac_exeext
15981 if { (ac_try
="$ac_link"
15982 case "(($ac_try" in
15983 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15984 *) ac_try_echo=$ac_try;;
15986 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15987 $as_echo "$ac_try_echo") >&5
15988 (eval "$ac_link") 2>conftest.er1
15990 grep -v '^ *+' conftest.er1 >conftest.err
15992 cat conftest.err >&5
15993 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15994 (exit $ac_status); } && {
15995 test -z "$ac_c_werror_flag" ||
15996 test ! -s conftest.err
15997 } && test -s conftest$ac_exeext && {
15998 test "$cross_compiling" = yes ||
15999 $as_test_x conftest$ac_exeext
16002 lt_aix_libpath_sed='
16003 /Import File Strings/,/^$/ {
16009 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
16010 # Check for a 64-bit object if we didn't find anything.
16011 if test -z "$aix_libpath"; then
16012 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
16015 $as_echo "$as_me: failed program was:" >&5
16016 sed 's/^/| /' conftest.$ac_ext >&5
16021 rm -rf conftest.dSYM
16022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16023 conftest$ac_exeext conftest.$ac_ext
16024 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16026 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
16027 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 "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16029 if test "$host_cpu" = ia64; then
16030 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
16031 allow_undefined_flag="-z nodefs"
16032 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"
16034 # Determine the default libpath from the value encoded in an
16035 # empty executable.
16036 cat >conftest.$ac_ext <<_ACEOF
16039 cat confdefs.h >>conftest.$ac_ext
16040 cat >>conftest.$ac_ext <<_ACEOF
16041 /* end confdefs.h. */
16051 rm -f conftest.$ac_objext conftest$ac_exeext
16052 if { (ac_try="$ac_link"
16053 case "(($ac_try" in
16054 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16055 *) ac_try_echo
=$ac_try;;
16057 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16058 $as_echo "$ac_try_echo") >&5
16059 (eval "$ac_link") 2>conftest.er1
16061 grep -v '^ *+' conftest.er1
>conftest.err
16063 cat conftest.err
>&5
16064 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16065 (exit $ac_status); } && {
16066 test -z "$ac_c_werror_flag" ||
16067 test ! -s conftest.err
16068 } && test -s conftest
$ac_exeext && {
16069 test "$cross_compiling" = yes ||
16070 $as_test_x conftest
$ac_exeext
16073 lt_aix_libpath_sed
='
16074 /Import File Strings/,/^$/ {
16080 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16081 # Check for a 64-bit object if we didn't find anything.
16082 if test -z "$aix_libpath"; then
16083 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16086 $as_echo "$as_me: failed program was:" >&5
16087 sed 's/^/| /' conftest.
$ac_ext >&5
16092 rm -rf conftest.dSYM
16093 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16094 conftest
$ac_exeext conftest.
$ac_ext
16095 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16097 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
16098 # Warning - without using the other run time loading flags,
16099 # -berok will link without error, but may produce a broken library.
16100 no_undefined_flag
=' ${wl}-bernotok'
16101 allow_undefined_flag
=' ${wl}-berok'
16102 # Exported symbols can be pulled into shared objects from archives
16103 whole_archive_flag_spec
='$convenience'
16104 archive_cmds_need_lc
=yes
16105 # This is similar to how AIX traditionally builds its shared libraries.
16106 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'
16112 if test "$host_cpu" = m68k
; then
16113 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)'
16114 hardcode_libdir_flag_spec
='-L$libdir'
16115 hardcode_minus_L
=yes
16117 # see comment about different semantics on the GNU ld section
16122 export_dynamic_flag_spec
=-rdynamic
16125 cygwin
* | mingw
* | pw32
*)
16126 # When not using gcc, we currently assume that we are using
16127 # Microsoft Visual C++.
16128 # hardcode_libdir_flag_spec is actually meaningless, as there is
16129 # no search path for DLLs.
16130 hardcode_libdir_flag_spec
=' '
16131 allow_undefined_flag
=unsupported
16132 # Tell ltmain to make .lib files, not .a files.
16134 # Tell ltmain to make .dll files, not .so files.
16136 # FIXME: Setting linknames here is a bad hack.
16137 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
16138 # The linker will automatically build a .lib file if we build a DLL.
16139 old_archive_from_new_cmds
='true'
16140 # FIXME: Should let the user specify the lib program.
16141 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
16142 fix_srcfile_path
='`cygpath -w "$srcfile"`'
16143 enable_shared_with_static_runtimes
=yes
16146 darwin
* | rhapsody
*)
16149 archive_cmds_need_lc
=no
16151 hardcode_automatic
=yes
16152 hardcode_shlibpath_var
=unsupported
16153 whole_archive_flag_spec
=''
16154 link_all_deplibs
=yes
16155 allow_undefined_flag
="$_lt_dar_allow_undefined"
16156 if test "$GCC" = "yes"; then
16157 output_verbose_link_cmd
=echo
16158 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
16159 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
16160 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}"
16161 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}"
16170 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16171 hardcode_libdir_flag_spec
='-L$libdir'
16172 hardcode_shlibpath_var
=no
16179 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16180 # support. Future versions do this automatically, but an explicit c++rt0.o
16181 # does not break anything, and helps significantly (at the cost of a little
16184 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16185 hardcode_libdir_flag_spec
='-R$libdir'
16186 hardcode_direct
=yes
16187 hardcode_shlibpath_var
=no
16190 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16192 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16193 hardcode_direct
=yes
16194 hardcode_minus_L
=yes
16195 hardcode_shlibpath_var
=no
16198 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16199 freebsd
* | dragonfly
*)
16200 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16201 hardcode_libdir_flag_spec
='-R$libdir'
16202 hardcode_direct
=yes
16203 hardcode_shlibpath_var
=no
16207 if test "$GCC" = yes; then
16208 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'
16210 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'
16212 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
16213 hardcode_libdir_separator
=:
16214 hardcode_direct
=yes
16216 # hardcode_minus_L: Not really in the search PATH,
16217 # but as the default location of the library.
16218 hardcode_minus_L
=yes
16219 export_dynamic_flag_spec
='${wl}-E'
16223 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16224 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16226 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16228 if test "$with_gnu_ld" = no
; then
16229 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
16230 hardcode_libdir_flag_spec_ld
='+b $libdir'
16231 hardcode_libdir_separator
=:
16232 hardcode_direct
=yes
16233 hardcode_direct_absolute
=yes
16234 export_dynamic_flag_spec
='${wl}-E'
16235 # hardcode_minus_L: Not really in the search PATH,
16236 # but as the default location of the library.
16237 hardcode_minus_L
=yes
16242 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16245 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16248 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16251 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16257 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16260 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16263 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16267 if test "$with_gnu_ld" = no
; then
16268 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
16269 hardcode_libdir_separator
=:
16274 hardcode_shlibpath_var
=no
16277 hardcode_direct
=yes
16278 hardcode_direct_absolute
=yes
16279 export_dynamic_flag_spec
='${wl}-E'
16281 # hardcode_minus_L: Not really in the search PATH,
16282 # but as the default location of the library.
16283 hardcode_minus_L
=yes
16289 irix5
* | irix6
* | nonstopux
*)
16290 if test "$GCC" = yes; then
16291 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16292 # Try to use the -exported_symbol ld option, if it does not
16293 # work, assume that -exports_file does not work either and
16294 # implicitly export all symbols.
16295 save_LDFLAGS
="$LDFLAGS"
16296 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
16297 cat >conftest.
$ac_ext <<_ACEOF
16300 rm -f conftest.
$ac_objext conftest
$ac_exeext
16301 if { (ac_try
="$ac_link"
16302 case "(($ac_try" in
16303 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16304 *) ac_try_echo=$ac_try;;
16306 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16307 $as_echo "$ac_try_echo") >&5
16308 (eval "$ac_link") 2>conftest.er1
16310 grep -v '^ *+' conftest.er1 >conftest.err
16312 cat conftest.err >&5
16313 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 (exit $ac_status); } && {
16315 test -z "$ac_c_werror_flag" ||
16316 test ! -s conftest.err
16317 } && test -s conftest$ac_exeext && {
16318 test "$cross_compiling" = yes ||
16319 $as_test_x conftest$ac_exeext
16321 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
16324 $as_echo "$as_me: failed program was:" >&5
16325 sed 's/^/| /' conftest.$ac_ext >&5
16330 rm -rf conftest.dSYM
16331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16332 conftest$ac_exeext conftest.$ac_ext
16333 LDFLAGS="$save_LDFLAGS"
16335 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
16336 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
16338 archive_cmds_need_lc='no'
16339 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16340 hardcode_libdir_separator=:
16342 link_all_deplibs=yes
16346 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16347 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16349 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16351 hardcode_libdir_flag_spec='-R$libdir'
16352 hardcode_direct=yes
16353 hardcode_shlibpath_var=no
16357 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16358 hardcode_direct=yes
16359 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16360 hardcode_libdir_separator=:
16361 hardcode_shlibpath_var=no
16368 if test -f /usr/libexec/ld.so; then
16369 hardcode_direct=yes
16370 hardcode_shlibpath_var=no
16371 hardcode_direct_absolute=yes
16372 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16373 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16374 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16375 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
16376 export_dynamic_flag_spec='${wl}-E'
16379 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16380 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16381 hardcode_libdir_flag_spec='-R$libdir'
16384 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16385 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
16395 hardcode_libdir_flag_spec='-L$libdir'
16396 hardcode_minus_L=yes
16397 allow_undefined_flag=unsupported
16398 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'
16399 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16403 if test "$GCC" = yes; then
16404 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
16405 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16407 allow_undefined_flag=' -expect_unresolved \*'
16408 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
16410 archive_cmds_need_lc='no'
16411 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16412 hardcode_libdir_separator=:
16415 osf4* | osf5*) # as osf3* with the addition of -msym flag
16416 if test "$GCC" = yes; then
16417 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
16418 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16419 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16421 allow_undefined_flag=' -expect_unresolved \*'
16422 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
16423 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
16424 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
16426 # Both c and cxx compiler support -rpath directly
16427 hardcode_libdir_flag_spec='-rpath $libdir'
16429 archive_cmds_need_lc='no'
16430 hardcode_libdir_separator=:
16434 no_undefined_flag=' -z defs'
16435 if test "$GCC" = yes; then
16437 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16438 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16439 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
16441 case `$CC -V 2>&1` in
16444 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16445 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16446 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
16450 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
16451 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16452 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
16456 hardcode_libdir_flag_spec='-R$libdir'
16457 hardcode_shlibpath_var=no
16459 solaris2.[0-5] | solaris2.[0-5].*) ;;
16461 # The compiler driver will combine and reorder linker options,
16462 # but understands `-z linker_flag
'. GCC discards it without `$wl',
16463 # but is careful enough not to reorder.
16464 # Supported since Solaris 2.6 (maybe 2.5.1?)
16465 if test "$GCC" = yes; then
16466 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16468 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
16472 link_all_deplibs
=yes
16476 if test "x$host_vendor" = xsequent
; then
16477 # Use $CC to link under sequent, because it throws in some extra .o
16478 # files that make .init and .fini sections work.
16479 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16481 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16483 hardcode_libdir_flag_spec
='-L$libdir'
16484 hardcode_direct
=yes
16485 hardcode_minus_L
=yes
16486 hardcode_shlibpath_var
=no
16490 case $host_vendor in
16492 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16493 hardcode_direct
=yes # is this really true???
16496 ## LD is ld it makes a PLAMLIB
16497 ## CC just makes a GrossModule.
16498 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16499 reload_cmds
='$CC -r -o $output$reload_objs'
16503 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16504 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
16507 runpath_var
='LD_RUN_PATH'
16508 hardcode_shlibpath_var
=no
16512 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16513 hardcode_shlibpath_var
=no
16514 export_dynamic_flag_spec
='-Bexport'
16518 if test -d /usr
/nec
; then
16519 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16520 hardcode_shlibpath_var
=no
16521 runpath_var
=LD_RUN_PATH
16522 hardcode_runpath_var
=yes
16527 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
16528 no_undefined_flag
='${wl}-z,text'
16529 archive_cmds_need_lc
=no
16530 hardcode_shlibpath_var
=no
16531 runpath_var
='LD_RUN_PATH'
16533 if test "$GCC" = yes; then
16534 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16535 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16537 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16538 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16542 sysv5
* | sco3.2v5
* | sco5v6
*)
16543 # Note: We can NOT use -z defs as we might desire, because we do not
16544 # link with -lc, and that would cause any symbols used from libc to
16545 # always be unresolved, which means just about no library would
16546 # ever link correctly. If we're not using GNU ld we use -z text
16547 # though, which does catch some bad symbols but isn't as heavy-handed
16549 no_undefined_flag
='${wl}-z,text'
16550 allow_undefined_flag
='${wl}-z,nodefs'
16551 archive_cmds_need_lc
=no
16552 hardcode_shlibpath_var
=no
16553 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
16554 hardcode_libdir_separator
=':'
16555 link_all_deplibs
=yes
16556 export_dynamic_flag_spec
='${wl}-Bexport'
16557 runpath_var
='LD_RUN_PATH'
16559 if test "$GCC" = yes; then
16560 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16561 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16563 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16564 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16569 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16570 hardcode_libdir_flag_spec
='-L$libdir'
16571 hardcode_shlibpath_var
=no
16579 if test x
$host_vendor = xsni
; then
16581 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
16582 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16588 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
16589 $as_echo "$ld_shlibs" >&6; }
16590 test "$ld_shlibs" = no
&& can_build_shared
=no
16592 with_gnu_ld
=$with_gnu_ld
16609 # Do we need to explicitly link libc?
16611 case "x$archive_cmds_need_lc" in
16613 # Assume -lc should be added
16614 archive_cmds_need_lc
=yes
16616 if test "$enable_shared" = yes && test "$GCC" = yes; then
16617 case $archive_cmds in
16619 # FIXME: we may have to deal with multi-command sequences.
16622 # Test whether the compiler implicitly links with -lc since on some
16623 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16624 # to ld, don't add -lc before -lgcc.
16625 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16626 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16628 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16631 (eval $ac_compile) 2>&5
16633 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16634 (exit $ac_status); } 2>conftest.err
; then
16637 libobjs
=conftest.
$ac_objext
16639 wl
=$lt_prog_compiler_wl
16640 pic_flag
=$lt_prog_compiler_pic
16646 lt_save_allow_undefined_flag
=$allow_undefined_flag
16647 allow_undefined_flag
=
16648 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
16649 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16652 (exit $ac_status); }
16654 archive_cmds_need_lc
=no
16656 archive_cmds_need_lc
=yes
16658 allow_undefined_flag
=$lt_save_allow_undefined_flag
16660 cat conftest.err
1>&5
16663 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
16664 $as_echo "$archive_cmds_need_lc" >&6; }
16827 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16828 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16830 if test "$GCC" = yes; then
16832 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
16833 *) lt_awk_arg
="/^libraries:/" ;;
16835 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16836 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
16837 # if the path contains ";" then we assume it to be the separator
16838 # otherwise default to the standard path separator (i.e. ":") - it is
16839 # assumed that no part of a normal pathname contains ";" but that should
16840 # okay in the real world where ";" in dirpaths is itself problematic.
16841 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
16843 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16845 # Ok, now we have the path, separated by spaces, we can step through it
16846 # and add multilib dir if necessary.
16847 lt_tmp_lt_search_path_spec
=
16848 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
16849 for lt_sys_path
in $lt_search_path_spec; do
16850 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
16851 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
16853 test -d "$lt_sys_path" && \
16854 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
16857 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
16858 BEGIN {RS=" "; FS="/|\n";} {
16861 for (lt_i = NF; lt_i > 0; lt_i--) {
16862 if ($lt_i != "" && $lt_i != ".") {
16863 if ($lt_i == "..") {
16866 if (lt_count == 0) {
16867 lt_foo="/" $lt_i lt_foo;
16874 if (lt_foo != "") { lt_freq[lt_foo]++; }
16875 if (lt_freq[lt_foo] == 1) { print lt_foo; }
16877 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
16879 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16881 library_names_spec
=
16882 libname_spec
='lib$name'
16886 postuninstall_cmds
=
16890 shlibpath_overrides_runpath
=unknown
16892 dynamic_linker
="$host_os ld.so"
16893 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16894 need_lib_prefix
=unknown
16895 hardcode_into_libs
=no
16897 # when you set need_version to no, make sure it does not cause -set_version
16898 # flags to be left without arguments
16899 need_version
=unknown
16904 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16905 shlibpath_var
=LIBPATH
16907 # AIX 3 has no versioning support, so we append a major version to the name.
16908 soname_spec
='${libname}${release}${shared_ext}$major'
16915 hardcode_into_libs
=yes
16916 if test "$host_cpu" = ia64
; then
16917 # AIX 5 supports IA64
16918 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16919 shlibpath_var
=LD_LIBRARY_PATH
16921 # With GCC up to 2.95.x, collect2 would create an import file
16922 # for dependence libraries. The import file would start with
16923 # the line `#! .'. This would cause the generated library to
16924 # depend on `.', always an invalid library. This was fixed in
16925 # development snapshots of GCC prior to 3.0.
16927 aix4 | aix4.
[01] | aix4.
[01].
*)
16928 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16930 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
16933 can_build_shared
=no
16937 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16938 # soname into executable. Probably we can add versioning support to
16939 # collect2, so additional links can be useful in future.
16940 if test "$aix_use_runtimelinking" = yes; then
16941 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16942 # instead of lib<name>.a to let people know that these are not
16943 # typical AIX shared libraries.
16944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16946 # We preserve .a as extension for shared libraries through AIX4.2
16947 # and later when we are not doing run time linking.
16948 library_names_spec
='${libname}${release}.a $libname.a'
16949 soname_spec
='${libname}${release}${shared_ext}$major'
16951 shlibpath_var
=LIBPATH
16956 if test "$host_cpu" = m68k
; then
16957 library_names_spec
='$libname.ixlibrary $libname.a'
16958 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16959 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'
16966 library_names_spec
='${libname}${shared_ext}'
16967 dynamic_linker
="$host_os ld.so"
16968 shlibpath_var
=LIBRARY_PATH
16974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16975 soname_spec
='${libname}${release}${shared_ext}$major'
16976 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16977 shlibpath_var
=LD_LIBRARY_PATH
16978 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16979 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16980 # the default ld.so.conf also contains /usr/contrib/lib and
16981 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16982 # libtool to hard-code these into programs
16985 cygwin
* | mingw
* | pw32
*)
16986 version_type
=windows
16991 case $GCC,$host_os in
16992 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
16993 library_names_spec
='$libname.dll.a'
16994 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16995 postinstall_cmds
='base_file=`basename \${file}`~
16996 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16997 dldir=$destdir/`dirname \$dlpath`~
16998 test -d \$dldir || mkdir -p \$dldir~
16999 $install_prog $dir/$dlname \$dldir/$dlname~
17000 chmod a+x \$dldir/$dlname~
17001 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17002 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17004 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17005 dlpath=$dir/\$dldll~
17007 shlibpath_overrides_runpath
=yes
17011 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17012 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17013 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17016 # MinGW DLLs use traditional 'lib' prefix
17017 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17018 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17019 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
17020 # It is most probably a Windows format PATH printed by
17021 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17022 # path with ; separators, and with drive letters. We can handle the
17023 # drive letters (cygwin fileutils understands them), so leave them,
17024 # especially as we might pass files found there to a mingw objdump,
17025 # which wouldn't understand a cygwinified path. Ahh.
17026 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17028 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17032 # pw32 DLLs use 'pw' prefix rather than 'lib'
17033 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17039 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17042 dynamic_linker
='Win32 ld.exe'
17043 # FIXME: first we should search . and the directory the executable is in
17047 darwin
* | rhapsody
*)
17048 dynamic_linker
="$host_os dyld"
17049 version_type
=darwin
17052 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17053 soname_spec
='${libname}${release}${major}$shared_ext'
17054 shlibpath_overrides_runpath
=yes
17055 shlibpath_var
=DYLD_LIBRARY_PATH
17056 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17058 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
17059 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17066 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17067 soname_spec
='${libname}${release}${shared_ext}$major'
17068 shlibpath_var
=LD_LIBRARY_PATH
17075 freebsd
* | dragonfly
*)
17076 # DragonFly does not have aout. When/if they implement a new
17077 # versioning mechanism, adjust this.
17078 if test -x /usr
/bin
/objformat
; then
17079 objformat
=`/usr/bin/objformat`
17082 freebsd
[123]*) objformat
=aout
;;
17083 *) objformat
=elf
;;
17086 version_type
=freebsd-
$objformat
17087 case $version_type in
17089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17094 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17098 shlibpath_var
=LD_LIBRARY_PATH
17101 shlibpath_overrides_runpath
=yes
17103 freebsd3.
[01]* | freebsdelf3.
[01]*)
17104 shlibpath_overrides_runpath
=yes
17105 hardcode_into_libs
=yes
17107 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17108 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17109 shlibpath_overrides_runpath
=no
17110 hardcode_into_libs
=yes
17112 *) # from 4.6 on, and DragonFly
17113 shlibpath_overrides_runpath
=yes
17114 hardcode_into_libs
=yes
17123 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17124 soname_spec
='${libname}${release}${shared_ext}$major'
17125 shlibpath_var
=LD_LIBRARY_PATH
17126 hardcode_into_libs
=yes
17129 hpux9
* | hpux10
* | hpux11
*)
17130 # Give a soname corresponding to the major version so that dld.sl refuses to
17131 # link against other versions.
17138 hardcode_into_libs
=yes
17139 dynamic_linker
="$host_os dld.so"
17140 shlibpath_var
=LD_LIBRARY_PATH
17141 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17142 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17143 soname_spec
='${libname}${release}${shared_ext}$major'
17144 if test "X$HPUX_IA64_MODE" = X32
; then
17145 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17147 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17149 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17153 hardcode_into_libs
=yes
17154 dynamic_linker
="$host_os dld.sl"
17155 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17156 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17158 soname_spec
='${libname}${release}${shared_ext}$major'
17159 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17160 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17164 dynamic_linker
="$host_os dld.sl"
17165 shlibpath_var
=SHLIB_PATH
17166 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17167 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17168 soname_spec
='${libname}${release}${shared_ext}$major'
17171 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17172 postinstall_cmds
='chmod 555 $lib'
17179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17180 soname_spec
='${libname}${release}${shared_ext}$major'
17181 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17182 shlibpath_var
=LD_LIBRARY_PATH
17183 shlibpath_overrides_runpath
=no
17184 hardcode_into_libs
=yes
17187 irix5
* | irix6
* | nonstopux
*)
17189 nonstopux
*) version_type
=nonstopux
;;
17191 if test "$lt_cv_prog_gnu_ld" = yes; then
17199 soname_spec
='${libname}${release}${shared_ext}$major'
17200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17202 irix5
* | nonstopux
*)
17203 libsuff
= shlibsuff
=
17206 case $LD in # libtool.m4 will add one of these switches to LD
17207 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17208 libsuff
= shlibsuff
= libmagic
=32-bit;;
17209 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17210 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17211 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17212 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17213 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17217 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17218 shlibpath_overrides_runpath
=no
17219 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17220 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17221 hardcode_into_libs
=yes
17224 # No shared lib support for Linux oldld, aout, or coff.
17225 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17229 # This must be Linux ELF.
17230 linux
* | k
*bsd
*-gnu)
17234 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17235 soname_spec
='${libname}${release}${shared_ext}$major'
17236 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17237 shlibpath_var
=LD_LIBRARY_PATH
17238 shlibpath_overrides_runpath
=no
17239 # Some binutils ld are patched to set DT_RUNPATH
17240 save_LDFLAGS
=$LDFLAGS
17241 save_libdir
=$libdir
17242 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
17243 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
17244 cat >conftest.
$ac_ext <<_ACEOF
17247 cat confdefs.h
>>conftest.
$ac_ext
17248 cat >>conftest.
$ac_ext <<_ACEOF
17249 /* end confdefs.h. */
17259 rm -f conftest.
$ac_objext conftest
$ac_exeext
17260 if { (ac_try
="$ac_link"
17261 case "(($ac_try" in
17262 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17263 *) ac_try_echo=$ac_try;;
17265 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17266 $as_echo "$ac_try_echo") >&5
17267 (eval "$ac_link") 2>conftest.er1
17269 grep -v '^ *+' conftest.er1 >conftest.err
17271 cat conftest.err >&5
17272 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); } && {
17274 test -z "$ac_c_werror_flag" ||
17275 test ! -s conftest.err
17276 } && test -s conftest$ac_exeext && {
17277 test "$cross_compiling" = yes ||
17278 $as_test_x conftest$ac_exeext
17280 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
17281 shlibpath_overrides_runpath=yes
17285 $as_echo "$as_me: failed program was:" >&5
17286 sed 's/^/| /' conftest.$ac_ext >&5
17291 rm -rf conftest.dSYM
17292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17293 conftest$ac_exeext conftest.$ac_ext
17294 LDFLAGS=$save_LDFLAGS
17295 libdir=$save_libdir
17297 # This implies no fast_install, which is unacceptable.
17298 # Some rework will be needed to allow for fast_install
17299 # before this can be enabled.
17300 hardcode_into_libs=yes
17302 # Append ld.so.conf contents to the search path
17303 if test -f /etc/ld.so.conf; then
17304 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' ' '`
17305 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17308 # We used to test for /lib/ld.so.1 and disable shared libraries on
17309 # powerpc, because MkLinux only supported shared libraries with the
17310 # GNU dynamic linker. Since this was broken with cross compilers,
17311 # most powerpc-linux boxes support dynamic linking these days and
17312 # people can always --disable-shared, the test was removed, and we
17313 # assume the GNU/Linux dynamic linker is in use.
17314 dynamic_linker='GNU/Linux ld.so'
17321 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17323 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17324 dynamic_linker='NetBSD (a.out) ld.so'
17326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17327 soname_spec='${libname}${release}${shared_ext}$major'
17328 dynamic_linker='NetBSD ld.elf_so'
17330 shlibpath_var=LD_LIBRARY_PATH
17331 shlibpath_overrides_runpath=yes
17332 hardcode_into_libs=yes
17337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17338 shlibpath_var=LD_LIBRARY_PATH
17339 shlibpath_overrides_runpath=yes
17346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17347 soname_spec='${libname}${release}${shared_ext}$major'
17348 shlibpath_var=LD_LIBRARY_PATH
17349 shlibpath_overrides_runpath=no
17350 hardcode_into_libs=yes
17351 dynamic_linker='ldqnx.so'
17356 sys_lib_dlsearch_path_spec="/usr/lib"
17358 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17360 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17361 *) need_version=no ;;
17363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17364 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17365 shlibpath_var=LD_LIBRARY_PATH
17366 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17368 openbsd2.[89] | openbsd2.[89].*)
17369 shlibpath_overrides_runpath=no
17372 shlibpath_overrides_runpath=yes
17376 shlibpath_overrides_runpath=yes
17381 libname_spec='$name'
17384 library_names_spec='$libname${shared_ext} $libname.a'
17385 dynamic_linker='OS/2 ld.exe'
17386 shlibpath_var=LIBPATH
17389 osf3* | osf4* | osf5*)
17393 soname_spec='${libname}${release}${shared_ext}$major'
17394 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17395 shlibpath_var=LD_LIBRARY_PATH
17396 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17397 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17409 soname_spec='${libname}${release}${shared_ext}$major'
17410 shlibpath_var=LD_LIBRARY_PATH
17411 shlibpath_overrides_runpath=yes
17412 hardcode_into_libs=yes
17413 # ldd complains unless libraries are executable
17414 postinstall_cmds='chmod +x $lib'
17419 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17420 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17421 shlibpath_var=LD_LIBRARY_PATH
17422 shlibpath_overrides_runpath=yes
17423 if test "$with_gnu_ld" = yes; then
17431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17432 soname_spec='${libname}${release}${shared_ext}$major'
17433 shlibpath_var=LD_LIBRARY_PATH
17434 case $host_vendor in
17436 shlibpath_overrides_runpath=no
17438 runpath_var=LD_RUN_PATH
17446 shlibpath_overrides_runpath=no
17447 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17453 if test -d /usr/nec ;then
17455 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17456 soname_spec='$libname${shared_ext}.$major'
17457 shlibpath_var=LD_LIBRARY_PATH
17461 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17462 version_type=freebsd-elf
17465 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17466 soname_spec='${libname}${release}${shared_ext}$major'
17467 shlibpath_var=LD_LIBRARY_PATH
17468 shlibpath_overrides_runpath=yes
17469 hardcode_into_libs=yes
17470 if test "$with_gnu_ld" = yes; then
17471 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17473 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17476 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17480 sys_lib_dlsearch_path_spec='/usr/lib'
17484 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17488 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17489 shlibpath_var=LD_LIBRARY_PATH
17490 shlibpath_overrides_runpath=no
17491 hardcode_into_libs=yes
17496 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17497 soname_spec='${libname}${release}${shared_ext}$major'
17498 shlibpath_var=LD_LIBRARY_PATH
17505 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17506 $as_echo "$dynamic_linker" >&6; }
17507 test "$dynamic_linker" = no && can_build_shared=no
17509 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17510 if test "$GCC" = yes; then
17511 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17514 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17515 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17517 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17518 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17607 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17608 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17610 if test -n "$hardcode_libdir_flag_spec" ||
17611 test -n "$runpath_var" ||
17612 test "X$hardcode_automatic" = "Xyes" ; then
17614 # We can hardcode non-existent directories.
17615 if test "$hardcode_direct" != no &&
17616 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17617 # have to relink, otherwise we might link with an installed library
17618 # when we should be linking with a yet-to-be-installed one
17619 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
17620 test "$hardcode_minus_L" != no; then
17621 # Linking always hardcodes the temporary library directory.
17622 hardcode_action=relink
17624 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17625 hardcode_action=immediate
17628 # We cannot hardcode anything, or else we can only hardcode existing
17630 hardcode_action=unsupported
17632 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
17633 $as_echo "$hardcode_action" >&6; }
17635 if test "$hardcode_action" = relink ||
17636 test "$inherit_rpath" = yes; then
17637 # Fast installation is not supported
17638 enable_fast_install=no
17639 elif test "$shlibpath_overrides_runpath" = yes ||
17640 test "$enable_shared" = no; then
17641 # Fast installation is not necessary
17642 enable_fast_install=needless
17650 if test "x$enable_dlopen" != xyes; then
17651 enable_dlopen=unknown
17652 enable_dlopen_self=unknown
17653 enable_dlopen_self_static=unknown
17660 lt_cv_dlopen="load_add_on"
17662 lt_cv_dlopen_self=yes
17666 lt_cv_dlopen="LoadLibrary"
17671 lt_cv_dlopen="dlopen"
17676 # if libdl is installed we need to link against it
17677 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17678 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17679 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17680 $as_echo_n "(cached) " >&6
17682 ac_check_lib_save_LIBS=$LIBS
17684 cat >conftest.$ac_ext <<_ACEOF
17687 cat confdefs.h >>conftest.$ac_ext
17688 cat >>conftest.$ac_ext <<_ACEOF
17689 /* end confdefs.h. */
17691 /* Override any GCC internal prototype to avoid an error.
17692 Use char because int might match the return type of a GCC
17693 builtin and then its argument prototype would still apply. */
17706 rm -f conftest.$ac_objext conftest$ac_exeext
17707 if { (ac_try="$ac_link"
17708 case "(($ac_try" in
17709 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17710 *) ac_try_echo
=$ac_try;;
17712 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17713 $as_echo "$ac_try_echo") >&5
17714 (eval "$ac_link") 2>conftest.er1
17716 grep -v '^ *+' conftest.er1
>conftest.err
17718 cat conftest.err
>&5
17719 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720 (exit $ac_status); } && {
17721 test -z "$ac_c_werror_flag" ||
17722 test ! -s conftest.err
17723 } && test -s conftest
$ac_exeext && {
17724 test "$cross_compiling" = yes ||
17725 $as_test_x conftest
$ac_exeext
17727 ac_cv_lib_dl_dlopen
=yes
17729 $as_echo "$as_me: failed program was:" >&5
17730 sed 's/^/| /' conftest.
$ac_ext >&5
17732 ac_cv_lib_dl_dlopen
=no
17735 rm -rf conftest.dSYM
17736 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17737 conftest
$ac_exeext conftest.
$ac_ext
17738 LIBS
=$ac_check_lib_save_LIBS
17740 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17741 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17742 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
17743 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
17746 lt_cv_dlopen
="dyld"
17748 lt_cv_dlopen_self
=yes
17755 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
17756 $as_echo_n "checking for shl_load... " >&6; }
17757 if test "${ac_cv_func_shl_load+set}" = set; then
17758 $as_echo_n "(cached) " >&6
17760 cat >conftest.
$ac_ext <<_ACEOF
17763 cat confdefs.h
>>conftest.
$ac_ext
17764 cat >>conftest.
$ac_ext <<_ACEOF
17765 /* end confdefs.h. */
17766 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17768 #define shl_load innocuous_shl_load
17770 /* System header to define __stub macros and hopefully few prototypes,
17771 which can conflict with char shl_load (); below.
17772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17773 <limits.h> exists even on freestanding compilers. */
17776 # include <limits.h>
17778 # include <assert.h>
17783 /* Override any GCC internal prototype to avoid an error.
17784 Use char because int might match the return type of a GCC
17785 builtin and then its argument prototype would still apply. */
17790 /* The GNU C library defines this for functions which it implements
17791 to always fail with ENOSYS. Some functions are actually named
17792 something starting with __ and the normal name is an alias. */
17793 #if defined __stub_shl_load || defined __stub___shl_load
17800 return shl_load ();
17805 rm -f conftest.
$ac_objext conftest
$ac_exeext
17806 if { (ac_try
="$ac_link"
17807 case "(($ac_try" in
17808 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17809 *) ac_try_echo=$ac_try;;
17811 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17812 $as_echo "$ac_try_echo") >&5
17813 (eval "$ac_link") 2>conftest.er1
17815 grep -v '^ *+' conftest.er1 >conftest.err
17817 cat conftest.err >&5
17818 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); } && {
17820 test -z "$ac_c_werror_flag" ||
17821 test ! -s conftest.err
17822 } && test -s conftest$ac_exeext && {
17823 test "$cross_compiling" = yes ||
17824 $as_test_x conftest$ac_exeext
17826 ac_cv_func_shl_load=yes
17828 $as_echo "$as_me: failed program was:" >&5
17829 sed 's/^/| /' conftest.$ac_ext >&5
17831 ac_cv_func_shl_load=no
17834 rm -rf conftest.dSYM
17835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17836 conftest$ac_exeext conftest.$ac_ext
17838 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17839 $as_echo "$ac_cv_func_shl_load" >&6; }
17840 if test "x$ac_cv_func_shl_load" = x""yes; then
17841 lt_cv_dlopen="shl_load"
17843 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17844 $as_echo_n "checking for shl_load in -ldld... " >&6; }
17845 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17846 $as_echo_n "(cached) " >&6
17848 ac_check_lib_save_LIBS=$LIBS
17850 cat >conftest.$ac_ext <<_ACEOF
17853 cat confdefs.h >>conftest.$ac_ext
17854 cat >>conftest.$ac_ext <<_ACEOF
17855 /* end confdefs.h. */
17857 /* Override any GCC internal prototype to avoid an error.
17858 Use char because int might match the return type of a GCC
17859 builtin and then its argument prototype would still apply. */
17867 return shl_load ();
17872 rm -f conftest.$ac_objext conftest$ac_exeext
17873 if { (ac_try="$ac_link"
17874 case "(($ac_try" in
17875 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17876 *) ac_try_echo
=$ac_try;;
17878 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17879 $as_echo "$ac_try_echo") >&5
17880 (eval "$ac_link") 2>conftest.er1
17882 grep -v '^ *+' conftest.er1
>conftest.err
17884 cat conftest.err
>&5
17885 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17886 (exit $ac_status); } && {
17887 test -z "$ac_c_werror_flag" ||
17888 test ! -s conftest.err
17889 } && test -s conftest
$ac_exeext && {
17890 test "$cross_compiling" = yes ||
17891 $as_test_x conftest
$ac_exeext
17893 ac_cv_lib_dld_shl_load
=yes
17895 $as_echo "$as_me: failed program was:" >&5
17896 sed 's/^/| /' conftest.
$ac_ext >&5
17898 ac_cv_lib_dld_shl_load
=no
17901 rm -rf conftest.dSYM
17902 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17903 conftest
$ac_exeext conftest.
$ac_ext
17904 LIBS
=$ac_check_lib_save_LIBS
17906 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17907 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
17908 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then
17909 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
17911 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
17912 $as_echo_n "checking for dlopen... " >&6; }
17913 if test "${ac_cv_func_dlopen+set}" = set; then
17914 $as_echo_n "(cached) " >&6
17916 cat >conftest.
$ac_ext <<_ACEOF
17919 cat confdefs.h
>>conftest.
$ac_ext
17920 cat >>conftest.
$ac_ext <<_ACEOF
17921 /* end confdefs.h. */
17922 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
17923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17924 #define dlopen innocuous_dlopen
17926 /* System header to define __stub macros and hopefully few prototypes,
17927 which can conflict with char dlopen (); below.
17928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17929 <limits.h> exists even on freestanding compilers. */
17932 # include <limits.h>
17934 # include <assert.h>
17939 /* Override any GCC internal prototype to avoid an error.
17940 Use char because int might match the return type of a GCC
17941 builtin and then its argument prototype would still apply. */
17946 /* The GNU C library defines this for functions which it implements
17947 to always fail with ENOSYS. Some functions are actually named
17948 something starting with __ and the normal name is an alias. */
17949 #if defined __stub_dlopen || defined __stub___dlopen
17961 rm -f conftest.
$ac_objext conftest
$ac_exeext
17962 if { (ac_try
="$ac_link"
17963 case "(($ac_try" in
17964 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17965 *) ac_try_echo=$ac_try;;
17967 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17968 $as_echo "$ac_try_echo") >&5
17969 (eval "$ac_link") 2>conftest.er1
17971 grep -v '^ *+' conftest.er1 >conftest.err
17973 cat conftest.err >&5
17974 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975 (exit $ac_status); } && {
17976 test -z "$ac_c_werror_flag" ||
17977 test ! -s conftest.err
17978 } && test -s conftest$ac_exeext && {
17979 test "$cross_compiling" = yes ||
17980 $as_test_x conftest$ac_exeext
17982 ac_cv_func_dlopen=yes
17984 $as_echo "$as_me: failed program was:" >&5
17985 sed 's/^/| /' conftest.$ac_ext >&5
17987 ac_cv_func_dlopen=no
17990 rm -rf conftest.dSYM
17991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17992 conftest$ac_exeext conftest.$ac_ext
17994 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17995 $as_echo "$ac_cv_func_dlopen" >&6; }
17996 if test "x$ac_cv_func_dlopen" = x""yes; then
17997 lt_cv_dlopen="dlopen"
17999 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18000 $as_echo_n "checking for dlopen in -ldl... " >&6; }
18001 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18002 $as_echo_n "(cached) " >&6
18004 ac_check_lib_save_LIBS=$LIBS
18006 cat >conftest.$ac_ext <<_ACEOF
18009 cat confdefs.h >>conftest.$ac_ext
18010 cat >>conftest.$ac_ext <<_ACEOF
18011 /* end confdefs.h. */
18013 /* Override any GCC internal prototype to avoid an error.
18014 Use char because int might match the return type of a GCC
18015 builtin and then its argument prototype would still apply. */
18028 rm -f conftest.$ac_objext conftest$ac_exeext
18029 if { (ac_try="$ac_link"
18030 case "(($ac_try" in
18031 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18032 *) ac_try_echo
=$ac_try;;
18034 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
18035 $as_echo "$ac_try_echo") >&5
18036 (eval "$ac_link") 2>conftest.er1
18038 grep -v '^ *+' conftest.er1
>conftest.err
18040 cat conftest.err
>&5
18041 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); } && {
18043 test -z "$ac_c_werror_flag" ||
18044 test ! -s conftest.err
18045 } && test -s conftest
$ac_exeext && {
18046 test "$cross_compiling" = yes ||
18047 $as_test_x conftest
$ac_exeext
18049 ac_cv_lib_dl_dlopen
=yes
18051 $as_echo "$as_me: failed program was:" >&5
18052 sed 's/^/| /' conftest.
$ac_ext >&5
18054 ac_cv_lib_dl_dlopen
=no
18057 rm -rf conftest.dSYM
18058 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18059 conftest
$ac_exeext conftest.
$ac_ext
18060 LIBS
=$ac_check_lib_save_LIBS
18062 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18063 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
18064 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
18065 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
18067 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
18068 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
18069 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
18070 $as_echo_n "(cached) " >&6
18072 ac_check_lib_save_LIBS
=$LIBS
18073 LIBS
="-lsvld $LIBS"
18074 cat >conftest.
$ac_ext <<_ACEOF
18077 cat confdefs.h
>>conftest.
$ac_ext
18078 cat >>conftest.
$ac_ext <<_ACEOF
18079 /* end confdefs.h. */
18081 /* Override any GCC internal prototype to avoid an error.
18082 Use char because int might match the return type of a GCC
18083 builtin and then its argument prototype would still apply. */
18096 rm -f conftest.
$ac_objext conftest
$ac_exeext
18097 if { (ac_try
="$ac_link"
18098 case "(($ac_try" in
18099 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18100 *) ac_try_echo=$ac_try;;
18102 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18103 $as_echo "$ac_try_echo") >&5
18104 (eval "$ac_link") 2>conftest.er1
18106 grep -v '^ *+' conftest.er1 >conftest.err
18108 cat conftest.err >&5
18109 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18110 (exit $ac_status); } && {
18111 test -z "$ac_c_werror_flag" ||
18112 test ! -s conftest.err
18113 } && test -s conftest$ac_exeext && {
18114 test "$cross_compiling" = yes ||
18115 $as_test_x conftest$ac_exeext
18117 ac_cv_lib_svld_dlopen=yes
18119 $as_echo "$as_me: failed program was:" >&5
18120 sed 's/^/| /' conftest.$ac_ext >&5
18122 ac_cv_lib_svld_dlopen=no
18125 rm -rf conftest.dSYM
18126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18127 conftest$ac_exeext conftest.$ac_ext
18128 LIBS=$ac_check_lib_save_LIBS
18130 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18131 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
18132 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
18133 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
18135 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18136 $as_echo_n "checking for dld_link in -ldld... " >&6; }
18137 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18138 $as_echo_n "(cached) " >&6
18140 ac_check_lib_save_LIBS=$LIBS
18142 cat >conftest.$ac_ext <<_ACEOF
18145 cat confdefs.h >>conftest.$ac_ext
18146 cat >>conftest.$ac_ext <<_ACEOF
18147 /* end confdefs.h. */
18149 /* Override any GCC internal prototype to avoid an error.
18150 Use char because int might match the return type of a GCC
18151 builtin and then its argument prototype would still apply. */
18159 return dld_link ();
18164 rm -f conftest.$ac_objext conftest$ac_exeext
18165 if { (ac_try="$ac_link"
18166 case "(($ac_try" in
18167 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18168 *) ac_try_echo
=$ac_try;;
18170 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
18171 $as_echo "$ac_try_echo") >&5
18172 (eval "$ac_link") 2>conftest.er1
18174 grep -v '^ *+' conftest.er1
>conftest.err
18176 cat conftest.err
>&5
18177 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18178 (exit $ac_status); } && {
18179 test -z "$ac_c_werror_flag" ||
18180 test ! -s conftest.err
18181 } && test -s conftest
$ac_exeext && {
18182 test "$cross_compiling" = yes ||
18183 $as_test_x conftest
$ac_exeext
18185 ac_cv_lib_dld_dld_link
=yes
18187 $as_echo "$as_me: failed program was:" >&5
18188 sed 's/^/| /' conftest.
$ac_ext >&5
18190 ac_cv_lib_dld_dld_link
=no
18193 rm -rf conftest.dSYM
18194 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18195 conftest
$ac_exeext conftest.
$ac_ext
18196 LIBS
=$ac_check_lib_save_LIBS
18198 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18199 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
18200 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then
18201 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
18222 if test "x$lt_cv_dlopen" != xno
; then
18228 case $lt_cv_dlopen in
18230 save_CPPFLAGS
="$CPPFLAGS"
18231 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
18233 save_LDFLAGS
="$LDFLAGS"
18234 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
18237 LIBS
="$lt_cv_dlopen_libs $LIBS"
18239 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18240 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
18241 if test "${lt_cv_dlopen_self+set}" = set; then
18242 $as_echo_n "(cached) " >&6
18244 if test "$cross_compiling" = yes; then :
18245 lt_cv_dlopen_self
=cross
18247 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
18248 lt_status
=$lt_dlunknown
18249 cat > conftest.
$ac_ext <<_LT_EOF
18250 #line 18250 "configure"
18251 #include "confdefs.h"
18260 # define LT_DLGLOBAL RTLD_GLOBAL
18263 # define LT_DLGLOBAL DL_GLOBAL
18265 # define LT_DLGLOBAL 0
18269 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18270 find out it does not work in some platform. */
18271 #ifndef LT_DLLAZY_OR_NOW
18273 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18276 # define LT_DLLAZY_OR_NOW DL_LAZY
18279 # define LT_DLLAZY_OR_NOW RTLD_NOW
18282 # define LT_DLLAZY_OR_NOW DL_NOW
18284 # define LT_DLLAZY_OR_NOW 0
18292 extern "C" void exit (int);
18295 void fnord() { int i=42;}
18298 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18299 int status = $lt_dlunknown;
18303 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18304 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18305 /* dlclose (self); */
18313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18314 (eval $ac_link) 2>&5
18316 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18317 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
18318 (.
/conftest
; exit; ) >&5 2>/dev
/null
18320 case x
$lt_status in
18321 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
18322 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
18323 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
18326 # compilation failed
18327 lt_cv_dlopen_self
=no
18334 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18335 $as_echo "$lt_cv_dlopen_self" >&6; }
18337 if test "x$lt_cv_dlopen_self" = xyes
; then
18338 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
18339 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18340 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
18341 if test "${lt_cv_dlopen_self_static+set}" = set; then
18342 $as_echo_n "(cached) " >&6
18344 if test "$cross_compiling" = yes; then :
18345 lt_cv_dlopen_self_static
=cross
18347 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
18348 lt_status
=$lt_dlunknown
18349 cat > conftest.
$ac_ext <<_LT_EOF
18350 #line 18350 "configure"
18351 #include "confdefs.h"
18360 # define LT_DLGLOBAL RTLD_GLOBAL
18363 # define LT_DLGLOBAL DL_GLOBAL
18365 # define LT_DLGLOBAL 0
18369 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18370 find out it does not work in some platform. */
18371 #ifndef LT_DLLAZY_OR_NOW
18373 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18376 # define LT_DLLAZY_OR_NOW DL_LAZY
18379 # define LT_DLLAZY_OR_NOW RTLD_NOW
18382 # define LT_DLLAZY_OR_NOW DL_NOW
18384 # define LT_DLLAZY_OR_NOW 0
18392 extern "C" void exit (int);
18395 void fnord() { int i=42;}
18398 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18399 int status = $lt_dlunknown;
18403 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18404 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18405 /* dlclose (self); */
18413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18414 (eval $ac_link) 2>&5
18416 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
18418 (.
/conftest
; exit; ) >&5 2>/dev
/null
18420 case x
$lt_status in
18421 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
18422 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
18423 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
18426 # compilation failed
18427 lt_cv_dlopen_self_static
=no
18434 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18435 $as_echo "$lt_cv_dlopen_self_static" >&6; }
18438 CPPFLAGS
="$save_CPPFLAGS"
18439 LDFLAGS
="$save_LDFLAGS"
18444 case $lt_cv_dlopen_self in
18445 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
18446 *) enable_dlopen_self
=unknown
;;
18449 case $lt_cv_dlopen_self_static in
18450 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
18451 *) enable_dlopen_self_static
=unknown
;;
18473 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18474 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
18475 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
18476 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
18477 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
18478 { $as_echo "$as_me:$LINENO: result: yes" >&5
18479 $as_echo "yes" >&6; }
18481 # FIXME - insert some real tests, host_os isn't really good enough
18484 if test -n "$STRIP" ; then
18485 striplib
="$STRIP -x"
18486 old_striplib
="$STRIP -S"
18487 { $as_echo "$as_me:$LINENO: result: yes" >&5
18488 $as_echo "yes" >&6; }
18490 { $as_echo "$as_me:$LINENO: result: no" >&5
18491 $as_echo "no" >&6; }
18495 { $as_echo "$as_me:$LINENO: result: no" >&5
18496 $as_echo "no" >&6; }
18512 # Report which library types will actually be built
18513 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
18514 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
18515 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
18516 $as_echo "$can_build_shared" >&6; }
18518 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
18519 $as_echo_n "checking whether to build shared libraries... " >&6; }
18520 test "$can_build_shared" = "no" && enable_shared
=no
18522 # On AIX, shared libraries and static libraries use the same namespace, and
18523 # are all built from PIC.
18526 test "$enable_shared" = yes && enable_static
=no
18527 if test -n "$RANLIB"; then
18528 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
18529 postinstall_cmds
='$RANLIB $lib'
18534 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
18535 test "$enable_shared" = yes && enable_static
=no
18539 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
18540 $as_echo "$enable_shared" >&6; }
18542 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
18543 $as_echo_n "checking whether to build static libraries... " >&6; }
18544 # Make sure either enable_shared or enable_static is yes.
18545 test "$enable_shared" = yes || enable_static
=yes
18546 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
18547 $as_echo "$enable_static" >&6; }
18554 ac_cpp
='$CPP $CPPFLAGS'
18555 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18556 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18557 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18563 ac_cpp
='$CXXCPP $CPPFLAGS'
18564 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18565 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18566 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18568 archive_cmds_need_lc_CXX
=no
18569 allow_undefined_flag_CXX
=
18570 always_export_symbols_CXX
=no
18571 archive_expsym_cmds_CXX
=
18572 compiler_needs_object_CXX
=no
18573 export_dynamic_flag_spec_CXX
=
18574 hardcode_direct_CXX
=no
18575 hardcode_direct_absolute_CXX
=no
18576 hardcode_libdir_flag_spec_CXX
=
18577 hardcode_libdir_flag_spec_ld_CXX
=
18578 hardcode_libdir_separator_CXX
=
18579 hardcode_minus_L_CXX
=no
18580 hardcode_shlibpath_var_CXX
=unsupported
18581 hardcode_automatic_CXX
=no
18582 inherit_rpath_CXX
=no
18584 module_expsym_cmds_CXX
=
18585 link_all_deplibs_CXX
=unknown
18586 old_archive_cmds_CXX
=$old_archive_cmds
18587 no_undefined_flag_CXX
=
18588 whole_archive_flag_spec_CXX
=
18589 enable_shared_with_static_runtimes_CXX
=no
18591 # Source file extension for C++ test sources.
18594 # Object file extension for compiled C++ test sources.
18598 # No sense in running all these tests if we already determined that
18599 # the CXX compiler isn't working. Some variables (like enable_shared)
18600 # are currently assumed to apply to all compilers on this platform,
18601 # and will be corrupted by setting them based on a non-working compiler.
18602 if test "$_lt_caught_CXX_error" != yes; then
18603 # Code to be used in simple compile tests
18604 lt_simple_compile_test_code
="int some_variable = 0;"
18606 # Code to be used in simple link tests
18607 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
18609 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18616 # If no C compiler was specified, use CC.
18619 # If no C compiler flags were specified, use CFLAGS.
18620 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18622 # Allow CC to be a program name with arguments.
18626 # save warnings/boilerplate of simple test code
18627 ac_outfile
=conftest.
$ac_objext
18628 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
18629 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18630 _lt_compiler_boilerplate
=`cat conftest.err`
18633 ac_outfile
=conftest.
$ac_objext
18634 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
18635 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18636 _lt_linker_boilerplate
=`cat conftest.err`
18640 # Allow CC to be a program name with arguments.
18645 lt_save_with_gnu_ld
=$with_gnu_ld
18646 lt_save_path_LD
=$lt_cv_path_LD
18647 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
18648 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
18650 $as_unset lt_cv_prog_gnu_ld
18652 if test -n "${lt_cv_path_LDCXX+set}"; then
18653 lt_cv_path_LD
=$lt_cv_path_LDCXX
18655 $as_unset lt_cv_path_LD
18657 test -z "${LDCXX+set}" || LD
=$LDCXX
18661 for cc_temp
in $compiler""; do
18663 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18664 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18669 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18672 if test -n "$compiler"; then
18673 # We don't want -fno-exception when compiling C++ code, so set the
18674 # no_builtin_flag separately
18675 if test "$GXX" = yes; then
18676 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
18678 lt_prog_compiler_no_builtin_flag_CXX
=
18681 if test "$GXX" = yes; then
18682 # Set up default GNU C++ configuration
18686 # Check whether --with-gnu-ld was given.
18687 if test "${with_gnu_ld+set}" = set; then
18688 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
18694 if test "$GCC" = yes; then
18695 # Check if gcc -print-prog-name=ld gives a path.
18696 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18697 $as_echo_n "checking for ld used by $CC... " >&6; }
18700 # gcc leaves a trailing carriage return which upsets mingw
18701 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18703 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
18706 # Accept absolute paths.
18708 re_direlt
='/[^/][^/]*/\.\./'
18709 # Canonicalize the pathname of ld
18710 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18711 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
18712 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18714 test -z "$LD" && LD
="$ac_prog"
18717 # If it fails, then pretend we aren't using GCC.
18721 # If it is relative, then search for the first ld in PATH.
18722 with_gnu_ld
=unknown
18725 elif test "$with_gnu_ld" = yes; then
18726 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
18727 $as_echo_n "checking for GNU ld... " >&6; }
18729 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18730 $as_echo_n "checking for non-GNU ld... " >&6; }
18732 if test "${lt_cv_path_LD+set}" = set; then
18733 $as_echo_n "(cached) " >&6
18735 if test -z "$LD"; then
18736 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
18737 for ac_dir
in $PATH; do
18739 test -z "$ac_dir" && ac_dir
=.
18740 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
18741 lt_cv_path_LD
="$ac_dir/$ac_prog"
18742 # Check to see if the program is GNU ld. I'd rather use --version,
18743 # but apparently some variants of GNU ld only accept -v.
18744 # Break only if it was the GNU/non-GNU ld that we prefer.
18745 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18746 *GNU
* |
*'with BFD'*)
18747 test "$with_gnu_ld" != no
&& break
18750 test "$with_gnu_ld" != yes && break
18757 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
18761 LD
="$lt_cv_path_LD"
18762 if test -n "$LD"; then
18763 { $as_echo "$as_me:$LINENO: result: $LD" >&5
18764 $as_echo "$LD" >&6; }
18766 { $as_echo "$as_me:$LINENO: result: no" >&5
18767 $as_echo "no" >&6; }
18769 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18770 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18771 { (exit 1); exit 1; }; }
18772 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18773 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
18774 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18775 $as_echo_n "(cached) " >&6
18777 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18778 case `$LD -v 2>&1 </dev/null` in
18779 *GNU
* |
*'with BFD'*)
18780 lt_cv_prog_gnu_ld
=yes
18783 lt_cv_prog_gnu_ld
=no
18787 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18788 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
18789 with_gnu_ld
=$lt_cv_prog_gnu_ld
18797 # Check if GNU C++ uses GNU ld as the underlying linker, since the
18798 # archiving commands below assume that GNU ld is being used.
18799 if test "$with_gnu_ld" = yes; then
18800 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18801 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'
18803 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
18804 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
18806 # If archive_cmds runs LD, not CC, wlarc should be empty
18807 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18808 # investigate it a little bit more. (MM)
18811 # ancient GNU ld didn't support --whole-archive et. al.
18812 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
18813 $GREP 'no-whole-archive' > /dev
/null
; then
18814 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18816 whole_archive_flag_spec_CXX
=
18822 # A generic and very simple default shared library creation
18823 # command for GNU C++ for the case where it uses the native
18824 # linker, instead of GNU ld. If possible, this setting should
18825 # overridden to take advantage of the native linker features on
18826 # the platform it is being used on.
18827 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18830 # Commands to make compiler produce verbose output that lists
18831 # what "hidden" libraries, object files and flags are used when
18832 # linking a shared library.
18833 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
18841 # PORTME: fill in a description of your system's C++ link characteristics
18842 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18843 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
18847 # FIXME: insert proper C++ library support
18851 if test "$host_cpu" = ia64
; then
18852 # On IA64, the linker does run time linking by default, so we don't
18853 # have to do anything special.
18854 aix_use_runtimelinking
=no
18855 exp_sym_flag
='-Bexport'
18858 aix_use_runtimelinking
=no
18860 # Test if we are trying to use run time linking or normal
18861 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18862 # need to do runtime linking.
18863 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
18864 for ld_flag
in $LDFLAGS; do
18867 aix_use_runtimelinking
=yes
18875 exp_sym_flag
='-bexport'
18876 no_entry_flag
='-bnoentry'
18879 # When large executables or shared objects are built, AIX ld can
18880 # have problems creating the table of contents. If linking a library
18881 # or program results in "error TOC overflow" add -mminimal-toc to
18882 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18883 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18885 archive_cmds_CXX
=''
18886 hardcode_direct_CXX
=yes
18887 hardcode_direct_absolute_CXX
=yes
18888 hardcode_libdir_separator_CXX
=':'
18889 link_all_deplibs_CXX
=yes
18890 file_list_spec_CXX
='${wl}-f,'
18892 if test "$GXX" = yes; then
18893 case $host_os in aix4.
[012]|aix4.
[012].
*)
18894 # We only want to do this on AIX 4.2 and lower, the check
18895 # below for broken collect2 doesn't work under 4.3+
18896 collect2name
=`${CC} -print-prog-name=collect2`
18897 if test -f "$collect2name" &&
18898 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
18900 # We have reworked collect2
18903 # We have old collect2
18904 hardcode_direct_CXX
=unsupported
18905 # It fails to find uninstalled libraries when the uninstalled
18906 # path is not listed in the libpath. Setting hardcode_minus_L
18907 # to unsupported forces relinking
18908 hardcode_minus_L_CXX
=yes
18909 hardcode_libdir_flag_spec_CXX
='-L$libdir'
18910 hardcode_libdir_separator_CXX
=
18913 shared_flag
='-shared'
18914 if test "$aix_use_runtimelinking" = yes; then
18915 shared_flag
="$shared_flag "'${wl}-G'
18919 if test "$host_cpu" = ia64
; then
18920 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18921 # chokes on -Wl,-G. The following line is correct:
18924 if test "$aix_use_runtimelinking" = yes; then
18925 shared_flag
='${wl}-G'
18927 shared_flag
='${wl}-bM:SRE'
18932 # It seems that -bexpall does not export symbols beginning with
18933 # underscore (_), so it is better to generate a list of symbols to
18935 always_export_symbols_CXX
=yes
18936 if test "$aix_use_runtimelinking" = yes; then
18937 # Warning - without using the other runtime loading flags (-brtl),
18938 # -berok will link without error, but may produce a broken library.
18939 allow_undefined_flag_CXX
='-berok'
18940 # Determine the default libpath from the value encoded in an empty
18942 cat >conftest.
$ac_ext <<_ACEOF
18945 cat confdefs.h
>>conftest.
$ac_ext
18946 cat >>conftest.
$ac_ext <<_ACEOF
18947 /* end confdefs.h. */
18957 rm -f conftest.
$ac_objext conftest
$ac_exeext
18958 if { (ac_try
="$ac_link"
18959 case "(($ac_try" in
18960 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18961 *) ac_try_echo=$ac_try;;
18963 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18964 $as_echo "$ac_try_echo") >&5
18965 (eval "$ac_link") 2>conftest.er1
18967 grep -v '^ *+' conftest.er1 >conftest.err
18969 cat conftest.err >&5
18970 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971 (exit $ac_status); } && {
18972 test -z "$ac_cxx_werror_flag" ||
18973 test ! -s conftest.err
18974 } && test -s conftest$ac_exeext && {
18975 test "$cross_compiling" = yes ||
18976 $as_test_x conftest$ac_exeext
18979 lt_aix_libpath_sed='
18980 /Import File Strings/,/^$/ {
18986 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
18987 # Check for a 64-bit object if we didn't find anything.
18988 if test -z "$aix_libpath"; then
18989 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
18992 $as_echo "$as_me: failed program was:" >&5
18993 sed 's/^/| /' conftest.$ac_ext >&5
18998 rm -rf conftest.dSYM
18999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19000 conftest$ac_exeext conftest.$ac_ext
19001 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19003 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
19005 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 "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
19007 if test "$host_cpu" = ia64; then
19008 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
19009 allow_undefined_flag_CXX="-z nodefs"
19010 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"
19012 # Determine the default libpath from the value encoded in an
19013 # empty executable.
19014 cat >conftest.$ac_ext <<_ACEOF
19017 cat confdefs.h >>conftest.$ac_ext
19018 cat >>conftest.$ac_ext <<_ACEOF
19019 /* end confdefs.h. */
19029 rm -f conftest.$ac_objext conftest$ac_exeext
19030 if { (ac_try="$ac_link"
19031 case "(($ac_try" in
19032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19033 *) ac_try_echo
=$ac_try;;
19035 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
19036 $as_echo "$ac_try_echo") >&5
19037 (eval "$ac_link") 2>conftest.er1
19039 grep -v '^ *+' conftest.er1
>conftest.err
19041 cat conftest.err
>&5
19042 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); } && {
19044 test -z "$ac_cxx_werror_flag" ||
19045 test ! -s conftest.err
19046 } && test -s conftest
$ac_exeext && {
19047 test "$cross_compiling" = yes ||
19048 $as_test_x conftest
$ac_exeext
19051 lt_aix_libpath_sed
='
19052 /Import File Strings/,/^$/ {
19058 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19059 # Check for a 64-bit object if we didn't find anything.
19060 if test -z "$aix_libpath"; then
19061 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19064 $as_echo "$as_me: failed program was:" >&5
19065 sed 's/^/| /' conftest.
$ac_ext >&5
19070 rm -rf conftest.dSYM
19071 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19072 conftest
$ac_exeext conftest.
$ac_ext
19073 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
19075 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
19076 # Warning - without using the other run time loading flags,
19077 # -berok will link without error, but may produce a broken library.
19078 no_undefined_flag_CXX
=' ${wl}-bernotok'
19079 allow_undefined_flag_CXX
=' ${wl}-berok'
19080 # Exported symbols can be pulled into shared objects from archives
19081 whole_archive_flag_spec_CXX
='$convenience'
19082 archive_cmds_need_lc_CXX
=yes
19083 # This is similar to how AIX traditionally builds its shared
19085 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'
19091 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
19092 allow_undefined_flag_CXX
=unsupported
19093 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19094 # support --undefined. This deserves some investigation. FIXME
19095 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19102 case $cc_basename in
19104 # FIXME: insert proper C++ library support
19110 cygwin
* | mingw
* | pw32
*)
19111 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
19112 # as there is no search path for DLLs.
19113 hardcode_libdir_flag_spec_CXX
='-L$libdir'
19114 allow_undefined_flag_CXX
=unsupported
19115 always_export_symbols_CXX
=no
19116 enable_shared_with_static_runtimes_CXX
=yes
19118 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
19119 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'
19120 # If the export-symbols file already is a .def file (1st line
19121 # is EXPORTS), use it as is; otherwise, prepend...
19122 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
19123 cp $export_symbols $output_objdir/$soname.def;
19125 echo EXPORTS > $output_objdir/$soname.def;
19126 cat $export_symbols >> $output_objdir/$soname.def;
19128 $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'
19133 darwin
* | rhapsody
*)
19136 archive_cmds_need_lc_CXX
=no
19137 hardcode_direct_CXX
=no
19138 hardcode_automatic_CXX
=yes
19139 hardcode_shlibpath_var_CXX
=unsupported
19140 whole_archive_flag_spec_CXX
=''
19141 link_all_deplibs_CXX
=yes
19142 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
19143 if test "$GCC" = "yes"; then
19144 output_verbose_link_cmd
=echo
19145 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}"
19146 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
19147 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}"
19148 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}"
19149 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
19150 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}"
19151 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}"
19161 case $cc_basename in
19163 # FIXME: insert proper C++ library support
19167 # Green Hills C++ Compiler
19168 # FIXME: insert proper C++ library support
19172 # FIXME: insert proper C++ library support
19179 # C++ shared libraries reported to be fairly broken before
19185 archive_cmds_need_lc_CXX
=no
19188 freebsd
* | dragonfly
*)
19189 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
19198 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
19199 hardcode_libdir_separator_CXX
=:
19200 export_dynamic_flag_spec_CXX
='${wl}-E'
19201 hardcode_direct_CXX
=yes
19202 hardcode_minus_L_CXX
=yes # Not in the search PATH,
19203 # but as the default
19204 # location of the library.
19206 case $cc_basename in
19208 # FIXME: insert proper C++ library support
19212 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'
19213 # Commands to make compiler produce verbose output that lists
19214 # what "hidden" libraries, object files and flags are used when
19215 # linking a shared library.
19217 # There doesn't appear to be a way to prevent this compiler from
19218 # explicitly linking system object files so we need to strip them
19219 # from the output so that they don't get included in the library
19221 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
19224 if test "$GXX" = yes; then
19225 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'
19227 # FIXME: insert proper C++ library support
19235 if test $with_gnu_ld = no
; then
19236 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
19237 hardcode_libdir_separator_CXX
=:
19243 export_dynamic_flag_spec_CXX
='${wl}-E'
19249 hardcode_direct_CXX
=no
19250 hardcode_shlibpath_var_CXX
=no
19253 hardcode_direct_CXX
=yes
19254 hardcode_direct_absolute_CXX
=yes
19255 hardcode_minus_L_CXX
=yes # Not in the search PATH,
19256 # but as the default
19257 # location of the library.
19261 case $cc_basename in
19263 # FIXME: insert proper C++ library support
19269 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19272 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19275 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19278 # Commands to make compiler produce verbose output that lists
19279 # what "hidden" libraries, object files and flags are used when
19280 # linking a shared library.
19282 # There doesn't appear to be a way to prevent this compiler from
19283 # explicitly linking system object files so we need to strip them
19284 # from the output so that they don't get included in the library
19286 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 "X$list" | $Xsed'
19289 if test "$GXX" = yes; then
19290 if test $with_gnu_ld = no
; then
19293 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19296 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19299 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'
19304 # FIXME: insert proper C++ library support
19312 hardcode_direct_CXX
=no
19313 hardcode_shlibpath_var_CXX
=no
19314 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
19315 export_dynamic_flag_spec_CXX
='${wl}-E'
19316 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
19317 # Instead, shared libraries are loaded at an image base (0x10000000 by
19318 # default) and relocated if they conflict, which is a slow very memory
19319 # consuming and fragmenting process. To avoid this, we pick a random,
19320 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
19321 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
19322 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'
19323 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'
19326 case $cc_basename in
19329 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
19331 # Archives containing C++ object files must be created using
19332 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
19333 # necessary to make sure instantiated templates are included
19335 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
19338 if test "$GXX" = yes; then
19339 if test "$with_gnu_ld" = no
; then
19340 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19342 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
19345 link_all_deplibs_CXX
=yes
19348 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
19349 hardcode_libdir_separator_CXX
=:
19350 inherit_rpath_CXX
=yes
19353 linux
* | k
*bsd
*-gnu)
19354 case $cc_basename in
19356 # Kuck and Associates, Inc. (KAI) C++ Compiler
19358 # KCC will only create a shared library if the output file
19359 # ends with ".so" (or ".sl" for HP-UX), so rename the library
19360 # to its proper name (with version) after linking.
19361 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'
19362 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'
19363 # Commands to make compiler produce verbose output that lists
19364 # what "hidden" libraries, object files and flags are used when
19365 # linking a shared library.
19367 # There doesn't appear to be a way to prevent this compiler from
19368 # explicitly linking system object files so we need to strip them
19369 # from the output so that they don't get included in the library
19371 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 "X$list" | $Xsed'
19373 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
19374 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
19376 # Archives containing C++ object files must be created using
19377 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
19378 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
19383 # version 8.0 and above of icpc choke on multiply defined symbols
19384 # if we add $predep_objects and $postdep_objects, however 7.1 and
19385 # earlier do not add the objects themselves.
19386 case `$CC -V 2>&1` in
19388 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
19389 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'
19391 *) # Version 8.0 or newer
19394 ia64
*) tmp_idyn
=' -i_dynamic';;
19396 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19397 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'
19400 archive_cmds_need_lc_CXX
=no
19401 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
19402 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
19403 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
19406 # Portland Group C++ compiler
19408 *pgCC\
[1-5]* |
*pgcpp\
[1-5]*)
19409 prelink_cmds_CXX
='tpldir=Template.dir~
19411 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
19412 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
19413 old_archive_cmds_CXX
='tpldir=Template.dir~
19415 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
19416 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
19418 archive_cmds_CXX
='tpldir=Template.dir~
19420 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
19421 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
19422 archive_expsym_cmds_CXX
='tpldir=Template.dir~
19424 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
19425 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
19427 *) # Version 6 will use weak symbols
19428 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
19429 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'
19433 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
19434 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
19435 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'
19439 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
19440 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'
19442 runpath_var
=LD_RUN_PATH
19443 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
19444 hardcode_libdir_separator_CXX
=:
19446 # Commands to make compiler produce verbose output that lists
19447 # what "hidden" libraries, object files and flags are used when
19448 # linking a shared library.
19450 # There doesn't appear to be a way to prevent this compiler from
19451 # explicitly linking system object files so we need to strip them
19452 # from the output so that they don't get included in the library
19454 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "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 "X$list" | $Xsed'
19457 # IBM XL 8.0 on PPC, with GNU ld
19458 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
19459 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
19460 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19461 if test "x$supports_anon_versioning" = xyes
; then
19462 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
19463 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
19464 echo "local: *; };" >> $output_objdir/$libname.ver~
19465 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
19469 case `$CC -V 2>&1 | sed 5q` in
19472 no_undefined_flag_CXX
=' -zdefs'
19473 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19474 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'
19475 hardcode_libdir_flag_spec_CXX
='-R$libdir'
19476 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'
19477 compiler_needs_object_CXX
=yes
19479 # Not sure whether something based on
19480 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
19482 output_verbose_link_cmd
='echo'
19484 # Archives containing C++ object files must be created using
19485 # "CC -xar", where "CC" is the Sun C++ compiler. This is
19486 # necessary to make sure instantiated templates are included
19488 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
19496 # FIXME: insert proper C++ library support
19501 # FIXME: insert proper C++ library support
19506 case $cc_basename in
19508 # FIXME: insert proper C++ library support
19512 # FIXME: insert proper C++ library support
19519 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
19520 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
19522 hardcode_libdir_flag_spec_CXX
='-R$libdir'
19523 hardcode_direct_CXX
=yes
19524 hardcode_shlibpath_var_CXX
=no
19526 # Workaround some broken pre-1.5 toolchains
19527 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
19535 # C++ shared libraries are fairly broken
19540 if test -f /usr
/libexec
/ld.so
; then
19541 hardcode_direct_CXX
=yes
19542 hardcode_shlibpath_var_CXX
=no
19543 hardcode_direct_absolute_CXX
=yes
19544 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
19545 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
19546 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19547 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
19548 export_dynamic_flag_spec_CXX
='${wl}-E'
19549 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19551 output_verbose_link_cmd
=echo
19557 osf3
* | osf4
* | osf5
*)
19558 case $cc_basename in
19560 # Kuck and Associates, Inc. (KAI) C++ Compiler
19562 # KCC will only create a shared library if the output file
19563 # ends with ".so" (or ".sl" for HP-UX), so rename the library
19564 # to its proper name (with version) after linking.
19565 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'
19567 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
19568 hardcode_libdir_separator_CXX
=:
19570 # Archives containing C++ object files must be created using
19571 # the KAI C++ compiler.
19573 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
19574 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
19578 # Rational C++ 2.4.1
19579 # FIXME: insert proper C++ library support
19585 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
19586 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
19587 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
19590 allow_undefined_flag_CXX
=' -expect_unresolved \*'
19591 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
19592 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
19593 echo "-hidden">> $lib.exp~
19594 $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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
19596 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
19600 hardcode_libdir_separator_CXX
=:
19602 # Commands to make compiler produce verbose output that lists
19603 # what "hidden" libraries, object files and flags are used when
19604 # linking a shared library.
19606 # There doesn't appear to be a way to prevent this compiler from
19607 # explicitly linking system object files so we need to strip them
19608 # from the output so that they don't get included in the library
19610 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "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 "X$list" | $Xsed'
19613 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
19614 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
19617 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 "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19620 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" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19624 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
19625 hardcode_libdir_separator_CXX
=:
19627 # Commands to make compiler produce verbose output that lists
19628 # what "hidden" libraries, object files and flags are used when
19629 # linking a shared library.
19630 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
19633 # FIXME: insert proper C++ library support
19641 # FIXME: insert proper C++ library support
19646 case $cc_basename in
19649 # FIXME: insert proper C++ library support
19654 # FIXME: insert proper C++ library support
19658 # FIXME: insert proper C++ library support
19665 case $cc_basename in
19667 # Sun C++ 4.2, 5.x and Centerline C++
19668 archive_cmds_need_lc_CXX
=yes
19669 no_undefined_flag_CXX
=' -zdefs'
19670 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19671 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19672 $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'
19674 hardcode_libdir_flag_spec_CXX
='-R$libdir'
19675 hardcode_shlibpath_var_CXX
=no
19677 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
19679 # The compiler driver will combine and reorder linker options,
19680 # but understands `-z linker_flag'.
19681 # Supported since Solaris 2.6 (maybe 2.5.1?)
19682 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
19685 link_all_deplibs_CXX
=yes
19687 output_verbose_link_cmd
='echo'
19689 # Archives containing C++ object files must be created using
19690 # "CC -xar", where "CC" is the Sun C++ compiler. This is
19691 # necessary to make sure instantiated templates are included
19693 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
19696 # Green Hills C++ Compiler
19697 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19699 # The C++ compiler must be used to create the archive.
19700 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
19703 # GNU C++ compiler with Solaris linker
19704 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
19705 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
19706 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
19707 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19708 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19709 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
19711 # Commands to make compiler produce verbose output that lists
19712 # what "hidden" libraries, object files and flags are used when
19713 # linking a shared library.
19714 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
19716 # g++ 2.7 appears to require `-G' NOT `-shared' on this
19718 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19719 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19720 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
19722 # Commands to make compiler produce verbose output that lists
19723 # what "hidden" libraries, object files and flags are used when
19724 # linking a shared library.
19725 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
19728 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
19730 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
19732 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19740 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
19741 no_undefined_flag_CXX
='${wl}-z,text'
19742 archive_cmds_need_lc_CXX
=no
19743 hardcode_shlibpath_var_CXX
=no
19744 runpath_var
='LD_RUN_PATH'
19746 case $cc_basename in
19748 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19749 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19752 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19753 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19758 sysv5
* | sco3.2v5
* | sco5v6
*)
19759 # Note: We can NOT use -z defs as we might desire, because we do not
19760 # link with -lc, and that would cause any symbols used from libc to
19761 # always be unresolved, which means just about no library would
19762 # ever link correctly. If we're not using GNU ld we use -z text
19763 # though, which does catch some bad symbols but isn't as heavy-handed
19765 no_undefined_flag_CXX
='${wl}-z,text'
19766 allow_undefined_flag_CXX
='${wl}-z,nodefs'
19767 archive_cmds_need_lc_CXX
=no
19768 hardcode_shlibpath_var_CXX
=no
19769 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
19770 hardcode_libdir_separator_CXX
=':'
19771 link_all_deplibs_CXX
=yes
19772 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
19773 runpath_var
='LD_RUN_PATH'
19775 case $cc_basename in
19777 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19778 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19781 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19782 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19788 case $cc_basename in
19790 # NonStop-UX NCC 3.20
19791 # FIXME: insert proper C++ library support
19795 # FIXME: insert proper C++ library support
19802 # FIXME: insert proper C++ library support
19807 # FIXME: insert proper C++ library support
19812 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
19813 $as_echo "$ld_shlibs_CXX" >&6; }
19814 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
19820 ## There is no encapsulation within the following macros, do not change
19821 ## the running order or otherwise move them around unless you know exactly
19822 ## what you are doing...
19823 # Dependencies to place before and after the object being linked:
19824 predep_objects_CXX
=
19825 postdep_objects_CXX
=
19828 compiler_lib_search_path_CXX
=
19830 cat > conftest.
$ac_ext <<_LT_EOF
19834 Foo (void) { a = 0; }
19840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19841 (eval $ac_compile) 2>&5
19843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); }; then
19845 # Parse the compiler output and extract the necessary
19846 # objects, libraries and library flags.
19848 # Sentinel used to keep track of whether or not we are before
19849 # the conftest object file.
19850 pre_test_object_deps_done
=no
19852 for p
in `eval "$output_verbose_link_cmd"`; do
19856 # Some compilers place space between "-{L,R}" and the path.
19857 # Remove the space.
19858 if test $p = "-L" ||
19859 test $p = "-R"; then
19866 if test "$pre_test_object_deps_done" = no
; then
19869 # Internal compiler library paths should come after those
19870 # provided the user. The postdeps already come after the
19871 # user supplied libs so there is no need to process them.
19872 if test -z "$compiler_lib_search_path_CXX"; then
19873 compiler_lib_search_path_CXX
="${prev}${p}"
19875 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
19878 # The "-l" case would never come before the object being
19879 # linked, so don't bother handling this case.
19882 if test -z "$postdeps_CXX"; then
19883 postdeps_CXX
="${prev}${p}"
19885 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
19891 # This assumes that the test object file only shows up
19892 # once in the compiler output.
19893 if test "$p" = "conftest.$objext"; then
19894 pre_test_object_deps_done
=yes
19898 if test "$pre_test_object_deps_done" = no
; then
19899 if test -z "$predep_objects_CXX"; then
19900 predep_objects_CXX
="$p"
19902 predep_objects_CXX
="$predep_objects_CXX $p"
19905 if test -z "$postdep_objects_CXX"; then
19906 postdep_objects_CXX
="$p"
19908 postdep_objects_CXX
="$postdep_objects_CXX $p"
19913 *) ;; # Ignore the rest.
19921 echo "libtool.m4: error: problem compiling CXX test program"
19924 $RM -f confest.
$objext
19926 # PORTME: override above test on systems where it is broken
19929 # Interix 3.5 installs completely hosed .la files for C++, so rather than
19930 # hack all around it, let's just trust "g++" to DTRT.
19931 predep_objects_CXX
=
19932 postdep_objects_CXX
=
19937 case `$CC -V 2>&1 | sed 5q` in
19941 # The more standards-conforming stlport4 library is
19942 # incompatible with the Cstd library. Avoid specifying
19943 # it if it's in CXXFLAGS. Ignore libCrun as
19944 # -library=stlport4 depends on it.
19945 case " $CXX $CXXFLAGS " in
19946 *" -library=stlport4 "*)
19947 solaris_use_stlport4
=yes
19951 if test "$solaris_use_stlport4" != yes; then
19952 postdeps_CXX
='-library=Cstd -library=Crun'
19959 case $cc_basename in
19961 # The more standards-conforming stlport4 library is
19962 # incompatible with the Cstd library. Avoid specifying
19963 # it if it's in CXXFLAGS. Ignore libCrun as
19964 # -library=stlport4 depends on it.
19965 case " $CXX $CXXFLAGS " in
19966 *" -library=stlport4 "*)
19967 solaris_use_stlport4
=yes
19971 # Adding this requires a known-good setup of shared libraries for
19972 # Sun compiler versions before 5.6, else PIC objects from an old
19973 # archive will be linked into the output, leading to subtle bugs.
19974 if test "$solaris_use_stlport4" != yes; then
19975 postdeps_CXX
='-library=Cstd -library=Crun'
19983 case " $postdeps_CXX " in
19984 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
19986 compiler_lib_search_dirs_CXX
=
19987 if test -n "${compiler_lib_search_path_CXX}"; then
19988 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
20021 lt_prog_compiler_wl_CXX
=
20022 lt_prog_compiler_pic_CXX
=
20023 lt_prog_compiler_static_CXX
=
20025 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
20026 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
20028 # C++ specific cases for pic, static, wl, etc.
20029 if test "$GXX" = yes; then
20030 lt_prog_compiler_wl_CXX
='-Wl,'
20031 lt_prog_compiler_static_CXX
='-static'
20035 # All AIX code is PIC.
20036 if test "$host_cpu" = ia64
; then
20037 # AIX 5 now supports IA64 processor
20038 lt_prog_compiler_static_CXX
='-Bstatic'
20042 if test "$host_cpu" = m68k
; then
20043 # FIXME: we need at least 68020 code to build shared libraries, but
20044 # adding the `-m68020' flag to GCC prevents building anything better,
20046 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
20049 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
20050 # PIC is the default for these OSes.
20052 mingw
* | cygwin
* | os2
* | pw32
*)
20053 # This hack is so that the source file can tell whether it is being
20054 # built for inclusion in a dll (and should export symbols for example).
20055 # Although the cygwin gcc ignores -fPIC, still need this for old-style
20056 # (--disable-auto-import) libraries
20057 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
20059 darwin
* | rhapsody
*)
20060 # PIC is the default on this platform
20061 # Common symbols not allowed in MH_DYLIB files
20062 lt_prog_compiler_pic_CXX
='-fno-common'
20065 # DJGPP does not support shared libraries at all
20066 lt_prog_compiler_pic_CXX
=
20069 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
20070 # Instead, we relocate shared libraries at runtime.
20073 if test -d /usr
/nec
; then
20074 lt_prog_compiler_pic_CXX
=-Kconform_pic
20078 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
20079 # not for PA HP-UX.
20084 lt_prog_compiler_pic_CXX
='-fPIC'
20089 # QNX uses GNU C++, but need to define -shared option too, otherwise
20090 # it will coredump.
20091 lt_prog_compiler_pic_CXX
='-fPIC -shared'
20094 lt_prog_compiler_pic_CXX
='-fPIC'
20100 # All AIX code is PIC.
20101 if test "$host_cpu" = ia64
; then
20102 # AIX 5 now supports IA64 processor
20103 lt_prog_compiler_static_CXX
='-Bstatic'
20105 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
20109 case $cc_basename in
20111 # Green Hills C++ Compiler
20112 # _LT_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"
20117 case $cc_basename in
20119 lt_prog_compiler_pic_CXX
='-KPIC'
20122 # Green Hills C++ Compiler
20123 lt_prog_compiler_pic_CXX
='-pic'
20129 freebsd
* | dragonfly
*)
20130 # FreeBSD uses GNU C++
20132 hpux9
* | hpux10
* | hpux11
*)
20133 case $cc_basename in
20135 lt_prog_compiler_wl_CXX
='-Wl,'
20136 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
20137 if test "$host_cpu" != ia64
; then
20138 lt_prog_compiler_pic_CXX
='+Z'
20142 lt_prog_compiler_wl_CXX
='-Wl,'
20143 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
20149 lt_prog_compiler_pic_CXX
='+Z'
20158 # This is c89, which is MS Visual C++ (no shared libs)
20159 # Anyone wants to do a port?
20161 irix5
* | irix6
* | nonstopux
*)
20162 case $cc_basename in
20164 lt_prog_compiler_wl_CXX
='-Wl,'
20165 lt_prog_compiler_static_CXX
='-non_shared'
20166 # CC pic flag -KPIC is the default.
20172 linux
* | k
*bsd
*-gnu)
20173 case $cc_basename in
20176 lt_prog_compiler_wl_CXX
='--backend -Wl,'
20177 lt_prog_compiler_pic_CXX
='-fPIC'
20181 lt_prog_compiler_wl_CXX
='-Wl,'
20182 lt_prog_compiler_pic_CXX
='-KPIC'
20183 lt_prog_compiler_static_CXX
='-static'
20186 # Portland Group C++ compiler
20187 lt_prog_compiler_wl_CXX
='-Wl,'
20188 lt_prog_compiler_pic_CXX
='-fpic'
20189 lt_prog_compiler_static_CXX
='-Bstatic'
20193 # Make sure the PIC flag is empty. It appears that all Alpha
20194 # Linux and Compaq Tru64 Unix objects are PIC.
20195 lt_prog_compiler_pic_CXX
=
20196 lt_prog_compiler_static_CXX
='-non_shared'
20199 # IBM XL 8.0 on PPC
20200 lt_prog_compiler_wl_CXX
='-Wl,'
20201 lt_prog_compiler_pic_CXX
='-qpic'
20202 lt_prog_compiler_static_CXX
='-qstaticlink'
20205 case `$CC -V 2>&1 | sed 5q` in
20208 lt_prog_compiler_pic_CXX
='-KPIC'
20209 lt_prog_compiler_static_CXX
='-Bstatic'
20210 lt_prog_compiler_wl_CXX
='-Qoption ld '
20221 case $cc_basename in
20223 lt_prog_compiler_pic_CXX
='-W c,exportall'
20232 # QNX uses GNU C++, but need to define -shared option too, otherwise
20233 # it will coredump.
20234 lt_prog_compiler_pic_CXX
='-fPIC -shared'
20236 osf3
* | osf4
* | osf5
*)
20237 case $cc_basename in
20239 lt_prog_compiler_wl_CXX
='--backend -Wl,'
20242 # Rational C++ 2.4.1
20243 lt_prog_compiler_pic_CXX
='-pic'
20246 # Digital/Compaq C++
20247 lt_prog_compiler_wl_CXX
='-Wl,'
20248 # Make sure the PIC flag is empty. It appears that all Alpha
20249 # Linux and Compaq Tru64 Unix objects are PIC.
20250 lt_prog_compiler_pic_CXX
=
20251 lt_prog_compiler_static_CXX
='-non_shared'
20260 case $cc_basename in
20262 # Sun C++ 4.2, 5.x and Centerline C++
20263 lt_prog_compiler_pic_CXX
='-KPIC'
20264 lt_prog_compiler_static_CXX
='-Bstatic'
20265 lt_prog_compiler_wl_CXX
='-Qoption ld '
20268 # Green Hills C++ Compiler
20269 lt_prog_compiler_pic_CXX
='-PIC'
20276 case $cc_basename in
20279 lt_prog_compiler_pic_CXX
='-pic'
20280 lt_prog_compiler_static_CXX
='-Bstatic'
20284 lt_prog_compiler_pic_CXX
='-pic'
20290 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
20291 case $cc_basename in
20293 lt_prog_compiler_wl_CXX
='-Wl,'
20294 lt_prog_compiler_pic_CXX
='-KPIC'
20295 lt_prog_compiler_static_CXX
='-Bstatic'
20300 case $cc_basename in
20302 # NonStop-UX NCC 3.20
20303 lt_prog_compiler_pic_CXX
='-KPIC'
20312 lt_prog_compiler_can_build_shared_CXX
=no
20318 # For platforms which do not support PIC, -DPIC is meaningless:
20320 lt_prog_compiler_pic_CXX
=
20323 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
20326 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
20327 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
20332 # Check to make sure the PIC flag actually works.
20334 if test -n "$lt_prog_compiler_pic_CXX"; then
20335 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
20336 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
20337 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
20338 $as_echo_n "(cached) " >&6
20340 lt_cv_prog_compiler_pic_works_CXX
=no
20341 ac_outfile
=conftest.
$ac_objext
20342 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
20343 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
20344 # Insert the option either (1) after the last *FLAGS variable, or
20345 # (2) before a word containing "conftest.", or (3) at the end.
20346 # Note that $ac_compile itself does not contain backslashes and begins
20347 # with a dollar sign (not a hyphen), so the echo should work correctly.
20348 # The option is referenced via a variable to avoid confusing sed.
20349 lt_compile
=`echo "$ac_compile" | $SED \
20350 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20351 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20352 -e 's:$: $lt_compiler_flag:'`
20353 (eval echo "\"\$as_me:20353: $lt_compile\"" >&5)
20354 (eval "$lt_compile" 2>conftest.err
)
20356 cat conftest.err
>&5
20357 echo "$as_me:20357: \$? = $ac_status" >&5
20358 if (exit $ac_status) && test -s "$ac_outfile"; then
20359 # The compiler can only warn and ignore the option if not recognized
20360 # So say no if there are warnings other than the usual output.
20361 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
20362 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
20363 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
20364 lt_cv_prog_compiler_pic_works_CXX
=yes
20370 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
20371 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
20373 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
20374 case $lt_prog_compiler_pic_CXX in
20376 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
20379 lt_prog_compiler_pic_CXX
=
20380 lt_prog_compiler_can_build_shared_CXX
=no
20388 # Check to make sure the static flag actually works.
20390 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
20391 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
20392 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
20393 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
20394 $as_echo_n "(cached) " >&6
20396 lt_cv_prog_compiler_static_works_CXX
=no
20397 save_LDFLAGS
="$LDFLAGS"
20398 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
20399 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
20400 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
20401 # The linker can only warn and ignore the option if not recognized
20402 # So say no if there are warnings
20403 if test -s conftest.err
; then
20404 # Append any errors to the config.log.
20405 cat conftest.err
1>&5
20406 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
20407 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
20408 if diff conftest.exp conftest.er2
>/dev
/null
; then
20409 lt_cv_prog_compiler_static_works_CXX
=yes
20412 lt_cv_prog_compiler_static_works_CXX
=yes
20416 LDFLAGS
="$save_LDFLAGS"
20419 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
20420 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
20422 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
20425 lt_prog_compiler_static_CXX
=
20431 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
20432 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
20433 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
20434 $as_echo_n "(cached) " >&6
20436 lt_cv_prog_compiler_c_o_CXX
=no
20437 $RM -r conftest
2>/dev
/null
20441 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
20443 lt_compiler_flag
="-o out/conftest2.$ac_objext"
20444 # Insert the option either (1) after the last *FLAGS variable, or
20445 # (2) before a word containing "conftest.", or (3) at the end.
20446 # Note that $ac_compile itself does not contain backslashes and begins
20447 # with a dollar sign (not a hyphen), so the echo should work correctly.
20448 lt_compile
=`echo "$ac_compile" | $SED \
20449 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20450 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20451 -e 's:$: $lt_compiler_flag:'`
20452 (eval echo "\"\$as_me:20452: $lt_compile\"" >&5)
20453 (eval "$lt_compile" 2>out
/conftest.err
)
20455 cat out
/conftest.err
>&5
20456 echo "$as_me:20456: \$? = $ac_status" >&5
20457 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
20459 # The compiler can only warn and ignore the option if not recognized
20460 # So say no if there are warnings
20461 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
20462 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
20463 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
20464 lt_cv_prog_compiler_c_o_CXX
=yes
20469 # SGI C++ compiler will create directory out/ii_files/ for
20470 # template instantiation
20471 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
20472 $RM out
/* && rmdir out
20478 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
20479 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
20483 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
20484 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
20485 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
20486 $as_echo_n "(cached) " >&6
20488 lt_cv_prog_compiler_c_o_CXX
=no
20489 $RM -r conftest
2>/dev
/null
20493 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
20495 lt_compiler_flag
="-o out/conftest2.$ac_objext"
20496 # Insert the option either (1) after the last *FLAGS variable, or
20497 # (2) before a word containing "conftest.", or (3) at the end.
20498 # Note that $ac_compile itself does not contain backslashes and begins
20499 # with a dollar sign (not a hyphen), so the echo should work correctly.
20500 lt_compile
=`echo "$ac_compile" | $SED \
20501 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20502 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20503 -e 's:$: $lt_compiler_flag:'`
20504 (eval echo "\"\$as_me:20504: $lt_compile\"" >&5)
20505 (eval "$lt_compile" 2>out
/conftest.err
)
20507 cat out
/conftest.err
>&5
20508 echo "$as_me:20508: \$? = $ac_status" >&5
20509 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
20511 # The compiler can only warn and ignore the option if not recognized
20512 # So say no if there are warnings
20513 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
20514 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
20515 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
20516 lt_cv_prog_compiler_c_o_CXX
=yes
20521 # SGI C++ compiler will create directory out/ii_files/ for
20522 # template instantiation
20523 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
20524 $RM out
/* && rmdir out
20530 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
20531 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
20536 hard_links
="nottested"
20537 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
20538 # do not overwrite the value of need_locks provided by the user
20539 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
20540 $as_echo_n "checking if we can lock with hard links... " >&6; }
20543 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
20545 ln conftest.a conftest.b
2>&5 || hard_links
=no
20546 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
20547 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
20548 $as_echo "$hard_links" >&6; }
20549 if test "$hard_links" = no
; then
20550 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20551 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20560 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20561 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
20563 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20566 # If we're using GNU nm, then we don't want the "-C" option.
20567 # -C means demangle to AIX nm, but means don't demangle with GNU nm
20568 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
20569 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'
20571 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'
20575 export_symbols_cmds_CXX
="$ltdll_cmds"
20578 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'
20581 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20584 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
20586 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
20587 $as_echo "$ld_shlibs_CXX" >&6; }
20588 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
20590 with_gnu_ld_CXX
=$with_gnu_ld
20598 # Do we need to explicitly link libc?
20600 case "x$archive_cmds_need_lc_CXX" in
20602 # Assume -lc should be added
20603 archive_cmds_need_lc_CXX
=yes
20605 if test "$enable_shared" = yes && test "$GCC" = yes; then
20606 case $archive_cmds_CXX in
20608 # FIXME: we may have to deal with multi-command sequences.
20611 # Test whether the compiler implicitly links with -lc since on some
20612 # systems, -lgcc has to come before -lc. If gcc already passes -lc
20613 # to ld, don't add -lc before -lgcc.
20614 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20615 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
20617 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
20619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20620 (eval $ac_compile) 2>&5
20622 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); } 2>conftest.err
; then
20626 libobjs
=conftest.
$ac_objext
20628 wl
=$lt_prog_compiler_wl_CXX
20629 pic_flag
=$lt_prog_compiler_pic_CXX
20635 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
20636 allow_undefined_flag_CXX
=
20637 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
20638 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
20640 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20641 (exit $ac_status); }
20643 archive_cmds_need_lc_CXX
=no
20645 archive_cmds_need_lc_CXX
=yes
20647 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
20649 cat conftest.err
1>&5
20652 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
20653 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
20723 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20724 $as_echo_n "checking dynamic linker characteristics... " >&6; }
20726 library_names_spec
=
20727 libname_spec
='lib$name'
20731 postuninstall_cmds
=
20735 shlibpath_overrides_runpath
=unknown
20737 dynamic_linker
="$host_os ld.so"
20738 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
20739 need_lib_prefix
=unknown
20740 hardcode_into_libs
=no
20742 # when you set need_version to no, make sure it does not cause -set_version
20743 # flags to be left without arguments
20744 need_version
=unknown
20749 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
20750 shlibpath_var
=LIBPATH
20752 # AIX 3 has no versioning support, so we append a major version to the name.
20753 soname_spec
='${libname}${release}${shared_ext}$major'
20760 hardcode_into_libs
=yes
20761 if test "$host_cpu" = ia64
; then
20762 # AIX 5 supports IA64
20763 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20764 shlibpath_var
=LD_LIBRARY_PATH
20766 # With GCC up to 2.95.x, collect2 would create an import file
20767 # for dependence libraries. The import file would start with
20768 # the line `#! .'. This would cause the generated library to
20769 # depend on `.', always an invalid library. This was fixed in
20770 # development snapshots of GCC prior to 3.0.
20772 aix4 | aix4.
[01] | aix4.
[01].
*)
20773 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20775 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
20778 can_build_shared
=no
20782 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20783 # soname into executable. Probably we can add versioning support to
20784 # collect2, so additional links can be useful in future.
20785 if test "$aix_use_runtimelinking" = yes; then
20786 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20787 # instead of lib<name>.a to let people know that these are not
20788 # typical AIX shared libraries.
20789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20791 # We preserve .a as extension for shared libraries through AIX4.2
20792 # and later when we are not doing run time linking.
20793 library_names_spec
='${libname}${release}.a $libname.a'
20794 soname_spec
='${libname}${release}${shared_ext}$major'
20796 shlibpath_var
=LIBPATH
20801 if test "$host_cpu" = m68k
; then
20802 library_names_spec
='$libname.ixlibrary $libname.a'
20803 # Create ${libname}_ixlibrary.a entries in /sys/libs.
20804 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'
20811 library_names_spec
='${libname}${shared_ext}'
20812 dynamic_linker
="$host_os ld.so"
20813 shlibpath_var
=LIBRARY_PATH
20819 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20820 soname_spec
='${libname}${release}${shared_ext}$major'
20821 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
20822 shlibpath_var
=LD_LIBRARY_PATH
20823 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20824 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
20825 # the default ld.so.conf also contains /usr/contrib/lib and
20826 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20827 # libtool to hard-code these into programs
20830 cygwin
* | mingw
* | pw32
*)
20831 version_type
=windows
20836 case $GCC,$host_os in
20837 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
20838 library_names_spec
='$libname.dll.a'
20839 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20840 postinstall_cmds
='base_file=`basename \${file}`~
20841 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
20842 dldir=$destdir/`dirname \$dlpath`~
20843 test -d \$dldir || mkdir -p \$dldir~
20844 $install_prog $dir/$dlname \$dldir/$dlname~
20845 chmod a+x \$dldir/$dlname~
20846 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
20847 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
20849 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20850 dlpath=$dir/\$dldll~
20852 shlibpath_overrides_runpath
=yes
20856 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20857 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20858 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
20861 # MinGW DLLs use traditional 'lib' prefix
20862 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20863 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20864 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
20865 # It is most probably a Windows format PATH printed by
20866 # mingw gcc, but we are running on Cygwin. Gcc prints its search
20867 # path with ; separators, and with drive letters. We can handle the
20868 # drive letters (cygwin fileutils understands them), so leave them,
20869 # especially as we might pass files found there to a mingw objdump,
20870 # which wouldn't understand a cygwinified path. Ahh.
20871 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20873 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20877 # pw32 DLLs use 'pw' prefix rather than 'lib'
20878 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20884 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20887 dynamic_linker
='Win32 ld.exe'
20888 # FIXME: first we should search . and the directory the executable is in
20892 darwin
* | rhapsody
*)
20893 dynamic_linker
="$host_os dyld"
20894 version_type
=darwin
20897 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20898 soname_spec
='${libname}${release}${major}$shared_ext'
20899 shlibpath_overrides_runpath
=yes
20900 shlibpath_var
=DYLD_LIBRARY_PATH
20901 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
20903 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
20910 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20911 soname_spec
='${libname}${release}${shared_ext}$major'
20912 shlibpath_var
=LD_LIBRARY_PATH
20919 freebsd
* | dragonfly
*)
20920 # DragonFly does not have aout. When/if they implement a new
20921 # versioning mechanism, adjust this.
20922 if test -x /usr
/bin
/objformat
; then
20923 objformat
=`/usr/bin/objformat`
20926 freebsd
[123]*) objformat
=aout
;;
20927 *) objformat
=elf
;;
20930 version_type
=freebsd-
$objformat
20931 case $version_type in
20933 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20938 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20942 shlibpath_var
=LD_LIBRARY_PATH
20945 shlibpath_overrides_runpath
=yes
20947 freebsd3.
[01]* | freebsdelf3.
[01]*)
20948 shlibpath_overrides_runpath
=yes
20949 hardcode_into_libs
=yes
20951 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
20952 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
20953 shlibpath_overrides_runpath
=no
20954 hardcode_into_libs
=yes
20956 *) # from 4.6 on, and DragonFly
20957 shlibpath_overrides_runpath
=yes
20958 hardcode_into_libs
=yes
20967 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20968 soname_spec
='${libname}${release}${shared_ext}$major'
20969 shlibpath_var
=LD_LIBRARY_PATH
20970 hardcode_into_libs
=yes
20973 hpux9
* | hpux10
* | hpux11
*)
20974 # Give a soname corresponding to the major version so that dld.sl refuses to
20975 # link against other versions.
20982 hardcode_into_libs
=yes
20983 dynamic_linker
="$host_os dld.so"
20984 shlibpath_var
=LD_LIBRARY_PATH
20985 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
20986 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20987 soname_spec
='${libname}${release}${shared_ext}$major'
20988 if test "X$HPUX_IA64_MODE" = X32
; then
20989 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20991 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
20993 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
20997 hardcode_into_libs
=yes
20998 dynamic_linker
="$host_os dld.sl"
20999 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
21000 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
21001 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21002 soname_spec
='${libname}${release}${shared_ext}$major'
21003 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
21004 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
21008 dynamic_linker
="$host_os dld.sl"
21009 shlibpath_var
=SHLIB_PATH
21010 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
21011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21012 soname_spec
='${libname}${release}${shared_ext}$major'
21015 # HP-UX runs *really* slowly unless shared libraries are mode 555.
21016 postinstall_cmds
='chmod 555 $lib'
21023 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21024 soname_spec
='${libname}${release}${shared_ext}$major'
21025 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
21026 shlibpath_var
=LD_LIBRARY_PATH
21027 shlibpath_overrides_runpath
=no
21028 hardcode_into_libs
=yes
21031 irix5
* | irix6
* | nonstopux
*)
21033 nonstopux
*) version_type
=nonstopux
;;
21035 if test "$lt_cv_prog_gnu_ld" = yes; then
21043 soname_spec
='${libname}${release}${shared_ext}$major'
21044 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
21046 irix5
* | nonstopux
*)
21047 libsuff
= shlibsuff
=
21050 case $LD in # libtool.m4 will add one of these switches to LD
21051 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
21052 libsuff
= shlibsuff
= libmagic
=32-bit;;
21053 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
21054 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
21055 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
21056 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
21057 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
21061 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
21062 shlibpath_overrides_runpath
=no
21063 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
21064 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
21065 hardcode_into_libs
=yes
21068 # No shared lib support for Linux oldld, aout, or coff.
21069 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
21073 # This must be Linux ELF.
21074 linux
* | k
*bsd
*-gnu)
21078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21079 soname_spec
='${libname}${release}${shared_ext}$major'
21080 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
21081 shlibpath_var
=LD_LIBRARY_PATH
21082 shlibpath_overrides_runpath
=no
21083 # Some binutils ld are patched to set DT_RUNPATH
21084 save_LDFLAGS
=$LDFLAGS
21085 save_libdir
=$libdir
21086 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
21087 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
21088 cat >conftest.
$ac_ext <<_ACEOF
21091 cat confdefs.h
>>conftest.
$ac_ext
21092 cat >>conftest.
$ac_ext <<_ACEOF
21093 /* end confdefs.h. */
21103 rm -f conftest.
$ac_objext conftest
$ac_exeext
21104 if { (ac_try
="$ac_link"
21105 case "(($ac_try" in
21106 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21107 *) ac_try_echo=$ac_try;;
21109 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21110 $as_echo "$ac_try_echo") >&5
21111 (eval "$ac_link") 2>conftest.er1
21113 grep -v '^ *+' conftest.er1 >conftest.err
21115 cat conftest.err >&5
21116 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21117 (exit $ac_status); } && {
21118 test -z "$ac_cxx_werror_flag" ||
21119 test ! -s conftest.err
21120 } && test -s conftest$ac_exeext && {
21121 test "$cross_compiling" = yes ||
21122 $as_test_x conftest$ac_exeext
21124 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
21125 shlibpath_overrides_runpath=yes
21129 $as_echo "$as_me: failed program was:" >&5
21130 sed 's/^/| /' conftest.$ac_ext >&5
21135 rm -rf conftest.dSYM
21136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21137 conftest$ac_exeext conftest.$ac_ext
21138 LDFLAGS=$save_LDFLAGS
21139 libdir=$save_libdir
21141 # This implies no fast_install, which is unacceptable.
21142 # Some rework will be needed to allow for fast_install
21143 # before this can be enabled.
21144 hardcode_into_libs=yes
21146 # Append ld.so.conf contents to the search path
21147 if test -f /etc/ld.so.conf; then
21148 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' ' '`
21149 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
21152 # We used to test for /lib/ld.so.1 and disable shared libraries on
21153 # powerpc, because MkLinux only supported shared libraries with the
21154 # GNU dynamic linker. Since this was broken with cross compilers,
21155 # most powerpc-linux boxes support dynamic linking these days and
21156 # people can always --disable-shared, the test was removed, and we
21157 # assume the GNU/Linux dynamic linker is in use.
21158 dynamic_linker='GNU/Linux ld.so'
21165 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
21166 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21167 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21168 dynamic_linker='NetBSD (a.out) ld.so'
21170 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21171 soname_spec='${libname}${release}${shared_ext}$major'
21172 dynamic_linker='NetBSD ld.elf_so'
21174 shlibpath_var=LD_LIBRARY_PATH
21175 shlibpath_overrides_runpath=yes
21176 hardcode_into_libs=yes
21181 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21182 shlibpath_var=LD_LIBRARY_PATH
21183 shlibpath_overrides_runpath=yes
21190 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21191 soname_spec='${libname}${release}${shared_ext}$major'
21192 shlibpath_var=LD_LIBRARY_PATH
21193 shlibpath_overrides_runpath=no
21194 hardcode_into_libs=yes
21195 dynamic_linker='ldqnx.so'
21200 sys_lib_dlsearch_path_spec="/usr/lib"
21202 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
21204 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
21205 *) need_version=no ;;
21207 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21208 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21209 shlibpath_var=LD_LIBRARY_PATH
21210 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
21212 openbsd2.[89] | openbsd2.[89].*)
21213 shlibpath_overrides_runpath=no
21216 shlibpath_overrides_runpath=yes
21220 shlibpath_overrides_runpath=yes
21225 libname_spec='$name'
21228 library_names_spec='$libname${shared_ext} $libname.a'
21229 dynamic_linker='OS/2 ld.exe'
21230 shlibpath_var=LIBPATH
21233 osf3* | osf4* | osf5*)
21237 soname_spec='${libname}${release}${shared_ext}$major'
21238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21239 shlibpath_var=LD_LIBRARY_PATH
21240 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
21241 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
21252 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21253 soname_spec='${libname}${release}${shared_ext}$major'
21254 shlibpath_var=LD_LIBRARY_PATH
21255 shlibpath_overrides_runpath=yes
21256 hardcode_into_libs=yes
21257 # ldd complains unless libraries are executable
21258 postinstall_cmds='chmod +x $lib'
21263 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21264 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
21265 shlibpath_var=LD_LIBRARY_PATH
21266 shlibpath_overrides_runpath=yes
21267 if test "$with_gnu_ld" = yes; then
21275 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21276 soname_spec='${libname}${release}${shared_ext}$major'
21277 shlibpath_var=LD_LIBRARY_PATH
21278 case $host_vendor in
21280 shlibpath_overrides_runpath=no
21282 runpath_var=LD_RUN_PATH
21290 shlibpath_overrides_runpath=no
21291 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
21297 if test -d /usr/nec ;then
21299 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
21300 soname_spec='$libname${shared_ext}.$major'
21301 shlibpath_var=LD_LIBRARY_PATH
21305 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
21306 version_type=freebsd-elf
21309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
21310 soname_spec='${libname}${release}${shared_ext}$major'
21311 shlibpath_var=LD_LIBRARY_PATH
21312 shlibpath_overrides_runpath=yes
21313 hardcode_into_libs=yes
21314 if test "$with_gnu_ld" = yes; then
21315 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
21317 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
21320 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
21324 sys_lib_dlsearch_path_spec='/usr/lib'
21328 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
21332 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21333 shlibpath_var=LD_LIBRARY_PATH
21334 shlibpath_overrides_runpath=no
21335 hardcode_into_libs=yes
21340 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21341 soname_spec='${libname}${release}${shared_ext}$major'
21342 shlibpath_var=LD_LIBRARY_PATH
21349 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
21350 $as_echo "$dynamic_linker" >&6; }
21351 test "$dynamic_linker" = no && can_build_shared=no
21353 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
21354 if test "$GCC" = yes; then
21355 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
21358 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
21359 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
21361 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
21362 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
21400 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
21401 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
21402 hardcode_action_CXX=
21403 if test -n "$hardcode_libdir_flag_spec_CXX" ||
21404 test -n "$runpath_var_CXX" ||
21405 test "X$hardcode_automatic_CXX" = "Xyes" ; then
21407 # We can hardcode non-existent directories.
21408 if test "$hardcode_direct_CXX" != no &&
21409 # If the only mechanism to avoid hardcoding is shlibpath_var, we
21410 # have to relink, otherwise we might link with an installed library
21411 # when we should be linking with a yet-to-be-installed one
21412 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
21413 test "$hardcode_minus_L_CXX" != no; then
21414 # Linking always hardcodes the temporary library directory.
21415 hardcode_action_CXX=relink
21417 # We can link without hardcoding, and we can hardcode nonexisting dirs.
21418 hardcode_action_CXX=immediate
21421 # We cannot hardcode anything, or else we can only hardcode existing
21423 hardcode_action_CXX=unsupported
21425 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
21426 $as_echo "$hardcode_action_CXX" >&6; }
21428 if test "$hardcode_action_CXX" = relink ||
21429 test "$inherit_rpath_CXX" = yes; then
21430 # Fast installation is not supported
21431 enable_fast_install=no
21432 elif test "$shlibpath_overrides_runpath" = yes ||
21433 test "$enable_shared" = no; then
21434 # Fast installation is not necessary
21435 enable_fast_install=needless
21444 fi # test -n "$compiler"
21450 with_gnu_ld=$lt_save_with_gnu_ld
21451 lt_cv_path_LDCXX=$lt_cv_path_LD
21452 lt_cv_path_LD=$lt_save_path_LD
21453 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
21454 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
21455 fi # test "$_lt_caught_CXX_error" != yes
21458 ac_cpp='$CPP $CPPFLAGS'
21459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21466 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
21467 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21468 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
21471 archive_cmds_need_lc_F77=no
21472 allow_undefined_flag_F77=
21473 always_export_symbols_F77=no
21474 archive_expsym_cmds_F77=
21475 export_dynamic_flag_spec_F77=
21476 hardcode_direct_F77=no
21477 hardcode_direct_absolute_F77=no
21478 hardcode_libdir_flag_spec_F77=
21479 hardcode_libdir_flag_spec_ld_F77=
21480 hardcode_libdir_separator_F77=
21481 hardcode_minus_L_F77=no
21482 hardcode_automatic_F77=no
21483 inherit_rpath_F77=no
21485 module_expsym_cmds_F77=
21486 link_all_deplibs_F77=unknown
21487 old_archive_cmds_F77=$old_archive_cmds
21488 no_undefined_flag_F77=
21489 whole_archive_flag_spec_F77=
21490 enable_shared_with_static_runtimes_F77=no
21492 # Source file extension for f77 test sources.
21495 # Object file extension for compiled f77 test sources.
21499 # No sense in running all these tests if we already determined that
21500 # the F77 compiler isn't working. Some variables (like enable_shared)
21501 # are currently assumed to apply to all compilers on this platform,
21502 # and will be corrupted by setting them based on a non-working compiler.
21503 if test "$_lt_disable_F77" != yes; then
21504 # Code to be used in simple compile tests
21505 lt_simple_compile_test_code="\
21511 # Code to be used in simple link tests
21512 lt_simple_link_test_code="\
21517 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
21524 # If no C compiler was specified, use CC.
21527 # If no C compiler flags were specified, use CFLAGS.
21528 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
21530 # Allow CC to be a program name with arguments.
21534 # save warnings/boilerplate of simple test code
21535 ac_outfile=conftest.$ac_objext
21536 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
21537 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21538 _lt_compiler_boilerplate=`cat conftest.err
`
21541 ac_outfile=conftest.$ac_objext
21542 echo "$lt_simple_link_test_code" >conftest.$ac_ext
21543 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21544 _lt_linker_boilerplate=`cat conftest.err
`
21548 # Allow CC to be a program name with arguments.
21554 for cc_temp in $compiler""; do
21556 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21557 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21562 cc_basename=`$ECHO "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21565 if test -n "$compiler"; then
21566 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
21567 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
21568 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
21569 $as_echo "$can_build_shared" >&6; }
21571 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
21572 $as_echo_n "checking whether to build shared libraries... " >&6; }
21573 test "$can_build_shared" = "no" && enable_shared=no
21575 # On AIX, shared libraries and static libraries use the same namespace, and
21576 # are all built from PIC.
21579 test "$enable_shared" = yes && enable_static=no
21580 if test -n "$RANLIB"; then
21581 archive_cmds="$archive_cmds~\$RANLIB \$lib"
21582 postinstall_cmds='$RANLIB $lib'
21586 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
21587 test "$enable_shared" = yes && enable_static=no
21591 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
21592 $as_echo "$enable_shared" >&6; }
21594 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
21595 $as_echo_n "checking whether to build static libraries... " >&6; }
21596 # Make sure either enable_shared or enable_static is yes.
21597 test "$enable_shared" = yes || enable_static=yes
21598 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
21599 $as_echo "$enable_static" >&6; }
21605 ## There is no encapsulation within the following macros, do not change
21606 ## the running order or otherwise move them around unless you know exactly
21607 ## what you are doing...
21608 lt_prog_compiler_wl_F77=
21609 lt_prog_compiler_pic_F77=
21610 lt_prog_compiler_static_F77=
21612 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
21613 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
21615 if test "$GCC" = yes; then
21616 lt_prog_compiler_wl_F77='-Wl,'
21617 lt_prog_compiler_static_F77='-static'
21621 # All AIX code is PIC.
21622 if test "$host_cpu" = ia64; then
21623 # AIX 5 now supports IA64 processor
21624 lt_prog_compiler_static_F77='-Bstatic'
21629 if test "$host_cpu" = m68k; then
21630 # FIXME: we need at least 68020 code to build shared libraries, but
21631 # adding the `-m68020' flag to GCC prevents building anything better,
21633 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
21637 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
21638 # PIC is the default for these OSes.
21641 mingw
* | cygwin
* | pw32
* | os2
*)
21642 # This hack is so that the source file can tell whether it is being
21643 # built for inclusion in a dll (and should export symbols for example).
21644 # Although the cygwin gcc ignores -fPIC, still need this for old-style
21645 # (--disable-auto-import) libraries
21646 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
21649 darwin
* | rhapsody
*)
21650 # PIC is the default on this platform
21651 # Common symbols not allowed in MH_DYLIB files
21652 lt_prog_compiler_pic_F77
='-fno-common'
21656 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21657 # not for PA HP-UX.
21663 lt_prog_compiler_pic_F77
='-fPIC'
21669 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
21670 # Instead, we relocate shared libraries at runtime.
21674 # Just because we use GCC doesn't mean we suddenly get shared libraries
21675 # on systems that don't support them.
21676 lt_prog_compiler_can_build_shared_F77
=no
21681 # QNX uses GNU C++, but need to define -shared option too, otherwise
21682 # it will coredump.
21683 lt_prog_compiler_pic_F77
='-fPIC -shared'
21687 if test -d /usr
/nec
; then
21688 lt_prog_compiler_pic_F77
=-Kconform_pic
21693 lt_prog_compiler_pic_F77
='-fPIC'
21697 # PORTME Check for flag to pass linker flags through the system compiler.
21700 lt_prog_compiler_wl_F77
='-Wl,'
21701 if test "$host_cpu" = ia64
; then
21702 # AIX 5 now supports IA64 processor
21703 lt_prog_compiler_static_F77
='-Bstatic'
21705 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
21709 mingw
* | cygwin
* | pw32
* | os2
*)
21710 # This hack is so that the source file can tell whether it is being
21711 # built for inclusion in a dll (and should export symbols for example).
21712 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
21715 hpux9
* | hpux10
* | hpux11
*)
21716 lt_prog_compiler_wl_F77
='-Wl,'
21717 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21718 # not for PA HP-UX.
21724 lt_prog_compiler_pic_F77
='+Z'
21727 # Is there a better lt_prog_compiler_static that works with the bundled CC?
21728 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
21731 irix5
* | irix6
* | nonstopux
*)
21732 lt_prog_compiler_wl_F77
='-Wl,'
21733 # PIC (with -KPIC) is the default.
21734 lt_prog_compiler_static_F77
='-non_shared'
21737 linux
* | k
*bsd
*-gnu)
21738 case $cc_basename in
21739 icc
* | ecc
* | ifort
*)
21740 lt_prog_compiler_wl_F77
='-Wl,'
21741 lt_prog_compiler_pic_F77
='-KPIC'
21742 lt_prog_compiler_static_F77
='-static'
21744 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
21745 # Portland Group compilers (*not* the Pentium gcc compiler,
21746 # which looks to be a dead project)
21747 lt_prog_compiler_wl_F77
='-Wl,'
21748 lt_prog_compiler_pic_F77
='-fpic'
21749 lt_prog_compiler_static_F77
='-Bstatic'
21752 lt_prog_compiler_wl_F77
='-Wl,'
21753 # All Alpha code is PIC.
21754 lt_prog_compiler_static_F77
='-non_shared'
21757 # IBM XL C 8.0/Fortran 10.1 on PPC
21758 lt_prog_compiler_wl_F77
='-Wl,'
21759 lt_prog_compiler_pic_F77
='-qpic'
21760 lt_prog_compiler_static_F77
='-qstaticlink'
21763 case `$CC -V 2>&1 | sed 5q` in
21766 lt_prog_compiler_pic_F77
='-KPIC'
21767 lt_prog_compiler_static_F77
='-Bstatic'
21768 lt_prog_compiler_wl_F77
='-Wl,'
21771 # Sun Fortran 8.3 passes all unrecognized flags to the linker
21772 lt_prog_compiler_pic_F77
='-KPIC'
21773 lt_prog_compiler_static_F77
='-Bstatic'
21774 lt_prog_compiler_wl_F77
=''
21782 lt_prog_compiler_pic_F77
='-KPIC'
21783 lt_prog_compiler_static_F77
='-Bstatic'
21787 # QNX uses GNU C++, but need to define -shared option too, otherwise
21788 # it will coredump.
21789 lt_prog_compiler_pic_F77
='-fPIC -shared'
21792 osf3
* | osf4
* | osf5
*)
21793 lt_prog_compiler_wl_F77
='-Wl,'
21794 # All OSF/1 code is PIC.
21795 lt_prog_compiler_static_F77
='-non_shared'
21799 lt_prog_compiler_static_F77
='-non_shared'
21803 lt_prog_compiler_pic_F77
='-KPIC'
21804 lt_prog_compiler_static_F77
='-Bstatic'
21805 case $cc_basename in
21806 f77
* | f90
* | f95
*)
21807 lt_prog_compiler_wl_F77
='-Qoption ld ';;
21809 lt_prog_compiler_wl_F77
='-Wl,';;
21814 lt_prog_compiler_wl_F77
='-Qoption ld '
21815 lt_prog_compiler_pic_F77
='-PIC'
21816 lt_prog_compiler_static_F77
='-Bstatic'
21819 sysv4 | sysv4.2uw2
* | sysv4.3
*)
21820 lt_prog_compiler_wl_F77
='-Wl,'
21821 lt_prog_compiler_pic_F77
='-KPIC'
21822 lt_prog_compiler_static_F77
='-Bstatic'
21826 if test -d /usr
/nec
;then
21827 lt_prog_compiler_pic_F77
='-Kconform_pic'
21828 lt_prog_compiler_static_F77
='-Bstatic'
21832 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
21833 lt_prog_compiler_wl_F77
='-Wl,'
21834 lt_prog_compiler_pic_F77
='-KPIC'
21835 lt_prog_compiler_static_F77
='-Bstatic'
21839 lt_prog_compiler_wl_F77
='-Wl,'
21840 lt_prog_compiler_can_build_shared_F77
=no
21844 lt_prog_compiler_pic_F77
='-pic'
21845 lt_prog_compiler_static_F77
='-Bstatic'
21849 lt_prog_compiler_can_build_shared_F77
=no
21855 # For platforms which do not support PIC, -DPIC is meaningless:
21857 lt_prog_compiler_pic_F77
=
21860 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
21863 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
21864 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
21869 # Check to make sure the PIC flag actually works.
21871 if test -n "$lt_prog_compiler_pic_F77"; then
21872 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
21873 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
21874 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
21875 $as_echo_n "(cached) " >&6
21877 lt_cv_prog_compiler_pic_works_F77
=no
21878 ac_outfile
=conftest.
$ac_objext
21879 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
21880 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
21881 # Insert the option either (1) after the last *FLAGS variable, or
21882 # (2) before a word containing "conftest.", or (3) at the end.
21883 # Note that $ac_compile itself does not contain backslashes and begins
21884 # with a dollar sign (not a hyphen), so the echo should work correctly.
21885 # The option is referenced via a variable to avoid confusing sed.
21886 lt_compile
=`echo "$ac_compile" | $SED \
21887 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21888 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21889 -e 's:$: $lt_compiler_flag:'`
21890 (eval echo "\"\$as_me:21890: $lt_compile\"" >&5)
21891 (eval "$lt_compile" 2>conftest.err
)
21893 cat conftest.err
>&5
21894 echo "$as_me:21894: \$? = $ac_status" >&5
21895 if (exit $ac_status) && test -s "$ac_outfile"; then
21896 # The compiler can only warn and ignore the option if not recognized
21897 # So say no if there are warnings other than the usual output.
21898 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
21899 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
21900 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
21901 lt_cv_prog_compiler_pic_works_F77
=yes
21907 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
21908 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
21910 if test x
"$lt_cv_prog_compiler_pic_works_F77" = xyes
; then
21911 case $lt_prog_compiler_pic_F77 in
21913 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
21916 lt_prog_compiler_pic_F77
=
21917 lt_prog_compiler_can_build_shared_F77
=no
21925 # Check to make sure the static flag actually works.
21927 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
21928 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
21929 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
21930 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
21931 $as_echo_n "(cached) " >&6
21933 lt_cv_prog_compiler_static_works_F77
=no
21934 save_LDFLAGS
="$LDFLAGS"
21935 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
21936 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
21937 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
21938 # The linker can only warn and ignore the option if not recognized
21939 # So say no if there are warnings
21940 if test -s conftest.err
; then
21941 # Append any errors to the config.log.
21942 cat conftest.err
1>&5
21943 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
21944 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
21945 if diff conftest.exp conftest.er2
>/dev
/null
; then
21946 lt_cv_prog_compiler_static_works_F77
=yes
21949 lt_cv_prog_compiler_static_works_F77
=yes
21953 LDFLAGS
="$save_LDFLAGS"
21956 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
21957 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
21959 if test x
"$lt_cv_prog_compiler_static_works_F77" = xyes
; then
21962 lt_prog_compiler_static_F77
=
21968 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21969 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
21970 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
21971 $as_echo_n "(cached) " >&6
21973 lt_cv_prog_compiler_c_o_F77
=no
21974 $RM -r conftest
2>/dev
/null
21978 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
21980 lt_compiler_flag
="-o out/conftest2.$ac_objext"
21981 # Insert the option either (1) after the last *FLAGS variable, or
21982 # (2) before a word containing "conftest.", or (3) at the end.
21983 # Note that $ac_compile itself does not contain backslashes and begins
21984 # with a dollar sign (not a hyphen), so the echo should work correctly.
21985 lt_compile
=`echo "$ac_compile" | $SED \
21986 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21987 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21988 -e 's:$: $lt_compiler_flag:'`
21989 (eval echo "\"\$as_me:21989: $lt_compile\"" >&5)
21990 (eval "$lt_compile" 2>out
/conftest.err
)
21992 cat out
/conftest.err
>&5
21993 echo "$as_me:21993: \$? = $ac_status" >&5
21994 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
21996 # The compiler can only warn and ignore the option if not recognized
21997 # So say no if there are warnings
21998 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
21999 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
22000 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
22001 lt_cv_prog_compiler_c_o_F77
=yes
22006 # SGI C++ compiler will create directory out/ii_files/ for
22007 # template instantiation
22008 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
22009 $RM out
/* && rmdir out
22015 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
22016 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
22020 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
22021 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
22022 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
22023 $as_echo_n "(cached) " >&6
22025 lt_cv_prog_compiler_c_o_F77
=no
22026 $RM -r conftest
2>/dev
/null
22030 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
22032 lt_compiler_flag
="-o out/conftest2.$ac_objext"
22033 # Insert the option either (1) after the last *FLAGS variable, or
22034 # (2) before a word containing "conftest.", or (3) at the end.
22035 # Note that $ac_compile itself does not contain backslashes and begins
22036 # with a dollar sign (not a hyphen), so the echo should work correctly.
22037 lt_compile
=`echo "$ac_compile" | $SED \
22038 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
22039 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22040 -e 's:$: $lt_compiler_flag:'`
22041 (eval echo "\"\$as_me:22041: $lt_compile\"" >&5)
22042 (eval "$lt_compile" 2>out
/conftest.err
)
22044 cat out
/conftest.err
>&5
22045 echo "$as_me:22045: \$? = $ac_status" >&5
22046 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
22048 # The compiler can only warn and ignore the option if not recognized
22049 # So say no if there are warnings
22050 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
22051 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
22052 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
22053 lt_cv_prog_compiler_c_o_F77
=yes
22058 # SGI C++ compiler will create directory out/ii_files/ for
22059 # template instantiation
22060 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
22061 $RM out
/* && rmdir out
22067 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
22068 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
22073 hard_links
="nottested"
22074 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
22075 # do not overwrite the value of need_locks provided by the user
22076 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
22077 $as_echo_n "checking if we can lock with hard links... " >&6; }
22080 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
22082 ln conftest.a conftest.b
2>&5 || hard_links
=no
22083 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
22084 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
22085 $as_echo "$hard_links" >&6; }
22086 if test "$hard_links" = no
; then
22087 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
22088 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
22097 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
22098 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
22101 allow_undefined_flag_F77
=
22102 always_export_symbols_F77
=no
22104 archive_expsym_cmds_F77
=
22105 compiler_needs_object_F77
=no
22106 enable_shared_with_static_runtimes_F77
=no
22107 export_dynamic_flag_spec_F77
=
22108 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
22109 hardcode_automatic_F77
=no
22110 hardcode_direct_F77
=no
22111 hardcode_direct_absolute_F77
=no
22112 hardcode_libdir_flag_spec_F77
=
22113 hardcode_libdir_flag_spec_ld_F77
=
22114 hardcode_libdir_separator_F77
=
22115 hardcode_minus_L_F77
=no
22116 hardcode_shlibpath_var_F77
=unsupported
22117 inherit_rpath_F77
=no
22118 link_all_deplibs_F77
=unknown
22120 module_expsym_cmds_F77
=
22121 old_archive_from_new_cmds_F77
=
22122 old_archive_from_expsyms_cmds_F77
=
22123 thread_safe_flag_spec_F77
=
22124 whole_archive_flag_spec_F77
=
22125 # include_expsyms should be a list of space-separated symbols to be *always*
22126 # included in the symbol list
22127 include_expsyms_F77
=
22128 # exclude_expsyms can be an extended regexp of symbols to exclude
22129 # it will be wrapped by ` (' and `)$', so one must not match beginning or
22130 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
22131 # as well as any symbol that contains `d'.
22132 exclude_expsyms_F77
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
22133 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
22134 # platforms (ab)use it in PIC code, but their linkers get confused if
22135 # the symbol is explicitly referenced. Since portable code cannot
22136 # rely on this symbol name, it's probably fine to never include it in
22137 # preloaded symbol tables.
22138 # Exclude shared library initialization/finalization symbols.
22139 extract_expsyms_cmds
=
22142 cygwin
* | mingw
* | pw32
*)
22143 # FIXME: the MSVC++ port hasn't been tested in a loooong time
22144 # When not using gcc, we currently assume that we are using
22145 # Microsoft Visual C++.
22146 if test "$GCC" != yes; then
22151 # we just hope/assume this is gcc and not c89 (= MSVC++)
22160 if test "$with_gnu_ld" = yes; then
22161 # If archive_cmds runs LD, not CC, wlarc should be empty
22164 # Set some defaults for GNU ld with shared library support. These
22165 # are reset later if shared libraries are not supported. Putting them
22166 # here allows them to be overridden if necessary.
22167 runpath_var
=LD_RUN_PATH
22168 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22169 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
22170 # ancient GNU ld didn't support --whole-archive et. al.
22171 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
22172 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
22174 whole_archive_flag_spec_F77
=
22176 supports_anon_versioning
=no
22177 case `$LD -v 2>&1` in
22178 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
22179 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
22180 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
22181 *\
2.11.
*) ;; # other 2.11 versions
22182 *) supports_anon_versioning
=yes ;;
22185 # See if GNU ld supports shared libraries.
22188 # On AIX/PPC, the GNU linker is very broken
22189 if test "$host_cpu" != ia64
; then
22193 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
22194 *** to be unable to reliably create shared libraries on AIX.
22195 *** Therefore, libtool is disabling shared libraries support. If you
22196 *** really care for shared libraries, you may want to modify your PATH
22197 *** so that a non-GNU linker is found, and then restart.
22204 if test "$host_cpu" = m68k
; then
22205 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)'
22206 hardcode_libdir_flag_spec_F77
='-L$libdir'
22207 hardcode_minus_L_F77
=yes
22210 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
22211 # that the semantics of dynamic libraries on AmigaOS, at least up
22212 # to version 4, is to share data among multiple programs linked
22213 # with the same dynamic library. Since this doesn't match the
22214 # behavior of shared libraries on other platforms, we can't use
22220 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
22221 allow_undefined_flag_F77
=unsupported
22222 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
22223 # support --undefined. This deserves some investigation. FIXME
22224 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22230 cygwin
* | mingw
* | pw32
*)
22231 # _LT_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
22232 # as there is no search path for DLLs.
22233 hardcode_libdir_flag_spec_F77
='-L$libdir'
22234 allow_undefined_flag_F77
=unsupported
22235 always_export_symbols_F77
=no
22236 enable_shared_with_static_runtimes_F77
=yes
22237 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
22239 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
22240 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
22241 # If the export-symbols file already is a .def file (1st line
22242 # is EXPORTS), use it as is; otherwise, prepend...
22243 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
22244 cp $export_symbols $output_objdir/$soname.def;
22246 echo EXPORTS > $output_objdir/$soname.def;
22247 cat $export_symbols >> $output_objdir/$soname.def;
22249 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
22256 hardcode_direct_F77
=no
22257 hardcode_shlibpath_var_F77
=no
22258 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
22259 export_dynamic_flag_spec_F77
='${wl}-E'
22260 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
22261 # Instead, shared libraries are loaded at an image base (0x10000000 by
22262 # default) and relocated if they conflict, which is a slow very memory
22263 # consuming and fragmenting process. To avoid this, we pick a random,
22264 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
22265 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
22266 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'
22267 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'
22270 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
22272 if test "$host_os" = linux-dietlibc
; then
22273 case $cc_basename in
22274 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
22277 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
22278 && test "$tmp_diet" = no
22281 tmp_sharedflag
='-shared'
22282 case $cc_basename,$host_cpu in
22283 pgcc
*) # Portland Group C compiler
22284 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'
22285 tmp_addflag
=' $pic_flag'
22287 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
22288 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'
22289 tmp_addflag
=' $pic_flag -Mnomain' ;;
22290 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
22291 tmp_addflag
=' -i_dynamic' ;;
22292 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
22293 tmp_addflag
=' -i_dynamic -nofor_main' ;;
22294 ifc
* | ifort
*) # Intel Fortran compiler
22295 tmp_addflag
=' -nofor_main' ;;
22296 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
22297 tmp_sharedflag
='-qmkshrobj'
22300 case `$CC -V 2>&1 | sed 5q` in
22301 *Sun\ C
*) # Sun C 5.9
22302 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'
22303 compiler_needs_object_F77
=yes
22304 tmp_sharedflag
='-G' ;;
22305 *Sun\ F
*) # Sun Fortran 8.3
22306 tmp_sharedflag
='-G' ;;
22308 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22310 if test "x$supports_anon_versioning" = xyes
; then
22311 archive_expsym_cmds_F77
='echo "{ global:" > $output_objdir/$libname.ver~
22312 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
22313 echo "local: *; };" >> $output_objdir/$libname.ver~
22314 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
22317 case $cc_basename in
22319 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
22320 whole_archive_flag_spec_F77
='--whole-archive$convenience --no-whole-archive'
22321 hardcode_libdir_flag_spec_F77
=
22322 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
22323 archive_cmds_F77
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
22324 if test "x$supports_anon_versioning" = xyes
; then
22325 archive_expsym_cmds_F77
='echo "{ global:" > $output_objdir/$libname.ver~
22326 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
22327 echo "local: *; };" >> $output_objdir/$libname.ver~
22328 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
22338 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
22339 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
22342 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22343 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22348 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
22352 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
22353 *** create shared libraries on Solaris systems. Therefore, libtool
22354 *** is disabling shared libraries support. We urge you to upgrade GNU
22355 *** binutils to release 2.9.1 or newer. Another option is to modify
22356 *** your PATH or compiler configuration so that the native linker is
22357 *** used, and then restart.
22360 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
22361 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22362 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22368 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
22369 case `$LD -v 2>&1` in
22370 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
22374 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
22375 *** reliably create shared libraries on SCO systems. Therefore, libtool
22376 *** is disabling shared libraries support. We urge you to upgrade GNU
22377 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
22378 *** your PATH or compiler configuration so that the native linker is
22379 *** used, and then restart.
22384 # For security reasons, it is highly recommended that you always
22385 # use absolute paths for naming shared libraries, and exclude the
22386 # DT_RUNPATH tag from executables and libraries. But doing so
22387 # requires that you compile everything twice, which is a pain.
22388 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
22389 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
22390 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22391 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22400 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22402 hardcode_direct_F77
=yes
22403 hardcode_shlibpath_var_F77
=no
22407 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
22408 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
22409 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
22416 if test "$ld_shlibs_F77" = no
; then
22418 hardcode_libdir_flag_spec_F77
=
22419 export_dynamic_flag_spec_F77
=
22420 whole_archive_flag_spec_F77
=
22423 # PORTME fill in a description of your system's linker (not GNU ld)
22426 allow_undefined_flag_F77
=unsupported
22427 always_export_symbols_F77
=yes
22428 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'
22429 # Note: this linker hardcodes the directories in LIBPATH if there
22430 # are no directories specified by -L.
22431 hardcode_minus_L_F77
=yes
22432 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
22433 # Neither direct hardcoding nor static linking is supported with a
22435 hardcode_direct_F77
=unsupported
22440 if test "$host_cpu" = ia64
; then
22441 # On IA64, the linker does run time linking by default, so we don't
22442 # have to do anything special.
22443 aix_use_runtimelinking
=no
22444 exp_sym_flag
='-Bexport'
22447 # If we're using GNU nm, then we don't want the "-C" option.
22448 # -C means demangle to AIX nm, but means don't demangle with GNU nm
22449 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
22450 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'
22452 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'
22454 aix_use_runtimelinking
=no
22456 # Test if we are trying to use run time linking or normal
22457 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
22458 # need to do runtime linking.
22459 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
22460 for ld_flag
in $LDFLAGS; do
22461 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
22462 aix_use_runtimelinking
=yes
22469 exp_sym_flag
='-bexport'
22470 no_entry_flag
='-bnoentry'
22473 # When large executables or shared objects are built, AIX ld can
22474 # have problems creating the table of contents. If linking a library
22475 # or program results in "error TOC overflow" add -mminimal-toc to
22476 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
22477 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
22479 archive_cmds_F77
=''
22480 hardcode_direct_F77
=yes
22481 hardcode_direct_absolute_F77
=yes
22482 hardcode_libdir_separator_F77
=':'
22483 link_all_deplibs_F77
=yes
22484 file_list_spec_F77
='${wl}-f,'
22486 if test "$GCC" = yes; then
22487 case $host_os in aix4.
[012]|aix4.
[012].
*)
22488 # We only want to do this on AIX 4.2 and lower, the check
22489 # below for broken collect2 doesn't work under 4.3+
22490 collect2name
=`${CC} -print-prog-name=collect2`
22491 if test -f "$collect2name" &&
22492 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
22494 # We have reworked collect2
22497 # We have old collect2
22498 hardcode_direct_F77
=unsupported
22499 # It fails to find uninstalled libraries when the uninstalled
22500 # path is not listed in the libpath. Setting hardcode_minus_L
22501 # to unsupported forces relinking
22502 hardcode_minus_L_F77
=yes
22503 hardcode_libdir_flag_spec_F77
='-L$libdir'
22504 hardcode_libdir_separator_F77
=
22508 shared_flag
='-shared'
22509 if test "$aix_use_runtimelinking" = yes; then
22510 shared_flag
="$shared_flag "'${wl}-G'
22514 if test "$host_cpu" = ia64
; then
22515 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
22516 # chokes on -Wl,-G. The following line is correct:
22519 if test "$aix_use_runtimelinking" = yes; then
22520 shared_flag
='${wl}-G'
22522 shared_flag
='${wl}-bM:SRE'
22527 # It seems that -bexpall does not export symbols beginning with
22528 # underscore (_), so it is better to generate a list of symbols to export.
22529 always_export_symbols_F77
=yes
22530 if test "$aix_use_runtimelinking" = yes; then
22531 # Warning - without using the other runtime loading flags (-brtl),
22532 # -berok will link without error, but may produce a broken library.
22533 allow_undefined_flag_F77
='-berok'
22534 # Determine the default libpath from the value encoded in an
22535 # empty executable.
22536 cat >conftest.
$ac_ext <<_ACEOF
22541 rm -f conftest.
$ac_objext conftest
$ac_exeext
22542 if { (ac_try
="$ac_link"
22543 case "(($ac_try" in
22544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22545 *) ac_try_echo=$ac_try;;
22547 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22548 $as_echo "$ac_try_echo") >&5
22549 (eval "$ac_link") 2>conftest.er1
22551 grep -v '^ *+' conftest.er1 >conftest.err
22553 cat conftest.err >&5
22554 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22555 (exit $ac_status); } && {
22556 test -z "$ac_f77_werror_flag" ||
22557 test ! -s conftest.err
22558 } && test -s conftest$ac_exeext && {
22559 test "$cross_compiling" = yes ||
22560 $as_test_x conftest$ac_exeext
22563 lt_aix_libpath_sed='
22564 /Import File Strings/,/^$/ {
22570 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
22571 # Check for a 64-bit object if we didn't find anything.
22572 if test -z "$aix_libpath"; then
22573 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
22576 $as_echo "$as_me: failed program was:" >&5
22577 sed 's/^/| /' conftest.$ac_ext >&5
22582 rm -rf conftest.dSYM
22583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22584 conftest$ac_exeext conftest.$ac_ext
22585 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
22587 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
22588 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 "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
22590 if test "$host_cpu" = ia64; then
22591 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
22592 allow_undefined_flag_F77="-z nodefs"
22593 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"
22595 # Determine the default libpath from the value encoded in an
22596 # empty executable.
22597 cat >conftest.$ac_ext <<_ACEOF
22602 rm -f conftest.$ac_objext conftest$ac_exeext
22603 if { (ac_try="$ac_link"
22604 case "(($ac_try" in
22605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22606 *) ac_try_echo
=$ac_try;;
22608 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
22609 $as_echo "$ac_try_echo") >&5
22610 (eval "$ac_link") 2>conftest.er1
22612 grep -v '^ *+' conftest.er1
>conftest.err
22614 cat conftest.err
>&5
22615 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22616 (exit $ac_status); } && {
22617 test -z "$ac_f77_werror_flag" ||
22618 test ! -s conftest.err
22619 } && test -s conftest
$ac_exeext && {
22620 test "$cross_compiling" = yes ||
22621 $as_test_x conftest
$ac_exeext
22624 lt_aix_libpath_sed
='
22625 /Import File Strings/,/^$/ {
22631 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22632 # Check for a 64-bit object if we didn't find anything.
22633 if test -z "$aix_libpath"; then
22634 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22637 $as_echo "$as_me: failed program was:" >&5
22638 sed 's/^/| /' conftest.
$ac_ext >&5
22643 rm -rf conftest.dSYM
22644 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22645 conftest
$ac_exeext conftest.
$ac_ext
22646 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
22648 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
22649 # Warning - without using the other run time loading flags,
22650 # -berok will link without error, but may produce a broken library.
22651 no_undefined_flag_F77
=' ${wl}-bernotok'
22652 allow_undefined_flag_F77
=' ${wl}-berok'
22653 # Exported symbols can be pulled into shared objects from archives
22654 whole_archive_flag_spec_F77
='$convenience'
22655 archive_cmds_need_lc_F77
=yes
22656 # This is similar to how AIX traditionally builds its shared libraries.
22657 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'
22663 if test "$host_cpu" = m68k
; then
22664 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)'
22665 hardcode_libdir_flag_spec_F77
='-L$libdir'
22666 hardcode_minus_L_F77
=yes
22668 # see comment about different semantics on the GNU ld section
22673 export_dynamic_flag_spec_F77
=-rdynamic
22676 cygwin
* | mingw
* | pw32
*)
22677 # When not using gcc, we currently assume that we are using
22678 # Microsoft Visual C++.
22679 # hardcode_libdir_flag_spec is actually meaningless, as there is
22680 # no search path for DLLs.
22681 hardcode_libdir_flag_spec_F77
=' '
22682 allow_undefined_flag_F77
=unsupported
22683 # Tell ltmain to make .lib files, not .a files.
22685 # Tell ltmain to make .dll files, not .so files.
22687 # FIXME: Setting linknames here is a bad hack.
22688 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
22689 # The linker will automatically build a .lib file if we build a DLL.
22690 old_archive_from_new_cmds_F77
='true'
22691 # FIXME: Should let the user specify the lib program.
22692 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
22693 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
22694 enable_shared_with_static_runtimes_F77
=yes
22697 darwin
* | rhapsody
*)
22700 archive_cmds_need_lc_F77
=no
22701 hardcode_direct_F77
=no
22702 hardcode_automatic_F77
=yes
22703 hardcode_shlibpath_var_F77
=unsupported
22704 whole_archive_flag_spec_F77
=''
22705 link_all_deplibs_F77
=yes
22706 allow_undefined_flag_F77
="$_lt_dar_allow_undefined"
22707 if test "$GCC" = "yes"; then
22708 output_verbose_link_cmd
=echo
22709 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}"
22710 module_cmds_F77
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
22711 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}"
22712 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}"
22721 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22722 hardcode_libdir_flag_spec_F77
='-L$libdir'
22723 hardcode_shlibpath_var_F77
=no
22730 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
22731 # support. Future versions do this automatically, but an explicit c++rt0.o
22732 # does not break anything, and helps significantly (at the cost of a little
22735 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
22736 hardcode_libdir_flag_spec_F77
='-R$libdir'
22737 hardcode_direct_F77
=yes
22738 hardcode_shlibpath_var_F77
=no
22741 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
22743 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22744 hardcode_direct_F77
=yes
22745 hardcode_minus_L_F77
=yes
22746 hardcode_shlibpath_var_F77
=no
22749 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
22750 freebsd
* | dragonfly
*)
22751 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
22752 hardcode_libdir_flag_spec_F77
='-R$libdir'
22753 hardcode_direct_F77
=yes
22754 hardcode_shlibpath_var_F77
=no
22758 if test "$GCC" = yes; then
22759 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'
22761 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'
22763 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22764 hardcode_libdir_separator_F77
=:
22765 hardcode_direct_F77
=yes
22767 # hardcode_minus_L: Not really in the search PATH,
22768 # but as the default location of the library.
22769 hardcode_minus_L_F77
=yes
22770 export_dynamic_flag_spec_F77
='${wl}-E'
22774 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
22775 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22777 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
22779 if test "$with_gnu_ld" = no
; then
22780 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22781 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
22782 hardcode_libdir_separator_F77
=:
22783 hardcode_direct_F77
=yes
22784 hardcode_direct_absolute_F77
=yes
22785 export_dynamic_flag_spec_F77
='${wl}-E'
22786 # hardcode_minus_L: Not really in the search PATH,
22787 # but as the default location of the library.
22788 hardcode_minus_L_F77
=yes
22793 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
22796 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22799 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22802 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22808 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22811 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22814 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22818 if test "$with_gnu_ld" = no
; then
22819 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
22820 hardcode_libdir_separator_F77
=:
22824 hardcode_direct_F77
=no
22825 hardcode_shlibpath_var_F77
=no
22828 hardcode_direct_F77
=yes
22829 hardcode_direct_absolute_F77
=yes
22830 export_dynamic_flag_spec_F77
='${wl}-E'
22832 # hardcode_minus_L: Not really in the search PATH,
22833 # but as the default location of the library.
22834 hardcode_minus_L_F77
=yes
22840 irix5
* | irix6
* | nonstopux
*)
22841 if test "$GCC" = yes; then
22842 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
22843 # Try to use the -exported_symbol ld option, if it does not
22844 # work, assume that -exports_file does not work either and
22845 # implicitly export all symbols.
22846 save_LDFLAGS
="$LDFLAGS"
22847 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
22848 cat >conftest.
$ac_ext <<_ACEOF
22851 rm -f conftest.
$ac_objext conftest
$ac_exeext
22852 if { (ac_try
="$ac_link"
22853 case "(($ac_try" in
22854 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22855 *) ac_try_echo=$ac_try;;
22857 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22858 $as_echo "$ac_try_echo") >&5
22859 (eval "$ac_link") 2>conftest.er1
22861 grep -v '^ *+' conftest.er1 >conftest.err
22863 cat conftest.err >&5
22864 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22865 (exit $ac_status); } && {
22866 test -z "$ac_f77_werror_flag" ||
22867 test ! -s conftest.err
22868 } && test -s conftest$ac_exeext && {
22869 test "$cross_compiling" = yes ||
22870 $as_test_x conftest$ac_exeext
22872 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
22875 $as_echo "$as_me: failed program was:" >&5
22876 sed 's/^/| /' conftest.$ac_ext >&5
22881 rm -rf conftest.dSYM
22882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22883 conftest$ac_exeext conftest.$ac_ext
22884 LDFLAGS="$save_LDFLAGS"
22886 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
22887 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
22889 archive_cmds_need_lc_F77='no'
22890 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22891 hardcode_libdir_separator_F77=:
22892 inherit_rpath_F77=yes
22893 link_all_deplibs_F77=yes
22897 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
22898 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
22900 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
22902 hardcode_libdir_flag_spec_F77='-R$libdir'
22903 hardcode_direct_F77=yes
22904 hardcode_shlibpath_var_F77=no
22908 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22909 hardcode_direct_F77=yes
22910 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22911 hardcode_libdir_separator_F77=:
22912 hardcode_shlibpath_var_F77=no
22919 if test -f /usr/libexec/ld.so; then
22920 hardcode_direct_F77=yes
22921 hardcode_shlibpath_var_F77=no
22922 hardcode_direct_absolute_F77=yes
22923 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22924 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22925 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
22926 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
22927 export_dynamic_flag_spec_F77='${wl}-E'
22930 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
22931 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22932 hardcode_libdir_flag_spec_F77='-R$libdir'
22935 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22936 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
22946 hardcode_libdir_flag_spec_F77='-L$libdir'
22947 hardcode_minus_L_F77=yes
22948 allow_undefined_flag_F77=unsupported
22949 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'
22950 old_archive_from_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
22954 if test "$GCC" = yes; then
22955 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
22956 archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
22958 allow_undefined_flag_F77=' -expect_unresolved \*'
22959 archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
22961 archive_cmds_need_lc_F77='no'
22962 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22963 hardcode_libdir_separator_F77=:
22966 osf4* | osf5*) # as osf3* with the addition of -msym flag
22967 if test "$GCC" = yes; then
22968 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
22969 archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
22970 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
22972 allow_undefined_flag_F77=' -expect_unresolved \*'
22973 archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
22974 archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
22975 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
22977 # Both c and cxx compiler support -rpath directly
22978 hardcode_libdir_flag_spec_F77='-rpath $libdir'
22980 archive_cmds_need_lc_F77='no'
22981 hardcode_libdir_separator_F77=:
22985 no_undefined_flag_F77=' -z defs'
22986 if test "$GCC" = yes; then
22988 archive_cmds_F77='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22989 archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
22990 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
22992 case `$CC -V 2>&1` in
22995 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22996 archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
22997 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
23001 archive_cmds_F77='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
23002 archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
23003 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
23007 hardcode_libdir_flag_spec_F77='-R$libdir'
23008 hardcode_shlibpath_var_F77=no
23010 solaris2.[0-5] | solaris2.[0-5].*) ;;
23012 # The compiler driver will combine and reorder linker options,
23013 # but understands `-z linker_flag
'. GCC discards it without `$wl',
23014 # but is careful enough not to reorder.
23015 # Supported since Solaris 2.6 (maybe 2.5.1?)
23016 if test "$GCC" = yes; then
23017 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
23019 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
23023 link_all_deplibs_F77
=yes
23027 if test "x$host_vendor" = xsequent
; then
23028 # Use $CC to link under sequent, because it throws in some extra .o
23029 # files that make .init and .fini sections work.
23030 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
23032 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
23034 hardcode_libdir_flag_spec_F77
='-L$libdir'
23035 hardcode_direct_F77
=yes
23036 hardcode_minus_L_F77
=yes
23037 hardcode_shlibpath_var_F77
=no
23041 case $host_vendor in
23043 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23044 hardcode_direct_F77
=yes # is this really true???
23047 ## LD is ld it makes a PLAMLIB
23048 ## CC just makes a GrossModule.
23049 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
23050 reload_cmds_F77
='$CC -r -o $output$reload_objs'
23051 hardcode_direct_F77
=no
23054 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23055 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
23058 runpath_var
='LD_RUN_PATH'
23059 hardcode_shlibpath_var_F77
=no
23063 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23064 hardcode_shlibpath_var_F77
=no
23065 export_dynamic_flag_spec_F77
='-Bexport'
23069 if test -d /usr
/nec
; then
23070 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23071 hardcode_shlibpath_var_F77
=no
23072 runpath_var
=LD_RUN_PATH
23073 hardcode_runpath_var
=yes
23078 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
23079 no_undefined_flag_F77
='${wl}-z,text'
23080 archive_cmds_need_lc_F77
=no
23081 hardcode_shlibpath_var_F77
=no
23082 runpath_var
='LD_RUN_PATH'
23084 if test "$GCC" = yes; then
23085 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23086 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23088 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23089 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23093 sysv5
* | sco3.2v5
* | sco5v6
*)
23094 # Note: We can NOT use -z defs as we might desire, because we do not
23095 # link with -lc, and that would cause any symbols used from libc to
23096 # always be unresolved, which means just about no library would
23097 # ever link correctly. If we're not using GNU ld we use -z text
23098 # though, which does catch some bad symbols but isn't as heavy-handed
23100 no_undefined_flag_F77
='${wl}-z,text'
23101 allow_undefined_flag_F77
='${wl}-z,nodefs'
23102 archive_cmds_need_lc_F77
=no
23103 hardcode_shlibpath_var_F77
=no
23104 hardcode_libdir_flag_spec_F77
='${wl}-R,$libdir'
23105 hardcode_libdir_separator_F77
=':'
23106 link_all_deplibs_F77
=yes
23107 export_dynamic_flag_spec_F77
='${wl}-Bexport'
23108 runpath_var
='LD_RUN_PATH'
23110 if test "$GCC" = yes; then
23111 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23112 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23114 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23115 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23120 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23121 hardcode_libdir_flag_spec_F77
='-L$libdir'
23122 hardcode_shlibpath_var_F77
=no
23130 if test x
$host_vendor = xsni
; then
23132 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
23133 export_dynamic_flag_spec_F77
='${wl}-Blargedynsym'
23139 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
23140 $as_echo "$ld_shlibs_F77" >&6; }
23141 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
23143 with_gnu_ld_F77
=$with_gnu_ld
23151 # Do we need to explicitly link libc?
23153 case "x$archive_cmds_need_lc_F77" in
23155 # Assume -lc should be added
23156 archive_cmds_need_lc_F77
=yes
23158 if test "$enable_shared" = yes && test "$GCC" = yes; then
23159 case $archive_cmds_F77 in
23161 # FIXME: we may have to deal with multi-command sequences.
23164 # Test whether the compiler implicitly links with -lc since on some
23165 # systems, -lgcc has to come before -lc. If gcc already passes -lc
23166 # to ld, don't add -lc before -lgcc.
23167 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
23168 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
23170 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
23172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23173 (eval $ac_compile) 2>&5
23175 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23176 (exit $ac_status); } 2>conftest.err
; then
23179 libobjs
=conftest.
$ac_objext
23181 wl
=$lt_prog_compiler_wl_F77
23182 pic_flag
=$lt_prog_compiler_pic_F77
23188 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
23189 allow_undefined_flag_F77
=
23190 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
23191 (eval $archive_cmds_F77 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
23193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23194 (exit $ac_status); }
23196 archive_cmds_need_lc_F77
=no
23198 archive_cmds_need_lc_F77
=yes
23200 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
23202 cat conftest.err
1>&5
23205 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
23206 $as_echo "$archive_cmds_need_lc_F77" >&6; }
23276 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
23277 $as_echo_n "checking dynamic linker characteristics... " >&6; }
23279 library_names_spec
=
23280 libname_spec
='lib$name'
23284 postuninstall_cmds
=
23288 shlibpath_overrides_runpath
=unknown
23290 dynamic_linker
="$host_os ld.so"
23291 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
23292 need_lib_prefix
=unknown
23293 hardcode_into_libs
=no
23295 # when you set need_version to no, make sure it does not cause -set_version
23296 # flags to be left without arguments
23297 need_version
=unknown
23302 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
23303 shlibpath_var
=LIBPATH
23305 # AIX 3 has no versioning support, so we append a major version to the name.
23306 soname_spec
='${libname}${release}${shared_ext}$major'
23313 hardcode_into_libs
=yes
23314 if test "$host_cpu" = ia64
; then
23315 # AIX 5 supports IA64
23316 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
23317 shlibpath_var
=LD_LIBRARY_PATH
23319 # With GCC up to 2.95.x, collect2 would create an import file
23320 # for dependence libraries. The import file would start with
23321 # the line `#! .'. This would cause the generated library to
23322 # depend on `.', always an invalid library. This was fixed in
23323 # development snapshots of GCC prior to 3.0.
23325 aix4 | aix4.
[01] | aix4.
[01].
*)
23326 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
23328 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
23331 can_build_shared
=no
23335 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
23336 # soname into executable. Probably we can add versioning support to
23337 # collect2, so additional links can be useful in future.
23338 if test "$aix_use_runtimelinking" = yes; then
23339 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
23340 # instead of lib<name>.a to let people know that these are not
23341 # typical AIX shared libraries.
23342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23344 # We preserve .a as extension for shared libraries through AIX4.2
23345 # and later when we are not doing run time linking.
23346 library_names_spec
='${libname}${release}.a $libname.a'
23347 soname_spec
='${libname}${release}${shared_ext}$major'
23349 shlibpath_var
=LIBPATH
23354 if test "$host_cpu" = m68k
; then
23355 library_names_spec
='$libname.ixlibrary $libname.a'
23356 # Create ${libname}_ixlibrary.a entries in /sys/libs.
23357 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'
23364 library_names_spec
='${libname}${shared_ext}'
23365 dynamic_linker
="$host_os ld.so"
23366 shlibpath_var
=LIBRARY_PATH
23372 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23373 soname_spec
='${libname}${release}${shared_ext}$major'
23374 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
23375 shlibpath_var
=LD_LIBRARY_PATH
23376 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
23377 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
23378 # the default ld.so.conf also contains /usr/contrib/lib and
23379 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
23380 # libtool to hard-code these into programs
23383 cygwin
* | mingw
* | pw32
*)
23384 version_type
=windows
23389 case $GCC,$host_os in
23390 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
23391 library_names_spec
='$libname.dll.a'
23392 # DLL is installed to $(libdir)/../bin by postinstall_cmds
23393 postinstall_cmds
='base_file=`basename \${file}`~
23394 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
23395 dldir=$destdir/`dirname \$dlpath`~
23396 test -d \$dldir || mkdir -p \$dldir~
23397 $install_prog $dir/$dlname \$dldir/$dlname~
23398 chmod a+x \$dldir/$dlname~
23399 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
23400 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
23402 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
23403 dlpath=$dir/\$dldll~
23405 shlibpath_overrides_runpath
=yes
23409 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
23410 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23411 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
23414 # MinGW DLLs use traditional 'lib' prefix
23415 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23416 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
23417 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
23418 # It is most probably a Windows format PATH printed by
23419 # mingw gcc, but we are running on Cygwin. Gcc prints its search
23420 # path with ; separators, and with drive letters. We can handle the
23421 # drive letters (cygwin fileutils understands them), so leave them,
23422 # especially as we might pass files found there to a mingw objdump,
23423 # which wouldn't understand a cygwinified path. Ahh.
23424 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
23426 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
23430 # pw32 DLLs use 'pw' prefix rather than 'lib'
23431 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
23437 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
23440 dynamic_linker
='Win32 ld.exe'
23441 # FIXME: first we should search . and the directory the executable is in
23445 darwin
* | rhapsody
*)
23446 dynamic_linker
="$host_os dyld"
23447 version_type
=darwin
23450 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
23451 soname_spec
='${libname}${release}${major}$shared_ext'
23452 shlibpath_overrides_runpath
=yes
23453 shlibpath_var
=DYLD_LIBRARY_PATH
23454 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
23456 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
23463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
23464 soname_spec
='${libname}${release}${shared_ext}$major'
23465 shlibpath_var
=LD_LIBRARY_PATH
23472 freebsd
* | dragonfly
*)
23473 # DragonFly does not have aout. When/if they implement a new
23474 # versioning mechanism, adjust this.
23475 if test -x /usr
/bin
/objformat
; then
23476 objformat
=`/usr/bin/objformat`
23479 freebsd
[123]*) objformat
=aout
;;
23480 *) objformat
=elf
;;
23483 version_type
=freebsd-
$objformat
23484 case $version_type in
23486 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23491 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
23495 shlibpath_var
=LD_LIBRARY_PATH
23498 shlibpath_overrides_runpath
=yes
23500 freebsd3.
[01]* | freebsdelf3.
[01]*)
23501 shlibpath_overrides_runpath
=yes
23502 hardcode_into_libs
=yes
23504 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
23505 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
23506 shlibpath_overrides_runpath
=no
23507 hardcode_into_libs
=yes
23509 *) # from 4.6 on, and DragonFly
23510 shlibpath_overrides_runpath
=yes
23511 hardcode_into_libs
=yes
23520 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
23521 soname_spec
='${libname}${release}${shared_ext}$major'
23522 shlibpath_var
=LD_LIBRARY_PATH
23523 hardcode_into_libs
=yes
23526 hpux9
* | hpux10
* | hpux11
*)
23527 # Give a soname corresponding to the major version so that dld.sl refuses to
23528 # link against other versions.
23535 hardcode_into_libs
=yes
23536 dynamic_linker
="$host_os dld.so"
23537 shlibpath_var
=LD_LIBRARY_PATH
23538 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
23539 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23540 soname_spec
='${libname}${release}${shared_ext}$major'
23541 if test "X$HPUX_IA64_MODE" = X32
; then
23542 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
23544 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
23546 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
23550 hardcode_into_libs
=yes
23551 dynamic_linker
="$host_os dld.sl"
23552 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
23553 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
23554 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23555 soname_spec
='${libname}${release}${shared_ext}$major'
23556 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
23557 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
23561 dynamic_linker
="$host_os dld.sl"
23562 shlibpath_var
=SHLIB_PATH
23563 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
23564 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23565 soname_spec
='${libname}${release}${shared_ext}$major'
23568 # HP-UX runs *really* slowly unless shared libraries are mode 555.
23569 postinstall_cmds
='chmod 555 $lib'
23576 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23577 soname_spec
='${libname}${release}${shared_ext}$major'
23578 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
23579 shlibpath_var
=LD_LIBRARY_PATH
23580 shlibpath_overrides_runpath
=no
23581 hardcode_into_libs
=yes
23584 irix5
* | irix6
* | nonstopux
*)
23586 nonstopux
*) version_type
=nonstopux
;;
23588 if test "$lt_cv_prog_gnu_ld" = yes; then
23596 soname_spec
='${libname}${release}${shared_ext}$major'
23597 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
23599 irix5
* | nonstopux
*)
23600 libsuff
= shlibsuff
=
23603 case $LD in # libtool.m4 will add one of these switches to LD
23604 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
23605 libsuff
= shlibsuff
= libmagic
=32-bit;;
23606 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
23607 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
23608 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
23609 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
23610 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
23614 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
23615 shlibpath_overrides_runpath
=no
23616 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
23617 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
23618 hardcode_into_libs
=yes
23621 # No shared lib support for Linux oldld, aout, or coff.
23622 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
23626 # This must be Linux ELF.
23627 linux
* | k
*bsd
*-gnu)
23631 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23632 soname_spec
='${libname}${release}${shared_ext}$major'
23633 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
23634 shlibpath_var
=LD_LIBRARY_PATH
23635 shlibpath_overrides_runpath
=no
23636 # Some binutils ld are patched to set DT_RUNPATH
23637 save_LDFLAGS
=$LDFLAGS
23638 save_libdir
=$libdir
23639 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_F77\"; \
23640 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_F77\""
23641 cat >conftest.
$ac_ext <<_ACEOF
23646 rm -f conftest.
$ac_objext conftest
$ac_exeext
23647 if { (ac_try
="$ac_link"
23648 case "(($ac_try" in
23649 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23650 *) ac_try_echo=$ac_try;;
23652 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23653 $as_echo "$ac_try_echo") >&5
23654 (eval "$ac_link") 2>conftest.er1
23656 grep -v '^ *+' conftest.er1 >conftest.err
23658 cat conftest.err >&5
23659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23660 (exit $ac_status); } && {
23661 test -z "$ac_f77_werror_flag" ||
23662 test ! -s conftest.err
23663 } && test -s conftest$ac_exeext && {
23664 test "$cross_compiling" = yes ||
23665 $as_test_x conftest$ac_exeext
23667 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
23668 shlibpath_overrides_runpath=yes
23672 $as_echo "$as_me: failed program was:" >&5
23673 sed 's/^/| /' conftest.$ac_ext >&5
23678 rm -rf conftest.dSYM
23679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23680 conftest$ac_exeext conftest.$ac_ext
23681 LDFLAGS=$save_LDFLAGS
23682 libdir=$save_libdir
23684 # This implies no fast_install, which is unacceptable.
23685 # Some rework will be needed to allow for fast_install
23686 # before this can be enabled.
23687 hardcode_into_libs=yes
23689 # Append ld.so.conf contents to the search path
23690 if test -f /etc/ld.so.conf; then
23691 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' ' '`
23692 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
23695 # We used to test for /lib/ld.so.1 and disable shared libraries on
23696 # powerpc, because MkLinux only supported shared libraries with the
23697 # GNU dynamic linker. Since this was broken with cross compilers,
23698 # most powerpc-linux boxes support dynamic linking these days and
23699 # people can always --disable-shared, the test was removed, and we
23700 # assume the GNU/Linux dynamic linker is in use.
23701 dynamic_linker='GNU/Linux ld.so'
23708 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
23709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23710 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23711 dynamic_linker='NetBSD (a.out) ld.so'
23713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
23714 soname_spec='${libname}${release}${shared_ext}$major'
23715 dynamic_linker='NetBSD ld.elf_so'
23717 shlibpath_var=LD_LIBRARY_PATH
23718 shlibpath_overrides_runpath=yes
23719 hardcode_into_libs=yes
23724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23725 shlibpath_var=LD_LIBRARY_PATH
23726 shlibpath_overrides_runpath=yes
23733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23734 soname_spec='${libname}${release}${shared_ext}$major'
23735 shlibpath_var=LD_LIBRARY_PATH
23736 shlibpath_overrides_runpath=no
23737 hardcode_into_libs=yes
23738 dynamic_linker='ldqnx.so'
23743 sys_lib_dlsearch_path_spec="/usr/lib"
23745 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
23747 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
23748 *) need_version=no ;;
23750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23751 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23752 shlibpath_var=LD_LIBRARY_PATH
23753 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
23755 openbsd2.[89] | openbsd2.[89].*)
23756 shlibpath_overrides_runpath=no
23759 shlibpath_overrides_runpath=yes
23763 shlibpath_overrides_runpath=yes
23768 libname_spec='$name'
23771 library_names_spec='$libname${shared_ext} $libname.a'
23772 dynamic_linker='OS/2 ld.exe'
23773 shlibpath_var=LIBPATH
23776 osf3* | osf4* | osf5*)
23780 soname_spec='${libname}${release}${shared_ext}$major'
23781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23782 shlibpath_var=LD_LIBRARY_PATH
23783 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
23784 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
23795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23796 soname_spec='${libname}${release}${shared_ext}$major'
23797 shlibpath_var=LD_LIBRARY_PATH
23798 shlibpath_overrides_runpath=yes
23799 hardcode_into_libs=yes
23800 # ldd complains unless libraries are executable
23801 postinstall_cmds='chmod +x $lib'
23806 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
23807 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
23808 shlibpath_var=LD_LIBRARY_PATH
23809 shlibpath_overrides_runpath=yes
23810 if test "$with_gnu_ld" = yes; then
23818 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23819 soname_spec='${libname}${release}${shared_ext}$major'
23820 shlibpath_var=LD_LIBRARY_PATH
23821 case $host_vendor in
23823 shlibpath_overrides_runpath=no
23825 runpath_var=LD_RUN_PATH
23833 shlibpath_overrides_runpath=no
23834 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
23840 if test -d /usr/nec ;then
23842 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
23843 soname_spec='$libname${shared_ext}.$major'
23844 shlibpath_var=LD_LIBRARY_PATH
23848 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
23849 version_type=freebsd-elf
23852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
23853 soname_spec='${libname}${release}${shared_ext}$major'
23854 shlibpath_var=LD_LIBRARY_PATH
23855 shlibpath_overrides_runpath=yes
23856 hardcode_into_libs=yes
23857 if test "$with_gnu_ld" = yes; then
23858 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
23860 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
23863 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
23867 sys_lib_dlsearch_path_spec='/usr/lib'
23871 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
23875 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23876 shlibpath_var=LD_LIBRARY_PATH
23877 shlibpath_overrides_runpath=no
23878 hardcode_into_libs=yes
23883 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
23884 soname_spec='${libname}${release}${shared_ext}$major'
23885 shlibpath_var=LD_LIBRARY_PATH
23892 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
23893 $as_echo "$dynamic_linker" >&6; }
23894 test "$dynamic_linker" = no && can_build_shared=no
23896 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
23897 if test "$GCC" = yes; then
23898 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
23901 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
23902 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
23904 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
23905 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
23943 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
23944 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
23945 hardcode_action_F77=
23946 if test -n "$hardcode_libdir_flag_spec_F77" ||
23947 test -n "$runpath_var_F77" ||
23948 test "X$hardcode_automatic_F77" = "Xyes" ; then
23950 # We can hardcode non-existent directories.
23951 if test "$hardcode_direct_F77" != no &&
23952 # If the only mechanism to avoid hardcoding is shlibpath_var, we
23953 # have to relink, otherwise we might link with an installed library
23954 # when we should be linking with a yet-to-be-installed one
23955 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
23956 test "$hardcode_minus_L_F77" != no; then
23957 # Linking always hardcodes the temporary library directory.
23958 hardcode_action_F77=relink
23960 # We can link without hardcoding, and we can hardcode nonexisting dirs.
23961 hardcode_action_F77=immediate
23964 # We cannot hardcode anything, or else we can only hardcode existing
23966 hardcode_action_F77=unsupported
23968 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
23969 $as_echo "$hardcode_action_F77" >&6; }
23971 if test "$hardcode_action_F77" = relink ||
23972 test "$inherit_rpath_F77" = yes; then
23973 # Fast installation is not supported
23974 enable_fast_install=no
23975 elif test "$shlibpath_overrides_runpath" = yes ||
23976 test "$enable_shared" = no; then
23977 # Fast installation is not necessary
23978 enable_fast_install=needless
23987 fi # test -n "$compiler"
23991 fi # test "$_lt_disable_F77" != yes
23994 ac_cpp='$CPP $CPPFLAGS'
23995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24009 ac_config_commands="$ac_config_commands libtool"
24014 # Only expand once:
24020 { $as_echo "$as_me:$LINENO: checking whether gcc __attribute__ ((mode (XX))) works" >&5
24021 $as_echo_n "checking whether gcc __attribute__ ((mode (XX))) works... " >&6; }
24022 if test "${gmp_cv_c_attribute_mode+set}" = set; then
24023 $as_echo_n "(cached) " >&6
24025 cat >conftest.$ac_ext <<_ACEOF
24028 cat confdefs.h >>conftest.$ac_ext
24029 cat >>conftest.$ac_ext <<_ACEOF
24030 /* end confdefs.h. */
24031 typedef int SItype __attribute__ ((mode (SI)));
24040 rm -f conftest.$ac_objext
24041 if { (ac_try="$ac_compile"
24042 case "(($ac_try" in
24043 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24044 *) ac_try_echo
=$ac_try;;
24046 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
24047 $as_echo "$ac_try_echo") >&5
24048 (eval "$ac_compile") 2>conftest.er1
24050 grep -v '^ *+' conftest.er1
>conftest.err
24052 cat conftest.err
>&5
24053 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24054 (exit $ac_status); } && {
24055 test -z "$ac_c_werror_flag" ||
24056 test ! -s conftest.err
24057 } && test -s conftest.
$ac_objext; then
24058 gmp_cv_c_attribute_mode
=yes
24060 $as_echo "$as_me: failed program was:" >&5
24061 sed 's/^/| /' conftest.
$ac_ext >&5
24063 gmp_cv_c_attribute_mode
=no
24066 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24069 { $as_echo "$as_me:$LINENO: result: $gmp_cv_c_attribute_mode" >&5
24070 $as_echo "$gmp_cv_c_attribute_mode" >&6; }
24071 if test $gmp_cv_c_attribute_mode = yes; then
24073 cat >>confdefs.h
<<\_ACEOF
24074 #define HAVE_ATTRIBUTE_MODE 1
24082 { $as_echo "$as_me:$LINENO: checking for recent GMP" >&5
24083 $as_echo_n "checking for recent GMP... " >&6; }
24084 cat >conftest.
$ac_ext <<_ACEOF
24087 cat confdefs.h
>>conftest.
$ac_ext
24088 cat >>conftest.
$ac_ext <<_ACEOF
24089 /* end confdefs.h. */
24092 #if (__GNU_MP_VERSION*100+__GNU_MP_VERSION_MINOR*10 < 410)
24093 # error "min GMP version is 4.1.0"
24098 rm -f conftest.
$ac_objext
24099 if { (ac_try
="$ac_compile"
24100 case "(($ac_try" in
24101 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24102 *) ac_try_echo=$ac_try;;
24104 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24105 $as_echo "$ac_try_echo") >&5
24106 (eval "$ac_compile") 2>conftest.er1
24108 grep -v '^ *+' conftest.er1 >conftest.err
24110 cat conftest.err >&5
24111 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24112 (exit $ac_status); } && {
24113 test -z "$ac_c_werror_flag" ||
24114 test ! -s conftest.err
24115 } && test -s conftest.$ac_objext; then
24116 { $as_echo "$as_me:$LINENO: result: yes" >&5
24117 $as_echo "yes" >&6; }
24119 $as_echo "$as_me: failed program was:" >&5
24120 sed 's/^/| /' conftest.$ac_ext >&5
24123 { $as_echo "$as_me:$LINENO: result: no" >&5
24124 $as_echo "no" >&6; }
24125 { { $as_echo "$as_me:$LINENO: error: GMP 4.1.0 min required" >&5
24126 $as_echo "$as_me: error: GMP 4.1.0 min required" >&2;}
24127 { (exit 1); exit 1; }; }
24131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24133 { $as_echo "$as_me:$LINENO: checking for gmp internal files" >&5
24134 $as_echo_n "checking for gmp internal files... " >&6; }
24135 cat >conftest.$ac_ext <<_ACEOF
24138 cat confdefs.h >>conftest.$ac_ext
24139 cat >>conftest.$ac_ext <<_ACEOF
24140 /* end confdefs.h. */
24143 #include "gmp-impl.h"
24144 #include "longlong.h"
24147 rm -f conftest.$ac_objext
24148 if { (ac_try="$ac_compile"
24149 case "(($ac_try" in
24150 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24151 *) ac_try_echo
=$ac_try;;
24153 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
24154 $as_echo "$ac_try_echo") >&5
24155 (eval "$ac_compile") 2>conftest.er1
24157 grep -v '^ *+' conftest.er1
>conftest.err
24159 cat conftest.err
>&5
24160 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24161 (exit $ac_status); } && {
24162 test -z "$ac_c_werror_flag" ||
24163 test ! -s conftest.err
24164 } && test -s conftest.
$ac_objext; then
24166 { $as_echo "$as_me:$LINENO: result: yes" >&5
24167 $as_echo "yes" >&6; }
24169 cat >>confdefs.h
<<\_ACEOF
24170 #define MPFR_HAVE_GMP_IMPL 1
24173 gmp_internal_file_check
=yes
24176 $as_echo "$as_me: failed program was:" >&5
24177 sed 's/^/| /' conftest.
$ac_ext >&5
24180 { $as_echo "$as_me:$LINENO: result: no" >&5
24181 $as_echo "no" >&6; }
24182 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
24183 # for constant arguments. Useless!
24184 { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
24185 $as_echo_n "checking for working alloca.h... " >&6; }
24186 if test "${ac_cv_working_alloca_h+set}" = set; then
24187 $as_echo_n "(cached) " >&6
24189 cat >conftest.
$ac_ext <<_ACEOF
24192 cat confdefs.h
>>conftest.
$ac_ext
24193 cat >>conftest.
$ac_ext <<_ACEOF
24194 /* end confdefs.h. */
24195 #include <alloca.h>
24199 char *p = (char *) alloca (2 * sizeof (int));
24205 rm -f conftest.
$ac_objext conftest
$ac_exeext
24206 if { (ac_try
="$ac_link"
24207 case "(($ac_try" in
24208 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24209 *) ac_try_echo=$ac_try;;
24211 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24212 $as_echo "$ac_try_echo") >&5
24213 (eval "$ac_link") 2>conftest.er1
24215 grep -v '^ *+' conftest.er1 >conftest.err
24217 cat conftest.err >&5
24218 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24219 (exit $ac_status); } && {
24220 test -z "$ac_c_werror_flag" ||
24221 test ! -s conftest.err
24222 } && test -s conftest$ac_exeext && {
24223 test "$cross_compiling" = yes ||
24224 $as_test_x conftest$ac_exeext
24226 ac_cv_working_alloca_h=yes
24228 $as_echo "$as_me: failed program was:" >&5
24229 sed 's/^/| /' conftest.$ac_ext >&5
24231 ac_cv_working_alloca_h=no
24234 rm -rf conftest.dSYM
24235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24236 conftest$ac_exeext conftest.$ac_ext
24238 { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
24239 $as_echo "$ac_cv_working_alloca_h" >&6; }
24240 if test $ac_cv_working_alloca_h = yes; then
24242 cat >>confdefs.h <<\_ACEOF
24243 #define HAVE_ALLOCA_H 1
24248 { $as_echo "$as_me:$LINENO: checking for alloca" >&5
24249 $as_echo_n "checking for alloca... " >&6; }
24250 if test "${ac_cv_func_alloca_works+set}" = set; then
24251 $as_echo_n "(cached) " >&6
24253 cat >conftest.$ac_ext <<_ACEOF
24256 cat confdefs.h >>conftest.$ac_ext
24257 cat >>conftest.$ac_ext <<_ACEOF
24258 /* end confdefs.h. */
24260 # define alloca __builtin_alloca
24263 # include <malloc.h>
24264 # define alloca _alloca
24266 # ifdef HAVE_ALLOCA_H
24267 # include <alloca.h>
24272 # ifndef alloca /* predefined by HP cc +Olibcalls */
24283 char *p = (char *) alloca (1);
24289 rm -f conftest.$ac_objext conftest$ac_exeext
24290 if { (ac_try="$ac_link"
24291 case "(($ac_try" in
24292 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24293 *) ac_try_echo
=$ac_try;;
24295 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
24296 $as_echo "$ac_try_echo") >&5
24297 (eval "$ac_link") 2>conftest.er1
24299 grep -v '^ *+' conftest.er1
>conftest.err
24301 cat conftest.err
>&5
24302 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24303 (exit $ac_status); } && {
24304 test -z "$ac_c_werror_flag" ||
24305 test ! -s conftest.err
24306 } && test -s conftest
$ac_exeext && {
24307 test "$cross_compiling" = yes ||
24308 $as_test_x conftest
$ac_exeext
24310 ac_cv_func_alloca_works
=yes
24312 $as_echo "$as_me: failed program was:" >&5
24313 sed 's/^/| /' conftest.
$ac_ext >&5
24315 ac_cv_func_alloca_works
=no
24318 rm -rf conftest.dSYM
24319 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24320 conftest
$ac_exeext conftest.
$ac_ext
24322 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
24323 $as_echo "$ac_cv_func_alloca_works" >&6; }
24325 if test $ac_cv_func_alloca_works = yes; then
24327 cat >>confdefs.h
<<\_ACEOF
24328 #define HAVE_ALLOCA 1
24332 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
24333 # that cause trouble. Some versions do not even contain alloca or
24334 # contain a buggy version. If you still want to use their alloca,
24335 # use ar to extract alloca.o from them instead of compiling alloca.c.
24337 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
24339 cat >>confdefs.h
<<\_ACEOF
24344 { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
24345 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
24346 if test "${ac_cv_os_cray+set}" = set; then
24347 $as_echo_n "(cached) " >&6
24349 cat >conftest.
$ac_ext <<_ACEOF
24352 cat confdefs.h
>>conftest.
$ac_ext
24353 cat >>conftest.
$ac_ext <<_ACEOF
24354 /* end confdefs.h. */
24355 #if defined CRAY && ! defined CRAY2
24362 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24363 $EGREP "webecray" >/dev
/null
2>&1; then
24371 { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
24372 $as_echo "$ac_cv_os_cray" >&6; }
24373 if test $ac_cv_os_cray = yes; then
24374 for ac_func
in _getb67 GETB67 getb67
; do
24375 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24376 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
24377 $as_echo_n "checking for $ac_func... " >&6; }
24378 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24379 $as_echo_n "(cached) " >&6
24381 cat >conftest.
$ac_ext <<_ACEOF
24384 cat confdefs.h
>>conftest.
$ac_ext
24385 cat >>conftest.
$ac_ext <<_ACEOF
24386 /* end confdefs.h. */
24387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24389 #define $ac_func innocuous_$ac_func
24391 /* System header to define __stub macros and hopefully few prototypes,
24392 which can conflict with char $ac_func (); below.
24393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24394 <limits.h> exists even on freestanding compilers. */
24397 # include <limits.h>
24399 # include <assert.h>
24404 /* Override any GCC internal prototype to avoid an error.
24405 Use char because int might match the return type of a GCC
24406 builtin and then its argument prototype would still apply. */
24411 /* The GNU C library defines this for functions which it implements
24412 to always fail with ENOSYS. Some functions are actually named
24413 something starting with __ and the normal name is an alias. */
24414 #if defined __stub_$ac_func || defined __stub___$ac_func
24421 return $ac_func ();
24426 rm -f conftest.
$ac_objext conftest
$ac_exeext
24427 if { (ac_try
="$ac_link"
24428 case "(($ac_try" in
24429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24430 *) ac_try_echo=$ac_try;;
24432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24433 $as_echo "$ac_try_echo") >&5
24434 (eval "$ac_link") 2>conftest.er1
24436 grep -v '^ *+' conftest.er1 >conftest.err
24438 cat conftest.err >&5
24439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440 (exit $ac_status); } && {
24441 test -z "$ac_c_werror_flag" ||
24442 test ! -s conftest.err
24443 } && test -s conftest$ac_exeext && {
24444 test "$cross_compiling" = yes ||
24445 $as_test_x conftest$ac_exeext
24447 eval "$as_ac_var=yes"
24449 $as_echo "$as_me: failed program was:" >&5
24450 sed 's/^/| /' conftest.$ac_ext >&5
24452 eval "$as_ac_var=no"
24455 rm -rf conftest.dSYM
24456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24457 conftest$ac_exeext conftest.$ac_ext
24459 ac_res=`eval 'as_val=${'$as_ac_var'}
24460 $as_echo "$as_val"'`
24461 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24462 $as_echo "$ac_res" >&6; }
24463 as_val=`eval 'as_val=${'$as_ac_var'}
24464 $as_echo "$as_val"'`
24465 if test "x$as_val" = x""yes; then
24467 cat >>confdefs.h <<_ACEOF
24468 #define CRAY_STACKSEG_END $ac_func
24477 { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
24478 $as_echo_n "checking stack direction for C alloca... " >&6; }
24479 if test "${ac_cv_c_stack_direction+set}" = set; then
24480 $as_echo_n "(cached) " >&6
24482 if test "$cross_compiling" = yes; then
24483 ac_cv_c_stack_direction=0
24485 cat >conftest.$ac_ext <<_ACEOF
24488 cat confdefs.h >>conftest.$ac_ext
24489 cat >>conftest.$ac_ext <<_ACEOF
24490 /* end confdefs.h. */
24491 $ac_includes_default
24493 find_stack_direction ()
24495 static char *addr = 0;
24500 return find_stack_direction ();
24503 return (&dummy > addr) ? 1 : -1;
24509 return find_stack_direction () < 0;
24512 rm -f conftest$ac_exeext
24513 if { (ac_try="$ac_link"
24514 case "(($ac_try" in
24515 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24516 *) ac_try_echo
=$ac_try;;
24518 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
24519 $as_echo "$ac_try_echo") >&5
24520 (eval "$ac_link") 2>&5
24522 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24523 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24524 { (case "(($ac_try" in
24525 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24526 *) ac_try_echo=$ac_try;;
24528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24529 $as_echo "$ac_try_echo") >&5
24530 (eval "$ac_try") 2>&5
24532 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24533 (exit $ac_status); }; }; then
24534 ac_cv_c_stack_direction=1
24536 $as_echo "$as_me: program exited with status $ac_status" >&5
24537 $as_echo "$as_me: failed program was:" >&5
24538 sed 's/^/| /' conftest.$ac_ext >&5
24540 ( exit $ac_status )
24541 ac_cv_c_stack_direction=-1
24543 rm -rf conftest.dSYM
24544 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24549 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
24550 $as_echo "$ac_cv_c_stack_direction" >&6; }
24552 cat >>confdefs.h <<_ACEOF
24553 #define STACK_DIRECTION $ac_cv_c_stack_direction
24562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24564 if test -n "$gmp_internal_file_check" ; then
24565 { $as_echo "$as_me:$LINENO: checking for valid BITS_PER_MP_LIMB and BYTES_PER_MP_LIMB" >&5
24566 $as_echo_n "checking for valid BITS_PER_MP_LIMB and BYTES_PER_MP_LIMB... " >&6; }
24567 if test "$cross_compiling" = yes; then
24568 { $as_echo "$as_me:$LINENO: result: can't test" >&5
24569 $as_echo "can't test" >&6; }
24571 cat >conftest.$ac_ext <<_ACEOF
24574 cat confdefs.h >>conftest.$ac_ext
24575 cat >>conftest.$ac_ext <<_ACEOF
24576 /* end confdefs.h. */
24578 #include <limits.h>
24580 #include "gmp-impl.h"
24586 return BITS_PER_MP_LIMB == BYTES_PER_MP_LIMB * CHAR_BIT
24587 && sizeof(mp_limb_t) == BYTES_PER_MP_LIMB ? 0 : 1;
24593 rm -f conftest$ac_exeext
24594 if { (ac_try="$ac_link"
24595 case "(($ac_try" in
24596 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24597 *) ac_try_echo
=$ac_try;;
24599 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
24600 $as_echo "$ac_try_echo") >&5
24601 (eval "$ac_link") 2>&5
24603 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24604 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24605 { (case "(($ac_try" in
24606 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24607 *) ac_try_echo=$ac_try;;
24609 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24610 $as_echo "$ac_try_echo") >&5
24611 (eval "$ac_try") 2>&5
24613 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24614 (exit $ac_status); }; }; then
24615 { $as_echo "$as_me:$LINENO: result: yes" >&5
24616 $as_echo "yes" >&6; }
24618 $as_echo "$as_me: program exited with status $ac_status" >&5
24619 $as_echo "$as_me: failed program was:" >&5
24620 sed 's/^/| /' conftest.$ac_ext >&5
24622 ( exit $ac_status )
24624 { $as_echo "$as_me:$LINENO: result: no" >&5
24625 $as_echo "no" >&6; }
24626 { { $as_echo "$as_me:$LINENO: error: BITS_PER_MP_LIMB or BYTES_PER_MP_LIMB are incorrect.
24627 You probably need to change some of the GMP or MPFR compile options." >&5
24628 $as_echo "$as_me: error: BITS_PER_MP_LIMB or BYTES_PER_MP_LIMB are incorrect.
24629 You probably need to change some of the GMP or MPFR compile options." >&2;}
24630 { (exit 1); exit 1; }; }
24632 rm -rf conftest.dSYM
24633 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24640 if test "$dont_link_with_gmp" = yes ; then
24644 { $as_echo "$as_me:$LINENO: checking for __gmpz_init in -lgmp" >&5
24645 $as_echo_n "checking for __gmpz_init in -lgmp... " >&6; }
24646 if test "${ac_cv_lib_gmp___gmpz_init+set}" = set; then
24647 $as_echo_n "(cached) " >&6
24649 ac_check_lib_save_LIBS=$LIBS
24651 cat >conftest.$ac_ext <<_ACEOF
24654 cat confdefs.h >>conftest.$ac_ext
24655 cat >>conftest.$ac_ext <<_ACEOF
24656 /* end confdefs.h. */
24658 /* Override any GCC internal prototype to avoid an error.
24659 Use char because int might match the return type of a GCC
24660 builtin and then its argument prototype would still apply. */
24664 char __gmpz_init ();
24668 return __gmpz_init ();
24673 rm -f conftest.$ac_objext conftest$ac_exeext
24674 if { (ac_try="$ac_link"
24675 case "(($ac_try" in
24676 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24677 *) ac_try_echo
=$ac_try;;
24679 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
24680 $as_echo "$ac_try_echo") >&5
24681 (eval "$ac_link") 2>conftest.er1
24683 grep -v '^ *+' conftest.er1
>conftest.err
24685 cat conftest.err
>&5
24686 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24687 (exit $ac_status); } && {
24688 test -z "$ac_c_werror_flag" ||
24689 test ! -s conftest.err
24690 } && test -s conftest
$ac_exeext && {
24691 test "$cross_compiling" = yes ||
24692 $as_test_x conftest
$ac_exeext
24694 ac_cv_lib_gmp___gmpz_init
=yes
24696 $as_echo "$as_me: failed program was:" >&5
24697 sed 's/^/| /' conftest.
$ac_ext >&5
24699 ac_cv_lib_gmp___gmpz_init
=no
24702 rm -rf conftest.dSYM
24703 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24704 conftest
$ac_exeext conftest.
$ac_ext
24705 LIBS
=$ac_check_lib_save_LIBS
24707 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gmp___gmpz_init" >&5
24708 $as_echo "$ac_cv_lib_gmp___gmpz_init" >&6; }
24709 if test "x$ac_cv_lib_gmp___gmpz_init" = x
""yes; then
24712 { { $as_echo "$as_me:$LINENO: error: libgmp not found or uses a different ABI.
24713 Please read the INSTALL file -- see \"In case of problem\"." >&5
24714 $as_echo "$as_me: error: libgmp not found or uses a different ABI.
24715 Please read the INSTALL file -- see \"In case of problem\"." >&2;}
24716 { (exit 1); exit 1; }; }
24720 { $as_echo "$as_me:$LINENO: checking if gmp.h version and libgmp version are the same" >&5
24721 $as_echo_n "checking if gmp.h version and libgmp version are the same... " >&6; }
24722 saved_LD_RUN_PATH
="$LD_RUN_PATH"
24723 LD_RUN_PATH
="${LD_RUN_PATH:+$LD_RUN_PATH$PATH_SEPARATOR}$gmp_lib_path"
24725 if test "$cross_compiling" = yes; then
24726 { $as_echo "$as_me:$LINENO: result: can not test" >&5
24727 $as_echo "can not test" >&6; }
24730 cat >conftest.
$ac_ext <<_ACEOF
24733 cat confdefs.h
>>conftest.
$ac_ext
24734 cat >>conftest.
$ac_ext <<_ACEOF
24735 /* end confdefs.h. */
24738 #include <string.h>
24746 sprintf (buffer, "%d.%d.%d", __GNU_MP_VERSION, __GNU_MP_VERSION_MINOR,
24747 __GNU_MP_VERSION_PATCHLEVEL);
24748 printf ("(%s/%s) ", buffer, gmp_version);
24749 if (strcmp (buffer, gmp_version) == 0)
24751 if (__GNU_MP_VERSION_PATCHLEVEL != 0)
24753 sprintf (buffer, "%d.%d", __GNU_MP_VERSION, __GNU_MP_VERSION_MINOR);
24754 return (strcmp (buffer, gmp_version) != 0) ? 1 : 0;
24760 rm -f conftest
$ac_exeext
24761 if { (ac_try
="$ac_link"
24762 case "(($ac_try" in
24763 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24764 *) ac_try_echo=$ac_try;;
24766 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24767 $as_echo "$ac_try_echo") >&5
24768 (eval "$ac_link") 2>&5
24770 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24771 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24772 { (case "(($ac_try" in
24773 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24774 *) ac_try_echo
=$ac_try;;
24776 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
24777 $as_echo "$ac_try_echo") >&5
24778 (eval "$ac_try") 2>&5
24780 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24781 (exit $ac_status); }; }; then
24782 { $as_echo "$as_me:$LINENO: result: yes" >&5
24783 $as_echo "yes" >&6; }
24785 if test "$ac_cv_type_intmax_t" == yes; then
24787 { $as_echo "$as_me:$LINENO: checking if gmp_printf supports \"%jd\"" >&5
24788 $as_echo_n "checking if gmp_printf supports \"%jd\"... " >&6; }
24789 if test "$cross_compiling" = yes; then
24790 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
24791 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24792 { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
24793 See \`config.log' for more details." >&5
24794 $as_echo "$as_me: error: cannot run test program while cross compiling
24795 See \`config.log' for more details." >&2;}
24796 { (exit 1); exit 1; }; }; }
24798 cat >conftest.
$ac_ext <<_ACEOF
24801 cat confdefs.h
>>conftest.
$ac_ext
24802 cat >>conftest.
$ac_ext <<_ACEOF
24803 /* end confdefs.h. */
24807 #ifdef HAVE_STDINT_H
24808 # include <stdint.h>
24810 #ifdef HAVE_INTTYPES_H
24811 # include <inttypes.h>
24823 return (gmp_sprintf (s, "%jd", a) != 1) ? 1 : 0;
24829 rm -f conftest
$ac_exeext
24830 if { (ac_try
="$ac_link"
24831 case "(($ac_try" in
24832 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24833 *) ac_try_echo=$ac_try;;
24835 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24836 $as_echo "$ac_try_echo") >&5
24837 (eval "$ac_link") 2>&5
24839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24840 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24841 { (case "(($ac_try" in
24842 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24843 *) ac_try_echo
=$ac_try;;
24845 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
24846 $as_echo "$ac_try_echo") >&5
24847 (eval "$ac_try") 2>&5
24849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24850 (exit $ac_status); }; }; then
24851 { $as_echo "$as_me:$LINENO: result: yes" >&5
24852 $as_echo "yes" >&6; }
24855 $as_echo "$as_me: program exited with status $ac_status" >&5
24856 $as_echo "$as_me: failed program was:" >&5
24857 sed 's/^/| /' conftest.
$ac_ext >&5
24859 ( exit $ac_status )
24860 { $as_echo "$as_me:$LINENO: result: no" >&5
24861 $as_echo "no" >&6; }
24863 cat >>confdefs.h
<<\_ACEOF
24864 #define NPRINTF_J 1
24868 rm -rf conftest.dSYM
24869 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24877 { $as_echo "$as_me:$LINENO: checking if gmp_printf supports \"%hhd\"" >&5
24878 $as_echo_n "checking if gmp_printf supports \"%hhd\"... " >&6; }
24879 if test "$cross_compiling" = yes; then
24880 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
24881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24882 { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
24883 See \`config.log' for more details." >&5
24884 $as_echo "$as_me: error: cannot run test program while cross compiling
24885 See \`config.log' for more details." >&2;}
24886 { (exit 1); exit 1; }; }; }
24888 cat >conftest.
$ac_ext <<_ACEOF
24891 cat confdefs.h
>>conftest.
$ac_ext
24892 cat >>conftest.
$ac_ext <<_ACEOF
24893 /* end confdefs.h. */
24906 return (gmp_sprintf (s, "%hhd", a) != 1) ? 1 : 0;
24912 rm -f conftest
$ac_exeext
24913 if { (ac_try
="$ac_link"
24914 case "(($ac_try" in
24915 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24916 *) ac_try_echo=$ac_try;;
24918 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24919 $as_echo "$ac_try_echo") >&5
24920 (eval "$ac_link") 2>&5
24922 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24923 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24924 { (case "(($ac_try" in
24925 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24926 *) ac_try_echo
=$ac_try;;
24928 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
24929 $as_echo "$ac_try_echo") >&5
24930 (eval "$ac_try") 2>&5
24932 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24933 (exit $ac_status); }; }; then
24934 { $as_echo "$as_me:$LINENO: result: yes" >&5
24935 $as_echo "yes" >&6; }
24938 $as_echo "$as_me: program exited with status $ac_status" >&5
24939 $as_echo "$as_me: failed program was:" >&5
24940 sed 's/^/| /' conftest.
$ac_ext >&5
24942 ( exit $ac_status )
24943 { $as_echo "$as_me:$LINENO: result: no" >&5
24944 $as_echo "no" >&6; }
24946 cat >>confdefs.h
<<\_ACEOF
24947 #define NPRINTF_HH 1
24951 rm -rf conftest.dSYM
24952 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24959 { $as_echo "$as_me:$LINENO: checking if gmp_printf supports \"%lld\"" >&5
24960 $as_echo_n "checking if gmp_printf supports \"%lld\"... " >&6; }
24961 if test "$cross_compiling" = yes; then
24962 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
24963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24964 { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
24965 See \`config.log' for more details." >&5
24966 $as_echo "$as_me: error: cannot run test program while cross compiling
24967 See \`config.log' for more details." >&2;}
24968 { (exit 1); exit 1; }; }; }
24970 cat >conftest.
$ac_ext <<_ACEOF
24973 cat confdefs.h
>>conftest.
$ac_ext
24974 cat >>conftest.
$ac_ext <<_ACEOF
24975 /* end confdefs.h. */
24987 long long int a = 0;
24988 return (gmp_sprintf (s, "%lld", a) != 1) ? 1 : 0;
24994 rm -f conftest
$ac_exeext
24995 if { (ac_try
="$ac_link"
24996 case "(($ac_try" in
24997 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24998 *) ac_try_echo=$ac_try;;
25000 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25001 $as_echo "$ac_try_echo") >&5
25002 (eval "$ac_link") 2>&5
25004 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25005 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25006 { (case "(($ac_try" in
25007 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25008 *) ac_try_echo
=$ac_try;;
25010 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
25011 $as_echo "$ac_try_echo") >&5
25012 (eval "$ac_try") 2>&5
25014 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25015 (exit $ac_status); }; }; then
25016 { $as_echo "$as_me:$LINENO: result: yes" >&5
25017 $as_echo "yes" >&6; }
25020 $as_echo "$as_me: program exited with status $ac_status" >&5
25021 $as_echo "$as_me: failed program was:" >&5
25022 sed 's/^/| /' conftest.
$ac_ext >&5
25024 ( exit $ac_status )
25025 { $as_echo "$as_me:$LINENO: result: no" >&5
25026 $as_echo "no" >&6; }
25028 cat >>confdefs.h
<<\_ACEOF
25029 #define NPRINTF_LL 1
25033 rm -rf conftest.dSYM
25034 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25041 { $as_echo "$as_me:$LINENO: checking if gmp_printf supports \"%.0Lf\"" >&5
25042 $as_echo_n "checking if gmp_printf supports \"%.0Lf\"... " >&6; }
25043 if test "$cross_compiling" = yes; then
25044 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
25045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25046 { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25047 See \`config.log' for more details." >&5
25048 $as_echo "$as_me: error: cannot run test program while cross compiling
25049 See \`config.log' for more details." >&2;}
25050 { (exit 1); exit 1; }; }; }
25052 cat >conftest.
$ac_ext <<_ACEOF
25055 cat confdefs.h
>>conftest.
$ac_ext
25056 cat >>conftest.
$ac_ext <<_ACEOF
25057 /* end confdefs.h. */
25070 return (gmp_sprintf (s, "%.0Lf", a) != 1) ? 1 : 0;
25076 rm -f conftest
$ac_exeext
25077 if { (ac_try
="$ac_link"
25078 case "(($ac_try" in
25079 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25080 *) ac_try_echo=$ac_try;;
25082 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25083 $as_echo "$ac_try_echo") >&5
25084 (eval "$ac_link") 2>&5
25086 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25087 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25088 { (case "(($ac_try" in
25089 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25090 *) ac_try_echo
=$ac_try;;
25092 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
25093 $as_echo "$ac_try_echo") >&5
25094 (eval "$ac_try") 2>&5
25096 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25097 (exit $ac_status); }; }; then
25098 { $as_echo "$as_me:$LINENO: result: yes" >&5
25099 $as_echo "yes" >&6; }
25102 $as_echo "$as_me: program exited with status $ac_status" >&5
25103 $as_echo "$as_me: failed program was:" >&5
25104 sed 's/^/| /' conftest.
$ac_ext >&5
25106 ( exit $ac_status )
25107 { $as_echo "$as_me:$LINENO: result: no" >&5
25108 $as_echo "no" >&6; }
25110 cat >>confdefs.h
<<\_ACEOF
25111 #define NPRINTF_L 1
25115 rm -rf conftest.dSYM
25116 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25123 { $as_echo "$as_me:$LINENO: checking if gmp_printf supports \"%td\"" >&5
25124 $as_echo_n "checking if gmp_printf supports \"%td\"... " >&6; }
25125 if test "$cross_compiling" = yes; then
25126 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
25127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25128 { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25129 See \`config.log' for more details." >&5
25130 $as_echo "$as_me: error: cannot run test program while cross compiling
25131 See \`config.log' for more details." >&2;}
25132 { (exit 1); exit 1; }; }; }
25134 cat >conftest.
$ac_ext <<_ACEOF
25137 cat confdefs.h
>>conftest.
$ac_ext
25138 cat >>conftest.
$ac_ext <<_ACEOF
25139 /* end confdefs.h. */
25143 #if defined (__cplusplus)
25146 #include <stddef.h>
25157 return (gmp_sprintf (s, "%td", a) != 1) ? 1 : 0;
25163 rm -f conftest
$ac_exeext
25164 if { (ac_try
="$ac_link"
25165 case "(($ac_try" in
25166 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25167 *) ac_try_echo=$ac_try;;
25169 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25170 $as_echo "$ac_try_echo") >&5
25171 (eval "$ac_link") 2>&5
25173 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25174 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25175 { (case "(($ac_try" in
25176 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25177 *) ac_try_echo
=$ac_try;;
25179 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
25180 $as_echo "$ac_try_echo") >&5
25181 (eval "$ac_try") 2>&5
25183 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25184 (exit $ac_status); }; }; then
25185 { $as_echo "$as_me:$LINENO: result: yes" >&5
25186 $as_echo "yes" >&6; }
25189 $as_echo "$as_me: program exited with status $ac_status" >&5
25190 $as_echo "$as_me: failed program was:" >&5
25191 sed 's/^/| /' conftest.
$ac_ext >&5
25193 ( exit $ac_status )
25194 { $as_echo "$as_me:$LINENO: result: no" >&5
25195 $as_echo "no" >&6; }
25197 cat >>confdefs.h
<<\_ACEOF
25198 #define NPRINTF_T 1
25202 rm -rf conftest.dSYM
25203 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25210 $as_echo "$as_me: program exited with status $ac_status" >&5
25211 $as_echo "$as_me: failed program was:" >&5
25212 sed 's/^/| /' conftest.
$ac_ext >&5
25214 ( exit $ac_status )
25215 { $as_echo "$as_me:$LINENO: result: no" >&5
25216 $as_echo "no" >&6; }
25217 { $as_echo "$as_me:$LINENO: WARNING: 'gmp.h' and 'libgmp' seems to have different versions or" >&5
25218 $as_echo "$as_me: WARNING: 'gmp.h' and 'libgmp' seems to have different versions or" >&2;}
25219 { $as_echo "$as_me:$LINENO: WARNING: we cannot run a program linked with GMP (if you cannot" >&5
25220 $as_echo "$as_me: WARNING: we cannot run a program linked with GMP (if you cannot" >&2;}
25221 { $as_echo "$as_me:$LINENO: WARNING: see the version numbers above)." >&5
25222 $as_echo "$as_me: WARNING: see the version numbers above)." >&2;}
25223 { $as_echo "$as_me:$LINENO: WARNING: However since we can't use 'libtool' inside the configure," >&5
25224 $as_echo "$as_me: WARNING: However since we can't use 'libtool' inside the configure," >&2;}
25225 { $as_echo "$as_me:$LINENO: WARNING: we can't be sure. See 'config.log' for details." >&5
25226 $as_echo "$as_me: WARNING: we can't be sure. See 'config.log' for details." >&2;}
25229 rm -rf conftest.dSYM
25230 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25234 LD_RUN_PATH
="$saved_LD_RUN_PATH"
25238 if test -f confdefs.h
; then
25239 sed '/#define PACKAGE_/d' <confdefs.h
>confdefs.tmp
25240 sed '/#define HAVE_STRING/d' <confdefs.tmp
>confdefs.h
25241 sed '/#define HAVE_ALLOCA /d' <confdefs.h
>confdefs.tmp
25242 sed '/#define HAVE_DLFCN_H/d' <confdefs.tmp
>confdefs.h
25243 sed '/#define HAVE_MEM/d' <confdefs.h
>confdefs.tmp
25244 sed '/#define STDC_HEADERS/d' <confdefs.tmp
>confdefs.h
25245 sed '/#define HAVE_STRTOL/d' <confdefs.h
>confdefs.tmp
25246 sed '/#define HAVE_STDLIB_H/d' <confdefs.tmp
>confdefs.h
25247 sed '/#define HAVE_UNISTD_H/d' <confdefs.h
>confdefs.tmp
25248 sed '/#define HAVE_STDC_HEADERS/d' <confdefs.tmp
>confdefs.h
25249 sed '/#define HAVE_LONG_DOUBLE/d' <confdefs.h
>confdefs.tmp
25250 sed '/#define HAVE_SYS_STAT_H/d' <confdefs.tmp
>confdefs.h
25251 sed '/#define HAVE_SYS_TYPES_H/d' <confdefs.h
>confdefs.tmp
25252 sed '/#define PROTOTYPES/d' <confdefs.tmp
>confdefs.h
25253 sed '/#define __PROTOTYPES/d' <confdefs.h
>confdefs.tmp
25255 mv confdefs.tmp confdefs.h
25258 ac_config_files
="$ac_config_files Makefile tests/Makefile mparam.h:mparam_h.in"
25260 cat >confcache
<<\_ACEOF
25261 # This file is a shell script that caches the results of configure
25262 # tests run on this system so they can be shared between configure
25263 # scripts and configure runs, see configure's option --config-cache.
25264 # It is not useful on other systems. If it contains results you don't
25265 # want to keep, you may remove or edit it.
25267 # config.status only pays attention to the cache file if you give it
25268 # the --recheck option to rerun configure.
25270 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25271 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25272 # following values.
25276 # The following way of writing the cache mishandles newlines in values,
25277 # but we know of no workaround that is simple, portable, and efficient.
25278 # So, we kill variables containing newlines.
25279 # Ultrix sh set writes to stderr and can't be redirected directly,
25280 # and sets the high bit in the cache file unless we assign to the vars.
25282 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25283 eval ac_val
=\$
$ac_var
25287 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
25288 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25291 _ | IFS | as_nl
) ;; #(
25292 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
25293 *) $as_unset $ac_var ;;
25299 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25300 *${as_nl}ac_space
=\
*)
25301 # `set' does not quote correctly, so add quotes (double-quote
25302 # substitution turns \\\\ into \\, and sed turns \\ into \).
25305 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25308 # `set' quotes correctly as required by POSIX, so do not add quotes.
25309 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25318 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25320 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25322 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25323 if test -w "$cache_file"; then
25324 test "x$cache_file" != "x/dev/null" &&
25325 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
25326 $as_echo "$as_me: updating cache $cache_file" >&6;}
25327 cat confcache
>$cache_file
25329 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25330 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25335 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
25336 # Let make expand exec_prefix.
25337 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
25339 # Transform confdefs.h into DEFS.
25340 # Protect against shell expansion while executing Makefile rules.
25341 # Protect against Makefile macro expansion.
25343 # If the first sed substitution is executed (which looks for macros that
25344 # take arguments), then branch to the quote section. Otherwise,
25345 # look for a macro that doesn't take arguments.
25355 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
25357 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
25361 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
25374 DEFS
=`sed -n "$ac_script" confdefs.h`
25379 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
25380 # 1. Remove the extension, and $U if already installed.
25381 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
25382 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
25383 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25384 # will be set to the directory where LIBOBJS objects are built.
25385 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25386 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
25388 LIBOBJS
=$ac_libobjs
25390 LTLIBOBJS
=$ac_ltlibobjs
25393 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25394 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
25395 Usually this means the macro was only invoked conditionally." >&5
25396 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
25397 Usually this means the macro was only invoked conditionally." >&2;}
25398 { (exit 1); exit 1; }; }
25400 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25401 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
25402 Usually this means the macro was only invoked conditionally." >&5
25403 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
25404 Usually this means the macro was only invoked conditionally." >&2;}
25405 { (exit 1); exit 1; }; }
25407 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25408 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
25409 Usually this means the macro was only invoked conditionally." >&5
25410 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
25411 Usually this means the macro was only invoked conditionally." >&2;}
25412 { (exit 1); exit 1; }; }
25414 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25415 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
25416 Usually this means the macro was only invoked conditionally." >&5
25417 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
25418 Usually this means the macro was only invoked conditionally." >&2;}
25419 { (exit 1); exit 1; }; }
25421 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25422 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
25423 Usually this means the macro was only invoked conditionally." >&5
25424 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
25425 Usually this means the macro was only invoked conditionally." >&2;}
25426 { (exit 1); exit 1; }; }
25429 : ${CONFIG_STATUS=./config.status}
25431 ac_clean_files_save
=$ac_clean_files
25432 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
25433 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
25434 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25435 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25437 # Generated by $as_me.
25438 # Run this file to recreate the current configuration.
25439 # Compiler output produced by configure, useful for debugging
25440 # configure, is in config.log if it exists.
25443 ac_cs_recheck=false
25445 SHELL=\${CONFIG_SHELL-$SHELL}
25448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25449 ## --------------------- ##
25450 ## M4sh Initialization. ##
25451 ## --------------------- ##
25453 # Be more Bourne compatible
25454 DUALCASE
=1; export DUALCASE
# for MKS sh
25455 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
25458 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25459 # is contrary to our usage. Disable this feature.
25460 alias -g '${1+"$@"}'='"$@"'
25461 setopt NO_GLOB_SUBST
25463 case `(set -o) 2>/dev/null` in
25464 *posix
*) set -o posix
;;
25473 # Avoid depending upon Character Ranges.
25474 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
25475 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25476 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
25477 as_cr_digits
='0123456789'
25478 as_cr_alnum
=$as_cr_Letters$as_cr_digits
25483 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25484 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25485 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25486 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25487 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25488 as_echo='printf %s
\n'
25489 as_echo_n='printf %s
'
25491 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25492 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
25493 as_echo_n='/usr
/ucb
/echo -n'
25495 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25496 as_echo_n_body='eval
25500 expr "X$arg" : "X\\(.*\\)$as_nl";
25501 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25503 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
25505 export as_echo_n_body
25506 as_echo_n='sh
-c $as_echo_n_body as_echo
'
25508 export as_echo_body
25509 as_echo='sh
-c $as_echo_body as_echo
'
25512 # The user is always right.
25513 if test "${PATH_SEPARATOR+set}" != set; then
25515 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25516 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25521 # Support unset when possible.
25522 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
25530 # We need space, tab and new line, in precisely that order. Quoting is
25531 # there to prevent editors from complaining about space-tab.
25532 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25533 # splitting by setting IFS to empty value.)
25536 # Find who we are. Look in the path if we contain no directory separator.
25538 *[\\/]* ) as_myself=$0 ;;
25539 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25540 for as_dir in $PATH
25543 test -z "$as_dir" && as_dir=.
25544 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25550 # We did not find ourselves, most probably we were run as `sh COMMAND'
25551 # in which case we are not to be found in the path.
25552 if test "x$as_myself" = x
; then
25555 if test ! -f "$as_myself"; then
25556 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25557 { (exit 1); exit 1; }
25560 # Work around bugs in pre-3.0 UWIN ksh.
25561 for as_var
in ENV MAIL MAILPATH
25562 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
25574 # Required to use basename.
25575 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
25576 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
25582 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25583 as_basename
=basename
25589 # Name of the executable.
25590 as_me
=`$as_basename -- "$0" ||
25591 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25592 X"$0" : 'X\(//\)$' \| \
25593 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25595 sed '/^.*\/\([^/][^/]*\)\/*$/{
25614 as_lineno_1
=$LINENO
25615 as_lineno_2
=$LINENO
25616 test "x$as_lineno_1" != "x$as_lineno_2" &&
25617 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
25619 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
25620 # uniformly replaced by the line number. The first 'sed' inserts a
25621 # line-number line after each line using $LINENO; the second 'sed'
25622 # does the real work. The second script uses 'N' to pair each
25623 # line-number line with the line containing $LINENO, and appends
25624 # trailing '-' during substitution so that $LINENO is not a special
25625 # case at line end.
25626 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
25627 # scripts with optimization help from Paolo Bonzini. Blame Lee
25628 # E. McMahon (1931-1989) for sed's syntax. :-)
25640 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
25643 ' >$as_me.lineno
&&
25644 chmod +x
"$as_me.lineno" ||
25645 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
25646 { (exit 1); exit 1; }; }
25648 # Don't try to exec as it changes $[0], causing all sort of problems
25649 # (the dirname of $[0] is not the place where we might find the
25650 # original and so on. Autoconf is especially sensitive to this).
25651 .
"./$as_me.lineno"
25652 # Exit status is that of the last command.
25657 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
25663 ECHO_C
= ECHO_N
= ECHO_T
=
25664 case `echo -n x` in
25666 case `echo 'x\c'` in
25667 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
25673 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
25674 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
25680 rm -f conf$$ conf$$.exe conf$$.
file
25681 if test -d conf$$.dir
; then
25682 rm -f conf$$.dir
/conf$$.
file
25685 mkdir conf$$.dir
2>/dev
/null
25687 if (echo >conf$$.
file) 2>/dev
/null
; then
25688 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
25690 # ... but there are two gotchas:
25691 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25692 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25693 # In both cases, we have to default to `cp -p'.
25694 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
25696 elif ln conf$$.
file conf$$
2>/dev
/null
; then
25704 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
25705 rmdir conf$$.dir
2>/dev
/null
25707 if mkdir
-p .
2>/dev
/null
; then
25710 test -d .
/-p && rmdir .
/-p
25714 if test -x / >/dev
/null
2>&1; then
25715 as_test_x
='test -x'
25717 if ls -dL / >/dev
/null
2>&1; then
25724 if test -d "$1"; then
25730 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
25731 ???[sx]*):;;*)false;;esac;fi
25735 as_executable_p
=$as_test_x
25737 # Sed expression to map a string onto a valid CPP name.
25738 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25740 # Sed expression to map a string onto a valid variable name.
25741 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25746 # Save the log message, to keep $[0] and so on meaningful, and to
25747 # report actual input values of CONFIG_FILES etc. instead of their
25748 # values after options handling.
25750 This file was extended by MPFR $as_me 2.4.1, which was
25751 generated by GNU Autoconf 2.63. Invocation command line was
25753 CONFIG_FILES = $CONFIG_FILES
25754 CONFIG_HEADERS = $CONFIG_HEADERS
25755 CONFIG_LINKS = $CONFIG_LINKS
25756 CONFIG_COMMANDS = $CONFIG_COMMANDS
25759 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25764 case $ac_config_files in *"
25765 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
25770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25771 # Files that config.status was made for.
25772 config_files="$ac_config_files"
25773 config_commands="$ac_config_commands"
25777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25779 \`$as_me' instantiates files from templates according to the
25780 current configuration.
25782 Usage: $0 [OPTION]... [FILE]...
25784 -h, --help print this help, then exit
25785 -V, --version print version number and configuration settings, then exit
25786 -q, --quiet, --silent
25787 do not print progress messages
25788 -d, --debug don't remove temporary files
25789 --recheck update $as_me by reconfiguring in the same conditions
25790 --file=FILE[:TEMPLATE]
25791 instantiate the configuration file FILE
25793 Configuration files:
25796 Configuration commands:
25799 Report bugs to <bug-autoconf@gnu.org>."
25802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25804 MPFR config.status 2.4.1
25805 configured by $0, generated by GNU Autoconf 2.63,
25806 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25808 Copyright (C) 2008 Free Software Foundation, Inc.
25809 This config.status script is free software; the Free Software Foundation
25810 gives unlimited permission to copy, distribute and modify it."
25817 test -n "\$AWK" || AWK=awk
25820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25821 # The default lists apply if the user does not specify any file.
25827 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
25828 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
25839 # Handling of the options.
25840 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
25842 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
25843 $as_echo "$ac_cs_version"; exit ;;
25844 --debug |
--debu |
--deb |
--de |
--d |
-d )
25846 --file |
--fil |
--fi |
--f )
25849 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25851 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
25852 ac_need_defaults
=false
;;
25853 --he |
--h |
--help |
--hel |
-h )
25854 $as_echo "$ac_cs_usage"; exit ;;
25855 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
25856 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
25859 # This is an error.
25860 -*) { $as_echo "$as_me: error: unrecognized option: $1
25861 Try \`$0 --help' for more information." >&2
25862 { (exit 1); exit 1; }; } ;;
25864 *) ac_config_targets
="$ac_config_targets $1"
25865 ac_need_defaults
=false
;;
25871 ac_configure_extra_args
=
25873 if $ac_cs_silent; then
25875 ac_configure_extra_args
="$ac_configure_extra_args --silent"
25879 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25880 if \$ac_cs_recheck; then
25881 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25883 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25884 CONFIG_SHELL='$SHELL'
25885 export CONFIG_SHELL
25890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25894 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25895 ## Running $as_me. ##
25901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25905 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25908 # The HP-UX ksh and POSIX shell print the target directory to stdout
25909 # if CDPATH is set.
25910 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25912 sed_quote_subst='$sed_quote_subst'
25913 double_quote_subst='$double_quote_subst'
25914 delay_variable_subst='$delay_variable_subst'
25915 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
25916 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
25917 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
25918 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
25919 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
25920 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
25921 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
25922 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
25923 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
25924 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
25925 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
25926 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
25927 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
25928 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
25929 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
25930 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
25931 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
25932 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
25933 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
25934 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
25935 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
25936 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
25937 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
25938 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
25939 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
25940 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
25941 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
25942 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
25943 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
25944 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
25945 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25946 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
25947 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
25948 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
25949 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
25950 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
25951 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
25952 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25953 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25954 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25955 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
25956 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
25957 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
25958 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
25959 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
25960 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
25961 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
25962 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
25963 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
25964 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
25965 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
25966 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
25967 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
25968 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
25969 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
25970 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
25971 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
25972 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
25973 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
25974 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
25975 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
25976 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25977 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25978 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
25979 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
25980 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
25981 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
25982 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
25983 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25984 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25985 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25986 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25987 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25988 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
25989 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
25990 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
25991 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
25992 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
25993 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
25994 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
25995 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
25996 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
25997 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
25998 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
25999 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
26000 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
26001 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
26002 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
26003 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
26004 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26005 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
26006 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
26007 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26008 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
26009 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
26010 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
26011 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
26012 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
26013 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
26014 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
26015 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
26016 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
26017 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
26018 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
26019 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26020 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26021 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
26022 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
26023 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
26024 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
26025 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
26026 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
26027 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
26028 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
26029 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
26030 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
26031 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
26032 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
26033 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
26034 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
26035 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
26036 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
26037 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
26038 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26039 LD_F77='`$ECHO "X$LD_F77" | $Xsed -e "$delay_single_quote_subst"`'
26040 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26041 old_archive_cmds_F77='`$ECHO "X$old_archive_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
26042 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26043 compiler_F77='`$ECHO "X$compiler_F77" | $Xsed -e "$delay_single_quote_subst"`'
26044 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26045 GCC_F77='`$ECHO "X$GCC_F77" | $Xsed -e "$delay_single_quote_subst"`'
26046 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26047 lt_prog_compiler_no_builtin_flag_F77='`$ECHO "X$lt_prog_compiler_no_builtin_flag_F77" | $Xsed -e "$delay_single_quote_subst"`'
26048 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26049 lt_prog_compiler_wl_F77='`$ECHO "X$lt_prog_compiler_wl_F77" | $Xsed -e "$delay_single_quote_subst"`'
26050 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26051 lt_prog_compiler_pic_F77='`$ECHO "X$lt_prog_compiler_pic_F77" | $Xsed -e "$delay_single_quote_subst"`'
26052 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26053 lt_prog_compiler_static_F77='`$ECHO "X$lt_prog_compiler_static_F77" | $Xsed -e "$delay_single_quote_subst"`'
26054 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26055 lt_cv_prog_compiler_c_o_F77='`$ECHO "X$lt_cv_prog_compiler_c_o_F77" | $Xsed -e "$delay_single_quote_subst"`'
26056 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26057 archive_cmds_need_lc_F77='`$ECHO "X$archive_cmds_need_lc_F77" | $Xsed -e "$delay_single_quote_subst"`'
26058 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26059 enable_shared_with_static_runtimes_F77='`$ECHO "X$enable_shared_with_static_runtimes_F77" | $Xsed -e "$delay_single_quote_subst"`'
26060 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26061 export_dynamic_flag_spec_F77='`$ECHO "X$export_dynamic_flag_spec_F77" | $Xsed -e "$delay_single_quote_subst"`'
26062 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26063 whole_archive_flag_spec_F77='`$ECHO "X$whole_archive_flag_spec_F77" | $Xsed -e "$delay_single_quote_subst"`'
26064 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26065 compiler_needs_object_F77='`$ECHO "X$compiler_needs_object_F77" | $Xsed -e "$delay_single_quote_subst"`'
26066 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26067 old_archive_from_new_cmds_F77='`$ECHO "X$old_archive_from_new_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
26068 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26069 old_archive_from_expsyms_cmds_F77='`$ECHO "X$old_archive_from_expsyms_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
26070 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26071 archive_cmds_F77='`$ECHO "X$archive_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
26072 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26073 archive_expsym_cmds_F77='`$ECHO "X$archive_expsym_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
26074 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26075 module_cmds_F77='`$ECHO "X$module_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
26076 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26077 module_expsym_cmds_F77='`$ECHO "X$module_expsym_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
26078 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26079 with_gnu_ld_F77='`$ECHO "X$with_gnu_ld_F77" | $Xsed -e "$delay_single_quote_subst"`'
26080 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26081 allow_undefined_flag_F77='`$ECHO "X$allow_undefined_flag_F77" | $Xsed -e "$delay_single_quote_subst"`'
26082 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26083 no_undefined_flag_F77='`$ECHO "X$no_undefined_flag_F77" | $Xsed -e "$delay_single_quote_subst"`'
26084 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26085 hardcode_libdir_flag_spec_F77='`$ECHO "X$hardcode_libdir_flag_spec_F77" | $Xsed -e "$delay_single_quote_subst"`'
26086 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26087 hardcode_libdir_flag_spec_ld_F77='`$ECHO "X$hardcode_libdir_flag_spec_ld_F77" | $Xsed -e "$delay_single_quote_subst"`'
26088 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26089 hardcode_libdir_separator_F77='`$ECHO "X$hardcode_libdir_separator_F77" | $Xsed -e "$delay_single_quote_subst"`'
26090 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26091 hardcode_direct_F77='`$ECHO "X$hardcode_direct_F77" | $Xsed -e "$delay_single_quote_subst"`'
26092 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26093 hardcode_direct_absolute_F77='`$ECHO "X$hardcode_direct_absolute_F77" | $Xsed -e "$delay_single_quote_subst"`'
26094 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26095 hardcode_minus_L_F77='`$ECHO "X$hardcode_minus_L_F77" | $Xsed -e "$delay_single_quote_subst"`'
26096 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26097 hardcode_shlibpath_var_F77='`$ECHO "X$hardcode_shlibpath_var_F77" | $Xsed -e "$delay_single_quote_subst"`'
26098 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26099 hardcode_automatic_F77='`$ECHO "X$hardcode_automatic_F77" | $Xsed -e "$delay_single_quote_subst"`'
26100 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26101 inherit_rpath_F77='`$ECHO "X$inherit_rpath_F77" | $Xsed -e "$delay_single_quote_subst"`'
26102 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26103 link_all_deplibs_F77='`$ECHO "X$link_all_deplibs_F77" | $Xsed -e "$delay_single_quote_subst"`'
26104 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26105 fix_srcfile_path_F77='`$ECHO "X$fix_srcfile_path_F77" | $Xsed -e "$delay_single_quote_subst"`'
26106 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26107 always_export_symbols_F77='`$ECHO "X$always_export_symbols_F77" | $Xsed -e "$delay_single_quote_subst"`'
26108 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26109 export_symbols_cmds_F77='`$ECHO "X$export_symbols_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
26110 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26111 exclude_expsyms_F77='`$ECHO "X$exclude_expsyms_F77" | $Xsed -e "$delay_single_quote_subst"`'
26112 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26113 include_expsyms_F77='`$ECHO "X$include_expsyms_F77" | $Xsed -e "$delay_single_quote_subst"`'
26114 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26115 prelink_cmds_F77='`$ECHO "X$prelink_cmds_F77" | $Xsed -e "$delay_single_quote_subst"`'
26116 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26117 file_list_spec_F77='`$ECHO "X$file_list_spec_F77" | $Xsed -e "$delay_single_quote_subst"`'
26118 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26119 hardcode_action_F77='`$ECHO "X$hardcode_action_F77" | $Xsed -e "$delay_single_quote_subst"`'
26120 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26121 compiler_lib_search_dirs_F77='`$ECHO "X$compiler_lib_search_dirs_F77" | $Xsed -e "$delay_single_quote_subst"`'
26122 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26123 predep_objects_F77='`$ECHO "X$predep_objects_F77" | $Xsed -e "$delay_single_quote_subst"`'
26124 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26125 postdep_objects_F77='`$ECHO "X$postdep_objects_F77" | $Xsed -e "$delay_single_quote_subst"`'
26126 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26127 predeps_F77='`$ECHO "X$predeps_F77" | $Xsed -e "$delay_single_quote_subst"`'
26128 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26129 postdeps_F77='`$ECHO "X$postdeps_F77" | $Xsed -e "$delay_single_quote_subst"`'
26130 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
26131 compiler_lib_search_path_F77='`$ECHO "X$compiler_lib_search_path_F77" | $Xsed -e "$delay_single_quote_subst"`'
26134 LTCFLAGS='$LTCFLAGS'
26135 compiler='$compiler_DEFAULT'
26137 # Quote evaled strings.
26148 deplibs_check_method \
26157 lt_cv_sys_global_symbol_pipe \
26158 lt_cv_sys_global_symbol_to_cdecl \
26159 lt_cv_sys_global_symbol_to_c_name_address \
26160 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
26163 lt_prog_compiler_no_builtin_flag \
26164 lt_prog_compiler_wl \
26165 lt_prog_compiler_pic \
26166 lt_prog_compiler_static \
26167 lt_cv_prog_compiler_c_o \
26172 export_dynamic_flag_spec \
26173 whole_archive_flag_spec \
26174 compiler_needs_object \
26176 allow_undefined_flag \
26177 no_undefined_flag \
26178 hardcode_libdir_flag_spec \
26179 hardcode_libdir_flag_spec_ld \
26180 hardcode_libdir_separator \
26185 variables_saved_for_relink \
26187 library_names_spec \
26192 compiler_lib_search_dirs \
26197 compiler_lib_search_path \
26202 lt_prog_compiler_no_builtin_flag_CXX \
26203 lt_prog_compiler_no_builtin_flag_F77 \
26204 lt_prog_compiler_wl_CXX \
26205 lt_prog_compiler_wl_F77 \
26206 lt_prog_compiler_pic_CXX \
26207 lt_prog_compiler_pic_F77 \
26208 lt_prog_compiler_static_CXX \
26209 lt_prog_compiler_static_F77 \
26210 lt_cv_prog_compiler_c_o_CXX \
26211 lt_cv_prog_compiler_c_o_F77 \
26212 export_dynamic_flag_spec_CXX \
26213 export_dynamic_flag_spec_F77 \
26214 whole_archive_flag_spec_CXX \
26215 whole_archive_flag_spec_F77 \
26216 compiler_needs_object_CXX \
26217 compiler_needs_object_F77 \
26220 allow_undefined_flag_CXX \
26221 allow_undefined_flag_F77 \
26222 no_undefined_flag_CXX \
26223 no_undefined_flag_F77 \
26224 hardcode_libdir_flag_spec_CXX \
26225 hardcode_libdir_flag_spec_F77 \
26226 hardcode_libdir_flag_spec_ld_CXX \
26227 hardcode_libdir_flag_spec_ld_F77 \
26228 hardcode_libdir_separator_CXX \
26229 hardcode_libdir_separator_F77 \
26230 fix_srcfile_path_CXX \
26231 fix_srcfile_path_F77 \
26232 exclude_expsyms_CXX \
26233 exclude_expsyms_F77 \
26234 include_expsyms_CXX \
26235 include_expsyms_F77 \
26236 file_list_spec_CXX \
26237 file_list_spec_F77 \
26238 compiler_lib_search_dirs_CXX \
26239 compiler_lib_search_dirs_F77 \
26240 predep_objects_CXX \
26241 predep_objects_F77 \
26242 postdep_objects_CXX \
26243 postdep_objects_F77 \
26248 compiler_lib_search_path_CXX \
26249 compiler_lib_search_path_F77; do
26250 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
26251 *[\\\\\\\`\\"\\\$]*)
26252 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26255 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26260 # Double-quote double-evaled strings.
26261 for var in reload_cmds \
26262 old_postinstall_cmds \
26263 old_postuninstall_cmds \
26265 extract_expsyms_cmds \
26266 old_archive_from_new_cmds \
26267 old_archive_from_expsyms_cmds \
26269 archive_expsym_cmds \
26271 module_expsym_cmds \
26272 export_symbols_cmds \
26275 postuninstall_cmds \
26277 sys_lib_search_path_spec \
26278 sys_lib_dlsearch_path_spec \
26279 old_archive_cmds_CXX \
26280 old_archive_cmds_F77 \
26281 old_archive_from_new_cmds_CXX \
26282 old_archive_from_new_cmds_F77 \
26283 old_archive_from_expsyms_cmds_CXX \
26284 old_archive_from_expsyms_cmds_F77 \
26287 archive_expsym_cmds_CXX \
26288 archive_expsym_cmds_F77 \
26291 module_expsym_cmds_CXX \
26292 module_expsym_cmds_F77 \
26293 export_symbols_cmds_CXX \
26294 export_symbols_cmds_F77 \
26296 prelink_cmds_F77; do
26297 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
26298 *[\\\\\\\`\\"\\\$]*)
26299 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26302 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26307 # Fix-up fallback echo if it was mangled by the above quoting rules.
26309 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
26313 ac_aux_dir='$ac_aux_dir'
26314 xsi_shell='$xsi_shell'
26315 lt_shell_append='$lt_shell_append'
26317 # See if we are running on zsh, and set the options which allow our
26318 # commands through without removal of \ escapes INIT.
26319 if test -n "\${ZSH_VERSION+set}" ; then
26320 setopt NO_GLOB_SUBST
26326 TIMESTAMP='$TIMESTAMP'
26339 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26341 # Handling of arguments.
26342 for ac_config_target
in $ac_config_targets
26344 case $ac_config_target in
26345 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
26346 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
26347 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
26348 "tests/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
26349 "mparam.h") CONFIG_FILES
="$CONFIG_FILES mparam.h:mparam_h.in" ;;
26351 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
26352 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26353 { (exit 1); exit 1; }; };;
26358 # If the user did not use the arguments to specify the items to instantiate,
26359 # then the envvar interface is used. Set only those that are not.
26360 # We use the long form for the default assignment because of an extremely
26361 # bizarre bug on SunOS 4.1.3.
26362 if $ac_need_defaults; then
26363 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
26364 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
26367 # Have a temporary directory for convenience. Make it in the build tree
26368 # simply because there is no reason against having it here, and in addition,
26369 # creating and moving files from /tmp can sometimes cause problems.
26370 # Hook for its removal unless debugging.
26371 # Note that there is a small window in which the directory will not be cleaned:
26372 # after its creation but before its name has been assigned to `$tmp'.
26376 trap 'exit_status=$?
26377 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26379 trap '{ (exit 1); exit 1; }' 1 2 13 15
26381 # Create a (secure) tmp directory for tmp files.
26384 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26385 test -n "$tmp" && test -d "$tmp"
26388 tmp
=.
/conf$$
-$RANDOM
26389 (umask 077 && mkdir
"$tmp")
26392 $as_echo "$as_me: cannot create a temporary directory in ." >&2
26393 { (exit 1); exit 1; }
26396 # Set up the scripts for CONFIG_FILES section.
26397 # No need to generate them if there are no CONFIG_FILES.
26398 # This happens for instance with `./config.status config.h'.
26399 if test -n "$CONFIG_FILES"; then
26403 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26404 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26407 ac_cs_awk_cr
=$ac_cr
26410 echo 'BEGIN {' >"$tmp/subs1.awk" &&
26415 echo "cat >conf$$subs.awk <<_ACEOF" &&
26416 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26418 } >conf$$subs.sh ||
26419 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
26420 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
26421 { (exit 1); exit 1; }; }
26422 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
26424 for ac_last_try in false false false false false :; do
26425 . ./conf$$subs.sh ||
26426 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
26427 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
26428 { (exit 1); exit 1; }; }
26430 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
26431 if test $ac_delim_n = $ac_delim_num; then
26433 elif $ac_last_try; then
26434 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
26435 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
26436 { (exit 1); exit 1; }; }
26438 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
26441 rm -f conf$$subs.sh
26443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26444 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
26448 s/^/S["/; s
/!.
*/"]=/
26458 s/\(.\{148\}\).*/\1/
26460 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
26465 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
26472 s/\(.\{148\}\).*/\1/
26474 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
26478 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
26483 ' <conf$$subs.awk | sed '
26488 ' >>$CONFIG_STATUS || ac_write_fail=1
26489 rm -f conf$$subs.awk
26490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26492 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
26493 for (key in S) S_is_set[key] = 1
26499 nfields = split(line, field, "@
")
26501 len = length(field[1])
26502 for (i = 2; i < nfields; i++) {
26504 keylen = length(key)
26505 if (S_is_set[key]) {
26507 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26508 len += length(value) + length(field[++i])
26519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26520 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26521 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
26524 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
26525 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
26526 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
26527 { (exit 1); exit 1; }; }
26530 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26531 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
26532 # trailing colons and then remove the whole line if VPATH becomes empty
26533 # (actually we leave an empty line to preserve line numbers).
26534 if test "x
$srcdir" = x.; then
26535 ac_vpsub='/^[ ]*VPATH[ ]*=/{
26536 s/:*\$(srcdir):*/:/
26537 s/:*\${srcdir}:*/:/
26539 s/^\([^=]*=[ ]*\):*/\1/
26545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26546 fi # test -n "$CONFIG_FILES"
26549 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
26554 :[FHLC]) ac_mode=$ac_tag; continue;;
26556 case $ac_mode$ac_tag in
26558 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error
: invalid tag
$ac_tag" >&5
26559 $as_echo "$as_me: error
: invalid tag
$ac_tag" >&2;}
26560 { (exit 1); exit 1; }; };;
26561 :[FH]-) ac_tag=-:-;;
26562 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26579 -) ac_f="$tmp/stdin
";;
26580 *) # Look for the file first in the build tree, then in the source tree
26581 # (if the path is not absolute). The absolute path cannot be DOS-style,
26582 # because $ac_f cannot contain `:'.
26586 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26588 { { $as_echo "$as_me:$LINENO: error
: cannot
find input
file: $ac_f" >&5
26589 $as_echo "$as_me: error
: cannot
find input
file: $ac_f" >&2;}
26590 { (exit 1); exit 1; }; };;
26592 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
26593 ac_file_inputs="$ac_file_inputs '$ac_f'"
26596 # Let's still pretend it is `configure' which instantiates (i.e., don't
26597 # use $as_me), people would be surprised to read:
26598 # /* config.h. Generated by config.status. */
26599 configure_input='Generated from '`
26600 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26602 if test x"$ac_file" != x-; then
26603 configure_input="$ac_file.
$configure_input"
26604 { $as_echo "$as_me:$LINENO: creating
$ac_file" >&5
26605 $as_echo "$as_me: creating
$ac_file" >&6;}
26607 # Neutralize special characters interpreted by sed in replacement strings.
26608 case $configure_input in #(
26609 *\&* | *\|* | *\\* )
26610 ac_sed_conf_input=`$as_echo "$configure_input" |
26611 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26612 *) ac_sed_conf_input=$configure_input;;
26616 *:-:* | *:-) cat >"$tmp/stdin
" \
26617 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
26618 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
26619 { (exit 1); exit 1; }; } ;;
26624 ac_dir=`$as_dirname -- "$ac_file" ||
26625 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26626 X"$ac_file" : 'X\(//\)[^/]' \| \
26627 X"$ac_file" : 'X\(//\)$' \| \
26628 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26629 $as_echo X"$ac_file" |
26630 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26634 /^X\(\/\/\)[^/].*/{
26649 -*) as_dir=./$as_dir;;
26651 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
26655 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s
/'/'\\\\\\\\''/g
"`;; #'(
26656 *) as_qdir=$as_dir;;
26658 as_dirs="'$as_qdir' $as_dirs"
26659 as_dir=`$as_dirname -- "$as_dir" ||
26660 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26661 X"$as_dir" : 'X\(//\)[^/]' \| \
26662 X"$as_dir" : 'X\(//\)$' \| \
26663 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26664 $as_echo X"$as_dir" |
26665 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26669 /^X\(\/\/\)[^/].*/{
26682 test -d "$as_dir" && break
26684 test -z "$as_dirs" || eval "mkdir
$as_dirs"
26685 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error
: cannot create directory
$as_dir" >&5
26686 $as_echo "$as_me: error
: cannot create directory
$as_dir" >&2;}
26687 { (exit 1); exit 1; }; }; }
26691 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26693 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26694 # A "..
" for each directory in $ac_dir_suffix.
26695 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26696 case $ac_top_builddir_sub in
26697 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26698 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
26701 ac_abs_top_builddir=$ac_pwd
26702 ac_abs_builddir=$ac_pwd$ac_dir_suffix
26703 # for backward compatibility:
26704 ac_top_builddir=$ac_top_build_prefix
26707 .) # We are building in place.
26709 ac_top_srcdir=$ac_top_builddir_sub
26710 ac_abs_top_srcdir=$ac_pwd ;;
26711 [\\/]* | ?:[\\/]* ) # Absolute name.
26712 ac_srcdir=$srcdir$ac_dir_suffix;
26713 ac_top_srcdir=$srcdir
26714 ac_abs_top_srcdir=$srcdir ;;
26715 *) # Relative name.
26716 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
26717 ac_top_srcdir=$ac_top_build_prefix$srcdir
26718 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
26720 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
26730 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26731 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
26733 ac_MKDIR_P=$MKDIR_P
26735 [\\/$]* | ?:[\\/]* ) ;;
26736 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
26740 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26741 # If the template does not know about datarootdir, expand it.
26742 # FIXME: This hack should be removed a few years after 2.60.
26743 ac_datarootdir_hack=; ac_datarootdir_seen=
26756 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
26757 *datarootdir*) ac_datarootdir_seen=yes;;
26758 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
26759 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
26760 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
26762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26763 ac_datarootdir_hack='
26764 s&@datadir@&$datadir&g
26765 s&@docdir@&$docdir&g
26766 s&@infodir@&$infodir&g
26767 s&@localedir@&$localedir&g
26768 s&@mandir@&$mandir&g
26769 s&\\\${datarootdir}&$datarootdir&g' ;;
26773 # Neutralize VPATH when `$srcdir' = `.'.
26774 # Shell code in configure.ac might set extrasub.
26775 # FIXME: do we really want to maintain this feature?
26776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26777 ac_sed_extra="$ac_vpsub
26780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26782 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
26783 s|@configure_input@|
$ac_sed_conf_input|
;t t
26784 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
26785 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
26786 s
&@srcdir@
&$ac_srcdir&;t t
26787 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
26788 s
&@top_srcdir@
&$ac_top_srcdir&;t t
26789 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
26790 s
&@builddir@
&$ac_builddir&;t t
26791 s
&@abs_builddir@
&$ac_abs_builddir&;t t
26792 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
26793 s
&@INSTALL@
&$ac_INSTALL&;t t
26794 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
26795 $ac_datarootdir_hack
26797 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
26798 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
26799 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
26800 { (exit 1); exit 1; }; }
26802 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26803 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
26804 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
26805 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
26806 which seems to be undefined. Please make sure it is defined." >&5
26807 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
26808 which seems to be undefined. Please make sure it is defined." >&2;}
26812 -) cat "$tmp/out" && rm -f "$tmp/out";;
26813 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
26815 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
26816 $as_echo "$as_me: error: could not create $ac_file" >&2;}
26817 { (exit 1); exit 1; }; }
26821 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
26822 $as_echo "$as_me: executing $ac_file commands" >&6;}
26827 case $ac_file$ac_mode in
26828 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
26829 # Strip MF so we end up with the name of the file.
26830 mf=`echo "$mf" | sed -e 's
/:.
*$
//'`
26831 # Check whether this is an Automake generated Makefile or not.
26832 # We used to match only the files named `Makefile.in', but
26833 # some people rename them; so instead we look at the file content.
26834 # Grep'ing the first line is not enough: some people post-process
26835 # each Makefile.in and add a new line on top of each file to say so.
26836 # Grep'ing the whole file is not good either: AIX grep has a line
26837 # limit of 2048, but all sed's we know have understand at least 4000.
26838 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
26839 dirpart
=`$as_dirname -- "$mf" ||
26840 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26841 X"$mf" : 'X\(//\)[^/]' \| \
26842 X"$mf" : 'X\(//\)$' \| \
26843 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26849 /^X\(\/\/\)[^/].*/{
26865 # Extract the definition of DEPDIR, am__include, and am__quote
26866 # from the Makefile without running `make'.
26867 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
26868 test -z "$DEPDIR" && continue
26869 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
26870 test -z "am__include" && continue
26871 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
26872 # When using ansi2knr, U may be empty or an underscore; expand it
26873 U
=`sed -n 's/^U = //p' < "$mf"`
26874 # Find all dependency output files, they are included files with
26875 # $(DEPDIR) in their names. We invoke sed twice because it is the
26876 # simplest approach to changing $(DEPDIR) to its actual value in the
26878 for file in `sed -n "
26879 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26880 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26881 # Make sure the directory exists.
26882 test -f "$dirpart/$file" && continue
26883 fdir
=`$as_dirname -- "$file" ||
26884 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26885 X"$file" : 'X\(//\)[^/]' \| \
26886 X"$file" : 'X\(//\)$' \| \
26887 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26888 $as_echo X"$file" |
26889 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26893 /^X\(\/\/\)[^/].*/{
26906 { as_dir
=$dirpart/$fdir
26908 -*) as_dir
=.
/$as_dir;;
26910 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
26914 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26915 *) as_qdir
=$as_dir;;
26917 as_dirs
="'$as_qdir' $as_dirs"
26918 as_dir
=`$as_dirname -- "$as_dir" ||
26919 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26920 X"$as_dir" : 'X\(//\)[^/]' \| \
26921 X"$as_dir" : 'X\(//\)$' \| \
26922 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26923 $as_echo X"$as_dir" |
26924 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26928 /^X\(\/\/\)[^/].*/{
26941 test -d "$as_dir" && break
26943 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
26944 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
26945 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
26946 { (exit 1); exit 1; }; }; }
26947 # echo "creating $dirpart/$file"
26948 echo '# dummy' > "$dirpart/$file"
26954 # See if we are running on zsh, and set the options which allow our
26955 # commands through without removal of \ escapes.
26956 if test -n "${ZSH_VERSION+set}" ; then
26957 setopt NO_GLOB_SUBST
26960 cfgfile
="${ofile}T"
26961 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26964 cat <<_LT_EOF >> "$cfgfile"
26967 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
26968 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
26969 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26970 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26972 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
26973 # 2006, 2007, 2008 Free Software Foundation, Inc.
26974 # Written by Gordon Matzigkeit, 1996
26976 # This file is part of GNU Libtool.
26978 # GNU Libtool is free software; you can redistribute it and/or
26979 # modify it under the terms of the GNU General Public License as
26980 # published by the Free Software Foundation; either version 2 of
26981 # the License, or (at your option) any later version.
26983 # As a special exception to the GNU General Public License,
26984 # if you distribute this file as part of a program or library that
26985 # is built using GNU Libtool, you may include this file under the
26986 # same distribution terms that you use for the rest of that program.
26988 # GNU Libtool is distributed in the hope that it will be useful,
26989 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26990 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26991 # GNU General Public License for more details.
26993 # You should have received a copy of the GNU General Public License
26994 # along with GNU Libtool; see the file COPYING. If not, a copy
26995 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
26996 # obtained by writing to the Free Software Foundation, Inc.,
26997 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27000 # The names of the tagged configurations supported by this script.
27001 available_tags="CXX F77 "
27003 # ### BEGIN LIBTOOL CONFIG
27005 # Assembler program.
27008 # DLL creation program.
27011 # Object dumper program.
27014 # Which release of libtool.m4 was used?
27015 macro_version=$macro_version
27016 macro_revision=$macro_revision
27018 # Whether or not to build shared libraries.
27019 build_libtool_libs=$enable_shared
27021 # Whether or not to build static libraries.
27022 build_old_libs=$enable_static
27024 # What type of objects to build.
27027 # Whether or not to optimize for fast installation.
27028 fast_install=$enable_fast_install
27031 host_alias=$host_alias
27035 # The build system.
27036 build_alias=$build_alias
27040 # A sed program that does not truncate output.
27043 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
27044 Xsed="\$SED -e 1s/^X//"
27046 # A grep program that handles long lines.
27052 # A literal string matcher.
27055 # A BSD- or MS-compatible name lister.
27058 # Whether we need soft or hard links.
27061 # What is the maximum length of a command?
27062 max_cmd_len=$max_cmd_len
27064 # Object file suffix (normally "o").
27067 # Executable file suffix (normally "").
27070 # whether the shell understands "unset".
27073 # turn spaces into newlines.
27076 # turn newlines into spaces.
27079 # How to create reloadable object files.
27080 reload_flag=$lt_reload_flag
27081 reload_cmds=$lt_reload_cmds
27083 # Method to check whether dependent libraries are shared objects.
27084 deplibs_check_method=$lt_deplibs_check_method
27086 # Command to use when deplibs_check_method == "file_magic".
27087 file_magic_cmd=$lt_file_magic_cmd
27091 AR_FLAGS=$lt_AR_FLAGS
27093 # A symbol stripping program.
27096 # Commands used to install an old-style archive.
27098 old_postinstall_cmds=$lt_old_postinstall_cmds
27099 old_postuninstall_cmds=$lt_old_postuninstall_cmds
27104 # LTCC compiler flags.
27105 LTCFLAGS=$lt_CFLAGS
27107 # Take the output of nm and produce a listing of raw symbols and C names.
27108 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27110 # Transform the output of nm in a proper C declaration.
27111 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27113 # Transform the output of nm in a C name address pair.
27114 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27116 # Transform the output of nm in a C name address pair when lib prefix is needed.
27117 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
27119 # The name of the directory that contains temporary libtool files.
27122 # Shell to use when invoking shell scripts.
27125 # An echo program that does not interpret backslashes.
27128 # Used to examine libraries when file_magic_cmd begins with "file".
27129 MAGIC_CMD=$MAGIC_CMD
27131 # Must we lock files when doing compilation?
27132 need_locks=$lt_need_locks
27134 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
27135 DSYMUTIL=$lt_DSYMUTIL
27137 # Tool to change global to local symbols on Mac OS X.
27140 # Old archive suffix (normally "a").
27143 # Shared library suffix (normally ".so").
27144 shrext_cmds=$lt_shrext_cmds
27146 # The commands to extract the exported symbol list from a shared archive.
27147 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27149 # Variables whose values should be saved in libtool wrapper scripts and
27150 # restored at link time.
27151 variables_saved_for_relink=$lt_variables_saved_for_relink
27153 # Do we need the "lib" prefix for modules?
27154 need_lib_prefix=$need_lib_prefix
27156 # Do we need a version for libraries?
27157 need_version=$need_version
27159 # Library versioning type.
27160 version_type=$version_type
27162 # Shared library runtime path variable.
27163 runpath_var=$runpath_var
27165 # Shared library path variable.
27166 shlibpath_var=$shlibpath_var
27168 # Is shlibpath searched before the hard-coded library search path?
27169 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27171 # Format of library name prefix.
27172 libname_spec=$lt_libname_spec
27174 # List of archive names. First name is the real one, the rest are links.
27175 # The last name is the one that the linker finds with -lNAME
27176 library_names_spec=$lt_library_names_spec
27178 # The coded name of the library, if different from the real name.
27179 soname_spec=$lt_soname_spec
27181 # Command to use after installation of a shared archive.
27182 postinstall_cmds=$lt_postinstall_cmds
27184 # Command to use after uninstallation of a shared archive.
27185 postuninstall_cmds=$lt_postuninstall_cmds
27187 # Commands used to finish a libtool library installation in a directory.
27188 finish_cmds=$lt_finish_cmds
27190 # As "finish_cmds", except a single script fragment to be evaled but
27192 finish_eval=$lt_finish_eval
27194 # Whether we should hardcode library paths into libraries.
27195 hardcode_into_libs=$hardcode_into_libs
27197 # Compile-time system search path for libraries.
27198 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27200 # Run-time system search path for libraries.
27201 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27203 # Whether dlopen is supported.
27204 dlopen_support=$enable_dlopen
27206 # Whether dlopen of programs is supported.
27207 dlopen_self=$enable_dlopen_self
27209 # Whether dlopen of statically linked programs is supported.
27210 dlopen_self_static=$enable_dlopen_self_static
27212 # Commands to strip libraries.
27213 old_striplib=$lt_old_striplib
27214 striplib=$lt_striplib
27217 # The linker used to build libraries.
27220 # Commands used to build an old-style archive.
27221 old_archive_cmds=$lt_old_archive_cmds
27223 # A language specific compiler.
27226 # Is the compiler the GNU compiler?
27229 # Compiler flag to turn off builtin functions.
27230 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27232 # How to pass a linker flag through the compiler.
27233 wl=$lt_lt_prog_compiler_wl
27235 # Additional compiler flags for building library objects.
27236 pic_flag=$lt_lt_prog_compiler_pic
27238 # Compiler flag to prevent dynamic linking.
27239 link_static_flag=$lt_lt_prog_compiler_static
27241 # Does compiler simultaneously support -c and -o options?
27242 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27244 # Whether or not to add -lc for building shared libraries.
27245 build_libtool_need_lc=$archive_cmds_need_lc
27247 # Whether or not to disallow shared libs when runtime libs are static.
27248 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27250 # Compiler flag to allow reflexive dlopens.
27251 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27253 # Compiler flag to generate shared objects directly from archives.
27254 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27256 # Whether the compiler copes with passing no objects directly.
27257 compiler_needs_object=$lt_compiler_needs_object
27259 # Create an old-style archive from a shared archive.
27260 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27262 # Create a temporary old-style archive to link instead of a shared archive.
27263 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27265 # Commands used to build a shared archive.
27266 archive_cmds=$lt_archive_cmds
27267 archive_expsym_cmds=$lt_archive_expsym_cmds
27269 # Commands used to build a loadable module if different from building
27270 # a shared archive.
27271 module_cmds=$lt_module_cmds
27272 module_expsym_cmds=$lt_module_expsym_cmds
27274 # Whether we are building with GNU ld or not.
27275 with_gnu_ld=$lt_with_gnu_ld
27277 # Flag that allows shared libraries with undefined symbols to be built.
27278 allow_undefined_flag=$lt_allow_undefined_flag
27280 # Flag that enforces no undefined symbols.
27281 no_undefined_flag=$lt_no_undefined_flag
27283 # Flag to hardcode \$libdir into a binary during linking.
27284 # This must work even if \$libdir does not exist
27285 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27287 # If ld is used when linking, flag to hardcode \$libdir into a binary
27288 # during linking. This must work even if \$libdir does not exist.
27289 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27291 # Whether we need a single "-rpath" flag with a separated argument.
27292 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27294 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27295 # DIR into the resulting binary.
27296 hardcode_direct=$hardcode_direct
27298 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27299 # DIR into the resulting binary and the resulting library dependency is
27300 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27301 # library is relocated.
27302 hardcode_direct_absolute=$hardcode_direct_absolute
27304 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27305 # into the resulting binary.
27306 hardcode_minus_L=$hardcode_minus_L
27308 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27309 # into the resulting binary.
27310 hardcode_shlibpath_var=$hardcode_shlibpath_var
27312 # Set to "yes" if building a shared library automatically hardcodes DIR
27313 # into the library and all subsequent libraries and executables linked
27315 hardcode_automatic=$hardcode_automatic
27317 # Set to yes if linker adds runtime paths of dependent libraries
27318 # to runtime path list.
27319 inherit_rpath=$inherit_rpath
27321 # Whether libtool must link a program against all its dependency libraries.
27322 link_all_deplibs=$link_all_deplibs
27324 # Fix the shell variable \$srcfile for the compiler.
27325 fix_srcfile_path=$lt_fix_srcfile_path
27327 # Set to "yes" if exported symbols are required.
27328 always_export_symbols=$always_export_symbols
27330 # The commands to list exported symbols.
27331 export_symbols_cmds=$lt_export_symbols_cmds
27333 # Symbols that should not be listed in the preloaded symbols.
27334 exclude_expsyms=$lt_exclude_expsyms
27336 # Symbols that must always be exported.
27337 include_expsyms=$lt_include_expsyms
27339 # Commands necessary for linking programs (against libraries) with templates.
27340 prelink_cmds=$lt_prelink_cmds
27342 # Specify filename containing input files.
27343 file_list_spec=$lt_file_list_spec
27345 # How to hardcode a shared library path into an executable.
27346 hardcode_action=$hardcode_action
27348 # The directories searched by this compiler when creating a shared library.
27349 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27351 # Dependencies to place before and after the objects being linked to
27352 # create a shared library.
27353 predep_objects=$lt_predep_objects
27354 postdep_objects=$lt_postdep_objects
27355 predeps=$lt_predeps
27356 postdeps=$lt_postdeps
27358 # The library search path used internally by the compiler when linking
27359 # a shared library.
27360 compiler_lib_search_path=$lt_compiler_lib_search_path
27362 # ### END LIBTOOL CONFIG
27368 cat <<\_LT_EOF
>> "$cfgfile"
27369 # AIX sometimes has problems with the GCC collect2 program. For some
27370 # reason, if we set the COLLECT_NAMES environment variable, the problems
27371 # vanish in a puff of smoke.
27372 if test "X${COLLECT_NAMES+set}" != Xset
; then
27374 export COLLECT_NAMES
27381 ltmain
="$ac_aux_dir/ltmain.sh"
27384 # We use sed instead of cat because bash on DJGPP gets confused if
27385 # if finds mixed CR/LF and LF-only lines. Since sed operates in
27386 # text mode, it properly converts lines to CR/LF. This bash problem
27387 # is reportedly fixed, but why not run on old versions too?
27388 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
27389 ||
(rm -f "$cfgfile"; exit 1)
27393 cat << \_LT_EOF
>> "$cfgfile"
27394 # func_dirname file append nondir_replacement
27395 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27396 # otherwise set result to NONDIR_REPLACEMENT.
27400 */*) func_dirname_result
="${1%/*}${2}" ;;
27401 * ) func_dirname_result
="${3}" ;;
27405 # func_basename file
27408 func_basename_result
="${1##*/}"
27411 # func_dirname_and_basename file append nondir_replacement
27412 # perform func_basename and func_dirname in a single function
27414 # dirname: Compute the dirname of FILE. If nonempty,
27415 # add APPEND to the result, otherwise set result
27416 # to NONDIR_REPLACEMENT.
27417 # value returned in "$func_dirname_result"
27418 # basename: Compute filename of FILE.
27419 # value retuned in "$func_basename_result"
27420 # Implementation must be kept synchronized with func_dirname
27421 # and func_basename. For efficiency, we do not delegate to
27422 # those functions but instead duplicate the functionality here.
27423 func_dirname_and_basename
()
27426 */*) func_dirname_result
="${1%/*}${2}" ;;
27427 * ) func_dirname_result
="${3}" ;;
27429 func_basename_result
="${1##*/}"
27432 # func_stripname prefix suffix name
27433 # strip PREFIX and SUFFIX off of NAME.
27434 # PREFIX and SUFFIX must not contain globbing or regex special
27435 # characters, hashes, percent signs, but SUFFIX may contain a leading
27436 # dot (in which case that matches only a dot).
27439 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
27440 # positional parameters, so assign one to ordinary parameter first.
27441 func_stripname_result
=${3}
27442 func_stripname_result
=${func_stripname_result#"${1}"}
27443 func_stripname_result
=${func_stripname_result%"${2}"}
27449 func_opt_split_opt
=${1%%=*}
27450 func_opt_split_arg
=${1#*=}
27457 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
27458 *) func_lo2o_result
=${1} ;;
27463 *) # Bourne compatible functions.
27464 cat << \_LT_EOF
>> "$cfgfile"
27465 # func_dirname file append nondir_replacement
27466 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27467 # otherwise set result to NONDIR_REPLACEMENT.
27470 # Extract subdirectory from the argument.
27471 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
27472 if test "X$func_dirname_result" = "X${1}"; then
27473 func_dirname_result
="${3}"
27475 func_dirname_result
="$func_dirname_result${2}"
27479 # func_basename file
27482 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
27485 # func_dirname_and_basename file append nondir_replacement
27486 # perform func_basename and func_dirname in a single function
27488 # dirname: Compute the dirname of FILE. If nonempty,
27489 # add APPEND to the result, otherwise set result
27490 # to NONDIR_REPLACEMENT.
27491 # value returned in "$func_dirname_result"
27492 # basename: Compute filename of FILE.
27493 # value retuned in "$func_basename_result"
27494 # Implementation must be kept synchronized with func_dirname
27495 # and func_basename. For efficiency, we do not delegate to
27496 # those functions but instead duplicate the functionality here.
27497 func_dirname_and_basename
()
27499 # Extract subdirectory from the argument.
27500 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
27501 if test "X$func_dirname_result" = "X${1}"; then
27502 func_dirname_result
="${3}"
27504 func_dirname_result
="$func_dirname_result${2}"
27506 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
27509 # func_stripname prefix suffix name
27510 # strip PREFIX and SUFFIX off of NAME.
27511 # PREFIX and SUFFIX must not contain globbing or regex special
27512 # characters, hashes, percent signs, but SUFFIX may contain a leading
27513 # dot (in which case that matches only a dot).
27514 # func_strip_suffix prefix name
27518 .
*) func_stripname_result
=`$ECHO "X${3}" \
27519 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
27520 *) func_stripname_result
=`$ECHO "X${3}" \
27521 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
27526 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
27527 my_sed_long_arg
='1s/^-[^=]*=//'
27532 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
27533 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
27539 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
27544 case $lt_shell_append in
27546 cat << \_LT_EOF
>> "$cfgfile"
27548 # func_append var value
27549 # Append VALUE to the end of shell variable VAR.
27557 cat << \_LT_EOF
>> "$cfgfile"
27559 # func_append var value
27560 # Append VALUE to the end of shell variable VAR.
27570 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27571 ||
(rm -f "$cfgfile"; exit 1)
27573 mv -f "$cfgfile" "$ofile" ||
27574 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27578 cat <<_LT_EOF >> "$ofile"
27580 # ### BEGIN LIBTOOL TAG CONFIG: CXX
27582 # The linker used to build libraries.
27585 # Commands used to build an old-style archive.
27586 old_archive_cmds=$lt_old_archive_cmds_CXX
27588 # A language specific compiler.
27589 CC=$lt_compiler_CXX
27591 # Is the compiler the GNU compiler?
27594 # Compiler flag to turn off builtin functions.
27595 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
27597 # How to pass a linker flag through the compiler.
27598 wl=$lt_lt_prog_compiler_wl_CXX
27600 # Additional compiler flags for building library objects.
27601 pic_flag=$lt_lt_prog_compiler_pic_CXX
27603 # Compiler flag to prevent dynamic linking.
27604 link_static_flag=$lt_lt_prog_compiler_static_CXX
27606 # Does compiler simultaneously support -c and -o options?
27607 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
27609 # Whether or not to add -lc for building shared libraries.
27610 build_libtool_need_lc=$archive_cmds_need_lc_CXX
27612 # Whether or not to disallow shared libs when runtime libs are static.
27613 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
27615 # Compiler flag to allow reflexive dlopens.
27616 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
27618 # Compiler flag to generate shared objects directly from archives.
27619 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
27621 # Whether the compiler copes with passing no objects directly.
27622 compiler_needs_object=$lt_compiler_needs_object_CXX
27624 # Create an old-style archive from a shared archive.
27625 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
27627 # Create a temporary old-style archive to link instead of a shared archive.
27628 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
27630 # Commands used to build a shared archive.
27631 archive_cmds=$lt_archive_cmds_CXX
27632 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
27634 # Commands used to build a loadable module if different from building
27635 # a shared archive.
27636 module_cmds=$lt_module_cmds_CXX
27637 module_expsym_cmds=$lt_module_expsym_cmds_CXX
27639 # Whether we are building with GNU ld or not.
27640 with_gnu_ld=$lt_with_gnu_ld_CXX
27642 # Flag that allows shared libraries with undefined symbols to be built.
27643 allow_undefined_flag=$lt_allow_undefined_flag_CXX
27645 # Flag that enforces no undefined symbols.
27646 no_undefined_flag=$lt_no_undefined_flag_CXX
27648 # Flag to hardcode \$libdir into a binary during linking.
27649 # This must work even if \$libdir does not exist
27650 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
27652 # If ld is used when linking, flag to hardcode \$libdir into a binary
27653 # during linking. This must work even if \$libdir does not exist.
27654 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
27656 # Whether we need a single "-rpath" flag with a separated argument.
27657 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
27659 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27660 # DIR into the resulting binary.
27661 hardcode_direct=$hardcode_direct_CXX
27663 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27664 # DIR into the resulting binary and the resulting library dependency is
27665 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27666 # library is relocated.
27667 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
27669 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27670 # into the resulting binary.
27671 hardcode_minus_L=$hardcode_minus_L_CXX
27673 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27674 # into the resulting binary.
27675 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
27677 # Set to "yes" if building a shared library automatically hardcodes DIR
27678 # into the library and all subsequent libraries and executables linked
27680 hardcode_automatic=$hardcode_automatic_CXX
27682 # Set to yes if linker adds runtime paths of dependent libraries
27683 # to runtime path list.
27684 inherit_rpath=$inherit_rpath_CXX
27686 # Whether libtool must link a program against all its dependency libraries.
27687 link_all_deplibs=$link_all_deplibs_CXX
27689 # Fix the shell variable \$srcfile for the compiler.
27690 fix_srcfile_path=$lt_fix_srcfile_path_CXX
27692 # Set to "yes" if exported symbols are required.
27693 always_export_symbols=$always_export_symbols_CXX
27695 # The commands to list exported symbols.
27696 export_symbols_cmds=$lt_export_symbols_cmds_CXX
27698 # Symbols that should not be listed in the preloaded symbols.
27699 exclude_expsyms=$lt_exclude_expsyms_CXX
27701 # Symbols that must always be exported.
27702 include_expsyms=$lt_include_expsyms_CXX
27704 # Commands necessary for linking programs (against libraries) with templates.
27705 prelink_cmds=$lt_prelink_cmds_CXX
27707 # Specify filename containing input files.
27708 file_list_spec=$lt_file_list_spec_CXX
27710 # How to hardcode a shared library path into an executable.
27711 hardcode_action=$hardcode_action_CXX
27713 # The directories searched by this compiler when creating a shared library.
27714 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
27716 # Dependencies to place before and after the objects being linked to
27717 # create a shared library.
27718 predep_objects=$lt_predep_objects_CXX
27719 postdep_objects=$lt_postdep_objects_CXX
27720 predeps=$lt_predeps_CXX
27721 postdeps=$lt_postdeps_CXX
27723 # The library search path used internally by the compiler when linking
27724 # a shared library.
27725 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
27727 # ### END LIBTOOL TAG CONFIG: CXX
27731 cat <<_LT_EOF >> "$ofile"
27733 # ### BEGIN LIBTOOL TAG CONFIG: F77
27735 # The linker used to build libraries.
27738 # Commands used to build an old-style archive.
27739 old_archive_cmds=$lt_old_archive_cmds_F77
27741 # A language specific compiler.
27742 CC=$lt_compiler_F77
27744 # Is the compiler the GNU compiler?
27747 # Compiler flag to turn off builtin functions.
27748 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
27750 # How to pass a linker flag through the compiler.
27751 wl=$lt_lt_prog_compiler_wl_F77
27753 # Additional compiler flags for building library objects.
27754 pic_flag=$lt_lt_prog_compiler_pic_F77
27756 # Compiler flag to prevent dynamic linking.
27757 link_static_flag=$lt_lt_prog_compiler_static_F77
27759 # Does compiler simultaneously support -c and -o options?
27760 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
27762 # Whether or not to add -lc for building shared libraries.
27763 build_libtool_need_lc=$archive_cmds_need_lc_F77
27765 # Whether or not to disallow shared libs when runtime libs are static.
27766 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
27768 # Compiler flag to allow reflexive dlopens.
27769 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
27771 # Compiler flag to generate shared objects directly from archives.
27772 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
27774 # Whether the compiler copes with passing no objects directly.
27775 compiler_needs_object=$lt_compiler_needs_object_F77
27777 # Create an old-style archive from a shared archive.
27778 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
27780 # Create a temporary old-style archive to link instead of a shared archive.
27781 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
27783 # Commands used to build a shared archive.
27784 archive_cmds=$lt_archive_cmds_F77
27785 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
27787 # Commands used to build a loadable module if different from building
27788 # a shared archive.
27789 module_cmds=$lt_module_cmds_F77
27790 module_expsym_cmds=$lt_module_expsym_cmds_F77
27792 # Whether we are building with GNU ld or not.
27793 with_gnu_ld=$lt_with_gnu_ld_F77
27795 # Flag that allows shared libraries with undefined symbols to be built.
27796 allow_undefined_flag=$lt_allow_undefined_flag_F77
27798 # Flag that enforces no undefined symbols.
27799 no_undefined_flag=$lt_no_undefined_flag_F77
27801 # Flag to hardcode \$libdir into a binary during linking.
27802 # This must work even if \$libdir does not exist
27803 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
27805 # If ld is used when linking, flag to hardcode \$libdir into a binary
27806 # during linking. This must work even if \$libdir does not exist.
27807 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
27809 # Whether we need a single "-rpath" flag with a separated argument.
27810 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
27812 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27813 # DIR into the resulting binary.
27814 hardcode_direct=$hardcode_direct_F77
27816 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27817 # DIR into the resulting binary and the resulting library dependency is
27818 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27819 # library is relocated.
27820 hardcode_direct_absolute=$hardcode_direct_absolute_F77
27822 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27823 # into the resulting binary.
27824 hardcode_minus_L=$hardcode_minus_L_F77
27826 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27827 # into the resulting binary.
27828 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
27830 # Set to "yes" if building a shared library automatically hardcodes DIR
27831 # into the library and all subsequent libraries and executables linked
27833 hardcode_automatic=$hardcode_automatic_F77
27835 # Set to yes if linker adds runtime paths of dependent libraries
27836 # to runtime path list.
27837 inherit_rpath=$inherit_rpath_F77
27839 # Whether libtool must link a program against all its dependency libraries.
27840 link_all_deplibs=$link_all_deplibs_F77
27842 # Fix the shell variable \$srcfile for the compiler.
27843 fix_srcfile_path=$lt_fix_srcfile_path_F77
27845 # Set to "yes" if exported symbols are required.
27846 always_export_symbols=$always_export_symbols_F77
27848 # The commands to list exported symbols.
27849 export_symbols_cmds=$lt_export_symbols_cmds_F77
27851 # Symbols that should not be listed in the preloaded symbols.
27852 exclude_expsyms=$lt_exclude_expsyms_F77
27854 # Symbols that must always be exported.
27855 include_expsyms=$lt_include_expsyms_F77
27857 # Commands necessary for linking programs (against libraries) with templates.
27858 prelink_cmds=$lt_prelink_cmds_F77
27860 # Specify filename containing input files.
27861 file_list_spec=$lt_file_list_spec_F77
27863 # How to hardcode a shared library path into an executable.
27864 hardcode_action=$hardcode_action_F77
27866 # The directories searched by this compiler when creating a shared library.
27867 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
27869 # Dependencies to place before and after the objects being linked to
27870 # create a shared library.
27871 predep_objects=$lt_predep_objects_F77
27872 postdep_objects=$lt_postdep_objects_F77
27873 predeps=$lt_predeps_F77
27874 postdeps=$lt_postdeps_F77
27876 # The library search path used internally by the compiler when linking
27877 # a shared library.
27878 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
27880 # ### END LIBTOOL TAG CONFIG: F77
27889 { (exit 0); exit 0; }
27891 chmod +x
$CONFIG_STATUS
27892 ac_clean_files
=$ac_clean_files_save
27894 test $ac_write_fail = 0 ||
27895 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
27896 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
27897 { (exit 1); exit 1; }; }
27900 # configure is writing to config.log, and then calls config.status.
27901 # config.status does its own redirection, appending to config.log.
27902 # Unfortunately, on DOS this fails, as config.log is still kept open
27903 # by configure, so config.status won't be able to write to it; its
27904 # output is simply discarded. So we exec the FD to /dev/null,
27905 # effectively closing config.log, so it can be properly (re)opened and
27906 # appended to by config.status. When coming back to configure, we
27907 # need to make the FD available again.
27908 if test "$no_create" != yes; then
27910 ac_config_status_args
=
27911 test "$silent" = yes &&
27912 ac_config_status_args
="$ac_config_status_args --quiet"
27914 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
27916 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27917 # would make configure fail if this is the last instruction.
27918 $ac_cs_success ||
{ (exit 1); exit 1; }
27920 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
27921 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
27922 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}