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_libsubdir 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-build-libsubdir=DIR Directory where to find libraries for build system
868 --with-gnu-ld assume the C compiler uses GNU ld default=no
869 --with-pic try to use only PIC/non-PIC objects default=use both
871 Some influential environment variables:
872 CC C compiler command
873 CFLAGS C compiler flags
874 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
875 nonstandard directory <lib dir>
876 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
877 headers in a nonstandard directory <include dir>
878 FC Fortran compiler command
879 FCFLAGS Fortran compiler flags
882 Use these variables to override the choices made by `configure' or to help
883 it to find libraries and programs with nonstandard names/locations.
888 if test "$ac_init_help" = "recursive"; then
889 # If there are subdirs, report their specific --help.
891 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
892 test -d $ac_dir || continue
895 if test "$ac_dir" != .; then
896 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
897 # A "../" for each directory in $ac_dir_suffix.
898 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
900 ac_dir_suffix= ac_top_builddir=
904 .) # No --srcdir option. We are building in place.
906 if test -z "$ac_top_builddir"; then
909 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
911 [\\/]* | ?:[\\/]* ) # Absolute path.
912 ac_srcdir=$srcdir$ac_dir_suffix;
913 ac_top_srcdir=$srcdir ;;
915 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
916 ac_top_srcdir=$ac_top_builddir$srcdir ;;
919 # Do not use `cd foo && pwd` to compute absolute paths, because
920 # the directories may not exist.
922 .) ac_abs_builddir="$ac_dir";;
925 .) ac_abs_builddir=`pwd`;;
926 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
927 *) ac_abs_builddir=`pwd`/"$ac_dir";;
930 case $ac_abs_builddir in
931 .) ac_abs_top_builddir=${ac_top_builddir}.;;
933 case ${ac_top_builddir}. in
934 .) ac_abs_top_builddir=$ac_abs_builddir;;
935 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
936 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
939 case $ac_abs_builddir in
940 .) ac_abs_srcdir=$ac_srcdir;;
943 .) ac_abs_srcdir=$ac_abs_builddir;;
944 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
945 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
948 case $ac_abs_builddir in
949 .) ac_abs_top_srcdir=$ac_top_srcdir;;
951 case $ac_top_srcdir in
952 .) ac_abs_top_srcdir=$ac_abs_builddir;;
953 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
954 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
959 # Check for guested configure; otherwise get Cygnus style configure.
960 if test -f $ac_srcdir/configure.gnu; then
962 $SHELL $ac_srcdir/configure.gnu --help=recursive
963 elif test -f $ac_srcdir/configure; then
965 $SHELL $ac_srcdir/configure --help=recursive
966 elif test -f $ac_srcdir/configure.ac ||
967 test -f $ac_srcdir/configure.in; then
971 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
977 test -n "$ac_init_help" && exit 0
978 if $ac_init_version; then
980 GNU Fortran Runtime Library configure 0.2
981 generated by GNU Autoconf 2.59
983 Copyright (C) 2003 Free Software Foundation, Inc.
984 This configure script is free software; the Free Software Foundation
985 gives unlimited permission to copy, distribute and modify it.
991 This file contains any messages produced by compilers while
992 running configure, to aid debugging if configure makes a mistake.
994 It was created by GNU Fortran Runtime Library $as_me 0.2, which was
995 generated by GNU Autoconf 2.59. Invocation command line was
1006 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1007 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1008 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1009 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1010 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1012 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1013 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1015 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1016 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1017 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1018 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1019 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1020 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1021 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1029 test -z "$as_dir" && as_dir=.
1030 echo "PATH: $as_dir"
1045 # Keep a trace of the command line.
1046 # Strip out --no-create and --no-recursion so they do not pile up.
1047 # Strip out --silent because we don't want to record it for future runs.
1048 # Also quote any args containing shell meta-characters.
1049 # Make two passes to allow for proper duplicate-argument suppression.
1054 ac_must_keep_next=false
1060 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1064 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1065 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1068 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1070 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1071 if test $ac_must_keep_next = true; then
1072 ac_must_keep_next=false # Got value, back to normal.
1075 *=* | --config-cache | -C | -disable-* | --disable-* \
1076 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1077 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1078 | -with-* | --with-* | -without-* | --without-* | --x)
1079 case "$ac_configure_args0 " in
1080 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1083 -* ) ac_must_keep_next=true ;;
1086 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1087 # Get rid of the leading space.
1093 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1094 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1096 # When interrupted or exit'd, cleanup temporary files, and complete
1097 # config.log. We remove comments because anyway the quotes in there
1098 # would cause problems or look ugly.
1099 # WARNING: Be sure not to use single quotes in there, as some shells,
1100 # such as our DU 5.0 friend, will then `close' the trap.
1101 trap 'exit_status=$?
1102 # Save into config.log some information that might help in debugging.
1107 ## ---------------- ##
1108 ## Cache variables. ##
1109 ## ---------------- ##
1112 # The following way of writing the cache mishandles newlines in values,
1115 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1118 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1123 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1130 ## ----------------- ##
1131 ## Output variables. ##
1132 ## ----------------- ##
1135 for ac_var in $ac_subst_vars
1137 eval ac_val=$`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1142 if test -n "$ac_subst_files"; then
1149 for ac_var in $ac_subst_files
1151 eval ac_val=$`echo $ac_var`
1152 echo "$ac_var='"'"'$ac_val'"'"'"
1157 if test -s confdefs.h; then
1164 sed "/^$/d" confdefs.h | sort
1167 test "$ac_signal" != 0 &&
1168 echo "$as_me: caught signal $ac_signal"
1169 echo "$as_me: exit $exit_status"
1171 rm -f core *.core &&
1172 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1175 for ac_signal in 1 2 13 15; do
1176 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1180 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1181 rm -rf conftest* confdefs.h
1182 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1185 # Predefined preprocessor variables.
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_NAME "$PACKAGE_NAME"
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_STRING "$PACKAGE_STRING"
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1212 # Let the site file select an alternate cache file if it wants to.
1213 # Prefer explicitly selected file to automatically selected ones.
1214 if test -z "$CONFIG_SITE"; then
1215 if test "x$prefix" != xNONE; then
1216 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1218 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1221 for ac_site_file in $CONFIG_SITE; do
1222 if test -r "$ac_site_file"; then
1223 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1224 echo "$as_me: loading site script $ac_site_file" >&6;}
1225 sed 's/^/| /' "$ac_site_file" >&5
1230 if test -r "$cache_file"; then
1231 # Some versions of bash will fail to source /dev/null (special
1232 # files actually), so we avoid doing that.
1233 if test -f "$cache_file"; then
1234 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1235 echo "$as_me: loading cache $cache_file" >&6;}
1237 [\\/]* | ?:[\\/]* ) . $cache_file;;
1238 *) . ./$cache_file;;
1242 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1243 echo "$as_me: creating cache $cache_file" >&6;}
1247 # Check that the precious variables saved in the cache have kept the same
1249 ac_cache_corrupted=false
1250 for ac_var in `(set) 2>&1 |
1251 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1252 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1253 eval ac_new_set=\$ac_env_${ac_var}_set
1254 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1255 eval ac_new_val="\$ac_env_${ac_var}_value"
1256 case $ac_old_set,$ac_new_set in
1258 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1259 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1260 ac_cache_corrupted=: ;;
1262 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1263 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1264 ac_cache_corrupted=: ;;
1267 if test "x$ac_old_val" != "x$ac_new_val"; then
1268 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1269 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1270 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1271 echo "$as_me: former value: $ac_old_val" >&2;}
1272 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1273 echo "$as_me: current value: $ac_new_val" >&2;}
1274 ac_cache_corrupted=:
1277 # Pass precious variables to config.status.
1278 if test "$ac_new_set" = set; then
1280 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1282 *) ac_arg=$ac_var=$ac_new_val ;;
1284 case " $ac_configure_args " in
1285 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1286 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1290 if $ac_cache_corrupted; then
1291 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1292 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1293 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1294 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1295 { (exit 1); exit 1; }; }
1299 ac_cpp='$CPP $CPPFLAGS'
1300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1330 ac_config_headers="$ac_config_headers config.h"
1333 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1334 if test -f $ac_dir/install-sh; then
1336 ac_install_sh="$ac_aux_dir/install-sh -c"
1338 elif test -f $ac_dir/install.sh; then
1340 ac_install_sh="$ac_aux_dir/install.sh -c"
1342 elif test -f $ac_dir/shtool; then
1344 ac_install_sh="$ac_aux_dir/shtool install -c"
1348 if test -z "$ac_aux_dir"; then
1349 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1350 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1351 { (exit 1); exit 1; }; }
1353 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1354 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1355 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1357 # Make sure we can run config.sub.
1358 $ac_config_sub sun4 >/dev/null 2>&1 ||
1359 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1360 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1361 { (exit 1); exit 1; }; }
1363 echo "$as_me:$LINENO: checking build system type" >&5
1364 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1365 if test "${ac_cv_build+set}" = set; then
1366 echo $ECHO_N "(cached) $ECHO_C" >&6
1368 ac_cv_build_alias=$build_alias
1369 test -z "$ac_cv_build_alias" &&
1370 ac_cv_build_alias=`$ac_config_guess`
1371 test -z "$ac_cv_build_alias" &&
1372 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1373 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1374 { (exit 1); exit 1; }; }
1375 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1376 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1377 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1378 { (exit 1); exit 1; }; }
1381 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1382 echo "${ECHO_T}$ac_cv_build" >&6
1384 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1385 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1386 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1389 case ${build_alias} in
1390 "") build_noncanonical=${build} ;;
1391 *) build_noncanonical=${build_alias} ;;
1394 case ${host_alias} in
1395 "") host_noncanonical=${build_noncanonical} ;;
1396 *) host_noncanonical=${host_alias} ;;
1399 case ${target_alias} in
1400 "") target_noncanonical=${host_noncanonical} ;;
1401 *) target_noncanonical=${target_alias} ;;
1405 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1406 # have matching libraries, they should use host libraries: Makefile.tpl
1407 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1408 # However, they still use the build modules, because the corresponding
1409 # host modules (e.g. bison) are only built for the host when bootstrap
1411 # - build_subdir is where we find build modules, and never changes.
1412 # - build_libsubdir is where we find build libraries, and can be overridden.
1414 # Prefix 'build-' so this never conflicts with target_subdir.
1415 build_subdir="build-${build_noncanonical}"
1417 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1418 if test "${with_build_libsubdir+set}" = set; then
1419 withval="$with_build_libsubdir"
1420 build_libsubdir="$withval"
1422 build_libsubdir="$build_subdir"
1424 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1425 if ( test $srcdir = . && test -d gcc ) \
1426 || test -d $srcdir/../host-${host_noncanonical}; then
1427 host_subdir="host-${host_noncanonical}"
1432 target_subdir=${target_noncanonical}
1439 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1440 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1441 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1442 if test "${enable_version_specific_runtime_libs+set}" = set; then
1443 enableval="$enable_version_specific_runtime_libs"
1444 case "$enableval" in
1445 yes) version_specific_libs=yes ;;
1446 no) version_specific_libs=no ;;
1447 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1448 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1449 { (exit 1); exit 1; }; };;
1452 version_specific_libs=no
1454 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1455 echo "${ECHO_T}$version_specific_libs" >&6
1458 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1460 # You will slowly go insane if you do not grok the following fact: when
1461 # building this library, the top-level /target/ becomes the library's /host/.
1463 # configure then causes --target to default to --host, exactly like any
1464 # other package using autoconf. Therefore, 'target' and 'host' will
1465 # always be the same. This makes sense both for native and cross compilers
1466 # just think about it for a little while. :-)
1468 # Also, if this library is being configured as part of a cross compiler, the
1469 # top-level configure script will pass the "real" host as $with_cross_host.
1471 # Do not delete or change the following two lines. For why, see
1472 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1473 echo "$as_me:$LINENO: checking host system type" >&5
1474 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1475 if test "${ac_cv_host+set}" = set; then
1476 echo $ECHO_N "(cached) $ECHO_C" >&6
1478 ac_cv_host_alias=$host_alias
1479 test -z "$ac_cv_host_alias" &&
1480 ac_cv_host_alias=$ac_cv_build_alias
1481 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1482 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1483 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1484 { (exit 1); exit 1; }; }
1487 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1488 echo "${ECHO_T}$ac_cv_host" >&6
1490 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1491 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1492 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1495 echo "$as_me:$LINENO: checking target system type" >&5
1496 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1497 if test "${ac_cv_target+set}" = set; then
1498 echo $ECHO_N "(cached) $ECHO_C" >&6
1500 ac_cv_target_alias=$target_alias
1501 test "x$ac_cv_target_alias" = "x" &&
1502 ac_cv_target_alias=$ac_cv_host_alias
1503 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1504 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1505 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1506 { (exit 1); exit 1; }; }
1509 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1510 echo "${ECHO_T}$ac_cv_target" >&6
1511 target=$ac_cv_target
1512 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1513 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1514 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1517 # The aliases save the names the user supplied, while $host etc.
1518 # will get canonicalized.
1519 test -n "$target_alias" &&
1520 test "$program_prefix$program_suffix$program_transform_name" = \
1522 program_prefix=${target_alias}-
1523 target_alias=${target_alias-$host_alias}
1525 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1526 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1527 # 1.8.2: minimum required version
1528 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1529 # of other PACKAGE_* variables will, however, and there's nothing
1530 # we can do about that; they come from AC_INIT).
1531 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1532 # file in the top srcdir, etc, etc), so stop complaining.
1533 # no-dependencies: turns off auto dependency generation (just for now)
1534 # -Wall: turns on all automake warnings...
1535 # -Wno-portability: ...except this one, since GNU make is required.
1536 am__api_version="1.9"
1537 # Find a good install program. We prefer a C program (faster),
1538 # so one script is as good as another. But avoid the broken or
1539 # incompatible versions:
1540 # SysV /etc/install, /usr/sbin/install
1541 # SunOS /usr/etc/install
1542 # IRIX /sbin/install
1544 # AmigaOS /C/install, which installs bootblocks on floppy discs
1545 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1546 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1547 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1548 # OS/2's system install, which has a completely different semantic
1549 # ./install, which can be erroneously created by make from ./install.sh.
1550 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1551 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1552 if test -z "$INSTALL"; then
1553 if test "${ac_cv_path_install+set}" = set; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1560 test -z "$as_dir" && as_dir=.
1561 # Account for people who put trailing slashes in PATH elements.
1563 ./ | .// | /cC/* | \
1564 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1565 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1568 # OSF1 and SCO ODT 3.0 have their own names for install.
1569 # Don't use installbsd from OSF since it installs stuff as root
1571 for ac_prog in ginstall scoinst install; do
1572 for ac_exec_ext in '' $ac_executable_extensions; do
1573 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1574 if test $ac_prog = install &&
1575 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1576 # AIX install. It has an incompatible calling convention.
1578 elif test $ac_prog = install &&
1579 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1580 # program-specific install script used by HP pwplus--don't use.
1583 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1595 if test "${ac_cv_path_install+set}" = set; then
1596 INSTALL=$ac_cv_path_install
1598 # As a last resort, use the slow shell script. We don't cache a
1599 # path for INSTALL within a source directory, because that will
1600 # break other packages using the cache if that directory is
1601 # removed, or if the path is relative.
1602 INSTALL=$ac_install_sh
1605 echo "$as_me:$LINENO: result: $INSTALL" >&5
1606 echo "${ECHO_T}$INSTALL" >&6
1608 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1609 # It thinks the first close brace ends the variable substitution.
1610 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1612 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1614 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1616 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1617 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1620 echo timestamp > conftest.file
1621 # Do `set' in a subshell so we don't clobber the current shell's
1622 # arguments. Must try -L first in case configure is actually a
1623 # symlink; some systems play weird games with the mod time of symlinks
1624 # (eg FreeBSD returns the mod time of the symlink's containing
1627 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1628 if test "$*" = "X"; then
1630 set X `ls -t $srcdir/configure conftest.file`
1633 if test "$*" != "X $srcdir/configure conftest.file" \
1634 && test "$*" != "X conftest.file $srcdir/configure"; then
1636 # If neither matched, then we have a broken ls. This can happen
1637 # if, for instance, CONFIG_SHELL is bash and it inherits a
1638 # broken ls alias from the environment. This has actually
1639 # happened. Such a system could not be considered "sane".
1640 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1641 alias in your environment" >&5
1642 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1643 alias in your environment" >&2;}
1644 { (exit 1); exit 1; }; }
1647 test "$2" = conftest.file
1653 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1654 Check your system clock" >&5
1655 echo "$as_me: error: newly created file is older than distributed files!
1656 Check your system clock" >&2;}
1657 { (exit 1); exit 1; }; }
1659 echo "$as_me:$LINENO: result: yes" >&5
1660 echo "${ECHO_T}yes" >&6
1661 test "$program_prefix" != NONE &&
1662 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1663 # Use a double $ so make ignores it.
1664 test "$program_suffix" != NONE &&
1665 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1666 # Double any \ or $. echo might interpret backslashes.
1667 # By default was `s,x,x', remove it if useless.
1668 cat <<\_ACEOF >conftest.sed
1669 s/[\\$]/&&/g;s/;s,x,x,$//
1671 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1674 # expand $ac_aux_dir to an absolute path
1675 am_aux_dir=`cd $ac_aux_dir && pwd`
1677 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1678 # Use eval to expand $SHELL
1679 if eval "$MISSING --run true"; then
1680 am_missing_run="$MISSING --run "
1683 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1684 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1687 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1688 # We used to keeping the `.' as first argument, in order to
1689 # allow $(mkdir_p) to be used without argument. As in
1690 # $(mkdir_p) $(somedir)
1691 # where $(somedir) is conditionally defined. However this is wrong
1693 # 1. if the package is installed by a user who cannot write `.'
1694 # make install will fail,
1695 # 2. the above comment should most certainly read
1696 # $(mkdir_p) $(DESTDIR)$(somedir)
1697 # so it does not work when $(somedir) is undefined and
1698 # $(DESTDIR) is not.
1699 # To support the latter case, we have to write
1700 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1701 # so the `.' trick is pointless.
1702 mkdir_p='mkdir -p --'
1704 # On NextStep and OpenStep, the `mkdir' command does not
1705 # recognize any option. It will interpret all options as
1706 # directories to create, and then abort because `.' already
1708 for d in ./-p ./--version;
1710 test -d $d && rmdir $d
1712 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1713 if test -f "$ac_aux_dir/mkinstalldirs"; then
1714 mkdir_p='$(mkinstalldirs)'
1716 mkdir_p='$(install_sh) -d'
1720 for ac_prog in gawk mawk nawk awk
1722 # Extract the first word of "$ac_prog", so it can be a program name with args.
1723 set dummy $ac_prog; ac_word=$2
1724 echo "$as_me:$LINENO: checking for $ac_word" >&5
1725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1726 if test "${ac_cv_prog_AWK+set}" = set; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1729 if test -n "$AWK"; then
1730 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1736 test -z "$as_dir" && as_dir=.
1737 for ac_exec_ext in '' $ac_executable_extensions; do
1738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1739 ac_cv_prog_AWK="$ac_prog"
1740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1749 if test -n "$AWK"; then
1750 echo "$as_me:$LINENO: result: $AWK" >&5
1751 echo "${ECHO_T}$AWK" >&6
1753 echo "$as_me:$LINENO: result: no" >&5
1754 echo "${ECHO_T}no" >&6
1757 test -n "$AWK" && break
1760 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1761 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1762 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1763 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1764 echo $ECHO_N "(cached) $ECHO_C" >&6
1766 cat >conftest.make <<\_ACEOF
1768 @echo 'ac_maketemp="$(MAKE)"'
1770 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1771 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1772 if test -n "$ac_maketemp"; then
1773 eval ac_cv_prog_make_${ac_make}_set=yes
1775 eval ac_cv_prog_make_${ac_make}_set=no
1779 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1780 echo "$as_me:$LINENO: result: yes" >&5
1781 echo "${ECHO_T}yes" >&6
1784 echo "$as_me:$LINENO: result: no" >&5
1785 echo "${ECHO_T}no" >&6
1786 SET_MAKE="MAKE=${MAKE-make}"
1789 rm -rf .tst 2>/dev/null
1790 mkdir .tst 2>/dev/null
1791 if test -d .tst; then
1796 rmdir .tst 2>/dev/null
1798 # test to see if srcdir already configured
1799 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1800 test -f $srcdir/config.status; then
1801 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1802 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1803 { (exit 1); exit 1; }; }
1806 # test whether we have cygpath
1807 if test -z "$CYGPATH_W"; then
1808 if (cygpath --version) >/dev/null 2>/dev/null; then
1809 CYGPATH_W='cygpath -w'
1816 # Define the identity of the package.
1817 PACKAGE='libgfortran'
1821 # Some tools Automake needs.
1823 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1826 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1829 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1832 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1835 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1837 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1839 # Installed binaries are usually stripped using `strip' when the user
1840 # run `make install-strip'. However `strip' might not be the right
1841 # tool to use in cross-compilation environments, therefore Automake
1842 # will honor the `STRIP' environment variable to overrule this program.
1843 if test "$cross_compiling" != no; then
1844 if test -n "$ac_tool_prefix"; then
1845 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1846 set dummy ${ac_tool_prefix}strip; ac_word=$2
1847 echo "$as_me:$LINENO: checking for $ac_word" >&5
1848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1849 if test "${ac_cv_prog_STRIP+set}" = set; then
1850 echo $ECHO_N "(cached) $ECHO_C" >&6
1852 if test -n "$STRIP"; then
1853 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1859 test -z "$as_dir" && as_dir=.
1860 for ac_exec_ext in '' $ac_executable_extensions; do
1861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1862 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1871 STRIP=$ac_cv_prog_STRIP
1872 if test -n "$STRIP"; then
1873 echo "$as_me:$LINENO: result: $STRIP" >&5
1874 echo "${ECHO_T}$STRIP" >&6
1876 echo "$as_me:$LINENO: result: no" >&5
1877 echo "${ECHO_T}no" >&6
1881 if test -z "$ac_cv_prog_STRIP"; then
1883 # Extract the first word of "strip", so it can be a program name with args.
1884 set dummy strip; ac_word=$2
1885 echo "$as_me:$LINENO: checking for $ac_word" >&5
1886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1887 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1888 echo $ECHO_N "(cached) $ECHO_C" >&6
1890 if test -n "$ac_ct_STRIP"; then
1891 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1897 test -z "$as_dir" && as_dir=.
1898 for ac_exec_ext in '' $ac_executable_extensions; do
1899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1900 ac_cv_prog_ac_ct_STRIP="strip"
1901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1907 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1910 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1911 if test -n "$ac_ct_STRIP"; then
1912 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1913 echo "${ECHO_T}$ac_ct_STRIP" >&6
1915 echo "$as_me:$LINENO: result: no" >&5
1916 echo "${ECHO_T}no" >&6
1921 STRIP="$ac_cv_prog_STRIP"
1925 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1927 # We need awk for the "check" target. The system "awk" is bad on
1929 # Always define AMTAR for backward compatibility.
1931 AMTAR=${AMTAR-"${am_missing_run}tar"}
1933 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1940 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1941 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1942 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1943 if test "${enable_maintainer_mode+set}" = set; then
1944 enableval="$enable_maintainer_mode"
1945 USE_MAINTAINER_MODE=$enableval
1947 USE_MAINTAINER_MODE=no
1949 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1950 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1953 if test $USE_MAINTAINER_MODE = yes; then
1954 MAINTAINER_MODE_TRUE=
1955 MAINTAINER_MODE_FALSE='#'
1957 MAINTAINER_MODE_TRUE='#'
1958 MAINTAINER_MODE_FALSE=
1961 MAINT=$MAINTAINER_MODE_TRUE
1964 # Default to --enable-multilib
1965 # Check whether --enable-multilib or --disable-multilib was given.
1966 if test "${enable_multilib+set}" = set; then
1967 enableval="$enable_multilib"
1968 case "$enableval" in
1969 yes) multilib=yes ;;
1971 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1972 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1973 { (exit 1); exit 1; }; } ;;
1979 # We may get other options which we leave undocumented:
1980 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1981 # See config-ml.in if you want the gory details.
1983 if test "$srcdir" = "."; then
1984 if test "$with_target_subdir" != "."; then
1985 multi_basedir="$srcdir/$with_multisrctop../.."
1987 multi_basedir="$srcdir/$with_multisrctop.."
1990 multi_basedir="$srcdir/.."
1994 ac_config_commands="$ac_config_commands default-1"
1997 # Handy for debugging:
1998 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2000 # Are we being configured with some form of cross compiler?
2001 # NB: We don't actually need to know this just now, but when, say, a test
2002 # suite is included, we'll have to know.
2003 if test "$build" != "$host"; then
2004 LIBGFOR_IS_NATIVE=false
2007 LIBGFOR_IS_NATIVE=true
2010 # Calculate toolexeclibdir
2011 # Also toolexecdir, though it's only used in toolexeclibdir
2012 case ${version_specific_libs} in
2014 # Need the gcc compiler version to know where to install libraries
2015 # and header files if --enable-version-specific-runtime-libs option
2017 toolexecdir='$(libdir)/gcc/$(target_alias)'
2018 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2021 if test -n "$with_cross_host" &&
2022 test x"$with_cross_host" != x"no"; then
2023 # Install a library built with a cross compiler in tooldir, not libdir.
2024 toolexecdir='$(exec_prefix)/$(target_alias)'
2025 toolexeclibdir='$(toolexecdir)/lib'
2027 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2028 toolexeclibdir='$(libdir)'
2030 multi_os_directory=`$CC -print-multi-os-directory`
2031 case $multi_os_directory in
2032 .) ;; # Avoid trailing /.
2033 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2040 # Check the compiler.
2041 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2042 # We must force CC to /not/ be precious variables; otherwise
2043 # the wrong, non-multilib-adjusted value will be used in multilibs.
2044 # As a side effect, we have to subst CFLAGS ourselves.
2049 ac_cpp='$CPP $CPPFLAGS'
2050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2053 if test -n "$ac_tool_prefix"; then
2054 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2055 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2056 echo "$as_me:$LINENO: checking for $ac_word" >&5
2057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2058 if test "${ac_cv_prog_CC+set}" = set; then
2059 echo $ECHO_N "(cached) $ECHO_C" >&6
2061 if test -n "$CC"; then
2062 ac_cv_prog_CC="$CC" # Let the user override the test.
2064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2068 test -z "$as_dir" && as_dir=.
2069 for ac_exec_ext in '' $ac_executable_extensions; do
2070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2071 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2081 if test -n "$CC"; then
2082 echo "$as_me:$LINENO: result: $CC" >&5
2083 echo "${ECHO_T}$CC" >&6
2085 echo "$as_me:$LINENO: result: no" >&5
2086 echo "${ECHO_T}no" >&6
2090 if test -z "$ac_cv_prog_CC"; then
2092 # Extract the first word of "gcc", so it can be a program name with args.
2093 set dummy gcc; ac_word=$2
2094 echo "$as_me:$LINENO: checking for $ac_word" >&5
2095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2096 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2097 echo $ECHO_N "(cached) $ECHO_C" >&6
2099 if test -n "$ac_ct_CC"; then
2100 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2106 test -z "$as_dir" && as_dir=.
2107 for ac_exec_ext in '' $ac_executable_extensions; do
2108 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2109 ac_cv_prog_ac_ct_CC="gcc"
2110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2118 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2119 if test -n "$ac_ct_CC"; then
2120 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2121 echo "${ECHO_T}$ac_ct_CC" >&6
2123 echo "$as_me:$LINENO: result: no" >&5
2124 echo "${ECHO_T}no" >&6
2132 if test -z "$CC"; then
2133 if test -n "$ac_tool_prefix"; then
2134 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2135 set dummy ${ac_tool_prefix}cc; ac_word=$2
2136 echo "$as_me:$LINENO: checking for $ac_word" >&5
2137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2138 if test "${ac_cv_prog_CC+set}" = set; then
2139 echo $ECHO_N "(cached) $ECHO_C" >&6
2141 if test -n "$CC"; then
2142 ac_cv_prog_CC="$CC" # Let the user override the test.
2144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2148 test -z "$as_dir" && as_dir=.
2149 for ac_exec_ext in '' $ac_executable_extensions; do
2150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2151 ac_cv_prog_CC="${ac_tool_prefix}cc"
2152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2161 if test -n "$CC"; then
2162 echo "$as_me:$LINENO: result: $CC" >&5
2163 echo "${ECHO_T}$CC" >&6
2165 echo "$as_me:$LINENO: result: no" >&5
2166 echo "${ECHO_T}no" >&6
2170 if test -z "$ac_cv_prog_CC"; then
2172 # Extract the first word of "cc", so it can be a program name with args.
2173 set dummy cc; ac_word=$2
2174 echo "$as_me:$LINENO: checking for $ac_word" >&5
2175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2176 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2177 echo $ECHO_N "(cached) $ECHO_C" >&6
2179 if test -n "$ac_ct_CC"; then
2180 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2186 test -z "$as_dir" && as_dir=.
2187 for ac_exec_ext in '' $ac_executable_extensions; do
2188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2189 ac_cv_prog_ac_ct_CC="cc"
2190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2198 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2199 if test -n "$ac_ct_CC"; then
2200 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2201 echo "${ECHO_T}$ac_ct_CC" >&6
2203 echo "$as_me:$LINENO: result: no" >&5
2204 echo "${ECHO_T}no" >&6
2213 if test -z "$CC"; then
2214 # Extract the first word of "cc", so it can be a program name with args.
2215 set dummy cc; ac_word=$2
2216 echo "$as_me:$LINENO: checking for $ac_word" >&5
2217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2218 if test "${ac_cv_prog_CC+set}" = set; then
2219 echo $ECHO_N "(cached) $ECHO_C" >&6
2221 if test -n "$CC"; then
2222 ac_cv_prog_CC="$CC" # Let the user override the test.
2225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2229 test -z "$as_dir" && as_dir=.
2230 for ac_exec_ext in '' $ac_executable_extensions; do
2231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2232 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2233 ac_prog_rejected=yes
2237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2243 if test $ac_prog_rejected = yes; then
2244 # We found a bogon in the path, so make sure we never use it.
2245 set dummy $ac_cv_prog_CC
2247 if test $# != 0; then
2248 # We chose a different compiler from the bogus one.
2249 # However, it has the same basename, so the bogon will be chosen
2250 # first if we set CC to just the basename; use the full file name.
2252 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2258 if test -n "$CC"; then
2259 echo "$as_me:$LINENO: result: $CC" >&5
2260 echo "${ECHO_T}$CC" >&6
2262 echo "$as_me:$LINENO: result: no" >&5
2263 echo "${ECHO_T}no" >&6
2267 if test -z "$CC"; then
2268 if test -n "$ac_tool_prefix"; then
2271 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2272 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2273 echo "$as_me:$LINENO: checking for $ac_word" >&5
2274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2275 if test "${ac_cv_prog_CC+set}" = set; then
2276 echo $ECHO_N "(cached) $ECHO_C" >&6
2278 if test -n "$CC"; then
2279 ac_cv_prog_CC="$CC" # Let the user override the test.
2281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2285 test -z "$as_dir" && as_dir=.
2286 for ac_exec_ext in '' $ac_executable_extensions; do
2287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2288 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2298 if test -n "$CC"; then
2299 echo "$as_me:$LINENO: result: $CC" >&5
2300 echo "${ECHO_T}$CC" >&6
2302 echo "$as_me:$LINENO: result: no" >&5
2303 echo "${ECHO_T}no" >&6
2306 test -n "$CC" && break
2309 if test -z "$CC"; then
2313 # Extract the first word of "$ac_prog", so it can be a program name with args.
2314 set dummy $ac_prog; ac_word=$2
2315 echo "$as_me:$LINENO: checking for $ac_word" >&5
2316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2317 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2318 echo $ECHO_N "(cached) $ECHO_C" >&6
2320 if test -n "$ac_ct_CC"; then
2321 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2327 test -z "$as_dir" && as_dir=.
2328 for ac_exec_ext in '' $ac_executable_extensions; do
2329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2330 ac_cv_prog_ac_ct_CC="$ac_prog"
2331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2339 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2340 if test -n "$ac_ct_CC"; then
2341 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2342 echo "${ECHO_T}$ac_ct_CC" >&6
2344 echo "$as_me:$LINENO: result: no" >&5
2345 echo "${ECHO_T}no" >&6
2348 test -n "$ac_ct_CC" && break
2357 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2358 See \`config.log' for more details." >&5
2359 echo "$as_me: error: no acceptable C compiler found in \$PATH
2360 See \`config.log' for more details." >&2;}
2361 { (exit 1); exit 1; }; }
2363 # Provide some information about the compiler.
2364 echo "$as_me:$LINENO:" \
2365 "checking for C compiler version" >&5
2366 ac_compiler=`set X $ac_compile; echo $2`
2367 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2368 (eval $ac_compiler --version </dev/null >&5) 2>&5
2370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371 (exit $ac_status); }
2372 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2373 (eval $ac_compiler -v </dev/null >&5) 2>&5
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); }
2377 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2378 (eval $ac_compiler -V </dev/null >&5) 2>&5
2380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2381 (exit $ac_status); }
2383 cat >conftest.$ac_ext <<_ACEOF
2386 cat confdefs.h >>conftest.$ac_ext
2387 cat >>conftest.$ac_ext <<_ACEOF
2388 /* end confdefs.h. */
2399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2400 (eval $ac_link) 2>&5
2402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403 (exit $ac_status); }; then
2409 if test x$gcc_no_link = xyes; then
2410 # Setting cross_compile will disable run tests; it will
2411 # also disable AC_CHECK_FILE but that's generally
2412 # correct if we can't link.
2416 cat >conftest.$ac_ext <<_ACEOF
2419 cat confdefs.h >>conftest.$ac_ext
2420 cat >>conftest.$ac_ext <<_ACEOF
2421 /* end confdefs.h. */
2431 ac_clean_files_save=$ac_clean_files
2432 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2433 # Try to create an executable without -o first, disregard a.out.
2434 # It will help us diagnose broken compilers, and finding out an intuition
2436 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2437 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2438 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2439 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2440 (eval $ac_link_default) 2>&5
2442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2443 (exit $ac_status); }; then
2444 # Find the output, starting from the most likely. This scheme is
2445 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2448 # Be careful to initialize this variable, since it used to be cached.
2449 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2451 # b.out is created by i960 compilers.
2452 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2454 test -f "$ac_file" || continue
2456 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2459 # This is the source file.
2462 # We found the default executable, but exeext='' is most
2466 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2467 # FIXME: I believe we export ac_cv_exeext for Libtool,
2468 # but it would be cool to find out if it's true. Does anybody
2469 # maintain Libtool? --akim.
2477 echo "$as_me: failed program was:" >&5
2478 sed 's/^/| /' conftest.$ac_ext >&5
2480 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2481 See \`config.log' for more details." >&5
2482 echo "$as_me: error: C compiler cannot create executables
2483 See \`config.log' for more details." >&2;}
2484 { (exit 77); exit 77; }; }
2487 ac_exeext=$ac_cv_exeext
2488 echo "$as_me:$LINENO: result: $ac_file" >&5
2489 echo "${ECHO_T}$ac_file" >&6
2491 # Check the compiler produces executables we can run. If not, either
2492 # the compiler is broken, or we cross compile.
2493 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2494 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2495 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2496 # If not cross compiling, check that we can run a simple program.
2497 if test "$cross_compiling" != yes; then
2498 if { ac_try='./$ac_file'
2499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503 (exit $ac_status); }; }; then
2506 if test "$cross_compiling" = maybe; then
2509 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2510 If you meant to cross compile, use \`--host'.
2511 See \`config.log' for more details." >&5
2512 echo "$as_me: error: cannot run C compiled programs.
2513 If you meant to cross compile, use \`--host'.
2514 See \`config.log' for more details." >&2;}
2515 { (exit 1); exit 1; }; }
2519 echo "$as_me:$LINENO: result: yes" >&5
2520 echo "${ECHO_T}yes" >&6
2522 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2523 ac_clean_files=$ac_clean_files_save
2524 # Check the compiler produces executables we can run. If not, either
2525 # the compiler is broken, or we cross compile.
2526 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2527 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2528 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2529 echo "${ECHO_T}$cross_compiling" >&6
2531 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2532 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2534 (eval $ac_link) 2>&5
2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537 (exit $ac_status); }; then
2538 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2539 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2540 # work properly (i.e., refer to `conftest.exe'), while it won't with
2542 for ac_file in conftest.exe conftest conftest.*; do
2543 test -f "$ac_file" || continue
2545 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2546 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2553 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2554 See \`config.log' for more details." >&5
2555 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2556 See \`config.log' for more details." >&2;}
2557 { (exit 1); exit 1; }; }
2560 rm -f conftest$ac_cv_exeext
2561 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2562 echo "${ECHO_T}$ac_cv_exeext" >&6
2564 rm -f conftest.$ac_ext
2565 EXEEXT=$ac_cv_exeext
2568 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2569 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2570 if test "${ac_cv_objext+set}" = set; then
2571 echo $ECHO_N "(cached) $ECHO_C" >&6
2573 cat >conftest.$ac_ext <<_ACEOF
2576 cat confdefs.h >>conftest.$ac_ext
2577 cat >>conftest.$ac_ext <<_ACEOF
2578 /* end confdefs.h. */
2588 rm -f conftest.o conftest.obj
2589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2590 (eval $ac_compile) 2>&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); }; then
2594 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2596 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2597 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2602 echo "$as_me: failed program was:" >&5
2603 sed 's/^/| /' conftest.$ac_ext >&5
2605 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2606 See \`config.log' for more details." >&5
2607 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2608 See \`config.log' for more details." >&2;}
2609 { (exit 1); exit 1; }; }
2612 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2614 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2615 echo "${ECHO_T}$ac_cv_objext" >&6
2616 OBJEXT=$ac_cv_objext
2618 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2619 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2620 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2621 echo $ECHO_N "(cached) $ECHO_C" >&6
2623 cat >conftest.$ac_ext <<_ACEOF
2626 cat confdefs.h >>conftest.$ac_ext
2627 cat >>conftest.$ac_ext <<_ACEOF
2628 /* end confdefs.h. */
2641 rm -f conftest.$ac_objext
2642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2643 (eval $ac_compile) 2>conftest.er1
2645 grep -v '^ *+' conftest.er1 >conftest.err
2647 cat conftest.err >&5
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); } &&
2650 { ac_try='test -z "$ac_c_werror_flag"
2651 || test ! -s conftest.err'
2652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656 (exit $ac_status); }; } &&
2657 { ac_try='test -s conftest.$ac_objext'
2658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); }; }; then
2665 echo "$as_me: failed program was:" >&5
2666 sed 's/^/| /' conftest.$ac_ext >&5
2670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2671 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2674 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2675 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2676 GCC=`test $ac_compiler_gnu = yes && echo yes`
2677 ac_test_CFLAGS=${CFLAGS+set}
2678 ac_save_CFLAGS=$CFLAGS
2680 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2681 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2682 if test "${ac_cv_prog_cc_g+set}" = set; then
2683 echo $ECHO_N "(cached) $ECHO_C" >&6
2685 cat >conftest.$ac_ext <<_ACEOF
2688 cat confdefs.h >>conftest.$ac_ext
2689 cat >>conftest.$ac_ext <<_ACEOF
2690 /* end confdefs.h. */
2700 rm -f conftest.$ac_objext
2701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2702 (eval $ac_compile) 2>conftest.er1
2704 grep -v '^ *+' conftest.er1 >conftest.err
2706 cat conftest.err >&5
2707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708 (exit $ac_status); } &&
2709 { ac_try='test -z "$ac_c_werror_flag"
2710 || test ! -s conftest.err'
2711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715 (exit $ac_status); }; } &&
2716 { ac_try='test -s conftest.$ac_objext'
2717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); }; }; then
2724 echo "$as_me: failed program was:" >&5
2725 sed 's/^/| /' conftest.$ac_ext >&5
2729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2731 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2732 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2733 if test "$ac_test_CFLAGS" = set; then
2734 CFLAGS=$ac_save_CFLAGS
2735 elif test $ac_cv_prog_cc_g = yes; then
2736 if test "$GCC" = yes; then
2742 if test "$GCC" = yes; then
2748 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2749 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2750 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2751 echo $ECHO_N "(cached) $ECHO_C" >&6
2753 ac_cv_prog_cc_stdc=no
2755 cat >conftest.$ac_ext <<_ACEOF
2758 cat confdefs.h >>conftest.$ac_ext
2759 cat >>conftest.$ac_ext <<_ACEOF
2760 /* end confdefs.h. */
2763 #include <sys/types.h>
2764 #include <sys/stat.h>
2765 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2766 struct buf { int x; };
2767 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2768 static char *e (p, i)
2774 static char *f (char * (*g) (char **, int), char **p, ...)
2779 s = g (p, va_arg (v,int));
2784 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2785 function prototypes and stuff, but not '\xHH' hex character constants.
2786 These don't provoke an error unfortunately, instead are silently treated
2787 as 'x'. The following induces an error, until -std1 is added to get
2788 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2789 array size at least. It's necessary to write '\x00'==0 to get something
2790 that's true only with -std1. */
2791 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2793 int test (int i, double x);
2794 struct s1 {int (*f) (int a);};
2795 struct s2 {int (*f) (double a);};
2796 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2802 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2807 # Don't try gcc -ansi; that turns off useful extensions and
2808 # breaks some systems' header files.
2809 # AIX -qlanglvl=ansi
2810 # Ultrix and OSF/1 -std1
2811 # HP-UX 10.20 and later -Ae
2812 # HP-UX older versions -Aa -D_HPUX_SOURCE
2813 # SVR4 -Xc -D__EXTENSIONS__
2814 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2816 CC="$ac_save_CC $ac_arg"
2817 rm -f conftest.$ac_objext
2818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2819 (eval $ac_compile) 2>conftest.er1
2821 grep -v '^ *+' conftest.er1 >conftest.err
2823 cat conftest.err >&5
2824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2825 (exit $ac_status); } &&
2826 { ac_try='test -z "$ac_c_werror_flag"
2827 || test ! -s conftest.err'
2828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); }; } &&
2833 { ac_try='test -s conftest.$ac_objext'
2834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); }; }; then
2839 ac_cv_prog_cc_stdc=$ac_arg
2842 echo "$as_me: failed program was:" >&5
2843 sed 's/^/| /' conftest.$ac_ext >&5
2846 rm -f conftest.err conftest.$ac_objext
2848 rm -f conftest.$ac_ext conftest.$ac_objext
2853 case "x$ac_cv_prog_cc_stdc" in
2855 echo "$as_me:$LINENO: result: none needed" >&5
2856 echo "${ECHO_T}none needed" >&6 ;;
2858 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2859 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2860 CC="$CC $ac_cv_prog_cc_stdc" ;;
2863 # Some people use a C++ compiler to compile C. Since we use `exit',
2864 # in C++ we need to declare it. In case someone uses the same compiler
2865 # for both compiling C and C++ we need to have the C++ compiler decide
2866 # the declaration of exit, since it's the most demanding environment.
2867 cat >conftest.$ac_ext <<_ACEOF
2872 rm -f conftest.$ac_objext
2873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2874 (eval $ac_compile) 2>conftest.er1
2876 grep -v '^ *+' conftest.er1 >conftest.err
2878 cat conftest.err >&5
2879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880 (exit $ac_status); } &&
2881 { ac_try='test -z "$ac_c_werror_flag"
2882 || test ! -s conftest.err'
2883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); }; } &&
2888 { ac_try='test -s conftest.$ac_objext'
2889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); }; }; then
2894 for ac_declaration in \
2896 'extern "C" void std::exit (int) throw (); using std::exit;' \
2897 'extern "C" void std::exit (int); using std::exit;' \
2898 'extern "C" void exit (int) throw ();' \
2899 'extern "C" void exit (int);' \
2902 cat >conftest.$ac_ext <<_ACEOF
2905 cat confdefs.h >>conftest.$ac_ext
2906 cat >>conftest.$ac_ext <<_ACEOF
2907 /* end confdefs.h. */
2918 rm -f conftest.$ac_objext
2919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2920 (eval $ac_compile) 2>conftest.er1
2922 grep -v '^ *+' conftest.er1 >conftest.err
2924 cat conftest.err >&5
2925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2926 (exit $ac_status); } &&
2927 { ac_try='test -z "$ac_c_werror_flag"
2928 || test ! -s conftest.err'
2929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); }; } &&
2934 { ac_try='test -s conftest.$ac_objext'
2935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); }; }; then
2942 echo "$as_me: failed program was:" >&5
2943 sed 's/^/| /' conftest.$ac_ext >&5
2947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2948 cat >conftest.$ac_ext <<_ACEOF
2951 cat confdefs.h >>conftest.$ac_ext
2952 cat >>conftest.$ac_ext <<_ACEOF
2953 /* end confdefs.h. */
2963 rm -f conftest.$ac_objext
2964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2965 (eval $ac_compile) 2>conftest.er1
2967 grep -v '^ *+' conftest.er1 >conftest.err
2969 cat conftest.err >&5
2970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971 (exit $ac_status); } &&
2972 { ac_try='test -z "$ac_c_werror_flag"
2973 || test ! -s conftest.err'
2974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); }; } &&
2979 { ac_try='test -s conftest.$ac_objext'
2980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2984 (exit $ac_status); }; }; then
2987 echo "$as_me: failed program was:" >&5
2988 sed 's/^/| /' conftest.$ac_ext >&5
2991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2994 if test -n "$ac_declaration"; then
2995 echo '#ifdef __cplusplus' >>confdefs.h
2996 echo $ac_declaration >>confdefs.h
2997 echo '#endif' >>confdefs.h
3001 echo "$as_me: failed program was:" >&5
3002 sed 's/^/| /' conftest.$ac_ext >&5
3005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3007 ac_cpp='$CPP $CPPFLAGS'
3008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3014 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
3015 if test "x$GCC" = "xyes"; then
3016 AM_FCFLAGS="-I . -Wall -fno-repack-arrays -fno-underscoring"
3017 ## We like to use C99 routines when available. This makes sure that
3018 ## __STDC_VERSION__ is set such that libc includes make them available.
3019 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
3020 ## Compile the following tests with the same system header contents
3021 ## that we'll encounter when compiling our own source files.
3022 CFLAGS="-std=gnu99 $CFLAGS"
3027 # Find other programs we need.
3028 if test -n "$ac_tool_prefix"; then
3029 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3030 set dummy ${ac_tool_prefix}as; ac_word=$2
3031 echo "$as_me:$LINENO: checking for $ac_word" >&5
3032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3033 if test "${ac_cv_prog_AS+set}" = set; then
3034 echo $ECHO_N "(cached) $ECHO_C" >&6
3036 if test -n "$AS"; then
3037 ac_cv_prog_AS="$AS" # Let the user override the test.
3039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3043 test -z "$as_dir" && as_dir=.
3044 for ac_exec_ext in '' $ac_executable_extensions; do
3045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3046 ac_cv_prog_AS="${ac_tool_prefix}as"
3047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3056 if test -n "$AS"; then
3057 echo "$as_me:$LINENO: result: $AS" >&5
3058 echo "${ECHO_T}$AS" >&6
3060 echo "$as_me:$LINENO: result: no" >&5
3061 echo "${ECHO_T}no" >&6
3065 if test -z "$ac_cv_prog_AS"; then
3067 # Extract the first word of "as", so it can be a program name with args.
3068 set dummy as; ac_word=$2
3069 echo "$as_me:$LINENO: checking for $ac_word" >&5
3070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3071 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3072 echo $ECHO_N "(cached) $ECHO_C" >&6
3074 if test -n "$ac_ct_AS"; then
3075 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3081 test -z "$as_dir" && as_dir=.
3082 for ac_exec_ext in '' $ac_executable_extensions; do
3083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3084 ac_cv_prog_ac_ct_AS="as"
3085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3093 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3094 if test -n "$ac_ct_AS"; then
3095 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3096 echo "${ECHO_T}$ac_ct_AS" >&6
3098 echo "$as_me:$LINENO: result: no" >&5
3099 echo "${ECHO_T}no" >&6
3107 if test -n "$ac_tool_prefix"; then
3108 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3109 set dummy ${ac_tool_prefix}ar; ac_word=$2
3110 echo "$as_me:$LINENO: checking for $ac_word" >&5
3111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3112 if test "${ac_cv_prog_AR+set}" = set; then
3113 echo $ECHO_N "(cached) $ECHO_C" >&6
3115 if test -n "$AR"; then
3116 ac_cv_prog_AR="$AR" # Let the user override the test.
3118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3122 test -z "$as_dir" && as_dir=.
3123 for ac_exec_ext in '' $ac_executable_extensions; do
3124 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3125 ac_cv_prog_AR="${ac_tool_prefix}ar"
3126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3135 if test -n "$AR"; then
3136 echo "$as_me:$LINENO: result: $AR" >&5
3137 echo "${ECHO_T}$AR" >&6
3139 echo "$as_me:$LINENO: result: no" >&5
3140 echo "${ECHO_T}no" >&6
3144 if test -z "$ac_cv_prog_AR"; then
3146 # Extract the first word of "ar", so it can be a program name with args.
3147 set dummy ar; ac_word=$2
3148 echo "$as_me:$LINENO: checking for $ac_word" >&5
3149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3150 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3151 echo $ECHO_N "(cached) $ECHO_C" >&6
3153 if test -n "$ac_ct_AR"; then
3154 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3160 test -z "$as_dir" && as_dir=.
3161 for ac_exec_ext in '' $ac_executable_extensions; do
3162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3163 ac_cv_prog_ac_ct_AR="ar"
3164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3172 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3173 if test -n "$ac_ct_AR"; then
3174 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3175 echo "${ECHO_T}$ac_ct_AR" >&6
3177 echo "$as_me:$LINENO: result: no" >&5
3178 echo "${ECHO_T}no" >&6
3186 if test -n "$ac_tool_prefix"; then
3187 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3188 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3189 echo "$as_me:$LINENO: checking for $ac_word" >&5
3190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3191 if test "${ac_cv_prog_RANLIB+set}" = set; then
3192 echo $ECHO_N "(cached) $ECHO_C" >&6
3194 if test -n "$RANLIB"; then
3195 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3201 test -z "$as_dir" && as_dir=.
3202 for ac_exec_ext in '' $ac_executable_extensions; do
3203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3204 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3213 RANLIB=$ac_cv_prog_RANLIB
3214 if test -n "$RANLIB"; then
3215 echo "$as_me:$LINENO: result: $RANLIB" >&5
3216 echo "${ECHO_T}$RANLIB" >&6
3218 echo "$as_me:$LINENO: result: no" >&5
3219 echo "${ECHO_T}no" >&6
3223 if test -z "$ac_cv_prog_RANLIB"; then
3224 ac_ct_RANLIB=$RANLIB
3225 # Extract the first word of "ranlib", so it can be a program name with args.
3226 set dummy ranlib; ac_word=$2
3227 echo "$as_me:$LINENO: checking for $ac_word" >&5
3228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3229 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3230 echo $ECHO_N "(cached) $ECHO_C" >&6
3232 if test -n "$ac_ct_RANLIB"; then
3233 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3239 test -z "$as_dir" && as_dir=.
3240 for ac_exec_ext in '' $ac_executable_extensions; do
3241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3242 ac_cv_prog_ac_ct_RANLIB="ranlib"
3243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3249 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3252 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3253 if test -n "$ac_ct_RANLIB"; then
3254 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3255 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3257 echo "$as_me:$LINENO: result: no" >&5
3258 echo "${ECHO_T}no" >&6
3261 RANLIB=$ac_ct_RANLIB
3263 RANLIB="$ac_cv_prog_RANLIB"
3266 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3267 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3268 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3269 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3270 echo $ECHO_N "(cached) $ECHO_C" >&6
3272 cat >conftest.make <<\_ACEOF
3274 @echo 'ac_maketemp="$(MAKE)"'
3276 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3277 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3278 if test -n "$ac_maketemp"; then
3279 eval ac_cv_prog_make_${ac_make}_set=yes
3281 eval ac_cv_prog_make_${ac_make}_set=no
3285 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3286 echo "$as_me:$LINENO: result: yes" >&5
3287 echo "${ECHO_T}yes" >&6
3290 echo "$as_me:$LINENO: result: no" >&5
3291 echo "${ECHO_T}no" >&6
3292 SET_MAKE="MAKE=${MAKE-make}"
3295 # Find a good install program. We prefer a C program (faster),
3296 # so one script is as good as another. But avoid the broken or
3297 # incompatible versions:
3298 # SysV /etc/install, /usr/sbin/install
3299 # SunOS /usr/etc/install
3300 # IRIX /sbin/install
3302 # AmigaOS /C/install, which installs bootblocks on floppy discs
3303 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3304 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3305 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3306 # OS/2's system install, which has a completely different semantic
3307 # ./install, which can be erroneously created by make from ./install.sh.
3308 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3309 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3310 if test -z "$INSTALL"; then
3311 if test "${ac_cv_path_install+set}" = set; then
3312 echo $ECHO_N "(cached) $ECHO_C" >&6
3314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3318 test -z "$as_dir" && as_dir=.
3319 # Account for people who put trailing slashes in PATH elements.
3321 ./ | .// | /cC/* | \
3322 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3323 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3326 # OSF1 and SCO ODT 3.0 have their own names for install.
3327 # Don't use installbsd from OSF since it installs stuff as root
3329 for ac_prog in ginstall scoinst install; do
3330 for ac_exec_ext in '' $ac_executable_extensions; do
3331 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3332 if test $ac_prog = install &&
3333 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3334 # AIX install. It has an incompatible calling convention.
3336 elif test $ac_prog = install &&
3337 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3338 # program-specific install script used by HP pwplus--don't use.
3341 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3353 if test "${ac_cv_path_install+set}" = set; then
3354 INSTALL=$ac_cv_path_install
3356 # As a last resort, use the slow shell script. We don't cache a
3357 # path for INSTALL within a source directory, because that will
3358 # break other packages using the cache if that directory is
3359 # removed, or if the path is relative.
3360 INSTALL=$ac_install_sh
3363 echo "$as_me:$LINENO: result: $INSTALL" >&5
3364 echo "${ECHO_T}$INSTALL" >&6
3366 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3367 # It thinks the first close brace ends the variable substitution.
3368 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3370 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3372 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3376 #AC_MSG_NOTICE([====== Starting libtool configuration])
3378 # Check whether --enable-shared or --disable-shared was given.
3379 if test "${enable_shared+set}" = set; then
3380 enableval="$enable_shared"
3381 p=${PACKAGE-default}
3383 yes) enable_shared=yes ;;
3384 no) enable_shared=no ;;
3387 # Look at the argument we got. We use all the common list separators.
3388 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3389 for pkg in $enableval; do
3390 if test "X$pkg" = "X$p"; then
3400 # Check whether --enable-static or --disable-static was given.
3401 if test "${enable_static+set}" = set; then
3402 enableval="$enable_static"
3403 p=${PACKAGE-default}
3405 yes) enable_static=yes ;;
3406 no) enable_static=no ;;
3409 # Look at the argument we got. We use all the common list separators.
3410 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3411 for pkg in $enableval; do
3412 if test "X$pkg" = "X$p"; then
3422 # Check whether --enable-fast-install or --disable-fast-install was given.
3423 if test "${enable_fast_install+set}" = set; then
3424 enableval="$enable_fast_install"
3425 p=${PACKAGE-default}
3427 yes) enable_fast_install=yes ;;
3428 no) enable_fast_install=no ;;
3430 enable_fast_install=no
3431 # Look at the argument we got. We use all the common list separators.
3432 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3433 for pkg in $enableval; do
3434 if test "X$pkg" = "X$p"; then
3435 enable_fast_install=yes
3442 enable_fast_install=yes
3445 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3446 if test "${with_gnu_ld+set}" = set; then
3447 withval="$with_gnu_ld"
3448 test "$withval" = no || with_gnu_ld=yes
3453 if test "$GCC" = yes; then
3454 # Check if gcc -print-prog-name=ld gives a path.
3455 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3456 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3459 # gcc leaves a trailing carriage return which upsets mingw
3460 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3462 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3465 # Accept absolute paths.
3466 [\\/]* | [A-Za-z]:[\\/]*)
3467 re_direlt='/[^/][^/]*/\.\./'
3468 # Canonicalize the path of ld
3469 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3470 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3471 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3473 test -z "$LD" && LD="$ac_prog"
3476 # If it fails, then pretend we aren't using GCC.
3480 # If it is relative, then search for the first ld in PATH.
3484 elif test "$with_gnu_ld" = yes; then
3485 echo "$as_me:$LINENO: checking for GNU ld" >&5
3486 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3488 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3489 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3491 if test "${lt_cv_path_LD+set}" = set; then
3492 echo $ECHO_N "(cached) $ECHO_C" >&6
3494 if test -z "$LD"; then
3495 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3496 for ac_dir in $PATH; do
3497 test -z "$ac_dir" && ac_dir=.
3498 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3499 lt_cv_path_LD="$ac_dir/$ac_prog"
3500 # Check to see if the program is GNU ld. I'd rather use --version,
3501 # but apparently some GNU ld's only accept -v.
3502 # Break only if it was the GNU/non-GNU ld that we prefer.
3503 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3504 test "$with_gnu_ld" != no && break
3506 test "$with_gnu_ld" != yes && break
3512 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3517 if test -n "$LD"; then
3518 echo "$as_me:$LINENO: result: $LD" >&5
3519 echo "${ECHO_T}$LD" >&6
3521 echo "$as_me:$LINENO: result: no" >&5
3522 echo "${ECHO_T}no" >&6
3524 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3525 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3526 { (exit 1); exit 1; }; }
3527 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3528 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3529 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3530 echo $ECHO_N "(cached) $ECHO_C" >&6
3532 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3533 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3534 lt_cv_prog_gnu_ld=yes
3536 lt_cv_prog_gnu_ld=no
3539 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3540 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3541 with_gnu_ld=$lt_cv_prog_gnu_ld
3544 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3545 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3546 if test "${lt_cv_ld_reload_flag+set}" = set; then
3547 echo $ECHO_N "(cached) $ECHO_C" >&6
3549 lt_cv_ld_reload_flag='-r'
3551 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3552 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3553 reload_flag=$lt_cv_ld_reload_flag
3554 test -n "$reload_flag" && reload_flag=" $reload_flag"
3556 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3557 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3558 if test "${lt_cv_path_NM+set}" = set; then
3559 echo $ECHO_N "(cached) $ECHO_C" >&6
3561 if test -n "$NM"; then
3562 # Let the user override the test.
3565 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3566 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3567 test -z "$ac_dir" && ac_dir=.
3568 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3569 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3570 # Check to see if the nm accepts a BSD-compat flag.
3571 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3572 # nm: unknown option "B" ignored
3573 # Tru64's nm complains that /dev/null is an invalid object file
3574 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3575 lt_cv_path_NM="$tmp_nm -B"
3577 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3578 lt_cv_path_NM="$tmp_nm -p"
3581 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3582 continue # so that we can try to find one that supports BSD flags
3587 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3592 echo "$as_me:$LINENO: result: $NM" >&5
3593 echo "${ECHO_T}$NM" >&6
3595 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3596 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3598 if test "$LN_S" = "ln -s"; then
3599 echo "$as_me:$LINENO: result: yes" >&5
3600 echo "${ECHO_T}yes" >&6
3602 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3603 echo "${ECHO_T}no, using $LN_S" >&6
3606 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3607 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3608 if test "${lt_cv_deplibs_check_method+set}" = set; then
3609 echo $ECHO_N "(cached) $ECHO_C" >&6
3611 lt_cv_file_magic_cmd='$MAGIC_CMD'
3612 lt_cv_file_magic_test_file=
3613 lt_cv_deplibs_check_method='unknown'
3614 # Need to set the preceding variable on all platforms that support
3615 # interlibrary dependencies.
3616 # 'none' -- dependencies not supported.
3617 # `unknown' -- same as none, but documents that we really don't know.
3618 # 'pass_all' -- all dependencies passed with no checks.
3619 # 'test_compile' -- check by making test program.
3620 # 'file_magic [regex]' -- check by looking for files in library path
3621 # which responds to the $file_magic_cmd with a given egrep regex.
3622 # If you have `file' or equivalent on your system and you're not sure
3623 # whether `pass_all' will *always* work, you probably want this one.
3627 lt_cv_deplibs_check_method=pass_all
3631 lt_cv_deplibs_check_method=pass_all
3635 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3636 lt_cv_file_magic_cmd='/usr/bin/file -L'
3637 lt_cv_file_magic_test_file=/shlib/libc.so
3640 cygwin* | mingw* |pw32*)
3641 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3642 lt_cv_file_magic_cmd='$OBJDUMP -f'
3645 darwin* | rhapsody*)
3646 # this will be overwritten by pass_all, but leave it in just in case
3647 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3648 lt_cv_file_magic_cmd='/usr/bin/file -L'
3650 rhapsody* | darwin1.012)
3651 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3654 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3657 lt_cv_deplibs_check_method=pass_all
3660 freebsd* | kfreebsd*-gnu)
3661 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3664 # Not sure whether the presence of OpenBSD here was a mistake.
3665 # Let's accept both of them until this is cleared up.
3666 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3667 lt_cv_file_magic_cmd=/usr/bin/file
3668 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3672 lt_cv_deplibs_check_method=pass_all
3677 lt_cv_deplibs_check_method=pass_all
3683 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3684 lt_cv_file_magic_cmd=/usr/bin/file
3685 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3688 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3689 lt_cv_file_magic_cmd=/usr/bin/file
3690 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3698 # this will be overridden with pass_all, but let us keep it just in case
3699 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3703 *-32|*"-32 ") libmagic=32-bit;;
3704 *-n32|*"-n32 ") libmagic=N32;;
3705 *-64|*"-64 ") libmagic=64-bit;;
3706 *) libmagic=never-match;;
3708 # this will be overridden with pass_all, but let us keep it just in case
3709 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3712 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3713 lt_cv_deplibs_check_method=pass_all
3716 # This must be Linux ELF.
3718 lt_cv_deplibs_check_method=pass_all
3721 netbsd* | knetbsd*-gnu)
3722 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3723 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3725 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3730 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3731 lt_cv_file_magic_cmd=/usr/bin/file
3732 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3735 osf3* | osf4* | osf5*)
3736 # this will be overridden with pass_all, but let us keep it just in case
3737 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3738 lt_cv_file_magic_test_file=/shlib/libc.so
3739 lt_cv_deplibs_check_method=pass_all
3743 lt_cv_deplibs_check_method=pass_all
3747 lt_cv_deplibs_check_method=pass_all
3748 lt_cv_file_magic_test_file=/lib/libc.so
3751 sysv5uw[78]* | sysv4*uw2*)
3752 lt_cv_deplibs_check_method=pass_all
3755 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3756 case $host_vendor in
3758 lt_cv_deplibs_check_method=pass_all
3761 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]'
3762 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3769 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3770 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3771 file_magic_cmd=$lt_cv_file_magic_cmd
3772 deplibs_check_method=$lt_cv_deplibs_check_method
3778 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3780 # find the maximum length of command line arguments
3781 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3782 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3783 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3784 echo $ECHO_N "(cached) $ECHO_C" >&6
3791 # On DJGPP, this test can blow up pretty badly due to problems in libc
3792 # (any single argument exceeding 2000 bytes causes a buffer overrun
3793 # during glob expansion). Even if it were fixed, the result of this
3794 # check would be larger than it should be.
3795 lt_cv_sys_max_cmd_len=12288; # 12K is about right
3799 # On Win9x/ME, this test blows up -- it succeeds, but takes
3800 # about 5 minutes as the teststring grows exponentially.
3801 # Worse, since 9x/ME are not pre-emptively multitasking,
3802 # you end up with a "frozen" computer, even though with patience
3803 # the test eventually succeeds (with a max line length of 256k).
3804 # Instead, let's just punt: use the minimum linelength reported by
3805 # all of the supported platforms: 8192 (on NT/2K/XP).
3806 lt_cv_sys_max_cmd_len=8192;
3810 # On AmigaOS with pdksh, this test takes hours, literally.
3811 # So we just punt and use a minimum line length of 8192.
3812 lt_cv_sys_max_cmd_len=8192;
3815 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3816 # This has been around since 386BSD, at least. Likely further.
3817 if test -x /sbin/sysctl; then
3818 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3819 elif test -x /usr/sbin/sysctl; then
3820 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3822 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
3824 # And add a safety zone
3825 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3826 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3832 if test -n "$lt_cv_sys_max_cmd_len" ; then
3833 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3834 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3836 echo "$as_me:$LINENO: result: none" >&5
3837 echo "${ECHO_T}none" >&6
3841 # Only perform the check for file, if the check method requires it
3842 case $deplibs_check_method in
3844 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3845 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3846 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3847 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3848 echo $ECHO_N "(cached) $ECHO_C" >&6
3852 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3855 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3858 ac_save_MAGIC_CMD="$MAGIC_CMD"
3859 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3860 ac_dummy="/usr/bin:$PATH"
3861 for ac_dir in $ac_dummy; do
3862 test -z "$ac_dir" && ac_dir=.
3863 if test -f $ac_dir/${ac_tool_prefix}file; then
3864 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3865 if test -n "$file_magic_test_file"; then
3866 case $deplibs_check_method in
3868 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3869 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3870 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3871 egrep "$file_magic_regex" > /dev/null; then
3876 *** Warning: the command libtool uses to detect shared libraries,
3877 *** $file_magic_cmd, produces output that libtool cannot recognize.
3878 *** The result is that libtool may fail to recognize shared libraries
3879 *** as such. This will affect the creation of libtool libraries that
3880 *** depend on shared libraries, but programs linked with such libtool
3881 *** libraries will work regardless of this problem. Nevertheless, you
3882 *** may want to report the problem to your system manager and/or to
3883 *** bug-libtool@gnu.org
3893 MAGIC_CMD="$ac_save_MAGIC_CMD"
3898 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3899 if test -n "$MAGIC_CMD"; then
3900 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3901 echo "${ECHO_T}$MAGIC_CMD" >&6
3903 echo "$as_me:$LINENO: result: no" >&5
3904 echo "${ECHO_T}no" >&6
3907 if test -z "$lt_cv_path_MAGIC_CMD"; then
3908 if test -n "$ac_tool_prefix"; then
3909 echo "$as_me:$LINENO: checking for file" >&5
3910 echo $ECHO_N "checking for file... $ECHO_C" >&6
3911 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3912 echo $ECHO_N "(cached) $ECHO_C" >&6
3916 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3919 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3922 ac_save_MAGIC_CMD="$MAGIC_CMD"
3923 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3924 ac_dummy="/usr/bin:$PATH"
3925 for ac_dir in $ac_dummy; do
3926 test -z "$ac_dir" && ac_dir=.
3927 if test -f $ac_dir/file; then
3928 lt_cv_path_MAGIC_CMD="$ac_dir/file"
3929 if test -n "$file_magic_test_file"; then
3930 case $deplibs_check_method in
3932 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3933 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3934 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3935 egrep "$file_magic_regex" > /dev/null; then
3940 *** Warning: the command libtool uses to detect shared libraries,
3941 *** $file_magic_cmd, produces output that libtool cannot recognize.
3942 *** The result is that libtool may fail to recognize shared libraries
3943 *** as such. This will affect the creation of libtool libraries that
3944 *** depend on shared libraries, but programs linked with such libtool
3945 *** libraries will work regardless of this problem. Nevertheless, you
3946 *** may want to report the problem to your system manager and/or to
3947 *** bug-libtool@gnu.org
3957 MAGIC_CMD="$ac_save_MAGIC_CMD"
3962 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3963 if test -n "$MAGIC_CMD"; then
3964 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3965 echo "${ECHO_T}$MAGIC_CMD" >&6
3967 echo "$as_me:$LINENO: result: no" >&5
3968 echo "${ECHO_T}no" >&6
3980 if test -n "$ac_tool_prefix"; then
3981 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3982 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3983 echo "$as_me:$LINENO: checking for $ac_word" >&5
3984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3985 if test "${ac_cv_prog_RANLIB+set}" = set; then
3986 echo $ECHO_N "(cached) $ECHO_C" >&6
3988 if test -n "$RANLIB"; then
3989 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3995 test -z "$as_dir" && as_dir=.
3996 for ac_exec_ext in '' $ac_executable_extensions; do
3997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3998 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4007 RANLIB=$ac_cv_prog_RANLIB
4008 if test -n "$RANLIB"; then
4009 echo "$as_me:$LINENO: result: $RANLIB" >&5
4010 echo "${ECHO_T}$RANLIB" >&6
4012 echo "$as_me:$LINENO: result: no" >&5
4013 echo "${ECHO_T}no" >&6
4017 if test -z "$ac_cv_prog_RANLIB"; then
4018 ac_ct_RANLIB=$RANLIB
4019 # Extract the first word of "ranlib", so it can be a program name with args.
4020 set dummy ranlib; ac_word=$2
4021 echo "$as_me:$LINENO: checking for $ac_word" >&5
4022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4023 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4024 echo $ECHO_N "(cached) $ECHO_C" >&6
4026 if test -n "$ac_ct_RANLIB"; then
4027 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4033 test -z "$as_dir" && as_dir=.
4034 for ac_exec_ext in '' $ac_executable_extensions; do
4035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4036 ac_cv_prog_ac_ct_RANLIB="ranlib"
4037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4043 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4046 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4047 if test -n "$ac_ct_RANLIB"; then
4048 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4049 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4051 echo "$as_me:$LINENO: result: no" >&5
4052 echo "${ECHO_T}no" >&6
4055 RANLIB=$ac_ct_RANLIB
4057 RANLIB="$ac_cv_prog_RANLIB"
4060 if test -n "$ac_tool_prefix"; then
4061 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4062 set dummy ${ac_tool_prefix}strip; ac_word=$2
4063 echo "$as_me:$LINENO: checking for $ac_word" >&5
4064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4065 if test "${ac_cv_prog_STRIP+set}" = set; then
4066 echo $ECHO_N "(cached) $ECHO_C" >&6
4068 if test -n "$STRIP"; then
4069 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4075 test -z "$as_dir" && as_dir=.
4076 for ac_exec_ext in '' $ac_executable_extensions; do
4077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4078 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4087 STRIP=$ac_cv_prog_STRIP
4088 if test -n "$STRIP"; then
4089 echo "$as_me:$LINENO: result: $STRIP" >&5
4090 echo "${ECHO_T}$STRIP" >&6
4092 echo "$as_me:$LINENO: result: no" >&5
4093 echo "${ECHO_T}no" >&6
4097 if test -z "$ac_cv_prog_STRIP"; then
4099 # Extract the first word of "strip", so it can be a program name with args.
4100 set dummy strip; ac_word=$2
4101 echo "$as_me:$LINENO: checking for $ac_word" >&5
4102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4103 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4104 echo $ECHO_N "(cached) $ECHO_C" >&6
4106 if test -n "$ac_ct_STRIP"; then
4107 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4113 test -z "$as_dir" && as_dir=.
4114 for ac_exec_ext in '' $ac_executable_extensions; do
4115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4116 ac_cv_prog_ac_ct_STRIP="strip"
4117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4123 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4126 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4127 if test -n "$ac_ct_STRIP"; then
4128 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4129 echo "${ECHO_T}$ac_ct_STRIP" >&6
4131 echo "$as_me:$LINENO: result: no" >&5
4132 echo "${ECHO_T}no" >&6
4137 STRIP="$ac_cv_prog_STRIP"
4141 # Check for any special flags to pass to ltconfig.
4142 libtool_flags="--cache-file=$cache_file"
4143 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4144 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4145 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4146 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4147 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4150 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4151 if test "${enable_libtool_lock+set}" = set; then
4152 enableval="$enable_libtool_lock"
4155 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4156 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4159 # Check whether --with-pic or --without-pic was given.
4160 if test "${with_pic+set}" = set; then
4166 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4167 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4169 # Some flags need to be propagated to the compiler or linker for good
4173 # Find out which ABI we are using.
4174 echo '#line 4174 "configure"' > conftest.$ac_ext
4175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4176 (eval $ac_compile) 2>&5
4178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179 (exit $ac_status); }; then
4180 if test "$lt_cv_prog_gnu_ld" = yes; then
4181 case `/usr/bin/file conftest.$ac_objext` in
4183 LD="${LD-ld} -melf32bsmip"
4186 LD="${LD-ld} -melf32bmipn32"
4189 LD="${LD-ld} -melf64bmip"
4193 case `/usr/bin/file conftest.$ac_objext` in
4210 # Find out which ABI we are using.
4211 echo 'int i;' > conftest.$ac_ext
4212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4213 (eval $ac_compile) 2>&5
4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); }; then
4217 case "`/usr/bin/file conftest.o`" in
4229 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4230 # Find out which ABI we are using.
4231 echo 'int i;' > conftest.$ac_ext
4232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4233 (eval $ac_compile) 2>&5
4235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236 (exit $ac_status); }; then
4237 case "`/usr/bin/file conftest.o`" in
4241 LD="${LD-ld} -m elf_i386"
4243 ppc64-*linux*|powerpc64-*linux*)
4244 LD="${LD-ld} -m elf32ppclinux"
4247 LD="${LD-ld} -m elf_s390"
4250 LD="${LD-ld} -m elf32_sparc"
4257 LD="${LD-ld} -m elf_x86_64"
4259 ppc*-*linux*|powerpc*-*linux*)
4260 LD="${LD-ld} -m elf64ppc"
4263 LD="${LD-ld} -m elf64_s390"
4266 LD="${LD-ld} -m elf64_sparc"
4276 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4277 SAVE_CFLAGS="$CFLAGS"
4278 CFLAGS="$CFLAGS -belf"
4279 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4280 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4281 if test "${lt_cv_cc_needs_belf+set}" = set; then
4282 echo $ECHO_N "(cached) $ECHO_C" >&6
4287 ac_cpp='$CPP $CPPFLAGS'
4288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4292 if test x$gcc_no_link = xyes; then
4293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4295 { (exit 1); exit 1; }; }
4297 cat >conftest.$ac_ext <<_ACEOF
4300 cat confdefs.h >>conftest.$ac_ext
4301 cat >>conftest.$ac_ext <<_ACEOF
4302 /* end confdefs.h. */
4312 rm -f conftest.$ac_objext conftest$ac_exeext
4313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4314 (eval $ac_link) 2>conftest.er1
4316 grep -v '^ *+' conftest.er1 >conftest.err
4318 cat conftest.err >&5
4319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4320 (exit $ac_status); } &&
4321 { ac_try='test -z "$ac_c_werror_flag"
4322 || test ! -s conftest.err'
4323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4327 (exit $ac_status); }; } &&
4328 { ac_try='test -s conftest$ac_exeext'
4329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4333 (exit $ac_status); }; }; then
4334 lt_cv_cc_needs_belf=yes
4336 echo "$as_me: failed program was:" >&5
4337 sed 's/^/| /' conftest.$ac_ext >&5
4339 lt_cv_cc_needs_belf=no
4341 rm -f conftest.err conftest.$ac_objext \
4342 conftest$ac_exeext conftest.$ac_ext
4344 ac_cpp='$CPP $CPPFLAGS'
4345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4350 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4351 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4352 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4353 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4354 CFLAGS="$SAVE_CFLAGS"
4362 # Save cache, so that ltconfig can load it
4363 cat >confcache <<\_ACEOF
4364 # This file is a shell script that caches the results of configure
4365 # tests run on this system so they can be shared between configure
4366 # scripts and configure runs, see configure's option --config-cache.
4367 # It is not useful on other systems. If it contains results you don't
4368 # want to keep, you may remove or edit it.
4370 # config.status only pays attention to the cache file if you give it
4371 # the --recheck option to rerun configure.
4373 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4374 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4379 # The following way of writing the cache mishandles newlines in values,
4380 # but we know of no workaround that is simple, portable, and efficient.
4381 # So, don't put newlines in cache variables' values.
4382 # Ultrix sh set writes to stderr and can't be redirected directly,
4383 # and sets the high bit in the cache file unless we assign to the vars.
4386 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4388 # `set' does not quote correctly, so add quotes (double-quote
4389 # substitution turns \\\\ into \\, and sed turns \\ into \).
4392 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4395 # `set' quotes correctly as required by POSIX, so do not add quotes.
4397 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4404 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4406 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4408 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4409 if test -w $cache_file; then
4410 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4411 cat confcache >$cache_file
4413 echo "not updating unwritable cache $cache_file"
4418 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4419 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4420 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4421 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4422 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4423 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4424 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4425 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4426 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4427 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4428 echo "$as_me: error: libtool configure failed" >&2;}
4429 { (exit 1); exit 1; }; }
4431 # Reload cache, that may have been modified by ltconfig
4432 if test -r "$cache_file"; then
4433 # Some versions of bash will fail to source /dev/null (special
4434 # files actually), so we avoid doing that.
4435 if test -f "$cache_file"; then
4436 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4437 echo "$as_me: loading cache $cache_file" >&6;}
4439 [\\/]* | ?:[\\/]* ) . $cache_file;;
4440 *) . ./$cache_file;;
4444 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4445 echo "$as_me: creating cache $cache_file" >&6;}
4450 # This can be used to rebuild libtool when needed
4451 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4453 # Always use our own libtool.
4454 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4456 # Redirect the config.log output again, so that the ltconfig log is not
4457 # clobbered by the next message.
4458 exec 5>>./config.log
4467 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4469 # We need gfortran to compile parts of the library
4470 #AC_PROG_FC(gfortran)
4472 ac_ext=${FC_SRCEXT-f}
4473 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4474 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4475 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4476 if test -n "$ac_tool_prefix"; then
4477 for ac_prog in gfortran
4479 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4480 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4481 echo "$as_me:$LINENO: checking for $ac_word" >&5
4482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4483 if test "${ac_cv_prog_FC+set}" = set; then
4484 echo $ECHO_N "(cached) $ECHO_C" >&6
4486 if test -n "$FC"; then
4487 ac_cv_prog_FC="$FC" # Let the user override the test.
4489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4493 test -z "$as_dir" && as_dir=.
4494 for ac_exec_ext in '' $ac_executable_extensions; do
4495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4496 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4506 if test -n "$FC"; then
4507 echo "$as_me:$LINENO: result: $FC" >&5
4508 echo "${ECHO_T}$FC" >&6
4510 echo "$as_me:$LINENO: result: no" >&5
4511 echo "${ECHO_T}no" >&6
4514 test -n "$FC" && break
4517 if test -z "$FC"; then
4519 for ac_prog in gfortran
4521 # Extract the first word of "$ac_prog", so it can be a program name with args.
4522 set dummy $ac_prog; ac_word=$2
4523 echo "$as_me:$LINENO: checking for $ac_word" >&5
4524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4525 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4526 echo $ECHO_N "(cached) $ECHO_C" >&6
4528 if test -n "$ac_ct_FC"; then
4529 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4535 test -z "$as_dir" && as_dir=.
4536 for ac_exec_ext in '' $ac_executable_extensions; do
4537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4538 ac_cv_prog_ac_ct_FC="$ac_prog"
4539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4547 ac_ct_FC=$ac_cv_prog_ac_ct_FC
4548 if test -n "$ac_ct_FC"; then
4549 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4550 echo "${ECHO_T}$ac_ct_FC" >&6
4552 echo "$as_me:$LINENO: result: no" >&5
4553 echo "${ECHO_T}no" >&6
4556 test -n "$ac_ct_FC" && break
4563 # Provide some information about the compiler.
4564 echo "$as_me:4564:" \
4565 "checking for Fortran compiler version" >&5
4566 ac_compiler=`set X $ac_compile; echo $2`
4567 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4568 (eval $ac_compiler --version </dev/null >&5) 2>&5
4570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4571 (exit $ac_status); }
4572 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4573 (eval $ac_compiler -v </dev/null >&5) 2>&5
4575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4576 (exit $ac_status); }
4577 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4578 (eval $ac_compiler -V </dev/null >&5) 2>&5
4580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581 (exit $ac_status); }
4584 # If we don't use `.F' as extension, the preprocessor is not run on the
4585 # input file. (Note that this only needs to work for GNU compilers.)
4588 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4589 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4590 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4591 echo $ECHO_N "(cached) $ECHO_C" >&6
4593 cat >conftest.$ac_ext <<_ACEOF
4601 rm -f conftest.$ac_objext
4602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4603 (eval $ac_compile) 2>conftest.er1
4605 grep -v '^ *+' conftest.er1 >conftest.err
4607 cat conftest.err >&5
4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609 (exit $ac_status); } &&
4610 { ac_try='test -z "$ac_fc_werror_flag"
4611 || test ! -s conftest.err'
4612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616 (exit $ac_status); }; } &&
4617 { ac_try='test -s conftest.$ac_objext'
4618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4622 (exit $ac_status); }; }; then
4625 echo "$as_me: failed program was:" >&5
4626 sed 's/^/| /' conftest.$ac_ext >&5
4630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4631 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4634 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4635 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4637 ac_test_FFLAGS=${FCFLAGS+set}
4638 ac_save_FFLAGS=$FCFLAGS
4640 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4641 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4642 if test "${ac_cv_prog_fc_g+set}" = set; then
4643 echo $ECHO_N "(cached) $ECHO_C" >&6
4646 cat >conftest.$ac_ext <<_ACEOF
4651 rm -f conftest.$ac_objext
4652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4653 (eval $ac_compile) 2>conftest.er1
4655 grep -v '^ *+' conftest.er1 >conftest.err
4657 cat conftest.err >&5
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); } &&
4660 { ac_try='test -z "$ac_fc_werror_flag"
4661 || test ! -s conftest.err'
4662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666 (exit $ac_status); }; } &&
4667 { ac_try='test -s conftest.$ac_objext'
4668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672 (exit $ac_status); }; }; then
4675 echo "$as_me: failed program was:" >&5
4676 sed 's/^/| /' conftest.$ac_ext >&5
4680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4683 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4684 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4685 if test "$ac_test_FFLAGS" = set; then
4686 FCFLAGS=$ac_save_FFLAGS
4687 elif test $ac_cv_prog_fc_g = yes; then
4688 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4694 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4702 ac_cpp='$CPP $CPPFLAGS'
4703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4708 # extra LD Flags which are required for targets
4711 # Darwin needs -single_module when linking libgfortran
4712 extra_ldflags_libgfortran=-Wl,-single_module
4717 # Check whether --enable-largefile or --disable-largefile was given.
4718 if test "${enable_largefile+set}" = set; then
4719 enableval="$enable_largefile"
4722 if test "$enable_largefile" != no; then
4724 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4725 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4726 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4727 echo $ECHO_N "(cached) $ECHO_C" >&6
4729 ac_cv_sys_largefile_CC=no
4730 if test "$GCC" != yes; then
4733 # IRIX 6.2 and later do not support large files by default,
4734 # so use the C compiler's -n32 option if that helps.
4735 cat >conftest.$ac_ext <<_ACEOF
4738 cat confdefs.h >>conftest.$ac_ext
4739 cat >>conftest.$ac_ext <<_ACEOF
4740 /* end confdefs.h. */
4741 #include <sys/types.h>
4742 /* Check that off_t can represent 2**63 - 1 correctly.
4743 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4744 since some C++ compilers masquerading as C compilers
4745 incorrectly reject 9223372036854775807. */
4746 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4747 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4748 && LARGE_OFF_T % 2147483647 == 1)
4758 rm -f conftest.$ac_objext
4759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4760 (eval $ac_compile) 2>conftest.er1
4762 grep -v '^ *+' conftest.er1 >conftest.err
4764 cat conftest.err >&5
4765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766 (exit $ac_status); } &&
4767 { ac_try='test -z "$ac_c_werror_flag"
4768 || test ! -s conftest.err'
4769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773 (exit $ac_status); }; } &&
4774 { ac_try='test -s conftest.$ac_objext'
4775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4779 (exit $ac_status); }; }; then
4782 echo "$as_me: failed program was:" >&5
4783 sed 's/^/| /' conftest.$ac_ext >&5
4786 rm -f conftest.err conftest.$ac_objext
4788 rm -f conftest.$ac_objext
4789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4790 (eval $ac_compile) 2>conftest.er1
4792 grep -v '^ *+' conftest.er1 >conftest.err
4794 cat conftest.err >&5
4795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4796 (exit $ac_status); } &&
4797 { ac_try='test -z "$ac_c_werror_flag"
4798 || test ! -s conftest.err'
4799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803 (exit $ac_status); }; } &&
4804 { ac_try='test -s conftest.$ac_objext'
4805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809 (exit $ac_status); }; }; then
4810 ac_cv_sys_largefile_CC=' -n32'; break
4812 echo "$as_me: failed program was:" >&5
4813 sed 's/^/| /' conftest.$ac_ext >&5
4816 rm -f conftest.err conftest.$ac_objext
4820 rm -f conftest.$ac_ext
4823 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4824 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4825 if test "$ac_cv_sys_largefile_CC" != no; then
4826 CC=$CC$ac_cv_sys_largefile_CC
4829 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4830 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4831 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4832 echo $ECHO_N "(cached) $ECHO_C" >&6
4835 ac_cv_sys_file_offset_bits=no
4836 cat >conftest.$ac_ext <<_ACEOF
4839 cat confdefs.h >>conftest.$ac_ext
4840 cat >>conftest.$ac_ext <<_ACEOF
4841 /* end confdefs.h. */
4842 #include <sys/types.h>
4843 /* Check that off_t can represent 2**63 - 1 correctly.
4844 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4845 since some C++ compilers masquerading as C compilers
4846 incorrectly reject 9223372036854775807. */
4847 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4848 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4849 && LARGE_OFF_T % 2147483647 == 1)
4859 rm -f conftest.$ac_objext
4860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4861 (eval $ac_compile) 2>conftest.er1
4863 grep -v '^ *+' conftest.er1 >conftest.err
4865 cat conftest.err >&5
4866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4867 (exit $ac_status); } &&
4868 { ac_try='test -z "$ac_c_werror_flag"
4869 || test ! -s conftest.err'
4870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); }; } &&
4875 { ac_try='test -s conftest.$ac_objext'
4876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4880 (exit $ac_status); }; }; then
4883 echo "$as_me: failed program was:" >&5
4884 sed 's/^/| /' conftest.$ac_ext >&5
4887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4888 cat >conftest.$ac_ext <<_ACEOF
4891 cat confdefs.h >>conftest.$ac_ext
4892 cat >>conftest.$ac_ext <<_ACEOF
4893 /* end confdefs.h. */
4894 #define _FILE_OFFSET_BITS 64
4895 #include <sys/types.h>
4896 /* Check that off_t can represent 2**63 - 1 correctly.
4897 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4898 since some C++ compilers masquerading as C compilers
4899 incorrectly reject 9223372036854775807. */
4900 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4901 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4902 && LARGE_OFF_T % 2147483647 == 1)
4912 rm -f conftest.$ac_objext
4913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4914 (eval $ac_compile) 2>conftest.er1
4916 grep -v '^ *+' conftest.er1 >conftest.err
4918 cat conftest.err >&5
4919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4920 (exit $ac_status); } &&
4921 { ac_try='test -z "$ac_c_werror_flag"
4922 || test ! -s conftest.err'
4923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4927 (exit $ac_status); }; } &&
4928 { ac_try='test -s conftest.$ac_objext'
4929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 (exit $ac_status); }; }; then
4934 ac_cv_sys_file_offset_bits=64; break
4936 echo "$as_me: failed program was:" >&5
4937 sed 's/^/| /' conftest.$ac_ext >&5
4940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4944 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4945 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4946 if test "$ac_cv_sys_file_offset_bits" != no; then
4948 cat >>confdefs.h <<_ACEOF
4949 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4954 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4955 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4956 if test "${ac_cv_sys_large_files+set}" = set; then
4957 echo $ECHO_N "(cached) $ECHO_C" >&6
4960 ac_cv_sys_large_files=no
4961 cat >conftest.$ac_ext <<_ACEOF
4964 cat confdefs.h >>conftest.$ac_ext
4965 cat >>conftest.$ac_ext <<_ACEOF
4966 /* end confdefs.h. */
4967 #include <sys/types.h>
4968 /* Check that off_t can represent 2**63 - 1 correctly.
4969 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4970 since some C++ compilers masquerading as C compilers
4971 incorrectly reject 9223372036854775807. */
4972 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4973 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4974 && LARGE_OFF_T % 2147483647 == 1)
4984 rm -f conftest.$ac_objext
4985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4986 (eval $ac_compile) 2>conftest.er1
4988 grep -v '^ *+' conftest.er1 >conftest.err
4990 cat conftest.err >&5
4991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4992 (exit $ac_status); } &&
4993 { ac_try='test -z "$ac_c_werror_flag"
4994 || test ! -s conftest.err'
4995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4999 (exit $ac_status); }; } &&
5000 { ac_try='test -s conftest.$ac_objext'
5001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005 (exit $ac_status); }; }; then
5008 echo "$as_me: failed program was:" >&5
5009 sed 's/^/| /' conftest.$ac_ext >&5
5012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5013 cat >conftest.$ac_ext <<_ACEOF
5016 cat confdefs.h >>conftest.$ac_ext
5017 cat >>conftest.$ac_ext <<_ACEOF
5018 /* end confdefs.h. */
5019 #define _LARGE_FILES 1
5020 #include <sys/types.h>
5021 /* Check that off_t can represent 2**63 - 1 correctly.
5022 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5023 since some C++ compilers masquerading as C compilers
5024 incorrectly reject 9223372036854775807. */
5025 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5026 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5027 && LARGE_OFF_T % 2147483647 == 1)
5037 rm -f conftest.$ac_objext
5038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5039 (eval $ac_compile) 2>conftest.er1
5041 grep -v '^ *+' conftest.er1 >conftest.err
5043 cat conftest.err >&5
5044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5045 (exit $ac_status); } &&
5046 { ac_try='test -z "$ac_c_werror_flag"
5047 || test ! -s conftest.err'
5048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5052 (exit $ac_status); }; } &&
5053 { ac_try='test -s conftest.$ac_objext'
5054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5058 (exit $ac_status); }; }; then
5059 ac_cv_sys_large_files=1; break
5061 echo "$as_me: failed program was:" >&5
5062 sed 's/^/| /' conftest.$ac_ext >&5
5065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5069 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5070 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5071 if test "$ac_cv_sys_large_files" != no; then
5073 cat >>confdefs.h <<_ACEOF
5074 #define _LARGE_FILES $ac_cv_sys_large_files
5082 ac_cpp='$CPP $CPPFLAGS'
5083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5086 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5087 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5088 # On Suns, sometimes $CPP names a directory.
5089 if test -n "$CPP" && test -d "$CPP"; then
5092 if test -z "$CPP"; then
5093 if test "${ac_cv_prog_CPP+set}" = set; then
5094 echo $ECHO_N "(cached) $ECHO_C" >&6
5096 # Double quotes because CPP needs to be expanded
5097 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5100 for ac_c_preproc_warn_flag in '' yes
5102 # Use a header file that comes with gcc, so configuring glibc
5103 # with a fresh cross-compiler works.
5104 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5105 # <limits.h> exists even on freestanding compilers.
5106 # On the NeXT, cc -E runs the code through the compiler's parser,
5107 # not just through cpp. "Syntax error" is here to catch this case.
5108 cat >conftest.$ac_ext <<_ACEOF
5111 cat confdefs.h >>conftest.$ac_ext
5112 cat >>conftest.$ac_ext <<_ACEOF
5113 /* end confdefs.h. */
5115 # include <limits.h>
5117 # include <assert.h>
5121 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5122 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5124 grep -v '^ *+' conftest.er1 >conftest.err
5126 cat conftest.err >&5
5127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5128 (exit $ac_status); } >/dev/null; then
5129 if test -s conftest.err; then
5130 ac_cpp_err=$ac_c_preproc_warn_flag
5131 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5138 if test -z "$ac_cpp_err"; then
5141 echo "$as_me: failed program was:" >&5
5142 sed 's/^/| /' conftest.$ac_ext >&5
5144 # Broken: fails on valid input.
5147 rm -f conftest.err conftest.$ac_ext
5149 # OK, works on sane cases. Now check whether non-existent headers
5150 # can be detected and how.
5151 cat >conftest.$ac_ext <<_ACEOF
5154 cat confdefs.h >>conftest.$ac_ext
5155 cat >>conftest.$ac_ext <<_ACEOF
5156 /* end confdefs.h. */
5157 #include <ac_nonexistent.h>
5159 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5160 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5162 grep -v '^ *+' conftest.er1 >conftest.err
5164 cat conftest.err >&5
5165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5166 (exit $ac_status); } >/dev/null; then
5167 if test -s conftest.err; then
5168 ac_cpp_err=$ac_c_preproc_warn_flag
5169 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5176 if test -z "$ac_cpp_err"; then
5177 # Broken: success on invalid input.
5180 echo "$as_me: failed program was:" >&5
5181 sed 's/^/| /' conftest.$ac_ext >&5
5183 # Passes both tests.
5187 rm -f conftest.err conftest.$ac_ext
5190 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5191 rm -f conftest.err conftest.$ac_ext
5192 if $ac_preproc_ok; then
5204 echo "$as_me:$LINENO: result: $CPP" >&5
5205 echo "${ECHO_T}$CPP" >&6
5207 for ac_c_preproc_warn_flag in '' yes
5209 # Use a header file that comes with gcc, so configuring glibc
5210 # with a fresh cross-compiler works.
5211 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5212 # <limits.h> exists even on freestanding compilers.
5213 # On the NeXT, cc -E runs the code through the compiler's parser,
5214 # not just through cpp. "Syntax error" is here to catch this case.
5215 cat >conftest.$ac_ext <<_ACEOF
5218 cat confdefs.h >>conftest.$ac_ext
5219 cat >>conftest.$ac_ext <<_ACEOF
5220 /* end confdefs.h. */
5222 # include <limits.h>
5224 # include <assert.h>
5228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5229 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5231 grep -v '^ *+' conftest.er1 >conftest.err
5233 cat conftest.err >&5
5234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235 (exit $ac_status); } >/dev/null; then
5236 if test -s conftest.err; then
5237 ac_cpp_err=$ac_c_preproc_warn_flag
5238 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5245 if test -z "$ac_cpp_err"; then
5248 echo "$as_me: failed program was:" >&5
5249 sed 's/^/| /' conftest.$ac_ext >&5
5251 # Broken: fails on valid input.
5254 rm -f conftest.err conftest.$ac_ext
5256 # OK, works on sane cases. Now check whether non-existent headers
5257 # can be detected and how.
5258 cat >conftest.$ac_ext <<_ACEOF
5261 cat confdefs.h >>conftest.$ac_ext
5262 cat >>conftest.$ac_ext <<_ACEOF
5263 /* end confdefs.h. */
5264 #include <ac_nonexistent.h>
5266 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5267 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5269 grep -v '^ *+' conftest.er1 >conftest.err
5271 cat conftest.err >&5
5272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5273 (exit $ac_status); } >/dev/null; then
5274 if test -s conftest.err; then
5275 ac_cpp_err=$ac_c_preproc_warn_flag
5276 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5283 if test -z "$ac_cpp_err"; then
5284 # Broken: success on invalid input.
5287 echo "$as_me: failed program was:" >&5
5288 sed 's/^/| /' conftest.$ac_ext >&5
5290 # Passes both tests.
5294 rm -f conftest.err conftest.$ac_ext
5297 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5298 rm -f conftest.err conftest.$ac_ext
5299 if $ac_preproc_ok; then
5302 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5303 See \`config.log' for more details." >&5
5304 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5305 See \`config.log' for more details." >&2;}
5306 { (exit 1); exit 1; }; }
5310 ac_cpp='$CPP $CPPFLAGS'
5311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5316 echo "$as_me:$LINENO: checking for egrep" >&5
5317 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5318 if test "${ac_cv_prog_egrep+set}" = set; then
5319 echo $ECHO_N "(cached) $ECHO_C" >&6
5321 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5322 then ac_cv_prog_egrep='grep -E'
5323 else ac_cv_prog_egrep='egrep'
5326 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5327 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5328 EGREP=$ac_cv_prog_egrep
5331 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5332 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5333 if test "${ac_cv_header_stdc+set}" = set; then
5334 echo $ECHO_N "(cached) $ECHO_C" >&6
5336 cat >conftest.$ac_ext <<_ACEOF
5339 cat confdefs.h >>conftest.$ac_ext
5340 cat >>conftest.$ac_ext <<_ACEOF
5341 /* end confdefs.h. */
5355 rm -f conftest.$ac_objext
5356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5357 (eval $ac_compile) 2>conftest.er1
5359 grep -v '^ *+' conftest.er1 >conftest.err
5361 cat conftest.err >&5
5362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5363 (exit $ac_status); } &&
5364 { ac_try='test -z "$ac_c_werror_flag"
5365 || test ! -s conftest.err'
5366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5370 (exit $ac_status); }; } &&
5371 { ac_try='test -s conftest.$ac_objext'
5372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5376 (exit $ac_status); }; }; then
5377 ac_cv_header_stdc=yes
5379 echo "$as_me: failed program was:" >&5
5380 sed 's/^/| /' conftest.$ac_ext >&5
5382 ac_cv_header_stdc=no
5384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5386 if test $ac_cv_header_stdc = yes; then
5387 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5388 cat >conftest.$ac_ext <<_ACEOF
5391 cat confdefs.h >>conftest.$ac_ext
5392 cat >>conftest.$ac_ext <<_ACEOF
5393 /* end confdefs.h. */
5397 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5398 $EGREP "memchr" >/dev/null 2>&1; then
5401 ac_cv_header_stdc=no
5407 if test $ac_cv_header_stdc = yes; then
5408 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5409 cat >conftest.$ac_ext <<_ACEOF
5412 cat confdefs.h >>conftest.$ac_ext
5413 cat >>conftest.$ac_ext <<_ACEOF
5414 /* end confdefs.h. */
5418 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5419 $EGREP "free" >/dev/null 2>&1; then
5422 ac_cv_header_stdc=no
5428 if test $ac_cv_header_stdc = yes; then
5429 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5430 if test "$cross_compiling" = yes; then
5433 cat >conftest.$ac_ext <<_ACEOF
5436 cat confdefs.h >>conftest.$ac_ext
5437 cat >>conftest.$ac_ext <<_ACEOF
5438 /* end confdefs.h. */
5440 #if ((' ' & 0x0FF) == 0x020)
5441 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5442 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5444 # define ISLOWER(c) \
5445 (('a' <= (c) && (c) <= 'i') \
5446 || ('j' <= (c) && (c) <= 'r') \
5447 || ('s' <= (c) && (c) <= 'z'))
5448 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5451 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5456 for (i = 0; i < 256; i++)
5457 if (XOR (islower (i), ISLOWER (i))
5458 || toupper (i) != TOUPPER (i))
5463 rm -f conftest$ac_exeext
5464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5465 (eval $ac_link) 2>&5
5467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473 (exit $ac_status); }; }; then
5476 echo "$as_me: program exited with status $ac_status" >&5
5477 echo "$as_me: failed program was:" >&5
5478 sed 's/^/| /' conftest.$ac_ext >&5
5481 ac_cv_header_stdc=no
5483 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5487 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5488 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5489 if test $ac_cv_header_stdc = yes; then
5491 cat >>confdefs.h <<\_ACEOF
5492 #define STDC_HEADERS 1
5497 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5507 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5508 inttypes.h stdint.h unistd.h
5510 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5511 echo "$as_me:$LINENO: checking for $ac_header" >&5
5512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5514 echo $ECHO_N "(cached) $ECHO_C" >&6
5516 cat >conftest.$ac_ext <<_ACEOF
5519 cat confdefs.h >>conftest.$ac_ext
5520 cat >>conftest.$ac_ext <<_ACEOF
5521 /* end confdefs.h. */
5522 $ac_includes_default
5524 #include <$ac_header>
5526 rm -f conftest.$ac_objext
5527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5528 (eval $ac_compile) 2>conftest.er1
5530 grep -v '^ *+' conftest.er1 >conftest.err
5532 cat conftest.err >&5
5533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5534 (exit $ac_status); } &&
5535 { ac_try='test -z "$ac_c_werror_flag"
5536 || test ! -s conftest.err'
5537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5541 (exit $ac_status); }; } &&
5542 { ac_try='test -s conftest.$ac_objext'
5543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5547 (exit $ac_status); }; }; then
5548 eval "$as_ac_Header=yes"
5550 echo "$as_me: failed program was:" >&5
5551 sed 's/^/| /' conftest.$ac_ext >&5
5553 eval "$as_ac_Header=no"
5555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5558 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5559 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5560 cat >>confdefs.h <<_ACEOF
5561 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5569 echo "$as_me:$LINENO: checking for off_t" >&5
5570 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5571 if test "${ac_cv_type_off_t+set}" = set; then
5572 echo $ECHO_N "(cached) $ECHO_C" >&6
5574 cat >conftest.$ac_ext <<_ACEOF
5577 cat confdefs.h >>conftest.$ac_ext
5578 cat >>conftest.$ac_ext <<_ACEOF
5579 /* end confdefs.h. */
5580 $ac_includes_default
5592 rm -f conftest.$ac_objext
5593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5594 (eval $ac_compile) 2>conftest.er1
5596 grep -v '^ *+' conftest.er1 >conftest.err
5598 cat conftest.err >&5
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); } &&
5601 { ac_try='test -z "$ac_c_werror_flag"
5602 || test ! -s conftest.err'
5603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5607 (exit $ac_status); }; } &&
5608 { ac_try='test -s conftest.$ac_objext'
5609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5613 (exit $ac_status); }; }; then
5614 ac_cv_type_off_t=yes
5616 echo "$as_me: failed program was:" >&5
5617 sed 's/^/| /' conftest.$ac_ext >&5
5621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5623 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5624 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5625 if test $ac_cv_type_off_t = yes; then
5629 cat >>confdefs.h <<_ACEOF
5636 # check header files
5637 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5638 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5639 if test "${ac_cv_header_stdc+set}" = set; then
5640 echo $ECHO_N "(cached) $ECHO_C" >&6
5642 cat >conftest.$ac_ext <<_ACEOF
5645 cat confdefs.h >>conftest.$ac_ext
5646 cat >>conftest.$ac_ext <<_ACEOF
5647 /* end confdefs.h. */
5661 rm -f conftest.$ac_objext
5662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5663 (eval $ac_compile) 2>conftest.er1
5665 grep -v '^ *+' conftest.er1 >conftest.err
5667 cat conftest.err >&5
5668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5669 (exit $ac_status); } &&
5670 { ac_try='test -z "$ac_c_werror_flag"
5671 || test ! -s conftest.err'
5672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5676 (exit $ac_status); }; } &&
5677 { ac_try='test -s conftest.$ac_objext'
5678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5682 (exit $ac_status); }; }; then
5683 ac_cv_header_stdc=yes
5685 echo "$as_me: failed program was:" >&5
5686 sed 's/^/| /' conftest.$ac_ext >&5
5688 ac_cv_header_stdc=no
5690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5692 if test $ac_cv_header_stdc = yes; then
5693 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5694 cat >conftest.$ac_ext <<_ACEOF
5697 cat confdefs.h >>conftest.$ac_ext
5698 cat >>conftest.$ac_ext <<_ACEOF
5699 /* end confdefs.h. */
5703 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5704 $EGREP "memchr" >/dev/null 2>&1; then
5707 ac_cv_header_stdc=no
5713 if test $ac_cv_header_stdc = yes; then
5714 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5715 cat >conftest.$ac_ext <<_ACEOF
5718 cat confdefs.h >>conftest.$ac_ext
5719 cat >>conftest.$ac_ext <<_ACEOF
5720 /* end confdefs.h. */
5724 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5725 $EGREP "free" >/dev/null 2>&1; then
5728 ac_cv_header_stdc=no
5734 if test $ac_cv_header_stdc = yes; then
5735 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5736 if test "$cross_compiling" = yes; then
5739 cat >conftest.$ac_ext <<_ACEOF
5742 cat confdefs.h >>conftest.$ac_ext
5743 cat >>conftest.$ac_ext <<_ACEOF
5744 /* end confdefs.h. */
5746 #if ((' ' & 0x0FF) == 0x020)
5747 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5748 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5750 # define ISLOWER(c) \
5751 (('a' <= (c) && (c) <= 'i') \
5752 || ('j' <= (c) && (c) <= 'r') \
5753 || ('s' <= (c) && (c) <= 'z'))
5754 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5757 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5762 for (i = 0; i < 256; i++)
5763 if (XOR (islower (i), ISLOWER (i))
5764 || toupper (i) != TOUPPER (i))
5769 rm -f conftest$ac_exeext
5770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5771 (eval $ac_link) 2>&5
5773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5774 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5779 (exit $ac_status); }; }; then
5782 echo "$as_me: program exited with status $ac_status" >&5
5783 echo "$as_me: failed program was:" >&5
5784 sed 's/^/| /' conftest.$ac_ext >&5
5787 ac_cv_header_stdc=no
5789 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5793 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5794 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5795 if test $ac_cv_header_stdc = yes; then
5797 cat >>confdefs.h <<\_ACEOF
5798 #define STDC_HEADERS 1
5810 for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
5812 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5814 echo "$as_me:$LINENO: checking for $ac_header" >&5
5815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5817 echo $ECHO_N "(cached) $ECHO_C" >&6
5819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5820 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5822 # Is the header compilable?
5823 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5824 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5825 cat >conftest.$ac_ext <<_ACEOF
5828 cat confdefs.h >>conftest.$ac_ext
5829 cat >>conftest.$ac_ext <<_ACEOF
5830 /* end confdefs.h. */
5831 $ac_includes_default
5832 #include <$ac_header>
5834 rm -f conftest.$ac_objext
5835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5836 (eval $ac_compile) 2>conftest.er1
5838 grep -v '^ *+' conftest.er1 >conftest.err
5840 cat conftest.err >&5
5841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5842 (exit $ac_status); } &&
5843 { ac_try='test -z "$ac_c_werror_flag"
5844 || test ! -s conftest.err'
5845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849 (exit $ac_status); }; } &&
5850 { ac_try='test -s conftest.$ac_objext'
5851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5855 (exit $ac_status); }; }; then
5856 ac_header_compiler=yes
5858 echo "$as_me: failed program was:" >&5
5859 sed 's/^/| /' conftest.$ac_ext >&5
5861 ac_header_compiler=no
5863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5864 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5865 echo "${ECHO_T}$ac_header_compiler" >&6
5867 # Is the header present?
5868 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5869 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5870 cat >conftest.$ac_ext <<_ACEOF
5873 cat confdefs.h >>conftest.$ac_ext
5874 cat >>conftest.$ac_ext <<_ACEOF
5875 /* end confdefs.h. */
5876 #include <$ac_header>
5878 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5879 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5881 grep -v '^ *+' conftest.er1 >conftest.err
5883 cat conftest.err >&5
5884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5885 (exit $ac_status); } >/dev/null; then
5886 if test -s conftest.err; then
5887 ac_cpp_err=$ac_c_preproc_warn_flag
5888 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5895 if test -z "$ac_cpp_err"; then
5896 ac_header_preproc=yes
5898 echo "$as_me: failed program was:" >&5
5899 sed 's/^/| /' conftest.$ac_ext >&5
5901 ac_header_preproc=no
5903 rm -f conftest.err conftest.$ac_ext
5904 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5905 echo "${ECHO_T}$ac_header_preproc" >&6
5907 # So? What about this header?
5908 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5910 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5911 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5912 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5913 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5914 ac_header_preproc=yes
5917 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5918 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5919 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5920 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5921 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5922 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5923 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5924 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5925 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5926 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5927 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5928 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5931 ## ------------------------------------------------------ ##
5932 ## Report this to the GNU Fortran Runtime Library lists. ##
5933 ## ------------------------------------------------------ ##
5936 sed "s/^/$as_me: WARNING: /" >&2
5939 echo "$as_me:$LINENO: checking for $ac_header" >&5
5940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5942 echo $ECHO_N "(cached) $ECHO_C" >&6
5944 eval "$as_ac_Header=\$ac_header_preproc"
5946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5947 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5950 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5951 cat >>confdefs.h <<_ACEOF
5952 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5964 for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
5966 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5968 echo "$as_me:$LINENO: checking for $ac_header" >&5
5969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5971 echo $ECHO_N "(cached) $ECHO_C" >&6
5973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5974 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5976 # Is the header compilable?
5977 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5978 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5979 cat >conftest.$ac_ext <<_ACEOF
5982 cat confdefs.h >>conftest.$ac_ext
5983 cat >>conftest.$ac_ext <<_ACEOF
5984 /* end confdefs.h. */
5985 $ac_includes_default
5986 #include <$ac_header>
5988 rm -f conftest.$ac_objext
5989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5990 (eval $ac_compile) 2>conftest.er1
5992 grep -v '^ *+' conftest.er1 >conftest.err
5994 cat conftest.err >&5
5995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5996 (exit $ac_status); } &&
5997 { ac_try='test -z "$ac_c_werror_flag"
5998 || test ! -s conftest.err'
5999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003 (exit $ac_status); }; } &&
6004 { ac_try='test -s conftest.$ac_objext'
6005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009 (exit $ac_status); }; }; then
6010 ac_header_compiler=yes
6012 echo "$as_me: failed program was:" >&5
6013 sed 's/^/| /' conftest.$ac_ext >&5
6015 ac_header_compiler=no
6017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6018 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6019 echo "${ECHO_T}$ac_header_compiler" >&6
6021 # Is the header present?
6022 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6023 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6024 cat >conftest.$ac_ext <<_ACEOF
6027 cat confdefs.h >>conftest.$ac_ext
6028 cat >>conftest.$ac_ext <<_ACEOF
6029 /* end confdefs.h. */
6030 #include <$ac_header>
6032 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6033 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6035 grep -v '^ *+' conftest.er1 >conftest.err
6037 cat conftest.err >&5
6038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6039 (exit $ac_status); } >/dev/null; then
6040 if test -s conftest.err; then
6041 ac_cpp_err=$ac_c_preproc_warn_flag
6042 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6049 if test -z "$ac_cpp_err"; then
6050 ac_header_preproc=yes
6052 echo "$as_me: failed program was:" >&5
6053 sed 's/^/| /' conftest.$ac_ext >&5
6055 ac_header_preproc=no
6057 rm -f conftest.err conftest.$ac_ext
6058 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6059 echo "${ECHO_T}$ac_header_preproc" >&6
6061 # So? What about this header?
6062 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6064 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6065 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6066 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6067 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6068 ac_header_preproc=yes
6071 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6072 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6073 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6074 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6075 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6076 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6077 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6078 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6079 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6080 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6081 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6082 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6085 ## ------------------------------------------------------ ##
6086 ## Report this to the GNU Fortran Runtime Library lists. ##
6087 ## ------------------------------------------------------ ##
6090 sed "s/^/$as_me: WARNING: /" >&2
6093 echo "$as_me:$LINENO: checking for $ac_header" >&5
6094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6096 echo $ECHO_N "(cached) $ECHO_C" >&6
6098 eval "$as_ac_Header=\$ac_header_preproc"
6100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6101 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6104 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6105 cat >>confdefs.h <<_ACEOF
6106 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6117 for ac_header in sys/types.h sys/stat.h floatingpoint.h ieeefp.h
6119 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6121 echo "$as_me:$LINENO: checking for $ac_header" >&5
6122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6124 echo $ECHO_N "(cached) $ECHO_C" >&6
6126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6127 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6129 # Is the header compilable?
6130 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6131 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6132 cat >conftest.$ac_ext <<_ACEOF
6135 cat confdefs.h >>conftest.$ac_ext
6136 cat >>conftest.$ac_ext <<_ACEOF
6137 /* end confdefs.h. */
6138 $ac_includes_default
6139 #include <$ac_header>
6141 rm -f conftest.$ac_objext
6142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6143 (eval $ac_compile) 2>conftest.er1
6145 grep -v '^ *+' conftest.er1 >conftest.err
6147 cat conftest.err >&5
6148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6149 (exit $ac_status); } &&
6150 { ac_try='test -z "$ac_c_werror_flag"
6151 || test ! -s conftest.err'
6152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6156 (exit $ac_status); }; } &&
6157 { ac_try='test -s conftest.$ac_objext'
6158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6162 (exit $ac_status); }; }; then
6163 ac_header_compiler=yes
6165 echo "$as_me: failed program was:" >&5
6166 sed 's/^/| /' conftest.$ac_ext >&5
6168 ac_header_compiler=no
6170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6171 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6172 echo "${ECHO_T}$ac_header_compiler" >&6
6174 # Is the header present?
6175 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6176 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6177 cat >conftest.$ac_ext <<_ACEOF
6180 cat confdefs.h >>conftest.$ac_ext
6181 cat >>conftest.$ac_ext <<_ACEOF
6182 /* end confdefs.h. */
6183 #include <$ac_header>
6185 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6186 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6188 grep -v '^ *+' conftest.er1 >conftest.err
6190 cat conftest.err >&5
6191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 (exit $ac_status); } >/dev/null; then
6193 if test -s conftest.err; then
6194 ac_cpp_err=$ac_c_preproc_warn_flag
6195 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6202 if test -z "$ac_cpp_err"; then
6203 ac_header_preproc=yes
6205 echo "$as_me: failed program was:" >&5
6206 sed 's/^/| /' conftest.$ac_ext >&5
6208 ac_header_preproc=no
6210 rm -f conftest.err conftest.$ac_ext
6211 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6212 echo "${ECHO_T}$ac_header_preproc" >&6
6214 # So? What about this header?
6215 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6217 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6218 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6220 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6221 ac_header_preproc=yes
6224 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6225 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6226 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6227 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6228 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6229 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6230 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6231 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6232 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6233 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6234 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6235 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6238 ## ------------------------------------------------------ ##
6239 ## Report this to the GNU Fortran Runtime Library lists. ##
6240 ## ------------------------------------------------------ ##
6243 sed "s/^/$as_me: WARNING: /" >&2
6246 echo "$as_me:$LINENO: checking for $ac_header" >&5
6247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6249 echo $ECHO_N "(cached) $ECHO_C" >&6
6251 eval "$as_ac_Header=\$ac_header_preproc"
6253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6258 cat >>confdefs.h <<_ACEOF
6259 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6269 for ac_header in fenv.h fptrap.h float.h
6271 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6272 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6273 echo "$as_me:$LINENO: checking for $ac_header" >&5
6274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6275 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6276 echo $ECHO_N "(cached) $ECHO_C" >&6
6278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6279 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6281 # Is the header compilable?
6282 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6283 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6284 cat >conftest.$ac_ext <<_ACEOF
6287 cat confdefs.h >>conftest.$ac_ext
6288 cat >>conftest.$ac_ext <<_ACEOF
6289 /* end confdefs.h. */
6290 $ac_includes_default
6291 #include <$ac_header>
6293 rm -f conftest.$ac_objext
6294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6295 (eval $ac_compile) 2>conftest.er1
6297 grep -v '^ *+' conftest.er1 >conftest.err
6299 cat conftest.err >&5
6300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6301 (exit $ac_status); } &&
6302 { ac_try='test -z "$ac_c_werror_flag"
6303 || test ! -s conftest.err'
6304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6308 (exit $ac_status); }; } &&
6309 { ac_try='test -s conftest.$ac_objext'
6310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6314 (exit $ac_status); }; }; then
6315 ac_header_compiler=yes
6317 echo "$as_me: failed program was:" >&5
6318 sed 's/^/| /' conftest.$ac_ext >&5
6320 ac_header_compiler=no
6322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6323 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6324 echo "${ECHO_T}$ac_header_compiler" >&6
6326 # Is the header present?
6327 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6328 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6329 cat >conftest.$ac_ext <<_ACEOF
6332 cat confdefs.h >>conftest.$ac_ext
6333 cat >>conftest.$ac_ext <<_ACEOF
6334 /* end confdefs.h. */
6335 #include <$ac_header>
6337 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6338 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6340 grep -v '^ *+' conftest.er1 >conftest.err
6342 cat conftest.err >&5
6343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6344 (exit $ac_status); } >/dev/null; then
6345 if test -s conftest.err; then
6346 ac_cpp_err=$ac_c_preproc_warn_flag
6347 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6354 if test -z "$ac_cpp_err"; then
6355 ac_header_preproc=yes
6357 echo "$as_me: failed program was:" >&5
6358 sed 's/^/| /' conftest.$ac_ext >&5
6360 ac_header_preproc=no
6362 rm -f conftest.err conftest.$ac_ext
6363 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6364 echo "${ECHO_T}$ac_header_preproc" >&6
6366 # So? What about this header?
6367 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6369 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6370 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6371 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6372 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6373 ac_header_preproc=yes
6376 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6377 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6378 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6379 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6380 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6381 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6382 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6383 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6384 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6385 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6386 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6387 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6390 ## ------------------------------------------------------ ##
6391 ## Report this to the GNU Fortran Runtime Library lists. ##
6392 ## ------------------------------------------------------ ##
6395 sed "s/^/$as_me: WARNING: /" >&2
6398 echo "$as_me:$LINENO: checking for $ac_header" >&5
6399 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6401 echo $ECHO_N "(cached) $ECHO_C" >&6
6403 eval "$as_ac_Header=\$ac_header_preproc"
6405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6406 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6409 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6410 cat >>confdefs.h <<_ACEOF
6411 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6418 if test "${ac_cv_header_complex_h+set}" = set; then
6419 echo "$as_me:$LINENO: checking for complex.h" >&5
6420 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6421 if test "${ac_cv_header_complex_h+set}" = set; then
6422 echo $ECHO_N "(cached) $ECHO_C" >&6
6424 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6425 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6427 # Is the header compilable?
6428 echo "$as_me:$LINENO: checking complex.h usability" >&5
6429 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6430 cat >conftest.$ac_ext <<_ACEOF
6433 cat confdefs.h >>conftest.$ac_ext
6434 cat >>conftest.$ac_ext <<_ACEOF
6435 /* end confdefs.h. */
6436 $ac_includes_default
6437 #include <complex.h>
6439 rm -f conftest.$ac_objext
6440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6441 (eval $ac_compile) 2>conftest.er1
6443 grep -v '^ *+' conftest.er1 >conftest.err
6445 cat conftest.err >&5
6446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6447 (exit $ac_status); } &&
6448 { ac_try='test -z "$ac_c_werror_flag"
6449 || test ! -s conftest.err'
6450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6454 (exit $ac_status); }; } &&
6455 { ac_try='test -s conftest.$ac_objext'
6456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6460 (exit $ac_status); }; }; then
6461 ac_header_compiler=yes
6463 echo "$as_me: failed program was:" >&5
6464 sed 's/^/| /' conftest.$ac_ext >&5
6466 ac_header_compiler=no
6468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6469 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6470 echo "${ECHO_T}$ac_header_compiler" >&6
6472 # Is the header present?
6473 echo "$as_me:$LINENO: checking complex.h presence" >&5
6474 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6475 cat >conftest.$ac_ext <<_ACEOF
6478 cat confdefs.h >>conftest.$ac_ext
6479 cat >>conftest.$ac_ext <<_ACEOF
6480 /* end confdefs.h. */
6481 #include <complex.h>
6483 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6484 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6486 grep -v '^ *+' conftest.er1 >conftest.err
6488 cat conftest.err >&5
6489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6490 (exit $ac_status); } >/dev/null; then
6491 if test -s conftest.err; then
6492 ac_cpp_err=$ac_c_preproc_warn_flag
6493 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6500 if test -z "$ac_cpp_err"; then
6501 ac_header_preproc=yes
6503 echo "$as_me: failed program was:" >&5
6504 sed 's/^/| /' conftest.$ac_ext >&5
6506 ac_header_preproc=no
6508 rm -f conftest.err conftest.$ac_ext
6509 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6510 echo "${ECHO_T}$ac_header_preproc" >&6
6512 # So? What about this header?
6513 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6515 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6516 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6517 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6518 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6519 ac_header_preproc=yes
6522 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6523 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6524 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6525 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6526 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6527 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6528 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6529 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6530 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6531 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6532 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6533 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6536 ## ------------------------------------------------------ ##
6537 ## Report this to the GNU Fortran Runtime Library lists. ##
6538 ## ------------------------------------------------------ ##
6541 sed "s/^/$as_me: WARNING: /" >&2
6544 echo "$as_me:$LINENO: checking for complex.h" >&5
6545 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6546 if test "${ac_cv_header_complex_h+set}" = set; then
6547 echo $ECHO_N "(cached) $ECHO_C" >&6
6549 ac_cv_header_complex_h=$ac_header_preproc
6551 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6552 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6555 if test $ac_cv_header_complex_h = yes; then
6557 cat >>confdefs.h <<\_ACEOF
6558 #define HAVE_COMPLEX_H 1
6566 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
6568 acx_cv_header_stdint=stddef.h
6569 acx_cv_header_stdint_kind="(already complete)"
6570 for i in stdint.h $inttype_headers; do
6571 unset ac_cv_type_uintptr_t
6572 unset ac_cv_type_uintmax_t
6573 unset ac_cv_type_int_least32_t
6574 unset ac_cv_type_int_fast32_t
6575 unset ac_cv_type_uint64_t
6576 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
6577 echo "$as_me:$LINENO: checking for uintmax_t" >&5
6578 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
6579 if test "${ac_cv_type_uintmax_t+set}" = set; then
6580 echo $ECHO_N "(cached) $ECHO_C" >&6
6582 cat >conftest.$ac_ext <<_ACEOF
6585 cat confdefs.h >>conftest.$ac_ext
6586 cat >>conftest.$ac_ext <<_ACEOF
6587 /* end confdefs.h. */
6588 #include <sys/types.h>
6594 if ((uintmax_t *) 0)
6596 if (sizeof (uintmax_t))
6602 rm -f conftest.$ac_objext
6603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6604 (eval $ac_compile) 2>conftest.er1
6606 grep -v '^ *+' conftest.er1 >conftest.err
6608 cat conftest.err >&5
6609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610 (exit $ac_status); } &&
6611 { ac_try='test -z "$ac_c_werror_flag"
6612 || test ! -s conftest.err'
6613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6617 (exit $ac_status); }; } &&
6618 { ac_try='test -s conftest.$ac_objext'
6619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6623 (exit $ac_status); }; }; then
6624 ac_cv_type_uintmax_t=yes
6626 echo "$as_me: failed program was:" >&5
6627 sed 's/^/| /' conftest.$ac_ext >&5
6629 ac_cv_type_uintmax_t=no
6631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6633 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
6634 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
6635 if test $ac_cv_type_uintmax_t = yes; then
6636 acx_cv_header_stdint=$i
6641 echo "$as_me:$LINENO: checking for uintptr_t" >&5
6642 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
6643 if test "${ac_cv_type_uintptr_t+set}" = set; then
6644 echo $ECHO_N "(cached) $ECHO_C" >&6
6646 cat >conftest.$ac_ext <<_ACEOF
6649 cat confdefs.h >>conftest.$ac_ext
6650 cat >>conftest.$ac_ext <<_ACEOF
6651 /* end confdefs.h. */
6652 #include <sys/types.h>
6658 if ((uintptr_t *) 0)
6660 if (sizeof (uintptr_t))
6666 rm -f conftest.$ac_objext
6667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6668 (eval $ac_compile) 2>conftest.er1
6670 grep -v '^ *+' conftest.er1 >conftest.err
6672 cat conftest.err >&5
6673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6674 (exit $ac_status); } &&
6675 { ac_try='test -z "$ac_c_werror_flag"
6676 || test ! -s conftest.err'
6677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); }; } &&
6682 { ac_try='test -s conftest.$ac_objext'
6683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); }; }; then
6688 ac_cv_type_uintptr_t=yes
6690 echo "$as_me: failed program was:" >&5
6691 sed 's/^/| /' conftest.$ac_ext >&5
6693 ac_cv_type_uintptr_t=no
6695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6697 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
6698 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
6699 if test $ac_cv_type_uintptr_t = yes; then
6702 acx_cv_header_stdint_kind="(mostly complete)"
6705 echo "$as_me:$LINENO: checking for int_least32_t" >&5
6706 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
6707 if test "${ac_cv_type_int_least32_t+set}" = set; then
6708 echo $ECHO_N "(cached) $ECHO_C" >&6
6710 cat >conftest.$ac_ext <<_ACEOF
6713 cat confdefs.h >>conftest.$ac_ext
6714 cat >>conftest.$ac_ext <<_ACEOF
6715 /* end confdefs.h. */
6716 #include <sys/types.h>
6722 if ((int_least32_t *) 0)
6724 if (sizeof (int_least32_t))
6730 rm -f conftest.$ac_objext
6731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6732 (eval $ac_compile) 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); } &&
6739 { ac_try='test -z "$ac_c_werror_flag"
6740 || test ! -s conftest.err'
6741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6745 (exit $ac_status); }; } &&
6746 { ac_try='test -s conftest.$ac_objext'
6747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6751 (exit $ac_status); }; }; then
6752 ac_cv_type_int_least32_t=yes
6754 echo "$as_me: failed program was:" >&5
6755 sed 's/^/| /' conftest.$ac_ext >&5
6757 ac_cv_type_int_least32_t=no
6759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6761 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
6762 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
6763 if test $ac_cv_type_int_least32_t = yes; then
6766 acx_cv_header_stdint_kind="(mostly complete)"
6769 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
6770 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
6771 if test "${ac_cv_type_int_fast32_t+set}" = set; then
6772 echo $ECHO_N "(cached) $ECHO_C" >&6
6774 cat >conftest.$ac_ext <<_ACEOF
6777 cat confdefs.h >>conftest.$ac_ext
6778 cat >>conftest.$ac_ext <<_ACEOF
6779 /* end confdefs.h. */
6780 #include <sys/types.h>
6786 if ((int_fast32_t *) 0)
6788 if (sizeof (int_fast32_t))
6794 rm -f conftest.$ac_objext
6795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6796 (eval $ac_compile) 2>conftest.er1
6798 grep -v '^ *+' conftest.er1 >conftest.err
6800 cat conftest.err >&5
6801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6802 (exit $ac_status); } &&
6803 { ac_try='test -z "$ac_c_werror_flag"
6804 || test ! -s conftest.err'
6805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6809 (exit $ac_status); }; } &&
6810 { ac_try='test -s conftest.$ac_objext'
6811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6815 (exit $ac_status); }; }; then
6816 ac_cv_type_int_fast32_t=yes
6818 echo "$as_me: failed program was:" >&5
6819 sed 's/^/| /' conftest.$ac_ext >&5
6821 ac_cv_type_int_fast32_t=no
6823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6825 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
6826 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
6827 if test $ac_cv_type_int_fast32_t = yes; then
6830 acx_cv_header_stdint_kind="(mostly complete)"
6833 echo "$as_me:$LINENO: checking for uint64_t" >&5
6834 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
6835 if test "${ac_cv_type_uint64_t+set}" = set; then
6836 echo $ECHO_N "(cached) $ECHO_C" >&6
6838 cat >conftest.$ac_ext <<_ACEOF
6841 cat confdefs.h >>conftest.$ac_ext
6842 cat >>conftest.$ac_ext <<_ACEOF
6843 /* end confdefs.h. */
6844 #include <sys/types.h>
6852 if (sizeof (uint64_t))
6858 rm -f conftest.$ac_objext
6859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6860 (eval $ac_compile) 2>conftest.er1
6862 grep -v '^ *+' conftest.er1 >conftest.err
6864 cat conftest.err >&5
6865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6866 (exit $ac_status); } &&
6867 { ac_try='test -z "$ac_c_werror_flag"
6868 || test ! -s conftest.err'
6869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6873 (exit $ac_status); }; } &&
6874 { ac_try='test -s conftest.$ac_objext'
6875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6879 (exit $ac_status); }; }; then
6880 ac_cv_type_uint64_t=yes
6882 echo "$as_me: failed program was:" >&5
6883 sed 's/^/| /' conftest.$ac_ext >&5
6885 ac_cv_type_uint64_t=no
6887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6889 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
6890 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
6891 if test $ac_cv_type_uint64_t = yes; then
6894 acx_cv_header_stdint_kind="(lacks uint64_t)"
6899 if test "$acx_cv_header_stdint" = stddef.h; then
6900 acx_cv_header_stdint_kind="(lacks uintmax_t)"
6901 for i in stdint.h $inttype_headers; do
6902 unset ac_cv_type_uintptr_t
6903 unset ac_cv_type_uint32_t
6904 unset ac_cv_type_uint64_t
6905 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
6906 echo "$as_me:$LINENO: checking for uint32_t" >&5
6907 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
6908 if test "${ac_cv_type_uint32_t+set}" = set; then
6909 echo $ECHO_N "(cached) $ECHO_C" >&6
6911 cat >conftest.$ac_ext <<_ACEOF
6914 cat confdefs.h >>conftest.$ac_ext
6915 cat >>conftest.$ac_ext <<_ACEOF
6916 /* end confdefs.h. */
6917 #include <sys/types.h>
6925 if (sizeof (uint32_t))
6931 rm -f conftest.$ac_objext
6932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6933 (eval $ac_compile) 2>conftest.er1
6935 grep -v '^ *+' conftest.er1 >conftest.err
6937 cat conftest.err >&5
6938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6939 (exit $ac_status); } &&
6940 { ac_try='test -z "$ac_c_werror_flag"
6941 || test ! -s conftest.err'
6942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6946 (exit $ac_status); }; } &&
6947 { ac_try='test -s conftest.$ac_objext'
6948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6952 (exit $ac_status); }; }; then
6953 ac_cv_type_uint32_t=yes
6955 echo "$as_me: failed program was:" >&5
6956 sed 's/^/| /' conftest.$ac_ext >&5
6958 ac_cv_type_uint32_t=no
6960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6962 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
6963 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
6964 if test $ac_cv_type_uint32_t = yes; then
6965 acx_cv_header_stdint=$i
6970 echo "$as_me:$LINENO: checking for uint64_t" >&5
6971 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
6972 if test "${ac_cv_type_uint64_t+set}" = set; then
6973 echo $ECHO_N "(cached) $ECHO_C" >&6
6975 cat >conftest.$ac_ext <<_ACEOF
6978 cat confdefs.h >>conftest.$ac_ext
6979 cat >>conftest.$ac_ext <<_ACEOF
6980 /* end confdefs.h. */
6981 #include <sys/types.h>
6989 if (sizeof (uint64_t))
6995 rm -f conftest.$ac_objext
6996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6997 (eval $ac_compile) 2>conftest.er1
6999 grep -v '^ *+' conftest.er1 >conftest.err
7001 cat conftest.err >&5
7002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7003 (exit $ac_status); } &&
7004 { ac_try='test -z "$ac_c_werror_flag"
7005 || test ! -s conftest.err'
7006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7010 (exit $ac_status); }; } &&
7011 { ac_try='test -s conftest.$ac_objext'
7012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016 (exit $ac_status); }; }; then
7017 ac_cv_type_uint64_t=yes
7019 echo "$as_me: failed program was:" >&5
7020 sed 's/^/| /' conftest.$ac_ext >&5
7022 ac_cv_type_uint64_t=no
7024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7026 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
7027 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
7029 echo "$as_me:$LINENO: checking for uintptr_t" >&5
7030 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
7031 if test "${ac_cv_type_uintptr_t+set}" = set; then
7032 echo $ECHO_N "(cached) $ECHO_C" >&6
7034 cat >conftest.$ac_ext <<_ACEOF
7037 cat confdefs.h >>conftest.$ac_ext
7038 cat >>conftest.$ac_ext <<_ACEOF
7039 /* end confdefs.h. */
7040 #include <sys/types.h>
7046 if ((uintptr_t *) 0)
7048 if (sizeof (uintptr_t))
7054 rm -f conftest.$ac_objext
7055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7056 (eval $ac_compile) 2>conftest.er1
7058 grep -v '^ *+' conftest.er1 >conftest.err
7060 cat conftest.err >&5
7061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7062 (exit $ac_status); } &&
7063 { ac_try='test -z "$ac_c_werror_flag"
7064 || test ! -s conftest.err'
7065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7069 (exit $ac_status); }; } &&
7070 { ac_try='test -s conftest.$ac_objext'
7071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7075 (exit $ac_status); }; }; then
7076 ac_cv_type_uintptr_t=yes
7078 echo "$as_me: failed program was:" >&5
7079 sed 's/^/| /' conftest.$ac_ext >&5
7081 ac_cv_type_uintptr_t=no
7083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7085 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
7086 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
7091 if test "$acx_cv_header_stdint" = stddef.h; then
7092 acx_cv_header_stdint_kind="(u_intXX_t style)"
7093 for i in sys/types.h $inttype_headers; do
7094 unset ac_cv_type_u_int32_t
7095 unset ac_cv_type_u_int64_t
7096 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
7097 echo "$as_me:$LINENO: checking for u_int32_t" >&5
7098 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
7099 if test "${ac_cv_type_u_int32_t+set}" = set; then
7100 echo $ECHO_N "(cached) $ECHO_C" >&6
7102 cat >conftest.$ac_ext <<_ACEOF
7105 cat confdefs.h >>conftest.$ac_ext
7106 cat >>conftest.$ac_ext <<_ACEOF
7107 /* end confdefs.h. */
7108 #include <sys/types.h>
7114 if ((u_int32_t *) 0)
7116 if (sizeof (u_int32_t))
7122 rm -f conftest.$ac_objext
7123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7124 (eval $ac_compile) 2>conftest.er1
7126 grep -v '^ *+' conftest.er1 >conftest.err
7128 cat conftest.err >&5
7129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7130 (exit $ac_status); } &&
7131 { ac_try='test -z "$ac_c_werror_flag"
7132 || test ! -s conftest.err'
7133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137 (exit $ac_status); }; } &&
7138 { ac_try='test -s conftest.$ac_objext'
7139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7143 (exit $ac_status); }; }; then
7144 ac_cv_type_u_int32_t=yes
7146 echo "$as_me: failed program was:" >&5
7147 sed 's/^/| /' conftest.$ac_ext >&5
7149 ac_cv_type_u_int32_t=no
7151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7153 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
7154 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
7155 if test $ac_cv_type_u_int32_t = yes; then
7156 acx_cv_header_stdint=$i
7161 echo "$as_me:$LINENO: checking for u_int64_t" >&5
7162 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
7163 if test "${ac_cv_type_u_int64_t+set}" = set; then
7164 echo $ECHO_N "(cached) $ECHO_C" >&6
7166 cat >conftest.$ac_ext <<_ACEOF
7169 cat confdefs.h >>conftest.$ac_ext
7170 cat >>conftest.$ac_ext <<_ACEOF
7171 /* end confdefs.h. */
7172 #include <sys/types.h>
7178 if ((u_int64_t *) 0)
7180 if (sizeof (u_int64_t))
7186 rm -f conftest.$ac_objext
7187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7188 (eval $ac_compile) 2>conftest.er1
7190 grep -v '^ *+' conftest.er1 >conftest.err
7192 cat conftest.err >&5
7193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7194 (exit $ac_status); } &&
7195 { ac_try='test -z "$ac_c_werror_flag"
7196 || test ! -s conftest.err'
7197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7201 (exit $ac_status); }; } &&
7202 { ac_try='test -s conftest.$ac_objext'
7203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7207 (exit $ac_status); }; }; then
7208 ac_cv_type_u_int64_t=yes
7210 echo "$as_me: failed program was:" >&5
7211 sed 's/^/| /' conftest.$ac_ext >&5
7213 ac_cv_type_u_int64_t=no
7215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7217 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
7218 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
7223 if test "$acx_cv_header_stdint" = stddef.h; then
7224 acx_cv_header_stdint_kind="(using manual detection)"
7227 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
7228 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
7229 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
7230 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
7231 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
7233 # ----------------- Summarize what we found so far
7235 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
7236 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
7238 case `$as_basename gstdint.h ||
7239 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
7240 Xgstdint.h : 'X\(//\)$' \| \
7241 Xgstdint.h : 'X\(/\)$' \| \
7242 . : '\(.\)' 2>/dev/null ||
7244 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7245 /^X\/\(\/\/\)$/{ s//\1/; q; }
7246 /^X\/\(\/\).*/{ s//\1/; q; }
7248 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
7249 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
7250 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
7251 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
7255 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
7256 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
7258 # ----------------- done included file, check C basic types --------
7260 # Lacking an uintptr_t? Test size of void *
7261 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
7262 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
7263 echo $ECHO_N "checking for void *... $ECHO_C" >&6
7264 if test "${ac_cv_type_void_p+set}" = set; then
7265 echo $ECHO_N "(cached) $ECHO_C" >&6
7267 cat >conftest.$ac_ext <<_ACEOF
7270 cat confdefs.h >>conftest.$ac_ext
7271 cat >>conftest.$ac_ext <<_ACEOF
7272 /* end confdefs.h. */
7273 $ac_includes_default
7279 if (sizeof (void *))
7285 rm -f conftest.$ac_objext
7286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7287 (eval $ac_compile) 2>conftest.er1
7289 grep -v '^ *+' conftest.er1 >conftest.err
7291 cat conftest.err >&5
7292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7293 (exit $ac_status); } &&
7294 { ac_try='test -z "$ac_c_werror_flag"
7295 || test ! -s conftest.err'
7296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7300 (exit $ac_status); }; } &&
7301 { ac_try='test -s conftest.$ac_objext'
7302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7306 (exit $ac_status); }; }; then
7307 ac_cv_type_void_p=yes
7309 echo "$as_me: failed program was:" >&5
7310 sed 's/^/| /' conftest.$ac_ext >&5
7312 ac_cv_type_void_p=no
7314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7316 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
7317 echo "${ECHO_T}$ac_cv_type_void_p" >&6
7319 echo "$as_me:$LINENO: checking size of void *" >&5
7320 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
7321 if test "${ac_cv_sizeof_void_p+set}" = set; then
7322 echo $ECHO_N "(cached) $ECHO_C" >&6
7324 if test "$ac_cv_type_void_p" = yes; then
7325 # The cast to unsigned long works around a bug in the HP C Compiler
7326 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7327 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7328 # This bug is HP SR number 8606223364.
7329 if test "$cross_compiling" = yes; then
7330 # Depending upon the size, compute the lo and hi bounds.
7331 cat >conftest.$ac_ext <<_ACEOF
7334 cat confdefs.h >>conftest.$ac_ext
7335 cat >>conftest.$ac_ext <<_ACEOF
7336 /* end confdefs.h. */
7337 $ac_includes_default
7341 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
7348 rm -f conftest.$ac_objext
7349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7350 (eval $ac_compile) 2>conftest.er1
7352 grep -v '^ *+' conftest.er1 >conftest.err
7354 cat conftest.err >&5
7355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7356 (exit $ac_status); } &&
7357 { ac_try='test -z "$ac_c_werror_flag"
7358 || test ! -s conftest.err'
7359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7363 (exit $ac_status); }; } &&
7364 { ac_try='test -s conftest.$ac_objext'
7365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7369 (exit $ac_status); }; }; then
7372 cat >conftest.$ac_ext <<_ACEOF
7375 cat confdefs.h >>conftest.$ac_ext
7376 cat >>conftest.$ac_ext <<_ACEOF
7377 /* end confdefs.h. */
7378 $ac_includes_default
7382 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
7389 rm -f conftest.$ac_objext
7390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7391 (eval $ac_compile) 2>conftest.er1
7393 grep -v '^ *+' conftest.er1 >conftest.err
7395 cat conftest.err >&5
7396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7397 (exit $ac_status); } &&
7398 { ac_try='test -z "$ac_c_werror_flag"
7399 || test ! -s conftest.err'
7400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7404 (exit $ac_status); }; } &&
7405 { ac_try='test -s conftest.$ac_objext'
7406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7410 (exit $ac_status); }; }; then
7411 ac_hi=$ac_mid; break
7413 echo "$as_me: failed program was:" >&5
7414 sed 's/^/| /' conftest.$ac_ext >&5
7416 ac_lo=`expr $ac_mid + 1`
7417 if test $ac_lo -le $ac_mid; then
7421 ac_mid=`expr 2 '*' $ac_mid + 1`
7423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7426 echo "$as_me: failed program was:" >&5
7427 sed 's/^/| /' conftest.$ac_ext >&5
7429 cat >conftest.$ac_ext <<_ACEOF
7432 cat confdefs.h >>conftest.$ac_ext
7433 cat >>conftest.$ac_ext <<_ACEOF
7434 /* end confdefs.h. */
7435 $ac_includes_default
7439 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
7446 rm -f conftest.$ac_objext
7447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7448 (eval $ac_compile) 2>conftest.er1
7450 grep -v '^ *+' conftest.er1 >conftest.err
7452 cat conftest.err >&5
7453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7454 (exit $ac_status); } &&
7455 { ac_try='test -z "$ac_c_werror_flag"
7456 || test ! -s conftest.err'
7457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7461 (exit $ac_status); }; } &&
7462 { ac_try='test -s conftest.$ac_objext'
7463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7467 (exit $ac_status); }; }; then
7470 cat >conftest.$ac_ext <<_ACEOF
7473 cat confdefs.h >>conftest.$ac_ext
7474 cat >>conftest.$ac_ext <<_ACEOF
7475 /* end confdefs.h. */
7476 $ac_includes_default
7480 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
7487 rm -f conftest.$ac_objext
7488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7489 (eval $ac_compile) 2>conftest.er1
7491 grep -v '^ *+' conftest.er1 >conftest.err
7493 cat conftest.err >&5
7494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7495 (exit $ac_status); } &&
7496 { ac_try='test -z "$ac_c_werror_flag"
7497 || test ! -s conftest.err'
7498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7502 (exit $ac_status); }; } &&
7503 { ac_try='test -s conftest.$ac_objext'
7504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7508 (exit $ac_status); }; }; then
7509 ac_lo=$ac_mid; break
7511 echo "$as_me: failed program was:" >&5
7512 sed 's/^/| /' conftest.$ac_ext >&5
7514 ac_hi=`expr '(' $ac_mid ')' - 1`
7515 if test $ac_mid -le $ac_hi; then
7519 ac_mid=`expr 2 '*' $ac_mid`
7521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7524 echo "$as_me: failed program was:" >&5
7525 sed 's/^/| /' conftest.$ac_ext >&5
7529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7532 # Binary search between lo and hi bounds.
7533 while test "x$ac_lo" != "x$ac_hi"; do
7534 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7535 cat >conftest.$ac_ext <<_ACEOF
7538 cat confdefs.h >>conftest.$ac_ext
7539 cat >>conftest.$ac_ext <<_ACEOF
7540 /* end confdefs.h. */
7541 $ac_includes_default
7545 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
7552 rm -f conftest.$ac_objext
7553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7554 (eval $ac_compile) 2>conftest.er1
7556 grep -v '^ *+' conftest.er1 >conftest.err
7558 cat conftest.err >&5
7559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7560 (exit $ac_status); } &&
7561 { ac_try='test -z "$ac_c_werror_flag"
7562 || test ! -s conftest.err'
7563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7567 (exit $ac_status); }; } &&
7568 { ac_try='test -s conftest.$ac_objext'
7569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7573 (exit $ac_status); }; }; then
7576 echo "$as_me: failed program was:" >&5
7577 sed 's/^/| /' conftest.$ac_ext >&5
7579 ac_lo=`expr '(' $ac_mid ')' + 1`
7581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7584 ?*) ac_cv_sizeof_void_p=$ac_lo;;
7585 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
7586 See \`config.log' for more details." >&5
7587 echo "$as_me: error: cannot compute sizeof (void *), 77
7588 See \`config.log' for more details." >&2;}
7589 { (exit 1); exit 1; }; } ;;
7592 if test "$cross_compiling" = yes; then
7593 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7594 See \`config.log' for more details." >&5
7595 echo "$as_me: error: cannot run test program while cross compiling
7596 See \`config.log' for more details." >&2;}
7597 { (exit 1); exit 1; }; }
7599 cat >conftest.$ac_ext <<_ACEOF
7602 cat confdefs.h >>conftest.$ac_ext
7603 cat >>conftest.$ac_ext <<_ACEOF
7604 /* end confdefs.h. */
7605 $ac_includes_default
7606 long longval () { return (long) (sizeof (void *)); }
7607 unsigned long ulongval () { return (long) (sizeof (void *)); }
7614 FILE *f = fopen ("conftest.val", "w");
7617 if (((long) (sizeof (void *))) < 0)
7619 long i = longval ();
7620 if (i != ((long) (sizeof (void *))))
7622 fprintf (f, "%ld\n", i);
7626 unsigned long i = ulongval ();
7627 if (i != ((long) (sizeof (void *))))
7629 fprintf (f, "%lu\n", i);
7631 exit (ferror (f) || fclose (f) != 0);
7637 rm -f conftest$ac_exeext
7638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7639 (eval $ac_link) 2>&5
7641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7642 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7647 (exit $ac_status); }; }; then
7648 ac_cv_sizeof_void_p=`cat conftest.val`
7650 echo "$as_me: program exited with status $ac_status" >&5
7651 echo "$as_me: failed program was:" >&5
7652 sed 's/^/| /' conftest.$ac_ext >&5
7655 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
7656 See \`config.log' for more details." >&5
7657 echo "$as_me: error: cannot compute sizeof (void *), 77
7658 See \`config.log' for more details." >&2;}
7659 { (exit 1); exit 1; }; }
7661 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7666 ac_cv_sizeof_void_p=0
7669 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
7670 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
7671 cat >>confdefs.h <<_ACEOF
7672 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
7678 # Lacking an uint64_t? Test size of long
7679 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
7680 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
7681 echo $ECHO_N "checking for long... $ECHO_C" >&6
7682 if test "${ac_cv_type_long+set}" = set; then
7683 echo $ECHO_N "(cached) $ECHO_C" >&6
7685 cat >conftest.$ac_ext <<_ACEOF
7688 cat confdefs.h >>conftest.$ac_ext
7689 cat >>conftest.$ac_ext <<_ACEOF
7690 /* end confdefs.h. */
7691 $ac_includes_default
7703 rm -f conftest.$ac_objext
7704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7705 (eval $ac_compile) 2>conftest.er1
7707 grep -v '^ *+' conftest.er1 >conftest.err
7709 cat conftest.err >&5
7710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7711 (exit $ac_status); } &&
7712 { ac_try='test -z "$ac_c_werror_flag"
7713 || test ! -s conftest.err'
7714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7718 (exit $ac_status); }; } &&
7719 { ac_try='test -s conftest.$ac_objext'
7720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7724 (exit $ac_status); }; }; then
7727 echo "$as_me: failed program was:" >&5
7728 sed 's/^/| /' conftest.$ac_ext >&5
7732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7734 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
7735 echo "${ECHO_T}$ac_cv_type_long" >&6
7737 echo "$as_me:$LINENO: checking size of long" >&5
7738 echo $ECHO_N "checking size of long... $ECHO_C" >&6
7739 if test "${ac_cv_sizeof_long+set}" = set; then
7740 echo $ECHO_N "(cached) $ECHO_C" >&6
7742 if test "$ac_cv_type_long" = yes; then
7743 # The cast to unsigned long works around a bug in the HP C Compiler
7744 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7745 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7746 # This bug is HP SR number 8606223364.
7747 if test "$cross_compiling" = yes; then
7748 # Depending upon the size, compute the lo and hi bounds.
7749 cat >conftest.$ac_ext <<_ACEOF
7752 cat confdefs.h >>conftest.$ac_ext
7753 cat >>conftest.$ac_ext <<_ACEOF
7754 /* end confdefs.h. */
7755 $ac_includes_default
7759 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
7766 rm -f conftest.$ac_objext
7767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7768 (eval $ac_compile) 2>conftest.er1
7770 grep -v '^ *+' conftest.er1 >conftest.err
7772 cat conftest.err >&5
7773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7774 (exit $ac_status); } &&
7775 { ac_try='test -z "$ac_c_werror_flag"
7776 || test ! -s conftest.err'
7777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7781 (exit $ac_status); }; } &&
7782 { ac_try='test -s conftest.$ac_objext'
7783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7787 (exit $ac_status); }; }; then
7790 cat >conftest.$ac_ext <<_ACEOF
7793 cat confdefs.h >>conftest.$ac_ext
7794 cat >>conftest.$ac_ext <<_ACEOF
7795 /* end confdefs.h. */
7796 $ac_includes_default
7800 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7807 rm -f conftest.$ac_objext
7808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7809 (eval $ac_compile) 2>conftest.er1
7811 grep -v '^ *+' conftest.er1 >conftest.err
7813 cat conftest.err >&5
7814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7815 (exit $ac_status); } &&
7816 { ac_try='test -z "$ac_c_werror_flag"
7817 || test ! -s conftest.err'
7818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7822 (exit $ac_status); }; } &&
7823 { ac_try='test -s conftest.$ac_objext'
7824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7828 (exit $ac_status); }; }; then
7829 ac_hi=$ac_mid; break
7831 echo "$as_me: failed program was:" >&5
7832 sed 's/^/| /' conftest.$ac_ext >&5
7834 ac_lo=`expr $ac_mid + 1`
7835 if test $ac_lo -le $ac_mid; then
7839 ac_mid=`expr 2 '*' $ac_mid + 1`
7841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7844 echo "$as_me: failed program was:" >&5
7845 sed 's/^/| /' conftest.$ac_ext >&5
7847 cat >conftest.$ac_ext <<_ACEOF
7850 cat confdefs.h >>conftest.$ac_ext
7851 cat >>conftest.$ac_ext <<_ACEOF
7852 /* end confdefs.h. */
7853 $ac_includes_default
7857 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
7864 rm -f conftest.$ac_objext
7865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7866 (eval $ac_compile) 2>conftest.er1
7868 grep -v '^ *+' conftest.er1 >conftest.err
7870 cat conftest.err >&5
7871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7872 (exit $ac_status); } &&
7873 { ac_try='test -z "$ac_c_werror_flag"
7874 || test ! -s conftest.err'
7875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7879 (exit $ac_status); }; } &&
7880 { ac_try='test -s conftest.$ac_objext'
7881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7885 (exit $ac_status); }; }; then
7888 cat >conftest.$ac_ext <<_ACEOF
7891 cat confdefs.h >>conftest.$ac_ext
7892 cat >>conftest.$ac_ext <<_ACEOF
7893 /* end confdefs.h. */
7894 $ac_includes_default
7898 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
7905 rm -f conftest.$ac_objext
7906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7907 (eval $ac_compile) 2>conftest.er1
7909 grep -v '^ *+' conftest.er1 >conftest.err
7911 cat conftest.err >&5
7912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7913 (exit $ac_status); } &&
7914 { ac_try='test -z "$ac_c_werror_flag"
7915 || test ! -s conftest.err'
7916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7920 (exit $ac_status); }; } &&
7921 { ac_try='test -s conftest.$ac_objext'
7922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7926 (exit $ac_status); }; }; then
7927 ac_lo=$ac_mid; break
7929 echo "$as_me: failed program was:" >&5
7930 sed 's/^/| /' conftest.$ac_ext >&5
7932 ac_hi=`expr '(' $ac_mid ')' - 1`
7933 if test $ac_mid -le $ac_hi; then
7937 ac_mid=`expr 2 '*' $ac_mid`
7939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7942 echo "$as_me: failed program was:" >&5
7943 sed 's/^/| /' conftest.$ac_ext >&5
7947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7950 # Binary search between lo and hi bounds.
7951 while test "x$ac_lo" != "x$ac_hi"; do
7952 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7953 cat >conftest.$ac_ext <<_ACEOF
7956 cat confdefs.h >>conftest.$ac_ext
7957 cat >>conftest.$ac_ext <<_ACEOF
7958 /* end confdefs.h. */
7959 $ac_includes_default
7963 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7970 rm -f conftest.$ac_objext
7971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7972 (eval $ac_compile) 2>conftest.er1
7974 grep -v '^ *+' conftest.er1 >conftest.err
7976 cat conftest.err >&5
7977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7978 (exit $ac_status); } &&
7979 { ac_try='test -z "$ac_c_werror_flag"
7980 || test ! -s conftest.err'
7981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7985 (exit $ac_status); }; } &&
7986 { ac_try='test -s conftest.$ac_objext'
7987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7991 (exit $ac_status); }; }; then
7994 echo "$as_me: failed program was:" >&5
7995 sed 's/^/| /' conftest.$ac_ext >&5
7997 ac_lo=`expr '(' $ac_mid ')' + 1`
7999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8002 ?*) ac_cv_sizeof_long=$ac_lo;;
8003 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8004 See \`config.log' for more details." >&5
8005 echo "$as_me: error: cannot compute sizeof (long), 77
8006 See \`config.log' for more details." >&2;}
8007 { (exit 1); exit 1; }; } ;;
8010 if test "$cross_compiling" = yes; then
8011 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8012 See \`config.log' for more details." >&5
8013 echo "$as_me: error: cannot run test program while cross compiling
8014 See \`config.log' for more details." >&2;}
8015 { (exit 1); exit 1; }; }
8017 cat >conftest.$ac_ext <<_ACEOF
8020 cat confdefs.h >>conftest.$ac_ext
8021 cat >>conftest.$ac_ext <<_ACEOF
8022 /* end confdefs.h. */
8023 $ac_includes_default
8024 long longval () { return (long) (sizeof (long)); }
8025 unsigned long ulongval () { return (long) (sizeof (long)); }
8032 FILE *f = fopen ("conftest.val", "w");
8035 if (((long) (sizeof (long))) < 0)
8037 long i = longval ();
8038 if (i != ((long) (sizeof (long))))
8040 fprintf (f, "%ld\n", i);
8044 unsigned long i = ulongval ();
8045 if (i != ((long) (sizeof (long))))
8047 fprintf (f, "%lu\n", i);
8049 exit (ferror (f) || fclose (f) != 0);
8055 rm -f conftest$ac_exeext
8056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8057 (eval $ac_link) 2>&5
8059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8060 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8065 (exit $ac_status); }; }; then
8066 ac_cv_sizeof_long=`cat conftest.val`
8068 echo "$as_me: program exited with status $ac_status" >&5
8069 echo "$as_me: failed program was:" >&5
8070 sed 's/^/| /' conftest.$ac_ext >&5
8073 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8074 See \`config.log' for more details." >&5
8075 echo "$as_me: error: cannot compute sizeof (long), 77
8076 See \`config.log' for more details." >&2;}
8077 { (exit 1); exit 1; }; }
8079 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8087 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
8088 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
8089 cat >>confdefs.h <<_ACEOF
8090 #define SIZEOF_LONG $ac_cv_sizeof_long
8096 if test $acx_cv_header_stdint = stddef.h; then
8097 # Lacking a good header? Test size of everything and deduce all types.
8098 echo "$as_me:$LINENO: checking for int" >&5
8099 echo $ECHO_N "checking for int... $ECHO_C" >&6
8100 if test "${ac_cv_type_int+set}" = set; then
8101 echo $ECHO_N "(cached) $ECHO_C" >&6
8103 cat >conftest.$ac_ext <<_ACEOF
8106 cat confdefs.h >>conftest.$ac_ext
8107 cat >>conftest.$ac_ext <<_ACEOF
8108 /* end confdefs.h. */
8109 $ac_includes_default
8121 rm -f conftest.$ac_objext
8122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8123 (eval $ac_compile) 2>conftest.er1
8125 grep -v '^ *+' conftest.er1 >conftest.err
8127 cat conftest.err >&5
8128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8129 (exit $ac_status); } &&
8130 { ac_try='test -z "$ac_c_werror_flag"
8131 || test ! -s conftest.err'
8132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8136 (exit $ac_status); }; } &&
8137 { ac_try='test -s conftest.$ac_objext'
8138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8142 (exit $ac_status); }; }; then
8145 echo "$as_me: failed program was:" >&5
8146 sed 's/^/| /' conftest.$ac_ext >&5
8150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8152 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
8153 echo "${ECHO_T}$ac_cv_type_int" >&6
8155 echo "$as_me:$LINENO: checking size of int" >&5
8156 echo $ECHO_N "checking size of int... $ECHO_C" >&6
8157 if test "${ac_cv_sizeof_int+set}" = set; then
8158 echo $ECHO_N "(cached) $ECHO_C" >&6
8160 if test "$ac_cv_type_int" = yes; then
8161 # The cast to unsigned long works around a bug in the HP C Compiler
8162 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8163 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8164 # This bug is HP SR number 8606223364.
8165 if test "$cross_compiling" = yes; then
8166 # Depending upon the size, compute the lo and hi bounds.
8167 cat >conftest.$ac_ext <<_ACEOF
8170 cat confdefs.h >>conftest.$ac_ext
8171 cat >>conftest.$ac_ext <<_ACEOF
8172 /* end confdefs.h. */
8173 $ac_includes_default
8177 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
8184 rm -f conftest.$ac_objext
8185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8186 (eval $ac_compile) 2>conftest.er1
8188 grep -v '^ *+' conftest.er1 >conftest.err
8190 cat conftest.err >&5
8191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8192 (exit $ac_status); } &&
8193 { ac_try='test -z "$ac_c_werror_flag"
8194 || test ! -s conftest.err'
8195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199 (exit $ac_status); }; } &&
8200 { ac_try='test -s conftest.$ac_objext'
8201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); }; }; then
8208 cat >conftest.$ac_ext <<_ACEOF
8211 cat confdefs.h >>conftest.$ac_ext
8212 cat >>conftest.$ac_ext <<_ACEOF
8213 /* end confdefs.h. */
8214 $ac_includes_default
8218 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
8225 rm -f conftest.$ac_objext
8226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8227 (eval $ac_compile) 2>conftest.er1
8229 grep -v '^ *+' conftest.er1 >conftest.err
8231 cat conftest.err >&5
8232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8233 (exit $ac_status); } &&
8234 { ac_try='test -z "$ac_c_werror_flag"
8235 || test ! -s conftest.err'
8236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8240 (exit $ac_status); }; } &&
8241 { ac_try='test -s conftest.$ac_objext'
8242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8246 (exit $ac_status); }; }; then
8247 ac_hi=$ac_mid; break
8249 echo "$as_me: failed program was:" >&5
8250 sed 's/^/| /' conftest.$ac_ext >&5
8252 ac_lo=`expr $ac_mid + 1`
8253 if test $ac_lo -le $ac_mid; then
8257 ac_mid=`expr 2 '*' $ac_mid + 1`
8259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8262 echo "$as_me: failed program was:" >&5
8263 sed 's/^/| /' conftest.$ac_ext >&5
8265 cat >conftest.$ac_ext <<_ACEOF
8268 cat confdefs.h >>conftest.$ac_ext
8269 cat >>conftest.$ac_ext <<_ACEOF
8270 /* end confdefs.h. */
8271 $ac_includes_default
8275 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
8282 rm -f conftest.$ac_objext
8283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8284 (eval $ac_compile) 2>conftest.er1
8286 grep -v '^ *+' conftest.er1 >conftest.err
8288 cat conftest.err >&5
8289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8290 (exit $ac_status); } &&
8291 { ac_try='test -z "$ac_c_werror_flag"
8292 || test ! -s conftest.err'
8293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8297 (exit $ac_status); }; } &&
8298 { ac_try='test -s conftest.$ac_objext'
8299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8303 (exit $ac_status); }; }; then
8306 cat >conftest.$ac_ext <<_ACEOF
8309 cat confdefs.h >>conftest.$ac_ext
8310 cat >>conftest.$ac_ext <<_ACEOF
8311 /* end confdefs.h. */
8312 $ac_includes_default
8316 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
8323 rm -f conftest.$ac_objext
8324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8325 (eval $ac_compile) 2>conftest.er1
8327 grep -v '^ *+' conftest.er1 >conftest.err
8329 cat conftest.err >&5
8330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8331 (exit $ac_status); } &&
8332 { ac_try='test -z "$ac_c_werror_flag"
8333 || test ! -s conftest.err'
8334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8338 (exit $ac_status); }; } &&
8339 { ac_try='test -s conftest.$ac_objext'
8340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8344 (exit $ac_status); }; }; then
8345 ac_lo=$ac_mid; break
8347 echo "$as_me: failed program was:" >&5
8348 sed 's/^/| /' conftest.$ac_ext >&5
8350 ac_hi=`expr '(' $ac_mid ')' - 1`
8351 if test $ac_mid -le $ac_hi; then
8355 ac_mid=`expr 2 '*' $ac_mid`
8357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8360 echo "$as_me: failed program was:" >&5
8361 sed 's/^/| /' conftest.$ac_ext >&5
8365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8368 # Binary search between lo and hi bounds.
8369 while test "x$ac_lo" != "x$ac_hi"; do
8370 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8371 cat >conftest.$ac_ext <<_ACEOF
8374 cat confdefs.h >>conftest.$ac_ext
8375 cat >>conftest.$ac_ext <<_ACEOF
8376 /* end confdefs.h. */
8377 $ac_includes_default
8381 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
8388 rm -f conftest.$ac_objext
8389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8390 (eval $ac_compile) 2>conftest.er1
8392 grep -v '^ *+' conftest.er1 >conftest.err
8394 cat conftest.err >&5
8395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8396 (exit $ac_status); } &&
8397 { ac_try='test -z "$ac_c_werror_flag"
8398 || test ! -s conftest.err'
8399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8403 (exit $ac_status); }; } &&
8404 { ac_try='test -s conftest.$ac_objext'
8405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8409 (exit $ac_status); }; }; then
8412 echo "$as_me: failed program was:" >&5
8413 sed 's/^/| /' conftest.$ac_ext >&5
8415 ac_lo=`expr '(' $ac_mid ')' + 1`
8417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8420 ?*) ac_cv_sizeof_int=$ac_lo;;
8421 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8422 See \`config.log' for more details." >&5
8423 echo "$as_me: error: cannot compute sizeof (int), 77
8424 See \`config.log' for more details." >&2;}
8425 { (exit 1); exit 1; }; } ;;
8428 if test "$cross_compiling" = yes; then
8429 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8430 See \`config.log' for more details." >&5
8431 echo "$as_me: error: cannot run test program while cross compiling
8432 See \`config.log' for more details." >&2;}
8433 { (exit 1); exit 1; }; }
8435 cat >conftest.$ac_ext <<_ACEOF
8438 cat confdefs.h >>conftest.$ac_ext
8439 cat >>conftest.$ac_ext <<_ACEOF
8440 /* end confdefs.h. */
8441 $ac_includes_default
8442 long longval () { return (long) (sizeof (int)); }
8443 unsigned long ulongval () { return (long) (sizeof (int)); }
8450 FILE *f = fopen ("conftest.val", "w");
8453 if (((long) (sizeof (int))) < 0)
8455 long i = longval ();
8456 if (i != ((long) (sizeof (int))))
8458 fprintf (f, "%ld\n", i);
8462 unsigned long i = ulongval ();
8463 if (i != ((long) (sizeof (int))))
8465 fprintf (f, "%lu\n", i);
8467 exit (ferror (f) || fclose (f) != 0);
8473 rm -f conftest$ac_exeext
8474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8475 (eval $ac_link) 2>&5
8477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8478 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8483 (exit $ac_status); }; }; then
8484 ac_cv_sizeof_int=`cat conftest.val`
8486 echo "$as_me: program exited with status $ac_status" >&5
8487 echo "$as_me: failed program was:" >&5
8488 sed 's/^/| /' conftest.$ac_ext >&5
8491 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8492 See \`config.log' for more details." >&5
8493 echo "$as_me: error: cannot compute sizeof (int), 77
8494 See \`config.log' for more details." >&2;}
8495 { (exit 1); exit 1; }; }
8497 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8505 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
8506 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
8507 cat >>confdefs.h <<_ACEOF
8508 #define SIZEOF_INT $ac_cv_sizeof_int
8512 echo "$as_me:$LINENO: checking for short" >&5
8513 echo $ECHO_N "checking for short... $ECHO_C" >&6
8514 if test "${ac_cv_type_short+set}" = set; then
8515 echo $ECHO_N "(cached) $ECHO_C" >&6
8517 cat >conftest.$ac_ext <<_ACEOF
8520 cat confdefs.h >>conftest.$ac_ext
8521 cat >>conftest.$ac_ext <<_ACEOF
8522 /* end confdefs.h. */
8523 $ac_includes_default
8535 rm -f conftest.$ac_objext
8536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8537 (eval $ac_compile) 2>conftest.er1
8539 grep -v '^ *+' conftest.er1 >conftest.err
8541 cat conftest.err >&5
8542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8543 (exit $ac_status); } &&
8544 { ac_try='test -z "$ac_c_werror_flag"
8545 || test ! -s conftest.err'
8546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8550 (exit $ac_status); }; } &&
8551 { ac_try='test -s conftest.$ac_objext'
8552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8556 (exit $ac_status); }; }; then
8557 ac_cv_type_short=yes
8559 echo "$as_me: failed program was:" >&5
8560 sed 's/^/| /' conftest.$ac_ext >&5
8564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8566 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
8567 echo "${ECHO_T}$ac_cv_type_short" >&6
8569 echo "$as_me:$LINENO: checking size of short" >&5
8570 echo $ECHO_N "checking size of short... $ECHO_C" >&6
8571 if test "${ac_cv_sizeof_short+set}" = set; then
8572 echo $ECHO_N "(cached) $ECHO_C" >&6
8574 if test "$ac_cv_type_short" = yes; then
8575 # The cast to unsigned long works around a bug in the HP C Compiler
8576 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8577 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8578 # This bug is HP SR number 8606223364.
8579 if test "$cross_compiling" = yes; then
8580 # Depending upon the size, compute the lo and hi bounds.
8581 cat >conftest.$ac_ext <<_ACEOF
8584 cat confdefs.h >>conftest.$ac_ext
8585 cat >>conftest.$ac_ext <<_ACEOF
8586 /* end confdefs.h. */
8587 $ac_includes_default
8591 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
8598 rm -f conftest.$ac_objext
8599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8600 (eval $ac_compile) 2>conftest.er1
8602 grep -v '^ *+' conftest.er1 >conftest.err
8604 cat conftest.err >&5
8605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8606 (exit $ac_status); } &&
8607 { ac_try='test -z "$ac_c_werror_flag"
8608 || test ! -s conftest.err'
8609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8613 (exit $ac_status); }; } &&
8614 { ac_try='test -s conftest.$ac_objext'
8615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8619 (exit $ac_status); }; }; then
8622 cat >conftest.$ac_ext <<_ACEOF
8625 cat confdefs.h >>conftest.$ac_ext
8626 cat >>conftest.$ac_ext <<_ACEOF
8627 /* end confdefs.h. */
8628 $ac_includes_default
8632 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
8639 rm -f conftest.$ac_objext
8640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8641 (eval $ac_compile) 2>conftest.er1
8643 grep -v '^ *+' conftest.er1 >conftest.err
8645 cat conftest.err >&5
8646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8647 (exit $ac_status); } &&
8648 { ac_try='test -z "$ac_c_werror_flag"
8649 || test ! -s conftest.err'
8650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8654 (exit $ac_status); }; } &&
8655 { ac_try='test -s conftest.$ac_objext'
8656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8660 (exit $ac_status); }; }; then
8661 ac_hi=$ac_mid; break
8663 echo "$as_me: failed program was:" >&5
8664 sed 's/^/| /' conftest.$ac_ext >&5
8666 ac_lo=`expr $ac_mid + 1`
8667 if test $ac_lo -le $ac_mid; then
8671 ac_mid=`expr 2 '*' $ac_mid + 1`
8673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8676 echo "$as_me: failed program was:" >&5
8677 sed 's/^/| /' conftest.$ac_ext >&5
8679 cat >conftest.$ac_ext <<_ACEOF
8682 cat confdefs.h >>conftest.$ac_ext
8683 cat >>conftest.$ac_ext <<_ACEOF
8684 /* end confdefs.h. */
8685 $ac_includes_default
8689 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
8696 rm -f conftest.$ac_objext
8697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8698 (eval $ac_compile) 2>conftest.er1
8700 grep -v '^ *+' conftest.er1 >conftest.err
8702 cat conftest.err >&5
8703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8704 (exit $ac_status); } &&
8705 { ac_try='test -z "$ac_c_werror_flag"
8706 || test ! -s conftest.err'
8707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711 (exit $ac_status); }; } &&
8712 { ac_try='test -s conftest.$ac_objext'
8713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); }; }; then
8720 cat >conftest.$ac_ext <<_ACEOF
8723 cat confdefs.h >>conftest.$ac_ext
8724 cat >>conftest.$ac_ext <<_ACEOF
8725 /* end confdefs.h. */
8726 $ac_includes_default
8730 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
8737 rm -f conftest.$ac_objext
8738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8739 (eval $ac_compile) 2>conftest.er1
8741 grep -v '^ *+' conftest.er1 >conftest.err
8743 cat conftest.err >&5
8744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8745 (exit $ac_status); } &&
8746 { ac_try='test -z "$ac_c_werror_flag"
8747 || test ! -s conftest.err'
8748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8752 (exit $ac_status); }; } &&
8753 { ac_try='test -s conftest.$ac_objext'
8754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8758 (exit $ac_status); }; }; then
8759 ac_lo=$ac_mid; break
8761 echo "$as_me: failed program was:" >&5
8762 sed 's/^/| /' conftest.$ac_ext >&5
8764 ac_hi=`expr '(' $ac_mid ')' - 1`
8765 if test $ac_mid -le $ac_hi; then
8769 ac_mid=`expr 2 '*' $ac_mid`
8771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8774 echo "$as_me: failed program was:" >&5
8775 sed 's/^/| /' conftest.$ac_ext >&5
8779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8782 # Binary search between lo and hi bounds.
8783 while test "x$ac_lo" != "x$ac_hi"; do
8784 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8785 cat >conftest.$ac_ext <<_ACEOF
8788 cat confdefs.h >>conftest.$ac_ext
8789 cat >>conftest.$ac_ext <<_ACEOF
8790 /* end confdefs.h. */
8791 $ac_includes_default
8795 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
8802 rm -f conftest.$ac_objext
8803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8804 (eval $ac_compile) 2>conftest.er1
8806 grep -v '^ *+' conftest.er1 >conftest.err
8808 cat conftest.err >&5
8809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8810 (exit $ac_status); } &&
8811 { ac_try='test -z "$ac_c_werror_flag"
8812 || test ! -s conftest.err'
8813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8817 (exit $ac_status); }; } &&
8818 { ac_try='test -s conftest.$ac_objext'
8819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8823 (exit $ac_status); }; }; then
8826 echo "$as_me: failed program was:" >&5
8827 sed 's/^/| /' conftest.$ac_ext >&5
8829 ac_lo=`expr '(' $ac_mid ')' + 1`
8831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8834 ?*) ac_cv_sizeof_short=$ac_lo;;
8835 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
8836 See \`config.log' for more details." >&5
8837 echo "$as_me: error: cannot compute sizeof (short), 77
8838 See \`config.log' for more details." >&2;}
8839 { (exit 1); exit 1; }; } ;;
8842 if test "$cross_compiling" = yes; then
8843 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8844 See \`config.log' for more details." >&5
8845 echo "$as_me: error: cannot run test program while cross compiling
8846 See \`config.log' for more details." >&2;}
8847 { (exit 1); exit 1; }; }
8849 cat >conftest.$ac_ext <<_ACEOF
8852 cat confdefs.h >>conftest.$ac_ext
8853 cat >>conftest.$ac_ext <<_ACEOF
8854 /* end confdefs.h. */
8855 $ac_includes_default
8856 long longval () { return (long) (sizeof (short)); }
8857 unsigned long ulongval () { return (long) (sizeof (short)); }
8864 FILE *f = fopen ("conftest.val", "w");
8867 if (((long) (sizeof (short))) < 0)
8869 long i = longval ();
8870 if (i != ((long) (sizeof (short))))
8872 fprintf (f, "%ld\n", i);
8876 unsigned long i = ulongval ();
8877 if (i != ((long) (sizeof (short))))
8879 fprintf (f, "%lu\n", i);
8881 exit (ferror (f) || fclose (f) != 0);
8887 rm -f conftest$ac_exeext
8888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8889 (eval $ac_link) 2>&5
8891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8892 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8897 (exit $ac_status); }; }; then
8898 ac_cv_sizeof_short=`cat conftest.val`
8900 echo "$as_me: program exited with status $ac_status" >&5
8901 echo "$as_me: failed program was:" >&5
8902 sed 's/^/| /' conftest.$ac_ext >&5
8905 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
8906 See \`config.log' for more details." >&5
8907 echo "$as_me: error: cannot compute sizeof (short), 77
8908 See \`config.log' for more details." >&2;}
8909 { (exit 1); exit 1; }; }
8911 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8916 ac_cv_sizeof_short=0
8919 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
8920 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
8921 cat >>confdefs.h <<_ACEOF
8922 #define SIZEOF_SHORT $ac_cv_sizeof_short
8926 echo "$as_me:$LINENO: checking for char" >&5
8927 echo $ECHO_N "checking for char... $ECHO_C" >&6
8928 if test "${ac_cv_type_char+set}" = set; then
8929 echo $ECHO_N "(cached) $ECHO_C" >&6
8931 cat >conftest.$ac_ext <<_ACEOF
8934 cat confdefs.h >>conftest.$ac_ext
8935 cat >>conftest.$ac_ext <<_ACEOF
8936 /* end confdefs.h. */
8937 $ac_includes_default
8949 rm -f conftest.$ac_objext
8950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8951 (eval $ac_compile) 2>conftest.er1
8953 grep -v '^ *+' conftest.er1 >conftest.err
8955 cat conftest.err >&5
8956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8957 (exit $ac_status); } &&
8958 { ac_try='test -z "$ac_c_werror_flag"
8959 || test ! -s conftest.err'
8960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8964 (exit $ac_status); }; } &&
8965 { ac_try='test -s conftest.$ac_objext'
8966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8970 (exit $ac_status); }; }; then
8973 echo "$as_me: failed program was:" >&5
8974 sed 's/^/| /' conftest.$ac_ext >&5
8978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8980 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
8981 echo "${ECHO_T}$ac_cv_type_char" >&6
8983 echo "$as_me:$LINENO: checking size of char" >&5
8984 echo $ECHO_N "checking size of char... $ECHO_C" >&6
8985 if test "${ac_cv_sizeof_char+set}" = set; then
8986 echo $ECHO_N "(cached) $ECHO_C" >&6
8988 if test "$ac_cv_type_char" = yes; then
8989 # The cast to unsigned long works around a bug in the HP C Compiler
8990 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8991 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8992 # This bug is HP SR number 8606223364.
8993 if test "$cross_compiling" = yes; then
8994 # Depending upon the size, compute the lo and hi bounds.
8995 cat >conftest.$ac_ext <<_ACEOF
8998 cat confdefs.h >>conftest.$ac_ext
8999 cat >>conftest.$ac_ext <<_ACEOF
9000 /* end confdefs.h. */
9001 $ac_includes_default
9005 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
9012 rm -f conftest.$ac_objext
9013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9014 (eval $ac_compile) 2>conftest.er1
9016 grep -v '^ *+' conftest.er1 >conftest.err
9018 cat conftest.err >&5
9019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9020 (exit $ac_status); } &&
9021 { ac_try='test -z "$ac_c_werror_flag"
9022 || test ! -s conftest.err'
9023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027 (exit $ac_status); }; } &&
9028 { ac_try='test -s conftest.$ac_objext'
9029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9033 (exit $ac_status); }; }; then
9036 cat >conftest.$ac_ext <<_ACEOF
9039 cat confdefs.h >>conftest.$ac_ext
9040 cat >>conftest.$ac_ext <<_ACEOF
9041 /* end confdefs.h. */
9042 $ac_includes_default
9046 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
9053 rm -f conftest.$ac_objext
9054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9055 (eval $ac_compile) 2>conftest.er1
9057 grep -v '^ *+' conftest.er1 >conftest.err
9059 cat conftest.err >&5
9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061 (exit $ac_status); } &&
9062 { ac_try='test -z "$ac_c_werror_flag"
9063 || test ! -s conftest.err'
9064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068 (exit $ac_status); }; } &&
9069 { ac_try='test -s conftest.$ac_objext'
9070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074 (exit $ac_status); }; }; then
9075 ac_hi=$ac_mid; break
9077 echo "$as_me: failed program was:" >&5
9078 sed 's/^/| /' conftest.$ac_ext >&5
9080 ac_lo=`expr $ac_mid + 1`
9081 if test $ac_lo -le $ac_mid; then
9085 ac_mid=`expr 2 '*' $ac_mid + 1`
9087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9090 echo "$as_me: failed program was:" >&5
9091 sed 's/^/| /' conftest.$ac_ext >&5
9093 cat >conftest.$ac_ext <<_ACEOF
9096 cat confdefs.h >>conftest.$ac_ext
9097 cat >>conftest.$ac_ext <<_ACEOF
9098 /* end confdefs.h. */
9099 $ac_includes_default
9103 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
9110 rm -f conftest.$ac_objext
9111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9112 (eval $ac_compile) 2>conftest.er1
9114 grep -v '^ *+' conftest.er1 >conftest.err
9116 cat conftest.err >&5
9117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9118 (exit $ac_status); } &&
9119 { ac_try='test -z "$ac_c_werror_flag"
9120 || test ! -s conftest.err'
9121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9125 (exit $ac_status); }; } &&
9126 { ac_try='test -s conftest.$ac_objext'
9127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9131 (exit $ac_status); }; }; then
9134 cat >conftest.$ac_ext <<_ACEOF
9137 cat confdefs.h >>conftest.$ac_ext
9138 cat >>conftest.$ac_ext <<_ACEOF
9139 /* end confdefs.h. */
9140 $ac_includes_default
9144 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
9151 rm -f conftest.$ac_objext
9152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9153 (eval $ac_compile) 2>conftest.er1
9155 grep -v '^ *+' conftest.er1 >conftest.err
9157 cat conftest.err >&5
9158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9159 (exit $ac_status); } &&
9160 { ac_try='test -z "$ac_c_werror_flag"
9161 || test ! -s conftest.err'
9162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9166 (exit $ac_status); }; } &&
9167 { ac_try='test -s conftest.$ac_objext'
9168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9172 (exit $ac_status); }; }; then
9173 ac_lo=$ac_mid; break
9175 echo "$as_me: failed program was:" >&5
9176 sed 's/^/| /' conftest.$ac_ext >&5
9178 ac_hi=`expr '(' $ac_mid ')' - 1`
9179 if test $ac_mid -le $ac_hi; then
9183 ac_mid=`expr 2 '*' $ac_mid`
9185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9188 echo "$as_me: failed program was:" >&5
9189 sed 's/^/| /' conftest.$ac_ext >&5
9193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9196 # Binary search between lo and hi bounds.
9197 while test "x$ac_lo" != "x$ac_hi"; do
9198 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9199 cat >conftest.$ac_ext <<_ACEOF
9202 cat confdefs.h >>conftest.$ac_ext
9203 cat >>conftest.$ac_ext <<_ACEOF
9204 /* end confdefs.h. */
9205 $ac_includes_default
9209 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
9216 rm -f conftest.$ac_objext
9217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9218 (eval $ac_compile) 2>conftest.er1
9220 grep -v '^ *+' conftest.er1 >conftest.err
9222 cat conftest.err >&5
9223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9224 (exit $ac_status); } &&
9225 { ac_try='test -z "$ac_c_werror_flag"
9226 || test ! -s conftest.err'
9227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9231 (exit $ac_status); }; } &&
9232 { ac_try='test -s conftest.$ac_objext'
9233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9237 (exit $ac_status); }; }; then
9240 echo "$as_me: failed program was:" >&5
9241 sed 's/^/| /' conftest.$ac_ext >&5
9243 ac_lo=`expr '(' $ac_mid ')' + 1`
9245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9248 ?*) ac_cv_sizeof_char=$ac_lo;;
9249 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
9250 See \`config.log' for more details." >&5
9251 echo "$as_me: error: cannot compute sizeof (char), 77
9252 See \`config.log' for more details." >&2;}
9253 { (exit 1); exit 1; }; } ;;
9256 if test "$cross_compiling" = yes; then
9257 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9258 See \`config.log' for more details." >&5
9259 echo "$as_me: error: cannot run test program while cross compiling
9260 See \`config.log' for more details." >&2;}
9261 { (exit 1); exit 1; }; }
9263 cat >conftest.$ac_ext <<_ACEOF
9266 cat confdefs.h >>conftest.$ac_ext
9267 cat >>conftest.$ac_ext <<_ACEOF
9268 /* end confdefs.h. */
9269 $ac_includes_default
9270 long longval () { return (long) (sizeof (char)); }
9271 unsigned long ulongval () { return (long) (sizeof (char)); }
9278 FILE *f = fopen ("conftest.val", "w");
9281 if (((long) (sizeof (char))) < 0)
9283 long i = longval ();
9284 if (i != ((long) (sizeof (char))))
9286 fprintf (f, "%ld\n", i);
9290 unsigned long i = ulongval ();
9291 if (i != ((long) (sizeof (char))))
9293 fprintf (f, "%lu\n", i);
9295 exit (ferror (f) || fclose (f) != 0);
9301 rm -f conftest$ac_exeext
9302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9303 (eval $ac_link) 2>&5
9305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9306 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9311 (exit $ac_status); }; }; then
9312 ac_cv_sizeof_char=`cat conftest.val`
9314 echo "$as_me: program exited with status $ac_status" >&5
9315 echo "$as_me: failed program was:" >&5
9316 sed 's/^/| /' conftest.$ac_ext >&5
9319 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
9320 See \`config.log' for more details." >&5
9321 echo "$as_me: error: cannot compute sizeof (char), 77
9322 See \`config.log' for more details." >&2;}
9323 { (exit 1); exit 1; }; }
9325 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9333 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
9334 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
9335 cat >>confdefs.h <<_ACEOF
9336 #define SIZEOF_CHAR $ac_cv_sizeof_char
9341 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
9342 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
9343 case "$ac_cv_sizeof_char" in
9344 1) acx_cv_type_int8_t=char ;;
9345 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
9346 echo "$as_me: error: no 8-bit type" >&2;}
9347 { (exit please report a bug); exit please report a bug; }; }
9349 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
9350 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
9352 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
9353 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
9354 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
9355 2:*) acx_cv_type_int16_t=int ;;
9356 *:2) acx_cv_type_int16_t=short ;;
9357 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
9358 echo "$as_me: error: no 16-bit type" >&2;}
9359 { (exit please report a bug); exit please report a bug; }; }
9361 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
9362 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
9364 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
9365 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
9366 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
9367 4:*) acx_cv_type_int32_t=int ;;
9368 *:4) acx_cv_type_int32_t=long ;;
9369 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
9370 echo "$as_me: error: no 32-bit type" >&2;}
9371 { (exit please report a bug); exit please report a bug; }; }
9373 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
9374 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
9377 # These tests are here to make the output prettier
9379 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
9380 case "$ac_cv_sizeof_long" in
9381 8) acx_cv_type_int64_t=long ;;
9383 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
9384 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
9385 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
9386 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
9389 # Now we can use the above types
9391 if test "$ac_cv_type_uintptr_t" != yes; then
9392 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
9393 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
9394 case $ac_cv_sizeof_void_p in
9395 2) acx_cv_type_intptr_t=int16_t ;;
9396 4) acx_cv_type_intptr_t=int32_t ;;
9397 8) acx_cv_type_intptr_t=int64_t ;;
9398 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
9399 echo "$as_me: error: no equivalent for intptr_t" >&2;}
9400 { (exit please report a bug); exit please report a bug; }; }
9402 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
9403 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
9406 # ----------------- done all checks, emit header -------------
9407 ac_config_commands="$ac_config_commands gstdint.h"
9412 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
9413 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
9414 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
9415 echo $ECHO_N "(cached) $ECHO_C" >&6
9417 cat >conftest.$ac_ext <<_ACEOF
9420 cat confdefs.h >>conftest.$ac_ext
9421 cat >>conftest.$ac_ext <<_ACEOF
9422 /* end confdefs.h. */
9423 $ac_includes_default
9427 static struct stat ac_aggr;
9428 if (ac_aggr.st_blksize)
9434 rm -f conftest.$ac_objext
9435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9436 (eval $ac_compile) 2>conftest.er1
9438 grep -v '^ *+' conftest.er1 >conftest.err
9440 cat conftest.err >&5
9441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9442 (exit $ac_status); } &&
9443 { ac_try='test -z "$ac_c_werror_flag"
9444 || test ! -s conftest.err'
9445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9449 (exit $ac_status); }; } &&
9450 { ac_try='test -s conftest.$ac_objext'
9451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9455 (exit $ac_status); }; }; then
9456 ac_cv_member_struct_stat_st_blksize=yes
9458 echo "$as_me: failed program was:" >&5
9459 sed 's/^/| /' conftest.$ac_ext >&5
9461 cat >conftest.$ac_ext <<_ACEOF
9464 cat confdefs.h >>conftest.$ac_ext
9465 cat >>conftest.$ac_ext <<_ACEOF
9466 /* end confdefs.h. */
9467 $ac_includes_default
9471 static struct stat ac_aggr;
9472 if (sizeof ac_aggr.st_blksize)
9478 rm -f conftest.$ac_objext
9479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9480 (eval $ac_compile) 2>conftest.er1
9482 grep -v '^ *+' conftest.er1 >conftest.err
9484 cat conftest.err >&5
9485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9486 (exit $ac_status); } &&
9487 { ac_try='test -z "$ac_c_werror_flag"
9488 || test ! -s conftest.err'
9489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9493 (exit $ac_status); }; } &&
9494 { ac_try='test -s conftest.$ac_objext'
9495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9499 (exit $ac_status); }; }; then
9500 ac_cv_member_struct_stat_st_blksize=yes
9502 echo "$as_me: failed program was:" >&5
9503 sed 's/^/| /' conftest.$ac_ext >&5
9505 ac_cv_member_struct_stat_st_blksize=no
9507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9511 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
9512 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
9513 if test $ac_cv_member_struct_stat_st_blksize = yes; then
9515 cat >>confdefs.h <<_ACEOF
9516 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
9522 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
9523 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
9524 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
9525 echo $ECHO_N "(cached) $ECHO_C" >&6
9527 cat >conftest.$ac_ext <<_ACEOF
9530 cat confdefs.h >>conftest.$ac_ext
9531 cat >>conftest.$ac_ext <<_ACEOF
9532 /* end confdefs.h. */
9533 $ac_includes_default
9537 static struct stat ac_aggr;
9538 if (ac_aggr.st_blocks)
9544 rm -f conftest.$ac_objext
9545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9546 (eval $ac_compile) 2>conftest.er1
9548 grep -v '^ *+' conftest.er1 >conftest.err
9550 cat conftest.err >&5
9551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9552 (exit $ac_status); } &&
9553 { ac_try='test -z "$ac_c_werror_flag"
9554 || test ! -s conftest.err'
9555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9559 (exit $ac_status); }; } &&
9560 { ac_try='test -s conftest.$ac_objext'
9561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9565 (exit $ac_status); }; }; then
9566 ac_cv_member_struct_stat_st_blocks=yes
9568 echo "$as_me: failed program was:" >&5
9569 sed 's/^/| /' conftest.$ac_ext >&5
9571 cat >conftest.$ac_ext <<_ACEOF
9574 cat confdefs.h >>conftest.$ac_ext
9575 cat >>conftest.$ac_ext <<_ACEOF
9576 /* end confdefs.h. */
9577 $ac_includes_default
9581 static struct stat ac_aggr;
9582 if (sizeof ac_aggr.st_blocks)
9588 rm -f conftest.$ac_objext
9589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9590 (eval $ac_compile) 2>conftest.er1
9592 grep -v '^ *+' conftest.er1 >conftest.err
9594 cat conftest.err >&5
9595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9596 (exit $ac_status); } &&
9597 { ac_try='test -z "$ac_c_werror_flag"
9598 || test ! -s conftest.err'
9599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9603 (exit $ac_status); }; } &&
9604 { ac_try='test -s conftest.$ac_objext'
9605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9609 (exit $ac_status); }; }; then
9610 ac_cv_member_struct_stat_st_blocks=yes
9612 echo "$as_me: failed program was:" >&5
9613 sed 's/^/| /' conftest.$ac_ext >&5
9615 ac_cv_member_struct_stat_st_blocks=no
9617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9621 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
9622 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
9623 if test $ac_cv_member_struct_stat_st_blocks = yes; then
9625 cat >>confdefs.h <<_ACEOF
9626 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
9632 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
9633 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
9634 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
9635 echo $ECHO_N "(cached) $ECHO_C" >&6
9637 cat >conftest.$ac_ext <<_ACEOF
9640 cat confdefs.h >>conftest.$ac_ext
9641 cat >>conftest.$ac_ext <<_ACEOF
9642 /* end confdefs.h. */
9643 $ac_includes_default
9647 static struct stat ac_aggr;
9648 if (ac_aggr.st_rdev)
9654 rm -f conftest.$ac_objext
9655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9656 (eval $ac_compile) 2>conftest.er1
9658 grep -v '^ *+' conftest.er1 >conftest.err
9660 cat conftest.err >&5
9661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9662 (exit $ac_status); } &&
9663 { ac_try='test -z "$ac_c_werror_flag"
9664 || test ! -s conftest.err'
9665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9669 (exit $ac_status); }; } &&
9670 { ac_try='test -s conftest.$ac_objext'
9671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9675 (exit $ac_status); }; }; then
9676 ac_cv_member_struct_stat_st_rdev=yes
9678 echo "$as_me: failed program was:" >&5
9679 sed 's/^/| /' conftest.$ac_ext >&5
9681 cat >conftest.$ac_ext <<_ACEOF
9684 cat confdefs.h >>conftest.$ac_ext
9685 cat >>conftest.$ac_ext <<_ACEOF
9686 /* end confdefs.h. */
9687 $ac_includes_default
9691 static struct stat ac_aggr;
9692 if (sizeof ac_aggr.st_rdev)
9698 rm -f conftest.$ac_objext
9699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9700 (eval $ac_compile) 2>conftest.er1
9702 grep -v '^ *+' conftest.er1 >conftest.err
9704 cat conftest.err >&5
9705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9706 (exit $ac_status); } &&
9707 { ac_try='test -z "$ac_c_werror_flag"
9708 || test ! -s conftest.err'
9709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9713 (exit $ac_status); }; } &&
9714 { ac_try='test -s conftest.$ac_objext'
9715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9719 (exit $ac_status); }; }; then
9720 ac_cv_member_struct_stat_st_rdev=yes
9722 echo "$as_me: failed program was:" >&5
9723 sed 's/^/| /' conftest.$ac_ext >&5
9725 ac_cv_member_struct_stat_st_rdev=no
9727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9731 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
9732 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
9733 if test $ac_cv_member_struct_stat_st_rdev = yes; then
9735 cat >>confdefs.h <<_ACEOF
9736 #define HAVE_STRUCT_STAT_ST_RDEV 1
9743 # Check for library functions.
9752 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
9754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9755 echo "$as_me:$LINENO: checking for $ac_func" >&5
9756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9757 if eval "test \"\${$as_ac_var+set}\" = set"; then
9758 echo $ECHO_N "(cached) $ECHO_C" >&6
9760 if test x$gcc_no_link = xyes; then
9761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9763 { (exit 1); exit 1; }; }
9765 cat >conftest.$ac_ext <<_ACEOF
9768 cat confdefs.h >>conftest.$ac_ext
9769 cat >>conftest.$ac_ext <<_ACEOF
9770 /* end confdefs.h. */
9771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9773 #define $ac_func innocuous_$ac_func
9775 /* System header to define __stub macros and hopefully few prototypes,
9776 which can conflict with char $ac_func (); below.
9777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9778 <limits.h> exists even on freestanding compilers. */
9781 # include <limits.h>
9783 # include <assert.h>
9788 /* Override any gcc2 internal prototype to avoid an error. */
9793 /* We use char because int might match the return type of a gcc2
9794 builtin and then its argument prototype would still apply. */
9796 /* The GNU C library defines this for functions which it implements
9797 to always fail with ENOSYS. Some functions are actually named
9798 something starting with __ and the normal name is an alias. */
9799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9802 char (*f) () = $ac_func;
9811 return f != $ac_func;
9816 rm -f conftest.$ac_objext conftest$ac_exeext
9817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9818 (eval $ac_link) 2>conftest.er1
9820 grep -v '^ *+' conftest.er1 >conftest.err
9822 cat conftest.err >&5
9823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9824 (exit $ac_status); } &&
9825 { ac_try='test -z "$ac_c_werror_flag"
9826 || test ! -s conftest.err'
9827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9831 (exit $ac_status); }; } &&
9832 { ac_try='test -s conftest$ac_exeext'
9833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9837 (exit $ac_status); }; }; then
9838 eval "$as_ac_var=yes"
9840 echo "$as_me: failed program was:" >&5
9841 sed 's/^/| /' conftest.$ac_ext >&5
9843 eval "$as_ac_var=no"
9845 rm -f conftest.err conftest.$ac_objext \
9846 conftest$ac_exeext conftest.$ac_ext
9848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9850 if test `eval echo '${'$as_ac_var'}'` = yes; then
9851 cat >>confdefs.h <<_ACEOF
9852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9866 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
9868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9869 echo "$as_me:$LINENO: checking for $ac_func" >&5
9870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9871 if eval "test \"\${$as_ac_var+set}\" = set"; then
9872 echo $ECHO_N "(cached) $ECHO_C" >&6
9874 if test x$gcc_no_link = xyes; then
9875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9877 { (exit 1); exit 1; }; }
9879 cat >conftest.$ac_ext <<_ACEOF
9882 cat confdefs.h >>conftest.$ac_ext
9883 cat >>conftest.$ac_ext <<_ACEOF
9884 /* end confdefs.h. */
9885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9887 #define $ac_func innocuous_$ac_func
9889 /* System header to define __stub macros and hopefully few prototypes,
9890 which can conflict with char $ac_func (); below.
9891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9892 <limits.h> exists even on freestanding compilers. */
9895 # include <limits.h>
9897 # include <assert.h>
9902 /* Override any gcc2 internal prototype to avoid an error. */
9907 /* We use char because int might match the return type of a gcc2
9908 builtin and then its argument prototype would still apply. */
9910 /* The GNU C library defines this for functions which it implements
9911 to always fail with ENOSYS. Some functions are actually named
9912 something starting with __ and the normal name is an alias. */
9913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9916 char (*f) () = $ac_func;
9925 return f != $ac_func;
9930 rm -f conftest.$ac_objext conftest$ac_exeext
9931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9932 (eval $ac_link) 2>conftest.er1
9934 grep -v '^ *+' conftest.er1 >conftest.err
9936 cat conftest.err >&5
9937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9938 (exit $ac_status); } &&
9939 { ac_try='test -z "$ac_c_werror_flag"
9940 || test ! -s conftest.err'
9941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9945 (exit $ac_status); }; } &&
9946 { ac_try='test -s conftest$ac_exeext'
9947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9951 (exit $ac_status); }; }; then
9952 eval "$as_ac_var=yes"
9954 echo "$as_me: failed program was:" >&5
9955 sed 's/^/| /' conftest.$ac_ext >&5
9957 eval "$as_ac_var=no"
9959 rm -f conftest.err conftest.$ac_objext \
9960 conftest$ac_exeext conftest.$ac_ext
9962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9964 if test `eval echo '${'$as_ac_var'}'` = yes; then
9965 cat >>confdefs.h <<_ACEOF
9966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9978 for ac_func in sleep time ttyname signal alarm ctime
9980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9981 echo "$as_me:$LINENO: checking for $ac_func" >&5
9982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9983 if eval "test \"\${$as_ac_var+set}\" = set"; then
9984 echo $ECHO_N "(cached) $ECHO_C" >&6
9986 if test x$gcc_no_link = xyes; then
9987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9989 { (exit 1); exit 1; }; }
9991 cat >conftest.$ac_ext <<_ACEOF
9994 cat confdefs.h >>conftest.$ac_ext
9995 cat >>conftest.$ac_ext <<_ACEOF
9996 /* end confdefs.h. */
9997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9999 #define $ac_func innocuous_$ac_func
10001 /* System header to define __stub macros and hopefully few prototypes,
10002 which can conflict with char $ac_func (); below.
10003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10004 <limits.h> exists even on freestanding compilers. */
10007 # include <limits.h>
10009 # include <assert.h>
10014 /* Override any gcc2 internal prototype to avoid an error. */
10019 /* We use char because int might match the return type of a gcc2
10020 builtin and then its argument prototype would still apply. */
10022 /* The GNU C library defines this for functions which it implements
10023 to always fail with ENOSYS. Some functions are actually named
10024 something starting with __ and the normal name is an alias. */
10025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10028 char (*f) () = $ac_func;
10037 return f != $ac_func;
10042 rm -f conftest.$ac_objext conftest$ac_exeext
10043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10044 (eval $ac_link) 2>conftest.er1
10046 grep -v '^ *+' conftest.er1 >conftest.err
10048 cat conftest.err >&5
10049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050 (exit $ac_status); } &&
10051 { ac_try='test -z "$ac_c_werror_flag"
10052 || test ! -s conftest.err'
10053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10054 (eval $ac_try) 2>&5
10056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10057 (exit $ac_status); }; } &&
10058 { ac_try='test -s conftest$ac_exeext'
10059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10060 (eval $ac_try) 2>&5
10062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10063 (exit $ac_status); }; }; then
10064 eval "$as_ac_var=yes"
10066 echo "$as_me: failed program was:" >&5
10067 sed 's/^/| /' conftest.$ac_ext >&5
10069 eval "$as_ac_var=no"
10071 rm -f conftest.err conftest.$ac_objext \
10072 conftest$ac_exeext conftest.$ac_ext
10074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10076 if test `eval echo '${'$as_ac_var'}'` = yes; then
10077 cat >>confdefs.h <<_ACEOF
10078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10085 # Check libc for getgid, getpid, getuid
10086 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
10087 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
10088 if test "${ac_cv_lib_c_getgid+set}" = set; then
10089 echo $ECHO_N "(cached) $ECHO_C" >&6
10091 ac_check_lib_save_LIBS=$LIBS
10093 if test x$gcc_no_link = xyes; then
10094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10096 { (exit 1); exit 1; }; }
10098 cat >conftest.$ac_ext <<_ACEOF
10101 cat confdefs.h >>conftest.$ac_ext
10102 cat >>conftest.$ac_ext <<_ACEOF
10103 /* end confdefs.h. */
10105 /* Override any gcc2 internal prototype to avoid an error. */
10109 /* We use char because int might match the return type of a gcc2
10110 builtin and then its argument prototype would still apply. */
10120 rm -f conftest.$ac_objext conftest$ac_exeext
10121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10122 (eval $ac_link) 2>conftest.er1
10124 grep -v '^ *+' conftest.er1 >conftest.err
10126 cat conftest.err >&5
10127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10128 (exit $ac_status); } &&
10129 { ac_try='test -z "$ac_c_werror_flag"
10130 || test ! -s conftest.err'
10131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10132 (eval $ac_try) 2>&5
10134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10135 (exit $ac_status); }; } &&
10136 { ac_try='test -s conftest$ac_exeext'
10137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10138 (eval $ac_try) 2>&5
10140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10141 (exit $ac_status); }; }; then
10142 ac_cv_lib_c_getgid=yes
10144 echo "$as_me: failed program was:" >&5
10145 sed 's/^/| /' conftest.$ac_ext >&5
10147 ac_cv_lib_c_getgid=no
10149 rm -f conftest.err conftest.$ac_objext \
10150 conftest$ac_exeext conftest.$ac_ext
10151 LIBS=$ac_check_lib_save_LIBS
10153 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
10154 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
10155 if test $ac_cv_lib_c_getgid = yes; then
10157 cat >>confdefs.h <<\_ACEOF
10158 #define HAVE_GETGID 1
10163 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
10164 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
10165 if test "${ac_cv_lib_c_getpid+set}" = set; then
10166 echo $ECHO_N "(cached) $ECHO_C" >&6
10168 ac_check_lib_save_LIBS=$LIBS
10170 if test x$gcc_no_link = xyes; then
10171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10173 { (exit 1); exit 1; }; }
10175 cat >conftest.$ac_ext <<_ACEOF
10178 cat confdefs.h >>conftest.$ac_ext
10179 cat >>conftest.$ac_ext <<_ACEOF
10180 /* end confdefs.h. */
10182 /* Override any gcc2 internal prototype to avoid an error. */
10186 /* We use char because int might match the return type of a gcc2
10187 builtin and then its argument prototype would still apply. */
10197 rm -f conftest.$ac_objext conftest$ac_exeext
10198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10199 (eval $ac_link) 2>conftest.er1
10201 grep -v '^ *+' conftest.er1 >conftest.err
10203 cat conftest.err >&5
10204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10205 (exit $ac_status); } &&
10206 { ac_try='test -z "$ac_c_werror_flag"
10207 || test ! -s conftest.err'
10208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10209 (eval $ac_try) 2>&5
10211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10212 (exit $ac_status); }; } &&
10213 { ac_try='test -s conftest$ac_exeext'
10214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10215 (eval $ac_try) 2>&5
10217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10218 (exit $ac_status); }; }; then
10219 ac_cv_lib_c_getpid=yes
10221 echo "$as_me: failed program was:" >&5
10222 sed 's/^/| /' conftest.$ac_ext >&5
10224 ac_cv_lib_c_getpid=no
10226 rm -f conftest.err conftest.$ac_objext \
10227 conftest$ac_exeext conftest.$ac_ext
10228 LIBS=$ac_check_lib_save_LIBS
10230 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
10231 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
10232 if test $ac_cv_lib_c_getpid = yes; then
10234 cat >>confdefs.h <<\_ACEOF
10235 #define HAVE_GETPID 1
10240 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
10241 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
10242 if test "${ac_cv_lib_c_getuid+set}" = set; then
10243 echo $ECHO_N "(cached) $ECHO_C" >&6
10245 ac_check_lib_save_LIBS=$LIBS
10247 if test x$gcc_no_link = xyes; then
10248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10250 { (exit 1); exit 1; }; }
10252 cat >conftest.$ac_ext <<_ACEOF
10255 cat confdefs.h >>conftest.$ac_ext
10256 cat >>conftest.$ac_ext <<_ACEOF
10257 /* end confdefs.h. */
10259 /* Override any gcc2 internal prototype to avoid an error. */
10263 /* We use char because int might match the return type of a gcc2
10264 builtin and then its argument prototype would still apply. */
10274 rm -f conftest.$ac_objext conftest$ac_exeext
10275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10276 (eval $ac_link) 2>conftest.er1
10278 grep -v '^ *+' conftest.er1 >conftest.err
10280 cat conftest.err >&5
10281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10282 (exit $ac_status); } &&
10283 { ac_try='test -z "$ac_c_werror_flag"
10284 || test ! -s conftest.err'
10285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10286 (eval $ac_try) 2>&5
10288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10289 (exit $ac_status); }; } &&
10290 { ac_try='test -s conftest$ac_exeext'
10291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10292 (eval $ac_try) 2>&5
10294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10295 (exit $ac_status); }; }; then
10296 ac_cv_lib_c_getuid=yes
10298 echo "$as_me: failed program was:" >&5
10299 sed 's/^/| /' conftest.$ac_ext >&5
10301 ac_cv_lib_c_getuid=no
10303 rm -f conftest.err conftest.$ac_objext \
10304 conftest$ac_exeext conftest.$ac_ext
10305 LIBS=$ac_check_lib_save_LIBS
10307 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
10308 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
10309 if test $ac_cv_lib_c_getuid = yes; then
10311 cat >>confdefs.h <<\_ACEOF
10312 #define HAVE_GETUID 1
10318 # Check for C99 (and other IEEE) math functions
10319 # ??? This list seems awful long. Is there a better way to test for these?
10320 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
10321 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
10322 if test "${ac_cv_lib_m_acosf+set}" = set; then
10323 echo $ECHO_N "(cached) $ECHO_C" >&6
10325 ac_check_lib_save_LIBS=$LIBS
10327 if test x$gcc_no_link = xyes; then
10328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10330 { (exit 1); exit 1; }; }
10332 cat >conftest.$ac_ext <<_ACEOF
10335 cat confdefs.h >>conftest.$ac_ext
10336 cat >>conftest.$ac_ext <<_ACEOF
10337 /* end confdefs.h. */
10339 /* Override any gcc2 internal prototype to avoid an error. */
10343 /* We use char because int might match the return type of a gcc2
10344 builtin and then its argument prototype would still apply. */
10354 rm -f conftest.$ac_objext conftest$ac_exeext
10355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10356 (eval $ac_link) 2>conftest.er1
10358 grep -v '^ *+' conftest.er1 >conftest.err
10360 cat conftest.err >&5
10361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10362 (exit $ac_status); } &&
10363 { ac_try='test -z "$ac_c_werror_flag"
10364 || test ! -s conftest.err'
10365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10366 (eval $ac_try) 2>&5
10368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10369 (exit $ac_status); }; } &&
10370 { ac_try='test -s conftest$ac_exeext'
10371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10372 (eval $ac_try) 2>&5
10374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10375 (exit $ac_status); }; }; then
10376 ac_cv_lib_m_acosf=yes
10378 echo "$as_me: failed program was:" >&5
10379 sed 's/^/| /' conftest.$ac_ext >&5
10381 ac_cv_lib_m_acosf=no
10383 rm -f conftest.err conftest.$ac_objext \
10384 conftest$ac_exeext conftest.$ac_ext
10385 LIBS=$ac_check_lib_save_LIBS
10387 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
10388 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
10389 if test $ac_cv_lib_m_acosf = yes; then
10391 cat >>confdefs.h <<\_ACEOF
10392 #define HAVE_ACOSF 1
10397 echo "$as_me:$LINENO: checking for acos in -lm" >&5
10398 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
10399 if test "${ac_cv_lib_m_acos+set}" = set; then
10400 echo $ECHO_N "(cached) $ECHO_C" >&6
10402 ac_check_lib_save_LIBS=$LIBS
10404 if test x$gcc_no_link = xyes; then
10405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10407 { (exit 1); exit 1; }; }
10409 cat >conftest.$ac_ext <<_ACEOF
10412 cat confdefs.h >>conftest.$ac_ext
10413 cat >>conftest.$ac_ext <<_ACEOF
10414 /* end confdefs.h. */
10416 /* Override any gcc2 internal prototype to avoid an error. */
10420 /* We use char because int might match the return type of a gcc2
10421 builtin and then its argument prototype would still apply. */
10431 rm -f conftest.$ac_objext conftest$ac_exeext
10432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10433 (eval $ac_link) 2>conftest.er1
10435 grep -v '^ *+' conftest.er1 >conftest.err
10437 cat conftest.err >&5
10438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10439 (exit $ac_status); } &&
10440 { ac_try='test -z "$ac_c_werror_flag"
10441 || test ! -s conftest.err'
10442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10443 (eval $ac_try) 2>&5
10445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10446 (exit $ac_status); }; } &&
10447 { ac_try='test -s conftest$ac_exeext'
10448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10449 (eval $ac_try) 2>&5
10451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10452 (exit $ac_status); }; }; then
10453 ac_cv_lib_m_acos=yes
10455 echo "$as_me: failed program was:" >&5
10456 sed 's/^/| /' conftest.$ac_ext >&5
10458 ac_cv_lib_m_acos=no
10460 rm -f conftest.err conftest.$ac_objext \
10461 conftest$ac_exeext conftest.$ac_ext
10462 LIBS=$ac_check_lib_save_LIBS
10464 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
10465 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
10466 if test $ac_cv_lib_m_acos = yes; then
10468 cat >>confdefs.h <<\_ACEOF
10469 #define HAVE_ACOS 1
10474 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
10475 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
10476 if test "${ac_cv_lib_m_acosl+set}" = set; then
10477 echo $ECHO_N "(cached) $ECHO_C" >&6
10479 ac_check_lib_save_LIBS=$LIBS
10481 if test x$gcc_no_link = xyes; then
10482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10484 { (exit 1); exit 1; }; }
10486 cat >conftest.$ac_ext <<_ACEOF
10489 cat confdefs.h >>conftest.$ac_ext
10490 cat >>conftest.$ac_ext <<_ACEOF
10491 /* end confdefs.h. */
10493 /* Override any gcc2 internal prototype to avoid an error. */
10497 /* We use char because int might match the return type of a gcc2
10498 builtin and then its argument prototype would still apply. */
10508 rm -f conftest.$ac_objext conftest$ac_exeext
10509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10510 (eval $ac_link) 2>conftest.er1
10512 grep -v '^ *+' conftest.er1 >conftest.err
10514 cat conftest.err >&5
10515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10516 (exit $ac_status); } &&
10517 { ac_try='test -z "$ac_c_werror_flag"
10518 || test ! -s conftest.err'
10519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10520 (eval $ac_try) 2>&5
10522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10523 (exit $ac_status); }; } &&
10524 { ac_try='test -s conftest$ac_exeext'
10525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10526 (eval $ac_try) 2>&5
10528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10529 (exit $ac_status); }; }; then
10530 ac_cv_lib_m_acosl=yes
10532 echo "$as_me: failed program was:" >&5
10533 sed 's/^/| /' conftest.$ac_ext >&5
10535 ac_cv_lib_m_acosl=no
10537 rm -f conftest.err conftest.$ac_objext \
10538 conftest$ac_exeext conftest.$ac_ext
10539 LIBS=$ac_check_lib_save_LIBS
10541 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
10542 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
10543 if test $ac_cv_lib_m_acosl = yes; then
10545 cat >>confdefs.h <<\_ACEOF
10546 #define HAVE_ACOSL 1
10551 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
10552 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
10553 if test "${ac_cv_lib_m_acoshf+set}" = set; then
10554 echo $ECHO_N "(cached) $ECHO_C" >&6
10556 ac_check_lib_save_LIBS=$LIBS
10558 if test x$gcc_no_link = xyes; then
10559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10561 { (exit 1); exit 1; }; }
10563 cat >conftest.$ac_ext <<_ACEOF
10566 cat confdefs.h >>conftest.$ac_ext
10567 cat >>conftest.$ac_ext <<_ACEOF
10568 /* end confdefs.h. */
10570 /* Override any gcc2 internal prototype to avoid an error. */
10574 /* We use char because int might match the return type of a gcc2
10575 builtin and then its argument prototype would still apply. */
10585 rm -f conftest.$ac_objext conftest$ac_exeext
10586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10587 (eval $ac_link) 2>conftest.er1
10589 grep -v '^ *+' conftest.er1 >conftest.err
10591 cat conftest.err >&5
10592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10593 (exit $ac_status); } &&
10594 { ac_try='test -z "$ac_c_werror_flag"
10595 || test ! -s conftest.err'
10596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10597 (eval $ac_try) 2>&5
10599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10600 (exit $ac_status); }; } &&
10601 { ac_try='test -s conftest$ac_exeext'
10602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10603 (eval $ac_try) 2>&5
10605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10606 (exit $ac_status); }; }; then
10607 ac_cv_lib_m_acoshf=yes
10609 echo "$as_me: failed program was:" >&5
10610 sed 's/^/| /' conftest.$ac_ext >&5
10612 ac_cv_lib_m_acoshf=no
10614 rm -f conftest.err conftest.$ac_objext \
10615 conftest$ac_exeext conftest.$ac_ext
10616 LIBS=$ac_check_lib_save_LIBS
10618 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
10619 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
10620 if test $ac_cv_lib_m_acoshf = yes; then
10622 cat >>confdefs.h <<\_ACEOF
10623 #define HAVE_ACOSHF 1
10628 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
10629 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
10630 if test "${ac_cv_lib_m_acosh+set}" = set; then
10631 echo $ECHO_N "(cached) $ECHO_C" >&6
10633 ac_check_lib_save_LIBS=$LIBS
10635 if test x$gcc_no_link = xyes; then
10636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10638 { (exit 1); exit 1; }; }
10640 cat >conftest.$ac_ext <<_ACEOF
10643 cat confdefs.h >>conftest.$ac_ext
10644 cat >>conftest.$ac_ext <<_ACEOF
10645 /* end confdefs.h. */
10647 /* Override any gcc2 internal prototype to avoid an error. */
10651 /* We use char because int might match the return type of a gcc2
10652 builtin and then its argument prototype would still apply. */
10662 rm -f conftest.$ac_objext conftest$ac_exeext
10663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10664 (eval $ac_link) 2>conftest.er1
10666 grep -v '^ *+' conftest.er1 >conftest.err
10668 cat conftest.err >&5
10669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10670 (exit $ac_status); } &&
10671 { ac_try='test -z "$ac_c_werror_flag"
10672 || test ! -s conftest.err'
10673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10674 (eval $ac_try) 2>&5
10676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10677 (exit $ac_status); }; } &&
10678 { ac_try='test -s conftest$ac_exeext'
10679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10680 (eval $ac_try) 2>&5
10682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10683 (exit $ac_status); }; }; then
10684 ac_cv_lib_m_acosh=yes
10686 echo "$as_me: failed program was:" >&5
10687 sed 's/^/| /' conftest.$ac_ext >&5
10689 ac_cv_lib_m_acosh=no
10691 rm -f conftest.err conftest.$ac_objext \
10692 conftest$ac_exeext conftest.$ac_ext
10693 LIBS=$ac_check_lib_save_LIBS
10695 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
10696 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
10697 if test $ac_cv_lib_m_acosh = yes; then
10699 cat >>confdefs.h <<\_ACEOF
10700 #define HAVE_ACOSH 1
10705 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
10706 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
10707 if test "${ac_cv_lib_m_acoshl+set}" = set; then
10708 echo $ECHO_N "(cached) $ECHO_C" >&6
10710 ac_check_lib_save_LIBS=$LIBS
10712 if test x$gcc_no_link = xyes; then
10713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10715 { (exit 1); exit 1; }; }
10717 cat >conftest.$ac_ext <<_ACEOF
10720 cat confdefs.h >>conftest.$ac_ext
10721 cat >>conftest.$ac_ext <<_ACEOF
10722 /* end confdefs.h. */
10724 /* Override any gcc2 internal prototype to avoid an error. */
10728 /* We use char because int might match the return type of a gcc2
10729 builtin and then its argument prototype would still apply. */
10739 rm -f conftest.$ac_objext conftest$ac_exeext
10740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10741 (eval $ac_link) 2>conftest.er1
10743 grep -v '^ *+' conftest.er1 >conftest.err
10745 cat conftest.err >&5
10746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10747 (exit $ac_status); } &&
10748 { ac_try='test -z "$ac_c_werror_flag"
10749 || test ! -s conftest.err'
10750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10751 (eval $ac_try) 2>&5
10753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10754 (exit $ac_status); }; } &&
10755 { ac_try='test -s conftest$ac_exeext'
10756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10757 (eval $ac_try) 2>&5
10759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10760 (exit $ac_status); }; }; then
10761 ac_cv_lib_m_acoshl=yes
10763 echo "$as_me: failed program was:" >&5
10764 sed 's/^/| /' conftest.$ac_ext >&5
10766 ac_cv_lib_m_acoshl=no
10768 rm -f conftest.err conftest.$ac_objext \
10769 conftest$ac_exeext conftest.$ac_ext
10770 LIBS=$ac_check_lib_save_LIBS
10772 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
10773 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
10774 if test $ac_cv_lib_m_acoshl = yes; then
10776 cat >>confdefs.h <<\_ACEOF
10777 #define HAVE_ACOSHL 1
10782 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
10783 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
10784 if test "${ac_cv_lib_m_asinf+set}" = set; then
10785 echo $ECHO_N "(cached) $ECHO_C" >&6
10787 ac_check_lib_save_LIBS=$LIBS
10789 if test x$gcc_no_link = xyes; then
10790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10792 { (exit 1); exit 1; }; }
10794 cat >conftest.$ac_ext <<_ACEOF
10797 cat confdefs.h >>conftest.$ac_ext
10798 cat >>conftest.$ac_ext <<_ACEOF
10799 /* end confdefs.h. */
10801 /* Override any gcc2 internal prototype to avoid an error. */
10805 /* We use char because int might match the return type of a gcc2
10806 builtin and then its argument prototype would still apply. */
10816 rm -f conftest.$ac_objext conftest$ac_exeext
10817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10818 (eval $ac_link) 2>conftest.er1
10820 grep -v '^ *+' conftest.er1 >conftest.err
10822 cat conftest.err >&5
10823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10824 (exit $ac_status); } &&
10825 { ac_try='test -z "$ac_c_werror_flag"
10826 || test ! -s conftest.err'
10827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10828 (eval $ac_try) 2>&5
10830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10831 (exit $ac_status); }; } &&
10832 { ac_try='test -s conftest$ac_exeext'
10833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10834 (eval $ac_try) 2>&5
10836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10837 (exit $ac_status); }; }; then
10838 ac_cv_lib_m_asinf=yes
10840 echo "$as_me: failed program was:" >&5
10841 sed 's/^/| /' conftest.$ac_ext >&5
10843 ac_cv_lib_m_asinf=no
10845 rm -f conftest.err conftest.$ac_objext \
10846 conftest$ac_exeext conftest.$ac_ext
10847 LIBS=$ac_check_lib_save_LIBS
10849 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
10850 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
10851 if test $ac_cv_lib_m_asinf = yes; then
10853 cat >>confdefs.h <<\_ACEOF
10854 #define HAVE_ASINF 1
10859 echo "$as_me:$LINENO: checking for asin in -lm" >&5
10860 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
10861 if test "${ac_cv_lib_m_asin+set}" = set; then
10862 echo $ECHO_N "(cached) $ECHO_C" >&6
10864 ac_check_lib_save_LIBS=$LIBS
10866 if test x$gcc_no_link = xyes; then
10867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10869 { (exit 1); exit 1; }; }
10871 cat >conftest.$ac_ext <<_ACEOF
10874 cat confdefs.h >>conftest.$ac_ext
10875 cat >>conftest.$ac_ext <<_ACEOF
10876 /* end confdefs.h. */
10878 /* Override any gcc2 internal prototype to avoid an error. */
10882 /* We use char because int might match the return type of a gcc2
10883 builtin and then its argument prototype would still apply. */
10893 rm -f conftest.$ac_objext conftest$ac_exeext
10894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10895 (eval $ac_link) 2>conftest.er1
10897 grep -v '^ *+' conftest.er1 >conftest.err
10899 cat conftest.err >&5
10900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10901 (exit $ac_status); } &&
10902 { ac_try='test -z "$ac_c_werror_flag"
10903 || test ! -s conftest.err'
10904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10905 (eval $ac_try) 2>&5
10907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10908 (exit $ac_status); }; } &&
10909 { ac_try='test -s conftest$ac_exeext'
10910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10911 (eval $ac_try) 2>&5
10913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10914 (exit $ac_status); }; }; then
10915 ac_cv_lib_m_asin=yes
10917 echo "$as_me: failed program was:" >&5
10918 sed 's/^/| /' conftest.$ac_ext >&5
10920 ac_cv_lib_m_asin=no
10922 rm -f conftest.err conftest.$ac_objext \
10923 conftest$ac_exeext conftest.$ac_ext
10924 LIBS=$ac_check_lib_save_LIBS
10926 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
10927 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
10928 if test $ac_cv_lib_m_asin = yes; then
10930 cat >>confdefs.h <<\_ACEOF
10931 #define HAVE_ASIN 1
10936 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
10937 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
10938 if test "${ac_cv_lib_m_asinl+set}" = set; then
10939 echo $ECHO_N "(cached) $ECHO_C" >&6
10941 ac_check_lib_save_LIBS=$LIBS
10943 if test x$gcc_no_link = xyes; then
10944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10946 { (exit 1); exit 1; }; }
10948 cat >conftest.$ac_ext <<_ACEOF
10951 cat confdefs.h >>conftest.$ac_ext
10952 cat >>conftest.$ac_ext <<_ACEOF
10953 /* end confdefs.h. */
10955 /* Override any gcc2 internal prototype to avoid an error. */
10959 /* We use char because int might match the return type of a gcc2
10960 builtin and then its argument prototype would still apply. */
10970 rm -f conftest.$ac_objext conftest$ac_exeext
10971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10972 (eval $ac_link) 2>conftest.er1
10974 grep -v '^ *+' conftest.er1 >conftest.err
10976 cat conftest.err >&5
10977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10978 (exit $ac_status); } &&
10979 { ac_try='test -z "$ac_c_werror_flag"
10980 || test ! -s conftest.err'
10981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10982 (eval $ac_try) 2>&5
10984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10985 (exit $ac_status); }; } &&
10986 { ac_try='test -s conftest$ac_exeext'
10987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10988 (eval $ac_try) 2>&5
10990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10991 (exit $ac_status); }; }; then
10992 ac_cv_lib_m_asinl=yes
10994 echo "$as_me: failed program was:" >&5
10995 sed 's/^/| /' conftest.$ac_ext >&5
10997 ac_cv_lib_m_asinl=no
10999 rm -f conftest.err conftest.$ac_objext \
11000 conftest$ac_exeext conftest.$ac_ext
11001 LIBS=$ac_check_lib_save_LIBS
11003 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
11004 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
11005 if test $ac_cv_lib_m_asinl = yes; then
11007 cat >>confdefs.h <<\_ACEOF
11008 #define HAVE_ASINL 1
11013 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
11014 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
11015 if test "${ac_cv_lib_m_asinhf+set}" = set; then
11016 echo $ECHO_N "(cached) $ECHO_C" >&6
11018 ac_check_lib_save_LIBS=$LIBS
11020 if test x$gcc_no_link = xyes; then
11021 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11023 { (exit 1); exit 1; }; }
11025 cat >conftest.$ac_ext <<_ACEOF
11028 cat confdefs.h >>conftest.$ac_ext
11029 cat >>conftest.$ac_ext <<_ACEOF
11030 /* end confdefs.h. */
11032 /* Override any gcc2 internal prototype to avoid an error. */
11036 /* We use char because int might match the return type of a gcc2
11037 builtin and then its argument prototype would still apply. */
11047 rm -f conftest.$ac_objext conftest$ac_exeext
11048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11049 (eval $ac_link) 2>conftest.er1
11051 grep -v '^ *+' conftest.er1 >conftest.err
11053 cat conftest.err >&5
11054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11055 (exit $ac_status); } &&
11056 { ac_try='test -z "$ac_c_werror_flag"
11057 || test ! -s conftest.err'
11058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11059 (eval $ac_try) 2>&5
11061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062 (exit $ac_status); }; } &&
11063 { ac_try='test -s conftest$ac_exeext'
11064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11065 (eval $ac_try) 2>&5
11067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068 (exit $ac_status); }; }; then
11069 ac_cv_lib_m_asinhf=yes
11071 echo "$as_me: failed program was:" >&5
11072 sed 's/^/| /' conftest.$ac_ext >&5
11074 ac_cv_lib_m_asinhf=no
11076 rm -f conftest.err conftest.$ac_objext \
11077 conftest$ac_exeext conftest.$ac_ext
11078 LIBS=$ac_check_lib_save_LIBS
11080 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
11081 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
11082 if test $ac_cv_lib_m_asinhf = yes; then
11084 cat >>confdefs.h <<\_ACEOF
11085 #define HAVE_ASINHF 1
11090 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
11091 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
11092 if test "${ac_cv_lib_m_asinh+set}" = set; then
11093 echo $ECHO_N "(cached) $ECHO_C" >&6
11095 ac_check_lib_save_LIBS=$LIBS
11097 if test x$gcc_no_link = xyes; then
11098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11100 { (exit 1); exit 1; }; }
11102 cat >conftest.$ac_ext <<_ACEOF
11105 cat confdefs.h >>conftest.$ac_ext
11106 cat >>conftest.$ac_ext <<_ACEOF
11107 /* end confdefs.h. */
11109 /* Override any gcc2 internal prototype to avoid an error. */
11113 /* We use char because int might match the return type of a gcc2
11114 builtin and then its argument prototype would still apply. */
11124 rm -f conftest.$ac_objext conftest$ac_exeext
11125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11126 (eval $ac_link) 2>conftest.er1
11128 grep -v '^ *+' conftest.er1 >conftest.err
11130 cat conftest.err >&5
11131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11132 (exit $ac_status); } &&
11133 { ac_try='test -z "$ac_c_werror_flag"
11134 || test ! -s conftest.err'
11135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11136 (eval $ac_try) 2>&5
11138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11139 (exit $ac_status); }; } &&
11140 { ac_try='test -s conftest$ac_exeext'
11141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11142 (eval $ac_try) 2>&5
11144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11145 (exit $ac_status); }; }; then
11146 ac_cv_lib_m_asinh=yes
11148 echo "$as_me: failed program was:" >&5
11149 sed 's/^/| /' conftest.$ac_ext >&5
11151 ac_cv_lib_m_asinh=no
11153 rm -f conftest.err conftest.$ac_objext \
11154 conftest$ac_exeext conftest.$ac_ext
11155 LIBS=$ac_check_lib_save_LIBS
11157 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
11158 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
11159 if test $ac_cv_lib_m_asinh = yes; then
11161 cat >>confdefs.h <<\_ACEOF
11162 #define HAVE_ASINH 1
11167 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
11168 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
11169 if test "${ac_cv_lib_m_asinhl+set}" = set; then
11170 echo $ECHO_N "(cached) $ECHO_C" >&6
11172 ac_check_lib_save_LIBS=$LIBS
11174 if test x$gcc_no_link = xyes; then
11175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11177 { (exit 1); exit 1; }; }
11179 cat >conftest.$ac_ext <<_ACEOF
11182 cat confdefs.h >>conftest.$ac_ext
11183 cat >>conftest.$ac_ext <<_ACEOF
11184 /* end confdefs.h. */
11186 /* Override any gcc2 internal prototype to avoid an error. */
11190 /* We use char because int might match the return type of a gcc2
11191 builtin and then its argument prototype would still apply. */
11201 rm -f conftest.$ac_objext conftest$ac_exeext
11202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11203 (eval $ac_link) 2>conftest.er1
11205 grep -v '^ *+' conftest.er1 >conftest.err
11207 cat conftest.err >&5
11208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11209 (exit $ac_status); } &&
11210 { ac_try='test -z "$ac_c_werror_flag"
11211 || test ! -s conftest.err'
11212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11213 (eval $ac_try) 2>&5
11215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11216 (exit $ac_status); }; } &&
11217 { ac_try='test -s conftest$ac_exeext'
11218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11219 (eval $ac_try) 2>&5
11221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11222 (exit $ac_status); }; }; then
11223 ac_cv_lib_m_asinhl=yes
11225 echo "$as_me: failed program was:" >&5
11226 sed 's/^/| /' conftest.$ac_ext >&5
11228 ac_cv_lib_m_asinhl=no
11230 rm -f conftest.err conftest.$ac_objext \
11231 conftest$ac_exeext conftest.$ac_ext
11232 LIBS=$ac_check_lib_save_LIBS
11234 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
11235 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
11236 if test $ac_cv_lib_m_asinhl = yes; then
11238 cat >>confdefs.h <<\_ACEOF
11239 #define HAVE_ASINHL 1
11244 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
11245 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
11246 if test "${ac_cv_lib_m_atan2f+set}" = set; then
11247 echo $ECHO_N "(cached) $ECHO_C" >&6
11249 ac_check_lib_save_LIBS=$LIBS
11251 if test x$gcc_no_link = xyes; then
11252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11254 { (exit 1); exit 1; }; }
11256 cat >conftest.$ac_ext <<_ACEOF
11259 cat confdefs.h >>conftest.$ac_ext
11260 cat >>conftest.$ac_ext <<_ACEOF
11261 /* end confdefs.h. */
11263 /* Override any gcc2 internal prototype to avoid an error. */
11267 /* We use char because int might match the return type of a gcc2
11268 builtin and then its argument prototype would still apply. */
11278 rm -f conftest.$ac_objext conftest$ac_exeext
11279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11280 (eval $ac_link) 2>conftest.er1
11282 grep -v '^ *+' conftest.er1 >conftest.err
11284 cat conftest.err >&5
11285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11286 (exit $ac_status); } &&
11287 { ac_try='test -z "$ac_c_werror_flag"
11288 || test ! -s conftest.err'
11289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11290 (eval $ac_try) 2>&5
11292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11293 (exit $ac_status); }; } &&
11294 { ac_try='test -s conftest$ac_exeext'
11295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11296 (eval $ac_try) 2>&5
11298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299 (exit $ac_status); }; }; then
11300 ac_cv_lib_m_atan2f=yes
11302 echo "$as_me: failed program was:" >&5
11303 sed 's/^/| /' conftest.$ac_ext >&5
11305 ac_cv_lib_m_atan2f=no
11307 rm -f conftest.err conftest.$ac_objext \
11308 conftest$ac_exeext conftest.$ac_ext
11309 LIBS=$ac_check_lib_save_LIBS
11311 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
11312 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
11313 if test $ac_cv_lib_m_atan2f = yes; then
11315 cat >>confdefs.h <<\_ACEOF
11316 #define HAVE_ATAN2F 1
11321 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
11322 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
11323 if test "${ac_cv_lib_m_atan2+set}" = set; then
11324 echo $ECHO_N "(cached) $ECHO_C" >&6
11326 ac_check_lib_save_LIBS=$LIBS
11328 if test x$gcc_no_link = xyes; then
11329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11331 { (exit 1); exit 1; }; }
11333 cat >conftest.$ac_ext <<_ACEOF
11336 cat confdefs.h >>conftest.$ac_ext
11337 cat >>conftest.$ac_ext <<_ACEOF
11338 /* end confdefs.h. */
11340 /* Override any gcc2 internal prototype to avoid an error. */
11344 /* We use char because int might match the return type of a gcc2
11345 builtin and then its argument prototype would still apply. */
11355 rm -f conftest.$ac_objext conftest$ac_exeext
11356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11357 (eval $ac_link) 2>conftest.er1
11359 grep -v '^ *+' conftest.er1 >conftest.err
11361 cat conftest.err >&5
11362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11363 (exit $ac_status); } &&
11364 { ac_try='test -z "$ac_c_werror_flag"
11365 || test ! -s conftest.err'
11366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11367 (eval $ac_try) 2>&5
11369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11370 (exit $ac_status); }; } &&
11371 { ac_try='test -s conftest$ac_exeext'
11372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11373 (eval $ac_try) 2>&5
11375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11376 (exit $ac_status); }; }; then
11377 ac_cv_lib_m_atan2=yes
11379 echo "$as_me: failed program was:" >&5
11380 sed 's/^/| /' conftest.$ac_ext >&5
11382 ac_cv_lib_m_atan2=no
11384 rm -f conftest.err conftest.$ac_objext \
11385 conftest$ac_exeext conftest.$ac_ext
11386 LIBS=$ac_check_lib_save_LIBS
11388 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
11389 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
11390 if test $ac_cv_lib_m_atan2 = yes; then
11392 cat >>confdefs.h <<\_ACEOF
11393 #define HAVE_ATAN2 1
11398 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
11399 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
11400 if test "${ac_cv_lib_m_atan2l+set}" = set; then
11401 echo $ECHO_N "(cached) $ECHO_C" >&6
11403 ac_check_lib_save_LIBS=$LIBS
11405 if test x$gcc_no_link = xyes; then
11406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11408 { (exit 1); exit 1; }; }
11410 cat >conftest.$ac_ext <<_ACEOF
11413 cat confdefs.h >>conftest.$ac_ext
11414 cat >>conftest.$ac_ext <<_ACEOF
11415 /* end confdefs.h. */
11417 /* Override any gcc2 internal prototype to avoid an error. */
11421 /* We use char because int might match the return type of a gcc2
11422 builtin and then its argument prototype would still apply. */
11432 rm -f conftest.$ac_objext conftest$ac_exeext
11433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11434 (eval $ac_link) 2>conftest.er1
11436 grep -v '^ *+' conftest.er1 >conftest.err
11438 cat conftest.err >&5
11439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11440 (exit $ac_status); } &&
11441 { ac_try='test -z "$ac_c_werror_flag"
11442 || test ! -s conftest.err'
11443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11444 (eval $ac_try) 2>&5
11446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11447 (exit $ac_status); }; } &&
11448 { ac_try='test -s conftest$ac_exeext'
11449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11450 (eval $ac_try) 2>&5
11452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453 (exit $ac_status); }; }; then
11454 ac_cv_lib_m_atan2l=yes
11456 echo "$as_me: failed program was:" >&5
11457 sed 's/^/| /' conftest.$ac_ext >&5
11459 ac_cv_lib_m_atan2l=no
11461 rm -f conftest.err conftest.$ac_objext \
11462 conftest$ac_exeext conftest.$ac_ext
11463 LIBS=$ac_check_lib_save_LIBS
11465 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
11466 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
11467 if test $ac_cv_lib_m_atan2l = yes; then
11469 cat >>confdefs.h <<\_ACEOF
11470 #define HAVE_ATAN2L 1
11475 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
11476 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
11477 if test "${ac_cv_lib_m_atanf+set}" = set; then
11478 echo $ECHO_N "(cached) $ECHO_C" >&6
11480 ac_check_lib_save_LIBS=$LIBS
11482 if test x$gcc_no_link = xyes; then
11483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11485 { (exit 1); exit 1; }; }
11487 cat >conftest.$ac_ext <<_ACEOF
11490 cat confdefs.h >>conftest.$ac_ext
11491 cat >>conftest.$ac_ext <<_ACEOF
11492 /* end confdefs.h. */
11494 /* Override any gcc2 internal prototype to avoid an error. */
11498 /* We use char because int might match the return type of a gcc2
11499 builtin and then its argument prototype would still apply. */
11509 rm -f conftest.$ac_objext conftest$ac_exeext
11510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11511 (eval $ac_link) 2>conftest.er1
11513 grep -v '^ *+' conftest.er1 >conftest.err
11515 cat conftest.err >&5
11516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11517 (exit $ac_status); } &&
11518 { ac_try='test -z "$ac_c_werror_flag"
11519 || test ! -s conftest.err'
11520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11521 (eval $ac_try) 2>&5
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); }; } &&
11525 { ac_try='test -s conftest$ac_exeext'
11526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11527 (eval $ac_try) 2>&5
11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 (exit $ac_status); }; }; then
11531 ac_cv_lib_m_atanf=yes
11533 echo "$as_me: failed program was:" >&5
11534 sed 's/^/| /' conftest.$ac_ext >&5
11536 ac_cv_lib_m_atanf=no
11538 rm -f conftest.err conftest.$ac_objext \
11539 conftest$ac_exeext conftest.$ac_ext
11540 LIBS=$ac_check_lib_save_LIBS
11542 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
11543 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
11544 if test $ac_cv_lib_m_atanf = yes; then
11546 cat >>confdefs.h <<\_ACEOF
11547 #define HAVE_ATANF 1
11552 echo "$as_me:$LINENO: checking for atan in -lm" >&5
11553 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
11554 if test "${ac_cv_lib_m_atan+set}" = set; then
11555 echo $ECHO_N "(cached) $ECHO_C" >&6
11557 ac_check_lib_save_LIBS=$LIBS
11559 if test x$gcc_no_link = xyes; then
11560 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11562 { (exit 1); exit 1; }; }
11564 cat >conftest.$ac_ext <<_ACEOF
11567 cat confdefs.h >>conftest.$ac_ext
11568 cat >>conftest.$ac_ext <<_ACEOF
11569 /* end confdefs.h. */
11571 /* Override any gcc2 internal prototype to avoid an error. */
11575 /* We use char because int might match the return type of a gcc2
11576 builtin and then its argument prototype would still apply. */
11586 rm -f conftest.$ac_objext conftest$ac_exeext
11587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11588 (eval $ac_link) 2>conftest.er1
11590 grep -v '^ *+' conftest.er1 >conftest.err
11592 cat conftest.err >&5
11593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11594 (exit $ac_status); } &&
11595 { ac_try='test -z "$ac_c_werror_flag"
11596 || test ! -s conftest.err'
11597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11598 (eval $ac_try) 2>&5
11600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11601 (exit $ac_status); }; } &&
11602 { ac_try='test -s conftest$ac_exeext'
11603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11604 (eval $ac_try) 2>&5
11606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11607 (exit $ac_status); }; }; then
11608 ac_cv_lib_m_atan=yes
11610 echo "$as_me: failed program was:" >&5
11611 sed 's/^/| /' conftest.$ac_ext >&5
11613 ac_cv_lib_m_atan=no
11615 rm -f conftest.err conftest.$ac_objext \
11616 conftest$ac_exeext conftest.$ac_ext
11617 LIBS=$ac_check_lib_save_LIBS
11619 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
11620 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
11621 if test $ac_cv_lib_m_atan = yes; then
11623 cat >>confdefs.h <<\_ACEOF
11624 #define HAVE_ATAN 1
11629 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
11630 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
11631 if test "${ac_cv_lib_m_atanl+set}" = set; then
11632 echo $ECHO_N "(cached) $ECHO_C" >&6
11634 ac_check_lib_save_LIBS=$LIBS
11636 if test x$gcc_no_link = xyes; then
11637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11639 { (exit 1); exit 1; }; }
11641 cat >conftest.$ac_ext <<_ACEOF
11644 cat confdefs.h >>conftest.$ac_ext
11645 cat >>conftest.$ac_ext <<_ACEOF
11646 /* end confdefs.h. */
11648 /* Override any gcc2 internal prototype to avoid an error. */
11652 /* We use char because int might match the return type of a gcc2
11653 builtin and then its argument prototype would still apply. */
11663 rm -f conftest.$ac_objext conftest$ac_exeext
11664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11665 (eval $ac_link) 2>conftest.er1
11667 grep -v '^ *+' conftest.er1 >conftest.err
11669 cat conftest.err >&5
11670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11671 (exit $ac_status); } &&
11672 { ac_try='test -z "$ac_c_werror_flag"
11673 || test ! -s conftest.err'
11674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11675 (eval $ac_try) 2>&5
11677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11678 (exit $ac_status); }; } &&
11679 { ac_try='test -s conftest$ac_exeext'
11680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11681 (eval $ac_try) 2>&5
11683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11684 (exit $ac_status); }; }; then
11685 ac_cv_lib_m_atanl=yes
11687 echo "$as_me: failed program was:" >&5
11688 sed 's/^/| /' conftest.$ac_ext >&5
11690 ac_cv_lib_m_atanl=no
11692 rm -f conftest.err conftest.$ac_objext \
11693 conftest$ac_exeext conftest.$ac_ext
11694 LIBS=$ac_check_lib_save_LIBS
11696 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
11697 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
11698 if test $ac_cv_lib_m_atanl = yes; then
11700 cat >>confdefs.h <<\_ACEOF
11701 #define HAVE_ATANL 1
11706 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
11707 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
11708 if test "${ac_cv_lib_m_atanhf+set}" = set; then
11709 echo $ECHO_N "(cached) $ECHO_C" >&6
11711 ac_check_lib_save_LIBS=$LIBS
11713 if test x$gcc_no_link = xyes; then
11714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11716 { (exit 1); exit 1; }; }
11718 cat >conftest.$ac_ext <<_ACEOF
11721 cat confdefs.h >>conftest.$ac_ext
11722 cat >>conftest.$ac_ext <<_ACEOF
11723 /* end confdefs.h. */
11725 /* Override any gcc2 internal prototype to avoid an error. */
11729 /* We use char because int might match the return type of a gcc2
11730 builtin and then its argument prototype would still apply. */
11740 rm -f conftest.$ac_objext conftest$ac_exeext
11741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11742 (eval $ac_link) 2>conftest.er1
11744 grep -v '^ *+' conftest.er1 >conftest.err
11746 cat conftest.err >&5
11747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11748 (exit $ac_status); } &&
11749 { ac_try='test -z "$ac_c_werror_flag"
11750 || test ! -s conftest.err'
11751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11752 (eval $ac_try) 2>&5
11754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11755 (exit $ac_status); }; } &&
11756 { ac_try='test -s conftest$ac_exeext'
11757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11758 (eval $ac_try) 2>&5
11760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11761 (exit $ac_status); }; }; then
11762 ac_cv_lib_m_atanhf=yes
11764 echo "$as_me: failed program was:" >&5
11765 sed 's/^/| /' conftest.$ac_ext >&5
11767 ac_cv_lib_m_atanhf=no
11769 rm -f conftest.err conftest.$ac_objext \
11770 conftest$ac_exeext conftest.$ac_ext
11771 LIBS=$ac_check_lib_save_LIBS
11773 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
11774 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
11775 if test $ac_cv_lib_m_atanhf = yes; then
11777 cat >>confdefs.h <<\_ACEOF
11778 #define HAVE_ATANHF 1
11783 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
11784 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
11785 if test "${ac_cv_lib_m_atanh+set}" = set; then
11786 echo $ECHO_N "(cached) $ECHO_C" >&6
11788 ac_check_lib_save_LIBS=$LIBS
11790 if test x$gcc_no_link = xyes; then
11791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11793 { (exit 1); exit 1; }; }
11795 cat >conftest.$ac_ext <<_ACEOF
11798 cat confdefs.h >>conftest.$ac_ext
11799 cat >>conftest.$ac_ext <<_ACEOF
11800 /* end confdefs.h. */
11802 /* Override any gcc2 internal prototype to avoid an error. */
11806 /* We use char because int might match the return type of a gcc2
11807 builtin and then its argument prototype would still apply. */
11817 rm -f conftest.$ac_objext conftest$ac_exeext
11818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11819 (eval $ac_link) 2>conftest.er1
11821 grep -v '^ *+' conftest.er1 >conftest.err
11823 cat conftest.err >&5
11824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11825 (exit $ac_status); } &&
11826 { ac_try='test -z "$ac_c_werror_flag"
11827 || test ! -s conftest.err'
11828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11829 (eval $ac_try) 2>&5
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); }; } &&
11833 { ac_try='test -s conftest$ac_exeext'
11834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11835 (eval $ac_try) 2>&5
11837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11838 (exit $ac_status); }; }; then
11839 ac_cv_lib_m_atanh=yes
11841 echo "$as_me: failed program was:" >&5
11842 sed 's/^/| /' conftest.$ac_ext >&5
11844 ac_cv_lib_m_atanh=no
11846 rm -f conftest.err conftest.$ac_objext \
11847 conftest$ac_exeext conftest.$ac_ext
11848 LIBS=$ac_check_lib_save_LIBS
11850 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
11851 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
11852 if test $ac_cv_lib_m_atanh = yes; then
11854 cat >>confdefs.h <<\_ACEOF
11855 #define HAVE_ATANH 1
11860 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
11861 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
11862 if test "${ac_cv_lib_m_atanhl+set}" = set; then
11863 echo $ECHO_N "(cached) $ECHO_C" >&6
11865 ac_check_lib_save_LIBS=$LIBS
11867 if test x$gcc_no_link = xyes; then
11868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11870 { (exit 1); exit 1; }; }
11872 cat >conftest.$ac_ext <<_ACEOF
11875 cat confdefs.h >>conftest.$ac_ext
11876 cat >>conftest.$ac_ext <<_ACEOF
11877 /* end confdefs.h. */
11879 /* Override any gcc2 internal prototype to avoid an error. */
11883 /* We use char because int might match the return type of a gcc2
11884 builtin and then its argument prototype would still apply. */
11894 rm -f conftest.$ac_objext conftest$ac_exeext
11895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11896 (eval $ac_link) 2>conftest.er1
11898 grep -v '^ *+' conftest.er1 >conftest.err
11900 cat conftest.err >&5
11901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11902 (exit $ac_status); } &&
11903 { ac_try='test -z "$ac_c_werror_flag"
11904 || test ! -s conftest.err'
11905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11906 (eval $ac_try) 2>&5
11908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11909 (exit $ac_status); }; } &&
11910 { ac_try='test -s conftest$ac_exeext'
11911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11912 (eval $ac_try) 2>&5
11914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11915 (exit $ac_status); }; }; then
11916 ac_cv_lib_m_atanhl=yes
11918 echo "$as_me: failed program was:" >&5
11919 sed 's/^/| /' conftest.$ac_ext >&5
11921 ac_cv_lib_m_atanhl=no
11923 rm -f conftest.err conftest.$ac_objext \
11924 conftest$ac_exeext conftest.$ac_ext
11925 LIBS=$ac_check_lib_save_LIBS
11927 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
11928 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
11929 if test $ac_cv_lib_m_atanhl = yes; then
11931 cat >>confdefs.h <<\_ACEOF
11932 #define HAVE_ATANHL 1
11937 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
11938 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
11939 if test "${ac_cv_lib_m_cargf+set}" = set; then
11940 echo $ECHO_N "(cached) $ECHO_C" >&6
11942 ac_check_lib_save_LIBS=$LIBS
11944 if test x$gcc_no_link = xyes; then
11945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11947 { (exit 1); exit 1; }; }
11949 cat >conftest.$ac_ext <<_ACEOF
11952 cat confdefs.h >>conftest.$ac_ext
11953 cat >>conftest.$ac_ext <<_ACEOF
11954 /* end confdefs.h. */
11956 /* Override any gcc2 internal prototype to avoid an error. */
11960 /* We use char because int might match the return type of a gcc2
11961 builtin and then its argument prototype would still apply. */
11971 rm -f conftest.$ac_objext conftest$ac_exeext
11972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11973 (eval $ac_link) 2>conftest.er1
11975 grep -v '^ *+' conftest.er1 >conftest.err
11977 cat conftest.err >&5
11978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11979 (exit $ac_status); } &&
11980 { ac_try='test -z "$ac_c_werror_flag"
11981 || test ! -s conftest.err'
11982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11983 (eval $ac_try) 2>&5
11985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11986 (exit $ac_status); }; } &&
11987 { ac_try='test -s conftest$ac_exeext'
11988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11989 (eval $ac_try) 2>&5
11991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11992 (exit $ac_status); }; }; then
11993 ac_cv_lib_m_cargf=yes
11995 echo "$as_me: failed program was:" >&5
11996 sed 's/^/| /' conftest.$ac_ext >&5
11998 ac_cv_lib_m_cargf=no
12000 rm -f conftest.err conftest.$ac_objext \
12001 conftest$ac_exeext conftest.$ac_ext
12002 LIBS=$ac_check_lib_save_LIBS
12004 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
12005 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
12006 if test $ac_cv_lib_m_cargf = yes; then
12008 cat >>confdefs.h <<\_ACEOF
12009 #define HAVE_CARGF 1
12014 echo "$as_me:$LINENO: checking for carg in -lm" >&5
12015 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
12016 if test "${ac_cv_lib_m_carg+set}" = set; then
12017 echo $ECHO_N "(cached) $ECHO_C" >&6
12019 ac_check_lib_save_LIBS=$LIBS
12021 if test x$gcc_no_link = xyes; then
12022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12024 { (exit 1); exit 1; }; }
12026 cat >conftest.$ac_ext <<_ACEOF
12029 cat confdefs.h >>conftest.$ac_ext
12030 cat >>conftest.$ac_ext <<_ACEOF
12031 /* end confdefs.h. */
12033 /* Override any gcc2 internal prototype to avoid an error. */
12037 /* We use char because int might match the return type of a gcc2
12038 builtin and then its argument prototype would still apply. */
12048 rm -f conftest.$ac_objext conftest$ac_exeext
12049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12050 (eval $ac_link) 2>conftest.er1
12052 grep -v '^ *+' conftest.er1 >conftest.err
12054 cat conftest.err >&5
12055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12056 (exit $ac_status); } &&
12057 { ac_try='test -z "$ac_c_werror_flag"
12058 || test ! -s conftest.err'
12059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12060 (eval $ac_try) 2>&5
12062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12063 (exit $ac_status); }; } &&
12064 { ac_try='test -s conftest$ac_exeext'
12065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12066 (eval $ac_try) 2>&5
12068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12069 (exit $ac_status); }; }; then
12070 ac_cv_lib_m_carg=yes
12072 echo "$as_me: failed program was:" >&5
12073 sed 's/^/| /' conftest.$ac_ext >&5
12075 ac_cv_lib_m_carg=no
12077 rm -f conftest.err conftest.$ac_objext \
12078 conftest$ac_exeext conftest.$ac_ext
12079 LIBS=$ac_check_lib_save_LIBS
12081 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
12082 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
12083 if test $ac_cv_lib_m_carg = yes; then
12085 cat >>confdefs.h <<\_ACEOF
12086 #define HAVE_CARG 1
12091 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
12092 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
12093 if test "${ac_cv_lib_m_cargl+set}" = set; then
12094 echo $ECHO_N "(cached) $ECHO_C" >&6
12096 ac_check_lib_save_LIBS=$LIBS
12098 if test x$gcc_no_link = xyes; then
12099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12101 { (exit 1); exit 1; }; }
12103 cat >conftest.$ac_ext <<_ACEOF
12106 cat confdefs.h >>conftest.$ac_ext
12107 cat >>conftest.$ac_ext <<_ACEOF
12108 /* end confdefs.h. */
12110 /* Override any gcc2 internal prototype to avoid an error. */
12114 /* We use char because int might match the return type of a gcc2
12115 builtin and then its argument prototype would still apply. */
12125 rm -f conftest.$ac_objext conftest$ac_exeext
12126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12127 (eval $ac_link) 2>conftest.er1
12129 grep -v '^ *+' conftest.er1 >conftest.err
12131 cat conftest.err >&5
12132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12133 (exit $ac_status); } &&
12134 { ac_try='test -z "$ac_c_werror_flag"
12135 || test ! -s conftest.err'
12136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12137 (eval $ac_try) 2>&5
12139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12140 (exit $ac_status); }; } &&
12141 { ac_try='test -s conftest$ac_exeext'
12142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12143 (eval $ac_try) 2>&5
12145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12146 (exit $ac_status); }; }; then
12147 ac_cv_lib_m_cargl=yes
12149 echo "$as_me: failed program was:" >&5
12150 sed 's/^/| /' conftest.$ac_ext >&5
12152 ac_cv_lib_m_cargl=no
12154 rm -f conftest.err conftest.$ac_objext \
12155 conftest$ac_exeext conftest.$ac_ext
12156 LIBS=$ac_check_lib_save_LIBS
12158 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
12159 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
12160 if test $ac_cv_lib_m_cargl = yes; then
12162 cat >>confdefs.h <<\_ACEOF
12163 #define HAVE_CARGL 1
12168 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
12169 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
12170 if test "${ac_cv_lib_m_ceilf+set}" = set; then
12171 echo $ECHO_N "(cached) $ECHO_C" >&6
12173 ac_check_lib_save_LIBS=$LIBS
12175 if test x$gcc_no_link = xyes; then
12176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12178 { (exit 1); exit 1; }; }
12180 cat >conftest.$ac_ext <<_ACEOF
12183 cat confdefs.h >>conftest.$ac_ext
12184 cat >>conftest.$ac_ext <<_ACEOF
12185 /* end confdefs.h. */
12187 /* Override any gcc2 internal prototype to avoid an error. */
12191 /* We use char because int might match the return type of a gcc2
12192 builtin and then its argument prototype would still apply. */
12202 rm -f conftest.$ac_objext conftest$ac_exeext
12203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12204 (eval $ac_link) 2>conftest.er1
12206 grep -v '^ *+' conftest.er1 >conftest.err
12208 cat conftest.err >&5
12209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12210 (exit $ac_status); } &&
12211 { ac_try='test -z "$ac_c_werror_flag"
12212 || test ! -s conftest.err'
12213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12214 (eval $ac_try) 2>&5
12216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12217 (exit $ac_status); }; } &&
12218 { ac_try='test -s conftest$ac_exeext'
12219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12220 (eval $ac_try) 2>&5
12222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12223 (exit $ac_status); }; }; then
12224 ac_cv_lib_m_ceilf=yes
12226 echo "$as_me: failed program was:" >&5
12227 sed 's/^/| /' conftest.$ac_ext >&5
12229 ac_cv_lib_m_ceilf=no
12231 rm -f conftest.err conftest.$ac_objext \
12232 conftest$ac_exeext conftest.$ac_ext
12233 LIBS=$ac_check_lib_save_LIBS
12235 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
12236 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
12237 if test $ac_cv_lib_m_ceilf = yes; then
12239 cat >>confdefs.h <<\_ACEOF
12240 #define HAVE_CEILF 1
12245 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
12246 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
12247 if test "${ac_cv_lib_m_ceil+set}" = set; then
12248 echo $ECHO_N "(cached) $ECHO_C" >&6
12250 ac_check_lib_save_LIBS=$LIBS
12252 if test x$gcc_no_link = xyes; then
12253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12255 { (exit 1); exit 1; }; }
12257 cat >conftest.$ac_ext <<_ACEOF
12260 cat confdefs.h >>conftest.$ac_ext
12261 cat >>conftest.$ac_ext <<_ACEOF
12262 /* end confdefs.h. */
12264 /* Override any gcc2 internal prototype to avoid an error. */
12268 /* We use char because int might match the return type of a gcc2
12269 builtin and then its argument prototype would still apply. */
12279 rm -f conftest.$ac_objext conftest$ac_exeext
12280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12281 (eval $ac_link) 2>conftest.er1
12283 grep -v '^ *+' conftest.er1 >conftest.err
12285 cat conftest.err >&5
12286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12287 (exit $ac_status); } &&
12288 { ac_try='test -z "$ac_c_werror_flag"
12289 || test ! -s conftest.err'
12290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12291 (eval $ac_try) 2>&5
12293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12294 (exit $ac_status); }; } &&
12295 { ac_try='test -s conftest$ac_exeext'
12296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12297 (eval $ac_try) 2>&5
12299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12300 (exit $ac_status); }; }; then
12301 ac_cv_lib_m_ceil=yes
12303 echo "$as_me: failed program was:" >&5
12304 sed 's/^/| /' conftest.$ac_ext >&5
12306 ac_cv_lib_m_ceil=no
12308 rm -f conftest.err conftest.$ac_objext \
12309 conftest$ac_exeext conftest.$ac_ext
12310 LIBS=$ac_check_lib_save_LIBS
12312 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
12313 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
12314 if test $ac_cv_lib_m_ceil = yes; then
12316 cat >>confdefs.h <<\_ACEOF
12317 #define HAVE_CEIL 1
12322 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
12323 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
12324 if test "${ac_cv_lib_m_ceill+set}" = set; then
12325 echo $ECHO_N "(cached) $ECHO_C" >&6
12327 ac_check_lib_save_LIBS=$LIBS
12329 if test x$gcc_no_link = xyes; then
12330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12332 { (exit 1); exit 1; }; }
12334 cat >conftest.$ac_ext <<_ACEOF
12337 cat confdefs.h >>conftest.$ac_ext
12338 cat >>conftest.$ac_ext <<_ACEOF
12339 /* end confdefs.h. */
12341 /* Override any gcc2 internal prototype to avoid an error. */
12345 /* We use char because int might match the return type of a gcc2
12346 builtin and then its argument prototype would still apply. */
12356 rm -f conftest.$ac_objext conftest$ac_exeext
12357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12358 (eval $ac_link) 2>conftest.er1
12360 grep -v '^ *+' conftest.er1 >conftest.err
12362 cat conftest.err >&5
12363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364 (exit $ac_status); } &&
12365 { ac_try='test -z "$ac_c_werror_flag"
12366 || test ! -s conftest.err'
12367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12368 (eval $ac_try) 2>&5
12370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); }; } &&
12372 { ac_try='test -s conftest$ac_exeext'
12373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12374 (eval $ac_try) 2>&5
12376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12377 (exit $ac_status); }; }; then
12378 ac_cv_lib_m_ceill=yes
12380 echo "$as_me: failed program was:" >&5
12381 sed 's/^/| /' conftest.$ac_ext >&5
12383 ac_cv_lib_m_ceill=no
12385 rm -f conftest.err conftest.$ac_objext \
12386 conftest$ac_exeext conftest.$ac_ext
12387 LIBS=$ac_check_lib_save_LIBS
12389 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
12390 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
12391 if test $ac_cv_lib_m_ceill = yes; then
12393 cat >>confdefs.h <<\_ACEOF
12394 #define HAVE_CEILL 1
12399 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
12400 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
12401 if test "${ac_cv_lib_m_copysignf+set}" = set; then
12402 echo $ECHO_N "(cached) $ECHO_C" >&6
12404 ac_check_lib_save_LIBS=$LIBS
12406 if test x$gcc_no_link = xyes; then
12407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12409 { (exit 1); exit 1; }; }
12411 cat >conftest.$ac_ext <<_ACEOF
12414 cat confdefs.h >>conftest.$ac_ext
12415 cat >>conftest.$ac_ext <<_ACEOF
12416 /* end confdefs.h. */
12418 /* Override any gcc2 internal prototype to avoid an error. */
12422 /* We use char because int might match the return type of a gcc2
12423 builtin and then its argument prototype would still apply. */
12433 rm -f conftest.$ac_objext conftest$ac_exeext
12434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12435 (eval $ac_link) 2>conftest.er1
12437 grep -v '^ *+' conftest.er1 >conftest.err
12439 cat conftest.err >&5
12440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12441 (exit $ac_status); } &&
12442 { ac_try='test -z "$ac_c_werror_flag"
12443 || test ! -s conftest.err'
12444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12445 (eval $ac_try) 2>&5
12447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12448 (exit $ac_status); }; } &&
12449 { ac_try='test -s conftest$ac_exeext'
12450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12451 (eval $ac_try) 2>&5
12453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12454 (exit $ac_status); }; }; then
12455 ac_cv_lib_m_copysignf=yes
12457 echo "$as_me: failed program was:" >&5
12458 sed 's/^/| /' conftest.$ac_ext >&5
12460 ac_cv_lib_m_copysignf=no
12462 rm -f conftest.err conftest.$ac_objext \
12463 conftest$ac_exeext conftest.$ac_ext
12464 LIBS=$ac_check_lib_save_LIBS
12466 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
12467 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
12468 if test $ac_cv_lib_m_copysignf = yes; then
12470 cat >>confdefs.h <<\_ACEOF
12471 #define HAVE_COPYSIGNF 1
12476 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
12477 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
12478 if test "${ac_cv_lib_m_copysign+set}" = set; then
12479 echo $ECHO_N "(cached) $ECHO_C" >&6
12481 ac_check_lib_save_LIBS=$LIBS
12483 if test x$gcc_no_link = xyes; then
12484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12486 { (exit 1); exit 1; }; }
12488 cat >conftest.$ac_ext <<_ACEOF
12491 cat confdefs.h >>conftest.$ac_ext
12492 cat >>conftest.$ac_ext <<_ACEOF
12493 /* end confdefs.h. */
12495 /* Override any gcc2 internal prototype to avoid an error. */
12499 /* We use char because int might match the return type of a gcc2
12500 builtin and then its argument prototype would still apply. */
12510 rm -f conftest.$ac_objext conftest$ac_exeext
12511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12512 (eval $ac_link) 2>conftest.er1
12514 grep -v '^ *+' conftest.er1 >conftest.err
12516 cat conftest.err >&5
12517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12518 (exit $ac_status); } &&
12519 { ac_try='test -z "$ac_c_werror_flag"
12520 || test ! -s conftest.err'
12521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12522 (eval $ac_try) 2>&5
12524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12525 (exit $ac_status); }; } &&
12526 { ac_try='test -s conftest$ac_exeext'
12527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12528 (eval $ac_try) 2>&5
12530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12531 (exit $ac_status); }; }; then
12532 ac_cv_lib_m_copysign=yes
12534 echo "$as_me: failed program was:" >&5
12535 sed 's/^/| /' conftest.$ac_ext >&5
12537 ac_cv_lib_m_copysign=no
12539 rm -f conftest.err conftest.$ac_objext \
12540 conftest$ac_exeext conftest.$ac_ext
12541 LIBS=$ac_check_lib_save_LIBS
12543 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
12544 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
12545 if test $ac_cv_lib_m_copysign = yes; then
12547 cat >>confdefs.h <<\_ACEOF
12548 #define HAVE_COPYSIGN 1
12553 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
12554 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
12555 if test "${ac_cv_lib_m_copysignl+set}" = set; then
12556 echo $ECHO_N "(cached) $ECHO_C" >&6
12558 ac_check_lib_save_LIBS=$LIBS
12560 if test x$gcc_no_link = xyes; then
12561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12563 { (exit 1); exit 1; }; }
12565 cat >conftest.$ac_ext <<_ACEOF
12568 cat confdefs.h >>conftest.$ac_ext
12569 cat >>conftest.$ac_ext <<_ACEOF
12570 /* end confdefs.h. */
12572 /* Override any gcc2 internal prototype to avoid an error. */
12576 /* We use char because int might match the return type of a gcc2
12577 builtin and then its argument prototype would still apply. */
12587 rm -f conftest.$ac_objext conftest$ac_exeext
12588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12589 (eval $ac_link) 2>conftest.er1
12591 grep -v '^ *+' conftest.er1 >conftest.err
12593 cat conftest.err >&5
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); } &&
12596 { ac_try='test -z "$ac_c_werror_flag"
12597 || test ! -s conftest.err'
12598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12599 (eval $ac_try) 2>&5
12601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12602 (exit $ac_status); }; } &&
12603 { ac_try='test -s conftest$ac_exeext'
12604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12605 (eval $ac_try) 2>&5
12607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608 (exit $ac_status); }; }; then
12609 ac_cv_lib_m_copysignl=yes
12611 echo "$as_me: failed program was:" >&5
12612 sed 's/^/| /' conftest.$ac_ext >&5
12614 ac_cv_lib_m_copysignl=no
12616 rm -f conftest.err conftest.$ac_objext \
12617 conftest$ac_exeext conftest.$ac_ext
12618 LIBS=$ac_check_lib_save_LIBS
12620 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
12621 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
12622 if test $ac_cv_lib_m_copysignl = yes; then
12624 cat >>confdefs.h <<\_ACEOF
12625 #define HAVE_COPYSIGNL 1
12630 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
12631 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
12632 if test "${ac_cv_lib_m_cosf+set}" = set; then
12633 echo $ECHO_N "(cached) $ECHO_C" >&6
12635 ac_check_lib_save_LIBS=$LIBS
12637 if test x$gcc_no_link = xyes; then
12638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12640 { (exit 1); exit 1; }; }
12642 cat >conftest.$ac_ext <<_ACEOF
12645 cat confdefs.h >>conftest.$ac_ext
12646 cat >>conftest.$ac_ext <<_ACEOF
12647 /* end confdefs.h. */
12649 /* Override any gcc2 internal prototype to avoid an error. */
12653 /* We use char because int might match the return type of a gcc2
12654 builtin and then its argument prototype would still apply. */
12664 rm -f conftest.$ac_objext conftest$ac_exeext
12665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12666 (eval $ac_link) 2>conftest.er1
12668 grep -v '^ *+' conftest.er1 >conftest.err
12670 cat conftest.err >&5
12671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12672 (exit $ac_status); } &&
12673 { ac_try='test -z "$ac_c_werror_flag"
12674 || test ! -s conftest.err'
12675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12676 (eval $ac_try) 2>&5
12678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12679 (exit $ac_status); }; } &&
12680 { ac_try='test -s conftest$ac_exeext'
12681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12682 (eval $ac_try) 2>&5
12684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12685 (exit $ac_status); }; }; then
12686 ac_cv_lib_m_cosf=yes
12688 echo "$as_me: failed program was:" >&5
12689 sed 's/^/| /' conftest.$ac_ext >&5
12691 ac_cv_lib_m_cosf=no
12693 rm -f conftest.err conftest.$ac_objext \
12694 conftest$ac_exeext conftest.$ac_ext
12695 LIBS=$ac_check_lib_save_LIBS
12697 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
12698 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
12699 if test $ac_cv_lib_m_cosf = yes; then
12701 cat >>confdefs.h <<\_ACEOF
12702 #define HAVE_COSF 1
12707 echo "$as_me:$LINENO: checking for cos in -lm" >&5
12708 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
12709 if test "${ac_cv_lib_m_cos+set}" = set; then
12710 echo $ECHO_N "(cached) $ECHO_C" >&6
12712 ac_check_lib_save_LIBS=$LIBS
12714 if test x$gcc_no_link = xyes; then
12715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12717 { (exit 1); exit 1; }; }
12719 cat >conftest.$ac_ext <<_ACEOF
12722 cat confdefs.h >>conftest.$ac_ext
12723 cat >>conftest.$ac_ext <<_ACEOF
12724 /* end confdefs.h. */
12726 /* Override any gcc2 internal prototype to avoid an error. */
12730 /* We use char because int might match the return type of a gcc2
12731 builtin and then its argument prototype would still apply. */
12741 rm -f conftest.$ac_objext conftest$ac_exeext
12742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12743 (eval $ac_link) 2>conftest.er1
12745 grep -v '^ *+' conftest.er1 >conftest.err
12747 cat conftest.err >&5
12748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12749 (exit $ac_status); } &&
12750 { ac_try='test -z "$ac_c_werror_flag"
12751 || test ! -s conftest.err'
12752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12753 (eval $ac_try) 2>&5
12755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12756 (exit $ac_status); }; } &&
12757 { ac_try='test -s conftest$ac_exeext'
12758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12759 (eval $ac_try) 2>&5
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); }; }; then
12763 ac_cv_lib_m_cos=yes
12765 echo "$as_me: failed program was:" >&5
12766 sed 's/^/| /' conftest.$ac_ext >&5
12770 rm -f conftest.err conftest.$ac_objext \
12771 conftest$ac_exeext conftest.$ac_ext
12772 LIBS=$ac_check_lib_save_LIBS
12774 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
12775 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
12776 if test $ac_cv_lib_m_cos = yes; then
12778 cat >>confdefs.h <<\_ACEOF
12784 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
12785 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
12786 if test "${ac_cv_lib_m_cosl+set}" = set; then
12787 echo $ECHO_N "(cached) $ECHO_C" >&6
12789 ac_check_lib_save_LIBS=$LIBS
12791 if test x$gcc_no_link = xyes; then
12792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12794 { (exit 1); exit 1; }; }
12796 cat >conftest.$ac_ext <<_ACEOF
12799 cat confdefs.h >>conftest.$ac_ext
12800 cat >>conftest.$ac_ext <<_ACEOF
12801 /* end confdefs.h. */
12803 /* Override any gcc2 internal prototype to avoid an error. */
12807 /* We use char because int might match the return type of a gcc2
12808 builtin and then its argument prototype would still apply. */
12818 rm -f conftest.$ac_objext conftest$ac_exeext
12819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12820 (eval $ac_link) 2>conftest.er1
12822 grep -v '^ *+' conftest.er1 >conftest.err
12824 cat conftest.err >&5
12825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12826 (exit $ac_status); } &&
12827 { ac_try='test -z "$ac_c_werror_flag"
12828 || test ! -s conftest.err'
12829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12830 (eval $ac_try) 2>&5
12832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12833 (exit $ac_status); }; } &&
12834 { ac_try='test -s conftest$ac_exeext'
12835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12836 (eval $ac_try) 2>&5
12838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839 (exit $ac_status); }; }; then
12840 ac_cv_lib_m_cosl=yes
12842 echo "$as_me: failed program was:" >&5
12843 sed 's/^/| /' conftest.$ac_ext >&5
12845 ac_cv_lib_m_cosl=no
12847 rm -f conftest.err conftest.$ac_objext \
12848 conftest$ac_exeext conftest.$ac_ext
12849 LIBS=$ac_check_lib_save_LIBS
12851 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
12852 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
12853 if test $ac_cv_lib_m_cosl = yes; then
12855 cat >>confdefs.h <<\_ACEOF
12856 #define HAVE_COSL 1
12861 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
12862 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
12863 if test "${ac_cv_lib_m_ccosf+set}" = set; then
12864 echo $ECHO_N "(cached) $ECHO_C" >&6
12866 ac_check_lib_save_LIBS=$LIBS
12868 if test x$gcc_no_link = xyes; then
12869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12871 { (exit 1); exit 1; }; }
12873 cat >conftest.$ac_ext <<_ACEOF
12876 cat confdefs.h >>conftest.$ac_ext
12877 cat >>conftest.$ac_ext <<_ACEOF
12878 /* end confdefs.h. */
12880 /* Override any gcc2 internal prototype to avoid an error. */
12884 /* We use char because int might match the return type of a gcc2
12885 builtin and then its argument prototype would still apply. */
12895 rm -f conftest.$ac_objext conftest$ac_exeext
12896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12897 (eval $ac_link) 2>conftest.er1
12899 grep -v '^ *+' conftest.er1 >conftest.err
12901 cat conftest.err >&5
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); } &&
12904 { ac_try='test -z "$ac_c_werror_flag"
12905 || test ! -s conftest.err'
12906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12907 (eval $ac_try) 2>&5
12909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12910 (exit $ac_status); }; } &&
12911 { ac_try='test -s conftest$ac_exeext'
12912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12913 (eval $ac_try) 2>&5
12915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12916 (exit $ac_status); }; }; then
12917 ac_cv_lib_m_ccosf=yes
12919 echo "$as_me: failed program was:" >&5
12920 sed 's/^/| /' conftest.$ac_ext >&5
12922 ac_cv_lib_m_ccosf=no
12924 rm -f conftest.err conftest.$ac_objext \
12925 conftest$ac_exeext conftest.$ac_ext
12926 LIBS=$ac_check_lib_save_LIBS
12928 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
12929 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
12930 if test $ac_cv_lib_m_ccosf = yes; then
12932 cat >>confdefs.h <<\_ACEOF
12933 #define HAVE_CCOSF 1
12938 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
12939 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
12940 if test "${ac_cv_lib_m_ccos+set}" = set; then
12941 echo $ECHO_N "(cached) $ECHO_C" >&6
12943 ac_check_lib_save_LIBS=$LIBS
12945 if test x$gcc_no_link = xyes; then
12946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12948 { (exit 1); exit 1; }; }
12950 cat >conftest.$ac_ext <<_ACEOF
12953 cat confdefs.h >>conftest.$ac_ext
12954 cat >>conftest.$ac_ext <<_ACEOF
12955 /* end confdefs.h. */
12957 /* Override any gcc2 internal prototype to avoid an error. */
12961 /* We use char because int might match the return type of a gcc2
12962 builtin and then its argument prototype would still apply. */
12972 rm -f conftest.$ac_objext conftest$ac_exeext
12973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12974 (eval $ac_link) 2>conftest.er1
12976 grep -v '^ *+' conftest.er1 >conftest.err
12978 cat conftest.err >&5
12979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12980 (exit $ac_status); } &&
12981 { ac_try='test -z "$ac_c_werror_flag"
12982 || test ! -s conftest.err'
12983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12984 (eval $ac_try) 2>&5
12986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12987 (exit $ac_status); }; } &&
12988 { ac_try='test -s conftest$ac_exeext'
12989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12990 (eval $ac_try) 2>&5
12992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993 (exit $ac_status); }; }; then
12994 ac_cv_lib_m_ccos=yes
12996 echo "$as_me: failed program was:" >&5
12997 sed 's/^/| /' conftest.$ac_ext >&5
12999 ac_cv_lib_m_ccos=no
13001 rm -f conftest.err conftest.$ac_objext \
13002 conftest$ac_exeext conftest.$ac_ext
13003 LIBS=$ac_check_lib_save_LIBS
13005 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
13006 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
13007 if test $ac_cv_lib_m_ccos = yes; then
13009 cat >>confdefs.h <<\_ACEOF
13010 #define HAVE_CCOS 1
13015 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
13016 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
13017 if test "${ac_cv_lib_m_ccosl+set}" = set; then
13018 echo $ECHO_N "(cached) $ECHO_C" >&6
13020 ac_check_lib_save_LIBS=$LIBS
13022 if test x$gcc_no_link = xyes; then
13023 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13025 { (exit 1); exit 1; }; }
13027 cat >conftest.$ac_ext <<_ACEOF
13030 cat confdefs.h >>conftest.$ac_ext
13031 cat >>conftest.$ac_ext <<_ACEOF
13032 /* end confdefs.h. */
13034 /* Override any gcc2 internal prototype to avoid an error. */
13038 /* We use char because int might match the return type of a gcc2
13039 builtin and then its argument prototype would still apply. */
13049 rm -f conftest.$ac_objext conftest$ac_exeext
13050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13051 (eval $ac_link) 2>conftest.er1
13053 grep -v '^ *+' conftest.er1 >conftest.err
13055 cat conftest.err >&5
13056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13057 (exit $ac_status); } &&
13058 { ac_try='test -z "$ac_c_werror_flag"
13059 || test ! -s conftest.err'
13060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13061 (eval $ac_try) 2>&5
13063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13064 (exit $ac_status); }; } &&
13065 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
13071 ac_cv_lib_m_ccosl=yes
13073 echo "$as_me: failed program was:" >&5
13074 sed 's/^/| /' conftest.$ac_ext >&5
13076 ac_cv_lib_m_ccosl=no
13078 rm -f conftest.err conftest.$ac_objext \
13079 conftest$ac_exeext conftest.$ac_ext
13080 LIBS=$ac_check_lib_save_LIBS
13082 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
13083 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
13084 if test $ac_cv_lib_m_ccosl = yes; then
13086 cat >>confdefs.h <<\_ACEOF
13087 #define HAVE_CCOSL 1
13092 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
13093 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
13094 if test "${ac_cv_lib_m_coshf+set}" = set; then
13095 echo $ECHO_N "(cached) $ECHO_C" >&6
13097 ac_check_lib_save_LIBS=$LIBS
13099 if test x$gcc_no_link = xyes; then
13100 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13102 { (exit 1); exit 1; }; }
13104 cat >conftest.$ac_ext <<_ACEOF
13107 cat confdefs.h >>conftest.$ac_ext
13108 cat >>conftest.$ac_ext <<_ACEOF
13109 /* end confdefs.h. */
13111 /* Override any gcc2 internal prototype to avoid an error. */
13115 /* We use char because int might match the return type of a gcc2
13116 builtin and then its argument prototype would still apply. */
13126 rm -f conftest.$ac_objext conftest$ac_exeext
13127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13128 (eval $ac_link) 2>conftest.er1
13130 grep -v '^ *+' conftest.er1 >conftest.err
13132 cat conftest.err >&5
13133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13134 (exit $ac_status); } &&
13135 { ac_try='test -z "$ac_c_werror_flag"
13136 || test ! -s conftest.err'
13137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13138 (eval $ac_try) 2>&5
13140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13141 (exit $ac_status); }; } &&
13142 { ac_try='test -s conftest$ac_exeext'
13143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13144 (eval $ac_try) 2>&5
13146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13147 (exit $ac_status); }; }; then
13148 ac_cv_lib_m_coshf=yes
13150 echo "$as_me: failed program was:" >&5
13151 sed 's/^/| /' conftest.$ac_ext >&5
13153 ac_cv_lib_m_coshf=no
13155 rm -f conftest.err conftest.$ac_objext \
13156 conftest$ac_exeext conftest.$ac_ext
13157 LIBS=$ac_check_lib_save_LIBS
13159 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
13160 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
13161 if test $ac_cv_lib_m_coshf = yes; then
13163 cat >>confdefs.h <<\_ACEOF
13164 #define HAVE_COSHF 1
13169 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
13170 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
13171 if test "${ac_cv_lib_m_cosh+set}" = set; then
13172 echo $ECHO_N "(cached) $ECHO_C" >&6
13174 ac_check_lib_save_LIBS=$LIBS
13176 if test x$gcc_no_link = xyes; then
13177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13179 { (exit 1); exit 1; }; }
13181 cat >conftest.$ac_ext <<_ACEOF
13184 cat confdefs.h >>conftest.$ac_ext
13185 cat >>conftest.$ac_ext <<_ACEOF
13186 /* end confdefs.h. */
13188 /* Override any gcc2 internal prototype to avoid an error. */
13192 /* We use char because int might match the return type of a gcc2
13193 builtin and then its argument prototype would still apply. */
13203 rm -f conftest.$ac_objext conftest$ac_exeext
13204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13205 (eval $ac_link) 2>conftest.er1
13207 grep -v '^ *+' conftest.er1 >conftest.err
13209 cat conftest.err >&5
13210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13211 (exit $ac_status); } &&
13212 { ac_try='test -z "$ac_c_werror_flag"
13213 || test ! -s conftest.err'
13214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13215 (eval $ac_try) 2>&5
13217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13218 (exit $ac_status); }; } &&
13219 { ac_try='test -s conftest$ac_exeext'
13220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13221 (eval $ac_try) 2>&5
13223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224 (exit $ac_status); }; }; then
13225 ac_cv_lib_m_cosh=yes
13227 echo "$as_me: failed program was:" >&5
13228 sed 's/^/| /' conftest.$ac_ext >&5
13230 ac_cv_lib_m_cosh=no
13232 rm -f conftest.err conftest.$ac_objext \
13233 conftest$ac_exeext conftest.$ac_ext
13234 LIBS=$ac_check_lib_save_LIBS
13236 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
13237 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
13238 if test $ac_cv_lib_m_cosh = yes; then
13240 cat >>confdefs.h <<\_ACEOF
13241 #define HAVE_COSH 1
13246 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
13247 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
13248 if test "${ac_cv_lib_m_coshl+set}" = set; then
13249 echo $ECHO_N "(cached) $ECHO_C" >&6
13251 ac_check_lib_save_LIBS=$LIBS
13253 if test x$gcc_no_link = xyes; then
13254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13256 { (exit 1); exit 1; }; }
13258 cat >conftest.$ac_ext <<_ACEOF
13261 cat confdefs.h >>conftest.$ac_ext
13262 cat >>conftest.$ac_ext <<_ACEOF
13263 /* end confdefs.h. */
13265 /* Override any gcc2 internal prototype to avoid an error. */
13269 /* We use char because int might match the return type of a gcc2
13270 builtin and then its argument prototype would still apply. */
13280 rm -f conftest.$ac_objext conftest$ac_exeext
13281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13282 (eval $ac_link) 2>conftest.er1
13284 grep -v '^ *+' conftest.er1 >conftest.err
13286 cat conftest.err >&5
13287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13288 (exit $ac_status); } &&
13289 { ac_try='test -z "$ac_c_werror_flag"
13290 || test ! -s conftest.err'
13291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13292 (eval $ac_try) 2>&5
13294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13295 (exit $ac_status); }; } &&
13296 { ac_try='test -s conftest$ac_exeext'
13297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13298 (eval $ac_try) 2>&5
13300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13301 (exit $ac_status); }; }; then
13302 ac_cv_lib_m_coshl=yes
13304 echo "$as_me: failed program was:" >&5
13305 sed 's/^/| /' conftest.$ac_ext >&5
13307 ac_cv_lib_m_coshl=no
13309 rm -f conftest.err conftest.$ac_objext \
13310 conftest$ac_exeext conftest.$ac_ext
13311 LIBS=$ac_check_lib_save_LIBS
13313 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
13314 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
13315 if test $ac_cv_lib_m_coshl = yes; then
13317 cat >>confdefs.h <<\_ACEOF
13318 #define HAVE_COSHL 1
13323 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
13324 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
13325 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
13326 echo $ECHO_N "(cached) $ECHO_C" >&6
13328 ac_check_lib_save_LIBS=$LIBS
13330 if test x$gcc_no_link = xyes; then
13331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13333 { (exit 1); exit 1; }; }
13335 cat >conftest.$ac_ext <<_ACEOF
13338 cat confdefs.h >>conftest.$ac_ext
13339 cat >>conftest.$ac_ext <<_ACEOF
13340 /* end confdefs.h. */
13342 /* Override any gcc2 internal prototype to avoid an error. */
13346 /* We use char because int might match the return type of a gcc2
13347 builtin and then its argument prototype would still apply. */
13357 rm -f conftest.$ac_objext conftest$ac_exeext
13358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13359 (eval $ac_link) 2>conftest.er1
13361 grep -v '^ *+' conftest.er1 >conftest.err
13363 cat conftest.err >&5
13364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13365 (exit $ac_status); } &&
13366 { ac_try='test -z "$ac_c_werror_flag"
13367 || test ! -s conftest.err'
13368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13369 (eval $ac_try) 2>&5
13371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13372 (exit $ac_status); }; } &&
13373 { ac_try='test -s conftest$ac_exeext'
13374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13375 (eval $ac_try) 2>&5
13377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13378 (exit $ac_status); }; }; then
13379 ac_cv_lib_m_ccoshf=yes
13381 echo "$as_me: failed program was:" >&5
13382 sed 's/^/| /' conftest.$ac_ext >&5
13384 ac_cv_lib_m_ccoshf=no
13386 rm -f conftest.err conftest.$ac_objext \
13387 conftest$ac_exeext conftest.$ac_ext
13388 LIBS=$ac_check_lib_save_LIBS
13390 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
13391 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
13392 if test $ac_cv_lib_m_ccoshf = yes; then
13394 cat >>confdefs.h <<\_ACEOF
13395 #define HAVE_CCOSHF 1
13400 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
13401 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
13402 if test "${ac_cv_lib_m_ccosh+set}" = set; then
13403 echo $ECHO_N "(cached) $ECHO_C" >&6
13405 ac_check_lib_save_LIBS=$LIBS
13407 if test x$gcc_no_link = xyes; then
13408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13410 { (exit 1); exit 1; }; }
13412 cat >conftest.$ac_ext <<_ACEOF
13415 cat confdefs.h >>conftest.$ac_ext
13416 cat >>conftest.$ac_ext <<_ACEOF
13417 /* end confdefs.h. */
13419 /* Override any gcc2 internal prototype to avoid an error. */
13423 /* We use char because int might match the return type of a gcc2
13424 builtin and then its argument prototype would still apply. */
13434 rm -f conftest.$ac_objext conftest$ac_exeext
13435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13436 (eval $ac_link) 2>conftest.er1
13438 grep -v '^ *+' conftest.er1 >conftest.err
13440 cat conftest.err >&5
13441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13442 (exit $ac_status); } &&
13443 { ac_try='test -z "$ac_c_werror_flag"
13444 || test ! -s conftest.err'
13445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13446 (eval $ac_try) 2>&5
13448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13449 (exit $ac_status); }; } &&
13450 { ac_try='test -s conftest$ac_exeext'
13451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13452 (eval $ac_try) 2>&5
13454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13455 (exit $ac_status); }; }; then
13456 ac_cv_lib_m_ccosh=yes
13458 echo "$as_me: failed program was:" >&5
13459 sed 's/^/| /' conftest.$ac_ext >&5
13461 ac_cv_lib_m_ccosh=no
13463 rm -f conftest.err conftest.$ac_objext \
13464 conftest$ac_exeext conftest.$ac_ext
13465 LIBS=$ac_check_lib_save_LIBS
13467 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
13468 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
13469 if test $ac_cv_lib_m_ccosh = yes; then
13471 cat >>confdefs.h <<\_ACEOF
13472 #define HAVE_CCOSH 1
13477 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
13478 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
13479 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
13480 echo $ECHO_N "(cached) $ECHO_C" >&6
13482 ac_check_lib_save_LIBS=$LIBS
13484 if test x$gcc_no_link = xyes; then
13485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13487 { (exit 1); exit 1; }; }
13489 cat >conftest.$ac_ext <<_ACEOF
13492 cat confdefs.h >>conftest.$ac_ext
13493 cat >>conftest.$ac_ext <<_ACEOF
13494 /* end confdefs.h. */
13496 /* Override any gcc2 internal prototype to avoid an error. */
13500 /* We use char because int might match the return type of a gcc2
13501 builtin and then its argument prototype would still apply. */
13511 rm -f conftest.$ac_objext conftest$ac_exeext
13512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13513 (eval $ac_link) 2>conftest.er1
13515 grep -v '^ *+' conftest.er1 >conftest.err
13517 cat conftest.err >&5
13518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519 (exit $ac_status); } &&
13520 { ac_try='test -z "$ac_c_werror_flag"
13521 || 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_ccoshl=yes
13535 echo "$as_me: failed program was:" >&5
13536 sed 's/^/| /' conftest.$ac_ext >&5
13538 ac_cv_lib_m_ccoshl=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_ccoshl" >&5
13545 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
13546 if test $ac_cv_lib_m_ccoshl = yes; then
13548 cat >>confdefs.h <<\_ACEOF
13549 #define HAVE_CCOSHL 1
13554 echo "$as_me:$LINENO: checking for expf in -lm" >&5
13555 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
13556 if test "${ac_cv_lib_m_expf+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. */
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"
13598 || test ! -s conftest.err'
13599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13600 (eval $ac_try) 2>&5
13602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13603 (exit $ac_status); }; } &&
13604 { ac_try='test -s conftest$ac_exeext'
13605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13606 (eval $ac_try) 2>&5
13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609 (exit $ac_status); }; }; then
13610 ac_cv_lib_m_expf=yes
13612 echo "$as_me: failed program was:" >&5
13613 sed 's/^/| /' conftest.$ac_ext >&5
13615 ac_cv_lib_m_expf=no
13617 rm -f conftest.err conftest.$ac_objext \
13618 conftest$ac_exeext conftest.$ac_ext
13619 LIBS=$ac_check_lib_save_LIBS
13621 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
13622 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
13623 if test $ac_cv_lib_m_expf = yes; then
13625 cat >>confdefs.h <<\_ACEOF
13626 #define HAVE_EXPF 1
13631 echo "$as_me:$LINENO: checking for exp in -lm" >&5
13632 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
13633 if test "${ac_cv_lib_m_exp+set}" = set; then
13634 echo $ECHO_N "(cached) $ECHO_C" >&6
13636 ac_check_lib_save_LIBS=$LIBS
13638 if test x$gcc_no_link = xyes; then
13639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13641 { (exit 1); exit 1; }; }
13643 cat >conftest.$ac_ext <<_ACEOF
13646 cat confdefs.h >>conftest.$ac_ext
13647 cat >>conftest.$ac_ext <<_ACEOF
13648 /* end confdefs.h. */
13650 /* Override any gcc2 internal prototype to avoid an error. */
13654 /* We use char because int might match the return type of a gcc2
13655 builtin and then its argument prototype would still apply. */
13665 rm -f conftest.$ac_objext conftest$ac_exeext
13666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13667 (eval $ac_link) 2>conftest.er1
13669 grep -v '^ *+' conftest.er1 >conftest.err
13671 cat conftest.err >&5
13672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13673 (exit $ac_status); } &&
13674 { ac_try='test -z "$ac_c_werror_flag"
13675 || test ! -s conftest.err'
13676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13677 (eval $ac_try) 2>&5
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); }; } &&
13681 { ac_try='test -s conftest$ac_exeext'
13682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13683 (eval $ac_try) 2>&5
13685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13686 (exit $ac_status); }; }; then
13687 ac_cv_lib_m_exp=yes
13689 echo "$as_me: failed program was:" >&5
13690 sed 's/^/| /' conftest.$ac_ext >&5
13694 rm -f conftest.err conftest.$ac_objext \
13695 conftest$ac_exeext conftest.$ac_ext
13696 LIBS=$ac_check_lib_save_LIBS
13698 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
13699 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
13700 if test $ac_cv_lib_m_exp = yes; then
13702 cat >>confdefs.h <<\_ACEOF
13708 echo "$as_me:$LINENO: checking for expl in -lm" >&5
13709 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
13710 if test "${ac_cv_lib_m_expl+set}" = set; then
13711 echo $ECHO_N "(cached) $ECHO_C" >&6
13713 ac_check_lib_save_LIBS=$LIBS
13715 if test x$gcc_no_link = xyes; then
13716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13718 { (exit 1); exit 1; }; }
13720 cat >conftest.$ac_ext <<_ACEOF
13723 cat confdefs.h >>conftest.$ac_ext
13724 cat >>conftest.$ac_ext <<_ACEOF
13725 /* end confdefs.h. */
13727 /* Override any gcc2 internal prototype to avoid an error. */
13731 /* We use char because int might match the return type of a gcc2
13732 builtin and then its argument prototype would still apply. */
13742 rm -f conftest.$ac_objext conftest$ac_exeext
13743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13744 (eval $ac_link) 2>conftest.er1
13746 grep -v '^ *+' conftest.er1 >conftest.err
13748 cat conftest.err >&5
13749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13750 (exit $ac_status); } &&
13751 { ac_try='test -z "$ac_c_werror_flag"
13752 || test ! -s conftest.err'
13753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13754 (eval $ac_try) 2>&5
13756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13757 (exit $ac_status); }; } &&
13758 { ac_try='test -s conftest$ac_exeext'
13759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13760 (eval $ac_try) 2>&5
13762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13763 (exit $ac_status); }; }; then
13764 ac_cv_lib_m_expl=yes
13766 echo "$as_me: failed program was:" >&5
13767 sed 's/^/| /' conftest.$ac_ext >&5
13769 ac_cv_lib_m_expl=no
13771 rm -f conftest.err conftest.$ac_objext \
13772 conftest$ac_exeext conftest.$ac_ext
13773 LIBS=$ac_check_lib_save_LIBS
13775 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
13776 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
13777 if test $ac_cv_lib_m_expl = yes; then
13779 cat >>confdefs.h <<\_ACEOF
13780 #define HAVE_EXPL 1
13785 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
13786 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
13787 if test "${ac_cv_lib_m_cexpf+set}" = set; then
13788 echo $ECHO_N "(cached) $ECHO_C" >&6
13790 ac_check_lib_save_LIBS=$LIBS
13792 if test x$gcc_no_link = xyes; then
13793 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13795 { (exit 1); exit 1; }; }
13797 cat >conftest.$ac_ext <<_ACEOF
13800 cat confdefs.h >>conftest.$ac_ext
13801 cat >>conftest.$ac_ext <<_ACEOF
13802 /* end confdefs.h. */
13804 /* Override any gcc2 internal prototype to avoid an error. */
13808 /* We use char because int might match the return type of a gcc2
13809 builtin and then its argument prototype would still apply. */
13819 rm -f conftest.$ac_objext conftest$ac_exeext
13820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13821 (eval $ac_link) 2>conftest.er1
13823 grep -v '^ *+' conftest.er1 >conftest.err
13825 cat conftest.err >&5
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); } &&
13828 { ac_try='test -z "$ac_c_werror_flag"
13829 || test ! -s conftest.err'
13830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13831 (eval $ac_try) 2>&5
13833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13834 (exit $ac_status); }; } &&
13835 { ac_try='test -s conftest$ac_exeext'
13836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13837 (eval $ac_try) 2>&5
13839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13840 (exit $ac_status); }; }; then
13841 ac_cv_lib_m_cexpf=yes
13843 echo "$as_me: failed program was:" >&5
13844 sed 's/^/| /' conftest.$ac_ext >&5
13846 ac_cv_lib_m_cexpf=no
13848 rm -f conftest.err conftest.$ac_objext \
13849 conftest$ac_exeext conftest.$ac_ext
13850 LIBS=$ac_check_lib_save_LIBS
13852 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
13853 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
13854 if test $ac_cv_lib_m_cexpf = yes; then
13856 cat >>confdefs.h <<\_ACEOF
13857 #define HAVE_CEXPF 1
13862 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
13863 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
13864 if test "${ac_cv_lib_m_cexp+set}" = set; then
13865 echo $ECHO_N "(cached) $ECHO_C" >&6
13867 ac_check_lib_save_LIBS=$LIBS
13869 if test x$gcc_no_link = xyes; then
13870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13872 { (exit 1); exit 1; }; }
13874 cat >conftest.$ac_ext <<_ACEOF
13877 cat confdefs.h >>conftest.$ac_ext
13878 cat >>conftest.$ac_ext <<_ACEOF
13879 /* end confdefs.h. */
13881 /* Override any gcc2 internal prototype to avoid an error. */
13885 /* We use char because int might match the return type of a gcc2
13886 builtin and then its argument prototype would still apply. */
13896 rm -f conftest.$ac_objext conftest$ac_exeext
13897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13898 (eval $ac_link) 2>conftest.er1
13900 grep -v '^ *+' conftest.er1 >conftest.err
13902 cat conftest.err >&5
13903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13904 (exit $ac_status); } &&
13905 { ac_try='test -z "$ac_c_werror_flag"
13906 || test ! -s conftest.err'
13907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13908 (eval $ac_try) 2>&5
13910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13911 (exit $ac_status); }; } &&
13912 { ac_try='test -s conftest$ac_exeext'
13913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13914 (eval $ac_try) 2>&5
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 (exit $ac_status); }; }; then
13918 ac_cv_lib_m_cexp=yes
13920 echo "$as_me: failed program was:" >&5
13921 sed 's/^/| /' conftest.$ac_ext >&5
13923 ac_cv_lib_m_cexp=no
13925 rm -f conftest.err conftest.$ac_objext \
13926 conftest$ac_exeext conftest.$ac_ext
13927 LIBS=$ac_check_lib_save_LIBS
13929 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
13930 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
13931 if test $ac_cv_lib_m_cexp = yes; then
13933 cat >>confdefs.h <<\_ACEOF
13934 #define HAVE_CEXP 1
13939 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
13940 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
13941 if test "${ac_cv_lib_m_cexpl+set}" = set; then
13942 echo $ECHO_N "(cached) $ECHO_C" >&6
13944 ac_check_lib_save_LIBS=$LIBS
13946 if test x$gcc_no_link = xyes; then
13947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13949 { (exit 1); exit 1; }; }
13951 cat >conftest.$ac_ext <<_ACEOF
13954 cat confdefs.h >>conftest.$ac_ext
13955 cat >>conftest.$ac_ext <<_ACEOF
13956 /* end confdefs.h. */
13958 /* Override any gcc2 internal prototype to avoid an error. */
13962 /* We use char because int might match the return type of a gcc2
13963 builtin and then its argument prototype would still apply. */
13973 rm -f conftest.$ac_objext conftest$ac_exeext
13974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13975 (eval $ac_link) 2>conftest.er1
13977 grep -v '^ *+' conftest.er1 >conftest.err
13979 cat conftest.err >&5
13980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13981 (exit $ac_status); } &&
13982 { ac_try='test -z "$ac_c_werror_flag"
13983 || test ! -s conftest.err'
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); }; } &&
13989 { ac_try='test -s conftest$ac_exeext'
13990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13991 (eval $ac_try) 2>&5
13993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13994 (exit $ac_status); }; }; then
13995 ac_cv_lib_m_cexpl=yes
13997 echo "$as_me: failed program was:" >&5
13998 sed 's/^/| /' conftest.$ac_ext >&5
14000 ac_cv_lib_m_cexpl=no
14002 rm -f conftest.err conftest.$ac_objext \
14003 conftest$ac_exeext conftest.$ac_ext
14004 LIBS=$ac_check_lib_save_LIBS
14006 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
14007 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
14008 if test $ac_cv_lib_m_cexpl = yes; then
14010 cat >>confdefs.h <<\_ACEOF
14011 #define HAVE_CEXPL 1
14016 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
14017 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
14018 if test "${ac_cv_lib_m_fabsf+set}" = set; then
14019 echo $ECHO_N "(cached) $ECHO_C" >&6
14021 ac_check_lib_save_LIBS=$LIBS
14023 if test x$gcc_no_link = xyes; then
14024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14026 { (exit 1); exit 1; }; }
14028 cat >conftest.$ac_ext <<_ACEOF
14031 cat confdefs.h >>conftest.$ac_ext
14032 cat >>conftest.$ac_ext <<_ACEOF
14033 /* end confdefs.h. */
14035 /* Override any gcc2 internal prototype to avoid an error. */
14039 /* We use char because int might match the return type of a gcc2
14040 builtin and then its argument prototype would still apply. */
14050 rm -f conftest.$ac_objext conftest$ac_exeext
14051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14052 (eval $ac_link) 2>conftest.er1
14054 grep -v '^ *+' conftest.er1 >conftest.err
14056 cat conftest.err >&5
14057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14058 (exit $ac_status); } &&
14059 { ac_try='test -z "$ac_c_werror_flag"
14060 || test ! -s conftest.err'
14061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14062 (eval $ac_try) 2>&5
14064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14065 (exit $ac_status); }; } &&
14066 { ac_try='test -s conftest$ac_exeext'
14067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14068 (eval $ac_try) 2>&5
14070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14071 (exit $ac_status); }; }; then
14072 ac_cv_lib_m_fabsf=yes
14074 echo "$as_me: failed program was:" >&5
14075 sed 's/^/| /' conftest.$ac_ext >&5
14077 ac_cv_lib_m_fabsf=no
14079 rm -f conftest.err conftest.$ac_objext \
14080 conftest$ac_exeext conftest.$ac_ext
14081 LIBS=$ac_check_lib_save_LIBS
14083 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
14084 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
14085 if test $ac_cv_lib_m_fabsf = yes; then
14087 cat >>confdefs.h <<\_ACEOF
14088 #define HAVE_FABSF 1
14093 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
14094 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
14095 if test "${ac_cv_lib_m_fabs+set}" = set; then
14096 echo $ECHO_N "(cached) $ECHO_C" >&6
14098 ac_check_lib_save_LIBS=$LIBS
14100 if test x$gcc_no_link = xyes; then
14101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14103 { (exit 1); exit 1; }; }
14105 cat >conftest.$ac_ext <<_ACEOF
14108 cat confdefs.h >>conftest.$ac_ext
14109 cat >>conftest.$ac_ext <<_ACEOF
14110 /* end confdefs.h. */
14112 /* Override any gcc2 internal prototype to avoid an error. */
14116 /* We use char because int might match the return type of a gcc2
14117 builtin and then its argument prototype would still apply. */
14127 rm -f conftest.$ac_objext conftest$ac_exeext
14128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14129 (eval $ac_link) 2>conftest.er1
14131 grep -v '^ *+' conftest.er1 >conftest.err
14133 cat conftest.err >&5
14134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14135 (exit $ac_status); } &&
14136 { ac_try='test -z "$ac_c_werror_flag"
14137 || test ! -s conftest.err'
14138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14139 (eval $ac_try) 2>&5
14141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14142 (exit $ac_status); }; } &&
14143 { ac_try='test -s conftest$ac_exeext'
14144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14145 (eval $ac_try) 2>&5
14147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14148 (exit $ac_status); }; }; then
14149 ac_cv_lib_m_fabs=yes
14151 echo "$as_me: failed program was:" >&5
14152 sed 's/^/| /' conftest.$ac_ext >&5
14154 ac_cv_lib_m_fabs=no
14156 rm -f conftest.err conftest.$ac_objext \
14157 conftest$ac_exeext conftest.$ac_ext
14158 LIBS=$ac_check_lib_save_LIBS
14160 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
14161 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
14162 if test $ac_cv_lib_m_fabs = yes; then
14164 cat >>confdefs.h <<\_ACEOF
14165 #define HAVE_FABS 1
14170 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
14171 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
14172 if test "${ac_cv_lib_m_fabsl+set}" = set; then
14173 echo $ECHO_N "(cached) $ECHO_C" >&6
14175 ac_check_lib_save_LIBS=$LIBS
14177 if test x$gcc_no_link = xyes; then
14178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14180 { (exit 1); exit 1; }; }
14182 cat >conftest.$ac_ext <<_ACEOF
14185 cat confdefs.h >>conftest.$ac_ext
14186 cat >>conftest.$ac_ext <<_ACEOF
14187 /* end confdefs.h. */
14189 /* Override any gcc2 internal prototype to avoid an error. */
14193 /* We use char because int might match the return type of a gcc2
14194 builtin and then its argument prototype would still apply. */
14204 rm -f conftest.$ac_objext conftest$ac_exeext
14205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14206 (eval $ac_link) 2>conftest.er1
14208 grep -v '^ *+' conftest.er1 >conftest.err
14210 cat conftest.err >&5
14211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212 (exit $ac_status); } &&
14213 { ac_try='test -z "$ac_c_werror_flag"
14214 || test ! -s conftest.err'
14215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14216 (eval $ac_try) 2>&5
14218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14219 (exit $ac_status); }; } &&
14220 { ac_try='test -s conftest$ac_exeext'
14221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14222 (eval $ac_try) 2>&5
14224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14225 (exit $ac_status); }; }; then
14226 ac_cv_lib_m_fabsl=yes
14228 echo "$as_me: failed program was:" >&5
14229 sed 's/^/| /' conftest.$ac_ext >&5
14231 ac_cv_lib_m_fabsl=no
14233 rm -f conftest.err conftest.$ac_objext \
14234 conftest$ac_exeext conftest.$ac_ext
14235 LIBS=$ac_check_lib_save_LIBS
14237 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
14238 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
14239 if test $ac_cv_lib_m_fabsl = yes; then
14241 cat >>confdefs.h <<\_ACEOF
14242 #define HAVE_FABSL 1
14247 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
14248 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
14249 if test "${ac_cv_lib_m_cabsf+set}" = set; then
14250 echo $ECHO_N "(cached) $ECHO_C" >&6
14252 ac_check_lib_save_LIBS=$LIBS
14254 if test x$gcc_no_link = xyes; then
14255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14257 { (exit 1); exit 1; }; }
14259 cat >conftest.$ac_ext <<_ACEOF
14262 cat confdefs.h >>conftest.$ac_ext
14263 cat >>conftest.$ac_ext <<_ACEOF
14264 /* end confdefs.h. */
14266 /* Override any gcc2 internal prototype to avoid an error. */
14270 /* We use char because int might match the return type of a gcc2
14271 builtin and then its argument prototype would still apply. */
14281 rm -f conftest.$ac_objext conftest$ac_exeext
14282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14283 (eval $ac_link) 2>conftest.er1
14285 grep -v '^ *+' conftest.er1 >conftest.err
14287 cat conftest.err >&5
14288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289 (exit $ac_status); } &&
14290 { ac_try='test -z "$ac_c_werror_flag"
14291 || test ! -s conftest.err'
14292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14293 (eval $ac_try) 2>&5
14295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296 (exit $ac_status); }; } &&
14297 { ac_try='test -s conftest$ac_exeext'
14298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14299 (eval $ac_try) 2>&5
14301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14302 (exit $ac_status); }; }; then
14303 ac_cv_lib_m_cabsf=yes
14305 echo "$as_me: failed program was:" >&5
14306 sed 's/^/| /' conftest.$ac_ext >&5
14308 ac_cv_lib_m_cabsf=no
14310 rm -f conftest.err conftest.$ac_objext \
14311 conftest$ac_exeext conftest.$ac_ext
14312 LIBS=$ac_check_lib_save_LIBS
14314 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
14315 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
14316 if test $ac_cv_lib_m_cabsf = yes; then
14318 cat >>confdefs.h <<\_ACEOF
14319 #define HAVE_CABSF 1
14324 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
14325 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
14326 if test "${ac_cv_lib_m_cabs+set}" = set; then
14327 echo $ECHO_N "(cached) $ECHO_C" >&6
14329 ac_check_lib_save_LIBS=$LIBS
14331 if test x$gcc_no_link = xyes; then
14332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14334 { (exit 1); exit 1; }; }
14336 cat >conftest.$ac_ext <<_ACEOF
14339 cat confdefs.h >>conftest.$ac_ext
14340 cat >>conftest.$ac_ext <<_ACEOF
14341 /* end confdefs.h. */
14343 /* Override any gcc2 internal prototype to avoid an error. */
14347 /* We use char because int might match the return type of a gcc2
14348 builtin and then its argument prototype would still apply. */
14358 rm -f conftest.$ac_objext conftest$ac_exeext
14359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14360 (eval $ac_link) 2>conftest.er1
14362 grep -v '^ *+' conftest.er1 >conftest.err
14364 cat conftest.err >&5
14365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14366 (exit $ac_status); } &&
14367 { ac_try='test -z "$ac_c_werror_flag"
14368 || test ! -s conftest.err'
14369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14370 (eval $ac_try) 2>&5
14372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14373 (exit $ac_status); }; } &&
14374 { ac_try='test -s conftest$ac_exeext'
14375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14376 (eval $ac_try) 2>&5
14378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14379 (exit $ac_status); }; }; then
14380 ac_cv_lib_m_cabs=yes
14382 echo "$as_me: failed program was:" >&5
14383 sed 's/^/| /' conftest.$ac_ext >&5
14385 ac_cv_lib_m_cabs=no
14387 rm -f conftest.err conftest.$ac_objext \
14388 conftest$ac_exeext conftest.$ac_ext
14389 LIBS=$ac_check_lib_save_LIBS
14391 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
14392 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
14393 if test $ac_cv_lib_m_cabs = yes; then
14395 cat >>confdefs.h <<\_ACEOF
14396 #define HAVE_CABS 1
14401 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
14402 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
14403 if test "${ac_cv_lib_m_cabsl+set}" = set; then
14404 echo $ECHO_N "(cached) $ECHO_C" >&6
14406 ac_check_lib_save_LIBS=$LIBS
14408 if test x$gcc_no_link = xyes; then
14409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14411 { (exit 1); exit 1; }; }
14413 cat >conftest.$ac_ext <<_ACEOF
14416 cat confdefs.h >>conftest.$ac_ext
14417 cat >>conftest.$ac_ext <<_ACEOF
14418 /* end confdefs.h. */
14420 /* Override any gcc2 internal prototype to avoid an error. */
14424 /* We use char because int might match the return type of a gcc2
14425 builtin and then its argument prototype would still apply. */
14435 rm -f conftest.$ac_objext conftest$ac_exeext
14436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14437 (eval $ac_link) 2>conftest.er1
14439 grep -v '^ *+' conftest.er1 >conftest.err
14441 cat conftest.err >&5
14442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14443 (exit $ac_status); } &&
14444 { ac_try='test -z "$ac_c_werror_flag"
14445 || test ! -s conftest.err'
14446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14447 (eval $ac_try) 2>&5
14449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14450 (exit $ac_status); }; } &&
14451 { ac_try='test -s conftest$ac_exeext'
14452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14453 (eval $ac_try) 2>&5
14455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14456 (exit $ac_status); }; }; then
14457 ac_cv_lib_m_cabsl=yes
14459 echo "$as_me: failed program was:" >&5
14460 sed 's/^/| /' conftest.$ac_ext >&5
14462 ac_cv_lib_m_cabsl=no
14464 rm -f conftest.err conftest.$ac_objext \
14465 conftest$ac_exeext conftest.$ac_ext
14466 LIBS=$ac_check_lib_save_LIBS
14468 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
14469 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
14470 if test $ac_cv_lib_m_cabsl = yes; then
14472 cat >>confdefs.h <<\_ACEOF
14473 #define HAVE_CABSL 1
14478 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
14479 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
14480 if test "${ac_cv_lib_m_floorf+set}" = set; then
14481 echo $ECHO_N "(cached) $ECHO_C" >&6
14483 ac_check_lib_save_LIBS=$LIBS
14485 if test x$gcc_no_link = xyes; then
14486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14488 { (exit 1); exit 1; }; }
14490 cat >conftest.$ac_ext <<_ACEOF
14493 cat confdefs.h >>conftest.$ac_ext
14494 cat >>conftest.$ac_ext <<_ACEOF
14495 /* end confdefs.h. */
14497 /* Override any gcc2 internal prototype to avoid an error. */
14501 /* We use char because int might match the return type of a gcc2
14502 builtin and then its argument prototype would still apply. */
14512 rm -f conftest.$ac_objext conftest$ac_exeext
14513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14514 (eval $ac_link) 2>conftest.er1
14516 grep -v '^ *+' conftest.er1 >conftest.err
14518 cat conftest.err >&5
14519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14520 (exit $ac_status); } &&
14521 { ac_try='test -z "$ac_c_werror_flag"
14522 || test ! -s conftest.err'
14523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14524 (eval $ac_try) 2>&5
14526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14527 (exit $ac_status); }; } &&
14528 { ac_try='test -s conftest$ac_exeext'
14529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14530 (eval $ac_try) 2>&5
14532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14533 (exit $ac_status); }; }; then
14534 ac_cv_lib_m_floorf=yes
14536 echo "$as_me: failed program was:" >&5
14537 sed 's/^/| /' conftest.$ac_ext >&5
14539 ac_cv_lib_m_floorf=no
14541 rm -f conftest.err conftest.$ac_objext \
14542 conftest$ac_exeext conftest.$ac_ext
14543 LIBS=$ac_check_lib_save_LIBS
14545 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
14546 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
14547 if test $ac_cv_lib_m_floorf = yes; then
14549 cat >>confdefs.h <<\_ACEOF
14550 #define HAVE_FLOORF 1
14555 echo "$as_me:$LINENO: checking for floor in -lm" >&5
14556 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
14557 if test "${ac_cv_lib_m_floor+set}" = set; then
14558 echo $ECHO_N "(cached) $ECHO_C" >&6
14560 ac_check_lib_save_LIBS=$LIBS
14562 if test x$gcc_no_link = xyes; then
14563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14565 { (exit 1); exit 1; }; }
14567 cat >conftest.$ac_ext <<_ACEOF
14570 cat confdefs.h >>conftest.$ac_ext
14571 cat >>conftest.$ac_ext <<_ACEOF
14572 /* end confdefs.h. */
14574 /* Override any gcc2 internal prototype to avoid an error. */
14578 /* We use char because int might match the return type of a gcc2
14579 builtin and then its argument prototype would still apply. */
14589 rm -f conftest.$ac_objext conftest$ac_exeext
14590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14591 (eval $ac_link) 2>conftest.er1
14593 grep -v '^ *+' conftest.er1 >conftest.err
14595 cat conftest.err >&5
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); } &&
14598 { ac_try='test -z "$ac_c_werror_flag"
14599 || test ! -s conftest.err'
14600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14601 (eval $ac_try) 2>&5
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); }; } &&
14605 { ac_try='test -s conftest$ac_exeext'
14606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14607 (eval $ac_try) 2>&5
14609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14610 (exit $ac_status); }; }; then
14611 ac_cv_lib_m_floor=yes
14613 echo "$as_me: failed program was:" >&5
14614 sed 's/^/| /' conftest.$ac_ext >&5
14616 ac_cv_lib_m_floor=no
14618 rm -f conftest.err conftest.$ac_objext \
14619 conftest$ac_exeext conftest.$ac_ext
14620 LIBS=$ac_check_lib_save_LIBS
14622 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
14623 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
14624 if test $ac_cv_lib_m_floor = yes; then
14626 cat >>confdefs.h <<\_ACEOF
14627 #define HAVE_FLOOR 1
14632 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
14633 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
14634 if test "${ac_cv_lib_m_floorl+set}" = set; then
14635 echo $ECHO_N "(cached) $ECHO_C" >&6
14637 ac_check_lib_save_LIBS=$LIBS
14639 if test x$gcc_no_link = xyes; then
14640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14642 { (exit 1); exit 1; }; }
14644 cat >conftest.$ac_ext <<_ACEOF
14647 cat confdefs.h >>conftest.$ac_ext
14648 cat >>conftest.$ac_ext <<_ACEOF
14649 /* end confdefs.h. */
14651 /* Override any gcc2 internal prototype to avoid an error. */
14655 /* We use char because int might match the return type of a gcc2
14656 builtin and then its argument prototype would still apply. */
14666 rm -f conftest.$ac_objext conftest$ac_exeext
14667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14668 (eval $ac_link) 2>conftest.er1
14670 grep -v '^ *+' conftest.er1 >conftest.err
14672 cat conftest.err >&5
14673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14674 (exit $ac_status); } &&
14675 { ac_try='test -z "$ac_c_werror_flag"
14676 || test ! -s conftest.err'
14677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14678 (eval $ac_try) 2>&5
14680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14681 (exit $ac_status); }; } &&
14682 { ac_try='test -s conftest$ac_exeext'
14683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14684 (eval $ac_try) 2>&5
14686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14687 (exit $ac_status); }; }; then
14688 ac_cv_lib_m_floorl=yes
14690 echo "$as_me: failed program was:" >&5
14691 sed 's/^/| /' conftest.$ac_ext >&5
14693 ac_cv_lib_m_floorl=no
14695 rm -f conftest.err conftest.$ac_objext \
14696 conftest$ac_exeext conftest.$ac_ext
14697 LIBS=$ac_check_lib_save_LIBS
14699 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
14700 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
14701 if test $ac_cv_lib_m_floorl = yes; then
14703 cat >>confdefs.h <<\_ACEOF
14704 #define HAVE_FLOORL 1
14709 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
14710 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
14711 if test "${ac_cv_lib_m_frexpf+set}" = set; then
14712 echo $ECHO_N "(cached) $ECHO_C" >&6
14714 ac_check_lib_save_LIBS=$LIBS
14716 if test x$gcc_no_link = xyes; then
14717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14719 { (exit 1); exit 1; }; }
14721 cat >conftest.$ac_ext <<_ACEOF
14724 cat confdefs.h >>conftest.$ac_ext
14725 cat >>conftest.$ac_ext <<_ACEOF
14726 /* end confdefs.h. */
14728 /* Override any gcc2 internal prototype to avoid an error. */
14732 /* We use char because int might match the return type of a gcc2
14733 builtin and then its argument prototype would still apply. */
14743 rm -f conftest.$ac_objext conftest$ac_exeext
14744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14745 (eval $ac_link) 2>conftest.er1
14747 grep -v '^ *+' conftest.er1 >conftest.err
14749 cat conftest.err >&5
14750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751 (exit $ac_status); } &&
14752 { ac_try='test -z "$ac_c_werror_flag"
14753 || test ! -s conftest.err'
14754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14755 (eval $ac_try) 2>&5
14757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14758 (exit $ac_status); }; } &&
14759 { ac_try='test -s conftest$ac_exeext'
14760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14761 (eval $ac_try) 2>&5
14763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14764 (exit $ac_status); }; }; then
14765 ac_cv_lib_m_frexpf=yes
14767 echo "$as_me: failed program was:" >&5
14768 sed 's/^/| /' conftest.$ac_ext >&5
14770 ac_cv_lib_m_frexpf=no
14772 rm -f conftest.err conftest.$ac_objext \
14773 conftest$ac_exeext conftest.$ac_ext
14774 LIBS=$ac_check_lib_save_LIBS
14776 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
14777 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
14778 if test $ac_cv_lib_m_frexpf = yes; then
14780 cat >>confdefs.h <<\_ACEOF
14781 #define HAVE_FREXPF 1
14786 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
14787 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
14788 if test "${ac_cv_lib_m_frexp+set}" = set; then
14789 echo $ECHO_N "(cached) $ECHO_C" >&6
14791 ac_check_lib_save_LIBS=$LIBS
14793 if test x$gcc_no_link = xyes; then
14794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14796 { (exit 1); exit 1; }; }
14798 cat >conftest.$ac_ext <<_ACEOF
14801 cat confdefs.h >>conftest.$ac_ext
14802 cat >>conftest.$ac_ext <<_ACEOF
14803 /* end confdefs.h. */
14805 /* Override any gcc2 internal prototype to avoid an error. */
14809 /* We use char because int might match the return type of a gcc2
14810 builtin and then its argument prototype would still apply. */
14820 rm -f conftest.$ac_objext conftest$ac_exeext
14821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14822 (eval $ac_link) 2>conftest.er1
14824 grep -v '^ *+' conftest.er1 >conftest.err
14826 cat conftest.err >&5
14827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14828 (exit $ac_status); } &&
14829 { ac_try='test -z "$ac_c_werror_flag"
14830 || test ! -s conftest.err'
14831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14832 (eval $ac_try) 2>&5
14834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14835 (exit $ac_status); }; } &&
14836 { ac_try='test -s conftest$ac_exeext'
14837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14838 (eval $ac_try) 2>&5
14840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14841 (exit $ac_status); }; }; then
14842 ac_cv_lib_m_frexp=yes
14844 echo "$as_me: failed program was:" >&5
14845 sed 's/^/| /' conftest.$ac_ext >&5
14847 ac_cv_lib_m_frexp=no
14849 rm -f conftest.err conftest.$ac_objext \
14850 conftest$ac_exeext conftest.$ac_ext
14851 LIBS=$ac_check_lib_save_LIBS
14853 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
14854 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
14855 if test $ac_cv_lib_m_frexp = yes; then
14857 cat >>confdefs.h <<\_ACEOF
14858 #define HAVE_FREXP 1
14863 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
14864 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
14865 if test "${ac_cv_lib_m_frexpl+set}" = set; then
14866 echo $ECHO_N "(cached) $ECHO_C" >&6
14868 ac_check_lib_save_LIBS=$LIBS
14870 if test x$gcc_no_link = xyes; then
14871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14873 { (exit 1); exit 1; }; }
14875 cat >conftest.$ac_ext <<_ACEOF
14878 cat confdefs.h >>conftest.$ac_ext
14879 cat >>conftest.$ac_ext <<_ACEOF
14880 /* end confdefs.h. */
14882 /* Override any gcc2 internal prototype to avoid an error. */
14886 /* We use char because int might match the return type of a gcc2
14887 builtin and then its argument prototype would still apply. */
14897 rm -f conftest.$ac_objext conftest$ac_exeext
14898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14899 (eval $ac_link) 2>conftest.er1
14901 grep -v '^ *+' conftest.er1 >conftest.err
14903 cat conftest.err >&5
14904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14905 (exit $ac_status); } &&
14906 { ac_try='test -z "$ac_c_werror_flag"
14907 || test ! -s conftest.err'
14908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14909 (eval $ac_try) 2>&5
14911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14912 (exit $ac_status); }; } &&
14913 { ac_try='test -s conftest$ac_exeext'
14914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14915 (eval $ac_try) 2>&5
14917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918 (exit $ac_status); }; }; then
14919 ac_cv_lib_m_frexpl=yes
14921 echo "$as_me: failed program was:" >&5
14922 sed 's/^/| /' conftest.$ac_ext >&5
14924 ac_cv_lib_m_frexpl=no
14926 rm -f conftest.err conftest.$ac_objext \
14927 conftest$ac_exeext conftest.$ac_ext
14928 LIBS=$ac_check_lib_save_LIBS
14930 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
14931 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
14932 if test $ac_cv_lib_m_frexpl = yes; then
14934 cat >>confdefs.h <<\_ACEOF
14935 #define HAVE_FREXPL 1
14940 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
14941 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
14942 if test "${ac_cv_lib_m_hypotf+set}" = set; then
14943 echo $ECHO_N "(cached) $ECHO_C" >&6
14945 ac_check_lib_save_LIBS=$LIBS
14947 if test x$gcc_no_link = xyes; then
14948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14950 { (exit 1); exit 1; }; }
14952 cat >conftest.$ac_ext <<_ACEOF
14955 cat confdefs.h >>conftest.$ac_ext
14956 cat >>conftest.$ac_ext <<_ACEOF
14957 /* end confdefs.h. */
14959 /* Override any gcc2 internal prototype to avoid an error. */
14963 /* We use char because int might match the return type of a gcc2
14964 builtin and then its argument prototype would still apply. */
14974 rm -f conftest.$ac_objext conftest$ac_exeext
14975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14976 (eval $ac_link) 2>conftest.er1
14978 grep -v '^ *+' conftest.er1 >conftest.err
14980 cat conftest.err >&5
14981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982 (exit $ac_status); } &&
14983 { ac_try='test -z "$ac_c_werror_flag"
14984 || test ! -s conftest.err'
14985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14986 (eval $ac_try) 2>&5
14988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14989 (exit $ac_status); }; } &&
14990 { ac_try='test -s conftest$ac_exeext'
14991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14992 (eval $ac_try) 2>&5
14994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14995 (exit $ac_status); }; }; then
14996 ac_cv_lib_m_hypotf=yes
14998 echo "$as_me: failed program was:" >&5
14999 sed 's/^/| /' conftest.$ac_ext >&5
15001 ac_cv_lib_m_hypotf=no
15003 rm -f conftest.err conftest.$ac_objext \
15004 conftest$ac_exeext conftest.$ac_ext
15005 LIBS=$ac_check_lib_save_LIBS
15007 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
15008 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
15009 if test $ac_cv_lib_m_hypotf = yes; then
15011 cat >>confdefs.h <<\_ACEOF
15012 #define HAVE_HYPOTF 1
15017 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
15018 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
15019 if test "${ac_cv_lib_m_hypot+set}" = set; then
15020 echo $ECHO_N "(cached) $ECHO_C" >&6
15022 ac_check_lib_save_LIBS=$LIBS
15024 if test x$gcc_no_link = xyes; then
15025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15027 { (exit 1); exit 1; }; }
15029 cat >conftest.$ac_ext <<_ACEOF
15032 cat confdefs.h >>conftest.$ac_ext
15033 cat >>conftest.$ac_ext <<_ACEOF
15034 /* end confdefs.h. */
15036 /* Override any gcc2 internal prototype to avoid an error. */
15040 /* We use char because int might match the return type of a gcc2
15041 builtin and then its argument prototype would still apply. */
15051 rm -f conftest.$ac_objext conftest$ac_exeext
15052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15053 (eval $ac_link) 2>conftest.er1
15055 grep -v '^ *+' conftest.er1 >conftest.err
15057 cat conftest.err >&5
15058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059 (exit $ac_status); } &&
15060 { ac_try='test -z "$ac_c_werror_flag"
15061 || test ! -s conftest.err'
15062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15063 (eval $ac_try) 2>&5
15065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066 (exit $ac_status); }; } &&
15067 { ac_try='test -s conftest$ac_exeext'
15068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15069 (eval $ac_try) 2>&5
15071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072 (exit $ac_status); }; }; then
15073 ac_cv_lib_m_hypot=yes
15075 echo "$as_me: failed program was:" >&5
15076 sed 's/^/| /' conftest.$ac_ext >&5
15078 ac_cv_lib_m_hypot=no
15080 rm -f conftest.err conftest.$ac_objext \
15081 conftest$ac_exeext conftest.$ac_ext
15082 LIBS=$ac_check_lib_save_LIBS
15084 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
15085 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
15086 if test $ac_cv_lib_m_hypot = yes; then
15088 cat >>confdefs.h <<\_ACEOF
15089 #define HAVE_HYPOT 1
15094 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
15095 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
15096 if test "${ac_cv_lib_m_hypotl+set}" = set; then
15097 echo $ECHO_N "(cached) $ECHO_C" >&6
15099 ac_check_lib_save_LIBS=$LIBS
15101 if test x$gcc_no_link = xyes; then
15102 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15104 { (exit 1); exit 1; }; }
15106 cat >conftest.$ac_ext <<_ACEOF
15109 cat confdefs.h >>conftest.$ac_ext
15110 cat >>conftest.$ac_ext <<_ACEOF
15111 /* end confdefs.h. */
15113 /* Override any gcc2 internal prototype to avoid an error. */
15117 /* We use char because int might match the return type of a gcc2
15118 builtin and then its argument prototype would still apply. */
15128 rm -f conftest.$ac_objext conftest$ac_exeext
15129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15130 (eval $ac_link) 2>conftest.er1
15132 grep -v '^ *+' conftest.er1 >conftest.err
15134 cat conftest.err >&5
15135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15136 (exit $ac_status); } &&
15137 { ac_try='test -z "$ac_c_werror_flag"
15138 || test ! -s conftest.err'
15139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15140 (eval $ac_try) 2>&5
15142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15143 (exit $ac_status); }; } &&
15144 { ac_try='test -s conftest$ac_exeext'
15145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15146 (eval $ac_try) 2>&5
15148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149 (exit $ac_status); }; }; then
15150 ac_cv_lib_m_hypotl=yes
15152 echo "$as_me: failed program was:" >&5
15153 sed 's/^/| /' conftest.$ac_ext >&5
15155 ac_cv_lib_m_hypotl=no
15157 rm -f conftest.err conftest.$ac_objext \
15158 conftest$ac_exeext conftest.$ac_ext
15159 LIBS=$ac_check_lib_save_LIBS
15161 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
15162 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
15163 if test $ac_cv_lib_m_hypotl = yes; then
15165 cat >>confdefs.h <<\_ACEOF
15166 #define HAVE_HYPOTL 1
15171 echo "$as_me:$LINENO: checking for logf in -lm" >&5
15172 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
15173 if test "${ac_cv_lib_m_logf+set}" = set; then
15174 echo $ECHO_N "(cached) $ECHO_C" >&6
15176 ac_check_lib_save_LIBS=$LIBS
15178 if test x$gcc_no_link = xyes; then
15179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15181 { (exit 1); exit 1; }; }
15183 cat >conftest.$ac_ext <<_ACEOF
15186 cat confdefs.h >>conftest.$ac_ext
15187 cat >>conftest.$ac_ext <<_ACEOF
15188 /* end confdefs.h. */
15190 /* Override any gcc2 internal prototype to avoid an error. */
15194 /* We use char because int might match the return type of a gcc2
15195 builtin and then its argument prototype would still apply. */
15205 rm -f conftest.$ac_objext conftest$ac_exeext
15206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15207 (eval $ac_link) 2>conftest.er1
15209 grep -v '^ *+' conftest.er1 >conftest.err
15211 cat conftest.err >&5
15212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15213 (exit $ac_status); } &&
15214 { ac_try='test -z "$ac_c_werror_flag"
15215 || test ! -s conftest.err'
15216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15217 (eval $ac_try) 2>&5
15219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15220 (exit $ac_status); }; } &&
15221 { ac_try='test -s conftest$ac_exeext'
15222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15223 (eval $ac_try) 2>&5
15225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15226 (exit $ac_status); }; }; then
15227 ac_cv_lib_m_logf=yes
15229 echo "$as_me: failed program was:" >&5
15230 sed 's/^/| /' conftest.$ac_ext >&5
15232 ac_cv_lib_m_logf=no
15234 rm -f conftest.err conftest.$ac_objext \
15235 conftest$ac_exeext conftest.$ac_ext
15236 LIBS=$ac_check_lib_save_LIBS
15238 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
15239 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
15240 if test $ac_cv_lib_m_logf = yes; then
15242 cat >>confdefs.h <<\_ACEOF
15243 #define HAVE_LOGF 1
15248 echo "$as_me:$LINENO: checking for log in -lm" >&5
15249 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
15250 if test "${ac_cv_lib_m_log+set}" = set; then
15251 echo $ECHO_N "(cached) $ECHO_C" >&6
15253 ac_check_lib_save_LIBS=$LIBS
15255 if test x$gcc_no_link = xyes; then
15256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15258 { (exit 1); exit 1; }; }
15260 cat >conftest.$ac_ext <<_ACEOF
15263 cat confdefs.h >>conftest.$ac_ext
15264 cat >>conftest.$ac_ext <<_ACEOF
15265 /* end confdefs.h. */
15267 /* Override any gcc2 internal prototype to avoid an error. */
15271 /* We use char because int might match the return type of a gcc2
15272 builtin and then its argument prototype would still apply. */
15282 rm -f conftest.$ac_objext conftest$ac_exeext
15283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15284 (eval $ac_link) 2>conftest.er1
15286 grep -v '^ *+' conftest.er1 >conftest.err
15288 cat conftest.err >&5
15289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15290 (exit $ac_status); } &&
15291 { ac_try='test -z "$ac_c_werror_flag"
15292 || test ! -s conftest.err'
15293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15294 (eval $ac_try) 2>&5
15296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15297 (exit $ac_status); }; } &&
15298 { ac_try='test -s conftest$ac_exeext'
15299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15300 (eval $ac_try) 2>&5
15302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 (exit $ac_status); }; }; then
15304 ac_cv_lib_m_log=yes
15306 echo "$as_me: failed program was:" >&5
15307 sed 's/^/| /' conftest.$ac_ext >&5
15311 rm -f conftest.err conftest.$ac_objext \
15312 conftest$ac_exeext conftest.$ac_ext
15313 LIBS=$ac_check_lib_save_LIBS
15315 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
15316 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
15317 if test $ac_cv_lib_m_log = yes; then
15319 cat >>confdefs.h <<\_ACEOF
15325 echo "$as_me:$LINENO: checking for logl in -lm" >&5
15326 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
15327 if test "${ac_cv_lib_m_logl+set}" = set; then
15328 echo $ECHO_N "(cached) $ECHO_C" >&6
15330 ac_check_lib_save_LIBS=$LIBS
15332 if test x$gcc_no_link = xyes; then
15333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15335 { (exit 1); exit 1; }; }
15337 cat >conftest.$ac_ext <<_ACEOF
15340 cat confdefs.h >>conftest.$ac_ext
15341 cat >>conftest.$ac_ext <<_ACEOF
15342 /* end confdefs.h. */
15344 /* Override any gcc2 internal prototype to avoid an error. */
15348 /* We use char because int might match the return type of a gcc2
15349 builtin and then its argument prototype would still apply. */
15359 rm -f conftest.$ac_objext conftest$ac_exeext
15360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15361 (eval $ac_link) 2>conftest.er1
15363 grep -v '^ *+' conftest.er1 >conftest.err
15365 cat conftest.err >&5
15366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367 (exit $ac_status); } &&
15368 { ac_try='test -z "$ac_c_werror_flag"
15369 || test ! -s conftest.err'
15370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15371 (eval $ac_try) 2>&5
15373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15374 (exit $ac_status); }; } &&
15375 { ac_try='test -s conftest$ac_exeext'
15376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15377 (eval $ac_try) 2>&5
15379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380 (exit $ac_status); }; }; then
15381 ac_cv_lib_m_logl=yes
15383 echo "$as_me: failed program was:" >&5
15384 sed 's/^/| /' conftest.$ac_ext >&5
15386 ac_cv_lib_m_logl=no
15388 rm -f conftest.err conftest.$ac_objext \
15389 conftest$ac_exeext conftest.$ac_ext
15390 LIBS=$ac_check_lib_save_LIBS
15392 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
15393 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
15394 if test $ac_cv_lib_m_logl = yes; then
15396 cat >>confdefs.h <<\_ACEOF
15397 #define HAVE_LOGL 1
15402 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
15403 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
15404 if test "${ac_cv_lib_m_clogf+set}" = set; then
15405 echo $ECHO_N "(cached) $ECHO_C" >&6
15407 ac_check_lib_save_LIBS=$LIBS
15409 if test x$gcc_no_link = xyes; then
15410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15412 { (exit 1); exit 1; }; }
15414 cat >conftest.$ac_ext <<_ACEOF
15417 cat confdefs.h >>conftest.$ac_ext
15418 cat >>conftest.$ac_ext <<_ACEOF
15419 /* end confdefs.h. */
15421 /* Override any gcc2 internal prototype to avoid an error. */
15425 /* We use char because int might match the return type of a gcc2
15426 builtin and then its argument prototype would still apply. */
15436 rm -f conftest.$ac_objext conftest$ac_exeext
15437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15438 (eval $ac_link) 2>conftest.er1
15440 grep -v '^ *+' conftest.er1 >conftest.err
15442 cat conftest.err >&5
15443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15444 (exit $ac_status); } &&
15445 { ac_try='test -z "$ac_c_werror_flag"
15446 || test ! -s conftest.err'
15447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15448 (eval $ac_try) 2>&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); }; } &&
15452 { ac_try='test -s conftest$ac_exeext'
15453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15454 (eval $ac_try) 2>&5
15456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15457 (exit $ac_status); }; }; then
15458 ac_cv_lib_m_clogf=yes
15460 echo "$as_me: failed program was:" >&5
15461 sed 's/^/| /' conftest.$ac_ext >&5
15463 ac_cv_lib_m_clogf=no
15465 rm -f conftest.err conftest.$ac_objext \
15466 conftest$ac_exeext conftest.$ac_ext
15467 LIBS=$ac_check_lib_save_LIBS
15469 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
15470 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
15471 if test $ac_cv_lib_m_clogf = yes; then
15473 cat >>confdefs.h <<\_ACEOF
15474 #define HAVE_CLOGF 1
15479 echo "$as_me:$LINENO: checking for clog in -lm" >&5
15480 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
15481 if test "${ac_cv_lib_m_clog+set}" = set; then
15482 echo $ECHO_N "(cached) $ECHO_C" >&6
15484 ac_check_lib_save_LIBS=$LIBS
15486 if test x$gcc_no_link = xyes; then
15487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15489 { (exit 1); exit 1; }; }
15491 cat >conftest.$ac_ext <<_ACEOF
15494 cat confdefs.h >>conftest.$ac_ext
15495 cat >>conftest.$ac_ext <<_ACEOF
15496 /* end confdefs.h. */
15498 /* Override any gcc2 internal prototype to avoid an error. */
15502 /* We use char because int might match the return type of a gcc2
15503 builtin and then its argument prototype would still apply. */
15513 rm -f conftest.$ac_objext conftest$ac_exeext
15514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15515 (eval $ac_link) 2>conftest.er1
15517 grep -v '^ *+' conftest.er1 >conftest.err
15519 cat conftest.err >&5
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); } &&
15522 { ac_try='test -z "$ac_c_werror_flag"
15523 || test ! -s conftest.err'
15524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15525 (eval $ac_try) 2>&5
15527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15528 (exit $ac_status); }; } &&
15529 { ac_try='test -s conftest$ac_exeext'
15530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15531 (eval $ac_try) 2>&5
15533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534 (exit $ac_status); }; }; then
15535 ac_cv_lib_m_clog=yes
15537 echo "$as_me: failed program was:" >&5
15538 sed 's/^/| /' conftest.$ac_ext >&5
15540 ac_cv_lib_m_clog=no
15542 rm -f conftest.err conftest.$ac_objext \
15543 conftest$ac_exeext conftest.$ac_ext
15544 LIBS=$ac_check_lib_save_LIBS
15546 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
15547 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
15548 if test $ac_cv_lib_m_clog = yes; then
15550 cat >>confdefs.h <<\_ACEOF
15551 #define HAVE_CLOG 1
15556 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
15557 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
15558 if test "${ac_cv_lib_m_clogl+set}" = set; then
15559 echo $ECHO_N "(cached) $ECHO_C" >&6
15561 ac_check_lib_save_LIBS=$LIBS
15563 if test x$gcc_no_link = xyes; then
15564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15566 { (exit 1); exit 1; }; }
15568 cat >conftest.$ac_ext <<_ACEOF
15571 cat confdefs.h >>conftest.$ac_ext
15572 cat >>conftest.$ac_ext <<_ACEOF
15573 /* end confdefs.h. */
15575 /* Override any gcc2 internal prototype to avoid an error. */
15579 /* We use char because int might match the return type of a gcc2
15580 builtin and then its argument prototype would still apply. */
15590 rm -f conftest.$ac_objext conftest$ac_exeext
15591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15592 (eval $ac_link) 2>conftest.er1
15594 grep -v '^ *+' conftest.er1 >conftest.err
15596 cat conftest.err >&5
15597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15598 (exit $ac_status); } &&
15599 { ac_try='test -z "$ac_c_werror_flag"
15600 || test ! -s conftest.err'
15601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15602 (eval $ac_try) 2>&5
15604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 (exit $ac_status); }; } &&
15606 { ac_try='test -s conftest$ac_exeext'
15607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15608 (eval $ac_try) 2>&5
15610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15611 (exit $ac_status); }; }; then
15612 ac_cv_lib_m_clogl=yes
15614 echo "$as_me: failed program was:" >&5
15615 sed 's/^/| /' conftest.$ac_ext >&5
15617 ac_cv_lib_m_clogl=no
15619 rm -f conftest.err conftest.$ac_objext \
15620 conftest$ac_exeext conftest.$ac_ext
15621 LIBS=$ac_check_lib_save_LIBS
15623 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
15624 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
15625 if test $ac_cv_lib_m_clogl = yes; then
15627 cat >>confdefs.h <<\_ACEOF
15628 #define HAVE_CLOGL 1
15633 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
15634 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
15635 if test "${ac_cv_lib_m_log10f+set}" = set; then
15636 echo $ECHO_N "(cached) $ECHO_C" >&6
15638 ac_check_lib_save_LIBS=$LIBS
15640 if test x$gcc_no_link = xyes; then
15641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15643 { (exit 1); exit 1; }; }
15645 cat >conftest.$ac_ext <<_ACEOF
15648 cat confdefs.h >>conftest.$ac_ext
15649 cat >>conftest.$ac_ext <<_ACEOF
15650 /* end confdefs.h. */
15652 /* Override any gcc2 internal prototype to avoid an error. */
15656 /* We use char because int might match the return type of a gcc2
15657 builtin and then its argument prototype would still apply. */
15667 rm -f conftest.$ac_objext conftest$ac_exeext
15668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15669 (eval $ac_link) 2>conftest.er1
15671 grep -v '^ *+' conftest.er1 >conftest.err
15673 cat conftest.err >&5
15674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15675 (exit $ac_status); } &&
15676 { ac_try='test -z "$ac_c_werror_flag"
15677 || test ! -s conftest.err'
15678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15679 (eval $ac_try) 2>&5
15681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15682 (exit $ac_status); }; } &&
15683 { ac_try='test -s conftest$ac_exeext'
15684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15685 (eval $ac_try) 2>&5
15687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15688 (exit $ac_status); }; }; then
15689 ac_cv_lib_m_log10f=yes
15691 echo "$as_me: failed program was:" >&5
15692 sed 's/^/| /' conftest.$ac_ext >&5
15694 ac_cv_lib_m_log10f=no
15696 rm -f conftest.err conftest.$ac_objext \
15697 conftest$ac_exeext conftest.$ac_ext
15698 LIBS=$ac_check_lib_save_LIBS
15700 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
15701 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
15702 if test $ac_cv_lib_m_log10f = yes; then
15704 cat >>confdefs.h <<\_ACEOF
15705 #define HAVE_LOG10F 1
15710 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
15711 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
15712 if test "${ac_cv_lib_m_log10+set}" = set; then
15713 echo $ECHO_N "(cached) $ECHO_C" >&6
15715 ac_check_lib_save_LIBS=$LIBS
15717 if test x$gcc_no_link = xyes; then
15718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15720 { (exit 1); exit 1; }; }
15722 cat >conftest.$ac_ext <<_ACEOF
15725 cat confdefs.h >>conftest.$ac_ext
15726 cat >>conftest.$ac_ext <<_ACEOF
15727 /* end confdefs.h. */
15729 /* Override any gcc2 internal prototype to avoid an error. */
15733 /* We use char because int might match the return type of a gcc2
15734 builtin and then its argument prototype would still apply. */
15744 rm -f conftest.$ac_objext conftest$ac_exeext
15745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15746 (eval $ac_link) 2>conftest.er1
15748 grep -v '^ *+' conftest.er1 >conftest.err
15750 cat conftest.err >&5
15751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15752 (exit $ac_status); } &&
15753 { ac_try='test -z "$ac_c_werror_flag"
15754 || test ! -s conftest.err'
15755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15756 (eval $ac_try) 2>&5
15758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15759 (exit $ac_status); }; } &&
15760 { ac_try='test -s conftest$ac_exeext'
15761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15762 (eval $ac_try) 2>&5
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); }; }; then
15766 ac_cv_lib_m_log10=yes
15768 echo "$as_me: failed program was:" >&5
15769 sed 's/^/| /' conftest.$ac_ext >&5
15771 ac_cv_lib_m_log10=no
15773 rm -f conftest.err conftest.$ac_objext \
15774 conftest$ac_exeext conftest.$ac_ext
15775 LIBS=$ac_check_lib_save_LIBS
15777 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
15778 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
15779 if test $ac_cv_lib_m_log10 = yes; then
15781 cat >>confdefs.h <<\_ACEOF
15782 #define HAVE_LOG10 1
15787 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
15788 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
15789 if test "${ac_cv_lib_m_log10l+set}" = set; then
15790 echo $ECHO_N "(cached) $ECHO_C" >&6
15792 ac_check_lib_save_LIBS=$LIBS
15794 if test x$gcc_no_link = xyes; then
15795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15797 { (exit 1); exit 1; }; }
15799 cat >conftest.$ac_ext <<_ACEOF
15802 cat confdefs.h >>conftest.$ac_ext
15803 cat >>conftest.$ac_ext <<_ACEOF
15804 /* end confdefs.h. */
15806 /* Override any gcc2 internal prototype to avoid an error. */
15810 /* We use char because int might match the return type of a gcc2
15811 builtin and then its argument prototype would still apply. */
15821 rm -f conftest.$ac_objext conftest$ac_exeext
15822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15823 (eval $ac_link) 2>conftest.er1
15825 grep -v '^ *+' conftest.er1 >conftest.err
15827 cat conftest.err >&5
15828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829 (exit $ac_status); } &&
15830 { ac_try='test -z "$ac_c_werror_flag"
15831 || test ! -s conftest.err'
15832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15833 (eval $ac_try) 2>&5
15835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15836 (exit $ac_status); }; } &&
15837 { ac_try='test -s conftest$ac_exeext'
15838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15839 (eval $ac_try) 2>&5
15841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842 (exit $ac_status); }; }; then
15843 ac_cv_lib_m_log10l=yes
15845 echo "$as_me: failed program was:" >&5
15846 sed 's/^/| /' conftest.$ac_ext >&5
15848 ac_cv_lib_m_log10l=no
15850 rm -f conftest.err conftest.$ac_objext \
15851 conftest$ac_exeext conftest.$ac_ext
15852 LIBS=$ac_check_lib_save_LIBS
15854 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
15855 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
15856 if test $ac_cv_lib_m_log10l = yes; then
15858 cat >>confdefs.h <<\_ACEOF
15859 #define HAVE_LOG10L 1
15864 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
15865 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
15866 if test "${ac_cv_lib_m_clog10f+set}" = set; then
15867 echo $ECHO_N "(cached) $ECHO_C" >&6
15869 ac_check_lib_save_LIBS=$LIBS
15871 if test x$gcc_no_link = xyes; then
15872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15874 { (exit 1); exit 1; }; }
15876 cat >conftest.$ac_ext <<_ACEOF
15879 cat confdefs.h >>conftest.$ac_ext
15880 cat >>conftest.$ac_ext <<_ACEOF
15881 /* end confdefs.h. */
15883 /* Override any gcc2 internal prototype to avoid an error. */
15887 /* We use char because int might match the return type of a gcc2
15888 builtin and then its argument prototype would still apply. */
15898 rm -f conftest.$ac_objext conftest$ac_exeext
15899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15900 (eval $ac_link) 2>conftest.er1
15902 grep -v '^ *+' conftest.er1 >conftest.err
15904 cat conftest.err >&5
15905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906 (exit $ac_status); } &&
15907 { ac_try='test -z "$ac_c_werror_flag"
15908 || test ! -s conftest.err'
15909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15910 (eval $ac_try) 2>&5
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913 (exit $ac_status); }; } &&
15914 { ac_try='test -s conftest$ac_exeext'
15915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15916 (eval $ac_try) 2>&5
15918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15919 (exit $ac_status); }; }; then
15920 ac_cv_lib_m_clog10f=yes
15922 echo "$as_me: failed program was:" >&5
15923 sed 's/^/| /' conftest.$ac_ext >&5
15925 ac_cv_lib_m_clog10f=no
15927 rm -f conftest.err conftest.$ac_objext \
15928 conftest$ac_exeext conftest.$ac_ext
15929 LIBS=$ac_check_lib_save_LIBS
15931 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
15932 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
15933 if test $ac_cv_lib_m_clog10f = yes; then
15935 cat >>confdefs.h <<\_ACEOF
15936 #define HAVE_CLOG10F 1
15941 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
15942 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
15943 if test "${ac_cv_lib_m_clog10+set}" = set; then
15944 echo $ECHO_N "(cached) $ECHO_C" >&6
15946 ac_check_lib_save_LIBS=$LIBS
15948 if test x$gcc_no_link = xyes; then
15949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15951 { (exit 1); exit 1; }; }
15953 cat >conftest.$ac_ext <<_ACEOF
15956 cat confdefs.h >>conftest.$ac_ext
15957 cat >>conftest.$ac_ext <<_ACEOF
15958 /* end confdefs.h. */
15960 /* Override any gcc2 internal prototype to avoid an error. */
15964 /* We use char because int might match the return type of a gcc2
15965 builtin and then its argument prototype would still apply. */
15975 rm -f conftest.$ac_objext conftest$ac_exeext
15976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15977 (eval $ac_link) 2>conftest.er1
15979 grep -v '^ *+' conftest.er1 >conftest.err
15981 cat conftest.err >&5
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); } &&
15984 { ac_try='test -z "$ac_c_werror_flag"
15985 || test ! -s conftest.err'
15986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15987 (eval $ac_try) 2>&5
15989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15990 (exit $ac_status); }; } &&
15991 { ac_try='test -s conftest$ac_exeext'
15992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15993 (eval $ac_try) 2>&5
15995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15996 (exit $ac_status); }; }; then
15997 ac_cv_lib_m_clog10=yes
15999 echo "$as_me: failed program was:" >&5
16000 sed 's/^/| /' conftest.$ac_ext >&5
16002 ac_cv_lib_m_clog10=no
16004 rm -f conftest.err conftest.$ac_objext \
16005 conftest$ac_exeext conftest.$ac_ext
16006 LIBS=$ac_check_lib_save_LIBS
16008 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
16009 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
16010 if test $ac_cv_lib_m_clog10 = yes; then
16012 cat >>confdefs.h <<\_ACEOF
16013 #define HAVE_CLOG10 1
16018 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
16019 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
16020 if test "${ac_cv_lib_m_clog10l+set}" = set; then
16021 echo $ECHO_N "(cached) $ECHO_C" >&6
16023 ac_check_lib_save_LIBS=$LIBS
16025 if test x$gcc_no_link = xyes; then
16026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16028 { (exit 1); exit 1; }; }
16030 cat >conftest.$ac_ext <<_ACEOF
16033 cat confdefs.h >>conftest.$ac_ext
16034 cat >>conftest.$ac_ext <<_ACEOF
16035 /* end confdefs.h. */
16037 /* Override any gcc2 internal prototype to avoid an error. */
16041 /* We use char because int might match the return type of a gcc2
16042 builtin and then its argument prototype would still apply. */
16052 rm -f conftest.$ac_objext conftest$ac_exeext
16053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16054 (eval $ac_link) 2>conftest.er1
16056 grep -v '^ *+' conftest.er1 >conftest.err
16058 cat conftest.err >&5
16059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060 (exit $ac_status); } &&
16061 { ac_try='test -z "$ac_c_werror_flag"
16062 || test ! -s conftest.err'
16063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16064 (eval $ac_try) 2>&5
16066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067 (exit $ac_status); }; } &&
16068 { ac_try='test -s conftest$ac_exeext'
16069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16070 (eval $ac_try) 2>&5
16072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16073 (exit $ac_status); }; }; then
16074 ac_cv_lib_m_clog10l=yes
16076 echo "$as_me: failed program was:" >&5
16077 sed 's/^/| /' conftest.$ac_ext >&5
16079 ac_cv_lib_m_clog10l=no
16081 rm -f conftest.err conftest.$ac_objext \
16082 conftest$ac_exeext conftest.$ac_ext
16083 LIBS=$ac_check_lib_save_LIBS
16085 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
16086 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
16087 if test $ac_cv_lib_m_clog10l = yes; then
16089 cat >>confdefs.h <<\_ACEOF
16090 #define HAVE_CLOG10L 1
16095 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
16096 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
16097 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
16098 echo $ECHO_N "(cached) $ECHO_C" >&6
16100 ac_check_lib_save_LIBS=$LIBS
16102 if test x$gcc_no_link = xyes; then
16103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16105 { (exit 1); exit 1; }; }
16107 cat >conftest.$ac_ext <<_ACEOF
16110 cat confdefs.h >>conftest.$ac_ext
16111 cat >>conftest.$ac_ext <<_ACEOF
16112 /* end confdefs.h. */
16114 /* Override any gcc2 internal prototype to avoid an error. */
16118 /* We use char because int might match the return type of a gcc2
16119 builtin and then its argument prototype would still apply. */
16120 char nextafterf ();
16129 rm -f conftest.$ac_objext conftest$ac_exeext
16130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16131 (eval $ac_link) 2>conftest.er1
16133 grep -v '^ *+' conftest.er1 >conftest.err
16135 cat conftest.err >&5
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); } &&
16138 { ac_try='test -z "$ac_c_werror_flag"
16139 || test ! -s conftest.err'
16140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16141 (eval $ac_try) 2>&5
16143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16144 (exit $ac_status); }; } &&
16145 { ac_try='test -s conftest$ac_exeext'
16146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16147 (eval $ac_try) 2>&5
16149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16150 (exit $ac_status); }; }; then
16151 ac_cv_lib_m_nextafterf=yes
16153 echo "$as_me: failed program was:" >&5
16154 sed 's/^/| /' conftest.$ac_ext >&5
16156 ac_cv_lib_m_nextafterf=no
16158 rm -f conftest.err conftest.$ac_objext \
16159 conftest$ac_exeext conftest.$ac_ext
16160 LIBS=$ac_check_lib_save_LIBS
16162 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
16163 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
16164 if test $ac_cv_lib_m_nextafterf = yes; then
16166 cat >>confdefs.h <<\_ACEOF
16167 #define HAVE_NEXTAFTERF 1
16172 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
16173 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
16174 if test "${ac_cv_lib_m_nextafter+set}" = set; then
16175 echo $ECHO_N "(cached) $ECHO_C" >&6
16177 ac_check_lib_save_LIBS=$LIBS
16179 if test x$gcc_no_link = xyes; then
16180 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16182 { (exit 1); exit 1; }; }
16184 cat >conftest.$ac_ext <<_ACEOF
16187 cat confdefs.h >>conftest.$ac_ext
16188 cat >>conftest.$ac_ext <<_ACEOF
16189 /* end confdefs.h. */
16191 /* Override any gcc2 internal prototype to avoid an error. */
16195 /* We use char because int might match the return type of a gcc2
16196 builtin and then its argument prototype would still apply. */
16206 rm -f conftest.$ac_objext conftest$ac_exeext
16207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16208 (eval $ac_link) 2>conftest.er1
16210 grep -v '^ *+' conftest.er1 >conftest.err
16212 cat conftest.err >&5
16213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16214 (exit $ac_status); } &&
16215 { ac_try='test -z "$ac_c_werror_flag"
16216 || test ! -s conftest.err'
16217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16218 (eval $ac_try) 2>&5
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); }; } &&
16222 { ac_try='test -s conftest$ac_exeext'
16223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16224 (eval $ac_try) 2>&5
16226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); }; }; then
16228 ac_cv_lib_m_nextafter=yes
16230 echo "$as_me: failed program was:" >&5
16231 sed 's/^/| /' conftest.$ac_ext >&5
16233 ac_cv_lib_m_nextafter=no
16235 rm -f conftest.err conftest.$ac_objext \
16236 conftest$ac_exeext conftest.$ac_ext
16237 LIBS=$ac_check_lib_save_LIBS
16239 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
16240 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
16241 if test $ac_cv_lib_m_nextafter = yes; then
16243 cat >>confdefs.h <<\_ACEOF
16244 #define HAVE_NEXTAFTER 1
16249 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
16250 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
16251 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
16252 echo $ECHO_N "(cached) $ECHO_C" >&6
16254 ac_check_lib_save_LIBS=$LIBS
16256 if test x$gcc_no_link = xyes; then
16257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16259 { (exit 1); exit 1; }; }
16261 cat >conftest.$ac_ext <<_ACEOF
16264 cat confdefs.h >>conftest.$ac_ext
16265 cat >>conftest.$ac_ext <<_ACEOF
16266 /* end confdefs.h. */
16268 /* Override any gcc2 internal prototype to avoid an error. */
16272 /* We use char because int might match the return type of a gcc2
16273 builtin and then its argument prototype would still apply. */
16274 char nextafterl ();
16283 rm -f conftest.$ac_objext conftest$ac_exeext
16284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16285 (eval $ac_link) 2>conftest.er1
16287 grep -v '^ *+' conftest.er1 >conftest.err
16289 cat conftest.err >&5
16290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16291 (exit $ac_status); } &&
16292 { ac_try='test -z "$ac_c_werror_flag"
16293 || test ! -s conftest.err'
16294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16295 (eval $ac_try) 2>&5
16297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16298 (exit $ac_status); }; } &&
16299 { ac_try='test -s conftest$ac_exeext'
16300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16301 (eval $ac_try) 2>&5
16303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16304 (exit $ac_status); }; }; then
16305 ac_cv_lib_m_nextafterl=yes
16307 echo "$as_me: failed program was:" >&5
16308 sed 's/^/| /' conftest.$ac_ext >&5
16310 ac_cv_lib_m_nextafterl=no
16312 rm -f conftest.err conftest.$ac_objext \
16313 conftest$ac_exeext conftest.$ac_ext
16314 LIBS=$ac_check_lib_save_LIBS
16316 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
16317 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
16318 if test $ac_cv_lib_m_nextafterl = yes; then
16320 cat >>confdefs.h <<\_ACEOF
16321 #define HAVE_NEXTAFTERL 1
16326 echo "$as_me:$LINENO: checking for powf in -lm" >&5
16327 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
16328 if test "${ac_cv_lib_m_powf+set}" = set; then
16329 echo $ECHO_N "(cached) $ECHO_C" >&6
16331 ac_check_lib_save_LIBS=$LIBS
16333 if test x$gcc_no_link = xyes; then
16334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16336 { (exit 1); exit 1; }; }
16338 cat >conftest.$ac_ext <<_ACEOF
16341 cat confdefs.h >>conftest.$ac_ext
16342 cat >>conftest.$ac_ext <<_ACEOF
16343 /* end confdefs.h. */
16345 /* Override any gcc2 internal prototype to avoid an error. */
16349 /* We use char because int might match the return type of a gcc2
16350 builtin and then its argument prototype would still apply. */
16360 rm -f conftest.$ac_objext conftest$ac_exeext
16361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16362 (eval $ac_link) 2>conftest.er1
16364 grep -v '^ *+' conftest.er1 >conftest.err
16366 cat conftest.err >&5
16367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16368 (exit $ac_status); } &&
16369 { ac_try='test -z "$ac_c_werror_flag"
16370 || test ! -s conftest.err'
16371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16372 (eval $ac_try) 2>&5
16374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16375 (exit $ac_status); }; } &&
16376 { ac_try='test -s conftest$ac_exeext'
16377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16378 (eval $ac_try) 2>&5
16380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16381 (exit $ac_status); }; }; then
16382 ac_cv_lib_m_powf=yes
16384 echo "$as_me: failed program was:" >&5
16385 sed 's/^/| /' conftest.$ac_ext >&5
16387 ac_cv_lib_m_powf=no
16389 rm -f conftest.err conftest.$ac_objext \
16390 conftest$ac_exeext conftest.$ac_ext
16391 LIBS=$ac_check_lib_save_LIBS
16393 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
16394 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
16395 if test $ac_cv_lib_m_powf = yes; then
16397 cat >>confdefs.h <<\_ACEOF
16398 #define HAVE_POWF 1
16403 echo "$as_me:$LINENO: checking for pow in -lm" >&5
16404 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
16405 if test "${ac_cv_lib_m_pow+set}" = set; then
16406 echo $ECHO_N "(cached) $ECHO_C" >&6
16408 ac_check_lib_save_LIBS=$LIBS
16410 if test x$gcc_no_link = xyes; then
16411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16413 { (exit 1); exit 1; }; }
16415 cat >conftest.$ac_ext <<_ACEOF
16418 cat confdefs.h >>conftest.$ac_ext
16419 cat >>conftest.$ac_ext <<_ACEOF
16420 /* end confdefs.h. */
16422 /* Override any gcc2 internal prototype to avoid an error. */
16426 /* We use char because int might match the return type of a gcc2
16427 builtin and then its argument prototype would still apply. */
16437 rm -f conftest.$ac_objext conftest$ac_exeext
16438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16439 (eval $ac_link) 2>conftest.er1
16441 grep -v '^ *+' conftest.er1 >conftest.err
16443 cat conftest.err >&5
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); } &&
16446 { ac_try='test -z "$ac_c_werror_flag"
16447 || test ! -s conftest.err'
16448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16449 (eval $ac_try) 2>&5
16451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16452 (exit $ac_status); }; } &&
16453 { ac_try='test -s conftest$ac_exeext'
16454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16455 (eval $ac_try) 2>&5
16457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16458 (exit $ac_status); }; }; then
16459 ac_cv_lib_m_pow=yes
16461 echo "$as_me: failed program was:" >&5
16462 sed 's/^/| /' conftest.$ac_ext >&5
16466 rm -f conftest.err conftest.$ac_objext \
16467 conftest$ac_exeext conftest.$ac_ext
16468 LIBS=$ac_check_lib_save_LIBS
16470 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
16471 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
16472 if test $ac_cv_lib_m_pow = yes; then
16474 cat >>confdefs.h <<\_ACEOF
16480 echo "$as_me:$LINENO: checking for powl in -lm" >&5
16481 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
16482 if test "${ac_cv_lib_m_powl+set}" = set; then
16483 echo $ECHO_N "(cached) $ECHO_C" >&6
16485 ac_check_lib_save_LIBS=$LIBS
16487 if test x$gcc_no_link = xyes; then
16488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16490 { (exit 1); exit 1; }; }
16492 cat >conftest.$ac_ext <<_ACEOF
16495 cat confdefs.h >>conftest.$ac_ext
16496 cat >>conftest.$ac_ext <<_ACEOF
16497 /* end confdefs.h. */
16499 /* Override any gcc2 internal prototype to avoid an error. */
16503 /* We use char because int might match the return type of a gcc2
16504 builtin and then its argument prototype would still apply. */
16514 rm -f conftest.$ac_objext conftest$ac_exeext
16515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16516 (eval $ac_link) 2>conftest.er1
16518 grep -v '^ *+' conftest.er1 >conftest.err
16520 cat conftest.err >&5
16521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16522 (exit $ac_status); } &&
16523 { ac_try='test -z "$ac_c_werror_flag"
16524 || test ! -s conftest.err'
16525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16526 (eval $ac_try) 2>&5
16528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16529 (exit $ac_status); }; } &&
16530 { ac_try='test -s conftest$ac_exeext'
16531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16532 (eval $ac_try) 2>&5
16534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16535 (exit $ac_status); }; }; then
16536 ac_cv_lib_m_powl=yes
16538 echo "$as_me: failed program was:" >&5
16539 sed 's/^/| /' conftest.$ac_ext >&5
16541 ac_cv_lib_m_powl=no
16543 rm -f conftest.err conftest.$ac_objext \
16544 conftest$ac_exeext conftest.$ac_ext
16545 LIBS=$ac_check_lib_save_LIBS
16547 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
16548 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
16549 if test $ac_cv_lib_m_powl = yes; then
16551 cat >>confdefs.h <<\_ACEOF
16552 #define HAVE_POWL 1
16557 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
16558 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
16559 if test "${ac_cv_lib_m_cpowf+set}" = set; then
16560 echo $ECHO_N "(cached) $ECHO_C" >&6
16562 ac_check_lib_save_LIBS=$LIBS
16564 if test x$gcc_no_link = xyes; then
16565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16567 { (exit 1); exit 1; }; }
16569 cat >conftest.$ac_ext <<_ACEOF
16572 cat confdefs.h >>conftest.$ac_ext
16573 cat >>conftest.$ac_ext <<_ACEOF
16574 /* end confdefs.h. */
16576 /* Override any gcc2 internal prototype to avoid an error. */
16580 /* We use char because int might match the return type of a gcc2
16581 builtin and then its argument prototype would still apply. */
16591 rm -f conftest.$ac_objext conftest$ac_exeext
16592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16593 (eval $ac_link) 2>conftest.er1
16595 grep -v '^ *+' conftest.er1 >conftest.err
16597 cat conftest.err >&5
16598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16599 (exit $ac_status); } &&
16600 { ac_try='test -z "$ac_c_werror_flag"
16601 || test ! -s conftest.err'
16602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16603 (eval $ac_try) 2>&5
16605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16606 (exit $ac_status); }; } &&
16607 { ac_try='test -s conftest$ac_exeext'
16608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16609 (eval $ac_try) 2>&5
16611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16612 (exit $ac_status); }; }; then
16613 ac_cv_lib_m_cpowf=yes
16615 echo "$as_me: failed program was:" >&5
16616 sed 's/^/| /' conftest.$ac_ext >&5
16618 ac_cv_lib_m_cpowf=no
16620 rm -f conftest.err conftest.$ac_objext \
16621 conftest$ac_exeext conftest.$ac_ext
16622 LIBS=$ac_check_lib_save_LIBS
16624 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
16625 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
16626 if test $ac_cv_lib_m_cpowf = yes; then
16628 cat >>confdefs.h <<\_ACEOF
16629 #define HAVE_CPOWF 1
16634 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
16635 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
16636 if test "${ac_cv_lib_m_cpow+set}" = set; then
16637 echo $ECHO_N "(cached) $ECHO_C" >&6
16639 ac_check_lib_save_LIBS=$LIBS
16641 if test x$gcc_no_link = xyes; then
16642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16644 { (exit 1); exit 1; }; }
16646 cat >conftest.$ac_ext <<_ACEOF
16649 cat confdefs.h >>conftest.$ac_ext
16650 cat >>conftest.$ac_ext <<_ACEOF
16651 /* end confdefs.h. */
16653 /* Override any gcc2 internal prototype to avoid an error. */
16657 /* We use char because int might match the return type of a gcc2
16658 builtin and then its argument prototype would still apply. */
16668 rm -f conftest.$ac_objext conftest$ac_exeext
16669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16670 (eval $ac_link) 2>conftest.er1
16672 grep -v '^ *+' conftest.er1 >conftest.err
16674 cat conftest.err >&5
16675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16676 (exit $ac_status); } &&
16677 { ac_try='test -z "$ac_c_werror_flag"
16678 || test ! -s conftest.err'
16679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16680 (eval $ac_try) 2>&5
16682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16683 (exit $ac_status); }; } &&
16684 { ac_try='test -s conftest$ac_exeext'
16685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16686 (eval $ac_try) 2>&5
16688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16689 (exit $ac_status); }; }; then
16690 ac_cv_lib_m_cpow=yes
16692 echo "$as_me: failed program was:" >&5
16693 sed 's/^/| /' conftest.$ac_ext >&5
16695 ac_cv_lib_m_cpow=no
16697 rm -f conftest.err conftest.$ac_objext \
16698 conftest$ac_exeext conftest.$ac_ext
16699 LIBS=$ac_check_lib_save_LIBS
16701 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
16702 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
16703 if test $ac_cv_lib_m_cpow = yes; then
16705 cat >>confdefs.h <<\_ACEOF
16706 #define HAVE_CPOW 1
16711 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
16712 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
16713 if test "${ac_cv_lib_m_cpowl+set}" = set; then
16714 echo $ECHO_N "(cached) $ECHO_C" >&6
16716 ac_check_lib_save_LIBS=$LIBS
16718 if test x$gcc_no_link = xyes; then
16719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16721 { (exit 1); exit 1; }; }
16723 cat >conftest.$ac_ext <<_ACEOF
16726 cat confdefs.h >>conftest.$ac_ext
16727 cat >>conftest.$ac_ext <<_ACEOF
16728 /* end confdefs.h. */
16730 /* Override any gcc2 internal prototype to avoid an error. */
16734 /* We use char because int might match the return type of a gcc2
16735 builtin and then its argument prototype would still apply. */
16745 rm -f conftest.$ac_objext conftest$ac_exeext
16746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16747 (eval $ac_link) 2>conftest.er1
16749 grep -v '^ *+' conftest.er1 >conftest.err
16751 cat conftest.err >&5
16752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753 (exit $ac_status); } &&
16754 { ac_try='test -z "$ac_c_werror_flag"
16755 || test ! -s conftest.err'
16756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16757 (eval $ac_try) 2>&5
16759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16760 (exit $ac_status); }; } &&
16761 { ac_try='test -s conftest$ac_exeext'
16762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16763 (eval $ac_try) 2>&5
16765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16766 (exit $ac_status); }; }; then
16767 ac_cv_lib_m_cpowl=yes
16769 echo "$as_me: failed program was:" >&5
16770 sed 's/^/| /' conftest.$ac_ext >&5
16772 ac_cv_lib_m_cpowl=no
16774 rm -f conftest.err conftest.$ac_objext \
16775 conftest$ac_exeext conftest.$ac_ext
16776 LIBS=$ac_check_lib_save_LIBS
16778 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
16779 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
16780 if test $ac_cv_lib_m_cpowl = yes; then
16782 cat >>confdefs.h <<\_ACEOF
16783 #define HAVE_CPOWL 1
16788 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
16789 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
16790 if test "${ac_cv_lib_m_roundf+set}" = set; then
16791 echo $ECHO_N "(cached) $ECHO_C" >&6
16793 ac_check_lib_save_LIBS=$LIBS
16795 if test x$gcc_no_link = xyes; then
16796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16798 { (exit 1); exit 1; }; }
16800 cat >conftest.$ac_ext <<_ACEOF
16803 cat confdefs.h >>conftest.$ac_ext
16804 cat >>conftest.$ac_ext <<_ACEOF
16805 /* end confdefs.h. */
16807 /* Override any gcc2 internal prototype to avoid an error. */
16811 /* We use char because int might match the return type of a gcc2
16812 builtin and then its argument prototype would still apply. */
16822 rm -f conftest.$ac_objext conftest$ac_exeext
16823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16824 (eval $ac_link) 2>conftest.er1
16826 grep -v '^ *+' conftest.er1 >conftest.err
16828 cat conftest.err >&5
16829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16830 (exit $ac_status); } &&
16831 { ac_try='test -z "$ac_c_werror_flag"
16832 || test ! -s conftest.err'
16833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16834 (eval $ac_try) 2>&5
16836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16837 (exit $ac_status); }; } &&
16838 { ac_try='test -s conftest$ac_exeext'
16839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16840 (eval $ac_try) 2>&5
16842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16843 (exit $ac_status); }; }; then
16844 ac_cv_lib_m_roundf=yes
16846 echo "$as_me: failed program was:" >&5
16847 sed 's/^/| /' conftest.$ac_ext >&5
16849 ac_cv_lib_m_roundf=no
16851 rm -f conftest.err conftest.$ac_objext \
16852 conftest$ac_exeext conftest.$ac_ext
16853 LIBS=$ac_check_lib_save_LIBS
16855 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
16856 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
16857 if test $ac_cv_lib_m_roundf = yes; then
16859 cat >>confdefs.h <<\_ACEOF
16860 #define HAVE_ROUNDF 1
16865 echo "$as_me:$LINENO: checking for round in -lm" >&5
16866 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
16867 if test "${ac_cv_lib_m_round+set}" = set; then
16868 echo $ECHO_N "(cached) $ECHO_C" >&6
16870 ac_check_lib_save_LIBS=$LIBS
16872 if test x$gcc_no_link = xyes; then
16873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16875 { (exit 1); exit 1; }; }
16877 cat >conftest.$ac_ext <<_ACEOF
16880 cat confdefs.h >>conftest.$ac_ext
16881 cat >>conftest.$ac_ext <<_ACEOF
16882 /* end confdefs.h. */
16884 /* Override any gcc2 internal prototype to avoid an error. */
16888 /* We use char because int might match the return type of a gcc2
16889 builtin and then its argument prototype would still apply. */
16899 rm -f conftest.$ac_objext conftest$ac_exeext
16900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16901 (eval $ac_link) 2>conftest.er1
16903 grep -v '^ *+' conftest.er1 >conftest.err
16905 cat conftest.err >&5
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 (exit $ac_status); } &&
16908 { ac_try='test -z "$ac_c_werror_flag"
16909 || test ! -s conftest.err'
16910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16911 (eval $ac_try) 2>&5
16913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16914 (exit $ac_status); }; } &&
16915 { ac_try='test -s conftest$ac_exeext'
16916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16917 (eval $ac_try) 2>&5
16919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); }; }; then
16921 ac_cv_lib_m_round=yes
16923 echo "$as_me: failed program was:" >&5
16924 sed 's/^/| /' conftest.$ac_ext >&5
16926 ac_cv_lib_m_round=no
16928 rm -f conftest.err conftest.$ac_objext \
16929 conftest$ac_exeext conftest.$ac_ext
16930 LIBS=$ac_check_lib_save_LIBS
16932 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
16933 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
16934 if test $ac_cv_lib_m_round = yes; then
16936 cat >>confdefs.h <<\_ACEOF
16937 #define HAVE_ROUND 1
16942 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
16943 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
16944 if test "${ac_cv_lib_m_roundl+set}" = set; then
16945 echo $ECHO_N "(cached) $ECHO_C" >&6
16947 ac_check_lib_save_LIBS=$LIBS
16949 if test x$gcc_no_link = xyes; then
16950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16952 { (exit 1); exit 1; }; }
16954 cat >conftest.$ac_ext <<_ACEOF
16957 cat confdefs.h >>conftest.$ac_ext
16958 cat >>conftest.$ac_ext <<_ACEOF
16959 /* end confdefs.h. */
16961 /* Override any gcc2 internal prototype to avoid an error. */
16965 /* We use char because int might match the return type of a gcc2
16966 builtin and then its argument prototype would still apply. */
16976 rm -f conftest.$ac_objext conftest$ac_exeext
16977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16978 (eval $ac_link) 2>conftest.er1
16980 grep -v '^ *+' conftest.er1 >conftest.err
16982 cat conftest.err >&5
16983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16984 (exit $ac_status); } &&
16985 { ac_try='test -z "$ac_c_werror_flag"
16986 || test ! -s conftest.err'
16987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16988 (eval $ac_try) 2>&5
16990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16991 (exit $ac_status); }; } &&
16992 { ac_try='test -s conftest$ac_exeext'
16993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16994 (eval $ac_try) 2>&5
16996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16997 (exit $ac_status); }; }; then
16998 ac_cv_lib_m_roundl=yes
17000 echo "$as_me: failed program was:" >&5
17001 sed 's/^/| /' conftest.$ac_ext >&5
17003 ac_cv_lib_m_roundl=no
17005 rm -f conftest.err conftest.$ac_objext \
17006 conftest$ac_exeext conftest.$ac_ext
17007 LIBS=$ac_check_lib_save_LIBS
17009 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
17010 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
17011 if test $ac_cv_lib_m_roundl = yes; then
17013 cat >>confdefs.h <<\_ACEOF
17014 #define HAVE_ROUNDL 1
17019 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
17020 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
17021 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
17022 echo $ECHO_N "(cached) $ECHO_C" >&6
17024 ac_check_lib_save_LIBS=$LIBS
17026 if test x$gcc_no_link = xyes; then
17027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17029 { (exit 1); exit 1; }; }
17031 cat >conftest.$ac_ext <<_ACEOF
17034 cat confdefs.h >>conftest.$ac_ext
17035 cat >>conftest.$ac_ext <<_ACEOF
17036 /* end confdefs.h. */
17038 /* Override any gcc2 internal prototype to avoid an error. */
17042 /* We use char because int might match the return type of a gcc2
17043 builtin and then its argument prototype would still apply. */
17053 rm -f conftest.$ac_objext conftest$ac_exeext
17054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17055 (eval $ac_link) 2>conftest.er1
17057 grep -v '^ *+' conftest.er1 >conftest.err
17059 cat conftest.err >&5
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); } &&
17062 { ac_try='test -z "$ac_c_werror_flag"
17063 || test ! -s conftest.err'
17064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17065 (eval $ac_try) 2>&5
17067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17068 (exit $ac_status); }; } &&
17069 { ac_try='test -s conftest$ac_exeext'
17070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17071 (eval $ac_try) 2>&5
17073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17074 (exit $ac_status); }; }; then
17075 ac_cv_lib_m_scalbnf=yes
17077 echo "$as_me: failed program was:" >&5
17078 sed 's/^/| /' conftest.$ac_ext >&5
17080 ac_cv_lib_m_scalbnf=no
17082 rm -f conftest.err conftest.$ac_objext \
17083 conftest$ac_exeext conftest.$ac_ext
17084 LIBS=$ac_check_lib_save_LIBS
17086 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
17087 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
17088 if test $ac_cv_lib_m_scalbnf = yes; then
17090 cat >>confdefs.h <<\_ACEOF
17091 #define HAVE_SCALBNF 1
17096 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
17097 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
17098 if test "${ac_cv_lib_m_scalbn+set}" = set; then
17099 echo $ECHO_N "(cached) $ECHO_C" >&6
17101 ac_check_lib_save_LIBS=$LIBS
17103 if test x$gcc_no_link = xyes; then
17104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17106 { (exit 1); exit 1; }; }
17108 cat >conftest.$ac_ext <<_ACEOF
17111 cat confdefs.h >>conftest.$ac_ext
17112 cat >>conftest.$ac_ext <<_ACEOF
17113 /* end confdefs.h. */
17115 /* Override any gcc2 internal prototype to avoid an error. */
17119 /* We use char because int might match the return type of a gcc2
17120 builtin and then its argument prototype would still apply. */
17130 rm -f conftest.$ac_objext conftest$ac_exeext
17131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17132 (eval $ac_link) 2>conftest.er1
17134 grep -v '^ *+' conftest.er1 >conftest.err
17136 cat conftest.err >&5
17137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17138 (exit $ac_status); } &&
17139 { ac_try='test -z "$ac_c_werror_flag"
17140 || test ! -s conftest.err'
17141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17142 (eval $ac_try) 2>&5
17144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17145 (exit $ac_status); }; } &&
17146 { ac_try='test -s conftest$ac_exeext'
17147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17148 (eval $ac_try) 2>&5
17150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17151 (exit $ac_status); }; }; then
17152 ac_cv_lib_m_scalbn=yes
17154 echo "$as_me: failed program was:" >&5
17155 sed 's/^/| /' conftest.$ac_ext >&5
17157 ac_cv_lib_m_scalbn=no
17159 rm -f conftest.err conftest.$ac_objext \
17160 conftest$ac_exeext conftest.$ac_ext
17161 LIBS=$ac_check_lib_save_LIBS
17163 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
17164 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
17165 if test $ac_cv_lib_m_scalbn = yes; then
17167 cat >>confdefs.h <<\_ACEOF
17168 #define HAVE_SCALBN 1
17173 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
17174 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
17175 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
17176 echo $ECHO_N "(cached) $ECHO_C" >&6
17178 ac_check_lib_save_LIBS=$LIBS
17180 if test x$gcc_no_link = xyes; then
17181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17183 { (exit 1); exit 1; }; }
17185 cat >conftest.$ac_ext <<_ACEOF
17188 cat confdefs.h >>conftest.$ac_ext
17189 cat >>conftest.$ac_ext <<_ACEOF
17190 /* end confdefs.h. */
17192 /* Override any gcc2 internal prototype to avoid an error. */
17196 /* We use char because int might match the return type of a gcc2
17197 builtin and then its argument prototype would still apply. */
17207 rm -f conftest.$ac_objext conftest$ac_exeext
17208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17209 (eval $ac_link) 2>conftest.er1
17211 grep -v '^ *+' conftest.er1 >conftest.err
17213 cat conftest.err >&5
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); } &&
17216 { ac_try='test -z "$ac_c_werror_flag"
17217 || test ! -s conftest.err'
17218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17219 (eval $ac_try) 2>&5
17221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17222 (exit $ac_status); }; } &&
17223 { ac_try='test -s conftest$ac_exeext'
17224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17225 (eval $ac_try) 2>&5
17227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17228 (exit $ac_status); }; }; then
17229 ac_cv_lib_m_scalbnl=yes
17231 echo "$as_me: failed program was:" >&5
17232 sed 's/^/| /' conftest.$ac_ext >&5
17234 ac_cv_lib_m_scalbnl=no
17236 rm -f conftest.err conftest.$ac_objext \
17237 conftest$ac_exeext conftest.$ac_ext
17238 LIBS=$ac_check_lib_save_LIBS
17240 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
17241 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
17242 if test $ac_cv_lib_m_scalbnl = yes; then
17244 cat >>confdefs.h <<\_ACEOF
17245 #define HAVE_SCALBNL 1
17250 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
17251 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
17252 if test "${ac_cv_lib_m_sinf+set}" = set; then
17253 echo $ECHO_N "(cached) $ECHO_C" >&6
17255 ac_check_lib_save_LIBS=$LIBS
17257 if test x$gcc_no_link = xyes; then
17258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17260 { (exit 1); exit 1; }; }
17262 cat >conftest.$ac_ext <<_ACEOF
17265 cat confdefs.h >>conftest.$ac_ext
17266 cat >>conftest.$ac_ext <<_ACEOF
17267 /* end confdefs.h. */
17269 /* Override any gcc2 internal prototype to avoid an error. */
17273 /* We use char because int might match the return type of a gcc2
17274 builtin and then its argument prototype would still apply. */
17284 rm -f conftest.$ac_objext conftest$ac_exeext
17285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17286 (eval $ac_link) 2>conftest.er1
17288 grep -v '^ *+' conftest.er1 >conftest.err
17290 cat conftest.err >&5
17291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17292 (exit $ac_status); } &&
17293 { ac_try='test -z "$ac_c_werror_flag"
17294 || test ! -s conftest.err'
17295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17296 (eval $ac_try) 2>&5
17298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17299 (exit $ac_status); }; } &&
17300 { ac_try='test -s conftest$ac_exeext'
17301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17302 (eval $ac_try) 2>&5
17304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305 (exit $ac_status); }; }; then
17306 ac_cv_lib_m_sinf=yes
17308 echo "$as_me: failed program was:" >&5
17309 sed 's/^/| /' conftest.$ac_ext >&5
17311 ac_cv_lib_m_sinf=no
17313 rm -f conftest.err conftest.$ac_objext \
17314 conftest$ac_exeext conftest.$ac_ext
17315 LIBS=$ac_check_lib_save_LIBS
17317 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
17318 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
17319 if test $ac_cv_lib_m_sinf = yes; then
17321 cat >>confdefs.h <<\_ACEOF
17322 #define HAVE_SINF 1
17327 echo "$as_me:$LINENO: checking for sin in -lm" >&5
17328 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
17329 if test "${ac_cv_lib_m_sin+set}" = set; then
17330 echo $ECHO_N "(cached) $ECHO_C" >&6
17332 ac_check_lib_save_LIBS=$LIBS
17334 if test x$gcc_no_link = xyes; then
17335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17337 { (exit 1); exit 1; }; }
17339 cat >conftest.$ac_ext <<_ACEOF
17342 cat confdefs.h >>conftest.$ac_ext
17343 cat >>conftest.$ac_ext <<_ACEOF
17344 /* end confdefs.h. */
17346 /* Override any gcc2 internal prototype to avoid an error. */
17350 /* We use char because int might match the return type of a gcc2
17351 builtin and then its argument prototype would still apply. */
17361 rm -f conftest.$ac_objext conftest$ac_exeext
17362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17363 (eval $ac_link) 2>conftest.er1
17365 grep -v '^ *+' conftest.er1 >conftest.err
17367 cat conftest.err >&5
17368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17369 (exit $ac_status); } &&
17370 { ac_try='test -z "$ac_c_werror_flag"
17371 || test ! -s conftest.err'
17372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17373 (eval $ac_try) 2>&5
17375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376 (exit $ac_status); }; } &&
17377 { ac_try='test -s conftest$ac_exeext'
17378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17379 (eval $ac_try) 2>&5
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); }; }; then
17383 ac_cv_lib_m_sin=yes
17385 echo "$as_me: failed program was:" >&5
17386 sed 's/^/| /' conftest.$ac_ext >&5
17390 rm -f conftest.err conftest.$ac_objext \
17391 conftest$ac_exeext conftest.$ac_ext
17392 LIBS=$ac_check_lib_save_LIBS
17394 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
17395 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
17396 if test $ac_cv_lib_m_sin = yes; then
17398 cat >>confdefs.h <<\_ACEOF
17404 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
17405 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
17406 if test "${ac_cv_lib_m_sinl+set}" = set; then
17407 echo $ECHO_N "(cached) $ECHO_C" >&6
17409 ac_check_lib_save_LIBS=$LIBS
17411 if test x$gcc_no_link = xyes; then
17412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17414 { (exit 1); exit 1; }; }
17416 cat >conftest.$ac_ext <<_ACEOF
17419 cat confdefs.h >>conftest.$ac_ext
17420 cat >>conftest.$ac_ext <<_ACEOF
17421 /* end confdefs.h. */
17423 /* Override any gcc2 internal prototype to avoid an error. */
17427 /* We use char because int might match the return type of a gcc2
17428 builtin and then its argument prototype would still apply. */
17438 rm -f conftest.$ac_objext conftest$ac_exeext
17439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17440 (eval $ac_link) 2>conftest.er1
17442 grep -v '^ *+' conftest.er1 >conftest.err
17444 cat conftest.err >&5
17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 (exit $ac_status); } &&
17447 { ac_try='test -z "$ac_c_werror_flag"
17448 || test ! -s conftest.err'
17449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17450 (eval $ac_try) 2>&5
17452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17453 (exit $ac_status); }; } &&
17454 { ac_try='test -s conftest$ac_exeext'
17455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17456 (eval $ac_try) 2>&5
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); }; }; then
17460 ac_cv_lib_m_sinl=yes
17462 echo "$as_me: failed program was:" >&5
17463 sed 's/^/| /' conftest.$ac_ext >&5
17465 ac_cv_lib_m_sinl=no
17467 rm -f conftest.err conftest.$ac_objext \
17468 conftest$ac_exeext conftest.$ac_ext
17469 LIBS=$ac_check_lib_save_LIBS
17471 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
17472 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
17473 if test $ac_cv_lib_m_sinl = yes; then
17475 cat >>confdefs.h <<\_ACEOF
17476 #define HAVE_SINL 1
17481 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
17482 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
17483 if test "${ac_cv_lib_m_csinf+set}" = set; then
17484 echo $ECHO_N "(cached) $ECHO_C" >&6
17486 ac_check_lib_save_LIBS=$LIBS
17488 if test x$gcc_no_link = xyes; then
17489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17491 { (exit 1); exit 1; }; }
17493 cat >conftest.$ac_ext <<_ACEOF
17496 cat confdefs.h >>conftest.$ac_ext
17497 cat >>conftest.$ac_ext <<_ACEOF
17498 /* end confdefs.h. */
17500 /* Override any gcc2 internal prototype to avoid an error. */
17504 /* We use char because int might match the return type of a gcc2
17505 builtin and then its argument prototype would still apply. */
17515 rm -f conftest.$ac_objext conftest$ac_exeext
17516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17517 (eval $ac_link) 2>conftest.er1
17519 grep -v '^ *+' conftest.er1 >conftest.err
17521 cat conftest.err >&5
17522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17523 (exit $ac_status); } &&
17524 { ac_try='test -z "$ac_c_werror_flag"
17525 || test ! -s conftest.err'
17526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17527 (eval $ac_try) 2>&5
17529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17530 (exit $ac_status); }; } &&
17531 { ac_try='test -s conftest$ac_exeext'
17532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17533 (eval $ac_try) 2>&5
17535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536 (exit $ac_status); }; }; then
17537 ac_cv_lib_m_csinf=yes
17539 echo "$as_me: failed program was:" >&5
17540 sed 's/^/| /' conftest.$ac_ext >&5
17542 ac_cv_lib_m_csinf=no
17544 rm -f conftest.err conftest.$ac_objext \
17545 conftest$ac_exeext conftest.$ac_ext
17546 LIBS=$ac_check_lib_save_LIBS
17548 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
17549 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
17550 if test $ac_cv_lib_m_csinf = yes; then
17552 cat >>confdefs.h <<\_ACEOF
17553 #define HAVE_CSINF 1
17558 echo "$as_me:$LINENO: checking for csin in -lm" >&5
17559 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
17560 if test "${ac_cv_lib_m_csin+set}" = set; then
17561 echo $ECHO_N "(cached) $ECHO_C" >&6
17563 ac_check_lib_save_LIBS=$LIBS
17565 if test x$gcc_no_link = xyes; then
17566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17568 { (exit 1); exit 1; }; }
17570 cat >conftest.$ac_ext <<_ACEOF
17573 cat confdefs.h >>conftest.$ac_ext
17574 cat >>conftest.$ac_ext <<_ACEOF
17575 /* end confdefs.h. */
17577 /* Override any gcc2 internal prototype to avoid an error. */
17581 /* We use char because int might match the return type of a gcc2
17582 builtin and then its argument prototype would still apply. */
17592 rm -f conftest.$ac_objext conftest$ac_exeext
17593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17594 (eval $ac_link) 2>conftest.er1
17596 grep -v '^ *+' conftest.er1 >conftest.err
17598 cat conftest.err >&5
17599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600 (exit $ac_status); } &&
17601 { ac_try='test -z "$ac_c_werror_flag"
17602 || test ! -s conftest.err'
17603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17604 (eval $ac_try) 2>&5
17606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); }; } &&
17608 { ac_try='test -s conftest$ac_exeext'
17609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17610 (eval $ac_try) 2>&5
17612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17613 (exit $ac_status); }; }; then
17614 ac_cv_lib_m_csin=yes
17616 echo "$as_me: failed program was:" >&5
17617 sed 's/^/| /' conftest.$ac_ext >&5
17619 ac_cv_lib_m_csin=no
17621 rm -f conftest.err conftest.$ac_objext \
17622 conftest$ac_exeext conftest.$ac_ext
17623 LIBS=$ac_check_lib_save_LIBS
17625 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
17626 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
17627 if test $ac_cv_lib_m_csin = yes; then
17629 cat >>confdefs.h <<\_ACEOF
17630 #define HAVE_CSIN 1
17635 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
17636 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
17637 if test "${ac_cv_lib_m_csinl+set}" = set; then
17638 echo $ECHO_N "(cached) $ECHO_C" >&6
17640 ac_check_lib_save_LIBS=$LIBS
17642 if test x$gcc_no_link = xyes; then
17643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17645 { (exit 1); exit 1; }; }
17647 cat >conftest.$ac_ext <<_ACEOF
17650 cat confdefs.h >>conftest.$ac_ext
17651 cat >>conftest.$ac_ext <<_ACEOF
17652 /* end confdefs.h. */
17654 /* Override any gcc2 internal prototype to avoid an error. */
17658 /* We use char because int might match the return type of a gcc2
17659 builtin and then its argument prototype would still apply. */
17669 rm -f conftest.$ac_objext conftest$ac_exeext
17670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17671 (eval $ac_link) 2>conftest.er1
17673 grep -v '^ *+' conftest.er1 >conftest.err
17675 cat conftest.err >&5
17676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17677 (exit $ac_status); } &&
17678 { ac_try='test -z "$ac_c_werror_flag"
17679 || test ! -s conftest.err'
17680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17681 (eval $ac_try) 2>&5
17683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17684 (exit $ac_status); }; } &&
17685 { ac_try='test -s conftest$ac_exeext'
17686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17687 (eval $ac_try) 2>&5
17689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17690 (exit $ac_status); }; }; then
17691 ac_cv_lib_m_csinl=yes
17693 echo "$as_me: failed program was:" >&5
17694 sed 's/^/| /' conftest.$ac_ext >&5
17696 ac_cv_lib_m_csinl=no
17698 rm -f conftest.err conftest.$ac_objext \
17699 conftest$ac_exeext conftest.$ac_ext
17700 LIBS=$ac_check_lib_save_LIBS
17702 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
17703 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
17704 if test $ac_cv_lib_m_csinl = yes; then
17706 cat >>confdefs.h <<\_ACEOF
17707 #define HAVE_CSINL 1
17712 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
17713 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
17714 if test "${ac_cv_lib_m_sinhf+set}" = set; then
17715 echo $ECHO_N "(cached) $ECHO_C" >&6
17717 ac_check_lib_save_LIBS=$LIBS
17719 if test x$gcc_no_link = xyes; then
17720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17722 { (exit 1); exit 1; }; }
17724 cat >conftest.$ac_ext <<_ACEOF
17727 cat confdefs.h >>conftest.$ac_ext
17728 cat >>conftest.$ac_ext <<_ACEOF
17729 /* end confdefs.h. */
17731 /* Override any gcc2 internal prototype to avoid an error. */
17735 /* We use char because int might match the return type of a gcc2
17736 builtin and then its argument prototype would still apply. */
17746 rm -f conftest.$ac_objext conftest$ac_exeext
17747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17748 (eval $ac_link) 2>conftest.er1
17750 grep -v '^ *+' conftest.er1 >conftest.err
17752 cat conftest.err >&5
17753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754 (exit $ac_status); } &&
17755 { ac_try='test -z "$ac_c_werror_flag"
17756 || test ! -s conftest.err'
17757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17758 (eval $ac_try) 2>&5
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); }; } &&
17762 { ac_try='test -s conftest$ac_exeext'
17763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17764 (eval $ac_try) 2>&5
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); }; }; then
17768 ac_cv_lib_m_sinhf=yes
17770 echo "$as_me: failed program was:" >&5
17771 sed 's/^/| /' conftest.$ac_ext >&5
17773 ac_cv_lib_m_sinhf=no
17775 rm -f conftest.err conftest.$ac_objext \
17776 conftest$ac_exeext conftest.$ac_ext
17777 LIBS=$ac_check_lib_save_LIBS
17779 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
17780 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
17781 if test $ac_cv_lib_m_sinhf = yes; then
17783 cat >>confdefs.h <<\_ACEOF
17784 #define HAVE_SINHF 1
17789 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
17790 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
17791 if test "${ac_cv_lib_m_sinh+set}" = set; then
17792 echo $ECHO_N "(cached) $ECHO_C" >&6
17794 ac_check_lib_save_LIBS=$LIBS
17796 if test x$gcc_no_link = xyes; then
17797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17799 { (exit 1); exit 1; }; }
17801 cat >conftest.$ac_ext <<_ACEOF
17804 cat confdefs.h >>conftest.$ac_ext
17805 cat >>conftest.$ac_ext <<_ACEOF
17806 /* end confdefs.h. */
17808 /* Override any gcc2 internal prototype to avoid an error. */
17812 /* We use char because int might match the return type of a gcc2
17813 builtin and then its argument prototype would still apply. */
17823 rm -f conftest.$ac_objext conftest$ac_exeext
17824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17825 (eval $ac_link) 2>conftest.er1
17827 grep -v '^ *+' conftest.er1 >conftest.err
17829 cat conftest.err >&5
17830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17831 (exit $ac_status); } &&
17832 { ac_try='test -z "$ac_c_werror_flag"
17833 || test ! -s conftest.err'
17834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17835 (eval $ac_try) 2>&5
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); }; } &&
17839 { ac_try='test -s conftest$ac_exeext'
17840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17841 (eval $ac_try) 2>&5
17843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); }; }; then
17845 ac_cv_lib_m_sinh=yes
17847 echo "$as_me: failed program was:" >&5
17848 sed 's/^/| /' conftest.$ac_ext >&5
17850 ac_cv_lib_m_sinh=no
17852 rm -f conftest.err conftest.$ac_objext \
17853 conftest$ac_exeext conftest.$ac_ext
17854 LIBS=$ac_check_lib_save_LIBS
17856 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
17857 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
17858 if test $ac_cv_lib_m_sinh = yes; then
17860 cat >>confdefs.h <<\_ACEOF
17861 #define HAVE_SINH 1
17866 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
17867 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
17868 if test "${ac_cv_lib_m_sinhl+set}" = set; then
17869 echo $ECHO_N "(cached) $ECHO_C" >&6
17871 ac_check_lib_save_LIBS=$LIBS
17873 if test x$gcc_no_link = xyes; then
17874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17876 { (exit 1); exit 1; }; }
17878 cat >conftest.$ac_ext <<_ACEOF
17881 cat confdefs.h >>conftest.$ac_ext
17882 cat >>conftest.$ac_ext <<_ACEOF
17883 /* end confdefs.h. */
17885 /* Override any gcc2 internal prototype to avoid an error. */
17889 /* We use char because int might match the return type of a gcc2
17890 builtin and then its argument prototype would still apply. */
17900 rm -f conftest.$ac_objext conftest$ac_exeext
17901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17902 (eval $ac_link) 2>conftest.er1
17904 grep -v '^ *+' conftest.er1 >conftest.err
17906 cat conftest.err >&5
17907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17908 (exit $ac_status); } &&
17909 { ac_try='test -z "$ac_c_werror_flag"
17910 || test ! -s conftest.err'
17911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17912 (eval $ac_try) 2>&5
17914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17915 (exit $ac_status); }; } &&
17916 { ac_try='test -s conftest$ac_exeext'
17917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17918 (eval $ac_try) 2>&5
17920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921 (exit $ac_status); }; }; then
17922 ac_cv_lib_m_sinhl=yes
17924 echo "$as_me: failed program was:" >&5
17925 sed 's/^/| /' conftest.$ac_ext >&5
17927 ac_cv_lib_m_sinhl=no
17929 rm -f conftest.err conftest.$ac_objext \
17930 conftest$ac_exeext conftest.$ac_ext
17931 LIBS=$ac_check_lib_save_LIBS
17933 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
17934 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
17935 if test $ac_cv_lib_m_sinhl = yes; then
17937 cat >>confdefs.h <<\_ACEOF
17938 #define HAVE_SINHL 1
17943 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
17944 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
17945 if test "${ac_cv_lib_m_csinhf+set}" = set; then
17946 echo $ECHO_N "(cached) $ECHO_C" >&6
17948 ac_check_lib_save_LIBS=$LIBS
17950 if test x$gcc_no_link = xyes; then
17951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17953 { (exit 1); exit 1; }; }
17955 cat >conftest.$ac_ext <<_ACEOF
17958 cat confdefs.h >>conftest.$ac_ext
17959 cat >>conftest.$ac_ext <<_ACEOF
17960 /* end confdefs.h. */
17962 /* Override any gcc2 internal prototype to avoid an error. */
17966 /* We use char because int might match the return type of a gcc2
17967 builtin and then its argument prototype would still apply. */
17977 rm -f conftest.$ac_objext conftest$ac_exeext
17978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17979 (eval $ac_link) 2>conftest.er1
17981 grep -v '^ *+' conftest.er1 >conftest.err
17983 cat conftest.err >&5
17984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17985 (exit $ac_status); } &&
17986 { ac_try='test -z "$ac_c_werror_flag"
17987 || test ! -s conftest.err'
17988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17989 (eval $ac_try) 2>&5
17991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17992 (exit $ac_status); }; } &&
17993 { ac_try='test -s conftest$ac_exeext'
17994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17995 (eval $ac_try) 2>&5
17997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17998 (exit $ac_status); }; }; then
17999 ac_cv_lib_m_csinhf=yes
18001 echo "$as_me: failed program was:" >&5
18002 sed 's/^/| /' conftest.$ac_ext >&5
18004 ac_cv_lib_m_csinhf=no
18006 rm -f conftest.err conftest.$ac_objext \
18007 conftest$ac_exeext conftest.$ac_ext
18008 LIBS=$ac_check_lib_save_LIBS
18010 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
18011 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
18012 if test $ac_cv_lib_m_csinhf = yes; then
18014 cat >>confdefs.h <<\_ACEOF
18015 #define HAVE_CSINHF 1
18020 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
18021 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
18022 if test "${ac_cv_lib_m_csinh+set}" = set; then
18023 echo $ECHO_N "(cached) $ECHO_C" >&6
18025 ac_check_lib_save_LIBS=$LIBS
18027 if test x$gcc_no_link = xyes; then
18028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18030 { (exit 1); exit 1; }; }
18032 cat >conftest.$ac_ext <<_ACEOF
18035 cat confdefs.h >>conftest.$ac_ext
18036 cat >>conftest.$ac_ext <<_ACEOF
18037 /* end confdefs.h. */
18039 /* Override any gcc2 internal prototype to avoid an error. */
18043 /* We use char because int might match the return type of a gcc2
18044 builtin and then its argument prototype would still apply. */
18054 rm -f conftest.$ac_objext conftest$ac_exeext
18055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18056 (eval $ac_link) 2>conftest.er1
18058 grep -v '^ *+' conftest.er1 >conftest.err
18060 cat conftest.err >&5
18061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18062 (exit $ac_status); } &&
18063 { ac_try='test -z "$ac_c_werror_flag"
18064 || test ! -s conftest.err'
18065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18066 (eval $ac_try) 2>&5
18068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069 (exit $ac_status); }; } &&
18070 { ac_try='test -s conftest$ac_exeext'
18071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18072 (eval $ac_try) 2>&5
18074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18075 (exit $ac_status); }; }; then
18076 ac_cv_lib_m_csinh=yes
18078 echo "$as_me: failed program was:" >&5
18079 sed 's/^/| /' conftest.$ac_ext >&5
18081 ac_cv_lib_m_csinh=no
18083 rm -f conftest.err conftest.$ac_objext \
18084 conftest$ac_exeext conftest.$ac_ext
18085 LIBS=$ac_check_lib_save_LIBS
18087 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
18088 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
18089 if test $ac_cv_lib_m_csinh = yes; then
18091 cat >>confdefs.h <<\_ACEOF
18092 #define HAVE_CSINH 1
18097 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
18098 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
18099 if test "${ac_cv_lib_m_csinhl+set}" = set; then
18100 echo $ECHO_N "(cached) $ECHO_C" >&6
18102 ac_check_lib_save_LIBS=$LIBS
18104 if test x$gcc_no_link = xyes; then
18105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18107 { (exit 1); exit 1; }; }
18109 cat >conftest.$ac_ext <<_ACEOF
18112 cat confdefs.h >>conftest.$ac_ext
18113 cat >>conftest.$ac_ext <<_ACEOF
18114 /* end confdefs.h. */
18116 /* Override any gcc2 internal prototype to avoid an error. */
18120 /* We use char because int might match the return type of a gcc2
18121 builtin and then its argument prototype would still apply. */
18131 rm -f conftest.$ac_objext conftest$ac_exeext
18132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18133 (eval $ac_link) 2>conftest.er1
18135 grep -v '^ *+' conftest.er1 >conftest.err
18137 cat conftest.err >&5
18138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18139 (exit $ac_status); } &&
18140 { ac_try='test -z "$ac_c_werror_flag"
18141 || test ! -s conftest.err'
18142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18143 (eval $ac_try) 2>&5
18145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18146 (exit $ac_status); }; } &&
18147 { ac_try='test -s conftest$ac_exeext'
18148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18149 (eval $ac_try) 2>&5
18151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152 (exit $ac_status); }; }; then
18153 ac_cv_lib_m_csinhl=yes
18155 echo "$as_me: failed program was:" >&5
18156 sed 's/^/| /' conftest.$ac_ext >&5
18158 ac_cv_lib_m_csinhl=no
18160 rm -f conftest.err conftest.$ac_objext \
18161 conftest$ac_exeext conftest.$ac_ext
18162 LIBS=$ac_check_lib_save_LIBS
18164 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
18165 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
18166 if test $ac_cv_lib_m_csinhl = yes; then
18168 cat >>confdefs.h <<\_ACEOF
18169 #define HAVE_CSINHL 1
18174 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
18175 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
18176 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
18177 echo $ECHO_N "(cached) $ECHO_C" >&6
18179 ac_check_lib_save_LIBS=$LIBS
18181 if test x$gcc_no_link = xyes; then
18182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18184 { (exit 1); exit 1; }; }
18186 cat >conftest.$ac_ext <<_ACEOF
18189 cat confdefs.h >>conftest.$ac_ext
18190 cat >>conftest.$ac_ext <<_ACEOF
18191 /* end confdefs.h. */
18193 /* Override any gcc2 internal prototype to avoid an error. */
18197 /* We use char because int might match the return type of a gcc2
18198 builtin and then its argument prototype would still apply. */
18208 rm -f conftest.$ac_objext conftest$ac_exeext
18209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18210 (eval $ac_link) 2>conftest.er1
18212 grep -v '^ *+' conftest.er1 >conftest.err
18214 cat conftest.err >&5
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); } &&
18217 { ac_try='test -z "$ac_c_werror_flag"
18218 || test ! -s conftest.err'
18219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18220 (eval $ac_try) 2>&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); }; } &&
18224 { ac_try='test -s conftest$ac_exeext'
18225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18226 (eval $ac_try) 2>&5
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); }; }; then
18230 ac_cv_lib_m_sqrtf=yes
18232 echo "$as_me: failed program was:" >&5
18233 sed 's/^/| /' conftest.$ac_ext >&5
18235 ac_cv_lib_m_sqrtf=no
18237 rm -f conftest.err conftest.$ac_objext \
18238 conftest$ac_exeext conftest.$ac_ext
18239 LIBS=$ac_check_lib_save_LIBS
18241 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
18242 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
18243 if test $ac_cv_lib_m_sqrtf = yes; then
18245 cat >>confdefs.h <<\_ACEOF
18246 #define HAVE_SQRTF 1
18251 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
18252 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
18253 if test "${ac_cv_lib_m_sqrt+set}" = set; then
18254 echo $ECHO_N "(cached) $ECHO_C" >&6
18256 ac_check_lib_save_LIBS=$LIBS
18258 if test x$gcc_no_link = xyes; then
18259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18261 { (exit 1); exit 1; }; }
18263 cat >conftest.$ac_ext <<_ACEOF
18266 cat confdefs.h >>conftest.$ac_ext
18267 cat >>conftest.$ac_ext <<_ACEOF
18268 /* end confdefs.h. */
18270 /* Override any gcc2 internal prototype to avoid an error. */
18274 /* We use char because int might match the return type of a gcc2
18275 builtin and then its argument prototype would still apply. */
18285 rm -f conftest.$ac_objext conftest$ac_exeext
18286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18287 (eval $ac_link) 2>conftest.er1
18289 grep -v '^ *+' conftest.er1 >conftest.err
18291 cat conftest.err >&5
18292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293 (exit $ac_status); } &&
18294 { ac_try='test -z "$ac_c_werror_flag"
18295 || test ! -s conftest.err'
18296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18297 (eval $ac_try) 2>&5
18299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18300 (exit $ac_status); }; } &&
18301 { ac_try='test -s conftest$ac_exeext'
18302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18303 (eval $ac_try) 2>&5
18305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18306 (exit $ac_status); }; }; then
18307 ac_cv_lib_m_sqrt=yes
18309 echo "$as_me: failed program was:" >&5
18310 sed 's/^/| /' conftest.$ac_ext >&5
18312 ac_cv_lib_m_sqrt=no
18314 rm -f conftest.err conftest.$ac_objext \
18315 conftest$ac_exeext conftest.$ac_ext
18316 LIBS=$ac_check_lib_save_LIBS
18318 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
18319 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
18320 if test $ac_cv_lib_m_sqrt = yes; then
18322 cat >>confdefs.h <<\_ACEOF
18323 #define HAVE_SQRT 1
18328 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
18329 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
18330 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
18331 echo $ECHO_N "(cached) $ECHO_C" >&6
18333 ac_check_lib_save_LIBS=$LIBS
18335 if test x$gcc_no_link = xyes; then
18336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18338 { (exit 1); exit 1; }; }
18340 cat >conftest.$ac_ext <<_ACEOF
18343 cat confdefs.h >>conftest.$ac_ext
18344 cat >>conftest.$ac_ext <<_ACEOF
18345 /* end confdefs.h. */
18347 /* Override any gcc2 internal prototype to avoid an error. */
18351 /* We use char because int might match the return type of a gcc2
18352 builtin and then its argument prototype would still apply. */
18362 rm -f conftest.$ac_objext conftest$ac_exeext
18363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18364 (eval $ac_link) 2>conftest.er1
18366 grep -v '^ *+' conftest.er1 >conftest.err
18368 cat conftest.err >&5
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); } &&
18371 { ac_try='test -z "$ac_c_werror_flag"
18372 || test ! -s conftest.err'
18373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18374 (eval $ac_try) 2>&5
18376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377 (exit $ac_status); }; } &&
18378 { ac_try='test -s conftest$ac_exeext'
18379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18380 (eval $ac_try) 2>&5
18382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18383 (exit $ac_status); }; }; then
18384 ac_cv_lib_m_sqrtl=yes
18386 echo "$as_me: failed program was:" >&5
18387 sed 's/^/| /' conftest.$ac_ext >&5
18389 ac_cv_lib_m_sqrtl=no
18391 rm -f conftest.err conftest.$ac_objext \
18392 conftest$ac_exeext conftest.$ac_ext
18393 LIBS=$ac_check_lib_save_LIBS
18395 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
18396 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
18397 if test $ac_cv_lib_m_sqrtl = yes; then
18399 cat >>confdefs.h <<\_ACEOF
18400 #define HAVE_SQRTL 1
18405 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
18406 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
18407 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
18408 echo $ECHO_N "(cached) $ECHO_C" >&6
18410 ac_check_lib_save_LIBS=$LIBS
18412 if test x$gcc_no_link = xyes; then
18413 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18415 { (exit 1); exit 1; }; }
18417 cat >conftest.$ac_ext <<_ACEOF
18420 cat confdefs.h >>conftest.$ac_ext
18421 cat >>conftest.$ac_ext <<_ACEOF
18422 /* end confdefs.h. */
18424 /* Override any gcc2 internal prototype to avoid an error. */
18428 /* We use char because int might match the return type of a gcc2
18429 builtin and then its argument prototype would still apply. */
18439 rm -f conftest.$ac_objext conftest$ac_exeext
18440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18441 (eval $ac_link) 2>conftest.er1
18443 grep -v '^ *+' conftest.er1 >conftest.err
18445 cat conftest.err >&5
18446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18447 (exit $ac_status); } &&
18448 { ac_try='test -z "$ac_c_werror_flag"
18449 || test ! -s conftest.err'
18450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18451 (eval $ac_try) 2>&5
18453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18454 (exit $ac_status); }; } &&
18455 { ac_try='test -s conftest$ac_exeext'
18456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18457 (eval $ac_try) 2>&5
18459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18460 (exit $ac_status); }; }; then
18461 ac_cv_lib_m_csqrtf=yes
18463 echo "$as_me: failed program was:" >&5
18464 sed 's/^/| /' conftest.$ac_ext >&5
18466 ac_cv_lib_m_csqrtf=no
18468 rm -f conftest.err conftest.$ac_objext \
18469 conftest$ac_exeext conftest.$ac_ext
18470 LIBS=$ac_check_lib_save_LIBS
18472 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
18473 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
18474 if test $ac_cv_lib_m_csqrtf = yes; then
18476 cat >>confdefs.h <<\_ACEOF
18477 #define HAVE_CSQRTF 1
18482 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
18483 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
18484 if test "${ac_cv_lib_m_csqrt+set}" = set; then
18485 echo $ECHO_N "(cached) $ECHO_C" >&6
18487 ac_check_lib_save_LIBS=$LIBS
18489 if test x$gcc_no_link = xyes; then
18490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18492 { (exit 1); exit 1; }; }
18494 cat >conftest.$ac_ext <<_ACEOF
18497 cat confdefs.h >>conftest.$ac_ext
18498 cat >>conftest.$ac_ext <<_ACEOF
18499 /* end confdefs.h. */
18501 /* Override any gcc2 internal prototype to avoid an error. */
18505 /* We use char because int might match the return type of a gcc2
18506 builtin and then its argument prototype would still apply. */
18516 rm -f conftest.$ac_objext conftest$ac_exeext
18517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18518 (eval $ac_link) 2>conftest.er1
18520 grep -v '^ *+' conftest.er1 >conftest.err
18522 cat conftest.err >&5
18523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18524 (exit $ac_status); } &&
18525 { ac_try='test -z "$ac_c_werror_flag"
18526 || test ! -s conftest.err'
18527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18528 (eval $ac_try) 2>&5
18530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531 (exit $ac_status); }; } &&
18532 { ac_try='test -s conftest$ac_exeext'
18533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18534 (eval $ac_try) 2>&5
18536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18537 (exit $ac_status); }; }; then
18538 ac_cv_lib_m_csqrt=yes
18540 echo "$as_me: failed program was:" >&5
18541 sed 's/^/| /' conftest.$ac_ext >&5
18543 ac_cv_lib_m_csqrt=no
18545 rm -f conftest.err conftest.$ac_objext \
18546 conftest$ac_exeext conftest.$ac_ext
18547 LIBS=$ac_check_lib_save_LIBS
18549 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
18550 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
18551 if test $ac_cv_lib_m_csqrt = yes; then
18553 cat >>confdefs.h <<\_ACEOF
18554 #define HAVE_CSQRT 1
18559 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
18560 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
18561 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
18562 echo $ECHO_N "(cached) $ECHO_C" >&6
18564 ac_check_lib_save_LIBS=$LIBS
18566 if test x$gcc_no_link = xyes; then
18567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18569 { (exit 1); exit 1; }; }
18571 cat >conftest.$ac_ext <<_ACEOF
18574 cat confdefs.h >>conftest.$ac_ext
18575 cat >>conftest.$ac_ext <<_ACEOF
18576 /* end confdefs.h. */
18578 /* Override any gcc2 internal prototype to avoid an error. */
18582 /* We use char because int might match the return type of a gcc2
18583 builtin and then its argument prototype would still apply. */
18593 rm -f conftest.$ac_objext conftest$ac_exeext
18594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18595 (eval $ac_link) 2>conftest.er1
18597 grep -v '^ *+' conftest.er1 >conftest.err
18599 cat conftest.err >&5
18600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18601 (exit $ac_status); } &&
18602 { ac_try='test -z "$ac_c_werror_flag"
18603 || test ! -s conftest.err'
18604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18605 (eval $ac_try) 2>&5
18607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18608 (exit $ac_status); }; } &&
18609 { ac_try='test -s conftest$ac_exeext'
18610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18611 (eval $ac_try) 2>&5
18613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614 (exit $ac_status); }; }; then
18615 ac_cv_lib_m_csqrtl=yes
18617 echo "$as_me: failed program was:" >&5
18618 sed 's/^/| /' conftest.$ac_ext >&5
18620 ac_cv_lib_m_csqrtl=no
18622 rm -f conftest.err conftest.$ac_objext \
18623 conftest$ac_exeext conftest.$ac_ext
18624 LIBS=$ac_check_lib_save_LIBS
18626 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
18627 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
18628 if test $ac_cv_lib_m_csqrtl = yes; then
18630 cat >>confdefs.h <<\_ACEOF
18631 #define HAVE_CSQRTL 1
18636 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
18637 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
18638 if test "${ac_cv_lib_m_tanf+set}" = set; then
18639 echo $ECHO_N "(cached) $ECHO_C" >&6
18641 ac_check_lib_save_LIBS=$LIBS
18643 if test x$gcc_no_link = xyes; then
18644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18646 { (exit 1); exit 1; }; }
18648 cat >conftest.$ac_ext <<_ACEOF
18651 cat confdefs.h >>conftest.$ac_ext
18652 cat >>conftest.$ac_ext <<_ACEOF
18653 /* end confdefs.h. */
18655 /* Override any gcc2 internal prototype to avoid an error. */
18659 /* We use char because int might match the return type of a gcc2
18660 builtin and then its argument prototype would still apply. */
18670 rm -f conftest.$ac_objext conftest$ac_exeext
18671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18672 (eval $ac_link) 2>conftest.er1
18674 grep -v '^ *+' conftest.er1 >conftest.err
18676 cat conftest.err >&5
18677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18678 (exit $ac_status); } &&
18679 { ac_try='test -z "$ac_c_werror_flag"
18680 || test ! -s conftest.err'
18681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18682 (eval $ac_try) 2>&5
18684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685 (exit $ac_status); }; } &&
18686 { ac_try='test -s conftest$ac_exeext'
18687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18688 (eval $ac_try) 2>&5
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); }; }; then
18692 ac_cv_lib_m_tanf=yes
18694 echo "$as_me: failed program was:" >&5
18695 sed 's/^/| /' conftest.$ac_ext >&5
18697 ac_cv_lib_m_tanf=no
18699 rm -f conftest.err conftest.$ac_objext \
18700 conftest$ac_exeext conftest.$ac_ext
18701 LIBS=$ac_check_lib_save_LIBS
18703 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
18704 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
18705 if test $ac_cv_lib_m_tanf = yes; then
18707 cat >>confdefs.h <<\_ACEOF
18708 #define HAVE_TANF 1
18713 echo "$as_me:$LINENO: checking for tan in -lm" >&5
18714 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
18715 if test "${ac_cv_lib_m_tan+set}" = set; then
18716 echo $ECHO_N "(cached) $ECHO_C" >&6
18718 ac_check_lib_save_LIBS=$LIBS
18720 if test x$gcc_no_link = xyes; then
18721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18723 { (exit 1); exit 1; }; }
18725 cat >conftest.$ac_ext <<_ACEOF
18728 cat confdefs.h >>conftest.$ac_ext
18729 cat >>conftest.$ac_ext <<_ACEOF
18730 /* end confdefs.h. */
18732 /* Override any gcc2 internal prototype to avoid an error. */
18736 /* We use char because int might match the return type of a gcc2
18737 builtin and then its argument prototype would still apply. */
18747 rm -f conftest.$ac_objext conftest$ac_exeext
18748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18749 (eval $ac_link) 2>conftest.er1
18751 grep -v '^ *+' conftest.er1 >conftest.err
18753 cat conftest.err >&5
18754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755 (exit $ac_status); } &&
18756 { ac_try='test -z "$ac_c_werror_flag"
18757 || test ! -s conftest.err'
18758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18759 (eval $ac_try) 2>&5
18761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18762 (exit $ac_status); }; } &&
18763 { ac_try='test -s conftest$ac_exeext'
18764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18765 (eval $ac_try) 2>&5
18767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768 (exit $ac_status); }; }; then
18769 ac_cv_lib_m_tan=yes
18771 echo "$as_me: failed program was:" >&5
18772 sed 's/^/| /' conftest.$ac_ext >&5
18776 rm -f conftest.err conftest.$ac_objext \
18777 conftest$ac_exeext conftest.$ac_ext
18778 LIBS=$ac_check_lib_save_LIBS
18780 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
18781 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
18782 if test $ac_cv_lib_m_tan = yes; then
18784 cat >>confdefs.h <<\_ACEOF
18790 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
18791 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
18792 if test "${ac_cv_lib_m_tanl+set}" = set; then
18793 echo $ECHO_N "(cached) $ECHO_C" >&6
18795 ac_check_lib_save_LIBS=$LIBS
18797 if test x$gcc_no_link = xyes; then
18798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18800 { (exit 1); exit 1; }; }
18802 cat >conftest.$ac_ext <<_ACEOF
18805 cat confdefs.h >>conftest.$ac_ext
18806 cat >>conftest.$ac_ext <<_ACEOF
18807 /* end confdefs.h. */
18809 /* Override any gcc2 internal prototype to avoid an error. */
18813 /* We use char because int might match the return type of a gcc2
18814 builtin and then its argument prototype would still apply. */
18824 rm -f conftest.$ac_objext conftest$ac_exeext
18825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18826 (eval $ac_link) 2>conftest.er1
18828 grep -v '^ *+' conftest.er1 >conftest.err
18830 cat conftest.err >&5
18831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18832 (exit $ac_status); } &&
18833 { ac_try='test -z "$ac_c_werror_flag"
18834 || test ! -s conftest.err'
18835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18836 (eval $ac_try) 2>&5
18838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18839 (exit $ac_status); }; } &&
18840 { ac_try='test -s conftest$ac_exeext'
18841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18842 (eval $ac_try) 2>&5
18844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18845 (exit $ac_status); }; }; then
18846 ac_cv_lib_m_tanl=yes
18848 echo "$as_me: failed program was:" >&5
18849 sed 's/^/| /' conftest.$ac_ext >&5
18851 ac_cv_lib_m_tanl=no
18853 rm -f conftest.err conftest.$ac_objext \
18854 conftest$ac_exeext conftest.$ac_ext
18855 LIBS=$ac_check_lib_save_LIBS
18857 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
18858 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
18859 if test $ac_cv_lib_m_tanl = yes; then
18861 cat >>confdefs.h <<\_ACEOF
18862 #define HAVE_TANL 1
18867 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
18868 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
18869 if test "${ac_cv_lib_m_ctanf+set}" = set; then
18870 echo $ECHO_N "(cached) $ECHO_C" >&6
18872 ac_check_lib_save_LIBS=$LIBS
18874 if test x$gcc_no_link = xyes; then
18875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18877 { (exit 1); exit 1; }; }
18879 cat >conftest.$ac_ext <<_ACEOF
18882 cat confdefs.h >>conftest.$ac_ext
18883 cat >>conftest.$ac_ext <<_ACEOF
18884 /* end confdefs.h. */
18886 /* Override any gcc2 internal prototype to avoid an error. */
18890 /* We use char because int might match the return type of a gcc2
18891 builtin and then its argument prototype would still apply. */
18901 rm -f conftest.$ac_objext conftest$ac_exeext
18902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18903 (eval $ac_link) 2>conftest.er1
18905 grep -v '^ *+' conftest.er1 >conftest.err
18907 cat conftest.err >&5
18908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18909 (exit $ac_status); } &&
18910 { ac_try='test -z "$ac_c_werror_flag"
18911 || test ! -s conftest.err'
18912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18913 (eval $ac_try) 2>&5
18915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916 (exit $ac_status); }; } &&
18917 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
18923 ac_cv_lib_m_ctanf=yes
18925 echo "$as_me: failed program was:" >&5
18926 sed 's/^/| /' conftest.$ac_ext >&5
18928 ac_cv_lib_m_ctanf=no
18930 rm -f conftest.err conftest.$ac_objext \
18931 conftest$ac_exeext conftest.$ac_ext
18932 LIBS=$ac_check_lib_save_LIBS
18934 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
18935 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
18936 if test $ac_cv_lib_m_ctanf = yes; then
18938 cat >>confdefs.h <<\_ACEOF
18939 #define HAVE_CTANF 1
18944 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
18945 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
18946 if test "${ac_cv_lib_m_ctan+set}" = set; then
18947 echo $ECHO_N "(cached) $ECHO_C" >&6
18949 ac_check_lib_save_LIBS=$LIBS
18951 if test x$gcc_no_link = xyes; then
18952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18954 { (exit 1); exit 1; }; }
18956 cat >conftest.$ac_ext <<_ACEOF
18959 cat confdefs.h >>conftest.$ac_ext
18960 cat >>conftest.$ac_ext <<_ACEOF
18961 /* end confdefs.h. */
18963 /* Override any gcc2 internal prototype to avoid an error. */
18967 /* We use char because int might match the return type of a gcc2
18968 builtin and then its argument prototype would still apply. */
18978 rm -f conftest.$ac_objext conftest$ac_exeext
18979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18980 (eval $ac_link) 2>conftest.er1
18982 grep -v '^ *+' conftest.er1 >conftest.err
18984 cat conftest.err >&5
18985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986 (exit $ac_status); } &&
18987 { ac_try='test -z "$ac_c_werror_flag"
18988 || test ! -s conftest.err'
18989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18990 (eval $ac_try) 2>&5
18992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993 (exit $ac_status); }; } &&
18994 { ac_try='test -s conftest$ac_exeext'
18995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18996 (eval $ac_try) 2>&5
18998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18999 (exit $ac_status); }; }; then
19000 ac_cv_lib_m_ctan=yes
19002 echo "$as_me: failed program was:" >&5
19003 sed 's/^/| /' conftest.$ac_ext >&5
19005 ac_cv_lib_m_ctan=no
19007 rm -f conftest.err conftest.$ac_objext \
19008 conftest$ac_exeext conftest.$ac_ext
19009 LIBS=$ac_check_lib_save_LIBS
19011 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
19012 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
19013 if test $ac_cv_lib_m_ctan = yes; then
19015 cat >>confdefs.h <<\_ACEOF
19016 #define HAVE_CTAN 1
19021 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
19022 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
19023 if test "${ac_cv_lib_m_ctanl+set}" = set; then
19024 echo $ECHO_N "(cached) $ECHO_C" >&6
19026 ac_check_lib_save_LIBS=$LIBS
19028 if test x$gcc_no_link = xyes; then
19029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19031 { (exit 1); exit 1; }; }
19033 cat >conftest.$ac_ext <<_ACEOF
19036 cat confdefs.h >>conftest.$ac_ext
19037 cat >>conftest.$ac_ext <<_ACEOF
19038 /* end confdefs.h. */
19040 /* Override any gcc2 internal prototype to avoid an error. */
19044 /* We use char because int might match the return type of a gcc2
19045 builtin and then its argument prototype would still apply. */
19055 rm -f conftest.$ac_objext conftest$ac_exeext
19056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19057 (eval $ac_link) 2>conftest.er1
19059 grep -v '^ *+' conftest.er1 >conftest.err
19061 cat conftest.err >&5
19062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19063 (exit $ac_status); } &&
19064 { ac_try='test -z "$ac_c_werror_flag"
19065 || test ! -s conftest.err'
19066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19067 (eval $ac_try) 2>&5
19069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070 (exit $ac_status); }; } &&
19071 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
19077 ac_cv_lib_m_ctanl=yes
19079 echo "$as_me: failed program was:" >&5
19080 sed 's/^/| /' conftest.$ac_ext >&5
19082 ac_cv_lib_m_ctanl=no
19084 rm -f conftest.err conftest.$ac_objext \
19085 conftest$ac_exeext conftest.$ac_ext
19086 LIBS=$ac_check_lib_save_LIBS
19088 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
19089 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
19090 if test $ac_cv_lib_m_ctanl = yes; then
19092 cat >>confdefs.h <<\_ACEOF
19093 #define HAVE_CTANL 1
19098 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
19099 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
19100 if test "${ac_cv_lib_m_tanhf+set}" = set; then
19101 echo $ECHO_N "(cached) $ECHO_C" >&6
19103 ac_check_lib_save_LIBS=$LIBS
19105 if test x$gcc_no_link = xyes; then
19106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19108 { (exit 1); exit 1; }; }
19110 cat >conftest.$ac_ext <<_ACEOF
19113 cat confdefs.h >>conftest.$ac_ext
19114 cat >>conftest.$ac_ext <<_ACEOF
19115 /* end confdefs.h. */
19117 /* Override any gcc2 internal prototype to avoid an error. */
19121 /* We use char because int might match the return type of a gcc2
19122 builtin and then its argument prototype would still apply. */
19132 rm -f conftest.$ac_objext conftest$ac_exeext
19133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19134 (eval $ac_link) 2>conftest.er1
19136 grep -v '^ *+' conftest.er1 >conftest.err
19138 cat conftest.err >&5
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); } &&
19141 { ac_try='test -z "$ac_c_werror_flag"
19142 || test ! -s conftest.err'
19143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19144 (eval $ac_try) 2>&5
19146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147 (exit $ac_status); }; } &&
19148 { ac_try='test -s conftest$ac_exeext'
19149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19150 (eval $ac_try) 2>&5
19152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19153 (exit $ac_status); }; }; then
19154 ac_cv_lib_m_tanhf=yes
19156 echo "$as_me: failed program was:" >&5
19157 sed 's/^/| /' conftest.$ac_ext >&5
19159 ac_cv_lib_m_tanhf=no
19161 rm -f conftest.err conftest.$ac_objext \
19162 conftest$ac_exeext conftest.$ac_ext
19163 LIBS=$ac_check_lib_save_LIBS
19165 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
19166 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
19167 if test $ac_cv_lib_m_tanhf = yes; then
19169 cat >>confdefs.h <<\_ACEOF
19170 #define HAVE_TANHF 1
19175 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
19176 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
19177 if test "${ac_cv_lib_m_tanh+set}" = set; then
19178 echo $ECHO_N "(cached) $ECHO_C" >&6
19180 ac_check_lib_save_LIBS=$LIBS
19182 if test x$gcc_no_link = xyes; then
19183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19185 { (exit 1); exit 1; }; }
19187 cat >conftest.$ac_ext <<_ACEOF
19190 cat confdefs.h >>conftest.$ac_ext
19191 cat >>conftest.$ac_ext <<_ACEOF
19192 /* end confdefs.h. */
19194 /* Override any gcc2 internal prototype to avoid an error. */
19198 /* We use char because int might match the return type of a gcc2
19199 builtin and then its argument prototype would still apply. */
19209 rm -f conftest.$ac_objext conftest$ac_exeext
19210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19211 (eval $ac_link) 2>conftest.er1
19213 grep -v '^ *+' conftest.er1 >conftest.err
19215 cat conftest.err >&5
19216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19217 (exit $ac_status); } &&
19218 { ac_try='test -z "$ac_c_werror_flag"
19219 || test ! -s conftest.err'
19220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19221 (eval $ac_try) 2>&5
19223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19224 (exit $ac_status); }; } &&
19225 { ac_try='test -s conftest$ac_exeext'
19226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19227 (eval $ac_try) 2>&5
19229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19230 (exit $ac_status); }; }; then
19231 ac_cv_lib_m_tanh=yes
19233 echo "$as_me: failed program was:" >&5
19234 sed 's/^/| /' conftest.$ac_ext >&5
19236 ac_cv_lib_m_tanh=no
19238 rm -f conftest.err conftest.$ac_objext \
19239 conftest$ac_exeext conftest.$ac_ext
19240 LIBS=$ac_check_lib_save_LIBS
19242 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
19243 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
19244 if test $ac_cv_lib_m_tanh = yes; then
19246 cat >>confdefs.h <<\_ACEOF
19247 #define HAVE_TANH 1
19252 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
19253 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
19254 if test "${ac_cv_lib_m_tanhl+set}" = set; then
19255 echo $ECHO_N "(cached) $ECHO_C" >&6
19257 ac_check_lib_save_LIBS=$LIBS
19259 if test x$gcc_no_link = xyes; then
19260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19262 { (exit 1); exit 1; }; }
19264 cat >conftest.$ac_ext <<_ACEOF
19267 cat confdefs.h >>conftest.$ac_ext
19268 cat >>conftest.$ac_ext <<_ACEOF
19269 /* end confdefs.h. */
19271 /* Override any gcc2 internal prototype to avoid an error. */
19275 /* We use char because int might match the return type of a gcc2
19276 builtin and then its argument prototype would still apply. */
19286 rm -f conftest.$ac_objext conftest$ac_exeext
19287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19288 (eval $ac_link) 2>conftest.er1
19290 grep -v '^ *+' conftest.er1 >conftest.err
19292 cat conftest.err >&5
19293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19294 (exit $ac_status); } &&
19295 { ac_try='test -z "$ac_c_werror_flag"
19296 || test ! -s conftest.err'
19297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19298 (eval $ac_try) 2>&5
19300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301 (exit $ac_status); }; } &&
19302 { ac_try='test -s conftest$ac_exeext'
19303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19304 (eval $ac_try) 2>&5
19306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19307 (exit $ac_status); }; }; then
19308 ac_cv_lib_m_tanhl=yes
19310 echo "$as_me: failed program was:" >&5
19311 sed 's/^/| /' conftest.$ac_ext >&5
19313 ac_cv_lib_m_tanhl=no
19315 rm -f conftest.err conftest.$ac_objext \
19316 conftest$ac_exeext conftest.$ac_ext
19317 LIBS=$ac_check_lib_save_LIBS
19319 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
19320 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
19321 if test $ac_cv_lib_m_tanhl = yes; then
19323 cat >>confdefs.h <<\_ACEOF
19324 #define HAVE_TANHL 1
19329 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
19330 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
19331 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
19332 echo $ECHO_N "(cached) $ECHO_C" >&6
19334 ac_check_lib_save_LIBS=$LIBS
19336 if test x$gcc_no_link = xyes; then
19337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19339 { (exit 1); exit 1; }; }
19341 cat >conftest.$ac_ext <<_ACEOF
19344 cat confdefs.h >>conftest.$ac_ext
19345 cat >>conftest.$ac_ext <<_ACEOF
19346 /* end confdefs.h. */
19348 /* Override any gcc2 internal prototype to avoid an error. */
19352 /* We use char because int might match the return type of a gcc2
19353 builtin and then its argument prototype would still apply. */
19363 rm -f conftest.$ac_objext conftest$ac_exeext
19364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19365 (eval $ac_link) 2>conftest.er1
19367 grep -v '^ *+' conftest.er1 >conftest.err
19369 cat conftest.err >&5
19370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371 (exit $ac_status); } &&
19372 { ac_try='test -z "$ac_c_werror_flag"
19373 || test ! -s conftest.err'
19374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19375 (eval $ac_try) 2>&5
19377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378 (exit $ac_status); }; } &&
19379 { ac_try='test -s conftest$ac_exeext'
19380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19381 (eval $ac_try) 2>&5
19383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19384 (exit $ac_status); }; }; then
19385 ac_cv_lib_m_ctanhf=yes
19387 echo "$as_me: failed program was:" >&5
19388 sed 's/^/| /' conftest.$ac_ext >&5
19390 ac_cv_lib_m_ctanhf=no
19392 rm -f conftest.err conftest.$ac_objext \
19393 conftest$ac_exeext conftest.$ac_ext
19394 LIBS=$ac_check_lib_save_LIBS
19396 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
19397 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
19398 if test $ac_cv_lib_m_ctanhf = yes; then
19400 cat >>confdefs.h <<\_ACEOF
19401 #define HAVE_CTANHF 1
19406 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
19407 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
19408 if test "${ac_cv_lib_m_ctanh+set}" = set; then
19409 echo $ECHO_N "(cached) $ECHO_C" >&6
19411 ac_check_lib_save_LIBS=$LIBS
19413 if test x$gcc_no_link = xyes; then
19414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19416 { (exit 1); exit 1; }; }
19418 cat >conftest.$ac_ext <<_ACEOF
19421 cat confdefs.h >>conftest.$ac_ext
19422 cat >>conftest.$ac_ext <<_ACEOF
19423 /* end confdefs.h. */
19425 /* Override any gcc2 internal prototype to avoid an error. */
19429 /* We use char because int might match the return type of a gcc2
19430 builtin and then its argument prototype would still apply. */
19440 rm -f conftest.$ac_objext conftest$ac_exeext
19441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19442 (eval $ac_link) 2>conftest.er1
19444 grep -v '^ *+' conftest.er1 >conftest.err
19446 cat conftest.err >&5
19447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19448 (exit $ac_status); } &&
19449 { ac_try='test -z "$ac_c_werror_flag"
19450 || test ! -s conftest.err'
19451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19452 (eval $ac_try) 2>&5
19454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455 (exit $ac_status); }; } &&
19456 { ac_try='test -s conftest$ac_exeext'
19457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19458 (eval $ac_try) 2>&5
19460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19461 (exit $ac_status); }; }; then
19462 ac_cv_lib_m_ctanh=yes
19464 echo "$as_me: failed program was:" >&5
19465 sed 's/^/| /' conftest.$ac_ext >&5
19467 ac_cv_lib_m_ctanh=no
19469 rm -f conftest.err conftest.$ac_objext \
19470 conftest$ac_exeext conftest.$ac_ext
19471 LIBS=$ac_check_lib_save_LIBS
19473 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
19474 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
19475 if test $ac_cv_lib_m_ctanh = yes; then
19477 cat >>confdefs.h <<\_ACEOF
19478 #define HAVE_CTANH 1
19483 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
19484 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
19485 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
19486 echo $ECHO_N "(cached) $ECHO_C" >&6
19488 ac_check_lib_save_LIBS=$LIBS
19490 if test x$gcc_no_link = xyes; then
19491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19493 { (exit 1); exit 1; }; }
19495 cat >conftest.$ac_ext <<_ACEOF
19498 cat confdefs.h >>conftest.$ac_ext
19499 cat >>conftest.$ac_ext <<_ACEOF
19500 /* end confdefs.h. */
19502 /* Override any gcc2 internal prototype to avoid an error. */
19506 /* We use char because int might match the return type of a gcc2
19507 builtin and then its argument prototype would still apply. */
19517 rm -f conftest.$ac_objext conftest$ac_exeext
19518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19519 (eval $ac_link) 2>conftest.er1
19521 grep -v '^ *+' conftest.er1 >conftest.err
19523 cat conftest.err >&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); } &&
19526 { ac_try='test -z "$ac_c_werror_flag"
19527 || test ! -s conftest.err'
19528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19529 (eval $ac_try) 2>&5
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); }; } &&
19533 { ac_try='test -s conftest$ac_exeext'
19534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19535 (eval $ac_try) 2>&5
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); }; }; then
19539 ac_cv_lib_m_ctanhl=yes
19541 echo "$as_me: failed program was:" >&5
19542 sed 's/^/| /' conftest.$ac_ext >&5
19544 ac_cv_lib_m_ctanhl=no
19546 rm -f conftest.err conftest.$ac_objext \
19547 conftest$ac_exeext conftest.$ac_ext
19548 LIBS=$ac_check_lib_save_LIBS
19550 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
19551 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
19552 if test $ac_cv_lib_m_ctanhl = yes; then
19554 cat >>confdefs.h <<\_ACEOF
19555 #define HAVE_CTANHL 1
19560 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
19561 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
19562 if test "${ac_cv_lib_m_truncf+set}" = set; then
19563 echo $ECHO_N "(cached) $ECHO_C" >&6
19565 ac_check_lib_save_LIBS=$LIBS
19567 if test x$gcc_no_link = xyes; then
19568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19570 { (exit 1); exit 1; }; }
19572 cat >conftest.$ac_ext <<_ACEOF
19575 cat confdefs.h >>conftest.$ac_ext
19576 cat >>conftest.$ac_ext <<_ACEOF
19577 /* end confdefs.h. */
19579 /* Override any gcc2 internal prototype to avoid an error. */
19583 /* We use char because int might match the return type of a gcc2
19584 builtin and then its argument prototype would still apply. */
19594 rm -f conftest.$ac_objext conftest$ac_exeext
19595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19596 (eval $ac_link) 2>conftest.er1
19598 grep -v '^ *+' conftest.er1 >conftest.err
19600 cat conftest.err >&5
19601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19602 (exit $ac_status); } &&
19603 { ac_try='test -z "$ac_c_werror_flag"
19604 || test ! -s conftest.err'
19605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19606 (eval $ac_try) 2>&5
19608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19609 (exit $ac_status); }; } &&
19610 { ac_try='test -s conftest$ac_exeext'
19611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19612 (eval $ac_try) 2>&5
19614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615 (exit $ac_status); }; }; then
19616 ac_cv_lib_m_truncf=yes
19618 echo "$as_me: failed program was:" >&5
19619 sed 's/^/| /' conftest.$ac_ext >&5
19621 ac_cv_lib_m_truncf=no
19623 rm -f conftest.err conftest.$ac_objext \
19624 conftest$ac_exeext conftest.$ac_ext
19625 LIBS=$ac_check_lib_save_LIBS
19627 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
19628 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
19629 if test $ac_cv_lib_m_truncf = yes; then
19631 cat >>confdefs.h <<\_ACEOF
19632 #define HAVE_TRUNCF 1
19637 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
19638 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
19639 if test "${ac_cv_lib_m_trunc+set}" = set; then
19640 echo $ECHO_N "(cached) $ECHO_C" >&6
19642 ac_check_lib_save_LIBS=$LIBS
19644 if test x$gcc_no_link = xyes; then
19645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19647 { (exit 1); exit 1; }; }
19649 cat >conftest.$ac_ext <<_ACEOF
19652 cat confdefs.h >>conftest.$ac_ext
19653 cat >>conftest.$ac_ext <<_ACEOF
19654 /* end confdefs.h. */
19656 /* Override any gcc2 internal prototype to avoid an error. */
19660 /* We use char because int might match the return type of a gcc2
19661 builtin and then its argument prototype would still apply. */
19671 rm -f conftest.$ac_objext conftest$ac_exeext
19672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19673 (eval $ac_link) 2>conftest.er1
19675 grep -v '^ *+' conftest.er1 >conftest.err
19677 cat conftest.err >&5
19678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679 (exit $ac_status); } &&
19680 { ac_try='test -z "$ac_c_werror_flag"
19681 || test ! -s conftest.err'
19682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19683 (eval $ac_try) 2>&5
19685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19686 (exit $ac_status); }; } &&
19687 { ac_try='test -s conftest$ac_exeext'
19688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19689 (eval $ac_try) 2>&5
19691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19692 (exit $ac_status); }; }; then
19693 ac_cv_lib_m_trunc=yes
19695 echo "$as_me: failed program was:" >&5
19696 sed 's/^/| /' conftest.$ac_ext >&5
19698 ac_cv_lib_m_trunc=no
19700 rm -f conftest.err conftest.$ac_objext \
19701 conftest$ac_exeext conftest.$ac_ext
19702 LIBS=$ac_check_lib_save_LIBS
19704 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
19705 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
19706 if test $ac_cv_lib_m_trunc = yes; then
19708 cat >>confdefs.h <<\_ACEOF
19709 #define HAVE_TRUNC 1
19714 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
19715 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
19716 if test "${ac_cv_lib_m_truncl+set}" = set; then
19717 echo $ECHO_N "(cached) $ECHO_C" >&6
19719 ac_check_lib_save_LIBS=$LIBS
19721 if test x$gcc_no_link = xyes; then
19722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19724 { (exit 1); exit 1; }; }
19726 cat >conftest.$ac_ext <<_ACEOF
19729 cat confdefs.h >>conftest.$ac_ext
19730 cat >>conftest.$ac_ext <<_ACEOF
19731 /* end confdefs.h. */
19733 /* Override any gcc2 internal prototype to avoid an error. */
19737 /* We use char because int might match the return type of a gcc2
19738 builtin and then its argument prototype would still apply. */
19748 rm -f conftest.$ac_objext conftest$ac_exeext
19749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19750 (eval $ac_link) 2>conftest.er1
19752 grep -v '^ *+' conftest.er1 >conftest.err
19754 cat conftest.err >&5
19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756 (exit $ac_status); } &&
19757 { ac_try='test -z "$ac_c_werror_flag"
19758 || test ! -s conftest.err'
19759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19760 (eval $ac_try) 2>&5
19762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763 (exit $ac_status); }; } &&
19764 { ac_try='test -s conftest$ac_exeext'
19765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19766 (eval $ac_try) 2>&5
19768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19769 (exit $ac_status); }; }; then
19770 ac_cv_lib_m_truncl=yes
19772 echo "$as_me: failed program was:" >&5
19773 sed 's/^/| /' conftest.$ac_ext >&5
19775 ac_cv_lib_m_truncl=no
19777 rm -f conftest.err conftest.$ac_objext \
19778 conftest$ac_exeext conftest.$ac_ext
19779 LIBS=$ac_check_lib_save_LIBS
19781 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
19782 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
19783 if test $ac_cv_lib_m_truncl = yes; then
19785 cat >>confdefs.h <<\_ACEOF
19786 #define HAVE_TRUNCL 1
19791 echo "$as_me:$LINENO: checking for erff in -lm" >&5
19792 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
19793 if test "${ac_cv_lib_m_erff+set}" = set; then
19794 echo $ECHO_N "(cached) $ECHO_C" >&6
19796 ac_check_lib_save_LIBS=$LIBS
19798 if test x$gcc_no_link = xyes; then
19799 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19801 { (exit 1); exit 1; }; }
19803 cat >conftest.$ac_ext <<_ACEOF
19806 cat confdefs.h >>conftest.$ac_ext
19807 cat >>conftest.$ac_ext <<_ACEOF
19808 /* end confdefs.h. */
19810 /* Override any gcc2 internal prototype to avoid an error. */
19814 /* We use char because int might match the return type of a gcc2
19815 builtin and then its argument prototype would still apply. */
19825 rm -f conftest.$ac_objext conftest$ac_exeext
19826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19827 (eval $ac_link) 2>conftest.er1
19829 grep -v '^ *+' conftest.er1 >conftest.err
19831 cat conftest.err >&5
19832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19833 (exit $ac_status); } &&
19834 { ac_try='test -z "$ac_c_werror_flag"
19835 || test ! -s conftest.err'
19836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19837 (eval $ac_try) 2>&5
19839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840 (exit $ac_status); }; } &&
19841 { ac_try='test -s conftest$ac_exeext'
19842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19843 (eval $ac_try) 2>&5
19845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846 (exit $ac_status); }; }; then
19847 ac_cv_lib_m_erff=yes
19849 echo "$as_me: failed program was:" >&5
19850 sed 's/^/| /' conftest.$ac_ext >&5
19852 ac_cv_lib_m_erff=no
19854 rm -f conftest.err conftest.$ac_objext \
19855 conftest$ac_exeext conftest.$ac_ext
19856 LIBS=$ac_check_lib_save_LIBS
19858 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
19859 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
19860 if test $ac_cv_lib_m_erff = yes; then
19862 cat >>confdefs.h <<\_ACEOF
19863 #define HAVE_ERFF 1
19868 echo "$as_me:$LINENO: checking for erf in -lm" >&5
19869 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
19870 if test "${ac_cv_lib_m_erf+set}" = set; then
19871 echo $ECHO_N "(cached) $ECHO_C" >&6
19873 ac_check_lib_save_LIBS=$LIBS
19875 if test x$gcc_no_link = xyes; then
19876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19878 { (exit 1); exit 1; }; }
19880 cat >conftest.$ac_ext <<_ACEOF
19883 cat confdefs.h >>conftest.$ac_ext
19884 cat >>conftest.$ac_ext <<_ACEOF
19885 /* end confdefs.h. */
19887 /* Override any gcc2 internal prototype to avoid an error. */
19891 /* We use char because int might match the return type of a gcc2
19892 builtin and then its argument prototype would still apply. */
19902 rm -f conftest.$ac_objext conftest$ac_exeext
19903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19904 (eval $ac_link) 2>conftest.er1
19906 grep -v '^ *+' conftest.er1 >conftest.err
19908 cat conftest.err >&5
19909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910 (exit $ac_status); } &&
19911 { ac_try='test -z "$ac_c_werror_flag"
19912 || test ! -s conftest.err'
19913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19914 (eval $ac_try) 2>&5
19916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917 (exit $ac_status); }; } &&
19918 { ac_try='test -s conftest$ac_exeext'
19919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19920 (eval $ac_try) 2>&5
19922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923 (exit $ac_status); }; }; then
19924 ac_cv_lib_m_erf=yes
19926 echo "$as_me: failed program was:" >&5
19927 sed 's/^/| /' conftest.$ac_ext >&5
19931 rm -f conftest.err conftest.$ac_objext \
19932 conftest$ac_exeext conftest.$ac_ext
19933 LIBS=$ac_check_lib_save_LIBS
19935 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
19936 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
19937 if test $ac_cv_lib_m_erf = yes; then
19939 cat >>confdefs.h <<\_ACEOF
19945 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
19946 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
19947 if test "${ac_cv_lib_m_erfl+set}" = set; then
19948 echo $ECHO_N "(cached) $ECHO_C" >&6
19950 ac_check_lib_save_LIBS=$LIBS
19952 if test x$gcc_no_link = xyes; then
19953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19955 { (exit 1); exit 1; }; }
19957 cat >conftest.$ac_ext <<_ACEOF
19960 cat confdefs.h >>conftest.$ac_ext
19961 cat >>conftest.$ac_ext <<_ACEOF
19962 /* end confdefs.h. */
19964 /* Override any gcc2 internal prototype to avoid an error. */
19968 /* We use char because int might match the return type of a gcc2
19969 builtin and then its argument prototype would still apply. */
19979 rm -f conftest.$ac_objext conftest$ac_exeext
19980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19981 (eval $ac_link) 2>conftest.er1
19983 grep -v '^ *+' conftest.er1 >conftest.err
19985 cat conftest.err >&5
19986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19987 (exit $ac_status); } &&
19988 { ac_try='test -z "$ac_c_werror_flag"
19989 || test ! -s conftest.err'
19990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19991 (eval $ac_try) 2>&5
19993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994 (exit $ac_status); }; } &&
19995 { ac_try='test -s conftest$ac_exeext'
19996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19997 (eval $ac_try) 2>&5
19999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20000 (exit $ac_status); }; }; then
20001 ac_cv_lib_m_erfl=yes
20003 echo "$as_me: failed program was:" >&5
20004 sed 's/^/| /' conftest.$ac_ext >&5
20006 ac_cv_lib_m_erfl=no
20008 rm -f conftest.err conftest.$ac_objext \
20009 conftest$ac_exeext conftest.$ac_ext
20010 LIBS=$ac_check_lib_save_LIBS
20012 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
20013 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
20014 if test $ac_cv_lib_m_erfl = yes; then
20016 cat >>confdefs.h <<\_ACEOF
20017 #define HAVE_ERFL 1
20022 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
20023 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
20024 if test "${ac_cv_lib_m_erfcf+set}" = set; then
20025 echo $ECHO_N "(cached) $ECHO_C" >&6
20027 ac_check_lib_save_LIBS=$LIBS
20029 if test x$gcc_no_link = xyes; then
20030 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20032 { (exit 1); exit 1; }; }
20034 cat >conftest.$ac_ext <<_ACEOF
20037 cat confdefs.h >>conftest.$ac_ext
20038 cat >>conftest.$ac_ext <<_ACEOF
20039 /* end confdefs.h. */
20041 /* Override any gcc2 internal prototype to avoid an error. */
20045 /* We use char because int might match the return type of a gcc2
20046 builtin and then its argument prototype would still apply. */
20056 rm -f conftest.$ac_objext conftest$ac_exeext
20057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20058 (eval $ac_link) 2>conftest.er1
20060 grep -v '^ *+' conftest.er1 >conftest.err
20062 cat conftest.err >&5
20063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20064 (exit $ac_status); } &&
20065 { ac_try='test -z "$ac_c_werror_flag"
20066 || test ! -s conftest.err'
20067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20068 (eval $ac_try) 2>&5
20070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071 (exit $ac_status); }; } &&
20072 { ac_try='test -s conftest$ac_exeext'
20073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20074 (eval $ac_try) 2>&5
20076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077 (exit $ac_status); }; }; then
20078 ac_cv_lib_m_erfcf=yes
20080 echo "$as_me: failed program was:" >&5
20081 sed 's/^/| /' conftest.$ac_ext >&5
20083 ac_cv_lib_m_erfcf=no
20085 rm -f conftest.err conftest.$ac_objext \
20086 conftest$ac_exeext conftest.$ac_ext
20087 LIBS=$ac_check_lib_save_LIBS
20089 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
20090 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
20091 if test $ac_cv_lib_m_erfcf = yes; then
20093 cat >>confdefs.h <<\_ACEOF
20094 #define HAVE_ERFCF 1
20099 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
20100 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
20101 if test "${ac_cv_lib_m_erfc+set}" = set; then
20102 echo $ECHO_N "(cached) $ECHO_C" >&6
20104 ac_check_lib_save_LIBS=$LIBS
20106 if test x$gcc_no_link = xyes; then
20107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20109 { (exit 1); exit 1; }; }
20111 cat >conftest.$ac_ext <<_ACEOF
20114 cat confdefs.h >>conftest.$ac_ext
20115 cat >>conftest.$ac_ext <<_ACEOF
20116 /* end confdefs.h. */
20118 /* Override any gcc2 internal prototype to avoid an error. */
20122 /* We use char because int might match the return type of a gcc2
20123 builtin and then its argument prototype would still apply. */
20133 rm -f conftest.$ac_objext conftest$ac_exeext
20134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20135 (eval $ac_link) 2>conftest.er1
20137 grep -v '^ *+' conftest.er1 >conftest.err
20139 cat conftest.err >&5
20140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20141 (exit $ac_status); } &&
20142 { ac_try='test -z "$ac_c_werror_flag"
20143 || test ! -s conftest.err'
20144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20145 (eval $ac_try) 2>&5
20147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20148 (exit $ac_status); }; } &&
20149 { ac_try='test -s conftest$ac_exeext'
20150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20151 (eval $ac_try) 2>&5
20153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); }; }; then
20155 ac_cv_lib_m_erfc=yes
20157 echo "$as_me: failed program was:" >&5
20158 sed 's/^/| /' conftest.$ac_ext >&5
20160 ac_cv_lib_m_erfc=no
20162 rm -f conftest.err conftest.$ac_objext \
20163 conftest$ac_exeext conftest.$ac_ext
20164 LIBS=$ac_check_lib_save_LIBS
20166 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
20167 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
20168 if test $ac_cv_lib_m_erfc = yes; then
20170 cat >>confdefs.h <<\_ACEOF
20171 #define HAVE_ERFC 1
20176 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
20177 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
20178 if test "${ac_cv_lib_m_erfcl+set}" = set; then
20179 echo $ECHO_N "(cached) $ECHO_C" >&6
20181 ac_check_lib_save_LIBS=$LIBS
20183 if test x$gcc_no_link = xyes; then
20184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20186 { (exit 1); exit 1; }; }
20188 cat >conftest.$ac_ext <<_ACEOF
20191 cat confdefs.h >>conftest.$ac_ext
20192 cat >>conftest.$ac_ext <<_ACEOF
20193 /* end confdefs.h. */
20195 /* Override any gcc2 internal prototype to avoid an error. */
20199 /* We use char because int might match the return type of a gcc2
20200 builtin and then its argument prototype would still apply. */
20210 rm -f conftest.$ac_objext conftest$ac_exeext
20211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20212 (eval $ac_link) 2>conftest.er1
20214 grep -v '^ *+' conftest.er1 >conftest.err
20216 cat conftest.err >&5
20217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20218 (exit $ac_status); } &&
20219 { ac_try='test -z "$ac_c_werror_flag"
20220 || test ! -s conftest.err'
20221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20222 (eval $ac_try) 2>&5
20224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20225 (exit $ac_status); }; } &&
20226 { ac_try='test -s conftest$ac_exeext'
20227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20228 (eval $ac_try) 2>&5
20230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20231 (exit $ac_status); }; }; then
20232 ac_cv_lib_m_erfcl=yes
20234 echo "$as_me: failed program was:" >&5
20235 sed 's/^/| /' conftest.$ac_ext >&5
20237 ac_cv_lib_m_erfcl=no
20239 rm -f conftest.err conftest.$ac_objext \
20240 conftest$ac_exeext conftest.$ac_ext
20241 LIBS=$ac_check_lib_save_LIBS
20243 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
20244 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
20245 if test $ac_cv_lib_m_erfcl = yes; then
20247 cat >>confdefs.h <<\_ACEOF
20248 #define HAVE_ERFCL 1
20253 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
20254 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
20255 if test "${ac_cv_lib_m_j0f+set}" = set; then
20256 echo $ECHO_N "(cached) $ECHO_C" >&6
20258 ac_check_lib_save_LIBS=$LIBS
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. */
20272 /* Override any gcc2 internal prototype to avoid an error. */
20276 /* We use char because int might match the return type of a gcc2
20277 builtin and then its argument prototype would still apply. */
20287 rm -f conftest.$ac_objext conftest$ac_exeext
20288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20289 (eval $ac_link) 2>conftest.er1
20291 grep -v '^ *+' conftest.er1 >conftest.err
20293 cat conftest.err >&5
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); } &&
20296 { ac_try='test -z "$ac_c_werror_flag"
20297 || test ! -s conftest.err'
20298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20299 (eval $ac_try) 2>&5
20301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302 (exit $ac_status); }; } &&
20303 { ac_try='test -s conftest$ac_exeext'
20304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20305 (eval $ac_try) 2>&5
20307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308 (exit $ac_status); }; }; then
20309 ac_cv_lib_m_j0f=yes
20311 echo "$as_me: failed program was:" >&5
20312 sed 's/^/| /' conftest.$ac_ext >&5
20316 rm -f conftest.err conftest.$ac_objext \
20317 conftest$ac_exeext conftest.$ac_ext
20318 LIBS=$ac_check_lib_save_LIBS
20320 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
20321 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
20322 if test $ac_cv_lib_m_j0f = yes; then
20324 cat >>confdefs.h <<\_ACEOF
20330 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
20331 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
20332 if test "${ac_cv_lib_m_j0+set}" = set; then
20333 echo $ECHO_N "(cached) $ECHO_C" >&6
20335 ac_check_lib_save_LIBS=$LIBS
20337 if test x$gcc_no_link = xyes; then
20338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20340 { (exit 1); exit 1; }; }
20342 cat >conftest.$ac_ext <<_ACEOF
20345 cat confdefs.h >>conftest.$ac_ext
20346 cat >>conftest.$ac_ext <<_ACEOF
20347 /* end confdefs.h. */
20349 /* Override any gcc2 internal prototype to avoid an error. */
20353 /* We use char because int might match the return type of a gcc2
20354 builtin and then its argument prototype would still apply. */
20364 rm -f conftest.$ac_objext conftest$ac_exeext
20365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20366 (eval $ac_link) 2>conftest.er1
20368 grep -v '^ *+' conftest.er1 >conftest.err
20370 cat conftest.err >&5
20371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372 (exit $ac_status); } &&
20373 { ac_try='test -z "$ac_c_werror_flag"
20374 || test ! -s conftest.err'
20375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20376 (eval $ac_try) 2>&5
20378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20379 (exit $ac_status); }; } &&
20380 { ac_try='test -s conftest$ac_exeext'
20381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20382 (eval $ac_try) 2>&5
20384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20385 (exit $ac_status); }; }; then
20388 echo "$as_me: failed program was:" >&5
20389 sed 's/^/| /' conftest.$ac_ext >&5
20393 rm -f conftest.err conftest.$ac_objext \
20394 conftest$ac_exeext conftest.$ac_ext
20395 LIBS=$ac_check_lib_save_LIBS
20397 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
20398 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
20399 if test $ac_cv_lib_m_j0 = yes; then
20401 cat >>confdefs.h <<\_ACEOF
20407 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
20408 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
20409 if test "${ac_cv_lib_m_j0l+set}" = set; then
20410 echo $ECHO_N "(cached) $ECHO_C" >&6
20412 ac_check_lib_save_LIBS=$LIBS
20414 if test x$gcc_no_link = xyes; then
20415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20417 { (exit 1); exit 1; }; }
20419 cat >conftest.$ac_ext <<_ACEOF
20422 cat confdefs.h >>conftest.$ac_ext
20423 cat >>conftest.$ac_ext <<_ACEOF
20424 /* end confdefs.h. */
20426 /* Override any gcc2 internal prototype to avoid an error. */
20430 /* We use char because int might match the return type of a gcc2
20431 builtin and then its argument prototype would still apply. */
20441 rm -f conftest.$ac_objext conftest$ac_exeext
20442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20443 (eval $ac_link) 2>conftest.er1
20445 grep -v '^ *+' conftest.er1 >conftest.err
20447 cat conftest.err >&5
20448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); } &&
20450 { ac_try='test -z "$ac_c_werror_flag"
20451 || test ! -s conftest.err'
20452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20453 (eval $ac_try) 2>&5
20455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456 (exit $ac_status); }; } &&
20457 { ac_try='test -s conftest$ac_exeext'
20458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20459 (eval $ac_try) 2>&5
20461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462 (exit $ac_status); }; }; then
20463 ac_cv_lib_m_j0l=yes
20465 echo "$as_me: failed program was:" >&5
20466 sed 's/^/| /' conftest.$ac_ext >&5
20470 rm -f conftest.err conftest.$ac_objext \
20471 conftest$ac_exeext conftest.$ac_ext
20472 LIBS=$ac_check_lib_save_LIBS
20474 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
20475 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
20476 if test $ac_cv_lib_m_j0l = yes; then
20478 cat >>confdefs.h <<\_ACEOF
20484 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
20485 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
20486 if test "${ac_cv_lib_m_j1f+set}" = set; then
20487 echo $ECHO_N "(cached) $ECHO_C" >&6
20489 ac_check_lib_save_LIBS=$LIBS
20491 if test x$gcc_no_link = xyes; then
20492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20494 { (exit 1); exit 1; }; }
20496 cat >conftest.$ac_ext <<_ACEOF
20499 cat confdefs.h >>conftest.$ac_ext
20500 cat >>conftest.$ac_ext <<_ACEOF
20501 /* end confdefs.h. */
20503 /* Override any gcc2 internal prototype to avoid an error. */
20507 /* We use char because int might match the return type of a gcc2
20508 builtin and then its argument prototype would still apply. */
20518 rm -f conftest.$ac_objext conftest$ac_exeext
20519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20520 (eval $ac_link) 2>conftest.er1
20522 grep -v '^ *+' conftest.er1 >conftest.err
20524 cat conftest.err >&5
20525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20526 (exit $ac_status); } &&
20527 { ac_try='test -z "$ac_c_werror_flag"
20528 || test ! -s conftest.err'
20529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20530 (eval $ac_try) 2>&5
20532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); }; } &&
20534 { ac_try='test -s conftest$ac_exeext'
20535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20536 (eval $ac_try) 2>&5
20538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20539 (exit $ac_status); }; }; then
20540 ac_cv_lib_m_j1f=yes
20542 echo "$as_me: failed program was:" >&5
20543 sed 's/^/| /' conftest.$ac_ext >&5
20547 rm -f conftest.err conftest.$ac_objext \
20548 conftest$ac_exeext conftest.$ac_ext
20549 LIBS=$ac_check_lib_save_LIBS
20551 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
20552 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
20553 if test $ac_cv_lib_m_j1f = yes; then
20555 cat >>confdefs.h <<\_ACEOF
20561 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
20562 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
20563 if test "${ac_cv_lib_m_j1+set}" = set; then
20564 echo $ECHO_N "(cached) $ECHO_C" >&6
20566 ac_check_lib_save_LIBS=$LIBS
20568 if test x$gcc_no_link = xyes; then
20569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20571 { (exit 1); exit 1; }; }
20573 cat >conftest.$ac_ext <<_ACEOF
20576 cat confdefs.h >>conftest.$ac_ext
20577 cat >>conftest.$ac_ext <<_ACEOF
20578 /* end confdefs.h. */
20580 /* Override any gcc2 internal prototype to avoid an error. */
20584 /* We use char because int might match the return type of a gcc2
20585 builtin and then its argument prototype would still apply. */
20595 rm -f conftest.$ac_objext conftest$ac_exeext
20596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20597 (eval $ac_link) 2>conftest.er1
20599 grep -v '^ *+' conftest.er1 >conftest.err
20601 cat conftest.err >&5
20602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20603 (exit $ac_status); } &&
20604 { ac_try='test -z "$ac_c_werror_flag"
20605 || test ! -s conftest.err'
20606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20607 (eval $ac_try) 2>&5
20609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610 (exit $ac_status); }; } &&
20611 { ac_try='test -s conftest$ac_exeext'
20612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20613 (eval $ac_try) 2>&5
20615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20616 (exit $ac_status); }; }; then
20619 echo "$as_me: failed program was:" >&5
20620 sed 's/^/| /' conftest.$ac_ext >&5
20624 rm -f conftest.err conftest.$ac_objext \
20625 conftest$ac_exeext conftest.$ac_ext
20626 LIBS=$ac_check_lib_save_LIBS
20628 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
20629 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
20630 if test $ac_cv_lib_m_j1 = yes; then
20632 cat >>confdefs.h <<\_ACEOF
20638 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
20639 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
20640 if test "${ac_cv_lib_m_j1l+set}" = set; then
20641 echo $ECHO_N "(cached) $ECHO_C" >&6
20643 ac_check_lib_save_LIBS=$LIBS
20645 if test x$gcc_no_link = xyes; then
20646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20648 { (exit 1); exit 1; }; }
20650 cat >conftest.$ac_ext <<_ACEOF
20653 cat confdefs.h >>conftest.$ac_ext
20654 cat >>conftest.$ac_ext <<_ACEOF
20655 /* end confdefs.h. */
20657 /* Override any gcc2 internal prototype to avoid an error. */
20661 /* We use char because int might match the return type of a gcc2
20662 builtin and then its argument prototype would still apply. */
20672 rm -f conftest.$ac_objext conftest$ac_exeext
20673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20674 (eval $ac_link) 2>conftest.er1
20676 grep -v '^ *+' conftest.er1 >conftest.err
20678 cat conftest.err >&5
20679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20680 (exit $ac_status); } &&
20681 { ac_try='test -z "$ac_c_werror_flag"
20682 || test ! -s conftest.err'
20683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20684 (eval $ac_try) 2>&5
20686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20687 (exit $ac_status); }; } &&
20688 { ac_try='test -s conftest$ac_exeext'
20689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20690 (eval $ac_try) 2>&5
20692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20693 (exit $ac_status); }; }; then
20694 ac_cv_lib_m_j1l=yes
20696 echo "$as_me: failed program was:" >&5
20697 sed 's/^/| /' conftest.$ac_ext >&5
20701 rm -f conftest.err conftest.$ac_objext \
20702 conftest$ac_exeext conftest.$ac_ext
20703 LIBS=$ac_check_lib_save_LIBS
20705 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
20706 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
20707 if test $ac_cv_lib_m_j1l = yes; then
20709 cat >>confdefs.h <<\_ACEOF
20715 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
20716 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
20717 if test "${ac_cv_lib_m_jnf+set}" = set; then
20718 echo $ECHO_N "(cached) $ECHO_C" >&6
20720 ac_check_lib_save_LIBS=$LIBS
20722 if test x$gcc_no_link = xyes; then
20723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20725 { (exit 1); exit 1; }; }
20727 cat >conftest.$ac_ext <<_ACEOF
20730 cat confdefs.h >>conftest.$ac_ext
20731 cat >>conftest.$ac_ext <<_ACEOF
20732 /* end confdefs.h. */
20734 /* Override any gcc2 internal prototype to avoid an error. */
20738 /* We use char because int might match the return type of a gcc2
20739 builtin and then its argument prototype would still apply. */
20749 rm -f conftest.$ac_objext conftest$ac_exeext
20750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20751 (eval $ac_link) 2>conftest.er1
20753 grep -v '^ *+' conftest.er1 >conftest.err
20755 cat conftest.err >&5
20756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20757 (exit $ac_status); } &&
20758 { ac_try='test -z "$ac_c_werror_flag"
20759 || test ! -s conftest.err'
20760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20761 (eval $ac_try) 2>&5
20763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20764 (exit $ac_status); }; } &&
20765 { ac_try='test -s conftest$ac_exeext'
20766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20767 (eval $ac_try) 2>&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); }; }; then
20771 ac_cv_lib_m_jnf=yes
20773 echo "$as_me: failed program was:" >&5
20774 sed 's/^/| /' conftest.$ac_ext >&5
20778 rm -f conftest.err conftest.$ac_objext \
20779 conftest$ac_exeext conftest.$ac_ext
20780 LIBS=$ac_check_lib_save_LIBS
20782 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
20783 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
20784 if test $ac_cv_lib_m_jnf = yes; then
20786 cat >>confdefs.h <<\_ACEOF
20792 echo "$as_me:$LINENO: checking for jn in -lm" >&5
20793 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
20794 if test "${ac_cv_lib_m_jn+set}" = set; then
20795 echo $ECHO_N "(cached) $ECHO_C" >&6
20797 ac_check_lib_save_LIBS=$LIBS
20799 if test x$gcc_no_link = xyes; then
20800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20802 { (exit 1); exit 1; }; }
20804 cat >conftest.$ac_ext <<_ACEOF
20807 cat confdefs.h >>conftest.$ac_ext
20808 cat >>conftest.$ac_ext <<_ACEOF
20809 /* end confdefs.h. */
20811 /* Override any gcc2 internal prototype to avoid an error. */
20815 /* We use char because int might match the return type of a gcc2
20816 builtin and then its argument prototype would still apply. */
20826 rm -f conftest.$ac_objext conftest$ac_exeext
20827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20828 (eval $ac_link) 2>conftest.er1
20830 grep -v '^ *+' conftest.er1 >conftest.err
20832 cat conftest.err >&5
20833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20834 (exit $ac_status); } &&
20835 { ac_try='test -z "$ac_c_werror_flag"
20836 || test ! -s conftest.err'
20837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20838 (eval $ac_try) 2>&5
20840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20841 (exit $ac_status); }; } &&
20842 { ac_try='test -s conftest$ac_exeext'
20843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20844 (eval $ac_try) 2>&5
20846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20847 (exit $ac_status); }; }; then
20850 echo "$as_me: failed program was:" >&5
20851 sed 's/^/| /' conftest.$ac_ext >&5
20855 rm -f conftest.err conftest.$ac_objext \
20856 conftest$ac_exeext conftest.$ac_ext
20857 LIBS=$ac_check_lib_save_LIBS
20859 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
20860 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
20861 if test $ac_cv_lib_m_jn = yes; then
20863 cat >>confdefs.h <<\_ACEOF
20869 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
20870 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
20871 if test "${ac_cv_lib_m_jnl+set}" = set; then
20872 echo $ECHO_N "(cached) $ECHO_C" >&6
20874 ac_check_lib_save_LIBS=$LIBS
20876 if test x$gcc_no_link = xyes; then
20877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20879 { (exit 1); exit 1; }; }
20881 cat >conftest.$ac_ext <<_ACEOF
20884 cat confdefs.h >>conftest.$ac_ext
20885 cat >>conftest.$ac_ext <<_ACEOF
20886 /* end confdefs.h. */
20888 /* Override any gcc2 internal prototype to avoid an error. */
20892 /* We use char because int might match the return type of a gcc2
20893 builtin and then its argument prototype would still apply. */
20903 rm -f conftest.$ac_objext conftest$ac_exeext
20904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20905 (eval $ac_link) 2>conftest.er1
20907 grep -v '^ *+' conftest.er1 >conftest.err
20909 cat conftest.err >&5
20910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20911 (exit $ac_status); } &&
20912 { ac_try='test -z "$ac_c_werror_flag"
20913 || test ! -s conftest.err'
20914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20915 (eval $ac_try) 2>&5
20917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20918 (exit $ac_status); }; } &&
20919 { ac_try='test -s conftest$ac_exeext'
20920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20921 (eval $ac_try) 2>&5
20923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20924 (exit $ac_status); }; }; then
20925 ac_cv_lib_m_jnl=yes
20927 echo "$as_me: failed program was:" >&5
20928 sed 's/^/| /' conftest.$ac_ext >&5
20932 rm -f conftest.err conftest.$ac_objext \
20933 conftest$ac_exeext conftest.$ac_ext
20934 LIBS=$ac_check_lib_save_LIBS
20936 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
20937 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
20938 if test $ac_cv_lib_m_jnl = yes; then
20940 cat >>confdefs.h <<\_ACEOF
20946 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
20947 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
20948 if test "${ac_cv_lib_m_y0f+set}" = set; then
20949 echo $ECHO_N "(cached) $ECHO_C" >&6
20951 ac_check_lib_save_LIBS=$LIBS
20953 if test x$gcc_no_link = xyes; then
20954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20956 { (exit 1); exit 1; }; }
20958 cat >conftest.$ac_ext <<_ACEOF
20961 cat confdefs.h >>conftest.$ac_ext
20962 cat >>conftest.$ac_ext <<_ACEOF
20963 /* end confdefs.h. */
20965 /* Override any gcc2 internal prototype to avoid an error. */
20969 /* We use char because int might match the return type of a gcc2
20970 builtin and then its argument prototype would still apply. */
20980 rm -f conftest.$ac_objext conftest$ac_exeext
20981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20982 (eval $ac_link) 2>conftest.er1
20984 grep -v '^ *+' conftest.er1 >conftest.err
20986 cat conftest.err >&5
20987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20988 (exit $ac_status); } &&
20989 { ac_try='test -z "$ac_c_werror_flag"
20990 || test ! -s conftest.err'
20991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20992 (eval $ac_try) 2>&5
20994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20995 (exit $ac_status); }; } &&
20996 { ac_try='test -s conftest$ac_exeext'
20997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20998 (eval $ac_try) 2>&5
21000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21001 (exit $ac_status); }; }; then
21002 ac_cv_lib_m_y0f=yes
21004 echo "$as_me: failed program was:" >&5
21005 sed 's/^/| /' conftest.$ac_ext >&5
21009 rm -f conftest.err conftest.$ac_objext \
21010 conftest$ac_exeext conftest.$ac_ext
21011 LIBS=$ac_check_lib_save_LIBS
21013 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
21014 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
21015 if test $ac_cv_lib_m_y0f = yes; then
21017 cat >>confdefs.h <<\_ACEOF
21023 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
21024 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
21025 if test "${ac_cv_lib_m_y0+set}" = set; then
21026 echo $ECHO_N "(cached) $ECHO_C" >&6
21028 ac_check_lib_save_LIBS=$LIBS
21030 if test x$gcc_no_link = xyes; then
21031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21033 { (exit 1); exit 1; }; }
21035 cat >conftest.$ac_ext <<_ACEOF
21038 cat confdefs.h >>conftest.$ac_ext
21039 cat >>conftest.$ac_ext <<_ACEOF
21040 /* end confdefs.h. */
21042 /* Override any gcc2 internal prototype to avoid an error. */
21046 /* We use char because int might match the return type of a gcc2
21047 builtin and then its argument prototype would still apply. */
21057 rm -f conftest.$ac_objext conftest$ac_exeext
21058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21059 (eval $ac_link) 2>conftest.er1
21061 grep -v '^ *+' conftest.er1 >conftest.err
21063 cat conftest.err >&5
21064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21065 (exit $ac_status); } &&
21066 { ac_try='test -z "$ac_c_werror_flag"
21067 || test ! -s conftest.err'
21068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21069 (eval $ac_try) 2>&5
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); }; } &&
21073 { ac_try='test -s conftest$ac_exeext'
21074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21075 (eval $ac_try) 2>&5
21077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21078 (exit $ac_status); }; }; then
21081 echo "$as_me: failed program was:" >&5
21082 sed 's/^/| /' conftest.$ac_ext >&5
21086 rm -f conftest.err conftest.$ac_objext \
21087 conftest$ac_exeext conftest.$ac_ext
21088 LIBS=$ac_check_lib_save_LIBS
21090 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
21091 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
21092 if test $ac_cv_lib_m_y0 = yes; then
21094 cat >>confdefs.h <<\_ACEOF
21100 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
21101 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
21102 if test "${ac_cv_lib_m_y0l+set}" = set; then
21103 echo $ECHO_N "(cached) $ECHO_C" >&6
21105 ac_check_lib_save_LIBS=$LIBS
21107 if test x$gcc_no_link = xyes; then
21108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21110 { (exit 1); exit 1; }; }
21112 cat >conftest.$ac_ext <<_ACEOF
21115 cat confdefs.h >>conftest.$ac_ext
21116 cat >>conftest.$ac_ext <<_ACEOF
21117 /* end confdefs.h. */
21119 /* Override any gcc2 internal prototype to avoid an error. */
21123 /* We use char because int might match the return type of a gcc2
21124 builtin and then its argument prototype would still apply. */
21134 rm -f conftest.$ac_objext conftest$ac_exeext
21135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21136 (eval $ac_link) 2>conftest.er1
21138 grep -v '^ *+' conftest.er1 >conftest.err
21140 cat conftest.err >&5
21141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142 (exit $ac_status); } &&
21143 { ac_try='test -z "$ac_c_werror_flag"
21144 || test ! -s conftest.err'
21145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21146 (eval $ac_try) 2>&5
21148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21149 (exit $ac_status); }; } &&
21150 { ac_try='test -s conftest$ac_exeext'
21151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21152 (eval $ac_try) 2>&5
21154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21155 (exit $ac_status); }; }; then
21156 ac_cv_lib_m_y0l=yes
21158 echo "$as_me: failed program was:" >&5
21159 sed 's/^/| /' conftest.$ac_ext >&5
21163 rm -f conftest.err conftest.$ac_objext \
21164 conftest$ac_exeext conftest.$ac_ext
21165 LIBS=$ac_check_lib_save_LIBS
21167 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
21168 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
21169 if test $ac_cv_lib_m_y0l = yes; then
21171 cat >>confdefs.h <<\_ACEOF
21177 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
21178 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
21179 if test "${ac_cv_lib_m_y1f+set}" = set; then
21180 echo $ECHO_N "(cached) $ECHO_C" >&6
21182 ac_check_lib_save_LIBS=$LIBS
21184 if test x$gcc_no_link = xyes; then
21185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21187 { (exit 1); exit 1; }; }
21189 cat >conftest.$ac_ext <<_ACEOF
21192 cat confdefs.h >>conftest.$ac_ext
21193 cat >>conftest.$ac_ext <<_ACEOF
21194 /* end confdefs.h. */
21196 /* Override any gcc2 internal prototype to avoid an error. */
21200 /* We use char because int might match the return type of a gcc2
21201 builtin and then its argument prototype would still apply. */
21211 rm -f conftest.$ac_objext conftest$ac_exeext
21212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21213 (eval $ac_link) 2>conftest.er1
21215 grep -v '^ *+' conftest.er1 >conftest.err
21217 cat conftest.err >&5
21218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21219 (exit $ac_status); } &&
21220 { ac_try='test -z "$ac_c_werror_flag"
21221 || test ! -s conftest.err'
21222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21223 (eval $ac_try) 2>&5
21225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21226 (exit $ac_status); }; } &&
21227 { ac_try='test -s conftest$ac_exeext'
21228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21229 (eval $ac_try) 2>&5
21231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21232 (exit $ac_status); }; }; then
21233 ac_cv_lib_m_y1f=yes
21235 echo "$as_me: failed program was:" >&5
21236 sed 's/^/| /' conftest.$ac_ext >&5
21240 rm -f conftest.err conftest.$ac_objext \
21241 conftest$ac_exeext conftest.$ac_ext
21242 LIBS=$ac_check_lib_save_LIBS
21244 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
21245 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
21246 if test $ac_cv_lib_m_y1f = yes; then
21248 cat >>confdefs.h <<\_ACEOF
21254 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
21255 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
21256 if test "${ac_cv_lib_m_y1+set}" = set; then
21257 echo $ECHO_N "(cached) $ECHO_C" >&6
21259 ac_check_lib_save_LIBS=$LIBS
21261 if test x$gcc_no_link = xyes; then
21262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21264 { (exit 1); exit 1; }; }
21266 cat >conftest.$ac_ext <<_ACEOF
21269 cat confdefs.h >>conftest.$ac_ext
21270 cat >>conftest.$ac_ext <<_ACEOF
21271 /* end confdefs.h. */
21273 /* Override any gcc2 internal prototype to avoid an error. */
21277 /* We use char because int might match the return type of a gcc2
21278 builtin and then its argument prototype would still apply. */
21288 rm -f conftest.$ac_objext conftest$ac_exeext
21289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21290 (eval $ac_link) 2>conftest.er1
21292 grep -v '^ *+' conftest.er1 >conftest.err
21294 cat conftest.err >&5
21295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21296 (exit $ac_status); } &&
21297 { ac_try='test -z "$ac_c_werror_flag"
21298 || test ! -s conftest.err'
21299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21300 (eval $ac_try) 2>&5
21302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21303 (exit $ac_status); }; } &&
21304 { ac_try='test -s conftest$ac_exeext'
21305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21306 (eval $ac_try) 2>&5
21308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21309 (exit $ac_status); }; }; then
21312 echo "$as_me: failed program was:" >&5
21313 sed 's/^/| /' conftest.$ac_ext >&5
21317 rm -f conftest.err conftest.$ac_objext \
21318 conftest$ac_exeext conftest.$ac_ext
21319 LIBS=$ac_check_lib_save_LIBS
21321 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
21322 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
21323 if test $ac_cv_lib_m_y1 = yes; then
21325 cat >>confdefs.h <<\_ACEOF
21331 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
21332 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
21333 if test "${ac_cv_lib_m_y1l+set}" = set; then
21334 echo $ECHO_N "(cached) $ECHO_C" >&6
21336 ac_check_lib_save_LIBS=$LIBS
21338 if test x$gcc_no_link = xyes; then
21339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21341 { (exit 1); exit 1; }; }
21343 cat >conftest.$ac_ext <<_ACEOF
21346 cat confdefs.h >>conftest.$ac_ext
21347 cat >>conftest.$ac_ext <<_ACEOF
21348 /* end confdefs.h. */
21350 /* Override any gcc2 internal prototype to avoid an error. */
21354 /* We use char because int might match the return type of a gcc2
21355 builtin and then its argument prototype would still apply. */
21365 rm -f conftest.$ac_objext conftest$ac_exeext
21366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21367 (eval $ac_link) 2>conftest.er1
21369 grep -v '^ *+' conftest.er1 >conftest.err
21371 cat conftest.err >&5
21372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21373 (exit $ac_status); } &&
21374 { ac_try='test -z "$ac_c_werror_flag"
21375 || test ! -s conftest.err'
21376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21377 (eval $ac_try) 2>&5
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); }; } &&
21381 { ac_try='test -s conftest$ac_exeext'
21382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21383 (eval $ac_try) 2>&5
21385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21386 (exit $ac_status); }; }; then
21387 ac_cv_lib_m_y1l=yes
21389 echo "$as_me: failed program was:" >&5
21390 sed 's/^/| /' conftest.$ac_ext >&5
21394 rm -f conftest.err conftest.$ac_objext \
21395 conftest$ac_exeext conftest.$ac_ext
21396 LIBS=$ac_check_lib_save_LIBS
21398 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
21399 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
21400 if test $ac_cv_lib_m_y1l = yes; then
21402 cat >>confdefs.h <<\_ACEOF
21408 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
21409 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
21410 if test "${ac_cv_lib_m_ynf+set}" = set; then
21411 echo $ECHO_N "(cached) $ECHO_C" >&6
21413 ac_check_lib_save_LIBS=$LIBS
21415 if test x$gcc_no_link = xyes; then
21416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21418 { (exit 1); exit 1; }; }
21420 cat >conftest.$ac_ext <<_ACEOF
21423 cat confdefs.h >>conftest.$ac_ext
21424 cat >>conftest.$ac_ext <<_ACEOF
21425 /* end confdefs.h. */
21427 /* Override any gcc2 internal prototype to avoid an error. */
21431 /* We use char because int might match the return type of a gcc2
21432 builtin and then its argument prototype would still apply. */
21442 rm -f conftest.$ac_objext conftest$ac_exeext
21443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21444 (eval $ac_link) 2>conftest.er1
21446 grep -v '^ *+' conftest.er1 >conftest.err
21448 cat conftest.err >&5
21449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21450 (exit $ac_status); } &&
21451 { ac_try='test -z "$ac_c_werror_flag"
21452 || test ! -s conftest.err'
21453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21454 (eval $ac_try) 2>&5
21456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21457 (exit $ac_status); }; } &&
21458 { ac_try='test -s conftest$ac_exeext'
21459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21460 (eval $ac_try) 2>&5
21462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21463 (exit $ac_status); }; }; then
21464 ac_cv_lib_m_ynf=yes
21466 echo "$as_me: failed program was:" >&5
21467 sed 's/^/| /' conftest.$ac_ext >&5
21471 rm -f conftest.err conftest.$ac_objext \
21472 conftest$ac_exeext conftest.$ac_ext
21473 LIBS=$ac_check_lib_save_LIBS
21475 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
21476 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
21477 if test $ac_cv_lib_m_ynf = yes; then
21479 cat >>confdefs.h <<\_ACEOF
21485 echo "$as_me:$LINENO: checking for yn in -lm" >&5
21486 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
21487 if test "${ac_cv_lib_m_yn+set}" = set; then
21488 echo $ECHO_N "(cached) $ECHO_C" >&6
21490 ac_check_lib_save_LIBS=$LIBS
21492 if test x$gcc_no_link = xyes; then
21493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21495 { (exit 1); exit 1; }; }
21497 cat >conftest.$ac_ext <<_ACEOF
21500 cat confdefs.h >>conftest.$ac_ext
21501 cat >>conftest.$ac_ext <<_ACEOF
21502 /* end confdefs.h. */
21504 /* Override any gcc2 internal prototype to avoid an error. */
21508 /* We use char because int might match the return type of a gcc2
21509 builtin and then its argument prototype would still apply. */
21519 rm -f conftest.$ac_objext conftest$ac_exeext
21520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21521 (eval $ac_link) 2>conftest.er1
21523 grep -v '^ *+' conftest.er1 >conftest.err
21525 cat conftest.err >&5
21526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21527 (exit $ac_status); } &&
21528 { ac_try='test -z "$ac_c_werror_flag"
21529 || test ! -s conftest.err'
21530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21531 (eval $ac_try) 2>&5
21533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21534 (exit $ac_status); }; } &&
21535 { ac_try='test -s conftest$ac_exeext'
21536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21537 (eval $ac_try) 2>&5
21539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21540 (exit $ac_status); }; }; then
21543 echo "$as_me: failed program was:" >&5
21544 sed 's/^/| /' conftest.$ac_ext >&5
21548 rm -f conftest.err conftest.$ac_objext \
21549 conftest$ac_exeext conftest.$ac_ext
21550 LIBS=$ac_check_lib_save_LIBS
21552 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
21553 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
21554 if test $ac_cv_lib_m_yn = yes; then
21556 cat >>confdefs.h <<\_ACEOF
21562 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
21563 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
21564 if test "${ac_cv_lib_m_ynl+set}" = set; then
21565 echo $ECHO_N "(cached) $ECHO_C" >&6
21567 ac_check_lib_save_LIBS=$LIBS
21569 if test x$gcc_no_link = xyes; then
21570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21572 { (exit 1); exit 1; }; }
21574 cat >conftest.$ac_ext <<_ACEOF
21577 cat confdefs.h >>conftest.$ac_ext
21578 cat >>conftest.$ac_ext <<_ACEOF
21579 /* end confdefs.h. */
21581 /* Override any gcc2 internal prototype to avoid an error. */
21585 /* We use char because int might match the return type of a gcc2
21586 builtin and then its argument prototype would still apply. */
21596 rm -f conftest.$ac_objext conftest$ac_exeext
21597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21598 (eval $ac_link) 2>conftest.er1
21600 grep -v '^ *+' conftest.er1 >conftest.err
21602 cat conftest.err >&5
21603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604 (exit $ac_status); } &&
21605 { ac_try='test -z "$ac_c_werror_flag"
21606 || test ! -s conftest.err'
21607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21608 (eval $ac_try) 2>&5
21610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21611 (exit $ac_status); }; } &&
21612 { ac_try='test -s conftest$ac_exeext'
21613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21614 (eval $ac_try) 2>&5
21616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21617 (exit $ac_status); }; }; then
21618 ac_cv_lib_m_ynl=yes
21620 echo "$as_me: failed program was:" >&5
21621 sed 's/^/| /' conftest.$ac_ext >&5
21625 rm -f conftest.err conftest.$ac_objext \
21626 conftest$ac_exeext conftest.$ac_ext
21627 LIBS=$ac_check_lib_save_LIBS
21629 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
21630 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
21631 if test $ac_cv_lib_m_ynl = yes; then
21633 cat >>confdefs.h <<\_ACEOF
21640 # On AIX, clog is present in libm as __clog
21641 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
21642 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
21643 if test "${ac_cv_lib_m___clog+set}" = set; then
21644 echo $ECHO_N "(cached) $ECHO_C" >&6
21646 ac_check_lib_save_LIBS=$LIBS
21648 if test x$gcc_no_link = xyes; then
21649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21651 { (exit 1); exit 1; }; }
21653 cat >conftest.$ac_ext <<_ACEOF
21656 cat confdefs.h >>conftest.$ac_ext
21657 cat >>conftest.$ac_ext <<_ACEOF
21658 /* end confdefs.h. */
21660 /* Override any gcc2 internal prototype to avoid an error. */
21664 /* We use char because int might match the return type of a gcc2
21665 builtin and then its argument prototype would still apply. */
21675 rm -f conftest.$ac_objext conftest$ac_exeext
21676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21677 (eval $ac_link) 2>conftest.er1
21679 grep -v '^ *+' conftest.er1 >conftest.err
21681 cat conftest.err >&5
21682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21683 (exit $ac_status); } &&
21684 { ac_try='test -z "$ac_c_werror_flag"
21685 || test ! -s conftest.err'
21686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21687 (eval $ac_try) 2>&5
21689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21690 (exit $ac_status); }; } &&
21691 { ac_try='test -s conftest$ac_exeext'
21692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21693 (eval $ac_try) 2>&5
21695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21696 (exit $ac_status); }; }; then
21697 ac_cv_lib_m___clog=yes
21699 echo "$as_me: failed program was:" >&5
21700 sed 's/^/| /' conftest.$ac_ext >&5
21702 ac_cv_lib_m___clog=no
21704 rm -f conftest.err conftest.$ac_objext \
21705 conftest$ac_exeext conftest.$ac_ext
21706 LIBS=$ac_check_lib_save_LIBS
21708 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
21709 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
21710 if test $ac_cv_lib_m___clog = yes; then
21712 cat >>confdefs.h <<\_ACEOF
21713 #define HAVE_CLOG 1
21719 # Check for a isfinite macro that works on long doubles.
21721 echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
21722 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
21723 if test "${have_broken_isfinite+set}" = set; then
21724 echo $ECHO_N "(cached) $ECHO_C" >&6
21727 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
21729 if test "$cross_compiling" = yes; then
21731 case "${target}" in
21732 hppa*-*-hpux*) have_broken_isfinite=yes ;;
21733 *) have_broken_isfinite=no ;;
21736 cat >conftest.$ac_ext <<_ACEOF
21739 cat confdefs.h >>conftest.$ac_ext
21740 cat >>conftest.$ac_ext <<_ACEOF
21741 /* end confdefs.h. */
21751 if (!isfinite(LDBL_MAX)) return 1;
21754 if (!isfinite(DBL_MAX)) return 1;
21760 rm -f conftest$ac_exeext
21761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21762 (eval $ac_link) 2>&5
21764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21765 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21767 (eval $ac_try) 2>&5
21769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21770 (exit $ac_status); }; }; then
21771 have_broken_isfinite=no
21773 echo "$as_me: program exited with status $ac_status" >&5
21774 echo "$as_me: failed program was:" >&5
21775 sed 's/^/| /' conftest.$ac_ext >&5
21777 ( exit $ac_status )
21778 have_broken_isfinite=yes
21780 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21782 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
21784 echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
21785 echo "${ECHO_T}$have_broken_isfinite" >&6
21786 if test x"$have_broken_isfinite" = xyes; then
21788 cat >>confdefs.h <<\_ACEOF
21789 #define HAVE_BROKEN_ISFINITE 1
21794 # Check for a isnan macro that works on long doubles.
21796 echo "$as_me:$LINENO: checking whether isnan is broken" >&5
21797 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
21798 if test "${have_broken_isnan+set}" = set; then
21799 echo $ECHO_N "(cached) $ECHO_C" >&6
21802 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
21804 if test "$cross_compiling" = yes; then
21806 case "${target}" in
21807 hppa*-*-hpux*) have_broken_isnan=yes ;;
21808 *) have_broken_isnan=no ;;
21811 cat >conftest.$ac_ext <<_ACEOF
21814 cat confdefs.h >>conftest.$ac_ext
21815 cat >>conftest.$ac_ext <<_ACEOF
21816 /* end confdefs.h. */
21828 x = __builtin_nanl ("");
21829 if (!isnan(x)) return 1;
21830 if (isnan(LDBL_MAX)) return 1;
21832 x = (long double) NAN;
21833 if (!isnan(x)) return 1;
21840 y = __builtin_nan ("");
21841 if (!isnan(y)) return 1;
21842 if (isnan(DBL_MAX)) return 1;
21845 if (!isnan(y)) return 1;
21853 rm -f conftest$ac_exeext
21854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21855 (eval $ac_link) 2>&5
21857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21858 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21860 (eval $ac_try) 2>&5
21862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21863 (exit $ac_status); }; }; then
21864 have_broken_isnan=no
21866 echo "$as_me: program exited with status $ac_status" >&5
21867 echo "$as_me: failed program was:" >&5
21868 sed 's/^/| /' conftest.$ac_ext >&5
21870 ( exit $ac_status )
21871 have_broken_isnan=yes
21873 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21875 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
21877 echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
21878 echo "${ECHO_T}$have_broken_isnan" >&6
21879 if test x"$have_broken_isnan" = xyes; then
21881 cat >>confdefs.h <<\_ACEOF
21882 #define HAVE_BROKEN_ISNAN 1
21887 # Check for a fpclassify macro that works on long doubles.
21889 echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
21890 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
21891 if test "${have_broken_fpclassify+set}" = set; then
21892 echo $ECHO_N "(cached) $ECHO_C" >&6
21895 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
21897 if test "$cross_compiling" = yes; then
21899 case "${target}" in
21900 hppa*-*-hpux*) have_broken_fpclassify=yes ;;
21901 *) have_broken_fpclassify=no ;;
21904 cat >conftest.$ac_ext <<_ACEOF
21907 cat confdefs.h >>conftest.$ac_ext
21908 cat >>conftest.$ac_ext <<_ACEOF
21909 /* end confdefs.h. */
21919 if (fpclassify(LDBL_MAX) == FP_NAN
21920 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
21923 if (fpclassify(DBL_MAX) == FP_NAN
21924 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
21930 rm -f conftest$ac_exeext
21931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21932 (eval $ac_link) 2>&5
21934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21935 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21937 (eval $ac_try) 2>&5
21939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21940 (exit $ac_status); }; }; then
21941 have_broken_fpclassify=no
21943 echo "$as_me: program exited with status $ac_status" >&5
21944 echo "$as_me: failed program was:" >&5
21945 sed 's/^/| /' conftest.$ac_ext >&5
21947 ( exit $ac_status )
21948 have_broken_fpclassify=yes
21950 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21952 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
21954 echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
21955 echo "${ECHO_T}$have_broken_fpclassify" >&6
21956 if test x"$have_broken_fpclassify" = xyes; then
21958 cat >>confdefs.h <<\_ACEOF
21959 #define HAVE_BROKEN_FPCLASSIFY 1
21964 # Check whether the system has a working stat()
21966 echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
21967 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
21968 if test "${have_working_stat+set}" = set; then
21969 echo $ECHO_N "(cached) $ECHO_C" >&6
21972 if test "$cross_compiling" = yes; then
21974 case "${target}" in
21975 *mingw*) have_working_stat=no ;;
21976 *) have_working_stat=yes;;
21979 cat >conftest.$ac_ext <<_ACEOF
21982 cat confdefs.h >>conftest.$ac_ext
21983 cat >>conftest.$ac_ext <<_ACEOF
21984 /* end confdefs.h. */
21987 #include <sys/types.h>
21988 #include <sys/stat.h>
21989 #include <unistd.h>
21994 struct stat st1, st2;
21996 f = fopen ("foo", "w");
21997 g = fopen ("bar", "w");
21998 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
22000 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
22007 rm -f conftest$ac_exeext
22008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22009 (eval $ac_link) 2>&5
22011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22012 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22014 (eval $ac_try) 2>&5
22016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22017 (exit $ac_status); }; }; then
22018 have_working_stat=yes
22020 echo "$as_me: program exited with status $ac_status" >&5
22021 echo "$as_me: failed program was:" >&5
22022 sed 's/^/| /' conftest.$ac_ext >&5
22024 ( exit $ac_status )
22025 have_working_stat=no
22027 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22030 echo "$as_me:$LINENO: result: $have_working_stat" >&5
22031 echo "${ECHO_T}$have_working_stat" >&6
22032 if test x"$have_working_stat" = xyes; then
22034 cat >>confdefs.h <<\_ACEOF
22035 #define HAVE_WORKING_STAT 1
22040 # Fallback in case isfinite is not available.
22041 echo "$as_me:$LINENO: checking for finite in -lm" >&5
22042 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
22043 if test "${ac_cv_lib_m_finite+set}" = set; then
22044 echo $ECHO_N "(cached) $ECHO_C" >&6
22046 ac_check_lib_save_LIBS=$LIBS
22048 if test x$gcc_no_link = xyes; then
22049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22051 { (exit 1); exit 1; }; }
22053 cat >conftest.$ac_ext <<_ACEOF
22056 cat confdefs.h >>conftest.$ac_ext
22057 cat >>conftest.$ac_ext <<_ACEOF
22058 /* end confdefs.h. */
22060 /* Override any gcc2 internal prototype to avoid an error. */
22064 /* We use char because int might match the return type of a gcc2
22065 builtin and then its argument prototype would still apply. */
22075 rm -f conftest.$ac_objext conftest$ac_exeext
22076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22077 (eval $ac_link) 2>conftest.er1
22079 grep -v '^ *+' conftest.er1 >conftest.err
22081 cat conftest.err >&5
22082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083 (exit $ac_status); } &&
22084 { ac_try='test -z "$ac_c_werror_flag"
22085 || test ! -s conftest.err'
22086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22087 (eval $ac_try) 2>&5
22089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22090 (exit $ac_status); }; } &&
22091 { ac_try='test -s conftest$ac_exeext'
22092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22093 (eval $ac_try) 2>&5
22095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096 (exit $ac_status); }; }; then
22097 ac_cv_lib_m_finite=yes
22099 echo "$as_me: failed program was:" >&5
22100 sed 's/^/| /' conftest.$ac_ext >&5
22102 ac_cv_lib_m_finite=no
22104 rm -f conftest.err conftest.$ac_objext \
22105 conftest$ac_exeext conftest.$ac_ext
22106 LIBS=$ac_check_lib_save_LIBS
22108 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
22109 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
22110 if test $ac_cv_lib_m_finite = yes; then
22112 cat >>confdefs.h <<\_ACEOF
22113 #define HAVE_FINITE 1
22119 # Check for GNU libc feenableexcept
22120 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
22121 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
22122 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
22123 echo $ECHO_N "(cached) $ECHO_C" >&6
22125 ac_check_lib_save_LIBS=$LIBS
22127 if test x$gcc_no_link = xyes; then
22128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22130 { (exit 1); exit 1; }; }
22132 cat >conftest.$ac_ext <<_ACEOF
22135 cat confdefs.h >>conftest.$ac_ext
22136 cat >>conftest.$ac_ext <<_ACEOF
22137 /* end confdefs.h. */
22139 /* Override any gcc2 internal prototype to avoid an error. */
22143 /* We use char because int might match the return type of a gcc2
22144 builtin and then its argument prototype would still apply. */
22145 char feenableexcept ();
22154 rm -f conftest.$ac_objext conftest$ac_exeext
22155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22156 (eval $ac_link) 2>conftest.er1
22158 grep -v '^ *+' conftest.er1 >conftest.err
22160 cat conftest.err >&5
22161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22162 (exit $ac_status); } &&
22163 { ac_try='test -z "$ac_c_werror_flag"
22164 || test ! -s conftest.err'
22165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22166 (eval $ac_try) 2>&5
22168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22169 (exit $ac_status); }; } &&
22170 { ac_try='test -s conftest$ac_exeext'
22171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22172 (eval $ac_try) 2>&5
22174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22175 (exit $ac_status); }; }; then
22176 ac_cv_lib_m_feenableexcept=yes
22178 echo "$as_me: failed program was:" >&5
22179 sed 's/^/| /' conftest.$ac_ext >&5
22181 ac_cv_lib_m_feenableexcept=no
22183 rm -f conftest.err conftest.$ac_objext \
22184 conftest$ac_exeext conftest.$ac_ext
22185 LIBS=$ac_check_lib_save_LIBS
22187 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
22188 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
22189 if test $ac_cv_lib_m_feenableexcept = yes; then
22190 have_feenableexcept=yes
22191 cat >>confdefs.h <<\_ACEOF
22192 #define HAVE_FEENABLEEXCEPT 1
22198 # Check for SysV fpsetmask
22200 echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
22201 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
22202 if test "${have_fpsetmask+set}" = set; then
22203 echo $ECHO_N "(cached) $ECHO_C" >&6
22206 if test x$gcc_no_link = xyes; then
22207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22209 { (exit 1); exit 1; }; }
22211 cat >conftest.$ac_ext <<_ACEOF
22214 cat confdefs.h >>conftest.$ac_ext
22215 cat >>conftest.$ac_ext <<_ACEOF
22216 /* end confdefs.h. */
22218 #if HAVE_FLOATINGPOINT_H
22219 # include <floatingpoint.h>
22220 #endif /* HAVE_FLOATINGPOINT_H */
22222 # include <ieeefp.h>
22223 #endif /* HAVE_IEEEFP_H */
22232 rm -f conftest.$ac_objext conftest$ac_exeext
22233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22234 (eval $ac_link) 2>conftest.er1
22236 grep -v '^ *+' conftest.er1 >conftest.err
22238 cat conftest.err >&5
22239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240 (exit $ac_status); } &&
22241 { ac_try='test -z "$ac_c_werror_flag"
22242 || test ! -s conftest.err'
22243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22244 (eval $ac_try) 2>&5
22246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22247 (exit $ac_status); }; } &&
22248 { ac_try='test -s conftest$ac_exeext'
22249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22250 (eval $ac_try) 2>&5
22252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22253 (exit $ac_status); }; }; then
22254 eval "have_fpsetmask=yes"
22256 echo "$as_me: failed program was:" >&5
22257 sed 's/^/| /' conftest.$ac_ext >&5
22259 eval "have_fpsetmask=no"
22261 rm -f conftest.err conftest.$ac_objext \
22262 conftest$ac_exeext conftest.$ac_ext
22265 echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
22266 echo "${ECHO_T}$have_fpsetmask" >&6
22267 if test x"$have_fpsetmask" = xyes; then
22269 cat >>confdefs.h <<\_ACEOF
22270 #define HAVE_FPSETMASK 1
22276 # Check for AIX fp_trap and fp_enable
22277 echo "$as_me:$LINENO: checking for fp_trap" >&5
22278 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
22279 if test "${ac_cv_func_fp_trap+set}" = set; then
22280 echo $ECHO_N "(cached) $ECHO_C" >&6
22282 if test x$gcc_no_link = xyes; then
22283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22285 { (exit 1); exit 1; }; }
22287 cat >conftest.$ac_ext <<_ACEOF
22290 cat confdefs.h >>conftest.$ac_ext
22291 cat >>conftest.$ac_ext <<_ACEOF
22292 /* end confdefs.h. */
22293 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
22294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22295 #define fp_trap innocuous_fp_trap
22297 /* System header to define __stub macros and hopefully few prototypes,
22298 which can conflict with char fp_trap (); below.
22299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22300 <limits.h> exists even on freestanding compilers. */
22303 # include <limits.h>
22305 # include <assert.h>
22310 /* Override any gcc2 internal prototype to avoid an error. */
22315 /* We use char because int might match the return type of a gcc2
22316 builtin and then its argument prototype would still apply. */
22318 /* The GNU C library defines this for functions which it implements
22319 to always fail with ENOSYS. Some functions are actually named
22320 something starting with __ and the normal name is an alias. */
22321 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
22324 char (*f) () = fp_trap;
22333 return f != fp_trap;
22338 rm -f conftest.$ac_objext conftest$ac_exeext
22339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22340 (eval $ac_link) 2>conftest.er1
22342 grep -v '^ *+' conftest.er1 >conftest.err
22344 cat conftest.err >&5
22345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346 (exit $ac_status); } &&
22347 { ac_try='test -z "$ac_c_werror_flag"
22348 || test ! -s conftest.err'
22349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22350 (eval $ac_try) 2>&5
22352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22353 (exit $ac_status); }; } &&
22354 { ac_try='test -s conftest$ac_exeext'
22355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22356 (eval $ac_try) 2>&5
22358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22359 (exit $ac_status); }; }; then
22360 ac_cv_func_fp_trap=yes
22362 echo "$as_me: failed program was:" >&5
22363 sed 's/^/| /' conftest.$ac_ext >&5
22365 ac_cv_func_fp_trap=no
22367 rm -f conftest.err conftest.$ac_objext \
22368 conftest$ac_exeext conftest.$ac_ext
22370 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
22371 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
22372 if test $ac_cv_func_fp_trap = yes; then
22374 cat >>confdefs.h <<\_ACEOF
22375 #define HAVE_FP_TRAP 1
22380 echo "$as_me:$LINENO: checking for fp_enable" >&5
22381 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
22382 if test "${ac_cv_func_fp_enable+set}" = set; then
22383 echo $ECHO_N "(cached) $ECHO_C" >&6
22385 if test x$gcc_no_link = xyes; then
22386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22388 { (exit 1); exit 1; }; }
22390 cat >conftest.$ac_ext <<_ACEOF
22393 cat confdefs.h >>conftest.$ac_ext
22394 cat >>conftest.$ac_ext <<_ACEOF
22395 /* end confdefs.h. */
22396 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
22397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22398 #define fp_enable innocuous_fp_enable
22400 /* System header to define __stub macros and hopefully few prototypes,
22401 which can conflict with char fp_enable (); below.
22402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22403 <limits.h> exists even on freestanding compilers. */
22406 # include <limits.h>
22408 # include <assert.h>
22413 /* Override any gcc2 internal prototype to avoid an error. */
22418 /* We use char because int might match the return type of a gcc2
22419 builtin and then its argument prototype would still apply. */
22421 /* The GNU C library defines this for functions which it implements
22422 to always fail with ENOSYS. Some functions are actually named
22423 something starting with __ and the normal name is an alias. */
22424 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
22427 char (*f) () = fp_enable;
22436 return f != fp_enable;
22441 rm -f conftest.$ac_objext conftest$ac_exeext
22442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22443 (eval $ac_link) 2>conftest.er1
22445 grep -v '^ *+' conftest.er1 >conftest.err
22447 cat conftest.err >&5
22448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22449 (exit $ac_status); } &&
22450 { ac_try='test -z "$ac_c_werror_flag"
22451 || test ! -s conftest.err'
22452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22453 (eval $ac_try) 2>&5
22455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22456 (exit $ac_status); }; } &&
22457 { ac_try='test -s conftest$ac_exeext'
22458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22459 (eval $ac_try) 2>&5
22461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462 (exit $ac_status); }; }; then
22463 ac_cv_func_fp_enable=yes
22465 echo "$as_me: failed program was:" >&5
22466 sed 's/^/| /' conftest.$ac_ext >&5
22468 ac_cv_func_fp_enable=no
22470 rm -f conftest.err conftest.$ac_objext \
22471 conftest$ac_exeext conftest.$ac_ext
22473 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
22474 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
22475 if test $ac_cv_func_fp_enable = yes; then
22477 cat >>confdefs.h <<\_ACEOF
22478 #define HAVE_FP_ENABLE 1
22484 # Runs configure.host to set up necessary host-dependent shell variables.
22485 # We then display a message about it, and propagate them through the
22487 . ${srcdir}/configure.host
22488 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
22489 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
22490 FPU_HOST_HEADER=config/${fpu_host}.h
22493 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
22494 # for struct timezone, as you might think. We also need to check how
22495 # to call gettimeofday if we have it.
22496 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
22497 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
22498 if test "${ac_cv_header_time+set}" = set; then
22499 echo $ECHO_N "(cached) $ECHO_C" >&6
22501 cat >conftest.$ac_ext <<_ACEOF
22504 cat confdefs.h >>conftest.$ac_ext
22505 cat >>conftest.$ac_ext <<_ACEOF
22506 /* end confdefs.h. */
22507 #include <sys/types.h>
22508 #include <sys/time.h>
22514 if ((struct tm *) 0)
22520 rm -f conftest.$ac_objext
22521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22522 (eval $ac_compile) 2>conftest.er1
22524 grep -v '^ *+' conftest.er1 >conftest.err
22526 cat conftest.err >&5
22527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22528 (exit $ac_status); } &&
22529 { ac_try='test -z "$ac_c_werror_flag"
22530 || test ! -s conftest.err'
22531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22532 (eval $ac_try) 2>&5
22534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22535 (exit $ac_status); }; } &&
22536 { ac_try='test -s conftest.$ac_objext'
22537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22538 (eval $ac_try) 2>&5
22540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22541 (exit $ac_status); }; }; then
22542 ac_cv_header_time=yes
22544 echo "$as_me: failed program was:" >&5
22545 sed 's/^/| /' conftest.$ac_ext >&5
22547 ac_cv_header_time=no
22549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22551 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
22552 echo "${ECHO_T}$ac_cv_header_time" >&6
22553 if test $ac_cv_header_time = yes; then
22555 cat >>confdefs.h <<\_ACEOF
22556 #define TIME_WITH_SYS_TIME 1
22563 for ac_func in gettimeofday
22565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22566 echo "$as_me:$LINENO: checking for $ac_func" >&5
22567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22568 if eval "test \"\${$as_ac_var+set}\" = set"; then
22569 echo $ECHO_N "(cached) $ECHO_C" >&6
22571 if test x$gcc_no_link = xyes; then
22572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22574 { (exit 1); exit 1; }; }
22576 cat >conftest.$ac_ext <<_ACEOF
22579 cat confdefs.h >>conftest.$ac_ext
22580 cat >>conftest.$ac_ext <<_ACEOF
22581 /* end confdefs.h. */
22582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22584 #define $ac_func innocuous_$ac_func
22586 /* System header to define __stub macros and hopefully few prototypes,
22587 which can conflict with char $ac_func (); below.
22588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22589 <limits.h> exists even on freestanding compilers. */
22592 # include <limits.h>
22594 # include <assert.h>
22599 /* Override any gcc2 internal prototype to avoid an error. */
22604 /* We use char because int might match the return type of a gcc2
22605 builtin and then its argument prototype would still apply. */
22607 /* The GNU C library defines this for functions which it implements
22608 to always fail with ENOSYS. Some functions are actually named
22609 something starting with __ and the normal name is an alias. */
22610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22613 char (*f) () = $ac_func;
22622 return f != $ac_func;
22627 rm -f conftest.$ac_objext conftest$ac_exeext
22628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22629 (eval $ac_link) 2>conftest.er1
22631 grep -v '^ *+' conftest.er1 >conftest.err
22633 cat conftest.err >&5
22634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22635 (exit $ac_status); } &&
22636 { ac_try='test -z "$ac_c_werror_flag"
22637 || test ! -s conftest.err'
22638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22639 (eval $ac_try) 2>&5
22641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22642 (exit $ac_status); }; } &&
22643 { ac_try='test -s conftest$ac_exeext'
22644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22645 (eval $ac_try) 2>&5
22647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22648 (exit $ac_status); }; }; then
22649 eval "$as_ac_var=yes"
22651 echo "$as_me: failed program was:" >&5
22652 sed 's/^/| /' conftest.$ac_ext >&5
22654 eval "$as_ac_var=no"
22656 rm -f conftest.err conftest.$ac_objext \
22657 conftest$ac_exeext conftest.$ac_ext
22659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22661 if test `eval echo '${'$as_ac_var'}'` = yes; then
22662 cat >>confdefs.h <<_ACEOF
22663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22669 if test "$ac_cv_func_gettimeofday" = yes; then
22670 echo "$as_me:$LINENO: checking for struct timezone" >&5
22671 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
22672 if test "${gfor_cv_struct_timezone+set}" = set; then
22673 echo $ECHO_N "(cached) $ECHO_C" >&6
22675 cat >conftest.$ac_ext <<_ACEOF
22678 cat confdefs.h >>conftest.$ac_ext
22679 cat >>conftest.$ac_ext <<_ACEOF
22680 /* end confdefs.h. */
22681 #include <sys/time.h>
22685 struct timezone tz;
22690 rm -f conftest.$ac_objext
22691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22692 (eval $ac_compile) 2>conftest.er1
22694 grep -v '^ *+' conftest.er1 >conftest.err
22696 cat conftest.err >&5
22697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22698 (exit $ac_status); } &&
22699 { ac_try='test -z "$ac_c_werror_flag"
22700 || test ! -s conftest.err'
22701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22702 (eval $ac_try) 2>&5
22704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705 (exit $ac_status); }; } &&
22706 { ac_try='test -s conftest.$ac_objext'
22707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22708 (eval $ac_try) 2>&5
22710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22711 (exit $ac_status); }; }; then
22712 gfor_cv_struct_timezone=yes
22714 echo "$as_me: failed program was:" >&5
22715 sed 's/^/| /' conftest.$ac_ext >&5
22717 gfor_cv_struct_timezone=no
22719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22721 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
22722 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
22723 if test $gfor_cv_struct_timezone = yes; then
22724 if test "$cross_compiling" = yes; then
22725 gfor_have_struct_timezone=yes
22727 cat >conftest.$ac_ext <<_ACEOF
22730 cat confdefs.h >>conftest.$ac_ext
22731 cat >>conftest.$ac_ext <<_ACEOF
22732 /* end confdefs.h. */
22734 #ifdef TIME_WITH_SYS_TIME
22735 #include <sys/time.h>
22738 #ifdef HAVE_SYS_TIME_H
22739 #include <sys/time.h>
22746 struct timeval time;
22747 struct timezone dummy;
22748 if (gettimeofday (&time, &dummy))
22754 rm -f conftest$ac_exeext
22755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22756 (eval $ac_link) 2>&5
22758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22759 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22761 (eval $ac_try) 2>&5
22763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764 (exit $ac_status); }; }; then
22765 gfor_have_struct_timezone=yes
22767 echo "$as_me: program exited with status $ac_status" >&5
22768 echo "$as_me: failed program was:" >&5
22769 sed 's/^/| /' conftest.$ac_ext >&5
22771 ( exit $ac_status )
22772 gfor_have_struct_timezone=no
22774 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22776 if test $gfor_have_struct_timezone = yes; then
22778 cat >>confdefs.h <<\_ACEOF
22779 #define HAVE_TIMEZONE 1
22785 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
22786 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
22787 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
22788 echo $ECHO_N "(cached) $ECHO_C" >&6
22790 if test x$gcc_no_link = xyes; then
22791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22793 { (exit 1); exit 1; }; }
22795 cat >conftest.$ac_ext <<_ACEOF
22798 cat confdefs.h >>conftest.$ac_ext
22799 cat >>conftest.$ac_ext <<_ACEOF
22800 /* end confdefs.h. */
22802 #ifdef TIME_WITH_SYS_TIME
22803 #include <sys/time.h>
22806 #ifdef HAVE_SYS_TIME_H
22807 #include <sys/time.h>
22817 struct timeval time;
22818 #ifdef HAVE_TIMEZONE
22819 struct timezone dummy;
22820 #define DUMMY &dummy
22824 gettimeofday (&time, DUMMY);
22829 rm -f conftest.$ac_objext conftest$ac_exeext
22830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22831 (eval $ac_link) 2>conftest.er1
22833 grep -v '^ *+' conftest.er1 >conftest.err
22835 cat conftest.err >&5
22836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22837 (exit $ac_status); } &&
22838 { ac_try='test -z "$ac_c_werror_flag"
22839 || test ! -s conftest.err'
22840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22841 (eval $ac_try) 2>&5
22843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22844 (exit $ac_status); }; } &&
22845 { ac_try='test -s conftest$ac_exeext'
22846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22847 (eval $ac_try) 2>&5
22849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22850 (exit $ac_status); }; }; then
22851 emacs_cv_gettimeofday_two_arguments=yes
22853 echo "$as_me: failed program was:" >&5
22854 sed 's/^/| /' conftest.$ac_ext >&5
22856 emacs_cv_gettimeofday_two_arguments=no
22858 rm -f conftest.err conftest.$ac_objext \
22859 conftest$ac_exeext conftest.$ac_ext
22861 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
22862 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
22863 if test $emacs_cv_gettimeofday_two_arguments = no; then
22865 cat >>confdefs.h <<\_ACEOF
22866 #define GETTIMEOFDAY_ONE_ARGUMENT 1
22872 # Attempt to assert that the target is of common type in case we don't
22873 # have C99 integer types at all.
22875 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
22876 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
22877 if test "${target_ilp32+set}" = set; then
22878 echo $ECHO_N "(cached) $ECHO_C" >&6
22881 save_CFLAGS="$CFLAGS"
22883 if test x$gcc_no_link = xyes; then
22884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22886 { (exit 1); exit 1; }; }
22888 cat >conftest.$ac_ext <<_ACEOF
22891 cat confdefs.h >>conftest.$ac_ext
22892 cat >>conftest.$ac_ext <<_ACEOF
22893 /* end confdefs.h. */
22899 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
22902 undefined_function ();
22908 rm -f conftest.$ac_objext conftest$ac_exeext
22909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22910 (eval $ac_link) 2>conftest.er1
22912 grep -v '^ *+' conftest.er1 >conftest.err
22914 cat conftest.err >&5
22915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22916 (exit $ac_status); } &&
22917 { ac_try='test -z "$ac_c_werror_flag"
22918 || test ! -s conftest.err'
22919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22920 (eval $ac_try) 2>&5
22922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22923 (exit $ac_status); }; } &&
22924 { ac_try='test -s conftest$ac_exeext'
22925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22926 (eval $ac_try) 2>&5
22928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22929 (exit $ac_status); }; }; then
22932 echo "$as_me: failed program was:" >&5
22933 sed 's/^/| /' conftest.$ac_ext >&5
22937 rm -f conftest.err conftest.$ac_objext \
22938 conftest$ac_exeext conftest.$ac_ext
22939 CFLAGS="$save_CFLAGS"
22941 echo "$as_me:$LINENO: result: $target_ilp32" >&5
22942 echo "${ECHO_T}$target_ilp32" >&6
22943 if test $target_ilp32 = yes; then
22945 cat >>confdefs.h <<\_ACEOF
22946 #define TARGET_ILP32 1
22952 # Check out attribute support.
22954 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
22955 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
22956 if test "${have_attribute_visibility+set}" = set; then
22957 echo $ECHO_N "(cached) $ECHO_C" >&6
22960 save_CFLAGS="$CFLAGS"
22961 CFLAGS="$CFLAGS -Werror"
22962 cat >conftest.$ac_ext <<_ACEOF
22965 cat confdefs.h >>conftest.$ac_ext
22966 cat >>conftest.$ac_ext <<_ACEOF
22967 /* end confdefs.h. */
22968 void __attribute__((visibility("hidden"))) foo(void) { }
22977 rm -f conftest.$ac_objext
22978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22979 (eval $ac_compile) 2>conftest.er1
22981 grep -v '^ *+' conftest.er1 >conftest.err
22983 cat conftest.err >&5
22984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22985 (exit $ac_status); } &&
22986 { ac_try='test -z "$ac_c_werror_flag"
22987 || test ! -s conftest.err'
22988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22989 (eval $ac_try) 2>&5
22991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22992 (exit $ac_status); }; } &&
22993 { ac_try='test -s conftest.$ac_objext'
22994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22995 (eval $ac_try) 2>&5
22997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22998 (exit $ac_status); }; }; then
22999 have_attribute_visibility=yes
23001 echo "$as_me: failed program was:" >&5
23002 sed 's/^/| /' conftest.$ac_ext >&5
23004 have_attribute_visibility=no
23006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23007 CFLAGS="$save_CFLAGS"
23009 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
23010 echo "${ECHO_T}$have_attribute_visibility" >&6
23011 if test $have_attribute_visibility = yes; then
23013 cat >>confdefs.h <<\_ACEOF
23014 #define HAVE_ATTRIBUTE_VISIBILITY 1
23019 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
23020 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
23021 if test "${have_attribute_dllexport+set}" = set; then
23022 echo $ECHO_N "(cached) $ECHO_C" >&6
23025 save_CFLAGS="$CFLAGS"
23026 CFLAGS="$CFLAGS -Werror"
23027 cat >conftest.$ac_ext <<_ACEOF
23030 cat confdefs.h >>conftest.$ac_ext
23031 cat >>conftest.$ac_ext <<_ACEOF
23032 /* end confdefs.h. */
23033 void __attribute__((dllexport)) foo(void) { }
23042 rm -f conftest.$ac_objext
23043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23044 (eval $ac_compile) 2>conftest.er1
23046 grep -v '^ *+' conftest.er1 >conftest.err
23048 cat conftest.err >&5
23049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23050 (exit $ac_status); } &&
23051 { ac_try='test -z "$ac_c_werror_flag"
23052 || test ! -s conftest.err'
23053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23054 (eval $ac_try) 2>&5
23056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23057 (exit $ac_status); }; } &&
23058 { ac_try='test -s conftest.$ac_objext'
23059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23060 (eval $ac_try) 2>&5
23062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23063 (exit $ac_status); }; }; then
23064 have_attribute_dllexport=yes
23066 echo "$as_me: failed program was:" >&5
23067 sed 's/^/| /' conftest.$ac_ext >&5
23069 have_attribute_dllexport=no
23071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23072 CFLAGS="$save_CFLAGS"
23074 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
23075 echo "${ECHO_T}$have_attribute_dllexport" >&6
23076 if test $have_attribute_dllexport = yes; then
23078 cat >>confdefs.h <<\_ACEOF
23079 #define HAVE_ATTRIBUTE_DLLEXPORT 1
23084 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
23085 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
23086 if test "${have_attribute_alias+set}" = set; then
23087 echo $ECHO_N "(cached) $ECHO_C" >&6
23090 if test x$gcc_no_link = xyes; then
23091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23093 { (exit 1); exit 1; }; }
23095 cat >conftest.$ac_ext <<_ACEOF
23098 cat confdefs.h >>conftest.$ac_ext
23099 cat >>conftest.$ac_ext <<_ACEOF
23100 /* end confdefs.h. */
23102 #define ULP STR1(__USER_LABEL_PREFIX__)
23103 #define STR1(x) STR2(x)
23106 extern void bar(void) __attribute__((alias(ULP "foo")));
23115 rm -f conftest.$ac_objext conftest$ac_exeext
23116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23117 (eval $ac_link) 2>conftest.er1
23119 grep -v '^ *+' conftest.er1 >conftest.err
23121 cat conftest.err >&5
23122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23123 (exit $ac_status); } &&
23124 { ac_try='test -z "$ac_c_werror_flag"
23125 || test ! -s conftest.err'
23126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23127 (eval $ac_try) 2>&5
23129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23130 (exit $ac_status); }; } &&
23131 { ac_try='test -s conftest$ac_exeext'
23132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23133 (eval $ac_try) 2>&5
23135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23136 (exit $ac_status); }; }; then
23137 have_attribute_alias=yes
23139 echo "$as_me: failed program was:" >&5
23140 sed 's/^/| /' conftest.$ac_ext >&5
23142 have_attribute_alias=no
23144 rm -f conftest.err conftest.$ac_objext \
23145 conftest$ac_exeext conftest.$ac_ext
23147 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
23148 echo "${ECHO_T}$have_attribute_alias" >&6
23149 if test $have_attribute_alias = yes; then
23151 cat >>confdefs.h <<\_ACEOF
23152 #define HAVE_ATTRIBUTE_ALIAS 1
23157 # Check out sync builtins support.
23159 echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
23160 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
23161 if test "${have_sync_fetch_and_add+set}" = set; then
23162 echo $ECHO_N "(cached) $ECHO_C" >&6
23165 if test x$gcc_no_link = xyes; then
23166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23168 { (exit 1); exit 1; }; }
23170 cat >conftest.$ac_ext <<_ACEOF
23173 cat confdefs.h >>conftest.$ac_ext
23174 cat >>conftest.$ac_ext <<_ACEOF
23175 /* end confdefs.h. */
23181 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
23182 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
23187 rm -f conftest.$ac_objext conftest$ac_exeext
23188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23189 (eval $ac_link) 2>conftest.er1
23191 grep -v '^ *+' conftest.er1 >conftest.err
23193 cat conftest.err >&5
23194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23195 (exit $ac_status); } &&
23196 { ac_try='test -z "$ac_c_werror_flag"
23197 || test ! -s conftest.err'
23198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23199 (eval $ac_try) 2>&5
23201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23202 (exit $ac_status); }; } &&
23203 { ac_try='test -s conftest$ac_exeext'
23204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23205 (eval $ac_try) 2>&5
23207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23208 (exit $ac_status); }; }; then
23209 have_sync_fetch_and_add=yes
23211 echo "$as_me: failed program was:" >&5
23212 sed 's/^/| /' conftest.$ac_ext >&5
23214 have_sync_fetch_and_add=no
23216 rm -f conftest.err conftest.$ac_objext \
23217 conftest$ac_exeext conftest.$ac_ext
23219 echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
23220 echo "${ECHO_T}$have_sync_fetch_and_add" >&6
23221 if test $have_sync_fetch_and_add = yes; then
23223 cat >>confdefs.h <<\_ACEOF
23224 #define HAVE_SYNC_FETCH_AND_ADD 1
23229 # Check out thread support.
23231 echo "$as_me:$LINENO: checking configured target thread model" >&5
23232 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
23233 if test "${target_thread_file+set}" = set; then
23234 echo $ECHO_N "(cached) $ECHO_C" >&6
23237 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
23239 echo "$as_me:$LINENO: result: $target_thread_file" >&5
23240 echo "${ECHO_T}$target_thread_file" >&6
23242 if test $target_thread_file != single; then
23244 cat >>confdefs.h <<\_ACEOF
23245 #define HAVE_GTHR_DEFAULT 1
23250 # Check out #pragma weak.
23252 echo "$as_me:$LINENO: checking whether pragma weak works" >&5
23253 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
23254 if test "${have_pragma_weak+set}" = set; then
23255 echo $ECHO_N "(cached) $ECHO_C" >&6
23258 gfor_save_CFLAGS="$CFLAGS"
23259 CFLAGS="$CFLAGS -Wunknown-pragmas"
23260 cat >conftest.$ac_ext <<_ACEOF
23263 cat confdefs.h >>conftest.$ac_ext
23264 cat >>conftest.$ac_ext <<_ACEOF
23265 /* end confdefs.h. */
23276 rm -f conftest.$ac_objext
23277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23278 (eval $ac_compile) 2>conftest.er1
23280 grep -v '^ *+' conftest.er1 >conftest.err
23282 cat conftest.err >&5
23283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23284 (exit $ac_status); } &&
23285 { ac_try='test -z "$ac_c_werror_flag"
23286 || test ! -s conftest.err'
23287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23288 (eval $ac_try) 2>&5
23290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23291 (exit $ac_status); }; } &&
23292 { ac_try='test -s conftest.$ac_objext'
23293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23294 (eval $ac_try) 2>&5
23296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23297 (exit $ac_status); }; }; then
23298 have_pragma_weak=yes
23300 echo "$as_me: failed program was:" >&5
23301 sed 's/^/| /' conftest.$ac_ext >&5
23303 have_pragma_weak=no
23305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23307 echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
23308 echo "${ECHO_T}$have_pragma_weak" >&6
23309 if test $have_pragma_weak = yes; then
23311 cat >>confdefs.h <<\_ACEOF
23312 #define SUPPORTS_WEAK 1
23317 *-*-darwin* | *-*-hpux* | *-*-cygwin*)
23319 cat >>confdefs.h <<\_ACEOF
23320 #define GTHREAD_USE_WEAK 0
23326 # Various other checks on target
23328 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
23329 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
23330 if test "${have_unlink_open_file+set}" = set; then
23331 echo $ECHO_N "(cached) $ECHO_C" >&6
23334 if test "$cross_compiling" = yes; then
23336 case "${target}" in
23337 *mingw*) have_unlink_open_file=no ;;
23338 *) have_unlink_open_file=yes;;
23341 cat >conftest.$ac_ext <<_ACEOF
23344 cat confdefs.h >>conftest.$ac_ext
23345 cat >>conftest.$ac_ext <<_ACEOF
23346 /* end confdefs.h. */
23350 #include <unistd.h>
23351 #include <sys/stat.h>
23357 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
23360 if (unlink ("testfile") == -1)
23362 write (fd, "This is a test\n", 15);
23365 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
23371 rm -f conftest$ac_exeext
23372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23373 (eval $ac_link) 2>&5
23375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23376 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23378 (eval $ac_try) 2>&5
23380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23381 (exit $ac_status); }; }; then
23382 have_unlink_open_file=yes
23384 echo "$as_me: program exited with status $ac_status" >&5
23385 echo "$as_me: failed program was:" >&5
23386 sed 's/^/| /' conftest.$ac_ext >&5
23388 ( exit $ac_status )
23389 have_unlink_open_file=no
23391 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23394 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
23395 echo "${ECHO_T}$have_unlink_open_file" >&6
23396 if test x"$have_unlink_open_file" = xyes; then
23398 cat >>confdefs.h <<\_ACEOF
23399 #define HAVE_UNLINK_OPEN_FILE 1
23404 # Check whether line terminator is LF or CRLF
23406 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
23407 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
23408 if test "${have_crlf+set}" = set; then
23409 echo $ECHO_N "(cached) $ECHO_C" >&6
23412 if test "$cross_compiling" = yes; then
23414 case "${target}" in
23415 *mingw*) have_crlf=yes ;;
23419 cat >conftest.$ac_ext <<_ACEOF
23422 cat confdefs.h >>conftest.$ac_ext
23423 cat >>conftest.$ac_ext <<_ACEOF
23424 /* end confdefs.h. */
23426 /* This test program should exit with status 0 if system uses a CRLF as
23427 line terminator, and status 1 otherwise.
23428 Since it is used to check for mingw systems, and should return 0 in any
23429 other case, in case of a failure we will not use CRLF. */
23430 #include <sys/stat.h>
23431 #include <stdlib.h>
23443 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
23446 if (write (fd, "\n", 1) < 0)
23451 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
23453 bytes = read (fd, buff, 5);
23454 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
23461 rm -f conftest$ac_exeext
23462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23463 (eval $ac_link) 2>&5
23465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23468 (eval $ac_try) 2>&5
23470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23471 (exit $ac_status); }; }; then
23474 echo "$as_me: program exited with status $ac_status" >&5
23475 echo "$as_me: failed program was:" >&5
23476 sed 's/^/| /' conftest.$ac_ext >&5
23478 ( exit $ac_status )
23481 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23484 echo "$as_me:$LINENO: result: $have_crlf" >&5
23485 echo "${ECHO_T}$have_crlf" >&6
23486 if test x"$have_crlf" = xyes; then
23488 cat >>confdefs.h <<\_ACEOF
23489 #define HAVE_CRLF 1
23494 cat >confcache <<\_ACEOF
23495 # This file is a shell script that caches the results of configure
23496 # tests run on this system so they can be shared between configure
23497 # scripts and configure runs, see configure's option --config-cache.
23498 # It is not useful on other systems. If it contains results you don't
23499 # want to keep, you may remove or edit it.
23501 # config.status only pays attention to the cache file if you give it
23502 # the --recheck option to rerun configure.
23504 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23505 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23506 # following values.
23510 # The following way of writing the cache mishandles newlines in values,
23511 # but we know of no workaround that is simple, portable, and efficient.
23512 # So, don't put newlines in cache variables' values.
23513 # Ultrix sh set writes to stderr and can't be redirected directly,
23514 # and sets the high bit in the cache file unless we assign to the vars.
23517 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23519 # `set' does not quote correctly, so add quotes (double-quote
23520 # substitution turns \\\\ into \\, and sed turns \\ into \).
23523 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23526 # `set' quotes correctly as required by POSIX, so do not add quotes.
23528 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23535 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23537 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23539 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23540 if test -w $cache_file; then
23541 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23542 cat confcache >$cache_file
23544 echo "not updating unwritable cache $cache_file"
23549 if test ${multilib} = yes; then
23550 multilib_arg="--enable-multilib"
23555 # Write our Makefile.
23556 ac_config_files="$ac_config_files Makefile"
23558 cat >confcache <<\_ACEOF
23559 # This file is a shell script that caches the results of configure
23560 # tests run on this system so they can be shared between configure
23561 # scripts and configure runs, see configure's option --config-cache.
23562 # It is not useful on other systems. If it contains results you don't
23563 # want to keep, you may remove or edit it.
23565 # config.status only pays attention to the cache file if you give it
23566 # the --recheck option to rerun configure.
23568 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23569 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23570 # following values.
23574 # The following way of writing the cache mishandles newlines in values,
23575 # but we know of no workaround that is simple, portable, and efficient.
23576 # So, don't put newlines in cache variables' values.
23577 # Ultrix sh set writes to stderr and can't be redirected directly,
23578 # and sets the high bit in the cache file unless we assign to the vars.
23581 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23583 # `set' does not quote correctly, so add quotes (double-quote
23584 # substitution turns \\\\ into \\, and sed turns \\ into \).
23587 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23590 # `set' quotes correctly as required by POSIX, so do not add quotes.
23592 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23599 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23601 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23603 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23604 if test -w $cache_file; then
23605 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23606 cat confcache >$cache_file
23608 echo "not updating unwritable cache $cache_file"
23613 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23614 # Let make expand exec_prefix.
23615 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23617 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23618 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23619 # trailing colons and then remove the whole line if VPATH becomes empty
23620 # (actually we leave an empty line to preserve line numbers).
23621 if test "x$srcdir" = x.; then
23622 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23623 s/:*\$(srcdir):*/:/;
23624 s/:*\${srcdir}:*/:/;
23626 s/^\([^=]*=[ ]*\):*/\1/;
23632 DEFS=-DHAVE_CONFIG_H
23636 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23637 # 1. Remove the extension, and $U if already installed.
23638 ac_i=`echo "$ac_i" |
23639 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
23641 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
23642 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
23644 LIBOBJS=$ac_libobjs
23646 LTLIBOBJS=$ac_ltlibobjs
23649 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
23650 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
23651 Usually this means the macro was only invoked conditionally." >&5
23652 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
23653 Usually this means the macro was only invoked conditionally." >&2;}
23654 { (exit 1); exit 1; }; }
23657 : ${CONFIG_STATUS=./config.status}
23658 ac_clean_files_save=$ac_clean_files
23659 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23660 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23661 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23662 cat >$CONFIG_STATUS <<_ACEOF
23664 # Generated by $as_me.
23665 # Run this file to recreate the current configuration.
23666 # Compiler output produced by configure, useful for debugging
23667 # configure, is in config.log if it exists.
23670 ac_cs_recheck=false
23672 SHELL=\${CONFIG_SHELL-$SHELL}
23675 cat >>$CONFIG_STATUS <<\_ACEOF
23676 ## --------------------- ##
23677 ## M4sh Initialization. ##
23678 ## --------------------- ##
23680 # Be Bourne compatible
23681 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23684 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23685 # is contrary to our usage. Disable this feature.
23686 alias -g '${1+"$@"}'='"$@"'
23687 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23690 DUALCASE=1; export DUALCASE # for MKS sh
23692 # Support unset when possible.
23693 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
23700 # Work around bugs in pre-3.0 UWIN ksh.
23701 $as_unset ENV MAIL MAILPATH
23708 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23709 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23710 LC_TELEPHONE LC_TIME
23712 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23713 eval $as_var=C; export $as_var
23719 # Required to use basename.
23720 if expr a : '\(a\)' >/dev/null 2>&1; then
23726 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
23727 as_basename=basename
23733 # Name of the executable.
23734 as_me=`$as_basename "$0" ||
23735 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23736 X"$0" : 'X\(//\)$' \| \
23737 X"$0" : 'X\(/\)$' \| \
23738 . : '\(.\)' 2>/dev/null ||
23740 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23741 /^X\/\(\/\/\)$/{ s//\1/; q; }
23742 /^X\/\(\/\).*/{ s//\1/; q; }
23746 # PATH needs CR, and LINENO needs CR and PATH.
23747 # Avoid depending upon Character Ranges.
23748 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23749 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23750 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23751 as_cr_digits='0123456789'
23752 as_cr_alnum=$as_cr_Letters$as_cr_digits
23754 # The user is always right.
23755 if test "${PATH_SEPARATOR+set}" != set; then
23756 echo "#! /bin/sh" >conf$$.sh
23757 echo "exit 0" >>conf$$.sh
23759 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23768 as_lineno_1=$LINENO
23769 as_lineno_2=$LINENO
23770 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23771 test "x$as_lineno_1" != "x$as_lineno_2" &&
23772 test "x$as_lineno_3" = "x$as_lineno_2" || {
23773 # Find who we are. Look in the path if we contain no path at all
23776 *[\\/]* ) as_myself=$0 ;;
23777 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23778 for as_dir in $PATH
23781 test -z "$as_dir" && as_dir=.
23782 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23787 # We did not find ourselves, most probably we were run as `sh COMMAND'
23788 # in which case we are not to be found in the path.
23789 if test "x$as_myself" = x; then
23792 if test ! -f "$as_myself"; then
23793 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23794 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23795 { (exit 1); exit 1; }; }
23797 case $CONFIG_SHELL in
23799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23800 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23803 test -z "$as_dir" && as_dir=.
23804 for as_base in sh bash ksh sh5; do
23807 if ("$as_dir/$as_base" -c '
23808 as_lineno_1=$LINENO
23809 as_lineno_2=$LINENO
23810 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23811 test "x$as_lineno_1" != "x$as_lineno_2" &&
23812 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23813 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23814 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23815 CONFIG_SHELL=$as_dir/$as_base
23816 export CONFIG_SHELL
23817 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23825 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23826 # uniformly replaced by the line number. The first 'sed' inserts a
23827 # line-number line before each line; the second 'sed' does the real
23828 # work. The second script uses 'N' to pair each line-number line
23829 # with the numbered line, and appends trailing '-' during
23830 # substitution so that $LINENO is not a special case at line end.
23831 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23832 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23833 sed '=' <$as_myself |
23838 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23841 s,^['$as_cr_digits']*\n,,
23842 ' >$as_me.lineno &&
23843 chmod +x $as_me.lineno ||
23844 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23845 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23846 { (exit 1); exit 1; }; }
23848 # Don't try to exec as it changes $[0], causing all sort of problems
23849 # (the dirname of $[0] is not the place where we might find the
23850 # original and so on. Autoconf is especially sensible to this).
23852 # Exit status is that of the last command.
23857 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23858 *c*,-n*) ECHO_N= ECHO_C='
23860 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23861 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23864 if expr a : '\(a\)' >/dev/null 2>&1; then
23870 rm -f conf$$ conf$$.exe conf$$.file
23872 if ln -s conf$$.file conf$$ 2>/dev/null; then
23873 # We could just check for DJGPP; but this test a) works b) is more generic
23874 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23875 if test -f conf$$.exe; then
23876 # Don't use ln at all; we don't have any links
23881 elif ln conf$$.file conf$$ 2>/dev/null; then
23886 rm -f conf$$ conf$$.exe conf$$.file
23888 if mkdir -p . 2>/dev/null; then
23891 test -d ./-p && rmdir ./-p
23895 as_executable_p="test -f"
23897 # Sed expression to map a string onto a valid CPP name.
23898 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23900 # Sed expression to map a string onto a valid variable name.
23901 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23905 # We need space, tab and new line, in precisely that order.
23915 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23916 # report actual input values of CONFIG_FILES etc. instead of their
23917 # values after options handling. Logging --version etc. is OK.
23921 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23922 ## Running $as_me. ##
23927 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
23928 generated by GNU Autoconf 2.59. Invocation command line was
23930 CONFIG_FILES = $CONFIG_FILES
23931 CONFIG_HEADERS = $CONFIG_HEADERS
23932 CONFIG_LINKS = $CONFIG_LINKS
23933 CONFIG_COMMANDS = $CONFIG_COMMANDS
23937 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23941 # Files that config.status was made for.
23942 if test -n "$ac_config_files"; then
23943 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23946 if test -n "$ac_config_headers"; then
23947 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23950 if test -n "$ac_config_links"; then
23951 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23954 if test -n "$ac_config_commands"; then
23955 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23958 cat >>$CONFIG_STATUS <<\_ACEOF
23961 \`$as_me' instantiates files from templates according to the
23962 current configuration.
23964 Usage: $0 [OPTIONS] [FILE]...
23966 -h, --help print this help, then exit
23967 -V, --version print version number, then exit
23968 -q, --quiet do not print progress messages
23969 -d, --debug don't remove temporary files
23970 --recheck update $as_me by reconfiguring in the same conditions
23971 --file=FILE[:TEMPLATE]
23972 instantiate the configuration file FILE
23973 --header=FILE[:TEMPLATE]
23974 instantiate the configuration header FILE
23976 Configuration files:
23979 Configuration headers:
23982 Configuration commands:
23985 Report bugs to <bug-autoconf@gnu.org>."
23988 cat >>$CONFIG_STATUS <<_ACEOF
23990 GNU Fortran Runtime Library config.status 0.2
23991 configured by $0, generated by GNU Autoconf 2.59,
23992 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23994 Copyright (C) 2003 Free Software Foundation, Inc.
23995 This config.status script is free software; the Free Software Foundation
23996 gives unlimited permission to copy, distribute and modify it."
24001 cat >>$CONFIG_STATUS <<\_ACEOF
24002 # If no file are specified by the user, then we need to provide default
24003 # value. By we need to know if files were specified by the user.
24009 ac_option=`expr "x$1" : 'x\([^=]*\)='`
24010 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
24018 *) # This is not an option, so the user has probably given explicit
24021 ac_need_defaults=false;;
24025 # Handling of the options.
24027 cat >>$CONFIG_STATUS <<\_ACEOF
24028 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24030 --version | --vers* | -V )
24031 echo "$ac_cs_version"; exit 0 ;;
24033 # Conflict between --help and --header
24034 { { echo "$as_me:$LINENO: error: ambiguous option: $1
24035 Try \`$0 --help' for more information." >&5
24036 echo "$as_me: error: ambiguous option: $1
24037 Try \`$0 --help' for more information." >&2;}
24038 { (exit 1); exit 1; }; };;
24039 --help | --hel | -h )
24040 echo "$ac_cs_usage"; exit 0 ;;
24041 --debug | --d* | -d )
24043 --file | --fil | --fi | --f )
24045 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24046 ac_need_defaults=false;;
24047 --header | --heade | --head | --hea )
24049 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24050 ac_need_defaults=false;;
24051 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24052 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24055 # This is an error.
24056 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
24057 Try \`$0 --help' for more information." >&5
24058 echo "$as_me: error: unrecognized option: $1
24059 Try \`$0 --help' for more information." >&2;}
24060 { (exit 1); exit 1; }; } ;;
24062 *) ac_config_targets="$ac_config_targets $1" ;;
24068 ac_configure_extra_args=
24070 if $ac_cs_silent; then
24072 ac_configure_extra_args="$ac_configure_extra_args --silent"
24076 cat >>$CONFIG_STATUS <<_ACEOF
24077 if \$ac_cs_recheck; then
24078 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24079 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24084 cat >>$CONFIG_STATUS <<_ACEOF
24086 # INIT-COMMANDS section.
24093 with_multisubdir="$with_multisubdir"
24094 with_multisrctop="$with_multisrctop"
24095 with_target_subdir="$with_target_subdir"
24096 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24097 multi_basedir="$multi_basedir"
24098 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24103 acx_cv_header_stdint="$acx_cv_header_stdint"
24104 acx_cv_type_int8_t="$acx_cv_type_int8_t"
24105 acx_cv_type_int16_t="$acx_cv_type_int16_t"
24106 acx_cv_type_int32_t="$acx_cv_type_int32_t"
24107 acx_cv_type_int64_t="$acx_cv_type_int64_t"
24108 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
24109 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
24110 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
24111 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
24112 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
24113 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
24114 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
24115 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
24116 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
24123 cat >>$CONFIG_STATUS <<\_ACEOF
24124 for ac_config_target in $ac_config_targets
24126 case "$ac_config_target" in
24127 # Handling of arguments.
24128 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24129 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
24130 "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
24131 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
24132 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24133 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24134 { (exit 1); exit 1; }; };;
24138 # If the user did not use the arguments to specify the items to instantiate,
24139 # then the envvar interface is used. Set only those that are not.
24140 # We use the long form for the default assignment because of an extremely
24141 # bizarre bug on SunOS 4.1.3.
24142 if $ac_need_defaults; then
24143 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24144 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24145 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24148 # Have a temporary directory for convenience. Make it in the build tree
24149 # simply because there is no reason to put it here, and in addition,
24150 # creating and moving files from /tmp can sometimes cause problems.
24151 # Create a temporary directory, and hook for its removal unless debugging.
24154 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
24155 trap '{ (exit 1); exit 1; }' 1 2 13 15
24158 # Create a (secure) tmp directory for tmp files.
24161 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
24162 test -n "$tmp" && test -d "$tmp"
24165 tmp=./confstat$$-$RANDOM
24166 (umask 077 && mkdir $tmp)
24169 echo "$me: cannot create a temporary directory in ." >&2
24170 { (exit 1); exit 1; }
24175 cat >>$CONFIG_STATUS <<_ACEOF
24178 # CONFIG_FILES section.
24181 # No need to generate the scripts if there are no CONFIG_FILES.
24182 # This happens for instance when ./config.status config.h
24183 if test -n "\$CONFIG_FILES"; then
24184 # Protect against being on the right side of a sed subst in config.status.
24185 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
24186 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
24187 s,@SHELL@,$SHELL,;t t
24188 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
24189 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
24190 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
24191 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
24192 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
24193 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
24194 s,@exec_prefix@,$exec_prefix,;t t
24195 s,@prefix@,$prefix,;t t
24196 s,@program_transform_name@,$program_transform_name,;t t
24197 s,@bindir@,$bindir,;t t
24198 s,@sbindir@,$sbindir,;t t
24199 s,@libexecdir@,$libexecdir,;t t
24200 s,@datadir@,$datadir,;t t
24201 s,@sysconfdir@,$sysconfdir,;t t
24202 s,@sharedstatedir@,$sharedstatedir,;t t
24203 s,@localstatedir@,$localstatedir,;t t
24204 s,@libdir@,$libdir,;t t
24205 s,@includedir@,$includedir,;t t
24206 s,@oldincludedir@,$oldincludedir,;t t
24207 s,@infodir@,$infodir,;t t
24208 s,@mandir@,$mandir,;t t
24209 s,@build_alias@,$build_alias,;t t
24210 s,@host_alias@,$host_alias,;t t
24211 s,@target_alias@,$target_alias,;t t
24212 s,@DEFS@,$DEFS,;t t
24213 s,@ECHO_C@,$ECHO_C,;t t
24214 s,@ECHO_N@,$ECHO_N,;t t
24215 s,@ECHO_T@,$ECHO_T,;t t
24216 s,@LIBS@,$LIBS,;t t
24217 s,@build@,$build,;t t
24218 s,@build_cpu@,$build_cpu,;t t
24219 s,@build_vendor@,$build_vendor,;t t
24220 s,@build_os@,$build_os,;t t
24221 s,@build_libsubdir@,$build_libsubdir,;t t
24222 s,@build_subdir@,$build_subdir,;t t
24223 s,@host_subdir@,$host_subdir,;t t
24224 s,@target_subdir@,$target_subdir,;t t
24225 s,@host@,$host,;t t
24226 s,@host_cpu@,$host_cpu,;t t
24227 s,@host_vendor@,$host_vendor,;t t
24228 s,@host_os@,$host_os,;t t
24229 s,@target@,$target,;t t
24230 s,@target_cpu@,$target_cpu,;t t
24231 s,@target_vendor@,$target_vendor,;t t
24232 s,@target_os@,$target_os,;t t
24233 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
24234 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
24235 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
24236 s,@CYGPATH_W@,$CYGPATH_W,;t t
24237 s,@PACKAGE@,$PACKAGE,;t t
24238 s,@VERSION@,$VERSION,;t t
24239 s,@ACLOCAL@,$ACLOCAL,;t t
24240 s,@AUTOCONF@,$AUTOCONF,;t t
24241 s,@AUTOMAKE@,$AUTOMAKE,;t t
24242 s,@AUTOHEADER@,$AUTOHEADER,;t t
24243 s,@MAKEINFO@,$MAKEINFO,;t t
24244 s,@install_sh@,$install_sh,;t t
24245 s,@STRIP@,$STRIP,;t t
24246 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
24247 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
24248 s,@mkdir_p@,$mkdir_p,;t t
24250 s,@SET_MAKE@,$SET_MAKE,;t t
24251 s,@am__leading_dot@,$am__leading_dot,;t t
24252 s,@AMTAR@,$AMTAR,;t t
24253 s,@am__tar@,$am__tar,;t t
24254 s,@am__untar@,$am__untar,;t t
24255 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
24256 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
24257 s,@MAINT@,$MAINT,;t t
24258 s,@multi_basedir@,$multi_basedir,;t t
24259 s,@toolexecdir@,$toolexecdir,;t t
24260 s,@toolexeclibdir@,$toolexeclibdir,;t t
24262 s,@ac_ct_CC@,$ac_ct_CC,;t t
24263 s,@EXEEXT@,$EXEEXT,;t t
24264 s,@OBJEXT@,$OBJEXT,;t t
24265 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
24266 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
24268 s,@ac_ct_AS@,$ac_ct_AS,;t t
24270 s,@ac_ct_AR@,$ac_ct_AR,;t t
24271 s,@RANLIB@,$RANLIB,;t t
24272 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
24273 s,@LN_S@,$LN_S,;t t
24274 s,@LIBTOOL@,$LIBTOOL,;t t
24275 s,@enable_shared@,$enable_shared,;t t
24276 s,@enable_static@,$enable_static,;t t
24278 s,@FCFLAGS@,$FCFLAGS,;t t
24279 s,@LDFLAGS@,$LDFLAGS,;t t
24280 s,@ac_ct_FC@,$ac_ct_FC,;t t
24281 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
24283 s,@CPPFLAGS@,$CPPFLAGS,;t t
24284 s,@EGREP@,$EGREP,;t t
24285 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
24286 s,@LIBOBJS@,$LIBOBJS,;t t
24287 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
24292 cat >>$CONFIG_STATUS <<\_ACEOF
24293 # Split the substitutions into bite-sized pieces for seds with
24294 # small command number limits, like on Digital OSF/1 and HP-UX.
24295 ac_max_sed_lines=48
24296 ac_sed_frag=1 # Number of current file.
24297 ac_beg=1 # First line for current file.
24298 ac_end=$ac_max_sed_lines # Line after last line for current file.
24301 while $ac_more_lines; do
24302 if test $ac_beg -gt 1; then
24303 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24305 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24307 if test ! -s $tmp/subs.frag; then
24308 ac_more_lines=false
24310 # The purpose of the label and of the branching condition is to
24311 # speed up the sed processing (if there are no `@' at all, there
24312 # is no need to browse any of the substitutions).
24313 # These are the two extra sed commands mentioned above.
24315 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
24316 if test -z "$ac_sed_cmds"; then
24317 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
24319 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
24321 ac_sed_frag=`expr $ac_sed_frag + 1`
24323 ac_end=`expr $ac_end + $ac_max_sed_lines`
24326 if test -z "$ac_sed_cmds"; then
24329 fi # test -n "$CONFIG_FILES"
24332 cat >>$CONFIG_STATUS <<\_ACEOF
24333 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
24334 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24336 - | *:- | *:-:* ) # input from stdin
24338 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24339 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24340 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24341 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24342 * ) ac_file_in=$ac_file.in ;;
24345 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
24346 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24347 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24348 X"$ac_file" : 'X\(//\)[^/]' \| \
24349 X"$ac_file" : 'X\(//\)$' \| \
24350 X"$ac_file" : 'X\(/\)' \| \
24351 . : '\(.\)' 2>/dev/null ||
24353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24354 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24355 /^X\(\/\/\)$/{ s//\1/; q; }
24356 /^X\(\/\).*/{ s//\1/; q; }
24358 { if $as_mkdir_p; then
24363 while test ! -d "$as_dir"; do
24364 as_dirs="$as_dir $as_dirs"
24365 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24366 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24367 X"$as_dir" : 'X\(//\)[^/]' \| \
24368 X"$as_dir" : 'X\(//\)$' \| \
24369 X"$as_dir" : 'X\(/\)' \| \
24370 . : '\(.\)' 2>/dev/null ||
24372 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24373 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24374 /^X\(\/\/\)$/{ s//\1/; q; }
24375 /^X\(\/\).*/{ s//\1/; q; }
24378 test ! -n "$as_dirs" || mkdir $as_dirs
24379 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24380 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24381 { (exit 1); exit 1; }; }; }
24385 if test "$ac_dir" != .; then
24386 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24387 # A "../" for each directory in $ac_dir_suffix.
24388 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24390 ac_dir_suffix= ac_top_builddir=
24394 .) # No --srcdir option. We are building in place.
24396 if test -z "$ac_top_builddir"; then
24399 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24401 [\\/]* | ?:[\\/]* ) # Absolute path.
24402 ac_srcdir=$srcdir$ac_dir_suffix;
24403 ac_top_srcdir=$srcdir ;;
24404 *) # Relative path.
24405 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24406 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24409 # Do not use `cd foo && pwd` to compute absolute paths, because
24410 # the directories may not exist.
24412 .) ac_abs_builddir="$ac_dir";;
24415 .) ac_abs_builddir=`pwd`;;
24416 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
24417 *) ac_abs_builddir=`pwd`/"$ac_dir";;
24420 case $ac_abs_builddir in
24421 .) ac_abs_top_builddir=${ac_top_builddir}.;;
24423 case ${ac_top_builddir}. in
24424 .) ac_abs_top_builddir=$ac_abs_builddir;;
24425 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
24426 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
24429 case $ac_abs_builddir in
24430 .) ac_abs_srcdir=$ac_srcdir;;
24433 .) ac_abs_srcdir=$ac_abs_builddir;;
24434 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
24435 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
24438 case $ac_abs_builddir in
24439 .) ac_abs_top_srcdir=$ac_top_srcdir;;
24441 case $ac_top_srcdir in
24442 .) ac_abs_top_srcdir=$ac_abs_builddir;;
24443 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
24444 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
24450 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24451 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24454 if test x"$ac_file" != x-; then
24455 { echo "$as_me:$LINENO: creating $ac_file" >&5
24456 echo "$as_me: creating $ac_file" >&6;}
24459 # Let's still pretend it is `configure' which instantiates (i.e., don't
24460 # use $as_me), people would be surprised to read:
24461 # /* config.h. Generated by config.status. */
24462 if test x"$ac_file" = x-; then
24465 configure_input="$ac_file. "
24467 configure_input=$configure_input"Generated from `echo $ac_file_in |
24468 sed 's,.*/,,'` by configure."
24470 # First look for the input files in the build tree, otherwise in the
24472 ac_file_inputs=`IFS=:
24473 for f in $ac_file_in; do
24475 -) echo $tmp/stdin ;;
24477 # Absolute (can't be DOS-style, as IFS=:)
24478 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24479 echo "$as_me: error: cannot find input file: $f" >&2;}
24480 { (exit 1); exit 1; }; }
24483 if test -f "$f"; then
24486 elif test -f "$srcdir/$f"; then
24491 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24492 echo "$as_me: error: cannot find input file: $f" >&2;}
24493 { (exit 1); exit 1; }; }
24496 done` || { (exit 1); exit 1; }
24498 cat >>$CONFIG_STATUS <<_ACEOF
24502 cat >>$CONFIG_STATUS <<\_ACEOF
24504 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24505 s,@configure_input@,$configure_input,;t t
24506 s,@srcdir@,$ac_srcdir,;t t
24507 s,@abs_srcdir@,$ac_abs_srcdir,;t t
24508 s,@top_srcdir@,$ac_top_srcdir,;t t
24509 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24510 s,@builddir@,$ac_builddir,;t t
24511 s,@abs_builddir@,$ac_abs_builddir,;t t
24512 s,@top_builddir@,$ac_top_builddir,;t t
24513 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24514 s,@INSTALL@,$ac_INSTALL,;t t
24515 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24517 if test x"$ac_file" != x-; then
24518 mv $tmp/out $ac_file
24526 cat >>$CONFIG_STATUS <<\_ACEOF
24529 # CONFIG_HEADER section.
24532 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24533 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24535 # ac_d sets the value in "#define NAME VALUE" lines.
24536 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24537 ac_dB='[ ].*$,\1#\2'
24540 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24541 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24542 ac_uB='$,\1#\2define\3'
24546 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24547 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24549 - | *:- | *:-:* ) # input from stdin
24551 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24552 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24553 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24554 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24555 * ) ac_file_in=$ac_file.in ;;
24558 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24559 echo "$as_me: creating $ac_file" >&6;}
24561 # First look for the input files in the build tree, otherwise in the
24563 ac_file_inputs=`IFS=:
24564 for f in $ac_file_in; do
24566 -) echo $tmp/stdin ;;
24568 # Absolute (can't be DOS-style, as IFS=:)
24569 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24570 echo "$as_me: error: cannot find input file: $f" >&2;}
24571 { (exit 1); exit 1; }; }
24572 # Do quote $f, to prevent DOS paths from being IFS'd.
24575 if test -f "$f"; then
24578 elif test -f "$srcdir/$f"; then
24583 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24584 echo "$as_me: error: cannot find input file: $f" >&2;}
24585 { (exit 1); exit 1; }; }
24588 done` || { (exit 1); exit 1; }
24589 # Remove the trailing spaces.
24590 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24594 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24595 # `conftest.undefs', that substitutes the proper values into
24596 # config.h.in to produce config.h. The first handles `#define'
24597 # templates, and the second `#undef' templates.
24598 # And first: Protect against being on the right side of a sed subst in
24599 # config.status. Protect against being in an unquoted here document
24600 # in config.status.
24601 rm -f conftest.defines conftest.undefs
24602 # Using a here document instead of a string reduces the quoting nightmare.
24603 # Putting comments in sed scripts is not portable.
24605 # `end' is used to avoid that the second main sed command (meant for
24606 # 0-ary CPP macros) applies to n-ary macro definitions.
24607 # See the Autoconf documentation for `clear'.
24608 cat >confdef2sed.sed <<\_ACEOF
24613 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24615 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24618 # If some macros were called several times there might be several times
24619 # the same #defines, which is useless. Nevertheless, we may not want to
24620 # sort them, since we want the *last* AC-DEFINE to be honored.
24621 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24622 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24623 rm -f confdef2sed.sed
24625 # This sed command replaces #undef with comments. This is necessary, for
24626 # example, in the case of _POSIX_SOURCE, which is predefined and required
24627 # on some systems where configure will not decide to define it.
24628 cat >>conftest.undefs <<\_ACEOF
24629 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24632 # Break up conftest.defines because some shells have a limit on the size
24633 # of here documents, and old seds have small limits too (100 cmds).
24634 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24635 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24636 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24637 echo ' :' >>$CONFIG_STATUS
24638 rm -f conftest.tail
24639 while grep . conftest.defines >/dev/null
24641 # Write a limited-size here document to $tmp/defines.sed.
24642 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24643 # Speed up: don't consider the non `#define' lines.
24644 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24645 # Work around the forget-to-reset-the-flag bug.
24646 echo 't clr' >>$CONFIG_STATUS
24647 echo ': clr' >>$CONFIG_STATUS
24648 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24650 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24652 mv $tmp/out $tmp/in
24654 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24655 rm -f conftest.defines
24656 mv conftest.tail conftest.defines
24658 rm -f conftest.defines
24659 echo ' fi # grep' >>$CONFIG_STATUS
24660 echo >>$CONFIG_STATUS
24662 # Break up conftest.undefs because some shells have a limit on the size
24663 # of here documents, and old seds have small limits too (100 cmds).
24664 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24665 rm -f conftest.tail
24666 while grep . conftest.undefs >/dev/null
24668 # Write a limited-size here document to $tmp/undefs.sed.
24669 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24670 # Speed up: don't consider the non `#undef'
24671 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24672 # Work around the forget-to-reset-the-flag bug.
24673 echo 't clr' >>$CONFIG_STATUS
24674 echo ': clr' >>$CONFIG_STATUS
24675 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24677 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24679 mv $tmp/out $tmp/in
24681 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24682 rm -f conftest.undefs
24683 mv conftest.tail conftest.undefs
24685 rm -f conftest.undefs
24687 cat >>$CONFIG_STATUS <<\_ACEOF
24688 # Let's still pretend it is `configure' which instantiates (i.e., don't
24689 # use $as_me), people would be surprised to read:
24690 # /* config.h. Generated by config.status. */
24691 if test x"$ac_file" = x-; then
24692 echo "/* Generated by configure. */" >$tmp/config.h
24694 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24696 cat $tmp/in >>$tmp/config.h
24698 if test x"$ac_file" != x-; then
24699 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24700 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24701 echo "$as_me: $ac_file is unchanged" >&6;}
24703 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24704 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24705 X"$ac_file" : 'X\(//\)[^/]' \| \
24706 X"$ac_file" : 'X\(//\)$' \| \
24707 X"$ac_file" : 'X\(/\)' \| \
24708 . : '\(.\)' 2>/dev/null ||
24710 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24711 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24712 /^X\(\/\/\)$/{ s//\1/; q; }
24713 /^X\(\/\).*/{ s//\1/; q; }
24715 { if $as_mkdir_p; then
24720 while test ! -d "$as_dir"; do
24721 as_dirs="$as_dir $as_dirs"
24722 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24723 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24724 X"$as_dir" : 'X\(//\)[^/]' \| \
24725 X"$as_dir" : 'X\(//\)$' \| \
24726 X"$as_dir" : 'X\(/\)' \| \
24727 . : '\(.\)' 2>/dev/null ||
24729 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24730 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24731 /^X\(\/\/\)$/{ s//\1/; q; }
24732 /^X\(\/\).*/{ s//\1/; q; }
24735 test ! -n "$as_dirs" || mkdir $as_dirs
24736 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24737 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24738 { (exit 1); exit 1; }; }; }
24741 mv $tmp/config.h $ac_file
24745 rm -f $tmp/config.h
24747 # Compute $ac_file's index in $config_headers.
24749 for _am_header in $config_headers :; do
24750 case $_am_header in
24751 $ac_file | $ac_file:* )
24754 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
24757 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
24758 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24759 X$ac_file : 'X\(//\)[^/]' \| \
24760 X$ac_file : 'X\(//\)$' \| \
24761 X$ac_file : 'X\(/\)' \| \
24762 . : '\(.\)' 2>/dev/null ||
24764 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24765 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24766 /^X\(\/\/\)$/{ s//\1/; q; }
24767 /^X\(\/\).*/{ s//\1/; q; }
24768 s/.*/./; q'`/stamp-h$_am_stamp_count
24771 cat >>$CONFIG_STATUS <<\_ACEOF
24774 # CONFIG_COMMANDS section.
24776 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24777 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24778 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24779 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24780 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24781 X"$ac_dest" : 'X\(//\)[^/]' \| \
24782 X"$ac_dest" : 'X\(//\)$' \| \
24783 X"$ac_dest" : 'X\(/\)' \| \
24784 . : '\(.\)' 2>/dev/null ||
24786 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24787 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24788 /^X\(\/\/\)$/{ s//\1/; q; }
24789 /^X\(\/\).*/{ s//\1/; q; }
24791 { if $as_mkdir_p; then
24796 while test ! -d "$as_dir"; do
24797 as_dirs="$as_dir $as_dirs"
24798 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24799 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24800 X"$as_dir" : 'X\(//\)[^/]' \| \
24801 X"$as_dir" : 'X\(//\)$' \| \
24802 X"$as_dir" : 'X\(/\)' \| \
24803 . : '\(.\)' 2>/dev/null ||
24805 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24806 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24807 /^X\(\/\/\)$/{ s//\1/; q; }
24808 /^X\(\/\).*/{ s//\1/; q; }
24811 test ! -n "$as_dirs" || mkdir $as_dirs
24812 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24813 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24814 { (exit 1); exit 1; }; }; }
24818 if test "$ac_dir" != .; then
24819 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24820 # A "../" for each directory in $ac_dir_suffix.
24821 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24823 ac_dir_suffix= ac_top_builddir=
24827 .) # No --srcdir option. We are building in place.
24829 if test -z "$ac_top_builddir"; then
24832 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24834 [\\/]* | ?:[\\/]* ) # Absolute path.
24835 ac_srcdir=$srcdir$ac_dir_suffix;
24836 ac_top_srcdir=$srcdir ;;
24837 *) # Relative path.
24838 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24839 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24842 # Do not use `cd foo && pwd` to compute absolute paths, because
24843 # the directories may not exist.
24845 .) ac_abs_builddir="$ac_dir";;
24848 .) ac_abs_builddir=`pwd`;;
24849 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
24850 *) ac_abs_builddir=`pwd`/"$ac_dir";;
24853 case $ac_abs_builddir in
24854 .) ac_abs_top_builddir=${ac_top_builddir}.;;
24856 case ${ac_top_builddir}. in
24857 .) ac_abs_top_builddir=$ac_abs_builddir;;
24858 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
24859 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
24862 case $ac_abs_builddir in
24863 .) ac_abs_srcdir=$ac_srcdir;;
24866 .) ac_abs_srcdir=$ac_abs_builddir;;
24867 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
24868 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
24871 case $ac_abs_builddir in
24872 .) ac_abs_top_srcdir=$ac_top_srcdir;;
24874 case $ac_top_srcdir in
24875 .) ac_abs_top_srcdir=$ac_abs_builddir;;
24876 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
24877 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
24882 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24883 echo "$as_me: executing $ac_dest commands" >&6;}
24886 # Only add multilib support code if we just rebuilt the top-level
24888 case " $CONFIG_FILES " in
24890 ac_file=Makefile . ${multi_basedir}/config-ml.in
24894 if test "$GCC" = yes; then
24895 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
24897 echo "/* generated for $CC */" > tmp-stdint.h
24900 sed 's/^ *//' >> tmp-stdint.h <<EOF
24902 #ifndef GCC_GENERATED_STDINT_H
24903 #define GCC_GENERATED_STDINT_H 1
24905 #include <sys/types.h>
24908 if test "$acx_cv_header_stdint" != stdint.h; then
24909 echo "#include <stddef.h>" >> tmp-stdint.h
24911 if test "$acx_cv_header_stdint" != stddef.h; then
24912 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
24915 sed 's/^ *//' >> tmp-stdint.h <<EOF
24916 /* glibc uses these symbols as guards to prevent redefinitions. */
24917 #ifdef __int8_t_defined
24922 #ifdef __uint32_t_defined
24928 # ----------------- done header, emit basic int types -------------
24929 if test "$acx_cv_header_stdint" = stddef.h; then
24930 sed 's/^ *//' >> tmp-stdint.h <<EOF
24934 typedef unsigned $acx_cv_type_int8_t uint8_t;
24939 typedef unsigned $acx_cv_type_int16_t uint16_t;
24944 typedef unsigned $acx_cv_type_int32_t uint32_t;
24949 typedef $acx_cv_type_int8_t int8_t;
24954 typedef $acx_cv_type_int16_t int16_t;
24959 typedef $acx_cv_type_int32_t int32_t;
24962 elif test "$ac_cv_type_u_int32_t" = yes; then
24963 sed 's/^ *//' >> tmp-stdint.h <<EOF
24965 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
24978 typedef u_int8_t uint8_t;
24983 typedef u_int16_t uint16_t;
24988 typedef u_int32_t uint32_t;
24992 sed 's/^ *//' >> tmp-stdint.h <<EOF
24994 /* Some systems have guard macros to prevent redefinitions, define them. */
25016 # ------------- done basic int types, emit int64_t types ------------
25017 if test "$ac_cv_type_uint64_t" = yes; then
25018 sed 's/^ *//' >> tmp-stdint.h <<EOF
25020 /* system headers have good uint64_t and int64_t */
25028 elif test "$ac_cv_type_u_int64_t" = yes; then
25029 sed 's/^ *//' >> tmp-stdint.h <<EOF
25031 /* system headers have an u_int64_t (and int64_t) */
25037 typedef u_int64_t uint64_t;
25040 elif test -n "$acx_cv_type_int64_t"; then
25041 sed 's/^ *//' >> tmp-stdint.h <<EOF
25043 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
25046 typedef $acx_cv_type_int64_t int64_t;
25050 typedef unsigned $acx_cv_type_int64_t uint64_t;
25054 sed 's/^ *//' >> tmp-stdint.h <<EOF
25056 /* some common heuristics for int64_t, using compiler-specific tests */
25057 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
25060 typedef long long int64_t;
25064 typedef unsigned long long uint64_t;
25067 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
25068 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
25069 does not implement __extension__. But that compiler doesn't define
25071 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
25072 # define __extension__
25077 __extension__ typedef long long int64_t;
25081 __extension__ typedef unsigned long long uint64_t;
25084 #elif !defined __STRICT_ANSI__
25085 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
25089 typedef __int64 int64_t;
25093 typedef unsigned __int64 uint64_t;
25095 # endif /* compiler */
25097 #endif /* ANSI version */
25101 # ------------- done int64_t types, emit intptr types ------------
25102 if test "$ac_cv_type_uintptr_t" != yes; then
25103 sed 's/^ *//' >> tmp-stdint.h <<EOF
25105 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
25106 typedef u$acx_cv_type_intptr_t uintptr_t;
25107 typedef $acx_cv_type_intptr_t intptr_t;
25111 # ------------- done intptr types, emit int_least types ------------
25112 if test "$ac_cv_type_int_least32_t" != yes; then
25113 sed 's/^ *//' >> tmp-stdint.h <<EOF
25115 /* Define int_least types */
25116 typedef int8_t int_least8_t;
25117 typedef int16_t int_least16_t;
25118 typedef int32_t int_least32_t;
25120 typedef int64_t int_least64_t;
25123 typedef uint8_t uint_least8_t;
25124 typedef uint16_t uint_least16_t;
25125 typedef uint32_t uint_least32_t;
25127 typedef uint64_t uint_least64_t;
25132 # ------------- done intptr types, emit int_fast types ------------
25133 if test "$ac_cv_type_int_fast32_t" != yes; then
25134 sed 's/^ *//' >> tmp-stdint.h <<EOF
25136 /* Define int_fast types. short is often slow */
25137 typedef int8_t int_fast8_t;
25138 typedef int int_fast16_t;
25139 typedef int32_t int_fast32_t;
25141 typedef int64_t int_fast64_t;
25144 typedef uint8_t uint_fast8_t;
25145 typedef unsigned int uint_fast16_t;
25146 typedef uint32_t uint_fast32_t;
25148 typedef uint64_t uint_fast64_t;
25153 if test "$ac_cv_type_uintmax_t" != yes; then
25154 sed 's/^ *//' >> tmp-stdint.h <<EOF
25156 /* Define intmax based on what we found */
25158 typedef int64_t intmax_t;
25160 typedef long intmax_t;
25163 typedef uint64_t uintmax_t;
25165 typedef unsigned long uintmax_t;
25170 sed 's/^ *//' >> tmp-stdint.h <<EOF
25172 #endif /* GCC_GENERATED_STDINT_H */
25175 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
25178 mv -f tmp-stdint.h gstdint.h
25186 cat >>$CONFIG_STATUS <<\_ACEOF
25188 { (exit 0); exit 0; }
25190 chmod +x $CONFIG_STATUS
25191 ac_clean_files=$ac_clean_files_save
25194 # configure is writing to config.log, and then calls config.status.
25195 # config.status does its own redirection, appending to config.log.
25196 # Unfortunately, on DOS this fails, as config.log is still kept open
25197 # by configure, so config.status won't be able to write to it; its
25198 # output is simply discarded. So we exec the FD to /dev/null,
25199 # effectively closing config.log, so it can be properly (re)opened and
25200 # appended to by config.status. When coming back to configure, we
25201 # need to make the FD available again.
25202 if test "$no_create" != yes; then
25204 ac_config_status_args=
25205 test "$silent" = yes &&
25206 ac_config_status_args="$ac_config_status_args --quiet"
25208 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25210 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25211 # would make configure fail if this is the last instruction.
25212 $ac_cs_success || { (exit 1); exit 1; }