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" || test ! -s conftest.err'
2632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); }; } &&
2637 { ac_try='test -s conftest.$ac_objext'
2638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }; }; then
2645 echo "$as_me: failed program was:" >&5
2646 sed 's/^/| /' conftest.$ac_ext >&5
2650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2651 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2654 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2655 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2656 GCC=`test $ac_compiler_gnu = yes && echo yes`
2657 ac_test_CFLAGS=${CFLAGS+set}
2658 ac_save_CFLAGS=$CFLAGS
2660 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2661 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2662 if test "${ac_cv_prog_cc_g+set}" = set; then
2663 echo $ECHO_N "(cached) $ECHO_C" >&6
2665 cat >conftest.$ac_ext <<_ACEOF
2668 cat confdefs.h >>conftest.$ac_ext
2669 cat >>conftest.$ac_ext <<_ACEOF
2670 /* end confdefs.h. */
2680 rm -f conftest.$ac_objext
2681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2682 (eval $ac_compile) 2>conftest.er1
2684 grep -v '^ *+' conftest.er1 >conftest.err
2686 cat conftest.err >&5
2687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2688 (exit $ac_status); } &&
2689 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2694 (exit $ac_status); }; } &&
2695 { ac_try='test -s conftest.$ac_objext'
2696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700 (exit $ac_status); }; }; then
2703 echo "$as_me: failed program was:" >&5
2704 sed 's/^/| /' conftest.$ac_ext >&5
2708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2710 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2711 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2712 if test "$ac_test_CFLAGS" = set; then
2713 CFLAGS=$ac_save_CFLAGS
2714 elif test $ac_cv_prog_cc_g = yes; then
2715 if test "$GCC" = yes; then
2721 if test "$GCC" = yes; then
2727 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2728 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2729 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2730 echo $ECHO_N "(cached) $ECHO_C" >&6
2732 ac_cv_prog_cc_stdc=no
2734 cat >conftest.$ac_ext <<_ACEOF
2737 cat confdefs.h >>conftest.$ac_ext
2738 cat >>conftest.$ac_ext <<_ACEOF
2739 /* end confdefs.h. */
2742 #include <sys/types.h>
2743 #include <sys/stat.h>
2744 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2745 struct buf { int x; };
2746 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2747 static char *e (p, i)
2753 static char *f (char * (*g) (char **, int), char **p, ...)
2758 s = g (p, va_arg (v,int));
2763 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2764 function prototypes and stuff, but not '\xHH' hex character constants.
2765 These don't provoke an error unfortunately, instead are silently treated
2766 as 'x'. The following induces an error, until -std1 is added to get
2767 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2768 array size at least. It's necessary to write '\x00'==0 to get something
2769 that's true only with -std1. */
2770 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2772 int test (int i, double x);
2773 struct s1 {int (*f) (int a);};
2774 struct s2 {int (*f) (double a);};
2775 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2781 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2786 # Don't try gcc -ansi; that turns off useful extensions and
2787 # breaks some systems' header files.
2788 # AIX -qlanglvl=ansi
2789 # Ultrix and OSF/1 -std1
2790 # HP-UX 10.20 and later -Ae
2791 # HP-UX older versions -Aa -D_HPUX_SOURCE
2792 # SVR4 -Xc -D__EXTENSIONS__
2793 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2795 CC="$ac_save_CC $ac_arg"
2796 rm -f conftest.$ac_objext
2797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2798 (eval $ac_compile) 2>conftest.er1
2800 grep -v '^ *+' conftest.er1 >conftest.err
2802 cat conftest.err >&5
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); } &&
2805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); }; } &&
2811 { ac_try='test -s conftest.$ac_objext'
2812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816 (exit $ac_status); }; }; then
2817 ac_cv_prog_cc_stdc=$ac_arg
2820 echo "$as_me: failed program was:" >&5
2821 sed 's/^/| /' conftest.$ac_ext >&5
2824 rm -f conftest.err conftest.$ac_objext
2826 rm -f conftest.$ac_ext conftest.$ac_objext
2831 case "x$ac_cv_prog_cc_stdc" in
2833 echo "$as_me:$LINENO: result: none needed" >&5
2834 echo "${ECHO_T}none needed" >&6 ;;
2836 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2837 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2838 CC="$CC $ac_cv_prog_cc_stdc" ;;
2841 # Some people use a C++ compiler to compile C. Since we use `exit',
2842 # in C++ we need to declare it. In case someone uses the same compiler
2843 # for both compiling C and C++ we need to have the C++ compiler decide
2844 # the declaration of exit, since it's the most demanding environment.
2845 cat >conftest.$ac_ext <<_ACEOF
2850 rm -f conftest.$ac_objext
2851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2852 (eval $ac_compile) 2>conftest.er1
2854 grep -v '^ *+' conftest.er1 >conftest.err
2856 cat conftest.err >&5
2857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858 (exit $ac_status); } &&
2859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864 (exit $ac_status); }; } &&
2865 { ac_try='test -s conftest.$ac_objext'
2866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2870 (exit $ac_status); }; }; then
2871 for ac_declaration in \
2873 'extern "C" void std::exit (int) throw (); using std::exit;' \
2874 'extern "C" void std::exit (int); using std::exit;' \
2875 'extern "C" void exit (int) throw ();' \
2876 'extern "C" void exit (int);' \
2879 cat >conftest.$ac_ext <<_ACEOF
2882 cat confdefs.h >>conftest.$ac_ext
2883 cat >>conftest.$ac_ext <<_ACEOF
2884 /* end confdefs.h. */
2895 rm -f conftest.$ac_objext
2896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2897 (eval $ac_compile) 2>conftest.er1
2899 grep -v '^ *+' conftest.er1 >conftest.err
2901 cat conftest.err >&5
2902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903 (exit $ac_status); } &&
2904 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909 (exit $ac_status); }; } &&
2910 { ac_try='test -s conftest.$ac_objext'
2911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); }; }; then
2918 echo "$as_me: failed program was:" >&5
2919 sed 's/^/| /' conftest.$ac_ext >&5
2923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2924 cat >conftest.$ac_ext <<_ACEOF
2927 cat confdefs.h >>conftest.$ac_ext
2928 cat >>conftest.$ac_ext <<_ACEOF
2929 /* end confdefs.h. */
2939 rm -f conftest.$ac_objext
2940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2941 (eval $ac_compile) 2>conftest.er1
2943 grep -v '^ *+' conftest.er1 >conftest.err
2945 cat conftest.err >&5
2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); } &&
2948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2953 (exit $ac_status); }; } &&
2954 { ac_try='test -s conftest.$ac_objext'
2955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959 (exit $ac_status); }; }; then
2962 echo "$as_me: failed program was:" >&5
2963 sed 's/^/| /' conftest.$ac_ext >&5
2966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2969 if test -n "$ac_declaration"; then
2970 echo '#ifdef __cplusplus' >>confdefs.h
2971 echo $ac_declaration >>confdefs.h
2972 echo '#endif' >>confdefs.h
2976 echo "$as_me: failed program was:" >&5
2977 sed 's/^/| /' conftest.$ac_ext >&5
2980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2982 ac_cpp='$CPP $CPPFLAGS'
2983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2989 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
2990 if test "x$GCC" = "xyes"; then
2991 AM_FCFLAGS="-I . -Wall -fno-repack-arrays -fno-underscoring"
2992 ## We like to use C99 routines when available. This makes sure that
2993 ## __STDC_VERSION__ is set such that libc includes make them available.
2994 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
2999 # Find other programs we need.
3000 if test -n "$ac_tool_prefix"; then
3001 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3002 set dummy ${ac_tool_prefix}as; ac_word=$2
3003 echo "$as_me:$LINENO: checking for $ac_word" >&5
3004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3005 if test "${ac_cv_prog_AS+set}" = set; then
3006 echo $ECHO_N "(cached) $ECHO_C" >&6
3008 if test -n "$AS"; then
3009 ac_cv_prog_AS="$AS" # Let the user override the test.
3011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3015 test -z "$as_dir" && as_dir=.
3016 for ac_exec_ext in '' $ac_executable_extensions; do
3017 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3018 ac_cv_prog_AS="${ac_tool_prefix}as"
3019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3028 if test -n "$AS"; then
3029 echo "$as_me:$LINENO: result: $AS" >&5
3030 echo "${ECHO_T}$AS" >&6
3032 echo "$as_me:$LINENO: result: no" >&5
3033 echo "${ECHO_T}no" >&6
3037 if test -z "$ac_cv_prog_AS"; then
3039 # Extract the first word of "as", so it can be a program name with args.
3040 set dummy as; ac_word=$2
3041 echo "$as_me:$LINENO: checking for $ac_word" >&5
3042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3043 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3044 echo $ECHO_N "(cached) $ECHO_C" >&6
3046 if test -n "$ac_ct_AS"; then
3047 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3053 test -z "$as_dir" && as_dir=.
3054 for ac_exec_ext in '' $ac_executable_extensions; do
3055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3056 ac_cv_prog_ac_ct_AS="as"
3057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3065 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3066 if test -n "$ac_ct_AS"; then
3067 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3068 echo "${ECHO_T}$ac_ct_AS" >&6
3070 echo "$as_me:$LINENO: result: no" >&5
3071 echo "${ECHO_T}no" >&6
3079 if test -n "$ac_tool_prefix"; then
3080 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3081 set dummy ${ac_tool_prefix}ar; ac_word=$2
3082 echo "$as_me:$LINENO: checking for $ac_word" >&5
3083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3084 if test "${ac_cv_prog_AR+set}" = set; then
3085 echo $ECHO_N "(cached) $ECHO_C" >&6
3087 if test -n "$AR"; then
3088 ac_cv_prog_AR="$AR" # Let the user override the test.
3090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3094 test -z "$as_dir" && as_dir=.
3095 for ac_exec_ext in '' $ac_executable_extensions; do
3096 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3097 ac_cv_prog_AR="${ac_tool_prefix}ar"
3098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3107 if test -n "$AR"; then
3108 echo "$as_me:$LINENO: result: $AR" >&5
3109 echo "${ECHO_T}$AR" >&6
3111 echo "$as_me:$LINENO: result: no" >&5
3112 echo "${ECHO_T}no" >&6
3116 if test -z "$ac_cv_prog_AR"; then
3118 # Extract the first word of "ar", so it can be a program name with args.
3119 set dummy ar; ac_word=$2
3120 echo "$as_me:$LINENO: checking for $ac_word" >&5
3121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3122 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3123 echo $ECHO_N "(cached) $ECHO_C" >&6
3125 if test -n "$ac_ct_AR"; then
3126 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3132 test -z "$as_dir" && as_dir=.
3133 for ac_exec_ext in '' $ac_executable_extensions; do
3134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3135 ac_cv_prog_ac_ct_AR="ar"
3136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3144 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3145 if test -n "$ac_ct_AR"; then
3146 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3147 echo "${ECHO_T}$ac_ct_AR" >&6
3149 echo "$as_me:$LINENO: result: no" >&5
3150 echo "${ECHO_T}no" >&6
3158 if test -n "$ac_tool_prefix"; then
3159 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3160 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3161 echo "$as_me:$LINENO: checking for $ac_word" >&5
3162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3163 if test "${ac_cv_prog_RANLIB+set}" = set; then
3164 echo $ECHO_N "(cached) $ECHO_C" >&6
3166 if test -n "$RANLIB"; then
3167 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3173 test -z "$as_dir" && as_dir=.
3174 for ac_exec_ext in '' $ac_executable_extensions; do
3175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3176 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3185 RANLIB=$ac_cv_prog_RANLIB
3186 if test -n "$RANLIB"; then
3187 echo "$as_me:$LINENO: result: $RANLIB" >&5
3188 echo "${ECHO_T}$RANLIB" >&6
3190 echo "$as_me:$LINENO: result: no" >&5
3191 echo "${ECHO_T}no" >&6
3195 if test -z "$ac_cv_prog_RANLIB"; then
3196 ac_ct_RANLIB=$RANLIB
3197 # Extract the first word of "ranlib", so it can be a program name with args.
3198 set dummy ranlib; ac_word=$2
3199 echo "$as_me:$LINENO: checking for $ac_word" >&5
3200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3201 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3202 echo $ECHO_N "(cached) $ECHO_C" >&6
3204 if test -n "$ac_ct_RANLIB"; then
3205 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3211 test -z "$as_dir" && as_dir=.
3212 for ac_exec_ext in '' $ac_executable_extensions; do
3213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3214 ac_cv_prog_ac_ct_RANLIB="ranlib"
3215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3221 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3224 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3225 if test -n "$ac_ct_RANLIB"; then
3226 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3227 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3229 echo "$as_me:$LINENO: result: no" >&5
3230 echo "${ECHO_T}no" >&6
3233 RANLIB=$ac_ct_RANLIB
3235 RANLIB="$ac_cv_prog_RANLIB"
3238 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3239 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3240 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3241 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3242 echo $ECHO_N "(cached) $ECHO_C" >&6
3244 cat >conftest.make <<\_ACEOF
3246 @echo 'ac_maketemp="$(MAKE)"'
3248 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3249 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3250 if test -n "$ac_maketemp"; then
3251 eval ac_cv_prog_make_${ac_make}_set=yes
3253 eval ac_cv_prog_make_${ac_make}_set=no
3257 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3258 echo "$as_me:$LINENO: result: yes" >&5
3259 echo "${ECHO_T}yes" >&6
3262 echo "$as_me:$LINENO: result: no" >&5
3263 echo "${ECHO_T}no" >&6
3264 SET_MAKE="MAKE=${MAKE-make}"
3267 # Find a good install program. We prefer a C program (faster),
3268 # so one script is as good as another. But avoid the broken or
3269 # incompatible versions:
3270 # SysV /etc/install, /usr/sbin/install
3271 # SunOS /usr/etc/install
3272 # IRIX /sbin/install
3274 # AmigaOS /C/install, which installs bootblocks on floppy discs
3275 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3276 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3277 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3278 # OS/2's system install, which has a completely different semantic
3279 # ./install, which can be erroneously created by make from ./install.sh.
3280 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3281 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3282 if test -z "$INSTALL"; then
3283 if test "${ac_cv_path_install+set}" = set; then
3284 echo $ECHO_N "(cached) $ECHO_C" >&6
3286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3290 test -z "$as_dir" && as_dir=.
3291 # Account for people who put trailing slashes in PATH elements.
3293 ./ | .// | /cC/* | \
3294 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3295 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3298 # OSF1 and SCO ODT 3.0 have their own names for install.
3299 # Don't use installbsd from OSF since it installs stuff as root
3301 for ac_prog in ginstall scoinst install; do
3302 for ac_exec_ext in '' $ac_executable_extensions; do
3303 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3304 if test $ac_prog = install &&
3305 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3306 # AIX install. It has an incompatible calling convention.
3308 elif test $ac_prog = install &&
3309 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3310 # program-specific install script used by HP pwplus--don't use.
3313 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3325 if test "${ac_cv_path_install+set}" = set; then
3326 INSTALL=$ac_cv_path_install
3328 # As a last resort, use the slow shell script. We don't cache a
3329 # path for INSTALL within a source directory, because that will
3330 # break other packages using the cache if that directory is
3331 # removed, or if the path is relative.
3332 INSTALL=$ac_install_sh
3335 echo "$as_me:$LINENO: result: $INSTALL" >&5
3336 echo "${ECHO_T}$INSTALL" >&6
3338 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3339 # It thinks the first close brace ends the variable substitution.
3340 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3342 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3344 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3348 #AC_MSG_NOTICE([====== Starting libtool configuration])
3350 # Check whether --enable-shared or --disable-shared was given.
3351 if test "${enable_shared+set}" = set; then
3352 enableval="$enable_shared"
3353 p=${PACKAGE-default}
3355 yes) enable_shared=yes ;;
3356 no) enable_shared=no ;;
3359 # Look at the argument we got. We use all the common list separators.
3360 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3361 for pkg in $enableval; do
3362 if test "X$pkg" = "X$p"; then
3372 # Check whether --enable-static or --disable-static was given.
3373 if test "${enable_static+set}" = set; then
3374 enableval="$enable_static"
3375 p=${PACKAGE-default}
3377 yes) enable_static=yes ;;
3378 no) enable_static=no ;;
3381 # Look at the argument we got. We use all the common list separators.
3382 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3383 for pkg in $enableval; do
3384 if test "X$pkg" = "X$p"; then
3394 # Check whether --enable-fast-install or --disable-fast-install was given.
3395 if test "${enable_fast_install+set}" = set; then
3396 enableval="$enable_fast_install"
3397 p=${PACKAGE-default}
3399 yes) enable_fast_install=yes ;;
3400 no) enable_fast_install=no ;;
3402 enable_fast_install=no
3403 # Look at the argument we got. We use all the common list separators.
3404 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3405 for pkg in $enableval; do
3406 if test "X$pkg" = "X$p"; then
3407 enable_fast_install=yes
3414 enable_fast_install=yes
3417 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3418 if test "${with_gnu_ld+set}" = set; then
3419 withval="$with_gnu_ld"
3420 test "$withval" = no || with_gnu_ld=yes
3425 if test "$GCC" = yes; then
3426 # Check if gcc -print-prog-name=ld gives a path.
3427 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3428 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3431 # gcc leaves a trailing carriage return which upsets mingw
3432 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3434 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3437 # Accept absolute paths.
3438 [\\/]* | [A-Za-z]:[\\/]*)
3439 re_direlt='/[^/][^/]*/\.\./'
3440 # Canonicalize the path of ld
3441 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3442 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3443 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3445 test -z "$LD" && LD="$ac_prog"
3448 # If it fails, then pretend we aren't using GCC.
3452 # If it is relative, then search for the first ld in PATH.
3456 elif test "$with_gnu_ld" = yes; then
3457 echo "$as_me:$LINENO: checking for GNU ld" >&5
3458 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3460 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3461 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3463 if test "${lt_cv_path_LD+set}" = set; then
3464 echo $ECHO_N "(cached) $ECHO_C" >&6
3466 if test -z "$LD"; then
3467 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3468 for ac_dir in $PATH; do
3469 test -z "$ac_dir" && ac_dir=.
3470 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3471 lt_cv_path_LD="$ac_dir/$ac_prog"
3472 # Check to see if the program is GNU ld. I'd rather use --version,
3473 # but apparently some GNU ld's only accept -v.
3474 # Break only if it was the GNU/non-GNU ld that we prefer.
3475 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3476 test "$with_gnu_ld" != no && break
3478 test "$with_gnu_ld" != yes && break
3484 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3489 if test -n "$LD"; then
3490 echo "$as_me:$LINENO: result: $LD" >&5
3491 echo "${ECHO_T}$LD" >&6
3493 echo "$as_me:$LINENO: result: no" >&5
3494 echo "${ECHO_T}no" >&6
3496 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3497 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3498 { (exit 1); exit 1; }; }
3499 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3500 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3501 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3502 echo $ECHO_N "(cached) $ECHO_C" >&6
3504 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3505 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3506 lt_cv_prog_gnu_ld=yes
3508 lt_cv_prog_gnu_ld=no
3511 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3512 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3513 with_gnu_ld=$lt_cv_prog_gnu_ld
3516 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3517 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3518 if test "${lt_cv_ld_reload_flag+set}" = set; then
3519 echo $ECHO_N "(cached) $ECHO_C" >&6
3521 lt_cv_ld_reload_flag='-r'
3523 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3524 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3525 reload_flag=$lt_cv_ld_reload_flag
3526 test -n "$reload_flag" && reload_flag=" $reload_flag"
3528 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3529 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3530 if test "${lt_cv_path_NM+set}" = set; then
3531 echo $ECHO_N "(cached) $ECHO_C" >&6
3533 if test -n "$NM"; then
3534 # Let the user override the test.
3537 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3538 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3539 test -z "$ac_dir" && ac_dir=.
3540 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3541 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3542 # Check to see if the nm accepts a BSD-compat flag.
3543 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3544 # nm: unknown option "B" ignored
3545 # Tru64's nm complains that /dev/null is an invalid object file
3546 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3547 lt_cv_path_NM="$tmp_nm -B"
3549 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3550 lt_cv_path_NM="$tmp_nm -p"
3553 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3554 continue # so that we can try to find one that supports BSD flags
3559 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3564 echo "$as_me:$LINENO: result: $NM" >&5
3565 echo "${ECHO_T}$NM" >&6
3567 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3568 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3570 if test "$LN_S" = "ln -s"; then
3571 echo "$as_me:$LINENO: result: yes" >&5
3572 echo "${ECHO_T}yes" >&6
3574 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3575 echo "${ECHO_T}no, using $LN_S" >&6
3578 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3579 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3580 if test "${lt_cv_deplibs_check_method+set}" = set; then
3581 echo $ECHO_N "(cached) $ECHO_C" >&6
3583 lt_cv_file_magic_cmd='$MAGIC_CMD'
3584 lt_cv_file_magic_test_file=
3585 lt_cv_deplibs_check_method='unknown'
3586 # Need to set the preceding variable on all platforms that support
3587 # interlibrary dependencies.
3588 # 'none' -- dependencies not supported.
3589 # `unknown' -- same as none, but documents that we really don't know.
3590 # 'pass_all' -- all dependencies passed with no checks.
3591 # 'test_compile' -- check by making test program.
3592 # 'file_magic [regex]' -- check by looking for files in library path
3593 # which responds to the $file_magic_cmd with a given egrep regex.
3594 # If you have `file' or equivalent on your system and you're not sure
3595 # whether `pass_all' will *always* work, you probably want this one.
3599 lt_cv_deplibs_check_method=pass_all
3603 lt_cv_deplibs_check_method=pass_all
3607 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3608 lt_cv_file_magic_cmd='/usr/bin/file -L'
3609 lt_cv_file_magic_test_file=/shlib/libc.so
3612 cygwin* | mingw* |pw32*)
3613 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3614 lt_cv_file_magic_cmd='$OBJDUMP -f'
3617 darwin* | rhapsody*)
3618 # this will be overwritten by pass_all, but leave it in just in case
3619 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3620 lt_cv_file_magic_cmd='/usr/bin/file -L'
3622 rhapsody* | darwin1.012)
3623 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3626 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3629 lt_cv_deplibs_check_method=pass_all
3632 freebsd* | kfreebsd*-gnu)
3633 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3636 # Not sure whether the presence of OpenBSD here was a mistake.
3637 # Let's accept both of them until this is cleared up.
3638 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3639 lt_cv_file_magic_cmd=/usr/bin/file
3640 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3644 lt_cv_deplibs_check_method=pass_all
3649 lt_cv_deplibs_check_method=pass_all
3655 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3656 lt_cv_file_magic_cmd=/usr/bin/file
3657 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3660 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3661 lt_cv_file_magic_cmd=/usr/bin/file
3662 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3670 # this will be overridden with pass_all, but let us keep it just in case
3671 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3675 *-32|*"-32 ") libmagic=32-bit;;
3676 *-n32|*"-n32 ") libmagic=N32;;
3677 *-64|*"-64 ") libmagic=64-bit;;
3678 *) libmagic=never-match;;
3680 # this will be overridden with pass_all, but let us keep it just in case
3681 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3684 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3685 lt_cv_deplibs_check_method=pass_all
3688 # This must be Linux ELF.
3690 lt_cv_deplibs_check_method=pass_all
3693 netbsd* | knetbsd*-gnu)
3694 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3695 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3697 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3702 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3703 lt_cv_file_magic_cmd=/usr/bin/file
3704 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3707 osf3* | osf4* | osf5*)
3708 # this will be overridden with pass_all, but let us keep it just in case
3709 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3710 lt_cv_file_magic_test_file=/shlib/libc.so
3711 lt_cv_deplibs_check_method=pass_all
3715 lt_cv_deplibs_check_method=pass_all
3719 lt_cv_deplibs_check_method=pass_all
3720 lt_cv_file_magic_test_file=/lib/libc.so
3723 sysv5uw[78]* | sysv4*uw2*)
3724 lt_cv_deplibs_check_method=pass_all
3727 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3728 case $host_vendor in
3730 lt_cv_deplibs_check_method=pass_all
3733 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]'
3734 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3741 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3742 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3743 file_magic_cmd=$lt_cv_file_magic_cmd
3744 deplibs_check_method=$lt_cv_deplibs_check_method
3750 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3752 # find the maximum length of command line arguments
3753 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3754 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3755 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3756 echo $ECHO_N "(cached) $ECHO_C" >&6
3763 # On DJGPP, this test can blow up pretty badly due to problems in libc
3764 # (any single argument exceeding 2000 bytes causes a buffer overrun
3765 # during glob expansion). Even if it were fixed, the result of this
3766 # check would be larger than it should be.
3767 lt_cv_sys_max_cmd_len=12288; # 12K is about right
3771 # On Win9x/ME, this test blows up -- it succeeds, but takes
3772 # about 5 minutes as the teststring grows exponentially.
3773 # Worse, since 9x/ME are not pre-emptively multitasking,
3774 # you end up with a "frozen" computer, even though with patience
3775 # the test eventually succeeds (with a max line length of 256k).
3776 # Instead, let's just punt: use the minimum linelength reported by
3777 # all of the supported platforms: 8192 (on NT/2K/XP).
3778 lt_cv_sys_max_cmd_len=8192;
3782 # On AmigaOS with pdksh, this test takes hours, literally.
3783 # So we just punt and use a minimum line length of 8192.
3784 lt_cv_sys_max_cmd_len=8192;
3787 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3788 # This has been around since 386BSD, at least. Likely further.
3789 if test -x /sbin/sysctl; then
3790 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3791 elif test -x /usr/sbin/sysctl; then
3792 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3794 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
3796 # And add a safety zone
3797 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3798 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3804 if test -n "$lt_cv_sys_max_cmd_len" ; then
3805 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3806 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3808 echo "$as_me:$LINENO: result: none" >&5
3809 echo "${ECHO_T}none" >&6
3813 # Only perform the check for file, if the check method requires it
3814 case $deplibs_check_method in
3816 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3817 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3818 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3819 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3820 echo $ECHO_N "(cached) $ECHO_C" >&6
3824 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3827 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3830 ac_save_MAGIC_CMD="$MAGIC_CMD"
3831 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3832 ac_dummy="/usr/bin:$PATH"
3833 for ac_dir in $ac_dummy; do
3834 test -z "$ac_dir" && ac_dir=.
3835 if test -f $ac_dir/${ac_tool_prefix}file; then
3836 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3837 if test -n "$file_magic_test_file"; then
3838 case $deplibs_check_method in
3840 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3841 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3842 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3843 egrep "$file_magic_regex" > /dev/null; then
3848 *** Warning: the command libtool uses to detect shared libraries,
3849 *** $file_magic_cmd, produces output that libtool cannot recognize.
3850 *** The result is that libtool may fail to recognize shared libraries
3851 *** as such. This will affect the creation of libtool libraries that
3852 *** depend on shared libraries, but programs linked with such libtool
3853 *** libraries will work regardless of this problem. Nevertheless, you
3854 *** may want to report the problem to your system manager and/or to
3855 *** bug-libtool@gnu.org
3865 MAGIC_CMD="$ac_save_MAGIC_CMD"
3870 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3871 if test -n "$MAGIC_CMD"; then
3872 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3873 echo "${ECHO_T}$MAGIC_CMD" >&6
3875 echo "$as_me:$LINENO: result: no" >&5
3876 echo "${ECHO_T}no" >&6
3879 if test -z "$lt_cv_path_MAGIC_CMD"; then
3880 if test -n "$ac_tool_prefix"; then
3881 echo "$as_me:$LINENO: checking for file" >&5
3882 echo $ECHO_N "checking for file... $ECHO_C" >&6
3883 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3884 echo $ECHO_N "(cached) $ECHO_C" >&6
3888 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3891 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3894 ac_save_MAGIC_CMD="$MAGIC_CMD"
3895 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3896 ac_dummy="/usr/bin:$PATH"
3897 for ac_dir in $ac_dummy; do
3898 test -z "$ac_dir" && ac_dir=.
3899 if test -f $ac_dir/file; then
3900 lt_cv_path_MAGIC_CMD="$ac_dir/file"
3901 if test -n "$file_magic_test_file"; then
3902 case $deplibs_check_method in
3904 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3905 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3906 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3907 egrep "$file_magic_regex" > /dev/null; then
3912 *** Warning: the command libtool uses to detect shared libraries,
3913 *** $file_magic_cmd, produces output that libtool cannot recognize.
3914 *** The result is that libtool may fail to recognize shared libraries
3915 *** as such. This will affect the creation of libtool libraries that
3916 *** depend on shared libraries, but programs linked with such libtool
3917 *** libraries will work regardless of this problem. Nevertheless, you
3918 *** may want to report the problem to your system manager and/or to
3919 *** bug-libtool@gnu.org
3929 MAGIC_CMD="$ac_save_MAGIC_CMD"
3934 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3935 if test -n "$MAGIC_CMD"; then
3936 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3937 echo "${ECHO_T}$MAGIC_CMD" >&6
3939 echo "$as_me:$LINENO: result: no" >&5
3940 echo "${ECHO_T}no" >&6
3952 if test -n "$ac_tool_prefix"; then
3953 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3954 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3955 echo "$as_me:$LINENO: checking for $ac_word" >&5
3956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3957 if test "${ac_cv_prog_RANLIB+set}" = set; then
3958 echo $ECHO_N "(cached) $ECHO_C" >&6
3960 if test -n "$RANLIB"; then
3961 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3967 test -z "$as_dir" && as_dir=.
3968 for ac_exec_ext in '' $ac_executable_extensions; do
3969 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3970 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3979 RANLIB=$ac_cv_prog_RANLIB
3980 if test -n "$RANLIB"; then
3981 echo "$as_me:$LINENO: result: $RANLIB" >&5
3982 echo "${ECHO_T}$RANLIB" >&6
3984 echo "$as_me:$LINENO: result: no" >&5
3985 echo "${ECHO_T}no" >&6
3989 if test -z "$ac_cv_prog_RANLIB"; then
3990 ac_ct_RANLIB=$RANLIB
3991 # Extract the first word of "ranlib", so it can be a program name with args.
3992 set dummy ranlib; ac_word=$2
3993 echo "$as_me:$LINENO: checking for $ac_word" >&5
3994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3995 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3996 echo $ECHO_N "(cached) $ECHO_C" >&6
3998 if test -n "$ac_ct_RANLIB"; then
3999 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4005 test -z "$as_dir" && as_dir=.
4006 for ac_exec_ext in '' $ac_executable_extensions; do
4007 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4008 ac_cv_prog_ac_ct_RANLIB="ranlib"
4009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4015 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4018 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4019 if test -n "$ac_ct_RANLIB"; then
4020 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4021 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4023 echo "$as_me:$LINENO: result: no" >&5
4024 echo "${ECHO_T}no" >&6
4027 RANLIB=$ac_ct_RANLIB
4029 RANLIB="$ac_cv_prog_RANLIB"
4032 if test -n "$ac_tool_prefix"; then
4033 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4034 set dummy ${ac_tool_prefix}strip; ac_word=$2
4035 echo "$as_me:$LINENO: checking for $ac_word" >&5
4036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4037 if test "${ac_cv_prog_STRIP+set}" = set; then
4038 echo $ECHO_N "(cached) $ECHO_C" >&6
4040 if test -n "$STRIP"; then
4041 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4047 test -z "$as_dir" && as_dir=.
4048 for ac_exec_ext in '' $ac_executable_extensions; do
4049 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4050 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4059 STRIP=$ac_cv_prog_STRIP
4060 if test -n "$STRIP"; then
4061 echo "$as_me:$LINENO: result: $STRIP" >&5
4062 echo "${ECHO_T}$STRIP" >&6
4064 echo "$as_me:$LINENO: result: no" >&5
4065 echo "${ECHO_T}no" >&6
4069 if test -z "$ac_cv_prog_STRIP"; then
4071 # Extract the first word of "strip", so it can be a program name with args.
4072 set dummy strip; ac_word=$2
4073 echo "$as_me:$LINENO: checking for $ac_word" >&5
4074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4075 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4076 echo $ECHO_N "(cached) $ECHO_C" >&6
4078 if test -n "$ac_ct_STRIP"; then
4079 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4085 test -z "$as_dir" && as_dir=.
4086 for ac_exec_ext in '' $ac_executable_extensions; do
4087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4088 ac_cv_prog_ac_ct_STRIP="strip"
4089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4095 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4098 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4099 if test -n "$ac_ct_STRIP"; then
4100 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4101 echo "${ECHO_T}$ac_ct_STRIP" >&6
4103 echo "$as_me:$LINENO: result: no" >&5
4104 echo "${ECHO_T}no" >&6
4109 STRIP="$ac_cv_prog_STRIP"
4113 # Check for any special flags to pass to ltconfig.
4114 libtool_flags="--cache-file=$cache_file"
4115 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4116 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4117 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4118 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4119 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4122 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4123 if test "${enable_libtool_lock+set}" = set; then
4124 enableval="$enable_libtool_lock"
4127 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4128 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4131 # Check whether --with-pic or --without-pic was given.
4132 if test "${with_pic+set}" = set; then
4138 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4139 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4141 # Some flags need to be propagated to the compiler or linker for good
4145 # Find out which ABI we are using.
4146 echo '#line 4146 "configure"' > conftest.$ac_ext
4147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4148 (eval $ac_compile) 2>&5
4150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4151 (exit $ac_status); }; then
4152 if test "$lt_cv_prog_gnu_ld" = yes; then
4153 case `/usr/bin/file conftest.$ac_objext` in
4155 LD="${LD-ld} -melf32bsmip"
4158 LD="${LD-ld} -melf32bmipn32"
4161 LD="${LD-ld} -melf64bmip"
4165 case `/usr/bin/file conftest.$ac_objext` in
4182 # Find out which ABI we are using.
4183 echo 'int i;' > conftest.$ac_ext
4184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4185 (eval $ac_compile) 2>&5
4187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188 (exit $ac_status); }; then
4189 case "`/usr/bin/file conftest.o`" in
4201 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4202 # Find out which ABI we are using.
4203 echo 'int i;' > conftest.$ac_ext
4204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4205 (eval $ac_compile) 2>&5
4207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4208 (exit $ac_status); }; then
4209 case "`/usr/bin/file conftest.o`" in
4213 LD="${LD-ld} -m elf_i386"
4215 ppc64-*linux*|powerpc64-*linux*)
4216 LD="${LD-ld} -m elf32ppclinux"
4219 LD="${LD-ld} -m elf_s390"
4222 LD="${LD-ld} -m elf32_sparc"
4229 LD="${LD-ld} -m elf_x86_64"
4231 ppc*-*linux*|powerpc*-*linux*)
4232 LD="${LD-ld} -m elf64ppc"
4235 LD="${LD-ld} -m elf64_s390"
4238 LD="${LD-ld} -m elf64_sparc"
4248 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4249 SAVE_CFLAGS="$CFLAGS"
4250 CFLAGS="$CFLAGS -belf"
4251 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4252 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4253 if test "${lt_cv_cc_needs_belf+set}" = set; then
4254 echo $ECHO_N "(cached) $ECHO_C" >&6
4259 ac_cpp='$CPP $CPPFLAGS'
4260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4264 if test x$gcc_no_link = xyes; then
4265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4267 { (exit 1); exit 1; }; }
4269 cat >conftest.$ac_ext <<_ACEOF
4272 cat confdefs.h >>conftest.$ac_ext
4273 cat >>conftest.$ac_ext <<_ACEOF
4274 /* end confdefs.h. */
4284 rm -f conftest.$ac_objext conftest$ac_exeext
4285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4286 (eval $ac_link) 2>conftest.er1
4288 grep -v '^ *+' conftest.er1 >conftest.err
4290 cat conftest.err >&5
4291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4292 (exit $ac_status); } &&
4293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4298 (exit $ac_status); }; } &&
4299 { ac_try='test -s conftest$ac_exeext'
4300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); }; }; then
4305 lt_cv_cc_needs_belf=yes
4307 echo "$as_me: failed program was:" >&5
4308 sed 's/^/| /' conftest.$ac_ext >&5
4310 lt_cv_cc_needs_belf=no
4312 rm -f conftest.err conftest.$ac_objext \
4313 conftest$ac_exeext conftest.$ac_ext
4315 ac_cpp='$CPP $CPPFLAGS'
4316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4321 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4322 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4323 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4324 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4325 CFLAGS="$SAVE_CFLAGS"
4333 # Save cache, so that ltconfig can load it
4334 cat >confcache <<\_ACEOF
4335 # This file is a shell script that caches the results of configure
4336 # tests run on this system so they can be shared between configure
4337 # scripts and configure runs, see configure's option --config-cache.
4338 # It is not useful on other systems. If it contains results you don't
4339 # want to keep, you may remove or edit it.
4341 # config.status only pays attention to the cache file if you give it
4342 # the --recheck option to rerun configure.
4344 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4345 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4350 # The following way of writing the cache mishandles newlines in values,
4351 # but we know of no workaround that is simple, portable, and efficient.
4352 # So, don't put newlines in cache variables' values.
4353 # Ultrix sh set writes to stderr and can't be redirected directly,
4354 # and sets the high bit in the cache file unless we assign to the vars.
4357 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4359 # `set' does not quote correctly, so add quotes (double-quote
4360 # substitution turns \\\\ into \\, and sed turns \\ into \).
4363 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4366 # `set' quotes correctly as required by POSIX, so do not add quotes.
4368 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4375 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4377 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4379 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4380 if test -w $cache_file; then
4381 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4382 cat confcache >$cache_file
4384 echo "not updating unwritable cache $cache_file"
4389 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4390 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4391 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4392 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4393 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4394 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4395 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4396 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4397 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4398 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4399 echo "$as_me: error: libtool configure failed" >&2;}
4400 { (exit 1); exit 1; }; }
4402 # Reload cache, that may have been modified by ltconfig
4403 if test -r "$cache_file"; then
4404 # Some versions of bash will fail to source /dev/null (special
4405 # files actually), so we avoid doing that.
4406 if test -f "$cache_file"; then
4407 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4408 echo "$as_me: loading cache $cache_file" >&6;}
4410 [\\/]* | ?:[\\/]* ) . $cache_file;;
4411 *) . ./$cache_file;;
4415 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4416 echo "$as_me: creating cache $cache_file" >&6;}
4421 # This can be used to rebuild libtool when needed
4422 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4424 # Always use our own libtool.
4425 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4427 # Redirect the config.log output again, so that the ltconfig log is not
4428 # clobbered by the next message.
4429 exec 5>>./config.log
4438 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4440 # We need gfortran to compile parts of the library
4441 #AC_PROG_FC(gfortran)
4443 ac_ext=${FC_SRCEXT-f}
4444 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4445 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4446 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4447 if test -n "$ac_tool_prefix"; then
4448 for ac_prog in gfortran
4450 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4451 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4452 echo "$as_me:$LINENO: checking for $ac_word" >&5
4453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4454 if test "${ac_cv_prog_FC+set}" = set; then
4455 echo $ECHO_N "(cached) $ECHO_C" >&6
4457 if test -n "$FC"; then
4458 ac_cv_prog_FC="$FC" # Let the user override the test.
4460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4464 test -z "$as_dir" && as_dir=.
4465 for ac_exec_ext in '' $ac_executable_extensions; do
4466 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4467 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4477 if test -n "$FC"; then
4478 echo "$as_me:$LINENO: result: $FC" >&5
4479 echo "${ECHO_T}$FC" >&6
4481 echo "$as_me:$LINENO: result: no" >&5
4482 echo "${ECHO_T}no" >&6
4485 test -n "$FC" && break
4488 if test -z "$FC"; then
4490 for ac_prog in gfortran
4492 # Extract the first word of "$ac_prog", so it can be a program name with args.
4493 set dummy $ac_prog; ac_word=$2
4494 echo "$as_me:$LINENO: checking for $ac_word" >&5
4495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4496 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4497 echo $ECHO_N "(cached) $ECHO_C" >&6
4499 if test -n "$ac_ct_FC"; then
4500 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4506 test -z "$as_dir" && as_dir=.
4507 for ac_exec_ext in '' $ac_executable_extensions; do
4508 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4509 ac_cv_prog_ac_ct_FC="$ac_prog"
4510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4518 ac_ct_FC=$ac_cv_prog_ac_ct_FC
4519 if test -n "$ac_ct_FC"; then
4520 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4521 echo "${ECHO_T}$ac_ct_FC" >&6
4523 echo "$as_me:$LINENO: result: no" >&5
4524 echo "${ECHO_T}no" >&6
4527 test -n "$ac_ct_FC" && break
4534 # Provide some information about the compiler.
4535 echo "$as_me:4535:" \
4536 "checking for Fortran compiler version" >&5
4537 ac_compiler=`set X $ac_compile; echo $2`
4538 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4539 (eval $ac_compiler --version </dev/null >&5) 2>&5
4541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4542 (exit $ac_status); }
4543 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4544 (eval $ac_compiler -v </dev/null >&5) 2>&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); }
4548 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4549 (eval $ac_compiler -V </dev/null >&5) 2>&5
4551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4552 (exit $ac_status); }
4555 # If we don't use `.F' as extension, the preprocessor is not run on the
4556 # input file. (Note that this only needs to work for GNU compilers.)
4559 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4560 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4561 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4562 echo $ECHO_N "(cached) $ECHO_C" >&6
4564 cat >conftest.$ac_ext <<_ACEOF
4572 rm -f conftest.$ac_objext
4573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4574 (eval $ac_compile) 2>conftest.er1
4576 grep -v '^ *+' conftest.er1 >conftest.err
4578 cat conftest.err >&5
4579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4580 (exit $ac_status); } &&
4581 { ac_try='test -z "$ac_fc_werror_flag" || test ! -s conftest.err'
4582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4586 (exit $ac_status); }; } &&
4587 { ac_try='test -s conftest.$ac_objext'
4588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4592 (exit $ac_status); }; }; then
4595 echo "$as_me: failed program was:" >&5
4596 sed 's/^/| /' conftest.$ac_ext >&5
4600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4601 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4604 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4605 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4607 ac_test_FFLAGS=${FCFLAGS+set}
4608 ac_save_FFLAGS=$FCFLAGS
4610 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4611 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4612 if test "${ac_cv_prog_fc_g+set}" = set; then
4613 echo $ECHO_N "(cached) $ECHO_C" >&6
4616 cat >conftest.$ac_ext <<_ACEOF
4621 rm -f conftest.$ac_objext
4622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4623 (eval $ac_compile) 2>conftest.er1
4625 grep -v '^ *+' conftest.er1 >conftest.err
4627 cat conftest.err >&5
4628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4629 (exit $ac_status); } &&
4630 { ac_try='test -z "$ac_fc_werror_flag" || test ! -s conftest.err'
4631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4635 (exit $ac_status); }; } &&
4636 { ac_try='test -s conftest.$ac_objext'
4637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641 (exit $ac_status); }; }; then
4644 echo "$as_me: failed program was:" >&5
4645 sed 's/^/| /' conftest.$ac_ext >&5
4649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4652 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4653 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4654 if test "$ac_test_FFLAGS" = set; then
4655 FCFLAGS=$ac_save_FFLAGS
4656 elif test $ac_cv_prog_fc_g = yes; then
4657 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4663 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4671 ac_cpp='$CPP $CPPFLAGS'
4672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4677 # extra LD Flags which are required for targets
4680 # Darwin needs -single_module when linking libgfortran
4681 extra_ldflags_libgfortran=-Wl,-single_module
4686 # Check whether --enable-largefile or --disable-largefile was given.
4687 if test "${enable_largefile+set}" = set; then
4688 enableval="$enable_largefile"
4691 if test "$enable_largefile" != no; then
4693 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4694 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4695 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4696 echo $ECHO_N "(cached) $ECHO_C" >&6
4698 ac_cv_sys_largefile_CC=no
4699 if test "$GCC" != yes; then
4702 # IRIX 6.2 and later do not support large files by default,
4703 # so use the C compiler's -n32 option if that helps.
4704 cat >conftest.$ac_ext <<_ACEOF
4707 cat confdefs.h >>conftest.$ac_ext
4708 cat >>conftest.$ac_ext <<_ACEOF
4709 /* end confdefs.h. */
4710 #include <sys/types.h>
4711 /* Check that off_t can represent 2**63 - 1 correctly.
4712 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4713 since some C++ compilers masquerading as C compilers
4714 incorrectly reject 9223372036854775807. */
4715 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4716 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4717 && LARGE_OFF_T % 2147483647 == 1)
4727 rm -f conftest.$ac_objext
4728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4729 (eval $ac_compile) 2>conftest.er1
4731 grep -v '^ *+' conftest.er1 >conftest.err
4733 cat conftest.err >&5
4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735 (exit $ac_status); } &&
4736 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); }; } &&
4742 { ac_try='test -s conftest.$ac_objext'
4743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4747 (exit $ac_status); }; }; then
4750 echo "$as_me: failed program was:" >&5
4751 sed 's/^/| /' conftest.$ac_ext >&5
4754 rm -f conftest.err conftest.$ac_objext
4756 rm -f conftest.$ac_objext
4757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4758 (eval $ac_compile) 2>conftest.er1
4760 grep -v '^ *+' conftest.er1 >conftest.err
4762 cat conftest.err >&5
4763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764 (exit $ac_status); } &&
4765 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770 (exit $ac_status); }; } &&
4771 { ac_try='test -s conftest.$ac_objext'
4772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4776 (exit $ac_status); }; }; then
4777 ac_cv_sys_largefile_CC=' -n32'; break
4779 echo "$as_me: failed program was:" >&5
4780 sed 's/^/| /' conftest.$ac_ext >&5
4783 rm -f conftest.err conftest.$ac_objext
4787 rm -f conftest.$ac_ext
4790 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4791 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4792 if test "$ac_cv_sys_largefile_CC" != no; then
4793 CC=$CC$ac_cv_sys_largefile_CC
4796 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4797 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4798 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4799 echo $ECHO_N "(cached) $ECHO_C" >&6
4802 ac_cv_sys_file_offset_bits=no
4803 cat >conftest.$ac_ext <<_ACEOF
4806 cat confdefs.h >>conftest.$ac_ext
4807 cat >>conftest.$ac_ext <<_ACEOF
4808 /* end confdefs.h. */
4809 #include <sys/types.h>
4810 /* Check that off_t can represent 2**63 - 1 correctly.
4811 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4812 since some C++ compilers masquerading as C compilers
4813 incorrectly reject 9223372036854775807. */
4814 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4815 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4816 && LARGE_OFF_T % 2147483647 == 1)
4826 rm -f conftest.$ac_objext
4827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4828 (eval $ac_compile) 2>conftest.er1
4830 grep -v '^ *+' conftest.er1 >conftest.err
4832 cat conftest.err >&5
4833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4834 (exit $ac_status); } &&
4835 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4840 (exit $ac_status); }; } &&
4841 { ac_try='test -s conftest.$ac_objext'
4842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846 (exit $ac_status); }; }; then
4849 echo "$as_me: failed program was:" >&5
4850 sed 's/^/| /' conftest.$ac_ext >&5
4853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4854 cat >conftest.$ac_ext <<_ACEOF
4857 cat confdefs.h >>conftest.$ac_ext
4858 cat >>conftest.$ac_ext <<_ACEOF
4859 /* end confdefs.h. */
4860 #define _FILE_OFFSET_BITS 64
4861 #include <sys/types.h>
4862 /* Check that off_t can represent 2**63 - 1 correctly.
4863 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4864 since some C++ compilers masquerading as C compilers
4865 incorrectly reject 9223372036854775807. */
4866 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4867 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4868 && LARGE_OFF_T % 2147483647 == 1)
4878 rm -f conftest.$ac_objext
4879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4880 (eval $ac_compile) 2>conftest.er1
4882 grep -v '^ *+' conftest.er1 >conftest.err
4884 cat conftest.err >&5
4885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4886 (exit $ac_status); } &&
4887 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892 (exit $ac_status); }; } &&
4893 { ac_try='test -s conftest.$ac_objext'
4894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4898 (exit $ac_status); }; }; then
4899 ac_cv_sys_file_offset_bits=64; break
4901 echo "$as_me: failed program was:" >&5
4902 sed 's/^/| /' conftest.$ac_ext >&5
4905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4909 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4910 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4911 if test "$ac_cv_sys_file_offset_bits" != no; then
4913 cat >>confdefs.h <<_ACEOF
4914 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4919 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4920 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4921 if test "${ac_cv_sys_large_files+set}" = set; then
4922 echo $ECHO_N "(cached) $ECHO_C" >&6
4925 ac_cv_sys_large_files=no
4926 cat >conftest.$ac_ext <<_ACEOF
4929 cat confdefs.h >>conftest.$ac_ext
4930 cat >>conftest.$ac_ext <<_ACEOF
4931 /* end confdefs.h. */
4932 #include <sys/types.h>
4933 /* Check that off_t can represent 2**63 - 1 correctly.
4934 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4935 since some C++ compilers masquerading as C compilers
4936 incorrectly reject 9223372036854775807. */
4937 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4938 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4939 && LARGE_OFF_T % 2147483647 == 1)
4949 rm -f conftest.$ac_objext
4950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4951 (eval $ac_compile) 2>conftest.er1
4953 grep -v '^ *+' conftest.er1 >conftest.err
4955 cat conftest.err >&5
4956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4957 (exit $ac_status); } &&
4958 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963 (exit $ac_status); }; } &&
4964 { ac_try='test -s conftest.$ac_objext'
4965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); }; }; then
4972 echo "$as_me: failed program was:" >&5
4973 sed 's/^/| /' conftest.$ac_ext >&5
4976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4977 cat >conftest.$ac_ext <<_ACEOF
4980 cat confdefs.h >>conftest.$ac_ext
4981 cat >>conftest.$ac_ext <<_ACEOF
4982 /* end confdefs.h. */
4983 #define _LARGE_FILES 1
4984 #include <sys/types.h>
4985 /* Check that off_t can represent 2**63 - 1 correctly.
4986 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4987 since some C++ compilers masquerading as C compilers
4988 incorrectly reject 9223372036854775807. */
4989 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4990 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4991 && LARGE_OFF_T % 2147483647 == 1)
5001 rm -f conftest.$ac_objext
5002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5003 (eval $ac_compile) 2>conftest.er1
5005 grep -v '^ *+' conftest.er1 >conftest.err
5007 cat conftest.err >&5
5008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5009 (exit $ac_status); } &&
5010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015 (exit $ac_status); }; } &&
5016 { ac_try='test -s conftest.$ac_objext'
5017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5021 (exit $ac_status); }; }; then
5022 ac_cv_sys_large_files=1; break
5024 echo "$as_me: failed program was:" >&5
5025 sed 's/^/| /' conftest.$ac_ext >&5
5028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5032 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5033 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5034 if test "$ac_cv_sys_large_files" != no; then
5036 cat >>confdefs.h <<_ACEOF
5037 #define _LARGE_FILES $ac_cv_sys_large_files
5044 if test x$gcc_no_link = xyes; then
5045 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
5046 ac_cv_func_mmap_fixed_mapped=no
5049 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
5051 ac_cpp='$CPP $CPPFLAGS'
5052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5055 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5056 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5057 # On Suns, sometimes $CPP names a directory.
5058 if test -n "$CPP" && test -d "$CPP"; then
5061 if test -z "$CPP"; then
5062 if test "${ac_cv_prog_CPP+set}" = set; then
5063 echo $ECHO_N "(cached) $ECHO_C" >&6
5065 # Double quotes because CPP needs to be expanded
5066 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5069 for ac_c_preproc_warn_flag in '' yes
5071 # Use a header file that comes with gcc, so configuring glibc
5072 # with a fresh cross-compiler works.
5073 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5074 # <limits.h> exists even on freestanding compilers.
5075 # On the NeXT, cc -E runs the code through the compiler's parser,
5076 # not just through cpp. "Syntax error" is here to catch this case.
5077 cat >conftest.$ac_ext <<_ACEOF
5080 cat confdefs.h >>conftest.$ac_ext
5081 cat >>conftest.$ac_ext <<_ACEOF
5082 /* end confdefs.h. */
5084 # include <limits.h>
5086 # include <assert.h>
5090 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5091 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5093 grep -v '^ *+' conftest.er1 >conftest.err
5095 cat conftest.err >&5
5096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5097 (exit $ac_status); } >/dev/null; then
5098 if test -s conftest.err; then
5099 ac_cpp_err=$ac_c_preproc_warn_flag
5100 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5107 if test -z "$ac_cpp_err"; then
5110 echo "$as_me: failed program was:" >&5
5111 sed 's/^/| /' conftest.$ac_ext >&5
5113 # Broken: fails on valid input.
5116 rm -f conftest.err conftest.$ac_ext
5118 # OK, works on sane cases. Now check whether non-existent headers
5119 # can be detected and how.
5120 cat >conftest.$ac_ext <<_ACEOF
5123 cat confdefs.h >>conftest.$ac_ext
5124 cat >>conftest.$ac_ext <<_ACEOF
5125 /* end confdefs.h. */
5126 #include <ac_nonexistent.h>
5128 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5129 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5131 grep -v '^ *+' conftest.er1 >conftest.err
5133 cat conftest.err >&5
5134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135 (exit $ac_status); } >/dev/null; then
5136 if test -s conftest.err; then
5137 ac_cpp_err=$ac_c_preproc_warn_flag
5138 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5145 if test -z "$ac_cpp_err"; then
5146 # Broken: success on invalid input.
5149 echo "$as_me: failed program was:" >&5
5150 sed 's/^/| /' conftest.$ac_ext >&5
5152 # Passes both tests.
5156 rm -f conftest.err conftest.$ac_ext
5159 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5160 rm -f conftest.err conftest.$ac_ext
5161 if $ac_preproc_ok; then
5173 echo "$as_me:$LINENO: result: $CPP" >&5
5174 echo "${ECHO_T}$CPP" >&6
5176 for ac_c_preproc_warn_flag in '' yes
5178 # Use a header file that comes with gcc, so configuring glibc
5179 # with a fresh cross-compiler works.
5180 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5181 # <limits.h> exists even on freestanding compilers.
5182 # On the NeXT, cc -E runs the code through the compiler's parser,
5183 # not just through cpp. "Syntax error" is here to catch this case.
5184 cat >conftest.$ac_ext <<_ACEOF
5187 cat confdefs.h >>conftest.$ac_ext
5188 cat >>conftest.$ac_ext <<_ACEOF
5189 /* end confdefs.h. */
5191 # include <limits.h>
5193 # include <assert.h>
5197 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5198 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5200 grep -v '^ *+' conftest.er1 >conftest.err
5202 cat conftest.err >&5
5203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5204 (exit $ac_status); } >/dev/null; then
5205 if test -s conftest.err; then
5206 ac_cpp_err=$ac_c_preproc_warn_flag
5207 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5214 if test -z "$ac_cpp_err"; then
5217 echo "$as_me: failed program was:" >&5
5218 sed 's/^/| /' conftest.$ac_ext >&5
5220 # Broken: fails on valid input.
5223 rm -f conftest.err conftest.$ac_ext
5225 # OK, works on sane cases. Now check whether non-existent headers
5226 # can be detected and how.
5227 cat >conftest.$ac_ext <<_ACEOF
5230 cat confdefs.h >>conftest.$ac_ext
5231 cat >>conftest.$ac_ext <<_ACEOF
5232 /* end confdefs.h. */
5233 #include <ac_nonexistent.h>
5235 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5236 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5238 grep -v '^ *+' conftest.er1 >conftest.err
5240 cat conftest.err >&5
5241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5242 (exit $ac_status); } >/dev/null; then
5243 if test -s conftest.err; then
5244 ac_cpp_err=$ac_c_preproc_warn_flag
5245 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5252 if test -z "$ac_cpp_err"; then
5253 # Broken: success on invalid input.
5256 echo "$as_me: failed program was:" >&5
5257 sed 's/^/| /' conftest.$ac_ext >&5
5259 # Passes both tests.
5263 rm -f conftest.err conftest.$ac_ext
5266 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5267 rm -f conftest.err conftest.$ac_ext
5268 if $ac_preproc_ok; then
5271 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5272 See \`config.log' for more details." >&5
5273 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5274 See \`config.log' for more details." >&2;}
5275 { (exit 1); exit 1; }; }
5279 ac_cpp='$CPP $CPPFLAGS'
5280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5285 echo "$as_me:$LINENO: checking for egrep" >&5
5286 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5287 if test "${ac_cv_prog_egrep+set}" = set; then
5288 echo $ECHO_N "(cached) $ECHO_C" >&6
5290 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5291 then ac_cv_prog_egrep='grep -E'
5292 else ac_cv_prog_egrep='egrep'
5295 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5296 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5297 EGREP=$ac_cv_prog_egrep
5300 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5301 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5302 if test "${ac_cv_header_stdc+set}" = set; then
5303 echo $ECHO_N "(cached) $ECHO_C" >&6
5305 cat >conftest.$ac_ext <<_ACEOF
5308 cat confdefs.h >>conftest.$ac_ext
5309 cat >>conftest.$ac_ext <<_ACEOF
5310 /* end confdefs.h. */
5324 rm -f conftest.$ac_objext
5325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5326 (eval $ac_compile) 2>conftest.er1
5328 grep -v '^ *+' conftest.er1 >conftest.err
5330 cat conftest.err >&5
5331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5332 (exit $ac_status); } &&
5333 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5338 (exit $ac_status); }; } &&
5339 { ac_try='test -s conftest.$ac_objext'
5340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5344 (exit $ac_status); }; }; then
5345 ac_cv_header_stdc=yes
5347 echo "$as_me: failed program was:" >&5
5348 sed 's/^/| /' conftest.$ac_ext >&5
5350 ac_cv_header_stdc=no
5352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5354 if test $ac_cv_header_stdc = yes; then
5355 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5356 cat >conftest.$ac_ext <<_ACEOF
5359 cat confdefs.h >>conftest.$ac_ext
5360 cat >>conftest.$ac_ext <<_ACEOF
5361 /* end confdefs.h. */
5365 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5366 $EGREP "memchr" >/dev/null 2>&1; then
5369 ac_cv_header_stdc=no
5375 if test $ac_cv_header_stdc = yes; then
5376 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5377 cat >conftest.$ac_ext <<_ACEOF
5380 cat confdefs.h >>conftest.$ac_ext
5381 cat >>conftest.$ac_ext <<_ACEOF
5382 /* end confdefs.h. */
5386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5387 $EGREP "free" >/dev/null 2>&1; then
5390 ac_cv_header_stdc=no
5396 if test $ac_cv_header_stdc = yes; then
5397 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5398 if test "$cross_compiling" = yes; then
5401 cat >conftest.$ac_ext <<_ACEOF
5404 cat confdefs.h >>conftest.$ac_ext
5405 cat >>conftest.$ac_ext <<_ACEOF
5406 /* end confdefs.h. */
5408 #if ((' ' & 0x0FF) == 0x020)
5409 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5410 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5412 # define ISLOWER(c) \
5413 (('a' <= (c) && (c) <= 'i') \
5414 || ('j' <= (c) && (c) <= 'r') \
5415 || ('s' <= (c) && (c) <= 'z'))
5416 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5419 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5424 for (i = 0; i < 256; i++)
5425 if (XOR (islower (i), ISLOWER (i))
5426 || toupper (i) != TOUPPER (i))
5431 rm -f conftest$ac_exeext
5432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5433 (eval $ac_link) 2>&5
5435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5436 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5441 (exit $ac_status); }; }; then
5444 echo "$as_me: program exited with status $ac_status" >&5
5445 echo "$as_me: failed program was:" >&5
5446 sed 's/^/| /' conftest.$ac_ext >&5
5449 ac_cv_header_stdc=no
5451 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5455 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5456 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5457 if test $ac_cv_header_stdc = yes; then
5459 cat >>confdefs.h <<\_ACEOF
5460 #define STDC_HEADERS 1
5465 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5475 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5476 inttypes.h stdint.h unistd.h
5478 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5479 echo "$as_me:$LINENO: checking for $ac_header" >&5
5480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5482 echo $ECHO_N "(cached) $ECHO_C" >&6
5484 cat >conftest.$ac_ext <<_ACEOF
5487 cat confdefs.h >>conftest.$ac_ext
5488 cat >>conftest.$ac_ext <<_ACEOF
5489 /* end confdefs.h. */
5490 $ac_includes_default
5492 #include <$ac_header>
5494 rm -f conftest.$ac_objext
5495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5496 (eval $ac_compile) 2>conftest.er1
5498 grep -v '^ *+' conftest.er1 >conftest.err
5500 cat conftest.err >&5
5501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5502 (exit $ac_status); } &&
5503 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5508 (exit $ac_status); }; } &&
5509 { ac_try='test -s conftest.$ac_objext'
5510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514 (exit $ac_status); }; }; then
5515 eval "$as_ac_Header=yes"
5517 echo "$as_me: failed program was:" >&5
5518 sed 's/^/| /' conftest.$ac_ext >&5
5520 eval "$as_ac_Header=no"
5522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5525 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5526 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5527 cat >>confdefs.h <<_ACEOF
5528 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5538 for ac_header in stdlib.h unistd.h
5540 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5541 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5542 echo "$as_me:$LINENO: checking for $ac_header" >&5
5543 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5544 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5545 echo $ECHO_N "(cached) $ECHO_C" >&6
5547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5548 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5550 # Is the header compilable?
5551 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5552 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5553 cat >conftest.$ac_ext <<_ACEOF
5556 cat confdefs.h >>conftest.$ac_ext
5557 cat >>conftest.$ac_ext <<_ACEOF
5558 /* end confdefs.h. */
5559 $ac_includes_default
5560 #include <$ac_header>
5562 rm -f conftest.$ac_objext
5563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5564 (eval $ac_compile) 2>conftest.er1
5566 grep -v '^ *+' conftest.er1 >conftest.err
5568 cat conftest.err >&5
5569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570 (exit $ac_status); } &&
5571 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576 (exit $ac_status); }; } &&
5577 { ac_try='test -s conftest.$ac_objext'
5578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5582 (exit $ac_status); }; }; then
5583 ac_header_compiler=yes
5585 echo "$as_me: failed program was:" >&5
5586 sed 's/^/| /' conftest.$ac_ext >&5
5588 ac_header_compiler=no
5590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5591 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5592 echo "${ECHO_T}$ac_header_compiler" >&6
5594 # Is the header present?
5595 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5596 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5597 cat >conftest.$ac_ext <<_ACEOF
5600 cat confdefs.h >>conftest.$ac_ext
5601 cat >>conftest.$ac_ext <<_ACEOF
5602 /* end confdefs.h. */
5603 #include <$ac_header>
5605 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5606 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5608 grep -v '^ *+' conftest.er1 >conftest.err
5610 cat conftest.err >&5
5611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612 (exit $ac_status); } >/dev/null; then
5613 if test -s conftest.err; then
5614 ac_cpp_err=$ac_c_preproc_warn_flag
5615 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5622 if test -z "$ac_cpp_err"; then
5623 ac_header_preproc=yes
5625 echo "$as_me: failed program was:" >&5
5626 sed 's/^/| /' conftest.$ac_ext >&5
5628 ac_header_preproc=no
5630 rm -f conftest.err conftest.$ac_ext
5631 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5632 echo "${ECHO_T}$ac_header_preproc" >&6
5634 # So? What about this header?
5635 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5637 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5638 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5639 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5640 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5641 ac_header_preproc=yes
5644 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5645 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5646 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5647 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5648 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5649 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5650 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5651 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5652 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5653 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5654 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5655 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5658 ## ------------------------------------------------------ ##
5659 ## Report this to the GNU Fortran Runtime Library lists. ##
5660 ## ------------------------------------------------------ ##
5663 sed "s/^/$as_me: WARNING: /" >&2
5666 echo "$as_me:$LINENO: checking for $ac_header" >&5
5667 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5669 echo $ECHO_N "(cached) $ECHO_C" >&6
5671 eval "$as_ac_Header=\$ac_header_preproc"
5673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5674 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5677 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5678 cat >>confdefs.h <<_ACEOF
5679 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5687 for ac_func in getpagesize
5689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5690 echo "$as_me:$LINENO: checking for $ac_func" >&5
5691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5692 if eval "test \"\${$as_ac_var+set}\" = set"; then
5693 echo $ECHO_N "(cached) $ECHO_C" >&6
5695 if test x$gcc_no_link = xyes; then
5696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5698 { (exit 1); exit 1; }; }
5700 cat >conftest.$ac_ext <<_ACEOF
5703 cat confdefs.h >>conftest.$ac_ext
5704 cat >>conftest.$ac_ext <<_ACEOF
5705 /* end confdefs.h. */
5706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5708 #define $ac_func innocuous_$ac_func
5710 /* System header to define __stub macros and hopefully few prototypes,
5711 which can conflict with char $ac_func (); below.
5712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5713 <limits.h> exists even on freestanding compilers. */
5716 # include <limits.h>
5718 # include <assert.h>
5723 /* Override any gcc2 internal prototype to avoid an error. */
5728 /* We use char because int might match the return type of a gcc2
5729 builtin and then its argument prototype would still apply. */
5731 /* The GNU C library defines this for functions which it implements
5732 to always fail with ENOSYS. Some functions are actually named
5733 something starting with __ and the normal name is an alias. */
5734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5737 char (*f) () = $ac_func;
5746 return f != $ac_func;
5751 rm -f conftest.$ac_objext conftest$ac_exeext
5752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5753 (eval $ac_link) 2>conftest.er1
5755 grep -v '^ *+' conftest.er1 >conftest.err
5757 cat conftest.err >&5
5758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5759 (exit $ac_status); } &&
5760 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5765 (exit $ac_status); }; } &&
5766 { ac_try='test -s conftest$ac_exeext'
5767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5771 (exit $ac_status); }; }; then
5772 eval "$as_ac_var=yes"
5774 echo "$as_me: failed program was:" >&5
5775 sed 's/^/| /' conftest.$ac_ext >&5
5777 eval "$as_ac_var=no"
5779 rm -f conftest.err conftest.$ac_objext \
5780 conftest$ac_exeext conftest.$ac_ext
5782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5784 if test `eval echo '${'$as_ac_var'}'` = yes; then
5785 cat >>confdefs.h <<_ACEOF
5786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5792 echo "$as_me:$LINENO: checking for working mmap" >&5
5793 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5794 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5795 echo $ECHO_N "(cached) $ECHO_C" >&6
5797 if test "$cross_compiling" = yes; then
5798 ac_cv_func_mmap_fixed_mapped=no
5800 cat >conftest.$ac_ext <<_ACEOF
5803 cat confdefs.h >>conftest.$ac_ext
5804 cat >>conftest.$ac_ext <<_ACEOF
5805 /* end confdefs.h. */
5806 $ac_includes_default
5807 /* malloc might have been renamed as rpl_malloc. */
5810 /* Thanks to Mike Haertel and Jim Avera for this test.
5811 Here is a matrix of mmap possibilities:
5812 mmap private not fixed
5813 mmap private fixed at somewhere currently unmapped
5814 mmap private fixed at somewhere already mapped
5815 mmap shared not fixed
5816 mmap shared fixed at somewhere currently unmapped
5817 mmap shared fixed at somewhere already mapped
5818 For private mappings, we should verify that changes cannot be read()
5819 back from the file, nor mmap's back from the file at a different
5820 address. (There have been systems where private was not correctly
5821 implemented like the infamous i386 svr4.0, and systems where the
5822 VM page cache was not coherent with the file system buffer cache
5823 like early versions of FreeBSD and possibly contemporary NetBSD.)
5824 For shared mappings, we should conversely verify that changes get
5825 propagated back to all the places they're supposed to be.
5827 Grep wants private fixed already mapped.
5828 The main things grep needs to know about mmap are:
5829 * does it exist and is it safe to write into the mmap'd area
5830 * how to use it (BSD variants) */
5833 #include <sys/mman.h>
5835 #if !STDC_HEADERS && !HAVE_STDLIB_H
5839 /* This mess was copied from the GNU getpagesize.h. */
5840 #if !HAVE_GETPAGESIZE
5841 /* Assume that all systems that can run configure have sys/param.h. */
5842 # if !HAVE_SYS_PARAM_H
5843 # define HAVE_SYS_PARAM_H 1
5846 # ifdef _SC_PAGESIZE
5847 # define getpagesize() sysconf(_SC_PAGESIZE)
5848 # else /* no _SC_PAGESIZE */
5849 # if HAVE_SYS_PARAM_H
5850 # include <sys/param.h>
5851 # ifdef EXEC_PAGESIZE
5852 # define getpagesize() EXEC_PAGESIZE
5853 # else /* no EXEC_PAGESIZE */
5855 # define getpagesize() NBPG * CLSIZE
5858 # endif /* no CLSIZE */
5859 # else /* no NBPG */
5861 # define getpagesize() NBPC
5862 # else /* no NBPC */
5864 # define getpagesize() PAGESIZE
5865 # endif /* PAGESIZE */
5866 # endif /* no NBPC */
5867 # endif /* no NBPG */
5868 # endif /* no EXEC_PAGESIZE */
5869 # else /* no HAVE_SYS_PARAM_H */
5870 # define getpagesize() 8192 /* punt totally */
5871 # endif /* no HAVE_SYS_PARAM_H */
5872 # endif /* no _SC_PAGESIZE */
5874 #endif /* no HAVE_GETPAGESIZE */
5879 char *data, *data2, *data3;
5883 pagesize = getpagesize ();
5885 /* First, make a file with some known garbage in it. */
5886 data = (char *) malloc (pagesize);
5889 for (i = 0; i < pagesize; ++i)
5890 *(data + i) = rand ();
5892 fd = creat ("conftest.mmap", 0600);
5895 if (write (fd, data, pagesize) != pagesize)
5899 /* Next, try to mmap the file at a fixed address which already has
5900 something else allocated at it. If we can, also make sure that
5901 we see the same garbage. */
5902 fd = open ("conftest.mmap", O_RDWR);
5905 data2 = (char *) malloc (2 * pagesize);
5908 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5909 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5910 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5912 for (i = 0; i < pagesize; ++i)
5913 if (*(data + i) != *(data2 + i))
5916 /* Finally, make sure that changes to the mapped area do not
5917 percolate back to the file as seen by read(). (This is a bug on
5918 some variants of i386 svr4.0.) */
5919 for (i = 0; i < pagesize; ++i)
5920 *(data2 + i) = *(data2 + i) + 1;
5921 data3 = (char *) malloc (pagesize);
5924 if (read (fd, data3, pagesize) != pagesize)
5926 for (i = 0; i < pagesize; ++i)
5927 if (*(data + i) != *(data3 + i))
5933 rm -f conftest$ac_exeext
5934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5935 (eval $ac_link) 2>&5
5937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5938 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5943 (exit $ac_status); }; }; then
5944 ac_cv_func_mmap_fixed_mapped=yes
5946 echo "$as_me: program exited with status $ac_status" >&5
5947 echo "$as_me: failed program was:" >&5
5948 sed 's/^/| /' conftest.$ac_ext >&5
5951 ac_cv_func_mmap_fixed_mapped=no
5953 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5956 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5957 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5958 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5960 cat >>confdefs.h <<\_ACEOF
5968 echo "$as_me:$LINENO: checking for off_t" >&5
5969 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5970 if test "${ac_cv_type_off_t+set}" = set; then
5971 echo $ECHO_N "(cached) $ECHO_C" >&6
5973 cat >conftest.$ac_ext <<_ACEOF
5976 cat confdefs.h >>conftest.$ac_ext
5977 cat >>conftest.$ac_ext <<_ACEOF
5978 /* end confdefs.h. */
5979 $ac_includes_default
5991 rm -f conftest.$ac_objext
5992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5993 (eval $ac_compile) 2>conftest.er1
5995 grep -v '^ *+' conftest.er1 >conftest.err
5997 cat conftest.err >&5
5998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5999 (exit $ac_status); } &&
6000 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6005 (exit $ac_status); }; } &&
6006 { ac_try='test -s conftest.$ac_objext'
6007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6011 (exit $ac_status); }; }; then
6012 ac_cv_type_off_t=yes
6014 echo "$as_me: failed program was:" >&5
6015 sed 's/^/| /' conftest.$ac_ext >&5
6019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6021 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6022 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6023 if test $ac_cv_type_off_t = yes; then
6027 cat >>confdefs.h <<_ACEOF
6034 # check header files
6035 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6036 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6037 if test "${ac_cv_header_stdc+set}" = set; then
6038 echo $ECHO_N "(cached) $ECHO_C" >&6
6040 cat >conftest.$ac_ext <<_ACEOF
6043 cat confdefs.h >>conftest.$ac_ext
6044 cat >>conftest.$ac_ext <<_ACEOF
6045 /* end confdefs.h. */
6059 rm -f conftest.$ac_objext
6060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6061 (eval $ac_compile) 2>conftest.er1
6063 grep -v '^ *+' conftest.er1 >conftest.err
6065 cat conftest.err >&5
6066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6067 (exit $ac_status); } &&
6068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6073 (exit $ac_status); }; } &&
6074 { ac_try='test -s conftest.$ac_objext'
6075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6079 (exit $ac_status); }; }; then
6080 ac_cv_header_stdc=yes
6082 echo "$as_me: failed program was:" >&5
6083 sed 's/^/| /' conftest.$ac_ext >&5
6085 ac_cv_header_stdc=no
6087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6089 if test $ac_cv_header_stdc = yes; then
6090 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6091 cat >conftest.$ac_ext <<_ACEOF
6094 cat confdefs.h >>conftest.$ac_ext
6095 cat >>conftest.$ac_ext <<_ACEOF
6096 /* end confdefs.h. */
6100 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6101 $EGREP "memchr" >/dev/null 2>&1; then
6104 ac_cv_header_stdc=no
6110 if test $ac_cv_header_stdc = yes; then
6111 # ISC 2.0.2 stdlib.h does not declare free, 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 "free" >/dev/null 2>&1; then
6125 ac_cv_header_stdc=no
6131 if test $ac_cv_header_stdc = yes; then
6132 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6133 if test "$cross_compiling" = yes; then
6136 cat >conftest.$ac_ext <<_ACEOF
6139 cat confdefs.h >>conftest.$ac_ext
6140 cat >>conftest.$ac_ext <<_ACEOF
6141 /* end confdefs.h. */
6143 #if ((' ' & 0x0FF) == 0x020)
6144 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6145 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6147 # define ISLOWER(c) \
6148 (('a' <= (c) && (c) <= 'i') \
6149 || ('j' <= (c) && (c) <= 'r') \
6150 || ('s' <= (c) && (c) <= 'z'))
6151 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6154 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6159 for (i = 0; i < 256; i++)
6160 if (XOR (islower (i), ISLOWER (i))
6161 || toupper (i) != TOUPPER (i))
6166 rm -f conftest$ac_exeext
6167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6168 (eval $ac_link) 2>&5
6170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6171 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6176 (exit $ac_status); }; }; then
6179 echo "$as_me: program exited with status $ac_status" >&5
6180 echo "$as_me: failed program was:" >&5
6181 sed 's/^/| /' conftest.$ac_ext >&5
6184 ac_cv_header_stdc=no
6186 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6190 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6191 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6192 if test $ac_cv_header_stdc = yes; then
6194 cat >>confdefs.h <<\_ACEOF
6195 #define STDC_HEADERS 1
6207 for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
6209 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6211 echo "$as_me:$LINENO: checking for $ac_header" >&5
6212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6214 echo $ECHO_N "(cached) $ECHO_C" >&6
6216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6217 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6219 # Is the header compilable?
6220 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6221 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6222 cat >conftest.$ac_ext <<_ACEOF
6225 cat confdefs.h >>conftest.$ac_ext
6226 cat >>conftest.$ac_ext <<_ACEOF
6227 /* end confdefs.h. */
6228 $ac_includes_default
6229 #include <$ac_header>
6231 rm -f conftest.$ac_objext
6232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6233 (eval $ac_compile) 2>conftest.er1
6235 grep -v '^ *+' conftest.er1 >conftest.err
6237 cat conftest.err >&5
6238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6239 (exit $ac_status); } &&
6240 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6245 (exit $ac_status); }; } &&
6246 { ac_try='test -s conftest.$ac_objext'
6247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6251 (exit $ac_status); }; }; then
6252 ac_header_compiler=yes
6254 echo "$as_me: failed program was:" >&5
6255 sed 's/^/| /' conftest.$ac_ext >&5
6257 ac_header_compiler=no
6259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6260 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6261 echo "${ECHO_T}$ac_header_compiler" >&6
6263 # Is the header present?
6264 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6265 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6266 cat >conftest.$ac_ext <<_ACEOF
6269 cat confdefs.h >>conftest.$ac_ext
6270 cat >>conftest.$ac_ext <<_ACEOF
6271 /* end confdefs.h. */
6272 #include <$ac_header>
6274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6275 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6277 grep -v '^ *+' conftest.er1 >conftest.err
6279 cat conftest.err >&5
6280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6281 (exit $ac_status); } >/dev/null; then
6282 if test -s conftest.err; then
6283 ac_cpp_err=$ac_c_preproc_warn_flag
6284 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6291 if test -z "$ac_cpp_err"; then
6292 ac_header_preproc=yes
6294 echo "$as_me: failed program was:" >&5
6295 sed 's/^/| /' conftest.$ac_ext >&5
6297 ac_header_preproc=no
6299 rm -f conftest.err conftest.$ac_ext
6300 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6301 echo "${ECHO_T}$ac_header_preproc" >&6
6303 # So? What about this header?
6304 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6306 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6307 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6309 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6310 ac_header_preproc=yes
6313 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6314 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6315 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6316 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6317 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6318 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6319 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6320 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6321 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6322 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6323 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6324 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6327 ## ------------------------------------------------------ ##
6328 ## Report this to the GNU Fortran Runtime Library lists. ##
6329 ## ------------------------------------------------------ ##
6332 sed "s/^/$as_me: WARNING: /" >&2
6335 echo "$as_me:$LINENO: checking for $ac_header" >&5
6336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6338 echo $ECHO_N "(cached) $ECHO_C" >&6
6340 eval "$as_ac_Header=\$ac_header_preproc"
6342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6346 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6347 cat >>confdefs.h <<_ACEOF
6348 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6360 for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
6362 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6364 echo "$as_me:$LINENO: checking for $ac_header" >&5
6365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6366 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6367 echo $ECHO_N "(cached) $ECHO_C" >&6
6369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6370 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6372 # Is the header compilable?
6373 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6374 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6375 cat >conftest.$ac_ext <<_ACEOF
6378 cat confdefs.h >>conftest.$ac_ext
6379 cat >>conftest.$ac_ext <<_ACEOF
6380 /* end confdefs.h. */
6381 $ac_includes_default
6382 #include <$ac_header>
6384 rm -f conftest.$ac_objext
6385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6386 (eval $ac_compile) 2>conftest.er1
6388 grep -v '^ *+' conftest.er1 >conftest.err
6390 cat conftest.err >&5
6391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6392 (exit $ac_status); } &&
6393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398 (exit $ac_status); }; } &&
6399 { ac_try='test -s conftest.$ac_objext'
6400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6404 (exit $ac_status); }; }; then
6405 ac_header_compiler=yes
6407 echo "$as_me: failed program was:" >&5
6408 sed 's/^/| /' conftest.$ac_ext >&5
6410 ac_header_compiler=no
6412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6413 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6414 echo "${ECHO_T}$ac_header_compiler" >&6
6416 # Is the header present?
6417 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6418 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6419 cat >conftest.$ac_ext <<_ACEOF
6422 cat confdefs.h >>conftest.$ac_ext
6423 cat >>conftest.$ac_ext <<_ACEOF
6424 /* end confdefs.h. */
6425 #include <$ac_header>
6427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6428 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6430 grep -v '^ *+' conftest.er1 >conftest.err
6432 cat conftest.err >&5
6433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434 (exit $ac_status); } >/dev/null; then
6435 if test -s conftest.err; then
6436 ac_cpp_err=$ac_c_preproc_warn_flag
6437 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6444 if test -z "$ac_cpp_err"; then
6445 ac_header_preproc=yes
6447 echo "$as_me: failed program was:" >&5
6448 sed 's/^/| /' conftest.$ac_ext >&5
6450 ac_header_preproc=no
6452 rm -f conftest.err conftest.$ac_ext
6453 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6454 echo "${ECHO_T}$ac_header_preproc" >&6
6456 # So? What about this header?
6457 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6459 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6460 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6461 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6462 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6463 ac_header_preproc=yes
6466 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6467 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6468 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6469 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6470 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6471 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6472 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6473 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6474 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6475 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6476 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6477 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6480 ## ------------------------------------------------------ ##
6481 ## Report this to the GNU Fortran Runtime Library lists. ##
6482 ## ------------------------------------------------------ ##
6485 sed "s/^/$as_me: WARNING: /" >&2
6488 echo "$as_me:$LINENO: checking for $ac_header" >&5
6489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6491 echo $ECHO_N "(cached) $ECHO_C" >&6
6493 eval "$as_ac_Header=\$ac_header_preproc"
6495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6499 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6500 cat >>confdefs.h <<_ACEOF
6501 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6513 for ac_header in sys/mman.h sys/types.h sys/stat.h floatingpoint.h ieeefp.h
6515 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6517 echo "$as_me:$LINENO: checking for $ac_header" >&5
6518 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6519 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6520 echo $ECHO_N "(cached) $ECHO_C" >&6
6522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6523 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6525 # Is the header compilable?
6526 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6527 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6528 cat >conftest.$ac_ext <<_ACEOF
6531 cat confdefs.h >>conftest.$ac_ext
6532 cat >>conftest.$ac_ext <<_ACEOF
6533 /* end confdefs.h. */
6534 $ac_includes_default
6535 #include <$ac_header>
6537 rm -f conftest.$ac_objext
6538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6539 (eval $ac_compile) 2>conftest.er1
6541 grep -v '^ *+' conftest.er1 >conftest.err
6543 cat conftest.err >&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); } &&
6546 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6551 (exit $ac_status); }; } &&
6552 { ac_try='test -s conftest.$ac_objext'
6553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6557 (exit $ac_status); }; }; then
6558 ac_header_compiler=yes
6560 echo "$as_me: failed program was:" >&5
6561 sed 's/^/| /' conftest.$ac_ext >&5
6563 ac_header_compiler=no
6565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6566 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6567 echo "${ECHO_T}$ac_header_compiler" >&6
6569 # Is the header present?
6570 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6571 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6572 cat >conftest.$ac_ext <<_ACEOF
6575 cat confdefs.h >>conftest.$ac_ext
6576 cat >>conftest.$ac_ext <<_ACEOF
6577 /* end confdefs.h. */
6578 #include <$ac_header>
6580 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6581 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6583 grep -v '^ *+' conftest.er1 >conftest.err
6585 cat conftest.err >&5
6586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6587 (exit $ac_status); } >/dev/null; then
6588 if test -s conftest.err; then
6589 ac_cpp_err=$ac_c_preproc_warn_flag
6590 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6597 if test -z "$ac_cpp_err"; then
6598 ac_header_preproc=yes
6600 echo "$as_me: failed program was:" >&5
6601 sed 's/^/| /' conftest.$ac_ext >&5
6603 ac_header_preproc=no
6605 rm -f conftest.err conftest.$ac_ext
6606 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6607 echo "${ECHO_T}$ac_header_preproc" >&6
6609 # So? What about this header?
6610 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6612 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6613 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6615 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6616 ac_header_preproc=yes
6619 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6620 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6621 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6622 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6623 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6624 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6625 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6626 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6627 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6628 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6629 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6630 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6633 ## ------------------------------------------------------ ##
6634 ## Report this to the GNU Fortran Runtime Library lists. ##
6635 ## ------------------------------------------------------ ##
6638 sed "s/^/$as_me: WARNING: /" >&2
6641 echo "$as_me:$LINENO: checking for $ac_header" >&5
6642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6644 echo $ECHO_N "(cached) $ECHO_C" >&6
6646 eval "$as_ac_Header=\$ac_header_preproc"
6648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6649 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6652 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6653 cat >>confdefs.h <<_ACEOF
6654 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6664 for ac_header in fenv.h fptrap.h float.h
6666 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6668 echo "$as_me:$LINENO: checking for $ac_header" >&5
6669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6670 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6671 echo $ECHO_N "(cached) $ECHO_C" >&6
6673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6674 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6676 # Is the header compilable?
6677 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6678 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6679 cat >conftest.$ac_ext <<_ACEOF
6682 cat confdefs.h >>conftest.$ac_ext
6683 cat >>conftest.$ac_ext <<_ACEOF
6684 /* end confdefs.h. */
6685 $ac_includes_default
6686 #include <$ac_header>
6688 rm -f conftest.$ac_objext
6689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6690 (eval $ac_compile) 2>conftest.er1
6692 grep -v '^ *+' conftest.er1 >conftest.err
6694 cat conftest.err >&5
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); } &&
6697 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702 (exit $ac_status); }; } &&
6703 { ac_try='test -s conftest.$ac_objext'
6704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6708 (exit $ac_status); }; }; then
6709 ac_header_compiler=yes
6711 echo "$as_me: failed program was:" >&5
6712 sed 's/^/| /' conftest.$ac_ext >&5
6714 ac_header_compiler=no
6716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6717 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6718 echo "${ECHO_T}$ac_header_compiler" >&6
6720 # Is the header present?
6721 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6722 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6723 cat >conftest.$ac_ext <<_ACEOF
6726 cat confdefs.h >>conftest.$ac_ext
6727 cat >>conftest.$ac_ext <<_ACEOF
6728 /* end confdefs.h. */
6729 #include <$ac_header>
6731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6732 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6734 grep -v '^ *+' conftest.er1 >conftest.err
6736 cat conftest.err >&5
6737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6738 (exit $ac_status); } >/dev/null; then
6739 if test -s conftest.err; then
6740 ac_cpp_err=$ac_c_preproc_warn_flag
6741 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6748 if test -z "$ac_cpp_err"; then
6749 ac_header_preproc=yes
6751 echo "$as_me: failed program was:" >&5
6752 sed 's/^/| /' conftest.$ac_ext >&5
6754 ac_header_preproc=no
6756 rm -f conftest.err conftest.$ac_ext
6757 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6758 echo "${ECHO_T}$ac_header_preproc" >&6
6760 # So? What about this header?
6761 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6763 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6764 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6766 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6767 ac_header_preproc=yes
6770 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6771 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6772 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6773 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6774 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6775 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6776 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6777 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6778 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6779 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6780 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6781 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6784 ## ------------------------------------------------------ ##
6785 ## Report this to the GNU Fortran Runtime Library lists. ##
6786 ## ------------------------------------------------------ ##
6789 sed "s/^/$as_me: WARNING: /" >&2
6792 echo "$as_me:$LINENO: checking for $ac_header" >&5
6793 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6795 echo $ECHO_N "(cached) $ECHO_C" >&6
6797 eval "$as_ac_Header=\$ac_header_preproc"
6799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6803 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6804 cat >>confdefs.h <<_ACEOF
6805 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6812 if test "${ac_cv_header_complex_h+set}" = set; then
6813 echo "$as_me:$LINENO: checking for complex.h" >&5
6814 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6815 if test "${ac_cv_header_complex_h+set}" = set; then
6816 echo $ECHO_N "(cached) $ECHO_C" >&6
6818 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6819 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6821 # Is the header compilable?
6822 echo "$as_me:$LINENO: checking complex.h usability" >&5
6823 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6824 cat >conftest.$ac_ext <<_ACEOF
6827 cat confdefs.h >>conftest.$ac_ext
6828 cat >>conftest.$ac_ext <<_ACEOF
6829 /* end confdefs.h. */
6830 $ac_includes_default
6831 #include <complex.h>
6833 rm -f conftest.$ac_objext
6834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6835 (eval $ac_compile) 2>conftest.er1
6837 grep -v '^ *+' conftest.er1 >conftest.err
6839 cat conftest.err >&5
6840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 (exit $ac_status); } &&
6842 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6847 (exit $ac_status); }; } &&
6848 { ac_try='test -s conftest.$ac_objext'
6849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6853 (exit $ac_status); }; }; then
6854 ac_header_compiler=yes
6856 echo "$as_me: failed program was:" >&5
6857 sed 's/^/| /' conftest.$ac_ext >&5
6859 ac_header_compiler=no
6861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6862 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6863 echo "${ECHO_T}$ac_header_compiler" >&6
6865 # Is the header present?
6866 echo "$as_me:$LINENO: checking complex.h presence" >&5
6867 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6868 cat >conftest.$ac_ext <<_ACEOF
6871 cat confdefs.h >>conftest.$ac_ext
6872 cat >>conftest.$ac_ext <<_ACEOF
6873 /* end confdefs.h. */
6874 #include <complex.h>
6876 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6877 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6879 grep -v '^ *+' conftest.er1 >conftest.err
6881 cat conftest.err >&5
6882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883 (exit $ac_status); } >/dev/null; then
6884 if test -s conftest.err; then
6885 ac_cpp_err=$ac_c_preproc_warn_flag
6886 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6893 if test -z "$ac_cpp_err"; then
6894 ac_header_preproc=yes
6896 echo "$as_me: failed program was:" >&5
6897 sed 's/^/| /' conftest.$ac_ext >&5
6899 ac_header_preproc=no
6901 rm -f conftest.err conftest.$ac_ext
6902 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6903 echo "${ECHO_T}$ac_header_preproc" >&6
6905 # So? What about this header?
6906 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6908 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6909 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6910 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6911 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6912 ac_header_preproc=yes
6915 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6916 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6917 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6918 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6919 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6920 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6921 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6922 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6923 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6924 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6925 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6926 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6929 ## ------------------------------------------------------ ##
6930 ## Report this to the GNU Fortran Runtime Library lists. ##
6931 ## ------------------------------------------------------ ##
6934 sed "s/^/$as_me: WARNING: /" >&2
6937 echo "$as_me:$LINENO: checking for complex.h" >&5
6938 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6939 if test "${ac_cv_header_complex_h+set}" = set; then
6940 echo $ECHO_N "(cached) $ECHO_C" >&6
6942 ac_cv_header_complex_h=$ac_header_preproc
6944 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6945 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6948 if test $ac_cv_header_complex_h = yes; then
6950 cat >>confdefs.h <<\_ACEOF
6951 #define HAVE_COMPLEX_H 1
6958 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6959 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
6960 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6961 echo $ECHO_N "(cached) $ECHO_C" >&6
6963 cat >conftest.$ac_ext <<_ACEOF
6966 cat confdefs.h >>conftest.$ac_ext
6967 cat >>conftest.$ac_ext <<_ACEOF
6968 /* end confdefs.h. */
6969 $ac_includes_default
6973 static struct stat ac_aggr;
6974 if (ac_aggr.st_blksize)
6980 rm -f conftest.$ac_objext
6981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6982 (eval $ac_compile) 2>conftest.er1
6984 grep -v '^ *+' conftest.er1 >conftest.err
6986 cat conftest.err >&5
6987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6988 (exit $ac_status); } &&
6989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6994 (exit $ac_status); }; } &&
6995 { ac_try='test -s conftest.$ac_objext'
6996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7000 (exit $ac_status); }; }; then
7001 ac_cv_member_struct_stat_st_blksize=yes
7003 echo "$as_me: failed program was:" >&5
7004 sed 's/^/| /' conftest.$ac_ext >&5
7006 cat >conftest.$ac_ext <<_ACEOF
7009 cat confdefs.h >>conftest.$ac_ext
7010 cat >>conftest.$ac_ext <<_ACEOF
7011 /* end confdefs.h. */
7012 $ac_includes_default
7016 static struct stat ac_aggr;
7017 if (sizeof ac_aggr.st_blksize)
7023 rm -f conftest.$ac_objext
7024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7025 (eval $ac_compile) 2>conftest.er1
7027 grep -v '^ *+' conftest.er1 >conftest.err
7029 cat conftest.err >&5
7030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7031 (exit $ac_status); } &&
7032 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7037 (exit $ac_status); }; } &&
7038 { ac_try='test -s conftest.$ac_objext'
7039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7043 (exit $ac_status); }; }; then
7044 ac_cv_member_struct_stat_st_blksize=yes
7046 echo "$as_me: failed program was:" >&5
7047 sed 's/^/| /' conftest.$ac_ext >&5
7049 ac_cv_member_struct_stat_st_blksize=no
7051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7055 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
7056 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
7057 if test $ac_cv_member_struct_stat_st_blksize = yes; then
7059 cat >>confdefs.h <<_ACEOF
7060 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
7066 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
7067 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
7068 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
7069 echo $ECHO_N "(cached) $ECHO_C" >&6
7071 cat >conftest.$ac_ext <<_ACEOF
7074 cat confdefs.h >>conftest.$ac_ext
7075 cat >>conftest.$ac_ext <<_ACEOF
7076 /* end confdefs.h. */
7077 $ac_includes_default
7081 static struct stat ac_aggr;
7082 if (ac_aggr.st_blocks)
7088 rm -f conftest.$ac_objext
7089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7090 (eval $ac_compile) 2>conftest.er1
7092 grep -v '^ *+' conftest.er1 >conftest.err
7094 cat conftest.err >&5
7095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7096 (exit $ac_status); } &&
7097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7102 (exit $ac_status); }; } &&
7103 { ac_try='test -s conftest.$ac_objext'
7104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7108 (exit $ac_status); }; }; then
7109 ac_cv_member_struct_stat_st_blocks=yes
7111 echo "$as_me: failed program was:" >&5
7112 sed 's/^/| /' conftest.$ac_ext >&5
7114 cat >conftest.$ac_ext <<_ACEOF
7117 cat confdefs.h >>conftest.$ac_ext
7118 cat >>conftest.$ac_ext <<_ACEOF
7119 /* end confdefs.h. */
7120 $ac_includes_default
7124 static struct stat ac_aggr;
7125 if (sizeof ac_aggr.st_blocks)
7131 rm -f conftest.$ac_objext
7132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7133 (eval $ac_compile) 2>conftest.er1
7135 grep -v '^ *+' conftest.er1 >conftest.err
7137 cat conftest.err >&5
7138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7139 (exit $ac_status); } &&
7140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7145 (exit $ac_status); }; } &&
7146 { ac_try='test -s conftest.$ac_objext'
7147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7151 (exit $ac_status); }; }; then
7152 ac_cv_member_struct_stat_st_blocks=yes
7154 echo "$as_me: failed program was:" >&5
7155 sed 's/^/| /' conftest.$ac_ext >&5
7157 ac_cv_member_struct_stat_st_blocks=no
7159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7163 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
7164 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
7165 if test $ac_cv_member_struct_stat_st_blocks = yes; then
7167 cat >>confdefs.h <<_ACEOF
7168 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
7174 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
7175 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
7176 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
7177 echo $ECHO_N "(cached) $ECHO_C" >&6
7179 cat >conftest.$ac_ext <<_ACEOF
7182 cat confdefs.h >>conftest.$ac_ext
7183 cat >>conftest.$ac_ext <<_ACEOF
7184 /* end confdefs.h. */
7185 $ac_includes_default
7189 static struct stat ac_aggr;
7190 if (ac_aggr.st_rdev)
7196 rm -f conftest.$ac_objext
7197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7198 (eval $ac_compile) 2>conftest.er1
7200 grep -v '^ *+' conftest.er1 >conftest.err
7202 cat conftest.err >&5
7203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7204 (exit $ac_status); } &&
7205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7210 (exit $ac_status); }; } &&
7211 { ac_try='test -s conftest.$ac_objext'
7212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7216 (exit $ac_status); }; }; then
7217 ac_cv_member_struct_stat_st_rdev=yes
7219 echo "$as_me: failed program was:" >&5
7220 sed 's/^/| /' conftest.$ac_ext >&5
7222 cat >conftest.$ac_ext <<_ACEOF
7225 cat confdefs.h >>conftest.$ac_ext
7226 cat >>conftest.$ac_ext <<_ACEOF
7227 /* end confdefs.h. */
7228 $ac_includes_default
7232 static struct stat ac_aggr;
7233 if (sizeof ac_aggr.st_rdev)
7239 rm -f conftest.$ac_objext
7240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7241 (eval $ac_compile) 2>conftest.er1
7243 grep -v '^ *+' conftest.er1 >conftest.err
7245 cat conftest.err >&5
7246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7247 (exit $ac_status); } &&
7248 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7253 (exit $ac_status); }; } &&
7254 { ac_try='test -s conftest.$ac_objext'
7255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7259 (exit $ac_status); }; }; then
7260 ac_cv_member_struct_stat_st_rdev=yes
7262 echo "$as_me: failed program was:" >&5
7263 sed 's/^/| /' conftest.$ac_ext >&5
7265 ac_cv_member_struct_stat_st_rdev=no
7267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7271 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
7272 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
7273 if test $ac_cv_member_struct_stat_st_rdev = yes; then
7275 cat >>confdefs.h <<_ACEOF
7276 #define HAVE_STRUCT_STAT_ST_RDEV 1
7283 # Check for library functions.
7292 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
7294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7295 echo "$as_me:$LINENO: checking for $ac_func" >&5
7296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7297 if eval "test \"\${$as_ac_var+set}\" = set"; then
7298 echo $ECHO_N "(cached) $ECHO_C" >&6
7300 if test x$gcc_no_link = xyes; then
7301 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7303 { (exit 1); exit 1; }; }
7305 cat >conftest.$ac_ext <<_ACEOF
7308 cat confdefs.h >>conftest.$ac_ext
7309 cat >>conftest.$ac_ext <<_ACEOF
7310 /* end confdefs.h. */
7311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7313 #define $ac_func innocuous_$ac_func
7315 /* System header to define __stub macros and hopefully few prototypes,
7316 which can conflict with char $ac_func (); below.
7317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7318 <limits.h> exists even on freestanding compilers. */
7321 # include <limits.h>
7323 # include <assert.h>
7328 /* Override any gcc2 internal prototype to avoid an error. */
7333 /* We use char because int might match the return type of a gcc2
7334 builtin and then its argument prototype would still apply. */
7336 /* The GNU C library defines this for functions which it implements
7337 to always fail with ENOSYS. Some functions are actually named
7338 something starting with __ and the normal name is an alias. */
7339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7342 char (*f) () = $ac_func;
7351 return f != $ac_func;
7356 rm -f conftest.$ac_objext conftest$ac_exeext
7357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7358 (eval $ac_link) 2>conftest.er1
7360 grep -v '^ *+' conftest.er1 >conftest.err
7362 cat conftest.err >&5
7363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364 (exit $ac_status); } &&
7365 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370 (exit $ac_status); }; } &&
7371 { ac_try='test -s conftest$ac_exeext'
7372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7376 (exit $ac_status); }; }; then
7377 eval "$as_ac_var=yes"
7379 echo "$as_me: failed program was:" >&5
7380 sed 's/^/| /' conftest.$ac_ext >&5
7382 eval "$as_ac_var=no"
7384 rm -f conftest.err conftest.$ac_objext \
7385 conftest$ac_exeext conftest.$ac_ext
7387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7389 if test `eval echo '${'$as_ac_var'}'` = yes; then
7390 cat >>confdefs.h <<_ACEOF
7391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7405 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
7407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7408 echo "$as_me:$LINENO: checking for $ac_func" >&5
7409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7410 if eval "test \"\${$as_ac_var+set}\" = set"; then
7411 echo $ECHO_N "(cached) $ECHO_C" >&6
7413 if test x$gcc_no_link = xyes; then
7414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7416 { (exit 1); exit 1; }; }
7418 cat >conftest.$ac_ext <<_ACEOF
7421 cat confdefs.h >>conftest.$ac_ext
7422 cat >>conftest.$ac_ext <<_ACEOF
7423 /* end confdefs.h. */
7424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7426 #define $ac_func innocuous_$ac_func
7428 /* System header to define __stub macros and hopefully few prototypes,
7429 which can conflict with char $ac_func (); below.
7430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7431 <limits.h> exists even on freestanding compilers. */
7434 # include <limits.h>
7436 # include <assert.h>
7441 /* Override any gcc2 internal prototype to avoid an error. */
7446 /* We use char because int might match the return type of a gcc2
7447 builtin and then its argument prototype would still apply. */
7449 /* The GNU C library defines this for functions which it implements
7450 to always fail with ENOSYS. Some functions are actually named
7451 something starting with __ and the normal name is an alias. */
7452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7455 char (*f) () = $ac_func;
7464 return f != $ac_func;
7469 rm -f conftest.$ac_objext conftest$ac_exeext
7470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7471 (eval $ac_link) 2>conftest.er1
7473 grep -v '^ *+' conftest.er1 >conftest.err
7475 cat conftest.err >&5
7476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7477 (exit $ac_status); } &&
7478 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7483 (exit $ac_status); }; } &&
7484 { ac_try='test -s conftest$ac_exeext'
7485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7489 (exit $ac_status); }; }; then
7490 eval "$as_ac_var=yes"
7492 echo "$as_me: failed program was:" >&5
7493 sed 's/^/| /' conftest.$ac_ext >&5
7495 eval "$as_ac_var=no"
7497 rm -f conftest.err conftest.$ac_objext \
7498 conftest$ac_exeext conftest.$ac_ext
7500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7502 if test `eval echo '${'$as_ac_var'}'` = yes; then
7503 cat >>confdefs.h <<_ACEOF
7504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7516 for ac_func in sleep time ttyname signal alarm ctime
7518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7519 echo "$as_me:$LINENO: checking for $ac_func" >&5
7520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7521 if eval "test \"\${$as_ac_var+set}\" = set"; then
7522 echo $ECHO_N "(cached) $ECHO_C" >&6
7524 if test x$gcc_no_link = xyes; then
7525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7527 { (exit 1); exit 1; }; }
7529 cat >conftest.$ac_ext <<_ACEOF
7532 cat confdefs.h >>conftest.$ac_ext
7533 cat >>conftest.$ac_ext <<_ACEOF
7534 /* end confdefs.h. */
7535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7537 #define $ac_func innocuous_$ac_func
7539 /* System header to define __stub macros and hopefully few prototypes,
7540 which can conflict with char $ac_func (); below.
7541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7542 <limits.h> exists even on freestanding compilers. */
7545 # include <limits.h>
7547 # include <assert.h>
7552 /* Override any gcc2 internal prototype to avoid an error. */
7557 /* We use char because int might match the return type of a gcc2
7558 builtin and then its argument prototype would still apply. */
7560 /* The GNU C library defines this for functions which it implements
7561 to always fail with ENOSYS. Some functions are actually named
7562 something starting with __ and the normal name is an alias. */
7563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7566 char (*f) () = $ac_func;
7575 return f != $ac_func;
7580 rm -f conftest.$ac_objext conftest$ac_exeext
7581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7582 (eval $ac_link) 2>conftest.er1
7584 grep -v '^ *+' conftest.er1 >conftest.err
7586 cat conftest.err >&5
7587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7588 (exit $ac_status); } &&
7589 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7594 (exit $ac_status); }; } &&
7595 { ac_try='test -s conftest$ac_exeext'
7596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7600 (exit $ac_status); }; }; then
7601 eval "$as_ac_var=yes"
7603 echo "$as_me: failed program was:" >&5
7604 sed 's/^/| /' conftest.$ac_ext >&5
7606 eval "$as_ac_var=no"
7608 rm -f conftest.err conftest.$ac_objext \
7609 conftest$ac_exeext conftest.$ac_ext
7611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7613 if test `eval echo '${'$as_ac_var'}'` = yes; then
7614 cat >>confdefs.h <<_ACEOF
7615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7622 # Check libc for getgid, getpid, getuid
7623 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
7624 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
7625 if test "${ac_cv_lib_c_getgid+set}" = set; then
7626 echo $ECHO_N "(cached) $ECHO_C" >&6
7628 ac_check_lib_save_LIBS=$LIBS
7630 if test x$gcc_no_link = xyes; then
7631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7633 { (exit 1); exit 1; }; }
7635 cat >conftest.$ac_ext <<_ACEOF
7638 cat confdefs.h >>conftest.$ac_ext
7639 cat >>conftest.$ac_ext <<_ACEOF
7640 /* end confdefs.h. */
7642 /* Override any gcc2 internal prototype to avoid an error. */
7646 /* We use char because int might match the return type of a gcc2
7647 builtin and then its argument prototype would still apply. */
7657 rm -f conftest.$ac_objext conftest$ac_exeext
7658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7659 (eval $ac_link) 2>conftest.er1
7661 grep -v '^ *+' conftest.er1 >conftest.err
7663 cat conftest.err >&5
7664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7665 (exit $ac_status); } &&
7666 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7671 (exit $ac_status); }; } &&
7672 { ac_try='test -s conftest$ac_exeext'
7673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7677 (exit $ac_status); }; }; then
7678 ac_cv_lib_c_getgid=yes
7680 echo "$as_me: failed program was:" >&5
7681 sed 's/^/| /' conftest.$ac_ext >&5
7683 ac_cv_lib_c_getgid=no
7685 rm -f conftest.err conftest.$ac_objext \
7686 conftest$ac_exeext conftest.$ac_ext
7687 LIBS=$ac_check_lib_save_LIBS
7689 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
7690 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
7691 if test $ac_cv_lib_c_getgid = yes; then
7693 cat >>confdefs.h <<\_ACEOF
7694 #define HAVE_GETGID 1
7699 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
7700 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
7701 if test "${ac_cv_lib_c_getpid+set}" = set; then
7702 echo $ECHO_N "(cached) $ECHO_C" >&6
7704 ac_check_lib_save_LIBS=$LIBS
7706 if test x$gcc_no_link = xyes; then
7707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7709 { (exit 1); exit 1; }; }
7711 cat >conftest.$ac_ext <<_ACEOF
7714 cat confdefs.h >>conftest.$ac_ext
7715 cat >>conftest.$ac_ext <<_ACEOF
7716 /* end confdefs.h. */
7718 /* Override any gcc2 internal prototype to avoid an error. */
7722 /* We use char because int might match the return type of a gcc2
7723 builtin and then its argument prototype would still apply. */
7733 rm -f conftest.$ac_objext conftest$ac_exeext
7734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7735 (eval $ac_link) 2>conftest.er1
7737 grep -v '^ *+' conftest.er1 >conftest.err
7739 cat conftest.err >&5
7740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7741 (exit $ac_status); } &&
7742 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7747 (exit $ac_status); }; } &&
7748 { ac_try='test -s conftest$ac_exeext'
7749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7753 (exit $ac_status); }; }; then
7754 ac_cv_lib_c_getpid=yes
7756 echo "$as_me: failed program was:" >&5
7757 sed 's/^/| /' conftest.$ac_ext >&5
7759 ac_cv_lib_c_getpid=no
7761 rm -f conftest.err conftest.$ac_objext \
7762 conftest$ac_exeext conftest.$ac_ext
7763 LIBS=$ac_check_lib_save_LIBS
7765 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
7766 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
7767 if test $ac_cv_lib_c_getpid = yes; then
7769 cat >>confdefs.h <<\_ACEOF
7770 #define HAVE_GETPID 1
7775 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
7776 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
7777 if test "${ac_cv_lib_c_getuid+set}" = set; then
7778 echo $ECHO_N "(cached) $ECHO_C" >&6
7780 ac_check_lib_save_LIBS=$LIBS
7782 if test x$gcc_no_link = xyes; then
7783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7785 { (exit 1); exit 1; }; }
7787 cat >conftest.$ac_ext <<_ACEOF
7790 cat confdefs.h >>conftest.$ac_ext
7791 cat >>conftest.$ac_ext <<_ACEOF
7792 /* end confdefs.h. */
7794 /* Override any gcc2 internal prototype to avoid an error. */
7798 /* We use char because int might match the return type of a gcc2
7799 builtin and then its argument prototype would still apply. */
7809 rm -f conftest.$ac_objext conftest$ac_exeext
7810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7811 (eval $ac_link) 2>conftest.er1
7813 grep -v '^ *+' conftest.er1 >conftest.err
7815 cat conftest.err >&5
7816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7817 (exit $ac_status); } &&
7818 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7823 (exit $ac_status); }; } &&
7824 { ac_try='test -s conftest$ac_exeext'
7825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7829 (exit $ac_status); }; }; then
7830 ac_cv_lib_c_getuid=yes
7832 echo "$as_me: failed program was:" >&5
7833 sed 's/^/| /' conftest.$ac_ext >&5
7835 ac_cv_lib_c_getuid=no
7837 rm -f conftest.err conftest.$ac_objext \
7838 conftest$ac_exeext conftest.$ac_ext
7839 LIBS=$ac_check_lib_save_LIBS
7841 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
7842 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
7843 if test $ac_cv_lib_c_getuid = yes; then
7845 cat >>confdefs.h <<\_ACEOF
7846 #define HAVE_GETUID 1
7852 # Check for C99 (and other IEEE) math functions
7853 # ??? This list seems awful long. Is there a better way to test for these?
7854 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
7855 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
7856 if test "${ac_cv_lib_m_acosf+set}" = set; then
7857 echo $ECHO_N "(cached) $ECHO_C" >&6
7859 ac_check_lib_save_LIBS=$LIBS
7861 if test x$gcc_no_link = xyes; then
7862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7864 { (exit 1); exit 1; }; }
7866 cat >conftest.$ac_ext <<_ACEOF
7869 cat confdefs.h >>conftest.$ac_ext
7870 cat >>conftest.$ac_ext <<_ACEOF
7871 /* end confdefs.h. */
7873 /* Override any gcc2 internal prototype to avoid an error. */
7877 /* We use char because int might match the return type of a gcc2
7878 builtin and then its argument prototype would still apply. */
7888 rm -f conftest.$ac_objext conftest$ac_exeext
7889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7890 (eval $ac_link) 2>conftest.er1
7892 grep -v '^ *+' conftest.er1 >conftest.err
7894 cat conftest.err >&5
7895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7896 (exit $ac_status); } &&
7897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7902 (exit $ac_status); }; } &&
7903 { ac_try='test -s conftest$ac_exeext'
7904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7908 (exit $ac_status); }; }; then
7909 ac_cv_lib_m_acosf=yes
7911 echo "$as_me: failed program was:" >&5
7912 sed 's/^/| /' conftest.$ac_ext >&5
7914 ac_cv_lib_m_acosf=no
7916 rm -f conftest.err conftest.$ac_objext \
7917 conftest$ac_exeext conftest.$ac_ext
7918 LIBS=$ac_check_lib_save_LIBS
7920 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
7921 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
7922 if test $ac_cv_lib_m_acosf = yes; then
7924 cat >>confdefs.h <<\_ACEOF
7925 #define HAVE_ACOSF 1
7930 echo "$as_me:$LINENO: checking for acos in -lm" >&5
7931 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
7932 if test "${ac_cv_lib_m_acos+set}" = set; then
7933 echo $ECHO_N "(cached) $ECHO_C" >&6
7935 ac_check_lib_save_LIBS=$LIBS
7937 if test x$gcc_no_link = xyes; then
7938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7940 { (exit 1); exit 1; }; }
7942 cat >conftest.$ac_ext <<_ACEOF
7945 cat confdefs.h >>conftest.$ac_ext
7946 cat >>conftest.$ac_ext <<_ACEOF
7947 /* end confdefs.h. */
7949 /* Override any gcc2 internal prototype to avoid an error. */
7953 /* We use char because int might match the return type of a gcc2
7954 builtin and then its argument prototype would still apply. */
7964 rm -f conftest.$ac_objext conftest$ac_exeext
7965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7966 (eval $ac_link) 2>conftest.er1
7968 grep -v '^ *+' conftest.er1 >conftest.err
7970 cat conftest.err >&5
7971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7972 (exit $ac_status); } &&
7973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7978 (exit $ac_status); }; } &&
7979 { ac_try='test -s conftest$ac_exeext'
7980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7984 (exit $ac_status); }; }; then
7985 ac_cv_lib_m_acos=yes
7987 echo "$as_me: failed program was:" >&5
7988 sed 's/^/| /' conftest.$ac_ext >&5
7992 rm -f conftest.err conftest.$ac_objext \
7993 conftest$ac_exeext conftest.$ac_ext
7994 LIBS=$ac_check_lib_save_LIBS
7996 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
7997 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
7998 if test $ac_cv_lib_m_acos = yes; then
8000 cat >>confdefs.h <<\_ACEOF
8006 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
8007 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
8008 if test "${ac_cv_lib_m_acosl+set}" = set; then
8009 echo $ECHO_N "(cached) $ECHO_C" >&6
8011 ac_check_lib_save_LIBS=$LIBS
8013 if test x$gcc_no_link = xyes; then
8014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8016 { (exit 1); exit 1; }; }
8018 cat >conftest.$ac_ext <<_ACEOF
8021 cat confdefs.h >>conftest.$ac_ext
8022 cat >>conftest.$ac_ext <<_ACEOF
8023 /* end confdefs.h. */
8025 /* Override any gcc2 internal prototype to avoid an error. */
8029 /* We use char because int might match the return type of a gcc2
8030 builtin and then its argument prototype would still apply. */
8040 rm -f conftest.$ac_objext conftest$ac_exeext
8041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8042 (eval $ac_link) 2>conftest.er1
8044 grep -v '^ *+' conftest.er1 >conftest.err
8046 cat conftest.err >&5
8047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8048 (exit $ac_status); } &&
8049 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8054 (exit $ac_status); }; } &&
8055 { ac_try='test -s conftest$ac_exeext'
8056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8060 (exit $ac_status); }; }; then
8061 ac_cv_lib_m_acosl=yes
8063 echo "$as_me: failed program was:" >&5
8064 sed 's/^/| /' conftest.$ac_ext >&5
8066 ac_cv_lib_m_acosl=no
8068 rm -f conftest.err conftest.$ac_objext \
8069 conftest$ac_exeext conftest.$ac_ext
8070 LIBS=$ac_check_lib_save_LIBS
8072 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
8073 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
8074 if test $ac_cv_lib_m_acosl = yes; then
8076 cat >>confdefs.h <<\_ACEOF
8077 #define HAVE_ACOSL 1
8082 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
8083 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
8084 if test "${ac_cv_lib_m_acoshf+set}" = set; then
8085 echo $ECHO_N "(cached) $ECHO_C" >&6
8087 ac_check_lib_save_LIBS=$LIBS
8089 if test x$gcc_no_link = xyes; then
8090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8092 { (exit 1); exit 1; }; }
8094 cat >conftest.$ac_ext <<_ACEOF
8097 cat confdefs.h >>conftest.$ac_ext
8098 cat >>conftest.$ac_ext <<_ACEOF
8099 /* end confdefs.h. */
8101 /* Override any gcc2 internal prototype to avoid an error. */
8105 /* We use char because int might match the return type of a gcc2
8106 builtin and then its argument prototype would still apply. */
8116 rm -f conftest.$ac_objext conftest$ac_exeext
8117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8118 (eval $ac_link) 2>conftest.er1
8120 grep -v '^ *+' conftest.er1 >conftest.err
8122 cat conftest.err >&5
8123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8124 (exit $ac_status); } &&
8125 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8130 (exit $ac_status); }; } &&
8131 { ac_try='test -s conftest$ac_exeext'
8132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8136 (exit $ac_status); }; }; then
8137 ac_cv_lib_m_acoshf=yes
8139 echo "$as_me: failed program was:" >&5
8140 sed 's/^/| /' conftest.$ac_ext >&5
8142 ac_cv_lib_m_acoshf=no
8144 rm -f conftest.err conftest.$ac_objext \
8145 conftest$ac_exeext conftest.$ac_ext
8146 LIBS=$ac_check_lib_save_LIBS
8148 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
8149 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
8150 if test $ac_cv_lib_m_acoshf = yes; then
8152 cat >>confdefs.h <<\_ACEOF
8153 #define HAVE_ACOSHF 1
8158 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
8159 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
8160 if test "${ac_cv_lib_m_acosh+set}" = set; then
8161 echo $ECHO_N "(cached) $ECHO_C" >&6
8163 ac_check_lib_save_LIBS=$LIBS
8165 if test x$gcc_no_link = xyes; then
8166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8168 { (exit 1); exit 1; }; }
8170 cat >conftest.$ac_ext <<_ACEOF
8173 cat confdefs.h >>conftest.$ac_ext
8174 cat >>conftest.$ac_ext <<_ACEOF
8175 /* end confdefs.h. */
8177 /* Override any gcc2 internal prototype to avoid an error. */
8181 /* We use char because int might match the return type of a gcc2
8182 builtin and then its argument prototype would still apply. */
8192 rm -f conftest.$ac_objext conftest$ac_exeext
8193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8194 (eval $ac_link) 2>conftest.er1
8196 grep -v '^ *+' conftest.er1 >conftest.err
8198 cat conftest.err >&5
8199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8200 (exit $ac_status); } &&
8201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8206 (exit $ac_status); }; } &&
8207 { ac_try='test -s conftest$ac_exeext'
8208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8212 (exit $ac_status); }; }; then
8213 ac_cv_lib_m_acosh=yes
8215 echo "$as_me: failed program was:" >&5
8216 sed 's/^/| /' conftest.$ac_ext >&5
8218 ac_cv_lib_m_acosh=no
8220 rm -f conftest.err conftest.$ac_objext \
8221 conftest$ac_exeext conftest.$ac_ext
8222 LIBS=$ac_check_lib_save_LIBS
8224 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
8225 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
8226 if test $ac_cv_lib_m_acosh = yes; then
8228 cat >>confdefs.h <<\_ACEOF
8229 #define HAVE_ACOSH 1
8234 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
8235 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
8236 if test "${ac_cv_lib_m_acoshl+set}" = set; then
8237 echo $ECHO_N "(cached) $ECHO_C" >&6
8239 ac_check_lib_save_LIBS=$LIBS
8241 if test x$gcc_no_link = xyes; then
8242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8244 { (exit 1); exit 1; }; }
8246 cat >conftest.$ac_ext <<_ACEOF
8249 cat confdefs.h >>conftest.$ac_ext
8250 cat >>conftest.$ac_ext <<_ACEOF
8251 /* end confdefs.h. */
8253 /* Override any gcc2 internal prototype to avoid an error. */
8257 /* We use char because int might match the return type of a gcc2
8258 builtin and then its argument prototype would still apply. */
8268 rm -f conftest.$ac_objext conftest$ac_exeext
8269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8270 (eval $ac_link) 2>conftest.er1
8272 grep -v '^ *+' conftest.er1 >conftest.err
8274 cat conftest.err >&5
8275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8276 (exit $ac_status); } &&
8277 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8282 (exit $ac_status); }; } &&
8283 { ac_try='test -s conftest$ac_exeext'
8284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8288 (exit $ac_status); }; }; then
8289 ac_cv_lib_m_acoshl=yes
8291 echo "$as_me: failed program was:" >&5
8292 sed 's/^/| /' conftest.$ac_ext >&5
8294 ac_cv_lib_m_acoshl=no
8296 rm -f conftest.err conftest.$ac_objext \
8297 conftest$ac_exeext conftest.$ac_ext
8298 LIBS=$ac_check_lib_save_LIBS
8300 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
8301 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
8302 if test $ac_cv_lib_m_acoshl = yes; then
8304 cat >>confdefs.h <<\_ACEOF
8305 #define HAVE_ACOSHL 1
8310 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
8311 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
8312 if test "${ac_cv_lib_m_asinf+set}" = set; then
8313 echo $ECHO_N "(cached) $ECHO_C" >&6
8315 ac_check_lib_save_LIBS=$LIBS
8317 if test x$gcc_no_link = xyes; then
8318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8320 { (exit 1); exit 1; }; }
8322 cat >conftest.$ac_ext <<_ACEOF
8325 cat confdefs.h >>conftest.$ac_ext
8326 cat >>conftest.$ac_ext <<_ACEOF
8327 /* end confdefs.h. */
8329 /* Override any gcc2 internal prototype to avoid an error. */
8333 /* We use char because int might match the return type of a gcc2
8334 builtin and then its argument prototype would still apply. */
8344 rm -f conftest.$ac_objext conftest$ac_exeext
8345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8346 (eval $ac_link) 2>conftest.er1
8348 grep -v '^ *+' conftest.er1 >conftest.err
8350 cat conftest.err >&5
8351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8352 (exit $ac_status); } &&
8353 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8358 (exit $ac_status); }; } &&
8359 { ac_try='test -s conftest$ac_exeext'
8360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8364 (exit $ac_status); }; }; then
8365 ac_cv_lib_m_asinf=yes
8367 echo "$as_me: failed program was:" >&5
8368 sed 's/^/| /' conftest.$ac_ext >&5
8370 ac_cv_lib_m_asinf=no
8372 rm -f conftest.err conftest.$ac_objext \
8373 conftest$ac_exeext conftest.$ac_ext
8374 LIBS=$ac_check_lib_save_LIBS
8376 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
8377 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
8378 if test $ac_cv_lib_m_asinf = yes; then
8380 cat >>confdefs.h <<\_ACEOF
8381 #define HAVE_ASINF 1
8386 echo "$as_me:$LINENO: checking for asin in -lm" >&5
8387 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
8388 if test "${ac_cv_lib_m_asin+set}" = set; then
8389 echo $ECHO_N "(cached) $ECHO_C" >&6
8391 ac_check_lib_save_LIBS=$LIBS
8393 if test x$gcc_no_link = xyes; then
8394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8396 { (exit 1); exit 1; }; }
8398 cat >conftest.$ac_ext <<_ACEOF
8401 cat confdefs.h >>conftest.$ac_ext
8402 cat >>conftest.$ac_ext <<_ACEOF
8403 /* end confdefs.h. */
8405 /* Override any gcc2 internal prototype to avoid an error. */
8409 /* We use char because int might match the return type of a gcc2
8410 builtin and then its argument prototype would still apply. */
8420 rm -f conftest.$ac_objext conftest$ac_exeext
8421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8422 (eval $ac_link) 2>conftest.er1
8424 grep -v '^ *+' conftest.er1 >conftest.err
8426 cat conftest.err >&5
8427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8428 (exit $ac_status); } &&
8429 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8434 (exit $ac_status); }; } &&
8435 { ac_try='test -s conftest$ac_exeext'
8436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8440 (exit $ac_status); }; }; then
8441 ac_cv_lib_m_asin=yes
8443 echo "$as_me: failed program was:" >&5
8444 sed 's/^/| /' conftest.$ac_ext >&5
8448 rm -f conftest.err conftest.$ac_objext \
8449 conftest$ac_exeext conftest.$ac_ext
8450 LIBS=$ac_check_lib_save_LIBS
8452 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
8453 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
8454 if test $ac_cv_lib_m_asin = yes; then
8456 cat >>confdefs.h <<\_ACEOF
8462 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
8463 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
8464 if test "${ac_cv_lib_m_asinl+set}" = set; then
8465 echo $ECHO_N "(cached) $ECHO_C" >&6
8467 ac_check_lib_save_LIBS=$LIBS
8469 if test x$gcc_no_link = xyes; then
8470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8472 { (exit 1); exit 1; }; }
8474 cat >conftest.$ac_ext <<_ACEOF
8477 cat confdefs.h >>conftest.$ac_ext
8478 cat >>conftest.$ac_ext <<_ACEOF
8479 /* end confdefs.h. */
8481 /* Override any gcc2 internal prototype to avoid an error. */
8485 /* We use char because int might match the return type of a gcc2
8486 builtin and then its argument prototype would still apply. */
8496 rm -f conftest.$ac_objext conftest$ac_exeext
8497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8498 (eval $ac_link) 2>conftest.er1
8500 grep -v '^ *+' conftest.er1 >conftest.err
8502 cat conftest.err >&5
8503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8504 (exit $ac_status); } &&
8505 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8510 (exit $ac_status); }; } &&
8511 { ac_try='test -s conftest$ac_exeext'
8512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8516 (exit $ac_status); }; }; then
8517 ac_cv_lib_m_asinl=yes
8519 echo "$as_me: failed program was:" >&5
8520 sed 's/^/| /' conftest.$ac_ext >&5
8522 ac_cv_lib_m_asinl=no
8524 rm -f conftest.err conftest.$ac_objext \
8525 conftest$ac_exeext conftest.$ac_ext
8526 LIBS=$ac_check_lib_save_LIBS
8528 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
8529 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
8530 if test $ac_cv_lib_m_asinl = yes; then
8532 cat >>confdefs.h <<\_ACEOF
8533 #define HAVE_ASINL 1
8538 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
8539 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
8540 if test "${ac_cv_lib_m_asinhf+set}" = set; then
8541 echo $ECHO_N "(cached) $ECHO_C" >&6
8543 ac_check_lib_save_LIBS=$LIBS
8545 if test x$gcc_no_link = xyes; then
8546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8548 { (exit 1); exit 1; }; }
8550 cat >conftest.$ac_ext <<_ACEOF
8553 cat confdefs.h >>conftest.$ac_ext
8554 cat >>conftest.$ac_ext <<_ACEOF
8555 /* end confdefs.h. */
8557 /* Override any gcc2 internal prototype to avoid an error. */
8561 /* We use char because int might match the return type of a gcc2
8562 builtin and then its argument prototype would still apply. */
8572 rm -f conftest.$ac_objext conftest$ac_exeext
8573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8574 (eval $ac_link) 2>conftest.er1
8576 grep -v '^ *+' conftest.er1 >conftest.err
8578 cat conftest.err >&5
8579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8580 (exit $ac_status); } &&
8581 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586 (exit $ac_status); }; } &&
8587 { ac_try='test -s conftest$ac_exeext'
8588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8592 (exit $ac_status); }; }; then
8593 ac_cv_lib_m_asinhf=yes
8595 echo "$as_me: failed program was:" >&5
8596 sed 's/^/| /' conftest.$ac_ext >&5
8598 ac_cv_lib_m_asinhf=no
8600 rm -f conftest.err conftest.$ac_objext \
8601 conftest$ac_exeext conftest.$ac_ext
8602 LIBS=$ac_check_lib_save_LIBS
8604 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
8605 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
8606 if test $ac_cv_lib_m_asinhf = yes; then
8608 cat >>confdefs.h <<\_ACEOF
8609 #define HAVE_ASINHF 1
8614 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
8615 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
8616 if test "${ac_cv_lib_m_asinh+set}" = set; then
8617 echo $ECHO_N "(cached) $ECHO_C" >&6
8619 ac_check_lib_save_LIBS=$LIBS
8621 if test x$gcc_no_link = xyes; then
8622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8624 { (exit 1); exit 1; }; }
8626 cat >conftest.$ac_ext <<_ACEOF
8629 cat confdefs.h >>conftest.$ac_ext
8630 cat >>conftest.$ac_ext <<_ACEOF
8631 /* end confdefs.h. */
8633 /* Override any gcc2 internal prototype to avoid an error. */
8637 /* We use char because int might match the return type of a gcc2
8638 builtin and then its argument prototype would still apply. */
8648 rm -f conftest.$ac_objext conftest$ac_exeext
8649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8650 (eval $ac_link) 2>conftest.er1
8652 grep -v '^ *+' conftest.er1 >conftest.err
8654 cat conftest.err >&5
8655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8656 (exit $ac_status); } &&
8657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8662 (exit $ac_status); }; } &&
8663 { ac_try='test -s conftest$ac_exeext'
8664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 (exit $ac_status); }; }; then
8669 ac_cv_lib_m_asinh=yes
8671 echo "$as_me: failed program was:" >&5
8672 sed 's/^/| /' conftest.$ac_ext >&5
8674 ac_cv_lib_m_asinh=no
8676 rm -f conftest.err conftest.$ac_objext \
8677 conftest$ac_exeext conftest.$ac_ext
8678 LIBS=$ac_check_lib_save_LIBS
8680 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
8681 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
8682 if test $ac_cv_lib_m_asinh = yes; then
8684 cat >>confdefs.h <<\_ACEOF
8685 #define HAVE_ASINH 1
8690 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
8691 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
8692 if test "${ac_cv_lib_m_asinhl+set}" = set; then
8693 echo $ECHO_N "(cached) $ECHO_C" >&6
8695 ac_check_lib_save_LIBS=$LIBS
8697 if test x$gcc_no_link = xyes; then
8698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8700 { (exit 1); exit 1; }; }
8702 cat >conftest.$ac_ext <<_ACEOF
8705 cat confdefs.h >>conftest.$ac_ext
8706 cat >>conftest.$ac_ext <<_ACEOF
8707 /* end confdefs.h. */
8709 /* Override any gcc2 internal prototype to avoid an error. */
8713 /* We use char because int might match the return type of a gcc2
8714 builtin and then its argument prototype would still apply. */
8724 rm -f conftest.$ac_objext conftest$ac_exeext
8725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8726 (eval $ac_link) 2>conftest.er1
8728 grep -v '^ *+' conftest.er1 >conftest.err
8730 cat conftest.err >&5
8731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8732 (exit $ac_status); } &&
8733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8738 (exit $ac_status); }; } &&
8739 { ac_try='test -s conftest$ac_exeext'
8740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8744 (exit $ac_status); }; }; then
8745 ac_cv_lib_m_asinhl=yes
8747 echo "$as_me: failed program was:" >&5
8748 sed 's/^/| /' conftest.$ac_ext >&5
8750 ac_cv_lib_m_asinhl=no
8752 rm -f conftest.err conftest.$ac_objext \
8753 conftest$ac_exeext conftest.$ac_ext
8754 LIBS=$ac_check_lib_save_LIBS
8756 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
8757 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
8758 if test $ac_cv_lib_m_asinhl = yes; then
8760 cat >>confdefs.h <<\_ACEOF
8761 #define HAVE_ASINHL 1
8766 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
8767 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
8768 if test "${ac_cv_lib_m_atan2f+set}" = set; then
8769 echo $ECHO_N "(cached) $ECHO_C" >&6
8771 ac_check_lib_save_LIBS=$LIBS
8773 if test x$gcc_no_link = xyes; then
8774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8776 { (exit 1); exit 1; }; }
8778 cat >conftest.$ac_ext <<_ACEOF
8781 cat confdefs.h >>conftest.$ac_ext
8782 cat >>conftest.$ac_ext <<_ACEOF
8783 /* end confdefs.h. */
8785 /* Override any gcc2 internal prototype to avoid an error. */
8789 /* We use char because int might match the return type of a gcc2
8790 builtin and then its argument prototype would still apply. */
8800 rm -f conftest.$ac_objext conftest$ac_exeext
8801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8802 (eval $ac_link) 2>conftest.er1
8804 grep -v '^ *+' conftest.er1 >conftest.err
8806 cat conftest.err >&5
8807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8808 (exit $ac_status); } &&
8809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8814 (exit $ac_status); }; } &&
8815 { ac_try='test -s conftest$ac_exeext'
8816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8820 (exit $ac_status); }; }; then
8821 ac_cv_lib_m_atan2f=yes
8823 echo "$as_me: failed program was:" >&5
8824 sed 's/^/| /' conftest.$ac_ext >&5
8826 ac_cv_lib_m_atan2f=no
8828 rm -f conftest.err conftest.$ac_objext \
8829 conftest$ac_exeext conftest.$ac_ext
8830 LIBS=$ac_check_lib_save_LIBS
8832 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
8833 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
8834 if test $ac_cv_lib_m_atan2f = yes; then
8836 cat >>confdefs.h <<\_ACEOF
8837 #define HAVE_ATAN2F 1
8842 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
8843 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
8844 if test "${ac_cv_lib_m_atan2+set}" = set; then
8845 echo $ECHO_N "(cached) $ECHO_C" >&6
8847 ac_check_lib_save_LIBS=$LIBS
8849 if test x$gcc_no_link = xyes; then
8850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8852 { (exit 1); exit 1; }; }
8854 cat >conftest.$ac_ext <<_ACEOF
8857 cat confdefs.h >>conftest.$ac_ext
8858 cat >>conftest.$ac_ext <<_ACEOF
8859 /* end confdefs.h. */
8861 /* Override any gcc2 internal prototype to avoid an error. */
8865 /* We use char because int might match the return type of a gcc2
8866 builtin and then its argument prototype would still apply. */
8876 rm -f conftest.$ac_objext conftest$ac_exeext
8877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8878 (eval $ac_link) 2>conftest.er1
8880 grep -v '^ *+' conftest.er1 >conftest.err
8882 cat conftest.err >&5
8883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8884 (exit $ac_status); } &&
8885 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8890 (exit $ac_status); }; } &&
8891 { ac_try='test -s conftest$ac_exeext'
8892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8896 (exit $ac_status); }; }; then
8897 ac_cv_lib_m_atan2=yes
8899 echo "$as_me: failed program was:" >&5
8900 sed 's/^/| /' conftest.$ac_ext >&5
8902 ac_cv_lib_m_atan2=no
8904 rm -f conftest.err conftest.$ac_objext \
8905 conftest$ac_exeext conftest.$ac_ext
8906 LIBS=$ac_check_lib_save_LIBS
8908 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
8909 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
8910 if test $ac_cv_lib_m_atan2 = yes; then
8912 cat >>confdefs.h <<\_ACEOF
8913 #define HAVE_ATAN2 1
8918 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
8919 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
8920 if test "${ac_cv_lib_m_atan2l+set}" = set; then
8921 echo $ECHO_N "(cached) $ECHO_C" >&6
8923 ac_check_lib_save_LIBS=$LIBS
8925 if test x$gcc_no_link = xyes; then
8926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8928 { (exit 1); exit 1; }; }
8930 cat >conftest.$ac_ext <<_ACEOF
8933 cat confdefs.h >>conftest.$ac_ext
8934 cat >>conftest.$ac_ext <<_ACEOF
8935 /* end confdefs.h. */
8937 /* Override any gcc2 internal prototype to avoid an error. */
8941 /* We use char because int might match the return type of a gcc2
8942 builtin and then its argument prototype would still apply. */
8952 rm -f conftest.$ac_objext conftest$ac_exeext
8953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8954 (eval $ac_link) 2>conftest.er1
8956 grep -v '^ *+' conftest.er1 >conftest.err
8958 cat conftest.err >&5
8959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8960 (exit $ac_status); } &&
8961 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8966 (exit $ac_status); }; } &&
8967 { ac_try='test -s conftest$ac_exeext'
8968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 (exit $ac_status); }; }; then
8973 ac_cv_lib_m_atan2l=yes
8975 echo "$as_me: failed program was:" >&5
8976 sed 's/^/| /' conftest.$ac_ext >&5
8978 ac_cv_lib_m_atan2l=no
8980 rm -f conftest.err conftest.$ac_objext \
8981 conftest$ac_exeext conftest.$ac_ext
8982 LIBS=$ac_check_lib_save_LIBS
8984 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
8985 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
8986 if test $ac_cv_lib_m_atan2l = yes; then
8988 cat >>confdefs.h <<\_ACEOF
8989 #define HAVE_ATAN2L 1
8994 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
8995 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
8996 if test "${ac_cv_lib_m_atanf+set}" = set; then
8997 echo $ECHO_N "(cached) $ECHO_C" >&6
8999 ac_check_lib_save_LIBS=$LIBS
9001 if test x$gcc_no_link = xyes; then
9002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9004 { (exit 1); exit 1; }; }
9006 cat >conftest.$ac_ext <<_ACEOF
9009 cat confdefs.h >>conftest.$ac_ext
9010 cat >>conftest.$ac_ext <<_ACEOF
9011 /* end confdefs.h. */
9013 /* Override any gcc2 internal prototype to avoid an error. */
9017 /* We use char because int might match the return type of a gcc2
9018 builtin and then its argument prototype would still apply. */
9028 rm -f conftest.$ac_objext conftest$ac_exeext
9029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9030 (eval $ac_link) 2>conftest.er1
9032 grep -v '^ *+' conftest.er1 >conftest.err
9034 cat conftest.err >&5
9035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9036 (exit $ac_status); } &&
9037 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9042 (exit $ac_status); }; } &&
9043 { ac_try='test -s conftest$ac_exeext'
9044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9048 (exit $ac_status); }; }; then
9049 ac_cv_lib_m_atanf=yes
9051 echo "$as_me: failed program was:" >&5
9052 sed 's/^/| /' conftest.$ac_ext >&5
9054 ac_cv_lib_m_atanf=no
9056 rm -f conftest.err conftest.$ac_objext \
9057 conftest$ac_exeext conftest.$ac_ext
9058 LIBS=$ac_check_lib_save_LIBS
9060 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
9061 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
9062 if test $ac_cv_lib_m_atanf = yes; then
9064 cat >>confdefs.h <<\_ACEOF
9065 #define HAVE_ATANF 1
9070 echo "$as_me:$LINENO: checking for atan in -lm" >&5
9071 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
9072 if test "${ac_cv_lib_m_atan+set}" = set; then
9073 echo $ECHO_N "(cached) $ECHO_C" >&6
9075 ac_check_lib_save_LIBS=$LIBS
9077 if test x$gcc_no_link = xyes; then
9078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9080 { (exit 1); exit 1; }; }
9082 cat >conftest.$ac_ext <<_ACEOF
9085 cat confdefs.h >>conftest.$ac_ext
9086 cat >>conftest.$ac_ext <<_ACEOF
9087 /* end confdefs.h. */
9089 /* Override any gcc2 internal prototype to avoid an error. */
9093 /* We use char because int might match the return type of a gcc2
9094 builtin and then its argument prototype would still apply. */
9104 rm -f conftest.$ac_objext conftest$ac_exeext
9105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9106 (eval $ac_link) 2>conftest.er1
9108 grep -v '^ *+' conftest.er1 >conftest.err
9110 cat conftest.err >&5
9111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9112 (exit $ac_status); } &&
9113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9118 (exit $ac_status); }; } &&
9119 { ac_try='test -s conftest$ac_exeext'
9120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9124 (exit $ac_status); }; }; then
9125 ac_cv_lib_m_atan=yes
9127 echo "$as_me: failed program was:" >&5
9128 sed 's/^/| /' conftest.$ac_ext >&5
9132 rm -f conftest.err conftest.$ac_objext \
9133 conftest$ac_exeext conftest.$ac_ext
9134 LIBS=$ac_check_lib_save_LIBS
9136 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
9137 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
9138 if test $ac_cv_lib_m_atan = yes; then
9140 cat >>confdefs.h <<\_ACEOF
9146 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
9147 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
9148 if test "${ac_cv_lib_m_atanl+set}" = set; then
9149 echo $ECHO_N "(cached) $ECHO_C" >&6
9151 ac_check_lib_save_LIBS=$LIBS
9153 if test x$gcc_no_link = xyes; then
9154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9156 { (exit 1); exit 1; }; }
9158 cat >conftest.$ac_ext <<_ACEOF
9161 cat confdefs.h >>conftest.$ac_ext
9162 cat >>conftest.$ac_ext <<_ACEOF
9163 /* end confdefs.h. */
9165 /* Override any gcc2 internal prototype to avoid an error. */
9169 /* We use char because int might match the return type of a gcc2
9170 builtin and then its argument prototype would still apply. */
9180 rm -f conftest.$ac_objext conftest$ac_exeext
9181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9182 (eval $ac_link) 2>conftest.er1
9184 grep -v '^ *+' conftest.er1 >conftest.err
9186 cat conftest.err >&5
9187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9188 (exit $ac_status); } &&
9189 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9194 (exit $ac_status); }; } &&
9195 { ac_try='test -s conftest$ac_exeext'
9196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9200 (exit $ac_status); }; }; then
9201 ac_cv_lib_m_atanl=yes
9203 echo "$as_me: failed program was:" >&5
9204 sed 's/^/| /' conftest.$ac_ext >&5
9206 ac_cv_lib_m_atanl=no
9208 rm -f conftest.err conftest.$ac_objext \
9209 conftest$ac_exeext conftest.$ac_ext
9210 LIBS=$ac_check_lib_save_LIBS
9212 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
9213 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
9214 if test $ac_cv_lib_m_atanl = yes; then
9216 cat >>confdefs.h <<\_ACEOF
9217 #define HAVE_ATANL 1
9222 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
9223 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
9224 if test "${ac_cv_lib_m_atanhf+set}" = set; then
9225 echo $ECHO_N "(cached) $ECHO_C" >&6
9227 ac_check_lib_save_LIBS=$LIBS
9229 if test x$gcc_no_link = xyes; then
9230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9232 { (exit 1); exit 1; }; }
9234 cat >conftest.$ac_ext <<_ACEOF
9237 cat confdefs.h >>conftest.$ac_ext
9238 cat >>conftest.$ac_ext <<_ACEOF
9239 /* end confdefs.h. */
9241 /* Override any gcc2 internal prototype to avoid an error. */
9245 /* We use char because int might match the return type of a gcc2
9246 builtin and then its argument prototype would still apply. */
9256 rm -f conftest.$ac_objext conftest$ac_exeext
9257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9258 (eval $ac_link) 2>conftest.er1
9260 grep -v '^ *+' conftest.er1 >conftest.err
9262 cat conftest.err >&5
9263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9264 (exit $ac_status); } &&
9265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9270 (exit $ac_status); }; } &&
9271 { ac_try='test -s conftest$ac_exeext'
9272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9276 (exit $ac_status); }; }; then
9277 ac_cv_lib_m_atanhf=yes
9279 echo "$as_me: failed program was:" >&5
9280 sed 's/^/| /' conftest.$ac_ext >&5
9282 ac_cv_lib_m_atanhf=no
9284 rm -f conftest.err conftest.$ac_objext \
9285 conftest$ac_exeext conftest.$ac_ext
9286 LIBS=$ac_check_lib_save_LIBS
9288 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
9289 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
9290 if test $ac_cv_lib_m_atanhf = yes; then
9292 cat >>confdefs.h <<\_ACEOF
9293 #define HAVE_ATANHF 1
9298 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
9299 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
9300 if test "${ac_cv_lib_m_atanh+set}" = set; then
9301 echo $ECHO_N "(cached) $ECHO_C" >&6
9303 ac_check_lib_save_LIBS=$LIBS
9305 if test x$gcc_no_link = xyes; then
9306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9308 { (exit 1); exit 1; }; }
9310 cat >conftest.$ac_ext <<_ACEOF
9313 cat confdefs.h >>conftest.$ac_ext
9314 cat >>conftest.$ac_ext <<_ACEOF
9315 /* end confdefs.h. */
9317 /* Override any gcc2 internal prototype to avoid an error. */
9321 /* We use char because int might match the return type of a gcc2
9322 builtin and then its argument prototype would still apply. */
9332 rm -f conftest.$ac_objext conftest$ac_exeext
9333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9334 (eval $ac_link) 2>conftest.er1
9336 grep -v '^ *+' conftest.er1 >conftest.err
9338 cat conftest.err >&5
9339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9340 (exit $ac_status); } &&
9341 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9346 (exit $ac_status); }; } &&
9347 { ac_try='test -s conftest$ac_exeext'
9348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9352 (exit $ac_status); }; }; then
9353 ac_cv_lib_m_atanh=yes
9355 echo "$as_me: failed program was:" >&5
9356 sed 's/^/| /' conftest.$ac_ext >&5
9358 ac_cv_lib_m_atanh=no
9360 rm -f conftest.err conftest.$ac_objext \
9361 conftest$ac_exeext conftest.$ac_ext
9362 LIBS=$ac_check_lib_save_LIBS
9364 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
9365 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
9366 if test $ac_cv_lib_m_atanh = yes; then
9368 cat >>confdefs.h <<\_ACEOF
9369 #define HAVE_ATANH 1
9374 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
9375 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
9376 if test "${ac_cv_lib_m_atanhl+set}" = set; then
9377 echo $ECHO_N "(cached) $ECHO_C" >&6
9379 ac_check_lib_save_LIBS=$LIBS
9381 if test x$gcc_no_link = xyes; then
9382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9384 { (exit 1); exit 1; }; }
9386 cat >conftest.$ac_ext <<_ACEOF
9389 cat confdefs.h >>conftest.$ac_ext
9390 cat >>conftest.$ac_ext <<_ACEOF
9391 /* end confdefs.h. */
9393 /* Override any gcc2 internal prototype to avoid an error. */
9397 /* We use char because int might match the return type of a gcc2
9398 builtin and then its argument prototype would still apply. */
9408 rm -f conftest.$ac_objext conftest$ac_exeext
9409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9410 (eval $ac_link) 2>conftest.er1
9412 grep -v '^ *+' conftest.er1 >conftest.err
9414 cat conftest.err >&5
9415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9416 (exit $ac_status); } &&
9417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9422 (exit $ac_status); }; } &&
9423 { ac_try='test -s conftest$ac_exeext'
9424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9428 (exit $ac_status); }; }; then
9429 ac_cv_lib_m_atanhl=yes
9431 echo "$as_me: failed program was:" >&5
9432 sed 's/^/| /' conftest.$ac_ext >&5
9434 ac_cv_lib_m_atanhl=no
9436 rm -f conftest.err conftest.$ac_objext \
9437 conftest$ac_exeext conftest.$ac_ext
9438 LIBS=$ac_check_lib_save_LIBS
9440 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
9441 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
9442 if test $ac_cv_lib_m_atanhl = yes; then
9444 cat >>confdefs.h <<\_ACEOF
9445 #define HAVE_ATANHL 1
9450 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
9451 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
9452 if test "${ac_cv_lib_m_cargf+set}" = set; then
9453 echo $ECHO_N "(cached) $ECHO_C" >&6
9455 ac_check_lib_save_LIBS=$LIBS
9457 if test x$gcc_no_link = xyes; then
9458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9460 { (exit 1); exit 1; }; }
9462 cat >conftest.$ac_ext <<_ACEOF
9465 cat confdefs.h >>conftest.$ac_ext
9466 cat >>conftest.$ac_ext <<_ACEOF
9467 /* end confdefs.h. */
9469 /* Override any gcc2 internal prototype to avoid an error. */
9473 /* We use char because int might match the return type of a gcc2
9474 builtin and then its argument prototype would still apply. */
9484 rm -f conftest.$ac_objext conftest$ac_exeext
9485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9486 (eval $ac_link) 2>conftest.er1
9488 grep -v '^ *+' conftest.er1 >conftest.err
9490 cat conftest.err >&5
9491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9492 (exit $ac_status); } &&
9493 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9498 (exit $ac_status); }; } &&
9499 { ac_try='test -s conftest$ac_exeext'
9500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9504 (exit $ac_status); }; }; then
9505 ac_cv_lib_m_cargf=yes
9507 echo "$as_me: failed program was:" >&5
9508 sed 's/^/| /' conftest.$ac_ext >&5
9510 ac_cv_lib_m_cargf=no
9512 rm -f conftest.err conftest.$ac_objext \
9513 conftest$ac_exeext conftest.$ac_ext
9514 LIBS=$ac_check_lib_save_LIBS
9516 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
9517 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
9518 if test $ac_cv_lib_m_cargf = yes; then
9520 cat >>confdefs.h <<\_ACEOF
9521 #define HAVE_CARGF 1
9526 echo "$as_me:$LINENO: checking for carg in -lm" >&5
9527 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
9528 if test "${ac_cv_lib_m_carg+set}" = set; then
9529 echo $ECHO_N "(cached) $ECHO_C" >&6
9531 ac_check_lib_save_LIBS=$LIBS
9533 if test x$gcc_no_link = xyes; then
9534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9536 { (exit 1); exit 1; }; }
9538 cat >conftest.$ac_ext <<_ACEOF
9541 cat confdefs.h >>conftest.$ac_ext
9542 cat >>conftest.$ac_ext <<_ACEOF
9543 /* end confdefs.h. */
9545 /* Override any gcc2 internal prototype to avoid an error. */
9549 /* We use char because int might match the return type of a gcc2
9550 builtin and then its argument prototype would still apply. */
9560 rm -f conftest.$ac_objext conftest$ac_exeext
9561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9562 (eval $ac_link) 2>conftest.er1
9564 grep -v '^ *+' conftest.er1 >conftest.err
9566 cat conftest.err >&5
9567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9568 (exit $ac_status); } &&
9569 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9574 (exit $ac_status); }; } &&
9575 { ac_try='test -s conftest$ac_exeext'
9576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9580 (exit $ac_status); }; }; then
9581 ac_cv_lib_m_carg=yes
9583 echo "$as_me: failed program was:" >&5
9584 sed 's/^/| /' conftest.$ac_ext >&5
9588 rm -f conftest.err conftest.$ac_objext \
9589 conftest$ac_exeext conftest.$ac_ext
9590 LIBS=$ac_check_lib_save_LIBS
9592 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
9593 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
9594 if test $ac_cv_lib_m_carg = yes; then
9596 cat >>confdefs.h <<\_ACEOF
9602 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
9603 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
9604 if test "${ac_cv_lib_m_cargl+set}" = set; then
9605 echo $ECHO_N "(cached) $ECHO_C" >&6
9607 ac_check_lib_save_LIBS=$LIBS
9609 if test x$gcc_no_link = xyes; then
9610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9612 { (exit 1); exit 1; }; }
9614 cat >conftest.$ac_ext <<_ACEOF
9617 cat confdefs.h >>conftest.$ac_ext
9618 cat >>conftest.$ac_ext <<_ACEOF
9619 /* end confdefs.h. */
9621 /* Override any gcc2 internal prototype to avoid an error. */
9625 /* We use char because int might match the return type of a gcc2
9626 builtin and then its argument prototype would still apply. */
9636 rm -f conftest.$ac_objext conftest$ac_exeext
9637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9638 (eval $ac_link) 2>conftest.er1
9640 grep -v '^ *+' conftest.er1 >conftest.err
9642 cat conftest.err >&5
9643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9644 (exit $ac_status); } &&
9645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9650 (exit $ac_status); }; } &&
9651 { ac_try='test -s conftest$ac_exeext'
9652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9656 (exit $ac_status); }; }; then
9657 ac_cv_lib_m_cargl=yes
9659 echo "$as_me: failed program was:" >&5
9660 sed 's/^/| /' conftest.$ac_ext >&5
9662 ac_cv_lib_m_cargl=no
9664 rm -f conftest.err conftest.$ac_objext \
9665 conftest$ac_exeext conftest.$ac_ext
9666 LIBS=$ac_check_lib_save_LIBS
9668 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
9669 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
9670 if test $ac_cv_lib_m_cargl = yes; then
9672 cat >>confdefs.h <<\_ACEOF
9673 #define HAVE_CARGL 1
9678 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
9679 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
9680 if test "${ac_cv_lib_m_ceilf+set}" = set; then
9681 echo $ECHO_N "(cached) $ECHO_C" >&6
9683 ac_check_lib_save_LIBS=$LIBS
9685 if test x$gcc_no_link = xyes; then
9686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9688 { (exit 1); exit 1; }; }
9690 cat >conftest.$ac_ext <<_ACEOF
9693 cat confdefs.h >>conftest.$ac_ext
9694 cat >>conftest.$ac_ext <<_ACEOF
9695 /* end confdefs.h. */
9697 /* Override any gcc2 internal prototype to avoid an error. */
9701 /* We use char because int might match the return type of a gcc2
9702 builtin and then its argument prototype would still apply. */
9712 rm -f conftest.$ac_objext conftest$ac_exeext
9713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9714 (eval $ac_link) 2>conftest.er1
9716 grep -v '^ *+' conftest.er1 >conftest.err
9718 cat conftest.err >&5
9719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9720 (exit $ac_status); } &&
9721 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9726 (exit $ac_status); }; } &&
9727 { ac_try='test -s conftest$ac_exeext'
9728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9732 (exit $ac_status); }; }; then
9733 ac_cv_lib_m_ceilf=yes
9735 echo "$as_me: failed program was:" >&5
9736 sed 's/^/| /' conftest.$ac_ext >&5
9738 ac_cv_lib_m_ceilf=no
9740 rm -f conftest.err conftest.$ac_objext \
9741 conftest$ac_exeext conftest.$ac_ext
9742 LIBS=$ac_check_lib_save_LIBS
9744 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
9745 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
9746 if test $ac_cv_lib_m_ceilf = yes; then
9748 cat >>confdefs.h <<\_ACEOF
9749 #define HAVE_CEILF 1
9754 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
9755 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
9756 if test "${ac_cv_lib_m_ceil+set}" = set; then
9757 echo $ECHO_N "(cached) $ECHO_C" >&6
9759 ac_check_lib_save_LIBS=$LIBS
9761 if test x$gcc_no_link = xyes; then
9762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9764 { (exit 1); exit 1; }; }
9766 cat >conftest.$ac_ext <<_ACEOF
9769 cat confdefs.h >>conftest.$ac_ext
9770 cat >>conftest.$ac_ext <<_ACEOF
9771 /* end confdefs.h. */
9773 /* Override any gcc2 internal prototype to avoid an error. */
9777 /* We use char because int might match the return type of a gcc2
9778 builtin and then its argument prototype would still apply. */
9788 rm -f conftest.$ac_objext conftest$ac_exeext
9789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9790 (eval $ac_link) 2>conftest.er1
9792 grep -v '^ *+' conftest.er1 >conftest.err
9794 cat conftest.err >&5
9795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9796 (exit $ac_status); } &&
9797 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9802 (exit $ac_status); }; } &&
9803 { ac_try='test -s conftest$ac_exeext'
9804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9808 (exit $ac_status); }; }; then
9809 ac_cv_lib_m_ceil=yes
9811 echo "$as_me: failed program was:" >&5
9812 sed 's/^/| /' conftest.$ac_ext >&5
9816 rm -f conftest.err conftest.$ac_objext \
9817 conftest$ac_exeext conftest.$ac_ext
9818 LIBS=$ac_check_lib_save_LIBS
9820 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
9821 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
9822 if test $ac_cv_lib_m_ceil = yes; then
9824 cat >>confdefs.h <<\_ACEOF
9830 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
9831 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
9832 if test "${ac_cv_lib_m_ceill+set}" = set; then
9833 echo $ECHO_N "(cached) $ECHO_C" >&6
9835 ac_check_lib_save_LIBS=$LIBS
9837 if test x$gcc_no_link = xyes; then
9838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9840 { (exit 1); exit 1; }; }
9842 cat >conftest.$ac_ext <<_ACEOF
9845 cat confdefs.h >>conftest.$ac_ext
9846 cat >>conftest.$ac_ext <<_ACEOF
9847 /* end confdefs.h. */
9849 /* Override any gcc2 internal prototype to avoid an error. */
9853 /* We use char because int might match the return type of a gcc2
9854 builtin and then its argument prototype would still apply. */
9864 rm -f conftest.$ac_objext conftest$ac_exeext
9865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9866 (eval $ac_link) 2>conftest.er1
9868 grep -v '^ *+' conftest.er1 >conftest.err
9870 cat conftest.err >&5
9871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9872 (exit $ac_status); } &&
9873 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9878 (exit $ac_status); }; } &&
9879 { ac_try='test -s conftest$ac_exeext'
9880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9884 (exit $ac_status); }; }; then
9885 ac_cv_lib_m_ceill=yes
9887 echo "$as_me: failed program was:" >&5
9888 sed 's/^/| /' conftest.$ac_ext >&5
9890 ac_cv_lib_m_ceill=no
9892 rm -f conftest.err conftest.$ac_objext \
9893 conftest$ac_exeext conftest.$ac_ext
9894 LIBS=$ac_check_lib_save_LIBS
9896 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
9897 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
9898 if test $ac_cv_lib_m_ceill = yes; then
9900 cat >>confdefs.h <<\_ACEOF
9901 #define HAVE_CEILL 1
9906 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
9907 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
9908 if test "${ac_cv_lib_m_copysignf+set}" = set; then
9909 echo $ECHO_N "(cached) $ECHO_C" >&6
9911 ac_check_lib_save_LIBS=$LIBS
9913 if test x$gcc_no_link = xyes; then
9914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9916 { (exit 1); exit 1; }; }
9918 cat >conftest.$ac_ext <<_ACEOF
9921 cat confdefs.h >>conftest.$ac_ext
9922 cat >>conftest.$ac_ext <<_ACEOF
9923 /* end confdefs.h. */
9925 /* Override any gcc2 internal prototype to avoid an error. */
9929 /* We use char because int might match the return type of a gcc2
9930 builtin and then its argument prototype would still apply. */
9940 rm -f conftest.$ac_objext conftest$ac_exeext
9941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9942 (eval $ac_link) 2>conftest.er1
9944 grep -v '^ *+' conftest.er1 >conftest.err
9946 cat conftest.err >&5
9947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9948 (exit $ac_status); } &&
9949 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9954 (exit $ac_status); }; } &&
9955 { ac_try='test -s conftest$ac_exeext'
9956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9960 (exit $ac_status); }; }; then
9961 ac_cv_lib_m_copysignf=yes
9963 echo "$as_me: failed program was:" >&5
9964 sed 's/^/| /' conftest.$ac_ext >&5
9966 ac_cv_lib_m_copysignf=no
9968 rm -f conftest.err conftest.$ac_objext \
9969 conftest$ac_exeext conftest.$ac_ext
9970 LIBS=$ac_check_lib_save_LIBS
9972 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
9973 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
9974 if test $ac_cv_lib_m_copysignf = yes; then
9976 cat >>confdefs.h <<\_ACEOF
9977 #define HAVE_COPYSIGNF 1
9982 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
9983 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
9984 if test "${ac_cv_lib_m_copysign+set}" = set; then
9985 echo $ECHO_N "(cached) $ECHO_C" >&6
9987 ac_check_lib_save_LIBS=$LIBS
9989 if test x$gcc_no_link = xyes; then
9990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9992 { (exit 1); exit 1; }; }
9994 cat >conftest.$ac_ext <<_ACEOF
9997 cat confdefs.h >>conftest.$ac_ext
9998 cat >>conftest.$ac_ext <<_ACEOF
9999 /* end confdefs.h. */
10001 /* Override any gcc2 internal prototype to avoid an error. */
10005 /* We use char because int might match the return type of a gcc2
10006 builtin and then its argument prototype would still apply. */
10016 rm -f conftest.$ac_objext conftest$ac_exeext
10017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10018 (eval $ac_link) 2>conftest.er1
10020 grep -v '^ *+' conftest.er1 >conftest.err
10022 cat conftest.err >&5
10023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10024 (exit $ac_status); } &&
10025 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10027 (eval $ac_try) 2>&5
10029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10030 (exit $ac_status); }; } &&
10031 { ac_try='test -s conftest$ac_exeext'
10032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10033 (eval $ac_try) 2>&5
10035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10036 (exit $ac_status); }; }; then
10037 ac_cv_lib_m_copysign=yes
10039 echo "$as_me: failed program was:" >&5
10040 sed 's/^/| /' conftest.$ac_ext >&5
10042 ac_cv_lib_m_copysign=no
10044 rm -f conftest.err conftest.$ac_objext \
10045 conftest$ac_exeext conftest.$ac_ext
10046 LIBS=$ac_check_lib_save_LIBS
10048 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
10049 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
10050 if test $ac_cv_lib_m_copysign = yes; then
10052 cat >>confdefs.h <<\_ACEOF
10053 #define HAVE_COPYSIGN 1
10058 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
10059 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
10060 if test "${ac_cv_lib_m_copysignl+set}" = set; then
10061 echo $ECHO_N "(cached) $ECHO_C" >&6
10063 ac_check_lib_save_LIBS=$LIBS
10065 if test x$gcc_no_link = xyes; then
10066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10068 { (exit 1); exit 1; }; }
10070 cat >conftest.$ac_ext <<_ACEOF
10073 cat confdefs.h >>conftest.$ac_ext
10074 cat >>conftest.$ac_ext <<_ACEOF
10075 /* end confdefs.h. */
10077 /* Override any gcc2 internal prototype to avoid an error. */
10081 /* We use char because int might match the return type of a gcc2
10082 builtin and then its argument prototype would still apply. */
10092 rm -f conftest.$ac_objext conftest$ac_exeext
10093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10094 (eval $ac_link) 2>conftest.er1
10096 grep -v '^ *+' conftest.er1 >conftest.err
10098 cat conftest.err >&5
10099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100 (exit $ac_status); } &&
10101 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10103 (eval $ac_try) 2>&5
10105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10106 (exit $ac_status); }; } &&
10107 { ac_try='test -s conftest$ac_exeext'
10108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10109 (eval $ac_try) 2>&5
10111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112 (exit $ac_status); }; }; then
10113 ac_cv_lib_m_copysignl=yes
10115 echo "$as_me: failed program was:" >&5
10116 sed 's/^/| /' conftest.$ac_ext >&5
10118 ac_cv_lib_m_copysignl=no
10120 rm -f conftest.err conftest.$ac_objext \
10121 conftest$ac_exeext conftest.$ac_ext
10122 LIBS=$ac_check_lib_save_LIBS
10124 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
10125 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
10126 if test $ac_cv_lib_m_copysignl = yes; then
10128 cat >>confdefs.h <<\_ACEOF
10129 #define HAVE_COPYSIGNL 1
10134 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
10135 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
10136 if test "${ac_cv_lib_m_cosf+set}" = set; then
10137 echo $ECHO_N "(cached) $ECHO_C" >&6
10139 ac_check_lib_save_LIBS=$LIBS
10141 if test x$gcc_no_link = xyes; then
10142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10144 { (exit 1); exit 1; }; }
10146 cat >conftest.$ac_ext <<_ACEOF
10149 cat confdefs.h >>conftest.$ac_ext
10150 cat >>conftest.$ac_ext <<_ACEOF
10151 /* end confdefs.h. */
10153 /* Override any gcc2 internal prototype to avoid an error. */
10157 /* We use char because int might match the return type of a gcc2
10158 builtin and then its argument prototype would still apply. */
10168 rm -f conftest.$ac_objext conftest$ac_exeext
10169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10170 (eval $ac_link) 2>conftest.er1
10172 grep -v '^ *+' conftest.er1 >conftest.err
10174 cat conftest.err >&5
10175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10176 (exit $ac_status); } &&
10177 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10179 (eval $ac_try) 2>&5
10181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10182 (exit $ac_status); }; } &&
10183 { ac_try='test -s conftest$ac_exeext'
10184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10185 (eval $ac_try) 2>&5
10187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10188 (exit $ac_status); }; }; then
10189 ac_cv_lib_m_cosf=yes
10191 echo "$as_me: failed program was:" >&5
10192 sed 's/^/| /' conftest.$ac_ext >&5
10194 ac_cv_lib_m_cosf=no
10196 rm -f conftest.err conftest.$ac_objext \
10197 conftest$ac_exeext conftest.$ac_ext
10198 LIBS=$ac_check_lib_save_LIBS
10200 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
10201 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
10202 if test $ac_cv_lib_m_cosf = yes; then
10204 cat >>confdefs.h <<\_ACEOF
10205 #define HAVE_COSF 1
10210 echo "$as_me:$LINENO: checking for cos in -lm" >&5
10211 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
10212 if test "${ac_cv_lib_m_cos+set}" = set; then
10213 echo $ECHO_N "(cached) $ECHO_C" >&6
10215 ac_check_lib_save_LIBS=$LIBS
10217 if test x$gcc_no_link = xyes; then
10218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10220 { (exit 1); exit 1; }; }
10222 cat >conftest.$ac_ext <<_ACEOF
10225 cat confdefs.h >>conftest.$ac_ext
10226 cat >>conftest.$ac_ext <<_ACEOF
10227 /* end confdefs.h. */
10229 /* Override any gcc2 internal prototype to avoid an error. */
10233 /* We use char because int might match the return type of a gcc2
10234 builtin and then its argument prototype would still apply. */
10244 rm -f conftest.$ac_objext conftest$ac_exeext
10245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10246 (eval $ac_link) 2>conftest.er1
10248 grep -v '^ *+' conftest.er1 >conftest.err
10250 cat conftest.err >&5
10251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10252 (exit $ac_status); } &&
10253 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10255 (eval $ac_try) 2>&5
10257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10258 (exit $ac_status); }; } &&
10259 { ac_try='test -s conftest$ac_exeext'
10260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10261 (eval $ac_try) 2>&5
10263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10264 (exit $ac_status); }; }; then
10265 ac_cv_lib_m_cos=yes
10267 echo "$as_me: failed program was:" >&5
10268 sed 's/^/| /' conftest.$ac_ext >&5
10272 rm -f conftest.err conftest.$ac_objext \
10273 conftest$ac_exeext conftest.$ac_ext
10274 LIBS=$ac_check_lib_save_LIBS
10276 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
10277 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
10278 if test $ac_cv_lib_m_cos = yes; then
10280 cat >>confdefs.h <<\_ACEOF
10286 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
10287 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
10288 if test "${ac_cv_lib_m_cosl+set}" = set; then
10289 echo $ECHO_N "(cached) $ECHO_C" >&6
10291 ac_check_lib_save_LIBS=$LIBS
10293 if test x$gcc_no_link = xyes; then
10294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10296 { (exit 1); exit 1; }; }
10298 cat >conftest.$ac_ext <<_ACEOF
10301 cat confdefs.h >>conftest.$ac_ext
10302 cat >>conftest.$ac_ext <<_ACEOF
10303 /* end confdefs.h. */
10305 /* Override any gcc2 internal prototype to avoid an error. */
10309 /* We use char because int might match the return type of a gcc2
10310 builtin and then its argument prototype would still apply. */
10320 rm -f conftest.$ac_objext conftest$ac_exeext
10321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10322 (eval $ac_link) 2>conftest.er1
10324 grep -v '^ *+' conftest.er1 >conftest.err
10326 cat conftest.err >&5
10327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10328 (exit $ac_status); } &&
10329 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
10335 { ac_try='test -s conftest$ac_exeext'
10336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10337 (eval $ac_try) 2>&5
10339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340 (exit $ac_status); }; }; then
10341 ac_cv_lib_m_cosl=yes
10343 echo "$as_me: failed program was:" >&5
10344 sed 's/^/| /' conftest.$ac_ext >&5
10346 ac_cv_lib_m_cosl=no
10348 rm -f conftest.err conftest.$ac_objext \
10349 conftest$ac_exeext conftest.$ac_ext
10350 LIBS=$ac_check_lib_save_LIBS
10352 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
10353 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
10354 if test $ac_cv_lib_m_cosl = yes; then
10356 cat >>confdefs.h <<\_ACEOF
10357 #define HAVE_COSL 1
10362 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
10363 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
10364 if test "${ac_cv_lib_m_ccosf+set}" = set; then
10365 echo $ECHO_N "(cached) $ECHO_C" >&6
10367 ac_check_lib_save_LIBS=$LIBS
10369 if test x$gcc_no_link = xyes; then
10370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10372 { (exit 1); exit 1; }; }
10374 cat >conftest.$ac_ext <<_ACEOF
10377 cat confdefs.h >>conftest.$ac_ext
10378 cat >>conftest.$ac_ext <<_ACEOF
10379 /* end confdefs.h. */
10381 /* Override any gcc2 internal prototype to avoid an error. */
10385 /* We use char because int might match the return type of a gcc2
10386 builtin and then its argument prototype would still apply. */
10396 rm -f conftest.$ac_objext conftest$ac_exeext
10397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10398 (eval $ac_link) 2>conftest.er1
10400 grep -v '^ *+' conftest.er1 >conftest.err
10402 cat conftest.err >&5
10403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10404 (exit $ac_status); } &&
10405 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10407 (eval $ac_try) 2>&5
10409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410 (exit $ac_status); }; } &&
10411 { ac_try='test -s conftest$ac_exeext'
10412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10413 (eval $ac_try) 2>&5
10415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10416 (exit $ac_status); }; }; then
10417 ac_cv_lib_m_ccosf=yes
10419 echo "$as_me: failed program was:" >&5
10420 sed 's/^/| /' conftest.$ac_ext >&5
10422 ac_cv_lib_m_ccosf=no
10424 rm -f conftest.err conftest.$ac_objext \
10425 conftest$ac_exeext conftest.$ac_ext
10426 LIBS=$ac_check_lib_save_LIBS
10428 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
10429 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
10430 if test $ac_cv_lib_m_ccosf = yes; then
10432 cat >>confdefs.h <<\_ACEOF
10433 #define HAVE_CCOSF 1
10438 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
10439 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
10440 if test "${ac_cv_lib_m_ccos+set}" = set; then
10441 echo $ECHO_N "(cached) $ECHO_C" >&6
10443 ac_check_lib_save_LIBS=$LIBS
10445 if test x$gcc_no_link = xyes; then
10446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10448 { (exit 1); exit 1; }; }
10450 cat >conftest.$ac_ext <<_ACEOF
10453 cat confdefs.h >>conftest.$ac_ext
10454 cat >>conftest.$ac_ext <<_ACEOF
10455 /* end confdefs.h. */
10457 /* Override any gcc2 internal prototype to avoid an error. */
10461 /* We use char because int might match the return type of a gcc2
10462 builtin and then its argument prototype would still apply. */
10472 rm -f conftest.$ac_objext conftest$ac_exeext
10473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10474 (eval $ac_link) 2>conftest.er1
10476 grep -v '^ *+' conftest.er1 >conftest.err
10478 cat conftest.err >&5
10479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10480 (exit $ac_status); } &&
10481 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10483 (eval $ac_try) 2>&5
10485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10486 (exit $ac_status); }; } &&
10487 { ac_try='test -s conftest$ac_exeext'
10488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10489 (eval $ac_try) 2>&5
10491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10492 (exit $ac_status); }; }; then
10493 ac_cv_lib_m_ccos=yes
10495 echo "$as_me: failed program was:" >&5
10496 sed 's/^/| /' conftest.$ac_ext >&5
10498 ac_cv_lib_m_ccos=no
10500 rm -f conftest.err conftest.$ac_objext \
10501 conftest$ac_exeext conftest.$ac_ext
10502 LIBS=$ac_check_lib_save_LIBS
10504 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
10505 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
10506 if test $ac_cv_lib_m_ccos = yes; then
10508 cat >>confdefs.h <<\_ACEOF
10509 #define HAVE_CCOS 1
10514 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
10515 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
10516 if test "${ac_cv_lib_m_ccosl+set}" = set; then
10517 echo $ECHO_N "(cached) $ECHO_C" >&6
10519 ac_check_lib_save_LIBS=$LIBS
10521 if test x$gcc_no_link = xyes; then
10522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10524 { (exit 1); exit 1; }; }
10526 cat >conftest.$ac_ext <<_ACEOF
10529 cat confdefs.h >>conftest.$ac_ext
10530 cat >>conftest.$ac_ext <<_ACEOF
10531 /* end confdefs.h. */
10533 /* Override any gcc2 internal prototype to avoid an error. */
10537 /* We use char because int might match the return type of a gcc2
10538 builtin and then its argument prototype would still apply. */
10548 rm -f conftest.$ac_objext conftest$ac_exeext
10549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10550 (eval $ac_link) 2>conftest.er1
10552 grep -v '^ *+' conftest.er1 >conftest.err
10554 cat conftest.err >&5
10555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10556 (exit $ac_status); } &&
10557 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10559 (eval $ac_try) 2>&5
10561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562 (exit $ac_status); }; } &&
10563 { ac_try='test -s conftest$ac_exeext'
10564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10565 (eval $ac_try) 2>&5
10567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10568 (exit $ac_status); }; }; then
10569 ac_cv_lib_m_ccosl=yes
10571 echo "$as_me: failed program was:" >&5
10572 sed 's/^/| /' conftest.$ac_ext >&5
10574 ac_cv_lib_m_ccosl=no
10576 rm -f conftest.err conftest.$ac_objext \
10577 conftest$ac_exeext conftest.$ac_ext
10578 LIBS=$ac_check_lib_save_LIBS
10580 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
10581 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
10582 if test $ac_cv_lib_m_ccosl = yes; then
10584 cat >>confdefs.h <<\_ACEOF
10585 #define HAVE_CCOSL 1
10590 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
10591 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
10592 if test "${ac_cv_lib_m_coshf+set}" = set; then
10593 echo $ECHO_N "(cached) $ECHO_C" >&6
10595 ac_check_lib_save_LIBS=$LIBS
10597 if test x$gcc_no_link = xyes; then
10598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10600 { (exit 1); exit 1; }; }
10602 cat >conftest.$ac_ext <<_ACEOF
10605 cat confdefs.h >>conftest.$ac_ext
10606 cat >>conftest.$ac_ext <<_ACEOF
10607 /* end confdefs.h. */
10609 /* Override any gcc2 internal prototype to avoid an error. */
10613 /* We use char because int might match the return type of a gcc2
10614 builtin and then its argument prototype would still apply. */
10624 rm -f conftest.$ac_objext conftest$ac_exeext
10625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10626 (eval $ac_link) 2>conftest.er1
10628 grep -v '^ *+' conftest.er1 >conftest.err
10630 cat conftest.err >&5
10631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10632 (exit $ac_status); } &&
10633 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10635 (eval $ac_try) 2>&5
10637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10638 (exit $ac_status); }; } &&
10639 { ac_try='test -s conftest$ac_exeext'
10640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10641 (eval $ac_try) 2>&5
10643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644 (exit $ac_status); }; }; then
10645 ac_cv_lib_m_coshf=yes
10647 echo "$as_me: failed program was:" >&5
10648 sed 's/^/| /' conftest.$ac_ext >&5
10650 ac_cv_lib_m_coshf=no
10652 rm -f conftest.err conftest.$ac_objext \
10653 conftest$ac_exeext conftest.$ac_ext
10654 LIBS=$ac_check_lib_save_LIBS
10656 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
10657 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
10658 if test $ac_cv_lib_m_coshf = yes; then
10660 cat >>confdefs.h <<\_ACEOF
10661 #define HAVE_COSHF 1
10666 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
10667 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
10668 if test "${ac_cv_lib_m_cosh+set}" = set; then
10669 echo $ECHO_N "(cached) $ECHO_C" >&6
10671 ac_check_lib_save_LIBS=$LIBS
10673 if test x$gcc_no_link = xyes; then
10674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10676 { (exit 1); exit 1; }; }
10678 cat >conftest.$ac_ext <<_ACEOF
10681 cat confdefs.h >>conftest.$ac_ext
10682 cat >>conftest.$ac_ext <<_ACEOF
10683 /* end confdefs.h. */
10685 /* Override any gcc2 internal prototype to avoid an error. */
10689 /* We use char because int might match the return type of a gcc2
10690 builtin and then its argument prototype would still apply. */
10700 rm -f conftest.$ac_objext conftest$ac_exeext
10701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10702 (eval $ac_link) 2>conftest.er1
10704 grep -v '^ *+' conftest.er1 >conftest.err
10706 cat conftest.err >&5
10707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10708 (exit $ac_status); } &&
10709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10711 (eval $ac_try) 2>&5
10713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10714 (exit $ac_status); }; } &&
10715 { ac_try='test -s conftest$ac_exeext'
10716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10717 (eval $ac_try) 2>&5
10719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10720 (exit $ac_status); }; }; then
10721 ac_cv_lib_m_cosh=yes
10723 echo "$as_me: failed program was:" >&5
10724 sed 's/^/| /' conftest.$ac_ext >&5
10726 ac_cv_lib_m_cosh=no
10728 rm -f conftest.err conftest.$ac_objext \
10729 conftest$ac_exeext conftest.$ac_ext
10730 LIBS=$ac_check_lib_save_LIBS
10732 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
10733 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
10734 if test $ac_cv_lib_m_cosh = yes; then
10736 cat >>confdefs.h <<\_ACEOF
10737 #define HAVE_COSH 1
10742 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
10743 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
10744 if test "${ac_cv_lib_m_coshl+set}" = set; then
10745 echo $ECHO_N "(cached) $ECHO_C" >&6
10747 ac_check_lib_save_LIBS=$LIBS
10749 if test x$gcc_no_link = xyes; then
10750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10752 { (exit 1); exit 1; }; }
10754 cat >conftest.$ac_ext <<_ACEOF
10757 cat confdefs.h >>conftest.$ac_ext
10758 cat >>conftest.$ac_ext <<_ACEOF
10759 /* end confdefs.h. */
10761 /* Override any gcc2 internal prototype to avoid an error. */
10765 /* We use char because int might match the return type of a gcc2
10766 builtin and then its argument prototype would still apply. */
10776 rm -f conftest.$ac_objext conftest$ac_exeext
10777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10778 (eval $ac_link) 2>conftest.er1
10780 grep -v '^ *+' conftest.er1 >conftest.err
10782 cat conftest.err >&5
10783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784 (exit $ac_status); } &&
10785 { ac_try='test -z "$ac_c_werror_flag" || 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_coshl=yes
10799 echo "$as_me: failed program was:" >&5
10800 sed 's/^/| /' conftest.$ac_ext >&5
10802 ac_cv_lib_m_coshl=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_coshl" >&5
10809 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
10810 if test $ac_cv_lib_m_coshl = yes; then
10812 cat >>confdefs.h <<\_ACEOF
10813 #define HAVE_COSHL 1
10818 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
10819 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
10820 if test "${ac_cv_lib_m_ccoshf+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" || test ! -s conftest.err'
10862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10863 (eval $ac_try) 2>&5
10865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10866 (exit $ac_status); }; } &&
10867 { ac_try='test -s conftest$ac_exeext'
10868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10869 (eval $ac_try) 2>&5
10871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10872 (exit $ac_status); }; }; then
10873 ac_cv_lib_m_ccoshf=yes
10875 echo "$as_me: failed program was:" >&5
10876 sed 's/^/| /' conftest.$ac_ext >&5
10878 ac_cv_lib_m_ccoshf=no
10880 rm -f conftest.err conftest.$ac_objext \
10881 conftest$ac_exeext conftest.$ac_ext
10882 LIBS=$ac_check_lib_save_LIBS
10884 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
10885 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
10886 if test $ac_cv_lib_m_ccoshf = yes; then
10888 cat >>confdefs.h <<\_ACEOF
10889 #define HAVE_CCOSHF 1
10894 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
10895 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
10896 if test "${ac_cv_lib_m_ccosh+set}" = set; then
10897 echo $ECHO_N "(cached) $ECHO_C" >&6
10899 ac_check_lib_save_LIBS=$LIBS
10901 if test x$gcc_no_link = xyes; then
10902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10904 { (exit 1); exit 1; }; }
10906 cat >conftest.$ac_ext <<_ACEOF
10909 cat confdefs.h >>conftest.$ac_ext
10910 cat >>conftest.$ac_ext <<_ACEOF
10911 /* end confdefs.h. */
10913 /* Override any gcc2 internal prototype to avoid an error. */
10917 /* We use char because int might match the return type of a gcc2
10918 builtin and then its argument prototype would still apply. */
10928 rm -f conftest.$ac_objext conftest$ac_exeext
10929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10930 (eval $ac_link) 2>conftest.er1
10932 grep -v '^ *+' conftest.er1 >conftest.err
10934 cat conftest.err >&5
10935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10936 (exit $ac_status); } &&
10937 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10939 (eval $ac_try) 2>&5
10941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10942 (exit $ac_status); }; } &&
10943 { ac_try='test -s conftest$ac_exeext'
10944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10945 (eval $ac_try) 2>&5
10947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10948 (exit $ac_status); }; }; then
10949 ac_cv_lib_m_ccosh=yes
10951 echo "$as_me: failed program was:" >&5
10952 sed 's/^/| /' conftest.$ac_ext >&5
10954 ac_cv_lib_m_ccosh=no
10956 rm -f conftest.err conftest.$ac_objext \
10957 conftest$ac_exeext conftest.$ac_ext
10958 LIBS=$ac_check_lib_save_LIBS
10960 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
10961 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
10962 if test $ac_cv_lib_m_ccosh = yes; then
10964 cat >>confdefs.h <<\_ACEOF
10965 #define HAVE_CCOSH 1
10970 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
10971 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
10972 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
10973 echo $ECHO_N "(cached) $ECHO_C" >&6
10975 ac_check_lib_save_LIBS=$LIBS
10977 if test x$gcc_no_link = xyes; then
10978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10980 { (exit 1); exit 1; }; }
10982 cat >conftest.$ac_ext <<_ACEOF
10985 cat confdefs.h >>conftest.$ac_ext
10986 cat >>conftest.$ac_ext <<_ACEOF
10987 /* end confdefs.h. */
10989 /* Override any gcc2 internal prototype to avoid an error. */
10993 /* We use char because int might match the return type of a gcc2
10994 builtin and then its argument prototype would still apply. */
11004 rm -f conftest.$ac_objext conftest$ac_exeext
11005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11006 (eval $ac_link) 2>conftest.er1
11008 grep -v '^ *+' conftest.er1 >conftest.err
11010 cat conftest.err >&5
11011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11012 (exit $ac_status); } &&
11013 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11015 (eval $ac_try) 2>&5
11017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11018 (exit $ac_status); }; } &&
11019 { ac_try='test -s conftest$ac_exeext'
11020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11021 (eval $ac_try) 2>&5
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); }; }; then
11025 ac_cv_lib_m_ccoshl=yes
11027 echo "$as_me: failed program was:" >&5
11028 sed 's/^/| /' conftest.$ac_ext >&5
11030 ac_cv_lib_m_ccoshl=no
11032 rm -f conftest.err conftest.$ac_objext \
11033 conftest$ac_exeext conftest.$ac_ext
11034 LIBS=$ac_check_lib_save_LIBS
11036 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
11037 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
11038 if test $ac_cv_lib_m_ccoshl = yes; then
11040 cat >>confdefs.h <<\_ACEOF
11041 #define HAVE_CCOSHL 1
11046 echo "$as_me:$LINENO: checking for expf in -lm" >&5
11047 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
11048 if test "${ac_cv_lib_m_expf+set}" = set; then
11049 echo $ECHO_N "(cached) $ECHO_C" >&6
11051 ac_check_lib_save_LIBS=$LIBS
11053 if test x$gcc_no_link = xyes; then
11054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11056 { (exit 1); exit 1; }; }
11058 cat >conftest.$ac_ext <<_ACEOF
11061 cat confdefs.h >>conftest.$ac_ext
11062 cat >>conftest.$ac_ext <<_ACEOF
11063 /* end confdefs.h. */
11065 /* Override any gcc2 internal prototype to avoid an error. */
11069 /* We use char because int might match the return type of a gcc2
11070 builtin and then its argument prototype would still apply. */
11080 rm -f conftest.$ac_objext conftest$ac_exeext
11081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11082 (eval $ac_link) 2>conftest.er1
11084 grep -v '^ *+' conftest.er1 >conftest.err
11086 cat conftest.err >&5
11087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11088 (exit $ac_status); } &&
11089 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11091 (eval $ac_try) 2>&5
11093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11094 (exit $ac_status); }; } &&
11095 { ac_try='test -s conftest$ac_exeext'
11096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11097 (eval $ac_try) 2>&5
11099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11100 (exit $ac_status); }; }; then
11101 ac_cv_lib_m_expf=yes
11103 echo "$as_me: failed program was:" >&5
11104 sed 's/^/| /' conftest.$ac_ext >&5
11106 ac_cv_lib_m_expf=no
11108 rm -f conftest.err conftest.$ac_objext \
11109 conftest$ac_exeext conftest.$ac_ext
11110 LIBS=$ac_check_lib_save_LIBS
11112 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
11113 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
11114 if test $ac_cv_lib_m_expf = yes; then
11116 cat >>confdefs.h <<\_ACEOF
11117 #define HAVE_EXPF 1
11122 echo "$as_me:$LINENO: checking for exp in -lm" >&5
11123 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
11124 if test "${ac_cv_lib_m_exp+set}" = set; then
11125 echo $ECHO_N "(cached) $ECHO_C" >&6
11127 ac_check_lib_save_LIBS=$LIBS
11129 if test x$gcc_no_link = xyes; then
11130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11132 { (exit 1); exit 1; }; }
11134 cat >conftest.$ac_ext <<_ACEOF
11137 cat confdefs.h >>conftest.$ac_ext
11138 cat >>conftest.$ac_ext <<_ACEOF
11139 /* end confdefs.h. */
11141 /* Override any gcc2 internal prototype to avoid an error. */
11145 /* We use char because int might match the return type of a gcc2
11146 builtin and then its argument prototype would still apply. */
11156 rm -f conftest.$ac_objext conftest$ac_exeext
11157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11158 (eval $ac_link) 2>conftest.er1
11160 grep -v '^ *+' conftest.er1 >conftest.err
11162 cat conftest.err >&5
11163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11164 (exit $ac_status); } &&
11165 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11167 (eval $ac_try) 2>&5
11169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11170 (exit $ac_status); }; } &&
11171 { ac_try='test -s conftest$ac_exeext'
11172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11173 (eval $ac_try) 2>&5
11175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11176 (exit $ac_status); }; }; then
11177 ac_cv_lib_m_exp=yes
11179 echo "$as_me: failed program was:" >&5
11180 sed 's/^/| /' conftest.$ac_ext >&5
11184 rm -f conftest.err conftest.$ac_objext \
11185 conftest$ac_exeext conftest.$ac_ext
11186 LIBS=$ac_check_lib_save_LIBS
11188 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
11189 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
11190 if test $ac_cv_lib_m_exp = yes; then
11192 cat >>confdefs.h <<\_ACEOF
11198 echo "$as_me:$LINENO: checking for expl in -lm" >&5
11199 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
11200 if test "${ac_cv_lib_m_expl+set}" = set; then
11201 echo $ECHO_N "(cached) $ECHO_C" >&6
11203 ac_check_lib_save_LIBS=$LIBS
11205 if test x$gcc_no_link = xyes; then
11206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11208 { (exit 1); exit 1; }; }
11210 cat >conftest.$ac_ext <<_ACEOF
11213 cat confdefs.h >>conftest.$ac_ext
11214 cat >>conftest.$ac_ext <<_ACEOF
11215 /* end confdefs.h. */
11217 /* Override any gcc2 internal prototype to avoid an error. */
11221 /* We use char because int might match the return type of a gcc2
11222 builtin and then its argument prototype would still apply. */
11232 rm -f conftest.$ac_objext conftest$ac_exeext
11233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11234 (eval $ac_link) 2>conftest.er1
11236 grep -v '^ *+' conftest.er1 >conftest.err
11238 cat conftest.err >&5
11239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11240 (exit $ac_status); } &&
11241 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11243 (eval $ac_try) 2>&5
11245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11246 (exit $ac_status); }; } &&
11247 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
11253 ac_cv_lib_m_expl=yes
11255 echo "$as_me: failed program was:" >&5
11256 sed 's/^/| /' conftest.$ac_ext >&5
11258 ac_cv_lib_m_expl=no
11260 rm -f conftest.err conftest.$ac_objext \
11261 conftest$ac_exeext conftest.$ac_ext
11262 LIBS=$ac_check_lib_save_LIBS
11264 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
11265 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
11266 if test $ac_cv_lib_m_expl = yes; then
11268 cat >>confdefs.h <<\_ACEOF
11269 #define HAVE_EXPL 1
11274 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
11275 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
11276 if test "${ac_cv_lib_m_cexpf+set}" = set; then
11277 echo $ECHO_N "(cached) $ECHO_C" >&6
11279 ac_check_lib_save_LIBS=$LIBS
11281 if test x$gcc_no_link = xyes; then
11282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11284 { (exit 1); exit 1; }; }
11286 cat >conftest.$ac_ext <<_ACEOF
11289 cat confdefs.h >>conftest.$ac_ext
11290 cat >>conftest.$ac_ext <<_ACEOF
11291 /* end confdefs.h. */
11293 /* Override any gcc2 internal prototype to avoid an error. */
11297 /* We use char because int might match the return type of a gcc2
11298 builtin and then its argument prototype would still apply. */
11308 rm -f conftest.$ac_objext conftest$ac_exeext
11309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11310 (eval $ac_link) 2>conftest.er1
11312 grep -v '^ *+' conftest.er1 >conftest.err
11314 cat conftest.err >&5
11315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11316 (exit $ac_status); } &&
11317 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11319 (eval $ac_try) 2>&5
11321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11322 (exit $ac_status); }; } &&
11323 { ac_try='test -s conftest$ac_exeext'
11324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11325 (eval $ac_try) 2>&5
11327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11328 (exit $ac_status); }; }; then
11329 ac_cv_lib_m_cexpf=yes
11331 echo "$as_me: failed program was:" >&5
11332 sed 's/^/| /' conftest.$ac_ext >&5
11334 ac_cv_lib_m_cexpf=no
11336 rm -f conftest.err conftest.$ac_objext \
11337 conftest$ac_exeext conftest.$ac_ext
11338 LIBS=$ac_check_lib_save_LIBS
11340 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
11341 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
11342 if test $ac_cv_lib_m_cexpf = yes; then
11344 cat >>confdefs.h <<\_ACEOF
11345 #define HAVE_CEXPF 1
11350 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
11351 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
11352 if test "${ac_cv_lib_m_cexp+set}" = set; then
11353 echo $ECHO_N "(cached) $ECHO_C" >&6
11355 ac_check_lib_save_LIBS=$LIBS
11357 if test x$gcc_no_link = xyes; then
11358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11360 { (exit 1); exit 1; }; }
11362 cat >conftest.$ac_ext <<_ACEOF
11365 cat confdefs.h >>conftest.$ac_ext
11366 cat >>conftest.$ac_ext <<_ACEOF
11367 /* end confdefs.h. */
11369 /* Override any gcc2 internal prototype to avoid an error. */
11373 /* We use char because int might match the return type of a gcc2
11374 builtin and then its argument prototype would still apply. */
11384 rm -f conftest.$ac_objext conftest$ac_exeext
11385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11386 (eval $ac_link) 2>conftest.er1
11388 grep -v '^ *+' conftest.er1 >conftest.err
11390 cat conftest.err >&5
11391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11392 (exit $ac_status); } &&
11393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11395 (eval $ac_try) 2>&5
11397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11398 (exit $ac_status); }; } &&
11399 { ac_try='test -s conftest$ac_exeext'
11400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11401 (eval $ac_try) 2>&5
11403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11404 (exit $ac_status); }; }; then
11405 ac_cv_lib_m_cexp=yes
11407 echo "$as_me: failed program was:" >&5
11408 sed 's/^/| /' conftest.$ac_ext >&5
11410 ac_cv_lib_m_cexp=no
11412 rm -f conftest.err conftest.$ac_objext \
11413 conftest$ac_exeext conftest.$ac_ext
11414 LIBS=$ac_check_lib_save_LIBS
11416 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
11417 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
11418 if test $ac_cv_lib_m_cexp = yes; then
11420 cat >>confdefs.h <<\_ACEOF
11421 #define HAVE_CEXP 1
11426 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
11427 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
11428 if test "${ac_cv_lib_m_cexpl+set}" = set; then
11429 echo $ECHO_N "(cached) $ECHO_C" >&6
11431 ac_check_lib_save_LIBS=$LIBS
11433 if test x$gcc_no_link = xyes; then
11434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11436 { (exit 1); exit 1; }; }
11438 cat >conftest.$ac_ext <<_ACEOF
11441 cat confdefs.h >>conftest.$ac_ext
11442 cat >>conftest.$ac_ext <<_ACEOF
11443 /* end confdefs.h. */
11445 /* Override any gcc2 internal prototype to avoid an error. */
11449 /* We use char because int might match the return type of a gcc2
11450 builtin and then its argument prototype would still apply. */
11460 rm -f conftest.$ac_objext conftest$ac_exeext
11461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11462 (eval $ac_link) 2>conftest.er1
11464 grep -v '^ *+' conftest.er1 >conftest.err
11466 cat conftest.err >&5
11467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11468 (exit $ac_status); } &&
11469 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11471 (eval $ac_try) 2>&5
11473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11474 (exit $ac_status); }; } &&
11475 { ac_try='test -s conftest$ac_exeext'
11476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11477 (eval $ac_try) 2>&5
11479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11480 (exit $ac_status); }; }; then
11481 ac_cv_lib_m_cexpl=yes
11483 echo "$as_me: failed program was:" >&5
11484 sed 's/^/| /' conftest.$ac_ext >&5
11486 ac_cv_lib_m_cexpl=no
11488 rm -f conftest.err conftest.$ac_objext \
11489 conftest$ac_exeext conftest.$ac_ext
11490 LIBS=$ac_check_lib_save_LIBS
11492 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
11493 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
11494 if test $ac_cv_lib_m_cexpl = yes; then
11496 cat >>confdefs.h <<\_ACEOF
11497 #define HAVE_CEXPL 1
11502 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
11503 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
11504 if test "${ac_cv_lib_m_fabsf+set}" = set; then
11505 echo $ECHO_N "(cached) $ECHO_C" >&6
11507 ac_check_lib_save_LIBS=$LIBS
11509 if test x$gcc_no_link = xyes; then
11510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11512 { (exit 1); exit 1; }; }
11514 cat >conftest.$ac_ext <<_ACEOF
11517 cat confdefs.h >>conftest.$ac_ext
11518 cat >>conftest.$ac_ext <<_ACEOF
11519 /* end confdefs.h. */
11521 /* Override any gcc2 internal prototype to avoid an error. */
11525 /* We use char because int might match the return type of a gcc2
11526 builtin and then its argument prototype would still apply. */
11536 rm -f conftest.$ac_objext conftest$ac_exeext
11537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11538 (eval $ac_link) 2>conftest.er1
11540 grep -v '^ *+' conftest.er1 >conftest.err
11542 cat conftest.err >&5
11543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11544 (exit $ac_status); } &&
11545 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11547 (eval $ac_try) 2>&5
11549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11550 (exit $ac_status); }; } &&
11551 { ac_try='test -s conftest$ac_exeext'
11552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11553 (eval $ac_try) 2>&5
11555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11556 (exit $ac_status); }; }; then
11557 ac_cv_lib_m_fabsf=yes
11559 echo "$as_me: failed program was:" >&5
11560 sed 's/^/| /' conftest.$ac_ext >&5
11562 ac_cv_lib_m_fabsf=no
11564 rm -f conftest.err conftest.$ac_objext \
11565 conftest$ac_exeext conftest.$ac_ext
11566 LIBS=$ac_check_lib_save_LIBS
11568 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
11569 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
11570 if test $ac_cv_lib_m_fabsf = yes; then
11572 cat >>confdefs.h <<\_ACEOF
11573 #define HAVE_FABSF 1
11578 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
11579 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
11580 if test "${ac_cv_lib_m_fabs+set}" = set; then
11581 echo $ECHO_N "(cached) $ECHO_C" >&6
11583 ac_check_lib_save_LIBS=$LIBS
11585 if test x$gcc_no_link = xyes; then
11586 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11588 { (exit 1); exit 1; }; }
11590 cat >conftest.$ac_ext <<_ACEOF
11593 cat confdefs.h >>conftest.$ac_ext
11594 cat >>conftest.$ac_ext <<_ACEOF
11595 /* end confdefs.h. */
11597 /* Override any gcc2 internal prototype to avoid an error. */
11601 /* We use char because int might match the return type of a gcc2
11602 builtin and then its argument prototype would still apply. */
11612 rm -f conftest.$ac_objext conftest$ac_exeext
11613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11614 (eval $ac_link) 2>conftest.er1
11616 grep -v '^ *+' conftest.er1 >conftest.err
11618 cat conftest.err >&5
11619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11620 (exit $ac_status); } &&
11621 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11623 (eval $ac_try) 2>&5
11625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11626 (exit $ac_status); }; } &&
11627 { ac_try='test -s conftest$ac_exeext'
11628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11629 (eval $ac_try) 2>&5
11631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11632 (exit $ac_status); }; }; then
11633 ac_cv_lib_m_fabs=yes
11635 echo "$as_me: failed program was:" >&5
11636 sed 's/^/| /' conftest.$ac_ext >&5
11638 ac_cv_lib_m_fabs=no
11640 rm -f conftest.err conftest.$ac_objext \
11641 conftest$ac_exeext conftest.$ac_ext
11642 LIBS=$ac_check_lib_save_LIBS
11644 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
11645 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
11646 if test $ac_cv_lib_m_fabs = yes; then
11648 cat >>confdefs.h <<\_ACEOF
11649 #define HAVE_FABS 1
11654 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
11655 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
11656 if test "${ac_cv_lib_m_fabsl+set}" = set; then
11657 echo $ECHO_N "(cached) $ECHO_C" >&6
11659 ac_check_lib_save_LIBS=$LIBS
11661 if test x$gcc_no_link = xyes; then
11662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11664 { (exit 1); exit 1; }; }
11666 cat >conftest.$ac_ext <<_ACEOF
11669 cat confdefs.h >>conftest.$ac_ext
11670 cat >>conftest.$ac_ext <<_ACEOF
11671 /* end confdefs.h. */
11673 /* Override any gcc2 internal prototype to avoid an error. */
11677 /* We use char because int might match the return type of a gcc2
11678 builtin and then its argument prototype would still apply. */
11688 rm -f conftest.$ac_objext conftest$ac_exeext
11689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11690 (eval $ac_link) 2>conftest.er1
11692 grep -v '^ *+' conftest.er1 >conftest.err
11694 cat conftest.err >&5
11695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11696 (exit $ac_status); } &&
11697 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11699 (eval $ac_try) 2>&5
11701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11702 (exit $ac_status); }; } &&
11703 { ac_try='test -s conftest$ac_exeext'
11704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11705 (eval $ac_try) 2>&5
11707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11708 (exit $ac_status); }; }; then
11709 ac_cv_lib_m_fabsl=yes
11711 echo "$as_me: failed program was:" >&5
11712 sed 's/^/| /' conftest.$ac_ext >&5
11714 ac_cv_lib_m_fabsl=no
11716 rm -f conftest.err conftest.$ac_objext \
11717 conftest$ac_exeext conftest.$ac_ext
11718 LIBS=$ac_check_lib_save_LIBS
11720 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
11721 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
11722 if test $ac_cv_lib_m_fabsl = yes; then
11724 cat >>confdefs.h <<\_ACEOF
11725 #define HAVE_FABSL 1
11730 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
11731 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
11732 if test "${ac_cv_lib_m_cabsf+set}" = set; then
11733 echo $ECHO_N "(cached) $ECHO_C" >&6
11735 ac_check_lib_save_LIBS=$LIBS
11737 if test x$gcc_no_link = xyes; then
11738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11740 { (exit 1); exit 1; }; }
11742 cat >conftest.$ac_ext <<_ACEOF
11745 cat confdefs.h >>conftest.$ac_ext
11746 cat >>conftest.$ac_ext <<_ACEOF
11747 /* end confdefs.h. */
11749 /* Override any gcc2 internal prototype to avoid an error. */
11753 /* We use char because int might match the return type of a gcc2
11754 builtin and then its argument prototype would still apply. */
11764 rm -f conftest.$ac_objext conftest$ac_exeext
11765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11766 (eval $ac_link) 2>conftest.er1
11768 grep -v '^ *+' conftest.er1 >conftest.err
11770 cat conftest.err >&5
11771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11772 (exit $ac_status); } &&
11773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11775 (eval $ac_try) 2>&5
11777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11778 (exit $ac_status); }; } &&
11779 { ac_try='test -s conftest$ac_exeext'
11780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11781 (eval $ac_try) 2>&5
11783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11784 (exit $ac_status); }; }; then
11785 ac_cv_lib_m_cabsf=yes
11787 echo "$as_me: failed program was:" >&5
11788 sed 's/^/| /' conftest.$ac_ext >&5
11790 ac_cv_lib_m_cabsf=no
11792 rm -f conftest.err conftest.$ac_objext \
11793 conftest$ac_exeext conftest.$ac_ext
11794 LIBS=$ac_check_lib_save_LIBS
11796 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
11797 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
11798 if test $ac_cv_lib_m_cabsf = yes; then
11800 cat >>confdefs.h <<\_ACEOF
11801 #define HAVE_CABSF 1
11806 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
11807 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
11808 if test "${ac_cv_lib_m_cabs+set}" = set; then
11809 echo $ECHO_N "(cached) $ECHO_C" >&6
11811 ac_check_lib_save_LIBS=$LIBS
11813 if test x$gcc_no_link = xyes; then
11814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11816 { (exit 1); exit 1; }; }
11818 cat >conftest.$ac_ext <<_ACEOF
11821 cat confdefs.h >>conftest.$ac_ext
11822 cat >>conftest.$ac_ext <<_ACEOF
11823 /* end confdefs.h. */
11825 /* Override any gcc2 internal prototype to avoid an error. */
11829 /* We use char because int might match the return type of a gcc2
11830 builtin and then its argument prototype would still apply. */
11840 rm -f conftest.$ac_objext conftest$ac_exeext
11841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11842 (eval $ac_link) 2>conftest.er1
11844 grep -v '^ *+' conftest.er1 >conftest.err
11846 cat conftest.err >&5
11847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11848 (exit $ac_status); } &&
11849 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11851 (eval $ac_try) 2>&5
11853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11854 (exit $ac_status); }; } &&
11855 { ac_try='test -s conftest$ac_exeext'
11856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11857 (eval $ac_try) 2>&5
11859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11860 (exit $ac_status); }; }; then
11861 ac_cv_lib_m_cabs=yes
11863 echo "$as_me: failed program was:" >&5
11864 sed 's/^/| /' conftest.$ac_ext >&5
11866 ac_cv_lib_m_cabs=no
11868 rm -f conftest.err conftest.$ac_objext \
11869 conftest$ac_exeext conftest.$ac_ext
11870 LIBS=$ac_check_lib_save_LIBS
11872 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
11873 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
11874 if test $ac_cv_lib_m_cabs = yes; then
11876 cat >>confdefs.h <<\_ACEOF
11877 #define HAVE_CABS 1
11882 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
11883 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
11884 if test "${ac_cv_lib_m_cabsl+set}" = set; then
11885 echo $ECHO_N "(cached) $ECHO_C" >&6
11887 ac_check_lib_save_LIBS=$LIBS
11889 if test x$gcc_no_link = xyes; then
11890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11892 { (exit 1); exit 1; }; }
11894 cat >conftest.$ac_ext <<_ACEOF
11897 cat confdefs.h >>conftest.$ac_ext
11898 cat >>conftest.$ac_ext <<_ACEOF
11899 /* end confdefs.h. */
11901 /* Override any gcc2 internal prototype to avoid an error. */
11905 /* We use char because int might match the return type of a gcc2
11906 builtin and then its argument prototype would still apply. */
11916 rm -f conftest.$ac_objext conftest$ac_exeext
11917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11918 (eval $ac_link) 2>conftest.er1
11920 grep -v '^ *+' conftest.er1 >conftest.err
11922 cat conftest.err >&5
11923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11924 (exit $ac_status); } &&
11925 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11927 (eval $ac_try) 2>&5
11929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11930 (exit $ac_status); }; } &&
11931 { ac_try='test -s conftest$ac_exeext'
11932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11933 (eval $ac_try) 2>&5
11935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11936 (exit $ac_status); }; }; then
11937 ac_cv_lib_m_cabsl=yes
11939 echo "$as_me: failed program was:" >&5
11940 sed 's/^/| /' conftest.$ac_ext >&5
11942 ac_cv_lib_m_cabsl=no
11944 rm -f conftest.err conftest.$ac_objext \
11945 conftest$ac_exeext conftest.$ac_ext
11946 LIBS=$ac_check_lib_save_LIBS
11948 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
11949 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
11950 if test $ac_cv_lib_m_cabsl = yes; then
11952 cat >>confdefs.h <<\_ACEOF
11953 #define HAVE_CABSL 1
11958 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
11959 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
11960 if test "${ac_cv_lib_m_floorf+set}" = set; then
11961 echo $ECHO_N "(cached) $ECHO_C" >&6
11963 ac_check_lib_save_LIBS=$LIBS
11965 if test x$gcc_no_link = xyes; then
11966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11968 { (exit 1); exit 1; }; }
11970 cat >conftest.$ac_ext <<_ACEOF
11973 cat confdefs.h >>conftest.$ac_ext
11974 cat >>conftest.$ac_ext <<_ACEOF
11975 /* end confdefs.h. */
11977 /* Override any gcc2 internal prototype to avoid an error. */
11981 /* We use char because int might match the return type of a gcc2
11982 builtin and then its argument prototype would still apply. */
11992 rm -f conftest.$ac_objext conftest$ac_exeext
11993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11994 (eval $ac_link) 2>conftest.er1
11996 grep -v '^ *+' conftest.er1 >conftest.err
11998 cat conftest.err >&5
11999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12000 (exit $ac_status); } &&
12001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12003 (eval $ac_try) 2>&5
12005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12006 (exit $ac_status); }; } &&
12007 { ac_try='test -s conftest$ac_exeext'
12008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12009 (eval $ac_try) 2>&5
12011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12012 (exit $ac_status); }; }; then
12013 ac_cv_lib_m_floorf=yes
12015 echo "$as_me: failed program was:" >&5
12016 sed 's/^/| /' conftest.$ac_ext >&5
12018 ac_cv_lib_m_floorf=no
12020 rm -f conftest.err conftest.$ac_objext \
12021 conftest$ac_exeext conftest.$ac_ext
12022 LIBS=$ac_check_lib_save_LIBS
12024 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
12025 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
12026 if test $ac_cv_lib_m_floorf = yes; then
12028 cat >>confdefs.h <<\_ACEOF
12029 #define HAVE_FLOORF 1
12034 echo "$as_me:$LINENO: checking for floor in -lm" >&5
12035 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
12036 if test "${ac_cv_lib_m_floor+set}" = set; then
12037 echo $ECHO_N "(cached) $ECHO_C" >&6
12039 ac_check_lib_save_LIBS=$LIBS
12041 if test x$gcc_no_link = xyes; then
12042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12044 { (exit 1); exit 1; }; }
12046 cat >conftest.$ac_ext <<_ACEOF
12049 cat confdefs.h >>conftest.$ac_ext
12050 cat >>conftest.$ac_ext <<_ACEOF
12051 /* end confdefs.h. */
12053 /* Override any gcc2 internal prototype to avoid an error. */
12057 /* We use char because int might match the return type of a gcc2
12058 builtin and then its argument prototype would still apply. */
12068 rm -f conftest.$ac_objext conftest$ac_exeext
12069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12070 (eval $ac_link) 2>conftest.er1
12072 grep -v '^ *+' conftest.er1 >conftest.err
12074 cat conftest.err >&5
12075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12076 (exit $ac_status); } &&
12077 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12079 (eval $ac_try) 2>&5
12081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082 (exit $ac_status); }; } &&
12083 { ac_try='test -s conftest$ac_exeext'
12084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12085 (eval $ac_try) 2>&5
12087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12088 (exit $ac_status); }; }; then
12089 ac_cv_lib_m_floor=yes
12091 echo "$as_me: failed program was:" >&5
12092 sed 's/^/| /' conftest.$ac_ext >&5
12094 ac_cv_lib_m_floor=no
12096 rm -f conftest.err conftest.$ac_objext \
12097 conftest$ac_exeext conftest.$ac_ext
12098 LIBS=$ac_check_lib_save_LIBS
12100 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
12101 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
12102 if test $ac_cv_lib_m_floor = yes; then
12104 cat >>confdefs.h <<\_ACEOF
12105 #define HAVE_FLOOR 1
12110 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
12111 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
12112 if test "${ac_cv_lib_m_floorl+set}" = set; then
12113 echo $ECHO_N "(cached) $ECHO_C" >&6
12115 ac_check_lib_save_LIBS=$LIBS
12117 if test x$gcc_no_link = xyes; then
12118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12120 { (exit 1); exit 1; }; }
12122 cat >conftest.$ac_ext <<_ACEOF
12125 cat confdefs.h >>conftest.$ac_ext
12126 cat >>conftest.$ac_ext <<_ACEOF
12127 /* end confdefs.h. */
12129 /* Override any gcc2 internal prototype to avoid an error. */
12133 /* We use char because int might match the return type of a gcc2
12134 builtin and then its argument prototype would still apply. */
12144 rm -f conftest.$ac_objext conftest$ac_exeext
12145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12146 (eval $ac_link) 2>conftest.er1
12148 grep -v '^ *+' conftest.er1 >conftest.err
12150 cat conftest.err >&5
12151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12152 (exit $ac_status); } &&
12153 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12155 (eval $ac_try) 2>&5
12157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12158 (exit $ac_status); }; } &&
12159 { ac_try='test -s conftest$ac_exeext'
12160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12161 (eval $ac_try) 2>&5
12163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12164 (exit $ac_status); }; }; then
12165 ac_cv_lib_m_floorl=yes
12167 echo "$as_me: failed program was:" >&5
12168 sed 's/^/| /' conftest.$ac_ext >&5
12170 ac_cv_lib_m_floorl=no
12172 rm -f conftest.err conftest.$ac_objext \
12173 conftest$ac_exeext conftest.$ac_ext
12174 LIBS=$ac_check_lib_save_LIBS
12176 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
12177 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
12178 if test $ac_cv_lib_m_floorl = yes; then
12180 cat >>confdefs.h <<\_ACEOF
12181 #define HAVE_FLOORL 1
12186 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
12187 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
12188 if test "${ac_cv_lib_m_frexpf+set}" = set; then
12189 echo $ECHO_N "(cached) $ECHO_C" >&6
12191 ac_check_lib_save_LIBS=$LIBS
12193 if test x$gcc_no_link = xyes; then
12194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12196 { (exit 1); exit 1; }; }
12198 cat >conftest.$ac_ext <<_ACEOF
12201 cat confdefs.h >>conftest.$ac_ext
12202 cat >>conftest.$ac_ext <<_ACEOF
12203 /* end confdefs.h. */
12205 /* Override any gcc2 internal prototype to avoid an error. */
12209 /* We use char because int might match the return type of a gcc2
12210 builtin and then its argument prototype would still apply. */
12220 rm -f conftest.$ac_objext conftest$ac_exeext
12221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12222 (eval $ac_link) 2>conftest.er1
12224 grep -v '^ *+' conftest.er1 >conftest.err
12226 cat conftest.err >&5
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); } &&
12229 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12231 (eval $ac_try) 2>&5
12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); }; } &&
12235 { ac_try='test -s conftest$ac_exeext'
12236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12237 (eval $ac_try) 2>&5
12239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12240 (exit $ac_status); }; }; then
12241 ac_cv_lib_m_frexpf=yes
12243 echo "$as_me: failed program was:" >&5
12244 sed 's/^/| /' conftest.$ac_ext >&5
12246 ac_cv_lib_m_frexpf=no
12248 rm -f conftest.err conftest.$ac_objext \
12249 conftest$ac_exeext conftest.$ac_ext
12250 LIBS=$ac_check_lib_save_LIBS
12252 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
12253 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
12254 if test $ac_cv_lib_m_frexpf = yes; then
12256 cat >>confdefs.h <<\_ACEOF
12257 #define HAVE_FREXPF 1
12262 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
12263 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
12264 if test "${ac_cv_lib_m_frexp+set}" = set; then
12265 echo $ECHO_N "(cached) $ECHO_C" >&6
12267 ac_check_lib_save_LIBS=$LIBS
12269 if test x$gcc_no_link = xyes; then
12270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12272 { (exit 1); exit 1; }; }
12274 cat >conftest.$ac_ext <<_ACEOF
12277 cat confdefs.h >>conftest.$ac_ext
12278 cat >>conftest.$ac_ext <<_ACEOF
12279 /* end confdefs.h. */
12281 /* Override any gcc2 internal prototype to avoid an error. */
12285 /* We use char because int might match the return type of a gcc2
12286 builtin and then its argument prototype would still apply. */
12296 rm -f conftest.$ac_objext conftest$ac_exeext
12297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12298 (eval $ac_link) 2>conftest.er1
12300 grep -v '^ *+' conftest.er1 >conftest.err
12302 cat conftest.err >&5
12303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12304 (exit $ac_status); } &&
12305 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12307 (eval $ac_try) 2>&5
12309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12310 (exit $ac_status); }; } &&
12311 { ac_try='test -s conftest$ac_exeext'
12312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12313 (eval $ac_try) 2>&5
12315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316 (exit $ac_status); }; }; then
12317 ac_cv_lib_m_frexp=yes
12319 echo "$as_me: failed program was:" >&5
12320 sed 's/^/| /' conftest.$ac_ext >&5
12322 ac_cv_lib_m_frexp=no
12324 rm -f conftest.err conftest.$ac_objext \
12325 conftest$ac_exeext conftest.$ac_ext
12326 LIBS=$ac_check_lib_save_LIBS
12328 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
12329 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
12330 if test $ac_cv_lib_m_frexp = yes; then
12332 cat >>confdefs.h <<\_ACEOF
12333 #define HAVE_FREXP 1
12338 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
12339 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
12340 if test "${ac_cv_lib_m_frexpl+set}" = set; then
12341 echo $ECHO_N "(cached) $ECHO_C" >&6
12343 ac_check_lib_save_LIBS=$LIBS
12345 if test x$gcc_no_link = xyes; then
12346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12348 { (exit 1); exit 1; }; }
12350 cat >conftest.$ac_ext <<_ACEOF
12353 cat confdefs.h >>conftest.$ac_ext
12354 cat >>conftest.$ac_ext <<_ACEOF
12355 /* end confdefs.h. */
12357 /* Override any gcc2 internal prototype to avoid an error. */
12361 /* We use char because int might match the return type of a gcc2
12362 builtin and then its argument prototype would still apply. */
12372 rm -f conftest.$ac_objext conftest$ac_exeext
12373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12374 (eval $ac_link) 2>conftest.er1
12376 grep -v '^ *+' conftest.er1 >conftest.err
12378 cat conftest.err >&5
12379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12380 (exit $ac_status); } &&
12381 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12383 (eval $ac_try) 2>&5
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); }; } &&
12387 { ac_try='test -s conftest$ac_exeext'
12388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12389 (eval $ac_try) 2>&5
12391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392 (exit $ac_status); }; }; then
12393 ac_cv_lib_m_frexpl=yes
12395 echo "$as_me: failed program was:" >&5
12396 sed 's/^/| /' conftest.$ac_ext >&5
12398 ac_cv_lib_m_frexpl=no
12400 rm -f conftest.err conftest.$ac_objext \
12401 conftest$ac_exeext conftest.$ac_ext
12402 LIBS=$ac_check_lib_save_LIBS
12404 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
12405 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
12406 if test $ac_cv_lib_m_frexpl = yes; then
12408 cat >>confdefs.h <<\_ACEOF
12409 #define HAVE_FREXPL 1
12414 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
12415 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
12416 if test "${ac_cv_lib_m_hypotf+set}" = set; then
12417 echo $ECHO_N "(cached) $ECHO_C" >&6
12419 ac_check_lib_save_LIBS=$LIBS
12421 if test x$gcc_no_link = xyes; then
12422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12424 { (exit 1); exit 1; }; }
12426 cat >conftest.$ac_ext <<_ACEOF
12429 cat confdefs.h >>conftest.$ac_ext
12430 cat >>conftest.$ac_ext <<_ACEOF
12431 /* end confdefs.h. */
12433 /* Override any gcc2 internal prototype to avoid an error. */
12437 /* We use char because int might match the return type of a gcc2
12438 builtin and then its argument prototype would still apply. */
12448 rm -f conftest.$ac_objext conftest$ac_exeext
12449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12450 (eval $ac_link) 2>conftest.er1
12452 grep -v '^ *+' conftest.er1 >conftest.err
12454 cat conftest.err >&5
12455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12456 (exit $ac_status); } &&
12457 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12459 (eval $ac_try) 2>&5
12461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12462 (exit $ac_status); }; } &&
12463 { ac_try='test -s conftest$ac_exeext'
12464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12465 (eval $ac_try) 2>&5
12467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12468 (exit $ac_status); }; }; then
12469 ac_cv_lib_m_hypotf=yes
12471 echo "$as_me: failed program was:" >&5
12472 sed 's/^/| /' conftest.$ac_ext >&5
12474 ac_cv_lib_m_hypotf=no
12476 rm -f conftest.err conftest.$ac_objext \
12477 conftest$ac_exeext conftest.$ac_ext
12478 LIBS=$ac_check_lib_save_LIBS
12480 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
12481 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
12482 if test $ac_cv_lib_m_hypotf = yes; then
12484 cat >>confdefs.h <<\_ACEOF
12485 #define HAVE_HYPOTF 1
12490 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
12491 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
12492 if test "${ac_cv_lib_m_hypot+set}" = set; then
12493 echo $ECHO_N "(cached) $ECHO_C" >&6
12495 ac_check_lib_save_LIBS=$LIBS
12497 if test x$gcc_no_link = xyes; then
12498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12500 { (exit 1); exit 1; }; }
12502 cat >conftest.$ac_ext <<_ACEOF
12505 cat confdefs.h >>conftest.$ac_ext
12506 cat >>conftest.$ac_ext <<_ACEOF
12507 /* end confdefs.h. */
12509 /* Override any gcc2 internal prototype to avoid an error. */
12513 /* We use char because int might match the return type of a gcc2
12514 builtin and then its argument prototype would still apply. */
12524 rm -f conftest.$ac_objext conftest$ac_exeext
12525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12526 (eval $ac_link) 2>conftest.er1
12528 grep -v '^ *+' conftest.er1 >conftest.err
12530 cat conftest.err >&5
12531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12532 (exit $ac_status); } &&
12533 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12535 (eval $ac_try) 2>&5
12537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12538 (exit $ac_status); }; } &&
12539 { ac_try='test -s conftest$ac_exeext'
12540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12541 (eval $ac_try) 2>&5
12543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12544 (exit $ac_status); }; }; then
12545 ac_cv_lib_m_hypot=yes
12547 echo "$as_me: failed program was:" >&5
12548 sed 's/^/| /' conftest.$ac_ext >&5
12550 ac_cv_lib_m_hypot=no
12552 rm -f conftest.err conftest.$ac_objext \
12553 conftest$ac_exeext conftest.$ac_ext
12554 LIBS=$ac_check_lib_save_LIBS
12556 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
12557 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
12558 if test $ac_cv_lib_m_hypot = yes; then
12560 cat >>confdefs.h <<\_ACEOF
12561 #define HAVE_HYPOT 1
12566 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
12567 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
12568 if test "${ac_cv_lib_m_hypotl+set}" = set; then
12569 echo $ECHO_N "(cached) $ECHO_C" >&6
12571 ac_check_lib_save_LIBS=$LIBS
12573 if test x$gcc_no_link = xyes; then
12574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12576 { (exit 1); exit 1; }; }
12578 cat >conftest.$ac_ext <<_ACEOF
12581 cat confdefs.h >>conftest.$ac_ext
12582 cat >>conftest.$ac_ext <<_ACEOF
12583 /* end confdefs.h. */
12585 /* Override any gcc2 internal prototype to avoid an error. */
12589 /* We use char because int might match the return type of a gcc2
12590 builtin and then its argument prototype would still apply. */
12600 rm -f conftest.$ac_objext conftest$ac_exeext
12601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12602 (eval $ac_link) 2>conftest.er1
12604 grep -v '^ *+' conftest.er1 >conftest.err
12606 cat conftest.err >&5
12607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608 (exit $ac_status); } &&
12609 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12611 (eval $ac_try) 2>&5
12613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12614 (exit $ac_status); }; } &&
12615 { ac_try='test -s conftest$ac_exeext'
12616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12617 (eval $ac_try) 2>&5
12619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12620 (exit $ac_status); }; }; then
12621 ac_cv_lib_m_hypotl=yes
12623 echo "$as_me: failed program was:" >&5
12624 sed 's/^/| /' conftest.$ac_ext >&5
12626 ac_cv_lib_m_hypotl=no
12628 rm -f conftest.err conftest.$ac_objext \
12629 conftest$ac_exeext conftest.$ac_ext
12630 LIBS=$ac_check_lib_save_LIBS
12632 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
12633 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
12634 if test $ac_cv_lib_m_hypotl = yes; then
12636 cat >>confdefs.h <<\_ACEOF
12637 #define HAVE_HYPOTL 1
12642 echo "$as_me:$LINENO: checking for logf in -lm" >&5
12643 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
12644 if test "${ac_cv_lib_m_logf+set}" = set; then
12645 echo $ECHO_N "(cached) $ECHO_C" >&6
12647 ac_check_lib_save_LIBS=$LIBS
12649 if test x$gcc_no_link = xyes; then
12650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12652 { (exit 1); exit 1; }; }
12654 cat >conftest.$ac_ext <<_ACEOF
12657 cat confdefs.h >>conftest.$ac_ext
12658 cat >>conftest.$ac_ext <<_ACEOF
12659 /* end confdefs.h. */
12661 /* Override any gcc2 internal prototype to avoid an error. */
12665 /* We use char because int might match the return type of a gcc2
12666 builtin and then its argument prototype would still apply. */
12676 rm -f conftest.$ac_objext conftest$ac_exeext
12677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12678 (eval $ac_link) 2>conftest.er1
12680 grep -v '^ *+' conftest.er1 >conftest.err
12682 cat conftest.err >&5
12683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12684 (exit $ac_status); } &&
12685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12687 (eval $ac_try) 2>&5
12689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12690 (exit $ac_status); }; } &&
12691 { ac_try='test -s conftest$ac_exeext'
12692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12693 (eval $ac_try) 2>&5
12695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12696 (exit $ac_status); }; }; then
12697 ac_cv_lib_m_logf=yes
12699 echo "$as_me: failed program was:" >&5
12700 sed 's/^/| /' conftest.$ac_ext >&5
12702 ac_cv_lib_m_logf=no
12704 rm -f conftest.err conftest.$ac_objext \
12705 conftest$ac_exeext conftest.$ac_ext
12706 LIBS=$ac_check_lib_save_LIBS
12708 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
12709 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
12710 if test $ac_cv_lib_m_logf = yes; then
12712 cat >>confdefs.h <<\_ACEOF
12713 #define HAVE_LOGF 1
12718 echo "$as_me:$LINENO: checking for log in -lm" >&5
12719 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
12720 if test "${ac_cv_lib_m_log+set}" = set; then
12721 echo $ECHO_N "(cached) $ECHO_C" >&6
12723 ac_check_lib_save_LIBS=$LIBS
12725 if test x$gcc_no_link = xyes; then
12726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12728 { (exit 1); exit 1; }; }
12730 cat >conftest.$ac_ext <<_ACEOF
12733 cat confdefs.h >>conftest.$ac_ext
12734 cat >>conftest.$ac_ext <<_ACEOF
12735 /* end confdefs.h. */
12737 /* Override any gcc2 internal prototype to avoid an error. */
12741 /* We use char because int might match the return type of a gcc2
12742 builtin and then its argument prototype would still apply. */
12752 rm -f conftest.$ac_objext conftest$ac_exeext
12753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12754 (eval $ac_link) 2>conftest.er1
12756 grep -v '^ *+' conftest.er1 >conftest.err
12758 cat conftest.err >&5
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760 (exit $ac_status); } &&
12761 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12763 (eval $ac_try) 2>&5
12765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766 (exit $ac_status); }; } &&
12767 { ac_try='test -s conftest$ac_exeext'
12768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12769 (eval $ac_try) 2>&5
12771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12772 (exit $ac_status); }; }; then
12773 ac_cv_lib_m_log=yes
12775 echo "$as_me: failed program was:" >&5
12776 sed 's/^/| /' conftest.$ac_ext >&5
12780 rm -f conftest.err conftest.$ac_objext \
12781 conftest$ac_exeext conftest.$ac_ext
12782 LIBS=$ac_check_lib_save_LIBS
12784 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
12785 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
12786 if test $ac_cv_lib_m_log = yes; then
12788 cat >>confdefs.h <<\_ACEOF
12794 echo "$as_me:$LINENO: checking for logl in -lm" >&5
12795 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
12796 if test "${ac_cv_lib_m_logl+set}" = set; then
12797 echo $ECHO_N "(cached) $ECHO_C" >&6
12799 ac_check_lib_save_LIBS=$LIBS
12801 if test x$gcc_no_link = xyes; then
12802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12804 { (exit 1); exit 1; }; }
12806 cat >conftest.$ac_ext <<_ACEOF
12809 cat confdefs.h >>conftest.$ac_ext
12810 cat >>conftest.$ac_ext <<_ACEOF
12811 /* end confdefs.h. */
12813 /* Override any gcc2 internal prototype to avoid an error. */
12817 /* We use char because int might match the return type of a gcc2
12818 builtin and then its argument prototype would still apply. */
12828 rm -f conftest.$ac_objext conftest$ac_exeext
12829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12830 (eval $ac_link) 2>conftest.er1
12832 grep -v '^ *+' conftest.er1 >conftest.err
12834 cat conftest.err >&5
12835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12836 (exit $ac_status); } &&
12837 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12839 (eval $ac_try) 2>&5
12841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842 (exit $ac_status); }; } &&
12843 { ac_try='test -s conftest$ac_exeext'
12844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12845 (eval $ac_try) 2>&5
12847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12848 (exit $ac_status); }; }; then
12849 ac_cv_lib_m_logl=yes
12851 echo "$as_me: failed program was:" >&5
12852 sed 's/^/| /' conftest.$ac_ext >&5
12854 ac_cv_lib_m_logl=no
12856 rm -f conftest.err conftest.$ac_objext \
12857 conftest$ac_exeext conftest.$ac_ext
12858 LIBS=$ac_check_lib_save_LIBS
12860 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
12861 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
12862 if test $ac_cv_lib_m_logl = yes; then
12864 cat >>confdefs.h <<\_ACEOF
12865 #define HAVE_LOGL 1
12870 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
12871 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
12872 if test "${ac_cv_lib_m_clogf+set}" = set; then
12873 echo $ECHO_N "(cached) $ECHO_C" >&6
12875 ac_check_lib_save_LIBS=$LIBS
12877 if test x$gcc_no_link = xyes; then
12878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12880 { (exit 1); exit 1; }; }
12882 cat >conftest.$ac_ext <<_ACEOF
12885 cat confdefs.h >>conftest.$ac_ext
12886 cat >>conftest.$ac_ext <<_ACEOF
12887 /* end confdefs.h. */
12889 /* Override any gcc2 internal prototype to avoid an error. */
12893 /* We use char because int might match the return type of a gcc2
12894 builtin and then its argument prototype would still apply. */
12904 rm -f conftest.$ac_objext conftest$ac_exeext
12905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12906 (eval $ac_link) 2>conftest.er1
12908 grep -v '^ *+' conftest.er1 >conftest.err
12910 cat conftest.err >&5
12911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912 (exit $ac_status); } &&
12913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12915 (eval $ac_try) 2>&5
12917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12918 (exit $ac_status); }; } &&
12919 { ac_try='test -s conftest$ac_exeext'
12920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12921 (eval $ac_try) 2>&5
12923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12924 (exit $ac_status); }; }; then
12925 ac_cv_lib_m_clogf=yes
12927 echo "$as_me: failed program was:" >&5
12928 sed 's/^/| /' conftest.$ac_ext >&5
12930 ac_cv_lib_m_clogf=no
12932 rm -f conftest.err conftest.$ac_objext \
12933 conftest$ac_exeext conftest.$ac_ext
12934 LIBS=$ac_check_lib_save_LIBS
12936 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
12937 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
12938 if test $ac_cv_lib_m_clogf = yes; then
12940 cat >>confdefs.h <<\_ACEOF
12941 #define HAVE_CLOGF 1
12946 echo "$as_me:$LINENO: checking for clog in -lm" >&5
12947 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
12948 if test "${ac_cv_lib_m_clog+set}" = set; then
12949 echo $ECHO_N "(cached) $ECHO_C" >&6
12951 ac_check_lib_save_LIBS=$LIBS
12953 if test x$gcc_no_link = xyes; then
12954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12956 { (exit 1); exit 1; }; }
12958 cat >conftest.$ac_ext <<_ACEOF
12961 cat confdefs.h >>conftest.$ac_ext
12962 cat >>conftest.$ac_ext <<_ACEOF
12963 /* end confdefs.h. */
12965 /* Override any gcc2 internal prototype to avoid an error. */
12969 /* We use char because int might match the return type of a gcc2
12970 builtin and then its argument prototype would still apply. */
12980 rm -f conftest.$ac_objext conftest$ac_exeext
12981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12982 (eval $ac_link) 2>conftest.er1
12984 grep -v '^ *+' conftest.er1 >conftest.err
12986 cat conftest.err >&5
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); } &&
12989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12991 (eval $ac_try) 2>&5
12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 (exit $ac_status); }; } &&
12995 { ac_try='test -s conftest$ac_exeext'
12996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12997 (eval $ac_try) 2>&5
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); }; }; then
13001 ac_cv_lib_m_clog=yes
13003 echo "$as_me: failed program was:" >&5
13004 sed 's/^/| /' conftest.$ac_ext >&5
13006 ac_cv_lib_m_clog=no
13008 rm -f conftest.err conftest.$ac_objext \
13009 conftest$ac_exeext conftest.$ac_ext
13010 LIBS=$ac_check_lib_save_LIBS
13012 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
13013 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
13014 if test $ac_cv_lib_m_clog = yes; then
13016 cat >>confdefs.h <<\_ACEOF
13017 #define HAVE_CLOG 1
13022 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
13023 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
13024 if test "${ac_cv_lib_m_clogl+set}" = set; then
13025 echo $ECHO_N "(cached) $ECHO_C" >&6
13027 ac_check_lib_save_LIBS=$LIBS
13029 if test x$gcc_no_link = xyes; then
13030 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13032 { (exit 1); exit 1; }; }
13034 cat >conftest.$ac_ext <<_ACEOF
13037 cat confdefs.h >>conftest.$ac_ext
13038 cat >>conftest.$ac_ext <<_ACEOF
13039 /* end confdefs.h. */
13041 /* Override any gcc2 internal prototype to avoid an error. */
13045 /* We use char because int might match the return type of a gcc2
13046 builtin and then its argument prototype would still apply. */
13056 rm -f conftest.$ac_objext conftest$ac_exeext
13057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13058 (eval $ac_link) 2>conftest.er1
13060 grep -v '^ *+' conftest.er1 >conftest.err
13062 cat conftest.err >&5
13063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13064 (exit $ac_status); } &&
13065 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13067 (eval $ac_try) 2>&5
13069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070 (exit $ac_status); }; } &&
13071 { ac_try='test -s conftest$ac_exeext'
13072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13073 (eval $ac_try) 2>&5
13075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13076 (exit $ac_status); }; }; then
13077 ac_cv_lib_m_clogl=yes
13079 echo "$as_me: failed program was:" >&5
13080 sed 's/^/| /' conftest.$ac_ext >&5
13082 ac_cv_lib_m_clogl=no
13084 rm -f conftest.err conftest.$ac_objext \
13085 conftest$ac_exeext conftest.$ac_ext
13086 LIBS=$ac_check_lib_save_LIBS
13088 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
13089 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
13090 if test $ac_cv_lib_m_clogl = yes; then
13092 cat >>confdefs.h <<\_ACEOF
13093 #define HAVE_CLOGL 1
13098 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
13099 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
13100 if test "${ac_cv_lib_m_log10f+set}" = set; then
13101 echo $ECHO_N "(cached) $ECHO_C" >&6
13103 ac_check_lib_save_LIBS=$LIBS
13105 if test x$gcc_no_link = xyes; then
13106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13108 { (exit 1); exit 1; }; }
13110 cat >conftest.$ac_ext <<_ACEOF
13113 cat confdefs.h >>conftest.$ac_ext
13114 cat >>conftest.$ac_ext <<_ACEOF
13115 /* end confdefs.h. */
13117 /* Override any gcc2 internal prototype to avoid an error. */
13121 /* We use char because int might match the return type of a gcc2
13122 builtin and then its argument prototype would still apply. */
13132 rm -f conftest.$ac_objext conftest$ac_exeext
13133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13134 (eval $ac_link) 2>conftest.er1
13136 grep -v '^ *+' conftest.er1 >conftest.err
13138 cat conftest.err >&5
13139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13140 (exit $ac_status); } &&
13141 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13143 (eval $ac_try) 2>&5
13145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13146 (exit $ac_status); }; } &&
13147 { ac_try='test -s conftest$ac_exeext'
13148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13149 (eval $ac_try) 2>&5
13151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13152 (exit $ac_status); }; }; then
13153 ac_cv_lib_m_log10f=yes
13155 echo "$as_me: failed program was:" >&5
13156 sed 's/^/| /' conftest.$ac_ext >&5
13158 ac_cv_lib_m_log10f=no
13160 rm -f conftest.err conftest.$ac_objext \
13161 conftest$ac_exeext conftest.$ac_ext
13162 LIBS=$ac_check_lib_save_LIBS
13164 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
13165 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
13166 if test $ac_cv_lib_m_log10f = yes; then
13168 cat >>confdefs.h <<\_ACEOF
13169 #define HAVE_LOG10F 1
13174 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
13175 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
13176 if test "${ac_cv_lib_m_log10+set}" = set; then
13177 echo $ECHO_N "(cached) $ECHO_C" >&6
13179 ac_check_lib_save_LIBS=$LIBS
13181 if test x$gcc_no_link = xyes; then
13182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13184 { (exit 1); exit 1; }; }
13186 cat >conftest.$ac_ext <<_ACEOF
13189 cat confdefs.h >>conftest.$ac_ext
13190 cat >>conftest.$ac_ext <<_ACEOF
13191 /* end confdefs.h. */
13193 /* Override any gcc2 internal prototype to avoid an error. */
13197 /* We use char because int might match the return type of a gcc2
13198 builtin and then its argument prototype would still apply. */
13208 rm -f conftest.$ac_objext conftest$ac_exeext
13209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13210 (eval $ac_link) 2>conftest.er1
13212 grep -v '^ *+' conftest.er1 >conftest.err
13214 cat conftest.err >&5
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13216 (exit $ac_status); } &&
13217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13219 (eval $ac_try) 2>&5
13221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13222 (exit $ac_status); }; } &&
13223 { ac_try='test -s conftest$ac_exeext'
13224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13225 (eval $ac_try) 2>&5
13227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13228 (exit $ac_status); }; }; then
13229 ac_cv_lib_m_log10=yes
13231 echo "$as_me: failed program was:" >&5
13232 sed 's/^/| /' conftest.$ac_ext >&5
13234 ac_cv_lib_m_log10=no
13236 rm -f conftest.err conftest.$ac_objext \
13237 conftest$ac_exeext conftest.$ac_ext
13238 LIBS=$ac_check_lib_save_LIBS
13240 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
13241 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
13242 if test $ac_cv_lib_m_log10 = yes; then
13244 cat >>confdefs.h <<\_ACEOF
13245 #define HAVE_LOG10 1
13250 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
13251 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
13252 if test "${ac_cv_lib_m_log10l+set}" = set; then
13253 echo $ECHO_N "(cached) $ECHO_C" >&6
13255 ac_check_lib_save_LIBS=$LIBS
13257 if test x$gcc_no_link = xyes; then
13258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13260 { (exit 1); exit 1; }; }
13262 cat >conftest.$ac_ext <<_ACEOF
13265 cat confdefs.h >>conftest.$ac_ext
13266 cat >>conftest.$ac_ext <<_ACEOF
13267 /* end confdefs.h. */
13269 /* Override any gcc2 internal prototype to avoid an error. */
13273 /* We use char because int might match the return type of a gcc2
13274 builtin and then its argument prototype would still apply. */
13284 rm -f conftest.$ac_objext conftest$ac_exeext
13285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13286 (eval $ac_link) 2>conftest.er1
13288 grep -v '^ *+' conftest.er1 >conftest.err
13290 cat conftest.err >&5
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292 (exit $ac_status); } &&
13293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13295 (eval $ac_try) 2>&5
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); }; } &&
13299 { ac_try='test -s conftest$ac_exeext'
13300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13301 (eval $ac_try) 2>&5
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); }; }; then
13305 ac_cv_lib_m_log10l=yes
13307 echo "$as_me: failed program was:" >&5
13308 sed 's/^/| /' conftest.$ac_ext >&5
13310 ac_cv_lib_m_log10l=no
13312 rm -f conftest.err conftest.$ac_objext \
13313 conftest$ac_exeext conftest.$ac_ext
13314 LIBS=$ac_check_lib_save_LIBS
13316 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
13317 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
13318 if test $ac_cv_lib_m_log10l = yes; then
13320 cat >>confdefs.h <<\_ACEOF
13321 #define HAVE_LOG10L 1
13326 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
13327 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
13328 if test "${ac_cv_lib_m_clog10f+set}" = set; then
13329 echo $ECHO_N "(cached) $ECHO_C" >&6
13331 ac_check_lib_save_LIBS=$LIBS
13333 if test x$gcc_no_link = xyes; then
13334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13336 { (exit 1); exit 1; }; }
13338 cat >conftest.$ac_ext <<_ACEOF
13341 cat confdefs.h >>conftest.$ac_ext
13342 cat >>conftest.$ac_ext <<_ACEOF
13343 /* end confdefs.h. */
13345 /* Override any gcc2 internal prototype to avoid an error. */
13349 /* We use char because int might match the return type of a gcc2
13350 builtin and then its argument prototype would still apply. */
13360 rm -f conftest.$ac_objext conftest$ac_exeext
13361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13362 (eval $ac_link) 2>conftest.er1
13364 grep -v '^ *+' conftest.er1 >conftest.err
13366 cat conftest.err >&5
13367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13368 (exit $ac_status); } &&
13369 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13371 (eval $ac_try) 2>&5
13373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13374 (exit $ac_status); }; } &&
13375 { ac_try='test -s conftest$ac_exeext'
13376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13377 (eval $ac_try) 2>&5
13379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13380 (exit $ac_status); }; }; then
13381 ac_cv_lib_m_clog10f=yes
13383 echo "$as_me: failed program was:" >&5
13384 sed 's/^/| /' conftest.$ac_ext >&5
13386 ac_cv_lib_m_clog10f=no
13388 rm -f conftest.err conftest.$ac_objext \
13389 conftest$ac_exeext conftest.$ac_ext
13390 LIBS=$ac_check_lib_save_LIBS
13392 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
13393 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
13394 if test $ac_cv_lib_m_clog10f = yes; then
13396 cat >>confdefs.h <<\_ACEOF
13397 #define HAVE_CLOG10F 1
13402 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
13403 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
13404 if test "${ac_cv_lib_m_clog10+set}" = set; then
13405 echo $ECHO_N "(cached) $ECHO_C" >&6
13407 ac_check_lib_save_LIBS=$LIBS
13409 if test x$gcc_no_link = xyes; then
13410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13412 { (exit 1); exit 1; }; }
13414 cat >conftest.$ac_ext <<_ACEOF
13417 cat confdefs.h >>conftest.$ac_ext
13418 cat >>conftest.$ac_ext <<_ACEOF
13419 /* end confdefs.h. */
13421 /* Override any gcc2 internal prototype to avoid an error. */
13425 /* We use char because int might match the return type of a gcc2
13426 builtin and then its argument prototype would still apply. */
13436 rm -f conftest.$ac_objext conftest$ac_exeext
13437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13438 (eval $ac_link) 2>conftest.er1
13440 grep -v '^ *+' conftest.er1 >conftest.err
13442 cat conftest.err >&5
13443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13444 (exit $ac_status); } &&
13445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13447 (eval $ac_try) 2>&5
13449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13450 (exit $ac_status); }; } &&
13451 { ac_try='test -s conftest$ac_exeext'
13452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13453 (eval $ac_try) 2>&5
13455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13456 (exit $ac_status); }; }; then
13457 ac_cv_lib_m_clog10=yes
13459 echo "$as_me: failed program was:" >&5
13460 sed 's/^/| /' conftest.$ac_ext >&5
13462 ac_cv_lib_m_clog10=no
13464 rm -f conftest.err conftest.$ac_objext \
13465 conftest$ac_exeext conftest.$ac_ext
13466 LIBS=$ac_check_lib_save_LIBS
13468 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
13469 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
13470 if test $ac_cv_lib_m_clog10 = yes; then
13472 cat >>confdefs.h <<\_ACEOF
13473 #define HAVE_CLOG10 1
13478 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
13479 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
13480 if test "${ac_cv_lib_m_clog10l+set}" = set; then
13481 echo $ECHO_N "(cached) $ECHO_C" >&6
13483 ac_check_lib_save_LIBS=$LIBS
13485 if test x$gcc_no_link = xyes; then
13486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13488 { (exit 1); exit 1; }; }
13490 cat >conftest.$ac_ext <<_ACEOF
13493 cat confdefs.h >>conftest.$ac_ext
13494 cat >>conftest.$ac_ext <<_ACEOF
13495 /* end confdefs.h. */
13497 /* Override any gcc2 internal prototype to avoid an error. */
13501 /* We use char because int might match the return type of a gcc2
13502 builtin and then its argument prototype would still apply. */
13512 rm -f conftest.$ac_objext conftest$ac_exeext
13513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13514 (eval $ac_link) 2>conftest.er1
13516 grep -v '^ *+' conftest.er1 >conftest.err
13518 cat conftest.err >&5
13519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13520 (exit $ac_status); } &&
13521 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13523 (eval $ac_try) 2>&5
13525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13526 (exit $ac_status); }; } &&
13527 { ac_try='test -s conftest$ac_exeext'
13528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13529 (eval $ac_try) 2>&5
13531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13532 (exit $ac_status); }; }; then
13533 ac_cv_lib_m_clog10l=yes
13535 echo "$as_me: failed program was:" >&5
13536 sed 's/^/| /' conftest.$ac_ext >&5
13538 ac_cv_lib_m_clog10l=no
13540 rm -f conftest.err conftest.$ac_objext \
13541 conftest$ac_exeext conftest.$ac_ext
13542 LIBS=$ac_check_lib_save_LIBS
13544 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
13545 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
13546 if test $ac_cv_lib_m_clog10l = yes; then
13548 cat >>confdefs.h <<\_ACEOF
13549 #define HAVE_CLOG10L 1
13554 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
13555 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
13556 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
13557 echo $ECHO_N "(cached) $ECHO_C" >&6
13559 ac_check_lib_save_LIBS=$LIBS
13561 if test x$gcc_no_link = xyes; then
13562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13564 { (exit 1); exit 1; }; }
13566 cat >conftest.$ac_ext <<_ACEOF
13569 cat confdefs.h >>conftest.$ac_ext
13570 cat >>conftest.$ac_ext <<_ACEOF
13571 /* end confdefs.h. */
13573 /* Override any gcc2 internal prototype to avoid an error. */
13577 /* We use char because int might match the return type of a gcc2
13578 builtin and then its argument prototype would still apply. */
13579 char nextafterf ();
13588 rm -f conftest.$ac_objext conftest$ac_exeext
13589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13590 (eval $ac_link) 2>conftest.er1
13592 grep -v '^ *+' conftest.er1 >conftest.err
13594 cat conftest.err >&5
13595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13596 (exit $ac_status); } &&
13597 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13599 (eval $ac_try) 2>&5
13601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13602 (exit $ac_status); }; } &&
13603 { ac_try='test -s conftest$ac_exeext'
13604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13605 (eval $ac_try) 2>&5
13607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13608 (exit $ac_status); }; }; then
13609 ac_cv_lib_m_nextafterf=yes
13611 echo "$as_me: failed program was:" >&5
13612 sed 's/^/| /' conftest.$ac_ext >&5
13614 ac_cv_lib_m_nextafterf=no
13616 rm -f conftest.err conftest.$ac_objext \
13617 conftest$ac_exeext conftest.$ac_ext
13618 LIBS=$ac_check_lib_save_LIBS
13620 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
13621 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
13622 if test $ac_cv_lib_m_nextafterf = yes; then
13624 cat >>confdefs.h <<\_ACEOF
13625 #define HAVE_NEXTAFTERF 1
13630 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
13631 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
13632 if test "${ac_cv_lib_m_nextafter+set}" = set; then
13633 echo $ECHO_N "(cached) $ECHO_C" >&6
13635 ac_check_lib_save_LIBS=$LIBS
13637 if test x$gcc_no_link = xyes; then
13638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13640 { (exit 1); exit 1; }; }
13642 cat >conftest.$ac_ext <<_ACEOF
13645 cat confdefs.h >>conftest.$ac_ext
13646 cat >>conftest.$ac_ext <<_ACEOF
13647 /* end confdefs.h. */
13649 /* Override any gcc2 internal prototype to avoid an error. */
13653 /* We use char because int might match the return type of a gcc2
13654 builtin and then its argument prototype would still apply. */
13664 rm -f conftest.$ac_objext conftest$ac_exeext
13665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13666 (eval $ac_link) 2>conftest.er1
13668 grep -v '^ *+' conftest.er1 >conftest.err
13670 cat conftest.err >&5
13671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13672 (exit $ac_status); } &&
13673 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13675 (eval $ac_try) 2>&5
13677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13678 (exit $ac_status); }; } &&
13679 { ac_try='test -s conftest$ac_exeext'
13680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13681 (eval $ac_try) 2>&5
13683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 (exit $ac_status); }; }; then
13685 ac_cv_lib_m_nextafter=yes
13687 echo "$as_me: failed program was:" >&5
13688 sed 's/^/| /' conftest.$ac_ext >&5
13690 ac_cv_lib_m_nextafter=no
13692 rm -f conftest.err conftest.$ac_objext \
13693 conftest$ac_exeext conftest.$ac_ext
13694 LIBS=$ac_check_lib_save_LIBS
13696 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
13697 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
13698 if test $ac_cv_lib_m_nextafter = yes; then
13700 cat >>confdefs.h <<\_ACEOF
13701 #define HAVE_NEXTAFTER 1
13706 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
13707 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
13708 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
13709 echo $ECHO_N "(cached) $ECHO_C" >&6
13711 ac_check_lib_save_LIBS=$LIBS
13713 if test x$gcc_no_link = xyes; then
13714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13716 { (exit 1); exit 1; }; }
13718 cat >conftest.$ac_ext <<_ACEOF
13721 cat confdefs.h >>conftest.$ac_ext
13722 cat >>conftest.$ac_ext <<_ACEOF
13723 /* end confdefs.h. */
13725 /* Override any gcc2 internal prototype to avoid an error. */
13729 /* We use char because int might match the return type of a gcc2
13730 builtin and then its argument prototype would still apply. */
13731 char nextafterl ();
13740 rm -f conftest.$ac_objext conftest$ac_exeext
13741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13742 (eval $ac_link) 2>conftest.er1
13744 grep -v '^ *+' conftest.er1 >conftest.err
13746 cat conftest.err >&5
13747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13748 (exit $ac_status); } &&
13749 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13751 (eval $ac_try) 2>&5
13753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13754 (exit $ac_status); }; } &&
13755 { ac_try='test -s conftest$ac_exeext'
13756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13757 (eval $ac_try) 2>&5
13759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13760 (exit $ac_status); }; }; then
13761 ac_cv_lib_m_nextafterl=yes
13763 echo "$as_me: failed program was:" >&5
13764 sed 's/^/| /' conftest.$ac_ext >&5
13766 ac_cv_lib_m_nextafterl=no
13768 rm -f conftest.err conftest.$ac_objext \
13769 conftest$ac_exeext conftest.$ac_ext
13770 LIBS=$ac_check_lib_save_LIBS
13772 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
13773 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
13774 if test $ac_cv_lib_m_nextafterl = yes; then
13776 cat >>confdefs.h <<\_ACEOF
13777 #define HAVE_NEXTAFTERL 1
13782 echo "$as_me:$LINENO: checking for powf in -lm" >&5
13783 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
13784 if test "${ac_cv_lib_m_powf+set}" = set; then
13785 echo $ECHO_N "(cached) $ECHO_C" >&6
13787 ac_check_lib_save_LIBS=$LIBS
13789 if test x$gcc_no_link = xyes; then
13790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13792 { (exit 1); exit 1; }; }
13794 cat >conftest.$ac_ext <<_ACEOF
13797 cat confdefs.h >>conftest.$ac_ext
13798 cat >>conftest.$ac_ext <<_ACEOF
13799 /* end confdefs.h. */
13801 /* Override any gcc2 internal prototype to avoid an error. */
13805 /* We use char because int might match the return type of a gcc2
13806 builtin and then its argument prototype would still apply. */
13816 rm -f conftest.$ac_objext conftest$ac_exeext
13817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13818 (eval $ac_link) 2>conftest.er1
13820 grep -v '^ *+' conftest.er1 >conftest.err
13822 cat conftest.err >&5
13823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13824 (exit $ac_status); } &&
13825 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13827 (eval $ac_try) 2>&5
13829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13830 (exit $ac_status); }; } &&
13831 { ac_try='test -s conftest$ac_exeext'
13832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13833 (eval $ac_try) 2>&5
13835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836 (exit $ac_status); }; }; then
13837 ac_cv_lib_m_powf=yes
13839 echo "$as_me: failed program was:" >&5
13840 sed 's/^/| /' conftest.$ac_ext >&5
13842 ac_cv_lib_m_powf=no
13844 rm -f conftest.err conftest.$ac_objext \
13845 conftest$ac_exeext conftest.$ac_ext
13846 LIBS=$ac_check_lib_save_LIBS
13848 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
13849 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
13850 if test $ac_cv_lib_m_powf = yes; then
13852 cat >>confdefs.h <<\_ACEOF
13853 #define HAVE_POWF 1
13858 echo "$as_me:$LINENO: checking for pow in -lm" >&5
13859 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
13860 if test "${ac_cv_lib_m_pow+set}" = set; then
13861 echo $ECHO_N "(cached) $ECHO_C" >&6
13863 ac_check_lib_save_LIBS=$LIBS
13865 if test x$gcc_no_link = xyes; then
13866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13868 { (exit 1); exit 1; }; }
13870 cat >conftest.$ac_ext <<_ACEOF
13873 cat confdefs.h >>conftest.$ac_ext
13874 cat >>conftest.$ac_ext <<_ACEOF
13875 /* end confdefs.h. */
13877 /* Override any gcc2 internal prototype to avoid an error. */
13881 /* We use char because int might match the return type of a gcc2
13882 builtin and then its argument prototype would still apply. */
13892 rm -f conftest.$ac_objext conftest$ac_exeext
13893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13894 (eval $ac_link) 2>conftest.er1
13896 grep -v '^ *+' conftest.er1 >conftest.err
13898 cat conftest.err >&5
13899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13900 (exit $ac_status); } &&
13901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13903 (eval $ac_try) 2>&5
13905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13906 (exit $ac_status); }; } &&
13907 { ac_try='test -s conftest$ac_exeext'
13908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13909 (eval $ac_try) 2>&5
13911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13912 (exit $ac_status); }; }; then
13913 ac_cv_lib_m_pow=yes
13915 echo "$as_me: failed program was:" >&5
13916 sed 's/^/| /' conftest.$ac_ext >&5
13920 rm -f conftest.err conftest.$ac_objext \
13921 conftest$ac_exeext conftest.$ac_ext
13922 LIBS=$ac_check_lib_save_LIBS
13924 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
13925 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
13926 if test $ac_cv_lib_m_pow = yes; then
13928 cat >>confdefs.h <<\_ACEOF
13934 echo "$as_me:$LINENO: checking for powl in -lm" >&5
13935 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
13936 if test "${ac_cv_lib_m_powl+set}" = set; then
13937 echo $ECHO_N "(cached) $ECHO_C" >&6
13939 ac_check_lib_save_LIBS=$LIBS
13941 if test x$gcc_no_link = xyes; then
13942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13944 { (exit 1); exit 1; }; }
13946 cat >conftest.$ac_ext <<_ACEOF
13949 cat confdefs.h >>conftest.$ac_ext
13950 cat >>conftest.$ac_ext <<_ACEOF
13951 /* end confdefs.h. */
13953 /* Override any gcc2 internal prototype to avoid an error. */
13957 /* We use char because int might match the return type of a gcc2
13958 builtin and then its argument prototype would still apply. */
13968 rm -f conftest.$ac_objext conftest$ac_exeext
13969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13970 (eval $ac_link) 2>conftest.er1
13972 grep -v '^ *+' conftest.er1 >conftest.err
13974 cat conftest.err >&5
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); } &&
13977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13979 (eval $ac_try) 2>&5
13981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13982 (exit $ac_status); }; } &&
13983 { ac_try='test -s conftest$ac_exeext'
13984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13985 (eval $ac_try) 2>&5
13987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13988 (exit $ac_status); }; }; then
13989 ac_cv_lib_m_powl=yes
13991 echo "$as_me: failed program was:" >&5
13992 sed 's/^/| /' conftest.$ac_ext >&5
13994 ac_cv_lib_m_powl=no
13996 rm -f conftest.err conftest.$ac_objext \
13997 conftest$ac_exeext conftest.$ac_ext
13998 LIBS=$ac_check_lib_save_LIBS
14000 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
14001 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
14002 if test $ac_cv_lib_m_powl = yes; then
14004 cat >>confdefs.h <<\_ACEOF
14005 #define HAVE_POWL 1
14010 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
14011 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
14012 if test "${ac_cv_lib_m_cpowf+set}" = set; then
14013 echo $ECHO_N "(cached) $ECHO_C" >&6
14015 ac_check_lib_save_LIBS=$LIBS
14017 if test x$gcc_no_link = xyes; then
14018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14020 { (exit 1); exit 1; }; }
14022 cat >conftest.$ac_ext <<_ACEOF
14025 cat confdefs.h >>conftest.$ac_ext
14026 cat >>conftest.$ac_ext <<_ACEOF
14027 /* end confdefs.h. */
14029 /* Override any gcc2 internal prototype to avoid an error. */
14033 /* We use char because int might match the return type of a gcc2
14034 builtin and then its argument prototype would still apply. */
14044 rm -f conftest.$ac_objext conftest$ac_exeext
14045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14046 (eval $ac_link) 2>conftest.er1
14048 grep -v '^ *+' conftest.er1 >conftest.err
14050 cat conftest.err >&5
14051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14052 (exit $ac_status); } &&
14053 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14055 (eval $ac_try) 2>&5
14057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14058 (exit $ac_status); }; } &&
14059 { ac_try='test -s conftest$ac_exeext'
14060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14061 (eval $ac_try) 2>&5
14063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14064 (exit $ac_status); }; }; then
14065 ac_cv_lib_m_cpowf=yes
14067 echo "$as_me: failed program was:" >&5
14068 sed 's/^/| /' conftest.$ac_ext >&5
14070 ac_cv_lib_m_cpowf=no
14072 rm -f conftest.err conftest.$ac_objext \
14073 conftest$ac_exeext conftest.$ac_ext
14074 LIBS=$ac_check_lib_save_LIBS
14076 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
14077 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
14078 if test $ac_cv_lib_m_cpowf = yes; then
14080 cat >>confdefs.h <<\_ACEOF
14081 #define HAVE_CPOWF 1
14086 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
14087 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
14088 if test "${ac_cv_lib_m_cpow+set}" = set; then
14089 echo $ECHO_N "(cached) $ECHO_C" >&6
14091 ac_check_lib_save_LIBS=$LIBS
14093 if test x$gcc_no_link = xyes; then
14094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14096 { (exit 1); exit 1; }; }
14098 cat >conftest.$ac_ext <<_ACEOF
14101 cat confdefs.h >>conftest.$ac_ext
14102 cat >>conftest.$ac_ext <<_ACEOF
14103 /* end confdefs.h. */
14105 /* Override any gcc2 internal prototype to avoid an error. */
14109 /* We use char because int might match the return type of a gcc2
14110 builtin and then its argument prototype would still apply. */
14120 rm -f conftest.$ac_objext conftest$ac_exeext
14121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14122 (eval $ac_link) 2>conftest.er1
14124 grep -v '^ *+' conftest.er1 >conftest.err
14126 cat conftest.err >&5
14127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14128 (exit $ac_status); } &&
14129 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14131 (eval $ac_try) 2>&5
14133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14134 (exit $ac_status); }; } &&
14135 { ac_try='test -s conftest$ac_exeext'
14136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14137 (eval $ac_try) 2>&5
14139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14140 (exit $ac_status); }; }; then
14141 ac_cv_lib_m_cpow=yes
14143 echo "$as_me: failed program was:" >&5
14144 sed 's/^/| /' conftest.$ac_ext >&5
14146 ac_cv_lib_m_cpow=no
14148 rm -f conftest.err conftest.$ac_objext \
14149 conftest$ac_exeext conftest.$ac_ext
14150 LIBS=$ac_check_lib_save_LIBS
14152 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
14153 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
14154 if test $ac_cv_lib_m_cpow = yes; then
14156 cat >>confdefs.h <<\_ACEOF
14157 #define HAVE_CPOW 1
14162 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
14163 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
14164 if test "${ac_cv_lib_m_cpowl+set}" = set; then
14165 echo $ECHO_N "(cached) $ECHO_C" >&6
14167 ac_check_lib_save_LIBS=$LIBS
14169 if test x$gcc_no_link = xyes; then
14170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14172 { (exit 1); exit 1; }; }
14174 cat >conftest.$ac_ext <<_ACEOF
14177 cat confdefs.h >>conftest.$ac_ext
14178 cat >>conftest.$ac_ext <<_ACEOF
14179 /* end confdefs.h. */
14181 /* Override any gcc2 internal prototype to avoid an error. */
14185 /* We use char because int might match the return type of a gcc2
14186 builtin and then its argument prototype would still apply. */
14196 rm -f conftest.$ac_objext conftest$ac_exeext
14197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14198 (eval $ac_link) 2>conftest.er1
14200 grep -v '^ *+' conftest.er1 >conftest.err
14202 cat conftest.err >&5
14203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14204 (exit $ac_status); } &&
14205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14207 (eval $ac_try) 2>&5
14209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14210 (exit $ac_status); }; } &&
14211 { ac_try='test -s conftest$ac_exeext'
14212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14213 (eval $ac_try) 2>&5
14215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14216 (exit $ac_status); }; }; then
14217 ac_cv_lib_m_cpowl=yes
14219 echo "$as_me: failed program was:" >&5
14220 sed 's/^/| /' conftest.$ac_ext >&5
14222 ac_cv_lib_m_cpowl=no
14224 rm -f conftest.err conftest.$ac_objext \
14225 conftest$ac_exeext conftest.$ac_ext
14226 LIBS=$ac_check_lib_save_LIBS
14228 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
14229 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
14230 if test $ac_cv_lib_m_cpowl = yes; then
14232 cat >>confdefs.h <<\_ACEOF
14233 #define HAVE_CPOWL 1
14238 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
14239 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
14240 if test "${ac_cv_lib_m_roundf+set}" = set; then
14241 echo $ECHO_N "(cached) $ECHO_C" >&6
14243 ac_check_lib_save_LIBS=$LIBS
14245 if test x$gcc_no_link = xyes; then
14246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14248 { (exit 1); exit 1; }; }
14250 cat >conftest.$ac_ext <<_ACEOF
14253 cat confdefs.h >>conftest.$ac_ext
14254 cat >>conftest.$ac_ext <<_ACEOF
14255 /* end confdefs.h. */
14257 /* Override any gcc2 internal prototype to avoid an error. */
14261 /* We use char because int might match the return type of a gcc2
14262 builtin and then its argument prototype would still apply. */
14272 rm -f conftest.$ac_objext conftest$ac_exeext
14273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14274 (eval $ac_link) 2>conftest.er1
14276 grep -v '^ *+' conftest.er1 >conftest.err
14278 cat conftest.err >&5
14279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14280 (exit $ac_status); } &&
14281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14283 (eval $ac_try) 2>&5
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); }; } &&
14287 { ac_try='test -s conftest$ac_exeext'
14288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14289 (eval $ac_try) 2>&5
14291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14292 (exit $ac_status); }; }; then
14293 ac_cv_lib_m_roundf=yes
14295 echo "$as_me: failed program was:" >&5
14296 sed 's/^/| /' conftest.$ac_ext >&5
14298 ac_cv_lib_m_roundf=no
14300 rm -f conftest.err conftest.$ac_objext \
14301 conftest$ac_exeext conftest.$ac_ext
14302 LIBS=$ac_check_lib_save_LIBS
14304 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
14305 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
14306 if test $ac_cv_lib_m_roundf = yes; then
14308 cat >>confdefs.h <<\_ACEOF
14309 #define HAVE_ROUNDF 1
14314 echo "$as_me:$LINENO: checking for round in -lm" >&5
14315 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
14316 if test "${ac_cv_lib_m_round+set}" = set; then
14317 echo $ECHO_N "(cached) $ECHO_C" >&6
14319 ac_check_lib_save_LIBS=$LIBS
14321 if test x$gcc_no_link = xyes; then
14322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14324 { (exit 1); exit 1; }; }
14326 cat >conftest.$ac_ext <<_ACEOF
14329 cat confdefs.h >>conftest.$ac_ext
14330 cat >>conftest.$ac_ext <<_ACEOF
14331 /* end confdefs.h. */
14333 /* Override any gcc2 internal prototype to avoid an error. */
14337 /* We use char because int might match the return type of a gcc2
14338 builtin and then its argument prototype would still apply. */
14348 rm -f conftest.$ac_objext conftest$ac_exeext
14349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14350 (eval $ac_link) 2>conftest.er1
14352 grep -v '^ *+' conftest.er1 >conftest.err
14354 cat conftest.err >&5
14355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14356 (exit $ac_status); } &&
14357 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14359 (eval $ac_try) 2>&5
14361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362 (exit $ac_status); }; } &&
14363 { ac_try='test -s conftest$ac_exeext'
14364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14365 (eval $ac_try) 2>&5
14367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14368 (exit $ac_status); }; }; then
14369 ac_cv_lib_m_round=yes
14371 echo "$as_me: failed program was:" >&5
14372 sed 's/^/| /' conftest.$ac_ext >&5
14374 ac_cv_lib_m_round=no
14376 rm -f conftest.err conftest.$ac_objext \
14377 conftest$ac_exeext conftest.$ac_ext
14378 LIBS=$ac_check_lib_save_LIBS
14380 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
14381 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
14382 if test $ac_cv_lib_m_round = yes; then
14384 cat >>confdefs.h <<\_ACEOF
14385 #define HAVE_ROUND 1
14390 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
14391 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
14392 if test "${ac_cv_lib_m_roundl+set}" = set; then
14393 echo $ECHO_N "(cached) $ECHO_C" >&6
14395 ac_check_lib_save_LIBS=$LIBS
14397 if test x$gcc_no_link = xyes; then
14398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14400 { (exit 1); exit 1; }; }
14402 cat >conftest.$ac_ext <<_ACEOF
14405 cat confdefs.h >>conftest.$ac_ext
14406 cat >>conftest.$ac_ext <<_ACEOF
14407 /* end confdefs.h. */
14409 /* Override any gcc2 internal prototype to avoid an error. */
14413 /* We use char because int might match the return type of a gcc2
14414 builtin and then its argument prototype would still apply. */
14424 rm -f conftest.$ac_objext conftest$ac_exeext
14425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14426 (eval $ac_link) 2>conftest.er1
14428 grep -v '^ *+' conftest.er1 >conftest.err
14430 cat conftest.err >&5
14431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14432 (exit $ac_status); } &&
14433 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14435 (eval $ac_try) 2>&5
14437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14438 (exit $ac_status); }; } &&
14439 { ac_try='test -s conftest$ac_exeext'
14440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14441 (eval $ac_try) 2>&5
14443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444 (exit $ac_status); }; }; then
14445 ac_cv_lib_m_roundl=yes
14447 echo "$as_me: failed program was:" >&5
14448 sed 's/^/| /' conftest.$ac_ext >&5
14450 ac_cv_lib_m_roundl=no
14452 rm -f conftest.err conftest.$ac_objext \
14453 conftest$ac_exeext conftest.$ac_ext
14454 LIBS=$ac_check_lib_save_LIBS
14456 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
14457 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
14458 if test $ac_cv_lib_m_roundl = yes; then
14460 cat >>confdefs.h <<\_ACEOF
14461 #define HAVE_ROUNDL 1
14466 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
14467 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
14468 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
14469 echo $ECHO_N "(cached) $ECHO_C" >&6
14471 ac_check_lib_save_LIBS=$LIBS
14473 if test x$gcc_no_link = xyes; then
14474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14476 { (exit 1); exit 1; }; }
14478 cat >conftest.$ac_ext <<_ACEOF
14481 cat confdefs.h >>conftest.$ac_ext
14482 cat >>conftest.$ac_ext <<_ACEOF
14483 /* end confdefs.h. */
14485 /* Override any gcc2 internal prototype to avoid an error. */
14489 /* We use char because int might match the return type of a gcc2
14490 builtin and then its argument prototype would still apply. */
14500 rm -f conftest.$ac_objext conftest$ac_exeext
14501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14502 (eval $ac_link) 2>conftest.er1
14504 grep -v '^ *+' conftest.er1 >conftest.err
14506 cat conftest.err >&5
14507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14508 (exit $ac_status); } &&
14509 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14511 (eval $ac_try) 2>&5
14513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14514 (exit $ac_status); }; } &&
14515 { ac_try='test -s conftest$ac_exeext'
14516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14517 (eval $ac_try) 2>&5
14519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14520 (exit $ac_status); }; }; then
14521 ac_cv_lib_m_scalbnf=yes
14523 echo "$as_me: failed program was:" >&5
14524 sed 's/^/| /' conftest.$ac_ext >&5
14526 ac_cv_lib_m_scalbnf=no
14528 rm -f conftest.err conftest.$ac_objext \
14529 conftest$ac_exeext conftest.$ac_ext
14530 LIBS=$ac_check_lib_save_LIBS
14532 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
14533 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
14534 if test $ac_cv_lib_m_scalbnf = yes; then
14536 cat >>confdefs.h <<\_ACEOF
14537 #define HAVE_SCALBNF 1
14542 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
14543 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
14544 if test "${ac_cv_lib_m_scalbn+set}" = set; then
14545 echo $ECHO_N "(cached) $ECHO_C" >&6
14547 ac_check_lib_save_LIBS=$LIBS
14549 if test x$gcc_no_link = xyes; then
14550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14552 { (exit 1); exit 1; }; }
14554 cat >conftest.$ac_ext <<_ACEOF
14557 cat confdefs.h >>conftest.$ac_ext
14558 cat >>conftest.$ac_ext <<_ACEOF
14559 /* end confdefs.h. */
14561 /* Override any gcc2 internal prototype to avoid an error. */
14565 /* We use char because int might match the return type of a gcc2
14566 builtin and then its argument prototype would still apply. */
14576 rm -f conftest.$ac_objext conftest$ac_exeext
14577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14578 (eval $ac_link) 2>conftest.er1
14580 grep -v '^ *+' conftest.er1 >conftest.err
14582 cat conftest.err >&5
14583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14584 (exit $ac_status); } &&
14585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14587 (eval $ac_try) 2>&5
14589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14590 (exit $ac_status); }; } &&
14591 { ac_try='test -s conftest$ac_exeext'
14592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14593 (eval $ac_try) 2>&5
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 (exit $ac_status); }; }; then
14597 ac_cv_lib_m_scalbn=yes
14599 echo "$as_me: failed program was:" >&5
14600 sed 's/^/| /' conftest.$ac_ext >&5
14602 ac_cv_lib_m_scalbn=no
14604 rm -f conftest.err conftest.$ac_objext \
14605 conftest$ac_exeext conftest.$ac_ext
14606 LIBS=$ac_check_lib_save_LIBS
14608 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
14609 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
14610 if test $ac_cv_lib_m_scalbn = yes; then
14612 cat >>confdefs.h <<\_ACEOF
14613 #define HAVE_SCALBN 1
14618 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
14619 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
14620 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
14621 echo $ECHO_N "(cached) $ECHO_C" >&6
14623 ac_check_lib_save_LIBS=$LIBS
14625 if test x$gcc_no_link = xyes; then
14626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14628 { (exit 1); exit 1; }; }
14630 cat >conftest.$ac_ext <<_ACEOF
14633 cat confdefs.h >>conftest.$ac_ext
14634 cat >>conftest.$ac_ext <<_ACEOF
14635 /* end confdefs.h. */
14637 /* Override any gcc2 internal prototype to avoid an error. */
14641 /* We use char because int might match the return type of a gcc2
14642 builtin and then its argument prototype would still apply. */
14652 rm -f conftest.$ac_objext conftest$ac_exeext
14653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14654 (eval $ac_link) 2>conftest.er1
14656 grep -v '^ *+' conftest.er1 >conftest.err
14658 cat conftest.err >&5
14659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14660 (exit $ac_status); } &&
14661 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14663 (eval $ac_try) 2>&5
14665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14666 (exit $ac_status); }; } &&
14667 { ac_try='test -s conftest$ac_exeext'
14668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14669 (eval $ac_try) 2>&5
14671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672 (exit $ac_status); }; }; then
14673 ac_cv_lib_m_scalbnl=yes
14675 echo "$as_me: failed program was:" >&5
14676 sed 's/^/| /' conftest.$ac_ext >&5
14678 ac_cv_lib_m_scalbnl=no
14680 rm -f conftest.err conftest.$ac_objext \
14681 conftest$ac_exeext conftest.$ac_ext
14682 LIBS=$ac_check_lib_save_LIBS
14684 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
14685 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
14686 if test $ac_cv_lib_m_scalbnl = yes; then
14688 cat >>confdefs.h <<\_ACEOF
14689 #define HAVE_SCALBNL 1
14694 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
14695 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
14696 if test "${ac_cv_lib_m_sinf+set}" = set; then
14697 echo $ECHO_N "(cached) $ECHO_C" >&6
14699 ac_check_lib_save_LIBS=$LIBS
14701 if test x$gcc_no_link = xyes; then
14702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14704 { (exit 1); exit 1; }; }
14706 cat >conftest.$ac_ext <<_ACEOF
14709 cat confdefs.h >>conftest.$ac_ext
14710 cat >>conftest.$ac_ext <<_ACEOF
14711 /* end confdefs.h. */
14713 /* Override any gcc2 internal prototype to avoid an error. */
14717 /* We use char because int might match the return type of a gcc2
14718 builtin and then its argument prototype would still apply. */
14728 rm -f conftest.$ac_objext conftest$ac_exeext
14729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14730 (eval $ac_link) 2>conftest.er1
14732 grep -v '^ *+' conftest.er1 >conftest.err
14734 cat conftest.err >&5
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); } &&
14737 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14739 (eval $ac_try) 2>&5
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); }; } &&
14743 { ac_try='test -s conftest$ac_exeext'
14744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14745 (eval $ac_try) 2>&5
14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); }; }; then
14749 ac_cv_lib_m_sinf=yes
14751 echo "$as_me: failed program was:" >&5
14752 sed 's/^/| /' conftest.$ac_ext >&5
14754 ac_cv_lib_m_sinf=no
14756 rm -f conftest.err conftest.$ac_objext \
14757 conftest$ac_exeext conftest.$ac_ext
14758 LIBS=$ac_check_lib_save_LIBS
14760 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
14761 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
14762 if test $ac_cv_lib_m_sinf = yes; then
14764 cat >>confdefs.h <<\_ACEOF
14765 #define HAVE_SINF 1
14770 echo "$as_me:$LINENO: checking for sin in -lm" >&5
14771 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
14772 if test "${ac_cv_lib_m_sin+set}" = set; then
14773 echo $ECHO_N "(cached) $ECHO_C" >&6
14775 ac_check_lib_save_LIBS=$LIBS
14777 if test x$gcc_no_link = xyes; then
14778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14780 { (exit 1); exit 1; }; }
14782 cat >conftest.$ac_ext <<_ACEOF
14785 cat confdefs.h >>conftest.$ac_ext
14786 cat >>conftest.$ac_ext <<_ACEOF
14787 /* end confdefs.h. */
14789 /* Override any gcc2 internal prototype to avoid an error. */
14793 /* We use char because int might match the return type of a gcc2
14794 builtin and then its argument prototype would still apply. */
14804 rm -f conftest.$ac_objext conftest$ac_exeext
14805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14806 (eval $ac_link) 2>conftest.er1
14808 grep -v '^ *+' conftest.er1 >conftest.err
14810 cat conftest.err >&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); } &&
14813 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14815 (eval $ac_try) 2>&5
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); }; } &&
14819 { ac_try='test -s conftest$ac_exeext'
14820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14821 (eval $ac_try) 2>&5
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); }; }; then
14825 ac_cv_lib_m_sin=yes
14827 echo "$as_me: failed program was:" >&5
14828 sed 's/^/| /' conftest.$ac_ext >&5
14832 rm -f conftest.err conftest.$ac_objext \
14833 conftest$ac_exeext conftest.$ac_ext
14834 LIBS=$ac_check_lib_save_LIBS
14836 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
14837 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
14838 if test $ac_cv_lib_m_sin = yes; then
14840 cat >>confdefs.h <<\_ACEOF
14846 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
14847 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
14848 if test "${ac_cv_lib_m_sinl+set}" = set; then
14849 echo $ECHO_N "(cached) $ECHO_C" >&6
14851 ac_check_lib_save_LIBS=$LIBS
14853 if test x$gcc_no_link = xyes; then
14854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14856 { (exit 1); exit 1; }; }
14858 cat >conftest.$ac_ext <<_ACEOF
14861 cat confdefs.h >>conftest.$ac_ext
14862 cat >>conftest.$ac_ext <<_ACEOF
14863 /* end confdefs.h. */
14865 /* Override any gcc2 internal prototype to avoid an error. */
14869 /* We use char because int might match the return type of a gcc2
14870 builtin and then its argument prototype would still apply. */
14880 rm -f conftest.$ac_objext conftest$ac_exeext
14881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14882 (eval $ac_link) 2>conftest.er1
14884 grep -v '^ *+' conftest.er1 >conftest.err
14886 cat conftest.err >&5
14887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14888 (exit $ac_status); } &&
14889 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14891 (eval $ac_try) 2>&5
14893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14894 (exit $ac_status); }; } &&
14895 { ac_try='test -s conftest$ac_exeext'
14896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14897 (eval $ac_try) 2>&5
14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); }; }; then
14901 ac_cv_lib_m_sinl=yes
14903 echo "$as_me: failed program was:" >&5
14904 sed 's/^/| /' conftest.$ac_ext >&5
14906 ac_cv_lib_m_sinl=no
14908 rm -f conftest.err conftest.$ac_objext \
14909 conftest$ac_exeext conftest.$ac_ext
14910 LIBS=$ac_check_lib_save_LIBS
14912 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
14913 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
14914 if test $ac_cv_lib_m_sinl = yes; then
14916 cat >>confdefs.h <<\_ACEOF
14917 #define HAVE_SINL 1
14922 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
14923 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
14924 if test "${ac_cv_lib_m_csinf+set}" = set; then
14925 echo $ECHO_N "(cached) $ECHO_C" >&6
14927 ac_check_lib_save_LIBS=$LIBS
14929 if test x$gcc_no_link = xyes; then
14930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14932 { (exit 1); exit 1; }; }
14934 cat >conftest.$ac_ext <<_ACEOF
14937 cat confdefs.h >>conftest.$ac_ext
14938 cat >>conftest.$ac_ext <<_ACEOF
14939 /* end confdefs.h. */
14941 /* Override any gcc2 internal prototype to avoid an error. */
14945 /* We use char because int might match the return type of a gcc2
14946 builtin and then its argument prototype would still apply. */
14956 rm -f conftest.$ac_objext conftest$ac_exeext
14957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14958 (eval $ac_link) 2>conftest.er1
14960 grep -v '^ *+' conftest.er1 >conftest.err
14962 cat conftest.err >&5
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); } &&
14965 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14967 (eval $ac_try) 2>&5
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); }; } &&
14971 { ac_try='test -s conftest$ac_exeext'
14972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14973 (eval $ac_try) 2>&5
14975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14976 (exit $ac_status); }; }; then
14977 ac_cv_lib_m_csinf=yes
14979 echo "$as_me: failed program was:" >&5
14980 sed 's/^/| /' conftest.$ac_ext >&5
14982 ac_cv_lib_m_csinf=no
14984 rm -f conftest.err conftest.$ac_objext \
14985 conftest$ac_exeext conftest.$ac_ext
14986 LIBS=$ac_check_lib_save_LIBS
14988 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
14989 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
14990 if test $ac_cv_lib_m_csinf = yes; then
14992 cat >>confdefs.h <<\_ACEOF
14993 #define HAVE_CSINF 1
14998 echo "$as_me:$LINENO: checking for csin in -lm" >&5
14999 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
15000 if test "${ac_cv_lib_m_csin+set}" = set; then
15001 echo $ECHO_N "(cached) $ECHO_C" >&6
15003 ac_check_lib_save_LIBS=$LIBS
15005 if test x$gcc_no_link = xyes; then
15006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15008 { (exit 1); exit 1; }; }
15010 cat >conftest.$ac_ext <<_ACEOF
15013 cat confdefs.h >>conftest.$ac_ext
15014 cat >>conftest.$ac_ext <<_ACEOF
15015 /* end confdefs.h. */
15017 /* Override any gcc2 internal prototype to avoid an error. */
15021 /* We use char because int might match the return type of a gcc2
15022 builtin and then its argument prototype would still apply. */
15032 rm -f conftest.$ac_objext conftest$ac_exeext
15033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15034 (eval $ac_link) 2>conftest.er1
15036 grep -v '^ *+' conftest.er1 >conftest.err
15038 cat conftest.err >&5
15039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040 (exit $ac_status); } &&
15041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15043 (eval $ac_try) 2>&5
15045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15046 (exit $ac_status); }; } &&
15047 { ac_try='test -s conftest$ac_exeext'
15048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15049 (eval $ac_try) 2>&5
15051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15052 (exit $ac_status); }; }; then
15053 ac_cv_lib_m_csin=yes
15055 echo "$as_me: failed program was:" >&5
15056 sed 's/^/| /' conftest.$ac_ext >&5
15058 ac_cv_lib_m_csin=no
15060 rm -f conftest.err conftest.$ac_objext \
15061 conftest$ac_exeext conftest.$ac_ext
15062 LIBS=$ac_check_lib_save_LIBS
15064 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
15065 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
15066 if test $ac_cv_lib_m_csin = yes; then
15068 cat >>confdefs.h <<\_ACEOF
15069 #define HAVE_CSIN 1
15074 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
15075 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
15076 if test "${ac_cv_lib_m_csinl+set}" = set; then
15077 echo $ECHO_N "(cached) $ECHO_C" >&6
15079 ac_check_lib_save_LIBS=$LIBS
15081 if test x$gcc_no_link = xyes; then
15082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15084 { (exit 1); exit 1; }; }
15086 cat >conftest.$ac_ext <<_ACEOF
15089 cat confdefs.h >>conftest.$ac_ext
15090 cat >>conftest.$ac_ext <<_ACEOF
15091 /* end confdefs.h. */
15093 /* Override any gcc2 internal prototype to avoid an error. */
15097 /* We use char because int might match the return type of a gcc2
15098 builtin and then its argument prototype would still apply. */
15108 rm -f conftest.$ac_objext conftest$ac_exeext
15109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15110 (eval $ac_link) 2>conftest.er1
15112 grep -v '^ *+' conftest.er1 >conftest.err
15114 cat conftest.err >&5
15115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15116 (exit $ac_status); } &&
15117 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15119 (eval $ac_try) 2>&5
15121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15122 (exit $ac_status); }; } &&
15123 { ac_try='test -s conftest$ac_exeext'
15124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15125 (eval $ac_try) 2>&5
15127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15128 (exit $ac_status); }; }; then
15129 ac_cv_lib_m_csinl=yes
15131 echo "$as_me: failed program was:" >&5
15132 sed 's/^/| /' conftest.$ac_ext >&5
15134 ac_cv_lib_m_csinl=no
15136 rm -f conftest.err conftest.$ac_objext \
15137 conftest$ac_exeext conftest.$ac_ext
15138 LIBS=$ac_check_lib_save_LIBS
15140 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
15141 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
15142 if test $ac_cv_lib_m_csinl = yes; then
15144 cat >>confdefs.h <<\_ACEOF
15145 #define HAVE_CSINL 1
15150 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
15151 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
15152 if test "${ac_cv_lib_m_sinhf+set}" = set; then
15153 echo $ECHO_N "(cached) $ECHO_C" >&6
15155 ac_check_lib_save_LIBS=$LIBS
15157 if test x$gcc_no_link = xyes; then
15158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15160 { (exit 1); exit 1; }; }
15162 cat >conftest.$ac_ext <<_ACEOF
15165 cat confdefs.h >>conftest.$ac_ext
15166 cat >>conftest.$ac_ext <<_ACEOF
15167 /* end confdefs.h. */
15169 /* Override any gcc2 internal prototype to avoid an error. */
15173 /* We use char because int might match the return type of a gcc2
15174 builtin and then its argument prototype would still apply. */
15184 rm -f conftest.$ac_objext conftest$ac_exeext
15185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15186 (eval $ac_link) 2>conftest.er1
15188 grep -v '^ *+' conftest.er1 >conftest.err
15190 cat conftest.err >&5
15191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192 (exit $ac_status); } &&
15193 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15195 (eval $ac_try) 2>&5
15197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15198 (exit $ac_status); }; } &&
15199 { ac_try='test -s conftest$ac_exeext'
15200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15201 (eval $ac_try) 2>&5
15203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15204 (exit $ac_status); }; }; then
15205 ac_cv_lib_m_sinhf=yes
15207 echo "$as_me: failed program was:" >&5
15208 sed 's/^/| /' conftest.$ac_ext >&5
15210 ac_cv_lib_m_sinhf=no
15212 rm -f conftest.err conftest.$ac_objext \
15213 conftest$ac_exeext conftest.$ac_ext
15214 LIBS=$ac_check_lib_save_LIBS
15216 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
15217 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
15218 if test $ac_cv_lib_m_sinhf = yes; then
15220 cat >>confdefs.h <<\_ACEOF
15221 #define HAVE_SINHF 1
15226 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
15227 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
15228 if test "${ac_cv_lib_m_sinh+set}" = set; then
15229 echo $ECHO_N "(cached) $ECHO_C" >&6
15231 ac_check_lib_save_LIBS=$LIBS
15233 if test x$gcc_no_link = xyes; then
15234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15236 { (exit 1); exit 1; }; }
15238 cat >conftest.$ac_ext <<_ACEOF
15241 cat confdefs.h >>conftest.$ac_ext
15242 cat >>conftest.$ac_ext <<_ACEOF
15243 /* end confdefs.h. */
15245 /* Override any gcc2 internal prototype to avoid an error. */
15249 /* We use char because int might match the return type of a gcc2
15250 builtin and then its argument prototype would still apply. */
15260 rm -f conftest.$ac_objext conftest$ac_exeext
15261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15262 (eval $ac_link) 2>conftest.er1
15264 grep -v '^ *+' conftest.er1 >conftest.err
15266 cat conftest.err >&5
15267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15268 (exit $ac_status); } &&
15269 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15271 (eval $ac_try) 2>&5
15273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15274 (exit $ac_status); }; } &&
15275 { ac_try='test -s conftest$ac_exeext'
15276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15277 (eval $ac_try) 2>&5
15279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15280 (exit $ac_status); }; }; then
15281 ac_cv_lib_m_sinh=yes
15283 echo "$as_me: failed program was:" >&5
15284 sed 's/^/| /' conftest.$ac_ext >&5
15286 ac_cv_lib_m_sinh=no
15288 rm -f conftest.err conftest.$ac_objext \
15289 conftest$ac_exeext conftest.$ac_ext
15290 LIBS=$ac_check_lib_save_LIBS
15292 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
15293 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
15294 if test $ac_cv_lib_m_sinh = yes; then
15296 cat >>confdefs.h <<\_ACEOF
15297 #define HAVE_SINH 1
15302 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
15303 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
15304 if test "${ac_cv_lib_m_sinhl+set}" = set; then
15305 echo $ECHO_N "(cached) $ECHO_C" >&6
15307 ac_check_lib_save_LIBS=$LIBS
15309 if test x$gcc_no_link = xyes; then
15310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15312 { (exit 1); exit 1; }; }
15314 cat >conftest.$ac_ext <<_ACEOF
15317 cat confdefs.h >>conftest.$ac_ext
15318 cat >>conftest.$ac_ext <<_ACEOF
15319 /* end confdefs.h. */
15321 /* Override any gcc2 internal prototype to avoid an error. */
15325 /* We use char because int might match the return type of a gcc2
15326 builtin and then its argument prototype would still apply. */
15336 rm -f conftest.$ac_objext conftest$ac_exeext
15337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15338 (eval $ac_link) 2>conftest.er1
15340 grep -v '^ *+' conftest.er1 >conftest.err
15342 cat conftest.err >&5
15343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15344 (exit $ac_status); } &&
15345 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15347 (eval $ac_try) 2>&5
15349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15350 (exit $ac_status); }; } &&
15351 { ac_try='test -s conftest$ac_exeext'
15352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15353 (eval $ac_try) 2>&5
15355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15356 (exit $ac_status); }; }; then
15357 ac_cv_lib_m_sinhl=yes
15359 echo "$as_me: failed program was:" >&5
15360 sed 's/^/| /' conftest.$ac_ext >&5
15362 ac_cv_lib_m_sinhl=no
15364 rm -f conftest.err conftest.$ac_objext \
15365 conftest$ac_exeext conftest.$ac_ext
15366 LIBS=$ac_check_lib_save_LIBS
15368 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
15369 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
15370 if test $ac_cv_lib_m_sinhl = yes; then
15372 cat >>confdefs.h <<\_ACEOF
15373 #define HAVE_SINHL 1
15378 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
15379 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
15380 if test "${ac_cv_lib_m_csinhf+set}" = set; then
15381 echo $ECHO_N "(cached) $ECHO_C" >&6
15383 ac_check_lib_save_LIBS=$LIBS
15385 if test x$gcc_no_link = xyes; then
15386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15388 { (exit 1); exit 1; }; }
15390 cat >conftest.$ac_ext <<_ACEOF
15393 cat confdefs.h >>conftest.$ac_ext
15394 cat >>conftest.$ac_ext <<_ACEOF
15395 /* end confdefs.h. */
15397 /* Override any gcc2 internal prototype to avoid an error. */
15401 /* We use char because int might match the return type of a gcc2
15402 builtin and then its argument prototype would still apply. */
15412 rm -f conftest.$ac_objext conftest$ac_exeext
15413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15414 (eval $ac_link) 2>conftest.er1
15416 grep -v '^ *+' conftest.er1 >conftest.err
15418 cat conftest.err >&5
15419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15420 (exit $ac_status); } &&
15421 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15423 (eval $ac_try) 2>&5
15425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15426 (exit $ac_status); }; } &&
15427 { ac_try='test -s conftest$ac_exeext'
15428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15429 (eval $ac_try) 2>&5
15431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15432 (exit $ac_status); }; }; then
15433 ac_cv_lib_m_csinhf=yes
15435 echo "$as_me: failed program was:" >&5
15436 sed 's/^/| /' conftest.$ac_ext >&5
15438 ac_cv_lib_m_csinhf=no
15440 rm -f conftest.err conftest.$ac_objext \
15441 conftest$ac_exeext conftest.$ac_ext
15442 LIBS=$ac_check_lib_save_LIBS
15444 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
15445 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
15446 if test $ac_cv_lib_m_csinhf = yes; then
15448 cat >>confdefs.h <<\_ACEOF
15449 #define HAVE_CSINHF 1
15454 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
15455 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
15456 if test "${ac_cv_lib_m_csinh+set}" = set; then
15457 echo $ECHO_N "(cached) $ECHO_C" >&6
15459 ac_check_lib_save_LIBS=$LIBS
15461 if test x$gcc_no_link = xyes; then
15462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15464 { (exit 1); exit 1; }; }
15466 cat >conftest.$ac_ext <<_ACEOF
15469 cat confdefs.h >>conftest.$ac_ext
15470 cat >>conftest.$ac_ext <<_ACEOF
15471 /* end confdefs.h. */
15473 /* Override any gcc2 internal prototype to avoid an error. */
15477 /* We use char because int might match the return type of a gcc2
15478 builtin and then its argument prototype would still apply. */
15488 rm -f conftest.$ac_objext conftest$ac_exeext
15489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15490 (eval $ac_link) 2>conftest.er1
15492 grep -v '^ *+' conftest.er1 >conftest.err
15494 cat conftest.err >&5
15495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15496 (exit $ac_status); } &&
15497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15499 (eval $ac_try) 2>&5
15501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15502 (exit $ac_status); }; } &&
15503 { ac_try='test -s conftest$ac_exeext'
15504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15505 (eval $ac_try) 2>&5
15507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15508 (exit $ac_status); }; }; then
15509 ac_cv_lib_m_csinh=yes
15511 echo "$as_me: failed program was:" >&5
15512 sed 's/^/| /' conftest.$ac_ext >&5
15514 ac_cv_lib_m_csinh=no
15516 rm -f conftest.err conftest.$ac_objext \
15517 conftest$ac_exeext conftest.$ac_ext
15518 LIBS=$ac_check_lib_save_LIBS
15520 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
15521 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
15522 if test $ac_cv_lib_m_csinh = yes; then
15524 cat >>confdefs.h <<\_ACEOF
15525 #define HAVE_CSINH 1
15530 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
15531 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
15532 if test "${ac_cv_lib_m_csinhl+set}" = set; then
15533 echo $ECHO_N "(cached) $ECHO_C" >&6
15535 ac_check_lib_save_LIBS=$LIBS
15537 if test x$gcc_no_link = xyes; then
15538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15540 { (exit 1); exit 1; }; }
15542 cat >conftest.$ac_ext <<_ACEOF
15545 cat confdefs.h >>conftest.$ac_ext
15546 cat >>conftest.$ac_ext <<_ACEOF
15547 /* end confdefs.h. */
15549 /* Override any gcc2 internal prototype to avoid an error. */
15553 /* We use char because int might match the return type of a gcc2
15554 builtin and then its argument prototype would still apply. */
15564 rm -f conftest.$ac_objext conftest$ac_exeext
15565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15566 (eval $ac_link) 2>conftest.er1
15568 grep -v '^ *+' conftest.er1 >conftest.err
15570 cat conftest.err >&5
15571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572 (exit $ac_status); } &&
15573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15575 (eval $ac_try) 2>&5
15577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15578 (exit $ac_status); }; } &&
15579 { ac_try='test -s conftest$ac_exeext'
15580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15581 (eval $ac_try) 2>&5
15583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584 (exit $ac_status); }; }; then
15585 ac_cv_lib_m_csinhl=yes
15587 echo "$as_me: failed program was:" >&5
15588 sed 's/^/| /' conftest.$ac_ext >&5
15590 ac_cv_lib_m_csinhl=no
15592 rm -f conftest.err conftest.$ac_objext \
15593 conftest$ac_exeext conftest.$ac_ext
15594 LIBS=$ac_check_lib_save_LIBS
15596 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
15597 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
15598 if test $ac_cv_lib_m_csinhl = yes; then
15600 cat >>confdefs.h <<\_ACEOF
15601 #define HAVE_CSINHL 1
15606 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
15607 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
15608 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
15609 echo $ECHO_N "(cached) $ECHO_C" >&6
15611 ac_check_lib_save_LIBS=$LIBS
15613 if test x$gcc_no_link = xyes; then
15614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15616 { (exit 1); exit 1; }; }
15618 cat >conftest.$ac_ext <<_ACEOF
15621 cat confdefs.h >>conftest.$ac_ext
15622 cat >>conftest.$ac_ext <<_ACEOF
15623 /* end confdefs.h. */
15625 /* Override any gcc2 internal prototype to avoid an error. */
15629 /* We use char because int might match the return type of a gcc2
15630 builtin and then its argument prototype would still apply. */
15640 rm -f conftest.$ac_objext conftest$ac_exeext
15641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15642 (eval $ac_link) 2>conftest.er1
15644 grep -v '^ *+' conftest.er1 >conftest.err
15646 cat conftest.err >&5
15647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15648 (exit $ac_status); } &&
15649 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15651 (eval $ac_try) 2>&5
15653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15654 (exit $ac_status); }; } &&
15655 { ac_try='test -s conftest$ac_exeext'
15656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15657 (eval $ac_try) 2>&5
15659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660 (exit $ac_status); }; }; then
15661 ac_cv_lib_m_sqrtf=yes
15663 echo "$as_me: failed program was:" >&5
15664 sed 's/^/| /' conftest.$ac_ext >&5
15666 ac_cv_lib_m_sqrtf=no
15668 rm -f conftest.err conftest.$ac_objext \
15669 conftest$ac_exeext conftest.$ac_ext
15670 LIBS=$ac_check_lib_save_LIBS
15672 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
15673 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
15674 if test $ac_cv_lib_m_sqrtf = yes; then
15676 cat >>confdefs.h <<\_ACEOF
15677 #define HAVE_SQRTF 1
15682 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
15683 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
15684 if test "${ac_cv_lib_m_sqrt+set}" = set; then
15685 echo $ECHO_N "(cached) $ECHO_C" >&6
15687 ac_check_lib_save_LIBS=$LIBS
15689 if test x$gcc_no_link = xyes; then
15690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15692 { (exit 1); exit 1; }; }
15694 cat >conftest.$ac_ext <<_ACEOF
15697 cat confdefs.h >>conftest.$ac_ext
15698 cat >>conftest.$ac_ext <<_ACEOF
15699 /* end confdefs.h. */
15701 /* Override any gcc2 internal prototype to avoid an error. */
15705 /* We use char because int might match the return type of a gcc2
15706 builtin and then its argument prototype would still apply. */
15716 rm -f conftest.$ac_objext conftest$ac_exeext
15717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15718 (eval $ac_link) 2>conftest.er1
15720 grep -v '^ *+' conftest.er1 >conftest.err
15722 cat conftest.err >&5
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); } &&
15725 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15727 (eval $ac_try) 2>&5
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); }; } &&
15731 { ac_try='test -s conftest$ac_exeext'
15732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15733 (eval $ac_try) 2>&5
15735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736 (exit $ac_status); }; }; then
15737 ac_cv_lib_m_sqrt=yes
15739 echo "$as_me: failed program was:" >&5
15740 sed 's/^/| /' conftest.$ac_ext >&5
15742 ac_cv_lib_m_sqrt=no
15744 rm -f conftest.err conftest.$ac_objext \
15745 conftest$ac_exeext conftest.$ac_ext
15746 LIBS=$ac_check_lib_save_LIBS
15748 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
15749 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
15750 if test $ac_cv_lib_m_sqrt = yes; then
15752 cat >>confdefs.h <<\_ACEOF
15753 #define HAVE_SQRT 1
15758 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
15759 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
15760 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
15761 echo $ECHO_N "(cached) $ECHO_C" >&6
15763 ac_check_lib_save_LIBS=$LIBS
15765 if test x$gcc_no_link = xyes; then
15766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15768 { (exit 1); exit 1; }; }
15770 cat >conftest.$ac_ext <<_ACEOF
15773 cat confdefs.h >>conftest.$ac_ext
15774 cat >>conftest.$ac_ext <<_ACEOF
15775 /* end confdefs.h. */
15777 /* Override any gcc2 internal prototype to avoid an error. */
15781 /* We use char because int might match the return type of a gcc2
15782 builtin and then its argument prototype would still apply. */
15792 rm -f conftest.$ac_objext conftest$ac_exeext
15793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15794 (eval $ac_link) 2>conftest.er1
15796 grep -v '^ *+' conftest.er1 >conftest.err
15798 cat conftest.err >&5
15799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15800 (exit $ac_status); } &&
15801 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15803 (eval $ac_try) 2>&5
15805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15806 (exit $ac_status); }; } &&
15807 { ac_try='test -s conftest$ac_exeext'
15808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15809 (eval $ac_try) 2>&5
15811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15812 (exit $ac_status); }; }; then
15813 ac_cv_lib_m_sqrtl=yes
15815 echo "$as_me: failed program was:" >&5
15816 sed 's/^/| /' conftest.$ac_ext >&5
15818 ac_cv_lib_m_sqrtl=no
15820 rm -f conftest.err conftest.$ac_objext \
15821 conftest$ac_exeext conftest.$ac_ext
15822 LIBS=$ac_check_lib_save_LIBS
15824 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
15825 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
15826 if test $ac_cv_lib_m_sqrtl = yes; then
15828 cat >>confdefs.h <<\_ACEOF
15829 #define HAVE_SQRTL 1
15834 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
15835 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
15836 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
15837 echo $ECHO_N "(cached) $ECHO_C" >&6
15839 ac_check_lib_save_LIBS=$LIBS
15841 if test x$gcc_no_link = xyes; then
15842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15844 { (exit 1); exit 1; }; }
15846 cat >conftest.$ac_ext <<_ACEOF
15849 cat confdefs.h >>conftest.$ac_ext
15850 cat >>conftest.$ac_ext <<_ACEOF
15851 /* end confdefs.h. */
15853 /* Override any gcc2 internal prototype to avoid an error. */
15857 /* We use char because int might match the return type of a gcc2
15858 builtin and then its argument prototype would still apply. */
15868 rm -f conftest.$ac_objext conftest$ac_exeext
15869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15870 (eval $ac_link) 2>conftest.er1
15872 grep -v '^ *+' conftest.er1 >conftest.err
15874 cat conftest.err >&5
15875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15876 (exit $ac_status); } &&
15877 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15879 (eval $ac_try) 2>&5
15881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15882 (exit $ac_status); }; } &&
15883 { ac_try='test -s conftest$ac_exeext'
15884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15885 (eval $ac_try) 2>&5
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); }; }; then
15889 ac_cv_lib_m_csqrtf=yes
15891 echo "$as_me: failed program was:" >&5
15892 sed 's/^/| /' conftest.$ac_ext >&5
15894 ac_cv_lib_m_csqrtf=no
15896 rm -f conftest.err conftest.$ac_objext \
15897 conftest$ac_exeext conftest.$ac_ext
15898 LIBS=$ac_check_lib_save_LIBS
15900 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
15901 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
15902 if test $ac_cv_lib_m_csqrtf = yes; then
15904 cat >>confdefs.h <<\_ACEOF
15905 #define HAVE_CSQRTF 1
15910 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
15911 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
15912 if test "${ac_cv_lib_m_csqrt+set}" = set; then
15913 echo $ECHO_N "(cached) $ECHO_C" >&6
15915 ac_check_lib_save_LIBS=$LIBS
15917 if test x$gcc_no_link = xyes; then
15918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15920 { (exit 1); exit 1; }; }
15922 cat >conftest.$ac_ext <<_ACEOF
15925 cat confdefs.h >>conftest.$ac_ext
15926 cat >>conftest.$ac_ext <<_ACEOF
15927 /* end confdefs.h. */
15929 /* Override any gcc2 internal prototype to avoid an error. */
15933 /* We use char because int might match the return type of a gcc2
15934 builtin and then its argument prototype would still apply. */
15944 rm -f conftest.$ac_objext conftest$ac_exeext
15945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15946 (eval $ac_link) 2>conftest.er1
15948 grep -v '^ *+' conftest.er1 >conftest.err
15950 cat conftest.err >&5
15951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15952 (exit $ac_status); } &&
15953 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15955 (eval $ac_try) 2>&5
15957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15958 (exit $ac_status); }; } &&
15959 { ac_try='test -s conftest$ac_exeext'
15960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15961 (eval $ac_try) 2>&5
15963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15964 (exit $ac_status); }; }; then
15965 ac_cv_lib_m_csqrt=yes
15967 echo "$as_me: failed program was:" >&5
15968 sed 's/^/| /' conftest.$ac_ext >&5
15970 ac_cv_lib_m_csqrt=no
15972 rm -f conftest.err conftest.$ac_objext \
15973 conftest$ac_exeext conftest.$ac_ext
15974 LIBS=$ac_check_lib_save_LIBS
15976 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
15977 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
15978 if test $ac_cv_lib_m_csqrt = yes; then
15980 cat >>confdefs.h <<\_ACEOF
15981 #define HAVE_CSQRT 1
15986 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
15987 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
15988 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
15989 echo $ECHO_N "(cached) $ECHO_C" >&6
15991 ac_check_lib_save_LIBS=$LIBS
15993 if test x$gcc_no_link = xyes; then
15994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15996 { (exit 1); exit 1; }; }
15998 cat >conftest.$ac_ext <<_ACEOF
16001 cat confdefs.h >>conftest.$ac_ext
16002 cat >>conftest.$ac_ext <<_ACEOF
16003 /* end confdefs.h. */
16005 /* Override any gcc2 internal prototype to avoid an error. */
16009 /* We use char because int might match the return type of a gcc2
16010 builtin and then its argument prototype would still apply. */
16020 rm -f conftest.$ac_objext conftest$ac_exeext
16021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16022 (eval $ac_link) 2>conftest.er1
16024 grep -v '^ *+' conftest.er1 >conftest.err
16026 cat conftest.err >&5
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); } &&
16029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16031 (eval $ac_try) 2>&5
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); }; } &&
16035 { ac_try='test -s conftest$ac_exeext'
16036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16037 (eval $ac_try) 2>&5
16039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16040 (exit $ac_status); }; }; then
16041 ac_cv_lib_m_csqrtl=yes
16043 echo "$as_me: failed program was:" >&5
16044 sed 's/^/| /' conftest.$ac_ext >&5
16046 ac_cv_lib_m_csqrtl=no
16048 rm -f conftest.err conftest.$ac_objext \
16049 conftest$ac_exeext conftest.$ac_ext
16050 LIBS=$ac_check_lib_save_LIBS
16052 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
16053 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
16054 if test $ac_cv_lib_m_csqrtl = yes; then
16056 cat >>confdefs.h <<\_ACEOF
16057 #define HAVE_CSQRTL 1
16062 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
16063 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
16064 if test "${ac_cv_lib_m_tanf+set}" = set; then
16065 echo $ECHO_N "(cached) $ECHO_C" >&6
16067 ac_check_lib_save_LIBS=$LIBS
16069 if test x$gcc_no_link = xyes; then
16070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16072 { (exit 1); exit 1; }; }
16074 cat >conftest.$ac_ext <<_ACEOF
16077 cat confdefs.h >>conftest.$ac_ext
16078 cat >>conftest.$ac_ext <<_ACEOF
16079 /* end confdefs.h. */
16081 /* Override any gcc2 internal prototype to avoid an error. */
16085 /* We use char because int might match the return type of a gcc2
16086 builtin and then its argument prototype would still apply. */
16096 rm -f conftest.$ac_objext conftest$ac_exeext
16097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16098 (eval $ac_link) 2>conftest.er1
16100 grep -v '^ *+' conftest.er1 >conftest.err
16102 cat conftest.err >&5
16103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16104 (exit $ac_status); } &&
16105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16107 (eval $ac_try) 2>&5
16109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16110 (exit $ac_status); }; } &&
16111 { ac_try='test -s conftest$ac_exeext'
16112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16113 (eval $ac_try) 2>&5
16115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16116 (exit $ac_status); }; }; then
16117 ac_cv_lib_m_tanf=yes
16119 echo "$as_me: failed program was:" >&5
16120 sed 's/^/| /' conftest.$ac_ext >&5
16122 ac_cv_lib_m_tanf=no
16124 rm -f conftest.err conftest.$ac_objext \
16125 conftest$ac_exeext conftest.$ac_ext
16126 LIBS=$ac_check_lib_save_LIBS
16128 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
16129 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
16130 if test $ac_cv_lib_m_tanf = yes; then
16132 cat >>confdefs.h <<\_ACEOF
16133 #define HAVE_TANF 1
16138 echo "$as_me:$LINENO: checking for tan in -lm" >&5
16139 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
16140 if test "${ac_cv_lib_m_tan+set}" = set; then
16141 echo $ECHO_N "(cached) $ECHO_C" >&6
16143 ac_check_lib_save_LIBS=$LIBS
16145 if test x$gcc_no_link = xyes; then
16146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16148 { (exit 1); exit 1; }; }
16150 cat >conftest.$ac_ext <<_ACEOF
16153 cat confdefs.h >>conftest.$ac_ext
16154 cat >>conftest.$ac_ext <<_ACEOF
16155 /* end confdefs.h. */
16157 /* Override any gcc2 internal prototype to avoid an error. */
16161 /* We use char because int might match the return type of a gcc2
16162 builtin and then its argument prototype would still apply. */
16172 rm -f conftest.$ac_objext conftest$ac_exeext
16173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16174 (eval $ac_link) 2>conftest.er1
16176 grep -v '^ *+' conftest.er1 >conftest.err
16178 cat conftest.err >&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); } &&
16181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16187 { ac_try='test -s conftest$ac_exeext'
16188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16189 (eval $ac_try) 2>&5
16191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16192 (exit $ac_status); }; }; then
16193 ac_cv_lib_m_tan=yes
16195 echo "$as_me: failed program was:" >&5
16196 sed 's/^/| /' conftest.$ac_ext >&5
16200 rm -f conftest.err conftest.$ac_objext \
16201 conftest$ac_exeext conftest.$ac_ext
16202 LIBS=$ac_check_lib_save_LIBS
16204 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
16205 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
16206 if test $ac_cv_lib_m_tan = yes; then
16208 cat >>confdefs.h <<\_ACEOF
16214 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
16215 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
16216 if test "${ac_cv_lib_m_tanl+set}" = set; then
16217 echo $ECHO_N "(cached) $ECHO_C" >&6
16219 ac_check_lib_save_LIBS=$LIBS
16221 if test x$gcc_no_link = xyes; then
16222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16224 { (exit 1); exit 1; }; }
16226 cat >conftest.$ac_ext <<_ACEOF
16229 cat confdefs.h >>conftest.$ac_ext
16230 cat >>conftest.$ac_ext <<_ACEOF
16231 /* end confdefs.h. */
16233 /* Override any gcc2 internal prototype to avoid an error. */
16237 /* We use char because int might match the return type of a gcc2
16238 builtin and then its argument prototype would still apply. */
16248 rm -f conftest.$ac_objext conftest$ac_exeext
16249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16250 (eval $ac_link) 2>conftest.er1
16252 grep -v '^ *+' conftest.er1 >conftest.err
16254 cat conftest.err >&5
16255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16256 (exit $ac_status); } &&
16257 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16259 (eval $ac_try) 2>&5
16261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16262 (exit $ac_status); }; } &&
16263 { ac_try='test -s conftest$ac_exeext'
16264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16265 (eval $ac_try) 2>&5
16267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16268 (exit $ac_status); }; }; then
16269 ac_cv_lib_m_tanl=yes
16271 echo "$as_me: failed program was:" >&5
16272 sed 's/^/| /' conftest.$ac_ext >&5
16274 ac_cv_lib_m_tanl=no
16276 rm -f conftest.err conftest.$ac_objext \
16277 conftest$ac_exeext conftest.$ac_ext
16278 LIBS=$ac_check_lib_save_LIBS
16280 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
16281 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
16282 if test $ac_cv_lib_m_tanl = yes; then
16284 cat >>confdefs.h <<\_ACEOF
16285 #define HAVE_TANL 1
16290 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
16291 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
16292 if test "${ac_cv_lib_m_ctanf+set}" = set; then
16293 echo $ECHO_N "(cached) $ECHO_C" >&6
16295 ac_check_lib_save_LIBS=$LIBS
16297 if test x$gcc_no_link = xyes; then
16298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16300 { (exit 1); exit 1; }; }
16302 cat >conftest.$ac_ext <<_ACEOF
16305 cat confdefs.h >>conftest.$ac_ext
16306 cat >>conftest.$ac_ext <<_ACEOF
16307 /* end confdefs.h. */
16309 /* Override any gcc2 internal prototype to avoid an error. */
16313 /* We use char because int might match the return type of a gcc2
16314 builtin and then its argument prototype would still apply. */
16324 rm -f conftest.$ac_objext conftest$ac_exeext
16325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16326 (eval $ac_link) 2>conftest.er1
16328 grep -v '^ *+' conftest.er1 >conftest.err
16330 cat conftest.err >&5
16331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16332 (exit $ac_status); } &&
16333 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16335 (eval $ac_try) 2>&5
16337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16338 (exit $ac_status); }; } &&
16339 { ac_try='test -s conftest$ac_exeext'
16340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16341 (eval $ac_try) 2>&5
16343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16344 (exit $ac_status); }; }; then
16345 ac_cv_lib_m_ctanf=yes
16347 echo "$as_me: failed program was:" >&5
16348 sed 's/^/| /' conftest.$ac_ext >&5
16350 ac_cv_lib_m_ctanf=no
16352 rm -f conftest.err conftest.$ac_objext \
16353 conftest$ac_exeext conftest.$ac_ext
16354 LIBS=$ac_check_lib_save_LIBS
16356 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
16357 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
16358 if test $ac_cv_lib_m_ctanf = yes; then
16360 cat >>confdefs.h <<\_ACEOF
16361 #define HAVE_CTANF 1
16366 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
16367 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
16368 if test "${ac_cv_lib_m_ctan+set}" = set; then
16369 echo $ECHO_N "(cached) $ECHO_C" >&6
16371 ac_check_lib_save_LIBS=$LIBS
16373 if test x$gcc_no_link = xyes; then
16374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16376 { (exit 1); exit 1; }; }
16378 cat >conftest.$ac_ext <<_ACEOF
16381 cat confdefs.h >>conftest.$ac_ext
16382 cat >>conftest.$ac_ext <<_ACEOF
16383 /* end confdefs.h. */
16385 /* Override any gcc2 internal prototype to avoid an error. */
16389 /* We use char because int might match the return type of a gcc2
16390 builtin and then its argument prototype would still apply. */
16400 rm -f conftest.$ac_objext conftest$ac_exeext
16401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16402 (eval $ac_link) 2>conftest.er1
16404 grep -v '^ *+' conftest.er1 >conftest.err
16406 cat conftest.err >&5
16407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16408 (exit $ac_status); } &&
16409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16411 (eval $ac_try) 2>&5
16413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16414 (exit $ac_status); }; } &&
16415 { ac_try='test -s conftest$ac_exeext'
16416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16417 (eval $ac_try) 2>&5
16419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420 (exit $ac_status); }; }; then
16421 ac_cv_lib_m_ctan=yes
16423 echo "$as_me: failed program was:" >&5
16424 sed 's/^/| /' conftest.$ac_ext >&5
16426 ac_cv_lib_m_ctan=no
16428 rm -f conftest.err conftest.$ac_objext \
16429 conftest$ac_exeext conftest.$ac_ext
16430 LIBS=$ac_check_lib_save_LIBS
16432 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
16433 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
16434 if test $ac_cv_lib_m_ctan = yes; then
16436 cat >>confdefs.h <<\_ACEOF
16437 #define HAVE_CTAN 1
16442 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
16443 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
16444 if test "${ac_cv_lib_m_ctanl+set}" = set; then
16445 echo $ECHO_N "(cached) $ECHO_C" >&6
16447 ac_check_lib_save_LIBS=$LIBS
16449 if test x$gcc_no_link = xyes; then
16450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16452 { (exit 1); exit 1; }; }
16454 cat >conftest.$ac_ext <<_ACEOF
16457 cat confdefs.h >>conftest.$ac_ext
16458 cat >>conftest.$ac_ext <<_ACEOF
16459 /* end confdefs.h. */
16461 /* Override any gcc2 internal prototype to avoid an error. */
16465 /* We use char because int might match the return type of a gcc2
16466 builtin and then its argument prototype would still apply. */
16476 rm -f conftest.$ac_objext conftest$ac_exeext
16477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16478 (eval $ac_link) 2>conftest.er1
16480 grep -v '^ *+' conftest.er1 >conftest.err
16482 cat conftest.err >&5
16483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16484 (exit $ac_status); } &&
16485 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16487 (eval $ac_try) 2>&5
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); }; } &&
16491 { ac_try='test -s conftest$ac_exeext'
16492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16493 (eval $ac_try) 2>&5
16495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); }; }; then
16497 ac_cv_lib_m_ctanl=yes
16499 echo "$as_me: failed program was:" >&5
16500 sed 's/^/| /' conftest.$ac_ext >&5
16502 ac_cv_lib_m_ctanl=no
16504 rm -f conftest.err conftest.$ac_objext \
16505 conftest$ac_exeext conftest.$ac_ext
16506 LIBS=$ac_check_lib_save_LIBS
16508 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
16509 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
16510 if test $ac_cv_lib_m_ctanl = yes; then
16512 cat >>confdefs.h <<\_ACEOF
16513 #define HAVE_CTANL 1
16518 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
16519 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
16520 if test "${ac_cv_lib_m_tanhf+set}" = set; then
16521 echo $ECHO_N "(cached) $ECHO_C" >&6
16523 ac_check_lib_save_LIBS=$LIBS
16525 if test x$gcc_no_link = xyes; then
16526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16528 { (exit 1); exit 1; }; }
16530 cat >conftest.$ac_ext <<_ACEOF
16533 cat confdefs.h >>conftest.$ac_ext
16534 cat >>conftest.$ac_ext <<_ACEOF
16535 /* end confdefs.h. */
16537 /* Override any gcc2 internal prototype to avoid an error. */
16541 /* We use char because int might match the return type of a gcc2
16542 builtin and then its argument prototype would still apply. */
16552 rm -f conftest.$ac_objext conftest$ac_exeext
16553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16554 (eval $ac_link) 2>conftest.er1
16556 grep -v '^ *+' conftest.er1 >conftest.err
16558 cat conftest.err >&5
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); } &&
16561 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16563 (eval $ac_try) 2>&5
16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566 (exit $ac_status); }; } &&
16567 { ac_try='test -s conftest$ac_exeext'
16568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16569 (eval $ac_try) 2>&5
16571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16572 (exit $ac_status); }; }; then
16573 ac_cv_lib_m_tanhf=yes
16575 echo "$as_me: failed program was:" >&5
16576 sed 's/^/| /' conftest.$ac_ext >&5
16578 ac_cv_lib_m_tanhf=no
16580 rm -f conftest.err conftest.$ac_objext \
16581 conftest$ac_exeext conftest.$ac_ext
16582 LIBS=$ac_check_lib_save_LIBS
16584 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
16585 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
16586 if test $ac_cv_lib_m_tanhf = yes; then
16588 cat >>confdefs.h <<\_ACEOF
16589 #define HAVE_TANHF 1
16594 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
16595 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
16596 if test "${ac_cv_lib_m_tanh+set}" = set; then
16597 echo $ECHO_N "(cached) $ECHO_C" >&6
16599 ac_check_lib_save_LIBS=$LIBS
16601 if test x$gcc_no_link = xyes; then
16602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16604 { (exit 1); exit 1; }; }
16606 cat >conftest.$ac_ext <<_ACEOF
16609 cat confdefs.h >>conftest.$ac_ext
16610 cat >>conftest.$ac_ext <<_ACEOF
16611 /* end confdefs.h. */
16613 /* Override any gcc2 internal prototype to avoid an error. */
16617 /* We use char because int might match the return type of a gcc2
16618 builtin and then its argument prototype would still apply. */
16628 rm -f conftest.$ac_objext conftest$ac_exeext
16629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16630 (eval $ac_link) 2>conftest.er1
16632 grep -v '^ *+' conftest.er1 >conftest.err
16634 cat conftest.err >&5
16635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16636 (exit $ac_status); } &&
16637 { ac_try='test -z "$ac_c_werror_flag" || 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_tanh=yes
16651 echo "$as_me: failed program was:" >&5
16652 sed 's/^/| /' conftest.$ac_ext >&5
16654 ac_cv_lib_m_tanh=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_tanh" >&5
16661 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
16662 if test $ac_cv_lib_m_tanh = yes; then
16664 cat >>confdefs.h <<\_ACEOF
16665 #define HAVE_TANH 1
16670 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
16671 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
16672 if test "${ac_cv_lib_m_tanhl+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" || test ! -s conftest.err'
16714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16715 (eval $ac_try) 2>&5
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); }; } &&
16719 { ac_try='test -s conftest$ac_exeext'
16720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16721 (eval $ac_try) 2>&5
16723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16724 (exit $ac_status); }; }; then
16725 ac_cv_lib_m_tanhl=yes
16727 echo "$as_me: failed program was:" >&5
16728 sed 's/^/| /' conftest.$ac_ext >&5
16730 ac_cv_lib_m_tanhl=no
16732 rm -f conftest.err conftest.$ac_objext \
16733 conftest$ac_exeext conftest.$ac_ext
16734 LIBS=$ac_check_lib_save_LIBS
16736 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
16737 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
16738 if test $ac_cv_lib_m_tanhl = yes; then
16740 cat >>confdefs.h <<\_ACEOF
16741 #define HAVE_TANHL 1
16746 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
16747 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
16748 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
16749 echo $ECHO_N "(cached) $ECHO_C" >&6
16751 ac_check_lib_save_LIBS=$LIBS
16753 if test x$gcc_no_link = xyes; then
16754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16756 { (exit 1); exit 1; }; }
16758 cat >conftest.$ac_ext <<_ACEOF
16761 cat confdefs.h >>conftest.$ac_ext
16762 cat >>conftest.$ac_ext <<_ACEOF
16763 /* end confdefs.h. */
16765 /* Override any gcc2 internal prototype to avoid an error. */
16769 /* We use char because int might match the return type of a gcc2
16770 builtin and then its argument prototype would still apply. */
16780 rm -f conftest.$ac_objext conftest$ac_exeext
16781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16782 (eval $ac_link) 2>conftest.er1
16784 grep -v '^ *+' conftest.er1 >conftest.err
16786 cat conftest.err >&5
16787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); } &&
16789 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16791 (eval $ac_try) 2>&5
16793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16794 (exit $ac_status); }; } &&
16795 { ac_try='test -s conftest$ac_exeext'
16796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16797 (eval $ac_try) 2>&5
16799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16800 (exit $ac_status); }; }; then
16801 ac_cv_lib_m_ctanhf=yes
16803 echo "$as_me: failed program was:" >&5
16804 sed 's/^/| /' conftest.$ac_ext >&5
16806 ac_cv_lib_m_ctanhf=no
16808 rm -f conftest.err conftest.$ac_objext \
16809 conftest$ac_exeext conftest.$ac_ext
16810 LIBS=$ac_check_lib_save_LIBS
16812 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
16813 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
16814 if test $ac_cv_lib_m_ctanhf = yes; then
16816 cat >>confdefs.h <<\_ACEOF
16817 #define HAVE_CTANHF 1
16822 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
16823 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
16824 if test "${ac_cv_lib_m_ctanh+set}" = set; then
16825 echo $ECHO_N "(cached) $ECHO_C" >&6
16827 ac_check_lib_save_LIBS=$LIBS
16829 if test x$gcc_no_link = xyes; then
16830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16832 { (exit 1); exit 1; }; }
16834 cat >conftest.$ac_ext <<_ACEOF
16837 cat confdefs.h >>conftest.$ac_ext
16838 cat >>conftest.$ac_ext <<_ACEOF
16839 /* end confdefs.h. */
16841 /* Override any gcc2 internal prototype to avoid an error. */
16845 /* We use char because int might match the return type of a gcc2
16846 builtin and then its argument prototype would still apply. */
16856 rm -f conftest.$ac_objext conftest$ac_exeext
16857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16858 (eval $ac_link) 2>conftest.er1
16860 grep -v '^ *+' conftest.er1 >conftest.err
16862 cat conftest.err >&5
16863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16864 (exit $ac_status); } &&
16865 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16867 (eval $ac_try) 2>&5
16869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16870 (exit $ac_status); }; } &&
16871 { ac_try='test -s conftest$ac_exeext'
16872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16873 (eval $ac_try) 2>&5
16875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16876 (exit $ac_status); }; }; then
16877 ac_cv_lib_m_ctanh=yes
16879 echo "$as_me: failed program was:" >&5
16880 sed 's/^/| /' conftest.$ac_ext >&5
16882 ac_cv_lib_m_ctanh=no
16884 rm -f conftest.err conftest.$ac_objext \
16885 conftest$ac_exeext conftest.$ac_ext
16886 LIBS=$ac_check_lib_save_LIBS
16888 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
16889 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
16890 if test $ac_cv_lib_m_ctanh = yes; then
16892 cat >>confdefs.h <<\_ACEOF
16893 #define HAVE_CTANH 1
16898 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
16899 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
16900 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
16901 echo $ECHO_N "(cached) $ECHO_C" >&6
16903 ac_check_lib_save_LIBS=$LIBS
16905 if test x$gcc_no_link = xyes; then
16906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16908 { (exit 1); exit 1; }; }
16910 cat >conftest.$ac_ext <<_ACEOF
16913 cat confdefs.h >>conftest.$ac_ext
16914 cat >>conftest.$ac_ext <<_ACEOF
16915 /* end confdefs.h. */
16917 /* Override any gcc2 internal prototype to avoid an error. */
16921 /* We use char because int might match the return type of a gcc2
16922 builtin and then its argument prototype would still apply. */
16932 rm -f conftest.$ac_objext conftest$ac_exeext
16933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16934 (eval $ac_link) 2>conftest.er1
16936 grep -v '^ *+' conftest.er1 >conftest.err
16938 cat conftest.err >&5
16939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16940 (exit $ac_status); } &&
16941 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16943 (eval $ac_try) 2>&5
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); }; } &&
16947 { ac_try='test -s conftest$ac_exeext'
16948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16949 (eval $ac_try) 2>&5
16951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16952 (exit $ac_status); }; }; then
16953 ac_cv_lib_m_ctanhl=yes
16955 echo "$as_me: failed program was:" >&5
16956 sed 's/^/| /' conftest.$ac_ext >&5
16958 ac_cv_lib_m_ctanhl=no
16960 rm -f conftest.err conftest.$ac_objext \
16961 conftest$ac_exeext conftest.$ac_ext
16962 LIBS=$ac_check_lib_save_LIBS
16964 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
16965 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
16966 if test $ac_cv_lib_m_ctanhl = yes; then
16968 cat >>confdefs.h <<\_ACEOF
16969 #define HAVE_CTANHL 1
16974 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
16975 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
16976 if test "${ac_cv_lib_m_truncf+set}" = set; then
16977 echo $ECHO_N "(cached) $ECHO_C" >&6
16979 ac_check_lib_save_LIBS=$LIBS
16981 if test x$gcc_no_link = xyes; then
16982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16984 { (exit 1); exit 1; }; }
16986 cat >conftest.$ac_ext <<_ACEOF
16989 cat confdefs.h >>conftest.$ac_ext
16990 cat >>conftest.$ac_ext <<_ACEOF
16991 /* end confdefs.h. */
16993 /* Override any gcc2 internal prototype to avoid an error. */
16997 /* We use char because int might match the return type of a gcc2
16998 builtin and then its argument prototype would still apply. */
17008 rm -f conftest.$ac_objext conftest$ac_exeext
17009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17010 (eval $ac_link) 2>conftest.er1
17012 grep -v '^ *+' conftest.er1 >conftest.err
17014 cat conftest.err >&5
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); } &&
17017 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17019 (eval $ac_try) 2>&5
17021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17022 (exit $ac_status); }; } &&
17023 { ac_try='test -s conftest$ac_exeext'
17024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17025 (eval $ac_try) 2>&5
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); }; }; then
17029 ac_cv_lib_m_truncf=yes
17031 echo "$as_me: failed program was:" >&5
17032 sed 's/^/| /' conftest.$ac_ext >&5
17034 ac_cv_lib_m_truncf=no
17036 rm -f conftest.err conftest.$ac_objext \
17037 conftest$ac_exeext conftest.$ac_ext
17038 LIBS=$ac_check_lib_save_LIBS
17040 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
17041 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
17042 if test $ac_cv_lib_m_truncf = yes; then
17044 cat >>confdefs.h <<\_ACEOF
17045 #define HAVE_TRUNCF 1
17050 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
17051 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
17052 if test "${ac_cv_lib_m_trunc+set}" = set; then
17053 echo $ECHO_N "(cached) $ECHO_C" >&6
17055 ac_check_lib_save_LIBS=$LIBS
17057 if test x$gcc_no_link = xyes; then
17058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17060 { (exit 1); exit 1; }; }
17062 cat >conftest.$ac_ext <<_ACEOF
17065 cat confdefs.h >>conftest.$ac_ext
17066 cat >>conftest.$ac_ext <<_ACEOF
17067 /* end confdefs.h. */
17069 /* Override any gcc2 internal prototype to avoid an error. */
17073 /* We use char because int might match the return type of a gcc2
17074 builtin and then its argument prototype would still apply. */
17084 rm -f conftest.$ac_objext conftest$ac_exeext
17085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17086 (eval $ac_link) 2>conftest.er1
17088 grep -v '^ *+' conftest.er1 >conftest.err
17090 cat conftest.err >&5
17091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17092 (exit $ac_status); } &&
17093 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17095 (eval $ac_try) 2>&5
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); }; } &&
17099 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
17105 ac_cv_lib_m_trunc=yes
17107 echo "$as_me: failed program was:" >&5
17108 sed 's/^/| /' conftest.$ac_ext >&5
17110 ac_cv_lib_m_trunc=no
17112 rm -f conftest.err conftest.$ac_objext \
17113 conftest$ac_exeext conftest.$ac_ext
17114 LIBS=$ac_check_lib_save_LIBS
17116 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
17117 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
17118 if test $ac_cv_lib_m_trunc = yes; then
17120 cat >>confdefs.h <<\_ACEOF
17121 #define HAVE_TRUNC 1
17126 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
17127 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
17128 if test "${ac_cv_lib_m_truncl+set}" = set; then
17129 echo $ECHO_N "(cached) $ECHO_C" >&6
17131 ac_check_lib_save_LIBS=$LIBS
17133 if test x$gcc_no_link = xyes; then
17134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17136 { (exit 1); exit 1; }; }
17138 cat >conftest.$ac_ext <<_ACEOF
17141 cat confdefs.h >>conftest.$ac_ext
17142 cat >>conftest.$ac_ext <<_ACEOF
17143 /* end confdefs.h. */
17145 /* Override any gcc2 internal prototype to avoid an error. */
17149 /* We use char because int might match the return type of a gcc2
17150 builtin and then its argument prototype would still apply. */
17160 rm -f conftest.$ac_objext conftest$ac_exeext
17161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17162 (eval $ac_link) 2>conftest.er1
17164 grep -v '^ *+' conftest.er1 >conftest.err
17166 cat conftest.err >&5
17167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17168 (exit $ac_status); } &&
17169 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17171 (eval $ac_try) 2>&5
17173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17174 (exit $ac_status); }; } &&
17175 { ac_try='test -s conftest$ac_exeext'
17176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17177 (eval $ac_try) 2>&5
17179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17180 (exit $ac_status); }; }; then
17181 ac_cv_lib_m_truncl=yes
17183 echo "$as_me: failed program was:" >&5
17184 sed 's/^/| /' conftest.$ac_ext >&5
17186 ac_cv_lib_m_truncl=no
17188 rm -f conftest.err conftest.$ac_objext \
17189 conftest$ac_exeext conftest.$ac_ext
17190 LIBS=$ac_check_lib_save_LIBS
17192 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
17193 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
17194 if test $ac_cv_lib_m_truncl = yes; then
17196 cat >>confdefs.h <<\_ACEOF
17197 #define HAVE_TRUNCL 1
17202 echo "$as_me:$LINENO: checking for erff in -lm" >&5
17203 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
17204 if test "${ac_cv_lib_m_erff+set}" = set; then
17205 echo $ECHO_N "(cached) $ECHO_C" >&6
17207 ac_check_lib_save_LIBS=$LIBS
17209 if test x$gcc_no_link = xyes; then
17210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17212 { (exit 1); exit 1; }; }
17214 cat >conftest.$ac_ext <<_ACEOF
17217 cat confdefs.h >>conftest.$ac_ext
17218 cat >>conftest.$ac_ext <<_ACEOF
17219 /* end confdefs.h. */
17221 /* Override any gcc2 internal prototype to avoid an error. */
17225 /* We use char because int might match the return type of a gcc2
17226 builtin and then its argument prototype would still apply. */
17236 rm -f conftest.$ac_objext conftest$ac_exeext
17237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17238 (eval $ac_link) 2>conftest.er1
17240 grep -v '^ *+' conftest.er1 >conftest.err
17242 cat conftest.err >&5
17243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17244 (exit $ac_status); } &&
17245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17247 (eval $ac_try) 2>&5
17249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17250 (exit $ac_status); }; } &&
17251 { ac_try='test -s conftest$ac_exeext'
17252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17253 (eval $ac_try) 2>&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); }; }; then
17257 ac_cv_lib_m_erff=yes
17259 echo "$as_me: failed program was:" >&5
17260 sed 's/^/| /' conftest.$ac_ext >&5
17262 ac_cv_lib_m_erff=no
17264 rm -f conftest.err conftest.$ac_objext \
17265 conftest$ac_exeext conftest.$ac_ext
17266 LIBS=$ac_check_lib_save_LIBS
17268 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
17269 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
17270 if test $ac_cv_lib_m_erff = yes; then
17272 cat >>confdefs.h <<\_ACEOF
17273 #define HAVE_ERFF 1
17278 echo "$as_me:$LINENO: checking for erf in -lm" >&5
17279 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
17280 if test "${ac_cv_lib_m_erf+set}" = set; then
17281 echo $ECHO_N "(cached) $ECHO_C" >&6
17283 ac_check_lib_save_LIBS=$LIBS
17285 if test x$gcc_no_link = xyes; then
17286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17288 { (exit 1); exit 1; }; }
17290 cat >conftest.$ac_ext <<_ACEOF
17293 cat confdefs.h >>conftest.$ac_ext
17294 cat >>conftest.$ac_ext <<_ACEOF
17295 /* end confdefs.h. */
17297 /* Override any gcc2 internal prototype to avoid an error. */
17301 /* We use char because int might match the return type of a gcc2
17302 builtin and then its argument prototype would still apply. */
17312 rm -f conftest.$ac_objext conftest$ac_exeext
17313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17314 (eval $ac_link) 2>conftest.er1
17316 grep -v '^ *+' conftest.er1 >conftest.err
17318 cat conftest.err >&5
17319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17320 (exit $ac_status); } &&
17321 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17323 (eval $ac_try) 2>&5
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); }; } &&
17327 { ac_try='test -s conftest$ac_exeext'
17328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17329 (eval $ac_try) 2>&5
17331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17332 (exit $ac_status); }; }; then
17333 ac_cv_lib_m_erf=yes
17335 echo "$as_me: failed program was:" >&5
17336 sed 's/^/| /' conftest.$ac_ext >&5
17340 rm -f conftest.err conftest.$ac_objext \
17341 conftest$ac_exeext conftest.$ac_ext
17342 LIBS=$ac_check_lib_save_LIBS
17344 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
17345 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
17346 if test $ac_cv_lib_m_erf = yes; then
17348 cat >>confdefs.h <<\_ACEOF
17354 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
17355 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
17356 if test "${ac_cv_lib_m_erfl+set}" = set; then
17357 echo $ECHO_N "(cached) $ECHO_C" >&6
17359 ac_check_lib_save_LIBS=$LIBS
17361 if test x$gcc_no_link = xyes; then
17362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17364 { (exit 1); exit 1; }; }
17366 cat >conftest.$ac_ext <<_ACEOF
17369 cat confdefs.h >>conftest.$ac_ext
17370 cat >>conftest.$ac_ext <<_ACEOF
17371 /* end confdefs.h. */
17373 /* Override any gcc2 internal prototype to avoid an error. */
17377 /* We use char because int might match the return type of a gcc2
17378 builtin and then its argument prototype would still apply. */
17388 rm -f conftest.$ac_objext conftest$ac_exeext
17389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17390 (eval $ac_link) 2>conftest.er1
17392 grep -v '^ *+' conftest.er1 >conftest.err
17394 cat conftest.err >&5
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); } &&
17397 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17399 (eval $ac_try) 2>&5
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); }; } &&
17403 { ac_try='test -s conftest$ac_exeext'
17404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17405 (eval $ac_try) 2>&5
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); }; }; then
17409 ac_cv_lib_m_erfl=yes
17411 echo "$as_me: failed program was:" >&5
17412 sed 's/^/| /' conftest.$ac_ext >&5
17414 ac_cv_lib_m_erfl=no
17416 rm -f conftest.err conftest.$ac_objext \
17417 conftest$ac_exeext conftest.$ac_ext
17418 LIBS=$ac_check_lib_save_LIBS
17420 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
17421 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
17422 if test $ac_cv_lib_m_erfl = yes; then
17424 cat >>confdefs.h <<\_ACEOF
17425 #define HAVE_ERFL 1
17430 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
17431 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
17432 if test "${ac_cv_lib_m_erfcf+set}" = set; then
17433 echo $ECHO_N "(cached) $ECHO_C" >&6
17435 ac_check_lib_save_LIBS=$LIBS
17437 if test x$gcc_no_link = xyes; then
17438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17440 { (exit 1); exit 1; }; }
17442 cat >conftest.$ac_ext <<_ACEOF
17445 cat confdefs.h >>conftest.$ac_ext
17446 cat >>conftest.$ac_ext <<_ACEOF
17447 /* end confdefs.h. */
17449 /* Override any gcc2 internal prototype to avoid an error. */
17453 /* We use char because int might match the return type of a gcc2
17454 builtin and then its argument prototype would still apply. */
17464 rm -f conftest.$ac_objext conftest$ac_exeext
17465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17466 (eval $ac_link) 2>conftest.er1
17468 grep -v '^ *+' conftest.er1 >conftest.err
17470 cat conftest.err >&5
17471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17472 (exit $ac_status); } &&
17473 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17475 (eval $ac_try) 2>&5
17477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17478 (exit $ac_status); }; } &&
17479 { ac_try='test -s conftest$ac_exeext'
17480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17481 (eval $ac_try) 2>&5
17483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17484 (exit $ac_status); }; }; then
17485 ac_cv_lib_m_erfcf=yes
17487 echo "$as_me: failed program was:" >&5
17488 sed 's/^/| /' conftest.$ac_ext >&5
17490 ac_cv_lib_m_erfcf=no
17492 rm -f conftest.err conftest.$ac_objext \
17493 conftest$ac_exeext conftest.$ac_ext
17494 LIBS=$ac_check_lib_save_LIBS
17496 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
17497 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
17498 if test $ac_cv_lib_m_erfcf = yes; then
17500 cat >>confdefs.h <<\_ACEOF
17501 #define HAVE_ERFCF 1
17506 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
17507 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
17508 if test "${ac_cv_lib_m_erfc+set}" = set; then
17509 echo $ECHO_N "(cached) $ECHO_C" >&6
17511 ac_check_lib_save_LIBS=$LIBS
17513 if test x$gcc_no_link = xyes; then
17514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17516 { (exit 1); exit 1; }; }
17518 cat >conftest.$ac_ext <<_ACEOF
17521 cat confdefs.h >>conftest.$ac_ext
17522 cat >>conftest.$ac_ext <<_ACEOF
17523 /* end confdefs.h. */
17525 /* Override any gcc2 internal prototype to avoid an error. */
17529 /* We use char because int might match the return type of a gcc2
17530 builtin and then its argument prototype would still apply. */
17540 rm -f conftest.$ac_objext conftest$ac_exeext
17541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17542 (eval $ac_link) 2>conftest.er1
17544 grep -v '^ *+' conftest.er1 >conftest.err
17546 cat conftest.err >&5
17547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548 (exit $ac_status); } &&
17549 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17551 (eval $ac_try) 2>&5
17553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17554 (exit $ac_status); }; } &&
17555 { ac_try='test -s conftest$ac_exeext'
17556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17557 (eval $ac_try) 2>&5
17559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17560 (exit $ac_status); }; }; then
17561 ac_cv_lib_m_erfc=yes
17563 echo "$as_me: failed program was:" >&5
17564 sed 's/^/| /' conftest.$ac_ext >&5
17566 ac_cv_lib_m_erfc=no
17568 rm -f conftest.err conftest.$ac_objext \
17569 conftest$ac_exeext conftest.$ac_ext
17570 LIBS=$ac_check_lib_save_LIBS
17572 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
17573 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
17574 if test $ac_cv_lib_m_erfc = yes; then
17576 cat >>confdefs.h <<\_ACEOF
17577 #define HAVE_ERFC 1
17582 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
17583 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
17584 if test "${ac_cv_lib_m_erfcl+set}" = set; then
17585 echo $ECHO_N "(cached) $ECHO_C" >&6
17587 ac_check_lib_save_LIBS=$LIBS
17589 if test x$gcc_no_link = xyes; then
17590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17592 { (exit 1); exit 1; }; }
17594 cat >conftest.$ac_ext <<_ACEOF
17597 cat confdefs.h >>conftest.$ac_ext
17598 cat >>conftest.$ac_ext <<_ACEOF
17599 /* end confdefs.h. */
17601 /* Override any gcc2 internal prototype to avoid an error. */
17605 /* We use char because int might match the return type of a gcc2
17606 builtin and then its argument prototype would still apply. */
17616 rm -f conftest.$ac_objext conftest$ac_exeext
17617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17618 (eval $ac_link) 2>conftest.er1
17620 grep -v '^ *+' conftest.er1 >conftest.err
17622 cat conftest.err >&5
17623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17624 (exit $ac_status); } &&
17625 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17627 (eval $ac_try) 2>&5
17629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17630 (exit $ac_status); }; } &&
17631 { ac_try='test -s conftest$ac_exeext'
17632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17633 (eval $ac_try) 2>&5
17635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17636 (exit $ac_status); }; }; then
17637 ac_cv_lib_m_erfcl=yes
17639 echo "$as_me: failed program was:" >&5
17640 sed 's/^/| /' conftest.$ac_ext >&5
17642 ac_cv_lib_m_erfcl=no
17644 rm -f conftest.err conftest.$ac_objext \
17645 conftest$ac_exeext conftest.$ac_ext
17646 LIBS=$ac_check_lib_save_LIBS
17648 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
17649 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
17650 if test $ac_cv_lib_m_erfcl = yes; then
17652 cat >>confdefs.h <<\_ACEOF
17653 #define HAVE_ERFCL 1
17658 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
17659 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
17660 if test "${ac_cv_lib_m_j0f+set}" = set; then
17661 echo $ECHO_N "(cached) $ECHO_C" >&6
17663 ac_check_lib_save_LIBS=$LIBS
17665 if test x$gcc_no_link = xyes; then
17666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17668 { (exit 1); exit 1; }; }
17670 cat >conftest.$ac_ext <<_ACEOF
17673 cat confdefs.h >>conftest.$ac_ext
17674 cat >>conftest.$ac_ext <<_ACEOF
17675 /* end confdefs.h. */
17677 /* Override any gcc2 internal prototype to avoid an error. */
17681 /* We use char because int might match the return type of a gcc2
17682 builtin and then its argument prototype would still apply. */
17692 rm -f conftest.$ac_objext conftest$ac_exeext
17693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17694 (eval $ac_link) 2>conftest.er1
17696 grep -v '^ *+' conftest.er1 >conftest.err
17698 cat conftest.err >&5
17699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17700 (exit $ac_status); } &&
17701 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17703 (eval $ac_try) 2>&5
17705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17706 (exit $ac_status); }; } &&
17707 { ac_try='test -s conftest$ac_exeext'
17708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17709 (eval $ac_try) 2>&5
17711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17712 (exit $ac_status); }; }; then
17713 ac_cv_lib_m_j0f=yes
17715 echo "$as_me: failed program was:" >&5
17716 sed 's/^/| /' conftest.$ac_ext >&5
17720 rm -f conftest.err conftest.$ac_objext \
17721 conftest$ac_exeext conftest.$ac_ext
17722 LIBS=$ac_check_lib_save_LIBS
17724 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
17725 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
17726 if test $ac_cv_lib_m_j0f = yes; then
17728 cat >>confdefs.h <<\_ACEOF
17734 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
17735 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
17736 if test "${ac_cv_lib_m_j0+set}" = set; then
17737 echo $ECHO_N "(cached) $ECHO_C" >&6
17739 ac_check_lib_save_LIBS=$LIBS
17741 if test x$gcc_no_link = xyes; then
17742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17744 { (exit 1); exit 1; }; }
17746 cat >conftest.$ac_ext <<_ACEOF
17749 cat confdefs.h >>conftest.$ac_ext
17750 cat >>conftest.$ac_ext <<_ACEOF
17751 /* end confdefs.h. */
17753 /* Override any gcc2 internal prototype to avoid an error. */
17757 /* We use char because int might match the return type of a gcc2
17758 builtin and then its argument prototype would still apply. */
17768 rm -f conftest.$ac_objext conftest$ac_exeext
17769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17770 (eval $ac_link) 2>conftest.er1
17772 grep -v '^ *+' conftest.er1 >conftest.err
17774 cat conftest.err >&5
17775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17776 (exit $ac_status); } &&
17777 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17779 (eval $ac_try) 2>&5
17781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782 (exit $ac_status); }; } &&
17783 { ac_try='test -s conftest$ac_exeext'
17784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17785 (eval $ac_try) 2>&5
17787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788 (exit $ac_status); }; }; then
17791 echo "$as_me: failed program was:" >&5
17792 sed 's/^/| /' conftest.$ac_ext >&5
17796 rm -f conftest.err conftest.$ac_objext \
17797 conftest$ac_exeext conftest.$ac_ext
17798 LIBS=$ac_check_lib_save_LIBS
17800 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
17801 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
17802 if test $ac_cv_lib_m_j0 = yes; then
17804 cat >>confdefs.h <<\_ACEOF
17810 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
17811 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
17812 if test "${ac_cv_lib_m_j0l+set}" = set; then
17813 echo $ECHO_N "(cached) $ECHO_C" >&6
17815 ac_check_lib_save_LIBS=$LIBS
17817 if test x$gcc_no_link = xyes; then
17818 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17820 { (exit 1); exit 1; }; }
17822 cat >conftest.$ac_ext <<_ACEOF
17825 cat confdefs.h >>conftest.$ac_ext
17826 cat >>conftest.$ac_ext <<_ACEOF
17827 /* end confdefs.h. */
17829 /* Override any gcc2 internal prototype to avoid an error. */
17833 /* We use char because int might match the return type of a gcc2
17834 builtin and then its argument prototype would still apply. */
17844 rm -f conftest.$ac_objext conftest$ac_exeext
17845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17846 (eval $ac_link) 2>conftest.er1
17848 grep -v '^ *+' conftest.er1 >conftest.err
17850 cat conftest.err >&5
17851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17852 (exit $ac_status); } &&
17853 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17855 (eval $ac_try) 2>&5
17857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17858 (exit $ac_status); }; } &&
17859 { ac_try='test -s conftest$ac_exeext'
17860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17861 (eval $ac_try) 2>&5
17863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17864 (exit $ac_status); }; }; then
17865 ac_cv_lib_m_j0l=yes
17867 echo "$as_me: failed program was:" >&5
17868 sed 's/^/| /' conftest.$ac_ext >&5
17872 rm -f conftest.err conftest.$ac_objext \
17873 conftest$ac_exeext conftest.$ac_ext
17874 LIBS=$ac_check_lib_save_LIBS
17876 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
17877 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
17878 if test $ac_cv_lib_m_j0l = yes; then
17880 cat >>confdefs.h <<\_ACEOF
17886 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
17887 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
17888 if test "${ac_cv_lib_m_j1f+set}" = set; then
17889 echo $ECHO_N "(cached) $ECHO_C" >&6
17891 ac_check_lib_save_LIBS=$LIBS
17893 if test x$gcc_no_link = xyes; then
17894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17896 { (exit 1); exit 1; }; }
17898 cat >conftest.$ac_ext <<_ACEOF
17901 cat confdefs.h >>conftest.$ac_ext
17902 cat >>conftest.$ac_ext <<_ACEOF
17903 /* end confdefs.h. */
17905 /* Override any gcc2 internal prototype to avoid an error. */
17909 /* We use char because int might match the return type of a gcc2
17910 builtin and then its argument prototype would still apply. */
17920 rm -f conftest.$ac_objext conftest$ac_exeext
17921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17922 (eval $ac_link) 2>conftest.er1
17924 grep -v '^ *+' conftest.er1 >conftest.err
17926 cat conftest.err >&5
17927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17928 (exit $ac_status); } &&
17929 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17931 (eval $ac_try) 2>&5
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); }; } &&
17935 { ac_try='test -s conftest$ac_exeext'
17936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17937 (eval $ac_try) 2>&5
17939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17940 (exit $ac_status); }; }; then
17941 ac_cv_lib_m_j1f=yes
17943 echo "$as_me: failed program was:" >&5
17944 sed 's/^/| /' conftest.$ac_ext >&5
17948 rm -f conftest.err conftest.$ac_objext \
17949 conftest$ac_exeext conftest.$ac_ext
17950 LIBS=$ac_check_lib_save_LIBS
17952 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
17953 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
17954 if test $ac_cv_lib_m_j1f = yes; then
17956 cat >>confdefs.h <<\_ACEOF
17962 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
17963 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
17964 if test "${ac_cv_lib_m_j1+set}" = set; then
17965 echo $ECHO_N "(cached) $ECHO_C" >&6
17967 ac_check_lib_save_LIBS=$LIBS
17969 if test x$gcc_no_link = xyes; then
17970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17972 { (exit 1); exit 1; }; }
17974 cat >conftest.$ac_ext <<_ACEOF
17977 cat confdefs.h >>conftest.$ac_ext
17978 cat >>conftest.$ac_ext <<_ACEOF
17979 /* end confdefs.h. */
17981 /* Override any gcc2 internal prototype to avoid an error. */
17985 /* We use char because int might match the return type of a gcc2
17986 builtin and then its argument prototype would still apply. */
17996 rm -f conftest.$ac_objext conftest$ac_exeext
17997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17998 (eval $ac_link) 2>conftest.er1
18000 grep -v '^ *+' conftest.er1 >conftest.err
18002 cat conftest.err >&5
18003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18004 (exit $ac_status); } &&
18005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18007 (eval $ac_try) 2>&5
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); }; } &&
18011 { ac_try='test -s conftest$ac_exeext'
18012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18013 (eval $ac_try) 2>&5
18015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18016 (exit $ac_status); }; }; then
18019 echo "$as_me: failed program was:" >&5
18020 sed 's/^/| /' conftest.$ac_ext >&5
18024 rm -f conftest.err conftest.$ac_objext \
18025 conftest$ac_exeext conftest.$ac_ext
18026 LIBS=$ac_check_lib_save_LIBS
18028 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
18029 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
18030 if test $ac_cv_lib_m_j1 = yes; then
18032 cat >>confdefs.h <<\_ACEOF
18038 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
18039 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
18040 if test "${ac_cv_lib_m_j1l+set}" = set; then
18041 echo $ECHO_N "(cached) $ECHO_C" >&6
18043 ac_check_lib_save_LIBS=$LIBS
18045 if test x$gcc_no_link = xyes; then
18046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18048 { (exit 1); exit 1; }; }
18050 cat >conftest.$ac_ext <<_ACEOF
18053 cat confdefs.h >>conftest.$ac_ext
18054 cat >>conftest.$ac_ext <<_ACEOF
18055 /* end confdefs.h. */
18057 /* Override any gcc2 internal prototype to avoid an error. */
18061 /* We use char because int might match the return type of a gcc2
18062 builtin and then its argument prototype would still apply. */
18072 rm -f conftest.$ac_objext conftest$ac_exeext
18073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18074 (eval $ac_link) 2>conftest.er1
18076 grep -v '^ *+' conftest.er1 >conftest.err
18078 cat conftest.err >&5
18079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18080 (exit $ac_status); } &&
18081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18083 (eval $ac_try) 2>&5
18085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18086 (exit $ac_status); }; } &&
18087 { ac_try='test -s conftest$ac_exeext'
18088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18089 (eval $ac_try) 2>&5
18091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18092 (exit $ac_status); }; }; then
18093 ac_cv_lib_m_j1l=yes
18095 echo "$as_me: failed program was:" >&5
18096 sed 's/^/| /' conftest.$ac_ext >&5
18100 rm -f conftest.err conftest.$ac_objext \
18101 conftest$ac_exeext conftest.$ac_ext
18102 LIBS=$ac_check_lib_save_LIBS
18104 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
18105 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
18106 if test $ac_cv_lib_m_j1l = yes; then
18108 cat >>confdefs.h <<\_ACEOF
18114 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
18115 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
18116 if test "${ac_cv_lib_m_jnf+set}" = set; then
18117 echo $ECHO_N "(cached) $ECHO_C" >&6
18119 ac_check_lib_save_LIBS=$LIBS
18121 if test x$gcc_no_link = xyes; then
18122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18124 { (exit 1); exit 1; }; }
18126 cat >conftest.$ac_ext <<_ACEOF
18129 cat confdefs.h >>conftest.$ac_ext
18130 cat >>conftest.$ac_ext <<_ACEOF
18131 /* end confdefs.h. */
18133 /* Override any gcc2 internal prototype to avoid an error. */
18137 /* We use char because int might match the return type of a gcc2
18138 builtin and then its argument prototype would still apply. */
18148 rm -f conftest.$ac_objext conftest$ac_exeext
18149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18150 (eval $ac_link) 2>conftest.er1
18152 grep -v '^ *+' conftest.er1 >conftest.err
18154 cat conftest.err >&5
18155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18156 (exit $ac_status); } &&
18157 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18159 (eval $ac_try) 2>&5
18161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18162 (exit $ac_status); }; } &&
18163 { ac_try='test -s conftest$ac_exeext'
18164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18165 (eval $ac_try) 2>&5
18167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168 (exit $ac_status); }; }; then
18169 ac_cv_lib_m_jnf=yes
18171 echo "$as_me: failed program was:" >&5
18172 sed 's/^/| /' conftest.$ac_ext >&5
18176 rm -f conftest.err conftest.$ac_objext \
18177 conftest$ac_exeext conftest.$ac_ext
18178 LIBS=$ac_check_lib_save_LIBS
18180 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
18181 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
18182 if test $ac_cv_lib_m_jnf = yes; then
18184 cat >>confdefs.h <<\_ACEOF
18190 echo "$as_me:$LINENO: checking for jn in -lm" >&5
18191 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
18192 if test "${ac_cv_lib_m_jn+set}" = set; then
18193 echo $ECHO_N "(cached) $ECHO_C" >&6
18195 ac_check_lib_save_LIBS=$LIBS
18197 if test x$gcc_no_link = xyes; then
18198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18200 { (exit 1); exit 1; }; }
18202 cat >conftest.$ac_ext <<_ACEOF
18205 cat confdefs.h >>conftest.$ac_ext
18206 cat >>conftest.$ac_ext <<_ACEOF
18207 /* end confdefs.h. */
18209 /* Override any gcc2 internal prototype to avoid an error. */
18213 /* We use char because int might match the return type of a gcc2
18214 builtin and then its argument prototype would still apply. */
18224 rm -f conftest.$ac_objext conftest$ac_exeext
18225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18226 (eval $ac_link) 2>conftest.er1
18228 grep -v '^ *+' conftest.er1 >conftest.err
18230 cat conftest.err >&5
18231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18232 (exit $ac_status); } &&
18233 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18235 (eval $ac_try) 2>&5
18237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18238 (exit $ac_status); }; } &&
18239 { ac_try='test -s conftest$ac_exeext'
18240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18241 (eval $ac_try) 2>&5
18243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18244 (exit $ac_status); }; }; then
18247 echo "$as_me: failed program was:" >&5
18248 sed 's/^/| /' conftest.$ac_ext >&5
18252 rm -f conftest.err conftest.$ac_objext \
18253 conftest$ac_exeext conftest.$ac_ext
18254 LIBS=$ac_check_lib_save_LIBS
18256 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
18257 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
18258 if test $ac_cv_lib_m_jn = yes; then
18260 cat >>confdefs.h <<\_ACEOF
18266 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
18267 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
18268 if test "${ac_cv_lib_m_jnl+set}" = set; then
18269 echo $ECHO_N "(cached) $ECHO_C" >&6
18271 ac_check_lib_save_LIBS=$LIBS
18273 if test x$gcc_no_link = xyes; then
18274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18276 { (exit 1); exit 1; }; }
18278 cat >conftest.$ac_ext <<_ACEOF
18281 cat confdefs.h >>conftest.$ac_ext
18282 cat >>conftest.$ac_ext <<_ACEOF
18283 /* end confdefs.h. */
18285 /* Override any gcc2 internal prototype to avoid an error. */
18289 /* We use char because int might match the return type of a gcc2
18290 builtin and then its argument prototype would still apply. */
18300 rm -f conftest.$ac_objext conftest$ac_exeext
18301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18302 (eval $ac_link) 2>conftest.er1
18304 grep -v '^ *+' conftest.er1 >conftest.err
18306 cat conftest.err >&5
18307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18308 (exit $ac_status); } &&
18309 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18311 (eval $ac_try) 2>&5
18313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18314 (exit $ac_status); }; } &&
18315 { ac_try='test -s conftest$ac_exeext'
18316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18317 (eval $ac_try) 2>&5
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); }; }; then
18321 ac_cv_lib_m_jnl=yes
18323 echo "$as_me: failed program was:" >&5
18324 sed 's/^/| /' conftest.$ac_ext >&5
18328 rm -f conftest.err conftest.$ac_objext \
18329 conftest$ac_exeext conftest.$ac_ext
18330 LIBS=$ac_check_lib_save_LIBS
18332 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
18333 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
18334 if test $ac_cv_lib_m_jnl = yes; then
18336 cat >>confdefs.h <<\_ACEOF
18342 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
18343 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
18344 if test "${ac_cv_lib_m_y0f+set}" = set; then
18345 echo $ECHO_N "(cached) $ECHO_C" >&6
18347 ac_check_lib_save_LIBS=$LIBS
18349 if test x$gcc_no_link = xyes; then
18350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18352 { (exit 1); exit 1; }; }
18354 cat >conftest.$ac_ext <<_ACEOF
18357 cat confdefs.h >>conftest.$ac_ext
18358 cat >>conftest.$ac_ext <<_ACEOF
18359 /* end confdefs.h. */
18361 /* Override any gcc2 internal prototype to avoid an error. */
18365 /* We use char because int might match the return type of a gcc2
18366 builtin and then its argument prototype would still apply. */
18376 rm -f conftest.$ac_objext conftest$ac_exeext
18377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18378 (eval $ac_link) 2>conftest.er1
18380 grep -v '^ *+' conftest.er1 >conftest.err
18382 cat conftest.err >&5
18383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384 (exit $ac_status); } &&
18385 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18387 (eval $ac_try) 2>&5
18389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18390 (exit $ac_status); }; } &&
18391 { ac_try='test -s conftest$ac_exeext'
18392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18393 (eval $ac_try) 2>&5
18395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18396 (exit $ac_status); }; }; then
18397 ac_cv_lib_m_y0f=yes
18399 echo "$as_me: failed program was:" >&5
18400 sed 's/^/| /' conftest.$ac_ext >&5
18404 rm -f conftest.err conftest.$ac_objext \
18405 conftest$ac_exeext conftest.$ac_ext
18406 LIBS=$ac_check_lib_save_LIBS
18408 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
18409 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
18410 if test $ac_cv_lib_m_y0f = yes; then
18412 cat >>confdefs.h <<\_ACEOF
18418 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
18419 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
18420 if test "${ac_cv_lib_m_y0+set}" = set; then
18421 echo $ECHO_N "(cached) $ECHO_C" >&6
18423 ac_check_lib_save_LIBS=$LIBS
18425 if test x$gcc_no_link = xyes; then
18426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18428 { (exit 1); exit 1; }; }
18430 cat >conftest.$ac_ext <<_ACEOF
18433 cat confdefs.h >>conftest.$ac_ext
18434 cat >>conftest.$ac_ext <<_ACEOF
18435 /* end confdefs.h. */
18437 /* Override any gcc2 internal prototype to avoid an error. */
18441 /* We use char because int might match the return type of a gcc2
18442 builtin and then its argument prototype would still apply. */
18452 rm -f conftest.$ac_objext conftest$ac_exeext
18453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18454 (eval $ac_link) 2>conftest.er1
18456 grep -v '^ *+' conftest.er1 >conftest.err
18458 cat conftest.err >&5
18459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18460 (exit $ac_status); } &&
18461 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18463 (eval $ac_try) 2>&5
18465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18466 (exit $ac_status); }; } &&
18467 { ac_try='test -s conftest$ac_exeext'
18468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18469 (eval $ac_try) 2>&5
18471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18472 (exit $ac_status); }; }; then
18475 echo "$as_me: failed program was:" >&5
18476 sed 's/^/| /' conftest.$ac_ext >&5
18480 rm -f conftest.err conftest.$ac_objext \
18481 conftest$ac_exeext conftest.$ac_ext
18482 LIBS=$ac_check_lib_save_LIBS
18484 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
18485 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
18486 if test $ac_cv_lib_m_y0 = yes; then
18488 cat >>confdefs.h <<\_ACEOF
18494 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
18495 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
18496 if test "${ac_cv_lib_m_y0l+set}" = set; then
18497 echo $ECHO_N "(cached) $ECHO_C" >&6
18499 ac_check_lib_save_LIBS=$LIBS
18501 if test x$gcc_no_link = xyes; then
18502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18504 { (exit 1); exit 1; }; }
18506 cat >conftest.$ac_ext <<_ACEOF
18509 cat confdefs.h >>conftest.$ac_ext
18510 cat >>conftest.$ac_ext <<_ACEOF
18511 /* end confdefs.h. */
18513 /* Override any gcc2 internal prototype to avoid an error. */
18517 /* We use char because int might match the return type of a gcc2
18518 builtin and then its argument prototype would still apply. */
18528 rm -f conftest.$ac_objext conftest$ac_exeext
18529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18530 (eval $ac_link) 2>conftest.er1
18532 grep -v '^ *+' conftest.er1 >conftest.err
18534 cat conftest.err >&5
18535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18536 (exit $ac_status); } &&
18537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18539 (eval $ac_try) 2>&5
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); }; } &&
18543 { ac_try='test -s conftest$ac_exeext'
18544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18545 (eval $ac_try) 2>&5
18547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18548 (exit $ac_status); }; }; then
18549 ac_cv_lib_m_y0l=yes
18551 echo "$as_me: failed program was:" >&5
18552 sed 's/^/| /' conftest.$ac_ext >&5
18556 rm -f conftest.err conftest.$ac_objext \
18557 conftest$ac_exeext conftest.$ac_ext
18558 LIBS=$ac_check_lib_save_LIBS
18560 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
18561 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
18562 if test $ac_cv_lib_m_y0l = yes; then
18564 cat >>confdefs.h <<\_ACEOF
18570 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
18571 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
18572 if test "${ac_cv_lib_m_y1f+set}" = set; then
18573 echo $ECHO_N "(cached) $ECHO_C" >&6
18575 ac_check_lib_save_LIBS=$LIBS
18577 if test x$gcc_no_link = xyes; then
18578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18580 { (exit 1); exit 1; }; }
18582 cat >conftest.$ac_ext <<_ACEOF
18585 cat confdefs.h >>conftest.$ac_ext
18586 cat >>conftest.$ac_ext <<_ACEOF
18587 /* end confdefs.h. */
18589 /* Override any gcc2 internal prototype to avoid an error. */
18593 /* We use char because int might match the return type of a gcc2
18594 builtin and then its argument prototype would still apply. */
18604 rm -f conftest.$ac_objext conftest$ac_exeext
18605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18606 (eval $ac_link) 2>conftest.er1
18608 grep -v '^ *+' conftest.er1 >conftest.err
18610 cat conftest.err >&5
18611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18612 (exit $ac_status); } &&
18613 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18615 (eval $ac_try) 2>&5
18617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18618 (exit $ac_status); }; } &&
18619 { ac_try='test -s conftest$ac_exeext'
18620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18621 (eval $ac_try) 2>&5
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); }; }; then
18625 ac_cv_lib_m_y1f=yes
18627 echo "$as_me: failed program was:" >&5
18628 sed 's/^/| /' conftest.$ac_ext >&5
18632 rm -f conftest.err conftest.$ac_objext \
18633 conftest$ac_exeext conftest.$ac_ext
18634 LIBS=$ac_check_lib_save_LIBS
18636 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
18637 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
18638 if test $ac_cv_lib_m_y1f = yes; then
18640 cat >>confdefs.h <<\_ACEOF
18646 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
18647 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
18648 if test "${ac_cv_lib_m_y1+set}" = set; then
18649 echo $ECHO_N "(cached) $ECHO_C" >&6
18651 ac_check_lib_save_LIBS=$LIBS
18653 if test x$gcc_no_link = xyes; then
18654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18656 { (exit 1); exit 1; }; }
18658 cat >conftest.$ac_ext <<_ACEOF
18661 cat confdefs.h >>conftest.$ac_ext
18662 cat >>conftest.$ac_ext <<_ACEOF
18663 /* end confdefs.h. */
18665 /* Override any gcc2 internal prototype to avoid an error. */
18669 /* We use char because int might match the return type of a gcc2
18670 builtin and then its argument prototype would still apply. */
18680 rm -f conftest.$ac_objext conftest$ac_exeext
18681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18682 (eval $ac_link) 2>conftest.er1
18684 grep -v '^ *+' conftest.er1 >conftest.err
18686 cat conftest.err >&5
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); } &&
18689 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18691 (eval $ac_try) 2>&5
18693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18694 (exit $ac_status); }; } &&
18695 { ac_try='test -s conftest$ac_exeext'
18696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18697 (eval $ac_try) 2>&5
18699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700 (exit $ac_status); }; }; then
18703 echo "$as_me: failed program was:" >&5
18704 sed 's/^/| /' conftest.$ac_ext >&5
18708 rm -f conftest.err conftest.$ac_objext \
18709 conftest$ac_exeext conftest.$ac_ext
18710 LIBS=$ac_check_lib_save_LIBS
18712 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
18713 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
18714 if test $ac_cv_lib_m_y1 = yes; then
18716 cat >>confdefs.h <<\_ACEOF
18722 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
18723 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
18724 if test "${ac_cv_lib_m_y1l+set}" = set; then
18725 echo $ECHO_N "(cached) $ECHO_C" >&6
18727 ac_check_lib_save_LIBS=$LIBS
18729 if test x$gcc_no_link = xyes; then
18730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18732 { (exit 1); exit 1; }; }
18734 cat >conftest.$ac_ext <<_ACEOF
18737 cat confdefs.h >>conftest.$ac_ext
18738 cat >>conftest.$ac_ext <<_ACEOF
18739 /* end confdefs.h. */
18741 /* Override any gcc2 internal prototype to avoid an error. */
18745 /* We use char because int might match the return type of a gcc2
18746 builtin and then its argument prototype would still apply. */
18756 rm -f conftest.$ac_objext conftest$ac_exeext
18757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18758 (eval $ac_link) 2>conftest.er1
18760 grep -v '^ *+' conftest.er1 >conftest.err
18762 cat conftest.err >&5
18763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18764 (exit $ac_status); } &&
18765 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18767 (eval $ac_try) 2>&5
18769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18770 (exit $ac_status); }; } &&
18771 { ac_try='test -s conftest$ac_exeext'
18772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18773 (eval $ac_try) 2>&5
18775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18776 (exit $ac_status); }; }; then
18777 ac_cv_lib_m_y1l=yes
18779 echo "$as_me: failed program was:" >&5
18780 sed 's/^/| /' conftest.$ac_ext >&5
18784 rm -f conftest.err conftest.$ac_objext \
18785 conftest$ac_exeext conftest.$ac_ext
18786 LIBS=$ac_check_lib_save_LIBS
18788 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
18789 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
18790 if test $ac_cv_lib_m_y1l = yes; then
18792 cat >>confdefs.h <<\_ACEOF
18798 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
18799 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
18800 if test "${ac_cv_lib_m_ynf+set}" = set; then
18801 echo $ECHO_N "(cached) $ECHO_C" >&6
18803 ac_check_lib_save_LIBS=$LIBS
18805 if test x$gcc_no_link = xyes; then
18806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18808 { (exit 1); exit 1; }; }
18810 cat >conftest.$ac_ext <<_ACEOF
18813 cat confdefs.h >>conftest.$ac_ext
18814 cat >>conftest.$ac_ext <<_ACEOF
18815 /* end confdefs.h. */
18817 /* Override any gcc2 internal prototype to avoid an error. */
18821 /* We use char because int might match the return type of a gcc2
18822 builtin and then its argument prototype would still apply. */
18832 rm -f conftest.$ac_objext conftest$ac_exeext
18833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18834 (eval $ac_link) 2>conftest.er1
18836 grep -v '^ *+' conftest.er1 >conftest.err
18838 cat conftest.err >&5
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); } &&
18841 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18843 (eval $ac_try) 2>&5
18845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18846 (exit $ac_status); }; } &&
18847 { ac_try='test -s conftest$ac_exeext'
18848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18849 (eval $ac_try) 2>&5
18851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18852 (exit $ac_status); }; }; then
18853 ac_cv_lib_m_ynf=yes
18855 echo "$as_me: failed program was:" >&5
18856 sed 's/^/| /' conftest.$ac_ext >&5
18860 rm -f conftest.err conftest.$ac_objext \
18861 conftest$ac_exeext conftest.$ac_ext
18862 LIBS=$ac_check_lib_save_LIBS
18864 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
18865 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
18866 if test $ac_cv_lib_m_ynf = yes; then
18868 cat >>confdefs.h <<\_ACEOF
18874 echo "$as_me:$LINENO: checking for yn in -lm" >&5
18875 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
18876 if test "${ac_cv_lib_m_yn+set}" = set; then
18877 echo $ECHO_N "(cached) $ECHO_C" >&6
18879 ac_check_lib_save_LIBS=$LIBS
18881 if test x$gcc_no_link = xyes; then
18882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18884 { (exit 1); exit 1; }; }
18886 cat >conftest.$ac_ext <<_ACEOF
18889 cat confdefs.h >>conftest.$ac_ext
18890 cat >>conftest.$ac_ext <<_ACEOF
18891 /* end confdefs.h. */
18893 /* Override any gcc2 internal prototype to avoid an error. */
18897 /* We use char because int might match the return type of a gcc2
18898 builtin and then its argument prototype would still apply. */
18908 rm -f conftest.$ac_objext conftest$ac_exeext
18909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18910 (eval $ac_link) 2>conftest.er1
18912 grep -v '^ *+' conftest.er1 >conftest.err
18914 cat conftest.err >&5
18915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916 (exit $ac_status); } &&
18917 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18919 (eval $ac_try) 2>&5
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); }; } &&
18923 { ac_try='test -s conftest$ac_exeext'
18924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18925 (eval $ac_try) 2>&5
18927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18928 (exit $ac_status); }; }; then
18931 echo "$as_me: failed program was:" >&5
18932 sed 's/^/| /' conftest.$ac_ext >&5
18936 rm -f conftest.err conftest.$ac_objext \
18937 conftest$ac_exeext conftest.$ac_ext
18938 LIBS=$ac_check_lib_save_LIBS
18940 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
18941 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
18942 if test $ac_cv_lib_m_yn = yes; then
18944 cat >>confdefs.h <<\_ACEOF
18950 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
18951 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
18952 if test "${ac_cv_lib_m_ynl+set}" = set; then
18953 echo $ECHO_N "(cached) $ECHO_C" >&6
18955 ac_check_lib_save_LIBS=$LIBS
18957 if test x$gcc_no_link = xyes; then
18958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18960 { (exit 1); exit 1; }; }
18962 cat >conftest.$ac_ext <<_ACEOF
18965 cat confdefs.h >>conftest.$ac_ext
18966 cat >>conftest.$ac_ext <<_ACEOF
18967 /* end confdefs.h. */
18969 /* Override any gcc2 internal prototype to avoid an error. */
18973 /* We use char because int might match the return type of a gcc2
18974 builtin and then its argument prototype would still apply. */
18984 rm -f conftest.$ac_objext conftest$ac_exeext
18985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18986 (eval $ac_link) 2>conftest.er1
18988 grep -v '^ *+' conftest.er1 >conftest.err
18990 cat conftest.err >&5
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); } &&
18993 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18995 (eval $ac_try) 2>&5
18997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18998 (exit $ac_status); }; } &&
18999 { ac_try='test -s conftest$ac_exeext'
19000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19001 (eval $ac_try) 2>&5
19003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19004 (exit $ac_status); }; }; then
19005 ac_cv_lib_m_ynl=yes
19007 echo "$as_me: failed program was:" >&5
19008 sed 's/^/| /' conftest.$ac_ext >&5
19012 rm -f conftest.err conftest.$ac_objext \
19013 conftest$ac_exeext conftest.$ac_ext
19014 LIBS=$ac_check_lib_save_LIBS
19016 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
19017 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
19018 if test $ac_cv_lib_m_ynl = yes; then
19020 cat >>confdefs.h <<\_ACEOF
19027 # On AIX, clog is present in libm as __clog
19028 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
19029 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
19030 if test "${ac_cv_lib_m___clog+set}" = set; then
19031 echo $ECHO_N "(cached) $ECHO_C" >&6
19033 ac_check_lib_save_LIBS=$LIBS
19035 if test x$gcc_no_link = xyes; then
19036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19038 { (exit 1); exit 1; }; }
19040 cat >conftest.$ac_ext <<_ACEOF
19043 cat confdefs.h >>conftest.$ac_ext
19044 cat >>conftest.$ac_ext <<_ACEOF
19045 /* end confdefs.h. */
19047 /* Override any gcc2 internal prototype to avoid an error. */
19051 /* We use char because int might match the return type of a gcc2
19052 builtin and then its argument prototype would still apply. */
19062 rm -f conftest.$ac_objext conftest$ac_exeext
19063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19064 (eval $ac_link) 2>conftest.er1
19066 grep -v '^ *+' conftest.er1 >conftest.err
19068 cat conftest.err >&5
19069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070 (exit $ac_status); } &&
19071 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19073 (eval $ac_try) 2>&5
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); }; } &&
19077 { ac_try='test -s conftest$ac_exeext'
19078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19079 (eval $ac_try) 2>&5
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); }; }; then
19083 ac_cv_lib_m___clog=yes
19085 echo "$as_me: failed program was:" >&5
19086 sed 's/^/| /' conftest.$ac_ext >&5
19088 ac_cv_lib_m___clog=no
19090 rm -f conftest.err conftest.$ac_objext \
19091 conftest$ac_exeext conftest.$ac_ext
19092 LIBS=$ac_check_lib_save_LIBS
19094 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
19095 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
19096 if test $ac_cv_lib_m___clog = yes; then
19098 cat >>confdefs.h <<\_ACEOF
19099 #define HAVE_CLOG 1
19105 # Check for a isfinite macro that works on long doubles.
19107 echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
19108 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
19109 if test "${have_broken_isfinite+set}" = set; then
19110 echo $ECHO_N "(cached) $ECHO_C" >&6
19113 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
19115 if test "$cross_compiling" = yes; then
19117 case "${target}" in
19118 hppa*-*-hpux*) have_broken_isfinite=yes ;;
19119 *) have_broken_isfinite=no ;;
19122 cat >conftest.$ac_ext <<_ACEOF
19125 cat confdefs.h >>conftest.$ac_ext
19126 cat >>conftest.$ac_ext <<_ACEOF
19127 /* end confdefs.h. */
19137 if (!isfinite(LDBL_MAX)) return 1;
19140 if (!isfinite(DBL_MAX)) return 1;
19146 rm -f conftest$ac_exeext
19147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19148 (eval $ac_link) 2>&5
19150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19151 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19153 (eval $ac_try) 2>&5
19155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19156 (exit $ac_status); }; }; then
19157 have_broken_isfinite=no
19159 echo "$as_me: program exited with status $ac_status" >&5
19160 echo "$as_me: failed program was:" >&5
19161 sed 's/^/| /' conftest.$ac_ext >&5
19163 ( exit $ac_status )
19164 have_broken_isfinite=yes
19166 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19168 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
19170 echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
19171 echo "${ECHO_T}$have_broken_isfinite" >&6
19172 if test x"$have_broken_isfinite" = xyes; then
19174 cat >>confdefs.h <<\_ACEOF
19175 #define HAVE_BROKEN_ISFINITE 1
19180 # Check for a isnan macro that works on long doubles.
19182 echo "$as_me:$LINENO: checking whether isnan is broken" >&5
19183 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
19184 if test "${have_broken_isnan+set}" = set; then
19185 echo $ECHO_N "(cached) $ECHO_C" >&6
19188 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
19190 if test "$cross_compiling" = yes; then
19192 case "${target}" in
19193 hppa*-*-hpux*) have_broken_isnan=yes ;;
19194 *) have_broken_isnan=no ;;
19197 cat >conftest.$ac_ext <<_ACEOF
19200 cat confdefs.h >>conftest.$ac_ext
19201 cat >>conftest.$ac_ext <<_ACEOF
19202 /* end confdefs.h. */
19214 x = __builtin_nanl ("");
19215 if (!isnan(x)) return 1;
19216 if (isnan(LDBL_MAX)) return 1;
19218 x = (long double) NAN;
19219 if (!isnan(x)) return 1;
19226 y = __builtin_nan ("");
19227 if (!isnan(y)) return 1;
19228 if (isnan(DBL_MAX)) return 1;
19231 if (!isnan(y)) return 1;
19239 rm -f conftest$ac_exeext
19240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19241 (eval $ac_link) 2>&5
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19246 (eval $ac_try) 2>&5
19248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249 (exit $ac_status); }; }; then
19250 have_broken_isnan=no
19252 echo "$as_me: program exited with status $ac_status" >&5
19253 echo "$as_me: failed program was:" >&5
19254 sed 's/^/| /' conftest.$ac_ext >&5
19256 ( exit $ac_status )
19257 have_broken_isnan=yes
19259 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19261 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
19263 echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
19264 echo "${ECHO_T}$have_broken_isnan" >&6
19265 if test x"$have_broken_isnan" = xyes; then
19267 cat >>confdefs.h <<\_ACEOF
19268 #define HAVE_BROKEN_ISNAN 1
19273 # Check for a fpclassify macro that works on long doubles.
19275 echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
19276 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
19277 if test "${have_broken_fpclassify+set}" = set; then
19278 echo $ECHO_N "(cached) $ECHO_C" >&6
19281 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
19283 if test "$cross_compiling" = yes; then
19285 case "${target}" in
19286 hppa*-*-hpux*) have_broken_fpclassify=yes ;;
19287 *) have_broken_fpclassify=no ;;
19290 cat >conftest.$ac_ext <<_ACEOF
19293 cat confdefs.h >>conftest.$ac_ext
19294 cat >>conftest.$ac_ext <<_ACEOF
19295 /* end confdefs.h. */
19305 if (fpclassify(LDBL_MAX) == FP_NAN
19306 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
19309 if (fpclassify(DBL_MAX) == FP_NAN
19310 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
19316 rm -f conftest$ac_exeext
19317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19318 (eval $ac_link) 2>&5
19320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19323 (eval $ac_try) 2>&5
19325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19326 (exit $ac_status); }; }; then
19327 have_broken_fpclassify=no
19329 echo "$as_me: program exited with status $ac_status" >&5
19330 echo "$as_me: failed program was:" >&5
19331 sed 's/^/| /' conftest.$ac_ext >&5
19333 ( exit $ac_status )
19334 have_broken_fpclassify=yes
19336 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19338 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
19340 echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
19341 echo "${ECHO_T}$have_broken_fpclassify" >&6
19342 if test x"$have_broken_fpclassify" = xyes; then
19344 cat >>confdefs.h <<\_ACEOF
19345 #define HAVE_BROKEN_FPCLASSIFY 1
19350 # Check whether the system has a working stat()
19352 echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
19353 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
19354 if test "${have_working_stat+set}" = set; then
19355 echo $ECHO_N "(cached) $ECHO_C" >&6
19358 if test "$cross_compiling" = yes; then
19360 case "${target}" in
19361 *mingw*) have_working_stat=no ;;
19362 *) have_working_stat=yes;;
19365 cat >conftest.$ac_ext <<_ACEOF
19368 cat confdefs.h >>conftest.$ac_ext
19369 cat >>conftest.$ac_ext <<_ACEOF
19370 /* end confdefs.h. */
19373 #include <sys/types.h>
19374 #include <sys/stat.h>
19375 #include <unistd.h>
19380 struct stat st1, st2;
19382 f = fopen ("foo", "w");
19383 g = fopen ("bar", "w");
19384 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
19386 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
19393 rm -f conftest$ac_exeext
19394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19395 (eval $ac_link) 2>&5
19397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19398 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19400 (eval $ac_try) 2>&5
19402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403 (exit $ac_status); }; }; then
19404 have_working_stat=yes
19406 echo "$as_me: program exited with status $ac_status" >&5
19407 echo "$as_me: failed program was:" >&5
19408 sed 's/^/| /' conftest.$ac_ext >&5
19410 ( exit $ac_status )
19411 have_working_stat=no
19413 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19416 echo "$as_me:$LINENO: result: $have_working_stat" >&5
19417 echo "${ECHO_T}$have_working_stat" >&6
19418 if test x"$have_working_stat" = xyes; then
19420 cat >>confdefs.h <<\_ACEOF
19421 #define HAVE_WORKING_STAT 1
19426 # Fallback in case isfinite is not available.
19427 echo "$as_me:$LINENO: checking for finite in -lm" >&5
19428 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
19429 if test "${ac_cv_lib_m_finite+set}" = set; then
19430 echo $ECHO_N "(cached) $ECHO_C" >&6
19432 ac_check_lib_save_LIBS=$LIBS
19434 if test x$gcc_no_link = xyes; then
19435 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19437 { (exit 1); exit 1; }; }
19439 cat >conftest.$ac_ext <<_ACEOF
19442 cat confdefs.h >>conftest.$ac_ext
19443 cat >>conftest.$ac_ext <<_ACEOF
19444 /* end confdefs.h. */
19446 /* Override any gcc2 internal prototype to avoid an error. */
19450 /* We use char because int might match the return type of a gcc2
19451 builtin and then its argument prototype would still apply. */
19461 rm -f conftest.$ac_objext conftest$ac_exeext
19462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19463 (eval $ac_link) 2>conftest.er1
19465 grep -v '^ *+' conftest.er1 >conftest.err
19467 cat conftest.err >&5
19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469 (exit $ac_status); } &&
19470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; } &&
19476 { ac_try='test -s conftest$ac_exeext'
19477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19478 (eval $ac_try) 2>&5
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); }; }; then
19482 ac_cv_lib_m_finite=yes
19484 echo "$as_me: failed program was:" >&5
19485 sed 's/^/| /' conftest.$ac_ext >&5
19487 ac_cv_lib_m_finite=no
19489 rm -f conftest.err conftest.$ac_objext \
19490 conftest$ac_exeext conftest.$ac_ext
19491 LIBS=$ac_check_lib_save_LIBS
19493 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
19494 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
19495 if test $ac_cv_lib_m_finite = yes; then
19497 cat >>confdefs.h <<\_ACEOF
19498 #define HAVE_FINITE 1
19504 # Check for GNU libc feenableexcept
19505 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
19506 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
19507 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
19508 echo $ECHO_N "(cached) $ECHO_C" >&6
19510 ac_check_lib_save_LIBS=$LIBS
19512 if test x$gcc_no_link = xyes; then
19513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19515 { (exit 1); exit 1; }; }
19517 cat >conftest.$ac_ext <<_ACEOF
19520 cat confdefs.h >>conftest.$ac_ext
19521 cat >>conftest.$ac_ext <<_ACEOF
19522 /* end confdefs.h. */
19524 /* Override any gcc2 internal prototype to avoid an error. */
19528 /* We use char because int might match the return type of a gcc2
19529 builtin and then its argument prototype would still apply. */
19530 char feenableexcept ();
19539 rm -f conftest.$ac_objext conftest$ac_exeext
19540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19541 (eval $ac_link) 2>conftest.er1
19543 grep -v '^ *+' conftest.er1 >conftest.err
19545 cat conftest.err >&5
19546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19547 (exit $ac_status); } &&
19548 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19550 (eval $ac_try) 2>&5
19552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19553 (exit $ac_status); }; } &&
19554 { ac_try='test -s conftest$ac_exeext'
19555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19556 (eval $ac_try) 2>&5
19558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559 (exit $ac_status); }; }; then
19560 ac_cv_lib_m_feenableexcept=yes
19562 echo "$as_me: failed program was:" >&5
19563 sed 's/^/| /' conftest.$ac_ext >&5
19565 ac_cv_lib_m_feenableexcept=no
19567 rm -f conftest.err conftest.$ac_objext \
19568 conftest$ac_exeext conftest.$ac_ext
19569 LIBS=$ac_check_lib_save_LIBS
19571 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
19572 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
19573 if test $ac_cv_lib_m_feenableexcept = yes; then
19574 have_feenableexcept=yes
19575 cat >>confdefs.h <<\_ACEOF
19576 #define HAVE_FEENABLEEXCEPT 1
19582 # Check for SysV fpsetmask
19584 echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
19585 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
19586 if test "${have_fpsetmask+set}" = set; then
19587 echo $ECHO_N "(cached) $ECHO_C" >&6
19590 if test x$gcc_no_link = xyes; then
19591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19593 { (exit 1); exit 1; }; }
19595 cat >conftest.$ac_ext <<_ACEOF
19598 cat confdefs.h >>conftest.$ac_ext
19599 cat >>conftest.$ac_ext <<_ACEOF
19600 /* end confdefs.h. */
19602 #if HAVE_FLOATINGPOINT_H
19603 # include <floatingpoint.h>
19604 #endif /* HAVE_FLOATINGPOINT_H */
19606 # include <ieeefp.h>
19607 #endif /* HAVE_IEEEFP_H */
19616 rm -f conftest.$ac_objext conftest$ac_exeext
19617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19618 (eval $ac_link) 2>conftest.er1
19620 grep -v '^ *+' conftest.er1 >conftest.err
19622 cat conftest.err >&5
19623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19624 (exit $ac_status); } &&
19625 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19627 (eval $ac_try) 2>&5
19629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19630 (exit $ac_status); }; } &&
19631 { ac_try='test -s conftest$ac_exeext'
19632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19633 (eval $ac_try) 2>&5
19635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636 (exit $ac_status); }; }; then
19637 eval "have_fpsetmask=yes"
19639 echo "$as_me: failed program was:" >&5
19640 sed 's/^/| /' conftest.$ac_ext >&5
19642 eval "have_fpsetmask=no"
19644 rm -f conftest.err conftest.$ac_objext \
19645 conftest$ac_exeext conftest.$ac_ext
19648 echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
19649 echo "${ECHO_T}$have_fpsetmask" >&6
19650 if test x"$have_fpsetmask" = xyes; then
19652 cat >>confdefs.h <<\_ACEOF
19653 #define HAVE_FPSETMASK 1
19659 # Check for AIX fp_trap and fp_enable
19660 echo "$as_me:$LINENO: checking for fp_trap" >&5
19661 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
19662 if test "${ac_cv_func_fp_trap+set}" = set; then
19663 echo $ECHO_N "(cached) $ECHO_C" >&6
19665 if test x$gcc_no_link = xyes; then
19666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19668 { (exit 1); exit 1; }; }
19670 cat >conftest.$ac_ext <<_ACEOF
19673 cat confdefs.h >>conftest.$ac_ext
19674 cat >>conftest.$ac_ext <<_ACEOF
19675 /* end confdefs.h. */
19676 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
19677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19678 #define fp_trap innocuous_fp_trap
19680 /* System header to define __stub macros and hopefully few prototypes,
19681 which can conflict with char fp_trap (); below.
19682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19683 <limits.h> exists even on freestanding compilers. */
19686 # include <limits.h>
19688 # include <assert.h>
19693 /* Override any gcc2 internal prototype to avoid an error. */
19698 /* We use char because int might match the return type of a gcc2
19699 builtin and then its argument prototype would still apply. */
19701 /* The GNU C library defines this for functions which it implements
19702 to always fail with ENOSYS. Some functions are actually named
19703 something starting with __ and the normal name is an alias. */
19704 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
19707 char (*f) () = fp_trap;
19716 return f != fp_trap;
19721 rm -f conftest.$ac_objext conftest$ac_exeext
19722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19723 (eval $ac_link) 2>conftest.er1
19725 grep -v '^ *+' conftest.er1 >conftest.err
19727 cat conftest.err >&5
19728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19729 (exit $ac_status); } &&
19730 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19732 (eval $ac_try) 2>&5
19734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19735 (exit $ac_status); }; } &&
19736 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
19742 ac_cv_func_fp_trap=yes
19744 echo "$as_me: failed program was:" >&5
19745 sed 's/^/| /' conftest.$ac_ext >&5
19747 ac_cv_func_fp_trap=no
19749 rm -f conftest.err conftest.$ac_objext \
19750 conftest$ac_exeext conftest.$ac_ext
19752 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
19753 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
19754 if test $ac_cv_func_fp_trap = yes; then
19756 cat >>confdefs.h <<\_ACEOF
19757 #define HAVE_FP_TRAP 1
19762 echo "$as_me:$LINENO: checking for fp_enable" >&5
19763 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
19764 if test "${ac_cv_func_fp_enable+set}" = set; then
19765 echo $ECHO_N "(cached) $ECHO_C" >&6
19767 if test x$gcc_no_link = xyes; then
19768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19770 { (exit 1); exit 1; }; }
19772 cat >conftest.$ac_ext <<_ACEOF
19775 cat confdefs.h >>conftest.$ac_ext
19776 cat >>conftest.$ac_ext <<_ACEOF
19777 /* end confdefs.h. */
19778 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
19779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19780 #define fp_enable innocuous_fp_enable
19782 /* System header to define __stub macros and hopefully few prototypes,
19783 which can conflict with char fp_enable (); below.
19784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19785 <limits.h> exists even on freestanding compilers. */
19788 # include <limits.h>
19790 # include <assert.h>
19795 /* Override any gcc2 internal prototype to avoid an error. */
19800 /* We use char because int might match the return type of a gcc2
19801 builtin and then its argument prototype would still apply. */
19803 /* The GNU C library defines this for functions which it implements
19804 to always fail with ENOSYS. Some functions are actually named
19805 something starting with __ and the normal name is an alias. */
19806 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
19809 char (*f) () = fp_enable;
19818 return f != fp_enable;
19823 rm -f conftest.$ac_objext conftest$ac_exeext
19824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19825 (eval $ac_link) 2>conftest.er1
19827 grep -v '^ *+' conftest.er1 >conftest.err
19829 cat conftest.err >&5
19830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19831 (exit $ac_status); } &&
19832 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19834 (eval $ac_try) 2>&5
19836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19837 (exit $ac_status); }; } &&
19838 { ac_try='test -s conftest$ac_exeext'
19839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19840 (eval $ac_try) 2>&5
19842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843 (exit $ac_status); }; }; then
19844 ac_cv_func_fp_enable=yes
19846 echo "$as_me: failed program was:" >&5
19847 sed 's/^/| /' conftest.$ac_ext >&5
19849 ac_cv_func_fp_enable=no
19851 rm -f conftest.err conftest.$ac_objext \
19852 conftest$ac_exeext conftest.$ac_ext
19854 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
19855 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
19856 if test $ac_cv_func_fp_enable = yes; then
19858 cat >>confdefs.h <<\_ACEOF
19859 #define HAVE_FP_ENABLE 1
19865 # Runs configure.host to set up necessary host-dependent shell variables.
19866 # We then display a message about it, and propagate them through the
19868 . ${srcdir}/configure.host
19869 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
19870 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
19871 FPU_HOST_HEADER=config/${fpu_host}.h
19874 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
19875 # for struct timezone, as you might think. We also need to check how
19876 # to call gettimeofday if we have it.
19877 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
19878 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
19879 if test "${ac_cv_header_time+set}" = set; then
19880 echo $ECHO_N "(cached) $ECHO_C" >&6
19882 cat >conftest.$ac_ext <<_ACEOF
19885 cat confdefs.h >>conftest.$ac_ext
19886 cat >>conftest.$ac_ext <<_ACEOF
19887 /* end confdefs.h. */
19888 #include <sys/types.h>
19889 #include <sys/time.h>
19895 if ((struct tm *) 0)
19901 rm -f conftest.$ac_objext
19902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19903 (eval $ac_compile) 2>conftest.er1
19905 grep -v '^ *+' conftest.er1 >conftest.err
19907 cat conftest.err >&5
19908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19909 (exit $ac_status); } &&
19910 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19912 (eval $ac_try) 2>&5
19914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19915 (exit $ac_status); }; } &&
19916 { ac_try='test -s conftest.$ac_objext'
19917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19918 (eval $ac_try) 2>&5
19920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19921 (exit $ac_status); }; }; then
19922 ac_cv_header_time=yes
19924 echo "$as_me: failed program was:" >&5
19925 sed 's/^/| /' conftest.$ac_ext >&5
19927 ac_cv_header_time=no
19929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19931 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
19932 echo "${ECHO_T}$ac_cv_header_time" >&6
19933 if test $ac_cv_header_time = yes; then
19935 cat >>confdefs.h <<\_ACEOF
19936 #define TIME_WITH_SYS_TIME 1
19943 for ac_func in gettimeofday
19945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19946 echo "$as_me:$LINENO: checking for $ac_func" >&5
19947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19948 if eval "test \"\${$as_ac_var+set}\" = set"; then
19949 echo $ECHO_N "(cached) $ECHO_C" >&6
19951 if test x$gcc_no_link = xyes; then
19952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19954 { (exit 1); exit 1; }; }
19956 cat >conftest.$ac_ext <<_ACEOF
19959 cat confdefs.h >>conftest.$ac_ext
19960 cat >>conftest.$ac_ext <<_ACEOF
19961 /* end confdefs.h. */
19962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19964 #define $ac_func innocuous_$ac_func
19966 /* System header to define __stub macros and hopefully few prototypes,
19967 which can conflict with char $ac_func (); below.
19968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19969 <limits.h> exists even on freestanding compilers. */
19972 # include <limits.h>
19974 # include <assert.h>
19979 /* Override any gcc2 internal prototype to avoid an error. */
19984 /* We use char because int might match the return type of a gcc2
19985 builtin and then its argument prototype would still apply. */
19987 /* The GNU C library defines this for functions which it implements
19988 to always fail with ENOSYS. Some functions are actually named
19989 something starting with __ and the normal name is an alias. */
19990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19993 char (*f) () = $ac_func;
20002 return f != $ac_func;
20007 rm -f conftest.$ac_objext conftest$ac_exeext
20008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20009 (eval $ac_link) 2>conftest.er1
20011 grep -v '^ *+' conftest.er1 >conftest.err
20013 cat conftest.err >&5
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); } &&
20016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20018 (eval $ac_try) 2>&5
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); }; } &&
20022 { ac_try='test -s conftest$ac_exeext'
20023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20024 (eval $ac_try) 2>&5
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); }; }; then
20028 eval "$as_ac_var=yes"
20030 echo "$as_me: failed program was:" >&5
20031 sed 's/^/| /' conftest.$ac_ext >&5
20033 eval "$as_ac_var=no"
20035 rm -f conftest.err conftest.$ac_objext \
20036 conftest$ac_exeext conftest.$ac_ext
20038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20040 if test `eval echo '${'$as_ac_var'}'` = yes; then
20041 cat >>confdefs.h <<_ACEOF
20042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20048 if test "$ac_cv_func_gettimeofday" = yes; then
20049 echo "$as_me:$LINENO: checking for struct timezone" >&5
20050 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
20051 if test "${gfor_cv_struct_timezone+set}" = set; then
20052 echo $ECHO_N "(cached) $ECHO_C" >&6
20054 cat >conftest.$ac_ext <<_ACEOF
20057 cat confdefs.h >>conftest.$ac_ext
20058 cat >>conftest.$ac_ext <<_ACEOF
20059 /* end confdefs.h. */
20060 #include <sys/time.h>
20064 struct timezone tz;
20069 rm -f conftest.$ac_objext
20070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20071 (eval $ac_compile) 2>conftest.er1
20073 grep -v '^ *+' conftest.er1 >conftest.err
20075 cat conftest.err >&5
20076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077 (exit $ac_status); } &&
20078 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20080 (eval $ac_try) 2>&5
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); }; } &&
20084 { ac_try='test -s conftest.$ac_objext'
20085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20086 (eval $ac_try) 2>&5
20088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089 (exit $ac_status); }; }; then
20090 gfor_cv_struct_timezone=yes
20092 echo "$as_me: failed program was:" >&5
20093 sed 's/^/| /' conftest.$ac_ext >&5
20095 gfor_cv_struct_timezone=no
20097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20099 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
20100 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
20101 if test $gfor_cv_struct_timezone = yes; then
20102 if test "$cross_compiling" = yes; then
20103 gfor_have_struct_timezone=yes
20105 cat >conftest.$ac_ext <<_ACEOF
20108 cat confdefs.h >>conftest.$ac_ext
20109 cat >>conftest.$ac_ext <<_ACEOF
20110 /* end confdefs.h. */
20112 #ifdef TIME_WITH_SYS_TIME
20113 #include <sys/time.h>
20116 #ifdef HAVE_SYS_TIME_H
20117 #include <sys/time.h>
20124 struct timeval time;
20125 struct timezone dummy;
20126 if (gettimeofday (&time, &dummy))
20132 rm -f conftest$ac_exeext
20133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20134 (eval $ac_link) 2>&5
20136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20139 (eval $ac_try) 2>&5
20141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20142 (exit $ac_status); }; }; then
20143 gfor_have_struct_timezone=yes
20145 echo "$as_me: program exited with status $ac_status" >&5
20146 echo "$as_me: failed program was:" >&5
20147 sed 's/^/| /' conftest.$ac_ext >&5
20149 ( exit $ac_status )
20150 gfor_have_struct_timezone=no
20152 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20154 if test $gfor_have_struct_timezone = yes; then
20156 cat >>confdefs.h <<\_ACEOF
20157 #define HAVE_TIMEZONE 1
20163 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
20164 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
20165 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
20166 echo $ECHO_N "(cached) $ECHO_C" >&6
20168 if test x$gcc_no_link = xyes; then
20169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20171 { (exit 1); exit 1; }; }
20173 cat >conftest.$ac_ext <<_ACEOF
20176 cat confdefs.h >>conftest.$ac_ext
20177 cat >>conftest.$ac_ext <<_ACEOF
20178 /* end confdefs.h. */
20180 #ifdef TIME_WITH_SYS_TIME
20181 #include <sys/time.h>
20184 #ifdef HAVE_SYS_TIME_H
20185 #include <sys/time.h>
20195 struct timeval time;
20196 #ifdef HAVE_TIMEZONE
20197 struct timezone dummy;
20198 #define DUMMY &dummy
20202 gettimeofday (&time, DUMMY);
20207 rm -f conftest.$ac_objext conftest$ac_exeext
20208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20209 (eval $ac_link) 2>conftest.er1
20211 grep -v '^ *+' conftest.er1 >conftest.err
20213 cat conftest.err >&5
20214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20215 (exit $ac_status); } &&
20216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20218 (eval $ac_try) 2>&5
20220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20221 (exit $ac_status); }; } &&
20222 { ac_try='test -s conftest$ac_exeext'
20223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20224 (eval $ac_try) 2>&5
20226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227 (exit $ac_status); }; }; then
20228 emacs_cv_gettimeofday_two_arguments=yes
20230 echo "$as_me: failed program was:" >&5
20231 sed 's/^/| /' conftest.$ac_ext >&5
20233 emacs_cv_gettimeofday_two_arguments=no
20235 rm -f conftest.err conftest.$ac_objext \
20236 conftest$ac_exeext conftest.$ac_ext
20238 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
20239 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
20240 if test $emacs_cv_gettimeofday_two_arguments = no; then
20242 cat >>confdefs.h <<\_ACEOF
20243 #define GETTIMEOFDAY_ONE_ARGUMENT 1
20249 # Attempt to assert that the target is of common type in case we don't
20250 # have C99 integer types at all.
20252 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
20253 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
20254 if test "${target_ilp32+set}" = set; then
20255 echo $ECHO_N "(cached) $ECHO_C" >&6
20258 save_CFLAGS="$CFLAGS"
20260 if test x$gcc_no_link = xyes; then
20261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20263 { (exit 1); exit 1; }; }
20265 cat >conftest.$ac_ext <<_ACEOF
20268 cat confdefs.h >>conftest.$ac_ext
20269 cat >>conftest.$ac_ext <<_ACEOF
20270 /* end confdefs.h. */
20276 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
20279 undefined_function ();
20285 rm -f conftest.$ac_objext conftest$ac_exeext
20286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20287 (eval $ac_link) 2>conftest.er1
20289 grep -v '^ *+' conftest.er1 >conftest.err
20291 cat conftest.err >&5
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); } &&
20294 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20296 (eval $ac_try) 2>&5
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); }; } &&
20300 { ac_try='test -s conftest$ac_exeext'
20301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20302 (eval $ac_try) 2>&5
20304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305 (exit $ac_status); }; }; then
20308 echo "$as_me: failed program was:" >&5
20309 sed 's/^/| /' conftest.$ac_ext >&5
20313 rm -f conftest.err conftest.$ac_objext \
20314 conftest$ac_exeext conftest.$ac_ext
20315 CFLAGS="$save_CFLAGS"
20317 echo "$as_me:$LINENO: result: $target_ilp32" >&5
20318 echo "${ECHO_T}$target_ilp32" >&6
20319 if test $target_ilp32 = yes; then
20321 cat >>confdefs.h <<\_ACEOF
20322 #define TARGET_ILP32 1
20328 # Check out attribute support.
20330 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
20331 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
20332 if test "${have_attribute_visibility+set}" = set; then
20333 echo $ECHO_N "(cached) $ECHO_C" >&6
20336 save_CFLAGS="$CFLAGS"
20337 CFLAGS="$CFLAGS -Werror"
20338 cat >conftest.$ac_ext <<_ACEOF
20341 cat confdefs.h >>conftest.$ac_ext
20342 cat >>conftest.$ac_ext <<_ACEOF
20343 /* end confdefs.h. */
20344 void __attribute__((visibility("hidden"))) foo(void) { }
20353 rm -f conftest.$ac_objext
20354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20355 (eval $ac_compile) 2>conftest.er1
20357 grep -v '^ *+' conftest.er1 >conftest.err
20359 cat conftest.err >&5
20360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20361 (exit $ac_status); } &&
20362 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20364 (eval $ac_try) 2>&5
20366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20367 (exit $ac_status); }; } &&
20368 { ac_try='test -s conftest.$ac_objext'
20369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20370 (eval $ac_try) 2>&5
20372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20373 (exit $ac_status); }; }; then
20374 have_attribute_visibility=yes
20376 echo "$as_me: failed program was:" >&5
20377 sed 's/^/| /' conftest.$ac_ext >&5
20379 have_attribute_visibility=no
20381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20382 CFLAGS="$save_CFLAGS"
20384 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
20385 echo "${ECHO_T}$have_attribute_visibility" >&6
20386 if test $have_attribute_visibility = yes; then
20388 cat >>confdefs.h <<\_ACEOF
20389 #define HAVE_ATTRIBUTE_VISIBILITY 1
20394 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
20395 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
20396 if test "${have_attribute_dllexport+set}" = set; then
20397 echo $ECHO_N "(cached) $ECHO_C" >&6
20400 save_CFLAGS="$CFLAGS"
20401 CFLAGS="$CFLAGS -Werror"
20402 cat >conftest.$ac_ext <<_ACEOF
20405 cat confdefs.h >>conftest.$ac_ext
20406 cat >>conftest.$ac_ext <<_ACEOF
20407 /* end confdefs.h. */
20408 void __attribute__((dllexport)) foo(void) { }
20417 rm -f conftest.$ac_objext
20418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20419 (eval $ac_compile) 2>conftest.er1
20421 grep -v '^ *+' conftest.er1 >conftest.err
20423 cat conftest.err >&5
20424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20425 (exit $ac_status); } &&
20426 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20428 (eval $ac_try) 2>&5
20430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20431 (exit $ac_status); }; } &&
20432 { ac_try='test -s conftest.$ac_objext'
20433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20434 (eval $ac_try) 2>&5
20436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20437 (exit $ac_status); }; }; then
20438 have_attribute_dllexport=yes
20440 echo "$as_me: failed program was:" >&5
20441 sed 's/^/| /' conftest.$ac_ext >&5
20443 have_attribute_dllexport=no
20445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20446 CFLAGS="$save_CFLAGS"
20448 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
20449 echo "${ECHO_T}$have_attribute_dllexport" >&6
20450 if test $have_attribute_dllexport = yes; then
20452 cat >>confdefs.h <<\_ACEOF
20453 #define HAVE_ATTRIBUTE_DLLEXPORT 1
20458 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
20459 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
20460 if test "${have_attribute_alias+set}" = set; then
20461 echo $ECHO_N "(cached) $ECHO_C" >&6
20464 if test x$gcc_no_link = xyes; then
20465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20467 { (exit 1); exit 1; }; }
20469 cat >conftest.$ac_ext <<_ACEOF
20472 cat confdefs.h >>conftest.$ac_ext
20473 cat >>conftest.$ac_ext <<_ACEOF
20474 /* end confdefs.h. */
20476 #define ULP STR1(__USER_LABEL_PREFIX__)
20477 #define STR1(x) STR2(x)
20480 extern void bar(void) __attribute__((alias(ULP "foo")));
20489 rm -f conftest.$ac_objext conftest$ac_exeext
20490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20491 (eval $ac_link) 2>conftest.er1
20493 grep -v '^ *+' conftest.er1 >conftest.err
20495 cat conftest.err >&5
20496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20497 (exit $ac_status); } &&
20498 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20500 (eval $ac_try) 2>&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); }; } &&
20504 { ac_try='test -s conftest$ac_exeext'
20505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20506 (eval $ac_try) 2>&5
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); }; }; then
20510 have_attribute_alias=yes
20512 echo "$as_me: failed program was:" >&5
20513 sed 's/^/| /' conftest.$ac_ext >&5
20515 have_attribute_alias=no
20517 rm -f conftest.err conftest.$ac_objext \
20518 conftest$ac_exeext conftest.$ac_ext
20520 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
20521 echo "${ECHO_T}$have_attribute_alias" >&6
20522 if test $have_attribute_alias = yes; then
20524 cat >>confdefs.h <<\_ACEOF
20525 #define HAVE_ATTRIBUTE_ALIAS 1
20530 # Check out sync builtins support.
20532 echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
20533 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
20534 if test "${have_sync_fetch_and_add+set}" = set; then
20535 echo $ECHO_N "(cached) $ECHO_C" >&6
20538 if test x$gcc_no_link = xyes; then
20539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20541 { (exit 1); exit 1; }; }
20543 cat >conftest.$ac_ext <<_ACEOF
20546 cat confdefs.h >>conftest.$ac_ext
20547 cat >>conftest.$ac_ext <<_ACEOF
20548 /* end confdefs.h. */
20554 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
20555 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
20560 rm -f conftest.$ac_objext conftest$ac_exeext
20561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20562 (eval $ac_link) 2>conftest.er1
20564 grep -v '^ *+' conftest.er1 >conftest.err
20566 cat conftest.err >&5
20567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20568 (exit $ac_status); } &&
20569 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20571 (eval $ac_try) 2>&5
20573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20574 (exit $ac_status); }; } &&
20575 { ac_try='test -s conftest$ac_exeext'
20576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20577 (eval $ac_try) 2>&5
20579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20580 (exit $ac_status); }; }; then
20581 have_sync_fetch_and_add=yes
20583 echo "$as_me: failed program was:" >&5
20584 sed 's/^/| /' conftest.$ac_ext >&5
20586 have_sync_fetch_and_add=no
20588 rm -f conftest.err conftest.$ac_objext \
20589 conftest$ac_exeext conftest.$ac_ext
20591 echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
20592 echo "${ECHO_T}$have_sync_fetch_and_add" >&6
20593 if test $have_sync_fetch_and_add = yes; then
20595 cat >>confdefs.h <<\_ACEOF
20596 #define HAVE_SYNC_FETCH_AND_ADD 1
20601 # Check out thread support.
20603 echo "$as_me:$LINENO: checking configured target thread model" >&5
20604 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
20605 if test "${target_thread_file+set}" = set; then
20606 echo $ECHO_N "(cached) $ECHO_C" >&6
20609 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
20611 echo "$as_me:$LINENO: result: $target_thread_file" >&5
20612 echo "${ECHO_T}$target_thread_file" >&6
20614 if test $target_thread_file != single; then
20616 cat >>confdefs.h <<\_ACEOF
20617 #define HAVE_GTHR_DEFAULT 1
20622 # Check out #pragma weak.
20624 echo "$as_me:$LINENO: checking whether pragma weak works" >&5
20625 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
20626 if test "${have_pragma_weak+set}" = set; then
20627 echo $ECHO_N "(cached) $ECHO_C" >&6
20630 gfor_save_CFLAGS="$CFLAGS"
20631 CFLAGS="$CFLAGS -Wunknown-pragmas"
20632 cat >conftest.$ac_ext <<_ACEOF
20635 cat confdefs.h >>conftest.$ac_ext
20636 cat >>conftest.$ac_ext <<_ACEOF
20637 /* end confdefs.h. */
20648 rm -f conftest.$ac_objext
20649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20650 (eval $ac_compile) 2>conftest.er1
20652 grep -v '^ *+' conftest.er1 >conftest.err
20654 cat conftest.err >&5
20655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656 (exit $ac_status); } &&
20657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20659 (eval $ac_try) 2>&5
20661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 (exit $ac_status); }; } &&
20663 { ac_try='test -s conftest.$ac_objext'
20664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20665 (eval $ac_try) 2>&5
20667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20668 (exit $ac_status); }; }; then
20669 have_pragma_weak=yes
20671 echo "$as_me: failed program was:" >&5
20672 sed 's/^/| /' conftest.$ac_ext >&5
20674 have_pragma_weak=no
20676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20678 echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
20679 echo "${ECHO_T}$have_pragma_weak" >&6
20680 if test $have_pragma_weak = yes; then
20682 cat >>confdefs.h <<\_ACEOF
20683 #define SUPPORTS_WEAK 1
20688 *-*-darwin* | *-*-hpux* | *-*-cygwin*)
20690 cat >>confdefs.h <<\_ACEOF
20691 #define GTHREAD_USE_WEAK 0
20697 # Various other checks on target
20699 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
20700 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
20701 if test "${have_unlink_open_file+set}" = set; then
20702 echo $ECHO_N "(cached) $ECHO_C" >&6
20705 if test "$cross_compiling" = yes; then
20707 case "${target}" in
20708 *mingw*) have_unlink_open_file=no ;;
20709 *) have_unlink_open_file=yes;;
20712 cat >conftest.$ac_ext <<_ACEOF
20715 cat confdefs.h >>conftest.$ac_ext
20716 cat >>conftest.$ac_ext <<_ACEOF
20717 /* end confdefs.h. */
20721 #include <unistd.h>
20722 #include <sys/stat.h>
20728 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
20731 if (unlink ("testfile") == -1)
20733 write (fd, "This is a test\n", 15);
20736 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
20742 rm -f conftest$ac_exeext
20743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20744 (eval $ac_link) 2>&5
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20749 (eval $ac_try) 2>&5
20751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20752 (exit $ac_status); }; }; then
20753 have_unlink_open_file=yes
20755 echo "$as_me: program exited with status $ac_status" >&5
20756 echo "$as_me: failed program was:" >&5
20757 sed 's/^/| /' conftest.$ac_ext >&5
20759 ( exit $ac_status )
20760 have_unlink_open_file=no
20762 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20765 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
20766 echo "${ECHO_T}$have_unlink_open_file" >&6
20767 if test x"$have_unlink_open_file" = xyes; then
20769 cat >>confdefs.h <<\_ACEOF
20770 #define HAVE_UNLINK_OPEN_FILE 1
20775 # Check whether line terminator is LF or CRLF
20777 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
20778 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
20779 if test "${have_crlf+set}" = set; then
20780 echo $ECHO_N "(cached) $ECHO_C" >&6
20783 if test "$cross_compiling" = yes; then
20785 case "${target}" in
20786 *mingw*) have_crlf=yes ;;
20790 cat >conftest.$ac_ext <<_ACEOF
20793 cat confdefs.h >>conftest.$ac_ext
20794 cat >>conftest.$ac_ext <<_ACEOF
20795 /* end confdefs.h. */
20797 /* This test program should exit with status 0 if system uses a CRLF as
20798 line terminator, and status 1 otherwise.
20799 Since it is used to check for mingw systems, and should return 0 in any
20800 other case, in case of a failure we will not use CRLF. */
20801 #include <sys/stat.h>
20802 #include <stdlib.h>
20814 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
20817 if (write (fd, "\n", 1) < 0)
20822 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
20824 bytes = read (fd, buff, 5);
20825 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
20832 rm -f conftest$ac_exeext
20833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20834 (eval $ac_link) 2>&5
20836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20837 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20839 (eval $ac_try) 2>&5
20841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20842 (exit $ac_status); }; }; then
20845 echo "$as_me: program exited with status $ac_status" >&5
20846 echo "$as_me: failed program was:" >&5
20847 sed 's/^/| /' conftest.$ac_ext >&5
20849 ( exit $ac_status )
20852 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20855 echo "$as_me:$LINENO: result: $have_crlf" >&5
20856 echo "${ECHO_T}$have_crlf" >&6
20857 if test x"$have_crlf" = xyes; then
20859 cat >>confdefs.h <<\_ACEOF
20860 #define HAVE_CRLF 1
20865 cat >confcache <<\_ACEOF
20866 # This file is a shell script that caches the results of configure
20867 # tests run on this system so they can be shared between configure
20868 # scripts and configure runs, see configure's option --config-cache.
20869 # It is not useful on other systems. If it contains results you don't
20870 # want to keep, you may remove or edit it.
20872 # config.status only pays attention to the cache file if you give it
20873 # the --recheck option to rerun configure.
20875 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20876 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20877 # following values.
20881 # The following way of writing the cache mishandles newlines in values,
20882 # but we know of no workaround that is simple, portable, and efficient.
20883 # So, don't put newlines in cache variables' values.
20884 # Ultrix sh set writes to stderr and can't be redirected directly,
20885 # and sets the high bit in the cache file unless we assign to the vars.
20888 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20890 # `set' does not quote correctly, so add quotes (double-quote
20891 # substitution turns \\\\ into \\, and sed turns \\ into \).
20894 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20897 # `set' quotes correctly as required by POSIX, so do not add quotes.
20899 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20906 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20908 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20910 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20911 if test -w $cache_file; then
20912 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20913 cat confcache >$cache_file
20915 echo "not updating unwritable cache $cache_file"
20920 if test ${multilib} = yes; then
20921 multilib_arg="--enable-multilib"
20926 # Write our Makefile.
20927 ac_config_files="$ac_config_files Makefile"
20929 cat >confcache <<\_ACEOF
20930 # This file is a shell script that caches the results of configure
20931 # tests run on this system so they can be shared between configure
20932 # scripts and configure runs, see configure's option --config-cache.
20933 # It is not useful on other systems. If it contains results you don't
20934 # want to keep, you may remove or edit it.
20936 # config.status only pays attention to the cache file if you give it
20937 # the --recheck option to rerun configure.
20939 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20940 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20941 # following values.
20945 # The following way of writing the cache mishandles newlines in values,
20946 # but we know of no workaround that is simple, portable, and efficient.
20947 # So, don't put newlines in cache variables' values.
20948 # Ultrix sh set writes to stderr and can't be redirected directly,
20949 # and sets the high bit in the cache file unless we assign to the vars.
20952 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20954 # `set' does not quote correctly, so add quotes (double-quote
20955 # substitution turns \\\\ into \\, and sed turns \\ into \).
20958 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20961 # `set' quotes correctly as required by POSIX, so do not add quotes.
20963 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20970 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20972 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20974 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20975 if test -w $cache_file; then
20976 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20977 cat confcache >$cache_file
20979 echo "not updating unwritable cache $cache_file"
20984 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20985 # Let make expand exec_prefix.
20986 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20988 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20989 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20990 # trailing colons and then remove the whole line if VPATH becomes empty
20991 # (actually we leave an empty line to preserve line numbers).
20992 if test "x$srcdir" = x.; then
20993 ac_vpsub='/^[ ]*VPATH[ ]*=/{
20994 s/:*\$(srcdir):*/:/;
20995 s/:*\${srcdir}:*/:/;
20997 s/^\([^=]*=[ ]*\):*/\1/;
21003 DEFS=-DHAVE_CONFIG_H
21007 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21008 # 1. Remove the extension, and $U if already installed.
21009 ac_i=`echo "$ac_i" |
21010 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
21012 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
21013 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
21015 LIBOBJS=$ac_libobjs
21017 LTLIBOBJS=$ac_ltlibobjs
21020 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21021 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
21022 Usually this means the macro was only invoked conditionally." >&5
21023 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
21024 Usually this means the macro was only invoked conditionally." >&2;}
21025 { (exit 1); exit 1; }; }
21028 : ${CONFIG_STATUS=./config.status}
21029 ac_clean_files_save=$ac_clean_files
21030 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21031 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21032 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21033 cat >$CONFIG_STATUS <<_ACEOF
21035 # Generated by $as_me.
21036 # Run this file to recreate the current configuration.
21037 # Compiler output produced by configure, useful for debugging
21038 # configure, is in config.log if it exists.
21041 ac_cs_recheck=false
21043 SHELL=\${CONFIG_SHELL-$SHELL}
21046 cat >>$CONFIG_STATUS <<\_ACEOF
21047 ## --------------------- ##
21048 ## M4sh Initialization. ##
21049 ## --------------------- ##
21051 # Be Bourne compatible
21052 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21055 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21056 # is contrary to our usage. Disable this feature.
21057 alias -g '${1+"$@"}'='"$@"'
21058 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21061 DUALCASE=1; export DUALCASE # for MKS sh
21063 # Support unset when possible.
21064 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21071 # Work around bugs in pre-3.0 UWIN ksh.
21072 $as_unset ENV MAIL MAILPATH
21079 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21080 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21081 LC_TELEPHONE LC_TIME
21083 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21084 eval $as_var=C; export $as_var
21090 # Required to use basename.
21091 if expr a : '\(a\)' >/dev/null 2>&1; then
21097 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
21098 as_basename=basename
21104 # Name of the executable.
21105 as_me=`$as_basename "$0" ||
21106 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21107 X"$0" : 'X\(//\)$' \| \
21108 X"$0" : 'X\(/\)$' \| \
21109 . : '\(.\)' 2>/dev/null ||
21111 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21112 /^X\/\(\/\/\)$/{ s//\1/; q; }
21113 /^X\/\(\/\).*/{ s//\1/; q; }
21117 # PATH needs CR, and LINENO needs CR and PATH.
21118 # Avoid depending upon Character Ranges.
21119 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21120 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21121 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21122 as_cr_digits='0123456789'
21123 as_cr_alnum=$as_cr_Letters$as_cr_digits
21125 # The user is always right.
21126 if test "${PATH_SEPARATOR+set}" != set; then
21127 echo "#! /bin/sh" >conf$$.sh
21128 echo "exit 0" >>conf$$.sh
21130 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21139 as_lineno_1=$LINENO
21140 as_lineno_2=$LINENO
21141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21142 test "x$as_lineno_1" != "x$as_lineno_2" &&
21143 test "x$as_lineno_3" = "x$as_lineno_2" || {
21144 # Find who we are. Look in the path if we contain no path at all
21147 *[\\/]* ) as_myself=$0 ;;
21148 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21149 for as_dir in $PATH
21152 test -z "$as_dir" && as_dir=.
21153 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21158 # We did not find ourselves, most probably we were run as `sh COMMAND'
21159 # in which case we are not to be found in the path.
21160 if test "x$as_myself" = x; then
21163 if test ! -f "$as_myself"; then
21164 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
21165 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
21166 { (exit 1); exit 1; }; }
21168 case $CONFIG_SHELL in
21170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21171 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
21174 test -z "$as_dir" && as_dir=.
21175 for as_base in sh bash ksh sh5; do
21178 if ("$as_dir/$as_base" -c '
21179 as_lineno_1=$LINENO
21180 as_lineno_2=$LINENO
21181 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21182 test "x$as_lineno_1" != "x$as_lineno_2" &&
21183 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
21184 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
21185 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
21186 CONFIG_SHELL=$as_dir/$as_base
21187 export CONFIG_SHELL
21188 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
21196 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21197 # uniformly replaced by the line number. The first 'sed' inserts a
21198 # line-number line before each line; the second 'sed' does the real
21199 # work. The second script uses 'N' to pair each line-number line
21200 # with the numbered line, and appends trailing '-' during
21201 # substitution so that $LINENO is not a special case at line end.
21202 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21203 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
21204 sed '=' <$as_myself |
21209 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
21212 s,^['$as_cr_digits']*\n,,
21213 ' >$as_me.lineno &&
21214 chmod +x $as_me.lineno ||
21215 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
21216 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
21217 { (exit 1); exit 1; }; }
21219 # Don't try to exec as it changes $[0], causing all sort of problems
21220 # (the dirname of $[0] is not the place where we might find the
21221 # original and so on. Autoconf is especially sensible to this).
21223 # Exit status is that of the last command.
21228 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
21229 *c*,-n*) ECHO_N= ECHO_C='
21231 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
21232 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
21235 if expr a : '\(a\)' >/dev/null 2>&1; then
21241 rm -f conf$$ conf$$.exe conf$$.file
21243 if ln -s conf$$.file conf$$ 2>/dev/null; then
21244 # We could just check for DJGPP; but this test a) works b) is more generic
21245 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
21246 if test -f conf$$.exe; then
21247 # Don't use ln at all; we don't have any links
21252 elif ln conf$$.file conf$$ 2>/dev/null; then
21257 rm -f conf$$ conf$$.exe conf$$.file
21259 if mkdir -p . 2>/dev/null; then
21262 test -d ./-p && rmdir ./-p
21266 as_executable_p="test -f"
21268 # Sed expression to map a string onto a valid CPP name.
21269 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21271 # Sed expression to map a string onto a valid variable name.
21272 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21276 # We need space, tab and new line, in precisely that order.
21286 # Open the log real soon, to keep \$[0] and so on meaningful, and to
21287 # report actual input values of CONFIG_FILES etc. instead of their
21288 # values after options handling. Logging --version etc. is OK.
21292 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21293 ## Running $as_me. ##
21298 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
21299 generated by GNU Autoconf 2.59. Invocation command line was
21301 CONFIG_FILES = $CONFIG_FILES
21302 CONFIG_HEADERS = $CONFIG_HEADERS
21303 CONFIG_LINKS = $CONFIG_LINKS
21304 CONFIG_COMMANDS = $CONFIG_COMMANDS
21308 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
21312 # Files that config.status was made for.
21313 if test -n "$ac_config_files"; then
21314 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
21317 if test -n "$ac_config_headers"; then
21318 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
21321 if test -n "$ac_config_links"; then
21322 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
21325 if test -n "$ac_config_commands"; then
21326 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
21329 cat >>$CONFIG_STATUS <<\_ACEOF
21332 \`$as_me' instantiates files from templates according to the
21333 current configuration.
21335 Usage: $0 [OPTIONS] [FILE]...
21337 -h, --help print this help, then exit
21338 -V, --version print version number, then exit
21339 -q, --quiet do not print progress messages
21340 -d, --debug don't remove temporary files
21341 --recheck update $as_me by reconfiguring in the same conditions
21342 --file=FILE[:TEMPLATE]
21343 instantiate the configuration file FILE
21344 --header=FILE[:TEMPLATE]
21345 instantiate the configuration header FILE
21347 Configuration files:
21350 Configuration headers:
21353 Configuration commands:
21356 Report bugs to <bug-autoconf@gnu.org>."
21359 cat >>$CONFIG_STATUS <<_ACEOF
21361 GNU Fortran Runtime Library config.status 0.2
21362 configured by $0, generated by GNU Autoconf 2.59,
21363 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
21365 Copyright (C) 2003 Free Software Foundation, Inc.
21366 This config.status script is free software; the Free Software Foundation
21367 gives unlimited permission to copy, distribute and modify it."
21372 cat >>$CONFIG_STATUS <<\_ACEOF
21373 # If no file are specified by the user, then we need to provide default
21374 # value. By we need to know if files were specified by the user.
21380 ac_option=`expr "x$1" : 'x\([^=]*\)='`
21381 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
21389 *) # This is not an option, so the user has probably given explicit
21392 ac_need_defaults=false;;
21396 # Handling of the options.
21398 cat >>$CONFIG_STATUS <<\_ACEOF
21399 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21401 --version | --vers* | -V )
21402 echo "$ac_cs_version"; exit 0 ;;
21404 # Conflict between --help and --header
21405 { { echo "$as_me:$LINENO: error: ambiguous option: $1
21406 Try \`$0 --help' for more information." >&5
21407 echo "$as_me: error: ambiguous option: $1
21408 Try \`$0 --help' for more information." >&2;}
21409 { (exit 1); exit 1; }; };;
21410 --help | --hel | -h )
21411 echo "$ac_cs_usage"; exit 0 ;;
21412 --debug | --d* | -d )
21414 --file | --fil | --fi | --f )
21416 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21417 ac_need_defaults=false;;
21418 --header | --heade | --head | --hea )
21420 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21421 ac_need_defaults=false;;
21422 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21423 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21426 # This is an error.
21427 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
21428 Try \`$0 --help' for more information." >&5
21429 echo "$as_me: error: unrecognized option: $1
21430 Try \`$0 --help' for more information." >&2;}
21431 { (exit 1); exit 1; }; } ;;
21433 *) ac_config_targets="$ac_config_targets $1" ;;
21439 ac_configure_extra_args=
21441 if $ac_cs_silent; then
21443 ac_configure_extra_args="$ac_configure_extra_args --silent"
21447 cat >>$CONFIG_STATUS <<_ACEOF
21448 if \$ac_cs_recheck; then
21449 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21450 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21455 cat >>$CONFIG_STATUS <<_ACEOF
21457 # INIT-COMMANDS section.
21464 with_multisubdir="$with_multisubdir"
21465 with_multisrctop="$with_multisrctop"
21466 with_target_subdir="$with_target_subdir"
21467 ac_configure_args="${multilib_arg} ${ac_configure_args}"
21468 multi_basedir="$multi_basedir"
21469 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
21476 cat >>$CONFIG_STATUS <<\_ACEOF
21477 for ac_config_target in $ac_config_targets
21479 case "$ac_config_target" in
21480 # Handling of arguments.
21481 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21482 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
21483 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
21484 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21485 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21486 { (exit 1); exit 1; }; };;
21490 # If the user did not use the arguments to specify the items to instantiate,
21491 # then the envvar interface is used. Set only those that are not.
21492 # We use the long form for the default assignment because of an extremely
21493 # bizarre bug on SunOS 4.1.3.
21494 if $ac_need_defaults; then
21495 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21496 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21497 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21500 # Have a temporary directory for convenience. Make it in the build tree
21501 # simply because there is no reason to put it here, and in addition,
21502 # creating and moving files from /tmp can sometimes cause problems.
21503 # Create a temporary directory, and hook for its removal unless debugging.
21506 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
21507 trap '{ (exit 1); exit 1; }' 1 2 13 15
21510 # Create a (secure) tmp directory for tmp files.
21513 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
21514 test -n "$tmp" && test -d "$tmp"
21517 tmp=./confstat$$-$RANDOM
21518 (umask 077 && mkdir $tmp)
21521 echo "$me: cannot create a temporary directory in ." >&2
21522 { (exit 1); exit 1; }
21527 cat >>$CONFIG_STATUS <<_ACEOF
21530 # CONFIG_FILES section.
21533 # No need to generate the scripts if there are no CONFIG_FILES.
21534 # This happens for instance when ./config.status config.h
21535 if test -n "\$CONFIG_FILES"; then
21536 # Protect against being on the right side of a sed subst in config.status.
21537 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21538 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21539 s,@SHELL@,$SHELL,;t t
21540 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21541 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21542 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21543 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21544 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21545 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21546 s,@exec_prefix@,$exec_prefix,;t t
21547 s,@prefix@,$prefix,;t t
21548 s,@program_transform_name@,$program_transform_name,;t t
21549 s,@bindir@,$bindir,;t t
21550 s,@sbindir@,$sbindir,;t t
21551 s,@libexecdir@,$libexecdir,;t t
21552 s,@datadir@,$datadir,;t t
21553 s,@sysconfdir@,$sysconfdir,;t t
21554 s,@sharedstatedir@,$sharedstatedir,;t t
21555 s,@localstatedir@,$localstatedir,;t t
21556 s,@libdir@,$libdir,;t t
21557 s,@includedir@,$includedir,;t t
21558 s,@oldincludedir@,$oldincludedir,;t t
21559 s,@infodir@,$infodir,;t t
21560 s,@mandir@,$mandir,;t t
21561 s,@build_alias@,$build_alias,;t t
21562 s,@host_alias@,$host_alias,;t t
21563 s,@target_alias@,$target_alias,;t t
21564 s,@DEFS@,$DEFS,;t t
21565 s,@ECHO_C@,$ECHO_C,;t t
21566 s,@ECHO_N@,$ECHO_N,;t t
21567 s,@ECHO_T@,$ECHO_T,;t t
21568 s,@LIBS@,$LIBS,;t t
21569 s,@build@,$build,;t t
21570 s,@build_cpu@,$build_cpu,;t t
21571 s,@build_vendor@,$build_vendor,;t t
21572 s,@build_os@,$build_os,;t t
21573 s,@build_subdir@,$build_subdir,;t t
21574 s,@host_subdir@,$host_subdir,;t t
21575 s,@target_subdir@,$target_subdir,;t t
21576 s,@host@,$host,;t t
21577 s,@host_cpu@,$host_cpu,;t t
21578 s,@host_vendor@,$host_vendor,;t t
21579 s,@host_os@,$host_os,;t t
21580 s,@target@,$target,;t t
21581 s,@target_cpu@,$target_cpu,;t t
21582 s,@target_vendor@,$target_vendor,;t t
21583 s,@target_os@,$target_os,;t t
21584 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21585 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21586 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21587 s,@CYGPATH_W@,$CYGPATH_W,;t t
21588 s,@PACKAGE@,$PACKAGE,;t t
21589 s,@VERSION@,$VERSION,;t t
21590 s,@ACLOCAL@,$ACLOCAL,;t t
21591 s,@AUTOCONF@,$AUTOCONF,;t t
21592 s,@AUTOMAKE@,$AUTOMAKE,;t t
21593 s,@AUTOHEADER@,$AUTOHEADER,;t t
21594 s,@MAKEINFO@,$MAKEINFO,;t t
21595 s,@install_sh@,$install_sh,;t t
21596 s,@STRIP@,$STRIP,;t t
21597 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21598 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
21599 s,@mkdir_p@,$mkdir_p,;t t
21601 s,@SET_MAKE@,$SET_MAKE,;t t
21602 s,@am__leading_dot@,$am__leading_dot,;t t
21603 s,@AMTAR@,$AMTAR,;t t
21604 s,@am__tar@,$am__tar,;t t
21605 s,@am__untar@,$am__untar,;t t
21606 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
21607 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
21608 s,@MAINT@,$MAINT,;t t
21609 s,@multi_basedir@,$multi_basedir,;t t
21610 s,@toolexecdir@,$toolexecdir,;t t
21611 s,@toolexeclibdir@,$toolexeclibdir,;t t
21613 s,@ac_ct_CC@,$ac_ct_CC,;t t
21614 s,@EXEEXT@,$EXEEXT,;t t
21615 s,@OBJEXT@,$OBJEXT,;t t
21616 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
21617 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
21619 s,@ac_ct_AS@,$ac_ct_AS,;t t
21621 s,@ac_ct_AR@,$ac_ct_AR,;t t
21622 s,@RANLIB@,$RANLIB,;t t
21623 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21624 s,@LN_S@,$LN_S,;t t
21625 s,@LIBTOOL@,$LIBTOOL,;t t
21626 s,@enable_shared@,$enable_shared,;t t
21627 s,@enable_static@,$enable_static,;t t
21629 s,@FCFLAGS@,$FCFLAGS,;t t
21630 s,@LDFLAGS@,$LDFLAGS,;t t
21631 s,@ac_ct_FC@,$ac_ct_FC,;t t
21632 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
21634 s,@CPPFLAGS@,$CPPFLAGS,;t t
21635 s,@EGREP@,$EGREP,;t t
21636 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
21637 s,@LIBOBJS@,$LIBOBJS,;t t
21638 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21643 cat >>$CONFIG_STATUS <<\_ACEOF
21644 # Split the substitutions into bite-sized pieces for seds with
21645 # small command number limits, like on Digital OSF/1 and HP-UX.
21646 ac_max_sed_lines=48
21647 ac_sed_frag=1 # Number of current file.
21648 ac_beg=1 # First line for current file.
21649 ac_end=$ac_max_sed_lines # Line after last line for current file.
21652 while $ac_more_lines; do
21653 if test $ac_beg -gt 1; then
21654 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21656 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21658 if test ! -s $tmp/subs.frag; then
21659 ac_more_lines=false
21661 # The purpose of the label and of the branching condition is to
21662 # speed up the sed processing (if there are no `@' at all, there
21663 # is no need to browse any of the substitutions).
21664 # These are the two extra sed commands mentioned above.
21666 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21667 if test -z "$ac_sed_cmds"; then
21668 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21670 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21672 ac_sed_frag=`expr $ac_sed_frag + 1`
21674 ac_end=`expr $ac_end + $ac_max_sed_lines`
21677 if test -z "$ac_sed_cmds"; then
21680 fi # test -n "$CONFIG_FILES"
21683 cat >>$CONFIG_STATUS <<\_ACEOF
21684 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21685 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21687 - | *:- | *:-:* ) # input from stdin
21689 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21690 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21691 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21692 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21693 * ) ac_file_in=$ac_file.in ;;
21696 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21697 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21698 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21699 X"$ac_file" : 'X\(//\)[^/]' \| \
21700 X"$ac_file" : 'X\(//\)$' \| \
21701 X"$ac_file" : 'X\(/\)' \| \
21702 . : '\(.\)' 2>/dev/null ||
21704 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21705 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21706 /^X\(\/\/\)$/{ s//\1/; q; }
21707 /^X\(\/\).*/{ s//\1/; q; }
21709 { if $as_mkdir_p; then
21714 while test ! -d "$as_dir"; do
21715 as_dirs="$as_dir $as_dirs"
21716 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21717 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21718 X"$as_dir" : 'X\(//\)[^/]' \| \
21719 X"$as_dir" : 'X\(//\)$' \| \
21720 X"$as_dir" : 'X\(/\)' \| \
21721 . : '\(.\)' 2>/dev/null ||
21723 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21724 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21725 /^X\(\/\/\)$/{ s//\1/; q; }
21726 /^X\(\/\).*/{ s//\1/; q; }
21729 test ! -n "$as_dirs" || mkdir $as_dirs
21730 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21731 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21732 { (exit 1); exit 1; }; }; }
21736 if test "$ac_dir" != .; then
21737 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21738 # A "../" for each directory in $ac_dir_suffix.
21739 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21741 ac_dir_suffix= ac_top_builddir=
21745 .) # No --srcdir option. We are building in place.
21747 if test -z "$ac_top_builddir"; then
21750 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21752 [\\/]* | ?:[\\/]* ) # Absolute path.
21753 ac_srcdir=$srcdir$ac_dir_suffix;
21754 ac_top_srcdir=$srcdir ;;
21755 *) # Relative path.
21756 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21757 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21760 # Do not use `cd foo && pwd` to compute absolute paths, because
21761 # the directories may not exist.
21763 .) ac_abs_builddir="$ac_dir";;
21766 .) ac_abs_builddir=`pwd`;;
21767 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21768 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21771 case $ac_abs_builddir in
21772 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21774 case ${ac_top_builddir}. in
21775 .) ac_abs_top_builddir=$ac_abs_builddir;;
21776 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21777 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21780 case $ac_abs_builddir in
21781 .) ac_abs_srcdir=$ac_srcdir;;
21784 .) ac_abs_srcdir=$ac_abs_builddir;;
21785 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21786 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21789 case $ac_abs_builddir in
21790 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21792 case $ac_top_srcdir in
21793 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21794 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21795 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21801 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21802 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21805 # Let's still pretend it is `configure' which instantiates (i.e., don't
21806 # use $as_me), people would be surprised to read:
21807 # /* config.h. Generated by config.status. */
21808 if test x"$ac_file" = x-; then
21811 configure_input="$ac_file. "
21813 configure_input=$configure_input"Generated from `echo $ac_file_in |
21814 sed 's,.*/,,'` by configure."
21816 # First look for the input files in the build tree, otherwise in the
21818 ac_file_inputs=`IFS=:
21819 for f in $ac_file_in; do
21821 -) echo $tmp/stdin ;;
21823 # Absolute (can't be DOS-style, as IFS=:)
21824 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21825 echo "$as_me: error: cannot find input file: $f" >&2;}
21826 { (exit 1); exit 1; }; }
21829 if test -f "$f"; then
21832 elif test -f "$srcdir/$f"; then
21837 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21838 echo "$as_me: error: cannot find input file: $f" >&2;}
21839 { (exit 1); exit 1; }; }
21842 done` || { (exit 1); exit 1; }
21844 if test x"$ac_file" != x-; then
21845 { echo "$as_me:$LINENO: creating $ac_file" >&5
21846 echo "$as_me: creating $ac_file" >&6;}
21850 cat >>$CONFIG_STATUS <<_ACEOF
21854 cat >>$CONFIG_STATUS <<\_ACEOF
21856 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21857 s,@configure_input@,$configure_input,;t t
21858 s,@srcdir@,$ac_srcdir,;t t
21859 s,@abs_srcdir@,$ac_abs_srcdir,;t t
21860 s,@top_srcdir@,$ac_top_srcdir,;t t
21861 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21862 s,@builddir@,$ac_builddir,;t t
21863 s,@abs_builddir@,$ac_abs_builddir,;t t
21864 s,@top_builddir@,$ac_top_builddir,;t t
21865 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21866 s,@INSTALL@,$ac_INSTALL,;t t
21867 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21869 if test x"$ac_file" != x-; then
21870 mv $tmp/out $ac_file
21878 cat >>$CONFIG_STATUS <<\_ACEOF
21881 # CONFIG_HEADER section.
21884 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21885 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21887 # ac_d sets the value in "#define NAME VALUE" lines.
21888 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21889 ac_dB='[ ].*$,\1#\2'
21892 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21893 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21894 ac_uB='$,\1#\2define\3'
21898 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21899 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21901 - | *:- | *:-:* ) # input from stdin
21903 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21904 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21905 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21906 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21907 * ) ac_file_in=$ac_file.in ;;
21910 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21911 echo "$as_me: creating $ac_file" >&6;}
21913 # First look for the input files in the build tree, otherwise in the
21915 ac_file_inputs=`IFS=:
21916 for f in $ac_file_in; do
21918 -) echo $tmp/stdin ;;
21920 # Absolute (can't be DOS-style, as IFS=:)
21921 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21922 echo "$as_me: error: cannot find input file: $f" >&2;}
21923 { (exit 1); exit 1; }; }
21924 # Do quote $f, to prevent DOS paths from being IFS'd.
21927 if test -f "$f"; then
21930 elif test -f "$srcdir/$f"; then
21935 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21936 echo "$as_me: error: cannot find input file: $f" >&2;}
21937 { (exit 1); exit 1; }; }
21940 done` || { (exit 1); exit 1; }
21941 # Remove the trailing spaces.
21942 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21946 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21947 # `conftest.undefs', that substitutes the proper values into
21948 # config.h.in to produce config.h. The first handles `#define'
21949 # templates, and the second `#undef' templates.
21950 # And first: Protect against being on the right side of a sed subst in
21951 # config.status. Protect against being in an unquoted here document
21952 # in config.status.
21953 rm -f conftest.defines conftest.undefs
21954 # Using a here document instead of a string reduces the quoting nightmare.
21955 # Putting comments in sed scripts is not portable.
21957 # `end' is used to avoid that the second main sed command (meant for
21958 # 0-ary CPP macros) applies to n-ary macro definitions.
21959 # See the Autoconf documentation for `clear'.
21960 cat >confdef2sed.sed <<\_ACEOF
21965 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21967 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21970 # If some macros were called several times there might be several times
21971 # the same #defines, which is useless. Nevertheless, we may not want to
21972 # sort them, since we want the *last* AC-DEFINE to be honored.
21973 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21974 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21975 rm -f confdef2sed.sed
21977 # This sed command replaces #undef with comments. This is necessary, for
21978 # example, in the case of _POSIX_SOURCE, which is predefined and required
21979 # on some systems where configure will not decide to define it.
21980 cat >>conftest.undefs <<\_ACEOF
21981 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21984 # Break up conftest.defines because some shells have a limit on the size
21985 # of here documents, and old seds have small limits too (100 cmds).
21986 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21987 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21988 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21989 echo ' :' >>$CONFIG_STATUS
21990 rm -f conftest.tail
21991 while grep . conftest.defines >/dev/null
21993 # Write a limited-size here document to $tmp/defines.sed.
21994 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21995 # Speed up: don't consider the non `#define' lines.
21996 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21997 # Work around the forget-to-reset-the-flag bug.
21998 echo 't clr' >>$CONFIG_STATUS
21999 echo ': clr' >>$CONFIG_STATUS
22000 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
22002 sed -f $tmp/defines.sed $tmp/in >$tmp/out
22004 mv $tmp/out $tmp/in
22006 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
22007 rm -f conftest.defines
22008 mv conftest.tail conftest.defines
22010 rm -f conftest.defines
22011 echo ' fi # grep' >>$CONFIG_STATUS
22012 echo >>$CONFIG_STATUS
22014 # Break up conftest.undefs because some shells have a limit on the size
22015 # of here documents, and old seds have small limits too (100 cmds).
22016 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
22017 rm -f conftest.tail
22018 while grep . conftest.undefs >/dev/null
22020 # Write a limited-size here document to $tmp/undefs.sed.
22021 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
22022 # Speed up: don't consider the non `#undef'
22023 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
22024 # Work around the forget-to-reset-the-flag bug.
22025 echo 't clr' >>$CONFIG_STATUS
22026 echo ': clr' >>$CONFIG_STATUS
22027 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
22029 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
22031 mv $tmp/out $tmp/in
22033 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
22034 rm -f conftest.undefs
22035 mv conftest.tail conftest.undefs
22037 rm -f conftest.undefs
22039 cat >>$CONFIG_STATUS <<\_ACEOF
22040 # Let's still pretend it is `configure' which instantiates (i.e., don't
22041 # use $as_me), people would be surprised to read:
22042 # /* config.h. Generated by config.status. */
22043 if test x"$ac_file" = x-; then
22044 echo "/* Generated by configure. */" >$tmp/config.h
22046 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
22048 cat $tmp/in >>$tmp/config.h
22050 if test x"$ac_file" != x-; then
22051 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
22052 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22053 echo "$as_me: $ac_file is unchanged" >&6;}
22055 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
22056 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22057 X"$ac_file" : 'X\(//\)[^/]' \| \
22058 X"$ac_file" : 'X\(//\)$' \| \
22059 X"$ac_file" : 'X\(/\)' \| \
22060 . : '\(.\)' 2>/dev/null ||
22062 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22063 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22064 /^X\(\/\/\)$/{ s//\1/; q; }
22065 /^X\(\/\).*/{ s//\1/; q; }
22067 { if $as_mkdir_p; then
22072 while test ! -d "$as_dir"; do
22073 as_dirs="$as_dir $as_dirs"
22074 as_dir=`(dirname "$as_dir") 2>/dev/null ||
22075 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22076 X"$as_dir" : 'X\(//\)[^/]' \| \
22077 X"$as_dir" : 'X\(//\)$' \| \
22078 X"$as_dir" : 'X\(/\)' \| \
22079 . : '\(.\)' 2>/dev/null ||
22081 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22082 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22083 /^X\(\/\/\)$/{ s//\1/; q; }
22084 /^X\(\/\).*/{ s//\1/; q; }
22087 test ! -n "$as_dirs" || mkdir $as_dirs
22088 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22089 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22090 { (exit 1); exit 1; }; }; }
22093 mv $tmp/config.h $ac_file
22097 rm -f $tmp/config.h
22099 # Compute $ac_file's index in $config_headers.
22101 for _am_header in $config_headers :; do
22102 case $_am_header in
22103 $ac_file | $ac_file:* )
22106 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
22109 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
22110 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22111 X$ac_file : 'X\(//\)[^/]' \| \
22112 X$ac_file : 'X\(//\)$' \| \
22113 X$ac_file : 'X\(/\)' \| \
22114 . : '\(.\)' 2>/dev/null ||
22116 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22117 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22118 /^X\(\/\/\)$/{ s//\1/; q; }
22119 /^X\(\/\).*/{ s//\1/; q; }
22120 s/.*/./; q'`/stamp-h$_am_stamp_count
22123 cat >>$CONFIG_STATUS <<\_ACEOF
22126 # CONFIG_COMMANDS section.
22128 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
22129 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
22130 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
22131 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
22132 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22133 X"$ac_dest" : 'X\(//\)[^/]' \| \
22134 X"$ac_dest" : 'X\(//\)$' \| \
22135 X"$ac_dest" : 'X\(/\)' \| \
22136 . : '\(.\)' 2>/dev/null ||
22138 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22139 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22140 /^X\(\/\/\)$/{ s//\1/; q; }
22141 /^X\(\/\).*/{ s//\1/; q; }
22143 { if $as_mkdir_p; then
22148 while test ! -d "$as_dir"; do
22149 as_dirs="$as_dir $as_dirs"
22150 as_dir=`(dirname "$as_dir") 2>/dev/null ||
22151 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22152 X"$as_dir" : 'X\(//\)[^/]' \| \
22153 X"$as_dir" : 'X\(//\)$' \| \
22154 X"$as_dir" : 'X\(/\)' \| \
22155 . : '\(.\)' 2>/dev/null ||
22157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22158 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22159 /^X\(\/\/\)$/{ s//\1/; q; }
22160 /^X\(\/\).*/{ s//\1/; q; }
22163 test ! -n "$as_dirs" || mkdir $as_dirs
22164 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22165 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22166 { (exit 1); exit 1; }; }; }
22170 if test "$ac_dir" != .; then
22171 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22172 # A "../" for each directory in $ac_dir_suffix.
22173 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22175 ac_dir_suffix= ac_top_builddir=
22179 .) # No --srcdir option. We are building in place.
22181 if test -z "$ac_top_builddir"; then
22184 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
22186 [\\/]* | ?:[\\/]* ) # Absolute path.
22187 ac_srcdir=$srcdir$ac_dir_suffix;
22188 ac_top_srcdir=$srcdir ;;
22189 *) # Relative path.
22190 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22191 ac_top_srcdir=$ac_top_builddir$srcdir ;;
22194 # Do not use `cd foo && pwd` to compute absolute paths, because
22195 # the directories may not exist.
22197 .) ac_abs_builddir="$ac_dir";;
22200 .) ac_abs_builddir=`pwd`;;
22201 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
22202 *) ac_abs_builddir=`pwd`/"$ac_dir";;
22205 case $ac_abs_builddir in
22206 .) ac_abs_top_builddir=${ac_top_builddir}.;;
22208 case ${ac_top_builddir}. in
22209 .) ac_abs_top_builddir=$ac_abs_builddir;;
22210 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22211 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22214 case $ac_abs_builddir in
22215 .) ac_abs_srcdir=$ac_srcdir;;
22218 .) ac_abs_srcdir=$ac_abs_builddir;;
22219 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22220 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22223 case $ac_abs_builddir in
22224 .) ac_abs_top_srcdir=$ac_top_srcdir;;
22226 case $ac_top_srcdir in
22227 .) ac_abs_top_srcdir=$ac_abs_builddir;;
22228 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
22229 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
22234 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
22235 echo "$as_me: executing $ac_dest commands" >&6;}
22238 # Only add multilib support code if we just rebuilt the top-level
22240 case " $CONFIG_FILES " in
22242 ac_file=Makefile . ${multi_basedir}/config-ml.in
22249 cat >>$CONFIG_STATUS <<\_ACEOF
22251 { (exit 0); exit 0; }
22253 chmod +x $CONFIG_STATUS
22254 ac_clean_files=$ac_clean_files_save
22257 # configure is writing to config.log, and then calls config.status.
22258 # config.status does its own redirection, appending to config.log.
22259 # Unfortunately, on DOS this fails, as config.log is still kept open
22260 # by configure, so config.status won't be able to write to it; its
22261 # output is simply discarded. So we exec the FD to /dev/null,
22262 # effectively closing config.log, so it can be properly (re)opened and
22263 # appended to by config.status. When coming back to configure, we
22264 # need to make the FD available again.
22265 if test "$no_create" != yes; then
22267 ac_config_status_args=
22268 test "$silent" = yes &&
22269 ac_config_status_args="$ac_config_status_args --quiet"
22271 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22273 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22274 # would make configure fail if this is the last instruction.
22275 $ac_cs_success || { (exit 1); exit 1; }