2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.2.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='GNU Fortran Runtime Library'
269 PACKAGE_TARNAME='libgfortran'
270 PACKAGE_VERSION='0.2'
271 PACKAGE_STRING='GNU Fortran Runtime Library 0.2'
274 # Factoring default headers for most tests.
275 ac_includes_default="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT AM_FCFLAGS AM_CFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran CPP CPPFLAGS EGREP FPU_HOST_HEADER LIBOBJS LTLIBOBJS'
314 # Initialize some variables set by options.
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name=s,x,x,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
373 -build | --build | --buil | --bui | --bu)
374 ac_prev=build_alias ;;
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376 build_alias=$ac_optarg ;;
378 -cache-file | --cache-file | --cache-fil | --cache-fi \
379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380 ac_prev=cache_file ;;
381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383 cache_file=$ac_optarg ;;
386 cache_file=config.cache ;;
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 datadir=$ac_optarg ;;
394 -disable-* | --disable-*)
395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* | --enable-*)
404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418 | --exec | --exe | --ex)
419 ac_prev=exec_prefix ;;
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422 | --exec=* | --exe=* | --ex=*)
423 exec_prefix=$ac_optarg ;;
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
429 -help | --help | --hel | --he | -h)
431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432 ac_init_help=recursive ;;
433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434 ac_init_help=short ;;
436 -host | --host | --hos | --ho)
437 ac_prev=host_alias ;;
438 -host=* | --host=* | --hos=* | --ho=*)
439 host_alias=$ac_optarg ;;
441 -includedir | --includedir | --includedi | --included | --include \
442 | --includ | --inclu | --incl | --inc)
443 ac_prev=includedir ;;
444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445 | --includ=* | --inclu=* | --incl=* | --inc=*)
446 includedir=$ac_optarg ;;
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
453 -libdir | --libdir | --libdi | --libd)
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459 | --libexe | --libex | --libe)
460 ac_prev=libexecdir ;;
461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462 | --libexe=* | --libex=* | --libe=*)
463 libexecdir=$ac_optarg ;;
465 -localstatedir | --localstatedir | --localstatedi | --localstated \
466 | --localstate | --localstat | --localsta | --localst \
467 | --locals | --local | --loca | --loc | --lo)
468 ac_prev=localstatedir ;;
469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472 localstatedir=$ac_optarg ;;
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480 # Obsolete; use --without-fp.
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
491 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493 | --oldin | --oldi | --old | --ol | --o)
494 ac_prev=oldincludedir ;;
495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498 oldincludedir=$ac_optarg ;;
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
505 -program-prefix | --program-prefix | --program-prefi | --program-pref \
506 | --program-pre | --program-pr | --program-p)
507 ac_prev=program_prefix ;;
508 -program-prefix=* | --program-prefix=* | --program-prefi=* \
509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510 program_prefix=$ac_optarg ;;
512 -program-suffix | --program-suffix | --program-suffi | --program-suff \
513 | --program-suf | --program-su | --program-s)
514 ac_prev=program_suffix ;;
515 -program-suffix=* | --program-suffix=* | --program-suffi=* \
516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517 program_suffix=$ac_optarg ;;
519 -program-transform-name | --program-transform-name \
520 | --program-transform-nam | --program-transform-na \
521 | --program-transform-n | --program-transform- \
522 | --program-transform | --program-transfor \
523 | --program-transfo | --program-transf \
524 | --program-trans | --program-tran \
525 | --progr-tra | --program-tr | --program-t)
526 ac_prev=program_transform_name ;;
527 -program-transform-name=* | --program-transform-name=* \
528 | --program-transform-nam=* | --program-transform-na=* \
529 | --program-transform-n=* | --program-transform-=* \
530 | --program-transform=* | --program-transfor=* \
531 | --program-transfo=* | --program-transf=* \
532 | --program-trans=* | --program-tran=* \
533 | --progr-tra=* | --program-tr=* | --program-t=*)
534 program_transform_name=$ac_optarg ;;
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537 | -silent | --silent | --silen | --sile | --sil)
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 sbindir=$ac_optarg ;;
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548 | --sharedst | --shareds | --shared | --share | --shar \
550 ac_prev=sharedstatedir ;;
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 sharedstatedir=$ac_optarg ;;
557 -site | --site | --sit)
559 -site=* | --site=* | --sit=*)
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568 | --syscon | --sysco | --sysc | --sys | --sy)
569 ac_prev=sysconfdir ;;
570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572 sysconfdir=$ac_optarg ;;
574 -target | --target | --targe | --targ | --tar | --ta | --t)
575 ac_prev=target_alias ;;
576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577 target_alias=$ac_optarg ;;
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
582 -version | --version | --versio | --versi | --vers | -V)
586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* | --without-*)
599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612 | --x-incl | --x-inc | --x-in | --x-i)
613 ac_prev=x_includes ;;
614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616 x_includes=$ac_optarg ;;
618 -x-libraries | --x-libraries | --x-librarie | --x-librari \
619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620 ac_prev=x_libraries ;;
621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623 x_libraries=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
660 eval ac_val=$`echo $ac_var`
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val=$`echo $ac_var`
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689 if test "x$build_alias" = x; then
690 cross_compiling=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701 test "$silent" = yes && exec 6>/dev/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_FC_set=${FC+set}
754 ac_cv_env_FC_set=${FC+set}
755 ac_cv_env_FC_value=$FC
756 ac_env_FCFLAGS_set=${FCFLAGS+set}
757 ac_env_FCFLAGS_value=$FCFLAGS
758 ac_cv_env_FCFLAGS_set=${FCFLAGS+set}
759 ac_cv_env_FCFLAGS_value=$FCFLAGS
760 ac_env_LDFLAGS_set=${LDFLAGS+set}
761 ac_env_LDFLAGS_value=$LDFLAGS
762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value=$LDFLAGS
764 ac_env_CPP_set=${CPP+set}
765 ac_env_CPP_value=$CPP
766 ac_cv_env_CPP_set=${CPP+set}
767 ac_cv_env_CPP_value=$CPP
768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
774 # Report the --help message.
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
780 \`configure' configures GNU Fortran Runtime Library 0.2 to adapt to many kinds of systems.
782 Usage: $0 [OPTION]... [VAR=VALUE]...
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE. See below for descriptions of some of the useful variables.
787 Defaults for the options are specified in brackets.
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
803 Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
814 For better control, use the options below.
816 Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
834 --program-prefix=PREFIX prepend PREFIX to installed program names
835 --program-suffix=SUFFIX append SUFFIX to installed program names
836 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
839 --build=BUILD configure for building on BUILD [guessed]
840 --host=HOST cross-compile to build programs to run on HOST [BUILD]
841 --target=TARGET configure for building compilers for TARGET [HOST]
845 if test -n "$ac_init_help"; then
846 case $ac_init_help in
847 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.2:";;
852 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
853 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
854 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
855 --enable-maintainer-mode enable make rules and dependencies not useful
856 (and sometimes confusing) to the casual installer
857 --enable-multilib build many library versions (default)
858 --enable-shared=PKGS build shared libraries default=yes
859 --enable-static=PKGS build static libraries default=yes
860 --enable-fast-install=PKGS optimize for fast installation default=yes
861 --disable-libtool-lock avoid locking (might break parallel builds)
862 --disable-largefile omit support for large files
865 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
866 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
867 --with-gnu-ld assume the C compiler uses GNU ld default=no
868 --with-pic try to use only PIC/non-PIC objects default=use both
870 Some influential environment variables:
871 CC C compiler command
872 CFLAGS C compiler flags
873 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
874 nonstandard directory <lib dir>
875 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
876 headers in a nonstandard directory <include dir>
877 FC Fortran compiler command
878 FCFLAGS Fortran compiler flags
881 Use these variables to override the choices made by `configure' or to help
882 it to find libraries and programs with nonstandard names/locations.
887 if test "$ac_init_help" = "recursive"; then
888 # If there are subdirs, report their specific --help.
890 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
891 test -d $ac_dir || continue
894 if test "$ac_dir" != .; then
895 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
896 # A "../" for each directory in $ac_dir_suffix.
897 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
899 ac_dir_suffix= ac_top_builddir=
903 .) # No --srcdir option. We are building in place.
905 if test -z "$ac_top_builddir"; then
908 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
910 [\\/]* | ?:[\\/]* ) # Absolute path.
911 ac_srcdir=$srcdir$ac_dir_suffix;
912 ac_top_srcdir=$srcdir ;;
914 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
915 ac_top_srcdir=$ac_top_builddir$srcdir ;;
918 # Do not use `cd foo && pwd` to compute absolute paths, because
919 # the directories may not exist.
921 .) ac_abs_builddir="$ac_dir";;
924 .) ac_abs_builddir=`pwd`;;
925 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
926 *) ac_abs_builddir=`pwd`/"$ac_dir";;
929 case $ac_abs_builddir in
930 .) ac_abs_top_builddir=${ac_top_builddir}.;;
932 case ${ac_top_builddir}. in
933 .) ac_abs_top_builddir=$ac_abs_builddir;;
934 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
935 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
938 case $ac_abs_builddir in
939 .) ac_abs_srcdir=$ac_srcdir;;
942 .) ac_abs_srcdir=$ac_abs_builddir;;
943 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
944 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
947 case $ac_abs_builddir in
948 .) ac_abs_top_srcdir=$ac_top_srcdir;;
950 case $ac_top_srcdir in
951 .) ac_abs_top_srcdir=$ac_abs_builddir;;
952 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
953 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
958 # Check for guested configure; otherwise get Cygnus style configure.
959 if test -f $ac_srcdir/configure.gnu; then
961 $SHELL $ac_srcdir/configure.gnu --help=recursive
962 elif test -f $ac_srcdir/configure; then
964 $SHELL $ac_srcdir/configure --help=recursive
965 elif test -f $ac_srcdir/configure.ac ||
966 test -f $ac_srcdir/configure.in; then
970 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
976 test -n "$ac_init_help" && exit 0
977 if $ac_init_version; then
979 GNU Fortran Runtime Library configure 0.2
980 generated by GNU Autoconf 2.59
982 Copyright (C) 2003 Free Software Foundation, Inc.
983 This configure script is free software; the Free Software Foundation
984 gives unlimited permission to copy, distribute and modify it.
990 This file contains any messages produced by compilers while
991 running configure, to aid debugging if configure makes a mistake.
993 It was created by GNU Fortran Runtime Library $as_me 0.2, which was
994 generated by GNU Autoconf 2.59. Invocation command line was
1005 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1006 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1007 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1008 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1009 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1011 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1012 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1014 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1015 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1016 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1017 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1018 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1019 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1020 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1028 test -z "$as_dir" && as_dir=.
1029 echo "PATH: $as_dir"
1044 # Keep a trace of the command line.
1045 # Strip out --no-create and --no-recursion so they do not pile up.
1046 # Strip out --silent because we don't want to record it for future runs.
1047 # Also quote any args containing shell meta-characters.
1048 # Make two passes to allow for proper duplicate-argument suppression.
1053 ac_must_keep_next=false
1059 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1060 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1061 | -silent | --silent | --silen | --sile | --sil)
1063 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1064 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1067 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1069 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1070 if test $ac_must_keep_next = true; then
1071 ac_must_keep_next=false # Got value, back to normal.
1074 *=* | --config-cache | -C | -disable-* | --disable-* \
1075 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1076 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1077 | -with-* | --with-* | -without-* | --without-* | --x)
1078 case "$ac_configure_args0 " in
1079 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1082 -* ) ac_must_keep_next=true ;;
1085 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1086 # Get rid of the leading space.
1092 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1093 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1095 # When interrupted or exit'd, cleanup temporary files, and complete
1096 # config.log. We remove comments because anyway the quotes in there
1097 # would cause problems or look ugly.
1098 # WARNING: Be sure not to use single quotes in there, as some shells,
1099 # such as our DU 5.0 friend, will then `close' the trap.
1100 trap 'exit_status=$?
1101 # Save into config.log some information that might help in debugging.
1106 ## ---------------- ##
1107 ## Cache variables. ##
1108 ## ---------------- ##
1111 # The following way of writing the cache mishandles newlines in values,
1114 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1117 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1118 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1122 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1129 ## ----------------- ##
1130 ## Output variables. ##
1131 ## ----------------- ##
1134 for ac_var in $ac_subst_vars
1136 eval ac_val=$`echo $ac_var`
1137 echo "$ac_var='"'"'$ac_val'"'"'"
1141 if test -n "$ac_subst_files"; then
1148 for ac_var in $ac_subst_files
1150 eval ac_val=$`echo $ac_var`
1151 echo "$ac_var='"'"'$ac_val'"'"'"
1156 if test -s confdefs.h; then
1163 sed "/^$/d" confdefs.h | sort
1166 test "$ac_signal" != 0 &&
1167 echo "$as_me: caught signal $ac_signal"
1168 echo "$as_me: exit $exit_status"
1170 rm -f core *.core &&
1171 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1174 for ac_signal in 1 2 13 15; do
1175 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1179 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1180 rm -rf conftest* confdefs.h
1181 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1184 # Predefined preprocessor variables.
1186 cat >>confdefs.h <<_ACEOF
1187 #define PACKAGE_NAME "$PACKAGE_NAME"
1191 cat >>confdefs.h <<_ACEOF
1192 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1196 cat >>confdefs.h <<_ACEOF
1197 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1201 cat >>confdefs.h <<_ACEOF
1202 #define PACKAGE_STRING "$PACKAGE_STRING"
1206 cat >>confdefs.h <<_ACEOF
1207 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1211 # Let the site file select an alternate cache file if it wants to.
1212 # Prefer explicitly selected file to automatically selected ones.
1213 if test -z "$CONFIG_SITE"; then
1214 if test "x$prefix" != xNONE; then
1215 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1217 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1220 for ac_site_file in $CONFIG_SITE; do
1221 if test -r "$ac_site_file"; then
1222 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1223 echo "$as_me: loading site script $ac_site_file" >&6;}
1224 sed 's/^/| /' "$ac_site_file" >&5
1229 if test -r "$cache_file"; then
1230 # Some versions of bash will fail to source /dev/null (special
1231 # files actually), so we avoid doing that.
1232 if test -f "$cache_file"; then
1233 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1234 echo "$as_me: loading cache $cache_file" >&6;}
1236 [\\/]* | ?:[\\/]* ) . $cache_file;;
1237 *) . ./$cache_file;;
1241 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1242 echo "$as_me: creating cache $cache_file" >&6;}
1246 # Check that the precious variables saved in the cache have kept the same
1248 ac_cache_corrupted=false
1249 for ac_var in `(set) 2>&1 |
1250 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1251 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1252 eval ac_new_set=\$ac_env_${ac_var}_set
1253 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1254 eval ac_new_val="\$ac_env_${ac_var}_value"
1255 case $ac_old_set,$ac_new_set in
1257 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1258 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1259 ac_cache_corrupted=: ;;
1261 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1262 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1263 ac_cache_corrupted=: ;;
1266 if test "x$ac_old_val" != "x$ac_new_val"; then
1267 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1268 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1269 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1270 echo "$as_me: former value: $ac_old_val" >&2;}
1271 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1272 echo "$as_me: current value: $ac_new_val" >&2;}
1273 ac_cache_corrupted=:
1276 # Pass precious variables to config.status.
1277 if test "$ac_new_set" = set; then
1279 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1280 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1281 *) ac_arg=$ac_var=$ac_new_val ;;
1283 case " $ac_configure_args " in
1284 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1285 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1289 if $ac_cache_corrupted; then
1290 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1291 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1292 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1293 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1294 { (exit 1); exit 1; }; }
1298 ac_cpp='$CPP $CPPFLAGS'
1299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1329 ac_config_headers="$ac_config_headers config.h"
1336 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1337 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1338 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1339 if test "${enable_version_specific_runtime_libs+set}" = set; then
1340 enableval="$enable_version_specific_runtime_libs"
1341 case "$enableval" in
1342 yes) version_specific_libs=yes ;;
1343 no) version_specific_libs=no ;;
1344 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1345 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1346 { (exit 1); exit 1; }; };;
1349 version_specific_libs=no
1351 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1352 echo "${ECHO_T}$version_specific_libs" >&6
1355 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1357 # You will slowly go insane if you do not grok the following fact: when
1358 # building this library, the top-level /target/ becomes the library's /host/.
1360 # configure then causes --target to default to --host, exactly like any
1361 # other package using autoconf. Therefore, 'target' and 'host' will
1362 # always be the same. This makes sense both for native and cross compilers
1363 # just think about it for a little while. :-)
1365 # Also, if this library is being configured as part of a cross compiler, the
1366 # top-level configure script will pass the "real" host as $with_cross_host.
1368 # Do not delete or change the following two lines. For why, see
1369 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1371 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1372 if test -f $ac_dir/install-sh; then
1374 ac_install_sh="$ac_aux_dir/install-sh -c"
1376 elif test -f $ac_dir/install.sh; then
1378 ac_install_sh="$ac_aux_dir/install.sh -c"
1380 elif test -f $ac_dir/shtool; then
1382 ac_install_sh="$ac_aux_dir/shtool install -c"
1386 if test -z "$ac_aux_dir"; then
1387 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1388 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1389 { (exit 1); exit 1; }; }
1391 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1392 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1393 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1395 # Make sure we can run config.sub.
1396 $ac_config_sub sun4 >/dev/null 2>&1 ||
1397 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1398 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1399 { (exit 1); exit 1; }; }
1401 echo "$as_me:$LINENO: checking build system type" >&5
1402 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1403 if test "${ac_cv_build+set}" = set; then
1404 echo $ECHO_N "(cached) $ECHO_C" >&6
1406 ac_cv_build_alias=$build_alias
1407 test -z "$ac_cv_build_alias" &&
1408 ac_cv_build_alias=`$ac_config_guess`
1409 test -z "$ac_cv_build_alias" &&
1410 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1411 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1412 { (exit 1); exit 1; }; }
1413 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1414 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1415 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1416 { (exit 1); exit 1; }; }
1419 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1420 echo "${ECHO_T}$ac_cv_build" >&6
1422 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1423 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1424 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1427 echo "$as_me:$LINENO: checking host system type" >&5
1428 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1429 if test "${ac_cv_host+set}" = set; then
1430 echo $ECHO_N "(cached) $ECHO_C" >&6
1432 ac_cv_host_alias=$host_alias
1433 test -z "$ac_cv_host_alias" &&
1434 ac_cv_host_alias=$ac_cv_build_alias
1435 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1436 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1437 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1438 { (exit 1); exit 1; }; }
1441 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1442 echo "${ECHO_T}$ac_cv_host" >&6
1444 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1445 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1446 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1449 echo "$as_me:$LINENO: checking target system type" >&5
1450 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1451 if test "${ac_cv_target+set}" = set; then
1452 echo $ECHO_N "(cached) $ECHO_C" >&6
1454 ac_cv_target_alias=$target_alias
1455 test "x$ac_cv_target_alias" = "x" &&
1456 ac_cv_target_alias=$ac_cv_host_alias
1457 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1458 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1459 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1460 { (exit 1); exit 1; }; }
1463 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1464 echo "${ECHO_T}$ac_cv_target" >&6
1465 target=$ac_cv_target
1466 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1467 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1468 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1471 # The aliases save the names the user supplied, while $host etc.
1472 # will get canonicalized.
1473 test -n "$target_alias" &&
1474 test "$program_prefix$program_suffix$program_transform_name" = \
1476 program_prefix=${target_alias}-
1477 target_alias=${target_alias-$host_alias}
1479 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1480 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1481 # 1.8.2: minimum required version
1482 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1483 # of other PACKAGE_* variables will, however, and there's nothing
1484 # we can do about that; they come from AC_INIT).
1485 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1486 # file in the top srcdir, etc, etc), so stop complaining.
1487 # no-dependencies: turns off auto dependency generation (just for now)
1488 # -Wall: turns on all automake warnings...
1489 # -Wno-portability: ...except this one, since GNU make is required.
1490 am__api_version="1.9"
1491 # Find a good install program. We prefer a C program (faster),
1492 # so one script is as good as another. But avoid the broken or
1493 # incompatible versions:
1494 # SysV /etc/install, /usr/sbin/install
1495 # SunOS /usr/etc/install
1496 # IRIX /sbin/install
1498 # AmigaOS /C/install, which installs bootblocks on floppy discs
1499 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1500 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1501 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1502 # OS/2's system install, which has a completely different semantic
1503 # ./install, which can be erroneously created by make from ./install.sh.
1504 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1505 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1506 if test -z "$INSTALL"; then
1507 if test "${ac_cv_path_install+set}" = set; then
1508 echo $ECHO_N "(cached) $ECHO_C" >&6
1510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1514 test -z "$as_dir" && as_dir=.
1515 # Account for people who put trailing slashes in PATH elements.
1517 ./ | .// | /cC/* | \
1518 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1519 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1522 # OSF1 and SCO ODT 3.0 have their own names for install.
1523 # Don't use installbsd from OSF since it installs stuff as root
1525 for ac_prog in ginstall scoinst install; do
1526 for ac_exec_ext in '' $ac_executable_extensions; do
1527 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1528 if test $ac_prog = install &&
1529 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1530 # AIX install. It has an incompatible calling convention.
1532 elif test $ac_prog = install &&
1533 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1534 # program-specific install script used by HP pwplus--don't use.
1537 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1549 if test "${ac_cv_path_install+set}" = set; then
1550 INSTALL=$ac_cv_path_install
1552 # As a last resort, use the slow shell script. We don't cache a
1553 # path for INSTALL within a source directory, because that will
1554 # break other packages using the cache if that directory is
1555 # removed, or if the path is relative.
1556 INSTALL=$ac_install_sh
1559 echo "$as_me:$LINENO: result: $INSTALL" >&5
1560 echo "${ECHO_T}$INSTALL" >&6
1562 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1563 # It thinks the first close brace ends the variable substitution.
1564 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1566 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1568 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1570 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1571 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1574 echo timestamp > conftest.file
1575 # Do `set' in a subshell so we don't clobber the current shell's
1576 # arguments. Must try -L first in case configure is actually a
1577 # symlink; some systems play weird games with the mod time of symlinks
1578 # (eg FreeBSD returns the mod time of the symlink's containing
1581 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1582 if test "$*" = "X"; then
1584 set X `ls -t $srcdir/configure conftest.file`
1587 if test "$*" != "X $srcdir/configure conftest.file" \
1588 && test "$*" != "X conftest.file $srcdir/configure"; then
1590 # If neither matched, then we have a broken ls. This can happen
1591 # if, for instance, CONFIG_SHELL is bash and it inherits a
1592 # broken ls alias from the environment. This has actually
1593 # happened. Such a system could not be considered "sane".
1594 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1595 alias in your environment" >&5
1596 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1597 alias in your environment" >&2;}
1598 { (exit 1); exit 1; }; }
1601 test "$2" = conftest.file
1607 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1608 Check your system clock" >&5
1609 echo "$as_me: error: newly created file is older than distributed files!
1610 Check your system clock" >&2;}
1611 { (exit 1); exit 1; }; }
1613 echo "$as_me:$LINENO: result: yes" >&5
1614 echo "${ECHO_T}yes" >&6
1615 test "$program_prefix" != NONE &&
1616 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1617 # Use a double $ so make ignores it.
1618 test "$program_suffix" != NONE &&
1619 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1620 # Double any \ or $. echo might interpret backslashes.
1621 # By default was `s,x,x', remove it if useless.
1622 cat <<\_ACEOF >conftest.sed
1623 s/[\\$]/&&/g;s/;s,x,x,$//
1625 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1628 # expand $ac_aux_dir to an absolute path
1629 am_aux_dir=`cd $ac_aux_dir && pwd`
1631 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1632 # Use eval to expand $SHELL
1633 if eval "$MISSING --run true"; then
1634 am_missing_run="$MISSING --run "
1637 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1638 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1641 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1642 # We used to keeping the `.' as first argument, in order to
1643 # allow $(mkdir_p) to be used without argument. As in
1644 # $(mkdir_p) $(somedir)
1645 # where $(somedir) is conditionally defined. However this is wrong
1647 # 1. if the package is installed by a user who cannot write `.'
1648 # make install will fail,
1649 # 2. the above comment should most certainly read
1650 # $(mkdir_p) $(DESTDIR)$(somedir)
1651 # so it does not work when $(somedir) is undefined and
1652 # $(DESTDIR) is not.
1653 # To support the latter case, we have to write
1654 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1655 # so the `.' trick is pointless.
1656 mkdir_p='mkdir -p --'
1658 # On NextStep and OpenStep, the `mkdir' command does not
1659 # recognize any option. It will interpret all options as
1660 # directories to create, and then abort because `.' already
1662 for d in ./-p ./--version;
1664 test -d $d && rmdir $d
1666 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1667 if test -f "$ac_aux_dir/mkinstalldirs"; then
1668 mkdir_p='$(mkinstalldirs)'
1670 mkdir_p='$(install_sh) -d'
1674 for ac_prog in gawk mawk nawk awk
1676 # Extract the first word of "$ac_prog", so it can be a program name with args.
1677 set dummy $ac_prog; ac_word=$2
1678 echo "$as_me:$LINENO: checking for $ac_word" >&5
1679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1680 if test "${ac_cv_prog_AWK+set}" = set; then
1681 echo $ECHO_N "(cached) $ECHO_C" >&6
1683 if test -n "$AWK"; then
1684 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1690 test -z "$as_dir" && as_dir=.
1691 for ac_exec_ext in '' $ac_executable_extensions; do
1692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1693 ac_cv_prog_AWK="$ac_prog"
1694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1703 if test -n "$AWK"; then
1704 echo "$as_me:$LINENO: result: $AWK" >&5
1705 echo "${ECHO_T}$AWK" >&6
1707 echo "$as_me:$LINENO: result: no" >&5
1708 echo "${ECHO_T}no" >&6
1711 test -n "$AWK" && break
1714 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1715 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1716 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1717 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1718 echo $ECHO_N "(cached) $ECHO_C" >&6
1720 cat >conftest.make <<\_ACEOF
1722 @echo 'ac_maketemp="$(MAKE)"'
1724 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1725 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1726 if test -n "$ac_maketemp"; then
1727 eval ac_cv_prog_make_${ac_make}_set=yes
1729 eval ac_cv_prog_make_${ac_make}_set=no
1733 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1734 echo "$as_me:$LINENO: result: yes" >&5
1735 echo "${ECHO_T}yes" >&6
1738 echo "$as_me:$LINENO: result: no" >&5
1739 echo "${ECHO_T}no" >&6
1740 SET_MAKE="MAKE=${MAKE-make}"
1743 rm -rf .tst 2>/dev/null
1744 mkdir .tst 2>/dev/null
1745 if test -d .tst; then
1750 rmdir .tst 2>/dev/null
1752 # test to see if srcdir already configured
1753 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1754 test -f $srcdir/config.status; then
1755 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1756 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1757 { (exit 1); exit 1; }; }
1760 # test whether we have cygpath
1761 if test -z "$CYGPATH_W"; then
1762 if (cygpath --version) >/dev/null 2>/dev/null; then
1763 CYGPATH_W='cygpath -w'
1770 # Define the identity of the package.
1771 PACKAGE='libgfortran'
1775 # Some tools Automake needs.
1777 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1780 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1783 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1786 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1789 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1791 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1793 # Installed binaries are usually stripped using `strip' when the user
1794 # run `make install-strip'. However `strip' might not be the right
1795 # tool to use in cross-compilation environments, therefore Automake
1796 # will honor the `STRIP' environment variable to overrule this program.
1797 if test "$cross_compiling" != no; then
1798 if test -n "$ac_tool_prefix"; then
1799 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1800 set dummy ${ac_tool_prefix}strip; ac_word=$2
1801 echo "$as_me:$LINENO: checking for $ac_word" >&5
1802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1803 if test "${ac_cv_prog_STRIP+set}" = set; then
1804 echo $ECHO_N "(cached) $ECHO_C" >&6
1806 if test -n "$STRIP"; then
1807 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1813 test -z "$as_dir" && as_dir=.
1814 for ac_exec_ext in '' $ac_executable_extensions; do
1815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1816 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1825 STRIP=$ac_cv_prog_STRIP
1826 if test -n "$STRIP"; then
1827 echo "$as_me:$LINENO: result: $STRIP" >&5
1828 echo "${ECHO_T}$STRIP" >&6
1830 echo "$as_me:$LINENO: result: no" >&5
1831 echo "${ECHO_T}no" >&6
1835 if test -z "$ac_cv_prog_STRIP"; then
1837 # Extract the first word of "strip", so it can be a program name with args.
1838 set dummy strip; ac_word=$2
1839 echo "$as_me:$LINENO: checking for $ac_word" >&5
1840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1841 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1842 echo $ECHO_N "(cached) $ECHO_C" >&6
1844 if test -n "$ac_ct_STRIP"; then
1845 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1851 test -z "$as_dir" && as_dir=.
1852 for ac_exec_ext in '' $ac_executable_extensions; do
1853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1854 ac_cv_prog_ac_ct_STRIP="strip"
1855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1861 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1864 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1865 if test -n "$ac_ct_STRIP"; then
1866 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1867 echo "${ECHO_T}$ac_ct_STRIP" >&6
1869 echo "$as_me:$LINENO: result: no" >&5
1870 echo "${ECHO_T}no" >&6
1875 STRIP="$ac_cv_prog_STRIP"
1879 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1881 # We need awk for the "check" target. The system "awk" is bad on
1883 # Always define AMTAR for backward compatibility.
1885 AMTAR=${AMTAR-"${am_missing_run}tar"}
1887 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1894 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1895 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1896 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1897 if test "${enable_maintainer_mode+set}" = set; then
1898 enableval="$enable_maintainer_mode"
1899 USE_MAINTAINER_MODE=$enableval
1901 USE_MAINTAINER_MODE=no
1903 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1904 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1907 if test $USE_MAINTAINER_MODE = yes; then
1908 MAINTAINER_MODE_TRUE=
1909 MAINTAINER_MODE_FALSE='#'
1911 MAINTAINER_MODE_TRUE='#'
1912 MAINTAINER_MODE_FALSE=
1915 MAINT=$MAINTAINER_MODE_TRUE
1918 # Default to --enable-multilib
1919 # Check whether --enable-multilib or --disable-multilib was given.
1920 if test "${enable_multilib+set}" = set; then
1921 enableval="$enable_multilib"
1922 case "$enableval" in
1923 yes) multilib=yes ;;
1925 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1926 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1927 { (exit 1); exit 1; }; } ;;
1933 # We may get other options which we leave undocumented:
1934 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1935 # See config-ml.in if you want the gory details.
1937 if test "$srcdir" = "."; then
1938 if test "$with_target_subdir" != "."; then
1939 multi_basedir="$srcdir/$with_multisrctop../.."
1941 multi_basedir="$srcdir/$with_multisrctop.."
1944 multi_basedir="$srcdir/.."
1948 ac_config_commands="$ac_config_commands default-1"
1951 # Handy for debugging:
1952 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1954 # Are we being configured with some form of cross compiler?
1955 # NB: We don't actually need to know this just now, but when, say, a test
1956 # suite is included, we'll have to know.
1957 if test "$build" != "$host"; then
1958 LIBGFOR_IS_NATIVE=false
1961 LIBGFOR_IS_NATIVE=true
1964 # Calculate toolexeclibdir
1965 # Also toolexecdir, though it's only used in toolexeclibdir
1966 case ${version_specific_libs} in
1968 # Need the gcc compiler version to know where to install libraries
1969 # and header files if --enable-version-specific-runtime-libs option
1971 toolexecdir='$(libdir)/gcc/$(target_alias)'
1972 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
1975 if test -n "$with_cross_host" &&
1976 test x"$with_cross_host" != x"no"; then
1977 # Install a library built with a cross compiler in tooldir, not libdir.
1978 toolexecdir='$(exec_prefix)/$(target_alias)'
1979 toolexeclibdir='$(toolexecdir)/lib'
1981 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
1982 toolexeclibdir='$(libdir)'
1984 multi_os_directory=`$CC -print-multi-os-directory`
1985 case $multi_os_directory in
1986 .) ;; # Avoid trailing /.
1987 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
1994 # Check the compiler.
1995 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1996 # We must force CC to /not/ be precious variables; otherwise
1997 # the wrong, non-multilib-adjusted value will be used in multilibs.
1998 # As a side effect, we have to subst CFLAGS ourselves.
2003 ac_cpp='$CPP $CPPFLAGS'
2004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2007 if test -n "$ac_tool_prefix"; then
2008 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2009 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2010 echo "$as_me:$LINENO: checking for $ac_word" >&5
2011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2012 if test "${ac_cv_prog_CC+set}" = set; then
2013 echo $ECHO_N "(cached) $ECHO_C" >&6
2015 if test -n "$CC"; then
2016 ac_cv_prog_CC="$CC" # Let the user override the test.
2018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2022 test -z "$as_dir" && as_dir=.
2023 for ac_exec_ext in '' $ac_executable_extensions; do
2024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2025 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2035 if test -n "$CC"; then
2036 echo "$as_me:$LINENO: result: $CC" >&5
2037 echo "${ECHO_T}$CC" >&6
2039 echo "$as_me:$LINENO: result: no" >&5
2040 echo "${ECHO_T}no" >&6
2044 if test -z "$ac_cv_prog_CC"; then
2046 # Extract the first word of "gcc", so it can be a program name with args.
2047 set dummy gcc; ac_word=$2
2048 echo "$as_me:$LINENO: checking for $ac_word" >&5
2049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2050 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2051 echo $ECHO_N "(cached) $ECHO_C" >&6
2053 if test -n "$ac_ct_CC"; then
2054 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2060 test -z "$as_dir" && as_dir=.
2061 for ac_exec_ext in '' $ac_executable_extensions; do
2062 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2063 ac_cv_prog_ac_ct_CC="gcc"
2064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2072 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2073 if test -n "$ac_ct_CC"; then
2074 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2075 echo "${ECHO_T}$ac_ct_CC" >&6
2077 echo "$as_me:$LINENO: result: no" >&5
2078 echo "${ECHO_T}no" >&6
2086 if test -z "$CC"; then
2087 if test -n "$ac_tool_prefix"; then
2088 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2089 set dummy ${ac_tool_prefix}cc; ac_word=$2
2090 echo "$as_me:$LINENO: checking for $ac_word" >&5
2091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2092 if test "${ac_cv_prog_CC+set}" = set; then
2093 echo $ECHO_N "(cached) $ECHO_C" >&6
2095 if test -n "$CC"; then
2096 ac_cv_prog_CC="$CC" # Let the user override the test.
2098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102 test -z "$as_dir" && as_dir=.
2103 for ac_exec_ext in '' $ac_executable_extensions; do
2104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2105 ac_cv_prog_CC="${ac_tool_prefix}cc"
2106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2115 if test -n "$CC"; then
2116 echo "$as_me:$LINENO: result: $CC" >&5
2117 echo "${ECHO_T}$CC" >&6
2119 echo "$as_me:$LINENO: result: no" >&5
2120 echo "${ECHO_T}no" >&6
2124 if test -z "$ac_cv_prog_CC"; then
2126 # Extract the first word of "cc", so it can be a program name with args.
2127 set dummy cc; ac_word=$2
2128 echo "$as_me:$LINENO: checking for $ac_word" >&5
2129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2130 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2133 if test -n "$ac_ct_CC"; then
2134 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2140 test -z "$as_dir" && as_dir=.
2141 for ac_exec_ext in '' $ac_executable_extensions; do
2142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2143 ac_cv_prog_ac_ct_CC="cc"
2144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2152 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2153 if test -n "$ac_ct_CC"; then
2154 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2155 echo "${ECHO_T}$ac_ct_CC" >&6
2157 echo "$as_me:$LINENO: result: no" >&5
2158 echo "${ECHO_T}no" >&6
2167 if test -z "$CC"; then
2168 # Extract the first word of "cc", so it can be a program name with args.
2169 set dummy cc; ac_word=$2
2170 echo "$as_me:$LINENO: checking for $ac_word" >&5
2171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2172 if test "${ac_cv_prog_CC+set}" = set; then
2173 echo $ECHO_N "(cached) $ECHO_C" >&6
2175 if test -n "$CC"; then
2176 ac_cv_prog_CC="$CC" # Let the user override the test.
2179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2183 test -z "$as_dir" && as_dir=.
2184 for ac_exec_ext in '' $ac_executable_extensions; do
2185 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2186 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2187 ac_prog_rejected=yes
2191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2197 if test $ac_prog_rejected = yes; then
2198 # We found a bogon in the path, so make sure we never use it.
2199 set dummy $ac_cv_prog_CC
2201 if test $# != 0; then
2202 # We chose a different compiler from the bogus one.
2203 # However, it has the same basename, so the bogon will be chosen
2204 # first if we set CC to just the basename; use the full file name.
2206 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2212 if test -n "$CC"; then
2213 echo "$as_me:$LINENO: result: $CC" >&5
2214 echo "${ECHO_T}$CC" >&6
2216 echo "$as_me:$LINENO: result: no" >&5
2217 echo "${ECHO_T}no" >&6
2221 if test -z "$CC"; then
2222 if test -n "$ac_tool_prefix"; then
2225 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2226 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2227 echo "$as_me:$LINENO: checking for $ac_word" >&5
2228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2229 if test "${ac_cv_prog_CC+set}" = set; then
2230 echo $ECHO_N "(cached) $ECHO_C" >&6
2232 if test -n "$CC"; then
2233 ac_cv_prog_CC="$CC" # Let the user override the test.
2235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2239 test -z "$as_dir" && as_dir=.
2240 for ac_exec_ext in '' $ac_executable_extensions; do
2241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2242 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2252 if test -n "$CC"; then
2253 echo "$as_me:$LINENO: result: $CC" >&5
2254 echo "${ECHO_T}$CC" >&6
2256 echo "$as_me:$LINENO: result: no" >&5
2257 echo "${ECHO_T}no" >&6
2260 test -n "$CC" && break
2263 if test -z "$CC"; then
2267 # Extract the first word of "$ac_prog", so it can be a program name with args.
2268 set dummy $ac_prog; ac_word=$2
2269 echo "$as_me:$LINENO: checking for $ac_word" >&5
2270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2271 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2272 echo $ECHO_N "(cached) $ECHO_C" >&6
2274 if test -n "$ac_ct_CC"; then
2275 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2281 test -z "$as_dir" && as_dir=.
2282 for ac_exec_ext in '' $ac_executable_extensions; do
2283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2284 ac_cv_prog_ac_ct_CC="$ac_prog"
2285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2293 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2294 if test -n "$ac_ct_CC"; then
2295 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2296 echo "${ECHO_T}$ac_ct_CC" >&6
2298 echo "$as_me:$LINENO: result: no" >&5
2299 echo "${ECHO_T}no" >&6
2302 test -n "$ac_ct_CC" && break
2311 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2312 See \`config.log' for more details." >&5
2313 echo "$as_me: error: no acceptable C compiler found in \$PATH
2314 See \`config.log' for more details." >&2;}
2315 { (exit 1); exit 1; }; }
2317 # Provide some information about the compiler.
2318 echo "$as_me:$LINENO:" \
2319 "checking for C compiler version" >&5
2320 ac_compiler=`set X $ac_compile; echo $2`
2321 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2322 (eval $ac_compiler --version </dev/null >&5) 2>&5
2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 (exit $ac_status); }
2326 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2327 (eval $ac_compiler -v </dev/null >&5) 2>&5
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); }
2331 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2332 (eval $ac_compiler -V </dev/null >&5) 2>&5
2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2335 (exit $ac_status); }
2337 cat >conftest.$ac_ext <<_ACEOF
2340 cat confdefs.h >>conftest.$ac_ext
2341 cat >>conftest.$ac_ext <<_ACEOF
2342 /* end confdefs.h. */
2353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2354 (eval $ac_link) 2>&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }; then
2363 if test x$gcc_no_link = xyes; then
2364 # Setting cross_compile will disable run tests; it will
2365 # also disable AC_CHECK_FILE but that's generally
2366 # correct if we can't link.
2370 cat >conftest.$ac_ext <<_ACEOF
2373 cat confdefs.h >>conftest.$ac_ext
2374 cat >>conftest.$ac_ext <<_ACEOF
2375 /* end confdefs.h. */
2385 ac_clean_files_save=$ac_clean_files
2386 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2387 # Try to create an executable without -o first, disregard a.out.
2388 # It will help us diagnose broken compilers, and finding out an intuition
2390 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2391 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2392 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2393 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2394 (eval $ac_link_default) 2>&5
2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397 (exit $ac_status); }; then
2398 # Find the output, starting from the most likely. This scheme is
2399 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2402 # Be careful to initialize this variable, since it used to be cached.
2403 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2405 # b.out is created by i960 compilers.
2406 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2408 test -f "$ac_file" || continue
2410 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2413 # This is the source file.
2416 # We found the default executable, but exeext='' is most
2420 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2421 # FIXME: I believe we export ac_cv_exeext for Libtool,
2422 # but it would be cool to find out if it's true. Does anybody
2423 # maintain Libtool? --akim.
2431 echo "$as_me: failed program was:" >&5
2432 sed 's/^/| /' conftest.$ac_ext >&5
2434 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2435 See \`config.log' for more details." >&5
2436 echo "$as_me: error: C compiler cannot create executables
2437 See \`config.log' for more details." >&2;}
2438 { (exit 77); exit 77; }; }
2441 ac_exeext=$ac_cv_exeext
2442 echo "$as_me:$LINENO: result: $ac_file" >&5
2443 echo "${ECHO_T}$ac_file" >&6
2445 # Check the compiler produces executables we can run. If not, either
2446 # the compiler is broken, or we cross compile.
2447 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2448 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2449 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2450 # If not cross compiling, check that we can run a simple program.
2451 if test "$cross_compiling" != yes; then
2452 if { ac_try='./$ac_file'
2453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); }; }; then
2460 if test "$cross_compiling" = maybe; then
2463 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2464 If you meant to cross compile, use \`--host'.
2465 See \`config.log' for more details." >&5
2466 echo "$as_me: error: cannot run C compiled programs.
2467 If you meant to cross compile, use \`--host'.
2468 See \`config.log' for more details." >&2;}
2469 { (exit 1); exit 1; }; }
2473 echo "$as_me:$LINENO: result: yes" >&5
2474 echo "${ECHO_T}yes" >&6
2476 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2477 ac_clean_files=$ac_clean_files_save
2478 # Check the compiler produces executables we can run. If not, either
2479 # the compiler is broken, or we cross compile.
2480 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2481 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2482 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2483 echo "${ECHO_T}$cross_compiling" >&6
2485 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2486 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2488 (eval $ac_link) 2>&5
2490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491 (exit $ac_status); }; then
2492 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2493 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2494 # work properly (i.e., refer to `conftest.exe'), while it won't with
2496 for ac_file in conftest.exe conftest conftest.*; do
2497 test -f "$ac_file" || continue
2499 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2500 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2507 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2508 See \`config.log' for more details." >&5
2509 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2510 See \`config.log' for more details." >&2;}
2511 { (exit 1); exit 1; }; }
2514 rm -f conftest$ac_cv_exeext
2515 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2516 echo "${ECHO_T}$ac_cv_exeext" >&6
2518 rm -f conftest.$ac_ext
2519 EXEEXT=$ac_cv_exeext
2522 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2523 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2524 if test "${ac_cv_objext+set}" = set; then
2525 echo $ECHO_N "(cached) $ECHO_C" >&6
2527 cat >conftest.$ac_ext <<_ACEOF
2530 cat confdefs.h >>conftest.$ac_ext
2531 cat >>conftest.$ac_ext <<_ACEOF
2532 /* end confdefs.h. */
2542 rm -f conftest.o conftest.obj
2543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2544 (eval $ac_compile) 2>&5
2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); }; then
2548 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2550 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2551 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2556 echo "$as_me: failed program was:" >&5
2557 sed 's/^/| /' conftest.$ac_ext >&5
2559 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2560 See \`config.log' for more details." >&5
2561 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2562 See \`config.log' for more details." >&2;}
2563 { (exit 1); exit 1; }; }
2566 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2568 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2569 echo "${ECHO_T}$ac_cv_objext" >&6
2570 OBJEXT=$ac_cv_objext
2572 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2573 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2574 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2575 echo $ECHO_N "(cached) $ECHO_C" >&6
2577 cat >conftest.$ac_ext <<_ACEOF
2580 cat confdefs.h >>conftest.$ac_ext
2581 cat >>conftest.$ac_ext <<_ACEOF
2582 /* end confdefs.h. */
2595 rm -f conftest.$ac_objext
2596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2597 (eval $ac_compile) 2>conftest.er1
2599 grep -v '^ *+' conftest.er1 >conftest.err
2601 cat conftest.err >&5
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); } &&
2604 { ac_try='test -z "$ac_c_werror_flag"
2605 || test ! -s conftest.err'
2606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); }; } &&
2611 { ac_try='test -s conftest.$ac_objext'
2612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616 (exit $ac_status); }; }; then
2619 echo "$as_me: failed program was:" >&5
2620 sed 's/^/| /' conftest.$ac_ext >&5
2624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2625 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2628 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2629 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2630 GCC=`test $ac_compiler_gnu = yes && echo yes`
2631 ac_test_CFLAGS=${CFLAGS+set}
2632 ac_save_CFLAGS=$CFLAGS
2634 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2635 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2636 if test "${ac_cv_prog_cc_g+set}" = set; then
2637 echo $ECHO_N "(cached) $ECHO_C" >&6
2639 cat >conftest.$ac_ext <<_ACEOF
2642 cat confdefs.h >>conftest.$ac_ext
2643 cat >>conftest.$ac_ext <<_ACEOF
2644 /* end confdefs.h. */
2654 rm -f conftest.$ac_objext
2655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2656 (eval $ac_compile) 2>conftest.er1
2658 grep -v '^ *+' conftest.er1 >conftest.err
2660 cat conftest.err >&5
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); } &&
2663 { ac_try='test -z "$ac_c_werror_flag"
2664 || test ! -s conftest.err'
2665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); }; } &&
2670 { ac_try='test -s conftest.$ac_objext'
2671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2675 (exit $ac_status); }; }; then
2678 echo "$as_me: failed program was:" >&5
2679 sed 's/^/| /' conftest.$ac_ext >&5
2683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2685 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2686 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2687 if test "$ac_test_CFLAGS" = set; then
2688 CFLAGS=$ac_save_CFLAGS
2689 elif test $ac_cv_prog_cc_g = yes; then
2690 if test "$GCC" = yes; then
2696 if test "$GCC" = yes; then
2702 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2703 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2704 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2705 echo $ECHO_N "(cached) $ECHO_C" >&6
2707 ac_cv_prog_cc_stdc=no
2709 cat >conftest.$ac_ext <<_ACEOF
2712 cat confdefs.h >>conftest.$ac_ext
2713 cat >>conftest.$ac_ext <<_ACEOF
2714 /* end confdefs.h. */
2717 #include <sys/types.h>
2718 #include <sys/stat.h>
2719 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2720 struct buf { int x; };
2721 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2722 static char *e (p, i)
2728 static char *f (char * (*g) (char **, int), char **p, ...)
2733 s = g (p, va_arg (v,int));
2738 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2739 function prototypes and stuff, but not '\xHH' hex character constants.
2740 These don't provoke an error unfortunately, instead are silently treated
2741 as 'x'. The following induces an error, until -std1 is added to get
2742 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2743 array size at least. It's necessary to write '\x00'==0 to get something
2744 that's true only with -std1. */
2745 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2747 int test (int i, double x);
2748 struct s1 {int (*f) (int a);};
2749 struct s2 {int (*f) (double a);};
2750 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2756 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2761 # Don't try gcc -ansi; that turns off useful extensions and
2762 # breaks some systems' header files.
2763 # AIX -qlanglvl=ansi
2764 # Ultrix and OSF/1 -std1
2765 # HP-UX 10.20 and later -Ae
2766 # HP-UX older versions -Aa -D_HPUX_SOURCE
2767 # SVR4 -Xc -D__EXTENSIONS__
2768 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2770 CC="$ac_save_CC $ac_arg"
2771 rm -f conftest.$ac_objext
2772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2773 (eval $ac_compile) 2>conftest.er1
2775 grep -v '^ *+' conftest.er1 >conftest.err
2777 cat conftest.err >&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); } &&
2780 { ac_try='test -z "$ac_c_werror_flag"
2781 || test ! -s conftest.err'
2782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }; } &&
2787 { ac_try='test -s conftest.$ac_objext'
2788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); }; }; then
2793 ac_cv_prog_cc_stdc=$ac_arg
2796 echo "$as_me: failed program was:" >&5
2797 sed 's/^/| /' conftest.$ac_ext >&5
2800 rm -f conftest.err conftest.$ac_objext
2802 rm -f conftest.$ac_ext conftest.$ac_objext
2807 case "x$ac_cv_prog_cc_stdc" in
2809 echo "$as_me:$LINENO: result: none needed" >&5
2810 echo "${ECHO_T}none needed" >&6 ;;
2812 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2813 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2814 CC="$CC $ac_cv_prog_cc_stdc" ;;
2817 # Some people use a C++ compiler to compile C. Since we use `exit',
2818 # in C++ we need to declare it. In case someone uses the same compiler
2819 # for both compiling C and C++ we need to have the C++ compiler decide
2820 # the declaration of exit, since it's the most demanding environment.
2821 cat >conftest.$ac_ext <<_ACEOF
2826 rm -f conftest.$ac_objext
2827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2828 (eval $ac_compile) 2>conftest.er1
2830 grep -v '^ *+' conftest.er1 >conftest.err
2832 cat conftest.err >&5
2833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834 (exit $ac_status); } &&
2835 { ac_try='test -z "$ac_c_werror_flag"
2836 || test ! -s conftest.err'
2837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2841 (exit $ac_status); }; } &&
2842 { ac_try='test -s conftest.$ac_objext'
2843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); }; }; then
2848 for ac_declaration in \
2850 'extern "C" void std::exit (int) throw (); using std::exit;' \
2851 'extern "C" void std::exit (int); using std::exit;' \
2852 'extern "C" void exit (int) throw ();' \
2853 'extern "C" void exit (int);' \
2856 cat >conftest.$ac_ext <<_ACEOF
2859 cat confdefs.h >>conftest.$ac_ext
2860 cat >>conftest.$ac_ext <<_ACEOF
2861 /* end confdefs.h. */
2872 rm -f conftest.$ac_objext
2873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2874 (eval $ac_compile) 2>conftest.er1
2876 grep -v '^ *+' conftest.er1 >conftest.err
2878 cat conftest.err >&5
2879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880 (exit $ac_status); } &&
2881 { ac_try='test -z "$ac_c_werror_flag"
2882 || test ! -s conftest.err'
2883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); }; } &&
2888 { ac_try='test -s conftest.$ac_objext'
2889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); }; }; then
2896 echo "$as_me: failed program was:" >&5
2897 sed 's/^/| /' conftest.$ac_ext >&5
2901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2902 cat >conftest.$ac_ext <<_ACEOF
2905 cat confdefs.h >>conftest.$ac_ext
2906 cat >>conftest.$ac_ext <<_ACEOF
2907 /* end confdefs.h. */
2917 rm -f conftest.$ac_objext
2918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2919 (eval $ac_compile) 2>conftest.er1
2921 grep -v '^ *+' conftest.er1 >conftest.err
2923 cat conftest.err >&5
2924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2925 (exit $ac_status); } &&
2926 { ac_try='test -z "$ac_c_werror_flag"
2927 || test ! -s conftest.err'
2928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932 (exit $ac_status); }; } &&
2933 { ac_try='test -s conftest.$ac_objext'
2934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); }; }; then
2941 echo "$as_me: failed program was:" >&5
2942 sed 's/^/| /' conftest.$ac_ext >&5
2945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2948 if test -n "$ac_declaration"; then
2949 echo '#ifdef __cplusplus' >>confdefs.h
2950 echo $ac_declaration >>confdefs.h
2951 echo '#endif' >>confdefs.h
2955 echo "$as_me: failed program was:" >&5
2956 sed 's/^/| /' conftest.$ac_ext >&5
2959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2961 ac_cpp='$CPP $CPPFLAGS'
2962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2968 # Add -Wall if we are using GCC.
2969 if test "x$GCC" = "xyes"; then
2971 ## We like to use C99 routines when available. This makes sure that
2972 ## __STDC_VERSION__ is set such that libc includes make them available.
2973 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
2978 # Find other programs we need.
2979 if test -n "$ac_tool_prefix"; then
2980 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2981 set dummy ${ac_tool_prefix}as; ac_word=$2
2982 echo "$as_me:$LINENO: checking for $ac_word" >&5
2983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2984 if test "${ac_cv_prog_AS+set}" = set; then
2985 echo $ECHO_N "(cached) $ECHO_C" >&6
2987 if test -n "$AS"; then
2988 ac_cv_prog_AS="$AS" # Let the user override the test.
2990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2994 test -z "$as_dir" && as_dir=.
2995 for ac_exec_ext in '' $ac_executable_extensions; do
2996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2997 ac_cv_prog_AS="${ac_tool_prefix}as"
2998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3007 if test -n "$AS"; then
3008 echo "$as_me:$LINENO: result: $AS" >&5
3009 echo "${ECHO_T}$AS" >&6
3011 echo "$as_me:$LINENO: result: no" >&5
3012 echo "${ECHO_T}no" >&6
3016 if test -z "$ac_cv_prog_AS"; then
3018 # Extract the first word of "as", so it can be a program name with args.
3019 set dummy as; ac_word=$2
3020 echo "$as_me:$LINENO: checking for $ac_word" >&5
3021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3022 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3023 echo $ECHO_N "(cached) $ECHO_C" >&6
3025 if test -n "$ac_ct_AS"; then
3026 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3032 test -z "$as_dir" && as_dir=.
3033 for ac_exec_ext in '' $ac_executable_extensions; do
3034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3035 ac_cv_prog_ac_ct_AS="as"
3036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3044 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3045 if test -n "$ac_ct_AS"; then
3046 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3047 echo "${ECHO_T}$ac_ct_AS" >&6
3049 echo "$as_me:$LINENO: result: no" >&5
3050 echo "${ECHO_T}no" >&6
3058 if test -n "$ac_tool_prefix"; then
3059 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3060 set dummy ${ac_tool_prefix}ar; ac_word=$2
3061 echo "$as_me:$LINENO: checking for $ac_word" >&5
3062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3063 if test "${ac_cv_prog_AR+set}" = set; then
3064 echo $ECHO_N "(cached) $ECHO_C" >&6
3066 if test -n "$AR"; then
3067 ac_cv_prog_AR="$AR" # Let the user override the test.
3069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3073 test -z "$as_dir" && as_dir=.
3074 for ac_exec_ext in '' $ac_executable_extensions; do
3075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3076 ac_cv_prog_AR="${ac_tool_prefix}ar"
3077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3086 if test -n "$AR"; then
3087 echo "$as_me:$LINENO: result: $AR" >&5
3088 echo "${ECHO_T}$AR" >&6
3090 echo "$as_me:$LINENO: result: no" >&5
3091 echo "${ECHO_T}no" >&6
3095 if test -z "$ac_cv_prog_AR"; then
3097 # Extract the first word of "ar", so it can be a program name with args.
3098 set dummy ar; ac_word=$2
3099 echo "$as_me:$LINENO: checking for $ac_word" >&5
3100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3101 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3102 echo $ECHO_N "(cached) $ECHO_C" >&6
3104 if test -n "$ac_ct_AR"; then
3105 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3111 test -z "$as_dir" && as_dir=.
3112 for ac_exec_ext in '' $ac_executable_extensions; do
3113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3114 ac_cv_prog_ac_ct_AR="ar"
3115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3123 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3124 if test -n "$ac_ct_AR"; then
3125 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3126 echo "${ECHO_T}$ac_ct_AR" >&6
3128 echo "$as_me:$LINENO: result: no" >&5
3129 echo "${ECHO_T}no" >&6
3137 if test -n "$ac_tool_prefix"; then
3138 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3139 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3140 echo "$as_me:$LINENO: checking for $ac_word" >&5
3141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3142 if test "${ac_cv_prog_RANLIB+set}" = set; then
3143 echo $ECHO_N "(cached) $ECHO_C" >&6
3145 if test -n "$RANLIB"; then
3146 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3152 test -z "$as_dir" && as_dir=.
3153 for ac_exec_ext in '' $ac_executable_extensions; do
3154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3155 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3164 RANLIB=$ac_cv_prog_RANLIB
3165 if test -n "$RANLIB"; then
3166 echo "$as_me:$LINENO: result: $RANLIB" >&5
3167 echo "${ECHO_T}$RANLIB" >&6
3169 echo "$as_me:$LINENO: result: no" >&5
3170 echo "${ECHO_T}no" >&6
3174 if test -z "$ac_cv_prog_RANLIB"; then
3175 ac_ct_RANLIB=$RANLIB
3176 # Extract the first word of "ranlib", so it can be a program name with args.
3177 set dummy ranlib; ac_word=$2
3178 echo "$as_me:$LINENO: checking for $ac_word" >&5
3179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3180 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3181 echo $ECHO_N "(cached) $ECHO_C" >&6
3183 if test -n "$ac_ct_RANLIB"; then
3184 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3190 test -z "$as_dir" && as_dir=.
3191 for ac_exec_ext in '' $ac_executable_extensions; do
3192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3193 ac_cv_prog_ac_ct_RANLIB="ranlib"
3194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3200 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3203 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3204 if test -n "$ac_ct_RANLIB"; then
3205 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3206 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3208 echo "$as_me:$LINENO: result: no" >&5
3209 echo "${ECHO_T}no" >&6
3212 RANLIB=$ac_ct_RANLIB
3214 RANLIB="$ac_cv_prog_RANLIB"
3217 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3218 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3219 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3220 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3221 echo $ECHO_N "(cached) $ECHO_C" >&6
3223 cat >conftest.make <<\_ACEOF
3225 @echo 'ac_maketemp="$(MAKE)"'
3227 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3228 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3229 if test -n "$ac_maketemp"; then
3230 eval ac_cv_prog_make_${ac_make}_set=yes
3232 eval ac_cv_prog_make_${ac_make}_set=no
3236 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3237 echo "$as_me:$LINENO: result: yes" >&5
3238 echo "${ECHO_T}yes" >&6
3241 echo "$as_me:$LINENO: result: no" >&5
3242 echo "${ECHO_T}no" >&6
3243 SET_MAKE="MAKE=${MAKE-make}"
3246 # Find a good install program. We prefer a C program (faster),
3247 # so one script is as good as another. But avoid the broken or
3248 # incompatible versions:
3249 # SysV /etc/install, /usr/sbin/install
3250 # SunOS /usr/etc/install
3251 # IRIX /sbin/install
3253 # AmigaOS /C/install, which installs bootblocks on floppy discs
3254 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3255 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3256 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3257 # OS/2's system install, which has a completely different semantic
3258 # ./install, which can be erroneously created by make from ./install.sh.
3259 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3260 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3261 if test -z "$INSTALL"; then
3262 if test "${ac_cv_path_install+set}" = set; then
3263 echo $ECHO_N "(cached) $ECHO_C" >&6
3265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3269 test -z "$as_dir" && as_dir=.
3270 # Account for people who put trailing slashes in PATH elements.
3272 ./ | .// | /cC/* | \
3273 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3274 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3277 # OSF1 and SCO ODT 3.0 have their own names for install.
3278 # Don't use installbsd from OSF since it installs stuff as root
3280 for ac_prog in ginstall scoinst install; do
3281 for ac_exec_ext in '' $ac_executable_extensions; do
3282 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3283 if test $ac_prog = install &&
3284 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3285 # AIX install. It has an incompatible calling convention.
3287 elif test $ac_prog = install &&
3288 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3289 # program-specific install script used by HP pwplus--don't use.
3292 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3304 if test "${ac_cv_path_install+set}" = set; then
3305 INSTALL=$ac_cv_path_install
3307 # As a last resort, use the slow shell script. We don't cache a
3308 # path for INSTALL within a source directory, because that will
3309 # break other packages using the cache if that directory is
3310 # removed, or if the path is relative.
3311 INSTALL=$ac_install_sh
3314 echo "$as_me:$LINENO: result: $INSTALL" >&5
3315 echo "${ECHO_T}$INSTALL" >&6
3317 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3318 # It thinks the first close brace ends the variable substitution.
3319 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3321 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3323 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3327 #AC_MSG_NOTICE([====== Starting libtool configuration])
3329 # Check whether --enable-shared or --disable-shared was given.
3330 if test "${enable_shared+set}" = set; then
3331 enableval="$enable_shared"
3332 p=${PACKAGE-default}
3334 yes) enable_shared=yes ;;
3335 no) enable_shared=no ;;
3338 # Look at the argument we got. We use all the common list separators.
3339 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3340 for pkg in $enableval; do
3341 if test "X$pkg" = "X$p"; then
3351 # Check whether --enable-static or --disable-static was given.
3352 if test "${enable_static+set}" = set; then
3353 enableval="$enable_static"
3354 p=${PACKAGE-default}
3356 yes) enable_static=yes ;;
3357 no) enable_static=no ;;
3360 # Look at the argument we got. We use all the common list separators.
3361 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3362 for pkg in $enableval; do
3363 if test "X$pkg" = "X$p"; then
3373 # Check whether --enable-fast-install or --disable-fast-install was given.
3374 if test "${enable_fast_install+set}" = set; then
3375 enableval="$enable_fast_install"
3376 p=${PACKAGE-default}
3378 yes) enable_fast_install=yes ;;
3379 no) enable_fast_install=no ;;
3381 enable_fast_install=no
3382 # Look at the argument we got. We use all the common list separators.
3383 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3384 for pkg in $enableval; do
3385 if test "X$pkg" = "X$p"; then
3386 enable_fast_install=yes
3393 enable_fast_install=yes
3396 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3397 if test "${with_gnu_ld+set}" = set; then
3398 withval="$with_gnu_ld"
3399 test "$withval" = no || with_gnu_ld=yes
3404 if test "$GCC" = yes; then
3405 # Check if gcc -print-prog-name=ld gives a path.
3406 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3407 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3410 # gcc leaves a trailing carriage return which upsets mingw
3411 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3413 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3416 # Accept absolute paths.
3417 [\\/]* | [A-Za-z]:[\\/]*)
3418 re_direlt='/[^/][^/]*/\.\./'
3419 # Canonicalize the path of ld
3420 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3421 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3422 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3424 test -z "$LD" && LD="$ac_prog"
3427 # If it fails, then pretend we aren't using GCC.
3431 # If it is relative, then search for the first ld in PATH.
3435 elif test "$with_gnu_ld" = yes; then
3436 echo "$as_me:$LINENO: checking for GNU ld" >&5
3437 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3439 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3440 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3442 if test "${lt_cv_path_LD+set}" = set; then
3443 echo $ECHO_N "(cached) $ECHO_C" >&6
3445 if test -z "$LD"; then
3446 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3447 for ac_dir in $PATH; do
3448 test -z "$ac_dir" && ac_dir=.
3449 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3450 lt_cv_path_LD="$ac_dir/$ac_prog"
3451 # Check to see if the program is GNU ld. I'd rather use --version,
3452 # but apparently some GNU ld's only accept -v.
3453 # Break only if it was the GNU/non-GNU ld that we prefer.
3454 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3455 test "$with_gnu_ld" != no && break
3457 test "$with_gnu_ld" != yes && break
3463 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3468 if test -n "$LD"; then
3469 echo "$as_me:$LINENO: result: $LD" >&5
3470 echo "${ECHO_T}$LD" >&6
3472 echo "$as_me:$LINENO: result: no" >&5
3473 echo "${ECHO_T}no" >&6
3475 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3476 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3477 { (exit 1); exit 1; }; }
3478 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3479 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3480 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3481 echo $ECHO_N "(cached) $ECHO_C" >&6
3483 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3484 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3485 lt_cv_prog_gnu_ld=yes
3487 lt_cv_prog_gnu_ld=no
3490 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3491 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3492 with_gnu_ld=$lt_cv_prog_gnu_ld
3495 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3496 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3497 if test "${lt_cv_ld_reload_flag+set}" = set; then
3498 echo $ECHO_N "(cached) $ECHO_C" >&6
3500 lt_cv_ld_reload_flag='-r'
3502 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3503 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3504 reload_flag=$lt_cv_ld_reload_flag
3505 test -n "$reload_flag" && reload_flag=" $reload_flag"
3507 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3508 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3509 if test "${lt_cv_path_NM+set}" = set; then
3510 echo $ECHO_N "(cached) $ECHO_C" >&6
3512 if test -n "$NM"; then
3513 # Let the user override the test.
3516 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3517 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3518 test -z "$ac_dir" && ac_dir=.
3519 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3520 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3521 # Check to see if the nm accepts a BSD-compat flag.
3522 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3523 # nm: unknown option "B" ignored
3524 # Tru64's nm complains that /dev/null is an invalid object file
3525 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3526 lt_cv_path_NM="$tmp_nm -B"
3528 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3529 lt_cv_path_NM="$tmp_nm -p"
3532 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3533 continue # so that we can try to find one that supports BSD flags
3538 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3543 echo "$as_me:$LINENO: result: $NM" >&5
3544 echo "${ECHO_T}$NM" >&6
3546 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3547 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3549 if test "$LN_S" = "ln -s"; then
3550 echo "$as_me:$LINENO: result: yes" >&5
3551 echo "${ECHO_T}yes" >&6
3553 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3554 echo "${ECHO_T}no, using $LN_S" >&6
3557 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3558 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3559 if test "${lt_cv_deplibs_check_method+set}" = set; then
3560 echo $ECHO_N "(cached) $ECHO_C" >&6
3562 lt_cv_file_magic_cmd='$MAGIC_CMD'
3563 lt_cv_file_magic_test_file=
3564 lt_cv_deplibs_check_method='unknown'
3565 # Need to set the preceding variable on all platforms that support
3566 # interlibrary dependencies.
3567 # 'none' -- dependencies not supported.
3568 # `unknown' -- same as none, but documents that we really don't know.
3569 # 'pass_all' -- all dependencies passed with no checks.
3570 # 'test_compile' -- check by making test program.
3571 # 'file_magic [regex]' -- check by looking for files in library path
3572 # which responds to the $file_magic_cmd with a given egrep regex.
3573 # If you have `file' or equivalent on your system and you're not sure
3574 # whether `pass_all' will *always* work, you probably want this one.
3578 lt_cv_deplibs_check_method=pass_all
3582 lt_cv_deplibs_check_method=pass_all
3586 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3587 lt_cv_file_magic_cmd='/usr/bin/file -L'
3588 lt_cv_file_magic_test_file=/shlib/libc.so
3591 cygwin* | mingw* |pw32*)
3592 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3593 lt_cv_file_magic_cmd='$OBJDUMP -f'
3596 darwin* | rhapsody*)
3597 # this will be overwritten by pass_all, but leave it in just in case
3598 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3599 lt_cv_file_magic_cmd='/usr/bin/file -L'
3601 rhapsody* | darwin1.012)
3602 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3605 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3608 lt_cv_deplibs_check_method=pass_all
3611 freebsd* | kfreebsd*-gnu)
3612 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3615 # Not sure whether the presence of OpenBSD here was a mistake.
3616 # Let's accept both of them until this is cleared up.
3617 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3618 lt_cv_file_magic_cmd=/usr/bin/file
3619 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3623 lt_cv_deplibs_check_method=pass_all
3628 lt_cv_deplibs_check_method=pass_all
3634 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3635 lt_cv_file_magic_cmd=/usr/bin/file
3636 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3639 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3640 lt_cv_file_magic_cmd=/usr/bin/file
3641 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3649 # this will be overridden with pass_all, but let us keep it just in case
3650 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3654 *-32|*"-32 ") libmagic=32-bit;;
3655 *-n32|*"-n32 ") libmagic=N32;;
3656 *-64|*"-64 ") libmagic=64-bit;;
3657 *) libmagic=never-match;;
3659 # this will be overridden with pass_all, but let us keep it just in case
3660 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3663 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3664 lt_cv_deplibs_check_method=pass_all
3667 # This must be Linux ELF.
3669 lt_cv_deplibs_check_method=pass_all
3672 netbsd* | knetbsd*-gnu)
3673 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3674 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3676 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3681 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3682 lt_cv_file_magic_cmd=/usr/bin/file
3683 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3686 osf3* | osf4* | osf5*)
3687 # this will be overridden with pass_all, but let us keep it just in case
3688 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3689 lt_cv_file_magic_test_file=/shlib/libc.so
3690 lt_cv_deplibs_check_method=pass_all
3694 lt_cv_deplibs_check_method=pass_all
3698 lt_cv_deplibs_check_method=pass_all
3699 lt_cv_file_magic_test_file=/lib/libc.so
3702 sysv5uw[78]* | sysv4*uw2*)
3703 lt_cv_deplibs_check_method=pass_all
3706 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3707 case $host_vendor in
3709 lt_cv_deplibs_check_method=pass_all
3712 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]'
3713 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3720 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3721 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3722 file_magic_cmd=$lt_cv_file_magic_cmd
3723 deplibs_check_method=$lt_cv_deplibs_check_method
3729 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3731 # find the maximum length of command line arguments
3732 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3733 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3734 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3735 echo $ECHO_N "(cached) $ECHO_C" >&6
3742 # On DJGPP, this test can blow up pretty badly due to problems in libc
3743 # (any single argument exceeding 2000 bytes causes a buffer overrun
3744 # during glob expansion). Even if it were fixed, the result of this
3745 # check would be larger than it should be.
3746 lt_cv_sys_max_cmd_len=12288; # 12K is about right
3750 # On Win9x/ME, this test blows up -- it succeeds, but takes
3751 # about 5 minutes as the teststring grows exponentially.
3752 # Worse, since 9x/ME are not pre-emptively multitasking,
3753 # you end up with a "frozen" computer, even though with patience
3754 # the test eventually succeeds (with a max line length of 256k).
3755 # Instead, let's just punt: use the minimum linelength reported by
3756 # all of the supported platforms: 8192 (on NT/2K/XP).
3757 lt_cv_sys_max_cmd_len=8192;
3761 # On AmigaOS with pdksh, this test takes hours, literally.
3762 # So we just punt and use a minimum line length of 8192.
3763 lt_cv_sys_max_cmd_len=8192;
3766 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3767 # This has been around since 386BSD, at least. Likely further.
3768 if test -x /sbin/sysctl; then
3769 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3770 elif test -x /usr/sbin/sysctl; then
3771 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3773 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
3775 # And add a safety zone
3776 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3777 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3783 if test -n "$lt_cv_sys_max_cmd_len" ; then
3784 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3785 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3787 echo "$as_me:$LINENO: result: none" >&5
3788 echo "${ECHO_T}none" >&6
3792 # Only perform the check for file, if the check method requires it
3793 case $deplibs_check_method in
3795 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3796 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3797 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3798 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3799 echo $ECHO_N "(cached) $ECHO_C" >&6
3803 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3806 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3809 ac_save_MAGIC_CMD="$MAGIC_CMD"
3810 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3811 ac_dummy="/usr/bin:$PATH"
3812 for ac_dir in $ac_dummy; do
3813 test -z "$ac_dir" && ac_dir=.
3814 if test -f $ac_dir/${ac_tool_prefix}file; then
3815 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3816 if test -n "$file_magic_test_file"; then
3817 case $deplibs_check_method in
3819 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3820 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3821 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3822 egrep "$file_magic_regex" > /dev/null; then
3827 *** Warning: the command libtool uses to detect shared libraries,
3828 *** $file_magic_cmd, produces output that libtool cannot recognize.
3829 *** The result is that libtool may fail to recognize shared libraries
3830 *** as such. This will affect the creation of libtool libraries that
3831 *** depend on shared libraries, but programs linked with such libtool
3832 *** libraries will work regardless of this problem. Nevertheless, you
3833 *** may want to report the problem to your system manager and/or to
3834 *** bug-libtool@gnu.org
3844 MAGIC_CMD="$ac_save_MAGIC_CMD"
3849 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3850 if test -n "$MAGIC_CMD"; then
3851 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3852 echo "${ECHO_T}$MAGIC_CMD" >&6
3854 echo "$as_me:$LINENO: result: no" >&5
3855 echo "${ECHO_T}no" >&6
3858 if test -z "$lt_cv_path_MAGIC_CMD"; then
3859 if test -n "$ac_tool_prefix"; then
3860 echo "$as_me:$LINENO: checking for file" >&5
3861 echo $ECHO_N "checking for file... $ECHO_C" >&6
3862 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3863 echo $ECHO_N "(cached) $ECHO_C" >&6
3867 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3870 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3873 ac_save_MAGIC_CMD="$MAGIC_CMD"
3874 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3875 ac_dummy="/usr/bin:$PATH"
3876 for ac_dir in $ac_dummy; do
3877 test -z "$ac_dir" && ac_dir=.
3878 if test -f $ac_dir/file; then
3879 lt_cv_path_MAGIC_CMD="$ac_dir/file"
3880 if test -n "$file_magic_test_file"; then
3881 case $deplibs_check_method in
3883 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3884 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3885 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3886 egrep "$file_magic_regex" > /dev/null; then
3891 *** Warning: the command libtool uses to detect shared libraries,
3892 *** $file_magic_cmd, produces output that libtool cannot recognize.
3893 *** The result is that libtool may fail to recognize shared libraries
3894 *** as such. This will affect the creation of libtool libraries that
3895 *** depend on shared libraries, but programs linked with such libtool
3896 *** libraries will work regardless of this problem. Nevertheless, you
3897 *** may want to report the problem to your system manager and/or to
3898 *** bug-libtool@gnu.org
3908 MAGIC_CMD="$ac_save_MAGIC_CMD"
3913 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3914 if test -n "$MAGIC_CMD"; then
3915 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3916 echo "${ECHO_T}$MAGIC_CMD" >&6
3918 echo "$as_me:$LINENO: result: no" >&5
3919 echo "${ECHO_T}no" >&6
3931 if test -n "$ac_tool_prefix"; then
3932 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3933 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3934 echo "$as_me:$LINENO: checking for $ac_word" >&5
3935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3936 if test "${ac_cv_prog_RANLIB+set}" = set; then
3937 echo $ECHO_N "(cached) $ECHO_C" >&6
3939 if test -n "$RANLIB"; then
3940 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3946 test -z "$as_dir" && as_dir=.
3947 for ac_exec_ext in '' $ac_executable_extensions; do
3948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3949 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3958 RANLIB=$ac_cv_prog_RANLIB
3959 if test -n "$RANLIB"; then
3960 echo "$as_me:$LINENO: result: $RANLIB" >&5
3961 echo "${ECHO_T}$RANLIB" >&6
3963 echo "$as_me:$LINENO: result: no" >&5
3964 echo "${ECHO_T}no" >&6
3968 if test -z "$ac_cv_prog_RANLIB"; then
3969 ac_ct_RANLIB=$RANLIB
3970 # Extract the first word of "ranlib", so it can be a program name with args.
3971 set dummy ranlib; ac_word=$2
3972 echo "$as_me:$LINENO: checking for $ac_word" >&5
3973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3974 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3975 echo $ECHO_N "(cached) $ECHO_C" >&6
3977 if test -n "$ac_ct_RANLIB"; then
3978 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3984 test -z "$as_dir" && as_dir=.
3985 for ac_exec_ext in '' $ac_executable_extensions; do
3986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3987 ac_cv_prog_ac_ct_RANLIB="ranlib"
3988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3994 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3997 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3998 if test -n "$ac_ct_RANLIB"; then
3999 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4000 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4002 echo "$as_me:$LINENO: result: no" >&5
4003 echo "${ECHO_T}no" >&6
4006 RANLIB=$ac_ct_RANLIB
4008 RANLIB="$ac_cv_prog_RANLIB"
4011 if test -n "$ac_tool_prefix"; then
4012 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4013 set dummy ${ac_tool_prefix}strip; ac_word=$2
4014 echo "$as_me:$LINENO: checking for $ac_word" >&5
4015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4016 if test "${ac_cv_prog_STRIP+set}" = set; then
4017 echo $ECHO_N "(cached) $ECHO_C" >&6
4019 if test -n "$STRIP"; then
4020 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4026 test -z "$as_dir" && as_dir=.
4027 for ac_exec_ext in '' $ac_executable_extensions; do
4028 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4029 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4038 STRIP=$ac_cv_prog_STRIP
4039 if test -n "$STRIP"; then
4040 echo "$as_me:$LINENO: result: $STRIP" >&5
4041 echo "${ECHO_T}$STRIP" >&6
4043 echo "$as_me:$LINENO: result: no" >&5
4044 echo "${ECHO_T}no" >&6
4048 if test -z "$ac_cv_prog_STRIP"; then
4050 # Extract the first word of "strip", so it can be a program name with args.
4051 set dummy strip; ac_word=$2
4052 echo "$as_me:$LINENO: checking for $ac_word" >&5
4053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4054 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4055 echo $ECHO_N "(cached) $ECHO_C" >&6
4057 if test -n "$ac_ct_STRIP"; then
4058 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4064 test -z "$as_dir" && as_dir=.
4065 for ac_exec_ext in '' $ac_executable_extensions; do
4066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4067 ac_cv_prog_ac_ct_STRIP="strip"
4068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4074 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4077 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4078 if test -n "$ac_ct_STRIP"; then
4079 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4080 echo "${ECHO_T}$ac_ct_STRIP" >&6
4082 echo "$as_me:$LINENO: result: no" >&5
4083 echo "${ECHO_T}no" >&6
4088 STRIP="$ac_cv_prog_STRIP"
4092 # Check for any special flags to pass to ltconfig.
4093 libtool_flags="--cache-file=$cache_file"
4094 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4095 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4096 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4097 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4098 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4101 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4102 if test "${enable_libtool_lock+set}" = set; then
4103 enableval="$enable_libtool_lock"
4106 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4107 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4110 # Check whether --with-pic or --without-pic was given.
4111 if test "${with_pic+set}" = set; then
4117 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4118 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4120 # Some flags need to be propagated to the compiler or linker for good
4124 # Find out which ABI we are using.
4125 echo '#line 4125 "configure"' > conftest.$ac_ext
4126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4127 (eval $ac_compile) 2>&5
4129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4130 (exit $ac_status); }; then
4131 if test "$lt_cv_prog_gnu_ld" = yes; then
4132 case `/usr/bin/file conftest.$ac_objext` in
4134 LD="${LD-ld} -melf32bsmip"
4137 LD="${LD-ld} -melf32bmipn32"
4140 LD="${LD-ld} -melf64bmip"
4144 case `/usr/bin/file conftest.$ac_objext` in
4161 # Find out which ABI we are using.
4162 echo 'int i;' > conftest.$ac_ext
4163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4164 (eval $ac_compile) 2>&5
4166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4167 (exit $ac_status); }; then
4168 case "`/usr/bin/file conftest.o`" in
4180 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4181 # Find out which ABI we are using.
4182 echo 'int i;' > conftest.$ac_ext
4183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4184 (eval $ac_compile) 2>&5
4186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4187 (exit $ac_status); }; then
4188 case "`/usr/bin/file conftest.o`" in
4192 LD="${LD-ld} -m elf_i386"
4194 ppc64-*linux*|powerpc64-*linux*)
4195 LD="${LD-ld} -m elf32ppclinux"
4198 LD="${LD-ld} -m elf_s390"
4201 LD="${LD-ld} -m elf32_sparc"
4208 LD="${LD-ld} -m elf_x86_64"
4210 ppc*-*linux*|powerpc*-*linux*)
4211 LD="${LD-ld} -m elf64ppc"
4214 LD="${LD-ld} -m elf64_s390"
4217 LD="${LD-ld} -m elf64_sparc"
4227 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4228 SAVE_CFLAGS="$CFLAGS"
4229 CFLAGS="$CFLAGS -belf"
4230 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4231 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4232 if test "${lt_cv_cc_needs_belf+set}" = set; then
4233 echo $ECHO_N "(cached) $ECHO_C" >&6
4238 ac_cpp='$CPP $CPPFLAGS'
4239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4243 if test x$gcc_no_link = xyes; then
4244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4246 { (exit 1); exit 1; }; }
4248 cat >conftest.$ac_ext <<_ACEOF
4251 cat confdefs.h >>conftest.$ac_ext
4252 cat >>conftest.$ac_ext <<_ACEOF
4253 /* end confdefs.h. */
4263 rm -f conftest.$ac_objext conftest$ac_exeext
4264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4265 (eval $ac_link) 2>conftest.er1
4267 grep -v '^ *+' conftest.er1 >conftest.err
4269 cat conftest.err >&5
4270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271 (exit $ac_status); } &&
4272 { ac_try='test -z "$ac_c_werror_flag"
4273 || test ! -s conftest.err'
4274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4278 (exit $ac_status); }; } &&
4279 { ac_try='test -s conftest$ac_exeext'
4280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4284 (exit $ac_status); }; }; then
4285 lt_cv_cc_needs_belf=yes
4287 echo "$as_me: failed program was:" >&5
4288 sed 's/^/| /' conftest.$ac_ext >&5
4290 lt_cv_cc_needs_belf=no
4292 rm -f conftest.err conftest.$ac_objext \
4293 conftest$ac_exeext conftest.$ac_ext
4295 ac_cpp='$CPP $CPPFLAGS'
4296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4301 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4302 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4303 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4304 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4305 CFLAGS="$SAVE_CFLAGS"
4313 # Save cache, so that ltconfig can load it
4314 cat >confcache <<\_ACEOF
4315 # This file is a shell script that caches the results of configure
4316 # tests run on this system so they can be shared between configure
4317 # scripts and configure runs, see configure's option --config-cache.
4318 # It is not useful on other systems. If it contains results you don't
4319 # want to keep, you may remove or edit it.
4321 # config.status only pays attention to the cache file if you give it
4322 # the --recheck option to rerun configure.
4324 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4325 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4330 # The following way of writing the cache mishandles newlines in values,
4331 # but we know of no workaround that is simple, portable, and efficient.
4332 # So, don't put newlines in cache variables' values.
4333 # Ultrix sh set writes to stderr and can't be redirected directly,
4334 # and sets the high bit in the cache file unless we assign to the vars.
4337 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4339 # `set' does not quote correctly, so add quotes (double-quote
4340 # substitution turns \\\\ into \\, and sed turns \\ into \).
4343 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4346 # `set' quotes correctly as required by POSIX, so do not add quotes.
4348 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4355 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4357 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4359 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4360 if test -w $cache_file; then
4361 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4362 cat confcache >$cache_file
4364 echo "not updating unwritable cache $cache_file"
4369 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4370 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4371 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4372 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4373 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4374 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4375 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4376 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4377 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4378 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4379 echo "$as_me: error: libtool configure failed" >&2;}
4380 { (exit 1); exit 1; }; }
4382 # Reload cache, that may have been modified by ltconfig
4383 if test -r "$cache_file"; then
4384 # Some versions of bash will fail to source /dev/null (special
4385 # files actually), so we avoid doing that.
4386 if test -f "$cache_file"; then
4387 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4388 echo "$as_me: loading cache $cache_file" >&6;}
4390 [\\/]* | ?:[\\/]* ) . $cache_file;;
4391 *) . ./$cache_file;;
4395 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4396 echo "$as_me: creating cache $cache_file" >&6;}
4401 # This can be used to rebuild libtool when needed
4402 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4404 # Always use our own libtool.
4405 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4407 # Redirect the config.log output again, so that the ltconfig log is not
4408 # clobbered by the next message.
4409 exec 5>>./config.log
4418 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4420 # We need gfortran to compile parts of the library
4421 # We can't use AC_PROG_FC because it expects a fully working gfortran.
4422 #AC_PROG_FC(gfortran)
4424 ac_ext=${FC_SRCEXT-f}
4425 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4426 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4427 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4428 if test -n "$ac_tool_prefix"; then
4429 for ac_prog in gfortran
4431 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4432 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4433 echo "$as_me:$LINENO: checking for $ac_word" >&5
4434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4435 if test "${ac_cv_prog_FC+set}" = set; then
4436 echo $ECHO_N "(cached) $ECHO_C" >&6
4438 if test -n "$FC"; then
4439 ac_cv_prog_FC="$FC" # Let the user override the test.
4441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4445 test -z "$as_dir" && as_dir=.
4446 for ac_exec_ext in '' $ac_executable_extensions; do
4447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4448 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4458 if test -n "$FC"; then
4459 echo "$as_me:$LINENO: result: $FC" >&5
4460 echo "${ECHO_T}$FC" >&6
4462 echo "$as_me:$LINENO: result: no" >&5
4463 echo "${ECHO_T}no" >&6
4466 test -n "$FC" && break
4469 if test -z "$FC"; then
4471 for ac_prog in gfortran
4473 # Extract the first word of "$ac_prog", so it can be a program name with args.
4474 set dummy $ac_prog; ac_word=$2
4475 echo "$as_me:$LINENO: checking for $ac_word" >&5
4476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4477 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4478 echo $ECHO_N "(cached) $ECHO_C" >&6
4480 if test -n "$ac_ct_FC"; then
4481 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4487 test -z "$as_dir" && as_dir=.
4488 for ac_exec_ext in '' $ac_executable_extensions; do
4489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4490 ac_cv_prog_ac_ct_FC="$ac_prog"
4491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4499 ac_ct_FC=$ac_cv_prog_ac_ct_FC
4500 if test -n "$ac_ct_FC"; then
4501 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4502 echo "${ECHO_T}$ac_ct_FC" >&6
4504 echo "$as_me:$LINENO: result: no" >&5
4505 echo "${ECHO_T}no" >&6
4508 test -n "$ac_ct_FC" && break
4515 # Provide some information about the compiler.
4516 echo "$as_me:4516:" \
4517 "checking for Fortran compiler version" >&5
4518 ac_compiler=`set X $ac_compile; echo $2`
4519 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4520 (eval $ac_compiler --version </dev/null >&5) 2>&5
4522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523 (exit $ac_status); }
4524 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4525 (eval $ac_compiler -v </dev/null >&5) 2>&5
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); }
4529 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4530 (eval $ac_compiler -V </dev/null >&5) 2>&5
4532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4533 (exit $ac_status); }
4536 # If we don't use `.F' as extension, the preprocessor is not run on the
4537 # input file. (Note that this only needs to work for GNU compilers.)
4540 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4541 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4542 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4543 echo $ECHO_N "(cached) $ECHO_C" >&6
4545 cat >conftest.$ac_ext <<_ACEOF
4553 rm -f conftest.$ac_objext
4554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4555 (eval $ac_compile) 2>conftest.er1
4557 grep -v '^ *+' conftest.er1 >conftest.err
4559 cat conftest.err >&5
4560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4561 (exit $ac_status); } &&
4562 { ac_try='test -z "$ac_fc_werror_flag"
4563 || test ! -s conftest.err'
4564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568 (exit $ac_status); }; } &&
4569 { ac_try='test -s conftest.$ac_objext'
4570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4574 (exit $ac_status); }; }; then
4577 echo "$as_me: failed program was:" >&5
4578 sed 's/^/| /' conftest.$ac_ext >&5
4582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4583 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4586 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4587 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4589 ac_test_FFLAGS=${FCFLAGS+set}
4590 ac_save_FFLAGS=$FCFLAGS
4592 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4593 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4594 if test "${ac_cv_prog_fc_g+set}" = set; then
4595 echo $ECHO_N "(cached) $ECHO_C" >&6
4598 cat >conftest.$ac_ext <<_ACEOF
4603 rm -f conftest.$ac_objext
4604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4605 (eval $ac_compile) 2>conftest.er1
4607 grep -v '^ *+' conftest.er1 >conftest.err
4609 cat conftest.err >&5
4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611 (exit $ac_status); } &&
4612 { ac_try='test -z "$ac_fc_werror_flag"
4613 || test ! -s conftest.err'
4614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4618 (exit $ac_status); }; } &&
4619 { ac_try='test -s conftest.$ac_objext'
4620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4624 (exit $ac_status); }; }; then
4627 echo "$as_me: failed program was:" >&5
4628 sed 's/^/| /' conftest.$ac_ext >&5
4632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4635 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4636 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4637 if test "$ac_test_FFLAGS" = set; then
4638 FCFLAGS=$ac_save_FFLAGS
4639 elif test $ac_cv_prog_fc_g = yes; then
4640 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4646 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4654 ac_cpp='$CPP $CPPFLAGS'
4655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4659 FCFLAGS="$FCFLAGS -Wall -fno-repack-arrays -fno-underscoring"
4661 # extra LD Flags which are required for targets
4664 # Darwin needs -single_module when linking libgfortran
4665 extra_ldflags_libgfortran=-Wl,-single_module
4670 # Check whether --enable-largefile or --disable-largefile was given.
4671 if test "${enable_largefile+set}" = set; then
4672 enableval="$enable_largefile"
4675 if test "$enable_largefile" != no; then
4677 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4678 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4679 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4680 echo $ECHO_N "(cached) $ECHO_C" >&6
4682 ac_cv_sys_largefile_CC=no
4683 if test "$GCC" != yes; then
4686 # IRIX 6.2 and later do not support large files by default,
4687 # so use the C compiler's -n32 option if that helps.
4688 cat >conftest.$ac_ext <<_ACEOF
4691 cat confdefs.h >>conftest.$ac_ext
4692 cat >>conftest.$ac_ext <<_ACEOF
4693 /* end confdefs.h. */
4694 #include <sys/types.h>
4695 /* Check that off_t can represent 2**63 - 1 correctly.
4696 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4697 since some C++ compilers masquerading as C compilers
4698 incorrectly reject 9223372036854775807. */
4699 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4700 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4701 && LARGE_OFF_T % 2147483647 == 1)
4711 rm -f conftest.$ac_objext
4712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4713 (eval $ac_compile) 2>conftest.er1
4715 grep -v '^ *+' conftest.er1 >conftest.err
4717 cat conftest.err >&5
4718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4719 (exit $ac_status); } &&
4720 { ac_try='test -z "$ac_c_werror_flag"
4721 || test ! -s conftest.err'
4722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4726 (exit $ac_status); }; } &&
4727 { ac_try='test -s conftest.$ac_objext'
4728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732 (exit $ac_status); }; }; then
4735 echo "$as_me: failed program was:" >&5
4736 sed 's/^/| /' conftest.$ac_ext >&5
4739 rm -f conftest.err conftest.$ac_objext
4741 rm -f conftest.$ac_objext
4742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4743 (eval $ac_compile) 2>conftest.er1
4745 grep -v '^ *+' conftest.er1 >conftest.err
4747 cat conftest.err >&5
4748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749 (exit $ac_status); } &&
4750 { ac_try='test -z "$ac_c_werror_flag"
4751 || test ! -s conftest.err'
4752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756 (exit $ac_status); }; } &&
4757 { ac_try='test -s conftest.$ac_objext'
4758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762 (exit $ac_status); }; }; then
4763 ac_cv_sys_largefile_CC=' -n32'; break
4765 echo "$as_me: failed program was:" >&5
4766 sed 's/^/| /' conftest.$ac_ext >&5
4769 rm -f conftest.err conftest.$ac_objext
4773 rm -f conftest.$ac_ext
4776 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4777 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4778 if test "$ac_cv_sys_largefile_CC" != no; then
4779 CC=$CC$ac_cv_sys_largefile_CC
4782 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4783 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4784 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4785 echo $ECHO_N "(cached) $ECHO_C" >&6
4788 ac_cv_sys_file_offset_bits=no
4789 cat >conftest.$ac_ext <<_ACEOF
4792 cat confdefs.h >>conftest.$ac_ext
4793 cat >>conftest.$ac_ext <<_ACEOF
4794 /* end confdefs.h. */
4795 #include <sys/types.h>
4796 /* Check that off_t can represent 2**63 - 1 correctly.
4797 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4798 since some C++ compilers masquerading as C compilers
4799 incorrectly reject 9223372036854775807. */
4800 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4801 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4802 && LARGE_OFF_T % 2147483647 == 1)
4812 rm -f conftest.$ac_objext
4813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4814 (eval $ac_compile) 2>conftest.er1
4816 grep -v '^ *+' conftest.er1 >conftest.err
4818 cat conftest.err >&5
4819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4820 (exit $ac_status); } &&
4821 { ac_try='test -z "$ac_c_werror_flag"
4822 || test ! -s conftest.err'
4823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827 (exit $ac_status); }; } &&
4828 { ac_try='test -s conftest.$ac_objext'
4829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833 (exit $ac_status); }; }; then
4836 echo "$as_me: failed program was:" >&5
4837 sed 's/^/| /' conftest.$ac_ext >&5
4840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4841 cat >conftest.$ac_ext <<_ACEOF
4844 cat confdefs.h >>conftest.$ac_ext
4845 cat >>conftest.$ac_ext <<_ACEOF
4846 /* end confdefs.h. */
4847 #define _FILE_OFFSET_BITS 64
4848 #include <sys/types.h>
4849 /* Check that off_t can represent 2**63 - 1 correctly.
4850 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4851 since some C++ compilers masquerading as C compilers
4852 incorrectly reject 9223372036854775807. */
4853 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4854 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4855 && LARGE_OFF_T % 2147483647 == 1)
4865 rm -f conftest.$ac_objext
4866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4867 (eval $ac_compile) 2>conftest.er1
4869 grep -v '^ *+' conftest.er1 >conftest.err
4871 cat conftest.err >&5
4872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4873 (exit $ac_status); } &&
4874 { ac_try='test -z "$ac_c_werror_flag"
4875 || test ! -s conftest.err'
4876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4880 (exit $ac_status); }; } &&
4881 { ac_try='test -s conftest.$ac_objext'
4882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4886 (exit $ac_status); }; }; then
4887 ac_cv_sys_file_offset_bits=64; break
4889 echo "$as_me: failed program was:" >&5
4890 sed 's/^/| /' conftest.$ac_ext >&5
4893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4897 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4898 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4899 if test "$ac_cv_sys_file_offset_bits" != no; then
4901 cat >>confdefs.h <<_ACEOF
4902 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4907 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4908 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4909 if test "${ac_cv_sys_large_files+set}" = set; then
4910 echo $ECHO_N "(cached) $ECHO_C" >&6
4913 ac_cv_sys_large_files=no
4914 cat >conftest.$ac_ext <<_ACEOF
4917 cat confdefs.h >>conftest.$ac_ext
4918 cat >>conftest.$ac_ext <<_ACEOF
4919 /* end confdefs.h. */
4920 #include <sys/types.h>
4921 /* Check that off_t can represent 2**63 - 1 correctly.
4922 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4923 since some C++ compilers masquerading as C compilers
4924 incorrectly reject 9223372036854775807. */
4925 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4926 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4927 && LARGE_OFF_T % 2147483647 == 1)
4937 rm -f conftest.$ac_objext
4938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4939 (eval $ac_compile) 2>conftest.er1
4941 grep -v '^ *+' conftest.er1 >conftest.err
4943 cat conftest.err >&5
4944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4945 (exit $ac_status); } &&
4946 { ac_try='test -z "$ac_c_werror_flag"
4947 || test ! -s conftest.err'
4948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952 (exit $ac_status); }; } &&
4953 { ac_try='test -s conftest.$ac_objext'
4954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4958 (exit $ac_status); }; }; then
4961 echo "$as_me: failed program was:" >&5
4962 sed 's/^/| /' conftest.$ac_ext >&5
4965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4966 cat >conftest.$ac_ext <<_ACEOF
4969 cat confdefs.h >>conftest.$ac_ext
4970 cat >>conftest.$ac_ext <<_ACEOF
4971 /* end confdefs.h. */
4972 #define _LARGE_FILES 1
4973 #include <sys/types.h>
4974 /* Check that off_t can represent 2**63 - 1 correctly.
4975 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4976 since some C++ compilers masquerading as C compilers
4977 incorrectly reject 9223372036854775807. */
4978 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4979 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4980 && LARGE_OFF_T % 2147483647 == 1)
4990 rm -f conftest.$ac_objext
4991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4992 (eval $ac_compile) 2>conftest.er1
4994 grep -v '^ *+' conftest.er1 >conftest.err
4996 cat conftest.err >&5
4997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4998 (exit $ac_status); } &&
4999 { ac_try='test -z "$ac_c_werror_flag"
5000 || test ! -s conftest.err'
5001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005 (exit $ac_status); }; } &&
5006 { ac_try='test -s conftest.$ac_objext'
5007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011 (exit $ac_status); }; }; then
5012 ac_cv_sys_large_files=1; break
5014 echo "$as_me: failed program was:" >&5
5015 sed 's/^/| /' conftest.$ac_ext >&5
5018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5022 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5023 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5024 if test "$ac_cv_sys_large_files" != no; then
5026 cat >>confdefs.h <<_ACEOF
5027 #define _LARGE_FILES $ac_cv_sys_large_files
5034 if test x$gcc_no_link = xyes; then
5035 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
5036 ac_cv_func_mmap_fixed_mapped=no
5039 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
5041 ac_cpp='$CPP $CPPFLAGS'
5042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5045 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5046 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5047 # On Suns, sometimes $CPP names a directory.
5048 if test -n "$CPP" && test -d "$CPP"; then
5051 if test -z "$CPP"; then
5052 if test "${ac_cv_prog_CPP+set}" = set; then
5053 echo $ECHO_N "(cached) $ECHO_C" >&6
5055 # Double quotes because CPP needs to be expanded
5056 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5059 for ac_c_preproc_warn_flag in '' yes
5061 # Use a header file that comes with gcc, so configuring glibc
5062 # with a fresh cross-compiler works.
5063 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5064 # <limits.h> exists even on freestanding compilers.
5065 # On the NeXT, cc -E runs the code through the compiler's parser,
5066 # not just through cpp. "Syntax error" is here to catch this case.
5067 cat >conftest.$ac_ext <<_ACEOF
5070 cat confdefs.h >>conftest.$ac_ext
5071 cat >>conftest.$ac_ext <<_ACEOF
5072 /* end confdefs.h. */
5074 # include <limits.h>
5076 # include <assert.h>
5080 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5081 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5083 grep -v '^ *+' conftest.er1 >conftest.err
5085 cat conftest.err >&5
5086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5087 (exit $ac_status); } >/dev/null; then
5088 if test -s conftest.err; then
5089 ac_cpp_err=$ac_c_preproc_warn_flag
5090 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5097 if test -z "$ac_cpp_err"; then
5100 echo "$as_me: failed program was:" >&5
5101 sed 's/^/| /' conftest.$ac_ext >&5
5103 # Broken: fails on valid input.
5106 rm -f conftest.err conftest.$ac_ext
5108 # OK, works on sane cases. Now check whether non-existent headers
5109 # can be detected and how.
5110 cat >conftest.$ac_ext <<_ACEOF
5113 cat confdefs.h >>conftest.$ac_ext
5114 cat >>conftest.$ac_ext <<_ACEOF
5115 /* end confdefs.h. */
5116 #include <ac_nonexistent.h>
5118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5119 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5121 grep -v '^ *+' conftest.er1 >conftest.err
5123 cat conftest.err >&5
5124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5125 (exit $ac_status); } >/dev/null; then
5126 if test -s conftest.err; then
5127 ac_cpp_err=$ac_c_preproc_warn_flag
5128 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5135 if test -z "$ac_cpp_err"; then
5136 # Broken: success on invalid input.
5139 echo "$as_me: failed program was:" >&5
5140 sed 's/^/| /' conftest.$ac_ext >&5
5142 # Passes both tests.
5146 rm -f conftest.err conftest.$ac_ext
5149 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5150 rm -f conftest.err conftest.$ac_ext
5151 if $ac_preproc_ok; then
5163 echo "$as_me:$LINENO: result: $CPP" >&5
5164 echo "${ECHO_T}$CPP" >&6
5166 for ac_c_preproc_warn_flag in '' yes
5168 # Use a header file that comes with gcc, so configuring glibc
5169 # with a fresh cross-compiler works.
5170 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5171 # <limits.h> exists even on freestanding compilers.
5172 # On the NeXT, cc -E runs the code through the compiler's parser,
5173 # not just through cpp. "Syntax error" is here to catch this case.
5174 cat >conftest.$ac_ext <<_ACEOF
5177 cat confdefs.h >>conftest.$ac_ext
5178 cat >>conftest.$ac_ext <<_ACEOF
5179 /* end confdefs.h. */
5181 # include <limits.h>
5183 # include <assert.h>
5187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5188 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5190 grep -v '^ *+' conftest.er1 >conftest.err
5192 cat conftest.err >&5
5193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5194 (exit $ac_status); } >/dev/null; then
5195 if test -s conftest.err; then
5196 ac_cpp_err=$ac_c_preproc_warn_flag
5197 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5204 if test -z "$ac_cpp_err"; then
5207 echo "$as_me: failed program was:" >&5
5208 sed 's/^/| /' conftest.$ac_ext >&5
5210 # Broken: fails on valid input.
5213 rm -f conftest.err conftest.$ac_ext
5215 # OK, works on sane cases. Now check whether non-existent headers
5216 # can be detected and how.
5217 cat >conftest.$ac_ext <<_ACEOF
5220 cat confdefs.h >>conftest.$ac_ext
5221 cat >>conftest.$ac_ext <<_ACEOF
5222 /* end confdefs.h. */
5223 #include <ac_nonexistent.h>
5225 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5226 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5228 grep -v '^ *+' conftest.er1 >conftest.err
5230 cat conftest.err >&5
5231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5232 (exit $ac_status); } >/dev/null; then
5233 if test -s conftest.err; then
5234 ac_cpp_err=$ac_c_preproc_warn_flag
5235 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5242 if test -z "$ac_cpp_err"; then
5243 # Broken: success on invalid input.
5246 echo "$as_me: failed program was:" >&5
5247 sed 's/^/| /' conftest.$ac_ext >&5
5249 # Passes both tests.
5253 rm -f conftest.err conftest.$ac_ext
5256 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5257 rm -f conftest.err conftest.$ac_ext
5258 if $ac_preproc_ok; then
5261 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5262 See \`config.log' for more details." >&5
5263 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5264 See \`config.log' for more details." >&2;}
5265 { (exit 1); exit 1; }; }
5269 ac_cpp='$CPP $CPPFLAGS'
5270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5275 echo "$as_me:$LINENO: checking for egrep" >&5
5276 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5277 if test "${ac_cv_prog_egrep+set}" = set; then
5278 echo $ECHO_N "(cached) $ECHO_C" >&6
5280 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5281 then ac_cv_prog_egrep='grep -E'
5282 else ac_cv_prog_egrep='egrep'
5285 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5286 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5287 EGREP=$ac_cv_prog_egrep
5290 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5291 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5292 if test "${ac_cv_header_stdc+set}" = set; then
5293 echo $ECHO_N "(cached) $ECHO_C" >&6
5295 cat >conftest.$ac_ext <<_ACEOF
5298 cat confdefs.h >>conftest.$ac_ext
5299 cat >>conftest.$ac_ext <<_ACEOF
5300 /* end confdefs.h. */
5314 rm -f conftest.$ac_objext
5315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5316 (eval $ac_compile) 2>conftest.er1
5318 grep -v '^ *+' conftest.er1 >conftest.err
5320 cat conftest.err >&5
5321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5322 (exit $ac_status); } &&
5323 { ac_try='test -z "$ac_c_werror_flag"
5324 || test ! -s conftest.err'
5325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5329 (exit $ac_status); }; } &&
5330 { ac_try='test -s conftest.$ac_objext'
5331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5335 (exit $ac_status); }; }; then
5336 ac_cv_header_stdc=yes
5338 echo "$as_me: failed program was:" >&5
5339 sed 's/^/| /' conftest.$ac_ext >&5
5341 ac_cv_header_stdc=no
5343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5345 if test $ac_cv_header_stdc = yes; then
5346 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5347 cat >conftest.$ac_ext <<_ACEOF
5350 cat confdefs.h >>conftest.$ac_ext
5351 cat >>conftest.$ac_ext <<_ACEOF
5352 /* end confdefs.h. */
5356 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5357 $EGREP "memchr" >/dev/null 2>&1; then
5360 ac_cv_header_stdc=no
5366 if test $ac_cv_header_stdc = yes; then
5367 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5368 cat >conftest.$ac_ext <<_ACEOF
5371 cat confdefs.h >>conftest.$ac_ext
5372 cat >>conftest.$ac_ext <<_ACEOF
5373 /* end confdefs.h. */
5377 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5378 $EGREP "free" >/dev/null 2>&1; then
5381 ac_cv_header_stdc=no
5387 if test $ac_cv_header_stdc = yes; then
5388 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5389 if test "$cross_compiling" = yes; then
5392 cat >conftest.$ac_ext <<_ACEOF
5395 cat confdefs.h >>conftest.$ac_ext
5396 cat >>conftest.$ac_ext <<_ACEOF
5397 /* end confdefs.h. */
5399 #if ((' ' & 0x0FF) == 0x020)
5400 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5401 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5403 # define ISLOWER(c) \
5404 (('a' <= (c) && (c) <= 'i') \
5405 || ('j' <= (c) && (c) <= 'r') \
5406 || ('s' <= (c) && (c) <= 'z'))
5407 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5410 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5415 for (i = 0; i < 256; i++)
5416 if (XOR (islower (i), ISLOWER (i))
5417 || toupper (i) != TOUPPER (i))
5422 rm -f conftest$ac_exeext
5423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5424 (eval $ac_link) 2>&5
5426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5427 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5432 (exit $ac_status); }; }; then
5435 echo "$as_me: program exited with status $ac_status" >&5
5436 echo "$as_me: failed program was:" >&5
5437 sed 's/^/| /' conftest.$ac_ext >&5
5440 ac_cv_header_stdc=no
5442 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5446 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5447 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5448 if test $ac_cv_header_stdc = yes; then
5450 cat >>confdefs.h <<\_ACEOF
5451 #define STDC_HEADERS 1
5456 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5466 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5467 inttypes.h stdint.h unistd.h
5469 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5470 echo "$as_me:$LINENO: checking for $ac_header" >&5
5471 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5473 echo $ECHO_N "(cached) $ECHO_C" >&6
5475 cat >conftest.$ac_ext <<_ACEOF
5478 cat confdefs.h >>conftest.$ac_ext
5479 cat >>conftest.$ac_ext <<_ACEOF
5480 /* end confdefs.h. */
5481 $ac_includes_default
5483 #include <$ac_header>
5485 rm -f conftest.$ac_objext
5486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5487 (eval $ac_compile) 2>conftest.er1
5489 grep -v '^ *+' conftest.er1 >conftest.err
5491 cat conftest.err >&5
5492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5493 (exit $ac_status); } &&
5494 { ac_try='test -z "$ac_c_werror_flag"
5495 || test ! -s conftest.err'
5496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5500 (exit $ac_status); }; } &&
5501 { ac_try='test -s conftest.$ac_objext'
5502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5506 (exit $ac_status); }; }; then
5507 eval "$as_ac_Header=yes"
5509 echo "$as_me: failed program was:" >&5
5510 sed 's/^/| /' conftest.$ac_ext >&5
5512 eval "$as_ac_Header=no"
5514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5518 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5519 cat >>confdefs.h <<_ACEOF
5520 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5530 for ac_header in stdlib.h unistd.h
5532 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5534 echo "$as_me:$LINENO: checking for $ac_header" >&5
5535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5537 echo $ECHO_N "(cached) $ECHO_C" >&6
5539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5540 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5542 # Is the header compilable?
5543 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5544 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5545 cat >conftest.$ac_ext <<_ACEOF
5548 cat confdefs.h >>conftest.$ac_ext
5549 cat >>conftest.$ac_ext <<_ACEOF
5550 /* end confdefs.h. */
5551 $ac_includes_default
5552 #include <$ac_header>
5554 rm -f conftest.$ac_objext
5555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5556 (eval $ac_compile) 2>conftest.er1
5558 grep -v '^ *+' conftest.er1 >conftest.err
5560 cat conftest.err >&5
5561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5562 (exit $ac_status); } &&
5563 { ac_try='test -z "$ac_c_werror_flag"
5564 || test ! -s conftest.err'
5565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5569 (exit $ac_status); }; } &&
5570 { ac_try='test -s conftest.$ac_objext'
5571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5575 (exit $ac_status); }; }; then
5576 ac_header_compiler=yes
5578 echo "$as_me: failed program was:" >&5
5579 sed 's/^/| /' conftest.$ac_ext >&5
5581 ac_header_compiler=no
5583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5584 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5585 echo "${ECHO_T}$ac_header_compiler" >&6
5587 # Is the header present?
5588 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5589 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5590 cat >conftest.$ac_ext <<_ACEOF
5593 cat confdefs.h >>conftest.$ac_ext
5594 cat >>conftest.$ac_ext <<_ACEOF
5595 /* end confdefs.h. */
5596 #include <$ac_header>
5598 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5599 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5601 grep -v '^ *+' conftest.er1 >conftest.err
5603 cat conftest.err >&5
5604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605 (exit $ac_status); } >/dev/null; then
5606 if test -s conftest.err; then
5607 ac_cpp_err=$ac_c_preproc_warn_flag
5608 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5615 if test -z "$ac_cpp_err"; then
5616 ac_header_preproc=yes
5618 echo "$as_me: failed program was:" >&5
5619 sed 's/^/| /' conftest.$ac_ext >&5
5621 ac_header_preproc=no
5623 rm -f conftest.err conftest.$ac_ext
5624 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5625 echo "${ECHO_T}$ac_header_preproc" >&6
5627 # So? What about this header?
5628 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5630 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5631 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5632 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5633 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5634 ac_header_preproc=yes
5637 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5638 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5639 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5640 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5641 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5642 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5643 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5644 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5645 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5646 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5647 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5648 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5651 ## ------------------------------------------------------ ##
5652 ## Report this to the GNU Fortran Runtime Library lists. ##
5653 ## ------------------------------------------------------ ##
5656 sed "s/^/$as_me: WARNING: /" >&2
5659 echo "$as_me:$LINENO: checking for $ac_header" >&5
5660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5661 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5662 echo $ECHO_N "(cached) $ECHO_C" >&6
5664 eval "$as_ac_Header=\$ac_header_preproc"
5666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5667 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5670 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5671 cat >>confdefs.h <<_ACEOF
5672 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5680 for ac_func in getpagesize
5682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5683 echo "$as_me:$LINENO: checking for $ac_func" >&5
5684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5685 if eval "test \"\${$as_ac_var+set}\" = set"; then
5686 echo $ECHO_N "(cached) $ECHO_C" >&6
5688 if test x$gcc_no_link = xyes; then
5689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5691 { (exit 1); exit 1; }; }
5693 cat >conftest.$ac_ext <<_ACEOF
5696 cat confdefs.h >>conftest.$ac_ext
5697 cat >>conftest.$ac_ext <<_ACEOF
5698 /* end confdefs.h. */
5699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5701 #define $ac_func innocuous_$ac_func
5703 /* System header to define __stub macros and hopefully few prototypes,
5704 which can conflict with char $ac_func (); below.
5705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5706 <limits.h> exists even on freestanding compilers. */
5709 # include <limits.h>
5711 # include <assert.h>
5716 /* Override any gcc2 internal prototype to avoid an error. */
5721 /* We use char because int might match the return type of a gcc2
5722 builtin and then its argument prototype would still apply. */
5724 /* The GNU C library defines this for functions which it implements
5725 to always fail with ENOSYS. Some functions are actually named
5726 something starting with __ and the normal name is an alias. */
5727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5730 char (*f) () = $ac_func;
5739 return f != $ac_func;
5744 rm -f conftest.$ac_objext conftest$ac_exeext
5745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5746 (eval $ac_link) 2>conftest.er1
5748 grep -v '^ *+' conftest.er1 >conftest.err
5750 cat conftest.err >&5
5751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5752 (exit $ac_status); } &&
5753 { ac_try='test -z "$ac_c_werror_flag"
5754 || test ! -s conftest.err'
5755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5759 (exit $ac_status); }; } &&
5760 { ac_try='test -s conftest$ac_exeext'
5761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5765 (exit $ac_status); }; }; then
5766 eval "$as_ac_var=yes"
5768 echo "$as_me: failed program was:" >&5
5769 sed 's/^/| /' conftest.$ac_ext >&5
5771 eval "$as_ac_var=no"
5773 rm -f conftest.err conftest.$ac_objext \
5774 conftest$ac_exeext conftest.$ac_ext
5776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5778 if test `eval echo '${'$as_ac_var'}'` = yes; then
5779 cat >>confdefs.h <<_ACEOF
5780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5786 echo "$as_me:$LINENO: checking for working mmap" >&5
5787 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5788 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5789 echo $ECHO_N "(cached) $ECHO_C" >&6
5791 if test "$cross_compiling" = yes; then
5792 ac_cv_func_mmap_fixed_mapped=no
5794 cat >conftest.$ac_ext <<_ACEOF
5797 cat confdefs.h >>conftest.$ac_ext
5798 cat >>conftest.$ac_ext <<_ACEOF
5799 /* end confdefs.h. */
5800 $ac_includes_default
5801 /* malloc might have been renamed as rpl_malloc. */
5804 /* Thanks to Mike Haertel and Jim Avera for this test.
5805 Here is a matrix of mmap possibilities:
5806 mmap private not fixed
5807 mmap private fixed at somewhere currently unmapped
5808 mmap private fixed at somewhere already mapped
5809 mmap shared not fixed
5810 mmap shared fixed at somewhere currently unmapped
5811 mmap shared fixed at somewhere already mapped
5812 For private mappings, we should verify that changes cannot be read()
5813 back from the file, nor mmap's back from the file at a different
5814 address. (There have been systems where private was not correctly
5815 implemented like the infamous i386 svr4.0, and systems where the
5816 VM page cache was not coherent with the file system buffer cache
5817 like early versions of FreeBSD and possibly contemporary NetBSD.)
5818 For shared mappings, we should conversely verify that changes get
5819 propagated back to all the places they're supposed to be.
5821 Grep wants private fixed already mapped.
5822 The main things grep needs to know about mmap are:
5823 * does it exist and is it safe to write into the mmap'd area
5824 * how to use it (BSD variants) */
5827 #include <sys/mman.h>
5829 #if !STDC_HEADERS && !HAVE_STDLIB_H
5833 /* This mess was copied from the GNU getpagesize.h. */
5834 #if !HAVE_GETPAGESIZE
5835 /* Assume that all systems that can run configure have sys/param.h. */
5836 # if !HAVE_SYS_PARAM_H
5837 # define HAVE_SYS_PARAM_H 1
5840 # ifdef _SC_PAGESIZE
5841 # define getpagesize() sysconf(_SC_PAGESIZE)
5842 # else /* no _SC_PAGESIZE */
5843 # if HAVE_SYS_PARAM_H
5844 # include <sys/param.h>
5845 # ifdef EXEC_PAGESIZE
5846 # define getpagesize() EXEC_PAGESIZE
5847 # else /* no EXEC_PAGESIZE */
5849 # define getpagesize() NBPG * CLSIZE
5852 # endif /* no CLSIZE */
5853 # else /* no NBPG */
5855 # define getpagesize() NBPC
5856 # else /* no NBPC */
5858 # define getpagesize() PAGESIZE
5859 # endif /* PAGESIZE */
5860 # endif /* no NBPC */
5861 # endif /* no NBPG */
5862 # endif /* no EXEC_PAGESIZE */
5863 # else /* no HAVE_SYS_PARAM_H */
5864 # define getpagesize() 8192 /* punt totally */
5865 # endif /* no HAVE_SYS_PARAM_H */
5866 # endif /* no _SC_PAGESIZE */
5868 #endif /* no HAVE_GETPAGESIZE */
5873 char *data, *data2, *data3;
5877 pagesize = getpagesize ();
5879 /* First, make a file with some known garbage in it. */
5880 data = (char *) malloc (pagesize);
5883 for (i = 0; i < pagesize; ++i)
5884 *(data + i) = rand ();
5886 fd = creat ("conftest.mmap", 0600);
5889 if (write (fd, data, pagesize) != pagesize)
5893 /* Next, try to mmap the file at a fixed address which already has
5894 something else allocated at it. If we can, also make sure that
5895 we see the same garbage. */
5896 fd = open ("conftest.mmap", O_RDWR);
5899 data2 = (char *) malloc (2 * pagesize);
5902 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5903 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5904 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5906 for (i = 0; i < pagesize; ++i)
5907 if (*(data + i) != *(data2 + i))
5910 /* Finally, make sure that changes to the mapped area do not
5911 percolate back to the file as seen by read(). (This is a bug on
5912 some variants of i386 svr4.0.) */
5913 for (i = 0; i < pagesize; ++i)
5914 *(data2 + i) = *(data2 + i) + 1;
5915 data3 = (char *) malloc (pagesize);
5918 if (read (fd, data3, pagesize) != pagesize)
5920 for (i = 0; i < pagesize; ++i)
5921 if (*(data + i) != *(data3 + i))
5927 rm -f conftest$ac_exeext
5928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5929 (eval $ac_link) 2>&5
5931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5932 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5937 (exit $ac_status); }; }; then
5938 ac_cv_func_mmap_fixed_mapped=yes
5940 echo "$as_me: program exited with status $ac_status" >&5
5941 echo "$as_me: failed program was:" >&5
5942 sed 's/^/| /' conftest.$ac_ext >&5
5945 ac_cv_func_mmap_fixed_mapped=no
5947 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5950 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5951 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5952 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5954 cat >>confdefs.h <<\_ACEOF
5962 echo "$as_me:$LINENO: checking for off_t" >&5
5963 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5964 if test "${ac_cv_type_off_t+set}" = set; then
5965 echo $ECHO_N "(cached) $ECHO_C" >&6
5967 cat >conftest.$ac_ext <<_ACEOF
5970 cat confdefs.h >>conftest.$ac_ext
5971 cat >>conftest.$ac_ext <<_ACEOF
5972 /* end confdefs.h. */
5973 $ac_includes_default
5985 rm -f conftest.$ac_objext
5986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5987 (eval $ac_compile) 2>conftest.er1
5989 grep -v '^ *+' conftest.er1 >conftest.err
5991 cat conftest.err >&5
5992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5993 (exit $ac_status); } &&
5994 { ac_try='test -z "$ac_c_werror_flag"
5995 || test ! -s conftest.err'
5996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6000 (exit $ac_status); }; } &&
6001 { ac_try='test -s conftest.$ac_objext'
6002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6006 (exit $ac_status); }; }; then
6007 ac_cv_type_off_t=yes
6009 echo "$as_me: failed program was:" >&5
6010 sed 's/^/| /' conftest.$ac_ext >&5
6014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6016 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6017 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6018 if test $ac_cv_type_off_t = yes; then
6022 cat >>confdefs.h <<_ACEOF
6029 # check header files
6030 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6031 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6032 if test "${ac_cv_header_stdc+set}" = set; then
6033 echo $ECHO_N "(cached) $ECHO_C" >&6
6035 cat >conftest.$ac_ext <<_ACEOF
6038 cat confdefs.h >>conftest.$ac_ext
6039 cat >>conftest.$ac_ext <<_ACEOF
6040 /* end confdefs.h. */
6054 rm -f conftest.$ac_objext
6055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6056 (eval $ac_compile) 2>conftest.er1
6058 grep -v '^ *+' conftest.er1 >conftest.err
6060 cat conftest.err >&5
6061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6062 (exit $ac_status); } &&
6063 { ac_try='test -z "$ac_c_werror_flag"
6064 || test ! -s conftest.err'
6065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6069 (exit $ac_status); }; } &&
6070 { ac_try='test -s conftest.$ac_objext'
6071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075 (exit $ac_status); }; }; then
6076 ac_cv_header_stdc=yes
6078 echo "$as_me: failed program was:" >&5
6079 sed 's/^/| /' conftest.$ac_ext >&5
6081 ac_cv_header_stdc=no
6083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6085 if test $ac_cv_header_stdc = yes; then
6086 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6087 cat >conftest.$ac_ext <<_ACEOF
6090 cat confdefs.h >>conftest.$ac_ext
6091 cat >>conftest.$ac_ext <<_ACEOF
6092 /* end confdefs.h. */
6096 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6097 $EGREP "memchr" >/dev/null 2>&1; then
6100 ac_cv_header_stdc=no
6106 if test $ac_cv_header_stdc = yes; then
6107 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6108 cat >conftest.$ac_ext <<_ACEOF
6111 cat confdefs.h >>conftest.$ac_ext
6112 cat >>conftest.$ac_ext <<_ACEOF
6113 /* end confdefs.h. */
6117 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6118 $EGREP "free" >/dev/null 2>&1; then
6121 ac_cv_header_stdc=no
6127 if test $ac_cv_header_stdc = yes; then
6128 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6129 if test "$cross_compiling" = yes; then
6132 cat >conftest.$ac_ext <<_ACEOF
6135 cat confdefs.h >>conftest.$ac_ext
6136 cat >>conftest.$ac_ext <<_ACEOF
6137 /* end confdefs.h. */
6139 #if ((' ' & 0x0FF) == 0x020)
6140 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6141 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6143 # define ISLOWER(c) \
6144 (('a' <= (c) && (c) <= 'i') \
6145 || ('j' <= (c) && (c) <= 'r') \
6146 || ('s' <= (c) && (c) <= 'z'))
6147 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6150 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6155 for (i = 0; i < 256; i++)
6156 if (XOR (islower (i), ISLOWER (i))
6157 || toupper (i) != TOUPPER (i))
6162 rm -f conftest$ac_exeext
6163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6164 (eval $ac_link) 2>&5
6166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6172 (exit $ac_status); }; }; then
6175 echo "$as_me: program exited with status $ac_status" >&5
6176 echo "$as_me: failed program was:" >&5
6177 sed 's/^/| /' conftest.$ac_ext >&5
6180 ac_cv_header_stdc=no
6182 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6186 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6187 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6188 if test $ac_cv_header_stdc = yes; then
6190 cat >>confdefs.h <<\_ACEOF
6191 #define STDC_HEADERS 1
6203 for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
6205 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6207 echo "$as_me:$LINENO: checking for $ac_header" >&5
6208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6210 echo $ECHO_N "(cached) $ECHO_C" >&6
6212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6213 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6215 # Is the header compilable?
6216 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6217 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6218 cat >conftest.$ac_ext <<_ACEOF
6221 cat confdefs.h >>conftest.$ac_ext
6222 cat >>conftest.$ac_ext <<_ACEOF
6223 /* end confdefs.h. */
6224 $ac_includes_default
6225 #include <$ac_header>
6227 rm -f conftest.$ac_objext
6228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6229 (eval $ac_compile) 2>conftest.er1
6231 grep -v '^ *+' conftest.er1 >conftest.err
6233 cat conftest.err >&5
6234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6235 (exit $ac_status); } &&
6236 { ac_try='test -z "$ac_c_werror_flag"
6237 || test ! -s conftest.err'
6238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6242 (exit $ac_status); }; } &&
6243 { ac_try='test -s conftest.$ac_objext'
6244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6248 (exit $ac_status); }; }; then
6249 ac_header_compiler=yes
6251 echo "$as_me: failed program was:" >&5
6252 sed 's/^/| /' conftest.$ac_ext >&5
6254 ac_header_compiler=no
6256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6257 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6258 echo "${ECHO_T}$ac_header_compiler" >&6
6260 # Is the header present?
6261 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6262 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6263 cat >conftest.$ac_ext <<_ACEOF
6266 cat confdefs.h >>conftest.$ac_ext
6267 cat >>conftest.$ac_ext <<_ACEOF
6268 /* end confdefs.h. */
6269 #include <$ac_header>
6271 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6272 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6274 grep -v '^ *+' conftest.er1 >conftest.err
6276 cat conftest.err >&5
6277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6278 (exit $ac_status); } >/dev/null; then
6279 if test -s conftest.err; then
6280 ac_cpp_err=$ac_c_preproc_warn_flag
6281 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6288 if test -z "$ac_cpp_err"; then
6289 ac_header_preproc=yes
6291 echo "$as_me: failed program was:" >&5
6292 sed 's/^/| /' conftest.$ac_ext >&5
6294 ac_header_preproc=no
6296 rm -f conftest.err conftest.$ac_ext
6297 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6298 echo "${ECHO_T}$ac_header_preproc" >&6
6300 # So? What about this header?
6301 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6303 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6304 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6305 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6306 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6307 ac_header_preproc=yes
6310 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6311 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6312 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6313 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6314 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6315 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6316 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6317 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6318 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6319 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6320 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6321 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6324 ## ------------------------------------------------------ ##
6325 ## Report this to the GNU Fortran Runtime Library lists. ##
6326 ## ------------------------------------------------------ ##
6329 sed "s/^/$as_me: WARNING: /" >&2
6332 echo "$as_me:$LINENO: checking for $ac_header" >&5
6333 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6335 echo $ECHO_N "(cached) $ECHO_C" >&6
6337 eval "$as_ac_Header=\$ac_header_preproc"
6339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6340 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6343 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6344 cat >>confdefs.h <<_ACEOF
6345 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6357 for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
6359 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6361 echo "$as_me:$LINENO: checking for $ac_header" >&5
6362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6364 echo $ECHO_N "(cached) $ECHO_C" >&6
6366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6369 # Is the header compilable?
6370 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6371 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6372 cat >conftest.$ac_ext <<_ACEOF
6375 cat confdefs.h >>conftest.$ac_ext
6376 cat >>conftest.$ac_ext <<_ACEOF
6377 /* end confdefs.h. */
6378 $ac_includes_default
6379 #include <$ac_header>
6381 rm -f conftest.$ac_objext
6382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6383 (eval $ac_compile) 2>conftest.er1
6385 grep -v '^ *+' conftest.er1 >conftest.err
6387 cat conftest.err >&5
6388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6389 (exit $ac_status); } &&
6390 { ac_try='test -z "$ac_c_werror_flag"
6391 || test ! -s conftest.err'
6392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6396 (exit $ac_status); }; } &&
6397 { ac_try='test -s conftest.$ac_objext'
6398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6402 (exit $ac_status); }; }; then
6403 ac_header_compiler=yes
6405 echo "$as_me: failed program was:" >&5
6406 sed 's/^/| /' conftest.$ac_ext >&5
6408 ac_header_compiler=no
6410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6411 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6412 echo "${ECHO_T}$ac_header_compiler" >&6
6414 # Is the header present?
6415 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6416 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6417 cat >conftest.$ac_ext <<_ACEOF
6420 cat confdefs.h >>conftest.$ac_ext
6421 cat >>conftest.$ac_ext <<_ACEOF
6422 /* end confdefs.h. */
6423 #include <$ac_header>
6425 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6426 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6428 grep -v '^ *+' conftest.er1 >conftest.err
6430 cat conftest.err >&5
6431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432 (exit $ac_status); } >/dev/null; then
6433 if test -s conftest.err; then
6434 ac_cpp_err=$ac_c_preproc_warn_flag
6435 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6442 if test -z "$ac_cpp_err"; then
6443 ac_header_preproc=yes
6445 echo "$as_me: failed program was:" >&5
6446 sed 's/^/| /' conftest.$ac_ext >&5
6448 ac_header_preproc=no
6450 rm -f conftest.err conftest.$ac_ext
6451 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6452 echo "${ECHO_T}$ac_header_preproc" >&6
6454 # So? What about this header?
6455 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6457 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6458 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6459 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6460 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6461 ac_header_preproc=yes
6464 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6465 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6466 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6467 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6468 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6469 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6470 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6471 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6472 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6473 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6474 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6475 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6478 ## ------------------------------------------------------ ##
6479 ## Report this to the GNU Fortran Runtime Library lists. ##
6480 ## ------------------------------------------------------ ##
6483 sed "s/^/$as_me: WARNING: /" >&2
6486 echo "$as_me:$LINENO: checking for $ac_header" >&5
6487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6489 echo $ECHO_N "(cached) $ECHO_C" >&6
6491 eval "$as_ac_Header=\$ac_header_preproc"
6493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6494 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6497 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6498 cat >>confdefs.h <<_ACEOF
6499 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6511 for ac_header in sys/mman.h sys/types.h sys/stat.h floatingpoint.h ieeefp.h
6513 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6515 echo "$as_me:$LINENO: checking for $ac_header" >&5
6516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6518 echo $ECHO_N "(cached) $ECHO_C" >&6
6520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6521 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6523 # Is the header compilable?
6524 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6525 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6526 cat >conftest.$ac_ext <<_ACEOF
6529 cat confdefs.h >>conftest.$ac_ext
6530 cat >>conftest.$ac_ext <<_ACEOF
6531 /* end confdefs.h. */
6532 $ac_includes_default
6533 #include <$ac_header>
6535 rm -f conftest.$ac_objext
6536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6537 (eval $ac_compile) 2>conftest.er1
6539 grep -v '^ *+' conftest.er1 >conftest.err
6541 cat conftest.err >&5
6542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6543 (exit $ac_status); } &&
6544 { ac_try='test -z "$ac_c_werror_flag"
6545 || test ! -s conftest.err'
6546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6550 (exit $ac_status); }; } &&
6551 { ac_try='test -s conftest.$ac_objext'
6552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6556 (exit $ac_status); }; }; then
6557 ac_header_compiler=yes
6559 echo "$as_me: failed program was:" >&5
6560 sed 's/^/| /' conftest.$ac_ext >&5
6562 ac_header_compiler=no
6564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6565 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6566 echo "${ECHO_T}$ac_header_compiler" >&6
6568 # Is the header present?
6569 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6570 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6571 cat >conftest.$ac_ext <<_ACEOF
6574 cat confdefs.h >>conftest.$ac_ext
6575 cat >>conftest.$ac_ext <<_ACEOF
6576 /* end confdefs.h. */
6577 #include <$ac_header>
6579 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6580 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6582 grep -v '^ *+' conftest.er1 >conftest.err
6584 cat conftest.err >&5
6585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6586 (exit $ac_status); } >/dev/null; then
6587 if test -s conftest.err; then
6588 ac_cpp_err=$ac_c_preproc_warn_flag
6589 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6596 if test -z "$ac_cpp_err"; then
6597 ac_header_preproc=yes
6599 echo "$as_me: failed program was:" >&5
6600 sed 's/^/| /' conftest.$ac_ext >&5
6602 ac_header_preproc=no
6604 rm -f conftest.err conftest.$ac_ext
6605 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6606 echo "${ECHO_T}$ac_header_preproc" >&6
6608 # So? What about this header?
6609 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6611 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6612 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6613 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6614 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6615 ac_header_preproc=yes
6618 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6619 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6620 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6621 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6622 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6623 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6624 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6625 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6626 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6627 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6628 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6629 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6632 ## ------------------------------------------------------ ##
6633 ## Report this to the GNU Fortran Runtime Library lists. ##
6634 ## ------------------------------------------------------ ##
6637 sed "s/^/$as_me: WARNING: /" >&2
6640 echo "$as_me:$LINENO: checking for $ac_header" >&5
6641 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6643 echo $ECHO_N "(cached) $ECHO_C" >&6
6645 eval "$as_ac_Header=\$ac_header_preproc"
6647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6648 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6651 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6652 cat >>confdefs.h <<_ACEOF
6653 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6663 for ac_header in fenv.h fptrap.h float.h
6665 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6667 echo "$as_me:$LINENO: checking for $ac_header" >&5
6668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6670 echo $ECHO_N "(cached) $ECHO_C" >&6
6672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6673 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6675 # Is the header compilable?
6676 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6677 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6678 cat >conftest.$ac_ext <<_ACEOF
6681 cat confdefs.h >>conftest.$ac_ext
6682 cat >>conftest.$ac_ext <<_ACEOF
6683 /* end confdefs.h. */
6684 $ac_includes_default
6685 #include <$ac_header>
6687 rm -f conftest.$ac_objext
6688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6689 (eval $ac_compile) 2>conftest.er1
6691 grep -v '^ *+' conftest.er1 >conftest.err
6693 cat conftest.err >&5
6694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6695 (exit $ac_status); } &&
6696 { ac_try='test -z "$ac_c_werror_flag"
6697 || test ! -s conftest.err'
6698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702 (exit $ac_status); }; } &&
6703 { ac_try='test -s conftest.$ac_objext'
6704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6708 (exit $ac_status); }; }; then
6709 ac_header_compiler=yes
6711 echo "$as_me: failed program was:" >&5
6712 sed 's/^/| /' conftest.$ac_ext >&5
6714 ac_header_compiler=no
6716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6717 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6718 echo "${ECHO_T}$ac_header_compiler" >&6
6720 # Is the header present?
6721 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6722 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6723 cat >conftest.$ac_ext <<_ACEOF
6726 cat confdefs.h >>conftest.$ac_ext
6727 cat >>conftest.$ac_ext <<_ACEOF
6728 /* end confdefs.h. */
6729 #include <$ac_header>
6731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6732 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6734 grep -v '^ *+' conftest.er1 >conftest.err
6736 cat conftest.err >&5
6737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6738 (exit $ac_status); } >/dev/null; then
6739 if test -s conftest.err; then
6740 ac_cpp_err=$ac_c_preproc_warn_flag
6741 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6748 if test -z "$ac_cpp_err"; then
6749 ac_header_preproc=yes
6751 echo "$as_me: failed program was:" >&5
6752 sed 's/^/| /' conftest.$ac_ext >&5
6754 ac_header_preproc=no
6756 rm -f conftest.err conftest.$ac_ext
6757 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6758 echo "${ECHO_T}$ac_header_preproc" >&6
6760 # So? What about this header?
6761 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6763 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6764 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6766 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6767 ac_header_preproc=yes
6770 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6771 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6772 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6773 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6774 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6775 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6776 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6777 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6778 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6779 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6780 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6781 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6784 ## ------------------------------------------------------ ##
6785 ## Report this to the GNU Fortran Runtime Library lists. ##
6786 ## ------------------------------------------------------ ##
6789 sed "s/^/$as_me: WARNING: /" >&2
6792 echo "$as_me:$LINENO: checking for $ac_header" >&5
6793 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6795 echo $ECHO_N "(cached) $ECHO_C" >&6
6797 eval "$as_ac_Header=\$ac_header_preproc"
6799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6803 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6804 cat >>confdefs.h <<_ACEOF
6805 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6812 if test "${ac_cv_header_complex_h+set}" = set; then
6813 echo "$as_me:$LINENO: checking for complex.h" >&5
6814 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6815 if test "${ac_cv_header_complex_h+set}" = set; then
6816 echo $ECHO_N "(cached) $ECHO_C" >&6
6818 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6819 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6821 # Is the header compilable?
6822 echo "$as_me:$LINENO: checking complex.h usability" >&5
6823 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6824 cat >conftest.$ac_ext <<_ACEOF
6827 cat confdefs.h >>conftest.$ac_ext
6828 cat >>conftest.$ac_ext <<_ACEOF
6829 /* end confdefs.h. */
6830 $ac_includes_default
6831 #include <complex.h>
6833 rm -f conftest.$ac_objext
6834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6835 (eval $ac_compile) 2>conftest.er1
6837 grep -v '^ *+' conftest.er1 >conftest.err
6839 cat conftest.err >&5
6840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 (exit $ac_status); } &&
6842 { ac_try='test -z "$ac_c_werror_flag"
6843 || test ! -s conftest.err'
6844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6848 (exit $ac_status); }; } &&
6849 { ac_try='test -s conftest.$ac_objext'
6850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6854 (exit $ac_status); }; }; then
6855 ac_header_compiler=yes
6857 echo "$as_me: failed program was:" >&5
6858 sed 's/^/| /' conftest.$ac_ext >&5
6860 ac_header_compiler=no
6862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6863 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6864 echo "${ECHO_T}$ac_header_compiler" >&6
6866 # Is the header present?
6867 echo "$as_me:$LINENO: checking complex.h presence" >&5
6868 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6869 cat >conftest.$ac_ext <<_ACEOF
6872 cat confdefs.h >>conftest.$ac_ext
6873 cat >>conftest.$ac_ext <<_ACEOF
6874 /* end confdefs.h. */
6875 #include <complex.h>
6877 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6878 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6880 grep -v '^ *+' conftest.er1 >conftest.err
6882 cat conftest.err >&5
6883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6884 (exit $ac_status); } >/dev/null; then
6885 if test -s conftest.err; then
6886 ac_cpp_err=$ac_c_preproc_warn_flag
6887 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6894 if test -z "$ac_cpp_err"; then
6895 ac_header_preproc=yes
6897 echo "$as_me: failed program was:" >&5
6898 sed 's/^/| /' conftest.$ac_ext >&5
6900 ac_header_preproc=no
6902 rm -f conftest.err conftest.$ac_ext
6903 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6904 echo "${ECHO_T}$ac_header_preproc" >&6
6906 # So? What about this header?
6907 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6909 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6910 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6911 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6912 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6913 ac_header_preproc=yes
6916 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6917 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6918 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6919 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6920 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6921 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6922 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6923 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6924 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6925 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6926 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6927 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6930 ## ------------------------------------------------------ ##
6931 ## Report this to the GNU Fortran Runtime Library lists. ##
6932 ## ------------------------------------------------------ ##
6935 sed "s/^/$as_me: WARNING: /" >&2
6938 echo "$as_me:$LINENO: checking for complex.h" >&5
6939 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6940 if test "${ac_cv_header_complex_h+set}" = set; then
6941 echo $ECHO_N "(cached) $ECHO_C" >&6
6943 ac_cv_header_complex_h=$ac_header_preproc
6945 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6946 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6949 if test $ac_cv_header_complex_h = yes; then
6951 cat >>confdefs.h <<\_ACEOF
6952 #define HAVE_COMPLEX_H 1
6959 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6960 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
6961 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6962 echo $ECHO_N "(cached) $ECHO_C" >&6
6964 cat >conftest.$ac_ext <<_ACEOF
6967 cat confdefs.h >>conftest.$ac_ext
6968 cat >>conftest.$ac_ext <<_ACEOF
6969 /* end confdefs.h. */
6970 $ac_includes_default
6974 static struct stat ac_aggr;
6975 if (ac_aggr.st_blksize)
6981 rm -f conftest.$ac_objext
6982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6983 (eval $ac_compile) 2>conftest.er1
6985 grep -v '^ *+' conftest.er1 >conftest.err
6987 cat conftest.err >&5
6988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989 (exit $ac_status); } &&
6990 { ac_try='test -z "$ac_c_werror_flag"
6991 || test ! -s conftest.err'
6992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6996 (exit $ac_status); }; } &&
6997 { ac_try='test -s conftest.$ac_objext'
6998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7002 (exit $ac_status); }; }; then
7003 ac_cv_member_struct_stat_st_blksize=yes
7005 echo "$as_me: failed program was:" >&5
7006 sed 's/^/| /' conftest.$ac_ext >&5
7008 cat >conftest.$ac_ext <<_ACEOF
7011 cat confdefs.h >>conftest.$ac_ext
7012 cat >>conftest.$ac_ext <<_ACEOF
7013 /* end confdefs.h. */
7014 $ac_includes_default
7018 static struct stat ac_aggr;
7019 if (sizeof ac_aggr.st_blksize)
7025 rm -f conftest.$ac_objext
7026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7027 (eval $ac_compile) 2>conftest.er1
7029 grep -v '^ *+' conftest.er1 >conftest.err
7031 cat conftest.err >&5
7032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7033 (exit $ac_status); } &&
7034 { ac_try='test -z "$ac_c_werror_flag"
7035 || test ! -s conftest.err'
7036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7040 (exit $ac_status); }; } &&
7041 { ac_try='test -s conftest.$ac_objext'
7042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7046 (exit $ac_status); }; }; then
7047 ac_cv_member_struct_stat_st_blksize=yes
7049 echo "$as_me: failed program was:" >&5
7050 sed 's/^/| /' conftest.$ac_ext >&5
7052 ac_cv_member_struct_stat_st_blksize=no
7054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7058 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
7059 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
7060 if test $ac_cv_member_struct_stat_st_blksize = yes; then
7062 cat >>confdefs.h <<_ACEOF
7063 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
7069 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
7070 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
7071 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
7072 echo $ECHO_N "(cached) $ECHO_C" >&6
7074 cat >conftest.$ac_ext <<_ACEOF
7077 cat confdefs.h >>conftest.$ac_ext
7078 cat >>conftest.$ac_ext <<_ACEOF
7079 /* end confdefs.h. */
7080 $ac_includes_default
7084 static struct stat ac_aggr;
7085 if (ac_aggr.st_blocks)
7091 rm -f conftest.$ac_objext
7092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7093 (eval $ac_compile) 2>conftest.er1
7095 grep -v '^ *+' conftest.er1 >conftest.err
7097 cat conftest.err >&5
7098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7099 (exit $ac_status); } &&
7100 { ac_try='test -z "$ac_c_werror_flag"
7101 || test ! -s conftest.err'
7102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7106 (exit $ac_status); }; } &&
7107 { ac_try='test -s conftest.$ac_objext'
7108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7112 (exit $ac_status); }; }; then
7113 ac_cv_member_struct_stat_st_blocks=yes
7115 echo "$as_me: failed program was:" >&5
7116 sed 's/^/| /' conftest.$ac_ext >&5
7118 cat >conftest.$ac_ext <<_ACEOF
7121 cat confdefs.h >>conftest.$ac_ext
7122 cat >>conftest.$ac_ext <<_ACEOF
7123 /* end confdefs.h. */
7124 $ac_includes_default
7128 static struct stat ac_aggr;
7129 if (sizeof ac_aggr.st_blocks)
7135 rm -f conftest.$ac_objext
7136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7137 (eval $ac_compile) 2>conftest.er1
7139 grep -v '^ *+' conftest.er1 >conftest.err
7141 cat conftest.err >&5
7142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7143 (exit $ac_status); } &&
7144 { ac_try='test -z "$ac_c_werror_flag"
7145 || test ! -s conftest.err'
7146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150 (exit $ac_status); }; } &&
7151 { ac_try='test -s conftest.$ac_objext'
7152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7156 (exit $ac_status); }; }; then
7157 ac_cv_member_struct_stat_st_blocks=yes
7159 echo "$as_me: failed program was:" >&5
7160 sed 's/^/| /' conftest.$ac_ext >&5
7162 ac_cv_member_struct_stat_st_blocks=no
7164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7168 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
7169 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
7170 if test $ac_cv_member_struct_stat_st_blocks = yes; then
7172 cat >>confdefs.h <<_ACEOF
7173 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
7179 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
7180 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
7181 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
7182 echo $ECHO_N "(cached) $ECHO_C" >&6
7184 cat >conftest.$ac_ext <<_ACEOF
7187 cat confdefs.h >>conftest.$ac_ext
7188 cat >>conftest.$ac_ext <<_ACEOF
7189 /* end confdefs.h. */
7190 $ac_includes_default
7194 static struct stat ac_aggr;
7195 if (ac_aggr.st_rdev)
7201 rm -f conftest.$ac_objext
7202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7203 (eval $ac_compile) 2>conftest.er1
7205 grep -v '^ *+' conftest.er1 >conftest.err
7207 cat conftest.err >&5
7208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7209 (exit $ac_status); } &&
7210 { ac_try='test -z "$ac_c_werror_flag"
7211 || test ! -s conftest.err'
7212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7216 (exit $ac_status); }; } &&
7217 { ac_try='test -s conftest.$ac_objext'
7218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7222 (exit $ac_status); }; }; then
7223 ac_cv_member_struct_stat_st_rdev=yes
7225 echo "$as_me: failed program was:" >&5
7226 sed 's/^/| /' conftest.$ac_ext >&5
7228 cat >conftest.$ac_ext <<_ACEOF
7231 cat confdefs.h >>conftest.$ac_ext
7232 cat >>conftest.$ac_ext <<_ACEOF
7233 /* end confdefs.h. */
7234 $ac_includes_default
7238 static struct stat ac_aggr;
7239 if (sizeof ac_aggr.st_rdev)
7245 rm -f conftest.$ac_objext
7246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7247 (eval $ac_compile) 2>conftest.er1
7249 grep -v '^ *+' conftest.er1 >conftest.err
7251 cat conftest.err >&5
7252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7253 (exit $ac_status); } &&
7254 { ac_try='test -z "$ac_c_werror_flag"
7255 || test ! -s conftest.err'
7256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7260 (exit $ac_status); }; } &&
7261 { ac_try='test -s conftest.$ac_objext'
7262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7266 (exit $ac_status); }; }; then
7267 ac_cv_member_struct_stat_st_rdev=yes
7269 echo "$as_me: failed program was:" >&5
7270 sed 's/^/| /' conftest.$ac_ext >&5
7272 ac_cv_member_struct_stat_st_rdev=no
7274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7278 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
7279 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
7280 if test $ac_cv_member_struct_stat_st_rdev = yes; then
7282 cat >>confdefs.h <<_ACEOF
7283 #define HAVE_STRUCT_STAT_ST_RDEV 1
7290 # Check for library functions.
7299 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
7301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7302 echo "$as_me:$LINENO: checking for $ac_func" >&5
7303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7304 if eval "test \"\${$as_ac_var+set}\" = set"; then
7305 echo $ECHO_N "(cached) $ECHO_C" >&6
7307 if test x$gcc_no_link = xyes; then
7308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7310 { (exit 1); exit 1; }; }
7312 cat >conftest.$ac_ext <<_ACEOF
7315 cat confdefs.h >>conftest.$ac_ext
7316 cat >>conftest.$ac_ext <<_ACEOF
7317 /* end confdefs.h. */
7318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7320 #define $ac_func innocuous_$ac_func
7322 /* System header to define __stub macros and hopefully few prototypes,
7323 which can conflict with char $ac_func (); below.
7324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7325 <limits.h> exists even on freestanding compilers. */
7328 # include <limits.h>
7330 # include <assert.h>
7335 /* Override any gcc2 internal prototype to avoid an error. */
7340 /* We use char because int might match the return type of a gcc2
7341 builtin and then its argument prototype would still apply. */
7343 /* The GNU C library defines this for functions which it implements
7344 to always fail with ENOSYS. Some functions are actually named
7345 something starting with __ and the normal name is an alias. */
7346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7349 char (*f) () = $ac_func;
7358 return f != $ac_func;
7363 rm -f conftest.$ac_objext conftest$ac_exeext
7364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7365 (eval $ac_link) 2>conftest.er1
7367 grep -v '^ *+' conftest.er1 >conftest.err
7369 cat conftest.err >&5
7370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7371 (exit $ac_status); } &&
7372 { ac_try='test -z "$ac_c_werror_flag"
7373 || test ! -s conftest.err'
7374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7378 (exit $ac_status); }; } &&
7379 { ac_try='test -s conftest$ac_exeext'
7380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); }; }; then
7385 eval "$as_ac_var=yes"
7387 echo "$as_me: failed program was:" >&5
7388 sed 's/^/| /' conftest.$ac_ext >&5
7390 eval "$as_ac_var=no"
7392 rm -f conftest.err conftest.$ac_objext \
7393 conftest$ac_exeext conftest.$ac_ext
7395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7397 if test `eval echo '${'$as_ac_var'}'` = yes; then
7398 cat >>confdefs.h <<_ACEOF
7399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7413 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
7415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7416 echo "$as_me:$LINENO: checking for $ac_func" >&5
7417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7418 if eval "test \"\${$as_ac_var+set}\" = set"; then
7419 echo $ECHO_N "(cached) $ECHO_C" >&6
7421 if test x$gcc_no_link = xyes; then
7422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7424 { (exit 1); exit 1; }; }
7426 cat >conftest.$ac_ext <<_ACEOF
7429 cat confdefs.h >>conftest.$ac_ext
7430 cat >>conftest.$ac_ext <<_ACEOF
7431 /* end confdefs.h. */
7432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7434 #define $ac_func innocuous_$ac_func
7436 /* System header to define __stub macros and hopefully few prototypes,
7437 which can conflict with char $ac_func (); below.
7438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7439 <limits.h> exists even on freestanding compilers. */
7442 # include <limits.h>
7444 # include <assert.h>
7449 /* Override any gcc2 internal prototype to avoid an error. */
7454 /* We use char because int might match the return type of a gcc2
7455 builtin and then its argument prototype would still apply. */
7457 /* The GNU C library defines this for functions which it implements
7458 to always fail with ENOSYS. Some functions are actually named
7459 something starting with __ and the normal name is an alias. */
7460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7463 char (*f) () = $ac_func;
7472 return f != $ac_func;
7477 rm -f conftest.$ac_objext conftest$ac_exeext
7478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7479 (eval $ac_link) 2>conftest.er1
7481 grep -v '^ *+' conftest.er1 >conftest.err
7483 cat conftest.err >&5
7484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7485 (exit $ac_status); } &&
7486 { ac_try='test -z "$ac_c_werror_flag"
7487 || test ! -s conftest.err'
7488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7492 (exit $ac_status); }; } &&
7493 { ac_try='test -s conftest$ac_exeext'
7494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7498 (exit $ac_status); }; }; then
7499 eval "$as_ac_var=yes"
7501 echo "$as_me: failed program was:" >&5
7502 sed 's/^/| /' conftest.$ac_ext >&5
7504 eval "$as_ac_var=no"
7506 rm -f conftest.err conftest.$ac_objext \
7507 conftest$ac_exeext conftest.$ac_ext
7509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7511 if test `eval echo '${'$as_ac_var'}'` = yes; then
7512 cat >>confdefs.h <<_ACEOF
7513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7524 for ac_func in sleep time ttyname signal alarm
7526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7527 echo "$as_me:$LINENO: checking for $ac_func" >&5
7528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7529 if eval "test \"\${$as_ac_var+set}\" = set"; then
7530 echo $ECHO_N "(cached) $ECHO_C" >&6
7532 if test x$gcc_no_link = xyes; then
7533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7535 { (exit 1); exit 1; }; }
7537 cat >conftest.$ac_ext <<_ACEOF
7540 cat confdefs.h >>conftest.$ac_ext
7541 cat >>conftest.$ac_ext <<_ACEOF
7542 /* end confdefs.h. */
7543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7545 #define $ac_func innocuous_$ac_func
7547 /* System header to define __stub macros and hopefully few prototypes,
7548 which can conflict with char $ac_func (); below.
7549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7550 <limits.h> exists even on freestanding compilers. */
7553 # include <limits.h>
7555 # include <assert.h>
7560 /* Override any gcc2 internal prototype to avoid an error. */
7565 /* We use char because int might match the return type of a gcc2
7566 builtin and then its argument prototype would still apply. */
7568 /* The GNU C library defines this for functions which it implements
7569 to always fail with ENOSYS. Some functions are actually named
7570 something starting with __ and the normal name is an alias. */
7571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7574 char (*f) () = $ac_func;
7583 return f != $ac_func;
7588 rm -f conftest.$ac_objext conftest$ac_exeext
7589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7590 (eval $ac_link) 2>conftest.er1
7592 grep -v '^ *+' conftest.er1 >conftest.err
7594 cat conftest.err >&5
7595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7596 (exit $ac_status); } &&
7597 { ac_try='test -z "$ac_c_werror_flag"
7598 || test ! -s conftest.err'
7599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7603 (exit $ac_status); }; } &&
7604 { ac_try='test -s conftest$ac_exeext'
7605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7609 (exit $ac_status); }; }; then
7610 eval "$as_ac_var=yes"
7612 echo "$as_me: failed program was:" >&5
7613 sed 's/^/| /' conftest.$ac_ext >&5
7615 eval "$as_ac_var=no"
7617 rm -f conftest.err conftest.$ac_objext \
7618 conftest$ac_exeext conftest.$ac_ext
7620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7622 if test `eval echo '${'$as_ac_var'}'` = yes; then
7623 cat >>confdefs.h <<_ACEOF
7624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7631 # Check libc for getgid, getpid, getuid
7632 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
7633 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
7634 if test "${ac_cv_lib_c_getgid+set}" = set; then
7635 echo $ECHO_N "(cached) $ECHO_C" >&6
7637 ac_check_lib_save_LIBS=$LIBS
7639 if test x$gcc_no_link = xyes; then
7640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7642 { (exit 1); exit 1; }; }
7644 cat >conftest.$ac_ext <<_ACEOF
7647 cat confdefs.h >>conftest.$ac_ext
7648 cat >>conftest.$ac_ext <<_ACEOF
7649 /* end confdefs.h. */
7651 /* Override any gcc2 internal prototype to avoid an error. */
7655 /* We use char because int might match the return type of a gcc2
7656 builtin and then its argument prototype would still apply. */
7666 rm -f conftest.$ac_objext conftest$ac_exeext
7667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7668 (eval $ac_link) 2>conftest.er1
7670 grep -v '^ *+' conftest.er1 >conftest.err
7672 cat conftest.err >&5
7673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7674 (exit $ac_status); } &&
7675 { ac_try='test -z "$ac_c_werror_flag"
7676 || test ! -s conftest.err'
7677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7681 (exit $ac_status); }; } &&
7682 { ac_try='test -s conftest$ac_exeext'
7683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7687 (exit $ac_status); }; }; then
7688 ac_cv_lib_c_getgid=yes
7690 echo "$as_me: failed program was:" >&5
7691 sed 's/^/| /' conftest.$ac_ext >&5
7693 ac_cv_lib_c_getgid=no
7695 rm -f conftest.err conftest.$ac_objext \
7696 conftest$ac_exeext conftest.$ac_ext
7697 LIBS=$ac_check_lib_save_LIBS
7699 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
7700 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
7701 if test $ac_cv_lib_c_getgid = yes; then
7703 cat >>confdefs.h <<\_ACEOF
7704 #define HAVE_GETGID 1
7709 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
7710 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
7711 if test "${ac_cv_lib_c_getpid+set}" = set; then
7712 echo $ECHO_N "(cached) $ECHO_C" >&6
7714 ac_check_lib_save_LIBS=$LIBS
7716 if test x$gcc_no_link = xyes; then
7717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7719 { (exit 1); exit 1; }; }
7721 cat >conftest.$ac_ext <<_ACEOF
7724 cat confdefs.h >>conftest.$ac_ext
7725 cat >>conftest.$ac_ext <<_ACEOF
7726 /* end confdefs.h. */
7728 /* Override any gcc2 internal prototype to avoid an error. */
7732 /* We use char because int might match the return type of a gcc2
7733 builtin and then its argument prototype would still apply. */
7743 rm -f conftest.$ac_objext conftest$ac_exeext
7744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7745 (eval $ac_link) 2>conftest.er1
7747 grep -v '^ *+' conftest.er1 >conftest.err
7749 cat conftest.err >&5
7750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7751 (exit $ac_status); } &&
7752 { ac_try='test -z "$ac_c_werror_flag"
7753 || test ! -s conftest.err'
7754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7758 (exit $ac_status); }; } &&
7759 { ac_try='test -s conftest$ac_exeext'
7760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7764 (exit $ac_status); }; }; then
7765 ac_cv_lib_c_getpid=yes
7767 echo "$as_me: failed program was:" >&5
7768 sed 's/^/| /' conftest.$ac_ext >&5
7770 ac_cv_lib_c_getpid=no
7772 rm -f conftest.err conftest.$ac_objext \
7773 conftest$ac_exeext conftest.$ac_ext
7774 LIBS=$ac_check_lib_save_LIBS
7776 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
7777 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
7778 if test $ac_cv_lib_c_getpid = yes; then
7780 cat >>confdefs.h <<\_ACEOF
7781 #define HAVE_GETPID 1
7786 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
7787 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
7788 if test "${ac_cv_lib_c_getuid+set}" = set; then
7789 echo $ECHO_N "(cached) $ECHO_C" >&6
7791 ac_check_lib_save_LIBS=$LIBS
7793 if test x$gcc_no_link = xyes; then
7794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7796 { (exit 1); exit 1; }; }
7798 cat >conftest.$ac_ext <<_ACEOF
7801 cat confdefs.h >>conftest.$ac_ext
7802 cat >>conftest.$ac_ext <<_ACEOF
7803 /* end confdefs.h. */
7805 /* Override any gcc2 internal prototype to avoid an error. */
7809 /* We use char because int might match the return type of a gcc2
7810 builtin and then its argument prototype would still apply. */
7820 rm -f conftest.$ac_objext conftest$ac_exeext
7821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7822 (eval $ac_link) 2>conftest.er1
7824 grep -v '^ *+' conftest.er1 >conftest.err
7826 cat conftest.err >&5
7827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7828 (exit $ac_status); } &&
7829 { ac_try='test -z "$ac_c_werror_flag"
7830 || test ! -s conftest.err'
7831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7835 (exit $ac_status); }; } &&
7836 { ac_try='test -s conftest$ac_exeext'
7837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7841 (exit $ac_status); }; }; then
7842 ac_cv_lib_c_getuid=yes
7844 echo "$as_me: failed program was:" >&5
7845 sed 's/^/| /' conftest.$ac_ext >&5
7847 ac_cv_lib_c_getuid=no
7849 rm -f conftest.err conftest.$ac_objext \
7850 conftest$ac_exeext conftest.$ac_ext
7851 LIBS=$ac_check_lib_save_LIBS
7853 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
7854 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
7855 if test $ac_cv_lib_c_getuid = yes; then
7857 cat >>confdefs.h <<\_ACEOF
7858 #define HAVE_GETUID 1
7864 # Check for C99 (and other IEEE) math functions
7865 # ??? This list seems awful long. Is there a better way to test for these?
7866 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
7867 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
7868 if test "${ac_cv_lib_m_acosf+set}" = set; then
7869 echo $ECHO_N "(cached) $ECHO_C" >&6
7871 ac_check_lib_save_LIBS=$LIBS
7873 if test x$gcc_no_link = xyes; then
7874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7876 { (exit 1); exit 1; }; }
7878 cat >conftest.$ac_ext <<_ACEOF
7881 cat confdefs.h >>conftest.$ac_ext
7882 cat >>conftest.$ac_ext <<_ACEOF
7883 /* end confdefs.h. */
7885 /* Override any gcc2 internal prototype to avoid an error. */
7889 /* We use char because int might match the return type of a gcc2
7890 builtin and then its argument prototype would still apply. */
7900 rm -f conftest.$ac_objext conftest$ac_exeext
7901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7902 (eval $ac_link) 2>conftest.er1
7904 grep -v '^ *+' conftest.er1 >conftest.err
7906 cat conftest.err >&5
7907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7908 (exit $ac_status); } &&
7909 { ac_try='test -z "$ac_c_werror_flag"
7910 || test ! -s conftest.err'
7911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7915 (exit $ac_status); }; } &&
7916 { ac_try='test -s conftest$ac_exeext'
7917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7921 (exit $ac_status); }; }; then
7922 ac_cv_lib_m_acosf=yes
7924 echo "$as_me: failed program was:" >&5
7925 sed 's/^/| /' conftest.$ac_ext >&5
7927 ac_cv_lib_m_acosf=no
7929 rm -f conftest.err conftest.$ac_objext \
7930 conftest$ac_exeext conftest.$ac_ext
7931 LIBS=$ac_check_lib_save_LIBS
7933 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
7934 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
7935 if test $ac_cv_lib_m_acosf = yes; then
7937 cat >>confdefs.h <<\_ACEOF
7938 #define HAVE_ACOSF 1
7943 echo "$as_me:$LINENO: checking for acos in -lm" >&5
7944 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
7945 if test "${ac_cv_lib_m_acos+set}" = set; then
7946 echo $ECHO_N "(cached) $ECHO_C" >&6
7948 ac_check_lib_save_LIBS=$LIBS
7950 if test x$gcc_no_link = xyes; then
7951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7953 { (exit 1); exit 1; }; }
7955 cat >conftest.$ac_ext <<_ACEOF
7958 cat confdefs.h >>conftest.$ac_ext
7959 cat >>conftest.$ac_ext <<_ACEOF
7960 /* end confdefs.h. */
7962 /* Override any gcc2 internal prototype to avoid an error. */
7966 /* We use char because int might match the return type of a gcc2
7967 builtin and then its argument prototype would still apply. */
7977 rm -f conftest.$ac_objext conftest$ac_exeext
7978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7979 (eval $ac_link) 2>conftest.er1
7981 grep -v '^ *+' conftest.er1 >conftest.err
7983 cat conftest.err >&5
7984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7985 (exit $ac_status); } &&
7986 { ac_try='test -z "$ac_c_werror_flag"
7987 || test ! -s conftest.err'
7988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7992 (exit $ac_status); }; } &&
7993 { ac_try='test -s conftest$ac_exeext'
7994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7998 (exit $ac_status); }; }; then
7999 ac_cv_lib_m_acos=yes
8001 echo "$as_me: failed program was:" >&5
8002 sed 's/^/| /' conftest.$ac_ext >&5
8006 rm -f conftest.err conftest.$ac_objext \
8007 conftest$ac_exeext conftest.$ac_ext
8008 LIBS=$ac_check_lib_save_LIBS
8010 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
8011 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
8012 if test $ac_cv_lib_m_acos = yes; then
8014 cat >>confdefs.h <<\_ACEOF
8020 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
8021 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
8022 if test "${ac_cv_lib_m_acosl+set}" = set; then
8023 echo $ECHO_N "(cached) $ECHO_C" >&6
8025 ac_check_lib_save_LIBS=$LIBS
8027 if test x$gcc_no_link = xyes; then
8028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8030 { (exit 1); exit 1; }; }
8032 cat >conftest.$ac_ext <<_ACEOF
8035 cat confdefs.h >>conftest.$ac_ext
8036 cat >>conftest.$ac_ext <<_ACEOF
8037 /* end confdefs.h. */
8039 /* Override any gcc2 internal prototype to avoid an error. */
8043 /* We use char because int might match the return type of a gcc2
8044 builtin and then its argument prototype would still apply. */
8054 rm -f conftest.$ac_objext conftest$ac_exeext
8055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8056 (eval $ac_link) 2>conftest.er1
8058 grep -v '^ *+' conftest.er1 >conftest.err
8060 cat conftest.err >&5
8061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8062 (exit $ac_status); } &&
8063 { ac_try='test -z "$ac_c_werror_flag"
8064 || test ! -s conftest.err'
8065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8069 (exit $ac_status); }; } &&
8070 { ac_try='test -s conftest$ac_exeext'
8071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8075 (exit $ac_status); }; }; then
8076 ac_cv_lib_m_acosl=yes
8078 echo "$as_me: failed program was:" >&5
8079 sed 's/^/| /' conftest.$ac_ext >&5
8081 ac_cv_lib_m_acosl=no
8083 rm -f conftest.err conftest.$ac_objext \
8084 conftest$ac_exeext conftest.$ac_ext
8085 LIBS=$ac_check_lib_save_LIBS
8087 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
8088 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
8089 if test $ac_cv_lib_m_acosl = yes; then
8091 cat >>confdefs.h <<\_ACEOF
8092 #define HAVE_ACOSL 1
8097 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
8098 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
8099 if test "${ac_cv_lib_m_acoshf+set}" = set; then
8100 echo $ECHO_N "(cached) $ECHO_C" >&6
8102 ac_check_lib_save_LIBS=$LIBS
8104 if test x$gcc_no_link = xyes; then
8105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8107 { (exit 1); exit 1; }; }
8109 cat >conftest.$ac_ext <<_ACEOF
8112 cat confdefs.h >>conftest.$ac_ext
8113 cat >>conftest.$ac_ext <<_ACEOF
8114 /* end confdefs.h. */
8116 /* Override any gcc2 internal prototype to avoid an error. */
8120 /* We use char because int might match the return type of a gcc2
8121 builtin and then its argument prototype would still apply. */
8131 rm -f conftest.$ac_objext conftest$ac_exeext
8132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8133 (eval $ac_link) 2>conftest.er1
8135 grep -v '^ *+' conftest.er1 >conftest.err
8137 cat conftest.err >&5
8138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8139 (exit $ac_status); } &&
8140 { ac_try='test -z "$ac_c_werror_flag"
8141 || test ! -s conftest.err'
8142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146 (exit $ac_status); }; } &&
8147 { ac_try='test -s conftest$ac_exeext'
8148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8152 (exit $ac_status); }; }; then
8153 ac_cv_lib_m_acoshf=yes
8155 echo "$as_me: failed program was:" >&5
8156 sed 's/^/| /' conftest.$ac_ext >&5
8158 ac_cv_lib_m_acoshf=no
8160 rm -f conftest.err conftest.$ac_objext \
8161 conftest$ac_exeext conftest.$ac_ext
8162 LIBS=$ac_check_lib_save_LIBS
8164 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
8165 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
8166 if test $ac_cv_lib_m_acoshf = yes; then
8168 cat >>confdefs.h <<\_ACEOF
8169 #define HAVE_ACOSHF 1
8174 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
8175 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
8176 if test "${ac_cv_lib_m_acosh+set}" = set; then
8177 echo $ECHO_N "(cached) $ECHO_C" >&6
8179 ac_check_lib_save_LIBS=$LIBS
8181 if test x$gcc_no_link = xyes; then
8182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8184 { (exit 1); exit 1; }; }
8186 cat >conftest.$ac_ext <<_ACEOF
8189 cat confdefs.h >>conftest.$ac_ext
8190 cat >>conftest.$ac_ext <<_ACEOF
8191 /* end confdefs.h. */
8193 /* Override any gcc2 internal prototype to avoid an error. */
8197 /* We use char because int might match the return type of a gcc2
8198 builtin and then its argument prototype would still apply. */
8208 rm -f conftest.$ac_objext conftest$ac_exeext
8209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8210 (eval $ac_link) 2>conftest.er1
8212 grep -v '^ *+' conftest.er1 >conftest.err
8214 cat conftest.err >&5
8215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8216 (exit $ac_status); } &&
8217 { ac_try='test -z "$ac_c_werror_flag"
8218 || test ! -s conftest.err'
8219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8223 (exit $ac_status); }; } &&
8224 { ac_try='test -s conftest$ac_exeext'
8225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8229 (exit $ac_status); }; }; then
8230 ac_cv_lib_m_acosh=yes
8232 echo "$as_me: failed program was:" >&5
8233 sed 's/^/| /' conftest.$ac_ext >&5
8235 ac_cv_lib_m_acosh=no
8237 rm -f conftest.err conftest.$ac_objext \
8238 conftest$ac_exeext conftest.$ac_ext
8239 LIBS=$ac_check_lib_save_LIBS
8241 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
8242 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
8243 if test $ac_cv_lib_m_acosh = yes; then
8245 cat >>confdefs.h <<\_ACEOF
8246 #define HAVE_ACOSH 1
8251 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
8252 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
8253 if test "${ac_cv_lib_m_acoshl+set}" = set; then
8254 echo $ECHO_N "(cached) $ECHO_C" >&6
8256 ac_check_lib_save_LIBS=$LIBS
8258 if test x$gcc_no_link = xyes; then
8259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8261 { (exit 1); exit 1; }; }
8263 cat >conftest.$ac_ext <<_ACEOF
8266 cat confdefs.h >>conftest.$ac_ext
8267 cat >>conftest.$ac_ext <<_ACEOF
8268 /* end confdefs.h. */
8270 /* Override any gcc2 internal prototype to avoid an error. */
8274 /* We use char because int might match the return type of a gcc2
8275 builtin and then its argument prototype would still apply. */
8285 rm -f conftest.$ac_objext conftest$ac_exeext
8286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8287 (eval $ac_link) 2>conftest.er1
8289 grep -v '^ *+' conftest.er1 >conftest.err
8291 cat conftest.err >&5
8292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8293 (exit $ac_status); } &&
8294 { ac_try='test -z "$ac_c_werror_flag"
8295 || test ! -s conftest.err'
8296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8300 (exit $ac_status); }; } &&
8301 { ac_try='test -s conftest$ac_exeext'
8302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8306 (exit $ac_status); }; }; then
8307 ac_cv_lib_m_acoshl=yes
8309 echo "$as_me: failed program was:" >&5
8310 sed 's/^/| /' conftest.$ac_ext >&5
8312 ac_cv_lib_m_acoshl=no
8314 rm -f conftest.err conftest.$ac_objext \
8315 conftest$ac_exeext conftest.$ac_ext
8316 LIBS=$ac_check_lib_save_LIBS
8318 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
8319 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
8320 if test $ac_cv_lib_m_acoshl = yes; then
8322 cat >>confdefs.h <<\_ACEOF
8323 #define HAVE_ACOSHL 1
8328 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
8329 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
8330 if test "${ac_cv_lib_m_asinf+set}" = set; then
8331 echo $ECHO_N "(cached) $ECHO_C" >&6
8333 ac_check_lib_save_LIBS=$LIBS
8335 if test x$gcc_no_link = xyes; then
8336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8338 { (exit 1); exit 1; }; }
8340 cat >conftest.$ac_ext <<_ACEOF
8343 cat confdefs.h >>conftest.$ac_ext
8344 cat >>conftest.$ac_ext <<_ACEOF
8345 /* end confdefs.h. */
8347 /* Override any gcc2 internal prototype to avoid an error. */
8351 /* We use char because int might match the return type of a gcc2
8352 builtin and then its argument prototype would still apply. */
8362 rm -f conftest.$ac_objext conftest$ac_exeext
8363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8364 (eval $ac_link) 2>conftest.er1
8366 grep -v '^ *+' conftest.er1 >conftest.err
8368 cat conftest.err >&5
8369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8370 (exit $ac_status); } &&
8371 { ac_try='test -z "$ac_c_werror_flag"
8372 || test ! -s conftest.err'
8373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8377 (exit $ac_status); }; } &&
8378 { ac_try='test -s conftest$ac_exeext'
8379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8383 (exit $ac_status); }; }; then
8384 ac_cv_lib_m_asinf=yes
8386 echo "$as_me: failed program was:" >&5
8387 sed 's/^/| /' conftest.$ac_ext >&5
8389 ac_cv_lib_m_asinf=no
8391 rm -f conftest.err conftest.$ac_objext \
8392 conftest$ac_exeext conftest.$ac_ext
8393 LIBS=$ac_check_lib_save_LIBS
8395 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
8396 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
8397 if test $ac_cv_lib_m_asinf = yes; then
8399 cat >>confdefs.h <<\_ACEOF
8400 #define HAVE_ASINF 1
8405 echo "$as_me:$LINENO: checking for asin in -lm" >&5
8406 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
8407 if test "${ac_cv_lib_m_asin+set}" = set; then
8408 echo $ECHO_N "(cached) $ECHO_C" >&6
8410 ac_check_lib_save_LIBS=$LIBS
8412 if test x$gcc_no_link = xyes; then
8413 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8415 { (exit 1); exit 1; }; }
8417 cat >conftest.$ac_ext <<_ACEOF
8420 cat confdefs.h >>conftest.$ac_ext
8421 cat >>conftest.$ac_ext <<_ACEOF
8422 /* end confdefs.h. */
8424 /* Override any gcc2 internal prototype to avoid an error. */
8428 /* We use char because int might match the return type of a gcc2
8429 builtin and then its argument prototype would still apply. */
8439 rm -f conftest.$ac_objext conftest$ac_exeext
8440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8441 (eval $ac_link) 2>conftest.er1
8443 grep -v '^ *+' conftest.er1 >conftest.err
8445 cat conftest.err >&5
8446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8447 (exit $ac_status); } &&
8448 { ac_try='test -z "$ac_c_werror_flag"
8449 || test ! -s conftest.err'
8450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8454 (exit $ac_status); }; } &&
8455 { ac_try='test -s conftest$ac_exeext'
8456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8460 (exit $ac_status); }; }; then
8461 ac_cv_lib_m_asin=yes
8463 echo "$as_me: failed program was:" >&5
8464 sed 's/^/| /' conftest.$ac_ext >&5
8468 rm -f conftest.err conftest.$ac_objext \
8469 conftest$ac_exeext conftest.$ac_ext
8470 LIBS=$ac_check_lib_save_LIBS
8472 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
8473 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
8474 if test $ac_cv_lib_m_asin = yes; then
8476 cat >>confdefs.h <<\_ACEOF
8482 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
8483 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
8484 if test "${ac_cv_lib_m_asinl+set}" = set; then
8485 echo $ECHO_N "(cached) $ECHO_C" >&6
8487 ac_check_lib_save_LIBS=$LIBS
8489 if test x$gcc_no_link = xyes; then
8490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8492 { (exit 1); exit 1; }; }
8494 cat >conftest.$ac_ext <<_ACEOF
8497 cat confdefs.h >>conftest.$ac_ext
8498 cat >>conftest.$ac_ext <<_ACEOF
8499 /* end confdefs.h. */
8501 /* Override any gcc2 internal prototype to avoid an error. */
8505 /* We use char because int might match the return type of a gcc2
8506 builtin and then its argument prototype would still apply. */
8516 rm -f conftest.$ac_objext conftest$ac_exeext
8517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8518 (eval $ac_link) 2>conftest.er1
8520 grep -v '^ *+' conftest.er1 >conftest.err
8522 cat conftest.err >&5
8523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524 (exit $ac_status); } &&
8525 { ac_try='test -z "$ac_c_werror_flag"
8526 || test ! -s conftest.err'
8527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8531 (exit $ac_status); }; } &&
8532 { ac_try='test -s conftest$ac_exeext'
8533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8537 (exit $ac_status); }; }; then
8538 ac_cv_lib_m_asinl=yes
8540 echo "$as_me: failed program was:" >&5
8541 sed 's/^/| /' conftest.$ac_ext >&5
8543 ac_cv_lib_m_asinl=no
8545 rm -f conftest.err conftest.$ac_objext \
8546 conftest$ac_exeext conftest.$ac_ext
8547 LIBS=$ac_check_lib_save_LIBS
8549 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
8550 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
8551 if test $ac_cv_lib_m_asinl = yes; then
8553 cat >>confdefs.h <<\_ACEOF
8554 #define HAVE_ASINL 1
8559 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
8560 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
8561 if test "${ac_cv_lib_m_asinhf+set}" = set; then
8562 echo $ECHO_N "(cached) $ECHO_C" >&6
8564 ac_check_lib_save_LIBS=$LIBS
8566 if test x$gcc_no_link = xyes; then
8567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8569 { (exit 1); exit 1; }; }
8571 cat >conftest.$ac_ext <<_ACEOF
8574 cat confdefs.h >>conftest.$ac_ext
8575 cat >>conftest.$ac_ext <<_ACEOF
8576 /* end confdefs.h. */
8578 /* Override any gcc2 internal prototype to avoid an error. */
8582 /* We use char because int might match the return type of a gcc2
8583 builtin and then its argument prototype would still apply. */
8593 rm -f conftest.$ac_objext conftest$ac_exeext
8594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8595 (eval $ac_link) 2>conftest.er1
8597 grep -v '^ *+' conftest.er1 >conftest.err
8599 cat conftest.err >&5
8600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8601 (exit $ac_status); } &&
8602 { ac_try='test -z "$ac_c_werror_flag"
8603 || test ! -s conftest.err'
8604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8608 (exit $ac_status); }; } &&
8609 { ac_try='test -s conftest$ac_exeext'
8610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8614 (exit $ac_status); }; }; then
8615 ac_cv_lib_m_asinhf=yes
8617 echo "$as_me: failed program was:" >&5
8618 sed 's/^/| /' conftest.$ac_ext >&5
8620 ac_cv_lib_m_asinhf=no
8622 rm -f conftest.err conftest.$ac_objext \
8623 conftest$ac_exeext conftest.$ac_ext
8624 LIBS=$ac_check_lib_save_LIBS
8626 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
8627 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
8628 if test $ac_cv_lib_m_asinhf = yes; then
8630 cat >>confdefs.h <<\_ACEOF
8631 #define HAVE_ASINHF 1
8636 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
8637 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
8638 if test "${ac_cv_lib_m_asinh+set}" = set; then
8639 echo $ECHO_N "(cached) $ECHO_C" >&6
8641 ac_check_lib_save_LIBS=$LIBS
8643 if test x$gcc_no_link = xyes; then
8644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8646 { (exit 1); exit 1; }; }
8648 cat >conftest.$ac_ext <<_ACEOF
8651 cat confdefs.h >>conftest.$ac_ext
8652 cat >>conftest.$ac_ext <<_ACEOF
8653 /* end confdefs.h. */
8655 /* Override any gcc2 internal prototype to avoid an error. */
8659 /* We use char because int might match the return type of a gcc2
8660 builtin and then its argument prototype would still apply. */
8670 rm -f conftest.$ac_objext conftest$ac_exeext
8671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8672 (eval $ac_link) 2>conftest.er1
8674 grep -v '^ *+' conftest.er1 >conftest.err
8676 cat conftest.err >&5
8677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8678 (exit $ac_status); } &&
8679 { ac_try='test -z "$ac_c_werror_flag"
8680 || test ! -s conftest.err'
8681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8685 (exit $ac_status); }; } &&
8686 { ac_try='test -s conftest$ac_exeext'
8687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8691 (exit $ac_status); }; }; then
8692 ac_cv_lib_m_asinh=yes
8694 echo "$as_me: failed program was:" >&5
8695 sed 's/^/| /' conftest.$ac_ext >&5
8697 ac_cv_lib_m_asinh=no
8699 rm -f conftest.err conftest.$ac_objext \
8700 conftest$ac_exeext conftest.$ac_ext
8701 LIBS=$ac_check_lib_save_LIBS
8703 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
8704 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
8705 if test $ac_cv_lib_m_asinh = yes; then
8707 cat >>confdefs.h <<\_ACEOF
8708 #define HAVE_ASINH 1
8713 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
8714 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
8715 if test "${ac_cv_lib_m_asinhl+set}" = set; then
8716 echo $ECHO_N "(cached) $ECHO_C" >&6
8718 ac_check_lib_save_LIBS=$LIBS
8720 if test x$gcc_no_link = xyes; then
8721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8723 { (exit 1); exit 1; }; }
8725 cat >conftest.$ac_ext <<_ACEOF
8728 cat confdefs.h >>conftest.$ac_ext
8729 cat >>conftest.$ac_ext <<_ACEOF
8730 /* end confdefs.h. */
8732 /* Override any gcc2 internal prototype to avoid an error. */
8736 /* We use char because int might match the return type of a gcc2
8737 builtin and then its argument prototype would still apply. */
8747 rm -f conftest.$ac_objext conftest$ac_exeext
8748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8749 (eval $ac_link) 2>conftest.er1
8751 grep -v '^ *+' conftest.er1 >conftest.err
8753 cat conftest.err >&5
8754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8755 (exit $ac_status); } &&
8756 { ac_try='test -z "$ac_c_werror_flag"
8757 || test ! -s conftest.err'
8758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8762 (exit $ac_status); }; } &&
8763 { ac_try='test -s conftest$ac_exeext'
8764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8768 (exit $ac_status); }; }; then
8769 ac_cv_lib_m_asinhl=yes
8771 echo "$as_me: failed program was:" >&5
8772 sed 's/^/| /' conftest.$ac_ext >&5
8774 ac_cv_lib_m_asinhl=no
8776 rm -f conftest.err conftest.$ac_objext \
8777 conftest$ac_exeext conftest.$ac_ext
8778 LIBS=$ac_check_lib_save_LIBS
8780 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
8781 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
8782 if test $ac_cv_lib_m_asinhl = yes; then
8784 cat >>confdefs.h <<\_ACEOF
8785 #define HAVE_ASINHL 1
8790 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
8791 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
8792 if test "${ac_cv_lib_m_atan2f+set}" = set; then
8793 echo $ECHO_N "(cached) $ECHO_C" >&6
8795 ac_check_lib_save_LIBS=$LIBS
8797 if test x$gcc_no_link = xyes; then
8798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8800 { (exit 1); exit 1; }; }
8802 cat >conftest.$ac_ext <<_ACEOF
8805 cat confdefs.h >>conftest.$ac_ext
8806 cat >>conftest.$ac_ext <<_ACEOF
8807 /* end confdefs.h. */
8809 /* Override any gcc2 internal prototype to avoid an error. */
8813 /* We use char because int might match the return type of a gcc2
8814 builtin and then its argument prototype would still apply. */
8824 rm -f conftest.$ac_objext conftest$ac_exeext
8825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8826 (eval $ac_link) 2>conftest.er1
8828 grep -v '^ *+' conftest.er1 >conftest.err
8830 cat conftest.err >&5
8831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8832 (exit $ac_status); } &&
8833 { ac_try='test -z "$ac_c_werror_flag"
8834 || test ! -s conftest.err'
8835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8839 (exit $ac_status); }; } &&
8840 { ac_try='test -s conftest$ac_exeext'
8841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8845 (exit $ac_status); }; }; then
8846 ac_cv_lib_m_atan2f=yes
8848 echo "$as_me: failed program was:" >&5
8849 sed 's/^/| /' conftest.$ac_ext >&5
8851 ac_cv_lib_m_atan2f=no
8853 rm -f conftest.err conftest.$ac_objext \
8854 conftest$ac_exeext conftest.$ac_ext
8855 LIBS=$ac_check_lib_save_LIBS
8857 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
8858 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
8859 if test $ac_cv_lib_m_atan2f = yes; then
8861 cat >>confdefs.h <<\_ACEOF
8862 #define HAVE_ATAN2F 1
8867 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
8868 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
8869 if test "${ac_cv_lib_m_atan2+set}" = set; then
8870 echo $ECHO_N "(cached) $ECHO_C" >&6
8872 ac_check_lib_save_LIBS=$LIBS
8874 if test x$gcc_no_link = xyes; then
8875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8877 { (exit 1); exit 1; }; }
8879 cat >conftest.$ac_ext <<_ACEOF
8882 cat confdefs.h >>conftest.$ac_ext
8883 cat >>conftest.$ac_ext <<_ACEOF
8884 /* end confdefs.h. */
8886 /* Override any gcc2 internal prototype to avoid an error. */
8890 /* We use char because int might match the return type of a gcc2
8891 builtin and then its argument prototype would still apply. */
8901 rm -f conftest.$ac_objext conftest$ac_exeext
8902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8903 (eval $ac_link) 2>conftest.er1
8905 grep -v '^ *+' conftest.er1 >conftest.err
8907 cat conftest.err >&5
8908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8909 (exit $ac_status); } &&
8910 { ac_try='test -z "$ac_c_werror_flag"
8911 || test ! -s conftest.err'
8912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8916 (exit $ac_status); }; } &&
8917 { ac_try='test -s conftest$ac_exeext'
8918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8922 (exit $ac_status); }; }; then
8923 ac_cv_lib_m_atan2=yes
8925 echo "$as_me: failed program was:" >&5
8926 sed 's/^/| /' conftest.$ac_ext >&5
8928 ac_cv_lib_m_atan2=no
8930 rm -f conftest.err conftest.$ac_objext \
8931 conftest$ac_exeext conftest.$ac_ext
8932 LIBS=$ac_check_lib_save_LIBS
8934 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
8935 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
8936 if test $ac_cv_lib_m_atan2 = yes; then
8938 cat >>confdefs.h <<\_ACEOF
8939 #define HAVE_ATAN2 1
8944 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
8945 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
8946 if test "${ac_cv_lib_m_atan2l+set}" = set; then
8947 echo $ECHO_N "(cached) $ECHO_C" >&6
8949 ac_check_lib_save_LIBS=$LIBS
8951 if test x$gcc_no_link = xyes; then
8952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8954 { (exit 1); exit 1; }; }
8956 cat >conftest.$ac_ext <<_ACEOF
8959 cat confdefs.h >>conftest.$ac_ext
8960 cat >>conftest.$ac_ext <<_ACEOF
8961 /* end confdefs.h. */
8963 /* Override any gcc2 internal prototype to avoid an error. */
8967 /* We use char because int might match the return type of a gcc2
8968 builtin and then its argument prototype would still apply. */
8978 rm -f conftest.$ac_objext conftest$ac_exeext
8979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8980 (eval $ac_link) 2>conftest.er1
8982 grep -v '^ *+' conftest.er1 >conftest.err
8984 cat conftest.err >&5
8985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8986 (exit $ac_status); } &&
8987 { ac_try='test -z "$ac_c_werror_flag"
8988 || test ! -s conftest.err'
8989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8993 (exit $ac_status); }; } &&
8994 { ac_try='test -s conftest$ac_exeext'
8995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8999 (exit $ac_status); }; }; then
9000 ac_cv_lib_m_atan2l=yes
9002 echo "$as_me: failed program was:" >&5
9003 sed 's/^/| /' conftest.$ac_ext >&5
9005 ac_cv_lib_m_atan2l=no
9007 rm -f conftest.err conftest.$ac_objext \
9008 conftest$ac_exeext conftest.$ac_ext
9009 LIBS=$ac_check_lib_save_LIBS
9011 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
9012 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
9013 if test $ac_cv_lib_m_atan2l = yes; then
9015 cat >>confdefs.h <<\_ACEOF
9016 #define HAVE_ATAN2L 1
9021 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
9022 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
9023 if test "${ac_cv_lib_m_atanf+set}" = set; then
9024 echo $ECHO_N "(cached) $ECHO_C" >&6
9026 ac_check_lib_save_LIBS=$LIBS
9028 if test x$gcc_no_link = xyes; then
9029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9031 { (exit 1); exit 1; }; }
9033 cat >conftest.$ac_ext <<_ACEOF
9036 cat confdefs.h >>conftest.$ac_ext
9037 cat >>conftest.$ac_ext <<_ACEOF
9038 /* end confdefs.h. */
9040 /* Override any gcc2 internal prototype to avoid an error. */
9044 /* We use char because int might match the return type of a gcc2
9045 builtin and then its argument prototype would still apply. */
9055 rm -f conftest.$ac_objext conftest$ac_exeext
9056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9057 (eval $ac_link) 2>conftest.er1
9059 grep -v '^ *+' conftest.er1 >conftest.err
9061 cat conftest.err >&5
9062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9063 (exit $ac_status); } &&
9064 { ac_try='test -z "$ac_c_werror_flag"
9065 || test ! -s conftest.err'
9066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9070 (exit $ac_status); }; } &&
9071 { ac_try='test -s conftest$ac_exeext'
9072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9076 (exit $ac_status); }; }; then
9077 ac_cv_lib_m_atanf=yes
9079 echo "$as_me: failed program was:" >&5
9080 sed 's/^/| /' conftest.$ac_ext >&5
9082 ac_cv_lib_m_atanf=no
9084 rm -f conftest.err conftest.$ac_objext \
9085 conftest$ac_exeext conftest.$ac_ext
9086 LIBS=$ac_check_lib_save_LIBS
9088 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
9089 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
9090 if test $ac_cv_lib_m_atanf = yes; then
9092 cat >>confdefs.h <<\_ACEOF
9093 #define HAVE_ATANF 1
9098 echo "$as_me:$LINENO: checking for atan in -lm" >&5
9099 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
9100 if test "${ac_cv_lib_m_atan+set}" = set; then
9101 echo $ECHO_N "(cached) $ECHO_C" >&6
9103 ac_check_lib_save_LIBS=$LIBS
9105 if test x$gcc_no_link = xyes; then
9106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9108 { (exit 1); exit 1; }; }
9110 cat >conftest.$ac_ext <<_ACEOF
9113 cat confdefs.h >>conftest.$ac_ext
9114 cat >>conftest.$ac_ext <<_ACEOF
9115 /* end confdefs.h. */
9117 /* Override any gcc2 internal prototype to avoid an error. */
9121 /* We use char because int might match the return type of a gcc2
9122 builtin and then its argument prototype would still apply. */
9132 rm -f conftest.$ac_objext conftest$ac_exeext
9133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9134 (eval $ac_link) 2>conftest.er1
9136 grep -v '^ *+' conftest.er1 >conftest.err
9138 cat conftest.err >&5
9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140 (exit $ac_status); } &&
9141 { ac_try='test -z "$ac_c_werror_flag"
9142 || test ! -s conftest.err'
9143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147 (exit $ac_status); }; } &&
9148 { ac_try='test -s conftest$ac_exeext'
9149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9153 (exit $ac_status); }; }; then
9154 ac_cv_lib_m_atan=yes
9156 echo "$as_me: failed program was:" >&5
9157 sed 's/^/| /' conftest.$ac_ext >&5
9161 rm -f conftest.err conftest.$ac_objext \
9162 conftest$ac_exeext conftest.$ac_ext
9163 LIBS=$ac_check_lib_save_LIBS
9165 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
9166 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
9167 if test $ac_cv_lib_m_atan = yes; then
9169 cat >>confdefs.h <<\_ACEOF
9175 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
9176 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
9177 if test "${ac_cv_lib_m_atanl+set}" = set; then
9178 echo $ECHO_N "(cached) $ECHO_C" >&6
9180 ac_check_lib_save_LIBS=$LIBS
9182 if test x$gcc_no_link = xyes; then
9183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9185 { (exit 1); exit 1; }; }
9187 cat >conftest.$ac_ext <<_ACEOF
9190 cat confdefs.h >>conftest.$ac_ext
9191 cat >>conftest.$ac_ext <<_ACEOF
9192 /* end confdefs.h. */
9194 /* Override any gcc2 internal prototype to avoid an error. */
9198 /* We use char because int might match the return type of a gcc2
9199 builtin and then its argument prototype would still apply. */
9209 rm -f conftest.$ac_objext conftest$ac_exeext
9210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9211 (eval $ac_link) 2>conftest.er1
9213 grep -v '^ *+' conftest.er1 >conftest.err
9215 cat conftest.err >&5
9216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9217 (exit $ac_status); } &&
9218 { ac_try='test -z "$ac_c_werror_flag"
9219 || test ! -s conftest.err'
9220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9224 (exit $ac_status); }; } &&
9225 { ac_try='test -s conftest$ac_exeext'
9226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9230 (exit $ac_status); }; }; then
9231 ac_cv_lib_m_atanl=yes
9233 echo "$as_me: failed program was:" >&5
9234 sed 's/^/| /' conftest.$ac_ext >&5
9236 ac_cv_lib_m_atanl=no
9238 rm -f conftest.err conftest.$ac_objext \
9239 conftest$ac_exeext conftest.$ac_ext
9240 LIBS=$ac_check_lib_save_LIBS
9242 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
9243 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
9244 if test $ac_cv_lib_m_atanl = yes; then
9246 cat >>confdefs.h <<\_ACEOF
9247 #define HAVE_ATANL 1
9252 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
9253 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
9254 if test "${ac_cv_lib_m_atanhf+set}" = set; then
9255 echo $ECHO_N "(cached) $ECHO_C" >&6
9257 ac_check_lib_save_LIBS=$LIBS
9259 if test x$gcc_no_link = xyes; then
9260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9262 { (exit 1); exit 1; }; }
9264 cat >conftest.$ac_ext <<_ACEOF
9267 cat confdefs.h >>conftest.$ac_ext
9268 cat >>conftest.$ac_ext <<_ACEOF
9269 /* end confdefs.h. */
9271 /* Override any gcc2 internal prototype to avoid an error. */
9275 /* We use char because int might match the return type of a gcc2
9276 builtin and then its argument prototype would still apply. */
9286 rm -f conftest.$ac_objext conftest$ac_exeext
9287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9288 (eval $ac_link) 2>conftest.er1
9290 grep -v '^ *+' conftest.er1 >conftest.err
9292 cat conftest.err >&5
9293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9294 (exit $ac_status); } &&
9295 { ac_try='test -z "$ac_c_werror_flag"
9296 || test ! -s conftest.err'
9297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301 (exit $ac_status); }; } &&
9302 { ac_try='test -s conftest$ac_exeext'
9303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9307 (exit $ac_status); }; }; then
9308 ac_cv_lib_m_atanhf=yes
9310 echo "$as_me: failed program was:" >&5
9311 sed 's/^/| /' conftest.$ac_ext >&5
9313 ac_cv_lib_m_atanhf=no
9315 rm -f conftest.err conftest.$ac_objext \
9316 conftest$ac_exeext conftest.$ac_ext
9317 LIBS=$ac_check_lib_save_LIBS
9319 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
9320 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
9321 if test $ac_cv_lib_m_atanhf = yes; then
9323 cat >>confdefs.h <<\_ACEOF
9324 #define HAVE_ATANHF 1
9329 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
9330 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
9331 if test "${ac_cv_lib_m_atanh+set}" = set; then
9332 echo $ECHO_N "(cached) $ECHO_C" >&6
9334 ac_check_lib_save_LIBS=$LIBS
9336 if test x$gcc_no_link = xyes; then
9337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9339 { (exit 1); exit 1; }; }
9341 cat >conftest.$ac_ext <<_ACEOF
9344 cat confdefs.h >>conftest.$ac_ext
9345 cat >>conftest.$ac_ext <<_ACEOF
9346 /* end confdefs.h. */
9348 /* Override any gcc2 internal prototype to avoid an error. */
9352 /* We use char because int might match the return type of a gcc2
9353 builtin and then its argument prototype would still apply. */
9363 rm -f conftest.$ac_objext conftest$ac_exeext
9364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9365 (eval $ac_link) 2>conftest.er1
9367 grep -v '^ *+' conftest.er1 >conftest.err
9369 cat conftest.err >&5
9370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9371 (exit $ac_status); } &&
9372 { ac_try='test -z "$ac_c_werror_flag"
9373 || test ! -s conftest.err'
9374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9378 (exit $ac_status); }; } &&
9379 { ac_try='test -s conftest$ac_exeext'
9380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9384 (exit $ac_status); }; }; then
9385 ac_cv_lib_m_atanh=yes
9387 echo "$as_me: failed program was:" >&5
9388 sed 's/^/| /' conftest.$ac_ext >&5
9390 ac_cv_lib_m_atanh=no
9392 rm -f conftest.err conftest.$ac_objext \
9393 conftest$ac_exeext conftest.$ac_ext
9394 LIBS=$ac_check_lib_save_LIBS
9396 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
9397 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
9398 if test $ac_cv_lib_m_atanh = yes; then
9400 cat >>confdefs.h <<\_ACEOF
9401 #define HAVE_ATANH 1
9406 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
9407 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
9408 if test "${ac_cv_lib_m_atanhl+set}" = set; then
9409 echo $ECHO_N "(cached) $ECHO_C" >&6
9411 ac_check_lib_save_LIBS=$LIBS
9413 if test x$gcc_no_link = xyes; then
9414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9416 { (exit 1); exit 1; }; }
9418 cat >conftest.$ac_ext <<_ACEOF
9421 cat confdefs.h >>conftest.$ac_ext
9422 cat >>conftest.$ac_ext <<_ACEOF
9423 /* end confdefs.h. */
9425 /* Override any gcc2 internal prototype to avoid an error. */
9429 /* We use char because int might match the return type of a gcc2
9430 builtin and then its argument prototype would still apply. */
9440 rm -f conftest.$ac_objext conftest$ac_exeext
9441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9442 (eval $ac_link) 2>conftest.er1
9444 grep -v '^ *+' conftest.er1 >conftest.err
9446 cat conftest.err >&5
9447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9448 (exit $ac_status); } &&
9449 { ac_try='test -z "$ac_c_werror_flag"
9450 || test ! -s conftest.err'
9451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9455 (exit $ac_status); }; } &&
9456 { ac_try='test -s conftest$ac_exeext'
9457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9461 (exit $ac_status); }; }; then
9462 ac_cv_lib_m_atanhl=yes
9464 echo "$as_me: failed program was:" >&5
9465 sed 's/^/| /' conftest.$ac_ext >&5
9467 ac_cv_lib_m_atanhl=no
9469 rm -f conftest.err conftest.$ac_objext \
9470 conftest$ac_exeext conftest.$ac_ext
9471 LIBS=$ac_check_lib_save_LIBS
9473 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
9474 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
9475 if test $ac_cv_lib_m_atanhl = yes; then
9477 cat >>confdefs.h <<\_ACEOF
9478 #define HAVE_ATANHL 1
9483 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
9484 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
9485 if test "${ac_cv_lib_m_cargf+set}" = set; then
9486 echo $ECHO_N "(cached) $ECHO_C" >&6
9488 ac_check_lib_save_LIBS=$LIBS
9490 if test x$gcc_no_link = xyes; then
9491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9493 { (exit 1); exit 1; }; }
9495 cat >conftest.$ac_ext <<_ACEOF
9498 cat confdefs.h >>conftest.$ac_ext
9499 cat >>conftest.$ac_ext <<_ACEOF
9500 /* end confdefs.h. */
9502 /* Override any gcc2 internal prototype to avoid an error. */
9506 /* We use char because int might match the return type of a gcc2
9507 builtin and then its argument prototype would still apply. */
9517 rm -f conftest.$ac_objext conftest$ac_exeext
9518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9519 (eval $ac_link) 2>conftest.er1
9521 grep -v '^ *+' conftest.er1 >conftest.err
9523 cat conftest.err >&5
9524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9525 (exit $ac_status); } &&
9526 { ac_try='test -z "$ac_c_werror_flag"
9527 || test ! -s conftest.err'
9528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9532 (exit $ac_status); }; } &&
9533 { ac_try='test -s conftest$ac_exeext'
9534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9538 (exit $ac_status); }; }; then
9539 ac_cv_lib_m_cargf=yes
9541 echo "$as_me: failed program was:" >&5
9542 sed 's/^/| /' conftest.$ac_ext >&5
9544 ac_cv_lib_m_cargf=no
9546 rm -f conftest.err conftest.$ac_objext \
9547 conftest$ac_exeext conftest.$ac_ext
9548 LIBS=$ac_check_lib_save_LIBS
9550 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
9551 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
9552 if test $ac_cv_lib_m_cargf = yes; then
9554 cat >>confdefs.h <<\_ACEOF
9555 #define HAVE_CARGF 1
9560 echo "$as_me:$LINENO: checking for carg in -lm" >&5
9561 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
9562 if test "${ac_cv_lib_m_carg+set}" = set; then
9563 echo $ECHO_N "(cached) $ECHO_C" >&6
9565 ac_check_lib_save_LIBS=$LIBS
9567 if test x$gcc_no_link = xyes; then
9568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9570 { (exit 1); exit 1; }; }
9572 cat >conftest.$ac_ext <<_ACEOF
9575 cat confdefs.h >>conftest.$ac_ext
9576 cat >>conftest.$ac_ext <<_ACEOF
9577 /* end confdefs.h. */
9579 /* Override any gcc2 internal prototype to avoid an error. */
9583 /* We use char because int might match the return type of a gcc2
9584 builtin and then its argument prototype would still apply. */
9594 rm -f conftest.$ac_objext conftest$ac_exeext
9595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9596 (eval $ac_link) 2>conftest.er1
9598 grep -v '^ *+' conftest.er1 >conftest.err
9600 cat conftest.err >&5
9601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9602 (exit $ac_status); } &&
9603 { ac_try='test -z "$ac_c_werror_flag"
9604 || test ! -s conftest.err'
9605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9609 (exit $ac_status); }; } &&
9610 { ac_try='test -s conftest$ac_exeext'
9611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9615 (exit $ac_status); }; }; then
9616 ac_cv_lib_m_carg=yes
9618 echo "$as_me: failed program was:" >&5
9619 sed 's/^/| /' conftest.$ac_ext >&5
9623 rm -f conftest.err conftest.$ac_objext \
9624 conftest$ac_exeext conftest.$ac_ext
9625 LIBS=$ac_check_lib_save_LIBS
9627 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
9628 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
9629 if test $ac_cv_lib_m_carg = yes; then
9631 cat >>confdefs.h <<\_ACEOF
9637 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
9638 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
9639 if test "${ac_cv_lib_m_cargl+set}" = set; then
9640 echo $ECHO_N "(cached) $ECHO_C" >&6
9642 ac_check_lib_save_LIBS=$LIBS
9644 if test x$gcc_no_link = xyes; then
9645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9647 { (exit 1); exit 1; }; }
9649 cat >conftest.$ac_ext <<_ACEOF
9652 cat confdefs.h >>conftest.$ac_ext
9653 cat >>conftest.$ac_ext <<_ACEOF
9654 /* end confdefs.h. */
9656 /* Override any gcc2 internal prototype to avoid an error. */
9660 /* We use char because int might match the return type of a gcc2
9661 builtin and then its argument prototype would still apply. */
9671 rm -f conftest.$ac_objext conftest$ac_exeext
9672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9673 (eval $ac_link) 2>conftest.er1
9675 grep -v '^ *+' conftest.er1 >conftest.err
9677 cat conftest.err >&5
9678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9679 (exit $ac_status); } &&
9680 { ac_try='test -z "$ac_c_werror_flag"
9681 || test ! -s conftest.err'
9682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9686 (exit $ac_status); }; } &&
9687 { ac_try='test -s conftest$ac_exeext'
9688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9692 (exit $ac_status); }; }; then
9693 ac_cv_lib_m_cargl=yes
9695 echo "$as_me: failed program was:" >&5
9696 sed 's/^/| /' conftest.$ac_ext >&5
9698 ac_cv_lib_m_cargl=no
9700 rm -f conftest.err conftest.$ac_objext \
9701 conftest$ac_exeext conftest.$ac_ext
9702 LIBS=$ac_check_lib_save_LIBS
9704 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
9705 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
9706 if test $ac_cv_lib_m_cargl = yes; then
9708 cat >>confdefs.h <<\_ACEOF
9709 #define HAVE_CARGL 1
9714 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
9715 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
9716 if test "${ac_cv_lib_m_ceilf+set}" = set; then
9717 echo $ECHO_N "(cached) $ECHO_C" >&6
9719 ac_check_lib_save_LIBS=$LIBS
9721 if test x$gcc_no_link = xyes; then
9722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9724 { (exit 1); exit 1; }; }
9726 cat >conftest.$ac_ext <<_ACEOF
9729 cat confdefs.h >>conftest.$ac_ext
9730 cat >>conftest.$ac_ext <<_ACEOF
9731 /* end confdefs.h. */
9733 /* Override any gcc2 internal prototype to avoid an error. */
9737 /* We use char because int might match the return type of a gcc2
9738 builtin and then its argument prototype would still apply. */
9748 rm -f conftest.$ac_objext conftest$ac_exeext
9749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9750 (eval $ac_link) 2>conftest.er1
9752 grep -v '^ *+' conftest.er1 >conftest.err
9754 cat conftest.err >&5
9755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9756 (exit $ac_status); } &&
9757 { ac_try='test -z "$ac_c_werror_flag"
9758 || test ! -s conftest.err'
9759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9763 (exit $ac_status); }; } &&
9764 { ac_try='test -s conftest$ac_exeext'
9765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9769 (exit $ac_status); }; }; then
9770 ac_cv_lib_m_ceilf=yes
9772 echo "$as_me: failed program was:" >&5
9773 sed 's/^/| /' conftest.$ac_ext >&5
9775 ac_cv_lib_m_ceilf=no
9777 rm -f conftest.err conftest.$ac_objext \
9778 conftest$ac_exeext conftest.$ac_ext
9779 LIBS=$ac_check_lib_save_LIBS
9781 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
9782 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
9783 if test $ac_cv_lib_m_ceilf = yes; then
9785 cat >>confdefs.h <<\_ACEOF
9786 #define HAVE_CEILF 1
9791 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
9792 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
9793 if test "${ac_cv_lib_m_ceil+set}" = set; then
9794 echo $ECHO_N "(cached) $ECHO_C" >&6
9796 ac_check_lib_save_LIBS=$LIBS
9798 if test x$gcc_no_link = xyes; then
9799 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9801 { (exit 1); exit 1; }; }
9803 cat >conftest.$ac_ext <<_ACEOF
9806 cat confdefs.h >>conftest.$ac_ext
9807 cat >>conftest.$ac_ext <<_ACEOF
9808 /* end confdefs.h. */
9810 /* Override any gcc2 internal prototype to avoid an error. */
9814 /* We use char because int might match the return type of a gcc2
9815 builtin and then its argument prototype would still apply. */
9825 rm -f conftest.$ac_objext conftest$ac_exeext
9826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9827 (eval $ac_link) 2>conftest.er1
9829 grep -v '^ *+' conftest.er1 >conftest.err
9831 cat conftest.err >&5
9832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9833 (exit $ac_status); } &&
9834 { ac_try='test -z "$ac_c_werror_flag"
9835 || test ! -s conftest.err'
9836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840 (exit $ac_status); }; } &&
9841 { ac_try='test -s conftest$ac_exeext'
9842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9846 (exit $ac_status); }; }; then
9847 ac_cv_lib_m_ceil=yes
9849 echo "$as_me: failed program was:" >&5
9850 sed 's/^/| /' conftest.$ac_ext >&5
9854 rm -f conftest.err conftest.$ac_objext \
9855 conftest$ac_exeext conftest.$ac_ext
9856 LIBS=$ac_check_lib_save_LIBS
9858 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
9859 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
9860 if test $ac_cv_lib_m_ceil = yes; then
9862 cat >>confdefs.h <<\_ACEOF
9868 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
9869 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
9870 if test "${ac_cv_lib_m_ceill+set}" = set; then
9871 echo $ECHO_N "(cached) $ECHO_C" >&6
9873 ac_check_lib_save_LIBS=$LIBS
9875 if test x$gcc_no_link = xyes; then
9876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9878 { (exit 1); exit 1; }; }
9880 cat >conftest.$ac_ext <<_ACEOF
9883 cat confdefs.h >>conftest.$ac_ext
9884 cat >>conftest.$ac_ext <<_ACEOF
9885 /* end confdefs.h. */
9887 /* Override any gcc2 internal prototype to avoid an error. */
9891 /* We use char because int might match the return type of a gcc2
9892 builtin and then its argument prototype would still apply. */
9902 rm -f conftest.$ac_objext conftest$ac_exeext
9903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9904 (eval $ac_link) 2>conftest.er1
9906 grep -v '^ *+' conftest.er1 >conftest.err
9908 cat conftest.err >&5
9909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9910 (exit $ac_status); } &&
9911 { ac_try='test -z "$ac_c_werror_flag"
9912 || test ! -s conftest.err'
9913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9917 (exit $ac_status); }; } &&
9918 { ac_try='test -s conftest$ac_exeext'
9919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9923 (exit $ac_status); }; }; then
9924 ac_cv_lib_m_ceill=yes
9926 echo "$as_me: failed program was:" >&5
9927 sed 's/^/| /' conftest.$ac_ext >&5
9929 ac_cv_lib_m_ceill=no
9931 rm -f conftest.err conftest.$ac_objext \
9932 conftest$ac_exeext conftest.$ac_ext
9933 LIBS=$ac_check_lib_save_LIBS
9935 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
9936 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
9937 if test $ac_cv_lib_m_ceill = yes; then
9939 cat >>confdefs.h <<\_ACEOF
9940 #define HAVE_CEILL 1
9945 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
9946 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
9947 if test "${ac_cv_lib_m_copysignf+set}" = set; then
9948 echo $ECHO_N "(cached) $ECHO_C" >&6
9950 ac_check_lib_save_LIBS=$LIBS
9952 if test x$gcc_no_link = xyes; then
9953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9955 { (exit 1); exit 1; }; }
9957 cat >conftest.$ac_ext <<_ACEOF
9960 cat confdefs.h >>conftest.$ac_ext
9961 cat >>conftest.$ac_ext <<_ACEOF
9962 /* end confdefs.h. */
9964 /* Override any gcc2 internal prototype to avoid an error. */
9968 /* We use char because int might match the return type of a gcc2
9969 builtin and then its argument prototype would still apply. */
9979 rm -f conftest.$ac_objext conftest$ac_exeext
9980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9981 (eval $ac_link) 2>conftest.er1
9983 grep -v '^ *+' conftest.er1 >conftest.err
9985 cat conftest.err >&5
9986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9987 (exit $ac_status); } &&
9988 { ac_try='test -z "$ac_c_werror_flag"
9989 || test ! -s conftest.err'
9990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9994 (exit $ac_status); }; } &&
9995 { ac_try='test -s conftest$ac_exeext'
9996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10000 (exit $ac_status); }; }; then
10001 ac_cv_lib_m_copysignf=yes
10003 echo "$as_me: failed program was:" >&5
10004 sed 's/^/| /' conftest.$ac_ext >&5
10006 ac_cv_lib_m_copysignf=no
10008 rm -f conftest.err conftest.$ac_objext \
10009 conftest$ac_exeext conftest.$ac_ext
10010 LIBS=$ac_check_lib_save_LIBS
10012 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
10013 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
10014 if test $ac_cv_lib_m_copysignf = yes; then
10016 cat >>confdefs.h <<\_ACEOF
10017 #define HAVE_COPYSIGNF 1
10022 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
10023 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
10024 if test "${ac_cv_lib_m_copysign+set}" = set; then
10025 echo $ECHO_N "(cached) $ECHO_C" >&6
10027 ac_check_lib_save_LIBS=$LIBS
10029 if test x$gcc_no_link = xyes; then
10030 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10032 { (exit 1); exit 1; }; }
10034 cat >conftest.$ac_ext <<_ACEOF
10037 cat confdefs.h >>conftest.$ac_ext
10038 cat >>conftest.$ac_ext <<_ACEOF
10039 /* end confdefs.h. */
10041 /* Override any gcc2 internal prototype to avoid an error. */
10045 /* We use char because int might match the return type of a gcc2
10046 builtin and then its argument prototype would still apply. */
10056 rm -f conftest.$ac_objext conftest$ac_exeext
10057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10058 (eval $ac_link) 2>conftest.er1
10060 grep -v '^ *+' conftest.er1 >conftest.err
10062 cat conftest.err >&5
10063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10064 (exit $ac_status); } &&
10065 { ac_try='test -z "$ac_c_werror_flag"
10066 || test ! -s conftest.err'
10067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10068 (eval $ac_try) 2>&5
10070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10071 (exit $ac_status); }; } &&
10072 { ac_try='test -s conftest$ac_exeext'
10073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10074 (eval $ac_try) 2>&5
10076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10077 (exit $ac_status); }; }; then
10078 ac_cv_lib_m_copysign=yes
10080 echo "$as_me: failed program was:" >&5
10081 sed 's/^/| /' conftest.$ac_ext >&5
10083 ac_cv_lib_m_copysign=no
10085 rm -f conftest.err conftest.$ac_objext \
10086 conftest$ac_exeext conftest.$ac_ext
10087 LIBS=$ac_check_lib_save_LIBS
10089 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
10090 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
10091 if test $ac_cv_lib_m_copysign = yes; then
10093 cat >>confdefs.h <<\_ACEOF
10094 #define HAVE_COPYSIGN 1
10099 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
10100 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
10101 if test "${ac_cv_lib_m_copysignl+set}" = set; then
10102 echo $ECHO_N "(cached) $ECHO_C" >&6
10104 ac_check_lib_save_LIBS=$LIBS
10106 if test x$gcc_no_link = xyes; then
10107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10109 { (exit 1); exit 1; }; }
10111 cat >conftest.$ac_ext <<_ACEOF
10114 cat confdefs.h >>conftest.$ac_ext
10115 cat >>conftest.$ac_ext <<_ACEOF
10116 /* end confdefs.h. */
10118 /* Override any gcc2 internal prototype to avoid an error. */
10122 /* We use char because int might match the return type of a gcc2
10123 builtin and then its argument prototype would still apply. */
10133 rm -f conftest.$ac_objext conftest$ac_exeext
10134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10135 (eval $ac_link) 2>conftest.er1
10137 grep -v '^ *+' conftest.er1 >conftest.err
10139 cat conftest.err >&5
10140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10141 (exit $ac_status); } &&
10142 { ac_try='test -z "$ac_c_werror_flag"
10143 || test ! -s conftest.err'
10144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10145 (eval $ac_try) 2>&5
10147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10148 (exit $ac_status); }; } &&
10149 { ac_try='test -s conftest$ac_exeext'
10150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10151 (eval $ac_try) 2>&5
10153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10154 (exit $ac_status); }; }; then
10155 ac_cv_lib_m_copysignl=yes
10157 echo "$as_me: failed program was:" >&5
10158 sed 's/^/| /' conftest.$ac_ext >&5
10160 ac_cv_lib_m_copysignl=no
10162 rm -f conftest.err conftest.$ac_objext \
10163 conftest$ac_exeext conftest.$ac_ext
10164 LIBS=$ac_check_lib_save_LIBS
10166 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
10167 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
10168 if test $ac_cv_lib_m_copysignl = yes; then
10170 cat >>confdefs.h <<\_ACEOF
10171 #define HAVE_COPYSIGNL 1
10176 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
10177 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
10178 if test "${ac_cv_lib_m_cosf+set}" = set; then
10179 echo $ECHO_N "(cached) $ECHO_C" >&6
10181 ac_check_lib_save_LIBS=$LIBS
10183 if test x$gcc_no_link = xyes; then
10184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10186 { (exit 1); exit 1; }; }
10188 cat >conftest.$ac_ext <<_ACEOF
10191 cat confdefs.h >>conftest.$ac_ext
10192 cat >>conftest.$ac_ext <<_ACEOF
10193 /* end confdefs.h. */
10195 /* Override any gcc2 internal prototype to avoid an error. */
10199 /* We use char because int might match the return type of a gcc2
10200 builtin and then its argument prototype would still apply. */
10210 rm -f conftest.$ac_objext conftest$ac_exeext
10211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10212 (eval $ac_link) 2>conftest.er1
10214 grep -v '^ *+' conftest.er1 >conftest.err
10216 cat conftest.err >&5
10217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10218 (exit $ac_status); } &&
10219 { ac_try='test -z "$ac_c_werror_flag"
10220 || test ! -s conftest.err'
10221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10222 (eval $ac_try) 2>&5
10224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10225 (exit $ac_status); }; } &&
10226 { ac_try='test -s conftest$ac_exeext'
10227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10228 (eval $ac_try) 2>&5
10230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10231 (exit $ac_status); }; }; then
10232 ac_cv_lib_m_cosf=yes
10234 echo "$as_me: failed program was:" >&5
10235 sed 's/^/| /' conftest.$ac_ext >&5
10237 ac_cv_lib_m_cosf=no
10239 rm -f conftest.err conftest.$ac_objext \
10240 conftest$ac_exeext conftest.$ac_ext
10241 LIBS=$ac_check_lib_save_LIBS
10243 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
10244 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
10245 if test $ac_cv_lib_m_cosf = yes; then
10247 cat >>confdefs.h <<\_ACEOF
10248 #define HAVE_COSF 1
10253 echo "$as_me:$LINENO: checking for cos in -lm" >&5
10254 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
10255 if test "${ac_cv_lib_m_cos+set}" = set; then
10256 echo $ECHO_N "(cached) $ECHO_C" >&6
10258 ac_check_lib_save_LIBS=$LIBS
10260 if test x$gcc_no_link = xyes; then
10261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10263 { (exit 1); exit 1; }; }
10265 cat >conftest.$ac_ext <<_ACEOF
10268 cat confdefs.h >>conftest.$ac_ext
10269 cat >>conftest.$ac_ext <<_ACEOF
10270 /* end confdefs.h. */
10272 /* Override any gcc2 internal prototype to avoid an error. */
10276 /* We use char because int might match the return type of a gcc2
10277 builtin and then its argument prototype would still apply. */
10287 rm -f conftest.$ac_objext conftest$ac_exeext
10288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10289 (eval $ac_link) 2>conftest.er1
10291 grep -v '^ *+' conftest.er1 >conftest.err
10293 cat conftest.err >&5
10294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10295 (exit $ac_status); } &&
10296 { ac_try='test -z "$ac_c_werror_flag"
10297 || test ! -s conftest.err'
10298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10299 (eval $ac_try) 2>&5
10301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10302 (exit $ac_status); }; } &&
10303 { ac_try='test -s conftest$ac_exeext'
10304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10305 (eval $ac_try) 2>&5
10307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10308 (exit $ac_status); }; }; then
10309 ac_cv_lib_m_cos=yes
10311 echo "$as_me: failed program was:" >&5
10312 sed 's/^/| /' conftest.$ac_ext >&5
10316 rm -f conftest.err conftest.$ac_objext \
10317 conftest$ac_exeext conftest.$ac_ext
10318 LIBS=$ac_check_lib_save_LIBS
10320 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
10321 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
10322 if test $ac_cv_lib_m_cos = yes; then
10324 cat >>confdefs.h <<\_ACEOF
10330 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
10331 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
10332 if test "${ac_cv_lib_m_cosl+set}" = set; then
10333 echo $ECHO_N "(cached) $ECHO_C" >&6
10335 ac_check_lib_save_LIBS=$LIBS
10337 if test x$gcc_no_link = xyes; then
10338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10340 { (exit 1); exit 1; }; }
10342 cat >conftest.$ac_ext <<_ACEOF
10345 cat confdefs.h >>conftest.$ac_ext
10346 cat >>conftest.$ac_ext <<_ACEOF
10347 /* end confdefs.h. */
10349 /* Override any gcc2 internal prototype to avoid an error. */
10353 /* We use char because int might match the return type of a gcc2
10354 builtin and then its argument prototype would still apply. */
10364 rm -f conftest.$ac_objext conftest$ac_exeext
10365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10366 (eval $ac_link) 2>conftest.er1
10368 grep -v '^ *+' conftest.er1 >conftest.err
10370 cat conftest.err >&5
10371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10372 (exit $ac_status); } &&
10373 { ac_try='test -z "$ac_c_werror_flag"
10374 || test ! -s conftest.err'
10375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10376 (eval $ac_try) 2>&5
10378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10379 (exit $ac_status); }; } &&
10380 { ac_try='test -s conftest$ac_exeext'
10381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10382 (eval $ac_try) 2>&5
10384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10385 (exit $ac_status); }; }; then
10386 ac_cv_lib_m_cosl=yes
10388 echo "$as_me: failed program was:" >&5
10389 sed 's/^/| /' conftest.$ac_ext >&5
10391 ac_cv_lib_m_cosl=no
10393 rm -f conftest.err conftest.$ac_objext \
10394 conftest$ac_exeext conftest.$ac_ext
10395 LIBS=$ac_check_lib_save_LIBS
10397 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
10398 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
10399 if test $ac_cv_lib_m_cosl = yes; then
10401 cat >>confdefs.h <<\_ACEOF
10402 #define HAVE_COSL 1
10407 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
10408 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
10409 if test "${ac_cv_lib_m_ccosf+set}" = set; then
10410 echo $ECHO_N "(cached) $ECHO_C" >&6
10412 ac_check_lib_save_LIBS=$LIBS
10414 if test x$gcc_no_link = xyes; then
10415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10417 { (exit 1); exit 1; }; }
10419 cat >conftest.$ac_ext <<_ACEOF
10422 cat confdefs.h >>conftest.$ac_ext
10423 cat >>conftest.$ac_ext <<_ACEOF
10424 /* end confdefs.h. */
10426 /* Override any gcc2 internal prototype to avoid an error. */
10430 /* We use char because int might match the return type of a gcc2
10431 builtin and then its argument prototype would still apply. */
10441 rm -f conftest.$ac_objext conftest$ac_exeext
10442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10443 (eval $ac_link) 2>conftest.er1
10445 grep -v '^ *+' conftest.er1 >conftest.err
10447 cat conftest.err >&5
10448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10449 (exit $ac_status); } &&
10450 { ac_try='test -z "$ac_c_werror_flag"
10451 || test ! -s conftest.err'
10452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10453 (eval $ac_try) 2>&5
10455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10456 (exit $ac_status); }; } &&
10457 { ac_try='test -s conftest$ac_exeext'
10458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10459 (eval $ac_try) 2>&5
10461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10462 (exit $ac_status); }; }; then
10463 ac_cv_lib_m_ccosf=yes
10465 echo "$as_me: failed program was:" >&5
10466 sed 's/^/| /' conftest.$ac_ext >&5
10468 ac_cv_lib_m_ccosf=no
10470 rm -f conftest.err conftest.$ac_objext \
10471 conftest$ac_exeext conftest.$ac_ext
10472 LIBS=$ac_check_lib_save_LIBS
10474 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
10475 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
10476 if test $ac_cv_lib_m_ccosf = yes; then
10478 cat >>confdefs.h <<\_ACEOF
10479 #define HAVE_CCOSF 1
10484 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
10485 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
10486 if test "${ac_cv_lib_m_ccos+set}" = set; then
10487 echo $ECHO_N "(cached) $ECHO_C" >&6
10489 ac_check_lib_save_LIBS=$LIBS
10491 if test x$gcc_no_link = xyes; then
10492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10494 { (exit 1); exit 1; }; }
10496 cat >conftest.$ac_ext <<_ACEOF
10499 cat confdefs.h >>conftest.$ac_ext
10500 cat >>conftest.$ac_ext <<_ACEOF
10501 /* end confdefs.h. */
10503 /* Override any gcc2 internal prototype to avoid an error. */
10507 /* We use char because int might match the return type of a gcc2
10508 builtin and then its argument prototype would still apply. */
10518 rm -f conftest.$ac_objext conftest$ac_exeext
10519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10520 (eval $ac_link) 2>conftest.er1
10522 grep -v '^ *+' conftest.er1 >conftest.err
10524 cat conftest.err >&5
10525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10526 (exit $ac_status); } &&
10527 { ac_try='test -z "$ac_c_werror_flag"
10528 || test ! -s conftest.err'
10529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10530 (eval $ac_try) 2>&5
10532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10533 (exit $ac_status); }; } &&
10534 { ac_try='test -s conftest$ac_exeext'
10535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10536 (eval $ac_try) 2>&5
10538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10539 (exit $ac_status); }; }; then
10540 ac_cv_lib_m_ccos=yes
10542 echo "$as_me: failed program was:" >&5
10543 sed 's/^/| /' conftest.$ac_ext >&5
10545 ac_cv_lib_m_ccos=no
10547 rm -f conftest.err conftest.$ac_objext \
10548 conftest$ac_exeext conftest.$ac_ext
10549 LIBS=$ac_check_lib_save_LIBS
10551 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
10552 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
10553 if test $ac_cv_lib_m_ccos = yes; then
10555 cat >>confdefs.h <<\_ACEOF
10556 #define HAVE_CCOS 1
10561 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
10562 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
10563 if test "${ac_cv_lib_m_ccosl+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 gcc2 internal prototype to avoid an error. */
10584 /* We use char because int might match the return type of a gcc2
10585 builtin and then its argument prototype would still apply. */
10595 rm -f conftest.$ac_objext conftest$ac_exeext
10596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10597 (eval $ac_link) 2>conftest.er1
10599 grep -v '^ *+' conftest.er1 >conftest.err
10601 cat conftest.err >&5
10602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10603 (exit $ac_status); } &&
10604 { ac_try='test -z "$ac_c_werror_flag"
10605 || test ! -s conftest.err'
10606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10607 (eval $ac_try) 2>&5
10609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10610 (exit $ac_status); }; } &&
10611 { ac_try='test -s conftest$ac_exeext'
10612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10613 (eval $ac_try) 2>&5
10615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10616 (exit $ac_status); }; }; then
10617 ac_cv_lib_m_ccosl=yes
10619 echo "$as_me: failed program was:" >&5
10620 sed 's/^/| /' conftest.$ac_ext >&5
10622 ac_cv_lib_m_ccosl=no
10624 rm -f conftest.err conftest.$ac_objext \
10625 conftest$ac_exeext conftest.$ac_ext
10626 LIBS=$ac_check_lib_save_LIBS
10628 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
10629 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
10630 if test $ac_cv_lib_m_ccosl = yes; then
10632 cat >>confdefs.h <<\_ACEOF
10633 #define HAVE_CCOSL 1
10638 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
10639 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
10640 if test "${ac_cv_lib_m_coshf+set}" = set; then
10641 echo $ECHO_N "(cached) $ECHO_C" >&6
10643 ac_check_lib_save_LIBS=$LIBS
10645 if test x$gcc_no_link = xyes; then
10646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10648 { (exit 1); exit 1; }; }
10650 cat >conftest.$ac_ext <<_ACEOF
10653 cat confdefs.h >>conftest.$ac_ext
10654 cat >>conftest.$ac_ext <<_ACEOF
10655 /* end confdefs.h. */
10657 /* Override any gcc2 internal prototype to avoid an error. */
10661 /* We use char because int might match the return type of a gcc2
10662 builtin and then its argument prototype would still apply. */
10672 rm -f conftest.$ac_objext conftest$ac_exeext
10673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10674 (eval $ac_link) 2>conftest.er1
10676 grep -v '^ *+' conftest.er1 >conftest.err
10678 cat conftest.err >&5
10679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10680 (exit $ac_status); } &&
10681 { ac_try='test -z "$ac_c_werror_flag"
10682 || test ! -s conftest.err'
10683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10684 (eval $ac_try) 2>&5
10686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10687 (exit $ac_status); }; } &&
10688 { ac_try='test -s conftest$ac_exeext'
10689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10690 (eval $ac_try) 2>&5
10692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10693 (exit $ac_status); }; }; then
10694 ac_cv_lib_m_coshf=yes
10696 echo "$as_me: failed program was:" >&5
10697 sed 's/^/| /' conftest.$ac_ext >&5
10699 ac_cv_lib_m_coshf=no
10701 rm -f conftest.err conftest.$ac_objext \
10702 conftest$ac_exeext conftest.$ac_ext
10703 LIBS=$ac_check_lib_save_LIBS
10705 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
10706 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
10707 if test $ac_cv_lib_m_coshf = yes; then
10709 cat >>confdefs.h <<\_ACEOF
10710 #define HAVE_COSHF 1
10715 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
10716 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
10717 if test "${ac_cv_lib_m_cosh+set}" = set; then
10718 echo $ECHO_N "(cached) $ECHO_C" >&6
10720 ac_check_lib_save_LIBS=$LIBS
10722 if test x$gcc_no_link = xyes; then
10723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10725 { (exit 1); exit 1; }; }
10727 cat >conftest.$ac_ext <<_ACEOF
10730 cat confdefs.h >>conftest.$ac_ext
10731 cat >>conftest.$ac_ext <<_ACEOF
10732 /* end confdefs.h. */
10734 /* Override any gcc2 internal prototype to avoid an error. */
10738 /* We use char because int might match the return type of a gcc2
10739 builtin and then its argument prototype would still apply. */
10749 rm -f conftest.$ac_objext conftest$ac_exeext
10750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10751 (eval $ac_link) 2>conftest.er1
10753 grep -v '^ *+' conftest.er1 >conftest.err
10755 cat conftest.err >&5
10756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757 (exit $ac_status); } &&
10758 { ac_try='test -z "$ac_c_werror_flag"
10759 || test ! -s conftest.err'
10760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10761 (eval $ac_try) 2>&5
10763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10764 (exit $ac_status); }; } &&
10765 { ac_try='test -s conftest$ac_exeext'
10766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10767 (eval $ac_try) 2>&5
10769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10770 (exit $ac_status); }; }; then
10771 ac_cv_lib_m_cosh=yes
10773 echo "$as_me: failed program was:" >&5
10774 sed 's/^/| /' conftest.$ac_ext >&5
10776 ac_cv_lib_m_cosh=no
10778 rm -f conftest.err conftest.$ac_objext \
10779 conftest$ac_exeext conftest.$ac_ext
10780 LIBS=$ac_check_lib_save_LIBS
10782 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
10783 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
10784 if test $ac_cv_lib_m_cosh = yes; then
10786 cat >>confdefs.h <<\_ACEOF
10787 #define HAVE_COSH 1
10792 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
10793 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
10794 if test "${ac_cv_lib_m_coshl+set}" = set; then
10795 echo $ECHO_N "(cached) $ECHO_C" >&6
10797 ac_check_lib_save_LIBS=$LIBS
10799 if test x$gcc_no_link = xyes; then
10800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10802 { (exit 1); exit 1; }; }
10804 cat >conftest.$ac_ext <<_ACEOF
10807 cat confdefs.h >>conftest.$ac_ext
10808 cat >>conftest.$ac_ext <<_ACEOF
10809 /* end confdefs.h. */
10811 /* Override any gcc2 internal prototype to avoid an error. */
10815 /* We use char because int might match the return type of a gcc2
10816 builtin and then its argument prototype would still apply. */
10826 rm -f conftest.$ac_objext conftest$ac_exeext
10827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10828 (eval $ac_link) 2>conftest.er1
10830 grep -v '^ *+' conftest.er1 >conftest.err
10832 cat conftest.err >&5
10833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10834 (exit $ac_status); } &&
10835 { ac_try='test -z "$ac_c_werror_flag"
10836 || test ! -s conftest.err'
10837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10838 (eval $ac_try) 2>&5
10840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10841 (exit $ac_status); }; } &&
10842 { ac_try='test -s conftest$ac_exeext'
10843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10844 (eval $ac_try) 2>&5
10846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10847 (exit $ac_status); }; }; then
10848 ac_cv_lib_m_coshl=yes
10850 echo "$as_me: failed program was:" >&5
10851 sed 's/^/| /' conftest.$ac_ext >&5
10853 ac_cv_lib_m_coshl=no
10855 rm -f conftest.err conftest.$ac_objext \
10856 conftest$ac_exeext conftest.$ac_ext
10857 LIBS=$ac_check_lib_save_LIBS
10859 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
10860 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
10861 if test $ac_cv_lib_m_coshl = yes; then
10863 cat >>confdefs.h <<\_ACEOF
10864 #define HAVE_COSHL 1
10869 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
10870 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
10871 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
10872 echo $ECHO_N "(cached) $ECHO_C" >&6
10874 ac_check_lib_save_LIBS=$LIBS
10876 if test x$gcc_no_link = xyes; then
10877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10879 { (exit 1); exit 1; }; }
10881 cat >conftest.$ac_ext <<_ACEOF
10884 cat confdefs.h >>conftest.$ac_ext
10885 cat >>conftest.$ac_ext <<_ACEOF
10886 /* end confdefs.h. */
10888 /* Override any gcc2 internal prototype to avoid an error. */
10892 /* We use char because int might match the return type of a gcc2
10893 builtin and then its argument prototype would still apply. */
10903 rm -f conftest.$ac_objext conftest$ac_exeext
10904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10905 (eval $ac_link) 2>conftest.er1
10907 grep -v '^ *+' conftest.er1 >conftest.err
10909 cat conftest.err >&5
10910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10911 (exit $ac_status); } &&
10912 { ac_try='test -z "$ac_c_werror_flag"
10913 || test ! -s conftest.err'
10914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10915 (eval $ac_try) 2>&5
10917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10918 (exit $ac_status); }; } &&
10919 { ac_try='test -s conftest$ac_exeext'
10920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10921 (eval $ac_try) 2>&5
10923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10924 (exit $ac_status); }; }; then
10925 ac_cv_lib_m_ccoshf=yes
10927 echo "$as_me: failed program was:" >&5
10928 sed 's/^/| /' conftest.$ac_ext >&5
10930 ac_cv_lib_m_ccoshf=no
10932 rm -f conftest.err conftest.$ac_objext \
10933 conftest$ac_exeext conftest.$ac_ext
10934 LIBS=$ac_check_lib_save_LIBS
10936 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
10937 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
10938 if test $ac_cv_lib_m_ccoshf = yes; then
10940 cat >>confdefs.h <<\_ACEOF
10941 #define HAVE_CCOSHF 1
10946 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
10947 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
10948 if test "${ac_cv_lib_m_ccosh+set}" = set; then
10949 echo $ECHO_N "(cached) $ECHO_C" >&6
10951 ac_check_lib_save_LIBS=$LIBS
10953 if test x$gcc_no_link = xyes; then
10954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10956 { (exit 1); exit 1; }; }
10958 cat >conftest.$ac_ext <<_ACEOF
10961 cat confdefs.h >>conftest.$ac_ext
10962 cat >>conftest.$ac_ext <<_ACEOF
10963 /* end confdefs.h. */
10965 /* Override any gcc2 internal prototype to avoid an error. */
10969 /* We use char because int might match the return type of a gcc2
10970 builtin and then its argument prototype would still apply. */
10980 rm -f conftest.$ac_objext conftest$ac_exeext
10981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10982 (eval $ac_link) 2>conftest.er1
10984 grep -v '^ *+' conftest.er1 >conftest.err
10986 cat conftest.err >&5
10987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10988 (exit $ac_status); } &&
10989 { ac_try='test -z "$ac_c_werror_flag"
10990 || test ! -s conftest.err'
10991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10992 (eval $ac_try) 2>&5
10994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10995 (exit $ac_status); }; } &&
10996 { ac_try='test -s conftest$ac_exeext'
10997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10998 (eval $ac_try) 2>&5
11000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11001 (exit $ac_status); }; }; then
11002 ac_cv_lib_m_ccosh=yes
11004 echo "$as_me: failed program was:" >&5
11005 sed 's/^/| /' conftest.$ac_ext >&5
11007 ac_cv_lib_m_ccosh=no
11009 rm -f conftest.err conftest.$ac_objext \
11010 conftest$ac_exeext conftest.$ac_ext
11011 LIBS=$ac_check_lib_save_LIBS
11013 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
11014 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
11015 if test $ac_cv_lib_m_ccosh = yes; then
11017 cat >>confdefs.h <<\_ACEOF
11018 #define HAVE_CCOSH 1
11023 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
11024 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
11025 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
11026 echo $ECHO_N "(cached) $ECHO_C" >&6
11028 ac_check_lib_save_LIBS=$LIBS
11030 if test x$gcc_no_link = xyes; then
11031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11033 { (exit 1); exit 1; }; }
11035 cat >conftest.$ac_ext <<_ACEOF
11038 cat confdefs.h >>conftest.$ac_ext
11039 cat >>conftest.$ac_ext <<_ACEOF
11040 /* end confdefs.h. */
11042 /* Override any gcc2 internal prototype to avoid an error. */
11046 /* We use char because int might match the return type of a gcc2
11047 builtin and then its argument prototype would still apply. */
11057 rm -f conftest.$ac_objext conftest$ac_exeext
11058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11059 (eval $ac_link) 2>conftest.er1
11061 grep -v '^ *+' conftest.er1 >conftest.err
11063 cat conftest.err >&5
11064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11065 (exit $ac_status); } &&
11066 { ac_try='test -z "$ac_c_werror_flag"
11067 || test ! -s conftest.err'
11068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11069 (eval $ac_try) 2>&5
11071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11072 (exit $ac_status); }; } &&
11073 { ac_try='test -s conftest$ac_exeext'
11074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11075 (eval $ac_try) 2>&5
11077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); }; }; then
11079 ac_cv_lib_m_ccoshl=yes
11081 echo "$as_me: failed program was:" >&5
11082 sed 's/^/| /' conftest.$ac_ext >&5
11084 ac_cv_lib_m_ccoshl=no
11086 rm -f conftest.err conftest.$ac_objext \
11087 conftest$ac_exeext conftest.$ac_ext
11088 LIBS=$ac_check_lib_save_LIBS
11090 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
11091 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
11092 if test $ac_cv_lib_m_ccoshl = yes; then
11094 cat >>confdefs.h <<\_ACEOF
11095 #define HAVE_CCOSHL 1
11100 echo "$as_me:$LINENO: checking for expf in -lm" >&5
11101 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
11102 if test "${ac_cv_lib_m_expf+set}" = set; then
11103 echo $ECHO_N "(cached) $ECHO_C" >&6
11105 ac_check_lib_save_LIBS=$LIBS
11107 if test x$gcc_no_link = xyes; then
11108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11110 { (exit 1); exit 1; }; }
11112 cat >conftest.$ac_ext <<_ACEOF
11115 cat confdefs.h >>conftest.$ac_ext
11116 cat >>conftest.$ac_ext <<_ACEOF
11117 /* end confdefs.h. */
11119 /* Override any gcc2 internal prototype to avoid an error. */
11123 /* We use char because int might match the return type of a gcc2
11124 builtin and then its argument prototype would still apply. */
11134 rm -f conftest.$ac_objext conftest$ac_exeext
11135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11136 (eval $ac_link) 2>conftest.er1
11138 grep -v '^ *+' conftest.er1 >conftest.err
11140 cat conftest.err >&5
11141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11142 (exit $ac_status); } &&
11143 { ac_try='test -z "$ac_c_werror_flag"
11144 || test ! -s conftest.err'
11145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11146 (eval $ac_try) 2>&5
11148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149 (exit $ac_status); }; } &&
11150 { ac_try='test -s conftest$ac_exeext'
11151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11152 (eval $ac_try) 2>&5
11154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11155 (exit $ac_status); }; }; then
11156 ac_cv_lib_m_expf=yes
11158 echo "$as_me: failed program was:" >&5
11159 sed 's/^/| /' conftest.$ac_ext >&5
11161 ac_cv_lib_m_expf=no
11163 rm -f conftest.err conftest.$ac_objext \
11164 conftest$ac_exeext conftest.$ac_ext
11165 LIBS=$ac_check_lib_save_LIBS
11167 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
11168 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
11169 if test $ac_cv_lib_m_expf = yes; then
11171 cat >>confdefs.h <<\_ACEOF
11172 #define HAVE_EXPF 1
11177 echo "$as_me:$LINENO: checking for exp in -lm" >&5
11178 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
11179 if test "${ac_cv_lib_m_exp+set}" = set; then
11180 echo $ECHO_N "(cached) $ECHO_C" >&6
11182 ac_check_lib_save_LIBS=$LIBS
11184 if test x$gcc_no_link = xyes; then
11185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11187 { (exit 1); exit 1; }; }
11189 cat >conftest.$ac_ext <<_ACEOF
11192 cat confdefs.h >>conftest.$ac_ext
11193 cat >>conftest.$ac_ext <<_ACEOF
11194 /* end confdefs.h. */
11196 /* Override any gcc2 internal prototype to avoid an error. */
11200 /* We use char because int might match the return type of a gcc2
11201 builtin and then its argument prototype would still apply. */
11211 rm -f conftest.$ac_objext conftest$ac_exeext
11212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11213 (eval $ac_link) 2>conftest.er1
11215 grep -v '^ *+' conftest.er1 >conftest.err
11217 cat conftest.err >&5
11218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11219 (exit $ac_status); } &&
11220 { ac_try='test -z "$ac_c_werror_flag"
11221 || test ! -s conftest.err'
11222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11223 (eval $ac_try) 2>&5
11225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11226 (exit $ac_status); }; } &&
11227 { ac_try='test -s conftest$ac_exeext'
11228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11229 (eval $ac_try) 2>&5
11231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11232 (exit $ac_status); }; }; then
11233 ac_cv_lib_m_exp=yes
11235 echo "$as_me: failed program was:" >&5
11236 sed 's/^/| /' conftest.$ac_ext >&5
11240 rm -f conftest.err conftest.$ac_objext \
11241 conftest$ac_exeext conftest.$ac_ext
11242 LIBS=$ac_check_lib_save_LIBS
11244 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
11245 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
11246 if test $ac_cv_lib_m_exp = yes; then
11248 cat >>confdefs.h <<\_ACEOF
11254 echo "$as_me:$LINENO: checking for expl in -lm" >&5
11255 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
11256 if test "${ac_cv_lib_m_expl+set}" = set; then
11257 echo $ECHO_N "(cached) $ECHO_C" >&6
11259 ac_check_lib_save_LIBS=$LIBS
11261 if test x$gcc_no_link = xyes; then
11262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11264 { (exit 1); exit 1; }; }
11266 cat >conftest.$ac_ext <<_ACEOF
11269 cat confdefs.h >>conftest.$ac_ext
11270 cat >>conftest.$ac_ext <<_ACEOF
11271 /* end confdefs.h. */
11273 /* Override any gcc2 internal prototype to avoid an error. */
11277 /* We use char because int might match the return type of a gcc2
11278 builtin and then its argument prototype would still apply. */
11288 rm -f conftest.$ac_objext conftest$ac_exeext
11289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11290 (eval $ac_link) 2>conftest.er1
11292 grep -v '^ *+' conftest.er1 >conftest.err
11294 cat conftest.err >&5
11295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11296 (exit $ac_status); } &&
11297 { ac_try='test -z "$ac_c_werror_flag"
11298 || test ! -s conftest.err'
11299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11300 (eval $ac_try) 2>&5
11302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11303 (exit $ac_status); }; } &&
11304 { ac_try='test -s conftest$ac_exeext'
11305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11306 (eval $ac_try) 2>&5
11308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11309 (exit $ac_status); }; }; then
11310 ac_cv_lib_m_expl=yes
11312 echo "$as_me: failed program was:" >&5
11313 sed 's/^/| /' conftest.$ac_ext >&5
11315 ac_cv_lib_m_expl=no
11317 rm -f conftest.err conftest.$ac_objext \
11318 conftest$ac_exeext conftest.$ac_ext
11319 LIBS=$ac_check_lib_save_LIBS
11321 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
11322 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
11323 if test $ac_cv_lib_m_expl = yes; then
11325 cat >>confdefs.h <<\_ACEOF
11326 #define HAVE_EXPL 1
11331 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
11332 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
11333 if test "${ac_cv_lib_m_cexpf+set}" = set; then
11334 echo $ECHO_N "(cached) $ECHO_C" >&6
11336 ac_check_lib_save_LIBS=$LIBS
11338 if test x$gcc_no_link = xyes; then
11339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11341 { (exit 1); exit 1; }; }
11343 cat >conftest.$ac_ext <<_ACEOF
11346 cat confdefs.h >>conftest.$ac_ext
11347 cat >>conftest.$ac_ext <<_ACEOF
11348 /* end confdefs.h. */
11350 /* Override any gcc2 internal prototype to avoid an error. */
11354 /* We use char because int might match the return type of a gcc2
11355 builtin and then its argument prototype would still apply. */
11365 rm -f conftest.$ac_objext conftest$ac_exeext
11366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11367 (eval $ac_link) 2>conftest.er1
11369 grep -v '^ *+' conftest.er1 >conftest.err
11371 cat conftest.err >&5
11372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11373 (exit $ac_status); } &&
11374 { ac_try='test -z "$ac_c_werror_flag"
11375 || test ! -s conftest.err'
11376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11377 (eval $ac_try) 2>&5
11379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380 (exit $ac_status); }; } &&
11381 { ac_try='test -s conftest$ac_exeext'
11382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11383 (eval $ac_try) 2>&5
11385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11386 (exit $ac_status); }; }; then
11387 ac_cv_lib_m_cexpf=yes
11389 echo "$as_me: failed program was:" >&5
11390 sed 's/^/| /' conftest.$ac_ext >&5
11392 ac_cv_lib_m_cexpf=no
11394 rm -f conftest.err conftest.$ac_objext \
11395 conftest$ac_exeext conftest.$ac_ext
11396 LIBS=$ac_check_lib_save_LIBS
11398 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
11399 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
11400 if test $ac_cv_lib_m_cexpf = yes; then
11402 cat >>confdefs.h <<\_ACEOF
11403 #define HAVE_CEXPF 1
11408 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
11409 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
11410 if test "${ac_cv_lib_m_cexp+set}" = set; then
11411 echo $ECHO_N "(cached) $ECHO_C" >&6
11413 ac_check_lib_save_LIBS=$LIBS
11415 if test x$gcc_no_link = xyes; then
11416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11418 { (exit 1); exit 1; }; }
11420 cat >conftest.$ac_ext <<_ACEOF
11423 cat confdefs.h >>conftest.$ac_ext
11424 cat >>conftest.$ac_ext <<_ACEOF
11425 /* end confdefs.h. */
11427 /* Override any gcc2 internal prototype to avoid an error. */
11431 /* We use char because int might match the return type of a gcc2
11432 builtin and then its argument prototype would still apply. */
11442 rm -f conftest.$ac_objext conftest$ac_exeext
11443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11444 (eval $ac_link) 2>conftest.er1
11446 grep -v '^ *+' conftest.er1 >conftest.err
11448 cat conftest.err >&5
11449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11450 (exit $ac_status); } &&
11451 { ac_try='test -z "$ac_c_werror_flag"
11452 || test ! -s conftest.err'
11453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11454 (eval $ac_try) 2>&5
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); }; } &&
11458 { ac_try='test -s conftest$ac_exeext'
11459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11460 (eval $ac_try) 2>&5
11462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 (exit $ac_status); }; }; then
11464 ac_cv_lib_m_cexp=yes
11466 echo "$as_me: failed program was:" >&5
11467 sed 's/^/| /' conftest.$ac_ext >&5
11469 ac_cv_lib_m_cexp=no
11471 rm -f conftest.err conftest.$ac_objext \
11472 conftest$ac_exeext conftest.$ac_ext
11473 LIBS=$ac_check_lib_save_LIBS
11475 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
11476 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
11477 if test $ac_cv_lib_m_cexp = yes; then
11479 cat >>confdefs.h <<\_ACEOF
11480 #define HAVE_CEXP 1
11485 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
11486 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
11487 if test "${ac_cv_lib_m_cexpl+set}" = set; then
11488 echo $ECHO_N "(cached) $ECHO_C" >&6
11490 ac_check_lib_save_LIBS=$LIBS
11492 if test x$gcc_no_link = xyes; then
11493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11495 { (exit 1); exit 1; }; }
11497 cat >conftest.$ac_ext <<_ACEOF
11500 cat confdefs.h >>conftest.$ac_ext
11501 cat >>conftest.$ac_ext <<_ACEOF
11502 /* end confdefs.h. */
11504 /* Override any gcc2 internal prototype to avoid an error. */
11508 /* We use char because int might match the return type of a gcc2
11509 builtin and then its argument prototype would still apply. */
11519 rm -f conftest.$ac_objext conftest$ac_exeext
11520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11521 (eval $ac_link) 2>conftest.er1
11523 grep -v '^ *+' conftest.er1 >conftest.err
11525 cat conftest.err >&5
11526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11527 (exit $ac_status); } &&
11528 { ac_try='test -z "$ac_c_werror_flag"
11529 || test ! -s conftest.err'
11530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11531 (eval $ac_try) 2>&5
11533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11534 (exit $ac_status); }; } &&
11535 { ac_try='test -s conftest$ac_exeext'
11536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11537 (eval $ac_try) 2>&5
11539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11540 (exit $ac_status); }; }; then
11541 ac_cv_lib_m_cexpl=yes
11543 echo "$as_me: failed program was:" >&5
11544 sed 's/^/| /' conftest.$ac_ext >&5
11546 ac_cv_lib_m_cexpl=no
11548 rm -f conftest.err conftest.$ac_objext \
11549 conftest$ac_exeext conftest.$ac_ext
11550 LIBS=$ac_check_lib_save_LIBS
11552 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
11553 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
11554 if test $ac_cv_lib_m_cexpl = yes; then
11556 cat >>confdefs.h <<\_ACEOF
11557 #define HAVE_CEXPL 1
11562 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
11563 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
11564 if test "${ac_cv_lib_m_fabsf+set}" = set; then
11565 echo $ECHO_N "(cached) $ECHO_C" >&6
11567 ac_check_lib_save_LIBS=$LIBS
11569 if test x$gcc_no_link = xyes; then
11570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11572 { (exit 1); exit 1; }; }
11574 cat >conftest.$ac_ext <<_ACEOF
11577 cat confdefs.h >>conftest.$ac_ext
11578 cat >>conftest.$ac_ext <<_ACEOF
11579 /* end confdefs.h. */
11581 /* Override any gcc2 internal prototype to avoid an error. */
11585 /* We use char because int might match the return type of a gcc2
11586 builtin and then its argument prototype would still apply. */
11596 rm -f conftest.$ac_objext conftest$ac_exeext
11597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11598 (eval $ac_link) 2>conftest.er1
11600 grep -v '^ *+' conftest.er1 >conftest.err
11602 cat conftest.err >&5
11603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11604 (exit $ac_status); } &&
11605 { ac_try='test -z "$ac_c_werror_flag"
11606 || test ! -s conftest.err'
11607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11608 (eval $ac_try) 2>&5
11610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11611 (exit $ac_status); }; } &&
11612 { ac_try='test -s conftest$ac_exeext'
11613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11614 (eval $ac_try) 2>&5
11616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11617 (exit $ac_status); }; }; then
11618 ac_cv_lib_m_fabsf=yes
11620 echo "$as_me: failed program was:" >&5
11621 sed 's/^/| /' conftest.$ac_ext >&5
11623 ac_cv_lib_m_fabsf=no
11625 rm -f conftest.err conftest.$ac_objext \
11626 conftest$ac_exeext conftest.$ac_ext
11627 LIBS=$ac_check_lib_save_LIBS
11629 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
11630 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
11631 if test $ac_cv_lib_m_fabsf = yes; then
11633 cat >>confdefs.h <<\_ACEOF
11634 #define HAVE_FABSF 1
11639 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
11640 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
11641 if test "${ac_cv_lib_m_fabs+set}" = set; then
11642 echo $ECHO_N "(cached) $ECHO_C" >&6
11644 ac_check_lib_save_LIBS=$LIBS
11646 if test x$gcc_no_link = xyes; then
11647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11649 { (exit 1); exit 1; }; }
11651 cat >conftest.$ac_ext <<_ACEOF
11654 cat confdefs.h >>conftest.$ac_ext
11655 cat >>conftest.$ac_ext <<_ACEOF
11656 /* end confdefs.h. */
11658 /* Override any gcc2 internal prototype to avoid an error. */
11662 /* We use char because int might match the return type of a gcc2
11663 builtin and then its argument prototype would still apply. */
11673 rm -f conftest.$ac_objext conftest$ac_exeext
11674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11675 (eval $ac_link) 2>conftest.er1
11677 grep -v '^ *+' conftest.er1 >conftest.err
11679 cat conftest.err >&5
11680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11681 (exit $ac_status); } &&
11682 { ac_try='test -z "$ac_c_werror_flag"
11683 || test ! -s conftest.err'
11684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11685 (eval $ac_try) 2>&5
11687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11688 (exit $ac_status); }; } &&
11689 { ac_try='test -s conftest$ac_exeext'
11690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11691 (eval $ac_try) 2>&5
11693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11694 (exit $ac_status); }; }; then
11695 ac_cv_lib_m_fabs=yes
11697 echo "$as_me: failed program was:" >&5
11698 sed 's/^/| /' conftest.$ac_ext >&5
11700 ac_cv_lib_m_fabs=no
11702 rm -f conftest.err conftest.$ac_objext \
11703 conftest$ac_exeext conftest.$ac_ext
11704 LIBS=$ac_check_lib_save_LIBS
11706 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
11707 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
11708 if test $ac_cv_lib_m_fabs = yes; then
11710 cat >>confdefs.h <<\_ACEOF
11711 #define HAVE_FABS 1
11716 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
11717 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
11718 if test "${ac_cv_lib_m_fabsl+set}" = set; then
11719 echo $ECHO_N "(cached) $ECHO_C" >&6
11721 ac_check_lib_save_LIBS=$LIBS
11723 if test x$gcc_no_link = xyes; then
11724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11726 { (exit 1); exit 1; }; }
11728 cat >conftest.$ac_ext <<_ACEOF
11731 cat confdefs.h >>conftest.$ac_ext
11732 cat >>conftest.$ac_ext <<_ACEOF
11733 /* end confdefs.h. */
11735 /* Override any gcc2 internal prototype to avoid an error. */
11739 /* We use char because int might match the return type of a gcc2
11740 builtin and then its argument prototype would still apply. */
11750 rm -f conftest.$ac_objext conftest$ac_exeext
11751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11752 (eval $ac_link) 2>conftest.er1
11754 grep -v '^ *+' conftest.er1 >conftest.err
11756 cat conftest.err >&5
11757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11758 (exit $ac_status); } &&
11759 { ac_try='test -z "$ac_c_werror_flag"
11760 || test ! -s conftest.err'
11761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11762 (eval $ac_try) 2>&5
11764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11765 (exit $ac_status); }; } &&
11766 { ac_try='test -s conftest$ac_exeext'
11767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11768 (eval $ac_try) 2>&5
11770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11771 (exit $ac_status); }; }; then
11772 ac_cv_lib_m_fabsl=yes
11774 echo "$as_me: failed program was:" >&5
11775 sed 's/^/| /' conftest.$ac_ext >&5
11777 ac_cv_lib_m_fabsl=no
11779 rm -f conftest.err conftest.$ac_objext \
11780 conftest$ac_exeext conftest.$ac_ext
11781 LIBS=$ac_check_lib_save_LIBS
11783 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
11784 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
11785 if test $ac_cv_lib_m_fabsl = yes; then
11787 cat >>confdefs.h <<\_ACEOF
11788 #define HAVE_FABSL 1
11793 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
11794 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
11795 if test "${ac_cv_lib_m_cabsf+set}" = set; then
11796 echo $ECHO_N "(cached) $ECHO_C" >&6
11798 ac_check_lib_save_LIBS=$LIBS
11800 if test x$gcc_no_link = xyes; then
11801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11803 { (exit 1); exit 1; }; }
11805 cat >conftest.$ac_ext <<_ACEOF
11808 cat confdefs.h >>conftest.$ac_ext
11809 cat >>conftest.$ac_ext <<_ACEOF
11810 /* end confdefs.h. */
11812 /* Override any gcc2 internal prototype to avoid an error. */
11816 /* We use char because int might match the return type of a gcc2
11817 builtin and then its argument prototype would still apply. */
11827 rm -f conftest.$ac_objext conftest$ac_exeext
11828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11829 (eval $ac_link) 2>conftest.er1
11831 grep -v '^ *+' conftest.er1 >conftest.err
11833 cat conftest.err >&5
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); } &&
11836 { ac_try='test -z "$ac_c_werror_flag"
11837 || test ! -s conftest.err'
11838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11839 (eval $ac_try) 2>&5
11841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11842 (exit $ac_status); }; } &&
11843 { ac_try='test -s conftest$ac_exeext'
11844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11845 (eval $ac_try) 2>&5
11847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11848 (exit $ac_status); }; }; then
11849 ac_cv_lib_m_cabsf=yes
11851 echo "$as_me: failed program was:" >&5
11852 sed 's/^/| /' conftest.$ac_ext >&5
11854 ac_cv_lib_m_cabsf=no
11856 rm -f conftest.err conftest.$ac_objext \
11857 conftest$ac_exeext conftest.$ac_ext
11858 LIBS=$ac_check_lib_save_LIBS
11860 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
11861 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
11862 if test $ac_cv_lib_m_cabsf = yes; then
11864 cat >>confdefs.h <<\_ACEOF
11865 #define HAVE_CABSF 1
11870 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
11871 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
11872 if test "${ac_cv_lib_m_cabs+set}" = set; then
11873 echo $ECHO_N "(cached) $ECHO_C" >&6
11875 ac_check_lib_save_LIBS=$LIBS
11877 if test x$gcc_no_link = xyes; then
11878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11880 { (exit 1); exit 1; }; }
11882 cat >conftest.$ac_ext <<_ACEOF
11885 cat confdefs.h >>conftest.$ac_ext
11886 cat >>conftest.$ac_ext <<_ACEOF
11887 /* end confdefs.h. */
11889 /* Override any gcc2 internal prototype to avoid an error. */
11893 /* We use char because int might match the return type of a gcc2
11894 builtin and then its argument prototype would still apply. */
11904 rm -f conftest.$ac_objext conftest$ac_exeext
11905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11906 (eval $ac_link) 2>conftest.er1
11908 grep -v '^ *+' conftest.er1 >conftest.err
11910 cat conftest.err >&5
11911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11912 (exit $ac_status); } &&
11913 { ac_try='test -z "$ac_c_werror_flag"
11914 || test ! -s conftest.err'
11915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11916 (eval $ac_try) 2>&5
11918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11919 (exit $ac_status); }; } &&
11920 { ac_try='test -s conftest$ac_exeext'
11921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11922 (eval $ac_try) 2>&5
11924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11925 (exit $ac_status); }; }; then
11926 ac_cv_lib_m_cabs=yes
11928 echo "$as_me: failed program was:" >&5
11929 sed 's/^/| /' conftest.$ac_ext >&5
11931 ac_cv_lib_m_cabs=no
11933 rm -f conftest.err conftest.$ac_objext \
11934 conftest$ac_exeext conftest.$ac_ext
11935 LIBS=$ac_check_lib_save_LIBS
11937 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
11938 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
11939 if test $ac_cv_lib_m_cabs = yes; then
11941 cat >>confdefs.h <<\_ACEOF
11942 #define HAVE_CABS 1
11947 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
11948 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
11949 if test "${ac_cv_lib_m_cabsl+set}" = set; then
11950 echo $ECHO_N "(cached) $ECHO_C" >&6
11952 ac_check_lib_save_LIBS=$LIBS
11954 if test x$gcc_no_link = xyes; then
11955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11957 { (exit 1); exit 1; }; }
11959 cat >conftest.$ac_ext <<_ACEOF
11962 cat confdefs.h >>conftest.$ac_ext
11963 cat >>conftest.$ac_ext <<_ACEOF
11964 /* end confdefs.h. */
11966 /* Override any gcc2 internal prototype to avoid an error. */
11970 /* We use char because int might match the return type of a gcc2
11971 builtin and then its argument prototype would still apply. */
11981 rm -f conftest.$ac_objext conftest$ac_exeext
11982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11983 (eval $ac_link) 2>conftest.er1
11985 grep -v '^ *+' conftest.er1 >conftest.err
11987 cat conftest.err >&5
11988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11989 (exit $ac_status); } &&
11990 { ac_try='test -z "$ac_c_werror_flag"
11991 || test ! -s conftest.err'
11992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11993 (eval $ac_try) 2>&5
11995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11996 (exit $ac_status); }; } &&
11997 { ac_try='test -s conftest$ac_exeext'
11998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11999 (eval $ac_try) 2>&5
12001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12002 (exit $ac_status); }; }; then
12003 ac_cv_lib_m_cabsl=yes
12005 echo "$as_me: failed program was:" >&5
12006 sed 's/^/| /' conftest.$ac_ext >&5
12008 ac_cv_lib_m_cabsl=no
12010 rm -f conftest.err conftest.$ac_objext \
12011 conftest$ac_exeext conftest.$ac_ext
12012 LIBS=$ac_check_lib_save_LIBS
12014 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
12015 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
12016 if test $ac_cv_lib_m_cabsl = yes; then
12018 cat >>confdefs.h <<\_ACEOF
12019 #define HAVE_CABSL 1
12024 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
12025 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
12026 if test "${ac_cv_lib_m_floorf+set}" = set; then
12027 echo $ECHO_N "(cached) $ECHO_C" >&6
12029 ac_check_lib_save_LIBS=$LIBS
12031 if test x$gcc_no_link = xyes; then
12032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12034 { (exit 1); exit 1; }; }
12036 cat >conftest.$ac_ext <<_ACEOF
12039 cat confdefs.h >>conftest.$ac_ext
12040 cat >>conftest.$ac_ext <<_ACEOF
12041 /* end confdefs.h. */
12043 /* Override any gcc2 internal prototype to avoid an error. */
12047 /* We use char because int might match the return type of a gcc2
12048 builtin and then its argument prototype would still apply. */
12058 rm -f conftest.$ac_objext conftest$ac_exeext
12059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12060 (eval $ac_link) 2>conftest.er1
12062 grep -v '^ *+' conftest.er1 >conftest.err
12064 cat conftest.err >&5
12065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12066 (exit $ac_status); } &&
12067 { ac_try='test -z "$ac_c_werror_flag"
12068 || test ! -s conftest.err'
12069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12070 (eval $ac_try) 2>&5
12072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12073 (exit $ac_status); }; } &&
12074 { ac_try='test -s conftest$ac_exeext'
12075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12076 (eval $ac_try) 2>&5
12078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079 (exit $ac_status); }; }; then
12080 ac_cv_lib_m_floorf=yes
12082 echo "$as_me: failed program was:" >&5
12083 sed 's/^/| /' conftest.$ac_ext >&5
12085 ac_cv_lib_m_floorf=no
12087 rm -f conftest.err conftest.$ac_objext \
12088 conftest$ac_exeext conftest.$ac_ext
12089 LIBS=$ac_check_lib_save_LIBS
12091 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
12092 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
12093 if test $ac_cv_lib_m_floorf = yes; then
12095 cat >>confdefs.h <<\_ACEOF
12096 #define HAVE_FLOORF 1
12101 echo "$as_me:$LINENO: checking for floor in -lm" >&5
12102 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
12103 if test "${ac_cv_lib_m_floor+set}" = set; then
12104 echo $ECHO_N "(cached) $ECHO_C" >&6
12106 ac_check_lib_save_LIBS=$LIBS
12108 if test x$gcc_no_link = xyes; then
12109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12111 { (exit 1); exit 1; }; }
12113 cat >conftest.$ac_ext <<_ACEOF
12116 cat confdefs.h >>conftest.$ac_ext
12117 cat >>conftest.$ac_ext <<_ACEOF
12118 /* end confdefs.h. */
12120 /* Override any gcc2 internal prototype to avoid an error. */
12124 /* We use char because int might match the return type of a gcc2
12125 builtin and then its argument prototype would still apply. */
12135 rm -f conftest.$ac_objext conftest$ac_exeext
12136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12137 (eval $ac_link) 2>conftest.er1
12139 grep -v '^ *+' conftest.er1 >conftest.err
12141 cat conftest.err >&5
12142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12143 (exit $ac_status); } &&
12144 { ac_try='test -z "$ac_c_werror_flag"
12145 || test ! -s conftest.err'
12146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12147 (eval $ac_try) 2>&5
12149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12150 (exit $ac_status); }; } &&
12151 { ac_try='test -s conftest$ac_exeext'
12152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12153 (eval $ac_try) 2>&5
12155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12156 (exit $ac_status); }; }; then
12157 ac_cv_lib_m_floor=yes
12159 echo "$as_me: failed program was:" >&5
12160 sed 's/^/| /' conftest.$ac_ext >&5
12162 ac_cv_lib_m_floor=no
12164 rm -f conftest.err conftest.$ac_objext \
12165 conftest$ac_exeext conftest.$ac_ext
12166 LIBS=$ac_check_lib_save_LIBS
12168 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
12169 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
12170 if test $ac_cv_lib_m_floor = yes; then
12172 cat >>confdefs.h <<\_ACEOF
12173 #define HAVE_FLOOR 1
12178 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
12179 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
12180 if test "${ac_cv_lib_m_floorl+set}" = set; then
12181 echo $ECHO_N "(cached) $ECHO_C" >&6
12183 ac_check_lib_save_LIBS=$LIBS
12185 if test x$gcc_no_link = xyes; then
12186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12188 { (exit 1); exit 1; }; }
12190 cat >conftest.$ac_ext <<_ACEOF
12193 cat confdefs.h >>conftest.$ac_ext
12194 cat >>conftest.$ac_ext <<_ACEOF
12195 /* end confdefs.h. */
12197 /* Override any gcc2 internal prototype to avoid an error. */
12201 /* We use char because int might match the return type of a gcc2
12202 builtin and then its argument prototype would still apply. */
12212 rm -f conftest.$ac_objext conftest$ac_exeext
12213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12214 (eval $ac_link) 2>conftest.er1
12216 grep -v '^ *+' conftest.er1 >conftest.err
12218 cat conftest.err >&5
12219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220 (exit $ac_status); } &&
12221 { ac_try='test -z "$ac_c_werror_flag"
12222 || test ! -s conftest.err'
12223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12224 (eval $ac_try) 2>&5
12226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12227 (exit $ac_status); }; } &&
12228 { ac_try='test -s conftest$ac_exeext'
12229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12230 (eval $ac_try) 2>&5
12232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12233 (exit $ac_status); }; }; then
12234 ac_cv_lib_m_floorl=yes
12236 echo "$as_me: failed program was:" >&5
12237 sed 's/^/| /' conftest.$ac_ext >&5
12239 ac_cv_lib_m_floorl=no
12241 rm -f conftest.err conftest.$ac_objext \
12242 conftest$ac_exeext conftest.$ac_ext
12243 LIBS=$ac_check_lib_save_LIBS
12245 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
12246 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
12247 if test $ac_cv_lib_m_floorl = yes; then
12249 cat >>confdefs.h <<\_ACEOF
12250 #define HAVE_FLOORL 1
12255 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
12256 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
12257 if test "${ac_cv_lib_m_frexpf+set}" = set; then
12258 echo $ECHO_N "(cached) $ECHO_C" >&6
12260 ac_check_lib_save_LIBS=$LIBS
12262 if test x$gcc_no_link = xyes; then
12263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12265 { (exit 1); exit 1; }; }
12267 cat >conftest.$ac_ext <<_ACEOF
12270 cat confdefs.h >>conftest.$ac_ext
12271 cat >>conftest.$ac_ext <<_ACEOF
12272 /* end confdefs.h. */
12274 /* Override any gcc2 internal prototype to avoid an error. */
12278 /* We use char because int might match the return type of a gcc2
12279 builtin and then its argument prototype would still apply. */
12289 rm -f conftest.$ac_objext conftest$ac_exeext
12290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12291 (eval $ac_link) 2>conftest.er1
12293 grep -v '^ *+' conftest.er1 >conftest.err
12295 cat conftest.err >&5
12296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12297 (exit $ac_status); } &&
12298 { ac_try='test -z "$ac_c_werror_flag"
12299 || test ! -s conftest.err'
12300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12301 (eval $ac_try) 2>&5
12303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12304 (exit $ac_status); }; } &&
12305 { ac_try='test -s conftest$ac_exeext'
12306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12307 (eval $ac_try) 2>&5
12309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12310 (exit $ac_status); }; }; then
12311 ac_cv_lib_m_frexpf=yes
12313 echo "$as_me: failed program was:" >&5
12314 sed 's/^/| /' conftest.$ac_ext >&5
12316 ac_cv_lib_m_frexpf=no
12318 rm -f conftest.err conftest.$ac_objext \
12319 conftest$ac_exeext conftest.$ac_ext
12320 LIBS=$ac_check_lib_save_LIBS
12322 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
12323 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
12324 if test $ac_cv_lib_m_frexpf = yes; then
12326 cat >>confdefs.h <<\_ACEOF
12327 #define HAVE_FREXPF 1
12332 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
12333 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
12334 if test "${ac_cv_lib_m_frexp+set}" = set; then
12335 echo $ECHO_N "(cached) $ECHO_C" >&6
12337 ac_check_lib_save_LIBS=$LIBS
12339 if test x$gcc_no_link = xyes; then
12340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12342 { (exit 1); exit 1; }; }
12344 cat >conftest.$ac_ext <<_ACEOF
12347 cat confdefs.h >>conftest.$ac_ext
12348 cat >>conftest.$ac_ext <<_ACEOF
12349 /* end confdefs.h. */
12351 /* Override any gcc2 internal prototype to avoid an error. */
12355 /* We use char because int might match the return type of a gcc2
12356 builtin and then its argument prototype would still apply. */
12366 rm -f conftest.$ac_objext conftest$ac_exeext
12367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12368 (eval $ac_link) 2>conftest.er1
12370 grep -v '^ *+' conftest.er1 >conftest.err
12372 cat conftest.err >&5
12373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374 (exit $ac_status); } &&
12375 { ac_try='test -z "$ac_c_werror_flag"
12376 || test ! -s conftest.err'
12377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12378 (eval $ac_try) 2>&5
12380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12381 (exit $ac_status); }; } &&
12382 { ac_try='test -s conftest$ac_exeext'
12383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12384 (eval $ac_try) 2>&5
12386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12387 (exit $ac_status); }; }; then
12388 ac_cv_lib_m_frexp=yes
12390 echo "$as_me: failed program was:" >&5
12391 sed 's/^/| /' conftest.$ac_ext >&5
12393 ac_cv_lib_m_frexp=no
12395 rm -f conftest.err conftest.$ac_objext \
12396 conftest$ac_exeext conftest.$ac_ext
12397 LIBS=$ac_check_lib_save_LIBS
12399 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
12400 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
12401 if test $ac_cv_lib_m_frexp = yes; then
12403 cat >>confdefs.h <<\_ACEOF
12404 #define HAVE_FREXP 1
12409 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
12410 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
12411 if test "${ac_cv_lib_m_frexpl+set}" = set; then
12412 echo $ECHO_N "(cached) $ECHO_C" >&6
12414 ac_check_lib_save_LIBS=$LIBS
12416 if test x$gcc_no_link = xyes; then
12417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12419 { (exit 1); exit 1; }; }
12421 cat >conftest.$ac_ext <<_ACEOF
12424 cat confdefs.h >>conftest.$ac_ext
12425 cat >>conftest.$ac_ext <<_ACEOF
12426 /* end confdefs.h. */
12428 /* Override any gcc2 internal prototype to avoid an error. */
12432 /* We use char because int might match the return type of a gcc2
12433 builtin and then its argument prototype would still apply. */
12443 rm -f conftest.$ac_objext conftest$ac_exeext
12444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12445 (eval $ac_link) 2>conftest.er1
12447 grep -v '^ *+' conftest.er1 >conftest.err
12449 cat conftest.err >&5
12450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12451 (exit $ac_status); } &&
12452 { ac_try='test -z "$ac_c_werror_flag"
12453 || test ! -s conftest.err'
12454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12455 (eval $ac_try) 2>&5
12457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12458 (exit $ac_status); }; } &&
12459 { ac_try='test -s conftest$ac_exeext'
12460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12461 (eval $ac_try) 2>&5
12463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12464 (exit $ac_status); }; }; then
12465 ac_cv_lib_m_frexpl=yes
12467 echo "$as_me: failed program was:" >&5
12468 sed 's/^/| /' conftest.$ac_ext >&5
12470 ac_cv_lib_m_frexpl=no
12472 rm -f conftest.err conftest.$ac_objext \
12473 conftest$ac_exeext conftest.$ac_ext
12474 LIBS=$ac_check_lib_save_LIBS
12476 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
12477 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
12478 if test $ac_cv_lib_m_frexpl = yes; then
12480 cat >>confdefs.h <<\_ACEOF
12481 #define HAVE_FREXPL 1
12486 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
12487 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
12488 if test "${ac_cv_lib_m_hypotf+set}" = set; then
12489 echo $ECHO_N "(cached) $ECHO_C" >&6
12491 ac_check_lib_save_LIBS=$LIBS
12493 if test x$gcc_no_link = xyes; then
12494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12496 { (exit 1); exit 1; }; }
12498 cat >conftest.$ac_ext <<_ACEOF
12501 cat confdefs.h >>conftest.$ac_ext
12502 cat >>conftest.$ac_ext <<_ACEOF
12503 /* end confdefs.h. */
12505 /* Override any gcc2 internal prototype to avoid an error. */
12509 /* We use char because int might match the return type of a gcc2
12510 builtin and then its argument prototype would still apply. */
12520 rm -f conftest.$ac_objext conftest$ac_exeext
12521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12522 (eval $ac_link) 2>conftest.er1
12524 grep -v '^ *+' conftest.er1 >conftest.err
12526 cat conftest.err >&5
12527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12528 (exit $ac_status); } &&
12529 { ac_try='test -z "$ac_c_werror_flag"
12530 || test ! -s conftest.err'
12531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12532 (eval $ac_try) 2>&5
12534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12535 (exit $ac_status); }; } &&
12536 { ac_try='test -s conftest$ac_exeext'
12537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12538 (eval $ac_try) 2>&5
12540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12541 (exit $ac_status); }; }; then
12542 ac_cv_lib_m_hypotf=yes
12544 echo "$as_me: failed program was:" >&5
12545 sed 's/^/| /' conftest.$ac_ext >&5
12547 ac_cv_lib_m_hypotf=no
12549 rm -f conftest.err conftest.$ac_objext \
12550 conftest$ac_exeext conftest.$ac_ext
12551 LIBS=$ac_check_lib_save_LIBS
12553 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
12554 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
12555 if test $ac_cv_lib_m_hypotf = yes; then
12557 cat >>confdefs.h <<\_ACEOF
12558 #define HAVE_HYPOTF 1
12563 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
12564 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
12565 if test "${ac_cv_lib_m_hypot+set}" = set; then
12566 echo $ECHO_N "(cached) $ECHO_C" >&6
12568 ac_check_lib_save_LIBS=$LIBS
12570 if test x$gcc_no_link = xyes; then
12571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12573 { (exit 1); exit 1; }; }
12575 cat >conftest.$ac_ext <<_ACEOF
12578 cat confdefs.h >>conftest.$ac_ext
12579 cat >>conftest.$ac_ext <<_ACEOF
12580 /* end confdefs.h. */
12582 /* Override any gcc2 internal prototype to avoid an error. */
12586 /* We use char because int might match the return type of a gcc2
12587 builtin and then its argument prototype would still apply. */
12597 rm -f conftest.$ac_objext conftest$ac_exeext
12598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12599 (eval $ac_link) 2>conftest.er1
12601 grep -v '^ *+' conftest.er1 >conftest.err
12603 cat conftest.err >&5
12604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12605 (exit $ac_status); } &&
12606 { ac_try='test -z "$ac_c_werror_flag"
12607 || test ! -s conftest.err'
12608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12609 (eval $ac_try) 2>&5
12611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12612 (exit $ac_status); }; } &&
12613 { ac_try='test -s conftest$ac_exeext'
12614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12615 (eval $ac_try) 2>&5
12617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); }; }; then
12619 ac_cv_lib_m_hypot=yes
12621 echo "$as_me: failed program was:" >&5
12622 sed 's/^/| /' conftest.$ac_ext >&5
12624 ac_cv_lib_m_hypot=no
12626 rm -f conftest.err conftest.$ac_objext \
12627 conftest$ac_exeext conftest.$ac_ext
12628 LIBS=$ac_check_lib_save_LIBS
12630 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
12631 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
12632 if test $ac_cv_lib_m_hypot = yes; then
12634 cat >>confdefs.h <<\_ACEOF
12635 #define HAVE_HYPOT 1
12640 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
12641 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
12642 if test "${ac_cv_lib_m_hypotl+set}" = set; then
12643 echo $ECHO_N "(cached) $ECHO_C" >&6
12645 ac_check_lib_save_LIBS=$LIBS
12647 if test x$gcc_no_link = xyes; then
12648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12650 { (exit 1); exit 1; }; }
12652 cat >conftest.$ac_ext <<_ACEOF
12655 cat confdefs.h >>conftest.$ac_ext
12656 cat >>conftest.$ac_ext <<_ACEOF
12657 /* end confdefs.h. */
12659 /* Override any gcc2 internal prototype to avoid an error. */
12663 /* We use char because int might match the return type of a gcc2
12664 builtin and then its argument prototype would still apply. */
12674 rm -f conftest.$ac_objext conftest$ac_exeext
12675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12676 (eval $ac_link) 2>conftest.er1
12678 grep -v '^ *+' conftest.er1 >conftest.err
12680 cat conftest.err >&5
12681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12682 (exit $ac_status); } &&
12683 { ac_try='test -z "$ac_c_werror_flag"
12684 || test ! -s conftest.err'
12685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12686 (eval $ac_try) 2>&5
12688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12689 (exit $ac_status); }; } &&
12690 { ac_try='test -s conftest$ac_exeext'
12691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12692 (eval $ac_try) 2>&5
12694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12695 (exit $ac_status); }; }; then
12696 ac_cv_lib_m_hypotl=yes
12698 echo "$as_me: failed program was:" >&5
12699 sed 's/^/| /' conftest.$ac_ext >&5
12701 ac_cv_lib_m_hypotl=no
12703 rm -f conftest.err conftest.$ac_objext \
12704 conftest$ac_exeext conftest.$ac_ext
12705 LIBS=$ac_check_lib_save_LIBS
12707 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
12708 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
12709 if test $ac_cv_lib_m_hypotl = yes; then
12711 cat >>confdefs.h <<\_ACEOF
12712 #define HAVE_HYPOTL 1
12717 echo "$as_me:$LINENO: checking for logf in -lm" >&5
12718 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
12719 if test "${ac_cv_lib_m_logf+set}" = set; then
12720 echo $ECHO_N "(cached) $ECHO_C" >&6
12722 ac_check_lib_save_LIBS=$LIBS
12724 if test x$gcc_no_link = xyes; then
12725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12727 { (exit 1); exit 1; }; }
12729 cat >conftest.$ac_ext <<_ACEOF
12732 cat confdefs.h >>conftest.$ac_ext
12733 cat >>conftest.$ac_ext <<_ACEOF
12734 /* end confdefs.h. */
12736 /* Override any gcc2 internal prototype to avoid an error. */
12740 /* We use char because int might match the return type of a gcc2
12741 builtin and then its argument prototype would still apply. */
12751 rm -f conftest.$ac_objext conftest$ac_exeext
12752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12753 (eval $ac_link) 2>conftest.er1
12755 grep -v '^ *+' conftest.er1 >conftest.err
12757 cat conftest.err >&5
12758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759 (exit $ac_status); } &&
12760 { ac_try='test -z "$ac_c_werror_flag"
12761 || test ! -s conftest.err'
12762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12763 (eval $ac_try) 2>&5
12765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766 (exit $ac_status); }; } &&
12767 { ac_try='test -s conftest$ac_exeext'
12768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12769 (eval $ac_try) 2>&5
12771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12772 (exit $ac_status); }; }; then
12773 ac_cv_lib_m_logf=yes
12775 echo "$as_me: failed program was:" >&5
12776 sed 's/^/| /' conftest.$ac_ext >&5
12778 ac_cv_lib_m_logf=no
12780 rm -f conftest.err conftest.$ac_objext \
12781 conftest$ac_exeext conftest.$ac_ext
12782 LIBS=$ac_check_lib_save_LIBS
12784 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
12785 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
12786 if test $ac_cv_lib_m_logf = yes; then
12788 cat >>confdefs.h <<\_ACEOF
12789 #define HAVE_LOGF 1
12794 echo "$as_me:$LINENO: checking for log in -lm" >&5
12795 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
12796 if test "${ac_cv_lib_m_log+set}" = set; then
12797 echo $ECHO_N "(cached) $ECHO_C" >&6
12799 ac_check_lib_save_LIBS=$LIBS
12801 if test x$gcc_no_link = xyes; then
12802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12804 { (exit 1); exit 1; }; }
12806 cat >conftest.$ac_ext <<_ACEOF
12809 cat confdefs.h >>conftest.$ac_ext
12810 cat >>conftest.$ac_ext <<_ACEOF
12811 /* end confdefs.h. */
12813 /* Override any gcc2 internal prototype to avoid an error. */
12817 /* We use char because int might match the return type of a gcc2
12818 builtin and then its argument prototype would still apply. */
12828 rm -f conftest.$ac_objext conftest$ac_exeext
12829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12830 (eval $ac_link) 2>conftest.er1
12832 grep -v '^ *+' conftest.er1 >conftest.err
12834 cat conftest.err >&5
12835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12836 (exit $ac_status); } &&
12837 { ac_try='test -z "$ac_c_werror_flag"
12838 || test ! -s conftest.err'
12839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12840 (eval $ac_try) 2>&5
12842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843 (exit $ac_status); }; } &&
12844 { ac_try='test -s conftest$ac_exeext'
12845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12846 (eval $ac_try) 2>&5
12848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12849 (exit $ac_status); }; }; then
12850 ac_cv_lib_m_log=yes
12852 echo "$as_me: failed program was:" >&5
12853 sed 's/^/| /' conftest.$ac_ext >&5
12857 rm -f conftest.err conftest.$ac_objext \
12858 conftest$ac_exeext conftest.$ac_ext
12859 LIBS=$ac_check_lib_save_LIBS
12861 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
12862 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
12863 if test $ac_cv_lib_m_log = yes; then
12865 cat >>confdefs.h <<\_ACEOF
12871 echo "$as_me:$LINENO: checking for logl in -lm" >&5
12872 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
12873 if test "${ac_cv_lib_m_logl+set}" = set; then
12874 echo $ECHO_N "(cached) $ECHO_C" >&6
12876 ac_check_lib_save_LIBS=$LIBS
12878 if test x$gcc_no_link = xyes; then
12879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12881 { (exit 1); exit 1; }; }
12883 cat >conftest.$ac_ext <<_ACEOF
12886 cat confdefs.h >>conftest.$ac_ext
12887 cat >>conftest.$ac_ext <<_ACEOF
12888 /* end confdefs.h. */
12890 /* Override any gcc2 internal prototype to avoid an error. */
12894 /* We use char because int might match the return type of a gcc2
12895 builtin and then its argument prototype would still apply. */
12905 rm -f conftest.$ac_objext conftest$ac_exeext
12906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12907 (eval $ac_link) 2>conftest.er1
12909 grep -v '^ *+' conftest.er1 >conftest.err
12911 cat conftest.err >&5
12912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12913 (exit $ac_status); } &&
12914 { ac_try='test -z "$ac_c_werror_flag"
12915 || test ! -s conftest.err'
12916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12917 (eval $ac_try) 2>&5
12919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12920 (exit $ac_status); }; } &&
12921 { ac_try='test -s conftest$ac_exeext'
12922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12923 (eval $ac_try) 2>&5
12925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12926 (exit $ac_status); }; }; then
12927 ac_cv_lib_m_logl=yes
12929 echo "$as_me: failed program was:" >&5
12930 sed 's/^/| /' conftest.$ac_ext >&5
12932 ac_cv_lib_m_logl=no
12934 rm -f conftest.err conftest.$ac_objext \
12935 conftest$ac_exeext conftest.$ac_ext
12936 LIBS=$ac_check_lib_save_LIBS
12938 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
12939 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
12940 if test $ac_cv_lib_m_logl = yes; then
12942 cat >>confdefs.h <<\_ACEOF
12943 #define HAVE_LOGL 1
12948 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
12949 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
12950 if test "${ac_cv_lib_m_clogf+set}" = set; then
12951 echo $ECHO_N "(cached) $ECHO_C" >&6
12953 ac_check_lib_save_LIBS=$LIBS
12955 if test x$gcc_no_link = xyes; then
12956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12958 { (exit 1); exit 1; }; }
12960 cat >conftest.$ac_ext <<_ACEOF
12963 cat confdefs.h >>conftest.$ac_ext
12964 cat >>conftest.$ac_ext <<_ACEOF
12965 /* end confdefs.h. */
12967 /* Override any gcc2 internal prototype to avoid an error. */
12971 /* We use char because int might match the return type of a gcc2
12972 builtin and then its argument prototype would still apply. */
12982 rm -f conftest.$ac_objext conftest$ac_exeext
12983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12984 (eval $ac_link) 2>conftest.er1
12986 grep -v '^ *+' conftest.er1 >conftest.err
12988 cat conftest.err >&5
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); } &&
12991 { ac_try='test -z "$ac_c_werror_flag"
12992 || test ! -s conftest.err'
12993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12994 (eval $ac_try) 2>&5
12996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12997 (exit $ac_status); }; } &&
12998 { ac_try='test -s conftest$ac_exeext'
12999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13000 (eval $ac_try) 2>&5
13002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13003 (exit $ac_status); }; }; then
13004 ac_cv_lib_m_clogf=yes
13006 echo "$as_me: failed program was:" >&5
13007 sed 's/^/| /' conftest.$ac_ext >&5
13009 ac_cv_lib_m_clogf=no
13011 rm -f conftest.err conftest.$ac_objext \
13012 conftest$ac_exeext conftest.$ac_ext
13013 LIBS=$ac_check_lib_save_LIBS
13015 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
13016 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
13017 if test $ac_cv_lib_m_clogf = yes; then
13019 cat >>confdefs.h <<\_ACEOF
13020 #define HAVE_CLOGF 1
13025 echo "$as_me:$LINENO: checking for clog in -lm" >&5
13026 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
13027 if test "${ac_cv_lib_m_clog+set}" = set; then
13028 echo $ECHO_N "(cached) $ECHO_C" >&6
13030 ac_check_lib_save_LIBS=$LIBS
13032 if test x$gcc_no_link = xyes; then
13033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13035 { (exit 1); exit 1; }; }
13037 cat >conftest.$ac_ext <<_ACEOF
13040 cat confdefs.h >>conftest.$ac_ext
13041 cat >>conftest.$ac_ext <<_ACEOF
13042 /* end confdefs.h. */
13044 /* Override any gcc2 internal prototype to avoid an error. */
13048 /* We use char because int might match the return type of a gcc2
13049 builtin and then its argument prototype would still apply. */
13059 rm -f conftest.$ac_objext conftest$ac_exeext
13060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13061 (eval $ac_link) 2>conftest.er1
13063 grep -v '^ *+' conftest.er1 >conftest.err
13065 cat conftest.err >&5
13066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13067 (exit $ac_status); } &&
13068 { ac_try='test -z "$ac_c_werror_flag"
13069 || test ! -s conftest.err'
13070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13071 (eval $ac_try) 2>&5
13073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13074 (exit $ac_status); }; } &&
13075 { ac_try='test -s conftest$ac_exeext'
13076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13077 (eval $ac_try) 2>&5
13079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13080 (exit $ac_status); }; }; then
13081 ac_cv_lib_m_clog=yes
13083 echo "$as_me: failed program was:" >&5
13084 sed 's/^/| /' conftest.$ac_ext >&5
13086 ac_cv_lib_m_clog=no
13088 rm -f conftest.err conftest.$ac_objext \
13089 conftest$ac_exeext conftest.$ac_ext
13090 LIBS=$ac_check_lib_save_LIBS
13092 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
13093 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
13094 if test $ac_cv_lib_m_clog = yes; then
13096 cat >>confdefs.h <<\_ACEOF
13097 #define HAVE_CLOG 1
13102 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
13103 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
13104 if test "${ac_cv_lib_m_clogl+set}" = set; then
13105 echo $ECHO_N "(cached) $ECHO_C" >&6
13107 ac_check_lib_save_LIBS=$LIBS
13109 if test x$gcc_no_link = xyes; then
13110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13112 { (exit 1); exit 1; }; }
13114 cat >conftest.$ac_ext <<_ACEOF
13117 cat confdefs.h >>conftest.$ac_ext
13118 cat >>conftest.$ac_ext <<_ACEOF
13119 /* end confdefs.h. */
13121 /* Override any gcc2 internal prototype to avoid an error. */
13125 /* We use char because int might match the return type of a gcc2
13126 builtin and then its argument prototype would still apply. */
13136 rm -f conftest.$ac_objext conftest$ac_exeext
13137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13138 (eval $ac_link) 2>conftest.er1
13140 grep -v '^ *+' conftest.er1 >conftest.err
13142 cat conftest.err >&5
13143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13144 (exit $ac_status); } &&
13145 { ac_try='test -z "$ac_c_werror_flag"
13146 || test ! -s conftest.err'
13147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13148 (eval $ac_try) 2>&5
13150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13151 (exit $ac_status); }; } &&
13152 { ac_try='test -s conftest$ac_exeext'
13153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13154 (eval $ac_try) 2>&5
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); }; }; then
13158 ac_cv_lib_m_clogl=yes
13160 echo "$as_me: failed program was:" >&5
13161 sed 's/^/| /' conftest.$ac_ext >&5
13163 ac_cv_lib_m_clogl=no
13165 rm -f conftest.err conftest.$ac_objext \
13166 conftest$ac_exeext conftest.$ac_ext
13167 LIBS=$ac_check_lib_save_LIBS
13169 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
13170 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
13171 if test $ac_cv_lib_m_clogl = yes; then
13173 cat >>confdefs.h <<\_ACEOF
13174 #define HAVE_CLOGL 1
13179 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
13180 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
13181 if test "${ac_cv_lib_m_log10f+set}" = set; then
13182 echo $ECHO_N "(cached) $ECHO_C" >&6
13184 ac_check_lib_save_LIBS=$LIBS
13186 if test x$gcc_no_link = xyes; then
13187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13189 { (exit 1); exit 1; }; }
13191 cat >conftest.$ac_ext <<_ACEOF
13194 cat confdefs.h >>conftest.$ac_ext
13195 cat >>conftest.$ac_ext <<_ACEOF
13196 /* end confdefs.h. */
13198 /* Override any gcc2 internal prototype to avoid an error. */
13202 /* We use char because int might match the return type of a gcc2
13203 builtin and then its argument prototype would still apply. */
13213 rm -f conftest.$ac_objext conftest$ac_exeext
13214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13215 (eval $ac_link) 2>conftest.er1
13217 grep -v '^ *+' conftest.er1 >conftest.err
13219 cat conftest.err >&5
13220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13221 (exit $ac_status); } &&
13222 { ac_try='test -z "$ac_c_werror_flag"
13223 || test ! -s conftest.err'
13224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13225 (eval $ac_try) 2>&5
13227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13228 (exit $ac_status); }; } &&
13229 { ac_try='test -s conftest$ac_exeext'
13230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13231 (eval $ac_try) 2>&5
13233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13234 (exit $ac_status); }; }; then
13235 ac_cv_lib_m_log10f=yes
13237 echo "$as_me: failed program was:" >&5
13238 sed 's/^/| /' conftest.$ac_ext >&5
13240 ac_cv_lib_m_log10f=no
13242 rm -f conftest.err conftest.$ac_objext \
13243 conftest$ac_exeext conftest.$ac_ext
13244 LIBS=$ac_check_lib_save_LIBS
13246 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
13247 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
13248 if test $ac_cv_lib_m_log10f = yes; then
13250 cat >>confdefs.h <<\_ACEOF
13251 #define HAVE_LOG10F 1
13256 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
13257 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
13258 if test "${ac_cv_lib_m_log10+set}" = set; then
13259 echo $ECHO_N "(cached) $ECHO_C" >&6
13261 ac_check_lib_save_LIBS=$LIBS
13263 if test x$gcc_no_link = xyes; then
13264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13266 { (exit 1); exit 1; }; }
13268 cat >conftest.$ac_ext <<_ACEOF
13271 cat confdefs.h >>conftest.$ac_ext
13272 cat >>conftest.$ac_ext <<_ACEOF
13273 /* end confdefs.h. */
13275 /* Override any gcc2 internal prototype to avoid an error. */
13279 /* We use char because int might match the return type of a gcc2
13280 builtin and then its argument prototype would still apply. */
13290 rm -f conftest.$ac_objext conftest$ac_exeext
13291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13292 (eval $ac_link) 2>conftest.er1
13294 grep -v '^ *+' conftest.er1 >conftest.err
13296 cat conftest.err >&5
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); } &&
13299 { ac_try='test -z "$ac_c_werror_flag"
13300 || test ! -s conftest.err'
13301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13302 (eval $ac_try) 2>&5
13304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13305 (exit $ac_status); }; } &&
13306 { ac_try='test -s conftest$ac_exeext'
13307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13308 (eval $ac_try) 2>&5
13310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13311 (exit $ac_status); }; }; then
13312 ac_cv_lib_m_log10=yes
13314 echo "$as_me: failed program was:" >&5
13315 sed 's/^/| /' conftest.$ac_ext >&5
13317 ac_cv_lib_m_log10=no
13319 rm -f conftest.err conftest.$ac_objext \
13320 conftest$ac_exeext conftest.$ac_ext
13321 LIBS=$ac_check_lib_save_LIBS
13323 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
13324 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
13325 if test $ac_cv_lib_m_log10 = yes; then
13327 cat >>confdefs.h <<\_ACEOF
13328 #define HAVE_LOG10 1
13333 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
13334 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
13335 if test "${ac_cv_lib_m_log10l+set}" = set; then
13336 echo $ECHO_N "(cached) $ECHO_C" >&6
13338 ac_check_lib_save_LIBS=$LIBS
13340 if test x$gcc_no_link = xyes; then
13341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13343 { (exit 1); exit 1; }; }
13345 cat >conftest.$ac_ext <<_ACEOF
13348 cat confdefs.h >>conftest.$ac_ext
13349 cat >>conftest.$ac_ext <<_ACEOF
13350 /* end confdefs.h. */
13352 /* Override any gcc2 internal prototype to avoid an error. */
13356 /* We use char because int might match the return type of a gcc2
13357 builtin and then its argument prototype would still apply. */
13367 rm -f conftest.$ac_objext conftest$ac_exeext
13368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13369 (eval $ac_link) 2>conftest.er1
13371 grep -v '^ *+' conftest.er1 >conftest.err
13373 cat conftest.err >&5
13374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13375 (exit $ac_status); } &&
13376 { ac_try='test -z "$ac_c_werror_flag"
13377 || test ! -s conftest.err'
13378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13379 (eval $ac_try) 2>&5
13381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13382 (exit $ac_status); }; } &&
13383 { ac_try='test -s conftest$ac_exeext'
13384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13385 (eval $ac_try) 2>&5
13387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13388 (exit $ac_status); }; }; then
13389 ac_cv_lib_m_log10l=yes
13391 echo "$as_me: failed program was:" >&5
13392 sed 's/^/| /' conftest.$ac_ext >&5
13394 ac_cv_lib_m_log10l=no
13396 rm -f conftest.err conftest.$ac_objext \
13397 conftest$ac_exeext conftest.$ac_ext
13398 LIBS=$ac_check_lib_save_LIBS
13400 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
13401 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
13402 if test $ac_cv_lib_m_log10l = yes; then
13404 cat >>confdefs.h <<\_ACEOF
13405 #define HAVE_LOG10L 1
13410 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
13411 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
13412 if test "${ac_cv_lib_m_clog10f+set}" = set; then
13413 echo $ECHO_N "(cached) $ECHO_C" >&6
13415 ac_check_lib_save_LIBS=$LIBS
13417 if test x$gcc_no_link = xyes; then
13418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13420 { (exit 1); exit 1; }; }
13422 cat >conftest.$ac_ext <<_ACEOF
13425 cat confdefs.h >>conftest.$ac_ext
13426 cat >>conftest.$ac_ext <<_ACEOF
13427 /* end confdefs.h. */
13429 /* Override any gcc2 internal prototype to avoid an error. */
13433 /* We use char because int might match the return type of a gcc2
13434 builtin and then its argument prototype would still apply. */
13444 rm -f conftest.$ac_objext conftest$ac_exeext
13445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13446 (eval $ac_link) 2>conftest.er1
13448 grep -v '^ *+' conftest.er1 >conftest.err
13450 cat conftest.err >&5
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 (exit $ac_status); } &&
13453 { ac_try='test -z "$ac_c_werror_flag"
13454 || test ! -s conftest.err'
13455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13456 (eval $ac_try) 2>&5
13458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13459 (exit $ac_status); }; } &&
13460 { ac_try='test -s conftest$ac_exeext'
13461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13462 (eval $ac_try) 2>&5
13464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); }; }; then
13466 ac_cv_lib_m_clog10f=yes
13468 echo "$as_me: failed program was:" >&5
13469 sed 's/^/| /' conftest.$ac_ext >&5
13471 ac_cv_lib_m_clog10f=no
13473 rm -f conftest.err conftest.$ac_objext \
13474 conftest$ac_exeext conftest.$ac_ext
13475 LIBS=$ac_check_lib_save_LIBS
13477 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
13478 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
13479 if test $ac_cv_lib_m_clog10f = yes; then
13481 cat >>confdefs.h <<\_ACEOF
13482 #define HAVE_CLOG10F 1
13487 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
13488 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
13489 if test "${ac_cv_lib_m_clog10+set}" = set; then
13490 echo $ECHO_N "(cached) $ECHO_C" >&6
13492 ac_check_lib_save_LIBS=$LIBS
13494 if test x$gcc_no_link = xyes; then
13495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13497 { (exit 1); exit 1; }; }
13499 cat >conftest.$ac_ext <<_ACEOF
13502 cat confdefs.h >>conftest.$ac_ext
13503 cat >>conftest.$ac_ext <<_ACEOF
13504 /* end confdefs.h. */
13506 /* Override any gcc2 internal prototype to avoid an error. */
13510 /* We use char because int might match the return type of a gcc2
13511 builtin and then its argument prototype would still apply. */
13521 rm -f conftest.$ac_objext conftest$ac_exeext
13522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13523 (eval $ac_link) 2>conftest.er1
13525 grep -v '^ *+' conftest.er1 >conftest.err
13527 cat conftest.err >&5
13528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13529 (exit $ac_status); } &&
13530 { ac_try='test -z "$ac_c_werror_flag"
13531 || test ! -s conftest.err'
13532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13533 (eval $ac_try) 2>&5
13535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13536 (exit $ac_status); }; } &&
13537 { ac_try='test -s conftest$ac_exeext'
13538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13539 (eval $ac_try) 2>&5
13541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13542 (exit $ac_status); }; }; then
13543 ac_cv_lib_m_clog10=yes
13545 echo "$as_me: failed program was:" >&5
13546 sed 's/^/| /' conftest.$ac_ext >&5
13548 ac_cv_lib_m_clog10=no
13550 rm -f conftest.err conftest.$ac_objext \
13551 conftest$ac_exeext conftest.$ac_ext
13552 LIBS=$ac_check_lib_save_LIBS
13554 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
13555 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
13556 if test $ac_cv_lib_m_clog10 = yes; then
13558 cat >>confdefs.h <<\_ACEOF
13559 #define HAVE_CLOG10 1
13564 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
13565 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
13566 if test "${ac_cv_lib_m_clog10l+set}" = set; then
13567 echo $ECHO_N "(cached) $ECHO_C" >&6
13569 ac_check_lib_save_LIBS=$LIBS
13571 if test x$gcc_no_link = xyes; then
13572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13574 { (exit 1); exit 1; }; }
13576 cat >conftest.$ac_ext <<_ACEOF
13579 cat confdefs.h >>conftest.$ac_ext
13580 cat >>conftest.$ac_ext <<_ACEOF
13581 /* end confdefs.h. */
13583 /* Override any gcc2 internal prototype to avoid an error. */
13587 /* We use char because int might match the return type of a gcc2
13588 builtin and then its argument prototype would still apply. */
13598 rm -f conftest.$ac_objext conftest$ac_exeext
13599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13600 (eval $ac_link) 2>conftest.er1
13602 grep -v '^ *+' conftest.er1 >conftest.err
13604 cat conftest.err >&5
13605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13606 (exit $ac_status); } &&
13607 { ac_try='test -z "$ac_c_werror_flag"
13608 || test ! -s conftest.err'
13609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13610 (eval $ac_try) 2>&5
13612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13613 (exit $ac_status); }; } &&
13614 { ac_try='test -s conftest$ac_exeext'
13615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13616 (eval $ac_try) 2>&5
13618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13619 (exit $ac_status); }; }; then
13620 ac_cv_lib_m_clog10l=yes
13622 echo "$as_me: failed program was:" >&5
13623 sed 's/^/| /' conftest.$ac_ext >&5
13625 ac_cv_lib_m_clog10l=no
13627 rm -f conftest.err conftest.$ac_objext \
13628 conftest$ac_exeext conftest.$ac_ext
13629 LIBS=$ac_check_lib_save_LIBS
13631 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
13632 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
13633 if test $ac_cv_lib_m_clog10l = yes; then
13635 cat >>confdefs.h <<\_ACEOF
13636 #define HAVE_CLOG10L 1
13641 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
13642 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
13643 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
13644 echo $ECHO_N "(cached) $ECHO_C" >&6
13646 ac_check_lib_save_LIBS=$LIBS
13648 if test x$gcc_no_link = xyes; then
13649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13651 { (exit 1); exit 1; }; }
13653 cat >conftest.$ac_ext <<_ACEOF
13656 cat confdefs.h >>conftest.$ac_ext
13657 cat >>conftest.$ac_ext <<_ACEOF
13658 /* end confdefs.h. */
13660 /* Override any gcc2 internal prototype to avoid an error. */
13664 /* We use char because int might match the return type of a gcc2
13665 builtin and then its argument prototype would still apply. */
13666 char nextafterf ();
13675 rm -f conftest.$ac_objext conftest$ac_exeext
13676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13677 (eval $ac_link) 2>conftest.er1
13679 grep -v '^ *+' conftest.er1 >conftest.err
13681 cat conftest.err >&5
13682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13683 (exit $ac_status); } &&
13684 { ac_try='test -z "$ac_c_werror_flag"
13685 || test ! -s conftest.err'
13686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13687 (eval $ac_try) 2>&5
13689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13690 (exit $ac_status); }; } &&
13691 { ac_try='test -s conftest$ac_exeext'
13692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13693 (eval $ac_try) 2>&5
13695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13696 (exit $ac_status); }; }; then
13697 ac_cv_lib_m_nextafterf=yes
13699 echo "$as_me: failed program was:" >&5
13700 sed 's/^/| /' conftest.$ac_ext >&5
13702 ac_cv_lib_m_nextafterf=no
13704 rm -f conftest.err conftest.$ac_objext \
13705 conftest$ac_exeext conftest.$ac_ext
13706 LIBS=$ac_check_lib_save_LIBS
13708 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
13709 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
13710 if test $ac_cv_lib_m_nextafterf = yes; then
13712 cat >>confdefs.h <<\_ACEOF
13713 #define HAVE_NEXTAFTERF 1
13718 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
13719 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
13720 if test "${ac_cv_lib_m_nextafter+set}" = set; then
13721 echo $ECHO_N "(cached) $ECHO_C" >&6
13723 ac_check_lib_save_LIBS=$LIBS
13725 if test x$gcc_no_link = xyes; then
13726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13728 { (exit 1); exit 1; }; }
13730 cat >conftest.$ac_ext <<_ACEOF
13733 cat confdefs.h >>conftest.$ac_ext
13734 cat >>conftest.$ac_ext <<_ACEOF
13735 /* end confdefs.h. */
13737 /* Override any gcc2 internal prototype to avoid an error. */
13741 /* We use char because int might match the return type of a gcc2
13742 builtin and then its argument prototype would still apply. */
13752 rm -f conftest.$ac_objext conftest$ac_exeext
13753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13754 (eval $ac_link) 2>conftest.er1
13756 grep -v '^ *+' conftest.er1 >conftest.err
13758 cat conftest.err >&5
13759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13760 (exit $ac_status); } &&
13761 { ac_try='test -z "$ac_c_werror_flag"
13762 || test ! -s conftest.err'
13763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13764 (eval $ac_try) 2>&5
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 (exit $ac_status); }; } &&
13768 { ac_try='test -s conftest$ac_exeext'
13769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13770 (eval $ac_try) 2>&5
13772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13773 (exit $ac_status); }; }; then
13774 ac_cv_lib_m_nextafter=yes
13776 echo "$as_me: failed program was:" >&5
13777 sed 's/^/| /' conftest.$ac_ext >&5
13779 ac_cv_lib_m_nextafter=no
13781 rm -f conftest.err conftest.$ac_objext \
13782 conftest$ac_exeext conftest.$ac_ext
13783 LIBS=$ac_check_lib_save_LIBS
13785 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
13786 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
13787 if test $ac_cv_lib_m_nextafter = yes; then
13789 cat >>confdefs.h <<\_ACEOF
13790 #define HAVE_NEXTAFTER 1
13795 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
13796 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
13797 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
13798 echo $ECHO_N "(cached) $ECHO_C" >&6
13800 ac_check_lib_save_LIBS=$LIBS
13802 if test x$gcc_no_link = xyes; then
13803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13805 { (exit 1); exit 1; }; }
13807 cat >conftest.$ac_ext <<_ACEOF
13810 cat confdefs.h >>conftest.$ac_ext
13811 cat >>conftest.$ac_ext <<_ACEOF
13812 /* end confdefs.h. */
13814 /* Override any gcc2 internal prototype to avoid an error. */
13818 /* We use char because int might match the return type of a gcc2
13819 builtin and then its argument prototype would still apply. */
13820 char nextafterl ();
13829 rm -f conftest.$ac_objext conftest$ac_exeext
13830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13831 (eval $ac_link) 2>conftest.er1
13833 grep -v '^ *+' conftest.er1 >conftest.err
13835 cat conftest.err >&5
13836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13837 (exit $ac_status); } &&
13838 { ac_try='test -z "$ac_c_werror_flag"
13839 || test ! -s conftest.err'
13840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13841 (eval $ac_try) 2>&5
13843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13844 (exit $ac_status); }; } &&
13845 { ac_try='test -s conftest$ac_exeext'
13846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13847 (eval $ac_try) 2>&5
13849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850 (exit $ac_status); }; }; then
13851 ac_cv_lib_m_nextafterl=yes
13853 echo "$as_me: failed program was:" >&5
13854 sed 's/^/| /' conftest.$ac_ext >&5
13856 ac_cv_lib_m_nextafterl=no
13858 rm -f conftest.err conftest.$ac_objext \
13859 conftest$ac_exeext conftest.$ac_ext
13860 LIBS=$ac_check_lib_save_LIBS
13862 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
13863 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
13864 if test $ac_cv_lib_m_nextafterl = yes; then
13866 cat >>confdefs.h <<\_ACEOF
13867 #define HAVE_NEXTAFTERL 1
13872 echo "$as_me:$LINENO: checking for powf in -lm" >&5
13873 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
13874 if test "${ac_cv_lib_m_powf+set}" = set; then
13875 echo $ECHO_N "(cached) $ECHO_C" >&6
13877 ac_check_lib_save_LIBS=$LIBS
13879 if test x$gcc_no_link = xyes; then
13880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13882 { (exit 1); exit 1; }; }
13884 cat >conftest.$ac_ext <<_ACEOF
13887 cat confdefs.h >>conftest.$ac_ext
13888 cat >>conftest.$ac_ext <<_ACEOF
13889 /* end confdefs.h. */
13891 /* Override any gcc2 internal prototype to avoid an error. */
13895 /* We use char because int might match the return type of a gcc2
13896 builtin and then its argument prototype would still apply. */
13906 rm -f conftest.$ac_objext conftest$ac_exeext
13907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13908 (eval $ac_link) 2>conftest.er1
13910 grep -v '^ *+' conftest.er1 >conftest.err
13912 cat conftest.err >&5
13913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13914 (exit $ac_status); } &&
13915 { ac_try='test -z "$ac_c_werror_flag"
13916 || test ! -s conftest.err'
13917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13918 (eval $ac_try) 2>&5
13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921 (exit $ac_status); }; } &&
13922 { ac_try='test -s conftest$ac_exeext'
13923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13924 (eval $ac_try) 2>&5
13926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13927 (exit $ac_status); }; }; then
13928 ac_cv_lib_m_powf=yes
13930 echo "$as_me: failed program was:" >&5
13931 sed 's/^/| /' conftest.$ac_ext >&5
13933 ac_cv_lib_m_powf=no
13935 rm -f conftest.err conftest.$ac_objext \
13936 conftest$ac_exeext conftest.$ac_ext
13937 LIBS=$ac_check_lib_save_LIBS
13939 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
13940 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
13941 if test $ac_cv_lib_m_powf = yes; then
13943 cat >>confdefs.h <<\_ACEOF
13944 #define HAVE_POWF 1
13949 echo "$as_me:$LINENO: checking for pow in -lm" >&5
13950 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
13951 if test "${ac_cv_lib_m_pow+set}" = set; then
13952 echo $ECHO_N "(cached) $ECHO_C" >&6
13954 ac_check_lib_save_LIBS=$LIBS
13956 if test x$gcc_no_link = xyes; then
13957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13959 { (exit 1); exit 1; }; }
13961 cat >conftest.$ac_ext <<_ACEOF
13964 cat confdefs.h >>conftest.$ac_ext
13965 cat >>conftest.$ac_ext <<_ACEOF
13966 /* end confdefs.h. */
13968 /* Override any gcc2 internal prototype to avoid an error. */
13972 /* We use char because int might match the return type of a gcc2
13973 builtin and then its argument prototype would still apply. */
13983 rm -f conftest.$ac_objext conftest$ac_exeext
13984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13985 (eval $ac_link) 2>conftest.er1
13987 grep -v '^ *+' conftest.er1 >conftest.err
13989 cat conftest.err >&5
13990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13991 (exit $ac_status); } &&
13992 { ac_try='test -z "$ac_c_werror_flag"
13993 || test ! -s conftest.err'
13994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13995 (eval $ac_try) 2>&5
13997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13998 (exit $ac_status); }; } &&
13999 { ac_try='test -s conftest$ac_exeext'
14000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14001 (eval $ac_try) 2>&5
14003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14004 (exit $ac_status); }; }; then
14005 ac_cv_lib_m_pow=yes
14007 echo "$as_me: failed program was:" >&5
14008 sed 's/^/| /' conftest.$ac_ext >&5
14012 rm -f conftest.err conftest.$ac_objext \
14013 conftest$ac_exeext conftest.$ac_ext
14014 LIBS=$ac_check_lib_save_LIBS
14016 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
14017 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
14018 if test $ac_cv_lib_m_pow = yes; then
14020 cat >>confdefs.h <<\_ACEOF
14026 echo "$as_me:$LINENO: checking for powl in -lm" >&5
14027 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
14028 if test "${ac_cv_lib_m_powl+set}" = set; then
14029 echo $ECHO_N "(cached) $ECHO_C" >&6
14031 ac_check_lib_save_LIBS=$LIBS
14033 if test x$gcc_no_link = xyes; then
14034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14036 { (exit 1); exit 1; }; }
14038 cat >conftest.$ac_ext <<_ACEOF
14041 cat confdefs.h >>conftest.$ac_ext
14042 cat >>conftest.$ac_ext <<_ACEOF
14043 /* end confdefs.h. */
14045 /* Override any gcc2 internal prototype to avoid an error. */
14049 /* We use char because int might match the return type of a gcc2
14050 builtin and then its argument prototype would still apply. */
14060 rm -f conftest.$ac_objext conftest$ac_exeext
14061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14062 (eval $ac_link) 2>conftest.er1
14064 grep -v '^ *+' conftest.er1 >conftest.err
14066 cat conftest.err >&5
14067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14068 (exit $ac_status); } &&
14069 { ac_try='test -z "$ac_c_werror_flag"
14070 || test ! -s conftest.err'
14071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14072 (eval $ac_try) 2>&5
14074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14075 (exit $ac_status); }; } &&
14076 { ac_try='test -s conftest$ac_exeext'
14077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14078 (eval $ac_try) 2>&5
14080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14081 (exit $ac_status); }; }; then
14082 ac_cv_lib_m_powl=yes
14084 echo "$as_me: failed program was:" >&5
14085 sed 's/^/| /' conftest.$ac_ext >&5
14087 ac_cv_lib_m_powl=no
14089 rm -f conftest.err conftest.$ac_objext \
14090 conftest$ac_exeext conftest.$ac_ext
14091 LIBS=$ac_check_lib_save_LIBS
14093 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
14094 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
14095 if test $ac_cv_lib_m_powl = yes; then
14097 cat >>confdefs.h <<\_ACEOF
14098 #define HAVE_POWL 1
14103 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
14104 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
14105 if test "${ac_cv_lib_m_cpowf+set}" = set; then
14106 echo $ECHO_N "(cached) $ECHO_C" >&6
14108 ac_check_lib_save_LIBS=$LIBS
14110 if test x$gcc_no_link = xyes; then
14111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14113 { (exit 1); exit 1; }; }
14115 cat >conftest.$ac_ext <<_ACEOF
14118 cat confdefs.h >>conftest.$ac_ext
14119 cat >>conftest.$ac_ext <<_ACEOF
14120 /* end confdefs.h. */
14122 /* Override any gcc2 internal prototype to avoid an error. */
14126 /* We use char because int might match the return type of a gcc2
14127 builtin and then its argument prototype would still apply. */
14137 rm -f conftest.$ac_objext conftest$ac_exeext
14138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14139 (eval $ac_link) 2>conftest.er1
14141 grep -v '^ *+' conftest.er1 >conftest.err
14143 cat conftest.err >&5
14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 (exit $ac_status); } &&
14146 { ac_try='test -z "$ac_c_werror_flag"
14147 || test ! -s conftest.err'
14148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14149 (eval $ac_try) 2>&5
14151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14152 (exit $ac_status); }; } &&
14153 { ac_try='test -s conftest$ac_exeext'
14154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14155 (eval $ac_try) 2>&5
14157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14158 (exit $ac_status); }; }; then
14159 ac_cv_lib_m_cpowf=yes
14161 echo "$as_me: failed program was:" >&5
14162 sed 's/^/| /' conftest.$ac_ext >&5
14164 ac_cv_lib_m_cpowf=no
14166 rm -f conftest.err conftest.$ac_objext \
14167 conftest$ac_exeext conftest.$ac_ext
14168 LIBS=$ac_check_lib_save_LIBS
14170 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
14171 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
14172 if test $ac_cv_lib_m_cpowf = yes; then
14174 cat >>confdefs.h <<\_ACEOF
14175 #define HAVE_CPOWF 1
14180 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
14181 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
14182 if test "${ac_cv_lib_m_cpow+set}" = set; then
14183 echo $ECHO_N "(cached) $ECHO_C" >&6
14185 ac_check_lib_save_LIBS=$LIBS
14187 if test x$gcc_no_link = xyes; then
14188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14190 { (exit 1); exit 1; }; }
14192 cat >conftest.$ac_ext <<_ACEOF
14195 cat confdefs.h >>conftest.$ac_ext
14196 cat >>conftest.$ac_ext <<_ACEOF
14197 /* end confdefs.h. */
14199 /* Override any gcc2 internal prototype to avoid an error. */
14203 /* We use char because int might match the return type of a gcc2
14204 builtin and then its argument prototype would still apply. */
14214 rm -f conftest.$ac_objext conftest$ac_exeext
14215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14216 (eval $ac_link) 2>conftest.er1
14218 grep -v '^ *+' conftest.er1 >conftest.err
14220 cat conftest.err >&5
14221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14222 (exit $ac_status); } &&
14223 { ac_try='test -z "$ac_c_werror_flag"
14224 || test ! -s conftest.err'
14225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14226 (eval $ac_try) 2>&5
14228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14229 (exit $ac_status); }; } &&
14230 { ac_try='test -s conftest$ac_exeext'
14231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14232 (eval $ac_try) 2>&5
14234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14235 (exit $ac_status); }; }; then
14236 ac_cv_lib_m_cpow=yes
14238 echo "$as_me: failed program was:" >&5
14239 sed 's/^/| /' conftest.$ac_ext >&5
14241 ac_cv_lib_m_cpow=no
14243 rm -f conftest.err conftest.$ac_objext \
14244 conftest$ac_exeext conftest.$ac_ext
14245 LIBS=$ac_check_lib_save_LIBS
14247 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
14248 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
14249 if test $ac_cv_lib_m_cpow = yes; then
14251 cat >>confdefs.h <<\_ACEOF
14252 #define HAVE_CPOW 1
14257 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
14258 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
14259 if test "${ac_cv_lib_m_cpowl+set}" = set; then
14260 echo $ECHO_N "(cached) $ECHO_C" >&6
14262 ac_check_lib_save_LIBS=$LIBS
14264 if test x$gcc_no_link = xyes; then
14265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14267 { (exit 1); exit 1; }; }
14269 cat >conftest.$ac_ext <<_ACEOF
14272 cat confdefs.h >>conftest.$ac_ext
14273 cat >>conftest.$ac_ext <<_ACEOF
14274 /* end confdefs.h. */
14276 /* Override any gcc2 internal prototype to avoid an error. */
14280 /* We use char because int might match the return type of a gcc2
14281 builtin and then its argument prototype would still apply. */
14291 rm -f conftest.$ac_objext conftest$ac_exeext
14292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14293 (eval $ac_link) 2>conftest.er1
14295 grep -v '^ *+' conftest.er1 >conftest.err
14297 cat conftest.err >&5
14298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299 (exit $ac_status); } &&
14300 { ac_try='test -z "$ac_c_werror_flag"
14301 || test ! -s conftest.err'
14302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14303 (eval $ac_try) 2>&5
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); }; } &&
14307 { ac_try='test -s conftest$ac_exeext'
14308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14309 (eval $ac_try) 2>&5
14311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14312 (exit $ac_status); }; }; then
14313 ac_cv_lib_m_cpowl=yes
14315 echo "$as_me: failed program was:" >&5
14316 sed 's/^/| /' conftest.$ac_ext >&5
14318 ac_cv_lib_m_cpowl=no
14320 rm -f conftest.err conftest.$ac_objext \
14321 conftest$ac_exeext conftest.$ac_ext
14322 LIBS=$ac_check_lib_save_LIBS
14324 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
14325 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
14326 if test $ac_cv_lib_m_cpowl = yes; then
14328 cat >>confdefs.h <<\_ACEOF
14329 #define HAVE_CPOWL 1
14334 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
14335 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
14336 if test "${ac_cv_lib_m_roundf+set}" = set; then
14337 echo $ECHO_N "(cached) $ECHO_C" >&6
14339 ac_check_lib_save_LIBS=$LIBS
14341 if test x$gcc_no_link = xyes; then
14342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14344 { (exit 1); exit 1; }; }
14346 cat >conftest.$ac_ext <<_ACEOF
14349 cat confdefs.h >>conftest.$ac_ext
14350 cat >>conftest.$ac_ext <<_ACEOF
14351 /* end confdefs.h. */
14353 /* Override any gcc2 internal prototype to avoid an error. */
14357 /* We use char because int might match the return type of a gcc2
14358 builtin and then its argument prototype would still apply. */
14368 rm -f conftest.$ac_objext conftest$ac_exeext
14369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14370 (eval $ac_link) 2>conftest.er1
14372 grep -v '^ *+' conftest.er1 >conftest.err
14374 cat conftest.err >&5
14375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14376 (exit $ac_status); } &&
14377 { ac_try='test -z "$ac_c_werror_flag"
14378 || test ! -s conftest.err'
14379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14380 (eval $ac_try) 2>&5
14382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14383 (exit $ac_status); }; } &&
14384 { ac_try='test -s conftest$ac_exeext'
14385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14386 (eval $ac_try) 2>&5
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); }; }; then
14390 ac_cv_lib_m_roundf=yes
14392 echo "$as_me: failed program was:" >&5
14393 sed 's/^/| /' conftest.$ac_ext >&5
14395 ac_cv_lib_m_roundf=no
14397 rm -f conftest.err conftest.$ac_objext \
14398 conftest$ac_exeext conftest.$ac_ext
14399 LIBS=$ac_check_lib_save_LIBS
14401 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
14402 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
14403 if test $ac_cv_lib_m_roundf = yes; then
14405 cat >>confdefs.h <<\_ACEOF
14406 #define HAVE_ROUNDF 1
14411 echo "$as_me:$LINENO: checking for round in -lm" >&5
14412 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
14413 if test "${ac_cv_lib_m_round+set}" = set; then
14414 echo $ECHO_N "(cached) $ECHO_C" >&6
14416 ac_check_lib_save_LIBS=$LIBS
14418 if test x$gcc_no_link = xyes; then
14419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14421 { (exit 1); exit 1; }; }
14423 cat >conftest.$ac_ext <<_ACEOF
14426 cat confdefs.h >>conftest.$ac_ext
14427 cat >>conftest.$ac_ext <<_ACEOF
14428 /* end confdefs.h. */
14430 /* Override any gcc2 internal prototype to avoid an error. */
14434 /* We use char because int might match the return type of a gcc2
14435 builtin and then its argument prototype would still apply. */
14445 rm -f conftest.$ac_objext conftest$ac_exeext
14446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14447 (eval $ac_link) 2>conftest.er1
14449 grep -v '^ *+' conftest.er1 >conftest.err
14451 cat conftest.err >&5
14452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14453 (exit $ac_status); } &&
14454 { ac_try='test -z "$ac_c_werror_flag"
14455 || test ! -s conftest.err'
14456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14457 (eval $ac_try) 2>&5
14459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14460 (exit $ac_status); }; } &&
14461 { ac_try='test -s conftest$ac_exeext'
14462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14463 (eval $ac_try) 2>&5
14465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14466 (exit $ac_status); }; }; then
14467 ac_cv_lib_m_round=yes
14469 echo "$as_me: failed program was:" >&5
14470 sed 's/^/| /' conftest.$ac_ext >&5
14472 ac_cv_lib_m_round=no
14474 rm -f conftest.err conftest.$ac_objext \
14475 conftest$ac_exeext conftest.$ac_ext
14476 LIBS=$ac_check_lib_save_LIBS
14478 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
14479 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
14480 if test $ac_cv_lib_m_round = yes; then
14482 cat >>confdefs.h <<\_ACEOF
14483 #define HAVE_ROUND 1
14488 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
14489 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
14490 if test "${ac_cv_lib_m_roundl+set}" = set; then
14491 echo $ECHO_N "(cached) $ECHO_C" >&6
14493 ac_check_lib_save_LIBS=$LIBS
14495 if test x$gcc_no_link = xyes; then
14496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14498 { (exit 1); exit 1; }; }
14500 cat >conftest.$ac_ext <<_ACEOF
14503 cat confdefs.h >>conftest.$ac_ext
14504 cat >>conftest.$ac_ext <<_ACEOF
14505 /* end confdefs.h. */
14507 /* Override any gcc2 internal prototype to avoid an error. */
14511 /* We use char because int might match the return type of a gcc2
14512 builtin and then its argument prototype would still apply. */
14522 rm -f conftest.$ac_objext conftest$ac_exeext
14523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14524 (eval $ac_link) 2>conftest.er1
14526 grep -v '^ *+' conftest.er1 >conftest.err
14528 cat conftest.err >&5
14529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14530 (exit $ac_status); } &&
14531 { ac_try='test -z "$ac_c_werror_flag"
14532 || test ! -s conftest.err'
14533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14534 (eval $ac_try) 2>&5
14536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537 (exit $ac_status); }; } &&
14538 { ac_try='test -s conftest$ac_exeext'
14539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14540 (eval $ac_try) 2>&5
14542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14543 (exit $ac_status); }; }; then
14544 ac_cv_lib_m_roundl=yes
14546 echo "$as_me: failed program was:" >&5
14547 sed 's/^/| /' conftest.$ac_ext >&5
14549 ac_cv_lib_m_roundl=no
14551 rm -f conftest.err conftest.$ac_objext \
14552 conftest$ac_exeext conftest.$ac_ext
14553 LIBS=$ac_check_lib_save_LIBS
14555 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
14556 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
14557 if test $ac_cv_lib_m_roundl = yes; then
14559 cat >>confdefs.h <<\_ACEOF
14560 #define HAVE_ROUNDL 1
14565 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
14566 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
14567 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
14568 echo $ECHO_N "(cached) $ECHO_C" >&6
14570 ac_check_lib_save_LIBS=$LIBS
14572 if test x$gcc_no_link = xyes; then
14573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14575 { (exit 1); exit 1; }; }
14577 cat >conftest.$ac_ext <<_ACEOF
14580 cat confdefs.h >>conftest.$ac_ext
14581 cat >>conftest.$ac_ext <<_ACEOF
14582 /* end confdefs.h. */
14584 /* Override any gcc2 internal prototype to avoid an error. */
14588 /* We use char because int might match the return type of a gcc2
14589 builtin and then its argument prototype would still apply. */
14599 rm -f conftest.$ac_objext conftest$ac_exeext
14600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14601 (eval $ac_link) 2>conftest.er1
14603 grep -v '^ *+' conftest.er1 >conftest.err
14605 cat conftest.err >&5
14606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14607 (exit $ac_status); } &&
14608 { ac_try='test -z "$ac_c_werror_flag"
14609 || test ! -s conftest.err'
14610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14611 (eval $ac_try) 2>&5
14613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14614 (exit $ac_status); }; } &&
14615 { ac_try='test -s conftest$ac_exeext'
14616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14617 (eval $ac_try) 2>&5
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); }; }; then
14621 ac_cv_lib_m_scalbnf=yes
14623 echo "$as_me: failed program was:" >&5
14624 sed 's/^/| /' conftest.$ac_ext >&5
14626 ac_cv_lib_m_scalbnf=no
14628 rm -f conftest.err conftest.$ac_objext \
14629 conftest$ac_exeext conftest.$ac_ext
14630 LIBS=$ac_check_lib_save_LIBS
14632 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
14633 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
14634 if test $ac_cv_lib_m_scalbnf = yes; then
14636 cat >>confdefs.h <<\_ACEOF
14637 #define HAVE_SCALBNF 1
14642 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
14643 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
14644 if test "${ac_cv_lib_m_scalbn+set}" = set; then
14645 echo $ECHO_N "(cached) $ECHO_C" >&6
14647 ac_check_lib_save_LIBS=$LIBS
14649 if test x$gcc_no_link = xyes; then
14650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14652 { (exit 1); exit 1; }; }
14654 cat >conftest.$ac_ext <<_ACEOF
14657 cat confdefs.h >>conftest.$ac_ext
14658 cat >>conftest.$ac_ext <<_ACEOF
14659 /* end confdefs.h. */
14661 /* Override any gcc2 internal prototype to avoid an error. */
14665 /* We use char because int might match the return type of a gcc2
14666 builtin and then its argument prototype would still apply. */
14676 rm -f conftest.$ac_objext conftest$ac_exeext
14677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14678 (eval $ac_link) 2>conftest.er1
14680 grep -v '^ *+' conftest.er1 >conftest.err
14682 cat conftest.err >&5
14683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14684 (exit $ac_status); } &&
14685 { ac_try='test -z "$ac_c_werror_flag"
14686 || test ! -s conftest.err'
14687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14688 (eval $ac_try) 2>&5
14690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14691 (exit $ac_status); }; } &&
14692 { ac_try='test -s conftest$ac_exeext'
14693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14694 (eval $ac_try) 2>&5
14696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697 (exit $ac_status); }; }; then
14698 ac_cv_lib_m_scalbn=yes
14700 echo "$as_me: failed program was:" >&5
14701 sed 's/^/| /' conftest.$ac_ext >&5
14703 ac_cv_lib_m_scalbn=no
14705 rm -f conftest.err conftest.$ac_objext \
14706 conftest$ac_exeext conftest.$ac_ext
14707 LIBS=$ac_check_lib_save_LIBS
14709 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
14710 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
14711 if test $ac_cv_lib_m_scalbn = yes; then
14713 cat >>confdefs.h <<\_ACEOF
14714 #define HAVE_SCALBN 1
14719 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
14720 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
14721 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
14722 echo $ECHO_N "(cached) $ECHO_C" >&6
14724 ac_check_lib_save_LIBS=$LIBS
14726 if test x$gcc_no_link = xyes; then
14727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14729 { (exit 1); exit 1; }; }
14731 cat >conftest.$ac_ext <<_ACEOF
14734 cat confdefs.h >>conftest.$ac_ext
14735 cat >>conftest.$ac_ext <<_ACEOF
14736 /* end confdefs.h. */
14738 /* Override any gcc2 internal prototype to avoid an error. */
14742 /* We use char because int might match the return type of a gcc2
14743 builtin and then its argument prototype would still apply. */
14753 rm -f conftest.$ac_objext conftest$ac_exeext
14754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14755 (eval $ac_link) 2>conftest.er1
14757 grep -v '^ *+' conftest.er1 >conftest.err
14759 cat conftest.err >&5
14760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14761 (exit $ac_status); } &&
14762 { ac_try='test -z "$ac_c_werror_flag"
14763 || test ! -s conftest.err'
14764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14765 (eval $ac_try) 2>&5
14767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14768 (exit $ac_status); }; } &&
14769 { ac_try='test -s conftest$ac_exeext'
14770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14771 (eval $ac_try) 2>&5
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); }; }; then
14775 ac_cv_lib_m_scalbnl=yes
14777 echo "$as_me: failed program was:" >&5
14778 sed 's/^/| /' conftest.$ac_ext >&5
14780 ac_cv_lib_m_scalbnl=no
14782 rm -f conftest.err conftest.$ac_objext \
14783 conftest$ac_exeext conftest.$ac_ext
14784 LIBS=$ac_check_lib_save_LIBS
14786 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
14787 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
14788 if test $ac_cv_lib_m_scalbnl = yes; then
14790 cat >>confdefs.h <<\_ACEOF
14791 #define HAVE_SCALBNL 1
14796 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
14797 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
14798 if test "${ac_cv_lib_m_sinf+set}" = set; then
14799 echo $ECHO_N "(cached) $ECHO_C" >&6
14801 ac_check_lib_save_LIBS=$LIBS
14803 if test x$gcc_no_link = xyes; then
14804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14806 { (exit 1); exit 1; }; }
14808 cat >conftest.$ac_ext <<_ACEOF
14811 cat confdefs.h >>conftest.$ac_ext
14812 cat >>conftest.$ac_ext <<_ACEOF
14813 /* end confdefs.h. */
14815 /* Override any gcc2 internal prototype to avoid an error. */
14819 /* We use char because int might match the return type of a gcc2
14820 builtin and then its argument prototype would still apply. */
14830 rm -f conftest.$ac_objext conftest$ac_exeext
14831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14832 (eval $ac_link) 2>conftest.er1
14834 grep -v '^ *+' conftest.er1 >conftest.err
14836 cat conftest.err >&5
14837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14838 (exit $ac_status); } &&
14839 { ac_try='test -z "$ac_c_werror_flag"
14840 || test ! -s conftest.err'
14841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14842 (eval $ac_try) 2>&5
14844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14845 (exit $ac_status); }; } &&
14846 { ac_try='test -s conftest$ac_exeext'
14847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14848 (eval $ac_try) 2>&5
14850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 (exit $ac_status); }; }; then
14852 ac_cv_lib_m_sinf=yes
14854 echo "$as_me: failed program was:" >&5
14855 sed 's/^/| /' conftest.$ac_ext >&5
14857 ac_cv_lib_m_sinf=no
14859 rm -f conftest.err conftest.$ac_objext \
14860 conftest$ac_exeext conftest.$ac_ext
14861 LIBS=$ac_check_lib_save_LIBS
14863 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
14864 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
14865 if test $ac_cv_lib_m_sinf = yes; then
14867 cat >>confdefs.h <<\_ACEOF
14868 #define HAVE_SINF 1
14873 echo "$as_me:$LINENO: checking for sin in -lm" >&5
14874 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
14875 if test "${ac_cv_lib_m_sin+set}" = set; then
14876 echo $ECHO_N "(cached) $ECHO_C" >&6
14878 ac_check_lib_save_LIBS=$LIBS
14880 if test x$gcc_no_link = xyes; then
14881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14883 { (exit 1); exit 1; }; }
14885 cat >conftest.$ac_ext <<_ACEOF
14888 cat confdefs.h >>conftest.$ac_ext
14889 cat >>conftest.$ac_ext <<_ACEOF
14890 /* end confdefs.h. */
14892 /* Override any gcc2 internal prototype to avoid an error. */
14896 /* We use char because int might match the return type of a gcc2
14897 builtin and then its argument prototype would still apply. */
14907 rm -f conftest.$ac_objext conftest$ac_exeext
14908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14909 (eval $ac_link) 2>conftest.er1
14911 grep -v '^ *+' conftest.er1 >conftest.err
14913 cat conftest.err >&5
14914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14915 (exit $ac_status); } &&
14916 { ac_try='test -z "$ac_c_werror_flag"
14917 || test ! -s conftest.err'
14918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14919 (eval $ac_try) 2>&5
14921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14922 (exit $ac_status); }; } &&
14923 { ac_try='test -s conftest$ac_exeext'
14924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14925 (eval $ac_try) 2>&5
14927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14928 (exit $ac_status); }; }; then
14929 ac_cv_lib_m_sin=yes
14931 echo "$as_me: failed program was:" >&5
14932 sed 's/^/| /' conftest.$ac_ext >&5
14936 rm -f conftest.err conftest.$ac_objext \
14937 conftest$ac_exeext conftest.$ac_ext
14938 LIBS=$ac_check_lib_save_LIBS
14940 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
14941 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
14942 if test $ac_cv_lib_m_sin = yes; then
14944 cat >>confdefs.h <<\_ACEOF
14950 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
14951 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
14952 if test "${ac_cv_lib_m_sinl+set}" = set; then
14953 echo $ECHO_N "(cached) $ECHO_C" >&6
14955 ac_check_lib_save_LIBS=$LIBS
14957 if test x$gcc_no_link = xyes; then
14958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14960 { (exit 1); exit 1; }; }
14962 cat >conftest.$ac_ext <<_ACEOF
14965 cat confdefs.h >>conftest.$ac_ext
14966 cat >>conftest.$ac_ext <<_ACEOF
14967 /* end confdefs.h. */
14969 /* Override any gcc2 internal prototype to avoid an error. */
14973 /* We use char because int might match the return type of a gcc2
14974 builtin and then its argument prototype would still apply. */
14984 rm -f conftest.$ac_objext conftest$ac_exeext
14985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14986 (eval $ac_link) 2>conftest.er1
14988 grep -v '^ *+' conftest.er1 >conftest.err
14990 cat conftest.err >&5
14991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14992 (exit $ac_status); } &&
14993 { ac_try='test -z "$ac_c_werror_flag"
14994 || test ! -s conftest.err'
14995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14996 (eval $ac_try) 2>&5
14998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999 (exit $ac_status); }; } &&
15000 { ac_try='test -s conftest$ac_exeext'
15001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15002 (eval $ac_try) 2>&5
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); }; }; then
15006 ac_cv_lib_m_sinl=yes
15008 echo "$as_me: failed program was:" >&5
15009 sed 's/^/| /' conftest.$ac_ext >&5
15011 ac_cv_lib_m_sinl=no
15013 rm -f conftest.err conftest.$ac_objext \
15014 conftest$ac_exeext conftest.$ac_ext
15015 LIBS=$ac_check_lib_save_LIBS
15017 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
15018 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
15019 if test $ac_cv_lib_m_sinl = yes; then
15021 cat >>confdefs.h <<\_ACEOF
15022 #define HAVE_SINL 1
15027 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
15028 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
15029 if test "${ac_cv_lib_m_csinf+set}" = set; then
15030 echo $ECHO_N "(cached) $ECHO_C" >&6
15032 ac_check_lib_save_LIBS=$LIBS
15034 if test x$gcc_no_link = xyes; then
15035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15037 { (exit 1); exit 1; }; }
15039 cat >conftest.$ac_ext <<_ACEOF
15042 cat confdefs.h >>conftest.$ac_ext
15043 cat >>conftest.$ac_ext <<_ACEOF
15044 /* end confdefs.h. */
15046 /* Override any gcc2 internal prototype to avoid an error. */
15050 /* We use char because int might match the return type of a gcc2
15051 builtin and then its argument prototype would still apply. */
15061 rm -f conftest.$ac_objext conftest$ac_exeext
15062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15063 (eval $ac_link) 2>conftest.er1
15065 grep -v '^ *+' conftest.er1 >conftest.err
15067 cat conftest.err >&5
15068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15069 (exit $ac_status); } &&
15070 { ac_try='test -z "$ac_c_werror_flag"
15071 || test ! -s conftest.err'
15072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15073 (eval $ac_try) 2>&5
15075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076 (exit $ac_status); }; } &&
15077 { ac_try='test -s conftest$ac_exeext'
15078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15079 (eval $ac_try) 2>&5
15081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15082 (exit $ac_status); }; }; then
15083 ac_cv_lib_m_csinf=yes
15085 echo "$as_me: failed program was:" >&5
15086 sed 's/^/| /' conftest.$ac_ext >&5
15088 ac_cv_lib_m_csinf=no
15090 rm -f conftest.err conftest.$ac_objext \
15091 conftest$ac_exeext conftest.$ac_ext
15092 LIBS=$ac_check_lib_save_LIBS
15094 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
15095 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
15096 if test $ac_cv_lib_m_csinf = yes; then
15098 cat >>confdefs.h <<\_ACEOF
15099 #define HAVE_CSINF 1
15104 echo "$as_me:$LINENO: checking for csin in -lm" >&5
15105 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
15106 if test "${ac_cv_lib_m_csin+set}" = set; then
15107 echo $ECHO_N "(cached) $ECHO_C" >&6
15109 ac_check_lib_save_LIBS=$LIBS
15111 if test x$gcc_no_link = xyes; then
15112 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15114 { (exit 1); exit 1; }; }
15116 cat >conftest.$ac_ext <<_ACEOF
15119 cat confdefs.h >>conftest.$ac_ext
15120 cat >>conftest.$ac_ext <<_ACEOF
15121 /* end confdefs.h. */
15123 /* Override any gcc2 internal prototype to avoid an error. */
15127 /* We use char because int might match the return type of a gcc2
15128 builtin and then its argument prototype would still apply. */
15138 rm -f conftest.$ac_objext conftest$ac_exeext
15139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15140 (eval $ac_link) 2>conftest.er1
15142 grep -v '^ *+' conftest.er1 >conftest.err
15144 cat conftest.err >&5
15145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15146 (exit $ac_status); } &&
15147 { ac_try='test -z "$ac_c_werror_flag"
15148 || test ! -s conftest.err'
15149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15150 (eval $ac_try) 2>&5
15152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15153 (exit $ac_status); }; } &&
15154 { ac_try='test -s conftest$ac_exeext'
15155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15156 (eval $ac_try) 2>&5
15158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159 (exit $ac_status); }; }; then
15160 ac_cv_lib_m_csin=yes
15162 echo "$as_me: failed program was:" >&5
15163 sed 's/^/| /' conftest.$ac_ext >&5
15165 ac_cv_lib_m_csin=no
15167 rm -f conftest.err conftest.$ac_objext \
15168 conftest$ac_exeext conftest.$ac_ext
15169 LIBS=$ac_check_lib_save_LIBS
15171 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
15172 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
15173 if test $ac_cv_lib_m_csin = yes; then
15175 cat >>confdefs.h <<\_ACEOF
15176 #define HAVE_CSIN 1
15181 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
15182 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
15183 if test "${ac_cv_lib_m_csinl+set}" = set; then
15184 echo $ECHO_N "(cached) $ECHO_C" >&6
15186 ac_check_lib_save_LIBS=$LIBS
15188 if test x$gcc_no_link = xyes; then
15189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15191 { (exit 1); exit 1; }; }
15193 cat >conftest.$ac_ext <<_ACEOF
15196 cat confdefs.h >>conftest.$ac_ext
15197 cat >>conftest.$ac_ext <<_ACEOF
15198 /* end confdefs.h. */
15200 /* Override any gcc2 internal prototype to avoid an error. */
15204 /* We use char because int might match the return type of a gcc2
15205 builtin and then its argument prototype would still apply. */
15215 rm -f conftest.$ac_objext conftest$ac_exeext
15216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15217 (eval $ac_link) 2>conftest.er1
15219 grep -v '^ *+' conftest.er1 >conftest.err
15221 cat conftest.err >&5
15222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15223 (exit $ac_status); } &&
15224 { ac_try='test -z "$ac_c_werror_flag"
15225 || test ! -s conftest.err'
15226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15227 (eval $ac_try) 2>&5
15229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230 (exit $ac_status); }; } &&
15231 { ac_try='test -s conftest$ac_exeext'
15232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15233 (eval $ac_try) 2>&5
15235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15236 (exit $ac_status); }; }; then
15237 ac_cv_lib_m_csinl=yes
15239 echo "$as_me: failed program was:" >&5
15240 sed 's/^/| /' conftest.$ac_ext >&5
15242 ac_cv_lib_m_csinl=no
15244 rm -f conftest.err conftest.$ac_objext \
15245 conftest$ac_exeext conftest.$ac_ext
15246 LIBS=$ac_check_lib_save_LIBS
15248 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
15249 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
15250 if test $ac_cv_lib_m_csinl = yes; then
15252 cat >>confdefs.h <<\_ACEOF
15253 #define HAVE_CSINL 1
15258 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
15259 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
15260 if test "${ac_cv_lib_m_sinhf+set}" = set; then
15261 echo $ECHO_N "(cached) $ECHO_C" >&6
15263 ac_check_lib_save_LIBS=$LIBS
15265 if test x$gcc_no_link = xyes; then
15266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15268 { (exit 1); exit 1; }; }
15270 cat >conftest.$ac_ext <<_ACEOF
15273 cat confdefs.h >>conftest.$ac_ext
15274 cat >>conftest.$ac_ext <<_ACEOF
15275 /* end confdefs.h. */
15277 /* Override any gcc2 internal prototype to avoid an error. */
15281 /* We use char because int might match the return type of a gcc2
15282 builtin and then its argument prototype would still apply. */
15292 rm -f conftest.$ac_objext conftest$ac_exeext
15293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15294 (eval $ac_link) 2>conftest.er1
15296 grep -v '^ *+' conftest.er1 >conftest.err
15298 cat conftest.err >&5
15299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15300 (exit $ac_status); } &&
15301 { ac_try='test -z "$ac_c_werror_flag"
15302 || test ! -s conftest.err'
15303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15304 (eval $ac_try) 2>&5
15306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15307 (exit $ac_status); }; } &&
15308 { ac_try='test -s conftest$ac_exeext'
15309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15310 (eval $ac_try) 2>&5
15312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313 (exit $ac_status); }; }; then
15314 ac_cv_lib_m_sinhf=yes
15316 echo "$as_me: failed program was:" >&5
15317 sed 's/^/| /' conftest.$ac_ext >&5
15319 ac_cv_lib_m_sinhf=no
15321 rm -f conftest.err conftest.$ac_objext \
15322 conftest$ac_exeext conftest.$ac_ext
15323 LIBS=$ac_check_lib_save_LIBS
15325 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
15326 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
15327 if test $ac_cv_lib_m_sinhf = yes; then
15329 cat >>confdefs.h <<\_ACEOF
15330 #define HAVE_SINHF 1
15335 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
15336 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
15337 if test "${ac_cv_lib_m_sinh+set}" = set; then
15338 echo $ECHO_N "(cached) $ECHO_C" >&6
15340 ac_check_lib_save_LIBS=$LIBS
15342 if test x$gcc_no_link = xyes; then
15343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15345 { (exit 1); exit 1; }; }
15347 cat >conftest.$ac_ext <<_ACEOF
15350 cat confdefs.h >>conftest.$ac_ext
15351 cat >>conftest.$ac_ext <<_ACEOF
15352 /* end confdefs.h. */
15354 /* Override any gcc2 internal prototype to avoid an error. */
15358 /* We use char because int might match the return type of a gcc2
15359 builtin and then its argument prototype would still apply. */
15369 rm -f conftest.$ac_objext conftest$ac_exeext
15370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15371 (eval $ac_link) 2>conftest.er1
15373 grep -v '^ *+' conftest.er1 >conftest.err
15375 cat conftest.err >&5
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); } &&
15378 { ac_try='test -z "$ac_c_werror_flag"
15379 || test ! -s conftest.err'
15380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15381 (eval $ac_try) 2>&5
15383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15384 (exit $ac_status); }; } &&
15385 { ac_try='test -s conftest$ac_exeext'
15386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15387 (eval $ac_try) 2>&5
15389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15390 (exit $ac_status); }; }; then
15391 ac_cv_lib_m_sinh=yes
15393 echo "$as_me: failed program was:" >&5
15394 sed 's/^/| /' conftest.$ac_ext >&5
15396 ac_cv_lib_m_sinh=no
15398 rm -f conftest.err conftest.$ac_objext \
15399 conftest$ac_exeext conftest.$ac_ext
15400 LIBS=$ac_check_lib_save_LIBS
15402 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
15403 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
15404 if test $ac_cv_lib_m_sinh = yes; then
15406 cat >>confdefs.h <<\_ACEOF
15407 #define HAVE_SINH 1
15412 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
15413 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
15414 if test "${ac_cv_lib_m_sinhl+set}" = set; then
15415 echo $ECHO_N "(cached) $ECHO_C" >&6
15417 ac_check_lib_save_LIBS=$LIBS
15419 if test x$gcc_no_link = xyes; then
15420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15422 { (exit 1); exit 1; }; }
15424 cat >conftest.$ac_ext <<_ACEOF
15427 cat confdefs.h >>conftest.$ac_ext
15428 cat >>conftest.$ac_ext <<_ACEOF
15429 /* end confdefs.h. */
15431 /* Override any gcc2 internal prototype to avoid an error. */
15435 /* We use char because int might match the return type of a gcc2
15436 builtin and then its argument prototype would still apply. */
15446 rm -f conftest.$ac_objext conftest$ac_exeext
15447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15448 (eval $ac_link) 2>conftest.er1
15450 grep -v '^ *+' conftest.er1 >conftest.err
15452 cat conftest.err >&5
15453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15454 (exit $ac_status); } &&
15455 { ac_try='test -z "$ac_c_werror_flag"
15456 || test ! -s conftest.err'
15457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15458 (eval $ac_try) 2>&5
15460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15461 (exit $ac_status); }; } &&
15462 { ac_try='test -s conftest$ac_exeext'
15463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15464 (eval $ac_try) 2>&5
15466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15467 (exit $ac_status); }; }; then
15468 ac_cv_lib_m_sinhl=yes
15470 echo "$as_me: failed program was:" >&5
15471 sed 's/^/| /' conftest.$ac_ext >&5
15473 ac_cv_lib_m_sinhl=no
15475 rm -f conftest.err conftest.$ac_objext \
15476 conftest$ac_exeext conftest.$ac_ext
15477 LIBS=$ac_check_lib_save_LIBS
15479 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
15480 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
15481 if test $ac_cv_lib_m_sinhl = yes; then
15483 cat >>confdefs.h <<\_ACEOF
15484 #define HAVE_SINHL 1
15489 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
15490 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
15491 if test "${ac_cv_lib_m_csinhf+set}" = set; then
15492 echo $ECHO_N "(cached) $ECHO_C" >&6
15494 ac_check_lib_save_LIBS=$LIBS
15496 if test x$gcc_no_link = xyes; then
15497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15499 { (exit 1); exit 1; }; }
15501 cat >conftest.$ac_ext <<_ACEOF
15504 cat confdefs.h >>conftest.$ac_ext
15505 cat >>conftest.$ac_ext <<_ACEOF
15506 /* end confdefs.h. */
15508 /* Override any gcc2 internal prototype to avoid an error. */
15512 /* We use char because int might match the return type of a gcc2
15513 builtin and then its argument prototype would still apply. */
15523 rm -f conftest.$ac_objext conftest$ac_exeext
15524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15525 (eval $ac_link) 2>conftest.er1
15527 grep -v '^ *+' conftest.er1 >conftest.err
15529 cat conftest.err >&5
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); } &&
15532 { ac_try='test -z "$ac_c_werror_flag"
15533 || test ! -s conftest.err'
15534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15535 (eval $ac_try) 2>&5
15537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15538 (exit $ac_status); }; } &&
15539 { ac_try='test -s conftest$ac_exeext'
15540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15541 (eval $ac_try) 2>&5
15543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15544 (exit $ac_status); }; }; then
15545 ac_cv_lib_m_csinhf=yes
15547 echo "$as_me: failed program was:" >&5
15548 sed 's/^/| /' conftest.$ac_ext >&5
15550 ac_cv_lib_m_csinhf=no
15552 rm -f conftest.err conftest.$ac_objext \
15553 conftest$ac_exeext conftest.$ac_ext
15554 LIBS=$ac_check_lib_save_LIBS
15556 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
15557 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
15558 if test $ac_cv_lib_m_csinhf = yes; then
15560 cat >>confdefs.h <<\_ACEOF
15561 #define HAVE_CSINHF 1
15566 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
15567 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
15568 if test "${ac_cv_lib_m_csinh+set}" = set; then
15569 echo $ECHO_N "(cached) $ECHO_C" >&6
15571 ac_check_lib_save_LIBS=$LIBS
15573 if test x$gcc_no_link = xyes; then
15574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15576 { (exit 1); exit 1; }; }
15578 cat >conftest.$ac_ext <<_ACEOF
15581 cat confdefs.h >>conftest.$ac_ext
15582 cat >>conftest.$ac_ext <<_ACEOF
15583 /* end confdefs.h. */
15585 /* Override any gcc2 internal prototype to avoid an error. */
15589 /* We use char because int might match the return type of a gcc2
15590 builtin and then its argument prototype would still apply. */
15600 rm -f conftest.$ac_objext conftest$ac_exeext
15601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15602 (eval $ac_link) 2>conftest.er1
15604 grep -v '^ *+' conftest.er1 >conftest.err
15606 cat conftest.err >&5
15607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15608 (exit $ac_status); } &&
15609 { ac_try='test -z "$ac_c_werror_flag"
15610 || test ! -s conftest.err'
15611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15612 (eval $ac_try) 2>&5
15614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15615 (exit $ac_status); }; } &&
15616 { ac_try='test -s conftest$ac_exeext'
15617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15618 (eval $ac_try) 2>&5
15620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15621 (exit $ac_status); }; }; then
15622 ac_cv_lib_m_csinh=yes
15624 echo "$as_me: failed program was:" >&5
15625 sed 's/^/| /' conftest.$ac_ext >&5
15627 ac_cv_lib_m_csinh=no
15629 rm -f conftest.err conftest.$ac_objext \
15630 conftest$ac_exeext conftest.$ac_ext
15631 LIBS=$ac_check_lib_save_LIBS
15633 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
15634 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
15635 if test $ac_cv_lib_m_csinh = yes; then
15637 cat >>confdefs.h <<\_ACEOF
15638 #define HAVE_CSINH 1
15643 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
15644 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
15645 if test "${ac_cv_lib_m_csinhl+set}" = set; then
15646 echo $ECHO_N "(cached) $ECHO_C" >&6
15648 ac_check_lib_save_LIBS=$LIBS
15650 if test x$gcc_no_link = xyes; then
15651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15653 { (exit 1); exit 1; }; }
15655 cat >conftest.$ac_ext <<_ACEOF
15658 cat confdefs.h >>conftest.$ac_ext
15659 cat >>conftest.$ac_ext <<_ACEOF
15660 /* end confdefs.h. */
15662 /* Override any gcc2 internal prototype to avoid an error. */
15666 /* We use char because int might match the return type of a gcc2
15667 builtin and then its argument prototype would still apply. */
15677 rm -f conftest.$ac_objext conftest$ac_exeext
15678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15679 (eval $ac_link) 2>conftest.er1
15681 grep -v '^ *+' conftest.er1 >conftest.err
15683 cat conftest.err >&5
15684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685 (exit $ac_status); } &&
15686 { ac_try='test -z "$ac_c_werror_flag"
15687 || test ! -s conftest.err'
15688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15689 (eval $ac_try) 2>&5
15691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15692 (exit $ac_status); }; } &&
15693 { ac_try='test -s conftest$ac_exeext'
15694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15695 (eval $ac_try) 2>&5
15697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15698 (exit $ac_status); }; }; then
15699 ac_cv_lib_m_csinhl=yes
15701 echo "$as_me: failed program was:" >&5
15702 sed 's/^/| /' conftest.$ac_ext >&5
15704 ac_cv_lib_m_csinhl=no
15706 rm -f conftest.err conftest.$ac_objext \
15707 conftest$ac_exeext conftest.$ac_ext
15708 LIBS=$ac_check_lib_save_LIBS
15710 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
15711 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
15712 if test $ac_cv_lib_m_csinhl = yes; then
15714 cat >>confdefs.h <<\_ACEOF
15715 #define HAVE_CSINHL 1
15720 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
15721 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
15722 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
15723 echo $ECHO_N "(cached) $ECHO_C" >&6
15725 ac_check_lib_save_LIBS=$LIBS
15727 if test x$gcc_no_link = xyes; then
15728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15730 { (exit 1); exit 1; }; }
15732 cat >conftest.$ac_ext <<_ACEOF
15735 cat confdefs.h >>conftest.$ac_ext
15736 cat >>conftest.$ac_ext <<_ACEOF
15737 /* end confdefs.h. */
15739 /* Override any gcc2 internal prototype to avoid an error. */
15743 /* We use char because int might match the return type of a gcc2
15744 builtin and then its argument prototype would still apply. */
15754 rm -f conftest.$ac_objext conftest$ac_exeext
15755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15756 (eval $ac_link) 2>conftest.er1
15758 grep -v '^ *+' conftest.er1 >conftest.err
15760 cat conftest.err >&5
15761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15762 (exit $ac_status); } &&
15763 { ac_try='test -z "$ac_c_werror_flag"
15764 || test ! -s conftest.err'
15765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15766 (eval $ac_try) 2>&5
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); }; } &&
15770 { ac_try='test -s conftest$ac_exeext'
15771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15772 (eval $ac_try) 2>&5
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); }; }; then
15776 ac_cv_lib_m_sqrtf=yes
15778 echo "$as_me: failed program was:" >&5
15779 sed 's/^/| /' conftest.$ac_ext >&5
15781 ac_cv_lib_m_sqrtf=no
15783 rm -f conftest.err conftest.$ac_objext \
15784 conftest$ac_exeext conftest.$ac_ext
15785 LIBS=$ac_check_lib_save_LIBS
15787 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
15788 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
15789 if test $ac_cv_lib_m_sqrtf = yes; then
15791 cat >>confdefs.h <<\_ACEOF
15792 #define HAVE_SQRTF 1
15797 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
15798 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
15799 if test "${ac_cv_lib_m_sqrt+set}" = set; then
15800 echo $ECHO_N "(cached) $ECHO_C" >&6
15802 ac_check_lib_save_LIBS=$LIBS
15804 if test x$gcc_no_link = xyes; then
15805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15807 { (exit 1); exit 1; }; }
15809 cat >conftest.$ac_ext <<_ACEOF
15812 cat confdefs.h >>conftest.$ac_ext
15813 cat >>conftest.$ac_ext <<_ACEOF
15814 /* end confdefs.h. */
15816 /* Override any gcc2 internal prototype to avoid an error. */
15820 /* We use char because int might match the return type of a gcc2
15821 builtin and then its argument prototype would still apply. */
15831 rm -f conftest.$ac_objext conftest$ac_exeext
15832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15833 (eval $ac_link) 2>conftest.er1
15835 grep -v '^ *+' conftest.er1 >conftest.err
15837 cat conftest.err >&5
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); } &&
15840 { ac_try='test -z "$ac_c_werror_flag"
15841 || test ! -s conftest.err'
15842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15843 (eval $ac_try) 2>&5
15845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15846 (exit $ac_status); }; } &&
15847 { ac_try='test -s conftest$ac_exeext'
15848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15849 (eval $ac_try) 2>&5
15851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15852 (exit $ac_status); }; }; then
15853 ac_cv_lib_m_sqrt=yes
15855 echo "$as_me: failed program was:" >&5
15856 sed 's/^/| /' conftest.$ac_ext >&5
15858 ac_cv_lib_m_sqrt=no
15860 rm -f conftest.err conftest.$ac_objext \
15861 conftest$ac_exeext conftest.$ac_ext
15862 LIBS=$ac_check_lib_save_LIBS
15864 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
15865 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
15866 if test $ac_cv_lib_m_sqrt = yes; then
15868 cat >>confdefs.h <<\_ACEOF
15869 #define HAVE_SQRT 1
15874 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
15875 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
15876 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
15877 echo $ECHO_N "(cached) $ECHO_C" >&6
15879 ac_check_lib_save_LIBS=$LIBS
15881 if test x$gcc_no_link = xyes; then
15882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15884 { (exit 1); exit 1; }; }
15886 cat >conftest.$ac_ext <<_ACEOF
15889 cat confdefs.h >>conftest.$ac_ext
15890 cat >>conftest.$ac_ext <<_ACEOF
15891 /* end confdefs.h. */
15893 /* Override any gcc2 internal prototype to avoid an error. */
15897 /* We use char because int might match the return type of a gcc2
15898 builtin and then its argument prototype would still apply. */
15908 rm -f conftest.$ac_objext conftest$ac_exeext
15909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15910 (eval $ac_link) 2>conftest.er1
15912 grep -v '^ *+' conftest.er1 >conftest.err
15914 cat conftest.err >&5
15915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15916 (exit $ac_status); } &&
15917 { ac_try='test -z "$ac_c_werror_flag"
15918 || test ! -s conftest.err'
15919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15920 (eval $ac_try) 2>&5
15922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15923 (exit $ac_status); }; } &&
15924 { ac_try='test -s conftest$ac_exeext'
15925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15926 (eval $ac_try) 2>&5
15928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15929 (exit $ac_status); }; }; then
15930 ac_cv_lib_m_sqrtl=yes
15932 echo "$as_me: failed program was:" >&5
15933 sed 's/^/| /' conftest.$ac_ext >&5
15935 ac_cv_lib_m_sqrtl=no
15937 rm -f conftest.err conftest.$ac_objext \
15938 conftest$ac_exeext conftest.$ac_ext
15939 LIBS=$ac_check_lib_save_LIBS
15941 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
15942 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
15943 if test $ac_cv_lib_m_sqrtl = yes; then
15945 cat >>confdefs.h <<\_ACEOF
15946 #define HAVE_SQRTL 1
15951 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
15952 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
15953 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
15954 echo $ECHO_N "(cached) $ECHO_C" >&6
15956 ac_check_lib_save_LIBS=$LIBS
15958 if test x$gcc_no_link = xyes; then
15959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15961 { (exit 1); exit 1; }; }
15963 cat >conftest.$ac_ext <<_ACEOF
15966 cat confdefs.h >>conftest.$ac_ext
15967 cat >>conftest.$ac_ext <<_ACEOF
15968 /* end confdefs.h. */
15970 /* Override any gcc2 internal prototype to avoid an error. */
15974 /* We use char because int might match the return type of a gcc2
15975 builtin and then its argument prototype would still apply. */
15985 rm -f conftest.$ac_objext conftest$ac_exeext
15986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15987 (eval $ac_link) 2>conftest.er1
15989 grep -v '^ *+' conftest.er1 >conftest.err
15991 cat conftest.err >&5
15992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15993 (exit $ac_status); } &&
15994 { ac_try='test -z "$ac_c_werror_flag"
15995 || test ! -s conftest.err'
15996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15997 (eval $ac_try) 2>&5
15999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16000 (exit $ac_status); }; } &&
16001 { ac_try='test -s conftest$ac_exeext'
16002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16003 (eval $ac_try) 2>&5
16005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16006 (exit $ac_status); }; }; then
16007 ac_cv_lib_m_csqrtf=yes
16009 echo "$as_me: failed program was:" >&5
16010 sed 's/^/| /' conftest.$ac_ext >&5
16012 ac_cv_lib_m_csqrtf=no
16014 rm -f conftest.err conftest.$ac_objext \
16015 conftest$ac_exeext conftest.$ac_ext
16016 LIBS=$ac_check_lib_save_LIBS
16018 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
16019 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
16020 if test $ac_cv_lib_m_csqrtf = yes; then
16022 cat >>confdefs.h <<\_ACEOF
16023 #define HAVE_CSQRTF 1
16028 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
16029 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
16030 if test "${ac_cv_lib_m_csqrt+set}" = set; then
16031 echo $ECHO_N "(cached) $ECHO_C" >&6
16033 ac_check_lib_save_LIBS=$LIBS
16035 if test x$gcc_no_link = xyes; then
16036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16038 { (exit 1); exit 1; }; }
16040 cat >conftest.$ac_ext <<_ACEOF
16043 cat confdefs.h >>conftest.$ac_ext
16044 cat >>conftest.$ac_ext <<_ACEOF
16045 /* end confdefs.h. */
16047 /* Override any gcc2 internal prototype to avoid an error. */
16051 /* We use char because int might match the return type of a gcc2
16052 builtin and then its argument prototype would still apply. */
16062 rm -f conftest.$ac_objext conftest$ac_exeext
16063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16064 (eval $ac_link) 2>conftest.er1
16066 grep -v '^ *+' conftest.er1 >conftest.err
16068 cat conftest.err >&5
16069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16070 (exit $ac_status); } &&
16071 { ac_try='test -z "$ac_c_werror_flag"
16072 || test ! -s conftest.err'
16073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16074 (eval $ac_try) 2>&5
16076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077 (exit $ac_status); }; } &&
16078 { ac_try='test -s conftest$ac_exeext'
16079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16080 (eval $ac_try) 2>&5
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); }; }; then
16084 ac_cv_lib_m_csqrt=yes
16086 echo "$as_me: failed program was:" >&5
16087 sed 's/^/| /' conftest.$ac_ext >&5
16089 ac_cv_lib_m_csqrt=no
16091 rm -f conftest.err conftest.$ac_objext \
16092 conftest$ac_exeext conftest.$ac_ext
16093 LIBS=$ac_check_lib_save_LIBS
16095 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
16096 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
16097 if test $ac_cv_lib_m_csqrt = yes; then
16099 cat >>confdefs.h <<\_ACEOF
16100 #define HAVE_CSQRT 1
16105 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
16106 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
16107 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
16108 echo $ECHO_N "(cached) $ECHO_C" >&6
16110 ac_check_lib_save_LIBS=$LIBS
16112 if test x$gcc_no_link = xyes; then
16113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16115 { (exit 1); exit 1; }; }
16117 cat >conftest.$ac_ext <<_ACEOF
16120 cat confdefs.h >>conftest.$ac_ext
16121 cat >>conftest.$ac_ext <<_ACEOF
16122 /* end confdefs.h. */
16124 /* Override any gcc2 internal prototype to avoid an error. */
16128 /* We use char because int might match the return type of a gcc2
16129 builtin and then its argument prototype would still apply. */
16139 rm -f conftest.$ac_objext conftest$ac_exeext
16140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16141 (eval $ac_link) 2>conftest.er1
16143 grep -v '^ *+' conftest.er1 >conftest.err
16145 cat conftest.err >&5
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); } &&
16148 { ac_try='test -z "$ac_c_werror_flag"
16149 || test ! -s conftest.err'
16150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16151 (eval $ac_try) 2>&5
16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); }; } &&
16155 { ac_try='test -s conftest$ac_exeext'
16156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16157 (eval $ac_try) 2>&5
16159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16160 (exit $ac_status); }; }; then
16161 ac_cv_lib_m_csqrtl=yes
16163 echo "$as_me: failed program was:" >&5
16164 sed 's/^/| /' conftest.$ac_ext >&5
16166 ac_cv_lib_m_csqrtl=no
16168 rm -f conftest.err conftest.$ac_objext \
16169 conftest$ac_exeext conftest.$ac_ext
16170 LIBS=$ac_check_lib_save_LIBS
16172 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
16173 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
16174 if test $ac_cv_lib_m_csqrtl = yes; then
16176 cat >>confdefs.h <<\_ACEOF
16177 #define HAVE_CSQRTL 1
16182 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
16183 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
16184 if test "${ac_cv_lib_m_tanf+set}" = set; then
16185 echo $ECHO_N "(cached) $ECHO_C" >&6
16187 ac_check_lib_save_LIBS=$LIBS
16189 if test x$gcc_no_link = xyes; then
16190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16192 { (exit 1); exit 1; }; }
16194 cat >conftest.$ac_ext <<_ACEOF
16197 cat confdefs.h >>conftest.$ac_ext
16198 cat >>conftest.$ac_ext <<_ACEOF
16199 /* end confdefs.h. */
16201 /* Override any gcc2 internal prototype to avoid an error. */
16205 /* We use char because int might match the return type of a gcc2
16206 builtin and then its argument prototype would still apply. */
16216 rm -f conftest.$ac_objext conftest$ac_exeext
16217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16218 (eval $ac_link) 2>conftest.er1
16220 grep -v '^ *+' conftest.er1 >conftest.err
16222 cat conftest.err >&5
16223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16224 (exit $ac_status); } &&
16225 { ac_try='test -z "$ac_c_werror_flag"
16226 || test ! -s conftest.err'
16227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16228 (eval $ac_try) 2>&5
16230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16231 (exit $ac_status); }; } &&
16232 { ac_try='test -s conftest$ac_exeext'
16233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16234 (eval $ac_try) 2>&5
16236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16237 (exit $ac_status); }; }; then
16238 ac_cv_lib_m_tanf=yes
16240 echo "$as_me: failed program was:" >&5
16241 sed 's/^/| /' conftest.$ac_ext >&5
16243 ac_cv_lib_m_tanf=no
16245 rm -f conftest.err conftest.$ac_objext \
16246 conftest$ac_exeext conftest.$ac_ext
16247 LIBS=$ac_check_lib_save_LIBS
16249 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
16250 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
16251 if test $ac_cv_lib_m_tanf = yes; then
16253 cat >>confdefs.h <<\_ACEOF
16254 #define HAVE_TANF 1
16259 echo "$as_me:$LINENO: checking for tan in -lm" >&5
16260 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
16261 if test "${ac_cv_lib_m_tan+set}" = set; then
16262 echo $ECHO_N "(cached) $ECHO_C" >&6
16264 ac_check_lib_save_LIBS=$LIBS
16266 if test x$gcc_no_link = xyes; then
16267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16269 { (exit 1); exit 1; }; }
16271 cat >conftest.$ac_ext <<_ACEOF
16274 cat confdefs.h >>conftest.$ac_ext
16275 cat >>conftest.$ac_ext <<_ACEOF
16276 /* end confdefs.h. */
16278 /* Override any gcc2 internal prototype to avoid an error. */
16282 /* We use char because int might match the return type of a gcc2
16283 builtin and then its argument prototype would still apply. */
16293 rm -f conftest.$ac_objext conftest$ac_exeext
16294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16295 (eval $ac_link) 2>conftest.er1
16297 grep -v '^ *+' conftest.er1 >conftest.err
16299 cat conftest.err >&5
16300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16301 (exit $ac_status); } &&
16302 { ac_try='test -z "$ac_c_werror_flag"
16303 || test ! -s conftest.err'
16304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16305 (eval $ac_try) 2>&5
16307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16308 (exit $ac_status); }; } &&
16309 { ac_try='test -s conftest$ac_exeext'
16310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16311 (eval $ac_try) 2>&5
16313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 (exit $ac_status); }; }; then
16315 ac_cv_lib_m_tan=yes
16317 echo "$as_me: failed program was:" >&5
16318 sed 's/^/| /' conftest.$ac_ext >&5
16322 rm -f conftest.err conftest.$ac_objext \
16323 conftest$ac_exeext conftest.$ac_ext
16324 LIBS=$ac_check_lib_save_LIBS
16326 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
16327 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
16328 if test $ac_cv_lib_m_tan = yes; then
16330 cat >>confdefs.h <<\_ACEOF
16336 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
16337 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
16338 if test "${ac_cv_lib_m_tanl+set}" = set; then
16339 echo $ECHO_N "(cached) $ECHO_C" >&6
16341 ac_check_lib_save_LIBS=$LIBS
16343 if test x$gcc_no_link = xyes; then
16344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16346 { (exit 1); exit 1; }; }
16348 cat >conftest.$ac_ext <<_ACEOF
16351 cat confdefs.h >>conftest.$ac_ext
16352 cat >>conftest.$ac_ext <<_ACEOF
16353 /* end confdefs.h. */
16355 /* Override any gcc2 internal prototype to avoid an error. */
16359 /* We use char because int might match the return type of a gcc2
16360 builtin and then its argument prototype would still apply. */
16370 rm -f conftest.$ac_objext conftest$ac_exeext
16371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16372 (eval $ac_link) 2>conftest.er1
16374 grep -v '^ *+' conftest.er1 >conftest.err
16376 cat conftest.err >&5
16377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16378 (exit $ac_status); } &&
16379 { ac_try='test -z "$ac_c_werror_flag"
16380 || test ! -s conftest.err'
16381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16382 (eval $ac_try) 2>&5
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); }; } &&
16386 { ac_try='test -s conftest$ac_exeext'
16387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16388 (eval $ac_try) 2>&5
16390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16391 (exit $ac_status); }; }; then
16392 ac_cv_lib_m_tanl=yes
16394 echo "$as_me: failed program was:" >&5
16395 sed 's/^/| /' conftest.$ac_ext >&5
16397 ac_cv_lib_m_tanl=no
16399 rm -f conftest.err conftest.$ac_objext \
16400 conftest$ac_exeext conftest.$ac_ext
16401 LIBS=$ac_check_lib_save_LIBS
16403 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
16404 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
16405 if test $ac_cv_lib_m_tanl = yes; then
16407 cat >>confdefs.h <<\_ACEOF
16408 #define HAVE_TANL 1
16413 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
16414 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
16415 if test "${ac_cv_lib_m_ctanf+set}" = set; then
16416 echo $ECHO_N "(cached) $ECHO_C" >&6
16418 ac_check_lib_save_LIBS=$LIBS
16420 if test x$gcc_no_link = xyes; then
16421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16423 { (exit 1); exit 1; }; }
16425 cat >conftest.$ac_ext <<_ACEOF
16428 cat confdefs.h >>conftest.$ac_ext
16429 cat >>conftest.$ac_ext <<_ACEOF
16430 /* end confdefs.h. */
16432 /* Override any gcc2 internal prototype to avoid an error. */
16436 /* We use char because int might match the return type of a gcc2
16437 builtin and then its argument prototype would still apply. */
16447 rm -f conftest.$ac_objext conftest$ac_exeext
16448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16449 (eval $ac_link) 2>conftest.er1
16451 grep -v '^ *+' conftest.er1 >conftest.err
16453 cat conftest.err >&5
16454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16455 (exit $ac_status); } &&
16456 { ac_try='test -z "$ac_c_werror_flag"
16457 || test ! -s conftest.err'
16458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16459 (eval $ac_try) 2>&5
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); }; } &&
16463 { ac_try='test -s conftest$ac_exeext'
16464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16465 (eval $ac_try) 2>&5
16467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468 (exit $ac_status); }; }; then
16469 ac_cv_lib_m_ctanf=yes
16471 echo "$as_me: failed program was:" >&5
16472 sed 's/^/| /' conftest.$ac_ext >&5
16474 ac_cv_lib_m_ctanf=no
16476 rm -f conftest.err conftest.$ac_objext \
16477 conftest$ac_exeext conftest.$ac_ext
16478 LIBS=$ac_check_lib_save_LIBS
16480 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
16481 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
16482 if test $ac_cv_lib_m_ctanf = yes; then
16484 cat >>confdefs.h <<\_ACEOF
16485 #define HAVE_CTANF 1
16490 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
16491 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
16492 if test "${ac_cv_lib_m_ctan+set}" = set; then
16493 echo $ECHO_N "(cached) $ECHO_C" >&6
16495 ac_check_lib_save_LIBS=$LIBS
16497 if test x$gcc_no_link = xyes; then
16498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16500 { (exit 1); exit 1; }; }
16502 cat >conftest.$ac_ext <<_ACEOF
16505 cat confdefs.h >>conftest.$ac_ext
16506 cat >>conftest.$ac_ext <<_ACEOF
16507 /* end confdefs.h. */
16509 /* Override any gcc2 internal prototype to avoid an error. */
16513 /* We use char because int might match the return type of a gcc2
16514 builtin and then its argument prototype would still apply. */
16524 rm -f conftest.$ac_objext conftest$ac_exeext
16525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16526 (eval $ac_link) 2>conftest.er1
16528 grep -v '^ *+' conftest.er1 >conftest.err
16530 cat conftest.err >&5
16531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16532 (exit $ac_status); } &&
16533 { ac_try='test -z "$ac_c_werror_flag"
16534 || test ! -s conftest.err'
16535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16536 (eval $ac_try) 2>&5
16538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16539 (exit $ac_status); }; } &&
16540 { ac_try='test -s conftest$ac_exeext'
16541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16542 (eval $ac_try) 2>&5
16544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16545 (exit $ac_status); }; }; then
16546 ac_cv_lib_m_ctan=yes
16548 echo "$as_me: failed program was:" >&5
16549 sed 's/^/| /' conftest.$ac_ext >&5
16551 ac_cv_lib_m_ctan=no
16553 rm -f conftest.err conftest.$ac_objext \
16554 conftest$ac_exeext conftest.$ac_ext
16555 LIBS=$ac_check_lib_save_LIBS
16557 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
16558 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
16559 if test $ac_cv_lib_m_ctan = yes; then
16561 cat >>confdefs.h <<\_ACEOF
16562 #define HAVE_CTAN 1
16567 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
16568 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
16569 if test "${ac_cv_lib_m_ctanl+set}" = set; then
16570 echo $ECHO_N "(cached) $ECHO_C" >&6
16572 ac_check_lib_save_LIBS=$LIBS
16574 if test x$gcc_no_link = xyes; then
16575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16577 { (exit 1); exit 1; }; }
16579 cat >conftest.$ac_ext <<_ACEOF
16582 cat confdefs.h >>conftest.$ac_ext
16583 cat >>conftest.$ac_ext <<_ACEOF
16584 /* end confdefs.h. */
16586 /* Override any gcc2 internal prototype to avoid an error. */
16590 /* We use char because int might match the return type of a gcc2
16591 builtin and then its argument prototype would still apply. */
16601 rm -f conftest.$ac_objext conftest$ac_exeext
16602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16603 (eval $ac_link) 2>conftest.er1
16605 grep -v '^ *+' conftest.er1 >conftest.err
16607 cat conftest.err >&5
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); } &&
16610 { ac_try='test -z "$ac_c_werror_flag"
16611 || test ! -s conftest.err'
16612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16613 (eval $ac_try) 2>&5
16615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16616 (exit $ac_status); }; } &&
16617 { ac_try='test -s conftest$ac_exeext'
16618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16619 (eval $ac_try) 2>&5
16621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16622 (exit $ac_status); }; }; then
16623 ac_cv_lib_m_ctanl=yes
16625 echo "$as_me: failed program was:" >&5
16626 sed 's/^/| /' conftest.$ac_ext >&5
16628 ac_cv_lib_m_ctanl=no
16630 rm -f conftest.err conftest.$ac_objext \
16631 conftest$ac_exeext conftest.$ac_ext
16632 LIBS=$ac_check_lib_save_LIBS
16634 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
16635 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
16636 if test $ac_cv_lib_m_ctanl = yes; then
16638 cat >>confdefs.h <<\_ACEOF
16639 #define HAVE_CTANL 1
16644 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
16645 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
16646 if test "${ac_cv_lib_m_tanhf+set}" = set; then
16647 echo $ECHO_N "(cached) $ECHO_C" >&6
16649 ac_check_lib_save_LIBS=$LIBS
16651 if test x$gcc_no_link = xyes; then
16652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16654 { (exit 1); exit 1; }; }
16656 cat >conftest.$ac_ext <<_ACEOF
16659 cat confdefs.h >>conftest.$ac_ext
16660 cat >>conftest.$ac_ext <<_ACEOF
16661 /* end confdefs.h. */
16663 /* Override any gcc2 internal prototype to avoid an error. */
16667 /* We use char because int might match the return type of a gcc2
16668 builtin and then its argument prototype would still apply. */
16678 rm -f conftest.$ac_objext conftest$ac_exeext
16679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16680 (eval $ac_link) 2>conftest.er1
16682 grep -v '^ *+' conftest.er1 >conftest.err
16684 cat conftest.err >&5
16685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16686 (exit $ac_status); } &&
16687 { ac_try='test -z "$ac_c_werror_flag"
16688 || test ! -s conftest.err'
16689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16690 (eval $ac_try) 2>&5
16692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16693 (exit $ac_status); }; } &&
16694 { ac_try='test -s conftest$ac_exeext'
16695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16696 (eval $ac_try) 2>&5
16698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16699 (exit $ac_status); }; }; then
16700 ac_cv_lib_m_tanhf=yes
16702 echo "$as_me: failed program was:" >&5
16703 sed 's/^/| /' conftest.$ac_ext >&5
16705 ac_cv_lib_m_tanhf=no
16707 rm -f conftest.err conftest.$ac_objext \
16708 conftest$ac_exeext conftest.$ac_ext
16709 LIBS=$ac_check_lib_save_LIBS
16711 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
16712 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
16713 if test $ac_cv_lib_m_tanhf = yes; then
16715 cat >>confdefs.h <<\_ACEOF
16716 #define HAVE_TANHF 1
16721 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
16722 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
16723 if test "${ac_cv_lib_m_tanh+set}" = set; then
16724 echo $ECHO_N "(cached) $ECHO_C" >&6
16726 ac_check_lib_save_LIBS=$LIBS
16728 if test x$gcc_no_link = xyes; then
16729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16731 { (exit 1); exit 1; }; }
16733 cat >conftest.$ac_ext <<_ACEOF
16736 cat confdefs.h >>conftest.$ac_ext
16737 cat >>conftest.$ac_ext <<_ACEOF
16738 /* end confdefs.h. */
16740 /* Override any gcc2 internal prototype to avoid an error. */
16744 /* We use char because int might match the return type of a gcc2
16745 builtin and then its argument prototype would still apply. */
16755 rm -f conftest.$ac_objext conftest$ac_exeext
16756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16757 (eval $ac_link) 2>conftest.er1
16759 grep -v '^ *+' conftest.er1 >conftest.err
16761 cat conftest.err >&5
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); } &&
16764 { ac_try='test -z "$ac_c_werror_flag"
16765 || test ! -s conftest.err'
16766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16767 (eval $ac_try) 2>&5
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); }; } &&
16771 { ac_try='test -s conftest$ac_exeext'
16772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16773 (eval $ac_try) 2>&5
16775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776 (exit $ac_status); }; }; then
16777 ac_cv_lib_m_tanh=yes
16779 echo "$as_me: failed program was:" >&5
16780 sed 's/^/| /' conftest.$ac_ext >&5
16782 ac_cv_lib_m_tanh=no
16784 rm -f conftest.err conftest.$ac_objext \
16785 conftest$ac_exeext conftest.$ac_ext
16786 LIBS=$ac_check_lib_save_LIBS
16788 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
16789 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
16790 if test $ac_cv_lib_m_tanh = yes; then
16792 cat >>confdefs.h <<\_ACEOF
16793 #define HAVE_TANH 1
16798 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
16799 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
16800 if test "${ac_cv_lib_m_tanhl+set}" = set; then
16801 echo $ECHO_N "(cached) $ECHO_C" >&6
16803 ac_check_lib_save_LIBS=$LIBS
16805 if test x$gcc_no_link = xyes; then
16806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16808 { (exit 1); exit 1; }; }
16810 cat >conftest.$ac_ext <<_ACEOF
16813 cat confdefs.h >>conftest.$ac_ext
16814 cat >>conftest.$ac_ext <<_ACEOF
16815 /* end confdefs.h. */
16817 /* Override any gcc2 internal prototype to avoid an error. */
16821 /* We use char because int might match the return type of a gcc2
16822 builtin and then its argument prototype would still apply. */
16832 rm -f conftest.$ac_objext conftest$ac_exeext
16833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16834 (eval $ac_link) 2>conftest.er1
16836 grep -v '^ *+' conftest.er1 >conftest.err
16838 cat conftest.err >&5
16839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16840 (exit $ac_status); } &&
16841 { ac_try='test -z "$ac_c_werror_flag"
16842 || test ! -s conftest.err'
16843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16844 (eval $ac_try) 2>&5
16846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16847 (exit $ac_status); }; } &&
16848 { ac_try='test -s conftest$ac_exeext'
16849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16850 (eval $ac_try) 2>&5
16852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16853 (exit $ac_status); }; }; then
16854 ac_cv_lib_m_tanhl=yes
16856 echo "$as_me: failed program was:" >&5
16857 sed 's/^/| /' conftest.$ac_ext >&5
16859 ac_cv_lib_m_tanhl=no
16861 rm -f conftest.err conftest.$ac_objext \
16862 conftest$ac_exeext conftest.$ac_ext
16863 LIBS=$ac_check_lib_save_LIBS
16865 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
16866 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
16867 if test $ac_cv_lib_m_tanhl = yes; then
16869 cat >>confdefs.h <<\_ACEOF
16870 #define HAVE_TANHL 1
16875 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
16876 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
16877 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
16878 echo $ECHO_N "(cached) $ECHO_C" >&6
16880 ac_check_lib_save_LIBS=$LIBS
16882 if test x$gcc_no_link = xyes; then
16883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16885 { (exit 1); exit 1; }; }
16887 cat >conftest.$ac_ext <<_ACEOF
16890 cat confdefs.h >>conftest.$ac_ext
16891 cat >>conftest.$ac_ext <<_ACEOF
16892 /* end confdefs.h. */
16894 /* Override any gcc2 internal prototype to avoid an error. */
16898 /* We use char because int might match the return type of a gcc2
16899 builtin and then its argument prototype would still apply. */
16909 rm -f conftest.$ac_objext conftest$ac_exeext
16910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16911 (eval $ac_link) 2>conftest.er1
16913 grep -v '^ *+' conftest.er1 >conftest.err
16915 cat conftest.err >&5
16916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917 (exit $ac_status); } &&
16918 { ac_try='test -z "$ac_c_werror_flag"
16919 || test ! -s conftest.err'
16920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16921 (eval $ac_try) 2>&5
16923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16924 (exit $ac_status); }; } &&
16925 { ac_try='test -s conftest$ac_exeext'
16926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16927 (eval $ac_try) 2>&5
16929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16930 (exit $ac_status); }; }; then
16931 ac_cv_lib_m_ctanhf=yes
16933 echo "$as_me: failed program was:" >&5
16934 sed 's/^/| /' conftest.$ac_ext >&5
16936 ac_cv_lib_m_ctanhf=no
16938 rm -f conftest.err conftest.$ac_objext \
16939 conftest$ac_exeext conftest.$ac_ext
16940 LIBS=$ac_check_lib_save_LIBS
16942 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
16943 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
16944 if test $ac_cv_lib_m_ctanhf = yes; then
16946 cat >>confdefs.h <<\_ACEOF
16947 #define HAVE_CTANHF 1
16952 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
16953 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
16954 if test "${ac_cv_lib_m_ctanh+set}" = set; then
16955 echo $ECHO_N "(cached) $ECHO_C" >&6
16957 ac_check_lib_save_LIBS=$LIBS
16959 if test x$gcc_no_link = xyes; then
16960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16962 { (exit 1); exit 1; }; }
16964 cat >conftest.$ac_ext <<_ACEOF
16967 cat confdefs.h >>conftest.$ac_ext
16968 cat >>conftest.$ac_ext <<_ACEOF
16969 /* end confdefs.h. */
16971 /* Override any gcc2 internal prototype to avoid an error. */
16975 /* We use char because int might match the return type of a gcc2
16976 builtin and then its argument prototype would still apply. */
16986 rm -f conftest.$ac_objext conftest$ac_exeext
16987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16988 (eval $ac_link) 2>conftest.er1
16990 grep -v '^ *+' conftest.er1 >conftest.err
16992 cat conftest.err >&5
16993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16994 (exit $ac_status); } &&
16995 { ac_try='test -z "$ac_c_werror_flag"
16996 || test ! -s conftest.err'
16997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16998 (eval $ac_try) 2>&5
17000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17001 (exit $ac_status); }; } &&
17002 { ac_try='test -s conftest$ac_exeext'
17003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17004 (eval $ac_try) 2>&5
17006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17007 (exit $ac_status); }; }; then
17008 ac_cv_lib_m_ctanh=yes
17010 echo "$as_me: failed program was:" >&5
17011 sed 's/^/| /' conftest.$ac_ext >&5
17013 ac_cv_lib_m_ctanh=no
17015 rm -f conftest.err conftest.$ac_objext \
17016 conftest$ac_exeext conftest.$ac_ext
17017 LIBS=$ac_check_lib_save_LIBS
17019 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
17020 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
17021 if test $ac_cv_lib_m_ctanh = yes; then
17023 cat >>confdefs.h <<\_ACEOF
17024 #define HAVE_CTANH 1
17029 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
17030 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
17031 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
17032 echo $ECHO_N "(cached) $ECHO_C" >&6
17034 ac_check_lib_save_LIBS=$LIBS
17036 if test x$gcc_no_link = xyes; then
17037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17039 { (exit 1); exit 1; }; }
17041 cat >conftest.$ac_ext <<_ACEOF
17044 cat confdefs.h >>conftest.$ac_ext
17045 cat >>conftest.$ac_ext <<_ACEOF
17046 /* end confdefs.h. */
17048 /* Override any gcc2 internal prototype to avoid an error. */
17052 /* We use char because int might match the return type of a gcc2
17053 builtin and then its argument prototype would still apply. */
17063 rm -f conftest.$ac_objext conftest$ac_exeext
17064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17065 (eval $ac_link) 2>conftest.er1
17067 grep -v '^ *+' conftest.er1 >conftest.err
17069 cat conftest.err >&5
17070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17071 (exit $ac_status); } &&
17072 { ac_try='test -z "$ac_c_werror_flag"
17073 || test ! -s conftest.err'
17074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17075 (eval $ac_try) 2>&5
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); }; } &&
17079 { ac_try='test -s conftest$ac_exeext'
17080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17081 (eval $ac_try) 2>&5
17083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17084 (exit $ac_status); }; }; then
17085 ac_cv_lib_m_ctanhl=yes
17087 echo "$as_me: failed program was:" >&5
17088 sed 's/^/| /' conftest.$ac_ext >&5
17090 ac_cv_lib_m_ctanhl=no
17092 rm -f conftest.err conftest.$ac_objext \
17093 conftest$ac_exeext conftest.$ac_ext
17094 LIBS=$ac_check_lib_save_LIBS
17096 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
17097 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
17098 if test $ac_cv_lib_m_ctanhl = yes; then
17100 cat >>confdefs.h <<\_ACEOF
17101 #define HAVE_CTANHL 1
17106 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
17107 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
17108 if test "${ac_cv_lib_m_truncf+set}" = set; then
17109 echo $ECHO_N "(cached) $ECHO_C" >&6
17111 ac_check_lib_save_LIBS=$LIBS
17113 if test x$gcc_no_link = xyes; then
17114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17116 { (exit 1); exit 1; }; }
17118 cat >conftest.$ac_ext <<_ACEOF
17121 cat confdefs.h >>conftest.$ac_ext
17122 cat >>conftest.$ac_ext <<_ACEOF
17123 /* end confdefs.h. */
17125 /* Override any gcc2 internal prototype to avoid an error. */
17129 /* We use char because int might match the return type of a gcc2
17130 builtin and then its argument prototype would still apply. */
17140 rm -f conftest.$ac_objext conftest$ac_exeext
17141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17142 (eval $ac_link) 2>conftest.er1
17144 grep -v '^ *+' conftest.er1 >conftest.err
17146 cat conftest.err >&5
17147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17148 (exit $ac_status); } &&
17149 { ac_try='test -z "$ac_c_werror_flag"
17150 || test ! -s conftest.err'
17151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17152 (eval $ac_try) 2>&5
17154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); }; } &&
17156 { ac_try='test -s conftest$ac_exeext'
17157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17158 (eval $ac_try) 2>&5
17160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17161 (exit $ac_status); }; }; then
17162 ac_cv_lib_m_truncf=yes
17164 echo "$as_me: failed program was:" >&5
17165 sed 's/^/| /' conftest.$ac_ext >&5
17167 ac_cv_lib_m_truncf=no
17169 rm -f conftest.err conftest.$ac_objext \
17170 conftest$ac_exeext conftest.$ac_ext
17171 LIBS=$ac_check_lib_save_LIBS
17173 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
17174 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
17175 if test $ac_cv_lib_m_truncf = yes; then
17177 cat >>confdefs.h <<\_ACEOF
17178 #define HAVE_TRUNCF 1
17183 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
17184 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
17185 if test "${ac_cv_lib_m_trunc+set}" = set; then
17186 echo $ECHO_N "(cached) $ECHO_C" >&6
17188 ac_check_lib_save_LIBS=$LIBS
17190 if test x$gcc_no_link = xyes; then
17191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17193 { (exit 1); exit 1; }; }
17195 cat >conftest.$ac_ext <<_ACEOF
17198 cat confdefs.h >>conftest.$ac_ext
17199 cat >>conftest.$ac_ext <<_ACEOF
17200 /* end confdefs.h. */
17202 /* Override any gcc2 internal prototype to avoid an error. */
17206 /* We use char because int might match the return type of a gcc2
17207 builtin and then its argument prototype would still apply. */
17217 rm -f conftest.$ac_objext conftest$ac_exeext
17218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17219 (eval $ac_link) 2>conftest.er1
17221 grep -v '^ *+' conftest.er1 >conftest.err
17223 cat conftest.err >&5
17224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17225 (exit $ac_status); } &&
17226 { ac_try='test -z "$ac_c_werror_flag"
17227 || test ! -s conftest.err'
17228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17229 (eval $ac_try) 2>&5
17231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17232 (exit $ac_status); }; } &&
17233 { ac_try='test -s conftest$ac_exeext'
17234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17235 (eval $ac_try) 2>&5
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); }; }; then
17239 ac_cv_lib_m_trunc=yes
17241 echo "$as_me: failed program was:" >&5
17242 sed 's/^/| /' conftest.$ac_ext >&5
17244 ac_cv_lib_m_trunc=no
17246 rm -f conftest.err conftest.$ac_objext \
17247 conftest$ac_exeext conftest.$ac_ext
17248 LIBS=$ac_check_lib_save_LIBS
17250 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
17251 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
17252 if test $ac_cv_lib_m_trunc = yes; then
17254 cat >>confdefs.h <<\_ACEOF
17255 #define HAVE_TRUNC 1
17260 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
17261 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
17262 if test "${ac_cv_lib_m_truncl+set}" = set; then
17263 echo $ECHO_N "(cached) $ECHO_C" >&6
17265 ac_check_lib_save_LIBS=$LIBS
17267 if test x$gcc_no_link = xyes; then
17268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17270 { (exit 1); exit 1; }; }
17272 cat >conftest.$ac_ext <<_ACEOF
17275 cat confdefs.h >>conftest.$ac_ext
17276 cat >>conftest.$ac_ext <<_ACEOF
17277 /* end confdefs.h. */
17279 /* Override any gcc2 internal prototype to avoid an error. */
17283 /* We use char because int might match the return type of a gcc2
17284 builtin and then its argument prototype would still apply. */
17294 rm -f conftest.$ac_objext conftest$ac_exeext
17295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17296 (eval $ac_link) 2>conftest.er1
17298 grep -v '^ *+' conftest.er1 >conftest.err
17300 cat conftest.err >&5
17301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17302 (exit $ac_status); } &&
17303 { ac_try='test -z "$ac_c_werror_flag"
17304 || test ! -s conftest.err'
17305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17306 (eval $ac_try) 2>&5
17308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17309 (exit $ac_status); }; } &&
17310 { ac_try='test -s conftest$ac_exeext'
17311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17312 (eval $ac_try) 2>&5
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); }; }; then
17316 ac_cv_lib_m_truncl=yes
17318 echo "$as_me: failed program was:" >&5
17319 sed 's/^/| /' conftest.$ac_ext >&5
17321 ac_cv_lib_m_truncl=no
17323 rm -f conftest.err conftest.$ac_objext \
17324 conftest$ac_exeext conftest.$ac_ext
17325 LIBS=$ac_check_lib_save_LIBS
17327 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
17328 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
17329 if test $ac_cv_lib_m_truncl = yes; then
17331 cat >>confdefs.h <<\_ACEOF
17332 #define HAVE_TRUNCL 1
17337 echo "$as_me:$LINENO: checking for erff in -lm" >&5
17338 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
17339 if test "${ac_cv_lib_m_erff+set}" = set; then
17340 echo $ECHO_N "(cached) $ECHO_C" >&6
17342 ac_check_lib_save_LIBS=$LIBS
17344 if test x$gcc_no_link = xyes; then
17345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17347 { (exit 1); exit 1; }; }
17349 cat >conftest.$ac_ext <<_ACEOF
17352 cat confdefs.h >>conftest.$ac_ext
17353 cat >>conftest.$ac_ext <<_ACEOF
17354 /* end confdefs.h. */
17356 /* Override any gcc2 internal prototype to avoid an error. */
17360 /* We use char because int might match the return type of a gcc2
17361 builtin and then its argument prototype would still apply. */
17371 rm -f conftest.$ac_objext conftest$ac_exeext
17372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17373 (eval $ac_link) 2>conftest.er1
17375 grep -v '^ *+' conftest.er1 >conftest.err
17377 cat conftest.err >&5
17378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17379 (exit $ac_status); } &&
17380 { ac_try='test -z "$ac_c_werror_flag"
17381 || test ! -s conftest.err'
17382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17383 (eval $ac_try) 2>&5
17385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17386 (exit $ac_status); }; } &&
17387 { ac_try='test -s conftest$ac_exeext'
17388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17389 (eval $ac_try) 2>&5
17391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); }; }; then
17393 ac_cv_lib_m_erff=yes
17395 echo "$as_me: failed program was:" >&5
17396 sed 's/^/| /' conftest.$ac_ext >&5
17398 ac_cv_lib_m_erff=no
17400 rm -f conftest.err conftest.$ac_objext \
17401 conftest$ac_exeext conftest.$ac_ext
17402 LIBS=$ac_check_lib_save_LIBS
17404 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
17405 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
17406 if test $ac_cv_lib_m_erff = yes; then
17408 cat >>confdefs.h <<\_ACEOF
17409 #define HAVE_ERFF 1
17414 echo "$as_me:$LINENO: checking for erf in -lm" >&5
17415 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
17416 if test "${ac_cv_lib_m_erf+set}" = set; then
17417 echo $ECHO_N "(cached) $ECHO_C" >&6
17419 ac_check_lib_save_LIBS=$LIBS
17421 if test x$gcc_no_link = xyes; then
17422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17424 { (exit 1); exit 1; }; }
17426 cat >conftest.$ac_ext <<_ACEOF
17429 cat confdefs.h >>conftest.$ac_ext
17430 cat >>conftest.$ac_ext <<_ACEOF
17431 /* end confdefs.h. */
17433 /* Override any gcc2 internal prototype to avoid an error. */
17437 /* We use char because int might match the return type of a gcc2
17438 builtin and then its argument prototype would still apply. */
17448 rm -f conftest.$ac_objext conftest$ac_exeext
17449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17450 (eval $ac_link) 2>conftest.er1
17452 grep -v '^ *+' conftest.er1 >conftest.err
17454 cat conftest.err >&5
17455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456 (exit $ac_status); } &&
17457 { ac_try='test -z "$ac_c_werror_flag"
17458 || test ! -s conftest.err'
17459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17460 (eval $ac_try) 2>&5
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); }; } &&
17464 { ac_try='test -s conftest$ac_exeext'
17465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17466 (eval $ac_try) 2>&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); }; }; then
17470 ac_cv_lib_m_erf=yes
17472 echo "$as_me: failed program was:" >&5
17473 sed 's/^/| /' conftest.$ac_ext >&5
17477 rm -f conftest.err conftest.$ac_objext \
17478 conftest$ac_exeext conftest.$ac_ext
17479 LIBS=$ac_check_lib_save_LIBS
17481 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
17482 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
17483 if test $ac_cv_lib_m_erf = yes; then
17485 cat >>confdefs.h <<\_ACEOF
17491 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
17492 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
17493 if test "${ac_cv_lib_m_erfl+set}" = set; then
17494 echo $ECHO_N "(cached) $ECHO_C" >&6
17496 ac_check_lib_save_LIBS=$LIBS
17498 if test x$gcc_no_link = xyes; then
17499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17501 { (exit 1); exit 1; }; }
17503 cat >conftest.$ac_ext <<_ACEOF
17506 cat confdefs.h >>conftest.$ac_ext
17507 cat >>conftest.$ac_ext <<_ACEOF
17508 /* end confdefs.h. */
17510 /* Override any gcc2 internal prototype to avoid an error. */
17514 /* We use char because int might match the return type of a gcc2
17515 builtin and then its argument prototype would still apply. */
17525 rm -f conftest.$ac_objext conftest$ac_exeext
17526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17527 (eval $ac_link) 2>conftest.er1
17529 grep -v '^ *+' conftest.er1 >conftest.err
17531 cat conftest.err >&5
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); } &&
17534 { ac_try='test -z "$ac_c_werror_flag"
17535 || test ! -s conftest.err'
17536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17537 (eval $ac_try) 2>&5
17539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17540 (exit $ac_status); }; } &&
17541 { ac_try='test -s conftest$ac_exeext'
17542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17543 (eval $ac_try) 2>&5
17545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17546 (exit $ac_status); }; }; then
17547 ac_cv_lib_m_erfl=yes
17549 echo "$as_me: failed program was:" >&5
17550 sed 's/^/| /' conftest.$ac_ext >&5
17552 ac_cv_lib_m_erfl=no
17554 rm -f conftest.err conftest.$ac_objext \
17555 conftest$ac_exeext conftest.$ac_ext
17556 LIBS=$ac_check_lib_save_LIBS
17558 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
17559 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
17560 if test $ac_cv_lib_m_erfl = yes; then
17562 cat >>confdefs.h <<\_ACEOF
17563 #define HAVE_ERFL 1
17568 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
17569 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
17570 if test "${ac_cv_lib_m_erfcf+set}" = set; then
17571 echo $ECHO_N "(cached) $ECHO_C" >&6
17573 ac_check_lib_save_LIBS=$LIBS
17575 if test x$gcc_no_link = xyes; then
17576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17578 { (exit 1); exit 1; }; }
17580 cat >conftest.$ac_ext <<_ACEOF
17583 cat confdefs.h >>conftest.$ac_ext
17584 cat >>conftest.$ac_ext <<_ACEOF
17585 /* end confdefs.h. */
17587 /* Override any gcc2 internal prototype to avoid an error. */
17591 /* We use char because int might match the return type of a gcc2
17592 builtin and then its argument prototype would still apply. */
17602 rm -f conftest.$ac_objext conftest$ac_exeext
17603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17604 (eval $ac_link) 2>conftest.er1
17606 grep -v '^ *+' conftest.er1 >conftest.err
17608 cat conftest.err >&5
17609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17610 (exit $ac_status); } &&
17611 { ac_try='test -z "$ac_c_werror_flag"
17612 || test ! -s conftest.err'
17613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17614 (eval $ac_try) 2>&5
17616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617 (exit $ac_status); }; } &&
17618 { ac_try='test -s conftest$ac_exeext'
17619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17620 (eval $ac_try) 2>&5
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); }; }; then
17624 ac_cv_lib_m_erfcf=yes
17626 echo "$as_me: failed program was:" >&5
17627 sed 's/^/| /' conftest.$ac_ext >&5
17629 ac_cv_lib_m_erfcf=no
17631 rm -f conftest.err conftest.$ac_objext \
17632 conftest$ac_exeext conftest.$ac_ext
17633 LIBS=$ac_check_lib_save_LIBS
17635 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
17636 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
17637 if test $ac_cv_lib_m_erfcf = yes; then
17639 cat >>confdefs.h <<\_ACEOF
17640 #define HAVE_ERFCF 1
17645 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
17646 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
17647 if test "${ac_cv_lib_m_erfc+set}" = set; then
17648 echo $ECHO_N "(cached) $ECHO_C" >&6
17650 ac_check_lib_save_LIBS=$LIBS
17652 if test x$gcc_no_link = xyes; then
17653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17655 { (exit 1); exit 1; }; }
17657 cat >conftest.$ac_ext <<_ACEOF
17660 cat confdefs.h >>conftest.$ac_ext
17661 cat >>conftest.$ac_ext <<_ACEOF
17662 /* end confdefs.h. */
17664 /* Override any gcc2 internal prototype to avoid an error. */
17668 /* We use char because int might match the return type of a gcc2
17669 builtin and then its argument prototype would still apply. */
17679 rm -f conftest.$ac_objext conftest$ac_exeext
17680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17681 (eval $ac_link) 2>conftest.er1
17683 grep -v '^ *+' conftest.er1 >conftest.err
17685 cat conftest.err >&5
17686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17687 (exit $ac_status); } &&
17688 { ac_try='test -z "$ac_c_werror_flag"
17689 || test ! -s conftest.err'
17690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17691 (eval $ac_try) 2>&5
17693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17694 (exit $ac_status); }; } &&
17695 { ac_try='test -s conftest$ac_exeext'
17696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17697 (eval $ac_try) 2>&5
17699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17700 (exit $ac_status); }; }; then
17701 ac_cv_lib_m_erfc=yes
17703 echo "$as_me: failed program was:" >&5
17704 sed 's/^/| /' conftest.$ac_ext >&5
17706 ac_cv_lib_m_erfc=no
17708 rm -f conftest.err conftest.$ac_objext \
17709 conftest$ac_exeext conftest.$ac_ext
17710 LIBS=$ac_check_lib_save_LIBS
17712 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
17713 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
17714 if test $ac_cv_lib_m_erfc = yes; then
17716 cat >>confdefs.h <<\_ACEOF
17717 #define HAVE_ERFC 1
17722 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
17723 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
17724 if test "${ac_cv_lib_m_erfcl+set}" = set; then
17725 echo $ECHO_N "(cached) $ECHO_C" >&6
17727 ac_check_lib_save_LIBS=$LIBS
17729 if test x$gcc_no_link = xyes; then
17730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17732 { (exit 1); exit 1; }; }
17734 cat >conftest.$ac_ext <<_ACEOF
17737 cat confdefs.h >>conftest.$ac_ext
17738 cat >>conftest.$ac_ext <<_ACEOF
17739 /* end confdefs.h. */
17741 /* Override any gcc2 internal prototype to avoid an error. */
17745 /* We use char because int might match the return type of a gcc2
17746 builtin and then its argument prototype would still apply. */
17756 rm -f conftest.$ac_objext conftest$ac_exeext
17757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17758 (eval $ac_link) 2>conftest.er1
17760 grep -v '^ *+' conftest.er1 >conftest.err
17762 cat conftest.err >&5
17763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17764 (exit $ac_status); } &&
17765 { ac_try='test -z "$ac_c_werror_flag"
17766 || test ! -s conftest.err'
17767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17768 (eval $ac_try) 2>&5
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); }; } &&
17772 { ac_try='test -s conftest$ac_exeext'
17773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17774 (eval $ac_try) 2>&5
17776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17777 (exit $ac_status); }; }; then
17778 ac_cv_lib_m_erfcl=yes
17780 echo "$as_me: failed program was:" >&5
17781 sed 's/^/| /' conftest.$ac_ext >&5
17783 ac_cv_lib_m_erfcl=no
17785 rm -f conftest.err conftest.$ac_objext \
17786 conftest$ac_exeext conftest.$ac_ext
17787 LIBS=$ac_check_lib_save_LIBS
17789 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
17790 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
17791 if test $ac_cv_lib_m_erfcl = yes; then
17793 cat >>confdefs.h <<\_ACEOF
17794 #define HAVE_ERFCL 1
17799 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
17800 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
17801 if test "${ac_cv_lib_m_j0f+set}" = set; then
17802 echo $ECHO_N "(cached) $ECHO_C" >&6
17804 ac_check_lib_save_LIBS=$LIBS
17806 if test x$gcc_no_link = xyes; then
17807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17809 { (exit 1); exit 1; }; }
17811 cat >conftest.$ac_ext <<_ACEOF
17814 cat confdefs.h >>conftest.$ac_ext
17815 cat >>conftest.$ac_ext <<_ACEOF
17816 /* end confdefs.h. */
17818 /* Override any gcc2 internal prototype to avoid an error. */
17822 /* We use char because int might match the return type of a gcc2
17823 builtin and then its argument prototype would still apply. */
17833 rm -f conftest.$ac_objext conftest$ac_exeext
17834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17835 (eval $ac_link) 2>conftest.er1
17837 grep -v '^ *+' conftest.er1 >conftest.err
17839 cat conftest.err >&5
17840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17841 (exit $ac_status); } &&
17842 { ac_try='test -z "$ac_c_werror_flag"
17843 || test ! -s conftest.err'
17844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17845 (eval $ac_try) 2>&5
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); }; } &&
17849 { ac_try='test -s conftest$ac_exeext'
17850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17851 (eval $ac_try) 2>&5
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); }; }; then
17855 ac_cv_lib_m_j0f=yes
17857 echo "$as_me: failed program was:" >&5
17858 sed 's/^/| /' conftest.$ac_ext >&5
17862 rm -f conftest.err conftest.$ac_objext \
17863 conftest$ac_exeext conftest.$ac_ext
17864 LIBS=$ac_check_lib_save_LIBS
17866 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
17867 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
17868 if test $ac_cv_lib_m_j0f = yes; then
17870 cat >>confdefs.h <<\_ACEOF
17876 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
17877 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
17878 if test "${ac_cv_lib_m_j0+set}" = set; then
17879 echo $ECHO_N "(cached) $ECHO_C" >&6
17881 ac_check_lib_save_LIBS=$LIBS
17883 if test x$gcc_no_link = xyes; then
17884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17886 { (exit 1); exit 1; }; }
17888 cat >conftest.$ac_ext <<_ACEOF
17891 cat confdefs.h >>conftest.$ac_ext
17892 cat >>conftest.$ac_ext <<_ACEOF
17893 /* end confdefs.h. */
17895 /* Override any gcc2 internal prototype to avoid an error. */
17899 /* We use char because int might match the return type of a gcc2
17900 builtin and then its argument prototype would still apply. */
17910 rm -f conftest.$ac_objext conftest$ac_exeext
17911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17912 (eval $ac_link) 2>conftest.er1
17914 grep -v '^ *+' conftest.er1 >conftest.err
17916 cat conftest.err >&5
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); } &&
17919 { ac_try='test -z "$ac_c_werror_flag"
17920 || test ! -s conftest.err'
17921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17922 (eval $ac_try) 2>&5
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); }; } &&
17926 { ac_try='test -s conftest$ac_exeext'
17927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17928 (eval $ac_try) 2>&5
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); }; }; then
17934 echo "$as_me: failed program was:" >&5
17935 sed 's/^/| /' conftest.$ac_ext >&5
17939 rm -f conftest.err conftest.$ac_objext \
17940 conftest$ac_exeext conftest.$ac_ext
17941 LIBS=$ac_check_lib_save_LIBS
17943 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
17944 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
17945 if test $ac_cv_lib_m_j0 = yes; then
17947 cat >>confdefs.h <<\_ACEOF
17953 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
17954 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
17955 if test "${ac_cv_lib_m_j0l+set}" = set; then
17956 echo $ECHO_N "(cached) $ECHO_C" >&6
17958 ac_check_lib_save_LIBS=$LIBS
17960 if test x$gcc_no_link = xyes; then
17961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17963 { (exit 1); exit 1; }; }
17965 cat >conftest.$ac_ext <<_ACEOF
17968 cat confdefs.h >>conftest.$ac_ext
17969 cat >>conftest.$ac_ext <<_ACEOF
17970 /* end confdefs.h. */
17972 /* Override any gcc2 internal prototype to avoid an error. */
17976 /* We use char because int might match the return type of a gcc2
17977 builtin and then its argument prototype would still apply. */
17987 rm -f conftest.$ac_objext conftest$ac_exeext
17988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17989 (eval $ac_link) 2>conftest.er1
17991 grep -v '^ *+' conftest.er1 >conftest.err
17993 cat conftest.err >&5
17994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17995 (exit $ac_status); } &&
17996 { ac_try='test -z "$ac_c_werror_flag"
17997 || test ! -s conftest.err'
17998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17999 (eval $ac_try) 2>&5
18001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18002 (exit $ac_status); }; } &&
18003 { ac_try='test -s conftest$ac_exeext'
18004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18005 (eval $ac_try) 2>&5
18007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18008 (exit $ac_status); }; }; then
18009 ac_cv_lib_m_j0l=yes
18011 echo "$as_me: failed program was:" >&5
18012 sed 's/^/| /' conftest.$ac_ext >&5
18016 rm -f conftest.err conftest.$ac_objext \
18017 conftest$ac_exeext conftest.$ac_ext
18018 LIBS=$ac_check_lib_save_LIBS
18020 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
18021 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
18022 if test $ac_cv_lib_m_j0l = yes; then
18024 cat >>confdefs.h <<\_ACEOF
18030 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
18031 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
18032 if test "${ac_cv_lib_m_j1f+set}" = set; then
18033 echo $ECHO_N "(cached) $ECHO_C" >&6
18035 ac_check_lib_save_LIBS=$LIBS
18037 if test x$gcc_no_link = xyes; then
18038 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18040 { (exit 1); exit 1; }; }
18042 cat >conftest.$ac_ext <<_ACEOF
18045 cat confdefs.h >>conftest.$ac_ext
18046 cat >>conftest.$ac_ext <<_ACEOF
18047 /* end confdefs.h. */
18049 /* Override any gcc2 internal prototype to avoid an error. */
18053 /* We use char because int might match the return type of a gcc2
18054 builtin and then its argument prototype would still apply. */
18064 rm -f conftest.$ac_objext conftest$ac_exeext
18065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18066 (eval $ac_link) 2>conftest.er1
18068 grep -v '^ *+' conftest.er1 >conftest.err
18070 cat conftest.err >&5
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); } &&
18073 { ac_try='test -z "$ac_c_werror_flag"
18074 || test ! -s conftest.err'
18075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18076 (eval $ac_try) 2>&5
18078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079 (exit $ac_status); }; } &&
18080 { ac_try='test -s conftest$ac_exeext'
18081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18082 (eval $ac_try) 2>&5
18084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18085 (exit $ac_status); }; }; then
18086 ac_cv_lib_m_j1f=yes
18088 echo "$as_me: failed program was:" >&5
18089 sed 's/^/| /' conftest.$ac_ext >&5
18093 rm -f conftest.err conftest.$ac_objext \
18094 conftest$ac_exeext conftest.$ac_ext
18095 LIBS=$ac_check_lib_save_LIBS
18097 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
18098 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
18099 if test $ac_cv_lib_m_j1f = yes; then
18101 cat >>confdefs.h <<\_ACEOF
18107 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
18108 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
18109 if test "${ac_cv_lib_m_j1+set}" = set; then
18110 echo $ECHO_N "(cached) $ECHO_C" >&6
18112 ac_check_lib_save_LIBS=$LIBS
18114 if test x$gcc_no_link = xyes; then
18115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18117 { (exit 1); exit 1; }; }
18119 cat >conftest.$ac_ext <<_ACEOF
18122 cat confdefs.h >>conftest.$ac_ext
18123 cat >>conftest.$ac_ext <<_ACEOF
18124 /* end confdefs.h. */
18126 /* Override any gcc2 internal prototype to avoid an error. */
18130 /* We use char because int might match the return type of a gcc2
18131 builtin and then its argument prototype would still apply. */
18141 rm -f conftest.$ac_objext conftest$ac_exeext
18142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18143 (eval $ac_link) 2>conftest.er1
18145 grep -v '^ *+' conftest.er1 >conftest.err
18147 cat conftest.err >&5
18148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18149 (exit $ac_status); } &&
18150 { ac_try='test -z "$ac_c_werror_flag"
18151 || test ! -s conftest.err'
18152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18153 (eval $ac_try) 2>&5
18155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18156 (exit $ac_status); }; } &&
18157 { ac_try='test -s conftest$ac_exeext'
18158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18159 (eval $ac_try) 2>&5
18161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18162 (exit $ac_status); }; }; then
18165 echo "$as_me: failed program was:" >&5
18166 sed 's/^/| /' conftest.$ac_ext >&5
18170 rm -f conftest.err conftest.$ac_objext \
18171 conftest$ac_exeext conftest.$ac_ext
18172 LIBS=$ac_check_lib_save_LIBS
18174 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
18175 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
18176 if test $ac_cv_lib_m_j1 = yes; then
18178 cat >>confdefs.h <<\_ACEOF
18184 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
18185 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
18186 if test "${ac_cv_lib_m_j1l+set}" = set; then
18187 echo $ECHO_N "(cached) $ECHO_C" >&6
18189 ac_check_lib_save_LIBS=$LIBS
18191 if test x$gcc_no_link = xyes; then
18192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18194 { (exit 1); exit 1; }; }
18196 cat >conftest.$ac_ext <<_ACEOF
18199 cat confdefs.h >>conftest.$ac_ext
18200 cat >>conftest.$ac_ext <<_ACEOF
18201 /* end confdefs.h. */
18203 /* Override any gcc2 internal prototype to avoid an error. */
18207 /* We use char because int might match the return type of a gcc2
18208 builtin and then its argument prototype would still apply. */
18218 rm -f conftest.$ac_objext conftest$ac_exeext
18219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18220 (eval $ac_link) 2>conftest.er1
18222 grep -v '^ *+' conftest.er1 >conftest.err
18224 cat conftest.err >&5
18225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226 (exit $ac_status); } &&
18227 { ac_try='test -z "$ac_c_werror_flag"
18228 || test ! -s conftest.err'
18229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18230 (eval $ac_try) 2>&5
18232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18233 (exit $ac_status); }; } &&
18234 { ac_try='test -s conftest$ac_exeext'
18235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18236 (eval $ac_try) 2>&5
18238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18239 (exit $ac_status); }; }; then
18240 ac_cv_lib_m_j1l=yes
18242 echo "$as_me: failed program was:" >&5
18243 sed 's/^/| /' conftest.$ac_ext >&5
18247 rm -f conftest.err conftest.$ac_objext \
18248 conftest$ac_exeext conftest.$ac_ext
18249 LIBS=$ac_check_lib_save_LIBS
18251 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
18252 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
18253 if test $ac_cv_lib_m_j1l = yes; then
18255 cat >>confdefs.h <<\_ACEOF
18261 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
18262 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
18263 if test "${ac_cv_lib_m_jnf+set}" = set; then
18264 echo $ECHO_N "(cached) $ECHO_C" >&6
18266 ac_check_lib_save_LIBS=$LIBS
18268 if test x$gcc_no_link = xyes; then
18269 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18271 { (exit 1); exit 1; }; }
18273 cat >conftest.$ac_ext <<_ACEOF
18276 cat confdefs.h >>conftest.$ac_ext
18277 cat >>conftest.$ac_ext <<_ACEOF
18278 /* end confdefs.h. */
18280 /* Override any gcc2 internal prototype to avoid an error. */
18284 /* We use char because int might match the return type of a gcc2
18285 builtin and then its argument prototype would still apply. */
18295 rm -f conftest.$ac_objext conftest$ac_exeext
18296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18297 (eval $ac_link) 2>conftest.er1
18299 grep -v '^ *+' conftest.er1 >conftest.err
18301 cat conftest.err >&5
18302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18303 (exit $ac_status); } &&
18304 { ac_try='test -z "$ac_c_werror_flag"
18305 || test ! -s conftest.err'
18306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18307 (eval $ac_try) 2>&5
18309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18310 (exit $ac_status); }; } &&
18311 { ac_try='test -s conftest$ac_exeext'
18312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18313 (eval $ac_try) 2>&5
18315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18316 (exit $ac_status); }; }; then
18317 ac_cv_lib_m_jnf=yes
18319 echo "$as_me: failed program was:" >&5
18320 sed 's/^/| /' conftest.$ac_ext >&5
18324 rm -f conftest.err conftest.$ac_objext \
18325 conftest$ac_exeext conftest.$ac_ext
18326 LIBS=$ac_check_lib_save_LIBS
18328 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
18329 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
18330 if test $ac_cv_lib_m_jnf = yes; then
18332 cat >>confdefs.h <<\_ACEOF
18338 echo "$as_me:$LINENO: checking for jn in -lm" >&5
18339 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
18340 if test "${ac_cv_lib_m_jn+set}" = set; then
18341 echo $ECHO_N "(cached) $ECHO_C" >&6
18343 ac_check_lib_save_LIBS=$LIBS
18345 if test x$gcc_no_link = xyes; then
18346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18348 { (exit 1); exit 1; }; }
18350 cat >conftest.$ac_ext <<_ACEOF
18353 cat confdefs.h >>conftest.$ac_ext
18354 cat >>conftest.$ac_ext <<_ACEOF
18355 /* end confdefs.h. */
18357 /* Override any gcc2 internal prototype to avoid an error. */
18361 /* We use char because int might match the return type of a gcc2
18362 builtin and then its argument prototype would still apply. */
18372 rm -f conftest.$ac_objext conftest$ac_exeext
18373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18374 (eval $ac_link) 2>conftest.er1
18376 grep -v '^ *+' conftest.er1 >conftest.err
18378 cat conftest.err >&5
18379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18380 (exit $ac_status); } &&
18381 { ac_try='test -z "$ac_c_werror_flag"
18382 || test ! -s conftest.err'
18383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18384 (eval $ac_try) 2>&5
18386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18387 (exit $ac_status); }; } &&
18388 { ac_try='test -s conftest$ac_exeext'
18389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18390 (eval $ac_try) 2>&5
18392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18393 (exit $ac_status); }; }; then
18396 echo "$as_me: failed program was:" >&5
18397 sed 's/^/| /' conftest.$ac_ext >&5
18401 rm -f conftest.err conftest.$ac_objext \
18402 conftest$ac_exeext conftest.$ac_ext
18403 LIBS=$ac_check_lib_save_LIBS
18405 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
18406 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
18407 if test $ac_cv_lib_m_jn = yes; then
18409 cat >>confdefs.h <<\_ACEOF
18415 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
18416 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
18417 if test "${ac_cv_lib_m_jnl+set}" = set; then
18418 echo $ECHO_N "(cached) $ECHO_C" >&6
18420 ac_check_lib_save_LIBS=$LIBS
18422 if test x$gcc_no_link = xyes; then
18423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18425 { (exit 1); exit 1; }; }
18427 cat >conftest.$ac_ext <<_ACEOF
18430 cat confdefs.h >>conftest.$ac_ext
18431 cat >>conftest.$ac_ext <<_ACEOF
18432 /* end confdefs.h. */
18434 /* Override any gcc2 internal prototype to avoid an error. */
18438 /* We use char because int might match the return type of a gcc2
18439 builtin and then its argument prototype would still apply. */
18449 rm -f conftest.$ac_objext conftest$ac_exeext
18450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18451 (eval $ac_link) 2>conftest.er1
18453 grep -v '^ *+' conftest.er1 >conftest.err
18455 cat conftest.err >&5
18456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18457 (exit $ac_status); } &&
18458 { ac_try='test -z "$ac_c_werror_flag"
18459 || test ! -s conftest.err'
18460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18461 (eval $ac_try) 2>&5
18463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18464 (exit $ac_status); }; } &&
18465 { ac_try='test -s conftest$ac_exeext'
18466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18467 (eval $ac_try) 2>&5
18469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18470 (exit $ac_status); }; }; then
18471 ac_cv_lib_m_jnl=yes
18473 echo "$as_me: failed program was:" >&5
18474 sed 's/^/| /' conftest.$ac_ext >&5
18478 rm -f conftest.err conftest.$ac_objext \
18479 conftest$ac_exeext conftest.$ac_ext
18480 LIBS=$ac_check_lib_save_LIBS
18482 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
18483 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
18484 if test $ac_cv_lib_m_jnl = yes; then
18486 cat >>confdefs.h <<\_ACEOF
18492 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
18493 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
18494 if test "${ac_cv_lib_m_y0f+set}" = set; then
18495 echo $ECHO_N "(cached) $ECHO_C" >&6
18497 ac_check_lib_save_LIBS=$LIBS
18499 if test x$gcc_no_link = xyes; then
18500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18502 { (exit 1); exit 1; }; }
18504 cat >conftest.$ac_ext <<_ACEOF
18507 cat confdefs.h >>conftest.$ac_ext
18508 cat >>conftest.$ac_ext <<_ACEOF
18509 /* end confdefs.h. */
18511 /* Override any gcc2 internal prototype to avoid an error. */
18515 /* We use char because int might match the return type of a gcc2
18516 builtin and then its argument prototype would still apply. */
18526 rm -f conftest.$ac_objext conftest$ac_exeext
18527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18528 (eval $ac_link) 2>conftest.er1
18530 grep -v '^ *+' conftest.er1 >conftest.err
18532 cat conftest.err >&5
18533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18534 (exit $ac_status); } &&
18535 { ac_try='test -z "$ac_c_werror_flag"
18536 || test ! -s conftest.err'
18537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18538 (eval $ac_try) 2>&5
18540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18541 (exit $ac_status); }; } &&
18542 { ac_try='test -s conftest$ac_exeext'
18543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18544 (eval $ac_try) 2>&5
18546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18547 (exit $ac_status); }; }; then
18548 ac_cv_lib_m_y0f=yes
18550 echo "$as_me: failed program was:" >&5
18551 sed 's/^/| /' conftest.$ac_ext >&5
18555 rm -f conftest.err conftest.$ac_objext \
18556 conftest$ac_exeext conftest.$ac_ext
18557 LIBS=$ac_check_lib_save_LIBS
18559 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
18560 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
18561 if test $ac_cv_lib_m_y0f = yes; then
18563 cat >>confdefs.h <<\_ACEOF
18569 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
18570 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
18571 if test "${ac_cv_lib_m_y0+set}" = set; then
18572 echo $ECHO_N "(cached) $ECHO_C" >&6
18574 ac_check_lib_save_LIBS=$LIBS
18576 if test x$gcc_no_link = xyes; then
18577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18579 { (exit 1); exit 1; }; }
18581 cat >conftest.$ac_ext <<_ACEOF
18584 cat confdefs.h >>conftest.$ac_ext
18585 cat >>conftest.$ac_ext <<_ACEOF
18586 /* end confdefs.h. */
18588 /* Override any gcc2 internal prototype to avoid an error. */
18592 /* We use char because int might match the return type of a gcc2
18593 builtin and then its argument prototype would still apply. */
18603 rm -f conftest.$ac_objext conftest$ac_exeext
18604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18605 (eval $ac_link) 2>conftest.er1
18607 grep -v '^ *+' conftest.er1 >conftest.err
18609 cat conftest.err >&5
18610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18611 (exit $ac_status); } &&
18612 { ac_try='test -z "$ac_c_werror_flag"
18613 || test ! -s conftest.err'
18614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18615 (eval $ac_try) 2>&5
18617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18618 (exit $ac_status); }; } &&
18619 { ac_try='test -s conftest$ac_exeext'
18620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18621 (eval $ac_try) 2>&5
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); }; }; then
18627 echo "$as_me: failed program was:" >&5
18628 sed 's/^/| /' conftest.$ac_ext >&5
18632 rm -f conftest.err conftest.$ac_objext \
18633 conftest$ac_exeext conftest.$ac_ext
18634 LIBS=$ac_check_lib_save_LIBS
18636 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
18637 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
18638 if test $ac_cv_lib_m_y0 = yes; then
18640 cat >>confdefs.h <<\_ACEOF
18646 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
18647 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
18648 if test "${ac_cv_lib_m_y0l+set}" = set; then
18649 echo $ECHO_N "(cached) $ECHO_C" >&6
18651 ac_check_lib_save_LIBS=$LIBS
18653 if test x$gcc_no_link = xyes; then
18654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18656 { (exit 1); exit 1; }; }
18658 cat >conftest.$ac_ext <<_ACEOF
18661 cat confdefs.h >>conftest.$ac_ext
18662 cat >>conftest.$ac_ext <<_ACEOF
18663 /* end confdefs.h. */
18665 /* Override any gcc2 internal prototype to avoid an error. */
18669 /* We use char because int might match the return type of a gcc2
18670 builtin and then its argument prototype would still apply. */
18680 rm -f conftest.$ac_objext conftest$ac_exeext
18681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18682 (eval $ac_link) 2>conftest.er1
18684 grep -v '^ *+' conftest.er1 >conftest.err
18686 cat conftest.err >&5
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); } &&
18689 { ac_try='test -z "$ac_c_werror_flag"
18690 || test ! -s conftest.err'
18691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18692 (eval $ac_try) 2>&5
18694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18695 (exit $ac_status); }; } &&
18696 { ac_try='test -s conftest$ac_exeext'
18697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18698 (eval $ac_try) 2>&5
18700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18701 (exit $ac_status); }; }; then
18702 ac_cv_lib_m_y0l=yes
18704 echo "$as_me: failed program was:" >&5
18705 sed 's/^/| /' conftest.$ac_ext >&5
18709 rm -f conftest.err conftest.$ac_objext \
18710 conftest$ac_exeext conftest.$ac_ext
18711 LIBS=$ac_check_lib_save_LIBS
18713 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
18714 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
18715 if test $ac_cv_lib_m_y0l = yes; then
18717 cat >>confdefs.h <<\_ACEOF
18723 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
18724 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
18725 if test "${ac_cv_lib_m_y1f+set}" = set; then
18726 echo $ECHO_N "(cached) $ECHO_C" >&6
18728 ac_check_lib_save_LIBS=$LIBS
18730 if test x$gcc_no_link = xyes; then
18731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18733 { (exit 1); exit 1; }; }
18735 cat >conftest.$ac_ext <<_ACEOF
18738 cat confdefs.h >>conftest.$ac_ext
18739 cat >>conftest.$ac_ext <<_ACEOF
18740 /* end confdefs.h. */
18742 /* Override any gcc2 internal prototype to avoid an error. */
18746 /* We use char because int might match the return type of a gcc2
18747 builtin and then its argument prototype would still apply. */
18757 rm -f conftest.$ac_objext conftest$ac_exeext
18758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18759 (eval $ac_link) 2>conftest.er1
18761 grep -v '^ *+' conftest.er1 >conftest.err
18763 cat conftest.err >&5
18764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18765 (exit $ac_status); } &&
18766 { ac_try='test -z "$ac_c_werror_flag"
18767 || test ! -s conftest.err'
18768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18769 (eval $ac_try) 2>&5
18771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18772 (exit $ac_status); }; } &&
18773 { ac_try='test -s conftest$ac_exeext'
18774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18775 (eval $ac_try) 2>&5
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); }; }; then
18779 ac_cv_lib_m_y1f=yes
18781 echo "$as_me: failed program was:" >&5
18782 sed 's/^/| /' conftest.$ac_ext >&5
18786 rm -f conftest.err conftest.$ac_objext \
18787 conftest$ac_exeext conftest.$ac_ext
18788 LIBS=$ac_check_lib_save_LIBS
18790 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
18791 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
18792 if test $ac_cv_lib_m_y1f = yes; then
18794 cat >>confdefs.h <<\_ACEOF
18800 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
18801 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
18802 if test "${ac_cv_lib_m_y1+set}" = set; then
18803 echo $ECHO_N "(cached) $ECHO_C" >&6
18805 ac_check_lib_save_LIBS=$LIBS
18807 if test x$gcc_no_link = xyes; then
18808 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18810 { (exit 1); exit 1; }; }
18812 cat >conftest.$ac_ext <<_ACEOF
18815 cat confdefs.h >>conftest.$ac_ext
18816 cat >>conftest.$ac_ext <<_ACEOF
18817 /* end confdefs.h. */
18819 /* Override any gcc2 internal prototype to avoid an error. */
18823 /* We use char because int might match the return type of a gcc2
18824 builtin and then its argument prototype would still apply. */
18834 rm -f conftest.$ac_objext conftest$ac_exeext
18835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18836 (eval $ac_link) 2>conftest.er1
18838 grep -v '^ *+' conftest.er1 >conftest.err
18840 cat conftest.err >&5
18841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18842 (exit $ac_status); } &&
18843 { ac_try='test -z "$ac_c_werror_flag"
18844 || test ! -s conftest.err'
18845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18846 (eval $ac_try) 2>&5
18848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849 (exit $ac_status); }; } &&
18850 { ac_try='test -s conftest$ac_exeext'
18851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18852 (eval $ac_try) 2>&5
18854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18855 (exit $ac_status); }; }; then
18858 echo "$as_me: failed program was:" >&5
18859 sed 's/^/| /' conftest.$ac_ext >&5
18863 rm -f conftest.err conftest.$ac_objext \
18864 conftest$ac_exeext conftest.$ac_ext
18865 LIBS=$ac_check_lib_save_LIBS
18867 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
18868 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
18869 if test $ac_cv_lib_m_y1 = yes; then
18871 cat >>confdefs.h <<\_ACEOF
18877 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
18878 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
18879 if test "${ac_cv_lib_m_y1l+set}" = set; then
18880 echo $ECHO_N "(cached) $ECHO_C" >&6
18882 ac_check_lib_save_LIBS=$LIBS
18884 if test x$gcc_no_link = xyes; then
18885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18887 { (exit 1); exit 1; }; }
18889 cat >conftest.$ac_ext <<_ACEOF
18892 cat confdefs.h >>conftest.$ac_ext
18893 cat >>conftest.$ac_ext <<_ACEOF
18894 /* end confdefs.h. */
18896 /* Override any gcc2 internal prototype to avoid an error. */
18900 /* We use char because int might match the return type of a gcc2
18901 builtin and then its argument prototype would still apply. */
18911 rm -f conftest.$ac_objext conftest$ac_exeext
18912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18913 (eval $ac_link) 2>conftest.er1
18915 grep -v '^ *+' conftest.er1 >conftest.err
18917 cat conftest.err >&5
18918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18919 (exit $ac_status); } &&
18920 { ac_try='test -z "$ac_c_werror_flag"
18921 || test ! -s conftest.err'
18922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18923 (eval $ac_try) 2>&5
18925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18926 (exit $ac_status); }; } &&
18927 { ac_try='test -s conftest$ac_exeext'
18928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18929 (eval $ac_try) 2>&5
18931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18932 (exit $ac_status); }; }; then
18933 ac_cv_lib_m_y1l=yes
18935 echo "$as_me: failed program was:" >&5
18936 sed 's/^/| /' conftest.$ac_ext >&5
18940 rm -f conftest.err conftest.$ac_objext \
18941 conftest$ac_exeext conftest.$ac_ext
18942 LIBS=$ac_check_lib_save_LIBS
18944 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
18945 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
18946 if test $ac_cv_lib_m_y1l = yes; then
18948 cat >>confdefs.h <<\_ACEOF
18954 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
18955 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
18956 if test "${ac_cv_lib_m_ynf+set}" = set; then
18957 echo $ECHO_N "(cached) $ECHO_C" >&6
18959 ac_check_lib_save_LIBS=$LIBS
18961 if test x$gcc_no_link = xyes; then
18962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18964 { (exit 1); exit 1; }; }
18966 cat >conftest.$ac_ext <<_ACEOF
18969 cat confdefs.h >>conftest.$ac_ext
18970 cat >>conftest.$ac_ext <<_ACEOF
18971 /* end confdefs.h. */
18973 /* Override any gcc2 internal prototype to avoid an error. */
18977 /* We use char because int might match the return type of a gcc2
18978 builtin and then its argument prototype would still apply. */
18988 rm -f conftest.$ac_objext conftest$ac_exeext
18989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18990 (eval $ac_link) 2>conftest.er1
18992 grep -v '^ *+' conftest.er1 >conftest.err
18994 cat conftest.err >&5
18995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996 (exit $ac_status); } &&
18997 { ac_try='test -z "$ac_c_werror_flag"
18998 || test ! -s conftest.err'
18999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19000 (eval $ac_try) 2>&5
19002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19003 (exit $ac_status); }; } &&
19004 { ac_try='test -s conftest$ac_exeext'
19005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19006 (eval $ac_try) 2>&5
19008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19009 (exit $ac_status); }; }; then
19010 ac_cv_lib_m_ynf=yes
19012 echo "$as_me: failed program was:" >&5
19013 sed 's/^/| /' conftest.$ac_ext >&5
19017 rm -f conftest.err conftest.$ac_objext \
19018 conftest$ac_exeext conftest.$ac_ext
19019 LIBS=$ac_check_lib_save_LIBS
19021 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
19022 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
19023 if test $ac_cv_lib_m_ynf = yes; then
19025 cat >>confdefs.h <<\_ACEOF
19031 echo "$as_me:$LINENO: checking for yn in -lm" >&5
19032 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
19033 if test "${ac_cv_lib_m_yn+set}" = set; then
19034 echo $ECHO_N "(cached) $ECHO_C" >&6
19036 ac_check_lib_save_LIBS=$LIBS
19038 if test x$gcc_no_link = xyes; then
19039 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19041 { (exit 1); exit 1; }; }
19043 cat >conftest.$ac_ext <<_ACEOF
19046 cat confdefs.h >>conftest.$ac_ext
19047 cat >>conftest.$ac_ext <<_ACEOF
19048 /* end confdefs.h. */
19050 /* Override any gcc2 internal prototype to avoid an error. */
19054 /* We use char because int might match the return type of a gcc2
19055 builtin and then its argument prototype would still apply. */
19065 rm -f conftest.$ac_objext conftest$ac_exeext
19066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19067 (eval $ac_link) 2>conftest.er1
19069 grep -v '^ *+' conftest.er1 >conftest.err
19071 cat conftest.err >&5
19072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073 (exit $ac_status); } &&
19074 { ac_try='test -z "$ac_c_werror_flag"
19075 || test ! -s conftest.err'
19076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19077 (eval $ac_try) 2>&5
19079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19080 (exit $ac_status); }; } &&
19081 { ac_try='test -s conftest$ac_exeext'
19082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19083 (eval $ac_try) 2>&5
19085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19086 (exit $ac_status); }; }; then
19089 echo "$as_me: failed program was:" >&5
19090 sed 's/^/| /' conftest.$ac_ext >&5
19094 rm -f conftest.err conftest.$ac_objext \
19095 conftest$ac_exeext conftest.$ac_ext
19096 LIBS=$ac_check_lib_save_LIBS
19098 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
19099 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
19100 if test $ac_cv_lib_m_yn = yes; then
19102 cat >>confdefs.h <<\_ACEOF
19108 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
19109 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
19110 if test "${ac_cv_lib_m_ynl+set}" = set; then
19111 echo $ECHO_N "(cached) $ECHO_C" >&6
19113 ac_check_lib_save_LIBS=$LIBS
19115 if test x$gcc_no_link = xyes; then
19116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19118 { (exit 1); exit 1; }; }
19120 cat >conftest.$ac_ext <<_ACEOF
19123 cat confdefs.h >>conftest.$ac_ext
19124 cat >>conftest.$ac_ext <<_ACEOF
19125 /* end confdefs.h. */
19127 /* Override any gcc2 internal prototype to avoid an error. */
19131 /* We use char because int might match the return type of a gcc2
19132 builtin and then its argument prototype would still apply. */
19142 rm -f conftest.$ac_objext conftest$ac_exeext
19143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19144 (eval $ac_link) 2>conftest.er1
19146 grep -v '^ *+' conftest.er1 >conftest.err
19148 cat conftest.err >&5
19149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19150 (exit $ac_status); } &&
19151 { ac_try='test -z "$ac_c_werror_flag"
19152 || test ! -s conftest.err'
19153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19154 (eval $ac_try) 2>&5
19156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19157 (exit $ac_status); }; } &&
19158 { ac_try='test -s conftest$ac_exeext'
19159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19160 (eval $ac_try) 2>&5
19162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19163 (exit $ac_status); }; }; then
19164 ac_cv_lib_m_ynl=yes
19166 echo "$as_me: failed program was:" >&5
19167 sed 's/^/| /' conftest.$ac_ext >&5
19171 rm -f conftest.err conftest.$ac_objext \
19172 conftest$ac_exeext conftest.$ac_ext
19173 LIBS=$ac_check_lib_save_LIBS
19175 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
19176 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
19177 if test $ac_cv_lib_m_ynl = yes; then
19179 cat >>confdefs.h <<\_ACEOF
19186 # On AIX, clog is present in libm as __clog
19187 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
19188 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
19189 if test "${ac_cv_lib_m___clog+set}" = set; then
19190 echo $ECHO_N "(cached) $ECHO_C" >&6
19192 ac_check_lib_save_LIBS=$LIBS
19194 if test x$gcc_no_link = xyes; then
19195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19197 { (exit 1); exit 1; }; }
19199 cat >conftest.$ac_ext <<_ACEOF
19202 cat confdefs.h >>conftest.$ac_ext
19203 cat >>conftest.$ac_ext <<_ACEOF
19204 /* end confdefs.h. */
19206 /* Override any gcc2 internal prototype to avoid an error. */
19210 /* We use char because int might match the return type of a gcc2
19211 builtin and then its argument prototype would still apply. */
19221 rm -f conftest.$ac_objext conftest$ac_exeext
19222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19223 (eval $ac_link) 2>conftest.er1
19225 grep -v '^ *+' conftest.er1 >conftest.err
19227 cat conftest.err >&5
19228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229 (exit $ac_status); } &&
19230 { ac_try='test -z "$ac_c_werror_flag"
19231 || test ! -s conftest.err'
19232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19233 (eval $ac_try) 2>&5
19235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 (exit $ac_status); }; } &&
19237 { ac_try='test -s conftest$ac_exeext'
19238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19239 (eval $ac_try) 2>&5
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); }; }; then
19243 ac_cv_lib_m___clog=yes
19245 echo "$as_me: failed program was:" >&5
19246 sed 's/^/| /' conftest.$ac_ext >&5
19248 ac_cv_lib_m___clog=no
19250 rm -f conftest.err conftest.$ac_objext \
19251 conftest$ac_exeext conftest.$ac_ext
19252 LIBS=$ac_check_lib_save_LIBS
19254 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
19255 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
19256 if test $ac_cv_lib_m___clog = yes; then
19258 cat >>confdefs.h <<\_ACEOF
19259 #define HAVE_CLOG 1
19265 # Check for a isfinite macro that works on long doubles.
19267 echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
19268 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
19269 if test "${have_broken_isfinite+set}" = set; then
19270 echo $ECHO_N "(cached) $ECHO_C" >&6
19273 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
19275 if test "$cross_compiling" = yes; then
19277 case "${target}" in
19278 hppa*-*-hpux*) have_broken_isfinite=yes ;;
19279 *) have_broken_isfinite=no ;;
19282 cat >conftest.$ac_ext <<_ACEOF
19285 cat confdefs.h >>conftest.$ac_ext
19286 cat >>conftest.$ac_ext <<_ACEOF
19287 /* end confdefs.h. */
19297 if (!isfinite(LDBL_MAX)) return 1;
19300 if (!isfinite(DBL_MAX)) return 1;
19306 rm -f conftest$ac_exeext
19307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19308 (eval $ac_link) 2>&5
19310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19313 (eval $ac_try) 2>&5
19315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19316 (exit $ac_status); }; }; then
19317 have_broken_isfinite=no
19319 echo "$as_me: program exited with status $ac_status" >&5
19320 echo "$as_me: failed program was:" >&5
19321 sed 's/^/| /' conftest.$ac_ext >&5
19323 ( exit $ac_status )
19324 have_broken_isfinite=yes
19326 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19328 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
19330 echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
19331 echo "${ECHO_T}$have_broken_isfinite" >&6
19332 if test x"$have_broken_isfinite" = xyes; then
19334 cat >>confdefs.h <<\_ACEOF
19335 #define HAVE_BROKEN_ISFINITE 1
19340 # Check for a isnan macro that works on long doubles.
19342 echo "$as_me:$LINENO: checking whether isnan is broken" >&5
19343 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
19344 if test "${have_broken_isnan+set}" = set; then
19345 echo $ECHO_N "(cached) $ECHO_C" >&6
19348 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
19350 if test "$cross_compiling" = yes; then
19352 case "${target}" in
19353 hppa*-*-hpux*) have_broken_isnan=yes ;;
19354 *) have_broken_isnan=no ;;
19357 cat >conftest.$ac_ext <<_ACEOF
19360 cat confdefs.h >>conftest.$ac_ext
19361 cat >>conftest.$ac_ext <<_ACEOF
19362 /* end confdefs.h. */
19374 x = __builtin_nanl ("");
19375 if (!isnan(x)) return 1;
19376 if (isnan(LDBL_MAX)) return 1;
19378 x = (long double) NAN;
19379 if (!isnan(x)) return 1;
19386 y = __builtin_nan ("");
19387 if (!isnan(y)) return 1;
19388 if (isnan(DBL_MAX)) return 1;
19391 if (!isnan(y)) return 1;
19399 rm -f conftest$ac_exeext
19400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19401 (eval $ac_link) 2>&5
19403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19406 (eval $ac_try) 2>&5
19408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409 (exit $ac_status); }; }; then
19410 have_broken_isnan=no
19412 echo "$as_me: program exited with status $ac_status" >&5
19413 echo "$as_me: failed program was:" >&5
19414 sed 's/^/| /' conftest.$ac_ext >&5
19416 ( exit $ac_status )
19417 have_broken_isnan=yes
19419 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19421 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
19423 echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
19424 echo "${ECHO_T}$have_broken_isnan" >&6
19425 if test x"$have_broken_isnan" = xyes; then
19427 cat >>confdefs.h <<\_ACEOF
19428 #define HAVE_BROKEN_ISNAN 1
19433 # Check for a fpclassify macro that works on long doubles.
19435 echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
19436 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
19437 if test "${have_broken_fpclassify+set}" = set; then
19438 echo $ECHO_N "(cached) $ECHO_C" >&6
19441 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
19443 if test "$cross_compiling" = yes; then
19445 case "${target}" in
19446 hppa*-*-hpux*) have_broken_fpclassify=yes ;;
19447 *) have_broken_fpclassify=no ;;
19450 cat >conftest.$ac_ext <<_ACEOF
19453 cat confdefs.h >>conftest.$ac_ext
19454 cat >>conftest.$ac_ext <<_ACEOF
19455 /* end confdefs.h. */
19465 if (fpclassify(LDBL_MAX) == FP_NAN
19466 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
19469 if (fpclassify(DBL_MAX) == FP_NAN
19470 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
19476 rm -f conftest$ac_exeext
19477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19478 (eval $ac_link) 2>&5
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19483 (eval $ac_try) 2>&5
19485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19486 (exit $ac_status); }; }; then
19487 have_broken_fpclassify=no
19489 echo "$as_me: program exited with status $ac_status" >&5
19490 echo "$as_me: failed program was:" >&5
19491 sed 's/^/| /' conftest.$ac_ext >&5
19493 ( exit $ac_status )
19494 have_broken_fpclassify=yes
19496 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19498 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
19500 echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
19501 echo "${ECHO_T}$have_broken_fpclassify" >&6
19502 if test x"$have_broken_fpclassify" = xyes; then
19504 cat >>confdefs.h <<\_ACEOF
19505 #define HAVE_BROKEN_FPCLASSIFY 1
19510 # Check whether the system has a working stat()
19512 echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
19513 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
19514 if test "${have_working_stat+set}" = set; then
19515 echo $ECHO_N "(cached) $ECHO_C" >&6
19518 if test "$cross_compiling" = yes; then
19520 case "${target}" in
19521 *mingw*) have_working_stat=no ;;
19522 *) have_working_stat=yes;;
19525 cat >conftest.$ac_ext <<_ACEOF
19528 cat confdefs.h >>conftest.$ac_ext
19529 cat >>conftest.$ac_ext <<_ACEOF
19530 /* end confdefs.h. */
19533 #include <sys/types.h>
19534 #include <sys/stat.h>
19535 #include <unistd.h>
19540 struct stat st1, st2;
19542 f = fopen ("foo", "w");
19543 g = fopen ("bar", "w");
19544 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
19546 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
19553 rm -f conftest$ac_exeext
19554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19555 (eval $ac_link) 2>&5
19557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19558 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19560 (eval $ac_try) 2>&5
19562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19563 (exit $ac_status); }; }; then
19564 have_working_stat=yes
19566 echo "$as_me: program exited with status $ac_status" >&5
19567 echo "$as_me: failed program was:" >&5
19568 sed 's/^/| /' conftest.$ac_ext >&5
19570 ( exit $ac_status )
19571 have_working_stat=no
19573 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19576 echo "$as_me:$LINENO: result: $have_working_stat" >&5
19577 echo "${ECHO_T}$have_working_stat" >&6
19578 if test x"$have_working_stat" = xyes; then
19580 cat >>confdefs.h <<\_ACEOF
19581 #define HAVE_WORKING_STAT 1
19586 # Fallback in case isfinite is not available.
19587 echo "$as_me:$LINENO: checking for finite in -lm" >&5
19588 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
19589 if test "${ac_cv_lib_m_finite+set}" = set; then
19590 echo $ECHO_N "(cached) $ECHO_C" >&6
19592 ac_check_lib_save_LIBS=$LIBS
19594 if test x$gcc_no_link = xyes; then
19595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19597 { (exit 1); exit 1; }; }
19599 cat >conftest.$ac_ext <<_ACEOF
19602 cat confdefs.h >>conftest.$ac_ext
19603 cat >>conftest.$ac_ext <<_ACEOF
19604 /* end confdefs.h. */
19606 /* Override any gcc2 internal prototype to avoid an error. */
19610 /* We use char because int might match the return type of a gcc2
19611 builtin and then its argument prototype would still apply. */
19621 rm -f conftest.$ac_objext conftest$ac_exeext
19622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19623 (eval $ac_link) 2>conftest.er1
19625 grep -v '^ *+' conftest.er1 >conftest.err
19627 cat conftest.err >&5
19628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19629 (exit $ac_status); } &&
19630 { ac_try='test -z "$ac_c_werror_flag"
19631 || test ! -s conftest.err'
19632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19633 (eval $ac_try) 2>&5
19635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636 (exit $ac_status); }; } &&
19637 { ac_try='test -s conftest$ac_exeext'
19638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19639 (eval $ac_try) 2>&5
19641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19642 (exit $ac_status); }; }; then
19643 ac_cv_lib_m_finite=yes
19645 echo "$as_me: failed program was:" >&5
19646 sed 's/^/| /' conftest.$ac_ext >&5
19648 ac_cv_lib_m_finite=no
19650 rm -f conftest.err conftest.$ac_objext \
19651 conftest$ac_exeext conftest.$ac_ext
19652 LIBS=$ac_check_lib_save_LIBS
19654 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
19655 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
19656 if test $ac_cv_lib_m_finite = yes; then
19658 cat >>confdefs.h <<\_ACEOF
19659 #define HAVE_FINITE 1
19665 # Check for GNU libc feenableexcept
19666 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
19667 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
19668 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
19669 echo $ECHO_N "(cached) $ECHO_C" >&6
19671 ac_check_lib_save_LIBS=$LIBS
19673 if test x$gcc_no_link = xyes; then
19674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19676 { (exit 1); exit 1; }; }
19678 cat >conftest.$ac_ext <<_ACEOF
19681 cat confdefs.h >>conftest.$ac_ext
19682 cat >>conftest.$ac_ext <<_ACEOF
19683 /* end confdefs.h. */
19685 /* Override any gcc2 internal prototype to avoid an error. */
19689 /* We use char because int might match the return type of a gcc2
19690 builtin and then its argument prototype would still apply. */
19691 char feenableexcept ();
19700 rm -f conftest.$ac_objext conftest$ac_exeext
19701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19702 (eval $ac_link) 2>conftest.er1
19704 grep -v '^ *+' conftest.er1 >conftest.err
19706 cat conftest.err >&5
19707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708 (exit $ac_status); } &&
19709 { ac_try='test -z "$ac_c_werror_flag"
19710 || test ! -s conftest.err'
19711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19712 (eval $ac_try) 2>&5
19714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19715 (exit $ac_status); }; } &&
19716 { ac_try='test -s conftest$ac_exeext'
19717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19718 (eval $ac_try) 2>&5
19720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19721 (exit $ac_status); }; }; then
19722 ac_cv_lib_m_feenableexcept=yes
19724 echo "$as_me: failed program was:" >&5
19725 sed 's/^/| /' conftest.$ac_ext >&5
19727 ac_cv_lib_m_feenableexcept=no
19729 rm -f conftest.err conftest.$ac_objext \
19730 conftest$ac_exeext conftest.$ac_ext
19731 LIBS=$ac_check_lib_save_LIBS
19733 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
19734 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
19735 if test $ac_cv_lib_m_feenableexcept = yes; then
19736 have_feenableexcept=yes
19737 cat >>confdefs.h <<\_ACEOF
19738 #define HAVE_FEENABLEEXCEPT 1
19744 # Check for SysV fpsetmask
19746 echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
19747 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
19748 if test "${have_fpsetmask+set}" = set; then
19749 echo $ECHO_N "(cached) $ECHO_C" >&6
19752 if test x$gcc_no_link = xyes; then
19753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19755 { (exit 1); exit 1; }; }
19757 cat >conftest.$ac_ext <<_ACEOF
19760 cat confdefs.h >>conftest.$ac_ext
19761 cat >>conftest.$ac_ext <<_ACEOF
19762 /* end confdefs.h. */
19764 #if HAVE_FLOATINGPOINT_H
19765 # include <floatingpoint.h>
19766 #endif /* HAVE_FLOATINGPOINT_H */
19768 # include <ieeefp.h>
19769 #endif /* HAVE_IEEEFP_H */
19778 rm -f conftest.$ac_objext conftest$ac_exeext
19779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19780 (eval $ac_link) 2>conftest.er1
19782 grep -v '^ *+' conftest.er1 >conftest.err
19784 cat conftest.err >&5
19785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786 (exit $ac_status); } &&
19787 { ac_try='test -z "$ac_c_werror_flag"
19788 || test ! -s conftest.err'
19789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19790 (eval $ac_try) 2>&5
19792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19793 (exit $ac_status); }; } &&
19794 { ac_try='test -s conftest$ac_exeext'
19795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19796 (eval $ac_try) 2>&5
19798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19799 (exit $ac_status); }; }; then
19800 eval "have_fpsetmask=yes"
19802 echo "$as_me: failed program was:" >&5
19803 sed 's/^/| /' conftest.$ac_ext >&5
19805 eval "have_fpsetmask=no"
19807 rm -f conftest.err conftest.$ac_objext \
19808 conftest$ac_exeext conftest.$ac_ext
19811 echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
19812 echo "${ECHO_T}$have_fpsetmask" >&6
19813 if test x"$have_fpsetmask" = xyes; then
19815 cat >>confdefs.h <<\_ACEOF
19816 #define HAVE_FPSETMASK 1
19822 # Check for AIX fp_trap and fp_enable
19823 echo "$as_me:$LINENO: checking for fp_trap" >&5
19824 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
19825 if test "${ac_cv_func_fp_trap+set}" = set; then
19826 echo $ECHO_N "(cached) $ECHO_C" >&6
19828 if test x$gcc_no_link = xyes; then
19829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19831 { (exit 1); exit 1; }; }
19833 cat >conftest.$ac_ext <<_ACEOF
19836 cat confdefs.h >>conftest.$ac_ext
19837 cat >>conftest.$ac_ext <<_ACEOF
19838 /* end confdefs.h. */
19839 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
19840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19841 #define fp_trap innocuous_fp_trap
19843 /* System header to define __stub macros and hopefully few prototypes,
19844 which can conflict with char fp_trap (); below.
19845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19846 <limits.h> exists even on freestanding compilers. */
19849 # include <limits.h>
19851 # include <assert.h>
19856 /* Override any gcc2 internal prototype to avoid an error. */
19861 /* We use char because int might match the return type of a gcc2
19862 builtin and then its argument prototype would still apply. */
19864 /* The GNU C library defines this for functions which it implements
19865 to always fail with ENOSYS. Some functions are actually named
19866 something starting with __ and the normal name is an alias. */
19867 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
19870 char (*f) () = fp_trap;
19879 return f != fp_trap;
19884 rm -f conftest.$ac_objext conftest$ac_exeext
19885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19886 (eval $ac_link) 2>conftest.er1
19888 grep -v '^ *+' conftest.er1 >conftest.err
19890 cat conftest.err >&5
19891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892 (exit $ac_status); } &&
19893 { ac_try='test -z "$ac_c_werror_flag"
19894 || test ! -s conftest.err'
19895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19896 (eval $ac_try) 2>&5
19898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19899 (exit $ac_status); }; } &&
19900 { ac_try='test -s conftest$ac_exeext'
19901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19902 (eval $ac_try) 2>&5
19904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19905 (exit $ac_status); }; }; then
19906 ac_cv_func_fp_trap=yes
19908 echo "$as_me: failed program was:" >&5
19909 sed 's/^/| /' conftest.$ac_ext >&5
19911 ac_cv_func_fp_trap=no
19913 rm -f conftest.err conftest.$ac_objext \
19914 conftest$ac_exeext conftest.$ac_ext
19916 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
19917 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
19918 if test $ac_cv_func_fp_trap = yes; then
19920 cat >>confdefs.h <<\_ACEOF
19921 #define HAVE_FP_TRAP 1
19926 echo "$as_me:$LINENO: checking for fp_enable" >&5
19927 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
19928 if test "${ac_cv_func_fp_enable+set}" = set; then
19929 echo $ECHO_N "(cached) $ECHO_C" >&6
19931 if test x$gcc_no_link = xyes; then
19932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19934 { (exit 1); exit 1; }; }
19936 cat >conftest.$ac_ext <<_ACEOF
19939 cat confdefs.h >>conftest.$ac_ext
19940 cat >>conftest.$ac_ext <<_ACEOF
19941 /* end confdefs.h. */
19942 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
19943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19944 #define fp_enable innocuous_fp_enable
19946 /* System header to define __stub macros and hopefully few prototypes,
19947 which can conflict with char fp_enable (); below.
19948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19949 <limits.h> exists even on freestanding compilers. */
19952 # include <limits.h>
19954 # include <assert.h>
19959 /* Override any gcc2 internal prototype to avoid an error. */
19964 /* We use char because int might match the return type of a gcc2
19965 builtin and then its argument prototype would still apply. */
19967 /* The GNU C library defines this for functions which it implements
19968 to always fail with ENOSYS. Some functions are actually named
19969 something starting with __ and the normal name is an alias. */
19970 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
19973 char (*f) () = fp_enable;
19982 return f != fp_enable;
19987 rm -f conftest.$ac_objext conftest$ac_exeext
19988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19989 (eval $ac_link) 2>conftest.er1
19991 grep -v '^ *+' conftest.er1 >conftest.err
19993 cat conftest.err >&5
19994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19995 (exit $ac_status); } &&
19996 { ac_try='test -z "$ac_c_werror_flag"
19997 || test ! -s conftest.err'
19998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19999 (eval $ac_try) 2>&5
20001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20002 (exit $ac_status); }; } &&
20003 { ac_try='test -s conftest$ac_exeext'
20004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20005 (eval $ac_try) 2>&5
20007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20008 (exit $ac_status); }; }; then
20009 ac_cv_func_fp_enable=yes
20011 echo "$as_me: failed program was:" >&5
20012 sed 's/^/| /' conftest.$ac_ext >&5
20014 ac_cv_func_fp_enable=no
20016 rm -f conftest.err conftest.$ac_objext \
20017 conftest$ac_exeext conftest.$ac_ext
20019 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
20020 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
20021 if test $ac_cv_func_fp_enable = yes; then
20023 cat >>confdefs.h <<\_ACEOF
20024 #define HAVE_FP_ENABLE 1
20030 # Runs configure.host to set up necessary host-dependent shell variables.
20031 # We then display a message about it, and propagate them through the
20033 . ${srcdir}/configure.host
20034 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
20035 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
20036 FPU_HOST_HEADER=config/${fpu_host}.h
20039 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
20040 # for struct timezone, as you might think. We also need to check how
20041 # to call gettimeofday if we have it.
20042 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20043 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20044 if test "${ac_cv_header_time+set}" = set; then
20045 echo $ECHO_N "(cached) $ECHO_C" >&6
20047 cat >conftest.$ac_ext <<_ACEOF
20050 cat confdefs.h >>conftest.$ac_ext
20051 cat >>conftest.$ac_ext <<_ACEOF
20052 /* end confdefs.h. */
20053 #include <sys/types.h>
20054 #include <sys/time.h>
20060 if ((struct tm *) 0)
20066 rm -f conftest.$ac_objext
20067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20068 (eval $ac_compile) 2>conftest.er1
20070 grep -v '^ *+' conftest.er1 >conftest.err
20072 cat conftest.err >&5
20073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20074 (exit $ac_status); } &&
20075 { ac_try='test -z "$ac_c_werror_flag"
20076 || test ! -s conftest.err'
20077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20078 (eval $ac_try) 2>&5
20080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081 (exit $ac_status); }; } &&
20082 { ac_try='test -s conftest.$ac_objext'
20083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20084 (eval $ac_try) 2>&5
20086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20087 (exit $ac_status); }; }; then
20088 ac_cv_header_time=yes
20090 echo "$as_me: failed program was:" >&5
20091 sed 's/^/| /' conftest.$ac_ext >&5
20093 ac_cv_header_time=no
20095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20097 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20098 echo "${ECHO_T}$ac_cv_header_time" >&6
20099 if test $ac_cv_header_time = yes; then
20101 cat >>confdefs.h <<\_ACEOF
20102 #define TIME_WITH_SYS_TIME 1
20109 for ac_func in gettimeofday
20111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20112 echo "$as_me:$LINENO: checking for $ac_func" >&5
20113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20114 if eval "test \"\${$as_ac_var+set}\" = set"; then
20115 echo $ECHO_N "(cached) $ECHO_C" >&6
20117 if test x$gcc_no_link = xyes; then
20118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20120 { (exit 1); exit 1; }; }
20122 cat >conftest.$ac_ext <<_ACEOF
20125 cat confdefs.h >>conftest.$ac_ext
20126 cat >>conftest.$ac_ext <<_ACEOF
20127 /* end confdefs.h. */
20128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20130 #define $ac_func innocuous_$ac_func
20132 /* System header to define __stub macros and hopefully few prototypes,
20133 which can conflict with char $ac_func (); below.
20134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20135 <limits.h> exists even on freestanding compilers. */
20138 # include <limits.h>
20140 # include <assert.h>
20145 /* Override any gcc2 internal prototype to avoid an error. */
20150 /* We use char because int might match the return type of a gcc2
20151 builtin and then its argument prototype would still apply. */
20153 /* The GNU C library defines this for functions which it implements
20154 to always fail with ENOSYS. Some functions are actually named
20155 something starting with __ and the normal name is an alias. */
20156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20159 char (*f) () = $ac_func;
20168 return f != $ac_func;
20173 rm -f conftest.$ac_objext conftest$ac_exeext
20174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20175 (eval $ac_link) 2>conftest.er1
20177 grep -v '^ *+' conftest.er1 >conftest.err
20179 cat conftest.err >&5
20180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20181 (exit $ac_status); } &&
20182 { ac_try='test -z "$ac_c_werror_flag"
20183 || test ! -s conftest.err'
20184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20185 (eval $ac_try) 2>&5
20187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20188 (exit $ac_status); }; } &&
20189 { ac_try='test -s conftest$ac_exeext'
20190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20191 (eval $ac_try) 2>&5
20193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20194 (exit $ac_status); }; }; then
20195 eval "$as_ac_var=yes"
20197 echo "$as_me: failed program was:" >&5
20198 sed 's/^/| /' conftest.$ac_ext >&5
20200 eval "$as_ac_var=no"
20202 rm -f conftest.err conftest.$ac_objext \
20203 conftest$ac_exeext conftest.$ac_ext
20205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20207 if test `eval echo '${'$as_ac_var'}'` = yes; then
20208 cat >>confdefs.h <<_ACEOF
20209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20215 if test "$ac_cv_func_gettimeofday" = yes; then
20216 echo "$as_me:$LINENO: checking for struct timezone" >&5
20217 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
20218 if test "${gfor_cv_struct_timezone+set}" = set; then
20219 echo $ECHO_N "(cached) $ECHO_C" >&6
20221 cat >conftest.$ac_ext <<_ACEOF
20224 cat confdefs.h >>conftest.$ac_ext
20225 cat >>conftest.$ac_ext <<_ACEOF
20226 /* end confdefs.h. */
20227 #include <sys/time.h>
20231 struct timezone tz;
20236 rm -f conftest.$ac_objext
20237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20238 (eval $ac_compile) 2>conftest.er1
20240 grep -v '^ *+' conftest.er1 >conftest.err
20242 cat conftest.err >&5
20243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20244 (exit $ac_status); } &&
20245 { ac_try='test -z "$ac_c_werror_flag"
20246 || test ! -s conftest.err'
20247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20248 (eval $ac_try) 2>&5
20250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20251 (exit $ac_status); }; } &&
20252 { ac_try='test -s conftest.$ac_objext'
20253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20254 (eval $ac_try) 2>&5
20256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20257 (exit $ac_status); }; }; then
20258 gfor_cv_struct_timezone=yes
20260 echo "$as_me: failed program was:" >&5
20261 sed 's/^/| /' conftest.$ac_ext >&5
20263 gfor_cv_struct_timezone=no
20265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20267 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
20268 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
20269 if test $gfor_cv_struct_timezone = yes; then
20270 if test "$cross_compiling" = yes; then
20271 gfor_have_struct_timezone=yes
20273 cat >conftest.$ac_ext <<_ACEOF
20276 cat confdefs.h >>conftest.$ac_ext
20277 cat >>conftest.$ac_ext <<_ACEOF
20278 /* end confdefs.h. */
20280 #ifdef TIME_WITH_SYS_TIME
20281 #include <sys/time.h>
20284 #ifdef HAVE_SYS_TIME_H
20285 #include <sys/time.h>
20292 struct timeval time;
20293 struct timezone dummy;
20294 if (gettimeofday (&time, &dummy))
20300 rm -f conftest$ac_exeext
20301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20302 (eval $ac_link) 2>&5
20304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20307 (eval $ac_try) 2>&5
20309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 (exit $ac_status); }; }; then
20311 gfor_have_struct_timezone=yes
20313 echo "$as_me: program exited with status $ac_status" >&5
20314 echo "$as_me: failed program was:" >&5
20315 sed 's/^/| /' conftest.$ac_ext >&5
20317 ( exit $ac_status )
20318 gfor_have_struct_timezone=no
20320 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20322 if test $gfor_have_struct_timezone = yes; then
20324 cat >>confdefs.h <<\_ACEOF
20325 #define HAVE_TIMEZONE 1
20331 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
20332 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
20333 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
20334 echo $ECHO_N "(cached) $ECHO_C" >&6
20336 if test x$gcc_no_link = xyes; then
20337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20339 { (exit 1); exit 1; }; }
20341 cat >conftest.$ac_ext <<_ACEOF
20344 cat confdefs.h >>conftest.$ac_ext
20345 cat >>conftest.$ac_ext <<_ACEOF
20346 /* end confdefs.h. */
20348 #ifdef TIME_WITH_SYS_TIME
20349 #include <sys/time.h>
20352 #ifdef HAVE_SYS_TIME_H
20353 #include <sys/time.h>
20363 struct timeval time;
20364 #ifdef HAVE_TIMEZONE
20365 struct timezone dummy;
20366 #define DUMMY &dummy
20370 gettimeofday (&time, DUMMY);
20375 rm -f conftest.$ac_objext conftest$ac_exeext
20376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20377 (eval $ac_link) 2>conftest.er1
20379 grep -v '^ *+' conftest.er1 >conftest.err
20381 cat conftest.err >&5
20382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20383 (exit $ac_status); } &&
20384 { ac_try='test -z "$ac_c_werror_flag"
20385 || test ! -s conftest.err'
20386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20387 (eval $ac_try) 2>&5
20389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390 (exit $ac_status); }; } &&
20391 { ac_try='test -s conftest$ac_exeext'
20392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20393 (eval $ac_try) 2>&5
20395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396 (exit $ac_status); }; }; then
20397 emacs_cv_gettimeofday_two_arguments=yes
20399 echo "$as_me: failed program was:" >&5
20400 sed 's/^/| /' conftest.$ac_ext >&5
20402 emacs_cv_gettimeofday_two_arguments=no
20404 rm -f conftest.err conftest.$ac_objext \
20405 conftest$ac_exeext conftest.$ac_ext
20407 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
20408 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
20409 if test $emacs_cv_gettimeofday_two_arguments = no; then
20411 cat >>confdefs.h <<\_ACEOF
20412 #define GETTIMEOFDAY_ONE_ARGUMENT 1
20418 # Attempt to assert that the target is of common type in case we don't
20419 # have C99 integer types at all.
20421 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
20422 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
20423 if test "${target_ilp32+set}" = set; then
20424 echo $ECHO_N "(cached) $ECHO_C" >&6
20427 save_CFLAGS="$CFLAGS"
20429 if test x$gcc_no_link = xyes; then
20430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20432 { (exit 1); exit 1; }; }
20434 cat >conftest.$ac_ext <<_ACEOF
20437 cat confdefs.h >>conftest.$ac_ext
20438 cat >>conftest.$ac_ext <<_ACEOF
20439 /* end confdefs.h. */
20445 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
20448 undefined_function ();
20454 rm -f conftest.$ac_objext conftest$ac_exeext
20455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20456 (eval $ac_link) 2>conftest.er1
20458 grep -v '^ *+' conftest.er1 >conftest.err
20460 cat conftest.err >&5
20461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462 (exit $ac_status); } &&
20463 { ac_try='test -z "$ac_c_werror_flag"
20464 || test ! -s conftest.err'
20465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20466 (eval $ac_try) 2>&5
20468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469 (exit $ac_status); }; } &&
20470 { ac_try='test -s conftest$ac_exeext'
20471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20472 (eval $ac_try) 2>&5
20474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20475 (exit $ac_status); }; }; then
20478 echo "$as_me: failed program was:" >&5
20479 sed 's/^/| /' conftest.$ac_ext >&5
20483 rm -f conftest.err conftest.$ac_objext \
20484 conftest$ac_exeext conftest.$ac_ext
20485 CFLAGS="$save_CFLAGS"
20487 echo "$as_me:$LINENO: result: $target_ilp32" >&5
20488 echo "${ECHO_T}$target_ilp32" >&6
20489 if test $target_ilp32 = yes; then
20491 cat >>confdefs.h <<\_ACEOF
20492 #define TARGET_ILP32 1
20498 # Check out attribute support.
20500 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
20501 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
20502 if test "${have_attribute_visibility+set}" = set; then
20503 echo $ECHO_N "(cached) $ECHO_C" >&6
20506 save_CFLAGS="$CFLAGS"
20507 CFLAGS="$CFLAGS -Werror"
20508 cat >conftest.$ac_ext <<_ACEOF
20511 cat confdefs.h >>conftest.$ac_ext
20512 cat >>conftest.$ac_ext <<_ACEOF
20513 /* end confdefs.h. */
20514 void __attribute__((visibility("hidden"))) foo(void) { }
20523 rm -f conftest.$ac_objext
20524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20525 (eval $ac_compile) 2>conftest.er1
20527 grep -v '^ *+' conftest.er1 >conftest.err
20529 cat conftest.err >&5
20530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20531 (exit $ac_status); } &&
20532 { ac_try='test -z "$ac_c_werror_flag"
20533 || test ! -s conftest.err'
20534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20535 (eval $ac_try) 2>&5
20537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20538 (exit $ac_status); }; } &&
20539 { ac_try='test -s conftest.$ac_objext'
20540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20541 (eval $ac_try) 2>&5
20543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20544 (exit $ac_status); }; }; then
20545 have_attribute_visibility=yes
20547 echo "$as_me: failed program was:" >&5
20548 sed 's/^/| /' conftest.$ac_ext >&5
20550 have_attribute_visibility=no
20552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20553 CFLAGS="$save_CFLAGS"
20555 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
20556 echo "${ECHO_T}$have_attribute_visibility" >&6
20557 if test $have_attribute_visibility = yes; then
20559 cat >>confdefs.h <<\_ACEOF
20560 #define HAVE_ATTRIBUTE_VISIBILITY 1
20565 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
20566 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
20567 if test "${have_attribute_dllexport+set}" = set; then
20568 echo $ECHO_N "(cached) $ECHO_C" >&6
20571 save_CFLAGS="$CFLAGS"
20572 CFLAGS="$CFLAGS -Werror"
20573 cat >conftest.$ac_ext <<_ACEOF
20576 cat confdefs.h >>conftest.$ac_ext
20577 cat >>conftest.$ac_ext <<_ACEOF
20578 /* end confdefs.h. */
20579 void __attribute__((dllexport)) foo(void) { }
20588 rm -f conftest.$ac_objext
20589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20590 (eval $ac_compile) 2>conftest.er1
20592 grep -v '^ *+' conftest.er1 >conftest.err
20594 cat conftest.err >&5
20595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20596 (exit $ac_status); } &&
20597 { ac_try='test -z "$ac_c_werror_flag"
20598 || test ! -s conftest.err'
20599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20600 (eval $ac_try) 2>&5
20602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20603 (exit $ac_status); }; } &&
20604 { ac_try='test -s conftest.$ac_objext'
20605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20606 (eval $ac_try) 2>&5
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 (exit $ac_status); }; }; then
20610 have_attribute_dllexport=yes
20612 echo "$as_me: failed program was:" >&5
20613 sed 's/^/| /' conftest.$ac_ext >&5
20615 have_attribute_dllexport=no
20617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20618 CFLAGS="$save_CFLAGS"
20620 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
20621 echo "${ECHO_T}$have_attribute_dllexport" >&6
20622 if test $have_attribute_dllexport = yes; then
20624 cat >>confdefs.h <<\_ACEOF
20625 #define HAVE_ATTRIBUTE_DLLEXPORT 1
20630 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
20631 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
20632 if test "${have_attribute_alias+set}" = set; then
20633 echo $ECHO_N "(cached) $ECHO_C" >&6
20636 if test x$gcc_no_link = xyes; then
20637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20639 { (exit 1); exit 1; }; }
20641 cat >conftest.$ac_ext <<_ACEOF
20644 cat confdefs.h >>conftest.$ac_ext
20645 cat >>conftest.$ac_ext <<_ACEOF
20646 /* end confdefs.h. */
20648 #define ULP STR1(__USER_LABEL_PREFIX__)
20649 #define STR1(x) STR2(x)
20652 extern void bar(void) __attribute__((alias(ULP "foo")));
20661 rm -f conftest.$ac_objext conftest$ac_exeext
20662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20663 (eval $ac_link) 2>conftest.er1
20665 grep -v '^ *+' conftest.er1 >conftest.err
20667 cat conftest.err >&5
20668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20669 (exit $ac_status); } &&
20670 { ac_try='test -z "$ac_c_werror_flag"
20671 || test ! -s conftest.err'
20672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20673 (eval $ac_try) 2>&5
20675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20676 (exit $ac_status); }; } &&
20677 { ac_try='test -s conftest$ac_exeext'
20678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20679 (eval $ac_try) 2>&5
20681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20682 (exit $ac_status); }; }; then
20683 have_attribute_alias=yes
20685 echo "$as_me: failed program was:" >&5
20686 sed 's/^/| /' conftest.$ac_ext >&5
20688 have_attribute_alias=no
20690 rm -f conftest.err conftest.$ac_objext \
20691 conftest$ac_exeext conftest.$ac_ext
20693 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
20694 echo "${ECHO_T}$have_attribute_alias" >&6
20695 if test $have_attribute_alias = yes; then
20697 cat >>confdefs.h <<\_ACEOF
20698 #define HAVE_ATTRIBUTE_ALIAS 1
20703 # Various other checks on target
20705 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
20706 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
20707 if test "${have_unlink_open_file+set}" = set; then
20708 echo $ECHO_N "(cached) $ECHO_C" >&6
20711 if test "$cross_compiling" = yes; then
20713 case "${target}" in
20714 *mingw*) have_unlink_open_file=no ;;
20715 *) have_unlink_open_file=yes;;
20718 cat >conftest.$ac_ext <<_ACEOF
20721 cat confdefs.h >>conftest.$ac_ext
20722 cat >>conftest.$ac_ext <<_ACEOF
20723 /* end confdefs.h. */
20727 #include <unistd.h>
20728 #include <sys/stat.h>
20734 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
20737 if (unlink ("testfile") == -1)
20739 write (fd, "This is a test\n", 15);
20742 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
20748 rm -f conftest$ac_exeext
20749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20750 (eval $ac_link) 2>&5
20752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20753 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20755 (eval $ac_try) 2>&5
20757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20758 (exit $ac_status); }; }; then
20759 have_unlink_open_file=yes
20761 echo "$as_me: program exited with status $ac_status" >&5
20762 echo "$as_me: failed program was:" >&5
20763 sed 's/^/| /' conftest.$ac_ext >&5
20765 ( exit $ac_status )
20766 have_unlink_open_file=no
20768 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20771 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
20772 echo "${ECHO_T}$have_unlink_open_file" >&6
20773 if test x"$have_unlink_open_file" = xyes; then
20775 cat >>confdefs.h <<\_ACEOF
20776 #define HAVE_UNLINK_OPEN_FILE 1
20781 # Check whether line terminator is LF or CRLF
20783 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
20784 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
20785 if test "${have_crlf+set}" = set; then
20786 echo $ECHO_N "(cached) $ECHO_C" >&6
20789 if test "$cross_compiling" = yes; then
20791 case "${target}" in
20792 *mingw*) have_crlf=yes ;;
20796 cat >conftest.$ac_ext <<_ACEOF
20799 cat confdefs.h >>conftest.$ac_ext
20800 cat >>conftest.$ac_ext <<_ACEOF
20801 /* end confdefs.h. */
20803 /* This test program should exit with status 0 if system uses a CRLF as
20804 line terminator, and status 1 otherwise.
20805 Since it is used to check for mingw systems, and should return 0 in any
20806 other case, in case of a failure we will not use CRLF. */
20807 #include <sys/stat.h>
20808 #include <stdlib.h>
20820 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
20823 if (write (fd, "\n", 1) < 0)
20828 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
20830 bytes = read (fd, buff, 5);
20831 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
20838 rm -f conftest$ac_exeext
20839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20840 (eval $ac_link) 2>&5
20842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20845 (eval $ac_try) 2>&5
20847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20848 (exit $ac_status); }; }; then
20851 echo "$as_me: program exited with status $ac_status" >&5
20852 echo "$as_me: failed program was:" >&5
20853 sed 's/^/| /' conftest.$ac_ext >&5
20855 ( exit $ac_status )
20858 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20861 echo "$as_me:$LINENO: result: $have_crlf" >&5
20862 echo "${ECHO_T}$have_crlf" >&6
20863 if test x"$have_crlf" = xyes; then
20865 cat >>confdefs.h <<\_ACEOF
20866 #define HAVE_CRLF 1
20871 cat >confcache <<\_ACEOF
20872 # This file is a shell script that caches the results of configure
20873 # tests run on this system so they can be shared between configure
20874 # scripts and configure runs, see configure's option --config-cache.
20875 # It is not useful on other systems. If it contains results you don't
20876 # want to keep, you may remove or edit it.
20878 # config.status only pays attention to the cache file if you give it
20879 # the --recheck option to rerun configure.
20881 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20882 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20883 # following values.
20887 # The following way of writing the cache mishandles newlines in values,
20888 # but we know of no workaround that is simple, portable, and efficient.
20889 # So, don't put newlines in cache variables' values.
20890 # Ultrix sh set writes to stderr and can't be redirected directly,
20891 # and sets the high bit in the cache file unless we assign to the vars.
20894 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20896 # `set' does not quote correctly, so add quotes (double-quote
20897 # substitution turns \\\\ into \\, and sed turns \\ into \).
20900 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20903 # `set' quotes correctly as required by POSIX, so do not add quotes.
20905 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20912 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20914 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20916 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20917 if test -w $cache_file; then
20918 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20919 cat confcache >$cache_file
20921 echo "not updating unwritable cache $cache_file"
20926 if test ${multilib} = yes; then
20927 multilib_arg="--enable-multilib"
20932 # Write our Makefile.
20933 ac_config_files="$ac_config_files Makefile"
20935 cat >confcache <<\_ACEOF
20936 # This file is a shell script that caches the results of configure
20937 # tests run on this system so they can be shared between configure
20938 # scripts and configure runs, see configure's option --config-cache.
20939 # It is not useful on other systems. If it contains results you don't
20940 # want to keep, you may remove or edit it.
20942 # config.status only pays attention to the cache file if you give it
20943 # the --recheck option to rerun configure.
20945 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20946 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20947 # following values.
20951 # The following way of writing the cache mishandles newlines in values,
20952 # but we know of no workaround that is simple, portable, and efficient.
20953 # So, don't put newlines in cache variables' values.
20954 # Ultrix sh set writes to stderr and can't be redirected directly,
20955 # and sets the high bit in the cache file unless we assign to the vars.
20958 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20960 # `set' does not quote correctly, so add quotes (double-quote
20961 # substitution turns \\\\ into \\, and sed turns \\ into \).
20964 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20967 # `set' quotes correctly as required by POSIX, so do not add quotes.
20969 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20976 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20978 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20980 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20981 if test -w $cache_file; then
20982 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20983 cat confcache >$cache_file
20985 echo "not updating unwritable cache $cache_file"
20990 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20991 # Let make expand exec_prefix.
20992 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20994 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20995 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20996 # trailing colons and then remove the whole line if VPATH becomes empty
20997 # (actually we leave an empty line to preserve line numbers).
20998 if test "x$srcdir" = x.; then
20999 ac_vpsub='/^[ ]*VPATH[ ]*=/{
21000 s/:*\$(srcdir):*/:/;
21001 s/:*\${srcdir}:*/:/;
21003 s/^\([^=]*=[ ]*\):*/\1/;
21009 DEFS=-DHAVE_CONFIG_H
21013 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21014 # 1. Remove the extension, and $U if already installed.
21015 ac_i=`echo "$ac_i" |
21016 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
21018 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
21019 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
21021 LIBOBJS=$ac_libobjs
21023 LTLIBOBJS=$ac_ltlibobjs
21026 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21027 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
21028 Usually this means the macro was only invoked conditionally." >&5
21029 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
21030 Usually this means the macro was only invoked conditionally." >&2;}
21031 { (exit 1); exit 1; }; }
21034 : ${CONFIG_STATUS=./config.status}
21035 ac_clean_files_save=$ac_clean_files
21036 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21037 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21038 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21039 cat >$CONFIG_STATUS <<_ACEOF
21041 # Generated by $as_me.
21042 # Run this file to recreate the current configuration.
21043 # Compiler output produced by configure, useful for debugging
21044 # configure, is in config.log if it exists.
21047 ac_cs_recheck=false
21049 SHELL=\${CONFIG_SHELL-$SHELL}
21052 cat >>$CONFIG_STATUS <<\_ACEOF
21053 ## --------------------- ##
21054 ## M4sh Initialization. ##
21055 ## --------------------- ##
21057 # Be Bourne compatible
21058 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21061 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21062 # is contrary to our usage. Disable this feature.
21063 alias -g '${1+"$@"}'='"$@"'
21064 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21067 DUALCASE=1; export DUALCASE # for MKS sh
21069 # Support unset when possible.
21070 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21077 # Work around bugs in pre-3.0 UWIN ksh.
21078 $as_unset ENV MAIL MAILPATH
21085 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21086 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21087 LC_TELEPHONE LC_TIME
21089 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21090 eval $as_var=C; export $as_var
21096 # Required to use basename.
21097 if expr a : '\(a\)' >/dev/null 2>&1; then
21103 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
21104 as_basename=basename
21110 # Name of the executable.
21111 as_me=`$as_basename "$0" ||
21112 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21113 X"$0" : 'X\(//\)$' \| \
21114 X"$0" : 'X\(/\)$' \| \
21115 . : '\(.\)' 2>/dev/null ||
21117 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21118 /^X\/\(\/\/\)$/{ s//\1/; q; }
21119 /^X\/\(\/\).*/{ s//\1/; q; }
21123 # PATH needs CR, and LINENO needs CR and PATH.
21124 # Avoid depending upon Character Ranges.
21125 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21126 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21127 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21128 as_cr_digits='0123456789'
21129 as_cr_alnum=$as_cr_Letters$as_cr_digits
21131 # The user is always right.
21132 if test "${PATH_SEPARATOR+set}" != set; then
21133 echo "#! /bin/sh" >conf$$.sh
21134 echo "exit 0" >>conf$$.sh
21136 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21145 as_lineno_1=$LINENO
21146 as_lineno_2=$LINENO
21147 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21148 test "x$as_lineno_1" != "x$as_lineno_2" &&
21149 test "x$as_lineno_3" = "x$as_lineno_2" || {
21150 # Find who we are. Look in the path if we contain no path at all
21153 *[\\/]* ) as_myself=$0 ;;
21154 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21155 for as_dir in $PATH
21158 test -z "$as_dir" && as_dir=.
21159 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21164 # We did not find ourselves, most probably we were run as `sh COMMAND'
21165 # in which case we are not to be found in the path.
21166 if test "x$as_myself" = x; then
21169 if test ! -f "$as_myself"; then
21170 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
21171 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
21172 { (exit 1); exit 1; }; }
21174 case $CONFIG_SHELL in
21176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21177 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
21180 test -z "$as_dir" && as_dir=.
21181 for as_base in sh bash ksh sh5; do
21184 if ("$as_dir/$as_base" -c '
21185 as_lineno_1=$LINENO
21186 as_lineno_2=$LINENO
21187 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21188 test "x$as_lineno_1" != "x$as_lineno_2" &&
21189 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
21190 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
21191 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
21192 CONFIG_SHELL=$as_dir/$as_base
21193 export CONFIG_SHELL
21194 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
21202 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21203 # uniformly replaced by the line number. The first 'sed' inserts a
21204 # line-number line before each line; the second 'sed' does the real
21205 # work. The second script uses 'N' to pair each line-number line
21206 # with the numbered line, and appends trailing '-' during
21207 # substitution so that $LINENO is not a special case at line end.
21208 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21209 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
21210 sed '=' <$as_myself |
21215 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
21218 s,^['$as_cr_digits']*\n,,
21219 ' >$as_me.lineno &&
21220 chmod +x $as_me.lineno ||
21221 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
21222 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
21223 { (exit 1); exit 1; }; }
21225 # Don't try to exec as it changes $[0], causing all sort of problems
21226 # (the dirname of $[0] is not the place where we might find the
21227 # original and so on. Autoconf is especially sensible to this).
21229 # Exit status is that of the last command.
21234 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
21235 *c*,-n*) ECHO_N= ECHO_C='
21237 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
21238 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
21241 if expr a : '\(a\)' >/dev/null 2>&1; then
21247 rm -f conf$$ conf$$.exe conf$$.file
21249 if ln -s conf$$.file conf$$ 2>/dev/null; then
21250 # We could just check for DJGPP; but this test a) works b) is more generic
21251 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
21252 if test -f conf$$.exe; then
21253 # Don't use ln at all; we don't have any links
21258 elif ln conf$$.file conf$$ 2>/dev/null; then
21263 rm -f conf$$ conf$$.exe conf$$.file
21265 if mkdir -p . 2>/dev/null; then
21268 test -d ./-p && rmdir ./-p
21272 as_executable_p="test -f"
21274 # Sed expression to map a string onto a valid CPP name.
21275 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21277 # Sed expression to map a string onto a valid variable name.
21278 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21282 # We need space, tab and new line, in precisely that order.
21292 # Open the log real soon, to keep \$[0] and so on meaningful, and to
21293 # report actual input values of CONFIG_FILES etc. instead of their
21294 # values after options handling. Logging --version etc. is OK.
21298 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21299 ## Running $as_me. ##
21304 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
21305 generated by GNU Autoconf 2.59. Invocation command line was
21307 CONFIG_FILES = $CONFIG_FILES
21308 CONFIG_HEADERS = $CONFIG_HEADERS
21309 CONFIG_LINKS = $CONFIG_LINKS
21310 CONFIG_COMMANDS = $CONFIG_COMMANDS
21314 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
21318 # Files that config.status was made for.
21319 if test -n "$ac_config_files"; then
21320 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
21323 if test -n "$ac_config_headers"; then
21324 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
21327 if test -n "$ac_config_links"; then
21328 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
21331 if test -n "$ac_config_commands"; then
21332 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
21335 cat >>$CONFIG_STATUS <<\_ACEOF
21338 \`$as_me' instantiates files from templates according to the
21339 current configuration.
21341 Usage: $0 [OPTIONS] [FILE]...
21343 -h, --help print this help, then exit
21344 -V, --version print version number, then exit
21345 -q, --quiet do not print progress messages
21346 -d, --debug don't remove temporary files
21347 --recheck update $as_me by reconfiguring in the same conditions
21348 --file=FILE[:TEMPLATE]
21349 instantiate the configuration file FILE
21350 --header=FILE[:TEMPLATE]
21351 instantiate the configuration header FILE
21353 Configuration files:
21356 Configuration headers:
21359 Configuration commands:
21362 Report bugs to <bug-autoconf@gnu.org>."
21365 cat >>$CONFIG_STATUS <<_ACEOF
21367 GNU Fortran Runtime Library config.status 0.2
21368 configured by $0, generated by GNU Autoconf 2.59,
21369 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
21371 Copyright (C) 2003 Free Software Foundation, Inc.
21372 This config.status script is free software; the Free Software Foundation
21373 gives unlimited permission to copy, distribute and modify it."
21378 cat >>$CONFIG_STATUS <<\_ACEOF
21379 # If no file are specified by the user, then we need to provide default
21380 # value. By we need to know if files were specified by the user.
21386 ac_option=`expr "x$1" : 'x\([^=]*\)='`
21387 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
21395 *) # This is not an option, so the user has probably given explicit
21398 ac_need_defaults=false;;
21402 # Handling of the options.
21404 cat >>$CONFIG_STATUS <<\_ACEOF
21405 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21407 --version | --vers* | -V )
21408 echo "$ac_cs_version"; exit 0 ;;
21410 # Conflict between --help and --header
21411 { { echo "$as_me:$LINENO: error: ambiguous option: $1
21412 Try \`$0 --help' for more information." >&5
21413 echo "$as_me: error: ambiguous option: $1
21414 Try \`$0 --help' for more information." >&2;}
21415 { (exit 1); exit 1; }; };;
21416 --help | --hel | -h )
21417 echo "$ac_cs_usage"; exit 0 ;;
21418 --debug | --d* | -d )
21420 --file | --fil | --fi | --f )
21422 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21423 ac_need_defaults=false;;
21424 --header | --heade | --head | --hea )
21426 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21427 ac_need_defaults=false;;
21428 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21429 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21432 # This is an error.
21433 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
21434 Try \`$0 --help' for more information." >&5
21435 echo "$as_me: error: unrecognized option: $1
21436 Try \`$0 --help' for more information." >&2;}
21437 { (exit 1); exit 1; }; } ;;
21439 *) ac_config_targets="$ac_config_targets $1" ;;
21445 ac_configure_extra_args=
21447 if $ac_cs_silent; then
21449 ac_configure_extra_args="$ac_configure_extra_args --silent"
21453 cat >>$CONFIG_STATUS <<_ACEOF
21454 if \$ac_cs_recheck; then
21455 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21456 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21461 cat >>$CONFIG_STATUS <<_ACEOF
21463 # INIT-COMMANDS section.
21470 with_multisubdir="$with_multisubdir"
21471 with_multisrctop="$with_multisrctop"
21472 with_target_subdir="$with_target_subdir"
21473 ac_configure_args="${multilib_arg} ${ac_configure_args}"
21474 multi_basedir="$multi_basedir"
21475 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
21482 cat >>$CONFIG_STATUS <<\_ACEOF
21483 for ac_config_target in $ac_config_targets
21485 case "$ac_config_target" in
21486 # Handling of arguments.
21487 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21488 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
21489 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
21490 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21491 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21492 { (exit 1); exit 1; }; };;
21496 # If the user did not use the arguments to specify the items to instantiate,
21497 # then the envvar interface is used. Set only those that are not.
21498 # We use the long form for the default assignment because of an extremely
21499 # bizarre bug on SunOS 4.1.3.
21500 if $ac_need_defaults; then
21501 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21502 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21503 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21506 # Have a temporary directory for convenience. Make it in the build tree
21507 # simply because there is no reason to put it here, and in addition,
21508 # creating and moving files from /tmp can sometimes cause problems.
21509 # Create a temporary directory, and hook for its removal unless debugging.
21512 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
21513 trap '{ (exit 1); exit 1; }' 1 2 13 15
21516 # Create a (secure) tmp directory for tmp files.
21519 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
21520 test -n "$tmp" && test -d "$tmp"
21523 tmp=./confstat$$-$RANDOM
21524 (umask 077 && mkdir $tmp)
21527 echo "$me: cannot create a temporary directory in ." >&2
21528 { (exit 1); exit 1; }
21533 cat >>$CONFIG_STATUS <<_ACEOF
21536 # CONFIG_FILES section.
21539 # No need to generate the scripts if there are no CONFIG_FILES.
21540 # This happens for instance when ./config.status config.h
21541 if test -n "\$CONFIG_FILES"; then
21542 # Protect against being on the right side of a sed subst in config.status.
21543 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21544 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21545 s,@SHELL@,$SHELL,;t t
21546 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21547 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21548 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21549 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21550 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21551 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21552 s,@exec_prefix@,$exec_prefix,;t t
21553 s,@prefix@,$prefix,;t t
21554 s,@program_transform_name@,$program_transform_name,;t t
21555 s,@bindir@,$bindir,;t t
21556 s,@sbindir@,$sbindir,;t t
21557 s,@libexecdir@,$libexecdir,;t t
21558 s,@datadir@,$datadir,;t t
21559 s,@sysconfdir@,$sysconfdir,;t t
21560 s,@sharedstatedir@,$sharedstatedir,;t t
21561 s,@localstatedir@,$localstatedir,;t t
21562 s,@libdir@,$libdir,;t t
21563 s,@includedir@,$includedir,;t t
21564 s,@oldincludedir@,$oldincludedir,;t t
21565 s,@infodir@,$infodir,;t t
21566 s,@mandir@,$mandir,;t t
21567 s,@build_alias@,$build_alias,;t t
21568 s,@host_alias@,$host_alias,;t t
21569 s,@target_alias@,$target_alias,;t t
21570 s,@DEFS@,$DEFS,;t t
21571 s,@ECHO_C@,$ECHO_C,;t t
21572 s,@ECHO_N@,$ECHO_N,;t t
21573 s,@ECHO_T@,$ECHO_T,;t t
21574 s,@LIBS@,$LIBS,;t t
21575 s,@build@,$build,;t t
21576 s,@build_cpu@,$build_cpu,;t t
21577 s,@build_vendor@,$build_vendor,;t t
21578 s,@build_os@,$build_os,;t t
21579 s,@host@,$host,;t t
21580 s,@host_cpu@,$host_cpu,;t t
21581 s,@host_vendor@,$host_vendor,;t t
21582 s,@host_os@,$host_os,;t t
21583 s,@target@,$target,;t t
21584 s,@target_cpu@,$target_cpu,;t t
21585 s,@target_vendor@,$target_vendor,;t t
21586 s,@target_os@,$target_os,;t t
21587 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21588 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21589 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21590 s,@CYGPATH_W@,$CYGPATH_W,;t t
21591 s,@PACKAGE@,$PACKAGE,;t t
21592 s,@VERSION@,$VERSION,;t t
21593 s,@ACLOCAL@,$ACLOCAL,;t t
21594 s,@AUTOCONF@,$AUTOCONF,;t t
21595 s,@AUTOMAKE@,$AUTOMAKE,;t t
21596 s,@AUTOHEADER@,$AUTOHEADER,;t t
21597 s,@MAKEINFO@,$MAKEINFO,;t t
21598 s,@install_sh@,$install_sh,;t t
21599 s,@STRIP@,$STRIP,;t t
21600 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21601 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
21602 s,@mkdir_p@,$mkdir_p,;t t
21604 s,@SET_MAKE@,$SET_MAKE,;t t
21605 s,@am__leading_dot@,$am__leading_dot,;t t
21606 s,@AMTAR@,$AMTAR,;t t
21607 s,@am__tar@,$am__tar,;t t
21608 s,@am__untar@,$am__untar,;t t
21609 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
21610 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
21611 s,@MAINT@,$MAINT,;t t
21612 s,@multi_basedir@,$multi_basedir,;t t
21613 s,@toolexecdir@,$toolexecdir,;t t
21614 s,@toolexeclibdir@,$toolexeclibdir,;t t
21616 s,@ac_ct_CC@,$ac_ct_CC,;t t
21617 s,@EXEEXT@,$EXEEXT,;t t
21618 s,@OBJEXT@,$OBJEXT,;t t
21619 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
21620 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
21622 s,@ac_ct_AS@,$ac_ct_AS,;t t
21624 s,@ac_ct_AR@,$ac_ct_AR,;t t
21625 s,@RANLIB@,$RANLIB,;t t
21626 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21627 s,@LN_S@,$LN_S,;t t
21628 s,@LIBTOOL@,$LIBTOOL,;t t
21629 s,@enable_shared@,$enable_shared,;t t
21630 s,@enable_static@,$enable_static,;t t
21632 s,@FCFLAGS@,$FCFLAGS,;t t
21633 s,@LDFLAGS@,$LDFLAGS,;t t
21634 s,@ac_ct_FC@,$ac_ct_FC,;t t
21635 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
21637 s,@CPPFLAGS@,$CPPFLAGS,;t t
21638 s,@EGREP@,$EGREP,;t t
21639 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
21640 s,@LIBOBJS@,$LIBOBJS,;t t
21641 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21646 cat >>$CONFIG_STATUS <<\_ACEOF
21647 # Split the substitutions into bite-sized pieces for seds with
21648 # small command number limits, like on Digital OSF/1 and HP-UX.
21649 ac_max_sed_lines=48
21650 ac_sed_frag=1 # Number of current file.
21651 ac_beg=1 # First line for current file.
21652 ac_end=$ac_max_sed_lines # Line after last line for current file.
21655 while $ac_more_lines; do
21656 if test $ac_beg -gt 1; then
21657 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21659 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21661 if test ! -s $tmp/subs.frag; then
21662 ac_more_lines=false
21664 # The purpose of the label and of the branching condition is to
21665 # speed up the sed processing (if there are no `@' at all, there
21666 # is no need to browse any of the substitutions).
21667 # These are the two extra sed commands mentioned above.
21669 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21670 if test -z "$ac_sed_cmds"; then
21671 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21673 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21675 ac_sed_frag=`expr $ac_sed_frag + 1`
21677 ac_end=`expr $ac_end + $ac_max_sed_lines`
21680 if test -z "$ac_sed_cmds"; then
21683 fi # test -n "$CONFIG_FILES"
21686 cat >>$CONFIG_STATUS <<\_ACEOF
21687 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21688 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21690 - | *:- | *:-:* ) # input from stdin
21692 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21693 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21694 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21695 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21696 * ) ac_file_in=$ac_file.in ;;
21699 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21700 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21701 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21702 X"$ac_file" : 'X\(//\)[^/]' \| \
21703 X"$ac_file" : 'X\(//\)$' \| \
21704 X"$ac_file" : 'X\(/\)' \| \
21705 . : '\(.\)' 2>/dev/null ||
21707 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21708 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21709 /^X\(\/\/\)$/{ s//\1/; q; }
21710 /^X\(\/\).*/{ s//\1/; q; }
21712 { if $as_mkdir_p; then
21717 while test ! -d "$as_dir"; do
21718 as_dirs="$as_dir $as_dirs"
21719 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21720 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21721 X"$as_dir" : 'X\(//\)[^/]' \| \
21722 X"$as_dir" : 'X\(//\)$' \| \
21723 X"$as_dir" : 'X\(/\)' \| \
21724 . : '\(.\)' 2>/dev/null ||
21726 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21727 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21728 /^X\(\/\/\)$/{ s//\1/; q; }
21729 /^X\(\/\).*/{ s//\1/; q; }
21732 test ! -n "$as_dirs" || mkdir $as_dirs
21733 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21734 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21735 { (exit 1); exit 1; }; }; }
21739 if test "$ac_dir" != .; then
21740 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21741 # A "../" for each directory in $ac_dir_suffix.
21742 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21744 ac_dir_suffix= ac_top_builddir=
21748 .) # No --srcdir option. We are building in place.
21750 if test -z "$ac_top_builddir"; then
21753 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21755 [\\/]* | ?:[\\/]* ) # Absolute path.
21756 ac_srcdir=$srcdir$ac_dir_suffix;
21757 ac_top_srcdir=$srcdir ;;
21758 *) # Relative path.
21759 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21760 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21763 # Do not use `cd foo && pwd` to compute absolute paths, because
21764 # the directories may not exist.
21766 .) ac_abs_builddir="$ac_dir";;
21769 .) ac_abs_builddir=`pwd`;;
21770 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21771 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21774 case $ac_abs_builddir in
21775 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21777 case ${ac_top_builddir}. in
21778 .) ac_abs_top_builddir=$ac_abs_builddir;;
21779 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21780 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21783 case $ac_abs_builddir in
21784 .) ac_abs_srcdir=$ac_srcdir;;
21787 .) ac_abs_srcdir=$ac_abs_builddir;;
21788 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21789 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21792 case $ac_abs_builddir in
21793 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21795 case $ac_top_srcdir in
21796 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21797 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21798 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21804 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21805 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21808 if test x"$ac_file" != x-; then
21809 { echo "$as_me:$LINENO: creating $ac_file" >&5
21810 echo "$as_me: creating $ac_file" >&6;}
21813 # Let's still pretend it is `configure' which instantiates (i.e., don't
21814 # use $as_me), people would be surprised to read:
21815 # /* config.h. Generated by config.status. */
21816 if test x"$ac_file" = x-; then
21819 configure_input="$ac_file. "
21821 configure_input=$configure_input"Generated from `echo $ac_file_in |
21822 sed 's,.*/,,'` by configure."
21824 # First look for the input files in the build tree, otherwise in the
21826 ac_file_inputs=`IFS=:
21827 for f in $ac_file_in; do
21829 -) echo $tmp/stdin ;;
21831 # Absolute (can't be DOS-style, as IFS=:)
21832 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21833 echo "$as_me: error: cannot find input file: $f" >&2;}
21834 { (exit 1); exit 1; }; }
21837 if test -f "$f"; then
21840 elif test -f "$srcdir/$f"; then
21845 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21846 echo "$as_me: error: cannot find input file: $f" >&2;}
21847 { (exit 1); exit 1; }; }
21850 done` || { (exit 1); exit 1; }
21852 cat >>$CONFIG_STATUS <<_ACEOF
21856 cat >>$CONFIG_STATUS <<\_ACEOF
21858 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21859 s,@configure_input@,$configure_input,;t t
21860 s,@srcdir@,$ac_srcdir,;t t
21861 s,@abs_srcdir@,$ac_abs_srcdir,;t t
21862 s,@top_srcdir@,$ac_top_srcdir,;t t
21863 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21864 s,@builddir@,$ac_builddir,;t t
21865 s,@abs_builddir@,$ac_abs_builddir,;t t
21866 s,@top_builddir@,$ac_top_builddir,;t t
21867 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21868 s,@INSTALL@,$ac_INSTALL,;t t
21869 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21871 if test x"$ac_file" != x-; then
21872 mv $tmp/out $ac_file
21880 cat >>$CONFIG_STATUS <<\_ACEOF
21883 # CONFIG_HEADER section.
21886 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21887 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21889 # ac_d sets the value in "#define NAME VALUE" lines.
21890 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21891 ac_dB='[ ].*$,\1#\2'
21894 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21895 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21896 ac_uB='$,\1#\2define\3'
21900 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21901 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21903 - | *:- | *:-:* ) # input from stdin
21905 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21906 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21907 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21908 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21909 * ) ac_file_in=$ac_file.in ;;
21912 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21913 echo "$as_me: creating $ac_file" >&6;}
21915 # First look for the input files in the build tree, otherwise in the
21917 ac_file_inputs=`IFS=:
21918 for f in $ac_file_in; do
21920 -) echo $tmp/stdin ;;
21922 # Absolute (can't be DOS-style, as IFS=:)
21923 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21924 echo "$as_me: error: cannot find input file: $f" >&2;}
21925 { (exit 1); exit 1; }; }
21926 # Do quote $f, to prevent DOS paths from being IFS'd.
21929 if test -f "$f"; then
21932 elif test -f "$srcdir/$f"; then
21937 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21938 echo "$as_me: error: cannot find input file: $f" >&2;}
21939 { (exit 1); exit 1; }; }
21942 done` || { (exit 1); exit 1; }
21943 # Remove the trailing spaces.
21944 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21948 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21949 # `conftest.undefs', that substitutes the proper values into
21950 # config.h.in to produce config.h. The first handles `#define'
21951 # templates, and the second `#undef' templates.
21952 # And first: Protect against being on the right side of a sed subst in
21953 # config.status. Protect against being in an unquoted here document
21954 # in config.status.
21955 rm -f conftest.defines conftest.undefs
21956 # Using a here document instead of a string reduces the quoting nightmare.
21957 # Putting comments in sed scripts is not portable.
21959 # `end' is used to avoid that the second main sed command (meant for
21960 # 0-ary CPP macros) applies to n-ary macro definitions.
21961 # See the Autoconf documentation for `clear'.
21962 cat >confdef2sed.sed <<\_ACEOF
21967 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21969 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21972 # If some macros were called several times there might be several times
21973 # the same #defines, which is useless. Nevertheless, we may not want to
21974 # sort them, since we want the *last* AC-DEFINE to be honored.
21975 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21976 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21977 rm -f confdef2sed.sed
21979 # This sed command replaces #undef with comments. This is necessary, for
21980 # example, in the case of _POSIX_SOURCE, which is predefined and required
21981 # on some systems where configure will not decide to define it.
21982 cat >>conftest.undefs <<\_ACEOF
21983 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21986 # Break up conftest.defines because some shells have a limit on the size
21987 # of here documents, and old seds have small limits too (100 cmds).
21988 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21989 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21990 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21991 echo ' :' >>$CONFIG_STATUS
21992 rm -f conftest.tail
21993 while grep . conftest.defines >/dev/null
21995 # Write a limited-size here document to $tmp/defines.sed.
21996 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21997 # Speed up: don't consider the non `#define' lines.
21998 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21999 # Work around the forget-to-reset-the-flag bug.
22000 echo 't clr' >>$CONFIG_STATUS
22001 echo ': clr' >>$CONFIG_STATUS
22002 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
22004 sed -f $tmp/defines.sed $tmp/in >$tmp/out
22006 mv $tmp/out $tmp/in
22008 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
22009 rm -f conftest.defines
22010 mv conftest.tail conftest.defines
22012 rm -f conftest.defines
22013 echo ' fi # grep' >>$CONFIG_STATUS
22014 echo >>$CONFIG_STATUS
22016 # Break up conftest.undefs because some shells have a limit on the size
22017 # of here documents, and old seds have small limits too (100 cmds).
22018 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
22019 rm -f conftest.tail
22020 while grep . conftest.undefs >/dev/null
22022 # Write a limited-size here document to $tmp/undefs.sed.
22023 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
22024 # Speed up: don't consider the non `#undef'
22025 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
22026 # Work around the forget-to-reset-the-flag bug.
22027 echo 't clr' >>$CONFIG_STATUS
22028 echo ': clr' >>$CONFIG_STATUS
22029 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
22031 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
22033 mv $tmp/out $tmp/in
22035 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
22036 rm -f conftest.undefs
22037 mv conftest.tail conftest.undefs
22039 rm -f conftest.undefs
22041 cat >>$CONFIG_STATUS <<\_ACEOF
22042 # Let's still pretend it is `configure' which instantiates (i.e., don't
22043 # use $as_me), people would be surprised to read:
22044 # /* config.h. Generated by config.status. */
22045 if test x"$ac_file" = x-; then
22046 echo "/* Generated by configure. */" >$tmp/config.h
22048 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
22050 cat $tmp/in >>$tmp/config.h
22052 if test x"$ac_file" != x-; then
22053 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
22054 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22055 echo "$as_me: $ac_file is unchanged" >&6;}
22057 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
22058 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22059 X"$ac_file" : 'X\(//\)[^/]' \| \
22060 X"$ac_file" : 'X\(//\)$' \| \
22061 X"$ac_file" : 'X\(/\)' \| \
22062 . : '\(.\)' 2>/dev/null ||
22064 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22065 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22066 /^X\(\/\/\)$/{ s//\1/; q; }
22067 /^X\(\/\).*/{ s//\1/; q; }
22069 { if $as_mkdir_p; then
22074 while test ! -d "$as_dir"; do
22075 as_dirs="$as_dir $as_dirs"
22076 as_dir=`(dirname "$as_dir") 2>/dev/null ||
22077 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22078 X"$as_dir" : 'X\(//\)[^/]' \| \
22079 X"$as_dir" : 'X\(//\)$' \| \
22080 X"$as_dir" : 'X\(/\)' \| \
22081 . : '\(.\)' 2>/dev/null ||
22083 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22084 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22085 /^X\(\/\/\)$/{ s//\1/; q; }
22086 /^X\(\/\).*/{ s//\1/; q; }
22089 test ! -n "$as_dirs" || mkdir $as_dirs
22090 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22091 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22092 { (exit 1); exit 1; }; }; }
22095 mv $tmp/config.h $ac_file
22099 rm -f $tmp/config.h
22101 # Compute $ac_file's index in $config_headers.
22103 for _am_header in $config_headers :; do
22104 case $_am_header in
22105 $ac_file | $ac_file:* )
22108 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
22111 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
22112 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22113 X$ac_file : 'X\(//\)[^/]' \| \
22114 X$ac_file : 'X\(//\)$' \| \
22115 X$ac_file : 'X\(/\)' \| \
22116 . : '\(.\)' 2>/dev/null ||
22118 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22119 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22120 /^X\(\/\/\)$/{ s//\1/; q; }
22121 /^X\(\/\).*/{ s//\1/; q; }
22122 s/.*/./; q'`/stamp-h$_am_stamp_count
22125 cat >>$CONFIG_STATUS <<\_ACEOF
22128 # CONFIG_COMMANDS section.
22130 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
22131 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
22132 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
22133 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
22134 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22135 X"$ac_dest" : 'X\(//\)[^/]' \| \
22136 X"$ac_dest" : 'X\(//\)$' \| \
22137 X"$ac_dest" : 'X\(/\)' \| \
22138 . : '\(.\)' 2>/dev/null ||
22140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22141 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22142 /^X\(\/\/\)$/{ s//\1/; q; }
22143 /^X\(\/\).*/{ s//\1/; q; }
22145 { if $as_mkdir_p; then
22150 while test ! -d "$as_dir"; do
22151 as_dirs="$as_dir $as_dirs"
22152 as_dir=`(dirname "$as_dir") 2>/dev/null ||
22153 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22154 X"$as_dir" : 'X\(//\)[^/]' \| \
22155 X"$as_dir" : 'X\(//\)$' \| \
22156 X"$as_dir" : 'X\(/\)' \| \
22157 . : '\(.\)' 2>/dev/null ||
22159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22160 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22161 /^X\(\/\/\)$/{ s//\1/; q; }
22162 /^X\(\/\).*/{ s//\1/; q; }
22165 test ! -n "$as_dirs" || mkdir $as_dirs
22166 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22167 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22168 { (exit 1); exit 1; }; }; }
22172 if test "$ac_dir" != .; then
22173 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22174 # A "../" for each directory in $ac_dir_suffix.
22175 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22177 ac_dir_suffix= ac_top_builddir=
22181 .) # No --srcdir option. We are building in place.
22183 if test -z "$ac_top_builddir"; then
22186 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
22188 [\\/]* | ?:[\\/]* ) # Absolute path.
22189 ac_srcdir=$srcdir$ac_dir_suffix;
22190 ac_top_srcdir=$srcdir ;;
22191 *) # Relative path.
22192 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22193 ac_top_srcdir=$ac_top_builddir$srcdir ;;
22196 # Do not use `cd foo && pwd` to compute absolute paths, because
22197 # the directories may not exist.
22199 .) ac_abs_builddir="$ac_dir";;
22202 .) ac_abs_builddir=`pwd`;;
22203 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
22204 *) ac_abs_builddir=`pwd`/"$ac_dir";;
22207 case $ac_abs_builddir in
22208 .) ac_abs_top_builddir=${ac_top_builddir}.;;
22210 case ${ac_top_builddir}. in
22211 .) ac_abs_top_builddir=$ac_abs_builddir;;
22212 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22213 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22216 case $ac_abs_builddir in
22217 .) ac_abs_srcdir=$ac_srcdir;;
22220 .) ac_abs_srcdir=$ac_abs_builddir;;
22221 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22222 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22225 case $ac_abs_builddir in
22226 .) ac_abs_top_srcdir=$ac_top_srcdir;;
22228 case $ac_top_srcdir in
22229 .) ac_abs_top_srcdir=$ac_abs_builddir;;
22230 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
22231 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
22236 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
22237 echo "$as_me: executing $ac_dest commands" >&6;}
22240 # Only add multilib support code if we just rebuilt the top-level
22242 case " $CONFIG_FILES " in
22244 ac_file=Makefile . ${multi_basedir}/config-ml.in
22251 cat >>$CONFIG_STATUS <<\_ACEOF
22253 { (exit 0); exit 0; }
22255 chmod +x $CONFIG_STATUS
22256 ac_clean_files=$ac_clean_files_save
22259 # configure is writing to config.log, and then calls config.status.
22260 # config.status does its own redirection, appending to config.log.
22261 # Unfortunately, on DOS this fails, as config.log is still kept open
22262 # by configure, so config.status won't be able to write to it; its
22263 # output is simply discarded. So we exec the FD to /dev/null,
22264 # effectively closing config.log, so it can be properly (re)opened and
22265 # appended to by config.status. When coming back to configure, we
22266 # need to make the FD available again.
22267 if test "$no_create" != yes; then
22269 ac_config_status_args=
22270 test "$silent" = yes &&
22271 ac_config_status_args="$ac_config_status_args --quiet"
22273 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22275 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22276 # would make configure fail if this is the last instruction.
22277 $ac_cs_success || { (exit 1); exit 1; }