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 build_subdir host_subdir target_subdir 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"
1332 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1333 if test -f $ac_dir/install-sh; then
1335 ac_install_sh="$ac_aux_dir/install-sh -c"
1337 elif test -f $ac_dir/install.sh; then
1339 ac_install_sh="$ac_aux_dir/install.sh -c"
1341 elif test -f $ac_dir/shtool; then
1343 ac_install_sh="$ac_aux_dir/shtool install -c"
1347 if test -z "$ac_aux_dir"; then
1348 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1349 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1350 { (exit 1); exit 1; }; }
1352 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1353 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1354 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1356 # Make sure we can run config.sub.
1357 $ac_config_sub sun4 >/dev/null 2>&1 ||
1358 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1359 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1360 { (exit 1); exit 1; }; }
1362 echo "$as_me:$LINENO: checking build system type" >&5
1363 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1364 if test "${ac_cv_build+set}" = set; then
1365 echo $ECHO_N "(cached) $ECHO_C" >&6
1367 ac_cv_build_alias=$build_alias
1368 test -z "$ac_cv_build_alias" &&
1369 ac_cv_build_alias=`$ac_config_guess`
1370 test -z "$ac_cv_build_alias" &&
1371 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1372 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1373 { (exit 1); exit 1; }; }
1374 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1375 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1376 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1377 { (exit 1); exit 1; }; }
1380 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1381 echo "${ECHO_T}$ac_cv_build" >&6
1383 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1384 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1385 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1388 case ${build_alias} in
1389 "") build_noncanonical=${build} ;;
1390 *) build_noncanonical=${build_alias} ;;
1393 case ${host_alias} in
1394 "") host_noncanonical=${build_noncanonical} ;;
1395 *) host_noncanonical=${host_alias} ;;
1398 case ${target_alias} in
1399 "") target_noncanonical=${host_noncanonical} ;;
1400 *) target_noncanonical=${target_alias} ;;
1403 # Prefix 'build-' so this never conflicts with target_subdir.
1404 build_subdir="build-${build_noncanonical}"
1405 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1406 if ( test $srcdir = . && test -d gcc ) \
1407 || test -d $srcdir/../host-${host_noncanonical}; then
1408 host_subdir="host-${host_noncanonical}"
1413 target_subdir=${target_noncanonical}
1420 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1421 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1422 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1423 if test "${enable_version_specific_runtime_libs+set}" = set; then
1424 enableval="$enable_version_specific_runtime_libs"
1425 case "$enableval" in
1426 yes) version_specific_libs=yes ;;
1427 no) version_specific_libs=no ;;
1428 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1429 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1430 { (exit 1); exit 1; }; };;
1433 version_specific_libs=no
1435 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1436 echo "${ECHO_T}$version_specific_libs" >&6
1439 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1441 # You will slowly go insane if you do not grok the following fact: when
1442 # building this library, the top-level /target/ becomes the library's /host/.
1444 # configure then causes --target to default to --host, exactly like any
1445 # other package using autoconf. Therefore, 'target' and 'host' will
1446 # always be the same. This makes sense both for native and cross compilers
1447 # just think about it for a little while. :-)
1449 # Also, if this library is being configured as part of a cross compiler, the
1450 # top-level configure script will pass the "real" host as $with_cross_host.
1452 # Do not delete or change the following two lines. For why, see
1453 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1454 echo "$as_me:$LINENO: checking host system type" >&5
1455 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1456 if test "${ac_cv_host+set}" = set; then
1457 echo $ECHO_N "(cached) $ECHO_C" >&6
1459 ac_cv_host_alias=$host_alias
1460 test -z "$ac_cv_host_alias" &&
1461 ac_cv_host_alias=$ac_cv_build_alias
1462 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1463 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1464 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1465 { (exit 1); exit 1; }; }
1468 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1469 echo "${ECHO_T}$ac_cv_host" >&6
1471 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1472 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1473 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1476 echo "$as_me:$LINENO: checking target system type" >&5
1477 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1478 if test "${ac_cv_target+set}" = set; then
1479 echo $ECHO_N "(cached) $ECHO_C" >&6
1481 ac_cv_target_alias=$target_alias
1482 test "x$ac_cv_target_alias" = "x" &&
1483 ac_cv_target_alias=$ac_cv_host_alias
1484 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1485 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1486 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1487 { (exit 1); exit 1; }; }
1490 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1491 echo "${ECHO_T}$ac_cv_target" >&6
1492 target=$ac_cv_target
1493 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1494 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1495 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1498 # The aliases save the names the user supplied, while $host etc.
1499 # will get canonicalized.
1500 test -n "$target_alias" &&
1501 test "$program_prefix$program_suffix$program_transform_name" = \
1503 program_prefix=${target_alias}-
1504 target_alias=${target_alias-$host_alias}
1506 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1507 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1508 # 1.8.2: minimum required version
1509 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1510 # of other PACKAGE_* variables will, however, and there's nothing
1511 # we can do about that; they come from AC_INIT).
1512 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1513 # file in the top srcdir, etc, etc), so stop complaining.
1514 # no-dependencies: turns off auto dependency generation (just for now)
1515 # -Wall: turns on all automake warnings...
1516 # -Wno-portability: ...except this one, since GNU make is required.
1517 am__api_version="1.9"
1518 # Find a good install program. We prefer a C program (faster),
1519 # so one script is as good as another. But avoid the broken or
1520 # incompatible versions:
1521 # SysV /etc/install, /usr/sbin/install
1522 # SunOS /usr/etc/install
1523 # IRIX /sbin/install
1525 # AmigaOS /C/install, which installs bootblocks on floppy discs
1526 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1527 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1528 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1529 # OS/2's system install, which has a completely different semantic
1530 # ./install, which can be erroneously created by make from ./install.sh.
1531 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1532 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1533 if test -z "$INSTALL"; then
1534 if test "${ac_cv_path_install+set}" = set; then
1535 echo $ECHO_N "(cached) $ECHO_C" >&6
1537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1541 test -z "$as_dir" && as_dir=.
1542 # Account for people who put trailing slashes in PATH elements.
1544 ./ | .// | /cC/* | \
1545 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1546 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1549 # OSF1 and SCO ODT 3.0 have their own names for install.
1550 # Don't use installbsd from OSF since it installs stuff as root
1552 for ac_prog in ginstall scoinst install; do
1553 for ac_exec_ext in '' $ac_executable_extensions; do
1554 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1555 if test $ac_prog = install &&
1556 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1557 # AIX install. It has an incompatible calling convention.
1559 elif test $ac_prog = install &&
1560 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1561 # program-specific install script used by HP pwplus--don't use.
1564 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1576 if test "${ac_cv_path_install+set}" = set; then
1577 INSTALL=$ac_cv_path_install
1579 # As a last resort, use the slow shell script. We don't cache a
1580 # path for INSTALL within a source directory, because that will
1581 # break other packages using the cache if that directory is
1582 # removed, or if the path is relative.
1583 INSTALL=$ac_install_sh
1586 echo "$as_me:$LINENO: result: $INSTALL" >&5
1587 echo "${ECHO_T}$INSTALL" >&6
1589 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1590 # It thinks the first close brace ends the variable substitution.
1591 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1593 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1595 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1597 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1598 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1601 echo timestamp > conftest.file
1602 # Do `set' in a subshell so we don't clobber the current shell's
1603 # arguments. Must try -L first in case configure is actually a
1604 # symlink; some systems play weird games with the mod time of symlinks
1605 # (eg FreeBSD returns the mod time of the symlink's containing
1608 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1609 if test "$*" = "X"; then
1611 set X `ls -t $srcdir/configure conftest.file`
1614 if test "$*" != "X $srcdir/configure conftest.file" \
1615 && test "$*" != "X conftest.file $srcdir/configure"; then
1617 # If neither matched, then we have a broken ls. This can happen
1618 # if, for instance, CONFIG_SHELL is bash and it inherits a
1619 # broken ls alias from the environment. This has actually
1620 # happened. Such a system could not be considered "sane".
1621 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1622 alias in your environment" >&5
1623 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1624 alias in your environment" >&2;}
1625 { (exit 1); exit 1; }; }
1628 test "$2" = conftest.file
1634 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1635 Check your system clock" >&5
1636 echo "$as_me: error: newly created file is older than distributed files!
1637 Check your system clock" >&2;}
1638 { (exit 1); exit 1; }; }
1640 echo "$as_me:$LINENO: result: yes" >&5
1641 echo "${ECHO_T}yes" >&6
1642 test "$program_prefix" != NONE &&
1643 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1644 # Use a double $ so make ignores it.
1645 test "$program_suffix" != NONE &&
1646 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1647 # Double any \ or $. echo might interpret backslashes.
1648 # By default was `s,x,x', remove it if useless.
1649 cat <<\_ACEOF >conftest.sed
1650 s/[\\$]/&&/g;s/;s,x,x,$//
1652 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1655 # expand $ac_aux_dir to an absolute path
1656 am_aux_dir=`cd $ac_aux_dir && pwd`
1658 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1659 # Use eval to expand $SHELL
1660 if eval "$MISSING --run true"; then
1661 am_missing_run="$MISSING --run "
1664 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1665 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1668 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1669 # We used to keeping the `.' as first argument, in order to
1670 # allow $(mkdir_p) to be used without argument. As in
1671 # $(mkdir_p) $(somedir)
1672 # where $(somedir) is conditionally defined. However this is wrong
1674 # 1. if the package is installed by a user who cannot write `.'
1675 # make install will fail,
1676 # 2. the above comment should most certainly read
1677 # $(mkdir_p) $(DESTDIR)$(somedir)
1678 # so it does not work when $(somedir) is undefined and
1679 # $(DESTDIR) is not.
1680 # To support the latter case, we have to write
1681 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1682 # so the `.' trick is pointless.
1683 mkdir_p='mkdir -p --'
1685 # On NextStep and OpenStep, the `mkdir' command does not
1686 # recognize any option. It will interpret all options as
1687 # directories to create, and then abort because `.' already
1689 for d in ./-p ./--version;
1691 test -d $d && rmdir $d
1693 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1694 if test -f "$ac_aux_dir/mkinstalldirs"; then
1695 mkdir_p='$(mkinstalldirs)'
1697 mkdir_p='$(install_sh) -d'
1701 for ac_prog in gawk mawk nawk awk
1703 # Extract the first word of "$ac_prog", so it can be a program name with args.
1704 set dummy $ac_prog; ac_word=$2
1705 echo "$as_me:$LINENO: checking for $ac_word" >&5
1706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1707 if test "${ac_cv_prog_AWK+set}" = set; then
1708 echo $ECHO_N "(cached) $ECHO_C" >&6
1710 if test -n "$AWK"; then
1711 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1717 test -z "$as_dir" && as_dir=.
1718 for ac_exec_ext in '' $ac_executable_extensions; do
1719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1720 ac_cv_prog_AWK="$ac_prog"
1721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1730 if test -n "$AWK"; then
1731 echo "$as_me:$LINENO: result: $AWK" >&5
1732 echo "${ECHO_T}$AWK" >&6
1734 echo "$as_me:$LINENO: result: no" >&5
1735 echo "${ECHO_T}no" >&6
1738 test -n "$AWK" && break
1741 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1742 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1743 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1744 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1745 echo $ECHO_N "(cached) $ECHO_C" >&6
1747 cat >conftest.make <<\_ACEOF
1749 @echo 'ac_maketemp="$(MAKE)"'
1751 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1752 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1753 if test -n "$ac_maketemp"; then
1754 eval ac_cv_prog_make_${ac_make}_set=yes
1756 eval ac_cv_prog_make_${ac_make}_set=no
1760 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1761 echo "$as_me:$LINENO: result: yes" >&5
1762 echo "${ECHO_T}yes" >&6
1765 echo "$as_me:$LINENO: result: no" >&5
1766 echo "${ECHO_T}no" >&6
1767 SET_MAKE="MAKE=${MAKE-make}"
1770 rm -rf .tst 2>/dev/null
1771 mkdir .tst 2>/dev/null
1772 if test -d .tst; then
1777 rmdir .tst 2>/dev/null
1779 # test to see if srcdir already configured
1780 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1781 test -f $srcdir/config.status; then
1782 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1783 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1784 { (exit 1); exit 1; }; }
1787 # test whether we have cygpath
1788 if test -z "$CYGPATH_W"; then
1789 if (cygpath --version) >/dev/null 2>/dev/null; then
1790 CYGPATH_W='cygpath -w'
1797 # Define the identity of the package.
1798 PACKAGE='libgfortran'
1802 # Some tools Automake needs.
1804 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1807 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1810 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1813 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1816 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1818 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1820 # Installed binaries are usually stripped using `strip' when the user
1821 # run `make install-strip'. However `strip' might not be the right
1822 # tool to use in cross-compilation environments, therefore Automake
1823 # will honor the `STRIP' environment variable to overrule this program.
1824 if test "$cross_compiling" != no; then
1825 if test -n "$ac_tool_prefix"; then
1826 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1827 set dummy ${ac_tool_prefix}strip; ac_word=$2
1828 echo "$as_me:$LINENO: checking for $ac_word" >&5
1829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1830 if test "${ac_cv_prog_STRIP+set}" = set; then
1831 echo $ECHO_N "(cached) $ECHO_C" >&6
1833 if test -n "$STRIP"; then
1834 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1840 test -z "$as_dir" && as_dir=.
1841 for ac_exec_ext in '' $ac_executable_extensions; do
1842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1843 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1852 STRIP=$ac_cv_prog_STRIP
1853 if test -n "$STRIP"; then
1854 echo "$as_me:$LINENO: result: $STRIP" >&5
1855 echo "${ECHO_T}$STRIP" >&6
1857 echo "$as_me:$LINENO: result: no" >&5
1858 echo "${ECHO_T}no" >&6
1862 if test -z "$ac_cv_prog_STRIP"; then
1864 # Extract the first word of "strip", so it can be a program name with args.
1865 set dummy strip; ac_word=$2
1866 echo "$as_me:$LINENO: checking for $ac_word" >&5
1867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1868 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1869 echo $ECHO_N "(cached) $ECHO_C" >&6
1871 if test -n "$ac_ct_STRIP"; then
1872 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1878 test -z "$as_dir" && as_dir=.
1879 for ac_exec_ext in '' $ac_executable_extensions; do
1880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1881 ac_cv_prog_ac_ct_STRIP="strip"
1882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1888 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1891 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1892 if test -n "$ac_ct_STRIP"; then
1893 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1894 echo "${ECHO_T}$ac_ct_STRIP" >&6
1896 echo "$as_me:$LINENO: result: no" >&5
1897 echo "${ECHO_T}no" >&6
1902 STRIP="$ac_cv_prog_STRIP"
1906 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1908 # We need awk for the "check" target. The system "awk" is bad on
1910 # Always define AMTAR for backward compatibility.
1912 AMTAR=${AMTAR-"${am_missing_run}tar"}
1914 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1921 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1922 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1923 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1924 if test "${enable_maintainer_mode+set}" = set; then
1925 enableval="$enable_maintainer_mode"
1926 USE_MAINTAINER_MODE=$enableval
1928 USE_MAINTAINER_MODE=no
1930 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1931 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1934 if test $USE_MAINTAINER_MODE = yes; then
1935 MAINTAINER_MODE_TRUE=
1936 MAINTAINER_MODE_FALSE='#'
1938 MAINTAINER_MODE_TRUE='#'
1939 MAINTAINER_MODE_FALSE=
1942 MAINT=$MAINTAINER_MODE_TRUE
1945 # Default to --enable-multilib
1946 # Check whether --enable-multilib or --disable-multilib was given.
1947 if test "${enable_multilib+set}" = set; then
1948 enableval="$enable_multilib"
1949 case "$enableval" in
1950 yes) multilib=yes ;;
1952 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1953 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1954 { (exit 1); exit 1; }; } ;;
1960 # We may get other options which we leave undocumented:
1961 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1962 # See config-ml.in if you want the gory details.
1964 if test "$srcdir" = "."; then
1965 if test "$with_target_subdir" != "."; then
1966 multi_basedir="$srcdir/$with_multisrctop../.."
1968 multi_basedir="$srcdir/$with_multisrctop.."
1971 multi_basedir="$srcdir/.."
1975 ac_config_commands="$ac_config_commands default-1"
1978 # Handy for debugging:
1979 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1981 # Are we being configured with some form of cross compiler?
1982 # NB: We don't actually need to know this just now, but when, say, a test
1983 # suite is included, we'll have to know.
1984 if test "$build" != "$host"; then
1985 LIBGFOR_IS_NATIVE=false
1988 LIBGFOR_IS_NATIVE=true
1991 # Calculate toolexeclibdir
1992 # Also toolexecdir, though it's only used in toolexeclibdir
1993 case ${version_specific_libs} in
1995 # Need the gcc compiler version to know where to install libraries
1996 # and header files if --enable-version-specific-runtime-libs option
1998 toolexecdir='$(libdir)/gcc/$(target_alias)'
1999 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2002 if test -n "$with_cross_host" &&
2003 test x"$with_cross_host" != x"no"; then
2004 # Install a library built with a cross compiler in tooldir, not libdir.
2005 toolexecdir='$(exec_prefix)/$(target_alias)'
2006 toolexeclibdir='$(toolexecdir)/lib'
2008 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2009 toolexeclibdir='$(libdir)'
2011 multi_os_directory=`$CC -print-multi-os-directory`
2012 case $multi_os_directory in
2013 .) ;; # Avoid trailing /.
2014 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2021 # Check the compiler.
2022 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2023 # We must force CC to /not/ be precious variables; otherwise
2024 # the wrong, non-multilib-adjusted value will be used in multilibs.
2025 # As a side effect, we have to subst CFLAGS ourselves.
2030 ac_cpp='$CPP $CPPFLAGS'
2031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2034 if test -n "$ac_tool_prefix"; then
2035 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2036 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2037 echo "$as_me:$LINENO: checking for $ac_word" >&5
2038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2039 if test "${ac_cv_prog_CC+set}" = set; then
2040 echo $ECHO_N "(cached) $ECHO_C" >&6
2042 if test -n "$CC"; then
2043 ac_cv_prog_CC="$CC" # Let the user override the test.
2045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2049 test -z "$as_dir" && as_dir=.
2050 for ac_exec_ext in '' $ac_executable_extensions; do
2051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2052 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2062 if test -n "$CC"; then
2063 echo "$as_me:$LINENO: result: $CC" >&5
2064 echo "${ECHO_T}$CC" >&6
2066 echo "$as_me:$LINENO: result: no" >&5
2067 echo "${ECHO_T}no" >&6
2071 if test -z "$ac_cv_prog_CC"; then
2073 # Extract the first word of "gcc", so it can be a program name with args.
2074 set dummy gcc; ac_word=$2
2075 echo "$as_me:$LINENO: checking for $ac_word" >&5
2076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2077 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2078 echo $ECHO_N "(cached) $ECHO_C" >&6
2080 if test -n "$ac_ct_CC"; then
2081 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2087 test -z "$as_dir" && as_dir=.
2088 for ac_exec_ext in '' $ac_executable_extensions; do
2089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2090 ac_cv_prog_ac_ct_CC="gcc"
2091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2099 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2100 if test -n "$ac_ct_CC"; then
2101 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2102 echo "${ECHO_T}$ac_ct_CC" >&6
2104 echo "$as_me:$LINENO: result: no" >&5
2105 echo "${ECHO_T}no" >&6
2113 if test -z "$CC"; then
2114 if test -n "$ac_tool_prefix"; then
2115 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2116 set dummy ${ac_tool_prefix}cc; ac_word=$2
2117 echo "$as_me:$LINENO: checking for $ac_word" >&5
2118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2119 if test "${ac_cv_prog_CC+set}" = set; then
2120 echo $ECHO_N "(cached) $ECHO_C" >&6
2122 if test -n "$CC"; then
2123 ac_cv_prog_CC="$CC" # Let the user override the test.
2125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2129 test -z "$as_dir" && as_dir=.
2130 for ac_exec_ext in '' $ac_executable_extensions; do
2131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2132 ac_cv_prog_CC="${ac_tool_prefix}cc"
2133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2142 if test -n "$CC"; then
2143 echo "$as_me:$LINENO: result: $CC" >&5
2144 echo "${ECHO_T}$CC" >&6
2146 echo "$as_me:$LINENO: result: no" >&5
2147 echo "${ECHO_T}no" >&6
2151 if test -z "$ac_cv_prog_CC"; then
2153 # Extract the first word of "cc", so it can be a program name with args.
2154 set dummy cc; ac_word=$2
2155 echo "$as_me:$LINENO: checking for $ac_word" >&5
2156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2157 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2158 echo $ECHO_N "(cached) $ECHO_C" >&6
2160 if test -n "$ac_ct_CC"; then
2161 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2167 test -z "$as_dir" && as_dir=.
2168 for ac_exec_ext in '' $ac_executable_extensions; do
2169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2170 ac_cv_prog_ac_ct_CC="cc"
2171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2179 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2180 if test -n "$ac_ct_CC"; then
2181 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2182 echo "${ECHO_T}$ac_ct_CC" >&6
2184 echo "$as_me:$LINENO: result: no" >&5
2185 echo "${ECHO_T}no" >&6
2194 if test -z "$CC"; then
2195 # Extract the first word of "cc", so it can be a program name with args.
2196 set dummy cc; ac_word=$2
2197 echo "$as_me:$LINENO: checking for $ac_word" >&5
2198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2199 if test "${ac_cv_prog_CC+set}" = set; then
2200 echo $ECHO_N "(cached) $ECHO_C" >&6
2202 if test -n "$CC"; then
2203 ac_cv_prog_CC="$CC" # Let the user override the test.
2206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2210 test -z "$as_dir" && as_dir=.
2211 for ac_exec_ext in '' $ac_executable_extensions; do
2212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2213 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2214 ac_prog_rejected=yes
2218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2224 if test $ac_prog_rejected = yes; then
2225 # We found a bogon in the path, so make sure we never use it.
2226 set dummy $ac_cv_prog_CC
2228 if test $# != 0; then
2229 # We chose a different compiler from the bogus one.
2230 # However, it has the same basename, so the bogon will be chosen
2231 # first if we set CC to just the basename; use the full file name.
2233 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2239 if test -n "$CC"; then
2240 echo "$as_me:$LINENO: result: $CC" >&5
2241 echo "${ECHO_T}$CC" >&6
2243 echo "$as_me:$LINENO: result: no" >&5
2244 echo "${ECHO_T}no" >&6
2248 if test -z "$CC"; then
2249 if test -n "$ac_tool_prefix"; then
2252 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2253 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2254 echo "$as_me:$LINENO: checking for $ac_word" >&5
2255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2256 if test "${ac_cv_prog_CC+set}" = set; then
2257 echo $ECHO_N "(cached) $ECHO_C" >&6
2259 if test -n "$CC"; then
2260 ac_cv_prog_CC="$CC" # Let the user override the test.
2262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266 test -z "$as_dir" && as_dir=.
2267 for ac_exec_ext in '' $ac_executable_extensions; do
2268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2269 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2279 if test -n "$CC"; then
2280 echo "$as_me:$LINENO: result: $CC" >&5
2281 echo "${ECHO_T}$CC" >&6
2283 echo "$as_me:$LINENO: result: no" >&5
2284 echo "${ECHO_T}no" >&6
2287 test -n "$CC" && break
2290 if test -z "$CC"; then
2294 # Extract the first word of "$ac_prog", so it can be a program name with args.
2295 set dummy $ac_prog; ac_word=$2
2296 echo "$as_me:$LINENO: checking for $ac_word" >&5
2297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2298 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2299 echo $ECHO_N "(cached) $ECHO_C" >&6
2301 if test -n "$ac_ct_CC"; then
2302 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308 test -z "$as_dir" && as_dir=.
2309 for ac_exec_ext in '' $ac_executable_extensions; do
2310 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2311 ac_cv_prog_ac_ct_CC="$ac_prog"
2312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2320 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2321 if test -n "$ac_ct_CC"; then
2322 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2323 echo "${ECHO_T}$ac_ct_CC" >&6
2325 echo "$as_me:$LINENO: result: no" >&5
2326 echo "${ECHO_T}no" >&6
2329 test -n "$ac_ct_CC" && break
2338 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2339 See \`config.log' for more details." >&5
2340 echo "$as_me: error: no acceptable C compiler found in \$PATH
2341 See \`config.log' for more details." >&2;}
2342 { (exit 1); exit 1; }; }
2344 # Provide some information about the compiler.
2345 echo "$as_me:$LINENO:" \
2346 "checking for C compiler version" >&5
2347 ac_compiler=`set X $ac_compile; echo $2`
2348 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2349 (eval $ac_compiler --version </dev/null >&5) 2>&5
2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); }
2353 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2354 (eval $ac_compiler -v </dev/null >&5) 2>&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }
2358 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2359 (eval $ac_compiler -V </dev/null >&5) 2>&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }
2364 cat >conftest.$ac_ext <<_ACEOF
2367 cat confdefs.h >>conftest.$ac_ext
2368 cat >>conftest.$ac_ext <<_ACEOF
2369 /* end confdefs.h. */
2380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2381 (eval $ac_link) 2>&5
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }; then
2390 if test x$gcc_no_link = xyes; then
2391 # Setting cross_compile will disable run tests; it will
2392 # also disable AC_CHECK_FILE but that's generally
2393 # correct if we can't link.
2397 cat >conftest.$ac_ext <<_ACEOF
2400 cat confdefs.h >>conftest.$ac_ext
2401 cat >>conftest.$ac_ext <<_ACEOF
2402 /* end confdefs.h. */
2412 ac_clean_files_save=$ac_clean_files
2413 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2414 # Try to create an executable without -o first, disregard a.out.
2415 # It will help us diagnose broken compilers, and finding out an intuition
2417 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2418 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2419 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2420 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2421 (eval $ac_link_default) 2>&5
2423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424 (exit $ac_status); }; then
2425 # Find the output, starting from the most likely. This scheme is
2426 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2429 # Be careful to initialize this variable, since it used to be cached.
2430 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2432 # b.out is created by i960 compilers.
2433 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2435 test -f "$ac_file" || continue
2437 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2440 # This is the source file.
2443 # We found the default executable, but exeext='' is most
2447 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2448 # FIXME: I believe we export ac_cv_exeext for Libtool,
2449 # but it would be cool to find out if it's true. Does anybody
2450 # maintain Libtool? --akim.
2458 echo "$as_me: failed program was:" >&5
2459 sed 's/^/| /' conftest.$ac_ext >&5
2461 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2462 See \`config.log' for more details." >&5
2463 echo "$as_me: error: C compiler cannot create executables
2464 See \`config.log' for more details." >&2;}
2465 { (exit 77); exit 77; }; }
2468 ac_exeext=$ac_cv_exeext
2469 echo "$as_me:$LINENO: result: $ac_file" >&5
2470 echo "${ECHO_T}$ac_file" >&6
2472 # Check the compiler produces executables we can run. If not, either
2473 # the compiler is broken, or we cross compile.
2474 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2475 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2476 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2477 # If not cross compiling, check that we can run a simple program.
2478 if test "$cross_compiling" != yes; then
2479 if { ac_try='./$ac_file'
2480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484 (exit $ac_status); }; }; then
2487 if test "$cross_compiling" = maybe; then
2490 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2491 If you meant to cross compile, use \`--host'.
2492 See \`config.log' for more details." >&5
2493 echo "$as_me: error: cannot run C compiled programs.
2494 If you meant to cross compile, use \`--host'.
2495 See \`config.log' for more details." >&2;}
2496 { (exit 1); exit 1; }; }
2500 echo "$as_me:$LINENO: result: yes" >&5
2501 echo "${ECHO_T}yes" >&6
2503 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2504 ac_clean_files=$ac_clean_files_save
2505 # Check the compiler produces executables we can run. If not, either
2506 # the compiler is broken, or we cross compile.
2507 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2508 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2509 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2510 echo "${ECHO_T}$cross_compiling" >&6
2512 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2513 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2515 (eval $ac_link) 2>&5
2517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518 (exit $ac_status); }; then
2519 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2520 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2521 # work properly (i.e., refer to `conftest.exe'), while it won't with
2523 for ac_file in conftest.exe conftest conftest.*; do
2524 test -f "$ac_file" || continue
2526 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2527 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2534 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2535 See \`config.log' for more details." >&5
2536 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2537 See \`config.log' for more details." >&2;}
2538 { (exit 1); exit 1; }; }
2541 rm -f conftest$ac_cv_exeext
2542 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2543 echo "${ECHO_T}$ac_cv_exeext" >&6
2545 rm -f conftest.$ac_ext
2546 EXEEXT=$ac_cv_exeext
2549 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2550 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2551 if test "${ac_cv_objext+set}" = set; then
2552 echo $ECHO_N "(cached) $ECHO_C" >&6
2554 cat >conftest.$ac_ext <<_ACEOF
2557 cat confdefs.h >>conftest.$ac_ext
2558 cat >>conftest.$ac_ext <<_ACEOF
2559 /* end confdefs.h. */
2569 rm -f conftest.o conftest.obj
2570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2571 (eval $ac_compile) 2>&5
2573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574 (exit $ac_status); }; then
2575 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2577 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2578 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2583 echo "$as_me: failed program was:" >&5
2584 sed 's/^/| /' conftest.$ac_ext >&5
2586 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2587 See \`config.log' for more details." >&5
2588 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2589 See \`config.log' for more details." >&2;}
2590 { (exit 1); exit 1; }; }
2593 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2595 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2596 echo "${ECHO_T}$ac_cv_objext" >&6
2597 OBJEXT=$ac_cv_objext
2599 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2600 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2601 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2602 echo $ECHO_N "(cached) $ECHO_C" >&6
2604 cat >conftest.$ac_ext <<_ACEOF
2607 cat confdefs.h >>conftest.$ac_ext
2608 cat >>conftest.$ac_ext <<_ACEOF
2609 /* end confdefs.h. */
2622 rm -f conftest.$ac_objext
2623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2624 (eval $ac_compile) 2>conftest.er1
2626 grep -v '^ *+' conftest.er1 >conftest.err
2628 cat conftest.err >&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); } &&
2631 { ac_try='test -z "$ac_c_werror_flag"
2632 || test ! -s conftest.err'
2633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637 (exit $ac_status); }; } &&
2638 { ac_try='test -s conftest.$ac_objext'
2639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643 (exit $ac_status); }; }; then
2646 echo "$as_me: failed program was:" >&5
2647 sed 's/^/| /' conftest.$ac_ext >&5
2651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2652 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2655 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2656 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2657 GCC=`test $ac_compiler_gnu = yes && echo yes`
2658 ac_test_CFLAGS=${CFLAGS+set}
2659 ac_save_CFLAGS=$CFLAGS
2661 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2662 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2663 if test "${ac_cv_prog_cc_g+set}" = set; then
2664 echo $ECHO_N "(cached) $ECHO_C" >&6
2666 cat >conftest.$ac_ext <<_ACEOF
2669 cat confdefs.h >>conftest.$ac_ext
2670 cat >>conftest.$ac_ext <<_ACEOF
2671 /* end confdefs.h. */
2681 rm -f conftest.$ac_objext
2682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2683 (eval $ac_compile) 2>conftest.er1
2685 grep -v '^ *+' conftest.er1 >conftest.err
2687 cat conftest.err >&5
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); } &&
2690 { ac_try='test -z "$ac_c_werror_flag"
2691 || test ! -s conftest.err'
2692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696 (exit $ac_status); }; } &&
2697 { ac_try='test -s conftest.$ac_objext'
2698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2702 (exit $ac_status); }; }; then
2705 echo "$as_me: failed program was:" >&5
2706 sed 's/^/| /' conftest.$ac_ext >&5
2710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2712 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2713 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2714 if test "$ac_test_CFLAGS" = set; then
2715 CFLAGS=$ac_save_CFLAGS
2716 elif test $ac_cv_prog_cc_g = yes; then
2717 if test "$GCC" = yes; then
2723 if test "$GCC" = yes; then
2729 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2730 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2731 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2732 echo $ECHO_N "(cached) $ECHO_C" >&6
2734 ac_cv_prog_cc_stdc=no
2736 cat >conftest.$ac_ext <<_ACEOF
2739 cat confdefs.h >>conftest.$ac_ext
2740 cat >>conftest.$ac_ext <<_ACEOF
2741 /* end confdefs.h. */
2744 #include <sys/types.h>
2745 #include <sys/stat.h>
2746 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2747 struct buf { int x; };
2748 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2749 static char *e (p, i)
2755 static char *f (char * (*g) (char **, int), char **p, ...)
2760 s = g (p, va_arg (v,int));
2765 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2766 function prototypes and stuff, but not '\xHH' hex character constants.
2767 These don't provoke an error unfortunately, instead are silently treated
2768 as 'x'. The following induces an error, until -std1 is added to get
2769 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2770 array size at least. It's necessary to write '\x00'==0 to get something
2771 that's true only with -std1. */
2772 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2774 int test (int i, double x);
2775 struct s1 {int (*f) (int a);};
2776 struct s2 {int (*f) (double a);};
2777 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2783 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2788 # Don't try gcc -ansi; that turns off useful extensions and
2789 # breaks some systems' header files.
2790 # AIX -qlanglvl=ansi
2791 # Ultrix and OSF/1 -std1
2792 # HP-UX 10.20 and later -Ae
2793 # HP-UX older versions -Aa -D_HPUX_SOURCE
2794 # SVR4 -Xc -D__EXTENSIONS__
2795 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2797 CC="$ac_save_CC $ac_arg"
2798 rm -f conftest.$ac_objext
2799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2800 (eval $ac_compile) 2>conftest.er1
2802 grep -v '^ *+' conftest.er1 >conftest.err
2804 cat conftest.err >&5
2805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2806 (exit $ac_status); } &&
2807 { ac_try='test -z "$ac_c_werror_flag"
2808 || test ! -s conftest.err'
2809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 (exit $ac_status); }; } &&
2814 { ac_try='test -s conftest.$ac_objext'
2815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819 (exit $ac_status); }; }; then
2820 ac_cv_prog_cc_stdc=$ac_arg
2823 echo "$as_me: failed program was:" >&5
2824 sed 's/^/| /' conftest.$ac_ext >&5
2827 rm -f conftest.err conftest.$ac_objext
2829 rm -f conftest.$ac_ext conftest.$ac_objext
2834 case "x$ac_cv_prog_cc_stdc" in
2836 echo "$as_me:$LINENO: result: none needed" >&5
2837 echo "${ECHO_T}none needed" >&6 ;;
2839 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2840 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2841 CC="$CC $ac_cv_prog_cc_stdc" ;;
2844 # Some people use a C++ compiler to compile C. Since we use `exit',
2845 # in C++ we need to declare it. In case someone uses the same compiler
2846 # for both compiling C and C++ we need to have the C++ compiler decide
2847 # the declaration of exit, since it's the most demanding environment.
2848 cat >conftest.$ac_ext <<_ACEOF
2853 rm -f conftest.$ac_objext
2854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2855 (eval $ac_compile) 2>conftest.er1
2857 grep -v '^ *+' conftest.er1 >conftest.err
2859 cat conftest.err >&5
2860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861 (exit $ac_status); } &&
2862 { ac_try='test -z "$ac_c_werror_flag"
2863 || test ! -s conftest.err'
2864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868 (exit $ac_status); }; } &&
2869 { ac_try='test -s conftest.$ac_objext'
2870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); }; }; then
2875 for ac_declaration in \
2877 'extern "C" void std::exit (int) throw (); using std::exit;' \
2878 'extern "C" void std::exit (int); using std::exit;' \
2879 'extern "C" void exit (int) throw ();' \
2880 'extern "C" void exit (int);' \
2883 cat >conftest.$ac_ext <<_ACEOF
2886 cat confdefs.h >>conftest.$ac_ext
2887 cat >>conftest.$ac_ext <<_ACEOF
2888 /* end confdefs.h. */
2899 rm -f conftest.$ac_objext
2900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2901 (eval $ac_compile) 2>conftest.er1
2903 grep -v '^ *+' conftest.er1 >conftest.err
2905 cat conftest.err >&5
2906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2907 (exit $ac_status); } &&
2908 { ac_try='test -z "$ac_c_werror_flag"
2909 || test ! -s conftest.err'
2910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); }; } &&
2915 { ac_try='test -s conftest.$ac_objext'
2916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920 (exit $ac_status); }; }; then
2923 echo "$as_me: failed program was:" >&5
2924 sed 's/^/| /' conftest.$ac_ext >&5
2928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2929 cat >conftest.$ac_ext <<_ACEOF
2932 cat confdefs.h >>conftest.$ac_ext
2933 cat >>conftest.$ac_ext <<_ACEOF
2934 /* end confdefs.h. */
2944 rm -f conftest.$ac_objext
2945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2946 (eval $ac_compile) 2>conftest.er1
2948 grep -v '^ *+' conftest.er1 >conftest.err
2950 cat conftest.err >&5
2951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952 (exit $ac_status); } &&
2953 { ac_try='test -z "$ac_c_werror_flag"
2954 || test ! -s conftest.err'
2955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959 (exit $ac_status); }; } &&
2960 { ac_try='test -s conftest.$ac_objext'
2961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); }; }; then
2968 echo "$as_me: failed program was:" >&5
2969 sed 's/^/| /' conftest.$ac_ext >&5
2972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2975 if test -n "$ac_declaration"; then
2976 echo '#ifdef __cplusplus' >>confdefs.h
2977 echo $ac_declaration >>confdefs.h
2978 echo '#endif' >>confdefs.h
2982 echo "$as_me: failed program was:" >&5
2983 sed 's/^/| /' conftest.$ac_ext >&5
2986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2988 ac_cpp='$CPP $CPPFLAGS'
2989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2995 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
2996 if test "x$GCC" = "xyes"; then
2997 AM_FCFLAGS="-I . -Wall -fno-repack-arrays -fno-underscoring"
2998 ## We like to use C99 routines when available. This makes sure that
2999 ## __STDC_VERSION__ is set such that libc includes make them available.
3000 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
3005 # Find other programs we need.
3006 if test -n "$ac_tool_prefix"; then
3007 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3008 set dummy ${ac_tool_prefix}as; ac_word=$2
3009 echo "$as_me:$LINENO: checking for $ac_word" >&5
3010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3011 if test "${ac_cv_prog_AS+set}" = set; then
3012 echo $ECHO_N "(cached) $ECHO_C" >&6
3014 if test -n "$AS"; then
3015 ac_cv_prog_AS="$AS" # Let the user override the test.
3017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3021 test -z "$as_dir" && as_dir=.
3022 for ac_exec_ext in '' $ac_executable_extensions; do
3023 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3024 ac_cv_prog_AS="${ac_tool_prefix}as"
3025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3034 if test -n "$AS"; then
3035 echo "$as_me:$LINENO: result: $AS" >&5
3036 echo "${ECHO_T}$AS" >&6
3038 echo "$as_me:$LINENO: result: no" >&5
3039 echo "${ECHO_T}no" >&6
3043 if test -z "$ac_cv_prog_AS"; then
3045 # Extract the first word of "as", so it can be a program name with args.
3046 set dummy as; ac_word=$2
3047 echo "$as_me:$LINENO: checking for $ac_word" >&5
3048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3049 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3050 echo $ECHO_N "(cached) $ECHO_C" >&6
3052 if test -n "$ac_ct_AS"; then
3053 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3059 test -z "$as_dir" && as_dir=.
3060 for ac_exec_ext in '' $ac_executable_extensions; do
3061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3062 ac_cv_prog_ac_ct_AS="as"
3063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3071 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3072 if test -n "$ac_ct_AS"; then
3073 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3074 echo "${ECHO_T}$ac_ct_AS" >&6
3076 echo "$as_me:$LINENO: result: no" >&5
3077 echo "${ECHO_T}no" >&6
3085 if test -n "$ac_tool_prefix"; then
3086 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3087 set dummy ${ac_tool_prefix}ar; ac_word=$2
3088 echo "$as_me:$LINENO: checking for $ac_word" >&5
3089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3090 if test "${ac_cv_prog_AR+set}" = set; then
3091 echo $ECHO_N "(cached) $ECHO_C" >&6
3093 if test -n "$AR"; then
3094 ac_cv_prog_AR="$AR" # Let the user override the test.
3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3100 test -z "$as_dir" && as_dir=.
3101 for ac_exec_ext in '' $ac_executable_extensions; do
3102 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3103 ac_cv_prog_AR="${ac_tool_prefix}ar"
3104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3113 if test -n "$AR"; then
3114 echo "$as_me:$LINENO: result: $AR" >&5
3115 echo "${ECHO_T}$AR" >&6
3117 echo "$as_me:$LINENO: result: no" >&5
3118 echo "${ECHO_T}no" >&6
3122 if test -z "$ac_cv_prog_AR"; then
3124 # Extract the first word of "ar", so it can be a program name with args.
3125 set dummy ar; ac_word=$2
3126 echo "$as_me:$LINENO: checking for $ac_word" >&5
3127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3128 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3129 echo $ECHO_N "(cached) $ECHO_C" >&6
3131 if test -n "$ac_ct_AR"; then
3132 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3138 test -z "$as_dir" && as_dir=.
3139 for ac_exec_ext in '' $ac_executable_extensions; do
3140 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3141 ac_cv_prog_ac_ct_AR="ar"
3142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3150 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3151 if test -n "$ac_ct_AR"; then
3152 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3153 echo "${ECHO_T}$ac_ct_AR" >&6
3155 echo "$as_me:$LINENO: result: no" >&5
3156 echo "${ECHO_T}no" >&6
3164 if test -n "$ac_tool_prefix"; then
3165 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3166 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3167 echo "$as_me:$LINENO: checking for $ac_word" >&5
3168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3169 if test "${ac_cv_prog_RANLIB+set}" = set; then
3170 echo $ECHO_N "(cached) $ECHO_C" >&6
3172 if test -n "$RANLIB"; then
3173 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3179 test -z "$as_dir" && as_dir=.
3180 for ac_exec_ext in '' $ac_executable_extensions; do
3181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3182 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3191 RANLIB=$ac_cv_prog_RANLIB
3192 if test -n "$RANLIB"; then
3193 echo "$as_me:$LINENO: result: $RANLIB" >&5
3194 echo "${ECHO_T}$RANLIB" >&6
3196 echo "$as_me:$LINENO: result: no" >&5
3197 echo "${ECHO_T}no" >&6
3201 if test -z "$ac_cv_prog_RANLIB"; then
3202 ac_ct_RANLIB=$RANLIB
3203 # Extract the first word of "ranlib", so it can be a program name with args.
3204 set dummy ranlib; ac_word=$2
3205 echo "$as_me:$LINENO: checking for $ac_word" >&5
3206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3207 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3208 echo $ECHO_N "(cached) $ECHO_C" >&6
3210 if test -n "$ac_ct_RANLIB"; then
3211 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3217 test -z "$as_dir" && as_dir=.
3218 for ac_exec_ext in '' $ac_executable_extensions; do
3219 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3220 ac_cv_prog_ac_ct_RANLIB="ranlib"
3221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3227 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3230 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3231 if test -n "$ac_ct_RANLIB"; then
3232 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3233 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3235 echo "$as_me:$LINENO: result: no" >&5
3236 echo "${ECHO_T}no" >&6
3239 RANLIB=$ac_ct_RANLIB
3241 RANLIB="$ac_cv_prog_RANLIB"
3244 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3245 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3246 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3247 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3248 echo $ECHO_N "(cached) $ECHO_C" >&6
3250 cat >conftest.make <<\_ACEOF
3252 @echo 'ac_maketemp="$(MAKE)"'
3254 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3255 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3256 if test -n "$ac_maketemp"; then
3257 eval ac_cv_prog_make_${ac_make}_set=yes
3259 eval ac_cv_prog_make_${ac_make}_set=no
3263 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3264 echo "$as_me:$LINENO: result: yes" >&5
3265 echo "${ECHO_T}yes" >&6
3268 echo "$as_me:$LINENO: result: no" >&5
3269 echo "${ECHO_T}no" >&6
3270 SET_MAKE="MAKE=${MAKE-make}"
3273 # Find a good install program. We prefer a C program (faster),
3274 # so one script is as good as another. But avoid the broken or
3275 # incompatible versions:
3276 # SysV /etc/install, /usr/sbin/install
3277 # SunOS /usr/etc/install
3278 # IRIX /sbin/install
3280 # AmigaOS /C/install, which installs bootblocks on floppy discs
3281 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3282 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3283 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3284 # OS/2's system install, which has a completely different semantic
3285 # ./install, which can be erroneously created by make from ./install.sh.
3286 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3287 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3288 if test -z "$INSTALL"; then
3289 if test "${ac_cv_path_install+set}" = set; then
3290 echo $ECHO_N "(cached) $ECHO_C" >&6
3292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3296 test -z "$as_dir" && as_dir=.
3297 # Account for people who put trailing slashes in PATH elements.
3299 ./ | .// | /cC/* | \
3300 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3301 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3304 # OSF1 and SCO ODT 3.0 have their own names for install.
3305 # Don't use installbsd from OSF since it installs stuff as root
3307 for ac_prog in ginstall scoinst install; do
3308 for ac_exec_ext in '' $ac_executable_extensions; do
3309 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3310 if test $ac_prog = install &&
3311 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3312 # AIX install. It has an incompatible calling convention.
3314 elif test $ac_prog = install &&
3315 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3316 # program-specific install script used by HP pwplus--don't use.
3319 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3331 if test "${ac_cv_path_install+set}" = set; then
3332 INSTALL=$ac_cv_path_install
3334 # As a last resort, use the slow shell script. We don't cache a
3335 # path for INSTALL within a source directory, because that will
3336 # break other packages using the cache if that directory is
3337 # removed, or if the path is relative.
3338 INSTALL=$ac_install_sh
3341 echo "$as_me:$LINENO: result: $INSTALL" >&5
3342 echo "${ECHO_T}$INSTALL" >&6
3344 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3345 # It thinks the first close brace ends the variable substitution.
3346 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3348 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3350 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3354 #AC_MSG_NOTICE([====== Starting libtool configuration])
3356 # Check whether --enable-shared or --disable-shared was given.
3357 if test "${enable_shared+set}" = set; then
3358 enableval="$enable_shared"
3359 p=${PACKAGE-default}
3361 yes) enable_shared=yes ;;
3362 no) enable_shared=no ;;
3365 # Look at the argument we got. We use all the common list separators.
3366 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3367 for pkg in $enableval; do
3368 if test "X$pkg" = "X$p"; then
3378 # Check whether --enable-static or --disable-static was given.
3379 if test "${enable_static+set}" = set; then
3380 enableval="$enable_static"
3381 p=${PACKAGE-default}
3383 yes) enable_static=yes ;;
3384 no) enable_static=no ;;
3387 # Look at the argument we got. We use all the common list separators.
3388 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3389 for pkg in $enableval; do
3390 if test "X$pkg" = "X$p"; then
3400 # Check whether --enable-fast-install or --disable-fast-install was given.
3401 if test "${enable_fast_install+set}" = set; then
3402 enableval="$enable_fast_install"
3403 p=${PACKAGE-default}
3405 yes) enable_fast_install=yes ;;
3406 no) enable_fast_install=no ;;
3408 enable_fast_install=no
3409 # Look at the argument we got. We use all the common list separators.
3410 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3411 for pkg in $enableval; do
3412 if test "X$pkg" = "X$p"; then
3413 enable_fast_install=yes
3420 enable_fast_install=yes
3423 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3424 if test "${with_gnu_ld+set}" = set; then
3425 withval="$with_gnu_ld"
3426 test "$withval" = no || with_gnu_ld=yes
3431 if test "$GCC" = yes; then
3432 # Check if gcc -print-prog-name=ld gives a path.
3433 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3434 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3437 # gcc leaves a trailing carriage return which upsets mingw
3438 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3440 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3443 # Accept absolute paths.
3444 [\\/]* | [A-Za-z]:[\\/]*)
3445 re_direlt='/[^/][^/]*/\.\./'
3446 # Canonicalize the path of ld
3447 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3448 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3449 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3451 test -z "$LD" && LD="$ac_prog"
3454 # If it fails, then pretend we aren't using GCC.
3458 # If it is relative, then search for the first ld in PATH.
3462 elif test "$with_gnu_ld" = yes; then
3463 echo "$as_me:$LINENO: checking for GNU ld" >&5
3464 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3466 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3467 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3469 if test "${lt_cv_path_LD+set}" = set; then
3470 echo $ECHO_N "(cached) $ECHO_C" >&6
3472 if test -z "$LD"; then
3473 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3474 for ac_dir in $PATH; do
3475 test -z "$ac_dir" && ac_dir=.
3476 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3477 lt_cv_path_LD="$ac_dir/$ac_prog"
3478 # Check to see if the program is GNU ld. I'd rather use --version,
3479 # but apparently some GNU ld's only accept -v.
3480 # Break only if it was the GNU/non-GNU ld that we prefer.
3481 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3482 test "$with_gnu_ld" != no && break
3484 test "$with_gnu_ld" != yes && break
3490 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3495 if test -n "$LD"; then
3496 echo "$as_me:$LINENO: result: $LD" >&5
3497 echo "${ECHO_T}$LD" >&6
3499 echo "$as_me:$LINENO: result: no" >&5
3500 echo "${ECHO_T}no" >&6
3502 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3503 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3504 { (exit 1); exit 1; }; }
3505 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3506 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3507 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3508 echo $ECHO_N "(cached) $ECHO_C" >&6
3510 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3511 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3512 lt_cv_prog_gnu_ld=yes
3514 lt_cv_prog_gnu_ld=no
3517 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3518 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3519 with_gnu_ld=$lt_cv_prog_gnu_ld
3522 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3523 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3524 if test "${lt_cv_ld_reload_flag+set}" = set; then
3525 echo $ECHO_N "(cached) $ECHO_C" >&6
3527 lt_cv_ld_reload_flag='-r'
3529 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3530 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3531 reload_flag=$lt_cv_ld_reload_flag
3532 test -n "$reload_flag" && reload_flag=" $reload_flag"
3534 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3535 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3536 if test "${lt_cv_path_NM+set}" = set; then
3537 echo $ECHO_N "(cached) $ECHO_C" >&6
3539 if test -n "$NM"; then
3540 # Let the user override the test.
3543 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3544 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3545 test -z "$ac_dir" && ac_dir=.
3546 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3547 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3548 # Check to see if the nm accepts a BSD-compat flag.
3549 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3550 # nm: unknown option "B" ignored
3551 # Tru64's nm complains that /dev/null is an invalid object file
3552 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3553 lt_cv_path_NM="$tmp_nm -B"
3555 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3556 lt_cv_path_NM="$tmp_nm -p"
3559 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3560 continue # so that we can try to find one that supports BSD flags
3565 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3570 echo "$as_me:$LINENO: result: $NM" >&5
3571 echo "${ECHO_T}$NM" >&6
3573 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3574 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3576 if test "$LN_S" = "ln -s"; then
3577 echo "$as_me:$LINENO: result: yes" >&5
3578 echo "${ECHO_T}yes" >&6
3580 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3581 echo "${ECHO_T}no, using $LN_S" >&6
3584 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3585 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3586 if test "${lt_cv_deplibs_check_method+set}" = set; then
3587 echo $ECHO_N "(cached) $ECHO_C" >&6
3589 lt_cv_file_magic_cmd='$MAGIC_CMD'
3590 lt_cv_file_magic_test_file=
3591 lt_cv_deplibs_check_method='unknown'
3592 # Need to set the preceding variable on all platforms that support
3593 # interlibrary dependencies.
3594 # 'none' -- dependencies not supported.
3595 # `unknown' -- same as none, but documents that we really don't know.
3596 # 'pass_all' -- all dependencies passed with no checks.
3597 # 'test_compile' -- check by making test program.
3598 # 'file_magic [regex]' -- check by looking for files in library path
3599 # which responds to the $file_magic_cmd with a given egrep regex.
3600 # If you have `file' or equivalent on your system and you're not sure
3601 # whether `pass_all' will *always* work, you probably want this one.
3605 lt_cv_deplibs_check_method=pass_all
3609 lt_cv_deplibs_check_method=pass_all
3613 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3614 lt_cv_file_magic_cmd='/usr/bin/file -L'
3615 lt_cv_file_magic_test_file=/shlib/libc.so
3618 cygwin* | mingw* |pw32*)
3619 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3620 lt_cv_file_magic_cmd='$OBJDUMP -f'
3623 darwin* | rhapsody*)
3624 # this will be overwritten by pass_all, but leave it in just in case
3625 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3626 lt_cv_file_magic_cmd='/usr/bin/file -L'
3628 rhapsody* | darwin1.012)
3629 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3632 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3635 lt_cv_deplibs_check_method=pass_all
3638 freebsd* | kfreebsd*-gnu)
3639 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3642 # Not sure whether the presence of OpenBSD here was a mistake.
3643 # Let's accept both of them until this is cleared up.
3644 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3645 lt_cv_file_magic_cmd=/usr/bin/file
3646 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3650 lt_cv_deplibs_check_method=pass_all
3655 lt_cv_deplibs_check_method=pass_all
3661 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3662 lt_cv_file_magic_cmd=/usr/bin/file
3663 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3666 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3667 lt_cv_file_magic_cmd=/usr/bin/file
3668 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3676 # this will be overridden with pass_all, but let us keep it just in case
3677 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3681 *-32|*"-32 ") libmagic=32-bit;;
3682 *-n32|*"-n32 ") libmagic=N32;;
3683 *-64|*"-64 ") libmagic=64-bit;;
3684 *) libmagic=never-match;;
3686 # this will be overridden with pass_all, but let us keep it just in case
3687 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3690 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3691 lt_cv_deplibs_check_method=pass_all
3694 # This must be Linux ELF.
3696 lt_cv_deplibs_check_method=pass_all
3699 netbsd* | knetbsd*-gnu)
3700 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3701 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3703 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3708 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3709 lt_cv_file_magic_cmd=/usr/bin/file
3710 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3713 osf3* | osf4* | osf5*)
3714 # this will be overridden with pass_all, but let us keep it just in case
3715 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3716 lt_cv_file_magic_test_file=/shlib/libc.so
3717 lt_cv_deplibs_check_method=pass_all
3721 lt_cv_deplibs_check_method=pass_all
3725 lt_cv_deplibs_check_method=pass_all
3726 lt_cv_file_magic_test_file=/lib/libc.so
3729 sysv5uw[78]* | sysv4*uw2*)
3730 lt_cv_deplibs_check_method=pass_all
3733 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3734 case $host_vendor in
3736 lt_cv_deplibs_check_method=pass_all
3739 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]'
3740 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3747 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3748 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3749 file_magic_cmd=$lt_cv_file_magic_cmd
3750 deplibs_check_method=$lt_cv_deplibs_check_method
3756 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3758 # find the maximum length of command line arguments
3759 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3760 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3761 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3762 echo $ECHO_N "(cached) $ECHO_C" >&6
3769 # On DJGPP, this test can blow up pretty badly due to problems in libc
3770 # (any single argument exceeding 2000 bytes causes a buffer overrun
3771 # during glob expansion). Even if it were fixed, the result of this
3772 # check would be larger than it should be.
3773 lt_cv_sys_max_cmd_len=12288; # 12K is about right
3777 # On Win9x/ME, this test blows up -- it succeeds, but takes
3778 # about 5 minutes as the teststring grows exponentially.
3779 # Worse, since 9x/ME are not pre-emptively multitasking,
3780 # you end up with a "frozen" computer, even though with patience
3781 # the test eventually succeeds (with a max line length of 256k).
3782 # Instead, let's just punt: use the minimum linelength reported by
3783 # all of the supported platforms: 8192 (on NT/2K/XP).
3784 lt_cv_sys_max_cmd_len=8192;
3788 # On AmigaOS with pdksh, this test takes hours, literally.
3789 # So we just punt and use a minimum line length of 8192.
3790 lt_cv_sys_max_cmd_len=8192;
3793 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3794 # This has been around since 386BSD, at least. Likely further.
3795 if test -x /sbin/sysctl; then
3796 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3797 elif test -x /usr/sbin/sysctl; then
3798 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3800 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
3802 # And add a safety zone
3803 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3804 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3810 if test -n "$lt_cv_sys_max_cmd_len" ; then
3811 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3812 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3814 echo "$as_me:$LINENO: result: none" >&5
3815 echo "${ECHO_T}none" >&6
3819 # Only perform the check for file, if the check method requires it
3820 case $deplibs_check_method in
3822 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3823 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3824 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3825 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3826 echo $ECHO_N "(cached) $ECHO_C" >&6
3830 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3833 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3836 ac_save_MAGIC_CMD="$MAGIC_CMD"
3837 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3838 ac_dummy="/usr/bin:$PATH"
3839 for ac_dir in $ac_dummy; do
3840 test -z "$ac_dir" && ac_dir=.
3841 if test -f $ac_dir/${ac_tool_prefix}file; then
3842 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3843 if test -n "$file_magic_test_file"; then
3844 case $deplibs_check_method in
3846 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3847 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3848 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3849 egrep "$file_magic_regex" > /dev/null; then
3854 *** Warning: the command libtool uses to detect shared libraries,
3855 *** $file_magic_cmd, produces output that libtool cannot recognize.
3856 *** The result is that libtool may fail to recognize shared libraries
3857 *** as such. This will affect the creation of libtool libraries that
3858 *** depend on shared libraries, but programs linked with such libtool
3859 *** libraries will work regardless of this problem. Nevertheless, you
3860 *** may want to report the problem to your system manager and/or to
3861 *** bug-libtool@gnu.org
3871 MAGIC_CMD="$ac_save_MAGIC_CMD"
3876 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3877 if test -n "$MAGIC_CMD"; then
3878 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3879 echo "${ECHO_T}$MAGIC_CMD" >&6
3881 echo "$as_me:$LINENO: result: no" >&5
3882 echo "${ECHO_T}no" >&6
3885 if test -z "$lt_cv_path_MAGIC_CMD"; then
3886 if test -n "$ac_tool_prefix"; then
3887 echo "$as_me:$LINENO: checking for file" >&5
3888 echo $ECHO_N "checking for file... $ECHO_C" >&6
3889 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3890 echo $ECHO_N "(cached) $ECHO_C" >&6
3894 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3897 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3900 ac_save_MAGIC_CMD="$MAGIC_CMD"
3901 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3902 ac_dummy="/usr/bin:$PATH"
3903 for ac_dir in $ac_dummy; do
3904 test -z "$ac_dir" && ac_dir=.
3905 if test -f $ac_dir/file; then
3906 lt_cv_path_MAGIC_CMD="$ac_dir/file"
3907 if test -n "$file_magic_test_file"; then
3908 case $deplibs_check_method in
3910 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3911 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3912 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3913 egrep "$file_magic_regex" > /dev/null; then
3918 *** Warning: the command libtool uses to detect shared libraries,
3919 *** $file_magic_cmd, produces output that libtool cannot recognize.
3920 *** The result is that libtool may fail to recognize shared libraries
3921 *** as such. This will affect the creation of libtool libraries that
3922 *** depend on shared libraries, but programs linked with such libtool
3923 *** libraries will work regardless of this problem. Nevertheless, you
3924 *** may want to report the problem to your system manager and/or to
3925 *** bug-libtool@gnu.org
3935 MAGIC_CMD="$ac_save_MAGIC_CMD"
3940 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3941 if test -n "$MAGIC_CMD"; then
3942 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3943 echo "${ECHO_T}$MAGIC_CMD" >&6
3945 echo "$as_me:$LINENO: result: no" >&5
3946 echo "${ECHO_T}no" >&6
3958 if test -n "$ac_tool_prefix"; then
3959 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3960 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3961 echo "$as_me:$LINENO: checking for $ac_word" >&5
3962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3963 if test "${ac_cv_prog_RANLIB+set}" = set; then
3964 echo $ECHO_N "(cached) $ECHO_C" >&6
3966 if test -n "$RANLIB"; then
3967 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3973 test -z "$as_dir" && as_dir=.
3974 for ac_exec_ext in '' $ac_executable_extensions; do
3975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3976 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3985 RANLIB=$ac_cv_prog_RANLIB
3986 if test -n "$RANLIB"; then
3987 echo "$as_me:$LINENO: result: $RANLIB" >&5
3988 echo "${ECHO_T}$RANLIB" >&6
3990 echo "$as_me:$LINENO: result: no" >&5
3991 echo "${ECHO_T}no" >&6
3995 if test -z "$ac_cv_prog_RANLIB"; then
3996 ac_ct_RANLIB=$RANLIB
3997 # Extract the first word of "ranlib", so it can be a program name with args.
3998 set dummy ranlib; ac_word=$2
3999 echo "$as_me:$LINENO: checking for $ac_word" >&5
4000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4001 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4002 echo $ECHO_N "(cached) $ECHO_C" >&6
4004 if test -n "$ac_ct_RANLIB"; then
4005 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4011 test -z "$as_dir" && as_dir=.
4012 for ac_exec_ext in '' $ac_executable_extensions; do
4013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4014 ac_cv_prog_ac_ct_RANLIB="ranlib"
4015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4021 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4024 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4025 if test -n "$ac_ct_RANLIB"; then
4026 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4027 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4029 echo "$as_me:$LINENO: result: no" >&5
4030 echo "${ECHO_T}no" >&6
4033 RANLIB=$ac_ct_RANLIB
4035 RANLIB="$ac_cv_prog_RANLIB"
4038 if test -n "$ac_tool_prefix"; then
4039 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4040 set dummy ${ac_tool_prefix}strip; ac_word=$2
4041 echo "$as_me:$LINENO: checking for $ac_word" >&5
4042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4043 if test "${ac_cv_prog_STRIP+set}" = set; then
4044 echo $ECHO_N "(cached) $ECHO_C" >&6
4046 if test -n "$STRIP"; then
4047 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4053 test -z "$as_dir" && as_dir=.
4054 for ac_exec_ext in '' $ac_executable_extensions; do
4055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4056 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4065 STRIP=$ac_cv_prog_STRIP
4066 if test -n "$STRIP"; then
4067 echo "$as_me:$LINENO: result: $STRIP" >&5
4068 echo "${ECHO_T}$STRIP" >&6
4070 echo "$as_me:$LINENO: result: no" >&5
4071 echo "${ECHO_T}no" >&6
4075 if test -z "$ac_cv_prog_STRIP"; then
4077 # Extract the first word of "strip", so it can be a program name with args.
4078 set dummy strip; ac_word=$2
4079 echo "$as_me:$LINENO: checking for $ac_word" >&5
4080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4081 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4082 echo $ECHO_N "(cached) $ECHO_C" >&6
4084 if test -n "$ac_ct_STRIP"; then
4085 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4091 test -z "$as_dir" && as_dir=.
4092 for ac_exec_ext in '' $ac_executable_extensions; do
4093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4094 ac_cv_prog_ac_ct_STRIP="strip"
4095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4101 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4104 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4105 if test -n "$ac_ct_STRIP"; then
4106 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4107 echo "${ECHO_T}$ac_ct_STRIP" >&6
4109 echo "$as_me:$LINENO: result: no" >&5
4110 echo "${ECHO_T}no" >&6
4115 STRIP="$ac_cv_prog_STRIP"
4119 # Check for any special flags to pass to ltconfig.
4120 libtool_flags="--cache-file=$cache_file"
4121 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4122 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4123 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4124 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4125 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4128 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4129 if test "${enable_libtool_lock+set}" = set; then
4130 enableval="$enable_libtool_lock"
4133 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4134 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4137 # Check whether --with-pic or --without-pic was given.
4138 if test "${with_pic+set}" = set; then
4144 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4145 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4147 # Some flags need to be propagated to the compiler or linker for good
4151 # Find out which ABI we are using.
4152 echo '#line 4152 "configure"' > conftest.$ac_ext
4153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4154 (eval $ac_compile) 2>&5
4156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4157 (exit $ac_status); }; then
4158 if test "$lt_cv_prog_gnu_ld" = yes; then
4159 case `/usr/bin/file conftest.$ac_objext` in
4161 LD="${LD-ld} -melf32bsmip"
4164 LD="${LD-ld} -melf32bmipn32"
4167 LD="${LD-ld} -melf64bmip"
4171 case `/usr/bin/file conftest.$ac_objext` in
4188 # Find out which ABI we are using.
4189 echo 'int i;' > conftest.$ac_ext
4190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4191 (eval $ac_compile) 2>&5
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); }; then
4195 case "`/usr/bin/file conftest.o`" in
4207 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4208 # Find out which ABI we are using.
4209 echo 'int i;' > conftest.$ac_ext
4210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4211 (eval $ac_compile) 2>&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); }; then
4215 case "`/usr/bin/file conftest.o`" in
4219 LD="${LD-ld} -m elf_i386"
4221 ppc64-*linux*|powerpc64-*linux*)
4222 LD="${LD-ld} -m elf32ppclinux"
4225 LD="${LD-ld} -m elf_s390"
4228 LD="${LD-ld} -m elf32_sparc"
4235 LD="${LD-ld} -m elf_x86_64"
4237 ppc*-*linux*|powerpc*-*linux*)
4238 LD="${LD-ld} -m elf64ppc"
4241 LD="${LD-ld} -m elf64_s390"
4244 LD="${LD-ld} -m elf64_sparc"
4254 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4255 SAVE_CFLAGS="$CFLAGS"
4256 CFLAGS="$CFLAGS -belf"
4257 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4258 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4259 if test "${lt_cv_cc_needs_belf+set}" = set; then
4260 echo $ECHO_N "(cached) $ECHO_C" >&6
4265 ac_cpp='$CPP $CPPFLAGS'
4266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4270 if test x$gcc_no_link = xyes; then
4271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4273 { (exit 1); exit 1; }; }
4275 cat >conftest.$ac_ext <<_ACEOF
4278 cat confdefs.h >>conftest.$ac_ext
4279 cat >>conftest.$ac_ext <<_ACEOF
4280 /* end confdefs.h. */
4290 rm -f conftest.$ac_objext conftest$ac_exeext
4291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4292 (eval $ac_link) 2>conftest.er1
4294 grep -v '^ *+' conftest.er1 >conftest.err
4296 cat conftest.err >&5
4297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4298 (exit $ac_status); } &&
4299 { ac_try='test -z "$ac_c_werror_flag"
4300 || test ! -s conftest.err'
4301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); }; } &&
4306 { ac_try='test -s conftest$ac_exeext'
4307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311 (exit $ac_status); }; }; then
4312 lt_cv_cc_needs_belf=yes
4314 echo "$as_me: failed program was:" >&5
4315 sed 's/^/| /' conftest.$ac_ext >&5
4317 lt_cv_cc_needs_belf=no
4319 rm -f conftest.err conftest.$ac_objext \
4320 conftest$ac_exeext conftest.$ac_ext
4322 ac_cpp='$CPP $CPPFLAGS'
4323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4328 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4329 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4330 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4331 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4332 CFLAGS="$SAVE_CFLAGS"
4340 # Save cache, so that ltconfig can load it
4341 cat >confcache <<\_ACEOF
4342 # This file is a shell script that caches the results of configure
4343 # tests run on this system so they can be shared between configure
4344 # scripts and configure runs, see configure's option --config-cache.
4345 # It is not useful on other systems. If it contains results you don't
4346 # want to keep, you may remove or edit it.
4348 # config.status only pays attention to the cache file if you give it
4349 # the --recheck option to rerun configure.
4351 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4352 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4357 # The following way of writing the cache mishandles newlines in values,
4358 # but we know of no workaround that is simple, portable, and efficient.
4359 # So, don't put newlines in cache variables' values.
4360 # Ultrix sh set writes to stderr and can't be redirected directly,
4361 # and sets the high bit in the cache file unless we assign to the vars.
4364 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4366 # `set' does not quote correctly, so add quotes (double-quote
4367 # substitution turns \\\\ into \\, and sed turns \\ into \).
4370 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4373 # `set' quotes correctly as required by POSIX, so do not add quotes.
4375 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4382 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4384 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4386 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4387 if test -w $cache_file; then
4388 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4389 cat confcache >$cache_file
4391 echo "not updating unwritable cache $cache_file"
4396 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4397 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4398 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4399 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4400 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4401 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4402 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4403 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4404 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4405 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4406 echo "$as_me: error: libtool configure failed" >&2;}
4407 { (exit 1); exit 1; }; }
4409 # Reload cache, that may have been modified by ltconfig
4410 if test -r "$cache_file"; then
4411 # Some versions of bash will fail to source /dev/null (special
4412 # files actually), so we avoid doing that.
4413 if test -f "$cache_file"; then
4414 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4415 echo "$as_me: loading cache $cache_file" >&6;}
4417 [\\/]* | ?:[\\/]* ) . $cache_file;;
4418 *) . ./$cache_file;;
4422 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4423 echo "$as_me: creating cache $cache_file" >&6;}
4428 # This can be used to rebuild libtool when needed
4429 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4431 # Always use our own libtool.
4432 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4434 # Redirect the config.log output again, so that the ltconfig log is not
4435 # clobbered by the next message.
4436 exec 5>>./config.log
4445 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4447 # We need gfortran to compile parts of the library
4448 #AC_PROG_FC(gfortran)
4450 ac_ext=${FC_SRCEXT-f}
4451 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4452 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4453 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4454 if test -n "$ac_tool_prefix"; then
4455 for ac_prog in gfortran
4457 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4458 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4459 echo "$as_me:$LINENO: checking for $ac_word" >&5
4460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4461 if test "${ac_cv_prog_FC+set}" = set; then
4462 echo $ECHO_N "(cached) $ECHO_C" >&6
4464 if test -n "$FC"; then
4465 ac_cv_prog_FC="$FC" # Let the user override the test.
4467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4471 test -z "$as_dir" && as_dir=.
4472 for ac_exec_ext in '' $ac_executable_extensions; do
4473 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4474 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4484 if test -n "$FC"; then
4485 echo "$as_me:$LINENO: result: $FC" >&5
4486 echo "${ECHO_T}$FC" >&6
4488 echo "$as_me:$LINENO: result: no" >&5
4489 echo "${ECHO_T}no" >&6
4492 test -n "$FC" && break
4495 if test -z "$FC"; then
4497 for ac_prog in gfortran
4499 # Extract the first word of "$ac_prog", so it can be a program name with args.
4500 set dummy $ac_prog; ac_word=$2
4501 echo "$as_me:$LINENO: checking for $ac_word" >&5
4502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4503 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4504 echo $ECHO_N "(cached) $ECHO_C" >&6
4506 if test -n "$ac_ct_FC"; then
4507 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4513 test -z "$as_dir" && as_dir=.
4514 for ac_exec_ext in '' $ac_executable_extensions; do
4515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4516 ac_cv_prog_ac_ct_FC="$ac_prog"
4517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4525 ac_ct_FC=$ac_cv_prog_ac_ct_FC
4526 if test -n "$ac_ct_FC"; then
4527 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4528 echo "${ECHO_T}$ac_ct_FC" >&6
4530 echo "$as_me:$LINENO: result: no" >&5
4531 echo "${ECHO_T}no" >&6
4534 test -n "$ac_ct_FC" && break
4541 # Provide some information about the compiler.
4542 echo "$as_me:4542:" \
4543 "checking for Fortran compiler version" >&5
4544 ac_compiler=`set X $ac_compile; echo $2`
4545 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4546 (eval $ac_compiler --version </dev/null >&5) 2>&5
4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); }
4550 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4551 (eval $ac_compiler -v </dev/null >&5) 2>&5
4553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4554 (exit $ac_status); }
4555 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4556 (eval $ac_compiler -V </dev/null >&5) 2>&5
4558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4559 (exit $ac_status); }
4562 # If we don't use `.F' as extension, the preprocessor is not run on the
4563 # input file. (Note that this only needs to work for GNU compilers.)
4566 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4567 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4568 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4569 echo $ECHO_N "(cached) $ECHO_C" >&6
4571 cat >conftest.$ac_ext <<_ACEOF
4579 rm -f conftest.$ac_objext
4580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4581 (eval $ac_compile) 2>conftest.er1
4583 grep -v '^ *+' conftest.er1 >conftest.err
4585 cat conftest.err >&5
4586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587 (exit $ac_status); } &&
4588 { ac_try='test -z "$ac_fc_werror_flag"
4589 || test ! -s conftest.err'
4590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594 (exit $ac_status); }; } &&
4595 { ac_try='test -s conftest.$ac_objext'
4596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4600 (exit $ac_status); }; }; then
4603 echo "$as_me: failed program was:" >&5
4604 sed 's/^/| /' conftest.$ac_ext >&5
4608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4609 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4612 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4613 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4615 ac_test_FFLAGS=${FCFLAGS+set}
4616 ac_save_FFLAGS=$FCFLAGS
4618 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4619 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4620 if test "${ac_cv_prog_fc_g+set}" = set; then
4621 echo $ECHO_N "(cached) $ECHO_C" >&6
4624 cat >conftest.$ac_ext <<_ACEOF
4629 rm -f conftest.$ac_objext
4630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4631 (eval $ac_compile) 2>conftest.er1
4633 grep -v '^ *+' conftest.er1 >conftest.err
4635 cat conftest.err >&5
4636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4637 (exit $ac_status); } &&
4638 { ac_try='test -z "$ac_fc_werror_flag"
4639 || test ! -s conftest.err'
4640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644 (exit $ac_status); }; } &&
4645 { ac_try='test -s conftest.$ac_objext'
4646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4650 (exit $ac_status); }; }; then
4653 echo "$as_me: failed program was:" >&5
4654 sed 's/^/| /' conftest.$ac_ext >&5
4658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4661 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4662 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4663 if test "$ac_test_FFLAGS" = set; then
4664 FCFLAGS=$ac_save_FFLAGS
4665 elif test $ac_cv_prog_fc_g = yes; then
4666 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4672 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4680 ac_cpp='$CPP $CPPFLAGS'
4681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4686 # extra LD Flags which are required for targets
4689 # Darwin needs -single_module when linking libgfortran
4690 extra_ldflags_libgfortran=-Wl,-single_module
4695 # Check whether --enable-largefile or --disable-largefile was given.
4696 if test "${enable_largefile+set}" = set; then
4697 enableval="$enable_largefile"
4700 if test "$enable_largefile" != no; then
4702 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4703 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4704 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4705 echo $ECHO_N "(cached) $ECHO_C" >&6
4707 ac_cv_sys_largefile_CC=no
4708 if test "$GCC" != yes; then
4711 # IRIX 6.2 and later do not support large files by default,
4712 # so use the C compiler's -n32 option if that helps.
4713 cat >conftest.$ac_ext <<_ACEOF
4716 cat confdefs.h >>conftest.$ac_ext
4717 cat >>conftest.$ac_ext <<_ACEOF
4718 /* end confdefs.h. */
4719 #include <sys/types.h>
4720 /* Check that off_t can represent 2**63 - 1 correctly.
4721 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4722 since some C++ compilers masquerading as C compilers
4723 incorrectly reject 9223372036854775807. */
4724 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4725 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4726 && LARGE_OFF_T % 2147483647 == 1)
4736 rm -f conftest.$ac_objext
4737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4738 (eval $ac_compile) 2>conftest.er1
4740 grep -v '^ *+' conftest.er1 >conftest.err
4742 cat conftest.err >&5
4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); } &&
4745 { ac_try='test -z "$ac_c_werror_flag"
4746 || test ! -s conftest.err'
4747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751 (exit $ac_status); }; } &&
4752 { ac_try='test -s conftest.$ac_objext'
4753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4757 (exit $ac_status); }; }; then
4760 echo "$as_me: failed program was:" >&5
4761 sed 's/^/| /' conftest.$ac_ext >&5
4764 rm -f conftest.err conftest.$ac_objext
4766 rm -f conftest.$ac_objext
4767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4768 (eval $ac_compile) 2>conftest.er1
4770 grep -v '^ *+' conftest.er1 >conftest.err
4772 cat conftest.err >&5
4773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4774 (exit $ac_status); } &&
4775 { ac_try='test -z "$ac_c_werror_flag"
4776 || test ! -s conftest.err'
4777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781 (exit $ac_status); }; } &&
4782 { ac_try='test -s conftest.$ac_objext'
4783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787 (exit $ac_status); }; }; then
4788 ac_cv_sys_largefile_CC=' -n32'; break
4790 echo "$as_me: failed program was:" >&5
4791 sed 's/^/| /' conftest.$ac_ext >&5
4794 rm -f conftest.err conftest.$ac_objext
4798 rm -f conftest.$ac_ext
4801 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4802 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4803 if test "$ac_cv_sys_largefile_CC" != no; then
4804 CC=$CC$ac_cv_sys_largefile_CC
4807 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4808 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4809 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4810 echo $ECHO_N "(cached) $ECHO_C" >&6
4813 ac_cv_sys_file_offset_bits=no
4814 cat >conftest.$ac_ext <<_ACEOF
4817 cat confdefs.h >>conftest.$ac_ext
4818 cat >>conftest.$ac_ext <<_ACEOF
4819 /* end confdefs.h. */
4820 #include <sys/types.h>
4821 /* Check that off_t can represent 2**63 - 1 correctly.
4822 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4823 since some C++ compilers masquerading as C compilers
4824 incorrectly reject 9223372036854775807. */
4825 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4826 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4827 && LARGE_OFF_T % 2147483647 == 1)
4837 rm -f conftest.$ac_objext
4838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4839 (eval $ac_compile) 2>conftest.er1
4841 grep -v '^ *+' conftest.er1 >conftest.err
4843 cat conftest.err >&5
4844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4845 (exit $ac_status); } &&
4846 { ac_try='test -z "$ac_c_werror_flag"
4847 || test ! -s conftest.err'
4848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852 (exit $ac_status); }; } &&
4853 { ac_try='test -s conftest.$ac_objext'
4854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4858 (exit $ac_status); }; }; then
4861 echo "$as_me: failed program was:" >&5
4862 sed 's/^/| /' conftest.$ac_ext >&5
4865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4866 cat >conftest.$ac_ext <<_ACEOF
4869 cat confdefs.h >>conftest.$ac_ext
4870 cat >>conftest.$ac_ext <<_ACEOF
4871 /* end confdefs.h. */
4872 #define _FILE_OFFSET_BITS 64
4873 #include <sys/types.h>
4874 /* Check that off_t can represent 2**63 - 1 correctly.
4875 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4876 since some C++ compilers masquerading as C compilers
4877 incorrectly reject 9223372036854775807. */
4878 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4879 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4880 && LARGE_OFF_T % 2147483647 == 1)
4890 rm -f conftest.$ac_objext
4891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4892 (eval $ac_compile) 2>conftest.er1
4894 grep -v '^ *+' conftest.er1 >conftest.err
4896 cat conftest.err >&5
4897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4898 (exit $ac_status); } &&
4899 { ac_try='test -z "$ac_c_werror_flag"
4900 || test ! -s conftest.err'
4901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905 (exit $ac_status); }; } &&
4906 { ac_try='test -s conftest.$ac_objext'
4907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); }; }; then
4912 ac_cv_sys_file_offset_bits=64; break
4914 echo "$as_me: failed program was:" >&5
4915 sed 's/^/| /' conftest.$ac_ext >&5
4918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4922 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4923 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4924 if test "$ac_cv_sys_file_offset_bits" != no; then
4926 cat >>confdefs.h <<_ACEOF
4927 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4932 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4933 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4934 if test "${ac_cv_sys_large_files+set}" = set; then
4935 echo $ECHO_N "(cached) $ECHO_C" >&6
4938 ac_cv_sys_large_files=no
4939 cat >conftest.$ac_ext <<_ACEOF
4942 cat confdefs.h >>conftest.$ac_ext
4943 cat >>conftest.$ac_ext <<_ACEOF
4944 /* end confdefs.h. */
4945 #include <sys/types.h>
4946 /* Check that off_t can represent 2**63 - 1 correctly.
4947 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4948 since some C++ compilers masquerading as C compilers
4949 incorrectly reject 9223372036854775807. */
4950 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4951 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4952 && LARGE_OFF_T % 2147483647 == 1)
4962 rm -f conftest.$ac_objext
4963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4964 (eval $ac_compile) 2>conftest.er1
4966 grep -v '^ *+' conftest.er1 >conftest.err
4968 cat conftest.err >&5
4969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4970 (exit $ac_status); } &&
4971 { ac_try='test -z "$ac_c_werror_flag"
4972 || test ! -s conftest.err'
4973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4977 (exit $ac_status); }; } &&
4978 { ac_try='test -s conftest.$ac_objext'
4979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4983 (exit $ac_status); }; }; then
4986 echo "$as_me: failed program was:" >&5
4987 sed 's/^/| /' conftest.$ac_ext >&5
4990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4991 cat >conftest.$ac_ext <<_ACEOF
4994 cat confdefs.h >>conftest.$ac_ext
4995 cat >>conftest.$ac_ext <<_ACEOF
4996 /* end confdefs.h. */
4997 #define _LARGE_FILES 1
4998 #include <sys/types.h>
4999 /* Check that off_t can represent 2**63 - 1 correctly.
5000 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5001 since some C++ compilers masquerading as C compilers
5002 incorrectly reject 9223372036854775807. */
5003 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5004 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5005 && LARGE_OFF_T % 2147483647 == 1)
5015 rm -f conftest.$ac_objext
5016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5017 (eval $ac_compile) 2>conftest.er1
5019 grep -v '^ *+' conftest.er1 >conftest.err
5021 cat conftest.err >&5
5022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5023 (exit $ac_status); } &&
5024 { ac_try='test -z "$ac_c_werror_flag"
5025 || test ! -s conftest.err'
5026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030 (exit $ac_status); }; } &&
5031 { ac_try='test -s conftest.$ac_objext'
5032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036 (exit $ac_status); }; }; then
5037 ac_cv_sys_large_files=1; break
5039 echo "$as_me: failed program was:" >&5
5040 sed 's/^/| /' conftest.$ac_ext >&5
5043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5047 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5048 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5049 if test "$ac_cv_sys_large_files" != no; then
5051 cat >>confdefs.h <<_ACEOF
5052 #define _LARGE_FILES $ac_cv_sys_large_files
5059 if test x$gcc_no_link = xyes; then
5060 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
5061 ac_cv_func_mmap_fixed_mapped=no
5064 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
5066 ac_cpp='$CPP $CPPFLAGS'
5067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5070 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5071 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5072 # On Suns, sometimes $CPP names a directory.
5073 if test -n "$CPP" && test -d "$CPP"; then
5076 if test -z "$CPP"; then
5077 if test "${ac_cv_prog_CPP+set}" = set; then
5078 echo $ECHO_N "(cached) $ECHO_C" >&6
5080 # Double quotes because CPP needs to be expanded
5081 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5084 for ac_c_preproc_warn_flag in '' yes
5086 # Use a header file that comes with gcc, so configuring glibc
5087 # with a fresh cross-compiler works.
5088 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5089 # <limits.h> exists even on freestanding compilers.
5090 # On the NeXT, cc -E runs the code through the compiler's parser,
5091 # not just through cpp. "Syntax error" is here to catch this case.
5092 cat >conftest.$ac_ext <<_ACEOF
5095 cat confdefs.h >>conftest.$ac_ext
5096 cat >>conftest.$ac_ext <<_ACEOF
5097 /* end confdefs.h. */
5099 # include <limits.h>
5101 # include <assert.h>
5105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5106 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5108 grep -v '^ *+' conftest.er1 >conftest.err
5110 cat conftest.err >&5
5111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112 (exit $ac_status); } >/dev/null; then
5113 if test -s conftest.err; then
5114 ac_cpp_err=$ac_c_preproc_warn_flag
5115 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5122 if test -z "$ac_cpp_err"; then
5125 echo "$as_me: failed program was:" >&5
5126 sed 's/^/| /' conftest.$ac_ext >&5
5128 # Broken: fails on valid input.
5131 rm -f conftest.err conftest.$ac_ext
5133 # OK, works on sane cases. Now check whether non-existent headers
5134 # can be detected and how.
5135 cat >conftest.$ac_ext <<_ACEOF
5138 cat confdefs.h >>conftest.$ac_ext
5139 cat >>conftest.$ac_ext <<_ACEOF
5140 /* end confdefs.h. */
5141 #include <ac_nonexistent.h>
5143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5144 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5146 grep -v '^ *+' conftest.er1 >conftest.err
5148 cat conftest.err >&5
5149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150 (exit $ac_status); } >/dev/null; then
5151 if test -s conftest.err; then
5152 ac_cpp_err=$ac_c_preproc_warn_flag
5153 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5160 if test -z "$ac_cpp_err"; then
5161 # Broken: success on invalid input.
5164 echo "$as_me: failed program was:" >&5
5165 sed 's/^/| /' conftest.$ac_ext >&5
5167 # Passes both tests.
5171 rm -f conftest.err conftest.$ac_ext
5174 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5175 rm -f conftest.err conftest.$ac_ext
5176 if $ac_preproc_ok; then
5188 echo "$as_me:$LINENO: result: $CPP" >&5
5189 echo "${ECHO_T}$CPP" >&6
5191 for ac_c_preproc_warn_flag in '' yes
5193 # Use a header file that comes with gcc, so configuring glibc
5194 # with a fresh cross-compiler works.
5195 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5196 # <limits.h> exists even on freestanding compilers.
5197 # On the NeXT, cc -E runs the code through the compiler's parser,
5198 # not just through cpp. "Syntax error" is here to catch this case.
5199 cat >conftest.$ac_ext <<_ACEOF
5202 cat confdefs.h >>conftest.$ac_ext
5203 cat >>conftest.$ac_ext <<_ACEOF
5204 /* end confdefs.h. */
5206 # include <limits.h>
5208 # include <assert.h>
5212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5213 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5215 grep -v '^ *+' conftest.er1 >conftest.err
5217 cat conftest.err >&5
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); } >/dev/null; then
5220 if test -s conftest.err; then
5221 ac_cpp_err=$ac_c_preproc_warn_flag
5222 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5229 if test -z "$ac_cpp_err"; then
5232 echo "$as_me: failed program was:" >&5
5233 sed 's/^/| /' conftest.$ac_ext >&5
5235 # Broken: fails on valid input.
5238 rm -f conftest.err conftest.$ac_ext
5240 # OK, works on sane cases. Now check whether non-existent headers
5241 # can be detected and how.
5242 cat >conftest.$ac_ext <<_ACEOF
5245 cat confdefs.h >>conftest.$ac_ext
5246 cat >>conftest.$ac_ext <<_ACEOF
5247 /* end confdefs.h. */
5248 #include <ac_nonexistent.h>
5250 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5251 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5253 grep -v '^ *+' conftest.er1 >conftest.err
5255 cat conftest.err >&5
5256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5257 (exit $ac_status); } >/dev/null; then
5258 if test -s conftest.err; then
5259 ac_cpp_err=$ac_c_preproc_warn_flag
5260 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5267 if test -z "$ac_cpp_err"; then
5268 # Broken: success on invalid input.
5271 echo "$as_me: failed program was:" >&5
5272 sed 's/^/| /' conftest.$ac_ext >&5
5274 # Passes both tests.
5278 rm -f conftest.err conftest.$ac_ext
5281 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5282 rm -f conftest.err conftest.$ac_ext
5283 if $ac_preproc_ok; then
5286 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5287 See \`config.log' for more details." >&5
5288 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5289 See \`config.log' for more details." >&2;}
5290 { (exit 1); exit 1; }; }
5294 ac_cpp='$CPP $CPPFLAGS'
5295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5300 echo "$as_me:$LINENO: checking for egrep" >&5
5301 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5302 if test "${ac_cv_prog_egrep+set}" = set; then
5303 echo $ECHO_N "(cached) $ECHO_C" >&6
5305 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5306 then ac_cv_prog_egrep='grep -E'
5307 else ac_cv_prog_egrep='egrep'
5310 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5311 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5312 EGREP=$ac_cv_prog_egrep
5315 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5316 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5317 if test "${ac_cv_header_stdc+set}" = set; then
5318 echo $ECHO_N "(cached) $ECHO_C" >&6
5320 cat >conftest.$ac_ext <<_ACEOF
5323 cat confdefs.h >>conftest.$ac_ext
5324 cat >>conftest.$ac_ext <<_ACEOF
5325 /* end confdefs.h. */
5339 rm -f conftest.$ac_objext
5340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5341 (eval $ac_compile) 2>conftest.er1
5343 grep -v '^ *+' conftest.er1 >conftest.err
5345 cat conftest.err >&5
5346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5347 (exit $ac_status); } &&
5348 { ac_try='test -z "$ac_c_werror_flag"
5349 || test ! -s conftest.err'
5350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5354 (exit $ac_status); }; } &&
5355 { ac_try='test -s conftest.$ac_objext'
5356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5360 (exit $ac_status); }; }; then
5361 ac_cv_header_stdc=yes
5363 echo "$as_me: failed program was:" >&5
5364 sed 's/^/| /' conftest.$ac_ext >&5
5366 ac_cv_header_stdc=no
5368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5370 if test $ac_cv_header_stdc = yes; then
5371 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5372 cat >conftest.$ac_ext <<_ACEOF
5375 cat confdefs.h >>conftest.$ac_ext
5376 cat >>conftest.$ac_ext <<_ACEOF
5377 /* end confdefs.h. */
5381 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5382 $EGREP "memchr" >/dev/null 2>&1; then
5385 ac_cv_header_stdc=no
5391 if test $ac_cv_header_stdc = yes; then
5392 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5393 cat >conftest.$ac_ext <<_ACEOF
5396 cat confdefs.h >>conftest.$ac_ext
5397 cat >>conftest.$ac_ext <<_ACEOF
5398 /* end confdefs.h. */
5402 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5403 $EGREP "free" >/dev/null 2>&1; then
5406 ac_cv_header_stdc=no
5412 if test $ac_cv_header_stdc = yes; then
5413 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5414 if test "$cross_compiling" = yes; then
5417 cat >conftest.$ac_ext <<_ACEOF
5420 cat confdefs.h >>conftest.$ac_ext
5421 cat >>conftest.$ac_ext <<_ACEOF
5422 /* end confdefs.h. */
5424 #if ((' ' & 0x0FF) == 0x020)
5425 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5426 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5428 # define ISLOWER(c) \
5429 (('a' <= (c) && (c) <= 'i') \
5430 || ('j' <= (c) && (c) <= 'r') \
5431 || ('s' <= (c) && (c) <= 'z'))
5432 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5435 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5440 for (i = 0; i < 256; i++)
5441 if (XOR (islower (i), ISLOWER (i))
5442 || toupper (i) != TOUPPER (i))
5447 rm -f conftest$ac_exeext
5448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5449 (eval $ac_link) 2>&5
5451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5452 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5457 (exit $ac_status); }; }; then
5460 echo "$as_me: program exited with status $ac_status" >&5
5461 echo "$as_me: failed program was:" >&5
5462 sed 's/^/| /' conftest.$ac_ext >&5
5465 ac_cv_header_stdc=no
5467 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5471 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5472 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5473 if test $ac_cv_header_stdc = yes; then
5475 cat >>confdefs.h <<\_ACEOF
5476 #define STDC_HEADERS 1
5481 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5491 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5492 inttypes.h stdint.h unistd.h
5494 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5495 echo "$as_me:$LINENO: checking for $ac_header" >&5
5496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5498 echo $ECHO_N "(cached) $ECHO_C" >&6
5500 cat >conftest.$ac_ext <<_ACEOF
5503 cat confdefs.h >>conftest.$ac_ext
5504 cat >>conftest.$ac_ext <<_ACEOF
5505 /* end confdefs.h. */
5506 $ac_includes_default
5508 #include <$ac_header>
5510 rm -f conftest.$ac_objext
5511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5512 (eval $ac_compile) 2>conftest.er1
5514 grep -v '^ *+' conftest.er1 >conftest.err
5516 cat conftest.err >&5
5517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5518 (exit $ac_status); } &&
5519 { ac_try='test -z "$ac_c_werror_flag"
5520 || test ! -s conftest.err'
5521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5525 (exit $ac_status); }; } &&
5526 { ac_try='test -s conftest.$ac_objext'
5527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5531 (exit $ac_status); }; }; then
5532 eval "$as_ac_Header=yes"
5534 echo "$as_me: failed program was:" >&5
5535 sed 's/^/| /' conftest.$ac_ext >&5
5537 eval "$as_ac_Header=no"
5539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5544 cat >>confdefs.h <<_ACEOF
5545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5555 for ac_header in stdlib.h unistd.h
5557 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5559 echo "$as_me:$LINENO: checking for $ac_header" >&5
5560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5562 echo $ECHO_N "(cached) $ECHO_C" >&6
5564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5567 # Is the header compilable?
5568 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5569 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5570 cat >conftest.$ac_ext <<_ACEOF
5573 cat confdefs.h >>conftest.$ac_ext
5574 cat >>conftest.$ac_ext <<_ACEOF
5575 /* end confdefs.h. */
5576 $ac_includes_default
5577 #include <$ac_header>
5579 rm -f conftest.$ac_objext
5580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5581 (eval $ac_compile) 2>conftest.er1
5583 grep -v '^ *+' conftest.er1 >conftest.err
5585 cat conftest.err >&5
5586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5587 (exit $ac_status); } &&
5588 { ac_try='test -z "$ac_c_werror_flag"
5589 || test ! -s conftest.err'
5590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 (exit $ac_status); }; } &&
5595 { ac_try='test -s conftest.$ac_objext'
5596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); }; }; then
5601 ac_header_compiler=yes
5603 echo "$as_me: failed program was:" >&5
5604 sed 's/^/| /' conftest.$ac_ext >&5
5606 ac_header_compiler=no
5608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5609 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5610 echo "${ECHO_T}$ac_header_compiler" >&6
5612 # Is the header present?
5613 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5614 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5615 cat >conftest.$ac_ext <<_ACEOF
5618 cat confdefs.h >>conftest.$ac_ext
5619 cat >>conftest.$ac_ext <<_ACEOF
5620 /* end confdefs.h. */
5621 #include <$ac_header>
5623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5624 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5626 grep -v '^ *+' conftest.er1 >conftest.err
5628 cat conftest.err >&5
5629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5630 (exit $ac_status); } >/dev/null; then
5631 if test -s conftest.err; then
5632 ac_cpp_err=$ac_c_preproc_warn_flag
5633 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5640 if test -z "$ac_cpp_err"; then
5641 ac_header_preproc=yes
5643 echo "$as_me: failed program was:" >&5
5644 sed 's/^/| /' conftest.$ac_ext >&5
5646 ac_header_preproc=no
5648 rm -f conftest.err conftest.$ac_ext
5649 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5650 echo "${ECHO_T}$ac_header_preproc" >&6
5652 # So? What about this header?
5653 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5655 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5656 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5657 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5658 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5659 ac_header_preproc=yes
5662 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5663 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5664 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5665 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5666 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5667 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5668 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5669 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5672 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5673 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5676 ## ------------------------------------------------------ ##
5677 ## Report this to the GNU Fortran Runtime Library lists. ##
5678 ## ------------------------------------------------------ ##
5681 sed "s/^/$as_me: WARNING: /" >&2
5684 echo "$as_me:$LINENO: checking for $ac_header" >&5
5685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5687 echo $ECHO_N "(cached) $ECHO_C" >&6
5689 eval "$as_ac_Header=\$ac_header_preproc"
5691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5696 cat >>confdefs.h <<_ACEOF
5697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5705 for ac_func in getpagesize
5707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5708 echo "$as_me:$LINENO: checking for $ac_func" >&5
5709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5710 if eval "test \"\${$as_ac_var+set}\" = set"; then
5711 echo $ECHO_N "(cached) $ECHO_C" >&6
5713 if test x$gcc_no_link = xyes; then
5714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5716 { (exit 1); exit 1; }; }
5718 cat >conftest.$ac_ext <<_ACEOF
5721 cat confdefs.h >>conftest.$ac_ext
5722 cat >>conftest.$ac_ext <<_ACEOF
5723 /* end confdefs.h. */
5724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5726 #define $ac_func innocuous_$ac_func
5728 /* System header to define __stub macros and hopefully few prototypes,
5729 which can conflict with char $ac_func (); below.
5730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5731 <limits.h> exists even on freestanding compilers. */
5734 # include <limits.h>
5736 # include <assert.h>
5741 /* Override any gcc2 internal prototype to avoid an error. */
5746 /* We use char because int might match the return type of a gcc2
5747 builtin and then its argument prototype would still apply. */
5749 /* The GNU C library defines this for functions which it implements
5750 to always fail with ENOSYS. Some functions are actually named
5751 something starting with __ and the normal name is an alias. */
5752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5755 char (*f) () = $ac_func;
5764 return f != $ac_func;
5769 rm -f conftest.$ac_objext conftest$ac_exeext
5770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5771 (eval $ac_link) 2>conftest.er1
5773 grep -v '^ *+' conftest.er1 >conftest.err
5775 cat conftest.err >&5
5776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5777 (exit $ac_status); } &&
5778 { ac_try='test -z "$ac_c_werror_flag"
5779 || test ! -s conftest.err'
5780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5784 (exit $ac_status); }; } &&
5785 { ac_try='test -s conftest$ac_exeext'
5786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5790 (exit $ac_status); }; }; then
5791 eval "$as_ac_var=yes"
5793 echo "$as_me: failed program was:" >&5
5794 sed 's/^/| /' conftest.$ac_ext >&5
5796 eval "$as_ac_var=no"
5798 rm -f conftest.err conftest.$ac_objext \
5799 conftest$ac_exeext conftest.$ac_ext
5801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5803 if test `eval echo '${'$as_ac_var'}'` = yes; then
5804 cat >>confdefs.h <<_ACEOF
5805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5811 echo "$as_me:$LINENO: checking for working mmap" >&5
5812 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5813 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5814 echo $ECHO_N "(cached) $ECHO_C" >&6
5816 if test "$cross_compiling" = yes; then
5817 ac_cv_func_mmap_fixed_mapped=no
5819 cat >conftest.$ac_ext <<_ACEOF
5822 cat confdefs.h >>conftest.$ac_ext
5823 cat >>conftest.$ac_ext <<_ACEOF
5824 /* end confdefs.h. */
5825 $ac_includes_default
5826 /* malloc might have been renamed as rpl_malloc. */
5829 /* Thanks to Mike Haertel and Jim Avera for this test.
5830 Here is a matrix of mmap possibilities:
5831 mmap private not fixed
5832 mmap private fixed at somewhere currently unmapped
5833 mmap private fixed at somewhere already mapped
5834 mmap shared not fixed
5835 mmap shared fixed at somewhere currently unmapped
5836 mmap shared fixed at somewhere already mapped
5837 For private mappings, we should verify that changes cannot be read()
5838 back from the file, nor mmap's back from the file at a different
5839 address. (There have been systems where private was not correctly
5840 implemented like the infamous i386 svr4.0, and systems where the
5841 VM page cache was not coherent with the file system buffer cache
5842 like early versions of FreeBSD and possibly contemporary NetBSD.)
5843 For shared mappings, we should conversely verify that changes get
5844 propagated back to all the places they're supposed to be.
5846 Grep wants private fixed already mapped.
5847 The main things grep needs to know about mmap are:
5848 * does it exist and is it safe to write into the mmap'd area
5849 * how to use it (BSD variants) */
5852 #include <sys/mman.h>
5854 #if !STDC_HEADERS && !HAVE_STDLIB_H
5858 /* This mess was copied from the GNU getpagesize.h. */
5859 #if !HAVE_GETPAGESIZE
5860 /* Assume that all systems that can run configure have sys/param.h. */
5861 # if !HAVE_SYS_PARAM_H
5862 # define HAVE_SYS_PARAM_H 1
5865 # ifdef _SC_PAGESIZE
5866 # define getpagesize() sysconf(_SC_PAGESIZE)
5867 # else /* no _SC_PAGESIZE */
5868 # if HAVE_SYS_PARAM_H
5869 # include <sys/param.h>
5870 # ifdef EXEC_PAGESIZE
5871 # define getpagesize() EXEC_PAGESIZE
5872 # else /* no EXEC_PAGESIZE */
5874 # define getpagesize() NBPG * CLSIZE
5877 # endif /* no CLSIZE */
5878 # else /* no NBPG */
5880 # define getpagesize() NBPC
5881 # else /* no NBPC */
5883 # define getpagesize() PAGESIZE
5884 # endif /* PAGESIZE */
5885 # endif /* no NBPC */
5886 # endif /* no NBPG */
5887 # endif /* no EXEC_PAGESIZE */
5888 # else /* no HAVE_SYS_PARAM_H */
5889 # define getpagesize() 8192 /* punt totally */
5890 # endif /* no HAVE_SYS_PARAM_H */
5891 # endif /* no _SC_PAGESIZE */
5893 #endif /* no HAVE_GETPAGESIZE */
5898 char *data, *data2, *data3;
5902 pagesize = getpagesize ();
5904 /* First, make a file with some known garbage in it. */
5905 data = (char *) malloc (pagesize);
5908 for (i = 0; i < pagesize; ++i)
5909 *(data + i) = rand ();
5911 fd = creat ("conftest.mmap", 0600);
5914 if (write (fd, data, pagesize) != pagesize)
5918 /* Next, try to mmap the file at a fixed address which already has
5919 something else allocated at it. If we can, also make sure that
5920 we see the same garbage. */
5921 fd = open ("conftest.mmap", O_RDWR);
5924 data2 = (char *) malloc (2 * pagesize);
5927 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5928 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5929 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5931 for (i = 0; i < pagesize; ++i)
5932 if (*(data + i) != *(data2 + i))
5935 /* Finally, make sure that changes to the mapped area do not
5936 percolate back to the file as seen by read(). (This is a bug on
5937 some variants of i386 svr4.0.) */
5938 for (i = 0; i < pagesize; ++i)
5939 *(data2 + i) = *(data2 + i) + 1;
5940 data3 = (char *) malloc (pagesize);
5943 if (read (fd, data3, pagesize) != pagesize)
5945 for (i = 0; i < pagesize; ++i)
5946 if (*(data + i) != *(data3 + i))
5952 rm -f conftest$ac_exeext
5953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5954 (eval $ac_link) 2>&5
5956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5962 (exit $ac_status); }; }; then
5963 ac_cv_func_mmap_fixed_mapped=yes
5965 echo "$as_me: program exited with status $ac_status" >&5
5966 echo "$as_me: failed program was:" >&5
5967 sed 's/^/| /' conftest.$ac_ext >&5
5970 ac_cv_func_mmap_fixed_mapped=no
5972 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5975 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5976 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5977 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5979 cat >>confdefs.h <<\_ACEOF
5987 echo "$as_me:$LINENO: checking for off_t" >&5
5988 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5989 if test "${ac_cv_type_off_t+set}" = set; then
5990 echo $ECHO_N "(cached) $ECHO_C" >&6
5992 cat >conftest.$ac_ext <<_ACEOF
5995 cat confdefs.h >>conftest.$ac_ext
5996 cat >>conftest.$ac_ext <<_ACEOF
5997 /* end confdefs.h. */
5998 $ac_includes_default
6010 rm -f conftest.$ac_objext
6011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6012 (eval $ac_compile) 2>conftest.er1
6014 grep -v '^ *+' conftest.er1 >conftest.err
6016 cat conftest.err >&5
6017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6018 (exit $ac_status); } &&
6019 { ac_try='test -z "$ac_c_werror_flag"
6020 || test ! -s conftest.err'
6021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025 (exit $ac_status); }; } &&
6026 { ac_try='test -s conftest.$ac_objext'
6027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031 (exit $ac_status); }; }; then
6032 ac_cv_type_off_t=yes
6034 echo "$as_me: failed program was:" >&5
6035 sed 's/^/| /' conftest.$ac_ext >&5
6039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6041 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6042 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6043 if test $ac_cv_type_off_t = yes; then
6047 cat >>confdefs.h <<_ACEOF
6054 # check header files
6055 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6056 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6057 if test "${ac_cv_header_stdc+set}" = set; then
6058 echo $ECHO_N "(cached) $ECHO_C" >&6
6060 cat >conftest.$ac_ext <<_ACEOF
6063 cat confdefs.h >>conftest.$ac_ext
6064 cat >>conftest.$ac_ext <<_ACEOF
6065 /* end confdefs.h. */
6079 rm -f conftest.$ac_objext
6080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6081 (eval $ac_compile) 2>conftest.er1
6083 grep -v '^ *+' conftest.er1 >conftest.err
6085 cat conftest.err >&5
6086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6087 (exit $ac_status); } &&
6088 { ac_try='test -z "$ac_c_werror_flag"
6089 || test ! -s conftest.err'
6090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094 (exit $ac_status); }; } &&
6095 { ac_try='test -s conftest.$ac_objext'
6096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6100 (exit $ac_status); }; }; then
6101 ac_cv_header_stdc=yes
6103 echo "$as_me: failed program was:" >&5
6104 sed 's/^/| /' conftest.$ac_ext >&5
6106 ac_cv_header_stdc=no
6108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6110 if test $ac_cv_header_stdc = yes; then
6111 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6112 cat >conftest.$ac_ext <<_ACEOF
6115 cat confdefs.h >>conftest.$ac_ext
6116 cat >>conftest.$ac_ext <<_ACEOF
6117 /* end confdefs.h. */
6121 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6122 $EGREP "memchr" >/dev/null 2>&1; then
6125 ac_cv_header_stdc=no
6131 if test $ac_cv_header_stdc = yes; then
6132 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6133 cat >conftest.$ac_ext <<_ACEOF
6136 cat confdefs.h >>conftest.$ac_ext
6137 cat >>conftest.$ac_ext <<_ACEOF
6138 /* end confdefs.h. */
6142 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6143 $EGREP "free" >/dev/null 2>&1; then
6146 ac_cv_header_stdc=no
6152 if test $ac_cv_header_stdc = yes; then
6153 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6154 if test "$cross_compiling" = yes; then
6157 cat >conftest.$ac_ext <<_ACEOF
6160 cat confdefs.h >>conftest.$ac_ext
6161 cat >>conftest.$ac_ext <<_ACEOF
6162 /* end confdefs.h. */
6164 #if ((' ' & 0x0FF) == 0x020)
6165 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6166 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6168 # define ISLOWER(c) \
6169 (('a' <= (c) && (c) <= 'i') \
6170 || ('j' <= (c) && (c) <= 'r') \
6171 || ('s' <= (c) && (c) <= 'z'))
6172 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6175 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6180 for (i = 0; i < 256; i++)
6181 if (XOR (islower (i), ISLOWER (i))
6182 || toupper (i) != TOUPPER (i))
6187 rm -f conftest$ac_exeext
6188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6189 (eval $ac_link) 2>&5
6191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6197 (exit $ac_status); }; }; then
6200 echo "$as_me: program exited with status $ac_status" >&5
6201 echo "$as_me: failed program was:" >&5
6202 sed 's/^/| /' conftest.$ac_ext >&5
6205 ac_cv_header_stdc=no
6207 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6211 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6212 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6213 if test $ac_cv_header_stdc = yes; then
6215 cat >>confdefs.h <<\_ACEOF
6216 #define STDC_HEADERS 1
6228 for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
6230 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6232 echo "$as_me:$LINENO: checking for $ac_header" >&5
6233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6235 echo $ECHO_N "(cached) $ECHO_C" >&6
6237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6240 # Is the header compilable?
6241 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6242 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6243 cat >conftest.$ac_ext <<_ACEOF
6246 cat confdefs.h >>conftest.$ac_ext
6247 cat >>conftest.$ac_ext <<_ACEOF
6248 /* end confdefs.h. */
6249 $ac_includes_default
6250 #include <$ac_header>
6252 rm -f conftest.$ac_objext
6253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6254 (eval $ac_compile) 2>conftest.er1
6256 grep -v '^ *+' conftest.er1 >conftest.err
6258 cat conftest.err >&5
6259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6260 (exit $ac_status); } &&
6261 { ac_try='test -z "$ac_c_werror_flag"
6262 || test ! -s conftest.err'
6263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6267 (exit $ac_status); }; } &&
6268 { ac_try='test -s conftest.$ac_objext'
6269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6273 (exit $ac_status); }; }; then
6274 ac_header_compiler=yes
6276 echo "$as_me: failed program was:" >&5
6277 sed 's/^/| /' conftest.$ac_ext >&5
6279 ac_header_compiler=no
6281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6282 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6283 echo "${ECHO_T}$ac_header_compiler" >&6
6285 # Is the header present?
6286 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6287 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6288 cat >conftest.$ac_ext <<_ACEOF
6291 cat confdefs.h >>conftest.$ac_ext
6292 cat >>conftest.$ac_ext <<_ACEOF
6293 /* end confdefs.h. */
6294 #include <$ac_header>
6296 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6297 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6299 grep -v '^ *+' conftest.er1 >conftest.err
6301 cat conftest.err >&5
6302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6303 (exit $ac_status); } >/dev/null; then
6304 if test -s conftest.err; then
6305 ac_cpp_err=$ac_c_preproc_warn_flag
6306 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6313 if test -z "$ac_cpp_err"; then
6314 ac_header_preproc=yes
6316 echo "$as_me: failed program was:" >&5
6317 sed 's/^/| /' conftest.$ac_ext >&5
6319 ac_header_preproc=no
6321 rm -f conftest.err conftest.$ac_ext
6322 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6323 echo "${ECHO_T}$ac_header_preproc" >&6
6325 # So? What about this header?
6326 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6328 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6329 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6330 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6331 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6332 ac_header_preproc=yes
6335 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6336 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6337 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6338 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6339 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6340 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6341 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6342 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6344 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6345 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6346 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6349 ## ------------------------------------------------------ ##
6350 ## Report this to the GNU Fortran Runtime Library lists. ##
6351 ## ------------------------------------------------------ ##
6354 sed "s/^/$as_me: WARNING: /" >&2
6357 echo "$as_me:$LINENO: checking for $ac_header" >&5
6358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6360 echo $ECHO_N "(cached) $ECHO_C" >&6
6362 eval "$as_ac_Header=\$ac_header_preproc"
6364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6368 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6369 cat >>confdefs.h <<_ACEOF
6370 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6382 for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
6384 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6385 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6386 echo "$as_me:$LINENO: checking for $ac_header" >&5
6387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6389 echo $ECHO_N "(cached) $ECHO_C" >&6
6391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6392 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6394 # Is the header compilable?
6395 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6396 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6397 cat >conftest.$ac_ext <<_ACEOF
6400 cat confdefs.h >>conftest.$ac_ext
6401 cat >>conftest.$ac_ext <<_ACEOF
6402 /* end confdefs.h. */
6403 $ac_includes_default
6404 #include <$ac_header>
6406 rm -f conftest.$ac_objext
6407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6408 (eval $ac_compile) 2>conftest.er1
6410 grep -v '^ *+' conftest.er1 >conftest.err
6412 cat conftest.err >&5
6413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6414 (exit $ac_status); } &&
6415 { ac_try='test -z "$ac_c_werror_flag"
6416 || test ! -s conftest.err'
6417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6421 (exit $ac_status); }; } &&
6422 { ac_try='test -s conftest.$ac_objext'
6423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6427 (exit $ac_status); }; }; then
6428 ac_header_compiler=yes
6430 echo "$as_me: failed program was:" >&5
6431 sed 's/^/| /' conftest.$ac_ext >&5
6433 ac_header_compiler=no
6435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6436 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6437 echo "${ECHO_T}$ac_header_compiler" >&6
6439 # Is the header present?
6440 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6441 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6442 cat >conftest.$ac_ext <<_ACEOF
6445 cat confdefs.h >>conftest.$ac_ext
6446 cat >>conftest.$ac_ext <<_ACEOF
6447 /* end confdefs.h. */
6448 #include <$ac_header>
6450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6451 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6453 grep -v '^ *+' conftest.er1 >conftest.err
6455 cat conftest.err >&5
6456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457 (exit $ac_status); } >/dev/null; then
6458 if test -s conftest.err; then
6459 ac_cpp_err=$ac_c_preproc_warn_flag
6460 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6467 if test -z "$ac_cpp_err"; then
6468 ac_header_preproc=yes
6470 echo "$as_me: failed program was:" >&5
6471 sed 's/^/| /' conftest.$ac_ext >&5
6473 ac_header_preproc=no
6475 rm -f conftest.err conftest.$ac_ext
6476 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6477 echo "${ECHO_T}$ac_header_preproc" >&6
6479 # So? What about this header?
6480 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6482 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6483 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6485 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6486 ac_header_preproc=yes
6489 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6490 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6491 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6492 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6493 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6494 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6495 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6496 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6498 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6499 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6500 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6503 ## ------------------------------------------------------ ##
6504 ## Report this to the GNU Fortran Runtime Library lists. ##
6505 ## ------------------------------------------------------ ##
6508 sed "s/^/$as_me: WARNING: /" >&2
6511 echo "$as_me:$LINENO: checking for $ac_header" >&5
6512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6514 echo $ECHO_N "(cached) $ECHO_C" >&6
6516 eval "$as_ac_Header=\$ac_header_preproc"
6518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6519 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6523 cat >>confdefs.h <<_ACEOF
6524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6536 for ac_header in sys/mman.h sys/types.h sys/stat.h floatingpoint.h ieeefp.h
6538 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6540 echo "$as_me:$LINENO: checking for $ac_header" >&5
6541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6543 echo $ECHO_N "(cached) $ECHO_C" >&6
6545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6546 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6548 # Is the header compilable?
6549 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6550 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6551 cat >conftest.$ac_ext <<_ACEOF
6554 cat confdefs.h >>conftest.$ac_ext
6555 cat >>conftest.$ac_ext <<_ACEOF
6556 /* end confdefs.h. */
6557 $ac_includes_default
6558 #include <$ac_header>
6560 rm -f conftest.$ac_objext
6561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6562 (eval $ac_compile) 2>conftest.er1
6564 grep -v '^ *+' conftest.er1 >conftest.err
6566 cat conftest.err >&5
6567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6568 (exit $ac_status); } &&
6569 { ac_try='test -z "$ac_c_werror_flag"
6570 || test ! -s conftest.err'
6571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6575 (exit $ac_status); }; } &&
6576 { ac_try='test -s conftest.$ac_objext'
6577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6581 (exit $ac_status); }; }; then
6582 ac_header_compiler=yes
6584 echo "$as_me: failed program was:" >&5
6585 sed 's/^/| /' conftest.$ac_ext >&5
6587 ac_header_compiler=no
6589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6590 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6591 echo "${ECHO_T}$ac_header_compiler" >&6
6593 # Is the header present?
6594 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6595 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6596 cat >conftest.$ac_ext <<_ACEOF
6599 cat confdefs.h >>conftest.$ac_ext
6600 cat >>conftest.$ac_ext <<_ACEOF
6601 /* end confdefs.h. */
6602 #include <$ac_header>
6604 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6605 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6607 grep -v '^ *+' conftest.er1 >conftest.err
6609 cat conftest.err >&5
6610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 (exit $ac_status); } >/dev/null; then
6612 if test -s conftest.err; then
6613 ac_cpp_err=$ac_c_preproc_warn_flag
6614 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6621 if test -z "$ac_cpp_err"; then
6622 ac_header_preproc=yes
6624 echo "$as_me: failed program was:" >&5
6625 sed 's/^/| /' conftest.$ac_ext >&5
6627 ac_header_preproc=no
6629 rm -f conftest.err conftest.$ac_ext
6630 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6631 echo "${ECHO_T}$ac_header_preproc" >&6
6633 # So? What about this header?
6634 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6636 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6637 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6638 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6639 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6640 ac_header_preproc=yes
6643 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6644 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6645 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6646 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6647 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6648 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6649 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6650 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6651 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6652 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6653 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6654 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6657 ## ------------------------------------------------------ ##
6658 ## Report this to the GNU Fortran Runtime Library lists. ##
6659 ## ------------------------------------------------------ ##
6662 sed "s/^/$as_me: WARNING: /" >&2
6665 echo "$as_me:$LINENO: checking for $ac_header" >&5
6666 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6668 echo $ECHO_N "(cached) $ECHO_C" >&6
6670 eval "$as_ac_Header=\$ac_header_preproc"
6672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6673 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6676 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6677 cat >>confdefs.h <<_ACEOF
6678 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6688 for ac_header in fenv.h fptrap.h float.h
6690 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6691 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6692 echo "$as_me:$LINENO: checking for $ac_header" >&5
6693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6694 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6695 echo $ECHO_N "(cached) $ECHO_C" >&6
6697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6698 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6700 # Is the header compilable?
6701 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6702 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6703 cat >conftest.$ac_ext <<_ACEOF
6706 cat confdefs.h >>conftest.$ac_ext
6707 cat >>conftest.$ac_ext <<_ACEOF
6708 /* end confdefs.h. */
6709 $ac_includes_default
6710 #include <$ac_header>
6712 rm -f conftest.$ac_objext
6713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6714 (eval $ac_compile) 2>conftest.er1
6716 grep -v '^ *+' conftest.er1 >conftest.err
6718 cat conftest.err >&5
6719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6720 (exit $ac_status); } &&
6721 { ac_try='test -z "$ac_c_werror_flag"
6722 || test ! -s conftest.err'
6723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6727 (exit $ac_status); }; } &&
6728 { ac_try='test -s conftest.$ac_objext'
6729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6733 (exit $ac_status); }; }; then
6734 ac_header_compiler=yes
6736 echo "$as_me: failed program was:" >&5
6737 sed 's/^/| /' conftest.$ac_ext >&5
6739 ac_header_compiler=no
6741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6742 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6743 echo "${ECHO_T}$ac_header_compiler" >&6
6745 # Is the header present?
6746 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6747 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6748 cat >conftest.$ac_ext <<_ACEOF
6751 cat confdefs.h >>conftest.$ac_ext
6752 cat >>conftest.$ac_ext <<_ACEOF
6753 /* end confdefs.h. */
6754 #include <$ac_header>
6756 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6757 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6759 grep -v '^ *+' conftest.er1 >conftest.err
6761 cat conftest.err >&5
6762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6763 (exit $ac_status); } >/dev/null; then
6764 if test -s conftest.err; then
6765 ac_cpp_err=$ac_c_preproc_warn_flag
6766 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6773 if test -z "$ac_cpp_err"; then
6774 ac_header_preproc=yes
6776 echo "$as_me: failed program was:" >&5
6777 sed 's/^/| /' conftest.$ac_ext >&5
6779 ac_header_preproc=no
6781 rm -f conftest.err conftest.$ac_ext
6782 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6783 echo "${ECHO_T}$ac_header_preproc" >&6
6785 # So? What about this header?
6786 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6788 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6789 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6791 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6792 ac_header_preproc=yes
6795 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6796 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6797 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6798 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6799 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6800 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6801 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6802 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6803 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6804 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6805 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6806 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6809 ## ------------------------------------------------------ ##
6810 ## Report this to the GNU Fortran Runtime Library lists. ##
6811 ## ------------------------------------------------------ ##
6814 sed "s/^/$as_me: WARNING: /" >&2
6817 echo "$as_me:$LINENO: checking for $ac_header" >&5
6818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6820 echo $ECHO_N "(cached) $ECHO_C" >&6
6822 eval "$as_ac_Header=\$ac_header_preproc"
6824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6825 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6828 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6829 cat >>confdefs.h <<_ACEOF
6830 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6837 if test "${ac_cv_header_complex_h+set}" = set; then
6838 echo "$as_me:$LINENO: checking for complex.h" >&5
6839 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6840 if test "${ac_cv_header_complex_h+set}" = set; then
6841 echo $ECHO_N "(cached) $ECHO_C" >&6
6843 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6844 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6846 # Is the header compilable?
6847 echo "$as_me:$LINENO: checking complex.h usability" >&5
6848 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6849 cat >conftest.$ac_ext <<_ACEOF
6852 cat confdefs.h >>conftest.$ac_ext
6853 cat >>conftest.$ac_ext <<_ACEOF
6854 /* end confdefs.h. */
6855 $ac_includes_default
6856 #include <complex.h>
6858 rm -f conftest.$ac_objext
6859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6860 (eval $ac_compile) 2>conftest.er1
6862 grep -v '^ *+' conftest.er1 >conftest.err
6864 cat conftest.err >&5
6865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6866 (exit $ac_status); } &&
6867 { ac_try='test -z "$ac_c_werror_flag"
6868 || test ! -s conftest.err'
6869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6873 (exit $ac_status); }; } &&
6874 { ac_try='test -s conftest.$ac_objext'
6875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6879 (exit $ac_status); }; }; then
6880 ac_header_compiler=yes
6882 echo "$as_me: failed program was:" >&5
6883 sed 's/^/| /' conftest.$ac_ext >&5
6885 ac_header_compiler=no
6887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6888 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6889 echo "${ECHO_T}$ac_header_compiler" >&6
6891 # Is the header present?
6892 echo "$as_me:$LINENO: checking complex.h presence" >&5
6893 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6894 cat >conftest.$ac_ext <<_ACEOF
6897 cat confdefs.h >>conftest.$ac_ext
6898 cat >>conftest.$ac_ext <<_ACEOF
6899 /* end confdefs.h. */
6900 #include <complex.h>
6902 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6903 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6905 grep -v '^ *+' conftest.er1 >conftest.err
6907 cat conftest.err >&5
6908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6909 (exit $ac_status); } >/dev/null; then
6910 if test -s conftest.err; then
6911 ac_cpp_err=$ac_c_preproc_warn_flag
6912 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6919 if test -z "$ac_cpp_err"; then
6920 ac_header_preproc=yes
6922 echo "$as_me: failed program was:" >&5
6923 sed 's/^/| /' conftest.$ac_ext >&5
6925 ac_header_preproc=no
6927 rm -f conftest.err conftest.$ac_ext
6928 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6929 echo "${ECHO_T}$ac_header_preproc" >&6
6931 # So? What about this header?
6932 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6934 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6935 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6936 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6937 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6938 ac_header_preproc=yes
6941 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6942 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6943 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6944 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6945 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6946 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6947 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6948 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6949 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6950 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6951 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6952 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6955 ## ------------------------------------------------------ ##
6956 ## Report this to the GNU Fortran Runtime Library lists. ##
6957 ## ------------------------------------------------------ ##
6960 sed "s/^/$as_me: WARNING: /" >&2
6963 echo "$as_me:$LINENO: checking for complex.h" >&5
6964 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6965 if test "${ac_cv_header_complex_h+set}" = set; then
6966 echo $ECHO_N "(cached) $ECHO_C" >&6
6968 ac_cv_header_complex_h=$ac_header_preproc
6970 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6971 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6974 if test $ac_cv_header_complex_h = yes; then
6976 cat >>confdefs.h <<\_ACEOF
6977 #define HAVE_COMPLEX_H 1
6984 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6985 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
6986 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6987 echo $ECHO_N "(cached) $ECHO_C" >&6
6989 cat >conftest.$ac_ext <<_ACEOF
6992 cat confdefs.h >>conftest.$ac_ext
6993 cat >>conftest.$ac_ext <<_ACEOF
6994 /* end confdefs.h. */
6995 $ac_includes_default
6999 static struct stat ac_aggr;
7000 if (ac_aggr.st_blksize)
7006 rm -f conftest.$ac_objext
7007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7008 (eval $ac_compile) 2>conftest.er1
7010 grep -v '^ *+' conftest.er1 >conftest.err
7012 cat conftest.err >&5
7013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7014 (exit $ac_status); } &&
7015 { ac_try='test -z "$ac_c_werror_flag"
7016 || test ! -s conftest.err'
7017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7021 (exit $ac_status); }; } &&
7022 { ac_try='test -s conftest.$ac_objext'
7023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7027 (exit $ac_status); }; }; then
7028 ac_cv_member_struct_stat_st_blksize=yes
7030 echo "$as_me: failed program was:" >&5
7031 sed 's/^/| /' conftest.$ac_ext >&5
7033 cat >conftest.$ac_ext <<_ACEOF
7036 cat confdefs.h >>conftest.$ac_ext
7037 cat >>conftest.$ac_ext <<_ACEOF
7038 /* end confdefs.h. */
7039 $ac_includes_default
7043 static struct stat ac_aggr;
7044 if (sizeof ac_aggr.st_blksize)
7050 rm -f conftest.$ac_objext
7051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7052 (eval $ac_compile) 2>conftest.er1
7054 grep -v '^ *+' conftest.er1 >conftest.err
7056 cat conftest.err >&5
7057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7058 (exit $ac_status); } &&
7059 { ac_try='test -z "$ac_c_werror_flag"
7060 || test ! -s conftest.err'
7061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7065 (exit $ac_status); }; } &&
7066 { ac_try='test -s conftest.$ac_objext'
7067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7071 (exit $ac_status); }; }; then
7072 ac_cv_member_struct_stat_st_blksize=yes
7074 echo "$as_me: failed program was:" >&5
7075 sed 's/^/| /' conftest.$ac_ext >&5
7077 ac_cv_member_struct_stat_st_blksize=no
7079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7083 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
7084 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
7085 if test $ac_cv_member_struct_stat_st_blksize = yes; then
7087 cat >>confdefs.h <<_ACEOF
7088 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
7094 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
7095 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
7096 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
7097 echo $ECHO_N "(cached) $ECHO_C" >&6
7099 cat >conftest.$ac_ext <<_ACEOF
7102 cat confdefs.h >>conftest.$ac_ext
7103 cat >>conftest.$ac_ext <<_ACEOF
7104 /* end confdefs.h. */
7105 $ac_includes_default
7109 static struct stat ac_aggr;
7110 if (ac_aggr.st_blocks)
7116 rm -f conftest.$ac_objext
7117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7118 (eval $ac_compile) 2>conftest.er1
7120 grep -v '^ *+' conftest.er1 >conftest.err
7122 cat conftest.err >&5
7123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7124 (exit $ac_status); } &&
7125 { ac_try='test -z "$ac_c_werror_flag"
7126 || test ! -s conftest.err'
7127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7131 (exit $ac_status); }; } &&
7132 { ac_try='test -s conftest.$ac_objext'
7133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137 (exit $ac_status); }; }; then
7138 ac_cv_member_struct_stat_st_blocks=yes
7140 echo "$as_me: failed program was:" >&5
7141 sed 's/^/| /' conftest.$ac_ext >&5
7143 cat >conftest.$ac_ext <<_ACEOF
7146 cat confdefs.h >>conftest.$ac_ext
7147 cat >>conftest.$ac_ext <<_ACEOF
7148 /* end confdefs.h. */
7149 $ac_includes_default
7153 static struct stat ac_aggr;
7154 if (sizeof ac_aggr.st_blocks)
7160 rm -f conftest.$ac_objext
7161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7162 (eval $ac_compile) 2>conftest.er1
7164 grep -v '^ *+' conftest.er1 >conftest.err
7166 cat conftest.err >&5
7167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7168 (exit $ac_status); } &&
7169 { ac_try='test -z "$ac_c_werror_flag"
7170 || test ! -s conftest.err'
7171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7175 (exit $ac_status); }; } &&
7176 { ac_try='test -s conftest.$ac_objext'
7177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7181 (exit $ac_status); }; }; then
7182 ac_cv_member_struct_stat_st_blocks=yes
7184 echo "$as_me: failed program was:" >&5
7185 sed 's/^/| /' conftest.$ac_ext >&5
7187 ac_cv_member_struct_stat_st_blocks=no
7189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7193 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
7194 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
7195 if test $ac_cv_member_struct_stat_st_blocks = yes; then
7197 cat >>confdefs.h <<_ACEOF
7198 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
7204 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
7205 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
7206 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
7207 echo $ECHO_N "(cached) $ECHO_C" >&6
7209 cat >conftest.$ac_ext <<_ACEOF
7212 cat confdefs.h >>conftest.$ac_ext
7213 cat >>conftest.$ac_ext <<_ACEOF
7214 /* end confdefs.h. */
7215 $ac_includes_default
7219 static struct stat ac_aggr;
7220 if (ac_aggr.st_rdev)
7226 rm -f conftest.$ac_objext
7227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7228 (eval $ac_compile) 2>conftest.er1
7230 grep -v '^ *+' conftest.er1 >conftest.err
7232 cat conftest.err >&5
7233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7234 (exit $ac_status); } &&
7235 { ac_try='test -z "$ac_c_werror_flag"
7236 || test ! -s conftest.err'
7237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7241 (exit $ac_status); }; } &&
7242 { ac_try='test -s conftest.$ac_objext'
7243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7247 (exit $ac_status); }; }; then
7248 ac_cv_member_struct_stat_st_rdev=yes
7250 echo "$as_me: failed program was:" >&5
7251 sed 's/^/| /' conftest.$ac_ext >&5
7253 cat >conftest.$ac_ext <<_ACEOF
7256 cat confdefs.h >>conftest.$ac_ext
7257 cat >>conftest.$ac_ext <<_ACEOF
7258 /* end confdefs.h. */
7259 $ac_includes_default
7263 static struct stat ac_aggr;
7264 if (sizeof ac_aggr.st_rdev)
7270 rm -f conftest.$ac_objext
7271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7272 (eval $ac_compile) 2>conftest.er1
7274 grep -v '^ *+' conftest.er1 >conftest.err
7276 cat conftest.err >&5
7277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7278 (exit $ac_status); } &&
7279 { ac_try='test -z "$ac_c_werror_flag"
7280 || test ! -s conftest.err'
7281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7285 (exit $ac_status); }; } &&
7286 { ac_try='test -s conftest.$ac_objext'
7287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7291 (exit $ac_status); }; }; then
7292 ac_cv_member_struct_stat_st_rdev=yes
7294 echo "$as_me: failed program was:" >&5
7295 sed 's/^/| /' conftest.$ac_ext >&5
7297 ac_cv_member_struct_stat_st_rdev=no
7299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7303 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
7304 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
7305 if test $ac_cv_member_struct_stat_st_rdev = yes; then
7307 cat >>confdefs.h <<_ACEOF
7308 #define HAVE_STRUCT_STAT_ST_RDEV 1
7315 # Check for library functions.
7324 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
7326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7327 echo "$as_me:$LINENO: checking for $ac_func" >&5
7328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7329 if eval "test \"\${$as_ac_var+set}\" = set"; then
7330 echo $ECHO_N "(cached) $ECHO_C" >&6
7332 if test x$gcc_no_link = xyes; then
7333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7335 { (exit 1); exit 1; }; }
7337 cat >conftest.$ac_ext <<_ACEOF
7340 cat confdefs.h >>conftest.$ac_ext
7341 cat >>conftest.$ac_ext <<_ACEOF
7342 /* end confdefs.h. */
7343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7345 #define $ac_func innocuous_$ac_func
7347 /* System header to define __stub macros and hopefully few prototypes,
7348 which can conflict with char $ac_func (); below.
7349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7350 <limits.h> exists even on freestanding compilers. */
7353 # include <limits.h>
7355 # include <assert.h>
7360 /* Override any gcc2 internal prototype to avoid an error. */
7365 /* We use char because int might match the return type of a gcc2
7366 builtin and then its argument prototype would still apply. */
7368 /* The GNU C library defines this for functions which it implements
7369 to always fail with ENOSYS. Some functions are actually named
7370 something starting with __ and the normal name is an alias. */
7371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7374 char (*f) () = $ac_func;
7383 return f != $ac_func;
7388 rm -f conftest.$ac_objext conftest$ac_exeext
7389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7390 (eval $ac_link) 2>conftest.er1
7392 grep -v '^ *+' conftest.er1 >conftest.err
7394 cat conftest.err >&5
7395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7396 (exit $ac_status); } &&
7397 { ac_try='test -z "$ac_c_werror_flag"
7398 || test ! -s conftest.err'
7399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7403 (exit $ac_status); }; } &&
7404 { ac_try='test -s conftest$ac_exeext'
7405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7409 (exit $ac_status); }; }; then
7410 eval "$as_ac_var=yes"
7412 echo "$as_me: failed program was:" >&5
7413 sed 's/^/| /' conftest.$ac_ext >&5
7415 eval "$as_ac_var=no"
7417 rm -f conftest.err conftest.$ac_objext \
7418 conftest$ac_exeext conftest.$ac_ext
7420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7422 if test `eval echo '${'$as_ac_var'}'` = yes; then
7423 cat >>confdefs.h <<_ACEOF
7424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7438 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
7440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7441 echo "$as_me:$LINENO: checking for $ac_func" >&5
7442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7443 if eval "test \"\${$as_ac_var+set}\" = set"; then
7444 echo $ECHO_N "(cached) $ECHO_C" >&6
7446 if test x$gcc_no_link = xyes; then
7447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7449 { (exit 1); exit 1; }; }
7451 cat >conftest.$ac_ext <<_ACEOF
7454 cat confdefs.h >>conftest.$ac_ext
7455 cat >>conftest.$ac_ext <<_ACEOF
7456 /* end confdefs.h. */
7457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7459 #define $ac_func innocuous_$ac_func
7461 /* System header to define __stub macros and hopefully few prototypes,
7462 which can conflict with char $ac_func (); below.
7463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7464 <limits.h> exists even on freestanding compilers. */
7467 # include <limits.h>
7469 # include <assert.h>
7474 /* Override any gcc2 internal prototype to avoid an error. */
7479 /* We use char because int might match the return type of a gcc2
7480 builtin and then its argument prototype would still apply. */
7482 /* The GNU C library defines this for functions which it implements
7483 to always fail with ENOSYS. Some functions are actually named
7484 something starting with __ and the normal name is an alias. */
7485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7488 char (*f) () = $ac_func;
7497 return f != $ac_func;
7502 rm -f conftest.$ac_objext conftest$ac_exeext
7503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7504 (eval $ac_link) 2>conftest.er1
7506 grep -v '^ *+' conftest.er1 >conftest.err
7508 cat conftest.err >&5
7509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7510 (exit $ac_status); } &&
7511 { ac_try='test -z "$ac_c_werror_flag"
7512 || test ! -s conftest.err'
7513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7517 (exit $ac_status); }; } &&
7518 { ac_try='test -s conftest$ac_exeext'
7519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7523 (exit $ac_status); }; }; then
7524 eval "$as_ac_var=yes"
7526 echo "$as_me: failed program was:" >&5
7527 sed 's/^/| /' conftest.$ac_ext >&5
7529 eval "$as_ac_var=no"
7531 rm -f conftest.err conftest.$ac_objext \
7532 conftest$ac_exeext conftest.$ac_ext
7534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7536 if test `eval echo '${'$as_ac_var'}'` = yes; then
7537 cat >>confdefs.h <<_ACEOF
7538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7550 for ac_func in sleep time ttyname signal alarm ctime
7552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7553 echo "$as_me:$LINENO: checking for $ac_func" >&5
7554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7555 if eval "test \"\${$as_ac_var+set}\" = set"; then
7556 echo $ECHO_N "(cached) $ECHO_C" >&6
7558 if test x$gcc_no_link = xyes; then
7559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7561 { (exit 1); exit 1; }; }
7563 cat >conftest.$ac_ext <<_ACEOF
7566 cat confdefs.h >>conftest.$ac_ext
7567 cat >>conftest.$ac_ext <<_ACEOF
7568 /* end confdefs.h. */
7569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7571 #define $ac_func innocuous_$ac_func
7573 /* System header to define __stub macros and hopefully few prototypes,
7574 which can conflict with char $ac_func (); below.
7575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7576 <limits.h> exists even on freestanding compilers. */
7579 # include <limits.h>
7581 # include <assert.h>
7586 /* Override any gcc2 internal prototype to avoid an error. */
7591 /* We use char because int might match the return type of a gcc2
7592 builtin and then its argument prototype would still apply. */
7594 /* The GNU C library defines this for functions which it implements
7595 to always fail with ENOSYS. Some functions are actually named
7596 something starting with __ and the normal name is an alias. */
7597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7600 char (*f) () = $ac_func;
7609 return f != $ac_func;
7614 rm -f conftest.$ac_objext conftest$ac_exeext
7615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7616 (eval $ac_link) 2>conftest.er1
7618 grep -v '^ *+' conftest.er1 >conftest.err
7620 cat conftest.err >&5
7621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7622 (exit $ac_status); } &&
7623 { ac_try='test -z "$ac_c_werror_flag"
7624 || test ! -s conftest.err'
7625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7629 (exit $ac_status); }; } &&
7630 { ac_try='test -s conftest$ac_exeext'
7631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7635 (exit $ac_status); }; }; then
7636 eval "$as_ac_var=yes"
7638 echo "$as_me: failed program was:" >&5
7639 sed 's/^/| /' conftest.$ac_ext >&5
7641 eval "$as_ac_var=no"
7643 rm -f conftest.err conftest.$ac_objext \
7644 conftest$ac_exeext conftest.$ac_ext
7646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7648 if test `eval echo '${'$as_ac_var'}'` = yes; then
7649 cat >>confdefs.h <<_ACEOF
7650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7657 # Check libc for getgid, getpid, getuid
7658 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
7659 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
7660 if test "${ac_cv_lib_c_getgid+set}" = set; then
7661 echo $ECHO_N "(cached) $ECHO_C" >&6
7663 ac_check_lib_save_LIBS=$LIBS
7665 if test x$gcc_no_link = xyes; then
7666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7668 { (exit 1); exit 1; }; }
7670 cat >conftest.$ac_ext <<_ACEOF
7673 cat confdefs.h >>conftest.$ac_ext
7674 cat >>conftest.$ac_ext <<_ACEOF
7675 /* end confdefs.h. */
7677 /* Override any gcc2 internal prototype to avoid an error. */
7681 /* We use char because int might match the return type of a gcc2
7682 builtin and then its argument prototype would still apply. */
7692 rm -f conftest.$ac_objext conftest$ac_exeext
7693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7694 (eval $ac_link) 2>conftest.er1
7696 grep -v '^ *+' conftest.er1 >conftest.err
7698 cat conftest.err >&5
7699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7700 (exit $ac_status); } &&
7701 { ac_try='test -z "$ac_c_werror_flag"
7702 || test ! -s conftest.err'
7703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7707 (exit $ac_status); }; } &&
7708 { ac_try='test -s conftest$ac_exeext'
7709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7713 (exit $ac_status); }; }; then
7714 ac_cv_lib_c_getgid=yes
7716 echo "$as_me: failed program was:" >&5
7717 sed 's/^/| /' conftest.$ac_ext >&5
7719 ac_cv_lib_c_getgid=no
7721 rm -f conftest.err conftest.$ac_objext \
7722 conftest$ac_exeext conftest.$ac_ext
7723 LIBS=$ac_check_lib_save_LIBS
7725 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
7726 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
7727 if test $ac_cv_lib_c_getgid = yes; then
7729 cat >>confdefs.h <<\_ACEOF
7730 #define HAVE_GETGID 1
7735 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
7736 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
7737 if test "${ac_cv_lib_c_getpid+set}" = set; then
7738 echo $ECHO_N "(cached) $ECHO_C" >&6
7740 ac_check_lib_save_LIBS=$LIBS
7742 if test x$gcc_no_link = xyes; then
7743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7745 { (exit 1); exit 1; }; }
7747 cat >conftest.$ac_ext <<_ACEOF
7750 cat confdefs.h >>conftest.$ac_ext
7751 cat >>conftest.$ac_ext <<_ACEOF
7752 /* end confdefs.h. */
7754 /* Override any gcc2 internal prototype to avoid an error. */
7758 /* We use char because int might match the return type of a gcc2
7759 builtin and then its argument prototype would still apply. */
7769 rm -f conftest.$ac_objext conftest$ac_exeext
7770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7771 (eval $ac_link) 2>conftest.er1
7773 grep -v '^ *+' conftest.er1 >conftest.err
7775 cat conftest.err >&5
7776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7777 (exit $ac_status); } &&
7778 { ac_try='test -z "$ac_c_werror_flag"
7779 || test ! -s conftest.err'
7780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7784 (exit $ac_status); }; } &&
7785 { ac_try='test -s conftest$ac_exeext'
7786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7790 (exit $ac_status); }; }; then
7791 ac_cv_lib_c_getpid=yes
7793 echo "$as_me: failed program was:" >&5
7794 sed 's/^/| /' conftest.$ac_ext >&5
7796 ac_cv_lib_c_getpid=no
7798 rm -f conftest.err conftest.$ac_objext \
7799 conftest$ac_exeext conftest.$ac_ext
7800 LIBS=$ac_check_lib_save_LIBS
7802 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
7803 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
7804 if test $ac_cv_lib_c_getpid = yes; then
7806 cat >>confdefs.h <<\_ACEOF
7807 #define HAVE_GETPID 1
7812 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
7813 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
7814 if test "${ac_cv_lib_c_getuid+set}" = set; then
7815 echo $ECHO_N "(cached) $ECHO_C" >&6
7817 ac_check_lib_save_LIBS=$LIBS
7819 if test x$gcc_no_link = xyes; then
7820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7822 { (exit 1); exit 1; }; }
7824 cat >conftest.$ac_ext <<_ACEOF
7827 cat confdefs.h >>conftest.$ac_ext
7828 cat >>conftest.$ac_ext <<_ACEOF
7829 /* end confdefs.h. */
7831 /* Override any gcc2 internal prototype to avoid an error. */
7835 /* We use char because int might match the return type of a gcc2
7836 builtin and then its argument prototype would still apply. */
7846 rm -f conftest.$ac_objext conftest$ac_exeext
7847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7848 (eval $ac_link) 2>conftest.er1
7850 grep -v '^ *+' conftest.er1 >conftest.err
7852 cat conftest.err >&5
7853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7854 (exit $ac_status); } &&
7855 { ac_try='test -z "$ac_c_werror_flag"
7856 || test ! -s conftest.err'
7857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7861 (exit $ac_status); }; } &&
7862 { ac_try='test -s conftest$ac_exeext'
7863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7867 (exit $ac_status); }; }; then
7868 ac_cv_lib_c_getuid=yes
7870 echo "$as_me: failed program was:" >&5
7871 sed 's/^/| /' conftest.$ac_ext >&5
7873 ac_cv_lib_c_getuid=no
7875 rm -f conftest.err conftest.$ac_objext \
7876 conftest$ac_exeext conftest.$ac_ext
7877 LIBS=$ac_check_lib_save_LIBS
7879 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
7880 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
7881 if test $ac_cv_lib_c_getuid = yes; then
7883 cat >>confdefs.h <<\_ACEOF
7884 #define HAVE_GETUID 1
7890 # Check for C99 (and other IEEE) math functions
7891 # ??? This list seems awful long. Is there a better way to test for these?
7892 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
7893 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
7894 if test "${ac_cv_lib_m_acosf+set}" = set; then
7895 echo $ECHO_N "(cached) $ECHO_C" >&6
7897 ac_check_lib_save_LIBS=$LIBS
7899 if test x$gcc_no_link = xyes; then
7900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7902 { (exit 1); exit 1; }; }
7904 cat >conftest.$ac_ext <<_ACEOF
7907 cat confdefs.h >>conftest.$ac_ext
7908 cat >>conftest.$ac_ext <<_ACEOF
7909 /* end confdefs.h. */
7911 /* Override any gcc2 internal prototype to avoid an error. */
7915 /* We use char because int might match the return type of a gcc2
7916 builtin and then its argument prototype would still apply. */
7926 rm -f conftest.$ac_objext conftest$ac_exeext
7927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7928 (eval $ac_link) 2>conftest.er1
7930 grep -v '^ *+' conftest.er1 >conftest.err
7932 cat conftest.err >&5
7933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934 (exit $ac_status); } &&
7935 { ac_try='test -z "$ac_c_werror_flag"
7936 || test ! -s conftest.err'
7937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7941 (exit $ac_status); }; } &&
7942 { ac_try='test -s conftest$ac_exeext'
7943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7947 (exit $ac_status); }; }; then
7948 ac_cv_lib_m_acosf=yes
7950 echo "$as_me: failed program was:" >&5
7951 sed 's/^/| /' conftest.$ac_ext >&5
7953 ac_cv_lib_m_acosf=no
7955 rm -f conftest.err conftest.$ac_objext \
7956 conftest$ac_exeext conftest.$ac_ext
7957 LIBS=$ac_check_lib_save_LIBS
7959 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
7960 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
7961 if test $ac_cv_lib_m_acosf = yes; then
7963 cat >>confdefs.h <<\_ACEOF
7964 #define HAVE_ACOSF 1
7969 echo "$as_me:$LINENO: checking for acos in -lm" >&5
7970 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
7971 if test "${ac_cv_lib_m_acos+set}" = set; then
7972 echo $ECHO_N "(cached) $ECHO_C" >&6
7974 ac_check_lib_save_LIBS=$LIBS
7976 if test x$gcc_no_link = xyes; then
7977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7979 { (exit 1); exit 1; }; }
7981 cat >conftest.$ac_ext <<_ACEOF
7984 cat confdefs.h >>conftest.$ac_ext
7985 cat >>conftest.$ac_ext <<_ACEOF
7986 /* end confdefs.h. */
7988 /* Override any gcc2 internal prototype to avoid an error. */
7992 /* We use char because int might match the return type of a gcc2
7993 builtin and then its argument prototype would still apply. */
8003 rm -f conftest.$ac_objext conftest$ac_exeext
8004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8005 (eval $ac_link) 2>conftest.er1
8007 grep -v '^ *+' conftest.er1 >conftest.err
8009 cat conftest.err >&5
8010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8011 (exit $ac_status); } &&
8012 { ac_try='test -z "$ac_c_werror_flag"
8013 || test ! -s conftest.err'
8014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8018 (exit $ac_status); }; } &&
8019 { ac_try='test -s conftest$ac_exeext'
8020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8024 (exit $ac_status); }; }; then
8025 ac_cv_lib_m_acos=yes
8027 echo "$as_me: failed program was:" >&5
8028 sed 's/^/| /' conftest.$ac_ext >&5
8032 rm -f conftest.err conftest.$ac_objext \
8033 conftest$ac_exeext conftest.$ac_ext
8034 LIBS=$ac_check_lib_save_LIBS
8036 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
8037 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
8038 if test $ac_cv_lib_m_acos = yes; then
8040 cat >>confdefs.h <<\_ACEOF
8046 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
8047 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
8048 if test "${ac_cv_lib_m_acosl+set}" = set; then
8049 echo $ECHO_N "(cached) $ECHO_C" >&6
8051 ac_check_lib_save_LIBS=$LIBS
8053 if test x$gcc_no_link = xyes; then
8054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8056 { (exit 1); exit 1; }; }
8058 cat >conftest.$ac_ext <<_ACEOF
8061 cat confdefs.h >>conftest.$ac_ext
8062 cat >>conftest.$ac_ext <<_ACEOF
8063 /* end confdefs.h. */
8065 /* Override any gcc2 internal prototype to avoid an error. */
8069 /* We use char because int might match the return type of a gcc2
8070 builtin and then its argument prototype would still apply. */
8080 rm -f conftest.$ac_objext conftest$ac_exeext
8081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8082 (eval $ac_link) 2>conftest.er1
8084 grep -v '^ *+' conftest.er1 >conftest.err
8086 cat conftest.err >&5
8087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8088 (exit $ac_status); } &&
8089 { ac_try='test -z "$ac_c_werror_flag"
8090 || test ! -s conftest.err'
8091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8095 (exit $ac_status); }; } &&
8096 { ac_try='test -s conftest$ac_exeext'
8097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8101 (exit $ac_status); }; }; then
8102 ac_cv_lib_m_acosl=yes
8104 echo "$as_me: failed program was:" >&5
8105 sed 's/^/| /' conftest.$ac_ext >&5
8107 ac_cv_lib_m_acosl=no
8109 rm -f conftest.err conftest.$ac_objext \
8110 conftest$ac_exeext conftest.$ac_ext
8111 LIBS=$ac_check_lib_save_LIBS
8113 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
8114 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
8115 if test $ac_cv_lib_m_acosl = yes; then
8117 cat >>confdefs.h <<\_ACEOF
8118 #define HAVE_ACOSL 1
8123 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
8124 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
8125 if test "${ac_cv_lib_m_acoshf+set}" = set; then
8126 echo $ECHO_N "(cached) $ECHO_C" >&6
8128 ac_check_lib_save_LIBS=$LIBS
8130 if test x$gcc_no_link = xyes; then
8131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8133 { (exit 1); exit 1; }; }
8135 cat >conftest.$ac_ext <<_ACEOF
8138 cat confdefs.h >>conftest.$ac_ext
8139 cat >>conftest.$ac_ext <<_ACEOF
8140 /* end confdefs.h. */
8142 /* Override any gcc2 internal prototype to avoid an error. */
8146 /* We use char because int might match the return type of a gcc2
8147 builtin and then its argument prototype would still apply. */
8157 rm -f conftest.$ac_objext conftest$ac_exeext
8158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8159 (eval $ac_link) 2>conftest.er1
8161 grep -v '^ *+' conftest.er1 >conftest.err
8163 cat conftest.err >&5
8164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8165 (exit $ac_status); } &&
8166 { ac_try='test -z "$ac_c_werror_flag"
8167 || test ! -s conftest.err'
8168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8172 (exit $ac_status); }; } &&
8173 { ac_try='test -s conftest$ac_exeext'
8174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 (exit $ac_status); }; }; then
8179 ac_cv_lib_m_acoshf=yes
8181 echo "$as_me: failed program was:" >&5
8182 sed 's/^/| /' conftest.$ac_ext >&5
8184 ac_cv_lib_m_acoshf=no
8186 rm -f conftest.err conftest.$ac_objext \
8187 conftest$ac_exeext conftest.$ac_ext
8188 LIBS=$ac_check_lib_save_LIBS
8190 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
8191 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
8192 if test $ac_cv_lib_m_acoshf = yes; then
8194 cat >>confdefs.h <<\_ACEOF
8195 #define HAVE_ACOSHF 1
8200 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
8201 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
8202 if test "${ac_cv_lib_m_acosh+set}" = set; then
8203 echo $ECHO_N "(cached) $ECHO_C" >&6
8205 ac_check_lib_save_LIBS=$LIBS
8207 if test x$gcc_no_link = xyes; then
8208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8210 { (exit 1); exit 1; }; }
8212 cat >conftest.$ac_ext <<_ACEOF
8215 cat confdefs.h >>conftest.$ac_ext
8216 cat >>conftest.$ac_ext <<_ACEOF
8217 /* end confdefs.h. */
8219 /* Override any gcc2 internal prototype to avoid an error. */
8223 /* We use char because int might match the return type of a gcc2
8224 builtin and then its argument prototype would still apply. */
8234 rm -f conftest.$ac_objext conftest$ac_exeext
8235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8236 (eval $ac_link) 2>conftest.er1
8238 grep -v '^ *+' conftest.er1 >conftest.err
8240 cat conftest.err >&5
8241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8242 (exit $ac_status); } &&
8243 { ac_try='test -z "$ac_c_werror_flag"
8244 || test ! -s conftest.err'
8245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8249 (exit $ac_status); }; } &&
8250 { ac_try='test -s conftest$ac_exeext'
8251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8255 (exit $ac_status); }; }; then
8256 ac_cv_lib_m_acosh=yes
8258 echo "$as_me: failed program was:" >&5
8259 sed 's/^/| /' conftest.$ac_ext >&5
8261 ac_cv_lib_m_acosh=no
8263 rm -f conftest.err conftest.$ac_objext \
8264 conftest$ac_exeext conftest.$ac_ext
8265 LIBS=$ac_check_lib_save_LIBS
8267 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
8268 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
8269 if test $ac_cv_lib_m_acosh = yes; then
8271 cat >>confdefs.h <<\_ACEOF
8272 #define HAVE_ACOSH 1
8277 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
8278 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
8279 if test "${ac_cv_lib_m_acoshl+set}" = set; then
8280 echo $ECHO_N "(cached) $ECHO_C" >&6
8282 ac_check_lib_save_LIBS=$LIBS
8284 if test x$gcc_no_link = xyes; then
8285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8287 { (exit 1); exit 1; }; }
8289 cat >conftest.$ac_ext <<_ACEOF
8292 cat confdefs.h >>conftest.$ac_ext
8293 cat >>conftest.$ac_ext <<_ACEOF
8294 /* end confdefs.h. */
8296 /* Override any gcc2 internal prototype to avoid an error. */
8300 /* We use char because int might match the return type of a gcc2
8301 builtin and then its argument prototype would still apply. */
8311 rm -f conftest.$ac_objext conftest$ac_exeext
8312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8313 (eval $ac_link) 2>conftest.er1
8315 grep -v '^ *+' conftest.er1 >conftest.err
8317 cat conftest.err >&5
8318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8319 (exit $ac_status); } &&
8320 { ac_try='test -z "$ac_c_werror_flag"
8321 || test ! -s conftest.err'
8322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8326 (exit $ac_status); }; } &&
8327 { ac_try='test -s conftest$ac_exeext'
8328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332 (exit $ac_status); }; }; then
8333 ac_cv_lib_m_acoshl=yes
8335 echo "$as_me: failed program was:" >&5
8336 sed 's/^/| /' conftest.$ac_ext >&5
8338 ac_cv_lib_m_acoshl=no
8340 rm -f conftest.err conftest.$ac_objext \
8341 conftest$ac_exeext conftest.$ac_ext
8342 LIBS=$ac_check_lib_save_LIBS
8344 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
8345 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
8346 if test $ac_cv_lib_m_acoshl = yes; then
8348 cat >>confdefs.h <<\_ACEOF
8349 #define HAVE_ACOSHL 1
8354 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
8355 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
8356 if test "${ac_cv_lib_m_asinf+set}" = set; then
8357 echo $ECHO_N "(cached) $ECHO_C" >&6
8359 ac_check_lib_save_LIBS=$LIBS
8361 if test x$gcc_no_link = xyes; then
8362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8364 { (exit 1); exit 1; }; }
8366 cat >conftest.$ac_ext <<_ACEOF
8369 cat confdefs.h >>conftest.$ac_ext
8370 cat >>conftest.$ac_ext <<_ACEOF
8371 /* end confdefs.h. */
8373 /* Override any gcc2 internal prototype to avoid an error. */
8377 /* We use char because int might match the return type of a gcc2
8378 builtin and then its argument prototype would still apply. */
8388 rm -f conftest.$ac_objext conftest$ac_exeext
8389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8390 (eval $ac_link) 2>conftest.er1
8392 grep -v '^ *+' conftest.er1 >conftest.err
8394 cat conftest.err >&5
8395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8396 (exit $ac_status); } &&
8397 { ac_try='test -z "$ac_c_werror_flag"
8398 || test ! -s conftest.err'
8399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8403 (exit $ac_status); }; } &&
8404 { ac_try='test -s conftest$ac_exeext'
8405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8409 (exit $ac_status); }; }; then
8410 ac_cv_lib_m_asinf=yes
8412 echo "$as_me: failed program was:" >&5
8413 sed 's/^/| /' conftest.$ac_ext >&5
8415 ac_cv_lib_m_asinf=no
8417 rm -f conftest.err conftest.$ac_objext \
8418 conftest$ac_exeext conftest.$ac_ext
8419 LIBS=$ac_check_lib_save_LIBS
8421 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
8422 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
8423 if test $ac_cv_lib_m_asinf = yes; then
8425 cat >>confdefs.h <<\_ACEOF
8426 #define HAVE_ASINF 1
8431 echo "$as_me:$LINENO: checking for asin in -lm" >&5
8432 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
8433 if test "${ac_cv_lib_m_asin+set}" = set; then
8434 echo $ECHO_N "(cached) $ECHO_C" >&6
8436 ac_check_lib_save_LIBS=$LIBS
8438 if test x$gcc_no_link = xyes; then
8439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8441 { (exit 1); exit 1; }; }
8443 cat >conftest.$ac_ext <<_ACEOF
8446 cat confdefs.h >>conftest.$ac_ext
8447 cat >>conftest.$ac_ext <<_ACEOF
8448 /* end confdefs.h. */
8450 /* Override any gcc2 internal prototype to avoid an error. */
8454 /* We use char because int might match the return type of a gcc2
8455 builtin and then its argument prototype would still apply. */
8465 rm -f conftest.$ac_objext conftest$ac_exeext
8466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8467 (eval $ac_link) 2>conftest.er1
8469 grep -v '^ *+' conftest.er1 >conftest.err
8471 cat conftest.err >&5
8472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473 (exit $ac_status); } &&
8474 { ac_try='test -z "$ac_c_werror_flag"
8475 || test ! -s conftest.err'
8476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8480 (exit $ac_status); }; } &&
8481 { ac_try='test -s conftest$ac_exeext'
8482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8486 (exit $ac_status); }; }; then
8487 ac_cv_lib_m_asin=yes
8489 echo "$as_me: failed program was:" >&5
8490 sed 's/^/| /' conftest.$ac_ext >&5
8494 rm -f conftest.err conftest.$ac_objext \
8495 conftest$ac_exeext conftest.$ac_ext
8496 LIBS=$ac_check_lib_save_LIBS
8498 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
8499 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
8500 if test $ac_cv_lib_m_asin = yes; then
8502 cat >>confdefs.h <<\_ACEOF
8508 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
8509 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
8510 if test "${ac_cv_lib_m_asinl+set}" = set; then
8511 echo $ECHO_N "(cached) $ECHO_C" >&6
8513 ac_check_lib_save_LIBS=$LIBS
8515 if test x$gcc_no_link = xyes; then
8516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8518 { (exit 1); exit 1; }; }
8520 cat >conftest.$ac_ext <<_ACEOF
8523 cat confdefs.h >>conftest.$ac_ext
8524 cat >>conftest.$ac_ext <<_ACEOF
8525 /* end confdefs.h. */
8527 /* Override any gcc2 internal prototype to avoid an error. */
8531 /* We use char because int might match the return type of a gcc2
8532 builtin and then its argument prototype would still apply. */
8542 rm -f conftest.$ac_objext conftest$ac_exeext
8543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8544 (eval $ac_link) 2>conftest.er1
8546 grep -v '^ *+' conftest.er1 >conftest.err
8548 cat conftest.err >&5
8549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8550 (exit $ac_status); } &&
8551 { ac_try='test -z "$ac_c_werror_flag"
8552 || test ! -s conftest.err'
8553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8557 (exit $ac_status); }; } &&
8558 { ac_try='test -s conftest$ac_exeext'
8559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8563 (exit $ac_status); }; }; then
8564 ac_cv_lib_m_asinl=yes
8566 echo "$as_me: failed program was:" >&5
8567 sed 's/^/| /' conftest.$ac_ext >&5
8569 ac_cv_lib_m_asinl=no
8571 rm -f conftest.err conftest.$ac_objext \
8572 conftest$ac_exeext conftest.$ac_ext
8573 LIBS=$ac_check_lib_save_LIBS
8575 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
8576 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
8577 if test $ac_cv_lib_m_asinl = yes; then
8579 cat >>confdefs.h <<\_ACEOF
8580 #define HAVE_ASINL 1
8585 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
8586 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
8587 if test "${ac_cv_lib_m_asinhf+set}" = set; then
8588 echo $ECHO_N "(cached) $ECHO_C" >&6
8590 ac_check_lib_save_LIBS=$LIBS
8592 if test x$gcc_no_link = xyes; then
8593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8595 { (exit 1); exit 1; }; }
8597 cat >conftest.$ac_ext <<_ACEOF
8600 cat confdefs.h >>conftest.$ac_ext
8601 cat >>conftest.$ac_ext <<_ACEOF
8602 /* end confdefs.h. */
8604 /* Override any gcc2 internal prototype to avoid an error. */
8608 /* We use char because int might match the return type of a gcc2
8609 builtin and then its argument prototype would still apply. */
8619 rm -f conftest.$ac_objext conftest$ac_exeext
8620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8621 (eval $ac_link) 2>conftest.er1
8623 grep -v '^ *+' conftest.er1 >conftest.err
8625 cat conftest.err >&5
8626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8627 (exit $ac_status); } &&
8628 { ac_try='test -z "$ac_c_werror_flag"
8629 || test ! -s conftest.err'
8630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8634 (exit $ac_status); }; } &&
8635 { ac_try='test -s conftest$ac_exeext'
8636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8640 (exit $ac_status); }; }; then
8641 ac_cv_lib_m_asinhf=yes
8643 echo "$as_me: failed program was:" >&5
8644 sed 's/^/| /' conftest.$ac_ext >&5
8646 ac_cv_lib_m_asinhf=no
8648 rm -f conftest.err conftest.$ac_objext \
8649 conftest$ac_exeext conftest.$ac_ext
8650 LIBS=$ac_check_lib_save_LIBS
8652 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
8653 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
8654 if test $ac_cv_lib_m_asinhf = yes; then
8656 cat >>confdefs.h <<\_ACEOF
8657 #define HAVE_ASINHF 1
8662 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
8663 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
8664 if test "${ac_cv_lib_m_asinh+set}" = set; then
8665 echo $ECHO_N "(cached) $ECHO_C" >&6
8667 ac_check_lib_save_LIBS=$LIBS
8669 if test x$gcc_no_link = xyes; then
8670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8672 { (exit 1); exit 1; }; }
8674 cat >conftest.$ac_ext <<_ACEOF
8677 cat confdefs.h >>conftest.$ac_ext
8678 cat >>conftest.$ac_ext <<_ACEOF
8679 /* end confdefs.h. */
8681 /* Override any gcc2 internal prototype to avoid an error. */
8685 /* We use char because int might match the return type of a gcc2
8686 builtin and then its argument prototype would still apply. */
8696 rm -f conftest.$ac_objext conftest$ac_exeext
8697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8698 (eval $ac_link) 2>conftest.er1
8700 grep -v '^ *+' conftest.er1 >conftest.err
8702 cat conftest.err >&5
8703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8704 (exit $ac_status); } &&
8705 { ac_try='test -z "$ac_c_werror_flag"
8706 || test ! -s conftest.err'
8707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711 (exit $ac_status); }; } &&
8712 { ac_try='test -s conftest$ac_exeext'
8713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); }; }; then
8718 ac_cv_lib_m_asinh=yes
8720 echo "$as_me: failed program was:" >&5
8721 sed 's/^/| /' conftest.$ac_ext >&5
8723 ac_cv_lib_m_asinh=no
8725 rm -f conftest.err conftest.$ac_objext \
8726 conftest$ac_exeext conftest.$ac_ext
8727 LIBS=$ac_check_lib_save_LIBS
8729 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
8730 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
8731 if test $ac_cv_lib_m_asinh = yes; then
8733 cat >>confdefs.h <<\_ACEOF
8734 #define HAVE_ASINH 1
8739 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
8740 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
8741 if test "${ac_cv_lib_m_asinhl+set}" = set; then
8742 echo $ECHO_N "(cached) $ECHO_C" >&6
8744 ac_check_lib_save_LIBS=$LIBS
8746 if test x$gcc_no_link = xyes; then
8747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8749 { (exit 1); exit 1; }; }
8751 cat >conftest.$ac_ext <<_ACEOF
8754 cat confdefs.h >>conftest.$ac_ext
8755 cat >>conftest.$ac_ext <<_ACEOF
8756 /* end confdefs.h. */
8758 /* Override any gcc2 internal prototype to avoid an error. */
8762 /* We use char because int might match the return type of a gcc2
8763 builtin and then its argument prototype would still apply. */
8773 rm -f conftest.$ac_objext conftest$ac_exeext
8774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8775 (eval $ac_link) 2>conftest.er1
8777 grep -v '^ *+' conftest.er1 >conftest.err
8779 cat conftest.err >&5
8780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8781 (exit $ac_status); } &&
8782 { ac_try='test -z "$ac_c_werror_flag"
8783 || test ! -s conftest.err'
8784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8788 (exit $ac_status); }; } &&
8789 { ac_try='test -s conftest$ac_exeext'
8790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8794 (exit $ac_status); }; }; then
8795 ac_cv_lib_m_asinhl=yes
8797 echo "$as_me: failed program was:" >&5
8798 sed 's/^/| /' conftest.$ac_ext >&5
8800 ac_cv_lib_m_asinhl=no
8802 rm -f conftest.err conftest.$ac_objext \
8803 conftest$ac_exeext conftest.$ac_ext
8804 LIBS=$ac_check_lib_save_LIBS
8806 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
8807 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
8808 if test $ac_cv_lib_m_asinhl = yes; then
8810 cat >>confdefs.h <<\_ACEOF
8811 #define HAVE_ASINHL 1
8816 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
8817 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
8818 if test "${ac_cv_lib_m_atan2f+set}" = set; then
8819 echo $ECHO_N "(cached) $ECHO_C" >&6
8821 ac_check_lib_save_LIBS=$LIBS
8823 if test x$gcc_no_link = xyes; then
8824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8826 { (exit 1); exit 1; }; }
8828 cat >conftest.$ac_ext <<_ACEOF
8831 cat confdefs.h >>conftest.$ac_ext
8832 cat >>conftest.$ac_ext <<_ACEOF
8833 /* end confdefs.h. */
8835 /* Override any gcc2 internal prototype to avoid an error. */
8839 /* We use char because int might match the return type of a gcc2
8840 builtin and then its argument prototype would still apply. */
8850 rm -f conftest.$ac_objext conftest$ac_exeext
8851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8852 (eval $ac_link) 2>conftest.er1
8854 grep -v '^ *+' conftest.er1 >conftest.err
8856 cat conftest.err >&5
8857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8858 (exit $ac_status); } &&
8859 { ac_try='test -z "$ac_c_werror_flag"
8860 || test ! -s conftest.err'
8861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8865 (exit $ac_status); }; } &&
8866 { ac_try='test -s conftest$ac_exeext'
8867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8871 (exit $ac_status); }; }; then
8872 ac_cv_lib_m_atan2f=yes
8874 echo "$as_me: failed program was:" >&5
8875 sed 's/^/| /' conftest.$ac_ext >&5
8877 ac_cv_lib_m_atan2f=no
8879 rm -f conftest.err conftest.$ac_objext \
8880 conftest$ac_exeext conftest.$ac_ext
8881 LIBS=$ac_check_lib_save_LIBS
8883 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
8884 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
8885 if test $ac_cv_lib_m_atan2f = yes; then
8887 cat >>confdefs.h <<\_ACEOF
8888 #define HAVE_ATAN2F 1
8893 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
8894 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
8895 if test "${ac_cv_lib_m_atan2+set}" = set; then
8896 echo $ECHO_N "(cached) $ECHO_C" >&6
8898 ac_check_lib_save_LIBS=$LIBS
8900 if test x$gcc_no_link = xyes; then
8901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8903 { (exit 1); exit 1; }; }
8905 cat >conftest.$ac_ext <<_ACEOF
8908 cat confdefs.h >>conftest.$ac_ext
8909 cat >>conftest.$ac_ext <<_ACEOF
8910 /* end confdefs.h. */
8912 /* Override any gcc2 internal prototype to avoid an error. */
8916 /* We use char because int might match the return type of a gcc2
8917 builtin and then its argument prototype would still apply. */
8927 rm -f conftest.$ac_objext conftest$ac_exeext
8928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8929 (eval $ac_link) 2>conftest.er1
8931 grep -v '^ *+' conftest.er1 >conftest.err
8933 cat conftest.err >&5
8934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8935 (exit $ac_status); } &&
8936 { ac_try='test -z "$ac_c_werror_flag"
8937 || test ! -s conftest.err'
8938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8942 (exit $ac_status); }; } &&
8943 { ac_try='test -s conftest$ac_exeext'
8944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8948 (exit $ac_status); }; }; then
8949 ac_cv_lib_m_atan2=yes
8951 echo "$as_me: failed program was:" >&5
8952 sed 's/^/| /' conftest.$ac_ext >&5
8954 ac_cv_lib_m_atan2=no
8956 rm -f conftest.err conftest.$ac_objext \
8957 conftest$ac_exeext conftest.$ac_ext
8958 LIBS=$ac_check_lib_save_LIBS
8960 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
8961 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
8962 if test $ac_cv_lib_m_atan2 = yes; then
8964 cat >>confdefs.h <<\_ACEOF
8965 #define HAVE_ATAN2 1
8970 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
8971 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
8972 if test "${ac_cv_lib_m_atan2l+set}" = set; then
8973 echo $ECHO_N "(cached) $ECHO_C" >&6
8975 ac_check_lib_save_LIBS=$LIBS
8977 if test x$gcc_no_link = xyes; then
8978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8980 { (exit 1); exit 1; }; }
8982 cat >conftest.$ac_ext <<_ACEOF
8985 cat confdefs.h >>conftest.$ac_ext
8986 cat >>conftest.$ac_ext <<_ACEOF
8987 /* end confdefs.h. */
8989 /* Override any gcc2 internal prototype to avoid an error. */
8993 /* We use char because int might match the return type of a gcc2
8994 builtin and then its argument prototype would still apply. */
9004 rm -f conftest.$ac_objext conftest$ac_exeext
9005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9006 (eval $ac_link) 2>conftest.er1
9008 grep -v '^ *+' conftest.er1 >conftest.err
9010 cat conftest.err >&5
9011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9012 (exit $ac_status); } &&
9013 { ac_try='test -z "$ac_c_werror_flag"
9014 || test ! -s conftest.err'
9015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9019 (exit $ac_status); }; } &&
9020 { ac_try='test -s conftest$ac_exeext'
9021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9025 (exit $ac_status); }; }; then
9026 ac_cv_lib_m_atan2l=yes
9028 echo "$as_me: failed program was:" >&5
9029 sed 's/^/| /' conftest.$ac_ext >&5
9031 ac_cv_lib_m_atan2l=no
9033 rm -f conftest.err conftest.$ac_objext \
9034 conftest$ac_exeext conftest.$ac_ext
9035 LIBS=$ac_check_lib_save_LIBS
9037 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
9038 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
9039 if test $ac_cv_lib_m_atan2l = yes; then
9041 cat >>confdefs.h <<\_ACEOF
9042 #define HAVE_ATAN2L 1
9047 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
9048 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
9049 if test "${ac_cv_lib_m_atanf+set}" = set; then
9050 echo $ECHO_N "(cached) $ECHO_C" >&6
9052 ac_check_lib_save_LIBS=$LIBS
9054 if test x$gcc_no_link = xyes; then
9055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9057 { (exit 1); exit 1; }; }
9059 cat >conftest.$ac_ext <<_ACEOF
9062 cat confdefs.h >>conftest.$ac_ext
9063 cat >>conftest.$ac_ext <<_ACEOF
9064 /* end confdefs.h. */
9066 /* Override any gcc2 internal prototype to avoid an error. */
9070 /* We use char because int might match the return type of a gcc2
9071 builtin and then its argument prototype would still apply. */
9081 rm -f conftest.$ac_objext conftest$ac_exeext
9082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9083 (eval $ac_link) 2>conftest.er1
9085 grep -v '^ *+' conftest.er1 >conftest.err
9087 cat conftest.err >&5
9088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9089 (exit $ac_status); } &&
9090 { ac_try='test -z "$ac_c_werror_flag"
9091 || test ! -s conftest.err'
9092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9096 (exit $ac_status); }; } &&
9097 { ac_try='test -s conftest$ac_exeext'
9098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9102 (exit $ac_status); }; }; then
9103 ac_cv_lib_m_atanf=yes
9105 echo "$as_me: failed program was:" >&5
9106 sed 's/^/| /' conftest.$ac_ext >&5
9108 ac_cv_lib_m_atanf=no
9110 rm -f conftest.err conftest.$ac_objext \
9111 conftest$ac_exeext conftest.$ac_ext
9112 LIBS=$ac_check_lib_save_LIBS
9114 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
9115 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
9116 if test $ac_cv_lib_m_atanf = yes; then
9118 cat >>confdefs.h <<\_ACEOF
9119 #define HAVE_ATANF 1
9124 echo "$as_me:$LINENO: checking for atan in -lm" >&5
9125 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
9126 if test "${ac_cv_lib_m_atan+set}" = set; then
9127 echo $ECHO_N "(cached) $ECHO_C" >&6
9129 ac_check_lib_save_LIBS=$LIBS
9131 if test x$gcc_no_link = xyes; then
9132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9134 { (exit 1); exit 1; }; }
9136 cat >conftest.$ac_ext <<_ACEOF
9139 cat confdefs.h >>conftest.$ac_ext
9140 cat >>conftest.$ac_ext <<_ACEOF
9141 /* end confdefs.h. */
9143 /* Override any gcc2 internal prototype to avoid an error. */
9147 /* We use char because int might match the return type of a gcc2
9148 builtin and then its argument prototype would still apply. */
9158 rm -f conftest.$ac_objext conftest$ac_exeext
9159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9160 (eval $ac_link) 2>conftest.er1
9162 grep -v '^ *+' conftest.er1 >conftest.err
9164 cat conftest.err >&5
9165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9166 (exit $ac_status); } &&
9167 { ac_try='test -z "$ac_c_werror_flag"
9168 || test ! -s conftest.err'
9169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9173 (exit $ac_status); }; } &&
9174 { ac_try='test -s conftest$ac_exeext'
9175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9179 (exit $ac_status); }; }; then
9180 ac_cv_lib_m_atan=yes
9182 echo "$as_me: failed program was:" >&5
9183 sed 's/^/| /' conftest.$ac_ext >&5
9187 rm -f conftest.err conftest.$ac_objext \
9188 conftest$ac_exeext conftest.$ac_ext
9189 LIBS=$ac_check_lib_save_LIBS
9191 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
9192 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
9193 if test $ac_cv_lib_m_atan = yes; then
9195 cat >>confdefs.h <<\_ACEOF
9201 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
9202 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
9203 if test "${ac_cv_lib_m_atanl+set}" = set; then
9204 echo $ECHO_N "(cached) $ECHO_C" >&6
9206 ac_check_lib_save_LIBS=$LIBS
9208 if test x$gcc_no_link = xyes; then
9209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9211 { (exit 1); exit 1; }; }
9213 cat >conftest.$ac_ext <<_ACEOF
9216 cat confdefs.h >>conftest.$ac_ext
9217 cat >>conftest.$ac_ext <<_ACEOF
9218 /* end confdefs.h. */
9220 /* Override any gcc2 internal prototype to avoid an error. */
9224 /* We use char because int might match the return type of a gcc2
9225 builtin and then its argument prototype would still apply. */
9235 rm -f conftest.$ac_objext conftest$ac_exeext
9236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9237 (eval $ac_link) 2>conftest.er1
9239 grep -v '^ *+' conftest.er1 >conftest.err
9241 cat conftest.err >&5
9242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9243 (exit $ac_status); } &&
9244 { ac_try='test -z "$ac_c_werror_flag"
9245 || test ! -s conftest.err'
9246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9250 (exit $ac_status); }; } &&
9251 { ac_try='test -s conftest$ac_exeext'
9252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9256 (exit $ac_status); }; }; then
9257 ac_cv_lib_m_atanl=yes
9259 echo "$as_me: failed program was:" >&5
9260 sed 's/^/| /' conftest.$ac_ext >&5
9262 ac_cv_lib_m_atanl=no
9264 rm -f conftest.err conftest.$ac_objext \
9265 conftest$ac_exeext conftest.$ac_ext
9266 LIBS=$ac_check_lib_save_LIBS
9268 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
9269 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
9270 if test $ac_cv_lib_m_atanl = yes; then
9272 cat >>confdefs.h <<\_ACEOF
9273 #define HAVE_ATANL 1
9278 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
9279 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
9280 if test "${ac_cv_lib_m_atanhf+set}" = set; then
9281 echo $ECHO_N "(cached) $ECHO_C" >&6
9283 ac_check_lib_save_LIBS=$LIBS
9285 if test x$gcc_no_link = xyes; then
9286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9288 { (exit 1); exit 1; }; }
9290 cat >conftest.$ac_ext <<_ACEOF
9293 cat confdefs.h >>conftest.$ac_ext
9294 cat >>conftest.$ac_ext <<_ACEOF
9295 /* end confdefs.h. */
9297 /* Override any gcc2 internal prototype to avoid an error. */
9301 /* We use char because int might match the return type of a gcc2
9302 builtin and then its argument prototype would still apply. */
9312 rm -f conftest.$ac_objext conftest$ac_exeext
9313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9314 (eval $ac_link) 2>conftest.er1
9316 grep -v '^ *+' conftest.er1 >conftest.err
9318 cat conftest.err >&5
9319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9320 (exit $ac_status); } &&
9321 { ac_try='test -z "$ac_c_werror_flag"
9322 || test ! -s conftest.err'
9323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9327 (exit $ac_status); }; } &&
9328 { ac_try='test -s conftest$ac_exeext'
9329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9333 (exit $ac_status); }; }; then
9334 ac_cv_lib_m_atanhf=yes
9336 echo "$as_me: failed program was:" >&5
9337 sed 's/^/| /' conftest.$ac_ext >&5
9339 ac_cv_lib_m_atanhf=no
9341 rm -f conftest.err conftest.$ac_objext \
9342 conftest$ac_exeext conftest.$ac_ext
9343 LIBS=$ac_check_lib_save_LIBS
9345 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
9346 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
9347 if test $ac_cv_lib_m_atanhf = yes; then
9349 cat >>confdefs.h <<\_ACEOF
9350 #define HAVE_ATANHF 1
9355 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
9356 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
9357 if test "${ac_cv_lib_m_atanh+set}" = set; then
9358 echo $ECHO_N "(cached) $ECHO_C" >&6
9360 ac_check_lib_save_LIBS=$LIBS
9362 if test x$gcc_no_link = xyes; then
9363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9365 { (exit 1); exit 1; }; }
9367 cat >conftest.$ac_ext <<_ACEOF
9370 cat confdefs.h >>conftest.$ac_ext
9371 cat >>conftest.$ac_ext <<_ACEOF
9372 /* end confdefs.h. */
9374 /* Override any gcc2 internal prototype to avoid an error. */
9378 /* We use char because int might match the return type of a gcc2
9379 builtin and then its argument prototype would still apply. */
9389 rm -f conftest.$ac_objext conftest$ac_exeext
9390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9391 (eval $ac_link) 2>conftest.er1
9393 grep -v '^ *+' conftest.er1 >conftest.err
9395 cat conftest.err >&5
9396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9397 (exit $ac_status); } &&
9398 { ac_try='test -z "$ac_c_werror_flag"
9399 || test ! -s conftest.err'
9400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9404 (exit $ac_status); }; } &&
9405 { ac_try='test -s conftest$ac_exeext'
9406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9410 (exit $ac_status); }; }; then
9411 ac_cv_lib_m_atanh=yes
9413 echo "$as_me: failed program was:" >&5
9414 sed 's/^/| /' conftest.$ac_ext >&5
9416 ac_cv_lib_m_atanh=no
9418 rm -f conftest.err conftest.$ac_objext \
9419 conftest$ac_exeext conftest.$ac_ext
9420 LIBS=$ac_check_lib_save_LIBS
9422 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
9423 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
9424 if test $ac_cv_lib_m_atanh = yes; then
9426 cat >>confdefs.h <<\_ACEOF
9427 #define HAVE_ATANH 1
9432 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
9433 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
9434 if test "${ac_cv_lib_m_atanhl+set}" = set; then
9435 echo $ECHO_N "(cached) $ECHO_C" >&6
9437 ac_check_lib_save_LIBS=$LIBS
9439 if test x$gcc_no_link = xyes; then
9440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9442 { (exit 1); exit 1; }; }
9444 cat >conftest.$ac_ext <<_ACEOF
9447 cat confdefs.h >>conftest.$ac_ext
9448 cat >>conftest.$ac_ext <<_ACEOF
9449 /* end confdefs.h. */
9451 /* Override any gcc2 internal prototype to avoid an error. */
9455 /* We use char because int might match the return type of a gcc2
9456 builtin and then its argument prototype would still apply. */
9466 rm -f conftest.$ac_objext conftest$ac_exeext
9467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9468 (eval $ac_link) 2>conftest.er1
9470 grep -v '^ *+' conftest.er1 >conftest.err
9472 cat conftest.err >&5
9473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9474 (exit $ac_status); } &&
9475 { ac_try='test -z "$ac_c_werror_flag"
9476 || test ! -s conftest.err'
9477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9481 (exit $ac_status); }; } &&
9482 { ac_try='test -s conftest$ac_exeext'
9483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9487 (exit $ac_status); }; }; then
9488 ac_cv_lib_m_atanhl=yes
9490 echo "$as_me: failed program was:" >&5
9491 sed 's/^/| /' conftest.$ac_ext >&5
9493 ac_cv_lib_m_atanhl=no
9495 rm -f conftest.err conftest.$ac_objext \
9496 conftest$ac_exeext conftest.$ac_ext
9497 LIBS=$ac_check_lib_save_LIBS
9499 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
9500 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
9501 if test $ac_cv_lib_m_atanhl = yes; then
9503 cat >>confdefs.h <<\_ACEOF
9504 #define HAVE_ATANHL 1
9509 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
9510 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
9511 if test "${ac_cv_lib_m_cargf+set}" = set; then
9512 echo $ECHO_N "(cached) $ECHO_C" >&6
9514 ac_check_lib_save_LIBS=$LIBS
9516 if test x$gcc_no_link = xyes; then
9517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9519 { (exit 1); exit 1; }; }
9521 cat >conftest.$ac_ext <<_ACEOF
9524 cat confdefs.h >>conftest.$ac_ext
9525 cat >>conftest.$ac_ext <<_ACEOF
9526 /* end confdefs.h. */
9528 /* Override any gcc2 internal prototype to avoid an error. */
9532 /* We use char because int might match the return type of a gcc2
9533 builtin and then its argument prototype would still apply. */
9543 rm -f conftest.$ac_objext conftest$ac_exeext
9544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9545 (eval $ac_link) 2>conftest.er1
9547 grep -v '^ *+' conftest.er1 >conftest.err
9549 cat conftest.err >&5
9550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9551 (exit $ac_status); } &&
9552 { ac_try='test -z "$ac_c_werror_flag"
9553 || test ! -s conftest.err'
9554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9558 (exit $ac_status); }; } &&
9559 { ac_try='test -s conftest$ac_exeext'
9560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9564 (exit $ac_status); }; }; then
9565 ac_cv_lib_m_cargf=yes
9567 echo "$as_me: failed program was:" >&5
9568 sed 's/^/| /' conftest.$ac_ext >&5
9570 ac_cv_lib_m_cargf=no
9572 rm -f conftest.err conftest.$ac_objext \
9573 conftest$ac_exeext conftest.$ac_ext
9574 LIBS=$ac_check_lib_save_LIBS
9576 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
9577 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
9578 if test $ac_cv_lib_m_cargf = yes; then
9580 cat >>confdefs.h <<\_ACEOF
9581 #define HAVE_CARGF 1
9586 echo "$as_me:$LINENO: checking for carg in -lm" >&5
9587 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
9588 if test "${ac_cv_lib_m_carg+set}" = set; then
9589 echo $ECHO_N "(cached) $ECHO_C" >&6
9591 ac_check_lib_save_LIBS=$LIBS
9593 if test x$gcc_no_link = xyes; then
9594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9596 { (exit 1); exit 1; }; }
9598 cat >conftest.$ac_ext <<_ACEOF
9601 cat confdefs.h >>conftest.$ac_ext
9602 cat >>conftest.$ac_ext <<_ACEOF
9603 /* end confdefs.h. */
9605 /* Override any gcc2 internal prototype to avoid an error. */
9609 /* We use char because int might match the return type of a gcc2
9610 builtin and then its argument prototype would still apply. */
9620 rm -f conftest.$ac_objext conftest$ac_exeext
9621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9622 (eval $ac_link) 2>conftest.er1
9624 grep -v '^ *+' conftest.er1 >conftest.err
9626 cat conftest.err >&5
9627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9628 (exit $ac_status); } &&
9629 { ac_try='test -z "$ac_c_werror_flag"
9630 || test ! -s conftest.err'
9631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9635 (exit $ac_status); }; } &&
9636 { ac_try='test -s conftest$ac_exeext'
9637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9641 (exit $ac_status); }; }; then
9642 ac_cv_lib_m_carg=yes
9644 echo "$as_me: failed program was:" >&5
9645 sed 's/^/| /' conftest.$ac_ext >&5
9649 rm -f conftest.err conftest.$ac_objext \
9650 conftest$ac_exeext conftest.$ac_ext
9651 LIBS=$ac_check_lib_save_LIBS
9653 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
9654 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
9655 if test $ac_cv_lib_m_carg = yes; then
9657 cat >>confdefs.h <<\_ACEOF
9663 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
9664 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
9665 if test "${ac_cv_lib_m_cargl+set}" = set; then
9666 echo $ECHO_N "(cached) $ECHO_C" >&6
9668 ac_check_lib_save_LIBS=$LIBS
9670 if test x$gcc_no_link = xyes; then
9671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9673 { (exit 1); exit 1; }; }
9675 cat >conftest.$ac_ext <<_ACEOF
9678 cat confdefs.h >>conftest.$ac_ext
9679 cat >>conftest.$ac_ext <<_ACEOF
9680 /* end confdefs.h. */
9682 /* Override any gcc2 internal prototype to avoid an error. */
9686 /* We use char because int might match the return type of a gcc2
9687 builtin and then its argument prototype would still apply. */
9697 rm -f conftest.$ac_objext conftest$ac_exeext
9698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9699 (eval $ac_link) 2>conftest.er1
9701 grep -v '^ *+' conftest.er1 >conftest.err
9703 cat conftest.err >&5
9704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9705 (exit $ac_status); } &&
9706 { ac_try='test -z "$ac_c_werror_flag"
9707 || test ! -s conftest.err'
9708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9712 (exit $ac_status); }; } &&
9713 { ac_try='test -s conftest$ac_exeext'
9714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9718 (exit $ac_status); }; }; then
9719 ac_cv_lib_m_cargl=yes
9721 echo "$as_me: failed program was:" >&5
9722 sed 's/^/| /' conftest.$ac_ext >&5
9724 ac_cv_lib_m_cargl=no
9726 rm -f conftest.err conftest.$ac_objext \
9727 conftest$ac_exeext conftest.$ac_ext
9728 LIBS=$ac_check_lib_save_LIBS
9730 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
9731 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
9732 if test $ac_cv_lib_m_cargl = yes; then
9734 cat >>confdefs.h <<\_ACEOF
9735 #define HAVE_CARGL 1
9740 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
9741 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
9742 if test "${ac_cv_lib_m_ceilf+set}" = set; then
9743 echo $ECHO_N "(cached) $ECHO_C" >&6
9745 ac_check_lib_save_LIBS=$LIBS
9747 if test x$gcc_no_link = xyes; then
9748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9750 { (exit 1); exit 1; }; }
9752 cat >conftest.$ac_ext <<_ACEOF
9755 cat confdefs.h >>conftest.$ac_ext
9756 cat >>conftest.$ac_ext <<_ACEOF
9757 /* end confdefs.h. */
9759 /* Override any gcc2 internal prototype to avoid an error. */
9763 /* We use char because int might match the return type of a gcc2
9764 builtin and then its argument prototype would still apply. */
9774 rm -f conftest.$ac_objext conftest$ac_exeext
9775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9776 (eval $ac_link) 2>conftest.er1
9778 grep -v '^ *+' conftest.er1 >conftest.err
9780 cat conftest.err >&5
9781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9782 (exit $ac_status); } &&
9783 { ac_try='test -z "$ac_c_werror_flag"
9784 || test ! -s conftest.err'
9785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9789 (exit $ac_status); }; } &&
9790 { ac_try='test -s conftest$ac_exeext'
9791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9795 (exit $ac_status); }; }; then
9796 ac_cv_lib_m_ceilf=yes
9798 echo "$as_me: failed program was:" >&5
9799 sed 's/^/| /' conftest.$ac_ext >&5
9801 ac_cv_lib_m_ceilf=no
9803 rm -f conftest.err conftest.$ac_objext \
9804 conftest$ac_exeext conftest.$ac_ext
9805 LIBS=$ac_check_lib_save_LIBS
9807 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
9808 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
9809 if test $ac_cv_lib_m_ceilf = yes; then
9811 cat >>confdefs.h <<\_ACEOF
9812 #define HAVE_CEILF 1
9817 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
9818 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
9819 if test "${ac_cv_lib_m_ceil+set}" = set; then
9820 echo $ECHO_N "(cached) $ECHO_C" >&6
9822 ac_check_lib_save_LIBS=$LIBS
9824 if test x$gcc_no_link = xyes; then
9825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9827 { (exit 1); exit 1; }; }
9829 cat >conftest.$ac_ext <<_ACEOF
9832 cat confdefs.h >>conftest.$ac_ext
9833 cat >>conftest.$ac_ext <<_ACEOF
9834 /* end confdefs.h. */
9836 /* Override any gcc2 internal prototype to avoid an error. */
9840 /* We use char because int might match the return type of a gcc2
9841 builtin and then its argument prototype would still apply. */
9851 rm -f conftest.$ac_objext conftest$ac_exeext
9852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9853 (eval $ac_link) 2>conftest.er1
9855 grep -v '^ *+' conftest.er1 >conftest.err
9857 cat conftest.err >&5
9858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9859 (exit $ac_status); } &&
9860 { ac_try='test -z "$ac_c_werror_flag"
9861 || test ! -s conftest.err'
9862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9866 (exit $ac_status); }; } &&
9867 { ac_try='test -s conftest$ac_exeext'
9868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9872 (exit $ac_status); }; }; then
9873 ac_cv_lib_m_ceil=yes
9875 echo "$as_me: failed program was:" >&5
9876 sed 's/^/| /' conftest.$ac_ext >&5
9880 rm -f conftest.err conftest.$ac_objext \
9881 conftest$ac_exeext conftest.$ac_ext
9882 LIBS=$ac_check_lib_save_LIBS
9884 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
9885 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
9886 if test $ac_cv_lib_m_ceil = yes; then
9888 cat >>confdefs.h <<\_ACEOF
9894 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
9895 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
9896 if test "${ac_cv_lib_m_ceill+set}" = set; then
9897 echo $ECHO_N "(cached) $ECHO_C" >&6
9899 ac_check_lib_save_LIBS=$LIBS
9901 if test x$gcc_no_link = xyes; then
9902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9904 { (exit 1); exit 1; }; }
9906 cat >conftest.$ac_ext <<_ACEOF
9909 cat confdefs.h >>conftest.$ac_ext
9910 cat >>conftest.$ac_ext <<_ACEOF
9911 /* end confdefs.h. */
9913 /* Override any gcc2 internal prototype to avoid an error. */
9917 /* We use char because int might match the return type of a gcc2
9918 builtin and then its argument prototype would still apply. */
9928 rm -f conftest.$ac_objext conftest$ac_exeext
9929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9930 (eval $ac_link) 2>conftest.er1
9932 grep -v '^ *+' conftest.er1 >conftest.err
9934 cat conftest.err >&5
9935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9936 (exit $ac_status); } &&
9937 { ac_try='test -z "$ac_c_werror_flag"
9938 || test ! -s conftest.err'
9939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9943 (exit $ac_status); }; } &&
9944 { ac_try='test -s conftest$ac_exeext'
9945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9949 (exit $ac_status); }; }; then
9950 ac_cv_lib_m_ceill=yes
9952 echo "$as_me: failed program was:" >&5
9953 sed 's/^/| /' conftest.$ac_ext >&5
9955 ac_cv_lib_m_ceill=no
9957 rm -f conftest.err conftest.$ac_objext \
9958 conftest$ac_exeext conftest.$ac_ext
9959 LIBS=$ac_check_lib_save_LIBS
9961 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
9962 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
9963 if test $ac_cv_lib_m_ceill = yes; then
9965 cat >>confdefs.h <<\_ACEOF
9966 #define HAVE_CEILL 1
9971 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
9972 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
9973 if test "${ac_cv_lib_m_copysignf+set}" = set; then
9974 echo $ECHO_N "(cached) $ECHO_C" >&6
9976 ac_check_lib_save_LIBS=$LIBS
9978 if test x$gcc_no_link = xyes; then
9979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9981 { (exit 1); exit 1; }; }
9983 cat >conftest.$ac_ext <<_ACEOF
9986 cat confdefs.h >>conftest.$ac_ext
9987 cat >>conftest.$ac_ext <<_ACEOF
9988 /* end confdefs.h. */
9990 /* Override any gcc2 internal prototype to avoid an error. */
9994 /* We use char because int might match the return type of a gcc2
9995 builtin and then its argument prototype would still apply. */
10005 rm -f conftest.$ac_objext conftest$ac_exeext
10006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10007 (eval $ac_link) 2>conftest.er1
10009 grep -v '^ *+' conftest.er1 >conftest.err
10011 cat conftest.err >&5
10012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10013 (exit $ac_status); } &&
10014 { ac_try='test -z "$ac_c_werror_flag"
10015 || test ! -s conftest.err'
10016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10017 (eval $ac_try) 2>&5
10019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10020 (exit $ac_status); }; } &&
10021 { ac_try='test -s conftest$ac_exeext'
10022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10023 (eval $ac_try) 2>&5
10025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10026 (exit $ac_status); }; }; then
10027 ac_cv_lib_m_copysignf=yes
10029 echo "$as_me: failed program was:" >&5
10030 sed 's/^/| /' conftest.$ac_ext >&5
10032 ac_cv_lib_m_copysignf=no
10034 rm -f conftest.err conftest.$ac_objext \
10035 conftest$ac_exeext conftest.$ac_ext
10036 LIBS=$ac_check_lib_save_LIBS
10038 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
10039 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
10040 if test $ac_cv_lib_m_copysignf = yes; then
10042 cat >>confdefs.h <<\_ACEOF
10043 #define HAVE_COPYSIGNF 1
10048 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
10049 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
10050 if test "${ac_cv_lib_m_copysign+set}" = set; then
10051 echo $ECHO_N "(cached) $ECHO_C" >&6
10053 ac_check_lib_save_LIBS=$LIBS
10055 if test x$gcc_no_link = xyes; then
10056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10058 { (exit 1); exit 1; }; }
10060 cat >conftest.$ac_ext <<_ACEOF
10063 cat confdefs.h >>conftest.$ac_ext
10064 cat >>conftest.$ac_ext <<_ACEOF
10065 /* end confdefs.h. */
10067 /* Override any gcc2 internal prototype to avoid an error. */
10071 /* We use char because int might match the return type of a gcc2
10072 builtin and then its argument prototype would still apply. */
10082 rm -f conftest.$ac_objext conftest$ac_exeext
10083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10084 (eval $ac_link) 2>conftest.er1
10086 grep -v '^ *+' conftest.er1 >conftest.err
10088 cat conftest.err >&5
10089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10090 (exit $ac_status); } &&
10091 { ac_try='test -z "$ac_c_werror_flag"
10092 || test ! -s conftest.err'
10093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10094 (eval $ac_try) 2>&5
10096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10097 (exit $ac_status); }; } &&
10098 { ac_try='test -s conftest$ac_exeext'
10099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10100 (eval $ac_try) 2>&5
10102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10103 (exit $ac_status); }; }; then
10104 ac_cv_lib_m_copysign=yes
10106 echo "$as_me: failed program was:" >&5
10107 sed 's/^/| /' conftest.$ac_ext >&5
10109 ac_cv_lib_m_copysign=no
10111 rm -f conftest.err conftest.$ac_objext \
10112 conftest$ac_exeext conftest.$ac_ext
10113 LIBS=$ac_check_lib_save_LIBS
10115 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
10116 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
10117 if test $ac_cv_lib_m_copysign = yes; then
10119 cat >>confdefs.h <<\_ACEOF
10120 #define HAVE_COPYSIGN 1
10125 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
10126 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
10127 if test "${ac_cv_lib_m_copysignl+set}" = set; then
10128 echo $ECHO_N "(cached) $ECHO_C" >&6
10130 ac_check_lib_save_LIBS=$LIBS
10132 if test x$gcc_no_link = xyes; then
10133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10135 { (exit 1); exit 1; }; }
10137 cat >conftest.$ac_ext <<_ACEOF
10140 cat confdefs.h >>conftest.$ac_ext
10141 cat >>conftest.$ac_ext <<_ACEOF
10142 /* end confdefs.h. */
10144 /* Override any gcc2 internal prototype to avoid an error. */
10148 /* We use char because int might match the return type of a gcc2
10149 builtin and then its argument prototype would still apply. */
10159 rm -f conftest.$ac_objext conftest$ac_exeext
10160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10161 (eval $ac_link) 2>conftest.er1
10163 grep -v '^ *+' conftest.er1 >conftest.err
10165 cat conftest.err >&5
10166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10167 (exit $ac_status); } &&
10168 { ac_try='test -z "$ac_c_werror_flag"
10169 || test ! -s conftest.err'
10170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10171 (eval $ac_try) 2>&5
10173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10174 (exit $ac_status); }; } &&
10175 { ac_try='test -s conftest$ac_exeext'
10176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10177 (eval $ac_try) 2>&5
10179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10180 (exit $ac_status); }; }; then
10181 ac_cv_lib_m_copysignl=yes
10183 echo "$as_me: failed program was:" >&5
10184 sed 's/^/| /' conftest.$ac_ext >&5
10186 ac_cv_lib_m_copysignl=no
10188 rm -f conftest.err conftest.$ac_objext \
10189 conftest$ac_exeext conftest.$ac_ext
10190 LIBS=$ac_check_lib_save_LIBS
10192 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
10193 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
10194 if test $ac_cv_lib_m_copysignl = yes; then
10196 cat >>confdefs.h <<\_ACEOF
10197 #define HAVE_COPYSIGNL 1
10202 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
10203 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
10204 if test "${ac_cv_lib_m_cosf+set}" = set; then
10205 echo $ECHO_N "(cached) $ECHO_C" >&6
10207 ac_check_lib_save_LIBS=$LIBS
10209 if test x$gcc_no_link = xyes; then
10210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10212 { (exit 1); exit 1; }; }
10214 cat >conftest.$ac_ext <<_ACEOF
10217 cat confdefs.h >>conftest.$ac_ext
10218 cat >>conftest.$ac_ext <<_ACEOF
10219 /* end confdefs.h. */
10221 /* Override any gcc2 internal prototype to avoid an error. */
10225 /* We use char because int might match the return type of a gcc2
10226 builtin and then its argument prototype would still apply. */
10236 rm -f conftest.$ac_objext conftest$ac_exeext
10237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10238 (eval $ac_link) 2>conftest.er1
10240 grep -v '^ *+' conftest.er1 >conftest.err
10242 cat conftest.err >&5
10243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10244 (exit $ac_status); } &&
10245 { ac_try='test -z "$ac_c_werror_flag"
10246 || test ! -s conftest.err'
10247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10248 (eval $ac_try) 2>&5
10250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10251 (exit $ac_status); }; } &&
10252 { ac_try='test -s conftest$ac_exeext'
10253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10254 (eval $ac_try) 2>&5
10256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10257 (exit $ac_status); }; }; then
10258 ac_cv_lib_m_cosf=yes
10260 echo "$as_me: failed program was:" >&5
10261 sed 's/^/| /' conftest.$ac_ext >&5
10263 ac_cv_lib_m_cosf=no
10265 rm -f conftest.err conftest.$ac_objext \
10266 conftest$ac_exeext conftest.$ac_ext
10267 LIBS=$ac_check_lib_save_LIBS
10269 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
10270 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
10271 if test $ac_cv_lib_m_cosf = yes; then
10273 cat >>confdefs.h <<\_ACEOF
10274 #define HAVE_COSF 1
10279 echo "$as_me:$LINENO: checking for cos in -lm" >&5
10280 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
10281 if test "${ac_cv_lib_m_cos+set}" = set; then
10282 echo $ECHO_N "(cached) $ECHO_C" >&6
10284 ac_check_lib_save_LIBS=$LIBS
10286 if test x$gcc_no_link = xyes; then
10287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10289 { (exit 1); exit 1; }; }
10291 cat >conftest.$ac_ext <<_ACEOF
10294 cat confdefs.h >>conftest.$ac_ext
10295 cat >>conftest.$ac_ext <<_ACEOF
10296 /* end confdefs.h. */
10298 /* Override any gcc2 internal prototype to avoid an error. */
10302 /* We use char because int might match the return type of a gcc2
10303 builtin and then its argument prototype would still apply. */
10313 rm -f conftest.$ac_objext conftest$ac_exeext
10314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10315 (eval $ac_link) 2>conftest.er1
10317 grep -v '^ *+' conftest.er1 >conftest.err
10319 cat conftest.err >&5
10320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10321 (exit $ac_status); } &&
10322 { ac_try='test -z "$ac_c_werror_flag"
10323 || test ! -s conftest.err'
10324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10325 (eval $ac_try) 2>&5
10327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10328 (exit $ac_status); }; } &&
10329 { ac_try='test -s conftest$ac_exeext'
10330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10331 (eval $ac_try) 2>&5
10333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10334 (exit $ac_status); }; }; then
10335 ac_cv_lib_m_cos=yes
10337 echo "$as_me: failed program was:" >&5
10338 sed 's/^/| /' conftest.$ac_ext >&5
10342 rm -f conftest.err conftest.$ac_objext \
10343 conftest$ac_exeext conftest.$ac_ext
10344 LIBS=$ac_check_lib_save_LIBS
10346 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
10347 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
10348 if test $ac_cv_lib_m_cos = yes; then
10350 cat >>confdefs.h <<\_ACEOF
10356 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
10357 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
10358 if test "${ac_cv_lib_m_cosl+set}" = set; then
10359 echo $ECHO_N "(cached) $ECHO_C" >&6
10361 ac_check_lib_save_LIBS=$LIBS
10363 if test x$gcc_no_link = xyes; then
10364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10366 { (exit 1); exit 1; }; }
10368 cat >conftest.$ac_ext <<_ACEOF
10371 cat confdefs.h >>conftest.$ac_ext
10372 cat >>conftest.$ac_ext <<_ACEOF
10373 /* end confdefs.h. */
10375 /* Override any gcc2 internal prototype to avoid an error. */
10379 /* We use char because int might match the return type of a gcc2
10380 builtin and then its argument prototype would still apply. */
10390 rm -f conftest.$ac_objext conftest$ac_exeext
10391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10392 (eval $ac_link) 2>conftest.er1
10394 grep -v '^ *+' conftest.er1 >conftest.err
10396 cat conftest.err >&5
10397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10398 (exit $ac_status); } &&
10399 { ac_try='test -z "$ac_c_werror_flag"
10400 || test ! -s conftest.err'
10401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10402 (eval $ac_try) 2>&5
10404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10405 (exit $ac_status); }; } &&
10406 { ac_try='test -s conftest$ac_exeext'
10407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10408 (eval $ac_try) 2>&5
10410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10411 (exit $ac_status); }; }; then
10412 ac_cv_lib_m_cosl=yes
10414 echo "$as_me: failed program was:" >&5
10415 sed 's/^/| /' conftest.$ac_ext >&5
10417 ac_cv_lib_m_cosl=no
10419 rm -f conftest.err conftest.$ac_objext \
10420 conftest$ac_exeext conftest.$ac_ext
10421 LIBS=$ac_check_lib_save_LIBS
10423 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
10424 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
10425 if test $ac_cv_lib_m_cosl = yes; then
10427 cat >>confdefs.h <<\_ACEOF
10428 #define HAVE_COSL 1
10433 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
10434 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
10435 if test "${ac_cv_lib_m_ccosf+set}" = set; then
10436 echo $ECHO_N "(cached) $ECHO_C" >&6
10438 ac_check_lib_save_LIBS=$LIBS
10440 if test x$gcc_no_link = xyes; then
10441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10443 { (exit 1); exit 1; }; }
10445 cat >conftest.$ac_ext <<_ACEOF
10448 cat confdefs.h >>conftest.$ac_ext
10449 cat >>conftest.$ac_ext <<_ACEOF
10450 /* end confdefs.h. */
10452 /* Override any gcc2 internal prototype to avoid an error. */
10456 /* We use char because int might match the return type of a gcc2
10457 builtin and then its argument prototype would still apply. */
10467 rm -f conftest.$ac_objext conftest$ac_exeext
10468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10469 (eval $ac_link) 2>conftest.er1
10471 grep -v '^ *+' conftest.er1 >conftest.err
10473 cat conftest.err >&5
10474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10475 (exit $ac_status); } &&
10476 { ac_try='test -z "$ac_c_werror_flag"
10477 || test ! -s conftest.err'
10478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10479 (eval $ac_try) 2>&5
10481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10482 (exit $ac_status); }; } &&
10483 { ac_try='test -s conftest$ac_exeext'
10484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10485 (eval $ac_try) 2>&5
10487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10488 (exit $ac_status); }; }; then
10489 ac_cv_lib_m_ccosf=yes
10491 echo "$as_me: failed program was:" >&5
10492 sed 's/^/| /' conftest.$ac_ext >&5
10494 ac_cv_lib_m_ccosf=no
10496 rm -f conftest.err conftest.$ac_objext \
10497 conftest$ac_exeext conftest.$ac_ext
10498 LIBS=$ac_check_lib_save_LIBS
10500 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
10501 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
10502 if test $ac_cv_lib_m_ccosf = yes; then
10504 cat >>confdefs.h <<\_ACEOF
10505 #define HAVE_CCOSF 1
10510 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
10511 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
10512 if test "${ac_cv_lib_m_ccos+set}" = set; then
10513 echo $ECHO_N "(cached) $ECHO_C" >&6
10515 ac_check_lib_save_LIBS=$LIBS
10517 if test x$gcc_no_link = xyes; then
10518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10520 { (exit 1); exit 1; }; }
10522 cat >conftest.$ac_ext <<_ACEOF
10525 cat confdefs.h >>conftest.$ac_ext
10526 cat >>conftest.$ac_ext <<_ACEOF
10527 /* end confdefs.h. */
10529 /* Override any gcc2 internal prototype to avoid an error. */
10533 /* We use char because int might match the return type of a gcc2
10534 builtin and then its argument prototype would still apply. */
10544 rm -f conftest.$ac_objext conftest$ac_exeext
10545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10546 (eval $ac_link) 2>conftest.er1
10548 grep -v '^ *+' conftest.er1 >conftest.err
10550 cat conftest.err >&5
10551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10552 (exit $ac_status); } &&
10553 { ac_try='test -z "$ac_c_werror_flag"
10554 || test ! -s conftest.err'
10555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10556 (eval $ac_try) 2>&5
10558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10559 (exit $ac_status); }; } &&
10560 { ac_try='test -s conftest$ac_exeext'
10561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10562 (eval $ac_try) 2>&5
10564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10565 (exit $ac_status); }; }; then
10566 ac_cv_lib_m_ccos=yes
10568 echo "$as_me: failed program was:" >&5
10569 sed 's/^/| /' conftest.$ac_ext >&5
10571 ac_cv_lib_m_ccos=no
10573 rm -f conftest.err conftest.$ac_objext \
10574 conftest$ac_exeext conftest.$ac_ext
10575 LIBS=$ac_check_lib_save_LIBS
10577 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
10578 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
10579 if test $ac_cv_lib_m_ccos = yes; then
10581 cat >>confdefs.h <<\_ACEOF
10582 #define HAVE_CCOS 1
10587 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
10588 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
10589 if test "${ac_cv_lib_m_ccosl+set}" = set; then
10590 echo $ECHO_N "(cached) $ECHO_C" >&6
10592 ac_check_lib_save_LIBS=$LIBS
10594 if test x$gcc_no_link = xyes; then
10595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10597 { (exit 1); exit 1; }; }
10599 cat >conftest.$ac_ext <<_ACEOF
10602 cat confdefs.h >>conftest.$ac_ext
10603 cat >>conftest.$ac_ext <<_ACEOF
10604 /* end confdefs.h. */
10606 /* Override any gcc2 internal prototype to avoid an error. */
10610 /* We use char because int might match the return type of a gcc2
10611 builtin and then its argument prototype would still apply. */
10621 rm -f conftest.$ac_objext conftest$ac_exeext
10622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10623 (eval $ac_link) 2>conftest.er1
10625 grep -v '^ *+' conftest.er1 >conftest.err
10627 cat conftest.err >&5
10628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10629 (exit $ac_status); } &&
10630 { ac_try='test -z "$ac_c_werror_flag"
10631 || test ! -s conftest.err'
10632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10633 (eval $ac_try) 2>&5
10635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636 (exit $ac_status); }; } &&
10637 { ac_try='test -s conftest$ac_exeext'
10638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10639 (eval $ac_try) 2>&5
10641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10642 (exit $ac_status); }; }; then
10643 ac_cv_lib_m_ccosl=yes
10645 echo "$as_me: failed program was:" >&5
10646 sed 's/^/| /' conftest.$ac_ext >&5
10648 ac_cv_lib_m_ccosl=no
10650 rm -f conftest.err conftest.$ac_objext \
10651 conftest$ac_exeext conftest.$ac_ext
10652 LIBS=$ac_check_lib_save_LIBS
10654 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
10655 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
10656 if test $ac_cv_lib_m_ccosl = yes; then
10658 cat >>confdefs.h <<\_ACEOF
10659 #define HAVE_CCOSL 1
10664 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
10665 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
10666 if test "${ac_cv_lib_m_coshf+set}" = set; then
10667 echo $ECHO_N "(cached) $ECHO_C" >&6
10669 ac_check_lib_save_LIBS=$LIBS
10671 if test x$gcc_no_link = xyes; then
10672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10674 { (exit 1); exit 1; }; }
10676 cat >conftest.$ac_ext <<_ACEOF
10679 cat confdefs.h >>conftest.$ac_ext
10680 cat >>conftest.$ac_ext <<_ACEOF
10681 /* end confdefs.h. */
10683 /* Override any gcc2 internal prototype to avoid an error. */
10687 /* We use char because int might match the return type of a gcc2
10688 builtin and then its argument prototype would still apply. */
10698 rm -f conftest.$ac_objext conftest$ac_exeext
10699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10700 (eval $ac_link) 2>conftest.er1
10702 grep -v '^ *+' conftest.er1 >conftest.err
10704 cat conftest.err >&5
10705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10706 (exit $ac_status); } &&
10707 { ac_try='test -z "$ac_c_werror_flag"
10708 || test ! -s conftest.err'
10709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10710 (eval $ac_try) 2>&5
10712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713 (exit $ac_status); }; } &&
10714 { ac_try='test -s conftest$ac_exeext'
10715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10716 (eval $ac_try) 2>&5
10718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10719 (exit $ac_status); }; }; then
10720 ac_cv_lib_m_coshf=yes
10722 echo "$as_me: failed program was:" >&5
10723 sed 's/^/| /' conftest.$ac_ext >&5
10725 ac_cv_lib_m_coshf=no
10727 rm -f conftest.err conftest.$ac_objext \
10728 conftest$ac_exeext conftest.$ac_ext
10729 LIBS=$ac_check_lib_save_LIBS
10731 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
10732 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
10733 if test $ac_cv_lib_m_coshf = yes; then
10735 cat >>confdefs.h <<\_ACEOF
10736 #define HAVE_COSHF 1
10741 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
10742 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
10743 if test "${ac_cv_lib_m_cosh+set}" = set; then
10744 echo $ECHO_N "(cached) $ECHO_C" >&6
10746 ac_check_lib_save_LIBS=$LIBS
10748 if test x$gcc_no_link = xyes; then
10749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10751 { (exit 1); exit 1; }; }
10753 cat >conftest.$ac_ext <<_ACEOF
10756 cat confdefs.h >>conftest.$ac_ext
10757 cat >>conftest.$ac_ext <<_ACEOF
10758 /* end confdefs.h. */
10760 /* Override any gcc2 internal prototype to avoid an error. */
10764 /* We use char because int might match the return type of a gcc2
10765 builtin and then its argument prototype would still apply. */
10775 rm -f conftest.$ac_objext conftest$ac_exeext
10776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10777 (eval $ac_link) 2>conftest.er1
10779 grep -v '^ *+' conftest.er1 >conftest.err
10781 cat conftest.err >&5
10782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10783 (exit $ac_status); } &&
10784 { ac_try='test -z "$ac_c_werror_flag"
10785 || test ! -s conftest.err'
10786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10787 (eval $ac_try) 2>&5
10789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10790 (exit $ac_status); }; } &&
10791 { ac_try='test -s conftest$ac_exeext'
10792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10793 (eval $ac_try) 2>&5
10795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10796 (exit $ac_status); }; }; then
10797 ac_cv_lib_m_cosh=yes
10799 echo "$as_me: failed program was:" >&5
10800 sed 's/^/| /' conftest.$ac_ext >&5
10802 ac_cv_lib_m_cosh=no
10804 rm -f conftest.err conftest.$ac_objext \
10805 conftest$ac_exeext conftest.$ac_ext
10806 LIBS=$ac_check_lib_save_LIBS
10808 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
10809 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
10810 if test $ac_cv_lib_m_cosh = yes; then
10812 cat >>confdefs.h <<\_ACEOF
10813 #define HAVE_COSH 1
10818 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
10819 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
10820 if test "${ac_cv_lib_m_coshl+set}" = set; then
10821 echo $ECHO_N "(cached) $ECHO_C" >&6
10823 ac_check_lib_save_LIBS=$LIBS
10825 if test x$gcc_no_link = xyes; then
10826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10828 { (exit 1); exit 1; }; }
10830 cat >conftest.$ac_ext <<_ACEOF
10833 cat confdefs.h >>conftest.$ac_ext
10834 cat >>conftest.$ac_ext <<_ACEOF
10835 /* end confdefs.h. */
10837 /* Override any gcc2 internal prototype to avoid an error. */
10841 /* We use char because int might match the return type of a gcc2
10842 builtin and then its argument prototype would still apply. */
10852 rm -f conftest.$ac_objext conftest$ac_exeext
10853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10854 (eval $ac_link) 2>conftest.er1
10856 grep -v '^ *+' conftest.er1 >conftest.err
10858 cat conftest.err >&5
10859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860 (exit $ac_status); } &&
10861 { ac_try='test -z "$ac_c_werror_flag"
10862 || test ! -s conftest.err'
10863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10864 (eval $ac_try) 2>&5
10866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10867 (exit $ac_status); }; } &&
10868 { ac_try='test -s conftest$ac_exeext'
10869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10870 (eval $ac_try) 2>&5
10872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10873 (exit $ac_status); }; }; then
10874 ac_cv_lib_m_coshl=yes
10876 echo "$as_me: failed program was:" >&5
10877 sed 's/^/| /' conftest.$ac_ext >&5
10879 ac_cv_lib_m_coshl=no
10881 rm -f conftest.err conftest.$ac_objext \
10882 conftest$ac_exeext conftest.$ac_ext
10883 LIBS=$ac_check_lib_save_LIBS
10885 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
10886 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
10887 if test $ac_cv_lib_m_coshl = yes; then
10889 cat >>confdefs.h <<\_ACEOF
10890 #define HAVE_COSHL 1
10895 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
10896 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
10897 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
10898 echo $ECHO_N "(cached) $ECHO_C" >&6
10900 ac_check_lib_save_LIBS=$LIBS
10902 if test x$gcc_no_link = xyes; then
10903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10905 { (exit 1); exit 1; }; }
10907 cat >conftest.$ac_ext <<_ACEOF
10910 cat confdefs.h >>conftest.$ac_ext
10911 cat >>conftest.$ac_ext <<_ACEOF
10912 /* end confdefs.h. */
10914 /* Override any gcc2 internal prototype to avoid an error. */
10918 /* We use char because int might match the return type of a gcc2
10919 builtin and then its argument prototype would still apply. */
10929 rm -f conftest.$ac_objext conftest$ac_exeext
10930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10931 (eval $ac_link) 2>conftest.er1
10933 grep -v '^ *+' conftest.er1 >conftest.err
10935 cat conftest.err >&5
10936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10937 (exit $ac_status); } &&
10938 { ac_try='test -z "$ac_c_werror_flag"
10939 || test ! -s conftest.err'
10940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10941 (eval $ac_try) 2>&5
10943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10944 (exit $ac_status); }; } &&
10945 { ac_try='test -s conftest$ac_exeext'
10946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10947 (eval $ac_try) 2>&5
10949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10950 (exit $ac_status); }; }; then
10951 ac_cv_lib_m_ccoshf=yes
10953 echo "$as_me: failed program was:" >&5
10954 sed 's/^/| /' conftest.$ac_ext >&5
10956 ac_cv_lib_m_ccoshf=no
10958 rm -f conftest.err conftest.$ac_objext \
10959 conftest$ac_exeext conftest.$ac_ext
10960 LIBS=$ac_check_lib_save_LIBS
10962 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
10963 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
10964 if test $ac_cv_lib_m_ccoshf = yes; then
10966 cat >>confdefs.h <<\_ACEOF
10967 #define HAVE_CCOSHF 1
10972 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
10973 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
10974 if test "${ac_cv_lib_m_ccosh+set}" = set; then
10975 echo $ECHO_N "(cached) $ECHO_C" >&6
10977 ac_check_lib_save_LIBS=$LIBS
10979 if test x$gcc_no_link = xyes; then
10980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10982 { (exit 1); exit 1; }; }
10984 cat >conftest.$ac_ext <<_ACEOF
10987 cat confdefs.h >>conftest.$ac_ext
10988 cat >>conftest.$ac_ext <<_ACEOF
10989 /* end confdefs.h. */
10991 /* Override any gcc2 internal prototype to avoid an error. */
10995 /* We use char because int might match the return type of a gcc2
10996 builtin and then its argument prototype would still apply. */
11006 rm -f conftest.$ac_objext conftest$ac_exeext
11007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11008 (eval $ac_link) 2>conftest.er1
11010 grep -v '^ *+' conftest.er1 >conftest.err
11012 cat conftest.err >&5
11013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11014 (exit $ac_status); } &&
11015 { ac_try='test -z "$ac_c_werror_flag"
11016 || test ! -s conftest.err'
11017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11018 (eval $ac_try) 2>&5
11020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11021 (exit $ac_status); }; } &&
11022 { ac_try='test -s conftest$ac_exeext'
11023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11024 (eval $ac_try) 2>&5
11026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11027 (exit $ac_status); }; }; then
11028 ac_cv_lib_m_ccosh=yes
11030 echo "$as_me: failed program was:" >&5
11031 sed 's/^/| /' conftest.$ac_ext >&5
11033 ac_cv_lib_m_ccosh=no
11035 rm -f conftest.err conftest.$ac_objext \
11036 conftest$ac_exeext conftest.$ac_ext
11037 LIBS=$ac_check_lib_save_LIBS
11039 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
11040 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
11041 if test $ac_cv_lib_m_ccosh = yes; then
11043 cat >>confdefs.h <<\_ACEOF
11044 #define HAVE_CCOSH 1
11049 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
11050 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
11051 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
11052 echo $ECHO_N "(cached) $ECHO_C" >&6
11054 ac_check_lib_save_LIBS=$LIBS
11056 if test x$gcc_no_link = xyes; then
11057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11059 { (exit 1); exit 1; }; }
11061 cat >conftest.$ac_ext <<_ACEOF
11064 cat confdefs.h >>conftest.$ac_ext
11065 cat >>conftest.$ac_ext <<_ACEOF
11066 /* end confdefs.h. */
11068 /* Override any gcc2 internal prototype to avoid an error. */
11072 /* We use char because int might match the return type of a gcc2
11073 builtin and then its argument prototype would still apply. */
11083 rm -f conftest.$ac_objext conftest$ac_exeext
11084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11085 (eval $ac_link) 2>conftest.er1
11087 grep -v '^ *+' conftest.er1 >conftest.err
11089 cat conftest.err >&5
11090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11091 (exit $ac_status); } &&
11092 { ac_try='test -z "$ac_c_werror_flag"
11093 || test ! -s conftest.err'
11094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11095 (eval $ac_try) 2>&5
11097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11098 (exit $ac_status); }; } &&
11099 { ac_try='test -s conftest$ac_exeext'
11100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11101 (eval $ac_try) 2>&5
11103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11104 (exit $ac_status); }; }; then
11105 ac_cv_lib_m_ccoshl=yes
11107 echo "$as_me: failed program was:" >&5
11108 sed 's/^/| /' conftest.$ac_ext >&5
11110 ac_cv_lib_m_ccoshl=no
11112 rm -f conftest.err conftest.$ac_objext \
11113 conftest$ac_exeext conftest.$ac_ext
11114 LIBS=$ac_check_lib_save_LIBS
11116 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
11117 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
11118 if test $ac_cv_lib_m_ccoshl = yes; then
11120 cat >>confdefs.h <<\_ACEOF
11121 #define HAVE_CCOSHL 1
11126 echo "$as_me:$LINENO: checking for expf in -lm" >&5
11127 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
11128 if test "${ac_cv_lib_m_expf+set}" = set; then
11129 echo $ECHO_N "(cached) $ECHO_C" >&6
11131 ac_check_lib_save_LIBS=$LIBS
11133 if test x$gcc_no_link = xyes; then
11134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11136 { (exit 1); exit 1; }; }
11138 cat >conftest.$ac_ext <<_ACEOF
11141 cat confdefs.h >>conftest.$ac_ext
11142 cat >>conftest.$ac_ext <<_ACEOF
11143 /* end confdefs.h. */
11145 /* Override any gcc2 internal prototype to avoid an error. */
11149 /* We use char because int might match the return type of a gcc2
11150 builtin and then its argument prototype would still apply. */
11160 rm -f conftest.$ac_objext conftest$ac_exeext
11161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11162 (eval $ac_link) 2>conftest.er1
11164 grep -v '^ *+' conftest.er1 >conftest.err
11166 cat conftest.err >&5
11167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11168 (exit $ac_status); } &&
11169 { ac_try='test -z "$ac_c_werror_flag"
11170 || test ! -s conftest.err'
11171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11172 (eval $ac_try) 2>&5
11174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11175 (exit $ac_status); }; } &&
11176 { ac_try='test -s conftest$ac_exeext'
11177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11178 (eval $ac_try) 2>&5
11180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11181 (exit $ac_status); }; }; then
11182 ac_cv_lib_m_expf=yes
11184 echo "$as_me: failed program was:" >&5
11185 sed 's/^/| /' conftest.$ac_ext >&5
11187 ac_cv_lib_m_expf=no
11189 rm -f conftest.err conftest.$ac_objext \
11190 conftest$ac_exeext conftest.$ac_ext
11191 LIBS=$ac_check_lib_save_LIBS
11193 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
11194 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
11195 if test $ac_cv_lib_m_expf = yes; then
11197 cat >>confdefs.h <<\_ACEOF
11198 #define HAVE_EXPF 1
11203 echo "$as_me:$LINENO: checking for exp in -lm" >&5
11204 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
11205 if test "${ac_cv_lib_m_exp+set}" = set; then
11206 echo $ECHO_N "(cached) $ECHO_C" >&6
11208 ac_check_lib_save_LIBS=$LIBS
11210 if test x$gcc_no_link = xyes; then
11211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11213 { (exit 1); exit 1; }; }
11215 cat >conftest.$ac_ext <<_ACEOF
11218 cat confdefs.h >>conftest.$ac_ext
11219 cat >>conftest.$ac_ext <<_ACEOF
11220 /* end confdefs.h. */
11222 /* Override any gcc2 internal prototype to avoid an error. */
11226 /* We use char because int might match the return type of a gcc2
11227 builtin and then its argument prototype would still apply. */
11237 rm -f conftest.$ac_objext conftest$ac_exeext
11238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11239 (eval $ac_link) 2>conftest.er1
11241 grep -v '^ *+' conftest.er1 >conftest.err
11243 cat conftest.err >&5
11244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11245 (exit $ac_status); } &&
11246 { ac_try='test -z "$ac_c_werror_flag"
11247 || test ! -s conftest.err'
11248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11249 (eval $ac_try) 2>&5
11251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11252 (exit $ac_status); }; } &&
11253 { ac_try='test -s conftest$ac_exeext'
11254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11255 (eval $ac_try) 2>&5
11257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11258 (exit $ac_status); }; }; then
11259 ac_cv_lib_m_exp=yes
11261 echo "$as_me: failed program was:" >&5
11262 sed 's/^/| /' conftest.$ac_ext >&5
11266 rm -f conftest.err conftest.$ac_objext \
11267 conftest$ac_exeext conftest.$ac_ext
11268 LIBS=$ac_check_lib_save_LIBS
11270 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
11271 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
11272 if test $ac_cv_lib_m_exp = yes; then
11274 cat >>confdefs.h <<\_ACEOF
11280 echo "$as_me:$LINENO: checking for expl in -lm" >&5
11281 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
11282 if test "${ac_cv_lib_m_expl+set}" = set; then
11283 echo $ECHO_N "(cached) $ECHO_C" >&6
11285 ac_check_lib_save_LIBS=$LIBS
11287 if test x$gcc_no_link = xyes; then
11288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11290 { (exit 1); exit 1; }; }
11292 cat >conftest.$ac_ext <<_ACEOF
11295 cat confdefs.h >>conftest.$ac_ext
11296 cat >>conftest.$ac_ext <<_ACEOF
11297 /* end confdefs.h. */
11299 /* Override any gcc2 internal prototype to avoid an error. */
11303 /* We use char because int might match the return type of a gcc2
11304 builtin and then its argument prototype would still apply. */
11314 rm -f conftest.$ac_objext conftest$ac_exeext
11315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11316 (eval $ac_link) 2>conftest.er1
11318 grep -v '^ *+' conftest.er1 >conftest.err
11320 cat conftest.err >&5
11321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11322 (exit $ac_status); } &&
11323 { ac_try='test -z "$ac_c_werror_flag"
11324 || test ! -s conftest.err'
11325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11326 (eval $ac_try) 2>&5
11328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11329 (exit $ac_status); }; } &&
11330 { ac_try='test -s conftest$ac_exeext'
11331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11332 (eval $ac_try) 2>&5
11334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11335 (exit $ac_status); }; }; then
11336 ac_cv_lib_m_expl=yes
11338 echo "$as_me: failed program was:" >&5
11339 sed 's/^/| /' conftest.$ac_ext >&5
11341 ac_cv_lib_m_expl=no
11343 rm -f conftest.err conftest.$ac_objext \
11344 conftest$ac_exeext conftest.$ac_ext
11345 LIBS=$ac_check_lib_save_LIBS
11347 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
11348 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
11349 if test $ac_cv_lib_m_expl = yes; then
11351 cat >>confdefs.h <<\_ACEOF
11352 #define HAVE_EXPL 1
11357 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
11358 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
11359 if test "${ac_cv_lib_m_cexpf+set}" = set; then
11360 echo $ECHO_N "(cached) $ECHO_C" >&6
11362 ac_check_lib_save_LIBS=$LIBS
11364 if test x$gcc_no_link = xyes; then
11365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11367 { (exit 1); exit 1; }; }
11369 cat >conftest.$ac_ext <<_ACEOF
11372 cat confdefs.h >>conftest.$ac_ext
11373 cat >>conftest.$ac_ext <<_ACEOF
11374 /* end confdefs.h. */
11376 /* Override any gcc2 internal prototype to avoid an error. */
11380 /* We use char because int might match the return type of a gcc2
11381 builtin and then its argument prototype would still apply. */
11391 rm -f conftest.$ac_objext conftest$ac_exeext
11392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11393 (eval $ac_link) 2>conftest.er1
11395 grep -v '^ *+' conftest.er1 >conftest.err
11397 cat conftest.err >&5
11398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11399 (exit $ac_status); } &&
11400 { ac_try='test -z "$ac_c_werror_flag"
11401 || test ! -s conftest.err'
11402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11403 (eval $ac_try) 2>&5
11405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11406 (exit $ac_status); }; } &&
11407 { ac_try='test -s conftest$ac_exeext'
11408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11409 (eval $ac_try) 2>&5
11411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11412 (exit $ac_status); }; }; then
11413 ac_cv_lib_m_cexpf=yes
11415 echo "$as_me: failed program was:" >&5
11416 sed 's/^/| /' conftest.$ac_ext >&5
11418 ac_cv_lib_m_cexpf=no
11420 rm -f conftest.err conftest.$ac_objext \
11421 conftest$ac_exeext conftest.$ac_ext
11422 LIBS=$ac_check_lib_save_LIBS
11424 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
11425 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
11426 if test $ac_cv_lib_m_cexpf = yes; then
11428 cat >>confdefs.h <<\_ACEOF
11429 #define HAVE_CEXPF 1
11434 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
11435 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
11436 if test "${ac_cv_lib_m_cexp+set}" = set; then
11437 echo $ECHO_N "(cached) $ECHO_C" >&6
11439 ac_check_lib_save_LIBS=$LIBS
11441 if test x$gcc_no_link = xyes; then
11442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11444 { (exit 1); exit 1; }; }
11446 cat >conftest.$ac_ext <<_ACEOF
11449 cat confdefs.h >>conftest.$ac_ext
11450 cat >>conftest.$ac_ext <<_ACEOF
11451 /* end confdefs.h. */
11453 /* Override any gcc2 internal prototype to avoid an error. */
11457 /* We use char because int might match the return type of a gcc2
11458 builtin and then its argument prototype would still apply. */
11468 rm -f conftest.$ac_objext conftest$ac_exeext
11469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11470 (eval $ac_link) 2>conftest.er1
11472 grep -v '^ *+' conftest.er1 >conftest.err
11474 cat conftest.err >&5
11475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11476 (exit $ac_status); } &&
11477 { ac_try='test -z "$ac_c_werror_flag"
11478 || test ! -s conftest.err'
11479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11480 (eval $ac_try) 2>&5
11482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11483 (exit $ac_status); }; } &&
11484 { ac_try='test -s conftest$ac_exeext'
11485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11486 (eval $ac_try) 2>&5
11488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11489 (exit $ac_status); }; }; then
11490 ac_cv_lib_m_cexp=yes
11492 echo "$as_me: failed program was:" >&5
11493 sed 's/^/| /' conftest.$ac_ext >&5
11495 ac_cv_lib_m_cexp=no
11497 rm -f conftest.err conftest.$ac_objext \
11498 conftest$ac_exeext conftest.$ac_ext
11499 LIBS=$ac_check_lib_save_LIBS
11501 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
11502 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
11503 if test $ac_cv_lib_m_cexp = yes; then
11505 cat >>confdefs.h <<\_ACEOF
11506 #define HAVE_CEXP 1
11511 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
11512 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
11513 if test "${ac_cv_lib_m_cexpl+set}" = set; then
11514 echo $ECHO_N "(cached) $ECHO_C" >&6
11516 ac_check_lib_save_LIBS=$LIBS
11518 if test x$gcc_no_link = xyes; then
11519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11521 { (exit 1); exit 1; }; }
11523 cat >conftest.$ac_ext <<_ACEOF
11526 cat confdefs.h >>conftest.$ac_ext
11527 cat >>conftest.$ac_ext <<_ACEOF
11528 /* end confdefs.h. */
11530 /* Override any gcc2 internal prototype to avoid an error. */
11534 /* We use char because int might match the return type of a gcc2
11535 builtin and then its argument prototype would still apply. */
11545 rm -f conftest.$ac_objext conftest$ac_exeext
11546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11547 (eval $ac_link) 2>conftest.er1
11549 grep -v '^ *+' conftest.er1 >conftest.err
11551 cat conftest.err >&5
11552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11553 (exit $ac_status); } &&
11554 { ac_try='test -z "$ac_c_werror_flag"
11555 || test ! -s conftest.err'
11556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11557 (eval $ac_try) 2>&5
11559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11560 (exit $ac_status); }; } &&
11561 { ac_try='test -s conftest$ac_exeext'
11562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11563 (eval $ac_try) 2>&5
11565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566 (exit $ac_status); }; }; then
11567 ac_cv_lib_m_cexpl=yes
11569 echo "$as_me: failed program was:" >&5
11570 sed 's/^/| /' conftest.$ac_ext >&5
11572 ac_cv_lib_m_cexpl=no
11574 rm -f conftest.err conftest.$ac_objext \
11575 conftest$ac_exeext conftest.$ac_ext
11576 LIBS=$ac_check_lib_save_LIBS
11578 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
11579 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
11580 if test $ac_cv_lib_m_cexpl = yes; then
11582 cat >>confdefs.h <<\_ACEOF
11583 #define HAVE_CEXPL 1
11588 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
11589 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
11590 if test "${ac_cv_lib_m_fabsf+set}" = set; then
11591 echo $ECHO_N "(cached) $ECHO_C" >&6
11593 ac_check_lib_save_LIBS=$LIBS
11595 if test x$gcc_no_link = xyes; then
11596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11598 { (exit 1); exit 1; }; }
11600 cat >conftest.$ac_ext <<_ACEOF
11603 cat confdefs.h >>conftest.$ac_ext
11604 cat >>conftest.$ac_ext <<_ACEOF
11605 /* end confdefs.h. */
11607 /* Override any gcc2 internal prototype to avoid an error. */
11611 /* We use char because int might match the return type of a gcc2
11612 builtin and then its argument prototype would still apply. */
11622 rm -f conftest.$ac_objext conftest$ac_exeext
11623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11624 (eval $ac_link) 2>conftest.er1
11626 grep -v '^ *+' conftest.er1 >conftest.err
11628 cat conftest.err >&5
11629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11630 (exit $ac_status); } &&
11631 { ac_try='test -z "$ac_c_werror_flag"
11632 || test ! -s conftest.err'
11633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11634 (eval $ac_try) 2>&5
11636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11637 (exit $ac_status); }; } &&
11638 { ac_try='test -s conftest$ac_exeext'
11639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11640 (eval $ac_try) 2>&5
11642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11643 (exit $ac_status); }; }; then
11644 ac_cv_lib_m_fabsf=yes
11646 echo "$as_me: failed program was:" >&5
11647 sed 's/^/| /' conftest.$ac_ext >&5
11649 ac_cv_lib_m_fabsf=no
11651 rm -f conftest.err conftest.$ac_objext \
11652 conftest$ac_exeext conftest.$ac_ext
11653 LIBS=$ac_check_lib_save_LIBS
11655 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
11656 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
11657 if test $ac_cv_lib_m_fabsf = yes; then
11659 cat >>confdefs.h <<\_ACEOF
11660 #define HAVE_FABSF 1
11665 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
11666 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
11667 if test "${ac_cv_lib_m_fabs+set}" = set; then
11668 echo $ECHO_N "(cached) $ECHO_C" >&6
11670 ac_check_lib_save_LIBS=$LIBS
11672 if test x$gcc_no_link = xyes; then
11673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11675 { (exit 1); exit 1; }; }
11677 cat >conftest.$ac_ext <<_ACEOF
11680 cat confdefs.h >>conftest.$ac_ext
11681 cat >>conftest.$ac_ext <<_ACEOF
11682 /* end confdefs.h. */
11684 /* Override any gcc2 internal prototype to avoid an error. */
11688 /* We use char because int might match the return type of a gcc2
11689 builtin and then its argument prototype would still apply. */
11699 rm -f conftest.$ac_objext conftest$ac_exeext
11700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11701 (eval $ac_link) 2>conftest.er1
11703 grep -v '^ *+' conftest.er1 >conftest.err
11705 cat conftest.err >&5
11706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11707 (exit $ac_status); } &&
11708 { ac_try='test -z "$ac_c_werror_flag"
11709 || test ! -s conftest.err'
11710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11711 (eval $ac_try) 2>&5
11713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11714 (exit $ac_status); }; } &&
11715 { ac_try='test -s conftest$ac_exeext'
11716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11717 (eval $ac_try) 2>&5
11719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11720 (exit $ac_status); }; }; then
11721 ac_cv_lib_m_fabs=yes
11723 echo "$as_me: failed program was:" >&5
11724 sed 's/^/| /' conftest.$ac_ext >&5
11726 ac_cv_lib_m_fabs=no
11728 rm -f conftest.err conftest.$ac_objext \
11729 conftest$ac_exeext conftest.$ac_ext
11730 LIBS=$ac_check_lib_save_LIBS
11732 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
11733 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
11734 if test $ac_cv_lib_m_fabs = yes; then
11736 cat >>confdefs.h <<\_ACEOF
11737 #define HAVE_FABS 1
11742 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
11743 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
11744 if test "${ac_cv_lib_m_fabsl+set}" = set; then
11745 echo $ECHO_N "(cached) $ECHO_C" >&6
11747 ac_check_lib_save_LIBS=$LIBS
11749 if test x$gcc_no_link = xyes; then
11750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11752 { (exit 1); exit 1; }; }
11754 cat >conftest.$ac_ext <<_ACEOF
11757 cat confdefs.h >>conftest.$ac_ext
11758 cat >>conftest.$ac_ext <<_ACEOF
11759 /* end confdefs.h. */
11761 /* Override any gcc2 internal prototype to avoid an error. */
11765 /* We use char because int might match the return type of a gcc2
11766 builtin and then its argument prototype would still apply. */
11776 rm -f conftest.$ac_objext conftest$ac_exeext
11777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11778 (eval $ac_link) 2>conftest.er1
11780 grep -v '^ *+' conftest.er1 >conftest.err
11782 cat conftest.err >&5
11783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11784 (exit $ac_status); } &&
11785 { ac_try='test -z "$ac_c_werror_flag"
11786 || test ! -s conftest.err'
11787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11788 (eval $ac_try) 2>&5
11790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11791 (exit $ac_status); }; } &&
11792 { ac_try='test -s conftest$ac_exeext'
11793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11794 (eval $ac_try) 2>&5
11796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11797 (exit $ac_status); }; }; then
11798 ac_cv_lib_m_fabsl=yes
11800 echo "$as_me: failed program was:" >&5
11801 sed 's/^/| /' conftest.$ac_ext >&5
11803 ac_cv_lib_m_fabsl=no
11805 rm -f conftest.err conftest.$ac_objext \
11806 conftest$ac_exeext conftest.$ac_ext
11807 LIBS=$ac_check_lib_save_LIBS
11809 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
11810 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
11811 if test $ac_cv_lib_m_fabsl = yes; then
11813 cat >>confdefs.h <<\_ACEOF
11814 #define HAVE_FABSL 1
11819 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
11820 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
11821 if test "${ac_cv_lib_m_cabsf+set}" = set; then
11822 echo $ECHO_N "(cached) $ECHO_C" >&6
11824 ac_check_lib_save_LIBS=$LIBS
11826 if test x$gcc_no_link = xyes; then
11827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11829 { (exit 1); exit 1; }; }
11831 cat >conftest.$ac_ext <<_ACEOF
11834 cat confdefs.h >>conftest.$ac_ext
11835 cat >>conftest.$ac_ext <<_ACEOF
11836 /* end confdefs.h. */
11838 /* Override any gcc2 internal prototype to avoid an error. */
11842 /* We use char because int might match the return type of a gcc2
11843 builtin and then its argument prototype would still apply. */
11853 rm -f conftest.$ac_objext conftest$ac_exeext
11854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11855 (eval $ac_link) 2>conftest.er1
11857 grep -v '^ *+' conftest.er1 >conftest.err
11859 cat conftest.err >&5
11860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11861 (exit $ac_status); } &&
11862 { ac_try='test -z "$ac_c_werror_flag"
11863 || test ! -s conftest.err'
11864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11865 (eval $ac_try) 2>&5
11867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11868 (exit $ac_status); }; } &&
11869 { ac_try='test -s conftest$ac_exeext'
11870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11871 (eval $ac_try) 2>&5
11873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11874 (exit $ac_status); }; }; then
11875 ac_cv_lib_m_cabsf=yes
11877 echo "$as_me: failed program was:" >&5
11878 sed 's/^/| /' conftest.$ac_ext >&5
11880 ac_cv_lib_m_cabsf=no
11882 rm -f conftest.err conftest.$ac_objext \
11883 conftest$ac_exeext conftest.$ac_ext
11884 LIBS=$ac_check_lib_save_LIBS
11886 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
11887 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
11888 if test $ac_cv_lib_m_cabsf = yes; then
11890 cat >>confdefs.h <<\_ACEOF
11891 #define HAVE_CABSF 1
11896 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
11897 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
11898 if test "${ac_cv_lib_m_cabs+set}" = set; then
11899 echo $ECHO_N "(cached) $ECHO_C" >&6
11901 ac_check_lib_save_LIBS=$LIBS
11903 if test x$gcc_no_link = xyes; then
11904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11906 { (exit 1); exit 1; }; }
11908 cat >conftest.$ac_ext <<_ACEOF
11911 cat confdefs.h >>conftest.$ac_ext
11912 cat >>conftest.$ac_ext <<_ACEOF
11913 /* end confdefs.h. */
11915 /* Override any gcc2 internal prototype to avoid an error. */
11919 /* We use char because int might match the return type of a gcc2
11920 builtin and then its argument prototype would still apply. */
11930 rm -f conftest.$ac_objext conftest$ac_exeext
11931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11932 (eval $ac_link) 2>conftest.er1
11934 grep -v '^ *+' conftest.er1 >conftest.err
11936 cat conftest.err >&5
11937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11938 (exit $ac_status); } &&
11939 { ac_try='test -z "$ac_c_werror_flag"
11940 || test ! -s conftest.err'
11941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11942 (eval $ac_try) 2>&5
11944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11945 (exit $ac_status); }; } &&
11946 { ac_try='test -s conftest$ac_exeext'
11947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11948 (eval $ac_try) 2>&5
11950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951 (exit $ac_status); }; }; then
11952 ac_cv_lib_m_cabs=yes
11954 echo "$as_me: failed program was:" >&5
11955 sed 's/^/| /' conftest.$ac_ext >&5
11957 ac_cv_lib_m_cabs=no
11959 rm -f conftest.err conftest.$ac_objext \
11960 conftest$ac_exeext conftest.$ac_ext
11961 LIBS=$ac_check_lib_save_LIBS
11963 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
11964 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
11965 if test $ac_cv_lib_m_cabs = yes; then
11967 cat >>confdefs.h <<\_ACEOF
11968 #define HAVE_CABS 1
11973 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
11974 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
11975 if test "${ac_cv_lib_m_cabsl+set}" = set; then
11976 echo $ECHO_N "(cached) $ECHO_C" >&6
11978 ac_check_lib_save_LIBS=$LIBS
11980 if test x$gcc_no_link = xyes; then
11981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11983 { (exit 1); exit 1; }; }
11985 cat >conftest.$ac_ext <<_ACEOF
11988 cat confdefs.h >>conftest.$ac_ext
11989 cat >>conftest.$ac_ext <<_ACEOF
11990 /* end confdefs.h. */
11992 /* Override any gcc2 internal prototype to avoid an error. */
11996 /* We use char because int might match the return type of a gcc2
11997 builtin and then its argument prototype would still apply. */
12007 rm -f conftest.$ac_objext conftest$ac_exeext
12008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12009 (eval $ac_link) 2>conftest.er1
12011 grep -v '^ *+' conftest.er1 >conftest.err
12013 cat conftest.err >&5
12014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12015 (exit $ac_status); } &&
12016 { ac_try='test -z "$ac_c_werror_flag"
12017 || test ! -s conftest.err'
12018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12019 (eval $ac_try) 2>&5
12021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022 (exit $ac_status); }; } &&
12023 { ac_try='test -s conftest$ac_exeext'
12024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12025 (eval $ac_try) 2>&5
12027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12028 (exit $ac_status); }; }; then
12029 ac_cv_lib_m_cabsl=yes
12031 echo "$as_me: failed program was:" >&5
12032 sed 's/^/| /' conftest.$ac_ext >&5
12034 ac_cv_lib_m_cabsl=no
12036 rm -f conftest.err conftest.$ac_objext \
12037 conftest$ac_exeext conftest.$ac_ext
12038 LIBS=$ac_check_lib_save_LIBS
12040 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
12041 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
12042 if test $ac_cv_lib_m_cabsl = yes; then
12044 cat >>confdefs.h <<\_ACEOF
12045 #define HAVE_CABSL 1
12050 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
12051 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
12052 if test "${ac_cv_lib_m_floorf+set}" = set; then
12053 echo $ECHO_N "(cached) $ECHO_C" >&6
12055 ac_check_lib_save_LIBS=$LIBS
12057 if test x$gcc_no_link = xyes; then
12058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12060 { (exit 1); exit 1; }; }
12062 cat >conftest.$ac_ext <<_ACEOF
12065 cat confdefs.h >>conftest.$ac_ext
12066 cat >>conftest.$ac_ext <<_ACEOF
12067 /* end confdefs.h. */
12069 /* Override any gcc2 internal prototype to avoid an error. */
12073 /* We use char because int might match the return type of a gcc2
12074 builtin and then its argument prototype would still apply. */
12084 rm -f conftest.$ac_objext conftest$ac_exeext
12085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12086 (eval $ac_link) 2>conftest.er1
12088 grep -v '^ *+' conftest.er1 >conftest.err
12090 cat conftest.err >&5
12091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12092 (exit $ac_status); } &&
12093 { ac_try='test -z "$ac_c_werror_flag"
12094 || test ! -s conftest.err'
12095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12096 (eval $ac_try) 2>&5
12098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12099 (exit $ac_status); }; } &&
12100 { ac_try='test -s conftest$ac_exeext'
12101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12102 (eval $ac_try) 2>&5
12104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12105 (exit $ac_status); }; }; then
12106 ac_cv_lib_m_floorf=yes
12108 echo "$as_me: failed program was:" >&5
12109 sed 's/^/| /' conftest.$ac_ext >&5
12111 ac_cv_lib_m_floorf=no
12113 rm -f conftest.err conftest.$ac_objext \
12114 conftest$ac_exeext conftest.$ac_ext
12115 LIBS=$ac_check_lib_save_LIBS
12117 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
12118 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
12119 if test $ac_cv_lib_m_floorf = yes; then
12121 cat >>confdefs.h <<\_ACEOF
12122 #define HAVE_FLOORF 1
12127 echo "$as_me:$LINENO: checking for floor in -lm" >&5
12128 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
12129 if test "${ac_cv_lib_m_floor+set}" = set; then
12130 echo $ECHO_N "(cached) $ECHO_C" >&6
12132 ac_check_lib_save_LIBS=$LIBS
12134 if test x$gcc_no_link = xyes; then
12135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12137 { (exit 1); exit 1; }; }
12139 cat >conftest.$ac_ext <<_ACEOF
12142 cat confdefs.h >>conftest.$ac_ext
12143 cat >>conftest.$ac_ext <<_ACEOF
12144 /* end confdefs.h. */
12146 /* Override any gcc2 internal prototype to avoid an error. */
12150 /* We use char because int might match the return type of a gcc2
12151 builtin and then its argument prototype would still apply. */
12161 rm -f conftest.$ac_objext conftest$ac_exeext
12162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12163 (eval $ac_link) 2>conftest.er1
12165 grep -v '^ *+' conftest.er1 >conftest.err
12167 cat conftest.err >&5
12168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12169 (exit $ac_status); } &&
12170 { ac_try='test -z "$ac_c_werror_flag"
12171 || test ! -s conftest.err'
12172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12173 (eval $ac_try) 2>&5
12175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12176 (exit $ac_status); }; } &&
12177 { ac_try='test -s conftest$ac_exeext'
12178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12179 (eval $ac_try) 2>&5
12181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12182 (exit $ac_status); }; }; then
12183 ac_cv_lib_m_floor=yes
12185 echo "$as_me: failed program was:" >&5
12186 sed 's/^/| /' conftest.$ac_ext >&5
12188 ac_cv_lib_m_floor=no
12190 rm -f conftest.err conftest.$ac_objext \
12191 conftest$ac_exeext conftest.$ac_ext
12192 LIBS=$ac_check_lib_save_LIBS
12194 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
12195 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
12196 if test $ac_cv_lib_m_floor = yes; then
12198 cat >>confdefs.h <<\_ACEOF
12199 #define HAVE_FLOOR 1
12204 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
12205 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
12206 if test "${ac_cv_lib_m_floorl+set}" = set; then
12207 echo $ECHO_N "(cached) $ECHO_C" >&6
12209 ac_check_lib_save_LIBS=$LIBS
12211 if test x$gcc_no_link = xyes; then
12212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12214 { (exit 1); exit 1; }; }
12216 cat >conftest.$ac_ext <<_ACEOF
12219 cat confdefs.h >>conftest.$ac_ext
12220 cat >>conftest.$ac_ext <<_ACEOF
12221 /* end confdefs.h. */
12223 /* Override any gcc2 internal prototype to avoid an error. */
12227 /* We use char because int might match the return type of a gcc2
12228 builtin and then its argument prototype would still apply. */
12238 rm -f conftest.$ac_objext conftest$ac_exeext
12239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12240 (eval $ac_link) 2>conftest.er1
12242 grep -v '^ *+' conftest.er1 >conftest.err
12244 cat conftest.err >&5
12245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12246 (exit $ac_status); } &&
12247 { ac_try='test -z "$ac_c_werror_flag"
12248 || test ! -s conftest.err'
12249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12250 (eval $ac_try) 2>&5
12252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12253 (exit $ac_status); }; } &&
12254 { ac_try='test -s conftest$ac_exeext'
12255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12256 (eval $ac_try) 2>&5
12258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12259 (exit $ac_status); }; }; then
12260 ac_cv_lib_m_floorl=yes
12262 echo "$as_me: failed program was:" >&5
12263 sed 's/^/| /' conftest.$ac_ext >&5
12265 ac_cv_lib_m_floorl=no
12267 rm -f conftest.err conftest.$ac_objext \
12268 conftest$ac_exeext conftest.$ac_ext
12269 LIBS=$ac_check_lib_save_LIBS
12271 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
12272 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
12273 if test $ac_cv_lib_m_floorl = yes; then
12275 cat >>confdefs.h <<\_ACEOF
12276 #define HAVE_FLOORL 1
12281 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
12282 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
12283 if test "${ac_cv_lib_m_frexpf+set}" = set; then
12284 echo $ECHO_N "(cached) $ECHO_C" >&6
12286 ac_check_lib_save_LIBS=$LIBS
12288 if test x$gcc_no_link = xyes; then
12289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12291 { (exit 1); exit 1; }; }
12293 cat >conftest.$ac_ext <<_ACEOF
12296 cat confdefs.h >>conftest.$ac_ext
12297 cat >>conftest.$ac_ext <<_ACEOF
12298 /* end confdefs.h. */
12300 /* Override any gcc2 internal prototype to avoid an error. */
12304 /* We use char because int might match the return type of a gcc2
12305 builtin and then its argument prototype would still apply. */
12315 rm -f conftest.$ac_objext conftest$ac_exeext
12316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12317 (eval $ac_link) 2>conftest.er1
12319 grep -v '^ *+' conftest.er1 >conftest.err
12321 cat conftest.err >&5
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); } &&
12324 { ac_try='test -z "$ac_c_werror_flag"
12325 || test ! -s conftest.err'
12326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12327 (eval $ac_try) 2>&5
12329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12330 (exit $ac_status); }; } &&
12331 { ac_try='test -s conftest$ac_exeext'
12332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12333 (eval $ac_try) 2>&5
12335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336 (exit $ac_status); }; }; then
12337 ac_cv_lib_m_frexpf=yes
12339 echo "$as_me: failed program was:" >&5
12340 sed 's/^/| /' conftest.$ac_ext >&5
12342 ac_cv_lib_m_frexpf=no
12344 rm -f conftest.err conftest.$ac_objext \
12345 conftest$ac_exeext conftest.$ac_ext
12346 LIBS=$ac_check_lib_save_LIBS
12348 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
12349 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
12350 if test $ac_cv_lib_m_frexpf = yes; then
12352 cat >>confdefs.h <<\_ACEOF
12353 #define HAVE_FREXPF 1
12358 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
12359 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
12360 if test "${ac_cv_lib_m_frexp+set}" = set; then
12361 echo $ECHO_N "(cached) $ECHO_C" >&6
12363 ac_check_lib_save_LIBS=$LIBS
12365 if test x$gcc_no_link = xyes; then
12366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12368 { (exit 1); exit 1; }; }
12370 cat >conftest.$ac_ext <<_ACEOF
12373 cat confdefs.h >>conftest.$ac_ext
12374 cat >>conftest.$ac_ext <<_ACEOF
12375 /* end confdefs.h. */
12377 /* Override any gcc2 internal prototype to avoid an error. */
12381 /* We use char because int might match the return type of a gcc2
12382 builtin and then its argument prototype would still apply. */
12392 rm -f conftest.$ac_objext conftest$ac_exeext
12393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12394 (eval $ac_link) 2>conftest.er1
12396 grep -v '^ *+' conftest.er1 >conftest.err
12398 cat conftest.err >&5
12399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12400 (exit $ac_status); } &&
12401 { ac_try='test -z "$ac_c_werror_flag"
12402 || test ! -s conftest.err'
12403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12404 (eval $ac_try) 2>&5
12406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12407 (exit $ac_status); }; } &&
12408 { ac_try='test -s conftest$ac_exeext'
12409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12410 (eval $ac_try) 2>&5
12412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12413 (exit $ac_status); }; }; then
12414 ac_cv_lib_m_frexp=yes
12416 echo "$as_me: failed program was:" >&5
12417 sed 's/^/| /' conftest.$ac_ext >&5
12419 ac_cv_lib_m_frexp=no
12421 rm -f conftest.err conftest.$ac_objext \
12422 conftest$ac_exeext conftest.$ac_ext
12423 LIBS=$ac_check_lib_save_LIBS
12425 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
12426 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
12427 if test $ac_cv_lib_m_frexp = yes; then
12429 cat >>confdefs.h <<\_ACEOF
12430 #define HAVE_FREXP 1
12435 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
12436 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
12437 if test "${ac_cv_lib_m_frexpl+set}" = set; then
12438 echo $ECHO_N "(cached) $ECHO_C" >&6
12440 ac_check_lib_save_LIBS=$LIBS
12442 if test x$gcc_no_link = xyes; then
12443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12445 { (exit 1); exit 1; }; }
12447 cat >conftest.$ac_ext <<_ACEOF
12450 cat confdefs.h >>conftest.$ac_ext
12451 cat >>conftest.$ac_ext <<_ACEOF
12452 /* end confdefs.h. */
12454 /* Override any gcc2 internal prototype to avoid an error. */
12458 /* We use char because int might match the return type of a gcc2
12459 builtin and then its argument prototype would still apply. */
12469 rm -f conftest.$ac_objext conftest$ac_exeext
12470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12471 (eval $ac_link) 2>conftest.er1
12473 grep -v '^ *+' conftest.er1 >conftest.err
12475 cat conftest.err >&5
12476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12477 (exit $ac_status); } &&
12478 { ac_try='test -z "$ac_c_werror_flag"
12479 || test ! -s conftest.err'
12480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12481 (eval $ac_try) 2>&5
12483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12484 (exit $ac_status); }; } &&
12485 { ac_try='test -s conftest$ac_exeext'
12486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12487 (eval $ac_try) 2>&5
12489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12490 (exit $ac_status); }; }; then
12491 ac_cv_lib_m_frexpl=yes
12493 echo "$as_me: failed program was:" >&5
12494 sed 's/^/| /' conftest.$ac_ext >&5
12496 ac_cv_lib_m_frexpl=no
12498 rm -f conftest.err conftest.$ac_objext \
12499 conftest$ac_exeext conftest.$ac_ext
12500 LIBS=$ac_check_lib_save_LIBS
12502 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
12503 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
12504 if test $ac_cv_lib_m_frexpl = yes; then
12506 cat >>confdefs.h <<\_ACEOF
12507 #define HAVE_FREXPL 1
12512 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
12513 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
12514 if test "${ac_cv_lib_m_hypotf+set}" = set; then
12515 echo $ECHO_N "(cached) $ECHO_C" >&6
12517 ac_check_lib_save_LIBS=$LIBS
12519 if test x$gcc_no_link = xyes; then
12520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12522 { (exit 1); exit 1; }; }
12524 cat >conftest.$ac_ext <<_ACEOF
12527 cat confdefs.h >>conftest.$ac_ext
12528 cat >>conftest.$ac_ext <<_ACEOF
12529 /* end confdefs.h. */
12531 /* Override any gcc2 internal prototype to avoid an error. */
12535 /* We use char because int might match the return type of a gcc2
12536 builtin and then its argument prototype would still apply. */
12546 rm -f conftest.$ac_objext conftest$ac_exeext
12547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12548 (eval $ac_link) 2>conftest.er1
12550 grep -v '^ *+' conftest.er1 >conftest.err
12552 cat conftest.err >&5
12553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12554 (exit $ac_status); } &&
12555 { ac_try='test -z "$ac_c_werror_flag"
12556 || test ! -s conftest.err'
12557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12558 (eval $ac_try) 2>&5
12560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12561 (exit $ac_status); }; } &&
12562 { ac_try='test -s conftest$ac_exeext'
12563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12564 (eval $ac_try) 2>&5
12566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12567 (exit $ac_status); }; }; then
12568 ac_cv_lib_m_hypotf=yes
12570 echo "$as_me: failed program was:" >&5
12571 sed 's/^/| /' conftest.$ac_ext >&5
12573 ac_cv_lib_m_hypotf=no
12575 rm -f conftest.err conftest.$ac_objext \
12576 conftest$ac_exeext conftest.$ac_ext
12577 LIBS=$ac_check_lib_save_LIBS
12579 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
12580 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
12581 if test $ac_cv_lib_m_hypotf = yes; then
12583 cat >>confdefs.h <<\_ACEOF
12584 #define HAVE_HYPOTF 1
12589 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
12590 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
12591 if test "${ac_cv_lib_m_hypot+set}" = set; then
12592 echo $ECHO_N "(cached) $ECHO_C" >&6
12594 ac_check_lib_save_LIBS=$LIBS
12596 if test x$gcc_no_link = xyes; then
12597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12599 { (exit 1); exit 1; }; }
12601 cat >conftest.$ac_ext <<_ACEOF
12604 cat confdefs.h >>conftest.$ac_ext
12605 cat >>conftest.$ac_ext <<_ACEOF
12606 /* end confdefs.h. */
12608 /* Override any gcc2 internal prototype to avoid an error. */
12612 /* We use char because int might match the return type of a gcc2
12613 builtin and then its argument prototype would still apply. */
12623 rm -f conftest.$ac_objext conftest$ac_exeext
12624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12625 (eval $ac_link) 2>conftest.er1
12627 grep -v '^ *+' conftest.er1 >conftest.err
12629 cat conftest.err >&5
12630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12631 (exit $ac_status); } &&
12632 { ac_try='test -z "$ac_c_werror_flag"
12633 || test ! -s conftest.err'
12634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12635 (eval $ac_try) 2>&5
12637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12638 (exit $ac_status); }; } &&
12639 { ac_try='test -s conftest$ac_exeext'
12640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12641 (eval $ac_try) 2>&5
12643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12644 (exit $ac_status); }; }; then
12645 ac_cv_lib_m_hypot=yes
12647 echo "$as_me: failed program was:" >&5
12648 sed 's/^/| /' conftest.$ac_ext >&5
12650 ac_cv_lib_m_hypot=no
12652 rm -f conftest.err conftest.$ac_objext \
12653 conftest$ac_exeext conftest.$ac_ext
12654 LIBS=$ac_check_lib_save_LIBS
12656 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
12657 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
12658 if test $ac_cv_lib_m_hypot = yes; then
12660 cat >>confdefs.h <<\_ACEOF
12661 #define HAVE_HYPOT 1
12666 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
12667 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
12668 if test "${ac_cv_lib_m_hypotl+set}" = set; then
12669 echo $ECHO_N "(cached) $ECHO_C" >&6
12671 ac_check_lib_save_LIBS=$LIBS
12673 if test x$gcc_no_link = xyes; then
12674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12676 { (exit 1); exit 1; }; }
12678 cat >conftest.$ac_ext <<_ACEOF
12681 cat confdefs.h >>conftest.$ac_ext
12682 cat >>conftest.$ac_ext <<_ACEOF
12683 /* end confdefs.h. */
12685 /* Override any gcc2 internal prototype to avoid an error. */
12689 /* We use char because int might match the return type of a gcc2
12690 builtin and then its argument prototype would still apply. */
12700 rm -f conftest.$ac_objext conftest$ac_exeext
12701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12702 (eval $ac_link) 2>conftest.er1
12704 grep -v '^ *+' conftest.er1 >conftest.err
12706 cat conftest.err >&5
12707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12708 (exit $ac_status); } &&
12709 { ac_try='test -z "$ac_c_werror_flag"
12710 || test ! -s conftest.err'
12711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12712 (eval $ac_try) 2>&5
12714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12715 (exit $ac_status); }; } &&
12716 { ac_try='test -s conftest$ac_exeext'
12717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12718 (eval $ac_try) 2>&5
12720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12721 (exit $ac_status); }; }; then
12722 ac_cv_lib_m_hypotl=yes
12724 echo "$as_me: failed program was:" >&5
12725 sed 's/^/| /' conftest.$ac_ext >&5
12727 ac_cv_lib_m_hypotl=no
12729 rm -f conftest.err conftest.$ac_objext \
12730 conftest$ac_exeext conftest.$ac_ext
12731 LIBS=$ac_check_lib_save_LIBS
12733 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
12734 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
12735 if test $ac_cv_lib_m_hypotl = yes; then
12737 cat >>confdefs.h <<\_ACEOF
12738 #define HAVE_HYPOTL 1
12743 echo "$as_me:$LINENO: checking for logf in -lm" >&5
12744 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
12745 if test "${ac_cv_lib_m_logf+set}" = set; then
12746 echo $ECHO_N "(cached) $ECHO_C" >&6
12748 ac_check_lib_save_LIBS=$LIBS
12750 if test x$gcc_no_link = xyes; then
12751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12753 { (exit 1); exit 1; }; }
12755 cat >conftest.$ac_ext <<_ACEOF
12758 cat confdefs.h >>conftest.$ac_ext
12759 cat >>conftest.$ac_ext <<_ACEOF
12760 /* end confdefs.h. */
12762 /* Override any gcc2 internal prototype to avoid an error. */
12766 /* We use char because int might match the return type of a gcc2
12767 builtin and then its argument prototype would still apply. */
12777 rm -f conftest.$ac_objext conftest$ac_exeext
12778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12779 (eval $ac_link) 2>conftest.er1
12781 grep -v '^ *+' conftest.er1 >conftest.err
12783 cat conftest.err >&5
12784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12785 (exit $ac_status); } &&
12786 { ac_try='test -z "$ac_c_werror_flag"
12787 || test ! -s conftest.err'
12788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12789 (eval $ac_try) 2>&5
12791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12792 (exit $ac_status); }; } &&
12793 { ac_try='test -s conftest$ac_exeext'
12794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12795 (eval $ac_try) 2>&5
12797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12798 (exit $ac_status); }; }; then
12799 ac_cv_lib_m_logf=yes
12801 echo "$as_me: failed program was:" >&5
12802 sed 's/^/| /' conftest.$ac_ext >&5
12804 ac_cv_lib_m_logf=no
12806 rm -f conftest.err conftest.$ac_objext \
12807 conftest$ac_exeext conftest.$ac_ext
12808 LIBS=$ac_check_lib_save_LIBS
12810 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
12811 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
12812 if test $ac_cv_lib_m_logf = yes; then
12814 cat >>confdefs.h <<\_ACEOF
12815 #define HAVE_LOGF 1
12820 echo "$as_me:$LINENO: checking for log in -lm" >&5
12821 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
12822 if test "${ac_cv_lib_m_log+set}" = set; then
12823 echo $ECHO_N "(cached) $ECHO_C" >&6
12825 ac_check_lib_save_LIBS=$LIBS
12827 if test x$gcc_no_link = xyes; then
12828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12830 { (exit 1); exit 1; }; }
12832 cat >conftest.$ac_ext <<_ACEOF
12835 cat confdefs.h >>conftest.$ac_ext
12836 cat >>conftest.$ac_ext <<_ACEOF
12837 /* end confdefs.h. */
12839 /* Override any gcc2 internal prototype to avoid an error. */
12843 /* We use char because int might match the return type of a gcc2
12844 builtin and then its argument prototype would still apply. */
12854 rm -f conftest.$ac_objext conftest$ac_exeext
12855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12856 (eval $ac_link) 2>conftest.er1
12858 grep -v '^ *+' conftest.er1 >conftest.err
12860 cat conftest.err >&5
12861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12862 (exit $ac_status); } &&
12863 { ac_try='test -z "$ac_c_werror_flag"
12864 || test ! -s conftest.err'
12865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12866 (eval $ac_try) 2>&5
12868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12869 (exit $ac_status); }; } &&
12870 { ac_try='test -s conftest$ac_exeext'
12871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12872 (eval $ac_try) 2>&5
12874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12875 (exit $ac_status); }; }; then
12876 ac_cv_lib_m_log=yes
12878 echo "$as_me: failed program was:" >&5
12879 sed 's/^/| /' conftest.$ac_ext >&5
12883 rm -f conftest.err conftest.$ac_objext \
12884 conftest$ac_exeext conftest.$ac_ext
12885 LIBS=$ac_check_lib_save_LIBS
12887 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
12888 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
12889 if test $ac_cv_lib_m_log = yes; then
12891 cat >>confdefs.h <<\_ACEOF
12897 echo "$as_me:$LINENO: checking for logl in -lm" >&5
12898 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
12899 if test "${ac_cv_lib_m_logl+set}" = set; then
12900 echo $ECHO_N "(cached) $ECHO_C" >&6
12902 ac_check_lib_save_LIBS=$LIBS
12904 if test x$gcc_no_link = xyes; then
12905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12907 { (exit 1); exit 1; }; }
12909 cat >conftest.$ac_ext <<_ACEOF
12912 cat confdefs.h >>conftest.$ac_ext
12913 cat >>conftest.$ac_ext <<_ACEOF
12914 /* end confdefs.h. */
12916 /* Override any gcc2 internal prototype to avoid an error. */
12920 /* We use char because int might match the return type of a gcc2
12921 builtin and then its argument prototype would still apply. */
12931 rm -f conftest.$ac_objext conftest$ac_exeext
12932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12933 (eval $ac_link) 2>conftest.er1
12935 grep -v '^ *+' conftest.er1 >conftest.err
12937 cat conftest.err >&5
12938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12939 (exit $ac_status); } &&
12940 { ac_try='test -z "$ac_c_werror_flag"
12941 || test ! -s conftest.err'
12942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12943 (eval $ac_try) 2>&5
12945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12946 (exit $ac_status); }; } &&
12947 { ac_try='test -s conftest$ac_exeext'
12948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12949 (eval $ac_try) 2>&5
12951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12952 (exit $ac_status); }; }; then
12953 ac_cv_lib_m_logl=yes
12955 echo "$as_me: failed program was:" >&5
12956 sed 's/^/| /' conftest.$ac_ext >&5
12958 ac_cv_lib_m_logl=no
12960 rm -f conftest.err conftest.$ac_objext \
12961 conftest$ac_exeext conftest.$ac_ext
12962 LIBS=$ac_check_lib_save_LIBS
12964 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
12965 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
12966 if test $ac_cv_lib_m_logl = yes; then
12968 cat >>confdefs.h <<\_ACEOF
12969 #define HAVE_LOGL 1
12974 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
12975 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
12976 if test "${ac_cv_lib_m_clogf+set}" = set; then
12977 echo $ECHO_N "(cached) $ECHO_C" >&6
12979 ac_check_lib_save_LIBS=$LIBS
12981 if test x$gcc_no_link = xyes; then
12982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12984 { (exit 1); exit 1; }; }
12986 cat >conftest.$ac_ext <<_ACEOF
12989 cat confdefs.h >>conftest.$ac_ext
12990 cat >>conftest.$ac_ext <<_ACEOF
12991 /* end confdefs.h. */
12993 /* Override any gcc2 internal prototype to avoid an error. */
12997 /* We use char because int might match the return type of a gcc2
12998 builtin and then its argument prototype would still apply. */
13008 rm -f conftest.$ac_objext conftest$ac_exeext
13009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13010 (eval $ac_link) 2>conftest.er1
13012 grep -v '^ *+' conftest.er1 >conftest.err
13014 cat conftest.err >&5
13015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13016 (exit $ac_status); } &&
13017 { ac_try='test -z "$ac_c_werror_flag"
13018 || test ! -s conftest.err'
13019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13020 (eval $ac_try) 2>&5
13022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13023 (exit $ac_status); }; } &&
13024 { ac_try='test -s conftest$ac_exeext'
13025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13026 (eval $ac_try) 2>&5
13028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13029 (exit $ac_status); }; }; then
13030 ac_cv_lib_m_clogf=yes
13032 echo "$as_me: failed program was:" >&5
13033 sed 's/^/| /' conftest.$ac_ext >&5
13035 ac_cv_lib_m_clogf=no
13037 rm -f conftest.err conftest.$ac_objext \
13038 conftest$ac_exeext conftest.$ac_ext
13039 LIBS=$ac_check_lib_save_LIBS
13041 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
13042 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
13043 if test $ac_cv_lib_m_clogf = yes; then
13045 cat >>confdefs.h <<\_ACEOF
13046 #define HAVE_CLOGF 1
13051 echo "$as_me:$LINENO: checking for clog in -lm" >&5
13052 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
13053 if test "${ac_cv_lib_m_clog+set}" = set; then
13054 echo $ECHO_N "(cached) $ECHO_C" >&6
13056 ac_check_lib_save_LIBS=$LIBS
13058 if test x$gcc_no_link = xyes; then
13059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13061 { (exit 1); exit 1; }; }
13063 cat >conftest.$ac_ext <<_ACEOF
13066 cat confdefs.h >>conftest.$ac_ext
13067 cat >>conftest.$ac_ext <<_ACEOF
13068 /* end confdefs.h. */
13070 /* Override any gcc2 internal prototype to avoid an error. */
13074 /* We use char because int might match the return type of a gcc2
13075 builtin and then its argument prototype would still apply. */
13085 rm -f conftest.$ac_objext conftest$ac_exeext
13086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13087 (eval $ac_link) 2>conftest.er1
13089 grep -v '^ *+' conftest.er1 >conftest.err
13091 cat conftest.err >&5
13092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13093 (exit $ac_status); } &&
13094 { ac_try='test -z "$ac_c_werror_flag"
13095 || test ! -s conftest.err'
13096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13097 (eval $ac_try) 2>&5
13099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13100 (exit $ac_status); }; } &&
13101 { ac_try='test -s conftest$ac_exeext'
13102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13103 (eval $ac_try) 2>&5
13105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13106 (exit $ac_status); }; }; then
13107 ac_cv_lib_m_clog=yes
13109 echo "$as_me: failed program was:" >&5
13110 sed 's/^/| /' conftest.$ac_ext >&5
13112 ac_cv_lib_m_clog=no
13114 rm -f conftest.err conftest.$ac_objext \
13115 conftest$ac_exeext conftest.$ac_ext
13116 LIBS=$ac_check_lib_save_LIBS
13118 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
13119 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
13120 if test $ac_cv_lib_m_clog = yes; then
13122 cat >>confdefs.h <<\_ACEOF
13123 #define HAVE_CLOG 1
13128 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
13129 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
13130 if test "${ac_cv_lib_m_clogl+set}" = set; then
13131 echo $ECHO_N "(cached) $ECHO_C" >&6
13133 ac_check_lib_save_LIBS=$LIBS
13135 if test x$gcc_no_link = xyes; then
13136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13138 { (exit 1); exit 1; }; }
13140 cat >conftest.$ac_ext <<_ACEOF
13143 cat confdefs.h >>conftest.$ac_ext
13144 cat >>conftest.$ac_ext <<_ACEOF
13145 /* end confdefs.h. */
13147 /* Override any gcc2 internal prototype to avoid an error. */
13151 /* We use char because int might match the return type of a gcc2
13152 builtin and then its argument prototype would still apply. */
13162 rm -f conftest.$ac_objext conftest$ac_exeext
13163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13164 (eval $ac_link) 2>conftest.er1
13166 grep -v '^ *+' conftest.er1 >conftest.err
13168 cat conftest.err >&5
13169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13170 (exit $ac_status); } &&
13171 { ac_try='test -z "$ac_c_werror_flag"
13172 || test ! -s conftest.err'
13173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13174 (eval $ac_try) 2>&5
13176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13177 (exit $ac_status); }; } &&
13178 { ac_try='test -s conftest$ac_exeext'
13179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13180 (eval $ac_try) 2>&5
13182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13183 (exit $ac_status); }; }; then
13184 ac_cv_lib_m_clogl=yes
13186 echo "$as_me: failed program was:" >&5
13187 sed 's/^/| /' conftest.$ac_ext >&5
13189 ac_cv_lib_m_clogl=no
13191 rm -f conftest.err conftest.$ac_objext \
13192 conftest$ac_exeext conftest.$ac_ext
13193 LIBS=$ac_check_lib_save_LIBS
13195 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
13196 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
13197 if test $ac_cv_lib_m_clogl = yes; then
13199 cat >>confdefs.h <<\_ACEOF
13200 #define HAVE_CLOGL 1
13205 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
13206 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
13207 if test "${ac_cv_lib_m_log10f+set}" = set; then
13208 echo $ECHO_N "(cached) $ECHO_C" >&6
13210 ac_check_lib_save_LIBS=$LIBS
13212 if test x$gcc_no_link = xyes; then
13213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13215 { (exit 1); exit 1; }; }
13217 cat >conftest.$ac_ext <<_ACEOF
13220 cat confdefs.h >>conftest.$ac_ext
13221 cat >>conftest.$ac_ext <<_ACEOF
13222 /* end confdefs.h. */
13224 /* Override any gcc2 internal prototype to avoid an error. */
13228 /* We use char because int might match the return type of a gcc2
13229 builtin and then its argument prototype would still apply. */
13239 rm -f conftest.$ac_objext conftest$ac_exeext
13240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13241 (eval $ac_link) 2>conftest.er1
13243 grep -v '^ *+' conftest.er1 >conftest.err
13245 cat conftest.err >&5
13246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13247 (exit $ac_status); } &&
13248 { ac_try='test -z "$ac_c_werror_flag"
13249 || test ! -s conftest.err'
13250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13251 (eval $ac_try) 2>&5
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); }; } &&
13255 { ac_try='test -s conftest$ac_exeext'
13256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13257 (eval $ac_try) 2>&5
13259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260 (exit $ac_status); }; }; then
13261 ac_cv_lib_m_log10f=yes
13263 echo "$as_me: failed program was:" >&5
13264 sed 's/^/| /' conftest.$ac_ext >&5
13266 ac_cv_lib_m_log10f=no
13268 rm -f conftest.err conftest.$ac_objext \
13269 conftest$ac_exeext conftest.$ac_ext
13270 LIBS=$ac_check_lib_save_LIBS
13272 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
13273 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
13274 if test $ac_cv_lib_m_log10f = yes; then
13276 cat >>confdefs.h <<\_ACEOF
13277 #define HAVE_LOG10F 1
13282 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
13283 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
13284 if test "${ac_cv_lib_m_log10+set}" = set; then
13285 echo $ECHO_N "(cached) $ECHO_C" >&6
13287 ac_check_lib_save_LIBS=$LIBS
13289 if test x$gcc_no_link = xyes; then
13290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13292 { (exit 1); exit 1; }; }
13294 cat >conftest.$ac_ext <<_ACEOF
13297 cat confdefs.h >>conftest.$ac_ext
13298 cat >>conftest.$ac_ext <<_ACEOF
13299 /* end confdefs.h. */
13301 /* Override any gcc2 internal prototype to avoid an error. */
13305 /* We use char because int might match the return type of a gcc2
13306 builtin and then its argument prototype would still apply. */
13316 rm -f conftest.$ac_objext conftest$ac_exeext
13317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13318 (eval $ac_link) 2>conftest.er1
13320 grep -v '^ *+' conftest.er1 >conftest.err
13322 cat conftest.err >&5
13323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13324 (exit $ac_status); } &&
13325 { ac_try='test -z "$ac_c_werror_flag"
13326 || test ! -s conftest.err'
13327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13328 (eval $ac_try) 2>&5
13330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13331 (exit $ac_status); }; } &&
13332 { ac_try='test -s conftest$ac_exeext'
13333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13334 (eval $ac_try) 2>&5
13336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13337 (exit $ac_status); }; }; then
13338 ac_cv_lib_m_log10=yes
13340 echo "$as_me: failed program was:" >&5
13341 sed 's/^/| /' conftest.$ac_ext >&5
13343 ac_cv_lib_m_log10=no
13345 rm -f conftest.err conftest.$ac_objext \
13346 conftest$ac_exeext conftest.$ac_ext
13347 LIBS=$ac_check_lib_save_LIBS
13349 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
13350 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
13351 if test $ac_cv_lib_m_log10 = yes; then
13353 cat >>confdefs.h <<\_ACEOF
13354 #define HAVE_LOG10 1
13359 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
13360 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
13361 if test "${ac_cv_lib_m_log10l+set}" = set; then
13362 echo $ECHO_N "(cached) $ECHO_C" >&6
13364 ac_check_lib_save_LIBS=$LIBS
13366 if test x$gcc_no_link = xyes; then
13367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13369 { (exit 1); exit 1; }; }
13371 cat >conftest.$ac_ext <<_ACEOF
13374 cat confdefs.h >>conftest.$ac_ext
13375 cat >>conftest.$ac_ext <<_ACEOF
13376 /* end confdefs.h. */
13378 /* Override any gcc2 internal prototype to avoid an error. */
13382 /* We use char because int might match the return type of a gcc2
13383 builtin and then its argument prototype would still apply. */
13393 rm -f conftest.$ac_objext conftest$ac_exeext
13394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13395 (eval $ac_link) 2>conftest.er1
13397 grep -v '^ *+' conftest.er1 >conftest.err
13399 cat conftest.err >&5
13400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13401 (exit $ac_status); } &&
13402 { ac_try='test -z "$ac_c_werror_flag"
13403 || test ! -s conftest.err'
13404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13405 (eval $ac_try) 2>&5
13407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13408 (exit $ac_status); }; } &&
13409 { ac_try='test -s conftest$ac_exeext'
13410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13411 (eval $ac_try) 2>&5
13413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13414 (exit $ac_status); }; }; then
13415 ac_cv_lib_m_log10l=yes
13417 echo "$as_me: failed program was:" >&5
13418 sed 's/^/| /' conftest.$ac_ext >&5
13420 ac_cv_lib_m_log10l=no
13422 rm -f conftest.err conftest.$ac_objext \
13423 conftest$ac_exeext conftest.$ac_ext
13424 LIBS=$ac_check_lib_save_LIBS
13426 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
13427 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
13428 if test $ac_cv_lib_m_log10l = yes; then
13430 cat >>confdefs.h <<\_ACEOF
13431 #define HAVE_LOG10L 1
13436 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
13437 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
13438 if test "${ac_cv_lib_m_clog10f+set}" = set; then
13439 echo $ECHO_N "(cached) $ECHO_C" >&6
13441 ac_check_lib_save_LIBS=$LIBS
13443 if test x$gcc_no_link = xyes; then
13444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13446 { (exit 1); exit 1; }; }
13448 cat >conftest.$ac_ext <<_ACEOF
13451 cat confdefs.h >>conftest.$ac_ext
13452 cat >>conftest.$ac_ext <<_ACEOF
13453 /* end confdefs.h. */
13455 /* Override any gcc2 internal prototype to avoid an error. */
13459 /* We use char because int might match the return type of a gcc2
13460 builtin and then its argument prototype would still apply. */
13470 rm -f conftest.$ac_objext conftest$ac_exeext
13471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13472 (eval $ac_link) 2>conftest.er1
13474 grep -v '^ *+' conftest.er1 >conftest.err
13476 cat conftest.err >&5
13477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13478 (exit $ac_status); } &&
13479 { ac_try='test -z "$ac_c_werror_flag"
13480 || test ! -s conftest.err'
13481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13482 (eval $ac_try) 2>&5
13484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13485 (exit $ac_status); }; } &&
13486 { ac_try='test -s conftest$ac_exeext'
13487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13488 (eval $ac_try) 2>&5
13490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13491 (exit $ac_status); }; }; then
13492 ac_cv_lib_m_clog10f=yes
13494 echo "$as_me: failed program was:" >&5
13495 sed 's/^/| /' conftest.$ac_ext >&5
13497 ac_cv_lib_m_clog10f=no
13499 rm -f conftest.err conftest.$ac_objext \
13500 conftest$ac_exeext conftest.$ac_ext
13501 LIBS=$ac_check_lib_save_LIBS
13503 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
13504 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
13505 if test $ac_cv_lib_m_clog10f = yes; then
13507 cat >>confdefs.h <<\_ACEOF
13508 #define HAVE_CLOG10F 1
13513 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
13514 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
13515 if test "${ac_cv_lib_m_clog10+set}" = set; then
13516 echo $ECHO_N "(cached) $ECHO_C" >&6
13518 ac_check_lib_save_LIBS=$LIBS
13520 if test x$gcc_no_link = xyes; then
13521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13523 { (exit 1); exit 1; }; }
13525 cat >conftest.$ac_ext <<_ACEOF
13528 cat confdefs.h >>conftest.$ac_ext
13529 cat >>conftest.$ac_ext <<_ACEOF
13530 /* end confdefs.h. */
13532 /* Override any gcc2 internal prototype to avoid an error. */
13536 /* We use char because int might match the return type of a gcc2
13537 builtin and then its argument prototype would still apply. */
13547 rm -f conftest.$ac_objext conftest$ac_exeext
13548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13549 (eval $ac_link) 2>conftest.er1
13551 grep -v '^ *+' conftest.er1 >conftest.err
13553 cat conftest.err >&5
13554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13555 (exit $ac_status); } &&
13556 { ac_try='test -z "$ac_c_werror_flag"
13557 || test ! -s conftest.err'
13558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13559 (eval $ac_try) 2>&5
13561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13562 (exit $ac_status); }; } &&
13563 { ac_try='test -s conftest$ac_exeext'
13564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13565 (eval $ac_try) 2>&5
13567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13568 (exit $ac_status); }; }; then
13569 ac_cv_lib_m_clog10=yes
13571 echo "$as_me: failed program was:" >&5
13572 sed 's/^/| /' conftest.$ac_ext >&5
13574 ac_cv_lib_m_clog10=no
13576 rm -f conftest.err conftest.$ac_objext \
13577 conftest$ac_exeext conftest.$ac_ext
13578 LIBS=$ac_check_lib_save_LIBS
13580 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
13581 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
13582 if test $ac_cv_lib_m_clog10 = yes; then
13584 cat >>confdefs.h <<\_ACEOF
13585 #define HAVE_CLOG10 1
13590 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
13591 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
13592 if test "${ac_cv_lib_m_clog10l+set}" = set; then
13593 echo $ECHO_N "(cached) $ECHO_C" >&6
13595 ac_check_lib_save_LIBS=$LIBS
13597 if test x$gcc_no_link = xyes; then
13598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13600 { (exit 1); exit 1; }; }
13602 cat >conftest.$ac_ext <<_ACEOF
13605 cat confdefs.h >>conftest.$ac_ext
13606 cat >>conftest.$ac_ext <<_ACEOF
13607 /* end confdefs.h. */
13609 /* Override any gcc2 internal prototype to avoid an error. */
13613 /* We use char because int might match the return type of a gcc2
13614 builtin and then its argument prototype would still apply. */
13624 rm -f conftest.$ac_objext conftest$ac_exeext
13625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13626 (eval $ac_link) 2>conftest.er1
13628 grep -v '^ *+' conftest.er1 >conftest.err
13630 cat conftest.err >&5
13631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13632 (exit $ac_status); } &&
13633 { ac_try='test -z "$ac_c_werror_flag"
13634 || test ! -s conftest.err'
13635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13636 (eval $ac_try) 2>&5
13638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13639 (exit $ac_status); }; } &&
13640 { ac_try='test -s conftest$ac_exeext'
13641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13642 (eval $ac_try) 2>&5
13644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13645 (exit $ac_status); }; }; then
13646 ac_cv_lib_m_clog10l=yes
13648 echo "$as_me: failed program was:" >&5
13649 sed 's/^/| /' conftest.$ac_ext >&5
13651 ac_cv_lib_m_clog10l=no
13653 rm -f conftest.err conftest.$ac_objext \
13654 conftest$ac_exeext conftest.$ac_ext
13655 LIBS=$ac_check_lib_save_LIBS
13657 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
13658 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
13659 if test $ac_cv_lib_m_clog10l = yes; then
13661 cat >>confdefs.h <<\_ACEOF
13662 #define HAVE_CLOG10L 1
13667 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
13668 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
13669 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
13670 echo $ECHO_N "(cached) $ECHO_C" >&6
13672 ac_check_lib_save_LIBS=$LIBS
13674 if test x$gcc_no_link = xyes; then
13675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13677 { (exit 1); exit 1; }; }
13679 cat >conftest.$ac_ext <<_ACEOF
13682 cat confdefs.h >>conftest.$ac_ext
13683 cat >>conftest.$ac_ext <<_ACEOF
13684 /* end confdefs.h. */
13686 /* Override any gcc2 internal prototype to avoid an error. */
13690 /* We use char because int might match the return type of a gcc2
13691 builtin and then its argument prototype would still apply. */
13692 char nextafterf ();
13701 rm -f conftest.$ac_objext conftest$ac_exeext
13702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13703 (eval $ac_link) 2>conftest.er1
13705 grep -v '^ *+' conftest.er1 >conftest.err
13707 cat conftest.err >&5
13708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13709 (exit $ac_status); } &&
13710 { ac_try='test -z "$ac_c_werror_flag"
13711 || test ! -s conftest.err'
13712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13713 (eval $ac_try) 2>&5
13715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13716 (exit $ac_status); }; } &&
13717 { ac_try='test -s conftest$ac_exeext'
13718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13719 (eval $ac_try) 2>&5
13721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13722 (exit $ac_status); }; }; then
13723 ac_cv_lib_m_nextafterf=yes
13725 echo "$as_me: failed program was:" >&5
13726 sed 's/^/| /' conftest.$ac_ext >&5
13728 ac_cv_lib_m_nextafterf=no
13730 rm -f conftest.err conftest.$ac_objext \
13731 conftest$ac_exeext conftest.$ac_ext
13732 LIBS=$ac_check_lib_save_LIBS
13734 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
13735 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
13736 if test $ac_cv_lib_m_nextafterf = yes; then
13738 cat >>confdefs.h <<\_ACEOF
13739 #define HAVE_NEXTAFTERF 1
13744 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
13745 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
13746 if test "${ac_cv_lib_m_nextafter+set}" = set; then
13747 echo $ECHO_N "(cached) $ECHO_C" >&6
13749 ac_check_lib_save_LIBS=$LIBS
13751 if test x$gcc_no_link = xyes; then
13752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13754 { (exit 1); exit 1; }; }
13756 cat >conftest.$ac_ext <<_ACEOF
13759 cat confdefs.h >>conftest.$ac_ext
13760 cat >>conftest.$ac_ext <<_ACEOF
13761 /* end confdefs.h. */
13763 /* Override any gcc2 internal prototype to avoid an error. */
13767 /* We use char because int might match the return type of a gcc2
13768 builtin and then its argument prototype would still apply. */
13778 rm -f conftest.$ac_objext conftest$ac_exeext
13779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13780 (eval $ac_link) 2>conftest.er1
13782 grep -v '^ *+' conftest.er1 >conftest.err
13784 cat conftest.err >&5
13785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13786 (exit $ac_status); } &&
13787 { ac_try='test -z "$ac_c_werror_flag"
13788 || test ! -s conftest.err'
13789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13790 (eval $ac_try) 2>&5
13792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13793 (exit $ac_status); }; } &&
13794 { ac_try='test -s conftest$ac_exeext'
13795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13796 (eval $ac_try) 2>&5
13798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13799 (exit $ac_status); }; }; then
13800 ac_cv_lib_m_nextafter=yes
13802 echo "$as_me: failed program was:" >&5
13803 sed 's/^/| /' conftest.$ac_ext >&5
13805 ac_cv_lib_m_nextafter=no
13807 rm -f conftest.err conftest.$ac_objext \
13808 conftest$ac_exeext conftest.$ac_ext
13809 LIBS=$ac_check_lib_save_LIBS
13811 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
13812 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
13813 if test $ac_cv_lib_m_nextafter = yes; then
13815 cat >>confdefs.h <<\_ACEOF
13816 #define HAVE_NEXTAFTER 1
13821 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
13822 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
13823 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
13824 echo $ECHO_N "(cached) $ECHO_C" >&6
13826 ac_check_lib_save_LIBS=$LIBS
13828 if test x$gcc_no_link = xyes; then
13829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13831 { (exit 1); exit 1; }; }
13833 cat >conftest.$ac_ext <<_ACEOF
13836 cat confdefs.h >>conftest.$ac_ext
13837 cat >>conftest.$ac_ext <<_ACEOF
13838 /* end confdefs.h. */
13840 /* Override any gcc2 internal prototype to avoid an error. */
13844 /* We use char because int might match the return type of a gcc2
13845 builtin and then its argument prototype would still apply. */
13846 char nextafterl ();
13855 rm -f conftest.$ac_objext conftest$ac_exeext
13856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13857 (eval $ac_link) 2>conftest.er1
13859 grep -v '^ *+' conftest.er1 >conftest.err
13861 cat conftest.err >&5
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); } &&
13864 { ac_try='test -z "$ac_c_werror_flag"
13865 || test ! -s conftest.err'
13866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13867 (eval $ac_try) 2>&5
13869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13870 (exit $ac_status); }; } &&
13871 { ac_try='test -s conftest$ac_exeext'
13872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13873 (eval $ac_try) 2>&5
13875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13876 (exit $ac_status); }; }; then
13877 ac_cv_lib_m_nextafterl=yes
13879 echo "$as_me: failed program was:" >&5
13880 sed 's/^/| /' conftest.$ac_ext >&5
13882 ac_cv_lib_m_nextafterl=no
13884 rm -f conftest.err conftest.$ac_objext \
13885 conftest$ac_exeext conftest.$ac_ext
13886 LIBS=$ac_check_lib_save_LIBS
13888 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
13889 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
13890 if test $ac_cv_lib_m_nextafterl = yes; then
13892 cat >>confdefs.h <<\_ACEOF
13893 #define HAVE_NEXTAFTERL 1
13898 echo "$as_me:$LINENO: checking for powf in -lm" >&5
13899 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
13900 if test "${ac_cv_lib_m_powf+set}" = set; then
13901 echo $ECHO_N "(cached) $ECHO_C" >&6
13903 ac_check_lib_save_LIBS=$LIBS
13905 if test x$gcc_no_link = xyes; then
13906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13908 { (exit 1); exit 1; }; }
13910 cat >conftest.$ac_ext <<_ACEOF
13913 cat confdefs.h >>conftest.$ac_ext
13914 cat >>conftest.$ac_ext <<_ACEOF
13915 /* end confdefs.h. */
13917 /* Override any gcc2 internal prototype to avoid an error. */
13921 /* We use char because int might match the return type of a gcc2
13922 builtin and then its argument prototype would still apply. */
13932 rm -f conftest.$ac_objext conftest$ac_exeext
13933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13934 (eval $ac_link) 2>conftest.er1
13936 grep -v '^ *+' conftest.er1 >conftest.err
13938 cat conftest.err >&5
13939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13940 (exit $ac_status); } &&
13941 { ac_try='test -z "$ac_c_werror_flag"
13942 || test ! -s conftest.err'
13943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13944 (eval $ac_try) 2>&5
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 (exit $ac_status); }; } &&
13948 { ac_try='test -s conftest$ac_exeext'
13949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13950 (eval $ac_try) 2>&5
13952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13953 (exit $ac_status); }; }; then
13954 ac_cv_lib_m_powf=yes
13956 echo "$as_me: failed program was:" >&5
13957 sed 's/^/| /' conftest.$ac_ext >&5
13959 ac_cv_lib_m_powf=no
13961 rm -f conftest.err conftest.$ac_objext \
13962 conftest$ac_exeext conftest.$ac_ext
13963 LIBS=$ac_check_lib_save_LIBS
13965 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
13966 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
13967 if test $ac_cv_lib_m_powf = yes; then
13969 cat >>confdefs.h <<\_ACEOF
13970 #define HAVE_POWF 1
13975 echo "$as_me:$LINENO: checking for pow in -lm" >&5
13976 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
13977 if test "${ac_cv_lib_m_pow+set}" = set; then
13978 echo $ECHO_N "(cached) $ECHO_C" >&6
13980 ac_check_lib_save_LIBS=$LIBS
13982 if test x$gcc_no_link = xyes; then
13983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13985 { (exit 1); exit 1; }; }
13987 cat >conftest.$ac_ext <<_ACEOF
13990 cat confdefs.h >>conftest.$ac_ext
13991 cat >>conftest.$ac_ext <<_ACEOF
13992 /* end confdefs.h. */
13994 /* Override any gcc2 internal prototype to avoid an error. */
13998 /* We use char because int might match the return type of a gcc2
13999 builtin and then its argument prototype would still apply. */
14009 rm -f conftest.$ac_objext conftest$ac_exeext
14010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14011 (eval $ac_link) 2>conftest.er1
14013 grep -v '^ *+' conftest.er1 >conftest.err
14015 cat conftest.err >&5
14016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017 (exit $ac_status); } &&
14018 { ac_try='test -z "$ac_c_werror_flag"
14019 || test ! -s conftest.err'
14020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14021 (eval $ac_try) 2>&5
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); }; } &&
14025 { ac_try='test -s conftest$ac_exeext'
14026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14027 (eval $ac_try) 2>&5
14029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030 (exit $ac_status); }; }; then
14031 ac_cv_lib_m_pow=yes
14033 echo "$as_me: failed program was:" >&5
14034 sed 's/^/| /' conftest.$ac_ext >&5
14038 rm -f conftest.err conftest.$ac_objext \
14039 conftest$ac_exeext conftest.$ac_ext
14040 LIBS=$ac_check_lib_save_LIBS
14042 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
14043 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
14044 if test $ac_cv_lib_m_pow = yes; then
14046 cat >>confdefs.h <<\_ACEOF
14052 echo "$as_me:$LINENO: checking for powl in -lm" >&5
14053 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
14054 if test "${ac_cv_lib_m_powl+set}" = set; then
14055 echo $ECHO_N "(cached) $ECHO_C" >&6
14057 ac_check_lib_save_LIBS=$LIBS
14059 if test x$gcc_no_link = xyes; then
14060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14062 { (exit 1); exit 1; }; }
14064 cat >conftest.$ac_ext <<_ACEOF
14067 cat confdefs.h >>conftest.$ac_ext
14068 cat >>conftest.$ac_ext <<_ACEOF
14069 /* end confdefs.h. */
14071 /* Override any gcc2 internal prototype to avoid an error. */
14075 /* We use char because int might match the return type of a gcc2
14076 builtin and then its argument prototype would still apply. */
14086 rm -f conftest.$ac_objext conftest$ac_exeext
14087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14088 (eval $ac_link) 2>conftest.er1
14090 grep -v '^ *+' conftest.er1 >conftest.err
14092 cat conftest.err >&5
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 (exit $ac_status); } &&
14095 { ac_try='test -z "$ac_c_werror_flag"
14096 || test ! -s conftest.err'
14097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14098 (eval $ac_try) 2>&5
14100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14101 (exit $ac_status); }; } &&
14102 { ac_try='test -s conftest$ac_exeext'
14103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14104 (eval $ac_try) 2>&5
14106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14107 (exit $ac_status); }; }; then
14108 ac_cv_lib_m_powl=yes
14110 echo "$as_me: failed program was:" >&5
14111 sed 's/^/| /' conftest.$ac_ext >&5
14113 ac_cv_lib_m_powl=no
14115 rm -f conftest.err conftest.$ac_objext \
14116 conftest$ac_exeext conftest.$ac_ext
14117 LIBS=$ac_check_lib_save_LIBS
14119 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
14120 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
14121 if test $ac_cv_lib_m_powl = yes; then
14123 cat >>confdefs.h <<\_ACEOF
14124 #define HAVE_POWL 1
14129 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
14130 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
14131 if test "${ac_cv_lib_m_cpowf+set}" = set; then
14132 echo $ECHO_N "(cached) $ECHO_C" >&6
14134 ac_check_lib_save_LIBS=$LIBS
14136 if test x$gcc_no_link = xyes; then
14137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14139 { (exit 1); exit 1; }; }
14141 cat >conftest.$ac_ext <<_ACEOF
14144 cat confdefs.h >>conftest.$ac_ext
14145 cat >>conftest.$ac_ext <<_ACEOF
14146 /* end confdefs.h. */
14148 /* Override any gcc2 internal prototype to avoid an error. */
14152 /* We use char because int might match the return type of a gcc2
14153 builtin and then its argument prototype would still apply. */
14163 rm -f conftest.$ac_objext conftest$ac_exeext
14164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14165 (eval $ac_link) 2>conftest.er1
14167 grep -v '^ *+' conftest.er1 >conftest.err
14169 cat conftest.err >&5
14170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171 (exit $ac_status); } &&
14172 { ac_try='test -z "$ac_c_werror_flag"
14173 || test ! -s conftest.err'
14174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14175 (eval $ac_try) 2>&5
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); }; } &&
14179 { ac_try='test -s conftest$ac_exeext'
14180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14181 (eval $ac_try) 2>&5
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); }; }; then
14185 ac_cv_lib_m_cpowf=yes
14187 echo "$as_me: failed program was:" >&5
14188 sed 's/^/| /' conftest.$ac_ext >&5
14190 ac_cv_lib_m_cpowf=no
14192 rm -f conftest.err conftest.$ac_objext \
14193 conftest$ac_exeext conftest.$ac_ext
14194 LIBS=$ac_check_lib_save_LIBS
14196 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
14197 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
14198 if test $ac_cv_lib_m_cpowf = yes; then
14200 cat >>confdefs.h <<\_ACEOF
14201 #define HAVE_CPOWF 1
14206 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
14207 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
14208 if test "${ac_cv_lib_m_cpow+set}" = set; then
14209 echo $ECHO_N "(cached) $ECHO_C" >&6
14211 ac_check_lib_save_LIBS=$LIBS
14213 if test x$gcc_no_link = xyes; then
14214 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14216 { (exit 1); exit 1; }; }
14218 cat >conftest.$ac_ext <<_ACEOF
14221 cat confdefs.h >>conftest.$ac_ext
14222 cat >>conftest.$ac_ext <<_ACEOF
14223 /* end confdefs.h. */
14225 /* Override any gcc2 internal prototype to avoid an error. */
14229 /* We use char because int might match the return type of a gcc2
14230 builtin and then its argument prototype would still apply. */
14240 rm -f conftest.$ac_objext conftest$ac_exeext
14241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14242 (eval $ac_link) 2>conftest.er1
14244 grep -v '^ *+' conftest.er1 >conftest.err
14246 cat conftest.err >&5
14247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14248 (exit $ac_status); } &&
14249 { ac_try='test -z "$ac_c_werror_flag"
14250 || test ! -s conftest.err'
14251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14252 (eval $ac_try) 2>&5
14254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14255 (exit $ac_status); }; } &&
14256 { ac_try='test -s conftest$ac_exeext'
14257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14258 (eval $ac_try) 2>&5
14260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261 (exit $ac_status); }; }; then
14262 ac_cv_lib_m_cpow=yes
14264 echo "$as_me: failed program was:" >&5
14265 sed 's/^/| /' conftest.$ac_ext >&5
14267 ac_cv_lib_m_cpow=no
14269 rm -f conftest.err conftest.$ac_objext \
14270 conftest$ac_exeext conftest.$ac_ext
14271 LIBS=$ac_check_lib_save_LIBS
14273 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
14274 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
14275 if test $ac_cv_lib_m_cpow = yes; then
14277 cat >>confdefs.h <<\_ACEOF
14278 #define HAVE_CPOW 1
14283 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
14284 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
14285 if test "${ac_cv_lib_m_cpowl+set}" = set; then
14286 echo $ECHO_N "(cached) $ECHO_C" >&6
14288 ac_check_lib_save_LIBS=$LIBS
14290 if test x$gcc_no_link = xyes; then
14291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14293 { (exit 1); exit 1; }; }
14295 cat >conftest.$ac_ext <<_ACEOF
14298 cat confdefs.h >>conftest.$ac_ext
14299 cat >>conftest.$ac_ext <<_ACEOF
14300 /* end confdefs.h. */
14302 /* Override any gcc2 internal prototype to avoid an error. */
14306 /* We use char because int might match the return type of a gcc2
14307 builtin and then its argument prototype would still apply. */
14317 rm -f conftest.$ac_objext conftest$ac_exeext
14318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14319 (eval $ac_link) 2>conftest.er1
14321 grep -v '^ *+' conftest.er1 >conftest.err
14323 cat conftest.err >&5
14324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14325 (exit $ac_status); } &&
14326 { ac_try='test -z "$ac_c_werror_flag"
14327 || test ! -s conftest.err'
14328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14329 (eval $ac_try) 2>&5
14331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14332 (exit $ac_status); }; } &&
14333 { ac_try='test -s conftest$ac_exeext'
14334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14335 (eval $ac_try) 2>&5
14337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14338 (exit $ac_status); }; }; then
14339 ac_cv_lib_m_cpowl=yes
14341 echo "$as_me: failed program was:" >&5
14342 sed 's/^/| /' conftest.$ac_ext >&5
14344 ac_cv_lib_m_cpowl=no
14346 rm -f conftest.err conftest.$ac_objext \
14347 conftest$ac_exeext conftest.$ac_ext
14348 LIBS=$ac_check_lib_save_LIBS
14350 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
14351 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
14352 if test $ac_cv_lib_m_cpowl = yes; then
14354 cat >>confdefs.h <<\_ACEOF
14355 #define HAVE_CPOWL 1
14360 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
14361 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
14362 if test "${ac_cv_lib_m_roundf+set}" = set; then
14363 echo $ECHO_N "(cached) $ECHO_C" >&6
14365 ac_check_lib_save_LIBS=$LIBS
14367 if test x$gcc_no_link = xyes; then
14368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14370 { (exit 1); exit 1; }; }
14372 cat >conftest.$ac_ext <<_ACEOF
14375 cat confdefs.h >>conftest.$ac_ext
14376 cat >>conftest.$ac_ext <<_ACEOF
14377 /* end confdefs.h. */
14379 /* Override any gcc2 internal prototype to avoid an error. */
14383 /* We use char because int might match the return type of a gcc2
14384 builtin and then its argument prototype would still apply. */
14394 rm -f conftest.$ac_objext conftest$ac_exeext
14395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14396 (eval $ac_link) 2>conftest.er1
14398 grep -v '^ *+' conftest.er1 >conftest.err
14400 cat conftest.err >&5
14401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14402 (exit $ac_status); } &&
14403 { ac_try='test -z "$ac_c_werror_flag"
14404 || test ! -s conftest.err'
14405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14406 (eval $ac_try) 2>&5
14408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14409 (exit $ac_status); }; } &&
14410 { ac_try='test -s conftest$ac_exeext'
14411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14412 (eval $ac_try) 2>&5
14414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14415 (exit $ac_status); }; }; then
14416 ac_cv_lib_m_roundf=yes
14418 echo "$as_me: failed program was:" >&5
14419 sed 's/^/| /' conftest.$ac_ext >&5
14421 ac_cv_lib_m_roundf=no
14423 rm -f conftest.err conftest.$ac_objext \
14424 conftest$ac_exeext conftest.$ac_ext
14425 LIBS=$ac_check_lib_save_LIBS
14427 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
14428 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
14429 if test $ac_cv_lib_m_roundf = yes; then
14431 cat >>confdefs.h <<\_ACEOF
14432 #define HAVE_ROUNDF 1
14437 echo "$as_me:$LINENO: checking for round in -lm" >&5
14438 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
14439 if test "${ac_cv_lib_m_round+set}" = set; then
14440 echo $ECHO_N "(cached) $ECHO_C" >&6
14442 ac_check_lib_save_LIBS=$LIBS
14444 if test x$gcc_no_link = xyes; then
14445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14447 { (exit 1); exit 1; }; }
14449 cat >conftest.$ac_ext <<_ACEOF
14452 cat confdefs.h >>conftest.$ac_ext
14453 cat >>conftest.$ac_ext <<_ACEOF
14454 /* end confdefs.h. */
14456 /* Override any gcc2 internal prototype to avoid an error. */
14460 /* We use char because int might match the return type of a gcc2
14461 builtin and then its argument prototype would still apply. */
14471 rm -f conftest.$ac_objext conftest$ac_exeext
14472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14473 (eval $ac_link) 2>conftest.er1
14475 grep -v '^ *+' conftest.er1 >conftest.err
14477 cat conftest.err >&5
14478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); } &&
14480 { ac_try='test -z "$ac_c_werror_flag"
14481 || test ! -s conftest.err'
14482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14483 (eval $ac_try) 2>&5
14485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486 (exit $ac_status); }; } &&
14487 { ac_try='test -s conftest$ac_exeext'
14488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14489 (eval $ac_try) 2>&5
14491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 (exit $ac_status); }; }; then
14493 ac_cv_lib_m_round=yes
14495 echo "$as_me: failed program was:" >&5
14496 sed 's/^/| /' conftest.$ac_ext >&5
14498 ac_cv_lib_m_round=no
14500 rm -f conftest.err conftest.$ac_objext \
14501 conftest$ac_exeext conftest.$ac_ext
14502 LIBS=$ac_check_lib_save_LIBS
14504 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
14505 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
14506 if test $ac_cv_lib_m_round = yes; then
14508 cat >>confdefs.h <<\_ACEOF
14509 #define HAVE_ROUND 1
14514 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
14515 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
14516 if test "${ac_cv_lib_m_roundl+set}" = set; then
14517 echo $ECHO_N "(cached) $ECHO_C" >&6
14519 ac_check_lib_save_LIBS=$LIBS
14521 if test x$gcc_no_link = xyes; then
14522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14524 { (exit 1); exit 1; }; }
14526 cat >conftest.$ac_ext <<_ACEOF
14529 cat confdefs.h >>conftest.$ac_ext
14530 cat >>conftest.$ac_ext <<_ACEOF
14531 /* end confdefs.h. */
14533 /* Override any gcc2 internal prototype to avoid an error. */
14537 /* We use char because int might match the return type of a gcc2
14538 builtin and then its argument prototype would still apply. */
14548 rm -f conftest.$ac_objext conftest$ac_exeext
14549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14550 (eval $ac_link) 2>conftest.er1
14552 grep -v '^ *+' conftest.er1 >conftest.err
14554 cat conftest.err >&5
14555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14556 (exit $ac_status); } &&
14557 { ac_try='test -z "$ac_c_werror_flag"
14558 || test ! -s conftest.err'
14559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14560 (eval $ac_try) 2>&5
14562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14563 (exit $ac_status); }; } &&
14564 { ac_try='test -s conftest$ac_exeext'
14565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14566 (eval $ac_try) 2>&5
14568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569 (exit $ac_status); }; }; then
14570 ac_cv_lib_m_roundl=yes
14572 echo "$as_me: failed program was:" >&5
14573 sed 's/^/| /' conftest.$ac_ext >&5
14575 ac_cv_lib_m_roundl=no
14577 rm -f conftest.err conftest.$ac_objext \
14578 conftest$ac_exeext conftest.$ac_ext
14579 LIBS=$ac_check_lib_save_LIBS
14581 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
14582 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
14583 if test $ac_cv_lib_m_roundl = yes; then
14585 cat >>confdefs.h <<\_ACEOF
14586 #define HAVE_ROUNDL 1
14591 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
14592 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
14593 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
14594 echo $ECHO_N "(cached) $ECHO_C" >&6
14596 ac_check_lib_save_LIBS=$LIBS
14598 if test x$gcc_no_link = xyes; then
14599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14601 { (exit 1); exit 1; }; }
14603 cat >conftest.$ac_ext <<_ACEOF
14606 cat confdefs.h >>conftest.$ac_ext
14607 cat >>conftest.$ac_ext <<_ACEOF
14608 /* end confdefs.h. */
14610 /* Override any gcc2 internal prototype to avoid an error. */
14614 /* We use char because int might match the return type of a gcc2
14615 builtin and then its argument prototype would still apply. */
14625 rm -f conftest.$ac_objext conftest$ac_exeext
14626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14627 (eval $ac_link) 2>conftest.er1
14629 grep -v '^ *+' conftest.er1 >conftest.err
14631 cat conftest.err >&5
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); } &&
14634 { ac_try='test -z "$ac_c_werror_flag"
14635 || test ! -s conftest.err'
14636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14637 (eval $ac_try) 2>&5
14639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640 (exit $ac_status); }; } &&
14641 { ac_try='test -s conftest$ac_exeext'
14642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14643 (eval $ac_try) 2>&5
14645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646 (exit $ac_status); }; }; then
14647 ac_cv_lib_m_scalbnf=yes
14649 echo "$as_me: failed program was:" >&5
14650 sed 's/^/| /' conftest.$ac_ext >&5
14652 ac_cv_lib_m_scalbnf=no
14654 rm -f conftest.err conftest.$ac_objext \
14655 conftest$ac_exeext conftest.$ac_ext
14656 LIBS=$ac_check_lib_save_LIBS
14658 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
14659 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
14660 if test $ac_cv_lib_m_scalbnf = yes; then
14662 cat >>confdefs.h <<\_ACEOF
14663 #define HAVE_SCALBNF 1
14668 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
14669 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
14670 if test "${ac_cv_lib_m_scalbn+set}" = set; then
14671 echo $ECHO_N "(cached) $ECHO_C" >&6
14673 ac_check_lib_save_LIBS=$LIBS
14675 if test x$gcc_no_link = xyes; then
14676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14678 { (exit 1); exit 1; }; }
14680 cat >conftest.$ac_ext <<_ACEOF
14683 cat confdefs.h >>conftest.$ac_ext
14684 cat >>conftest.$ac_ext <<_ACEOF
14685 /* end confdefs.h. */
14687 /* Override any gcc2 internal prototype to avoid an error. */
14691 /* We use char because int might match the return type of a gcc2
14692 builtin and then its argument prototype would still apply. */
14702 rm -f conftest.$ac_objext conftest$ac_exeext
14703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14704 (eval $ac_link) 2>conftest.er1
14706 grep -v '^ *+' conftest.er1 >conftest.err
14708 cat conftest.err >&5
14709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14710 (exit $ac_status); } &&
14711 { ac_try='test -z "$ac_c_werror_flag"
14712 || test ! -s conftest.err'
14713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14714 (eval $ac_try) 2>&5
14716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14717 (exit $ac_status); }; } &&
14718 { ac_try='test -s conftest$ac_exeext'
14719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14720 (eval $ac_try) 2>&5
14722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14723 (exit $ac_status); }; }; then
14724 ac_cv_lib_m_scalbn=yes
14726 echo "$as_me: failed program was:" >&5
14727 sed 's/^/| /' conftest.$ac_ext >&5
14729 ac_cv_lib_m_scalbn=no
14731 rm -f conftest.err conftest.$ac_objext \
14732 conftest$ac_exeext conftest.$ac_ext
14733 LIBS=$ac_check_lib_save_LIBS
14735 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
14736 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
14737 if test $ac_cv_lib_m_scalbn = yes; then
14739 cat >>confdefs.h <<\_ACEOF
14740 #define HAVE_SCALBN 1
14745 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
14746 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
14747 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
14748 echo $ECHO_N "(cached) $ECHO_C" >&6
14750 ac_check_lib_save_LIBS=$LIBS
14752 if test x$gcc_no_link = xyes; then
14753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14755 { (exit 1); exit 1; }; }
14757 cat >conftest.$ac_ext <<_ACEOF
14760 cat confdefs.h >>conftest.$ac_ext
14761 cat >>conftest.$ac_ext <<_ACEOF
14762 /* end confdefs.h. */
14764 /* Override any gcc2 internal prototype to avoid an error. */
14768 /* We use char because int might match the return type of a gcc2
14769 builtin and then its argument prototype would still apply. */
14779 rm -f conftest.$ac_objext conftest$ac_exeext
14780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14781 (eval $ac_link) 2>conftest.er1
14783 grep -v '^ *+' conftest.er1 >conftest.err
14785 cat conftest.err >&5
14786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14787 (exit $ac_status); } &&
14788 { ac_try='test -z "$ac_c_werror_flag"
14789 || test ! -s conftest.err'
14790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14791 (eval $ac_try) 2>&5
14793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14794 (exit $ac_status); }; } &&
14795 { ac_try='test -s conftest$ac_exeext'
14796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14797 (eval $ac_try) 2>&5
14799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14800 (exit $ac_status); }; }; then
14801 ac_cv_lib_m_scalbnl=yes
14803 echo "$as_me: failed program was:" >&5
14804 sed 's/^/| /' conftest.$ac_ext >&5
14806 ac_cv_lib_m_scalbnl=no
14808 rm -f conftest.err conftest.$ac_objext \
14809 conftest$ac_exeext conftest.$ac_ext
14810 LIBS=$ac_check_lib_save_LIBS
14812 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
14813 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
14814 if test $ac_cv_lib_m_scalbnl = yes; then
14816 cat >>confdefs.h <<\_ACEOF
14817 #define HAVE_SCALBNL 1
14822 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
14823 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
14824 if test "${ac_cv_lib_m_sinf+set}" = set; then
14825 echo $ECHO_N "(cached) $ECHO_C" >&6
14827 ac_check_lib_save_LIBS=$LIBS
14829 if test x$gcc_no_link = xyes; then
14830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14832 { (exit 1); exit 1; }; }
14834 cat >conftest.$ac_ext <<_ACEOF
14837 cat confdefs.h >>conftest.$ac_ext
14838 cat >>conftest.$ac_ext <<_ACEOF
14839 /* end confdefs.h. */
14841 /* Override any gcc2 internal prototype to avoid an error. */
14845 /* We use char because int might match the return type of a gcc2
14846 builtin and then its argument prototype would still apply. */
14856 rm -f conftest.$ac_objext conftest$ac_exeext
14857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14858 (eval $ac_link) 2>conftest.er1
14860 grep -v '^ *+' conftest.er1 >conftest.err
14862 cat conftest.err >&5
14863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14864 (exit $ac_status); } &&
14865 { ac_try='test -z "$ac_c_werror_flag"
14866 || test ! -s conftest.err'
14867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14868 (eval $ac_try) 2>&5
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); }; } &&
14872 { ac_try='test -s conftest$ac_exeext'
14873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14874 (eval $ac_try) 2>&5
14876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14877 (exit $ac_status); }; }; then
14878 ac_cv_lib_m_sinf=yes
14880 echo "$as_me: failed program was:" >&5
14881 sed 's/^/| /' conftest.$ac_ext >&5
14883 ac_cv_lib_m_sinf=no
14885 rm -f conftest.err conftest.$ac_objext \
14886 conftest$ac_exeext conftest.$ac_ext
14887 LIBS=$ac_check_lib_save_LIBS
14889 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
14890 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
14891 if test $ac_cv_lib_m_sinf = yes; then
14893 cat >>confdefs.h <<\_ACEOF
14894 #define HAVE_SINF 1
14899 echo "$as_me:$LINENO: checking for sin in -lm" >&5
14900 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
14901 if test "${ac_cv_lib_m_sin+set}" = set; then
14902 echo $ECHO_N "(cached) $ECHO_C" >&6
14904 ac_check_lib_save_LIBS=$LIBS
14906 if test x$gcc_no_link = xyes; then
14907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14909 { (exit 1); exit 1; }; }
14911 cat >conftest.$ac_ext <<_ACEOF
14914 cat confdefs.h >>conftest.$ac_ext
14915 cat >>conftest.$ac_ext <<_ACEOF
14916 /* end confdefs.h. */
14918 /* Override any gcc2 internal prototype to avoid an error. */
14922 /* We use char because int might match the return type of a gcc2
14923 builtin and then its argument prototype would still apply. */
14933 rm -f conftest.$ac_objext conftest$ac_exeext
14934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14935 (eval $ac_link) 2>conftest.er1
14937 grep -v '^ *+' conftest.er1 >conftest.err
14939 cat conftest.err >&5
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); } &&
14942 { ac_try='test -z "$ac_c_werror_flag"
14943 || test ! -s conftest.err'
14944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14945 (eval $ac_try) 2>&5
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); }; } &&
14949 { ac_try='test -s conftest$ac_exeext'
14950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14951 (eval $ac_try) 2>&5
14953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14954 (exit $ac_status); }; }; then
14955 ac_cv_lib_m_sin=yes
14957 echo "$as_me: failed program was:" >&5
14958 sed 's/^/| /' conftest.$ac_ext >&5
14962 rm -f conftest.err conftest.$ac_objext \
14963 conftest$ac_exeext conftest.$ac_ext
14964 LIBS=$ac_check_lib_save_LIBS
14966 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
14967 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
14968 if test $ac_cv_lib_m_sin = yes; then
14970 cat >>confdefs.h <<\_ACEOF
14976 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
14977 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
14978 if test "${ac_cv_lib_m_sinl+set}" = set; then
14979 echo $ECHO_N "(cached) $ECHO_C" >&6
14981 ac_check_lib_save_LIBS=$LIBS
14983 if test x$gcc_no_link = xyes; then
14984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14986 { (exit 1); exit 1; }; }
14988 cat >conftest.$ac_ext <<_ACEOF
14991 cat confdefs.h >>conftest.$ac_ext
14992 cat >>conftest.$ac_ext <<_ACEOF
14993 /* end confdefs.h. */
14995 /* Override any gcc2 internal prototype to avoid an error. */
14999 /* We use char because int might match the return type of a gcc2
15000 builtin and then its argument prototype would still apply. */
15010 rm -f conftest.$ac_objext conftest$ac_exeext
15011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15012 (eval $ac_link) 2>conftest.er1
15014 grep -v '^ *+' conftest.er1 >conftest.err
15016 cat conftest.err >&5
15017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15018 (exit $ac_status); } &&
15019 { ac_try='test -z "$ac_c_werror_flag"
15020 || test ! -s conftest.err'
15021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15022 (eval $ac_try) 2>&5
15024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15025 (exit $ac_status); }; } &&
15026 { ac_try='test -s conftest$ac_exeext'
15027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15028 (eval $ac_try) 2>&5
15030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15031 (exit $ac_status); }; }; then
15032 ac_cv_lib_m_sinl=yes
15034 echo "$as_me: failed program was:" >&5
15035 sed 's/^/| /' conftest.$ac_ext >&5
15037 ac_cv_lib_m_sinl=no
15039 rm -f conftest.err conftest.$ac_objext \
15040 conftest$ac_exeext conftest.$ac_ext
15041 LIBS=$ac_check_lib_save_LIBS
15043 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
15044 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
15045 if test $ac_cv_lib_m_sinl = yes; then
15047 cat >>confdefs.h <<\_ACEOF
15048 #define HAVE_SINL 1
15053 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
15054 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
15055 if test "${ac_cv_lib_m_csinf+set}" = set; then
15056 echo $ECHO_N "(cached) $ECHO_C" >&6
15058 ac_check_lib_save_LIBS=$LIBS
15060 if test x$gcc_no_link = xyes; then
15061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15063 { (exit 1); exit 1; }; }
15065 cat >conftest.$ac_ext <<_ACEOF
15068 cat confdefs.h >>conftest.$ac_ext
15069 cat >>conftest.$ac_ext <<_ACEOF
15070 /* end confdefs.h. */
15072 /* Override any gcc2 internal prototype to avoid an error. */
15076 /* We use char because int might match the return type of a gcc2
15077 builtin and then its argument prototype would still apply. */
15087 rm -f conftest.$ac_objext conftest$ac_exeext
15088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15089 (eval $ac_link) 2>conftest.er1
15091 grep -v '^ *+' conftest.er1 >conftest.err
15093 cat conftest.err >&5
15094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095 (exit $ac_status); } &&
15096 { ac_try='test -z "$ac_c_werror_flag"
15097 || test ! -s conftest.err'
15098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15099 (eval $ac_try) 2>&5
15101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15102 (exit $ac_status); }; } &&
15103 { ac_try='test -s conftest$ac_exeext'
15104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15105 (eval $ac_try) 2>&5
15107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15108 (exit $ac_status); }; }; then
15109 ac_cv_lib_m_csinf=yes
15111 echo "$as_me: failed program was:" >&5
15112 sed 's/^/| /' conftest.$ac_ext >&5
15114 ac_cv_lib_m_csinf=no
15116 rm -f conftest.err conftest.$ac_objext \
15117 conftest$ac_exeext conftest.$ac_ext
15118 LIBS=$ac_check_lib_save_LIBS
15120 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
15121 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
15122 if test $ac_cv_lib_m_csinf = yes; then
15124 cat >>confdefs.h <<\_ACEOF
15125 #define HAVE_CSINF 1
15130 echo "$as_me:$LINENO: checking for csin in -lm" >&5
15131 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
15132 if test "${ac_cv_lib_m_csin+set}" = set; then
15133 echo $ECHO_N "(cached) $ECHO_C" >&6
15135 ac_check_lib_save_LIBS=$LIBS
15137 if test x$gcc_no_link = xyes; then
15138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15140 { (exit 1); exit 1; }; }
15142 cat >conftest.$ac_ext <<_ACEOF
15145 cat confdefs.h >>conftest.$ac_ext
15146 cat >>conftest.$ac_ext <<_ACEOF
15147 /* end confdefs.h. */
15149 /* Override any gcc2 internal prototype to avoid an error. */
15153 /* We use char because int might match the return type of a gcc2
15154 builtin and then its argument prototype would still apply. */
15164 rm -f conftest.$ac_objext conftest$ac_exeext
15165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15166 (eval $ac_link) 2>conftest.er1
15168 grep -v '^ *+' conftest.er1 >conftest.err
15170 cat conftest.err >&5
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); } &&
15173 { ac_try='test -z "$ac_c_werror_flag"
15174 || test ! -s conftest.err'
15175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15176 (eval $ac_try) 2>&5
15178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15179 (exit $ac_status); }; } &&
15180 { ac_try='test -s conftest$ac_exeext'
15181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15182 (eval $ac_try) 2>&5
15184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15185 (exit $ac_status); }; }; then
15186 ac_cv_lib_m_csin=yes
15188 echo "$as_me: failed program was:" >&5
15189 sed 's/^/| /' conftest.$ac_ext >&5
15191 ac_cv_lib_m_csin=no
15193 rm -f conftest.err conftest.$ac_objext \
15194 conftest$ac_exeext conftest.$ac_ext
15195 LIBS=$ac_check_lib_save_LIBS
15197 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
15198 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
15199 if test $ac_cv_lib_m_csin = yes; then
15201 cat >>confdefs.h <<\_ACEOF
15202 #define HAVE_CSIN 1
15207 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
15208 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
15209 if test "${ac_cv_lib_m_csinl+set}" = set; then
15210 echo $ECHO_N "(cached) $ECHO_C" >&6
15212 ac_check_lib_save_LIBS=$LIBS
15214 if test x$gcc_no_link = xyes; then
15215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15217 { (exit 1); exit 1; }; }
15219 cat >conftest.$ac_ext <<_ACEOF
15222 cat confdefs.h >>conftest.$ac_ext
15223 cat >>conftest.$ac_ext <<_ACEOF
15224 /* end confdefs.h. */
15226 /* Override any gcc2 internal prototype to avoid an error. */
15230 /* We use char because int might match the return type of a gcc2
15231 builtin and then its argument prototype would still apply. */
15241 rm -f conftest.$ac_objext conftest$ac_exeext
15242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15243 (eval $ac_link) 2>conftest.er1
15245 grep -v '^ *+' conftest.er1 >conftest.err
15247 cat conftest.err >&5
15248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15249 (exit $ac_status); } &&
15250 { ac_try='test -z "$ac_c_werror_flag"
15251 || test ! -s conftest.err'
15252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15253 (eval $ac_try) 2>&5
15255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256 (exit $ac_status); }; } &&
15257 { ac_try='test -s conftest$ac_exeext'
15258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15259 (eval $ac_try) 2>&5
15261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15262 (exit $ac_status); }; }; then
15263 ac_cv_lib_m_csinl=yes
15265 echo "$as_me: failed program was:" >&5
15266 sed 's/^/| /' conftest.$ac_ext >&5
15268 ac_cv_lib_m_csinl=no
15270 rm -f conftest.err conftest.$ac_objext \
15271 conftest$ac_exeext conftest.$ac_ext
15272 LIBS=$ac_check_lib_save_LIBS
15274 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
15275 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
15276 if test $ac_cv_lib_m_csinl = yes; then
15278 cat >>confdefs.h <<\_ACEOF
15279 #define HAVE_CSINL 1
15284 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
15285 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
15286 if test "${ac_cv_lib_m_sinhf+set}" = set; then
15287 echo $ECHO_N "(cached) $ECHO_C" >&6
15289 ac_check_lib_save_LIBS=$LIBS
15291 if test x$gcc_no_link = xyes; then
15292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15294 { (exit 1); exit 1; }; }
15296 cat >conftest.$ac_ext <<_ACEOF
15299 cat confdefs.h >>conftest.$ac_ext
15300 cat >>conftest.$ac_ext <<_ACEOF
15301 /* end confdefs.h. */
15303 /* Override any gcc2 internal prototype to avoid an error. */
15307 /* We use char because int might match the return type of a gcc2
15308 builtin and then its argument prototype would still apply. */
15318 rm -f conftest.$ac_objext conftest$ac_exeext
15319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15320 (eval $ac_link) 2>conftest.er1
15322 grep -v '^ *+' conftest.er1 >conftest.err
15324 cat conftest.err >&5
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 (exit $ac_status); } &&
15327 { ac_try='test -z "$ac_c_werror_flag"
15328 || test ! -s conftest.err'
15329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15330 (eval $ac_try) 2>&5
15332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15333 (exit $ac_status); }; } &&
15334 { ac_try='test -s conftest$ac_exeext'
15335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15336 (eval $ac_try) 2>&5
15338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15339 (exit $ac_status); }; }; then
15340 ac_cv_lib_m_sinhf=yes
15342 echo "$as_me: failed program was:" >&5
15343 sed 's/^/| /' conftest.$ac_ext >&5
15345 ac_cv_lib_m_sinhf=no
15347 rm -f conftest.err conftest.$ac_objext \
15348 conftest$ac_exeext conftest.$ac_ext
15349 LIBS=$ac_check_lib_save_LIBS
15351 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
15352 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
15353 if test $ac_cv_lib_m_sinhf = yes; then
15355 cat >>confdefs.h <<\_ACEOF
15356 #define HAVE_SINHF 1
15361 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
15362 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
15363 if test "${ac_cv_lib_m_sinh+set}" = set; then
15364 echo $ECHO_N "(cached) $ECHO_C" >&6
15366 ac_check_lib_save_LIBS=$LIBS
15368 if test x$gcc_no_link = xyes; then
15369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15371 { (exit 1); exit 1; }; }
15373 cat >conftest.$ac_ext <<_ACEOF
15376 cat confdefs.h >>conftest.$ac_ext
15377 cat >>conftest.$ac_ext <<_ACEOF
15378 /* end confdefs.h. */
15380 /* Override any gcc2 internal prototype to avoid an error. */
15384 /* We use char because int might match the return type of a gcc2
15385 builtin and then its argument prototype would still apply. */
15395 rm -f conftest.$ac_objext conftest$ac_exeext
15396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15397 (eval $ac_link) 2>conftest.er1
15399 grep -v '^ *+' conftest.er1 >conftest.err
15401 cat conftest.err >&5
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); } &&
15404 { ac_try='test -z "$ac_c_werror_flag"
15405 || test ! -s conftest.err'
15406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15407 (eval $ac_try) 2>&5
15409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15410 (exit $ac_status); }; } &&
15411 { ac_try='test -s conftest$ac_exeext'
15412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15413 (eval $ac_try) 2>&5
15415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15416 (exit $ac_status); }; }; then
15417 ac_cv_lib_m_sinh=yes
15419 echo "$as_me: failed program was:" >&5
15420 sed 's/^/| /' conftest.$ac_ext >&5
15422 ac_cv_lib_m_sinh=no
15424 rm -f conftest.err conftest.$ac_objext \
15425 conftest$ac_exeext conftest.$ac_ext
15426 LIBS=$ac_check_lib_save_LIBS
15428 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
15429 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
15430 if test $ac_cv_lib_m_sinh = yes; then
15432 cat >>confdefs.h <<\_ACEOF
15433 #define HAVE_SINH 1
15438 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
15439 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
15440 if test "${ac_cv_lib_m_sinhl+set}" = set; then
15441 echo $ECHO_N "(cached) $ECHO_C" >&6
15443 ac_check_lib_save_LIBS=$LIBS
15445 if test x$gcc_no_link = xyes; then
15446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15448 { (exit 1); exit 1; }; }
15450 cat >conftest.$ac_ext <<_ACEOF
15453 cat confdefs.h >>conftest.$ac_ext
15454 cat >>conftest.$ac_ext <<_ACEOF
15455 /* end confdefs.h. */
15457 /* Override any gcc2 internal prototype to avoid an error. */
15461 /* We use char because int might match the return type of a gcc2
15462 builtin and then its argument prototype would still apply. */
15472 rm -f conftest.$ac_objext conftest$ac_exeext
15473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15474 (eval $ac_link) 2>conftest.er1
15476 grep -v '^ *+' conftest.er1 >conftest.err
15478 cat conftest.err >&5
15479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15480 (exit $ac_status); } &&
15481 { ac_try='test -z "$ac_c_werror_flag"
15482 || test ! -s conftest.err'
15483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15484 (eval $ac_try) 2>&5
15486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15487 (exit $ac_status); }; } &&
15488 { ac_try='test -s conftest$ac_exeext'
15489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15490 (eval $ac_try) 2>&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); }; }; then
15494 ac_cv_lib_m_sinhl=yes
15496 echo "$as_me: failed program was:" >&5
15497 sed 's/^/| /' conftest.$ac_ext >&5
15499 ac_cv_lib_m_sinhl=no
15501 rm -f conftest.err conftest.$ac_objext \
15502 conftest$ac_exeext conftest.$ac_ext
15503 LIBS=$ac_check_lib_save_LIBS
15505 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
15506 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
15507 if test $ac_cv_lib_m_sinhl = yes; then
15509 cat >>confdefs.h <<\_ACEOF
15510 #define HAVE_SINHL 1
15515 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
15516 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
15517 if test "${ac_cv_lib_m_csinhf+set}" = set; then
15518 echo $ECHO_N "(cached) $ECHO_C" >&6
15520 ac_check_lib_save_LIBS=$LIBS
15522 if test x$gcc_no_link = xyes; then
15523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15525 { (exit 1); exit 1; }; }
15527 cat >conftest.$ac_ext <<_ACEOF
15530 cat confdefs.h >>conftest.$ac_ext
15531 cat >>conftest.$ac_ext <<_ACEOF
15532 /* end confdefs.h. */
15534 /* Override any gcc2 internal prototype to avoid an error. */
15538 /* We use char because int might match the return type of a gcc2
15539 builtin and then its argument prototype would still apply. */
15549 rm -f conftest.$ac_objext conftest$ac_exeext
15550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15551 (eval $ac_link) 2>conftest.er1
15553 grep -v '^ *+' conftest.er1 >conftest.err
15555 cat conftest.err >&5
15556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15557 (exit $ac_status); } &&
15558 { ac_try='test -z "$ac_c_werror_flag"
15559 || test ! -s conftest.err'
15560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15561 (eval $ac_try) 2>&5
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); }; } &&
15565 { ac_try='test -s conftest$ac_exeext'
15566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15567 (eval $ac_try) 2>&5
15569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15570 (exit $ac_status); }; }; then
15571 ac_cv_lib_m_csinhf=yes
15573 echo "$as_me: failed program was:" >&5
15574 sed 's/^/| /' conftest.$ac_ext >&5
15576 ac_cv_lib_m_csinhf=no
15578 rm -f conftest.err conftest.$ac_objext \
15579 conftest$ac_exeext conftest.$ac_ext
15580 LIBS=$ac_check_lib_save_LIBS
15582 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
15583 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
15584 if test $ac_cv_lib_m_csinhf = yes; then
15586 cat >>confdefs.h <<\_ACEOF
15587 #define HAVE_CSINHF 1
15592 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
15593 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
15594 if test "${ac_cv_lib_m_csinh+set}" = set; then
15595 echo $ECHO_N "(cached) $ECHO_C" >&6
15597 ac_check_lib_save_LIBS=$LIBS
15599 if test x$gcc_no_link = xyes; then
15600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15602 { (exit 1); exit 1; }; }
15604 cat >conftest.$ac_ext <<_ACEOF
15607 cat confdefs.h >>conftest.$ac_ext
15608 cat >>conftest.$ac_ext <<_ACEOF
15609 /* end confdefs.h. */
15611 /* Override any gcc2 internal prototype to avoid an error. */
15615 /* We use char because int might match the return type of a gcc2
15616 builtin and then its argument prototype would still apply. */
15626 rm -f conftest.$ac_objext conftest$ac_exeext
15627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15628 (eval $ac_link) 2>conftest.er1
15630 grep -v '^ *+' conftest.er1 >conftest.err
15632 cat conftest.err >&5
15633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15634 (exit $ac_status); } &&
15635 { ac_try='test -z "$ac_c_werror_flag"
15636 || test ! -s conftest.err'
15637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15638 (eval $ac_try) 2>&5
15640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15641 (exit $ac_status); }; } &&
15642 { ac_try='test -s conftest$ac_exeext'
15643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15644 (eval $ac_try) 2>&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); }; }; then
15648 ac_cv_lib_m_csinh=yes
15650 echo "$as_me: failed program was:" >&5
15651 sed 's/^/| /' conftest.$ac_ext >&5
15653 ac_cv_lib_m_csinh=no
15655 rm -f conftest.err conftest.$ac_objext \
15656 conftest$ac_exeext conftest.$ac_ext
15657 LIBS=$ac_check_lib_save_LIBS
15659 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
15660 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
15661 if test $ac_cv_lib_m_csinh = yes; then
15663 cat >>confdefs.h <<\_ACEOF
15664 #define HAVE_CSINH 1
15669 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
15670 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
15671 if test "${ac_cv_lib_m_csinhl+set}" = set; then
15672 echo $ECHO_N "(cached) $ECHO_C" >&6
15674 ac_check_lib_save_LIBS=$LIBS
15676 if test x$gcc_no_link = xyes; then
15677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15679 { (exit 1); exit 1; }; }
15681 cat >conftest.$ac_ext <<_ACEOF
15684 cat confdefs.h >>conftest.$ac_ext
15685 cat >>conftest.$ac_ext <<_ACEOF
15686 /* end confdefs.h. */
15688 /* Override any gcc2 internal prototype to avoid an error. */
15692 /* We use char because int might match the return type of a gcc2
15693 builtin and then its argument prototype would still apply. */
15703 rm -f conftest.$ac_objext conftest$ac_exeext
15704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15705 (eval $ac_link) 2>conftest.er1
15707 grep -v '^ *+' conftest.er1 >conftest.err
15709 cat conftest.err >&5
15710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15711 (exit $ac_status); } &&
15712 { ac_try='test -z "$ac_c_werror_flag"
15713 || test ! -s conftest.err'
15714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15715 (eval $ac_try) 2>&5
15717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15718 (exit $ac_status); }; } &&
15719 { ac_try='test -s conftest$ac_exeext'
15720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15721 (eval $ac_try) 2>&5
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); }; }; then
15725 ac_cv_lib_m_csinhl=yes
15727 echo "$as_me: failed program was:" >&5
15728 sed 's/^/| /' conftest.$ac_ext >&5
15730 ac_cv_lib_m_csinhl=no
15732 rm -f conftest.err conftest.$ac_objext \
15733 conftest$ac_exeext conftest.$ac_ext
15734 LIBS=$ac_check_lib_save_LIBS
15736 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
15737 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
15738 if test $ac_cv_lib_m_csinhl = yes; then
15740 cat >>confdefs.h <<\_ACEOF
15741 #define HAVE_CSINHL 1
15746 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
15747 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
15748 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
15749 echo $ECHO_N "(cached) $ECHO_C" >&6
15751 ac_check_lib_save_LIBS=$LIBS
15753 if test x$gcc_no_link = xyes; then
15754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15756 { (exit 1); exit 1; }; }
15758 cat >conftest.$ac_ext <<_ACEOF
15761 cat confdefs.h >>conftest.$ac_ext
15762 cat >>conftest.$ac_ext <<_ACEOF
15763 /* end confdefs.h. */
15765 /* Override any gcc2 internal prototype to avoid an error. */
15769 /* We use char because int might match the return type of a gcc2
15770 builtin and then its argument prototype would still apply. */
15780 rm -f conftest.$ac_objext conftest$ac_exeext
15781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15782 (eval $ac_link) 2>conftest.er1
15784 grep -v '^ *+' conftest.er1 >conftest.err
15786 cat conftest.err >&5
15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788 (exit $ac_status); } &&
15789 { ac_try='test -z "$ac_c_werror_flag"
15790 || test ! -s conftest.err'
15791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15792 (eval $ac_try) 2>&5
15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795 (exit $ac_status); }; } &&
15796 { ac_try='test -s conftest$ac_exeext'
15797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15798 (eval $ac_try) 2>&5
15800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15801 (exit $ac_status); }; }; then
15802 ac_cv_lib_m_sqrtf=yes
15804 echo "$as_me: failed program was:" >&5
15805 sed 's/^/| /' conftest.$ac_ext >&5
15807 ac_cv_lib_m_sqrtf=no
15809 rm -f conftest.err conftest.$ac_objext \
15810 conftest$ac_exeext conftest.$ac_ext
15811 LIBS=$ac_check_lib_save_LIBS
15813 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
15814 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
15815 if test $ac_cv_lib_m_sqrtf = yes; then
15817 cat >>confdefs.h <<\_ACEOF
15818 #define HAVE_SQRTF 1
15823 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
15824 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
15825 if test "${ac_cv_lib_m_sqrt+set}" = set; then
15826 echo $ECHO_N "(cached) $ECHO_C" >&6
15828 ac_check_lib_save_LIBS=$LIBS
15830 if test x$gcc_no_link = xyes; then
15831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15833 { (exit 1); exit 1; }; }
15835 cat >conftest.$ac_ext <<_ACEOF
15838 cat confdefs.h >>conftest.$ac_ext
15839 cat >>conftest.$ac_ext <<_ACEOF
15840 /* end confdefs.h. */
15842 /* Override any gcc2 internal prototype to avoid an error. */
15846 /* We use char because int might match the return type of a gcc2
15847 builtin and then its argument prototype would still apply. */
15857 rm -f conftest.$ac_objext conftest$ac_exeext
15858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15859 (eval $ac_link) 2>conftest.er1
15861 grep -v '^ *+' conftest.er1 >conftest.err
15863 cat conftest.err >&5
15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865 (exit $ac_status); } &&
15866 { ac_try='test -z "$ac_c_werror_flag"
15867 || test ! -s conftest.err'
15868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15869 (eval $ac_try) 2>&5
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); }; } &&
15873 { ac_try='test -s conftest$ac_exeext'
15874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15875 (eval $ac_try) 2>&5
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); }; }; then
15879 ac_cv_lib_m_sqrt=yes
15881 echo "$as_me: failed program was:" >&5
15882 sed 's/^/| /' conftest.$ac_ext >&5
15884 ac_cv_lib_m_sqrt=no
15886 rm -f conftest.err conftest.$ac_objext \
15887 conftest$ac_exeext conftest.$ac_ext
15888 LIBS=$ac_check_lib_save_LIBS
15890 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
15891 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
15892 if test $ac_cv_lib_m_sqrt = yes; then
15894 cat >>confdefs.h <<\_ACEOF
15895 #define HAVE_SQRT 1
15900 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
15901 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
15902 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
15903 echo $ECHO_N "(cached) $ECHO_C" >&6
15905 ac_check_lib_save_LIBS=$LIBS
15907 if test x$gcc_no_link = xyes; then
15908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15910 { (exit 1); exit 1; }; }
15912 cat >conftest.$ac_ext <<_ACEOF
15915 cat confdefs.h >>conftest.$ac_ext
15916 cat >>conftest.$ac_ext <<_ACEOF
15917 /* end confdefs.h. */
15919 /* Override any gcc2 internal prototype to avoid an error. */
15923 /* We use char because int might match the return type of a gcc2
15924 builtin and then its argument prototype would still apply. */
15934 rm -f conftest.$ac_objext conftest$ac_exeext
15935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15936 (eval $ac_link) 2>conftest.er1
15938 grep -v '^ *+' conftest.er1 >conftest.err
15940 cat conftest.err >&5
15941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15942 (exit $ac_status); } &&
15943 { ac_try='test -z "$ac_c_werror_flag"
15944 || test ! -s conftest.err'
15945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15946 (eval $ac_try) 2>&5
15948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15949 (exit $ac_status); }; } &&
15950 { ac_try='test -s conftest$ac_exeext'
15951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15952 (eval $ac_try) 2>&5
15954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955 (exit $ac_status); }; }; then
15956 ac_cv_lib_m_sqrtl=yes
15958 echo "$as_me: failed program was:" >&5
15959 sed 's/^/| /' conftest.$ac_ext >&5
15961 ac_cv_lib_m_sqrtl=no
15963 rm -f conftest.err conftest.$ac_objext \
15964 conftest$ac_exeext conftest.$ac_ext
15965 LIBS=$ac_check_lib_save_LIBS
15967 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
15968 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
15969 if test $ac_cv_lib_m_sqrtl = yes; then
15971 cat >>confdefs.h <<\_ACEOF
15972 #define HAVE_SQRTL 1
15977 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
15978 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
15979 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
15980 echo $ECHO_N "(cached) $ECHO_C" >&6
15982 ac_check_lib_save_LIBS=$LIBS
15984 if test x$gcc_no_link = xyes; then
15985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15987 { (exit 1); exit 1; }; }
15989 cat >conftest.$ac_ext <<_ACEOF
15992 cat confdefs.h >>conftest.$ac_ext
15993 cat >>conftest.$ac_ext <<_ACEOF
15994 /* end confdefs.h. */
15996 /* Override any gcc2 internal prototype to avoid an error. */
16000 /* We use char because int might match the return type of a gcc2
16001 builtin and then its argument prototype would still apply. */
16011 rm -f conftest.$ac_objext conftest$ac_exeext
16012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16013 (eval $ac_link) 2>conftest.er1
16015 grep -v '^ *+' conftest.er1 >conftest.err
16017 cat conftest.err >&5
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); } &&
16020 { ac_try='test -z "$ac_c_werror_flag"
16021 || test ! -s conftest.err'
16022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16023 (eval $ac_try) 2>&5
16025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16026 (exit $ac_status); }; } &&
16027 { ac_try='test -s conftest$ac_exeext'
16028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16029 (eval $ac_try) 2>&5
16031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16032 (exit $ac_status); }; }; then
16033 ac_cv_lib_m_csqrtf=yes
16035 echo "$as_me: failed program was:" >&5
16036 sed 's/^/| /' conftest.$ac_ext >&5
16038 ac_cv_lib_m_csqrtf=no
16040 rm -f conftest.err conftest.$ac_objext \
16041 conftest$ac_exeext conftest.$ac_ext
16042 LIBS=$ac_check_lib_save_LIBS
16044 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
16045 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
16046 if test $ac_cv_lib_m_csqrtf = yes; then
16048 cat >>confdefs.h <<\_ACEOF
16049 #define HAVE_CSQRTF 1
16054 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
16055 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
16056 if test "${ac_cv_lib_m_csqrt+set}" = set; then
16057 echo $ECHO_N "(cached) $ECHO_C" >&6
16059 ac_check_lib_save_LIBS=$LIBS
16061 if test x$gcc_no_link = xyes; then
16062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16064 { (exit 1); exit 1; }; }
16066 cat >conftest.$ac_ext <<_ACEOF
16069 cat confdefs.h >>conftest.$ac_ext
16070 cat >>conftest.$ac_ext <<_ACEOF
16071 /* end confdefs.h. */
16073 /* Override any gcc2 internal prototype to avoid an error. */
16077 /* We use char because int might match the return type of a gcc2
16078 builtin and then its argument prototype would still apply. */
16088 rm -f conftest.$ac_objext conftest$ac_exeext
16089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16090 (eval $ac_link) 2>conftest.er1
16092 grep -v '^ *+' conftest.er1 >conftest.err
16094 cat conftest.err >&5
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); } &&
16097 { ac_try='test -z "$ac_c_werror_flag"
16098 || test ! -s conftest.err'
16099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16100 (eval $ac_try) 2>&5
16102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16103 (exit $ac_status); }; } &&
16104 { ac_try='test -s conftest$ac_exeext'
16105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16106 (eval $ac_try) 2>&5
16108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16109 (exit $ac_status); }; }; then
16110 ac_cv_lib_m_csqrt=yes
16112 echo "$as_me: failed program was:" >&5
16113 sed 's/^/| /' conftest.$ac_ext >&5
16115 ac_cv_lib_m_csqrt=no
16117 rm -f conftest.err conftest.$ac_objext \
16118 conftest$ac_exeext conftest.$ac_ext
16119 LIBS=$ac_check_lib_save_LIBS
16121 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
16122 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
16123 if test $ac_cv_lib_m_csqrt = yes; then
16125 cat >>confdefs.h <<\_ACEOF
16126 #define HAVE_CSQRT 1
16131 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
16132 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
16133 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
16134 echo $ECHO_N "(cached) $ECHO_C" >&6
16136 ac_check_lib_save_LIBS=$LIBS
16138 if test x$gcc_no_link = xyes; then
16139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16141 { (exit 1); exit 1; }; }
16143 cat >conftest.$ac_ext <<_ACEOF
16146 cat confdefs.h >>conftest.$ac_ext
16147 cat >>conftest.$ac_ext <<_ACEOF
16148 /* end confdefs.h. */
16150 /* Override any gcc2 internal prototype to avoid an error. */
16154 /* We use char because int might match the return type of a gcc2
16155 builtin and then its argument prototype would still apply. */
16165 rm -f conftest.$ac_objext conftest$ac_exeext
16166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16167 (eval $ac_link) 2>conftest.er1
16169 grep -v '^ *+' conftest.er1 >conftest.err
16171 cat conftest.err >&5
16172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16173 (exit $ac_status); } &&
16174 { ac_try='test -z "$ac_c_werror_flag"
16175 || test ! -s conftest.err'
16176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16177 (eval $ac_try) 2>&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); }; } &&
16181 { ac_try='test -s conftest$ac_exeext'
16182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16183 (eval $ac_try) 2>&5
16185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16186 (exit $ac_status); }; }; then
16187 ac_cv_lib_m_csqrtl=yes
16189 echo "$as_me: failed program was:" >&5
16190 sed 's/^/| /' conftest.$ac_ext >&5
16192 ac_cv_lib_m_csqrtl=no
16194 rm -f conftest.err conftest.$ac_objext \
16195 conftest$ac_exeext conftest.$ac_ext
16196 LIBS=$ac_check_lib_save_LIBS
16198 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
16199 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
16200 if test $ac_cv_lib_m_csqrtl = yes; then
16202 cat >>confdefs.h <<\_ACEOF
16203 #define HAVE_CSQRTL 1
16208 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
16209 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
16210 if test "${ac_cv_lib_m_tanf+set}" = set; then
16211 echo $ECHO_N "(cached) $ECHO_C" >&6
16213 ac_check_lib_save_LIBS=$LIBS
16215 if test x$gcc_no_link = xyes; then
16216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16218 { (exit 1); exit 1; }; }
16220 cat >conftest.$ac_ext <<_ACEOF
16223 cat confdefs.h >>conftest.$ac_ext
16224 cat >>conftest.$ac_ext <<_ACEOF
16225 /* end confdefs.h. */
16227 /* Override any gcc2 internal prototype to avoid an error. */
16231 /* We use char because int might match the return type of a gcc2
16232 builtin and then its argument prototype would still apply. */
16242 rm -f conftest.$ac_objext conftest$ac_exeext
16243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16244 (eval $ac_link) 2>conftest.er1
16246 grep -v '^ *+' conftest.er1 >conftest.err
16248 cat conftest.err >&5
16249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 (exit $ac_status); } &&
16251 { ac_try='test -z "$ac_c_werror_flag"
16252 || test ! -s conftest.err'
16253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16254 (eval $ac_try) 2>&5
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); }; } &&
16258 { ac_try='test -s conftest$ac_exeext'
16259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16260 (eval $ac_try) 2>&5
16262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16263 (exit $ac_status); }; }; then
16264 ac_cv_lib_m_tanf=yes
16266 echo "$as_me: failed program was:" >&5
16267 sed 's/^/| /' conftest.$ac_ext >&5
16269 ac_cv_lib_m_tanf=no
16271 rm -f conftest.err conftest.$ac_objext \
16272 conftest$ac_exeext conftest.$ac_ext
16273 LIBS=$ac_check_lib_save_LIBS
16275 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
16276 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
16277 if test $ac_cv_lib_m_tanf = yes; then
16279 cat >>confdefs.h <<\_ACEOF
16280 #define HAVE_TANF 1
16285 echo "$as_me:$LINENO: checking for tan in -lm" >&5
16286 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
16287 if test "${ac_cv_lib_m_tan+set}" = set; then
16288 echo $ECHO_N "(cached) $ECHO_C" >&6
16290 ac_check_lib_save_LIBS=$LIBS
16292 if test x$gcc_no_link = xyes; then
16293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16295 { (exit 1); exit 1; }; }
16297 cat >conftest.$ac_ext <<_ACEOF
16300 cat confdefs.h >>conftest.$ac_ext
16301 cat >>conftest.$ac_ext <<_ACEOF
16302 /* end confdefs.h. */
16304 /* Override any gcc2 internal prototype to avoid an error. */
16308 /* We use char because int might match the return type of a gcc2
16309 builtin and then its argument prototype would still apply. */
16319 rm -f conftest.$ac_objext conftest$ac_exeext
16320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16321 (eval $ac_link) 2>conftest.er1
16323 grep -v '^ *+' conftest.er1 >conftest.err
16325 cat conftest.err >&5
16326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327 (exit $ac_status); } &&
16328 { ac_try='test -z "$ac_c_werror_flag"
16329 || test ! -s conftest.err'
16330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16331 (eval $ac_try) 2>&5
16333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16334 (exit $ac_status); }; } &&
16335 { ac_try='test -s conftest$ac_exeext'
16336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16337 (eval $ac_try) 2>&5
16339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16340 (exit $ac_status); }; }; then
16341 ac_cv_lib_m_tan=yes
16343 echo "$as_me: failed program was:" >&5
16344 sed 's/^/| /' conftest.$ac_ext >&5
16348 rm -f conftest.err conftest.$ac_objext \
16349 conftest$ac_exeext conftest.$ac_ext
16350 LIBS=$ac_check_lib_save_LIBS
16352 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
16353 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
16354 if test $ac_cv_lib_m_tan = yes; then
16356 cat >>confdefs.h <<\_ACEOF
16362 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
16363 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
16364 if test "${ac_cv_lib_m_tanl+set}" = set; then
16365 echo $ECHO_N "(cached) $ECHO_C" >&6
16367 ac_check_lib_save_LIBS=$LIBS
16369 if test x$gcc_no_link = xyes; then
16370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16372 { (exit 1); exit 1; }; }
16374 cat >conftest.$ac_ext <<_ACEOF
16377 cat confdefs.h >>conftest.$ac_ext
16378 cat >>conftest.$ac_ext <<_ACEOF
16379 /* end confdefs.h. */
16381 /* Override any gcc2 internal prototype to avoid an error. */
16385 /* We use char because int might match the return type of a gcc2
16386 builtin and then its argument prototype would still apply. */
16396 rm -f conftest.$ac_objext conftest$ac_exeext
16397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16398 (eval $ac_link) 2>conftest.er1
16400 grep -v '^ *+' conftest.er1 >conftest.err
16402 cat conftest.err >&5
16403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16404 (exit $ac_status); } &&
16405 { ac_try='test -z "$ac_c_werror_flag"
16406 || test ! -s conftest.err'
16407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16408 (eval $ac_try) 2>&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); }; } &&
16412 { ac_try='test -s conftest$ac_exeext'
16413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16414 (eval $ac_try) 2>&5
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); }; }; then
16418 ac_cv_lib_m_tanl=yes
16420 echo "$as_me: failed program was:" >&5
16421 sed 's/^/| /' conftest.$ac_ext >&5
16423 ac_cv_lib_m_tanl=no
16425 rm -f conftest.err conftest.$ac_objext \
16426 conftest$ac_exeext conftest.$ac_ext
16427 LIBS=$ac_check_lib_save_LIBS
16429 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
16430 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
16431 if test $ac_cv_lib_m_tanl = yes; then
16433 cat >>confdefs.h <<\_ACEOF
16434 #define HAVE_TANL 1
16439 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
16440 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
16441 if test "${ac_cv_lib_m_ctanf+set}" = set; then
16442 echo $ECHO_N "(cached) $ECHO_C" >&6
16444 ac_check_lib_save_LIBS=$LIBS
16446 if test x$gcc_no_link = xyes; then
16447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16449 { (exit 1); exit 1; }; }
16451 cat >conftest.$ac_ext <<_ACEOF
16454 cat confdefs.h >>conftest.$ac_ext
16455 cat >>conftest.$ac_ext <<_ACEOF
16456 /* end confdefs.h. */
16458 /* Override any gcc2 internal prototype to avoid an error. */
16462 /* We use char because int might match the return type of a gcc2
16463 builtin and then its argument prototype would still apply. */
16473 rm -f conftest.$ac_objext conftest$ac_exeext
16474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16475 (eval $ac_link) 2>conftest.er1
16477 grep -v '^ *+' conftest.er1 >conftest.err
16479 cat conftest.err >&5
16480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16481 (exit $ac_status); } &&
16482 { ac_try='test -z "$ac_c_werror_flag"
16483 || test ! -s conftest.err'
16484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16485 (eval $ac_try) 2>&5
16487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488 (exit $ac_status); }; } &&
16489 { ac_try='test -s conftest$ac_exeext'
16490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16491 (eval $ac_try) 2>&5
16493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16494 (exit $ac_status); }; }; then
16495 ac_cv_lib_m_ctanf=yes
16497 echo "$as_me: failed program was:" >&5
16498 sed 's/^/| /' conftest.$ac_ext >&5
16500 ac_cv_lib_m_ctanf=no
16502 rm -f conftest.err conftest.$ac_objext \
16503 conftest$ac_exeext conftest.$ac_ext
16504 LIBS=$ac_check_lib_save_LIBS
16506 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
16507 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
16508 if test $ac_cv_lib_m_ctanf = yes; then
16510 cat >>confdefs.h <<\_ACEOF
16511 #define HAVE_CTANF 1
16516 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
16517 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
16518 if test "${ac_cv_lib_m_ctan+set}" = set; then
16519 echo $ECHO_N "(cached) $ECHO_C" >&6
16521 ac_check_lib_save_LIBS=$LIBS
16523 if test x$gcc_no_link = xyes; then
16524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16526 { (exit 1); exit 1; }; }
16528 cat >conftest.$ac_ext <<_ACEOF
16531 cat confdefs.h >>conftest.$ac_ext
16532 cat >>conftest.$ac_ext <<_ACEOF
16533 /* end confdefs.h. */
16535 /* Override any gcc2 internal prototype to avoid an error. */
16539 /* We use char because int might match the return type of a gcc2
16540 builtin and then its argument prototype would still apply. */
16550 rm -f conftest.$ac_objext conftest$ac_exeext
16551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16552 (eval $ac_link) 2>conftest.er1
16554 grep -v '^ *+' conftest.er1 >conftest.err
16556 cat conftest.err >&5
16557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16558 (exit $ac_status); } &&
16559 { ac_try='test -z "$ac_c_werror_flag"
16560 || test ! -s conftest.err'
16561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16562 (eval $ac_try) 2>&5
16564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565 (exit $ac_status); }; } &&
16566 { ac_try='test -s conftest$ac_exeext'
16567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16568 (eval $ac_try) 2>&5
16570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16571 (exit $ac_status); }; }; then
16572 ac_cv_lib_m_ctan=yes
16574 echo "$as_me: failed program was:" >&5
16575 sed 's/^/| /' conftest.$ac_ext >&5
16577 ac_cv_lib_m_ctan=no
16579 rm -f conftest.err conftest.$ac_objext \
16580 conftest$ac_exeext conftest.$ac_ext
16581 LIBS=$ac_check_lib_save_LIBS
16583 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
16584 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
16585 if test $ac_cv_lib_m_ctan = yes; then
16587 cat >>confdefs.h <<\_ACEOF
16588 #define HAVE_CTAN 1
16593 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
16594 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
16595 if test "${ac_cv_lib_m_ctanl+set}" = set; then
16596 echo $ECHO_N "(cached) $ECHO_C" >&6
16598 ac_check_lib_save_LIBS=$LIBS
16600 if test x$gcc_no_link = xyes; then
16601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16603 { (exit 1); exit 1; }; }
16605 cat >conftest.$ac_ext <<_ACEOF
16608 cat confdefs.h >>conftest.$ac_ext
16609 cat >>conftest.$ac_ext <<_ACEOF
16610 /* end confdefs.h. */
16612 /* Override any gcc2 internal prototype to avoid an error. */
16616 /* We use char because int might match the return type of a gcc2
16617 builtin and then its argument prototype would still apply. */
16627 rm -f conftest.$ac_objext conftest$ac_exeext
16628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16629 (eval $ac_link) 2>conftest.er1
16631 grep -v '^ *+' conftest.er1 >conftest.err
16633 cat conftest.err >&5
16634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635 (exit $ac_status); } &&
16636 { ac_try='test -z "$ac_c_werror_flag"
16637 || test ! -s conftest.err'
16638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16639 (eval $ac_try) 2>&5
16641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16642 (exit $ac_status); }; } &&
16643 { ac_try='test -s conftest$ac_exeext'
16644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16645 (eval $ac_try) 2>&5
16647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648 (exit $ac_status); }; }; then
16649 ac_cv_lib_m_ctanl=yes
16651 echo "$as_me: failed program was:" >&5
16652 sed 's/^/| /' conftest.$ac_ext >&5
16654 ac_cv_lib_m_ctanl=no
16656 rm -f conftest.err conftest.$ac_objext \
16657 conftest$ac_exeext conftest.$ac_ext
16658 LIBS=$ac_check_lib_save_LIBS
16660 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
16661 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
16662 if test $ac_cv_lib_m_ctanl = yes; then
16664 cat >>confdefs.h <<\_ACEOF
16665 #define HAVE_CTANL 1
16670 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
16671 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
16672 if test "${ac_cv_lib_m_tanhf+set}" = set; then
16673 echo $ECHO_N "(cached) $ECHO_C" >&6
16675 ac_check_lib_save_LIBS=$LIBS
16677 if test x$gcc_no_link = xyes; then
16678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16680 { (exit 1); exit 1; }; }
16682 cat >conftest.$ac_ext <<_ACEOF
16685 cat confdefs.h >>conftest.$ac_ext
16686 cat >>conftest.$ac_ext <<_ACEOF
16687 /* end confdefs.h. */
16689 /* Override any gcc2 internal prototype to avoid an error. */
16693 /* We use char because int might match the return type of a gcc2
16694 builtin and then its argument prototype would still apply. */
16704 rm -f conftest.$ac_objext conftest$ac_exeext
16705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16706 (eval $ac_link) 2>conftest.er1
16708 grep -v '^ *+' conftest.er1 >conftest.err
16710 cat conftest.err >&5
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); } &&
16713 { ac_try='test -z "$ac_c_werror_flag"
16714 || test ! -s conftest.err'
16715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16716 (eval $ac_try) 2>&5
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); }; } &&
16720 { ac_try='test -s conftest$ac_exeext'
16721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16722 (eval $ac_try) 2>&5
16724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16725 (exit $ac_status); }; }; then
16726 ac_cv_lib_m_tanhf=yes
16728 echo "$as_me: failed program was:" >&5
16729 sed 's/^/| /' conftest.$ac_ext >&5
16731 ac_cv_lib_m_tanhf=no
16733 rm -f conftest.err conftest.$ac_objext \
16734 conftest$ac_exeext conftest.$ac_ext
16735 LIBS=$ac_check_lib_save_LIBS
16737 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
16738 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
16739 if test $ac_cv_lib_m_tanhf = yes; then
16741 cat >>confdefs.h <<\_ACEOF
16742 #define HAVE_TANHF 1
16747 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
16748 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
16749 if test "${ac_cv_lib_m_tanh+set}" = set; then
16750 echo $ECHO_N "(cached) $ECHO_C" >&6
16752 ac_check_lib_save_LIBS=$LIBS
16754 if test x$gcc_no_link = xyes; then
16755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16757 { (exit 1); exit 1; }; }
16759 cat >conftest.$ac_ext <<_ACEOF
16762 cat confdefs.h >>conftest.$ac_ext
16763 cat >>conftest.$ac_ext <<_ACEOF
16764 /* end confdefs.h. */
16766 /* Override any gcc2 internal prototype to avoid an error. */
16770 /* We use char because int might match the return type of a gcc2
16771 builtin and then its argument prototype would still apply. */
16781 rm -f conftest.$ac_objext conftest$ac_exeext
16782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16783 (eval $ac_link) 2>conftest.er1
16785 grep -v '^ *+' conftest.er1 >conftest.err
16787 cat conftest.err >&5
16788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16789 (exit $ac_status); } &&
16790 { ac_try='test -z "$ac_c_werror_flag"
16791 || test ! -s conftest.err'
16792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16793 (eval $ac_try) 2>&5
16795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796 (exit $ac_status); }; } &&
16797 { ac_try='test -s conftest$ac_exeext'
16798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16799 (eval $ac_try) 2>&5
16801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 (exit $ac_status); }; }; then
16803 ac_cv_lib_m_tanh=yes
16805 echo "$as_me: failed program was:" >&5
16806 sed 's/^/| /' conftest.$ac_ext >&5
16808 ac_cv_lib_m_tanh=no
16810 rm -f conftest.err conftest.$ac_objext \
16811 conftest$ac_exeext conftest.$ac_ext
16812 LIBS=$ac_check_lib_save_LIBS
16814 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
16815 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
16816 if test $ac_cv_lib_m_tanh = yes; then
16818 cat >>confdefs.h <<\_ACEOF
16819 #define HAVE_TANH 1
16824 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
16825 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
16826 if test "${ac_cv_lib_m_tanhl+set}" = set; then
16827 echo $ECHO_N "(cached) $ECHO_C" >&6
16829 ac_check_lib_save_LIBS=$LIBS
16831 if test x$gcc_no_link = xyes; then
16832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16834 { (exit 1); exit 1; }; }
16836 cat >conftest.$ac_ext <<_ACEOF
16839 cat confdefs.h >>conftest.$ac_ext
16840 cat >>conftest.$ac_ext <<_ACEOF
16841 /* end confdefs.h. */
16843 /* Override any gcc2 internal prototype to avoid an error. */
16847 /* We use char because int might match the return type of a gcc2
16848 builtin and then its argument prototype would still apply. */
16858 rm -f conftest.$ac_objext conftest$ac_exeext
16859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16860 (eval $ac_link) 2>conftest.er1
16862 grep -v '^ *+' conftest.er1 >conftest.err
16864 cat conftest.err >&5
16865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866 (exit $ac_status); } &&
16867 { ac_try='test -z "$ac_c_werror_flag"
16868 || test ! -s conftest.err'
16869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16870 (eval $ac_try) 2>&5
16872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873 (exit $ac_status); }; } &&
16874 { ac_try='test -s conftest$ac_exeext'
16875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16876 (eval $ac_try) 2>&5
16878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16879 (exit $ac_status); }; }; then
16880 ac_cv_lib_m_tanhl=yes
16882 echo "$as_me: failed program was:" >&5
16883 sed 's/^/| /' conftest.$ac_ext >&5
16885 ac_cv_lib_m_tanhl=no
16887 rm -f conftest.err conftest.$ac_objext \
16888 conftest$ac_exeext conftest.$ac_ext
16889 LIBS=$ac_check_lib_save_LIBS
16891 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
16892 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
16893 if test $ac_cv_lib_m_tanhl = yes; then
16895 cat >>confdefs.h <<\_ACEOF
16896 #define HAVE_TANHL 1
16901 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
16902 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
16903 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
16904 echo $ECHO_N "(cached) $ECHO_C" >&6
16906 ac_check_lib_save_LIBS=$LIBS
16908 if test x$gcc_no_link = xyes; then
16909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16911 { (exit 1); exit 1; }; }
16913 cat >conftest.$ac_ext <<_ACEOF
16916 cat confdefs.h >>conftest.$ac_ext
16917 cat >>conftest.$ac_ext <<_ACEOF
16918 /* end confdefs.h. */
16920 /* Override any gcc2 internal prototype to avoid an error. */
16924 /* We use char because int might match the return type of a gcc2
16925 builtin and then its argument prototype would still apply. */
16935 rm -f conftest.$ac_objext conftest$ac_exeext
16936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16937 (eval $ac_link) 2>conftest.er1
16939 grep -v '^ *+' conftest.er1 >conftest.err
16941 cat conftest.err >&5
16942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16943 (exit $ac_status); } &&
16944 { ac_try='test -z "$ac_c_werror_flag"
16945 || test ! -s conftest.err'
16946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16947 (eval $ac_try) 2>&5
16949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16950 (exit $ac_status); }; } &&
16951 { ac_try='test -s conftest$ac_exeext'
16952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16953 (eval $ac_try) 2>&5
16955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956 (exit $ac_status); }; }; then
16957 ac_cv_lib_m_ctanhf=yes
16959 echo "$as_me: failed program was:" >&5
16960 sed 's/^/| /' conftest.$ac_ext >&5
16962 ac_cv_lib_m_ctanhf=no
16964 rm -f conftest.err conftest.$ac_objext \
16965 conftest$ac_exeext conftest.$ac_ext
16966 LIBS=$ac_check_lib_save_LIBS
16968 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
16969 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
16970 if test $ac_cv_lib_m_ctanhf = yes; then
16972 cat >>confdefs.h <<\_ACEOF
16973 #define HAVE_CTANHF 1
16978 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
16979 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
16980 if test "${ac_cv_lib_m_ctanh+set}" = set; then
16981 echo $ECHO_N "(cached) $ECHO_C" >&6
16983 ac_check_lib_save_LIBS=$LIBS
16985 if test x$gcc_no_link = xyes; then
16986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16988 { (exit 1); exit 1; }; }
16990 cat >conftest.$ac_ext <<_ACEOF
16993 cat confdefs.h >>conftest.$ac_ext
16994 cat >>conftest.$ac_ext <<_ACEOF
16995 /* end confdefs.h. */
16997 /* Override any gcc2 internal prototype to avoid an error. */
17001 /* We use char because int might match the return type of a gcc2
17002 builtin and then its argument prototype would still apply. */
17012 rm -f conftest.$ac_objext conftest$ac_exeext
17013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17014 (eval $ac_link) 2>conftest.er1
17016 grep -v '^ *+' conftest.er1 >conftest.err
17018 cat conftest.err >&5
17019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020 (exit $ac_status); } &&
17021 { ac_try='test -z "$ac_c_werror_flag"
17022 || test ! -s conftest.err'
17023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17024 (eval $ac_try) 2>&5
17026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027 (exit $ac_status); }; } &&
17028 { ac_try='test -s conftest$ac_exeext'
17029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17030 (eval $ac_try) 2>&5
17032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17033 (exit $ac_status); }; }; then
17034 ac_cv_lib_m_ctanh=yes
17036 echo "$as_me: failed program was:" >&5
17037 sed 's/^/| /' conftest.$ac_ext >&5
17039 ac_cv_lib_m_ctanh=no
17041 rm -f conftest.err conftest.$ac_objext \
17042 conftest$ac_exeext conftest.$ac_ext
17043 LIBS=$ac_check_lib_save_LIBS
17045 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
17046 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
17047 if test $ac_cv_lib_m_ctanh = yes; then
17049 cat >>confdefs.h <<\_ACEOF
17050 #define HAVE_CTANH 1
17055 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
17056 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
17057 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
17058 echo $ECHO_N "(cached) $ECHO_C" >&6
17060 ac_check_lib_save_LIBS=$LIBS
17062 if test x$gcc_no_link = xyes; then
17063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17065 { (exit 1); exit 1; }; }
17067 cat >conftest.$ac_ext <<_ACEOF
17070 cat confdefs.h >>conftest.$ac_ext
17071 cat >>conftest.$ac_ext <<_ACEOF
17072 /* end confdefs.h. */
17074 /* Override any gcc2 internal prototype to avoid an error. */
17078 /* We use char because int might match the return type of a gcc2
17079 builtin and then its argument prototype would still apply. */
17089 rm -f conftest.$ac_objext conftest$ac_exeext
17090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17091 (eval $ac_link) 2>conftest.er1
17093 grep -v '^ *+' conftest.er1 >conftest.err
17095 cat conftest.err >&5
17096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17097 (exit $ac_status); } &&
17098 { ac_try='test -z "$ac_c_werror_flag"
17099 || test ! -s conftest.err'
17100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17101 (eval $ac_try) 2>&5
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); }; } &&
17105 { ac_try='test -s conftest$ac_exeext'
17106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17107 (eval $ac_try) 2>&5
17109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17110 (exit $ac_status); }; }; then
17111 ac_cv_lib_m_ctanhl=yes
17113 echo "$as_me: failed program was:" >&5
17114 sed 's/^/| /' conftest.$ac_ext >&5
17116 ac_cv_lib_m_ctanhl=no
17118 rm -f conftest.err conftest.$ac_objext \
17119 conftest$ac_exeext conftest.$ac_ext
17120 LIBS=$ac_check_lib_save_LIBS
17122 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
17123 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
17124 if test $ac_cv_lib_m_ctanhl = yes; then
17126 cat >>confdefs.h <<\_ACEOF
17127 #define HAVE_CTANHL 1
17132 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
17133 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
17134 if test "${ac_cv_lib_m_truncf+set}" = set; then
17135 echo $ECHO_N "(cached) $ECHO_C" >&6
17137 ac_check_lib_save_LIBS=$LIBS
17139 if test x$gcc_no_link = xyes; then
17140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17142 { (exit 1); exit 1; }; }
17144 cat >conftest.$ac_ext <<_ACEOF
17147 cat confdefs.h >>conftest.$ac_ext
17148 cat >>conftest.$ac_ext <<_ACEOF
17149 /* end confdefs.h. */
17151 /* Override any gcc2 internal prototype to avoid an error. */
17155 /* We use char because int might match the return type of a gcc2
17156 builtin and then its argument prototype would still apply. */
17166 rm -f conftest.$ac_objext conftest$ac_exeext
17167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17168 (eval $ac_link) 2>conftest.er1
17170 grep -v '^ *+' conftest.er1 >conftest.err
17172 cat conftest.err >&5
17173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17174 (exit $ac_status); } &&
17175 { ac_try='test -z "$ac_c_werror_flag"
17176 || test ! -s conftest.err'
17177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17178 (eval $ac_try) 2>&5
17180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17181 (exit $ac_status); }; } &&
17182 { ac_try='test -s conftest$ac_exeext'
17183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17184 (eval $ac_try) 2>&5
17186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17187 (exit $ac_status); }; }; then
17188 ac_cv_lib_m_truncf=yes
17190 echo "$as_me: failed program was:" >&5
17191 sed 's/^/| /' conftest.$ac_ext >&5
17193 ac_cv_lib_m_truncf=no
17195 rm -f conftest.err conftest.$ac_objext \
17196 conftest$ac_exeext conftest.$ac_ext
17197 LIBS=$ac_check_lib_save_LIBS
17199 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
17200 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
17201 if test $ac_cv_lib_m_truncf = yes; then
17203 cat >>confdefs.h <<\_ACEOF
17204 #define HAVE_TRUNCF 1
17209 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
17210 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
17211 if test "${ac_cv_lib_m_trunc+set}" = set; then
17212 echo $ECHO_N "(cached) $ECHO_C" >&6
17214 ac_check_lib_save_LIBS=$LIBS
17216 if test x$gcc_no_link = xyes; then
17217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17219 { (exit 1); exit 1; }; }
17221 cat >conftest.$ac_ext <<_ACEOF
17224 cat confdefs.h >>conftest.$ac_ext
17225 cat >>conftest.$ac_ext <<_ACEOF
17226 /* end confdefs.h. */
17228 /* Override any gcc2 internal prototype to avoid an error. */
17232 /* We use char because int might match the return type of a gcc2
17233 builtin and then its argument prototype would still apply. */
17243 rm -f conftest.$ac_objext conftest$ac_exeext
17244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17245 (eval $ac_link) 2>conftest.er1
17247 grep -v '^ *+' conftest.er1 >conftest.err
17249 cat conftest.err >&5
17250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17251 (exit $ac_status); } &&
17252 { ac_try='test -z "$ac_c_werror_flag"
17253 || test ! -s conftest.err'
17254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17255 (eval $ac_try) 2>&5
17257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17258 (exit $ac_status); }; } &&
17259 { ac_try='test -s conftest$ac_exeext'
17260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17261 (eval $ac_try) 2>&5
17263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17264 (exit $ac_status); }; }; then
17265 ac_cv_lib_m_trunc=yes
17267 echo "$as_me: failed program was:" >&5
17268 sed 's/^/| /' conftest.$ac_ext >&5
17270 ac_cv_lib_m_trunc=no
17272 rm -f conftest.err conftest.$ac_objext \
17273 conftest$ac_exeext conftest.$ac_ext
17274 LIBS=$ac_check_lib_save_LIBS
17276 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
17277 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
17278 if test $ac_cv_lib_m_trunc = yes; then
17280 cat >>confdefs.h <<\_ACEOF
17281 #define HAVE_TRUNC 1
17286 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
17287 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
17288 if test "${ac_cv_lib_m_truncl+set}" = set; then
17289 echo $ECHO_N "(cached) $ECHO_C" >&6
17291 ac_check_lib_save_LIBS=$LIBS
17293 if test x$gcc_no_link = xyes; then
17294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17296 { (exit 1); exit 1; }; }
17298 cat >conftest.$ac_ext <<_ACEOF
17301 cat confdefs.h >>conftest.$ac_ext
17302 cat >>conftest.$ac_ext <<_ACEOF
17303 /* end confdefs.h. */
17305 /* Override any gcc2 internal prototype to avoid an error. */
17309 /* We use char because int might match the return type of a gcc2
17310 builtin and then its argument prototype would still apply. */
17320 rm -f conftest.$ac_objext conftest$ac_exeext
17321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17322 (eval $ac_link) 2>conftest.er1
17324 grep -v '^ *+' conftest.er1 >conftest.err
17326 cat conftest.err >&5
17327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17328 (exit $ac_status); } &&
17329 { ac_try='test -z "$ac_c_werror_flag"
17330 || test ! -s conftest.err'
17331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17332 (eval $ac_try) 2>&5
17334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17335 (exit $ac_status); }; } &&
17336 { ac_try='test -s conftest$ac_exeext'
17337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17338 (eval $ac_try) 2>&5
17340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17341 (exit $ac_status); }; }; then
17342 ac_cv_lib_m_truncl=yes
17344 echo "$as_me: failed program was:" >&5
17345 sed 's/^/| /' conftest.$ac_ext >&5
17347 ac_cv_lib_m_truncl=no
17349 rm -f conftest.err conftest.$ac_objext \
17350 conftest$ac_exeext conftest.$ac_ext
17351 LIBS=$ac_check_lib_save_LIBS
17353 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
17354 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
17355 if test $ac_cv_lib_m_truncl = yes; then
17357 cat >>confdefs.h <<\_ACEOF
17358 #define HAVE_TRUNCL 1
17363 echo "$as_me:$LINENO: checking for erff in -lm" >&5
17364 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
17365 if test "${ac_cv_lib_m_erff+set}" = set; then
17366 echo $ECHO_N "(cached) $ECHO_C" >&6
17368 ac_check_lib_save_LIBS=$LIBS
17370 if test x$gcc_no_link = xyes; then
17371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17373 { (exit 1); exit 1; }; }
17375 cat >conftest.$ac_ext <<_ACEOF
17378 cat confdefs.h >>conftest.$ac_ext
17379 cat >>conftest.$ac_ext <<_ACEOF
17380 /* end confdefs.h. */
17382 /* Override any gcc2 internal prototype to avoid an error. */
17386 /* We use char because int might match the return type of a gcc2
17387 builtin and then its argument prototype would still apply. */
17397 rm -f conftest.$ac_objext conftest$ac_exeext
17398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17399 (eval $ac_link) 2>conftest.er1
17401 grep -v '^ *+' conftest.er1 >conftest.err
17403 cat conftest.err >&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); } &&
17406 { ac_try='test -z "$ac_c_werror_flag"
17407 || test ! -s conftest.err'
17408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17409 (eval $ac_try) 2>&5
17411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17412 (exit $ac_status); }; } &&
17413 { ac_try='test -s conftest$ac_exeext'
17414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17415 (eval $ac_try) 2>&5
17417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17418 (exit $ac_status); }; }; then
17419 ac_cv_lib_m_erff=yes
17421 echo "$as_me: failed program was:" >&5
17422 sed 's/^/| /' conftest.$ac_ext >&5
17424 ac_cv_lib_m_erff=no
17426 rm -f conftest.err conftest.$ac_objext \
17427 conftest$ac_exeext conftest.$ac_ext
17428 LIBS=$ac_check_lib_save_LIBS
17430 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
17431 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
17432 if test $ac_cv_lib_m_erff = yes; then
17434 cat >>confdefs.h <<\_ACEOF
17435 #define HAVE_ERFF 1
17440 echo "$as_me:$LINENO: checking for erf in -lm" >&5
17441 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
17442 if test "${ac_cv_lib_m_erf+set}" = set; then
17443 echo $ECHO_N "(cached) $ECHO_C" >&6
17445 ac_check_lib_save_LIBS=$LIBS
17447 if test x$gcc_no_link = xyes; then
17448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17450 { (exit 1); exit 1; }; }
17452 cat >conftest.$ac_ext <<_ACEOF
17455 cat confdefs.h >>conftest.$ac_ext
17456 cat >>conftest.$ac_ext <<_ACEOF
17457 /* end confdefs.h. */
17459 /* Override any gcc2 internal prototype to avoid an error. */
17463 /* We use char because int might match the return type of a gcc2
17464 builtin and then its argument prototype would still apply. */
17474 rm -f conftest.$ac_objext conftest$ac_exeext
17475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17476 (eval $ac_link) 2>conftest.er1
17478 grep -v '^ *+' conftest.er1 >conftest.err
17480 cat conftest.err >&5
17481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17482 (exit $ac_status); } &&
17483 { ac_try='test -z "$ac_c_werror_flag"
17484 || test ! -s conftest.err'
17485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17486 (eval $ac_try) 2>&5
17488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17489 (exit $ac_status); }; } &&
17490 { ac_try='test -s conftest$ac_exeext'
17491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17492 (eval $ac_try) 2>&5
17494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17495 (exit $ac_status); }; }; then
17496 ac_cv_lib_m_erf=yes
17498 echo "$as_me: failed program was:" >&5
17499 sed 's/^/| /' conftest.$ac_ext >&5
17503 rm -f conftest.err conftest.$ac_objext \
17504 conftest$ac_exeext conftest.$ac_ext
17505 LIBS=$ac_check_lib_save_LIBS
17507 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
17508 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
17509 if test $ac_cv_lib_m_erf = yes; then
17511 cat >>confdefs.h <<\_ACEOF
17517 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
17518 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
17519 if test "${ac_cv_lib_m_erfl+set}" = set; then
17520 echo $ECHO_N "(cached) $ECHO_C" >&6
17522 ac_check_lib_save_LIBS=$LIBS
17524 if test x$gcc_no_link = xyes; then
17525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17527 { (exit 1); exit 1; }; }
17529 cat >conftest.$ac_ext <<_ACEOF
17532 cat confdefs.h >>conftest.$ac_ext
17533 cat >>conftest.$ac_ext <<_ACEOF
17534 /* end confdefs.h. */
17536 /* Override any gcc2 internal prototype to avoid an error. */
17540 /* We use char because int might match the return type of a gcc2
17541 builtin and then its argument prototype would still apply. */
17551 rm -f conftest.$ac_objext conftest$ac_exeext
17552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17553 (eval $ac_link) 2>conftest.er1
17555 grep -v '^ *+' conftest.er1 >conftest.err
17557 cat conftest.err >&5
17558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17559 (exit $ac_status); } &&
17560 { ac_try='test -z "$ac_c_werror_flag"
17561 || test ! -s conftest.err'
17562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17563 (eval $ac_try) 2>&5
17565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); }; } &&
17567 { ac_try='test -s conftest$ac_exeext'
17568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17569 (eval $ac_try) 2>&5
17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 (exit $ac_status); }; }; then
17573 ac_cv_lib_m_erfl=yes
17575 echo "$as_me: failed program was:" >&5
17576 sed 's/^/| /' conftest.$ac_ext >&5
17578 ac_cv_lib_m_erfl=no
17580 rm -f conftest.err conftest.$ac_objext \
17581 conftest$ac_exeext conftest.$ac_ext
17582 LIBS=$ac_check_lib_save_LIBS
17584 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
17585 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
17586 if test $ac_cv_lib_m_erfl = yes; then
17588 cat >>confdefs.h <<\_ACEOF
17589 #define HAVE_ERFL 1
17594 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
17595 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
17596 if test "${ac_cv_lib_m_erfcf+set}" = set; then
17597 echo $ECHO_N "(cached) $ECHO_C" >&6
17599 ac_check_lib_save_LIBS=$LIBS
17601 if test x$gcc_no_link = xyes; then
17602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17604 { (exit 1); exit 1; }; }
17606 cat >conftest.$ac_ext <<_ACEOF
17609 cat confdefs.h >>conftest.$ac_ext
17610 cat >>conftest.$ac_ext <<_ACEOF
17611 /* end confdefs.h. */
17613 /* Override any gcc2 internal prototype to avoid an error. */
17617 /* We use char because int might match the return type of a gcc2
17618 builtin and then its argument prototype would still apply. */
17628 rm -f conftest.$ac_objext conftest$ac_exeext
17629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17630 (eval $ac_link) 2>conftest.er1
17632 grep -v '^ *+' conftest.er1 >conftest.err
17634 cat conftest.err >&5
17635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17636 (exit $ac_status); } &&
17637 { ac_try='test -z "$ac_c_werror_flag"
17638 || test ! -s conftest.err'
17639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17640 (eval $ac_try) 2>&5
17642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643 (exit $ac_status); }; } &&
17644 { ac_try='test -s conftest$ac_exeext'
17645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17646 (eval $ac_try) 2>&5
17648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649 (exit $ac_status); }; }; then
17650 ac_cv_lib_m_erfcf=yes
17652 echo "$as_me: failed program was:" >&5
17653 sed 's/^/| /' conftest.$ac_ext >&5
17655 ac_cv_lib_m_erfcf=no
17657 rm -f conftest.err conftest.$ac_objext \
17658 conftest$ac_exeext conftest.$ac_ext
17659 LIBS=$ac_check_lib_save_LIBS
17661 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
17662 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
17663 if test $ac_cv_lib_m_erfcf = yes; then
17665 cat >>confdefs.h <<\_ACEOF
17666 #define HAVE_ERFCF 1
17671 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
17672 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
17673 if test "${ac_cv_lib_m_erfc+set}" = set; then
17674 echo $ECHO_N "(cached) $ECHO_C" >&6
17676 ac_check_lib_save_LIBS=$LIBS
17678 if test x$gcc_no_link = xyes; then
17679 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17681 { (exit 1); exit 1; }; }
17683 cat >conftest.$ac_ext <<_ACEOF
17686 cat confdefs.h >>conftest.$ac_ext
17687 cat >>conftest.$ac_ext <<_ACEOF
17688 /* end confdefs.h. */
17690 /* Override any gcc2 internal prototype to avoid an error. */
17694 /* We use char because int might match the return type of a gcc2
17695 builtin and then its argument prototype would still apply. */
17705 rm -f conftest.$ac_objext conftest$ac_exeext
17706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17707 (eval $ac_link) 2>conftest.er1
17709 grep -v '^ *+' conftest.er1 >conftest.err
17711 cat conftest.err >&5
17712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713 (exit $ac_status); } &&
17714 { ac_try='test -z "$ac_c_werror_flag"
17715 || test ! -s conftest.err'
17716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17717 (eval $ac_try) 2>&5
17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720 (exit $ac_status); }; } &&
17721 { ac_try='test -s conftest$ac_exeext'
17722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17723 (eval $ac_try) 2>&5
17725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17726 (exit $ac_status); }; }; then
17727 ac_cv_lib_m_erfc=yes
17729 echo "$as_me: failed program was:" >&5
17730 sed 's/^/| /' conftest.$ac_ext >&5
17732 ac_cv_lib_m_erfc=no
17734 rm -f conftest.err conftest.$ac_objext \
17735 conftest$ac_exeext conftest.$ac_ext
17736 LIBS=$ac_check_lib_save_LIBS
17738 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
17739 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
17740 if test $ac_cv_lib_m_erfc = yes; then
17742 cat >>confdefs.h <<\_ACEOF
17743 #define HAVE_ERFC 1
17748 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
17749 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
17750 if test "${ac_cv_lib_m_erfcl+set}" = set; then
17751 echo $ECHO_N "(cached) $ECHO_C" >&6
17753 ac_check_lib_save_LIBS=$LIBS
17755 if test x$gcc_no_link = xyes; then
17756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17758 { (exit 1); exit 1; }; }
17760 cat >conftest.$ac_ext <<_ACEOF
17763 cat confdefs.h >>conftest.$ac_ext
17764 cat >>conftest.$ac_ext <<_ACEOF
17765 /* end confdefs.h. */
17767 /* Override any gcc2 internal prototype to avoid an error. */
17771 /* We use char because int might match the return type of a gcc2
17772 builtin and then its argument prototype would still apply. */
17782 rm -f conftest.$ac_objext conftest$ac_exeext
17783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17784 (eval $ac_link) 2>conftest.er1
17786 grep -v '^ *+' conftest.er1 >conftest.err
17788 cat conftest.err >&5
17789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17790 (exit $ac_status); } &&
17791 { ac_try='test -z "$ac_c_werror_flag"
17792 || test ! -s conftest.err'
17793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17794 (eval $ac_try) 2>&5
17796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17797 (exit $ac_status); }; } &&
17798 { ac_try='test -s conftest$ac_exeext'
17799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17800 (eval $ac_try) 2>&5
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); }; }; then
17804 ac_cv_lib_m_erfcl=yes
17806 echo "$as_me: failed program was:" >&5
17807 sed 's/^/| /' conftest.$ac_ext >&5
17809 ac_cv_lib_m_erfcl=no
17811 rm -f conftest.err conftest.$ac_objext \
17812 conftest$ac_exeext conftest.$ac_ext
17813 LIBS=$ac_check_lib_save_LIBS
17815 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
17816 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
17817 if test $ac_cv_lib_m_erfcl = yes; then
17819 cat >>confdefs.h <<\_ACEOF
17820 #define HAVE_ERFCL 1
17825 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
17826 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
17827 if test "${ac_cv_lib_m_j0f+set}" = set; then
17828 echo $ECHO_N "(cached) $ECHO_C" >&6
17830 ac_check_lib_save_LIBS=$LIBS
17832 if test x$gcc_no_link = xyes; then
17833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17835 { (exit 1); exit 1; }; }
17837 cat >conftest.$ac_ext <<_ACEOF
17840 cat confdefs.h >>conftest.$ac_ext
17841 cat >>conftest.$ac_ext <<_ACEOF
17842 /* end confdefs.h. */
17844 /* Override any gcc2 internal prototype to avoid an error. */
17848 /* We use char because int might match the return type of a gcc2
17849 builtin and then its argument prototype would still apply. */
17859 rm -f conftest.$ac_objext conftest$ac_exeext
17860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17861 (eval $ac_link) 2>conftest.er1
17863 grep -v '^ *+' conftest.er1 >conftest.err
17865 cat conftest.err >&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); } &&
17868 { ac_try='test -z "$ac_c_werror_flag"
17869 || test ! -s conftest.err'
17870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17871 (eval $ac_try) 2>&5
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); }; } &&
17875 { ac_try='test -s conftest$ac_exeext'
17876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17877 (eval $ac_try) 2>&5
17879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17880 (exit $ac_status); }; }; then
17881 ac_cv_lib_m_j0f=yes
17883 echo "$as_me: failed program was:" >&5
17884 sed 's/^/| /' conftest.$ac_ext >&5
17888 rm -f conftest.err conftest.$ac_objext \
17889 conftest$ac_exeext conftest.$ac_ext
17890 LIBS=$ac_check_lib_save_LIBS
17892 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
17893 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
17894 if test $ac_cv_lib_m_j0f = yes; then
17896 cat >>confdefs.h <<\_ACEOF
17902 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
17903 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
17904 if test "${ac_cv_lib_m_j0+set}" = set; then
17905 echo $ECHO_N "(cached) $ECHO_C" >&6
17907 ac_check_lib_save_LIBS=$LIBS
17909 if test x$gcc_no_link = xyes; then
17910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17912 { (exit 1); exit 1; }; }
17914 cat >conftest.$ac_ext <<_ACEOF
17917 cat confdefs.h >>conftest.$ac_ext
17918 cat >>conftest.$ac_ext <<_ACEOF
17919 /* end confdefs.h. */
17921 /* Override any gcc2 internal prototype to avoid an error. */
17925 /* We use char because int might match the return type of a gcc2
17926 builtin and then its argument prototype would still apply. */
17936 rm -f conftest.$ac_objext conftest$ac_exeext
17937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17938 (eval $ac_link) 2>conftest.er1
17940 grep -v '^ *+' conftest.er1 >conftest.err
17942 cat conftest.err >&5
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); } &&
17945 { ac_try='test -z "$ac_c_werror_flag"
17946 || test ! -s conftest.err'
17947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17948 (eval $ac_try) 2>&5
17950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17951 (exit $ac_status); }; } &&
17952 { ac_try='test -s conftest$ac_exeext'
17953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17954 (eval $ac_try) 2>&5
17956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17957 (exit $ac_status); }; }; then
17960 echo "$as_me: failed program was:" >&5
17961 sed 's/^/| /' conftest.$ac_ext >&5
17965 rm -f conftest.err conftest.$ac_objext \
17966 conftest$ac_exeext conftest.$ac_ext
17967 LIBS=$ac_check_lib_save_LIBS
17969 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
17970 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
17971 if test $ac_cv_lib_m_j0 = yes; then
17973 cat >>confdefs.h <<\_ACEOF
17979 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
17980 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
17981 if test "${ac_cv_lib_m_j0l+set}" = set; then
17982 echo $ECHO_N "(cached) $ECHO_C" >&6
17984 ac_check_lib_save_LIBS=$LIBS
17986 if test x$gcc_no_link = xyes; then
17987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17989 { (exit 1); exit 1; }; }
17991 cat >conftest.$ac_ext <<_ACEOF
17994 cat confdefs.h >>conftest.$ac_ext
17995 cat >>conftest.$ac_ext <<_ACEOF
17996 /* end confdefs.h. */
17998 /* Override any gcc2 internal prototype to avoid an error. */
18002 /* We use char because int might match the return type of a gcc2
18003 builtin and then its argument prototype would still apply. */
18013 rm -f conftest.$ac_objext conftest$ac_exeext
18014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18015 (eval $ac_link) 2>conftest.er1
18017 grep -v '^ *+' conftest.er1 >conftest.err
18019 cat conftest.err >&5
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); } &&
18022 { ac_try='test -z "$ac_c_werror_flag"
18023 || test ! -s conftest.err'
18024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18025 (eval $ac_try) 2>&5
18027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18028 (exit $ac_status); }; } &&
18029 { ac_try='test -s conftest$ac_exeext'
18030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18031 (eval $ac_try) 2>&5
18033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034 (exit $ac_status); }; }; then
18035 ac_cv_lib_m_j0l=yes
18037 echo "$as_me: failed program was:" >&5
18038 sed 's/^/| /' conftest.$ac_ext >&5
18042 rm -f conftest.err conftest.$ac_objext \
18043 conftest$ac_exeext conftest.$ac_ext
18044 LIBS=$ac_check_lib_save_LIBS
18046 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
18047 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
18048 if test $ac_cv_lib_m_j0l = yes; then
18050 cat >>confdefs.h <<\_ACEOF
18056 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
18057 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
18058 if test "${ac_cv_lib_m_j1f+set}" = set; then
18059 echo $ECHO_N "(cached) $ECHO_C" >&6
18061 ac_check_lib_save_LIBS=$LIBS
18063 if test x$gcc_no_link = xyes; then
18064 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18066 { (exit 1); exit 1; }; }
18068 cat >conftest.$ac_ext <<_ACEOF
18071 cat confdefs.h >>conftest.$ac_ext
18072 cat >>conftest.$ac_ext <<_ACEOF
18073 /* end confdefs.h. */
18075 /* Override any gcc2 internal prototype to avoid an error. */
18079 /* We use char because int might match the return type of a gcc2
18080 builtin and then its argument prototype would still apply. */
18090 rm -f conftest.$ac_objext conftest$ac_exeext
18091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18092 (eval $ac_link) 2>conftest.er1
18094 grep -v '^ *+' conftest.er1 >conftest.err
18096 cat conftest.err >&5
18097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18098 (exit $ac_status); } &&
18099 { ac_try='test -z "$ac_c_werror_flag"
18100 || test ! -s conftest.err'
18101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18102 (eval $ac_try) 2>&5
18104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18105 (exit $ac_status); }; } &&
18106 { ac_try='test -s conftest$ac_exeext'
18107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18108 (eval $ac_try) 2>&5
18110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18111 (exit $ac_status); }; }; then
18112 ac_cv_lib_m_j1f=yes
18114 echo "$as_me: failed program was:" >&5
18115 sed 's/^/| /' conftest.$ac_ext >&5
18119 rm -f conftest.err conftest.$ac_objext \
18120 conftest$ac_exeext conftest.$ac_ext
18121 LIBS=$ac_check_lib_save_LIBS
18123 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
18124 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
18125 if test $ac_cv_lib_m_j1f = yes; then
18127 cat >>confdefs.h <<\_ACEOF
18133 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
18134 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
18135 if test "${ac_cv_lib_m_j1+set}" = set; then
18136 echo $ECHO_N "(cached) $ECHO_C" >&6
18138 ac_check_lib_save_LIBS=$LIBS
18140 if test x$gcc_no_link = xyes; then
18141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18143 { (exit 1); exit 1; }; }
18145 cat >conftest.$ac_ext <<_ACEOF
18148 cat confdefs.h >>conftest.$ac_ext
18149 cat >>conftest.$ac_ext <<_ACEOF
18150 /* end confdefs.h. */
18152 /* Override any gcc2 internal prototype to avoid an error. */
18156 /* We use char because int might match the return type of a gcc2
18157 builtin and then its argument prototype would still apply. */
18167 rm -f conftest.$ac_objext conftest$ac_exeext
18168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18169 (eval $ac_link) 2>conftest.er1
18171 grep -v '^ *+' conftest.er1 >conftest.err
18173 cat conftest.err >&5
18174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18175 (exit $ac_status); } &&
18176 { ac_try='test -z "$ac_c_werror_flag"
18177 || test ! -s conftest.err'
18178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18179 (eval $ac_try) 2>&5
18181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18182 (exit $ac_status); }; } &&
18183 { ac_try='test -s conftest$ac_exeext'
18184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18185 (eval $ac_try) 2>&5
18187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18188 (exit $ac_status); }; }; then
18191 echo "$as_me: failed program was:" >&5
18192 sed 's/^/| /' conftest.$ac_ext >&5
18196 rm -f conftest.err conftest.$ac_objext \
18197 conftest$ac_exeext conftest.$ac_ext
18198 LIBS=$ac_check_lib_save_LIBS
18200 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
18201 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
18202 if test $ac_cv_lib_m_j1 = yes; then
18204 cat >>confdefs.h <<\_ACEOF
18210 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
18211 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
18212 if test "${ac_cv_lib_m_j1l+set}" = set; then
18213 echo $ECHO_N "(cached) $ECHO_C" >&6
18215 ac_check_lib_save_LIBS=$LIBS
18217 if test x$gcc_no_link = xyes; then
18218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18220 { (exit 1); exit 1; }; }
18222 cat >conftest.$ac_ext <<_ACEOF
18225 cat confdefs.h >>conftest.$ac_ext
18226 cat >>conftest.$ac_ext <<_ACEOF
18227 /* end confdefs.h. */
18229 /* Override any gcc2 internal prototype to avoid an error. */
18233 /* We use char because int might match the return type of a gcc2
18234 builtin and then its argument prototype would still apply. */
18244 rm -f conftest.$ac_objext conftest$ac_exeext
18245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18246 (eval $ac_link) 2>conftest.er1
18248 grep -v '^ *+' conftest.er1 >conftest.err
18250 cat conftest.err >&5
18251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18252 (exit $ac_status); } &&
18253 { ac_try='test -z "$ac_c_werror_flag"
18254 || test ! -s conftest.err'
18255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18256 (eval $ac_try) 2>&5
18258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18259 (exit $ac_status); }; } &&
18260 { ac_try='test -s conftest$ac_exeext'
18261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18262 (eval $ac_try) 2>&5
18264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18265 (exit $ac_status); }; }; then
18266 ac_cv_lib_m_j1l=yes
18268 echo "$as_me: failed program was:" >&5
18269 sed 's/^/| /' conftest.$ac_ext >&5
18273 rm -f conftest.err conftest.$ac_objext \
18274 conftest$ac_exeext conftest.$ac_ext
18275 LIBS=$ac_check_lib_save_LIBS
18277 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
18278 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
18279 if test $ac_cv_lib_m_j1l = yes; then
18281 cat >>confdefs.h <<\_ACEOF
18287 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
18288 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
18289 if test "${ac_cv_lib_m_jnf+set}" = set; then
18290 echo $ECHO_N "(cached) $ECHO_C" >&6
18292 ac_check_lib_save_LIBS=$LIBS
18294 if test x$gcc_no_link = xyes; then
18295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18297 { (exit 1); exit 1; }; }
18299 cat >conftest.$ac_ext <<_ACEOF
18302 cat confdefs.h >>conftest.$ac_ext
18303 cat >>conftest.$ac_ext <<_ACEOF
18304 /* end confdefs.h. */
18306 /* Override any gcc2 internal prototype to avoid an error. */
18310 /* We use char because int might match the return type of a gcc2
18311 builtin and then its argument prototype would still apply. */
18321 rm -f conftest.$ac_objext conftest$ac_exeext
18322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18323 (eval $ac_link) 2>conftest.er1
18325 grep -v '^ *+' conftest.er1 >conftest.err
18327 cat conftest.err >&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); } &&
18330 { ac_try='test -z "$ac_c_werror_flag"
18331 || test ! -s conftest.err'
18332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18333 (eval $ac_try) 2>&5
18335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336 (exit $ac_status); }; } &&
18337 { ac_try='test -s conftest$ac_exeext'
18338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18339 (eval $ac_try) 2>&5
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); }; }; then
18343 ac_cv_lib_m_jnf=yes
18345 echo "$as_me: failed program was:" >&5
18346 sed 's/^/| /' conftest.$ac_ext >&5
18350 rm -f conftest.err conftest.$ac_objext \
18351 conftest$ac_exeext conftest.$ac_ext
18352 LIBS=$ac_check_lib_save_LIBS
18354 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
18355 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
18356 if test $ac_cv_lib_m_jnf = yes; then
18358 cat >>confdefs.h <<\_ACEOF
18364 echo "$as_me:$LINENO: checking for jn in -lm" >&5
18365 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
18366 if test "${ac_cv_lib_m_jn+set}" = set; then
18367 echo $ECHO_N "(cached) $ECHO_C" >&6
18369 ac_check_lib_save_LIBS=$LIBS
18371 if test x$gcc_no_link = xyes; then
18372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18374 { (exit 1); exit 1; }; }
18376 cat >conftest.$ac_ext <<_ACEOF
18379 cat confdefs.h >>conftest.$ac_ext
18380 cat >>conftest.$ac_ext <<_ACEOF
18381 /* end confdefs.h. */
18383 /* Override any gcc2 internal prototype to avoid an error. */
18387 /* We use char because int might match the return type of a gcc2
18388 builtin and then its argument prototype would still apply. */
18398 rm -f conftest.$ac_objext conftest$ac_exeext
18399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18400 (eval $ac_link) 2>conftest.er1
18402 grep -v '^ *+' conftest.er1 >conftest.err
18404 cat conftest.err >&5
18405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18406 (exit $ac_status); } &&
18407 { ac_try='test -z "$ac_c_werror_flag"
18408 || test ! -s conftest.err'
18409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18410 (eval $ac_try) 2>&5
18412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18413 (exit $ac_status); }; } &&
18414 { ac_try='test -s conftest$ac_exeext'
18415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18416 (eval $ac_try) 2>&5
18418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18419 (exit $ac_status); }; }; then
18422 echo "$as_me: failed program was:" >&5
18423 sed 's/^/| /' conftest.$ac_ext >&5
18427 rm -f conftest.err conftest.$ac_objext \
18428 conftest$ac_exeext conftest.$ac_ext
18429 LIBS=$ac_check_lib_save_LIBS
18431 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
18432 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
18433 if test $ac_cv_lib_m_jn = yes; then
18435 cat >>confdefs.h <<\_ACEOF
18441 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
18442 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
18443 if test "${ac_cv_lib_m_jnl+set}" = set; then
18444 echo $ECHO_N "(cached) $ECHO_C" >&6
18446 ac_check_lib_save_LIBS=$LIBS
18448 if test x$gcc_no_link = xyes; then
18449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18451 { (exit 1); exit 1; }; }
18453 cat >conftest.$ac_ext <<_ACEOF
18456 cat confdefs.h >>conftest.$ac_ext
18457 cat >>conftest.$ac_ext <<_ACEOF
18458 /* end confdefs.h. */
18460 /* Override any gcc2 internal prototype to avoid an error. */
18464 /* We use char because int might match the return type of a gcc2
18465 builtin and then its argument prototype would still apply. */
18475 rm -f conftest.$ac_objext conftest$ac_exeext
18476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18477 (eval $ac_link) 2>conftest.er1
18479 grep -v '^ *+' conftest.er1 >conftest.err
18481 cat conftest.err >&5
18482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18483 (exit $ac_status); } &&
18484 { ac_try='test -z "$ac_c_werror_flag"
18485 || test ! -s conftest.err'
18486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18487 (eval $ac_try) 2>&5
18489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18490 (exit $ac_status); }; } &&
18491 { ac_try='test -s conftest$ac_exeext'
18492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18493 (eval $ac_try) 2>&5
18495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18496 (exit $ac_status); }; }; then
18497 ac_cv_lib_m_jnl=yes
18499 echo "$as_me: failed program was:" >&5
18500 sed 's/^/| /' conftest.$ac_ext >&5
18504 rm -f conftest.err conftest.$ac_objext \
18505 conftest$ac_exeext conftest.$ac_ext
18506 LIBS=$ac_check_lib_save_LIBS
18508 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
18509 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
18510 if test $ac_cv_lib_m_jnl = yes; then
18512 cat >>confdefs.h <<\_ACEOF
18518 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
18519 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
18520 if test "${ac_cv_lib_m_y0f+set}" = set; then
18521 echo $ECHO_N "(cached) $ECHO_C" >&6
18523 ac_check_lib_save_LIBS=$LIBS
18525 if test x$gcc_no_link = xyes; then
18526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18528 { (exit 1); exit 1; }; }
18530 cat >conftest.$ac_ext <<_ACEOF
18533 cat confdefs.h >>conftest.$ac_ext
18534 cat >>conftest.$ac_ext <<_ACEOF
18535 /* end confdefs.h. */
18537 /* Override any gcc2 internal prototype to avoid an error. */
18541 /* We use char because int might match the return type of a gcc2
18542 builtin and then its argument prototype would still apply. */
18552 rm -f conftest.$ac_objext conftest$ac_exeext
18553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18554 (eval $ac_link) 2>conftest.er1
18556 grep -v '^ *+' conftest.er1 >conftest.err
18558 cat conftest.err >&5
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); } &&
18561 { ac_try='test -z "$ac_c_werror_flag"
18562 || test ! -s conftest.err'
18563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18564 (eval $ac_try) 2>&5
18566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18567 (exit $ac_status); }; } &&
18568 { ac_try='test -s conftest$ac_exeext'
18569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18570 (eval $ac_try) 2>&5
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); }; }; then
18574 ac_cv_lib_m_y0f=yes
18576 echo "$as_me: failed program was:" >&5
18577 sed 's/^/| /' conftest.$ac_ext >&5
18581 rm -f conftest.err conftest.$ac_objext \
18582 conftest$ac_exeext conftest.$ac_ext
18583 LIBS=$ac_check_lib_save_LIBS
18585 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
18586 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
18587 if test $ac_cv_lib_m_y0f = yes; then
18589 cat >>confdefs.h <<\_ACEOF
18595 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
18596 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
18597 if test "${ac_cv_lib_m_y0+set}" = set; then
18598 echo $ECHO_N "(cached) $ECHO_C" >&6
18600 ac_check_lib_save_LIBS=$LIBS
18602 if test x$gcc_no_link = xyes; then
18603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18605 { (exit 1); exit 1; }; }
18607 cat >conftest.$ac_ext <<_ACEOF
18610 cat confdefs.h >>conftest.$ac_ext
18611 cat >>conftest.$ac_ext <<_ACEOF
18612 /* end confdefs.h. */
18614 /* Override any gcc2 internal prototype to avoid an error. */
18618 /* We use char because int might match the return type of a gcc2
18619 builtin and then its argument prototype would still apply. */
18629 rm -f conftest.$ac_objext conftest$ac_exeext
18630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18631 (eval $ac_link) 2>conftest.er1
18633 grep -v '^ *+' conftest.er1 >conftest.err
18635 cat conftest.err >&5
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); } &&
18638 { ac_try='test -z "$ac_c_werror_flag"
18639 || test ! -s conftest.err'
18640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18641 (eval $ac_try) 2>&5
18643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18644 (exit $ac_status); }; } &&
18645 { ac_try='test -s conftest$ac_exeext'
18646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18647 (eval $ac_try) 2>&5
18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 (exit $ac_status); }; }; then
18653 echo "$as_me: failed program was:" >&5
18654 sed 's/^/| /' conftest.$ac_ext >&5
18658 rm -f conftest.err conftest.$ac_objext \
18659 conftest$ac_exeext conftest.$ac_ext
18660 LIBS=$ac_check_lib_save_LIBS
18662 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
18663 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
18664 if test $ac_cv_lib_m_y0 = yes; then
18666 cat >>confdefs.h <<\_ACEOF
18672 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
18673 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
18674 if test "${ac_cv_lib_m_y0l+set}" = set; then
18675 echo $ECHO_N "(cached) $ECHO_C" >&6
18677 ac_check_lib_save_LIBS=$LIBS
18679 if test x$gcc_no_link = xyes; then
18680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18682 { (exit 1); exit 1; }; }
18684 cat >conftest.$ac_ext <<_ACEOF
18687 cat confdefs.h >>conftest.$ac_ext
18688 cat >>conftest.$ac_ext <<_ACEOF
18689 /* end confdefs.h. */
18691 /* Override any gcc2 internal prototype to avoid an error. */
18695 /* We use char because int might match the return type of a gcc2
18696 builtin and then its argument prototype would still apply. */
18706 rm -f conftest.$ac_objext conftest$ac_exeext
18707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18708 (eval $ac_link) 2>conftest.er1
18710 grep -v '^ *+' conftest.er1 >conftest.err
18712 cat conftest.err >&5
18713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18714 (exit $ac_status); } &&
18715 { ac_try='test -z "$ac_c_werror_flag"
18716 || test ! -s conftest.err'
18717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18718 (eval $ac_try) 2>&5
18720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18721 (exit $ac_status); }; } &&
18722 { ac_try='test -s conftest$ac_exeext'
18723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18724 (eval $ac_try) 2>&5
18726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18727 (exit $ac_status); }; }; then
18728 ac_cv_lib_m_y0l=yes
18730 echo "$as_me: failed program was:" >&5
18731 sed 's/^/| /' conftest.$ac_ext >&5
18735 rm -f conftest.err conftest.$ac_objext \
18736 conftest$ac_exeext conftest.$ac_ext
18737 LIBS=$ac_check_lib_save_LIBS
18739 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
18740 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
18741 if test $ac_cv_lib_m_y0l = yes; then
18743 cat >>confdefs.h <<\_ACEOF
18749 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
18750 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
18751 if test "${ac_cv_lib_m_y1f+set}" = set; then
18752 echo $ECHO_N "(cached) $ECHO_C" >&6
18754 ac_check_lib_save_LIBS=$LIBS
18756 if test x$gcc_no_link = xyes; then
18757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18759 { (exit 1); exit 1; }; }
18761 cat >conftest.$ac_ext <<_ACEOF
18764 cat confdefs.h >>conftest.$ac_ext
18765 cat >>conftest.$ac_ext <<_ACEOF
18766 /* end confdefs.h. */
18768 /* Override any gcc2 internal prototype to avoid an error. */
18772 /* We use char because int might match the return type of a gcc2
18773 builtin and then its argument prototype would still apply. */
18783 rm -f conftest.$ac_objext conftest$ac_exeext
18784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18785 (eval $ac_link) 2>conftest.er1
18787 grep -v '^ *+' conftest.er1 >conftest.err
18789 cat conftest.err >&5
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); } &&
18792 { ac_try='test -z "$ac_c_werror_flag"
18793 || test ! -s conftest.err'
18794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18795 (eval $ac_try) 2>&5
18797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18798 (exit $ac_status); }; } &&
18799 { ac_try='test -s conftest$ac_exeext'
18800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18801 (eval $ac_try) 2>&5
18803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18804 (exit $ac_status); }; }; then
18805 ac_cv_lib_m_y1f=yes
18807 echo "$as_me: failed program was:" >&5
18808 sed 's/^/| /' conftest.$ac_ext >&5
18812 rm -f conftest.err conftest.$ac_objext \
18813 conftest$ac_exeext conftest.$ac_ext
18814 LIBS=$ac_check_lib_save_LIBS
18816 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
18817 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
18818 if test $ac_cv_lib_m_y1f = yes; then
18820 cat >>confdefs.h <<\_ACEOF
18826 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
18827 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
18828 if test "${ac_cv_lib_m_y1+set}" = set; then
18829 echo $ECHO_N "(cached) $ECHO_C" >&6
18831 ac_check_lib_save_LIBS=$LIBS
18833 if test x$gcc_no_link = xyes; then
18834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18836 { (exit 1); exit 1; }; }
18838 cat >conftest.$ac_ext <<_ACEOF
18841 cat confdefs.h >>conftest.$ac_ext
18842 cat >>conftest.$ac_ext <<_ACEOF
18843 /* end confdefs.h. */
18845 /* Override any gcc2 internal prototype to avoid an error. */
18849 /* We use char because int might match the return type of a gcc2
18850 builtin and then its argument prototype would still apply. */
18860 rm -f conftest.$ac_objext conftest$ac_exeext
18861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18862 (eval $ac_link) 2>conftest.er1
18864 grep -v '^ *+' conftest.er1 >conftest.err
18866 cat conftest.err >&5
18867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18868 (exit $ac_status); } &&
18869 { ac_try='test -z "$ac_c_werror_flag"
18870 || test ! -s conftest.err'
18871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18872 (eval $ac_try) 2>&5
18874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18875 (exit $ac_status); }; } &&
18876 { ac_try='test -s conftest$ac_exeext'
18877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18878 (eval $ac_try) 2>&5
18880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881 (exit $ac_status); }; }; then
18884 echo "$as_me: failed program was:" >&5
18885 sed 's/^/| /' conftest.$ac_ext >&5
18889 rm -f conftest.err conftest.$ac_objext \
18890 conftest$ac_exeext conftest.$ac_ext
18891 LIBS=$ac_check_lib_save_LIBS
18893 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
18894 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
18895 if test $ac_cv_lib_m_y1 = yes; then
18897 cat >>confdefs.h <<\_ACEOF
18903 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
18904 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
18905 if test "${ac_cv_lib_m_y1l+set}" = set; then
18906 echo $ECHO_N "(cached) $ECHO_C" >&6
18908 ac_check_lib_save_LIBS=$LIBS
18910 if test x$gcc_no_link = xyes; then
18911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18913 { (exit 1); exit 1; }; }
18915 cat >conftest.$ac_ext <<_ACEOF
18918 cat confdefs.h >>conftest.$ac_ext
18919 cat >>conftest.$ac_ext <<_ACEOF
18920 /* end confdefs.h. */
18922 /* Override any gcc2 internal prototype to avoid an error. */
18926 /* We use char because int might match the return type of a gcc2
18927 builtin and then its argument prototype would still apply. */
18937 rm -f conftest.$ac_objext conftest$ac_exeext
18938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18939 (eval $ac_link) 2>conftest.er1
18941 grep -v '^ *+' conftest.er1 >conftest.err
18943 cat conftest.err >&5
18944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18945 (exit $ac_status); } &&
18946 { ac_try='test -z "$ac_c_werror_flag"
18947 || test ! -s conftest.err'
18948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18949 (eval $ac_try) 2>&5
18951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 (exit $ac_status); }; } &&
18953 { ac_try='test -s conftest$ac_exeext'
18954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18955 (eval $ac_try) 2>&5
18957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18958 (exit $ac_status); }; }; then
18959 ac_cv_lib_m_y1l=yes
18961 echo "$as_me: failed program was:" >&5
18962 sed 's/^/| /' conftest.$ac_ext >&5
18966 rm -f conftest.err conftest.$ac_objext \
18967 conftest$ac_exeext conftest.$ac_ext
18968 LIBS=$ac_check_lib_save_LIBS
18970 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
18971 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
18972 if test $ac_cv_lib_m_y1l = yes; then
18974 cat >>confdefs.h <<\_ACEOF
18980 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
18981 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
18982 if test "${ac_cv_lib_m_ynf+set}" = set; then
18983 echo $ECHO_N "(cached) $ECHO_C" >&6
18985 ac_check_lib_save_LIBS=$LIBS
18987 if test x$gcc_no_link = xyes; then
18988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18990 { (exit 1); exit 1; }; }
18992 cat >conftest.$ac_ext <<_ACEOF
18995 cat confdefs.h >>conftest.$ac_ext
18996 cat >>conftest.$ac_ext <<_ACEOF
18997 /* end confdefs.h. */
18999 /* Override any gcc2 internal prototype to avoid an error. */
19003 /* We use char because int might match the return type of a gcc2
19004 builtin and then its argument prototype would still apply. */
19014 rm -f conftest.$ac_objext conftest$ac_exeext
19015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19016 (eval $ac_link) 2>conftest.er1
19018 grep -v '^ *+' conftest.er1 >conftest.err
19020 cat conftest.err >&5
19021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19022 (exit $ac_status); } &&
19023 { ac_try='test -z "$ac_c_werror_flag"
19024 || test ! -s conftest.err'
19025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19026 (eval $ac_try) 2>&5
19028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19029 (exit $ac_status); }; } &&
19030 { ac_try='test -s conftest$ac_exeext'
19031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19032 (eval $ac_try) 2>&5
19034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19035 (exit $ac_status); }; }; then
19036 ac_cv_lib_m_ynf=yes
19038 echo "$as_me: failed program was:" >&5
19039 sed 's/^/| /' conftest.$ac_ext >&5
19043 rm -f conftest.err conftest.$ac_objext \
19044 conftest$ac_exeext conftest.$ac_ext
19045 LIBS=$ac_check_lib_save_LIBS
19047 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
19048 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
19049 if test $ac_cv_lib_m_ynf = yes; then
19051 cat >>confdefs.h <<\_ACEOF
19057 echo "$as_me:$LINENO: checking for yn in -lm" >&5
19058 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
19059 if test "${ac_cv_lib_m_yn+set}" = set; then
19060 echo $ECHO_N "(cached) $ECHO_C" >&6
19062 ac_check_lib_save_LIBS=$LIBS
19064 if test x$gcc_no_link = xyes; then
19065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19067 { (exit 1); exit 1; }; }
19069 cat >conftest.$ac_ext <<_ACEOF
19072 cat confdefs.h >>conftest.$ac_ext
19073 cat >>conftest.$ac_ext <<_ACEOF
19074 /* end confdefs.h. */
19076 /* Override any gcc2 internal prototype to avoid an error. */
19080 /* We use char because int might match the return type of a gcc2
19081 builtin and then its argument prototype would still apply. */
19091 rm -f conftest.$ac_objext conftest$ac_exeext
19092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19093 (eval $ac_link) 2>conftest.er1
19095 grep -v '^ *+' conftest.er1 >conftest.err
19097 cat conftest.err >&5
19098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19099 (exit $ac_status); } &&
19100 { ac_try='test -z "$ac_c_werror_flag"
19101 || test ! -s conftest.err'
19102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19103 (eval $ac_try) 2>&5
19105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19106 (exit $ac_status); }; } &&
19107 { ac_try='test -s conftest$ac_exeext'
19108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19109 (eval $ac_try) 2>&5
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); }; }; then
19115 echo "$as_me: failed program was:" >&5
19116 sed 's/^/| /' conftest.$ac_ext >&5
19120 rm -f conftest.err conftest.$ac_objext \
19121 conftest$ac_exeext conftest.$ac_ext
19122 LIBS=$ac_check_lib_save_LIBS
19124 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
19125 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
19126 if test $ac_cv_lib_m_yn = yes; then
19128 cat >>confdefs.h <<\_ACEOF
19134 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
19135 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
19136 if test "${ac_cv_lib_m_ynl+set}" = set; then
19137 echo $ECHO_N "(cached) $ECHO_C" >&6
19139 ac_check_lib_save_LIBS=$LIBS
19141 if test x$gcc_no_link = xyes; then
19142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19144 { (exit 1); exit 1; }; }
19146 cat >conftest.$ac_ext <<_ACEOF
19149 cat confdefs.h >>conftest.$ac_ext
19150 cat >>conftest.$ac_ext <<_ACEOF
19151 /* end confdefs.h. */
19153 /* Override any gcc2 internal prototype to avoid an error. */
19157 /* We use char because int might match the return type of a gcc2
19158 builtin and then its argument prototype would still apply. */
19168 rm -f conftest.$ac_objext conftest$ac_exeext
19169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19170 (eval $ac_link) 2>conftest.er1
19172 grep -v '^ *+' conftest.er1 >conftest.err
19174 cat conftest.err >&5
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); } &&
19177 { ac_try='test -z "$ac_c_werror_flag"
19178 || test ! -s conftest.err'
19179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19180 (eval $ac_try) 2>&5
19182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19183 (exit $ac_status); }; } &&
19184 { ac_try='test -s conftest$ac_exeext'
19185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19186 (eval $ac_try) 2>&5
19188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19189 (exit $ac_status); }; }; then
19190 ac_cv_lib_m_ynl=yes
19192 echo "$as_me: failed program was:" >&5
19193 sed 's/^/| /' conftest.$ac_ext >&5
19197 rm -f conftest.err conftest.$ac_objext \
19198 conftest$ac_exeext conftest.$ac_ext
19199 LIBS=$ac_check_lib_save_LIBS
19201 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
19202 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
19203 if test $ac_cv_lib_m_ynl = yes; then
19205 cat >>confdefs.h <<\_ACEOF
19212 # On AIX, clog is present in libm as __clog
19213 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
19214 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
19215 if test "${ac_cv_lib_m___clog+set}" = set; then
19216 echo $ECHO_N "(cached) $ECHO_C" >&6
19218 ac_check_lib_save_LIBS=$LIBS
19220 if test x$gcc_no_link = xyes; then
19221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19223 { (exit 1); exit 1; }; }
19225 cat >conftest.$ac_ext <<_ACEOF
19228 cat confdefs.h >>conftest.$ac_ext
19229 cat >>conftest.$ac_ext <<_ACEOF
19230 /* end confdefs.h. */
19232 /* Override any gcc2 internal prototype to avoid an error. */
19236 /* We use char because int might match the return type of a gcc2
19237 builtin and then its argument prototype would still apply. */
19247 rm -f conftest.$ac_objext conftest$ac_exeext
19248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19249 (eval $ac_link) 2>conftest.er1
19251 grep -v '^ *+' conftest.er1 >conftest.err
19253 cat conftest.err >&5
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); } &&
19256 { ac_try='test -z "$ac_c_werror_flag"
19257 || test ! -s conftest.err'
19258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19259 (eval $ac_try) 2>&5
19261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19262 (exit $ac_status); }; } &&
19263 { ac_try='test -s conftest$ac_exeext'
19264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19265 (eval $ac_try) 2>&5
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); }; }; then
19269 ac_cv_lib_m___clog=yes
19271 echo "$as_me: failed program was:" >&5
19272 sed 's/^/| /' conftest.$ac_ext >&5
19274 ac_cv_lib_m___clog=no
19276 rm -f conftest.err conftest.$ac_objext \
19277 conftest$ac_exeext conftest.$ac_ext
19278 LIBS=$ac_check_lib_save_LIBS
19280 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
19281 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
19282 if test $ac_cv_lib_m___clog = yes; then
19284 cat >>confdefs.h <<\_ACEOF
19285 #define HAVE_CLOG 1
19291 # Check for a isfinite macro that works on long doubles.
19293 echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
19294 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
19295 if test "${have_broken_isfinite+set}" = set; then
19296 echo $ECHO_N "(cached) $ECHO_C" >&6
19299 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
19301 if test "$cross_compiling" = yes; then
19303 case "${target}" in
19304 hppa*-*-hpux*) have_broken_isfinite=yes ;;
19305 *) have_broken_isfinite=no ;;
19308 cat >conftest.$ac_ext <<_ACEOF
19311 cat confdefs.h >>conftest.$ac_ext
19312 cat >>conftest.$ac_ext <<_ACEOF
19313 /* end confdefs.h. */
19323 if (!isfinite(LDBL_MAX)) return 1;
19326 if (!isfinite(DBL_MAX)) return 1;
19332 rm -f conftest$ac_exeext
19333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19334 (eval $ac_link) 2>&5
19336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19339 (eval $ac_try) 2>&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); }; }; then
19343 have_broken_isfinite=no
19345 echo "$as_me: program exited with status $ac_status" >&5
19346 echo "$as_me: failed program was:" >&5
19347 sed 's/^/| /' conftest.$ac_ext >&5
19349 ( exit $ac_status )
19350 have_broken_isfinite=yes
19352 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19354 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
19356 echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
19357 echo "${ECHO_T}$have_broken_isfinite" >&6
19358 if test x"$have_broken_isfinite" = xyes; then
19360 cat >>confdefs.h <<\_ACEOF
19361 #define HAVE_BROKEN_ISFINITE 1
19366 # Check for a isnan macro that works on long doubles.
19368 echo "$as_me:$LINENO: checking whether isnan is broken" >&5
19369 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
19370 if test "${have_broken_isnan+set}" = set; then
19371 echo $ECHO_N "(cached) $ECHO_C" >&6
19374 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
19376 if test "$cross_compiling" = yes; then
19378 case "${target}" in
19379 hppa*-*-hpux*) have_broken_isnan=yes ;;
19380 *) have_broken_isnan=no ;;
19383 cat >conftest.$ac_ext <<_ACEOF
19386 cat confdefs.h >>conftest.$ac_ext
19387 cat >>conftest.$ac_ext <<_ACEOF
19388 /* end confdefs.h. */
19400 x = __builtin_nanl ("");
19401 if (!isnan(x)) return 1;
19402 if (isnan(LDBL_MAX)) return 1;
19404 x = (long double) NAN;
19405 if (!isnan(x)) return 1;
19412 y = __builtin_nan ("");
19413 if (!isnan(y)) return 1;
19414 if (isnan(DBL_MAX)) return 1;
19417 if (!isnan(y)) return 1;
19425 rm -f conftest$ac_exeext
19426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19427 (eval $ac_link) 2>&5
19429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19430 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19432 (eval $ac_try) 2>&5
19434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435 (exit $ac_status); }; }; then
19436 have_broken_isnan=no
19438 echo "$as_me: program exited with status $ac_status" >&5
19439 echo "$as_me: failed program was:" >&5
19440 sed 's/^/| /' conftest.$ac_ext >&5
19442 ( exit $ac_status )
19443 have_broken_isnan=yes
19445 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19447 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
19449 echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
19450 echo "${ECHO_T}$have_broken_isnan" >&6
19451 if test x"$have_broken_isnan" = xyes; then
19453 cat >>confdefs.h <<\_ACEOF
19454 #define HAVE_BROKEN_ISNAN 1
19459 # Check for a fpclassify macro that works on long doubles.
19461 echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
19462 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
19463 if test "${have_broken_fpclassify+set}" = set; then
19464 echo $ECHO_N "(cached) $ECHO_C" >&6
19467 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
19469 if test "$cross_compiling" = yes; then
19471 case "${target}" in
19472 hppa*-*-hpux*) have_broken_fpclassify=yes ;;
19473 *) have_broken_fpclassify=no ;;
19476 cat >conftest.$ac_ext <<_ACEOF
19479 cat confdefs.h >>conftest.$ac_ext
19480 cat >>conftest.$ac_ext <<_ACEOF
19481 /* end confdefs.h. */
19491 if (fpclassify(LDBL_MAX) == FP_NAN
19492 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
19495 if (fpclassify(DBL_MAX) == FP_NAN
19496 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
19502 rm -f conftest$ac_exeext
19503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19504 (eval $ac_link) 2>&5
19506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19507 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19509 (eval $ac_try) 2>&5
19511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19512 (exit $ac_status); }; }; then
19513 have_broken_fpclassify=no
19515 echo "$as_me: program exited with status $ac_status" >&5
19516 echo "$as_me: failed program was:" >&5
19517 sed 's/^/| /' conftest.$ac_ext >&5
19519 ( exit $ac_status )
19520 have_broken_fpclassify=yes
19522 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19524 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
19526 echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
19527 echo "${ECHO_T}$have_broken_fpclassify" >&6
19528 if test x"$have_broken_fpclassify" = xyes; then
19530 cat >>confdefs.h <<\_ACEOF
19531 #define HAVE_BROKEN_FPCLASSIFY 1
19536 # Check whether the system has a working stat()
19538 echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
19539 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
19540 if test "${have_working_stat+set}" = set; then
19541 echo $ECHO_N "(cached) $ECHO_C" >&6
19544 if test "$cross_compiling" = yes; then
19546 case "${target}" in
19547 *mingw*) have_working_stat=no ;;
19548 *) have_working_stat=yes;;
19551 cat >conftest.$ac_ext <<_ACEOF
19554 cat confdefs.h >>conftest.$ac_ext
19555 cat >>conftest.$ac_ext <<_ACEOF
19556 /* end confdefs.h. */
19559 #include <sys/types.h>
19560 #include <sys/stat.h>
19561 #include <unistd.h>
19566 struct stat st1, st2;
19568 f = fopen ("foo", "w");
19569 g = fopen ("bar", "w");
19570 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
19572 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
19579 rm -f conftest$ac_exeext
19580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19581 (eval $ac_link) 2>&5
19583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19584 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19586 (eval $ac_try) 2>&5
19588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19589 (exit $ac_status); }; }; then
19590 have_working_stat=yes
19592 echo "$as_me: program exited with status $ac_status" >&5
19593 echo "$as_me: failed program was:" >&5
19594 sed 's/^/| /' conftest.$ac_ext >&5
19596 ( exit $ac_status )
19597 have_working_stat=no
19599 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19602 echo "$as_me:$LINENO: result: $have_working_stat" >&5
19603 echo "${ECHO_T}$have_working_stat" >&6
19604 if test x"$have_working_stat" = xyes; then
19606 cat >>confdefs.h <<\_ACEOF
19607 #define HAVE_WORKING_STAT 1
19612 # Fallback in case isfinite is not available.
19613 echo "$as_me:$LINENO: checking for finite in -lm" >&5
19614 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
19615 if test "${ac_cv_lib_m_finite+set}" = set; then
19616 echo $ECHO_N "(cached) $ECHO_C" >&6
19618 ac_check_lib_save_LIBS=$LIBS
19620 if test x$gcc_no_link = xyes; then
19621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19623 { (exit 1); exit 1; }; }
19625 cat >conftest.$ac_ext <<_ACEOF
19628 cat confdefs.h >>conftest.$ac_ext
19629 cat >>conftest.$ac_ext <<_ACEOF
19630 /* end confdefs.h. */
19632 /* Override any gcc2 internal prototype to avoid an error. */
19636 /* We use char because int might match the return type of a gcc2
19637 builtin and then its argument prototype would still apply. */
19647 rm -f conftest.$ac_objext conftest$ac_exeext
19648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19649 (eval $ac_link) 2>conftest.er1
19651 grep -v '^ *+' conftest.er1 >conftest.err
19653 cat conftest.err >&5
19654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19655 (exit $ac_status); } &&
19656 { ac_try='test -z "$ac_c_werror_flag"
19657 || test ! -s conftest.err'
19658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19659 (eval $ac_try) 2>&5
19661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19662 (exit $ac_status); }; } &&
19663 { ac_try='test -s conftest$ac_exeext'
19664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19665 (eval $ac_try) 2>&5
19667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19668 (exit $ac_status); }; }; then
19669 ac_cv_lib_m_finite=yes
19671 echo "$as_me: failed program was:" >&5
19672 sed 's/^/| /' conftest.$ac_ext >&5
19674 ac_cv_lib_m_finite=no
19676 rm -f conftest.err conftest.$ac_objext \
19677 conftest$ac_exeext conftest.$ac_ext
19678 LIBS=$ac_check_lib_save_LIBS
19680 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
19681 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
19682 if test $ac_cv_lib_m_finite = yes; then
19684 cat >>confdefs.h <<\_ACEOF
19685 #define HAVE_FINITE 1
19691 # Check for GNU libc feenableexcept
19692 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
19693 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
19694 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
19695 echo $ECHO_N "(cached) $ECHO_C" >&6
19697 ac_check_lib_save_LIBS=$LIBS
19699 if test x$gcc_no_link = xyes; then
19700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19702 { (exit 1); exit 1; }; }
19704 cat >conftest.$ac_ext <<_ACEOF
19707 cat confdefs.h >>conftest.$ac_ext
19708 cat >>conftest.$ac_ext <<_ACEOF
19709 /* end confdefs.h. */
19711 /* Override any gcc2 internal prototype to avoid an error. */
19715 /* We use char because int might match the return type of a gcc2
19716 builtin and then its argument prototype would still apply. */
19717 char feenableexcept ();
19726 rm -f conftest.$ac_objext conftest$ac_exeext
19727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19728 (eval $ac_link) 2>conftest.er1
19730 grep -v '^ *+' conftest.er1 >conftest.err
19732 cat conftest.err >&5
19733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19734 (exit $ac_status); } &&
19735 { ac_try='test -z "$ac_c_werror_flag"
19736 || test ! -s conftest.err'
19737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19738 (eval $ac_try) 2>&5
19740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741 (exit $ac_status); }; } &&
19742 { ac_try='test -s conftest$ac_exeext'
19743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19744 (eval $ac_try) 2>&5
19746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19747 (exit $ac_status); }; }; then
19748 ac_cv_lib_m_feenableexcept=yes
19750 echo "$as_me: failed program was:" >&5
19751 sed 's/^/| /' conftest.$ac_ext >&5
19753 ac_cv_lib_m_feenableexcept=no
19755 rm -f conftest.err conftest.$ac_objext \
19756 conftest$ac_exeext conftest.$ac_ext
19757 LIBS=$ac_check_lib_save_LIBS
19759 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
19760 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
19761 if test $ac_cv_lib_m_feenableexcept = yes; then
19762 have_feenableexcept=yes
19763 cat >>confdefs.h <<\_ACEOF
19764 #define HAVE_FEENABLEEXCEPT 1
19770 # Check for SysV fpsetmask
19772 echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
19773 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
19774 if test "${have_fpsetmask+set}" = set; then
19775 echo $ECHO_N "(cached) $ECHO_C" >&6
19778 if test x$gcc_no_link = xyes; then
19779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19781 { (exit 1); exit 1; }; }
19783 cat >conftest.$ac_ext <<_ACEOF
19786 cat confdefs.h >>conftest.$ac_ext
19787 cat >>conftest.$ac_ext <<_ACEOF
19788 /* end confdefs.h. */
19790 #if HAVE_FLOATINGPOINT_H
19791 # include <floatingpoint.h>
19792 #endif /* HAVE_FLOATINGPOINT_H */
19794 # include <ieeefp.h>
19795 #endif /* HAVE_IEEEFP_H */
19804 rm -f conftest.$ac_objext conftest$ac_exeext
19805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19806 (eval $ac_link) 2>conftest.er1
19808 grep -v '^ *+' conftest.er1 >conftest.err
19810 cat conftest.err >&5
19811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19812 (exit $ac_status); } &&
19813 { ac_try='test -z "$ac_c_werror_flag"
19814 || test ! -s conftest.err'
19815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19816 (eval $ac_try) 2>&5
19818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19819 (exit $ac_status); }; } &&
19820 { ac_try='test -s conftest$ac_exeext'
19821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19822 (eval $ac_try) 2>&5
19824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19825 (exit $ac_status); }; }; then
19826 eval "have_fpsetmask=yes"
19828 echo "$as_me: failed program was:" >&5
19829 sed 's/^/| /' conftest.$ac_ext >&5
19831 eval "have_fpsetmask=no"
19833 rm -f conftest.err conftest.$ac_objext \
19834 conftest$ac_exeext conftest.$ac_ext
19837 echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
19838 echo "${ECHO_T}$have_fpsetmask" >&6
19839 if test x"$have_fpsetmask" = xyes; then
19841 cat >>confdefs.h <<\_ACEOF
19842 #define HAVE_FPSETMASK 1
19848 # Check for AIX fp_trap and fp_enable
19849 echo "$as_me:$LINENO: checking for fp_trap" >&5
19850 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
19851 if test "${ac_cv_func_fp_trap+set}" = set; then
19852 echo $ECHO_N "(cached) $ECHO_C" >&6
19854 if test x$gcc_no_link = xyes; then
19855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19857 { (exit 1); exit 1; }; }
19859 cat >conftest.$ac_ext <<_ACEOF
19862 cat confdefs.h >>conftest.$ac_ext
19863 cat >>conftest.$ac_ext <<_ACEOF
19864 /* end confdefs.h. */
19865 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
19866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19867 #define fp_trap innocuous_fp_trap
19869 /* System header to define __stub macros and hopefully few prototypes,
19870 which can conflict with char fp_trap (); below.
19871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19872 <limits.h> exists even on freestanding compilers. */
19875 # include <limits.h>
19877 # include <assert.h>
19882 /* Override any gcc2 internal prototype to avoid an error. */
19887 /* We use char because int might match the return type of a gcc2
19888 builtin and then its argument prototype would still apply. */
19890 /* The GNU C library defines this for functions which it implements
19891 to always fail with ENOSYS. Some functions are actually named
19892 something starting with __ and the normal name is an alias. */
19893 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
19896 char (*f) () = fp_trap;
19905 return f != fp_trap;
19910 rm -f conftest.$ac_objext conftest$ac_exeext
19911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19912 (eval $ac_link) 2>conftest.er1
19914 grep -v '^ *+' conftest.er1 >conftest.err
19916 cat conftest.err >&5
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); } &&
19919 { ac_try='test -z "$ac_c_werror_flag"
19920 || test ! -s conftest.err'
19921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19922 (eval $ac_try) 2>&5
19924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19925 (exit $ac_status); }; } &&
19926 { ac_try='test -s conftest$ac_exeext'
19927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19928 (eval $ac_try) 2>&5
19930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19931 (exit $ac_status); }; }; then
19932 ac_cv_func_fp_trap=yes
19934 echo "$as_me: failed program was:" >&5
19935 sed 's/^/| /' conftest.$ac_ext >&5
19937 ac_cv_func_fp_trap=no
19939 rm -f conftest.err conftest.$ac_objext \
19940 conftest$ac_exeext conftest.$ac_ext
19942 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
19943 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
19944 if test $ac_cv_func_fp_trap = yes; then
19946 cat >>confdefs.h <<\_ACEOF
19947 #define HAVE_FP_TRAP 1
19952 echo "$as_me:$LINENO: checking for fp_enable" >&5
19953 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
19954 if test "${ac_cv_func_fp_enable+set}" = set; then
19955 echo $ECHO_N "(cached) $ECHO_C" >&6
19957 if test x$gcc_no_link = xyes; then
19958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19960 { (exit 1); exit 1; }; }
19962 cat >conftest.$ac_ext <<_ACEOF
19965 cat confdefs.h >>conftest.$ac_ext
19966 cat >>conftest.$ac_ext <<_ACEOF
19967 /* end confdefs.h. */
19968 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
19969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19970 #define fp_enable innocuous_fp_enable
19972 /* System header to define __stub macros and hopefully few prototypes,
19973 which can conflict with char fp_enable (); below.
19974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19975 <limits.h> exists even on freestanding compilers. */
19978 # include <limits.h>
19980 # include <assert.h>
19985 /* Override any gcc2 internal prototype to avoid an error. */
19990 /* We use char because int might match the return type of a gcc2
19991 builtin and then its argument prototype would still apply. */
19993 /* The GNU C library defines this for functions which it implements
19994 to always fail with ENOSYS. Some functions are actually named
19995 something starting with __ and the normal name is an alias. */
19996 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
19999 char (*f) () = fp_enable;
20008 return f != fp_enable;
20013 rm -f conftest.$ac_objext conftest$ac_exeext
20014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20015 (eval $ac_link) 2>conftest.er1
20017 grep -v '^ *+' conftest.er1 >conftest.err
20019 cat conftest.err >&5
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); } &&
20022 { ac_try='test -z "$ac_c_werror_flag"
20023 || test ! -s conftest.err'
20024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20025 (eval $ac_try) 2>&5
20027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20028 (exit $ac_status); }; } &&
20029 { ac_try='test -s conftest$ac_exeext'
20030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20031 (eval $ac_try) 2>&5
20033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20034 (exit $ac_status); }; }; then
20035 ac_cv_func_fp_enable=yes
20037 echo "$as_me: failed program was:" >&5
20038 sed 's/^/| /' conftest.$ac_ext >&5
20040 ac_cv_func_fp_enable=no
20042 rm -f conftest.err conftest.$ac_objext \
20043 conftest$ac_exeext conftest.$ac_ext
20045 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
20046 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
20047 if test $ac_cv_func_fp_enable = yes; then
20049 cat >>confdefs.h <<\_ACEOF
20050 #define HAVE_FP_ENABLE 1
20056 # Runs configure.host to set up necessary host-dependent shell variables.
20057 # We then display a message about it, and propagate them through the
20059 . ${srcdir}/configure.host
20060 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
20061 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
20062 FPU_HOST_HEADER=config/${fpu_host}.h
20065 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
20066 # for struct timezone, as you might think. We also need to check how
20067 # to call gettimeofday if we have it.
20068 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20069 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20070 if test "${ac_cv_header_time+set}" = set; then
20071 echo $ECHO_N "(cached) $ECHO_C" >&6
20073 cat >conftest.$ac_ext <<_ACEOF
20076 cat confdefs.h >>conftest.$ac_ext
20077 cat >>conftest.$ac_ext <<_ACEOF
20078 /* end confdefs.h. */
20079 #include <sys/types.h>
20080 #include <sys/time.h>
20086 if ((struct tm *) 0)
20092 rm -f conftest.$ac_objext
20093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20094 (eval $ac_compile) 2>conftest.er1
20096 grep -v '^ *+' conftest.er1 >conftest.err
20098 cat conftest.err >&5
20099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); } &&
20101 { ac_try='test -z "$ac_c_werror_flag"
20102 || test ! -s conftest.err'
20103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20104 (eval $ac_try) 2>&5
20106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20107 (exit $ac_status); }; } &&
20108 { ac_try='test -s conftest.$ac_objext'
20109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20110 (eval $ac_try) 2>&5
20112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20113 (exit $ac_status); }; }; then
20114 ac_cv_header_time=yes
20116 echo "$as_me: failed program was:" >&5
20117 sed 's/^/| /' conftest.$ac_ext >&5
20119 ac_cv_header_time=no
20121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20123 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20124 echo "${ECHO_T}$ac_cv_header_time" >&6
20125 if test $ac_cv_header_time = yes; then
20127 cat >>confdefs.h <<\_ACEOF
20128 #define TIME_WITH_SYS_TIME 1
20135 for ac_func in gettimeofday
20137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20138 echo "$as_me:$LINENO: checking for $ac_func" >&5
20139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20140 if eval "test \"\${$as_ac_var+set}\" = set"; then
20141 echo $ECHO_N "(cached) $ECHO_C" >&6
20143 if test x$gcc_no_link = xyes; then
20144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20146 { (exit 1); exit 1; }; }
20148 cat >conftest.$ac_ext <<_ACEOF
20151 cat confdefs.h >>conftest.$ac_ext
20152 cat >>conftest.$ac_ext <<_ACEOF
20153 /* end confdefs.h. */
20154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20156 #define $ac_func innocuous_$ac_func
20158 /* System header to define __stub macros and hopefully few prototypes,
20159 which can conflict with char $ac_func (); below.
20160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20161 <limits.h> exists even on freestanding compilers. */
20164 # include <limits.h>
20166 # include <assert.h>
20171 /* Override any gcc2 internal prototype to avoid an error. */
20176 /* We use char because int might match the return type of a gcc2
20177 builtin and then its argument prototype would still apply. */
20179 /* The GNU C library defines this for functions which it implements
20180 to always fail with ENOSYS. Some functions are actually named
20181 something starting with __ and the normal name is an alias. */
20182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20185 char (*f) () = $ac_func;
20194 return f != $ac_func;
20199 rm -f conftest.$ac_objext conftest$ac_exeext
20200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20201 (eval $ac_link) 2>conftest.er1
20203 grep -v '^ *+' conftest.er1 >conftest.err
20205 cat conftest.err >&5
20206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20207 (exit $ac_status); } &&
20208 { ac_try='test -z "$ac_c_werror_flag"
20209 || test ! -s conftest.err'
20210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20211 (eval $ac_try) 2>&5
20213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20214 (exit $ac_status); }; } &&
20215 { ac_try='test -s conftest$ac_exeext'
20216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20217 (eval $ac_try) 2>&5
20219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20220 (exit $ac_status); }; }; then
20221 eval "$as_ac_var=yes"
20223 echo "$as_me: failed program was:" >&5
20224 sed 's/^/| /' conftest.$ac_ext >&5
20226 eval "$as_ac_var=no"
20228 rm -f conftest.err conftest.$ac_objext \
20229 conftest$ac_exeext conftest.$ac_ext
20231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20233 if test `eval echo '${'$as_ac_var'}'` = yes; then
20234 cat >>confdefs.h <<_ACEOF
20235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20241 if test "$ac_cv_func_gettimeofday" = yes; then
20242 echo "$as_me:$LINENO: checking for struct timezone" >&5
20243 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
20244 if test "${gfor_cv_struct_timezone+set}" = set; then
20245 echo $ECHO_N "(cached) $ECHO_C" >&6
20247 cat >conftest.$ac_ext <<_ACEOF
20250 cat confdefs.h >>conftest.$ac_ext
20251 cat >>conftest.$ac_ext <<_ACEOF
20252 /* end confdefs.h. */
20253 #include <sys/time.h>
20257 struct timezone tz;
20262 rm -f conftest.$ac_objext
20263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20264 (eval $ac_compile) 2>conftest.er1
20266 grep -v '^ *+' conftest.er1 >conftest.err
20268 cat conftest.err >&5
20269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20270 (exit $ac_status); } &&
20271 { ac_try='test -z "$ac_c_werror_flag"
20272 || test ! -s conftest.err'
20273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20274 (eval $ac_try) 2>&5
20276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20277 (exit $ac_status); }; } &&
20278 { ac_try='test -s conftest.$ac_objext'
20279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20280 (eval $ac_try) 2>&5
20282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20283 (exit $ac_status); }; }; then
20284 gfor_cv_struct_timezone=yes
20286 echo "$as_me: failed program was:" >&5
20287 sed 's/^/| /' conftest.$ac_ext >&5
20289 gfor_cv_struct_timezone=no
20291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20293 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
20294 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
20295 if test $gfor_cv_struct_timezone = yes; then
20296 if test "$cross_compiling" = yes; then
20297 gfor_have_struct_timezone=yes
20299 cat >conftest.$ac_ext <<_ACEOF
20302 cat confdefs.h >>conftest.$ac_ext
20303 cat >>conftest.$ac_ext <<_ACEOF
20304 /* end confdefs.h. */
20306 #ifdef TIME_WITH_SYS_TIME
20307 #include <sys/time.h>
20310 #ifdef HAVE_SYS_TIME_H
20311 #include <sys/time.h>
20318 struct timeval time;
20319 struct timezone dummy;
20320 if (gettimeofday (&time, &dummy))
20326 rm -f conftest$ac_exeext
20327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20328 (eval $ac_link) 2>&5
20330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20331 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20333 (eval $ac_try) 2>&5
20335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20336 (exit $ac_status); }; }; then
20337 gfor_have_struct_timezone=yes
20339 echo "$as_me: program exited with status $ac_status" >&5
20340 echo "$as_me: failed program was:" >&5
20341 sed 's/^/| /' conftest.$ac_ext >&5
20343 ( exit $ac_status )
20344 gfor_have_struct_timezone=no
20346 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20348 if test $gfor_have_struct_timezone = yes; then
20350 cat >>confdefs.h <<\_ACEOF
20351 #define HAVE_TIMEZONE 1
20357 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
20358 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
20359 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
20360 echo $ECHO_N "(cached) $ECHO_C" >&6
20362 if test x$gcc_no_link = xyes; then
20363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20365 { (exit 1); exit 1; }; }
20367 cat >conftest.$ac_ext <<_ACEOF
20370 cat confdefs.h >>conftest.$ac_ext
20371 cat >>conftest.$ac_ext <<_ACEOF
20372 /* end confdefs.h. */
20374 #ifdef TIME_WITH_SYS_TIME
20375 #include <sys/time.h>
20378 #ifdef HAVE_SYS_TIME_H
20379 #include <sys/time.h>
20389 struct timeval time;
20390 #ifdef HAVE_TIMEZONE
20391 struct timezone dummy;
20392 #define DUMMY &dummy
20396 gettimeofday (&time, DUMMY);
20401 rm -f conftest.$ac_objext conftest$ac_exeext
20402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20403 (eval $ac_link) 2>conftest.er1
20405 grep -v '^ *+' conftest.er1 >conftest.err
20407 cat conftest.err >&5
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 (exit $ac_status); } &&
20410 { ac_try='test -z "$ac_c_werror_flag"
20411 || test ! -s conftest.err'
20412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20413 (eval $ac_try) 2>&5
20415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20416 (exit $ac_status); }; } &&
20417 { ac_try='test -s conftest$ac_exeext'
20418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20419 (eval $ac_try) 2>&5
20421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20422 (exit $ac_status); }; }; then
20423 emacs_cv_gettimeofday_two_arguments=yes
20425 echo "$as_me: failed program was:" >&5
20426 sed 's/^/| /' conftest.$ac_ext >&5
20428 emacs_cv_gettimeofday_two_arguments=no
20430 rm -f conftest.err conftest.$ac_objext \
20431 conftest$ac_exeext conftest.$ac_ext
20433 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
20434 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
20435 if test $emacs_cv_gettimeofday_two_arguments = no; then
20437 cat >>confdefs.h <<\_ACEOF
20438 #define GETTIMEOFDAY_ONE_ARGUMENT 1
20444 # Attempt to assert that the target is of common type in case we don't
20445 # have C99 integer types at all.
20447 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
20448 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
20449 if test "${target_ilp32+set}" = set; then
20450 echo $ECHO_N "(cached) $ECHO_C" >&6
20453 save_CFLAGS="$CFLAGS"
20455 if test x$gcc_no_link = xyes; then
20456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20458 { (exit 1); exit 1; }; }
20460 cat >conftest.$ac_ext <<_ACEOF
20463 cat confdefs.h >>conftest.$ac_ext
20464 cat >>conftest.$ac_ext <<_ACEOF
20465 /* end confdefs.h. */
20471 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
20474 undefined_function ();
20480 rm -f conftest.$ac_objext conftest$ac_exeext
20481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20482 (eval $ac_link) 2>conftest.er1
20484 grep -v '^ *+' conftest.er1 >conftest.err
20486 cat conftest.err >&5
20487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488 (exit $ac_status); } &&
20489 { ac_try='test -z "$ac_c_werror_flag"
20490 || test ! -s conftest.err'
20491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20492 (eval $ac_try) 2>&5
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); }; } &&
20496 { ac_try='test -s conftest$ac_exeext'
20497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20498 (eval $ac_try) 2>&5
20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 (exit $ac_status); }; }; then
20504 echo "$as_me: failed program was:" >&5
20505 sed 's/^/| /' conftest.$ac_ext >&5
20509 rm -f conftest.err conftest.$ac_objext \
20510 conftest$ac_exeext conftest.$ac_ext
20511 CFLAGS="$save_CFLAGS"
20513 echo "$as_me:$LINENO: result: $target_ilp32" >&5
20514 echo "${ECHO_T}$target_ilp32" >&6
20515 if test $target_ilp32 = yes; then
20517 cat >>confdefs.h <<\_ACEOF
20518 #define TARGET_ILP32 1
20524 # Check out attribute support.
20526 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
20527 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
20528 if test "${have_attribute_visibility+set}" = set; then
20529 echo $ECHO_N "(cached) $ECHO_C" >&6
20532 save_CFLAGS="$CFLAGS"
20533 CFLAGS="$CFLAGS -Werror"
20534 cat >conftest.$ac_ext <<_ACEOF
20537 cat confdefs.h >>conftest.$ac_ext
20538 cat >>conftest.$ac_ext <<_ACEOF
20539 /* end confdefs.h. */
20540 void __attribute__((visibility("hidden"))) foo(void) { }
20549 rm -f conftest.$ac_objext
20550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20551 (eval $ac_compile) 2>conftest.er1
20553 grep -v '^ *+' conftest.er1 >conftest.err
20555 cat conftest.err >&5
20556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20557 (exit $ac_status); } &&
20558 { ac_try='test -z "$ac_c_werror_flag"
20559 || test ! -s conftest.err'
20560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20561 (eval $ac_try) 2>&5
20563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20564 (exit $ac_status); }; } &&
20565 { ac_try='test -s conftest.$ac_objext'
20566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20567 (eval $ac_try) 2>&5
20569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20570 (exit $ac_status); }; }; then
20571 have_attribute_visibility=yes
20573 echo "$as_me: failed program was:" >&5
20574 sed 's/^/| /' conftest.$ac_ext >&5
20576 have_attribute_visibility=no
20578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20579 CFLAGS="$save_CFLAGS"
20581 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
20582 echo "${ECHO_T}$have_attribute_visibility" >&6
20583 if test $have_attribute_visibility = yes; then
20585 cat >>confdefs.h <<\_ACEOF
20586 #define HAVE_ATTRIBUTE_VISIBILITY 1
20591 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
20592 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
20593 if test "${have_attribute_dllexport+set}" = set; then
20594 echo $ECHO_N "(cached) $ECHO_C" >&6
20597 save_CFLAGS="$CFLAGS"
20598 CFLAGS="$CFLAGS -Werror"
20599 cat >conftest.$ac_ext <<_ACEOF
20602 cat confdefs.h >>conftest.$ac_ext
20603 cat >>conftest.$ac_ext <<_ACEOF
20604 /* end confdefs.h. */
20605 void __attribute__((dllexport)) foo(void) { }
20614 rm -f conftest.$ac_objext
20615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20616 (eval $ac_compile) 2>conftest.er1
20618 grep -v '^ *+' conftest.er1 >conftest.err
20620 cat conftest.err >&5
20621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20622 (exit $ac_status); } &&
20623 { ac_try='test -z "$ac_c_werror_flag"
20624 || test ! -s conftest.err'
20625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20626 (eval $ac_try) 2>&5
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); }; } &&
20630 { ac_try='test -s conftest.$ac_objext'
20631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20632 (eval $ac_try) 2>&5
20634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20635 (exit $ac_status); }; }; then
20636 have_attribute_dllexport=yes
20638 echo "$as_me: failed program was:" >&5
20639 sed 's/^/| /' conftest.$ac_ext >&5
20641 have_attribute_dllexport=no
20643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20644 CFLAGS="$save_CFLAGS"
20646 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
20647 echo "${ECHO_T}$have_attribute_dllexport" >&6
20648 if test $have_attribute_dllexport = yes; then
20650 cat >>confdefs.h <<\_ACEOF
20651 #define HAVE_ATTRIBUTE_DLLEXPORT 1
20656 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
20657 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
20658 if test "${have_attribute_alias+set}" = set; then
20659 echo $ECHO_N "(cached) $ECHO_C" >&6
20662 if test x$gcc_no_link = xyes; then
20663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20665 { (exit 1); exit 1; }; }
20667 cat >conftest.$ac_ext <<_ACEOF
20670 cat confdefs.h >>conftest.$ac_ext
20671 cat >>conftest.$ac_ext <<_ACEOF
20672 /* end confdefs.h. */
20674 #define ULP STR1(__USER_LABEL_PREFIX__)
20675 #define STR1(x) STR2(x)
20678 extern void bar(void) __attribute__((alias(ULP "foo")));
20687 rm -f conftest.$ac_objext conftest$ac_exeext
20688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20689 (eval $ac_link) 2>conftest.er1
20691 grep -v '^ *+' conftest.er1 >conftest.err
20693 cat conftest.err >&5
20694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695 (exit $ac_status); } &&
20696 { ac_try='test -z "$ac_c_werror_flag"
20697 || test ! -s conftest.err'
20698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20699 (eval $ac_try) 2>&5
20701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20702 (exit $ac_status); }; } &&
20703 { ac_try='test -s conftest$ac_exeext'
20704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20705 (eval $ac_try) 2>&5
20707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708 (exit $ac_status); }; }; then
20709 have_attribute_alias=yes
20711 echo "$as_me: failed program was:" >&5
20712 sed 's/^/| /' conftest.$ac_ext >&5
20714 have_attribute_alias=no
20716 rm -f conftest.err conftest.$ac_objext \
20717 conftest$ac_exeext conftest.$ac_ext
20719 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
20720 echo "${ECHO_T}$have_attribute_alias" >&6
20721 if test $have_attribute_alias = yes; then
20723 cat >>confdefs.h <<\_ACEOF
20724 #define HAVE_ATTRIBUTE_ALIAS 1
20729 # Check out sync builtins support.
20731 echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
20732 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
20733 if test "${have_sync_fetch_and_add+set}" = set; then
20734 echo $ECHO_N "(cached) $ECHO_C" >&6
20737 if test x$gcc_no_link = xyes; then
20738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20740 { (exit 1); exit 1; }; }
20742 cat >conftest.$ac_ext <<_ACEOF
20745 cat confdefs.h >>conftest.$ac_ext
20746 cat >>conftest.$ac_ext <<_ACEOF
20747 /* end confdefs.h. */
20753 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
20754 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
20759 rm -f conftest.$ac_objext conftest$ac_exeext
20760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20761 (eval $ac_link) 2>conftest.er1
20763 grep -v '^ *+' conftest.er1 >conftest.err
20765 cat conftest.err >&5
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); } &&
20768 { ac_try='test -z "$ac_c_werror_flag"
20769 || test ! -s conftest.err'
20770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20771 (eval $ac_try) 2>&5
20773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20774 (exit $ac_status); }; } &&
20775 { ac_try='test -s conftest$ac_exeext'
20776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20777 (eval $ac_try) 2>&5
20779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20780 (exit $ac_status); }; }; then
20781 have_sync_fetch_and_add=yes
20783 echo "$as_me: failed program was:" >&5
20784 sed 's/^/| /' conftest.$ac_ext >&5
20786 have_sync_fetch_and_add=no
20788 rm -f conftest.err conftest.$ac_objext \
20789 conftest$ac_exeext conftest.$ac_ext
20791 echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
20792 echo "${ECHO_T}$have_sync_fetch_and_add" >&6
20793 if test $have_sync_fetch_and_add = yes; then
20795 cat >>confdefs.h <<\_ACEOF
20796 #define HAVE_SYNC_FETCH_AND_ADD 1
20801 # Check out thread support.
20803 echo "$as_me:$LINENO: checking configured target thread model" >&5
20804 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
20805 if test "${target_thread_file+set}" = set; then
20806 echo $ECHO_N "(cached) $ECHO_C" >&6
20809 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
20811 echo "$as_me:$LINENO: result: $target_thread_file" >&5
20812 echo "${ECHO_T}$target_thread_file" >&6
20814 if test $target_thread_file != single; then
20816 cat >>confdefs.h <<\_ACEOF
20817 #define HAVE_GTHR_DEFAULT 1
20822 # Check out #pragma weak.
20824 echo "$as_me:$LINENO: checking whether pragma weak works" >&5
20825 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
20826 if test "${have_pragma_weak+set}" = set; then
20827 echo $ECHO_N "(cached) $ECHO_C" >&6
20830 gfor_save_CFLAGS="$CFLAGS"
20831 CFLAGS="$CFLAGS -Wunknown-pragmas"
20832 cat >conftest.$ac_ext <<_ACEOF
20835 cat confdefs.h >>conftest.$ac_ext
20836 cat >>conftest.$ac_ext <<_ACEOF
20837 /* end confdefs.h. */
20848 rm -f conftest.$ac_objext
20849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20850 (eval $ac_compile) 2>conftest.er1
20852 grep -v '^ *+' conftest.er1 >conftest.err
20854 cat conftest.err >&5
20855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20856 (exit $ac_status); } &&
20857 { ac_try='test -z "$ac_c_werror_flag"
20858 || test ! -s conftest.err'
20859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20860 (eval $ac_try) 2>&5
20862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20863 (exit $ac_status); }; } &&
20864 { ac_try='test -s conftest.$ac_objext'
20865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20866 (eval $ac_try) 2>&5
20868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869 (exit $ac_status); }; }; then
20870 have_pragma_weak=yes
20872 echo "$as_me: failed program was:" >&5
20873 sed 's/^/| /' conftest.$ac_ext >&5
20875 have_pragma_weak=no
20877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20879 echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
20880 echo "${ECHO_T}$have_pragma_weak" >&6
20881 if test $have_pragma_weak = yes; then
20883 cat >>confdefs.h <<\_ACEOF
20884 #define SUPPORTS_WEAK 1
20889 *-*-darwin* | *-*-hpux* | *-*-cygwin*)
20891 cat >>confdefs.h <<\_ACEOF
20892 #define GTHREAD_USE_WEAK 0
20898 # Various other checks on target
20900 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
20901 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
20902 if test "${have_unlink_open_file+set}" = set; then
20903 echo $ECHO_N "(cached) $ECHO_C" >&6
20906 if test "$cross_compiling" = yes; then
20908 case "${target}" in
20909 *mingw*) have_unlink_open_file=no ;;
20910 *) have_unlink_open_file=yes;;
20913 cat >conftest.$ac_ext <<_ACEOF
20916 cat confdefs.h >>conftest.$ac_ext
20917 cat >>conftest.$ac_ext <<_ACEOF
20918 /* end confdefs.h. */
20922 #include <unistd.h>
20923 #include <sys/stat.h>
20929 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
20932 if (unlink ("testfile") == -1)
20934 write (fd, "This is a test\n", 15);
20937 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
20943 rm -f conftest$ac_exeext
20944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20945 (eval $ac_link) 2>&5
20947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20948 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20950 (eval $ac_try) 2>&5
20952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20953 (exit $ac_status); }; }; then
20954 have_unlink_open_file=yes
20956 echo "$as_me: program exited with status $ac_status" >&5
20957 echo "$as_me: failed program was:" >&5
20958 sed 's/^/| /' conftest.$ac_ext >&5
20960 ( exit $ac_status )
20961 have_unlink_open_file=no
20963 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20966 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
20967 echo "${ECHO_T}$have_unlink_open_file" >&6
20968 if test x"$have_unlink_open_file" = xyes; then
20970 cat >>confdefs.h <<\_ACEOF
20971 #define HAVE_UNLINK_OPEN_FILE 1
20976 # Check whether line terminator is LF or CRLF
20978 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
20979 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
20980 if test "${have_crlf+set}" = set; then
20981 echo $ECHO_N "(cached) $ECHO_C" >&6
20984 if test "$cross_compiling" = yes; then
20986 case "${target}" in
20987 *mingw*) have_crlf=yes ;;
20991 cat >conftest.$ac_ext <<_ACEOF
20994 cat confdefs.h >>conftest.$ac_ext
20995 cat >>conftest.$ac_ext <<_ACEOF
20996 /* end confdefs.h. */
20998 /* This test program should exit with status 0 if system uses a CRLF as
20999 line terminator, and status 1 otherwise.
21000 Since it is used to check for mingw systems, and should return 0 in any
21001 other case, in case of a failure we will not use CRLF. */
21002 #include <sys/stat.h>
21003 #include <stdlib.h>
21015 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
21018 if (write (fd, "\n", 1) < 0)
21023 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
21025 bytes = read (fd, buff, 5);
21026 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
21033 rm -f conftest$ac_exeext
21034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21035 (eval $ac_link) 2>&5
21037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21038 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21040 (eval $ac_try) 2>&5
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); }; }; then
21046 echo "$as_me: program exited with status $ac_status" >&5
21047 echo "$as_me: failed program was:" >&5
21048 sed 's/^/| /' conftest.$ac_ext >&5
21050 ( exit $ac_status )
21053 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21056 echo "$as_me:$LINENO: result: $have_crlf" >&5
21057 echo "${ECHO_T}$have_crlf" >&6
21058 if test x"$have_crlf" = xyes; then
21060 cat >>confdefs.h <<\_ACEOF
21061 #define HAVE_CRLF 1
21066 cat >confcache <<\_ACEOF
21067 # This file is a shell script that caches the results of configure
21068 # tests run on this system so they can be shared between configure
21069 # scripts and configure runs, see configure's option --config-cache.
21070 # It is not useful on other systems. If it contains results you don't
21071 # want to keep, you may remove or edit it.
21073 # config.status only pays attention to the cache file if you give it
21074 # the --recheck option to rerun configure.
21076 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21077 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21078 # following values.
21082 # The following way of writing the cache mishandles newlines in values,
21083 # but we know of no workaround that is simple, portable, and efficient.
21084 # So, don't put newlines in cache variables' values.
21085 # Ultrix sh set writes to stderr and can't be redirected directly,
21086 # and sets the high bit in the cache file unless we assign to the vars.
21089 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21091 # `set' does not quote correctly, so add quotes (double-quote
21092 # substitution turns \\\\ into \\, and sed turns \\ into \).
21095 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21098 # `set' quotes correctly as required by POSIX, so do not add quotes.
21100 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21107 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21109 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21111 if diff $cache_file confcache >/dev/null 2>&1; then :; else
21112 if test -w $cache_file; then
21113 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21114 cat confcache >$cache_file
21116 echo "not updating unwritable cache $cache_file"
21121 if test ${multilib} = yes; then
21122 multilib_arg="--enable-multilib"
21127 # Write our Makefile.
21128 ac_config_files="$ac_config_files Makefile"
21130 cat >confcache <<\_ACEOF
21131 # This file is a shell script that caches the results of configure
21132 # tests run on this system so they can be shared between configure
21133 # scripts and configure runs, see configure's option --config-cache.
21134 # It is not useful on other systems. If it contains results you don't
21135 # want to keep, you may remove or edit it.
21137 # config.status only pays attention to the cache file if you give it
21138 # the --recheck option to rerun configure.
21140 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21141 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21142 # following values.
21146 # The following way of writing the cache mishandles newlines in values,
21147 # but we know of no workaround that is simple, portable, and efficient.
21148 # So, don't put newlines in cache variables' values.
21149 # Ultrix sh set writes to stderr and can't be redirected directly,
21150 # and sets the high bit in the cache file unless we assign to the vars.
21153 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21155 # `set' does not quote correctly, so add quotes (double-quote
21156 # substitution turns \\\\ into \\, and sed turns \\ into \).
21159 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21162 # `set' quotes correctly as required by POSIX, so do not add quotes.
21164 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21171 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21173 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21175 if diff $cache_file confcache >/dev/null 2>&1; then :; else
21176 if test -w $cache_file; then
21177 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21178 cat confcache >$cache_file
21180 echo "not updating unwritable cache $cache_file"
21185 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21186 # Let make expand exec_prefix.
21187 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21189 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21190 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21191 # trailing colons and then remove the whole line if VPATH becomes empty
21192 # (actually we leave an empty line to preserve line numbers).
21193 if test "x$srcdir" = x.; then
21194 ac_vpsub='/^[ ]*VPATH[ ]*=/{
21195 s/:*\$(srcdir):*/:/;
21196 s/:*\${srcdir}:*/:/;
21198 s/^\([^=]*=[ ]*\):*/\1/;
21204 DEFS=-DHAVE_CONFIG_H
21208 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21209 # 1. Remove the extension, and $U if already installed.
21210 ac_i=`echo "$ac_i" |
21211 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
21213 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
21214 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
21216 LIBOBJS=$ac_libobjs
21218 LTLIBOBJS=$ac_ltlibobjs
21221 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21222 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
21223 Usually this means the macro was only invoked conditionally." >&5
21224 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
21225 Usually this means the macro was only invoked conditionally." >&2;}
21226 { (exit 1); exit 1; }; }
21229 : ${CONFIG_STATUS=./config.status}
21230 ac_clean_files_save=$ac_clean_files
21231 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21232 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21233 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21234 cat >$CONFIG_STATUS <<_ACEOF
21236 # Generated by $as_me.
21237 # Run this file to recreate the current configuration.
21238 # Compiler output produced by configure, useful for debugging
21239 # configure, is in config.log if it exists.
21242 ac_cs_recheck=false
21244 SHELL=\${CONFIG_SHELL-$SHELL}
21247 cat >>$CONFIG_STATUS <<\_ACEOF
21248 ## --------------------- ##
21249 ## M4sh Initialization. ##
21250 ## --------------------- ##
21252 # Be Bourne compatible
21253 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21256 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21257 # is contrary to our usage. Disable this feature.
21258 alias -g '${1+"$@"}'='"$@"'
21259 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21262 DUALCASE=1; export DUALCASE # for MKS sh
21264 # Support unset when possible.
21265 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21272 # Work around bugs in pre-3.0 UWIN ksh.
21273 $as_unset ENV MAIL MAILPATH
21280 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21281 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21282 LC_TELEPHONE LC_TIME
21284 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21285 eval $as_var=C; export $as_var
21291 # Required to use basename.
21292 if expr a : '\(a\)' >/dev/null 2>&1; then
21298 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
21299 as_basename=basename
21305 # Name of the executable.
21306 as_me=`$as_basename "$0" ||
21307 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21308 X"$0" : 'X\(//\)$' \| \
21309 X"$0" : 'X\(/\)$' \| \
21310 . : '\(.\)' 2>/dev/null ||
21312 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21313 /^X\/\(\/\/\)$/{ s//\1/; q; }
21314 /^X\/\(\/\).*/{ s//\1/; q; }
21318 # PATH needs CR, and LINENO needs CR and PATH.
21319 # Avoid depending upon Character Ranges.
21320 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21321 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21322 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21323 as_cr_digits='0123456789'
21324 as_cr_alnum=$as_cr_Letters$as_cr_digits
21326 # The user is always right.
21327 if test "${PATH_SEPARATOR+set}" != set; then
21328 echo "#! /bin/sh" >conf$$.sh
21329 echo "exit 0" >>conf$$.sh
21331 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21340 as_lineno_1=$LINENO
21341 as_lineno_2=$LINENO
21342 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21343 test "x$as_lineno_1" != "x$as_lineno_2" &&
21344 test "x$as_lineno_3" = "x$as_lineno_2" || {
21345 # Find who we are. Look in the path if we contain no path at all
21348 *[\\/]* ) as_myself=$0 ;;
21349 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21350 for as_dir in $PATH
21353 test -z "$as_dir" && as_dir=.
21354 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21359 # We did not find ourselves, most probably we were run as `sh COMMAND'
21360 # in which case we are not to be found in the path.
21361 if test "x$as_myself" = x; then
21364 if test ! -f "$as_myself"; then
21365 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
21366 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
21367 { (exit 1); exit 1; }; }
21369 case $CONFIG_SHELL in
21371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21372 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
21375 test -z "$as_dir" && as_dir=.
21376 for as_base in sh bash ksh sh5; do
21379 if ("$as_dir/$as_base" -c '
21380 as_lineno_1=$LINENO
21381 as_lineno_2=$LINENO
21382 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21383 test "x$as_lineno_1" != "x$as_lineno_2" &&
21384 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
21385 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
21386 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
21387 CONFIG_SHELL=$as_dir/$as_base
21388 export CONFIG_SHELL
21389 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
21397 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21398 # uniformly replaced by the line number. The first 'sed' inserts a
21399 # line-number line before each line; the second 'sed' does the real
21400 # work. The second script uses 'N' to pair each line-number line
21401 # with the numbered line, and appends trailing '-' during
21402 # substitution so that $LINENO is not a special case at line end.
21403 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21404 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
21405 sed '=' <$as_myself |
21410 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
21413 s,^['$as_cr_digits']*\n,,
21414 ' >$as_me.lineno &&
21415 chmod +x $as_me.lineno ||
21416 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
21417 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
21418 { (exit 1); exit 1; }; }
21420 # Don't try to exec as it changes $[0], causing all sort of problems
21421 # (the dirname of $[0] is not the place where we might find the
21422 # original and so on. Autoconf is especially sensible to this).
21424 # Exit status is that of the last command.
21429 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
21430 *c*,-n*) ECHO_N= ECHO_C='
21432 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
21433 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
21436 if expr a : '\(a\)' >/dev/null 2>&1; then
21442 rm -f conf$$ conf$$.exe conf$$.file
21444 if ln -s conf$$.file conf$$ 2>/dev/null; then
21445 # We could just check for DJGPP; but this test a) works b) is more generic
21446 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
21447 if test -f conf$$.exe; then
21448 # Don't use ln at all; we don't have any links
21453 elif ln conf$$.file conf$$ 2>/dev/null; then
21458 rm -f conf$$ conf$$.exe conf$$.file
21460 if mkdir -p . 2>/dev/null; then
21463 test -d ./-p && rmdir ./-p
21467 as_executable_p="test -f"
21469 # Sed expression to map a string onto a valid CPP name.
21470 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21472 # Sed expression to map a string onto a valid variable name.
21473 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21477 # We need space, tab and new line, in precisely that order.
21487 # Open the log real soon, to keep \$[0] and so on meaningful, and to
21488 # report actual input values of CONFIG_FILES etc. instead of their
21489 # values after options handling. Logging --version etc. is OK.
21493 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21494 ## Running $as_me. ##
21499 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
21500 generated by GNU Autoconf 2.59. Invocation command line was
21502 CONFIG_FILES = $CONFIG_FILES
21503 CONFIG_HEADERS = $CONFIG_HEADERS
21504 CONFIG_LINKS = $CONFIG_LINKS
21505 CONFIG_COMMANDS = $CONFIG_COMMANDS
21509 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
21513 # Files that config.status was made for.
21514 if test -n "$ac_config_files"; then
21515 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
21518 if test -n "$ac_config_headers"; then
21519 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
21522 if test -n "$ac_config_links"; then
21523 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
21526 if test -n "$ac_config_commands"; then
21527 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
21530 cat >>$CONFIG_STATUS <<\_ACEOF
21533 \`$as_me' instantiates files from templates according to the
21534 current configuration.
21536 Usage: $0 [OPTIONS] [FILE]...
21538 -h, --help print this help, then exit
21539 -V, --version print version number, then exit
21540 -q, --quiet do not print progress messages
21541 -d, --debug don't remove temporary files
21542 --recheck update $as_me by reconfiguring in the same conditions
21543 --file=FILE[:TEMPLATE]
21544 instantiate the configuration file FILE
21545 --header=FILE[:TEMPLATE]
21546 instantiate the configuration header FILE
21548 Configuration files:
21551 Configuration headers:
21554 Configuration commands:
21557 Report bugs to <bug-autoconf@gnu.org>."
21560 cat >>$CONFIG_STATUS <<_ACEOF
21562 GNU Fortran Runtime Library config.status 0.2
21563 configured by $0, generated by GNU Autoconf 2.59,
21564 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
21566 Copyright (C) 2003 Free Software Foundation, Inc.
21567 This config.status script is free software; the Free Software Foundation
21568 gives unlimited permission to copy, distribute and modify it."
21573 cat >>$CONFIG_STATUS <<\_ACEOF
21574 # If no file are specified by the user, then we need to provide default
21575 # value. By we need to know if files were specified by the user.
21581 ac_option=`expr "x$1" : 'x\([^=]*\)='`
21582 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
21590 *) # This is not an option, so the user has probably given explicit
21593 ac_need_defaults=false;;
21597 # Handling of the options.
21599 cat >>$CONFIG_STATUS <<\_ACEOF
21600 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21602 --version | --vers* | -V )
21603 echo "$ac_cs_version"; exit 0 ;;
21605 # Conflict between --help and --header
21606 { { echo "$as_me:$LINENO: error: ambiguous option: $1
21607 Try \`$0 --help' for more information." >&5
21608 echo "$as_me: error: ambiguous option: $1
21609 Try \`$0 --help' for more information." >&2;}
21610 { (exit 1); exit 1; }; };;
21611 --help | --hel | -h )
21612 echo "$ac_cs_usage"; exit 0 ;;
21613 --debug | --d* | -d )
21615 --file | --fil | --fi | --f )
21617 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21618 ac_need_defaults=false;;
21619 --header | --heade | --head | --hea )
21621 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21622 ac_need_defaults=false;;
21623 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21624 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21627 # This is an error.
21628 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
21629 Try \`$0 --help' for more information." >&5
21630 echo "$as_me: error: unrecognized option: $1
21631 Try \`$0 --help' for more information." >&2;}
21632 { (exit 1); exit 1; }; } ;;
21634 *) ac_config_targets="$ac_config_targets $1" ;;
21640 ac_configure_extra_args=
21642 if $ac_cs_silent; then
21644 ac_configure_extra_args="$ac_configure_extra_args --silent"
21648 cat >>$CONFIG_STATUS <<_ACEOF
21649 if \$ac_cs_recheck; then
21650 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21651 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21656 cat >>$CONFIG_STATUS <<_ACEOF
21658 # INIT-COMMANDS section.
21665 with_multisubdir="$with_multisubdir"
21666 with_multisrctop="$with_multisrctop"
21667 with_target_subdir="$with_target_subdir"
21668 ac_configure_args="${multilib_arg} ${ac_configure_args}"
21669 multi_basedir="$multi_basedir"
21670 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
21677 cat >>$CONFIG_STATUS <<\_ACEOF
21678 for ac_config_target in $ac_config_targets
21680 case "$ac_config_target" in
21681 # Handling of arguments.
21682 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21683 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
21684 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
21685 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21686 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21687 { (exit 1); exit 1; }; };;
21691 # If the user did not use the arguments to specify the items to instantiate,
21692 # then the envvar interface is used. Set only those that are not.
21693 # We use the long form for the default assignment because of an extremely
21694 # bizarre bug on SunOS 4.1.3.
21695 if $ac_need_defaults; then
21696 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21697 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21698 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21701 # Have a temporary directory for convenience. Make it in the build tree
21702 # simply because there is no reason to put it here, and in addition,
21703 # creating and moving files from /tmp can sometimes cause problems.
21704 # Create a temporary directory, and hook for its removal unless debugging.
21707 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
21708 trap '{ (exit 1); exit 1; }' 1 2 13 15
21711 # Create a (secure) tmp directory for tmp files.
21714 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
21715 test -n "$tmp" && test -d "$tmp"
21718 tmp=./confstat$$-$RANDOM
21719 (umask 077 && mkdir $tmp)
21722 echo "$me: cannot create a temporary directory in ." >&2
21723 { (exit 1); exit 1; }
21728 cat >>$CONFIG_STATUS <<_ACEOF
21731 # CONFIG_FILES section.
21734 # No need to generate the scripts if there are no CONFIG_FILES.
21735 # This happens for instance when ./config.status config.h
21736 if test -n "\$CONFIG_FILES"; then
21737 # Protect against being on the right side of a sed subst in config.status.
21738 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21739 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21740 s,@SHELL@,$SHELL,;t t
21741 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21742 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21743 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21744 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21745 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21746 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21747 s,@exec_prefix@,$exec_prefix,;t t
21748 s,@prefix@,$prefix,;t t
21749 s,@program_transform_name@,$program_transform_name,;t t
21750 s,@bindir@,$bindir,;t t
21751 s,@sbindir@,$sbindir,;t t
21752 s,@libexecdir@,$libexecdir,;t t
21753 s,@datadir@,$datadir,;t t
21754 s,@sysconfdir@,$sysconfdir,;t t
21755 s,@sharedstatedir@,$sharedstatedir,;t t
21756 s,@localstatedir@,$localstatedir,;t t
21757 s,@libdir@,$libdir,;t t
21758 s,@includedir@,$includedir,;t t
21759 s,@oldincludedir@,$oldincludedir,;t t
21760 s,@infodir@,$infodir,;t t
21761 s,@mandir@,$mandir,;t t
21762 s,@build_alias@,$build_alias,;t t
21763 s,@host_alias@,$host_alias,;t t
21764 s,@target_alias@,$target_alias,;t t
21765 s,@DEFS@,$DEFS,;t t
21766 s,@ECHO_C@,$ECHO_C,;t t
21767 s,@ECHO_N@,$ECHO_N,;t t
21768 s,@ECHO_T@,$ECHO_T,;t t
21769 s,@LIBS@,$LIBS,;t t
21770 s,@build@,$build,;t t
21771 s,@build_cpu@,$build_cpu,;t t
21772 s,@build_vendor@,$build_vendor,;t t
21773 s,@build_os@,$build_os,;t t
21774 s,@build_subdir@,$build_subdir,;t t
21775 s,@host_subdir@,$host_subdir,;t t
21776 s,@target_subdir@,$target_subdir,;t t
21777 s,@host@,$host,;t t
21778 s,@host_cpu@,$host_cpu,;t t
21779 s,@host_vendor@,$host_vendor,;t t
21780 s,@host_os@,$host_os,;t t
21781 s,@target@,$target,;t t
21782 s,@target_cpu@,$target_cpu,;t t
21783 s,@target_vendor@,$target_vendor,;t t
21784 s,@target_os@,$target_os,;t t
21785 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21786 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21787 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21788 s,@CYGPATH_W@,$CYGPATH_W,;t t
21789 s,@PACKAGE@,$PACKAGE,;t t
21790 s,@VERSION@,$VERSION,;t t
21791 s,@ACLOCAL@,$ACLOCAL,;t t
21792 s,@AUTOCONF@,$AUTOCONF,;t t
21793 s,@AUTOMAKE@,$AUTOMAKE,;t t
21794 s,@AUTOHEADER@,$AUTOHEADER,;t t
21795 s,@MAKEINFO@,$MAKEINFO,;t t
21796 s,@install_sh@,$install_sh,;t t
21797 s,@STRIP@,$STRIP,;t t
21798 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21799 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
21800 s,@mkdir_p@,$mkdir_p,;t t
21802 s,@SET_MAKE@,$SET_MAKE,;t t
21803 s,@am__leading_dot@,$am__leading_dot,;t t
21804 s,@AMTAR@,$AMTAR,;t t
21805 s,@am__tar@,$am__tar,;t t
21806 s,@am__untar@,$am__untar,;t t
21807 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
21808 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
21809 s,@MAINT@,$MAINT,;t t
21810 s,@multi_basedir@,$multi_basedir,;t t
21811 s,@toolexecdir@,$toolexecdir,;t t
21812 s,@toolexeclibdir@,$toolexeclibdir,;t t
21814 s,@ac_ct_CC@,$ac_ct_CC,;t t
21815 s,@EXEEXT@,$EXEEXT,;t t
21816 s,@OBJEXT@,$OBJEXT,;t t
21817 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
21818 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
21820 s,@ac_ct_AS@,$ac_ct_AS,;t t
21822 s,@ac_ct_AR@,$ac_ct_AR,;t t
21823 s,@RANLIB@,$RANLIB,;t t
21824 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21825 s,@LN_S@,$LN_S,;t t
21826 s,@LIBTOOL@,$LIBTOOL,;t t
21827 s,@enable_shared@,$enable_shared,;t t
21828 s,@enable_static@,$enable_static,;t t
21830 s,@FCFLAGS@,$FCFLAGS,;t t
21831 s,@LDFLAGS@,$LDFLAGS,;t t
21832 s,@ac_ct_FC@,$ac_ct_FC,;t t
21833 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
21835 s,@CPPFLAGS@,$CPPFLAGS,;t t
21836 s,@EGREP@,$EGREP,;t t
21837 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
21838 s,@LIBOBJS@,$LIBOBJS,;t t
21839 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21844 cat >>$CONFIG_STATUS <<\_ACEOF
21845 # Split the substitutions into bite-sized pieces for seds with
21846 # small command number limits, like on Digital OSF/1 and HP-UX.
21847 ac_max_sed_lines=48
21848 ac_sed_frag=1 # Number of current file.
21849 ac_beg=1 # First line for current file.
21850 ac_end=$ac_max_sed_lines # Line after last line for current file.
21853 while $ac_more_lines; do
21854 if test $ac_beg -gt 1; then
21855 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21857 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21859 if test ! -s $tmp/subs.frag; then
21860 ac_more_lines=false
21862 # The purpose of the label and of the branching condition is to
21863 # speed up the sed processing (if there are no `@' at all, there
21864 # is no need to browse any of the substitutions).
21865 # These are the two extra sed commands mentioned above.
21867 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21868 if test -z "$ac_sed_cmds"; then
21869 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21871 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21873 ac_sed_frag=`expr $ac_sed_frag + 1`
21875 ac_end=`expr $ac_end + $ac_max_sed_lines`
21878 if test -z "$ac_sed_cmds"; then
21881 fi # test -n "$CONFIG_FILES"
21884 cat >>$CONFIG_STATUS <<\_ACEOF
21885 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21886 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21888 - | *:- | *:-:* ) # input from stdin
21890 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21891 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21892 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21893 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21894 * ) ac_file_in=$ac_file.in ;;
21897 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21898 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21899 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21900 X"$ac_file" : 'X\(//\)[^/]' \| \
21901 X"$ac_file" : 'X\(//\)$' \| \
21902 X"$ac_file" : 'X\(/\)' \| \
21903 . : '\(.\)' 2>/dev/null ||
21905 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21906 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21907 /^X\(\/\/\)$/{ s//\1/; q; }
21908 /^X\(\/\).*/{ s//\1/; q; }
21910 { if $as_mkdir_p; then
21915 while test ! -d "$as_dir"; do
21916 as_dirs="$as_dir $as_dirs"
21917 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21918 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21919 X"$as_dir" : 'X\(//\)[^/]' \| \
21920 X"$as_dir" : 'X\(//\)$' \| \
21921 X"$as_dir" : 'X\(/\)' \| \
21922 . : '\(.\)' 2>/dev/null ||
21924 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21925 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21926 /^X\(\/\/\)$/{ s//\1/; q; }
21927 /^X\(\/\).*/{ s//\1/; q; }
21930 test ! -n "$as_dirs" || mkdir $as_dirs
21931 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21932 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21933 { (exit 1); exit 1; }; }; }
21937 if test "$ac_dir" != .; then
21938 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21939 # A "../" for each directory in $ac_dir_suffix.
21940 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21942 ac_dir_suffix= ac_top_builddir=
21946 .) # No --srcdir option. We are building in place.
21948 if test -z "$ac_top_builddir"; then
21951 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21953 [\\/]* | ?:[\\/]* ) # Absolute path.
21954 ac_srcdir=$srcdir$ac_dir_suffix;
21955 ac_top_srcdir=$srcdir ;;
21956 *) # Relative path.
21957 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21958 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21961 # Do not use `cd foo && pwd` to compute absolute paths, because
21962 # the directories may not exist.
21964 .) ac_abs_builddir="$ac_dir";;
21967 .) ac_abs_builddir=`pwd`;;
21968 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21969 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21972 case $ac_abs_builddir in
21973 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21975 case ${ac_top_builddir}. in
21976 .) ac_abs_top_builddir=$ac_abs_builddir;;
21977 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21978 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21981 case $ac_abs_builddir in
21982 .) ac_abs_srcdir=$ac_srcdir;;
21985 .) ac_abs_srcdir=$ac_abs_builddir;;
21986 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21987 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21990 case $ac_abs_builddir in
21991 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21993 case $ac_top_srcdir in
21994 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21995 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21996 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
22002 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22003 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
22006 if test x"$ac_file" != x-; then
22007 { echo "$as_me:$LINENO: creating $ac_file" >&5
22008 echo "$as_me: creating $ac_file" >&6;}
22011 # Let's still pretend it is `configure' which instantiates (i.e., don't
22012 # use $as_me), people would be surprised to read:
22013 # /* config.h. Generated by config.status. */
22014 if test x"$ac_file" = x-; then
22017 configure_input="$ac_file. "
22019 configure_input=$configure_input"Generated from `echo $ac_file_in |
22020 sed 's,.*/,,'` by configure."
22022 # First look for the input files in the build tree, otherwise in the
22024 ac_file_inputs=`IFS=:
22025 for f in $ac_file_in; do
22027 -) echo $tmp/stdin ;;
22029 # Absolute (can't be DOS-style, as IFS=:)
22030 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22031 echo "$as_me: error: cannot find input file: $f" >&2;}
22032 { (exit 1); exit 1; }; }
22035 if test -f "$f"; then
22038 elif test -f "$srcdir/$f"; then
22043 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22044 echo "$as_me: error: cannot find input file: $f" >&2;}
22045 { (exit 1); exit 1; }; }
22048 done` || { (exit 1); exit 1; }
22050 cat >>$CONFIG_STATUS <<_ACEOF
22054 cat >>$CONFIG_STATUS <<\_ACEOF
22056 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22057 s,@configure_input@,$configure_input,;t t
22058 s,@srcdir@,$ac_srcdir,;t t
22059 s,@abs_srcdir@,$ac_abs_srcdir,;t t
22060 s,@top_srcdir@,$ac_top_srcdir,;t t
22061 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
22062 s,@builddir@,$ac_builddir,;t t
22063 s,@abs_builddir@,$ac_abs_builddir,;t t
22064 s,@top_builddir@,$ac_top_builddir,;t t
22065 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
22066 s,@INSTALL@,$ac_INSTALL,;t t
22067 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
22069 if test x"$ac_file" != x-; then
22070 mv $tmp/out $ac_file
22078 cat >>$CONFIG_STATUS <<\_ACEOF
22081 # CONFIG_HEADER section.
22084 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22085 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22087 # ac_d sets the value in "#define NAME VALUE" lines.
22088 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22089 ac_dB='[ ].*$,\1#\2'
22092 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22093 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22094 ac_uB='$,\1#\2define\3'
22098 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
22099 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22101 - | *:- | *:-:* ) # input from stdin
22103 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22104 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22105 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22106 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22107 * ) ac_file_in=$ac_file.in ;;
22110 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
22111 echo "$as_me: creating $ac_file" >&6;}
22113 # First look for the input files in the build tree, otherwise in the
22115 ac_file_inputs=`IFS=:
22116 for f in $ac_file_in; do
22118 -) echo $tmp/stdin ;;
22120 # Absolute (can't be DOS-style, as IFS=:)
22121 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22122 echo "$as_me: error: cannot find input file: $f" >&2;}
22123 { (exit 1); exit 1; }; }
22124 # Do quote $f, to prevent DOS paths from being IFS'd.
22127 if test -f "$f"; then
22130 elif test -f "$srcdir/$f"; then
22135 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22136 echo "$as_me: error: cannot find input file: $f" >&2;}
22137 { (exit 1); exit 1; }; }
22140 done` || { (exit 1); exit 1; }
22141 # Remove the trailing spaces.
22142 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
22146 # Transform confdefs.h into two sed scripts, `conftest.defines' and
22147 # `conftest.undefs', that substitutes the proper values into
22148 # config.h.in to produce config.h. The first handles `#define'
22149 # templates, and the second `#undef' templates.
22150 # And first: Protect against being on the right side of a sed subst in
22151 # config.status. Protect against being in an unquoted here document
22152 # in config.status.
22153 rm -f conftest.defines conftest.undefs
22154 # Using a here document instead of a string reduces the quoting nightmare.
22155 # Putting comments in sed scripts is not portable.
22157 # `end' is used to avoid that the second main sed command (meant for
22158 # 0-ary CPP macros) applies to n-ary macro definitions.
22159 # See the Autoconf documentation for `clear'.
22160 cat >confdef2sed.sed <<\_ACEOF
22165 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
22167 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
22170 # If some macros were called several times there might be several times
22171 # the same #defines, which is useless. Nevertheless, we may not want to
22172 # sort them, since we want the *last* AC-DEFINE to be honored.
22173 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
22174 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
22175 rm -f confdef2sed.sed
22177 # This sed command replaces #undef with comments. This is necessary, for
22178 # example, in the case of _POSIX_SOURCE, which is predefined and required
22179 # on some systems where configure will not decide to define it.
22180 cat >>conftest.undefs <<\_ACEOF
22181 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
22184 # Break up conftest.defines because some shells have a limit on the size
22185 # of here documents, and old seds have small limits too (100 cmds).
22186 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
22187 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
22188 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
22189 echo ' :' >>$CONFIG_STATUS
22190 rm -f conftest.tail
22191 while grep . conftest.defines >/dev/null
22193 # Write a limited-size here document to $tmp/defines.sed.
22194 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
22195 # Speed up: don't consider the non `#define' lines.
22196 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
22197 # Work around the forget-to-reset-the-flag bug.
22198 echo 't clr' >>$CONFIG_STATUS
22199 echo ': clr' >>$CONFIG_STATUS
22200 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
22202 sed -f $tmp/defines.sed $tmp/in >$tmp/out
22204 mv $tmp/out $tmp/in
22206 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
22207 rm -f conftest.defines
22208 mv conftest.tail conftest.defines
22210 rm -f conftest.defines
22211 echo ' fi # grep' >>$CONFIG_STATUS
22212 echo >>$CONFIG_STATUS
22214 # Break up conftest.undefs because some shells have a limit on the size
22215 # of here documents, and old seds have small limits too (100 cmds).
22216 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
22217 rm -f conftest.tail
22218 while grep . conftest.undefs >/dev/null
22220 # Write a limited-size here document to $tmp/undefs.sed.
22221 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
22222 # Speed up: don't consider the non `#undef'
22223 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
22224 # Work around the forget-to-reset-the-flag bug.
22225 echo 't clr' >>$CONFIG_STATUS
22226 echo ': clr' >>$CONFIG_STATUS
22227 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
22229 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
22231 mv $tmp/out $tmp/in
22233 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
22234 rm -f conftest.undefs
22235 mv conftest.tail conftest.undefs
22237 rm -f conftest.undefs
22239 cat >>$CONFIG_STATUS <<\_ACEOF
22240 # Let's still pretend it is `configure' which instantiates (i.e., don't
22241 # use $as_me), people would be surprised to read:
22242 # /* config.h. Generated by config.status. */
22243 if test x"$ac_file" = x-; then
22244 echo "/* Generated by configure. */" >$tmp/config.h
22246 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
22248 cat $tmp/in >>$tmp/config.h
22250 if test x"$ac_file" != x-; then
22251 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
22252 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22253 echo "$as_me: $ac_file is unchanged" >&6;}
22255 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
22256 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22257 X"$ac_file" : 'X\(//\)[^/]' \| \
22258 X"$ac_file" : 'X\(//\)$' \| \
22259 X"$ac_file" : 'X\(/\)' \| \
22260 . : '\(.\)' 2>/dev/null ||
22262 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22263 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22264 /^X\(\/\/\)$/{ s//\1/; q; }
22265 /^X\(\/\).*/{ s//\1/; q; }
22267 { if $as_mkdir_p; then
22272 while test ! -d "$as_dir"; do
22273 as_dirs="$as_dir $as_dirs"
22274 as_dir=`(dirname "$as_dir") 2>/dev/null ||
22275 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22276 X"$as_dir" : 'X\(//\)[^/]' \| \
22277 X"$as_dir" : 'X\(//\)$' \| \
22278 X"$as_dir" : 'X\(/\)' \| \
22279 . : '\(.\)' 2>/dev/null ||
22281 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22282 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22283 /^X\(\/\/\)$/{ s//\1/; q; }
22284 /^X\(\/\).*/{ s//\1/; q; }
22287 test ! -n "$as_dirs" || mkdir $as_dirs
22288 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22289 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22290 { (exit 1); exit 1; }; }; }
22293 mv $tmp/config.h $ac_file
22297 rm -f $tmp/config.h
22299 # Compute $ac_file's index in $config_headers.
22301 for _am_header in $config_headers :; do
22302 case $_am_header in
22303 $ac_file | $ac_file:* )
22306 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
22309 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
22310 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22311 X$ac_file : 'X\(//\)[^/]' \| \
22312 X$ac_file : 'X\(//\)$' \| \
22313 X$ac_file : 'X\(/\)' \| \
22314 . : '\(.\)' 2>/dev/null ||
22316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22317 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22318 /^X\(\/\/\)$/{ s//\1/; q; }
22319 /^X\(\/\).*/{ s//\1/; q; }
22320 s/.*/./; q'`/stamp-h$_am_stamp_count
22323 cat >>$CONFIG_STATUS <<\_ACEOF
22326 # CONFIG_COMMANDS section.
22328 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
22329 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
22330 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
22331 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
22332 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22333 X"$ac_dest" : 'X\(//\)[^/]' \| \
22334 X"$ac_dest" : 'X\(//\)$' \| \
22335 X"$ac_dest" : 'X\(/\)' \| \
22336 . : '\(.\)' 2>/dev/null ||
22338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22339 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22340 /^X\(\/\/\)$/{ s//\1/; q; }
22341 /^X\(\/\).*/{ s//\1/; q; }
22343 { if $as_mkdir_p; then
22348 while test ! -d "$as_dir"; do
22349 as_dirs="$as_dir $as_dirs"
22350 as_dir=`(dirname "$as_dir") 2>/dev/null ||
22351 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22352 X"$as_dir" : 'X\(//\)[^/]' \| \
22353 X"$as_dir" : 'X\(//\)$' \| \
22354 X"$as_dir" : 'X\(/\)' \| \
22355 . : '\(.\)' 2>/dev/null ||
22357 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22358 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22359 /^X\(\/\/\)$/{ s//\1/; q; }
22360 /^X\(\/\).*/{ s//\1/; q; }
22363 test ! -n "$as_dirs" || mkdir $as_dirs
22364 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22365 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22366 { (exit 1); exit 1; }; }; }
22370 if test "$ac_dir" != .; then
22371 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22372 # A "../" for each directory in $ac_dir_suffix.
22373 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22375 ac_dir_suffix= ac_top_builddir=
22379 .) # No --srcdir option. We are building in place.
22381 if test -z "$ac_top_builddir"; then
22384 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
22386 [\\/]* | ?:[\\/]* ) # Absolute path.
22387 ac_srcdir=$srcdir$ac_dir_suffix;
22388 ac_top_srcdir=$srcdir ;;
22389 *) # Relative path.
22390 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22391 ac_top_srcdir=$ac_top_builddir$srcdir ;;
22394 # Do not use `cd foo && pwd` to compute absolute paths, because
22395 # the directories may not exist.
22397 .) ac_abs_builddir="$ac_dir";;
22400 .) ac_abs_builddir=`pwd`;;
22401 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
22402 *) ac_abs_builddir=`pwd`/"$ac_dir";;
22405 case $ac_abs_builddir in
22406 .) ac_abs_top_builddir=${ac_top_builddir}.;;
22408 case ${ac_top_builddir}. in
22409 .) ac_abs_top_builddir=$ac_abs_builddir;;
22410 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22411 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22414 case $ac_abs_builddir in
22415 .) ac_abs_srcdir=$ac_srcdir;;
22418 .) ac_abs_srcdir=$ac_abs_builddir;;
22419 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22420 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22423 case $ac_abs_builddir in
22424 .) ac_abs_top_srcdir=$ac_top_srcdir;;
22426 case $ac_top_srcdir in
22427 .) ac_abs_top_srcdir=$ac_abs_builddir;;
22428 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
22429 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
22434 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
22435 echo "$as_me: executing $ac_dest commands" >&6;}
22438 # Only add multilib support code if we just rebuilt the top-level
22440 case " $CONFIG_FILES " in
22442 ac_file=Makefile . ${multi_basedir}/config-ml.in
22449 cat >>$CONFIG_STATUS <<\_ACEOF
22451 { (exit 0); exit 0; }
22453 chmod +x $CONFIG_STATUS
22454 ac_clean_files=$ac_clean_files_save
22457 # configure is writing to config.log, and then calls config.status.
22458 # config.status does its own redirection, appending to config.log.
22459 # Unfortunately, on DOS this fails, as config.log is still kept open
22460 # by configure, so config.status won't be able to write to it; its
22461 # output is simply discarded. So we exec the FD to /dev/null,
22462 # effectively closing config.log, so it can be properly (re)opened and
22463 # appended to by config.status. When coming back to configure, we
22464 # need to make the FD available again.
22465 if test "$no_create" != yes; then
22467 ac_config_status_args=
22468 test "$silent" = yes &&
22469 ac_config_status_args="$ac_config_status_args --quiet"
22471 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22473 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22474 # would make configure fail if this is the last instruction.
22475 $ac_cs_success || { (exit 1); exit 1; }