2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for GNU Fortran Runtime Library 0.3.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x
; then
343 for as_var
in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no
; then
352 echo This
script requires a shell
more modern than all the
353 echo shells that I found on your system. Please
install a
354 echo modern shell
, or manually run the
script under such a
355 echo shell
if you
do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") ||
{
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system
,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
511 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
512 rmdir conf$$.dir
2>/dev
/null
514 if mkdir
-p .
2>/dev
/null
; then
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p
=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
553 # Check that we are running under the correct shell.
554 SHELL
=${CONFIG_SHELL-/bin/sh}
558 # Remove one level of quotation (which was required for Make).
559 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
564 if test "X$1" = X--no-reexec
; then
565 # Discard the --no-reexec flag, and continue.
567 elif test "X$1" = X--fallback-echo
; then
568 # Avoid inline document here, it may be left over
570 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
571 # Yippee, $ECHO works!
574 # Restart under the correct shell.
575 exec $SHELL "$0" --no-reexec ${1+"$@"}
578 if test "X$1" = X--fallback-echo
; then
579 # used as fallback echo
587 # The HP-UX ksh and POSIX shell print the target directory to stdout
589 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
591 if test -z "$lt_ECHO"; then
592 if test "X${echo_test_string+set}" != Xset
; then
593 # find a string as large as possible, as long as the shell can cope with it
594 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
597 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
604 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
605 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
606 test "X$echo_testing_string" = "X$echo_test_string"; then
609 # The Solaris, AIX, and Digital Unix default echo programs unquote
610 # backslashes. This makes it impossible to quote backslashes using
611 # echo "$something" | sed 's/\\/\\\\/g'
613 # So, first we look for a working echo in the user's PATH.
615 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
616 for dir
in $PATH /usr
/ucb
; do
618 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
619 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
620 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
621 test "X$echo_testing_string" = "X$echo_test_string"; then
628 if test "X$ECHO" = Xecho
; then
629 # We didn't find a better echo, so look for alternatives.
630 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
631 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
632 test "X$echo_testing_string" = "X$echo_test_string"; then
633 # This shell has a builtin print -r that does the trick.
635 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
636 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
637 # If we have ksh, try running configure again with it.
638 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
639 export ORIGINAL_CONFIG_SHELL
640 CONFIG_SHELL
=/bin
/ksh
642 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
646 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
647 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
648 test "X$echo_testing_string" = "X$echo_test_string"; then
651 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
652 test "X$echo_testing_string" = 'X\t' &&
653 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
654 test "X$echo_testing_string" = "X$echo_test_string"; then
655 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
657 SHELL
="$CONFIG_SHELL"
659 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
660 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
661 test "X$echo_testing_string" = 'X\t' &&
662 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
663 test "X$echo_testing_string" = "X$echo_test_string"; then
664 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
666 # maybe with a smaller string...
669 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
670 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
677 if test "$prev" != 'sed 50q "$0"'; then
678 echo_test_string
=`eval $prev`
679 export echo_test_string
680 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
682 # Oops. We lost completely, so just stick with echo.
691 # Copy echo and quote the copy suitably for passing to libtool from
692 # the Makefile, instead of quoting the original, which is used later.
694 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
695 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
701 exec 7<&0 </dev
/null
6>&1
704 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
705 # so uname gets run too.
706 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
711 ac_default_prefix
=/usr
/local
713 ac_config_libobj_dir
=.
719 SHELL
=${CONFIG_SHELL-/bin/sh}
721 # Identity of this package.
722 PACKAGE_NAME
='GNU Fortran Runtime Library'
723 PACKAGE_TARNAME
='libgfortran'
724 PACKAGE_VERSION
='0.3'
725 PACKAGE_STRING
='GNU Fortran Runtime Library 0.3'
728 # Factoring default headers for most tests.
729 ac_includes_default
="\
731 #ifdef HAVE_SYS_TYPES_H
732 # include <sys/types.h>
734 #ifdef HAVE_SYS_STAT_H
735 # include <sys/stat.h>
741 # ifdef HAVE_STDLIB_H
746 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
751 #ifdef HAVE_STRINGS_H
752 # include <strings.h>
754 #ifdef HAVE_INTTYPES_H
755 # include <inttypes.h>
773 program_transform_name
833 INSTALL_STRIP_PROGRAM
842 MAINTAINER_MODE_FALSE
865 LIBGFOR_USE_SYMVER_TRUE
866 LIBGFOR_USE_SYMVER_FALSE
887 extra_ldflags_libgfortran
892 ac_precious_vars
='build_alias
903 # Initialize some variables set by options.
905 ac_init_version
=false
906 # The variables have the same names as the options, with
907 # dashes changed to underlines.
915 program_transform_name
=s
,x
,x
,
923 # Installation directory options.
924 # These are left unexpanded so users can "make install exec_prefix=/foo"
925 # and all the variables that are supposed to be based on exec_prefix
926 # by default will actually change.
927 # Use braces instead of parens because sh, perl, etc. also accept them.
928 # (The list follows the same order as the GNU Coding Standards.)
929 bindir
='${exec_prefix}/bin'
930 sbindir
='${exec_prefix}/sbin'
931 libexecdir
='${exec_prefix}/libexec'
932 datarootdir
='${prefix}/share'
933 datadir
='${datarootdir}'
934 sysconfdir
='${prefix}/etc'
935 sharedstatedir
='${prefix}/com'
936 localstatedir
='${prefix}/var'
937 includedir
='${prefix}/include'
938 oldincludedir
='/usr/include'
939 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
940 infodir
='${datarootdir}/info'
945 libdir
='${exec_prefix}/lib'
946 localedir
='${datarootdir}/locale'
947 mandir
='${datarootdir}/man'
953 # If the previous option needs an argument, assign it.
954 if test -n "$ac_prev"; then
955 eval $ac_prev=\
$ac_option
961 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
965 # Accept the important Cygnus configure options, so we can diagnose typos.
967 case $ac_dashdash$ac_option in
971 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
973 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
976 -build |
--build |
--buil |
--bui |
--bu)
977 ac_prev
=build_alias
;;
978 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
979 build_alias
=$ac_optarg ;;
981 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
982 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
983 ac_prev
=cache_file
;;
984 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
985 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
986 cache_file
=$ac_optarg ;;
989 cache_file
=config.cache
;;
991 -datadir |
--datadir |
--datadi |
--datad)
993 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
994 datadir
=$ac_optarg ;;
996 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
997 |
--dataroo |
--dataro |
--datar)
998 ac_prev
=datarootdir
;;
999 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1000 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1001 datarootdir
=$ac_optarg ;;
1003 -disable-* |
--disable-*)
1004 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1005 # Reject names that are not valid shell variable names.
1006 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1007 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1008 { (exit 1); exit 1; }; }
1009 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1010 eval enable_
$ac_feature=no
;;
1012 -docdir |
--docdir |
--docdi |
--doc |
--do)
1014 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1015 docdir
=$ac_optarg ;;
1017 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1019 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1020 dvidir
=$ac_optarg ;;
1022 -enable-* |
--enable-*)
1023 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1024 # Reject names that are not valid shell variable names.
1025 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1026 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1027 { (exit 1); exit 1; }; }
1028 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1029 eval enable_
$ac_feature=\
$ac_optarg ;;
1031 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1032 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1033 |
--exec |
--exe |
--ex)
1034 ac_prev
=exec_prefix
;;
1035 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1036 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1037 |
--exec=* |
--exe=* |
--ex=*)
1038 exec_prefix
=$ac_optarg ;;
1040 -gas |
--gas |
--ga |
--g)
1041 # Obsolete; use --with-gas.
1044 -help |
--help |
--hel |
--he |
-h)
1045 ac_init_help
=long
;;
1046 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1047 ac_init_help
=recursive
;;
1048 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1049 ac_init_help
=short
;;
1051 -host |
--host |
--hos |
--ho)
1052 ac_prev
=host_alias
;;
1053 -host=* |
--host=* |
--hos=* |
--ho=*)
1054 host_alias
=$ac_optarg ;;
1056 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1058 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1060 htmldir
=$ac_optarg ;;
1062 -includedir |
--includedir |
--includedi |
--included |
--include \
1063 |
--includ |
--inclu |
--incl |
--inc)
1064 ac_prev
=includedir
;;
1065 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1066 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1067 includedir
=$ac_optarg ;;
1069 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1071 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1072 infodir
=$ac_optarg ;;
1074 -libdir |
--libdir |
--libdi |
--libd)
1076 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1077 libdir
=$ac_optarg ;;
1079 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1080 |
--libexe |
--libex |
--libe)
1081 ac_prev
=libexecdir
;;
1082 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1083 |
--libexe=* |
--libex=* |
--libe=*)
1084 libexecdir
=$ac_optarg ;;
1086 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1087 ac_prev
=localedir
;;
1088 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1089 localedir
=$ac_optarg ;;
1091 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1092 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1093 ac_prev
=localstatedir
;;
1094 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1095 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1096 localstatedir
=$ac_optarg ;;
1098 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1100 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1101 mandir
=$ac_optarg ;;
1103 -nfp |
--nfp |
--nf)
1104 # Obsolete; use --without-fp.
1107 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1108 |
--no-cr |
--no-c |
-n)
1111 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1112 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1115 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1116 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1117 |
--oldin |
--oldi |
--old |
--ol |
--o)
1118 ac_prev
=oldincludedir
;;
1119 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1120 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1121 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1122 oldincludedir
=$ac_optarg ;;
1124 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1126 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1127 prefix
=$ac_optarg ;;
1129 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1130 |
--program-pre |
--program-pr |
--program-p)
1131 ac_prev
=program_prefix
;;
1132 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1133 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1134 program_prefix
=$ac_optarg ;;
1136 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1137 |
--program-suf |
--program-su |
--program-s)
1138 ac_prev
=program_suffix
;;
1139 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1140 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1141 program_suffix
=$ac_optarg ;;
1143 -program-transform-name |
--program-transform-name \
1144 |
--program-transform-nam |
--program-transform-na \
1145 |
--program-transform-n |
--program-transform- \
1146 |
--program-transform |
--program-transfor \
1147 |
--program-transfo |
--program-transf \
1148 |
--program-trans |
--program-tran \
1149 |
--progr-tra |
--program-tr |
--program-t)
1150 ac_prev
=program_transform_name
;;
1151 -program-transform-name=* |
--program-transform-name=* \
1152 |
--program-transform-nam=* |
--program-transform-na=* \
1153 |
--program-transform-n=* |
--program-transform-=* \
1154 |
--program-transform=* |
--program-transfor=* \
1155 |
--program-transfo=* |
--program-transf=* \
1156 |
--program-trans=* |
--program-tran=* \
1157 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1158 program_transform_name
=$ac_optarg ;;
1160 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1162 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1163 pdfdir
=$ac_optarg ;;
1165 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1167 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1170 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1171 |
-silent |
--silent |
--silen |
--sile |
--sil)
1174 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1176 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1178 sbindir
=$ac_optarg ;;
1180 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1181 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1182 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1184 ac_prev
=sharedstatedir
;;
1185 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1186 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1187 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1189 sharedstatedir
=$ac_optarg ;;
1191 -site |
--site |
--sit)
1193 -site=* |
--site=* |
--sit=*)
1196 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1198 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1199 srcdir
=$ac_optarg ;;
1201 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1202 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1203 ac_prev
=sysconfdir
;;
1204 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1205 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1206 sysconfdir
=$ac_optarg ;;
1208 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1209 ac_prev
=target_alias
;;
1210 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1211 target_alias
=$ac_optarg ;;
1213 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1216 -version |
--version |
--versio |
--versi |
--vers |
-V)
1217 ac_init_version
=: ;;
1220 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1221 # Reject names that are not valid shell variable names.
1222 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1223 { echo "$as_me: error: invalid package name: $ac_package" >&2
1224 { (exit 1); exit 1; }; }
1225 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1226 eval with_
$ac_package=\
$ac_optarg ;;
1228 -without-* |
--without-*)
1229 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1230 # Reject names that are not valid shell variable names.
1231 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1232 { echo "$as_me: error: invalid package name: $ac_package" >&2
1233 { (exit 1); exit 1; }; }
1234 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1235 eval with_
$ac_package=no
;;
1238 # Obsolete; use --with-x.
1241 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1242 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1243 ac_prev
=x_includes
;;
1244 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1245 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1246 x_includes
=$ac_optarg ;;
1248 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1249 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1250 ac_prev
=x_libraries
;;
1251 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1252 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1253 x_libraries
=$ac_optarg ;;
1255 -*) { echo "$as_me: error: unrecognized option: $ac_option
1256 Try \`$0 --help' for more information." >&2
1257 { (exit 1); exit 1; }; }
1261 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1262 # Reject names that are not valid shell variable names.
1263 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1264 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1265 { (exit 1); exit 1; }; }
1266 eval $ac_envvar=\
$ac_optarg
1267 export $ac_envvar ;;
1270 # FIXME: should be removed in autoconf 3.0.
1271 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1272 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1273 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1274 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1280 if test -n "$ac_prev"; then
1281 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1282 { echo "$as_me: error: missing argument to $ac_option" >&2
1283 { (exit 1); exit 1; }; }
1286 # Be sure to have absolute directory names.
1287 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1288 datadir sysconfdir sharedstatedir localstatedir includedir \
1289 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1290 libdir localedir mandir
1292 eval ac_val
=\$
$ac_var
1294 [\\/$
]* | ?
:[\\/]* ) continue;;
1295 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1297 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1298 { (exit 1); exit 1; }; }
1301 # There might be people who depend on the old broken behavior: `$host'
1302 # used to hold the argument of --host etc.
1303 # FIXME: To remove some day.
1306 target
=$target_alias
1308 # FIXME: To remove some day.
1309 if test "x$host_alias" != x
; then
1310 if test "x$build_alias" = x
; then
1311 cross_compiling
=maybe
1312 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1313 If a cross compiler is detected then cross compile mode will be used." >&2
1314 elif test "x$build_alias" != "x$host_alias"; then
1320 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1322 test "$silent" = yes && exec 6>/dev
/null
1325 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1326 ac_ls_di
=`ls -di .` &&
1327 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1328 { echo "$as_me: error: Working directory cannot be determined" >&2
1329 { (exit 1); exit 1; }; }
1330 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1331 { echo "$as_me: error: pwd does not report name of working directory" >&2
1332 { (exit 1); exit 1; }; }
1335 # Find the source files, if location was not specified.
1336 if test -z "$srcdir"; then
1337 ac_srcdir_defaulted
=yes
1338 # Try the directory containing this script, then the parent directory.
1339 ac_confdir
=`$as_dirname -- "$0" ||
1340 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1341 X"$0" : 'X\(//\)[^/]' \| \
1342 X"$0" : 'X\(//\)$' \| \
1343 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1363 if test ! -r "$srcdir/$ac_unique_file"; then
1367 ac_srcdir_defaulted
=no
1369 if test ! -r "$srcdir/$ac_unique_file"; then
1370 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1371 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1372 { (exit 1); exit 1; }; }
1374 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1376 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1377 { (exit 1); exit 1; }; }
1379 # When building in place, set srcdir=.
1380 if test "$ac_abs_confdir" = "$ac_pwd"; then
1383 # Remove unnecessary trailing slashes from srcdir.
1384 # Double slashes in file names in object file debugging info
1385 # mess up M-x gdb in Emacs.
1387 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1389 for ac_var
in $ac_precious_vars; do
1390 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1391 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1392 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1393 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1397 # Report the --help message.
1399 if test "$ac_init_help" = "long"; then
1400 # Omit some internal or obsolete options to make the list less imposing.
1401 # This message is too long to be a string in the A/UX 3.1 sh.
1403 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1405 Usage: $0 [OPTION]... [VAR=VALUE]...
1407 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1408 VAR=VALUE. See below for descriptions of some of the useful variables.
1410 Defaults for the options are specified in brackets.
1413 -h, --help display this help and exit
1414 --help=short display options specific to this package
1415 --help=recursive display the short help of all the included packages
1416 -V, --version display version information and exit
1417 -q, --quiet, --silent do not print \`checking...' messages
1418 --cache-file=FILE cache test results in FILE [disabled]
1419 -C, --config-cache alias for \`--cache-file=config.cache'
1420 -n, --no-create do not create output files
1421 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1423 Installation directories:
1424 --prefix=PREFIX install architecture-independent files in PREFIX
1425 [$ac_default_prefix]
1426 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1429 By default, \`make install' will install all the files in
1430 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1431 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1432 for instance \`--prefix=\$HOME'.
1434 For better control, use the options below.
1436 Fine tuning of the installation directories:
1437 --bindir=DIR user executables [EPREFIX/bin]
1438 --sbindir=DIR system admin executables [EPREFIX/sbin]
1439 --libexecdir=DIR program executables [EPREFIX/libexec]
1440 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1441 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1442 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1443 --libdir=DIR object code libraries [EPREFIX/lib]
1444 --includedir=DIR C header files [PREFIX/include]
1445 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1446 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1447 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1448 --infodir=DIR info documentation [DATAROOTDIR/info]
1449 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1450 --mandir=DIR man documentation [DATAROOTDIR/man]
1451 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1452 --htmldir=DIR html documentation [DOCDIR]
1453 --dvidir=DIR dvi documentation [DOCDIR]
1454 --pdfdir=DIR pdf documentation [DOCDIR]
1455 --psdir=DIR ps documentation [DOCDIR]
1461 --program-prefix=PREFIX prepend PREFIX to installed program names
1462 --program-suffix=SUFFIX append SUFFIX to installed program names
1463 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1466 --build=BUILD configure
for building on BUILD
[guessed
]
1467 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1468 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1472 if test -n "$ac_init_help"; then
1473 case $ac_init_help in
1474 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1479 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1480 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1481 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1482 --enable-intermodule build the library
in one step
1483 --enable-maintainer-mode enable make rules and dependencies not useful
1484 (and sometimes confusing
) to the casual installer
1485 --enable-multilib build many library versions
(default
)
1486 --disable-dependency-tracking speeds up one-time build
1487 --enable-dependency-tracking do not reject slow dependency extractors
1488 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1489 --enable-static[=PKGS
] build static libraries
[default
=yes]
1490 --enable-fast-install[=PKGS
]
1491 optimize
for fast installation
[default
=yes]
1492 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1493 --disable-largefile omit support
for large files
1496 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1497 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1498 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1499 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1501 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1503 Some influential environment variables
:
1504 CC C compiler
command
1505 CFLAGS C compiler flags
1506 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1507 nonstandard directory
<lib dir
>
1508 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1509 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1510 you have headers
in a nonstandard directory
<include dir
>
1512 FC Fortran compiler
command
1513 FCFLAGS Fortran compiler flags
1515 Use these variables to override the choices made by
`configure' or to help
1516 it to find libraries and programs with nonstandard names/locations.
1522 if test "$ac_init_help" = "recursive"; then
1523 # If there are subdirs, report their specific --help.
1524 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1525 test -d "$ac_dir" || continue
1529 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1531 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1532 # A ".." for each directory in $ac_dir_suffix.
1533 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1534 case $ac_top_builddir_sub in
1535 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1536 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1539 ac_abs_top_builddir=$ac_pwd
1540 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1541 # for backward compatibility:
1542 ac_top_builddir=$ac_top_build_prefix
1545 .) # We are building in place.
1547 ac_top_srcdir=$ac_top_builddir_sub
1548 ac_abs_top_srcdir=$ac_pwd ;;
1549 [\\/]* | ?:[\\/]* ) # Absolute name.
1550 ac_srcdir=$srcdir$ac_dir_suffix;
1551 ac_top_srcdir=$srcdir
1552 ac_abs_top_srcdir=$srcdir ;;
1554 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1555 ac_top_srcdir=$ac_top_build_prefix$srcdir
1556 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1558 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1560 cd "$ac_dir" || { ac_status=$?; continue; }
1561 # Check for guested configure.
1562 if test -f "$ac_srcdir/configure.gnu"; then
1564 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1565 elif test -f "$ac_srcdir/configure"; then
1567 $SHELL "$ac_srcdir/configure" --help=recursive
1569 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1571 cd "$ac_pwd" || { ac_status=$?; break; }
1575 test -n "$ac_init_help" && exit $ac_status
1576 if $ac_init_version; then
1578 GNU Fortran Runtime Library configure 0.3
1579 generated by GNU Autoconf 2.61
1581 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1582 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1583 This configure script is free software; the Free Software Foundation
1584 gives unlimited permission to copy, distribute and modify it.
1588 cat >config.log <<_ACEOF
1589 This file contains any messages produced by compilers while
1590 running configure, to aid debugging if configure makes a mistake.
1592 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
1593 generated by GNU Autoconf 2.61. Invocation command line was
1605 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1606 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1607 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1608 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1609 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1611 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1612 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1614 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1615 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1616 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1617 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1618 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1619 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1620 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1628 test -z "$as_dir" && as_dir=.
1629 echo "PATH: $as_dir"
1645 # Keep a trace of the command line.
1646 # Strip out --no-create and --no-recursion so they do not pile up.
1647 # Strip out --silent because we don't want to record it for future runs.
1648 # Also quote any args containing shell meta-characters.
1649 # Make two passes to allow for proper duplicate-argument suppression.
1653 ac_must_keep_next=false
1659 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1660 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1661 | -silent | --silent | --silen | --sile | --sil)
1664 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1667 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1669 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1670 if test $ac_must_keep_next = true; then
1671 ac_must_keep_next=false # Got value, back to normal.
1674 *=* | --config-cache | -C | -disable-* | --disable-* \
1675 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1676 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1677 | -with-* | --with-* | -without-* | --without-* | --x)
1678 case "$ac_configure_args0 " in
1679 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1682 -* ) ac_must_keep_next=true ;;
1685 ac_configure_args="$ac_configure_args '$ac_arg'"
1690 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1691 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1693 # When interrupted or exit'd, cleanup temporary files, and complete
1694 # config.log. We remove comments because anyway the quotes in there
1695 # would cause problems or look ugly.
1696 # WARNING: Use '\'' to represent an apostrophe within the trap.
1697 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1698 trap 'exit_status=$?
1699 # Save into config.log some information that might help in debugging.
1704 ## ---------------- ##
1705 ## Cache variables. ##
1706 ## ---------------- ##
1709 # The following way of writing the cache mishandles newlines in values,
1711 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1712 eval ac_val=\$$ac_var
1716 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1717 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1720 _ | IFS | as_nl) ;; #(
1721 *) $as_unset $ac_var ;;
1726 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1727 *${as_nl}ac_space=\ *)
1729 "s/'\''/'\''\\\\'\'''\''/g;
1730 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1733 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1741 ## ----------------- ##
1742 ## Output variables. ##
1743 ## ----------------- ##
1746 for ac_var in $ac_subst_vars
1748 eval ac_val=\$$ac_var
1750 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1752 echo "$ac_var='\''$ac_val'\''"
1756 if test -n "$ac_subst_files"; then
1758 ## ------------------- ##
1759 ## File substitutions. ##
1760 ## ------------------- ##
1763 for ac_var in $ac_subst_files
1765 eval ac_val=\$$ac_var
1767 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1769 echo "$ac_var='\''$ac_val'\''"
1774 if test -s confdefs.h; then
1784 test "$ac_signal" != 0 &&
1785 echo "$as_me: caught signal $ac_signal"
1786 echo "$as_me: exit $exit_status"
1788 rm -f core *.core core.conftest.* &&
1789 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1792 for ac_signal in 1 2 13 15; do
1793 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1797 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1798 rm -f -r conftest* confdefs.h
1800 # Predefined preprocessor variables.
1802 cat >>confdefs.h <<_ACEOF
1803 #define PACKAGE_NAME "$PACKAGE_NAME"
1807 cat >>confdefs.h <<_ACEOF
1808 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1812 cat >>confdefs.h <<_ACEOF
1813 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1817 cat >>confdefs.h <<_ACEOF
1818 #define PACKAGE_STRING "$PACKAGE_STRING"
1822 cat >>confdefs.h <<_ACEOF
1823 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1827 # Let the site file select an alternate cache file if it wants to.
1828 # Prefer explicitly selected file to automatically selected ones.
1829 if test -n "$CONFIG_SITE"; then
1830 set x "$CONFIG_SITE"
1831 elif test "x$prefix" != xNONE; then
1832 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1834 set x "$ac_default_prefix/share/config.site" \
1835 "$ac_default_prefix/etc/config.site"
1840 if test -r "$ac_site_file"; then
1841 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1842 echo "$as_me: loading site script $ac_site_file" >&6;}
1843 sed 's/^/| /' "$ac_site_file" >&5
1848 if test -r "$cache_file"; then
1849 # Some versions of bash will fail to source /dev/null (special
1850 # files actually), so we avoid doing that.
1851 if test -f "$cache_file"; then
1852 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1853 echo "$as_me: loading cache $cache_file" >&6;}
1855 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1856 *) . "./$cache_file";;
1860 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1861 echo "$as_me: creating cache $cache_file" >&6;}
1865 # Check that the precious variables saved in the cache have kept the same
1867 ac_cache_corrupted=false
1868 for ac_var in $ac_precious_vars; do
1869 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1870 eval ac_new_set=\$ac_env_${ac_var}_set
1871 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1872 eval ac_new_val=\$ac_env_${ac_var}_value
1873 case $ac_old_set,$ac_new_set in
1875 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1876 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1877 ac_cache_corrupted=: ;;
1879 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1880 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1881 ac_cache_corrupted=: ;;
1884 if test "x$ac_old_val" != "x$ac_new_val"; then
1885 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1886 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1887 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1888 echo "$as_me: former value
: $ac_old_val" >&2;}
1889 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1890 echo "$as_me: current value
: $ac_new_val" >&2;}
1891 ac_cache_corrupted=:
1894 # Pass precious variables to config.status.
1895 if test "$ac_new_set" = set; then
1897 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1898 *) ac_arg=$ac_var=$ac_new_val ;;
1900 case " $ac_configure_args " in
1901 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1902 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1906 if $ac_cache_corrupted; then
1907 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1908 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1909 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1910 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1911 { (exit 1); exit 1; }; }
1939 ac_cpp='$CPP $CPPFLAGS'
1940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1945 ac_config_headers="$ac_config_headers config.h"
1948 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1949 if test -f "$ac_dir/install-sh"; then
1951 ac_install_sh="$ac_aux_dir/install-sh -c"
1953 elif test -f "$ac_dir/install.sh"; then
1955 ac_install_sh="$ac_aux_dir/install.sh -c"
1957 elif test -f "$ac_dir/shtool"; then
1959 ac_install_sh="$ac_aux_dir/shtool install -c"
1963 if test -z "$ac_aux_dir"; then
1964 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1965 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1966 { (exit 1); exit 1; }; }
1969 # These three variables are undocumented and unsupported,
1970 # and are intended to be withdrawn in a future Autoconf release.
1971 # They can cause serious problems if a builder's source tree is in a directory
1972 # whose full name contains unusual characters.
1973 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1974 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1975 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1978 # Make sure we can run config.sub.
1979 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1980 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1981 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1982 { (exit 1); exit 1; }; }
1984 { echo "$as_me:$LINENO: checking build system type" >&5
1985 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1986 if test "${ac_cv_build+set}" = set; then
1987 echo $ECHO_N "(cached) $ECHO_C" >&6
1989 ac_build_alias=$build_alias
1990 test "x$ac_build_alias" = x &&
1991 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1992 test "x$ac_build_alias" = x &&
1993 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1994 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1995 { (exit 1); exit 1; }; }
1996 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1997 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1998 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1999 { (exit 1); exit 1; }; }
2002 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2003 echo "${ECHO_T}$ac_cv_build" >&6; }
2004 case $ac_cv_build in
2006 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2007 echo "$as_me: error: invalid value of canonical build" >&2;}
2008 { (exit 1); exit 1; }; };;
2011 ac_save_IFS=$IFS; IFS='-'
2017 # Remember, the first character of IFS is used to create $*,
2018 # except with old shells:
2021 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2024 case ${build_alias} in
2025 "") build_noncanonical=${build} ;;
2026 *) build_noncanonical=${build_alias} ;;
2029 case ${host_alias} in
2030 "") host_noncanonical=${build_noncanonical} ;;
2031 *) host_noncanonical=${host_alias} ;;
2034 case ${target_alias} in
2035 "") target_noncanonical=${host_noncanonical} ;;
2036 *) target_noncanonical=${target_alias} ;;
2040 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2041 # have matching libraries, they should use host libraries: Makefile.tpl
2042 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2043 # However, they still use the build modules, because the corresponding
2044 # host modules (e.g. bison) are only built for the host when bootstrap
2046 # - build_subdir is where we find build modules, and never changes.
2047 # - build_libsubdir is where we find build libraries, and can be overridden.
2049 # Prefix 'build-' so this never conflicts with target_subdir.
2050 build_subdir="build-${build_noncanonical}"
2052 # Check whether --with-build-libsubdir was given.
2053 if test "${with_build_libsubdir+set}" = set; then
2054 withval=$with_build_libsubdir; build_libsubdir="$withval"
2056 build_libsubdir="$build_subdir"
2059 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2060 if ( test $srcdir = . && test -d gcc ) \
2061 || test -d $srcdir/../host-${host_noncanonical}; then
2062 host_subdir="host-${host_noncanonical}"
2067 target_subdir=${target_noncanonical}
2074 { echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
2075 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6; }
2076 # Check whether --enable-version-specific-runtime-libs was given.
2077 if test "${enable_version_specific_runtime_libs+set}" = set; then
2078 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2079 yes) version_specific_libs=yes ;;
2080 no) version_specific_libs=no ;;
2081 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
2082 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
2083 { (exit 1); exit 1; }; };;
2086 version_specific_libs=no
2089 { echo "$as_me:$LINENO: result: $version_specific_libs" >&5
2090 echo "${ECHO_T}$version_specific_libs" >&6; }
2092 # Build with intermodule optimisations
2093 { echo "$as_me:$LINENO: checking for --enable-intermodule" >&5
2094 echo $ECHO_N "checking for --enable-intermodule... $ECHO_C" >&6; }
2095 # Check whether --enable-intermodule was given.
2096 if test "${enable_intermodule+set}" = set; then
2097 enableval=$enable_intermodule; case "$enable_intermodule" in
2098 yes) onestep="-onestep";;
2105 { echo "$as_me:$LINENO: result: $enable_intermodule" >&5
2106 echo "${ECHO_T}$enable_intermodule" >&6; }
2109 if test x$onestep = x-onestep; then
2119 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2121 # You will slowly go insane if you do not grok the following fact: when
2122 # building this library, the top-level /target/ becomes the library's /host/.
2124 # configure then causes --target to default to --host, exactly like any
2125 # other package using autoconf. Therefore, 'target' and 'host' will
2126 # always be the same. This makes sense both for native and cross compilers
2127 # just think about it for a little while. :-)
2129 # Also, if this library is being configured as part of a cross compiler, the
2130 # top-level configure script will pass the "real" host as $with_cross_host.
2132 # Do not delete or change the following two lines. For why, see
2133 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2134 { echo "$as_me:$LINENO: checking host system type" >&5
2135 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2136 if test "${ac_cv_host+set}" = set; then
2137 echo $ECHO_N "(cached) $ECHO_C" >&6
2139 if test "x$host_alias" = x; then
2140 ac_cv_host=$ac_cv_build
2142 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2143 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2144 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2145 { (exit 1); exit 1; }; }
2149 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2150 echo "${ECHO_T}$ac_cv_host" >&6; }
2153 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2154 echo "$as_me: error: invalid value of canonical host" >&2;}
2155 { (exit 1); exit 1; }; };;
2158 ac_save_IFS=$IFS; IFS='-'
2164 # Remember, the first character of IFS is used to create $*,
2165 # except with old shells:
2168 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2171 { echo "$as_me:$LINENO: checking target system type" >&5
2172 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2173 if test "${ac_cv_target+set}" = set; then
2174 echo $ECHO_N "(cached) $ECHO_C" >&6
2176 if test "x$target_alias" = x; then
2177 ac_cv_target=$ac_cv_host
2179 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2180 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2181 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2182 { (exit 1); exit 1; }; }
2186 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2187 echo "${ECHO_T}$ac_cv_target" >&6; }
2188 case $ac_cv_target in
2190 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2191 echo "$as_me: error: invalid value of canonical target" >&2;}
2192 { (exit 1); exit 1; }; };;
2194 target=$ac_cv_target
2195 ac_save_IFS=$IFS; IFS='-'
2201 # Remember, the first character of IFS is used to create $*,
2202 # except with old shells:
2205 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2208 # The aliases save the names the user supplied, while $host etc.
2209 # will get canonicalized.
2210 test -n "$target_alias" &&
2211 test "$program_prefix$program_suffix$program_transform_name" = \
2213 program_prefix=${target_alias}-
2214 target_alias=${target_alias-$host_alias}
2216 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2217 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2218 # 1.9.6: minimum required version
2219 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2220 # of other PACKAGE_* variables will, however, and there's nothing
2221 # we can do about that; they come from AC_INIT).
2222 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2223 # file in the top srcdir, etc, etc), so stop complaining.
2224 # -Wall: turns on all automake warnings...
2225 # -Wno-portability: ...except this one, since GNU make is required.
2226 am__api_version="1.9"
2227 # Find a good install program. We prefer a C program (faster),
2228 # so one script is as good as another. But avoid the broken or
2229 # incompatible versions:
2230 # SysV /etc/install, /usr/sbin/install
2231 # SunOS /usr/etc/install
2232 # IRIX /sbin/install
2234 # AmigaOS /C/install, which installs bootblocks on floppy discs
2235 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2236 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2237 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2238 # OS/2's system install, which has a completely different semantic
2239 # ./install, which can be erroneously created by make from ./install.sh.
2240 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2241 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2242 if test -z "$INSTALL"; then
2243 if test "${ac_cv_path_install+set}" = set; then
2244 echo $ECHO_N "(cached) $ECHO_C" >&6
2246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2250 test -z "$as_dir" && as_dir=.
2251 # Account for people who put trailing slashes in PATH elements.
2253 ./ | .// | /cC/* | \
2254 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2255 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2258 # OSF1 and SCO ODT 3.0 have their own names for install.
2259 # Don't use installbsd from OSF since it installs stuff as root
2261 for ac_prog in ginstall scoinst install; do
2262 for ac_exec_ext in '' $ac_executable_extensions; do
2263 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2264 if test $ac_prog = install &&
2265 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2266 # AIX install. It has an incompatible calling convention.
2268 elif test $ac_prog = install &&
2269 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2270 # program-specific install script used by HP pwplus--don't use.
2273 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2286 if test "${ac_cv_path_install+set}" = set; then
2287 INSTALL=$ac_cv_path_install
2289 # As a last resort, use the slow shell script. Don't cache a
2290 # value for INSTALL within a source directory, because that will
2291 # break other packages using the cache if that directory is
2292 # removed, or if the value is a relative name.
2293 INSTALL=$ac_install_sh
2296 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2297 echo "${ECHO_T}$INSTALL" >&6; }
2299 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2300 # It thinks the first close brace ends the variable substitution.
2301 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2303 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2305 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2307 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2308 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2311 echo timestamp > conftest.file
2312 # Do `set' in a subshell so we don't clobber the current shell
's
2313 # arguments. Must try -L first in case configure is actually a
2314 # symlink; some systems play weird games with the mod time of symlinks
2315 # (eg FreeBSD returns the mod time of the symlink's containing
2318 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2319 if test "$*" = "X"; then
2321 set X
`ls -t $srcdir/configure conftest.file`
2324 if test "$*" != "X $srcdir/configure conftest.file" \
2325 && test "$*" != "X conftest.file $srcdir/configure"; then
2327 # If neither matched, then we have a broken ls. This can happen
2328 # if, for instance, CONFIG_SHELL is bash and it inherits a
2329 # broken ls alias from the environment. This has actually
2330 # happened. Such a system could not be considered "sane".
2331 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2332 alias in your environment" >&5
2333 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2334 alias in your environment" >&2;}
2335 { (exit 1); exit 1; }; }
2338 test "$2" = conftest.
file
2344 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2345 Check your system clock" >&5
2346 echo "$as_me: error: newly created file is older than distributed files!
2347 Check your system clock" >&2;}
2348 { (exit 1); exit 1; }; }
2350 { echo "$as_me:$LINENO: result: yes" >&5
2351 echo "${ECHO_T}yes" >&6; }
2352 test "$program_prefix" != NONE
&&
2353 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2354 # Use a double $ so make ignores it.
2355 test "$program_suffix" != NONE
&&
2356 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2357 # Double any \ or $. echo might interpret backslashes.
2358 # By default was `s,x,x', remove it if useless.
2359 cat <<\_ACEOF
>conftest.
sed
2360 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2362 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2365 # expand $ac_aux_dir to an absolute path
2366 am_aux_dir
=`cd $ac_aux_dir && pwd`
2368 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2369 # Use eval to expand $SHELL
2370 if eval "$MISSING --run true"; then
2371 am_missing_run
="$MISSING --run "
2374 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2375 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2378 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2379 # We used to keeping the `.' as first argument, in order to
2380 # allow $(mkdir_p) to be used without argument. As in
2381 # $(mkdir_p) $(somedir)
2382 # where $(somedir) is conditionally defined. However this is wrong
2384 # 1. if the package is installed by a user who cannot write `.'
2385 # make install will fail,
2386 # 2. the above comment should most certainly read
2387 # $(mkdir_p) $(DESTDIR)$(somedir)
2388 # so it does not work when $(somedir) is undefined and
2389 # $(DESTDIR) is not.
2390 # To support the latter case, we have to write
2391 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2392 # so the `.' trick is pointless.
2393 mkdir_p
='mkdir -p --'
2395 # On NextStep and OpenStep, the `mkdir' command does not
2396 # recognize any option. It will interpret all options as
2397 # directories to create, and then abort because `.' already
2399 for d
in .
/-p .
/--version;
2401 test -d $d && rmdir $d
2403 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2404 if test -f "$ac_aux_dir/mkinstalldirs"; then
2405 mkdir_p
='$(mkinstalldirs)'
2407 mkdir_p
='$(install_sh) -d'
2411 for ac_prog
in gawk mawk nawk
awk
2413 # Extract the first word of "$ac_prog", so it can be a program name with args.
2414 set dummy
$ac_prog; ac_word
=$2
2415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2417 if test "${ac_cv_prog_AWK+set}" = set; then
2418 echo $ECHO_N "(cached) $ECHO_C" >&6
2420 if test -n "$AWK"; then
2421 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2427 test -z "$as_dir" && as_dir
=.
2428 for ac_exec_ext
in '' $ac_executable_extensions; do
2429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2430 ac_cv_prog_AWK
="$ac_prog"
2431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2441 if test -n "$AWK"; then
2442 { echo "$as_me:$LINENO: result: $AWK" >&5
2443 echo "${ECHO_T}$AWK" >&6; }
2445 { echo "$as_me:$LINENO: result: no" >&5
2446 echo "${ECHO_T}no" >&6; }
2450 test -n "$AWK" && break
2453 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2454 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2455 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2456 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2457 echo $ECHO_N "(cached) $ECHO_C" >&6
2459 cat >conftest.
make <<\_ACEOF
2462 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2464 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2465 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2467 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2469 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2473 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2474 { echo "$as_me:$LINENO: result: yes" >&5
2475 echo "${ECHO_T}yes" >&6; }
2478 { echo "$as_me:$LINENO: result: no" >&5
2479 echo "${ECHO_T}no" >&6; }
2480 SET_MAKE
="MAKE=${MAKE-make}"
2483 rm -rf .tst
2>/dev
/null
2484 mkdir .tst
2>/dev
/null
2485 if test -d .tst
; then
2490 rmdir .tst
2>/dev
/null
2492 # test to see if srcdir already configured
2493 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2494 test -f $srcdir/config.status
; then
2495 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2496 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2497 { (exit 1); exit 1; }; }
2500 # test whether we have cygpath
2501 if test -z "$CYGPATH_W"; then
2502 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2503 CYGPATH_W
='cygpath -w'
2510 # Define the identity of the package.
2511 PACKAGE
='libgfortran'
2515 # Some tools Automake needs.
2517 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2520 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2523 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2526 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2529 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2531 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2533 # Installed binaries are usually stripped using `strip' when the user
2534 # run `make install-strip'. However `strip' might not be the right
2535 # tool to use in cross-compilation environments, therefore Automake
2536 # will honor the `STRIP' environment variable to overrule this program.
2537 if test "$cross_compiling" != no
; then
2538 if test -n "$ac_tool_prefix"; then
2539 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2540 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2541 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2543 if test "${ac_cv_prog_STRIP+set}" = set; then
2544 echo $ECHO_N "(cached) $ECHO_C" >&6
2546 if test -n "$STRIP"; then
2547 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2553 test -z "$as_dir" && as_dir
=.
2554 for ac_exec_ext
in '' $ac_executable_extensions; do
2555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2556 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2566 STRIP
=$ac_cv_prog_STRIP
2567 if test -n "$STRIP"; then
2568 { echo "$as_me:$LINENO: result: $STRIP" >&5
2569 echo "${ECHO_T}$STRIP" >&6; }
2571 { echo "$as_me:$LINENO: result: no" >&5
2572 echo "${ECHO_T}no" >&6; }
2577 if test -z "$ac_cv_prog_STRIP"; then
2579 # Extract the first word of "strip", so it can be a program name with args.
2580 set dummy strip
; ac_word
=$2
2581 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2583 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2584 echo $ECHO_N "(cached) $ECHO_C" >&6
2586 if test -n "$ac_ct_STRIP"; then
2587 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2593 test -z "$as_dir" && as_dir
=.
2594 for ac_exec_ext
in '' $ac_executable_extensions; do
2595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2596 ac_cv_prog_ac_ct_STRIP
="strip"
2597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2606 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2607 if test -n "$ac_ct_STRIP"; then
2608 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2609 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2611 { echo "$as_me:$LINENO: result: no" >&5
2612 echo "${ECHO_T}no" >&6; }
2615 if test "x$ac_ct_STRIP" = x
; then
2618 case $cross_compiling:$ac_tool_warned in
2620 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2621 whose name does not start with the host triplet. If you think this
2622 configuration is useful to you, please write to autoconf@gnu.org." >&5
2623 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2624 whose name does not start with the host triplet. If you think this
2625 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2626 ac_tool_warned
=yes ;;
2631 STRIP
="$ac_cv_prog_STRIP"
2635 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2637 # We need awk for the "check" target. The system "awk" is bad on
2639 # Always define AMTAR for backward compatibility.
2641 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2643 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2650 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2651 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2652 # Check whether --enable-maintainer-mode was given.
2653 if test "${enable_maintainer_mode+set}" = set; then
2654 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2656 USE_MAINTAINER_MODE
=no
2659 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2660 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2663 if test $USE_MAINTAINER_MODE = yes; then
2664 MAINTAINER_MODE_TRUE
=
2665 MAINTAINER_MODE_FALSE
='#'
2667 MAINTAINER_MODE_TRUE
='#'
2668 MAINTAINER_MODE_FALSE
=
2671 MAINT
=$MAINTAINER_MODE_TRUE
2674 # Default to --enable-multilib
2675 # Check whether --enable-multilib was given.
2676 if test "${enable_multilib+set}" = set; then
2677 enableval
=$enable_multilib; case "$enableval" in
2678 yes) multilib
=yes ;;
2680 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
2681 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
2682 { (exit 1); exit 1; }; } ;;
2689 # We may get other options which we leave undocumented:
2690 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2691 # See config-ml.in if you want the gory details.
2693 if test "$srcdir" = "."; then
2694 if test "$with_target_subdir" != "."; then
2695 multi_basedir
="$srcdir/$with_multisrctop../.."
2697 multi_basedir
="$srcdir/$with_multisrctop.."
2700 multi_basedir
="$srcdir/.."
2704 # Even if the default multilib is not a cross compilation,
2705 # it may be that some of the other multilibs are.
2706 if test $cross_compiling = no
&& test $multilib = yes \
2707 && test "x${with_multisubdir}" != x
; then
2708 cross_compiling
=maybe
2711 ac_config_commands
="$ac_config_commands default-1"
2714 # Handy for debugging:
2715 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2717 # Are we being configured with some form of cross compiler?
2718 # NB: We don't actually need to know this just now, but when, say, a test
2719 # suite is included, we'll have to know.
2720 if test "$build" != "$host"; then
2721 LIBGFOR_IS_NATIVE
=false
2724 LIBGFOR_IS_NATIVE
=true
2727 # Calculate toolexeclibdir
2728 # Also toolexecdir, though it's only used in toolexeclibdir
2729 case ${version_specific_libs} in
2731 # Need the gcc compiler version to know where to install libraries
2732 # and header files if --enable-version-specific-runtime-libs option
2734 toolexecdir
='$(libdir)/gcc/$(target_alias)'
2735 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2738 if test -n "$with_cross_host" &&
2739 test x
"$with_cross_host" != x
"no"; then
2740 # Install a library built with a cross compiler in tooldir, not libdir.
2741 toolexecdir
='$(exec_prefix)/$(target_alias)'
2742 toolexeclibdir
='$(toolexecdir)/lib'
2744 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
2745 toolexeclibdir
='$(libdir)'
2747 multi_os_directory
=`$CC -print-multi-os-directory`
2748 case $multi_os_directory in
2749 .
) ;; # Avoid trailing /.
2750 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
2757 # Check the compiler.
2758 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2759 # We must force CC to /not/ be precious variables; otherwise
2760 # the wrong, non-multilib-adjusted value will be used in multilibs.
2761 # As a side effect, we have to subst CFLAGS ourselves.
2766 ac_cpp
='$CPP $CPPFLAGS'
2767 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2768 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2769 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2770 if test -n "$ac_tool_prefix"; then
2771 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2772 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2773 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2775 if test "${ac_cv_prog_CC+set}" = set; then
2776 echo $ECHO_N "(cached) $ECHO_C" >&6
2778 if test -n "$CC"; then
2779 ac_cv_prog_CC
="$CC" # Let the user override the test.
2781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2785 test -z "$as_dir" && as_dir
=.
2786 for ac_exec_ext
in '' $ac_executable_extensions; do
2787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2788 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2799 if test -n "$CC"; then
2800 { echo "$as_me:$LINENO: result: $CC" >&5
2801 echo "${ECHO_T}$CC" >&6; }
2803 { echo "$as_me:$LINENO: result: no" >&5
2804 echo "${ECHO_T}no" >&6; }
2809 if test -z "$ac_cv_prog_CC"; then
2811 # Extract the first word of "gcc", so it can be a program name with args.
2812 set dummy gcc
; ac_word
=$2
2813 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2815 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2816 echo $ECHO_N "(cached) $ECHO_C" >&6
2818 if test -n "$ac_ct_CC"; then
2819 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2825 test -z "$as_dir" && as_dir
=.
2826 for ac_exec_ext
in '' $ac_executable_extensions; do
2827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2828 ac_cv_prog_ac_ct_CC
="gcc"
2829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2838 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2839 if test -n "$ac_ct_CC"; then
2840 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2841 echo "${ECHO_T}$ac_ct_CC" >&6; }
2843 { echo "$as_me:$LINENO: result: no" >&5
2844 echo "${ECHO_T}no" >&6; }
2847 if test "x$ac_ct_CC" = x
; then
2850 case $cross_compiling:$ac_tool_warned in
2852 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2853 whose name does not start with the host triplet. If you think this
2854 configuration is useful to you, please write to autoconf@gnu.org." >&5
2855 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2856 whose name does not start with the host triplet. If you think this
2857 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2858 ac_tool_warned
=yes ;;
2866 if test -z "$CC"; then
2867 if test -n "$ac_tool_prefix"; then
2868 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2869 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2872 if test "${ac_cv_prog_CC+set}" = set; then
2873 echo $ECHO_N "(cached) $ECHO_C" >&6
2875 if test -n "$CC"; then
2876 ac_cv_prog_CC
="$CC" # Let the user override the test.
2878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2882 test -z "$as_dir" && as_dir
=.
2883 for ac_exec_ext
in '' $ac_executable_extensions; do
2884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2885 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2896 if test -n "$CC"; then
2897 { echo "$as_me:$LINENO: result: $CC" >&5
2898 echo "${ECHO_T}$CC" >&6; }
2900 { echo "$as_me:$LINENO: result: no" >&5
2901 echo "${ECHO_T}no" >&6; }
2907 if test -z "$CC"; then
2908 # Extract the first word of "cc", so it can be a program name with args.
2909 set dummy cc
; ac_word
=$2
2910 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2912 if test "${ac_cv_prog_CC+set}" = set; then
2913 echo $ECHO_N "(cached) $ECHO_C" >&6
2915 if test -n "$CC"; then
2916 ac_cv_prog_CC
="$CC" # Let the user override the test.
2919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2923 test -z "$as_dir" && as_dir
=.
2924 for ac_exec_ext
in '' $ac_executable_extensions; do
2925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2926 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2927 ac_prog_rejected
=yes
2931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2938 if test $ac_prog_rejected = yes; then
2939 # We found a bogon in the path, so make sure we never use it.
2940 set dummy
$ac_cv_prog_CC
2942 if test $# != 0; then
2943 # We chose a different compiler from the bogus one.
2944 # However, it has the same basename, so the bogon will be chosen
2945 # first if we set CC to just the basename; use the full file name.
2947 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2953 if test -n "$CC"; then
2954 { echo "$as_me:$LINENO: result: $CC" >&5
2955 echo "${ECHO_T}$CC" >&6; }
2957 { echo "$as_me:$LINENO: result: no" >&5
2958 echo "${ECHO_T}no" >&6; }
2963 if test -z "$CC"; then
2964 if test -n "$ac_tool_prefix"; then
2965 for ac_prog
in cl.exe
2967 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2968 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2971 if test "${ac_cv_prog_CC+set}" = set; then
2972 echo $ECHO_N "(cached) $ECHO_C" >&6
2974 if test -n "$CC"; then
2975 ac_cv_prog_CC
="$CC" # Let the user override the test.
2977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2981 test -z "$as_dir" && as_dir
=.
2982 for ac_exec_ext
in '' $ac_executable_extensions; do
2983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2984 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2995 if test -n "$CC"; then
2996 { echo "$as_me:$LINENO: result: $CC" >&5
2997 echo "${ECHO_T}$CC" >&6; }
2999 { echo "$as_me:$LINENO: result: no" >&5
3000 echo "${ECHO_T}no" >&6; }
3004 test -n "$CC" && break
3007 if test -z "$CC"; then
3009 for ac_prog
in cl.exe
3011 # Extract the first word of "$ac_prog", so it can be a program name with args.
3012 set dummy
$ac_prog; ac_word
=$2
3013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3015 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3016 echo $ECHO_N "(cached) $ECHO_C" >&6
3018 if test -n "$ac_ct_CC"; then
3019 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3025 test -z "$as_dir" && as_dir
=.
3026 for ac_exec_ext
in '' $ac_executable_extensions; do
3027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3028 ac_cv_prog_ac_ct_CC
="$ac_prog"
3029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3038 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3039 if test -n "$ac_ct_CC"; then
3040 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3041 echo "${ECHO_T}$ac_ct_CC" >&6; }
3043 { echo "$as_me:$LINENO: result: no" >&5
3044 echo "${ECHO_T}no" >&6; }
3048 test -n "$ac_ct_CC" && break
3051 if test "x$ac_ct_CC" = x
; then
3054 case $cross_compiling:$ac_tool_warned in
3056 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3057 whose name does not start with the host triplet. If you think this
3058 configuration is useful to you, please write to autoconf@gnu.org." >&5
3059 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3060 whose name does not start with the host triplet. If you think this
3061 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3062 ac_tool_warned
=yes ;;
3071 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3072 See \`config.log' for more details." >&5
3073 echo "$as_me: error: no acceptable C compiler found in \$PATH
3074 See \`config.log' for more details." >&2;}
3075 { (exit 1); exit 1; }; }
3077 # Provide some information about the compiler.
3078 echo "$as_me:$LINENO: checking for C compiler version" >&5
3079 ac_compiler
=`set X $ac_compile; echo $2`
3080 { (ac_try
="$ac_compiler --version >&5"
3082 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3083 *) ac_try_echo=$ac_try;;
3085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3086 (eval "$ac_compiler --version >&5") 2>&5
3088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3089 (exit $ac_status); }
3090 { (ac_try="$ac_compiler -v >&5"
3092 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3093 *) ac_try_echo
=$ac_try;;
3095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3096 (eval "$ac_compiler -v >&5") 2>&5
3098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099 (exit $ac_status); }
3100 { (ac_try
="$ac_compiler -V >&5"
3102 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3103 *) ac_try_echo=$ac_try;;
3105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3106 (eval "$ac_compiler -V >&5") 2>&5
3108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109 (exit $ac_status); }
3111 cat >conftest.$ac_ext <<_ACEOF
3114 cat confdefs.h >>conftest.$ac_ext
3115 cat >>conftest.$ac_ext <<_ACEOF
3116 /* end confdefs.h. */
3127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3128 (eval $ac_link) 2>&5
3130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131 (exit $ac_status); }; then
3137 if test x$gcc_no_link = xyes; then
3138 # Setting cross_compile will disable run tests; it will
3139 # also disable AC_CHECK_FILE but that's generally
3140 # correct if we can't link.
3144 cat >conftest.$ac_ext <<_ACEOF
3147 cat confdefs.h >>conftest.$ac_ext
3148 cat >>conftest.$ac_ext <<_ACEOF
3149 /* end confdefs.h. */
3159 ac_clean_files_save=$ac_clean_files
3160 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3161 # Try to create an executable without -o first, disregard a.out.
3162 # It will help us diagnose broken compilers, and finding out an intuition
3164 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3165 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3166 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3168 # List of possible output files, starting from the most likely.
3169 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
3170 # only as a last resort. b.out is created by i960 compilers.
3171 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
3173 # The IRIX 6 linker writes into existing files which may not be
3174 # executable, retaining their permissions. Remove them first so a
3175 # subsequent execution test works.
3177 for ac_file in $ac_files
3180 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3181 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3186 if { (ac_try="$ac_link_default"
3188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3189 *) ac_try_echo=$ac_try;;
3191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3192 (eval "$ac_link_default") 2>&5
3194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3195 (exit $ac_status); }; then
3196 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3197 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3198 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3199 # so that the user can short-circuit this test for compilers unknown to
3201 for ac_file
in $ac_files ''
3203 test -f "$ac_file" ||
continue
3205 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
3208 # We found the default executable, but exeext='' is most
3212 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3214 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3216 # We set ac_cv_exeext here because the later test for it is not
3217 # safe: cross compilers may not add the suffix if given an `-o'
3218 # argument, so we may need to know it at that point already.
3219 # Even if this section looks crufty: it has the advantage of
3226 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3232 { echo "$as_me:$LINENO: result: $ac_file" >&5
3233 echo "${ECHO_T}$ac_file" >&6; }
3234 if test -z "$ac_file"; then
3235 echo "$as_me: failed program was:" >&5
3236 sed 's/^/| /' conftest.
$ac_ext >&5
3238 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3239 See \`config.log' for more details." >&5
3240 echo "$as_me: error: C compiler cannot create executables
3241 See \`config.log' for more details." >&2;}
3242 { (exit 77); exit 77; }; }
3245 ac_exeext
=$ac_cv_exeext
3247 # Check that the compiler produces executables we can run. If not, either
3248 # the compiler is broken, or we cross compile.
3249 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3250 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3251 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3252 # If not cross compiling, check that we can run a simple program.
3253 if test "$cross_compiling" != yes; then
3254 if { ac_try
='./$ac_file'
3255 { (case "(($ac_try" in
3256 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3257 *) ac_try_echo=$ac_try;;
3259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3260 (eval "$ac_try") 2>&5
3262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263 (exit $ac_status); }; }; then
3266 if test "$cross_compiling" = maybe; then
3269 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3270 If you meant to cross compile, use \`--host'.
3271 See \`config.log' for more details.
" >&5
3272 echo "$as_me: error
: cannot run C compiled programs.
3273 If you meant to cross compile
, use \
`--host'.
3274 See \`config.log
' for more details." >&2;}
3275 { (exit 1); exit 1; }; }
3279 { echo "$as_me:$LINENO: result: yes" >&5
3280 echo "${ECHO_T}yes" >&6; }
3282 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3283 ac_clean_files=$ac_clean_files_save
3284 # Check that the compiler produces executables we can run. If not, either
3285 # the compiler is broken, or we cross compile.
3286 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3287 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3288 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3289 echo "${ECHO_T}$cross_compiling" >&6; }
3291 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3292 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3293 if { (ac_try="$ac_link"
3295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3296 *) ac_try_echo=$ac_try;;
3298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3299 (eval "$ac_link") 2>&5
3301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3302 (exit $ac_status); }; then
3303 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3304 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3305 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3307 for ac_file
in conftest.exe conftest conftest.
*; do
3308 test -f "$ac_file" ||
continue
3310 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3311 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3317 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3318 See \`config.log' for more details." >&5
3319 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3320 See \`config.log' for more details." >&2;}
3321 { (exit 1); exit 1; }; }
3324 rm -f conftest
$ac_cv_exeext
3325 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3326 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3328 rm -f conftest.
$ac_ext
3329 EXEEXT
=$ac_cv_exeext
3332 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3333 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3334 if test "${ac_cv_objext+set}" = set; then
3335 echo $ECHO_N "(cached) $ECHO_C" >&6
3337 cat >conftest.
$ac_ext <<_ACEOF
3340 cat confdefs.h
>>conftest.
$ac_ext
3341 cat >>conftest.
$ac_ext <<_ACEOF
3342 /* end confdefs.h. */
3352 rm -f conftest.o conftest.obj
3353 if { (ac_try
="$ac_compile"
3355 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3356 *) ac_try_echo=$ac_try;;
3358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3359 (eval "$ac_compile") 2>&5
3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 (exit $ac_status); }; then
3363 for ac_file in conftest.o conftest.obj conftest.*; do
3364 test -f "$ac_file" || continue;
3366 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3367 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3372 echo "$as_me: failed program was:" >&5
3373 sed 's/^/| /' conftest.$ac_ext >&5
3375 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3376 See \`config.log
' for more details." >&5
3377 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3378 See \`config.log' for more details.
" >&2;}
3379 { (exit 1); exit 1; }; }
3382 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3384 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3385 echo "${ECHO_T}$ac_cv_objext" >&6; }
3386 OBJEXT=$ac_cv_objext
3388 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3389 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3390 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3391 echo $ECHO_N "(cached
) $ECHO_C" >&6
3393 cat >conftest.$ac_ext <<_ACEOF
3396 cat confdefs.h >>conftest.$ac_ext
3397 cat >>conftest.$ac_ext <<_ACEOF
3398 /* end confdefs.h. */
3411 rm -f conftest.$ac_objext
3412 if { (ac_try="$ac_compile"
3414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3415 *) ac_try_echo=$ac_try;;
3417 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3418 (eval "$ac_compile") 2>conftest.er1
3420 grep -v '^ *+' conftest.er1 >conftest.err
3422 cat conftest.err >&5
3423 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3424 (exit $ac_status); } && {
3425 test -z "$ac_c_werror_flag" ||
3426 test ! -s conftest.err
3427 } && test -s conftest.$ac_objext; then
3430 echo "$as_me: failed program was
:" >&5
3431 sed 's/^/| /' conftest.$ac_ext >&5
3436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3437 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3440 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3441 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3442 GCC=`test $ac_compiler_gnu = yes && echo yes`
3443 ac_test_CFLAGS=${CFLAGS+set}
3444 ac_save_CFLAGS=$CFLAGS
3445 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3446 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3447 if test "${ac_cv_prog_cc_g+set}" = set; then
3448 echo $ECHO_N "(cached
) $ECHO_C" >&6
3450 ac_save_c_werror_flag=$ac_c_werror_flag
3451 ac_c_werror_flag=yes
3454 cat >conftest.$ac_ext <<_ACEOF
3457 cat confdefs.h >>conftest.$ac_ext
3458 cat >>conftest.$ac_ext <<_ACEOF
3459 /* end confdefs.h. */
3469 rm -f conftest.$ac_objext
3470 if { (ac_try="$ac_compile"
3472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3473 *) ac_try_echo=$ac_try;;
3475 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3476 (eval "$ac_compile") 2>conftest.er1
3478 grep -v '^ *+' conftest.er1 >conftest.err
3480 cat conftest.err >&5
3481 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3482 (exit $ac_status); } && {
3483 test -z "$ac_c_werror_flag" ||
3484 test ! -s conftest.err
3485 } && test -s conftest.$ac_objext; then
3488 echo "$as_me: failed program was
:" >&5
3489 sed 's/^/| /' conftest.$ac_ext >&5
3492 cat >conftest.$ac_ext <<_ACEOF
3495 cat confdefs.h >>conftest.$ac_ext
3496 cat >>conftest.$ac_ext <<_ACEOF
3497 /* end confdefs.h. */
3507 rm -f conftest.$ac_objext
3508 if { (ac_try="$ac_compile"
3510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3511 *) ac_try_echo=$ac_try;;
3513 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3514 (eval "$ac_compile") 2>conftest.er1
3516 grep -v '^ *+' conftest.er1 >conftest.err
3518 cat conftest.err >&5
3519 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3520 (exit $ac_status); } && {
3521 test -z "$ac_c_werror_flag" ||
3522 test ! -s conftest.err
3523 } && test -s conftest.$ac_objext; then
3526 echo "$as_me: failed program was
:" >&5
3527 sed 's/^/| /' conftest.$ac_ext >&5
3529 ac_c_werror_flag=$ac_save_c_werror_flag
3531 cat >conftest.$ac_ext <<_ACEOF
3534 cat confdefs.h >>conftest.$ac_ext
3535 cat >>conftest.$ac_ext <<_ACEOF
3536 /* end confdefs.h. */
3546 rm -f conftest.$ac_objext
3547 if { (ac_try="$ac_compile"
3549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550 *) ac_try_echo=$ac_try;;
3552 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3553 (eval "$ac_compile") 2>conftest.er1
3555 grep -v '^ *+' conftest.er1 >conftest.err
3557 cat conftest.err >&5
3558 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3559 (exit $ac_status); } && {
3560 test -z "$ac_c_werror_flag" ||
3561 test ! -s conftest.err
3562 } && test -s conftest.$ac_objext; then
3565 echo "$as_me: failed program was
:" >&5
3566 sed 's/^/| /' conftest.$ac_ext >&5
3571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3578 ac_c_werror_flag=$ac_save_c_werror_flag
3580 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3581 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3582 if test "$ac_test_CFLAGS" = set; then
3583 CFLAGS=$ac_save_CFLAGS
3584 elif test $ac_cv_prog_cc_g = yes; then
3585 if test "$GCC" = yes; then
3591 if test "$GCC" = yes; then
3597 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3598 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3599 if test "${ac_cv_prog_cc_c89+set}" = set; then
3600 echo $ECHO_N "(cached
) $ECHO_C" >&6
3602 ac_cv_prog_cc_c89=no
3604 cat >conftest.$ac_ext <<_ACEOF
3607 cat confdefs.h >>conftest.$ac_ext
3608 cat >>conftest.$ac_ext <<_ACEOF
3609 /* end confdefs.h. */
3612 #include <sys/types.h>
3613 #include <sys/stat.h>
3614 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3615 struct buf { int x; };
3616 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3617 static char *e (p, i)
3623 static char *f (char * (*g) (char **, int), char **p, ...)
3628 s = g (p, va_arg (v,int));
3633 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3634 function prototypes and stuff, but not '\xHH' hex character constants.
3635 These don't provoke an error unfortunately, instead are silently treated
3636 as 'x'. The following induces an error, until -std is added to get
3637 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3638 array size at least. It's necessary to write '\x00'==0 to get something
3639 that's true only with -std. */
3640 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3642 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3643 inside strings and character constants. */
3645 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3647 int test (int i, double x);
3648 struct s1 {int (*f) (int a);};
3649 struct s2 {int (*f) (double a);};
3650 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3656 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3661 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3662 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3664 CC="$ac_save_CC $ac_arg"
3665 rm -f conftest.$ac_objext
3666 if { (ac_try="$ac_compile"
3668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3669 *) ac_try_echo=$ac_try;;
3671 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3672 (eval "$ac_compile") 2>conftest.er1
3674 grep -v '^ *+' conftest.er1 >conftest.err
3676 cat conftest.err >&5
3677 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3678 (exit $ac_status); } && {
3679 test -z "$ac_c_werror_flag" ||
3680 test ! -s conftest.err
3681 } && test -s conftest.$ac_objext; then
3682 ac_cv_prog_cc_c89=$ac_arg
3684 echo "$as_me: failed program was
:" >&5
3685 sed 's/^/| /' conftest.$ac_ext >&5
3690 rm -f core conftest.err conftest.$ac_objext
3691 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3693 rm -f conftest.$ac_ext
3698 case "x
$ac_cv_prog_cc_c89" in
3700 { echo "$as_me:$LINENO: result
: none needed
" >&5
3701 echo "${ECHO_T}none needed
" >&6; } ;;
3703 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3704 echo "${ECHO_T}unsupported
" >&6; } ;;
3706 CC="$CC $ac_cv_prog_cc_c89"
3707 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3708 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3713 ac_cpp='$CPP $CPPFLAGS'
3714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3717 DEPDIR="${am__leading_dot}deps
"
3719 ac_config_commands="$ac_config_commands depfiles
"
3722 am_make=${MAKE-make}
3723 cat > confinc << 'END'
3728 # If we don't find an include directive, just comment out the code.
3729 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3730 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3734 # First try GNU make style include.
3735 echo "include confinc" > confmf
3736 # We grep out `Entering directory' and `Leaving directory'
3737 # messages which can occur if `w' ends up in MAKEFLAGS.
3738 # In particular we don't look at `^make:' because GNU make might
3739 # be invoked under some other name (usually "gmake"), in which
3740 # case it prints its new name instead of `make'.
3741 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3746 # Now try BSD make style include.
3747 if test "$am__include" = "#"; then
3748 echo '.include "confinc"' > confmf
3749 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3750 am__include
=.include
3757 { echo "$as_me:$LINENO: result: $_am_result" >&5
3758 echo "${ECHO_T}$_am_result" >&6; }
3759 rm -f confinc confmf
3761 # Check whether --enable-dependency-tracking was given.
3762 if test "${enable_dependency_tracking+set}" = set; then
3763 enableval
=$enable_dependency_tracking;
3766 if test "x$enable_dependency_tracking" != xno
; then
3767 am_depcomp
="$ac_aux_dir/depcomp"
3772 if test "x$enable_dependency_tracking" != xno; then
3783 depcc
="$CC" am_compiler_list
=
3785 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3786 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3787 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3788 echo $ECHO_N "(cached) $ECHO_C" >&6
3790 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3791 # We make a subdir and do the tests there. Otherwise we can end up
3792 # making bogus files that we don't know about and never remove. For
3793 # instance it was reported that on HP-UX the gcc test will end up
3794 # making a dummy file named `D' -- because `-MD' means `put the output
3797 # Copy depcomp to subdir because otherwise we won't find it if we're
3798 # using a relative directory.
3799 cp "$am_depcomp" conftest.dir
3801 # We will build objects and dependencies in a subdirectory because
3802 # it helps to detect inapplicable dependency modes. For instance
3803 # both Tru64's cc and ICC support -MD to output dependencies as a
3804 # side effect of compilation, but ICC will put the dependencies in
3805 # the current directory while Tru64 will put them in the object
3809 am_cv_CC_dependencies_compiler_type
=none
3810 if test "$am_compiler_list" = ""; then
3811 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3813 for depmode
in $am_compiler_list; do
3814 # Setup a source with many dependencies, because some compilers
3815 # like to wrap large dependency lists on column 80 (with \), and
3816 # we should not choose a depcomp mode which is confused by this.
3818 # We need to recreate these files for each test, as the compiler may
3819 # overwrite some of them when testing with obscure command lines.
3820 # This happens at least with the AIX C compiler.
3822 for i
in 1 2 3 4 5 6; do
3823 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3824 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3825 # Solaris 8's {/usr,}/bin/sh.
3826 touch sub
/conftst
$i.h
3828 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3832 # after this tag, mechanisms are not by side-effect, so they'll
3833 # only be used when explicitly requested
3834 if test "x$enable_dependency_tracking" = xyes
; then
3842 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3843 # mode. It turns out that the SunPro C++ compiler does not properly
3844 # handle `-M -o', and we need to detect this.
3845 if depmode
=$depmode \
3846 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3847 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3848 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3849 >/dev
/null
2>conftest.err
&&
3850 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3851 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3852 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3853 # icc doesn't choke on unknown options, it will just issue warnings
3854 # or remarks (even with -Werror). So we grep stderr for any message
3855 # that says an option was ignored or not supported.
3856 # When given -MP, icc 7.0 and 7.1 complain thusly:
3857 # icc: Command line warning: ignoring option '-M'; no argument required
3858 # The diagnosis changed in icc 8.0:
3859 # icc: Command line remark: option '-MP' not supported
3860 if (grep 'ignoring option' conftest.err ||
3861 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3862 am_cv_CC_dependencies_compiler_type
=$depmode
3871 am_cv_CC_dependencies_compiler_type
=none
3875 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3876 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3877 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3882 test "x$enable_dependency_tracking" != xno \
3883 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3885 am__fastdepCC_FALSE
='#'
3887 am__fastdepCC_TRUE
='#'
3888 am__fastdepCC_FALSE
=
3894 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
3895 if test "x$GCC" = "xyes"; then
3896 AM_FCFLAGS
="-I . -Wall -fno-repack-arrays -fno-underscoring"
3897 ## We like to use C99 routines when available. This makes sure that
3898 ## __STDC_VERSION__ is set such that libc includes make them available.
3899 AM_CFLAGS
="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
3900 ## Compile the following tests with the same system header contents
3901 ## that we'll encounter when compiling our own source files.
3902 CFLAGS
="-std=gnu99 $CFLAGS"
3908 # Check for symbol versioning (copied from libssp).
3909 { echo "$as_me:$LINENO: checking whether symbol versioning is supported" >&5
3910 echo $ECHO_N "checking whether symbol versioning is supported... $ECHO_C" >&6; }
3911 cat > conftest.map
<<EOF
3913 global: *foo*; bar; local: *;
3916 save_LDFLAGS
="$LDFLAGS"
3917 LDFLAGS
="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
3919 if test x
$gcc_no_link = xyes
; then
3920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
3921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
3922 { (exit 1); exit 1; }; }
3924 cat >conftest.
$ac_ext <<_ACEOF
3927 cat confdefs.h
>>conftest.
$ac_ext
3928 cat >>conftest.
$ac_ext <<_ACEOF
3929 /* end confdefs.h. */
3939 rm -f conftest.
$ac_objext conftest
$ac_exeext
3940 if { (ac_try
="$ac_link"
3942 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3943 *) ac_try_echo=$ac_try;;
3945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3946 (eval "$ac_link") 2>conftest.er1
3948 grep -v '^ *+' conftest.er1 >conftest.err
3950 cat conftest.err >&5
3951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3952 (exit $ac_status); } && {
3953 test -z "$ac_c_werror_flag" ||
3954 test ! -s conftest.err
3955 } && test -s conftest$ac_exeext &&
3956 $as_test_x conftest$ac_exeext; then
3957 gfortran_use_symver=yes
3959 echo "$as_me: failed program was:" >&5
3960 sed 's/^/| /' conftest.$ac_ext >&5
3962 gfortran_use_symver=no
3965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3966 conftest$ac_exeext conftest.$ac_ext
3967 LDFLAGS="$save_LDFLAGS"
3968 { echo "$as_me:$LINENO: result: $gfortran_use_symver" >&5
3969 echo "${ECHO_T}$gfortran_use_symver" >&6; }
3972 if test "x$gfortran_use_symver" = xyes; then
3973 LIBGFOR_USE_SYMVER_TRUE=
3974 LIBGFOR_USE_SYMVER_FALSE='#'
3976 LIBGFOR_USE_SYMVER_TRUE='#'
3977 LIBGFOR_USE_SYMVER_FALSE=
3981 # Find other programs we need.
3982 if test -n "$ac_tool_prefix"; then
3983 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3984 set dummy ${ac_tool_prefix}as; ac_word=$2
3985 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3987 if test "${ac_cv_prog_AS+set}" = set; then
3988 echo $ECHO_N "(cached) $ECHO_C" >&6
3990 if test -n "$AS"; then
3991 ac_cv_prog_AS="$AS" # Let the user override the test.
3993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3997 test -z "$as_dir" && as_dir=.
3998 for ac_exec_ext in '' $ac_executable_extensions; do
3999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4000 ac_cv_prog_AS="${ac_tool_prefix}as"
4001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4011 if test -n "$AS"; then
4012 { echo "$as_me:$LINENO: result: $AS" >&5
4013 echo "${ECHO_T}$AS" >&6; }
4015 { echo "$as_me:$LINENO: result: no" >&5
4016 echo "${ECHO_T}no" >&6; }
4021 if test -z "$ac_cv_prog_AS"; then
4023 # Extract the first word of "as", so it can be a program name with args.
4024 set dummy as; ac_word=$2
4025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4027 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4028 echo $ECHO_N "(cached) $ECHO_C" >&6
4030 if test -n "$ac_ct_AS"; then
4031 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4037 test -z "$as_dir" && as_dir=.
4038 for ac_exec_ext in '' $ac_executable_extensions; do
4039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4040 ac_cv_prog_ac_ct_AS="as"
4041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4050 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4051 if test -n "$ac_ct_AS"; then
4052 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4053 echo "${ECHO_T}$ac_ct_AS" >&6; }
4055 { echo "$as_me:$LINENO: result: no" >&5
4056 echo "${ECHO_T}no" >&6; }
4059 if test "x$ac_ct_AS" = x; then
4062 case $cross_compiling:$ac_tool_warned in
4064 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4065 whose name does not start with the host triplet. If you think this
4066 configuration is useful to you, please write to autoconf@gnu.org." >&5
4067 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4068 whose name does not start with the host triplet. If you think this
4069 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4070 ac_tool_warned=yes ;;
4078 if test -n "$ac_tool_prefix"; then
4079 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4080 set dummy ${ac_tool_prefix}ar; ac_word=$2
4081 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4083 if test "${ac_cv_prog_AR+set}" = set; then
4084 echo $ECHO_N "(cached) $ECHO_C" >&6
4086 if test -n "$AR"; then
4087 ac_cv_prog_AR="$AR" # Let the user override the test.
4089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4093 test -z "$as_dir" && as_dir=.
4094 for ac_exec_ext in '' $ac_executable_extensions; do
4095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4096 ac_cv_prog_AR="${ac_tool_prefix}ar"
4097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4107 if test -n "$AR"; then
4108 { echo "$as_me:$LINENO: result: $AR" >&5
4109 echo "${ECHO_T}$AR" >&6; }
4111 { echo "$as_me:$LINENO: result: no" >&5
4112 echo "${ECHO_T}no" >&6; }
4117 if test -z "$ac_cv_prog_AR"; then
4119 # Extract the first word of "ar", so it can be a program name with args.
4120 set dummy ar; ac_word=$2
4121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4123 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4124 echo $ECHO_N "(cached) $ECHO_C" >&6
4126 if test -n "$ac_ct_AR"; then
4127 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4133 test -z "$as_dir" && as_dir=.
4134 for ac_exec_ext in '' $ac_executable_extensions; do
4135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4136 ac_cv_prog_ac_ct_AR="ar"
4137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4146 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4147 if test -n "$ac_ct_AR"; then
4148 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4149 echo "${ECHO_T}$ac_ct_AR" >&6; }
4151 { echo "$as_me:$LINENO: result: no" >&5
4152 echo "${ECHO_T}no" >&6; }
4155 if test "x$ac_ct_AR" = x; then
4158 case $cross_compiling:$ac_tool_warned in
4160 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4161 whose name does not start with the host triplet. If you think this
4162 configuration is useful to you, please write to autoconf@gnu.org." >&5
4163 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4164 whose name does not start with the host triplet. If you think this
4165 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4166 ac_tool_warned=yes ;;
4174 if test -n "$ac_tool_prefix"; then
4175 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4176 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4177 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4179 if test "${ac_cv_prog_RANLIB+set}" = set; then
4180 echo $ECHO_N "(cached) $ECHO_C" >&6
4182 if test -n "$RANLIB"; then
4183 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4189 test -z "$as_dir" && as_dir=.
4190 for ac_exec_ext in '' $ac_executable_extensions; do
4191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4192 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4202 RANLIB=$ac_cv_prog_RANLIB
4203 if test -n "$RANLIB"; then
4204 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4205 echo "${ECHO_T}$RANLIB" >&6; }
4207 { echo "$as_me:$LINENO: result: no" >&5
4208 echo "${ECHO_T}no" >&6; }
4213 if test -z "$ac_cv_prog_RANLIB"; then
4214 ac_ct_RANLIB=$RANLIB
4215 # Extract the first word of "ranlib", so it can be a program name with args.
4216 set dummy ranlib; ac_word=$2
4217 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4219 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4220 echo $ECHO_N "(cached) $ECHO_C" >&6
4222 if test -n "$ac_ct_RANLIB"; then
4223 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4229 test -z "$as_dir" && as_dir=.
4230 for ac_exec_ext in '' $ac_executable_extensions; do
4231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4232 ac_cv_prog_ac_ct_RANLIB="ranlib"
4233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4242 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4243 if test -n "$ac_ct_RANLIB"; then
4244 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4245 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4247 { echo "$as_me:$LINENO: result: no" >&5
4248 echo "${ECHO_T}no" >&6; }
4251 if test "x$ac_ct_RANLIB" = x; then
4252 RANLIB="ranlib-not-found-in-path-error"
4254 case $cross_compiling:$ac_tool_warned in
4256 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4257 whose name does not start with the host triplet. If you think this
4258 configuration is useful to you, please write to autoconf@gnu.org." >&5
4259 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4260 whose name does not start with the host triplet. If you think this
4261 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4262 ac_tool_warned=yes ;;
4264 RANLIB=$ac_ct_RANLIB
4267 RANLIB="$ac_cv_prog_RANLIB"
4270 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4271 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
4272 set x ${MAKE-make}; ac_make=`echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4273 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
4274 echo $ECHO_N "(cached) $ECHO_C" >&6
4276 cat >conftest.make <<\_ACEOF
4279 @echo '@@@%%%=$(MAKE)=@@@%%%'
4281 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4282 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
4284 eval ac_cv_prog_make_${ac_make}_set=yes;;
4286 eval ac_cv_prog_make_${ac_make}_set=no;;
4290 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4291 { echo "$as_me:$LINENO: result: yes" >&5
4292 echo "${ECHO_T}yes" >&6; }
4295 { echo "$as_me:$LINENO: result: no" >&5
4296 echo "${ECHO_T}no" >&6; }
4297 SET_MAKE="MAKE=${MAKE-make}"
4300 # Find a good install program. We prefer a C program (faster),
4301 # so one script is as good as another. But avoid the broken or
4302 # incompatible versions:
4303 # SysV /etc/install, /usr/sbin/install
4304 # SunOS /usr/etc/install
4305 # IRIX /sbin/install
4307 # AmigaOS /C/install, which installs bootblocks on floppy discs
4308 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4309 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4310 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4311 # OS/2's system install, which has a completely different semantic
4312 # ./install, which can be erroneously created by make from ./install.sh.
4313 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4314 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4315 if test -z "$INSTALL"; then
4316 if test "${ac_cv_path_install+set}" = set; then
4317 echo $ECHO_N "(cached) $ECHO_C" >&6
4319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4323 test -z "$as_dir" && as_dir=.
4324 # Account for people who put trailing slashes in PATH elements.
4326 ./ | .// | /cC/* | \
4327 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4328 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4331 # OSF1 and SCO ODT 3.0 have their own names for install.
4332 # Don't use installbsd from OSF since it installs stuff as root
4334 for ac_prog in ginstall scoinst install; do
4335 for ac_exec_ext in '' $ac_executable_extensions; do
4336 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4337 if test $ac_prog = install &&
4338 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4339 # AIX install. It has an incompatible calling convention.
4341 elif test $ac_prog = install &&
4342 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4343 # program-specific install script used by HP pwplus--don't use.
4346 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4359 if test "${ac_cv_path_install+set}" = set; then
4360 INSTALL=$ac_cv_path_install
4362 # As a last resort, use the slow shell script. Don't cache a
4363 # value for INSTALL within a source directory, because that will
4364 # break other packages using the cache if that directory is
4365 # removed, or if the value is a relative name.
4366 INSTALL=$ac_install_sh
4369 { echo "$as_me:$LINENO: result: $INSTALL" >&5
4370 echo "${ECHO_T}$INSTALL" >&6; }
4372 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4373 # It thinks the first close brace ends the variable substitution.
4374 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4376 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4378 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4382 #AC_MSG_NOTICE([====== Starting libtool configuration])
4389 macro_version='2.1a'
4390 macro_revision='1.2435'
4403 ltmain="$ac_aux_dir/ltmain.sh"
4411 # Check whether --enable-shared was given.
4412 if test "${enable_shared+set}" = set; then
4413 enableval=$enable_shared; p=${PACKAGE-default}
4415 yes) enable_shared=yes ;;
4416 no) enable_shared=no ;;
4419 # Look at the argument we got. We use all the common list separators.
4420 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4421 for pkg in $enableval; do
4423 if test "X$pkg" = "X$p"; then
4442 # Check whether --enable-static was given.
4443 if test "${enable_static+set}" = set; then
4444 enableval=$enable_static; p=${PACKAGE-default}
4446 yes) enable_static=yes ;;
4447 no) enable_static=no ;;
4450 # Look at the argument we got. We use all the common list separators.
4451 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4452 for pkg in $enableval; do
4454 if test "X$pkg" = "X$p"; then
4474 # Check whether --with-pic was given.
4475 if test "${with_pic+set}" = set; then
4476 withval=$with_pic; pic_mode="$withval"
4482 test -z "$pic_mode" && pic_mode=default
4490 # Check whether --enable-fast-install was given.
4491 if test "${enable_fast_install+set}" = set; then
4492 enableval=$enable_fast_install; p=${PACKAGE-default}
4494 yes) enable_fast_install=yes ;;
4495 no) enable_fast_install=no ;;
4497 enable_fast_install=no
4498 # Look at the argument we got. We use all the common list separators.
4499 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4500 for pkg in $enableval; do
4502 if test "X$pkg" = "X$p"; then
4503 enable_fast_install=yes
4510 enable_fast_install=yes
4521 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4522 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4523 if test "${ac_cv_path_SED+set}" = set; then
4524 echo $ECHO_N "(cached) $ECHO_C" >&6
4526 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4527 for ac_i in 1 2 3 4 5 6 7; do
4528 ac_script="$ac_script$as_nl$ac_script"
4530 echo "$ac_script" | sed 99q >conftest.sed
4531 $as_unset ac_script || ac_script=
4532 # Extract the first word of "sed gsed" to use in msg output
4533 if test -z "$SED"; then
4534 set dummy sed gsed; ac_prog_name=$2
4535 if test "${ac_cv_path_SED+set}" = set; then
4536 echo $ECHO_N "(cached) $ECHO_C" >&6
4538 ac_path_SED_found=false
4539 # Loop through the user's path and test for each of PROGNAME-LIST
4540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4544 test -z "$as_dir" && as_dir=.
4545 for ac_prog in sed gsed; do
4546 for ac_exec_ext in '' $ac_executable_extensions; do
4547 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4548 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4549 # Check for GNU ac_path_SED and select it if it is found.
4550 # Check for GNU $ac_path_SED
4551 case `"$ac_path_SED" --version 2>&1` in
4553 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4556 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4559 cat "conftest.in" "conftest.in" >"conftest.tmp"
4560 mv "conftest.tmp" "conftest.in"
4561 cp "conftest.in" "conftest.nl"
4562 echo '' >> "conftest.nl"
4563 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4564 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4565 ac_count=`expr $ac_count + 1`
4566 if test $ac_count -gt ${ac_path_SED_max-0}; then
4567 # Best one so far, save it but keep looking for a better one
4568 ac_cv_path_SED="$ac_path_SED"
4569 ac_path_SED_max=$ac_count
4571 # 10*(2^10) chars as input seems more than enough
4572 test $ac_count -gt 10 && break
4574 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4578 $ac_path_SED_found && break 3
4588 SED="$ac_cv_path_SED"
4589 if test -z "$SED"; then
4590 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
4591 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
4592 { (exit 1); exit 1; }; }
4600 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4601 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
4602 SED="$ac_cv_path_SED"
4605 test -z "$SED" && SED=sed
4606 Xsed="$SED -e 1s/^X//"
4618 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4619 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4620 if test "${ac_cv_path_GREP+set}" = set; then
4621 echo $ECHO_N "(cached) $ECHO_C" >&6
4623 # Extract the first word of "grep ggrep" to use in msg output
4624 if test -z "$GREP"; then
4625 set dummy grep ggrep; ac_prog_name=$2
4626 if test "${ac_cv_path_GREP+set}" = set; then
4627 echo $ECHO_N "(cached) $ECHO_C" >&6
4629 ac_path_GREP_found=false
4630 # Loop through the user's path and test for each of PROGNAME-LIST
4631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4632 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4635 test -z "$as_dir" && as_dir=.
4636 for ac_prog in grep ggrep; do
4637 for ac_exec_ext in '' $ac_executable_extensions; do
4638 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4639 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4640 # Check for GNU ac_path_GREP and select it if it is found.
4641 # Check for GNU $ac_path_GREP
4642 case `"$ac_path_GREP" --version 2>&1` in
4644 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4647 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4650 cat "conftest.in" "conftest.in" >"conftest.tmp"
4651 mv "conftest.tmp" "conftest.in"
4652 cp "conftest.in" "conftest.nl"
4653 echo 'GREP' >> "conftest.nl"
4654 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4655 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4656 ac_count=`expr $ac_count + 1`
4657 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4658 # Best one so far, save it but keep looking for a better one
4659 ac_cv_path_GREP="$ac_path_GREP"
4660 ac_path_GREP_max=$ac_count
4662 # 10*(2^10) chars as input seems more than enough
4663 test $ac_count -gt 10 && break
4665 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4669 $ac_path_GREP_found && break 3
4679 GREP="$ac_cv_path_GREP"
4680 if test -z "$GREP"; then
4681 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4682 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4683 { (exit 1); exit 1; }; }
4687 ac_cv_path_GREP=$GREP
4692 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4693 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4694 GREP="$ac_cv_path_GREP"
4697 { echo "$as_me:$LINENO: checking for egrep" >&5
4698 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4699 if test "${ac_cv_path_EGREP+set}" = set; then
4700 echo $ECHO_N "(cached) $ECHO_C" >&6
4702 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4703 then ac_cv_path_EGREP="$GREP -E"
4705 # Extract the first word of "egrep" to use in msg output
4706 if test -z "$EGREP"; then
4707 set dummy egrep; ac_prog_name=$2
4708 if test "${ac_cv_path_EGREP+set}" = set; then
4709 echo $ECHO_N "(cached) $ECHO_C" >&6
4711 ac_path_EGREP_found=false
4712 # Loop through the user's path and test for each of PROGNAME-LIST
4713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4714 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4717 test -z "$as_dir" && as_dir=.
4718 for ac_prog in egrep; do
4719 for ac_exec_ext in '' $ac_executable_extensions; do
4720 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4721 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4722 # Check for GNU ac_path_EGREP and select it if it is found.
4723 # Check for GNU $ac_path_EGREP
4724 case `"$ac_path_EGREP" --version 2>&1` in
4726 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4729 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4732 cat "conftest.in" "conftest.in" >"conftest.tmp"
4733 mv "conftest.tmp" "conftest.in"
4734 cp "conftest.in" "conftest.nl"
4735 echo 'EGREP' >> "conftest.nl"
4736 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4737 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4738 ac_count=`expr $ac_count + 1`
4739 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4740 # Best one so far, save it but keep looking for a better one
4741 ac_cv_path_EGREP="$ac_path_EGREP"
4742 ac_path_EGREP_max=$ac_count
4744 # 10*(2^10) chars as input seems more than enough
4745 test $ac_count -gt 10 && break
4747 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4751 $ac_path_EGREP_found && break 3
4761 EGREP="$ac_cv_path_EGREP"
4762 if test -z "$EGREP"; then
4763 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4764 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4765 { (exit 1); exit 1; }; }
4769 ac_cv_path_EGREP=$EGREP
4775 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4776 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4777 EGREP="$ac_cv_path_EGREP"
4780 { echo "$as_me:$LINENO: checking for fgrep" >&5
4781 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
4782 if test "${ac_cv_path_FGREP+set}" = set; then
4783 echo $ECHO_N "(cached) $ECHO_C" >&6
4785 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4786 then ac_cv_path_FGREP="$GREP -F"
4788 # Extract the first word of "fgrep" to use in msg output
4789 if test -z "$FGREP"; then
4790 set dummy fgrep; ac_prog_name=$2
4791 if test "${ac_cv_path_FGREP+set}" = set; then
4792 echo $ECHO_N "(cached) $ECHO_C" >&6
4794 ac_path_FGREP_found=false
4795 # Loop through the user's path and test for each of PROGNAME-LIST
4796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4797 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4800 test -z "$as_dir" && as_dir=.
4801 for ac_prog in fgrep; do
4802 for ac_exec_ext in '' $ac_executable_extensions; do
4803 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4804 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4805 # Check for GNU ac_path_FGREP and select it if it is found.
4806 # Check for GNU $ac_path_FGREP
4807 case `"$ac_path_FGREP" --version 2>&1` in
4809 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4812 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4815 cat "conftest.in" "conftest.in" >"conftest.tmp"
4816 mv "conftest.tmp" "conftest.in"
4817 cp "conftest.in" "conftest.nl"
4818 echo 'FGREP' >> "conftest.nl"
4819 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4820 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4821 ac_count=`expr $ac_count + 1`
4822 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4823 # Best one so far, save it but keep looking for a better one
4824 ac_cv_path_FGREP="$ac_path_FGREP"
4825 ac_path_FGREP_max=$ac_count
4827 # 10*(2^10) chars as input seems more than enough
4828 test $ac_count -gt 10 && break
4830 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4834 $ac_path_FGREP_found && break 3
4844 FGREP="$ac_cv_path_FGREP"
4845 if test -z "$FGREP"; then
4846 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4847 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4848 { (exit 1); exit 1; }; }
4852 ac_cv_path_FGREP=$FGREP
4858 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4859 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
4860 FGREP="$ac_cv_path_FGREP"
4863 test -z "$GREP" && GREP=grep
4883 # Check whether --with-gnu-ld was given.
4884 if test "${with_gnu_ld+set}" = set; then
4885 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4891 if test "$GCC" = yes; then
4892 # Check if gcc -print-prog-name=ld gives a path.
4893 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4894 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4897 # gcc leaves a trailing carriage return which upsets mingw
4898 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
4900 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
4903 # Accept absolute paths.
4905 re_direlt='/[^/][^/]*/\.\./'
4906 # Canonicalize the pathname of ld
4907 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
4908 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4909 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
4911 test -z "$LD" && LD="$ac_prog"
4914 # If it fails, then pretend we aren't using GCC.
4918 # If it is relative, then search for the first ld in PATH.
4922 elif test "$with_gnu_ld" = yes; then
4923 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4924 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4926 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4927 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4929 if test "${lt_cv_path_LD+set}" = set; then
4930 echo $ECHO_N "(cached) $ECHO_C" >&6
4932 if test -z "$LD"; then
4933 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4934 for ac_dir in $PATH; do
4936 test -z "$ac_dir" && ac_dir=.
4937 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4938 lt_cv_path_LD="$ac_dir/$ac_prog"
4939 # Check to see if the program is GNU ld. I'd rather use --version,
4940 # but apparently some variants of GNU ld only accept -v.
4941 # Break only if it was the GNU/non-GNU ld that we prefer.
4942 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
4943 *GNU* | *'with BFD'*)
4944 test "$with_gnu_ld" != no && break
4947 test "$with_gnu_ld" != yes && break
4954 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4959 if test -n "$LD"; then
4960 { echo "$as_me:$LINENO: result: $LD" >&5
4961 echo "${ECHO_T}$LD" >&6; }
4963 { echo "$as_me:$LINENO: result: no" >&5
4964 echo "${ECHO_T}no" >&6; }
4966 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4967 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4968 { (exit 1); exit 1; }; }
4969 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4970 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4971 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4972 echo $ECHO_N "(cached) $ECHO_C" >&6
4974 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4975 case `$LD -v 2>&1 </dev
/null
` in
4976 *GNU* | *'with BFD'*)
4977 lt_cv_prog_gnu_ld=yes
4980 lt_cv_prog_gnu_ld=no
4984 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4985 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4986 with_gnu_ld=$lt_cv_prog_gnu_ld
4997 { echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4998 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
4999 if test "${lt_cv_path_NM+set}" = set; then
5000 echo $ECHO_N "(cached) $ECHO_C" >&6
5002 if test -n "$NM"; then
5003 # Let the user override the test.
5006 lt_nm_to_check="${ac_tool_prefix}nm"
5007 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5008 lt_nm_to_check="$lt_nm_to_check nm"
5010 for lt_tmp_nm in $lt_nm_to_check; do
5011 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5012 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5014 test -z "$ac_dir" && ac_dir=.
5015 tmp_nm="$ac_dir/$lt_tmp_nm"
5016 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5017 # Check to see if the nm accepts a BSD-compat flag.
5018 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
5019 # nm: unknown option "B" ignored
5020 # Tru64's nm complains that
/dev
/null is an invalid object
file
5021 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5022 */dev
/null
* |
*'Invalid file or object type'*)
5023 lt_cv_path_NM
="$tmp_nm -B"
5027 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5029 lt_cv_path_NM
="$tmp_nm -p"
5033 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5034 continue # so that we can try to find one that supports BSD flags
5043 : ${lt_cv_path_NM=no}
5046 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5047 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
5048 if test "$lt_cv_path_NM" != "no"; then
5051 # Didn't find any BSD compatible name lister, look for dumpbin.
5052 if test -n "$ac_tool_prefix"; then
5053 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5055 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5056 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5057 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5059 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5060 echo $ECHO_N "(cached) $ECHO_C" >&6
5062 if test -n "$DUMPBIN"; then
5063 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5069 test -z "$as_dir" && as_dir
=.
5070 for ac_exec_ext
in '' $ac_executable_extensions; do
5071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5072 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5082 DUMPBIN
=$ac_cv_prog_DUMPBIN
5083 if test -n "$DUMPBIN"; then
5084 { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5085 echo "${ECHO_T}$DUMPBIN" >&6; }
5087 { echo "$as_me:$LINENO: result: no" >&5
5088 echo "${ECHO_T}no" >&6; }
5092 test -n "$DUMPBIN" && break
5095 if test -z "$DUMPBIN"; then
5096 ac_ct_DUMPBIN
=$DUMPBIN
5097 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5099 # Extract the first word of "$ac_prog", so it can be a program name with args.
5100 set dummy
$ac_prog; ac_word
=$2
5101 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5103 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5104 echo $ECHO_N "(cached) $ECHO_C" >&6
5106 if test -n "$ac_ct_DUMPBIN"; then
5107 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5113 test -z "$as_dir" && as_dir
=.
5114 for ac_exec_ext
in '' $ac_executable_extensions; do
5115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5116 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5126 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5127 if test -n "$ac_ct_DUMPBIN"; then
5128 { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5129 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
5131 { echo "$as_me:$LINENO: result: no" >&5
5132 echo "${ECHO_T}no" >&6; }
5136 test -n "$ac_ct_DUMPBIN" && break
5139 if test "x$ac_ct_DUMPBIN" = x
; then
5142 case $cross_compiling:$ac_tool_warned in
5144 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5145 whose name does not start with the host triplet. If you think this
5146 configuration is useful to you, please write to autoconf@gnu.org." >&5
5147 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5148 whose name does not start with the host triplet. If you think this
5149 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5150 ac_tool_warned
=yes ;;
5152 DUMPBIN
=$ac_ct_DUMPBIN
5157 if test "$DUMPBIN" != ":"; then
5161 test -z "$NM" && NM
=nm
5168 { echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5169 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
5170 if test "${lt_cv_nm_interface+set}" = set; then
5171 echo $ECHO_N "(cached) $ECHO_C" >&6
5173 lt_cv_nm_interface
="BSD nm"
5174 echo "int some_variable = 0;" > conftest.
$ac_ext
5175 (eval echo "\"\$as_me:5175: $ac_compile\"" >&5)
5176 (eval "$ac_compile" 2>conftest.err
)
5177 cat conftest.err
>&5
5178 (eval echo "\"\$as_me:5178: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5179 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5180 cat conftest.err
>&5
5181 (eval echo "\"\$as_me:5181: output\"" >&5)
5182 cat conftest.out
>&5
5183 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5184 lt_cv_nm_interface
="MS dumpbin"
5188 { echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5189 echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
5191 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5192 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5194 if test "$LN_S" = "ln -s"; then
5195 { echo "$as_me:$LINENO: result: yes" >&5
5196 echo "${ECHO_T}yes" >&6; }
5198 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5199 echo "${ECHO_T}no, using $LN_S" >&6; }
5202 # find the maximum length of command line arguments
5203 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5204 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5205 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5206 echo $ECHO_N "(cached) $ECHO_C" >&6
5213 # On DJGPP, this test can blow up pretty badly due to problems in libc
5214 # (any single argument exceeding 2000 bytes causes a buffer overrun
5215 # during glob expansion). Even if it were fixed, the result of this
5216 # check would be larger than it should be.
5217 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5221 # Under GNU Hurd, this test is not required because there is
5222 # no limit to the length of command line arguments.
5223 # Libtool will interpret -1 as no limit whatsoever
5224 lt_cv_sys_max_cmd_len
=-1;
5228 # On Win9x/ME, this test blows up -- it succeeds, but takes
5229 # about 5 minutes as the teststring grows exponentially.
5230 # Worse, since 9x/ME are not pre-emptively multitasking,
5231 # you end up with a "frozen" computer, even though with patience
5232 # the test eventually succeeds (with a max line length of 256k).
5233 # Instead, let's just punt: use the minimum linelength reported by
5234 # all of the supported platforms: 8192 (on NT/2K/XP).
5235 lt_cv_sys_max_cmd_len
=8192;
5239 # On AmigaOS with pdksh, this test takes hours, literally.
5240 # So we just punt and use a minimum line length of 8192.
5241 lt_cv_sys_max_cmd_len
=8192;
5244 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5245 # This has been around since 386BSD, at least. Likely further.
5246 if test -x /sbin
/sysctl
; then
5247 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5248 elif test -x /usr
/sbin
/sysctl
; then
5249 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5251 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5253 # And add a safety zone
5254 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5255 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5259 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5260 lt_cv_sys_max_cmd_len
=196608
5264 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5265 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5266 # nice to cause kernel panics so lets avoid the loop below.
5267 # First set a reasonable default.
5268 lt_cv_sys_max_cmd_len
=16384
5270 if test -x /sbin
/sysconfig
; then
5271 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5272 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5277 lt_cv_sys_max_cmd_len
=102400
5279 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5280 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5281 if test -n "$kargmax"; then
5282 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5284 lt_cv_sys_max_cmd_len
=32768
5288 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
5289 if test -n $lt_cv_sys_max_cmd_len; then
5290 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5291 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5293 # Make teststring a little bigger before we do anything with it.
5294 # a 1K string should be a reasonable start.
5295 for i
in 1 2 3 4 5 6 7 8 ; do
5296 teststring
=$teststring$teststring
5298 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5299 # If test is not a shell built-in, we'll probably end up computing a
5300 # maximum length that is only half of the actual maximum length, but
5302 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5303 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5304 test $i != 17 # 1/2 MB should be enough
5307 teststring
=$teststring$teststring
5309 # Only check the string length outside the loop.
5310 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5312 # Add a significant safety factor because C++ compilers can tack on
5313 # massive amounts of additional arguments before passing them to the
5314 # linker. It appears as though 1/2 is a usable value.
5315 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5322 if test -n $lt_cv_sys_max_cmd_len ; then
5323 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5324 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5326 { echo "$as_me:$LINENO: result: none" >&5
5327 echo "${ECHO_T}none" >&6; }
5329 max_cmd_len
=$lt_cv_sys_max_cmd_len
5341 { echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5342 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
5343 # Try some XSI features
5346 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5347 = c,a/b,, ) >/dev/null 2>&1 \
5349 { echo "$as_me:$LINENO: result
: $xsi_shell" >&5
5350 echo "${ECHO_T}$xsi_shell" >&6; }
5353 { echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
5354 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6; }
5356 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5358 && lt_shell_append=yes
5359 { echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
5360 echo "${ECHO_T}$lt_shell_append" >&6; }
5363 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5373 # test EBCDIC or ASCII
5374 case `echo X|tr X '\101'` in
5375 A) # ASCII based system
5376 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5377 lt_SP2NL='tr \040 \012'
5378 lt_NL2SP='tr \015\012 \040\040'
5380 *) # EBCDIC based system
5381 lt_SP2NL='tr \100 \n'
5382 lt_NL2SP='tr \r\n \100\100'
5394 { echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
5395 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6; }
5396 if test "${lt_cv_ld_reload_flag+set}" = set; then
5397 echo $ECHO_N "(cached
) $ECHO_C" >&6
5399 lt_cv_ld_reload_flag='-r'
5401 { echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
5402 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
5403 reload_flag=$lt_cv_ld_reload_flag
5404 case $reload_flag in
5406 *) reload_flag=" $reload_flag" ;;
5408 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5411 if test "$GCC" = yes; then
5412 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5414 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5428 { echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
5429 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6; }
5430 if test "${lt_cv_deplibs_check_method+set}" = set; then
5431 echo $ECHO_N "(cached
) $ECHO_C" >&6
5433 lt_cv_file_magic_cmd='$MAGIC_CMD'
5434 lt_cv_file_magic_test_file=
5435 lt_cv_deplibs_check_method='unknown'
5436 # Need to set the preceding variable on all platforms that support
5437 # interlibrary dependencies.
5438 # 'none' -- dependencies not supported.
5439 # `unknown' -- same as none, but documents that we really don't know.
5440 # 'pass_all' -- all dependencies passed with no checks.
5441 # 'test_compile' -- check by making test program.
5442 # 'file_magic [[regex]]' -- check by looking for files in library path
5443 # which responds to the $file_magic_cmd with a given extended regex.
5444 # If you have `file' or equivalent on your system and you're not sure
5445 # whether `pass_all' will *always* work, you probably want this one.
5449 lt_cv_deplibs_check_method=pass_all
5453 lt_cv_deplibs_check_method=pass_all
5457 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5458 lt_cv_file_magic_cmd='/usr/bin/file -L'
5459 lt_cv_file_magic_test_file=/shlib/libc.so
5463 # func_win32_libid is a shell function defined in ltmain.sh
5464 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5465 lt_cv_file_magic_cmd='func_win32_libid'
5469 # Base MSYS/MinGW do not provide the 'file' command needed by
5470 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5471 # unless we find 'file', for example because we are cross-compiling.
5472 if ( file / ) >/dev/null 2>&1; then
5473 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5474 lt_cv_file_magic_cmd='func_win32_libid'
5476 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5477 lt_cv_file_magic_cmd='$OBJDUMP -f'
5481 darwin* | rhapsody*)
5482 lt_cv_deplibs_check_method=pass_all
5485 freebsd* | dragonfly*)
5486 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5489 # Not sure whether the presence of OpenBSD here was a mistake.
5490 # Let's accept both of them until this is cleared up.
5491 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5492 lt_cv_file_magic_cmd=/usr/bin/file
5493 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5497 lt_cv_deplibs_check_method=pass_all
5502 lt_cv_deplibs_check_method=pass_all
5505 hpux10.20* | hpux11*)
5506 lt_cv_file_magic_cmd=/usr/bin/file
5509 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5510 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5513 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]'
5514 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5517 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5518 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5524 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5525 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5528 irix5* | irix6* | nonstopux*)
5530 *-32|*"-32 ") libmagic=32-bit;;
5531 *-n32|*"-n32 ") libmagic=N32;;
5532 *-64|*"-64 ") libmagic=64-bit;;
5533 *) libmagic=never-match;;
5535 lt_cv_deplibs_check_method=pass_all
5538 # This must be Linux ELF.
5539 linux* | k*bsd*-gnu)
5540 lt_cv_deplibs_check_method=pass_all
5544 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5545 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5547 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5552 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5553 lt_cv_file_magic_cmd=/usr/bin/file
5554 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5558 lt_cv_deplibs_check_method=pass_all
5562 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5563 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5565 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5569 osf3* | osf4* | osf5*)
5570 lt_cv_deplibs_check_method=pass_all
5574 lt_cv_deplibs_check_method=pass_all
5578 lt_cv_deplibs_check_method=pass_all
5581 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5582 lt_cv_deplibs_check_method=pass_all
5586 case $host_vendor in
5588 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]'
5589 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5592 lt_cv_deplibs_check_method=pass_all
5595 lt_cv_file_magic_cmd='/bin/file'
5596 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5599 lt_cv_file_magic_cmd='/bin/file'
5600 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5601 lt_cv_file_magic_test_file=/lib/libc.so
5604 lt_cv_deplibs_check_method=pass_all
5607 lt_cv_deplibs_check_method=pass_all
5613 lt_cv_deplibs_check_method=pass_all
5618 { echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
5619 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
5620 file_magic_cmd=$lt_cv_file_magic_cmd
5621 deplibs_check_method=$lt_cv_deplibs_check_method
5622 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5635 if test -n "$ac_tool_prefix"; then
5636 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5637 set dummy ${ac_tool_prefix}ar; ac_word=$2
5638 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
5639 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
5640 if test "${ac_cv_prog_AR+set}" = set; then
5641 echo $ECHO_N "(cached
) $ECHO_C" >&6
5643 if test -n "$AR"; then
5644 ac_cv_prog_AR="$AR" # Let the user override the test.
5646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5650 test -z "$as_dir" && as_dir=.
5651 for ac_exec_ext in '' $ac_executable_extensions; do
5652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5653 ac_cv_prog_AR="${ac_tool_prefix}ar"
5654 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5664 if test -n "$AR"; then
5665 { echo "$as_me:$LINENO: result
: $AR" >&5
5666 echo "${ECHO_T}$AR" >&6; }
5668 { echo "$as_me:$LINENO: result
: no
" >&5
5669 echo "${ECHO_T}no
" >&6; }
5674 if test -z "$ac_cv_prog_AR"; then
5676 # Extract the first word of "ar", so it can be a program name with args.
5677 set dummy ar; ac_word=$2
5678 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
5679 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
5680 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5681 echo $ECHO_N "(cached
) $ECHO_C" >&6
5683 if test -n "$ac_ct_AR"; then
5684 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5690 test -z "$as_dir" && as_dir=.
5691 for ac_exec_ext in '' $ac_executable_extensions; do
5692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5693 ac_cv_prog_ac_ct_AR="ar"
5694 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5703 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5704 if test -n "$ac_ct_AR"; then
5705 { echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5706 echo "${ECHO_T}$ac_ct_AR" >&6; }
5708 { echo "$as_me:$LINENO: result
: no
" >&5
5709 echo "${ECHO_T}no
" >&6; }
5712 if test "x
$ac_ct_AR" = x; then
5715 case $cross_compiling:$ac_tool_warned in
5717 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
5718 whose name does not start with the
host triplet. If you think this
5719 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
5720 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
5721 whose name does not start with the
host triplet. If you think this
5722 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
5723 ac_tool_warned=yes ;;
5731 test -z "$AR" && AR=ar
5732 test -z "$AR_FLAGS" && AR_FLAGS=cru
5744 if test -n "$ac_tool_prefix"; then
5745 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5746 set dummy ${ac_tool_prefix}strip; ac_word=$2
5747 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
5748 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
5749 if test "${ac_cv_prog_STRIP+set}" = set; then
5750 echo $ECHO_N "(cached
) $ECHO_C" >&6
5752 if test -n "$STRIP"; then
5753 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5759 test -z "$as_dir" && as_dir=.
5760 for ac_exec_ext in '' $ac_executable_extensions; do
5761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5762 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5763 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5772 STRIP=$ac_cv_prog_STRIP
5773 if test -n "$STRIP"; then
5774 { echo "$as_me:$LINENO: result
: $STRIP" >&5
5775 echo "${ECHO_T}$STRIP" >&6; }
5777 { echo "$as_me:$LINENO: result
: no
" >&5
5778 echo "${ECHO_T}no
" >&6; }
5783 if test -z "$ac_cv_prog_STRIP"; then
5785 # Extract the first word of "strip
", so it can be a program name with args.
5786 set dummy strip; ac_word=$2
5787 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
5788 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
5789 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5790 echo $ECHO_N "(cached
) $ECHO_C" >&6
5792 if test -n "$ac_ct_STRIP"; then
5793 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5799 test -z "$as_dir" && as_dir=.
5800 for ac_exec_ext in '' $ac_executable_extensions; do
5801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5802 ac_cv_prog_ac_ct_STRIP="strip
"
5803 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5812 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5813 if test -n "$ac_ct_STRIP"; then
5814 { echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5815 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5817 { echo "$as_me:$LINENO: result
: no
" >&5
5818 echo "${ECHO_T}no
" >&6; }
5821 if test "x
$ac_ct_STRIP" = x; then
5824 case $cross_compiling:$ac_tool_warned in
5826 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
5827 whose name does not start with the
host triplet. If you think this
5828 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
5829 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
5830 whose name does not start with the
host triplet. If you think this
5831 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
5832 ac_tool_warned=yes ;;
5837 STRIP="$ac_cv_prog_STRIP"
5840 test -z "$STRIP" && STRIP=:
5847 if test -n "$ac_tool_prefix"; then
5848 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5849 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5850 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
5851 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
5852 if test "${ac_cv_prog_RANLIB+set}" = set; then
5853 echo $ECHO_N "(cached
) $ECHO_C" >&6
5855 if test -n "$RANLIB"; then
5856 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5862 test -z "$as_dir" && as_dir=.
5863 for ac_exec_ext in '' $ac_executable_extensions; do
5864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5865 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5866 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5875 RANLIB=$ac_cv_prog_RANLIB
5876 if test -n "$RANLIB"; then
5877 { echo "$as_me:$LINENO: result
: $RANLIB" >&5
5878 echo "${ECHO_T}$RANLIB" >&6; }
5880 { echo "$as_me:$LINENO: result
: no
" >&5
5881 echo "${ECHO_T}no
" >&6; }
5886 if test -z "$ac_cv_prog_RANLIB"; then
5887 ac_ct_RANLIB=$RANLIB
5888 # Extract the first word of "ranlib
", so it can be a program name with args.
5889 set dummy ranlib; ac_word=$2
5890 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
5891 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
5892 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5893 echo $ECHO_N "(cached
) $ECHO_C" >&6
5895 if test -n "$ac_ct_RANLIB"; then
5896 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5902 test -z "$as_dir" && as_dir=.
5903 for ac_exec_ext in '' $ac_executable_extensions; do
5904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5905 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5906 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5915 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5916 if test -n "$ac_ct_RANLIB"; then
5917 { echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5918 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5920 { echo "$as_me:$LINENO: result
: no
" >&5
5921 echo "${ECHO_T}no
" >&6; }
5924 if test "x
$ac_ct_RANLIB" = x; then
5927 case $cross_compiling:$ac_tool_warned in
5929 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
5930 whose name does not start with the
host triplet. If you think this
5931 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
5932 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
5933 whose name does not start with the
host triplet. If you think this
5934 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
5935 ac_tool_warned=yes ;;
5937 RANLIB=$ac_ct_RANLIB
5940 RANLIB="$ac_cv_prog_RANLIB"
5943 test -z "$RANLIB" && RANLIB=:
5950 # Determine commands to create old-style static archives.
5951 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5952 old_postinstall_cmds='chmod 644 $oldlib'
5953 old_postuninstall_cmds=
5955 if test -n "$RANLIB"; then
5958 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5961 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5964 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6000 # If no C compiler was specified, use CC.
6003 # If no C compiler flags were specified, use CFLAGS.
6004 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6006 # Allow CC to be a program name with arguments.
6010 # Check for command to grab the raw symbol name followed by C symbol from nm.
6011 { echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
6012 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6; }
6013 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6014 echo $ECHO_N "(cached
) $ECHO_C" >&6
6017 # These are sane defaults that work on at least a few old systems.
6018 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6020 # Character class describing NM global symbol codes.
6021 symcode='[BCDEGRST]'
6023 # Regexp to match symbols that can be accessed directly from C.
6024 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6026 # Define system-specific variables.
6031 cygwin* | mingw* | pw32*)
6032 symcode='[ABCDGISTW]'
6035 if test "$host_cpu" = ia64; then
6036 symcode='[ABCDEGRST]'
6040 symcode='[BCDEGRST]'
6043 symcode='[BCDEGQRST]'
6054 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6062 # If we're using GNU nm, then use its standard symbol codes.
6063 case `$NM -V 2>&1` in
6064 *GNU* | *'with BFD'*)
6065 symcode='[ABCDGIRSTW]' ;;
6068 # Transform an extracted symbol line into a proper C declaration.
6069 # Some systems (esp. on ia64) link data and code symbols differently,
6070 # so use this general approach.
6071 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6073 # Transform an extracted symbol line into symbol name and symbol address
6074 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6076 # Handle CRLF in mingw tool chain
6080 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6084 # Try without a prefix underscore, then with it.
6085 for ac_symprfx in "" "_
"; do
6087 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6088 symxfrm="\\1 $ac_symprfx\\2 \\2"
6090 # Write the raw and C identifiers.
6091 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6092 # Fake it for dumpbin and say T for any non-static function
6093 # and D for any global variable.
6094 # Also find C++ and __fastcall symbols from MSVC++,
6095 # which start with @ or ?.
6096 lt_cv_sys_global_symbol_pipe="$AWK '"\
6097 " {last_section=section; section=\$ 3};"\
6098 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6099 " \$ 0!~/External *\|/{next};"\
6100 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6101 " {if(hide[section]) next};"\
6102 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6103 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6104 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6105 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6106 " ' prfx
=^
$ac_symprfx"
6108 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6111 # Check to see that the pipe works correctly.
6115 cat > conftest.$ac_ext <<_LT_EOF
6120 void nm_test_func(void);
6121 void nm_test_func(void){}
6125 int main(){nm_test_var='a';nm_test_func();return(0);}
6128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6129 (eval $ac_compile) 2>&5
6131 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6132 (exit $ac_status); }; then
6133 # Now try to grab the symbols.
6135 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
6136 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6138 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6139 (exit $ac_status); } && test -s "$nlist"; then
6140 # Try sorting and uniquifying the output.
6141 if sort "$nlist" | uniq > "$nlist"T; then
6142 mv -f "$nlist"T "$nlist"
6147 # Make sure that we snagged all the symbols we need.
6148 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6149 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6150 cat <<_LT_EOF > conftest.$ac_ext
6156 # Now generate the symbol file.
6157 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6159 cat <<_LT_EOF >> conftest.$ac_ext
6161 /* The mapping between symbol names and symbols. */
6166 lt__PROGRAM__LTX_preloaded_symbols[] =
6168 { "@PROGRAM@
", (void *) 0 },
6170 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6171 cat <<\_LT_EOF >> conftest.$ac_ext
6175 /* This works around a problem in FreeBSD linker */
6176 #ifdef FREEBSD_WORKAROUND
6177 static const void *lt_preloaded_setup() {
6178 return lt__PROGRAM__LTX_preloaded_symbols;
6186 # Now try linking the two files.
6187 mv conftest.$ac_objext conftstm.$ac_objext
6188 lt_save_LIBS="$LIBS"
6189 lt_save_CFLAGS="$CFLAGS"
6190 LIBS="conftstm.
$ac_objext"
6191 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6193 (eval $ac_link) 2>&5
6195 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6196 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6199 LIBS="$lt_save_LIBS"
6200 CFLAGS="$lt_save_CFLAGS"
6202 echo "cannot
find nm_test_func
in $nlist" >&5
6205 echo "cannot
find nm_test_var
in $nlist" >&5
6208 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6211 echo "$progname: failed program was
:" >&5
6212 cat conftest.$ac_ext >&5
6214 rm -f conftest* conftst*
6216 # Do not use the global_symbol_pipe unless it works.
6217 if test "$pipe_works" = yes; then
6220 lt_cv_sys_global_symbol_pipe=
6226 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6227 lt_cv_sys_global_symbol_to_cdecl=
6229 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6230 { echo "$as_me:$LINENO: result
: failed
" >&5
6231 echo "${ECHO_T}failed
" >&6; }
6233 { echo "$as_me:$LINENO: result
: ok
" >&5
6234 echo "${ECHO_T}ok
" >&6; }
6253 # Check whether --enable-libtool-lock was given.
6254 if test "${enable_libtool_lock+set}" = set; then
6255 enableval=$enable_libtool_lock;
6258 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6260 # Some flags need to be propagated to the compiler or linker for good
6264 # Find out which ABI we are using.
6265 echo 'int i;' > conftest.$ac_ext
6266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6267 (eval $ac_compile) 2>&5
6269 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6270 (exit $ac_status); }; then
6271 case `/usr/bin/file conftest.$ac_objext` in
6283 # Find out which ABI we are using.
6284 echo '#line 6284 "configure
"' > conftest.$ac_ext
6285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6286 (eval $ac_compile) 2>&5
6288 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6289 (exit $ac_status); }; then
6290 if test "$lt_cv_prog_gnu_ld" = yes; then
6291 case `/usr/bin/file conftest.$ac_objext` in
6293 LD="${LD-ld} -melf32bsmip"
6296 LD="${LD-ld} -melf32bmipn32"
6299 LD="${LD-ld} -melf64bmip"
6303 case `/usr/bin/file conftest.$ac_objext` in
6319 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6320 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6321 # Find out which ABI we are using.
6322 echo 'int i;' > conftest.$ac_ext
6323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6324 (eval $ac_compile) 2>&5
6326 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6327 (exit $ac_status); }; then
6328 case `/usr/bin/file conftest.o` in
6331 x86_64-*kfreebsd*-gnu)
6332 LD="${LD-ld} -m elf_i386_fbsd
"
6335 LD="${LD-ld} -m elf_i386
"
6337 ppc64-*linux*|powerpc64-*linux*)
6338 LD="${LD-ld} -m elf32ppclinux
"
6341 LD="${LD-ld} -m elf_s390
"
6344 LD="${LD-ld} -m elf32_sparc
"
6350 x86_64-*kfreebsd*-gnu)
6351 LD="${LD-ld} -m elf_x86_64_fbsd
"
6354 LD="${LD-ld} -m elf_x86_64
"
6356 ppc*-*linux*|powerpc*-*linux*)
6357 LD="${LD-ld} -m elf64ppc
"
6359 s390*-*linux*|s390*-*tpf*)
6360 LD="${LD-ld} -m elf64_s390
"
6363 LD="${LD-ld} -m elf64_sparc
"
6373 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6374 SAVE_CFLAGS="$CFLAGS"
6375 CFLAGS="$CFLAGS -belf"
6376 { echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
6377 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6; }
6378 if test "${lt_cv_cc_needs_belf+set}" = set; then
6379 echo $ECHO_N "(cached
) $ECHO_C" >&6
6382 ac_cpp='$CPP $CPPFLAGS'
6383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6387 if test x$gcc_no_link = xyes; then
6388 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
6389 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
6390 { (exit 1); exit 1; }; }
6392 cat >conftest.$ac_ext <<_ACEOF
6395 cat confdefs.h >>conftest.$ac_ext
6396 cat >>conftest.$ac_ext <<_ACEOF
6397 /* end confdefs.h. */
6407 rm -f conftest.$ac_objext conftest$ac_exeext
6408 if { (ac_try="$ac_link"
6410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6411 *) ac_try_echo=$ac_try;;
6413 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6414 (eval "$ac_link") 2>conftest.er1
6416 grep -v '^ *+' conftest.er1 >conftest.err
6418 cat conftest.err >&5
6419 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6420 (exit $ac_status); } && {
6421 test -z "$ac_c_werror_flag" ||
6422 test ! -s conftest.err
6423 } && test -s conftest$ac_exeext &&
6424 $as_test_x conftest$ac_exeext; then
6425 lt_cv_cc_needs_belf=yes
6427 echo "$as_me: failed program was
:" >&5
6428 sed 's/^/| /' conftest.$ac_ext >&5
6430 lt_cv_cc_needs_belf=no
6433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6434 conftest$ac_exeext conftest.$ac_ext
6436 ac_cpp='$CPP $CPPFLAGS'
6437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6442 { echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
6443 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
6444 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6445 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6446 CFLAGS="$SAVE_CFLAGS"
6450 # Find out which ABI we are using.
6451 echo 'int i;' > conftest.$ac_ext
6452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6453 (eval $ac_compile) 2>&5
6455 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6456 (exit $ac_status); }; then
6457 case `/usr/bin/file conftest.o` in
6459 case $lt_cv_prog_gnu_ld in
6460 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6461 *) LD="${LD-ld} -64" ;;
6470 need_locks="$enable_libtool_lock"
6473 ac_cpp='$CPP $CPPFLAGS'
6474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6477 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
6478 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
6479 # On Suns, sometimes $CPP names a directory.
6480 if test -n "$CPP" && test -d "$CPP"; then
6483 if test -z "$CPP"; then
6484 if test "${ac_cv_prog_CPP+set}" = set; then
6485 echo $ECHO_N "(cached
) $ECHO_C" >&6
6487 # Double quotes because CPP needs to be expanded
6488 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6491 for ac_c_preproc_warn_flag in '' yes
6493 # Use a header file that comes with gcc, so configuring glibc
6494 # with a fresh cross-compiler works.
6495 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6496 # <limits.h> exists even on freestanding compilers.
6497 # On the NeXT, cc -E runs the code through the compiler's parser,
6498 # not just through cpp. "Syntax error
" is here to catch this case.
6499 cat >conftest.$ac_ext <<_ACEOF
6502 cat confdefs.h >>conftest.$ac_ext
6503 cat >>conftest.$ac_ext <<_ACEOF
6504 /* end confdefs.h. */
6506 # include <limits.h>
6508 # include <assert.h>
6512 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6515 *) ac_try_echo=$ac_try;;
6517 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6518 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6520 grep -v '^ *+' conftest.er1 >conftest.err
6522 cat conftest.err >&5
6523 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6524 (exit $ac_status); } >/dev/null && {
6525 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6526 test ! -s conftest.err
6530 echo "$as_me: failed program was
:" >&5
6531 sed 's/^/| /' conftest.$ac_ext >&5
6533 # Broken: fails on valid input.
6537 rm -f conftest.err conftest.$ac_ext
6539 # OK, works on sane cases. Now check whether nonexistent headers
6540 # can be detected and how.
6541 cat >conftest.$ac_ext <<_ACEOF
6544 cat confdefs.h >>conftest.$ac_ext
6545 cat >>conftest.$ac_ext <<_ACEOF
6546 /* end confdefs.h. */
6547 #include <ac_nonexistent.h>
6549 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6552 *) ac_try_echo=$ac_try;;
6554 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6555 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6557 grep -v '^ *+' conftest.er1 >conftest.err
6559 cat conftest.err >&5
6560 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6561 (exit $ac_status); } >/dev/null && {
6562 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6563 test ! -s conftest.err
6565 # Broken: success on invalid input.
6568 echo "$as_me: failed program was
:" >&5
6569 sed 's/^/| /' conftest.$ac_ext >&5
6571 # Passes both tests.
6576 rm -f conftest.err conftest.$ac_ext
6579 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6580 rm -f conftest.err conftest.$ac_ext
6581 if $ac_preproc_ok; then
6593 { echo "$as_me:$LINENO: result
: $CPP" >&5
6594 echo "${ECHO_T}$CPP" >&6; }
6596 for ac_c_preproc_warn_flag in '' yes
6598 # Use a header file that comes with gcc, so configuring glibc
6599 # with a fresh cross-compiler works.
6600 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6601 # <limits.h> exists even on freestanding compilers.
6602 # On the NeXT, cc -E runs the code through the compiler's parser,
6603 # not just through cpp. "Syntax error
" is here to catch this case.
6604 cat >conftest.$ac_ext <<_ACEOF
6607 cat confdefs.h >>conftest.$ac_ext
6608 cat >>conftest.$ac_ext <<_ACEOF
6609 /* end confdefs.h. */
6611 # include <limits.h>
6613 # include <assert.h>
6617 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6620 *) ac_try_echo=$ac_try;;
6622 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6623 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6625 grep -v '^ *+' conftest.er1 >conftest.err
6627 cat conftest.err >&5
6628 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6629 (exit $ac_status); } >/dev/null && {
6630 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6631 test ! -s conftest.err
6635 echo "$as_me: failed program was
:" >&5
6636 sed 's/^/| /' conftest.$ac_ext >&5
6638 # Broken: fails on valid input.
6642 rm -f conftest.err conftest.$ac_ext
6644 # OK, works on sane cases. Now check whether nonexistent headers
6645 # can be detected and how.
6646 cat >conftest.$ac_ext <<_ACEOF
6649 cat confdefs.h >>conftest.$ac_ext
6650 cat >>conftest.$ac_ext <<_ACEOF
6651 /* end confdefs.h. */
6652 #include <ac_nonexistent.h>
6654 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6657 *) ac_try_echo=$ac_try;;
6659 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6660 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6662 grep -v '^ *+' conftest.er1 >conftest.err
6664 cat conftest.err >&5
6665 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6666 (exit $ac_status); } >/dev/null && {
6667 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6668 test ! -s conftest.err
6670 # Broken: success on invalid input.
6673 echo "$as_me: failed program was
:" >&5
6674 sed 's/^/| /' conftest.$ac_ext >&5
6676 # Passes both tests.
6681 rm -f conftest.err conftest.$ac_ext
6684 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6685 rm -f conftest.err conftest.$ac_ext
6686 if $ac_preproc_ok; then
6689 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
6690 See \
`config.log' for more details." >&5
6691 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6692 See \`config.log
' for more details." >&2;}
6693 { (exit 1); exit 1; }; }
6697 ac_cpp='$CPP $CPPFLAGS'
6698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6699 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6703 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6704 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6705 if test "${ac_cv_header_stdc+set}" = set; then
6706 echo $ECHO_N "(cached) $ECHO_C" >&6
6708 cat >conftest.$ac_ext <<_ACEOF
6711 cat confdefs.h >>conftest.$ac_ext
6712 cat >>conftest.$ac_ext <<_ACEOF
6713 /* end confdefs.h. */
6727 rm -f conftest.$ac_objext
6728 if { (ac_try="$ac_compile"
6730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6731 *) ac_try_echo=$ac_try;;
6733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6734 (eval "$ac_compile") 2>conftest.er1
6736 grep -v '^
*+' conftest.er1 >conftest.err
6738 cat conftest.err >&5
6739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6740 (exit $ac_status); } && {
6741 test -z "$ac_c_werror_flag" ||
6742 test ! -s conftest.err
6743 } && test -s conftest.$ac_objext; then
6744 ac_cv_header_stdc=yes
6746 echo "$as_me: failed program was:" >&5
6747 sed 's
/^
/|
/' conftest.$ac_ext >&5
6749 ac_cv_header_stdc=no
6752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6754 if test $ac_cv_header_stdc = yes; then
6755 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6756 cat >conftest.$ac_ext <<_ACEOF
6759 cat confdefs.h >>conftest.$ac_ext
6760 cat >>conftest.$ac_ext <<_ACEOF
6761 /* end confdefs.h. */
6765 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6766 $EGREP "memchr" >/dev/null 2>&1; then
6769 ac_cv_header_stdc=no
6775 if test $ac_cv_header_stdc = yes; then
6776 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6777 cat >conftest.$ac_ext <<_ACEOF
6780 cat confdefs.h >>conftest.$ac_ext
6781 cat >>conftest.$ac_ext <<_ACEOF
6782 /* end confdefs.h. */
6786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6787 $EGREP "free" >/dev/null 2>&1; then
6790 ac_cv_header_stdc=no
6796 if test $ac_cv_header_stdc = yes; then
6797 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6798 if test "$cross_compiling" = yes; then
6801 cat >conftest.$ac_ext <<_ACEOF
6804 cat confdefs.h >>conftest.$ac_ext
6805 cat >>conftest.$ac_ext <<_ACEOF
6806 /* end confdefs.h. */
6809 #if ((' ' & 0x0FF) == 0x020)
6810 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
6811 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
6813 # define ISLOWER(c) \
6814 (('a
' <= (c) && (c) <= 'i
') \
6815 || ('j
' <= (c) && (c) <= 'r
') \
6816 || ('s
' <= (c) && (c) <= 'z
'))
6817 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6820 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6825 for (i = 0; i < 256; i++)
6826 if (XOR (islower (i), ISLOWER (i))
6827 || toupper (i) != TOUPPER (i))
6832 rm -f conftest$ac_exeext
6833 if { (ac_try="$ac_link"
6835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6836 *) ac_try_echo=$ac_try;;
6838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6839 (eval "$ac_link") 2>&5
6841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6842 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
6843 { (case "(($ac_try" in
6844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6845 *) ac_try_echo=$ac_try;;
6847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6848 (eval "$ac_try") 2>&5
6850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6851 (exit $ac_status); }; }; then
6854 echo "$as_me: program exited with status $ac_status" >&5
6855 echo "$as_me: failed program was:" >&5
6856 sed 's
/^
/|
/' conftest.$ac_ext >&5
6859 ac_cv_header_stdc=no
6861 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6867 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6868 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6869 if test $ac_cv_header_stdc = yes; then
6871 cat >>confdefs.h <<\_ACEOF
6872 #define STDC_HEADERS 1
6877 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6887 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6888 inttypes.h stdint.h unistd.h
6890 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6891 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6893 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6894 echo $ECHO_N "(cached) $ECHO_C" >&6
6896 cat >conftest.$ac_ext <<_ACEOF
6899 cat confdefs.h >>conftest.$ac_ext
6900 cat >>conftest.$ac_ext <<_ACEOF
6901 /* end confdefs.h. */
6902 $ac_includes_default
6904 #include <$ac_header>
6906 rm -f conftest.$ac_objext
6907 if { (ac_try="$ac_compile"
6909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6910 *) ac_try_echo=$ac_try;;
6912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6913 (eval "$ac_compile") 2>conftest.er1
6915 grep -v '^
*+' conftest.er1 >conftest.err
6917 cat conftest.err >&5
6918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919 (exit $ac_status); } && {
6920 test -z "$ac_c_werror_flag" ||
6921 test ! -s conftest.err
6922 } && test -s conftest.$ac_objext; then
6923 eval "$as_ac_Header=yes"
6925 echo "$as_me: failed program was:" >&5
6926 sed 's
/^
/|
/' conftest.$ac_ext >&5
6928 eval "$as_ac_Header=no"
6931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6933 ac_res=`eval echo '${'$as_ac_Header'}'`
6934 { echo "$as_me:$LINENO: result: $ac_res" >&5
6935 echo "${ECHO_T}$ac_res" >&6; }
6936 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6937 cat >>confdefs.h <<_ACEOF
6938 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6947 for ac_header in dlfcn.h
6949 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6950 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6952 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6953 echo $ECHO_N "(cached) $ECHO_C" >&6
6955 cat >conftest.$ac_ext <<_ACEOF
6958 cat confdefs.h >>conftest.$ac_ext
6959 cat >>conftest.$ac_ext <<_ACEOF
6960 /* end confdefs.h. */
6961 $ac_includes_default
6963 #include <$ac_header>
6965 rm -f conftest.$ac_objext
6966 if { (ac_try="$ac_compile"
6968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6969 *) ac_try_echo=$ac_try;;
6971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6972 (eval "$ac_compile") 2>conftest.er1
6974 grep -v '^
*+' conftest.er1 >conftest.err
6976 cat conftest.err >&5
6977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6978 (exit $ac_status); } && {
6979 test -z "$ac_c_werror_flag" ||
6980 test ! -s conftest.err
6981 } && test -s conftest.$ac_objext; then
6982 eval "$as_ac_Header=yes"
6984 echo "$as_me: failed program was:" >&5
6985 sed 's
/^
/|
/' conftest.$ac_ext >&5
6987 eval "$as_ac_Header=no"
6990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6992 ac_res=`eval echo '${'$as_ac_Header'}'`
6993 { echo "$as_me:$LINENO: result: $ac_res" >&5
6994 echo "${ECHO_T}$ac_res" >&6; }
6995 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6996 cat >>confdefs.h <<_ACEOF
6997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7006 # This can be used to rebuild libtool when needed
7007 LIBTOOL_DEPS="$ltmain"
7009 # Always use our own libtool.
7010 LIBTOOL='$
(SHELL
) $
(top_builddir
)/libtool
'
7036 test -z "$LN_S" && LN_S="ln -s"
7051 if test -n "${ZSH_VERSION+set}" ; then
7052 setopt NO_GLOB_SUBST
7055 { echo "$as_me:$LINENO: checking for objdir" >&5
7056 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7057 if test "${lt_cv_objdir+set}" = set; then
7058 echo $ECHO_N "(cached) $ECHO_C" >&6
7060 rm -f .libs 2>/dev/null
7061 mkdir .libs 2>/dev/null
7062 if test -d .libs; then
7065 # MS-DOS does not allow filenames that begin with a dot.
7068 rmdir .libs 2>/dev/null
7070 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7071 echo "${ECHO_T}$lt_cv_objdir" >&6; }
7072 objdir=$lt_cv_objdir
7078 cat >>confdefs.h <<_ACEOF
7079 #define LT_OBJDIR "$lt_cv_objdir/"
7100 # AIX sometimes has problems with the GCC collect2 program. For some
7101 # reason, if we set the COLLECT_NAMES environment variable, the problems
7102 # vanish in a puff of smoke.
7103 if test "X${COLLECT_NAMES+set}" != Xset; then
7105 export COLLECT_NAMES
7110 # Sed substitution that helps us do robust quoting. It backslashifies
7111 # metacharacters that are still active within double-quoted strings.
7112 sed_quote_subst='s
/\
(["`$\\]\)/\\\1/g'
7114 # Same as above, but do not quote variable references.
7115 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7117 # Sed substitution to delay expansion of an escaped shell variable in a
7118 # double_quote_subst'ed string.
7119 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7121 # Sed substitution to delay expansion of an escaped single quote.
7122 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7124 # Sed substitution to avoid accidental globbing in evaled expressions
7125 no_glob_subst='s/\*/\\\*/g'
7129 can_build_shared=yes
7131 # All known linkers require a `.a
' archive for static linking (except MSVC,
7132 # which needs '.lib
').
7135 with_gnu_ld="$lt_cv_prog_gnu_ld"
7138 old_CFLAGS="$CFLAGS"
7140 # Set sane defaults for various variables
7141 test -z "$CC" && CC=cc
7142 test -z "$LTCC" && LTCC=$CC
7143 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7144 test -z "$LD" && LD=ld
7145 test -z "$ac_objext" && ac_objext=o
7147 for cc_temp in $compiler""; do
7149 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7150 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7155 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's
%.
*/%%' -e "s%^$host_alias-%%"`
7158 # Only perform the check for file, if the check method requires it
7159 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7160 case $deplibs_check_method in
7162 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7163 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7164 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7165 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7166 echo $ECHO_N "(cached) $ECHO_C" >&6
7170 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7173 lt_save_MAGIC_CMD="$MAGIC_CMD"
7174 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7175 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7176 for ac_dir in $ac_dummy; do
7178 test -z "$ac_dir" && ac_dir=.
7179 if test -f $ac_dir/${ac_tool_prefix}file; then
7180 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7181 if test -n "$file_magic_test_file"; then
7182 case $deplibs_check_method in
7184 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7185 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7186 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7187 $EGREP "$file_magic_regex" > /dev/null; then
7192 *** Warning: the command libtool uses to detect shared libraries,
7193 *** $file_magic_cmd, produces output that libtool cannot recognize.
7194 *** The result is that libtool may fail to recognize shared libraries
7195 *** as such. This will affect the creation of libtool libraries that
7196 *** depend on shared libraries, but programs linked with such libtool
7197 *** libraries will work regardless of this problem. Nevertheless, you
7198 *** may want to report the problem to your system manager and/or to
7199 *** bug-libtool@gnu.org
7209 MAGIC_CMD="$lt_save_MAGIC_CMD"
7214 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7215 if test -n "$MAGIC_CMD"; then
7216 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7217 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7219 { echo "$as_me:$LINENO: result: no" >&5
7220 echo "${ECHO_T}no" >&6; }
7227 if test -z "$lt_cv_path_MAGIC_CMD"; then
7228 if test -n "$ac_tool_prefix"; then
7229 { echo "$as_me:$LINENO: checking for file" >&5
7230 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7231 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7232 echo $ECHO_N "(cached) $ECHO_C" >&6
7236 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7239 lt_save_MAGIC_CMD="$MAGIC_CMD"
7240 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7241 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7242 for ac_dir in $ac_dummy; do
7244 test -z "$ac_dir" && ac_dir=.
7245 if test -f $ac_dir/file; then
7246 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7247 if test -n "$file_magic_test_file"; then
7248 case $deplibs_check_method in
7250 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7251 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7252 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7253 $EGREP "$file_magic_regex" > /dev/null; then
7258 *** Warning: the command libtool uses to detect shared libraries,
7259 *** $file_magic_cmd, produces output that libtool cannot recognize.
7260 *** The result is that libtool may fail to recognize shared libraries
7261 *** as such. This will affect the creation of libtool libraries that
7262 *** depend on shared libraries, but programs linked with such libtool
7263 *** libraries will work regardless of this problem. Nevertheless, you
7264 *** may want to report the problem to your system manager and/or to
7265 *** bug-libtool@gnu.org
7275 MAGIC_CMD="$lt_save_MAGIC_CMD"
7280 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7281 if test -n "$MAGIC_CMD"; then
7282 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7283 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7285 { echo "$as_me:$LINENO: result: no" >&5
7286 echo "${ECHO_T}no" >&6; }
7299 # Use C for the default configuration in the libtool script
7303 ac_cpp='$CPP $CPPFLAGS'
7304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
7305 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
7306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7309 # Source file extension for C test sources.
7312 # Object file extension for compiled C test sources.
7316 # Code to be used in simple compile tests
7317 lt_simple_compile_test_code="int some_variable = 0;"
7319 # Code to be used in simple link tests
7320 lt_simple_link_test_code='int main
(){return(0);}'
7328 # If no C compiler was specified, use CC.
7331 # If no C compiler flags were specified, use CFLAGS.
7332 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7334 # Allow CC to be a program name with arguments.
7337 # Save the default compiler, since it gets overwritten when the other
7338 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7339 compiler_DEFAULT=$CC
7341 # save warnings/boilerplate of simple test code
7342 ac_outfile=conftest.$ac_objext
7343 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7344 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
7345 _lt_compiler_boilerplate=`cat conftest.err`
7348 ac_outfile=conftest.$ac_objext
7349 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7350 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
7351 _lt_linker_boilerplate=`cat conftest.err`
7356 ## There is no encapsulation within the following macros, do not change
7357 ## the running order or otherwise move them around unless you know exactly
7358 ## what you are doing...
7359 if test -n "$compiler"; then
7361 lt_prog_compiler_no_builtin_flag=
7363 if test "$GCC" = yes; then
7364 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7366 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7367 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7368 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7369 echo $ECHO_N "(cached) $ECHO_C" >&6
7371 lt_cv_prog_compiler_rtti_exceptions=no
7372 ac_outfile=conftest.$ac_objext
7373 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7374 lt_compiler_flag="-fno-rtti -fno-exceptions"
7375 # Insert the option either (1) after the last *FLAGS variable, or
7376 # (2) before a word containing "conftest.", or (3) at the end.
7377 # Note that $ac_compile itself does not contain backslashes and begins
7378 # with a dollar sign (not a hyphen), so the echo should work correctly.
7379 # The option is referenced via a variable to avoid confusing sed.
7380 lt_compile=`echo "$ac_compile" | $SED \
7381 -e 's
:.
*FLAGS
}\
{0,1\
} :&$lt_compiler_flag :; t
' \
7382 -e 's
: [^
]*conftest\.
: $lt_compiler_flag&:; t
' \
7383 -e 's
:$
: $lt_compiler_flag:'`
7384 (eval echo "\"\$as_me:7384: $lt_compile\"" >&5)
7385 (eval "$lt_compile" 2>conftest.err)
7387 cat conftest.err >&5
7388 echo "$as_me:7388: \$? = $ac_status" >&5
7389 if (exit $ac_status) && test -s "$ac_outfile"; then
7390 # The compiler can only warn and ignore the option if not recognized
7391 # So say no if there are warnings other than the usual output.
7392 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$
/d
' >conftest.exp
7393 $SED '/^$
/d
; /^
*+/d
' conftest.err >conftest.er2
7394 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7395 lt_cv_prog_compiler_rtti_exceptions=yes
7401 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7402 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7404 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7405 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7417 lt_prog_compiler_wl=
7418 lt_prog_compiler_pic=
7419 lt_prog_compiler_static=
7421 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7422 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7424 if test "$GCC" = yes; then
7425 lt_prog_compiler_wl='-Wl,'
7426 lt_prog_compiler_static='-static'
7430 # All AIX code is PIC.
7431 if test "$host_cpu" = ia64; then
7432 # AIX 5 now supports IA64 processor
7433 lt_prog_compiler_static='-Bstatic'
7438 if test "$host_cpu" = m68k; then
7439 # FIXME: we need at least 68020 code to build shared libraries, but
7440 # adding the `-m68020' flag to GCC prevents building anything better
,
7442 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7446 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7447 # PIC is the default for these OSes.
7450 mingw
* | cygwin
* | pw32
* | os2
*)
7451 # This hack is so that the source file can tell whether it is being
7452 # built for inclusion in a dll (and should export symbols for example).
7453 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7454 # (--disable-auto-import) libraries
7455 lt_prog_compiler_pic
='-DDLL_EXPORT'
7458 darwin
* | rhapsody
*)
7459 # PIC is the default on this platform
7460 # Common symbols not allowed in MH_DYLIB files
7461 lt_prog_compiler_pic
='-fno-common'
7465 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7472 lt_prog_compiler_pic
='-fPIC'
7478 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7479 # Instead, we relocate shared libraries at runtime.
7483 # Just because we use GCC doesn't mean we suddenly get shared libraries
7484 # on systems that don't support them.
7485 lt_prog_compiler_can_build_shared
=no
7490 # QNX uses GNU C++, but need to define -shared option too, otherwise
7492 lt_prog_compiler_pic
='-fPIC -shared'
7496 if test -d /usr
/nec
; then
7497 lt_prog_compiler_pic
=-Kconform_pic
7502 lt_prog_compiler_pic
='-fPIC'
7506 # PORTME Check for flag to pass linker flags through the system compiler.
7509 lt_prog_compiler_wl
='-Wl,'
7510 if test "$host_cpu" = ia64
; then
7511 # AIX 5 now supports IA64 processor
7512 lt_prog_compiler_static
='-Bstatic'
7514 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7518 # PIC is the default on this platform
7519 # Common symbols not allowed in MH_DYLIB files
7520 case $cc_basename in
7522 lt_prog_compiler_pic
='-qnocommon'
7523 lt_prog_compiler_wl
='-Wl,'
7528 mingw
* | cygwin
* | pw32
* | os2
*)
7529 # This hack is so that the source file can tell whether it is being
7530 # built for inclusion in a dll (and should export symbols for example).
7531 lt_prog_compiler_pic
='-DDLL_EXPORT'
7534 hpux9
* | hpux10
* | hpux11
*)
7535 lt_prog_compiler_wl
='-Wl,'
7536 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7543 lt_prog_compiler_pic
='+Z'
7546 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7547 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7550 irix5
* | irix6
* | nonstopux
*)
7551 lt_prog_compiler_wl
='-Wl,'
7552 # PIC (with -KPIC) is the default.
7553 lt_prog_compiler_static
='-non_shared'
7556 linux
* | k
*bsd
*-gnu)
7557 case $cc_basename in
7559 lt_prog_compiler_wl
='-Wl,'
7560 lt_prog_compiler_pic
='-KPIC'
7561 lt_prog_compiler_static
='-static'
7563 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7564 # Portland Group compilers (*not* the Pentium gcc compiler,
7565 # which looks to be a dead project)
7566 lt_prog_compiler_wl
='-Wl,'
7567 lt_prog_compiler_pic
='-fpic'
7568 lt_prog_compiler_static
='-Bstatic'
7571 lt_prog_compiler_wl
='-Wl,'
7572 # All Alpha code is PIC.
7573 lt_prog_compiler_static
='-non_shared'
7576 case `$CC -V 2>&1 | sed 5q` in
7579 lt_prog_compiler_pic
='-KPIC'
7580 lt_prog_compiler_static
='-Bstatic'
7581 lt_prog_compiler_wl
='-Wl,'
7584 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7585 lt_prog_compiler_pic
='-KPIC'
7586 lt_prog_compiler_static
='-Bstatic'
7587 lt_prog_compiler_wl
=''
7595 lt_prog_compiler_pic
='-KPIC'
7596 lt_prog_compiler_static
='-Bstatic'
7600 # QNX uses GNU C++, but need to define -shared option too, otherwise
7602 lt_prog_compiler_pic
='-fPIC -shared'
7605 osf3
* | osf4
* | osf5
*)
7606 lt_prog_compiler_wl
='-Wl,'
7607 # All OSF/1 code is PIC.
7608 lt_prog_compiler_static
='-non_shared'
7612 lt_prog_compiler_static
='-non_shared'
7616 lt_prog_compiler_pic
='-KPIC'
7617 lt_prog_compiler_static
='-Bstatic'
7618 case $cc_basename in
7620 lt_prog_compiler_wl
='-Qoption ld ';;
7622 lt_prog_compiler_wl
='-Wl,';;
7627 lt_prog_compiler_wl
='-Qoption ld '
7628 lt_prog_compiler_pic
='-PIC'
7629 lt_prog_compiler_static
='-Bstatic'
7632 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7633 lt_prog_compiler_wl
='-Wl,'
7634 lt_prog_compiler_pic
='-KPIC'
7635 lt_prog_compiler_static
='-Bstatic'
7639 if test -d /usr
/nec
;then
7640 lt_prog_compiler_pic
='-Kconform_pic'
7641 lt_prog_compiler_static
='-Bstatic'
7645 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7646 lt_prog_compiler_wl
='-Wl,'
7647 lt_prog_compiler_pic
='-KPIC'
7648 lt_prog_compiler_static
='-Bstatic'
7652 lt_prog_compiler_wl
='-Wl,'
7653 lt_prog_compiler_can_build_shared
=no
7657 lt_prog_compiler_pic
='-pic'
7658 lt_prog_compiler_static
='-Bstatic'
7662 lt_prog_compiler_can_build_shared
=no
7668 # For platforms which do not support PIC, -DPIC is meaningless:
7670 lt_prog_compiler_pic
=
7673 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7676 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7677 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7685 # Check to make sure the PIC flag actually works.
7687 if test -n "$lt_prog_compiler_pic"; then
7688 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7689 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7690 if test "${lt_prog_compiler_pic_works+set}" = set; then
7691 echo $ECHO_N "(cached) $ECHO_C" >&6
7693 lt_prog_compiler_pic_works
=no
7694 ac_outfile
=conftest.
$ac_objext
7695 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7696 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7697 # Insert the option either (1) after the last *FLAGS variable, or
7698 # (2) before a word containing "conftest.", or (3) at the end.
7699 # Note that $ac_compile itself does not contain backslashes and begins
7700 # with a dollar sign (not a hyphen), so the echo should work correctly.
7701 # The option is referenced via a variable to avoid confusing sed.
7702 lt_compile
=`echo "$ac_compile" | $SED \
7703 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7704 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7705 -e 's:$: $lt_compiler_flag:'`
7706 (eval echo "\"\$as_me:7706: $lt_compile\"" >&5)
7707 (eval "$lt_compile" 2>conftest.err
)
7709 cat conftest.err
>&5
7710 echo "$as_me:7710: \$? = $ac_status" >&5
7711 if (exit $ac_status) && test -s "$ac_outfile"; then
7712 # The compiler can only warn and ignore the option if not recognized
7713 # So say no if there are warnings other than the usual output.
7714 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7715 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7716 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7717 lt_prog_compiler_pic_works
=yes
7723 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7724 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7726 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7727 case $lt_prog_compiler_pic in
7729 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7732 lt_prog_compiler_pic
=
7733 lt_prog_compiler_can_build_shared
=no
7744 # Check to make sure the static flag actually works.
7746 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7747 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7748 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7749 if test "${lt_prog_compiler_static_works+set}" = set; then
7750 echo $ECHO_N "(cached) $ECHO_C" >&6
7752 lt_prog_compiler_static_works
=no
7753 save_LDFLAGS
="$LDFLAGS"
7754 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7755 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7756 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7757 # The linker can only warn and ignore the option if not recognized
7758 # So say no if there are warnings
7759 if test -s conftest.err
; then
7760 # Append any errors to the config.log.
7761 cat conftest.err
1>&5
7762 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7763 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7764 if diff conftest.exp conftest.er2
>/dev
/null
; then
7765 lt_prog_compiler_static_works
=yes
7768 lt_prog_compiler_static_works
=yes
7772 LDFLAGS
="$save_LDFLAGS"
7775 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7776 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7778 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7781 lt_prog_compiler_static
=
7790 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7791 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7792 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7793 echo $ECHO_N "(cached) $ECHO_C" >&6
7795 lt_cv_prog_compiler_c_o
=no
7796 $RM -r conftest
2>/dev
/null
7800 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7802 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7803 # Insert the option either (1) after the last *FLAGS variable, or
7804 # (2) before a word containing "conftest.", or (3) at the end.
7805 # Note that $ac_compile itself does not contain backslashes and begins
7806 # with a dollar sign (not a hyphen), so the echo should work correctly.
7807 lt_compile
=`echo "$ac_compile" | $SED \
7808 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7809 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7810 -e 's:$: $lt_compiler_flag:'`
7811 (eval echo "\"\$as_me:7811: $lt_compile\"" >&5)
7812 (eval "$lt_compile" 2>out
/conftest.err
)
7814 cat out
/conftest.err
>&5
7815 echo "$as_me:7815: \$? = $ac_status" >&5
7816 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7818 # The compiler can only warn and ignore the option if not recognized
7819 # So say no if there are warnings
7820 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7821 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7822 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7823 lt_cv_prog_compiler_c_o
=yes
7828 # SGI C++ compiler will create directory out/ii_files/ for
7829 # template instantiation
7830 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7831 $RM out
/* && rmdir out
7837 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7838 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7845 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7846 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7847 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7848 echo $ECHO_N "(cached) $ECHO_C" >&6
7850 lt_cv_prog_compiler_c_o
=no
7851 $RM -r conftest
2>/dev
/null
7855 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7857 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7858 # Insert the option either (1) after the last *FLAGS variable, or
7859 # (2) before a word containing "conftest.", or (3) at the end.
7860 # Note that $ac_compile itself does not contain backslashes and begins
7861 # with a dollar sign (not a hyphen), so the echo should work correctly.
7862 lt_compile
=`echo "$ac_compile" | $SED \
7863 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7864 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7865 -e 's:$: $lt_compiler_flag:'`
7866 (eval echo "\"\$as_me:7866: $lt_compile\"" >&5)
7867 (eval "$lt_compile" 2>out
/conftest.err
)
7869 cat out
/conftest.err
>&5
7870 echo "$as_me:7870: \$? = $ac_status" >&5
7871 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7873 # The compiler can only warn and ignore the option if not recognized
7874 # So say no if there are warnings
7875 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7876 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7877 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7878 lt_cv_prog_compiler_c_o
=yes
7883 # SGI C++ compiler will create directory out/ii_files/ for
7884 # template instantiation
7885 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7886 $RM out
/* && rmdir out
7892 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7893 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7898 hard_links
="nottested"
7899 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7900 # do not overwrite the value of need_locks provided by the user
7901 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7902 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7905 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7907 ln conftest.a conftest.b
2>&5 || hard_links
=no
7908 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7909 { echo "$as_me:$LINENO: result: $hard_links" >&5
7910 echo "${ECHO_T}$hard_links" >&6; }
7911 if test "$hard_links" = no
; then
7912 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7913 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7925 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7926 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7929 allow_undefined_flag
=
7930 always_export_symbols
=no
7932 archive_expsym_cmds
=
7933 compiler_needs_object
=no
7934 enable_shared_with_static_runtimes
=no
7935 export_dynamic_flag_spec
=
7936 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7937 hardcode_automatic
=no
7939 hardcode_direct_absolute
=no
7940 hardcode_libdir_flag_spec
=
7941 hardcode_libdir_flag_spec_ld
=
7942 hardcode_libdir_separator
=
7944 hardcode_shlibpath_var
=unsupported
7946 link_all_deplibs
=unknown
7949 old_archive_from_new_cmds
=
7950 old_archive_from_expsyms_cmds
=
7951 thread_safe_flag_spec
=
7952 whole_archive_flag_spec
=
7953 # include_expsyms should be a list of space-separated symbols to be *always*
7954 # included in the symbol list
7956 # exclude_expsyms can be an extended regexp of symbols to exclude
7957 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7958 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7959 # as well as any symbol that contains `d'.
7960 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7961 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7962 # platforms (ab)use it in PIC code, but their linkers get confused if
7963 # the symbol is explicitly referenced. Since portable code cannot
7964 # rely on this symbol name, it's probably fine to never include it in
7965 # preloaded symbol tables.
7966 extract_expsyms_cmds
=
7969 cygwin
* | mingw
* | pw32
*)
7970 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7971 # When not using gcc, we currently assume that we are using
7972 # Microsoft Visual C++.
7973 if test "$GCC" != yes; then
7978 # we just hope/assume this is gcc and not c89 (= MSVC++)
7987 if test "$with_gnu_ld" = yes; then
7988 # If archive_cmds runs LD, not CC, wlarc should be empty
7991 # Set some defaults for GNU ld with shared library support. These
7992 # are reset later if shared libraries are not supported. Putting them
7993 # here allows them to be overridden if necessary.
7994 runpath_var
=LD_RUN_PATH
7995 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7996 export_dynamic_flag_spec
='${wl}--export-dynamic'
7997 # ancient GNU ld didn't support --whole-archive et. al.
7998 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
7999 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8001 whole_archive_flag_spec
=
8003 supports_anon_versioning
=no
8004 case `$LD -v 2>&1` in
8005 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8006 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8007 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8008 *\
2.11.
*) ;; # other 2.11 versions
8009 *) supports_anon_versioning
=yes ;;
8012 # See if GNU ld supports shared libraries.
8015 # On AIX/PPC, the GNU linker is very broken
8016 if test "$host_cpu" != ia64
; then
8020 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8021 *** to be unable to reliably create shared libraries on AIX.
8022 *** Therefore, libtool is disabling shared libraries support. If you
8023 *** really care for shared libraries, you may want to modify your PATH
8024 *** so that a non-GNU linker is found, and then restart.
8031 if test "$host_cpu" = m68k
; then
8032 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)'
8033 hardcode_libdir_flag_spec
='-L$libdir'
8034 hardcode_minus_L
=yes
8037 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8038 # that the semantics of dynamic libraries on AmigaOS, at least up
8039 # to version 4, is to share data among multiple programs linked
8040 # with the same dynamic library. Since this doesn't match the
8041 # behavior of shared libraries on other platforms, we can't use
8047 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8048 allow_undefined_flag
=unsupported
8049 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8050 # support --undefined. This deserves some investigation. FIXME
8051 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8057 cygwin
* | mingw
* | pw32
*)
8058 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8059 # as there is no search path for DLLs.
8060 hardcode_libdir_flag_spec
='-L$libdir'
8061 allow_undefined_flag
=unsupported
8062 always_export_symbols
=no
8063 enable_shared_with_static_runtimes
=yes
8064 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8066 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8067 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8068 # If the export-symbols file already is a .def file (1st line
8069 # is EXPORTS), use it as is; otherwise, prepend...
8070 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8071 cp $export_symbols $output_objdir/$soname.def;
8073 echo EXPORTS > $output_objdir/$soname.def;
8074 cat $export_symbols >> $output_objdir/$soname.def;
8076 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8084 hardcode_shlibpath_var
=no
8085 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8086 export_dynamic_flag_spec
='${wl}-E'
8087 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8088 # Instead, shared libraries are loaded at an image base (0x10000000 by
8089 # default) and relocated if they conflict, which is a slow very memory
8090 # consuming and fragmenting process. To avoid this, we pick a random,
8091 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8092 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8093 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8094 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'
8097 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8099 if test "$host_os" = linux-dietlibc
; then
8100 case $cc_basename in
8101 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8104 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8105 && test "$tmp_diet" = no
8108 case $cc_basename,$host_cpu in
8109 pgcc
*) # Portland Group C compiler
8110 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'
8111 tmp_addflag
=' $pic_flag'
8113 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8114 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'
8115 tmp_addflag
=' $pic_flag -Mnomain' ;;
8116 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8117 tmp_addflag
=' -i_dynamic' ;;
8118 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8119 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8120 ifc
* | ifort
*) # Intel Fortran compiler
8121 tmp_addflag
=' -nofor_main' ;;
8123 case `$CC -V 2>&1 | sed 5q` in
8124 *Sun\ C
*) # Sun C 5.9
8125 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'
8126 compiler_needs_object
=yes
8127 tmp_sharedflag
='-G' ;;
8128 *Sun\ F
*) # Sun Fortran 8.3
8129 tmp_sharedflag
='-G' ;;
8131 tmp_sharedflag
='-shared' ;;
8133 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8135 if test "x$supports_anon_versioning" = xyes
; then
8136 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8137 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8138 echo "local: *; };" >> $output_objdir/$libname.ver~
8139 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8147 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8148 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8151 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8152 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8157 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8161 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8162 *** create shared libraries on Solaris systems. Therefore, libtool
8163 *** is disabling shared libraries support. We urge you to upgrade GNU
8164 *** binutils to release 2.9.1 or newer. Another option is to modify
8165 *** your PATH or compiler configuration so that the native linker is
8166 *** used, and then restart.
8169 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8170 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8171 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8177 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8178 case `$LD -v 2>&1` in
8179 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8183 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8184 *** reliably create shared libraries on SCO systems. Therefore, libtool
8185 *** is disabling shared libraries support. We urge you to upgrade GNU
8186 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8187 *** your PATH or compiler configuration so that the native linker is
8188 *** used, and then restart.
8193 # For security reasons, it is highly recommended that you always
8194 # use absolute paths for naming shared libraries, and exclude the
8195 # DT_RUNPATH tag from executables and libraries. But doing so
8196 # requires that you compile everything twice, which is a pain.
8197 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8198 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8199 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8200 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8209 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8212 hardcode_shlibpath_var
=no
8216 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8217 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8218 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8225 if test "$ld_shlibs" = no
; then
8227 hardcode_libdir_flag_spec
=
8228 export_dynamic_flag_spec
=
8229 whole_archive_flag_spec
=
8232 # PORTME fill in a description of your system's linker (not GNU ld)
8235 allow_undefined_flag
=unsupported
8236 always_export_symbols
=yes
8237 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'
8238 # Note: this linker hardcodes the directories in LIBPATH if there
8239 # are no directories specified by -L.
8240 hardcode_minus_L
=yes
8241 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8242 # Neither direct hardcoding nor static linking is supported with a
8244 hardcode_direct
=unsupported
8249 if test "$host_cpu" = ia64
; then
8250 # On IA64, the linker does run time linking by default, so we don't
8251 # have to do anything special.
8252 aix_use_runtimelinking
=no
8253 exp_sym_flag
='-Bexport'
8256 # If we're using GNU nm, then we don't want the "-C" option.
8257 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8258 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8259 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'
8261 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'
8263 aix_use_runtimelinking
=no
8265 # Test if we are trying to use run time linking or normal
8266 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8267 # need to do runtime linking.
8268 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8269 for ld_flag
in $LDFLAGS; do
8270 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8271 aix_use_runtimelinking
=yes
8278 exp_sym_flag
='-bexport'
8279 no_entry_flag
='-bnoentry'
8282 # When large executables or shared objects are built, AIX ld can
8283 # have problems creating the table of contents. If linking a library
8284 # or program results in "error TOC overflow" add -mminimal-toc to
8285 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8286 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8290 hardcode_direct_absolute
=yes
8291 hardcode_libdir_separator
=':'
8292 link_all_deplibs
=yes
8293 file_list_spec
='${wl}-f,'
8295 if test "$GCC" = yes; then
8296 case $host_os in aix4.
[012]|aix4.
[012].
*)
8297 # We only want to do this on AIX 4.2 and lower, the check
8298 # below for broken collect2 doesn't work under 4.3+
8299 collect2name
=`${CC} -print-prog-name=collect2`
8300 if test -f "$collect2name" &&
8301 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8303 # We have reworked collect2
8306 # We have old collect2
8307 hardcode_direct
=unsupported
8308 # It fails to find uninstalled libraries when the uninstalled
8309 # path is not listed in the libpath. Setting hardcode_minus_L
8310 # to unsupported forces relinking
8311 hardcode_minus_L
=yes
8312 hardcode_libdir_flag_spec
='-L$libdir'
8313 hardcode_libdir_separator
=
8317 shared_flag
='-shared'
8318 if test "$aix_use_runtimelinking" = yes; then
8319 shared_flag
="$shared_flag "'${wl}-G'
8323 if test "$host_cpu" = ia64
; then
8324 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8325 # chokes on -Wl,-G. The following line is correct:
8328 if test "$aix_use_runtimelinking" = yes; then
8329 shared_flag
='${wl}-G'
8331 shared_flag
='${wl}-bM:SRE'
8336 # It seems that -bexpall does not export symbols beginning with
8337 # underscore (_), so it is better to generate a list of symbols to export.
8338 always_export_symbols
=yes
8339 if test "$aix_use_runtimelinking" = yes; then
8340 # Warning - without using the other runtime loading flags (-brtl),
8341 # -berok will link without error, but may produce a broken library.
8342 allow_undefined_flag
='-berok'
8343 # Determine the default libpath from the value encoded in an
8345 if test x
$gcc_no_link = xyes
; then
8346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8348 { (exit 1); exit 1; }; }
8350 cat >conftest.
$ac_ext <<_ACEOF
8353 cat confdefs.h
>>conftest.
$ac_ext
8354 cat >>conftest.
$ac_ext <<_ACEOF
8355 /* end confdefs.h. */
8365 rm -f conftest.
$ac_objext conftest
$ac_exeext
8366 if { (ac_try
="$ac_link"
8368 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8369 *) ac_try_echo=$ac_try;;
8371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8372 (eval "$ac_link") 2>conftest.er1
8374 grep -v '^ *+' conftest.er1 >conftest.err
8376 cat conftest.err >&5
8377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8378 (exit $ac_status); } && {
8379 test -z "$ac_c_werror_flag" ||
8380 test ! -s conftest.err
8381 } && test -s conftest$ac_exeext &&
8382 $as_test_x conftest$ac_exeext; then
8384 lt_aix_libpath_sed='
8385 /Import File Strings/,/^$/ {
8391 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8392 # Check for a 64-bit object if we didn't find anything.
8393 if test -z "$aix_libpath"; then
8394 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8397 echo "$as_me: failed program was:" >&5
8398 sed 's/^/| /' conftest.$ac_ext >&5
8403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8404 conftest$ac_exeext conftest.$ac_ext
8405 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8407 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8408 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"
8410 if test "$host_cpu" = ia64; then
8411 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8412 allow_undefined_flag="-z nodefs"
8413 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"
8415 # Determine the default libpath from the value encoded in an
8417 if test x$gcc_no_link = xyes; then
8418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8420 { (exit 1); exit 1; }; }
8422 cat >conftest.$ac_ext <<_ACEOF
8425 cat confdefs.h >>conftest.$ac_ext
8426 cat >>conftest.$ac_ext <<_ACEOF
8427 /* end confdefs.h. */
8437 rm -f conftest.$ac_objext conftest$ac_exeext
8438 if { (ac_try="$ac_link"
8440 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8441 *) ac_try_echo
=$ac_try;;
8443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8444 (eval "$ac_link") 2>conftest.er1
8446 grep -v '^ *+' conftest.er1
>conftest.err
8448 cat conftest.err
>&5
8449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8450 (exit $ac_status); } && {
8451 test -z "$ac_c_werror_flag" ||
8452 test ! -s conftest.err
8453 } && test -s conftest
$ac_exeext &&
8454 $as_test_x conftest
$ac_exeext; then
8456 lt_aix_libpath_sed
='
8457 /Import File Strings/,/^$/ {
8463 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8464 # Check for a 64-bit object if we didn't find anything.
8465 if test -z "$aix_libpath"; then
8466 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8469 echo "$as_me: failed program was:" >&5
8470 sed 's/^/| /' conftest.
$ac_ext >&5
8475 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8476 conftest
$ac_exeext conftest.
$ac_ext
8477 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8479 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8480 # Warning - without using the other run time loading flags,
8481 # -berok will link without error, but may produce a broken library.
8482 no_undefined_flag
=' ${wl}-bernotok'
8483 allow_undefined_flag
=' ${wl}-berok'
8484 # Exported symbols can be pulled into shared objects from archives
8485 whole_archive_flag_spec
='$convenience'
8486 archive_cmds_need_lc
=yes
8487 # This is similar to how AIX traditionally builds its shared libraries.
8488 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'
8494 if test "$host_cpu" = m68k
; then
8495 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)'
8496 hardcode_libdir_flag_spec
='-L$libdir'
8497 hardcode_minus_L
=yes
8499 # see comment about different semantics on the GNU ld section
8504 export_dynamic_flag_spec
=-rdynamic
8507 cygwin
* | mingw
* | pw32
*)
8508 # When not using gcc, we currently assume that we are using
8509 # Microsoft Visual C++.
8510 # hardcode_libdir_flag_spec is actually meaningless, as there is
8511 # no search path for DLLs.
8512 hardcode_libdir_flag_spec
=' '
8513 allow_undefined_flag
=unsupported
8514 # Tell ltmain to make .lib files, not .a files.
8516 # Tell ltmain to make .dll files, not .so files.
8518 # FIXME: Setting linknames here is a bad hack.
8519 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8520 # The linker will automatically build a .lib file if we build a DLL.
8521 old_archive_from_new_cmds
='true'
8522 # FIXME: Should let the user specify the lib program.
8523 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8524 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8525 enable_shared_with_static_runtimes
=yes
8528 darwin
* | rhapsody
*)
8530 rhapsody
* | darwin1.
[012])
8531 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8534 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8536 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8539 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8544 archive_cmds_need_lc
=no
8546 hardcode_automatic
=yes
8547 hardcode_shlibpath_var
=unsupported
8548 whole_archive_flag_spec
=''
8549 link_all_deplibs
=yes
8550 if test "$GCC" = yes ; then
8551 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8552 echo $ECHO_N "(cached) $ECHO_C" >&6
8554 lt_cv_apple_cc_single_mod
=no
8555 if test -z "${LT_MULTI_MODULE}"; then
8556 # By default we will add the -single_module flag. You can override
8557 # by either setting the environment variable LT_MULTI_MODULE
8558 # non-empty at configure time, or by adding -multi-module to the
8560 echo "int foo(void){return 1;}" > conftest.c
8561 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8562 -dynamiclib ${wl}-single_module conftest.c
8563 if test -f libconftest.dylib
; then
8564 lt_cv_apple_cc_single_mod
=yes
8565 rm libconftest.dylib
8571 output_verbose_link_cmd
=echo
8572 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
8573 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8574 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8576 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8577 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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8579 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8580 module_expsym_cmds
='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8582 case $cc_basename in
8584 output_verbose_link_cmd
=echo
8585 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8586 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8587 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8588 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8589 module_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8599 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8600 hardcode_libdir_flag_spec
='-L$libdir'
8601 hardcode_shlibpath_var
=no
8608 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8609 # support. Future versions do this automatically, but an explicit c++rt0.o
8610 # does not break anything, and helps significantly (at the cost of a little
8613 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8614 hardcode_libdir_flag_spec
='-R$libdir'
8616 hardcode_shlibpath_var
=no
8619 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8621 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8623 hardcode_minus_L
=yes
8624 hardcode_shlibpath_var
=no
8627 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8628 freebsd
* | dragonfly
*)
8629 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8630 hardcode_libdir_flag_spec
='-R$libdir'
8632 hardcode_shlibpath_var
=no
8636 if test "$GCC" = yes; then
8637 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'
8639 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'
8641 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8642 hardcode_libdir_separator
=:
8645 # hardcode_minus_L: Not really in the search PATH,
8646 # but as the default location of the library.
8647 hardcode_minus_L
=yes
8648 export_dynamic_flag_spec
='${wl}-E'
8652 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8653 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8655 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8657 if test "$with_gnu_ld" = no
; then
8658 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8659 hardcode_libdir_flag_spec_ld
='+b $libdir'
8660 hardcode_libdir_separator
=:
8662 hardcode_direct_absolute
=yes
8663 export_dynamic_flag_spec
='${wl}-E'
8664 # hardcode_minus_L: Not really in the search PATH,
8665 # but as the default location of the library.
8666 hardcode_minus_L
=yes
8671 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8674 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8677 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8680 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8686 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8689 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8692 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8696 if test "$with_gnu_ld" = no
; then
8697 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8698 hardcode_libdir_separator
=:
8703 hardcode_shlibpath_var
=no
8707 hardcode_direct_absolute
=yes
8708 export_dynamic_flag_spec
='${wl}-E'
8710 # hardcode_minus_L: Not really in the search PATH,
8711 # but as the default location of the library.
8712 hardcode_minus_L
=yes
8718 irix5
* | irix6
* | nonstopux
*)
8719 if test "$GCC" = yes; then
8720 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'
8721 # Try to use the -exported_symbol ld option, if it does not
8722 # work, assume that -exports_file does not work either and
8723 # implicitly export all symbols.
8724 save_LDFLAGS
="$LDFLAGS"
8725 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8726 if test x
$gcc_no_link = xyes
; then
8727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8729 { (exit 1); exit 1; }; }
8731 cat >conftest.
$ac_ext <<_ACEOF
8734 rm -f conftest.
$ac_objext conftest
$ac_exeext
8735 if { (ac_try
="$ac_link"
8737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8738 *) ac_try_echo=$ac_try;;
8740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8741 (eval "$ac_link") 2>conftest.er1
8743 grep -v '^ *+' conftest.er1 >conftest.err
8745 cat conftest.err >&5
8746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747 (exit $ac_status); } && {
8748 test -z "$ac_c_werror_flag" ||
8749 test ! -s conftest.err
8750 } && test -s conftest$ac_exeext &&
8751 $as_test_x conftest$ac_exeext; then
8752 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'
8755 echo "$as_me: failed program was:" >&5
8756 sed 's/^/| /' conftest.$ac_ext >&5
8761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8762 conftest$ac_exeext conftest.$ac_ext
8763 LDFLAGS="$save_LDFLAGS"
8765 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'
8766 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'
8768 archive_cmds_need_lc='no'
8769 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8770 hardcode_libdir_separator=:
8772 link_all_deplibs=yes
8776 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8777 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8779 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8781 hardcode_libdir_flag_spec='-R$libdir'
8783 hardcode_shlibpath_var=no
8787 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8789 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8790 hardcode_libdir_separator=:
8791 hardcode_shlibpath_var=no
8799 hardcode_shlibpath_var=no
8800 hardcode_direct_absolute=yes
8801 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8802 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8803 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8804 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8805 export_dynamic_flag_spec='${wl}-E'
8808 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8809 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8810 hardcode_libdir_flag_spec='-R$libdir'
8813 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8814 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8821 hardcode_libdir_flag_spec='-L$libdir'
8822 hardcode_minus_L=yes
8823 allow_undefined_flag=unsupported
8824 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'
8825 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8829 if test "$GCC" = yes; then
8830 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8831 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'
8833 allow_undefined_flag=' -expect_unresolved \*'
8834 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'
8836 archive_cmds_need_lc='no'
8837 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8838 hardcode_libdir_separator=:
8841 osf4* | osf5*) # as osf3* with the addition of -msym flag
8842 if test "$GCC" = yes; then
8843 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8844 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'
8845 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8847 allow_undefined_flag=' -expect_unresolved \*'
8848 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'
8849 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~
8850 $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'
8852 # Both c and cxx compiler support -rpath directly
8853 hardcode_libdir_flag_spec='-rpath $libdir'
8855 archive_cmds_need_lc='no'
8856 hardcode_libdir_separator=:
8860 no_undefined_flag=' -z defs'
8861 if test "$GCC" = yes; then
8863 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8864 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8865 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8867 case `$CC -V 2>&1` in
8870 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8871 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8872 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8876 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8877 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8878 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8882 hardcode_libdir_flag_spec='-R$libdir'
8883 hardcode_shlibpath_var=no
8885 solaris2.[0-5] | solaris2.[0-5].*) ;;
8887 # The compiler driver will combine and reorder linker options,
8888 # but understands `-z linker_flag
'. GCC discards it without `$wl',
8889 # but is careful enough not to reorder.
8890 # Supported since Solaris 2.6 (maybe 2.5.1?)
8891 if test "$GCC" = yes; then
8892 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8894 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8898 link_all_deplibs
=yes
8902 if test "x$host_vendor" = xsequent
; then
8903 # Use $CC to link under sequent, because it throws in some extra .o
8904 # files that make .init and .fini sections work.
8905 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8907 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8909 hardcode_libdir_flag_spec
='-L$libdir'
8911 hardcode_minus_L
=yes
8912 hardcode_shlibpath_var
=no
8916 case $host_vendor in
8918 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8919 hardcode_direct
=yes # is this really true???
8922 ## LD is ld it makes a PLAMLIB
8923 ## CC just makes a GrossModule.
8924 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8925 reload_cmds
='$CC -r -o $output$reload_objs'
8929 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8930 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8933 runpath_var
='LD_RUN_PATH'
8934 hardcode_shlibpath_var
=no
8938 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8939 hardcode_shlibpath_var
=no
8940 export_dynamic_flag_spec
='-Bexport'
8944 if test -d /usr
/nec
; then
8945 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8946 hardcode_shlibpath_var
=no
8947 runpath_var
=LD_RUN_PATH
8948 hardcode_runpath_var
=yes
8953 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8954 no_undefined_flag
='${wl}-z,text'
8955 archive_cmds_need_lc
=no
8956 hardcode_shlibpath_var
=no
8957 runpath_var
='LD_RUN_PATH'
8959 if test "$GCC" = yes; then
8960 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8961 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8963 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8964 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8968 sysv5
* | sco3.2v5
* | sco5v6
*)
8969 # Note: We can NOT use -z defs as we might desire, because we do not
8970 # link with -lc, and that would cause any symbols used from libc to
8971 # always be unresolved, which means just about no library would
8972 # ever link correctly. If we're not using GNU ld we use -z text
8973 # though, which does catch some bad symbols but isn't as heavy-handed
8975 no_undefined_flag
='${wl}-z,text'
8976 allow_undefined_flag
='${wl}-z,nodefs'
8977 archive_cmds_need_lc
=no
8978 hardcode_shlibpath_var
=no
8979 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8980 hardcode_libdir_separator
=':'
8981 link_all_deplibs
=yes
8982 export_dynamic_flag_spec
='${wl}-Bexport'
8983 runpath_var
='LD_RUN_PATH'
8985 if test "$GCC" = yes; then
8986 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8987 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8989 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8990 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8995 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8996 hardcode_libdir_flag_spec
='-L$libdir'
8997 hardcode_shlibpath_var
=no
9005 if test x
$host_vendor = xsni
; then
9007 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9008 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9014 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9015 echo "${ECHO_T}$ld_shlibs" >&6; }
9016 test "$ld_shlibs" = no
&& can_build_shared
=no
9018 with_gnu_ld
=$with_gnu_ld
9035 # Do we need to explicitly link libc?
9037 case "x$archive_cmds_need_lc" in
9039 # Assume -lc should be added
9040 archive_cmds_need_lc
=yes
9042 if test "$enable_shared" = yes && test "$GCC" = yes; then
9043 case $archive_cmds in
9045 # FIXME: we may have to deal with multi-command sequences.
9048 # Test whether the compiler implicitly links with -lc since on some
9049 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9050 # to ld, don't add -lc before -lgcc.
9051 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9052 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9054 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9057 (eval $ac_compile) 2>&5
9059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9060 (exit $ac_status); } 2>conftest.err
; then
9063 libobjs
=conftest.
$ac_objext
9065 wl
=$lt_prog_compiler_wl
9066 pic_flag
=$lt_prog_compiler_pic
9072 lt_save_allow_undefined_flag
=$allow_undefined_flag
9073 allow_undefined_flag
=
9074 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9075 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9078 (exit $ac_status); }
9080 archive_cmds_need_lc
=no
9082 archive_cmds_need_lc
=yes
9084 allow_undefined_flag
=$lt_save_allow_undefined_flag
9086 cat conftest.err
1>&5
9089 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9090 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9253 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9254 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9256 if test "$withGCC" = yes; then
9258 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9259 *) lt_awk_arg
="/^libraries:/" ;;
9261 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9262 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9263 # if the path contains ";" then we assume it to be the separator
9264 # otherwise default to the standard path separator (i.e. ":") - it is
9265 # assumed that no part of a normal pathname contains ";" but that should
9266 # okay in the real world where ";" in dirpaths is itself problematic.
9267 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9269 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9271 # Ok, now we have the path, separated by spaces, we can step through it
9272 # and add multilib dir if necessary.
9273 lt_tmp_lt_search_path_spec
=
9274 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9275 for lt_sys_path
in $lt_search_path_spec; do
9276 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9277 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9279 test -d "$lt_sys_path" && \
9280 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9283 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9284 BEGIN {RS=" "; FS="/|\n";} {
9287 for (lt_i = NF; lt_i > 0; lt_i--) {
9288 if ($lt_i != "" && $lt_i != ".") {
9289 if ($lt_i == "..") {
9292 if (lt_count == 0) {
9293 lt_foo="/" $lt_i lt_foo;
9300 if (lt_foo != "") { lt_freq[lt_foo]++; }
9301 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9303 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9305 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9308 libname_spec
='lib$name'
9316 shlibpath_overrides_runpath
=unknown
9318 dynamic_linker
="$host_os ld.so"
9319 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9320 need_lib_prefix
=unknown
9321 hardcode_into_libs
=no
9323 # when you set need_version to no, make sure it does not cause -set_version
9324 # flags to be left without arguments
9325 need_version
=unknown
9330 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9331 shlibpath_var
=LIBPATH
9333 # AIX 3 has no versioning support, so we append a major version to the name.
9334 soname_spec
='${libname}${release}${shared_ext}$major'
9341 hardcode_into_libs
=yes
9342 if test "$host_cpu" = ia64
; then
9343 # AIX 5 supports IA64
9344 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9345 shlibpath_var
=LD_LIBRARY_PATH
9347 # With GCC up to 2.95.x, collect2 would create an import file
9348 # for dependence libraries. The import file would start with
9349 # the line `#! .'. This would cause the generated library to
9350 # depend on `.', always an invalid library. This was fixed in
9351 # development snapshots of GCC prior to 3.0.
9353 aix4 | aix4.
[01] | aix4.
[01].
*)
9354 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9356 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9363 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9364 # soname into executable. Probably we can add versioning support to
9365 # collect2, so additional links can be useful in future.
9366 if test "$aix_use_runtimelinking" = yes; then
9367 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9368 # instead of lib<name>.a to let people know that these are not
9369 # typical AIX shared libraries.
9370 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9372 # We preserve .a as extension for shared libraries through AIX4.2
9373 # and later when we are not doing run time linking.
9374 library_names_spec
='${libname}${release}.a $libname.a'
9375 soname_spec
='${libname}${release}${shared_ext}$major'
9377 shlibpath_var
=LIBPATH
9382 if test "$host_cpu" = m68k
; then
9383 library_names_spec
='$libname.ixlibrary $libname.a'
9384 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9385 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'
9392 library_names_spec
='${libname}${shared_ext}'
9393 dynamic_linker
="$host_os ld.so"
9394 shlibpath_var
=LIBRARY_PATH
9400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9401 soname_spec
='${libname}${release}${shared_ext}$major'
9402 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9403 shlibpath_var
=LD_LIBRARY_PATH
9404 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9405 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9406 # the default ld.so.conf also contains /usr/contrib/lib and
9407 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9408 # libtool to hard-code these into programs
9411 cygwin
* | mingw
* | pw32
*)
9412 version_type
=windows
9417 case $withGCC,$host_os in
9418 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9419 library_names_spec
='$libname.dll.a'
9420 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9421 postinstall_cmds
='base_file=`basename \${file}`~
9422 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9423 dldir=$destdir/`dirname \$dlpath`~
9424 test -d \$dldir || mkdir -p \$dldir~
9425 $install_prog $dir/$dlname \$dldir/$dlname~
9426 chmod a+x \$dldir/$dlname~
9427 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9428 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9430 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9431 dlpath=$dir/\$dldll~
9433 shlibpath_overrides_runpath
=yes
9437 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9438 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9439 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9442 # MinGW DLLs use traditional 'lib' prefix
9443 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9444 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9445 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9446 # It is most probably a Windows format PATH printed by
9447 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9448 # path with ; separators, and with drive letters. We can handle the
9449 # drive letters (cygwin fileutils understands them), so leave them,
9450 # especially as we might pass files found there to a mingw objdump,
9451 # which wouldn't understand a cygwinified path. Ahh.
9452 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9454 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9458 # pw32 DLLs use 'pw' prefix rather than 'lib'
9459 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9465 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9468 dynamic_linker
='Win32 ld.exe'
9469 # FIXME: first we should search . and the directory the executable is in
9473 darwin
* | rhapsody
*)
9474 dynamic_linker
="$host_os dyld"
9478 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9479 soname_spec
='${libname}${release}${major}$shared_ext'
9480 shlibpath_overrides_runpath
=yes
9481 shlibpath_var
=DYLD_LIBRARY_PATH
9482 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9484 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9485 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9493 soname_spec
='${libname}${release}${shared_ext}$major'
9494 shlibpath_var
=LD_LIBRARY_PATH
9501 freebsd
* | dragonfly
*)
9502 # DragonFly does not have aout. When/if they implement a new
9503 # versioning mechanism, adjust this.
9504 if test -x /usr
/bin
/objformat
; then
9505 objformat
=`/usr/bin/objformat`
9508 freebsd
[123]*) objformat
=aout
;;
9512 version_type
=freebsd-
$objformat
9513 case $version_type in
9515 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9520 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9524 shlibpath_var
=LD_LIBRARY_PATH
9527 shlibpath_overrides_runpath
=yes
9529 freebsd3.
[01]* | freebsdelf3.
[01]*)
9530 shlibpath_overrides_runpath
=yes
9531 hardcode_into_libs
=yes
9533 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9534 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9535 shlibpath_overrides_runpath
=no
9536 hardcode_into_libs
=yes
9538 *) # from 4.6 on, and DragonFly
9539 shlibpath_overrides_runpath
=yes
9540 hardcode_into_libs
=yes
9549 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9550 soname_spec
='${libname}${release}${shared_ext}$major'
9551 shlibpath_var
=LD_LIBRARY_PATH
9552 hardcode_into_libs
=yes
9555 hpux9
* | hpux10
* | hpux11
*)
9556 # Give a soname corresponding to the major version so that dld.sl refuses to
9557 # link against other versions.
9564 hardcode_into_libs
=yes
9565 dynamic_linker
="$host_os dld.so"
9566 shlibpath_var
=LD_LIBRARY_PATH
9567 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9568 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9569 soname_spec
='${libname}${release}${shared_ext}$major'
9570 if test "X$HPUX_IA64_MODE" = X32
; then
9571 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9573 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9575 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9579 hardcode_into_libs
=yes
9580 dynamic_linker
="$host_os dld.sl"
9581 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9582 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9583 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9584 soname_spec
='${libname}${release}${shared_ext}$major'
9585 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9586 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9590 dynamic_linker
="$host_os dld.sl"
9591 shlibpath_var
=SHLIB_PATH
9592 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9593 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9594 soname_spec
='${libname}${release}${shared_ext}$major'
9597 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9598 postinstall_cmds
='chmod 555 $lib'
9605 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9606 soname_spec
='${libname}${release}${shared_ext}$major'
9607 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9608 shlibpath_var
=LD_LIBRARY_PATH
9609 shlibpath_overrides_runpath
=no
9610 hardcode_into_libs
=yes
9613 irix5
* | irix6
* | nonstopux
*)
9615 nonstopux
*) version_type
=nonstopux
;;
9617 if test "$lt_cv_prog_gnu_ld" = yes; then
9625 soname_spec
='${libname}${release}${shared_ext}$major'
9626 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9628 irix5
* | nonstopux
*)
9632 case $LD in # libtool.m4 will add one of these switches to LD
9633 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9634 libsuff
= shlibsuff
= libmagic
=32-bit;;
9635 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9636 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9637 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9638 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9639 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9643 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9644 shlibpath_overrides_runpath
=no
9645 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9646 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9647 hardcode_into_libs
=yes
9650 # No shared lib support for Linux oldld, aout, or coff.
9651 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9655 # This must be Linux ELF.
9656 linux
* | k
*bsd
*-gnu)
9660 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9661 soname_spec
='${libname}${release}${shared_ext}$major'
9662 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9663 shlibpath_var
=LD_LIBRARY_PATH
9664 shlibpath_overrides_runpath
=no
9665 # Some binutils ld are patched to set DT_RUNPATH
9666 save_LDFLAGS
=$LDFLAGS
9668 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9669 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9670 if test x
$gcc_no_link = xyes
; then
9671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9673 { (exit 1); exit 1; }; }
9675 cat >conftest.
$ac_ext <<_ACEOF
9678 cat confdefs.h
>>conftest.
$ac_ext
9679 cat >>conftest.
$ac_ext <<_ACEOF
9680 /* end confdefs.h. */
9690 rm -f conftest.
$ac_objext conftest
$ac_exeext
9691 if { (ac_try
="$ac_link"
9693 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9694 *) ac_try_echo=$ac_try;;
9696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9697 (eval "$ac_link") 2>conftest.er1
9699 grep -v '^ *+' conftest.er1 >conftest.err
9701 cat conftest.err >&5
9702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9703 (exit $ac_status); } && {
9704 test -z "$ac_c_werror_flag" ||
9705 test ! -s conftest.err
9706 } && test -s conftest$ac_exeext &&
9707 $as_test_x conftest$ac_exeext; then
9708 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9709 shlibpath_overrides_runpath=yes
9713 echo "$as_me: failed program was:" >&5
9714 sed 's/^/| /' conftest.$ac_ext >&5
9719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9720 conftest$ac_exeext conftest.$ac_ext
9721 LDFLAGS=$save_LDFLAGS
9724 # This implies no fast_install, which is unacceptable.
9725 # Some rework will be needed to allow for fast_install
9726 # before this can be enabled.
9727 hardcode_into_libs=yes
9729 # Append ld.so.conf contents to the search path
9730 if test -f /etc/ld.so.conf; then
9731 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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' |
tr '\n' ' '`
9732 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9735 # We used to test for /lib/ld.so.1 and disable shared libraries on
9736 # powerpc, because MkLinux only supported shared libraries with the
9737 # GNU dynamic linker. Since this was broken with cross compilers,
9738 # most powerpc-linux boxes support dynamic linking these days and
9739 # people can always --disable-shared, the test was removed, and we
9740 # assume the GNU/Linux dynamic linker is in use.
9741 dynamic_linker='GNU/Linux ld.so'
9748 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9750 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9751 dynamic_linker='NetBSD (a.out) ld.so'
9753 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9754 soname_spec='${libname}${release}${shared_ext}$major'
9755 dynamic_linker='NetBSD ld.elf_so'
9757 shlibpath_var=LD_LIBRARY_PATH
9758 shlibpath_overrides_runpath=yes
9759 hardcode_into_libs=yes
9764 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9765 shlibpath_var=LD_LIBRARY_PATH
9766 shlibpath_overrides_runpath=yes
9773 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9774 soname_spec='${libname}${release}${shared_ext}$major'
9775 shlibpath_var=LD_LIBRARY_PATH
9776 shlibpath_overrides_runpath=no
9777 hardcode_into_libs=yes
9778 dynamic_linker='ldqnx.so'
9783 sys_lib_dlsearch_path_spec="/usr/lib"
9785 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9787 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9788 *) need_version=no ;;
9790 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9791 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9792 shlibpath_var=LD_LIBRARY_PATH
9793 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9795 openbsd2.[89] | openbsd2.[89].*)
9796 shlibpath_overrides_runpath=no
9799 shlibpath_overrides_runpath=yes
9803 shlibpath_overrides_runpath=yes
9808 libname_spec='$name'
9811 library_names_spec='$libname${shared_ext} $libname.a'
9812 dynamic_linker='OS/2 ld.exe'
9813 shlibpath_var=LIBPATH
9816 osf3* | osf4* | osf5*)
9820 soname_spec='${libname}${release}${shared_ext}$major'
9821 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9822 shlibpath_var=LD_LIBRARY_PATH
9823 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9824 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9835 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9836 soname_spec='${libname}${release}${shared_ext}$major'
9837 shlibpath_var=LD_LIBRARY_PATH
9838 shlibpath_overrides_runpath=yes
9839 hardcode_into_libs=yes
9840 # ldd complains unless libraries are executable
9841 postinstall_cmds='chmod +x $lib'
9846 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9847 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9848 shlibpath_var=LD_LIBRARY_PATH
9849 shlibpath_overrides_runpath=yes
9850 if test "$with_gnu_ld" = yes; then
9858 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9859 soname_spec='${libname}${release}${shared_ext}$major'
9860 shlibpath_var=LD_LIBRARY_PATH
9861 case $host_vendor in
9863 shlibpath_overrides_runpath=no
9865 runpath_var=LD_RUN_PATH
9873 shlibpath_overrides_runpath=no
9874 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9880 if test -d /usr/nec ;then
9882 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9883 soname_spec='$libname${shared_ext}.$major'
9884 shlibpath_var=LD_LIBRARY_PATH
9888 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9889 version_type=freebsd-elf
9892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9893 soname_spec='${libname}${release}${shared_ext}$major'
9894 shlibpath_var=LD_LIBRARY_PATH
9895 shlibpath_overrides_runpath=yes
9896 hardcode_into_libs=yes
9897 if test "$with_gnu_ld" = yes; then
9898 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9900 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9903 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9907 sys_lib_dlsearch_path_spec='/usr/lib'
9911 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9915 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9916 shlibpath_var=LD_LIBRARY_PATH
9917 shlibpath_overrides_runpath=no
9918 hardcode_into_libs=yes
9923 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9924 soname_spec='${libname}${release}${shared_ext}$major'
9925 shlibpath_var=LD_LIBRARY_PATH
9932 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9933 echo "${ECHO_T}$dynamic_linker" >&6; }
9934 test "$dynamic_linker" = no && can_build_shared=no
9936 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9937 if test "$GCC" = yes; then
9938 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10027 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10028 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10030 if test -n "$hardcode_libdir_flag_spec" ||
10031 test -n "$runpath_var" ||
10032 test "X$hardcode_automatic" = "Xyes" ; then
10034 # We can hardcode non-existent directories.
10035 if test "$hardcode_direct" != no &&
10036 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10037 # have to relink, otherwise we might link with an installed library
10038 # when we should be linking with a yet-to-be-installed one
10039 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10040 test "$hardcode_minus_L" != no; then
10041 # Linking always hardcodes the temporary library directory.
10042 hardcode_action=relink
10044 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10045 hardcode_action=immediate
10048 # We cannot hardcode anything, or else we can only hardcode existing
10050 hardcode_action=unsupported
10052 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
10053 echo "${ECHO_T}$hardcode_action" >&6; }
10055 if test "$hardcode_action" = relink ||
10056 test "$inherit_rpath" = yes; then
10057 # Fast installation is not supported
10058 enable_fast_install=no
10059 elif test "$shlibpath_overrides_runpath" = yes ||
10060 test "$enable_shared" = no; then
10061 # Fast installation is not necessary
10062 enable_fast_install=needless
10070 if test "x$enable_dlopen" != xyes; then
10071 enable_dlopen=unknown
10072 enable_dlopen_self=unknown
10073 enable_dlopen_self_static=unknown
10080 lt_cv_dlopen="load_add_on"
10082 lt_cv_dlopen_self=yes
10086 lt_cv_dlopen="LoadLibrary"
10091 lt_cv_dlopen="dlopen"
10096 # if libdl is installed we need to link against it
10097 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10098 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10099 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10100 echo $ECHO_N "(cached) $ECHO_C" >&6
10102 ac_check_lib_save_LIBS=$LIBS
10104 if test x$gcc_no_link = xyes; then
10105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10107 { (exit 1); exit 1; }; }
10109 cat >conftest.$ac_ext <<_ACEOF
10112 cat confdefs.h >>conftest.$ac_ext
10113 cat >>conftest.$ac_ext <<_ACEOF
10114 /* end confdefs.h. */
10116 /* Override any GCC internal prototype to avoid an error.
10117 Use char because int might match the return type of a GCC
10118 builtin and then its argument prototype would still apply. */
10131 rm -f conftest.$ac_objext conftest$ac_exeext
10132 if { (ac_try="$ac_link"
10133 case "(($ac_try" in
10134 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10135 *) ac_try_echo
=$ac_try;;
10137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10138 (eval "$ac_link") 2>conftest.er1
10140 grep -v '^ *+' conftest.er1
>conftest.err
10142 cat conftest.err
>&5
10143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10144 (exit $ac_status); } && {
10145 test -z "$ac_c_werror_flag" ||
10146 test ! -s conftest.err
10147 } && test -s conftest
$ac_exeext &&
10148 $as_test_x conftest
$ac_exeext; then
10149 ac_cv_lib_dl_dlopen
=yes
10151 echo "$as_me: failed program was:" >&5
10152 sed 's/^/| /' conftest.
$ac_ext >&5
10154 ac_cv_lib_dl_dlopen
=no
10157 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10158 conftest
$ac_exeext conftest.
$ac_ext
10159 LIBS
=$ac_check_lib_save_LIBS
10161 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10162 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10163 if test $ac_cv_lib_dl_dlopen = yes; then
10164 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10167 lt_cv_dlopen
="dyld"
10169 lt_cv_dlopen_self
=yes
10176 { echo "$as_me:$LINENO: checking for shl_load" >&5
10177 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10178 if test "${ac_cv_func_shl_load+set}" = set; then
10179 echo $ECHO_N "(cached) $ECHO_C" >&6
10181 if test x
$gcc_no_link = xyes
; then
10182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10184 { (exit 1); exit 1; }; }
10186 cat >conftest.
$ac_ext <<_ACEOF
10189 cat confdefs.h
>>conftest.
$ac_ext
10190 cat >>conftest.
$ac_ext <<_ACEOF
10191 /* end confdefs.h. */
10192 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10194 #define shl_load innocuous_shl_load
10196 /* System header to define __stub macros and hopefully few prototypes,
10197 which can conflict with char shl_load (); below.
10198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10199 <limits.h> exists even on freestanding compilers. */
10202 # include <limits.h>
10204 # include <assert.h>
10209 /* Override any GCC internal prototype to avoid an error.
10210 Use char because int might match the return type of a GCC
10211 builtin and then its argument prototype would still apply. */
10216 /* The GNU C library defines this for functions which it implements
10217 to always fail with ENOSYS. Some functions are actually named
10218 something starting with __ and the normal name is an alias. */
10219 #if defined __stub_shl_load || defined __stub___shl_load
10226 return shl_load ();
10231 rm -f conftest.
$ac_objext conftest
$ac_exeext
10232 if { (ac_try
="$ac_link"
10233 case "(($ac_try" in
10234 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10235 *) ac_try_echo=$ac_try;;
10237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10238 (eval "$ac_link") 2>conftest.er1
10240 grep -v '^ *+' conftest.er1 >conftest.err
10242 cat conftest.err >&5
10243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10244 (exit $ac_status); } && {
10245 test -z "$ac_c_werror_flag" ||
10246 test ! -s conftest.err
10247 } && test -s conftest$ac_exeext &&
10248 $as_test_x conftest$ac_exeext; then
10249 ac_cv_func_shl_load=yes
10251 echo "$as_me: failed program was:" >&5
10252 sed 's/^/| /' conftest.$ac_ext >&5
10254 ac_cv_func_shl_load=no
10257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10258 conftest$ac_exeext conftest.$ac_ext
10260 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10261 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10262 if test $ac_cv_func_shl_load = yes; then
10263 lt_cv_dlopen="shl_load"
10265 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10266 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10267 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10268 echo $ECHO_N "(cached) $ECHO_C" >&6
10270 ac_check_lib_save_LIBS=$LIBS
10272 if test x$gcc_no_link = xyes; then
10273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10275 { (exit 1); exit 1; }; }
10277 cat >conftest.$ac_ext <<_ACEOF
10280 cat confdefs.h >>conftest.$ac_ext
10281 cat >>conftest.$ac_ext <<_ACEOF
10282 /* end confdefs.h. */
10284 /* Override any GCC internal prototype to avoid an error.
10285 Use char because int might match the return type of a GCC
10286 builtin and then its argument prototype would still apply. */
10294 return shl_load ();
10299 rm -f conftest.$ac_objext conftest$ac_exeext
10300 if { (ac_try="$ac_link"
10301 case "(($ac_try" in
10302 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10303 *) ac_try_echo
=$ac_try;;
10305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10306 (eval "$ac_link") 2>conftest.er1
10308 grep -v '^ *+' conftest.er1
>conftest.err
10310 cat conftest.err
>&5
10311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10312 (exit $ac_status); } && {
10313 test -z "$ac_c_werror_flag" ||
10314 test ! -s conftest.err
10315 } && test -s conftest
$ac_exeext &&
10316 $as_test_x conftest
$ac_exeext; then
10317 ac_cv_lib_dld_shl_load
=yes
10319 echo "$as_me: failed program was:" >&5
10320 sed 's/^/| /' conftest.
$ac_ext >&5
10322 ac_cv_lib_dld_shl_load
=no
10325 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10326 conftest
$ac_exeext conftest.
$ac_ext
10327 LIBS
=$ac_check_lib_save_LIBS
10329 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10330 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10331 if test $ac_cv_lib_dld_shl_load = yes; then
10332 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
10334 { echo "$as_me:$LINENO: checking for dlopen" >&5
10335 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10336 if test "${ac_cv_func_dlopen+set}" = set; then
10337 echo $ECHO_N "(cached) $ECHO_C" >&6
10339 if test x
$gcc_no_link = xyes
; then
10340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10342 { (exit 1); exit 1; }; }
10344 cat >conftest.
$ac_ext <<_ACEOF
10347 cat confdefs.h
>>conftest.
$ac_ext
10348 cat >>conftest.
$ac_ext <<_ACEOF
10349 /* end confdefs.h. */
10350 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10352 #define dlopen innocuous_dlopen
10354 /* System header to define __stub macros and hopefully few prototypes,
10355 which can conflict with char dlopen (); below.
10356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10357 <limits.h> exists even on freestanding compilers. */
10360 # include <limits.h>
10362 # include <assert.h>
10367 /* Override any GCC internal prototype to avoid an error.
10368 Use char because int might match the return type of a GCC
10369 builtin and then its argument prototype would still apply. */
10374 /* The GNU C library defines this for functions which it implements
10375 to always fail with ENOSYS. Some functions are actually named
10376 something starting with __ and the normal name is an alias. */
10377 #if defined __stub_dlopen || defined __stub___dlopen
10389 rm -f conftest.
$ac_objext conftest
$ac_exeext
10390 if { (ac_try
="$ac_link"
10391 case "(($ac_try" in
10392 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10393 *) ac_try_echo=$ac_try;;
10395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10396 (eval "$ac_link") 2>conftest.er1
10398 grep -v '^ *+' conftest.er1 >conftest.err
10400 cat conftest.err >&5
10401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10402 (exit $ac_status); } && {
10403 test -z "$ac_c_werror_flag" ||
10404 test ! -s conftest.err
10405 } && test -s conftest$ac_exeext &&
10406 $as_test_x conftest$ac_exeext; then
10407 ac_cv_func_dlopen=yes
10409 echo "$as_me: failed program was:" >&5
10410 sed 's/^/| /' conftest.$ac_ext >&5
10412 ac_cv_func_dlopen=no
10415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10416 conftest$ac_exeext conftest.$ac_ext
10418 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10419 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10420 if test $ac_cv_func_dlopen = yes; then
10421 lt_cv_dlopen="dlopen"
10423 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10424 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10425 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10426 echo $ECHO_N "(cached) $ECHO_C" >&6
10428 ac_check_lib_save_LIBS=$LIBS
10430 if test x$gcc_no_link = xyes; then
10431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10433 { (exit 1); exit 1; }; }
10435 cat >conftest.$ac_ext <<_ACEOF
10438 cat confdefs.h >>conftest.$ac_ext
10439 cat >>conftest.$ac_ext <<_ACEOF
10440 /* end confdefs.h. */
10442 /* Override any GCC internal prototype to avoid an error.
10443 Use char because int might match the return type of a GCC
10444 builtin and then its argument prototype would still apply. */
10457 rm -f conftest.$ac_objext conftest$ac_exeext
10458 if { (ac_try="$ac_link"
10459 case "(($ac_try" in
10460 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10461 *) ac_try_echo
=$ac_try;;
10463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10464 (eval "$ac_link") 2>conftest.er1
10466 grep -v '^ *+' conftest.er1
>conftest.err
10468 cat conftest.err
>&5
10469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10470 (exit $ac_status); } && {
10471 test -z "$ac_c_werror_flag" ||
10472 test ! -s conftest.err
10473 } && test -s conftest
$ac_exeext &&
10474 $as_test_x conftest
$ac_exeext; then
10475 ac_cv_lib_dl_dlopen
=yes
10477 echo "$as_me: failed program was:" >&5
10478 sed 's/^/| /' conftest.
$ac_ext >&5
10480 ac_cv_lib_dl_dlopen
=no
10483 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10484 conftest
$ac_exeext conftest.
$ac_ext
10485 LIBS
=$ac_check_lib_save_LIBS
10487 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10488 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10489 if test $ac_cv_lib_dl_dlopen = yes; then
10490 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10492 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10493 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10494 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10495 echo $ECHO_N "(cached) $ECHO_C" >&6
10497 ac_check_lib_save_LIBS
=$LIBS
10498 LIBS
="-lsvld $LIBS"
10499 if test x
$gcc_no_link = xyes
; then
10500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10502 { (exit 1); exit 1; }; }
10504 cat >conftest.
$ac_ext <<_ACEOF
10507 cat confdefs.h
>>conftest.
$ac_ext
10508 cat >>conftest.
$ac_ext <<_ACEOF
10509 /* end confdefs.h. */
10511 /* Override any GCC internal prototype to avoid an error.
10512 Use char because int might match the return type of a GCC
10513 builtin and then its argument prototype would still apply. */
10526 rm -f conftest.
$ac_objext conftest
$ac_exeext
10527 if { (ac_try
="$ac_link"
10528 case "(($ac_try" in
10529 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10530 *) ac_try_echo=$ac_try;;
10532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10533 (eval "$ac_link") 2>conftest.er1
10535 grep -v '^ *+' conftest.er1 >conftest.err
10537 cat conftest.err >&5
10538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10539 (exit $ac_status); } && {
10540 test -z "$ac_c_werror_flag" ||
10541 test ! -s conftest.err
10542 } && test -s conftest$ac_exeext &&
10543 $as_test_x conftest$ac_exeext; then
10544 ac_cv_lib_svld_dlopen=yes
10546 echo "$as_me: failed program was:" >&5
10547 sed 's/^/| /' conftest.$ac_ext >&5
10549 ac_cv_lib_svld_dlopen=no
10552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10553 conftest$ac_exeext conftest.$ac_ext
10554 LIBS=$ac_check_lib_save_LIBS
10556 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10557 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10558 if test $ac_cv_lib_svld_dlopen = yes; then
10559 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10561 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10562 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10563 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10564 echo $ECHO_N "(cached) $ECHO_C" >&6
10566 ac_check_lib_save_LIBS=$LIBS
10568 if test x$gcc_no_link = xyes; then
10569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10571 { (exit 1); exit 1; }; }
10573 cat >conftest.$ac_ext <<_ACEOF
10576 cat confdefs.h >>conftest.$ac_ext
10577 cat >>conftest.$ac_ext <<_ACEOF
10578 /* end confdefs.h. */
10580 /* Override any GCC internal prototype to avoid an error.
10581 Use char because int might match the return type of a GCC
10582 builtin and then its argument prototype would still apply. */
10590 return dld_link ();
10595 rm -f conftest.$ac_objext conftest$ac_exeext
10596 if { (ac_try="$ac_link"
10597 case "(($ac_try" in
10598 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10599 *) ac_try_echo
=$ac_try;;
10601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10602 (eval "$ac_link") 2>conftest.er1
10604 grep -v '^ *+' conftest.er1
>conftest.err
10606 cat conftest.err
>&5
10607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608 (exit $ac_status); } && {
10609 test -z "$ac_c_werror_flag" ||
10610 test ! -s conftest.err
10611 } && test -s conftest
$ac_exeext &&
10612 $as_test_x conftest
$ac_exeext; then
10613 ac_cv_lib_dld_dld_link
=yes
10615 echo "$as_me: failed program was:" >&5
10616 sed 's/^/| /' conftest.
$ac_ext >&5
10618 ac_cv_lib_dld_dld_link
=no
10621 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10622 conftest
$ac_exeext conftest.
$ac_ext
10623 LIBS
=$ac_check_lib_save_LIBS
10625 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10626 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10627 if test $ac_cv_lib_dld_dld_link = yes; then
10628 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
10649 if test "x$lt_cv_dlopen" != xno
; then
10655 case $lt_cv_dlopen in
10657 save_CPPFLAGS
="$CPPFLAGS"
10658 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10660 save_LDFLAGS
="$LDFLAGS"
10661 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10664 LIBS
="$lt_cv_dlopen_libs $LIBS"
10666 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10667 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10668 if test "${lt_cv_dlopen_self+set}" = set; then
10669 echo $ECHO_N "(cached) $ECHO_C" >&6
10671 if test "$cross_compiling" = yes; then :
10672 lt_cv_dlopen_self
=cross
10674 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10675 lt_status
=$lt_dlunknown
10676 cat > conftest.
$ac_ext <<_LT_EOF
10677 #line 10677 "configure"
10678 #include "confdefs.h"
10687 # define LT_DLGLOBAL RTLD_GLOBAL
10690 # define LT_DLGLOBAL DL_GLOBAL
10692 # define LT_DLGLOBAL 0
10696 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10697 find out it does not work in some platform. */
10698 #ifndef LT_DLLAZY_OR_NOW
10700 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10703 # define LT_DLLAZY_OR_NOW DL_LAZY
10706 # define LT_DLLAZY_OR_NOW RTLD_NOW
10709 # define LT_DLLAZY_OR_NOW DL_NOW
10711 # define LT_DLLAZY_OR_NOW 0
10719 extern "C" void exit (int);
10722 void fnord() { int i=42;}
10725 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10726 int status = $lt_dlunknown;
10730 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10731 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10732 /* dlclose (self); */
10740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10741 (eval $ac_link) 2>&5
10743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10744 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10745 (.
/conftest
; exit; ) >&5 2>/dev
/null
10747 case x
$lt_status in
10748 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10749 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10750 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10753 # compilation failed
10754 lt_cv_dlopen_self
=no
10761 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10762 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10764 if test "x$lt_cv_dlopen_self" = xyes
; then
10765 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10766 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10767 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10768 if test "${lt_cv_dlopen_self_static+set}" = set; then
10769 echo $ECHO_N "(cached) $ECHO_C" >&6
10771 if test "$cross_compiling" = yes; then :
10772 lt_cv_dlopen_self_static
=cross
10774 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10775 lt_status
=$lt_dlunknown
10776 cat > conftest.
$ac_ext <<_LT_EOF
10777 #line 10777 "configure"
10778 #include "confdefs.h"
10787 # define LT_DLGLOBAL RTLD_GLOBAL
10790 # define LT_DLGLOBAL DL_GLOBAL
10792 # define LT_DLGLOBAL 0
10796 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10797 find out it does not work in some platform. */
10798 #ifndef LT_DLLAZY_OR_NOW
10800 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10803 # define LT_DLLAZY_OR_NOW DL_LAZY
10806 # define LT_DLLAZY_OR_NOW RTLD_NOW
10809 # define LT_DLLAZY_OR_NOW DL_NOW
10811 # define LT_DLLAZY_OR_NOW 0
10819 extern "C" void exit (int);
10822 void fnord() { int i=42;}
10825 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10826 int status = $lt_dlunknown;
10830 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10831 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10832 /* dlclose (self); */
10840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10841 (eval $ac_link) 2>&5
10843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10844 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10845 (.
/conftest
; exit; ) >&5 2>/dev
/null
10847 case x
$lt_status in
10848 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10849 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10850 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10853 # compilation failed
10854 lt_cv_dlopen_self_static
=no
10861 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10862 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10865 CPPFLAGS
="$save_CPPFLAGS"
10866 LDFLAGS
="$save_LDFLAGS"
10871 case $lt_cv_dlopen_self in
10872 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10873 *) enable_dlopen_self
=unknown
;;
10876 case $lt_cv_dlopen_self_static in
10877 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10878 *) enable_dlopen_self_static
=unknown
;;
10900 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10901 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10902 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10903 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10904 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10905 { echo "$as_me:$LINENO: result: yes" >&5
10906 echo "${ECHO_T}yes" >&6; }
10908 # FIXME - insert some real tests, host_os isn't really good enough
10911 if test -n "$STRIP" ; then
10912 striplib
="$STRIP -x"
10913 old_striplib
="$STRIP -S"
10914 { echo "$as_me:$LINENO: result: yes" >&5
10915 echo "${ECHO_T}yes" >&6; }
10917 { echo "$as_me:$LINENO: result: no" >&5
10918 echo "${ECHO_T}no" >&6; }
10922 { echo "$as_me:$LINENO: result: no" >&5
10923 echo "${ECHO_T}no" >&6; }
10939 # Report which library types will actually be built
10940 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10941 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10942 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10943 echo "${ECHO_T}$can_build_shared" >&6; }
10945 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10946 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10947 test "$can_build_shared" = "no" && enable_shared
=no
10949 # On AIX, shared libraries and static libraries use the same namespace, and
10950 # are all built from PIC.
10953 test "$enable_shared" = yes && enable_static
=no
10954 if test -n "$RANLIB"; then
10955 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10956 postinstall_cmds
='$RANLIB $lib'
10961 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10962 test "$enable_shared" = yes && enable_static
=no
10966 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10967 echo "${ECHO_T}$enable_shared" >&6; }
10969 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10970 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10971 # Make sure either enable_shared or enable_static is yes.
10972 test "$enable_shared" = yes || enable_static
=yes
10973 { echo "$as_me:$LINENO: result: $enable_static" >&5
10974 echo "${ECHO_T}$enable_static" >&6; }
10981 ac_cpp
='$CPP $CPPFLAGS'
10982 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10983 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10984 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11000 ac_config_commands
="$ac_config_commands libtool"
11005 # Only expand once:
11010 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
11012 # We need gfortran to compile parts of the library
11013 #AC_PROG_FC(gfortran)
11015 ac_ext
=${ac_fc_srcext-f}
11016 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11017 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11018 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
11019 if test -n "$ac_tool_prefix"; then
11020 for ac_prog
in gfortran
11022 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11023 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11024 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11026 if test "${ac_cv_prog_FC+set}" = set; then
11027 echo $ECHO_N "(cached) $ECHO_C" >&6
11029 if test -n "$FC"; then
11030 ac_cv_prog_FC
="$FC" # Let the user override the test.
11032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11033 for as_dir
in $PATH
11036 test -z "$as_dir" && as_dir
=.
11037 for ac_exec_ext
in '' $ac_executable_extensions; do
11038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11039 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
11040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11050 if test -n "$FC"; then
11051 { echo "$as_me:$LINENO: result: $FC" >&5
11052 echo "${ECHO_T}$FC" >&6; }
11054 { echo "$as_me:$LINENO: result: no" >&5
11055 echo "${ECHO_T}no" >&6; }
11059 test -n "$FC" && break
11062 if test -z "$FC"; then
11064 for ac_prog
in gfortran
11066 # Extract the first word of "$ac_prog", so it can be a program name with args.
11067 set dummy
$ac_prog; ac_word
=$2
11068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11070 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
11071 echo $ECHO_N "(cached) $ECHO_C" >&6
11073 if test -n "$ac_ct_FC"; then
11074 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
11076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11077 for as_dir
in $PATH
11080 test -z "$as_dir" && as_dir
=.
11081 for ac_exec_ext
in '' $ac_executable_extensions; do
11082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11083 ac_cv_prog_ac_ct_FC
="$ac_prog"
11084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11093 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
11094 if test -n "$ac_ct_FC"; then
11095 { echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
11096 echo "${ECHO_T}$ac_ct_FC" >&6; }
11098 { echo "$as_me:$LINENO: result: no" >&5
11099 echo "${ECHO_T}no" >&6; }
11103 test -n "$ac_ct_FC" && break
11106 if test "x$ac_ct_FC" = x
; then
11109 case $cross_compiling:$ac_tool_warned in
11111 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11112 whose name does not start with the host triplet. If you think this
11113 configuration is useful to you, please write to autoconf@gnu.org." >&5
11114 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11115 whose name does not start with the host triplet. If you think this
11116 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11117 ac_tool_warned
=yes ;;
11124 # Provide some information about the compiler.
11125 echo "$as_me:$LINENO: checking for Fortran compiler version" >&5
11126 ac_compiler
=`set X $ac_compile; echo $2`
11127 { (ac_try
="$ac_compiler --version >&5"
11128 case "(($ac_try" in
11129 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11130 *) ac_try_echo=$ac_try;;
11132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11133 (eval "$ac_compiler --version >&5") 2>&5
11135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11136 (exit $ac_status); }
11137 { (ac_try="$ac_compiler -v >&5"
11138 case "(($ac_try" in
11139 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11140 *) ac_try_echo
=$ac_try;;
11142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11143 (eval "$ac_compiler -v >&5") 2>&5
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); }
11147 { (ac_try
="$ac_compiler -V >&5"
11148 case "(($ac_try" in
11149 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11150 *) ac_try_echo=$ac_try;;
11152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11153 (eval "$ac_compiler -V >&5") 2>&5
11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156 (exit $ac_status); }
11159 # If we don't use `.F
' as extension, the preprocessor is not run on the
11160 # input file. (Note that this only needs to work for GNU compilers.)
11161 ac_save_ext=$ac_ext
11163 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
11164 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6; }
11165 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
11166 echo $ECHO_N "(cached) $ECHO_C" >&6
11168 cat >conftest.$ac_ext <<_ACEOF
11176 rm -f conftest.$ac_objext
11177 if { (ac_try="$ac_compile"
11178 case "(($ac_try" in
11179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11180 *) ac_try_echo=$ac_try;;
11182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11183 (eval "$ac_compile") 2>conftest.er1
11185 grep -v '^
*+' conftest.er1 >conftest.err
11187 cat conftest.err >&5
11188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11189 (exit $ac_status); } && {
11190 test -z "$ac_fc_werror_flag" ||
11191 test ! -s conftest.err
11192 } && test -s conftest.$ac_objext; then
11193 ac_compiler_gnu=yes
11195 echo "$as_me: failed program was:" >&5
11196 sed 's
/^
/|
/' conftest.$ac_ext >&5
11201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11202 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11205 { echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
11206 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6; }
11207 ac_ext=$ac_save_ext
11208 ac_test_FFLAGS=${FCFLAGS+set}
11209 ac_save_FFLAGS=$FCFLAGS
11211 { echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
11212 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6; }
11213 if test "${ac_cv_prog_fc_g+set}" = set; then
11214 echo $ECHO_N "(cached) $ECHO_C" >&6
11217 cat >conftest.$ac_ext <<_ACEOF
11222 rm -f conftest.$ac_objext
11223 if { (ac_try="$ac_compile"
11224 case "(($ac_try" in
11225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11226 *) ac_try_echo=$ac_try;;
11228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11229 (eval "$ac_compile") 2>conftest.er1
11231 grep -v '^
*+' conftest.er1 >conftest.err
11233 cat conftest.err >&5
11234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11235 (exit $ac_status); } && {
11236 test -z "$ac_fc_werror_flag" ||
11237 test ! -s conftest.err
11238 } && test -s conftest.$ac_objext; then
11239 ac_cv_prog_fc_g=yes
11241 echo "$as_me: failed program was:" >&5
11242 sed 's
/^
/|
/' conftest.$ac_ext >&5
11247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11250 { echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
11251 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6; }
11252 if test "$ac_test_FFLAGS" = set; then
11253 FCFLAGS=$ac_save_FFLAGS
11254 elif test $ac_cv_prog_fc_g = yes; then
11255 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11261 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11269 ac_cpp='$CPP $CPPFLAGS'
11270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
11271 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
11272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11275 ac_ext=${ac_fc_srcext-f}
11276 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
11277 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
11278 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11279 if test -n "$ac_tool_prefix"; then
11280 for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
11282 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11283 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11284 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11286 if test "${ac_cv_prog_FC+set}" = set; then
11287 echo $ECHO_N "(cached) $ECHO_C" >&6
11289 if test -n "$FC"; then
11290 ac_cv_prog_FC="$FC" # Let the user override the test.
11292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11293 for as_dir in $PATH
11296 test -z "$as_dir" && as_dir=.
11297 for ac_exec_ext in '' $ac_executable_extensions; do
11298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11299 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
11300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11310 if test -n "$FC"; then
11311 { echo "$as_me:$LINENO: result: $FC" >&5
11312 echo "${ECHO_T}$FC" >&6; }
11314 { echo "$as_me:$LINENO: result: no" >&5
11315 echo "${ECHO_T}no" >&6; }
11319 test -n "$FC" && break
11322 if test -z "$FC"; then
11324 for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
11326 # Extract the first word of "$ac_prog", so it can be a program name with args.
11327 set dummy $ac_prog; ac_word=$2
11328 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11330 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
11331 echo $ECHO_N "(cached) $ECHO_C" >&6
11333 if test -n "$ac_ct_FC"; then
11334 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
11336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11337 for as_dir in $PATH
11340 test -z "$as_dir" && as_dir=.
11341 for ac_exec_ext in '' $ac_executable_extensions; do
11342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11343 ac_cv_prog_ac_ct_FC="$ac_prog"
11344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11353 ac_ct_FC=$ac_cv_prog_ac_ct_FC
11354 if test -n "$ac_ct_FC"; then
11355 { echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
11356 echo "${ECHO_T}$ac_ct_FC" >&6; }
11358 { echo "$as_me:$LINENO: result: no" >&5
11359 echo "${ECHO_T}no" >&6; }
11363 test -n "$ac_ct_FC" && break
11366 if test "x$ac_ct_FC" = x; then
11369 case $cross_compiling:$ac_tool_warned in
11371 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11372 whose name does not start with the host triplet. If you think this
11373 configuration is useful to you, please write to autoconf@gnu.org." >&5
11374 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11375 whose name does not start with the host triplet. If you think this
11376 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11377 ac_tool_warned=yes ;;
11384 # Provide some information about the compiler.
11385 echo "$as_me:$LINENO: checking for Fortran compiler version" >&5
11386 ac_compiler=`set X $ac_compile; echo $2`
11387 { (ac_try="$ac_compiler --version >&5"
11388 case "(($ac_try" in
11389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11390 *) ac_try_echo=$ac_try;;
11392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11393 (eval "$ac_compiler --version >&5") 2>&5
11395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11396 (exit $ac_status); }
11397 { (ac_try="$ac_compiler -v >&5"
11398 case "(($ac_try" in
11399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11400 *) ac_try_echo=$ac_try;;
11402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11403 (eval "$ac_compiler -v >&5") 2>&5
11405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11406 (exit $ac_status); }
11407 { (ac_try="$ac_compiler -V >&5"
11408 case "(($ac_try" in
11409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11410 *) ac_try_echo=$ac_try;;
11412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11413 (eval "$ac_compiler -V >&5") 2>&5
11415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11416 (exit $ac_status); }
11419 # If we don't use
`.F' as extension, the preprocessor is not run on the
11420 # input file. (Note that this only needs to work for GNU compilers.)
11421 ac_save_ext=$ac_ext
11423 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
11424 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6; }
11425 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
11426 echo $ECHO_N "(cached) $ECHO_C" >&6
11428 cat >conftest.$ac_ext <<_ACEOF
11436 rm -f conftest.$ac_objext
11437 if { (ac_try="$ac_compile"
11438 case "(($ac_try" in
11439 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11440 *) ac_try_echo
=$ac_try;;
11442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11443 (eval "$ac_compile") 2>conftest.er1
11445 grep -v '^ *+' conftest.er1
>conftest.err
11447 cat conftest.err
>&5
11448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11449 (exit $ac_status); } && {
11450 test -z "$ac_fc_werror_flag" ||
11451 test ! -s conftest.err
11452 } && test -s conftest.
$ac_objext; then
11453 ac_compiler_gnu
=yes
11455 echo "$as_me: failed program was:" >&5
11456 sed 's/^/| /' conftest.
$ac_ext >&5
11461 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11462 ac_cv_fc_compiler_gnu
=$ac_compiler_gnu
11465 { echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
11466 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6; }
11467 ac_ext
=$ac_save_ext
11468 ac_test_FFLAGS
=${FCFLAGS+set}
11469 ac_save_FFLAGS
=$FCFLAGS
11471 { echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
11472 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6; }
11473 if test "${ac_cv_prog_fc_g+set}" = set; then
11474 echo $ECHO_N "(cached) $ECHO_C" >&6
11477 cat >conftest.
$ac_ext <<_ACEOF
11482 rm -f conftest.
$ac_objext
11483 if { (ac_try
="$ac_compile"
11484 case "(($ac_try" in
11485 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11486 *) ac_try_echo=$ac_try;;
11488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11489 (eval "$ac_compile") 2>conftest.er1
11491 grep -v '^ *+' conftest.er1 >conftest.err
11493 cat conftest.err >&5
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); } && {
11496 test -z "$ac_fc_werror_flag" ||
11497 test ! -s conftest.err
11498 } && test -s conftest.$ac_objext; then
11499 ac_cv_prog_fc_g=yes
11501 echo "$as_me: failed program was:" >&5
11502 sed 's/^/| /' conftest.$ac_ext >&5
11507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11510 { echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
11511 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6; }
11512 if test "$ac_test_FFLAGS" = set; then
11513 FCFLAGS=$ac_save_FFLAGS
11514 elif test $ac_cv_prog_fc_g = yes; then
11515 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11521 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11529 ac_cpp='$CPP $CPPFLAGS'
11530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11534 if test -z "$FC" || test "X$FC" = "Xno"; then
11540 ac_ext=${ac_fc_srcext-f}
11541 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11542 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11543 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11546 archive_cmds_need_lc_FC=no
11547 allow_undefined_flag_FC=
11548 always_export_symbols_FC=no
11549 archive_expsym_cmds_FC=
11550 export_dynamic_flag_spec_FC=
11551 hardcode_direct_FC=no
11552 hardcode_direct_absolute_FC=no
11553 hardcode_libdir_flag_spec_FC=
11554 hardcode_libdir_flag_spec_ld_FC=
11555 hardcode_libdir_separator_FC=
11556 hardcode_minus_L_FC=no
11557 hardcode_automatic_FC=no
11558 inherit_rpath_FC=no
11560 module_expsym_cmds_FC=
11561 link_all_deplibs_FC=unknown
11562 old_archive_cmds_FC=$old_archive_cmds
11563 no_undefined_flag_FC=
11564 whole_archive_flag_spec_FC=
11565 enable_shared_with_static_runtimes_FC=no
11567 # Source file extension for fc test sources.
11568 ac_ext=${ac_fc_srcext-f}
11570 # Object file extension for compiled fc test sources.
11574 # No sense in running all these tests if we already determined that
11575 # the FC compiler isn't working. Some variables (like enable_shared)
11576 # are currently assumed to apply to all compilers on this platform,
11577 # and will be corrupted by setting them based on a non-working compiler.
11578 if test "$_lt_disable_FC" != yes; then
11579 # Code to be used in simple compile tests
11580 lt_simple_compile_test_code="\
11586 # Code to be used in simple link tests
11587 lt_simple_link_test_code="\
11592 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11599 # If no C compiler was specified, use CC.
11602 # If no C compiler flags were specified, use CFLAGS.
11603 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11605 # Allow CC to be a program name with arguments.
11609 # save warnings/boilerplate of simple test code
11610 ac_outfile=conftest.$ac_objext
11611 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11612 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11613 _lt_compiler_boilerplate=`cat conftest.err
`
11616 ac_outfile=conftest.$ac_objext
11617 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11618 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11619 _lt_linker_boilerplate=`cat conftest.err
`
11623 # Allow CC to be a program name with arguments.
11628 for cc_temp in $compiler""; do
11630 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11631 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11636 cc_basename=`$ECHO "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11639 if test -n "$compiler"; then
11640 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11641 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11642 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
11643 echo "${ECHO_T}$can_build_shared" >&6; }
11645 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11646 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11647 test "$can_build_shared" = "no" && enable_shared=no
11649 # On AIX, shared libraries and static libraries use the same namespace, and
11650 # are all built from PIC.
11653 test "$enable_shared" = yes && enable_static=no
11654 if test -n "$RANLIB"; then
11655 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11656 postinstall_cmds='$RANLIB $lib'
11660 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11661 test "$enable_shared" = yes && enable_static=no
11665 { echo "$as_me:$LINENO: result: $enable_shared" >&5
11666 echo "${ECHO_T}$enable_shared" >&6; }
11668 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11669 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11670 # Make sure either enable_shared or enable_static is yes.
11671 test "$enable_shared" = yes || enable_static=yes
11672 { echo "$as_me:$LINENO: result: $enable_static" >&5
11673 echo "${ECHO_T}$enable_static" >&6; }
11675 GCC_FC="$ac_cv_fc_compiler_gnu"
11679 ## There is no encapsulation within the following macros, do not change
11680 ## the running order or otherwise move them around unless you know exactly
11681 ## what you are doing...
11682 # Dependencies to place before and after the object being linked:
11684 postdep_objects_FC=
11687 compiler_lib_search_path_FC=
11689 cat > conftest.$ac_ext <<_LT_EOF
11698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11699 (eval $ac_compile) 2>&5
11701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11702 (exit $ac_status); }; then
11703 # Parse the compiler output and extract the necessary
11704 # objects, libraries and library flags.
11706 # Sentinel used to keep track of whether or not we are before
11707 # the conftest object file.
11708 pre_test_object_deps_done=no
11710 # The `*' in the case matches for architectures that use `case' in
11711 # $output_verbose_cmd can trigger glob expansion during the loop
11712 # eval without this substitution.
11713 output_verbose_link_cmd
=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11715 for p
in `eval $output_verbose_link_cmd`; do
11719 # Some compilers place space between "-{L,R}" and the path.
11720 # Remove the space.
11721 if test $p = "-L" ||
11722 test $p = "-R"; then
11729 if test "$pre_test_object_deps_done" = no
; then
11732 # Internal compiler library paths should come after those
11733 # provided the user. The postdeps already come after the
11734 # user supplied libs so there is no need to process them.
11735 if test -z "$compiler_lib_search_path_FC"; then
11736 compiler_lib_search_path_FC
="${prev}${p}"
11738 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
11741 # The "-l" case would never come before the object being
11742 # linked, so don't bother handling this case.
11745 if test -z "$postdeps_FC"; then
11746 postdeps_FC
="${prev}${p}"
11748 postdeps_FC
="${postdeps_FC} ${prev}${p}"
11754 # This assumes that the test object file only shows up
11755 # once in the compiler output.
11756 if test "$p" = "conftest.$objext"; then
11757 pre_test_object_deps_done
=yes
11761 if test "$pre_test_object_deps_done" = no
; then
11762 if test -z "$predep_objects_FC"; then
11763 predep_objects_FC
="$p"
11765 predep_objects_FC
="$predep_objects_FC $p"
11768 if test -z "$postdep_objects_FC"; then
11769 postdep_objects_FC
="$p"
11771 postdep_objects_FC
="$postdep_objects_FC $p"
11776 *) ;; # Ignore the rest.
11784 echo "libtool.m4: error: problem compiling FC test program"
11787 $RM -f confest.
$objext
11789 # PORTME: override above test on systems where it is broken
11792 case " $postdeps_FC " in
11793 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
11821 lt_prog_compiler_wl_FC
=
11822 lt_prog_compiler_pic_FC
=
11823 lt_prog_compiler_static_FC
=
11825 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11826 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11828 if test "$GCC" = yes; then
11829 lt_prog_compiler_wl_FC
='-Wl,'
11830 lt_prog_compiler_static_FC
='-static'
11834 # All AIX code is PIC.
11835 if test "$host_cpu" = ia64
; then
11836 # AIX 5 now supports IA64 processor
11837 lt_prog_compiler_static_FC
='-Bstatic'
11842 if test "$host_cpu" = m68k
; then
11843 # FIXME: we need at least 68020 code to build shared libraries, but
11844 # adding the `-m68020' flag to GCC prevents building anything better,
11846 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
11850 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11851 # PIC is the default for these OSes.
11854 mingw
* | cygwin
* | pw32
* | os2
*)
11855 # This hack is so that the source file can tell whether it is being
11856 # built for inclusion in a dll (and should export symbols for example).
11857 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11858 # (--disable-auto-import) libraries
11859 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
11862 darwin
* | rhapsody
*)
11863 # PIC is the default on this platform
11864 # Common symbols not allowed in MH_DYLIB files
11865 lt_prog_compiler_pic_FC
='-fno-common'
11869 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11870 # not for PA HP-UX.
11876 lt_prog_compiler_pic_FC
='-fPIC'
11882 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11883 # Instead, we relocate shared libraries at runtime.
11887 # Just because we use GCC doesn't mean we suddenly get shared libraries
11888 # on systems that don't support them.
11889 lt_prog_compiler_can_build_shared_FC
=no
11894 # QNX uses GNU C++, but need to define -shared option too, otherwise
11895 # it will coredump.
11896 lt_prog_compiler_pic_FC
='-fPIC -shared'
11900 if test -d /usr
/nec
; then
11901 lt_prog_compiler_pic_FC
=-Kconform_pic
11906 lt_prog_compiler_pic_FC
='-fPIC'
11910 # PORTME Check for flag to pass linker flags through the system compiler.
11913 lt_prog_compiler_wl_FC
='-Wl,'
11914 if test "$host_cpu" = ia64
; then
11915 # AIX 5 now supports IA64 processor
11916 lt_prog_compiler_static_FC
='-Bstatic'
11918 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
11922 # PIC is the default on this platform
11923 # Common symbols not allowed in MH_DYLIB files
11924 case $cc_basename in
11926 lt_prog_compiler_pic_FC
='-qnocommon'
11927 lt_prog_compiler_wl_FC
='-Wl,'
11932 mingw
* | cygwin
* | pw32
* | os2
*)
11933 # This hack is so that the source file can tell whether it is being
11934 # built for inclusion in a dll (and should export symbols for example).
11935 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
11938 hpux9
* | hpux10
* | hpux11
*)
11939 lt_prog_compiler_wl_FC
='-Wl,'
11940 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11941 # not for PA HP-UX.
11947 lt_prog_compiler_pic_FC
='+Z'
11950 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11951 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
11954 irix5
* | irix6
* | nonstopux
*)
11955 lt_prog_compiler_wl_FC
='-Wl,'
11956 # PIC (with -KPIC) is the default.
11957 lt_prog_compiler_static_FC
='-non_shared'
11960 linux
* | k
*bsd
*-gnu)
11961 case $cc_basename in
11963 lt_prog_compiler_wl_FC
='-Wl,'
11964 lt_prog_compiler_pic_FC
='-KPIC'
11965 lt_prog_compiler_static_FC
='-static'
11967 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
11968 # Portland Group compilers (*not* the Pentium gcc compiler,
11969 # which looks to be a dead project)
11970 lt_prog_compiler_wl_FC
='-Wl,'
11971 lt_prog_compiler_pic_FC
='-fpic'
11972 lt_prog_compiler_static_FC
='-Bstatic'
11975 lt_prog_compiler_wl_FC
='-Wl,'
11976 # All Alpha code is PIC.
11977 lt_prog_compiler_static_FC
='-non_shared'
11980 case `$CC -V 2>&1 | sed 5q` in
11983 lt_prog_compiler_pic_FC
='-KPIC'
11984 lt_prog_compiler_static_FC
='-Bstatic'
11985 lt_prog_compiler_wl_FC
='-Wl,'
11988 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11989 lt_prog_compiler_pic_FC
='-KPIC'
11990 lt_prog_compiler_static_FC
='-Bstatic'
11991 lt_prog_compiler_wl_FC
=''
11999 lt_prog_compiler_pic_FC
='-KPIC'
12000 lt_prog_compiler_static_FC
='-Bstatic'
12004 # QNX uses GNU C++, but need to define -shared option too, otherwise
12005 # it will coredump.
12006 lt_prog_compiler_pic_FC
='-fPIC -shared'
12009 osf3
* | osf4
* | osf5
*)
12010 lt_prog_compiler_wl_FC
='-Wl,'
12011 # All OSF/1 code is PIC.
12012 lt_prog_compiler_static_FC
='-non_shared'
12016 lt_prog_compiler_static_FC
='-non_shared'
12020 lt_prog_compiler_pic_FC
='-KPIC'
12021 lt_prog_compiler_static_FC
='-Bstatic'
12022 case $cc_basename in
12023 f77
* | f90
* | f95
*)
12024 lt_prog_compiler_wl_FC
='-Qoption ld ';;
12026 lt_prog_compiler_wl_FC
='-Wl,';;
12031 lt_prog_compiler_wl_FC
='-Qoption ld '
12032 lt_prog_compiler_pic_FC
='-PIC'
12033 lt_prog_compiler_static_FC
='-Bstatic'
12036 sysv4 | sysv4.2uw2
* | sysv4.3
*)
12037 lt_prog_compiler_wl_FC
='-Wl,'
12038 lt_prog_compiler_pic_FC
='-KPIC'
12039 lt_prog_compiler_static_FC
='-Bstatic'
12043 if test -d /usr
/nec
;then
12044 lt_prog_compiler_pic_FC
='-Kconform_pic'
12045 lt_prog_compiler_static_FC
='-Bstatic'
12049 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12050 lt_prog_compiler_wl_FC
='-Wl,'
12051 lt_prog_compiler_pic_FC
='-KPIC'
12052 lt_prog_compiler_static_FC
='-Bstatic'
12056 lt_prog_compiler_wl_FC
='-Wl,'
12057 lt_prog_compiler_can_build_shared_FC
=no
12061 lt_prog_compiler_pic_FC
='-pic'
12062 lt_prog_compiler_static_FC
='-Bstatic'
12066 lt_prog_compiler_can_build_shared_FC
=no
12072 # For platforms which do not support PIC, -DPIC is meaningless:
12074 lt_prog_compiler_pic_FC
=
12077 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
12080 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_FC" >&5
12081 echo "${ECHO_T}$lt_prog_compiler_pic_FC" >&6; }
12086 # Check to make sure the PIC flag actually works.
12088 if test -n "$lt_prog_compiler_pic_FC"; then
12089 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
12090 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... $ECHO_C" >&6; }
12091 if test "${lt_prog_compiler_pic_works_FC+set}" = set; then
12092 echo $ECHO_N "(cached) $ECHO_C" >&6
12094 lt_prog_compiler_pic_works_FC
=no
12095 ac_outfile
=conftest.
$ac_objext
12096 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12097 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
12098 # Insert the option either (1) after the last *FLAGS variable, or
12099 # (2) before a word containing "conftest.", or (3) at the end.
12100 # Note that $ac_compile itself does not contain backslashes and begins
12101 # with a dollar sign (not a hyphen), so the echo should work correctly.
12102 # The option is referenced via a variable to avoid confusing sed.
12103 lt_compile
=`echo "$ac_compile" | $SED \
12104 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12105 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12106 -e 's:$: $lt_compiler_flag:'`
12107 (eval echo "\"\$as_me:12107: $lt_compile\"" >&5)
12108 (eval "$lt_compile" 2>conftest.err
)
12110 cat conftest.err
>&5
12111 echo "$as_me:12111: \$? = $ac_status" >&5
12112 if (exit $ac_status) && test -s "$ac_outfile"; then
12113 # The compiler can only warn and ignore the option if not recognized
12114 # So say no if there are warnings other than the usual output.
12115 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12116 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12117 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12118 lt_prog_compiler_pic_works_FC
=yes
12124 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_FC" >&5
12125 echo "${ECHO_T}$lt_prog_compiler_pic_works_FC" >&6; }
12127 if test x
"$lt_prog_compiler_pic_works_FC" = xyes
; then
12128 case $lt_prog_compiler_pic_FC in
12130 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
12133 lt_prog_compiler_pic_FC
=
12134 lt_prog_compiler_can_build_shared_FC
=no
12142 # Check to make sure the static flag actually works.
12144 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
12145 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12146 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12147 if test "${lt_prog_compiler_static_works_FC+set}" = set; then
12148 echo $ECHO_N "(cached) $ECHO_C" >&6
12150 lt_prog_compiler_static_works_FC
=no
12151 save_LDFLAGS
="$LDFLAGS"
12152 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12153 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12154 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12155 # The linker can only warn and ignore the option if not recognized
12156 # So say no if there are warnings
12157 if test -s conftest.err
; then
12158 # Append any errors to the config.log.
12159 cat conftest.err
1>&5
12160 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12161 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12162 if diff conftest.exp conftest.er2
>/dev
/null
; then
12163 lt_prog_compiler_static_works_FC
=yes
12166 lt_prog_compiler_static_works_FC
=yes
12170 LDFLAGS
="$save_LDFLAGS"
12173 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_FC" >&5
12174 echo "${ECHO_T}$lt_prog_compiler_static_works_FC" >&6; }
12176 if test x
"$lt_prog_compiler_static_works_FC" = xyes
; then
12179 lt_prog_compiler_static_FC
=
12185 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12186 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12187 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
12188 echo $ECHO_N "(cached) $ECHO_C" >&6
12190 lt_cv_prog_compiler_c_o_FC
=no
12191 $RM -r conftest
2>/dev
/null
12195 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12197 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12198 # Insert the option either (1) after the last *FLAGS variable, or
12199 # (2) before a word containing "conftest.", or (3) at the end.
12200 # Note that $ac_compile itself does not contain backslashes and begins
12201 # with a dollar sign (not a hyphen), so the echo should work correctly.
12202 lt_compile
=`echo "$ac_compile" | $SED \
12203 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12204 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12205 -e 's:$: $lt_compiler_flag:'`
12206 (eval echo "\"\$as_me:12206: $lt_compile\"" >&5)
12207 (eval "$lt_compile" 2>out
/conftest.err
)
12209 cat out
/conftest.err
>&5
12210 echo "$as_me:12210: \$? = $ac_status" >&5
12211 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12213 # The compiler can only warn and ignore the option if not recognized
12214 # So say no if there are warnings
12215 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12216 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12217 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12218 lt_cv_prog_compiler_c_o_FC
=yes
12223 # SGI C++ compiler will create directory out/ii_files/ for
12224 # template instantiation
12225 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12226 $RM out
/* && rmdir out
12232 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
12233 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6; }
12237 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12238 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12239 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
12240 echo $ECHO_N "(cached) $ECHO_C" >&6
12242 lt_cv_prog_compiler_c_o_FC
=no
12243 $RM -r conftest
2>/dev
/null
12247 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12249 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12250 # Insert the option either (1) after the last *FLAGS variable, or
12251 # (2) before a word containing "conftest.", or (3) at the end.
12252 # Note that $ac_compile itself does not contain backslashes and begins
12253 # with a dollar sign (not a hyphen), so the echo should work correctly.
12254 lt_compile
=`echo "$ac_compile" | $SED \
12255 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12256 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12257 -e 's:$: $lt_compiler_flag:'`
12258 (eval echo "\"\$as_me:12258: $lt_compile\"" >&5)
12259 (eval "$lt_compile" 2>out
/conftest.err
)
12261 cat out
/conftest.err
>&5
12262 echo "$as_me:12262: \$? = $ac_status" >&5
12263 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12265 # The compiler can only warn and ignore the option if not recognized
12266 # So say no if there are warnings
12267 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12268 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12269 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12270 lt_cv_prog_compiler_c_o_FC
=yes
12275 # SGI C++ compiler will create directory out/ii_files/ for
12276 # template instantiation
12277 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12278 $RM out
/* && rmdir out
12284 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
12285 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6; }
12290 hard_links
="nottested"
12291 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
12292 # do not overwrite the value of need_locks provided by the user
12293 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12294 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12297 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12299 ln conftest.a conftest.b
2>&5 || hard_links
=no
12300 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12301 { echo "$as_me:$LINENO: result: $hard_links" >&5
12302 echo "${ECHO_T}$hard_links" >&6; }
12303 if test "$hard_links" = no
; then
12304 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12305 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12314 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12315 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12318 allow_undefined_flag_FC
=
12319 always_export_symbols_FC
=no
12321 archive_expsym_cmds_FC
=
12322 compiler_needs_object_FC
=no
12323 enable_shared_with_static_runtimes_FC
=no
12324 export_dynamic_flag_spec_FC
=
12325 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12326 hardcode_automatic_FC
=no
12327 hardcode_direct_FC
=no
12328 hardcode_direct_absolute_FC
=no
12329 hardcode_libdir_flag_spec_FC
=
12330 hardcode_libdir_flag_spec_ld_FC
=
12331 hardcode_libdir_separator_FC
=
12332 hardcode_minus_L_FC
=no
12333 hardcode_shlibpath_var_FC
=unsupported
12334 inherit_rpath_FC
=no
12335 link_all_deplibs_FC
=unknown
12337 module_expsym_cmds_FC
=
12338 old_archive_from_new_cmds_FC
=
12339 old_archive_from_expsyms_cmds_FC
=
12340 thread_safe_flag_spec_FC
=
12341 whole_archive_flag_spec_FC
=
12342 # include_expsyms should be a list of space-separated symbols to be *always*
12343 # included in the symbol list
12344 include_expsyms_FC
=
12345 # exclude_expsyms can be an extended regexp of symbols to exclude
12346 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12347 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12348 # as well as any symbol that contains `d'.
12349 exclude_expsyms_FC
="_GLOBAL_OFFSET_TABLE_"
12350 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12351 # platforms (ab)use it in PIC code, but their linkers get confused if
12352 # the symbol is explicitly referenced. Since portable code cannot
12353 # rely on this symbol name, it's probably fine to never include it in
12354 # preloaded symbol tables.
12355 extract_expsyms_cmds
=
12358 cygwin
* | mingw
* | pw32
*)
12359 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12360 # When not using gcc, we currently assume that we are using
12361 # Microsoft Visual C++.
12362 if test "$GCC" != yes; then
12367 # we just hope/assume this is gcc and not c89 (= MSVC++)
12376 if test "$with_gnu_ld" = yes; then
12377 # If archive_cmds runs LD, not CC, wlarc should be empty
12380 # Set some defaults for GNU ld with shared library support. These
12381 # are reset later if shared libraries are not supported. Putting them
12382 # here allows them to be overridden if necessary.
12383 runpath_var
=LD_RUN_PATH
12384 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12385 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
12386 # ancient GNU ld didn't support --whole-archive et. al.
12387 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12388 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12390 whole_archive_flag_spec_FC
=
12392 supports_anon_versioning
=no
12393 case `$LD -v 2>&1` in
12394 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12395 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12396 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12397 *\
2.11.
*) ;; # other 2.11 versions
12398 *) supports_anon_versioning
=yes ;;
12401 # See if GNU ld supports shared libraries.
12404 # On AIX/PPC, the GNU linker is very broken
12405 if test "$host_cpu" != ia64
; then
12409 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
12410 *** to be unable to reliably create shared libraries on AIX.
12411 *** Therefore, libtool is disabling shared libraries support. If you
12412 *** really care for shared libraries, you may want to modify your PATH
12413 *** so that a non-GNU linker is found, and then restart.
12420 if test "$host_cpu" = m68k
; then
12421 archive_cmds_FC
='$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)'
12422 hardcode_libdir_flag_spec_FC
='-L$libdir'
12423 hardcode_minus_L_FC
=yes
12426 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
12427 # that the semantics of dynamic libraries on AmigaOS, at least up
12428 # to version 4, is to share data among multiple programs linked
12429 # with the same dynamic library. Since this doesn't match the
12430 # behavior of shared libraries on other platforms, we can't use
12436 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12437 allow_undefined_flag_FC
=unsupported
12438 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12439 # support --undefined. This deserves some investigation. FIXME
12440 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12446 cygwin
* | mingw
* | pw32
*)
12447 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12448 # as there is no search path for DLLs.
12449 hardcode_libdir_flag_spec_FC
='-L$libdir'
12450 allow_undefined_flag_FC
=unsupported
12451 always_export_symbols_FC
=no
12452 enable_shared_with_static_runtimes_FC
=yes
12453 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12455 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12456 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12457 # If the export-symbols file already is a .def file (1st line
12458 # is EXPORTS), use it as is; otherwise, prepend...
12459 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12460 cp $export_symbols $output_objdir/$soname.def;
12462 echo EXPORTS > $output_objdir/$soname.def;
12463 cat $export_symbols >> $output_objdir/$soname.def;
12465 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12472 hardcode_direct_FC
=no
12473 hardcode_shlibpath_var_FC
=no
12474 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
12475 export_dynamic_flag_spec_FC
='${wl}-E'
12476 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12477 # Instead, shared libraries are loaded at an image base (0x10000000 by
12478 # default) and relocated if they conflict, which is a slow very memory
12479 # consuming and fragmenting process. To avoid this, we pick a random,
12480 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12481 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12482 archive_cmds_FC
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12483 archive_expsym_cmds_FC
='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'
12486 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
12488 if test "$host_os" = linux-dietlibc
; then
12489 case $cc_basename in
12490 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12493 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12494 && test "$tmp_diet" = no
12497 case $cc_basename,$host_cpu in
12498 pgcc
*) # Portland Group C compiler
12499 whole_archive_flag_spec_FC
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12500 tmp_addflag
=' $pic_flag'
12502 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
12503 whole_archive_flag_spec_FC
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12504 tmp_addflag
=' $pic_flag -Mnomain' ;;
12505 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12506 tmp_addflag
=' -i_dynamic' ;;
12507 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12508 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12509 ifc
* | ifort
*) # Intel Fortran compiler
12510 tmp_addflag
=' -nofor_main' ;;
12512 case `$CC -V 2>&1 | sed 5q` in
12513 *Sun\ C
*) # Sun C 5.9
12514 whole_archive_flag_spec_FC
='${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'
12515 compiler_needs_object_FC
=yes
12516 tmp_sharedflag
='-G' ;;
12517 *Sun\ F
*) # Sun Fortran 8.3
12518 tmp_sharedflag
='-G' ;;
12520 tmp_sharedflag
='-shared' ;;
12522 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12524 if test "x$supports_anon_versioning" = xyes
; then
12525 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
12526 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12527 echo "local: *; };" >> $output_objdir/$libname.ver~
12528 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12536 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12537 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12540 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12541 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12546 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12550 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12551 *** create shared libraries on Solaris systems. Therefore, libtool
12552 *** is disabling shared libraries support. We urge you to upgrade GNU
12553 *** binutils to release 2.9.1 or newer. Another option is to modify
12554 *** your PATH or compiler configuration so that the native linker is
12555 *** used, and then restart.
12558 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12559 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12560 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12566 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12567 case `$LD -v 2>&1` in
12568 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12572 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12573 *** reliably create shared libraries on SCO systems. Therefore, libtool
12574 *** is disabling shared libraries support. We urge you to upgrade GNU
12575 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12576 *** your PATH or compiler configuration so that the native linker is
12577 *** used, and then restart.
12582 # For security reasons, it is highly recommended that you always
12583 # use absolute paths for naming shared libraries, and exclude the
12584 # DT_RUNPATH tag from executables and libraries. But doing so
12585 # requires that you compile everything twice, which is a pain.
12586 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12587 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12588 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12589 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12598 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12600 hardcode_direct_FC
=yes
12601 hardcode_shlibpath_var_FC
=no
12605 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12606 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12607 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12614 if test "$ld_shlibs_FC" = no
; then
12616 hardcode_libdir_flag_spec_FC
=
12617 export_dynamic_flag_spec_FC
=
12618 whole_archive_flag_spec_FC
=
12621 # PORTME fill in a description of your system's linker (not GNU ld)
12624 allow_undefined_flag_FC
=unsupported
12625 always_export_symbols_FC
=yes
12626 archive_expsym_cmds_FC
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
12627 # Note: this linker hardcodes the directories in LIBPATH if there
12628 # are no directories specified by -L.
12629 hardcode_minus_L_FC
=yes
12630 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12631 # Neither direct hardcoding nor static linking is supported with a
12633 hardcode_direct_FC
=unsupported
12638 if test "$host_cpu" = ia64
; then
12639 # On IA64, the linker does run time linking by default, so we don't
12640 # have to do anything special.
12641 aix_use_runtimelinking
=no
12642 exp_sym_flag
='-Bexport'
12645 # If we're using GNU nm, then we don't want the "-C" option.
12646 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12647 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12648 export_symbols_cmds_FC
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12650 export_symbols_cmds_FC
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12652 aix_use_runtimelinking
=no
12654 # Test if we are trying to use run time linking or normal
12655 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12656 # need to do runtime linking.
12657 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12658 for ld_flag
in $LDFLAGS; do
12659 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12660 aix_use_runtimelinking
=yes
12667 exp_sym_flag
='-bexport'
12668 no_entry_flag
='-bnoentry'
12671 # When large executables or shared objects are built, AIX ld can
12672 # have problems creating the table of contents. If linking a library
12673 # or program results in "error TOC overflow" add -mminimal-toc to
12674 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12675 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12678 hardcode_direct_FC
=yes
12679 hardcode_direct_absolute_FC
=yes
12680 hardcode_libdir_separator_FC
=':'
12681 link_all_deplibs_FC
=yes
12682 file_list_spec_FC
='${wl}-f,'
12684 if test "$GCC" = yes; then
12685 case $host_os in aix4.
[012]|aix4.
[012].
*)
12686 # We only want to do this on AIX 4.2 and lower, the check
12687 # below for broken collect2 doesn't work under 4.3+
12688 collect2name
=`${CC} -print-prog-name=collect2`
12689 if test -f "$collect2name" &&
12690 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12692 # We have reworked collect2
12695 # We have old collect2
12696 hardcode_direct_FC
=unsupported
12697 # It fails to find uninstalled libraries when the uninstalled
12698 # path is not listed in the libpath. Setting hardcode_minus_L
12699 # to unsupported forces relinking
12700 hardcode_minus_L_FC
=yes
12701 hardcode_libdir_flag_spec_FC
='-L$libdir'
12702 hardcode_libdir_separator_FC
=
12706 shared_flag
='-shared'
12707 if test "$aix_use_runtimelinking" = yes; then
12708 shared_flag
="$shared_flag "'${wl}-G'
12712 if test "$host_cpu" = ia64
; then
12713 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12714 # chokes on -Wl,-G. The following line is correct:
12717 if test "$aix_use_runtimelinking" = yes; then
12718 shared_flag
='${wl}-G'
12720 shared_flag
='${wl}-bM:SRE'
12725 # It seems that -bexpall does not export symbols beginning with
12726 # underscore (_), so it is better to generate a list of symbols to export.
12727 always_export_symbols_FC
=yes
12728 if test "$aix_use_runtimelinking" = yes; then
12729 # Warning - without using the other runtime loading flags (-brtl),
12730 # -berok will link without error, but may produce a broken library.
12731 allow_undefined_flag_FC
='-berok'
12732 # Determine the default libpath from the value encoded in an
12733 # empty executable.
12734 if test x
$gcc_no_link = xyes
; then
12735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12737 { (exit 1); exit 1; }; }
12739 cat >conftest.
$ac_ext <<_ACEOF
12744 rm -f conftest.
$ac_objext conftest
$ac_exeext
12745 if { (ac_try
="$ac_link"
12746 case "(($ac_try" in
12747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12748 *) ac_try_echo=$ac_try;;
12750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12751 (eval "$ac_link") 2>conftest.er1
12753 grep -v '^ *+' conftest.er1 >conftest.err
12755 cat conftest.err >&5
12756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12757 (exit $ac_status); } && {
12758 test -z "$ac_fc_werror_flag" ||
12759 test ! -s conftest.err
12760 } && test -s conftest$ac_exeext &&
12761 $as_test_x conftest$ac_exeext; then
12763 lt_aix_libpath_sed='
12764 /Import File Strings/,/^$/ {
12770 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
12771 # Check for a 64-bit object if we didn't find anything.
12772 if test -z "$aix_libpath"; then
12773 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
12776 echo "$as_me: failed program was:" >&5
12777 sed 's/^/| /' conftest.$ac_ext >&5
12782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12783 conftest$ac_exeext conftest.$ac_ext
12784 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12786 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
12787 archive_expsym_cmds_FC='$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"
12789 if test "$host_cpu" = ia64; then
12790 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
12791 allow_undefined_flag_FC="-z nodefs"
12792 archive_expsym_cmds_FC="\$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"
12794 # Determine the default libpath from the value encoded in an
12795 # empty executable.
12796 if test x$gcc_no_link = xyes; then
12797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12799 { (exit 1); exit 1; }; }
12801 cat >conftest.$ac_ext <<_ACEOF
12806 rm -f conftest.$ac_objext conftest$ac_exeext
12807 if { (ac_try="$ac_link"
12808 case "(($ac_try" in
12809 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12810 *) ac_try_echo
=$ac_try;;
12812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12813 (eval "$ac_link") 2>conftest.er1
12815 grep -v '^ *+' conftest.er1
>conftest.err
12817 cat conftest.err
>&5
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); } && {
12820 test -z "$ac_fc_werror_flag" ||
12821 test ! -s conftest.err
12822 } && test -s conftest
$ac_exeext &&
12823 $as_test_x conftest
$ac_exeext; then
12825 lt_aix_libpath_sed
='
12826 /Import File Strings/,/^$/ {
12832 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12833 # Check for a 64-bit object if we didn't find anything.
12834 if test -z "$aix_libpath"; then
12835 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12838 echo "$as_me: failed program was:" >&5
12839 sed 's/^/| /' conftest.
$ac_ext >&5
12844 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12845 conftest
$ac_exeext conftest.
$ac_ext
12846 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12848 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
12849 # Warning - without using the other run time loading flags,
12850 # -berok will link without error, but may produce a broken library.
12851 no_undefined_flag_FC
=' ${wl}-bernotok'
12852 allow_undefined_flag_FC
=' ${wl}-berok'
12853 # Exported symbols can be pulled into shared objects from archives
12854 whole_archive_flag_spec_FC
='$convenience'
12855 archive_cmds_need_lc_FC
=yes
12856 # This is similar to how AIX traditionally builds its shared libraries.
12857 archive_expsym_cmds_FC
="\$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'
12863 if test "$host_cpu" = m68k
; then
12864 archive_cmds_FC
='$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)'
12865 hardcode_libdir_flag_spec_FC
='-L$libdir'
12866 hardcode_minus_L_FC
=yes
12868 # see comment about different semantics on the GNU ld section
12873 export_dynamic_flag_spec_FC
=-rdynamic
12876 cygwin
* | mingw
* | pw32
*)
12877 # When not using gcc, we currently assume that we are using
12878 # Microsoft Visual C++.
12879 # hardcode_libdir_flag_spec is actually meaningless, as there is
12880 # no search path for DLLs.
12881 hardcode_libdir_flag_spec_FC
=' '
12882 allow_undefined_flag_FC
=unsupported
12883 # Tell ltmain to make .lib files, not .a files.
12885 # Tell ltmain to make .dll files, not .so files.
12887 # FIXME: Setting linknames here is a bad hack.
12888 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
12889 # The linker will automatically build a .lib file if we build a DLL.
12890 old_archive_from_new_cmds_FC
='true'
12891 # FIXME: Should let the user specify the lib program.
12892 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12893 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
12894 enable_shared_with_static_runtimes_FC
=yes
12897 darwin
* | rhapsody
*)
12899 rhapsody
* | darwin1.
[012])
12900 allow_undefined_flag_FC
='${wl}-undefined ${wl}suppress'
12903 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
12905 allow_undefined_flag_FC
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12908 allow_undefined_flag_FC
='${wl}-undefined ${wl}dynamic_lookup'
12913 archive_cmds_need_lc_FC
=no
12914 hardcode_direct_FC
=no
12915 hardcode_automatic_FC
=yes
12916 hardcode_shlibpath_var_FC
=unsupported
12917 whole_archive_flag_spec_FC
=''
12918 link_all_deplibs_FC
=yes
12919 if test "$GCC" = yes ; then
12920 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
12921 echo $ECHO_N "(cached) $ECHO_C" >&6
12923 lt_cv_apple_cc_single_mod
=no
12924 if test -z "${LT_MULTI_MODULE}"; then
12925 # By default we will add the -single_module flag. You can override
12926 # by either setting the environment variable LT_MULTI_MODULE
12927 # non-empty at configure time, or by adding -multi-module to the
12929 echo "int foo(void){return 1;}" > conftest.c
12930 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
12931 -dynamiclib ${wl}-single_module conftest.c
12932 if test -f libconftest.dylib
; then
12933 lt_cv_apple_cc_single_mod
=yes
12934 rm libconftest.dylib
12936 rm conftest.
$ac_ext
12940 output_verbose_link_cmd
=echo
12941 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
12942 archive_cmds_FC
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12943 archive_expsym_cmds_FC
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12945 archive_cmds_FC
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12946 archive_expsym_cmds_FC
='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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12948 module_cmds_FC
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12949 module_expsym_cmds_FC
='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12951 case $cc_basename in
12953 output_verbose_link_cmd
=echo
12954 archive_cmds_FC
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
12955 module_cmds_FC
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12956 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12957 archive_expsym_cmds_FC
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12958 module_expsym_cmds_FC
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12968 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12969 hardcode_libdir_flag_spec_FC
='-L$libdir'
12970 hardcode_shlibpath_var_FC
=no
12977 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12978 # support. Future versions do this automatically, but an explicit c++rt0.o
12979 # does not break anything, and helps significantly (at the cost of a little
12982 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12983 hardcode_libdir_flag_spec_FC
='-R$libdir'
12984 hardcode_direct_FC
=yes
12985 hardcode_shlibpath_var_FC
=no
12988 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12990 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12991 hardcode_direct_FC
=yes
12992 hardcode_minus_L_FC
=yes
12993 hardcode_shlibpath_var_FC
=no
12996 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12997 freebsd
* | dragonfly
*)
12998 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12999 hardcode_libdir_flag_spec_FC
='-R$libdir'
13000 hardcode_direct_FC
=yes
13001 hardcode_shlibpath_var_FC
=no
13005 if test "$GCC" = yes; then
13006 archive_cmds_FC
='$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'
13008 archive_cmds_FC
='$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'
13010 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13011 hardcode_libdir_separator_FC
=:
13012 hardcode_direct_FC
=yes
13014 # hardcode_minus_L: Not really in the search PATH,
13015 # but as the default location of the library.
13016 hardcode_minus_L_FC
=yes
13017 export_dynamic_flag_spec_FC
='${wl}-E'
13021 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
13022 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13024 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13026 if test "$with_gnu_ld" = no
; then
13027 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13028 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
13029 hardcode_libdir_separator_FC
=:
13030 hardcode_direct_FC
=yes
13031 hardcode_direct_absolute_FC
=yes
13032 export_dynamic_flag_spec_FC
='${wl}-E'
13033 # hardcode_minus_L: Not really in the search PATH,
13034 # but as the default location of the library.
13035 hardcode_minus_L_FC
=yes
13040 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
13043 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13046 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13049 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13055 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13058 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13061 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13065 if test "$with_gnu_ld" = no
; then
13066 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
13067 hardcode_libdir_separator_FC
=:
13071 hardcode_direct_FC
=no
13072 hardcode_shlibpath_var_FC
=no
13075 hardcode_direct_FC
=yes
13076 hardcode_direct_absolute_FC
=yes
13077 export_dynamic_flag_spec_FC
='${wl}-E'
13079 # hardcode_minus_L: Not really in the search PATH,
13080 # but as the default location of the library.
13081 hardcode_minus_L_FC
=yes
13087 irix5
* | irix6
* | nonstopux
*)
13088 if test "$GCC" = yes; then
13089 archive_cmds_FC
='$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'
13090 # Try to use the -exported_symbol ld option, if it does not
13091 # work, assume that -exports_file does not work either and
13092 # implicitly export all symbols.
13093 save_LDFLAGS
="$LDFLAGS"
13094 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13095 if test x
$gcc_no_link = xyes
; then
13096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13098 { (exit 1); exit 1; }; }
13100 cat >conftest.
$ac_ext <<_ACEOF
13103 rm -f conftest.
$ac_objext conftest
$ac_exeext
13104 if { (ac_try
="$ac_link"
13105 case "(($ac_try" in
13106 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13107 *) ac_try_echo=$ac_try;;
13109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13110 (eval "$ac_link") 2>conftest.er1
13112 grep -v '^ *+' conftest.er1 >conftest.err
13114 cat conftest.err >&5
13115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13116 (exit $ac_status); } && {
13117 test -z "$ac_fc_werror_flag" ||
13118 test ! -s conftest.err
13119 } && test -s conftest$ac_exeext &&
13120 $as_test_x conftest$ac_exeext; then
13121 archive_expsym_cmds_FC='$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'
13124 echo "$as_me: failed program was:" >&5
13125 sed 's/^/| /' conftest.$ac_ext >&5
13130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13131 conftest$ac_exeext conftest.$ac_ext
13132 LDFLAGS="$save_LDFLAGS"
13134 archive_cmds_FC='$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'
13135 archive_expsym_cmds_FC='$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'
13137 archive_cmds_need_lc_FC='no'
13138 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13139 hardcode_libdir_separator_FC=:
13140 inherit_rpath_FC=yes
13141 link_all_deplibs_FC=yes
13145 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13146 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13148 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13150 hardcode_libdir_flag_spec_FC='-R$libdir'
13151 hardcode_direct_FC=yes
13152 hardcode_shlibpath_var_FC=no
13156 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13157 hardcode_direct_FC=yes
13158 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13159 hardcode_libdir_separator_FC=:
13160 hardcode_shlibpath_var_FC=no
13167 hardcode_direct_FC=yes
13168 hardcode_shlibpath_var_FC=no
13169 hardcode_direct_absolute_FC=yes
13170 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13171 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13172 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13173 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13174 export_dynamic_flag_spec_FC='${wl}-E'
13177 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13178 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13179 hardcode_libdir_flag_spec_FC='-R$libdir'
13182 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13183 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13190 hardcode_libdir_flag_spec_FC='-L$libdir'
13191 hardcode_minus_L_FC=yes
13192 allow_undefined_flag_FC=unsupported
13193 archive_cmds_FC='$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'
13194 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13198 if test "$GCC" = yes; then
13199 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13200 archive_cmds_FC='$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'
13202 allow_undefined_flag_FC=' -expect_unresolved \*'
13203 archive_cmds_FC='$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'
13205 archive_cmds_need_lc_FC='no'
13206 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13207 hardcode_libdir_separator_FC=:
13210 osf4* | osf5*) # as osf3* with the addition of -msym flag
13211 if test "$GCC" = yes; then
13212 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13213 archive_cmds_FC='$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'
13214 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13216 allow_undefined_flag_FC=' -expect_unresolved \*'
13217 archive_cmds_FC='$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'
13218 archive_expsym_cmds_FC='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
13219 $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'
13221 # Both c and cxx compiler support -rpath directly
13222 hardcode_libdir_flag_spec_FC='-rpath $libdir'
13224 archive_cmds_need_lc_FC='no'
13225 hardcode_libdir_separator_FC=:
13229 no_undefined_flag_FC=' -z defs'
13230 if test "$GCC" = yes; then
13232 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13233 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13234 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13236 case `$CC -V 2>&1` in
13239 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13240 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13241 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13245 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13246 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13247 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13251 hardcode_libdir_flag_spec_FC='-R$libdir'
13252 hardcode_shlibpath_var_FC=no
13254 solaris2.[0-5] | solaris2.[0-5].*) ;;
13256 # The compiler driver will combine and reorder linker options,
13257 # but understands `-z linker_flag
'. GCC discards it without `$wl',
13258 # but is careful enough not to reorder.
13259 # Supported since Solaris 2.6 (maybe 2.5.1?)
13260 if test "$GCC" = yes; then
13261 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13263 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
13267 link_all_deplibs_FC
=yes
13271 if test "x$host_vendor" = xsequent
; then
13272 # Use $CC to link under sequent, because it throws in some extra .o
13273 # files that make .init and .fini sections work.
13274 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13276 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13278 hardcode_libdir_flag_spec_FC
='-L$libdir'
13279 hardcode_direct_FC
=yes
13280 hardcode_minus_L_FC
=yes
13281 hardcode_shlibpath_var_FC
=no
13285 case $host_vendor in
13287 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13288 hardcode_direct_FC
=yes # is this really true???
13291 ## LD is ld it makes a PLAMLIB
13292 ## CC just makes a GrossModule.
13293 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13294 reload_cmds_FC
='$CC -r -o $output$reload_objs'
13295 hardcode_direct_FC
=no
13298 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13299 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
13302 runpath_var
='LD_RUN_PATH'
13303 hardcode_shlibpath_var_FC
=no
13307 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13308 hardcode_shlibpath_var_FC
=no
13309 export_dynamic_flag_spec_FC
='-Bexport'
13313 if test -d /usr
/nec
; then
13314 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13315 hardcode_shlibpath_var_FC
=no
13316 runpath_var
=LD_RUN_PATH
13317 hardcode_runpath_var
=yes
13322 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13323 no_undefined_flag_FC
='${wl}-z,text'
13324 archive_cmds_need_lc_FC
=no
13325 hardcode_shlibpath_var_FC
=no
13326 runpath_var
='LD_RUN_PATH'
13328 if test "$GCC" = yes; then
13329 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13330 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13332 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13333 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13337 sysv5
* | sco3.2v5
* | sco5v6
*)
13338 # Note: We can NOT use -z defs as we might desire, because we do not
13339 # link with -lc, and that would cause any symbols used from libc to
13340 # always be unresolved, which means just about no library would
13341 # ever link correctly. If we're not using GNU ld we use -z text
13342 # though, which does catch some bad symbols but isn't as heavy-handed
13344 no_undefined_flag_FC
='${wl}-z,text'
13345 allow_undefined_flag_FC
='${wl}-z,nodefs'
13346 archive_cmds_need_lc_FC
=no
13347 hardcode_shlibpath_var_FC
=no
13348 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
13349 hardcode_libdir_separator_FC
=':'
13350 link_all_deplibs_FC
=yes
13351 export_dynamic_flag_spec_FC
='${wl}-Bexport'
13352 runpath_var
='LD_RUN_PATH'
13354 if test "$GCC" = yes; then
13355 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13356 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13358 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13359 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13364 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13365 hardcode_libdir_flag_spec_FC
='-L$libdir'
13366 hardcode_shlibpath_var_FC
=no
13374 if test x
$host_vendor = xsni
; then
13376 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13377 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
13383 { echo "$as_me:$LINENO: result: $ld_shlibs_FC" >&5
13384 echo "${ECHO_T}$ld_shlibs_FC" >&6; }
13385 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
13387 with_gnu_ld_FC
=$with_gnu_ld
13395 # Do we need to explicitly link libc?
13397 case "x$archive_cmds_need_lc_FC" in
13399 # Assume -lc should be added
13400 archive_cmds_need_lc_FC
=yes
13402 if test "$enable_shared" = yes && test "$GCC" = yes; then
13403 case $archive_cmds_FC in
13405 # FIXME: we may have to deal with multi-command sequences.
13408 # Test whether the compiler implicitly links with -lc since on some
13409 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13410 # to ld, don't add -lc before -lgcc.
13411 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13412 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13414 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13417 (eval $ac_compile) 2>&5
13419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13420 (exit $ac_status); } 2>conftest.err
; then
13423 libobjs
=conftest.
$ac_objext
13425 wl
=$lt_prog_compiler_wl_FC
13426 pic_flag
=$lt_prog_compiler_pic_FC
13432 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
13433 allow_undefined_flag_FC
=
13434 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
13435 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13438 (exit $ac_status); }
13440 archive_cmds_need_lc_FC
=no
13442 archive_cmds_need_lc_FC
=yes
13444 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
13446 cat conftest.err
1>&5
13449 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_FC" >&5
13450 echo "${ECHO_T}$archive_cmds_need_lc_FC" >&6; }
13520 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13521 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13522 withGCC
=$ac_cv_fc_compiler_gnu
13523 library_names_spec
=
13524 libname_spec
='lib$name'
13528 postuninstall_cmds
=
13532 shlibpath_overrides_runpath
=unknown
13534 dynamic_linker
="$host_os ld.so"
13535 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13536 need_lib_prefix
=unknown
13537 hardcode_into_libs
=no
13539 # when you set need_version to no, make sure it does not cause -set_version
13540 # flags to be left without arguments
13541 need_version
=unknown
13546 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13547 shlibpath_var
=LIBPATH
13549 # AIX 3 has no versioning support, so we append a major version to the name.
13550 soname_spec
='${libname}${release}${shared_ext}$major'
13557 hardcode_into_libs
=yes
13558 if test "$host_cpu" = ia64
; then
13559 # AIX 5 supports IA64
13560 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13561 shlibpath_var
=LD_LIBRARY_PATH
13563 # With GCC up to 2.95.x, collect2 would create an import file
13564 # for dependence libraries. The import file would start with
13565 # the line `#! .'. This would cause the generated library to
13566 # depend on `.', always an invalid library. This was fixed in
13567 # development snapshots of GCC prior to 3.0.
13569 aix4 | aix4.
[01] | aix4.
[01].
*)
13570 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13572 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13575 can_build_shared
=no
13579 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13580 # soname into executable. Probably we can add versioning support to
13581 # collect2, so additional links can be useful in future.
13582 if test "$aix_use_runtimelinking" = yes; then
13583 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13584 # instead of lib<name>.a to let people know that these are not
13585 # typical AIX shared libraries.
13586 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13588 # We preserve .a as extension for shared libraries through AIX4.2
13589 # and later when we are not doing run time linking.
13590 library_names_spec
='${libname}${release}.a $libname.a'
13591 soname_spec
='${libname}${release}${shared_ext}$major'
13593 shlibpath_var
=LIBPATH
13598 if test "$host_cpu" = m68k
; then
13599 library_names_spec
='$libname.ixlibrary $libname.a'
13600 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13601 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'
13608 library_names_spec
='${libname}${shared_ext}'
13609 dynamic_linker
="$host_os ld.so"
13610 shlibpath_var
=LIBRARY_PATH
13616 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13617 soname_spec
='${libname}${release}${shared_ext}$major'
13618 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13619 shlibpath_var
=LD_LIBRARY_PATH
13620 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13621 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13622 # the default ld.so.conf also contains /usr/contrib/lib and
13623 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13624 # libtool to hard-code these into programs
13627 cygwin
* | mingw
* | pw32
*)
13628 version_type
=windows
13633 case $withGCC,$host_os in
13634 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
13635 library_names_spec
='$libname.dll.a'
13636 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13637 postinstall_cmds
='base_file=`basename \${file}`~
13638 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13639 dldir=$destdir/`dirname \$dlpath`~
13640 test -d \$dldir || mkdir -p \$dldir~
13641 $install_prog $dir/$dlname \$dldir/$dlname~
13642 chmod a+x \$dldir/$dlname~
13643 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13644 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13646 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13647 dlpath=$dir/\$dldll~
13649 shlibpath_overrides_runpath
=yes
13653 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13654 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13655 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13658 # MinGW DLLs use traditional 'lib' prefix
13659 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13660 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13661 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
13662 # It is most probably a Windows format PATH printed by
13663 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13664 # path with ; separators, and with drive letters. We can handle the
13665 # drive letters (cygwin fileutils understands them), so leave them,
13666 # especially as we might pass files found there to a mingw objdump,
13667 # which wouldn't understand a cygwinified path. Ahh.
13668 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13670 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13674 # pw32 DLLs use 'pw' prefix rather than 'lib'
13675 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13681 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13684 dynamic_linker
='Win32 ld.exe'
13685 # FIXME: first we should search . and the directory the executable is in
13689 darwin
* | rhapsody
*)
13690 dynamic_linker
="$host_os dyld"
13691 version_type
=darwin
13694 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13695 soname_spec
='${libname}${release}${major}$shared_ext'
13696 shlibpath_overrides_runpath
=yes
13697 shlibpath_var
=DYLD_LIBRARY_PATH
13698 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13700 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13707 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13708 soname_spec
='${libname}${release}${shared_ext}$major'
13709 shlibpath_var
=LD_LIBRARY_PATH
13716 freebsd
* | dragonfly
*)
13717 # DragonFly does not have aout. When/if they implement a new
13718 # versioning mechanism, adjust this.
13719 if test -x /usr
/bin
/objformat
; then
13720 objformat
=`/usr/bin/objformat`
13723 freebsd
[123]*) objformat
=aout
;;
13724 *) objformat
=elf
;;
13727 version_type
=freebsd-
$objformat
13728 case $version_type in
13730 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13735 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13739 shlibpath_var
=LD_LIBRARY_PATH
13742 shlibpath_overrides_runpath
=yes
13744 freebsd3.
[01]* | freebsdelf3.
[01]*)
13745 shlibpath_overrides_runpath
=yes
13746 hardcode_into_libs
=yes
13748 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13749 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13750 shlibpath_overrides_runpath
=no
13751 hardcode_into_libs
=yes
13753 *) # from 4.6 on, and DragonFly
13754 shlibpath_overrides_runpath
=yes
13755 hardcode_into_libs
=yes
13764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13765 soname_spec
='${libname}${release}${shared_ext}$major'
13766 shlibpath_var
=LD_LIBRARY_PATH
13767 hardcode_into_libs
=yes
13770 hpux9
* | hpux10
* | hpux11
*)
13771 # Give a soname corresponding to the major version so that dld.sl refuses to
13772 # link against other versions.
13779 hardcode_into_libs
=yes
13780 dynamic_linker
="$host_os dld.so"
13781 shlibpath_var
=LD_LIBRARY_PATH
13782 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13783 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13784 soname_spec
='${libname}${release}${shared_ext}$major'
13785 if test "X$HPUX_IA64_MODE" = X32
; then
13786 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13788 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13790 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13794 hardcode_into_libs
=yes
13795 dynamic_linker
="$host_os dld.sl"
13796 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13797 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13798 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13799 soname_spec
='${libname}${release}${shared_ext}$major'
13800 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13801 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13805 dynamic_linker
="$host_os dld.sl"
13806 shlibpath_var
=SHLIB_PATH
13807 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13809 soname_spec
='${libname}${release}${shared_ext}$major'
13812 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13813 postinstall_cmds
='chmod 555 $lib'
13820 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13821 soname_spec
='${libname}${release}${shared_ext}$major'
13822 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13823 shlibpath_var
=LD_LIBRARY_PATH
13824 shlibpath_overrides_runpath
=no
13825 hardcode_into_libs
=yes
13828 irix5
* | irix6
* | nonstopux
*)
13830 nonstopux
*) version_type
=nonstopux
;;
13832 if test "$lt_cv_prog_gnu_ld" = yes; then
13840 soname_spec
='${libname}${release}${shared_ext}$major'
13841 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13843 irix5
* | nonstopux
*)
13844 libsuff
= shlibsuff
=
13847 case $LD in # libtool.m4 will add one of these switches to LD
13848 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13849 libsuff
= shlibsuff
= libmagic
=32-bit;;
13850 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13851 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13852 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13853 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13854 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13858 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13859 shlibpath_overrides_runpath
=no
13860 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13861 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13862 hardcode_into_libs
=yes
13865 # No shared lib support for Linux oldld, aout, or coff.
13866 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13870 # This must be Linux ELF.
13871 linux
* | k
*bsd
*-gnu)
13875 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13876 soname_spec
='${libname}${release}${shared_ext}$major'
13877 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13878 shlibpath_var
=LD_LIBRARY_PATH
13879 shlibpath_overrides_runpath
=no
13880 # Some binutils ld are patched to set DT_RUNPATH
13881 save_LDFLAGS
=$LDFLAGS
13882 save_libdir
=$libdir
13883 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
13884 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
13885 if test x
$gcc_no_link = xyes
; then
13886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13888 { (exit 1); exit 1; }; }
13890 cat >conftest.
$ac_ext <<_ACEOF
13895 rm -f conftest.
$ac_objext conftest
$ac_exeext
13896 if { (ac_try
="$ac_link"
13897 case "(($ac_try" in
13898 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13899 *) ac_try_echo=$ac_try;;
13901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13902 (eval "$ac_link") 2>conftest.er1
13904 grep -v '^ *+' conftest.er1 >conftest.err
13906 cat conftest.err >&5
13907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13908 (exit $ac_status); } && {
13909 test -z "$ac_fc_werror_flag" ||
13910 test ! -s conftest.err
13911 } && test -s conftest$ac_exeext &&
13912 $as_test_x conftest$ac_exeext; then
13913 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13914 shlibpath_overrides_runpath=yes
13918 echo "$as_me: failed program was:" >&5
13919 sed 's/^/| /' conftest.$ac_ext >&5
13924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13925 conftest$ac_exeext conftest.$ac_ext
13926 LDFLAGS=$save_LDFLAGS
13927 libdir=$save_libdir
13929 # This implies no fast_install, which is unacceptable.
13930 # Some rework will be needed to allow for fast_install
13931 # before this can be enabled.
13932 hardcode_into_libs=yes
13934 # Append ld.so.conf contents to the search path
13935 if test -f /etc/ld.so.conf; then
13936 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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' |
tr '\n' ' '`
13937 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13940 # We used to test for /lib/ld.so.1 and disable shared libraries on
13941 # powerpc, because MkLinux only supported shared libraries with the
13942 # GNU dynamic linker. Since this was broken with cross compilers,
13943 # most powerpc-linux boxes support dynamic linking these days and
13944 # people can always --disable-shared, the test was removed, and we
13945 # assume the GNU/Linux dynamic linker is in use.
13946 dynamic_linker='GNU/Linux ld.so'
13953 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13955 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13956 dynamic_linker='NetBSD (a.out) ld.so'
13958 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13959 soname_spec='${libname}${release}${shared_ext}$major'
13960 dynamic_linker='NetBSD ld.elf_so'
13962 shlibpath_var=LD_LIBRARY_PATH
13963 shlibpath_overrides_runpath=yes
13964 hardcode_into_libs=yes
13969 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13970 shlibpath_var=LD_LIBRARY_PATH
13971 shlibpath_overrides_runpath=yes
13978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13979 soname_spec='${libname}${release}${shared_ext}$major'
13980 shlibpath_var=LD_LIBRARY_PATH
13981 shlibpath_overrides_runpath=no
13982 hardcode_into_libs=yes
13983 dynamic_linker='ldqnx.so'
13988 sys_lib_dlsearch_path_spec="/usr/lib"
13990 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13992 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13993 *) need_version=no ;;
13995 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13996 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13997 shlibpath_var=LD_LIBRARY_PATH
13998 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14000 openbsd2.[89] | openbsd2.[89].*)
14001 shlibpath_overrides_runpath=no
14004 shlibpath_overrides_runpath=yes
14008 shlibpath_overrides_runpath=yes
14013 libname_spec='$name'
14016 library_names_spec='$libname${shared_ext} $libname.a'
14017 dynamic_linker='OS/2 ld.exe'
14018 shlibpath_var=LIBPATH
14021 osf3* | osf4* | osf5*)
14025 soname_spec='${libname}${release}${shared_ext}$major'
14026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14027 shlibpath_var=LD_LIBRARY_PATH
14028 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14029 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14041 soname_spec='${libname}${release}${shared_ext}$major'
14042 shlibpath_var=LD_LIBRARY_PATH
14043 shlibpath_overrides_runpath=yes
14044 hardcode_into_libs=yes
14045 # ldd complains unless libraries are executable
14046 postinstall_cmds='chmod +x $lib'
14051 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14052 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14053 shlibpath_var=LD_LIBRARY_PATH
14054 shlibpath_overrides_runpath=yes
14055 if test "$with_gnu_ld" = yes; then
14063 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14064 soname_spec='${libname}${release}${shared_ext}$major'
14065 shlibpath_var=LD_LIBRARY_PATH
14066 case $host_vendor in
14068 shlibpath_overrides_runpath=no
14070 runpath_var=LD_RUN_PATH
14078 shlibpath_overrides_runpath=no
14079 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14085 if test -d /usr/nec ;then
14087 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14088 soname_spec='$libname${shared_ext}.$major'
14089 shlibpath_var=LD_LIBRARY_PATH
14093 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14094 version_type=freebsd-elf
14097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14098 soname_spec='${libname}${release}${shared_ext}$major'
14099 shlibpath_var=LD_LIBRARY_PATH
14100 shlibpath_overrides_runpath=yes
14101 hardcode_into_libs=yes
14102 if test "$with_gnu_ld" = yes; then
14103 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14105 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14108 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14112 sys_lib_dlsearch_path_spec='/usr/lib'
14116 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14120 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14121 shlibpath_var=LD_LIBRARY_PATH
14122 shlibpath_overrides_runpath=no
14123 hardcode_into_libs=yes
14128 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14129 soname_spec='${libname}${release}${shared_ext}$major'
14130 shlibpath_var=LD_LIBRARY_PATH
14137 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14138 echo "${ECHO_T}$dynamic_linker" >&6; }
14139 test "$dynamic_linker" = no && can_build_shared=no
14141 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14142 if test "$GCC" = yes; then
14143 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14181 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14182 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14183 hardcode_action_FC=
14184 if test -n "$hardcode_libdir_flag_spec_FC" ||
14185 test -n "$runpath_var_FC" ||
14186 test "X$hardcode_automatic_FC" = "Xyes" ; then
14188 # We can hardcode non-existent directories.
14189 if test "$hardcode_direct_FC" != no &&
14190 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14191 # have to relink, otherwise we might link with an installed library
14192 # when we should be linking with a yet-to-be-installed one
14193 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14194 test "$hardcode_minus_L_FC" != no; then
14195 # Linking always hardcodes the temporary library directory.
14196 hardcode_action_FC=relink
14198 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14199 hardcode_action_FC=immediate
14202 # We cannot hardcode anything, or else we can only hardcode existing
14204 hardcode_action_FC=unsupported
14206 { echo "$as_me:$LINENO: result: $hardcode_action_FC" >&5
14207 echo "${ECHO_T}$hardcode_action_FC" >&6; }
14209 if test "$hardcode_action_FC" = relink ||
14210 test "$inherit_rpath_FC" = yes; then
14211 # Fast installation is not supported
14212 enable_fast_install=no
14213 elif test "$shlibpath_overrides_runpath" = yes ||
14214 test "$enable_shared" = no; then
14215 # Fast installation is not necessary
14216 enable_fast_install=needless
14225 fi # test -n "$compiler"
14228 fi # test "$_lt_disable_FC" != yes
14231 ac_cpp='$CPP $CPPFLAGS'
14232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14238 # extra LD Flags which are required for targets
14241 # Darwin needs -single_module when linking libgfortran
14242 extra_ldflags_libgfortran=-Wl,-single_module
14247 # We need a working compiler at that point, otherwise give a clear
14248 # error message and bail out.
14250 { echo "$as_me:$LINENO: checking whether the GNU Fortran compiler is working" >&5
14251 echo $ECHO_N "checking whether the GNU Fortran compiler is working... $ECHO_C" >&6; }
14252 ac_ext=${ac_fc_srcext-f}
14253 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
14254 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
14255 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
14257 cat >conftest.$ac_ext <<_ACEOF
14260 real, parameter :: bar = sin (12.34 / 2.5)
14263 rm -f conftest.$ac_objext
14264 if { (ac_try="$ac_compile"
14265 case "(($ac_try" in
14266 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14267 *) ac_try_echo
=$ac_try;;
14269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14270 (eval "$ac_compile") 2>conftest.er1
14272 grep -v '^ *+' conftest.er1
>conftest.err
14274 cat conftest.err
>&5
14275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14276 (exit $ac_status); } && {
14277 test -z "$ac_fc_werror_flag" ||
14278 test ! -s conftest.err
14279 } && test -s conftest.
$ac_objext; then
14280 { echo "$as_me:$LINENO: result: yes" >&5
14281 echo "${ECHO_T}yes" >&6; }
14283 echo "$as_me: failed program was:" >&5
14284 sed 's/^/| /' conftest.
$ac_ext >&5
14286 { echo "$as_me:$LINENO: result: no" >&5
14287 echo "${ECHO_T}no" >&6; }
14288 { { echo "$as_me:$LINENO: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&5
14289 echo "$as_me: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&2;}
14290 { (exit 1); exit 1; }; }
14294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14296 ac_cpp
='$CPP $CPPFLAGS'
14297 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14298 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14299 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14303 # Check whether --enable-largefile was given.
14304 if test "${enable_largefile+set}" = set; then
14305 enableval
=$enable_largefile;
14308 if test "$enable_largefile" != no
; then
14310 { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
14311 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
14312 if test "${ac_cv_sys_largefile_CC+set}" = set; then
14313 echo $ECHO_N "(cached) $ECHO_C" >&6
14315 ac_cv_sys_largefile_CC
=no
14316 if test "$GCC" != yes; then
14319 # IRIX 6.2 and later do not support large files by default,
14320 # so use the C compiler's -n32 option if that helps.
14321 cat >conftest.
$ac_ext <<_ACEOF
14324 cat confdefs.h
>>conftest.
$ac_ext
14325 cat >>conftest.
$ac_ext <<_ACEOF
14326 /* end confdefs.h. */
14327 #include <sys/types.h>
14328 /* Check that off_t can represent 2**63 - 1 correctly.
14329 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14330 since some C++ compilers masquerading as C compilers
14331 incorrectly reject 9223372036854775807. */
14332 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14333 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14334 && LARGE_OFF_T % 2147483647 == 1)
14344 rm -f conftest.
$ac_objext
14345 if { (ac_try
="$ac_compile"
14346 case "(($ac_try" in
14347 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14348 *) ac_try_echo=$ac_try;;
14350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14351 (eval "$ac_compile") 2>conftest.er1
14353 grep -v '^ *+' conftest.er1 >conftest.err
14355 cat conftest.err >&5
14356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14357 (exit $ac_status); } && {
14358 test -z "$ac_c_werror_flag" ||
14359 test ! -s conftest.err
14360 } && test -s conftest.$ac_objext; then
14363 echo "$as_me: failed program was:" >&5
14364 sed 's/^/| /' conftest.$ac_ext >&5
14369 rm -f core conftest.err conftest.$ac_objext
14371 rm -f conftest.$ac_objext
14372 if { (ac_try="$ac_compile"
14373 case "(($ac_try" in
14374 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14375 *) ac_try_echo
=$ac_try;;
14377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14378 (eval "$ac_compile") 2>conftest.er1
14380 grep -v '^ *+' conftest.er1
>conftest.err
14382 cat conftest.err
>&5
14383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14384 (exit $ac_status); } && {
14385 test -z "$ac_c_werror_flag" ||
14386 test ! -s conftest.err
14387 } && test -s conftest.
$ac_objext; then
14388 ac_cv_sys_largefile_CC
=' -n32'; break
14390 echo "$as_me: failed program was:" >&5
14391 sed 's/^/| /' conftest.
$ac_ext >&5
14396 rm -f core conftest.err conftest.
$ac_objext
14400 rm -f conftest.
$ac_ext
14403 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
14404 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
14405 if test "$ac_cv_sys_largefile_CC" != no
; then
14406 CC
=$CC$ac_cv_sys_largefile_CC
14409 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14410 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
14411 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
14412 echo $ECHO_N "(cached) $ECHO_C" >&6
14415 cat >conftest.
$ac_ext <<_ACEOF
14418 cat confdefs.h
>>conftest.
$ac_ext
14419 cat >>conftest.
$ac_ext <<_ACEOF
14420 /* end confdefs.h. */
14421 #include <sys/types.h>
14422 /* Check that off_t can represent 2**63 - 1 correctly.
14423 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14424 since some C++ compilers masquerading as C compilers
14425 incorrectly reject 9223372036854775807. */
14426 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14427 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14428 && LARGE_OFF_T % 2147483647 == 1)
14438 rm -f conftest.
$ac_objext
14439 if { (ac_try
="$ac_compile"
14440 case "(($ac_try" in
14441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14442 *) ac_try_echo=$ac_try;;
14444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14445 (eval "$ac_compile") 2>conftest.er1
14447 grep -v '^ *+' conftest.er1 >conftest.err
14449 cat conftest.err >&5
14450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14451 (exit $ac_status); } && {
14452 test -z "$ac_c_werror_flag" ||
14453 test ! -s conftest.err
14454 } && test -s conftest.$ac_objext; then
14455 ac_cv_sys_file_offset_bits=no; break
14457 echo "$as_me: failed program was:" >&5
14458 sed 's/^/| /' conftest.$ac_ext >&5
14463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14464 cat >conftest.$ac_ext <<_ACEOF
14467 cat confdefs.h >>conftest.$ac_ext
14468 cat >>conftest.$ac_ext <<_ACEOF
14469 /* end confdefs.h. */
14470 #define _FILE_OFFSET_BITS 64
14471 #include <sys/types.h>
14472 /* Check that off_t can represent 2**63 - 1 correctly.
14473 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14474 since some C++ compilers masquerading as C compilers
14475 incorrectly reject 9223372036854775807. */
14476 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14477 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14478 && LARGE_OFF_T % 2147483647 == 1)
14488 rm -f conftest.$ac_objext
14489 if { (ac_try="$ac_compile"
14490 case "(($ac_try" in
14491 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14492 *) ac_try_echo
=$ac_try;;
14494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14495 (eval "$ac_compile") 2>conftest.er1
14497 grep -v '^ *+' conftest.er1
>conftest.err
14499 cat conftest.err
>&5
14500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501 (exit $ac_status); } && {
14502 test -z "$ac_c_werror_flag" ||
14503 test ! -s conftest.err
14504 } && test -s conftest.
$ac_objext; then
14505 ac_cv_sys_file_offset_bits
=64; break
14507 echo "$as_me: failed program was:" >&5
14508 sed 's/^/| /' conftest.
$ac_ext >&5
14513 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14514 ac_cv_sys_file_offset_bits
=unknown
14518 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
14519 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
14520 case $ac_cv_sys_file_offset_bits in #(
14523 cat >>confdefs.h
<<_ACEOF
14524 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14529 if test $ac_cv_sys_file_offset_bits = unknown
; then
14530 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
14531 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
14532 if test "${ac_cv_sys_large_files+set}" = set; then
14533 echo $ECHO_N "(cached) $ECHO_C" >&6
14536 cat >conftest.
$ac_ext <<_ACEOF
14539 cat confdefs.h
>>conftest.
$ac_ext
14540 cat >>conftest.
$ac_ext <<_ACEOF
14541 /* end confdefs.h. */
14542 #include <sys/types.h>
14543 /* Check that off_t can represent 2**63 - 1 correctly.
14544 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14545 since some C++ compilers masquerading as C compilers
14546 incorrectly reject 9223372036854775807. */
14547 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14548 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14549 && LARGE_OFF_T % 2147483647 == 1)
14559 rm -f conftest.
$ac_objext
14560 if { (ac_try
="$ac_compile"
14561 case "(($ac_try" in
14562 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14563 *) ac_try_echo=$ac_try;;
14565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14566 (eval "$ac_compile") 2>conftest.er1
14568 grep -v '^ *+' conftest.er1 >conftest.err
14570 cat conftest.err >&5
14571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572 (exit $ac_status); } && {
14573 test -z "$ac_c_werror_flag" ||
14574 test ! -s conftest.err
14575 } && test -s conftest.$ac_objext; then
14576 ac_cv_sys_large_files=no; break
14578 echo "$as_me: failed program was:" >&5
14579 sed 's/^/| /' conftest.$ac_ext >&5
14584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14585 cat >conftest.$ac_ext <<_ACEOF
14588 cat confdefs.h >>conftest.$ac_ext
14589 cat >>conftest.$ac_ext <<_ACEOF
14590 /* end confdefs.h. */
14591 #define _LARGE_FILES 1
14592 #include <sys/types.h>
14593 /* Check that off_t can represent 2**63 - 1 correctly.
14594 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14595 since some C++ compilers masquerading as C compilers
14596 incorrectly reject 9223372036854775807. */
14597 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14598 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14599 && LARGE_OFF_T % 2147483647 == 1)
14609 rm -f conftest.$ac_objext
14610 if { (ac_try="$ac_compile"
14611 case "(($ac_try" in
14612 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14613 *) ac_try_echo
=$ac_try;;
14615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14616 (eval "$ac_compile") 2>conftest.er1
14618 grep -v '^ *+' conftest.er1
>conftest.err
14620 cat conftest.err
>&5
14621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14622 (exit $ac_status); } && {
14623 test -z "$ac_c_werror_flag" ||
14624 test ! -s conftest.err
14625 } && test -s conftest.
$ac_objext; then
14626 ac_cv_sys_large_files
=1; break
14628 echo "$as_me: failed program was:" >&5
14629 sed 's/^/| /' conftest.
$ac_ext >&5
14634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14635 ac_cv_sys_large_files
=unknown
14639 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
14640 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
14641 case $ac_cv_sys_large_files in #(
14644 cat >>confdefs.h
<<_ACEOF
14645 #define _LARGE_FILES $ac_cv_sys_large_files
14653 { echo "$as_me:$LINENO: checking for off_t" >&5
14654 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
14655 if test "${ac_cv_type_off_t+set}" = set; then
14656 echo $ECHO_N "(cached) $ECHO_C" >&6
14658 cat >conftest.
$ac_ext <<_ACEOF
14661 cat confdefs.h
>>conftest.
$ac_ext
14662 cat >>conftest.
$ac_ext <<_ACEOF
14663 /* end confdefs.h. */
14664 $ac_includes_default
14665 typedef off_t ac__type_new_;
14669 if ((ac__type_new_ *) 0)
14671 if (sizeof (ac__type_new_))
14677 rm -f conftest.
$ac_objext
14678 if { (ac_try
="$ac_compile"
14679 case "(($ac_try" in
14680 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14681 *) ac_try_echo=$ac_try;;
14683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14684 (eval "$ac_compile") 2>conftest.er1
14686 grep -v '^ *+' conftest.er1 >conftest.err
14688 cat conftest.err >&5
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); } && {
14691 test -z "$ac_c_werror_flag" ||
14692 test ! -s conftest.err
14693 } && test -s conftest.$ac_objext; then
14694 ac_cv_type_off_t=yes
14696 echo "$as_me: failed program was:" >&5
14697 sed 's/^/| /' conftest.$ac_ext >&5
14699 ac_cv_type_off_t=no
14702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14704 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
14705 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
14706 if test $ac_cv_type_off_t = yes; then
14710 cat >>confdefs.h <<_ACEOF
14711 #define off_t long int
14717 # check header files
14718 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14719 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
14720 if test "${ac_cv_header_stdc+set}" = set; then
14721 echo $ECHO_N "(cached) $ECHO_C" >&6
14723 cat >conftest.$ac_ext <<_ACEOF
14726 cat confdefs.h >>conftest.$ac_ext
14727 cat >>conftest.$ac_ext <<_ACEOF
14728 /* end confdefs.h. */
14729 #include <stdlib.h>
14730 #include <stdarg.h>
14731 #include <string.h>
14742 rm -f conftest.$ac_objext
14743 if { (ac_try="$ac_compile"
14744 case "(($ac_try" in
14745 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14746 *) ac_try_echo
=$ac_try;;
14748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14749 (eval "$ac_compile") 2>conftest.er1
14751 grep -v '^ *+' conftest.er1
>conftest.err
14753 cat conftest.err
>&5
14754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14755 (exit $ac_status); } && {
14756 test -z "$ac_c_werror_flag" ||
14757 test ! -s conftest.err
14758 } && test -s conftest.
$ac_objext; then
14759 ac_cv_header_stdc
=yes
14761 echo "$as_me: failed program was:" >&5
14762 sed 's/^/| /' conftest.
$ac_ext >&5
14764 ac_cv_header_stdc
=no
14767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14769 if test $ac_cv_header_stdc = yes; then
14770 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14771 cat >conftest.
$ac_ext <<_ACEOF
14774 cat confdefs.h
>>conftest.
$ac_ext
14775 cat >>conftest.
$ac_ext <<_ACEOF
14776 /* end confdefs.h. */
14777 #include <string.h>
14780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14781 $EGREP "memchr" >/dev
/null
2>&1; then
14784 ac_cv_header_stdc
=no
14790 if test $ac_cv_header_stdc = yes; then
14791 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14792 cat >conftest.
$ac_ext <<_ACEOF
14795 cat confdefs.h
>>conftest.
$ac_ext
14796 cat >>conftest.
$ac_ext <<_ACEOF
14797 /* end confdefs.h. */
14798 #include <stdlib.h>
14801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14802 $EGREP "free" >/dev
/null
2>&1; then
14805 ac_cv_header_stdc
=no
14811 if test $ac_cv_header_stdc = yes; then
14812 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14813 if test "$cross_compiling" = yes; then
14816 cat >conftest.
$ac_ext <<_ACEOF
14819 cat confdefs.h
>>conftest.
$ac_ext
14820 cat >>conftest.
$ac_ext <<_ACEOF
14821 /* end confdefs.h. */
14823 #include <stdlib.h>
14824 #if ((' ' & 0x0FF) == 0x020)
14825 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14826 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14828 # define ISLOWER(c) \
14829 (('a' <= (c) && (c) <= 'i') \
14830 || ('j' <= (c) && (c) <= 'r') \
14831 || ('s' <= (c) && (c) <= 'z'))
14832 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14835 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14840 for (i = 0; i < 256; i++)
14841 if (XOR (islower (i), ISLOWER (i))
14842 || toupper (i) != TOUPPER (i))
14847 rm -f conftest
$ac_exeext
14848 if { (ac_try
="$ac_link"
14849 case "(($ac_try" in
14850 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14851 *) ac_try_echo=$ac_try;;
14853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14854 (eval "$ac_link") 2>&5
14856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14857 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14858 { (case "(($ac_try" in
14859 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14860 *) ac_try_echo
=$ac_try;;
14862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14863 (eval "$ac_try") 2>&5
14865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14866 (exit $ac_status); }; }; then
14869 echo "$as_me: program exited with status $ac_status" >&5
14870 echo "$as_me: failed program was:" >&5
14871 sed 's/^/| /' conftest.
$ac_ext >&5
14873 ( exit $ac_status )
14874 ac_cv_header_stdc
=no
14876 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14882 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14883 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
14884 if test $ac_cv_header_stdc = yes; then
14886 cat >>confdefs.h
<<\_ACEOF
14887 #define STDC_HEADERS 1
14892 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
14893 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
14894 if test "${ac_cv_header_time+set}" = set; then
14895 echo $ECHO_N "(cached) $ECHO_C" >&6
14897 cat >conftest.
$ac_ext <<_ACEOF
14900 cat confdefs.h
>>conftest.
$ac_ext
14901 cat >>conftest.
$ac_ext <<_ACEOF
14902 /* end confdefs.h. */
14903 #include <sys/types.h>
14904 #include <sys/time.h>
14910 if ((struct tm *) 0)
14916 rm -f conftest.
$ac_objext
14917 if { (ac_try
="$ac_compile"
14918 case "(($ac_try" in
14919 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14920 *) ac_try_echo=$ac_try;;
14922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14923 (eval "$ac_compile") 2>conftest.er1
14925 grep -v '^ *+' conftest.er1 >conftest.err
14927 cat conftest.err >&5
14928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14929 (exit $ac_status); } && {
14930 test -z "$ac_c_werror_flag" ||
14931 test ! -s conftest.err
14932 } && test -s conftest.$ac_objext; then
14933 ac_cv_header_time=yes
14935 echo "$as_me: failed program was:" >&5
14936 sed 's/^/| /' conftest.$ac_ext >&5
14938 ac_cv_header_time=no
14941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14943 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
14944 echo "${ECHO_T}$ac_cv_header_time" >&6; }
14945 if test $ac_cv_header_time = yes; then
14947 cat >>confdefs.h <<\_ACEOF
14948 #define TIME_WITH_SYS_TIME 1
14959 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
14961 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
14962 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14963 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14965 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14966 echo $ECHO_N "(cached) $ECHO_C" >&6
14968 ac_res=`eval echo '${'$as_ac_Header'}'`
14969 { echo "$as_me:$LINENO: result: $ac_res" >&5
14970 echo "${ECHO_T}$ac_res" >&6; }
14972 # Is the header compilable?
14973 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14974 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14975 cat >conftest.$ac_ext <<_ACEOF
14978 cat confdefs.h >>conftest.$ac_ext
14979 cat >>conftest.$ac_ext <<_ACEOF
14980 /* end confdefs.h. */
14981 $ac_includes_default
14982 #include <$ac_header>
14984 rm -f conftest.$ac_objext
14985 if { (ac_try="$ac_compile"
14986 case "(($ac_try" in
14987 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14988 *) ac_try_echo
=$ac_try;;
14990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14991 (eval "$ac_compile") 2>conftest.er1
14993 grep -v '^ *+' conftest.er1
>conftest.err
14995 cat conftest.err
>&5
14996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14997 (exit $ac_status); } && {
14998 test -z "$ac_c_werror_flag" ||
14999 test ! -s conftest.err
15000 } && test -s conftest.
$ac_objext; then
15001 ac_header_compiler
=yes
15003 echo "$as_me: failed program was:" >&5
15004 sed 's/^/| /' conftest.
$ac_ext >&5
15006 ac_header_compiler
=no
15009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15010 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15011 echo "${ECHO_T}$ac_header_compiler" >&6; }
15013 # Is the header present?
15014 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15015 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15016 cat >conftest.
$ac_ext <<_ACEOF
15019 cat confdefs.h
>>conftest.
$ac_ext
15020 cat >>conftest.
$ac_ext <<_ACEOF
15021 /* end confdefs.h. */
15022 #include <$ac_header>
15024 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15025 case "(($ac_try" in
15026 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15027 *) ac_try_echo=$ac_try;;
15029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15030 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15032 grep -v '^ *+' conftest.er1 >conftest.err
15034 cat conftest.err >&5
15035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036 (exit $ac_status); } >/dev/null && {
15037 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15038 test ! -s conftest.err
15040 ac_header_preproc=yes
15042 echo "$as_me: failed program was:" >&5
15043 sed 's/^/| /' conftest.$ac_ext >&5
15045 ac_header_preproc=no
15048 rm -f conftest.err conftest.$ac_ext
15049 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15050 echo "${ECHO_T}$ac_header_preproc" >&6; }
15052 # So? What about this header?
15053 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15055 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15056 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15057 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15058 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15059 ac_header_preproc=yes
15062 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15063 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15064 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15065 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15066 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15067 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15068 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15069 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15070 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15071 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15072 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15073 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15077 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15078 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15079 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15080 echo $ECHO_N "(cached) $ECHO_C" >&6
15082 eval "$as_ac_Header=\$ac_header_preproc"
15084 ac_res=`eval echo '${'$as_ac_Header'}'`
15085 { echo "$as_me:$LINENO: result: $ac_res" >&5
15086 echo "${ECHO_T}$ac_res" >&6; }
15089 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15090 cat >>confdefs.h <<_ACEOF
15091 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
15102 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
15104 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
15105 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15106 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15108 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15109 echo $ECHO_N "(cached) $ECHO_C" >&6
15111 ac_res=`eval echo '${'$as_ac_Header'}'`
15112 { echo "$as_me:$LINENO: result: $ac_res" >&5
15113 echo "${ECHO_T}$ac_res" >&6; }
15115 # Is the header compilable?
15116 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15117 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15118 cat >conftest.$ac_ext <<_ACEOF
15121 cat confdefs.h >>conftest.$ac_ext
15122 cat >>conftest.$ac_ext <<_ACEOF
15123 /* end confdefs.h. */
15124 $ac_includes_default
15125 #include <$ac_header>
15127 rm -f conftest.$ac_objext
15128 if { (ac_try="$ac_compile"
15129 case "(($ac_try" in
15130 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15131 *) ac_try_echo
=$ac_try;;
15133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15134 (eval "$ac_compile") 2>conftest.er1
15136 grep -v '^ *+' conftest.er1
>conftest.err
15138 cat conftest.err
>&5
15139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15140 (exit $ac_status); } && {
15141 test -z "$ac_c_werror_flag" ||
15142 test ! -s conftest.err
15143 } && test -s conftest.
$ac_objext; then
15144 ac_header_compiler
=yes
15146 echo "$as_me: failed program was:" >&5
15147 sed 's/^/| /' conftest.
$ac_ext >&5
15149 ac_header_compiler
=no
15152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15153 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15154 echo "${ECHO_T}$ac_header_compiler" >&6; }
15156 # Is the header present?
15157 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15158 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15159 cat >conftest.
$ac_ext <<_ACEOF
15162 cat confdefs.h
>>conftest.
$ac_ext
15163 cat >>conftest.
$ac_ext <<_ACEOF
15164 /* end confdefs.h. */
15165 #include <$ac_header>
15167 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15168 case "(($ac_try" in
15169 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15170 *) ac_try_echo=$ac_try;;
15172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15173 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15175 grep -v '^ *+' conftest.er1 >conftest.err
15177 cat conftest.err >&5
15178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15179 (exit $ac_status); } >/dev/null && {
15180 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15181 test ! -s conftest.err
15183 ac_header_preproc=yes
15185 echo "$as_me: failed program was:" >&5
15186 sed 's/^/| /' conftest.$ac_ext >&5
15188 ac_header_preproc=no
15191 rm -f conftest.err conftest.$ac_ext
15192 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15193 echo "${ECHO_T}$ac_header_preproc" >&6; }
15195 # So? What about this header?
15196 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15198 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15199 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15200 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15201 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15202 ac_header_preproc=yes
15205 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15206 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15207 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15208 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15209 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15210 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15211 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15212 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15213 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15214 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15215 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15216 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15220 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15222 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15223 echo $ECHO_N "(cached) $ECHO_C" >&6
15225 eval "$as_ac_Header=\$ac_header_preproc"
15227 ac_res=`eval echo '${'$as_ac_Header'}'`
15228 { echo "$as_me:$LINENO: result: $ac_res" >&5
15229 echo "${ECHO_T}$ac_res" >&6; }
15232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15233 cat >>confdefs.h <<_ACEOF
15234 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
15246 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
15248 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
15249 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15250 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15252 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15253 echo $ECHO_N "(cached) $ECHO_C" >&6
15255 ac_res=`eval echo '${'$as_ac_Header'}'`
15256 { echo "$as_me:$LINENO: result: $ac_res" >&5
15257 echo "${ECHO_T}$ac_res" >&6; }
15259 # Is the header compilable?
15260 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15261 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15262 cat >conftest.$ac_ext <<_ACEOF
15265 cat confdefs.h >>conftest.$ac_ext
15266 cat >>conftest.$ac_ext <<_ACEOF
15267 /* end confdefs.h. */
15268 $ac_includes_default
15269 #include <$ac_header>
15271 rm -f conftest.$ac_objext
15272 if { (ac_try="$ac_compile"
15273 case "(($ac_try" in
15274 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15275 *) ac_try_echo
=$ac_try;;
15277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15278 (eval "$ac_compile") 2>conftest.er1
15280 grep -v '^ *+' conftest.er1
>conftest.err
15282 cat conftest.err
>&5
15283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15284 (exit $ac_status); } && {
15285 test -z "$ac_c_werror_flag" ||
15286 test ! -s conftest.err
15287 } && test -s conftest.
$ac_objext; then
15288 ac_header_compiler
=yes
15290 echo "$as_me: failed program was:" >&5
15291 sed 's/^/| /' conftest.
$ac_ext >&5
15293 ac_header_compiler
=no
15296 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15297 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15298 echo "${ECHO_T}$ac_header_compiler" >&6; }
15300 # Is the header present?
15301 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15302 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15303 cat >conftest.
$ac_ext <<_ACEOF
15306 cat confdefs.h
>>conftest.
$ac_ext
15307 cat >>conftest.
$ac_ext <<_ACEOF
15308 /* end confdefs.h. */
15309 #include <$ac_header>
15311 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15312 case "(($ac_try" in
15313 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15314 *) ac_try_echo=$ac_try;;
15316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15317 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15319 grep -v '^ *+' conftest.er1 >conftest.err
15321 cat conftest.err >&5
15322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15323 (exit $ac_status); } >/dev/null && {
15324 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15325 test ! -s conftest.err
15327 ac_header_preproc=yes
15329 echo "$as_me: failed program was:" >&5
15330 sed 's/^/| /' conftest.$ac_ext >&5
15332 ac_header_preproc=no
15335 rm -f conftest.err conftest.$ac_ext
15336 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15337 echo "${ECHO_T}$ac_header_preproc" >&6; }
15339 # So? What about this header?
15340 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15342 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15343 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15345 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15346 ac_header_preproc=yes
15349 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15350 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15351 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15352 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15353 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15354 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15355 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15356 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15357 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15358 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15359 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15360 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15364 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15366 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15367 echo $ECHO_N "(cached) $ECHO_C" >&6
15369 eval "$as_ac_Header=\$ac_header_preproc"
15371 ac_res=`eval echo '${'$as_ac_Header'}'`
15372 { echo "$as_me:$LINENO: result: $ac_res" >&5
15373 echo "${ECHO_T}$ac_res" >&6; }
15376 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15377 cat >>confdefs.h <<_ACEOF
15378 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
15390 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
15392 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
15393 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15394 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15396 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15397 echo $ECHO_N "(cached) $ECHO_C" >&6
15399 ac_res=`eval echo '${'$as_ac_Header'}'`
15400 { echo "$as_me:$LINENO: result: $ac_res" >&5
15401 echo "${ECHO_T}$ac_res" >&6; }
15403 # Is the header compilable?
15404 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15405 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15406 cat >conftest.$ac_ext <<_ACEOF
15409 cat confdefs.h >>conftest.$ac_ext
15410 cat >>conftest.$ac_ext <<_ACEOF
15411 /* end confdefs.h. */
15412 $ac_includes_default
15413 #include <$ac_header>
15415 rm -f conftest.$ac_objext
15416 if { (ac_try="$ac_compile"
15417 case "(($ac_try" in
15418 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15419 *) ac_try_echo
=$ac_try;;
15421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15422 (eval "$ac_compile") 2>conftest.er1
15424 grep -v '^ *+' conftest.er1
>conftest.err
15426 cat conftest.err
>&5
15427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428 (exit $ac_status); } && {
15429 test -z "$ac_c_werror_flag" ||
15430 test ! -s conftest.err
15431 } && test -s conftest.
$ac_objext; then
15432 ac_header_compiler
=yes
15434 echo "$as_me: failed program was:" >&5
15435 sed 's/^/| /' conftest.
$ac_ext >&5
15437 ac_header_compiler
=no
15440 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15441 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15442 echo "${ECHO_T}$ac_header_compiler" >&6; }
15444 # Is the header present?
15445 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15446 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15447 cat >conftest.
$ac_ext <<_ACEOF
15450 cat confdefs.h
>>conftest.
$ac_ext
15451 cat >>conftest.
$ac_ext <<_ACEOF
15452 /* end confdefs.h. */
15453 #include <$ac_header>
15455 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15456 case "(($ac_try" in
15457 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15458 *) ac_try_echo=$ac_try;;
15460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15461 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15463 grep -v '^ *+' conftest.er1 >conftest.err
15465 cat conftest.err >&5
15466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15467 (exit $ac_status); } >/dev/null && {
15468 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15469 test ! -s conftest.err
15471 ac_header_preproc=yes
15473 echo "$as_me: failed program was:" >&5
15474 sed 's/^/| /' conftest.$ac_ext >&5
15476 ac_header_preproc=no
15479 rm -f conftest.err conftest.$ac_ext
15480 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15481 echo "${ECHO_T}$ac_header_preproc" >&6; }
15483 # So? What about this header?
15484 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15486 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15487 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15488 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15489 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15490 ac_header_preproc=yes
15493 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15494 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15495 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15496 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15497 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15498 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15499 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15500 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15501 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15502 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15503 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15504 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15508 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15510 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15511 echo $ECHO_N "(cached) $ECHO_C" >&6
15513 eval "$as_ac_Header=\$ac_header_preproc"
15515 ac_res=`eval echo '${'$as_ac_Header'}'`
15516 { echo "$as_me:$LINENO: result: $ac_res" >&5
15517 echo "${ECHO_T}$ac_res" >&6; }
15520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15521 cat >>confdefs.h <<_ACEOF
15522 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
15529 if test "${ac_cv_header_complex_h+set}" = set; then
15530 { echo "$as_me:$LINENO: checking for complex.h" >&5
15531 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6; }
15532 if test "${ac_cv_header_complex_h+set}" = set; then
15533 echo $ECHO_N "(cached) $ECHO_C" >&6
15535 { echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
15536 echo "${ECHO_T}$ac_cv_header_complex_h" >&6; }
15538 # Is the header compilable?
15539 { echo "$as_me:$LINENO: checking complex.h usability" >&5
15540 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6; }
15541 cat >conftest.$ac_ext <<_ACEOF
15544 cat confdefs.h >>conftest.$ac_ext
15545 cat >>conftest.$ac_ext <<_ACEOF
15546 /* end confdefs.h. */
15547 $ac_includes_default
15548 #include <complex.h>
15550 rm -f conftest.$ac_objext
15551 if { (ac_try="$ac_compile"
15552 case "(($ac_try" in
15553 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15554 *) ac_try_echo
=$ac_try;;
15556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15557 (eval "$ac_compile") 2>conftest.er1
15559 grep -v '^ *+' conftest.er1
>conftest.err
15561 cat conftest.err
>&5
15562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15563 (exit $ac_status); } && {
15564 test -z "$ac_c_werror_flag" ||
15565 test ! -s conftest.err
15566 } && test -s conftest.
$ac_objext; then
15567 ac_header_compiler
=yes
15569 echo "$as_me: failed program was:" >&5
15570 sed 's/^/| /' conftest.
$ac_ext >&5
15572 ac_header_compiler
=no
15575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15576 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15577 echo "${ECHO_T}$ac_header_compiler" >&6; }
15579 # Is the header present?
15580 { echo "$as_me:$LINENO: checking complex.h presence" >&5
15581 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6; }
15582 cat >conftest.
$ac_ext <<_ACEOF
15585 cat confdefs.h
>>conftest.
$ac_ext
15586 cat >>conftest.
$ac_ext <<_ACEOF
15587 /* end confdefs.h. */
15588 #include <complex.h>
15590 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15591 case "(($ac_try" in
15592 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15593 *) ac_try_echo=$ac_try;;
15595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15596 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15598 grep -v '^ *+' conftest.er1 >conftest.err
15600 cat conftest.err >&5
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); } >/dev/null && {
15603 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15604 test ! -s conftest.err
15606 ac_header_preproc=yes
15608 echo "$as_me: failed program was:" >&5
15609 sed 's/^/| /' conftest.$ac_ext >&5
15611 ac_header_preproc=no
15614 rm -f conftest.err conftest.$ac_ext
15615 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15616 echo "${ECHO_T}$ac_header_preproc" >&6; }
15618 # So? What about this header?
15619 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15621 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
15622 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15623 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
15624 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
15625 ac_header_preproc=yes
15628 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
15629 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
15630 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
15631 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
15632 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
15633 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
15634 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
15635 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
15636 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
15637 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
15638 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
15639 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
15643 { echo "$as_me:$LINENO: checking for complex.h" >&5
15644 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6; }
15645 if test "${ac_cv_header_complex_h+set}" = set; then
15646 echo $ECHO_N "(cached) $ECHO_C" >&6
15648 ac_cv_header_complex_h=$ac_header_preproc
15650 { echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
15651 echo "${ECHO_T}$ac_cv_header_complex_h" >&6; }
15654 if test $ac_cv_header_complex_h = yes; then
15656 cat >>confdefs.h <<\_ACEOF
15657 #define HAVE_COMPLEX_H 1
15665 inttype_headers=`echo inttypes.h sys
/inttypes.h |
sed -e 's/,/ /g'`
15667 acx_cv_header_stdint=stddef.h
15668 acx_cv_header_stdint_kind="(already complete)"
15669 for i in stdint.h $inttype_headers; do
15670 unset ac_cv_type_uintptr_t
15671 unset ac_cv_type_uintmax_t
15672 unset ac_cv_type_int_least32_t
15673 unset ac_cv_type_int_fast32_t
15674 unset ac_cv_type_uint64_t
15675 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
15676 { echo "$as_me:$LINENO: checking for uintmax_t" >&5
15677 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6; }
15678 if test "${ac_cv_type_uintmax_t+set}" = set; then
15679 echo $ECHO_N "(cached) $ECHO_C" >&6
15681 cat >conftest.$ac_ext <<_ACEOF
15684 cat confdefs.h >>conftest.$ac_ext
15685 cat >>conftest.$ac_ext <<_ACEOF
15686 /* end confdefs.h. */
15687 #include <sys/types.h>
15690 typedef uintmax_t ac__type_new_;
15694 if ((ac__type_new_ *) 0)
15696 if (sizeof (ac__type_new_))
15702 rm -f conftest.$ac_objext
15703 if { (ac_try="$ac_compile"
15704 case "(($ac_try" in
15705 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15706 *) ac_try_echo
=$ac_try;;
15708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15709 (eval "$ac_compile") 2>conftest.er1
15711 grep -v '^ *+' conftest.er1
>conftest.err
15713 cat conftest.err
>&5
15714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15715 (exit $ac_status); } && {
15716 test -z "$ac_c_werror_flag" ||
15717 test ! -s conftest.err
15718 } && test -s conftest.
$ac_objext; then
15719 ac_cv_type_uintmax_t
=yes
15721 echo "$as_me: failed program was:" >&5
15722 sed 's/^/| /' conftest.
$ac_ext >&5
15724 ac_cv_type_uintmax_t
=no
15727 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15729 { echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
15730 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6; }
15731 if test $ac_cv_type_uintmax_t = yes; then
15732 acx_cv_header_stdint
=$i
15737 { echo "$as_me:$LINENO: checking for uintptr_t" >&5
15738 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6; }
15739 if test "${ac_cv_type_uintptr_t+set}" = set; then
15740 echo $ECHO_N "(cached) $ECHO_C" >&6
15742 cat >conftest.
$ac_ext <<_ACEOF
15745 cat confdefs.h
>>conftest.
$ac_ext
15746 cat >>conftest.
$ac_ext <<_ACEOF
15747 /* end confdefs.h. */
15748 #include <sys/types.h>
15751 typedef uintptr_t ac__type_new_;
15755 if ((ac__type_new_ *) 0)
15757 if (sizeof (ac__type_new_))
15763 rm -f conftest.
$ac_objext
15764 if { (ac_try
="$ac_compile"
15765 case "(($ac_try" in
15766 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15767 *) ac_try_echo=$ac_try;;
15769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15770 (eval "$ac_compile") 2>conftest.er1
15772 grep -v '^ *+' conftest.er1 >conftest.err
15774 cat conftest.err >&5
15775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15776 (exit $ac_status); } && {
15777 test -z "$ac_c_werror_flag" ||
15778 test ! -s conftest.err
15779 } && test -s conftest.$ac_objext; then
15780 ac_cv_type_uintptr_t=yes
15782 echo "$as_me: failed program was:" >&5
15783 sed 's/^/| /' conftest.$ac_ext >&5
15785 ac_cv_type_uintptr_t=no
15788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15790 { echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15791 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6; }
15792 if test $ac_cv_type_uintptr_t = yes; then
15795 acx_cv_header_stdint_kind="(mostly complete)"
15798 { echo "$as_me:$LINENO: checking for int_least32_t" >&5
15799 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6; }
15800 if test "${ac_cv_type_int_least32_t+set}" = set; then
15801 echo $ECHO_N "(cached) $ECHO_C" >&6
15803 cat >conftest.$ac_ext <<_ACEOF
15806 cat confdefs.h >>conftest.$ac_ext
15807 cat >>conftest.$ac_ext <<_ACEOF
15808 /* end confdefs.h. */
15809 #include <sys/types.h>
15812 typedef int_least32_t ac__type_new_;
15816 if ((ac__type_new_ *) 0)
15818 if (sizeof (ac__type_new_))
15824 rm -f conftest.$ac_objext
15825 if { (ac_try="$ac_compile"
15826 case "(($ac_try" in
15827 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15828 *) ac_try_echo
=$ac_try;;
15830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15831 (eval "$ac_compile") 2>conftest.er1
15833 grep -v '^ *+' conftest.er1
>conftest.err
15835 cat conftest.err
>&5
15836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15837 (exit $ac_status); } && {
15838 test -z "$ac_c_werror_flag" ||
15839 test ! -s conftest.err
15840 } && test -s conftest.
$ac_objext; then
15841 ac_cv_type_int_least32_t
=yes
15843 echo "$as_me: failed program was:" >&5
15844 sed 's/^/| /' conftest.
$ac_ext >&5
15846 ac_cv_type_int_least32_t
=no
15849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15851 { echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
15852 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6; }
15853 if test $ac_cv_type_int_least32_t = yes; then
15856 acx_cv_header_stdint_kind
="(mostly complete)"
15859 { echo "$as_me:$LINENO: checking for int_fast32_t" >&5
15860 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6; }
15861 if test "${ac_cv_type_int_fast32_t+set}" = set; then
15862 echo $ECHO_N "(cached) $ECHO_C" >&6
15864 cat >conftest.
$ac_ext <<_ACEOF
15867 cat confdefs.h
>>conftest.
$ac_ext
15868 cat >>conftest.
$ac_ext <<_ACEOF
15869 /* end confdefs.h. */
15870 #include <sys/types.h>
15873 typedef int_fast32_t ac__type_new_;
15877 if ((ac__type_new_ *) 0)
15879 if (sizeof (ac__type_new_))
15885 rm -f conftest.
$ac_objext
15886 if { (ac_try
="$ac_compile"
15887 case "(($ac_try" in
15888 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15889 *) ac_try_echo=$ac_try;;
15891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15892 (eval "$ac_compile") 2>conftest.er1
15894 grep -v '^ *+' conftest.er1 >conftest.err
15896 cat conftest.err >&5
15897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); } && {
15899 test -z "$ac_c_werror_flag" ||
15900 test ! -s conftest.err
15901 } && test -s conftest.$ac_objext; then
15902 ac_cv_type_int_fast32_t=yes
15904 echo "$as_me: failed program was:" >&5
15905 sed 's/^/| /' conftest.$ac_ext >&5
15907 ac_cv_type_int_fast32_t=no
15910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15912 { echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
15913 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6; }
15914 if test $ac_cv_type_int_fast32_t = yes; then
15917 acx_cv_header_stdint_kind="(mostly complete)"
15920 { echo "$as_me:$LINENO: checking for uint64_t" >&5
15921 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
15922 if test "${ac_cv_type_uint64_t+set}" = set; then
15923 echo $ECHO_N "(cached) $ECHO_C" >&6
15925 cat >conftest.$ac_ext <<_ACEOF
15928 cat confdefs.h >>conftest.$ac_ext
15929 cat >>conftest.$ac_ext <<_ACEOF
15930 /* end confdefs.h. */
15931 #include <sys/types.h>
15934 typedef uint64_t ac__type_new_;
15938 if ((ac__type_new_ *) 0)
15940 if (sizeof (ac__type_new_))
15946 rm -f conftest.$ac_objext
15947 if { (ac_try="$ac_compile"
15948 case "(($ac_try" in
15949 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15950 *) ac_try_echo
=$ac_try;;
15952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15953 (eval "$ac_compile") 2>conftest.er1
15955 grep -v '^ *+' conftest.er1
>conftest.err
15957 cat conftest.err
>&5
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); } && {
15960 test -z "$ac_c_werror_flag" ||
15961 test ! -s conftest.err
15962 } && test -s conftest.
$ac_objext; then
15963 ac_cv_type_uint64_t
=yes
15965 echo "$as_me: failed program was:" >&5
15966 sed 's/^/| /' conftest.
$ac_ext >&5
15968 ac_cv_type_uint64_t
=no
15971 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15973 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15974 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
15975 if test $ac_cv_type_uint64_t = yes; then
15978 acx_cv_header_stdint_kind
="(lacks uint64_t)"
15983 if test "$acx_cv_header_stdint" = stddef.h
; then
15984 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
15985 for i
in stdint.h
$inttype_headers; do
15986 unset ac_cv_type_uintptr_t
15987 unset ac_cv_type_uint32_t
15988 unset ac_cv_type_uint64_t
15989 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
15990 { echo "$as_me:$LINENO: checking for uint32_t" >&5
15991 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
15992 if test "${ac_cv_type_uint32_t+set}" = set; then
15993 echo $ECHO_N "(cached) $ECHO_C" >&6
15995 cat >conftest.
$ac_ext <<_ACEOF
15998 cat confdefs.h
>>conftest.
$ac_ext
15999 cat >>conftest.
$ac_ext <<_ACEOF
16000 /* end confdefs.h. */
16001 #include <sys/types.h>
16004 typedef uint32_t ac__type_new_;
16008 if ((ac__type_new_ *) 0)
16010 if (sizeof (ac__type_new_))
16016 rm -f conftest.
$ac_objext
16017 if { (ac_try
="$ac_compile"
16018 case "(($ac_try" in
16019 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16020 *) ac_try_echo=$ac_try;;
16022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16023 (eval "$ac_compile") 2>conftest.er1
16025 grep -v '^ *+' conftest.er1 >conftest.err
16027 cat conftest.err >&5
16028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16029 (exit $ac_status); } && {
16030 test -z "$ac_c_werror_flag" ||
16031 test ! -s conftest.err
16032 } && test -s conftest.$ac_objext; then
16033 ac_cv_type_uint32_t=yes
16035 echo "$as_me: failed program was:" >&5
16036 sed 's/^/| /' conftest.$ac_ext >&5
16038 ac_cv_type_uint32_t=no
16041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16043 { echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
16044 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6; }
16045 if test $ac_cv_type_uint32_t = yes; then
16046 acx_cv_header_stdint=$i
16051 { echo "$as_me:$LINENO: checking for uint64_t" >&5
16052 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
16053 if test "${ac_cv_type_uint64_t+set}" = set; then
16054 echo $ECHO_N "(cached) $ECHO_C" >&6
16056 cat >conftest.$ac_ext <<_ACEOF
16059 cat confdefs.h >>conftest.$ac_ext
16060 cat >>conftest.$ac_ext <<_ACEOF
16061 /* end confdefs.h. */
16062 #include <sys/types.h>
16065 typedef uint64_t ac__type_new_;
16069 if ((ac__type_new_ *) 0)
16071 if (sizeof (ac__type_new_))
16077 rm -f conftest.$ac_objext
16078 if { (ac_try="$ac_compile"
16079 case "(($ac_try" in
16080 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16081 *) ac_try_echo
=$ac_try;;
16083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16084 (eval "$ac_compile") 2>conftest.er1
16086 grep -v '^ *+' conftest.er1
>conftest.err
16088 cat conftest.err
>&5
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); } && {
16091 test -z "$ac_c_werror_flag" ||
16092 test ! -s conftest.err
16093 } && test -s conftest.
$ac_objext; then
16094 ac_cv_type_uint64_t
=yes
16096 echo "$as_me: failed program was:" >&5
16097 sed 's/^/| /' conftest.
$ac_ext >&5
16099 ac_cv_type_uint64_t
=no
16102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16104 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16105 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
16107 { echo "$as_me:$LINENO: checking for uintptr_t" >&5
16108 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6; }
16109 if test "${ac_cv_type_uintptr_t+set}" = set; then
16110 echo $ECHO_N "(cached) $ECHO_C" >&6
16112 cat >conftest.
$ac_ext <<_ACEOF
16115 cat confdefs.h
>>conftest.
$ac_ext
16116 cat >>conftest.
$ac_ext <<_ACEOF
16117 /* end confdefs.h. */
16118 #include <sys/types.h>
16121 typedef uintptr_t ac__type_new_;
16125 if ((ac__type_new_ *) 0)
16127 if (sizeof (ac__type_new_))
16133 rm -f conftest.
$ac_objext
16134 if { (ac_try
="$ac_compile"
16135 case "(($ac_try" in
16136 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16137 *) ac_try_echo=$ac_try;;
16139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16140 (eval "$ac_compile") 2>conftest.er1
16142 grep -v '^ *+' conftest.er1 >conftest.err
16144 cat conftest.err >&5
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); } && {
16147 test -z "$ac_c_werror_flag" ||
16148 test ! -s conftest.err
16149 } && test -s conftest.$ac_objext; then
16150 ac_cv_type_uintptr_t=yes
16152 echo "$as_me: failed program was:" >&5
16153 sed 's/^/| /' conftest.$ac_ext >&5
16155 ac_cv_type_uintptr_t=no
16158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16160 { echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
16161 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6; }
16166 if test "$acx_cv_header_stdint" = stddef.h; then
16167 acx_cv_header_stdint_kind="(u_intXX_t style)"
16168 for i in sys/types.h $inttype_headers; do
16169 unset ac_cv_type_u_int32_t
16170 unset ac_cv_type_u_int64_t
16171 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
16172 { echo "$as_me:$LINENO: checking for u_int32_t" >&5
16173 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6; }
16174 if test "${ac_cv_type_u_int32_t+set}" = set; then
16175 echo $ECHO_N "(cached) $ECHO_C" >&6
16177 cat >conftest.$ac_ext <<_ACEOF
16180 cat confdefs.h >>conftest.$ac_ext
16181 cat >>conftest.$ac_ext <<_ACEOF
16182 /* end confdefs.h. */
16183 #include <sys/types.h>
16186 typedef u_int32_t ac__type_new_;
16190 if ((ac__type_new_ *) 0)
16192 if (sizeof (ac__type_new_))
16198 rm -f conftest.$ac_objext
16199 if { (ac_try="$ac_compile"
16200 case "(($ac_try" in
16201 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16202 *) ac_try_echo
=$ac_try;;
16204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16205 (eval "$ac_compile") 2>conftest.er1
16207 grep -v '^ *+' conftest.er1
>conftest.err
16209 cat conftest.err
>&5
16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); } && {
16212 test -z "$ac_c_werror_flag" ||
16213 test ! -s conftest.err
16214 } && test -s conftest.
$ac_objext; then
16215 ac_cv_type_u_int32_t
=yes
16217 echo "$as_me: failed program was:" >&5
16218 sed 's/^/| /' conftest.
$ac_ext >&5
16220 ac_cv_type_u_int32_t
=no
16223 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16225 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
16226 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6; }
16227 if test $ac_cv_type_u_int32_t = yes; then
16228 acx_cv_header_stdint
=$i
16233 { echo "$as_me:$LINENO: checking for u_int64_t" >&5
16234 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
16235 if test "${ac_cv_type_u_int64_t+set}" = set; then
16236 echo $ECHO_N "(cached) $ECHO_C" >&6
16238 cat >conftest.
$ac_ext <<_ACEOF
16241 cat confdefs.h
>>conftest.
$ac_ext
16242 cat >>conftest.
$ac_ext <<_ACEOF
16243 /* end confdefs.h. */
16244 #include <sys/types.h>
16247 typedef u_int64_t ac__type_new_;
16251 if ((ac__type_new_ *) 0)
16253 if (sizeof (ac__type_new_))
16259 rm -f conftest.
$ac_objext
16260 if { (ac_try
="$ac_compile"
16261 case "(($ac_try" in
16262 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16263 *) ac_try_echo=$ac_try;;
16265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16266 (eval "$ac_compile") 2>conftest.er1
16268 grep -v '^ *+' conftest.er1 >conftest.err
16270 cat conftest.err >&5
16271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16272 (exit $ac_status); } && {
16273 test -z "$ac_c_werror_flag" ||
16274 test ! -s conftest.err
16275 } && test -s conftest.$ac_objext; then
16276 ac_cv_type_u_int64_t=yes
16278 echo "$as_me: failed program was:" >&5
16279 sed 's/^/| /' conftest.$ac_ext >&5
16281 ac_cv_type_u_int64_t=no
16284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16286 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
16287 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
16292 if test "$acx_cv_header_stdint" = stddef.h; then
16293 acx_cv_header_stdint_kind="(using manual detection)"
16296 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16297 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16298 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16299 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16300 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16302 # ----------------- Summarize what we found so far
16304 { echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
16305 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6; }
16307 case `$as_basename -- gstdint.h ||
16308 $as_expr X
/gstdint.h
: '.*/\([^/][^/]*\)/*$' \| \
16309 Xgstdint.h
: 'X\(//\)$' \| \
16310 Xgstdint.h
: 'X\(/\)' \| .
2>/dev
/null ||
16312 sed '/^.*\/\([^/][^/]*\)\/*$/{
16325 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
16326 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16327 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
16328 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16332 { echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16333 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16335 # ----------------- done included file, check C basic types --------
16337 # Lacking an uintptr_t? Test size of void *
16338 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16339 stddef.h:* | *:no) { echo "$as_me:$LINENO: checking for void *" >&5
16340 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
16341 if test "${ac_cv_type_void_p+set}" = set; then
16342 echo $ECHO_N "(cached) $ECHO_C" >&6
16344 cat >conftest.$ac_ext <<_ACEOF
16347 cat confdefs.h >>conftest.$ac_ext
16348 cat >>conftest.$ac_ext <<_ACEOF
16349 /* end confdefs.h. */
16350 $ac_includes_default
16351 typedef void * ac__type_new_;
16355 if ((ac__type_new_ *) 0)
16357 if (sizeof (ac__type_new_))
16363 rm -f conftest.$ac_objext
16364 if { (ac_try="$ac_compile"
16365 case "(($ac_try" in
16366 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16367 *) ac_try_echo
=$ac_try;;
16369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16370 (eval "$ac_compile") 2>conftest.er1
16372 grep -v '^ *+' conftest.er1
>conftest.err
16374 cat conftest.err
>&5
16375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376 (exit $ac_status); } && {
16377 test -z "$ac_c_werror_flag" ||
16378 test ! -s conftest.err
16379 } && test -s conftest.
$ac_objext; then
16380 ac_cv_type_void_p
=yes
16382 echo "$as_me: failed program was:" >&5
16383 sed 's/^/| /' conftest.
$ac_ext >&5
16385 ac_cv_type_void_p
=no
16388 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16390 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16391 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
16393 # The cast to long int works around a bug in the HP C Compiler
16394 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16395 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16396 # This bug is HP SR number 8606223364.
16397 { echo "$as_me:$LINENO: checking size of void *" >&5
16398 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
16399 if test "${ac_cv_sizeof_void_p+set}" = set; then
16400 echo $ECHO_N "(cached) $ECHO_C" >&6
16402 if test "$cross_compiling" = yes; then
16403 # Depending upon the size, compute the lo and hi bounds.
16404 cat >conftest.
$ac_ext <<_ACEOF
16407 cat confdefs.h
>>conftest.
$ac_ext
16408 cat >>conftest.
$ac_ext <<_ACEOF
16409 /* end confdefs.h. */
16410 $ac_includes_default
16411 typedef void * ac__type_sizeof_;
16415 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
16422 rm -f conftest.
$ac_objext
16423 if { (ac_try
="$ac_compile"
16424 case "(($ac_try" in
16425 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16426 *) ac_try_echo=$ac_try;;
16428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16429 (eval "$ac_compile") 2>conftest.er1
16431 grep -v '^ *+' conftest.er1 >conftest.err
16433 cat conftest.err >&5
16434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16435 (exit $ac_status); } && {
16436 test -z "$ac_c_werror_flag" ||
16437 test ! -s conftest.err
16438 } && test -s conftest.$ac_objext; then
16441 cat >conftest.$ac_ext <<_ACEOF
16444 cat confdefs.h >>conftest.$ac_ext
16445 cat >>conftest.$ac_ext <<_ACEOF
16446 /* end confdefs.h. */
16447 $ac_includes_default
16448 typedef void * ac__type_sizeof_;
16452 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
16459 rm -f conftest.$ac_objext
16460 if { (ac_try="$ac_compile"
16461 case "(($ac_try" in
16462 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16463 *) ac_try_echo
=$ac_try;;
16465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16466 (eval "$ac_compile") 2>conftest.er1
16468 grep -v '^ *+' conftest.er1
>conftest.err
16470 cat conftest.err
>&5
16471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16472 (exit $ac_status); } && {
16473 test -z "$ac_c_werror_flag" ||
16474 test ! -s conftest.err
16475 } && test -s conftest.
$ac_objext; then
16476 ac_hi
=$ac_mid; break
16478 echo "$as_me: failed program was:" >&5
16479 sed 's/^/| /' conftest.
$ac_ext >&5
16481 ac_lo
=`expr $ac_mid + 1`
16482 if test $ac_lo -le $ac_mid; then
16486 ac_mid
=`expr 2 '*' $ac_mid + 1`
16489 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16492 echo "$as_me: failed program was:" >&5
16493 sed 's/^/| /' conftest.
$ac_ext >&5
16495 cat >conftest.
$ac_ext <<_ACEOF
16498 cat confdefs.h
>>conftest.
$ac_ext
16499 cat >>conftest.
$ac_ext <<_ACEOF
16500 /* end confdefs.h. */
16501 $ac_includes_default
16502 typedef void * ac__type_sizeof_;
16506 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
16513 rm -f conftest.
$ac_objext
16514 if { (ac_try
="$ac_compile"
16515 case "(($ac_try" in
16516 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16517 *) ac_try_echo=$ac_try;;
16519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16520 (eval "$ac_compile") 2>conftest.er1
16522 grep -v '^ *+' conftest.er1 >conftest.err
16524 cat conftest.err >&5
16525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16526 (exit $ac_status); } && {
16527 test -z "$ac_c_werror_flag" ||
16528 test ! -s conftest.err
16529 } && test -s conftest.$ac_objext; then
16532 cat >conftest.$ac_ext <<_ACEOF
16535 cat confdefs.h >>conftest.$ac_ext
16536 cat >>conftest.$ac_ext <<_ACEOF
16537 /* end confdefs.h. */
16538 $ac_includes_default
16539 typedef void * ac__type_sizeof_;
16543 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
16550 rm -f conftest.$ac_objext
16551 if { (ac_try="$ac_compile"
16552 case "(($ac_try" in
16553 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16554 *) ac_try_echo
=$ac_try;;
16556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16557 (eval "$ac_compile") 2>conftest.er1
16559 grep -v '^ *+' conftest.er1
>conftest.err
16561 cat conftest.err
>&5
16562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563 (exit $ac_status); } && {
16564 test -z "$ac_c_werror_flag" ||
16565 test ! -s conftest.err
16566 } && test -s conftest.
$ac_objext; then
16567 ac_lo
=$ac_mid; break
16569 echo "$as_me: failed program was:" >&5
16570 sed 's/^/| /' conftest.
$ac_ext >&5
16572 ac_hi
=`expr '(' $ac_mid ')' - 1`
16573 if test $ac_mid -le $ac_hi; then
16577 ac_mid
=`expr 2 '*' $ac_mid`
16580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16583 echo "$as_me: failed program was:" >&5
16584 sed 's/^/| /' conftest.
$ac_ext >&5
16589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16593 # Binary search between lo and hi bounds.
16594 while test "x$ac_lo" != "x$ac_hi"; do
16595 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16596 cat >conftest.
$ac_ext <<_ACEOF
16599 cat confdefs.h
>>conftest.
$ac_ext
16600 cat >>conftest.
$ac_ext <<_ACEOF
16601 /* end confdefs.h. */
16602 $ac_includes_default
16603 typedef void * ac__type_sizeof_;
16607 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
16614 rm -f conftest.
$ac_objext
16615 if { (ac_try
="$ac_compile"
16616 case "(($ac_try" in
16617 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16618 *) ac_try_echo=$ac_try;;
16620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16621 (eval "$ac_compile") 2>conftest.er1
16623 grep -v '^ *+' conftest.er1 >conftest.err
16625 cat conftest.err >&5
16626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16627 (exit $ac_status); } && {
16628 test -z "$ac_c_werror_flag" ||
16629 test ! -s conftest.err
16630 } && test -s conftest.$ac_objext; then
16633 echo "$as_me: failed program was:" >&5
16634 sed 's/^/| /' conftest.$ac_ext >&5
16636 ac_lo=`expr '(' $ac_mid ')' + 1`
16639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16642 ?*) ac_cv_sizeof_void_p=$ac_lo;;
16643 '') if test "$ac_cv_type_void_p" = yes; then
16644 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
16645 See \`config.log
' for more details." >&5
16646 echo "$as_me: error: cannot compute sizeof (void *)
16647 See \`config.log' for more details.
" >&2;}
16648 { (exit 77); exit 77; }; }
16650 ac_cv_sizeof_void_p=0
16654 cat >conftest.$ac_ext <<_ACEOF
16657 cat confdefs.h >>conftest.$ac_ext
16658 cat >>conftest.$ac_ext <<_ACEOF
16659 /* end confdefs.h. */
16660 $ac_includes_default
16661 typedef void * ac__type_sizeof_;
16662 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
16663 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
16665 #include <stdlib.h>
16670 FILE *f = fopen ("conftest.val
", "w
");
16673 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
16675 long int i = longval ();
16676 if (i != ((long int) (sizeof (ac__type_sizeof_))))
16678 fprintf (f, "%ld
\n", i);
16682 unsigned long int i = ulongval ();
16683 if (i != ((long int) (sizeof (ac__type_sizeof_))))
16685 fprintf (f, "%lu
\n", i);
16687 return ferror (f) || fclose (f) != 0;
16693 rm -f conftest$ac_exeext
16694 if { (ac_try="$ac_link"
16695 case "(($ac_try" in
16696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16697 *) ac_try_echo=$ac_try;;
16699 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16700 (eval "$ac_link") 2>&5
16702 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16703 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16704 { (case "(($ac_try" in
16705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16706 *) ac_try_echo=$ac_try;;
16708 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16709 (eval "$ac_try") 2>&5
16711 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16712 (exit $ac_status); }; }; then
16713 ac_cv_sizeof_void_p=`cat conftest.val`
16715 echo "$as_me: program exited with status
$ac_status" >&5
16716 echo "$as_me: failed program was
:" >&5
16717 sed 's/^/| /' conftest.$ac_ext >&5
16719 ( exit $ac_status )
16720 if test "$ac_cv_type_void_p" = yes; then
16721 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
16722 See \
`config.log' for more details." >&5
16723 echo "$as_me: error: cannot compute sizeof (void *)
16724 See \`config.log
' for more details." >&2;}
16725 { (exit 77); exit 77; }; }
16727 ac_cv_sizeof_void_p=0
16730 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16734 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16735 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
16739 cat >>confdefs.h <<_ACEOF
16740 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16746 # Lacking an uint64_t? Test size of long
16747 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16748 stddef.h:*:* | *:no:no) { echo "$as_me:$LINENO: checking for long" >&5
16749 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
16750 if test "${ac_cv_type_long+set}" = set; then
16751 echo $ECHO_N "(cached) $ECHO_C" >&6
16753 cat >conftest.$ac_ext <<_ACEOF
16756 cat confdefs.h >>conftest.$ac_ext
16757 cat >>conftest.$ac_ext <<_ACEOF
16758 /* end confdefs.h. */
16759 $ac_includes_default
16760 typedef long ac__type_new_;
16764 if ((ac__type_new_ *) 0)
16766 if (sizeof (ac__type_new_))
16772 rm -f conftest.$ac_objext
16773 if { (ac_try="$ac_compile"
16774 case "(($ac_try" in
16775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16776 *) ac_try_echo=$ac_try;;
16778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16779 (eval "$ac_compile") 2>conftest.er1
16781 grep -v '^
*+' conftest.er1 >conftest.err
16783 cat conftest.err >&5
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); } && {
16786 test -z "$ac_c_werror_flag" ||
16787 test ! -s conftest.err
16788 } && test -s conftest.$ac_objext; then
16789 ac_cv_type_long=yes
16791 echo "$as_me: failed program was:" >&5
16792 sed 's
/^
/|
/' conftest.$ac_ext >&5
16797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16799 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16800 echo "${ECHO_T}$ac_cv_type_long" >&6; }
16802 # The cast to long int works around a bug in the HP C Compiler
16803 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16804 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16805 # This bug is HP SR number 8606223364.
16806 { echo "$as_me:$LINENO: checking size of long" >&5
16807 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
16808 if test "${ac_cv_sizeof_long+set}" = set; then
16809 echo $ECHO_N "(cached) $ECHO_C" >&6
16811 if test "$cross_compiling" = yes; then
16812 # Depending upon the size, compute the lo and hi bounds.
16813 cat >conftest.
$ac_ext <<_ACEOF
16816 cat confdefs.h
>>conftest.
$ac_ext
16817 cat >>conftest.
$ac_ext <<_ACEOF
16818 /* end confdefs.h. */
16819 $ac_includes_default
16820 typedef long ac__type_sizeof_;
16824 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
16831 rm -f conftest.
$ac_objext
16832 if { (ac_try
="$ac_compile"
16833 case "(($ac_try" in
16834 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16835 *) ac_try_echo=$ac_try;;
16837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16838 (eval "$ac_compile") 2>conftest.er1
16840 grep -v '^ *+' conftest.er1 >conftest.err
16842 cat conftest.err >&5
16843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844 (exit $ac_status); } && {
16845 test -z "$ac_c_werror_flag" ||
16846 test ! -s conftest.err
16847 } && test -s conftest.$ac_objext; then
16850 cat >conftest.$ac_ext <<_ACEOF
16853 cat confdefs.h >>conftest.$ac_ext
16854 cat >>conftest.$ac_ext <<_ACEOF
16855 /* end confdefs.h. */
16856 $ac_includes_default
16857 typedef long ac__type_sizeof_;
16861 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
16868 rm -f conftest.$ac_objext
16869 if { (ac_try="$ac_compile"
16870 case "(($ac_try" in
16871 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16872 *) ac_try_echo
=$ac_try;;
16874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16875 (eval "$ac_compile") 2>conftest.er1
16877 grep -v '^ *+' conftest.er1
>conftest.err
16879 cat conftest.err
>&5
16880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16881 (exit $ac_status); } && {
16882 test -z "$ac_c_werror_flag" ||
16883 test ! -s conftest.err
16884 } && test -s conftest.
$ac_objext; then
16885 ac_hi
=$ac_mid; break
16887 echo "$as_me: failed program was:" >&5
16888 sed 's/^/| /' conftest.
$ac_ext >&5
16890 ac_lo
=`expr $ac_mid + 1`
16891 if test $ac_lo -le $ac_mid; then
16895 ac_mid
=`expr 2 '*' $ac_mid + 1`
16898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16901 echo "$as_me: failed program was:" >&5
16902 sed 's/^/| /' conftest.
$ac_ext >&5
16904 cat >conftest.
$ac_ext <<_ACEOF
16907 cat confdefs.h
>>conftest.
$ac_ext
16908 cat >>conftest.
$ac_ext <<_ACEOF
16909 /* end confdefs.h. */
16910 $ac_includes_default
16911 typedef long ac__type_sizeof_;
16915 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
16922 rm -f conftest.
$ac_objext
16923 if { (ac_try
="$ac_compile"
16924 case "(($ac_try" in
16925 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16926 *) ac_try_echo=$ac_try;;
16928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16929 (eval "$ac_compile") 2>conftest.er1
16931 grep -v '^ *+' conftest.er1 >conftest.err
16933 cat conftest.err >&5
16934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935 (exit $ac_status); } && {
16936 test -z "$ac_c_werror_flag" ||
16937 test ! -s conftest.err
16938 } && test -s conftest.$ac_objext; then
16941 cat >conftest.$ac_ext <<_ACEOF
16944 cat confdefs.h >>conftest.$ac_ext
16945 cat >>conftest.$ac_ext <<_ACEOF
16946 /* end confdefs.h. */
16947 $ac_includes_default
16948 typedef long ac__type_sizeof_;
16952 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
16959 rm -f conftest.$ac_objext
16960 if { (ac_try="$ac_compile"
16961 case "(($ac_try" in
16962 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16963 *) ac_try_echo
=$ac_try;;
16965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16966 (eval "$ac_compile") 2>conftest.er1
16968 grep -v '^ *+' conftest.er1
>conftest.err
16970 cat conftest.err
>&5
16971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16972 (exit $ac_status); } && {
16973 test -z "$ac_c_werror_flag" ||
16974 test ! -s conftest.err
16975 } && test -s conftest.
$ac_objext; then
16976 ac_lo
=$ac_mid; break
16978 echo "$as_me: failed program was:" >&5
16979 sed 's/^/| /' conftest.
$ac_ext >&5
16981 ac_hi
=`expr '(' $ac_mid ')' - 1`
16982 if test $ac_mid -le $ac_hi; then
16986 ac_mid
=`expr 2 '*' $ac_mid`
16989 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16992 echo "$as_me: failed program was:" >&5
16993 sed 's/^/| /' conftest.
$ac_ext >&5
16998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17002 # Binary search between lo and hi bounds.
17003 while test "x$ac_lo" != "x$ac_hi"; do
17004 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17005 cat >conftest.
$ac_ext <<_ACEOF
17008 cat confdefs.h
>>conftest.
$ac_ext
17009 cat >>conftest.
$ac_ext <<_ACEOF
17010 /* end confdefs.h. */
17011 $ac_includes_default
17012 typedef long ac__type_sizeof_;
17016 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17023 rm -f conftest.
$ac_objext
17024 if { (ac_try
="$ac_compile"
17025 case "(($ac_try" in
17026 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17027 *) ac_try_echo=$ac_try;;
17029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17030 (eval "$ac_compile") 2>conftest.er1
17032 grep -v '^ *+' conftest.er1 >conftest.err
17034 cat conftest.err >&5
17035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17036 (exit $ac_status); } && {
17037 test -z "$ac_c_werror_flag" ||
17038 test ! -s conftest.err
17039 } && test -s conftest.$ac_objext; then
17042 echo "$as_me: failed program was:" >&5
17043 sed 's/^/| /' conftest.$ac_ext >&5
17045 ac_lo=`expr '(' $ac_mid ')' + 1`
17048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17051 ?*) ac_cv_sizeof_long=$ac_lo;;
17052 '') if test "$ac_cv_type_long" = yes; then
17053 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
17054 See \`config.log
' for more details." >&5
17055 echo "$as_me: error: cannot compute sizeof (long)
17056 See \`config.log' for more details.
" >&2;}
17057 { (exit 77); exit 77; }; }
17059 ac_cv_sizeof_long=0
17063 cat >conftest.$ac_ext <<_ACEOF
17066 cat confdefs.h >>conftest.$ac_ext
17067 cat >>conftest.$ac_ext <<_ACEOF
17068 /* end confdefs.h. */
17069 $ac_includes_default
17070 typedef long ac__type_sizeof_;
17071 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
17072 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
17074 #include <stdlib.h>
17079 FILE *f = fopen ("conftest.val
", "w
");
17082 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
17084 long int i = longval ();
17085 if (i != ((long int) (sizeof (ac__type_sizeof_))))
17087 fprintf (f, "%ld
\n", i);
17091 unsigned long int i = ulongval ();
17092 if (i != ((long int) (sizeof (ac__type_sizeof_))))
17094 fprintf (f, "%lu
\n", i);
17096 return ferror (f) || fclose (f) != 0;
17102 rm -f conftest$ac_exeext
17103 if { (ac_try="$ac_link"
17104 case "(($ac_try" in
17105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17106 *) ac_try_echo=$ac_try;;
17108 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17109 (eval "$ac_link") 2>&5
17111 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17112 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17113 { (case "(($ac_try" in
17114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17115 *) ac_try_echo=$ac_try;;
17117 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17118 (eval "$ac_try") 2>&5
17120 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17121 (exit $ac_status); }; }; then
17122 ac_cv_sizeof_long=`cat conftest.val`
17124 echo "$as_me: program exited with status
$ac_status" >&5
17125 echo "$as_me: failed program was
:" >&5
17126 sed 's/^/| /' conftest.$ac_ext >&5
17128 ( exit $ac_status )
17129 if test "$ac_cv_type_long" = yes; then
17130 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
17131 See \
`config.log' for more details." >&5
17132 echo "$as_me: error: cannot compute sizeof (long)
17133 See \`config.log
' for more details." >&2;}
17134 { (exit 77); exit 77; }; }
17136 ac_cv_sizeof_long=0
17139 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17143 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17144 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
17148 cat >>confdefs.h <<_ACEOF
17149 #define SIZEOF_LONG $ac_cv_sizeof_long
17155 if test $acx_cv_header_stdint = stddef.h; then
17156 # Lacking a good header? Test size of everything and deduce all types.
17157 { echo "$as_me:$LINENO: checking for int" >&5
17158 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
17159 if test "${ac_cv_type_int+set}" = set; then
17160 echo $ECHO_N "(cached) $ECHO_C" >&6
17162 cat >conftest.$ac_ext <<_ACEOF
17165 cat confdefs.h >>conftest.$ac_ext
17166 cat >>conftest.$ac_ext <<_ACEOF
17167 /* end confdefs.h. */
17168 $ac_includes_default
17169 typedef int ac__type_new_;
17173 if ((ac__type_new_ *) 0)
17175 if (sizeof (ac__type_new_))
17181 rm -f conftest.$ac_objext
17182 if { (ac_try="$ac_compile"
17183 case "(($ac_try" in
17184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17185 *) ac_try_echo=$ac_try;;
17187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17188 (eval "$ac_compile") 2>conftest.er1
17190 grep -v '^
*+' conftest.er1 >conftest.err
17192 cat conftest.err >&5
17193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17194 (exit $ac_status); } && {
17195 test -z "$ac_c_werror_flag" ||
17196 test ! -s conftest.err
17197 } && test -s conftest.$ac_objext; then
17200 echo "$as_me: failed program was:" >&5
17201 sed 's
/^
/|
/' conftest.$ac_ext >&5
17206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17208 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
17209 echo "${ECHO_T}$ac_cv_type_int" >&6; }
17211 # The cast to long int works around a bug in the HP C Compiler
17212 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17213 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17214 # This bug is HP SR number 8606223364.
17215 { echo "$as_me:$LINENO: checking size of int" >&5
17216 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
17217 if test "${ac_cv_sizeof_int+set}" = set; then
17218 echo $ECHO_N "(cached) $ECHO_C" >&6
17220 if test "$cross_compiling" = yes; then
17221 # Depending upon the size, compute the lo and hi bounds.
17222 cat >conftest.
$ac_ext <<_ACEOF
17225 cat confdefs.h
>>conftest.
$ac_ext
17226 cat >>conftest.
$ac_ext <<_ACEOF
17227 /* end confdefs.h. */
17228 $ac_includes_default
17229 typedef int ac__type_sizeof_;
17233 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
17240 rm -f conftest.
$ac_objext
17241 if { (ac_try
="$ac_compile"
17242 case "(($ac_try" in
17243 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17244 *) ac_try_echo=$ac_try;;
17246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17247 (eval "$ac_compile") 2>conftest.er1
17249 grep -v '^ *+' conftest.er1 >conftest.err
17251 cat conftest.err >&5
17252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17253 (exit $ac_status); } && {
17254 test -z "$ac_c_werror_flag" ||
17255 test ! -s conftest.err
17256 } && test -s conftest.$ac_objext; then
17259 cat >conftest.$ac_ext <<_ACEOF
17262 cat confdefs.h >>conftest.$ac_ext
17263 cat >>conftest.$ac_ext <<_ACEOF
17264 /* end confdefs.h. */
17265 $ac_includes_default
17266 typedef int ac__type_sizeof_;
17270 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17277 rm -f conftest.$ac_objext
17278 if { (ac_try="$ac_compile"
17279 case "(($ac_try" in
17280 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17281 *) ac_try_echo
=$ac_try;;
17283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17284 (eval "$ac_compile") 2>conftest.er1
17286 grep -v '^ *+' conftest.er1
>conftest.err
17288 cat conftest.err
>&5
17289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290 (exit $ac_status); } && {
17291 test -z "$ac_c_werror_flag" ||
17292 test ! -s conftest.err
17293 } && test -s conftest.
$ac_objext; then
17294 ac_hi
=$ac_mid; break
17296 echo "$as_me: failed program was:" >&5
17297 sed 's/^/| /' conftest.
$ac_ext >&5
17299 ac_lo
=`expr $ac_mid + 1`
17300 if test $ac_lo -le $ac_mid; then
17304 ac_mid
=`expr 2 '*' $ac_mid + 1`
17307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17310 echo "$as_me: failed program was:" >&5
17311 sed 's/^/| /' conftest.
$ac_ext >&5
17313 cat >conftest.
$ac_ext <<_ACEOF
17316 cat confdefs.h
>>conftest.
$ac_ext
17317 cat >>conftest.
$ac_ext <<_ACEOF
17318 /* end confdefs.h. */
17319 $ac_includes_default
17320 typedef int ac__type_sizeof_;
17324 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
17331 rm -f conftest.
$ac_objext
17332 if { (ac_try
="$ac_compile"
17333 case "(($ac_try" in
17334 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17335 *) ac_try_echo=$ac_try;;
17337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17338 (eval "$ac_compile") 2>conftest.er1
17340 grep -v '^ *+' conftest.er1 >conftest.err
17342 cat conftest.err >&5
17343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17344 (exit $ac_status); } && {
17345 test -z "$ac_c_werror_flag" ||
17346 test ! -s conftest.err
17347 } && test -s conftest.$ac_objext; then
17350 cat >conftest.$ac_ext <<_ACEOF
17353 cat confdefs.h >>conftest.$ac_ext
17354 cat >>conftest.$ac_ext <<_ACEOF
17355 /* end confdefs.h. */
17356 $ac_includes_default
17357 typedef int ac__type_sizeof_;
17361 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
17368 rm -f conftest.$ac_objext
17369 if { (ac_try="$ac_compile"
17370 case "(($ac_try" in
17371 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17372 *) ac_try_echo
=$ac_try;;
17374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17375 (eval "$ac_compile") 2>conftest.er1
17377 grep -v '^ *+' conftest.er1
>conftest.err
17379 cat conftest.err
>&5
17380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17381 (exit $ac_status); } && {
17382 test -z "$ac_c_werror_flag" ||
17383 test ! -s conftest.err
17384 } && test -s conftest.
$ac_objext; then
17385 ac_lo
=$ac_mid; break
17387 echo "$as_me: failed program was:" >&5
17388 sed 's/^/| /' conftest.
$ac_ext >&5
17390 ac_hi
=`expr '(' $ac_mid ')' - 1`
17391 if test $ac_mid -le $ac_hi; then
17395 ac_mid
=`expr 2 '*' $ac_mid`
17398 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17401 echo "$as_me: failed program was:" >&5
17402 sed 's/^/| /' conftest.
$ac_ext >&5
17407 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17411 # Binary search between lo and hi bounds.
17412 while test "x$ac_lo" != "x$ac_hi"; do
17413 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17414 cat >conftest.
$ac_ext <<_ACEOF
17417 cat confdefs.h
>>conftest.
$ac_ext
17418 cat >>conftest.
$ac_ext <<_ACEOF
17419 /* end confdefs.h. */
17420 $ac_includes_default
17421 typedef int ac__type_sizeof_;
17425 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17432 rm -f conftest.
$ac_objext
17433 if { (ac_try
="$ac_compile"
17434 case "(($ac_try" in
17435 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17436 *) ac_try_echo=$ac_try;;
17438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17439 (eval "$ac_compile") 2>conftest.er1
17441 grep -v '^ *+' conftest.er1 >conftest.err
17443 cat conftest.err >&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); } && {
17446 test -z "$ac_c_werror_flag" ||
17447 test ! -s conftest.err
17448 } && test -s conftest.$ac_objext; then
17451 echo "$as_me: failed program was:" >&5
17452 sed 's/^/| /' conftest.$ac_ext >&5
17454 ac_lo=`expr '(' $ac_mid ')' + 1`
17457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17460 ?*) ac_cv_sizeof_int=$ac_lo;;
17461 '') if test "$ac_cv_type_int" = yes; then
17462 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
17463 See \`config.log
' for more details." >&5
17464 echo "$as_me: error: cannot compute sizeof (int)
17465 See \`config.log' for more details.
" >&2;}
17466 { (exit 77); exit 77; }; }
17472 cat >conftest.$ac_ext <<_ACEOF
17475 cat confdefs.h >>conftest.$ac_ext
17476 cat >>conftest.$ac_ext <<_ACEOF
17477 /* end confdefs.h. */
17478 $ac_includes_default
17479 typedef int ac__type_sizeof_;
17480 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
17481 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
17483 #include <stdlib.h>
17488 FILE *f = fopen ("conftest.val
", "w
");
17491 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
17493 long int i = longval ();
17494 if (i != ((long int) (sizeof (ac__type_sizeof_))))
17496 fprintf (f, "%ld
\n", i);
17500 unsigned long int i = ulongval ();
17501 if (i != ((long int) (sizeof (ac__type_sizeof_))))
17503 fprintf (f, "%lu
\n", i);
17505 return ferror (f) || fclose (f) != 0;
17511 rm -f conftest$ac_exeext
17512 if { (ac_try="$ac_link"
17513 case "(($ac_try" in
17514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17515 *) ac_try_echo=$ac_try;;
17517 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17518 (eval "$ac_link") 2>&5
17520 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17521 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17522 { (case "(($ac_try" in
17523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17524 *) ac_try_echo=$ac_try;;
17526 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17527 (eval "$ac_try") 2>&5
17529 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17530 (exit $ac_status); }; }; then
17531 ac_cv_sizeof_int=`cat conftest.val`
17533 echo "$as_me: program exited with status
$ac_status" >&5
17534 echo "$as_me: failed program was
:" >&5
17535 sed 's/^/| /' conftest.$ac_ext >&5
17537 ( exit $ac_status )
17538 if test "$ac_cv_type_int" = yes; then
17539 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
17540 See \
`config.log' for more details." >&5
17541 echo "$as_me: error: cannot compute sizeof (int)
17542 See \`config.log
' for more details." >&2;}
17543 { (exit 77); exit 77; }; }
17548 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17552 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17553 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
17557 cat >>confdefs.h <<_ACEOF
17558 #define SIZEOF_INT $ac_cv_sizeof_int
17562 { echo "$as_me:$LINENO: checking for short" >&5
17563 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
17564 if test "${ac_cv_type_short+set}" = set; then
17565 echo $ECHO_N "(cached) $ECHO_C" >&6
17567 cat >conftest.$ac_ext <<_ACEOF
17570 cat confdefs.h >>conftest.$ac_ext
17571 cat >>conftest.$ac_ext <<_ACEOF
17572 /* end confdefs.h. */
17573 $ac_includes_default
17574 typedef short ac__type_new_;
17578 if ((ac__type_new_ *) 0)
17580 if (sizeof (ac__type_new_))
17586 rm -f conftest.$ac_objext
17587 if { (ac_try="$ac_compile"
17588 case "(($ac_try" in
17589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17590 *) ac_try_echo=$ac_try;;
17592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17593 (eval "$ac_compile") 2>conftest.er1
17595 grep -v '^
*+' conftest.er1 >conftest.err
17597 cat conftest.err >&5
17598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17599 (exit $ac_status); } && {
17600 test -z "$ac_c_werror_flag" ||
17601 test ! -s conftest.err
17602 } && test -s conftest.$ac_objext; then
17603 ac_cv_type_short=yes
17605 echo "$as_me: failed program was:" >&5
17606 sed 's
/^
/|
/' conftest.$ac_ext >&5
17608 ac_cv_type_short=no
17611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17613 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17614 echo "${ECHO_T}$ac_cv_type_short" >&6; }
17616 # The cast to long int works around a bug in the HP C Compiler
17617 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17618 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17619 # This bug is HP SR number 8606223364.
17620 { echo "$as_me:$LINENO: checking size of short" >&5
17621 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
17622 if test "${ac_cv_sizeof_short+set}" = set; then
17623 echo $ECHO_N "(cached) $ECHO_C" >&6
17625 if test "$cross_compiling" = yes; then
17626 # Depending upon the size, compute the lo and hi bounds.
17627 cat >conftest.
$ac_ext <<_ACEOF
17630 cat confdefs.h
>>conftest.
$ac_ext
17631 cat >>conftest.
$ac_ext <<_ACEOF
17632 /* end confdefs.h. */
17633 $ac_includes_default
17634 typedef short ac__type_sizeof_;
17638 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
17645 rm -f conftest.
$ac_objext
17646 if { (ac_try
="$ac_compile"
17647 case "(($ac_try" in
17648 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17649 *) ac_try_echo=$ac_try;;
17651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17652 (eval "$ac_compile") 2>conftest.er1
17654 grep -v '^ *+' conftest.er1 >conftest.err
17656 cat conftest.err >&5
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); } && {
17659 test -z "$ac_c_werror_flag" ||
17660 test ! -s conftest.err
17661 } && test -s conftest.$ac_objext; then
17664 cat >conftest.$ac_ext <<_ACEOF
17667 cat confdefs.h >>conftest.$ac_ext
17668 cat >>conftest.$ac_ext <<_ACEOF
17669 /* end confdefs.h. */
17670 $ac_includes_default
17671 typedef short ac__type_sizeof_;
17675 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17682 rm -f conftest.$ac_objext
17683 if { (ac_try="$ac_compile"
17684 case "(($ac_try" in
17685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17686 *) ac_try_echo
=$ac_try;;
17688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17689 (eval "$ac_compile") 2>conftest.er1
17691 grep -v '^ *+' conftest.er1
>conftest.err
17693 cat conftest.err
>&5
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); } && {
17696 test -z "$ac_c_werror_flag" ||
17697 test ! -s conftest.err
17698 } && test -s conftest.
$ac_objext; then
17699 ac_hi
=$ac_mid; break
17701 echo "$as_me: failed program was:" >&5
17702 sed 's/^/| /' conftest.
$ac_ext >&5
17704 ac_lo
=`expr $ac_mid + 1`
17705 if test $ac_lo -le $ac_mid; then
17709 ac_mid
=`expr 2 '*' $ac_mid + 1`
17712 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17715 echo "$as_me: failed program was:" >&5
17716 sed 's/^/| /' conftest.
$ac_ext >&5
17718 cat >conftest.
$ac_ext <<_ACEOF
17721 cat confdefs.h
>>conftest.
$ac_ext
17722 cat >>conftest.
$ac_ext <<_ACEOF
17723 /* end confdefs.h. */
17724 $ac_includes_default
17725 typedef short ac__type_sizeof_;
17729 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
17736 rm -f conftest.
$ac_objext
17737 if { (ac_try
="$ac_compile"
17738 case "(($ac_try" in
17739 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17740 *) ac_try_echo=$ac_try;;
17742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17743 (eval "$ac_compile") 2>conftest.er1
17745 grep -v '^ *+' conftest.er1 >conftest.err
17747 cat conftest.err >&5
17748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17749 (exit $ac_status); } && {
17750 test -z "$ac_c_werror_flag" ||
17751 test ! -s conftest.err
17752 } && test -s conftest.$ac_objext; then
17755 cat >conftest.$ac_ext <<_ACEOF
17758 cat confdefs.h >>conftest.$ac_ext
17759 cat >>conftest.$ac_ext <<_ACEOF
17760 /* end confdefs.h. */
17761 $ac_includes_default
17762 typedef short ac__type_sizeof_;
17766 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
17773 rm -f conftest.$ac_objext
17774 if { (ac_try="$ac_compile"
17775 case "(($ac_try" in
17776 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17777 *) ac_try_echo
=$ac_try;;
17779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17780 (eval "$ac_compile") 2>conftest.er1
17782 grep -v '^ *+' conftest.er1
>conftest.err
17784 cat conftest.err
>&5
17785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17786 (exit $ac_status); } && {
17787 test -z "$ac_c_werror_flag" ||
17788 test ! -s conftest.err
17789 } && test -s conftest.
$ac_objext; then
17790 ac_lo
=$ac_mid; break
17792 echo "$as_me: failed program was:" >&5
17793 sed 's/^/| /' conftest.
$ac_ext >&5
17795 ac_hi
=`expr '(' $ac_mid ')' - 1`
17796 if test $ac_mid -le $ac_hi; then
17800 ac_mid
=`expr 2 '*' $ac_mid`
17803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17806 echo "$as_me: failed program was:" >&5
17807 sed 's/^/| /' conftest.
$ac_ext >&5
17812 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17815 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17816 # Binary search between lo and hi bounds.
17817 while test "x$ac_lo" != "x$ac_hi"; do
17818 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17819 cat >conftest.
$ac_ext <<_ACEOF
17822 cat confdefs.h
>>conftest.
$ac_ext
17823 cat >>conftest.
$ac_ext <<_ACEOF
17824 /* end confdefs.h. */
17825 $ac_includes_default
17826 typedef short ac__type_sizeof_;
17830 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17837 rm -f conftest.
$ac_objext
17838 if { (ac_try
="$ac_compile"
17839 case "(($ac_try" in
17840 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17841 *) ac_try_echo=$ac_try;;
17843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17844 (eval "$ac_compile") 2>conftest.er1
17846 grep -v '^ *+' conftest.er1 >conftest.err
17848 cat conftest.err >&5
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); } && {
17851 test -z "$ac_c_werror_flag" ||
17852 test ! -s conftest.err
17853 } && test -s conftest.$ac_objext; then
17856 echo "$as_me: failed program was:" >&5
17857 sed 's/^/| /' conftest.$ac_ext >&5
17859 ac_lo=`expr '(' $ac_mid ')' + 1`
17862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17865 ?*) ac_cv_sizeof_short=$ac_lo;;
17866 '') if test "$ac_cv_type_short" = yes; then
17867 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
17868 See \`config.log
' for more details." >&5
17869 echo "$as_me: error: cannot compute sizeof (short)
17870 See \`config.log' for more details.
" >&2;}
17871 { (exit 77); exit 77; }; }
17873 ac_cv_sizeof_short=0
17877 cat >conftest.$ac_ext <<_ACEOF
17880 cat confdefs.h >>conftest.$ac_ext
17881 cat >>conftest.$ac_ext <<_ACEOF
17882 /* end confdefs.h. */
17883 $ac_includes_default
17884 typedef short ac__type_sizeof_;
17885 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
17886 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
17888 #include <stdlib.h>
17893 FILE *f = fopen ("conftest.val
", "w
");
17896 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
17898 long int i = longval ();
17899 if (i != ((long int) (sizeof (ac__type_sizeof_))))
17901 fprintf (f, "%ld
\n", i);
17905 unsigned long int i = ulongval ();
17906 if (i != ((long int) (sizeof (ac__type_sizeof_))))
17908 fprintf (f, "%lu
\n", i);
17910 return ferror (f) || fclose (f) != 0;
17916 rm -f conftest$ac_exeext
17917 if { (ac_try="$ac_link"
17918 case "(($ac_try" in
17919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17920 *) ac_try_echo=$ac_try;;
17922 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17923 (eval "$ac_link") 2>&5
17925 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17926 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17927 { (case "(($ac_try" in
17928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17929 *) ac_try_echo=$ac_try;;
17931 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
17932 (eval "$ac_try") 2>&5
17934 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
17935 (exit $ac_status); }; }; then
17936 ac_cv_sizeof_short=`cat conftest.val`
17938 echo "$as_me: program exited with status
$ac_status" >&5
17939 echo "$as_me: failed program was
:" >&5
17940 sed 's/^/| /' conftest.$ac_ext >&5
17942 ( exit $ac_status )
17943 if test "$ac_cv_type_short" = yes; then
17944 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
17945 See \
`config.log' for more details." >&5
17946 echo "$as_me: error: cannot compute sizeof (short)
17947 See \`config.log
' for more details." >&2;}
17948 { (exit 77); exit 77; }; }
17950 ac_cv_sizeof_short=0
17953 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17957 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17958 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
17962 cat >>confdefs.h <<_ACEOF
17963 #define SIZEOF_SHORT $ac_cv_sizeof_short
17967 { echo "$as_me:$LINENO: checking for char" >&5
17968 echo $ECHO_N "checking for char... $ECHO_C" >&6; }
17969 if test "${ac_cv_type_char+set}" = set; then
17970 echo $ECHO_N "(cached) $ECHO_C" >&6
17972 cat >conftest.$ac_ext <<_ACEOF
17975 cat confdefs.h >>conftest.$ac_ext
17976 cat >>conftest.$ac_ext <<_ACEOF
17977 /* end confdefs.h. */
17978 $ac_includes_default
17979 typedef char ac__type_new_;
17983 if ((ac__type_new_ *) 0)
17985 if (sizeof (ac__type_new_))
17991 rm -f conftest.$ac_objext
17992 if { (ac_try="$ac_compile"
17993 case "(($ac_try" in
17994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17995 *) ac_try_echo=$ac_try;;
17997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17998 (eval "$ac_compile") 2>conftest.er1
18000 grep -v '^
*+' conftest.er1 >conftest.err
18002 cat conftest.err >&5
18003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18004 (exit $ac_status); } && {
18005 test -z "$ac_c_werror_flag" ||
18006 test ! -s conftest.err
18007 } && test -s conftest.$ac_objext; then
18008 ac_cv_type_char=yes
18010 echo "$as_me: failed program was:" >&5
18011 sed 's
/^
/|
/' conftest.$ac_ext >&5
18016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18018 { echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18019 echo "${ECHO_T}$ac_cv_type_char" >&6; }
18021 # The cast to long int works around a bug in the HP C Compiler
18022 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18023 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18024 # This bug is HP SR number 8606223364.
18025 { echo "$as_me:$LINENO: checking size of char" >&5
18026 echo $ECHO_N "checking size of char... $ECHO_C" >&6; }
18027 if test "${ac_cv_sizeof_char+set}" = set; then
18028 echo $ECHO_N "(cached) $ECHO_C" >&6
18030 if test "$cross_compiling" = yes; then
18031 # Depending upon the size, compute the lo and hi bounds.
18032 cat >conftest.
$ac_ext <<_ACEOF
18035 cat confdefs.h
>>conftest.
$ac_ext
18036 cat >>conftest.
$ac_ext <<_ACEOF
18037 /* end confdefs.h. */
18038 $ac_includes_default
18039 typedef char ac__type_sizeof_;
18043 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18050 rm -f conftest.
$ac_objext
18051 if { (ac_try
="$ac_compile"
18052 case "(($ac_try" in
18053 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18054 *) ac_try_echo=$ac_try;;
18056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18057 (eval "$ac_compile") 2>conftest.er1
18059 grep -v '^ *+' conftest.er1 >conftest.err
18061 cat conftest.err >&5
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); } && {
18064 test -z "$ac_c_werror_flag" ||
18065 test ! -s conftest.err
18066 } && test -s conftest.$ac_objext; then
18069 cat >conftest.$ac_ext <<_ACEOF
18072 cat confdefs.h >>conftest.$ac_ext
18073 cat >>conftest.$ac_ext <<_ACEOF
18074 /* end confdefs.h. */
18075 $ac_includes_default
18076 typedef char ac__type_sizeof_;
18080 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18087 rm -f conftest.$ac_objext
18088 if { (ac_try="$ac_compile"
18089 case "(($ac_try" in
18090 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18091 *) ac_try_echo
=$ac_try;;
18093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18094 (eval "$ac_compile") 2>conftest.er1
18096 grep -v '^ *+' conftest.er1
>conftest.err
18098 cat conftest.err
>&5
18099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18100 (exit $ac_status); } && {
18101 test -z "$ac_c_werror_flag" ||
18102 test ! -s conftest.err
18103 } && test -s conftest.
$ac_objext; then
18104 ac_hi
=$ac_mid; break
18106 echo "$as_me: failed program was:" >&5
18107 sed 's/^/| /' conftest.
$ac_ext >&5
18109 ac_lo
=`expr $ac_mid + 1`
18110 if test $ac_lo -le $ac_mid; then
18114 ac_mid
=`expr 2 '*' $ac_mid + 1`
18117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18120 echo "$as_me: failed program was:" >&5
18121 sed 's/^/| /' conftest.
$ac_ext >&5
18123 cat >conftest.
$ac_ext <<_ACEOF
18126 cat confdefs.h
>>conftest.
$ac_ext
18127 cat >>conftest.
$ac_ext <<_ACEOF
18128 /* end confdefs.h. */
18129 $ac_includes_default
18130 typedef char ac__type_sizeof_;
18134 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18141 rm -f conftest.
$ac_objext
18142 if { (ac_try
="$ac_compile"
18143 case "(($ac_try" in
18144 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18145 *) ac_try_echo=$ac_try;;
18147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18148 (eval "$ac_compile") 2>conftest.er1
18150 grep -v '^ *+' conftest.er1 >conftest.err
18152 cat conftest.err >&5
18153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154 (exit $ac_status); } && {
18155 test -z "$ac_c_werror_flag" ||
18156 test ! -s conftest.err
18157 } && test -s conftest.$ac_objext; then
18160 cat >conftest.$ac_ext <<_ACEOF
18163 cat confdefs.h >>conftest.$ac_ext
18164 cat >>conftest.$ac_ext <<_ACEOF
18165 /* end confdefs.h. */
18166 $ac_includes_default
18167 typedef char ac__type_sizeof_;
18171 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18178 rm -f conftest.$ac_objext
18179 if { (ac_try="$ac_compile"
18180 case "(($ac_try" in
18181 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18182 *) ac_try_echo
=$ac_try;;
18184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18185 (eval "$ac_compile") 2>conftest.er1
18187 grep -v '^ *+' conftest.er1
>conftest.err
18189 cat conftest.err
>&5
18190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18191 (exit $ac_status); } && {
18192 test -z "$ac_c_werror_flag" ||
18193 test ! -s conftest.err
18194 } && test -s conftest.
$ac_objext; then
18195 ac_lo
=$ac_mid; break
18197 echo "$as_me: failed program was:" >&5
18198 sed 's/^/| /' conftest.
$ac_ext >&5
18200 ac_hi
=`expr '(' $ac_mid ')' - 1`
18201 if test $ac_mid -le $ac_hi; then
18205 ac_mid
=`expr 2 '*' $ac_mid`
18208 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18211 echo "$as_me: failed program was:" >&5
18212 sed 's/^/| /' conftest.
$ac_ext >&5
18217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18221 # Binary search between lo and hi bounds.
18222 while test "x$ac_lo" != "x$ac_hi"; do
18223 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18224 cat >conftest.
$ac_ext <<_ACEOF
18227 cat confdefs.h
>>conftest.
$ac_ext
18228 cat >>conftest.
$ac_ext <<_ACEOF
18229 /* end confdefs.h. */
18230 $ac_includes_default
18231 typedef char ac__type_sizeof_;
18235 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18242 rm -f conftest.
$ac_objext
18243 if { (ac_try
="$ac_compile"
18244 case "(($ac_try" in
18245 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18246 *) ac_try_echo=$ac_try;;
18248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18249 (eval "$ac_compile") 2>conftest.er1
18251 grep -v '^ *+' conftest.er1 >conftest.err
18253 cat conftest.err >&5
18254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18255 (exit $ac_status); } && {
18256 test -z "$ac_c_werror_flag" ||
18257 test ! -s conftest.err
18258 } && test -s conftest.$ac_objext; then
18261 echo "$as_me: failed program was:" >&5
18262 sed 's/^/| /' conftest.$ac_ext >&5
18264 ac_lo=`expr '(' $ac_mid ')' + 1`
18267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18270 ?*) ac_cv_sizeof_char=$ac_lo;;
18271 '') if test "$ac_cv_type_char" = yes; then
18272 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
18273 See \`config.log
' for more details." >&5
18274 echo "$as_me: error: cannot compute sizeof (char)
18275 See \`config.log' for more details.
" >&2;}
18276 { (exit 77); exit 77; }; }
18278 ac_cv_sizeof_char=0
18282 cat >conftest.$ac_ext <<_ACEOF
18285 cat confdefs.h >>conftest.$ac_ext
18286 cat >>conftest.$ac_ext <<_ACEOF
18287 /* end confdefs.h. */
18288 $ac_includes_default
18289 typedef char ac__type_sizeof_;
18290 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18291 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18293 #include <stdlib.h>
18298 FILE *f = fopen ("conftest.val
", "w
");
18301 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18303 long int i = longval ();
18304 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18306 fprintf (f, "%ld
\n", i);
18310 unsigned long int i = ulongval ();
18311 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18313 fprintf (f, "%lu
\n", i);
18315 return ferror (f) || fclose (f) != 0;
18321 rm -f conftest$ac_exeext
18322 if { (ac_try="$ac_link"
18323 case "(($ac_try" in
18324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18325 *) ac_try_echo=$ac_try;;
18327 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18328 (eval "$ac_link") 2>&5
18330 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18331 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18332 { (case "(($ac_try" in
18333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18334 *) ac_try_echo=$ac_try;;
18336 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18337 (eval "$ac_try") 2>&5
18339 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18340 (exit $ac_status); }; }; then
18341 ac_cv_sizeof_char=`cat conftest.val`
18343 echo "$as_me: program exited with status
$ac_status" >&5
18344 echo "$as_me: failed program was
:" >&5
18345 sed 's/^/| /' conftest.$ac_ext >&5
18347 ( exit $ac_status )
18348 if test "$ac_cv_type_char" = yes; then
18349 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(char
)
18350 See \
`config.log' for more details." >&5
18351 echo "$as_me: error: cannot compute sizeof (char)
18352 See \`config.log
' for more details." >&2;}
18353 { (exit 77); exit 77; }; }
18355 ac_cv_sizeof_char=0
18358 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18362 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18363 echo "${ECHO_T}$ac_cv_sizeof_char" >&6; }
18367 cat >>confdefs.h <<_ACEOF
18368 #define SIZEOF_CHAR $ac_cv_sizeof_char
18373 { echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
18374 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6; }
18375 case "$ac_cv_sizeof_char" in
18376 1) acx_cv_type_int8_t=char ;;
18377 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
18378 echo "$as_me: error: no 8-bit type" >&2;}
18379 { (exit please report a bug); exit please report a bug; }; }
18381 { echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
18382 echo "${ECHO_T}$acx_cv_type_int8_t" >&6; }
18384 { echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
18385 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6; }
18386 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
18387 2:*) acx_cv_type_int16_t=int ;;
18388 *:2) acx_cv_type_int16_t=short ;;
18389 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
18390 echo "$as_me: error: no 16-bit type" >&2;}
18391 { (exit please report a bug); exit please report a bug; }; }
18393 { echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
18394 echo "${ECHO_T}$acx_cv_type_int16_t" >&6; }
18396 { echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
18397 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6; }
18398 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
18399 4:*) acx_cv_type_int32_t=int ;;
18400 *:4) acx_cv_type_int32_t=long ;;
18401 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
18402 echo "$as_me: error: no 32-bit type" >&2;}
18403 { (exit please report a bug); exit please report a bug; }; }
18405 { echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
18406 echo "${ECHO_T}$acx_cv_type_int32_t" >&6; }
18409 # These tests are here to make the output prettier
18411 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
18412 case "$ac_cv_sizeof_long" in
18413 8) acx_cv_type_int64_t=long ;;
18415 { echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
18416 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6; }
18417 { echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
18418 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
18421 # Now we can use the above types
18423 if test "$ac_cv_type_uintptr_t" != yes; then
18424 { echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
18425 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6; }
18426 case $ac_cv_sizeof_void_p in
18427 2) acx_cv_type_intptr_t=int16_t ;;
18428 4) acx_cv_type_intptr_t=int32_t ;;
18429 8) acx_cv_type_intptr_t=int64_t ;;
18430 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
18431 echo "$as_me: error: no equivalent for intptr_t" >&2;}
18432 { (exit please report a bug); exit please report a bug; }; }
18434 { echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
18435 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6; }
18438 # ----------------- done all checks, emit header -------------
18439 ac_config_commands="$ac_config_commands gstdint.h"
18444 { echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
18445 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; }
18446 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
18447 echo $ECHO_N "(cached) $ECHO_C" >&6
18449 cat >conftest.$ac_ext <<_ACEOF
18452 cat confdefs.h >>conftest.$ac_ext
18453 cat >>conftest.$ac_ext <<_ACEOF
18454 /* end confdefs.h. */
18455 $ac_includes_default
18459 static struct stat ac_aggr;
18460 if (ac_aggr.st_blksize)
18466 rm -f conftest.$ac_objext
18467 if { (ac_try="$ac_compile"
18468 case "(($ac_try" in
18469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18470 *) ac_try_echo=$ac_try;;
18472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18473 (eval "$ac_compile") 2>conftest.er1
18475 grep -v '^
*+' conftest.er1 >conftest.err
18477 cat conftest.err >&5
18478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18479 (exit $ac_status); } && {
18480 test -z "$ac_c_werror_flag" ||
18481 test ! -s conftest.err
18482 } && test -s conftest.$ac_objext; then
18483 ac_cv_member_struct_stat_st_blksize=yes
18485 echo "$as_me: failed program was:" >&5
18486 sed 's
/^
/|
/' conftest.$ac_ext >&5
18488 cat >conftest.$ac_ext <<_ACEOF
18491 cat confdefs.h >>conftest.$ac_ext
18492 cat >>conftest.$ac_ext <<_ACEOF
18493 /* end confdefs.h. */
18494 $ac_includes_default
18498 static struct stat ac_aggr;
18499 if (sizeof ac_aggr.st_blksize)
18505 rm -f conftest.$ac_objext
18506 if { (ac_try="$ac_compile"
18507 case "(($ac_try" in
18508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18509 *) ac_try_echo=$ac_try;;
18511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18512 (eval "$ac_compile") 2>conftest.er1
18514 grep -v '^
*+' conftest.er1 >conftest.err
18516 cat conftest.err >&5
18517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18518 (exit $ac_status); } && {
18519 test -z "$ac_c_werror_flag" ||
18520 test ! -s conftest.err
18521 } && test -s conftest.$ac_objext; then
18522 ac_cv_member_struct_stat_st_blksize=yes
18524 echo "$as_me: failed program was:" >&5
18525 sed 's
/^
/|
/' conftest.$ac_ext >&5
18527 ac_cv_member_struct_stat_st_blksize=no
18530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18535 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
18536 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; }
18537 if test $ac_cv_member_struct_stat_st_blksize = yes; then
18539 cat >>confdefs.h <<_ACEOF
18540 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
18546 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
18547 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
18548 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
18549 echo $ECHO_N "(cached) $ECHO_C" >&6
18551 cat >conftest.$ac_ext <<_ACEOF
18554 cat confdefs.h >>conftest.$ac_ext
18555 cat >>conftest.$ac_ext <<_ACEOF
18556 /* end confdefs.h. */
18557 $ac_includes_default
18561 static struct stat ac_aggr;
18562 if (ac_aggr.st_blocks)
18568 rm -f conftest.$ac_objext
18569 if { (ac_try="$ac_compile"
18570 case "(($ac_try" in
18571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18572 *) ac_try_echo=$ac_try;;
18574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18575 (eval "$ac_compile") 2>conftest.er1
18577 grep -v '^
*+' conftest.er1 >conftest.err
18579 cat conftest.err >&5
18580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18581 (exit $ac_status); } && {
18582 test -z "$ac_c_werror_flag" ||
18583 test ! -s conftest.err
18584 } && test -s conftest.$ac_objext; then
18585 ac_cv_member_struct_stat_st_blocks=yes
18587 echo "$as_me: failed program was:" >&5
18588 sed 's
/^
/|
/' conftest.$ac_ext >&5
18590 cat >conftest.$ac_ext <<_ACEOF
18593 cat confdefs.h >>conftest.$ac_ext
18594 cat >>conftest.$ac_ext <<_ACEOF
18595 /* end confdefs.h. */
18596 $ac_includes_default
18600 static struct stat ac_aggr;
18601 if (sizeof ac_aggr.st_blocks)
18607 rm -f conftest.$ac_objext
18608 if { (ac_try="$ac_compile"
18609 case "(($ac_try" in
18610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18611 *) ac_try_echo=$ac_try;;
18613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18614 (eval "$ac_compile") 2>conftest.er1
18616 grep -v '^
*+' conftest.er1 >conftest.err
18618 cat conftest.err >&5
18619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18620 (exit $ac_status); } && {
18621 test -z "$ac_c_werror_flag" ||
18622 test ! -s conftest.err
18623 } && test -s conftest.$ac_objext; then
18624 ac_cv_member_struct_stat_st_blocks=yes
18626 echo "$as_me: failed program was:" >&5
18627 sed 's
/^
/|
/' conftest.$ac_ext >&5
18629 ac_cv_member_struct_stat_st_blocks=no
18632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18637 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
18638 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
18639 if test $ac_cv_member_struct_stat_st_blocks = yes; then
18641 cat >>confdefs.h <<_ACEOF
18642 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18648 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
18649 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
18650 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
18651 echo $ECHO_N "(cached) $ECHO_C" >&6
18653 cat >conftest.$ac_ext <<_ACEOF
18656 cat confdefs.h >>conftest.$ac_ext
18657 cat >>conftest.$ac_ext <<_ACEOF
18658 /* end confdefs.h. */
18659 $ac_includes_default
18663 static struct stat ac_aggr;
18664 if (ac_aggr.st_rdev)
18670 rm -f conftest.$ac_objext
18671 if { (ac_try="$ac_compile"
18672 case "(($ac_try" in
18673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18674 *) ac_try_echo=$ac_try;;
18676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18677 (eval "$ac_compile") 2>conftest.er1
18679 grep -v '^
*+' conftest.er1 >conftest.err
18681 cat conftest.err >&5
18682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18683 (exit $ac_status); } && {
18684 test -z "$ac_c_werror_flag" ||
18685 test ! -s conftest.err
18686 } && test -s conftest.$ac_objext; then
18687 ac_cv_member_struct_stat_st_rdev=yes
18689 echo "$as_me: failed program was:" >&5
18690 sed 's
/^
/|
/' conftest.$ac_ext >&5
18692 cat >conftest.$ac_ext <<_ACEOF
18695 cat confdefs.h >>conftest.$ac_ext
18696 cat >>conftest.$ac_ext <<_ACEOF
18697 /* end confdefs.h. */
18698 $ac_includes_default
18702 static struct stat ac_aggr;
18703 if (sizeof ac_aggr.st_rdev)
18709 rm -f conftest.$ac_objext
18710 if { (ac_try="$ac_compile"
18711 case "(($ac_try" in
18712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18713 *) ac_try_echo=$ac_try;;
18715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18716 (eval "$ac_compile") 2>conftest.er1
18718 grep -v '^
*+' conftest.er1 >conftest.err
18720 cat conftest.err >&5
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); } && {
18723 test -z "$ac_c_werror_flag" ||
18724 test ! -s conftest.err
18725 } && test -s conftest.$ac_objext; then
18726 ac_cv_member_struct_stat_st_rdev=yes
18728 echo "$as_me: failed program was:" >&5
18729 sed 's
/^
/|
/' conftest.$ac_ext >&5
18731 ac_cv_member_struct_stat_st_rdev=no
18734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18739 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
18740 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
18741 if test $ac_cv_member_struct_stat_st_rdev = yes; then
18743 cat >>confdefs.h <<_ACEOF
18744 #define HAVE_STRUCT_STAT_ST_RDEV 1
18751 # Check for library functions.
18760 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
18762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18763 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18765 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18766 echo $ECHO_N "(cached) $ECHO_C" >&6
18768 if test x$gcc_no_link = xyes; then
18769 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18771 { (exit 1); exit 1; }; }
18773 cat >conftest.$ac_ext <<_ACEOF
18776 cat confdefs.h >>conftest.$ac_ext
18777 cat >>conftest.$ac_ext <<_ACEOF
18778 /* end confdefs.h. */
18779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18781 #define $ac_func innocuous_$ac_func
18783 /* System header to define __stub macros and hopefully few prototypes,
18784 which can conflict with char $ac_func (); below.
18785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18786 <limits.h> exists even on freestanding compilers. */
18789 # include <limits.h>
18791 # include <assert.h>
18796 /* Override any GCC internal prototype to avoid an error.
18797 Use char because int might match the return type of a GCC
18798 builtin and then its argument prototype would still apply. */
18803 /* The GNU C library defines this for functions which it implements
18804 to always fail with ENOSYS. Some functions are actually named
18805 something starting with __ and the normal name is an alias. */
18806 #if defined __stub_$ac_func || defined __stub___$ac_func
18813 return $ac_func ();
18818 rm -f conftest.$ac_objext conftest$ac_exeext
18819 if { (ac_try="$ac_link"
18820 case "(($ac_try" in
18821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18822 *) ac_try_echo=$ac_try;;
18824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18825 (eval "$ac_link") 2>conftest.er1
18827 grep -v '^
*+' conftest.er1 >conftest.err
18829 cat conftest.err >&5
18830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18831 (exit $ac_status); } && {
18832 test -z "$ac_c_werror_flag" ||
18833 test ! -s conftest.err
18834 } && test -s conftest$ac_exeext &&
18835 $as_test_x conftest$ac_exeext; then
18836 eval "$as_ac_var=yes"
18838 echo "$as_me: failed program was:" >&5
18839 sed 's
/^
/|
/' conftest.$ac_ext >&5
18841 eval "$as_ac_var=no"
18844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18845 conftest$ac_exeext conftest.$ac_ext
18847 ac_res=`eval echo '${'$as_ac_var'}'`
18848 { echo "$as_me:$LINENO: result: $ac_res" >&5
18849 echo "${ECHO_T}$ac_res" >&6; }
18850 if test `eval echo '${'$as_ac_var'}'` = yes; then
18851 cat >>confdefs.h <<_ACEOF
18852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18866 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
18868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18869 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18871 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18872 echo $ECHO_N "(cached) $ECHO_C" >&6
18874 if test x$gcc_no_link = xyes; then
18875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18877 { (exit 1); exit 1; }; }
18879 cat >conftest.$ac_ext <<_ACEOF
18882 cat confdefs.h >>conftest.$ac_ext
18883 cat >>conftest.$ac_ext <<_ACEOF
18884 /* end confdefs.h. */
18885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18887 #define $ac_func innocuous_$ac_func
18889 /* System header to define __stub macros and hopefully few prototypes,
18890 which can conflict with char $ac_func (); below.
18891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18892 <limits.h> exists even on freestanding compilers. */
18895 # include <limits.h>
18897 # include <assert.h>
18902 /* Override any GCC internal prototype to avoid an error.
18903 Use char because int might match the return type of a GCC
18904 builtin and then its argument prototype would still apply. */
18909 /* The GNU C library defines this for functions which it implements
18910 to always fail with ENOSYS. Some functions are actually named
18911 something starting with __ and the normal name is an alias. */
18912 #if defined __stub_$ac_func || defined __stub___$ac_func
18919 return $ac_func ();
18924 rm -f conftest.$ac_objext conftest$ac_exeext
18925 if { (ac_try="$ac_link"
18926 case "(($ac_try" in
18927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18928 *) ac_try_echo=$ac_try;;
18930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18931 (eval "$ac_link") 2>conftest.er1
18933 grep -v '^
*+' conftest.er1 >conftest.err
18935 cat conftest.err >&5
18936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18937 (exit $ac_status); } && {
18938 test -z "$ac_c_werror_flag" ||
18939 test ! -s conftest.err
18940 } && test -s conftest$ac_exeext &&
18941 $as_test_x conftest$ac_exeext; then
18942 eval "$as_ac_var=yes"
18944 echo "$as_me: failed program was:" >&5
18945 sed 's
/^
/|
/' conftest.$ac_ext >&5
18947 eval "$as_ac_var=no"
18950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18951 conftest$ac_exeext conftest.$ac_ext
18953 ac_res=`eval echo '${'$as_ac_var'}'`
18954 { echo "$as_me:$LINENO: result: $ac_res" >&5
18955 echo "${ECHO_T}$ac_res" >&6; }
18956 if test `eval echo '${'$as_ac_var'}'` = yes; then
18957 cat >>confdefs.h <<_ACEOF
18958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18974 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
18976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18977 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18979 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18980 echo $ECHO_N "(cached) $ECHO_C" >&6
18982 if test x$gcc_no_link = xyes; then
18983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18985 { (exit 1); exit 1; }; }
18987 cat >conftest.$ac_ext <<_ACEOF
18990 cat confdefs.h >>conftest.$ac_ext
18991 cat >>conftest.$ac_ext <<_ACEOF
18992 /* end confdefs.h. */
18993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18995 #define $ac_func innocuous_$ac_func
18997 /* System header to define __stub macros and hopefully few prototypes,
18998 which can conflict with char $ac_func (); below.
18999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19000 <limits.h> exists even on freestanding compilers. */
19003 # include <limits.h>
19005 # include <assert.h>
19010 /* Override any GCC internal prototype to avoid an error.
19011 Use char because int might match the return type of a GCC
19012 builtin and then its argument prototype would still apply. */
19017 /* The GNU C library defines this for functions which it implements
19018 to always fail with ENOSYS. Some functions are actually named
19019 something starting with __ and the normal name is an alias. */
19020 #if defined __stub_$ac_func || defined __stub___$ac_func
19027 return $ac_func ();
19032 rm -f conftest.$ac_objext conftest$ac_exeext
19033 if { (ac_try="$ac_link"
19034 case "(($ac_try" in
19035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19036 *) ac_try_echo=$ac_try;;
19038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19039 (eval "$ac_link") 2>conftest.er1
19041 grep -v '^
*+' conftest.er1 >conftest.err
19043 cat conftest.err >&5
19044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19045 (exit $ac_status); } && {
19046 test -z "$ac_c_werror_flag" ||
19047 test ! -s conftest.err
19048 } && test -s conftest$ac_exeext &&
19049 $as_test_x conftest$ac_exeext; then
19050 eval "$as_ac_var=yes"
19052 echo "$as_me: failed program was:" >&5
19053 sed 's
/^
/|
/' conftest.$ac_ext >&5
19055 eval "$as_ac_var=no"
19058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19059 conftest$ac_exeext conftest.$ac_ext
19061 ac_res=`eval echo '${'$as_ac_var'}'`
19062 { echo "$as_me:$LINENO: result: $ac_res" >&5
19063 echo "${ECHO_T}$ac_res" >&6; }
19064 if test `eval echo '${'$as_ac_var'}'` = yes; then
19065 cat >>confdefs.h <<_ACEOF
19066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19081 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
19083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19084 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19086 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19087 echo $ECHO_N "(cached) $ECHO_C" >&6
19089 if test x$gcc_no_link = xyes; then
19090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19092 { (exit 1); exit 1; }; }
19094 cat >conftest.$ac_ext <<_ACEOF
19097 cat confdefs.h >>conftest.$ac_ext
19098 cat >>conftest.$ac_ext <<_ACEOF
19099 /* end confdefs.h. */
19100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19102 #define $ac_func innocuous_$ac_func
19104 /* System header to define __stub macros and hopefully few prototypes,
19105 which can conflict with char $ac_func (); below.
19106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19107 <limits.h> exists even on freestanding compilers. */
19110 # include <limits.h>
19112 # include <assert.h>
19117 /* Override any GCC internal prototype to avoid an error.
19118 Use char because int might match the return type of a GCC
19119 builtin and then its argument prototype would still apply. */
19124 /* The GNU C library defines this for functions which it implements
19125 to always fail with ENOSYS. Some functions are actually named
19126 something starting with __ and the normal name is an alias. */
19127 #if defined __stub_$ac_func || defined __stub___$ac_func
19134 return $ac_func ();
19139 rm -f conftest.$ac_objext conftest$ac_exeext
19140 if { (ac_try="$ac_link"
19141 case "(($ac_try" in
19142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19143 *) ac_try_echo=$ac_try;;
19145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19146 (eval "$ac_link") 2>conftest.er1
19148 grep -v '^
*+' conftest.er1 >conftest.err
19150 cat conftest.err >&5
19151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19152 (exit $ac_status); } && {
19153 test -z "$ac_c_werror_flag" ||
19154 test ! -s conftest.err
19155 } && test -s conftest$ac_exeext &&
19156 $as_test_x conftest$ac_exeext; then
19157 eval "$as_ac_var=yes"
19159 echo "$as_me: failed program was:" >&5
19160 sed 's
/^
/|
/' conftest.$ac_ext >&5
19162 eval "$as_ac_var=no"
19165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19166 conftest$ac_exeext conftest.$ac_ext
19168 ac_res=`eval echo '${'$as_ac_var'}'`
19169 { echo "$as_me:$LINENO: result: $ac_res" >&5
19170 echo "${ECHO_T}$ac_res" >&6; }
19171 if test `eval echo '${'$as_ac_var'}'` = yes; then
19172 cat >>confdefs.h <<_ACEOF
19173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19187 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
19189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19190 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19192 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19193 echo $ECHO_N "(cached) $ECHO_C" >&6
19195 if test x$gcc_no_link = xyes; then
19196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19198 { (exit 1); exit 1; }; }
19200 cat >conftest.$ac_ext <<_ACEOF
19203 cat confdefs.h >>conftest.$ac_ext
19204 cat >>conftest.$ac_ext <<_ACEOF
19205 /* end confdefs.h. */
19206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19208 #define $ac_func innocuous_$ac_func
19210 /* System header to define __stub macros and hopefully few prototypes,
19211 which can conflict with char $ac_func (); below.
19212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19213 <limits.h> exists even on freestanding compilers. */
19216 # include <limits.h>
19218 # include <assert.h>
19223 /* Override any GCC internal prototype to avoid an error.
19224 Use char because int might match the return type of a GCC
19225 builtin and then its argument prototype would still apply. */
19230 /* The GNU C library defines this for functions which it implements
19231 to always fail with ENOSYS. Some functions are actually named
19232 something starting with __ and the normal name is an alias. */
19233 #if defined __stub_$ac_func || defined __stub___$ac_func
19240 return $ac_func ();
19245 rm -f conftest.$ac_objext conftest$ac_exeext
19246 if { (ac_try="$ac_link"
19247 case "(($ac_try" in
19248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19249 *) ac_try_echo=$ac_try;;
19251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19252 (eval "$ac_link") 2>conftest.er1
19254 grep -v '^
*+' conftest.er1 >conftest.err
19256 cat conftest.err >&5
19257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19258 (exit $ac_status); } && {
19259 test -z "$ac_c_werror_flag" ||
19260 test ! -s conftest.err
19261 } && test -s conftest$ac_exeext &&
19262 $as_test_x conftest$ac_exeext; then
19263 eval "$as_ac_var=yes"
19265 echo "$as_me: failed program was:" >&5
19266 sed 's
/^
/|
/' conftest.$ac_ext >&5
19268 eval "$as_ac_var=no"
19271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19272 conftest$ac_exeext conftest.$ac_ext
19274 ac_res=`eval echo '${'$as_ac_var'}'`
19275 { echo "$as_me:$LINENO: result: $ac_res" >&5
19276 echo "${ECHO_T}$ac_res" >&6; }
19277 if test `eval echo '${'$as_ac_var'}'` = yes; then
19278 cat >>confdefs.h <<_ACEOF
19279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19286 # Check for glibc backtrace functions
19289 for ac_func in backtrace backtrace_symbols
19291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19292 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19294 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19295 echo $ECHO_N "(cached) $ECHO_C" >&6
19297 if test x$gcc_no_link = xyes; then
19298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19300 { (exit 1); exit 1; }; }
19302 cat >conftest.$ac_ext <<_ACEOF
19305 cat confdefs.h >>conftest.$ac_ext
19306 cat >>conftest.$ac_ext <<_ACEOF
19307 /* end confdefs.h. */
19308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19310 #define $ac_func innocuous_$ac_func
19312 /* System header to define __stub macros and hopefully few prototypes,
19313 which can conflict with char $ac_func (); below.
19314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19315 <limits.h> exists even on freestanding compilers. */
19318 # include <limits.h>
19320 # include <assert.h>
19325 /* Override any GCC internal prototype to avoid an error.
19326 Use char because int might match the return type of a GCC
19327 builtin and then its argument prototype would still apply. */
19332 /* The GNU C library defines this for functions which it implements
19333 to always fail with ENOSYS. Some functions are actually named
19334 something starting with __ and the normal name is an alias. */
19335 #if defined __stub_$ac_func || defined __stub___$ac_func
19342 return $ac_func ();
19347 rm -f conftest.$ac_objext conftest$ac_exeext
19348 if { (ac_try="$ac_link"
19349 case "(($ac_try" in
19350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19351 *) ac_try_echo=$ac_try;;
19353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19354 (eval "$ac_link") 2>conftest.er1
19356 grep -v '^
*+' conftest.er1 >conftest.err
19358 cat conftest.err >&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); } && {
19361 test -z "$ac_c_werror_flag" ||
19362 test ! -s conftest.err
19363 } && test -s conftest$ac_exeext &&
19364 $as_test_x conftest$ac_exeext; then
19365 eval "$as_ac_var=yes"
19367 echo "$as_me: failed program was:" >&5
19368 sed 's
/^
/|
/' conftest.$ac_ext >&5
19370 eval "$as_ac_var=no"
19373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19374 conftest$ac_exeext conftest.$ac_ext
19376 ac_res=`eval echo '${'$as_ac_var'}'`
19377 { echo "$as_me:$LINENO: result: $ac_res" >&5
19378 echo "${ECHO_T}$ac_res" >&6; }
19379 if test `eval echo '${'$as_ac_var'}'` = yes; then
19380 cat >>confdefs.h <<_ACEOF
19381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19389 { echo "$as_me:$LINENO: checking for intptr_t" >&5
19390 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6; }
19391 if test "${ac_cv_type_intptr_t+set}" = set; then
19392 echo $ECHO_N "(cached) $ECHO_C" >&6
19394 cat >conftest.$ac_ext <<_ACEOF
19397 cat confdefs.h >>conftest.$ac_ext
19398 cat >>conftest.$ac_ext <<_ACEOF
19399 /* end confdefs.h. */
19400 $ac_includes_default
19401 typedef intptr_t ac__type_new_;
19405 if ((ac__type_new_ *) 0)
19407 if (sizeof (ac__type_new_))
19413 rm -f conftest.$ac_objext
19414 if { (ac_try="$ac_compile"
19415 case "(($ac_try" in
19416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19417 *) ac_try_echo=$ac_try;;
19419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19420 (eval "$ac_compile") 2>conftest.er1
19422 grep -v '^
*+' conftest.er1 >conftest.err
19424 cat conftest.err >&5
19425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19426 (exit $ac_status); } && {
19427 test -z "$ac_c_werror_flag" ||
19428 test ! -s conftest.err
19429 } && test -s conftest.$ac_objext; then
19430 ac_cv_type_intptr_t=yes
19432 echo "$as_me: failed program was:" >&5
19433 sed 's
/^
/|
/' conftest.$ac_ext >&5
19435 ac_cv_type_intptr_t=no
19438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19440 { echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
19441 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6; }
19442 if test $ac_cv_type_intptr_t = yes; then
19444 cat >>confdefs.h <<_ACEOF
19445 #define HAVE_INTPTR_T 1
19452 # Check libc for getgid, getpid, getuid
19453 { echo "$as_me:$LINENO: checking for getgid in -lc" >&5
19454 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6; }
19455 if test "${ac_cv_lib_c_getgid+set}" = set; then
19456 echo $ECHO_N "(cached) $ECHO_C" >&6
19458 ac_check_lib_save_LIBS=$LIBS
19460 if test x$gcc_no_link = xyes; then
19461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19463 { (exit 1); exit 1; }; }
19465 cat >conftest.$ac_ext <<_ACEOF
19468 cat confdefs.h >>conftest.$ac_ext
19469 cat >>conftest.$ac_ext <<_ACEOF
19470 /* end confdefs.h. */
19472 /* Override any GCC internal prototype to avoid an error.
19473 Use char because int might match the return type of a GCC
19474 builtin and then its argument prototype would still apply. */
19487 rm -f conftest.$ac_objext conftest$ac_exeext
19488 if { (ac_try="$ac_link"
19489 case "(($ac_try" in
19490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19491 *) ac_try_echo=$ac_try;;
19493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19494 (eval "$ac_link") 2>conftest.er1
19496 grep -v '^
*+' conftest.er1 >conftest.err
19498 cat conftest.err >&5
19499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19500 (exit $ac_status); } && {
19501 test -z "$ac_c_werror_flag" ||
19502 test ! -s conftest.err
19503 } && test -s conftest$ac_exeext &&
19504 $as_test_x conftest$ac_exeext; then
19505 ac_cv_lib_c_getgid=yes
19507 echo "$as_me: failed program was:" >&5
19508 sed 's
/^
/|
/' conftest.$ac_ext >&5
19510 ac_cv_lib_c_getgid=no
19513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19514 conftest$ac_exeext conftest.$ac_ext
19515 LIBS=$ac_check_lib_save_LIBS
19517 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
19518 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6; }
19519 if test $ac_cv_lib_c_getgid = yes; then
19521 cat >>confdefs.h <<\_ACEOF
19522 #define HAVE_GETGID 1
19527 { echo "$as_me:$LINENO: checking for getpid in -lc" >&5
19528 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6; }
19529 if test "${ac_cv_lib_c_getpid+set}" = set; then
19530 echo $ECHO_N "(cached) $ECHO_C" >&6
19532 ac_check_lib_save_LIBS=$LIBS
19534 if test x$gcc_no_link = xyes; then
19535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19537 { (exit 1); exit 1; }; }
19539 cat >conftest.$ac_ext <<_ACEOF
19542 cat confdefs.h >>conftest.$ac_ext
19543 cat >>conftest.$ac_ext <<_ACEOF
19544 /* end confdefs.h. */
19546 /* Override any GCC internal prototype to avoid an error.
19547 Use char because int might match the return type of a GCC
19548 builtin and then its argument prototype would still apply. */
19561 rm -f conftest.$ac_objext conftest$ac_exeext
19562 if { (ac_try="$ac_link"
19563 case "(($ac_try" in
19564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19565 *) ac_try_echo=$ac_try;;
19567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19568 (eval "$ac_link") 2>conftest.er1
19570 grep -v '^
*+' conftest.er1 >conftest.err
19572 cat conftest.err >&5
19573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19574 (exit $ac_status); } && {
19575 test -z "$ac_c_werror_flag" ||
19576 test ! -s conftest.err
19577 } && test -s conftest$ac_exeext &&
19578 $as_test_x conftest$ac_exeext; then
19579 ac_cv_lib_c_getpid=yes
19581 echo "$as_me: failed program was:" >&5
19582 sed 's
/^
/|
/' conftest.$ac_ext >&5
19584 ac_cv_lib_c_getpid=no
19587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19588 conftest$ac_exeext conftest.$ac_ext
19589 LIBS=$ac_check_lib_save_LIBS
19591 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
19592 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6; }
19593 if test $ac_cv_lib_c_getpid = yes; then
19595 cat >>confdefs.h <<\_ACEOF
19596 #define HAVE_GETPID 1
19601 { echo "$as_me:$LINENO: checking for getppid in -lc" >&5
19602 echo $ECHO_N "checking for getppid in -lc... $ECHO_C" >&6; }
19603 if test "${ac_cv_lib_c_getppid+set}" = set; then
19604 echo $ECHO_N "(cached) $ECHO_C" >&6
19606 ac_check_lib_save_LIBS=$LIBS
19608 if test x$gcc_no_link = xyes; then
19609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19611 { (exit 1); exit 1; }; }
19613 cat >conftest.$ac_ext <<_ACEOF
19616 cat confdefs.h >>conftest.$ac_ext
19617 cat >>conftest.$ac_ext <<_ACEOF
19618 /* end confdefs.h. */
19620 /* Override any GCC internal prototype to avoid an error.
19621 Use char because int might match the return type of a GCC
19622 builtin and then its argument prototype would still apply. */
19635 rm -f conftest.$ac_objext conftest$ac_exeext
19636 if { (ac_try="$ac_link"
19637 case "(($ac_try" in
19638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19639 *) ac_try_echo=$ac_try;;
19641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19642 (eval "$ac_link") 2>conftest.er1
19644 grep -v '^
*+' conftest.er1 >conftest.err
19646 cat conftest.err >&5
19647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19648 (exit $ac_status); } && {
19649 test -z "$ac_c_werror_flag" ||
19650 test ! -s conftest.err
19651 } && test -s conftest$ac_exeext &&
19652 $as_test_x conftest$ac_exeext; then
19653 ac_cv_lib_c_getppid=yes
19655 echo "$as_me: failed program was:" >&5
19656 sed 's
/^
/|
/' conftest.$ac_ext >&5
19658 ac_cv_lib_c_getppid=no
19661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19662 conftest$ac_exeext conftest.$ac_ext
19663 LIBS=$ac_check_lib_save_LIBS
19665 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_getppid" >&5
19666 echo "${ECHO_T}$ac_cv_lib_c_getppid" >&6; }
19667 if test $ac_cv_lib_c_getppid = yes; then
19669 cat >>confdefs.h <<\_ACEOF
19670 #define HAVE_GETPPID 1
19675 { echo "$as_me:$LINENO: checking for getuid in -lc" >&5
19676 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6; }
19677 if test "${ac_cv_lib_c_getuid+set}" = set; then
19678 echo $ECHO_N "(cached) $ECHO_C" >&6
19680 ac_check_lib_save_LIBS=$LIBS
19682 if test x$gcc_no_link = xyes; then
19683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19685 { (exit 1); exit 1; }; }
19687 cat >conftest.$ac_ext <<_ACEOF
19690 cat confdefs.h >>conftest.$ac_ext
19691 cat >>conftest.$ac_ext <<_ACEOF
19692 /* end confdefs.h. */
19694 /* Override any GCC internal prototype to avoid an error.
19695 Use char because int might match the return type of a GCC
19696 builtin and then its argument prototype would still apply. */
19709 rm -f conftest.$ac_objext conftest$ac_exeext
19710 if { (ac_try="$ac_link"
19711 case "(($ac_try" in
19712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19713 *) ac_try_echo=$ac_try;;
19715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19716 (eval "$ac_link") 2>conftest.er1
19718 grep -v '^
*+' conftest.er1 >conftest.err
19720 cat conftest.err >&5
19721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19722 (exit $ac_status); } && {
19723 test -z "$ac_c_werror_flag" ||
19724 test ! -s conftest.err
19725 } && test -s conftest$ac_exeext &&
19726 $as_test_x conftest$ac_exeext; then
19727 ac_cv_lib_c_getuid=yes
19729 echo "$as_me: failed program was:" >&5
19730 sed 's
/^
/|
/' conftest.$ac_ext >&5
19732 ac_cv_lib_c_getuid=no
19735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19736 conftest$ac_exeext conftest.$ac_ext
19737 LIBS=$ac_check_lib_save_LIBS
19739 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
19740 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6; }
19741 if test $ac_cv_lib_c_getuid = yes; then
19743 cat >>confdefs.h <<\_ACEOF
19744 #define HAVE_GETUID 1
19749 { echo "$as_me:$LINENO: checking for geteuid in -lc" >&5
19750 echo $ECHO_N "checking for geteuid in -lc... $ECHO_C" >&6; }
19751 if test "${ac_cv_lib_c_geteuid+set}" = set; then
19752 echo $ECHO_N "(cached) $ECHO_C" >&6
19754 ac_check_lib_save_LIBS=$LIBS
19756 if test x$gcc_no_link = xyes; then
19757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19759 { (exit 1); exit 1; }; }
19761 cat >conftest.$ac_ext <<_ACEOF
19764 cat confdefs.h >>conftest.$ac_ext
19765 cat >>conftest.$ac_ext <<_ACEOF
19766 /* end confdefs.h. */
19768 /* Override any GCC internal prototype to avoid an error.
19769 Use char because int might match the return type of a GCC
19770 builtin and then its argument prototype would still apply. */
19783 rm -f conftest.$ac_objext conftest$ac_exeext
19784 if { (ac_try="$ac_link"
19785 case "(($ac_try" in
19786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19787 *) ac_try_echo=$ac_try;;
19789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19790 (eval "$ac_link") 2>conftest.er1
19792 grep -v '^
*+' conftest.er1 >conftest.err
19794 cat conftest.err >&5
19795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19796 (exit $ac_status); } && {
19797 test -z "$ac_c_werror_flag" ||
19798 test ! -s conftest.err
19799 } && test -s conftest$ac_exeext &&
19800 $as_test_x conftest$ac_exeext; then
19801 ac_cv_lib_c_geteuid=yes
19803 echo "$as_me: failed program was:" >&5
19804 sed 's
/^
/|
/' conftest.$ac_ext >&5
19806 ac_cv_lib_c_geteuid=no
19809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19810 conftest$ac_exeext conftest.$ac_ext
19811 LIBS=$ac_check_lib_save_LIBS
19813 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_geteuid" >&5
19814 echo "${ECHO_T}$ac_cv_lib_c_geteuid" >&6; }
19815 if test $ac_cv_lib_c_geteuid = yes; then
19817 cat >>confdefs.h <<\_ACEOF
19818 #define HAVE_GETEUID 1
19824 # Check for C99 (and other IEEE) math functions
19825 { echo "$as_me:$LINENO: checking for acosf in -lm" >&5
19826 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6; }
19827 if test "${ac_cv_lib_m_acosf+set}" = set; then
19828 echo $ECHO_N "(cached) $ECHO_C" >&6
19830 ac_check_lib_save_LIBS=$LIBS
19832 if test x$gcc_no_link = xyes; then
19833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19835 { (exit 1); exit 1; }; }
19837 cat >conftest.$ac_ext <<_ACEOF
19840 cat confdefs.h >>conftest.$ac_ext
19841 cat >>conftest.$ac_ext <<_ACEOF
19842 /* end confdefs.h. */
19844 /* Override any GCC internal prototype to avoid an error.
19845 Use char because int might match the return type of a GCC
19846 builtin and then its argument prototype would still apply. */
19859 rm -f conftest.$ac_objext conftest$ac_exeext
19860 if { (ac_try="$ac_link"
19861 case "(($ac_try" in
19862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19863 *) ac_try_echo=$ac_try;;
19865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19866 (eval "$ac_link") 2>conftest.er1
19868 grep -v '^
*+' conftest.er1 >conftest.err
19870 cat conftest.err >&5
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); } && {
19873 test -z "$ac_c_werror_flag" ||
19874 test ! -s conftest.err
19875 } && test -s conftest$ac_exeext &&
19876 $as_test_x conftest$ac_exeext; then
19877 ac_cv_lib_m_acosf=yes
19879 echo "$as_me: failed program was:" >&5
19880 sed 's
/^
/|
/' conftest.$ac_ext >&5
19882 ac_cv_lib_m_acosf=no
19885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19886 conftest$ac_exeext conftest.$ac_ext
19887 LIBS=$ac_check_lib_save_LIBS
19889 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
19890 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6; }
19891 if test $ac_cv_lib_m_acosf = yes; then
19893 cat >>confdefs.h <<\_ACEOF
19894 #define HAVE_ACOSF 1
19899 { echo "$as_me:$LINENO: checking for acos in -lm" >&5
19900 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6; }
19901 if test "${ac_cv_lib_m_acos+set}" = set; then
19902 echo $ECHO_N "(cached) $ECHO_C" >&6
19904 ac_check_lib_save_LIBS=$LIBS
19906 if test x$gcc_no_link = xyes; then
19907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19909 { (exit 1); exit 1; }; }
19911 cat >conftest.$ac_ext <<_ACEOF
19914 cat confdefs.h >>conftest.$ac_ext
19915 cat >>conftest.$ac_ext <<_ACEOF
19916 /* end confdefs.h. */
19918 /* Override any GCC internal prototype to avoid an error.
19919 Use char because int might match the return type of a GCC
19920 builtin and then its argument prototype would still apply. */
19933 rm -f conftest.$ac_objext conftest$ac_exeext
19934 if { (ac_try="$ac_link"
19935 case "(($ac_try" in
19936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19937 *) ac_try_echo=$ac_try;;
19939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19940 (eval "$ac_link") 2>conftest.er1
19942 grep -v '^
*+' conftest.er1 >conftest.err
19944 cat conftest.err >&5
19945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19946 (exit $ac_status); } && {
19947 test -z "$ac_c_werror_flag" ||
19948 test ! -s conftest.err
19949 } && test -s conftest$ac_exeext &&
19950 $as_test_x conftest$ac_exeext; then
19951 ac_cv_lib_m_acos=yes
19953 echo "$as_me: failed program was:" >&5
19954 sed 's
/^
/|
/' conftest.$ac_ext >&5
19956 ac_cv_lib_m_acos=no
19959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19960 conftest$ac_exeext conftest.$ac_ext
19961 LIBS=$ac_check_lib_save_LIBS
19963 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
19964 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6; }
19965 if test $ac_cv_lib_m_acos = yes; then
19967 cat >>confdefs.h <<\_ACEOF
19968 #define HAVE_ACOS 1
19973 { echo "$as_me:$LINENO: checking for acosl in -lm" >&5
19974 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6; }
19975 if test "${ac_cv_lib_m_acosl+set}" = set; then
19976 echo $ECHO_N "(cached) $ECHO_C" >&6
19978 ac_check_lib_save_LIBS=$LIBS
19980 if test x$gcc_no_link = xyes; then
19981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19983 { (exit 1); exit 1; }; }
19985 cat >conftest.$ac_ext <<_ACEOF
19988 cat confdefs.h >>conftest.$ac_ext
19989 cat >>conftest.$ac_ext <<_ACEOF
19990 /* end confdefs.h. */
19992 /* Override any GCC internal prototype to avoid an error.
19993 Use char because int might match the return type of a GCC
19994 builtin and then its argument prototype would still apply. */
20007 rm -f conftest.$ac_objext conftest$ac_exeext
20008 if { (ac_try="$ac_link"
20009 case "(($ac_try" in
20010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20011 *) ac_try_echo=$ac_try;;
20013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20014 (eval "$ac_link") 2>conftest.er1
20016 grep -v '^
*+' conftest.er1 >conftest.err
20018 cat conftest.err >&5
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); } && {
20021 test -z "$ac_c_werror_flag" ||
20022 test ! -s conftest.err
20023 } && test -s conftest$ac_exeext &&
20024 $as_test_x conftest$ac_exeext; then
20025 ac_cv_lib_m_acosl=yes
20027 echo "$as_me: failed program was:" >&5
20028 sed 's
/^
/|
/' conftest.$ac_ext >&5
20030 ac_cv_lib_m_acosl=no
20033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20034 conftest$ac_exeext conftest.$ac_ext
20035 LIBS=$ac_check_lib_save_LIBS
20037 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
20038 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6; }
20039 if test $ac_cv_lib_m_acosl = yes; then
20041 cat >>confdefs.h <<\_ACEOF
20042 #define HAVE_ACOSL 1
20047 { echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
20048 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6; }
20049 if test "${ac_cv_lib_m_acoshf+set}" = set; then
20050 echo $ECHO_N "(cached) $ECHO_C" >&6
20052 ac_check_lib_save_LIBS=$LIBS
20054 if test x$gcc_no_link = xyes; then
20055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20057 { (exit 1); exit 1; }; }
20059 cat >conftest.$ac_ext <<_ACEOF
20062 cat confdefs.h >>conftest.$ac_ext
20063 cat >>conftest.$ac_ext <<_ACEOF
20064 /* end confdefs.h. */
20066 /* Override any GCC internal prototype to avoid an error.
20067 Use char because int might match the return type of a GCC
20068 builtin and then its argument prototype would still apply. */
20081 rm -f conftest.$ac_objext conftest$ac_exeext
20082 if { (ac_try="$ac_link"
20083 case "(($ac_try" in
20084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20085 *) ac_try_echo=$ac_try;;
20087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20088 (eval "$ac_link") 2>conftest.er1
20090 grep -v '^
*+' conftest.er1 >conftest.err
20092 cat conftest.err >&5
20093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20094 (exit $ac_status); } && {
20095 test -z "$ac_c_werror_flag" ||
20096 test ! -s conftest.err
20097 } && test -s conftest$ac_exeext &&
20098 $as_test_x conftest$ac_exeext; then
20099 ac_cv_lib_m_acoshf=yes
20101 echo "$as_me: failed program was:" >&5
20102 sed 's
/^
/|
/' conftest.$ac_ext >&5
20104 ac_cv_lib_m_acoshf=no
20107 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20108 conftest$ac_exeext conftest.$ac_ext
20109 LIBS=$ac_check_lib_save_LIBS
20111 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
20112 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6; }
20113 if test $ac_cv_lib_m_acoshf = yes; then
20115 cat >>confdefs.h <<\_ACEOF
20116 #define HAVE_ACOSHF 1
20121 { echo "$as_me:$LINENO: checking for acosh in -lm" >&5
20122 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6; }
20123 if test "${ac_cv_lib_m_acosh+set}" = set; then
20124 echo $ECHO_N "(cached) $ECHO_C" >&6
20126 ac_check_lib_save_LIBS=$LIBS
20128 if test x$gcc_no_link = xyes; then
20129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20131 { (exit 1); exit 1; }; }
20133 cat >conftest.$ac_ext <<_ACEOF
20136 cat confdefs.h >>conftest.$ac_ext
20137 cat >>conftest.$ac_ext <<_ACEOF
20138 /* end confdefs.h. */
20140 /* Override any GCC internal prototype to avoid an error.
20141 Use char because int might match the return type of a GCC
20142 builtin and then its argument prototype would still apply. */
20155 rm -f conftest.$ac_objext conftest$ac_exeext
20156 if { (ac_try="$ac_link"
20157 case "(($ac_try" in
20158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20159 *) ac_try_echo=$ac_try;;
20161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20162 (eval "$ac_link") 2>conftest.er1
20164 grep -v '^
*+' conftest.er1 >conftest.err
20166 cat conftest.err >&5
20167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20168 (exit $ac_status); } && {
20169 test -z "$ac_c_werror_flag" ||
20170 test ! -s conftest.err
20171 } && test -s conftest$ac_exeext &&
20172 $as_test_x conftest$ac_exeext; then
20173 ac_cv_lib_m_acosh=yes
20175 echo "$as_me: failed program was:" >&5
20176 sed 's
/^
/|
/' conftest.$ac_ext >&5
20178 ac_cv_lib_m_acosh=no
20181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20182 conftest$ac_exeext conftest.$ac_ext
20183 LIBS=$ac_check_lib_save_LIBS
20185 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
20186 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6; }
20187 if test $ac_cv_lib_m_acosh = yes; then
20189 cat >>confdefs.h <<\_ACEOF
20190 #define HAVE_ACOSH 1
20195 { echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
20196 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6; }
20197 if test "${ac_cv_lib_m_acoshl+set}" = set; then
20198 echo $ECHO_N "(cached) $ECHO_C" >&6
20200 ac_check_lib_save_LIBS=$LIBS
20202 if test x$gcc_no_link = xyes; then
20203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20205 { (exit 1); exit 1; }; }
20207 cat >conftest.$ac_ext <<_ACEOF
20210 cat confdefs.h >>conftest.$ac_ext
20211 cat >>conftest.$ac_ext <<_ACEOF
20212 /* end confdefs.h. */
20214 /* Override any GCC internal prototype to avoid an error.
20215 Use char because int might match the return type of a GCC
20216 builtin and then its argument prototype would still apply. */
20229 rm -f conftest.$ac_objext conftest$ac_exeext
20230 if { (ac_try="$ac_link"
20231 case "(($ac_try" in
20232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20233 *) ac_try_echo=$ac_try;;
20235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20236 (eval "$ac_link") 2>conftest.er1
20238 grep -v '^
*+' conftest.er1 >conftest.err
20240 cat conftest.err >&5
20241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242 (exit $ac_status); } && {
20243 test -z "$ac_c_werror_flag" ||
20244 test ! -s conftest.err
20245 } && test -s conftest$ac_exeext &&
20246 $as_test_x conftest$ac_exeext; then
20247 ac_cv_lib_m_acoshl=yes
20249 echo "$as_me: failed program was:" >&5
20250 sed 's
/^
/|
/' conftest.$ac_ext >&5
20252 ac_cv_lib_m_acoshl=no
20255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20256 conftest$ac_exeext conftest.$ac_ext
20257 LIBS=$ac_check_lib_save_LIBS
20259 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
20260 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6; }
20261 if test $ac_cv_lib_m_acoshl = yes; then
20263 cat >>confdefs.h <<\_ACEOF
20264 #define HAVE_ACOSHL 1
20269 { echo "$as_me:$LINENO: checking for asinf in -lm" >&5
20270 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6; }
20271 if test "${ac_cv_lib_m_asinf+set}" = set; then
20272 echo $ECHO_N "(cached) $ECHO_C" >&6
20274 ac_check_lib_save_LIBS=$LIBS
20276 if test x$gcc_no_link = xyes; then
20277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20279 { (exit 1); exit 1; }; }
20281 cat >conftest.$ac_ext <<_ACEOF
20284 cat confdefs.h >>conftest.$ac_ext
20285 cat >>conftest.$ac_ext <<_ACEOF
20286 /* end confdefs.h. */
20288 /* Override any GCC internal prototype to avoid an error.
20289 Use char because int might match the return type of a GCC
20290 builtin and then its argument prototype would still apply. */
20303 rm -f conftest.$ac_objext conftest$ac_exeext
20304 if { (ac_try="$ac_link"
20305 case "(($ac_try" in
20306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20307 *) ac_try_echo=$ac_try;;
20309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20310 (eval "$ac_link") 2>conftest.er1
20312 grep -v '^
*+' conftest.er1 >conftest.err
20314 cat conftest.err >&5
20315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20316 (exit $ac_status); } && {
20317 test -z "$ac_c_werror_flag" ||
20318 test ! -s conftest.err
20319 } && test -s conftest$ac_exeext &&
20320 $as_test_x conftest$ac_exeext; then
20321 ac_cv_lib_m_asinf=yes
20323 echo "$as_me: failed program was:" >&5
20324 sed 's
/^
/|
/' conftest.$ac_ext >&5
20326 ac_cv_lib_m_asinf=no
20329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20330 conftest$ac_exeext conftest.$ac_ext
20331 LIBS=$ac_check_lib_save_LIBS
20333 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
20334 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6; }
20335 if test $ac_cv_lib_m_asinf = yes; then
20337 cat >>confdefs.h <<\_ACEOF
20338 #define HAVE_ASINF 1
20343 { echo "$as_me:$LINENO: checking for asin in -lm" >&5
20344 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6; }
20345 if test "${ac_cv_lib_m_asin+set}" = set; then
20346 echo $ECHO_N "(cached) $ECHO_C" >&6
20348 ac_check_lib_save_LIBS=$LIBS
20350 if test x$gcc_no_link = xyes; then
20351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20353 { (exit 1); exit 1; }; }
20355 cat >conftest.$ac_ext <<_ACEOF
20358 cat confdefs.h >>conftest.$ac_ext
20359 cat >>conftest.$ac_ext <<_ACEOF
20360 /* end confdefs.h. */
20362 /* Override any GCC internal prototype to avoid an error.
20363 Use char because int might match the return type of a GCC
20364 builtin and then its argument prototype would still apply. */
20377 rm -f conftest.$ac_objext conftest$ac_exeext
20378 if { (ac_try="$ac_link"
20379 case "(($ac_try" in
20380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20381 *) ac_try_echo=$ac_try;;
20383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20384 (eval "$ac_link") 2>conftest.er1
20386 grep -v '^
*+' conftest.er1 >conftest.err
20388 cat conftest.err >&5
20389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390 (exit $ac_status); } && {
20391 test -z "$ac_c_werror_flag" ||
20392 test ! -s conftest.err
20393 } && test -s conftest$ac_exeext &&
20394 $as_test_x conftest$ac_exeext; then
20395 ac_cv_lib_m_asin=yes
20397 echo "$as_me: failed program was:" >&5
20398 sed 's
/^
/|
/' conftest.$ac_ext >&5
20400 ac_cv_lib_m_asin=no
20403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20404 conftest$ac_exeext conftest.$ac_ext
20405 LIBS=$ac_check_lib_save_LIBS
20407 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
20408 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6; }
20409 if test $ac_cv_lib_m_asin = yes; then
20411 cat >>confdefs.h <<\_ACEOF
20412 #define HAVE_ASIN 1
20417 { echo "$as_me:$LINENO: checking for asinl in -lm" >&5
20418 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6; }
20419 if test "${ac_cv_lib_m_asinl+set}" = set; then
20420 echo $ECHO_N "(cached) $ECHO_C" >&6
20422 ac_check_lib_save_LIBS=$LIBS
20424 if test x$gcc_no_link = xyes; then
20425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20427 { (exit 1); exit 1; }; }
20429 cat >conftest.$ac_ext <<_ACEOF
20432 cat confdefs.h >>conftest.$ac_ext
20433 cat >>conftest.$ac_ext <<_ACEOF
20434 /* end confdefs.h. */
20436 /* Override any GCC internal prototype to avoid an error.
20437 Use char because int might match the return type of a GCC
20438 builtin and then its argument prototype would still apply. */
20451 rm -f conftest.$ac_objext conftest$ac_exeext
20452 if { (ac_try="$ac_link"
20453 case "(($ac_try" in
20454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20455 *) ac_try_echo=$ac_try;;
20457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20458 (eval "$ac_link") 2>conftest.er1
20460 grep -v '^
*+' conftest.er1 >conftest.err
20462 cat conftest.err >&5
20463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20464 (exit $ac_status); } && {
20465 test -z "$ac_c_werror_flag" ||
20466 test ! -s conftest.err
20467 } && test -s conftest$ac_exeext &&
20468 $as_test_x conftest$ac_exeext; then
20469 ac_cv_lib_m_asinl=yes
20471 echo "$as_me: failed program was:" >&5
20472 sed 's
/^
/|
/' conftest.$ac_ext >&5
20474 ac_cv_lib_m_asinl=no
20477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20478 conftest$ac_exeext conftest.$ac_ext
20479 LIBS=$ac_check_lib_save_LIBS
20481 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
20482 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6; }
20483 if test $ac_cv_lib_m_asinl = yes; then
20485 cat >>confdefs.h <<\_ACEOF
20486 #define HAVE_ASINL 1
20491 { echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
20492 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6; }
20493 if test "${ac_cv_lib_m_asinhf+set}" = set; then
20494 echo $ECHO_N "(cached) $ECHO_C" >&6
20496 ac_check_lib_save_LIBS=$LIBS
20498 if test x$gcc_no_link = xyes; then
20499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20501 { (exit 1); exit 1; }; }
20503 cat >conftest.$ac_ext <<_ACEOF
20506 cat confdefs.h >>conftest.$ac_ext
20507 cat >>conftest.$ac_ext <<_ACEOF
20508 /* end confdefs.h. */
20510 /* Override any GCC internal prototype to avoid an error.
20511 Use char because int might match the return type of a GCC
20512 builtin and then its argument prototype would still apply. */
20525 rm -f conftest.$ac_objext conftest$ac_exeext
20526 if { (ac_try="$ac_link"
20527 case "(($ac_try" in
20528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20529 *) ac_try_echo=$ac_try;;
20531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20532 (eval "$ac_link") 2>conftest.er1
20534 grep -v '^
*+' conftest.er1 >conftest.err
20536 cat conftest.err >&5
20537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20538 (exit $ac_status); } && {
20539 test -z "$ac_c_werror_flag" ||
20540 test ! -s conftest.err
20541 } && test -s conftest$ac_exeext &&
20542 $as_test_x conftest$ac_exeext; then
20543 ac_cv_lib_m_asinhf=yes
20545 echo "$as_me: failed program was:" >&5
20546 sed 's
/^
/|
/' conftest.$ac_ext >&5
20548 ac_cv_lib_m_asinhf=no
20551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20552 conftest$ac_exeext conftest.$ac_ext
20553 LIBS=$ac_check_lib_save_LIBS
20555 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
20556 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6; }
20557 if test $ac_cv_lib_m_asinhf = yes; then
20559 cat >>confdefs.h <<\_ACEOF
20560 #define HAVE_ASINHF 1
20565 { echo "$as_me:$LINENO: checking for asinh in -lm" >&5
20566 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6; }
20567 if test "${ac_cv_lib_m_asinh+set}" = set; then
20568 echo $ECHO_N "(cached) $ECHO_C" >&6
20570 ac_check_lib_save_LIBS=$LIBS
20572 if test x$gcc_no_link = xyes; then
20573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20575 { (exit 1); exit 1; }; }
20577 cat >conftest.$ac_ext <<_ACEOF
20580 cat confdefs.h >>conftest.$ac_ext
20581 cat >>conftest.$ac_ext <<_ACEOF
20582 /* end confdefs.h. */
20584 /* Override any GCC internal prototype to avoid an error.
20585 Use char because int might match the return type of a GCC
20586 builtin and then its argument prototype would still apply. */
20599 rm -f conftest.$ac_objext conftest$ac_exeext
20600 if { (ac_try="$ac_link"
20601 case "(($ac_try" in
20602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20603 *) ac_try_echo=$ac_try;;
20605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20606 (eval "$ac_link") 2>conftest.er1
20608 grep -v '^
*+' conftest.er1 >conftest.err
20610 cat conftest.err >&5
20611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20612 (exit $ac_status); } && {
20613 test -z "$ac_c_werror_flag" ||
20614 test ! -s conftest.err
20615 } && test -s conftest$ac_exeext &&
20616 $as_test_x conftest$ac_exeext; then
20617 ac_cv_lib_m_asinh=yes
20619 echo "$as_me: failed program was:" >&5
20620 sed 's
/^
/|
/' conftest.$ac_ext >&5
20622 ac_cv_lib_m_asinh=no
20625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20626 conftest$ac_exeext conftest.$ac_ext
20627 LIBS=$ac_check_lib_save_LIBS
20629 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
20630 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6; }
20631 if test $ac_cv_lib_m_asinh = yes; then
20633 cat >>confdefs.h <<\_ACEOF
20634 #define HAVE_ASINH 1
20639 { echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
20640 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6; }
20641 if test "${ac_cv_lib_m_asinhl+set}" = set; then
20642 echo $ECHO_N "(cached) $ECHO_C" >&6
20644 ac_check_lib_save_LIBS=$LIBS
20646 if test x$gcc_no_link = xyes; then
20647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20649 { (exit 1); exit 1; }; }
20651 cat >conftest.$ac_ext <<_ACEOF
20654 cat confdefs.h >>conftest.$ac_ext
20655 cat >>conftest.$ac_ext <<_ACEOF
20656 /* end confdefs.h. */
20658 /* Override any GCC internal prototype to avoid an error.
20659 Use char because int might match the return type of a GCC
20660 builtin and then its argument prototype would still apply. */
20673 rm -f conftest.$ac_objext conftest$ac_exeext
20674 if { (ac_try="$ac_link"
20675 case "(($ac_try" in
20676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20677 *) ac_try_echo=$ac_try;;
20679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20680 (eval "$ac_link") 2>conftest.er1
20682 grep -v '^
*+' conftest.er1 >conftest.err
20684 cat conftest.err >&5
20685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20686 (exit $ac_status); } && {
20687 test -z "$ac_c_werror_flag" ||
20688 test ! -s conftest.err
20689 } && test -s conftest$ac_exeext &&
20690 $as_test_x conftest$ac_exeext; then
20691 ac_cv_lib_m_asinhl=yes
20693 echo "$as_me: failed program was:" >&5
20694 sed 's
/^
/|
/' conftest.$ac_ext >&5
20696 ac_cv_lib_m_asinhl=no
20699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20700 conftest$ac_exeext conftest.$ac_ext
20701 LIBS=$ac_check_lib_save_LIBS
20703 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
20704 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6; }
20705 if test $ac_cv_lib_m_asinhl = yes; then
20707 cat >>confdefs.h <<\_ACEOF
20708 #define HAVE_ASINHL 1
20713 { echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
20714 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6; }
20715 if test "${ac_cv_lib_m_atan2f+set}" = set; then
20716 echo $ECHO_N "(cached) $ECHO_C" >&6
20718 ac_check_lib_save_LIBS=$LIBS
20720 if test x$gcc_no_link = xyes; then
20721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20723 { (exit 1); exit 1; }; }
20725 cat >conftest.$ac_ext <<_ACEOF
20728 cat confdefs.h >>conftest.$ac_ext
20729 cat >>conftest.$ac_ext <<_ACEOF
20730 /* end confdefs.h. */
20732 /* Override any GCC internal prototype to avoid an error.
20733 Use char because int might match the return type of a GCC
20734 builtin and then its argument prototype would still apply. */
20747 rm -f conftest.$ac_objext conftest$ac_exeext
20748 if { (ac_try="$ac_link"
20749 case "(($ac_try" in
20750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20751 *) ac_try_echo=$ac_try;;
20753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20754 (eval "$ac_link") 2>conftest.er1
20756 grep -v '^
*+' conftest.er1 >conftest.err
20758 cat conftest.err >&5
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); } && {
20761 test -z "$ac_c_werror_flag" ||
20762 test ! -s conftest.err
20763 } && test -s conftest$ac_exeext &&
20764 $as_test_x conftest$ac_exeext; then
20765 ac_cv_lib_m_atan2f=yes
20767 echo "$as_me: failed program was:" >&5
20768 sed 's
/^
/|
/' conftest.$ac_ext >&5
20770 ac_cv_lib_m_atan2f=no
20773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20774 conftest$ac_exeext conftest.$ac_ext
20775 LIBS=$ac_check_lib_save_LIBS
20777 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
20778 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6; }
20779 if test $ac_cv_lib_m_atan2f = yes; then
20781 cat >>confdefs.h <<\_ACEOF
20782 #define HAVE_ATAN2F 1
20787 { echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
20788 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6; }
20789 if test "${ac_cv_lib_m_atan2+set}" = set; then
20790 echo $ECHO_N "(cached) $ECHO_C" >&6
20792 ac_check_lib_save_LIBS=$LIBS
20794 if test x$gcc_no_link = xyes; then
20795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20797 { (exit 1); exit 1; }; }
20799 cat >conftest.$ac_ext <<_ACEOF
20802 cat confdefs.h >>conftest.$ac_ext
20803 cat >>conftest.$ac_ext <<_ACEOF
20804 /* end confdefs.h. */
20806 /* Override any GCC internal prototype to avoid an error.
20807 Use char because int might match the return type of a GCC
20808 builtin and then its argument prototype would still apply. */
20821 rm -f conftest.$ac_objext conftest$ac_exeext
20822 if { (ac_try="$ac_link"
20823 case "(($ac_try" in
20824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20825 *) ac_try_echo=$ac_try;;
20827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20828 (eval "$ac_link") 2>conftest.er1
20830 grep -v '^
*+' conftest.er1 >conftest.err
20832 cat conftest.err >&5
20833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20834 (exit $ac_status); } && {
20835 test -z "$ac_c_werror_flag" ||
20836 test ! -s conftest.err
20837 } && test -s conftest$ac_exeext &&
20838 $as_test_x conftest$ac_exeext; then
20839 ac_cv_lib_m_atan2=yes
20841 echo "$as_me: failed program was:" >&5
20842 sed 's
/^
/|
/' conftest.$ac_ext >&5
20844 ac_cv_lib_m_atan2=no
20847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20848 conftest$ac_exeext conftest.$ac_ext
20849 LIBS=$ac_check_lib_save_LIBS
20851 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
20852 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6; }
20853 if test $ac_cv_lib_m_atan2 = yes; then
20855 cat >>confdefs.h <<\_ACEOF
20856 #define HAVE_ATAN2 1
20861 { echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
20862 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6; }
20863 if test "${ac_cv_lib_m_atan2l+set}" = set; then
20864 echo $ECHO_N "(cached) $ECHO_C" >&6
20866 ac_check_lib_save_LIBS=$LIBS
20868 if test x$gcc_no_link = xyes; then
20869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20871 { (exit 1); exit 1; }; }
20873 cat >conftest.$ac_ext <<_ACEOF
20876 cat confdefs.h >>conftest.$ac_ext
20877 cat >>conftest.$ac_ext <<_ACEOF
20878 /* end confdefs.h. */
20880 /* Override any GCC internal prototype to avoid an error.
20881 Use char because int might match the return type of a GCC
20882 builtin and then its argument prototype would still apply. */
20895 rm -f conftest.$ac_objext conftest$ac_exeext
20896 if { (ac_try="$ac_link"
20897 case "(($ac_try" in
20898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20899 *) ac_try_echo=$ac_try;;
20901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20902 (eval "$ac_link") 2>conftest.er1
20904 grep -v '^
*+' conftest.er1 >conftest.err
20906 cat conftest.err >&5
20907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20908 (exit $ac_status); } && {
20909 test -z "$ac_c_werror_flag" ||
20910 test ! -s conftest.err
20911 } && test -s conftest$ac_exeext &&
20912 $as_test_x conftest$ac_exeext; then
20913 ac_cv_lib_m_atan2l=yes
20915 echo "$as_me: failed program was:" >&5
20916 sed 's
/^
/|
/' conftest.$ac_ext >&5
20918 ac_cv_lib_m_atan2l=no
20921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20922 conftest$ac_exeext conftest.$ac_ext
20923 LIBS=$ac_check_lib_save_LIBS
20925 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
20926 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6; }
20927 if test $ac_cv_lib_m_atan2l = yes; then
20929 cat >>confdefs.h <<\_ACEOF
20930 #define HAVE_ATAN2L 1
20935 { echo "$as_me:$LINENO: checking for atanf in -lm" >&5
20936 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6; }
20937 if test "${ac_cv_lib_m_atanf+set}" = set; then
20938 echo $ECHO_N "(cached) $ECHO_C" >&6
20940 ac_check_lib_save_LIBS=$LIBS
20942 if test x$gcc_no_link = xyes; then
20943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20945 { (exit 1); exit 1; }; }
20947 cat >conftest.$ac_ext <<_ACEOF
20950 cat confdefs.h >>conftest.$ac_ext
20951 cat >>conftest.$ac_ext <<_ACEOF
20952 /* end confdefs.h. */
20954 /* Override any GCC internal prototype to avoid an error.
20955 Use char because int might match the return type of a GCC
20956 builtin and then its argument prototype would still apply. */
20969 rm -f conftest.$ac_objext conftest$ac_exeext
20970 if { (ac_try="$ac_link"
20971 case "(($ac_try" in
20972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20973 *) ac_try_echo=$ac_try;;
20975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20976 (eval "$ac_link") 2>conftest.er1
20978 grep -v '^
*+' conftest.er1 >conftest.err
20980 cat conftest.err >&5
20981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982 (exit $ac_status); } && {
20983 test -z "$ac_c_werror_flag" ||
20984 test ! -s conftest.err
20985 } && test -s conftest$ac_exeext &&
20986 $as_test_x conftest$ac_exeext; then
20987 ac_cv_lib_m_atanf=yes
20989 echo "$as_me: failed program was:" >&5
20990 sed 's
/^
/|
/' conftest.$ac_ext >&5
20992 ac_cv_lib_m_atanf=no
20995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20996 conftest$ac_exeext conftest.$ac_ext
20997 LIBS=$ac_check_lib_save_LIBS
20999 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
21000 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6; }
21001 if test $ac_cv_lib_m_atanf = yes; then
21003 cat >>confdefs.h <<\_ACEOF
21004 #define HAVE_ATANF 1
21009 { echo "$as_me:$LINENO: checking for atan in -lm" >&5
21010 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6; }
21011 if test "${ac_cv_lib_m_atan+set}" = set; then
21012 echo $ECHO_N "(cached) $ECHO_C" >&6
21014 ac_check_lib_save_LIBS=$LIBS
21016 if test x$gcc_no_link = xyes; then
21017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21019 { (exit 1); exit 1; }; }
21021 cat >conftest.$ac_ext <<_ACEOF
21024 cat confdefs.h >>conftest.$ac_ext
21025 cat >>conftest.$ac_ext <<_ACEOF
21026 /* end confdefs.h. */
21028 /* Override any GCC internal prototype to avoid an error.
21029 Use char because int might match the return type of a GCC
21030 builtin and then its argument prototype would still apply. */
21043 rm -f conftest.$ac_objext conftest$ac_exeext
21044 if { (ac_try="$ac_link"
21045 case "(($ac_try" in
21046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21047 *) ac_try_echo=$ac_try;;
21049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21050 (eval "$ac_link") 2>conftest.er1
21052 grep -v '^
*+' conftest.er1 >conftest.err
21054 cat conftest.err >&5
21055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21056 (exit $ac_status); } && {
21057 test -z "$ac_c_werror_flag" ||
21058 test ! -s conftest.err
21059 } && test -s conftest$ac_exeext &&
21060 $as_test_x conftest$ac_exeext; then
21061 ac_cv_lib_m_atan=yes
21063 echo "$as_me: failed program was:" >&5
21064 sed 's
/^
/|
/' conftest.$ac_ext >&5
21066 ac_cv_lib_m_atan=no
21069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21070 conftest$ac_exeext conftest.$ac_ext
21071 LIBS=$ac_check_lib_save_LIBS
21073 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
21074 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6; }
21075 if test $ac_cv_lib_m_atan = yes; then
21077 cat >>confdefs.h <<\_ACEOF
21078 #define HAVE_ATAN 1
21083 { echo "$as_me:$LINENO: checking for atanl in -lm" >&5
21084 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6; }
21085 if test "${ac_cv_lib_m_atanl+set}" = set; then
21086 echo $ECHO_N "(cached) $ECHO_C" >&6
21088 ac_check_lib_save_LIBS=$LIBS
21090 if test x$gcc_no_link = xyes; then
21091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21093 { (exit 1); exit 1; }; }
21095 cat >conftest.$ac_ext <<_ACEOF
21098 cat confdefs.h >>conftest.$ac_ext
21099 cat >>conftest.$ac_ext <<_ACEOF
21100 /* end confdefs.h. */
21102 /* Override any GCC internal prototype to avoid an error.
21103 Use char because int might match the return type of a GCC
21104 builtin and then its argument prototype would still apply. */
21117 rm -f conftest.$ac_objext conftest$ac_exeext
21118 if { (ac_try="$ac_link"
21119 case "(($ac_try" in
21120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21121 *) ac_try_echo=$ac_try;;
21123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21124 (eval "$ac_link") 2>conftest.er1
21126 grep -v '^
*+' conftest.er1 >conftest.err
21128 cat conftest.err >&5
21129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21130 (exit $ac_status); } && {
21131 test -z "$ac_c_werror_flag" ||
21132 test ! -s conftest.err
21133 } && test -s conftest$ac_exeext &&
21134 $as_test_x conftest$ac_exeext; then
21135 ac_cv_lib_m_atanl=yes
21137 echo "$as_me: failed program was:" >&5
21138 sed 's
/^
/|
/' conftest.$ac_ext >&5
21140 ac_cv_lib_m_atanl=no
21143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21144 conftest$ac_exeext conftest.$ac_ext
21145 LIBS=$ac_check_lib_save_LIBS
21147 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
21148 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6; }
21149 if test $ac_cv_lib_m_atanl = yes; then
21151 cat >>confdefs.h <<\_ACEOF
21152 #define HAVE_ATANL 1
21157 { echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
21158 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6; }
21159 if test "${ac_cv_lib_m_atanhf+set}" = set; then
21160 echo $ECHO_N "(cached) $ECHO_C" >&6
21162 ac_check_lib_save_LIBS=$LIBS
21164 if test x$gcc_no_link = xyes; then
21165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21167 { (exit 1); exit 1; }; }
21169 cat >conftest.$ac_ext <<_ACEOF
21172 cat confdefs.h >>conftest.$ac_ext
21173 cat >>conftest.$ac_ext <<_ACEOF
21174 /* end confdefs.h. */
21176 /* Override any GCC internal prototype to avoid an error.
21177 Use char because int might match the return type of a GCC
21178 builtin and then its argument prototype would still apply. */
21191 rm -f conftest.$ac_objext conftest$ac_exeext
21192 if { (ac_try="$ac_link"
21193 case "(($ac_try" in
21194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21195 *) ac_try_echo=$ac_try;;
21197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21198 (eval "$ac_link") 2>conftest.er1
21200 grep -v '^
*+' conftest.er1 >conftest.err
21202 cat conftest.err >&5
21203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21204 (exit $ac_status); } && {
21205 test -z "$ac_c_werror_flag" ||
21206 test ! -s conftest.err
21207 } && test -s conftest$ac_exeext &&
21208 $as_test_x conftest$ac_exeext; then
21209 ac_cv_lib_m_atanhf=yes
21211 echo "$as_me: failed program was:" >&5
21212 sed 's
/^
/|
/' conftest.$ac_ext >&5
21214 ac_cv_lib_m_atanhf=no
21217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21218 conftest$ac_exeext conftest.$ac_ext
21219 LIBS=$ac_check_lib_save_LIBS
21221 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
21222 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6; }
21223 if test $ac_cv_lib_m_atanhf = yes; then
21225 cat >>confdefs.h <<\_ACEOF
21226 #define HAVE_ATANHF 1
21231 { echo "$as_me:$LINENO: checking for atanh in -lm" >&5
21232 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6; }
21233 if test "${ac_cv_lib_m_atanh+set}" = set; then
21234 echo $ECHO_N "(cached) $ECHO_C" >&6
21236 ac_check_lib_save_LIBS=$LIBS
21238 if test x$gcc_no_link = xyes; then
21239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21241 { (exit 1); exit 1; }; }
21243 cat >conftest.$ac_ext <<_ACEOF
21246 cat confdefs.h >>conftest.$ac_ext
21247 cat >>conftest.$ac_ext <<_ACEOF
21248 /* end confdefs.h. */
21250 /* Override any GCC internal prototype to avoid an error.
21251 Use char because int might match the return type of a GCC
21252 builtin and then its argument prototype would still apply. */
21265 rm -f conftest.$ac_objext conftest$ac_exeext
21266 if { (ac_try="$ac_link"
21267 case "(($ac_try" in
21268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21269 *) ac_try_echo=$ac_try;;
21271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21272 (eval "$ac_link") 2>conftest.er1
21274 grep -v '^
*+' conftest.er1 >conftest.err
21276 cat conftest.err >&5
21277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21278 (exit $ac_status); } && {
21279 test -z "$ac_c_werror_flag" ||
21280 test ! -s conftest.err
21281 } && test -s conftest$ac_exeext &&
21282 $as_test_x conftest$ac_exeext; then
21283 ac_cv_lib_m_atanh=yes
21285 echo "$as_me: failed program was:" >&5
21286 sed 's
/^
/|
/' conftest.$ac_ext >&5
21288 ac_cv_lib_m_atanh=no
21291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21292 conftest$ac_exeext conftest.$ac_ext
21293 LIBS=$ac_check_lib_save_LIBS
21295 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
21296 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6; }
21297 if test $ac_cv_lib_m_atanh = yes; then
21299 cat >>confdefs.h <<\_ACEOF
21300 #define HAVE_ATANH 1
21305 { echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
21306 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6; }
21307 if test "${ac_cv_lib_m_atanhl+set}" = set; then
21308 echo $ECHO_N "(cached) $ECHO_C" >&6
21310 ac_check_lib_save_LIBS=$LIBS
21312 if test x$gcc_no_link = xyes; then
21313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21315 { (exit 1); exit 1; }; }
21317 cat >conftest.$ac_ext <<_ACEOF
21320 cat confdefs.h >>conftest.$ac_ext
21321 cat >>conftest.$ac_ext <<_ACEOF
21322 /* end confdefs.h. */
21324 /* Override any GCC internal prototype to avoid an error.
21325 Use char because int might match the return type of a GCC
21326 builtin and then its argument prototype would still apply. */
21339 rm -f conftest.$ac_objext conftest$ac_exeext
21340 if { (ac_try="$ac_link"
21341 case "(($ac_try" in
21342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21343 *) ac_try_echo=$ac_try;;
21345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21346 (eval "$ac_link") 2>conftest.er1
21348 grep -v '^
*+' conftest.er1 >conftest.err
21350 cat conftest.err >&5
21351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21352 (exit $ac_status); } && {
21353 test -z "$ac_c_werror_flag" ||
21354 test ! -s conftest.err
21355 } && test -s conftest$ac_exeext &&
21356 $as_test_x conftest$ac_exeext; then
21357 ac_cv_lib_m_atanhl=yes
21359 echo "$as_me: failed program was:" >&5
21360 sed 's
/^
/|
/' conftest.$ac_ext >&5
21362 ac_cv_lib_m_atanhl=no
21365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21366 conftest$ac_exeext conftest.$ac_ext
21367 LIBS=$ac_check_lib_save_LIBS
21369 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
21370 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6; }
21371 if test $ac_cv_lib_m_atanhl = yes; then
21373 cat >>confdefs.h <<\_ACEOF
21374 #define HAVE_ATANHL 1
21379 { echo "$as_me:$LINENO: checking for cargf in -lm" >&5
21380 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6; }
21381 if test "${ac_cv_lib_m_cargf+set}" = set; then
21382 echo $ECHO_N "(cached) $ECHO_C" >&6
21384 ac_check_lib_save_LIBS=$LIBS
21386 if test x$gcc_no_link = xyes; then
21387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21389 { (exit 1); exit 1; }; }
21391 cat >conftest.$ac_ext <<_ACEOF
21394 cat confdefs.h >>conftest.$ac_ext
21395 cat >>conftest.$ac_ext <<_ACEOF
21396 /* end confdefs.h. */
21398 /* Override any GCC internal prototype to avoid an error.
21399 Use char because int might match the return type of a GCC
21400 builtin and then its argument prototype would still apply. */
21413 rm -f conftest.$ac_objext conftest$ac_exeext
21414 if { (ac_try="$ac_link"
21415 case "(($ac_try" in
21416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21417 *) ac_try_echo=$ac_try;;
21419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21420 (eval "$ac_link") 2>conftest.er1
21422 grep -v '^
*+' conftest.er1 >conftest.err
21424 cat conftest.err >&5
21425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21426 (exit $ac_status); } && {
21427 test -z "$ac_c_werror_flag" ||
21428 test ! -s conftest.err
21429 } && test -s conftest$ac_exeext &&
21430 $as_test_x conftest$ac_exeext; then
21431 ac_cv_lib_m_cargf=yes
21433 echo "$as_me: failed program was:" >&5
21434 sed 's
/^
/|
/' conftest.$ac_ext >&5
21436 ac_cv_lib_m_cargf=no
21439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21440 conftest$ac_exeext conftest.$ac_ext
21441 LIBS=$ac_check_lib_save_LIBS
21443 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
21444 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6; }
21445 if test $ac_cv_lib_m_cargf = yes; then
21447 cat >>confdefs.h <<\_ACEOF
21448 #define HAVE_CARGF 1
21453 { echo "$as_me:$LINENO: checking for carg in -lm" >&5
21454 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6; }
21455 if test "${ac_cv_lib_m_carg+set}" = set; then
21456 echo $ECHO_N "(cached) $ECHO_C" >&6
21458 ac_check_lib_save_LIBS=$LIBS
21460 if test x$gcc_no_link = xyes; then
21461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21463 { (exit 1); exit 1; }; }
21465 cat >conftest.$ac_ext <<_ACEOF
21468 cat confdefs.h >>conftest.$ac_ext
21469 cat >>conftest.$ac_ext <<_ACEOF
21470 /* end confdefs.h. */
21472 /* Override any GCC internal prototype to avoid an error.
21473 Use char because int might match the return type of a GCC
21474 builtin and then its argument prototype would still apply. */
21487 rm -f conftest.$ac_objext conftest$ac_exeext
21488 if { (ac_try="$ac_link"
21489 case "(($ac_try" in
21490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21491 *) ac_try_echo=$ac_try;;
21493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21494 (eval "$ac_link") 2>conftest.er1
21496 grep -v '^
*+' conftest.er1 >conftest.err
21498 cat conftest.err >&5
21499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21500 (exit $ac_status); } && {
21501 test -z "$ac_c_werror_flag" ||
21502 test ! -s conftest.err
21503 } && test -s conftest$ac_exeext &&
21504 $as_test_x conftest$ac_exeext; then
21505 ac_cv_lib_m_carg=yes
21507 echo "$as_me: failed program was:" >&5
21508 sed 's
/^
/|
/' conftest.$ac_ext >&5
21510 ac_cv_lib_m_carg=no
21513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21514 conftest$ac_exeext conftest.$ac_ext
21515 LIBS=$ac_check_lib_save_LIBS
21517 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
21518 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6; }
21519 if test $ac_cv_lib_m_carg = yes; then
21521 cat >>confdefs.h <<\_ACEOF
21522 #define HAVE_CARG 1
21527 { echo "$as_me:$LINENO: checking for cargl in -lm" >&5
21528 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6; }
21529 if test "${ac_cv_lib_m_cargl+set}" = set; then
21530 echo $ECHO_N "(cached) $ECHO_C" >&6
21532 ac_check_lib_save_LIBS=$LIBS
21534 if test x$gcc_no_link = xyes; then
21535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21537 { (exit 1); exit 1; }; }
21539 cat >conftest.$ac_ext <<_ACEOF
21542 cat confdefs.h >>conftest.$ac_ext
21543 cat >>conftest.$ac_ext <<_ACEOF
21544 /* end confdefs.h. */
21546 /* Override any GCC internal prototype to avoid an error.
21547 Use char because int might match the return type of a GCC
21548 builtin and then its argument prototype would still apply. */
21561 rm -f conftest.$ac_objext conftest$ac_exeext
21562 if { (ac_try="$ac_link"
21563 case "(($ac_try" in
21564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21565 *) ac_try_echo=$ac_try;;
21567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21568 (eval "$ac_link") 2>conftest.er1
21570 grep -v '^
*+' conftest.er1 >conftest.err
21572 cat conftest.err >&5
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); } && {
21575 test -z "$ac_c_werror_flag" ||
21576 test ! -s conftest.err
21577 } && test -s conftest$ac_exeext &&
21578 $as_test_x conftest$ac_exeext; then
21579 ac_cv_lib_m_cargl=yes
21581 echo "$as_me: failed program was:" >&5
21582 sed 's
/^
/|
/' conftest.$ac_ext >&5
21584 ac_cv_lib_m_cargl=no
21587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21588 conftest$ac_exeext conftest.$ac_ext
21589 LIBS=$ac_check_lib_save_LIBS
21591 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
21592 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6; }
21593 if test $ac_cv_lib_m_cargl = yes; then
21595 cat >>confdefs.h <<\_ACEOF
21596 #define HAVE_CARGL 1
21601 { echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
21602 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6; }
21603 if test "${ac_cv_lib_m_ceilf+set}" = set; then
21604 echo $ECHO_N "(cached) $ECHO_C" >&6
21606 ac_check_lib_save_LIBS=$LIBS
21608 if test x$gcc_no_link = xyes; then
21609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21611 { (exit 1); exit 1; }; }
21613 cat >conftest.$ac_ext <<_ACEOF
21616 cat confdefs.h >>conftest.$ac_ext
21617 cat >>conftest.$ac_ext <<_ACEOF
21618 /* end confdefs.h. */
21620 /* Override any GCC internal prototype to avoid an error.
21621 Use char because int might match the return type of a GCC
21622 builtin and then its argument prototype would still apply. */
21635 rm -f conftest.$ac_objext conftest$ac_exeext
21636 if { (ac_try="$ac_link"
21637 case "(($ac_try" in
21638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21639 *) ac_try_echo=$ac_try;;
21641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21642 (eval "$ac_link") 2>conftest.er1
21644 grep -v '^
*+' conftest.er1 >conftest.err
21646 cat conftest.err >&5
21647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21648 (exit $ac_status); } && {
21649 test -z "$ac_c_werror_flag" ||
21650 test ! -s conftest.err
21651 } && test -s conftest$ac_exeext &&
21652 $as_test_x conftest$ac_exeext; then
21653 ac_cv_lib_m_ceilf=yes
21655 echo "$as_me: failed program was:" >&5
21656 sed 's
/^
/|
/' conftest.$ac_ext >&5
21658 ac_cv_lib_m_ceilf=no
21661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21662 conftest$ac_exeext conftest.$ac_ext
21663 LIBS=$ac_check_lib_save_LIBS
21665 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
21666 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6; }
21667 if test $ac_cv_lib_m_ceilf = yes; then
21669 cat >>confdefs.h <<\_ACEOF
21670 #define HAVE_CEILF 1
21675 { echo "$as_me:$LINENO: checking for ceil in -lm" >&5
21676 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6; }
21677 if test "${ac_cv_lib_m_ceil+set}" = set; then
21678 echo $ECHO_N "(cached) $ECHO_C" >&6
21680 ac_check_lib_save_LIBS=$LIBS
21682 if test x$gcc_no_link = xyes; then
21683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21685 { (exit 1); exit 1; }; }
21687 cat >conftest.$ac_ext <<_ACEOF
21690 cat confdefs.h >>conftest.$ac_ext
21691 cat >>conftest.$ac_ext <<_ACEOF
21692 /* end confdefs.h. */
21694 /* Override any GCC internal prototype to avoid an error.
21695 Use char because int might match the return type of a GCC
21696 builtin and then its argument prototype would still apply. */
21709 rm -f conftest.$ac_objext conftest$ac_exeext
21710 if { (ac_try="$ac_link"
21711 case "(($ac_try" in
21712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21713 *) ac_try_echo=$ac_try;;
21715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21716 (eval "$ac_link") 2>conftest.er1
21718 grep -v '^
*+' conftest.er1 >conftest.err
21720 cat conftest.err >&5
21721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21722 (exit $ac_status); } && {
21723 test -z "$ac_c_werror_flag" ||
21724 test ! -s conftest.err
21725 } && test -s conftest$ac_exeext &&
21726 $as_test_x conftest$ac_exeext; then
21727 ac_cv_lib_m_ceil=yes
21729 echo "$as_me: failed program was:" >&5
21730 sed 's
/^
/|
/' conftest.$ac_ext >&5
21732 ac_cv_lib_m_ceil=no
21735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21736 conftest$ac_exeext conftest.$ac_ext
21737 LIBS=$ac_check_lib_save_LIBS
21739 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
21740 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6; }
21741 if test $ac_cv_lib_m_ceil = yes; then
21743 cat >>confdefs.h <<\_ACEOF
21744 #define HAVE_CEIL 1
21749 { echo "$as_me:$LINENO: checking for ceill in -lm" >&5
21750 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6; }
21751 if test "${ac_cv_lib_m_ceill+set}" = set; then
21752 echo $ECHO_N "(cached) $ECHO_C" >&6
21754 ac_check_lib_save_LIBS=$LIBS
21756 if test x$gcc_no_link = xyes; then
21757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21759 { (exit 1); exit 1; }; }
21761 cat >conftest.$ac_ext <<_ACEOF
21764 cat confdefs.h >>conftest.$ac_ext
21765 cat >>conftest.$ac_ext <<_ACEOF
21766 /* end confdefs.h. */
21768 /* Override any GCC internal prototype to avoid an error.
21769 Use char because int might match the return type of a GCC
21770 builtin and then its argument prototype would still apply. */
21783 rm -f conftest.$ac_objext conftest$ac_exeext
21784 if { (ac_try="$ac_link"
21785 case "(($ac_try" in
21786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21787 *) ac_try_echo=$ac_try;;
21789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21790 (eval "$ac_link") 2>conftest.er1
21792 grep -v '^
*+' conftest.er1 >conftest.err
21794 cat conftest.err >&5
21795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21796 (exit $ac_status); } && {
21797 test -z "$ac_c_werror_flag" ||
21798 test ! -s conftest.err
21799 } && test -s conftest$ac_exeext &&
21800 $as_test_x conftest$ac_exeext; then
21801 ac_cv_lib_m_ceill=yes
21803 echo "$as_me: failed program was:" >&5
21804 sed 's
/^
/|
/' conftest.$ac_ext >&5
21806 ac_cv_lib_m_ceill=no
21809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21810 conftest$ac_exeext conftest.$ac_ext
21811 LIBS=$ac_check_lib_save_LIBS
21813 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
21814 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6; }
21815 if test $ac_cv_lib_m_ceill = yes; then
21817 cat >>confdefs.h <<\_ACEOF
21818 #define HAVE_CEILL 1
21823 { echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
21824 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6; }
21825 if test "${ac_cv_lib_m_copysignf+set}" = set; then
21826 echo $ECHO_N "(cached) $ECHO_C" >&6
21828 ac_check_lib_save_LIBS=$LIBS
21830 if test x$gcc_no_link = xyes; then
21831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21833 { (exit 1); exit 1; }; }
21835 cat >conftest.$ac_ext <<_ACEOF
21838 cat confdefs.h >>conftest.$ac_ext
21839 cat >>conftest.$ac_ext <<_ACEOF
21840 /* end confdefs.h. */
21842 /* Override any GCC internal prototype to avoid an error.
21843 Use char because int might match the return type of a GCC
21844 builtin and then its argument prototype would still apply. */
21852 return copysignf ();
21857 rm -f conftest.$ac_objext conftest$ac_exeext
21858 if { (ac_try="$ac_link"
21859 case "(($ac_try" in
21860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21861 *) ac_try_echo=$ac_try;;
21863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21864 (eval "$ac_link") 2>conftest.er1
21866 grep -v '^
*+' conftest.er1 >conftest.err
21868 cat conftest.err >&5
21869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21870 (exit $ac_status); } && {
21871 test -z "$ac_c_werror_flag" ||
21872 test ! -s conftest.err
21873 } && test -s conftest$ac_exeext &&
21874 $as_test_x conftest$ac_exeext; then
21875 ac_cv_lib_m_copysignf=yes
21877 echo "$as_me: failed program was:" >&5
21878 sed 's
/^
/|
/' conftest.$ac_ext >&5
21880 ac_cv_lib_m_copysignf=no
21883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21884 conftest$ac_exeext conftest.$ac_ext
21885 LIBS=$ac_check_lib_save_LIBS
21887 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
21888 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6; }
21889 if test $ac_cv_lib_m_copysignf = yes; then
21891 cat >>confdefs.h <<\_ACEOF
21892 #define HAVE_COPYSIGNF 1
21897 { echo "$as_me:$LINENO: checking for copysign in -lm" >&5
21898 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6; }
21899 if test "${ac_cv_lib_m_copysign+set}" = set; then
21900 echo $ECHO_N "(cached) $ECHO_C" >&6
21902 ac_check_lib_save_LIBS=$LIBS
21904 if test x$gcc_no_link = xyes; then
21905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21907 { (exit 1); exit 1; }; }
21909 cat >conftest.$ac_ext <<_ACEOF
21912 cat confdefs.h >>conftest.$ac_ext
21913 cat >>conftest.$ac_ext <<_ACEOF
21914 /* end confdefs.h. */
21916 /* Override any GCC internal prototype to avoid an error.
21917 Use char because int might match the return type of a GCC
21918 builtin and then its argument prototype would still apply. */
21926 return copysign ();
21931 rm -f conftest.$ac_objext conftest$ac_exeext
21932 if { (ac_try="$ac_link"
21933 case "(($ac_try" in
21934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21935 *) ac_try_echo=$ac_try;;
21937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21938 (eval "$ac_link") 2>conftest.er1
21940 grep -v '^
*+' conftest.er1 >conftest.err
21942 cat conftest.err >&5
21943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21944 (exit $ac_status); } && {
21945 test -z "$ac_c_werror_flag" ||
21946 test ! -s conftest.err
21947 } && test -s conftest$ac_exeext &&
21948 $as_test_x conftest$ac_exeext; then
21949 ac_cv_lib_m_copysign=yes
21951 echo "$as_me: failed program was:" >&5
21952 sed 's
/^
/|
/' conftest.$ac_ext >&5
21954 ac_cv_lib_m_copysign=no
21957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21958 conftest$ac_exeext conftest.$ac_ext
21959 LIBS=$ac_check_lib_save_LIBS
21961 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
21962 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6; }
21963 if test $ac_cv_lib_m_copysign = yes; then
21965 cat >>confdefs.h <<\_ACEOF
21966 #define HAVE_COPYSIGN 1
21971 { echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
21972 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6; }
21973 if test "${ac_cv_lib_m_copysignl+set}" = set; then
21974 echo $ECHO_N "(cached) $ECHO_C" >&6
21976 ac_check_lib_save_LIBS=$LIBS
21978 if test x$gcc_no_link = xyes; then
21979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21981 { (exit 1); exit 1; }; }
21983 cat >conftest.$ac_ext <<_ACEOF
21986 cat confdefs.h >>conftest.$ac_ext
21987 cat >>conftest.$ac_ext <<_ACEOF
21988 /* end confdefs.h. */
21990 /* Override any GCC internal prototype to avoid an error.
21991 Use char because int might match the return type of a GCC
21992 builtin and then its argument prototype would still apply. */
22000 return copysignl ();
22005 rm -f conftest.$ac_objext conftest$ac_exeext
22006 if { (ac_try="$ac_link"
22007 case "(($ac_try" in
22008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22009 *) ac_try_echo=$ac_try;;
22011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22012 (eval "$ac_link") 2>conftest.er1
22014 grep -v '^
*+' conftest.er1 >conftest.err
22016 cat conftest.err >&5
22017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22018 (exit $ac_status); } && {
22019 test -z "$ac_c_werror_flag" ||
22020 test ! -s conftest.err
22021 } && test -s conftest$ac_exeext &&
22022 $as_test_x conftest$ac_exeext; then
22023 ac_cv_lib_m_copysignl=yes
22025 echo "$as_me: failed program was:" >&5
22026 sed 's
/^
/|
/' conftest.$ac_ext >&5
22028 ac_cv_lib_m_copysignl=no
22031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22032 conftest$ac_exeext conftest.$ac_ext
22033 LIBS=$ac_check_lib_save_LIBS
22035 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
22036 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6; }
22037 if test $ac_cv_lib_m_copysignl = yes; then
22039 cat >>confdefs.h <<\_ACEOF
22040 #define HAVE_COPYSIGNL 1
22045 { echo "$as_me:$LINENO: checking for cosf in -lm" >&5
22046 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6; }
22047 if test "${ac_cv_lib_m_cosf+set}" = set; then
22048 echo $ECHO_N "(cached) $ECHO_C" >&6
22050 ac_check_lib_save_LIBS=$LIBS
22052 if test x$gcc_no_link = xyes; then
22053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22055 { (exit 1); exit 1; }; }
22057 cat >conftest.$ac_ext <<_ACEOF
22060 cat confdefs.h >>conftest.$ac_ext
22061 cat >>conftest.$ac_ext <<_ACEOF
22062 /* end confdefs.h. */
22064 /* Override any GCC internal prototype to avoid an error.
22065 Use char because int might match the return type of a GCC
22066 builtin and then its argument prototype would still apply. */
22079 rm -f conftest.$ac_objext conftest$ac_exeext
22080 if { (ac_try="$ac_link"
22081 case "(($ac_try" in
22082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22083 *) ac_try_echo=$ac_try;;
22085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22086 (eval "$ac_link") 2>conftest.er1
22088 grep -v '^
*+' conftest.er1 >conftest.err
22090 cat conftest.err >&5
22091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22092 (exit $ac_status); } && {
22093 test -z "$ac_c_werror_flag" ||
22094 test ! -s conftest.err
22095 } && test -s conftest$ac_exeext &&
22096 $as_test_x conftest$ac_exeext; then
22097 ac_cv_lib_m_cosf=yes
22099 echo "$as_me: failed program was:" >&5
22100 sed 's
/^
/|
/' conftest.$ac_ext >&5
22102 ac_cv_lib_m_cosf=no
22105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22106 conftest$ac_exeext conftest.$ac_ext
22107 LIBS=$ac_check_lib_save_LIBS
22109 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
22110 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6; }
22111 if test $ac_cv_lib_m_cosf = yes; then
22113 cat >>confdefs.h <<\_ACEOF
22114 #define HAVE_COSF 1
22119 { echo "$as_me:$LINENO: checking for cos in -lm" >&5
22120 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6; }
22121 if test "${ac_cv_lib_m_cos+set}" = set; then
22122 echo $ECHO_N "(cached) $ECHO_C" >&6
22124 ac_check_lib_save_LIBS=$LIBS
22126 if test x$gcc_no_link = xyes; then
22127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22129 { (exit 1); exit 1; }; }
22131 cat >conftest.$ac_ext <<_ACEOF
22134 cat confdefs.h >>conftest.$ac_ext
22135 cat >>conftest.$ac_ext <<_ACEOF
22136 /* end confdefs.h. */
22138 /* Override any GCC internal prototype to avoid an error.
22139 Use char because int might match the return type of a GCC
22140 builtin and then its argument prototype would still apply. */
22153 rm -f conftest.$ac_objext conftest$ac_exeext
22154 if { (ac_try="$ac_link"
22155 case "(($ac_try" in
22156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22157 *) ac_try_echo=$ac_try;;
22159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22160 (eval "$ac_link") 2>conftest.er1
22162 grep -v '^
*+' conftest.er1 >conftest.err
22164 cat conftest.err >&5
22165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22166 (exit $ac_status); } && {
22167 test -z "$ac_c_werror_flag" ||
22168 test ! -s conftest.err
22169 } && test -s conftest$ac_exeext &&
22170 $as_test_x conftest$ac_exeext; then
22171 ac_cv_lib_m_cos=yes
22173 echo "$as_me: failed program was:" >&5
22174 sed 's
/^
/|
/' conftest.$ac_ext >&5
22179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22180 conftest$ac_exeext conftest.$ac_ext
22181 LIBS=$ac_check_lib_save_LIBS
22183 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
22184 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6; }
22185 if test $ac_cv_lib_m_cos = yes; then
22187 cat >>confdefs.h <<\_ACEOF
22193 { echo "$as_me:$LINENO: checking for cosl in -lm" >&5
22194 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6; }
22195 if test "${ac_cv_lib_m_cosl+set}" = set; then
22196 echo $ECHO_N "(cached) $ECHO_C" >&6
22198 ac_check_lib_save_LIBS=$LIBS
22200 if test x$gcc_no_link = xyes; then
22201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22203 { (exit 1); exit 1; }; }
22205 cat >conftest.$ac_ext <<_ACEOF
22208 cat confdefs.h >>conftest.$ac_ext
22209 cat >>conftest.$ac_ext <<_ACEOF
22210 /* end confdefs.h. */
22212 /* Override any GCC internal prototype to avoid an error.
22213 Use char because int might match the return type of a GCC
22214 builtin and then its argument prototype would still apply. */
22227 rm -f conftest.$ac_objext conftest$ac_exeext
22228 if { (ac_try="$ac_link"
22229 case "(($ac_try" in
22230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22231 *) ac_try_echo=$ac_try;;
22233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22234 (eval "$ac_link") 2>conftest.er1
22236 grep -v '^
*+' conftest.er1 >conftest.err
22238 cat conftest.err >&5
22239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240 (exit $ac_status); } && {
22241 test -z "$ac_c_werror_flag" ||
22242 test ! -s conftest.err
22243 } && test -s conftest$ac_exeext &&
22244 $as_test_x conftest$ac_exeext; then
22245 ac_cv_lib_m_cosl=yes
22247 echo "$as_me: failed program was:" >&5
22248 sed 's
/^
/|
/' conftest.$ac_ext >&5
22250 ac_cv_lib_m_cosl=no
22253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22254 conftest$ac_exeext conftest.$ac_ext
22255 LIBS=$ac_check_lib_save_LIBS
22257 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
22258 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6; }
22259 if test $ac_cv_lib_m_cosl = yes; then
22261 cat >>confdefs.h <<\_ACEOF
22262 #define HAVE_COSL 1
22267 { echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
22268 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6; }
22269 if test "${ac_cv_lib_m_ccosf+set}" = set; then
22270 echo $ECHO_N "(cached) $ECHO_C" >&6
22272 ac_check_lib_save_LIBS=$LIBS
22274 if test x$gcc_no_link = xyes; then
22275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22277 { (exit 1); exit 1; }; }
22279 cat >conftest.$ac_ext <<_ACEOF
22282 cat confdefs.h >>conftest.$ac_ext
22283 cat >>conftest.$ac_ext <<_ACEOF
22284 /* end confdefs.h. */
22286 /* Override any GCC internal prototype to avoid an error.
22287 Use char because int might match the return type of a GCC
22288 builtin and then its argument prototype would still apply. */
22301 rm -f conftest.$ac_objext conftest$ac_exeext
22302 if { (ac_try="$ac_link"
22303 case "(($ac_try" in
22304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22305 *) ac_try_echo=$ac_try;;
22307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22308 (eval "$ac_link") 2>conftest.er1
22310 grep -v '^
*+' conftest.er1 >conftest.err
22312 cat conftest.err >&5
22313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22314 (exit $ac_status); } && {
22315 test -z "$ac_c_werror_flag" ||
22316 test ! -s conftest.err
22317 } && test -s conftest$ac_exeext &&
22318 $as_test_x conftest$ac_exeext; then
22319 ac_cv_lib_m_ccosf=yes
22321 echo "$as_me: failed program was:" >&5
22322 sed 's
/^
/|
/' conftest.$ac_ext >&5
22324 ac_cv_lib_m_ccosf=no
22327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22328 conftest$ac_exeext conftest.$ac_ext
22329 LIBS=$ac_check_lib_save_LIBS
22331 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
22332 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6; }
22333 if test $ac_cv_lib_m_ccosf = yes; then
22335 cat >>confdefs.h <<\_ACEOF
22336 #define HAVE_CCOSF 1
22341 { echo "$as_me:$LINENO: checking for ccos in -lm" >&5
22342 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6; }
22343 if test "${ac_cv_lib_m_ccos+set}" = set; then
22344 echo $ECHO_N "(cached) $ECHO_C" >&6
22346 ac_check_lib_save_LIBS=$LIBS
22348 if test x$gcc_no_link = xyes; then
22349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22351 { (exit 1); exit 1; }; }
22353 cat >conftest.$ac_ext <<_ACEOF
22356 cat confdefs.h >>conftest.$ac_ext
22357 cat >>conftest.$ac_ext <<_ACEOF
22358 /* end confdefs.h. */
22360 /* Override any GCC internal prototype to avoid an error.
22361 Use char because int might match the return type of a GCC
22362 builtin and then its argument prototype would still apply. */
22375 rm -f conftest.$ac_objext conftest$ac_exeext
22376 if { (ac_try="$ac_link"
22377 case "(($ac_try" in
22378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22379 *) ac_try_echo=$ac_try;;
22381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22382 (eval "$ac_link") 2>conftest.er1
22384 grep -v '^
*+' conftest.er1 >conftest.err
22386 cat conftest.err >&5
22387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22388 (exit $ac_status); } && {
22389 test -z "$ac_c_werror_flag" ||
22390 test ! -s conftest.err
22391 } && test -s conftest$ac_exeext &&
22392 $as_test_x conftest$ac_exeext; then
22393 ac_cv_lib_m_ccos=yes
22395 echo "$as_me: failed program was:" >&5
22396 sed 's
/^
/|
/' conftest.$ac_ext >&5
22398 ac_cv_lib_m_ccos=no
22401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22402 conftest$ac_exeext conftest.$ac_ext
22403 LIBS=$ac_check_lib_save_LIBS
22405 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
22406 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6; }
22407 if test $ac_cv_lib_m_ccos = yes; then
22409 cat >>confdefs.h <<\_ACEOF
22410 #define HAVE_CCOS 1
22415 { echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
22416 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6; }
22417 if test "${ac_cv_lib_m_ccosl+set}" = set; then
22418 echo $ECHO_N "(cached) $ECHO_C" >&6
22420 ac_check_lib_save_LIBS=$LIBS
22422 if test x$gcc_no_link = xyes; then
22423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22425 { (exit 1); exit 1; }; }
22427 cat >conftest.$ac_ext <<_ACEOF
22430 cat confdefs.h >>conftest.$ac_ext
22431 cat >>conftest.$ac_ext <<_ACEOF
22432 /* end confdefs.h. */
22434 /* Override any GCC internal prototype to avoid an error.
22435 Use char because int might match the return type of a GCC
22436 builtin and then its argument prototype would still apply. */
22449 rm -f conftest.$ac_objext conftest$ac_exeext
22450 if { (ac_try="$ac_link"
22451 case "(($ac_try" in
22452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22453 *) ac_try_echo=$ac_try;;
22455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22456 (eval "$ac_link") 2>conftest.er1
22458 grep -v '^
*+' conftest.er1 >conftest.err
22460 cat conftest.err >&5
22461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462 (exit $ac_status); } && {
22463 test -z "$ac_c_werror_flag" ||
22464 test ! -s conftest.err
22465 } && test -s conftest$ac_exeext &&
22466 $as_test_x conftest$ac_exeext; then
22467 ac_cv_lib_m_ccosl=yes
22469 echo "$as_me: failed program was:" >&5
22470 sed 's
/^
/|
/' conftest.$ac_ext >&5
22472 ac_cv_lib_m_ccosl=no
22475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22476 conftest$ac_exeext conftest.$ac_ext
22477 LIBS=$ac_check_lib_save_LIBS
22479 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
22480 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6; }
22481 if test $ac_cv_lib_m_ccosl = yes; then
22483 cat >>confdefs.h <<\_ACEOF
22484 #define HAVE_CCOSL 1
22489 { echo "$as_me:$LINENO: checking for coshf in -lm" >&5
22490 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6; }
22491 if test "${ac_cv_lib_m_coshf+set}" = set; then
22492 echo $ECHO_N "(cached) $ECHO_C" >&6
22494 ac_check_lib_save_LIBS=$LIBS
22496 if test x$gcc_no_link = xyes; then
22497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22499 { (exit 1); exit 1; }; }
22501 cat >conftest.$ac_ext <<_ACEOF
22504 cat confdefs.h >>conftest.$ac_ext
22505 cat >>conftest.$ac_ext <<_ACEOF
22506 /* end confdefs.h. */
22508 /* Override any GCC internal prototype to avoid an error.
22509 Use char because int might match the return type of a GCC
22510 builtin and then its argument prototype would still apply. */
22523 rm -f conftest.$ac_objext conftest$ac_exeext
22524 if { (ac_try="$ac_link"
22525 case "(($ac_try" in
22526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22527 *) ac_try_echo=$ac_try;;
22529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22530 (eval "$ac_link") 2>conftest.er1
22532 grep -v '^
*+' conftest.er1 >conftest.err
22534 cat conftest.err >&5
22535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536 (exit $ac_status); } && {
22537 test -z "$ac_c_werror_flag" ||
22538 test ! -s conftest.err
22539 } && test -s conftest$ac_exeext &&
22540 $as_test_x conftest$ac_exeext; then
22541 ac_cv_lib_m_coshf=yes
22543 echo "$as_me: failed program was:" >&5
22544 sed 's
/^
/|
/' conftest.$ac_ext >&5
22546 ac_cv_lib_m_coshf=no
22549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22550 conftest$ac_exeext conftest.$ac_ext
22551 LIBS=$ac_check_lib_save_LIBS
22553 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
22554 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6; }
22555 if test $ac_cv_lib_m_coshf = yes; then
22557 cat >>confdefs.h <<\_ACEOF
22558 #define HAVE_COSHF 1
22563 { echo "$as_me:$LINENO: checking for cosh in -lm" >&5
22564 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6; }
22565 if test "${ac_cv_lib_m_cosh+set}" = set; then
22566 echo $ECHO_N "(cached) $ECHO_C" >&6
22568 ac_check_lib_save_LIBS=$LIBS
22570 if test x$gcc_no_link = xyes; then
22571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22573 { (exit 1); exit 1; }; }
22575 cat >conftest.$ac_ext <<_ACEOF
22578 cat confdefs.h >>conftest.$ac_ext
22579 cat >>conftest.$ac_ext <<_ACEOF
22580 /* end confdefs.h. */
22582 /* Override any GCC internal prototype to avoid an error.
22583 Use char because int might match the return type of a GCC
22584 builtin and then its argument prototype would still apply. */
22597 rm -f conftest.$ac_objext conftest$ac_exeext
22598 if { (ac_try="$ac_link"
22599 case "(($ac_try" in
22600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22601 *) ac_try_echo=$ac_try;;
22603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22604 (eval "$ac_link") 2>conftest.er1
22606 grep -v '^
*+' conftest.er1 >conftest.err
22608 cat conftest.err >&5
22609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22610 (exit $ac_status); } && {
22611 test -z "$ac_c_werror_flag" ||
22612 test ! -s conftest.err
22613 } && test -s conftest$ac_exeext &&
22614 $as_test_x conftest$ac_exeext; then
22615 ac_cv_lib_m_cosh=yes
22617 echo "$as_me: failed program was:" >&5
22618 sed 's
/^
/|
/' conftest.$ac_ext >&5
22620 ac_cv_lib_m_cosh=no
22623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22624 conftest$ac_exeext conftest.$ac_ext
22625 LIBS=$ac_check_lib_save_LIBS
22627 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
22628 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6; }
22629 if test $ac_cv_lib_m_cosh = yes; then
22631 cat >>confdefs.h <<\_ACEOF
22632 #define HAVE_COSH 1
22637 { echo "$as_me:$LINENO: checking for coshl in -lm" >&5
22638 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6; }
22639 if test "${ac_cv_lib_m_coshl+set}" = set; then
22640 echo $ECHO_N "(cached) $ECHO_C" >&6
22642 ac_check_lib_save_LIBS=$LIBS
22644 if test x$gcc_no_link = xyes; then
22645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22647 { (exit 1); exit 1; }; }
22649 cat >conftest.$ac_ext <<_ACEOF
22652 cat confdefs.h >>conftest.$ac_ext
22653 cat >>conftest.$ac_ext <<_ACEOF
22654 /* end confdefs.h. */
22656 /* Override any GCC internal prototype to avoid an error.
22657 Use char because int might match the return type of a GCC
22658 builtin and then its argument prototype would still apply. */
22671 rm -f conftest.$ac_objext conftest$ac_exeext
22672 if { (ac_try="$ac_link"
22673 case "(($ac_try" in
22674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22675 *) ac_try_echo=$ac_try;;
22677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22678 (eval "$ac_link") 2>conftest.er1
22680 grep -v '^
*+' conftest.er1 >conftest.err
22682 cat conftest.err >&5
22683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22684 (exit $ac_status); } && {
22685 test -z "$ac_c_werror_flag" ||
22686 test ! -s conftest.err
22687 } && test -s conftest$ac_exeext &&
22688 $as_test_x conftest$ac_exeext; then
22689 ac_cv_lib_m_coshl=yes
22691 echo "$as_me: failed program was:" >&5
22692 sed 's
/^
/|
/' conftest.$ac_ext >&5
22694 ac_cv_lib_m_coshl=no
22697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22698 conftest$ac_exeext conftest.$ac_ext
22699 LIBS=$ac_check_lib_save_LIBS
22701 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
22702 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6; }
22703 if test $ac_cv_lib_m_coshl = yes; then
22705 cat >>confdefs.h <<\_ACEOF
22706 #define HAVE_COSHL 1
22711 { echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
22712 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6; }
22713 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
22714 echo $ECHO_N "(cached) $ECHO_C" >&6
22716 ac_check_lib_save_LIBS=$LIBS
22718 if test x$gcc_no_link = xyes; then
22719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22721 { (exit 1); exit 1; }; }
22723 cat >conftest.$ac_ext <<_ACEOF
22726 cat confdefs.h >>conftest.$ac_ext
22727 cat >>conftest.$ac_ext <<_ACEOF
22728 /* end confdefs.h. */
22730 /* Override any GCC internal prototype to avoid an error.
22731 Use char because int might match the return type of a GCC
22732 builtin and then its argument prototype would still apply. */
22745 rm -f conftest.$ac_objext conftest$ac_exeext
22746 if { (ac_try="$ac_link"
22747 case "(($ac_try" in
22748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22749 *) ac_try_echo=$ac_try;;
22751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22752 (eval "$ac_link") 2>conftest.er1
22754 grep -v '^
*+' conftest.er1 >conftest.err
22756 cat conftest.err >&5
22757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22758 (exit $ac_status); } && {
22759 test -z "$ac_c_werror_flag" ||
22760 test ! -s conftest.err
22761 } && test -s conftest$ac_exeext &&
22762 $as_test_x conftest$ac_exeext; then
22763 ac_cv_lib_m_ccoshf=yes
22765 echo "$as_me: failed program was:" >&5
22766 sed 's
/^
/|
/' conftest.$ac_ext >&5
22768 ac_cv_lib_m_ccoshf=no
22771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22772 conftest$ac_exeext conftest.$ac_ext
22773 LIBS=$ac_check_lib_save_LIBS
22775 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
22776 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6; }
22777 if test $ac_cv_lib_m_ccoshf = yes; then
22779 cat >>confdefs.h <<\_ACEOF
22780 #define HAVE_CCOSHF 1
22785 { echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
22786 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6; }
22787 if test "${ac_cv_lib_m_ccosh+set}" = set; then
22788 echo $ECHO_N "(cached) $ECHO_C" >&6
22790 ac_check_lib_save_LIBS=$LIBS
22792 if test x$gcc_no_link = xyes; then
22793 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22795 { (exit 1); exit 1; }; }
22797 cat >conftest.$ac_ext <<_ACEOF
22800 cat confdefs.h >>conftest.$ac_ext
22801 cat >>conftest.$ac_ext <<_ACEOF
22802 /* end confdefs.h. */
22804 /* Override any GCC internal prototype to avoid an error.
22805 Use char because int might match the return type of a GCC
22806 builtin and then its argument prototype would still apply. */
22819 rm -f conftest.$ac_objext conftest$ac_exeext
22820 if { (ac_try="$ac_link"
22821 case "(($ac_try" in
22822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22823 *) ac_try_echo=$ac_try;;
22825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22826 (eval "$ac_link") 2>conftest.er1
22828 grep -v '^
*+' conftest.er1 >conftest.err
22830 cat conftest.err >&5
22831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22832 (exit $ac_status); } && {
22833 test -z "$ac_c_werror_flag" ||
22834 test ! -s conftest.err
22835 } && test -s conftest$ac_exeext &&
22836 $as_test_x conftest$ac_exeext; then
22837 ac_cv_lib_m_ccosh=yes
22839 echo "$as_me: failed program was:" >&5
22840 sed 's
/^
/|
/' conftest.$ac_ext >&5
22842 ac_cv_lib_m_ccosh=no
22845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22846 conftest$ac_exeext conftest.$ac_ext
22847 LIBS=$ac_check_lib_save_LIBS
22849 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
22850 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6; }
22851 if test $ac_cv_lib_m_ccosh = yes; then
22853 cat >>confdefs.h <<\_ACEOF
22854 #define HAVE_CCOSH 1
22859 { echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
22860 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6; }
22861 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
22862 echo $ECHO_N "(cached) $ECHO_C" >&6
22864 ac_check_lib_save_LIBS=$LIBS
22866 if test x$gcc_no_link = xyes; then
22867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22869 { (exit 1); exit 1; }; }
22871 cat >conftest.$ac_ext <<_ACEOF
22874 cat confdefs.h >>conftest.$ac_ext
22875 cat >>conftest.$ac_ext <<_ACEOF
22876 /* end confdefs.h. */
22878 /* Override any GCC internal prototype to avoid an error.
22879 Use char because int might match the return type of a GCC
22880 builtin and then its argument prototype would still apply. */
22893 rm -f conftest.$ac_objext conftest$ac_exeext
22894 if { (ac_try="$ac_link"
22895 case "(($ac_try" in
22896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22897 *) ac_try_echo=$ac_try;;
22899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22900 (eval "$ac_link") 2>conftest.er1
22902 grep -v '^
*+' conftest.er1 >conftest.err
22904 cat conftest.err >&5
22905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22906 (exit $ac_status); } && {
22907 test -z "$ac_c_werror_flag" ||
22908 test ! -s conftest.err
22909 } && test -s conftest$ac_exeext &&
22910 $as_test_x conftest$ac_exeext; then
22911 ac_cv_lib_m_ccoshl=yes
22913 echo "$as_me: failed program was:" >&5
22914 sed 's
/^
/|
/' conftest.$ac_ext >&5
22916 ac_cv_lib_m_ccoshl=no
22919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22920 conftest$ac_exeext conftest.$ac_ext
22921 LIBS=$ac_check_lib_save_LIBS
22923 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
22924 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6; }
22925 if test $ac_cv_lib_m_ccoshl = yes; then
22927 cat >>confdefs.h <<\_ACEOF
22928 #define HAVE_CCOSHL 1
22933 { echo "$as_me:$LINENO: checking for expf in -lm" >&5
22934 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6; }
22935 if test "${ac_cv_lib_m_expf+set}" = set; then
22936 echo $ECHO_N "(cached) $ECHO_C" >&6
22938 ac_check_lib_save_LIBS=$LIBS
22940 if test x$gcc_no_link = xyes; then
22941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22943 { (exit 1); exit 1; }; }
22945 cat >conftest.$ac_ext <<_ACEOF
22948 cat confdefs.h >>conftest.$ac_ext
22949 cat >>conftest.$ac_ext <<_ACEOF
22950 /* end confdefs.h. */
22952 /* Override any GCC internal prototype to avoid an error.
22953 Use char because int might match the return type of a GCC
22954 builtin and then its argument prototype would still apply. */
22967 rm -f conftest.$ac_objext conftest$ac_exeext
22968 if { (ac_try="$ac_link"
22969 case "(($ac_try" in
22970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22971 *) ac_try_echo=$ac_try;;
22973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22974 (eval "$ac_link") 2>conftest.er1
22976 grep -v '^
*+' conftest.er1 >conftest.err
22978 cat conftest.err >&5
22979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22980 (exit $ac_status); } && {
22981 test -z "$ac_c_werror_flag" ||
22982 test ! -s conftest.err
22983 } && test -s conftest$ac_exeext &&
22984 $as_test_x conftest$ac_exeext; then
22985 ac_cv_lib_m_expf=yes
22987 echo "$as_me: failed program was:" >&5
22988 sed 's
/^
/|
/' conftest.$ac_ext >&5
22990 ac_cv_lib_m_expf=no
22993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22994 conftest$ac_exeext conftest.$ac_ext
22995 LIBS=$ac_check_lib_save_LIBS
22997 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
22998 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6; }
22999 if test $ac_cv_lib_m_expf = yes; then
23001 cat >>confdefs.h <<\_ACEOF
23002 #define HAVE_EXPF 1
23007 { echo "$as_me:$LINENO: checking for exp in -lm" >&5
23008 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6; }
23009 if test "${ac_cv_lib_m_exp+set}" = set; then
23010 echo $ECHO_N "(cached) $ECHO_C" >&6
23012 ac_check_lib_save_LIBS=$LIBS
23014 if test x$gcc_no_link = xyes; then
23015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23017 { (exit 1); exit 1; }; }
23019 cat >conftest.$ac_ext <<_ACEOF
23022 cat confdefs.h >>conftest.$ac_ext
23023 cat >>conftest.$ac_ext <<_ACEOF
23024 /* end confdefs.h. */
23026 /* Override any GCC internal prototype to avoid an error.
23027 Use char because int might match the return type of a GCC
23028 builtin and then its argument prototype would still apply. */
23041 rm -f conftest.$ac_objext conftest$ac_exeext
23042 if { (ac_try="$ac_link"
23043 case "(($ac_try" in
23044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23045 *) ac_try_echo=$ac_try;;
23047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23048 (eval "$ac_link") 2>conftest.er1
23050 grep -v '^
*+' conftest.er1 >conftest.err
23052 cat conftest.err >&5
23053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23054 (exit $ac_status); } && {
23055 test -z "$ac_c_werror_flag" ||
23056 test ! -s conftest.err
23057 } && test -s conftest$ac_exeext &&
23058 $as_test_x conftest$ac_exeext; then
23059 ac_cv_lib_m_exp=yes
23061 echo "$as_me: failed program was:" >&5
23062 sed 's
/^
/|
/' conftest.$ac_ext >&5
23067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23068 conftest$ac_exeext conftest.$ac_ext
23069 LIBS=$ac_check_lib_save_LIBS
23071 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
23072 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6; }
23073 if test $ac_cv_lib_m_exp = yes; then
23075 cat >>confdefs.h <<\_ACEOF
23081 { echo "$as_me:$LINENO: checking for expl in -lm" >&5
23082 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6; }
23083 if test "${ac_cv_lib_m_expl+set}" = set; then
23084 echo $ECHO_N "(cached) $ECHO_C" >&6
23086 ac_check_lib_save_LIBS=$LIBS
23088 if test x$gcc_no_link = xyes; then
23089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23091 { (exit 1); exit 1; }; }
23093 cat >conftest.$ac_ext <<_ACEOF
23096 cat confdefs.h >>conftest.$ac_ext
23097 cat >>conftest.$ac_ext <<_ACEOF
23098 /* end confdefs.h. */
23100 /* Override any GCC internal prototype to avoid an error.
23101 Use char because int might match the return type of a GCC
23102 builtin and then its argument prototype would still apply. */
23115 rm -f conftest.$ac_objext conftest$ac_exeext
23116 if { (ac_try="$ac_link"
23117 case "(($ac_try" in
23118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23119 *) ac_try_echo=$ac_try;;
23121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23122 (eval "$ac_link") 2>conftest.er1
23124 grep -v '^
*+' conftest.er1 >conftest.err
23126 cat conftest.err >&5
23127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23128 (exit $ac_status); } && {
23129 test -z "$ac_c_werror_flag" ||
23130 test ! -s conftest.err
23131 } && test -s conftest$ac_exeext &&
23132 $as_test_x conftest$ac_exeext; then
23133 ac_cv_lib_m_expl=yes
23135 echo "$as_me: failed program was:" >&5
23136 sed 's
/^
/|
/' conftest.$ac_ext >&5
23138 ac_cv_lib_m_expl=no
23141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23142 conftest$ac_exeext conftest.$ac_ext
23143 LIBS=$ac_check_lib_save_LIBS
23145 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
23146 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6; }
23147 if test $ac_cv_lib_m_expl = yes; then
23149 cat >>confdefs.h <<\_ACEOF
23150 #define HAVE_EXPL 1
23155 { echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
23156 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6; }
23157 if test "${ac_cv_lib_m_cexpf+set}" = set; then
23158 echo $ECHO_N "(cached) $ECHO_C" >&6
23160 ac_check_lib_save_LIBS=$LIBS
23162 if test x$gcc_no_link = xyes; then
23163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23165 { (exit 1); exit 1; }; }
23167 cat >conftest.$ac_ext <<_ACEOF
23170 cat confdefs.h >>conftest.$ac_ext
23171 cat >>conftest.$ac_ext <<_ACEOF
23172 /* end confdefs.h. */
23174 /* Override any GCC internal prototype to avoid an error.
23175 Use char because int might match the return type of a GCC
23176 builtin and then its argument prototype would still apply. */
23189 rm -f conftest.$ac_objext conftest$ac_exeext
23190 if { (ac_try="$ac_link"
23191 case "(($ac_try" in
23192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23193 *) ac_try_echo=$ac_try;;
23195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23196 (eval "$ac_link") 2>conftest.er1
23198 grep -v '^
*+' conftest.er1 >conftest.err
23200 cat conftest.err >&5
23201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23202 (exit $ac_status); } && {
23203 test -z "$ac_c_werror_flag" ||
23204 test ! -s conftest.err
23205 } && test -s conftest$ac_exeext &&
23206 $as_test_x conftest$ac_exeext; then
23207 ac_cv_lib_m_cexpf=yes
23209 echo "$as_me: failed program was:" >&5
23210 sed 's
/^
/|
/' conftest.$ac_ext >&5
23212 ac_cv_lib_m_cexpf=no
23215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23216 conftest$ac_exeext conftest.$ac_ext
23217 LIBS=$ac_check_lib_save_LIBS
23219 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
23220 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6; }
23221 if test $ac_cv_lib_m_cexpf = yes; then
23223 cat >>confdefs.h <<\_ACEOF
23224 #define HAVE_CEXPF 1
23229 { echo "$as_me:$LINENO: checking for cexp in -lm" >&5
23230 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6; }
23231 if test "${ac_cv_lib_m_cexp+set}" = set; then
23232 echo $ECHO_N "(cached) $ECHO_C" >&6
23234 ac_check_lib_save_LIBS=$LIBS
23236 if test x$gcc_no_link = xyes; then
23237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23239 { (exit 1); exit 1; }; }
23241 cat >conftest.$ac_ext <<_ACEOF
23244 cat confdefs.h >>conftest.$ac_ext
23245 cat >>conftest.$ac_ext <<_ACEOF
23246 /* end confdefs.h. */
23248 /* Override any GCC internal prototype to avoid an error.
23249 Use char because int might match the return type of a GCC
23250 builtin and then its argument prototype would still apply. */
23263 rm -f conftest.$ac_objext conftest$ac_exeext
23264 if { (ac_try="$ac_link"
23265 case "(($ac_try" in
23266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23267 *) ac_try_echo=$ac_try;;
23269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23270 (eval "$ac_link") 2>conftest.er1
23272 grep -v '^
*+' conftest.er1 >conftest.err
23274 cat conftest.err >&5
23275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23276 (exit $ac_status); } && {
23277 test -z "$ac_c_werror_flag" ||
23278 test ! -s conftest.err
23279 } && test -s conftest$ac_exeext &&
23280 $as_test_x conftest$ac_exeext; then
23281 ac_cv_lib_m_cexp=yes
23283 echo "$as_me: failed program was:" >&5
23284 sed 's
/^
/|
/' conftest.$ac_ext >&5
23286 ac_cv_lib_m_cexp=no
23289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23290 conftest$ac_exeext conftest.$ac_ext
23291 LIBS=$ac_check_lib_save_LIBS
23293 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
23294 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6; }
23295 if test $ac_cv_lib_m_cexp = yes; then
23297 cat >>confdefs.h <<\_ACEOF
23298 #define HAVE_CEXP 1
23303 { echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
23304 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6; }
23305 if test "${ac_cv_lib_m_cexpl+set}" = set; then
23306 echo $ECHO_N "(cached) $ECHO_C" >&6
23308 ac_check_lib_save_LIBS=$LIBS
23310 if test x$gcc_no_link = xyes; then
23311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23313 { (exit 1); exit 1; }; }
23315 cat >conftest.$ac_ext <<_ACEOF
23318 cat confdefs.h >>conftest.$ac_ext
23319 cat >>conftest.$ac_ext <<_ACEOF
23320 /* end confdefs.h. */
23322 /* Override any GCC internal prototype to avoid an error.
23323 Use char because int might match the return type of a GCC
23324 builtin and then its argument prototype would still apply. */
23337 rm -f conftest.$ac_objext conftest$ac_exeext
23338 if { (ac_try="$ac_link"
23339 case "(($ac_try" in
23340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23341 *) ac_try_echo=$ac_try;;
23343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23344 (eval "$ac_link") 2>conftest.er1
23346 grep -v '^
*+' conftest.er1 >conftest.err
23348 cat conftest.err >&5
23349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23350 (exit $ac_status); } && {
23351 test -z "$ac_c_werror_flag" ||
23352 test ! -s conftest.err
23353 } && test -s conftest$ac_exeext &&
23354 $as_test_x conftest$ac_exeext; then
23355 ac_cv_lib_m_cexpl=yes
23357 echo "$as_me: failed program was:" >&5
23358 sed 's
/^
/|
/' conftest.$ac_ext >&5
23360 ac_cv_lib_m_cexpl=no
23363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23364 conftest$ac_exeext conftest.$ac_ext
23365 LIBS=$ac_check_lib_save_LIBS
23367 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
23368 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6; }
23369 if test $ac_cv_lib_m_cexpl = yes; then
23371 cat >>confdefs.h <<\_ACEOF
23372 #define HAVE_CEXPL 1
23377 { echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
23378 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6; }
23379 if test "${ac_cv_lib_m_fabsf+set}" = set; then
23380 echo $ECHO_N "(cached) $ECHO_C" >&6
23382 ac_check_lib_save_LIBS=$LIBS
23384 if test x$gcc_no_link = xyes; then
23385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23387 { (exit 1); exit 1; }; }
23389 cat >conftest.$ac_ext <<_ACEOF
23392 cat confdefs.h >>conftest.$ac_ext
23393 cat >>conftest.$ac_ext <<_ACEOF
23394 /* end confdefs.h. */
23396 /* Override any GCC internal prototype to avoid an error.
23397 Use char because int might match the return type of a GCC
23398 builtin and then its argument prototype would still apply. */
23411 rm -f conftest.$ac_objext conftest$ac_exeext
23412 if { (ac_try="$ac_link"
23413 case "(($ac_try" in
23414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23415 *) ac_try_echo=$ac_try;;
23417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23418 (eval "$ac_link") 2>conftest.er1
23420 grep -v '^
*+' conftest.er1 >conftest.err
23422 cat conftest.err >&5
23423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23424 (exit $ac_status); } && {
23425 test -z "$ac_c_werror_flag" ||
23426 test ! -s conftest.err
23427 } && test -s conftest$ac_exeext &&
23428 $as_test_x conftest$ac_exeext; then
23429 ac_cv_lib_m_fabsf=yes
23431 echo "$as_me: failed program was:" >&5
23432 sed 's
/^
/|
/' conftest.$ac_ext >&5
23434 ac_cv_lib_m_fabsf=no
23437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23438 conftest$ac_exeext conftest.$ac_ext
23439 LIBS=$ac_check_lib_save_LIBS
23441 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
23442 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6; }
23443 if test $ac_cv_lib_m_fabsf = yes; then
23445 cat >>confdefs.h <<\_ACEOF
23446 #define HAVE_FABSF 1
23451 { echo "$as_me:$LINENO: checking for fabs in -lm" >&5
23452 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6; }
23453 if test "${ac_cv_lib_m_fabs+set}" = set; then
23454 echo $ECHO_N "(cached) $ECHO_C" >&6
23456 ac_check_lib_save_LIBS=$LIBS
23458 if test x$gcc_no_link = xyes; then
23459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23461 { (exit 1); exit 1; }; }
23463 cat >conftest.$ac_ext <<_ACEOF
23466 cat confdefs.h >>conftest.$ac_ext
23467 cat >>conftest.$ac_ext <<_ACEOF
23468 /* end confdefs.h. */
23470 /* Override any GCC internal prototype to avoid an error.
23471 Use char because int might match the return type of a GCC
23472 builtin and then its argument prototype would still apply. */
23485 rm -f conftest.$ac_objext conftest$ac_exeext
23486 if { (ac_try="$ac_link"
23487 case "(($ac_try" in
23488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23489 *) ac_try_echo=$ac_try;;
23491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23492 (eval "$ac_link") 2>conftest.er1
23494 grep -v '^
*+' conftest.er1 >conftest.err
23496 cat conftest.err >&5
23497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23498 (exit $ac_status); } && {
23499 test -z "$ac_c_werror_flag" ||
23500 test ! -s conftest.err
23501 } && test -s conftest$ac_exeext &&
23502 $as_test_x conftest$ac_exeext; then
23503 ac_cv_lib_m_fabs=yes
23505 echo "$as_me: failed program was:" >&5
23506 sed 's
/^
/|
/' conftest.$ac_ext >&5
23508 ac_cv_lib_m_fabs=no
23511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23512 conftest$ac_exeext conftest.$ac_ext
23513 LIBS=$ac_check_lib_save_LIBS
23515 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
23516 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6; }
23517 if test $ac_cv_lib_m_fabs = yes; then
23519 cat >>confdefs.h <<\_ACEOF
23520 #define HAVE_FABS 1
23525 { echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
23526 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6; }
23527 if test "${ac_cv_lib_m_fabsl+set}" = set; then
23528 echo $ECHO_N "(cached) $ECHO_C" >&6
23530 ac_check_lib_save_LIBS=$LIBS
23532 if test x$gcc_no_link = xyes; then
23533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23535 { (exit 1); exit 1; }; }
23537 cat >conftest.$ac_ext <<_ACEOF
23540 cat confdefs.h >>conftest.$ac_ext
23541 cat >>conftest.$ac_ext <<_ACEOF
23542 /* end confdefs.h. */
23544 /* Override any GCC internal prototype to avoid an error.
23545 Use char because int might match the return type of a GCC
23546 builtin and then its argument prototype would still apply. */
23559 rm -f conftest.$ac_objext conftest$ac_exeext
23560 if { (ac_try="$ac_link"
23561 case "(($ac_try" in
23562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23563 *) ac_try_echo=$ac_try;;
23565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23566 (eval "$ac_link") 2>conftest.er1
23568 grep -v '^
*+' conftest.er1 >conftest.err
23570 cat conftest.err >&5
23571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23572 (exit $ac_status); } && {
23573 test -z "$ac_c_werror_flag" ||
23574 test ! -s conftest.err
23575 } && test -s conftest$ac_exeext &&
23576 $as_test_x conftest$ac_exeext; then
23577 ac_cv_lib_m_fabsl=yes
23579 echo "$as_me: failed program was:" >&5
23580 sed 's
/^
/|
/' conftest.$ac_ext >&5
23582 ac_cv_lib_m_fabsl=no
23585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23586 conftest$ac_exeext conftest.$ac_ext
23587 LIBS=$ac_check_lib_save_LIBS
23589 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
23590 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6; }
23591 if test $ac_cv_lib_m_fabsl = yes; then
23593 cat >>confdefs.h <<\_ACEOF
23594 #define HAVE_FABSL 1
23599 { echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
23600 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6; }
23601 if test "${ac_cv_lib_m_cabsf+set}" = set; then
23602 echo $ECHO_N "(cached) $ECHO_C" >&6
23604 ac_check_lib_save_LIBS=$LIBS
23606 if test x$gcc_no_link = xyes; then
23607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23609 { (exit 1); exit 1; }; }
23611 cat >conftest.$ac_ext <<_ACEOF
23614 cat confdefs.h >>conftest.$ac_ext
23615 cat >>conftest.$ac_ext <<_ACEOF
23616 /* end confdefs.h. */
23618 /* Override any GCC internal prototype to avoid an error.
23619 Use char because int might match the return type of a GCC
23620 builtin and then its argument prototype would still apply. */
23633 rm -f conftest.$ac_objext conftest$ac_exeext
23634 if { (ac_try="$ac_link"
23635 case "(($ac_try" in
23636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23637 *) ac_try_echo=$ac_try;;
23639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23640 (eval "$ac_link") 2>conftest.er1
23642 grep -v '^
*+' conftest.er1 >conftest.err
23644 cat conftest.err >&5
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); } && {
23647 test -z "$ac_c_werror_flag" ||
23648 test ! -s conftest.err
23649 } && test -s conftest$ac_exeext &&
23650 $as_test_x conftest$ac_exeext; then
23651 ac_cv_lib_m_cabsf=yes
23653 echo "$as_me: failed program was:" >&5
23654 sed 's
/^
/|
/' conftest.$ac_ext >&5
23656 ac_cv_lib_m_cabsf=no
23659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23660 conftest$ac_exeext conftest.$ac_ext
23661 LIBS=$ac_check_lib_save_LIBS
23663 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
23664 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6; }
23665 if test $ac_cv_lib_m_cabsf = yes; then
23667 cat >>confdefs.h <<\_ACEOF
23668 #define HAVE_CABSF 1
23673 { echo "$as_me:$LINENO: checking for cabs in -lm" >&5
23674 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6; }
23675 if test "${ac_cv_lib_m_cabs+set}" = set; then
23676 echo $ECHO_N "(cached) $ECHO_C" >&6
23678 ac_check_lib_save_LIBS=$LIBS
23680 if test x$gcc_no_link = xyes; then
23681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23683 { (exit 1); exit 1; }; }
23685 cat >conftest.$ac_ext <<_ACEOF
23688 cat confdefs.h >>conftest.$ac_ext
23689 cat >>conftest.$ac_ext <<_ACEOF
23690 /* end confdefs.h. */
23692 /* Override any GCC internal prototype to avoid an error.
23693 Use char because int might match the return type of a GCC
23694 builtin and then its argument prototype would still apply. */
23707 rm -f conftest.$ac_objext conftest$ac_exeext
23708 if { (ac_try="$ac_link"
23709 case "(($ac_try" in
23710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23711 *) ac_try_echo=$ac_try;;
23713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23714 (eval "$ac_link") 2>conftest.er1
23716 grep -v '^
*+' conftest.er1 >conftest.err
23718 cat conftest.err >&5
23719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23720 (exit $ac_status); } && {
23721 test -z "$ac_c_werror_flag" ||
23722 test ! -s conftest.err
23723 } && test -s conftest$ac_exeext &&
23724 $as_test_x conftest$ac_exeext; then
23725 ac_cv_lib_m_cabs=yes
23727 echo "$as_me: failed program was:" >&5
23728 sed 's
/^
/|
/' conftest.$ac_ext >&5
23730 ac_cv_lib_m_cabs=no
23733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23734 conftest$ac_exeext conftest.$ac_ext
23735 LIBS=$ac_check_lib_save_LIBS
23737 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
23738 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6; }
23739 if test $ac_cv_lib_m_cabs = yes; then
23741 cat >>confdefs.h <<\_ACEOF
23742 #define HAVE_CABS 1
23747 { echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
23748 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6; }
23749 if test "${ac_cv_lib_m_cabsl+set}" = set; then
23750 echo $ECHO_N "(cached) $ECHO_C" >&6
23752 ac_check_lib_save_LIBS=$LIBS
23754 if test x$gcc_no_link = xyes; then
23755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23757 { (exit 1); exit 1; }; }
23759 cat >conftest.$ac_ext <<_ACEOF
23762 cat confdefs.h >>conftest.$ac_ext
23763 cat >>conftest.$ac_ext <<_ACEOF
23764 /* end confdefs.h. */
23766 /* Override any GCC internal prototype to avoid an error.
23767 Use char because int might match the return type of a GCC
23768 builtin and then its argument prototype would still apply. */
23781 rm -f conftest.$ac_objext conftest$ac_exeext
23782 if { (ac_try="$ac_link"
23783 case "(($ac_try" in
23784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23785 *) ac_try_echo=$ac_try;;
23787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23788 (eval "$ac_link") 2>conftest.er1
23790 grep -v '^
*+' conftest.er1 >conftest.err
23792 cat conftest.err >&5
23793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23794 (exit $ac_status); } && {
23795 test -z "$ac_c_werror_flag" ||
23796 test ! -s conftest.err
23797 } && test -s conftest$ac_exeext &&
23798 $as_test_x conftest$ac_exeext; then
23799 ac_cv_lib_m_cabsl=yes
23801 echo "$as_me: failed program was:" >&5
23802 sed 's
/^
/|
/' conftest.$ac_ext >&5
23804 ac_cv_lib_m_cabsl=no
23807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23808 conftest$ac_exeext conftest.$ac_ext
23809 LIBS=$ac_check_lib_save_LIBS
23811 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
23812 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6; }
23813 if test $ac_cv_lib_m_cabsl = yes; then
23815 cat >>confdefs.h <<\_ACEOF
23816 #define HAVE_CABSL 1
23821 { echo "$as_me:$LINENO: checking for floorf in -lm" >&5
23822 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6; }
23823 if test "${ac_cv_lib_m_floorf+set}" = set; then
23824 echo $ECHO_N "(cached) $ECHO_C" >&6
23826 ac_check_lib_save_LIBS=$LIBS
23828 if test x$gcc_no_link = xyes; then
23829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23831 { (exit 1); exit 1; }; }
23833 cat >conftest.$ac_ext <<_ACEOF
23836 cat confdefs.h >>conftest.$ac_ext
23837 cat >>conftest.$ac_ext <<_ACEOF
23838 /* end confdefs.h. */
23840 /* Override any GCC internal prototype to avoid an error.
23841 Use char because int might match the return type of a GCC
23842 builtin and then its argument prototype would still apply. */
23855 rm -f conftest.$ac_objext conftest$ac_exeext
23856 if { (ac_try="$ac_link"
23857 case "(($ac_try" in
23858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23859 *) ac_try_echo=$ac_try;;
23861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23862 (eval "$ac_link") 2>conftest.er1
23864 grep -v '^
*+' conftest.er1 >conftest.err
23866 cat conftest.err >&5
23867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23868 (exit $ac_status); } && {
23869 test -z "$ac_c_werror_flag" ||
23870 test ! -s conftest.err
23871 } && test -s conftest$ac_exeext &&
23872 $as_test_x conftest$ac_exeext; then
23873 ac_cv_lib_m_floorf=yes
23875 echo "$as_me: failed program was:" >&5
23876 sed 's
/^
/|
/' conftest.$ac_ext >&5
23878 ac_cv_lib_m_floorf=no
23881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23882 conftest$ac_exeext conftest.$ac_ext
23883 LIBS=$ac_check_lib_save_LIBS
23885 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
23886 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6; }
23887 if test $ac_cv_lib_m_floorf = yes; then
23889 cat >>confdefs.h <<\_ACEOF
23890 #define HAVE_FLOORF 1
23895 { echo "$as_me:$LINENO: checking for floor in -lm" >&5
23896 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6; }
23897 if test "${ac_cv_lib_m_floor+set}" = set; then
23898 echo $ECHO_N "(cached) $ECHO_C" >&6
23900 ac_check_lib_save_LIBS=$LIBS
23902 if test x$gcc_no_link = xyes; then
23903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23905 { (exit 1); exit 1; }; }
23907 cat >conftest.$ac_ext <<_ACEOF
23910 cat confdefs.h >>conftest.$ac_ext
23911 cat >>conftest.$ac_ext <<_ACEOF
23912 /* end confdefs.h. */
23914 /* Override any GCC internal prototype to avoid an error.
23915 Use char because int might match the return type of a GCC
23916 builtin and then its argument prototype would still apply. */
23929 rm -f conftest.$ac_objext conftest$ac_exeext
23930 if { (ac_try="$ac_link"
23931 case "(($ac_try" in
23932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23933 *) ac_try_echo=$ac_try;;
23935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23936 (eval "$ac_link") 2>conftest.er1
23938 grep -v '^
*+' conftest.er1 >conftest.err
23940 cat conftest.err >&5
23941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23942 (exit $ac_status); } && {
23943 test -z "$ac_c_werror_flag" ||
23944 test ! -s conftest.err
23945 } && test -s conftest$ac_exeext &&
23946 $as_test_x conftest$ac_exeext; then
23947 ac_cv_lib_m_floor=yes
23949 echo "$as_me: failed program was:" >&5
23950 sed 's
/^
/|
/' conftest.$ac_ext >&5
23952 ac_cv_lib_m_floor=no
23955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23956 conftest$ac_exeext conftest.$ac_ext
23957 LIBS=$ac_check_lib_save_LIBS
23959 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
23960 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6; }
23961 if test $ac_cv_lib_m_floor = yes; then
23963 cat >>confdefs.h <<\_ACEOF
23964 #define HAVE_FLOOR 1
23969 { echo "$as_me:$LINENO: checking for floorl in -lm" >&5
23970 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6; }
23971 if test "${ac_cv_lib_m_floorl+set}" = set; then
23972 echo $ECHO_N "(cached) $ECHO_C" >&6
23974 ac_check_lib_save_LIBS=$LIBS
23976 if test x$gcc_no_link = xyes; then
23977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23979 { (exit 1); exit 1; }; }
23981 cat >conftest.$ac_ext <<_ACEOF
23984 cat confdefs.h >>conftest.$ac_ext
23985 cat >>conftest.$ac_ext <<_ACEOF
23986 /* end confdefs.h. */
23988 /* Override any GCC internal prototype to avoid an error.
23989 Use char because int might match the return type of a GCC
23990 builtin and then its argument prototype would still apply. */
24003 rm -f conftest.$ac_objext conftest$ac_exeext
24004 if { (ac_try="$ac_link"
24005 case "(($ac_try" in
24006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24007 *) ac_try_echo=$ac_try;;
24009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24010 (eval "$ac_link") 2>conftest.er1
24012 grep -v '^
*+' conftest.er1 >conftest.err
24014 cat conftest.err >&5
24015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24016 (exit $ac_status); } && {
24017 test -z "$ac_c_werror_flag" ||
24018 test ! -s conftest.err
24019 } && test -s conftest$ac_exeext &&
24020 $as_test_x conftest$ac_exeext; then
24021 ac_cv_lib_m_floorl=yes
24023 echo "$as_me: failed program was:" >&5
24024 sed 's
/^
/|
/' conftest.$ac_ext >&5
24026 ac_cv_lib_m_floorl=no
24029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24030 conftest$ac_exeext conftest.$ac_ext
24031 LIBS=$ac_check_lib_save_LIBS
24033 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
24034 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6; }
24035 if test $ac_cv_lib_m_floorl = yes; then
24037 cat >>confdefs.h <<\_ACEOF
24038 #define HAVE_FLOORL 1
24043 { echo "$as_me:$LINENO: checking for fmodf in -lm" >&5
24044 echo $ECHO_N "checking for fmodf in -lm... $ECHO_C" >&6; }
24045 if test "${ac_cv_lib_m_fmodf+set}" = set; then
24046 echo $ECHO_N "(cached) $ECHO_C" >&6
24048 ac_check_lib_save_LIBS=$LIBS
24050 if test x$gcc_no_link = xyes; then
24051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24053 { (exit 1); exit 1; }; }
24055 cat >conftest.$ac_ext <<_ACEOF
24058 cat confdefs.h >>conftest.$ac_ext
24059 cat >>conftest.$ac_ext <<_ACEOF
24060 /* end confdefs.h. */
24062 /* Override any GCC internal prototype to avoid an error.
24063 Use char because int might match the return type of a GCC
24064 builtin and then its argument prototype would still apply. */
24077 rm -f conftest.$ac_objext conftest$ac_exeext
24078 if { (ac_try="$ac_link"
24079 case "(($ac_try" in
24080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24081 *) ac_try_echo=$ac_try;;
24083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24084 (eval "$ac_link") 2>conftest.er1
24086 grep -v '^
*+' conftest.er1 >conftest.err
24088 cat conftest.err >&5
24089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24090 (exit $ac_status); } && {
24091 test -z "$ac_c_werror_flag" ||
24092 test ! -s conftest.err
24093 } && test -s conftest$ac_exeext &&
24094 $as_test_x conftest$ac_exeext; then
24095 ac_cv_lib_m_fmodf=yes
24097 echo "$as_me: failed program was:" >&5
24098 sed 's
/^
/|
/' conftest.$ac_ext >&5
24100 ac_cv_lib_m_fmodf=no
24103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24104 conftest$ac_exeext conftest.$ac_ext
24105 LIBS=$ac_check_lib_save_LIBS
24107 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodf" >&5
24108 echo "${ECHO_T}$ac_cv_lib_m_fmodf" >&6; }
24109 if test $ac_cv_lib_m_fmodf = yes; then
24111 cat >>confdefs.h <<\_ACEOF
24112 #define HAVE_FMODF 1
24117 { echo "$as_me:$LINENO: checking for fmod in -lm" >&5
24118 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; }
24119 if test "${ac_cv_lib_m_fmod+set}" = set; then
24120 echo $ECHO_N "(cached) $ECHO_C" >&6
24122 ac_check_lib_save_LIBS=$LIBS
24124 if test x$gcc_no_link = xyes; then
24125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24127 { (exit 1); exit 1; }; }
24129 cat >conftest.$ac_ext <<_ACEOF
24132 cat confdefs.h >>conftest.$ac_ext
24133 cat >>conftest.$ac_ext <<_ACEOF
24134 /* end confdefs.h. */
24136 /* Override any GCC internal prototype to avoid an error.
24137 Use char because int might match the return type of a GCC
24138 builtin and then its argument prototype would still apply. */
24151 rm -f conftest.$ac_objext conftest$ac_exeext
24152 if { (ac_try="$ac_link"
24153 case "(($ac_try" in
24154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24155 *) ac_try_echo=$ac_try;;
24157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24158 (eval "$ac_link") 2>conftest.er1
24160 grep -v '^
*+' conftest.er1 >conftest.err
24162 cat conftest.err >&5
24163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24164 (exit $ac_status); } && {
24165 test -z "$ac_c_werror_flag" ||
24166 test ! -s conftest.err
24167 } && test -s conftest$ac_exeext &&
24168 $as_test_x conftest$ac_exeext; then
24169 ac_cv_lib_m_fmod=yes
24171 echo "$as_me: failed program was:" >&5
24172 sed 's
/^
/|
/' conftest.$ac_ext >&5
24174 ac_cv_lib_m_fmod=no
24177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24178 conftest$ac_exeext conftest.$ac_ext
24179 LIBS=$ac_check_lib_save_LIBS
24181 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
24182 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; }
24183 if test $ac_cv_lib_m_fmod = yes; then
24185 cat >>confdefs.h <<\_ACEOF
24186 #define HAVE_FMOD 1
24191 { echo "$as_me:$LINENO: checking for fmodl in -lm" >&5
24192 echo $ECHO_N "checking for fmodl in -lm... $ECHO_C" >&6; }
24193 if test "${ac_cv_lib_m_fmodl+set}" = set; then
24194 echo $ECHO_N "(cached) $ECHO_C" >&6
24196 ac_check_lib_save_LIBS=$LIBS
24198 if test x$gcc_no_link = xyes; then
24199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24201 { (exit 1); exit 1; }; }
24203 cat >conftest.$ac_ext <<_ACEOF
24206 cat confdefs.h >>conftest.$ac_ext
24207 cat >>conftest.$ac_ext <<_ACEOF
24208 /* end confdefs.h. */
24210 /* Override any GCC internal prototype to avoid an error.
24211 Use char because int might match the return type of a GCC
24212 builtin and then its argument prototype would still apply. */
24225 rm -f conftest.$ac_objext conftest$ac_exeext
24226 if { (ac_try="$ac_link"
24227 case "(($ac_try" in
24228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24229 *) ac_try_echo=$ac_try;;
24231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24232 (eval "$ac_link") 2>conftest.er1
24234 grep -v '^
*+' conftest.er1 >conftest.err
24236 cat conftest.err >&5
24237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24238 (exit $ac_status); } && {
24239 test -z "$ac_c_werror_flag" ||
24240 test ! -s conftest.err
24241 } && test -s conftest$ac_exeext &&
24242 $as_test_x conftest$ac_exeext; then
24243 ac_cv_lib_m_fmodl=yes
24245 echo "$as_me: failed program was:" >&5
24246 sed 's
/^
/|
/' conftest.$ac_ext >&5
24248 ac_cv_lib_m_fmodl=no
24251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24252 conftest$ac_exeext conftest.$ac_ext
24253 LIBS=$ac_check_lib_save_LIBS
24255 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodl" >&5
24256 echo "${ECHO_T}$ac_cv_lib_m_fmodl" >&6; }
24257 if test $ac_cv_lib_m_fmodl = yes; then
24259 cat >>confdefs.h <<\_ACEOF
24260 #define HAVE_FMODL 1
24265 { echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
24266 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6; }
24267 if test "${ac_cv_lib_m_frexpf+set}" = set; then
24268 echo $ECHO_N "(cached) $ECHO_C" >&6
24270 ac_check_lib_save_LIBS=$LIBS
24272 if test x$gcc_no_link = xyes; then
24273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24275 { (exit 1); exit 1; }; }
24277 cat >conftest.$ac_ext <<_ACEOF
24280 cat confdefs.h >>conftest.$ac_ext
24281 cat >>conftest.$ac_ext <<_ACEOF
24282 /* end confdefs.h. */
24284 /* Override any GCC internal prototype to avoid an error.
24285 Use char because int might match the return type of a GCC
24286 builtin and then its argument prototype would still apply. */
24299 rm -f conftest.$ac_objext conftest$ac_exeext
24300 if { (ac_try="$ac_link"
24301 case "(($ac_try" in
24302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24303 *) ac_try_echo=$ac_try;;
24305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24306 (eval "$ac_link") 2>conftest.er1
24308 grep -v '^
*+' conftest.er1 >conftest.err
24310 cat conftest.err >&5
24311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24312 (exit $ac_status); } && {
24313 test -z "$ac_c_werror_flag" ||
24314 test ! -s conftest.err
24315 } && test -s conftest$ac_exeext &&
24316 $as_test_x conftest$ac_exeext; then
24317 ac_cv_lib_m_frexpf=yes
24319 echo "$as_me: failed program was:" >&5
24320 sed 's
/^
/|
/' conftest.$ac_ext >&5
24322 ac_cv_lib_m_frexpf=no
24325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24326 conftest$ac_exeext conftest.$ac_ext
24327 LIBS=$ac_check_lib_save_LIBS
24329 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
24330 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6; }
24331 if test $ac_cv_lib_m_frexpf = yes; then
24333 cat >>confdefs.h <<\_ACEOF
24334 #define HAVE_FREXPF 1
24339 { echo "$as_me:$LINENO: checking for frexp in -lm" >&5
24340 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6; }
24341 if test "${ac_cv_lib_m_frexp+set}" = set; then
24342 echo $ECHO_N "(cached) $ECHO_C" >&6
24344 ac_check_lib_save_LIBS=$LIBS
24346 if test x$gcc_no_link = xyes; then
24347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24349 { (exit 1); exit 1; }; }
24351 cat >conftest.$ac_ext <<_ACEOF
24354 cat confdefs.h >>conftest.$ac_ext
24355 cat >>conftest.$ac_ext <<_ACEOF
24356 /* end confdefs.h. */
24358 /* Override any GCC internal prototype to avoid an error.
24359 Use char because int might match the return type of a GCC
24360 builtin and then its argument prototype would still apply. */
24373 rm -f conftest.$ac_objext conftest$ac_exeext
24374 if { (ac_try="$ac_link"
24375 case "(($ac_try" in
24376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24377 *) ac_try_echo=$ac_try;;
24379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24380 (eval "$ac_link") 2>conftest.er1
24382 grep -v '^
*+' conftest.er1 >conftest.err
24384 cat conftest.err >&5
24385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24386 (exit $ac_status); } && {
24387 test -z "$ac_c_werror_flag" ||
24388 test ! -s conftest.err
24389 } && test -s conftest$ac_exeext &&
24390 $as_test_x conftest$ac_exeext; then
24391 ac_cv_lib_m_frexp=yes
24393 echo "$as_me: failed program was:" >&5
24394 sed 's
/^
/|
/' conftest.$ac_ext >&5
24396 ac_cv_lib_m_frexp=no
24399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24400 conftest$ac_exeext conftest.$ac_ext
24401 LIBS=$ac_check_lib_save_LIBS
24403 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
24404 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6; }
24405 if test $ac_cv_lib_m_frexp = yes; then
24407 cat >>confdefs.h <<\_ACEOF
24408 #define HAVE_FREXP 1
24413 { echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
24414 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6; }
24415 if test "${ac_cv_lib_m_frexpl+set}" = set; then
24416 echo $ECHO_N "(cached) $ECHO_C" >&6
24418 ac_check_lib_save_LIBS=$LIBS
24420 if test x$gcc_no_link = xyes; then
24421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24423 { (exit 1); exit 1; }; }
24425 cat >conftest.$ac_ext <<_ACEOF
24428 cat confdefs.h >>conftest.$ac_ext
24429 cat >>conftest.$ac_ext <<_ACEOF
24430 /* end confdefs.h. */
24432 /* Override any GCC internal prototype to avoid an error.
24433 Use char because int might match the return type of a GCC
24434 builtin and then its argument prototype would still apply. */
24447 rm -f conftest.$ac_objext conftest$ac_exeext
24448 if { (ac_try="$ac_link"
24449 case "(($ac_try" in
24450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24451 *) ac_try_echo=$ac_try;;
24453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24454 (eval "$ac_link") 2>conftest.er1
24456 grep -v '^
*+' conftest.er1 >conftest.err
24458 cat conftest.err >&5
24459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24460 (exit $ac_status); } && {
24461 test -z "$ac_c_werror_flag" ||
24462 test ! -s conftest.err
24463 } && test -s conftest$ac_exeext &&
24464 $as_test_x conftest$ac_exeext; then
24465 ac_cv_lib_m_frexpl=yes
24467 echo "$as_me: failed program was:" >&5
24468 sed 's
/^
/|
/' conftest.$ac_ext >&5
24470 ac_cv_lib_m_frexpl=no
24473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24474 conftest$ac_exeext conftest.$ac_ext
24475 LIBS=$ac_check_lib_save_LIBS
24477 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
24478 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6; }
24479 if test $ac_cv_lib_m_frexpl = yes; then
24481 cat >>confdefs.h <<\_ACEOF
24482 #define HAVE_FREXPL 1
24487 { echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
24488 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6; }
24489 if test "${ac_cv_lib_m_hypotf+set}" = set; then
24490 echo $ECHO_N "(cached) $ECHO_C" >&6
24492 ac_check_lib_save_LIBS=$LIBS
24494 if test x$gcc_no_link = xyes; then
24495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24497 { (exit 1); exit 1; }; }
24499 cat >conftest.$ac_ext <<_ACEOF
24502 cat confdefs.h >>conftest.$ac_ext
24503 cat >>conftest.$ac_ext <<_ACEOF
24504 /* end confdefs.h. */
24506 /* Override any GCC internal prototype to avoid an error.
24507 Use char because int might match the return type of a GCC
24508 builtin and then its argument prototype would still apply. */
24521 rm -f conftest.$ac_objext conftest$ac_exeext
24522 if { (ac_try="$ac_link"
24523 case "(($ac_try" in
24524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24525 *) ac_try_echo=$ac_try;;
24527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24528 (eval "$ac_link") 2>conftest.er1
24530 grep -v '^
*+' conftest.er1 >conftest.err
24532 cat conftest.err >&5
24533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24534 (exit $ac_status); } && {
24535 test -z "$ac_c_werror_flag" ||
24536 test ! -s conftest.err
24537 } && test -s conftest$ac_exeext &&
24538 $as_test_x conftest$ac_exeext; then
24539 ac_cv_lib_m_hypotf=yes
24541 echo "$as_me: failed program was:" >&5
24542 sed 's
/^
/|
/' conftest.$ac_ext >&5
24544 ac_cv_lib_m_hypotf=no
24547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24548 conftest$ac_exeext conftest.$ac_ext
24549 LIBS=$ac_check_lib_save_LIBS
24551 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
24552 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6; }
24553 if test $ac_cv_lib_m_hypotf = yes; then
24555 cat >>confdefs.h <<\_ACEOF
24556 #define HAVE_HYPOTF 1
24561 { echo "$as_me:$LINENO: checking for hypot in -lm" >&5
24562 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6; }
24563 if test "${ac_cv_lib_m_hypot+set}" = set; then
24564 echo $ECHO_N "(cached) $ECHO_C" >&6
24566 ac_check_lib_save_LIBS=$LIBS
24568 if test x$gcc_no_link = xyes; then
24569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24571 { (exit 1); exit 1; }; }
24573 cat >conftest.$ac_ext <<_ACEOF
24576 cat confdefs.h >>conftest.$ac_ext
24577 cat >>conftest.$ac_ext <<_ACEOF
24578 /* end confdefs.h. */
24580 /* Override any GCC internal prototype to avoid an error.
24581 Use char because int might match the return type of a GCC
24582 builtin and then its argument prototype would still apply. */
24595 rm -f conftest.$ac_objext conftest$ac_exeext
24596 if { (ac_try="$ac_link"
24597 case "(($ac_try" in
24598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24599 *) ac_try_echo=$ac_try;;
24601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24602 (eval "$ac_link") 2>conftest.er1
24604 grep -v '^
*+' conftest.er1 >conftest.err
24606 cat conftest.err >&5
24607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24608 (exit $ac_status); } && {
24609 test -z "$ac_c_werror_flag" ||
24610 test ! -s conftest.err
24611 } && test -s conftest$ac_exeext &&
24612 $as_test_x conftest$ac_exeext; then
24613 ac_cv_lib_m_hypot=yes
24615 echo "$as_me: failed program was:" >&5
24616 sed 's
/^
/|
/' conftest.$ac_ext >&5
24618 ac_cv_lib_m_hypot=no
24621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24622 conftest$ac_exeext conftest.$ac_ext
24623 LIBS=$ac_check_lib_save_LIBS
24625 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
24626 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6; }
24627 if test $ac_cv_lib_m_hypot = yes; then
24629 cat >>confdefs.h <<\_ACEOF
24630 #define HAVE_HYPOT 1
24635 { echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
24636 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6; }
24637 if test "${ac_cv_lib_m_hypotl+set}" = set; then
24638 echo $ECHO_N "(cached) $ECHO_C" >&6
24640 ac_check_lib_save_LIBS=$LIBS
24642 if test x$gcc_no_link = xyes; then
24643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24645 { (exit 1); exit 1; }; }
24647 cat >conftest.$ac_ext <<_ACEOF
24650 cat confdefs.h >>conftest.$ac_ext
24651 cat >>conftest.$ac_ext <<_ACEOF
24652 /* end confdefs.h. */
24654 /* Override any GCC internal prototype to avoid an error.
24655 Use char because int might match the return type of a GCC
24656 builtin and then its argument prototype would still apply. */
24669 rm -f conftest.$ac_objext conftest$ac_exeext
24670 if { (ac_try="$ac_link"
24671 case "(($ac_try" in
24672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24673 *) ac_try_echo=$ac_try;;
24675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24676 (eval "$ac_link") 2>conftest.er1
24678 grep -v '^
*+' conftest.er1 >conftest.err
24680 cat conftest.err >&5
24681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24682 (exit $ac_status); } && {
24683 test -z "$ac_c_werror_flag" ||
24684 test ! -s conftest.err
24685 } && test -s conftest$ac_exeext &&
24686 $as_test_x conftest$ac_exeext; then
24687 ac_cv_lib_m_hypotl=yes
24689 echo "$as_me: failed program was:" >&5
24690 sed 's
/^
/|
/' conftest.$ac_ext >&5
24692 ac_cv_lib_m_hypotl=no
24695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24696 conftest$ac_exeext conftest.$ac_ext
24697 LIBS=$ac_check_lib_save_LIBS
24699 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
24700 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6; }
24701 if test $ac_cv_lib_m_hypotl = yes; then
24703 cat >>confdefs.h <<\_ACEOF
24704 #define HAVE_HYPOTL 1
24709 { echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
24710 echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6; }
24711 if test "${ac_cv_lib_m_ldexpf+set}" = set; then
24712 echo $ECHO_N "(cached) $ECHO_C" >&6
24714 ac_check_lib_save_LIBS=$LIBS
24716 if test x$gcc_no_link = xyes; then
24717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24719 { (exit 1); exit 1; }; }
24721 cat >conftest.$ac_ext <<_ACEOF
24724 cat confdefs.h >>conftest.$ac_ext
24725 cat >>conftest.$ac_ext <<_ACEOF
24726 /* end confdefs.h. */
24728 /* Override any GCC internal prototype to avoid an error.
24729 Use char because int might match the return type of a GCC
24730 builtin and then its argument prototype would still apply. */
24743 rm -f conftest.$ac_objext conftest$ac_exeext
24744 if { (ac_try="$ac_link"
24745 case "(($ac_try" in
24746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24747 *) ac_try_echo=$ac_try;;
24749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24750 (eval "$ac_link") 2>conftest.er1
24752 grep -v '^
*+' conftest.er1 >conftest.err
24754 cat conftest.err >&5
24755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24756 (exit $ac_status); } && {
24757 test -z "$ac_c_werror_flag" ||
24758 test ! -s conftest.err
24759 } && test -s conftest$ac_exeext &&
24760 $as_test_x conftest$ac_exeext; then
24761 ac_cv_lib_m_ldexpf=yes
24763 echo "$as_me: failed program was:" >&5
24764 sed 's
/^
/|
/' conftest.$ac_ext >&5
24766 ac_cv_lib_m_ldexpf=no
24769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24770 conftest$ac_exeext conftest.$ac_ext
24771 LIBS=$ac_check_lib_save_LIBS
24773 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
24774 echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6; }
24775 if test $ac_cv_lib_m_ldexpf = yes; then
24777 cat >>confdefs.h <<\_ACEOF
24778 #define HAVE_LDEXPF 1
24783 { echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
24784 echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6; }
24785 if test "${ac_cv_lib_m_ldexp+set}" = set; then
24786 echo $ECHO_N "(cached) $ECHO_C" >&6
24788 ac_check_lib_save_LIBS=$LIBS
24790 if test x$gcc_no_link = xyes; then
24791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24793 { (exit 1); exit 1; }; }
24795 cat >conftest.$ac_ext <<_ACEOF
24798 cat confdefs.h >>conftest.$ac_ext
24799 cat >>conftest.$ac_ext <<_ACEOF
24800 /* end confdefs.h. */
24802 /* Override any GCC internal prototype to avoid an error.
24803 Use char because int might match the return type of a GCC
24804 builtin and then its argument prototype would still apply. */
24817 rm -f conftest.$ac_objext conftest$ac_exeext
24818 if { (ac_try="$ac_link"
24819 case "(($ac_try" in
24820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24821 *) ac_try_echo=$ac_try;;
24823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24824 (eval "$ac_link") 2>conftest.er1
24826 grep -v '^
*+' conftest.er1 >conftest.err
24828 cat conftest.err >&5
24829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24830 (exit $ac_status); } && {
24831 test -z "$ac_c_werror_flag" ||
24832 test ! -s conftest.err
24833 } && test -s conftest$ac_exeext &&
24834 $as_test_x conftest$ac_exeext; then
24835 ac_cv_lib_m_ldexp=yes
24837 echo "$as_me: failed program was:" >&5
24838 sed 's
/^
/|
/' conftest.$ac_ext >&5
24840 ac_cv_lib_m_ldexp=no
24843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24844 conftest$ac_exeext conftest.$ac_ext
24845 LIBS=$ac_check_lib_save_LIBS
24847 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
24848 echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6; }
24849 if test $ac_cv_lib_m_ldexp = yes; then
24851 cat >>confdefs.h <<\_ACEOF
24852 #define HAVE_LDEXP 1
24857 { echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
24858 echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6; }
24859 if test "${ac_cv_lib_m_ldexpl+set}" = set; then
24860 echo $ECHO_N "(cached) $ECHO_C" >&6
24862 ac_check_lib_save_LIBS=$LIBS
24864 if test x$gcc_no_link = xyes; then
24865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24867 { (exit 1); exit 1; }; }
24869 cat >conftest.$ac_ext <<_ACEOF
24872 cat confdefs.h >>conftest.$ac_ext
24873 cat >>conftest.$ac_ext <<_ACEOF
24874 /* end confdefs.h. */
24876 /* Override any GCC internal prototype to avoid an error.
24877 Use char because int might match the return type of a GCC
24878 builtin and then its argument prototype would still apply. */
24891 rm -f conftest.$ac_objext conftest$ac_exeext
24892 if { (ac_try="$ac_link"
24893 case "(($ac_try" in
24894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24895 *) ac_try_echo=$ac_try;;
24897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24898 (eval "$ac_link") 2>conftest.er1
24900 grep -v '^
*+' conftest.er1 >conftest.err
24902 cat conftest.err >&5
24903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24904 (exit $ac_status); } && {
24905 test -z "$ac_c_werror_flag" ||
24906 test ! -s conftest.err
24907 } && test -s conftest$ac_exeext &&
24908 $as_test_x conftest$ac_exeext; then
24909 ac_cv_lib_m_ldexpl=yes
24911 echo "$as_me: failed program was:" >&5
24912 sed 's
/^
/|
/' conftest.$ac_ext >&5
24914 ac_cv_lib_m_ldexpl=no
24917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24918 conftest$ac_exeext conftest.$ac_ext
24919 LIBS=$ac_check_lib_save_LIBS
24921 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
24922 echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6; }
24923 if test $ac_cv_lib_m_ldexpl = yes; then
24925 cat >>confdefs.h <<\_ACEOF
24926 #define HAVE_LDEXPL 1
24931 { echo "$as_me:$LINENO: checking for logf in -lm" >&5
24932 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6; }
24933 if test "${ac_cv_lib_m_logf+set}" = set; then
24934 echo $ECHO_N "(cached) $ECHO_C" >&6
24936 ac_check_lib_save_LIBS=$LIBS
24938 if test x$gcc_no_link = xyes; then
24939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24941 { (exit 1); exit 1; }; }
24943 cat >conftest.$ac_ext <<_ACEOF
24946 cat confdefs.h >>conftest.$ac_ext
24947 cat >>conftest.$ac_ext <<_ACEOF
24948 /* end confdefs.h. */
24950 /* Override any GCC internal prototype to avoid an error.
24951 Use char because int might match the return type of a GCC
24952 builtin and then its argument prototype would still apply. */
24965 rm -f conftest.$ac_objext conftest$ac_exeext
24966 if { (ac_try="$ac_link"
24967 case "(($ac_try" in
24968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24969 *) ac_try_echo=$ac_try;;
24971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24972 (eval "$ac_link") 2>conftest.er1
24974 grep -v '^
*+' conftest.er1 >conftest.err
24976 cat conftest.err >&5
24977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24978 (exit $ac_status); } && {
24979 test -z "$ac_c_werror_flag" ||
24980 test ! -s conftest.err
24981 } && test -s conftest$ac_exeext &&
24982 $as_test_x conftest$ac_exeext; then
24983 ac_cv_lib_m_logf=yes
24985 echo "$as_me: failed program was:" >&5
24986 sed 's
/^
/|
/' conftest.$ac_ext >&5
24988 ac_cv_lib_m_logf=no
24991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24992 conftest$ac_exeext conftest.$ac_ext
24993 LIBS=$ac_check_lib_save_LIBS
24995 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
24996 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6; }
24997 if test $ac_cv_lib_m_logf = yes; then
24999 cat >>confdefs.h <<\_ACEOF
25000 #define HAVE_LOGF 1
25005 { echo "$as_me:$LINENO: checking for log in -lm" >&5
25006 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6; }
25007 if test "${ac_cv_lib_m_log+set}" = set; then
25008 echo $ECHO_N "(cached) $ECHO_C" >&6
25010 ac_check_lib_save_LIBS=$LIBS
25012 if test x$gcc_no_link = xyes; then
25013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25015 { (exit 1); exit 1; }; }
25017 cat >conftest.$ac_ext <<_ACEOF
25020 cat confdefs.h >>conftest.$ac_ext
25021 cat >>conftest.$ac_ext <<_ACEOF
25022 /* end confdefs.h. */
25024 /* Override any GCC internal prototype to avoid an error.
25025 Use char because int might match the return type of a GCC
25026 builtin and then its argument prototype would still apply. */
25039 rm -f conftest.$ac_objext conftest$ac_exeext
25040 if { (ac_try="$ac_link"
25041 case "(($ac_try" in
25042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25043 *) ac_try_echo=$ac_try;;
25045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25046 (eval "$ac_link") 2>conftest.er1
25048 grep -v '^
*+' conftest.er1 >conftest.err
25050 cat conftest.err >&5
25051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25052 (exit $ac_status); } && {
25053 test -z "$ac_c_werror_flag" ||
25054 test ! -s conftest.err
25055 } && test -s conftest$ac_exeext &&
25056 $as_test_x conftest$ac_exeext; then
25057 ac_cv_lib_m_log=yes
25059 echo "$as_me: failed program was:" >&5
25060 sed 's
/^
/|
/' conftest.$ac_ext >&5
25065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25066 conftest$ac_exeext conftest.$ac_ext
25067 LIBS=$ac_check_lib_save_LIBS
25069 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
25070 echo "${ECHO_T}$ac_cv_lib_m_log" >&6; }
25071 if test $ac_cv_lib_m_log = yes; then
25073 cat >>confdefs.h <<\_ACEOF
25079 { echo "$as_me:$LINENO: checking for logl in -lm" >&5
25080 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6; }
25081 if test "${ac_cv_lib_m_logl+set}" = set; then
25082 echo $ECHO_N "(cached) $ECHO_C" >&6
25084 ac_check_lib_save_LIBS=$LIBS
25086 if test x$gcc_no_link = xyes; then
25087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25089 { (exit 1); exit 1; }; }
25091 cat >conftest.$ac_ext <<_ACEOF
25094 cat confdefs.h >>conftest.$ac_ext
25095 cat >>conftest.$ac_ext <<_ACEOF
25096 /* end confdefs.h. */
25098 /* Override any GCC internal prototype to avoid an error.
25099 Use char because int might match the return type of a GCC
25100 builtin and then its argument prototype would still apply. */
25113 rm -f conftest.$ac_objext conftest$ac_exeext
25114 if { (ac_try="$ac_link"
25115 case "(($ac_try" in
25116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25117 *) ac_try_echo=$ac_try;;
25119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25120 (eval "$ac_link") 2>conftest.er1
25122 grep -v '^
*+' conftest.er1 >conftest.err
25124 cat conftest.err >&5
25125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25126 (exit $ac_status); } && {
25127 test -z "$ac_c_werror_flag" ||
25128 test ! -s conftest.err
25129 } && test -s conftest$ac_exeext &&
25130 $as_test_x conftest$ac_exeext; then
25131 ac_cv_lib_m_logl=yes
25133 echo "$as_me: failed program was:" >&5
25134 sed 's
/^
/|
/' conftest.$ac_ext >&5
25136 ac_cv_lib_m_logl=no
25139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25140 conftest$ac_exeext conftest.$ac_ext
25141 LIBS=$ac_check_lib_save_LIBS
25143 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
25144 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6; }
25145 if test $ac_cv_lib_m_logl = yes; then
25147 cat >>confdefs.h <<\_ACEOF
25148 #define HAVE_LOGL 1
25153 { echo "$as_me:$LINENO: checking for clogf in -lm" >&5
25154 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6; }
25155 if test "${ac_cv_lib_m_clogf+set}" = set; then
25156 echo $ECHO_N "(cached) $ECHO_C" >&6
25158 ac_check_lib_save_LIBS=$LIBS
25160 if test x$gcc_no_link = xyes; then
25161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25163 { (exit 1); exit 1; }; }
25165 cat >conftest.$ac_ext <<_ACEOF
25168 cat confdefs.h >>conftest.$ac_ext
25169 cat >>conftest.$ac_ext <<_ACEOF
25170 /* end confdefs.h. */
25172 /* Override any GCC internal prototype to avoid an error.
25173 Use char because int might match the return type of a GCC
25174 builtin and then its argument prototype would still apply. */
25187 rm -f conftest.$ac_objext conftest$ac_exeext
25188 if { (ac_try="$ac_link"
25189 case "(($ac_try" in
25190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25191 *) ac_try_echo=$ac_try;;
25193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25194 (eval "$ac_link") 2>conftest.er1
25196 grep -v '^
*+' conftest.er1 >conftest.err
25198 cat conftest.err >&5
25199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25200 (exit $ac_status); } && {
25201 test -z "$ac_c_werror_flag" ||
25202 test ! -s conftest.err
25203 } && test -s conftest$ac_exeext &&
25204 $as_test_x conftest$ac_exeext; then
25205 ac_cv_lib_m_clogf=yes
25207 echo "$as_me: failed program was:" >&5
25208 sed 's
/^
/|
/' conftest.$ac_ext >&5
25210 ac_cv_lib_m_clogf=no
25213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25214 conftest$ac_exeext conftest.$ac_ext
25215 LIBS=$ac_check_lib_save_LIBS
25217 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
25218 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6; }
25219 if test $ac_cv_lib_m_clogf = yes; then
25221 cat >>confdefs.h <<\_ACEOF
25222 #define HAVE_CLOGF 1
25227 { echo "$as_me:$LINENO: checking for clog in -lm" >&5
25228 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6; }
25229 if test "${ac_cv_lib_m_clog+set}" = set; then
25230 echo $ECHO_N "(cached) $ECHO_C" >&6
25232 ac_check_lib_save_LIBS=$LIBS
25234 if test x$gcc_no_link = xyes; then
25235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25237 { (exit 1); exit 1; }; }
25239 cat >conftest.$ac_ext <<_ACEOF
25242 cat confdefs.h >>conftest.$ac_ext
25243 cat >>conftest.$ac_ext <<_ACEOF
25244 /* end confdefs.h. */
25246 /* Override any GCC internal prototype to avoid an error.
25247 Use char because int might match the return type of a GCC
25248 builtin and then its argument prototype would still apply. */
25261 rm -f conftest.$ac_objext conftest$ac_exeext
25262 if { (ac_try="$ac_link"
25263 case "(($ac_try" in
25264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25265 *) ac_try_echo=$ac_try;;
25267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25268 (eval "$ac_link") 2>conftest.er1
25270 grep -v '^
*+' conftest.er1 >conftest.err
25272 cat conftest.err >&5
25273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25274 (exit $ac_status); } && {
25275 test -z "$ac_c_werror_flag" ||
25276 test ! -s conftest.err
25277 } && test -s conftest$ac_exeext &&
25278 $as_test_x conftest$ac_exeext; then
25279 ac_cv_lib_m_clog=yes
25281 echo "$as_me: failed program was:" >&5
25282 sed 's
/^
/|
/' conftest.$ac_ext >&5
25284 ac_cv_lib_m_clog=no
25287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25288 conftest$ac_exeext conftest.$ac_ext
25289 LIBS=$ac_check_lib_save_LIBS
25291 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
25292 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6; }
25293 if test $ac_cv_lib_m_clog = yes; then
25295 cat >>confdefs.h <<\_ACEOF
25296 #define HAVE_CLOG 1
25301 { echo "$as_me:$LINENO: checking for clogl in -lm" >&5
25302 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6; }
25303 if test "${ac_cv_lib_m_clogl+set}" = set; then
25304 echo $ECHO_N "(cached) $ECHO_C" >&6
25306 ac_check_lib_save_LIBS=$LIBS
25308 if test x$gcc_no_link = xyes; then
25309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25311 { (exit 1); exit 1; }; }
25313 cat >conftest.$ac_ext <<_ACEOF
25316 cat confdefs.h >>conftest.$ac_ext
25317 cat >>conftest.$ac_ext <<_ACEOF
25318 /* end confdefs.h. */
25320 /* Override any GCC internal prototype to avoid an error.
25321 Use char because int might match the return type of a GCC
25322 builtin and then its argument prototype would still apply. */
25335 rm -f conftest.$ac_objext conftest$ac_exeext
25336 if { (ac_try="$ac_link"
25337 case "(($ac_try" in
25338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25339 *) ac_try_echo=$ac_try;;
25341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25342 (eval "$ac_link") 2>conftest.er1
25344 grep -v '^
*+' conftest.er1 >conftest.err
25346 cat conftest.err >&5
25347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25348 (exit $ac_status); } && {
25349 test -z "$ac_c_werror_flag" ||
25350 test ! -s conftest.err
25351 } && test -s conftest$ac_exeext &&
25352 $as_test_x conftest$ac_exeext; then
25353 ac_cv_lib_m_clogl=yes
25355 echo "$as_me: failed program was:" >&5
25356 sed 's
/^
/|
/' conftest.$ac_ext >&5
25358 ac_cv_lib_m_clogl=no
25361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25362 conftest$ac_exeext conftest.$ac_ext
25363 LIBS=$ac_check_lib_save_LIBS
25365 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
25366 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6; }
25367 if test $ac_cv_lib_m_clogl = yes; then
25369 cat >>confdefs.h <<\_ACEOF
25370 #define HAVE_CLOGL 1
25375 { echo "$as_me:$LINENO: checking for log10f in -lm" >&5
25376 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6; }
25377 if test "${ac_cv_lib_m_log10f+set}" = set; then
25378 echo $ECHO_N "(cached) $ECHO_C" >&6
25380 ac_check_lib_save_LIBS=$LIBS
25382 if test x$gcc_no_link = xyes; then
25383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25385 { (exit 1); exit 1; }; }
25387 cat >conftest.$ac_ext <<_ACEOF
25390 cat confdefs.h >>conftest.$ac_ext
25391 cat >>conftest.$ac_ext <<_ACEOF
25392 /* end confdefs.h. */
25394 /* Override any GCC internal prototype to avoid an error.
25395 Use char because int might match the return type of a GCC
25396 builtin and then its argument prototype would still apply. */
25409 rm -f conftest.$ac_objext conftest$ac_exeext
25410 if { (ac_try="$ac_link"
25411 case "(($ac_try" in
25412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25413 *) ac_try_echo=$ac_try;;
25415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25416 (eval "$ac_link") 2>conftest.er1
25418 grep -v '^
*+' conftest.er1 >conftest.err
25420 cat conftest.err >&5
25421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25422 (exit $ac_status); } && {
25423 test -z "$ac_c_werror_flag" ||
25424 test ! -s conftest.err
25425 } && test -s conftest$ac_exeext &&
25426 $as_test_x conftest$ac_exeext; then
25427 ac_cv_lib_m_log10f=yes
25429 echo "$as_me: failed program was:" >&5
25430 sed 's
/^
/|
/' conftest.$ac_ext >&5
25432 ac_cv_lib_m_log10f=no
25435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25436 conftest$ac_exeext conftest.$ac_ext
25437 LIBS=$ac_check_lib_save_LIBS
25439 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
25440 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6; }
25441 if test $ac_cv_lib_m_log10f = yes; then
25443 cat >>confdefs.h <<\_ACEOF
25444 #define HAVE_LOG10F 1
25449 { echo "$as_me:$LINENO: checking for log10 in -lm" >&5
25450 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6; }
25451 if test "${ac_cv_lib_m_log10+set}" = set; then
25452 echo $ECHO_N "(cached) $ECHO_C" >&6
25454 ac_check_lib_save_LIBS=$LIBS
25456 if test x$gcc_no_link = xyes; then
25457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25459 { (exit 1); exit 1; }; }
25461 cat >conftest.$ac_ext <<_ACEOF
25464 cat confdefs.h >>conftest.$ac_ext
25465 cat >>conftest.$ac_ext <<_ACEOF
25466 /* end confdefs.h. */
25468 /* Override any GCC internal prototype to avoid an error.
25469 Use char because int might match the return type of a GCC
25470 builtin and then its argument prototype would still apply. */
25483 rm -f conftest.$ac_objext conftest$ac_exeext
25484 if { (ac_try="$ac_link"
25485 case "(($ac_try" in
25486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25487 *) ac_try_echo=$ac_try;;
25489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25490 (eval "$ac_link") 2>conftest.er1
25492 grep -v '^
*+' conftest.er1 >conftest.err
25494 cat conftest.err >&5
25495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25496 (exit $ac_status); } && {
25497 test -z "$ac_c_werror_flag" ||
25498 test ! -s conftest.err
25499 } && test -s conftest$ac_exeext &&
25500 $as_test_x conftest$ac_exeext; then
25501 ac_cv_lib_m_log10=yes
25503 echo "$as_me: failed program was:" >&5
25504 sed 's
/^
/|
/' conftest.$ac_ext >&5
25506 ac_cv_lib_m_log10=no
25509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25510 conftest$ac_exeext conftest.$ac_ext
25511 LIBS=$ac_check_lib_save_LIBS
25513 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
25514 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6; }
25515 if test $ac_cv_lib_m_log10 = yes; then
25517 cat >>confdefs.h <<\_ACEOF
25518 #define HAVE_LOG10 1
25523 { echo "$as_me:$LINENO: checking for log10l in -lm" >&5
25524 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6; }
25525 if test "${ac_cv_lib_m_log10l+set}" = set; then
25526 echo $ECHO_N "(cached) $ECHO_C" >&6
25528 ac_check_lib_save_LIBS=$LIBS
25530 if test x$gcc_no_link = xyes; then
25531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25533 { (exit 1); exit 1; }; }
25535 cat >conftest.$ac_ext <<_ACEOF
25538 cat confdefs.h >>conftest.$ac_ext
25539 cat >>conftest.$ac_ext <<_ACEOF
25540 /* end confdefs.h. */
25542 /* Override any GCC internal prototype to avoid an error.
25543 Use char because int might match the return type of a GCC
25544 builtin and then its argument prototype would still apply. */
25557 rm -f conftest.$ac_objext conftest$ac_exeext
25558 if { (ac_try="$ac_link"
25559 case "(($ac_try" in
25560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25561 *) ac_try_echo=$ac_try;;
25563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25564 (eval "$ac_link") 2>conftest.er1
25566 grep -v '^
*+' conftest.er1 >conftest.err
25568 cat conftest.err >&5
25569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25570 (exit $ac_status); } && {
25571 test -z "$ac_c_werror_flag" ||
25572 test ! -s conftest.err
25573 } && test -s conftest$ac_exeext &&
25574 $as_test_x conftest$ac_exeext; then
25575 ac_cv_lib_m_log10l=yes
25577 echo "$as_me: failed program was:" >&5
25578 sed 's
/^
/|
/' conftest.$ac_ext >&5
25580 ac_cv_lib_m_log10l=no
25583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25584 conftest$ac_exeext conftest.$ac_ext
25585 LIBS=$ac_check_lib_save_LIBS
25587 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
25588 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6; }
25589 if test $ac_cv_lib_m_log10l = yes; then
25591 cat >>confdefs.h <<\_ACEOF
25592 #define HAVE_LOG10L 1
25597 { echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
25598 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6; }
25599 if test "${ac_cv_lib_m_clog10f+set}" = set; then
25600 echo $ECHO_N "(cached) $ECHO_C" >&6
25602 ac_check_lib_save_LIBS=$LIBS
25604 if test x$gcc_no_link = xyes; then
25605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25607 { (exit 1); exit 1; }; }
25609 cat >conftest.$ac_ext <<_ACEOF
25612 cat confdefs.h >>conftest.$ac_ext
25613 cat >>conftest.$ac_ext <<_ACEOF
25614 /* end confdefs.h. */
25616 /* Override any GCC internal prototype to avoid an error.
25617 Use char because int might match the return type of a GCC
25618 builtin and then its argument prototype would still apply. */
25631 rm -f conftest.$ac_objext conftest$ac_exeext
25632 if { (ac_try="$ac_link"
25633 case "(($ac_try" in
25634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25635 *) ac_try_echo=$ac_try;;
25637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25638 (eval "$ac_link") 2>conftest.er1
25640 grep -v '^
*+' conftest.er1 >conftest.err
25642 cat conftest.err >&5
25643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25644 (exit $ac_status); } && {
25645 test -z "$ac_c_werror_flag" ||
25646 test ! -s conftest.err
25647 } && test -s conftest$ac_exeext &&
25648 $as_test_x conftest$ac_exeext; then
25649 ac_cv_lib_m_clog10f=yes
25651 echo "$as_me: failed program was:" >&5
25652 sed 's
/^
/|
/' conftest.$ac_ext >&5
25654 ac_cv_lib_m_clog10f=no
25657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25658 conftest$ac_exeext conftest.$ac_ext
25659 LIBS=$ac_check_lib_save_LIBS
25661 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
25662 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6; }
25663 if test $ac_cv_lib_m_clog10f = yes; then
25665 cat >>confdefs.h <<\_ACEOF
25666 #define HAVE_CLOG10F 1
25671 { echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
25672 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6; }
25673 if test "${ac_cv_lib_m_clog10+set}" = set; then
25674 echo $ECHO_N "(cached) $ECHO_C" >&6
25676 ac_check_lib_save_LIBS=$LIBS
25678 if test x$gcc_no_link = xyes; then
25679 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25681 { (exit 1); exit 1; }; }
25683 cat >conftest.$ac_ext <<_ACEOF
25686 cat confdefs.h >>conftest.$ac_ext
25687 cat >>conftest.$ac_ext <<_ACEOF
25688 /* end confdefs.h. */
25690 /* Override any GCC internal prototype to avoid an error.
25691 Use char because int might match the return type of a GCC
25692 builtin and then its argument prototype would still apply. */
25705 rm -f conftest.$ac_objext conftest$ac_exeext
25706 if { (ac_try="$ac_link"
25707 case "(($ac_try" in
25708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25709 *) ac_try_echo=$ac_try;;
25711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25712 (eval "$ac_link") 2>conftest.er1
25714 grep -v '^
*+' conftest.er1 >conftest.err
25716 cat conftest.err >&5
25717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25718 (exit $ac_status); } && {
25719 test -z "$ac_c_werror_flag" ||
25720 test ! -s conftest.err
25721 } && test -s conftest$ac_exeext &&
25722 $as_test_x conftest$ac_exeext; then
25723 ac_cv_lib_m_clog10=yes
25725 echo "$as_me: failed program was:" >&5
25726 sed 's
/^
/|
/' conftest.$ac_ext >&5
25728 ac_cv_lib_m_clog10=no
25731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25732 conftest$ac_exeext conftest.$ac_ext
25733 LIBS=$ac_check_lib_save_LIBS
25735 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
25736 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6; }
25737 if test $ac_cv_lib_m_clog10 = yes; then
25739 cat >>confdefs.h <<\_ACEOF
25740 #define HAVE_CLOG10 1
25745 { echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
25746 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6; }
25747 if test "${ac_cv_lib_m_clog10l+set}" = set; then
25748 echo $ECHO_N "(cached) $ECHO_C" >&6
25750 ac_check_lib_save_LIBS=$LIBS
25752 if test x$gcc_no_link = xyes; then
25753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25755 { (exit 1); exit 1; }; }
25757 cat >conftest.$ac_ext <<_ACEOF
25760 cat confdefs.h >>conftest.$ac_ext
25761 cat >>conftest.$ac_ext <<_ACEOF
25762 /* end confdefs.h. */
25764 /* Override any GCC internal prototype to avoid an error.
25765 Use char because int might match the return type of a GCC
25766 builtin and then its argument prototype would still apply. */
25779 rm -f conftest.$ac_objext conftest$ac_exeext
25780 if { (ac_try="$ac_link"
25781 case "(($ac_try" in
25782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25783 *) ac_try_echo=$ac_try;;
25785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25786 (eval "$ac_link") 2>conftest.er1
25788 grep -v '^
*+' conftest.er1 >conftest.err
25790 cat conftest.err >&5
25791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25792 (exit $ac_status); } && {
25793 test -z "$ac_c_werror_flag" ||
25794 test ! -s conftest.err
25795 } && test -s conftest$ac_exeext &&
25796 $as_test_x conftest$ac_exeext; then
25797 ac_cv_lib_m_clog10l=yes
25799 echo "$as_me: failed program was:" >&5
25800 sed 's
/^
/|
/' conftest.$ac_ext >&5
25802 ac_cv_lib_m_clog10l=no
25805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25806 conftest$ac_exeext conftest.$ac_ext
25807 LIBS=$ac_check_lib_save_LIBS
25809 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
25810 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6; }
25811 if test $ac_cv_lib_m_clog10l = yes; then
25813 cat >>confdefs.h <<\_ACEOF
25814 #define HAVE_CLOG10L 1
25819 { echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
25820 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6; }
25821 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
25822 echo $ECHO_N "(cached) $ECHO_C" >&6
25824 ac_check_lib_save_LIBS=$LIBS
25826 if test x$gcc_no_link = xyes; then
25827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25829 { (exit 1); exit 1; }; }
25831 cat >conftest.$ac_ext <<_ACEOF
25834 cat confdefs.h >>conftest.$ac_ext
25835 cat >>conftest.$ac_ext <<_ACEOF
25836 /* end confdefs.h. */
25838 /* Override any GCC internal prototype to avoid an error.
25839 Use char because int might match the return type of a GCC
25840 builtin and then its argument prototype would still apply. */
25844 char nextafterf ();
25848 return nextafterf ();
25853 rm -f conftest.$ac_objext conftest$ac_exeext
25854 if { (ac_try="$ac_link"
25855 case "(($ac_try" in
25856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25857 *) ac_try_echo=$ac_try;;
25859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25860 (eval "$ac_link") 2>conftest.er1
25862 grep -v '^
*+' conftest.er1 >conftest.err
25864 cat conftest.err >&5
25865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25866 (exit $ac_status); } && {
25867 test -z "$ac_c_werror_flag" ||
25868 test ! -s conftest.err
25869 } && test -s conftest$ac_exeext &&
25870 $as_test_x conftest$ac_exeext; then
25871 ac_cv_lib_m_nextafterf=yes
25873 echo "$as_me: failed program was:" >&5
25874 sed 's
/^
/|
/' conftest.$ac_ext >&5
25876 ac_cv_lib_m_nextafterf=no
25879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25880 conftest$ac_exeext conftest.$ac_ext
25881 LIBS=$ac_check_lib_save_LIBS
25883 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
25884 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6; }
25885 if test $ac_cv_lib_m_nextafterf = yes; then
25887 cat >>confdefs.h <<\_ACEOF
25888 #define HAVE_NEXTAFTERF 1
25893 { echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
25894 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6; }
25895 if test "${ac_cv_lib_m_nextafter+set}" = set; then
25896 echo $ECHO_N "(cached) $ECHO_C" >&6
25898 ac_check_lib_save_LIBS=$LIBS
25900 if test x$gcc_no_link = xyes; then
25901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25903 { (exit 1); exit 1; }; }
25905 cat >conftest.$ac_ext <<_ACEOF
25908 cat confdefs.h >>conftest.$ac_ext
25909 cat >>conftest.$ac_ext <<_ACEOF
25910 /* end confdefs.h. */
25912 /* Override any GCC internal prototype to avoid an error.
25913 Use char because int might match the return type of a GCC
25914 builtin and then its argument prototype would still apply. */
25922 return nextafter ();
25927 rm -f conftest.$ac_objext conftest$ac_exeext
25928 if { (ac_try="$ac_link"
25929 case "(($ac_try" in
25930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25931 *) ac_try_echo=$ac_try;;
25933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25934 (eval "$ac_link") 2>conftest.er1
25936 grep -v '^
*+' conftest.er1 >conftest.err
25938 cat conftest.err >&5
25939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940 (exit $ac_status); } && {
25941 test -z "$ac_c_werror_flag" ||
25942 test ! -s conftest.err
25943 } && test -s conftest$ac_exeext &&
25944 $as_test_x conftest$ac_exeext; then
25945 ac_cv_lib_m_nextafter=yes
25947 echo "$as_me: failed program was:" >&5
25948 sed 's
/^
/|
/' conftest.$ac_ext >&5
25950 ac_cv_lib_m_nextafter=no
25953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25954 conftest$ac_exeext conftest.$ac_ext
25955 LIBS=$ac_check_lib_save_LIBS
25957 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
25958 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6; }
25959 if test $ac_cv_lib_m_nextafter = yes; then
25961 cat >>confdefs.h <<\_ACEOF
25962 #define HAVE_NEXTAFTER 1
25967 { echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
25968 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6; }
25969 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
25970 echo $ECHO_N "(cached) $ECHO_C" >&6
25972 ac_check_lib_save_LIBS=$LIBS
25974 if test x$gcc_no_link = xyes; then
25975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25977 { (exit 1); exit 1; }; }
25979 cat >conftest.$ac_ext <<_ACEOF
25982 cat confdefs.h >>conftest.$ac_ext
25983 cat >>conftest.$ac_ext <<_ACEOF
25984 /* end confdefs.h. */
25986 /* Override any GCC internal prototype to avoid an error.
25987 Use char because int might match the return type of a GCC
25988 builtin and then its argument prototype would still apply. */
25992 char nextafterl ();
25996 return nextafterl ();
26001 rm -f conftest.$ac_objext conftest$ac_exeext
26002 if { (ac_try="$ac_link"
26003 case "(($ac_try" in
26004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26005 *) ac_try_echo=$ac_try;;
26007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26008 (eval "$ac_link") 2>conftest.er1
26010 grep -v '^
*+' conftest.er1 >conftest.err
26012 cat conftest.err >&5
26013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26014 (exit $ac_status); } && {
26015 test -z "$ac_c_werror_flag" ||
26016 test ! -s conftest.err
26017 } && test -s conftest$ac_exeext &&
26018 $as_test_x conftest$ac_exeext; then
26019 ac_cv_lib_m_nextafterl=yes
26021 echo "$as_me: failed program was:" >&5
26022 sed 's
/^
/|
/' conftest.$ac_ext >&5
26024 ac_cv_lib_m_nextafterl=no
26027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26028 conftest$ac_exeext conftest.$ac_ext
26029 LIBS=$ac_check_lib_save_LIBS
26031 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
26032 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6; }
26033 if test $ac_cv_lib_m_nextafterl = yes; then
26035 cat >>confdefs.h <<\_ACEOF
26036 #define HAVE_NEXTAFTERL 1
26041 { echo "$as_me:$LINENO: checking for powf in -lm" >&5
26042 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6; }
26043 if test "${ac_cv_lib_m_powf+set}" = set; then
26044 echo $ECHO_N "(cached) $ECHO_C" >&6
26046 ac_check_lib_save_LIBS=$LIBS
26048 if test x$gcc_no_link = xyes; then
26049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26051 { (exit 1); exit 1; }; }
26053 cat >conftest.$ac_ext <<_ACEOF
26056 cat confdefs.h >>conftest.$ac_ext
26057 cat >>conftest.$ac_ext <<_ACEOF
26058 /* end confdefs.h. */
26060 /* Override any GCC internal prototype to avoid an error.
26061 Use char because int might match the return type of a GCC
26062 builtin and then its argument prototype would still apply. */
26075 rm -f conftest.$ac_objext conftest$ac_exeext
26076 if { (ac_try="$ac_link"
26077 case "(($ac_try" in
26078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26079 *) ac_try_echo=$ac_try;;
26081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26082 (eval "$ac_link") 2>conftest.er1
26084 grep -v '^
*+' conftest.er1 >conftest.err
26086 cat conftest.err >&5
26087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26088 (exit $ac_status); } && {
26089 test -z "$ac_c_werror_flag" ||
26090 test ! -s conftest.err
26091 } && test -s conftest$ac_exeext &&
26092 $as_test_x conftest$ac_exeext; then
26093 ac_cv_lib_m_powf=yes
26095 echo "$as_me: failed program was:" >&5
26096 sed 's
/^
/|
/' conftest.$ac_ext >&5
26098 ac_cv_lib_m_powf=no
26101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26102 conftest$ac_exeext conftest.$ac_ext
26103 LIBS=$ac_check_lib_save_LIBS
26105 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
26106 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6; }
26107 if test $ac_cv_lib_m_powf = yes; then
26109 cat >>confdefs.h <<\_ACEOF
26110 #define HAVE_POWF 1
26115 { echo "$as_me:$LINENO: checking for pow in -lm" >&5
26116 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6; }
26117 if test "${ac_cv_lib_m_pow+set}" = set; then
26118 echo $ECHO_N "(cached) $ECHO_C" >&6
26120 ac_check_lib_save_LIBS=$LIBS
26122 if test x$gcc_no_link = xyes; then
26123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26125 { (exit 1); exit 1; }; }
26127 cat >conftest.$ac_ext <<_ACEOF
26130 cat confdefs.h >>conftest.$ac_ext
26131 cat >>conftest.$ac_ext <<_ACEOF
26132 /* end confdefs.h. */
26134 /* Override any GCC internal prototype to avoid an error.
26135 Use char because int might match the return type of a GCC
26136 builtin and then its argument prototype would still apply. */
26149 rm -f conftest.$ac_objext conftest$ac_exeext
26150 if { (ac_try="$ac_link"
26151 case "(($ac_try" in
26152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26153 *) ac_try_echo=$ac_try;;
26155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26156 (eval "$ac_link") 2>conftest.er1
26158 grep -v '^
*+' conftest.er1 >conftest.err
26160 cat conftest.err >&5
26161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26162 (exit $ac_status); } && {
26163 test -z "$ac_c_werror_flag" ||
26164 test ! -s conftest.err
26165 } && test -s conftest$ac_exeext &&
26166 $as_test_x conftest$ac_exeext; then
26167 ac_cv_lib_m_pow=yes
26169 echo "$as_me: failed program was:" >&5
26170 sed 's
/^
/|
/' conftest.$ac_ext >&5
26175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26176 conftest$ac_exeext conftest.$ac_ext
26177 LIBS=$ac_check_lib_save_LIBS
26179 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
26180 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6; }
26181 if test $ac_cv_lib_m_pow = yes; then
26183 cat >>confdefs.h <<\_ACEOF
26189 { echo "$as_me:$LINENO: checking for powl in -lm" >&5
26190 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6; }
26191 if test "${ac_cv_lib_m_powl+set}" = set; then
26192 echo $ECHO_N "(cached) $ECHO_C" >&6
26194 ac_check_lib_save_LIBS=$LIBS
26196 if test x$gcc_no_link = xyes; then
26197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26199 { (exit 1); exit 1; }; }
26201 cat >conftest.$ac_ext <<_ACEOF
26204 cat confdefs.h >>conftest.$ac_ext
26205 cat >>conftest.$ac_ext <<_ACEOF
26206 /* end confdefs.h. */
26208 /* Override any GCC internal prototype to avoid an error.
26209 Use char because int might match the return type of a GCC
26210 builtin and then its argument prototype would still apply. */
26223 rm -f conftest.$ac_objext conftest$ac_exeext
26224 if { (ac_try="$ac_link"
26225 case "(($ac_try" in
26226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26227 *) ac_try_echo=$ac_try;;
26229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26230 (eval "$ac_link") 2>conftest.er1
26232 grep -v '^
*+' conftest.er1 >conftest.err
26234 cat conftest.err >&5
26235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26236 (exit $ac_status); } && {
26237 test -z "$ac_c_werror_flag" ||
26238 test ! -s conftest.err
26239 } && test -s conftest$ac_exeext &&
26240 $as_test_x conftest$ac_exeext; then
26241 ac_cv_lib_m_powl=yes
26243 echo "$as_me: failed program was:" >&5
26244 sed 's
/^
/|
/' conftest.$ac_ext >&5
26246 ac_cv_lib_m_powl=no
26249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26250 conftest$ac_exeext conftest.$ac_ext
26251 LIBS=$ac_check_lib_save_LIBS
26253 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
26254 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6; }
26255 if test $ac_cv_lib_m_powl = yes; then
26257 cat >>confdefs.h <<\_ACEOF
26258 #define HAVE_POWL 1
26263 { echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
26264 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6; }
26265 if test "${ac_cv_lib_m_cpowf+set}" = set; then
26266 echo $ECHO_N "(cached) $ECHO_C" >&6
26268 ac_check_lib_save_LIBS=$LIBS
26270 if test x$gcc_no_link = xyes; then
26271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26273 { (exit 1); exit 1; }; }
26275 cat >conftest.$ac_ext <<_ACEOF
26278 cat confdefs.h >>conftest.$ac_ext
26279 cat >>conftest.$ac_ext <<_ACEOF
26280 /* end confdefs.h. */
26282 /* Override any GCC internal prototype to avoid an error.
26283 Use char because int might match the return type of a GCC
26284 builtin and then its argument prototype would still apply. */
26297 rm -f conftest.$ac_objext conftest$ac_exeext
26298 if { (ac_try="$ac_link"
26299 case "(($ac_try" in
26300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26301 *) ac_try_echo=$ac_try;;
26303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26304 (eval "$ac_link") 2>conftest.er1
26306 grep -v '^
*+' conftest.er1 >conftest.err
26308 cat conftest.err >&5
26309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26310 (exit $ac_status); } && {
26311 test -z "$ac_c_werror_flag" ||
26312 test ! -s conftest.err
26313 } && test -s conftest$ac_exeext &&
26314 $as_test_x conftest$ac_exeext; then
26315 ac_cv_lib_m_cpowf=yes
26317 echo "$as_me: failed program was:" >&5
26318 sed 's
/^
/|
/' conftest.$ac_ext >&5
26320 ac_cv_lib_m_cpowf=no
26323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26324 conftest$ac_exeext conftest.$ac_ext
26325 LIBS=$ac_check_lib_save_LIBS
26327 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
26328 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6; }
26329 if test $ac_cv_lib_m_cpowf = yes; then
26331 cat >>confdefs.h <<\_ACEOF
26332 #define HAVE_CPOWF 1
26337 { echo "$as_me:$LINENO: checking for cpow in -lm" >&5
26338 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6; }
26339 if test "${ac_cv_lib_m_cpow+set}" = set; then
26340 echo $ECHO_N "(cached) $ECHO_C" >&6
26342 ac_check_lib_save_LIBS=$LIBS
26344 if test x$gcc_no_link = xyes; then
26345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26347 { (exit 1); exit 1; }; }
26349 cat >conftest.$ac_ext <<_ACEOF
26352 cat confdefs.h >>conftest.$ac_ext
26353 cat >>conftest.$ac_ext <<_ACEOF
26354 /* end confdefs.h. */
26356 /* Override any GCC internal prototype to avoid an error.
26357 Use char because int might match the return type of a GCC
26358 builtin and then its argument prototype would still apply. */
26371 rm -f conftest.$ac_objext conftest$ac_exeext
26372 if { (ac_try="$ac_link"
26373 case "(($ac_try" in
26374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26375 *) ac_try_echo=$ac_try;;
26377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26378 (eval "$ac_link") 2>conftest.er1
26380 grep -v '^
*+' conftest.er1 >conftest.err
26382 cat conftest.err >&5
26383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26384 (exit $ac_status); } && {
26385 test -z "$ac_c_werror_flag" ||
26386 test ! -s conftest.err
26387 } && test -s conftest$ac_exeext &&
26388 $as_test_x conftest$ac_exeext; then
26389 ac_cv_lib_m_cpow=yes
26391 echo "$as_me: failed program was:" >&5
26392 sed 's
/^
/|
/' conftest.$ac_ext >&5
26394 ac_cv_lib_m_cpow=no
26397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26398 conftest$ac_exeext conftest.$ac_ext
26399 LIBS=$ac_check_lib_save_LIBS
26401 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
26402 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6; }
26403 if test $ac_cv_lib_m_cpow = yes; then
26405 cat >>confdefs.h <<\_ACEOF
26406 #define HAVE_CPOW 1
26411 { echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
26412 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6; }
26413 if test "${ac_cv_lib_m_cpowl+set}" = set; then
26414 echo $ECHO_N "(cached) $ECHO_C" >&6
26416 ac_check_lib_save_LIBS=$LIBS
26418 if test x$gcc_no_link = xyes; then
26419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26421 { (exit 1); exit 1; }; }
26423 cat >conftest.$ac_ext <<_ACEOF
26426 cat confdefs.h >>conftest.$ac_ext
26427 cat >>conftest.$ac_ext <<_ACEOF
26428 /* end confdefs.h. */
26430 /* Override any GCC internal prototype to avoid an error.
26431 Use char because int might match the return type of a GCC
26432 builtin and then its argument prototype would still apply. */
26445 rm -f conftest.$ac_objext conftest$ac_exeext
26446 if { (ac_try="$ac_link"
26447 case "(($ac_try" in
26448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26449 *) ac_try_echo=$ac_try;;
26451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26452 (eval "$ac_link") 2>conftest.er1
26454 grep -v '^
*+' conftest.er1 >conftest.err
26456 cat conftest.err >&5
26457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26458 (exit $ac_status); } && {
26459 test -z "$ac_c_werror_flag" ||
26460 test ! -s conftest.err
26461 } && test -s conftest$ac_exeext &&
26462 $as_test_x conftest$ac_exeext; then
26463 ac_cv_lib_m_cpowl=yes
26465 echo "$as_me: failed program was:" >&5
26466 sed 's
/^
/|
/' conftest.$ac_ext >&5
26468 ac_cv_lib_m_cpowl=no
26471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26472 conftest$ac_exeext conftest.$ac_ext
26473 LIBS=$ac_check_lib_save_LIBS
26475 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
26476 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6; }
26477 if test $ac_cv_lib_m_cpowl = yes; then
26479 cat >>confdefs.h <<\_ACEOF
26480 #define HAVE_CPOWL 1
26485 { echo "$as_me:$LINENO: checking for roundf in -lm" >&5
26486 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6; }
26487 if test "${ac_cv_lib_m_roundf+set}" = set; then
26488 echo $ECHO_N "(cached) $ECHO_C" >&6
26490 ac_check_lib_save_LIBS=$LIBS
26492 if test x$gcc_no_link = xyes; then
26493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26495 { (exit 1); exit 1; }; }
26497 cat >conftest.$ac_ext <<_ACEOF
26500 cat confdefs.h >>conftest.$ac_ext
26501 cat >>conftest.$ac_ext <<_ACEOF
26502 /* end confdefs.h. */
26504 /* Override any GCC internal prototype to avoid an error.
26505 Use char because int might match the return type of a GCC
26506 builtin and then its argument prototype would still apply. */
26519 rm -f conftest.$ac_objext conftest$ac_exeext
26520 if { (ac_try="$ac_link"
26521 case "(($ac_try" in
26522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26523 *) ac_try_echo=$ac_try;;
26525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26526 (eval "$ac_link") 2>conftest.er1
26528 grep -v '^
*+' conftest.er1 >conftest.err
26530 cat conftest.err >&5
26531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26532 (exit $ac_status); } && {
26533 test -z "$ac_c_werror_flag" ||
26534 test ! -s conftest.err
26535 } && test -s conftest$ac_exeext &&
26536 $as_test_x conftest$ac_exeext; then
26537 ac_cv_lib_m_roundf=yes
26539 echo "$as_me: failed program was:" >&5
26540 sed 's
/^
/|
/' conftest.$ac_ext >&5
26542 ac_cv_lib_m_roundf=no
26545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26546 conftest$ac_exeext conftest.$ac_ext
26547 LIBS=$ac_check_lib_save_LIBS
26549 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
26550 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6; }
26551 if test $ac_cv_lib_m_roundf = yes; then
26553 cat >>confdefs.h <<\_ACEOF
26554 #define HAVE_ROUNDF 1
26559 { echo "$as_me:$LINENO: checking for round in -lm" >&5
26560 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6; }
26561 if test "${ac_cv_lib_m_round+set}" = set; then
26562 echo $ECHO_N "(cached) $ECHO_C" >&6
26564 ac_check_lib_save_LIBS=$LIBS
26566 if test x$gcc_no_link = xyes; then
26567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26569 { (exit 1); exit 1; }; }
26571 cat >conftest.$ac_ext <<_ACEOF
26574 cat confdefs.h >>conftest.$ac_ext
26575 cat >>conftest.$ac_ext <<_ACEOF
26576 /* end confdefs.h. */
26578 /* Override any GCC internal prototype to avoid an error.
26579 Use char because int might match the return type of a GCC
26580 builtin and then its argument prototype would still apply. */
26593 rm -f conftest.$ac_objext conftest$ac_exeext
26594 if { (ac_try="$ac_link"
26595 case "(($ac_try" in
26596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26597 *) ac_try_echo=$ac_try;;
26599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26600 (eval "$ac_link") 2>conftest.er1
26602 grep -v '^
*+' conftest.er1 >conftest.err
26604 cat conftest.err >&5
26605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26606 (exit $ac_status); } && {
26607 test -z "$ac_c_werror_flag" ||
26608 test ! -s conftest.err
26609 } && test -s conftest$ac_exeext &&
26610 $as_test_x conftest$ac_exeext; then
26611 ac_cv_lib_m_round=yes
26613 echo "$as_me: failed program was:" >&5
26614 sed 's
/^
/|
/' conftest.$ac_ext >&5
26616 ac_cv_lib_m_round=no
26619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26620 conftest$ac_exeext conftest.$ac_ext
26621 LIBS=$ac_check_lib_save_LIBS
26623 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
26624 echo "${ECHO_T}$ac_cv_lib_m_round" >&6; }
26625 if test $ac_cv_lib_m_round = yes; then
26627 cat >>confdefs.h <<\_ACEOF
26628 #define HAVE_ROUND 1
26633 { echo "$as_me:$LINENO: checking for roundl in -lm" >&5
26634 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6; }
26635 if test "${ac_cv_lib_m_roundl+set}" = set; then
26636 echo $ECHO_N "(cached) $ECHO_C" >&6
26638 ac_check_lib_save_LIBS=$LIBS
26640 if test x$gcc_no_link = xyes; then
26641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26643 { (exit 1); exit 1; }; }
26645 cat >conftest.$ac_ext <<_ACEOF
26648 cat confdefs.h >>conftest.$ac_ext
26649 cat >>conftest.$ac_ext <<_ACEOF
26650 /* end confdefs.h. */
26652 /* Override any GCC internal prototype to avoid an error.
26653 Use char because int might match the return type of a GCC
26654 builtin and then its argument prototype would still apply. */
26667 rm -f conftest.$ac_objext conftest$ac_exeext
26668 if { (ac_try="$ac_link"
26669 case "(($ac_try" in
26670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26671 *) ac_try_echo=$ac_try;;
26673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26674 (eval "$ac_link") 2>conftest.er1
26676 grep -v '^
*+' conftest.er1 >conftest.err
26678 cat conftest.err >&5
26679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26680 (exit $ac_status); } && {
26681 test -z "$ac_c_werror_flag" ||
26682 test ! -s conftest.err
26683 } && test -s conftest$ac_exeext &&
26684 $as_test_x conftest$ac_exeext; then
26685 ac_cv_lib_m_roundl=yes
26687 echo "$as_me: failed program was:" >&5
26688 sed 's
/^
/|
/' conftest.$ac_ext >&5
26690 ac_cv_lib_m_roundl=no
26693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26694 conftest$ac_exeext conftest.$ac_ext
26695 LIBS=$ac_check_lib_save_LIBS
26697 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
26698 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6; }
26699 if test $ac_cv_lib_m_roundl = yes; then
26701 cat >>confdefs.h <<\_ACEOF
26702 #define HAVE_ROUNDL 1
26707 { echo "$as_me:$LINENO: checking for lroundf in -lm" >&5
26708 echo $ECHO_N "checking for lroundf in -lm... $ECHO_C" >&6; }
26709 if test "${ac_cv_lib_m_lroundf+set}" = set; then
26710 echo $ECHO_N "(cached) $ECHO_C" >&6
26712 ac_check_lib_save_LIBS=$LIBS
26714 if test x$gcc_no_link = xyes; then
26715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26717 { (exit 1); exit 1; }; }
26719 cat >conftest.$ac_ext <<_ACEOF
26722 cat confdefs.h >>conftest.$ac_ext
26723 cat >>conftest.$ac_ext <<_ACEOF
26724 /* end confdefs.h. */
26726 /* Override any GCC internal prototype to avoid an error.
26727 Use char because int might match the return type of a GCC
26728 builtin and then its argument prototype would still apply. */
26741 rm -f conftest.$ac_objext conftest$ac_exeext
26742 if { (ac_try="$ac_link"
26743 case "(($ac_try" in
26744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26745 *) ac_try_echo=$ac_try;;
26747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26748 (eval "$ac_link") 2>conftest.er1
26750 grep -v '^
*+' conftest.er1 >conftest.err
26752 cat conftest.err >&5
26753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26754 (exit $ac_status); } && {
26755 test -z "$ac_c_werror_flag" ||
26756 test ! -s conftest.err
26757 } && test -s conftest$ac_exeext &&
26758 $as_test_x conftest$ac_exeext; then
26759 ac_cv_lib_m_lroundf=yes
26761 echo "$as_me: failed program was:" >&5
26762 sed 's
/^
/|
/' conftest.$ac_ext >&5
26764 ac_cv_lib_m_lroundf=no
26767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26768 conftest$ac_exeext conftest.$ac_ext
26769 LIBS=$ac_check_lib_save_LIBS
26771 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundf" >&5
26772 echo "${ECHO_T}$ac_cv_lib_m_lroundf" >&6; }
26773 if test $ac_cv_lib_m_lroundf = yes; then
26775 cat >>confdefs.h <<\_ACEOF
26776 #define HAVE_LROUNDF 1
26781 { echo "$as_me:$LINENO: checking for lround in -lm" >&5
26782 echo $ECHO_N "checking for lround in -lm... $ECHO_C" >&6; }
26783 if test "${ac_cv_lib_m_lround+set}" = set; then
26784 echo $ECHO_N "(cached) $ECHO_C" >&6
26786 ac_check_lib_save_LIBS=$LIBS
26788 if test x$gcc_no_link = xyes; then
26789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26791 { (exit 1); exit 1; }; }
26793 cat >conftest.$ac_ext <<_ACEOF
26796 cat confdefs.h >>conftest.$ac_ext
26797 cat >>conftest.$ac_ext <<_ACEOF
26798 /* end confdefs.h. */
26800 /* Override any GCC internal prototype to avoid an error.
26801 Use char because int might match the return type of a GCC
26802 builtin and then its argument prototype would still apply. */
26815 rm -f conftest.$ac_objext conftest$ac_exeext
26816 if { (ac_try="$ac_link"
26817 case "(($ac_try" in
26818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26819 *) ac_try_echo=$ac_try;;
26821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26822 (eval "$ac_link") 2>conftest.er1
26824 grep -v '^
*+' conftest.er1 >conftest.err
26826 cat conftest.err >&5
26827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26828 (exit $ac_status); } && {
26829 test -z "$ac_c_werror_flag" ||
26830 test ! -s conftest.err
26831 } && test -s conftest$ac_exeext &&
26832 $as_test_x conftest$ac_exeext; then
26833 ac_cv_lib_m_lround=yes
26835 echo "$as_me: failed program was:" >&5
26836 sed 's
/^
/|
/' conftest.$ac_ext >&5
26838 ac_cv_lib_m_lround=no
26841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26842 conftest$ac_exeext conftest.$ac_ext
26843 LIBS=$ac_check_lib_save_LIBS
26845 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_lround" >&5
26846 echo "${ECHO_T}$ac_cv_lib_m_lround" >&6; }
26847 if test $ac_cv_lib_m_lround = yes; then
26849 cat >>confdefs.h <<\_ACEOF
26850 #define HAVE_LROUND 1
26855 { echo "$as_me:$LINENO: checking for lroundl in -lm" >&5
26856 echo $ECHO_N "checking for lroundl in -lm... $ECHO_C" >&6; }
26857 if test "${ac_cv_lib_m_lroundl+set}" = set; then
26858 echo $ECHO_N "(cached) $ECHO_C" >&6
26860 ac_check_lib_save_LIBS=$LIBS
26862 if test x$gcc_no_link = xyes; then
26863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26865 { (exit 1); exit 1; }; }
26867 cat >conftest.$ac_ext <<_ACEOF
26870 cat confdefs.h >>conftest.$ac_ext
26871 cat >>conftest.$ac_ext <<_ACEOF
26872 /* end confdefs.h. */
26874 /* Override any GCC internal prototype to avoid an error.
26875 Use char because int might match the return type of a GCC
26876 builtin and then its argument prototype would still apply. */
26889 rm -f conftest.$ac_objext conftest$ac_exeext
26890 if { (ac_try="$ac_link"
26891 case "(($ac_try" in
26892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26893 *) ac_try_echo=$ac_try;;
26895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26896 (eval "$ac_link") 2>conftest.er1
26898 grep -v '^
*+' conftest.er1 >conftest.err
26900 cat conftest.err >&5
26901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26902 (exit $ac_status); } && {
26903 test -z "$ac_c_werror_flag" ||
26904 test ! -s conftest.err
26905 } && test -s conftest$ac_exeext &&
26906 $as_test_x conftest$ac_exeext; then
26907 ac_cv_lib_m_lroundl=yes
26909 echo "$as_me: failed program was:" >&5
26910 sed 's
/^
/|
/' conftest.$ac_ext >&5
26912 ac_cv_lib_m_lroundl=no
26915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26916 conftest$ac_exeext conftest.$ac_ext
26917 LIBS=$ac_check_lib_save_LIBS
26919 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundl" >&5
26920 echo "${ECHO_T}$ac_cv_lib_m_lroundl" >&6; }
26921 if test $ac_cv_lib_m_lroundl = yes; then
26923 cat >>confdefs.h <<\_ACEOF
26924 #define HAVE_LROUNDL 1
26929 { echo "$as_me:$LINENO: checking for llroundf in -lm" >&5
26930 echo $ECHO_N "checking for llroundf in -lm... $ECHO_C" >&6; }
26931 if test "${ac_cv_lib_m_llroundf+set}" = set; then
26932 echo $ECHO_N "(cached) $ECHO_C" >&6
26934 ac_check_lib_save_LIBS=$LIBS
26936 if test x$gcc_no_link = xyes; then
26937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26939 { (exit 1); exit 1; }; }
26941 cat >conftest.$ac_ext <<_ACEOF
26944 cat confdefs.h >>conftest.$ac_ext
26945 cat >>conftest.$ac_ext <<_ACEOF
26946 /* end confdefs.h. */
26948 /* Override any GCC internal prototype to avoid an error.
26949 Use char because int might match the return type of a GCC
26950 builtin and then its argument prototype would still apply. */
26958 return llroundf ();
26963 rm -f conftest.$ac_objext conftest$ac_exeext
26964 if { (ac_try="$ac_link"
26965 case "(($ac_try" in
26966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26967 *) ac_try_echo=$ac_try;;
26969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26970 (eval "$ac_link") 2>conftest.er1
26972 grep -v '^
*+' conftest.er1 >conftest.err
26974 cat conftest.err >&5
26975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26976 (exit $ac_status); } && {
26977 test -z "$ac_c_werror_flag" ||
26978 test ! -s conftest.err
26979 } && test -s conftest$ac_exeext &&
26980 $as_test_x conftest$ac_exeext; then
26981 ac_cv_lib_m_llroundf=yes
26983 echo "$as_me: failed program was:" >&5
26984 sed 's
/^
/|
/' conftest.$ac_ext >&5
26986 ac_cv_lib_m_llroundf=no
26989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26990 conftest$ac_exeext conftest.$ac_ext
26991 LIBS=$ac_check_lib_save_LIBS
26993 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundf" >&5
26994 echo "${ECHO_T}$ac_cv_lib_m_llroundf" >&6; }
26995 if test $ac_cv_lib_m_llroundf = yes; then
26997 cat >>confdefs.h <<\_ACEOF
26998 #define HAVE_LLROUNDF 1
27003 { echo "$as_me:$LINENO: checking for llround in -lm" >&5
27004 echo $ECHO_N "checking for llround in -lm... $ECHO_C" >&6; }
27005 if test "${ac_cv_lib_m_llround+set}" = set; then
27006 echo $ECHO_N "(cached) $ECHO_C" >&6
27008 ac_check_lib_save_LIBS=$LIBS
27010 if test x$gcc_no_link = xyes; then
27011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27013 { (exit 1); exit 1; }; }
27015 cat >conftest.$ac_ext <<_ACEOF
27018 cat confdefs.h >>conftest.$ac_ext
27019 cat >>conftest.$ac_ext <<_ACEOF
27020 /* end confdefs.h. */
27022 /* Override any GCC internal prototype to avoid an error.
27023 Use char because int might match the return type of a GCC
27024 builtin and then its argument prototype would still apply. */
27037 rm -f conftest.$ac_objext conftest$ac_exeext
27038 if { (ac_try="$ac_link"
27039 case "(($ac_try" in
27040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27041 *) ac_try_echo=$ac_try;;
27043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27044 (eval "$ac_link") 2>conftest.er1
27046 grep -v '^
*+' conftest.er1 >conftest.err
27048 cat conftest.err >&5
27049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27050 (exit $ac_status); } && {
27051 test -z "$ac_c_werror_flag" ||
27052 test ! -s conftest.err
27053 } && test -s conftest$ac_exeext &&
27054 $as_test_x conftest$ac_exeext; then
27055 ac_cv_lib_m_llround=yes
27057 echo "$as_me: failed program was:" >&5
27058 sed 's
/^
/|
/' conftest.$ac_ext >&5
27060 ac_cv_lib_m_llround=no
27063 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27064 conftest$ac_exeext conftest.$ac_ext
27065 LIBS=$ac_check_lib_save_LIBS
27067 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_llround" >&5
27068 echo "${ECHO_T}$ac_cv_lib_m_llround" >&6; }
27069 if test $ac_cv_lib_m_llround = yes; then
27071 cat >>confdefs.h <<\_ACEOF
27072 #define HAVE_LLROUND 1
27077 { echo "$as_me:$LINENO: checking for llroundl in -lm" >&5
27078 echo $ECHO_N "checking for llroundl in -lm... $ECHO_C" >&6; }
27079 if test "${ac_cv_lib_m_llroundl+set}" = set; then
27080 echo $ECHO_N "(cached) $ECHO_C" >&6
27082 ac_check_lib_save_LIBS=$LIBS
27084 if test x$gcc_no_link = xyes; then
27085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27087 { (exit 1); exit 1; }; }
27089 cat >conftest.$ac_ext <<_ACEOF
27092 cat confdefs.h >>conftest.$ac_ext
27093 cat >>conftest.$ac_ext <<_ACEOF
27094 /* end confdefs.h. */
27096 /* Override any GCC internal prototype to avoid an error.
27097 Use char because int might match the return type of a GCC
27098 builtin and then its argument prototype would still apply. */
27106 return llroundl ();
27111 rm -f conftest.$ac_objext conftest$ac_exeext
27112 if { (ac_try="$ac_link"
27113 case "(($ac_try" in
27114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27115 *) ac_try_echo=$ac_try;;
27117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27118 (eval "$ac_link") 2>conftest.er1
27120 grep -v '^
*+' conftest.er1 >conftest.err
27122 cat conftest.err >&5
27123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27124 (exit $ac_status); } && {
27125 test -z "$ac_c_werror_flag" ||
27126 test ! -s conftest.err
27127 } && test -s conftest$ac_exeext &&
27128 $as_test_x conftest$ac_exeext; then
27129 ac_cv_lib_m_llroundl=yes
27131 echo "$as_me: failed program was:" >&5
27132 sed 's
/^
/|
/' conftest.$ac_ext >&5
27134 ac_cv_lib_m_llroundl=no
27137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27138 conftest$ac_exeext conftest.$ac_ext
27139 LIBS=$ac_check_lib_save_LIBS
27141 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundl" >&5
27142 echo "${ECHO_T}$ac_cv_lib_m_llroundl" >&6; }
27143 if test $ac_cv_lib_m_llroundl = yes; then
27145 cat >>confdefs.h <<\_ACEOF
27146 #define HAVE_LLROUNDL 1
27151 { echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
27152 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6; }
27153 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
27154 echo $ECHO_N "(cached) $ECHO_C" >&6
27156 ac_check_lib_save_LIBS=$LIBS
27158 if test x$gcc_no_link = xyes; then
27159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27161 { (exit 1); exit 1; }; }
27163 cat >conftest.$ac_ext <<_ACEOF
27166 cat confdefs.h >>conftest.$ac_ext
27167 cat >>conftest.$ac_ext <<_ACEOF
27168 /* end confdefs.h. */
27170 /* Override any GCC internal prototype to avoid an error.
27171 Use char because int might match the return type of a GCC
27172 builtin and then its argument prototype would still apply. */
27185 rm -f conftest.$ac_objext conftest$ac_exeext
27186 if { (ac_try="$ac_link"
27187 case "(($ac_try" in
27188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27189 *) ac_try_echo=$ac_try;;
27191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27192 (eval "$ac_link") 2>conftest.er1
27194 grep -v '^
*+' conftest.er1 >conftest.err
27196 cat conftest.err >&5
27197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27198 (exit $ac_status); } && {
27199 test -z "$ac_c_werror_flag" ||
27200 test ! -s conftest.err
27201 } && test -s conftest$ac_exeext &&
27202 $as_test_x conftest$ac_exeext; then
27203 ac_cv_lib_m_scalbnf=yes
27205 echo "$as_me: failed program was:" >&5
27206 sed 's
/^
/|
/' conftest.$ac_ext >&5
27208 ac_cv_lib_m_scalbnf=no
27211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27212 conftest$ac_exeext conftest.$ac_ext
27213 LIBS=$ac_check_lib_save_LIBS
27215 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
27216 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6; }
27217 if test $ac_cv_lib_m_scalbnf = yes; then
27219 cat >>confdefs.h <<\_ACEOF
27220 #define HAVE_SCALBNF 1
27225 { echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
27226 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6; }
27227 if test "${ac_cv_lib_m_scalbn+set}" = set; then
27228 echo $ECHO_N "(cached) $ECHO_C" >&6
27230 ac_check_lib_save_LIBS=$LIBS
27232 if test x$gcc_no_link = xyes; then
27233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27235 { (exit 1); exit 1; }; }
27237 cat >conftest.$ac_ext <<_ACEOF
27240 cat confdefs.h >>conftest.$ac_ext
27241 cat >>conftest.$ac_ext <<_ACEOF
27242 /* end confdefs.h. */
27244 /* Override any GCC internal prototype to avoid an error.
27245 Use char because int might match the return type of a GCC
27246 builtin and then its argument prototype would still apply. */
27259 rm -f conftest.$ac_objext conftest$ac_exeext
27260 if { (ac_try="$ac_link"
27261 case "(($ac_try" in
27262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27263 *) ac_try_echo=$ac_try;;
27265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27266 (eval "$ac_link") 2>conftest.er1
27268 grep -v '^
*+' conftest.er1 >conftest.err
27270 cat conftest.err >&5
27271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27272 (exit $ac_status); } && {
27273 test -z "$ac_c_werror_flag" ||
27274 test ! -s conftest.err
27275 } && test -s conftest$ac_exeext &&
27276 $as_test_x conftest$ac_exeext; then
27277 ac_cv_lib_m_scalbn=yes
27279 echo "$as_me: failed program was:" >&5
27280 sed 's
/^
/|
/' conftest.$ac_ext >&5
27282 ac_cv_lib_m_scalbn=no
27285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27286 conftest$ac_exeext conftest.$ac_ext
27287 LIBS=$ac_check_lib_save_LIBS
27289 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
27290 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6; }
27291 if test $ac_cv_lib_m_scalbn = yes; then
27293 cat >>confdefs.h <<\_ACEOF
27294 #define HAVE_SCALBN 1
27299 { echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
27300 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6; }
27301 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
27302 echo $ECHO_N "(cached) $ECHO_C" >&6
27304 ac_check_lib_save_LIBS=$LIBS
27306 if test x$gcc_no_link = xyes; then
27307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27309 { (exit 1); exit 1; }; }
27311 cat >conftest.$ac_ext <<_ACEOF
27314 cat confdefs.h >>conftest.$ac_ext
27315 cat >>conftest.$ac_ext <<_ACEOF
27316 /* end confdefs.h. */
27318 /* Override any GCC internal prototype to avoid an error.
27319 Use char because int might match the return type of a GCC
27320 builtin and then its argument prototype would still apply. */
27333 rm -f conftest.$ac_objext conftest$ac_exeext
27334 if { (ac_try="$ac_link"
27335 case "(($ac_try" in
27336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27337 *) ac_try_echo=$ac_try;;
27339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27340 (eval "$ac_link") 2>conftest.er1
27342 grep -v '^
*+' conftest.er1 >conftest.err
27344 cat conftest.err >&5
27345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27346 (exit $ac_status); } && {
27347 test -z "$ac_c_werror_flag" ||
27348 test ! -s conftest.err
27349 } && test -s conftest$ac_exeext &&
27350 $as_test_x conftest$ac_exeext; then
27351 ac_cv_lib_m_scalbnl=yes
27353 echo "$as_me: failed program was:" >&5
27354 sed 's
/^
/|
/' conftest.$ac_ext >&5
27356 ac_cv_lib_m_scalbnl=no
27359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27360 conftest$ac_exeext conftest.$ac_ext
27361 LIBS=$ac_check_lib_save_LIBS
27363 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
27364 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6; }
27365 if test $ac_cv_lib_m_scalbnl = yes; then
27367 cat >>confdefs.h <<\_ACEOF
27368 #define HAVE_SCALBNL 1
27373 { echo "$as_me:$LINENO: checking for sinf in -lm" >&5
27374 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6; }
27375 if test "${ac_cv_lib_m_sinf+set}" = set; then
27376 echo $ECHO_N "(cached) $ECHO_C" >&6
27378 ac_check_lib_save_LIBS=$LIBS
27380 if test x$gcc_no_link = xyes; then
27381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27383 { (exit 1); exit 1; }; }
27385 cat >conftest.$ac_ext <<_ACEOF
27388 cat confdefs.h >>conftest.$ac_ext
27389 cat >>conftest.$ac_ext <<_ACEOF
27390 /* end confdefs.h. */
27392 /* Override any GCC internal prototype to avoid an error.
27393 Use char because int might match the return type of a GCC
27394 builtin and then its argument prototype would still apply. */
27407 rm -f conftest.$ac_objext conftest$ac_exeext
27408 if { (ac_try="$ac_link"
27409 case "(($ac_try" in
27410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27411 *) ac_try_echo=$ac_try;;
27413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27414 (eval "$ac_link") 2>conftest.er1
27416 grep -v '^
*+' conftest.er1 >conftest.err
27418 cat conftest.err >&5
27419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27420 (exit $ac_status); } && {
27421 test -z "$ac_c_werror_flag" ||
27422 test ! -s conftest.err
27423 } && test -s conftest$ac_exeext &&
27424 $as_test_x conftest$ac_exeext; then
27425 ac_cv_lib_m_sinf=yes
27427 echo "$as_me: failed program was:" >&5
27428 sed 's
/^
/|
/' conftest.$ac_ext >&5
27430 ac_cv_lib_m_sinf=no
27433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27434 conftest$ac_exeext conftest.$ac_ext
27435 LIBS=$ac_check_lib_save_LIBS
27437 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
27438 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6; }
27439 if test $ac_cv_lib_m_sinf = yes; then
27441 cat >>confdefs.h <<\_ACEOF
27442 #define HAVE_SINF 1
27447 { echo "$as_me:$LINENO: checking for sin in -lm" >&5
27448 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
27449 if test "${ac_cv_lib_m_sin+set}" = set; then
27450 echo $ECHO_N "(cached) $ECHO_C" >&6
27452 ac_check_lib_save_LIBS=$LIBS
27454 if test x$gcc_no_link = xyes; then
27455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27457 { (exit 1); exit 1; }; }
27459 cat >conftest.$ac_ext <<_ACEOF
27462 cat confdefs.h >>conftest.$ac_ext
27463 cat >>conftest.$ac_ext <<_ACEOF
27464 /* end confdefs.h. */
27466 /* Override any GCC internal prototype to avoid an error.
27467 Use char because int might match the return type of a GCC
27468 builtin and then its argument prototype would still apply. */
27481 rm -f conftest.$ac_objext conftest$ac_exeext
27482 if { (ac_try="$ac_link"
27483 case "(($ac_try" in
27484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27485 *) ac_try_echo=$ac_try;;
27487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27488 (eval "$ac_link") 2>conftest.er1
27490 grep -v '^
*+' conftest.er1 >conftest.err
27492 cat conftest.err >&5
27493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27494 (exit $ac_status); } && {
27495 test -z "$ac_c_werror_flag" ||
27496 test ! -s conftest.err
27497 } && test -s conftest$ac_exeext &&
27498 $as_test_x conftest$ac_exeext; then
27499 ac_cv_lib_m_sin=yes
27501 echo "$as_me: failed program was:" >&5
27502 sed 's
/^
/|
/' conftest.$ac_ext >&5
27507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27508 conftest$ac_exeext conftest.$ac_ext
27509 LIBS=$ac_check_lib_save_LIBS
27511 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27512 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
27513 if test $ac_cv_lib_m_sin = yes; then
27515 cat >>confdefs.h <<\_ACEOF
27521 { echo "$as_me:$LINENO: checking for sinl in -lm" >&5
27522 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6; }
27523 if test "${ac_cv_lib_m_sinl+set}" = set; then
27524 echo $ECHO_N "(cached) $ECHO_C" >&6
27526 ac_check_lib_save_LIBS=$LIBS
27528 if test x$gcc_no_link = xyes; then
27529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27531 { (exit 1); exit 1; }; }
27533 cat >conftest.$ac_ext <<_ACEOF
27536 cat confdefs.h >>conftest.$ac_ext
27537 cat >>conftest.$ac_ext <<_ACEOF
27538 /* end confdefs.h. */
27540 /* Override any GCC internal prototype to avoid an error.
27541 Use char because int might match the return type of a GCC
27542 builtin and then its argument prototype would still apply. */
27555 rm -f conftest.$ac_objext conftest$ac_exeext
27556 if { (ac_try="$ac_link"
27557 case "(($ac_try" in
27558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27559 *) ac_try_echo=$ac_try;;
27561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27562 (eval "$ac_link") 2>conftest.er1
27564 grep -v '^
*+' conftest.er1 >conftest.err
27566 cat conftest.err >&5
27567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27568 (exit $ac_status); } && {
27569 test -z "$ac_c_werror_flag" ||
27570 test ! -s conftest.err
27571 } && test -s conftest$ac_exeext &&
27572 $as_test_x conftest$ac_exeext; then
27573 ac_cv_lib_m_sinl=yes
27575 echo "$as_me: failed program was:" >&5
27576 sed 's
/^
/|
/' conftest.$ac_ext >&5
27578 ac_cv_lib_m_sinl=no
27581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27582 conftest$ac_exeext conftest.$ac_ext
27583 LIBS=$ac_check_lib_save_LIBS
27585 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
27586 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6; }
27587 if test $ac_cv_lib_m_sinl = yes; then
27589 cat >>confdefs.h <<\_ACEOF
27590 #define HAVE_SINL 1
27595 { echo "$as_me:$LINENO: checking for csinf in -lm" >&5
27596 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6; }
27597 if test "${ac_cv_lib_m_csinf+set}" = set; then
27598 echo $ECHO_N "(cached) $ECHO_C" >&6
27600 ac_check_lib_save_LIBS=$LIBS
27602 if test x$gcc_no_link = xyes; then
27603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27605 { (exit 1); exit 1; }; }
27607 cat >conftest.$ac_ext <<_ACEOF
27610 cat confdefs.h >>conftest.$ac_ext
27611 cat >>conftest.$ac_ext <<_ACEOF
27612 /* end confdefs.h. */
27614 /* Override any GCC internal prototype to avoid an error.
27615 Use char because int might match the return type of a GCC
27616 builtin and then its argument prototype would still apply. */
27629 rm -f conftest.$ac_objext conftest$ac_exeext
27630 if { (ac_try="$ac_link"
27631 case "(($ac_try" in
27632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27633 *) ac_try_echo=$ac_try;;
27635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27636 (eval "$ac_link") 2>conftest.er1
27638 grep -v '^
*+' conftest.er1 >conftest.err
27640 cat conftest.err >&5
27641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27642 (exit $ac_status); } && {
27643 test -z "$ac_c_werror_flag" ||
27644 test ! -s conftest.err
27645 } && test -s conftest$ac_exeext &&
27646 $as_test_x conftest$ac_exeext; then
27647 ac_cv_lib_m_csinf=yes
27649 echo "$as_me: failed program was:" >&5
27650 sed 's
/^
/|
/' conftest.$ac_ext >&5
27652 ac_cv_lib_m_csinf=no
27655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27656 conftest$ac_exeext conftest.$ac_ext
27657 LIBS=$ac_check_lib_save_LIBS
27659 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
27660 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6; }
27661 if test $ac_cv_lib_m_csinf = yes; then
27663 cat >>confdefs.h <<\_ACEOF
27664 #define HAVE_CSINF 1
27669 { echo "$as_me:$LINENO: checking for csin in -lm" >&5
27670 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6; }
27671 if test "${ac_cv_lib_m_csin+set}" = set; then
27672 echo $ECHO_N "(cached) $ECHO_C" >&6
27674 ac_check_lib_save_LIBS=$LIBS
27676 if test x$gcc_no_link = xyes; then
27677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27679 { (exit 1); exit 1; }; }
27681 cat >conftest.$ac_ext <<_ACEOF
27684 cat confdefs.h >>conftest.$ac_ext
27685 cat >>conftest.$ac_ext <<_ACEOF
27686 /* end confdefs.h. */
27688 /* Override any GCC internal prototype to avoid an error.
27689 Use char because int might match the return type of a GCC
27690 builtin and then its argument prototype would still apply. */
27703 rm -f conftest.$ac_objext conftest$ac_exeext
27704 if { (ac_try="$ac_link"
27705 case "(($ac_try" in
27706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27707 *) ac_try_echo=$ac_try;;
27709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27710 (eval "$ac_link") 2>conftest.er1
27712 grep -v '^
*+' conftest.er1 >conftest.err
27714 cat conftest.err >&5
27715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27716 (exit $ac_status); } && {
27717 test -z "$ac_c_werror_flag" ||
27718 test ! -s conftest.err
27719 } && test -s conftest$ac_exeext &&
27720 $as_test_x conftest$ac_exeext; then
27721 ac_cv_lib_m_csin=yes
27723 echo "$as_me: failed program was:" >&5
27724 sed 's
/^
/|
/' conftest.$ac_ext >&5
27726 ac_cv_lib_m_csin=no
27729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27730 conftest$ac_exeext conftest.$ac_ext
27731 LIBS=$ac_check_lib_save_LIBS
27733 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
27734 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6; }
27735 if test $ac_cv_lib_m_csin = yes; then
27737 cat >>confdefs.h <<\_ACEOF
27738 #define HAVE_CSIN 1
27743 { echo "$as_me:$LINENO: checking for csinl in -lm" >&5
27744 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6; }
27745 if test "${ac_cv_lib_m_csinl+set}" = set; then
27746 echo $ECHO_N "(cached) $ECHO_C" >&6
27748 ac_check_lib_save_LIBS=$LIBS
27750 if test x$gcc_no_link = xyes; then
27751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27753 { (exit 1); exit 1; }; }
27755 cat >conftest.$ac_ext <<_ACEOF
27758 cat confdefs.h >>conftest.$ac_ext
27759 cat >>conftest.$ac_ext <<_ACEOF
27760 /* end confdefs.h. */
27762 /* Override any GCC internal prototype to avoid an error.
27763 Use char because int might match the return type of a GCC
27764 builtin and then its argument prototype would still apply. */
27777 rm -f conftest.$ac_objext conftest$ac_exeext
27778 if { (ac_try="$ac_link"
27779 case "(($ac_try" in
27780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27781 *) ac_try_echo=$ac_try;;
27783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27784 (eval "$ac_link") 2>conftest.er1
27786 grep -v '^
*+' conftest.er1 >conftest.err
27788 cat conftest.err >&5
27789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27790 (exit $ac_status); } && {
27791 test -z "$ac_c_werror_flag" ||
27792 test ! -s conftest.err
27793 } && test -s conftest$ac_exeext &&
27794 $as_test_x conftest$ac_exeext; then
27795 ac_cv_lib_m_csinl=yes
27797 echo "$as_me: failed program was:" >&5
27798 sed 's
/^
/|
/' conftest.$ac_ext >&5
27800 ac_cv_lib_m_csinl=no
27803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27804 conftest$ac_exeext conftest.$ac_ext
27805 LIBS=$ac_check_lib_save_LIBS
27807 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
27808 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6; }
27809 if test $ac_cv_lib_m_csinl = yes; then
27811 cat >>confdefs.h <<\_ACEOF
27812 #define HAVE_CSINL 1
27817 { echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
27818 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6; }
27819 if test "${ac_cv_lib_m_sinhf+set}" = set; then
27820 echo $ECHO_N "(cached) $ECHO_C" >&6
27822 ac_check_lib_save_LIBS=$LIBS
27824 if test x$gcc_no_link = xyes; then
27825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27827 { (exit 1); exit 1; }; }
27829 cat >conftest.$ac_ext <<_ACEOF
27832 cat confdefs.h >>conftest.$ac_ext
27833 cat >>conftest.$ac_ext <<_ACEOF
27834 /* end confdefs.h. */
27836 /* Override any GCC internal prototype to avoid an error.
27837 Use char because int might match the return type of a GCC
27838 builtin and then its argument prototype would still apply. */
27851 rm -f conftest.$ac_objext conftest$ac_exeext
27852 if { (ac_try="$ac_link"
27853 case "(($ac_try" in
27854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27855 *) ac_try_echo=$ac_try;;
27857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27858 (eval "$ac_link") 2>conftest.er1
27860 grep -v '^
*+' conftest.er1 >conftest.err
27862 cat conftest.err >&5
27863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27864 (exit $ac_status); } && {
27865 test -z "$ac_c_werror_flag" ||
27866 test ! -s conftest.err
27867 } && test -s conftest$ac_exeext &&
27868 $as_test_x conftest$ac_exeext; then
27869 ac_cv_lib_m_sinhf=yes
27871 echo "$as_me: failed program was:" >&5
27872 sed 's
/^
/|
/' conftest.$ac_ext >&5
27874 ac_cv_lib_m_sinhf=no
27877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27878 conftest$ac_exeext conftest.$ac_ext
27879 LIBS=$ac_check_lib_save_LIBS
27881 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
27882 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6; }
27883 if test $ac_cv_lib_m_sinhf = yes; then
27885 cat >>confdefs.h <<\_ACEOF
27886 #define HAVE_SINHF 1
27891 { echo "$as_me:$LINENO: checking for sinh in -lm" >&5
27892 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6; }
27893 if test "${ac_cv_lib_m_sinh+set}" = set; then
27894 echo $ECHO_N "(cached) $ECHO_C" >&6
27896 ac_check_lib_save_LIBS=$LIBS
27898 if test x$gcc_no_link = xyes; then
27899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27901 { (exit 1); exit 1; }; }
27903 cat >conftest.$ac_ext <<_ACEOF
27906 cat confdefs.h >>conftest.$ac_ext
27907 cat >>conftest.$ac_ext <<_ACEOF
27908 /* end confdefs.h. */
27910 /* Override any GCC internal prototype to avoid an error.
27911 Use char because int might match the return type of a GCC
27912 builtin and then its argument prototype would still apply. */
27925 rm -f conftest.$ac_objext conftest$ac_exeext
27926 if { (ac_try="$ac_link"
27927 case "(($ac_try" in
27928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27929 *) ac_try_echo=$ac_try;;
27931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27932 (eval "$ac_link") 2>conftest.er1
27934 grep -v '^
*+' conftest.er1 >conftest.err
27936 cat conftest.err >&5
27937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27938 (exit $ac_status); } && {
27939 test -z "$ac_c_werror_flag" ||
27940 test ! -s conftest.err
27941 } && test -s conftest$ac_exeext &&
27942 $as_test_x conftest$ac_exeext; then
27943 ac_cv_lib_m_sinh=yes
27945 echo "$as_me: failed program was:" >&5
27946 sed 's
/^
/|
/' conftest.$ac_ext >&5
27948 ac_cv_lib_m_sinh=no
27951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27952 conftest$ac_exeext conftest.$ac_ext
27953 LIBS=$ac_check_lib_save_LIBS
27955 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
27956 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6; }
27957 if test $ac_cv_lib_m_sinh = yes; then
27959 cat >>confdefs.h <<\_ACEOF
27960 #define HAVE_SINH 1
27965 { echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
27966 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6; }
27967 if test "${ac_cv_lib_m_sinhl+set}" = set; then
27968 echo $ECHO_N "(cached) $ECHO_C" >&6
27970 ac_check_lib_save_LIBS=$LIBS
27972 if test x$gcc_no_link = xyes; then
27973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27975 { (exit 1); exit 1; }; }
27977 cat >conftest.$ac_ext <<_ACEOF
27980 cat confdefs.h >>conftest.$ac_ext
27981 cat >>conftest.$ac_ext <<_ACEOF
27982 /* end confdefs.h. */
27984 /* Override any GCC internal prototype to avoid an error.
27985 Use char because int might match the return type of a GCC
27986 builtin and then its argument prototype would still apply. */
27999 rm -f conftest.$ac_objext conftest$ac_exeext
28000 if { (ac_try="$ac_link"
28001 case "(($ac_try" in
28002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28003 *) ac_try_echo=$ac_try;;
28005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28006 (eval "$ac_link") 2>conftest.er1
28008 grep -v '^
*+' conftest.er1 >conftest.err
28010 cat conftest.err >&5
28011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28012 (exit $ac_status); } && {
28013 test -z "$ac_c_werror_flag" ||
28014 test ! -s conftest.err
28015 } && test -s conftest$ac_exeext &&
28016 $as_test_x conftest$ac_exeext; then
28017 ac_cv_lib_m_sinhl=yes
28019 echo "$as_me: failed program was:" >&5
28020 sed 's
/^
/|
/' conftest.$ac_ext >&5
28022 ac_cv_lib_m_sinhl=no
28025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28026 conftest$ac_exeext conftest.$ac_ext
28027 LIBS=$ac_check_lib_save_LIBS
28029 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
28030 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6; }
28031 if test $ac_cv_lib_m_sinhl = yes; then
28033 cat >>confdefs.h <<\_ACEOF
28034 #define HAVE_SINHL 1
28039 { echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
28040 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6; }
28041 if test "${ac_cv_lib_m_csinhf+set}" = set; then
28042 echo $ECHO_N "(cached) $ECHO_C" >&6
28044 ac_check_lib_save_LIBS=$LIBS
28046 if test x$gcc_no_link = xyes; then
28047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28049 { (exit 1); exit 1; }; }
28051 cat >conftest.$ac_ext <<_ACEOF
28054 cat confdefs.h >>conftest.$ac_ext
28055 cat >>conftest.$ac_ext <<_ACEOF
28056 /* end confdefs.h. */
28058 /* Override any GCC internal prototype to avoid an error.
28059 Use char because int might match the return type of a GCC
28060 builtin and then its argument prototype would still apply. */
28073 rm -f conftest.$ac_objext conftest$ac_exeext
28074 if { (ac_try="$ac_link"
28075 case "(($ac_try" in
28076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28077 *) ac_try_echo=$ac_try;;
28079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28080 (eval "$ac_link") 2>conftest.er1
28082 grep -v '^
*+' conftest.er1 >conftest.err
28084 cat conftest.err >&5
28085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28086 (exit $ac_status); } && {
28087 test -z "$ac_c_werror_flag" ||
28088 test ! -s conftest.err
28089 } && test -s conftest$ac_exeext &&
28090 $as_test_x conftest$ac_exeext; then
28091 ac_cv_lib_m_csinhf=yes
28093 echo "$as_me: failed program was:" >&5
28094 sed 's
/^
/|
/' conftest.$ac_ext >&5
28096 ac_cv_lib_m_csinhf=no
28099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28100 conftest$ac_exeext conftest.$ac_ext
28101 LIBS=$ac_check_lib_save_LIBS
28103 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
28104 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6; }
28105 if test $ac_cv_lib_m_csinhf = yes; then
28107 cat >>confdefs.h <<\_ACEOF
28108 #define HAVE_CSINHF 1
28113 { echo "$as_me:$LINENO: checking for csinh in -lm" >&5
28114 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6; }
28115 if test "${ac_cv_lib_m_csinh+set}" = set; then
28116 echo $ECHO_N "(cached) $ECHO_C" >&6
28118 ac_check_lib_save_LIBS=$LIBS
28120 if test x$gcc_no_link = xyes; then
28121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28123 { (exit 1); exit 1; }; }
28125 cat >conftest.$ac_ext <<_ACEOF
28128 cat confdefs.h >>conftest.$ac_ext
28129 cat >>conftest.$ac_ext <<_ACEOF
28130 /* end confdefs.h. */
28132 /* Override any GCC internal prototype to avoid an error.
28133 Use char because int might match the return type of a GCC
28134 builtin and then its argument prototype would still apply. */
28147 rm -f conftest.$ac_objext conftest$ac_exeext
28148 if { (ac_try="$ac_link"
28149 case "(($ac_try" in
28150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28151 *) ac_try_echo=$ac_try;;
28153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28154 (eval "$ac_link") 2>conftest.er1
28156 grep -v '^
*+' conftest.er1 >conftest.err
28158 cat conftest.err >&5
28159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28160 (exit $ac_status); } && {
28161 test -z "$ac_c_werror_flag" ||
28162 test ! -s conftest.err
28163 } && test -s conftest$ac_exeext &&
28164 $as_test_x conftest$ac_exeext; then
28165 ac_cv_lib_m_csinh=yes
28167 echo "$as_me: failed program was:" >&5
28168 sed 's
/^
/|
/' conftest.$ac_ext >&5
28170 ac_cv_lib_m_csinh=no
28173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28174 conftest$ac_exeext conftest.$ac_ext
28175 LIBS=$ac_check_lib_save_LIBS
28177 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
28178 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6; }
28179 if test $ac_cv_lib_m_csinh = yes; then
28181 cat >>confdefs.h <<\_ACEOF
28182 #define HAVE_CSINH 1
28187 { echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
28188 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6; }
28189 if test "${ac_cv_lib_m_csinhl+set}" = set; then
28190 echo $ECHO_N "(cached) $ECHO_C" >&6
28192 ac_check_lib_save_LIBS=$LIBS
28194 if test x$gcc_no_link = xyes; then
28195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28197 { (exit 1); exit 1; }; }
28199 cat >conftest.$ac_ext <<_ACEOF
28202 cat confdefs.h >>conftest.$ac_ext
28203 cat >>conftest.$ac_ext <<_ACEOF
28204 /* end confdefs.h. */
28206 /* Override any GCC internal prototype to avoid an error.
28207 Use char because int might match the return type of a GCC
28208 builtin and then its argument prototype would still apply. */
28221 rm -f conftest.$ac_objext conftest$ac_exeext
28222 if { (ac_try="$ac_link"
28223 case "(($ac_try" in
28224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28225 *) ac_try_echo=$ac_try;;
28227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28228 (eval "$ac_link") 2>conftest.er1
28230 grep -v '^
*+' conftest.er1 >conftest.err
28232 cat conftest.err >&5
28233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28234 (exit $ac_status); } && {
28235 test -z "$ac_c_werror_flag" ||
28236 test ! -s conftest.err
28237 } && test -s conftest$ac_exeext &&
28238 $as_test_x conftest$ac_exeext; then
28239 ac_cv_lib_m_csinhl=yes
28241 echo "$as_me: failed program was:" >&5
28242 sed 's
/^
/|
/' conftest.$ac_ext >&5
28244 ac_cv_lib_m_csinhl=no
28247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28248 conftest$ac_exeext conftest.$ac_ext
28249 LIBS=$ac_check_lib_save_LIBS
28251 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
28252 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6; }
28253 if test $ac_cv_lib_m_csinhl = yes; then
28255 cat >>confdefs.h <<\_ACEOF
28256 #define HAVE_CSINHL 1
28261 { echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
28262 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6; }
28263 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
28264 echo $ECHO_N "(cached) $ECHO_C" >&6
28266 ac_check_lib_save_LIBS=$LIBS
28268 if test x$gcc_no_link = xyes; then
28269 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28271 { (exit 1); exit 1; }; }
28273 cat >conftest.$ac_ext <<_ACEOF
28276 cat confdefs.h >>conftest.$ac_ext
28277 cat >>conftest.$ac_ext <<_ACEOF
28278 /* end confdefs.h. */
28280 /* Override any GCC internal prototype to avoid an error.
28281 Use char because int might match the return type of a GCC
28282 builtin and then its argument prototype would still apply. */
28295 rm -f conftest.$ac_objext conftest$ac_exeext
28296 if { (ac_try="$ac_link"
28297 case "(($ac_try" in
28298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28299 *) ac_try_echo=$ac_try;;
28301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28302 (eval "$ac_link") 2>conftest.er1
28304 grep -v '^
*+' conftest.er1 >conftest.err
28306 cat conftest.err >&5
28307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28308 (exit $ac_status); } && {
28309 test -z "$ac_c_werror_flag" ||
28310 test ! -s conftest.err
28311 } && test -s conftest$ac_exeext &&
28312 $as_test_x conftest$ac_exeext; then
28313 ac_cv_lib_m_sqrtf=yes
28315 echo "$as_me: failed program was:" >&5
28316 sed 's
/^
/|
/' conftest.$ac_ext >&5
28318 ac_cv_lib_m_sqrtf=no
28321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28322 conftest$ac_exeext conftest.$ac_ext
28323 LIBS=$ac_check_lib_save_LIBS
28325 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
28326 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6; }
28327 if test $ac_cv_lib_m_sqrtf = yes; then
28329 cat >>confdefs.h <<\_ACEOF
28330 #define HAVE_SQRTF 1
28335 { echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
28336 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6; }
28337 if test "${ac_cv_lib_m_sqrt+set}" = set; then
28338 echo $ECHO_N "(cached) $ECHO_C" >&6
28340 ac_check_lib_save_LIBS=$LIBS
28342 if test x$gcc_no_link = xyes; then
28343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28345 { (exit 1); exit 1; }; }
28347 cat >conftest.$ac_ext <<_ACEOF
28350 cat confdefs.h >>conftest.$ac_ext
28351 cat >>conftest.$ac_ext <<_ACEOF
28352 /* end confdefs.h. */
28354 /* Override any GCC internal prototype to avoid an error.
28355 Use char because int might match the return type of a GCC
28356 builtin and then its argument prototype would still apply. */
28369 rm -f conftest.$ac_objext conftest$ac_exeext
28370 if { (ac_try="$ac_link"
28371 case "(($ac_try" in
28372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28373 *) ac_try_echo=$ac_try;;
28375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28376 (eval "$ac_link") 2>conftest.er1
28378 grep -v '^
*+' conftest.er1 >conftest.err
28380 cat conftest.err >&5
28381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28382 (exit $ac_status); } && {
28383 test -z "$ac_c_werror_flag" ||
28384 test ! -s conftest.err
28385 } && test -s conftest$ac_exeext &&
28386 $as_test_x conftest$ac_exeext; then
28387 ac_cv_lib_m_sqrt=yes
28389 echo "$as_me: failed program was:" >&5
28390 sed 's
/^
/|
/' conftest.$ac_ext >&5
28392 ac_cv_lib_m_sqrt=no
28395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28396 conftest$ac_exeext conftest.$ac_ext
28397 LIBS=$ac_check_lib_save_LIBS
28399 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
28400 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6; }
28401 if test $ac_cv_lib_m_sqrt = yes; then
28403 cat >>confdefs.h <<\_ACEOF
28404 #define HAVE_SQRT 1
28409 { echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
28410 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6; }
28411 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
28412 echo $ECHO_N "(cached) $ECHO_C" >&6
28414 ac_check_lib_save_LIBS=$LIBS
28416 if test x$gcc_no_link = xyes; then
28417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28419 { (exit 1); exit 1; }; }
28421 cat >conftest.$ac_ext <<_ACEOF
28424 cat confdefs.h >>conftest.$ac_ext
28425 cat >>conftest.$ac_ext <<_ACEOF
28426 /* end confdefs.h. */
28428 /* Override any GCC internal prototype to avoid an error.
28429 Use char because int might match the return type of a GCC
28430 builtin and then its argument prototype would still apply. */
28443 rm -f conftest.$ac_objext conftest$ac_exeext
28444 if { (ac_try="$ac_link"
28445 case "(($ac_try" in
28446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28447 *) ac_try_echo=$ac_try;;
28449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28450 (eval "$ac_link") 2>conftest.er1
28452 grep -v '^
*+' conftest.er1 >conftest.err
28454 cat conftest.err >&5
28455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28456 (exit $ac_status); } && {
28457 test -z "$ac_c_werror_flag" ||
28458 test ! -s conftest.err
28459 } && test -s conftest$ac_exeext &&
28460 $as_test_x conftest$ac_exeext; then
28461 ac_cv_lib_m_sqrtl=yes
28463 echo "$as_me: failed program was:" >&5
28464 sed 's
/^
/|
/' conftest.$ac_ext >&5
28466 ac_cv_lib_m_sqrtl=no
28469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28470 conftest$ac_exeext conftest.$ac_ext
28471 LIBS=$ac_check_lib_save_LIBS
28473 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
28474 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6; }
28475 if test $ac_cv_lib_m_sqrtl = yes; then
28477 cat >>confdefs.h <<\_ACEOF
28478 #define HAVE_SQRTL 1
28483 { echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
28484 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6; }
28485 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
28486 echo $ECHO_N "(cached) $ECHO_C" >&6
28488 ac_check_lib_save_LIBS=$LIBS
28490 if test x$gcc_no_link = xyes; then
28491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28493 { (exit 1); exit 1; }; }
28495 cat >conftest.$ac_ext <<_ACEOF
28498 cat confdefs.h >>conftest.$ac_ext
28499 cat >>conftest.$ac_ext <<_ACEOF
28500 /* end confdefs.h. */
28502 /* Override any GCC internal prototype to avoid an error.
28503 Use char because int might match the return type of a GCC
28504 builtin and then its argument prototype would still apply. */
28517 rm -f conftest.$ac_objext conftest$ac_exeext
28518 if { (ac_try="$ac_link"
28519 case "(($ac_try" in
28520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28521 *) ac_try_echo=$ac_try;;
28523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28524 (eval "$ac_link") 2>conftest.er1
28526 grep -v '^
*+' conftest.er1 >conftest.err
28528 cat conftest.err >&5
28529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28530 (exit $ac_status); } && {
28531 test -z "$ac_c_werror_flag" ||
28532 test ! -s conftest.err
28533 } && test -s conftest$ac_exeext &&
28534 $as_test_x conftest$ac_exeext; then
28535 ac_cv_lib_m_csqrtf=yes
28537 echo "$as_me: failed program was:" >&5
28538 sed 's
/^
/|
/' conftest.$ac_ext >&5
28540 ac_cv_lib_m_csqrtf=no
28543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28544 conftest$ac_exeext conftest.$ac_ext
28545 LIBS=$ac_check_lib_save_LIBS
28547 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
28548 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6; }
28549 if test $ac_cv_lib_m_csqrtf = yes; then
28551 cat >>confdefs.h <<\_ACEOF
28552 #define HAVE_CSQRTF 1
28557 { echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
28558 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6; }
28559 if test "${ac_cv_lib_m_csqrt+set}" = set; then
28560 echo $ECHO_N "(cached) $ECHO_C" >&6
28562 ac_check_lib_save_LIBS=$LIBS
28564 if test x$gcc_no_link = xyes; then
28565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28567 { (exit 1); exit 1; }; }
28569 cat >conftest.$ac_ext <<_ACEOF
28572 cat confdefs.h >>conftest.$ac_ext
28573 cat >>conftest.$ac_ext <<_ACEOF
28574 /* end confdefs.h. */
28576 /* Override any GCC internal prototype to avoid an error.
28577 Use char because int might match the return type of a GCC
28578 builtin and then its argument prototype would still apply. */
28591 rm -f conftest.$ac_objext conftest$ac_exeext
28592 if { (ac_try="$ac_link"
28593 case "(($ac_try" in
28594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28595 *) ac_try_echo=$ac_try;;
28597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28598 (eval "$ac_link") 2>conftest.er1
28600 grep -v '^
*+' conftest.er1 >conftest.err
28602 cat conftest.err >&5
28603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28604 (exit $ac_status); } && {
28605 test -z "$ac_c_werror_flag" ||
28606 test ! -s conftest.err
28607 } && test -s conftest$ac_exeext &&
28608 $as_test_x conftest$ac_exeext; then
28609 ac_cv_lib_m_csqrt=yes
28611 echo "$as_me: failed program was:" >&5
28612 sed 's
/^
/|
/' conftest.$ac_ext >&5
28614 ac_cv_lib_m_csqrt=no
28617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28618 conftest$ac_exeext conftest.$ac_ext
28619 LIBS=$ac_check_lib_save_LIBS
28621 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
28622 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6; }
28623 if test $ac_cv_lib_m_csqrt = yes; then
28625 cat >>confdefs.h <<\_ACEOF
28626 #define HAVE_CSQRT 1
28631 { echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
28632 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6; }
28633 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
28634 echo $ECHO_N "(cached) $ECHO_C" >&6
28636 ac_check_lib_save_LIBS=$LIBS
28638 if test x$gcc_no_link = xyes; then
28639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28641 { (exit 1); exit 1; }; }
28643 cat >conftest.$ac_ext <<_ACEOF
28646 cat confdefs.h >>conftest.$ac_ext
28647 cat >>conftest.$ac_ext <<_ACEOF
28648 /* end confdefs.h. */
28650 /* Override any GCC internal prototype to avoid an error.
28651 Use char because int might match the return type of a GCC
28652 builtin and then its argument prototype would still apply. */
28665 rm -f conftest.$ac_objext conftest$ac_exeext
28666 if { (ac_try="$ac_link"
28667 case "(($ac_try" in
28668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28669 *) ac_try_echo=$ac_try;;
28671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28672 (eval "$ac_link") 2>conftest.er1
28674 grep -v '^
*+' conftest.er1 >conftest.err
28676 cat conftest.err >&5
28677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28678 (exit $ac_status); } && {
28679 test -z "$ac_c_werror_flag" ||
28680 test ! -s conftest.err
28681 } && test -s conftest$ac_exeext &&
28682 $as_test_x conftest$ac_exeext; then
28683 ac_cv_lib_m_csqrtl=yes
28685 echo "$as_me: failed program was:" >&5
28686 sed 's
/^
/|
/' conftest.$ac_ext >&5
28688 ac_cv_lib_m_csqrtl=no
28691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28692 conftest$ac_exeext conftest.$ac_ext
28693 LIBS=$ac_check_lib_save_LIBS
28695 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
28696 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6; }
28697 if test $ac_cv_lib_m_csqrtl = yes; then
28699 cat >>confdefs.h <<\_ACEOF
28700 #define HAVE_CSQRTL 1
28705 { echo "$as_me:$LINENO: checking for tanf in -lm" >&5
28706 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6; }
28707 if test "${ac_cv_lib_m_tanf+set}" = set; then
28708 echo $ECHO_N "(cached) $ECHO_C" >&6
28710 ac_check_lib_save_LIBS=$LIBS
28712 if test x$gcc_no_link = xyes; then
28713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28715 { (exit 1); exit 1; }; }
28717 cat >conftest.$ac_ext <<_ACEOF
28720 cat confdefs.h >>conftest.$ac_ext
28721 cat >>conftest.$ac_ext <<_ACEOF
28722 /* end confdefs.h. */
28724 /* Override any GCC internal prototype to avoid an error.
28725 Use char because int might match the return type of a GCC
28726 builtin and then its argument prototype would still apply. */
28739 rm -f conftest.$ac_objext conftest$ac_exeext
28740 if { (ac_try="$ac_link"
28741 case "(($ac_try" in
28742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28743 *) ac_try_echo=$ac_try;;
28745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28746 (eval "$ac_link") 2>conftest.er1
28748 grep -v '^
*+' conftest.er1 >conftest.err
28750 cat conftest.err >&5
28751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28752 (exit $ac_status); } && {
28753 test -z "$ac_c_werror_flag" ||
28754 test ! -s conftest.err
28755 } && test -s conftest$ac_exeext &&
28756 $as_test_x conftest$ac_exeext; then
28757 ac_cv_lib_m_tanf=yes
28759 echo "$as_me: failed program was:" >&5
28760 sed 's
/^
/|
/' conftest.$ac_ext >&5
28762 ac_cv_lib_m_tanf=no
28765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28766 conftest$ac_exeext conftest.$ac_ext
28767 LIBS=$ac_check_lib_save_LIBS
28769 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
28770 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6; }
28771 if test $ac_cv_lib_m_tanf = yes; then
28773 cat >>confdefs.h <<\_ACEOF
28774 #define HAVE_TANF 1
28779 { echo "$as_me:$LINENO: checking for tan in -lm" >&5
28780 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6; }
28781 if test "${ac_cv_lib_m_tan+set}" = set; then
28782 echo $ECHO_N "(cached) $ECHO_C" >&6
28784 ac_check_lib_save_LIBS=$LIBS
28786 if test x$gcc_no_link = xyes; then
28787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28789 { (exit 1); exit 1; }; }
28791 cat >conftest.$ac_ext <<_ACEOF
28794 cat confdefs.h >>conftest.$ac_ext
28795 cat >>conftest.$ac_ext <<_ACEOF
28796 /* end confdefs.h. */
28798 /* Override any GCC internal prototype to avoid an error.
28799 Use char because int might match the return type of a GCC
28800 builtin and then its argument prototype would still apply. */
28813 rm -f conftest.$ac_objext conftest$ac_exeext
28814 if { (ac_try="$ac_link"
28815 case "(($ac_try" in
28816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28817 *) ac_try_echo=$ac_try;;
28819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28820 (eval "$ac_link") 2>conftest.er1
28822 grep -v '^
*+' conftest.er1 >conftest.err
28824 cat conftest.err >&5
28825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28826 (exit $ac_status); } && {
28827 test -z "$ac_c_werror_flag" ||
28828 test ! -s conftest.err
28829 } && test -s conftest$ac_exeext &&
28830 $as_test_x conftest$ac_exeext; then
28831 ac_cv_lib_m_tan=yes
28833 echo "$as_me: failed program was:" >&5
28834 sed 's
/^
/|
/' conftest.$ac_ext >&5
28839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28840 conftest$ac_exeext conftest.$ac_ext
28841 LIBS=$ac_check_lib_save_LIBS
28843 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
28844 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6; }
28845 if test $ac_cv_lib_m_tan = yes; then
28847 cat >>confdefs.h <<\_ACEOF
28853 { echo "$as_me:$LINENO: checking for tanl in -lm" >&5
28854 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6; }
28855 if test "${ac_cv_lib_m_tanl+set}" = set; then
28856 echo $ECHO_N "(cached) $ECHO_C" >&6
28858 ac_check_lib_save_LIBS=$LIBS
28860 if test x$gcc_no_link = xyes; then
28861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28863 { (exit 1); exit 1; }; }
28865 cat >conftest.$ac_ext <<_ACEOF
28868 cat confdefs.h >>conftest.$ac_ext
28869 cat >>conftest.$ac_ext <<_ACEOF
28870 /* end confdefs.h. */
28872 /* Override any GCC internal prototype to avoid an error.
28873 Use char because int might match the return type of a GCC
28874 builtin and then its argument prototype would still apply. */
28887 rm -f conftest.$ac_objext conftest$ac_exeext
28888 if { (ac_try="$ac_link"
28889 case "(($ac_try" in
28890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28891 *) ac_try_echo=$ac_try;;
28893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28894 (eval "$ac_link") 2>conftest.er1
28896 grep -v '^
*+' conftest.er1 >conftest.err
28898 cat conftest.err >&5
28899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28900 (exit $ac_status); } && {
28901 test -z "$ac_c_werror_flag" ||
28902 test ! -s conftest.err
28903 } && test -s conftest$ac_exeext &&
28904 $as_test_x conftest$ac_exeext; then
28905 ac_cv_lib_m_tanl=yes
28907 echo "$as_me: failed program was:" >&5
28908 sed 's
/^
/|
/' conftest.$ac_ext >&5
28910 ac_cv_lib_m_tanl=no
28913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28914 conftest$ac_exeext conftest.$ac_ext
28915 LIBS=$ac_check_lib_save_LIBS
28917 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
28918 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6; }
28919 if test $ac_cv_lib_m_tanl = yes; then
28921 cat >>confdefs.h <<\_ACEOF
28922 #define HAVE_TANL 1
28927 { echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
28928 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6; }
28929 if test "${ac_cv_lib_m_ctanf+set}" = set; then
28930 echo $ECHO_N "(cached) $ECHO_C" >&6
28932 ac_check_lib_save_LIBS=$LIBS
28934 if test x$gcc_no_link = xyes; then
28935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28937 { (exit 1); exit 1; }; }
28939 cat >conftest.$ac_ext <<_ACEOF
28942 cat confdefs.h >>conftest.$ac_ext
28943 cat >>conftest.$ac_ext <<_ACEOF
28944 /* end confdefs.h. */
28946 /* Override any GCC internal prototype to avoid an error.
28947 Use char because int might match the return type of a GCC
28948 builtin and then its argument prototype would still apply. */
28961 rm -f conftest.$ac_objext conftest$ac_exeext
28962 if { (ac_try="$ac_link"
28963 case "(($ac_try" in
28964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28965 *) ac_try_echo=$ac_try;;
28967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28968 (eval "$ac_link") 2>conftest.er1
28970 grep -v '^
*+' conftest.er1 >conftest.err
28972 cat conftest.err >&5
28973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28974 (exit $ac_status); } && {
28975 test -z "$ac_c_werror_flag" ||
28976 test ! -s conftest.err
28977 } && test -s conftest$ac_exeext &&
28978 $as_test_x conftest$ac_exeext; then
28979 ac_cv_lib_m_ctanf=yes
28981 echo "$as_me: failed program was:" >&5
28982 sed 's
/^
/|
/' conftest.$ac_ext >&5
28984 ac_cv_lib_m_ctanf=no
28987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28988 conftest$ac_exeext conftest.$ac_ext
28989 LIBS=$ac_check_lib_save_LIBS
28991 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
28992 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6; }
28993 if test $ac_cv_lib_m_ctanf = yes; then
28995 cat >>confdefs.h <<\_ACEOF
28996 #define HAVE_CTANF 1
29001 { echo "$as_me:$LINENO: checking for ctan in -lm" >&5
29002 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6; }
29003 if test "${ac_cv_lib_m_ctan+set}" = set; then
29004 echo $ECHO_N "(cached) $ECHO_C" >&6
29006 ac_check_lib_save_LIBS=$LIBS
29008 if test x$gcc_no_link = xyes; then
29009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29011 { (exit 1); exit 1; }; }
29013 cat >conftest.$ac_ext <<_ACEOF
29016 cat confdefs.h >>conftest.$ac_ext
29017 cat >>conftest.$ac_ext <<_ACEOF
29018 /* end confdefs.h. */
29020 /* Override any GCC internal prototype to avoid an error.
29021 Use char because int might match the return type of a GCC
29022 builtin and then its argument prototype would still apply. */
29035 rm -f conftest.$ac_objext conftest$ac_exeext
29036 if { (ac_try="$ac_link"
29037 case "(($ac_try" in
29038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29039 *) ac_try_echo=$ac_try;;
29041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29042 (eval "$ac_link") 2>conftest.er1
29044 grep -v '^
*+' conftest.er1 >conftest.err
29046 cat conftest.err >&5
29047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29048 (exit $ac_status); } && {
29049 test -z "$ac_c_werror_flag" ||
29050 test ! -s conftest.err
29051 } && test -s conftest$ac_exeext &&
29052 $as_test_x conftest$ac_exeext; then
29053 ac_cv_lib_m_ctan=yes
29055 echo "$as_me: failed program was:" >&5
29056 sed 's
/^
/|
/' conftest.$ac_ext >&5
29058 ac_cv_lib_m_ctan=no
29061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29062 conftest$ac_exeext conftest.$ac_ext
29063 LIBS=$ac_check_lib_save_LIBS
29065 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
29066 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6; }
29067 if test $ac_cv_lib_m_ctan = yes; then
29069 cat >>confdefs.h <<\_ACEOF
29070 #define HAVE_CTAN 1
29075 { echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
29076 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6; }
29077 if test "${ac_cv_lib_m_ctanl+set}" = set; then
29078 echo $ECHO_N "(cached) $ECHO_C" >&6
29080 ac_check_lib_save_LIBS=$LIBS
29082 if test x$gcc_no_link = xyes; then
29083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29085 { (exit 1); exit 1; }; }
29087 cat >conftest.$ac_ext <<_ACEOF
29090 cat confdefs.h >>conftest.$ac_ext
29091 cat >>conftest.$ac_ext <<_ACEOF
29092 /* end confdefs.h. */
29094 /* Override any GCC internal prototype to avoid an error.
29095 Use char because int might match the return type of a GCC
29096 builtin and then its argument prototype would still apply. */
29109 rm -f conftest.$ac_objext conftest$ac_exeext
29110 if { (ac_try="$ac_link"
29111 case "(($ac_try" in
29112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29113 *) ac_try_echo=$ac_try;;
29115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29116 (eval "$ac_link") 2>conftest.er1
29118 grep -v '^
*+' conftest.er1 >conftest.err
29120 cat conftest.err >&5
29121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29122 (exit $ac_status); } && {
29123 test -z "$ac_c_werror_flag" ||
29124 test ! -s conftest.err
29125 } && test -s conftest$ac_exeext &&
29126 $as_test_x conftest$ac_exeext; then
29127 ac_cv_lib_m_ctanl=yes
29129 echo "$as_me: failed program was:" >&5
29130 sed 's
/^
/|
/' conftest.$ac_ext >&5
29132 ac_cv_lib_m_ctanl=no
29135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29136 conftest$ac_exeext conftest.$ac_ext
29137 LIBS=$ac_check_lib_save_LIBS
29139 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
29140 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6; }
29141 if test $ac_cv_lib_m_ctanl = yes; then
29143 cat >>confdefs.h <<\_ACEOF
29144 #define HAVE_CTANL 1
29149 { echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
29150 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6; }
29151 if test "${ac_cv_lib_m_tanhf+set}" = set; then
29152 echo $ECHO_N "(cached) $ECHO_C" >&6
29154 ac_check_lib_save_LIBS=$LIBS
29156 if test x$gcc_no_link = xyes; then
29157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29159 { (exit 1); exit 1; }; }
29161 cat >conftest.$ac_ext <<_ACEOF
29164 cat confdefs.h >>conftest.$ac_ext
29165 cat >>conftest.$ac_ext <<_ACEOF
29166 /* end confdefs.h. */
29168 /* Override any GCC internal prototype to avoid an error.
29169 Use char because int might match the return type of a GCC
29170 builtin and then its argument prototype would still apply. */
29183 rm -f conftest.$ac_objext conftest$ac_exeext
29184 if { (ac_try="$ac_link"
29185 case "(($ac_try" in
29186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29187 *) ac_try_echo=$ac_try;;
29189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29190 (eval "$ac_link") 2>conftest.er1
29192 grep -v '^
*+' conftest.er1 >conftest.err
29194 cat conftest.err >&5
29195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29196 (exit $ac_status); } && {
29197 test -z "$ac_c_werror_flag" ||
29198 test ! -s conftest.err
29199 } && test -s conftest$ac_exeext &&
29200 $as_test_x conftest$ac_exeext; then
29201 ac_cv_lib_m_tanhf=yes
29203 echo "$as_me: failed program was:" >&5
29204 sed 's
/^
/|
/' conftest.$ac_ext >&5
29206 ac_cv_lib_m_tanhf=no
29209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29210 conftest$ac_exeext conftest.$ac_ext
29211 LIBS=$ac_check_lib_save_LIBS
29213 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
29214 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6; }
29215 if test $ac_cv_lib_m_tanhf = yes; then
29217 cat >>confdefs.h <<\_ACEOF
29218 #define HAVE_TANHF 1
29223 { echo "$as_me:$LINENO: checking for tanh in -lm" >&5
29224 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6; }
29225 if test "${ac_cv_lib_m_tanh+set}" = set; then
29226 echo $ECHO_N "(cached) $ECHO_C" >&6
29228 ac_check_lib_save_LIBS=$LIBS
29230 if test x$gcc_no_link = xyes; then
29231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29233 { (exit 1); exit 1; }; }
29235 cat >conftest.$ac_ext <<_ACEOF
29238 cat confdefs.h >>conftest.$ac_ext
29239 cat >>conftest.$ac_ext <<_ACEOF
29240 /* end confdefs.h. */
29242 /* Override any GCC internal prototype to avoid an error.
29243 Use char because int might match the return type of a GCC
29244 builtin and then its argument prototype would still apply. */
29257 rm -f conftest.$ac_objext conftest$ac_exeext
29258 if { (ac_try="$ac_link"
29259 case "(($ac_try" in
29260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29261 *) ac_try_echo=$ac_try;;
29263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29264 (eval "$ac_link") 2>conftest.er1
29266 grep -v '^
*+' conftest.er1 >conftest.err
29268 cat conftest.err >&5
29269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29270 (exit $ac_status); } && {
29271 test -z "$ac_c_werror_flag" ||
29272 test ! -s conftest.err
29273 } && test -s conftest$ac_exeext &&
29274 $as_test_x conftest$ac_exeext; then
29275 ac_cv_lib_m_tanh=yes
29277 echo "$as_me: failed program was:" >&5
29278 sed 's
/^
/|
/' conftest.$ac_ext >&5
29280 ac_cv_lib_m_tanh=no
29283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29284 conftest$ac_exeext conftest.$ac_ext
29285 LIBS=$ac_check_lib_save_LIBS
29287 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
29288 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6; }
29289 if test $ac_cv_lib_m_tanh = yes; then
29291 cat >>confdefs.h <<\_ACEOF
29292 #define HAVE_TANH 1
29297 { echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
29298 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6; }
29299 if test "${ac_cv_lib_m_tanhl+set}" = set; then
29300 echo $ECHO_N "(cached) $ECHO_C" >&6
29302 ac_check_lib_save_LIBS=$LIBS
29304 if test x$gcc_no_link = xyes; then
29305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29307 { (exit 1); exit 1; }; }
29309 cat >conftest.$ac_ext <<_ACEOF
29312 cat confdefs.h >>conftest.$ac_ext
29313 cat >>conftest.$ac_ext <<_ACEOF
29314 /* end confdefs.h. */
29316 /* Override any GCC internal prototype to avoid an error.
29317 Use char because int might match the return type of a GCC
29318 builtin and then its argument prototype would still apply. */
29331 rm -f conftest.$ac_objext conftest$ac_exeext
29332 if { (ac_try="$ac_link"
29333 case "(($ac_try" in
29334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29335 *) ac_try_echo=$ac_try;;
29337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29338 (eval "$ac_link") 2>conftest.er1
29340 grep -v '^
*+' conftest.er1 >conftest.err
29342 cat conftest.err >&5
29343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29344 (exit $ac_status); } && {
29345 test -z "$ac_c_werror_flag" ||
29346 test ! -s conftest.err
29347 } && test -s conftest$ac_exeext &&
29348 $as_test_x conftest$ac_exeext; then
29349 ac_cv_lib_m_tanhl=yes
29351 echo "$as_me: failed program was:" >&5
29352 sed 's
/^
/|
/' conftest.$ac_ext >&5
29354 ac_cv_lib_m_tanhl=no
29357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29358 conftest$ac_exeext conftest.$ac_ext
29359 LIBS=$ac_check_lib_save_LIBS
29361 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
29362 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6; }
29363 if test $ac_cv_lib_m_tanhl = yes; then
29365 cat >>confdefs.h <<\_ACEOF
29366 #define HAVE_TANHL 1
29371 { echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
29372 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6; }
29373 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
29374 echo $ECHO_N "(cached) $ECHO_C" >&6
29376 ac_check_lib_save_LIBS=$LIBS
29378 if test x$gcc_no_link = xyes; then
29379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29381 { (exit 1); exit 1; }; }
29383 cat >conftest.$ac_ext <<_ACEOF
29386 cat confdefs.h >>conftest.$ac_ext
29387 cat >>conftest.$ac_ext <<_ACEOF
29388 /* end confdefs.h. */
29390 /* Override any GCC internal prototype to avoid an error.
29391 Use char because int might match the return type of a GCC
29392 builtin and then its argument prototype would still apply. */
29405 rm -f conftest.$ac_objext conftest$ac_exeext
29406 if { (ac_try="$ac_link"
29407 case "(($ac_try" in
29408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29409 *) ac_try_echo=$ac_try;;
29411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29412 (eval "$ac_link") 2>conftest.er1
29414 grep -v '^
*+' conftest.er1 >conftest.err
29416 cat conftest.err >&5
29417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29418 (exit $ac_status); } && {
29419 test -z "$ac_c_werror_flag" ||
29420 test ! -s conftest.err
29421 } && test -s conftest$ac_exeext &&
29422 $as_test_x conftest$ac_exeext; then
29423 ac_cv_lib_m_ctanhf=yes
29425 echo "$as_me: failed program was:" >&5
29426 sed 's
/^
/|
/' conftest.$ac_ext >&5
29428 ac_cv_lib_m_ctanhf=no
29431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29432 conftest$ac_exeext conftest.$ac_ext
29433 LIBS=$ac_check_lib_save_LIBS
29435 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
29436 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6; }
29437 if test $ac_cv_lib_m_ctanhf = yes; then
29439 cat >>confdefs.h <<\_ACEOF
29440 #define HAVE_CTANHF 1
29445 { echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
29446 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6; }
29447 if test "${ac_cv_lib_m_ctanh+set}" = set; then
29448 echo $ECHO_N "(cached) $ECHO_C" >&6
29450 ac_check_lib_save_LIBS=$LIBS
29452 if test x$gcc_no_link = xyes; then
29453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29455 { (exit 1); exit 1; }; }
29457 cat >conftest.$ac_ext <<_ACEOF
29460 cat confdefs.h >>conftest.$ac_ext
29461 cat >>conftest.$ac_ext <<_ACEOF
29462 /* end confdefs.h. */
29464 /* Override any GCC internal prototype to avoid an error.
29465 Use char because int might match the return type of a GCC
29466 builtin and then its argument prototype would still apply. */
29479 rm -f conftest.$ac_objext conftest$ac_exeext
29480 if { (ac_try="$ac_link"
29481 case "(($ac_try" in
29482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29483 *) ac_try_echo=$ac_try;;
29485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29486 (eval "$ac_link") 2>conftest.er1
29488 grep -v '^
*+' conftest.er1 >conftest.err
29490 cat conftest.err >&5
29491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29492 (exit $ac_status); } && {
29493 test -z "$ac_c_werror_flag" ||
29494 test ! -s conftest.err
29495 } && test -s conftest$ac_exeext &&
29496 $as_test_x conftest$ac_exeext; then
29497 ac_cv_lib_m_ctanh=yes
29499 echo "$as_me: failed program was:" >&5
29500 sed 's
/^
/|
/' conftest.$ac_ext >&5
29502 ac_cv_lib_m_ctanh=no
29505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29506 conftest$ac_exeext conftest.$ac_ext
29507 LIBS=$ac_check_lib_save_LIBS
29509 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
29510 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6; }
29511 if test $ac_cv_lib_m_ctanh = yes; then
29513 cat >>confdefs.h <<\_ACEOF
29514 #define HAVE_CTANH 1
29519 { echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
29520 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6; }
29521 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
29522 echo $ECHO_N "(cached) $ECHO_C" >&6
29524 ac_check_lib_save_LIBS=$LIBS
29526 if test x$gcc_no_link = xyes; then
29527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29529 { (exit 1); exit 1; }; }
29531 cat >conftest.$ac_ext <<_ACEOF
29534 cat confdefs.h >>conftest.$ac_ext
29535 cat >>conftest.$ac_ext <<_ACEOF
29536 /* end confdefs.h. */
29538 /* Override any GCC internal prototype to avoid an error.
29539 Use char because int might match the return type of a GCC
29540 builtin and then its argument prototype would still apply. */
29553 rm -f conftest.$ac_objext conftest$ac_exeext
29554 if { (ac_try="$ac_link"
29555 case "(($ac_try" in
29556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29557 *) ac_try_echo=$ac_try;;
29559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29560 (eval "$ac_link") 2>conftest.er1
29562 grep -v '^
*+' conftest.er1 >conftest.err
29564 cat conftest.err >&5
29565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29566 (exit $ac_status); } && {
29567 test -z "$ac_c_werror_flag" ||
29568 test ! -s conftest.err
29569 } && test -s conftest$ac_exeext &&
29570 $as_test_x conftest$ac_exeext; then
29571 ac_cv_lib_m_ctanhl=yes
29573 echo "$as_me: failed program was:" >&5
29574 sed 's
/^
/|
/' conftest.$ac_ext >&5
29576 ac_cv_lib_m_ctanhl=no
29579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29580 conftest$ac_exeext conftest.$ac_ext
29581 LIBS=$ac_check_lib_save_LIBS
29583 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
29584 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6; }
29585 if test $ac_cv_lib_m_ctanhl = yes; then
29587 cat >>confdefs.h <<\_ACEOF
29588 #define HAVE_CTANHL 1
29593 { echo "$as_me:$LINENO: checking for truncf in -lm" >&5
29594 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6; }
29595 if test "${ac_cv_lib_m_truncf+set}" = set; then
29596 echo $ECHO_N "(cached) $ECHO_C" >&6
29598 ac_check_lib_save_LIBS=$LIBS
29600 if test x$gcc_no_link = xyes; then
29601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29603 { (exit 1); exit 1; }; }
29605 cat >conftest.$ac_ext <<_ACEOF
29608 cat confdefs.h >>conftest.$ac_ext
29609 cat >>conftest.$ac_ext <<_ACEOF
29610 /* end confdefs.h. */
29612 /* Override any GCC internal prototype to avoid an error.
29613 Use char because int might match the return type of a GCC
29614 builtin and then its argument prototype would still apply. */
29627 rm -f conftest.$ac_objext conftest$ac_exeext
29628 if { (ac_try="$ac_link"
29629 case "(($ac_try" in
29630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29631 *) ac_try_echo=$ac_try;;
29633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29634 (eval "$ac_link") 2>conftest.er1
29636 grep -v '^
*+' conftest.er1 >conftest.err
29638 cat conftest.err >&5
29639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29640 (exit $ac_status); } && {
29641 test -z "$ac_c_werror_flag" ||
29642 test ! -s conftest.err
29643 } && test -s conftest$ac_exeext &&
29644 $as_test_x conftest$ac_exeext; then
29645 ac_cv_lib_m_truncf=yes
29647 echo "$as_me: failed program was:" >&5
29648 sed 's
/^
/|
/' conftest.$ac_ext >&5
29650 ac_cv_lib_m_truncf=no
29653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29654 conftest$ac_exeext conftest.$ac_ext
29655 LIBS=$ac_check_lib_save_LIBS
29657 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
29658 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6; }
29659 if test $ac_cv_lib_m_truncf = yes; then
29661 cat >>confdefs.h <<\_ACEOF
29662 #define HAVE_TRUNCF 1
29667 { echo "$as_me:$LINENO: checking for trunc in -lm" >&5
29668 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6; }
29669 if test "${ac_cv_lib_m_trunc+set}" = set; then
29670 echo $ECHO_N "(cached) $ECHO_C" >&6
29672 ac_check_lib_save_LIBS=$LIBS
29674 if test x$gcc_no_link = xyes; then
29675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29677 { (exit 1); exit 1; }; }
29679 cat >conftest.$ac_ext <<_ACEOF
29682 cat confdefs.h >>conftest.$ac_ext
29683 cat >>conftest.$ac_ext <<_ACEOF
29684 /* end confdefs.h. */
29686 /* Override any GCC internal prototype to avoid an error.
29687 Use char because int might match the return type of a GCC
29688 builtin and then its argument prototype would still apply. */
29701 rm -f conftest.$ac_objext conftest$ac_exeext
29702 if { (ac_try="$ac_link"
29703 case "(($ac_try" in
29704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29705 *) ac_try_echo=$ac_try;;
29707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29708 (eval "$ac_link") 2>conftest.er1
29710 grep -v '^
*+' conftest.er1 >conftest.err
29712 cat conftest.err >&5
29713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29714 (exit $ac_status); } && {
29715 test -z "$ac_c_werror_flag" ||
29716 test ! -s conftest.err
29717 } && test -s conftest$ac_exeext &&
29718 $as_test_x conftest$ac_exeext; then
29719 ac_cv_lib_m_trunc=yes
29721 echo "$as_me: failed program was:" >&5
29722 sed 's
/^
/|
/' conftest.$ac_ext >&5
29724 ac_cv_lib_m_trunc=no
29727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29728 conftest$ac_exeext conftest.$ac_ext
29729 LIBS=$ac_check_lib_save_LIBS
29731 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
29732 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6; }
29733 if test $ac_cv_lib_m_trunc = yes; then
29735 cat >>confdefs.h <<\_ACEOF
29736 #define HAVE_TRUNC 1
29741 { echo "$as_me:$LINENO: checking for truncl in -lm" >&5
29742 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6; }
29743 if test "${ac_cv_lib_m_truncl+set}" = set; then
29744 echo $ECHO_N "(cached) $ECHO_C" >&6
29746 ac_check_lib_save_LIBS=$LIBS
29748 if test x$gcc_no_link = xyes; then
29749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29751 { (exit 1); exit 1; }; }
29753 cat >conftest.$ac_ext <<_ACEOF
29756 cat confdefs.h >>conftest.$ac_ext
29757 cat >>conftest.$ac_ext <<_ACEOF
29758 /* end confdefs.h. */
29760 /* Override any GCC internal prototype to avoid an error.
29761 Use char because int might match the return type of a GCC
29762 builtin and then its argument prototype would still apply. */
29775 rm -f conftest.$ac_objext conftest$ac_exeext
29776 if { (ac_try="$ac_link"
29777 case "(($ac_try" in
29778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29779 *) ac_try_echo=$ac_try;;
29781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29782 (eval "$ac_link") 2>conftest.er1
29784 grep -v '^
*+' conftest.er1 >conftest.err
29786 cat conftest.err >&5
29787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29788 (exit $ac_status); } && {
29789 test -z "$ac_c_werror_flag" ||
29790 test ! -s conftest.err
29791 } && test -s conftest$ac_exeext &&
29792 $as_test_x conftest$ac_exeext; then
29793 ac_cv_lib_m_truncl=yes
29795 echo "$as_me: failed program was:" >&5
29796 sed 's
/^
/|
/' conftest.$ac_ext >&5
29798 ac_cv_lib_m_truncl=no
29801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29802 conftest$ac_exeext conftest.$ac_ext
29803 LIBS=$ac_check_lib_save_LIBS
29805 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
29806 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6; }
29807 if test $ac_cv_lib_m_truncl = yes; then
29809 cat >>confdefs.h <<\_ACEOF
29810 #define HAVE_TRUNCL 1
29815 { echo "$as_me:$LINENO: checking for erff in -lm" >&5
29816 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6; }
29817 if test "${ac_cv_lib_m_erff+set}" = set; then
29818 echo $ECHO_N "(cached) $ECHO_C" >&6
29820 ac_check_lib_save_LIBS=$LIBS
29822 if test x$gcc_no_link = xyes; then
29823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29825 { (exit 1); exit 1; }; }
29827 cat >conftest.$ac_ext <<_ACEOF
29830 cat confdefs.h >>conftest.$ac_ext
29831 cat >>conftest.$ac_ext <<_ACEOF
29832 /* end confdefs.h. */
29834 /* Override any GCC internal prototype to avoid an error.
29835 Use char because int might match the return type of a GCC
29836 builtin and then its argument prototype would still apply. */
29849 rm -f conftest.$ac_objext conftest$ac_exeext
29850 if { (ac_try="$ac_link"
29851 case "(($ac_try" in
29852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29853 *) ac_try_echo=$ac_try;;
29855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29856 (eval "$ac_link") 2>conftest.er1
29858 grep -v '^
*+' conftest.er1 >conftest.err
29860 cat conftest.err >&5
29861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29862 (exit $ac_status); } && {
29863 test -z "$ac_c_werror_flag" ||
29864 test ! -s conftest.err
29865 } && test -s conftest$ac_exeext &&
29866 $as_test_x conftest$ac_exeext; then
29867 ac_cv_lib_m_erff=yes
29869 echo "$as_me: failed program was:" >&5
29870 sed 's
/^
/|
/' conftest.$ac_ext >&5
29872 ac_cv_lib_m_erff=no
29875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29876 conftest$ac_exeext conftest.$ac_ext
29877 LIBS=$ac_check_lib_save_LIBS
29879 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
29880 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6; }
29881 if test $ac_cv_lib_m_erff = yes; then
29883 cat >>confdefs.h <<\_ACEOF
29884 #define HAVE_ERFF 1
29889 { echo "$as_me:$LINENO: checking for erf in -lm" >&5
29890 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6; }
29891 if test "${ac_cv_lib_m_erf+set}" = set; then
29892 echo $ECHO_N "(cached) $ECHO_C" >&6
29894 ac_check_lib_save_LIBS=$LIBS
29896 if test x$gcc_no_link = xyes; then
29897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29899 { (exit 1); exit 1; }; }
29901 cat >conftest.$ac_ext <<_ACEOF
29904 cat confdefs.h >>conftest.$ac_ext
29905 cat >>conftest.$ac_ext <<_ACEOF
29906 /* end confdefs.h. */
29908 /* Override any GCC internal prototype to avoid an error.
29909 Use char because int might match the return type of a GCC
29910 builtin and then its argument prototype would still apply. */
29923 rm -f conftest.$ac_objext conftest$ac_exeext
29924 if { (ac_try="$ac_link"
29925 case "(($ac_try" in
29926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29927 *) ac_try_echo=$ac_try;;
29929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29930 (eval "$ac_link") 2>conftest.er1
29932 grep -v '^
*+' conftest.er1 >conftest.err
29934 cat conftest.err >&5
29935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29936 (exit $ac_status); } && {
29937 test -z "$ac_c_werror_flag" ||
29938 test ! -s conftest.err
29939 } && test -s conftest$ac_exeext &&
29940 $as_test_x conftest$ac_exeext; then
29941 ac_cv_lib_m_erf=yes
29943 echo "$as_me: failed program was:" >&5
29944 sed 's
/^
/|
/' conftest.$ac_ext >&5
29949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29950 conftest$ac_exeext conftest.$ac_ext
29951 LIBS=$ac_check_lib_save_LIBS
29953 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
29954 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6; }
29955 if test $ac_cv_lib_m_erf = yes; then
29957 cat >>confdefs.h <<\_ACEOF
29963 { echo "$as_me:$LINENO: checking for erfl in -lm" >&5
29964 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6; }
29965 if test "${ac_cv_lib_m_erfl+set}" = set; then
29966 echo $ECHO_N "(cached) $ECHO_C" >&6
29968 ac_check_lib_save_LIBS=$LIBS
29970 if test x$gcc_no_link = xyes; then
29971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29973 { (exit 1); exit 1; }; }
29975 cat >conftest.$ac_ext <<_ACEOF
29978 cat confdefs.h >>conftest.$ac_ext
29979 cat >>conftest.$ac_ext <<_ACEOF
29980 /* end confdefs.h. */
29982 /* Override any GCC internal prototype to avoid an error.
29983 Use char because int might match the return type of a GCC
29984 builtin and then its argument prototype would still apply. */
29997 rm -f conftest.$ac_objext conftest$ac_exeext
29998 if { (ac_try="$ac_link"
29999 case "(($ac_try" in
30000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30001 *) ac_try_echo=$ac_try;;
30003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30004 (eval "$ac_link") 2>conftest.er1
30006 grep -v '^
*+' conftest.er1 >conftest.err
30008 cat conftest.err >&5
30009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30010 (exit $ac_status); } && {
30011 test -z "$ac_c_werror_flag" ||
30012 test ! -s conftest.err
30013 } && test -s conftest$ac_exeext &&
30014 $as_test_x conftest$ac_exeext; then
30015 ac_cv_lib_m_erfl=yes
30017 echo "$as_me: failed program was:" >&5
30018 sed 's
/^
/|
/' conftest.$ac_ext >&5
30020 ac_cv_lib_m_erfl=no
30023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30024 conftest$ac_exeext conftest.$ac_ext
30025 LIBS=$ac_check_lib_save_LIBS
30027 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
30028 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6; }
30029 if test $ac_cv_lib_m_erfl = yes; then
30031 cat >>confdefs.h <<\_ACEOF
30032 #define HAVE_ERFL 1
30037 { echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
30038 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6; }
30039 if test "${ac_cv_lib_m_erfcf+set}" = set; then
30040 echo $ECHO_N "(cached) $ECHO_C" >&6
30042 ac_check_lib_save_LIBS=$LIBS
30044 if test x$gcc_no_link = xyes; then
30045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30047 { (exit 1); exit 1; }; }
30049 cat >conftest.$ac_ext <<_ACEOF
30052 cat confdefs.h >>conftest.$ac_ext
30053 cat >>conftest.$ac_ext <<_ACEOF
30054 /* end confdefs.h. */
30056 /* Override any GCC internal prototype to avoid an error.
30057 Use char because int might match the return type of a GCC
30058 builtin and then its argument prototype would still apply. */
30071 rm -f conftest.$ac_objext conftest$ac_exeext
30072 if { (ac_try="$ac_link"
30073 case "(($ac_try" in
30074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30075 *) ac_try_echo=$ac_try;;
30077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30078 (eval "$ac_link") 2>conftest.er1
30080 grep -v '^
*+' conftest.er1 >conftest.err
30082 cat conftest.err >&5
30083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30084 (exit $ac_status); } && {
30085 test -z "$ac_c_werror_flag" ||
30086 test ! -s conftest.err
30087 } && test -s conftest$ac_exeext &&
30088 $as_test_x conftest$ac_exeext; then
30089 ac_cv_lib_m_erfcf=yes
30091 echo "$as_me: failed program was:" >&5
30092 sed 's
/^
/|
/' conftest.$ac_ext >&5
30094 ac_cv_lib_m_erfcf=no
30097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30098 conftest$ac_exeext conftest.$ac_ext
30099 LIBS=$ac_check_lib_save_LIBS
30101 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
30102 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6; }
30103 if test $ac_cv_lib_m_erfcf = yes; then
30105 cat >>confdefs.h <<\_ACEOF
30106 #define HAVE_ERFCF 1
30111 { echo "$as_me:$LINENO: checking for erfc in -lm" >&5
30112 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6; }
30113 if test "${ac_cv_lib_m_erfc+set}" = set; then
30114 echo $ECHO_N "(cached) $ECHO_C" >&6
30116 ac_check_lib_save_LIBS=$LIBS
30118 if test x$gcc_no_link = xyes; then
30119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30121 { (exit 1); exit 1; }; }
30123 cat >conftest.$ac_ext <<_ACEOF
30126 cat confdefs.h >>conftest.$ac_ext
30127 cat >>conftest.$ac_ext <<_ACEOF
30128 /* end confdefs.h. */
30130 /* Override any GCC internal prototype to avoid an error.
30131 Use char because int might match the return type of a GCC
30132 builtin and then its argument prototype would still apply. */
30145 rm -f conftest.$ac_objext conftest$ac_exeext
30146 if { (ac_try="$ac_link"
30147 case "(($ac_try" in
30148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30149 *) ac_try_echo=$ac_try;;
30151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30152 (eval "$ac_link") 2>conftest.er1
30154 grep -v '^
*+' conftest.er1 >conftest.err
30156 cat conftest.err >&5
30157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30158 (exit $ac_status); } && {
30159 test -z "$ac_c_werror_flag" ||
30160 test ! -s conftest.err
30161 } && test -s conftest$ac_exeext &&
30162 $as_test_x conftest$ac_exeext; then
30163 ac_cv_lib_m_erfc=yes
30165 echo "$as_me: failed program was:" >&5
30166 sed 's
/^
/|
/' conftest.$ac_ext >&5
30168 ac_cv_lib_m_erfc=no
30171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30172 conftest$ac_exeext conftest.$ac_ext
30173 LIBS=$ac_check_lib_save_LIBS
30175 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
30176 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6; }
30177 if test $ac_cv_lib_m_erfc = yes; then
30179 cat >>confdefs.h <<\_ACEOF
30180 #define HAVE_ERFC 1
30185 { echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
30186 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6; }
30187 if test "${ac_cv_lib_m_erfcl+set}" = set; then
30188 echo $ECHO_N "(cached) $ECHO_C" >&6
30190 ac_check_lib_save_LIBS=$LIBS
30192 if test x$gcc_no_link = xyes; then
30193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30195 { (exit 1); exit 1; }; }
30197 cat >conftest.$ac_ext <<_ACEOF
30200 cat confdefs.h >>conftest.$ac_ext
30201 cat >>conftest.$ac_ext <<_ACEOF
30202 /* end confdefs.h. */
30204 /* Override any GCC internal prototype to avoid an error.
30205 Use char because int might match the return type of a GCC
30206 builtin and then its argument prototype would still apply. */
30219 rm -f conftest.$ac_objext conftest$ac_exeext
30220 if { (ac_try="$ac_link"
30221 case "(($ac_try" in
30222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30223 *) ac_try_echo=$ac_try;;
30225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30226 (eval "$ac_link") 2>conftest.er1
30228 grep -v '^
*+' conftest.er1 >conftest.err
30230 cat conftest.err >&5
30231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30232 (exit $ac_status); } && {
30233 test -z "$ac_c_werror_flag" ||
30234 test ! -s conftest.err
30235 } && test -s conftest$ac_exeext &&
30236 $as_test_x conftest$ac_exeext; then
30237 ac_cv_lib_m_erfcl=yes
30239 echo "$as_me: failed program was:" >&5
30240 sed 's
/^
/|
/' conftest.$ac_ext >&5
30242 ac_cv_lib_m_erfcl=no
30245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30246 conftest$ac_exeext conftest.$ac_ext
30247 LIBS=$ac_check_lib_save_LIBS
30249 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
30250 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6; }
30251 if test $ac_cv_lib_m_erfcl = yes; then
30253 cat >>confdefs.h <<\_ACEOF
30254 #define HAVE_ERFCL 1
30259 { echo "$as_me:$LINENO: checking for j0f in -lm" >&5
30260 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6; }
30261 if test "${ac_cv_lib_m_j0f+set}" = set; then
30262 echo $ECHO_N "(cached) $ECHO_C" >&6
30264 ac_check_lib_save_LIBS=$LIBS
30266 if test x$gcc_no_link = xyes; then
30267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30269 { (exit 1); exit 1; }; }
30271 cat >conftest.$ac_ext <<_ACEOF
30274 cat confdefs.h >>conftest.$ac_ext
30275 cat >>conftest.$ac_ext <<_ACEOF
30276 /* end confdefs.h. */
30278 /* Override any GCC internal prototype to avoid an error.
30279 Use char because int might match the return type of a GCC
30280 builtin and then its argument prototype would still apply. */
30293 rm -f conftest.$ac_objext conftest$ac_exeext
30294 if { (ac_try="$ac_link"
30295 case "(($ac_try" in
30296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30297 *) ac_try_echo=$ac_try;;
30299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30300 (eval "$ac_link") 2>conftest.er1
30302 grep -v '^
*+' conftest.er1 >conftest.err
30304 cat conftest.err >&5
30305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30306 (exit $ac_status); } && {
30307 test -z "$ac_c_werror_flag" ||
30308 test ! -s conftest.err
30309 } && test -s conftest$ac_exeext &&
30310 $as_test_x conftest$ac_exeext; then
30311 ac_cv_lib_m_j0f=yes
30313 echo "$as_me: failed program was:" >&5
30314 sed 's
/^
/|
/' conftest.$ac_ext >&5
30319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30320 conftest$ac_exeext conftest.$ac_ext
30321 LIBS=$ac_check_lib_save_LIBS
30323 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
30324 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6; }
30325 if test $ac_cv_lib_m_j0f = yes; then
30327 cat >>confdefs.h <<\_ACEOF
30333 { echo "$as_me:$LINENO: checking for j0 in -lm" >&5
30334 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6; }
30335 if test "${ac_cv_lib_m_j0+set}" = set; then
30336 echo $ECHO_N "(cached) $ECHO_C" >&6
30338 ac_check_lib_save_LIBS=$LIBS
30340 if test x$gcc_no_link = xyes; then
30341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30343 { (exit 1); exit 1; }; }
30345 cat >conftest.$ac_ext <<_ACEOF
30348 cat confdefs.h >>conftest.$ac_ext
30349 cat >>conftest.$ac_ext <<_ACEOF
30350 /* end confdefs.h. */
30352 /* Override any GCC internal prototype to avoid an error.
30353 Use char because int might match the return type of a GCC
30354 builtin and then its argument prototype would still apply. */
30367 rm -f conftest.$ac_objext conftest$ac_exeext
30368 if { (ac_try="$ac_link"
30369 case "(($ac_try" in
30370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30371 *) ac_try_echo=$ac_try;;
30373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30374 (eval "$ac_link") 2>conftest.er1
30376 grep -v '^
*+' conftest.er1 >conftest.err
30378 cat conftest.err >&5
30379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30380 (exit $ac_status); } && {
30381 test -z "$ac_c_werror_flag" ||
30382 test ! -s conftest.err
30383 } && test -s conftest$ac_exeext &&
30384 $as_test_x conftest$ac_exeext; then
30387 echo "$as_me: failed program was:" >&5
30388 sed 's
/^
/|
/' conftest.$ac_ext >&5
30393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30394 conftest$ac_exeext conftest.$ac_ext
30395 LIBS=$ac_check_lib_save_LIBS
30397 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
30398 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6; }
30399 if test $ac_cv_lib_m_j0 = yes; then
30401 cat >>confdefs.h <<\_ACEOF
30407 { echo "$as_me:$LINENO: checking for j0l in -lm" >&5
30408 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6; }
30409 if test "${ac_cv_lib_m_j0l+set}" = set; then
30410 echo $ECHO_N "(cached) $ECHO_C" >&6
30412 ac_check_lib_save_LIBS=$LIBS
30414 if test x$gcc_no_link = xyes; then
30415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30417 { (exit 1); exit 1; }; }
30419 cat >conftest.$ac_ext <<_ACEOF
30422 cat confdefs.h >>conftest.$ac_ext
30423 cat >>conftest.$ac_ext <<_ACEOF
30424 /* end confdefs.h. */
30426 /* Override any GCC internal prototype to avoid an error.
30427 Use char because int might match the return type of a GCC
30428 builtin and then its argument prototype would still apply. */
30441 rm -f conftest.$ac_objext conftest$ac_exeext
30442 if { (ac_try="$ac_link"
30443 case "(($ac_try" in
30444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30445 *) ac_try_echo=$ac_try;;
30447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30448 (eval "$ac_link") 2>conftest.er1
30450 grep -v '^
*+' conftest.er1 >conftest.err
30452 cat conftest.err >&5
30453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30454 (exit $ac_status); } && {
30455 test -z "$ac_c_werror_flag" ||
30456 test ! -s conftest.err
30457 } && test -s conftest$ac_exeext &&
30458 $as_test_x conftest$ac_exeext; then
30459 ac_cv_lib_m_j0l=yes
30461 echo "$as_me: failed program was:" >&5
30462 sed 's
/^
/|
/' conftest.$ac_ext >&5
30467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30468 conftest$ac_exeext conftest.$ac_ext
30469 LIBS=$ac_check_lib_save_LIBS
30471 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
30472 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6; }
30473 if test $ac_cv_lib_m_j0l = yes; then
30475 cat >>confdefs.h <<\_ACEOF
30481 { echo "$as_me:$LINENO: checking for j1f in -lm" >&5
30482 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6; }
30483 if test "${ac_cv_lib_m_j1f+set}" = set; then
30484 echo $ECHO_N "(cached) $ECHO_C" >&6
30486 ac_check_lib_save_LIBS=$LIBS
30488 if test x$gcc_no_link = xyes; then
30489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30491 { (exit 1); exit 1; }; }
30493 cat >conftest.$ac_ext <<_ACEOF
30496 cat confdefs.h >>conftest.$ac_ext
30497 cat >>conftest.$ac_ext <<_ACEOF
30498 /* end confdefs.h. */
30500 /* Override any GCC internal prototype to avoid an error.
30501 Use char because int might match the return type of a GCC
30502 builtin and then its argument prototype would still apply. */
30515 rm -f conftest.$ac_objext conftest$ac_exeext
30516 if { (ac_try="$ac_link"
30517 case "(($ac_try" in
30518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30519 *) ac_try_echo=$ac_try;;
30521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30522 (eval "$ac_link") 2>conftest.er1
30524 grep -v '^
*+' conftest.er1 >conftest.err
30526 cat conftest.err >&5
30527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30528 (exit $ac_status); } && {
30529 test -z "$ac_c_werror_flag" ||
30530 test ! -s conftest.err
30531 } && test -s conftest$ac_exeext &&
30532 $as_test_x conftest$ac_exeext; then
30533 ac_cv_lib_m_j1f=yes
30535 echo "$as_me: failed program was:" >&5
30536 sed 's
/^
/|
/' conftest.$ac_ext >&5
30541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30542 conftest$ac_exeext conftest.$ac_ext
30543 LIBS=$ac_check_lib_save_LIBS
30545 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
30546 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6; }
30547 if test $ac_cv_lib_m_j1f = yes; then
30549 cat >>confdefs.h <<\_ACEOF
30555 { echo "$as_me:$LINENO: checking for j1 in -lm" >&5
30556 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6; }
30557 if test "${ac_cv_lib_m_j1+set}" = set; then
30558 echo $ECHO_N "(cached) $ECHO_C" >&6
30560 ac_check_lib_save_LIBS=$LIBS
30562 if test x$gcc_no_link = xyes; then
30563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30565 { (exit 1); exit 1; }; }
30567 cat >conftest.$ac_ext <<_ACEOF
30570 cat confdefs.h >>conftest.$ac_ext
30571 cat >>conftest.$ac_ext <<_ACEOF
30572 /* end confdefs.h. */
30574 /* Override any GCC internal prototype to avoid an error.
30575 Use char because int might match the return type of a GCC
30576 builtin and then its argument prototype would still apply. */
30589 rm -f conftest.$ac_objext conftest$ac_exeext
30590 if { (ac_try="$ac_link"
30591 case "(($ac_try" in
30592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30593 *) ac_try_echo=$ac_try;;
30595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30596 (eval "$ac_link") 2>conftest.er1
30598 grep -v '^
*+' conftest.er1 >conftest.err
30600 cat conftest.err >&5
30601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30602 (exit $ac_status); } && {
30603 test -z "$ac_c_werror_flag" ||
30604 test ! -s conftest.err
30605 } && test -s conftest$ac_exeext &&
30606 $as_test_x conftest$ac_exeext; then
30609 echo "$as_me: failed program was:" >&5
30610 sed 's
/^
/|
/' conftest.$ac_ext >&5
30615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30616 conftest$ac_exeext conftest.$ac_ext
30617 LIBS=$ac_check_lib_save_LIBS
30619 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
30620 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6; }
30621 if test $ac_cv_lib_m_j1 = yes; then
30623 cat >>confdefs.h <<\_ACEOF
30629 { echo "$as_me:$LINENO: checking for j1l in -lm" >&5
30630 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6; }
30631 if test "${ac_cv_lib_m_j1l+set}" = set; then
30632 echo $ECHO_N "(cached) $ECHO_C" >&6
30634 ac_check_lib_save_LIBS=$LIBS
30636 if test x$gcc_no_link = xyes; then
30637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30639 { (exit 1); exit 1; }; }
30641 cat >conftest.$ac_ext <<_ACEOF
30644 cat confdefs.h >>conftest.$ac_ext
30645 cat >>conftest.$ac_ext <<_ACEOF
30646 /* end confdefs.h. */
30648 /* Override any GCC internal prototype to avoid an error.
30649 Use char because int might match the return type of a GCC
30650 builtin and then its argument prototype would still apply. */
30663 rm -f conftest.$ac_objext conftest$ac_exeext
30664 if { (ac_try="$ac_link"
30665 case "(($ac_try" in
30666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30667 *) ac_try_echo=$ac_try;;
30669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30670 (eval "$ac_link") 2>conftest.er1
30672 grep -v '^
*+' conftest.er1 >conftest.err
30674 cat conftest.err >&5
30675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30676 (exit $ac_status); } && {
30677 test -z "$ac_c_werror_flag" ||
30678 test ! -s conftest.err
30679 } && test -s conftest$ac_exeext &&
30680 $as_test_x conftest$ac_exeext; then
30681 ac_cv_lib_m_j1l=yes
30683 echo "$as_me: failed program was:" >&5
30684 sed 's
/^
/|
/' conftest.$ac_ext >&5
30689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30690 conftest$ac_exeext conftest.$ac_ext
30691 LIBS=$ac_check_lib_save_LIBS
30693 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
30694 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6; }
30695 if test $ac_cv_lib_m_j1l = yes; then
30697 cat >>confdefs.h <<\_ACEOF
30703 { echo "$as_me:$LINENO: checking for jnf in -lm" >&5
30704 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6; }
30705 if test "${ac_cv_lib_m_jnf+set}" = set; then
30706 echo $ECHO_N "(cached) $ECHO_C" >&6
30708 ac_check_lib_save_LIBS=$LIBS
30710 if test x$gcc_no_link = xyes; then
30711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30713 { (exit 1); exit 1; }; }
30715 cat >conftest.$ac_ext <<_ACEOF
30718 cat confdefs.h >>conftest.$ac_ext
30719 cat >>conftest.$ac_ext <<_ACEOF
30720 /* end confdefs.h. */
30722 /* Override any GCC internal prototype to avoid an error.
30723 Use char because int might match the return type of a GCC
30724 builtin and then its argument prototype would still apply. */
30737 rm -f conftest.$ac_objext conftest$ac_exeext
30738 if { (ac_try="$ac_link"
30739 case "(($ac_try" in
30740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30741 *) ac_try_echo=$ac_try;;
30743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30744 (eval "$ac_link") 2>conftest.er1
30746 grep -v '^
*+' conftest.er1 >conftest.err
30748 cat conftest.err >&5
30749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30750 (exit $ac_status); } && {
30751 test -z "$ac_c_werror_flag" ||
30752 test ! -s conftest.err
30753 } && test -s conftest$ac_exeext &&
30754 $as_test_x conftest$ac_exeext; then
30755 ac_cv_lib_m_jnf=yes
30757 echo "$as_me: failed program was:" >&5
30758 sed 's
/^
/|
/' conftest.$ac_ext >&5
30763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30764 conftest$ac_exeext conftest.$ac_ext
30765 LIBS=$ac_check_lib_save_LIBS
30767 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
30768 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6; }
30769 if test $ac_cv_lib_m_jnf = yes; then
30771 cat >>confdefs.h <<\_ACEOF
30777 { echo "$as_me:$LINENO: checking for jn in -lm" >&5
30778 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6; }
30779 if test "${ac_cv_lib_m_jn+set}" = set; then
30780 echo $ECHO_N "(cached) $ECHO_C" >&6
30782 ac_check_lib_save_LIBS=$LIBS
30784 if test x$gcc_no_link = xyes; then
30785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30787 { (exit 1); exit 1; }; }
30789 cat >conftest.$ac_ext <<_ACEOF
30792 cat confdefs.h >>conftest.$ac_ext
30793 cat >>conftest.$ac_ext <<_ACEOF
30794 /* end confdefs.h. */
30796 /* Override any GCC internal prototype to avoid an error.
30797 Use char because int might match the return type of a GCC
30798 builtin and then its argument prototype would still apply. */
30811 rm -f conftest.$ac_objext conftest$ac_exeext
30812 if { (ac_try="$ac_link"
30813 case "(($ac_try" in
30814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30815 *) ac_try_echo=$ac_try;;
30817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30818 (eval "$ac_link") 2>conftest.er1
30820 grep -v '^
*+' conftest.er1 >conftest.err
30822 cat conftest.err >&5
30823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30824 (exit $ac_status); } && {
30825 test -z "$ac_c_werror_flag" ||
30826 test ! -s conftest.err
30827 } && test -s conftest$ac_exeext &&
30828 $as_test_x conftest$ac_exeext; then
30831 echo "$as_me: failed program was:" >&5
30832 sed 's
/^
/|
/' conftest.$ac_ext >&5
30837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30838 conftest$ac_exeext conftest.$ac_ext
30839 LIBS=$ac_check_lib_save_LIBS
30841 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
30842 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6; }
30843 if test $ac_cv_lib_m_jn = yes; then
30845 cat >>confdefs.h <<\_ACEOF
30851 { echo "$as_me:$LINENO: checking for jnl in -lm" >&5
30852 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6; }
30853 if test "${ac_cv_lib_m_jnl+set}" = set; then
30854 echo $ECHO_N "(cached) $ECHO_C" >&6
30856 ac_check_lib_save_LIBS=$LIBS
30858 if test x$gcc_no_link = xyes; then
30859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30861 { (exit 1); exit 1; }; }
30863 cat >conftest.$ac_ext <<_ACEOF
30866 cat confdefs.h >>conftest.$ac_ext
30867 cat >>conftest.$ac_ext <<_ACEOF
30868 /* end confdefs.h. */
30870 /* Override any GCC internal prototype to avoid an error.
30871 Use char because int might match the return type of a GCC
30872 builtin and then its argument prototype would still apply. */
30885 rm -f conftest.$ac_objext conftest$ac_exeext
30886 if { (ac_try="$ac_link"
30887 case "(($ac_try" in
30888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30889 *) ac_try_echo=$ac_try;;
30891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30892 (eval "$ac_link") 2>conftest.er1
30894 grep -v '^
*+' conftest.er1 >conftest.err
30896 cat conftest.err >&5
30897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30898 (exit $ac_status); } && {
30899 test -z "$ac_c_werror_flag" ||
30900 test ! -s conftest.err
30901 } && test -s conftest$ac_exeext &&
30902 $as_test_x conftest$ac_exeext; then
30903 ac_cv_lib_m_jnl=yes
30905 echo "$as_me: failed program was:" >&5
30906 sed 's
/^
/|
/' conftest.$ac_ext >&5
30911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30912 conftest$ac_exeext conftest.$ac_ext
30913 LIBS=$ac_check_lib_save_LIBS
30915 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
30916 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6; }
30917 if test $ac_cv_lib_m_jnl = yes; then
30919 cat >>confdefs.h <<\_ACEOF
30925 { echo "$as_me:$LINENO: checking for y0f in -lm" >&5
30926 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6; }
30927 if test "${ac_cv_lib_m_y0f+set}" = set; then
30928 echo $ECHO_N "(cached) $ECHO_C" >&6
30930 ac_check_lib_save_LIBS=$LIBS
30932 if test x$gcc_no_link = xyes; then
30933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30935 { (exit 1); exit 1; }; }
30937 cat >conftest.$ac_ext <<_ACEOF
30940 cat confdefs.h >>conftest.$ac_ext
30941 cat >>conftest.$ac_ext <<_ACEOF
30942 /* end confdefs.h. */
30944 /* Override any GCC internal prototype to avoid an error.
30945 Use char because int might match the return type of a GCC
30946 builtin and then its argument prototype would still apply. */
30959 rm -f conftest.$ac_objext conftest$ac_exeext
30960 if { (ac_try="$ac_link"
30961 case "(($ac_try" in
30962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30963 *) ac_try_echo=$ac_try;;
30965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30966 (eval "$ac_link") 2>conftest.er1
30968 grep -v '^
*+' conftest.er1 >conftest.err
30970 cat conftest.err >&5
30971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30972 (exit $ac_status); } && {
30973 test -z "$ac_c_werror_flag" ||
30974 test ! -s conftest.err
30975 } && test -s conftest$ac_exeext &&
30976 $as_test_x conftest$ac_exeext; then
30977 ac_cv_lib_m_y0f=yes
30979 echo "$as_me: failed program was:" >&5
30980 sed 's
/^
/|
/' conftest.$ac_ext >&5
30985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30986 conftest$ac_exeext conftest.$ac_ext
30987 LIBS=$ac_check_lib_save_LIBS
30989 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
30990 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6; }
30991 if test $ac_cv_lib_m_y0f = yes; then
30993 cat >>confdefs.h <<\_ACEOF
30999 { echo "$as_me:$LINENO: checking for y0 in -lm" >&5
31000 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6; }
31001 if test "${ac_cv_lib_m_y0+set}" = set; then
31002 echo $ECHO_N "(cached) $ECHO_C" >&6
31004 ac_check_lib_save_LIBS=$LIBS
31006 if test x$gcc_no_link = xyes; then
31007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31009 { (exit 1); exit 1; }; }
31011 cat >conftest.$ac_ext <<_ACEOF
31014 cat confdefs.h >>conftest.$ac_ext
31015 cat >>conftest.$ac_ext <<_ACEOF
31016 /* end confdefs.h. */
31018 /* Override any GCC internal prototype to avoid an error.
31019 Use char because int might match the return type of a GCC
31020 builtin and then its argument prototype would still apply. */
31033 rm -f conftest.$ac_objext conftest$ac_exeext
31034 if { (ac_try="$ac_link"
31035 case "(($ac_try" in
31036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31037 *) ac_try_echo=$ac_try;;
31039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31040 (eval "$ac_link") 2>conftest.er1
31042 grep -v '^
*+' conftest.er1 >conftest.err
31044 cat conftest.err >&5
31045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31046 (exit $ac_status); } && {
31047 test -z "$ac_c_werror_flag" ||
31048 test ! -s conftest.err
31049 } && test -s conftest$ac_exeext &&
31050 $as_test_x conftest$ac_exeext; then
31053 echo "$as_me: failed program was:" >&5
31054 sed 's
/^
/|
/' conftest.$ac_ext >&5
31059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31060 conftest$ac_exeext conftest.$ac_ext
31061 LIBS=$ac_check_lib_save_LIBS
31063 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
31064 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6; }
31065 if test $ac_cv_lib_m_y0 = yes; then
31067 cat >>confdefs.h <<\_ACEOF
31073 { echo "$as_me:$LINENO: checking for y0l in -lm" >&5
31074 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6; }
31075 if test "${ac_cv_lib_m_y0l+set}" = set; then
31076 echo $ECHO_N "(cached) $ECHO_C" >&6
31078 ac_check_lib_save_LIBS=$LIBS
31080 if test x$gcc_no_link = xyes; then
31081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31083 { (exit 1); exit 1; }; }
31085 cat >conftest.$ac_ext <<_ACEOF
31088 cat confdefs.h >>conftest.$ac_ext
31089 cat >>conftest.$ac_ext <<_ACEOF
31090 /* end confdefs.h. */
31092 /* Override any GCC internal prototype to avoid an error.
31093 Use char because int might match the return type of a GCC
31094 builtin and then its argument prototype would still apply. */
31107 rm -f conftest.$ac_objext conftest$ac_exeext
31108 if { (ac_try="$ac_link"
31109 case "(($ac_try" in
31110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31111 *) ac_try_echo=$ac_try;;
31113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31114 (eval "$ac_link") 2>conftest.er1
31116 grep -v '^
*+' conftest.er1 >conftest.err
31118 cat conftest.err >&5
31119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31120 (exit $ac_status); } && {
31121 test -z "$ac_c_werror_flag" ||
31122 test ! -s conftest.err
31123 } && test -s conftest$ac_exeext &&
31124 $as_test_x conftest$ac_exeext; then
31125 ac_cv_lib_m_y0l=yes
31127 echo "$as_me: failed program was:" >&5
31128 sed 's
/^
/|
/' conftest.$ac_ext >&5
31133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31134 conftest$ac_exeext conftest.$ac_ext
31135 LIBS=$ac_check_lib_save_LIBS
31137 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
31138 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6; }
31139 if test $ac_cv_lib_m_y0l = yes; then
31141 cat >>confdefs.h <<\_ACEOF
31147 { echo "$as_me:$LINENO: checking for y1f in -lm" >&5
31148 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6; }
31149 if test "${ac_cv_lib_m_y1f+set}" = set; then
31150 echo $ECHO_N "(cached) $ECHO_C" >&6
31152 ac_check_lib_save_LIBS=$LIBS
31154 if test x$gcc_no_link = xyes; then
31155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31157 { (exit 1); exit 1; }; }
31159 cat >conftest.$ac_ext <<_ACEOF
31162 cat confdefs.h >>conftest.$ac_ext
31163 cat >>conftest.$ac_ext <<_ACEOF
31164 /* end confdefs.h. */
31166 /* Override any GCC internal prototype to avoid an error.
31167 Use char because int might match the return type of a GCC
31168 builtin and then its argument prototype would still apply. */
31181 rm -f conftest.$ac_objext conftest$ac_exeext
31182 if { (ac_try="$ac_link"
31183 case "(($ac_try" in
31184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31185 *) ac_try_echo=$ac_try;;
31187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31188 (eval "$ac_link") 2>conftest.er1
31190 grep -v '^
*+' conftest.er1 >conftest.err
31192 cat conftest.err >&5
31193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31194 (exit $ac_status); } && {
31195 test -z "$ac_c_werror_flag" ||
31196 test ! -s conftest.err
31197 } && test -s conftest$ac_exeext &&
31198 $as_test_x conftest$ac_exeext; then
31199 ac_cv_lib_m_y1f=yes
31201 echo "$as_me: failed program was:" >&5
31202 sed 's
/^
/|
/' conftest.$ac_ext >&5
31207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31208 conftest$ac_exeext conftest.$ac_ext
31209 LIBS=$ac_check_lib_save_LIBS
31211 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
31212 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6; }
31213 if test $ac_cv_lib_m_y1f = yes; then
31215 cat >>confdefs.h <<\_ACEOF
31221 { echo "$as_me:$LINENO: checking for y1 in -lm" >&5
31222 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6; }
31223 if test "${ac_cv_lib_m_y1+set}" = set; then
31224 echo $ECHO_N "(cached) $ECHO_C" >&6
31226 ac_check_lib_save_LIBS=$LIBS
31228 if test x$gcc_no_link = xyes; then
31229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31231 { (exit 1); exit 1; }; }
31233 cat >conftest.$ac_ext <<_ACEOF
31236 cat confdefs.h >>conftest.$ac_ext
31237 cat >>conftest.$ac_ext <<_ACEOF
31238 /* end confdefs.h. */
31240 /* Override any GCC internal prototype to avoid an error.
31241 Use char because int might match the return type of a GCC
31242 builtin and then its argument prototype would still apply. */
31255 rm -f conftest.$ac_objext conftest$ac_exeext
31256 if { (ac_try="$ac_link"
31257 case "(($ac_try" in
31258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31259 *) ac_try_echo=$ac_try;;
31261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31262 (eval "$ac_link") 2>conftest.er1
31264 grep -v '^
*+' conftest.er1 >conftest.err
31266 cat conftest.err >&5
31267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31268 (exit $ac_status); } && {
31269 test -z "$ac_c_werror_flag" ||
31270 test ! -s conftest.err
31271 } && test -s conftest$ac_exeext &&
31272 $as_test_x conftest$ac_exeext; then
31275 echo "$as_me: failed program was:" >&5
31276 sed 's
/^
/|
/' conftest.$ac_ext >&5
31281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31282 conftest$ac_exeext conftest.$ac_ext
31283 LIBS=$ac_check_lib_save_LIBS
31285 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
31286 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6; }
31287 if test $ac_cv_lib_m_y1 = yes; then
31289 cat >>confdefs.h <<\_ACEOF
31295 { echo "$as_me:$LINENO: checking for y1l in -lm" >&5
31296 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6; }
31297 if test "${ac_cv_lib_m_y1l+set}" = set; then
31298 echo $ECHO_N "(cached) $ECHO_C" >&6
31300 ac_check_lib_save_LIBS=$LIBS
31302 if test x$gcc_no_link = xyes; then
31303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31305 { (exit 1); exit 1; }; }
31307 cat >conftest.$ac_ext <<_ACEOF
31310 cat confdefs.h >>conftest.$ac_ext
31311 cat >>conftest.$ac_ext <<_ACEOF
31312 /* end confdefs.h. */
31314 /* Override any GCC internal prototype to avoid an error.
31315 Use char because int might match the return type of a GCC
31316 builtin and then its argument prototype would still apply. */
31329 rm -f conftest.$ac_objext conftest$ac_exeext
31330 if { (ac_try="$ac_link"
31331 case "(($ac_try" in
31332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31333 *) ac_try_echo=$ac_try;;
31335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31336 (eval "$ac_link") 2>conftest.er1
31338 grep -v '^
*+' conftest.er1 >conftest.err
31340 cat conftest.err >&5
31341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31342 (exit $ac_status); } && {
31343 test -z "$ac_c_werror_flag" ||
31344 test ! -s conftest.err
31345 } && test -s conftest$ac_exeext &&
31346 $as_test_x conftest$ac_exeext; then
31347 ac_cv_lib_m_y1l=yes
31349 echo "$as_me: failed program was:" >&5
31350 sed 's
/^
/|
/' conftest.$ac_ext >&5
31355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31356 conftest$ac_exeext conftest.$ac_ext
31357 LIBS=$ac_check_lib_save_LIBS
31359 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
31360 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6; }
31361 if test $ac_cv_lib_m_y1l = yes; then
31363 cat >>confdefs.h <<\_ACEOF
31369 { echo "$as_me:$LINENO: checking for ynf in -lm" >&5
31370 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6; }
31371 if test "${ac_cv_lib_m_ynf+set}" = set; then
31372 echo $ECHO_N "(cached) $ECHO_C" >&6
31374 ac_check_lib_save_LIBS=$LIBS
31376 if test x$gcc_no_link = xyes; then
31377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31379 { (exit 1); exit 1; }; }
31381 cat >conftest.$ac_ext <<_ACEOF
31384 cat confdefs.h >>conftest.$ac_ext
31385 cat >>conftest.$ac_ext <<_ACEOF
31386 /* end confdefs.h. */
31388 /* Override any GCC internal prototype to avoid an error.
31389 Use char because int might match the return type of a GCC
31390 builtin and then its argument prototype would still apply. */
31403 rm -f conftest.$ac_objext conftest$ac_exeext
31404 if { (ac_try="$ac_link"
31405 case "(($ac_try" in
31406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31407 *) ac_try_echo=$ac_try;;
31409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31410 (eval "$ac_link") 2>conftest.er1
31412 grep -v '^
*+' conftest.er1 >conftest.err
31414 cat conftest.err >&5
31415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31416 (exit $ac_status); } && {
31417 test -z "$ac_c_werror_flag" ||
31418 test ! -s conftest.err
31419 } && test -s conftest$ac_exeext &&
31420 $as_test_x conftest$ac_exeext; then
31421 ac_cv_lib_m_ynf=yes
31423 echo "$as_me: failed program was:" >&5
31424 sed 's
/^
/|
/' conftest.$ac_ext >&5
31429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31430 conftest$ac_exeext conftest.$ac_ext
31431 LIBS=$ac_check_lib_save_LIBS
31433 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
31434 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6; }
31435 if test $ac_cv_lib_m_ynf = yes; then
31437 cat >>confdefs.h <<\_ACEOF
31443 { echo "$as_me:$LINENO: checking for yn in -lm" >&5
31444 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6; }
31445 if test "${ac_cv_lib_m_yn+set}" = set; then
31446 echo $ECHO_N "(cached) $ECHO_C" >&6
31448 ac_check_lib_save_LIBS=$LIBS
31450 if test x$gcc_no_link = xyes; then
31451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31453 { (exit 1); exit 1; }; }
31455 cat >conftest.$ac_ext <<_ACEOF
31458 cat confdefs.h >>conftest.$ac_ext
31459 cat >>conftest.$ac_ext <<_ACEOF
31460 /* end confdefs.h. */
31462 /* Override any GCC internal prototype to avoid an error.
31463 Use char because int might match the return type of a GCC
31464 builtin and then its argument prototype would still apply. */
31477 rm -f conftest.$ac_objext conftest$ac_exeext
31478 if { (ac_try="$ac_link"
31479 case "(($ac_try" in
31480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31481 *) ac_try_echo=$ac_try;;
31483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31484 (eval "$ac_link") 2>conftest.er1
31486 grep -v '^
*+' conftest.er1 >conftest.err
31488 cat conftest.err >&5
31489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31490 (exit $ac_status); } && {
31491 test -z "$ac_c_werror_flag" ||
31492 test ! -s conftest.err
31493 } && test -s conftest$ac_exeext &&
31494 $as_test_x conftest$ac_exeext; then
31497 echo "$as_me: failed program was:" >&5
31498 sed 's
/^
/|
/' conftest.$ac_ext >&5
31503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31504 conftest$ac_exeext conftest.$ac_ext
31505 LIBS=$ac_check_lib_save_LIBS
31507 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
31508 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6; }
31509 if test $ac_cv_lib_m_yn = yes; then
31511 cat >>confdefs.h <<\_ACEOF
31517 { echo "$as_me:$LINENO: checking for ynl in -lm" >&5
31518 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6; }
31519 if test "${ac_cv_lib_m_ynl+set}" = set; then
31520 echo $ECHO_N "(cached) $ECHO_C" >&6
31522 ac_check_lib_save_LIBS=$LIBS
31524 if test x$gcc_no_link = xyes; then
31525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31527 { (exit 1); exit 1; }; }
31529 cat >conftest.$ac_ext <<_ACEOF
31532 cat confdefs.h >>conftest.$ac_ext
31533 cat >>conftest.$ac_ext <<_ACEOF
31534 /* end confdefs.h. */
31536 /* Override any GCC internal prototype to avoid an error.
31537 Use char because int might match the return type of a GCC
31538 builtin and then its argument prototype would still apply. */
31551 rm -f conftest.$ac_objext conftest$ac_exeext
31552 if { (ac_try="$ac_link"
31553 case "(($ac_try" in
31554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31555 *) ac_try_echo=$ac_try;;
31557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31558 (eval "$ac_link") 2>conftest.er1
31560 grep -v '^
*+' conftest.er1 >conftest.err
31562 cat conftest.err >&5
31563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31564 (exit $ac_status); } && {
31565 test -z "$ac_c_werror_flag" ||
31566 test ! -s conftest.err
31567 } && test -s conftest$ac_exeext &&
31568 $as_test_x conftest$ac_exeext; then
31569 ac_cv_lib_m_ynl=yes
31571 echo "$as_me: failed program was:" >&5
31572 sed 's
/^
/|
/' conftest.$ac_ext >&5
31577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31578 conftest$ac_exeext conftest.$ac_ext
31579 LIBS=$ac_check_lib_save_LIBS
31581 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
31582 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6; }
31583 if test $ac_cv_lib_m_ynl = yes; then
31585 cat >>confdefs.h <<\_ACEOF
31591 { echo "$as_me:$LINENO: checking for tgamma in -lm" >&5
31592 echo $ECHO_N "checking for tgamma in -lm... $ECHO_C" >&6; }
31593 if test "${ac_cv_lib_m_tgamma+set}" = set; then
31594 echo $ECHO_N "(cached) $ECHO_C" >&6
31596 ac_check_lib_save_LIBS=$LIBS
31598 if test x$gcc_no_link = xyes; then
31599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31601 { (exit 1); exit 1; }; }
31603 cat >conftest.$ac_ext <<_ACEOF
31606 cat confdefs.h >>conftest.$ac_ext
31607 cat >>conftest.$ac_ext <<_ACEOF
31608 /* end confdefs.h. */
31610 /* Override any GCC internal prototype to avoid an error.
31611 Use char because int might match the return type of a GCC
31612 builtin and then its argument prototype would still apply. */
31625 rm -f conftest.$ac_objext conftest$ac_exeext
31626 if { (ac_try="$ac_link"
31627 case "(($ac_try" in
31628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31629 *) ac_try_echo=$ac_try;;
31631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31632 (eval "$ac_link") 2>conftest.er1
31634 grep -v '^
*+' conftest.er1 >conftest.err
31636 cat conftest.err >&5
31637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31638 (exit $ac_status); } && {
31639 test -z "$ac_c_werror_flag" ||
31640 test ! -s conftest.err
31641 } && test -s conftest$ac_exeext &&
31642 $as_test_x conftest$ac_exeext; then
31643 ac_cv_lib_m_tgamma=yes
31645 echo "$as_me: failed program was:" >&5
31646 sed 's
/^
/|
/' conftest.$ac_ext >&5
31648 ac_cv_lib_m_tgamma=no
31651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31652 conftest$ac_exeext conftest.$ac_ext
31653 LIBS=$ac_check_lib_save_LIBS
31655 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgamma" >&5
31656 echo "${ECHO_T}$ac_cv_lib_m_tgamma" >&6; }
31657 if test $ac_cv_lib_m_tgamma = yes; then
31659 cat >>confdefs.h <<\_ACEOF
31660 #define HAVE_TGAMMA 1
31665 { echo "$as_me:$LINENO: checking for tgammaf in -lm" >&5
31666 echo $ECHO_N "checking for tgammaf in -lm... $ECHO_C" >&6; }
31667 if test "${ac_cv_lib_m_tgammaf+set}" = set; then
31668 echo $ECHO_N "(cached) $ECHO_C" >&6
31670 ac_check_lib_save_LIBS=$LIBS
31672 if test x$gcc_no_link = xyes; then
31673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31675 { (exit 1); exit 1; }; }
31677 cat >conftest.$ac_ext <<_ACEOF
31680 cat confdefs.h >>conftest.$ac_ext
31681 cat >>conftest.$ac_ext <<_ACEOF
31682 /* end confdefs.h. */
31684 /* Override any GCC internal prototype to avoid an error.
31685 Use char because int might match the return type of a GCC
31686 builtin and then its argument prototype would still apply. */
31699 rm -f conftest.$ac_objext conftest$ac_exeext
31700 if { (ac_try="$ac_link"
31701 case "(($ac_try" in
31702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31703 *) ac_try_echo=$ac_try;;
31705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31706 (eval "$ac_link") 2>conftest.er1
31708 grep -v '^
*+' conftest.er1 >conftest.err
31710 cat conftest.err >&5
31711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31712 (exit $ac_status); } && {
31713 test -z "$ac_c_werror_flag" ||
31714 test ! -s conftest.err
31715 } && test -s conftest$ac_exeext &&
31716 $as_test_x conftest$ac_exeext; then
31717 ac_cv_lib_m_tgammaf=yes
31719 echo "$as_me: failed program was:" >&5
31720 sed 's
/^
/|
/' conftest.$ac_ext >&5
31722 ac_cv_lib_m_tgammaf=no
31725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31726 conftest$ac_exeext conftest.$ac_ext
31727 LIBS=$ac_check_lib_save_LIBS
31729 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammaf" >&5
31730 echo "${ECHO_T}$ac_cv_lib_m_tgammaf" >&6; }
31731 if test $ac_cv_lib_m_tgammaf = yes; then
31733 cat >>confdefs.h <<\_ACEOF
31734 #define HAVE_TGAMMAF 1
31739 { echo "$as_me:$LINENO: checking for tgammal in -lm" >&5
31740 echo $ECHO_N "checking for tgammal in -lm... $ECHO_C" >&6; }
31741 if test "${ac_cv_lib_m_tgammal+set}" = set; then
31742 echo $ECHO_N "(cached) $ECHO_C" >&6
31744 ac_check_lib_save_LIBS=$LIBS
31746 if test x$gcc_no_link = xyes; then
31747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31749 { (exit 1); exit 1; }; }
31751 cat >conftest.$ac_ext <<_ACEOF
31754 cat confdefs.h >>conftest.$ac_ext
31755 cat >>conftest.$ac_ext <<_ACEOF
31756 /* end confdefs.h. */
31758 /* Override any GCC internal prototype to avoid an error.
31759 Use char because int might match the return type of a GCC
31760 builtin and then its argument prototype would still apply. */
31773 rm -f conftest.$ac_objext conftest$ac_exeext
31774 if { (ac_try="$ac_link"
31775 case "(($ac_try" in
31776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31777 *) ac_try_echo=$ac_try;;
31779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31780 (eval "$ac_link") 2>conftest.er1
31782 grep -v '^
*+' conftest.er1 >conftest.err
31784 cat conftest.err >&5
31785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31786 (exit $ac_status); } && {
31787 test -z "$ac_c_werror_flag" ||
31788 test ! -s conftest.err
31789 } && test -s conftest$ac_exeext &&
31790 $as_test_x conftest$ac_exeext; then
31791 ac_cv_lib_m_tgammal=yes
31793 echo "$as_me: failed program was:" >&5
31794 sed 's
/^
/|
/' conftest.$ac_ext >&5
31796 ac_cv_lib_m_tgammal=no
31799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31800 conftest$ac_exeext conftest.$ac_ext
31801 LIBS=$ac_check_lib_save_LIBS
31803 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammal" >&5
31804 echo "${ECHO_T}$ac_cv_lib_m_tgammal" >&6; }
31805 if test $ac_cv_lib_m_tgammal = yes; then
31807 cat >>confdefs.h <<\_ACEOF
31808 #define HAVE_TGAMMAL 1
31813 { echo "$as_me:$LINENO: checking for lgamma in -lm" >&5
31814 echo $ECHO_N "checking for lgamma in -lm... $ECHO_C" >&6; }
31815 if test "${ac_cv_lib_m_lgamma+set}" = set; then
31816 echo $ECHO_N "(cached) $ECHO_C" >&6
31818 ac_check_lib_save_LIBS=$LIBS
31820 if test x$gcc_no_link = xyes; then
31821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31823 { (exit 1); exit 1; }; }
31825 cat >conftest.$ac_ext <<_ACEOF
31828 cat confdefs.h >>conftest.$ac_ext
31829 cat >>conftest.$ac_ext <<_ACEOF
31830 /* end confdefs.h. */
31832 /* Override any GCC internal prototype to avoid an error.
31833 Use char because int might match the return type of a GCC
31834 builtin and then its argument prototype would still apply. */
31847 rm -f conftest.$ac_objext conftest$ac_exeext
31848 if { (ac_try="$ac_link"
31849 case "(($ac_try" in
31850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31851 *) ac_try_echo=$ac_try;;
31853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31854 (eval "$ac_link") 2>conftest.er1
31856 grep -v '^
*+' conftest.er1 >conftest.err
31858 cat conftest.err >&5
31859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31860 (exit $ac_status); } && {
31861 test -z "$ac_c_werror_flag" ||
31862 test ! -s conftest.err
31863 } && test -s conftest$ac_exeext &&
31864 $as_test_x conftest$ac_exeext; then
31865 ac_cv_lib_m_lgamma=yes
31867 echo "$as_me: failed program was:" >&5
31868 sed 's
/^
/|
/' conftest.$ac_ext >&5
31870 ac_cv_lib_m_lgamma=no
31873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31874 conftest$ac_exeext conftest.$ac_ext
31875 LIBS=$ac_check_lib_save_LIBS
31877 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgamma" >&5
31878 echo "${ECHO_T}$ac_cv_lib_m_lgamma" >&6; }
31879 if test $ac_cv_lib_m_lgamma = yes; then
31881 cat >>confdefs.h <<\_ACEOF
31882 #define HAVE_LGAMMA 1
31887 { echo "$as_me:$LINENO: checking for lgammaf in -lm" >&5
31888 echo $ECHO_N "checking for lgammaf in -lm... $ECHO_C" >&6; }
31889 if test "${ac_cv_lib_m_lgammaf+set}" = set; then
31890 echo $ECHO_N "(cached) $ECHO_C" >&6
31892 ac_check_lib_save_LIBS=$LIBS
31894 if test x$gcc_no_link = xyes; then
31895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31897 { (exit 1); exit 1; }; }
31899 cat >conftest.$ac_ext <<_ACEOF
31902 cat confdefs.h >>conftest.$ac_ext
31903 cat >>conftest.$ac_ext <<_ACEOF
31904 /* end confdefs.h. */
31906 /* Override any GCC internal prototype to avoid an error.
31907 Use char because int might match the return type of a GCC
31908 builtin and then its argument prototype would still apply. */
31921 rm -f conftest.$ac_objext conftest$ac_exeext
31922 if { (ac_try="$ac_link"
31923 case "(($ac_try" in
31924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31925 *) ac_try_echo=$ac_try;;
31927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31928 (eval "$ac_link") 2>conftest.er1
31930 grep -v '^
*+' conftest.er1 >conftest.err
31932 cat conftest.err >&5
31933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31934 (exit $ac_status); } && {
31935 test -z "$ac_c_werror_flag" ||
31936 test ! -s conftest.err
31937 } && test -s conftest$ac_exeext &&
31938 $as_test_x conftest$ac_exeext; then
31939 ac_cv_lib_m_lgammaf=yes
31941 echo "$as_me: failed program was:" >&5
31942 sed 's
/^
/|
/' conftest.$ac_ext >&5
31944 ac_cv_lib_m_lgammaf=no
31947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31948 conftest$ac_exeext conftest.$ac_ext
31949 LIBS=$ac_check_lib_save_LIBS
31951 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammaf" >&5
31952 echo "${ECHO_T}$ac_cv_lib_m_lgammaf" >&6; }
31953 if test $ac_cv_lib_m_lgammaf = yes; then
31955 cat >>confdefs.h <<\_ACEOF
31956 #define HAVE_LGAMMAF 1
31961 { echo "$as_me:$LINENO: checking for lgammal in -lm" >&5
31962 echo $ECHO_N "checking for lgammal in -lm... $ECHO_C" >&6; }
31963 if test "${ac_cv_lib_m_lgammal+set}" = set; then
31964 echo $ECHO_N "(cached) $ECHO_C" >&6
31966 ac_check_lib_save_LIBS=$LIBS
31968 if test x$gcc_no_link = xyes; then
31969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31971 { (exit 1); exit 1; }; }
31973 cat >conftest.$ac_ext <<_ACEOF
31976 cat confdefs.h >>conftest.$ac_ext
31977 cat >>conftest.$ac_ext <<_ACEOF
31978 /* end confdefs.h. */
31980 /* Override any GCC internal prototype to avoid an error.
31981 Use char because int might match the return type of a GCC
31982 builtin and then its argument prototype would still apply. */
31995 rm -f conftest.$ac_objext conftest$ac_exeext
31996 if { (ac_try="$ac_link"
31997 case "(($ac_try" in
31998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31999 *) ac_try_echo=$ac_try;;
32001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32002 (eval "$ac_link") 2>conftest.er1
32004 grep -v '^
*+' conftest.er1 >conftest.err
32006 cat conftest.err >&5
32007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32008 (exit $ac_status); } && {
32009 test -z "$ac_c_werror_flag" ||
32010 test ! -s conftest.err
32011 } && test -s conftest$ac_exeext &&
32012 $as_test_x conftest$ac_exeext; then
32013 ac_cv_lib_m_lgammal=yes
32015 echo "$as_me: failed program was:" >&5
32016 sed 's
/^
/|
/' conftest.$ac_ext >&5
32018 ac_cv_lib_m_lgammal=no
32021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32022 conftest$ac_exeext conftest.$ac_ext
32023 LIBS=$ac_check_lib_save_LIBS
32025 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammal" >&5
32026 echo "${ECHO_T}$ac_cv_lib_m_lgammal" >&6; }
32027 if test $ac_cv_lib_m_lgammal = yes; then
32029 cat >>confdefs.h <<\_ACEOF
32030 #define HAVE_LGAMMAL 1
32036 # On AIX, clog is present in libm as __clog
32037 { echo "$as_me:$LINENO: checking for __clog in -lm" >&5
32038 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6; }
32039 if test "${ac_cv_lib_m___clog+set}" = set; then
32040 echo $ECHO_N "(cached) $ECHO_C" >&6
32042 ac_check_lib_save_LIBS=$LIBS
32044 if test x$gcc_no_link = xyes; then
32045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32047 { (exit 1); exit 1; }; }
32049 cat >conftest.$ac_ext <<_ACEOF
32052 cat confdefs.h >>conftest.$ac_ext
32053 cat >>conftest.$ac_ext <<_ACEOF
32054 /* end confdefs.h. */
32056 /* Override any GCC internal prototype to avoid an error.
32057 Use char because int might match the return type of a GCC
32058 builtin and then its argument prototype would still apply. */
32071 rm -f conftest.$ac_objext conftest$ac_exeext
32072 if { (ac_try="$ac_link"
32073 case "(($ac_try" in
32074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32075 *) ac_try_echo=$ac_try;;
32077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32078 (eval "$ac_link") 2>conftest.er1
32080 grep -v '^
*+' conftest.er1 >conftest.err
32082 cat conftest.err >&5
32083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32084 (exit $ac_status); } && {
32085 test -z "$ac_c_werror_flag" ||
32086 test ! -s conftest.err
32087 } && test -s conftest$ac_exeext &&
32088 $as_test_x conftest$ac_exeext; then
32089 ac_cv_lib_m___clog=yes
32091 echo "$as_me: failed program was:" >&5
32092 sed 's
/^
/|
/' conftest.$ac_ext >&5
32094 ac_cv_lib_m___clog=no
32097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32098 conftest$ac_exeext conftest.$ac_ext
32099 LIBS=$ac_check_lib_save_LIBS
32101 { echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
32102 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6; }
32103 if test $ac_cv_lib_m___clog = yes; then
32105 cat >>confdefs.h <<\_ACEOF
32106 #define HAVE_CLOG 1
32112 # Check for a isfinite macro that works on long doubles.
32114 { echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
32115 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6; }
32116 if test "${have_broken_isfinite+set}" = set; then
32117 echo $ECHO_N "(cached) $ECHO_C" >&6
32120 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
32122 if test "$cross_compiling" = yes; then
32124 case "${target}" in
32125 hppa*-*-hpux*) have_broken_isfinite=yes ;;
32126 *) have_broken_isfinite=no ;;
32129 cat >conftest.$ac_ext <<_ACEOF
32132 cat confdefs.h >>conftest.$ac_ext
32133 cat >>conftest.$ac_ext <<_ACEOF
32134 /* end confdefs.h. */
32142 if (!isfinite(LDBL_MAX)) return 1;
32145 if (!isfinite(DBL_MAX)) return 1;
32151 rm -f conftest$ac_exeext
32152 if { (ac_try="$ac_link"
32153 case "(($ac_try" in
32154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32155 *) ac_try_echo=$ac_try;;
32157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32158 (eval "$ac_link") 2>&5
32160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32161 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
32162 { (case "(($ac_try" in
32163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32164 *) ac_try_echo=$ac_try;;
32166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32167 (eval "$ac_try") 2>&5
32169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32170 (exit $ac_status); }; }; then
32171 have_broken_isfinite=no
32173 echo "$as_me: program exited with status $ac_status" >&5
32174 echo "$as_me: failed program was:" >&5
32175 sed 's
/^
/|
/' conftest.$ac_ext >&5
32177 ( exit $ac_status )
32178 have_broken_isfinite=yes
32180 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32184 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
32186 { echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
32187 echo "${ECHO_T}$have_broken_isfinite" >&6; }
32188 if test x"$have_broken_isfinite" = xyes; then
32190 cat >>confdefs.h <<\_ACEOF
32191 #define HAVE_BROKEN_ISFINITE 1
32196 # Check for a isnan macro that works on long doubles.
32198 { echo "$as_me:$LINENO: checking whether isnan is broken" >&5
32199 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6; }
32200 if test "${have_broken_isnan+set}" = set; then
32201 echo $ECHO_N "(cached) $ECHO_C" >&6
32204 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
32206 if test "$cross_compiling" = yes; then
32208 case "${target}" in
32209 hppa*-*-hpux*) have_broken_isnan=yes ;;
32210 *) have_broken_isnan=no ;;
32213 cat >conftest.$ac_ext <<_ACEOF
32216 cat confdefs.h >>conftest.$ac_ext
32217 cat >>conftest.$ac_ext <<_ACEOF
32218 /* end confdefs.h. */
32228 x = __builtin_nanl ("");
32229 if (!isnan(x)) return 1;
32230 if (isnan(LDBL_MAX)) return 1;
32232 x = (long double) NAN;
32233 if (!isnan(x)) return 1;
32240 y = __builtin_nan ("");
32241 if (!isnan(y)) return 1;
32242 if (isnan(DBL_MAX)) return 1;
32245 if (!isnan(y)) return 1;
32253 rm -f conftest$ac_exeext
32254 if { (ac_try="$ac_link"
32255 case "(($ac_try" in
32256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32257 *) ac_try_echo=$ac_try;;
32259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32260 (eval "$ac_link") 2>&5
32262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32263 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
32264 { (case "(($ac_try" in
32265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32266 *) ac_try_echo=$ac_try;;
32268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32269 (eval "$ac_try") 2>&5
32271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32272 (exit $ac_status); }; }; then
32273 have_broken_isnan=no
32275 echo "$as_me: program exited with status $ac_status" >&5
32276 echo "$as_me: failed program was:" >&5
32277 sed 's
/^
/|
/' conftest.$ac_ext >&5
32279 ( exit $ac_status )
32280 have_broken_isnan=yes
32282 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32286 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
32288 { echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
32289 echo "${ECHO_T}$have_broken_isnan" >&6; }
32290 if test x"$have_broken_isnan" = xyes; then
32292 cat >>confdefs.h <<\_ACEOF
32293 #define HAVE_BROKEN_ISNAN 1
32298 # Check for a fpclassify macro that works on long doubles.
32300 { echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
32301 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6; }
32302 if test "${have_broken_fpclassify+set}" = set; then
32303 echo $ECHO_N "(cached) $ECHO_C" >&6
32306 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
32308 if test "$cross_compiling" = yes; then
32310 case "${target}" in
32311 hppa*-*-hpux*) have_broken_fpclassify=yes ;;
32312 *) have_broken_fpclassify=no ;;
32315 cat >conftest.$ac_ext <<_ACEOF
32318 cat confdefs.h >>conftest.$ac_ext
32319 cat >>conftest.$ac_ext <<_ACEOF
32320 /* end confdefs.h. */
32328 if (fpclassify(LDBL_MAX) == FP_NAN
32329 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
32332 if (fpclassify(DBL_MAX) == FP_NAN
32333 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
32339 rm -f conftest$ac_exeext
32340 if { (ac_try="$ac_link"
32341 case "(($ac_try" in
32342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32343 *) ac_try_echo=$ac_try;;
32345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32346 (eval "$ac_link") 2>&5
32348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32349 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
32350 { (case "(($ac_try" in
32351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32352 *) ac_try_echo=$ac_try;;
32354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32355 (eval "$ac_try") 2>&5
32357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32358 (exit $ac_status); }; }; then
32359 have_broken_fpclassify=no
32361 echo "$as_me: program exited with status $ac_status" >&5
32362 echo "$as_me: failed program was:" >&5
32363 sed 's
/^
/|
/' conftest.$ac_ext >&5
32365 ( exit $ac_status )
32366 have_broken_fpclassify=yes
32368 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32372 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
32374 { echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
32375 echo "${ECHO_T}$have_broken_fpclassify" >&6; }
32376 if test x"$have_broken_fpclassify" = xyes; then
32378 cat >>confdefs.h <<\_ACEOF
32379 #define HAVE_BROKEN_FPCLASSIFY 1
32384 # Check whether the system has a working stat()
32386 { echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
32387 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6; }
32388 if test "${have_working_stat+set}" = set; then
32389 echo $ECHO_N "(cached) $ECHO_C" >&6
32392 if test "$cross_compiling" = yes; then
32394 case "${target}" in
32395 *mingw*) have_working_stat=no ;;
32396 *) have_working_stat=yes;;
32399 cat >conftest.$ac_ext <<_ACEOF
32402 cat confdefs.h >>conftest.$ac_ext
32403 cat >>conftest.$ac_ext <<_ACEOF
32404 /* end confdefs.h. */
32407 #include <sys/types.h>
32408 #include <sys/stat.h>
32409 #include <unistd.h>
32414 struct stat st1, st2;
32416 f = fopen ("foo", "w");
32417 g = fopen ("bar", "w");
32418 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
32420 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
32427 rm -f conftest$ac_exeext
32428 if { (ac_try="$ac_link"
32429 case "(($ac_try" in
32430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32431 *) ac_try_echo=$ac_try;;
32433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32434 (eval "$ac_link") 2>&5
32436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32437 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
32438 { (case "(($ac_try" in
32439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32440 *) ac_try_echo=$ac_try;;
32442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32443 (eval "$ac_try") 2>&5
32445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32446 (exit $ac_status); }; }; then
32447 have_working_stat=yes
32449 echo "$as_me: program exited with status $ac_status" >&5
32450 echo "$as_me: failed program was:" >&5
32451 sed 's
/^
/|
/' conftest.$ac_ext >&5
32453 ( exit $ac_status )
32454 have_working_stat=no
32456 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32461 { echo "$as_me:$LINENO: result: $have_working_stat" >&5
32462 echo "${ECHO_T}$have_working_stat" >&6; }
32463 if test x"$have_working_stat" = xyes; then
32465 cat >>confdefs.h <<\_ACEOF
32466 #define HAVE_WORKING_STAT 1
32471 # Check whether __mingw_snprintf() is present
32473 { echo "$as_me:$LINENO: checking whether __mingw_snprintf is present" >&5
32474 echo $ECHO_N "checking whether __mingw_snprintf is present... $ECHO_C" >&6; }
32475 if test "${have_mingw_snprintf+set}" = set; then
32476 echo $ECHO_N "(cached) $ECHO_C" >&6
32479 if test x$gcc_no_link = xyes; then
32480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32482 { (exit 1); exit 1; }; }
32484 cat >conftest.$ac_ext <<_ACEOF
32487 cat confdefs.h >>conftest.$ac_ext
32488 cat >>conftest.$ac_ext <<_ACEOF
32489 /* end confdefs.h. */
32492 extern int __mingw_snprintf (char *, size_t, const char *, ...);
32498 __mingw_snprintf (NULL, 0, "%d\n", 1);
32504 rm -f conftest.$ac_objext conftest$ac_exeext
32505 if { (ac_try="$ac_link"
32506 case "(($ac_try" in
32507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32508 *) ac_try_echo=$ac_try;;
32510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32511 (eval "$ac_link") 2>conftest.er1
32513 grep -v '^
*+' conftest.er1 >conftest.err
32515 cat conftest.err >&5
32516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32517 (exit $ac_status); } && {
32518 test -z "$ac_c_werror_flag" ||
32519 test ! -s conftest.err
32520 } && test -s conftest$ac_exeext &&
32521 $as_test_x conftest$ac_exeext; then
32522 eval "have_mingw_snprintf=yes"
32524 echo "$as_me: failed program was:" >&5
32525 sed 's
/^
/|
/' conftest.$ac_ext >&5
32527 eval "have_mingw_snprintf=no"
32530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32531 conftest$ac_exeext conftest.$ac_ext
32534 { echo "$as_me:$LINENO: result: $have_mingw_snprintf" >&5
32535 echo "${ECHO_T}$have_mingw_snprintf" >&6; }
32536 if test x"$have_mingw_snprintf" = xyes; then
32538 cat >>confdefs.h <<\_ACEOF
32539 #define HAVE_MINGW_SNPRINTF 1
32545 # Check for GNU libc feenableexcept
32546 { echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
32547 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6; }
32548 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
32549 echo $ECHO_N "(cached) $ECHO_C" >&6
32551 ac_check_lib_save_LIBS=$LIBS
32553 if test x$gcc_no_link = xyes; then
32554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32556 { (exit 1); exit 1; }; }
32558 cat >conftest.$ac_ext <<_ACEOF
32561 cat confdefs.h >>conftest.$ac_ext
32562 cat >>conftest.$ac_ext <<_ACEOF
32563 /* end confdefs.h. */
32565 /* Override any GCC internal prototype to avoid an error.
32566 Use char because int might match the return type of a GCC
32567 builtin and then its argument prototype would still apply. */
32571 char feenableexcept ();
32575 return feenableexcept ();
32580 rm -f conftest.$ac_objext conftest$ac_exeext
32581 if { (ac_try="$ac_link"
32582 case "(($ac_try" in
32583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32584 *) ac_try_echo=$ac_try;;
32586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32587 (eval "$ac_link") 2>conftest.er1
32589 grep -v '^
*+' conftest.er1 >conftest.err
32591 cat conftest.err >&5
32592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32593 (exit $ac_status); } && {
32594 test -z "$ac_c_werror_flag" ||
32595 test ! -s conftest.err
32596 } && test -s conftest$ac_exeext &&
32597 $as_test_x conftest$ac_exeext; then
32598 ac_cv_lib_m_feenableexcept=yes
32600 echo "$as_me: failed program was:" >&5
32601 sed 's
/^
/|
/' conftest.$ac_ext >&5
32603 ac_cv_lib_m_feenableexcept=no
32606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32607 conftest$ac_exeext conftest.$ac_ext
32608 LIBS=$ac_check_lib_save_LIBS
32610 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
32611 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6; }
32612 if test $ac_cv_lib_m_feenableexcept = yes; then
32613 have_feenableexcept=yes
32614 cat >>confdefs.h <<\_ACEOF
32615 #define HAVE_FEENABLEEXCEPT 1
32621 # Check for SysV fpsetmask
32623 { echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
32624 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6; }
32625 if test "${have_fpsetmask+set}" = set; then
32626 echo $ECHO_N "(cached) $ECHO_C" >&6
32629 if test x$gcc_no_link = xyes; then
32630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32632 { (exit 1); exit 1; }; }
32634 cat >conftest.$ac_ext <<_ACEOF
32637 cat confdefs.h >>conftest.$ac_ext
32638 cat >>conftest.$ac_ext <<_ACEOF
32639 /* end confdefs.h. */
32641 #if HAVE_FLOATINGPOINT_H
32642 # include <floatingpoint.h>
32643 #endif /* HAVE_FLOATINGPOINT_H */
32645 # include <ieeefp.h>
32646 #endif /* HAVE_IEEEFP_H */
32655 rm -f conftest.$ac_objext conftest$ac_exeext
32656 if { (ac_try="$ac_link"
32657 case "(($ac_try" in
32658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32659 *) ac_try_echo=$ac_try;;
32661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32662 (eval "$ac_link") 2>conftest.er1
32664 grep -v '^
*+' conftest.er1 >conftest.err
32666 cat conftest.err >&5
32667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32668 (exit $ac_status); } && {
32669 test -z "$ac_c_werror_flag" ||
32670 test ! -s conftest.err
32671 } && test -s conftest$ac_exeext &&
32672 $as_test_x conftest$ac_exeext; then
32673 eval "have_fpsetmask=yes"
32675 echo "$as_me: failed program was:" >&5
32676 sed 's
/^
/|
/' conftest.$ac_ext >&5
32678 eval "have_fpsetmask=no"
32681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32682 conftest$ac_exeext conftest.$ac_ext
32685 { echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
32686 echo "${ECHO_T}$have_fpsetmask" >&6; }
32687 if test x"$have_fpsetmask" = xyes; then
32689 cat >>confdefs.h <<\_ACEOF
32690 #define HAVE_FPSETMASK 1
32696 # Check for AIX fp_trap and fp_enable
32697 { echo "$as_me:$LINENO: checking for fp_trap" >&5
32698 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6; }
32699 if test "${ac_cv_func_fp_trap+set}" = set; then
32700 echo $ECHO_N "(cached) $ECHO_C" >&6
32702 if test x$gcc_no_link = xyes; then
32703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32705 { (exit 1); exit 1; }; }
32707 cat >conftest.$ac_ext <<_ACEOF
32710 cat confdefs.h >>conftest.$ac_ext
32711 cat >>conftest.$ac_ext <<_ACEOF
32712 /* end confdefs.h. */
32713 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
32714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32715 #define fp_trap innocuous_fp_trap
32717 /* System header to define __stub macros and hopefully few prototypes,
32718 which can conflict with char fp_trap (); below.
32719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32720 <limits.h> exists even on freestanding compilers. */
32723 # include <limits.h>
32725 # include <assert.h>
32730 /* Override any GCC internal prototype to avoid an error.
32731 Use char because int might match the return type of a GCC
32732 builtin and then its argument prototype would still apply. */
32737 /* The GNU C library defines this for functions which it implements
32738 to always fail with ENOSYS. Some functions are actually named
32739 something starting with __ and the normal name is an alias. */
32740 #if defined __stub_fp_trap || defined __stub___fp_trap
32752 rm -f conftest.$ac_objext conftest$ac_exeext
32753 if { (ac_try="$ac_link"
32754 case "(($ac_try" in
32755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32756 *) ac_try_echo=$ac_try;;
32758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32759 (eval "$ac_link") 2>conftest.er1
32761 grep -v '^
*+' conftest.er1 >conftest.err
32763 cat conftest.err >&5
32764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32765 (exit $ac_status); } && {
32766 test -z "$ac_c_werror_flag" ||
32767 test ! -s conftest.err
32768 } && test -s conftest$ac_exeext &&
32769 $as_test_x conftest$ac_exeext; then
32770 ac_cv_func_fp_trap=yes
32772 echo "$as_me: failed program was:" >&5
32773 sed 's
/^
/|
/' conftest.$ac_ext >&5
32775 ac_cv_func_fp_trap=no
32778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32779 conftest$ac_exeext conftest.$ac_ext
32781 { echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
32782 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6; }
32783 if test $ac_cv_func_fp_trap = yes; then
32785 cat >>confdefs.h <<\_ACEOF
32786 #define HAVE_FP_TRAP 1
32791 { echo "$as_me:$LINENO: checking for fp_enable" >&5
32792 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6; }
32793 if test "${ac_cv_func_fp_enable+set}" = set; then
32794 echo $ECHO_N "(cached) $ECHO_C" >&6
32796 if test x$gcc_no_link = xyes; then
32797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32799 { (exit 1); exit 1; }; }
32801 cat >conftest.$ac_ext <<_ACEOF
32804 cat confdefs.h >>conftest.$ac_ext
32805 cat >>conftest.$ac_ext <<_ACEOF
32806 /* end confdefs.h. */
32807 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
32808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32809 #define fp_enable innocuous_fp_enable
32811 /* System header to define __stub macros and hopefully few prototypes,
32812 which can conflict with char fp_enable (); below.
32813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32814 <limits.h> exists even on freestanding compilers. */
32817 # include <limits.h>
32819 # include <assert.h>
32824 /* Override any GCC internal prototype to avoid an error.
32825 Use char because int might match the return type of a GCC
32826 builtin and then its argument prototype would still apply. */
32831 /* The GNU C library defines this for functions which it implements
32832 to always fail with ENOSYS. Some functions are actually named
32833 something starting with __ and the normal name is an alias. */
32834 #if defined __stub_fp_enable || defined __stub___fp_enable
32841 return fp_enable ();
32846 rm -f conftest.$ac_objext conftest$ac_exeext
32847 if { (ac_try="$ac_link"
32848 case "(($ac_try" in
32849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32850 *) ac_try_echo=$ac_try;;
32852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32853 (eval "$ac_link") 2>conftest.er1
32855 grep -v '^
*+' conftest.er1 >conftest.err
32857 cat conftest.err >&5
32858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32859 (exit $ac_status); } && {
32860 test -z "$ac_c_werror_flag" ||
32861 test ! -s conftest.err
32862 } && test -s conftest$ac_exeext &&
32863 $as_test_x conftest$ac_exeext; then
32864 ac_cv_func_fp_enable=yes
32866 echo "$as_me: failed program was:" >&5
32867 sed 's
/^
/|
/' conftest.$ac_ext >&5
32869 ac_cv_func_fp_enable=no
32872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32873 conftest$ac_exeext conftest.$ac_ext
32875 { echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
32876 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6; }
32877 if test $ac_cv_func_fp_enable = yes; then
32879 cat >>confdefs.h <<\_ACEOF
32880 #define HAVE_FP_ENABLE 1
32886 # Runs configure.host to set up necessary host-dependent shell variables.
32887 # We then display a message about it, and propagate them through the
32889 . ${srcdir}/configure.host
32890 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
32891 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
32892 FPU_HOST_HEADER=config/${fpu_host}.h
32895 # Check out attribute support.
32897 { echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
32898 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6; }
32899 if test "${have_attribute_visibility+set}" = set; then
32900 echo $ECHO_N "(cached) $ECHO_C" >&6
32903 save_CFLAGS="$CFLAGS"
32904 CFLAGS="$CFLAGS -Werror"
32905 cat >conftest.$ac_ext <<_ACEOF
32908 cat confdefs.h >>conftest.$ac_ext
32909 cat >>conftest.$ac_ext <<_ACEOF
32910 /* end confdefs.h. */
32911 void __attribute__((visibility("hidden"))) foo(void) { }
32920 rm -f conftest.$ac_objext
32921 if { (ac_try="$ac_compile"
32922 case "(($ac_try" in
32923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32924 *) ac_try_echo=$ac_try;;
32926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32927 (eval "$ac_compile") 2>conftest.er1
32929 grep -v '^
*+' conftest.er1 >conftest.err
32931 cat conftest.err >&5
32932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32933 (exit $ac_status); } && {
32934 test -z "$ac_c_werror_flag" ||
32935 test ! -s conftest.err
32936 } && test -s conftest.$ac_objext; then
32937 have_attribute_visibility=yes
32939 echo "$as_me: failed program was:" >&5
32940 sed 's
/^
/|
/' conftest.$ac_ext >&5
32942 have_attribute_visibility=no
32945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32946 CFLAGS="$save_CFLAGS"
32948 { echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
32949 echo "${ECHO_T}$have_attribute_visibility" >&6; }
32950 if test $have_attribute_visibility = yes; then
32952 cat >>confdefs.h <<\_ACEOF
32953 #define HAVE_ATTRIBUTE_VISIBILITY 1
32958 { echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
32959 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6; }
32960 if test "${have_attribute_dllexport+set}" = set; then
32961 echo $ECHO_N "(cached) $ECHO_C" >&6
32964 save_CFLAGS="$CFLAGS"
32965 CFLAGS="$CFLAGS -Werror"
32966 cat >conftest.$ac_ext <<_ACEOF
32969 cat confdefs.h >>conftest.$ac_ext
32970 cat >>conftest.$ac_ext <<_ACEOF
32971 /* end confdefs.h. */
32972 void __attribute__((dllexport)) foo(void) { }
32981 rm -f conftest.$ac_objext
32982 if { (ac_try="$ac_compile"
32983 case "(($ac_try" in
32984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32985 *) ac_try_echo=$ac_try;;
32987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32988 (eval "$ac_compile") 2>conftest.er1
32990 grep -v '^
*+' conftest.er1 >conftest.err
32992 cat conftest.err >&5
32993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32994 (exit $ac_status); } && {
32995 test -z "$ac_c_werror_flag" ||
32996 test ! -s conftest.err
32997 } && test -s conftest.$ac_objext; then
32998 have_attribute_dllexport=yes
33000 echo "$as_me: failed program was:" >&5
33001 sed 's
/^
/|
/' conftest.$ac_ext >&5
33003 have_attribute_dllexport=no
33006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33007 CFLAGS="$save_CFLAGS"
33009 { echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
33010 echo "${ECHO_T}$have_attribute_dllexport" >&6; }
33011 if test $have_attribute_dllexport = yes; then
33013 cat >>confdefs.h <<\_ACEOF
33014 #define HAVE_ATTRIBUTE_DLLEXPORT 1
33019 { echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
33020 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6; }
33021 if test "${have_attribute_alias+set}" = set; then
33022 echo $ECHO_N "(cached) $ECHO_C" >&6
33025 if test x$gcc_no_link = xyes; then
33026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33028 { (exit 1); exit 1; }; }
33030 cat >conftest.$ac_ext <<_ACEOF
33033 cat confdefs.h >>conftest.$ac_ext
33034 cat >>conftest.$ac_ext <<_ACEOF
33035 /* end confdefs.h. */
33038 extern void bar(void) __attribute__((alias("foo")));
33047 rm -f conftest.$ac_objext conftest$ac_exeext
33048 if { (ac_try="$ac_link"
33049 case "(($ac_try" in
33050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33051 *) ac_try_echo=$ac_try;;
33053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33054 (eval "$ac_link") 2>conftest.er1
33056 grep -v '^
*+' conftest.er1 >conftest.err
33058 cat conftest.err >&5
33059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33060 (exit $ac_status); } && {
33061 test -z "$ac_c_werror_flag" ||
33062 test ! -s conftest.err
33063 } && test -s conftest$ac_exeext &&
33064 $as_test_x conftest$ac_exeext; then
33065 have_attribute_alias=yes
33067 echo "$as_me: failed program was:" >&5
33068 sed 's
/^
/|
/' conftest.$ac_ext >&5
33070 have_attribute_alias=no
33073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33074 conftest$ac_exeext conftest.$ac_ext
33076 { echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
33077 echo "${ECHO_T}$have_attribute_alias" >&6; }
33078 if test $have_attribute_alias = yes; then
33080 cat >>confdefs.h <<\_ACEOF
33081 #define HAVE_ATTRIBUTE_ALIAS 1
33086 # Check out sync builtins support.
33088 { echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
33089 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6; }
33090 if test "${have_sync_fetch_and_add+set}" = set; then
33091 echo $ECHO_N "(cached) $ECHO_C" >&6
33094 if test x$gcc_no_link = xyes; then
33095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33097 { (exit 1); exit 1; }; }
33099 cat >conftest.$ac_ext <<_ACEOF
33102 cat confdefs.h >>conftest.$ac_ext
33103 cat >>conftest.$ac_ext <<_ACEOF
33104 /* end confdefs.h. */
33110 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
33111 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
33116 rm -f conftest.$ac_objext conftest$ac_exeext
33117 if { (ac_try="$ac_link"
33118 case "(($ac_try" in
33119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33120 *) ac_try_echo=$ac_try;;
33122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33123 (eval "$ac_link") 2>conftest.er1
33125 grep -v '^
*+' conftest.er1 >conftest.err
33127 cat conftest.err >&5
33128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33129 (exit $ac_status); } && {
33130 test -z "$ac_c_werror_flag" ||
33131 test ! -s conftest.err
33132 } && test -s conftest$ac_exeext &&
33133 $as_test_x conftest$ac_exeext; then
33134 have_sync_fetch_and_add=yes
33136 echo "$as_me: failed program was:" >&5
33137 sed 's
/^
/|
/' conftest.$ac_ext >&5
33139 have_sync_fetch_and_add=no
33142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33143 conftest$ac_exeext conftest.$ac_ext
33145 { echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
33146 echo "${ECHO_T}$have_sync_fetch_and_add" >&6; }
33147 if test $have_sync_fetch_and_add = yes; then
33149 cat >>confdefs.h <<\_ACEOF
33150 #define HAVE_SYNC_FETCH_AND_ADD 1
33155 # Check out thread support.
33157 { echo "$as_me:$LINENO: checking configured target thread model" >&5
33158 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6; }
33159 if test "${target_thread_file+set}" = set; then
33160 echo $ECHO_N "(cached) $ECHO_C" >&6
33163 target_thread_file=`$CC -v 2>&1 | sed -n 's
/^Thread model
: //p
'`
33165 { echo "$as_me:$LINENO: result: $target_thread_file" >&5
33166 echo "${ECHO_T}$target_thread_file" >&6; }
33168 if test $target_thread_file != single; then
33170 cat >>confdefs.h <<\_ACEOF
33171 #define HAVE_GTHR_DEFAULT 1
33176 # Check out #pragma weak.
33178 { echo "$as_me:$LINENO: checking whether pragma weak works" >&5
33179 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6; }
33180 if test "${have_pragma_weak+set}" = set; then
33181 echo $ECHO_N "(cached) $ECHO_C" >&6
33184 gfor_save_CFLAGS="$CFLAGS"
33185 CFLAGS="$CFLAGS -Wunknown-pragmas"
33186 cat >conftest.$ac_ext <<_ACEOF
33189 cat confdefs.h >>conftest.$ac_ext
33190 cat >>conftest.$ac_ext <<_ACEOF
33191 /* end confdefs.h. */
33202 rm -f conftest.$ac_objext
33203 if { (ac_try="$ac_compile"
33204 case "(($ac_try" in
33205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33206 *) ac_try_echo=$ac_try;;
33208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33209 (eval "$ac_compile") 2>conftest.er1
33211 grep -v '^
*+' conftest.er1 >conftest.err
33213 cat conftest.err >&5
33214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33215 (exit $ac_status); } && {
33216 test -z "$ac_c_werror_flag" ||
33217 test ! -s conftest.err
33218 } && test -s conftest.$ac_objext; then
33219 have_pragma_weak=yes
33221 echo "$as_me: failed program was:" >&5
33222 sed 's
/^
/|
/' conftest.$ac_ext >&5
33224 have_pragma_weak=no
33227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33229 { echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
33230 echo "${ECHO_T}$have_pragma_weak" >&6; }
33231 if test $have_pragma_weak = yes; then
33233 cat >>confdefs.h <<\_ACEOF
33234 #define SUPPORTS_WEAK 1
33239 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
33241 cat >>confdefs.h <<\_ACEOF
33242 #define GTHREAD_USE_WEAK 0
33248 # Various other checks on target
33250 { echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
33251 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6; }
33252 if test "${have_unlink_open_file+set}" = set; then
33253 echo $ECHO_N "(cached) $ECHO_C" >&6
33256 if test "$cross_compiling" = yes; then
33258 case "${target}" in
33259 *mingw*) have_unlink_open_file=no ;;
33260 *) have_unlink_open_file=yes;;
33263 cat >conftest.$ac_ext <<_ACEOF
33266 cat confdefs.h >>conftest.$ac_ext
33267 cat >>conftest.$ac_ext <<_ACEOF
33268 /* end confdefs.h. */
33272 #include <unistd.h>
33273 #include <sys/stat.h>
33279 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
33282 if (unlink ("testfile") == -1)
33284 write (fd, "This is a test\n", 15);
33287 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
33293 rm -f conftest$ac_exeext
33294 if { (ac_try="$ac_link"
33295 case "(($ac_try" in
33296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33297 *) ac_try_echo=$ac_try;;
33299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33300 (eval "$ac_link") 2>&5
33302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33303 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
33304 { (case "(($ac_try" in
33305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33306 *) ac_try_echo=$ac_try;;
33308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33309 (eval "$ac_try") 2>&5
33311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33312 (exit $ac_status); }; }; then
33313 have_unlink_open_file=yes
33315 echo "$as_me: program exited with status $ac_status" >&5
33316 echo "$as_me: failed program was:" >&5
33317 sed 's
/^
/|
/' conftest.$ac_ext >&5
33319 ( exit $ac_status )
33320 have_unlink_open_file=no
33322 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33327 { echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
33328 echo "${ECHO_T}$have_unlink_open_file" >&6; }
33329 if test x"$have_unlink_open_file" = xyes; then
33331 cat >>confdefs.h <<\_ACEOF
33332 #define HAVE_UNLINK_OPEN_FILE 1
33337 # Check whether line terminator is LF or CRLF
33339 { echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
33340 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6; }
33341 if test "${have_crlf+set}" = set; then
33342 echo $ECHO_N "(cached) $ECHO_C" >&6
33345 if test "$cross_compiling" = yes; then
33347 case "${target}" in
33348 *mingw*) have_crlf=yes ;;
33352 cat >conftest.$ac_ext <<_ACEOF
33355 cat confdefs.h >>conftest.$ac_ext
33356 cat >>conftest.$ac_ext <<_ACEOF
33357 /* end confdefs.h. */
33359 /* This test program should exit with status 0 if system uses a CRLF as
33360 line terminator, and status 1 otherwise.
33361 Since it is used to check for mingw systems, and should return 0 in any
33362 other case, in case of a failure we will not use CRLF. */
33363 #include <sys/stat.h>
33364 #include <stdlib.h>
33376 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
33379 if (write (fd, "\n", 1) < 0)
33384 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
33386 bytes = read (fd, buff, 5);
33387 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
33394 rm -f conftest$ac_exeext
33395 if { (ac_try="$ac_link"
33396 case "(($ac_try" in
33397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33398 *) ac_try_echo=$ac_try;;
33400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33401 (eval "$ac_link") 2>&5
33403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33404 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
33405 { (case "(($ac_try" in
33406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33407 *) ac_try_echo=$ac_try;;
33409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33410 (eval "$ac_try") 2>&5
33412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33413 (exit $ac_status); }; }; then
33416 echo "$as_me: program exited with status $ac_status" >&5
33417 echo "$as_me: failed program was:" >&5
33418 sed 's
/^
/|
/' conftest.$ac_ext >&5
33420 ( exit $ac_status )
33423 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33428 { echo "$as_me:$LINENO: result: $have_crlf" >&5
33429 echo "${ECHO_T}$have_crlf" >&6; }
33430 if test x"$have_crlf" = xyes; then
33432 cat >>confdefs.h <<\_ACEOF
33433 #define HAVE_CRLF 1
33438 cat >confcache <<\_ACEOF
33439 # This file is a shell script that caches the results of configure
33440 # tests run on this system so they can be shared between configure
33441 # scripts and configure runs, see configure's option
--config-cache.
33442 # It is not useful on other systems. If it contains results you don't
33443 # want to keep, you may remove or edit it.
33445 # config.status only pays attention to the cache file if you give it
33446 # the --recheck option to rerun configure.
33448 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33449 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33450 # following values.
33454 # The following way of writing the cache mishandles newlines in values,
33455 # but we know of no workaround that is simple, portable, and efficient.
33456 # So, we kill variables containing newlines.
33457 # Ultrix sh set writes to stderr and can't be redirected directly,
33458 # and sets the high bit in the cache file unless we assign to the vars.
33460 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
33461 eval ac_val
=\$
$ac_var
33465 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
33466 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
33469 _ | IFS | as_nl
) ;; #(
33470 *) $as_unset $ac_var ;;
33476 case $as_nl`(ac_space=' '; set) 2>&1` in #(
33477 *${as_nl}ac_space
=\
*)
33478 # `set' does not quote correctly, so add quotes (double-quote
33479 # substitution turns \\\\ into \\, and sed turns \\ into \).
33482 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33485 # `set' quotes correctly as required by POSIX, so do not add quotes.
33486 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
33495 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33497 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33499 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
33500 if test -w "$cache_file"; then
33501 test "x$cache_file" != "x/dev/null" &&
33502 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
33503 echo "$as_me: updating cache $cache_file" >&6;}
33504 cat confcache
>$cache_file
33506 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
33507 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
33512 if test ${multilib} = yes; then
33513 multilib_arg
="--enable-multilib"
33518 # Write our Makefile.
33519 ac_config_files
="$ac_config_files Makefile"
33521 cat >confcache
<<\_ACEOF
33522 # This file is a shell script that caches the results of configure
33523 # tests run on this system so they can be shared between configure
33524 # scripts and configure runs, see configure's option --config-cache.
33525 # It is not useful on other systems. If it contains results you don't
33526 # want to keep, you may remove or edit it.
33528 # config.status only pays attention to the cache file if you give it
33529 # the --recheck option to rerun configure.
33531 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33532 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33533 # following values.
33537 # The following way of writing the cache mishandles newlines in values,
33538 # but we know of no workaround that is simple, portable, and efficient.
33539 # So, we kill variables containing newlines.
33540 # Ultrix sh set writes to stderr and can't be redirected directly,
33541 # and sets the high bit in the cache file unless we assign to the vars.
33543 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
33544 eval ac_val
=\$
$ac_var
33548 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
33549 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
33552 _ | IFS | as_nl
) ;; #(
33553 *) $as_unset $ac_var ;;
33559 case $as_nl`(ac_space=' '; set) 2>&1` in #(
33560 *${as_nl}ac_space
=\
*)
33561 # `set' does not quote correctly, so add quotes (double-quote
33562 # substitution turns \\\\ into \\, and sed turns \\ into \).
33565 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33568 # `set' quotes correctly as required by POSIX, so do not add quotes.
33569 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
33578 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33580 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33582 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
33583 if test -w "$cache_file"; then
33584 test "x$cache_file" != "x/dev/null" &&
33585 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
33586 echo "$as_me: updating cache $cache_file" >&6;}
33587 cat confcache
>$cache_file
33589 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
33590 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
33595 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
33596 # Let make expand exec_prefix.
33597 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
33599 DEFS
=-DHAVE_CONFIG_H
33603 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
33604 # 1. Remove the extension, and $U if already installed.
33605 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
33606 ac_i
=`echo "$ac_i" | sed "$ac_script"`
33607 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
33608 # will be set to the directory where LIBOBJS objects are built.
33609 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
33610 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
33612 LIBOBJS
=$ac_libobjs
33614 LTLIBOBJS
=$ac_ltlibobjs
33617 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
33618 { { echo "$as_me:$LINENO: error: conditional \"onestep\" was never defined.
33619 Usually this means the macro was only invoked conditionally." >&5
33620 echo "$as_me: error: conditional \"onestep\" was never defined.
33621 Usually this means the macro was only invoked conditionally." >&2;}
33622 { (exit 1); exit 1; }; }
33624 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
33625 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
33626 Usually this means the macro was only invoked conditionally." >&5
33627 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
33628 Usually this means the macro was only invoked conditionally." >&2;}
33629 { (exit 1); exit 1; }; }
33631 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
33632 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
33633 Usually this means the macro was only invoked conditionally." >&5
33634 echo "$as_me: error: conditional \"AMDEP\" was never defined.
33635 Usually this means the macro was only invoked conditionally." >&2;}
33636 { (exit 1); exit 1; }; }
33638 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33639 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
33640 Usually this means the macro was only invoked conditionally." >&5
33641 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
33642 Usually this means the macro was only invoked conditionally." >&2;}
33643 { (exit 1); exit 1; }; }
33645 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
33646 { { echo "$as_me:$LINENO: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
33647 Usually this means the macro was only invoked conditionally." >&5
33648 echo "$as_me: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
33649 Usually this means the macro was only invoked conditionally." >&2;}
33650 { (exit 1); exit 1; }; }
33653 : ${CONFIG_STATUS=./config.status}
33654 ac_clean_files_save
=$ac_clean_files
33655 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
33656 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
33657 echo "$as_me: creating $CONFIG_STATUS" >&6;}
33658 cat >$CONFIG_STATUS <<_ACEOF
33660 # Generated by $as_me.
33661 # Run this file to recreate the current configuration.
33662 # Compiler output produced by configure, useful for debugging
33663 # configure, is in config.log if it exists.
33666 ac_cs_recheck=false
33668 SHELL=\${CONFIG_SHELL-$SHELL}
33671 cat >>$CONFIG_STATUS <<\_ACEOF
33672 ## --------------------- ##
33673 ## M4sh Initialization. ##
33674 ## --------------------- ##
33676 # Be more Bourne compatible
33677 DUALCASE
=1; export DUALCASE
# for MKS sh
33678 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
33681 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33682 # is contrary to our usage. Disable this feature.
33683 alias -g '${1+"$@"}'='"$@"'
33684 setopt NO_GLOB_SUBST
33686 case `(set -o) 2>/dev/null` in
33687 *posix
*) set -o posix
;;
33696 # Avoid depending upon Character Ranges.
33697 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
33698 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33699 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
33700 as_cr_digits
='0123456789'
33701 as_cr_alnum
=$as_cr_Letters$as_cr_digits
33703 # The user is always right.
33704 if test "${PATH_SEPARATOR+set}" != set; then
33705 echo "#! /bin/sh" >conf$$.sh
33706 echo "exit 0" >>conf$$.sh
33708 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
33716 # Support unset when possible.
33717 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
33725 # We need space, tab and new line, in precisely that order. Quoting is
33726 # there to prevent editors from complaining about space-tab.
33727 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
33728 # splitting by setting IFS to empty value.)
33733 # Find who we are. Look in the path if we contain no directory separator.
33735 *[\\/]* ) as_myself
=$0 ;;
33736 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33737 for as_dir
in $PATH
33740 test -z "$as_dir" && as_dir
=.
33741 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
33747 # We did not find ourselves, most probably we were run as `sh COMMAND'
33748 # in which case we are not to be found in the path.
33749 if test "x$as_myself" = x
; then
33752 if test ! -f "$as_myself"; then
33753 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
33754 { (exit 1); exit 1; }
33757 # Work around bugs in pre-3.0 UWIN ksh.
33758 for as_var
in ENV MAIL MAILPATH
33759 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
33767 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
33768 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
33769 LC_TELEPHONE LC_TIME
33771 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
33772 eval $as_var=C
; export $as_var
33774 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
33778 # Required to use basename.
33779 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
33780 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
33786 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
33787 as_basename
=basename
33793 # Name of the executable.
33794 as_me
=`$as_basename -- "$0" ||
33795 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33796 X"$0" : 'X\(//\)$' \| \
33797 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
33799 sed '/^.*\/\([^/][^/]*\)\/*$/{
33818 as_lineno_1
=$LINENO
33819 as_lineno_2
=$LINENO
33820 test "x$as_lineno_1" != "x$as_lineno_2" &&
33821 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
33823 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
33824 # uniformly replaced by the line number. The first 'sed' inserts a
33825 # line-number line after each line using $LINENO; the second 'sed'
33826 # does the real work. The second script uses 'N' to pair each
33827 # line-number line with the line containing $LINENO, and appends
33828 # trailing '-' during substitution so that $LINENO is not a special
33829 # case at line end.
33830 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
33831 # scripts with optimization help from Paolo Bonzini. Blame Lee
33832 # E. McMahon (1931-1989) for sed's syntax. :-)
33844 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
33847 ' >$as_me.lineno
&&
33848 chmod +x
"$as_me.lineno" ||
33849 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
33850 { (exit 1); exit 1; }; }
33852 # Don't try to exec as it changes $[0], causing all sort of problems
33853 # (the dirname of $[0] is not the place where we might find the
33854 # original and so on. Autoconf is especially sensitive to this).
33855 .
"./$as_me.lineno"
33856 # Exit status is that of the last command.
33861 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
33867 ECHO_C
= ECHO_N
= ECHO_T
=
33868 case `echo -n x` in
33870 case `echo 'x\c'` in
33871 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
33878 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
33879 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
33885 rm -f conf$$ conf$$.exe conf$$.
file
33886 if test -d conf$$.dir
; then
33887 rm -f conf$$.dir
/conf$$.
file
33893 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
33895 # ... but there are two gotchas:
33896 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
33897 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
33898 # In both cases, we have to default to `cp -p'.
33899 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
33901 elif ln conf$$.
file conf$$
2>/dev
/null
; then
33906 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
33907 rmdir conf$$.dir
2>/dev
/null
33909 if mkdir
-p .
2>/dev
/null
; then
33912 test -d .
/-p && rmdir .
/-p
33916 if test -x / >/dev
/null
2>&1; then
33917 as_test_x
='test -x'
33919 if ls -dL / >/dev
/null
2>&1; then
33926 if test -d "$1"; then
33932 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
33933 ???[sx]*):;;*)false;;esac;fi
33937 as_executable_p
=$as_test_x
33939 # Sed expression to map a string onto a valid CPP name.
33940 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33942 # Sed expression to map a string onto a valid variable name.
33943 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33948 # Save the log message, to keep $[0] and so on meaningful, and to
33949 # report actual input values of CONFIG_FILES etc. instead of their
33950 # values after options handling.
33952 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
33953 generated by GNU Autoconf 2.61. Invocation command line was
33955 CONFIG_FILES = $CONFIG_FILES
33956 CONFIG_HEADERS = $CONFIG_HEADERS
33957 CONFIG_LINKS = $CONFIG_LINKS
33958 CONFIG_COMMANDS = $CONFIG_COMMANDS
33961 on `(hostname || uname -n) 2>/dev/null | sed 1q`
33966 cat >>$CONFIG_STATUS <<_ACEOF
33967 # Files that config.status was made for.
33968 config_files="$ac_config_files"
33969 config_headers="$ac_config_headers"
33970 config_commands="$ac_config_commands"
33974 cat >>$CONFIG_STATUS <<\_ACEOF
33976 \`$as_me' instantiates files from templates according to the
33977 current configuration.
33979 Usage: $0 [OPTIONS] [FILE]...
33981 -h, --help print this help, then exit
33982 -V, --version print version number and configuration settings, then exit
33983 -q, --quiet do not print progress messages
33984 -d, --debug don't remove temporary files
33985 --recheck update $as_me by reconfiguring in the same conditions
33986 --file=FILE[:TEMPLATE]
33987 instantiate the configuration file FILE
33988 --header=FILE[:TEMPLATE]
33989 instantiate the configuration header FILE
33991 Configuration files:
33994 Configuration headers:
33997 Configuration commands:
34000 Report bugs to <bug-autoconf@gnu.org>."
34003 cat >>$CONFIG_STATUS <<_ACEOF
34005 GNU Fortran Runtime Library config.status 0.3
34006 configured by $0, generated by GNU Autoconf 2.61,
34007 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
34009 Copyright (C) 2006 Free Software Foundation, Inc.
34010 This config.status script is free software; the Free Software Foundation
34011 gives unlimited permission to copy, distribute and modify it."
34018 cat >>$CONFIG_STATUS <<\_ACEOF
34019 # If no file are specified by the user, then we need to provide default
34020 # value. By we need to know if files were specified by the user.
34026 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
34027 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
34038 # Handling of the options.
34039 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
34041 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
34042 echo "$ac_cs_version"; exit ;;
34043 --debug |
--debu |
--deb |
--de |
--d |
-d )
34045 --file |
--fil |
--fi |
--f )
34047 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
34048 ac_need_defaults
=false
;;
34049 --header |
--heade |
--head |
--hea )
34051 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
34052 ac_need_defaults
=false
;;
34054 # Conflict between --help and --header
34055 { echo "$as_me: error: ambiguous option: $1
34056 Try \`$0 --help' for more information." >&2
34057 { (exit 1); exit 1; }; };;
34058 --help |
--hel |
-h )
34059 echo "$ac_cs_usage"; exit ;;
34060 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
34061 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
34064 # This is an error.
34065 -*) { echo "$as_me: error: unrecognized option: $1
34066 Try \`$0 --help' for more information." >&2
34067 { (exit 1); exit 1; }; } ;;
34069 *) ac_config_targets
="$ac_config_targets $1"
34070 ac_need_defaults
=false
;;
34076 ac_configure_extra_args
=
34078 if $ac_cs_silent; then
34080 ac_configure_extra_args
="$ac_configure_extra_args --silent"
34084 cat >>$CONFIG_STATUS <<_ACEOF
34085 if \$ac_cs_recheck; then
34086 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
34087 CONFIG_SHELL=$SHELL
34088 export CONFIG_SHELL
34089 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34093 cat >>$CONFIG_STATUS <<\_ACEOF
34097 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34098 ## Running $as_me. ##
34104 cat >>$CONFIG_STATUS <<_ACEOF
34112 with_multisubdir="$with_multisubdir"
34113 with_multisrctop="$with_multisrctop"
34114 with_target_subdir="$with_target_subdir"
34115 ac_configure_args="${multilib_arg} ${ac_configure_args}"
34116 multi_basedir="$multi_basedir"
34117 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
34119 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
34122 # The HP-UX ksh and POSIX shell print the target directory to stdout
34123 # if CDPATH is set.
34124 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
34126 sed_quote_subst='$sed_quote_subst'
34127 double_quote_subst='$double_quote_subst'
34128 delay_variable_subst='$delay_variable_subst'
34129 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
34130 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
34131 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
34132 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
34133 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
34134 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
34135 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
34136 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
34137 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
34138 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
34139 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
34140 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
34141 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
34142 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
34143 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
34144 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
34145 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
34146 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
34147 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
34148 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
34149 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
34150 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
34151 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
34152 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
34153 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
34154 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
34155 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
34156 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34157 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
34158 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
34159 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
34160 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
34161 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
34162 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
34163 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34164 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34165 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34166 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
34167 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
34168 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
34169 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
34170 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
34171 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
34172 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"`'
34173 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
34174 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
34175 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
34176 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
34177 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
34178 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
34179 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
34180 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
34181 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
34182 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
34183 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
34184 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34185 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34186 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
34187 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
34188 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34189 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34190 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
34191 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34192 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34193 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34194 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34195 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34196 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34197 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
34198 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
34199 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
34200 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34201 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
34202 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
34203 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
34204 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
34205 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
34206 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34207 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
34208 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
34209 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
34210 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
34211 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
34212 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34213 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34214 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34215 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34216 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
34217 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
34218 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
34219 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
34220 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
34221 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34222 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34223 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
34224 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34225 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
34226 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34227 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34228 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34229 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34230 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
34231 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
34232 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34233 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34234 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
34235 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
34236 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
34237 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
34238 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
34239 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
34240 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34241 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34242 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
34243 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
34244 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
34245 LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
34246 old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34247 compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
34248 GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
34249 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34250 lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
34251 lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
34252 lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
34253 lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
34254 archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
34255 enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
34256 export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34257 whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34258 compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
34259 old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34260 old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34261 archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34262 archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34263 module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34264 module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34265 with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
34266 allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34267 no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34268 hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34269 hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
34270 hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
34271 hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
34272 hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
34273 hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
34274 hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
34275 hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
34276 inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
34277 link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
34278 fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
34279 always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
34280 export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34281 exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
34282 include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
34283 prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34284 file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34285 hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
34286 predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
34287 postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
34288 predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
34289 postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
34290 compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
34293 LTCFLAGS='$LTCFLAGS'
34294 compiler='$compiler_DEFAULT'
34296 # Quote evaled strings.
34307 deplibs_check_method \
34316 lt_cv_sys_global_symbol_pipe \
34317 lt_cv_sys_global_symbol_to_cdecl \
34318 lt_cv_sys_global_symbol_to_c_name_address \
34321 lt_prog_compiler_no_builtin_flag \
34322 lt_prog_compiler_wl \
34323 lt_prog_compiler_pic \
34324 lt_prog_compiler_static \
34325 lt_cv_prog_compiler_c_o \
34328 export_dynamic_flag_spec \
34329 whole_archive_flag_spec \
34330 compiler_needs_object \
34332 allow_undefined_flag \
34333 no_undefined_flag \
34334 hardcode_libdir_flag_spec \
34335 hardcode_libdir_flag_spec_ld \
34336 hardcode_libdir_separator \
34341 variables_saved_for_relink \
34343 library_names_spec \
34352 compiler_lib_search_path \
34355 lt_prog_compiler_no_builtin_flag_FC \
34356 lt_prog_compiler_wl_FC \
34357 lt_prog_compiler_pic_FC \
34358 lt_prog_compiler_static_FC \
34359 lt_cv_prog_compiler_c_o_FC \
34360 export_dynamic_flag_spec_FC \
34361 whole_archive_flag_spec_FC \
34362 compiler_needs_object_FC \
34364 allow_undefined_flag_FC \
34365 no_undefined_flag_FC \
34366 hardcode_libdir_flag_spec_FC \
34367 hardcode_libdir_flag_spec_ld_FC \
34368 hardcode_libdir_separator_FC \
34369 fix_srcfile_path_FC \
34370 exclude_expsyms_FC \
34371 include_expsyms_FC \
34372 file_list_spec_FC \
34373 predep_objects_FC \
34374 postdep_objects_FC \
34377 compiler_lib_search_path_FC; do
34378 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
34379 *[\\\\\\\`\\"\\\$]*)
34380 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
34383 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34388 # Double-quote double-evaled strings.
34389 for var in reload_cmds \
34390 old_postinstall_cmds \
34391 old_postuninstall_cmds \
34393 extract_expsyms_cmds \
34394 old_archive_from_new_cmds \
34395 old_archive_from_expsyms_cmds \
34397 archive_expsym_cmds \
34399 module_expsym_cmds \
34400 export_symbols_cmds \
34403 postuninstall_cmds \
34405 sys_lib_search_path_spec \
34406 sys_lib_dlsearch_path_spec \
34407 old_archive_cmds_FC \
34408 old_archive_from_new_cmds_FC \
34409 old_archive_from_expsyms_cmds_FC \
34411 archive_expsym_cmds_FC \
34413 module_expsym_cmds_FC \
34414 export_symbols_cmds_FC \
34415 prelink_cmds_FC; do
34416 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
34417 *[\\\\\\\`\\"\\\$]*)
34418 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
34421 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34426 # Fix-up fallback echo if it was mangled by the above quoting rules.
34428 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
34432 ac_aux_dir='$ac_aux_dir'
34433 xsi_shell='$xsi_shell'
34434 lt_shell_append='$lt_shell_append'
34436 # See if we are running on zsh, and set the options which allow our
34437 # commands through without removal of \ escapes INIT.
34438 if test -n "\${ZSH_VERSION+set}" ; then
34439 setopt NO_GLOB_SUBST
34445 TIMESTAMP='$TIMESTAMP'
34456 acx_cv_header_stdint="$acx_cv_header_stdint"
34457 acx_cv_type_int8_t="$acx_cv_type_int8_t"
34458 acx_cv_type_int16_t="$acx_cv_type_int16_t"
34459 acx_cv_type_int32_t="$acx_cv_type_int32_t"
34460 acx_cv_type_int64_t="$acx_cv_type_int64_t"
34461 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
34462 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
34463 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
34464 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
34465 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
34466 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
34467 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
34468 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
34469 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
34474 cat >>$CONFIG_STATUS <<\_ACEOF
34476 # Handling of arguments.
34477 for ac_config_target
in $ac_config_targets
34479 case $ac_config_target in
34480 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
34481 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
34482 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
34483 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
34484 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
34485 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
34487 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
34488 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
34489 { (exit 1); exit 1; }; };;
34494 # If the user did not use the arguments to specify the items to instantiate,
34495 # then the envvar interface is used. Set only those that are not.
34496 # We use the long form for the default assignment because of an extremely
34497 # bizarre bug on SunOS 4.1.3.
34498 if $ac_need_defaults; then
34499 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
34500 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
34501 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
34504 # Have a temporary directory for convenience. Make it in the build tree
34505 # simply because there is no reason against having it here, and in addition,
34506 # creating and moving files from /tmp can sometimes cause problems.
34507 # Hook for its removal unless debugging.
34508 # Note that there is a small window in which the directory will not be cleaned:
34509 # after its creation but before its name has been assigned to `$tmp'.
34513 trap 'exit_status=$?
34514 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
34516 trap '{ (exit 1); exit 1; }' 1 2 13 15
34518 # Create a (secure) tmp directory for tmp files.
34521 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
34522 test -n "$tmp" && test -d "$tmp"
34525 tmp
=.
/conf$$
-$RANDOM
34526 (umask 077 && mkdir
"$tmp")
34529 echo "$me: cannot create a temporary directory in ." >&2
34530 { (exit 1); exit 1; }
34534 # Set up the sed scripts for CONFIG_FILES section.
34537 # No need to generate the scripts if there are no CONFIG_FILES.
34538 # This happens for instance when ./config.status config.h
34539 if test -n "$CONFIG_FILES"; then
34546 for ac_last_try
in false false false false false
:; do
34547 cat >conf$
$subs.
sed <<_ACEOF
34548 SHELL!$SHELL$ac_delim
34549 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
34550 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
34551 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
34552 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
34553 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
34554 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
34555 exec_prefix!$exec_prefix$ac_delim
34556 prefix!$prefix$ac_delim
34557 program_transform_name!$program_transform_name$ac_delim
34558 bindir!$bindir$ac_delim
34559 sbindir!$sbindir$ac_delim
34560 libexecdir!$libexecdir$ac_delim
34561 datarootdir!$datarootdir$ac_delim
34562 datadir!$datadir$ac_delim
34563 sysconfdir!$sysconfdir$ac_delim
34564 sharedstatedir!$sharedstatedir$ac_delim
34565 localstatedir!$localstatedir$ac_delim
34566 includedir!$includedir$ac_delim
34567 oldincludedir!$oldincludedir$ac_delim
34568 docdir!$docdir$ac_delim
34569 infodir!$infodir$ac_delim
34570 htmldir!$htmldir$ac_delim
34571 dvidir!$dvidir$ac_delim
34572 pdfdir!$pdfdir$ac_delim
34573 psdir!$psdir$ac_delim
34574 libdir!$libdir$ac_delim
34575 localedir!$localedir$ac_delim
34576 mandir!$mandir$ac_delim
34577 DEFS!$DEFS$ac_delim
34578 ECHO_C!$ECHO_C$ac_delim
34579 ECHO_N!$ECHO_N$ac_delim
34580 ECHO_T!$ECHO_T$ac_delim
34581 LIBS!$LIBS$ac_delim
34582 build_alias!$build_alias$ac_delim
34583 host_alias!$host_alias$ac_delim
34584 target_alias!$target_alias$ac_delim
34585 build!$build$ac_delim
34586 build_cpu!$build_cpu$ac_delim
34587 build_vendor!$build_vendor$ac_delim
34588 build_os!$build_os$ac_delim
34589 build_libsubdir!$build_libsubdir$ac_delim
34590 build_subdir!$build_subdir$ac_delim
34591 host_subdir!$host_subdir$ac_delim
34592 target_subdir!$target_subdir$ac_delim
34593 onestep_TRUE!$onestep_TRUE$ac_delim
34594 onestep_FALSE!$onestep_FALSE$ac_delim
34595 onestep!$onestep$ac_delim
34596 host!$host$ac_delim
34597 host_cpu!$host_cpu$ac_delim
34598 host_vendor!$host_vendor$ac_delim
34599 host_os!$host_os$ac_delim
34600 target!$target$ac_delim
34601 target_cpu!$target_cpu$ac_delim
34602 target_vendor!$target_vendor$ac_delim
34603 target_os!$target_os$ac_delim
34604 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
34605 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
34606 INSTALL_DATA!$INSTALL_DATA$ac_delim
34607 CYGPATH_W!$CYGPATH_W$ac_delim
34608 PACKAGE!$PACKAGE$ac_delim
34609 VERSION!$VERSION$ac_delim
34610 ACLOCAL!$ACLOCAL$ac_delim
34611 AUTOCONF!$AUTOCONF$ac_delim
34612 AUTOMAKE!$AUTOMAKE$ac_delim
34613 AUTOHEADER!$AUTOHEADER$ac_delim
34614 MAKEINFO!$MAKEINFO$ac_delim
34615 install_sh!$install_sh$ac_delim
34616 STRIP!$STRIP$ac_delim
34617 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
34618 mkdir_p!$mkdir_p$ac_delim
34620 SET_MAKE!$SET_MAKE$ac_delim
34621 am__leading_dot!$am__leading_dot$ac_delim
34622 AMTAR!$AMTAR$ac_delim
34623 am__tar!$am__tar$ac_delim
34624 am__untar!$am__untar$ac_delim
34625 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
34626 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
34627 MAINT!$MAINT$ac_delim
34628 multi_basedir!$multi_basedir$ac_delim
34629 toolexecdir!$toolexecdir$ac_delim
34630 toolexeclibdir!$toolexeclibdir$ac_delim
34632 CFLAGS!$CFLAGS$ac_delim
34633 LDFLAGS!$LDFLAGS$ac_delim
34634 CPPFLAGS!$CPPFLAGS$ac_delim
34635 ac_ct_CC!$ac_ct_CC$ac_delim
34636 EXEEXT!$EXEEXT$ac_delim
34637 OBJEXT!$OBJEXT$ac_delim
34638 DEPDIR!$DEPDIR$ac_delim
34639 am__include!$am__include$ac_delim
34640 am__quote!$am__quote$ac_delim
34641 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
34642 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
34643 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
34644 CCDEPMODE!$CCDEPMODE$ac_delim
34647 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
34649 elif $ac_last_try; then
34650 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34651 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34652 { (exit 1); exit 1; }; }
34654 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
34658 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34659 if test -n "$ac_eof"; then
34660 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
34661 ac_eof
=`expr $ac_eof + 1`
34664 cat >>$CONFIG_STATUS <<_ACEOF
34665 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
34666 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34669 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34670 s/^/s,@/; s/!/@,|#_!!_#|/
34673 s/'"$ac_delim"'$/,g/; t
34675 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34676 ' >>$CONFIG_STATUS <conf$
$subs.
sed
34677 rm -f conf$
$subs.
sed
34678 cat >>$CONFIG_STATUS <<_ACEOF
34684 for ac_last_try
in false false false false false
:; do
34685 cat >conf$
$subs.
sed <<_ACEOF
34686 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
34687 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
34688 AM_FCFLAGS!$AM_FCFLAGS$ac_delim
34689 AM_CFLAGS!$AM_CFLAGS$ac_delim
34690 LIBGFOR_USE_SYMVER_TRUE!$LIBGFOR_USE_SYMVER_TRUE$ac_delim
34691 LIBGFOR_USE_SYMVER_FALSE!$LIBGFOR_USE_SYMVER_FALSE$ac_delim
34694 RANLIB!$RANLIB$ac_delim
34695 LIBTOOL!$LIBTOOL$ac_delim
34697 GREP!$GREP$ac_delim
34698 EGREP!$EGREP$ac_delim
34699 FGREP!$FGREP$ac_delim
34701 DUMPBIN!$DUMPBIN$ac_delim
34702 ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
34704 LN_S!$LN_S$ac_delim
34705 lt_ECHO!$lt_ECHO$ac_delim
34707 enable_shared!$enable_shared$ac_delim
34708 enable_static!$enable_static$ac_delim
34710 FCFLAGS!$FCFLAGS$ac_delim
34711 ac_ct_FC!$ac_ct_FC$ac_delim
34712 extra_ldflags_libgfortran!$extra_ldflags_libgfortran$ac_delim
34713 FPU_HOST_HEADER!$FPU_HOST_HEADER$ac_delim
34714 LIBOBJS!$LIBOBJS$ac_delim
34715 LTLIBOBJS!$LTLIBOBJS$ac_delim
34718 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 30; then
34720 elif $ac_last_try; then
34721 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34722 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34723 { (exit 1); exit 1; }; }
34725 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
34729 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34730 if test -n "$ac_eof"; then
34731 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
34732 ac_eof
=`expr $ac_eof + 1`
34735 cat >>$CONFIG_STATUS <<_ACEOF
34736 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
34737 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
34740 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34741 s/^/s,@/; s/!/@,|#_!!_#|/
34744 s/'"$ac_delim"'$/,g/; t
34746 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34747 ' >>$CONFIG_STATUS <conf$
$subs.
sed
34748 rm -f conf$
$subs.
sed
34749 cat >>$CONFIG_STATUS <<_ACEOF
34756 # VPATH may cause trouble with some makes, so we remove $(srcdir),
34757 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34758 # trailing colons and then remove the whole line if VPATH becomes empty
34759 # (actually we leave an empty line to preserve line numbers).
34760 if test "x$srcdir" = x.
; then
34761 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
34762 s/:*\$(srcdir):*/:/
34763 s/:*\${srcdir}:*/:/
34765 s/^\([^=]*=[ ]*\):*/\1/
34771 cat >>$CONFIG_STATUS <<\_ACEOF
34772 fi # test -n "$CONFIG_FILES"
34775 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
34778 :[FHLC
]) ac_mode
=$ac_tag; continue;;
34780 case $ac_mode$ac_tag in
34782 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
34783 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
34784 { (exit 1); exit 1; }; };;
34785 :[FH
]-) ac_tag
=-:-;;
34786 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
34803 -) ac_f
="$tmp/stdin";;
34804 *) # Look for the file first in the build tree, then in the source tree
34805 # (if the path is not absolute). The absolute path cannot be DOS-style,
34806 # because $ac_f cannot contain `:'.
34810 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
34812 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
34813 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
34814 { (exit 1); exit 1; }; };;
34816 ac_file_inputs
="$ac_file_inputs $ac_f"
34819 # Let's still pretend it is `configure' which instantiates (i.e., don't
34820 # use $as_me), people would be surprised to read:
34821 # /* config.h. Generated by config.status. */
34822 configure_input
="Generated from "`IFS=:
34823 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
34824 if test x
"$ac_file" != x-
; then
34825 configure_input
="$ac_file. $configure_input"
34826 { echo "$as_me:$LINENO: creating $ac_file" >&5
34827 echo "$as_me: creating $ac_file" >&6;}
34831 *:-:* |
*:-) cat >"$tmp/stdin";;
34836 ac_dir
=`$as_dirname -- "$ac_file" ||
34837 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34838 X"$ac_file" : 'X\(//\)[^/]' \| \
34839 X"$ac_file" : 'X\(//\)$' \| \
34840 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
34842 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34846 /^X\(\/\/\)[^/].*/{
34861 -*) as_dir
=.
/$as_dir;;
34863 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
34867 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
34868 *) as_qdir
=$as_dir;;
34870 as_dirs
="'$as_qdir' $as_dirs"
34871 as_dir
=`$as_dirname -- "$as_dir" ||
34872 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34873 X"$as_dir" : 'X\(//\)[^/]' \| \
34874 X"$as_dir" : 'X\(//\)$' \| \
34875 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34877 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34881 /^X\(\/\/\)[^/].*/{
34894 test -d "$as_dir" && break
34896 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
34897 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
34898 echo "$as_me: error: cannot create directory $as_dir" >&2;}
34899 { (exit 1); exit 1; }; }; }
34903 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
34905 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34906 # A ".." for each directory in $ac_dir_suffix.
34907 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
34908 case $ac_top_builddir_sub in
34909 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
34910 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
34913 ac_abs_top_builddir
=$ac_pwd
34914 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
34915 # for backward compatibility:
34916 ac_top_builddir
=$ac_top_build_prefix
34919 .
) # We are building in place.
34921 ac_top_srcdir
=$ac_top_builddir_sub
34922 ac_abs_top_srcdir
=$ac_pwd ;;
34923 [\\/]* | ?
:[\\/]* ) # Absolute name.
34924 ac_srcdir
=$srcdir$ac_dir_suffix;
34925 ac_top_srcdir
=$srcdir
34926 ac_abs_top_srcdir
=$srcdir ;;
34927 *) # Relative name.
34928 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
34929 ac_top_srcdir
=$ac_top_build_prefix$srcdir
34930 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
34932 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
34942 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
34943 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
34947 cat >>$CONFIG_STATUS <<\_ACEOF
34948 # If the template does not know about datarootdir, expand it.
34949 # FIXME: This hack should be removed a few years after 2.60.
34950 ac_datarootdir_hack
=; ac_datarootdir_seen
=
34952 case `sed -n '/datarootdir/ {
34961 ' $ac_file_inputs` in
34962 *datarootdir
*) ac_datarootdir_seen
=yes;;
34963 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
34964 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
34965 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
34967 cat >>$CONFIG_STATUS <<_ACEOF
34968 ac_datarootdir_hack='
34969 s&@datadir@&$datadir&g
34970 s&@docdir@&$docdir&g
34971 s&@infodir@&$infodir&g
34972 s&@localedir@&$localedir&g
34973 s&@mandir@&$mandir&g
34974 s&\\\${datarootdir}&$datarootdir&g' ;;
34978 # Neutralize VPATH when `$srcdir' = `.'.
34979 # Shell code in configure.ac might set extrasub.
34980 # FIXME: do we really want to maintain this feature?
34981 cat >>$CONFIG_STATUS <<_ACEOF
34985 cat >>$CONFIG_STATUS <<\_ACEOF
34987 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
34988 s
&@configure_input@
&$configure_input&;t t
34989 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
34990 s
&@srcdir@
&$ac_srcdir&;t t
34991 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
34992 s
&@top_srcdir@
&$ac_top_srcdir&;t t
34993 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
34994 s
&@builddir@
&$ac_builddir&;t t
34995 s
&@abs_builddir@
&$ac_abs_builddir&;t t
34996 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
34997 s
&@INSTALL@
&$ac_INSTALL&;t t
34998 $ac_datarootdir_hack
34999 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
35001 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
35002 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
35003 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
35004 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
35005 which seems to be undefined. Please make sure it is defined." >&5
35006 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
35007 which seems to be undefined. Please make sure it is defined." >&2;}
35011 -) cat "$tmp/out"; rm -f "$tmp/out";;
35012 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
35021 # Transform confdefs.h into a sed script `conftest.defines', that
35022 # substitutes the proper values into config.h.in to produce config.h.
35023 rm -f conftest.defines conftest.
tail
35024 # First, append a space to every undef/define line, to ease matching.
35025 echo 's/$/ /' >conftest.defines
35026 # Then, protect against being on the right side of a sed subst, or in
35027 # an unquoted here document, in config.status. If some macros were
35028 # called several times there might be several #defines for the same
35029 # symbol, which is useless. But do not sort them, since the last
35030 # AC_DEFINE must be honored.
35031 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
35032 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
35033 # NAME is the cpp macro being defined, VALUE is the value it is being given.
35034 # PARAMS is the parameter list in the macro definition--in most cases, it's
35035 # just an empty string.
35036 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
35037 ac_dB
='\\)[ (].*,\\1define\\2'
35045 s/^[ ]*#[ ]*define[ ][ ]*//
35050 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
35051 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
35052 ' >>conftest.defines
35054 # Remove the space that was appended to ease matching.
35055 # Then replace #undef with comments. This is necessary, for
35056 # example, in the case of _POSIX_SOURCE, which is predefined and required
35057 # on some systems where configure will not decide to define it.
35058 # (The regexp can be short, since the line contains either #define or #undef.)
35060 s,^[ #]*u.*,/* & */,' >>conftest.defines
35062 # Break up conftest.defines:
35063 ac_max_sed_lines
=50
35065 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
35066 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
35067 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
35069 ac_in
='$ac_file_inputs'
35070 ac_out
='"$tmp/out1"'
35071 ac_nxt
='"$tmp/out2"'
35075 # Write a here document:
35076 cat >>$CONFIG_STATUS <<_ACEOF
35077 # First, check the format of the line:
35078 cat >"\$tmp/defines.sed" <<\\CEOF
35079 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
35080 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
35084 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
35086 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
35087 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
35088 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
35089 grep . conftest.
tail >/dev
/null ||
break
35090 rm -f conftest.defines
35091 mv conftest.
tail conftest.defines
35093 rm -f conftest.defines conftest.
tail
35095 echo "ac_result=$ac_in" >>$CONFIG_STATUS
35096 cat >>$CONFIG_STATUS <<\_ACEOF
35097 if test x
"$ac_file" != x-
; then
35098 echo "/* $configure_input */" >"$tmp/config.h"
35099 cat "$ac_result" >>"$tmp/config.h"
35100 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
35101 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35102 echo "$as_me: $ac_file is unchanged" >&6;}
35105 mv "$tmp/config.h" $ac_file
35108 echo "/* $configure_input */"
35112 # Compute $ac_file's index in $config_headers.
35114 for _am_header
in $config_headers :; do
35115 case $_am_header in
35116 $ac_file |
$ac_file:* )
35119 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
35122 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
35123 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35124 X$ac_file : 'X\(//\)[^/]' \| \
35125 X$ac_file : 'X\(//\)$' \| \
35126 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
35128 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35132 /^X\(\/\/\)[^/].*/{
35144 s/.*/./; q'`/stamp-h
$_am_stamp_count
35147 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
35148 echo "$as_me: executing $ac_file commands" >&6;}
35153 case $ac_file$ac_mode in
35155 # Only add multilib support code if we just rebuilt the top-level
35157 case " $CONFIG_FILES " in
35159 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
35162 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
35163 # Strip MF so we end up with the name of the file.
35164 mf
=`echo "$mf" | sed -e 's/:.*$//'`
35165 # Check whether this is an Automake generated Makefile or not.
35166 # We used to match only the files named `Makefile.in', but
35167 # some people rename them; so instead we look at the file content.
35168 # Grep'ing the first line is not enough: some people post-process
35169 # each Makefile.in and add a new line on top of each file to say so.
35170 # So let's grep whole file.
35171 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
35172 dirpart
=`$as_dirname -- "$mf" ||
35173 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35174 X"$mf" : 'X\(//\)[^/]' \| \
35175 X"$mf" : 'X\(//\)$' \| \
35176 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
35178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35182 /^X\(\/\/\)[^/].*/{
35198 # Extract the definition of DEPDIR, am__include, and am__quote
35199 # from the Makefile without running `make'.
35200 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
35201 test -z "$DEPDIR" && continue
35202 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
35203 test -z "am__include" && continue
35204 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
35205 # When using ansi2knr, U may be empty or an underscore; expand it
35206 U
=`sed -n 's/^U = //p' < "$mf"`
35207 # Find all dependency output files, they are included files with
35208 # $(DEPDIR) in their names. We invoke sed twice because it is the
35209 # simplest approach to changing $(DEPDIR) to its actual value in the
35211 for file in `sed -n "
35212 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
35213 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
35214 # Make sure the directory exists.
35215 test -f "$dirpart/$file" && continue
35216 fdir
=`$as_dirname -- "$file" ||
35217 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35218 X"$file" : 'X\(//\)[^/]' \| \
35219 X"$file" : 'X\(//\)$' \| \
35220 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
35222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35226 /^X\(\/\/\)[^/].*/{
35239 { as_dir
=$dirpart/$fdir
35241 -*) as_dir
=.
/$as_dir;;
35243 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
35247 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
35248 *) as_qdir
=$as_dir;;
35250 as_dirs
="'$as_qdir' $as_dirs"
35251 as_dir
=`$as_dirname -- "$as_dir" ||
35252 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35253 X"$as_dir" : 'X\(//\)[^/]' \| \
35254 X"$as_dir" : 'X\(//\)$' \| \
35255 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
35257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35261 /^X\(\/\/\)[^/].*/{
35274 test -d "$as_dir" && break
35276 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
35277 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
35278 echo "$as_me: error: cannot create directory $as_dir" >&2;}
35279 { (exit 1); exit 1; }; }; }
35280 # echo "creating $dirpart/$file"
35281 echo '# dummy' > "$dirpart/$file"
35287 # See if we are running on zsh, and set the options which allow our
35288 # commands through without removal of \ escapes.
35289 if test -n "${ZSH_VERSION+set}" ; then
35290 setopt NO_GLOB_SUBST
35293 cfgfile
="${ofile}T"
35294 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
35297 cat <<_LT_EOF >> "$cfgfile"
35300 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
35301 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
35302 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
35303 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
35305 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
35306 # 2006, 2007 Free Software Foundation, Inc.
35308 # This file is part of GNU Libtool:
35309 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
35311 # This program is free software; you can redistribute it and/or modify
35312 # it under the terms of the GNU General Public License as published by
35313 # the Free Software Foundation; either version 2 of the License, or
35314 # (at your option) any later version.
35316 # This program is distributed in the hope that it will be useful, but
35317 # WITHOUT ANY WARRANTY; without even the implied warranty of
35318 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
35319 # General Public License for more details.
35321 # You should have received a copy of the GNU General Public License
35322 # along with this program; if not, a copy can be downloaded from
35323 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
35324 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
35325 # MA 02110-1301, USA.
35327 # As a special exception to the GNU General Public License, if you
35328 # distribute this file as part of a program that contains a
35329 # configuration script generated by Autoconf, you may include it under
35330 # the same distribution terms that you use for the rest of that program.
35333 # The names of the tagged configurations supported by this script.
35334 available_tags="FC "
35336 # ### BEGIN LIBTOOL CONFIG
35338 # Which release of libtool.m4 was used?
35339 macro_version=$macro_version
35340 macro_revision=$macro_revision
35342 # Whether or not to build shared libraries.
35343 build_libtool_libs=$enable_shared
35345 # Whether or not to build static libraries.
35346 build_old_libs=$enable_static
35348 # What type of objects to build.
35351 # Whether or not to optimize for fast installation.
35352 fast_install=$enable_fast_install
35355 host_alias=$host_alias
35359 # The build system.
35360 build_alias=$build_alias
35364 # A sed program that does not truncate output.
35367 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
35368 Xsed="\$SED -e 1s/^X//"
35370 # A grep program that handles long lines.
35376 # A literal string matcher.
35379 # A BSD- or MS-compatible name lister.
35382 # Whether we need soft or hard links.
35385 # What is the maximum length of a command?
35386 max_cmd_len=$max_cmd_len
35388 # Object file suffix (normally "o").
35391 # Executable file suffix (normally "").
35394 # whether the shell understands "unset".
35397 # turn spaces into newlines.
35400 # turn newlines into spaces.
35403 # How to create reloadable object files.
35404 reload_flag=$lt_reload_flag
35405 reload_cmds=$lt_reload_cmds
35407 # Method to check whether dependent libraries are shared objects.
35408 deplibs_check_method=$lt_deplibs_check_method
35410 # Command to use when deplibs_check_method == "file_magic".
35411 file_magic_cmd=$lt_file_magic_cmd
35415 AR_FLAGS=$lt_AR_FLAGS
35417 # A symbol stripping program.
35420 # Commands used to install an old-style archive.
35422 old_postinstall_cmds=$lt_old_postinstall_cmds
35423 old_postuninstall_cmds=$lt_old_postuninstall_cmds
35428 # LTCC compiler flags.
35429 LTCFLAGS=$lt_CFLAGS
35431 # Take the output of nm and produce a listing of raw symbols and C names.
35432 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
35434 # Transform the output of nm in a proper C declaration.
35435 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
35437 # Transform the output of nm in a C name address pair.
35438 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
35440 # The name of the directory that contains temporary libtool files.
35443 # Shell to use when invoking shell scripts.
35446 # An echo program that does not interpret backslashes.
35449 # Used to examine libraries when file_magic_cmd begins with "file".
35450 MAGIC_CMD=$MAGIC_CMD
35452 # Must we lock files when doing compilation?
35453 need_locks=$lt_need_locks
35455 # Old archive suffix (normally "a").
35458 # Shared library suffix (normally ".so").
35459 shrext_cmds=$lt_shrext_cmds
35461 # The commands to extract the exported symbol list from a shared archive.
35462 extract_expsyms_cmds=$lt_extract_expsyms_cmds
35464 # Variables whose values should be saved in libtool wrapper scripts and
35465 # restored at link time.
35466 variables_saved_for_relink=$lt_variables_saved_for_relink
35468 # Do we need the "lib" prefix for modules?
35469 need_lib_prefix=$need_lib_prefix
35471 # Do we need a version for libraries?
35472 need_version=$need_version
35474 # Library versioning type.
35475 version_type=$version_type
35477 # Shared library runtime path variable.
35478 runpath_var=$runpath_var
35480 # Shared library path variable.
35481 shlibpath_var=$shlibpath_var
35483 # Is shlibpath searched before the hard-coded library search path?
35484 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
35486 # Format of library name prefix.
35487 libname_spec=$lt_libname_spec
35489 # List of archive names. First name is the real one, the rest are links.
35490 # The last name is the one that the linker finds with -lNAME
35491 library_names_spec=$lt_library_names_spec
35493 # The coded name of the library, if different from the real name.
35494 soname_spec=$lt_soname_spec
35496 # Command to use after installation of a shared archive.
35497 postinstall_cmds=$lt_postinstall_cmds
35499 # Command to use after uninstallation of a shared archive.
35500 postuninstall_cmds=$lt_postuninstall_cmds
35502 # Commands used to finish a libtool library installation in a directory.
35503 finish_cmds=$lt_finish_cmds
35505 # As "finish_cmds", except a single script fragment to be evaled but
35507 finish_eval=$lt_finish_eval
35509 # Whether we should hardcode library paths into libraries.
35510 hardcode_into_libs=$hardcode_into_libs
35512 # Compile-time system search path for libraries.
35513 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
35515 # Run-time system search path for libraries.
35516 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
35518 # Whether dlopen is supported.
35519 dlopen_support=$enable_dlopen
35521 # Whether dlopen of programs is supported.
35522 dlopen_self=$enable_dlopen_self
35524 # Whether dlopen of statically linked programs is supported.
35525 dlopen_self_static=$enable_dlopen_self_static
35527 # Commands to strip libraries.
35528 old_striplib=$lt_old_striplib
35529 striplib=$lt_striplib
35532 # The linker used to build libraries.
35535 # Commands used to build an old-style archive.
35536 old_archive_cmds=$lt_old_archive_cmds
35538 # A language specific compiler.
35541 # Is the compiler the GNU compiler?
35544 # Compiler flag to turn off builtin functions.
35545 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
35547 # How to pass a linker flag through the compiler.
35548 wl=$lt_lt_prog_compiler_wl
35550 # Additional compiler flags for building library objects.
35551 pic_flag=$lt_lt_prog_compiler_pic
35553 # Compiler flag to prevent dynamic linking.
35554 link_static_flag=$lt_lt_prog_compiler_static
35556 # Does compiler simultaneously support -c and -o options?
35557 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
35559 # Whether or not to add -lc for building shared libraries.
35560 build_libtool_need_lc=$archive_cmds_need_lc
35562 # Whether or not to disallow shared libs when runtime libs are static.
35563 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
35565 # Compiler flag to allow reflexive dlopens.
35566 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
35568 # Compiler flag to generate shared objects directly from archives.
35569 whole_archive_flag_spec=$lt_whole_archive_flag_spec
35571 # Whether the compiler copes with passing no objects directly.
35572 compiler_needs_object=$lt_compiler_needs_object
35574 # Create an old-style archive from a shared archive.
35575 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
35577 # Create a temporary old-style archive to link instead of a shared archive.
35578 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
35580 # Commands used to build a shared archive.
35581 archive_cmds=$lt_archive_cmds
35582 archive_expsym_cmds=$lt_archive_expsym_cmds
35584 # Commands used to build a loadable module if different from building
35585 # a shared archive.
35586 module_cmds=$lt_module_cmds
35587 module_expsym_cmds=$lt_module_expsym_cmds
35589 # Whether we are building with GNU ld or not.
35590 with_gnu_ld=$lt_with_gnu_ld
35592 # Flag that allows shared libraries with undefined symbols to be built.
35593 allow_undefined_flag=$lt_allow_undefined_flag
35595 # Flag that enforces no undefined symbols.
35596 no_undefined_flag=$lt_no_undefined_flag
35598 # Flag to hardcode \$libdir into a binary during linking.
35599 # This must work even if \$libdir does not exist
35600 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
35602 # If ld is used when linking, flag to hardcode \$libdir into a binary
35603 # during linking. This must work even if \$libdir does not exist.
35604 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
35606 # Whether we need a single "-rpath" flag with a separated argument.
35607 hardcode_libdir_separator=$lt_hardcode_libdir_separator
35609 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35610 # DIR into the resulting binary.
35611 hardcode_direct=$hardcode_direct
35613 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35614 # DIR into the resulting binary and the resulting library dependency is
35615 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35616 # library is relocated.
35617 hardcode_direct_absolute=$hardcode_direct_absolute
35619 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35620 # into the resulting binary.
35621 hardcode_minus_L=$hardcode_minus_L
35623 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35624 # into the resulting binary.
35625 hardcode_shlibpath_var=$hardcode_shlibpath_var
35627 # Set to "yes" if building a shared library automatically hardcodes DIR
35628 # into the library and all subsequent libraries and executables linked
35630 hardcode_automatic=$hardcode_automatic
35632 # Set to yes if linker adds runtime paths of dependent libraries
35633 # to runtime path list.
35634 inherit_rpath=$inherit_rpath
35636 # Whether libtool must link a program against all its dependency libraries.
35637 link_all_deplibs=$link_all_deplibs
35639 # Fix the shell variable \$srcfile for the compiler.
35640 fix_srcfile_path=$lt_fix_srcfile_path
35642 # Set to "yes" if exported symbols are required.
35643 always_export_symbols=$always_export_symbols
35645 # The commands to list exported symbols.
35646 export_symbols_cmds=$lt_export_symbols_cmds
35648 # Symbols that should not be listed in the preloaded symbols.
35649 exclude_expsyms=$lt_exclude_expsyms
35651 # Symbols that must always be exported.
35652 include_expsyms=$lt_include_expsyms
35654 # Commands necessary for linking programs (against libraries) with templates.
35655 prelink_cmds=$lt_prelink_cmds
35657 # Specify filename containing input files.
35658 file_list_spec=$lt_file_list_spec
35660 # How to hardcode a shared library path into an executable.
35661 hardcode_action=$hardcode_action
35663 # Dependencies to place before and after the objects being linked to
35664 # create a shared library.
35665 predep_objects=$lt_predep_objects
35666 postdep_objects=$lt_postdep_objects
35667 predeps=$lt_predeps
35668 postdeps=$lt_postdeps
35670 # The library search path used internally by the compiler when linking
35671 # a shared library.
35672 compiler_lib_search_path=$lt_compiler_lib_search_path
35674 # ### END LIBTOOL CONFIG
35680 cat <<\_LT_EOF
>> "$cfgfile"
35681 # AIX sometimes has problems with the GCC collect2 program. For some
35682 # reason, if we set the COLLECT_NAMES environment variable, the problems
35683 # vanish in a puff of smoke.
35684 if test "X${COLLECT_NAMES+set}" != Xset
; then
35686 export COLLECT_NAMES
35693 ltmain
="$ac_aux_dir/ltmain.sh"
35696 # We use sed instead of cat because bash on DJGPP gets confused if
35697 # if finds mixed CR/LF and LF-only lines. Since sed operates in
35698 # text mode, it properly converts lines to CR/LF. This bash problem
35699 # is reportedly fixed, but why not run on old versions too?
35700 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
35701 ||
(rm -f "$cfgfile"; exit 1)
35705 cat << \_LT_EOF
>> "$cfgfile"
35706 # func_dirname file append nondir_replacement
35707 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
35708 # otherwise set result to NONDIR_REPLACEMENT.
35712 */*) func_dirname_result
="${1%/*}${2}" ;;
35713 * ) func_dirname_result
="${3}" ;;
35717 # func_basename file
35720 func_basename_result
="${1##*/}"
35723 # func_stripname prefix suffix name
35724 # strip PREFIX and SUFFIX off of NAME.
35725 # PREFIX and SUFFIX must not contain globbing or regex special
35726 # characters, hashes, percent signs, but SUFFIX may contain a leading
35727 # dot (in which case that matches only a dot).
35730 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
35731 # positional parameters, so assign one to ordinary parameter first.
35732 func_stripname_result
=${3}
35733 func_stripname_result
=${func_stripname_result#"${1}"}
35734 func_stripname_result
=${func_stripname_result%"${2}"}
35740 func_opt_split_opt
=${1%%=*}
35741 func_opt_split_arg
=${1#*=}
35748 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
35749 *) func_lo2o_result
=${1} ;;
35754 *) # Bourne compatible functions.
35755 cat << \_LT_EOF
>> "$cfgfile"
35756 # func_dirname file append nondir_replacement
35757 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
35758 # otherwise set result to NONDIR_REPLACEMENT.
35761 # Extract subdirectory from the argument.
35762 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
35763 if test "X$func_dirname_result" = "X${1}"; then
35764 func_dirname_result
="${3}"
35766 func_dirname_result
="$func_dirname_result${2}"
35770 # func_basename file
35773 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
35776 # func_stripname prefix suffix name
35777 # strip PREFIX and SUFFIX off of NAME.
35778 # PREFIX and SUFFIX must not contain globbing or regex special
35779 # characters, hashes, percent signs, but SUFFIX may contain a leading
35780 # dot (in which case that matches only a dot).
35781 # func_strip_suffix prefix name
35785 .
*) func_stripname_result
=`$ECHO "X${3}" \
35786 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
35787 *) func_stripname_result
=`$ECHO "X${3}" \
35788 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
35793 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
35794 my_sed_long_arg
='1s/^-[^=]*=//'
35799 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
35800 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
35806 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
35811 case $lt_shell_append in
35813 cat << \_LT_EOF
>> "$cfgfile"
35815 # func_append var value
35816 # Append VALUE to the end of shell variable VAR.
35824 cat << \_LT_EOF
>> "$cfgfile"
35826 # func_append var value
35827 # Append VALUE to the end of shell variable VAR.
35837 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
35838 ||
(rm -f "$cfgfile"; exit 1)
35840 mv -f "$cfgfile" "$ofile" ||
35841 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
35845 cat <<_LT_EOF >> "$ofile"
35847 # ### BEGIN LIBTOOL TAG CONFIG: FC
35849 # The linker used to build libraries.
35852 # Commands used to build an old-style archive.
35853 old_archive_cmds=$lt_old_archive_cmds_FC
35855 # A language specific compiler.
35858 # Is the compiler the GNU compiler?
35861 # Compiler flag to turn off builtin functions.
35862 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
35864 # How to pass a linker flag through the compiler.
35865 wl=$lt_lt_prog_compiler_wl_FC
35867 # Additional compiler flags for building library objects.
35868 pic_flag=$lt_lt_prog_compiler_pic_FC
35870 # Compiler flag to prevent dynamic linking.
35871 link_static_flag=$lt_lt_prog_compiler_static_FC
35873 # Does compiler simultaneously support -c and -o options?
35874 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
35876 # Whether or not to add -lc for building shared libraries.
35877 build_libtool_need_lc=$archive_cmds_need_lc_FC
35879 # Whether or not to disallow shared libs when runtime libs are static.
35880 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
35882 # Compiler flag to allow reflexive dlopens.
35883 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
35885 # Compiler flag to generate shared objects directly from archives.
35886 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
35888 # Whether the compiler copes with passing no objects directly.
35889 compiler_needs_object=$lt_compiler_needs_object_FC
35891 # Create an old-style archive from a shared archive.
35892 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
35894 # Create a temporary old-style archive to link instead of a shared archive.
35895 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
35897 # Commands used to build a shared archive.
35898 archive_cmds=$lt_archive_cmds_FC
35899 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
35901 # Commands used to build a loadable module if different from building
35902 # a shared archive.
35903 module_cmds=$lt_module_cmds_FC
35904 module_expsym_cmds=$lt_module_expsym_cmds_FC
35906 # Whether we are building with GNU ld or not.
35907 with_gnu_ld=$lt_with_gnu_ld_FC
35909 # Flag that allows shared libraries with undefined symbols to be built.
35910 allow_undefined_flag=$lt_allow_undefined_flag_FC
35912 # Flag that enforces no undefined symbols.
35913 no_undefined_flag=$lt_no_undefined_flag_FC
35915 # Flag to hardcode \$libdir into a binary during linking.
35916 # This must work even if \$libdir does not exist
35917 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
35919 # If ld is used when linking, flag to hardcode \$libdir into a binary
35920 # during linking. This must work even if \$libdir does not exist.
35921 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
35923 # Whether we need a single "-rpath" flag with a separated argument.
35924 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
35926 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35927 # DIR into the resulting binary.
35928 hardcode_direct=$hardcode_direct_FC
35930 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35931 # DIR into the resulting binary and the resulting library dependency is
35932 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35933 # library is relocated.
35934 hardcode_direct_absolute=$hardcode_direct_absolute_FC
35936 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35937 # into the resulting binary.
35938 hardcode_minus_L=$hardcode_minus_L_FC
35940 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35941 # into the resulting binary.
35942 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
35944 # Set to "yes" if building a shared library automatically hardcodes DIR
35945 # into the library and all subsequent libraries and executables linked
35947 hardcode_automatic=$hardcode_automatic_FC
35949 # Set to yes if linker adds runtime paths of dependent libraries
35950 # to runtime path list.
35951 inherit_rpath=$inherit_rpath_FC
35953 # Whether libtool must link a program against all its dependency libraries.
35954 link_all_deplibs=$link_all_deplibs_FC
35956 # Fix the shell variable \$srcfile for the compiler.
35957 fix_srcfile_path=$lt_fix_srcfile_path_FC
35959 # Set to "yes" if exported symbols are required.
35960 always_export_symbols=$always_export_symbols_FC
35962 # The commands to list exported symbols.
35963 export_symbols_cmds=$lt_export_symbols_cmds_FC
35965 # Symbols that should not be listed in the preloaded symbols.
35966 exclude_expsyms=$lt_exclude_expsyms_FC
35968 # Symbols that must always be exported.
35969 include_expsyms=$lt_include_expsyms_FC
35971 # Commands necessary for linking programs (against libraries) with templates.
35972 prelink_cmds=$lt_prelink_cmds_FC
35974 # Specify filename containing input files.
35975 file_list_spec=$lt_file_list_spec_FC
35977 # How to hardcode a shared library path into an executable.
35978 hardcode_action=$hardcode_action_FC
35980 # Dependencies to place before and after the objects being linked to
35981 # create a shared library.
35982 predep_objects=$lt_predep_objects_FC
35983 postdep_objects=$lt_postdep_objects_FC
35984 predeps=$lt_predeps_FC
35985 postdeps=$lt_postdeps_FC
35987 # The library search path used internally by the compiler when linking
35988 # a shared library.
35989 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
35991 # ### END LIBTOOL TAG CONFIG: FC
35996 if test "$GCC" = yes; then
35997 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
35999 echo "/* generated for $CC */" > tmp-stdint.h
36002 sed 's/^ *//' >> tmp-stdint.h
<<EOF
36004 #ifndef GCC_GENERATED_STDINT_H
36005 #define GCC_GENERATED_STDINT_H 1
36007 #include <sys/types.h>
36010 if test "$acx_cv_header_stdint" != stdint.h
; then
36011 echo "#include <stddef.h>" >> tmp-stdint.h
36013 if test "$acx_cv_header_stdint" != stddef.h
; then
36014 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
36017 sed 's/^ *//' >> tmp-stdint.h
<<EOF
36018 /* glibc uses these symbols as guards to prevent redefinitions. */
36019 #ifdef __int8_t_defined
36024 #ifdef __uint32_t_defined
36030 # ----------------- done header, emit basic int types -------------
36031 if test "$acx_cv_header_stdint" = stddef.h
; then
36032 sed 's/^ *//' >> tmp-stdint.h
<<EOF
36036 #ifndef __uint8_t_defined
36037 #define __uint8_t_defined
36038 typedef unsigned $acx_cv_type_int8_t uint8_t;
36044 #ifndef __uint16_t_defined
36045 #define __uint16_t_defined
36046 typedef unsigned $acx_cv_type_int16_t uint16_t;
36052 #ifndef __uint32_t_defined
36053 #define __uint32_t_defined
36054 typedef unsigned $acx_cv_type_int32_t uint32_t;
36060 #ifndef __int8_t_defined
36061 #define __int8_t_defined
36062 typedef $acx_cv_type_int8_t int8_t;
36068 #ifndef __int16_t_defined
36069 #define __int16_t_defined
36070 typedef $acx_cv_type_int16_t int16_t;
36076 #ifndef __int32_t_defined
36077 #define __int32_t_defined
36078 typedef $acx_cv_type_int32_t int32_t;
36082 elif test "$ac_cv_type_u_int32_t" = yes; then
36083 sed 's/^ *//' >> tmp-stdint.h
<<EOF
36085 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
36098 #ifndef __uint8_t_defined
36099 #define __uint8_t_defined
36100 typedef u_int8_t uint8_t;
36106 #ifndef __uint16_t_defined
36107 #define __uint16_t_defined
36108 typedef u_int16_t uint16_t;
36114 #ifndef __uint32_t_defined
36115 #define __uint32_t_defined
36116 typedef u_int32_t uint32_t;
36121 sed 's/^ *//' >> tmp-stdint.h
<<EOF
36123 /* Some systems have guard macros to prevent redefinitions, define them. */
36145 # ------------- done basic int types, emit int64_t types ------------
36146 if test "$ac_cv_type_uint64_t" = yes; then
36147 sed 's/^ *//' >> tmp-stdint.h
<<EOF
36149 /* system headers have good uint64_t and int64_t */
36157 elif test "$ac_cv_type_u_int64_t" = yes; then
36158 sed 's/^ *//' >> tmp-stdint.h
<<EOF
36160 /* system headers have an u_int64_t (and int64_t) */
36166 #ifndef __uint64_t_defined
36167 #define __uint64_t_defined
36168 typedef u_int64_t uint64_t;
36172 elif test -n "$acx_cv_type_int64_t"; then
36173 sed 's/^ *//' >> tmp-stdint.h
<<EOF
36175 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
36178 typedef $acx_cv_type_int64_t int64_t;
36182 #ifndef __uint64_t_defined
36183 #define __uint64_t_defined
36184 typedef unsigned $acx_cv_type_int64_t uint64_t;
36189 sed 's/^ *//' >> tmp-stdint.h
<<EOF
36191 /* some common heuristics for int64_t, using compiler-specific tests */
36192 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
36195 #ifndef __int64_t_defined
36196 typedef long long int64_t;
36201 typedef unsigned long long uint64_t;
36204 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
36205 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
36206 does not implement __extension__. But that compiler doesn't define
36208 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
36209 # define __extension__
36214 __extension__ typedef long long int64_t;
36218 __extension__ typedef unsigned long long uint64_t;
36221 #elif !defined __STRICT_ANSI__
36222 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
36226 typedef __int64 int64_t;
36230 typedef unsigned __int64 uint64_t;
36232 # endif /* compiler */
36234 #endif /* ANSI version */
36238 # ------------- done int64_t types, emit intptr types ------------
36239 if test "$ac_cv_type_uintptr_t" != yes; then
36240 sed 's/^ *//' >> tmp-stdint.h
<<EOF
36242 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
36243 #ifndef __uintptr_t_defined
36244 typedef u$acx_cv_type_intptr_t uintptr_t;
36246 #ifndef __intptr_t_defined
36247 typedef $acx_cv_type_intptr_t intptr_t;
36252 # ------------- done intptr types, emit int_least types ------------
36253 if test "$ac_cv_type_int_least32_t" != yes; then
36254 sed 's/^ *//' >> tmp-stdint.h
<<EOF
36256 /* Define int_least types */
36257 typedef int8_t int_least8_t;
36258 typedef int16_t int_least16_t;
36259 typedef int32_t int_least32_t;
36261 typedef int64_t int_least64_t;
36264 typedef uint8_t uint_least8_t;
36265 typedef uint16_t uint_least16_t;
36266 typedef uint32_t uint_least32_t;
36268 typedef uint64_t uint_least64_t;
36273 # ------------- done intptr types, emit int_fast types ------------
36274 if test "$ac_cv_type_int_fast32_t" != yes; then
36275 sed 's/^ *//' >> tmp-stdint.h
<<EOF
36277 /* Define int_fast types. short is often slow */
36278 typedef int8_t int_fast8_t;
36279 typedef int int_fast16_t;
36280 typedef int32_t int_fast32_t;
36282 typedef int64_t int_fast64_t;
36285 typedef uint8_t uint_fast8_t;
36286 typedef unsigned int uint_fast16_t;
36287 typedef uint32_t uint_fast32_t;
36289 typedef uint64_t uint_fast64_t;
36294 if test "$ac_cv_type_uintmax_t" != yes; then
36295 sed 's/^ *//' >> tmp-stdint.h
<<EOF
36297 /* Define intmax based on what we found */
36299 typedef int64_t intmax_t;
36301 typedef long intmax_t;
36304 typedef uint64_t uintmax_t;
36306 typedef unsigned long uintmax_t;
36311 sed 's/^ *//' >> tmp-stdint.h
<<EOF
36313 #endif /* GCC_GENERATED_STDINT_H */
36316 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
36319 mv -f tmp-stdint.h gstdint.h
36328 { (exit 0); exit 0; }
36330 chmod +x
$CONFIG_STATUS
36331 ac_clean_files
=$ac_clean_files_save
36334 # configure is writing to config.log, and then calls config.status.
36335 # config.status does its own redirection, appending to config.log.
36336 # Unfortunately, on DOS this fails, as config.log is still kept open
36337 # by configure, so config.status won't be able to write to it; its
36338 # output is simply discarded. So we exec the FD to /dev/null,
36339 # effectively closing config.log, so it can be properly (re)opened and
36340 # appended to by config.status. When coming back to configure, we
36341 # need to make the FD available again.
36342 if test "$no_create" != yes; then
36344 ac_config_status_args
=
36345 test "$silent" = yes &&
36346 ac_config_status_args
="$ac_config_status_args --quiet"
36348 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
36350 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36351 # would make configure fail if this is the last instruction.
36352 $ac_cs_success ||
{ (exit 1); exit 1; }