2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.3.
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.3'
271 PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
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 DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE 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.3 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.3:";;
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 --disable-dependency-tracking speeds up one-time build
859 --enable-dependency-tracking do not reject slow dependency extractors
860 --enable-shared=PKGS build shared libraries default=yes
861 --enable-static=PKGS build static libraries default=yes
862 --enable-fast-install=PKGS optimize for fast installation default=yes
863 --disable-libtool-lock avoid locking (might break parallel builds)
864 --disable-largefile omit support for large files
867 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
868 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
869 --with-build-libsubdir=DIR Directory where to find libraries for build system
870 --with-gnu-ld assume the C compiler uses GNU ld default=no
871 --with-pic try to use only PIC/non-PIC objects default=use both
873 Some influential environment variables:
874 CC C compiler command
875 CFLAGS C compiler flags
876 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
877 nonstandard directory <lib dir>
878 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
879 headers in a nonstandard directory <include dir>
880 FC Fortran compiler command
881 FCFLAGS Fortran compiler flags
884 Use these variables to override the choices made by `configure' or to help
885 it to find libraries and programs with nonstandard names/locations.
890 if test "$ac_init_help" = "recursive"; then
891 # If there are subdirs, report their specific --help.
893 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
894 test -d $ac_dir || continue
897 if test "$ac_dir" != .; then
898 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
899 # A "../" for each directory in $ac_dir_suffix.
900 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
902 ac_dir_suffix= ac_top_builddir=
906 .) # No --srcdir option. We are building in place.
908 if test -z "$ac_top_builddir"; then
911 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
913 [\\/]* | ?:[\\/]* ) # Absolute path.
914 ac_srcdir=$srcdir$ac_dir_suffix;
915 ac_top_srcdir=$srcdir ;;
917 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
918 ac_top_srcdir=$ac_top_builddir$srcdir ;;
921 # Do not use `cd foo && pwd` to compute absolute paths, because
922 # the directories may not exist.
924 .) ac_abs_builddir="$ac_dir";;
927 .) ac_abs_builddir=`pwd`;;
928 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
929 *) ac_abs_builddir=`pwd`/"$ac_dir";;
932 case $ac_abs_builddir in
933 .) ac_abs_top_builddir=${ac_top_builddir}.;;
935 case ${ac_top_builddir}. in
936 .) ac_abs_top_builddir=$ac_abs_builddir;;
937 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
938 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
941 case $ac_abs_builddir in
942 .) ac_abs_srcdir=$ac_srcdir;;
945 .) ac_abs_srcdir=$ac_abs_builddir;;
946 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
947 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
950 case $ac_abs_builddir in
951 .) ac_abs_top_srcdir=$ac_top_srcdir;;
953 case $ac_top_srcdir in
954 .) ac_abs_top_srcdir=$ac_abs_builddir;;
955 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
956 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
961 # Check for guested configure; otherwise get Cygnus style configure.
962 if test -f $ac_srcdir/configure.gnu; then
964 $SHELL $ac_srcdir/configure.gnu --help=recursive
965 elif test -f $ac_srcdir/configure; then
967 $SHELL $ac_srcdir/configure --help=recursive
968 elif test -f $ac_srcdir/configure.ac ||
969 test -f $ac_srcdir/configure.in; then
973 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
979 test -n "$ac_init_help" && exit 0
980 if $ac_init_version; then
982 GNU Fortran Runtime Library configure 0.3
983 generated by GNU Autoconf 2.59
985 Copyright (C) 2003 Free Software Foundation, Inc.
986 This configure script is free software; the Free Software Foundation
987 gives unlimited permission to copy, distribute and modify it.
993 This file contains any messages produced by compilers while
994 running configure, to aid debugging if configure makes a mistake.
996 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
997 generated by GNU Autoconf 2.59. Invocation command line was
1008 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1009 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1010 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1011 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1012 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1014 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1015 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1017 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1018 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1019 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1020 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1021 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1022 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1023 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1031 test -z "$as_dir" && as_dir=.
1032 echo "PATH: $as_dir"
1047 # Keep a trace of the command line.
1048 # Strip out --no-create and --no-recursion so they do not pile up.
1049 # Strip out --silent because we don't want to record it for future runs.
1050 # Also quote any args containing shell meta-characters.
1051 # Make two passes to allow for proper duplicate-argument suppression.
1056 ac_must_keep_next=false
1062 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064 | -silent | --silent | --silen | --sile | --sil)
1066 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1067 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1070 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1072 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1073 if test $ac_must_keep_next = true; then
1074 ac_must_keep_next=false # Got value, back to normal.
1077 *=* | --config-cache | -C | -disable-* | --disable-* \
1078 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1079 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1080 | -with-* | --with-* | -without-* | --without-* | --x)
1081 case "$ac_configure_args0 " in
1082 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1085 -* ) ac_must_keep_next=true ;;
1088 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1089 # Get rid of the leading space.
1095 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1096 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1098 # When interrupted or exit'd, cleanup temporary files, and complete
1099 # config.log. We remove comments because anyway the quotes in there
1100 # would cause problems or look ugly.
1101 # WARNING: Be sure not to use single quotes in there, as some shells,
1102 # such as our DU 5.0 friend, will then `close' the trap.
1103 trap 'exit_status=$?
1104 # Save into config.log some information that might help in debugging.
1109 ## ---------------- ##
1110 ## Cache variables. ##
1111 ## ---------------- ##
1114 # The following way of writing the cache mishandles newlines in values,
1117 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1120 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1125 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1132 ## ----------------- ##
1133 ## Output variables. ##
1134 ## ----------------- ##
1137 for ac_var in $ac_subst_vars
1139 eval ac_val=$`echo $ac_var`
1140 echo "$ac_var='"'"'$ac_val'"'"'"
1144 if test -n "$ac_subst_files"; then
1151 for ac_var in $ac_subst_files
1153 eval ac_val=$`echo $ac_var`
1154 echo "$ac_var='"'"'$ac_val'"'"'"
1159 if test -s confdefs.h; then
1166 sed "/^$/d" confdefs.h | sort
1169 test "$ac_signal" != 0 &&
1170 echo "$as_me: caught signal $ac_signal"
1171 echo "$as_me: exit $exit_status"
1173 rm -f core *.core &&
1174 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1177 for ac_signal in 1 2 13 15; do
1178 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1182 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1183 rm -rf conftest* confdefs.h
1184 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1187 # Predefined preprocessor variables.
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_NAME "$PACKAGE_NAME"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_STRING "$PACKAGE_STRING"
1209 cat >>confdefs.h <<_ACEOF
1210 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1214 # Let the site file select an alternate cache file if it wants to.
1215 # Prefer explicitly selected file to automatically selected ones.
1216 if test -z "$CONFIG_SITE"; then
1217 if test "x$prefix" != xNONE; then
1218 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1220 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1223 for ac_site_file in $CONFIG_SITE; do
1224 if test -r "$ac_site_file"; then
1225 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1226 echo "$as_me: loading site script $ac_site_file" >&6;}
1227 sed 's/^/| /' "$ac_site_file" >&5
1232 if test -r "$cache_file"; then
1233 # Some versions of bash will fail to source /dev/null (special
1234 # files actually), so we avoid doing that.
1235 if test -f "$cache_file"; then
1236 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1237 echo "$as_me: loading cache $cache_file" >&6;}
1239 [\\/]* | ?:[\\/]* ) . $cache_file;;
1240 *) . ./$cache_file;;
1244 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1245 echo "$as_me: creating cache $cache_file" >&6;}
1249 # Check that the precious variables saved in the cache have kept the same
1251 ac_cache_corrupted=false
1252 for ac_var in `(set) 2>&1 |
1253 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1254 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1255 eval ac_new_set=\$ac_env_${ac_var}_set
1256 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1257 eval ac_new_val="\$ac_env_${ac_var}_value"
1258 case $ac_old_set,$ac_new_set in
1260 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1261 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1262 ac_cache_corrupted=: ;;
1264 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1265 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1266 ac_cache_corrupted=: ;;
1269 if test "x$ac_old_val" != "x$ac_new_val"; then
1270 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1271 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1272 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1273 echo "$as_me: former value: $ac_old_val" >&2;}
1274 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1275 echo "$as_me: current value: $ac_new_val" >&2;}
1276 ac_cache_corrupted=:
1279 # Pass precious variables to config.status.
1280 if test "$ac_new_set" = set; then
1282 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1283 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1284 *) ac_arg=$ac_var=$ac_new_val ;;
1286 case " $ac_configure_args " in
1287 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1288 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1292 if $ac_cache_corrupted; then
1293 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1294 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1295 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1296 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1297 { (exit 1); exit 1; }; }
1301 ac_cpp='$CPP $CPPFLAGS'
1302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1332 ac_config_headers="$ac_config_headers config.h"
1335 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1336 if test -f $ac_dir/install-sh; then
1338 ac_install_sh="$ac_aux_dir/install-sh -c"
1340 elif test -f $ac_dir/install.sh; then
1342 ac_install_sh="$ac_aux_dir/install.sh -c"
1344 elif test -f $ac_dir/shtool; then
1346 ac_install_sh="$ac_aux_dir/shtool install -c"
1350 if test -z "$ac_aux_dir"; then
1351 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1352 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1353 { (exit 1); exit 1; }; }
1355 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1356 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1357 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1359 # Make sure we can run config.sub.
1360 $ac_config_sub sun4 >/dev/null 2>&1 ||
1361 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1362 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1363 { (exit 1); exit 1; }; }
1365 echo "$as_me:$LINENO: checking build system type" >&5
1366 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1367 if test "${ac_cv_build+set}" = set; then
1368 echo $ECHO_N "(cached) $ECHO_C" >&6
1370 ac_cv_build_alias=$build_alias
1371 test -z "$ac_cv_build_alias" &&
1372 ac_cv_build_alias=`$ac_config_guess`
1373 test -z "$ac_cv_build_alias" &&
1374 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1375 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1376 { (exit 1); exit 1; }; }
1377 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1378 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1379 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1380 { (exit 1); exit 1; }; }
1383 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1384 echo "${ECHO_T}$ac_cv_build" >&6
1386 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1387 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1388 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1391 case ${build_alias} in
1392 "") build_noncanonical=${build} ;;
1393 *) build_noncanonical=${build_alias} ;;
1396 case ${host_alias} in
1397 "") host_noncanonical=${build_noncanonical} ;;
1398 *) host_noncanonical=${host_alias} ;;
1401 case ${target_alias} in
1402 "") target_noncanonical=${host_noncanonical} ;;
1403 *) target_noncanonical=${target_alias} ;;
1407 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1408 # have matching libraries, they should use host libraries: Makefile.tpl
1409 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1410 # However, they still use the build modules, because the corresponding
1411 # host modules (e.g. bison) are only built for the host when bootstrap
1413 # - build_subdir is where we find build modules, and never changes.
1414 # - build_libsubdir is where we find build libraries, and can be overridden.
1416 # Prefix 'build-' so this never conflicts with target_subdir.
1417 build_subdir="build-${build_noncanonical}"
1419 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1420 if test "${with_build_libsubdir+set}" = set; then
1421 withval="$with_build_libsubdir"
1422 build_libsubdir="$withval"
1424 build_libsubdir="$build_subdir"
1426 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1427 if ( test $srcdir = . && test -d gcc ) \
1428 || test -d $srcdir/../host-${host_noncanonical}; then
1429 host_subdir="host-${host_noncanonical}"
1434 target_subdir=${target_noncanonical}
1441 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1442 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1443 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1444 if test "${enable_version_specific_runtime_libs+set}" = set; then
1445 enableval="$enable_version_specific_runtime_libs"
1446 case "$enableval" in
1447 yes) version_specific_libs=yes ;;
1448 no) version_specific_libs=no ;;
1449 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1450 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1451 { (exit 1); exit 1; }; };;
1454 version_specific_libs=no
1456 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1457 echo "${ECHO_T}$version_specific_libs" >&6
1460 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1462 # You will slowly go insane if you do not grok the following fact: when
1463 # building this library, the top-level /target/ becomes the library's /host/.
1465 # configure then causes --target to default to --host, exactly like any
1466 # other package using autoconf. Therefore, 'target' and 'host' will
1467 # always be the same. This makes sense both for native and cross compilers
1468 # just think about it for a little while. :-)
1470 # Also, if this library is being configured as part of a cross compiler, the
1471 # top-level configure script will pass the "real" host as $with_cross_host.
1473 # Do not delete or change the following two lines. For why, see
1474 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1475 echo "$as_me:$LINENO: checking host system type" >&5
1476 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1477 if test "${ac_cv_host+set}" = set; then
1478 echo $ECHO_N "(cached) $ECHO_C" >&6
1480 ac_cv_host_alias=$host_alias
1481 test -z "$ac_cv_host_alias" &&
1482 ac_cv_host_alias=$ac_cv_build_alias
1483 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1484 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1485 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1486 { (exit 1); exit 1; }; }
1489 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1490 echo "${ECHO_T}$ac_cv_host" >&6
1492 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1493 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1494 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1497 echo "$as_me:$LINENO: checking target system type" >&5
1498 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1499 if test "${ac_cv_target+set}" = set; then
1500 echo $ECHO_N "(cached) $ECHO_C" >&6
1502 ac_cv_target_alias=$target_alias
1503 test "x$ac_cv_target_alias" = "x" &&
1504 ac_cv_target_alias=$ac_cv_host_alias
1505 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1506 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1507 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1508 { (exit 1); exit 1; }; }
1511 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1512 echo "${ECHO_T}$ac_cv_target" >&6
1513 target=$ac_cv_target
1514 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1515 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1516 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1519 # The aliases save the names the user supplied, while $host etc.
1520 # will get canonicalized.
1521 test -n "$target_alias" &&
1522 test "$program_prefix$program_suffix$program_transform_name" = \
1524 program_prefix=${target_alias}-
1525 target_alias=${target_alias-$host_alias}
1527 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1528 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1529 # 1.9.6: minimum required version
1530 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1531 # of other PACKAGE_* variables will, however, and there's nothing
1532 # we can do about that; they come from AC_INIT).
1533 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1534 # file in the top srcdir, etc, etc), so stop complaining.
1535 # -Wall: turns on all automake warnings...
1536 # -Wno-portability: ...except this one, since GNU make is required.
1537 am__api_version="1.9"
1538 # Find a good install program. We prefer a C program (faster),
1539 # so one script is as good as another. But avoid the broken or
1540 # incompatible versions:
1541 # SysV /etc/install, /usr/sbin/install
1542 # SunOS /usr/etc/install
1543 # IRIX /sbin/install
1545 # AmigaOS /C/install, which installs bootblocks on floppy discs
1546 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1547 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1548 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1549 # OS/2's system install, which has a completely different semantic
1550 # ./install, which can be erroneously created by make from ./install.sh.
1551 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1552 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1553 if test -z "$INSTALL"; then
1554 if test "${ac_cv_path_install+set}" = set; then
1555 echo $ECHO_N "(cached) $ECHO_C" >&6
1557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1561 test -z "$as_dir" && as_dir=.
1562 # Account for people who put trailing slashes in PATH elements.
1564 ./ | .// | /cC/* | \
1565 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1566 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1569 # OSF1 and SCO ODT 3.0 have their own names for install.
1570 # Don't use installbsd from OSF since it installs stuff as root
1572 for ac_prog in ginstall scoinst install; do
1573 for ac_exec_ext in '' $ac_executable_extensions; do
1574 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1575 if test $ac_prog = install &&
1576 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1577 # AIX install. It has an incompatible calling convention.
1579 elif test $ac_prog = install &&
1580 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1581 # program-specific install script used by HP pwplus--don't use.
1584 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1596 if test "${ac_cv_path_install+set}" = set; then
1597 INSTALL=$ac_cv_path_install
1599 # As a last resort, use the slow shell script. We don't cache a
1600 # path for INSTALL within a source directory, because that will
1601 # break other packages using the cache if that directory is
1602 # removed, or if the path is relative.
1603 INSTALL=$ac_install_sh
1606 echo "$as_me:$LINENO: result: $INSTALL" >&5
1607 echo "${ECHO_T}$INSTALL" >&6
1609 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1610 # It thinks the first close brace ends the variable substitution.
1611 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1613 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1615 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1617 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1618 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1621 echo timestamp > conftest.file
1622 # Do `set' in a subshell so we don't clobber the current shell's
1623 # arguments. Must try -L first in case configure is actually a
1624 # symlink; some systems play weird games with the mod time of symlinks
1625 # (eg FreeBSD returns the mod time of the symlink's containing
1628 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1629 if test "$*" = "X"; then
1631 set X `ls -t $srcdir/configure conftest.file`
1634 if test "$*" != "X $srcdir/configure conftest.file" \
1635 && test "$*" != "X conftest.file $srcdir/configure"; then
1637 # If neither matched, then we have a broken ls. This can happen
1638 # if, for instance, CONFIG_SHELL is bash and it inherits a
1639 # broken ls alias from the environment. This has actually
1640 # happened. Such a system could not be considered "sane".
1641 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1642 alias in your environment" >&5
1643 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1644 alias in your environment" >&2;}
1645 { (exit 1); exit 1; }; }
1648 test "$2" = conftest.file
1654 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1655 Check your system clock" >&5
1656 echo "$as_me: error: newly created file is older than distributed files!
1657 Check your system clock" >&2;}
1658 { (exit 1); exit 1; }; }
1660 echo "$as_me:$LINENO: result: yes" >&5
1661 echo "${ECHO_T}yes" >&6
1662 test "$program_prefix" != NONE &&
1663 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1664 # Use a double $ so make ignores it.
1665 test "$program_suffix" != NONE &&
1666 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1667 # Double any \ or $. echo might interpret backslashes.
1668 # By default was `s,x,x', remove it if useless.
1669 cat <<\_ACEOF >conftest.sed
1670 s/[\\$]/&&/g;s/;s,x,x,$//
1672 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1675 # expand $ac_aux_dir to an absolute path
1676 am_aux_dir=`cd $ac_aux_dir && pwd`
1678 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1679 # Use eval to expand $SHELL
1680 if eval "$MISSING --run true"; then
1681 am_missing_run="$MISSING --run "
1684 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1685 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1688 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1689 # We used to keeping the `.' as first argument, in order to
1690 # allow $(mkdir_p) to be used without argument. As in
1691 # $(mkdir_p) $(somedir)
1692 # where $(somedir) is conditionally defined. However this is wrong
1694 # 1. if the package is installed by a user who cannot write `.'
1695 # make install will fail,
1696 # 2. the above comment should most certainly read
1697 # $(mkdir_p) $(DESTDIR)$(somedir)
1698 # so it does not work when $(somedir) is undefined and
1699 # $(DESTDIR) is not.
1700 # To support the latter case, we have to write
1701 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1702 # so the `.' trick is pointless.
1703 mkdir_p='mkdir -p --'
1705 # On NextStep and OpenStep, the `mkdir' command does not
1706 # recognize any option. It will interpret all options as
1707 # directories to create, and then abort because `.' already
1709 for d in ./-p ./--version;
1711 test -d $d && rmdir $d
1713 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1714 if test -f "$ac_aux_dir/mkinstalldirs"; then
1715 mkdir_p='$(mkinstalldirs)'
1717 mkdir_p='$(install_sh) -d'
1721 for ac_prog in gawk mawk nawk awk
1723 # Extract the first word of "$ac_prog", so it can be a program name with args.
1724 set dummy $ac_prog; ac_word=$2
1725 echo "$as_me:$LINENO: checking for $ac_word" >&5
1726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1727 if test "${ac_cv_prog_AWK+set}" = set; then
1728 echo $ECHO_N "(cached) $ECHO_C" >&6
1730 if test -n "$AWK"; then
1731 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1737 test -z "$as_dir" && as_dir=.
1738 for ac_exec_ext in '' $ac_executable_extensions; do
1739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1740 ac_cv_prog_AWK="$ac_prog"
1741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1750 if test -n "$AWK"; then
1751 echo "$as_me:$LINENO: result: $AWK" >&5
1752 echo "${ECHO_T}$AWK" >&6
1754 echo "$as_me:$LINENO: result: no" >&5
1755 echo "${ECHO_T}no" >&6
1758 test -n "$AWK" && break
1761 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1762 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1763 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1764 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1765 echo $ECHO_N "(cached) $ECHO_C" >&6
1767 cat >conftest.make <<\_ACEOF
1769 @echo 'ac_maketemp="$(MAKE)"'
1771 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1772 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1773 if test -n "$ac_maketemp"; then
1774 eval ac_cv_prog_make_${ac_make}_set=yes
1776 eval ac_cv_prog_make_${ac_make}_set=no
1780 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1781 echo "$as_me:$LINENO: result: yes" >&5
1782 echo "${ECHO_T}yes" >&6
1785 echo "$as_me:$LINENO: result: no" >&5
1786 echo "${ECHO_T}no" >&6
1787 SET_MAKE="MAKE=${MAKE-make}"
1790 rm -rf .tst 2>/dev/null
1791 mkdir .tst 2>/dev/null
1792 if test -d .tst; then
1797 rmdir .tst 2>/dev/null
1799 # test to see if srcdir already configured
1800 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1801 test -f $srcdir/config.status; then
1802 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1803 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1804 { (exit 1); exit 1; }; }
1807 # test whether we have cygpath
1808 if test -z "$CYGPATH_W"; then
1809 if (cygpath --version) >/dev/null 2>/dev/null; then
1810 CYGPATH_W='cygpath -w'
1817 # Define the identity of the package.
1818 PACKAGE='libgfortran'
1822 # Some tools Automake needs.
1824 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1827 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1830 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1833 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1836 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1838 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1840 # Installed binaries are usually stripped using `strip' when the user
1841 # run `make install-strip'. However `strip' might not be the right
1842 # tool to use in cross-compilation environments, therefore Automake
1843 # will honor the `STRIP' environment variable to overrule this program.
1844 if test "$cross_compiling" != no; then
1845 if test -n "$ac_tool_prefix"; then
1846 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1847 set dummy ${ac_tool_prefix}strip; ac_word=$2
1848 echo "$as_me:$LINENO: checking for $ac_word" >&5
1849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1850 if test "${ac_cv_prog_STRIP+set}" = set; then
1851 echo $ECHO_N "(cached) $ECHO_C" >&6
1853 if test -n "$STRIP"; then
1854 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1860 test -z "$as_dir" && as_dir=.
1861 for ac_exec_ext in '' $ac_executable_extensions; do
1862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1863 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1872 STRIP=$ac_cv_prog_STRIP
1873 if test -n "$STRIP"; then
1874 echo "$as_me:$LINENO: result: $STRIP" >&5
1875 echo "${ECHO_T}$STRIP" >&6
1877 echo "$as_me:$LINENO: result: no" >&5
1878 echo "${ECHO_T}no" >&6
1882 if test -z "$ac_cv_prog_STRIP"; then
1884 # Extract the first word of "strip", so it can be a program name with args.
1885 set dummy strip; ac_word=$2
1886 echo "$as_me:$LINENO: checking for $ac_word" >&5
1887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1888 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1889 echo $ECHO_N "(cached) $ECHO_C" >&6
1891 if test -n "$ac_ct_STRIP"; then
1892 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1898 test -z "$as_dir" && as_dir=.
1899 for ac_exec_ext in '' $ac_executable_extensions; do
1900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1901 ac_cv_prog_ac_ct_STRIP="strip"
1902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1908 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1911 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1912 if test -n "$ac_ct_STRIP"; then
1913 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1914 echo "${ECHO_T}$ac_ct_STRIP" >&6
1916 echo "$as_me:$LINENO: result: no" >&5
1917 echo "${ECHO_T}no" >&6
1922 STRIP="$ac_cv_prog_STRIP"
1926 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1928 # We need awk for the "check" target. The system "awk" is bad on
1930 # Always define AMTAR for backward compatibility.
1932 AMTAR=${AMTAR-"${am_missing_run}tar"}
1934 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1941 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1942 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1943 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1944 if test "${enable_maintainer_mode+set}" = set; then
1945 enableval="$enable_maintainer_mode"
1946 USE_MAINTAINER_MODE=$enableval
1948 USE_MAINTAINER_MODE=no
1950 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1951 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1954 if test $USE_MAINTAINER_MODE = yes; then
1955 MAINTAINER_MODE_TRUE=
1956 MAINTAINER_MODE_FALSE='#'
1958 MAINTAINER_MODE_TRUE='#'
1959 MAINTAINER_MODE_FALSE=
1962 MAINT=$MAINTAINER_MODE_TRUE
1965 # Default to --enable-multilib
1966 # Check whether --enable-multilib or --disable-multilib was given.
1967 if test "${enable_multilib+set}" = set; then
1968 enableval="$enable_multilib"
1969 case "$enableval" in
1970 yes) multilib=yes ;;
1972 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1973 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1974 { (exit 1); exit 1; }; } ;;
1980 # We may get other options which we leave undocumented:
1981 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1982 # See config-ml.in if you want the gory details.
1984 if test "$srcdir" = "."; then
1985 if test "$with_target_subdir" != "."; then
1986 multi_basedir="$srcdir/$with_multisrctop../.."
1988 multi_basedir="$srcdir/$with_multisrctop.."
1991 multi_basedir="$srcdir/.."
1995 # Even if the default multilib is not a cross compilation,
1996 # it may be that some of the other multilibs are.
1997 if test $cross_compiling = no && test $multilib = yes \
1998 && test "x${with_multisubdir}" != x ; then
1999 cross_compiling=maybe
2002 ac_config_commands="$ac_config_commands default-1"
2005 # Handy for debugging:
2006 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2008 # Are we being configured with some form of cross compiler?
2009 # NB: We don't actually need to know this just now, but when, say, a test
2010 # suite is included, we'll have to know.
2011 if test "$build" != "$host"; then
2012 LIBGFOR_IS_NATIVE=false
2015 LIBGFOR_IS_NATIVE=true
2018 # Calculate toolexeclibdir
2019 # Also toolexecdir, though it's only used in toolexeclibdir
2020 case ${version_specific_libs} in
2022 # Need the gcc compiler version to know where to install libraries
2023 # and header files if --enable-version-specific-runtime-libs option
2025 toolexecdir='$(libdir)/gcc/$(target_alias)'
2026 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2029 if test -n "$with_cross_host" &&
2030 test x"$with_cross_host" != x"no"; then
2031 # Install a library built with a cross compiler in tooldir, not libdir.
2032 toolexecdir='$(exec_prefix)/$(target_alias)'
2033 toolexeclibdir='$(toolexecdir)/lib'
2035 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2036 toolexeclibdir='$(libdir)'
2038 multi_os_directory=`$CC -print-multi-os-directory`
2039 case $multi_os_directory in
2040 .) ;; # Avoid trailing /.
2041 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2048 # Check the compiler.
2049 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2050 # We must force CC to /not/ be precious variables; otherwise
2051 # the wrong, non-multilib-adjusted value will be used in multilibs.
2052 # As a side effect, we have to subst CFLAGS ourselves.
2057 ac_cpp='$CPP $CPPFLAGS'
2058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2061 if test -n "$ac_tool_prefix"; then
2062 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2063 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2064 echo "$as_me:$LINENO: checking for $ac_word" >&5
2065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2066 if test "${ac_cv_prog_CC+set}" = set; then
2067 echo $ECHO_N "(cached) $ECHO_C" >&6
2069 if test -n "$CC"; then
2070 ac_cv_prog_CC="$CC" # Let the user override the test.
2072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2076 test -z "$as_dir" && as_dir=.
2077 for ac_exec_ext in '' $ac_executable_extensions; do
2078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2079 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2089 if test -n "$CC"; then
2090 echo "$as_me:$LINENO: result: $CC" >&5
2091 echo "${ECHO_T}$CC" >&6
2093 echo "$as_me:$LINENO: result: no" >&5
2094 echo "${ECHO_T}no" >&6
2098 if test -z "$ac_cv_prog_CC"; then
2100 # Extract the first word of "gcc", so it can be a program name with args.
2101 set dummy gcc; ac_word=$2
2102 echo "$as_me:$LINENO: checking for $ac_word" >&5
2103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2104 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2105 echo $ECHO_N "(cached) $ECHO_C" >&6
2107 if test -n "$ac_ct_CC"; then
2108 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2114 test -z "$as_dir" && as_dir=.
2115 for ac_exec_ext in '' $ac_executable_extensions; do
2116 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2117 ac_cv_prog_ac_ct_CC="gcc"
2118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2126 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2127 if test -n "$ac_ct_CC"; then
2128 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2129 echo "${ECHO_T}$ac_ct_CC" >&6
2131 echo "$as_me:$LINENO: result: no" >&5
2132 echo "${ECHO_T}no" >&6
2140 if test -z "$CC"; then
2141 if test -n "$ac_tool_prefix"; then
2142 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2143 set dummy ${ac_tool_prefix}cc; ac_word=$2
2144 echo "$as_me:$LINENO: checking for $ac_word" >&5
2145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2146 if test "${ac_cv_prog_CC+set}" = set; then
2147 echo $ECHO_N "(cached) $ECHO_C" >&6
2149 if test -n "$CC"; then
2150 ac_cv_prog_CC="$CC" # Let the user override the test.
2152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2156 test -z "$as_dir" && as_dir=.
2157 for ac_exec_ext in '' $ac_executable_extensions; do
2158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2159 ac_cv_prog_CC="${ac_tool_prefix}cc"
2160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2169 if test -n "$CC"; then
2170 echo "$as_me:$LINENO: result: $CC" >&5
2171 echo "${ECHO_T}$CC" >&6
2173 echo "$as_me:$LINENO: result: no" >&5
2174 echo "${ECHO_T}no" >&6
2178 if test -z "$ac_cv_prog_CC"; then
2180 # Extract the first word of "cc", so it can be a program name with args.
2181 set dummy cc; ac_word=$2
2182 echo "$as_me:$LINENO: checking for $ac_word" >&5
2183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2184 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2185 echo $ECHO_N "(cached) $ECHO_C" >&6
2187 if test -n "$ac_ct_CC"; then
2188 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2194 test -z "$as_dir" && as_dir=.
2195 for ac_exec_ext in '' $ac_executable_extensions; do
2196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2197 ac_cv_prog_ac_ct_CC="cc"
2198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2206 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2207 if test -n "$ac_ct_CC"; then
2208 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2209 echo "${ECHO_T}$ac_ct_CC" >&6
2211 echo "$as_me:$LINENO: result: no" >&5
2212 echo "${ECHO_T}no" >&6
2221 if test -z "$CC"; then
2222 # Extract the first word of "cc", so it can be a program name with args.
2223 set dummy cc; ac_word=$2
2224 echo "$as_me:$LINENO: checking for $ac_word" >&5
2225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2226 if test "${ac_cv_prog_CC+set}" = set; then
2227 echo $ECHO_N "(cached) $ECHO_C" >&6
2229 if test -n "$CC"; then
2230 ac_cv_prog_CC="$CC" # Let the user override the test.
2233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2237 test -z "$as_dir" && as_dir=.
2238 for ac_exec_ext in '' $ac_executable_extensions; do
2239 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2240 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2241 ac_prog_rejected=yes
2245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2251 if test $ac_prog_rejected = yes; then
2252 # We found a bogon in the path, so make sure we never use it.
2253 set dummy $ac_cv_prog_CC
2255 if test $# != 0; then
2256 # We chose a different compiler from the bogus one.
2257 # However, it has the same basename, so the bogon will be chosen
2258 # first if we set CC to just the basename; use the full file name.
2260 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2266 if test -n "$CC"; then
2267 echo "$as_me:$LINENO: result: $CC" >&5
2268 echo "${ECHO_T}$CC" >&6
2270 echo "$as_me:$LINENO: result: no" >&5
2271 echo "${ECHO_T}no" >&6
2275 if test -z "$CC"; then
2276 if test -n "$ac_tool_prefix"; then
2279 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2280 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2281 echo "$as_me:$LINENO: checking for $ac_word" >&5
2282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2283 if test "${ac_cv_prog_CC+set}" = set; then
2284 echo $ECHO_N "(cached) $ECHO_C" >&6
2286 if test -n "$CC"; then
2287 ac_cv_prog_CC="$CC" # Let the user override the test.
2289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2293 test -z "$as_dir" && as_dir=.
2294 for ac_exec_ext in '' $ac_executable_extensions; do
2295 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2296 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2306 if test -n "$CC"; then
2307 echo "$as_me:$LINENO: result: $CC" >&5
2308 echo "${ECHO_T}$CC" >&6
2310 echo "$as_me:$LINENO: result: no" >&5
2311 echo "${ECHO_T}no" >&6
2314 test -n "$CC" && break
2317 if test -z "$CC"; then
2321 # Extract the first word of "$ac_prog", so it can be a program name with args.
2322 set dummy $ac_prog; ac_word=$2
2323 echo "$as_me:$LINENO: checking for $ac_word" >&5
2324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2325 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2326 echo $ECHO_N "(cached) $ECHO_C" >&6
2328 if test -n "$ac_ct_CC"; then
2329 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2335 test -z "$as_dir" && as_dir=.
2336 for ac_exec_ext in '' $ac_executable_extensions; do
2337 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2338 ac_cv_prog_ac_ct_CC="$ac_prog"
2339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2347 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2348 if test -n "$ac_ct_CC"; then
2349 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2350 echo "${ECHO_T}$ac_ct_CC" >&6
2352 echo "$as_me:$LINENO: result: no" >&5
2353 echo "${ECHO_T}no" >&6
2356 test -n "$ac_ct_CC" && break
2365 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2366 See \`config.log' for more details." >&5
2367 echo "$as_me: error: no acceptable C compiler found in \$PATH
2368 See \`config.log' for more details." >&2;}
2369 { (exit 1); exit 1; }; }
2371 # Provide some information about the compiler.
2372 echo "$as_me:$LINENO:" \
2373 "checking for C compiler version" >&5
2374 ac_compiler=`set X $ac_compile; echo $2`
2375 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2376 (eval $ac_compiler --version </dev/null >&5) 2>&5
2378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2379 (exit $ac_status); }
2380 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2381 (eval $ac_compiler -v </dev/null >&5) 2>&5
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }
2385 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2386 (eval $ac_compiler -V </dev/null >&5) 2>&5
2388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389 (exit $ac_status); }
2391 cat >conftest.$ac_ext <<_ACEOF
2394 cat confdefs.h >>conftest.$ac_ext
2395 cat >>conftest.$ac_ext <<_ACEOF
2396 /* end confdefs.h. */
2407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2408 (eval $ac_link) 2>&5
2410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2411 (exit $ac_status); }; then
2417 if test x$gcc_no_link = xyes; then
2418 # Setting cross_compile will disable run tests; it will
2419 # also disable AC_CHECK_FILE but that's generally
2420 # correct if we can't link.
2424 cat >conftest.$ac_ext <<_ACEOF
2427 cat confdefs.h >>conftest.$ac_ext
2428 cat >>conftest.$ac_ext <<_ACEOF
2429 /* end confdefs.h. */
2439 ac_clean_files_save=$ac_clean_files
2440 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2441 # Try to create an executable without -o first, disregard a.out.
2442 # It will help us diagnose broken compilers, and finding out an intuition
2444 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2445 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2446 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2447 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2448 (eval $ac_link_default) 2>&5
2450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2451 (exit $ac_status); }; then
2452 # Find the output, starting from the most likely. This scheme is
2453 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2456 # Be careful to initialize this variable, since it used to be cached.
2457 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2459 # b.out is created by i960 compilers.
2460 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2462 test -f "$ac_file" || continue
2464 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2467 # This is the source file.
2470 # We found the default executable, but exeext='' is most
2474 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2475 # FIXME: I believe we export ac_cv_exeext for Libtool,
2476 # but it would be cool to find out if it's true. Does anybody
2477 # maintain Libtool? --akim.
2485 echo "$as_me: failed program was:" >&5
2486 sed 's/^/| /' conftest.$ac_ext >&5
2488 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2489 See \`config.log' for more details." >&5
2490 echo "$as_me: error: C compiler cannot create executables
2491 See \`config.log' for more details." >&2;}
2492 { (exit 77); exit 77; }; }
2495 ac_exeext=$ac_cv_exeext
2496 echo "$as_me:$LINENO: result: $ac_file" >&5
2497 echo "${ECHO_T}$ac_file" >&6
2499 # Check the compiler produces executables we can run. If not, either
2500 # the compiler is broken, or we cross compile.
2501 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2502 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2503 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2504 # If not cross compiling, check that we can run a simple program.
2505 if test "$cross_compiling" != yes; then
2506 if { ac_try='./$ac_file'
2507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2511 (exit $ac_status); }; }; then
2514 if test "$cross_compiling" = maybe; then
2517 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2518 If you meant to cross compile, use \`--host'.
2519 See \`config.log' for more details." >&5
2520 echo "$as_me: error: cannot run C compiled programs.
2521 If you meant to cross compile, use \`--host'.
2522 See \`config.log' for more details." >&2;}
2523 { (exit 1); exit 1; }; }
2527 echo "$as_me:$LINENO: result: yes" >&5
2528 echo "${ECHO_T}yes" >&6
2530 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2531 ac_clean_files=$ac_clean_files_save
2532 # Check the compiler produces executables we can run. If not, either
2533 # the compiler is broken, or we cross compile.
2534 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2535 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2536 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2537 echo "${ECHO_T}$cross_compiling" >&6
2539 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2540 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2542 (eval $ac_link) 2>&5
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); }; then
2546 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2547 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2548 # work properly (i.e., refer to `conftest.exe'), while it won't with
2550 for ac_file in conftest.exe conftest conftest.*; do
2551 test -f "$ac_file" || continue
2553 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2554 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2561 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2562 See \`config.log' for more details." >&5
2563 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2564 See \`config.log' for more details." >&2;}
2565 { (exit 1); exit 1; }; }
2568 rm -f conftest$ac_cv_exeext
2569 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2570 echo "${ECHO_T}$ac_cv_exeext" >&6
2572 rm -f conftest.$ac_ext
2573 EXEEXT=$ac_cv_exeext
2576 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2577 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2578 if test "${ac_cv_objext+set}" = set; then
2579 echo $ECHO_N "(cached) $ECHO_C" >&6
2581 cat >conftest.$ac_ext <<_ACEOF
2584 cat confdefs.h >>conftest.$ac_ext
2585 cat >>conftest.$ac_ext <<_ACEOF
2586 /* end confdefs.h. */
2596 rm -f conftest.o conftest.obj
2597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2598 (eval $ac_compile) 2>&5
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); }; then
2602 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2604 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2605 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2610 echo "$as_me: failed program was:" >&5
2611 sed 's/^/| /' conftest.$ac_ext >&5
2613 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2614 See \`config.log' for more details." >&5
2615 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2616 See \`config.log' for more details." >&2;}
2617 { (exit 1); exit 1; }; }
2620 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2622 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2623 echo "${ECHO_T}$ac_cv_objext" >&6
2624 OBJEXT=$ac_cv_objext
2626 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2627 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2628 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2629 echo $ECHO_N "(cached) $ECHO_C" >&6
2631 cat >conftest.$ac_ext <<_ACEOF
2634 cat confdefs.h >>conftest.$ac_ext
2635 cat >>conftest.$ac_ext <<_ACEOF
2636 /* end confdefs.h. */
2649 rm -f conftest.$ac_objext
2650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2651 (eval $ac_compile) 2>conftest.er1
2653 grep -v '^ *+' conftest.er1 >conftest.err
2655 cat conftest.err >&5
2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); } &&
2658 { ac_try='test -z "$ac_c_werror_flag"
2659 || test ! -s conftest.err'
2660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); }; } &&
2665 { ac_try='test -s conftest.$ac_objext'
2666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); }; }; then
2673 echo "$as_me: failed program was:" >&5
2674 sed 's/^/| /' conftest.$ac_ext >&5
2678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2679 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2682 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2683 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2684 GCC=`test $ac_compiler_gnu = yes && echo yes`
2685 ac_test_CFLAGS=${CFLAGS+set}
2686 ac_save_CFLAGS=$CFLAGS
2688 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2689 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2690 if test "${ac_cv_prog_cc_g+set}" = set; then
2691 echo $ECHO_N "(cached) $ECHO_C" >&6
2693 cat >conftest.$ac_ext <<_ACEOF
2696 cat confdefs.h >>conftest.$ac_ext
2697 cat >>conftest.$ac_ext <<_ACEOF
2698 /* end confdefs.h. */
2708 rm -f conftest.$ac_objext
2709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2710 (eval $ac_compile) 2>conftest.er1
2712 grep -v '^ *+' conftest.er1 >conftest.err
2714 cat conftest.err >&5
2715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716 (exit $ac_status); } &&
2717 { ac_try='test -z "$ac_c_werror_flag"
2718 || test ! -s conftest.err'
2719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2723 (exit $ac_status); }; } &&
2724 { ac_try='test -s conftest.$ac_objext'
2725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2729 (exit $ac_status); }; }; then
2732 echo "$as_me: failed program was:" >&5
2733 sed 's/^/| /' conftest.$ac_ext >&5
2737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2739 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2740 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2741 if test "$ac_test_CFLAGS" = set; then
2742 CFLAGS=$ac_save_CFLAGS
2743 elif test $ac_cv_prog_cc_g = yes; then
2744 if test "$GCC" = yes; then
2750 if test "$GCC" = yes; then
2756 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2757 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2758 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2759 echo $ECHO_N "(cached) $ECHO_C" >&6
2761 ac_cv_prog_cc_stdc=no
2763 cat >conftest.$ac_ext <<_ACEOF
2766 cat confdefs.h >>conftest.$ac_ext
2767 cat >>conftest.$ac_ext <<_ACEOF
2768 /* end confdefs.h. */
2771 #include <sys/types.h>
2772 #include <sys/stat.h>
2773 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2774 struct buf { int x; };
2775 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2776 static char *e (p, i)
2782 static char *f (char * (*g) (char **, int), char **p, ...)
2787 s = g (p, va_arg (v,int));
2792 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2793 function prototypes and stuff, but not '\xHH' hex character constants.
2794 These don't provoke an error unfortunately, instead are silently treated
2795 as 'x'. The following induces an error, until -std1 is added to get
2796 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2797 array size at least. It's necessary to write '\x00'==0 to get something
2798 that's true only with -std1. */
2799 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2801 int test (int i, double x);
2802 struct s1 {int (*f) (int a);};
2803 struct s2 {int (*f) (double a);};
2804 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2810 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2815 # Don't try gcc -ansi; that turns off useful extensions and
2816 # breaks some systems' header files.
2817 # AIX -qlanglvl=ansi
2818 # Ultrix and OSF/1 -std1
2819 # HP-UX 10.20 and later -Ae
2820 # HP-UX older versions -Aa -D_HPUX_SOURCE
2821 # SVR4 -Xc -D__EXTENSIONS__
2822 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2824 CC="$ac_save_CC $ac_arg"
2825 rm -f conftest.$ac_objext
2826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2827 (eval $ac_compile) 2>conftest.er1
2829 grep -v '^ *+' conftest.er1 >conftest.err
2831 cat conftest.err >&5
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); } &&
2834 { ac_try='test -z "$ac_c_werror_flag"
2835 || test ! -s conftest.err'
2836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); }; } &&
2841 { ac_try='test -s conftest.$ac_objext'
2842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }; }; then
2847 ac_cv_prog_cc_stdc=$ac_arg
2850 echo "$as_me: failed program was:" >&5
2851 sed 's/^/| /' conftest.$ac_ext >&5
2854 rm -f conftest.err conftest.$ac_objext
2856 rm -f conftest.$ac_ext conftest.$ac_objext
2861 case "x$ac_cv_prog_cc_stdc" in
2863 echo "$as_me:$LINENO: result: none needed" >&5
2864 echo "${ECHO_T}none needed" >&6 ;;
2866 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2867 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2868 CC="$CC $ac_cv_prog_cc_stdc" ;;
2871 # Some people use a C++ compiler to compile C. Since we use `exit',
2872 # in C++ we need to declare it. In case someone uses the same compiler
2873 # for both compiling C and C++ we need to have the C++ compiler decide
2874 # the declaration of exit, since it's the most demanding environment.
2875 cat >conftest.$ac_ext <<_ACEOF
2880 rm -f conftest.$ac_objext
2881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2882 (eval $ac_compile) 2>conftest.er1
2884 grep -v '^ *+' conftest.er1 >conftest.err
2886 cat conftest.err >&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); } &&
2889 { ac_try='test -z "$ac_c_werror_flag"
2890 || test ! -s conftest.err'
2891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895 (exit $ac_status); }; } &&
2896 { ac_try='test -s conftest.$ac_objext'
2897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901 (exit $ac_status); }; }; then
2902 for ac_declaration in \
2904 'extern "C" void std::exit (int) throw (); using std::exit;' \
2905 'extern "C" void std::exit (int); using std::exit;' \
2906 'extern "C" void exit (int) throw ();' \
2907 'extern "C" void exit (int);' \
2910 cat >conftest.$ac_ext <<_ACEOF
2913 cat confdefs.h >>conftest.$ac_ext
2914 cat >>conftest.$ac_ext <<_ACEOF
2915 /* end confdefs.h. */
2926 rm -f conftest.$ac_objext
2927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2928 (eval $ac_compile) 2>conftest.er1
2930 grep -v '^ *+' conftest.er1 >conftest.err
2932 cat conftest.err >&5
2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); } &&
2935 { ac_try='test -z "$ac_c_werror_flag"
2936 || test ! -s conftest.err'
2937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941 (exit $ac_status); }; } &&
2942 { ac_try='test -s conftest.$ac_objext'
2943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); }; }; then
2950 echo "$as_me: failed program was:" >&5
2951 sed 's/^/| /' conftest.$ac_ext >&5
2955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2956 cat >conftest.$ac_ext <<_ACEOF
2959 cat confdefs.h >>conftest.$ac_ext
2960 cat >>conftest.$ac_ext <<_ACEOF
2961 /* end confdefs.h. */
2971 rm -f conftest.$ac_objext
2972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2973 (eval $ac_compile) 2>conftest.er1
2975 grep -v '^ *+' conftest.er1 >conftest.err
2977 cat conftest.err >&5
2978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979 (exit $ac_status); } &&
2980 { ac_try='test -z "$ac_c_werror_flag"
2981 || test ! -s conftest.err'
2982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); }; } &&
2987 { ac_try='test -s conftest.$ac_objext'
2988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992 (exit $ac_status); }; }; then
2995 echo "$as_me: failed program was:" >&5
2996 sed 's/^/| /' conftest.$ac_ext >&5
2999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3002 if test -n "$ac_declaration"; then
3003 echo '#ifdef __cplusplus' >>confdefs.h
3004 echo $ac_declaration >>confdefs.h
3005 echo '#endif' >>confdefs.h
3009 echo "$as_me: failed program was:" >&5
3010 sed 's/^/| /' conftest.$ac_ext >&5
3013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3015 ac_cpp='$CPP $CPPFLAGS'
3016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3019 DEPDIR="${am__leading_dot}deps"
3021 ac_config_commands="$ac_config_commands depfiles"
3024 am_make=${MAKE-make}
3025 cat > confinc << 'END'
3030 # If we don't find an include directive, just comment out the code.
3031 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3032 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3036 # First try GNU make style include.
3037 echo "include confinc" > confmf
3038 # We grep out `Entering directory' and `Leaving directory'
3039 # messages which can occur if `w' ends up in MAKEFLAGS.
3040 # In particular we don't look at `^make:' because GNU make might
3041 # be invoked under some other name (usually "gmake"), in which
3042 # case it prints its new name instead of `make'.
3043 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3048 # Now try BSD make style include.
3049 if test "$am__include" = "#"; then
3050 echo '.include "confinc"' > confmf
3051 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3052 am__include=.include
3059 echo "$as_me:$LINENO: result: $_am_result" >&5
3060 echo "${ECHO_T}$_am_result" >&6
3061 rm -f confinc confmf
3063 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3064 if test "${enable_dependency_tracking+set}" = set; then
3065 enableval="$enable_dependency_tracking"
3068 if test "x$enable_dependency_tracking" != xno; then
3069 am_depcomp="$ac_aux_dir/depcomp"
3074 if test "x$enable_dependency_tracking" != xno; then
3085 depcc="$CC" am_compiler_list=
3087 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3088 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3089 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3090 echo $ECHO_N "(cached) $ECHO_C" >&6
3092 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3093 # We make a subdir and do the tests there. Otherwise we can end up
3094 # making bogus files that we don't know about and never remove. For
3095 # instance it was reported that on HP-UX the gcc test will end up
3096 # making a dummy file named `D' -- because `-MD' means `put the output
3099 # Copy depcomp to subdir because otherwise we won't find it if we're
3100 # using a relative directory.
3101 cp "$am_depcomp" conftest.dir
3103 # We will build objects and dependencies in a subdirectory because
3104 # it helps to detect inapplicable dependency modes. For instance
3105 # both Tru64's cc and ICC support -MD to output dependencies as a
3106 # side effect of compilation, but ICC will put the dependencies in
3107 # the current directory while Tru64 will put them in the object
3111 am_cv_CC_dependencies_compiler_type=none
3112 if test "$am_compiler_list" = ""; then
3113 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3115 for depmode in $am_compiler_list; do
3116 # Setup a source with many dependencies, because some compilers
3117 # like to wrap large dependency lists on column 80 (with \), and
3118 # we should not choose a depcomp mode which is confused by this.
3120 # We need to recreate these files for each test, as the compiler may
3121 # overwrite some of them when testing with obscure command lines.
3122 # This happens at least with the AIX C compiler.
3124 for i in 1 2 3 4 5 6; do
3125 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3126 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3127 # Solaris 8's {/usr,}/bin/sh.
3128 touch sub/conftst$i.h
3130 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3134 # after this tag, mechanisms are not by side-effect, so they'll
3135 # only be used when explicitly requested
3136 if test "x$enable_dependency_tracking" = xyes; then
3144 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3145 # mode. It turns out that the SunPro C++ compiler does not properly
3146 # handle `-M -o', and we need to detect this.
3147 if depmode=$depmode \
3148 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3149 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3150 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3151 >/dev/null 2>conftest.err &&
3152 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3153 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3154 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3155 # icc doesn't choke on unknown options, it will just issue warnings
3156 # or remarks (even with -Werror). So we grep stderr for any message
3157 # that says an option was ignored or not supported.
3158 # When given -MP, icc 7.0 and 7.1 complain thusly:
3159 # icc: Command line warning: ignoring option '-M'; no argument required
3160 # The diagnosis changed in icc 8.0:
3161 # icc: Command line remark: option '-MP' not supported
3162 if (grep 'ignoring option' conftest.err ||
3163 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3164 am_cv_CC_dependencies_compiler_type=$depmode
3173 am_cv_CC_dependencies_compiler_type=none
3177 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3178 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3179 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3184 test "x$enable_dependency_tracking" != xno \
3185 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3187 am__fastdepCC_FALSE='#'
3189 am__fastdepCC_TRUE='#'
3190 am__fastdepCC_FALSE=
3196 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
3197 if test "x$GCC" = "xyes"; then
3198 AM_FCFLAGS="-I . -Wall -fno-repack-arrays -fno-underscoring"
3199 ## We like to use C99 routines when available. This makes sure that
3200 ## __STDC_VERSION__ is set such that libc includes make them available.
3201 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
3202 ## Compile the following tests with the same system header contents
3203 ## that we'll encounter when compiling our own source files.
3204 CFLAGS="-std=gnu99 $CFLAGS"
3209 # Find other programs we need.
3210 if test -n "$ac_tool_prefix"; then
3211 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3212 set dummy ${ac_tool_prefix}as; ac_word=$2
3213 echo "$as_me:$LINENO: checking for $ac_word" >&5
3214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3215 if test "${ac_cv_prog_AS+set}" = set; then
3216 echo $ECHO_N "(cached) $ECHO_C" >&6
3218 if test -n "$AS"; then
3219 ac_cv_prog_AS="$AS" # Let the user override the test.
3221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3225 test -z "$as_dir" && as_dir=.
3226 for ac_exec_ext in '' $ac_executable_extensions; do
3227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3228 ac_cv_prog_AS="${ac_tool_prefix}as"
3229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3238 if test -n "$AS"; then
3239 echo "$as_me:$LINENO: result: $AS" >&5
3240 echo "${ECHO_T}$AS" >&6
3242 echo "$as_me:$LINENO: result: no" >&5
3243 echo "${ECHO_T}no" >&6
3247 if test -z "$ac_cv_prog_AS"; then
3249 # Extract the first word of "as", so it can be a program name with args.
3250 set dummy as; ac_word=$2
3251 echo "$as_me:$LINENO: checking for $ac_word" >&5
3252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3253 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3254 echo $ECHO_N "(cached) $ECHO_C" >&6
3256 if test -n "$ac_ct_AS"; then
3257 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3263 test -z "$as_dir" && as_dir=.
3264 for ac_exec_ext in '' $ac_executable_extensions; do
3265 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3266 ac_cv_prog_ac_ct_AS="as"
3267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3275 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3276 if test -n "$ac_ct_AS"; then
3277 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3278 echo "${ECHO_T}$ac_ct_AS" >&6
3280 echo "$as_me:$LINENO: result: no" >&5
3281 echo "${ECHO_T}no" >&6
3289 if test -n "$ac_tool_prefix"; then
3290 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3291 set dummy ${ac_tool_prefix}ar; ac_word=$2
3292 echo "$as_me:$LINENO: checking for $ac_word" >&5
3293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3294 if test "${ac_cv_prog_AR+set}" = set; then
3295 echo $ECHO_N "(cached) $ECHO_C" >&6
3297 if test -n "$AR"; then
3298 ac_cv_prog_AR="$AR" # Let the user override the test.
3300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3304 test -z "$as_dir" && as_dir=.
3305 for ac_exec_ext in '' $ac_executable_extensions; do
3306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3307 ac_cv_prog_AR="${ac_tool_prefix}ar"
3308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3317 if test -n "$AR"; then
3318 echo "$as_me:$LINENO: result: $AR" >&5
3319 echo "${ECHO_T}$AR" >&6
3321 echo "$as_me:$LINENO: result: no" >&5
3322 echo "${ECHO_T}no" >&6
3326 if test -z "$ac_cv_prog_AR"; then
3328 # Extract the first word of "ar", so it can be a program name with args.
3329 set dummy ar; ac_word=$2
3330 echo "$as_me:$LINENO: checking for $ac_word" >&5
3331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3332 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3333 echo $ECHO_N "(cached) $ECHO_C" >&6
3335 if test -n "$ac_ct_AR"; then
3336 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3342 test -z "$as_dir" && as_dir=.
3343 for ac_exec_ext in '' $ac_executable_extensions; do
3344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3345 ac_cv_prog_ac_ct_AR="ar"
3346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3354 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3355 if test -n "$ac_ct_AR"; then
3356 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3357 echo "${ECHO_T}$ac_ct_AR" >&6
3359 echo "$as_me:$LINENO: result: no" >&5
3360 echo "${ECHO_T}no" >&6
3368 if test -n "$ac_tool_prefix"; then
3369 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3370 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3371 echo "$as_me:$LINENO: checking for $ac_word" >&5
3372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3373 if test "${ac_cv_prog_RANLIB+set}" = set; then
3374 echo $ECHO_N "(cached) $ECHO_C" >&6
3376 if test -n "$RANLIB"; then
3377 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3383 test -z "$as_dir" && as_dir=.
3384 for ac_exec_ext in '' $ac_executable_extensions; do
3385 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3386 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3395 RANLIB=$ac_cv_prog_RANLIB
3396 if test -n "$RANLIB"; then
3397 echo "$as_me:$LINENO: result: $RANLIB" >&5
3398 echo "${ECHO_T}$RANLIB" >&6
3400 echo "$as_me:$LINENO: result: no" >&5
3401 echo "${ECHO_T}no" >&6
3405 if test -z "$ac_cv_prog_RANLIB"; then
3406 ac_ct_RANLIB=$RANLIB
3407 # Extract the first word of "ranlib", so it can be a program name with args.
3408 set dummy ranlib; ac_word=$2
3409 echo "$as_me:$LINENO: checking for $ac_word" >&5
3410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3411 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3412 echo $ECHO_N "(cached) $ECHO_C" >&6
3414 if test -n "$ac_ct_RANLIB"; then
3415 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3421 test -z "$as_dir" && as_dir=.
3422 for ac_exec_ext in '' $ac_executable_extensions; do
3423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3424 ac_cv_prog_ac_ct_RANLIB="ranlib"
3425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3431 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3434 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3435 if test -n "$ac_ct_RANLIB"; then
3436 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3437 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3439 echo "$as_me:$LINENO: result: no" >&5
3440 echo "${ECHO_T}no" >&6
3443 RANLIB=$ac_ct_RANLIB
3445 RANLIB="$ac_cv_prog_RANLIB"
3448 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3449 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3450 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3451 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3452 echo $ECHO_N "(cached) $ECHO_C" >&6
3454 cat >conftest.make <<\_ACEOF
3456 @echo 'ac_maketemp="$(MAKE)"'
3458 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3459 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3460 if test -n "$ac_maketemp"; then
3461 eval ac_cv_prog_make_${ac_make}_set=yes
3463 eval ac_cv_prog_make_${ac_make}_set=no
3467 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3468 echo "$as_me:$LINENO: result: yes" >&5
3469 echo "${ECHO_T}yes" >&6
3472 echo "$as_me:$LINENO: result: no" >&5
3473 echo "${ECHO_T}no" >&6
3474 SET_MAKE="MAKE=${MAKE-make}"
3477 # Find a good install program. We prefer a C program (faster),
3478 # so one script is as good as another. But avoid the broken or
3479 # incompatible versions:
3480 # SysV /etc/install, /usr/sbin/install
3481 # SunOS /usr/etc/install
3482 # IRIX /sbin/install
3484 # AmigaOS /C/install, which installs bootblocks on floppy discs
3485 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3486 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3487 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3488 # OS/2's system install, which has a completely different semantic
3489 # ./install, which can be erroneously created by make from ./install.sh.
3490 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3491 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3492 if test -z "$INSTALL"; then
3493 if test "${ac_cv_path_install+set}" = set; then
3494 echo $ECHO_N "(cached) $ECHO_C" >&6
3496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3500 test -z "$as_dir" && as_dir=.
3501 # Account for people who put trailing slashes in PATH elements.
3503 ./ | .// | /cC/* | \
3504 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3505 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3508 # OSF1 and SCO ODT 3.0 have their own names for install.
3509 # Don't use installbsd from OSF since it installs stuff as root
3511 for ac_prog in ginstall scoinst install; do
3512 for ac_exec_ext in '' $ac_executable_extensions; do
3513 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3514 if test $ac_prog = install &&
3515 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3516 # AIX install. It has an incompatible calling convention.
3518 elif test $ac_prog = install &&
3519 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3520 # program-specific install script used by HP pwplus--don't use.
3523 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3535 if test "${ac_cv_path_install+set}" = set; then
3536 INSTALL=$ac_cv_path_install
3538 # As a last resort, use the slow shell script. We don't cache a
3539 # path for INSTALL within a source directory, because that will
3540 # break other packages using the cache if that directory is
3541 # removed, or if the path is relative.
3542 INSTALL=$ac_install_sh
3545 echo "$as_me:$LINENO: result: $INSTALL" >&5
3546 echo "${ECHO_T}$INSTALL" >&6
3548 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3549 # It thinks the first close brace ends the variable substitution.
3550 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3552 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3554 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3558 #AC_MSG_NOTICE([====== Starting libtool configuration])
3560 # Check whether --enable-shared or --disable-shared was given.
3561 if test "${enable_shared+set}" = set; then
3562 enableval="$enable_shared"
3563 p=${PACKAGE-default}
3565 yes) enable_shared=yes ;;
3566 no) enable_shared=no ;;
3569 # Look at the argument we got. We use all the common list separators.
3570 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3571 for pkg in $enableval; do
3572 if test "X$pkg" = "X$p"; then
3582 # Check whether --enable-static or --disable-static was given.
3583 if test "${enable_static+set}" = set; then
3584 enableval="$enable_static"
3585 p=${PACKAGE-default}
3587 yes) enable_static=yes ;;
3588 no) enable_static=no ;;
3591 # Look at the argument we got. We use all the common list separators.
3592 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3593 for pkg in $enableval; do
3594 if test "X$pkg" = "X$p"; then
3604 # Check whether --enable-fast-install or --disable-fast-install was given.
3605 if test "${enable_fast_install+set}" = set; then
3606 enableval="$enable_fast_install"
3607 p=${PACKAGE-default}
3609 yes) enable_fast_install=yes ;;
3610 no) enable_fast_install=no ;;
3612 enable_fast_install=no
3613 # Look at the argument we got. We use all the common list separators.
3614 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3615 for pkg in $enableval; do
3616 if test "X$pkg" = "X$p"; then
3617 enable_fast_install=yes
3624 enable_fast_install=yes
3627 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3628 if test "${with_gnu_ld+set}" = set; then
3629 withval="$with_gnu_ld"
3630 test "$withval" = no || with_gnu_ld=yes
3635 if test "$GCC" = yes; then
3636 # Check if gcc -print-prog-name=ld gives a path.
3637 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3638 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3641 # gcc leaves a trailing carriage return which upsets mingw
3642 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3644 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3647 # Accept absolute paths.
3648 [\\/]* | [A-Za-z]:[\\/]*)
3649 re_direlt='/[^/][^/]*/\.\./'
3650 # Canonicalize the path of ld
3651 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3652 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3653 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3655 test -z "$LD" && LD="$ac_prog"
3658 # If it fails, then pretend we aren't using GCC.
3662 # If it is relative, then search for the first ld in PATH.
3666 elif test "$with_gnu_ld" = yes; then
3667 echo "$as_me:$LINENO: checking for GNU ld" >&5
3668 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3670 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3671 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3673 if test "${lt_cv_path_LD+set}" = set; then
3674 echo $ECHO_N "(cached) $ECHO_C" >&6
3676 if test -z "$LD"; then
3677 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3678 for ac_dir in $PATH; do
3679 test -z "$ac_dir" && ac_dir=.
3680 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3681 lt_cv_path_LD="$ac_dir/$ac_prog"
3682 # Check to see if the program is GNU ld. I'd rather use --version,
3683 # but apparently some GNU ld's only accept -v.
3684 # Break only if it was the GNU/non-GNU ld that we prefer.
3685 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3686 test "$with_gnu_ld" != no && break
3688 test "$with_gnu_ld" != yes && break
3694 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3699 if test -n "$LD"; then
3700 echo "$as_me:$LINENO: result: $LD" >&5
3701 echo "${ECHO_T}$LD" >&6
3703 echo "$as_me:$LINENO: result: no" >&5
3704 echo "${ECHO_T}no" >&6
3706 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3707 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3708 { (exit 1); exit 1; }; }
3709 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3710 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3711 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3712 echo $ECHO_N "(cached) $ECHO_C" >&6
3714 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3715 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3716 lt_cv_prog_gnu_ld=yes
3718 lt_cv_prog_gnu_ld=no
3721 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3722 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3723 with_gnu_ld=$lt_cv_prog_gnu_ld
3726 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3727 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3728 if test "${lt_cv_ld_reload_flag+set}" = set; then
3729 echo $ECHO_N "(cached) $ECHO_C" >&6
3731 lt_cv_ld_reload_flag='-r'
3733 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3734 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3735 reload_flag=$lt_cv_ld_reload_flag
3736 test -n "$reload_flag" && reload_flag=" $reload_flag"
3738 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3739 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3740 if test "${lt_cv_path_NM+set}" = set; then
3741 echo $ECHO_N "(cached) $ECHO_C" >&6
3743 if test -n "$NM"; then
3744 # Let the user override the test.
3747 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3748 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3749 test -z "$ac_dir" && ac_dir=.
3750 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3751 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3752 # Check to see if the nm accepts a BSD-compat flag.
3753 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3754 # nm: unknown option "B" ignored
3755 # Tru64's nm complains that /dev/null is an invalid object file
3756 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3757 lt_cv_path_NM="$tmp_nm -B"
3759 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3760 lt_cv_path_NM="$tmp_nm -p"
3763 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3764 continue # so that we can try to find one that supports BSD flags
3769 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3774 echo "$as_me:$LINENO: result: $NM" >&5
3775 echo "${ECHO_T}$NM" >&6
3777 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3778 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3780 if test "$LN_S" = "ln -s"; then
3781 echo "$as_me:$LINENO: result: yes" >&5
3782 echo "${ECHO_T}yes" >&6
3784 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3785 echo "${ECHO_T}no, using $LN_S" >&6
3788 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3789 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3790 if test "${lt_cv_deplibs_check_method+set}" = set; then
3791 echo $ECHO_N "(cached) $ECHO_C" >&6
3793 lt_cv_file_magic_cmd='$MAGIC_CMD'
3794 lt_cv_file_magic_test_file=
3795 lt_cv_deplibs_check_method='unknown'
3796 # Need to set the preceding variable on all platforms that support
3797 # interlibrary dependencies.
3798 # 'none' -- dependencies not supported.
3799 # `unknown' -- same as none, but documents that we really don't know.
3800 # 'pass_all' -- all dependencies passed with no checks.
3801 # 'test_compile' -- check by making test program.
3802 # 'file_magic [regex]' -- check by looking for files in library path
3803 # which responds to the $file_magic_cmd with a given egrep regex.
3804 # If you have `file' or equivalent on your system and you're not sure
3805 # whether `pass_all' will *always* work, you probably want this one.
3809 lt_cv_deplibs_check_method=pass_all
3813 lt_cv_deplibs_check_method=pass_all
3817 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3818 lt_cv_file_magic_cmd='/usr/bin/file -L'
3819 lt_cv_file_magic_test_file=/shlib/libc.so
3822 cygwin* | mingw* |pw32*)
3823 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3824 lt_cv_file_magic_cmd='$OBJDUMP -f'
3827 darwin* | rhapsody*)
3828 # this will be overwritten by pass_all, but leave it in just in case
3829 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3830 lt_cv_file_magic_cmd='/usr/bin/file -L'
3832 rhapsody* | darwin1.012)
3833 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3836 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3839 lt_cv_deplibs_check_method=pass_all
3842 freebsd* | kfreebsd*-gnu)
3843 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3846 # Not sure whether the presence of OpenBSD here was a mistake.
3847 # Let's accept both of them until this is cleared up.
3848 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3849 lt_cv_file_magic_cmd=/usr/bin/file
3850 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3854 lt_cv_deplibs_check_method=pass_all
3859 lt_cv_deplibs_check_method=pass_all
3865 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3866 lt_cv_file_magic_cmd=/usr/bin/file
3867 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3870 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3871 lt_cv_file_magic_cmd=/usr/bin/file
3872 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3880 # this will be overridden with pass_all, but let us keep it just in case
3881 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3885 *-32|*"-32 ") libmagic=32-bit;;
3886 *-n32|*"-n32 ") libmagic=N32;;
3887 *-64|*"-64 ") libmagic=64-bit;;
3888 *) libmagic=never-match;;
3890 # this will be overridden with pass_all, but let us keep it just in case
3891 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3894 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3895 lt_cv_deplibs_check_method=pass_all
3898 # This must be Linux ELF.
3900 lt_cv_deplibs_check_method=pass_all
3903 netbsd* | knetbsd*-gnu)
3904 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3905 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3907 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3912 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3913 lt_cv_file_magic_cmd=/usr/bin/file
3914 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3917 osf3* | osf4* | osf5*)
3918 # this will be overridden with pass_all, but let us keep it just in case
3919 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3920 lt_cv_file_magic_test_file=/shlib/libc.so
3921 lt_cv_deplibs_check_method=pass_all
3925 lt_cv_deplibs_check_method=pass_all
3929 lt_cv_deplibs_check_method=pass_all
3930 lt_cv_file_magic_test_file=/lib/libc.so
3933 sysv5uw[78]* | sysv4*uw2*)
3934 lt_cv_deplibs_check_method=pass_all
3937 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3938 case $host_vendor in
3940 lt_cv_deplibs_check_method=pass_all
3943 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]'
3944 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3951 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3952 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3953 file_magic_cmd=$lt_cv_file_magic_cmd
3954 deplibs_check_method=$lt_cv_deplibs_check_method
3960 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3962 # find the maximum length of command line arguments
3963 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3964 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3965 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3966 echo $ECHO_N "(cached) $ECHO_C" >&6
3973 # On DJGPP, this test can blow up pretty badly due to problems in libc
3974 # (any single argument exceeding 2000 bytes causes a buffer overrun
3975 # during glob expansion). Even if it were fixed, the result of this
3976 # check would be larger than it should be.
3977 lt_cv_sys_max_cmd_len=12288; # 12K is about right
3981 # On Win9x/ME, this test blows up -- it succeeds, but takes
3982 # about 5 minutes as the teststring grows exponentially.
3983 # Worse, since 9x/ME are not pre-emptively multitasking,
3984 # you end up with a "frozen" computer, even though with patience
3985 # the test eventually succeeds (with a max line length of 256k).
3986 # Instead, let's just punt: use the minimum linelength reported by
3987 # all of the supported platforms: 8192 (on NT/2K/XP).
3988 lt_cv_sys_max_cmd_len=8192;
3992 # On AmigaOS with pdksh, this test takes hours, literally.
3993 # So we just punt and use a minimum line length of 8192.
3994 lt_cv_sys_max_cmd_len=8192;
3997 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3998 # This has been around since 386BSD, at least. Likely further.
3999 if test -x /sbin/sysctl; then
4000 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4001 elif test -x /usr/sbin/sysctl; then
4002 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4004 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4006 # And add a safety zone
4007 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4008 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4014 if test -n "$lt_cv_sys_max_cmd_len" ; then
4015 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4016 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4018 echo "$as_me:$LINENO: result: none" >&5
4019 echo "${ECHO_T}none" >&6
4023 # Only perform the check for file, if the check method requires it
4024 case $deplibs_check_method in
4026 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4027 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4028 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4029 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4030 echo $ECHO_N "(cached) $ECHO_C" >&6
4034 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4037 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4040 ac_save_MAGIC_CMD="$MAGIC_CMD"
4041 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4042 ac_dummy="/usr/bin:$PATH"
4043 for ac_dir in $ac_dummy; do
4044 test -z "$ac_dir" && ac_dir=.
4045 if test -f $ac_dir/${ac_tool_prefix}file; then
4046 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4047 if test -n "$file_magic_test_file"; then
4048 case $deplibs_check_method in
4050 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4051 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4052 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4053 egrep "$file_magic_regex" > /dev/null; then
4058 *** Warning: the command libtool uses to detect shared libraries,
4059 *** $file_magic_cmd, produces output that libtool cannot recognize.
4060 *** The result is that libtool may fail to recognize shared libraries
4061 *** as such. This will affect the creation of libtool libraries that
4062 *** depend on shared libraries, but programs linked with such libtool
4063 *** libraries will work regardless of this problem. Nevertheless, you
4064 *** may want to report the problem to your system manager and/or to
4065 *** bug-libtool@gnu.org
4075 MAGIC_CMD="$ac_save_MAGIC_CMD"
4080 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4081 if test -n "$MAGIC_CMD"; then
4082 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4083 echo "${ECHO_T}$MAGIC_CMD" >&6
4085 echo "$as_me:$LINENO: result: no" >&5
4086 echo "${ECHO_T}no" >&6
4089 if test -z "$lt_cv_path_MAGIC_CMD"; then
4090 if test -n "$ac_tool_prefix"; then
4091 echo "$as_me:$LINENO: checking for file" >&5
4092 echo $ECHO_N "checking for file... $ECHO_C" >&6
4093 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4094 echo $ECHO_N "(cached) $ECHO_C" >&6
4098 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4101 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4104 ac_save_MAGIC_CMD="$MAGIC_CMD"
4105 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4106 ac_dummy="/usr/bin:$PATH"
4107 for ac_dir in $ac_dummy; do
4108 test -z "$ac_dir" && ac_dir=.
4109 if test -f $ac_dir/file; then
4110 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4111 if test -n "$file_magic_test_file"; then
4112 case $deplibs_check_method in
4114 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4115 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4116 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4117 egrep "$file_magic_regex" > /dev/null; then
4122 *** Warning: the command libtool uses to detect shared libraries,
4123 *** $file_magic_cmd, produces output that libtool cannot recognize.
4124 *** The result is that libtool may fail to recognize shared libraries
4125 *** as such. This will affect the creation of libtool libraries that
4126 *** depend on shared libraries, but programs linked with such libtool
4127 *** libraries will work regardless of this problem. Nevertheless, you
4128 *** may want to report the problem to your system manager and/or to
4129 *** bug-libtool@gnu.org
4139 MAGIC_CMD="$ac_save_MAGIC_CMD"
4144 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4145 if test -n "$MAGIC_CMD"; then
4146 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4147 echo "${ECHO_T}$MAGIC_CMD" >&6
4149 echo "$as_me:$LINENO: result: no" >&5
4150 echo "${ECHO_T}no" >&6
4162 if test -n "$ac_tool_prefix"; then
4163 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4164 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4165 echo "$as_me:$LINENO: checking for $ac_word" >&5
4166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4167 if test "${ac_cv_prog_RANLIB+set}" = set; then
4168 echo $ECHO_N "(cached) $ECHO_C" >&6
4170 if test -n "$RANLIB"; then
4171 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4177 test -z "$as_dir" && as_dir=.
4178 for ac_exec_ext in '' $ac_executable_extensions; do
4179 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4180 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4189 RANLIB=$ac_cv_prog_RANLIB
4190 if test -n "$RANLIB"; then
4191 echo "$as_me:$LINENO: result: $RANLIB" >&5
4192 echo "${ECHO_T}$RANLIB" >&6
4194 echo "$as_me:$LINENO: result: no" >&5
4195 echo "${ECHO_T}no" >&6
4199 if test -z "$ac_cv_prog_RANLIB"; then
4200 ac_ct_RANLIB=$RANLIB
4201 # Extract the first word of "ranlib", so it can be a program name with args.
4202 set dummy ranlib; ac_word=$2
4203 echo "$as_me:$LINENO: checking for $ac_word" >&5
4204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4205 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4206 echo $ECHO_N "(cached) $ECHO_C" >&6
4208 if test -n "$ac_ct_RANLIB"; then
4209 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4215 test -z "$as_dir" && as_dir=.
4216 for ac_exec_ext in '' $ac_executable_extensions; do
4217 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4218 ac_cv_prog_ac_ct_RANLIB="ranlib"
4219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4225 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4228 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4229 if test -n "$ac_ct_RANLIB"; then
4230 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4231 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4233 echo "$as_me:$LINENO: result: no" >&5
4234 echo "${ECHO_T}no" >&6
4237 RANLIB=$ac_ct_RANLIB
4239 RANLIB="$ac_cv_prog_RANLIB"
4242 if test -n "$ac_tool_prefix"; then
4243 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4244 set dummy ${ac_tool_prefix}strip; ac_word=$2
4245 echo "$as_me:$LINENO: checking for $ac_word" >&5
4246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4247 if test "${ac_cv_prog_STRIP+set}" = set; then
4248 echo $ECHO_N "(cached) $ECHO_C" >&6
4250 if test -n "$STRIP"; then
4251 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4257 test -z "$as_dir" && as_dir=.
4258 for ac_exec_ext in '' $ac_executable_extensions; do
4259 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4260 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4269 STRIP=$ac_cv_prog_STRIP
4270 if test -n "$STRIP"; then
4271 echo "$as_me:$LINENO: result: $STRIP" >&5
4272 echo "${ECHO_T}$STRIP" >&6
4274 echo "$as_me:$LINENO: result: no" >&5
4275 echo "${ECHO_T}no" >&6
4279 if test -z "$ac_cv_prog_STRIP"; then
4281 # Extract the first word of "strip", so it can be a program name with args.
4282 set dummy strip; ac_word=$2
4283 echo "$as_me:$LINENO: checking for $ac_word" >&5
4284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4285 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4286 echo $ECHO_N "(cached) $ECHO_C" >&6
4288 if test -n "$ac_ct_STRIP"; then
4289 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4295 test -z "$as_dir" && as_dir=.
4296 for ac_exec_ext in '' $ac_executable_extensions; do
4297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4298 ac_cv_prog_ac_ct_STRIP="strip"
4299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4305 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4308 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4309 if test -n "$ac_ct_STRIP"; then
4310 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4311 echo "${ECHO_T}$ac_ct_STRIP" >&6
4313 echo "$as_me:$LINENO: result: no" >&5
4314 echo "${ECHO_T}no" >&6
4319 STRIP="$ac_cv_prog_STRIP"
4323 # Check for any special flags to pass to ltconfig.
4324 libtool_flags="--cache-file=$cache_file"
4325 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4326 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4327 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4328 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4329 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4332 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4333 if test "${enable_libtool_lock+set}" = set; then
4334 enableval="$enable_libtool_lock"
4337 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4338 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4341 # Check whether --with-pic or --without-pic was given.
4342 if test "${with_pic+set}" = set; then
4348 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4349 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4351 # Some flags need to be propagated to the compiler or linker for good
4355 # Find out which ABI we are using.
4356 echo '#line 4356 "configure"' > conftest.$ac_ext
4357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4358 (eval $ac_compile) 2>&5
4360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361 (exit $ac_status); }; then
4362 if test "$lt_cv_prog_gnu_ld" = yes; then
4363 case `/usr/bin/file conftest.$ac_objext` in
4365 LD="${LD-ld} -melf32bsmip"
4368 LD="${LD-ld} -melf32bmipn32"
4371 LD="${LD-ld} -melf64bmip"
4375 case `/usr/bin/file conftest.$ac_objext` in
4392 # Find out which ABI we are using.
4393 echo 'int i;' > conftest.$ac_ext
4394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4395 (eval $ac_compile) 2>&5
4397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398 (exit $ac_status); }; then
4399 case "`/usr/bin/file conftest.o`" in
4411 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4412 # Find out which ABI we are using.
4413 echo 'int i;' > conftest.$ac_ext
4414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4415 (eval $ac_compile) 2>&5
4417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4418 (exit $ac_status); }; then
4419 case "`/usr/bin/file conftest.o`" in
4423 LD="${LD-ld} -m elf_i386"
4425 ppc64-*linux*|powerpc64-*linux*)
4426 LD="${LD-ld} -m elf32ppclinux"
4429 LD="${LD-ld} -m elf_s390"
4432 LD="${LD-ld} -m elf32_sparc"
4439 LD="${LD-ld} -m elf_x86_64"
4441 ppc*-*linux*|powerpc*-*linux*)
4442 LD="${LD-ld} -m elf64ppc"
4445 LD="${LD-ld} -m elf64_s390"
4448 LD="${LD-ld} -m elf64_sparc"
4458 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4459 SAVE_CFLAGS="$CFLAGS"
4460 CFLAGS="$CFLAGS -belf"
4461 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4462 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4463 if test "${lt_cv_cc_needs_belf+set}" = set; then
4464 echo $ECHO_N "(cached) $ECHO_C" >&6
4469 ac_cpp='$CPP $CPPFLAGS'
4470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4474 if test x$gcc_no_link = xyes; then
4475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4477 { (exit 1); exit 1; }; }
4479 cat >conftest.$ac_ext <<_ACEOF
4482 cat confdefs.h >>conftest.$ac_ext
4483 cat >>conftest.$ac_ext <<_ACEOF
4484 /* end confdefs.h. */
4494 rm -f conftest.$ac_objext conftest$ac_exeext
4495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4496 (eval $ac_link) 2>conftest.er1
4498 grep -v '^ *+' conftest.er1 >conftest.err
4500 cat conftest.err >&5
4501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502 (exit $ac_status); } &&
4503 { ac_try='test -z "$ac_c_werror_flag"
4504 || test ! -s conftest.err'
4505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4509 (exit $ac_status); }; } &&
4510 { ac_try='test -s conftest$ac_exeext'
4511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515 (exit $ac_status); }; }; then
4516 lt_cv_cc_needs_belf=yes
4518 echo "$as_me: failed program was:" >&5
4519 sed 's/^/| /' conftest.$ac_ext >&5
4521 lt_cv_cc_needs_belf=no
4523 rm -f conftest.err conftest.$ac_objext \
4524 conftest$ac_exeext conftest.$ac_ext
4526 ac_cpp='$CPP $CPPFLAGS'
4527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4532 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4533 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4534 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4535 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4536 CFLAGS="$SAVE_CFLAGS"
4544 # Save cache, so that ltconfig can load it
4545 cat >confcache <<\_ACEOF
4546 # This file is a shell script that caches the results of configure
4547 # tests run on this system so they can be shared between configure
4548 # scripts and configure runs, see configure's option --config-cache.
4549 # It is not useful on other systems. If it contains results you don't
4550 # want to keep, you may remove or edit it.
4552 # config.status only pays attention to the cache file if you give it
4553 # the --recheck option to rerun configure.
4555 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4556 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4561 # The following way of writing the cache mishandles newlines in values,
4562 # but we know of no workaround that is simple, portable, and efficient.
4563 # So, don't put newlines in cache variables' values.
4564 # Ultrix sh set writes to stderr and can't be redirected directly,
4565 # and sets the high bit in the cache file unless we assign to the vars.
4568 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4570 # `set' does not quote correctly, so add quotes (double-quote
4571 # substitution turns \\\\ into \\, and sed turns \\ into \).
4574 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4577 # `set' quotes correctly as required by POSIX, so do not add quotes.
4579 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4586 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4588 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4590 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4591 if test -w $cache_file; then
4592 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4593 cat confcache >$cache_file
4595 echo "not updating unwritable cache $cache_file"
4600 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4601 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4602 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4603 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4604 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4605 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4606 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4607 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4608 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4609 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4610 echo "$as_me: error: libtool configure failed" >&2;}
4611 { (exit 1); exit 1; }; }
4613 # Reload cache, that may have been modified by ltconfig
4614 if test -r "$cache_file"; then
4615 # Some versions of bash will fail to source /dev/null (special
4616 # files actually), so we avoid doing that.
4617 if test -f "$cache_file"; then
4618 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4619 echo "$as_me: loading cache $cache_file" >&6;}
4621 [\\/]* | ?:[\\/]* ) . $cache_file;;
4622 *) . ./$cache_file;;
4626 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4627 echo "$as_me: creating cache $cache_file" >&6;}
4632 # This can be used to rebuild libtool when needed
4633 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4635 # Always use our own libtool.
4636 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4638 # Redirect the config.log output again, so that the ltconfig log is not
4639 # clobbered by the next message.
4640 exec 5>>./config.log
4649 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4651 # We need gfortran to compile parts of the library
4652 #AC_PROG_FC(gfortran)
4654 ac_ext=${FC_SRCEXT-f}
4655 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4656 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4657 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4658 if test -n "$ac_tool_prefix"; then
4659 for ac_prog in gfortran
4661 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4662 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4663 echo "$as_me:$LINENO: checking for $ac_word" >&5
4664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4665 if test "${ac_cv_prog_FC+set}" = set; then
4666 echo $ECHO_N "(cached) $ECHO_C" >&6
4668 if test -n "$FC"; then
4669 ac_cv_prog_FC="$FC" # Let the user override the test.
4671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4675 test -z "$as_dir" && as_dir=.
4676 for ac_exec_ext in '' $ac_executable_extensions; do
4677 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4678 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4688 if test -n "$FC"; then
4689 echo "$as_me:$LINENO: result: $FC" >&5
4690 echo "${ECHO_T}$FC" >&6
4692 echo "$as_me:$LINENO: result: no" >&5
4693 echo "${ECHO_T}no" >&6
4696 test -n "$FC" && break
4699 if test -z "$FC"; then
4701 for ac_prog in gfortran
4703 # Extract the first word of "$ac_prog", so it can be a program name with args.
4704 set dummy $ac_prog; ac_word=$2
4705 echo "$as_me:$LINENO: checking for $ac_word" >&5
4706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4707 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4708 echo $ECHO_N "(cached) $ECHO_C" >&6
4710 if test -n "$ac_ct_FC"; then
4711 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4717 test -z "$as_dir" && as_dir=.
4718 for ac_exec_ext in '' $ac_executable_extensions; do
4719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4720 ac_cv_prog_ac_ct_FC="$ac_prog"
4721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4729 ac_ct_FC=$ac_cv_prog_ac_ct_FC
4730 if test -n "$ac_ct_FC"; then
4731 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4732 echo "${ECHO_T}$ac_ct_FC" >&6
4734 echo "$as_me:$LINENO: result: no" >&5
4735 echo "${ECHO_T}no" >&6
4738 test -n "$ac_ct_FC" && break
4745 # Provide some information about the compiler.
4746 echo "$as_me:4746:" \
4747 "checking for Fortran compiler version" >&5
4748 ac_compiler=`set X $ac_compile; echo $2`
4749 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4750 (eval $ac_compiler --version </dev/null >&5) 2>&5
4752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4753 (exit $ac_status); }
4754 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4755 (eval $ac_compiler -v </dev/null >&5) 2>&5
4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); }
4759 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4760 (eval $ac_compiler -V </dev/null >&5) 2>&5
4762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4763 (exit $ac_status); }
4766 # If we don't use `.F' as extension, the preprocessor is not run on the
4767 # input file. (Note that this only needs to work for GNU compilers.)
4770 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4771 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4772 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4773 echo $ECHO_N "(cached) $ECHO_C" >&6
4775 cat >conftest.$ac_ext <<_ACEOF
4783 rm -f conftest.$ac_objext
4784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4785 (eval $ac_compile) 2>conftest.er1
4787 grep -v '^ *+' conftest.er1 >conftest.err
4789 cat conftest.err >&5
4790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4791 (exit $ac_status); } &&
4792 { ac_try='test -z "$ac_fc_werror_flag"
4793 || test ! -s conftest.err'
4794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4798 (exit $ac_status); }; } &&
4799 { ac_try='test -s conftest.$ac_objext'
4800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4804 (exit $ac_status); }; }; then
4807 echo "$as_me: failed program was:" >&5
4808 sed 's/^/| /' conftest.$ac_ext >&5
4812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4813 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4816 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4817 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4819 ac_test_FFLAGS=${FCFLAGS+set}
4820 ac_save_FFLAGS=$FCFLAGS
4822 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4823 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4824 if test "${ac_cv_prog_fc_g+set}" = set; then
4825 echo $ECHO_N "(cached) $ECHO_C" >&6
4828 cat >conftest.$ac_ext <<_ACEOF
4833 rm -f conftest.$ac_objext
4834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4835 (eval $ac_compile) 2>conftest.er1
4837 grep -v '^ *+' conftest.er1 >conftest.err
4839 cat conftest.err >&5
4840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841 (exit $ac_status); } &&
4842 { ac_try='test -z "$ac_fc_werror_flag"
4843 || test ! -s conftest.err'
4844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); }; } &&
4849 { ac_try='test -s conftest.$ac_objext'
4850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); }; }; then
4857 echo "$as_me: failed program was:" >&5
4858 sed 's/^/| /' conftest.$ac_ext >&5
4862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4865 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4866 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4867 if test "$ac_test_FFLAGS" = set; then
4868 FCFLAGS=$ac_save_FFLAGS
4869 elif test $ac_cv_prog_fc_g = yes; then
4870 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4876 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4884 ac_cpp='$CPP $CPPFLAGS'
4885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4890 # extra LD Flags which are required for targets
4893 # Darwin needs -single_module when linking libgfortran
4894 extra_ldflags_libgfortran=-Wl,-single_module
4899 # We need a working compiler at that point, otherwise give a clear
4900 # error message and bail out.
4903 echo "$as_me:$LINENO: checking whether the GNU Fortran compiler is working" >&5
4904 echo $ECHO_N "checking whether the GNU Fortran compiler is working... $ECHO_C" >&6
4905 ac_ext=${FC_SRCEXT-f}
4906 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4907 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4908 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4910 cat >conftest.$ac_ext <<_ACEOF
4913 real, parameter :: bar = sin (12.34 / 2.5)
4916 rm -f conftest.$ac_objext
4917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4918 (eval $ac_compile) 2>conftest.er1
4920 grep -v '^ *+' conftest.er1 >conftest.err
4922 cat conftest.err >&5
4923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924 (exit $ac_status); } &&
4925 { ac_try='test -z "$ac_fc_werror_flag"
4926 || test ! -s conftest.err'
4927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4931 (exit $ac_status); }; } &&
4932 { ac_try='test -s conftest.$ac_objext'
4933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4937 (exit $ac_status); }; }; then
4938 echo "$as_me:$LINENO: result: yes" >&5
4939 echo "${ECHO_T}yes" >&6
4941 echo "$as_me: failed program was:" >&5
4942 sed 's/^/| /' conftest.$ac_ext >&5
4944 echo "$as_me:$LINENO: result: no" >&5
4945 echo "${ECHO_T}no" >&6
4946 { { echo "$as_me:$LINENO: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&5
4947 echo "$as_me: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&2;}
4948 { (exit 1); exit 1; }; }
4951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4953 ac_cpp='$CPP $CPPFLAGS'
4954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4960 # Check whether --enable-largefile or --disable-largefile was given.
4961 if test "${enable_largefile+set}" = set; then
4962 enableval="$enable_largefile"
4965 if test "$enable_largefile" != no; then
4967 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4968 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4969 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4970 echo $ECHO_N "(cached) $ECHO_C" >&6
4972 ac_cv_sys_largefile_CC=no
4973 if test "$GCC" != yes; then
4976 # IRIX 6.2 and later do not support large files by default,
4977 # so use the C compiler's -n32 option if that helps.
4978 cat >conftest.$ac_ext <<_ACEOF
4981 cat confdefs.h >>conftest.$ac_ext
4982 cat >>conftest.$ac_ext <<_ACEOF
4983 /* end confdefs.h. */
4984 #include <sys/types.h>
4985 /* Check that off_t can represent 2**63 - 1 correctly.
4986 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4987 since some C++ compilers masquerading as C compilers
4988 incorrectly reject 9223372036854775807. */
4989 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4990 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4991 && LARGE_OFF_T % 2147483647 == 1)
5001 rm -f conftest.$ac_objext
5002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5003 (eval $ac_compile) 2>conftest.er1
5005 grep -v '^ *+' conftest.er1 >conftest.err
5007 cat conftest.err >&5
5008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5009 (exit $ac_status); } &&
5010 { ac_try='test -z "$ac_c_werror_flag"
5011 || test ! -s conftest.err'
5012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5016 (exit $ac_status); }; } &&
5017 { ac_try='test -s conftest.$ac_objext'
5018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5022 (exit $ac_status); }; }; then
5025 echo "$as_me: failed program was:" >&5
5026 sed 's/^/| /' conftest.$ac_ext >&5
5029 rm -f conftest.err conftest.$ac_objext
5031 rm -f conftest.$ac_objext
5032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5033 (eval $ac_compile) 2>conftest.er1
5035 grep -v '^ *+' conftest.er1 >conftest.err
5037 cat conftest.err >&5
5038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5039 (exit $ac_status); } &&
5040 { ac_try='test -z "$ac_c_werror_flag"
5041 || test ! -s conftest.err'
5042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046 (exit $ac_status); }; } &&
5047 { ac_try='test -s conftest.$ac_objext'
5048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5052 (exit $ac_status); }; }; then
5053 ac_cv_sys_largefile_CC=' -n32'; break
5055 echo "$as_me: failed program was:" >&5
5056 sed 's/^/| /' conftest.$ac_ext >&5
5059 rm -f conftest.err conftest.$ac_objext
5063 rm -f conftest.$ac_ext
5066 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
5067 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
5068 if test "$ac_cv_sys_largefile_CC" != no; then
5069 CC=$CC$ac_cv_sys_largefile_CC
5072 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5073 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
5074 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
5075 echo $ECHO_N "(cached) $ECHO_C" >&6
5078 ac_cv_sys_file_offset_bits=no
5079 cat >conftest.$ac_ext <<_ACEOF
5082 cat confdefs.h >>conftest.$ac_ext
5083 cat >>conftest.$ac_ext <<_ACEOF
5084 /* end confdefs.h. */
5085 #include <sys/types.h>
5086 /* Check that off_t can represent 2**63 - 1 correctly.
5087 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5088 since some C++ compilers masquerading as C compilers
5089 incorrectly reject 9223372036854775807. */
5090 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5091 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5092 && LARGE_OFF_T % 2147483647 == 1)
5102 rm -f conftest.$ac_objext
5103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5104 (eval $ac_compile) 2>conftest.er1
5106 grep -v '^ *+' conftest.er1 >conftest.err
5108 cat conftest.err >&5
5109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5110 (exit $ac_status); } &&
5111 { ac_try='test -z "$ac_c_werror_flag"
5112 || test ! -s conftest.err'
5113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5117 (exit $ac_status); }; } &&
5118 { ac_try='test -s conftest.$ac_objext'
5119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5123 (exit $ac_status); }; }; then
5126 echo "$as_me: failed program was:" >&5
5127 sed 's/^/| /' conftest.$ac_ext >&5
5130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5131 cat >conftest.$ac_ext <<_ACEOF
5134 cat confdefs.h >>conftest.$ac_ext
5135 cat >>conftest.$ac_ext <<_ACEOF
5136 /* end confdefs.h. */
5137 #define _FILE_OFFSET_BITS 64
5138 #include <sys/types.h>
5139 /* Check that off_t can represent 2**63 - 1 correctly.
5140 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5141 since some C++ compilers masquerading as C compilers
5142 incorrectly reject 9223372036854775807. */
5143 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5144 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5145 && LARGE_OFF_T % 2147483647 == 1)
5155 rm -f conftest.$ac_objext
5156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5157 (eval $ac_compile) 2>conftest.er1
5159 grep -v '^ *+' conftest.er1 >conftest.err
5161 cat conftest.err >&5
5162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5163 (exit $ac_status); } &&
5164 { ac_try='test -z "$ac_c_werror_flag"
5165 || test ! -s conftest.err'
5166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5170 (exit $ac_status); }; } &&
5171 { ac_try='test -s conftest.$ac_objext'
5172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5176 (exit $ac_status); }; }; then
5177 ac_cv_sys_file_offset_bits=64; break
5179 echo "$as_me: failed program was:" >&5
5180 sed 's/^/| /' conftest.$ac_ext >&5
5183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5187 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
5188 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
5189 if test "$ac_cv_sys_file_offset_bits" != no; then
5191 cat >>confdefs.h <<_ACEOF
5192 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5197 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
5198 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
5199 if test "${ac_cv_sys_large_files+set}" = set; then
5200 echo $ECHO_N "(cached) $ECHO_C" >&6
5203 ac_cv_sys_large_files=no
5204 cat >conftest.$ac_ext <<_ACEOF
5207 cat confdefs.h >>conftest.$ac_ext
5208 cat >>conftest.$ac_ext <<_ACEOF
5209 /* end confdefs.h. */
5210 #include <sys/types.h>
5211 /* Check that off_t can represent 2**63 - 1 correctly.
5212 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5213 since some C++ compilers masquerading as C compilers
5214 incorrectly reject 9223372036854775807. */
5215 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5216 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5217 && LARGE_OFF_T % 2147483647 == 1)
5227 rm -f conftest.$ac_objext
5228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5229 (eval $ac_compile) 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); } &&
5236 { ac_try='test -z "$ac_c_werror_flag"
5237 || test ! -s conftest.err'
5238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5242 (exit $ac_status); }; } &&
5243 { ac_try='test -s conftest.$ac_objext'
5244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5248 (exit $ac_status); }; }; then
5251 echo "$as_me: failed program was:" >&5
5252 sed 's/^/| /' conftest.$ac_ext >&5
5255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5256 cat >conftest.$ac_ext <<_ACEOF
5259 cat confdefs.h >>conftest.$ac_ext
5260 cat >>conftest.$ac_ext <<_ACEOF
5261 /* end confdefs.h. */
5262 #define _LARGE_FILES 1
5263 #include <sys/types.h>
5264 /* Check that off_t can represent 2**63 - 1 correctly.
5265 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5266 since some C++ compilers masquerading as C compilers
5267 incorrectly reject 9223372036854775807. */
5268 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5269 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5270 && LARGE_OFF_T % 2147483647 == 1)
5280 rm -f conftest.$ac_objext
5281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5282 (eval $ac_compile) 2>conftest.er1
5284 grep -v '^ *+' conftest.er1 >conftest.err
5286 cat conftest.err >&5
5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288 (exit $ac_status); } &&
5289 { ac_try='test -z "$ac_c_werror_flag"
5290 || test ! -s conftest.err'
5291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5295 (exit $ac_status); }; } &&
5296 { ac_try='test -s conftest.$ac_objext'
5297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5301 (exit $ac_status); }; }; then
5302 ac_cv_sys_large_files=1; break
5304 echo "$as_me: failed program was:" >&5
5305 sed 's/^/| /' conftest.$ac_ext >&5
5308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5312 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5313 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5314 if test "$ac_cv_sys_large_files" != no; then
5316 cat >>confdefs.h <<_ACEOF
5317 #define _LARGE_FILES $ac_cv_sys_large_files
5325 ac_cpp='$CPP $CPPFLAGS'
5326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5329 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5330 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5331 # On Suns, sometimes $CPP names a directory.
5332 if test -n "$CPP" && test -d "$CPP"; then
5335 if test -z "$CPP"; then
5336 if test "${ac_cv_prog_CPP+set}" = set; then
5337 echo $ECHO_N "(cached) $ECHO_C" >&6
5339 # Double quotes because CPP needs to be expanded
5340 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5343 for ac_c_preproc_warn_flag in '' yes
5345 # Use a header file that comes with gcc, so configuring glibc
5346 # with a fresh cross-compiler works.
5347 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5348 # <limits.h> exists even on freestanding compilers.
5349 # On the NeXT, cc -E runs the code through the compiler's parser,
5350 # not just through cpp. "Syntax error" is here to catch this case.
5351 cat >conftest.$ac_ext <<_ACEOF
5354 cat confdefs.h >>conftest.$ac_ext
5355 cat >>conftest.$ac_ext <<_ACEOF
5356 /* end confdefs.h. */
5358 # include <limits.h>
5360 # include <assert.h>
5364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5365 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5367 grep -v '^ *+' conftest.er1 >conftest.err
5369 cat conftest.err >&5
5370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371 (exit $ac_status); } >/dev/null; then
5372 if test -s conftest.err; then
5373 ac_cpp_err=$ac_c_preproc_warn_flag
5374 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5381 if test -z "$ac_cpp_err"; then
5384 echo "$as_me: failed program was:" >&5
5385 sed 's/^/| /' conftest.$ac_ext >&5
5387 # Broken: fails on valid input.
5390 rm -f conftest.err conftest.$ac_ext
5392 # OK, works on sane cases. Now check whether non-existent headers
5393 # can be detected and how.
5394 cat >conftest.$ac_ext <<_ACEOF
5397 cat confdefs.h >>conftest.$ac_ext
5398 cat >>conftest.$ac_ext <<_ACEOF
5399 /* end confdefs.h. */
5400 #include <ac_nonexistent.h>
5402 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5403 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5405 grep -v '^ *+' conftest.er1 >conftest.err
5407 cat conftest.err >&5
5408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5409 (exit $ac_status); } >/dev/null; then
5410 if test -s conftest.err; then
5411 ac_cpp_err=$ac_c_preproc_warn_flag
5412 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5419 if test -z "$ac_cpp_err"; then
5420 # Broken: success on invalid input.
5423 echo "$as_me: failed program was:" >&5
5424 sed 's/^/| /' conftest.$ac_ext >&5
5426 # Passes both tests.
5430 rm -f conftest.err conftest.$ac_ext
5433 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5434 rm -f conftest.err conftest.$ac_ext
5435 if $ac_preproc_ok; then
5447 echo "$as_me:$LINENO: result: $CPP" >&5
5448 echo "${ECHO_T}$CPP" >&6
5450 for ac_c_preproc_warn_flag in '' yes
5452 # Use a header file that comes with gcc, so configuring glibc
5453 # with a fresh cross-compiler works.
5454 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5455 # <limits.h> exists even on freestanding compilers.
5456 # On the NeXT, cc -E runs the code through the compiler's parser,
5457 # not just through cpp. "Syntax error" is here to catch this case.
5458 cat >conftest.$ac_ext <<_ACEOF
5461 cat confdefs.h >>conftest.$ac_ext
5462 cat >>conftest.$ac_ext <<_ACEOF
5463 /* end confdefs.h. */
5465 # include <limits.h>
5467 # include <assert.h>
5471 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5472 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5474 grep -v '^ *+' conftest.er1 >conftest.err
5476 cat conftest.err >&5
5477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5478 (exit $ac_status); } >/dev/null; then
5479 if test -s conftest.err; then
5480 ac_cpp_err=$ac_c_preproc_warn_flag
5481 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5488 if test -z "$ac_cpp_err"; then
5491 echo "$as_me: failed program was:" >&5
5492 sed 's/^/| /' conftest.$ac_ext >&5
5494 # Broken: fails on valid input.
5497 rm -f conftest.err conftest.$ac_ext
5499 # OK, works on sane cases. Now check whether non-existent headers
5500 # can be detected and how.
5501 cat >conftest.$ac_ext <<_ACEOF
5504 cat confdefs.h >>conftest.$ac_ext
5505 cat >>conftest.$ac_ext <<_ACEOF
5506 /* end confdefs.h. */
5507 #include <ac_nonexistent.h>
5509 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5510 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5512 grep -v '^ *+' conftest.er1 >conftest.err
5514 cat conftest.err >&5
5515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5516 (exit $ac_status); } >/dev/null; then
5517 if test -s conftest.err; then
5518 ac_cpp_err=$ac_c_preproc_warn_flag
5519 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5526 if test -z "$ac_cpp_err"; then
5527 # Broken: success on invalid input.
5530 echo "$as_me: failed program was:" >&5
5531 sed 's/^/| /' conftest.$ac_ext >&5
5533 # Passes both tests.
5537 rm -f conftest.err conftest.$ac_ext
5540 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5541 rm -f conftest.err conftest.$ac_ext
5542 if $ac_preproc_ok; then
5545 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5546 See \`config.log' for more details." >&5
5547 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5548 See \`config.log' for more details." >&2;}
5549 { (exit 1); exit 1; }; }
5553 ac_cpp='$CPP $CPPFLAGS'
5554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5559 echo "$as_me:$LINENO: checking for egrep" >&5
5560 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5561 if test "${ac_cv_prog_egrep+set}" = set; then
5562 echo $ECHO_N "(cached) $ECHO_C" >&6
5564 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5565 then ac_cv_prog_egrep='grep -E'
5566 else ac_cv_prog_egrep='egrep'
5569 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5570 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5571 EGREP=$ac_cv_prog_egrep
5574 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5575 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5576 if test "${ac_cv_header_stdc+set}" = set; then
5577 echo $ECHO_N "(cached) $ECHO_C" >&6
5579 cat >conftest.$ac_ext <<_ACEOF
5582 cat confdefs.h >>conftest.$ac_ext
5583 cat >>conftest.$ac_ext <<_ACEOF
5584 /* end confdefs.h. */
5598 rm -f conftest.$ac_objext
5599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5600 (eval $ac_compile) 2>conftest.er1
5602 grep -v '^ *+' conftest.er1 >conftest.err
5604 cat conftest.err >&5
5605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5606 (exit $ac_status); } &&
5607 { ac_try='test -z "$ac_c_werror_flag"
5608 || test ! -s conftest.err'
5609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5613 (exit $ac_status); }; } &&
5614 { ac_try='test -s conftest.$ac_objext'
5615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5619 (exit $ac_status); }; }; then
5620 ac_cv_header_stdc=yes
5622 echo "$as_me: failed program was:" >&5
5623 sed 's/^/| /' conftest.$ac_ext >&5
5625 ac_cv_header_stdc=no
5627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5629 if test $ac_cv_header_stdc = yes; then
5630 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5631 cat >conftest.$ac_ext <<_ACEOF
5634 cat confdefs.h >>conftest.$ac_ext
5635 cat >>conftest.$ac_ext <<_ACEOF
5636 /* end confdefs.h. */
5640 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5641 $EGREP "memchr" >/dev/null 2>&1; then
5644 ac_cv_header_stdc=no
5650 if test $ac_cv_header_stdc = yes; then
5651 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5652 cat >conftest.$ac_ext <<_ACEOF
5655 cat confdefs.h >>conftest.$ac_ext
5656 cat >>conftest.$ac_ext <<_ACEOF
5657 /* end confdefs.h. */
5661 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5662 $EGREP "free" >/dev/null 2>&1; then
5665 ac_cv_header_stdc=no
5671 if test $ac_cv_header_stdc = yes; then
5672 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5673 if test "$cross_compiling" = yes; then
5676 cat >conftest.$ac_ext <<_ACEOF
5679 cat confdefs.h >>conftest.$ac_ext
5680 cat >>conftest.$ac_ext <<_ACEOF
5681 /* end confdefs.h. */
5683 #if ((' ' & 0x0FF) == 0x020)
5684 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5685 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5687 # define ISLOWER(c) \
5688 (('a' <= (c) && (c) <= 'i') \
5689 || ('j' <= (c) && (c) <= 'r') \
5690 || ('s' <= (c) && (c) <= 'z'))
5691 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5694 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5699 for (i = 0; i < 256; i++)
5700 if (XOR (islower (i), ISLOWER (i))
5701 || toupper (i) != TOUPPER (i))
5706 rm -f conftest$ac_exeext
5707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5708 (eval $ac_link) 2>&5
5710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5711 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5716 (exit $ac_status); }; }; then
5719 echo "$as_me: program exited with status $ac_status" >&5
5720 echo "$as_me: failed program was:" >&5
5721 sed 's/^/| /' conftest.$ac_ext >&5
5724 ac_cv_header_stdc=no
5726 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5730 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5731 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5732 if test $ac_cv_header_stdc = yes; then
5734 cat >>confdefs.h <<\_ACEOF
5735 #define STDC_HEADERS 1
5740 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5750 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5751 inttypes.h stdint.h unistd.h
5753 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5754 echo "$as_me:$LINENO: checking for $ac_header" >&5
5755 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5756 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5757 echo $ECHO_N "(cached) $ECHO_C" >&6
5759 cat >conftest.$ac_ext <<_ACEOF
5762 cat confdefs.h >>conftest.$ac_ext
5763 cat >>conftest.$ac_ext <<_ACEOF
5764 /* end confdefs.h. */
5765 $ac_includes_default
5767 #include <$ac_header>
5769 rm -f conftest.$ac_objext
5770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5771 (eval $ac_compile) 2>conftest.er1
5773 grep -v '^ *+' conftest.er1 >conftest.err
5775 cat conftest.err >&5
5776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5777 (exit $ac_status); } &&
5778 { ac_try='test -z "$ac_c_werror_flag"
5779 || test ! -s conftest.err'
5780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5784 (exit $ac_status); }; } &&
5785 { ac_try='test -s conftest.$ac_objext'
5786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5790 (exit $ac_status); }; }; then
5791 eval "$as_ac_Header=yes"
5793 echo "$as_me: failed program was:" >&5
5794 sed 's/^/| /' conftest.$ac_ext >&5
5796 eval "$as_ac_Header=no"
5798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5801 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5802 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5803 cat >>confdefs.h <<_ACEOF
5804 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5812 echo "$as_me:$LINENO: checking for off_t" >&5
5813 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5814 if test "${ac_cv_type_off_t+set}" = set; then
5815 echo $ECHO_N "(cached) $ECHO_C" >&6
5817 cat >conftest.$ac_ext <<_ACEOF
5820 cat confdefs.h >>conftest.$ac_ext
5821 cat >>conftest.$ac_ext <<_ACEOF
5822 /* end confdefs.h. */
5823 $ac_includes_default
5835 rm -f conftest.$ac_objext
5836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5837 (eval $ac_compile) 2>conftest.er1
5839 grep -v '^ *+' conftest.er1 >conftest.err
5841 cat conftest.err >&5
5842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5843 (exit $ac_status); } &&
5844 { ac_try='test -z "$ac_c_werror_flag"
5845 || test ! -s conftest.err'
5846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5850 (exit $ac_status); }; } &&
5851 { ac_try='test -s conftest.$ac_objext'
5852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5856 (exit $ac_status); }; }; then
5857 ac_cv_type_off_t=yes
5859 echo "$as_me: failed program was:" >&5
5860 sed 's/^/| /' conftest.$ac_ext >&5
5864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5866 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5867 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5868 if test $ac_cv_type_off_t = yes; then
5872 cat >>confdefs.h <<_ACEOF
5879 # check header files
5880 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5881 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5882 if test "${ac_cv_header_stdc+set}" = set; then
5883 echo $ECHO_N "(cached) $ECHO_C" >&6
5885 cat >conftest.$ac_ext <<_ACEOF
5888 cat confdefs.h >>conftest.$ac_ext
5889 cat >>conftest.$ac_ext <<_ACEOF
5890 /* end confdefs.h. */
5904 rm -f conftest.$ac_objext
5905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5906 (eval $ac_compile) 2>conftest.er1
5908 grep -v '^ *+' conftest.er1 >conftest.err
5910 cat conftest.err >&5
5911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5912 (exit $ac_status); } &&
5913 { ac_try='test -z "$ac_c_werror_flag"
5914 || test ! -s conftest.err'
5915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); }; } &&
5920 { ac_try='test -s conftest.$ac_objext'
5921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5925 (exit $ac_status); }; }; then
5926 ac_cv_header_stdc=yes
5928 echo "$as_me: failed program was:" >&5
5929 sed 's/^/| /' conftest.$ac_ext >&5
5931 ac_cv_header_stdc=no
5933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5935 if test $ac_cv_header_stdc = yes; then
5936 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5937 cat >conftest.$ac_ext <<_ACEOF
5940 cat confdefs.h >>conftest.$ac_ext
5941 cat >>conftest.$ac_ext <<_ACEOF
5942 /* end confdefs.h. */
5946 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5947 $EGREP "memchr" >/dev/null 2>&1; then
5950 ac_cv_header_stdc=no
5956 if test $ac_cv_header_stdc = yes; then
5957 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5958 cat >conftest.$ac_ext <<_ACEOF
5961 cat confdefs.h >>conftest.$ac_ext
5962 cat >>conftest.$ac_ext <<_ACEOF
5963 /* end confdefs.h. */
5967 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5968 $EGREP "free" >/dev/null 2>&1; then
5971 ac_cv_header_stdc=no
5977 if test $ac_cv_header_stdc = yes; then
5978 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5979 if test "$cross_compiling" = yes; then
5982 cat >conftest.$ac_ext <<_ACEOF
5985 cat confdefs.h >>conftest.$ac_ext
5986 cat >>conftest.$ac_ext <<_ACEOF
5987 /* end confdefs.h. */
5989 #if ((' ' & 0x0FF) == 0x020)
5990 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5991 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5993 # define ISLOWER(c) \
5994 (('a' <= (c) && (c) <= 'i') \
5995 || ('j' <= (c) && (c) <= 'r') \
5996 || ('s' <= (c) && (c) <= 'z'))
5997 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6000 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6005 for (i = 0; i < 256; i++)
6006 if (XOR (islower (i), ISLOWER (i))
6007 || toupper (i) != TOUPPER (i))
6012 rm -f conftest$ac_exeext
6013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6014 (eval $ac_link) 2>&5
6016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6017 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6022 (exit $ac_status); }; }; then
6025 echo "$as_me: program exited with status $ac_status" >&5
6026 echo "$as_me: failed program was:" >&5
6027 sed 's/^/| /' conftest.$ac_ext >&5
6030 ac_cv_header_stdc=no
6032 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6036 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6037 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6038 if test $ac_cv_header_stdc = yes; then
6040 cat >>confdefs.h <<\_ACEOF
6041 #define STDC_HEADERS 1
6046 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6047 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
6048 if test "${ac_cv_header_time+set}" = set; then
6049 echo $ECHO_N "(cached) $ECHO_C" >&6
6051 cat >conftest.$ac_ext <<_ACEOF
6054 cat confdefs.h >>conftest.$ac_ext
6055 cat >>conftest.$ac_ext <<_ACEOF
6056 /* end confdefs.h. */
6057 #include <sys/types.h>
6058 #include <sys/time.h>
6064 if ((struct tm *) 0)
6070 rm -f conftest.$ac_objext
6071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6072 (eval $ac_compile) 2>conftest.er1
6074 grep -v '^ *+' conftest.er1 >conftest.err
6076 cat conftest.err >&5
6077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6078 (exit $ac_status); } &&
6079 { ac_try='test -z "$ac_c_werror_flag"
6080 || test ! -s conftest.err'
6081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6085 (exit $ac_status); }; } &&
6086 { ac_try='test -s conftest.$ac_objext'
6087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6091 (exit $ac_status); }; }; then
6092 ac_cv_header_time=yes
6094 echo "$as_me: failed program was:" >&5
6095 sed 's/^/| /' conftest.$ac_ext >&5
6097 ac_cv_header_time=no
6099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6101 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6102 echo "${ECHO_T}$ac_cv_header_time" >&6
6103 if test $ac_cv_header_time = yes; then
6105 cat >>confdefs.h <<\_ACEOF
6106 #define TIME_WITH_SYS_TIME 1
6118 for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
6120 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6122 echo "$as_me:$LINENO: checking for $ac_header" >&5
6123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6125 echo $ECHO_N "(cached) $ECHO_C" >&6
6127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6130 # Is the header compilable?
6131 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6132 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6133 cat >conftest.$ac_ext <<_ACEOF
6136 cat confdefs.h >>conftest.$ac_ext
6137 cat >>conftest.$ac_ext <<_ACEOF
6138 /* end confdefs.h. */
6139 $ac_includes_default
6140 #include <$ac_header>
6142 rm -f conftest.$ac_objext
6143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6144 (eval $ac_compile) 2>conftest.er1
6146 grep -v '^ *+' conftest.er1 >conftest.err
6148 cat conftest.err >&5
6149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6150 (exit $ac_status); } &&
6151 { ac_try='test -z "$ac_c_werror_flag"
6152 || test ! -s conftest.err'
6153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6157 (exit $ac_status); }; } &&
6158 { ac_try='test -s conftest.$ac_objext'
6159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6163 (exit $ac_status); }; }; then
6164 ac_header_compiler=yes
6166 echo "$as_me: failed program was:" >&5
6167 sed 's/^/| /' conftest.$ac_ext >&5
6169 ac_header_compiler=no
6171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6172 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6173 echo "${ECHO_T}$ac_header_compiler" >&6
6175 # Is the header present?
6176 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6177 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6178 cat >conftest.$ac_ext <<_ACEOF
6181 cat confdefs.h >>conftest.$ac_ext
6182 cat >>conftest.$ac_ext <<_ACEOF
6183 /* end confdefs.h. */
6184 #include <$ac_header>
6186 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6187 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6189 grep -v '^ *+' conftest.er1 >conftest.err
6191 cat conftest.err >&5
6192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6193 (exit $ac_status); } >/dev/null; then
6194 if test -s conftest.err; then
6195 ac_cpp_err=$ac_c_preproc_warn_flag
6196 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6203 if test -z "$ac_cpp_err"; then
6204 ac_header_preproc=yes
6206 echo "$as_me: failed program was:" >&5
6207 sed 's/^/| /' conftest.$ac_ext >&5
6209 ac_header_preproc=no
6211 rm -f conftest.err conftest.$ac_ext
6212 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6213 echo "${ECHO_T}$ac_header_preproc" >&6
6215 # So? What about this header?
6216 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6218 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6219 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6220 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6221 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6222 ac_header_preproc=yes
6225 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6226 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6227 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6228 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6229 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6230 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6231 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6232 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6233 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6234 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6235 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6236 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6239 ## ------------------------------------------------------ ##
6240 ## Report this to the GNU Fortran Runtime Library lists. ##
6241 ## ------------------------------------------------------ ##
6244 sed "s/^/$as_me: WARNING: /" >&2
6247 echo "$as_me:$LINENO: checking for $ac_header" >&5
6248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6250 echo $ECHO_N "(cached) $ECHO_C" >&6
6252 eval "$as_ac_Header=\$ac_header_preproc"
6254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6255 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6258 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6259 cat >>confdefs.h <<_ACEOF
6260 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6272 for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
6274 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6275 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6276 echo "$as_me:$LINENO: checking for $ac_header" >&5
6277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6278 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6279 echo $ECHO_N "(cached) $ECHO_C" >&6
6281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6282 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6284 # Is the header compilable?
6285 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6286 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6287 cat >conftest.$ac_ext <<_ACEOF
6290 cat confdefs.h >>conftest.$ac_ext
6291 cat >>conftest.$ac_ext <<_ACEOF
6292 /* end confdefs.h. */
6293 $ac_includes_default
6294 #include <$ac_header>
6296 rm -f conftest.$ac_objext
6297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6298 (eval $ac_compile) 2>conftest.er1
6300 grep -v '^ *+' conftest.er1 >conftest.err
6302 cat conftest.err >&5
6303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6304 (exit $ac_status); } &&
6305 { ac_try='test -z "$ac_c_werror_flag"
6306 || test ! -s conftest.err'
6307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6311 (exit $ac_status); }; } &&
6312 { ac_try='test -s conftest.$ac_objext'
6313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6317 (exit $ac_status); }; }; then
6318 ac_header_compiler=yes
6320 echo "$as_me: failed program was:" >&5
6321 sed 's/^/| /' conftest.$ac_ext >&5
6323 ac_header_compiler=no
6325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6326 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6327 echo "${ECHO_T}$ac_header_compiler" >&6
6329 # Is the header present?
6330 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6331 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6332 cat >conftest.$ac_ext <<_ACEOF
6335 cat confdefs.h >>conftest.$ac_ext
6336 cat >>conftest.$ac_ext <<_ACEOF
6337 /* end confdefs.h. */
6338 #include <$ac_header>
6340 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6341 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6343 grep -v '^ *+' conftest.er1 >conftest.err
6345 cat conftest.err >&5
6346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6347 (exit $ac_status); } >/dev/null; then
6348 if test -s conftest.err; then
6349 ac_cpp_err=$ac_c_preproc_warn_flag
6350 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6357 if test -z "$ac_cpp_err"; then
6358 ac_header_preproc=yes
6360 echo "$as_me: failed program was:" >&5
6361 sed 's/^/| /' conftest.$ac_ext >&5
6363 ac_header_preproc=no
6365 rm -f conftest.err conftest.$ac_ext
6366 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6367 echo "${ECHO_T}$ac_header_preproc" >&6
6369 # So? What about this header?
6370 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6372 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6373 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6374 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6375 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6376 ac_header_preproc=yes
6379 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6380 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6381 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6382 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6383 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6384 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6385 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6386 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6387 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6388 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6389 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6390 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6393 ## ------------------------------------------------------ ##
6394 ## Report this to the GNU Fortran Runtime Library lists. ##
6395 ## ------------------------------------------------------ ##
6398 sed "s/^/$as_me: WARNING: /" >&2
6401 echo "$as_me:$LINENO: checking for $ac_header" >&5
6402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6404 echo $ECHO_N "(cached) $ECHO_C" >&6
6406 eval "$as_ac_Header=\$ac_header_preproc"
6408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6409 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6412 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6413 cat >>confdefs.h <<_ACEOF
6414 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6426 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
6428 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6430 echo "$as_me:$LINENO: checking for $ac_header" >&5
6431 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6432 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6433 echo $ECHO_N "(cached) $ECHO_C" >&6
6435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6436 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6438 # Is the header compilable?
6439 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6440 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6441 cat >conftest.$ac_ext <<_ACEOF
6444 cat confdefs.h >>conftest.$ac_ext
6445 cat >>conftest.$ac_ext <<_ACEOF
6446 /* end confdefs.h. */
6447 $ac_includes_default
6448 #include <$ac_header>
6450 rm -f conftest.$ac_objext
6451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6452 (eval $ac_compile) 2>conftest.er1
6454 grep -v '^ *+' conftest.er1 >conftest.err
6456 cat conftest.err >&5
6457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6458 (exit $ac_status); } &&
6459 { ac_try='test -z "$ac_c_werror_flag"
6460 || test ! -s conftest.err'
6461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465 (exit $ac_status); }; } &&
6466 { ac_try='test -s conftest.$ac_objext'
6467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6471 (exit $ac_status); }; }; then
6472 ac_header_compiler=yes
6474 echo "$as_me: failed program was:" >&5
6475 sed 's/^/| /' conftest.$ac_ext >&5
6477 ac_header_compiler=no
6479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6480 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6481 echo "${ECHO_T}$ac_header_compiler" >&6
6483 # Is the header present?
6484 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6485 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6486 cat >conftest.$ac_ext <<_ACEOF
6489 cat confdefs.h >>conftest.$ac_ext
6490 cat >>conftest.$ac_ext <<_ACEOF
6491 /* end confdefs.h. */
6492 #include <$ac_header>
6494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6495 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6497 grep -v '^ *+' conftest.er1 >conftest.err
6499 cat conftest.err >&5
6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501 (exit $ac_status); } >/dev/null; then
6502 if test -s conftest.err; then
6503 ac_cpp_err=$ac_c_preproc_warn_flag
6504 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6511 if test -z "$ac_cpp_err"; then
6512 ac_header_preproc=yes
6514 echo "$as_me: failed program was:" >&5
6515 sed 's/^/| /' conftest.$ac_ext >&5
6517 ac_header_preproc=no
6519 rm -f conftest.err conftest.$ac_ext
6520 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6521 echo "${ECHO_T}$ac_header_preproc" >&6
6523 # So? What about this header?
6524 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6526 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6527 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6528 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6529 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6530 ac_header_preproc=yes
6533 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6534 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6535 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6536 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6537 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6538 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6539 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6540 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6541 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6542 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6543 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6544 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6547 ## ------------------------------------------------------ ##
6548 ## Report this to the GNU Fortran Runtime Library lists. ##
6549 ## ------------------------------------------------------ ##
6552 sed "s/^/$as_me: WARNING: /" >&2
6555 echo "$as_me:$LINENO: checking for $ac_header" >&5
6556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6558 echo $ECHO_N "(cached) $ECHO_C" >&6
6560 eval "$as_ac_Header=\$ac_header_preproc"
6562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6563 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6567 cat >>confdefs.h <<_ACEOF
6568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6579 for ac_header in fenv.h fptrap.h float.h execinfo.h
6581 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6582 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6583 echo "$as_me:$LINENO: checking for $ac_header" >&5
6584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6586 echo $ECHO_N "(cached) $ECHO_C" >&6
6588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6589 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6591 # Is the header compilable?
6592 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6593 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6594 cat >conftest.$ac_ext <<_ACEOF
6597 cat confdefs.h >>conftest.$ac_ext
6598 cat >>conftest.$ac_ext <<_ACEOF
6599 /* end confdefs.h. */
6600 $ac_includes_default
6601 #include <$ac_header>
6603 rm -f conftest.$ac_objext
6604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6605 (eval $ac_compile) 2>conftest.er1
6607 grep -v '^ *+' conftest.er1 >conftest.err
6609 cat conftest.err >&5
6610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 (exit $ac_status); } &&
6612 { ac_try='test -z "$ac_c_werror_flag"
6613 || test ! -s conftest.err'
6614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618 (exit $ac_status); }; } &&
6619 { ac_try='test -s conftest.$ac_objext'
6620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6624 (exit $ac_status); }; }; then
6625 ac_header_compiler=yes
6627 echo "$as_me: failed program was:" >&5
6628 sed 's/^/| /' conftest.$ac_ext >&5
6630 ac_header_compiler=no
6632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6633 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6634 echo "${ECHO_T}$ac_header_compiler" >&6
6636 # Is the header present?
6637 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6638 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6639 cat >conftest.$ac_ext <<_ACEOF
6642 cat confdefs.h >>conftest.$ac_ext
6643 cat >>conftest.$ac_ext <<_ACEOF
6644 /* end confdefs.h. */
6645 #include <$ac_header>
6647 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6648 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6650 grep -v '^ *+' conftest.er1 >conftest.err
6652 cat conftest.err >&5
6653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6654 (exit $ac_status); } >/dev/null; then
6655 if test -s conftest.err; then
6656 ac_cpp_err=$ac_c_preproc_warn_flag
6657 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6664 if test -z "$ac_cpp_err"; then
6665 ac_header_preproc=yes
6667 echo "$as_me: failed program was:" >&5
6668 sed 's/^/| /' conftest.$ac_ext >&5
6670 ac_header_preproc=no
6672 rm -f conftest.err conftest.$ac_ext
6673 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6674 echo "${ECHO_T}$ac_header_preproc" >&6
6676 # So? What about this header?
6677 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6679 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6680 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6681 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6682 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6683 ac_header_preproc=yes
6686 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6687 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6688 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6689 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6690 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6691 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6692 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6693 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6694 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6695 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6696 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6697 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6700 ## ------------------------------------------------------ ##
6701 ## Report this to the GNU Fortran Runtime Library lists. ##
6702 ## ------------------------------------------------------ ##
6705 sed "s/^/$as_me: WARNING: /" >&2
6708 echo "$as_me:$LINENO: checking for $ac_header" >&5
6709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6711 echo $ECHO_N "(cached) $ECHO_C" >&6
6713 eval "$as_ac_Header=\$ac_header_preproc"
6715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6716 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6719 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6720 cat >>confdefs.h <<_ACEOF
6721 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6728 if test "${ac_cv_header_complex_h+set}" = set; then
6729 echo "$as_me:$LINENO: checking for complex.h" >&5
6730 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6731 if test "${ac_cv_header_complex_h+set}" = set; then
6732 echo $ECHO_N "(cached) $ECHO_C" >&6
6734 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6735 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6737 # Is the header compilable?
6738 echo "$as_me:$LINENO: checking complex.h usability" >&5
6739 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6740 cat >conftest.$ac_ext <<_ACEOF
6743 cat confdefs.h >>conftest.$ac_ext
6744 cat >>conftest.$ac_ext <<_ACEOF
6745 /* end confdefs.h. */
6746 $ac_includes_default
6747 #include <complex.h>
6749 rm -f conftest.$ac_objext
6750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6751 (eval $ac_compile) 2>conftest.er1
6753 grep -v '^ *+' conftest.er1 >conftest.err
6755 cat conftest.err >&5
6756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6757 (exit $ac_status); } &&
6758 { ac_try='test -z "$ac_c_werror_flag"
6759 || test ! -s conftest.err'
6760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6764 (exit $ac_status); }; } &&
6765 { ac_try='test -s conftest.$ac_objext'
6766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6770 (exit $ac_status); }; }; then
6771 ac_header_compiler=yes
6773 echo "$as_me: failed program was:" >&5
6774 sed 's/^/| /' conftest.$ac_ext >&5
6776 ac_header_compiler=no
6778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6779 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6780 echo "${ECHO_T}$ac_header_compiler" >&6
6782 # Is the header present?
6783 echo "$as_me:$LINENO: checking complex.h presence" >&5
6784 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6785 cat >conftest.$ac_ext <<_ACEOF
6788 cat confdefs.h >>conftest.$ac_ext
6789 cat >>conftest.$ac_ext <<_ACEOF
6790 /* end confdefs.h. */
6791 #include <complex.h>
6793 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6794 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6796 grep -v '^ *+' conftest.er1 >conftest.err
6798 cat conftest.err >&5
6799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6800 (exit $ac_status); } >/dev/null; then
6801 if test -s conftest.err; then
6802 ac_cpp_err=$ac_c_preproc_warn_flag
6803 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6810 if test -z "$ac_cpp_err"; then
6811 ac_header_preproc=yes
6813 echo "$as_me: failed program was:" >&5
6814 sed 's/^/| /' conftest.$ac_ext >&5
6816 ac_header_preproc=no
6818 rm -f conftest.err conftest.$ac_ext
6819 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6820 echo "${ECHO_T}$ac_header_preproc" >&6
6822 # So? What about this header?
6823 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6825 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6826 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6827 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6828 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6829 ac_header_preproc=yes
6832 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6833 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6834 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6835 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6836 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6837 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6838 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6839 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6840 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6841 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6842 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6843 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6846 ## ------------------------------------------------------ ##
6847 ## Report this to the GNU Fortran Runtime Library lists. ##
6848 ## ------------------------------------------------------ ##
6851 sed "s/^/$as_me: WARNING: /" >&2
6854 echo "$as_me:$LINENO: checking for complex.h" >&5
6855 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6856 if test "${ac_cv_header_complex_h+set}" = set; then
6857 echo $ECHO_N "(cached) $ECHO_C" >&6
6859 ac_cv_header_complex_h=$ac_header_preproc
6861 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6862 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6865 if test $ac_cv_header_complex_h = yes; then
6867 cat >>confdefs.h <<\_ACEOF
6868 #define HAVE_COMPLEX_H 1
6876 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
6878 acx_cv_header_stdint=stddef.h
6879 acx_cv_header_stdint_kind="(already complete)"
6880 for i in stdint.h $inttype_headers; do
6881 unset ac_cv_type_uintptr_t
6882 unset ac_cv_type_uintmax_t
6883 unset ac_cv_type_int_least32_t
6884 unset ac_cv_type_int_fast32_t
6885 unset ac_cv_type_uint64_t
6886 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
6887 echo "$as_me:$LINENO: checking for uintmax_t" >&5
6888 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
6889 if test "${ac_cv_type_uintmax_t+set}" = set; then
6890 echo $ECHO_N "(cached) $ECHO_C" >&6
6892 cat >conftest.$ac_ext <<_ACEOF
6895 cat confdefs.h >>conftest.$ac_ext
6896 cat >>conftest.$ac_ext <<_ACEOF
6897 /* end confdefs.h. */
6898 #include <sys/types.h>
6904 if ((uintmax_t *) 0)
6906 if (sizeof (uintmax_t))
6912 rm -f conftest.$ac_objext
6913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6914 (eval $ac_compile) 2>conftest.er1
6916 grep -v '^ *+' conftest.er1 >conftest.err
6918 cat conftest.err >&5
6919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6920 (exit $ac_status); } &&
6921 { ac_try='test -z "$ac_c_werror_flag"
6922 || test ! -s conftest.err'
6923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6927 (exit $ac_status); }; } &&
6928 { ac_try='test -s conftest.$ac_objext'
6929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6933 (exit $ac_status); }; }; then
6934 ac_cv_type_uintmax_t=yes
6936 echo "$as_me: failed program was:" >&5
6937 sed 's/^/| /' conftest.$ac_ext >&5
6939 ac_cv_type_uintmax_t=no
6941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6943 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
6944 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
6945 if test $ac_cv_type_uintmax_t = yes; then
6946 acx_cv_header_stdint=$i
6951 echo "$as_me:$LINENO: checking for uintptr_t" >&5
6952 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
6953 if test "${ac_cv_type_uintptr_t+set}" = set; then
6954 echo $ECHO_N "(cached) $ECHO_C" >&6
6956 cat >conftest.$ac_ext <<_ACEOF
6959 cat confdefs.h >>conftest.$ac_ext
6960 cat >>conftest.$ac_ext <<_ACEOF
6961 /* end confdefs.h. */
6962 #include <sys/types.h>
6968 if ((uintptr_t *) 0)
6970 if (sizeof (uintptr_t))
6976 rm -f conftest.$ac_objext
6977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6978 (eval $ac_compile) 2>conftest.er1
6980 grep -v '^ *+' conftest.er1 >conftest.err
6982 cat conftest.err >&5
6983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6984 (exit $ac_status); } &&
6985 { ac_try='test -z "$ac_c_werror_flag"
6986 || test ! -s conftest.err'
6987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6991 (exit $ac_status); }; } &&
6992 { ac_try='test -s conftest.$ac_objext'
6993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6997 (exit $ac_status); }; }; then
6998 ac_cv_type_uintptr_t=yes
7000 echo "$as_me: failed program was:" >&5
7001 sed 's/^/| /' conftest.$ac_ext >&5
7003 ac_cv_type_uintptr_t=no
7005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7007 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
7008 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
7009 if test $ac_cv_type_uintptr_t = yes; then
7012 acx_cv_header_stdint_kind="(mostly complete)"
7015 echo "$as_me:$LINENO: checking for int_least32_t" >&5
7016 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
7017 if test "${ac_cv_type_int_least32_t+set}" = set; then
7018 echo $ECHO_N "(cached) $ECHO_C" >&6
7020 cat >conftest.$ac_ext <<_ACEOF
7023 cat confdefs.h >>conftest.$ac_ext
7024 cat >>conftest.$ac_ext <<_ACEOF
7025 /* end confdefs.h. */
7026 #include <sys/types.h>
7032 if ((int_least32_t *) 0)
7034 if (sizeof (int_least32_t))
7040 rm -f conftest.$ac_objext
7041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7042 (eval $ac_compile) 2>conftest.er1
7044 grep -v '^ *+' conftest.er1 >conftest.err
7046 cat conftest.err >&5
7047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7048 (exit $ac_status); } &&
7049 { ac_try='test -z "$ac_c_werror_flag"
7050 || test ! -s conftest.err'
7051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7055 (exit $ac_status); }; } &&
7056 { ac_try='test -s conftest.$ac_objext'
7057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7061 (exit $ac_status); }; }; then
7062 ac_cv_type_int_least32_t=yes
7064 echo "$as_me: failed program was:" >&5
7065 sed 's/^/| /' conftest.$ac_ext >&5
7067 ac_cv_type_int_least32_t=no
7069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7071 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
7072 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
7073 if test $ac_cv_type_int_least32_t = yes; then
7076 acx_cv_header_stdint_kind="(mostly complete)"
7079 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
7080 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
7081 if test "${ac_cv_type_int_fast32_t+set}" = set; then
7082 echo $ECHO_N "(cached) $ECHO_C" >&6
7084 cat >conftest.$ac_ext <<_ACEOF
7087 cat confdefs.h >>conftest.$ac_ext
7088 cat >>conftest.$ac_ext <<_ACEOF
7089 /* end confdefs.h. */
7090 #include <sys/types.h>
7096 if ((int_fast32_t *) 0)
7098 if (sizeof (int_fast32_t))
7104 rm -f conftest.$ac_objext
7105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7106 (eval $ac_compile) 2>conftest.er1
7108 grep -v '^ *+' conftest.er1 >conftest.err
7110 cat conftest.err >&5
7111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7112 (exit $ac_status); } &&
7113 { ac_try='test -z "$ac_c_werror_flag"
7114 || test ! -s conftest.err'
7115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7119 (exit $ac_status); }; } &&
7120 { ac_try='test -s conftest.$ac_objext'
7121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7125 (exit $ac_status); }; }; then
7126 ac_cv_type_int_fast32_t=yes
7128 echo "$as_me: failed program was:" >&5
7129 sed 's/^/| /' conftest.$ac_ext >&5
7131 ac_cv_type_int_fast32_t=no
7133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7135 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
7136 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
7137 if test $ac_cv_type_int_fast32_t = yes; then
7140 acx_cv_header_stdint_kind="(mostly complete)"
7143 echo "$as_me:$LINENO: checking for uint64_t" >&5
7144 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
7145 if test "${ac_cv_type_uint64_t+set}" = set; then
7146 echo $ECHO_N "(cached) $ECHO_C" >&6
7148 cat >conftest.$ac_ext <<_ACEOF
7151 cat confdefs.h >>conftest.$ac_ext
7152 cat >>conftest.$ac_ext <<_ACEOF
7153 /* end confdefs.h. */
7154 #include <sys/types.h>
7162 if (sizeof (uint64_t))
7168 rm -f conftest.$ac_objext
7169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7170 (eval $ac_compile) 2>conftest.er1
7172 grep -v '^ *+' conftest.er1 >conftest.err
7174 cat conftest.err >&5
7175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7176 (exit $ac_status); } &&
7177 { ac_try='test -z "$ac_c_werror_flag"
7178 || test ! -s conftest.err'
7179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7183 (exit $ac_status); }; } &&
7184 { ac_try='test -s conftest.$ac_objext'
7185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7189 (exit $ac_status); }; }; then
7190 ac_cv_type_uint64_t=yes
7192 echo "$as_me: failed program was:" >&5
7193 sed 's/^/| /' conftest.$ac_ext >&5
7195 ac_cv_type_uint64_t=no
7197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7199 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
7200 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
7201 if test $ac_cv_type_uint64_t = yes; then
7204 acx_cv_header_stdint_kind="(lacks uint64_t)"
7209 if test "$acx_cv_header_stdint" = stddef.h; then
7210 acx_cv_header_stdint_kind="(lacks uintmax_t)"
7211 for i in stdint.h $inttype_headers; do
7212 unset ac_cv_type_uintptr_t
7213 unset ac_cv_type_uint32_t
7214 unset ac_cv_type_uint64_t
7215 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
7216 echo "$as_me:$LINENO: checking for uint32_t" >&5
7217 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
7218 if test "${ac_cv_type_uint32_t+set}" = set; then
7219 echo $ECHO_N "(cached) $ECHO_C" >&6
7221 cat >conftest.$ac_ext <<_ACEOF
7224 cat confdefs.h >>conftest.$ac_ext
7225 cat >>conftest.$ac_ext <<_ACEOF
7226 /* end confdefs.h. */
7227 #include <sys/types.h>
7235 if (sizeof (uint32_t))
7241 rm -f conftest.$ac_objext
7242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7243 (eval $ac_compile) 2>conftest.er1
7245 grep -v '^ *+' conftest.er1 >conftest.err
7247 cat conftest.err >&5
7248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7249 (exit $ac_status); } &&
7250 { ac_try='test -z "$ac_c_werror_flag"
7251 || test ! -s conftest.err'
7252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7256 (exit $ac_status); }; } &&
7257 { ac_try='test -s conftest.$ac_objext'
7258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7262 (exit $ac_status); }; }; then
7263 ac_cv_type_uint32_t=yes
7265 echo "$as_me: failed program was:" >&5
7266 sed 's/^/| /' conftest.$ac_ext >&5
7268 ac_cv_type_uint32_t=no
7270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7272 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
7273 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
7274 if test $ac_cv_type_uint32_t = yes; then
7275 acx_cv_header_stdint=$i
7280 echo "$as_me:$LINENO: checking for uint64_t" >&5
7281 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
7282 if test "${ac_cv_type_uint64_t+set}" = set; then
7283 echo $ECHO_N "(cached) $ECHO_C" >&6
7285 cat >conftest.$ac_ext <<_ACEOF
7288 cat confdefs.h >>conftest.$ac_ext
7289 cat >>conftest.$ac_ext <<_ACEOF
7290 /* end confdefs.h. */
7291 #include <sys/types.h>
7299 if (sizeof (uint64_t))
7305 rm -f conftest.$ac_objext
7306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7307 (eval $ac_compile) 2>conftest.er1
7309 grep -v '^ *+' conftest.er1 >conftest.err
7311 cat conftest.err >&5
7312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7313 (exit $ac_status); } &&
7314 { ac_try='test -z "$ac_c_werror_flag"
7315 || test ! -s conftest.err'
7316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7320 (exit $ac_status); }; } &&
7321 { ac_try='test -s conftest.$ac_objext'
7322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7326 (exit $ac_status); }; }; then
7327 ac_cv_type_uint64_t=yes
7329 echo "$as_me: failed program was:" >&5
7330 sed 's/^/| /' conftest.$ac_ext >&5
7332 ac_cv_type_uint64_t=no
7334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7336 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
7337 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
7339 echo "$as_me:$LINENO: checking for uintptr_t" >&5
7340 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
7341 if test "${ac_cv_type_uintptr_t+set}" = set; then
7342 echo $ECHO_N "(cached) $ECHO_C" >&6
7344 cat >conftest.$ac_ext <<_ACEOF
7347 cat confdefs.h >>conftest.$ac_ext
7348 cat >>conftest.$ac_ext <<_ACEOF
7349 /* end confdefs.h. */
7350 #include <sys/types.h>
7356 if ((uintptr_t *) 0)
7358 if (sizeof (uintptr_t))
7364 rm -f conftest.$ac_objext
7365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7366 (eval $ac_compile) 2>conftest.er1
7368 grep -v '^ *+' conftest.er1 >conftest.err
7370 cat conftest.err >&5
7371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7372 (exit $ac_status); } &&
7373 { ac_try='test -z "$ac_c_werror_flag"
7374 || test ! -s conftest.err'
7375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7379 (exit $ac_status); }; } &&
7380 { ac_try='test -s conftest.$ac_objext'
7381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7385 (exit $ac_status); }; }; then
7386 ac_cv_type_uintptr_t=yes
7388 echo "$as_me: failed program was:" >&5
7389 sed 's/^/| /' conftest.$ac_ext >&5
7391 ac_cv_type_uintptr_t=no
7393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7395 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
7396 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
7401 if test "$acx_cv_header_stdint" = stddef.h; then
7402 acx_cv_header_stdint_kind="(u_intXX_t style)"
7403 for i in sys/types.h $inttype_headers; do
7404 unset ac_cv_type_u_int32_t
7405 unset ac_cv_type_u_int64_t
7406 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
7407 echo "$as_me:$LINENO: checking for u_int32_t" >&5
7408 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
7409 if test "${ac_cv_type_u_int32_t+set}" = set; then
7410 echo $ECHO_N "(cached) $ECHO_C" >&6
7412 cat >conftest.$ac_ext <<_ACEOF
7415 cat confdefs.h >>conftest.$ac_ext
7416 cat >>conftest.$ac_ext <<_ACEOF
7417 /* end confdefs.h. */
7418 #include <sys/types.h>
7424 if ((u_int32_t *) 0)
7426 if (sizeof (u_int32_t))
7432 rm -f conftest.$ac_objext
7433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7434 (eval $ac_compile) 2>conftest.er1
7436 grep -v '^ *+' conftest.er1 >conftest.err
7438 cat conftest.err >&5
7439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7440 (exit $ac_status); } &&
7441 { ac_try='test -z "$ac_c_werror_flag"
7442 || test ! -s conftest.err'
7443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7447 (exit $ac_status); }; } &&
7448 { ac_try='test -s conftest.$ac_objext'
7449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7453 (exit $ac_status); }; }; then
7454 ac_cv_type_u_int32_t=yes
7456 echo "$as_me: failed program was:" >&5
7457 sed 's/^/| /' conftest.$ac_ext >&5
7459 ac_cv_type_u_int32_t=no
7461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7463 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
7464 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
7465 if test $ac_cv_type_u_int32_t = yes; then
7466 acx_cv_header_stdint=$i
7471 echo "$as_me:$LINENO: checking for u_int64_t" >&5
7472 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
7473 if test "${ac_cv_type_u_int64_t+set}" = set; then
7474 echo $ECHO_N "(cached) $ECHO_C" >&6
7476 cat >conftest.$ac_ext <<_ACEOF
7479 cat confdefs.h >>conftest.$ac_ext
7480 cat >>conftest.$ac_ext <<_ACEOF
7481 /* end confdefs.h. */
7482 #include <sys/types.h>
7488 if ((u_int64_t *) 0)
7490 if (sizeof (u_int64_t))
7496 rm -f conftest.$ac_objext
7497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7498 (eval $ac_compile) 2>conftest.er1
7500 grep -v '^ *+' conftest.er1 >conftest.err
7502 cat conftest.err >&5
7503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7504 (exit $ac_status); } &&
7505 { ac_try='test -z "$ac_c_werror_flag"
7506 || test ! -s conftest.err'
7507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7511 (exit $ac_status); }; } &&
7512 { ac_try='test -s conftest.$ac_objext'
7513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7517 (exit $ac_status); }; }; then
7518 ac_cv_type_u_int64_t=yes
7520 echo "$as_me: failed program was:" >&5
7521 sed 's/^/| /' conftest.$ac_ext >&5
7523 ac_cv_type_u_int64_t=no
7525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7527 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
7528 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
7533 if test "$acx_cv_header_stdint" = stddef.h; then
7534 acx_cv_header_stdint_kind="(using manual detection)"
7537 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
7538 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
7539 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
7540 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
7541 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
7543 # ----------------- Summarize what we found so far
7545 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
7546 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
7548 case `$as_basename gstdint.h ||
7549 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
7550 Xgstdint.h : 'X\(//\)$' \| \
7551 Xgstdint.h : 'X\(/\)$' \| \
7552 . : '\(.\)' 2>/dev/null ||
7554 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7555 /^X\/\(\/\/\)$/{ s//\1/; q; }
7556 /^X\/\(\/\).*/{ s//\1/; q; }
7558 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
7559 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
7560 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
7561 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
7565 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
7566 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
7568 # ----------------- done included file, check C basic types --------
7570 # Lacking an uintptr_t? Test size of void *
7571 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
7572 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
7573 echo $ECHO_N "checking for void *... $ECHO_C" >&6
7574 if test "${ac_cv_type_void_p+set}" = set; then
7575 echo $ECHO_N "(cached) $ECHO_C" >&6
7577 cat >conftest.$ac_ext <<_ACEOF
7580 cat confdefs.h >>conftest.$ac_ext
7581 cat >>conftest.$ac_ext <<_ACEOF
7582 /* end confdefs.h. */
7583 $ac_includes_default
7589 if (sizeof (void *))
7595 rm -f conftest.$ac_objext
7596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7597 (eval $ac_compile) 2>conftest.er1
7599 grep -v '^ *+' conftest.er1 >conftest.err
7601 cat conftest.err >&5
7602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7603 (exit $ac_status); } &&
7604 { ac_try='test -z "$ac_c_werror_flag"
7605 || test ! -s conftest.err'
7606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7610 (exit $ac_status); }; } &&
7611 { ac_try='test -s conftest.$ac_objext'
7612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7616 (exit $ac_status); }; }; then
7617 ac_cv_type_void_p=yes
7619 echo "$as_me: failed program was:" >&5
7620 sed 's/^/| /' conftest.$ac_ext >&5
7622 ac_cv_type_void_p=no
7624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7626 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
7627 echo "${ECHO_T}$ac_cv_type_void_p" >&6
7629 echo "$as_me:$LINENO: checking size of void *" >&5
7630 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
7631 if test "${ac_cv_sizeof_void_p+set}" = set; then
7632 echo $ECHO_N "(cached) $ECHO_C" >&6
7634 if test "$ac_cv_type_void_p" = yes; then
7635 # The cast to unsigned long works around a bug in the HP C Compiler
7636 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7637 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7638 # This bug is HP SR number 8606223364.
7639 if test "$cross_compiling" = yes; then
7640 # Depending upon the size, compute the lo and hi bounds.
7641 cat >conftest.$ac_ext <<_ACEOF
7644 cat confdefs.h >>conftest.$ac_ext
7645 cat >>conftest.$ac_ext <<_ACEOF
7646 /* end confdefs.h. */
7647 $ac_includes_default
7651 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
7658 rm -f conftest.$ac_objext
7659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7660 (eval $ac_compile) 2>conftest.er1
7662 grep -v '^ *+' conftest.er1 >conftest.err
7664 cat conftest.err >&5
7665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7666 (exit $ac_status); } &&
7667 { ac_try='test -z "$ac_c_werror_flag"
7668 || test ! -s conftest.err'
7669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7673 (exit $ac_status); }; } &&
7674 { ac_try='test -s conftest.$ac_objext'
7675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7679 (exit $ac_status); }; }; then
7682 cat >conftest.$ac_ext <<_ACEOF
7685 cat confdefs.h >>conftest.$ac_ext
7686 cat >>conftest.$ac_ext <<_ACEOF
7687 /* end confdefs.h. */
7688 $ac_includes_default
7692 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
7699 rm -f conftest.$ac_objext
7700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7701 (eval $ac_compile) 2>conftest.er1
7703 grep -v '^ *+' conftest.er1 >conftest.err
7705 cat conftest.err >&5
7706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7707 (exit $ac_status); } &&
7708 { ac_try='test -z "$ac_c_werror_flag"
7709 || test ! -s conftest.err'
7710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7714 (exit $ac_status); }; } &&
7715 { ac_try='test -s conftest.$ac_objext'
7716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7720 (exit $ac_status); }; }; then
7721 ac_hi=$ac_mid; break
7723 echo "$as_me: failed program was:" >&5
7724 sed 's/^/| /' conftest.$ac_ext >&5
7726 ac_lo=`expr $ac_mid + 1`
7727 if test $ac_lo -le $ac_mid; then
7731 ac_mid=`expr 2 '*' $ac_mid + 1`
7733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7736 echo "$as_me: failed program was:" >&5
7737 sed 's/^/| /' conftest.$ac_ext >&5
7739 cat >conftest.$ac_ext <<_ACEOF
7742 cat confdefs.h >>conftest.$ac_ext
7743 cat >>conftest.$ac_ext <<_ACEOF
7744 /* end confdefs.h. */
7745 $ac_includes_default
7749 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
7756 rm -f conftest.$ac_objext
7757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7758 (eval $ac_compile) 2>conftest.er1
7760 grep -v '^ *+' conftest.er1 >conftest.err
7762 cat conftest.err >&5
7763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7764 (exit $ac_status); } &&
7765 { ac_try='test -z "$ac_c_werror_flag"
7766 || test ! -s conftest.err'
7767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7771 (exit $ac_status); }; } &&
7772 { ac_try='test -s conftest.$ac_objext'
7773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7777 (exit $ac_status); }; }; then
7780 cat >conftest.$ac_ext <<_ACEOF
7783 cat confdefs.h >>conftest.$ac_ext
7784 cat >>conftest.$ac_ext <<_ACEOF
7785 /* end confdefs.h. */
7786 $ac_includes_default
7790 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
7797 rm -f conftest.$ac_objext
7798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7799 (eval $ac_compile) 2>conftest.er1
7801 grep -v '^ *+' conftest.er1 >conftest.err
7803 cat conftest.err >&5
7804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7805 (exit $ac_status); } &&
7806 { ac_try='test -z "$ac_c_werror_flag"
7807 || test ! -s conftest.err'
7808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7812 (exit $ac_status); }; } &&
7813 { ac_try='test -s conftest.$ac_objext'
7814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7818 (exit $ac_status); }; }; then
7819 ac_lo=$ac_mid; break
7821 echo "$as_me: failed program was:" >&5
7822 sed 's/^/| /' conftest.$ac_ext >&5
7824 ac_hi=`expr '(' $ac_mid ')' - 1`
7825 if test $ac_mid -le $ac_hi; then
7829 ac_mid=`expr 2 '*' $ac_mid`
7831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7834 echo "$as_me: failed program was:" >&5
7835 sed 's/^/| /' conftest.$ac_ext >&5
7839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7842 # Binary search between lo and hi bounds.
7843 while test "x$ac_lo" != "x$ac_hi"; do
7844 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7845 cat >conftest.$ac_ext <<_ACEOF
7848 cat confdefs.h >>conftest.$ac_ext
7849 cat >>conftest.$ac_ext <<_ACEOF
7850 /* end confdefs.h. */
7851 $ac_includes_default
7855 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
7862 rm -f conftest.$ac_objext
7863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7864 (eval $ac_compile) 2>conftest.er1
7866 grep -v '^ *+' conftest.er1 >conftest.err
7868 cat conftest.err >&5
7869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7870 (exit $ac_status); } &&
7871 { ac_try='test -z "$ac_c_werror_flag"
7872 || test ! -s conftest.err'
7873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7877 (exit $ac_status); }; } &&
7878 { ac_try='test -s conftest.$ac_objext'
7879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7883 (exit $ac_status); }; }; then
7886 echo "$as_me: failed program was:" >&5
7887 sed 's/^/| /' conftest.$ac_ext >&5
7889 ac_lo=`expr '(' $ac_mid ')' + 1`
7891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7894 ?*) ac_cv_sizeof_void_p=$ac_lo;;
7895 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
7896 See \`config.log' for more details." >&5
7897 echo "$as_me: error: cannot compute sizeof (void *), 77
7898 See \`config.log' for more details." >&2;}
7899 { (exit 1); exit 1; }; } ;;
7902 if test "$cross_compiling" = yes; then
7903 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7904 See \`config.log' for more details." >&5
7905 echo "$as_me: error: cannot run test program while cross compiling
7906 See \`config.log' for more details." >&2;}
7907 { (exit 1); exit 1; }; }
7909 cat >conftest.$ac_ext <<_ACEOF
7912 cat confdefs.h >>conftest.$ac_ext
7913 cat >>conftest.$ac_ext <<_ACEOF
7914 /* end confdefs.h. */
7915 $ac_includes_default
7916 long longval () { return (long) (sizeof (void *)); }
7917 unsigned long ulongval () { return (long) (sizeof (void *)); }
7924 FILE *f = fopen ("conftest.val", "w");
7927 if (((long) (sizeof (void *))) < 0)
7929 long i = longval ();
7930 if (i != ((long) (sizeof (void *))))
7932 fprintf (f, "%ld\n", i);
7936 unsigned long i = ulongval ();
7937 if (i != ((long) (sizeof (void *))))
7939 fprintf (f, "%lu\n", i);
7941 exit (ferror (f) || fclose (f) != 0);
7947 rm -f conftest$ac_exeext
7948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7949 (eval $ac_link) 2>&5
7951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7952 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7957 (exit $ac_status); }; }; then
7958 ac_cv_sizeof_void_p=`cat conftest.val`
7960 echo "$as_me: program exited with status $ac_status" >&5
7961 echo "$as_me: failed program was:" >&5
7962 sed 's/^/| /' conftest.$ac_ext >&5
7965 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
7966 See \`config.log' for more details." >&5
7967 echo "$as_me: error: cannot compute sizeof (void *), 77
7968 See \`config.log' for more details." >&2;}
7969 { (exit 1); exit 1; }; }
7971 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7976 ac_cv_sizeof_void_p=0
7979 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
7980 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
7981 cat >>confdefs.h <<_ACEOF
7982 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
7988 # Lacking an uint64_t? Test size of long
7989 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
7990 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
7991 echo $ECHO_N "checking for long... $ECHO_C" >&6
7992 if test "${ac_cv_type_long+set}" = set; then
7993 echo $ECHO_N "(cached) $ECHO_C" >&6
7995 cat >conftest.$ac_ext <<_ACEOF
7998 cat confdefs.h >>conftest.$ac_ext
7999 cat >>conftest.$ac_ext <<_ACEOF
8000 /* end confdefs.h. */
8001 $ac_includes_default
8013 rm -f conftest.$ac_objext
8014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8015 (eval $ac_compile) 2>conftest.er1
8017 grep -v '^ *+' conftest.er1 >conftest.err
8019 cat conftest.err >&5
8020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8021 (exit $ac_status); } &&
8022 { ac_try='test -z "$ac_c_werror_flag"
8023 || test ! -s conftest.err'
8024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8028 (exit $ac_status); }; } &&
8029 { ac_try='test -s conftest.$ac_objext'
8030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8034 (exit $ac_status); }; }; then
8037 echo "$as_me: failed program was:" >&5
8038 sed 's/^/| /' conftest.$ac_ext >&5
8042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8044 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
8045 echo "${ECHO_T}$ac_cv_type_long" >&6
8047 echo "$as_me:$LINENO: checking size of long" >&5
8048 echo $ECHO_N "checking size of long... $ECHO_C" >&6
8049 if test "${ac_cv_sizeof_long+set}" = set; then
8050 echo $ECHO_N "(cached) $ECHO_C" >&6
8052 if test "$ac_cv_type_long" = yes; then
8053 # The cast to unsigned long works around a bug in the HP C Compiler
8054 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8055 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8056 # This bug is HP SR number 8606223364.
8057 if test "$cross_compiling" = yes; then
8058 # Depending upon the size, compute the lo and hi bounds.
8059 cat >conftest.$ac_ext <<_ACEOF
8062 cat confdefs.h >>conftest.$ac_ext
8063 cat >>conftest.$ac_ext <<_ACEOF
8064 /* end confdefs.h. */
8065 $ac_includes_default
8069 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
8076 rm -f conftest.$ac_objext
8077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8078 (eval $ac_compile) 2>conftest.er1
8080 grep -v '^ *+' conftest.er1 >conftest.err
8082 cat conftest.err >&5
8083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8084 (exit $ac_status); } &&
8085 { ac_try='test -z "$ac_c_werror_flag"
8086 || test ! -s conftest.err'
8087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8091 (exit $ac_status); }; } &&
8092 { ac_try='test -s conftest.$ac_objext'
8093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8097 (exit $ac_status); }; }; then
8100 cat >conftest.$ac_ext <<_ACEOF
8103 cat confdefs.h >>conftest.$ac_ext
8104 cat >>conftest.$ac_ext <<_ACEOF
8105 /* end confdefs.h. */
8106 $ac_includes_default
8110 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
8117 rm -f conftest.$ac_objext
8118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8119 (eval $ac_compile) 2>conftest.er1
8121 grep -v '^ *+' conftest.er1 >conftest.err
8123 cat conftest.err >&5
8124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8125 (exit $ac_status); } &&
8126 { ac_try='test -z "$ac_c_werror_flag"
8127 || test ! -s conftest.err'
8128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8132 (exit $ac_status); }; } &&
8133 { ac_try='test -s conftest.$ac_objext'
8134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8138 (exit $ac_status); }; }; then
8139 ac_hi=$ac_mid; break
8141 echo "$as_me: failed program was:" >&5
8142 sed 's/^/| /' conftest.$ac_ext >&5
8144 ac_lo=`expr $ac_mid + 1`
8145 if test $ac_lo -le $ac_mid; then
8149 ac_mid=`expr 2 '*' $ac_mid + 1`
8151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8154 echo "$as_me: failed program was:" >&5
8155 sed 's/^/| /' conftest.$ac_ext >&5
8157 cat >conftest.$ac_ext <<_ACEOF
8160 cat confdefs.h >>conftest.$ac_ext
8161 cat >>conftest.$ac_ext <<_ACEOF
8162 /* end confdefs.h. */
8163 $ac_includes_default
8167 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
8174 rm -f conftest.$ac_objext
8175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8176 (eval $ac_compile) 2>conftest.er1
8178 grep -v '^ *+' conftest.er1 >conftest.err
8180 cat conftest.err >&5
8181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8182 (exit $ac_status); } &&
8183 { ac_try='test -z "$ac_c_werror_flag"
8184 || test ! -s conftest.err'
8185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8189 (exit $ac_status); }; } &&
8190 { ac_try='test -s conftest.$ac_objext'
8191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8195 (exit $ac_status); }; }; then
8198 cat >conftest.$ac_ext <<_ACEOF
8201 cat confdefs.h >>conftest.$ac_ext
8202 cat >>conftest.$ac_ext <<_ACEOF
8203 /* end confdefs.h. */
8204 $ac_includes_default
8208 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
8215 rm -f conftest.$ac_objext
8216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8217 (eval $ac_compile) 2>conftest.er1
8219 grep -v '^ *+' conftest.er1 >conftest.err
8221 cat conftest.err >&5
8222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8223 (exit $ac_status); } &&
8224 { ac_try='test -z "$ac_c_werror_flag"
8225 || test ! -s conftest.err'
8226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8230 (exit $ac_status); }; } &&
8231 { ac_try='test -s conftest.$ac_objext'
8232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8236 (exit $ac_status); }; }; then
8237 ac_lo=$ac_mid; break
8239 echo "$as_me: failed program was:" >&5
8240 sed 's/^/| /' conftest.$ac_ext >&5
8242 ac_hi=`expr '(' $ac_mid ')' - 1`
8243 if test $ac_mid -le $ac_hi; then
8247 ac_mid=`expr 2 '*' $ac_mid`
8249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8252 echo "$as_me: failed program was:" >&5
8253 sed 's/^/| /' conftest.$ac_ext >&5
8257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8260 # Binary search between lo and hi bounds.
8261 while test "x$ac_lo" != "x$ac_hi"; do
8262 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8263 cat >conftest.$ac_ext <<_ACEOF
8266 cat confdefs.h >>conftest.$ac_ext
8267 cat >>conftest.$ac_ext <<_ACEOF
8268 /* end confdefs.h. */
8269 $ac_includes_default
8273 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
8280 rm -f conftest.$ac_objext
8281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8282 (eval $ac_compile) 2>conftest.er1
8284 grep -v '^ *+' conftest.er1 >conftest.err
8286 cat conftest.err >&5
8287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8288 (exit $ac_status); } &&
8289 { ac_try='test -z "$ac_c_werror_flag"
8290 || test ! -s conftest.err'
8291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8295 (exit $ac_status); }; } &&
8296 { ac_try='test -s conftest.$ac_objext'
8297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8301 (exit $ac_status); }; }; then
8304 echo "$as_me: failed program was:" >&5
8305 sed 's/^/| /' conftest.$ac_ext >&5
8307 ac_lo=`expr '(' $ac_mid ')' + 1`
8309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8312 ?*) ac_cv_sizeof_long=$ac_lo;;
8313 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8314 See \`config.log' for more details." >&5
8315 echo "$as_me: error: cannot compute sizeof (long), 77
8316 See \`config.log' for more details." >&2;}
8317 { (exit 1); exit 1; }; } ;;
8320 if test "$cross_compiling" = yes; then
8321 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8322 See \`config.log' for more details." >&5
8323 echo "$as_me: error: cannot run test program while cross compiling
8324 See \`config.log' for more details." >&2;}
8325 { (exit 1); exit 1; }; }
8327 cat >conftest.$ac_ext <<_ACEOF
8330 cat confdefs.h >>conftest.$ac_ext
8331 cat >>conftest.$ac_ext <<_ACEOF
8332 /* end confdefs.h. */
8333 $ac_includes_default
8334 long longval () { return (long) (sizeof (long)); }
8335 unsigned long ulongval () { return (long) (sizeof (long)); }
8342 FILE *f = fopen ("conftest.val", "w");
8345 if (((long) (sizeof (long))) < 0)
8347 long i = longval ();
8348 if (i != ((long) (sizeof (long))))
8350 fprintf (f, "%ld\n", i);
8354 unsigned long i = ulongval ();
8355 if (i != ((long) (sizeof (long))))
8357 fprintf (f, "%lu\n", i);
8359 exit (ferror (f) || fclose (f) != 0);
8365 rm -f conftest$ac_exeext
8366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8367 (eval $ac_link) 2>&5
8369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8370 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8375 (exit $ac_status); }; }; then
8376 ac_cv_sizeof_long=`cat conftest.val`
8378 echo "$as_me: program exited with status $ac_status" >&5
8379 echo "$as_me: failed program was:" >&5
8380 sed 's/^/| /' conftest.$ac_ext >&5
8383 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8384 See \`config.log' for more details." >&5
8385 echo "$as_me: error: cannot compute sizeof (long), 77
8386 See \`config.log' for more details." >&2;}
8387 { (exit 1); exit 1; }; }
8389 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8397 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
8398 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
8399 cat >>confdefs.h <<_ACEOF
8400 #define SIZEOF_LONG $ac_cv_sizeof_long
8406 if test $acx_cv_header_stdint = stddef.h; then
8407 # Lacking a good header? Test size of everything and deduce all types.
8408 echo "$as_me:$LINENO: checking for int" >&5
8409 echo $ECHO_N "checking for int... $ECHO_C" >&6
8410 if test "${ac_cv_type_int+set}" = set; then
8411 echo $ECHO_N "(cached) $ECHO_C" >&6
8413 cat >conftest.$ac_ext <<_ACEOF
8416 cat confdefs.h >>conftest.$ac_ext
8417 cat >>conftest.$ac_ext <<_ACEOF
8418 /* end confdefs.h. */
8419 $ac_includes_default
8431 rm -f conftest.$ac_objext
8432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8433 (eval $ac_compile) 2>conftest.er1
8435 grep -v '^ *+' conftest.er1 >conftest.err
8437 cat conftest.err >&5
8438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8439 (exit $ac_status); } &&
8440 { ac_try='test -z "$ac_c_werror_flag"
8441 || test ! -s conftest.err'
8442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8446 (exit $ac_status); }; } &&
8447 { ac_try='test -s conftest.$ac_objext'
8448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8452 (exit $ac_status); }; }; then
8455 echo "$as_me: failed program was:" >&5
8456 sed 's/^/| /' conftest.$ac_ext >&5
8460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8462 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
8463 echo "${ECHO_T}$ac_cv_type_int" >&6
8465 echo "$as_me:$LINENO: checking size of int" >&5
8466 echo $ECHO_N "checking size of int... $ECHO_C" >&6
8467 if test "${ac_cv_sizeof_int+set}" = set; then
8468 echo $ECHO_N "(cached) $ECHO_C" >&6
8470 if test "$ac_cv_type_int" = yes; then
8471 # The cast to unsigned long works around a bug in the HP C Compiler
8472 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8473 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8474 # This bug is HP SR number 8606223364.
8475 if test "$cross_compiling" = yes; then
8476 # Depending upon the size, compute the lo and hi bounds.
8477 cat >conftest.$ac_ext <<_ACEOF
8480 cat confdefs.h >>conftest.$ac_ext
8481 cat >>conftest.$ac_ext <<_ACEOF
8482 /* end confdefs.h. */
8483 $ac_includes_default
8487 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
8494 rm -f conftest.$ac_objext
8495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8496 (eval $ac_compile) 2>conftest.er1
8498 grep -v '^ *+' conftest.er1 >conftest.err
8500 cat conftest.err >&5
8501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8502 (exit $ac_status); } &&
8503 { ac_try='test -z "$ac_c_werror_flag"
8504 || test ! -s conftest.err'
8505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 (exit $ac_status); }; } &&
8510 { ac_try='test -s conftest.$ac_objext'
8511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8515 (exit $ac_status); }; }; then
8518 cat >conftest.$ac_ext <<_ACEOF
8521 cat confdefs.h >>conftest.$ac_ext
8522 cat >>conftest.$ac_ext <<_ACEOF
8523 /* end confdefs.h. */
8524 $ac_includes_default
8528 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
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_hi=$ac_mid; break
8559 echo "$as_me: failed program was:" >&5
8560 sed 's/^/| /' conftest.$ac_ext >&5
8562 ac_lo=`expr $ac_mid + 1`
8563 if test $ac_lo -le $ac_mid; then
8567 ac_mid=`expr 2 '*' $ac_mid + 1`
8569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8572 echo "$as_me: failed program was:" >&5
8573 sed 's/^/| /' conftest.$ac_ext >&5
8575 cat >conftest.$ac_ext <<_ACEOF
8578 cat confdefs.h >>conftest.$ac_ext
8579 cat >>conftest.$ac_ext <<_ACEOF
8580 /* end confdefs.h. */
8581 $ac_includes_default
8585 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
8592 rm -f conftest.$ac_objext
8593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8594 (eval $ac_compile) 2>conftest.er1
8596 grep -v '^ *+' conftest.er1 >conftest.err
8598 cat conftest.err >&5
8599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8600 (exit $ac_status); } &&
8601 { ac_try='test -z "$ac_c_werror_flag"
8602 || test ! -s conftest.err'
8603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8607 (exit $ac_status); }; } &&
8608 { ac_try='test -s conftest.$ac_objext'
8609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8613 (exit $ac_status); }; }; then
8616 cat >conftest.$ac_ext <<_ACEOF
8619 cat confdefs.h >>conftest.$ac_ext
8620 cat >>conftest.$ac_ext <<_ACEOF
8621 /* end confdefs.h. */
8622 $ac_includes_default
8626 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
8633 rm -f conftest.$ac_objext
8634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8635 (eval $ac_compile) 2>conftest.er1
8637 grep -v '^ *+' conftest.er1 >conftest.err
8639 cat conftest.err >&5
8640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8641 (exit $ac_status); } &&
8642 { ac_try='test -z "$ac_c_werror_flag"
8643 || test ! -s conftest.err'
8644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8648 (exit $ac_status); }; } &&
8649 { ac_try='test -s conftest.$ac_objext'
8650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8654 (exit $ac_status); }; }; then
8655 ac_lo=$ac_mid; break
8657 echo "$as_me: failed program was:" >&5
8658 sed 's/^/| /' conftest.$ac_ext >&5
8660 ac_hi=`expr '(' $ac_mid ')' - 1`
8661 if test $ac_mid -le $ac_hi; then
8665 ac_mid=`expr 2 '*' $ac_mid`
8667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8670 echo "$as_me: failed program was:" >&5
8671 sed 's/^/| /' conftest.$ac_ext >&5
8675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8678 # Binary search between lo and hi bounds.
8679 while test "x$ac_lo" != "x$ac_hi"; do
8680 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8681 cat >conftest.$ac_ext <<_ACEOF
8684 cat confdefs.h >>conftest.$ac_ext
8685 cat >>conftest.$ac_ext <<_ACEOF
8686 /* end confdefs.h. */
8687 $ac_includes_default
8691 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
8698 rm -f conftest.$ac_objext
8699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8700 (eval $ac_compile) 2>conftest.er1
8702 grep -v '^ *+' conftest.er1 >conftest.err
8704 cat conftest.err >&5
8705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706 (exit $ac_status); } &&
8707 { ac_try='test -z "$ac_c_werror_flag"
8708 || test ! -s conftest.err'
8709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8713 (exit $ac_status); }; } &&
8714 { ac_try='test -s conftest.$ac_objext'
8715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8719 (exit $ac_status); }; }; then
8722 echo "$as_me: failed program was:" >&5
8723 sed 's/^/| /' conftest.$ac_ext >&5
8725 ac_lo=`expr '(' $ac_mid ')' + 1`
8727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8730 ?*) ac_cv_sizeof_int=$ac_lo;;
8731 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8732 See \`config.log' for more details." >&5
8733 echo "$as_me: error: cannot compute sizeof (int), 77
8734 See \`config.log' for more details." >&2;}
8735 { (exit 1); exit 1; }; } ;;
8738 if test "$cross_compiling" = yes; then
8739 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8740 See \`config.log' for more details." >&5
8741 echo "$as_me: error: cannot run test program while cross compiling
8742 See \`config.log' for more details." >&2;}
8743 { (exit 1); exit 1; }; }
8745 cat >conftest.$ac_ext <<_ACEOF
8748 cat confdefs.h >>conftest.$ac_ext
8749 cat >>conftest.$ac_ext <<_ACEOF
8750 /* end confdefs.h. */
8751 $ac_includes_default
8752 long longval () { return (long) (sizeof (int)); }
8753 unsigned long ulongval () { return (long) (sizeof (int)); }
8760 FILE *f = fopen ("conftest.val", "w");
8763 if (((long) (sizeof (int))) < 0)
8765 long i = longval ();
8766 if (i != ((long) (sizeof (int))))
8768 fprintf (f, "%ld\n", i);
8772 unsigned long i = ulongval ();
8773 if (i != ((long) (sizeof (int))))
8775 fprintf (f, "%lu\n", i);
8777 exit (ferror (f) || fclose (f) != 0);
8783 rm -f conftest$ac_exeext
8784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8785 (eval $ac_link) 2>&5
8787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8788 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8793 (exit $ac_status); }; }; then
8794 ac_cv_sizeof_int=`cat conftest.val`
8796 echo "$as_me: program exited with status $ac_status" >&5
8797 echo "$as_me: failed program was:" >&5
8798 sed 's/^/| /' conftest.$ac_ext >&5
8801 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8802 See \`config.log' for more details." >&5
8803 echo "$as_me: error: cannot compute sizeof (int), 77
8804 See \`config.log' for more details." >&2;}
8805 { (exit 1); exit 1; }; }
8807 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8815 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
8816 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
8817 cat >>confdefs.h <<_ACEOF
8818 #define SIZEOF_INT $ac_cv_sizeof_int
8822 echo "$as_me:$LINENO: checking for short" >&5
8823 echo $ECHO_N "checking for short... $ECHO_C" >&6
8824 if test "${ac_cv_type_short+set}" = set; then
8825 echo $ECHO_N "(cached) $ECHO_C" >&6
8827 cat >conftest.$ac_ext <<_ACEOF
8830 cat confdefs.h >>conftest.$ac_ext
8831 cat >>conftest.$ac_ext <<_ACEOF
8832 /* end confdefs.h. */
8833 $ac_includes_default
8845 rm -f conftest.$ac_objext
8846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8847 (eval $ac_compile) 2>conftest.er1
8849 grep -v '^ *+' conftest.er1 >conftest.err
8851 cat conftest.err >&5
8852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8853 (exit $ac_status); } &&
8854 { ac_try='test -z "$ac_c_werror_flag"
8855 || test ! -s conftest.err'
8856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8860 (exit $ac_status); }; } &&
8861 { ac_try='test -s conftest.$ac_objext'
8862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8866 (exit $ac_status); }; }; then
8867 ac_cv_type_short=yes
8869 echo "$as_me: failed program was:" >&5
8870 sed 's/^/| /' conftest.$ac_ext >&5
8874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8876 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
8877 echo "${ECHO_T}$ac_cv_type_short" >&6
8879 echo "$as_me:$LINENO: checking size of short" >&5
8880 echo $ECHO_N "checking size of short... $ECHO_C" >&6
8881 if test "${ac_cv_sizeof_short+set}" = set; then
8882 echo $ECHO_N "(cached) $ECHO_C" >&6
8884 if test "$ac_cv_type_short" = yes; then
8885 # The cast to unsigned long works around a bug in the HP C Compiler
8886 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8887 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8888 # This bug is HP SR number 8606223364.
8889 if test "$cross_compiling" = yes; then
8890 # Depending upon the size, compute the lo and hi bounds.
8891 cat >conftest.$ac_ext <<_ACEOF
8894 cat confdefs.h >>conftest.$ac_ext
8895 cat >>conftest.$ac_ext <<_ACEOF
8896 /* end confdefs.h. */
8897 $ac_includes_default
8901 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
8908 rm -f conftest.$ac_objext
8909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8910 (eval $ac_compile) 2>conftest.er1
8912 grep -v '^ *+' conftest.er1 >conftest.err
8914 cat conftest.err >&5
8915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8916 (exit $ac_status); } &&
8917 { ac_try='test -z "$ac_c_werror_flag"
8918 || test ! -s conftest.err'
8919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8923 (exit $ac_status); }; } &&
8924 { ac_try='test -s conftest.$ac_objext'
8925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929 (exit $ac_status); }; }; then
8932 cat >conftest.$ac_ext <<_ACEOF
8935 cat confdefs.h >>conftest.$ac_ext
8936 cat >>conftest.$ac_ext <<_ACEOF
8937 /* end confdefs.h. */
8938 $ac_includes_default
8942 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
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
8971 ac_hi=$ac_mid; break
8973 echo "$as_me: failed program was:" >&5
8974 sed 's/^/| /' conftest.$ac_ext >&5
8976 ac_lo=`expr $ac_mid + 1`
8977 if test $ac_lo -le $ac_mid; then
8981 ac_mid=`expr 2 '*' $ac_mid + 1`
8983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8986 echo "$as_me: failed program was:" >&5
8987 sed 's/^/| /' conftest.$ac_ext >&5
8989 cat >conftest.$ac_ext <<_ACEOF
8992 cat confdefs.h >>conftest.$ac_ext
8993 cat >>conftest.$ac_ext <<_ACEOF
8994 /* end confdefs.h. */
8995 $ac_includes_default
8999 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
9006 rm -f conftest.$ac_objext
9007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9008 (eval $ac_compile) 2>conftest.er1
9010 grep -v '^ *+' conftest.er1 >conftest.err
9012 cat conftest.err >&5
9013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9014 (exit $ac_status); } &&
9015 { ac_try='test -z "$ac_c_werror_flag"
9016 || test ! -s conftest.err'
9017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9021 (exit $ac_status); }; } &&
9022 { ac_try='test -s conftest.$ac_objext'
9023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027 (exit $ac_status); }; }; then
9030 cat >conftest.$ac_ext <<_ACEOF
9033 cat confdefs.h >>conftest.$ac_ext
9034 cat >>conftest.$ac_ext <<_ACEOF
9035 /* end confdefs.h. */
9036 $ac_includes_default
9040 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
9047 rm -f conftest.$ac_objext
9048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9049 (eval $ac_compile) 2>conftest.er1
9051 grep -v '^ *+' conftest.er1 >conftest.err
9053 cat conftest.err >&5
9054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9055 (exit $ac_status); } &&
9056 { ac_try='test -z "$ac_c_werror_flag"
9057 || test ! -s conftest.err'
9058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9062 (exit $ac_status); }; } &&
9063 { ac_try='test -s conftest.$ac_objext'
9064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068 (exit $ac_status); }; }; then
9069 ac_lo=$ac_mid; break
9071 echo "$as_me: failed program was:" >&5
9072 sed 's/^/| /' conftest.$ac_ext >&5
9074 ac_hi=`expr '(' $ac_mid ')' - 1`
9075 if test $ac_mid -le $ac_hi; then
9079 ac_mid=`expr 2 '*' $ac_mid`
9081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9084 echo "$as_me: failed program was:" >&5
9085 sed 's/^/| /' conftest.$ac_ext >&5
9089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9092 # Binary search between lo and hi bounds.
9093 while test "x$ac_lo" != "x$ac_hi"; do
9094 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9095 cat >conftest.$ac_ext <<_ACEOF
9098 cat confdefs.h >>conftest.$ac_ext
9099 cat >>conftest.$ac_ext <<_ACEOF
9100 /* end confdefs.h. */
9101 $ac_includes_default
9105 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
9112 rm -f conftest.$ac_objext
9113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9114 (eval $ac_compile) 2>conftest.er1
9116 grep -v '^ *+' conftest.er1 >conftest.err
9118 cat conftest.err >&5
9119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120 (exit $ac_status); } &&
9121 { ac_try='test -z "$ac_c_werror_flag"
9122 || test ! -s conftest.err'
9123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127 (exit $ac_status); }; } &&
9128 { ac_try='test -s conftest.$ac_objext'
9129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9133 (exit $ac_status); }; }; then
9136 echo "$as_me: failed program was:" >&5
9137 sed 's/^/| /' conftest.$ac_ext >&5
9139 ac_lo=`expr '(' $ac_mid ')' + 1`
9141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9144 ?*) ac_cv_sizeof_short=$ac_lo;;
9145 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
9146 See \`config.log' for more details." >&5
9147 echo "$as_me: error: cannot compute sizeof (short), 77
9148 See \`config.log' for more details." >&2;}
9149 { (exit 1); exit 1; }; } ;;
9152 if test "$cross_compiling" = yes; then
9153 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9154 See \`config.log' for more details." >&5
9155 echo "$as_me: error: cannot run test program while cross compiling
9156 See \`config.log' for more details." >&2;}
9157 { (exit 1); exit 1; }; }
9159 cat >conftest.$ac_ext <<_ACEOF
9162 cat confdefs.h >>conftest.$ac_ext
9163 cat >>conftest.$ac_ext <<_ACEOF
9164 /* end confdefs.h. */
9165 $ac_includes_default
9166 long longval () { return (long) (sizeof (short)); }
9167 unsigned long ulongval () { return (long) (sizeof (short)); }
9174 FILE *f = fopen ("conftest.val", "w");
9177 if (((long) (sizeof (short))) < 0)
9179 long i = longval ();
9180 if (i != ((long) (sizeof (short))))
9182 fprintf (f, "%ld\n", i);
9186 unsigned long i = ulongval ();
9187 if (i != ((long) (sizeof (short))))
9189 fprintf (f, "%lu\n", i);
9191 exit (ferror (f) || fclose (f) != 0);
9197 rm -f conftest$ac_exeext
9198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9199 (eval $ac_link) 2>&5
9201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9202 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9207 (exit $ac_status); }; }; then
9208 ac_cv_sizeof_short=`cat conftest.val`
9210 echo "$as_me: program exited with status $ac_status" >&5
9211 echo "$as_me: failed program was:" >&5
9212 sed 's/^/| /' conftest.$ac_ext >&5
9215 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
9216 See \`config.log' for more details." >&5
9217 echo "$as_me: error: cannot compute sizeof (short), 77
9218 See \`config.log' for more details." >&2;}
9219 { (exit 1); exit 1; }; }
9221 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9226 ac_cv_sizeof_short=0
9229 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
9230 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
9231 cat >>confdefs.h <<_ACEOF
9232 #define SIZEOF_SHORT $ac_cv_sizeof_short
9236 echo "$as_me:$LINENO: checking for char" >&5
9237 echo $ECHO_N "checking for char... $ECHO_C" >&6
9238 if test "${ac_cv_type_char+set}" = set; then
9239 echo $ECHO_N "(cached) $ECHO_C" >&6
9241 cat >conftest.$ac_ext <<_ACEOF
9244 cat confdefs.h >>conftest.$ac_ext
9245 cat >>conftest.$ac_ext <<_ACEOF
9246 /* end confdefs.h. */
9247 $ac_includes_default
9259 rm -f conftest.$ac_objext
9260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9261 (eval $ac_compile) 2>conftest.er1
9263 grep -v '^ *+' conftest.er1 >conftest.err
9265 cat conftest.err >&5
9266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9267 (exit $ac_status); } &&
9268 { ac_try='test -z "$ac_c_werror_flag"
9269 || test ! -s conftest.err'
9270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9274 (exit $ac_status); }; } &&
9275 { ac_try='test -s conftest.$ac_objext'
9276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9280 (exit $ac_status); }; }; then
9283 echo "$as_me: failed program was:" >&5
9284 sed 's/^/| /' conftest.$ac_ext >&5
9288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9290 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
9291 echo "${ECHO_T}$ac_cv_type_char" >&6
9293 echo "$as_me:$LINENO: checking size of char" >&5
9294 echo $ECHO_N "checking size of char... $ECHO_C" >&6
9295 if test "${ac_cv_sizeof_char+set}" = set; then
9296 echo $ECHO_N "(cached) $ECHO_C" >&6
9298 if test "$ac_cv_type_char" = yes; then
9299 # The cast to unsigned long works around a bug in the HP C Compiler
9300 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9301 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9302 # This bug is HP SR number 8606223364.
9303 if test "$cross_compiling" = yes; then
9304 # Depending upon the size, compute the lo and hi bounds.
9305 cat >conftest.$ac_ext <<_ACEOF
9308 cat confdefs.h >>conftest.$ac_ext
9309 cat >>conftest.$ac_ext <<_ACEOF
9310 /* end confdefs.h. */
9311 $ac_includes_default
9315 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
9322 rm -f conftest.$ac_objext
9323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9324 (eval $ac_compile) 2>conftest.er1
9326 grep -v '^ *+' conftest.er1 >conftest.err
9328 cat conftest.err >&5
9329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9330 (exit $ac_status); } &&
9331 { ac_try='test -z "$ac_c_werror_flag"
9332 || test ! -s conftest.err'
9333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9337 (exit $ac_status); }; } &&
9338 { ac_try='test -s conftest.$ac_objext'
9339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9343 (exit $ac_status); }; }; then
9346 cat >conftest.$ac_ext <<_ACEOF
9349 cat confdefs.h >>conftest.$ac_ext
9350 cat >>conftest.$ac_ext <<_ACEOF
9351 /* end confdefs.h. */
9352 $ac_includes_default
9356 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
9363 rm -f conftest.$ac_objext
9364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9365 (eval $ac_compile) 2>conftest.er1
9367 grep -v '^ *+' conftest.er1 >conftest.err
9369 cat conftest.err >&5
9370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9371 (exit $ac_status); } &&
9372 { ac_try='test -z "$ac_c_werror_flag"
9373 || test ! -s conftest.err'
9374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9378 (exit $ac_status); }; } &&
9379 { ac_try='test -s conftest.$ac_objext'
9380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9384 (exit $ac_status); }; }; then
9385 ac_hi=$ac_mid; break
9387 echo "$as_me: failed program was:" >&5
9388 sed 's/^/| /' conftest.$ac_ext >&5
9390 ac_lo=`expr $ac_mid + 1`
9391 if test $ac_lo -le $ac_mid; then
9395 ac_mid=`expr 2 '*' $ac_mid + 1`
9397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9400 echo "$as_me: failed program was:" >&5
9401 sed 's/^/| /' conftest.$ac_ext >&5
9403 cat >conftest.$ac_ext <<_ACEOF
9406 cat confdefs.h >>conftest.$ac_ext
9407 cat >>conftest.$ac_ext <<_ACEOF
9408 /* end confdefs.h. */
9409 $ac_includes_default
9413 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
9420 rm -f conftest.$ac_objext
9421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9422 (eval $ac_compile) 2>conftest.er1
9424 grep -v '^ *+' conftest.er1 >conftest.err
9426 cat conftest.err >&5
9427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9428 (exit $ac_status); } &&
9429 { ac_try='test -z "$ac_c_werror_flag"
9430 || test ! -s conftest.err'
9431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9435 (exit $ac_status); }; } &&
9436 { ac_try='test -s conftest.$ac_objext'
9437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9441 (exit $ac_status); }; }; then
9444 cat >conftest.$ac_ext <<_ACEOF
9447 cat confdefs.h >>conftest.$ac_ext
9448 cat >>conftest.$ac_ext <<_ACEOF
9449 /* end confdefs.h. */
9450 $ac_includes_default
9454 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
9461 rm -f conftest.$ac_objext
9462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9463 (eval $ac_compile) 2>conftest.er1
9465 grep -v '^ *+' conftest.er1 >conftest.err
9467 cat conftest.err >&5
9468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9469 (exit $ac_status); } &&
9470 { ac_try='test -z "$ac_c_werror_flag"
9471 || test ! -s conftest.err'
9472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9476 (exit $ac_status); }; } &&
9477 { ac_try='test -s conftest.$ac_objext'
9478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9482 (exit $ac_status); }; }; then
9483 ac_lo=$ac_mid; break
9485 echo "$as_me: failed program was:" >&5
9486 sed 's/^/| /' conftest.$ac_ext >&5
9488 ac_hi=`expr '(' $ac_mid ')' - 1`
9489 if test $ac_mid -le $ac_hi; then
9493 ac_mid=`expr 2 '*' $ac_mid`
9495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9498 echo "$as_me: failed program was:" >&5
9499 sed 's/^/| /' conftest.$ac_ext >&5
9503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9506 # Binary search between lo and hi bounds.
9507 while test "x$ac_lo" != "x$ac_hi"; do
9508 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9509 cat >conftest.$ac_ext <<_ACEOF
9512 cat confdefs.h >>conftest.$ac_ext
9513 cat >>conftest.$ac_ext <<_ACEOF
9514 /* end confdefs.h. */
9515 $ac_includes_default
9519 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
9526 rm -f conftest.$ac_objext
9527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9528 (eval $ac_compile) 2>conftest.er1
9530 grep -v '^ *+' conftest.er1 >conftest.err
9532 cat conftest.err >&5
9533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9534 (exit $ac_status); } &&
9535 { ac_try='test -z "$ac_c_werror_flag"
9536 || test ! -s conftest.err'
9537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); }; } &&
9542 { ac_try='test -s conftest.$ac_objext'
9543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9547 (exit $ac_status); }; }; then
9550 echo "$as_me: failed program was:" >&5
9551 sed 's/^/| /' conftest.$ac_ext >&5
9553 ac_lo=`expr '(' $ac_mid ')' + 1`
9555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9558 ?*) ac_cv_sizeof_char=$ac_lo;;
9559 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
9560 See \`config.log' for more details." >&5
9561 echo "$as_me: error: cannot compute sizeof (char), 77
9562 See \`config.log' for more details." >&2;}
9563 { (exit 1); exit 1; }; } ;;
9566 if test "$cross_compiling" = yes; then
9567 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9568 See \`config.log' for more details." >&5
9569 echo "$as_me: error: cannot run test program while cross compiling
9570 See \`config.log' for more details." >&2;}
9571 { (exit 1); exit 1; }; }
9573 cat >conftest.$ac_ext <<_ACEOF
9576 cat confdefs.h >>conftest.$ac_ext
9577 cat >>conftest.$ac_ext <<_ACEOF
9578 /* end confdefs.h. */
9579 $ac_includes_default
9580 long longval () { return (long) (sizeof (char)); }
9581 unsigned long ulongval () { return (long) (sizeof (char)); }
9588 FILE *f = fopen ("conftest.val", "w");
9591 if (((long) (sizeof (char))) < 0)
9593 long i = longval ();
9594 if (i != ((long) (sizeof (char))))
9596 fprintf (f, "%ld\n", i);
9600 unsigned long i = ulongval ();
9601 if (i != ((long) (sizeof (char))))
9603 fprintf (f, "%lu\n", i);
9605 exit (ferror (f) || fclose (f) != 0);
9611 rm -f conftest$ac_exeext
9612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9613 (eval $ac_link) 2>&5
9615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9616 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9621 (exit $ac_status); }; }; then
9622 ac_cv_sizeof_char=`cat conftest.val`
9624 echo "$as_me: program exited with status $ac_status" >&5
9625 echo "$as_me: failed program was:" >&5
9626 sed 's/^/| /' conftest.$ac_ext >&5
9629 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
9630 See \`config.log' for more details." >&5
9631 echo "$as_me: error: cannot compute sizeof (char), 77
9632 See \`config.log' for more details." >&2;}
9633 { (exit 1); exit 1; }; }
9635 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9643 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
9644 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
9645 cat >>confdefs.h <<_ACEOF
9646 #define SIZEOF_CHAR $ac_cv_sizeof_char
9651 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
9652 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
9653 case "$ac_cv_sizeof_char" in
9654 1) acx_cv_type_int8_t=char ;;
9655 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
9656 echo "$as_me: error: no 8-bit type" >&2;}
9657 { (exit please report a bug); exit please report a bug; }; }
9659 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
9660 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
9662 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
9663 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
9664 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
9665 2:*) acx_cv_type_int16_t=int ;;
9666 *:2) acx_cv_type_int16_t=short ;;
9667 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
9668 echo "$as_me: error: no 16-bit type" >&2;}
9669 { (exit please report a bug); exit please report a bug; }; }
9671 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
9672 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
9674 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
9675 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
9676 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
9677 4:*) acx_cv_type_int32_t=int ;;
9678 *:4) acx_cv_type_int32_t=long ;;
9679 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
9680 echo "$as_me: error: no 32-bit type" >&2;}
9681 { (exit please report a bug); exit please report a bug; }; }
9683 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
9684 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
9687 # These tests are here to make the output prettier
9689 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
9690 case "$ac_cv_sizeof_long" in
9691 8) acx_cv_type_int64_t=long ;;
9693 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
9694 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
9695 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
9696 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
9699 # Now we can use the above types
9701 if test "$ac_cv_type_uintptr_t" != yes; then
9702 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
9703 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
9704 case $ac_cv_sizeof_void_p in
9705 2) acx_cv_type_intptr_t=int16_t ;;
9706 4) acx_cv_type_intptr_t=int32_t ;;
9707 8) acx_cv_type_intptr_t=int64_t ;;
9708 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
9709 echo "$as_me: error: no equivalent for intptr_t" >&2;}
9710 { (exit please report a bug); exit please report a bug; }; }
9712 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
9713 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
9716 # ----------------- done all checks, emit header -------------
9717 ac_config_commands="$ac_config_commands gstdint.h"
9722 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
9723 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
9724 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
9725 echo $ECHO_N "(cached) $ECHO_C" >&6
9727 cat >conftest.$ac_ext <<_ACEOF
9730 cat confdefs.h >>conftest.$ac_ext
9731 cat >>conftest.$ac_ext <<_ACEOF
9732 /* end confdefs.h. */
9733 $ac_includes_default
9737 static struct stat ac_aggr;
9738 if (ac_aggr.st_blksize)
9744 rm -f conftest.$ac_objext
9745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9746 (eval $ac_compile) 2>conftest.er1
9748 grep -v '^ *+' conftest.er1 >conftest.err
9750 cat conftest.err >&5
9751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9752 (exit $ac_status); } &&
9753 { ac_try='test -z "$ac_c_werror_flag"
9754 || test ! -s conftest.err'
9755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9759 (exit $ac_status); }; } &&
9760 { ac_try='test -s conftest.$ac_objext'
9761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9765 (exit $ac_status); }; }; then
9766 ac_cv_member_struct_stat_st_blksize=yes
9768 echo "$as_me: failed program was:" >&5
9769 sed 's/^/| /' conftest.$ac_ext >&5
9771 cat >conftest.$ac_ext <<_ACEOF
9774 cat confdefs.h >>conftest.$ac_ext
9775 cat >>conftest.$ac_ext <<_ACEOF
9776 /* end confdefs.h. */
9777 $ac_includes_default
9781 static struct stat ac_aggr;
9782 if (sizeof ac_aggr.st_blksize)
9788 rm -f conftest.$ac_objext
9789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9790 (eval $ac_compile) 2>conftest.er1
9792 grep -v '^ *+' conftest.er1 >conftest.err
9794 cat conftest.err >&5
9795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9796 (exit $ac_status); } &&
9797 { ac_try='test -z "$ac_c_werror_flag"
9798 || test ! -s conftest.err'
9799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9803 (exit $ac_status); }; } &&
9804 { ac_try='test -s conftest.$ac_objext'
9805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9809 (exit $ac_status); }; }; then
9810 ac_cv_member_struct_stat_st_blksize=yes
9812 echo "$as_me: failed program was:" >&5
9813 sed 's/^/| /' conftest.$ac_ext >&5
9815 ac_cv_member_struct_stat_st_blksize=no
9817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9821 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
9822 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
9823 if test $ac_cv_member_struct_stat_st_blksize = yes; then
9825 cat >>confdefs.h <<_ACEOF
9826 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
9832 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
9833 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
9834 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
9835 echo $ECHO_N "(cached) $ECHO_C" >&6
9837 cat >conftest.$ac_ext <<_ACEOF
9840 cat confdefs.h >>conftest.$ac_ext
9841 cat >>conftest.$ac_ext <<_ACEOF
9842 /* end confdefs.h. */
9843 $ac_includes_default
9847 static struct stat ac_aggr;
9848 if (ac_aggr.st_blocks)
9854 rm -f conftest.$ac_objext
9855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9856 (eval $ac_compile) 2>conftest.er1
9858 grep -v '^ *+' conftest.er1 >conftest.err
9860 cat conftest.err >&5
9861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9862 (exit $ac_status); } &&
9863 { ac_try='test -z "$ac_c_werror_flag"
9864 || test ! -s conftest.err'
9865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9869 (exit $ac_status); }; } &&
9870 { ac_try='test -s conftest.$ac_objext'
9871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9875 (exit $ac_status); }; }; then
9876 ac_cv_member_struct_stat_st_blocks=yes
9878 echo "$as_me: failed program was:" >&5
9879 sed 's/^/| /' conftest.$ac_ext >&5
9881 cat >conftest.$ac_ext <<_ACEOF
9884 cat confdefs.h >>conftest.$ac_ext
9885 cat >>conftest.$ac_ext <<_ACEOF
9886 /* end confdefs.h. */
9887 $ac_includes_default
9891 static struct stat ac_aggr;
9892 if (sizeof ac_aggr.st_blocks)
9898 rm -f conftest.$ac_objext
9899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9900 (eval $ac_compile) 2>conftest.er1
9902 grep -v '^ *+' conftest.er1 >conftest.err
9904 cat conftest.err >&5
9905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9906 (exit $ac_status); } &&
9907 { ac_try='test -z "$ac_c_werror_flag"
9908 || test ! -s conftest.err'
9909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9913 (exit $ac_status); }; } &&
9914 { ac_try='test -s conftest.$ac_objext'
9915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9919 (exit $ac_status); }; }; then
9920 ac_cv_member_struct_stat_st_blocks=yes
9922 echo "$as_me: failed program was:" >&5
9923 sed 's/^/| /' conftest.$ac_ext >&5
9925 ac_cv_member_struct_stat_st_blocks=no
9927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9931 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
9932 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
9933 if test $ac_cv_member_struct_stat_st_blocks = yes; then
9935 cat >>confdefs.h <<_ACEOF
9936 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
9942 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
9943 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
9944 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
9945 echo $ECHO_N "(cached) $ECHO_C" >&6
9947 cat >conftest.$ac_ext <<_ACEOF
9950 cat confdefs.h >>conftest.$ac_ext
9951 cat >>conftest.$ac_ext <<_ACEOF
9952 /* end confdefs.h. */
9953 $ac_includes_default
9957 static struct stat ac_aggr;
9958 if (ac_aggr.st_rdev)
9964 rm -f conftest.$ac_objext
9965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9966 (eval $ac_compile) 2>conftest.er1
9968 grep -v '^ *+' conftest.er1 >conftest.err
9970 cat conftest.err >&5
9971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9972 (exit $ac_status); } &&
9973 { ac_try='test -z "$ac_c_werror_flag"
9974 || test ! -s conftest.err'
9975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9979 (exit $ac_status); }; } &&
9980 { ac_try='test -s conftest.$ac_objext'
9981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9985 (exit $ac_status); }; }; then
9986 ac_cv_member_struct_stat_st_rdev=yes
9988 echo "$as_me: failed program was:" >&5
9989 sed 's/^/| /' conftest.$ac_ext >&5
9991 cat >conftest.$ac_ext <<_ACEOF
9994 cat confdefs.h >>conftest.$ac_ext
9995 cat >>conftest.$ac_ext <<_ACEOF
9996 /* end confdefs.h. */
9997 $ac_includes_default
10001 static struct stat ac_aggr;
10002 if (sizeof ac_aggr.st_rdev)
10008 rm -f conftest.$ac_objext
10009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10010 (eval $ac_compile) 2>conftest.er1
10012 grep -v '^ *+' conftest.er1 >conftest.err
10014 cat conftest.err >&5
10015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10016 (exit $ac_status); } &&
10017 { ac_try='test -z "$ac_c_werror_flag"
10018 || test ! -s conftest.err'
10019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10020 (eval $ac_try) 2>&5
10022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10023 (exit $ac_status); }; } &&
10024 { ac_try='test -s conftest.$ac_objext'
10025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10026 (eval $ac_try) 2>&5
10028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10029 (exit $ac_status); }; }; then
10030 ac_cv_member_struct_stat_st_rdev=yes
10032 echo "$as_me: failed program was:" >&5
10033 sed 's/^/| /' conftest.$ac_ext >&5
10035 ac_cv_member_struct_stat_st_rdev=no
10037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10041 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
10042 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
10043 if test $ac_cv_member_struct_stat_st_rdev = yes; then
10045 cat >>confdefs.h <<_ACEOF
10046 #define HAVE_STRUCT_STAT_ST_RDEV 1
10053 # Check for library functions.
10062 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
10064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10065 echo "$as_me:$LINENO: checking for $ac_func" >&5
10066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10067 if eval "test \"\${$as_ac_var+set}\" = set"; then
10068 echo $ECHO_N "(cached) $ECHO_C" >&6
10070 if test x$gcc_no_link = xyes; then
10071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10073 { (exit 1); exit 1; }; }
10075 cat >conftest.$ac_ext <<_ACEOF
10078 cat confdefs.h >>conftest.$ac_ext
10079 cat >>conftest.$ac_ext <<_ACEOF
10080 /* end confdefs.h. */
10081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10083 #define $ac_func innocuous_$ac_func
10085 /* System header to define __stub macros and hopefully few prototypes,
10086 which can conflict with char $ac_func (); below.
10087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10088 <limits.h> exists even on freestanding compilers. */
10091 # include <limits.h>
10093 # include <assert.h>
10098 /* Override any gcc2 internal prototype to avoid an error. */
10103 /* We use char because int might match the return type of a gcc2
10104 builtin and then its argument prototype would still apply. */
10106 /* The GNU C library defines this for functions which it implements
10107 to always fail with ENOSYS. Some functions are actually named
10108 something starting with __ and the normal name is an alias. */
10109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10112 char (*f) () = $ac_func;
10121 return f != $ac_func;
10126 rm -f conftest.$ac_objext conftest$ac_exeext
10127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10128 (eval $ac_link) 2>conftest.er1
10130 grep -v '^ *+' conftest.er1 >conftest.err
10132 cat conftest.err >&5
10133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10134 (exit $ac_status); } &&
10135 { ac_try='test -z "$ac_c_werror_flag"
10136 || test ! -s conftest.err'
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); }; } &&
10142 { ac_try='test -s conftest$ac_exeext'
10143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10144 (eval $ac_try) 2>&5
10146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10147 (exit $ac_status); }; }; then
10148 eval "$as_ac_var=yes"
10150 echo "$as_me: failed program was:" >&5
10151 sed 's/^/| /' conftest.$ac_ext >&5
10153 eval "$as_ac_var=no"
10155 rm -f conftest.err conftest.$ac_objext \
10156 conftest$ac_exeext conftest.$ac_ext
10158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10160 if test `eval echo '${'$as_ac_var'}'` = yes; then
10161 cat >>confdefs.h <<_ACEOF
10162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10176 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
10178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10179 echo "$as_me:$LINENO: checking for $ac_func" >&5
10180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10181 if eval "test \"\${$as_ac_var+set}\" = set"; then
10182 echo $ECHO_N "(cached) $ECHO_C" >&6
10184 if test x$gcc_no_link = xyes; then
10185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10187 { (exit 1); exit 1; }; }
10189 cat >conftest.$ac_ext <<_ACEOF
10192 cat confdefs.h >>conftest.$ac_ext
10193 cat >>conftest.$ac_ext <<_ACEOF
10194 /* end confdefs.h. */
10195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10197 #define $ac_func innocuous_$ac_func
10199 /* System header to define __stub macros and hopefully few prototypes,
10200 which can conflict with char $ac_func (); below.
10201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10202 <limits.h> exists even on freestanding compilers. */
10205 # include <limits.h>
10207 # include <assert.h>
10212 /* Override any gcc2 internal prototype to avoid an error. */
10217 /* We use char because int might match the return type of a gcc2
10218 builtin and then its argument prototype would still apply. */
10220 /* The GNU C library defines this for functions which it implements
10221 to always fail with ENOSYS. Some functions are actually named
10222 something starting with __ and the normal name is an alias. */
10223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10226 char (*f) () = $ac_func;
10235 return f != $ac_func;
10240 rm -f conftest.$ac_objext conftest$ac_exeext
10241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10242 (eval $ac_link) 2>conftest.er1
10244 grep -v '^ *+' conftest.er1 >conftest.err
10246 cat conftest.err >&5
10247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10248 (exit $ac_status); } &&
10249 { ac_try='test -z "$ac_c_werror_flag"
10250 || test ! -s conftest.err'
10251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10252 (eval $ac_try) 2>&5
10254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10255 (exit $ac_status); }; } &&
10256 { ac_try='test -s conftest$ac_exeext'
10257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10258 (eval $ac_try) 2>&5
10260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10261 (exit $ac_status); }; }; then
10262 eval "$as_ac_var=yes"
10264 echo "$as_me: failed program was:" >&5
10265 sed 's/^/| /' conftest.$ac_ext >&5
10267 eval "$as_ac_var=no"
10269 rm -f conftest.err conftest.$ac_objext \
10270 conftest$ac_exeext conftest.$ac_ext
10272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10274 if test `eval echo '${'$as_ac_var'}'` = yes; then
10275 cat >>confdefs.h <<_ACEOF
10276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10292 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
10294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10295 echo "$as_me:$LINENO: checking for $ac_func" >&5
10296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10297 if eval "test \"\${$as_ac_var+set}\" = set"; then
10298 echo $ECHO_N "(cached) $ECHO_C" >&6
10300 if test x$gcc_no_link = xyes; then
10301 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10303 { (exit 1); exit 1; }; }
10305 cat >conftest.$ac_ext <<_ACEOF
10308 cat confdefs.h >>conftest.$ac_ext
10309 cat >>conftest.$ac_ext <<_ACEOF
10310 /* end confdefs.h. */
10311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10313 #define $ac_func innocuous_$ac_func
10315 /* System header to define __stub macros and hopefully few prototypes,
10316 which can conflict with char $ac_func (); below.
10317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10318 <limits.h> exists even on freestanding compilers. */
10321 # include <limits.h>
10323 # include <assert.h>
10328 /* Override any gcc2 internal prototype to avoid an error. */
10333 /* We use char because int might match the return type of a gcc2
10334 builtin and then its argument prototype would still apply. */
10336 /* The GNU C library defines this for functions which it implements
10337 to always fail with ENOSYS. Some functions are actually named
10338 something starting with __ and the normal name is an alias. */
10339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10342 char (*f) () = $ac_func;
10351 return f != $ac_func;
10356 rm -f conftest.$ac_objext conftest$ac_exeext
10357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10358 (eval $ac_link) 2>conftest.er1
10360 grep -v '^ *+' conftest.er1 >conftest.err
10362 cat conftest.err >&5
10363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10364 (exit $ac_status); } &&
10365 { ac_try='test -z "$ac_c_werror_flag"
10366 || test ! -s conftest.err'
10367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10368 (eval $ac_try) 2>&5
10370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10371 (exit $ac_status); }; } &&
10372 { ac_try='test -s conftest$ac_exeext'
10373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10374 (eval $ac_try) 2>&5
10376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10377 (exit $ac_status); }; }; then
10378 eval "$as_ac_var=yes"
10380 echo "$as_me: failed program was:" >&5
10381 sed 's/^/| /' conftest.$ac_ext >&5
10383 eval "$as_ac_var=no"
10385 rm -f conftest.err conftest.$ac_objext \
10386 conftest$ac_exeext conftest.$ac_ext
10388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10390 if test `eval echo '${'$as_ac_var'}'` = yes; then
10391 cat >>confdefs.h <<_ACEOF
10392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10407 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
10409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10410 echo "$as_me:$LINENO: checking for $ac_func" >&5
10411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10412 if eval "test \"\${$as_ac_var+set}\" = set"; then
10413 echo $ECHO_N "(cached) $ECHO_C" >&6
10415 if test x$gcc_no_link = xyes; then
10416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10418 { (exit 1); exit 1; }; }
10420 cat >conftest.$ac_ext <<_ACEOF
10423 cat confdefs.h >>conftest.$ac_ext
10424 cat >>conftest.$ac_ext <<_ACEOF
10425 /* end confdefs.h. */
10426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10428 #define $ac_func innocuous_$ac_func
10430 /* System header to define __stub macros and hopefully few prototypes,
10431 which can conflict with char $ac_func (); below.
10432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10433 <limits.h> exists even on freestanding compilers. */
10436 # include <limits.h>
10438 # include <assert.h>
10443 /* Override any gcc2 internal prototype to avoid an error. */
10448 /* We use char because int might match the return type of a gcc2
10449 builtin and then its argument prototype would still apply. */
10451 /* The GNU C library defines this for functions which it implements
10452 to always fail with ENOSYS. Some functions are actually named
10453 something starting with __ and the normal name is an alias. */
10454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10457 char (*f) () = $ac_func;
10466 return f != $ac_func;
10471 rm -f conftest.$ac_objext conftest$ac_exeext
10472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10473 (eval $ac_link) 2>conftest.er1
10475 grep -v '^ *+' conftest.er1 >conftest.err
10477 cat conftest.err >&5
10478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10479 (exit $ac_status); } &&
10480 { ac_try='test -z "$ac_c_werror_flag"
10481 || test ! -s conftest.err'
10482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10483 (eval $ac_try) 2>&5
10485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10486 (exit $ac_status); }; } &&
10487 { ac_try='test -s conftest$ac_exeext'
10488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10489 (eval $ac_try) 2>&5
10491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10492 (exit $ac_status); }; }; then
10493 eval "$as_ac_var=yes"
10495 echo "$as_me: failed program was:" >&5
10496 sed 's/^/| /' conftest.$ac_ext >&5
10498 eval "$as_ac_var=no"
10500 rm -f conftest.err conftest.$ac_objext \
10501 conftest$ac_exeext conftest.$ac_ext
10503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10505 if test `eval echo '${'$as_ac_var'}'` = yes; then
10506 cat >>confdefs.h <<_ACEOF
10507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10514 # Check for glibc backtrace functions
10517 for ac_func in backtrace backtrace_symbols
10519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10520 echo "$as_me:$LINENO: checking for $ac_func" >&5
10521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10522 if eval "test \"\${$as_ac_var+set}\" = set"; then
10523 echo $ECHO_N "(cached) $ECHO_C" >&6
10525 if test x$gcc_no_link = xyes; then
10526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10528 { (exit 1); exit 1; }; }
10530 cat >conftest.$ac_ext <<_ACEOF
10533 cat confdefs.h >>conftest.$ac_ext
10534 cat >>conftest.$ac_ext <<_ACEOF
10535 /* end confdefs.h. */
10536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10538 #define $ac_func innocuous_$ac_func
10540 /* System header to define __stub macros and hopefully few prototypes,
10541 which can conflict with char $ac_func (); below.
10542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10543 <limits.h> exists even on freestanding compilers. */
10546 # include <limits.h>
10548 # include <assert.h>
10553 /* Override any gcc2 internal prototype to avoid an error. */
10558 /* We use char because int might match the return type of a gcc2
10559 builtin and then its argument prototype would still apply. */
10561 /* The GNU C library defines this for functions which it implements
10562 to always fail with ENOSYS. Some functions are actually named
10563 something starting with __ and the normal name is an alias. */
10564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10567 char (*f) () = $ac_func;
10576 return f != $ac_func;
10581 rm -f conftest.$ac_objext conftest$ac_exeext
10582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10583 (eval $ac_link) 2>conftest.er1
10585 grep -v '^ *+' conftest.er1 >conftest.err
10587 cat conftest.err >&5
10588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10589 (exit $ac_status); } &&
10590 { ac_try='test -z "$ac_c_werror_flag"
10591 || test ! -s conftest.err'
10592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10593 (eval $ac_try) 2>&5
10595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10596 (exit $ac_status); }; } &&
10597 { ac_try='test -s conftest$ac_exeext'
10598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10599 (eval $ac_try) 2>&5
10601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602 (exit $ac_status); }; }; then
10603 eval "$as_ac_var=yes"
10605 echo "$as_me: failed program was:" >&5
10606 sed 's/^/| /' conftest.$ac_ext >&5
10608 eval "$as_ac_var=no"
10610 rm -f conftest.err conftest.$ac_objext \
10611 conftest$ac_exeext conftest.$ac_ext
10613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10615 if test `eval echo '${'$as_ac_var'}'` = yes; then
10616 cat >>confdefs.h <<_ACEOF
10617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10625 echo "$as_me:$LINENO: checking for intptr_t" >&5
10626 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
10627 if test "${ac_cv_type_intptr_t+set}" = set; then
10628 echo $ECHO_N "(cached) $ECHO_C" >&6
10630 cat >conftest.$ac_ext <<_ACEOF
10633 cat confdefs.h >>conftest.$ac_ext
10634 cat >>conftest.$ac_ext <<_ACEOF
10635 /* end confdefs.h. */
10636 $ac_includes_default
10640 if ((intptr_t *) 0)
10642 if (sizeof (intptr_t))
10648 rm -f conftest.$ac_objext
10649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10650 (eval $ac_compile) 2>conftest.er1
10652 grep -v '^ *+' conftest.er1 >conftest.err
10654 cat conftest.err >&5
10655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10656 (exit $ac_status); } &&
10657 { ac_try='test -z "$ac_c_werror_flag"
10658 || test ! -s conftest.err'
10659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10660 (eval $ac_try) 2>&5
10662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10663 (exit $ac_status); }; } &&
10664 { ac_try='test -s conftest.$ac_objext'
10665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10666 (eval $ac_try) 2>&5
10668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10669 (exit $ac_status); }; }; then
10670 ac_cv_type_intptr_t=yes
10672 echo "$as_me: failed program was:" >&5
10673 sed 's/^/| /' conftest.$ac_ext >&5
10675 ac_cv_type_intptr_t=no
10677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10679 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
10680 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
10681 if test $ac_cv_type_intptr_t = yes; then
10683 cat >>confdefs.h <<_ACEOF
10684 #define HAVE_INTPTR_T 1
10691 # Check libc for getgid, getpid, getuid
10692 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
10693 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
10694 if test "${ac_cv_lib_c_getgid+set}" = set; then
10695 echo $ECHO_N "(cached) $ECHO_C" >&6
10697 ac_check_lib_save_LIBS=$LIBS
10699 if test x$gcc_no_link = xyes; then
10700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10702 { (exit 1); exit 1; }; }
10704 cat >conftest.$ac_ext <<_ACEOF
10707 cat confdefs.h >>conftest.$ac_ext
10708 cat >>conftest.$ac_ext <<_ACEOF
10709 /* end confdefs.h. */
10711 /* Override any gcc2 internal prototype to avoid an error. */
10715 /* We use char because int might match the return type of a gcc2
10716 builtin and then its argument prototype would still apply. */
10726 rm -f conftest.$ac_objext conftest$ac_exeext
10727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10728 (eval $ac_link) 2>conftest.er1
10730 grep -v '^ *+' conftest.er1 >conftest.err
10732 cat conftest.err >&5
10733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10734 (exit $ac_status); } &&
10735 { ac_try='test -z "$ac_c_werror_flag"
10736 || test ! -s conftest.err'
10737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10738 (eval $ac_try) 2>&5
10740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10741 (exit $ac_status); }; } &&
10742 { ac_try='test -s conftest$ac_exeext'
10743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10744 (eval $ac_try) 2>&5
10746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10747 (exit $ac_status); }; }; then
10748 ac_cv_lib_c_getgid=yes
10750 echo "$as_me: failed program was:" >&5
10751 sed 's/^/| /' conftest.$ac_ext >&5
10753 ac_cv_lib_c_getgid=no
10755 rm -f conftest.err conftest.$ac_objext \
10756 conftest$ac_exeext conftest.$ac_ext
10757 LIBS=$ac_check_lib_save_LIBS
10759 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
10760 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
10761 if test $ac_cv_lib_c_getgid = yes; then
10763 cat >>confdefs.h <<\_ACEOF
10764 #define HAVE_GETGID 1
10769 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
10770 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
10771 if test "${ac_cv_lib_c_getpid+set}" = set; then
10772 echo $ECHO_N "(cached) $ECHO_C" >&6
10774 ac_check_lib_save_LIBS=$LIBS
10776 if test x$gcc_no_link = xyes; then
10777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10779 { (exit 1); exit 1; }; }
10781 cat >conftest.$ac_ext <<_ACEOF
10784 cat confdefs.h >>conftest.$ac_ext
10785 cat >>conftest.$ac_ext <<_ACEOF
10786 /* end confdefs.h. */
10788 /* Override any gcc2 internal prototype to avoid an error. */
10792 /* We use char because int might match the return type of a gcc2
10793 builtin and then its argument prototype would still apply. */
10803 rm -f conftest.$ac_objext conftest$ac_exeext
10804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10805 (eval $ac_link) 2>conftest.er1
10807 grep -v '^ *+' conftest.er1 >conftest.err
10809 cat conftest.err >&5
10810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10811 (exit $ac_status); } &&
10812 { ac_try='test -z "$ac_c_werror_flag"
10813 || test ! -s conftest.err'
10814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10815 (eval $ac_try) 2>&5
10817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10818 (exit $ac_status); }; } &&
10819 { ac_try='test -s conftest$ac_exeext'
10820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10821 (eval $ac_try) 2>&5
10823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10824 (exit $ac_status); }; }; then
10825 ac_cv_lib_c_getpid=yes
10827 echo "$as_me: failed program was:" >&5
10828 sed 's/^/| /' conftest.$ac_ext >&5
10830 ac_cv_lib_c_getpid=no
10832 rm -f conftest.err conftest.$ac_objext \
10833 conftest$ac_exeext conftest.$ac_ext
10834 LIBS=$ac_check_lib_save_LIBS
10836 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
10837 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
10838 if test $ac_cv_lib_c_getpid = yes; then
10840 cat >>confdefs.h <<\_ACEOF
10841 #define HAVE_GETPID 1
10846 echo "$as_me:$LINENO: checking for getppid in -lc" >&5
10847 echo $ECHO_N "checking for getppid in -lc... $ECHO_C" >&6
10848 if test "${ac_cv_lib_c_getppid+set}" = set; then
10849 echo $ECHO_N "(cached) $ECHO_C" >&6
10851 ac_check_lib_save_LIBS=$LIBS
10853 if test x$gcc_no_link = xyes; then
10854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10856 { (exit 1); exit 1; }; }
10858 cat >conftest.$ac_ext <<_ACEOF
10861 cat confdefs.h >>conftest.$ac_ext
10862 cat >>conftest.$ac_ext <<_ACEOF
10863 /* end confdefs.h. */
10865 /* Override any gcc2 internal prototype to avoid an error. */
10869 /* We use char because int might match the return type of a gcc2
10870 builtin and then its argument prototype would still apply. */
10880 rm -f conftest.$ac_objext conftest$ac_exeext
10881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10882 (eval $ac_link) 2>conftest.er1
10884 grep -v '^ *+' conftest.er1 >conftest.err
10886 cat conftest.err >&5
10887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10888 (exit $ac_status); } &&
10889 { ac_try='test -z "$ac_c_werror_flag"
10890 || test ! -s conftest.err'
10891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10892 (eval $ac_try) 2>&5
10894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10895 (exit $ac_status); }; } &&
10896 { ac_try='test -s conftest$ac_exeext'
10897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10898 (eval $ac_try) 2>&5
10900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10901 (exit $ac_status); }; }; then
10902 ac_cv_lib_c_getppid=yes
10904 echo "$as_me: failed program was:" >&5
10905 sed 's/^/| /' conftest.$ac_ext >&5
10907 ac_cv_lib_c_getppid=no
10909 rm -f conftest.err conftest.$ac_objext \
10910 conftest$ac_exeext conftest.$ac_ext
10911 LIBS=$ac_check_lib_save_LIBS
10913 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getppid" >&5
10914 echo "${ECHO_T}$ac_cv_lib_c_getppid" >&6
10915 if test $ac_cv_lib_c_getppid = yes; then
10917 cat >>confdefs.h <<\_ACEOF
10918 #define HAVE_GETPPID 1
10923 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
10924 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
10925 if test "${ac_cv_lib_c_getuid+set}" = set; then
10926 echo $ECHO_N "(cached) $ECHO_C" >&6
10928 ac_check_lib_save_LIBS=$LIBS
10930 if test x$gcc_no_link = xyes; then
10931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10933 { (exit 1); exit 1; }; }
10935 cat >conftest.$ac_ext <<_ACEOF
10938 cat confdefs.h >>conftest.$ac_ext
10939 cat >>conftest.$ac_ext <<_ACEOF
10940 /* end confdefs.h. */
10942 /* Override any gcc2 internal prototype to avoid an error. */
10946 /* We use char because int might match the return type of a gcc2
10947 builtin and then its argument prototype would still apply. */
10957 rm -f conftest.$ac_objext conftest$ac_exeext
10958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10959 (eval $ac_link) 2>conftest.er1
10961 grep -v '^ *+' conftest.er1 >conftest.err
10963 cat conftest.err >&5
10964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10965 (exit $ac_status); } &&
10966 { ac_try='test -z "$ac_c_werror_flag"
10967 || test ! -s conftest.err'
10968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10969 (eval $ac_try) 2>&5
10971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10972 (exit $ac_status); }; } &&
10973 { ac_try='test -s conftest$ac_exeext'
10974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10975 (eval $ac_try) 2>&5
10977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10978 (exit $ac_status); }; }; then
10979 ac_cv_lib_c_getuid=yes
10981 echo "$as_me: failed program was:" >&5
10982 sed 's/^/| /' conftest.$ac_ext >&5
10984 ac_cv_lib_c_getuid=no
10986 rm -f conftest.err conftest.$ac_objext \
10987 conftest$ac_exeext conftest.$ac_ext
10988 LIBS=$ac_check_lib_save_LIBS
10990 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
10991 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
10992 if test $ac_cv_lib_c_getuid = yes; then
10994 cat >>confdefs.h <<\_ACEOF
10995 #define HAVE_GETUID 1
11001 # Check for C99 (and other IEEE) math functions
11002 # ??? This list seems awful long. Is there a better way to test for these?
11003 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
11004 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
11005 if test "${ac_cv_lib_m_acosf+set}" = set; then
11006 echo $ECHO_N "(cached) $ECHO_C" >&6
11008 ac_check_lib_save_LIBS=$LIBS
11010 if test x$gcc_no_link = xyes; then
11011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11013 { (exit 1); exit 1; }; }
11015 cat >conftest.$ac_ext <<_ACEOF
11018 cat confdefs.h >>conftest.$ac_ext
11019 cat >>conftest.$ac_ext <<_ACEOF
11020 /* end confdefs.h. */
11022 /* Override any gcc2 internal prototype to avoid an error. */
11026 /* We use char because int might match the return type of a gcc2
11027 builtin and then its argument prototype would still apply. */
11037 rm -f conftest.$ac_objext conftest$ac_exeext
11038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11039 (eval $ac_link) 2>conftest.er1
11041 grep -v '^ *+' conftest.er1 >conftest.err
11043 cat conftest.err >&5
11044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11045 (exit $ac_status); } &&
11046 { ac_try='test -z "$ac_c_werror_flag"
11047 || test ! -s conftest.err'
11048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11049 (eval $ac_try) 2>&5
11051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11052 (exit $ac_status); }; } &&
11053 { ac_try='test -s conftest$ac_exeext'
11054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11055 (eval $ac_try) 2>&5
11057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11058 (exit $ac_status); }; }; then
11059 ac_cv_lib_m_acosf=yes
11061 echo "$as_me: failed program was:" >&5
11062 sed 's/^/| /' conftest.$ac_ext >&5
11064 ac_cv_lib_m_acosf=no
11066 rm -f conftest.err conftest.$ac_objext \
11067 conftest$ac_exeext conftest.$ac_ext
11068 LIBS=$ac_check_lib_save_LIBS
11070 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
11071 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
11072 if test $ac_cv_lib_m_acosf = yes; then
11074 cat >>confdefs.h <<\_ACEOF
11075 #define HAVE_ACOSF 1
11080 echo "$as_me:$LINENO: checking for acos in -lm" >&5
11081 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
11082 if test "${ac_cv_lib_m_acos+set}" = set; then
11083 echo $ECHO_N "(cached) $ECHO_C" >&6
11085 ac_check_lib_save_LIBS=$LIBS
11087 if test x$gcc_no_link = xyes; then
11088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11090 { (exit 1); exit 1; }; }
11092 cat >conftest.$ac_ext <<_ACEOF
11095 cat confdefs.h >>conftest.$ac_ext
11096 cat >>conftest.$ac_ext <<_ACEOF
11097 /* end confdefs.h. */
11099 /* Override any gcc2 internal prototype to avoid an error. */
11103 /* We use char because int might match the return type of a gcc2
11104 builtin and then its argument prototype would still apply. */
11114 rm -f conftest.$ac_objext conftest$ac_exeext
11115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11116 (eval $ac_link) 2>conftest.er1
11118 grep -v '^ *+' conftest.er1 >conftest.err
11120 cat conftest.err >&5
11121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11122 (exit $ac_status); } &&
11123 { ac_try='test -z "$ac_c_werror_flag"
11124 || test ! -s conftest.err'
11125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11126 (eval $ac_try) 2>&5
11128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11129 (exit $ac_status); }; } &&
11130 { ac_try='test -s conftest$ac_exeext'
11131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11132 (eval $ac_try) 2>&5
11134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11135 (exit $ac_status); }; }; then
11136 ac_cv_lib_m_acos=yes
11138 echo "$as_me: failed program was:" >&5
11139 sed 's/^/| /' conftest.$ac_ext >&5
11141 ac_cv_lib_m_acos=no
11143 rm -f conftest.err conftest.$ac_objext \
11144 conftest$ac_exeext conftest.$ac_ext
11145 LIBS=$ac_check_lib_save_LIBS
11147 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
11148 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
11149 if test $ac_cv_lib_m_acos = yes; then
11151 cat >>confdefs.h <<\_ACEOF
11152 #define HAVE_ACOS 1
11157 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
11158 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
11159 if test "${ac_cv_lib_m_acosl+set}" = set; then
11160 echo $ECHO_N "(cached) $ECHO_C" >&6
11162 ac_check_lib_save_LIBS=$LIBS
11164 if test x$gcc_no_link = xyes; then
11165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11167 { (exit 1); exit 1; }; }
11169 cat >conftest.$ac_ext <<_ACEOF
11172 cat confdefs.h >>conftest.$ac_ext
11173 cat >>conftest.$ac_ext <<_ACEOF
11174 /* end confdefs.h. */
11176 /* Override any gcc2 internal prototype to avoid an error. */
11180 /* We use char because int might match the return type of a gcc2
11181 builtin and then its argument prototype would still apply. */
11191 rm -f conftest.$ac_objext conftest$ac_exeext
11192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11193 (eval $ac_link) 2>conftest.er1
11195 grep -v '^ *+' conftest.er1 >conftest.err
11197 cat conftest.err >&5
11198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11199 (exit $ac_status); } &&
11200 { ac_try='test -z "$ac_c_werror_flag"
11201 || test ! -s conftest.err'
11202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11203 (eval $ac_try) 2>&5
11205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11206 (exit $ac_status); }; } &&
11207 { ac_try='test -s conftest$ac_exeext'
11208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11209 (eval $ac_try) 2>&5
11211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11212 (exit $ac_status); }; }; then
11213 ac_cv_lib_m_acosl=yes
11215 echo "$as_me: failed program was:" >&5
11216 sed 's/^/| /' conftest.$ac_ext >&5
11218 ac_cv_lib_m_acosl=no
11220 rm -f conftest.err conftest.$ac_objext \
11221 conftest$ac_exeext conftest.$ac_ext
11222 LIBS=$ac_check_lib_save_LIBS
11224 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
11225 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
11226 if test $ac_cv_lib_m_acosl = yes; then
11228 cat >>confdefs.h <<\_ACEOF
11229 #define HAVE_ACOSL 1
11234 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
11235 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
11236 if test "${ac_cv_lib_m_acoshf+set}" = set; then
11237 echo $ECHO_N "(cached) $ECHO_C" >&6
11239 ac_check_lib_save_LIBS=$LIBS
11241 if test x$gcc_no_link = xyes; then
11242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11244 { (exit 1); exit 1; }; }
11246 cat >conftest.$ac_ext <<_ACEOF
11249 cat confdefs.h >>conftest.$ac_ext
11250 cat >>conftest.$ac_ext <<_ACEOF
11251 /* end confdefs.h. */
11253 /* Override any gcc2 internal prototype to avoid an error. */
11257 /* We use char because int might match the return type of a gcc2
11258 builtin and then its argument prototype would still apply. */
11268 rm -f conftest.$ac_objext conftest$ac_exeext
11269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11270 (eval $ac_link) 2>conftest.er1
11272 grep -v '^ *+' conftest.er1 >conftest.err
11274 cat conftest.err >&5
11275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11276 (exit $ac_status); } &&
11277 { ac_try='test -z "$ac_c_werror_flag"
11278 || test ! -s conftest.err'
11279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11280 (eval $ac_try) 2>&5
11282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283 (exit $ac_status); }; } &&
11284 { ac_try='test -s conftest$ac_exeext'
11285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11286 (eval $ac_try) 2>&5
11288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11289 (exit $ac_status); }; }; then
11290 ac_cv_lib_m_acoshf=yes
11292 echo "$as_me: failed program was:" >&5
11293 sed 's/^/| /' conftest.$ac_ext >&5
11295 ac_cv_lib_m_acoshf=no
11297 rm -f conftest.err conftest.$ac_objext \
11298 conftest$ac_exeext conftest.$ac_ext
11299 LIBS=$ac_check_lib_save_LIBS
11301 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
11302 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
11303 if test $ac_cv_lib_m_acoshf = yes; then
11305 cat >>confdefs.h <<\_ACEOF
11306 #define HAVE_ACOSHF 1
11311 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
11312 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
11313 if test "${ac_cv_lib_m_acosh+set}" = set; then
11314 echo $ECHO_N "(cached) $ECHO_C" >&6
11316 ac_check_lib_save_LIBS=$LIBS
11318 if test x$gcc_no_link = xyes; then
11319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11321 { (exit 1); exit 1; }; }
11323 cat >conftest.$ac_ext <<_ACEOF
11326 cat confdefs.h >>conftest.$ac_ext
11327 cat >>conftest.$ac_ext <<_ACEOF
11328 /* end confdefs.h. */
11330 /* Override any gcc2 internal prototype to avoid an error. */
11334 /* We use char because int might match the return type of a gcc2
11335 builtin and then its argument prototype would still apply. */
11345 rm -f conftest.$ac_objext conftest$ac_exeext
11346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11347 (eval $ac_link) 2>conftest.er1
11349 grep -v '^ *+' conftest.er1 >conftest.err
11351 cat conftest.err >&5
11352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11353 (exit $ac_status); } &&
11354 { ac_try='test -z "$ac_c_werror_flag"
11355 || test ! -s conftest.err'
11356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11357 (eval $ac_try) 2>&5
11359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11360 (exit $ac_status); }; } &&
11361 { ac_try='test -s conftest$ac_exeext'
11362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11363 (eval $ac_try) 2>&5
11365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11366 (exit $ac_status); }; }; then
11367 ac_cv_lib_m_acosh=yes
11369 echo "$as_me: failed program was:" >&5
11370 sed 's/^/| /' conftest.$ac_ext >&5
11372 ac_cv_lib_m_acosh=no
11374 rm -f conftest.err conftest.$ac_objext \
11375 conftest$ac_exeext conftest.$ac_ext
11376 LIBS=$ac_check_lib_save_LIBS
11378 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
11379 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
11380 if test $ac_cv_lib_m_acosh = yes; then
11382 cat >>confdefs.h <<\_ACEOF
11383 #define HAVE_ACOSH 1
11388 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
11389 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
11390 if test "${ac_cv_lib_m_acoshl+set}" = set; then
11391 echo $ECHO_N "(cached) $ECHO_C" >&6
11393 ac_check_lib_save_LIBS=$LIBS
11395 if test x$gcc_no_link = xyes; then
11396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11398 { (exit 1); exit 1; }; }
11400 cat >conftest.$ac_ext <<_ACEOF
11403 cat confdefs.h >>conftest.$ac_ext
11404 cat >>conftest.$ac_ext <<_ACEOF
11405 /* end confdefs.h. */
11407 /* Override any gcc2 internal prototype to avoid an error. */
11411 /* We use char because int might match the return type of a gcc2
11412 builtin and then its argument prototype would still apply. */
11422 rm -f conftest.$ac_objext conftest$ac_exeext
11423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11424 (eval $ac_link) 2>conftest.er1
11426 grep -v '^ *+' conftest.er1 >conftest.err
11428 cat conftest.err >&5
11429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11430 (exit $ac_status); } &&
11431 { ac_try='test -z "$ac_c_werror_flag"
11432 || test ! -s conftest.err'
11433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11434 (eval $ac_try) 2>&5
11436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11437 (exit $ac_status); }; } &&
11438 { ac_try='test -s conftest$ac_exeext'
11439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11440 (eval $ac_try) 2>&5
11442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11443 (exit $ac_status); }; }; then
11444 ac_cv_lib_m_acoshl=yes
11446 echo "$as_me: failed program was:" >&5
11447 sed 's/^/| /' conftest.$ac_ext >&5
11449 ac_cv_lib_m_acoshl=no
11451 rm -f conftest.err conftest.$ac_objext \
11452 conftest$ac_exeext conftest.$ac_ext
11453 LIBS=$ac_check_lib_save_LIBS
11455 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
11456 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
11457 if test $ac_cv_lib_m_acoshl = yes; then
11459 cat >>confdefs.h <<\_ACEOF
11460 #define HAVE_ACOSHL 1
11465 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
11466 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
11467 if test "${ac_cv_lib_m_asinf+set}" = set; then
11468 echo $ECHO_N "(cached) $ECHO_C" >&6
11470 ac_check_lib_save_LIBS=$LIBS
11472 if test x$gcc_no_link = xyes; then
11473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11475 { (exit 1); exit 1; }; }
11477 cat >conftest.$ac_ext <<_ACEOF
11480 cat confdefs.h >>conftest.$ac_ext
11481 cat >>conftest.$ac_ext <<_ACEOF
11482 /* end confdefs.h. */
11484 /* Override any gcc2 internal prototype to avoid an error. */
11488 /* We use char because int might match the return type of a gcc2
11489 builtin and then its argument prototype would still apply. */
11499 rm -f conftest.$ac_objext conftest$ac_exeext
11500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11501 (eval $ac_link) 2>conftest.er1
11503 grep -v '^ *+' conftest.er1 >conftest.err
11505 cat conftest.err >&5
11506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11507 (exit $ac_status); } &&
11508 { ac_try='test -z "$ac_c_werror_flag"
11509 || test ! -s conftest.err'
11510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11511 (eval $ac_try) 2>&5
11513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11514 (exit $ac_status); }; } &&
11515 { ac_try='test -s conftest$ac_exeext'
11516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11517 (eval $ac_try) 2>&5
11519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11520 (exit $ac_status); }; }; then
11521 ac_cv_lib_m_asinf=yes
11523 echo "$as_me: failed program was:" >&5
11524 sed 's/^/| /' conftest.$ac_ext >&5
11526 ac_cv_lib_m_asinf=no
11528 rm -f conftest.err conftest.$ac_objext \
11529 conftest$ac_exeext conftest.$ac_ext
11530 LIBS=$ac_check_lib_save_LIBS
11532 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
11533 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
11534 if test $ac_cv_lib_m_asinf = yes; then
11536 cat >>confdefs.h <<\_ACEOF
11537 #define HAVE_ASINF 1
11542 echo "$as_me:$LINENO: checking for asin in -lm" >&5
11543 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
11544 if test "${ac_cv_lib_m_asin+set}" = set; then
11545 echo $ECHO_N "(cached) $ECHO_C" >&6
11547 ac_check_lib_save_LIBS=$LIBS
11549 if test x$gcc_no_link = xyes; then
11550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11552 { (exit 1); exit 1; }; }
11554 cat >conftest.$ac_ext <<_ACEOF
11557 cat confdefs.h >>conftest.$ac_ext
11558 cat >>conftest.$ac_ext <<_ACEOF
11559 /* end confdefs.h. */
11561 /* Override any gcc2 internal prototype to avoid an error. */
11565 /* We use char because int might match the return type of a gcc2
11566 builtin and then its argument prototype would still apply. */
11576 rm -f conftest.$ac_objext conftest$ac_exeext
11577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11578 (eval $ac_link) 2>conftest.er1
11580 grep -v '^ *+' conftest.er1 >conftest.err
11582 cat conftest.err >&5
11583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11584 (exit $ac_status); } &&
11585 { ac_try='test -z "$ac_c_werror_flag"
11586 || test ! -s conftest.err'
11587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11588 (eval $ac_try) 2>&5
11590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11591 (exit $ac_status); }; } &&
11592 { ac_try='test -s conftest$ac_exeext'
11593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11594 (eval $ac_try) 2>&5
11596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11597 (exit $ac_status); }; }; then
11598 ac_cv_lib_m_asin=yes
11600 echo "$as_me: failed program was:" >&5
11601 sed 's/^/| /' conftest.$ac_ext >&5
11603 ac_cv_lib_m_asin=no
11605 rm -f conftest.err conftest.$ac_objext \
11606 conftest$ac_exeext conftest.$ac_ext
11607 LIBS=$ac_check_lib_save_LIBS
11609 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
11610 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
11611 if test $ac_cv_lib_m_asin = yes; then
11613 cat >>confdefs.h <<\_ACEOF
11614 #define HAVE_ASIN 1
11619 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
11620 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
11621 if test "${ac_cv_lib_m_asinl+set}" = set; then
11622 echo $ECHO_N "(cached) $ECHO_C" >&6
11624 ac_check_lib_save_LIBS=$LIBS
11626 if test x$gcc_no_link = xyes; then
11627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11629 { (exit 1); exit 1; }; }
11631 cat >conftest.$ac_ext <<_ACEOF
11634 cat confdefs.h >>conftest.$ac_ext
11635 cat >>conftest.$ac_ext <<_ACEOF
11636 /* end confdefs.h. */
11638 /* Override any gcc2 internal prototype to avoid an error. */
11642 /* We use char because int might match the return type of a gcc2
11643 builtin and then its argument prototype would still apply. */
11653 rm -f conftest.$ac_objext conftest$ac_exeext
11654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11655 (eval $ac_link) 2>conftest.er1
11657 grep -v '^ *+' conftest.er1 >conftest.err
11659 cat conftest.err >&5
11660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11661 (exit $ac_status); } &&
11662 { ac_try='test -z "$ac_c_werror_flag"
11663 || test ! -s conftest.err'
11664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11665 (eval $ac_try) 2>&5
11667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11668 (exit $ac_status); }; } &&
11669 { ac_try='test -s conftest$ac_exeext'
11670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11671 (eval $ac_try) 2>&5
11673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11674 (exit $ac_status); }; }; then
11675 ac_cv_lib_m_asinl=yes
11677 echo "$as_me: failed program was:" >&5
11678 sed 's/^/| /' conftest.$ac_ext >&5
11680 ac_cv_lib_m_asinl=no
11682 rm -f conftest.err conftest.$ac_objext \
11683 conftest$ac_exeext conftest.$ac_ext
11684 LIBS=$ac_check_lib_save_LIBS
11686 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
11687 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
11688 if test $ac_cv_lib_m_asinl = yes; then
11690 cat >>confdefs.h <<\_ACEOF
11691 #define HAVE_ASINL 1
11696 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
11697 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
11698 if test "${ac_cv_lib_m_asinhf+set}" = set; then
11699 echo $ECHO_N "(cached) $ECHO_C" >&6
11701 ac_check_lib_save_LIBS=$LIBS
11703 if test x$gcc_no_link = xyes; then
11704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11706 { (exit 1); exit 1; }; }
11708 cat >conftest.$ac_ext <<_ACEOF
11711 cat confdefs.h >>conftest.$ac_ext
11712 cat >>conftest.$ac_ext <<_ACEOF
11713 /* end confdefs.h. */
11715 /* Override any gcc2 internal prototype to avoid an error. */
11719 /* We use char because int might match the return type of a gcc2
11720 builtin and then its argument prototype would still apply. */
11730 rm -f conftest.$ac_objext conftest$ac_exeext
11731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11732 (eval $ac_link) 2>conftest.er1
11734 grep -v '^ *+' conftest.er1 >conftest.err
11736 cat conftest.err >&5
11737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11738 (exit $ac_status); } &&
11739 { ac_try='test -z "$ac_c_werror_flag"
11740 || test ! -s conftest.err'
11741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11742 (eval $ac_try) 2>&5
11744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11745 (exit $ac_status); }; } &&
11746 { ac_try='test -s conftest$ac_exeext'
11747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11748 (eval $ac_try) 2>&5
11750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11751 (exit $ac_status); }; }; then
11752 ac_cv_lib_m_asinhf=yes
11754 echo "$as_me: failed program was:" >&5
11755 sed 's/^/| /' conftest.$ac_ext >&5
11757 ac_cv_lib_m_asinhf=no
11759 rm -f conftest.err conftest.$ac_objext \
11760 conftest$ac_exeext conftest.$ac_ext
11761 LIBS=$ac_check_lib_save_LIBS
11763 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
11764 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
11765 if test $ac_cv_lib_m_asinhf = yes; then
11767 cat >>confdefs.h <<\_ACEOF
11768 #define HAVE_ASINHF 1
11773 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
11774 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
11775 if test "${ac_cv_lib_m_asinh+set}" = set; then
11776 echo $ECHO_N "(cached) $ECHO_C" >&6
11778 ac_check_lib_save_LIBS=$LIBS
11780 if test x$gcc_no_link = xyes; then
11781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11783 { (exit 1); exit 1; }; }
11785 cat >conftest.$ac_ext <<_ACEOF
11788 cat confdefs.h >>conftest.$ac_ext
11789 cat >>conftest.$ac_ext <<_ACEOF
11790 /* end confdefs.h. */
11792 /* Override any gcc2 internal prototype to avoid an error. */
11796 /* We use char because int might match the return type of a gcc2
11797 builtin and then its argument prototype would still apply. */
11807 rm -f conftest.$ac_objext conftest$ac_exeext
11808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11809 (eval $ac_link) 2>conftest.er1
11811 grep -v '^ *+' conftest.er1 >conftest.err
11813 cat conftest.err >&5
11814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11815 (exit $ac_status); } &&
11816 { ac_try='test -z "$ac_c_werror_flag"
11817 || test ! -s conftest.err'
11818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11819 (eval $ac_try) 2>&5
11821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11822 (exit $ac_status); }; } &&
11823 { ac_try='test -s conftest$ac_exeext'
11824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11825 (eval $ac_try) 2>&5
11827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11828 (exit $ac_status); }; }; then
11829 ac_cv_lib_m_asinh=yes
11831 echo "$as_me: failed program was:" >&5
11832 sed 's/^/| /' conftest.$ac_ext >&5
11834 ac_cv_lib_m_asinh=no
11836 rm -f conftest.err conftest.$ac_objext \
11837 conftest$ac_exeext conftest.$ac_ext
11838 LIBS=$ac_check_lib_save_LIBS
11840 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
11841 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
11842 if test $ac_cv_lib_m_asinh = yes; then
11844 cat >>confdefs.h <<\_ACEOF
11845 #define HAVE_ASINH 1
11850 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
11851 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
11852 if test "${ac_cv_lib_m_asinhl+set}" = set; then
11853 echo $ECHO_N "(cached) $ECHO_C" >&6
11855 ac_check_lib_save_LIBS=$LIBS
11857 if test x$gcc_no_link = xyes; then
11858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11860 { (exit 1); exit 1; }; }
11862 cat >conftest.$ac_ext <<_ACEOF
11865 cat confdefs.h >>conftest.$ac_ext
11866 cat >>conftest.$ac_ext <<_ACEOF
11867 /* end confdefs.h. */
11869 /* Override any gcc2 internal prototype to avoid an error. */
11873 /* We use char because int might match the return type of a gcc2
11874 builtin and then its argument prototype would still apply. */
11884 rm -f conftest.$ac_objext conftest$ac_exeext
11885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11886 (eval $ac_link) 2>conftest.er1
11888 grep -v '^ *+' conftest.er1 >conftest.err
11890 cat conftest.err >&5
11891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11892 (exit $ac_status); } &&
11893 { ac_try='test -z "$ac_c_werror_flag"
11894 || test ! -s conftest.err'
11895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11896 (eval $ac_try) 2>&5
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); }; } &&
11900 { ac_try='test -s conftest$ac_exeext'
11901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11902 (eval $ac_try) 2>&5
11904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11905 (exit $ac_status); }; }; then
11906 ac_cv_lib_m_asinhl=yes
11908 echo "$as_me: failed program was:" >&5
11909 sed 's/^/| /' conftest.$ac_ext >&5
11911 ac_cv_lib_m_asinhl=no
11913 rm -f conftest.err conftest.$ac_objext \
11914 conftest$ac_exeext conftest.$ac_ext
11915 LIBS=$ac_check_lib_save_LIBS
11917 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
11918 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
11919 if test $ac_cv_lib_m_asinhl = yes; then
11921 cat >>confdefs.h <<\_ACEOF
11922 #define HAVE_ASINHL 1
11927 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
11928 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
11929 if test "${ac_cv_lib_m_atan2f+set}" = set; then
11930 echo $ECHO_N "(cached) $ECHO_C" >&6
11932 ac_check_lib_save_LIBS=$LIBS
11934 if test x$gcc_no_link = xyes; then
11935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11937 { (exit 1); exit 1; }; }
11939 cat >conftest.$ac_ext <<_ACEOF
11942 cat confdefs.h >>conftest.$ac_ext
11943 cat >>conftest.$ac_ext <<_ACEOF
11944 /* end confdefs.h. */
11946 /* Override any gcc2 internal prototype to avoid an error. */
11950 /* We use char because int might match the return type of a gcc2
11951 builtin and then its argument prototype would still apply. */
11961 rm -f conftest.$ac_objext conftest$ac_exeext
11962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11963 (eval $ac_link) 2>conftest.er1
11965 grep -v '^ *+' conftest.er1 >conftest.err
11967 cat conftest.err >&5
11968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969 (exit $ac_status); } &&
11970 { ac_try='test -z "$ac_c_werror_flag"
11971 || test ! -s conftest.err'
11972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11973 (eval $ac_try) 2>&5
11975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11976 (exit $ac_status); }; } &&
11977 { ac_try='test -s conftest$ac_exeext'
11978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11979 (eval $ac_try) 2>&5
11981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11982 (exit $ac_status); }; }; then
11983 ac_cv_lib_m_atan2f=yes
11985 echo "$as_me: failed program was:" >&5
11986 sed 's/^/| /' conftest.$ac_ext >&5
11988 ac_cv_lib_m_atan2f=no
11990 rm -f conftest.err conftest.$ac_objext \
11991 conftest$ac_exeext conftest.$ac_ext
11992 LIBS=$ac_check_lib_save_LIBS
11994 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
11995 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
11996 if test $ac_cv_lib_m_atan2f = yes; then
11998 cat >>confdefs.h <<\_ACEOF
11999 #define HAVE_ATAN2F 1
12004 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
12005 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
12006 if test "${ac_cv_lib_m_atan2+set}" = set; then
12007 echo $ECHO_N "(cached) $ECHO_C" >&6
12009 ac_check_lib_save_LIBS=$LIBS
12011 if test x$gcc_no_link = xyes; then
12012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12014 { (exit 1); exit 1; }; }
12016 cat >conftest.$ac_ext <<_ACEOF
12019 cat confdefs.h >>conftest.$ac_ext
12020 cat >>conftest.$ac_ext <<_ACEOF
12021 /* end confdefs.h. */
12023 /* Override any gcc2 internal prototype to avoid an error. */
12027 /* We use char because int might match the return type of a gcc2
12028 builtin and then its argument prototype would still apply. */
12038 rm -f conftest.$ac_objext conftest$ac_exeext
12039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12040 (eval $ac_link) 2>conftest.er1
12042 grep -v '^ *+' conftest.er1 >conftest.err
12044 cat conftest.err >&5
12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12046 (exit $ac_status); } &&
12047 { ac_try='test -z "$ac_c_werror_flag"
12048 || test ! -s conftest.err'
12049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12050 (eval $ac_try) 2>&5
12052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12053 (exit $ac_status); }; } &&
12054 { ac_try='test -s conftest$ac_exeext'
12055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12056 (eval $ac_try) 2>&5
12058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12059 (exit $ac_status); }; }; then
12060 ac_cv_lib_m_atan2=yes
12062 echo "$as_me: failed program was:" >&5
12063 sed 's/^/| /' conftest.$ac_ext >&5
12065 ac_cv_lib_m_atan2=no
12067 rm -f conftest.err conftest.$ac_objext \
12068 conftest$ac_exeext conftest.$ac_ext
12069 LIBS=$ac_check_lib_save_LIBS
12071 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
12072 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
12073 if test $ac_cv_lib_m_atan2 = yes; then
12075 cat >>confdefs.h <<\_ACEOF
12076 #define HAVE_ATAN2 1
12081 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
12082 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
12083 if test "${ac_cv_lib_m_atan2l+set}" = set; then
12084 echo $ECHO_N "(cached) $ECHO_C" >&6
12086 ac_check_lib_save_LIBS=$LIBS
12088 if test x$gcc_no_link = xyes; then
12089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12091 { (exit 1); exit 1; }; }
12093 cat >conftest.$ac_ext <<_ACEOF
12096 cat confdefs.h >>conftest.$ac_ext
12097 cat >>conftest.$ac_ext <<_ACEOF
12098 /* end confdefs.h. */
12100 /* Override any gcc2 internal prototype to avoid an error. */
12104 /* We use char because int might match the return type of a gcc2
12105 builtin and then its argument prototype would still apply. */
12115 rm -f conftest.$ac_objext conftest$ac_exeext
12116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12117 (eval $ac_link) 2>conftest.er1
12119 grep -v '^ *+' conftest.er1 >conftest.err
12121 cat conftest.err >&5
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); } &&
12124 { ac_try='test -z "$ac_c_werror_flag"
12125 || test ! -s conftest.err'
12126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12127 (eval $ac_try) 2>&5
12129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12130 (exit $ac_status); }; } &&
12131 { ac_try='test -s conftest$ac_exeext'
12132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12133 (eval $ac_try) 2>&5
12135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12136 (exit $ac_status); }; }; then
12137 ac_cv_lib_m_atan2l=yes
12139 echo "$as_me: failed program was:" >&5
12140 sed 's/^/| /' conftest.$ac_ext >&5
12142 ac_cv_lib_m_atan2l=no
12144 rm -f conftest.err conftest.$ac_objext \
12145 conftest$ac_exeext conftest.$ac_ext
12146 LIBS=$ac_check_lib_save_LIBS
12148 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
12149 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
12150 if test $ac_cv_lib_m_atan2l = yes; then
12152 cat >>confdefs.h <<\_ACEOF
12153 #define HAVE_ATAN2L 1
12158 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
12159 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
12160 if test "${ac_cv_lib_m_atanf+set}" = set; then
12161 echo $ECHO_N "(cached) $ECHO_C" >&6
12163 ac_check_lib_save_LIBS=$LIBS
12165 if test x$gcc_no_link = xyes; then
12166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12168 { (exit 1); exit 1; }; }
12170 cat >conftest.$ac_ext <<_ACEOF
12173 cat confdefs.h >>conftest.$ac_ext
12174 cat >>conftest.$ac_ext <<_ACEOF
12175 /* end confdefs.h. */
12177 /* Override any gcc2 internal prototype to avoid an error. */
12181 /* We use char because int might match the return type of a gcc2
12182 builtin and then its argument prototype would still apply. */
12192 rm -f conftest.$ac_objext conftest$ac_exeext
12193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12194 (eval $ac_link) 2>conftest.er1
12196 grep -v '^ *+' conftest.er1 >conftest.err
12198 cat conftest.err >&5
12199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12200 (exit $ac_status); } &&
12201 { ac_try='test -z "$ac_c_werror_flag"
12202 || test ! -s conftest.err'
12203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12204 (eval $ac_try) 2>&5
12206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12207 (exit $ac_status); }; } &&
12208 { ac_try='test -s conftest$ac_exeext'
12209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12210 (eval $ac_try) 2>&5
12212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12213 (exit $ac_status); }; }; then
12214 ac_cv_lib_m_atanf=yes
12216 echo "$as_me: failed program was:" >&5
12217 sed 's/^/| /' conftest.$ac_ext >&5
12219 ac_cv_lib_m_atanf=no
12221 rm -f conftest.err conftest.$ac_objext \
12222 conftest$ac_exeext conftest.$ac_ext
12223 LIBS=$ac_check_lib_save_LIBS
12225 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
12226 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
12227 if test $ac_cv_lib_m_atanf = yes; then
12229 cat >>confdefs.h <<\_ACEOF
12230 #define HAVE_ATANF 1
12235 echo "$as_me:$LINENO: checking for atan in -lm" >&5
12236 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
12237 if test "${ac_cv_lib_m_atan+set}" = set; then
12238 echo $ECHO_N "(cached) $ECHO_C" >&6
12240 ac_check_lib_save_LIBS=$LIBS
12242 if test x$gcc_no_link = xyes; then
12243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12245 { (exit 1); exit 1; }; }
12247 cat >conftest.$ac_ext <<_ACEOF
12250 cat confdefs.h >>conftest.$ac_ext
12251 cat >>conftest.$ac_ext <<_ACEOF
12252 /* end confdefs.h. */
12254 /* Override any gcc2 internal prototype to avoid an error. */
12258 /* We use char because int might match the return type of a gcc2
12259 builtin and then its argument prototype would still apply. */
12269 rm -f conftest.$ac_objext conftest$ac_exeext
12270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12271 (eval $ac_link) 2>conftest.er1
12273 grep -v '^ *+' conftest.er1 >conftest.err
12275 cat conftest.err >&5
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); } &&
12278 { ac_try='test -z "$ac_c_werror_flag"
12279 || test ! -s conftest.err'
12280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12281 (eval $ac_try) 2>&5
12283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12284 (exit $ac_status); }; } &&
12285 { ac_try='test -s conftest$ac_exeext'
12286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12287 (eval $ac_try) 2>&5
12289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12290 (exit $ac_status); }; }; then
12291 ac_cv_lib_m_atan=yes
12293 echo "$as_me: failed program was:" >&5
12294 sed 's/^/| /' conftest.$ac_ext >&5
12296 ac_cv_lib_m_atan=no
12298 rm -f conftest.err conftest.$ac_objext \
12299 conftest$ac_exeext conftest.$ac_ext
12300 LIBS=$ac_check_lib_save_LIBS
12302 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
12303 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
12304 if test $ac_cv_lib_m_atan = yes; then
12306 cat >>confdefs.h <<\_ACEOF
12307 #define HAVE_ATAN 1
12312 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
12313 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
12314 if test "${ac_cv_lib_m_atanl+set}" = set; then
12315 echo $ECHO_N "(cached) $ECHO_C" >&6
12317 ac_check_lib_save_LIBS=$LIBS
12319 if test x$gcc_no_link = xyes; then
12320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12322 { (exit 1); exit 1; }; }
12324 cat >conftest.$ac_ext <<_ACEOF
12327 cat confdefs.h >>conftest.$ac_ext
12328 cat >>conftest.$ac_ext <<_ACEOF
12329 /* end confdefs.h. */
12331 /* Override any gcc2 internal prototype to avoid an error. */
12335 /* We use char because int might match the return type of a gcc2
12336 builtin and then its argument prototype would still apply. */
12346 rm -f conftest.$ac_objext conftest$ac_exeext
12347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12348 (eval $ac_link) 2>conftest.er1
12350 grep -v '^ *+' conftest.er1 >conftest.err
12352 cat conftest.err >&5
12353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12354 (exit $ac_status); } &&
12355 { ac_try='test -z "$ac_c_werror_flag"
12356 || test ! -s conftest.err'
12357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12358 (eval $ac_try) 2>&5
12360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12361 (exit $ac_status); }; } &&
12362 { ac_try='test -s conftest$ac_exeext'
12363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12364 (eval $ac_try) 2>&5
12366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12367 (exit $ac_status); }; }; then
12368 ac_cv_lib_m_atanl=yes
12370 echo "$as_me: failed program was:" >&5
12371 sed 's/^/| /' conftest.$ac_ext >&5
12373 ac_cv_lib_m_atanl=no
12375 rm -f conftest.err conftest.$ac_objext \
12376 conftest$ac_exeext conftest.$ac_ext
12377 LIBS=$ac_check_lib_save_LIBS
12379 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
12380 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
12381 if test $ac_cv_lib_m_atanl = yes; then
12383 cat >>confdefs.h <<\_ACEOF
12384 #define HAVE_ATANL 1
12389 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
12390 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
12391 if test "${ac_cv_lib_m_atanhf+set}" = set; then
12392 echo $ECHO_N "(cached) $ECHO_C" >&6
12394 ac_check_lib_save_LIBS=$LIBS
12396 if test x$gcc_no_link = xyes; then
12397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12399 { (exit 1); exit 1; }; }
12401 cat >conftest.$ac_ext <<_ACEOF
12404 cat confdefs.h >>conftest.$ac_ext
12405 cat >>conftest.$ac_ext <<_ACEOF
12406 /* end confdefs.h. */
12408 /* Override any gcc2 internal prototype to avoid an error. */
12412 /* We use char because int might match the return type of a gcc2
12413 builtin and then its argument prototype would still apply. */
12423 rm -f conftest.$ac_objext conftest$ac_exeext
12424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12425 (eval $ac_link) 2>conftest.er1
12427 grep -v '^ *+' conftest.er1 >conftest.err
12429 cat conftest.err >&5
12430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431 (exit $ac_status); } &&
12432 { ac_try='test -z "$ac_c_werror_flag"
12433 || test ! -s conftest.err'
12434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12435 (eval $ac_try) 2>&5
12437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12438 (exit $ac_status); }; } &&
12439 { ac_try='test -s conftest$ac_exeext'
12440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12441 (eval $ac_try) 2>&5
12443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12444 (exit $ac_status); }; }; then
12445 ac_cv_lib_m_atanhf=yes
12447 echo "$as_me: failed program was:" >&5
12448 sed 's/^/| /' conftest.$ac_ext >&5
12450 ac_cv_lib_m_atanhf=no
12452 rm -f conftest.err conftest.$ac_objext \
12453 conftest$ac_exeext conftest.$ac_ext
12454 LIBS=$ac_check_lib_save_LIBS
12456 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
12457 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
12458 if test $ac_cv_lib_m_atanhf = yes; then
12460 cat >>confdefs.h <<\_ACEOF
12461 #define HAVE_ATANHF 1
12466 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
12467 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
12468 if test "${ac_cv_lib_m_atanh+set}" = set; then
12469 echo $ECHO_N "(cached) $ECHO_C" >&6
12471 ac_check_lib_save_LIBS=$LIBS
12473 if test x$gcc_no_link = xyes; then
12474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12476 { (exit 1); exit 1; }; }
12478 cat >conftest.$ac_ext <<_ACEOF
12481 cat confdefs.h >>conftest.$ac_ext
12482 cat >>conftest.$ac_ext <<_ACEOF
12483 /* end confdefs.h. */
12485 /* Override any gcc2 internal prototype to avoid an error. */
12489 /* We use char because int might match the return type of a gcc2
12490 builtin and then its argument prototype would still apply. */
12500 rm -f conftest.$ac_objext conftest$ac_exeext
12501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12502 (eval $ac_link) 2>conftest.er1
12504 grep -v '^ *+' conftest.er1 >conftest.err
12506 cat conftest.err >&5
12507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12508 (exit $ac_status); } &&
12509 { ac_try='test -z "$ac_c_werror_flag"
12510 || test ! -s conftest.err'
12511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12512 (eval $ac_try) 2>&5
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); }; } &&
12516 { ac_try='test -s conftest$ac_exeext'
12517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12518 (eval $ac_try) 2>&5
12520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12521 (exit $ac_status); }; }; then
12522 ac_cv_lib_m_atanh=yes
12524 echo "$as_me: failed program was:" >&5
12525 sed 's/^/| /' conftest.$ac_ext >&5
12527 ac_cv_lib_m_atanh=no
12529 rm -f conftest.err conftest.$ac_objext \
12530 conftest$ac_exeext conftest.$ac_ext
12531 LIBS=$ac_check_lib_save_LIBS
12533 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
12534 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
12535 if test $ac_cv_lib_m_atanh = yes; then
12537 cat >>confdefs.h <<\_ACEOF
12538 #define HAVE_ATANH 1
12543 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
12544 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
12545 if test "${ac_cv_lib_m_atanhl+set}" = set; then
12546 echo $ECHO_N "(cached) $ECHO_C" >&6
12548 ac_check_lib_save_LIBS=$LIBS
12550 if test x$gcc_no_link = xyes; then
12551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12553 { (exit 1); exit 1; }; }
12555 cat >conftest.$ac_ext <<_ACEOF
12558 cat confdefs.h >>conftest.$ac_ext
12559 cat >>conftest.$ac_ext <<_ACEOF
12560 /* end confdefs.h. */
12562 /* Override any gcc2 internal prototype to avoid an error. */
12566 /* We use char because int might match the return type of a gcc2
12567 builtin and then its argument prototype would still apply. */
12577 rm -f conftest.$ac_objext conftest$ac_exeext
12578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12579 (eval $ac_link) 2>conftest.er1
12581 grep -v '^ *+' conftest.er1 >conftest.err
12583 cat conftest.err >&5
12584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12585 (exit $ac_status); } &&
12586 { ac_try='test -z "$ac_c_werror_flag"
12587 || test ! -s conftest.err'
12588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12589 (eval $ac_try) 2>&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); }; } &&
12593 { ac_try='test -s conftest$ac_exeext'
12594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12595 (eval $ac_try) 2>&5
12597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598 (exit $ac_status); }; }; then
12599 ac_cv_lib_m_atanhl=yes
12601 echo "$as_me: failed program was:" >&5
12602 sed 's/^/| /' conftest.$ac_ext >&5
12604 ac_cv_lib_m_atanhl=no
12606 rm -f conftest.err conftest.$ac_objext \
12607 conftest$ac_exeext conftest.$ac_ext
12608 LIBS=$ac_check_lib_save_LIBS
12610 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
12611 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
12612 if test $ac_cv_lib_m_atanhl = yes; then
12614 cat >>confdefs.h <<\_ACEOF
12615 #define HAVE_ATANHL 1
12620 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
12621 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
12622 if test "${ac_cv_lib_m_cargf+set}" = set; then
12623 echo $ECHO_N "(cached) $ECHO_C" >&6
12625 ac_check_lib_save_LIBS=$LIBS
12627 if test x$gcc_no_link = xyes; then
12628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12630 { (exit 1); exit 1; }; }
12632 cat >conftest.$ac_ext <<_ACEOF
12635 cat confdefs.h >>conftest.$ac_ext
12636 cat >>conftest.$ac_ext <<_ACEOF
12637 /* end confdefs.h. */
12639 /* Override any gcc2 internal prototype to avoid an error. */
12643 /* We use char because int might match the return type of a gcc2
12644 builtin and then its argument prototype would still apply. */
12654 rm -f conftest.$ac_objext conftest$ac_exeext
12655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12656 (eval $ac_link) 2>conftest.er1
12658 grep -v '^ *+' conftest.er1 >conftest.err
12660 cat conftest.err >&5
12661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12662 (exit $ac_status); } &&
12663 { ac_try='test -z "$ac_c_werror_flag"
12664 || test ! -s conftest.err'
12665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12666 (eval $ac_try) 2>&5
12668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12669 (exit $ac_status); }; } &&
12670 { ac_try='test -s conftest$ac_exeext'
12671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12672 (eval $ac_try) 2>&5
12674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12675 (exit $ac_status); }; }; then
12676 ac_cv_lib_m_cargf=yes
12678 echo "$as_me: failed program was:" >&5
12679 sed 's/^/| /' conftest.$ac_ext >&5
12681 ac_cv_lib_m_cargf=no
12683 rm -f conftest.err conftest.$ac_objext \
12684 conftest$ac_exeext conftest.$ac_ext
12685 LIBS=$ac_check_lib_save_LIBS
12687 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
12688 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
12689 if test $ac_cv_lib_m_cargf = yes; then
12691 cat >>confdefs.h <<\_ACEOF
12692 #define HAVE_CARGF 1
12697 echo "$as_me:$LINENO: checking for carg in -lm" >&5
12698 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
12699 if test "${ac_cv_lib_m_carg+set}" = set; then
12700 echo $ECHO_N "(cached) $ECHO_C" >&6
12702 ac_check_lib_save_LIBS=$LIBS
12704 if test x$gcc_no_link = xyes; then
12705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12707 { (exit 1); exit 1; }; }
12709 cat >conftest.$ac_ext <<_ACEOF
12712 cat confdefs.h >>conftest.$ac_ext
12713 cat >>conftest.$ac_ext <<_ACEOF
12714 /* end confdefs.h. */
12716 /* Override any gcc2 internal prototype to avoid an error. */
12720 /* We use char because int might match the return type of a gcc2
12721 builtin and then its argument prototype would still apply. */
12731 rm -f conftest.$ac_objext conftest$ac_exeext
12732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12733 (eval $ac_link) 2>conftest.er1
12735 grep -v '^ *+' conftest.er1 >conftest.err
12737 cat conftest.err >&5
12738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12739 (exit $ac_status); } &&
12740 { ac_try='test -z "$ac_c_werror_flag"
12741 || test ! -s conftest.err'
12742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12743 (eval $ac_try) 2>&5
12745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12746 (exit $ac_status); }; } &&
12747 { ac_try='test -s conftest$ac_exeext'
12748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12749 (eval $ac_try) 2>&5
12751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12752 (exit $ac_status); }; }; then
12753 ac_cv_lib_m_carg=yes
12755 echo "$as_me: failed program was:" >&5
12756 sed 's/^/| /' conftest.$ac_ext >&5
12758 ac_cv_lib_m_carg=no
12760 rm -f conftest.err conftest.$ac_objext \
12761 conftest$ac_exeext conftest.$ac_ext
12762 LIBS=$ac_check_lib_save_LIBS
12764 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
12765 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
12766 if test $ac_cv_lib_m_carg = yes; then
12768 cat >>confdefs.h <<\_ACEOF
12769 #define HAVE_CARG 1
12774 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
12775 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
12776 if test "${ac_cv_lib_m_cargl+set}" = set; then
12777 echo $ECHO_N "(cached) $ECHO_C" >&6
12779 ac_check_lib_save_LIBS=$LIBS
12781 if test x$gcc_no_link = xyes; then
12782 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12784 { (exit 1); exit 1; }; }
12786 cat >conftest.$ac_ext <<_ACEOF
12789 cat confdefs.h >>conftest.$ac_ext
12790 cat >>conftest.$ac_ext <<_ACEOF
12791 /* end confdefs.h. */
12793 /* Override any gcc2 internal prototype to avoid an error. */
12797 /* We use char because int might match the return type of a gcc2
12798 builtin and then its argument prototype would still apply. */
12808 rm -f conftest.$ac_objext conftest$ac_exeext
12809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12810 (eval $ac_link) 2>conftest.er1
12812 grep -v '^ *+' conftest.er1 >conftest.err
12814 cat conftest.err >&5
12815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12816 (exit $ac_status); } &&
12817 { ac_try='test -z "$ac_c_werror_flag"
12818 || test ! -s conftest.err'
12819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12820 (eval $ac_try) 2>&5
12822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12823 (exit $ac_status); }; } &&
12824 { ac_try='test -s conftest$ac_exeext'
12825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12826 (eval $ac_try) 2>&5
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); }; }; then
12830 ac_cv_lib_m_cargl=yes
12832 echo "$as_me: failed program was:" >&5
12833 sed 's/^/| /' conftest.$ac_ext >&5
12835 ac_cv_lib_m_cargl=no
12837 rm -f conftest.err conftest.$ac_objext \
12838 conftest$ac_exeext conftest.$ac_ext
12839 LIBS=$ac_check_lib_save_LIBS
12841 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
12842 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
12843 if test $ac_cv_lib_m_cargl = yes; then
12845 cat >>confdefs.h <<\_ACEOF
12846 #define HAVE_CARGL 1
12851 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
12852 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
12853 if test "${ac_cv_lib_m_ceilf+set}" = set; then
12854 echo $ECHO_N "(cached) $ECHO_C" >&6
12856 ac_check_lib_save_LIBS=$LIBS
12858 if test x$gcc_no_link = xyes; then
12859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12861 { (exit 1); exit 1; }; }
12863 cat >conftest.$ac_ext <<_ACEOF
12866 cat confdefs.h >>conftest.$ac_ext
12867 cat >>conftest.$ac_ext <<_ACEOF
12868 /* end confdefs.h. */
12870 /* Override any gcc2 internal prototype to avoid an error. */
12874 /* We use char because int might match the return type of a gcc2
12875 builtin and then its argument prototype would still apply. */
12885 rm -f conftest.$ac_objext conftest$ac_exeext
12886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12887 (eval $ac_link) 2>conftest.er1
12889 grep -v '^ *+' conftest.er1 >conftest.err
12891 cat conftest.err >&5
12892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12893 (exit $ac_status); } &&
12894 { ac_try='test -z "$ac_c_werror_flag"
12895 || test ! -s conftest.err'
12896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12897 (eval $ac_try) 2>&5
12899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12900 (exit $ac_status); }; } &&
12901 { ac_try='test -s conftest$ac_exeext'
12902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12903 (eval $ac_try) 2>&5
12905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12906 (exit $ac_status); }; }; then
12907 ac_cv_lib_m_ceilf=yes
12909 echo "$as_me: failed program was:" >&5
12910 sed 's/^/| /' conftest.$ac_ext >&5
12912 ac_cv_lib_m_ceilf=no
12914 rm -f conftest.err conftest.$ac_objext \
12915 conftest$ac_exeext conftest.$ac_ext
12916 LIBS=$ac_check_lib_save_LIBS
12918 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
12919 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
12920 if test $ac_cv_lib_m_ceilf = yes; then
12922 cat >>confdefs.h <<\_ACEOF
12923 #define HAVE_CEILF 1
12928 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
12929 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
12930 if test "${ac_cv_lib_m_ceil+set}" = set; then
12931 echo $ECHO_N "(cached) $ECHO_C" >&6
12933 ac_check_lib_save_LIBS=$LIBS
12935 if test x$gcc_no_link = xyes; then
12936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12938 { (exit 1); exit 1; }; }
12940 cat >conftest.$ac_ext <<_ACEOF
12943 cat confdefs.h >>conftest.$ac_ext
12944 cat >>conftest.$ac_ext <<_ACEOF
12945 /* end confdefs.h. */
12947 /* Override any gcc2 internal prototype to avoid an error. */
12951 /* We use char because int might match the return type of a gcc2
12952 builtin and then its argument prototype would still apply. */
12962 rm -f conftest.$ac_objext conftest$ac_exeext
12963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12964 (eval $ac_link) 2>conftest.er1
12966 grep -v '^ *+' conftest.er1 >conftest.err
12968 cat conftest.err >&5
12969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12970 (exit $ac_status); } &&
12971 { ac_try='test -z "$ac_c_werror_flag"
12972 || test ! -s conftest.err'
12973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12974 (eval $ac_try) 2>&5
12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977 (exit $ac_status); }; } &&
12978 { ac_try='test -s conftest$ac_exeext'
12979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12980 (eval $ac_try) 2>&5
12982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12983 (exit $ac_status); }; }; then
12984 ac_cv_lib_m_ceil=yes
12986 echo "$as_me: failed program was:" >&5
12987 sed 's/^/| /' conftest.$ac_ext >&5
12989 ac_cv_lib_m_ceil=no
12991 rm -f conftest.err conftest.$ac_objext \
12992 conftest$ac_exeext conftest.$ac_ext
12993 LIBS=$ac_check_lib_save_LIBS
12995 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
12996 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
12997 if test $ac_cv_lib_m_ceil = yes; then
12999 cat >>confdefs.h <<\_ACEOF
13000 #define HAVE_CEIL 1
13005 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
13006 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
13007 if test "${ac_cv_lib_m_ceill+set}" = set; then
13008 echo $ECHO_N "(cached) $ECHO_C" >&6
13010 ac_check_lib_save_LIBS=$LIBS
13012 if test x$gcc_no_link = xyes; then
13013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13015 { (exit 1); exit 1; }; }
13017 cat >conftest.$ac_ext <<_ACEOF
13020 cat confdefs.h >>conftest.$ac_ext
13021 cat >>conftest.$ac_ext <<_ACEOF
13022 /* end confdefs.h. */
13024 /* Override any gcc2 internal prototype to avoid an error. */
13028 /* We use char because int might match the return type of a gcc2
13029 builtin and then its argument prototype would still apply. */
13039 rm -f conftest.$ac_objext conftest$ac_exeext
13040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13041 (eval $ac_link) 2>conftest.er1
13043 grep -v '^ *+' conftest.er1 >conftest.err
13045 cat conftest.err >&5
13046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13047 (exit $ac_status); } &&
13048 { ac_try='test -z "$ac_c_werror_flag"
13049 || test ! -s conftest.err'
13050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13051 (eval $ac_try) 2>&5
13053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13054 (exit $ac_status); }; } &&
13055 { ac_try='test -s conftest$ac_exeext'
13056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13057 (eval $ac_try) 2>&5
13059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13060 (exit $ac_status); }; }; then
13061 ac_cv_lib_m_ceill=yes
13063 echo "$as_me: failed program was:" >&5
13064 sed 's/^/| /' conftest.$ac_ext >&5
13066 ac_cv_lib_m_ceill=no
13068 rm -f conftest.err conftest.$ac_objext \
13069 conftest$ac_exeext conftest.$ac_ext
13070 LIBS=$ac_check_lib_save_LIBS
13072 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
13073 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
13074 if test $ac_cv_lib_m_ceill = yes; then
13076 cat >>confdefs.h <<\_ACEOF
13077 #define HAVE_CEILL 1
13082 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
13083 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
13084 if test "${ac_cv_lib_m_copysignf+set}" = set; then
13085 echo $ECHO_N "(cached) $ECHO_C" >&6
13087 ac_check_lib_save_LIBS=$LIBS
13089 if test x$gcc_no_link = xyes; then
13090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13092 { (exit 1); exit 1; }; }
13094 cat >conftest.$ac_ext <<_ACEOF
13097 cat confdefs.h >>conftest.$ac_ext
13098 cat >>conftest.$ac_ext <<_ACEOF
13099 /* end confdefs.h. */
13101 /* Override any gcc2 internal prototype to avoid an error. */
13105 /* We use char because int might match the return type of a gcc2
13106 builtin and then its argument prototype would still apply. */
13116 rm -f conftest.$ac_objext conftest$ac_exeext
13117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13118 (eval $ac_link) 2>conftest.er1
13120 grep -v '^ *+' conftest.er1 >conftest.err
13122 cat conftest.err >&5
13123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13124 (exit $ac_status); } &&
13125 { ac_try='test -z "$ac_c_werror_flag"
13126 || test ! -s conftest.err'
13127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13128 (eval $ac_try) 2>&5
13130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13131 (exit $ac_status); }; } &&
13132 { ac_try='test -s conftest$ac_exeext'
13133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13134 (eval $ac_try) 2>&5
13136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13137 (exit $ac_status); }; }; then
13138 ac_cv_lib_m_copysignf=yes
13140 echo "$as_me: failed program was:" >&5
13141 sed 's/^/| /' conftest.$ac_ext >&5
13143 ac_cv_lib_m_copysignf=no
13145 rm -f conftest.err conftest.$ac_objext \
13146 conftest$ac_exeext conftest.$ac_ext
13147 LIBS=$ac_check_lib_save_LIBS
13149 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
13150 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
13151 if test $ac_cv_lib_m_copysignf = yes; then
13153 cat >>confdefs.h <<\_ACEOF
13154 #define HAVE_COPYSIGNF 1
13159 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
13160 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
13161 if test "${ac_cv_lib_m_copysign+set}" = set; then
13162 echo $ECHO_N "(cached) $ECHO_C" >&6
13164 ac_check_lib_save_LIBS=$LIBS
13166 if test x$gcc_no_link = xyes; then
13167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13169 { (exit 1); exit 1; }; }
13171 cat >conftest.$ac_ext <<_ACEOF
13174 cat confdefs.h >>conftest.$ac_ext
13175 cat >>conftest.$ac_ext <<_ACEOF
13176 /* end confdefs.h. */
13178 /* Override any gcc2 internal prototype to avoid an error. */
13182 /* We use char because int might match the return type of a gcc2
13183 builtin and then its argument prototype would still apply. */
13193 rm -f conftest.$ac_objext conftest$ac_exeext
13194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13195 (eval $ac_link) 2>conftest.er1
13197 grep -v '^ *+' conftest.er1 >conftest.err
13199 cat conftest.err >&5
13200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13201 (exit $ac_status); } &&
13202 { ac_try='test -z "$ac_c_werror_flag"
13203 || test ! -s conftest.err'
13204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13205 (eval $ac_try) 2>&5
13207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13208 (exit $ac_status); }; } &&
13209 { ac_try='test -s conftest$ac_exeext'
13210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13211 (eval $ac_try) 2>&5
13213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13214 (exit $ac_status); }; }; then
13215 ac_cv_lib_m_copysign=yes
13217 echo "$as_me: failed program was:" >&5
13218 sed 's/^/| /' conftest.$ac_ext >&5
13220 ac_cv_lib_m_copysign=no
13222 rm -f conftest.err conftest.$ac_objext \
13223 conftest$ac_exeext conftest.$ac_ext
13224 LIBS=$ac_check_lib_save_LIBS
13226 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
13227 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
13228 if test $ac_cv_lib_m_copysign = yes; then
13230 cat >>confdefs.h <<\_ACEOF
13231 #define HAVE_COPYSIGN 1
13236 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
13237 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
13238 if test "${ac_cv_lib_m_copysignl+set}" = set; then
13239 echo $ECHO_N "(cached) $ECHO_C" >&6
13241 ac_check_lib_save_LIBS=$LIBS
13243 if test x$gcc_no_link = xyes; then
13244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13246 { (exit 1); exit 1; }; }
13248 cat >conftest.$ac_ext <<_ACEOF
13251 cat confdefs.h >>conftest.$ac_ext
13252 cat >>conftest.$ac_ext <<_ACEOF
13253 /* end confdefs.h. */
13255 /* Override any gcc2 internal prototype to avoid an error. */
13259 /* We use char because int might match the return type of a gcc2
13260 builtin and then its argument prototype would still apply. */
13270 rm -f conftest.$ac_objext conftest$ac_exeext
13271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13272 (eval $ac_link) 2>conftest.er1
13274 grep -v '^ *+' conftest.er1 >conftest.err
13276 cat conftest.err >&5
13277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278 (exit $ac_status); } &&
13279 { ac_try='test -z "$ac_c_werror_flag"
13280 || test ! -s conftest.err'
13281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13282 (eval $ac_try) 2>&5
13284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13285 (exit $ac_status); }; } &&
13286 { ac_try='test -s conftest$ac_exeext'
13287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13288 (eval $ac_try) 2>&5
13290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13291 (exit $ac_status); }; }; then
13292 ac_cv_lib_m_copysignl=yes
13294 echo "$as_me: failed program was:" >&5
13295 sed 's/^/| /' conftest.$ac_ext >&5
13297 ac_cv_lib_m_copysignl=no
13299 rm -f conftest.err conftest.$ac_objext \
13300 conftest$ac_exeext conftest.$ac_ext
13301 LIBS=$ac_check_lib_save_LIBS
13303 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
13304 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
13305 if test $ac_cv_lib_m_copysignl = yes; then
13307 cat >>confdefs.h <<\_ACEOF
13308 #define HAVE_COPYSIGNL 1
13313 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
13314 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
13315 if test "${ac_cv_lib_m_cosf+set}" = set; then
13316 echo $ECHO_N "(cached) $ECHO_C" >&6
13318 ac_check_lib_save_LIBS=$LIBS
13320 if test x$gcc_no_link = xyes; then
13321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13323 { (exit 1); exit 1; }; }
13325 cat >conftest.$ac_ext <<_ACEOF
13328 cat confdefs.h >>conftest.$ac_ext
13329 cat >>conftest.$ac_ext <<_ACEOF
13330 /* end confdefs.h. */
13332 /* Override any gcc2 internal prototype to avoid an error. */
13336 /* We use char because int might match the return type of a gcc2
13337 builtin and then its argument prototype would still apply. */
13347 rm -f conftest.$ac_objext conftest$ac_exeext
13348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13349 (eval $ac_link) 2>conftest.er1
13351 grep -v '^ *+' conftest.er1 >conftest.err
13353 cat conftest.err >&5
13354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13355 (exit $ac_status); } &&
13356 { ac_try='test -z "$ac_c_werror_flag"
13357 || test ! -s conftest.err'
13358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13359 (eval $ac_try) 2>&5
13361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13362 (exit $ac_status); }; } &&
13363 { ac_try='test -s conftest$ac_exeext'
13364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13365 (eval $ac_try) 2>&5
13367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13368 (exit $ac_status); }; }; then
13369 ac_cv_lib_m_cosf=yes
13371 echo "$as_me: failed program was:" >&5
13372 sed 's/^/| /' conftest.$ac_ext >&5
13374 ac_cv_lib_m_cosf=no
13376 rm -f conftest.err conftest.$ac_objext \
13377 conftest$ac_exeext conftest.$ac_ext
13378 LIBS=$ac_check_lib_save_LIBS
13380 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
13381 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
13382 if test $ac_cv_lib_m_cosf = yes; then
13384 cat >>confdefs.h <<\_ACEOF
13385 #define HAVE_COSF 1
13390 echo "$as_me:$LINENO: checking for cos in -lm" >&5
13391 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
13392 if test "${ac_cv_lib_m_cos+set}" = set; then
13393 echo $ECHO_N "(cached) $ECHO_C" >&6
13395 ac_check_lib_save_LIBS=$LIBS
13397 if test x$gcc_no_link = xyes; then
13398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13400 { (exit 1); exit 1; }; }
13402 cat >conftest.$ac_ext <<_ACEOF
13405 cat confdefs.h >>conftest.$ac_ext
13406 cat >>conftest.$ac_ext <<_ACEOF
13407 /* end confdefs.h. */
13409 /* Override any gcc2 internal prototype to avoid an error. */
13413 /* We use char because int might match the return type of a gcc2
13414 builtin and then its argument prototype would still apply. */
13424 rm -f conftest.$ac_objext conftest$ac_exeext
13425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13426 (eval $ac_link) 2>conftest.er1
13428 grep -v '^ *+' conftest.er1 >conftest.err
13430 cat conftest.err >&5
13431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13432 (exit $ac_status); } &&
13433 { ac_try='test -z "$ac_c_werror_flag"
13434 || test ! -s conftest.err'
13435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13436 (eval $ac_try) 2>&5
13438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13439 (exit $ac_status); }; } &&
13440 { ac_try='test -s conftest$ac_exeext'
13441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13442 (eval $ac_try) 2>&5
13444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13445 (exit $ac_status); }; }; then
13446 ac_cv_lib_m_cos=yes
13448 echo "$as_me: failed program was:" >&5
13449 sed 's/^/| /' conftest.$ac_ext >&5
13453 rm -f conftest.err conftest.$ac_objext \
13454 conftest$ac_exeext conftest.$ac_ext
13455 LIBS=$ac_check_lib_save_LIBS
13457 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
13458 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
13459 if test $ac_cv_lib_m_cos = yes; then
13461 cat >>confdefs.h <<\_ACEOF
13467 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
13468 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
13469 if test "${ac_cv_lib_m_cosl+set}" = set; then
13470 echo $ECHO_N "(cached) $ECHO_C" >&6
13472 ac_check_lib_save_LIBS=$LIBS
13474 if test x$gcc_no_link = xyes; then
13475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13477 { (exit 1); exit 1; }; }
13479 cat >conftest.$ac_ext <<_ACEOF
13482 cat confdefs.h >>conftest.$ac_ext
13483 cat >>conftest.$ac_ext <<_ACEOF
13484 /* end confdefs.h. */
13486 /* Override any gcc2 internal prototype to avoid an error. */
13490 /* We use char because int might match the return type of a gcc2
13491 builtin and then its argument prototype would still apply. */
13501 rm -f conftest.$ac_objext conftest$ac_exeext
13502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13503 (eval $ac_link) 2>conftest.er1
13505 grep -v '^ *+' conftest.er1 >conftest.err
13507 cat conftest.err >&5
13508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13509 (exit $ac_status); } &&
13510 { ac_try='test -z "$ac_c_werror_flag"
13511 || test ! -s conftest.err'
13512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13513 (eval $ac_try) 2>&5
13515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13516 (exit $ac_status); }; } &&
13517 { ac_try='test -s conftest$ac_exeext'
13518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13519 (eval $ac_try) 2>&5
13521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13522 (exit $ac_status); }; }; then
13523 ac_cv_lib_m_cosl=yes
13525 echo "$as_me: failed program was:" >&5
13526 sed 's/^/| /' conftest.$ac_ext >&5
13528 ac_cv_lib_m_cosl=no
13530 rm -f conftest.err conftest.$ac_objext \
13531 conftest$ac_exeext conftest.$ac_ext
13532 LIBS=$ac_check_lib_save_LIBS
13534 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
13535 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
13536 if test $ac_cv_lib_m_cosl = yes; then
13538 cat >>confdefs.h <<\_ACEOF
13539 #define HAVE_COSL 1
13544 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
13545 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
13546 if test "${ac_cv_lib_m_ccosf+set}" = set; then
13547 echo $ECHO_N "(cached) $ECHO_C" >&6
13549 ac_check_lib_save_LIBS=$LIBS
13551 if test x$gcc_no_link = xyes; then
13552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13554 { (exit 1); exit 1; }; }
13556 cat >conftest.$ac_ext <<_ACEOF
13559 cat confdefs.h >>conftest.$ac_ext
13560 cat >>conftest.$ac_ext <<_ACEOF
13561 /* end confdefs.h. */
13563 /* Override any gcc2 internal prototype to avoid an error. */
13567 /* We use char because int might match the return type of a gcc2
13568 builtin and then its argument prototype would still apply. */
13578 rm -f conftest.$ac_objext conftest$ac_exeext
13579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13580 (eval $ac_link) 2>conftest.er1
13582 grep -v '^ *+' conftest.er1 >conftest.err
13584 cat conftest.err >&5
13585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13586 (exit $ac_status); } &&
13587 { ac_try='test -z "$ac_c_werror_flag"
13588 || test ! -s conftest.err'
13589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13590 (eval $ac_try) 2>&5
13592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13593 (exit $ac_status); }; } &&
13594 { ac_try='test -s conftest$ac_exeext'
13595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13596 (eval $ac_try) 2>&5
13598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13599 (exit $ac_status); }; }; then
13600 ac_cv_lib_m_ccosf=yes
13602 echo "$as_me: failed program was:" >&5
13603 sed 's/^/| /' conftest.$ac_ext >&5
13605 ac_cv_lib_m_ccosf=no
13607 rm -f conftest.err conftest.$ac_objext \
13608 conftest$ac_exeext conftest.$ac_ext
13609 LIBS=$ac_check_lib_save_LIBS
13611 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
13612 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
13613 if test $ac_cv_lib_m_ccosf = yes; then
13615 cat >>confdefs.h <<\_ACEOF
13616 #define HAVE_CCOSF 1
13621 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
13622 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
13623 if test "${ac_cv_lib_m_ccos+set}" = set; then
13624 echo $ECHO_N "(cached) $ECHO_C" >&6
13626 ac_check_lib_save_LIBS=$LIBS
13628 if test x$gcc_no_link = xyes; then
13629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13631 { (exit 1); exit 1; }; }
13633 cat >conftest.$ac_ext <<_ACEOF
13636 cat confdefs.h >>conftest.$ac_ext
13637 cat >>conftest.$ac_ext <<_ACEOF
13638 /* end confdefs.h. */
13640 /* Override any gcc2 internal prototype to avoid an error. */
13644 /* We use char because int might match the return type of a gcc2
13645 builtin and then its argument prototype would still apply. */
13655 rm -f conftest.$ac_objext conftest$ac_exeext
13656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13657 (eval $ac_link) 2>conftest.er1
13659 grep -v '^ *+' conftest.er1 >conftest.err
13661 cat conftest.err >&5
13662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13663 (exit $ac_status); } &&
13664 { ac_try='test -z "$ac_c_werror_flag"
13665 || test ! -s conftest.err'
13666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13667 (eval $ac_try) 2>&5
13669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13670 (exit $ac_status); }; } &&
13671 { ac_try='test -s conftest$ac_exeext'
13672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13673 (eval $ac_try) 2>&5
13675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13676 (exit $ac_status); }; }; then
13677 ac_cv_lib_m_ccos=yes
13679 echo "$as_me: failed program was:" >&5
13680 sed 's/^/| /' conftest.$ac_ext >&5
13682 ac_cv_lib_m_ccos=no
13684 rm -f conftest.err conftest.$ac_objext \
13685 conftest$ac_exeext conftest.$ac_ext
13686 LIBS=$ac_check_lib_save_LIBS
13688 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
13689 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
13690 if test $ac_cv_lib_m_ccos = yes; then
13692 cat >>confdefs.h <<\_ACEOF
13693 #define HAVE_CCOS 1
13698 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
13699 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
13700 if test "${ac_cv_lib_m_ccosl+set}" = set; then
13701 echo $ECHO_N "(cached) $ECHO_C" >&6
13703 ac_check_lib_save_LIBS=$LIBS
13705 if test x$gcc_no_link = xyes; then
13706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13708 { (exit 1); exit 1; }; }
13710 cat >conftest.$ac_ext <<_ACEOF
13713 cat confdefs.h >>conftest.$ac_ext
13714 cat >>conftest.$ac_ext <<_ACEOF
13715 /* end confdefs.h. */
13717 /* Override any gcc2 internal prototype to avoid an error. */
13721 /* We use char because int might match the return type of a gcc2
13722 builtin and then its argument prototype would still apply. */
13732 rm -f conftest.$ac_objext conftest$ac_exeext
13733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13734 (eval $ac_link) 2>conftest.er1
13736 grep -v '^ *+' conftest.er1 >conftest.err
13738 cat conftest.err >&5
13739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13740 (exit $ac_status); } &&
13741 { ac_try='test -z "$ac_c_werror_flag"
13742 || test ! -s conftest.err'
13743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13744 (eval $ac_try) 2>&5
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); }; } &&
13748 { ac_try='test -s conftest$ac_exeext'
13749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13750 (eval $ac_try) 2>&5
13752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13753 (exit $ac_status); }; }; then
13754 ac_cv_lib_m_ccosl=yes
13756 echo "$as_me: failed program was:" >&5
13757 sed 's/^/| /' conftest.$ac_ext >&5
13759 ac_cv_lib_m_ccosl=no
13761 rm -f conftest.err conftest.$ac_objext \
13762 conftest$ac_exeext conftest.$ac_ext
13763 LIBS=$ac_check_lib_save_LIBS
13765 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
13766 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
13767 if test $ac_cv_lib_m_ccosl = yes; then
13769 cat >>confdefs.h <<\_ACEOF
13770 #define HAVE_CCOSL 1
13775 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
13776 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
13777 if test "${ac_cv_lib_m_coshf+set}" = set; then
13778 echo $ECHO_N "(cached) $ECHO_C" >&6
13780 ac_check_lib_save_LIBS=$LIBS
13782 if test x$gcc_no_link = xyes; then
13783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13785 { (exit 1); exit 1; }; }
13787 cat >conftest.$ac_ext <<_ACEOF
13790 cat confdefs.h >>conftest.$ac_ext
13791 cat >>conftest.$ac_ext <<_ACEOF
13792 /* end confdefs.h. */
13794 /* Override any gcc2 internal prototype to avoid an error. */
13798 /* We use char because int might match the return type of a gcc2
13799 builtin and then its argument prototype would still apply. */
13809 rm -f conftest.$ac_objext conftest$ac_exeext
13810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13811 (eval $ac_link) 2>conftest.er1
13813 grep -v '^ *+' conftest.er1 >conftest.err
13815 cat conftest.err >&5
13816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817 (exit $ac_status); } &&
13818 { ac_try='test -z "$ac_c_werror_flag"
13819 || test ! -s conftest.err'
13820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13821 (eval $ac_try) 2>&5
13823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13824 (exit $ac_status); }; } &&
13825 { ac_try='test -s conftest$ac_exeext'
13826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13827 (eval $ac_try) 2>&5
13829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13830 (exit $ac_status); }; }; then
13831 ac_cv_lib_m_coshf=yes
13833 echo "$as_me: failed program was:" >&5
13834 sed 's/^/| /' conftest.$ac_ext >&5
13836 ac_cv_lib_m_coshf=no
13838 rm -f conftest.err conftest.$ac_objext \
13839 conftest$ac_exeext conftest.$ac_ext
13840 LIBS=$ac_check_lib_save_LIBS
13842 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
13843 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
13844 if test $ac_cv_lib_m_coshf = yes; then
13846 cat >>confdefs.h <<\_ACEOF
13847 #define HAVE_COSHF 1
13852 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
13853 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
13854 if test "${ac_cv_lib_m_cosh+set}" = set; then
13855 echo $ECHO_N "(cached) $ECHO_C" >&6
13857 ac_check_lib_save_LIBS=$LIBS
13859 if test x$gcc_no_link = xyes; then
13860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13862 { (exit 1); exit 1; }; }
13864 cat >conftest.$ac_ext <<_ACEOF
13867 cat confdefs.h >>conftest.$ac_ext
13868 cat >>conftest.$ac_ext <<_ACEOF
13869 /* end confdefs.h. */
13871 /* Override any gcc2 internal prototype to avoid an error. */
13875 /* We use char because int might match the return type of a gcc2
13876 builtin and then its argument prototype would still apply. */
13886 rm -f conftest.$ac_objext conftest$ac_exeext
13887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13888 (eval $ac_link) 2>conftest.er1
13890 grep -v '^ *+' conftest.er1 >conftest.err
13892 cat conftest.err >&5
13893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13894 (exit $ac_status); } &&
13895 { ac_try='test -z "$ac_c_werror_flag"
13896 || test ! -s conftest.err'
13897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13898 (eval $ac_try) 2>&5
13900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13901 (exit $ac_status); }; } &&
13902 { ac_try='test -s conftest$ac_exeext'
13903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13904 (eval $ac_try) 2>&5
13906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13907 (exit $ac_status); }; }; then
13908 ac_cv_lib_m_cosh=yes
13910 echo "$as_me: failed program was:" >&5
13911 sed 's/^/| /' conftest.$ac_ext >&5
13913 ac_cv_lib_m_cosh=no
13915 rm -f conftest.err conftest.$ac_objext \
13916 conftest$ac_exeext conftest.$ac_ext
13917 LIBS=$ac_check_lib_save_LIBS
13919 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
13920 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
13921 if test $ac_cv_lib_m_cosh = yes; then
13923 cat >>confdefs.h <<\_ACEOF
13924 #define HAVE_COSH 1
13929 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
13930 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
13931 if test "${ac_cv_lib_m_coshl+set}" = set; then
13932 echo $ECHO_N "(cached) $ECHO_C" >&6
13934 ac_check_lib_save_LIBS=$LIBS
13936 if test x$gcc_no_link = xyes; then
13937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13939 { (exit 1); exit 1; }; }
13941 cat >conftest.$ac_ext <<_ACEOF
13944 cat confdefs.h >>conftest.$ac_ext
13945 cat >>conftest.$ac_ext <<_ACEOF
13946 /* end confdefs.h. */
13948 /* Override any gcc2 internal prototype to avoid an error. */
13952 /* We use char because int might match the return type of a gcc2
13953 builtin and then its argument prototype would still apply. */
13963 rm -f conftest.$ac_objext conftest$ac_exeext
13964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13965 (eval $ac_link) 2>conftest.er1
13967 grep -v '^ *+' conftest.er1 >conftest.err
13969 cat conftest.err >&5
13970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13971 (exit $ac_status); } &&
13972 { ac_try='test -z "$ac_c_werror_flag"
13973 || test ! -s conftest.err'
13974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13975 (eval $ac_try) 2>&5
13977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13978 (exit $ac_status); }; } &&
13979 { ac_try='test -s conftest$ac_exeext'
13980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13981 (eval $ac_try) 2>&5
13983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13984 (exit $ac_status); }; }; then
13985 ac_cv_lib_m_coshl=yes
13987 echo "$as_me: failed program was:" >&5
13988 sed 's/^/| /' conftest.$ac_ext >&5
13990 ac_cv_lib_m_coshl=no
13992 rm -f conftest.err conftest.$ac_objext \
13993 conftest$ac_exeext conftest.$ac_ext
13994 LIBS=$ac_check_lib_save_LIBS
13996 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
13997 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
13998 if test $ac_cv_lib_m_coshl = yes; then
14000 cat >>confdefs.h <<\_ACEOF
14001 #define HAVE_COSHL 1
14006 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
14007 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
14008 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
14009 echo $ECHO_N "(cached) $ECHO_C" >&6
14011 ac_check_lib_save_LIBS=$LIBS
14013 if test x$gcc_no_link = xyes; then
14014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14016 { (exit 1); exit 1; }; }
14018 cat >conftest.$ac_ext <<_ACEOF
14021 cat confdefs.h >>conftest.$ac_ext
14022 cat >>conftest.$ac_ext <<_ACEOF
14023 /* end confdefs.h. */
14025 /* Override any gcc2 internal prototype to avoid an error. */
14029 /* We use char because int might match the return type of a gcc2
14030 builtin and then its argument prototype would still apply. */
14040 rm -f conftest.$ac_objext conftest$ac_exeext
14041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14042 (eval $ac_link) 2>conftest.er1
14044 grep -v '^ *+' conftest.er1 >conftest.err
14046 cat conftest.err >&5
14047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14048 (exit $ac_status); } &&
14049 { ac_try='test -z "$ac_c_werror_flag"
14050 || test ! -s conftest.err'
14051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14052 (eval $ac_try) 2>&5
14054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 (exit $ac_status); }; } &&
14056 { ac_try='test -s conftest$ac_exeext'
14057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14058 (eval $ac_try) 2>&5
14060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14061 (exit $ac_status); }; }; then
14062 ac_cv_lib_m_ccoshf=yes
14064 echo "$as_me: failed program was:" >&5
14065 sed 's/^/| /' conftest.$ac_ext >&5
14067 ac_cv_lib_m_ccoshf=no
14069 rm -f conftest.err conftest.$ac_objext \
14070 conftest$ac_exeext conftest.$ac_ext
14071 LIBS=$ac_check_lib_save_LIBS
14073 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
14074 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
14075 if test $ac_cv_lib_m_ccoshf = yes; then
14077 cat >>confdefs.h <<\_ACEOF
14078 #define HAVE_CCOSHF 1
14083 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
14084 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
14085 if test "${ac_cv_lib_m_ccosh+set}" = set; then
14086 echo $ECHO_N "(cached) $ECHO_C" >&6
14088 ac_check_lib_save_LIBS=$LIBS
14090 if test x$gcc_no_link = xyes; then
14091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14093 { (exit 1); exit 1; }; }
14095 cat >conftest.$ac_ext <<_ACEOF
14098 cat confdefs.h >>conftest.$ac_ext
14099 cat >>conftest.$ac_ext <<_ACEOF
14100 /* end confdefs.h. */
14102 /* Override any gcc2 internal prototype to avoid an error. */
14106 /* We use char because int might match the return type of a gcc2
14107 builtin and then its argument prototype would still apply. */
14117 rm -f conftest.$ac_objext conftest$ac_exeext
14118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14119 (eval $ac_link) 2>conftest.er1
14121 grep -v '^ *+' conftest.er1 >conftest.err
14123 cat conftest.err >&5
14124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14125 (exit $ac_status); } &&
14126 { ac_try='test -z "$ac_c_werror_flag"
14127 || test ! -s conftest.err'
14128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14129 (eval $ac_try) 2>&5
14131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14132 (exit $ac_status); }; } &&
14133 { ac_try='test -s conftest$ac_exeext'
14134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14135 (eval $ac_try) 2>&5
14137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14138 (exit $ac_status); }; }; then
14139 ac_cv_lib_m_ccosh=yes
14141 echo "$as_me: failed program was:" >&5
14142 sed 's/^/| /' conftest.$ac_ext >&5
14144 ac_cv_lib_m_ccosh=no
14146 rm -f conftest.err conftest.$ac_objext \
14147 conftest$ac_exeext conftest.$ac_ext
14148 LIBS=$ac_check_lib_save_LIBS
14150 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
14151 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
14152 if test $ac_cv_lib_m_ccosh = yes; then
14154 cat >>confdefs.h <<\_ACEOF
14155 #define HAVE_CCOSH 1
14160 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
14161 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
14162 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
14163 echo $ECHO_N "(cached) $ECHO_C" >&6
14165 ac_check_lib_save_LIBS=$LIBS
14167 if test x$gcc_no_link = xyes; then
14168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14170 { (exit 1); exit 1; }; }
14172 cat >conftest.$ac_ext <<_ACEOF
14175 cat confdefs.h >>conftest.$ac_ext
14176 cat >>conftest.$ac_ext <<_ACEOF
14177 /* end confdefs.h. */
14179 /* Override any gcc2 internal prototype to avoid an error. */
14183 /* We use char because int might match the return type of a gcc2
14184 builtin and then its argument prototype would still apply. */
14194 rm -f conftest.$ac_objext conftest$ac_exeext
14195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14196 (eval $ac_link) 2>conftest.er1
14198 grep -v '^ *+' conftest.er1 >conftest.err
14200 cat conftest.err >&5
14201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14202 (exit $ac_status); } &&
14203 { ac_try='test -z "$ac_c_werror_flag"
14204 || test ! -s conftest.err'
14205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14206 (eval $ac_try) 2>&5
14208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14209 (exit $ac_status); }; } &&
14210 { ac_try='test -s conftest$ac_exeext'
14211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14212 (eval $ac_try) 2>&5
14214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215 (exit $ac_status); }; }; then
14216 ac_cv_lib_m_ccoshl=yes
14218 echo "$as_me: failed program was:" >&5
14219 sed 's/^/| /' conftest.$ac_ext >&5
14221 ac_cv_lib_m_ccoshl=no
14223 rm -f conftest.err conftest.$ac_objext \
14224 conftest$ac_exeext conftest.$ac_ext
14225 LIBS=$ac_check_lib_save_LIBS
14227 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
14228 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
14229 if test $ac_cv_lib_m_ccoshl = yes; then
14231 cat >>confdefs.h <<\_ACEOF
14232 #define HAVE_CCOSHL 1
14237 echo "$as_me:$LINENO: checking for expf in -lm" >&5
14238 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
14239 if test "${ac_cv_lib_m_expf+set}" = set; then
14240 echo $ECHO_N "(cached) $ECHO_C" >&6
14242 ac_check_lib_save_LIBS=$LIBS
14244 if test x$gcc_no_link = xyes; then
14245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14247 { (exit 1); exit 1; }; }
14249 cat >conftest.$ac_ext <<_ACEOF
14252 cat confdefs.h >>conftest.$ac_ext
14253 cat >>conftest.$ac_ext <<_ACEOF
14254 /* end confdefs.h. */
14256 /* Override any gcc2 internal prototype to avoid an error. */
14260 /* We use char because int might match the return type of a gcc2
14261 builtin and then its argument prototype would still apply. */
14271 rm -f conftest.$ac_objext conftest$ac_exeext
14272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14273 (eval $ac_link) 2>conftest.er1
14275 grep -v '^ *+' conftest.er1 >conftest.err
14277 cat conftest.err >&5
14278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279 (exit $ac_status); } &&
14280 { ac_try='test -z "$ac_c_werror_flag"
14281 || test ! -s conftest.err'
14282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14283 (eval $ac_try) 2>&5
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); }; } &&
14287 { ac_try='test -s conftest$ac_exeext'
14288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14289 (eval $ac_try) 2>&5
14291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14292 (exit $ac_status); }; }; then
14293 ac_cv_lib_m_expf=yes
14295 echo "$as_me: failed program was:" >&5
14296 sed 's/^/| /' conftest.$ac_ext >&5
14298 ac_cv_lib_m_expf=no
14300 rm -f conftest.err conftest.$ac_objext \
14301 conftest$ac_exeext conftest.$ac_ext
14302 LIBS=$ac_check_lib_save_LIBS
14304 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
14305 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
14306 if test $ac_cv_lib_m_expf = yes; then
14308 cat >>confdefs.h <<\_ACEOF
14309 #define HAVE_EXPF 1
14314 echo "$as_me:$LINENO: checking for exp in -lm" >&5
14315 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
14316 if test "${ac_cv_lib_m_exp+set}" = set; then
14317 echo $ECHO_N "(cached) $ECHO_C" >&6
14319 ac_check_lib_save_LIBS=$LIBS
14321 if test x$gcc_no_link = xyes; then
14322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14324 { (exit 1); exit 1; }; }
14326 cat >conftest.$ac_ext <<_ACEOF
14329 cat confdefs.h >>conftest.$ac_ext
14330 cat >>conftest.$ac_ext <<_ACEOF
14331 /* end confdefs.h. */
14333 /* Override any gcc2 internal prototype to avoid an error. */
14337 /* We use char because int might match the return type of a gcc2
14338 builtin and then its argument prototype would still apply. */
14348 rm -f conftest.$ac_objext conftest$ac_exeext
14349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14350 (eval $ac_link) 2>conftest.er1
14352 grep -v '^ *+' conftest.er1 >conftest.err
14354 cat conftest.err >&5
14355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14356 (exit $ac_status); } &&
14357 { ac_try='test -z "$ac_c_werror_flag"
14358 || test ! -s conftest.err'
14359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14360 (eval $ac_try) 2>&5
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); }; } &&
14364 { ac_try='test -s conftest$ac_exeext'
14365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14366 (eval $ac_try) 2>&5
14368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14369 (exit $ac_status); }; }; then
14370 ac_cv_lib_m_exp=yes
14372 echo "$as_me: failed program was:" >&5
14373 sed 's/^/| /' conftest.$ac_ext >&5
14377 rm -f conftest.err conftest.$ac_objext \
14378 conftest$ac_exeext conftest.$ac_ext
14379 LIBS=$ac_check_lib_save_LIBS
14381 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
14382 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
14383 if test $ac_cv_lib_m_exp = yes; then
14385 cat >>confdefs.h <<\_ACEOF
14391 echo "$as_me:$LINENO: checking for expl in -lm" >&5
14392 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
14393 if test "${ac_cv_lib_m_expl+set}" = set; then
14394 echo $ECHO_N "(cached) $ECHO_C" >&6
14396 ac_check_lib_save_LIBS=$LIBS
14398 if test x$gcc_no_link = xyes; then
14399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14401 { (exit 1); exit 1; }; }
14403 cat >conftest.$ac_ext <<_ACEOF
14406 cat confdefs.h >>conftest.$ac_ext
14407 cat >>conftest.$ac_ext <<_ACEOF
14408 /* end confdefs.h. */
14410 /* Override any gcc2 internal prototype to avoid an error. */
14414 /* We use char because int might match the return type of a gcc2
14415 builtin and then its argument prototype would still apply. */
14425 rm -f conftest.$ac_objext conftest$ac_exeext
14426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14427 (eval $ac_link) 2>conftest.er1
14429 grep -v '^ *+' conftest.er1 >conftest.err
14431 cat conftest.err >&5
14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433 (exit $ac_status); } &&
14434 { ac_try='test -z "$ac_c_werror_flag"
14435 || test ! -s conftest.err'
14436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14437 (eval $ac_try) 2>&5
14439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440 (exit $ac_status); }; } &&
14441 { ac_try='test -s conftest$ac_exeext'
14442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14443 (eval $ac_try) 2>&5
14445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14446 (exit $ac_status); }; }; then
14447 ac_cv_lib_m_expl=yes
14449 echo "$as_me: failed program was:" >&5
14450 sed 's/^/| /' conftest.$ac_ext >&5
14452 ac_cv_lib_m_expl=no
14454 rm -f conftest.err conftest.$ac_objext \
14455 conftest$ac_exeext conftest.$ac_ext
14456 LIBS=$ac_check_lib_save_LIBS
14458 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
14459 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
14460 if test $ac_cv_lib_m_expl = yes; then
14462 cat >>confdefs.h <<\_ACEOF
14463 #define HAVE_EXPL 1
14468 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
14469 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
14470 if test "${ac_cv_lib_m_cexpf+set}" = set; then
14471 echo $ECHO_N "(cached) $ECHO_C" >&6
14473 ac_check_lib_save_LIBS=$LIBS
14475 if test x$gcc_no_link = xyes; then
14476 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14478 { (exit 1); exit 1; }; }
14480 cat >conftest.$ac_ext <<_ACEOF
14483 cat confdefs.h >>conftest.$ac_ext
14484 cat >>conftest.$ac_ext <<_ACEOF
14485 /* end confdefs.h. */
14487 /* Override any gcc2 internal prototype to avoid an error. */
14491 /* We use char because int might match the return type of a gcc2
14492 builtin and then its argument prototype would still apply. */
14502 rm -f conftest.$ac_objext conftest$ac_exeext
14503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14504 (eval $ac_link) 2>conftest.er1
14506 grep -v '^ *+' conftest.er1 >conftest.err
14508 cat conftest.err >&5
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); } &&
14511 { ac_try='test -z "$ac_c_werror_flag"
14512 || test ! -s conftest.err'
14513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14514 (eval $ac_try) 2>&5
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); }; } &&
14518 { ac_try='test -s conftest$ac_exeext'
14519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14520 (eval $ac_try) 2>&5
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); }; }; then
14524 ac_cv_lib_m_cexpf=yes
14526 echo "$as_me: failed program was:" >&5
14527 sed 's/^/| /' conftest.$ac_ext >&5
14529 ac_cv_lib_m_cexpf=no
14531 rm -f conftest.err conftest.$ac_objext \
14532 conftest$ac_exeext conftest.$ac_ext
14533 LIBS=$ac_check_lib_save_LIBS
14535 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
14536 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
14537 if test $ac_cv_lib_m_cexpf = yes; then
14539 cat >>confdefs.h <<\_ACEOF
14540 #define HAVE_CEXPF 1
14545 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
14546 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
14547 if test "${ac_cv_lib_m_cexp+set}" = set; then
14548 echo $ECHO_N "(cached) $ECHO_C" >&6
14550 ac_check_lib_save_LIBS=$LIBS
14552 if test x$gcc_no_link = xyes; then
14553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14555 { (exit 1); exit 1; }; }
14557 cat >conftest.$ac_ext <<_ACEOF
14560 cat confdefs.h >>conftest.$ac_ext
14561 cat >>conftest.$ac_ext <<_ACEOF
14562 /* end confdefs.h. */
14564 /* Override any gcc2 internal prototype to avoid an error. */
14568 /* We use char because int might match the return type of a gcc2
14569 builtin and then its argument prototype would still apply. */
14579 rm -f conftest.$ac_objext conftest$ac_exeext
14580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14581 (eval $ac_link) 2>conftest.er1
14583 grep -v '^ *+' conftest.er1 >conftest.err
14585 cat conftest.err >&5
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); } &&
14588 { ac_try='test -z "$ac_c_werror_flag"
14589 || test ! -s conftest.err'
14590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14591 (eval $ac_try) 2>&5
14593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 (exit $ac_status); }; } &&
14595 { ac_try='test -s conftest$ac_exeext'
14596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14597 (eval $ac_try) 2>&5
14599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14600 (exit $ac_status); }; }; then
14601 ac_cv_lib_m_cexp=yes
14603 echo "$as_me: failed program was:" >&5
14604 sed 's/^/| /' conftest.$ac_ext >&5
14606 ac_cv_lib_m_cexp=no
14608 rm -f conftest.err conftest.$ac_objext \
14609 conftest$ac_exeext conftest.$ac_ext
14610 LIBS=$ac_check_lib_save_LIBS
14612 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
14613 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
14614 if test $ac_cv_lib_m_cexp = yes; then
14616 cat >>confdefs.h <<\_ACEOF
14617 #define HAVE_CEXP 1
14622 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
14623 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
14624 if test "${ac_cv_lib_m_cexpl+set}" = set; then
14625 echo $ECHO_N "(cached) $ECHO_C" >&6
14627 ac_check_lib_save_LIBS=$LIBS
14629 if test x$gcc_no_link = xyes; then
14630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14632 { (exit 1); exit 1; }; }
14634 cat >conftest.$ac_ext <<_ACEOF
14637 cat confdefs.h >>conftest.$ac_ext
14638 cat >>conftest.$ac_ext <<_ACEOF
14639 /* end confdefs.h. */
14641 /* Override any gcc2 internal prototype to avoid an error. */
14645 /* We use char because int might match the return type of a gcc2
14646 builtin and then its argument prototype would still apply. */
14656 rm -f conftest.$ac_objext conftest$ac_exeext
14657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14658 (eval $ac_link) 2>conftest.er1
14660 grep -v '^ *+' conftest.er1 >conftest.err
14662 cat conftest.err >&5
14663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664 (exit $ac_status); } &&
14665 { ac_try='test -z "$ac_c_werror_flag"
14666 || test ! -s conftest.err'
14667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14668 (eval $ac_try) 2>&5
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); }; } &&
14672 { ac_try='test -s conftest$ac_exeext'
14673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14674 (eval $ac_try) 2>&5
14676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14677 (exit $ac_status); }; }; then
14678 ac_cv_lib_m_cexpl=yes
14680 echo "$as_me: failed program was:" >&5
14681 sed 's/^/| /' conftest.$ac_ext >&5
14683 ac_cv_lib_m_cexpl=no
14685 rm -f conftest.err conftest.$ac_objext \
14686 conftest$ac_exeext conftest.$ac_ext
14687 LIBS=$ac_check_lib_save_LIBS
14689 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
14690 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
14691 if test $ac_cv_lib_m_cexpl = yes; then
14693 cat >>confdefs.h <<\_ACEOF
14694 #define HAVE_CEXPL 1
14699 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
14700 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
14701 if test "${ac_cv_lib_m_fabsf+set}" = set; then
14702 echo $ECHO_N "(cached) $ECHO_C" >&6
14704 ac_check_lib_save_LIBS=$LIBS
14706 if test x$gcc_no_link = xyes; then
14707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14709 { (exit 1); exit 1; }; }
14711 cat >conftest.$ac_ext <<_ACEOF
14714 cat confdefs.h >>conftest.$ac_ext
14715 cat >>conftest.$ac_ext <<_ACEOF
14716 /* end confdefs.h. */
14718 /* Override any gcc2 internal prototype to avoid an error. */
14722 /* We use char because int might match the return type of a gcc2
14723 builtin and then its argument prototype would still apply. */
14733 rm -f conftest.$ac_objext conftest$ac_exeext
14734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14735 (eval $ac_link) 2>conftest.er1
14737 grep -v '^ *+' conftest.er1 >conftest.err
14739 cat conftest.err >&5
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); } &&
14742 { ac_try='test -z "$ac_c_werror_flag"
14743 || test ! -s conftest.err'
14744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14745 (eval $ac_try) 2>&5
14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); }; } &&
14749 { ac_try='test -s conftest$ac_exeext'
14750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14751 (eval $ac_try) 2>&5
14753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14754 (exit $ac_status); }; }; then
14755 ac_cv_lib_m_fabsf=yes
14757 echo "$as_me: failed program was:" >&5
14758 sed 's/^/| /' conftest.$ac_ext >&5
14760 ac_cv_lib_m_fabsf=no
14762 rm -f conftest.err conftest.$ac_objext \
14763 conftest$ac_exeext conftest.$ac_ext
14764 LIBS=$ac_check_lib_save_LIBS
14766 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
14767 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
14768 if test $ac_cv_lib_m_fabsf = yes; then
14770 cat >>confdefs.h <<\_ACEOF
14771 #define HAVE_FABSF 1
14776 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
14777 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
14778 if test "${ac_cv_lib_m_fabs+set}" = set; then
14779 echo $ECHO_N "(cached) $ECHO_C" >&6
14781 ac_check_lib_save_LIBS=$LIBS
14783 if test x$gcc_no_link = xyes; then
14784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14786 { (exit 1); exit 1; }; }
14788 cat >conftest.$ac_ext <<_ACEOF
14791 cat confdefs.h >>conftest.$ac_ext
14792 cat >>conftest.$ac_ext <<_ACEOF
14793 /* end confdefs.h. */
14795 /* Override any gcc2 internal prototype to avoid an error. */
14799 /* We use char because int might match the return type of a gcc2
14800 builtin and then its argument prototype would still apply. */
14810 rm -f conftest.$ac_objext conftest$ac_exeext
14811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14812 (eval $ac_link) 2>conftest.er1
14814 grep -v '^ *+' conftest.er1 >conftest.err
14816 cat conftest.err >&5
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); } &&
14819 { ac_try='test -z "$ac_c_werror_flag"
14820 || test ! -s conftest.err'
14821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14822 (eval $ac_try) 2>&5
14824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14825 (exit $ac_status); }; } &&
14826 { ac_try='test -s conftest$ac_exeext'
14827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14828 (eval $ac_try) 2>&5
14830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14831 (exit $ac_status); }; }; then
14832 ac_cv_lib_m_fabs=yes
14834 echo "$as_me: failed program was:" >&5
14835 sed 's/^/| /' conftest.$ac_ext >&5
14837 ac_cv_lib_m_fabs=no
14839 rm -f conftest.err conftest.$ac_objext \
14840 conftest$ac_exeext conftest.$ac_ext
14841 LIBS=$ac_check_lib_save_LIBS
14843 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
14844 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
14845 if test $ac_cv_lib_m_fabs = yes; then
14847 cat >>confdefs.h <<\_ACEOF
14848 #define HAVE_FABS 1
14853 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
14854 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
14855 if test "${ac_cv_lib_m_fabsl+set}" = set; then
14856 echo $ECHO_N "(cached) $ECHO_C" >&6
14858 ac_check_lib_save_LIBS=$LIBS
14860 if test x$gcc_no_link = xyes; then
14861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14863 { (exit 1); exit 1; }; }
14865 cat >conftest.$ac_ext <<_ACEOF
14868 cat confdefs.h >>conftest.$ac_ext
14869 cat >>conftest.$ac_ext <<_ACEOF
14870 /* end confdefs.h. */
14872 /* Override any gcc2 internal prototype to avoid an error. */
14876 /* We use char because int might match the return type of a gcc2
14877 builtin and then its argument prototype would still apply. */
14887 rm -f conftest.$ac_objext conftest$ac_exeext
14888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14889 (eval $ac_link) 2>conftest.er1
14891 grep -v '^ *+' conftest.er1 >conftest.err
14893 cat conftest.err >&5
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); } &&
14896 { ac_try='test -z "$ac_c_werror_flag"
14897 || test ! -s conftest.err'
14898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14899 (eval $ac_try) 2>&5
14901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14902 (exit $ac_status); }; } &&
14903 { ac_try='test -s conftest$ac_exeext'
14904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14905 (eval $ac_try) 2>&5
14907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908 (exit $ac_status); }; }; then
14909 ac_cv_lib_m_fabsl=yes
14911 echo "$as_me: failed program was:" >&5
14912 sed 's/^/| /' conftest.$ac_ext >&5
14914 ac_cv_lib_m_fabsl=no
14916 rm -f conftest.err conftest.$ac_objext \
14917 conftest$ac_exeext conftest.$ac_ext
14918 LIBS=$ac_check_lib_save_LIBS
14920 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
14921 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
14922 if test $ac_cv_lib_m_fabsl = yes; then
14924 cat >>confdefs.h <<\_ACEOF
14925 #define HAVE_FABSL 1
14930 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
14931 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
14932 if test "${ac_cv_lib_m_cabsf+set}" = set; then
14933 echo $ECHO_N "(cached) $ECHO_C" >&6
14935 ac_check_lib_save_LIBS=$LIBS
14937 if test x$gcc_no_link = xyes; then
14938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14940 { (exit 1); exit 1; }; }
14942 cat >conftest.$ac_ext <<_ACEOF
14945 cat confdefs.h >>conftest.$ac_ext
14946 cat >>conftest.$ac_ext <<_ACEOF
14947 /* end confdefs.h. */
14949 /* Override any gcc2 internal prototype to avoid an error. */
14953 /* We use char because int might match the return type of a gcc2
14954 builtin and then its argument prototype would still apply. */
14964 rm -f conftest.$ac_objext conftest$ac_exeext
14965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14966 (eval $ac_link) 2>conftest.er1
14968 grep -v '^ *+' conftest.er1 >conftest.err
14970 cat conftest.err >&5
14971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972 (exit $ac_status); } &&
14973 { ac_try='test -z "$ac_c_werror_flag"
14974 || test ! -s conftest.err'
14975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14976 (eval $ac_try) 2>&5
14978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14979 (exit $ac_status); }; } &&
14980 { ac_try='test -s conftest$ac_exeext'
14981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14982 (eval $ac_try) 2>&5
14984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14985 (exit $ac_status); }; }; then
14986 ac_cv_lib_m_cabsf=yes
14988 echo "$as_me: failed program was:" >&5
14989 sed 's/^/| /' conftest.$ac_ext >&5
14991 ac_cv_lib_m_cabsf=no
14993 rm -f conftest.err conftest.$ac_objext \
14994 conftest$ac_exeext conftest.$ac_ext
14995 LIBS=$ac_check_lib_save_LIBS
14997 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
14998 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
14999 if test $ac_cv_lib_m_cabsf = yes; then
15001 cat >>confdefs.h <<\_ACEOF
15002 #define HAVE_CABSF 1
15007 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
15008 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
15009 if test "${ac_cv_lib_m_cabs+set}" = set; then
15010 echo $ECHO_N "(cached) $ECHO_C" >&6
15012 ac_check_lib_save_LIBS=$LIBS
15014 if test x$gcc_no_link = xyes; then
15015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15017 { (exit 1); exit 1; }; }
15019 cat >conftest.$ac_ext <<_ACEOF
15022 cat confdefs.h >>conftest.$ac_ext
15023 cat >>conftest.$ac_ext <<_ACEOF
15024 /* end confdefs.h. */
15026 /* Override any gcc2 internal prototype to avoid an error. */
15030 /* We use char because int might match the return type of a gcc2
15031 builtin and then its argument prototype would still apply. */
15041 rm -f conftest.$ac_objext conftest$ac_exeext
15042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15043 (eval $ac_link) 2>conftest.er1
15045 grep -v '^ *+' conftest.er1 >conftest.err
15047 cat conftest.err >&5
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); } &&
15050 { ac_try='test -z "$ac_c_werror_flag"
15051 || test ! -s conftest.err'
15052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15053 (eval $ac_try) 2>&5
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); }; } &&
15057 { ac_try='test -s conftest$ac_exeext'
15058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15059 (eval $ac_try) 2>&5
15061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062 (exit $ac_status); }; }; then
15063 ac_cv_lib_m_cabs=yes
15065 echo "$as_me: failed program was:" >&5
15066 sed 's/^/| /' conftest.$ac_ext >&5
15068 ac_cv_lib_m_cabs=no
15070 rm -f conftest.err conftest.$ac_objext \
15071 conftest$ac_exeext conftest.$ac_ext
15072 LIBS=$ac_check_lib_save_LIBS
15074 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
15075 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
15076 if test $ac_cv_lib_m_cabs = yes; then
15078 cat >>confdefs.h <<\_ACEOF
15079 #define HAVE_CABS 1
15084 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
15085 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
15086 if test "${ac_cv_lib_m_cabsl+set}" = set; then
15087 echo $ECHO_N "(cached) $ECHO_C" >&6
15089 ac_check_lib_save_LIBS=$LIBS
15091 if test x$gcc_no_link = xyes; then
15092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15094 { (exit 1); exit 1; }; }
15096 cat >conftest.$ac_ext <<_ACEOF
15099 cat confdefs.h >>conftest.$ac_ext
15100 cat >>conftest.$ac_ext <<_ACEOF
15101 /* end confdefs.h. */
15103 /* Override any gcc2 internal prototype to avoid an error. */
15107 /* We use char because int might match the return type of a gcc2
15108 builtin and then its argument prototype would still apply. */
15118 rm -f conftest.$ac_objext conftest$ac_exeext
15119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15120 (eval $ac_link) 2>conftest.er1
15122 grep -v '^ *+' conftest.er1 >conftest.err
15124 cat conftest.err >&5
15125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15126 (exit $ac_status); } &&
15127 { ac_try='test -z "$ac_c_werror_flag"
15128 || test ! -s conftest.err'
15129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15130 (eval $ac_try) 2>&5
15132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15133 (exit $ac_status); }; } &&
15134 { ac_try='test -s conftest$ac_exeext'
15135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15136 (eval $ac_try) 2>&5
15138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15139 (exit $ac_status); }; }; then
15140 ac_cv_lib_m_cabsl=yes
15142 echo "$as_me: failed program was:" >&5
15143 sed 's/^/| /' conftest.$ac_ext >&5
15145 ac_cv_lib_m_cabsl=no
15147 rm -f conftest.err conftest.$ac_objext \
15148 conftest$ac_exeext conftest.$ac_ext
15149 LIBS=$ac_check_lib_save_LIBS
15151 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
15152 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
15153 if test $ac_cv_lib_m_cabsl = yes; then
15155 cat >>confdefs.h <<\_ACEOF
15156 #define HAVE_CABSL 1
15161 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
15162 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
15163 if test "${ac_cv_lib_m_floorf+set}" = set; then
15164 echo $ECHO_N "(cached) $ECHO_C" >&6
15166 ac_check_lib_save_LIBS=$LIBS
15168 if test x$gcc_no_link = xyes; then
15169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15171 { (exit 1); exit 1; }; }
15173 cat >conftest.$ac_ext <<_ACEOF
15176 cat confdefs.h >>conftest.$ac_ext
15177 cat >>conftest.$ac_ext <<_ACEOF
15178 /* end confdefs.h. */
15180 /* Override any gcc2 internal prototype to avoid an error. */
15184 /* We use char because int might match the return type of a gcc2
15185 builtin and then its argument prototype would still apply. */
15195 rm -f conftest.$ac_objext conftest$ac_exeext
15196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15197 (eval $ac_link) 2>conftest.er1
15199 grep -v '^ *+' conftest.er1 >conftest.err
15201 cat conftest.err >&5
15202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15203 (exit $ac_status); } &&
15204 { ac_try='test -z "$ac_c_werror_flag"
15205 || test ! -s conftest.err'
15206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15207 (eval $ac_try) 2>&5
15209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15210 (exit $ac_status); }; } &&
15211 { ac_try='test -s conftest$ac_exeext'
15212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15213 (eval $ac_try) 2>&5
15215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15216 (exit $ac_status); }; }; then
15217 ac_cv_lib_m_floorf=yes
15219 echo "$as_me: failed program was:" >&5
15220 sed 's/^/| /' conftest.$ac_ext >&5
15222 ac_cv_lib_m_floorf=no
15224 rm -f conftest.err conftest.$ac_objext \
15225 conftest$ac_exeext conftest.$ac_ext
15226 LIBS=$ac_check_lib_save_LIBS
15228 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
15229 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
15230 if test $ac_cv_lib_m_floorf = yes; then
15232 cat >>confdefs.h <<\_ACEOF
15233 #define HAVE_FLOORF 1
15238 echo "$as_me:$LINENO: checking for floor in -lm" >&5
15239 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
15240 if test "${ac_cv_lib_m_floor+set}" = set; then
15241 echo $ECHO_N "(cached) $ECHO_C" >&6
15243 ac_check_lib_save_LIBS=$LIBS
15245 if test x$gcc_no_link = xyes; then
15246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15248 { (exit 1); exit 1; }; }
15250 cat >conftest.$ac_ext <<_ACEOF
15253 cat confdefs.h >>conftest.$ac_ext
15254 cat >>conftest.$ac_ext <<_ACEOF
15255 /* end confdefs.h. */
15257 /* Override any gcc2 internal prototype to avoid an error. */
15261 /* We use char because int might match the return type of a gcc2
15262 builtin and then its argument prototype would still apply. */
15272 rm -f conftest.$ac_objext conftest$ac_exeext
15273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15274 (eval $ac_link) 2>conftest.er1
15276 grep -v '^ *+' conftest.er1 >conftest.err
15278 cat conftest.err >&5
15279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15280 (exit $ac_status); } &&
15281 { ac_try='test -z "$ac_c_werror_flag"
15282 || test ! -s conftest.err'
15283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15284 (eval $ac_try) 2>&5
15286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15287 (exit $ac_status); }; } &&
15288 { ac_try='test -s conftest$ac_exeext'
15289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15290 (eval $ac_try) 2>&5
15292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15293 (exit $ac_status); }; }; then
15294 ac_cv_lib_m_floor=yes
15296 echo "$as_me: failed program was:" >&5
15297 sed 's/^/| /' conftest.$ac_ext >&5
15299 ac_cv_lib_m_floor=no
15301 rm -f conftest.err conftest.$ac_objext \
15302 conftest$ac_exeext conftest.$ac_ext
15303 LIBS=$ac_check_lib_save_LIBS
15305 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
15306 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
15307 if test $ac_cv_lib_m_floor = yes; then
15309 cat >>confdefs.h <<\_ACEOF
15310 #define HAVE_FLOOR 1
15315 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
15316 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
15317 if test "${ac_cv_lib_m_floorl+set}" = set; then
15318 echo $ECHO_N "(cached) $ECHO_C" >&6
15320 ac_check_lib_save_LIBS=$LIBS
15322 if test x$gcc_no_link = xyes; then
15323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15325 { (exit 1); exit 1; }; }
15327 cat >conftest.$ac_ext <<_ACEOF
15330 cat confdefs.h >>conftest.$ac_ext
15331 cat >>conftest.$ac_ext <<_ACEOF
15332 /* end confdefs.h. */
15334 /* Override any gcc2 internal prototype to avoid an error. */
15338 /* We use char because int might match the return type of a gcc2
15339 builtin and then its argument prototype would still apply. */
15349 rm -f conftest.$ac_objext conftest$ac_exeext
15350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15351 (eval $ac_link) 2>conftest.er1
15353 grep -v '^ *+' conftest.er1 >conftest.err
15355 cat conftest.err >&5
15356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15357 (exit $ac_status); } &&
15358 { ac_try='test -z "$ac_c_werror_flag"
15359 || test ! -s conftest.err'
15360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15361 (eval $ac_try) 2>&5
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); }; } &&
15365 { ac_try='test -s conftest$ac_exeext'
15366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15367 (eval $ac_try) 2>&5
15369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15370 (exit $ac_status); }; }; then
15371 ac_cv_lib_m_floorl=yes
15373 echo "$as_me: failed program was:" >&5
15374 sed 's/^/| /' conftest.$ac_ext >&5
15376 ac_cv_lib_m_floorl=no
15378 rm -f conftest.err conftest.$ac_objext \
15379 conftest$ac_exeext conftest.$ac_ext
15380 LIBS=$ac_check_lib_save_LIBS
15382 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
15383 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
15384 if test $ac_cv_lib_m_floorl = yes; then
15386 cat >>confdefs.h <<\_ACEOF
15387 #define HAVE_FLOORL 1
15392 echo "$as_me:$LINENO: checking for fmodf in -lm" >&5
15393 echo $ECHO_N "checking for fmodf in -lm... $ECHO_C" >&6
15394 if test "${ac_cv_lib_m_fmodf+set}" = set; then
15395 echo $ECHO_N "(cached) $ECHO_C" >&6
15397 ac_check_lib_save_LIBS=$LIBS
15399 if test x$gcc_no_link = xyes; then
15400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15402 { (exit 1); exit 1; }; }
15404 cat >conftest.$ac_ext <<_ACEOF
15407 cat confdefs.h >>conftest.$ac_ext
15408 cat >>conftest.$ac_ext <<_ACEOF
15409 /* end confdefs.h. */
15411 /* Override any gcc2 internal prototype to avoid an error. */
15415 /* We use char because int might match the return type of a gcc2
15416 builtin and then its argument prototype would still apply. */
15426 rm -f conftest.$ac_objext conftest$ac_exeext
15427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15428 (eval $ac_link) 2>conftest.er1
15430 grep -v '^ *+' conftest.er1 >conftest.err
15432 cat conftest.err >&5
15433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15434 (exit $ac_status); } &&
15435 { ac_try='test -z "$ac_c_werror_flag"
15436 || test ! -s conftest.err'
15437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15438 (eval $ac_try) 2>&5
15440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441 (exit $ac_status); }; } &&
15442 { ac_try='test -s conftest$ac_exeext'
15443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15444 (eval $ac_try) 2>&5
15446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15447 (exit $ac_status); }; }; then
15448 ac_cv_lib_m_fmodf=yes
15450 echo "$as_me: failed program was:" >&5
15451 sed 's/^/| /' conftest.$ac_ext >&5
15453 ac_cv_lib_m_fmodf=no
15455 rm -f conftest.err conftest.$ac_objext \
15456 conftest$ac_exeext conftest.$ac_ext
15457 LIBS=$ac_check_lib_save_LIBS
15459 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodf" >&5
15460 echo "${ECHO_T}$ac_cv_lib_m_fmodf" >&6
15461 if test $ac_cv_lib_m_fmodf = yes; then
15463 cat >>confdefs.h <<\_ACEOF
15464 #define HAVE_FMODF 1
15469 echo "$as_me:$LINENO: checking for fmod in -lm" >&5
15470 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6
15471 if test "${ac_cv_lib_m_fmod+set}" = set; then
15472 echo $ECHO_N "(cached) $ECHO_C" >&6
15474 ac_check_lib_save_LIBS=$LIBS
15476 if test x$gcc_no_link = xyes; then
15477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15479 { (exit 1); exit 1; }; }
15481 cat >conftest.$ac_ext <<_ACEOF
15484 cat confdefs.h >>conftest.$ac_ext
15485 cat >>conftest.$ac_ext <<_ACEOF
15486 /* end confdefs.h. */
15488 /* Override any gcc2 internal prototype to avoid an error. */
15492 /* We use char because int might match the return type of a gcc2
15493 builtin and then its argument prototype would still apply. */
15503 rm -f conftest.$ac_objext conftest$ac_exeext
15504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15505 (eval $ac_link) 2>conftest.er1
15507 grep -v '^ *+' conftest.er1 >conftest.err
15509 cat conftest.err >&5
15510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15511 (exit $ac_status); } &&
15512 { ac_try='test -z "$ac_c_werror_flag"
15513 || test ! -s conftest.err'
15514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15515 (eval $ac_try) 2>&5
15517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15518 (exit $ac_status); }; } &&
15519 { ac_try='test -s conftest$ac_exeext'
15520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15521 (eval $ac_try) 2>&5
15523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15524 (exit $ac_status); }; }; then
15525 ac_cv_lib_m_fmod=yes
15527 echo "$as_me: failed program was:" >&5
15528 sed 's/^/| /' conftest.$ac_ext >&5
15530 ac_cv_lib_m_fmod=no
15532 rm -f conftest.err conftest.$ac_objext \
15533 conftest$ac_exeext conftest.$ac_ext
15534 LIBS=$ac_check_lib_save_LIBS
15536 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
15537 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6
15538 if test $ac_cv_lib_m_fmod = yes; then
15540 cat >>confdefs.h <<\_ACEOF
15541 #define HAVE_FMOD 1
15546 echo "$as_me:$LINENO: checking for fmodl in -lm" >&5
15547 echo $ECHO_N "checking for fmodl in -lm... $ECHO_C" >&6
15548 if test "${ac_cv_lib_m_fmodl+set}" = set; then
15549 echo $ECHO_N "(cached) $ECHO_C" >&6
15551 ac_check_lib_save_LIBS=$LIBS
15553 if test x$gcc_no_link = xyes; then
15554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15556 { (exit 1); exit 1; }; }
15558 cat >conftest.$ac_ext <<_ACEOF
15561 cat confdefs.h >>conftest.$ac_ext
15562 cat >>conftest.$ac_ext <<_ACEOF
15563 /* end confdefs.h. */
15565 /* Override any gcc2 internal prototype to avoid an error. */
15569 /* We use char because int might match the return type of a gcc2
15570 builtin and then its argument prototype would still apply. */
15580 rm -f conftest.$ac_objext conftest$ac_exeext
15581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15582 (eval $ac_link) 2>conftest.er1
15584 grep -v '^ *+' conftest.er1 >conftest.err
15586 cat conftest.err >&5
15587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15588 (exit $ac_status); } &&
15589 { ac_try='test -z "$ac_c_werror_flag"
15590 || test ! -s conftest.err'
15591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15592 (eval $ac_try) 2>&5
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); }; } &&
15596 { ac_try='test -s conftest$ac_exeext'
15597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15598 (eval $ac_try) 2>&5
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); }; }; then
15602 ac_cv_lib_m_fmodl=yes
15604 echo "$as_me: failed program was:" >&5
15605 sed 's/^/| /' conftest.$ac_ext >&5
15607 ac_cv_lib_m_fmodl=no
15609 rm -f conftest.err conftest.$ac_objext \
15610 conftest$ac_exeext conftest.$ac_ext
15611 LIBS=$ac_check_lib_save_LIBS
15613 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodl" >&5
15614 echo "${ECHO_T}$ac_cv_lib_m_fmodl" >&6
15615 if test $ac_cv_lib_m_fmodl = yes; then
15617 cat >>confdefs.h <<\_ACEOF
15618 #define HAVE_FMODL 1
15623 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
15624 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
15625 if test "${ac_cv_lib_m_frexpf+set}" = set; then
15626 echo $ECHO_N "(cached) $ECHO_C" >&6
15628 ac_check_lib_save_LIBS=$LIBS
15630 if test x$gcc_no_link = xyes; then
15631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15633 { (exit 1); exit 1; }; }
15635 cat >conftest.$ac_ext <<_ACEOF
15638 cat confdefs.h >>conftest.$ac_ext
15639 cat >>conftest.$ac_ext <<_ACEOF
15640 /* end confdefs.h. */
15642 /* Override any gcc2 internal prototype to avoid an error. */
15646 /* We use char because int might match the return type of a gcc2
15647 builtin and then its argument prototype would still apply. */
15657 rm -f conftest.$ac_objext conftest$ac_exeext
15658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15659 (eval $ac_link) 2>conftest.er1
15661 grep -v '^ *+' conftest.er1 >conftest.err
15663 cat conftest.err >&5
15664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); } &&
15666 { ac_try='test -z "$ac_c_werror_flag"
15667 || test ! -s conftest.err'
15668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15669 (eval $ac_try) 2>&5
15671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672 (exit $ac_status); }; } &&
15673 { ac_try='test -s conftest$ac_exeext'
15674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15675 (eval $ac_try) 2>&5
15677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678 (exit $ac_status); }; }; then
15679 ac_cv_lib_m_frexpf=yes
15681 echo "$as_me: failed program was:" >&5
15682 sed 's/^/| /' conftest.$ac_ext >&5
15684 ac_cv_lib_m_frexpf=no
15686 rm -f conftest.err conftest.$ac_objext \
15687 conftest$ac_exeext conftest.$ac_ext
15688 LIBS=$ac_check_lib_save_LIBS
15690 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
15691 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
15692 if test $ac_cv_lib_m_frexpf = yes; then
15694 cat >>confdefs.h <<\_ACEOF
15695 #define HAVE_FREXPF 1
15700 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
15701 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
15702 if test "${ac_cv_lib_m_frexp+set}" = set; then
15703 echo $ECHO_N "(cached) $ECHO_C" >&6
15705 ac_check_lib_save_LIBS=$LIBS
15707 if test x$gcc_no_link = xyes; then
15708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15710 { (exit 1); exit 1; }; }
15712 cat >conftest.$ac_ext <<_ACEOF
15715 cat confdefs.h >>conftest.$ac_ext
15716 cat >>conftest.$ac_ext <<_ACEOF
15717 /* end confdefs.h. */
15719 /* Override any gcc2 internal prototype to avoid an error. */
15723 /* We use char because int might match the return type of a gcc2
15724 builtin and then its argument prototype would still apply. */
15734 rm -f conftest.$ac_objext conftest$ac_exeext
15735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15736 (eval $ac_link) 2>conftest.er1
15738 grep -v '^ *+' conftest.er1 >conftest.err
15740 cat conftest.err >&5
15741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15742 (exit $ac_status); } &&
15743 { ac_try='test -z "$ac_c_werror_flag"
15744 || test ! -s conftest.err'
15745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15746 (eval $ac_try) 2>&5
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); }; } &&
15750 { ac_try='test -s conftest$ac_exeext'
15751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15752 (eval $ac_try) 2>&5
15754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15755 (exit $ac_status); }; }; then
15756 ac_cv_lib_m_frexp=yes
15758 echo "$as_me: failed program was:" >&5
15759 sed 's/^/| /' conftest.$ac_ext >&5
15761 ac_cv_lib_m_frexp=no
15763 rm -f conftest.err conftest.$ac_objext \
15764 conftest$ac_exeext conftest.$ac_ext
15765 LIBS=$ac_check_lib_save_LIBS
15767 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
15768 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
15769 if test $ac_cv_lib_m_frexp = yes; then
15771 cat >>confdefs.h <<\_ACEOF
15772 #define HAVE_FREXP 1
15777 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
15778 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
15779 if test "${ac_cv_lib_m_frexpl+set}" = set; then
15780 echo $ECHO_N "(cached) $ECHO_C" >&6
15782 ac_check_lib_save_LIBS=$LIBS
15784 if test x$gcc_no_link = xyes; then
15785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15787 { (exit 1); exit 1; }; }
15789 cat >conftest.$ac_ext <<_ACEOF
15792 cat confdefs.h >>conftest.$ac_ext
15793 cat >>conftest.$ac_ext <<_ACEOF
15794 /* end confdefs.h. */
15796 /* Override any gcc2 internal prototype to avoid an error. */
15800 /* We use char because int might match the return type of a gcc2
15801 builtin and then its argument prototype would still apply. */
15811 rm -f conftest.$ac_objext conftest$ac_exeext
15812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15813 (eval $ac_link) 2>conftest.er1
15815 grep -v '^ *+' conftest.er1 >conftest.err
15817 cat conftest.err >&5
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); } &&
15820 { ac_try='test -z "$ac_c_werror_flag"
15821 || test ! -s conftest.err'
15822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15823 (eval $ac_try) 2>&5
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); }; } &&
15827 { ac_try='test -s conftest$ac_exeext'
15828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15829 (eval $ac_try) 2>&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); }; }; then
15833 ac_cv_lib_m_frexpl=yes
15835 echo "$as_me: failed program was:" >&5
15836 sed 's/^/| /' conftest.$ac_ext >&5
15838 ac_cv_lib_m_frexpl=no
15840 rm -f conftest.err conftest.$ac_objext \
15841 conftest$ac_exeext conftest.$ac_ext
15842 LIBS=$ac_check_lib_save_LIBS
15844 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
15845 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
15846 if test $ac_cv_lib_m_frexpl = yes; then
15848 cat >>confdefs.h <<\_ACEOF
15849 #define HAVE_FREXPL 1
15854 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
15855 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
15856 if test "${ac_cv_lib_m_hypotf+set}" = set; then
15857 echo $ECHO_N "(cached) $ECHO_C" >&6
15859 ac_check_lib_save_LIBS=$LIBS
15861 if test x$gcc_no_link = xyes; then
15862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15864 { (exit 1); exit 1; }; }
15866 cat >conftest.$ac_ext <<_ACEOF
15869 cat confdefs.h >>conftest.$ac_ext
15870 cat >>conftest.$ac_ext <<_ACEOF
15871 /* end confdefs.h. */
15873 /* Override any gcc2 internal prototype to avoid an error. */
15877 /* We use char because int might match the return type of a gcc2
15878 builtin and then its argument prototype would still apply. */
15888 rm -f conftest.$ac_objext conftest$ac_exeext
15889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15890 (eval $ac_link) 2>conftest.er1
15892 grep -v '^ *+' conftest.er1 >conftest.err
15894 cat conftest.err >&5
15895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15896 (exit $ac_status); } &&
15897 { ac_try='test -z "$ac_c_werror_flag"
15898 || test ! -s conftest.err'
15899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15900 (eval $ac_try) 2>&5
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); }; } &&
15904 { ac_try='test -s conftest$ac_exeext'
15905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15906 (eval $ac_try) 2>&5
15908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15909 (exit $ac_status); }; }; then
15910 ac_cv_lib_m_hypotf=yes
15912 echo "$as_me: failed program was:" >&5
15913 sed 's/^/| /' conftest.$ac_ext >&5
15915 ac_cv_lib_m_hypotf=no
15917 rm -f conftest.err conftest.$ac_objext \
15918 conftest$ac_exeext conftest.$ac_ext
15919 LIBS=$ac_check_lib_save_LIBS
15921 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
15922 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
15923 if test $ac_cv_lib_m_hypotf = yes; then
15925 cat >>confdefs.h <<\_ACEOF
15926 #define HAVE_HYPOTF 1
15931 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
15932 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
15933 if test "${ac_cv_lib_m_hypot+set}" = set; then
15934 echo $ECHO_N "(cached) $ECHO_C" >&6
15936 ac_check_lib_save_LIBS=$LIBS
15938 if test x$gcc_no_link = xyes; then
15939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15941 { (exit 1); exit 1; }; }
15943 cat >conftest.$ac_ext <<_ACEOF
15946 cat confdefs.h >>conftest.$ac_ext
15947 cat >>conftest.$ac_ext <<_ACEOF
15948 /* end confdefs.h. */
15950 /* Override any gcc2 internal prototype to avoid an error. */
15954 /* We use char because int might match the return type of a gcc2
15955 builtin and then its argument prototype would still apply. */
15965 rm -f conftest.$ac_objext conftest$ac_exeext
15966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15967 (eval $ac_link) 2>conftest.er1
15969 grep -v '^ *+' conftest.er1 >conftest.err
15971 cat conftest.err >&5
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); } &&
15974 { ac_try='test -z "$ac_c_werror_flag"
15975 || test ! -s conftest.err'
15976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15977 (eval $ac_try) 2>&5
15979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15980 (exit $ac_status); }; } &&
15981 { ac_try='test -s conftest$ac_exeext'
15982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15983 (eval $ac_try) 2>&5
15985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15986 (exit $ac_status); }; }; then
15987 ac_cv_lib_m_hypot=yes
15989 echo "$as_me: failed program was:" >&5
15990 sed 's/^/| /' conftest.$ac_ext >&5
15992 ac_cv_lib_m_hypot=no
15994 rm -f conftest.err conftest.$ac_objext \
15995 conftest$ac_exeext conftest.$ac_ext
15996 LIBS=$ac_check_lib_save_LIBS
15998 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
15999 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
16000 if test $ac_cv_lib_m_hypot = yes; then
16002 cat >>confdefs.h <<\_ACEOF
16003 #define HAVE_HYPOT 1
16008 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
16009 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
16010 if test "${ac_cv_lib_m_hypotl+set}" = set; then
16011 echo $ECHO_N "(cached) $ECHO_C" >&6
16013 ac_check_lib_save_LIBS=$LIBS
16015 if test x$gcc_no_link = xyes; then
16016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16018 { (exit 1); exit 1; }; }
16020 cat >conftest.$ac_ext <<_ACEOF
16023 cat confdefs.h >>conftest.$ac_ext
16024 cat >>conftest.$ac_ext <<_ACEOF
16025 /* end confdefs.h. */
16027 /* Override any gcc2 internal prototype to avoid an error. */
16031 /* We use char because int might match the return type of a gcc2
16032 builtin and then its argument prototype would still apply. */
16042 rm -f conftest.$ac_objext conftest$ac_exeext
16043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16044 (eval $ac_link) 2>conftest.er1
16046 grep -v '^ *+' conftest.er1 >conftest.err
16048 cat conftest.err >&5
16049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16050 (exit $ac_status); } &&
16051 { ac_try='test -z "$ac_c_werror_flag"
16052 || test ! -s conftest.err'
16053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16054 (eval $ac_try) 2>&5
16056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16057 (exit $ac_status); }; } &&
16058 { ac_try='test -s conftest$ac_exeext'
16059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16060 (eval $ac_try) 2>&5
16062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16063 (exit $ac_status); }; }; then
16064 ac_cv_lib_m_hypotl=yes
16066 echo "$as_me: failed program was:" >&5
16067 sed 's/^/| /' conftest.$ac_ext >&5
16069 ac_cv_lib_m_hypotl=no
16071 rm -f conftest.err conftest.$ac_objext \
16072 conftest$ac_exeext conftest.$ac_ext
16073 LIBS=$ac_check_lib_save_LIBS
16075 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
16076 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
16077 if test $ac_cv_lib_m_hypotl = yes; then
16079 cat >>confdefs.h <<\_ACEOF
16080 #define HAVE_HYPOTL 1
16085 echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
16086 echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6
16087 if test "${ac_cv_lib_m_ldexpf+set}" = set; then
16088 echo $ECHO_N "(cached) $ECHO_C" >&6
16090 ac_check_lib_save_LIBS=$LIBS
16092 if test x$gcc_no_link = xyes; then
16093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16095 { (exit 1); exit 1; }; }
16097 cat >conftest.$ac_ext <<_ACEOF
16100 cat confdefs.h >>conftest.$ac_ext
16101 cat >>conftest.$ac_ext <<_ACEOF
16102 /* end confdefs.h. */
16104 /* Override any gcc2 internal prototype to avoid an error. */
16108 /* We use char because int might match the return type of a gcc2
16109 builtin and then its argument prototype would still apply. */
16119 rm -f conftest.$ac_objext conftest$ac_exeext
16120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16121 (eval $ac_link) 2>conftest.er1
16123 grep -v '^ *+' conftest.er1 >conftest.err
16125 cat conftest.err >&5
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); } &&
16128 { ac_try='test -z "$ac_c_werror_flag"
16129 || test ! -s conftest.err'
16130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16131 (eval $ac_try) 2>&5
16133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16134 (exit $ac_status); }; } &&
16135 { ac_try='test -s conftest$ac_exeext'
16136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16137 (eval $ac_try) 2>&5
16139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16140 (exit $ac_status); }; }; then
16141 ac_cv_lib_m_ldexpf=yes
16143 echo "$as_me: failed program was:" >&5
16144 sed 's/^/| /' conftest.$ac_ext >&5
16146 ac_cv_lib_m_ldexpf=no
16148 rm -f conftest.err conftest.$ac_objext \
16149 conftest$ac_exeext conftest.$ac_ext
16150 LIBS=$ac_check_lib_save_LIBS
16152 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
16153 echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6
16154 if test $ac_cv_lib_m_ldexpf = yes; then
16156 cat >>confdefs.h <<\_ACEOF
16157 #define HAVE_LDEXPF 1
16162 echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
16163 echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6
16164 if test "${ac_cv_lib_m_ldexp+set}" = set; then
16165 echo $ECHO_N "(cached) $ECHO_C" >&6
16167 ac_check_lib_save_LIBS=$LIBS
16169 if test x$gcc_no_link = xyes; then
16170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16172 { (exit 1); exit 1; }; }
16174 cat >conftest.$ac_ext <<_ACEOF
16177 cat confdefs.h >>conftest.$ac_ext
16178 cat >>conftest.$ac_ext <<_ACEOF
16179 /* end confdefs.h. */
16181 /* Override any gcc2 internal prototype to avoid an error. */
16185 /* We use char because int might match the return type of a gcc2
16186 builtin and then its argument prototype would still apply. */
16196 rm -f conftest.$ac_objext conftest$ac_exeext
16197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16198 (eval $ac_link) 2>conftest.er1
16200 grep -v '^ *+' conftest.er1 >conftest.err
16202 cat conftest.err >&5
16203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16204 (exit $ac_status); } &&
16205 { ac_try='test -z "$ac_c_werror_flag"
16206 || test ! -s conftest.err'
16207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16208 (eval $ac_try) 2>&5
16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); }; } &&
16212 { ac_try='test -s conftest$ac_exeext'
16213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16214 (eval $ac_try) 2>&5
16216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16217 (exit $ac_status); }; }; then
16218 ac_cv_lib_m_ldexp=yes
16220 echo "$as_me: failed program was:" >&5
16221 sed 's/^/| /' conftest.$ac_ext >&5
16223 ac_cv_lib_m_ldexp=no
16225 rm -f conftest.err conftest.$ac_objext \
16226 conftest$ac_exeext conftest.$ac_ext
16227 LIBS=$ac_check_lib_save_LIBS
16229 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
16230 echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6
16231 if test $ac_cv_lib_m_ldexp = yes; then
16233 cat >>confdefs.h <<\_ACEOF
16234 #define HAVE_LDEXP 1
16239 echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
16240 echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6
16241 if test "${ac_cv_lib_m_ldexpl+set}" = set; then
16242 echo $ECHO_N "(cached) $ECHO_C" >&6
16244 ac_check_lib_save_LIBS=$LIBS
16246 if test x$gcc_no_link = xyes; then
16247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16249 { (exit 1); exit 1; }; }
16251 cat >conftest.$ac_ext <<_ACEOF
16254 cat confdefs.h >>conftest.$ac_ext
16255 cat >>conftest.$ac_ext <<_ACEOF
16256 /* end confdefs.h. */
16258 /* Override any gcc2 internal prototype to avoid an error. */
16262 /* We use char because int might match the return type of a gcc2
16263 builtin and then its argument prototype would still apply. */
16273 rm -f conftest.$ac_objext conftest$ac_exeext
16274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16275 (eval $ac_link) 2>conftest.er1
16277 grep -v '^ *+' conftest.er1 >conftest.err
16279 cat conftest.err >&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); } &&
16282 { ac_try='test -z "$ac_c_werror_flag"
16283 || test ! -s conftest.err'
16284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16285 (eval $ac_try) 2>&5
16287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16288 (exit $ac_status); }; } &&
16289 { ac_try='test -s conftest$ac_exeext'
16290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16291 (eval $ac_try) 2>&5
16293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16294 (exit $ac_status); }; }; then
16295 ac_cv_lib_m_ldexpl=yes
16297 echo "$as_me: failed program was:" >&5
16298 sed 's/^/| /' conftest.$ac_ext >&5
16300 ac_cv_lib_m_ldexpl=no
16302 rm -f conftest.err conftest.$ac_objext \
16303 conftest$ac_exeext conftest.$ac_ext
16304 LIBS=$ac_check_lib_save_LIBS
16306 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
16307 echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6
16308 if test $ac_cv_lib_m_ldexpl = yes; then
16310 cat >>confdefs.h <<\_ACEOF
16311 #define HAVE_LDEXPL 1
16316 echo "$as_me:$LINENO: checking for logf in -lm" >&5
16317 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
16318 if test "${ac_cv_lib_m_logf+set}" = set; then
16319 echo $ECHO_N "(cached) $ECHO_C" >&6
16321 ac_check_lib_save_LIBS=$LIBS
16323 if test x$gcc_no_link = xyes; then
16324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16326 { (exit 1); exit 1; }; }
16328 cat >conftest.$ac_ext <<_ACEOF
16331 cat confdefs.h >>conftest.$ac_ext
16332 cat >>conftest.$ac_ext <<_ACEOF
16333 /* end confdefs.h. */
16335 /* Override any gcc2 internal prototype to avoid an error. */
16339 /* We use char because int might match the return type of a gcc2
16340 builtin and then its argument prototype would still apply. */
16350 rm -f conftest.$ac_objext conftest$ac_exeext
16351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16352 (eval $ac_link) 2>conftest.er1
16354 grep -v '^ *+' conftest.er1 >conftest.err
16356 cat conftest.err >&5
16357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16358 (exit $ac_status); } &&
16359 { ac_try='test -z "$ac_c_werror_flag"
16360 || test ! -s conftest.err'
16361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16362 (eval $ac_try) 2>&5
16364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16365 (exit $ac_status); }; } &&
16366 { ac_try='test -s conftest$ac_exeext'
16367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16368 (eval $ac_try) 2>&5
16370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16371 (exit $ac_status); }; }; then
16372 ac_cv_lib_m_logf=yes
16374 echo "$as_me: failed program was:" >&5
16375 sed 's/^/| /' conftest.$ac_ext >&5
16377 ac_cv_lib_m_logf=no
16379 rm -f conftest.err conftest.$ac_objext \
16380 conftest$ac_exeext conftest.$ac_ext
16381 LIBS=$ac_check_lib_save_LIBS
16383 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
16384 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
16385 if test $ac_cv_lib_m_logf = yes; then
16387 cat >>confdefs.h <<\_ACEOF
16388 #define HAVE_LOGF 1
16393 echo "$as_me:$LINENO: checking for log in -lm" >&5
16394 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
16395 if test "${ac_cv_lib_m_log+set}" = set; then
16396 echo $ECHO_N "(cached) $ECHO_C" >&6
16398 ac_check_lib_save_LIBS=$LIBS
16400 if test x$gcc_no_link = xyes; then
16401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16403 { (exit 1); exit 1; }; }
16405 cat >conftest.$ac_ext <<_ACEOF
16408 cat confdefs.h >>conftest.$ac_ext
16409 cat >>conftest.$ac_ext <<_ACEOF
16410 /* end confdefs.h. */
16412 /* Override any gcc2 internal prototype to avoid an error. */
16416 /* We use char because int might match the return type of a gcc2
16417 builtin and then its argument prototype would still apply. */
16427 rm -f conftest.$ac_objext conftest$ac_exeext
16428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16429 (eval $ac_link) 2>conftest.er1
16431 grep -v '^ *+' conftest.er1 >conftest.err
16433 cat conftest.err >&5
16434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16435 (exit $ac_status); } &&
16436 { ac_try='test -z "$ac_c_werror_flag"
16437 || test ! -s conftest.err'
16438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16439 (eval $ac_try) 2>&5
16441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16442 (exit $ac_status); }; } &&
16443 { ac_try='test -s conftest$ac_exeext'
16444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16445 (eval $ac_try) 2>&5
16447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16448 (exit $ac_status); }; }; then
16449 ac_cv_lib_m_log=yes
16451 echo "$as_me: failed program was:" >&5
16452 sed 's/^/| /' conftest.$ac_ext >&5
16456 rm -f conftest.err conftest.$ac_objext \
16457 conftest$ac_exeext conftest.$ac_ext
16458 LIBS=$ac_check_lib_save_LIBS
16460 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
16461 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
16462 if test $ac_cv_lib_m_log = yes; then
16464 cat >>confdefs.h <<\_ACEOF
16470 echo "$as_me:$LINENO: checking for logl in -lm" >&5
16471 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
16472 if test "${ac_cv_lib_m_logl+set}" = set; then
16473 echo $ECHO_N "(cached) $ECHO_C" >&6
16475 ac_check_lib_save_LIBS=$LIBS
16477 if test x$gcc_no_link = xyes; then
16478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16480 { (exit 1); exit 1; }; }
16482 cat >conftest.$ac_ext <<_ACEOF
16485 cat confdefs.h >>conftest.$ac_ext
16486 cat >>conftest.$ac_ext <<_ACEOF
16487 /* end confdefs.h. */
16489 /* Override any gcc2 internal prototype to avoid an error. */
16493 /* We use char because int might match the return type of a gcc2
16494 builtin and then its argument prototype would still apply. */
16504 rm -f conftest.$ac_objext conftest$ac_exeext
16505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16506 (eval $ac_link) 2>conftest.er1
16508 grep -v '^ *+' conftest.er1 >conftest.err
16510 cat conftest.err >&5
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); } &&
16513 { ac_try='test -z "$ac_c_werror_flag"
16514 || test ! -s conftest.err'
16515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16516 (eval $ac_try) 2>&5
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 (exit $ac_status); }; } &&
16520 { ac_try='test -s conftest$ac_exeext'
16521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16522 (eval $ac_try) 2>&5
16524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525 (exit $ac_status); }; }; then
16526 ac_cv_lib_m_logl=yes
16528 echo "$as_me: failed program was:" >&5
16529 sed 's/^/| /' conftest.$ac_ext >&5
16531 ac_cv_lib_m_logl=no
16533 rm -f conftest.err conftest.$ac_objext \
16534 conftest$ac_exeext conftest.$ac_ext
16535 LIBS=$ac_check_lib_save_LIBS
16537 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
16538 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
16539 if test $ac_cv_lib_m_logl = yes; then
16541 cat >>confdefs.h <<\_ACEOF
16542 #define HAVE_LOGL 1
16547 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
16548 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
16549 if test "${ac_cv_lib_m_clogf+set}" = set; then
16550 echo $ECHO_N "(cached) $ECHO_C" >&6
16552 ac_check_lib_save_LIBS=$LIBS
16554 if test x$gcc_no_link = xyes; then
16555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16557 { (exit 1); exit 1; }; }
16559 cat >conftest.$ac_ext <<_ACEOF
16562 cat confdefs.h >>conftest.$ac_ext
16563 cat >>conftest.$ac_ext <<_ACEOF
16564 /* end confdefs.h. */
16566 /* Override any gcc2 internal prototype to avoid an error. */
16570 /* We use char because int might match the return type of a gcc2
16571 builtin and then its argument prototype would still apply. */
16581 rm -f conftest.$ac_objext conftest$ac_exeext
16582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16583 (eval $ac_link) 2>conftest.er1
16585 grep -v '^ *+' conftest.er1 >conftest.err
16587 cat conftest.err >&5
16588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16589 (exit $ac_status); } &&
16590 { ac_try='test -z "$ac_c_werror_flag"
16591 || test ! -s conftest.err'
16592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16593 (eval $ac_try) 2>&5
16595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16596 (exit $ac_status); }; } &&
16597 { ac_try='test -s conftest$ac_exeext'
16598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16599 (eval $ac_try) 2>&5
16601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602 (exit $ac_status); }; }; then
16603 ac_cv_lib_m_clogf=yes
16605 echo "$as_me: failed program was:" >&5
16606 sed 's/^/| /' conftest.$ac_ext >&5
16608 ac_cv_lib_m_clogf=no
16610 rm -f conftest.err conftest.$ac_objext \
16611 conftest$ac_exeext conftest.$ac_ext
16612 LIBS=$ac_check_lib_save_LIBS
16614 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
16615 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
16616 if test $ac_cv_lib_m_clogf = yes; then
16618 cat >>confdefs.h <<\_ACEOF
16619 #define HAVE_CLOGF 1
16624 echo "$as_me:$LINENO: checking for clog in -lm" >&5
16625 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
16626 if test "${ac_cv_lib_m_clog+set}" = set; then
16627 echo $ECHO_N "(cached) $ECHO_C" >&6
16629 ac_check_lib_save_LIBS=$LIBS
16631 if test x$gcc_no_link = xyes; then
16632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16634 { (exit 1); exit 1; }; }
16636 cat >conftest.$ac_ext <<_ACEOF
16639 cat confdefs.h >>conftest.$ac_ext
16640 cat >>conftest.$ac_ext <<_ACEOF
16641 /* end confdefs.h. */
16643 /* Override any gcc2 internal prototype to avoid an error. */
16647 /* We use char because int might match the return type of a gcc2
16648 builtin and then its argument prototype would still apply. */
16658 rm -f conftest.$ac_objext conftest$ac_exeext
16659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16660 (eval $ac_link) 2>conftest.er1
16662 grep -v '^ *+' conftest.er1 >conftest.err
16664 cat conftest.err >&5
16665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666 (exit $ac_status); } &&
16667 { ac_try='test -z "$ac_c_werror_flag"
16668 || test ! -s conftest.err'
16669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16670 (eval $ac_try) 2>&5
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); }; } &&
16674 { ac_try='test -s conftest$ac_exeext'
16675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16676 (eval $ac_try) 2>&5
16678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16679 (exit $ac_status); }; }; then
16680 ac_cv_lib_m_clog=yes
16682 echo "$as_me: failed program was:" >&5
16683 sed 's/^/| /' conftest.$ac_ext >&5
16685 ac_cv_lib_m_clog=no
16687 rm -f conftest.err conftest.$ac_objext \
16688 conftest$ac_exeext conftest.$ac_ext
16689 LIBS=$ac_check_lib_save_LIBS
16691 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
16692 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
16693 if test $ac_cv_lib_m_clog = yes; then
16695 cat >>confdefs.h <<\_ACEOF
16696 #define HAVE_CLOG 1
16701 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
16702 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
16703 if test "${ac_cv_lib_m_clogl+set}" = set; then
16704 echo $ECHO_N "(cached) $ECHO_C" >&6
16706 ac_check_lib_save_LIBS=$LIBS
16708 if test x$gcc_no_link = xyes; then
16709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16711 { (exit 1); exit 1; }; }
16713 cat >conftest.$ac_ext <<_ACEOF
16716 cat confdefs.h >>conftest.$ac_ext
16717 cat >>conftest.$ac_ext <<_ACEOF
16718 /* end confdefs.h. */
16720 /* Override any gcc2 internal prototype to avoid an error. */
16724 /* We use char because int might match the return type of a gcc2
16725 builtin and then its argument prototype would still apply. */
16735 rm -f conftest.$ac_objext conftest$ac_exeext
16736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16737 (eval $ac_link) 2>conftest.er1
16739 grep -v '^ *+' conftest.er1 >conftest.err
16741 cat conftest.err >&5
16742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16743 (exit $ac_status); } &&
16744 { ac_try='test -z "$ac_c_werror_flag"
16745 || test ! -s conftest.err'
16746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16747 (eval $ac_try) 2>&5
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); }; } &&
16751 { ac_try='test -s conftest$ac_exeext'
16752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16753 (eval $ac_try) 2>&5
16755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16756 (exit $ac_status); }; }; then
16757 ac_cv_lib_m_clogl=yes
16759 echo "$as_me: failed program was:" >&5
16760 sed 's/^/| /' conftest.$ac_ext >&5
16762 ac_cv_lib_m_clogl=no
16764 rm -f conftest.err conftest.$ac_objext \
16765 conftest$ac_exeext conftest.$ac_ext
16766 LIBS=$ac_check_lib_save_LIBS
16768 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
16769 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
16770 if test $ac_cv_lib_m_clogl = yes; then
16772 cat >>confdefs.h <<\_ACEOF
16773 #define HAVE_CLOGL 1
16778 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
16779 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
16780 if test "${ac_cv_lib_m_log10f+set}" = set; then
16781 echo $ECHO_N "(cached) $ECHO_C" >&6
16783 ac_check_lib_save_LIBS=$LIBS
16785 if test x$gcc_no_link = xyes; then
16786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16788 { (exit 1); exit 1; }; }
16790 cat >conftest.$ac_ext <<_ACEOF
16793 cat confdefs.h >>conftest.$ac_ext
16794 cat >>conftest.$ac_ext <<_ACEOF
16795 /* end confdefs.h. */
16797 /* Override any gcc2 internal prototype to avoid an error. */
16801 /* We use char because int might match the return type of a gcc2
16802 builtin and then its argument prototype would still apply. */
16812 rm -f conftest.$ac_objext conftest$ac_exeext
16813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16814 (eval $ac_link) 2>conftest.er1
16816 grep -v '^ *+' conftest.er1 >conftest.err
16818 cat conftest.err >&5
16819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820 (exit $ac_status); } &&
16821 { ac_try='test -z "$ac_c_werror_flag"
16822 || test ! -s conftest.err'
16823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16824 (eval $ac_try) 2>&5
16826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16827 (exit $ac_status); }; } &&
16828 { ac_try='test -s conftest$ac_exeext'
16829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16830 (eval $ac_try) 2>&5
16832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16833 (exit $ac_status); }; }; then
16834 ac_cv_lib_m_log10f=yes
16836 echo "$as_me: failed program was:" >&5
16837 sed 's/^/| /' conftest.$ac_ext >&5
16839 ac_cv_lib_m_log10f=no
16841 rm -f conftest.err conftest.$ac_objext \
16842 conftest$ac_exeext conftest.$ac_ext
16843 LIBS=$ac_check_lib_save_LIBS
16845 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
16846 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
16847 if test $ac_cv_lib_m_log10f = yes; then
16849 cat >>confdefs.h <<\_ACEOF
16850 #define HAVE_LOG10F 1
16855 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
16856 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
16857 if test "${ac_cv_lib_m_log10+set}" = set; then
16858 echo $ECHO_N "(cached) $ECHO_C" >&6
16860 ac_check_lib_save_LIBS=$LIBS
16862 if test x$gcc_no_link = xyes; then
16863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16865 { (exit 1); exit 1; }; }
16867 cat >conftest.$ac_ext <<_ACEOF
16870 cat confdefs.h >>conftest.$ac_ext
16871 cat >>conftest.$ac_ext <<_ACEOF
16872 /* end confdefs.h. */
16874 /* Override any gcc2 internal prototype to avoid an error. */
16878 /* We use char because int might match the return type of a gcc2
16879 builtin and then its argument prototype would still apply. */
16889 rm -f conftest.$ac_objext conftest$ac_exeext
16890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16891 (eval $ac_link) 2>conftest.er1
16893 grep -v '^ *+' conftest.er1 >conftest.err
16895 cat conftest.err >&5
16896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897 (exit $ac_status); } &&
16898 { ac_try='test -z "$ac_c_werror_flag"
16899 || test ! -s conftest.err'
16900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16901 (eval $ac_try) 2>&5
16903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16904 (exit $ac_status); }; } &&
16905 { ac_try='test -s conftest$ac_exeext'
16906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16907 (eval $ac_try) 2>&5
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); }; }; then
16911 ac_cv_lib_m_log10=yes
16913 echo "$as_me: failed program was:" >&5
16914 sed 's/^/| /' conftest.$ac_ext >&5
16916 ac_cv_lib_m_log10=no
16918 rm -f conftest.err conftest.$ac_objext \
16919 conftest$ac_exeext conftest.$ac_ext
16920 LIBS=$ac_check_lib_save_LIBS
16922 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
16923 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
16924 if test $ac_cv_lib_m_log10 = yes; then
16926 cat >>confdefs.h <<\_ACEOF
16927 #define HAVE_LOG10 1
16932 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
16933 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
16934 if test "${ac_cv_lib_m_log10l+set}" = set; then
16935 echo $ECHO_N "(cached) $ECHO_C" >&6
16937 ac_check_lib_save_LIBS=$LIBS
16939 if test x$gcc_no_link = xyes; then
16940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16942 { (exit 1); exit 1; }; }
16944 cat >conftest.$ac_ext <<_ACEOF
16947 cat confdefs.h >>conftest.$ac_ext
16948 cat >>conftest.$ac_ext <<_ACEOF
16949 /* end confdefs.h. */
16951 /* Override any gcc2 internal prototype to avoid an error. */
16955 /* We use char because int might match the return type of a gcc2
16956 builtin and then its argument prototype would still apply. */
16966 rm -f conftest.$ac_objext conftest$ac_exeext
16967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16968 (eval $ac_link) 2>conftest.er1
16970 grep -v '^ *+' conftest.er1 >conftest.err
16972 cat conftest.err >&5
16973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974 (exit $ac_status); } &&
16975 { ac_try='test -z "$ac_c_werror_flag"
16976 || test ! -s conftest.err'
16977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16978 (eval $ac_try) 2>&5
16980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981 (exit $ac_status); }; } &&
16982 { ac_try='test -s conftest$ac_exeext'
16983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16984 (eval $ac_try) 2>&5
16986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16987 (exit $ac_status); }; }; then
16988 ac_cv_lib_m_log10l=yes
16990 echo "$as_me: failed program was:" >&5
16991 sed 's/^/| /' conftest.$ac_ext >&5
16993 ac_cv_lib_m_log10l=no
16995 rm -f conftest.err conftest.$ac_objext \
16996 conftest$ac_exeext conftest.$ac_ext
16997 LIBS=$ac_check_lib_save_LIBS
16999 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
17000 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
17001 if test $ac_cv_lib_m_log10l = yes; then
17003 cat >>confdefs.h <<\_ACEOF
17004 #define HAVE_LOG10L 1
17009 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
17010 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
17011 if test "${ac_cv_lib_m_clog10f+set}" = set; then
17012 echo $ECHO_N "(cached) $ECHO_C" >&6
17014 ac_check_lib_save_LIBS=$LIBS
17016 if test x$gcc_no_link = xyes; then
17017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17019 { (exit 1); exit 1; }; }
17021 cat >conftest.$ac_ext <<_ACEOF
17024 cat confdefs.h >>conftest.$ac_ext
17025 cat >>conftest.$ac_ext <<_ACEOF
17026 /* end confdefs.h. */
17028 /* Override any gcc2 internal prototype to avoid an error. */
17032 /* We use char because int might match the return type of a gcc2
17033 builtin and then its argument prototype would still apply. */
17043 rm -f conftest.$ac_objext conftest$ac_exeext
17044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17045 (eval $ac_link) 2>conftest.er1
17047 grep -v '^ *+' conftest.er1 >conftest.err
17049 cat conftest.err >&5
17050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17051 (exit $ac_status); } &&
17052 { ac_try='test -z "$ac_c_werror_flag"
17053 || test ! -s conftest.err'
17054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17055 (eval $ac_try) 2>&5
17057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17058 (exit $ac_status); }; } &&
17059 { ac_try='test -s conftest$ac_exeext'
17060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17061 (eval $ac_try) 2>&5
17063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17064 (exit $ac_status); }; }; then
17065 ac_cv_lib_m_clog10f=yes
17067 echo "$as_me: failed program was:" >&5
17068 sed 's/^/| /' conftest.$ac_ext >&5
17070 ac_cv_lib_m_clog10f=no
17072 rm -f conftest.err conftest.$ac_objext \
17073 conftest$ac_exeext conftest.$ac_ext
17074 LIBS=$ac_check_lib_save_LIBS
17076 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
17077 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
17078 if test $ac_cv_lib_m_clog10f = yes; then
17080 cat >>confdefs.h <<\_ACEOF
17081 #define HAVE_CLOG10F 1
17086 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
17087 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
17088 if test "${ac_cv_lib_m_clog10+set}" = set; then
17089 echo $ECHO_N "(cached) $ECHO_C" >&6
17091 ac_check_lib_save_LIBS=$LIBS
17093 if test x$gcc_no_link = xyes; then
17094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17096 { (exit 1); exit 1; }; }
17098 cat >conftest.$ac_ext <<_ACEOF
17101 cat confdefs.h >>conftest.$ac_ext
17102 cat >>conftest.$ac_ext <<_ACEOF
17103 /* end confdefs.h. */
17105 /* Override any gcc2 internal prototype to avoid an error. */
17109 /* We use char because int might match the return type of a gcc2
17110 builtin and then its argument prototype would still apply. */
17120 rm -f conftest.$ac_objext conftest$ac_exeext
17121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17122 (eval $ac_link) 2>conftest.er1
17124 grep -v '^ *+' conftest.er1 >conftest.err
17126 cat conftest.err >&5
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); } &&
17129 { ac_try='test -z "$ac_c_werror_flag"
17130 || test ! -s conftest.err'
17131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17132 (eval $ac_try) 2>&5
17134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17135 (exit $ac_status); }; } &&
17136 { ac_try='test -s conftest$ac_exeext'
17137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17138 (eval $ac_try) 2>&5
17140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17141 (exit $ac_status); }; }; then
17142 ac_cv_lib_m_clog10=yes
17144 echo "$as_me: failed program was:" >&5
17145 sed 's/^/| /' conftest.$ac_ext >&5
17147 ac_cv_lib_m_clog10=no
17149 rm -f conftest.err conftest.$ac_objext \
17150 conftest$ac_exeext conftest.$ac_ext
17151 LIBS=$ac_check_lib_save_LIBS
17153 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
17154 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
17155 if test $ac_cv_lib_m_clog10 = yes; then
17157 cat >>confdefs.h <<\_ACEOF
17158 #define HAVE_CLOG10 1
17163 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
17164 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
17165 if test "${ac_cv_lib_m_clog10l+set}" = set; then
17166 echo $ECHO_N "(cached) $ECHO_C" >&6
17168 ac_check_lib_save_LIBS=$LIBS
17170 if test x$gcc_no_link = xyes; then
17171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17173 { (exit 1); exit 1; }; }
17175 cat >conftest.$ac_ext <<_ACEOF
17178 cat confdefs.h >>conftest.$ac_ext
17179 cat >>conftest.$ac_ext <<_ACEOF
17180 /* end confdefs.h. */
17182 /* Override any gcc2 internal prototype to avoid an error. */
17186 /* We use char because int might match the return type of a gcc2
17187 builtin and then its argument prototype would still apply. */
17197 rm -f conftest.$ac_objext conftest$ac_exeext
17198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17199 (eval $ac_link) 2>conftest.er1
17201 grep -v '^ *+' conftest.er1 >conftest.err
17203 cat conftest.err >&5
17204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17205 (exit $ac_status); } &&
17206 { ac_try='test -z "$ac_c_werror_flag"
17207 || test ! -s conftest.err'
17208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17209 (eval $ac_try) 2>&5
17211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17212 (exit $ac_status); }; } &&
17213 { ac_try='test -s conftest$ac_exeext'
17214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17215 (eval $ac_try) 2>&5
17217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17218 (exit $ac_status); }; }; then
17219 ac_cv_lib_m_clog10l=yes
17221 echo "$as_me: failed program was:" >&5
17222 sed 's/^/| /' conftest.$ac_ext >&5
17224 ac_cv_lib_m_clog10l=no
17226 rm -f conftest.err conftest.$ac_objext \
17227 conftest$ac_exeext conftest.$ac_ext
17228 LIBS=$ac_check_lib_save_LIBS
17230 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
17231 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
17232 if test $ac_cv_lib_m_clog10l = yes; then
17234 cat >>confdefs.h <<\_ACEOF
17235 #define HAVE_CLOG10L 1
17240 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
17241 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
17242 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
17243 echo $ECHO_N "(cached) $ECHO_C" >&6
17245 ac_check_lib_save_LIBS=$LIBS
17247 if test x$gcc_no_link = xyes; then
17248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17250 { (exit 1); exit 1; }; }
17252 cat >conftest.$ac_ext <<_ACEOF
17255 cat confdefs.h >>conftest.$ac_ext
17256 cat >>conftest.$ac_ext <<_ACEOF
17257 /* end confdefs.h. */
17259 /* Override any gcc2 internal prototype to avoid an error. */
17263 /* We use char because int might match the return type of a gcc2
17264 builtin and then its argument prototype would still apply. */
17265 char nextafterf ();
17274 rm -f conftest.$ac_objext conftest$ac_exeext
17275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17276 (eval $ac_link) 2>conftest.er1
17278 grep -v '^ *+' conftest.er1 >conftest.err
17280 cat conftest.err >&5
17281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17282 (exit $ac_status); } &&
17283 { ac_try='test -z "$ac_c_werror_flag"
17284 || test ! -s conftest.err'
17285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17286 (eval $ac_try) 2>&5
17288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17289 (exit $ac_status); }; } &&
17290 { ac_try='test -s conftest$ac_exeext'
17291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17292 (eval $ac_try) 2>&5
17294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295 (exit $ac_status); }; }; then
17296 ac_cv_lib_m_nextafterf=yes
17298 echo "$as_me: failed program was:" >&5
17299 sed 's/^/| /' conftest.$ac_ext >&5
17301 ac_cv_lib_m_nextafterf=no
17303 rm -f conftest.err conftest.$ac_objext \
17304 conftest$ac_exeext conftest.$ac_ext
17305 LIBS=$ac_check_lib_save_LIBS
17307 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
17308 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
17309 if test $ac_cv_lib_m_nextafterf = yes; then
17311 cat >>confdefs.h <<\_ACEOF
17312 #define HAVE_NEXTAFTERF 1
17317 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
17318 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
17319 if test "${ac_cv_lib_m_nextafter+set}" = set; then
17320 echo $ECHO_N "(cached) $ECHO_C" >&6
17322 ac_check_lib_save_LIBS=$LIBS
17324 if test x$gcc_no_link = xyes; then
17325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17327 { (exit 1); exit 1; }; }
17329 cat >conftest.$ac_ext <<_ACEOF
17332 cat confdefs.h >>conftest.$ac_ext
17333 cat >>conftest.$ac_ext <<_ACEOF
17334 /* end confdefs.h. */
17336 /* Override any gcc2 internal prototype to avoid an error. */
17340 /* We use char because int might match the return type of a gcc2
17341 builtin and then its argument prototype would still apply. */
17351 rm -f conftest.$ac_objext conftest$ac_exeext
17352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17353 (eval $ac_link) 2>conftest.er1
17355 grep -v '^ *+' conftest.er1 >conftest.err
17357 cat conftest.err >&5
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); } &&
17360 { ac_try='test -z "$ac_c_werror_flag"
17361 || test ! -s conftest.err'
17362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17363 (eval $ac_try) 2>&5
17365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17366 (exit $ac_status); }; } &&
17367 { ac_try='test -s conftest$ac_exeext'
17368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17369 (eval $ac_try) 2>&5
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); }; }; then
17373 ac_cv_lib_m_nextafter=yes
17375 echo "$as_me: failed program was:" >&5
17376 sed 's/^/| /' conftest.$ac_ext >&5
17378 ac_cv_lib_m_nextafter=no
17380 rm -f conftest.err conftest.$ac_objext \
17381 conftest$ac_exeext conftest.$ac_ext
17382 LIBS=$ac_check_lib_save_LIBS
17384 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
17385 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
17386 if test $ac_cv_lib_m_nextafter = yes; then
17388 cat >>confdefs.h <<\_ACEOF
17389 #define HAVE_NEXTAFTER 1
17394 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
17395 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
17396 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
17397 echo $ECHO_N "(cached) $ECHO_C" >&6
17399 ac_check_lib_save_LIBS=$LIBS
17401 if test x$gcc_no_link = xyes; then
17402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17404 { (exit 1); exit 1; }; }
17406 cat >conftest.$ac_ext <<_ACEOF
17409 cat confdefs.h >>conftest.$ac_ext
17410 cat >>conftest.$ac_ext <<_ACEOF
17411 /* end confdefs.h. */
17413 /* Override any gcc2 internal prototype to avoid an error. */
17417 /* We use char because int might match the return type of a gcc2
17418 builtin and then its argument prototype would still apply. */
17419 char nextafterl ();
17428 rm -f conftest.$ac_objext conftest$ac_exeext
17429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17430 (eval $ac_link) 2>conftest.er1
17432 grep -v '^ *+' conftest.er1 >conftest.err
17434 cat conftest.err >&5
17435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436 (exit $ac_status); } &&
17437 { ac_try='test -z "$ac_c_werror_flag"
17438 || test ! -s conftest.err'
17439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17440 (eval $ac_try) 2>&5
17442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17443 (exit $ac_status); }; } &&
17444 { ac_try='test -s conftest$ac_exeext'
17445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17446 (eval $ac_try) 2>&5
17448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17449 (exit $ac_status); }; }; then
17450 ac_cv_lib_m_nextafterl=yes
17452 echo "$as_me: failed program was:" >&5
17453 sed 's/^/| /' conftest.$ac_ext >&5
17455 ac_cv_lib_m_nextafterl=no
17457 rm -f conftest.err conftest.$ac_objext \
17458 conftest$ac_exeext conftest.$ac_ext
17459 LIBS=$ac_check_lib_save_LIBS
17461 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
17462 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
17463 if test $ac_cv_lib_m_nextafterl = yes; then
17465 cat >>confdefs.h <<\_ACEOF
17466 #define HAVE_NEXTAFTERL 1
17471 echo "$as_me:$LINENO: checking for powf in -lm" >&5
17472 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
17473 if test "${ac_cv_lib_m_powf+set}" = set; then
17474 echo $ECHO_N "(cached) $ECHO_C" >&6
17476 ac_check_lib_save_LIBS=$LIBS
17478 if test x$gcc_no_link = xyes; then
17479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17481 { (exit 1); exit 1; }; }
17483 cat >conftest.$ac_ext <<_ACEOF
17486 cat confdefs.h >>conftest.$ac_ext
17487 cat >>conftest.$ac_ext <<_ACEOF
17488 /* end confdefs.h. */
17490 /* Override any gcc2 internal prototype to avoid an error. */
17494 /* We use char because int might match the return type of a gcc2
17495 builtin and then its argument prototype would still apply. */
17505 rm -f conftest.$ac_objext conftest$ac_exeext
17506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17507 (eval $ac_link) 2>conftest.er1
17509 grep -v '^ *+' conftest.er1 >conftest.err
17511 cat conftest.err >&5
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); } &&
17514 { ac_try='test -z "$ac_c_werror_flag"
17515 || test ! -s conftest.err'
17516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17517 (eval $ac_try) 2>&5
17519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17520 (exit $ac_status); }; } &&
17521 { ac_try='test -s conftest$ac_exeext'
17522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17523 (eval $ac_try) 2>&5
17525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17526 (exit $ac_status); }; }; then
17527 ac_cv_lib_m_powf=yes
17529 echo "$as_me: failed program was:" >&5
17530 sed 's/^/| /' conftest.$ac_ext >&5
17532 ac_cv_lib_m_powf=no
17534 rm -f conftest.err conftest.$ac_objext \
17535 conftest$ac_exeext conftest.$ac_ext
17536 LIBS=$ac_check_lib_save_LIBS
17538 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
17539 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
17540 if test $ac_cv_lib_m_powf = yes; then
17542 cat >>confdefs.h <<\_ACEOF
17543 #define HAVE_POWF 1
17548 echo "$as_me:$LINENO: checking for pow in -lm" >&5
17549 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
17550 if test "${ac_cv_lib_m_pow+set}" = set; then
17551 echo $ECHO_N "(cached) $ECHO_C" >&6
17553 ac_check_lib_save_LIBS=$LIBS
17555 if test x$gcc_no_link = xyes; then
17556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17558 { (exit 1); exit 1; }; }
17560 cat >conftest.$ac_ext <<_ACEOF
17563 cat confdefs.h >>conftest.$ac_ext
17564 cat >>conftest.$ac_ext <<_ACEOF
17565 /* end confdefs.h. */
17567 /* Override any gcc2 internal prototype to avoid an error. */
17571 /* We use char because int might match the return type of a gcc2
17572 builtin and then its argument prototype would still apply. */
17582 rm -f conftest.$ac_objext conftest$ac_exeext
17583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17584 (eval $ac_link) 2>conftest.er1
17586 grep -v '^ *+' conftest.er1 >conftest.err
17588 cat conftest.err >&5
17589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17590 (exit $ac_status); } &&
17591 { ac_try='test -z "$ac_c_werror_flag"
17592 || test ! -s conftest.err'
17593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17594 (eval $ac_try) 2>&5
17596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17597 (exit $ac_status); }; } &&
17598 { ac_try='test -s conftest$ac_exeext'
17599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17600 (eval $ac_try) 2>&5
17602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17603 (exit $ac_status); }; }; then
17604 ac_cv_lib_m_pow=yes
17606 echo "$as_me: failed program was:" >&5
17607 sed 's/^/| /' conftest.$ac_ext >&5
17611 rm -f conftest.err conftest.$ac_objext \
17612 conftest$ac_exeext conftest.$ac_ext
17613 LIBS=$ac_check_lib_save_LIBS
17615 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
17616 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
17617 if test $ac_cv_lib_m_pow = yes; then
17619 cat >>confdefs.h <<\_ACEOF
17625 echo "$as_me:$LINENO: checking for powl in -lm" >&5
17626 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
17627 if test "${ac_cv_lib_m_powl+set}" = set; then
17628 echo $ECHO_N "(cached) $ECHO_C" >&6
17630 ac_check_lib_save_LIBS=$LIBS
17632 if test x$gcc_no_link = xyes; then
17633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17635 { (exit 1); exit 1; }; }
17637 cat >conftest.$ac_ext <<_ACEOF
17640 cat confdefs.h >>conftest.$ac_ext
17641 cat >>conftest.$ac_ext <<_ACEOF
17642 /* end confdefs.h. */
17644 /* Override any gcc2 internal prototype to avoid an error. */
17648 /* We use char because int might match the return type of a gcc2
17649 builtin and then its argument prototype would still apply. */
17659 rm -f conftest.$ac_objext conftest$ac_exeext
17660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17661 (eval $ac_link) 2>conftest.er1
17663 grep -v '^ *+' conftest.er1 >conftest.err
17665 cat conftest.err >&5
17666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17667 (exit $ac_status); } &&
17668 { ac_try='test -z "$ac_c_werror_flag"
17669 || test ! -s conftest.err'
17670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17671 (eval $ac_try) 2>&5
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); }; } &&
17675 { ac_try='test -s conftest$ac_exeext'
17676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17677 (eval $ac_try) 2>&5
17679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680 (exit $ac_status); }; }; then
17681 ac_cv_lib_m_powl=yes
17683 echo "$as_me: failed program was:" >&5
17684 sed 's/^/| /' conftest.$ac_ext >&5
17686 ac_cv_lib_m_powl=no
17688 rm -f conftest.err conftest.$ac_objext \
17689 conftest$ac_exeext conftest.$ac_ext
17690 LIBS=$ac_check_lib_save_LIBS
17692 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
17693 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
17694 if test $ac_cv_lib_m_powl = yes; then
17696 cat >>confdefs.h <<\_ACEOF
17697 #define HAVE_POWL 1
17702 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
17703 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
17704 if test "${ac_cv_lib_m_cpowf+set}" = set; then
17705 echo $ECHO_N "(cached) $ECHO_C" >&6
17707 ac_check_lib_save_LIBS=$LIBS
17709 if test x$gcc_no_link = xyes; then
17710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17712 { (exit 1); exit 1; }; }
17714 cat >conftest.$ac_ext <<_ACEOF
17717 cat confdefs.h >>conftest.$ac_ext
17718 cat >>conftest.$ac_ext <<_ACEOF
17719 /* end confdefs.h. */
17721 /* Override any gcc2 internal prototype to avoid an error. */
17725 /* We use char because int might match the return type of a gcc2
17726 builtin and then its argument prototype would still apply. */
17736 rm -f conftest.$ac_objext conftest$ac_exeext
17737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17738 (eval $ac_link) 2>conftest.er1
17740 grep -v '^ *+' conftest.er1 >conftest.err
17742 cat conftest.err >&5
17743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17744 (exit $ac_status); } &&
17745 { ac_try='test -z "$ac_c_werror_flag"
17746 || test ! -s conftest.err'
17747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17748 (eval $ac_try) 2>&5
17750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751 (exit $ac_status); }; } &&
17752 { ac_try='test -s conftest$ac_exeext'
17753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17754 (eval $ac_try) 2>&5
17756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757 (exit $ac_status); }; }; then
17758 ac_cv_lib_m_cpowf=yes
17760 echo "$as_me: failed program was:" >&5
17761 sed 's/^/| /' conftest.$ac_ext >&5
17763 ac_cv_lib_m_cpowf=no
17765 rm -f conftest.err conftest.$ac_objext \
17766 conftest$ac_exeext conftest.$ac_ext
17767 LIBS=$ac_check_lib_save_LIBS
17769 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
17770 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
17771 if test $ac_cv_lib_m_cpowf = yes; then
17773 cat >>confdefs.h <<\_ACEOF
17774 #define HAVE_CPOWF 1
17779 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
17780 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
17781 if test "${ac_cv_lib_m_cpow+set}" = set; then
17782 echo $ECHO_N "(cached) $ECHO_C" >&6
17784 ac_check_lib_save_LIBS=$LIBS
17786 if test x$gcc_no_link = xyes; then
17787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17789 { (exit 1); exit 1; }; }
17791 cat >conftest.$ac_ext <<_ACEOF
17794 cat confdefs.h >>conftest.$ac_ext
17795 cat >>conftest.$ac_ext <<_ACEOF
17796 /* end confdefs.h. */
17798 /* Override any gcc2 internal prototype to avoid an error. */
17802 /* We use char because int might match the return type of a gcc2
17803 builtin and then its argument prototype would still apply. */
17813 rm -f conftest.$ac_objext conftest$ac_exeext
17814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17815 (eval $ac_link) 2>conftest.er1
17817 grep -v '^ *+' conftest.er1 >conftest.err
17819 cat conftest.err >&5
17820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17821 (exit $ac_status); } &&
17822 { ac_try='test -z "$ac_c_werror_flag"
17823 || test ! -s conftest.err'
17824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17825 (eval $ac_try) 2>&5
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); }; } &&
17829 { ac_try='test -s conftest$ac_exeext'
17830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17831 (eval $ac_try) 2>&5
17833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17834 (exit $ac_status); }; }; then
17835 ac_cv_lib_m_cpow=yes
17837 echo "$as_me: failed program was:" >&5
17838 sed 's/^/| /' conftest.$ac_ext >&5
17840 ac_cv_lib_m_cpow=no
17842 rm -f conftest.err conftest.$ac_objext \
17843 conftest$ac_exeext conftest.$ac_ext
17844 LIBS=$ac_check_lib_save_LIBS
17846 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
17847 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
17848 if test $ac_cv_lib_m_cpow = yes; then
17850 cat >>confdefs.h <<\_ACEOF
17851 #define HAVE_CPOW 1
17856 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
17857 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
17858 if test "${ac_cv_lib_m_cpowl+set}" = set; then
17859 echo $ECHO_N "(cached) $ECHO_C" >&6
17861 ac_check_lib_save_LIBS=$LIBS
17863 if test x$gcc_no_link = xyes; then
17864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17866 { (exit 1); exit 1; }; }
17868 cat >conftest.$ac_ext <<_ACEOF
17871 cat confdefs.h >>conftest.$ac_ext
17872 cat >>conftest.$ac_ext <<_ACEOF
17873 /* end confdefs.h. */
17875 /* Override any gcc2 internal prototype to avoid an error. */
17879 /* We use char because int might match the return type of a gcc2
17880 builtin and then its argument prototype would still apply. */
17890 rm -f conftest.$ac_objext conftest$ac_exeext
17891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17892 (eval $ac_link) 2>conftest.er1
17894 grep -v '^ *+' conftest.er1 >conftest.err
17896 cat conftest.err >&5
17897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17898 (exit $ac_status); } &&
17899 { ac_try='test -z "$ac_c_werror_flag"
17900 || test ! -s conftest.err'
17901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17902 (eval $ac_try) 2>&5
17904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905 (exit $ac_status); }; } &&
17906 { ac_try='test -s conftest$ac_exeext'
17907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17908 (eval $ac_try) 2>&5
17910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911 (exit $ac_status); }; }; then
17912 ac_cv_lib_m_cpowl=yes
17914 echo "$as_me: failed program was:" >&5
17915 sed 's/^/| /' conftest.$ac_ext >&5
17917 ac_cv_lib_m_cpowl=no
17919 rm -f conftest.err conftest.$ac_objext \
17920 conftest$ac_exeext conftest.$ac_ext
17921 LIBS=$ac_check_lib_save_LIBS
17923 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
17924 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
17925 if test $ac_cv_lib_m_cpowl = yes; then
17927 cat >>confdefs.h <<\_ACEOF
17928 #define HAVE_CPOWL 1
17933 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
17934 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
17935 if test "${ac_cv_lib_m_roundf+set}" = set; then
17936 echo $ECHO_N "(cached) $ECHO_C" >&6
17938 ac_check_lib_save_LIBS=$LIBS
17940 if test x$gcc_no_link = xyes; then
17941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17943 { (exit 1); exit 1; }; }
17945 cat >conftest.$ac_ext <<_ACEOF
17948 cat confdefs.h >>conftest.$ac_ext
17949 cat >>conftest.$ac_ext <<_ACEOF
17950 /* end confdefs.h. */
17952 /* Override any gcc2 internal prototype to avoid an error. */
17956 /* We use char because int might match the return type of a gcc2
17957 builtin and then its argument prototype would still apply. */
17967 rm -f conftest.$ac_objext conftest$ac_exeext
17968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17969 (eval $ac_link) 2>conftest.er1
17971 grep -v '^ *+' conftest.er1 >conftest.err
17973 cat conftest.err >&5
17974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975 (exit $ac_status); } &&
17976 { ac_try='test -z "$ac_c_werror_flag"
17977 || test ! -s conftest.err'
17978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17979 (eval $ac_try) 2>&5
17981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17982 (exit $ac_status); }; } &&
17983 { ac_try='test -s conftest$ac_exeext'
17984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17985 (eval $ac_try) 2>&5
17987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17988 (exit $ac_status); }; }; then
17989 ac_cv_lib_m_roundf=yes
17991 echo "$as_me: failed program was:" >&5
17992 sed 's/^/| /' conftest.$ac_ext >&5
17994 ac_cv_lib_m_roundf=no
17996 rm -f conftest.err conftest.$ac_objext \
17997 conftest$ac_exeext conftest.$ac_ext
17998 LIBS=$ac_check_lib_save_LIBS
18000 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
18001 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
18002 if test $ac_cv_lib_m_roundf = yes; then
18004 cat >>confdefs.h <<\_ACEOF
18005 #define HAVE_ROUNDF 1
18010 echo "$as_me:$LINENO: checking for round in -lm" >&5
18011 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
18012 if test "${ac_cv_lib_m_round+set}" = set; then
18013 echo $ECHO_N "(cached) $ECHO_C" >&6
18015 ac_check_lib_save_LIBS=$LIBS
18017 if test x$gcc_no_link = xyes; then
18018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18020 { (exit 1); exit 1; }; }
18022 cat >conftest.$ac_ext <<_ACEOF
18025 cat confdefs.h >>conftest.$ac_ext
18026 cat >>conftest.$ac_ext <<_ACEOF
18027 /* end confdefs.h. */
18029 /* Override any gcc2 internal prototype to avoid an error. */
18033 /* We use char because int might match the return type of a gcc2
18034 builtin and then its argument prototype would still apply. */
18044 rm -f conftest.$ac_objext conftest$ac_exeext
18045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18046 (eval $ac_link) 2>conftest.er1
18048 grep -v '^ *+' conftest.er1 >conftest.err
18050 cat conftest.err >&5
18051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18052 (exit $ac_status); } &&
18053 { ac_try='test -z "$ac_c_werror_flag"
18054 || test ! -s conftest.err'
18055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18056 (eval $ac_try) 2>&5
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); }; } &&
18060 { ac_try='test -s conftest$ac_exeext'
18061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18062 (eval $ac_try) 2>&5
18064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18065 (exit $ac_status); }; }; then
18066 ac_cv_lib_m_round=yes
18068 echo "$as_me: failed program was:" >&5
18069 sed 's/^/| /' conftest.$ac_ext >&5
18071 ac_cv_lib_m_round=no
18073 rm -f conftest.err conftest.$ac_objext \
18074 conftest$ac_exeext conftest.$ac_ext
18075 LIBS=$ac_check_lib_save_LIBS
18077 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
18078 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
18079 if test $ac_cv_lib_m_round = yes; then
18081 cat >>confdefs.h <<\_ACEOF
18082 #define HAVE_ROUND 1
18087 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
18088 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
18089 if test "${ac_cv_lib_m_roundl+set}" = set; then
18090 echo $ECHO_N "(cached) $ECHO_C" >&6
18092 ac_check_lib_save_LIBS=$LIBS
18094 if test x$gcc_no_link = xyes; then
18095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18097 { (exit 1); exit 1; }; }
18099 cat >conftest.$ac_ext <<_ACEOF
18102 cat confdefs.h >>conftest.$ac_ext
18103 cat >>conftest.$ac_ext <<_ACEOF
18104 /* end confdefs.h. */
18106 /* Override any gcc2 internal prototype to avoid an error. */
18110 /* We use char because int might match the return type of a gcc2
18111 builtin and then its argument prototype would still apply. */
18121 rm -f conftest.$ac_objext conftest$ac_exeext
18122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18123 (eval $ac_link) 2>conftest.er1
18125 grep -v '^ *+' conftest.er1 >conftest.err
18127 cat conftest.err >&5
18128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18129 (exit $ac_status); } &&
18130 { ac_try='test -z "$ac_c_werror_flag"
18131 || test ! -s conftest.err'
18132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18133 (eval $ac_try) 2>&5
18135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18136 (exit $ac_status); }; } &&
18137 { ac_try='test -s conftest$ac_exeext'
18138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18139 (eval $ac_try) 2>&5
18141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18142 (exit $ac_status); }; }; then
18143 ac_cv_lib_m_roundl=yes
18145 echo "$as_me: failed program was:" >&5
18146 sed 's/^/| /' conftest.$ac_ext >&5
18148 ac_cv_lib_m_roundl=no
18150 rm -f conftest.err conftest.$ac_objext \
18151 conftest$ac_exeext conftest.$ac_ext
18152 LIBS=$ac_check_lib_save_LIBS
18154 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
18155 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
18156 if test $ac_cv_lib_m_roundl = yes; then
18158 cat >>confdefs.h <<\_ACEOF
18159 #define HAVE_ROUNDL 1
18164 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
18165 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
18166 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
18167 echo $ECHO_N "(cached) $ECHO_C" >&6
18169 ac_check_lib_save_LIBS=$LIBS
18171 if test x$gcc_no_link = xyes; then
18172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18174 { (exit 1); exit 1; }; }
18176 cat >conftest.$ac_ext <<_ACEOF
18179 cat confdefs.h >>conftest.$ac_ext
18180 cat >>conftest.$ac_ext <<_ACEOF
18181 /* end confdefs.h. */
18183 /* Override any gcc2 internal prototype to avoid an error. */
18187 /* We use char because int might match the return type of a gcc2
18188 builtin and then its argument prototype would still apply. */
18198 rm -f conftest.$ac_objext conftest$ac_exeext
18199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18200 (eval $ac_link) 2>conftest.er1
18202 grep -v '^ *+' conftest.er1 >conftest.err
18204 cat conftest.err >&5
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); } &&
18207 { ac_try='test -z "$ac_c_werror_flag"
18208 || test ! -s conftest.err'
18209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18210 (eval $ac_try) 2>&5
18212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213 (exit $ac_status); }; } &&
18214 { ac_try='test -s conftest$ac_exeext'
18215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18216 (eval $ac_try) 2>&5
18218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219 (exit $ac_status); }; }; then
18220 ac_cv_lib_m_scalbnf=yes
18222 echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.$ac_ext >&5
18225 ac_cv_lib_m_scalbnf=no
18227 rm -f conftest.err conftest.$ac_objext \
18228 conftest$ac_exeext conftest.$ac_ext
18229 LIBS=$ac_check_lib_save_LIBS
18231 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
18232 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
18233 if test $ac_cv_lib_m_scalbnf = yes; then
18235 cat >>confdefs.h <<\_ACEOF
18236 #define HAVE_SCALBNF 1
18241 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
18242 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
18243 if test "${ac_cv_lib_m_scalbn+set}" = set; then
18244 echo $ECHO_N "(cached) $ECHO_C" >&6
18246 ac_check_lib_save_LIBS=$LIBS
18248 if test x$gcc_no_link = xyes; then
18249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18251 { (exit 1); exit 1; }; }
18253 cat >conftest.$ac_ext <<_ACEOF
18256 cat confdefs.h >>conftest.$ac_ext
18257 cat >>conftest.$ac_ext <<_ACEOF
18258 /* end confdefs.h. */
18260 /* Override any gcc2 internal prototype to avoid an error. */
18264 /* We use char because int might match the return type of a gcc2
18265 builtin and then its argument prototype would still apply. */
18275 rm -f conftest.$ac_objext conftest$ac_exeext
18276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18277 (eval $ac_link) 2>conftest.er1
18279 grep -v '^ *+' conftest.er1 >conftest.err
18281 cat conftest.err >&5
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); } &&
18284 { ac_try='test -z "$ac_c_werror_flag"
18285 || test ! -s conftest.err'
18286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18287 (eval $ac_try) 2>&5
18289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18290 (exit $ac_status); }; } &&
18291 { ac_try='test -s conftest$ac_exeext'
18292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18293 (eval $ac_try) 2>&5
18295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18296 (exit $ac_status); }; }; then
18297 ac_cv_lib_m_scalbn=yes
18299 echo "$as_me: failed program was:" >&5
18300 sed 's/^/| /' conftest.$ac_ext >&5
18302 ac_cv_lib_m_scalbn=no
18304 rm -f conftest.err conftest.$ac_objext \
18305 conftest$ac_exeext conftest.$ac_ext
18306 LIBS=$ac_check_lib_save_LIBS
18308 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
18309 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
18310 if test $ac_cv_lib_m_scalbn = yes; then
18312 cat >>confdefs.h <<\_ACEOF
18313 #define HAVE_SCALBN 1
18318 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
18319 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
18320 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
18321 echo $ECHO_N "(cached) $ECHO_C" >&6
18323 ac_check_lib_save_LIBS=$LIBS
18325 if test x$gcc_no_link = xyes; then
18326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18328 { (exit 1); exit 1; }; }
18330 cat >conftest.$ac_ext <<_ACEOF
18333 cat confdefs.h >>conftest.$ac_ext
18334 cat >>conftest.$ac_ext <<_ACEOF
18335 /* end confdefs.h. */
18337 /* Override any gcc2 internal prototype to avoid an error. */
18341 /* We use char because int might match the return type of a gcc2
18342 builtin and then its argument prototype would still apply. */
18352 rm -f conftest.$ac_objext conftest$ac_exeext
18353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18354 (eval $ac_link) 2>conftest.er1
18356 grep -v '^ *+' conftest.er1 >conftest.err
18358 cat conftest.err >&5
18359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360 (exit $ac_status); } &&
18361 { ac_try='test -z "$ac_c_werror_flag"
18362 || test ! -s conftest.err'
18363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18364 (eval $ac_try) 2>&5
18366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18367 (exit $ac_status); }; } &&
18368 { ac_try='test -s conftest$ac_exeext'
18369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18370 (eval $ac_try) 2>&5
18372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18373 (exit $ac_status); }; }; then
18374 ac_cv_lib_m_scalbnl=yes
18376 echo "$as_me: failed program was:" >&5
18377 sed 's/^/| /' conftest.$ac_ext >&5
18379 ac_cv_lib_m_scalbnl=no
18381 rm -f conftest.err conftest.$ac_objext \
18382 conftest$ac_exeext conftest.$ac_ext
18383 LIBS=$ac_check_lib_save_LIBS
18385 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
18386 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
18387 if test $ac_cv_lib_m_scalbnl = yes; then
18389 cat >>confdefs.h <<\_ACEOF
18390 #define HAVE_SCALBNL 1
18395 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
18396 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
18397 if test "${ac_cv_lib_m_sinf+set}" = set; then
18398 echo $ECHO_N "(cached) $ECHO_C" >&6
18400 ac_check_lib_save_LIBS=$LIBS
18402 if test x$gcc_no_link = xyes; then
18403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18405 { (exit 1); exit 1; }; }
18407 cat >conftest.$ac_ext <<_ACEOF
18410 cat confdefs.h >>conftest.$ac_ext
18411 cat >>conftest.$ac_ext <<_ACEOF
18412 /* end confdefs.h. */
18414 /* Override any gcc2 internal prototype to avoid an error. */
18418 /* We use char because int might match the return type of a gcc2
18419 builtin and then its argument prototype would still apply. */
18429 rm -f conftest.$ac_objext conftest$ac_exeext
18430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18431 (eval $ac_link) 2>conftest.er1
18433 grep -v '^ *+' conftest.er1 >conftest.err
18435 cat conftest.err >&5
18436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437 (exit $ac_status); } &&
18438 { ac_try='test -z "$ac_c_werror_flag"
18439 || test ! -s conftest.err'
18440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18441 (eval $ac_try) 2>&5
18443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444 (exit $ac_status); }; } &&
18445 { ac_try='test -s conftest$ac_exeext'
18446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18447 (eval $ac_try) 2>&5
18449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18450 (exit $ac_status); }; }; then
18451 ac_cv_lib_m_sinf=yes
18453 echo "$as_me: failed program was:" >&5
18454 sed 's/^/| /' conftest.$ac_ext >&5
18456 ac_cv_lib_m_sinf=no
18458 rm -f conftest.err conftest.$ac_objext \
18459 conftest$ac_exeext conftest.$ac_ext
18460 LIBS=$ac_check_lib_save_LIBS
18462 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
18463 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
18464 if test $ac_cv_lib_m_sinf = yes; then
18466 cat >>confdefs.h <<\_ACEOF
18467 #define HAVE_SINF 1
18472 echo "$as_me:$LINENO: checking for sin in -lm" >&5
18473 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
18474 if test "${ac_cv_lib_m_sin+set}" = set; then
18475 echo $ECHO_N "(cached) $ECHO_C" >&6
18477 ac_check_lib_save_LIBS=$LIBS
18479 if test x$gcc_no_link = xyes; then
18480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18482 { (exit 1); exit 1; }; }
18484 cat >conftest.$ac_ext <<_ACEOF
18487 cat confdefs.h >>conftest.$ac_ext
18488 cat >>conftest.$ac_ext <<_ACEOF
18489 /* end confdefs.h. */
18491 /* Override any gcc2 internal prototype to avoid an error. */
18495 /* We use char because int might match the return type of a gcc2
18496 builtin and then its argument prototype would still apply. */
18506 rm -f conftest.$ac_objext conftest$ac_exeext
18507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18508 (eval $ac_link) 2>conftest.er1
18510 grep -v '^ *+' conftest.er1 >conftest.err
18512 cat conftest.err >&5
18513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18514 (exit $ac_status); } &&
18515 { ac_try='test -z "$ac_c_werror_flag"
18516 || test ! -s conftest.err'
18517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18518 (eval $ac_try) 2>&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); }; } &&
18522 { ac_try='test -s conftest$ac_exeext'
18523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18524 (eval $ac_try) 2>&5
18526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18527 (exit $ac_status); }; }; then
18528 ac_cv_lib_m_sin=yes
18530 echo "$as_me: failed program was:" >&5
18531 sed 's/^/| /' conftest.$ac_ext >&5
18535 rm -f conftest.err conftest.$ac_objext \
18536 conftest$ac_exeext conftest.$ac_ext
18537 LIBS=$ac_check_lib_save_LIBS
18539 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
18540 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
18541 if test $ac_cv_lib_m_sin = yes; then
18543 cat >>confdefs.h <<\_ACEOF
18549 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
18550 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
18551 if test "${ac_cv_lib_m_sinl+set}" = set; then
18552 echo $ECHO_N "(cached) $ECHO_C" >&6
18554 ac_check_lib_save_LIBS=$LIBS
18556 if test x$gcc_no_link = xyes; then
18557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18559 { (exit 1); exit 1; }; }
18561 cat >conftest.$ac_ext <<_ACEOF
18564 cat confdefs.h >>conftest.$ac_ext
18565 cat >>conftest.$ac_ext <<_ACEOF
18566 /* end confdefs.h. */
18568 /* Override any gcc2 internal prototype to avoid an error. */
18572 /* We use char because int might match the return type of a gcc2
18573 builtin and then its argument prototype would still apply. */
18583 rm -f conftest.$ac_objext conftest$ac_exeext
18584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18585 (eval $ac_link) 2>conftest.er1
18587 grep -v '^ *+' conftest.er1 >conftest.err
18589 cat conftest.err >&5
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); } &&
18592 { ac_try='test -z "$ac_c_werror_flag"
18593 || test ! -s conftest.err'
18594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18595 (eval $ac_try) 2>&5
18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); }; } &&
18599 { ac_try='test -s conftest$ac_exeext'
18600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18601 (eval $ac_try) 2>&5
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); }; }; then
18605 ac_cv_lib_m_sinl=yes
18607 echo "$as_me: failed program was:" >&5
18608 sed 's/^/| /' conftest.$ac_ext >&5
18610 ac_cv_lib_m_sinl=no
18612 rm -f conftest.err conftest.$ac_objext \
18613 conftest$ac_exeext conftest.$ac_ext
18614 LIBS=$ac_check_lib_save_LIBS
18616 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
18617 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
18618 if test $ac_cv_lib_m_sinl = yes; then
18620 cat >>confdefs.h <<\_ACEOF
18621 #define HAVE_SINL 1
18626 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
18627 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
18628 if test "${ac_cv_lib_m_csinf+set}" = set; then
18629 echo $ECHO_N "(cached) $ECHO_C" >&6
18631 ac_check_lib_save_LIBS=$LIBS
18633 if test x$gcc_no_link = xyes; then
18634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18636 { (exit 1); exit 1; }; }
18638 cat >conftest.$ac_ext <<_ACEOF
18641 cat confdefs.h >>conftest.$ac_ext
18642 cat >>conftest.$ac_ext <<_ACEOF
18643 /* end confdefs.h. */
18645 /* Override any gcc2 internal prototype to avoid an error. */
18649 /* We use char because int might match the return type of a gcc2
18650 builtin and then its argument prototype would still apply. */
18660 rm -f conftest.$ac_objext conftest$ac_exeext
18661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18662 (eval $ac_link) 2>conftest.er1
18664 grep -v '^ *+' conftest.er1 >conftest.err
18666 cat conftest.err >&5
18667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); } &&
18669 { ac_try='test -z "$ac_c_werror_flag"
18670 || test ! -s conftest.err'
18671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18672 (eval $ac_try) 2>&5
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); }; } &&
18676 { ac_try='test -s conftest$ac_exeext'
18677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18678 (eval $ac_try) 2>&5
18680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18681 (exit $ac_status); }; }; then
18682 ac_cv_lib_m_csinf=yes
18684 echo "$as_me: failed program was:" >&5
18685 sed 's/^/| /' conftest.$ac_ext >&5
18687 ac_cv_lib_m_csinf=no
18689 rm -f conftest.err conftest.$ac_objext \
18690 conftest$ac_exeext conftest.$ac_ext
18691 LIBS=$ac_check_lib_save_LIBS
18693 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
18694 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
18695 if test $ac_cv_lib_m_csinf = yes; then
18697 cat >>confdefs.h <<\_ACEOF
18698 #define HAVE_CSINF 1
18703 echo "$as_me:$LINENO: checking for csin in -lm" >&5
18704 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
18705 if test "${ac_cv_lib_m_csin+set}" = set; then
18706 echo $ECHO_N "(cached) $ECHO_C" >&6
18708 ac_check_lib_save_LIBS=$LIBS
18710 if test x$gcc_no_link = xyes; then
18711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18713 { (exit 1); exit 1; }; }
18715 cat >conftest.$ac_ext <<_ACEOF
18718 cat confdefs.h >>conftest.$ac_ext
18719 cat >>conftest.$ac_ext <<_ACEOF
18720 /* end confdefs.h. */
18722 /* Override any gcc2 internal prototype to avoid an error. */
18726 /* We use char because int might match the return type of a gcc2
18727 builtin and then its argument prototype would still apply. */
18737 rm -f conftest.$ac_objext conftest$ac_exeext
18738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18739 (eval $ac_link) 2>conftest.er1
18741 grep -v '^ *+' conftest.er1 >conftest.err
18743 cat conftest.err >&5
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); } &&
18746 { ac_try='test -z "$ac_c_werror_flag"
18747 || test ! -s conftest.err'
18748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18749 (eval $ac_try) 2>&5
18751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18752 (exit $ac_status); }; } &&
18753 { ac_try='test -s conftest$ac_exeext'
18754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18755 (eval $ac_try) 2>&5
18757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18758 (exit $ac_status); }; }; then
18759 ac_cv_lib_m_csin=yes
18761 echo "$as_me: failed program was:" >&5
18762 sed 's/^/| /' conftest.$ac_ext >&5
18764 ac_cv_lib_m_csin=no
18766 rm -f conftest.err conftest.$ac_objext \
18767 conftest$ac_exeext conftest.$ac_ext
18768 LIBS=$ac_check_lib_save_LIBS
18770 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
18771 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
18772 if test $ac_cv_lib_m_csin = yes; then
18774 cat >>confdefs.h <<\_ACEOF
18775 #define HAVE_CSIN 1
18780 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
18781 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
18782 if test "${ac_cv_lib_m_csinl+set}" = set; then
18783 echo $ECHO_N "(cached) $ECHO_C" >&6
18785 ac_check_lib_save_LIBS=$LIBS
18787 if test x$gcc_no_link = xyes; then
18788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18790 { (exit 1); exit 1; }; }
18792 cat >conftest.$ac_ext <<_ACEOF
18795 cat confdefs.h >>conftest.$ac_ext
18796 cat >>conftest.$ac_ext <<_ACEOF
18797 /* end confdefs.h. */
18799 /* Override any gcc2 internal prototype to avoid an error. */
18803 /* We use char because int might match the return type of a gcc2
18804 builtin and then its argument prototype would still apply. */
18814 rm -f conftest.$ac_objext conftest$ac_exeext
18815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18816 (eval $ac_link) 2>conftest.er1
18818 grep -v '^ *+' conftest.er1 >conftest.err
18820 cat conftest.err >&5
18821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18822 (exit $ac_status); } &&
18823 { ac_try='test -z "$ac_c_werror_flag"
18824 || test ! -s conftest.err'
18825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18826 (eval $ac_try) 2>&5
18828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18829 (exit $ac_status); }; } &&
18830 { ac_try='test -s conftest$ac_exeext'
18831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18832 (eval $ac_try) 2>&5
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); }; }; then
18836 ac_cv_lib_m_csinl=yes
18838 echo "$as_me: failed program was:" >&5
18839 sed 's/^/| /' conftest.$ac_ext >&5
18841 ac_cv_lib_m_csinl=no
18843 rm -f conftest.err conftest.$ac_objext \
18844 conftest$ac_exeext conftest.$ac_ext
18845 LIBS=$ac_check_lib_save_LIBS
18847 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
18848 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
18849 if test $ac_cv_lib_m_csinl = yes; then
18851 cat >>confdefs.h <<\_ACEOF
18852 #define HAVE_CSINL 1
18857 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
18858 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
18859 if test "${ac_cv_lib_m_sinhf+set}" = set; then
18860 echo $ECHO_N "(cached) $ECHO_C" >&6
18862 ac_check_lib_save_LIBS=$LIBS
18864 if test x$gcc_no_link = xyes; then
18865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18867 { (exit 1); exit 1; }; }
18869 cat >conftest.$ac_ext <<_ACEOF
18872 cat confdefs.h >>conftest.$ac_ext
18873 cat >>conftest.$ac_ext <<_ACEOF
18874 /* end confdefs.h. */
18876 /* Override any gcc2 internal prototype to avoid an error. */
18880 /* We use char because int might match the return type of a gcc2
18881 builtin and then its argument prototype would still apply. */
18891 rm -f conftest.$ac_objext conftest$ac_exeext
18892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18893 (eval $ac_link) 2>conftest.er1
18895 grep -v '^ *+' conftest.er1 >conftest.err
18897 cat conftest.err >&5
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); } &&
18900 { ac_try='test -z "$ac_c_werror_flag"
18901 || test ! -s conftest.err'
18902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18903 (eval $ac_try) 2>&5
18905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18906 (exit $ac_status); }; } &&
18907 { ac_try='test -s conftest$ac_exeext'
18908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18909 (eval $ac_try) 2>&5
18911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18912 (exit $ac_status); }; }; then
18913 ac_cv_lib_m_sinhf=yes
18915 echo "$as_me: failed program was:" >&5
18916 sed 's/^/| /' conftest.$ac_ext >&5
18918 ac_cv_lib_m_sinhf=no
18920 rm -f conftest.err conftest.$ac_objext \
18921 conftest$ac_exeext conftest.$ac_ext
18922 LIBS=$ac_check_lib_save_LIBS
18924 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
18925 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
18926 if test $ac_cv_lib_m_sinhf = yes; then
18928 cat >>confdefs.h <<\_ACEOF
18929 #define HAVE_SINHF 1
18934 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
18935 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
18936 if test "${ac_cv_lib_m_sinh+set}" = set; then
18937 echo $ECHO_N "(cached) $ECHO_C" >&6
18939 ac_check_lib_save_LIBS=$LIBS
18941 if test x$gcc_no_link = xyes; then
18942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18944 { (exit 1); exit 1; }; }
18946 cat >conftest.$ac_ext <<_ACEOF
18949 cat confdefs.h >>conftest.$ac_ext
18950 cat >>conftest.$ac_ext <<_ACEOF
18951 /* end confdefs.h. */
18953 /* Override any gcc2 internal prototype to avoid an error. */
18957 /* We use char because int might match the return type of a gcc2
18958 builtin and then its argument prototype would still apply. */
18968 rm -f conftest.$ac_objext conftest$ac_exeext
18969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18970 (eval $ac_link) 2>conftest.er1
18972 grep -v '^ *+' conftest.er1 >conftest.err
18974 cat conftest.err >&5
18975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18976 (exit $ac_status); } &&
18977 { ac_try='test -z "$ac_c_werror_flag"
18978 || test ! -s conftest.err'
18979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18980 (eval $ac_try) 2>&5
18982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18983 (exit $ac_status); }; } &&
18984 { ac_try='test -s conftest$ac_exeext'
18985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18986 (eval $ac_try) 2>&5
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); }; }; then
18990 ac_cv_lib_m_sinh=yes
18992 echo "$as_me: failed program was:" >&5
18993 sed 's/^/| /' conftest.$ac_ext >&5
18995 ac_cv_lib_m_sinh=no
18997 rm -f conftest.err conftest.$ac_objext \
18998 conftest$ac_exeext conftest.$ac_ext
18999 LIBS=$ac_check_lib_save_LIBS
19001 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
19002 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
19003 if test $ac_cv_lib_m_sinh = yes; then
19005 cat >>confdefs.h <<\_ACEOF
19006 #define HAVE_SINH 1
19011 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
19012 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
19013 if test "${ac_cv_lib_m_sinhl+set}" = set; then
19014 echo $ECHO_N "(cached) $ECHO_C" >&6
19016 ac_check_lib_save_LIBS=$LIBS
19018 if test x$gcc_no_link = xyes; then
19019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19021 { (exit 1); exit 1; }; }
19023 cat >conftest.$ac_ext <<_ACEOF
19026 cat confdefs.h >>conftest.$ac_ext
19027 cat >>conftest.$ac_ext <<_ACEOF
19028 /* end confdefs.h. */
19030 /* Override any gcc2 internal prototype to avoid an error. */
19034 /* We use char because int might match the return type of a gcc2
19035 builtin and then its argument prototype would still apply. */
19045 rm -f conftest.$ac_objext conftest$ac_exeext
19046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19047 (eval $ac_link) 2>conftest.er1
19049 grep -v '^ *+' conftest.er1 >conftest.err
19051 cat conftest.err >&5
19052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19053 (exit $ac_status); } &&
19054 { ac_try='test -z "$ac_c_werror_flag"
19055 || test ! -s conftest.err'
19056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19057 (eval $ac_try) 2>&5
19059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19060 (exit $ac_status); }; } &&
19061 { ac_try='test -s conftest$ac_exeext'
19062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19063 (eval $ac_try) 2>&5
19065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19066 (exit $ac_status); }; }; then
19067 ac_cv_lib_m_sinhl=yes
19069 echo "$as_me: failed program was:" >&5
19070 sed 's/^/| /' conftest.$ac_ext >&5
19072 ac_cv_lib_m_sinhl=no
19074 rm -f conftest.err conftest.$ac_objext \
19075 conftest$ac_exeext conftest.$ac_ext
19076 LIBS=$ac_check_lib_save_LIBS
19078 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
19079 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
19080 if test $ac_cv_lib_m_sinhl = yes; then
19082 cat >>confdefs.h <<\_ACEOF
19083 #define HAVE_SINHL 1
19088 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
19089 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
19090 if test "${ac_cv_lib_m_csinhf+set}" = set; then
19091 echo $ECHO_N "(cached) $ECHO_C" >&6
19093 ac_check_lib_save_LIBS=$LIBS
19095 if test x$gcc_no_link = xyes; then
19096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19098 { (exit 1); exit 1; }; }
19100 cat >conftest.$ac_ext <<_ACEOF
19103 cat confdefs.h >>conftest.$ac_ext
19104 cat >>conftest.$ac_ext <<_ACEOF
19105 /* end confdefs.h. */
19107 /* Override any gcc2 internal prototype to avoid an error. */
19111 /* We use char because int might match the return type of a gcc2
19112 builtin and then its argument prototype would still apply. */
19122 rm -f conftest.$ac_objext conftest$ac_exeext
19123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19124 (eval $ac_link) 2>conftest.er1
19126 grep -v '^ *+' conftest.er1 >conftest.err
19128 cat conftest.err >&5
19129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19130 (exit $ac_status); } &&
19131 { ac_try='test -z "$ac_c_werror_flag"
19132 || test ! -s conftest.err'
19133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19134 (eval $ac_try) 2>&5
19136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19137 (exit $ac_status); }; } &&
19138 { ac_try='test -s conftest$ac_exeext'
19139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19140 (eval $ac_try) 2>&5
19142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19143 (exit $ac_status); }; }; then
19144 ac_cv_lib_m_csinhf=yes
19146 echo "$as_me: failed program was:" >&5
19147 sed 's/^/| /' conftest.$ac_ext >&5
19149 ac_cv_lib_m_csinhf=no
19151 rm -f conftest.err conftest.$ac_objext \
19152 conftest$ac_exeext conftest.$ac_ext
19153 LIBS=$ac_check_lib_save_LIBS
19155 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
19156 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
19157 if test $ac_cv_lib_m_csinhf = yes; then
19159 cat >>confdefs.h <<\_ACEOF
19160 #define HAVE_CSINHF 1
19165 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
19166 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
19167 if test "${ac_cv_lib_m_csinh+set}" = set; then
19168 echo $ECHO_N "(cached) $ECHO_C" >&6
19170 ac_check_lib_save_LIBS=$LIBS
19172 if test x$gcc_no_link = xyes; then
19173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19175 { (exit 1); exit 1; }; }
19177 cat >conftest.$ac_ext <<_ACEOF
19180 cat confdefs.h >>conftest.$ac_ext
19181 cat >>conftest.$ac_ext <<_ACEOF
19182 /* end confdefs.h. */
19184 /* Override any gcc2 internal prototype to avoid an error. */
19188 /* We use char because int might match the return type of a gcc2
19189 builtin and then its argument prototype would still apply. */
19199 rm -f conftest.$ac_objext conftest$ac_exeext
19200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19201 (eval $ac_link) 2>conftest.er1
19203 grep -v '^ *+' conftest.er1 >conftest.err
19205 cat conftest.err >&5
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); } &&
19208 { ac_try='test -z "$ac_c_werror_flag"
19209 || test ! -s conftest.err'
19210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19211 (eval $ac_try) 2>&5
19213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); }; } &&
19215 { ac_try='test -s conftest$ac_exeext'
19216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19217 (eval $ac_try) 2>&5
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); }; }; then
19221 ac_cv_lib_m_csinh=yes
19223 echo "$as_me: failed program was:" >&5
19224 sed 's/^/| /' conftest.$ac_ext >&5
19226 ac_cv_lib_m_csinh=no
19228 rm -f conftest.err conftest.$ac_objext \
19229 conftest$ac_exeext conftest.$ac_ext
19230 LIBS=$ac_check_lib_save_LIBS
19232 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
19233 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
19234 if test $ac_cv_lib_m_csinh = yes; then
19236 cat >>confdefs.h <<\_ACEOF
19237 #define HAVE_CSINH 1
19242 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
19243 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
19244 if test "${ac_cv_lib_m_csinhl+set}" = set; then
19245 echo $ECHO_N "(cached) $ECHO_C" >&6
19247 ac_check_lib_save_LIBS=$LIBS
19249 if test x$gcc_no_link = xyes; then
19250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19252 { (exit 1); exit 1; }; }
19254 cat >conftest.$ac_ext <<_ACEOF
19257 cat confdefs.h >>conftest.$ac_ext
19258 cat >>conftest.$ac_ext <<_ACEOF
19259 /* end confdefs.h. */
19261 /* Override any gcc2 internal prototype to avoid an error. */
19265 /* We use char because int might match the return type of a gcc2
19266 builtin and then its argument prototype would still apply. */
19276 rm -f conftest.$ac_objext conftest$ac_exeext
19277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19278 (eval $ac_link) 2>conftest.er1
19280 grep -v '^ *+' conftest.er1 >conftest.err
19282 cat conftest.err >&5
19283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19284 (exit $ac_status); } &&
19285 { ac_try='test -z "$ac_c_werror_flag"
19286 || test ! -s conftest.err'
19287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19288 (eval $ac_try) 2>&5
19290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291 (exit $ac_status); }; } &&
19292 { ac_try='test -s conftest$ac_exeext'
19293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19294 (eval $ac_try) 2>&5
19296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297 (exit $ac_status); }; }; then
19298 ac_cv_lib_m_csinhl=yes
19300 echo "$as_me: failed program was:" >&5
19301 sed 's/^/| /' conftest.$ac_ext >&5
19303 ac_cv_lib_m_csinhl=no
19305 rm -f conftest.err conftest.$ac_objext \
19306 conftest$ac_exeext conftest.$ac_ext
19307 LIBS=$ac_check_lib_save_LIBS
19309 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
19310 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
19311 if test $ac_cv_lib_m_csinhl = yes; then
19313 cat >>confdefs.h <<\_ACEOF
19314 #define HAVE_CSINHL 1
19319 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
19320 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
19321 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
19322 echo $ECHO_N "(cached) $ECHO_C" >&6
19324 ac_check_lib_save_LIBS=$LIBS
19326 if test x$gcc_no_link = xyes; then
19327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19329 { (exit 1); exit 1; }; }
19331 cat >conftest.$ac_ext <<_ACEOF
19334 cat confdefs.h >>conftest.$ac_ext
19335 cat >>conftest.$ac_ext <<_ACEOF
19336 /* end confdefs.h. */
19338 /* Override any gcc2 internal prototype to avoid an error. */
19342 /* We use char because int might match the return type of a gcc2
19343 builtin and then its argument prototype would still apply. */
19353 rm -f conftest.$ac_objext conftest$ac_exeext
19354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19355 (eval $ac_link) 2>conftest.er1
19357 grep -v '^ *+' conftest.er1 >conftest.err
19359 cat conftest.err >&5
19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); } &&
19362 { ac_try='test -z "$ac_c_werror_flag"
19363 || test ! -s conftest.err'
19364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19365 (eval $ac_try) 2>&5
19367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19368 (exit $ac_status); }; } &&
19369 { ac_try='test -s conftest$ac_exeext'
19370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19371 (eval $ac_try) 2>&5
19373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19374 (exit $ac_status); }; }; then
19375 ac_cv_lib_m_sqrtf=yes
19377 echo "$as_me: failed program was:" >&5
19378 sed 's/^/| /' conftest.$ac_ext >&5
19380 ac_cv_lib_m_sqrtf=no
19382 rm -f conftest.err conftest.$ac_objext \
19383 conftest$ac_exeext conftest.$ac_ext
19384 LIBS=$ac_check_lib_save_LIBS
19386 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
19387 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
19388 if test $ac_cv_lib_m_sqrtf = yes; then
19390 cat >>confdefs.h <<\_ACEOF
19391 #define HAVE_SQRTF 1
19396 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
19397 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
19398 if test "${ac_cv_lib_m_sqrt+set}" = set; then
19399 echo $ECHO_N "(cached) $ECHO_C" >&6
19401 ac_check_lib_save_LIBS=$LIBS
19403 if test x$gcc_no_link = xyes; then
19404 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19406 { (exit 1); exit 1; }; }
19408 cat >conftest.$ac_ext <<_ACEOF
19411 cat confdefs.h >>conftest.$ac_ext
19412 cat >>conftest.$ac_ext <<_ACEOF
19413 /* end confdefs.h. */
19415 /* Override any gcc2 internal prototype to avoid an error. */
19419 /* We use char because int might match the return type of a gcc2
19420 builtin and then its argument prototype would still apply. */
19430 rm -f conftest.$ac_objext conftest$ac_exeext
19431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19432 (eval $ac_link) 2>conftest.er1
19434 grep -v '^ *+' conftest.er1 >conftest.err
19436 cat conftest.err >&5
19437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438 (exit $ac_status); } &&
19439 { ac_try='test -z "$ac_c_werror_flag"
19440 || test ! -s conftest.err'
19441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19442 (eval $ac_try) 2>&5
19444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19445 (exit $ac_status); }; } &&
19446 { ac_try='test -s conftest$ac_exeext'
19447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19448 (eval $ac_try) 2>&5
19450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19451 (exit $ac_status); }; }; then
19452 ac_cv_lib_m_sqrt=yes
19454 echo "$as_me: failed program was:" >&5
19455 sed 's/^/| /' conftest.$ac_ext >&5
19457 ac_cv_lib_m_sqrt=no
19459 rm -f conftest.err conftest.$ac_objext \
19460 conftest$ac_exeext conftest.$ac_ext
19461 LIBS=$ac_check_lib_save_LIBS
19463 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
19464 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
19465 if test $ac_cv_lib_m_sqrt = yes; then
19467 cat >>confdefs.h <<\_ACEOF
19468 #define HAVE_SQRT 1
19473 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
19474 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
19475 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
19476 echo $ECHO_N "(cached) $ECHO_C" >&6
19478 ac_check_lib_save_LIBS=$LIBS
19480 if test x$gcc_no_link = xyes; then
19481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19483 { (exit 1); exit 1; }; }
19485 cat >conftest.$ac_ext <<_ACEOF
19488 cat confdefs.h >>conftest.$ac_ext
19489 cat >>conftest.$ac_ext <<_ACEOF
19490 /* end confdefs.h. */
19492 /* Override any gcc2 internal prototype to avoid an error. */
19496 /* We use char because int might match the return type of a gcc2
19497 builtin and then its argument prototype would still apply. */
19507 rm -f conftest.$ac_objext conftest$ac_exeext
19508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19509 (eval $ac_link) 2>conftest.er1
19511 grep -v '^ *+' conftest.er1 >conftest.err
19513 cat conftest.err >&5
19514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19515 (exit $ac_status); } &&
19516 { ac_try='test -z "$ac_c_werror_flag"
19517 || test ! -s conftest.err'
19518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19519 (eval $ac_try) 2>&5
19521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19522 (exit $ac_status); }; } &&
19523 { ac_try='test -s conftest$ac_exeext'
19524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19525 (eval $ac_try) 2>&5
19527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19528 (exit $ac_status); }; }; then
19529 ac_cv_lib_m_sqrtl=yes
19531 echo "$as_me: failed program was:" >&5
19532 sed 's/^/| /' conftest.$ac_ext >&5
19534 ac_cv_lib_m_sqrtl=no
19536 rm -f conftest.err conftest.$ac_objext \
19537 conftest$ac_exeext conftest.$ac_ext
19538 LIBS=$ac_check_lib_save_LIBS
19540 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
19541 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
19542 if test $ac_cv_lib_m_sqrtl = yes; then
19544 cat >>confdefs.h <<\_ACEOF
19545 #define HAVE_SQRTL 1
19550 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
19551 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
19552 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
19553 echo $ECHO_N "(cached) $ECHO_C" >&6
19555 ac_check_lib_save_LIBS=$LIBS
19557 if test x$gcc_no_link = xyes; then
19558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19560 { (exit 1); exit 1; }; }
19562 cat >conftest.$ac_ext <<_ACEOF
19565 cat confdefs.h >>conftest.$ac_ext
19566 cat >>conftest.$ac_ext <<_ACEOF
19567 /* end confdefs.h. */
19569 /* Override any gcc2 internal prototype to avoid an error. */
19573 /* We use char because int might match the return type of a gcc2
19574 builtin and then its argument prototype would still apply. */
19584 rm -f conftest.$ac_objext conftest$ac_exeext
19585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19586 (eval $ac_link) 2>conftest.er1
19588 grep -v '^ *+' conftest.er1 >conftest.err
19590 cat conftest.err >&5
19591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592 (exit $ac_status); } &&
19593 { ac_try='test -z "$ac_c_werror_flag"
19594 || test ! -s conftest.err'
19595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19596 (eval $ac_try) 2>&5
19598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599 (exit $ac_status); }; } &&
19600 { ac_try='test -s conftest$ac_exeext'
19601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19602 (eval $ac_try) 2>&5
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605 (exit $ac_status); }; }; then
19606 ac_cv_lib_m_csqrtf=yes
19608 echo "$as_me: failed program was:" >&5
19609 sed 's/^/| /' conftest.$ac_ext >&5
19611 ac_cv_lib_m_csqrtf=no
19613 rm -f conftest.err conftest.$ac_objext \
19614 conftest$ac_exeext conftest.$ac_ext
19615 LIBS=$ac_check_lib_save_LIBS
19617 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
19618 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
19619 if test $ac_cv_lib_m_csqrtf = yes; then
19621 cat >>confdefs.h <<\_ACEOF
19622 #define HAVE_CSQRTF 1
19627 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
19628 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
19629 if test "${ac_cv_lib_m_csqrt+set}" = set; then
19630 echo $ECHO_N "(cached) $ECHO_C" >&6
19632 ac_check_lib_save_LIBS=$LIBS
19634 if test x$gcc_no_link = xyes; then
19635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19637 { (exit 1); exit 1; }; }
19639 cat >conftest.$ac_ext <<_ACEOF
19642 cat confdefs.h >>conftest.$ac_ext
19643 cat >>conftest.$ac_ext <<_ACEOF
19644 /* end confdefs.h. */
19646 /* Override any gcc2 internal prototype to avoid an error. */
19650 /* We use char because int might match the return type of a gcc2
19651 builtin and then its argument prototype would still apply. */
19661 rm -f conftest.$ac_objext conftest$ac_exeext
19662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19663 (eval $ac_link) 2>conftest.er1
19665 grep -v '^ *+' conftest.er1 >conftest.err
19667 cat conftest.err >&5
19668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669 (exit $ac_status); } &&
19670 { ac_try='test -z "$ac_c_werror_flag"
19671 || test ! -s conftest.err'
19672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19673 (eval $ac_try) 2>&5
19675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19676 (exit $ac_status); }; } &&
19677 { ac_try='test -s conftest$ac_exeext'
19678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19679 (eval $ac_try) 2>&5
19681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19682 (exit $ac_status); }; }; then
19683 ac_cv_lib_m_csqrt=yes
19685 echo "$as_me: failed program was:" >&5
19686 sed 's/^/| /' conftest.$ac_ext >&5
19688 ac_cv_lib_m_csqrt=no
19690 rm -f conftest.err conftest.$ac_objext \
19691 conftest$ac_exeext conftest.$ac_ext
19692 LIBS=$ac_check_lib_save_LIBS
19694 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
19695 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
19696 if test $ac_cv_lib_m_csqrt = yes; then
19698 cat >>confdefs.h <<\_ACEOF
19699 #define HAVE_CSQRT 1
19704 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
19705 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
19706 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
19707 echo $ECHO_N "(cached) $ECHO_C" >&6
19709 ac_check_lib_save_LIBS=$LIBS
19711 if test x$gcc_no_link = xyes; then
19712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19714 { (exit 1); exit 1; }; }
19716 cat >conftest.$ac_ext <<_ACEOF
19719 cat confdefs.h >>conftest.$ac_ext
19720 cat >>conftest.$ac_ext <<_ACEOF
19721 /* end confdefs.h. */
19723 /* Override any gcc2 internal prototype to avoid an error. */
19727 /* We use char because int might match the return type of a gcc2
19728 builtin and then its argument prototype would still apply. */
19738 rm -f conftest.$ac_objext conftest$ac_exeext
19739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19740 (eval $ac_link) 2>conftest.er1
19742 grep -v '^ *+' conftest.er1 >conftest.err
19744 cat conftest.err >&5
19745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746 (exit $ac_status); } &&
19747 { ac_try='test -z "$ac_c_werror_flag"
19748 || test ! -s conftest.err'
19749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19750 (eval $ac_try) 2>&5
19752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19753 (exit $ac_status); }; } &&
19754 { ac_try='test -s conftest$ac_exeext'
19755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19756 (eval $ac_try) 2>&5
19758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19759 (exit $ac_status); }; }; then
19760 ac_cv_lib_m_csqrtl=yes
19762 echo "$as_me: failed program was:" >&5
19763 sed 's/^/| /' conftest.$ac_ext >&5
19765 ac_cv_lib_m_csqrtl=no
19767 rm -f conftest.err conftest.$ac_objext \
19768 conftest$ac_exeext conftest.$ac_ext
19769 LIBS=$ac_check_lib_save_LIBS
19771 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
19772 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
19773 if test $ac_cv_lib_m_csqrtl = yes; then
19775 cat >>confdefs.h <<\_ACEOF
19776 #define HAVE_CSQRTL 1
19781 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
19782 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
19783 if test "${ac_cv_lib_m_tanf+set}" = set; then
19784 echo $ECHO_N "(cached) $ECHO_C" >&6
19786 ac_check_lib_save_LIBS=$LIBS
19788 if test x$gcc_no_link = xyes; then
19789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19791 { (exit 1); exit 1; }; }
19793 cat >conftest.$ac_ext <<_ACEOF
19796 cat confdefs.h >>conftest.$ac_ext
19797 cat >>conftest.$ac_ext <<_ACEOF
19798 /* end confdefs.h. */
19800 /* Override any gcc2 internal prototype to avoid an error. */
19804 /* We use char because int might match the return type of a gcc2
19805 builtin and then its argument prototype would still apply. */
19815 rm -f conftest.$ac_objext conftest$ac_exeext
19816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19817 (eval $ac_link) 2>conftest.er1
19819 grep -v '^ *+' conftest.er1 >conftest.err
19821 cat conftest.err >&5
19822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823 (exit $ac_status); } &&
19824 { ac_try='test -z "$ac_c_werror_flag"
19825 || test ! -s conftest.err'
19826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19827 (eval $ac_try) 2>&5
19829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19830 (exit $ac_status); }; } &&
19831 { ac_try='test -s conftest$ac_exeext'
19832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19833 (eval $ac_try) 2>&5
19835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19836 (exit $ac_status); }; }; then
19837 ac_cv_lib_m_tanf=yes
19839 echo "$as_me: failed program was:" >&5
19840 sed 's/^/| /' conftest.$ac_ext >&5
19842 ac_cv_lib_m_tanf=no
19844 rm -f conftest.err conftest.$ac_objext \
19845 conftest$ac_exeext conftest.$ac_ext
19846 LIBS=$ac_check_lib_save_LIBS
19848 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
19849 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
19850 if test $ac_cv_lib_m_tanf = yes; then
19852 cat >>confdefs.h <<\_ACEOF
19853 #define HAVE_TANF 1
19858 echo "$as_me:$LINENO: checking for tan in -lm" >&5
19859 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
19860 if test "${ac_cv_lib_m_tan+set}" = set; then
19861 echo $ECHO_N "(cached) $ECHO_C" >&6
19863 ac_check_lib_save_LIBS=$LIBS
19865 if test x$gcc_no_link = xyes; then
19866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19868 { (exit 1); exit 1; }; }
19870 cat >conftest.$ac_ext <<_ACEOF
19873 cat confdefs.h >>conftest.$ac_ext
19874 cat >>conftest.$ac_ext <<_ACEOF
19875 /* end confdefs.h. */
19877 /* Override any gcc2 internal prototype to avoid an error. */
19881 /* We use char because int might match the return type of a gcc2
19882 builtin and then its argument prototype would still apply. */
19892 rm -f conftest.$ac_objext conftest$ac_exeext
19893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19894 (eval $ac_link) 2>conftest.er1
19896 grep -v '^ *+' conftest.er1 >conftest.err
19898 cat conftest.err >&5
19899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19900 (exit $ac_status); } &&
19901 { ac_try='test -z "$ac_c_werror_flag"
19902 || test ! -s conftest.err'
19903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19904 (eval $ac_try) 2>&5
19906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 (exit $ac_status); }; } &&
19908 { ac_try='test -s conftest$ac_exeext'
19909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19910 (eval $ac_try) 2>&5
19912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913 (exit $ac_status); }; }; then
19914 ac_cv_lib_m_tan=yes
19916 echo "$as_me: failed program was:" >&5
19917 sed 's/^/| /' conftest.$ac_ext >&5
19921 rm -f conftest.err conftest.$ac_objext \
19922 conftest$ac_exeext conftest.$ac_ext
19923 LIBS=$ac_check_lib_save_LIBS
19925 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
19926 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
19927 if test $ac_cv_lib_m_tan = yes; then
19929 cat >>confdefs.h <<\_ACEOF
19935 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
19936 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
19937 if test "${ac_cv_lib_m_tanl+set}" = set; then
19938 echo $ECHO_N "(cached) $ECHO_C" >&6
19940 ac_check_lib_save_LIBS=$LIBS
19942 if test x$gcc_no_link = xyes; then
19943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19945 { (exit 1); exit 1; }; }
19947 cat >conftest.$ac_ext <<_ACEOF
19950 cat confdefs.h >>conftest.$ac_ext
19951 cat >>conftest.$ac_ext <<_ACEOF
19952 /* end confdefs.h. */
19954 /* Override any gcc2 internal prototype to avoid an error. */
19958 /* We use char because int might match the return type of a gcc2
19959 builtin and then its argument prototype would still apply. */
19969 rm -f conftest.$ac_objext conftest$ac_exeext
19970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19971 (eval $ac_link) 2>conftest.er1
19973 grep -v '^ *+' conftest.er1 >conftest.err
19975 cat conftest.err >&5
19976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977 (exit $ac_status); } &&
19978 { ac_try='test -z "$ac_c_werror_flag"
19979 || test ! -s conftest.err'
19980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19981 (eval $ac_try) 2>&5
19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 (exit $ac_status); }; } &&
19985 { ac_try='test -s conftest$ac_exeext'
19986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19987 (eval $ac_try) 2>&5
19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990 (exit $ac_status); }; }; then
19991 ac_cv_lib_m_tanl=yes
19993 echo "$as_me: failed program was:" >&5
19994 sed 's/^/| /' conftest.$ac_ext >&5
19996 ac_cv_lib_m_tanl=no
19998 rm -f conftest.err conftest.$ac_objext \
19999 conftest$ac_exeext conftest.$ac_ext
20000 LIBS=$ac_check_lib_save_LIBS
20002 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
20003 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
20004 if test $ac_cv_lib_m_tanl = yes; then
20006 cat >>confdefs.h <<\_ACEOF
20007 #define HAVE_TANL 1
20012 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
20013 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
20014 if test "${ac_cv_lib_m_ctanf+set}" = set; then
20015 echo $ECHO_N "(cached) $ECHO_C" >&6
20017 ac_check_lib_save_LIBS=$LIBS
20019 if test x$gcc_no_link = xyes; then
20020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20022 { (exit 1); exit 1; }; }
20024 cat >conftest.$ac_ext <<_ACEOF
20027 cat confdefs.h >>conftest.$ac_ext
20028 cat >>conftest.$ac_ext <<_ACEOF
20029 /* end confdefs.h. */
20031 /* Override any gcc2 internal prototype to avoid an error. */
20035 /* We use char because int might match the return type of a gcc2
20036 builtin and then its argument prototype would still apply. */
20046 rm -f conftest.$ac_objext conftest$ac_exeext
20047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20048 (eval $ac_link) 2>conftest.er1
20050 grep -v '^ *+' conftest.er1 >conftest.err
20052 cat conftest.err >&5
20053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20054 (exit $ac_status); } &&
20055 { ac_try='test -z "$ac_c_werror_flag"
20056 || test ! -s conftest.err'
20057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20058 (eval $ac_try) 2>&5
20060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20061 (exit $ac_status); }; } &&
20062 { ac_try='test -s conftest$ac_exeext'
20063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20064 (eval $ac_try) 2>&5
20066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20067 (exit $ac_status); }; }; then
20068 ac_cv_lib_m_ctanf=yes
20070 echo "$as_me: failed program was:" >&5
20071 sed 's/^/| /' conftest.$ac_ext >&5
20073 ac_cv_lib_m_ctanf=no
20075 rm -f conftest.err conftest.$ac_objext \
20076 conftest$ac_exeext conftest.$ac_ext
20077 LIBS=$ac_check_lib_save_LIBS
20079 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
20080 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
20081 if test $ac_cv_lib_m_ctanf = yes; then
20083 cat >>confdefs.h <<\_ACEOF
20084 #define HAVE_CTANF 1
20089 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
20090 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
20091 if test "${ac_cv_lib_m_ctan+set}" = set; then
20092 echo $ECHO_N "(cached) $ECHO_C" >&6
20094 ac_check_lib_save_LIBS=$LIBS
20096 if test x$gcc_no_link = xyes; then
20097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20099 { (exit 1); exit 1; }; }
20101 cat >conftest.$ac_ext <<_ACEOF
20104 cat confdefs.h >>conftest.$ac_ext
20105 cat >>conftest.$ac_ext <<_ACEOF
20106 /* end confdefs.h. */
20108 /* Override any gcc2 internal prototype to avoid an error. */
20112 /* We use char because int might match the return type of a gcc2
20113 builtin and then its argument prototype would still apply. */
20123 rm -f conftest.$ac_objext conftest$ac_exeext
20124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20125 (eval $ac_link) 2>conftest.er1
20127 grep -v '^ *+' conftest.er1 >conftest.err
20129 cat conftest.err >&5
20130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20131 (exit $ac_status); } &&
20132 { ac_try='test -z "$ac_c_werror_flag"
20133 || test ! -s conftest.err'
20134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20135 (eval $ac_try) 2>&5
20137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20138 (exit $ac_status); }; } &&
20139 { ac_try='test -s conftest$ac_exeext'
20140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20141 (eval $ac_try) 2>&5
20143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20144 (exit $ac_status); }; }; then
20145 ac_cv_lib_m_ctan=yes
20147 echo "$as_me: failed program was:" >&5
20148 sed 's/^/| /' conftest.$ac_ext >&5
20150 ac_cv_lib_m_ctan=no
20152 rm -f conftest.err conftest.$ac_objext \
20153 conftest$ac_exeext conftest.$ac_ext
20154 LIBS=$ac_check_lib_save_LIBS
20156 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
20157 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
20158 if test $ac_cv_lib_m_ctan = yes; then
20160 cat >>confdefs.h <<\_ACEOF
20161 #define HAVE_CTAN 1
20166 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
20167 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
20168 if test "${ac_cv_lib_m_ctanl+set}" = set; then
20169 echo $ECHO_N "(cached) $ECHO_C" >&6
20171 ac_check_lib_save_LIBS=$LIBS
20173 if test x$gcc_no_link = xyes; then
20174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20176 { (exit 1); exit 1; }; }
20178 cat >conftest.$ac_ext <<_ACEOF
20181 cat confdefs.h >>conftest.$ac_ext
20182 cat >>conftest.$ac_ext <<_ACEOF
20183 /* end confdefs.h. */
20185 /* Override any gcc2 internal prototype to avoid an error. */
20189 /* We use char because int might match the return type of a gcc2
20190 builtin and then its argument prototype would still apply. */
20200 rm -f conftest.$ac_objext conftest$ac_exeext
20201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20202 (eval $ac_link) 2>conftest.er1
20204 grep -v '^ *+' conftest.er1 >conftest.err
20206 cat conftest.err >&5
20207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20208 (exit $ac_status); } &&
20209 { ac_try='test -z "$ac_c_werror_flag"
20210 || test ! -s conftest.err'
20211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20212 (eval $ac_try) 2>&5
20214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20215 (exit $ac_status); }; } &&
20216 { ac_try='test -s conftest$ac_exeext'
20217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20218 (eval $ac_try) 2>&5
20220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20221 (exit $ac_status); }; }; then
20222 ac_cv_lib_m_ctanl=yes
20224 echo "$as_me: failed program was:" >&5
20225 sed 's/^/| /' conftest.$ac_ext >&5
20227 ac_cv_lib_m_ctanl=no
20229 rm -f conftest.err conftest.$ac_objext \
20230 conftest$ac_exeext conftest.$ac_ext
20231 LIBS=$ac_check_lib_save_LIBS
20233 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
20234 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
20235 if test $ac_cv_lib_m_ctanl = yes; then
20237 cat >>confdefs.h <<\_ACEOF
20238 #define HAVE_CTANL 1
20243 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
20244 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
20245 if test "${ac_cv_lib_m_tanhf+set}" = set; then
20246 echo $ECHO_N "(cached) $ECHO_C" >&6
20248 ac_check_lib_save_LIBS=$LIBS
20250 if test x$gcc_no_link = xyes; then
20251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20253 { (exit 1); exit 1; }; }
20255 cat >conftest.$ac_ext <<_ACEOF
20258 cat confdefs.h >>conftest.$ac_ext
20259 cat >>conftest.$ac_ext <<_ACEOF
20260 /* end confdefs.h. */
20262 /* Override any gcc2 internal prototype to avoid an error. */
20266 /* We use char because int might match the return type of a gcc2
20267 builtin and then its argument prototype would still apply. */
20277 rm -f conftest.$ac_objext conftest$ac_exeext
20278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20279 (eval $ac_link) 2>conftest.er1
20281 grep -v '^ *+' conftest.er1 >conftest.err
20283 cat conftest.err >&5
20284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20285 (exit $ac_status); } &&
20286 { ac_try='test -z "$ac_c_werror_flag"
20287 || test ! -s conftest.err'
20288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20289 (eval $ac_try) 2>&5
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); }; } &&
20293 { ac_try='test -s conftest$ac_exeext'
20294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20295 (eval $ac_try) 2>&5
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); }; }; then
20299 ac_cv_lib_m_tanhf=yes
20301 echo "$as_me: failed program was:" >&5
20302 sed 's/^/| /' conftest.$ac_ext >&5
20304 ac_cv_lib_m_tanhf=no
20306 rm -f conftest.err conftest.$ac_objext \
20307 conftest$ac_exeext conftest.$ac_ext
20308 LIBS=$ac_check_lib_save_LIBS
20310 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
20311 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
20312 if test $ac_cv_lib_m_tanhf = yes; then
20314 cat >>confdefs.h <<\_ACEOF
20315 #define HAVE_TANHF 1
20320 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
20321 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
20322 if test "${ac_cv_lib_m_tanh+set}" = set; then
20323 echo $ECHO_N "(cached) $ECHO_C" >&6
20325 ac_check_lib_save_LIBS=$LIBS
20327 if test x$gcc_no_link = xyes; then
20328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20330 { (exit 1); exit 1; }; }
20332 cat >conftest.$ac_ext <<_ACEOF
20335 cat confdefs.h >>conftest.$ac_ext
20336 cat >>conftest.$ac_ext <<_ACEOF
20337 /* end confdefs.h. */
20339 /* Override any gcc2 internal prototype to avoid an error. */
20343 /* We use char because int might match the return type of a gcc2
20344 builtin and then its argument prototype would still apply. */
20354 rm -f conftest.$ac_objext conftest$ac_exeext
20355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20356 (eval $ac_link) 2>conftest.er1
20358 grep -v '^ *+' conftest.er1 >conftest.err
20360 cat conftest.err >&5
20361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362 (exit $ac_status); } &&
20363 { ac_try='test -z "$ac_c_werror_flag"
20364 || test ! -s conftest.err'
20365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20366 (eval $ac_try) 2>&5
20368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20369 (exit $ac_status); }; } &&
20370 { ac_try='test -s conftest$ac_exeext'
20371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20372 (eval $ac_try) 2>&5
20374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20375 (exit $ac_status); }; }; then
20376 ac_cv_lib_m_tanh=yes
20378 echo "$as_me: failed program was:" >&5
20379 sed 's/^/| /' conftest.$ac_ext >&5
20381 ac_cv_lib_m_tanh=no
20383 rm -f conftest.err conftest.$ac_objext \
20384 conftest$ac_exeext conftest.$ac_ext
20385 LIBS=$ac_check_lib_save_LIBS
20387 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
20388 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
20389 if test $ac_cv_lib_m_tanh = yes; then
20391 cat >>confdefs.h <<\_ACEOF
20392 #define HAVE_TANH 1
20397 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
20398 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
20399 if test "${ac_cv_lib_m_tanhl+set}" = set; then
20400 echo $ECHO_N "(cached) $ECHO_C" >&6
20402 ac_check_lib_save_LIBS=$LIBS
20404 if test x$gcc_no_link = xyes; then
20405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20407 { (exit 1); exit 1; }; }
20409 cat >conftest.$ac_ext <<_ACEOF
20412 cat confdefs.h >>conftest.$ac_ext
20413 cat >>conftest.$ac_ext <<_ACEOF
20414 /* end confdefs.h. */
20416 /* Override any gcc2 internal prototype to avoid an error. */
20420 /* We use char because int might match the return type of a gcc2
20421 builtin and then its argument prototype would still apply. */
20431 rm -f conftest.$ac_objext conftest$ac_exeext
20432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20433 (eval $ac_link) 2>conftest.er1
20435 grep -v '^ *+' conftest.er1 >conftest.err
20437 cat conftest.err >&5
20438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20439 (exit $ac_status); } &&
20440 { ac_try='test -z "$ac_c_werror_flag"
20441 || test ! -s conftest.err'
20442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20443 (eval $ac_try) 2>&5
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); }; } &&
20447 { ac_try='test -s conftest$ac_exeext'
20448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20449 (eval $ac_try) 2>&5
20451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20452 (exit $ac_status); }; }; then
20453 ac_cv_lib_m_tanhl=yes
20455 echo "$as_me: failed program was:" >&5
20456 sed 's/^/| /' conftest.$ac_ext >&5
20458 ac_cv_lib_m_tanhl=no
20460 rm -f conftest.err conftest.$ac_objext \
20461 conftest$ac_exeext conftest.$ac_ext
20462 LIBS=$ac_check_lib_save_LIBS
20464 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
20465 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
20466 if test $ac_cv_lib_m_tanhl = yes; then
20468 cat >>confdefs.h <<\_ACEOF
20469 #define HAVE_TANHL 1
20474 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
20475 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
20476 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
20477 echo $ECHO_N "(cached) $ECHO_C" >&6
20479 ac_check_lib_save_LIBS=$LIBS
20481 if test x$gcc_no_link = xyes; then
20482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20484 { (exit 1); exit 1; }; }
20486 cat >conftest.$ac_ext <<_ACEOF
20489 cat confdefs.h >>conftest.$ac_ext
20490 cat >>conftest.$ac_ext <<_ACEOF
20491 /* end confdefs.h. */
20493 /* Override any gcc2 internal prototype to avoid an error. */
20497 /* We use char because int might match the return type of a gcc2
20498 builtin and then its argument prototype would still apply. */
20508 rm -f conftest.$ac_objext conftest$ac_exeext
20509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20510 (eval $ac_link) 2>conftest.er1
20512 grep -v '^ *+' conftest.er1 >conftest.err
20514 cat conftest.err >&5
20515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20516 (exit $ac_status); } &&
20517 { ac_try='test -z "$ac_c_werror_flag"
20518 || test ! -s conftest.err'
20519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20520 (eval $ac_try) 2>&5
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); }; } &&
20524 { ac_try='test -s conftest$ac_exeext'
20525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20526 (eval $ac_try) 2>&5
20528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20529 (exit $ac_status); }; }; then
20530 ac_cv_lib_m_ctanhf=yes
20532 echo "$as_me: failed program was:" >&5
20533 sed 's/^/| /' conftest.$ac_ext >&5
20535 ac_cv_lib_m_ctanhf=no
20537 rm -f conftest.err conftest.$ac_objext \
20538 conftest$ac_exeext conftest.$ac_ext
20539 LIBS=$ac_check_lib_save_LIBS
20541 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
20542 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
20543 if test $ac_cv_lib_m_ctanhf = yes; then
20545 cat >>confdefs.h <<\_ACEOF
20546 #define HAVE_CTANHF 1
20551 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
20552 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
20553 if test "${ac_cv_lib_m_ctanh+set}" = set; then
20554 echo $ECHO_N "(cached) $ECHO_C" >&6
20556 ac_check_lib_save_LIBS=$LIBS
20558 if test x$gcc_no_link = xyes; then
20559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20561 { (exit 1); exit 1; }; }
20563 cat >conftest.$ac_ext <<_ACEOF
20566 cat confdefs.h >>conftest.$ac_ext
20567 cat >>conftest.$ac_ext <<_ACEOF
20568 /* end confdefs.h. */
20570 /* Override any gcc2 internal prototype to avoid an error. */
20574 /* We use char because int might match the return type of a gcc2
20575 builtin and then its argument prototype would still apply. */
20585 rm -f conftest.$ac_objext conftest$ac_exeext
20586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20587 (eval $ac_link) 2>conftest.er1
20589 grep -v '^ *+' conftest.er1 >conftest.err
20591 cat conftest.err >&5
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); } &&
20594 { ac_try='test -z "$ac_c_werror_flag"
20595 || test ! -s conftest.err'
20596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20597 (eval $ac_try) 2>&5
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); }; } &&
20601 { ac_try='test -s conftest$ac_exeext'
20602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20603 (eval $ac_try) 2>&5
20605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20606 (exit $ac_status); }; }; then
20607 ac_cv_lib_m_ctanh=yes
20609 echo "$as_me: failed program was:" >&5
20610 sed 's/^/| /' conftest.$ac_ext >&5
20612 ac_cv_lib_m_ctanh=no
20614 rm -f conftest.err conftest.$ac_objext \
20615 conftest$ac_exeext conftest.$ac_ext
20616 LIBS=$ac_check_lib_save_LIBS
20618 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
20619 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
20620 if test $ac_cv_lib_m_ctanh = yes; then
20622 cat >>confdefs.h <<\_ACEOF
20623 #define HAVE_CTANH 1
20628 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
20629 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
20630 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
20631 echo $ECHO_N "(cached) $ECHO_C" >&6
20633 ac_check_lib_save_LIBS=$LIBS
20635 if test x$gcc_no_link = xyes; then
20636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20638 { (exit 1); exit 1; }; }
20640 cat >conftest.$ac_ext <<_ACEOF
20643 cat confdefs.h >>conftest.$ac_ext
20644 cat >>conftest.$ac_ext <<_ACEOF
20645 /* end confdefs.h. */
20647 /* Override any gcc2 internal prototype to avoid an error. */
20651 /* We use char because int might match the return type of a gcc2
20652 builtin and then its argument prototype would still apply. */
20662 rm -f conftest.$ac_objext conftest$ac_exeext
20663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20664 (eval $ac_link) 2>conftest.er1
20666 grep -v '^ *+' conftest.er1 >conftest.err
20668 cat conftest.err >&5
20669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20670 (exit $ac_status); } &&
20671 { ac_try='test -z "$ac_c_werror_flag"
20672 || test ! -s conftest.err'
20673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20674 (eval $ac_try) 2>&5
20676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20677 (exit $ac_status); }; } &&
20678 { ac_try='test -s conftest$ac_exeext'
20679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20680 (eval $ac_try) 2>&5
20682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20683 (exit $ac_status); }; }; then
20684 ac_cv_lib_m_ctanhl=yes
20686 echo "$as_me: failed program was:" >&5
20687 sed 's/^/| /' conftest.$ac_ext >&5
20689 ac_cv_lib_m_ctanhl=no
20691 rm -f conftest.err conftest.$ac_objext \
20692 conftest$ac_exeext conftest.$ac_ext
20693 LIBS=$ac_check_lib_save_LIBS
20695 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
20696 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
20697 if test $ac_cv_lib_m_ctanhl = yes; then
20699 cat >>confdefs.h <<\_ACEOF
20700 #define HAVE_CTANHL 1
20705 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
20706 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
20707 if test "${ac_cv_lib_m_truncf+set}" = set; then
20708 echo $ECHO_N "(cached) $ECHO_C" >&6
20710 ac_check_lib_save_LIBS=$LIBS
20712 if test x$gcc_no_link = xyes; then
20713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20715 { (exit 1); exit 1; }; }
20717 cat >conftest.$ac_ext <<_ACEOF
20720 cat confdefs.h >>conftest.$ac_ext
20721 cat >>conftest.$ac_ext <<_ACEOF
20722 /* end confdefs.h. */
20724 /* Override any gcc2 internal prototype to avoid an error. */
20728 /* We use char because int might match the return type of a gcc2
20729 builtin and then its argument prototype would still apply. */
20739 rm -f conftest.$ac_objext conftest$ac_exeext
20740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20741 (eval $ac_link) 2>conftest.er1
20743 grep -v '^ *+' conftest.er1 >conftest.err
20745 cat conftest.err >&5
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); } &&
20748 { ac_try='test -z "$ac_c_werror_flag"
20749 || test ! -s conftest.err'
20750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20751 (eval $ac_try) 2>&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); }; } &&
20755 { ac_try='test -s conftest$ac_exeext'
20756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20757 (eval $ac_try) 2>&5
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); }; }; then
20761 ac_cv_lib_m_truncf=yes
20763 echo "$as_me: failed program was:" >&5
20764 sed 's/^/| /' conftest.$ac_ext >&5
20766 ac_cv_lib_m_truncf=no
20768 rm -f conftest.err conftest.$ac_objext \
20769 conftest$ac_exeext conftest.$ac_ext
20770 LIBS=$ac_check_lib_save_LIBS
20772 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
20773 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
20774 if test $ac_cv_lib_m_truncf = yes; then
20776 cat >>confdefs.h <<\_ACEOF
20777 #define HAVE_TRUNCF 1
20782 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
20783 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
20784 if test "${ac_cv_lib_m_trunc+set}" = set; then
20785 echo $ECHO_N "(cached) $ECHO_C" >&6
20787 ac_check_lib_save_LIBS=$LIBS
20789 if test x$gcc_no_link = xyes; then
20790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20792 { (exit 1); exit 1; }; }
20794 cat >conftest.$ac_ext <<_ACEOF
20797 cat confdefs.h >>conftest.$ac_ext
20798 cat >>conftest.$ac_ext <<_ACEOF
20799 /* end confdefs.h. */
20801 /* Override any gcc2 internal prototype to avoid an error. */
20805 /* We use char because int might match the return type of a gcc2
20806 builtin and then its argument prototype would still apply. */
20816 rm -f conftest.$ac_objext conftest$ac_exeext
20817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20818 (eval $ac_link) 2>conftest.er1
20820 grep -v '^ *+' conftest.er1 >conftest.err
20822 cat conftest.err >&5
20823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20824 (exit $ac_status); } &&
20825 { ac_try='test -z "$ac_c_werror_flag"
20826 || test ! -s conftest.err'
20827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20828 (eval $ac_try) 2>&5
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); }; } &&
20832 { ac_try='test -s conftest$ac_exeext'
20833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20834 (eval $ac_try) 2>&5
20836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20837 (exit $ac_status); }; }; then
20838 ac_cv_lib_m_trunc=yes
20840 echo "$as_me: failed program was:" >&5
20841 sed 's/^/| /' conftest.$ac_ext >&5
20843 ac_cv_lib_m_trunc=no
20845 rm -f conftest.err conftest.$ac_objext \
20846 conftest$ac_exeext conftest.$ac_ext
20847 LIBS=$ac_check_lib_save_LIBS
20849 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
20850 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
20851 if test $ac_cv_lib_m_trunc = yes; then
20853 cat >>confdefs.h <<\_ACEOF
20854 #define HAVE_TRUNC 1
20859 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
20860 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
20861 if test "${ac_cv_lib_m_truncl+set}" = set; then
20862 echo $ECHO_N "(cached) $ECHO_C" >&6
20864 ac_check_lib_save_LIBS=$LIBS
20866 if test x$gcc_no_link = xyes; then
20867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20869 { (exit 1); exit 1; }; }
20871 cat >conftest.$ac_ext <<_ACEOF
20874 cat confdefs.h >>conftest.$ac_ext
20875 cat >>conftest.$ac_ext <<_ACEOF
20876 /* end confdefs.h. */
20878 /* Override any gcc2 internal prototype to avoid an error. */
20882 /* We use char because int might match the return type of a gcc2
20883 builtin and then its argument prototype would still apply. */
20893 rm -f conftest.$ac_objext conftest$ac_exeext
20894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20895 (eval $ac_link) 2>conftest.er1
20897 grep -v '^ *+' conftest.er1 >conftest.err
20899 cat conftest.err >&5
20900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20901 (exit $ac_status); } &&
20902 { ac_try='test -z "$ac_c_werror_flag"
20903 || test ! -s conftest.err'
20904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20905 (eval $ac_try) 2>&5
20907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20908 (exit $ac_status); }; } &&
20909 { ac_try='test -s conftest$ac_exeext'
20910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20911 (eval $ac_try) 2>&5
20913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20914 (exit $ac_status); }; }; then
20915 ac_cv_lib_m_truncl=yes
20917 echo "$as_me: failed program was:" >&5
20918 sed 's/^/| /' conftest.$ac_ext >&5
20920 ac_cv_lib_m_truncl=no
20922 rm -f conftest.err conftest.$ac_objext \
20923 conftest$ac_exeext conftest.$ac_ext
20924 LIBS=$ac_check_lib_save_LIBS
20926 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
20927 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
20928 if test $ac_cv_lib_m_truncl = yes; then
20930 cat >>confdefs.h <<\_ACEOF
20931 #define HAVE_TRUNCL 1
20936 echo "$as_me:$LINENO: checking for erff in -lm" >&5
20937 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
20938 if test "${ac_cv_lib_m_erff+set}" = set; then
20939 echo $ECHO_N "(cached) $ECHO_C" >&6
20941 ac_check_lib_save_LIBS=$LIBS
20943 if test x$gcc_no_link = xyes; then
20944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20946 { (exit 1); exit 1; }; }
20948 cat >conftest.$ac_ext <<_ACEOF
20951 cat confdefs.h >>conftest.$ac_ext
20952 cat >>conftest.$ac_ext <<_ACEOF
20953 /* end confdefs.h. */
20955 /* Override any gcc2 internal prototype to avoid an error. */
20959 /* We use char because int might match the return type of a gcc2
20960 builtin and then its argument prototype would still apply. */
20970 rm -f conftest.$ac_objext conftest$ac_exeext
20971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20972 (eval $ac_link) 2>conftest.er1
20974 grep -v '^ *+' conftest.er1 >conftest.err
20976 cat conftest.err >&5
20977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978 (exit $ac_status); } &&
20979 { ac_try='test -z "$ac_c_werror_flag"
20980 || test ! -s conftest.err'
20981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20982 (eval $ac_try) 2>&5
20984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20985 (exit $ac_status); }; } &&
20986 { ac_try='test -s conftest$ac_exeext'
20987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20988 (eval $ac_try) 2>&5
20990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20991 (exit $ac_status); }; }; then
20992 ac_cv_lib_m_erff=yes
20994 echo "$as_me: failed program was:" >&5
20995 sed 's/^/| /' conftest.$ac_ext >&5
20997 ac_cv_lib_m_erff=no
20999 rm -f conftest.err conftest.$ac_objext \
21000 conftest$ac_exeext conftest.$ac_ext
21001 LIBS=$ac_check_lib_save_LIBS
21003 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
21004 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
21005 if test $ac_cv_lib_m_erff = yes; then
21007 cat >>confdefs.h <<\_ACEOF
21008 #define HAVE_ERFF 1
21013 echo "$as_me:$LINENO: checking for erf in -lm" >&5
21014 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
21015 if test "${ac_cv_lib_m_erf+set}" = set; then
21016 echo $ECHO_N "(cached) $ECHO_C" >&6
21018 ac_check_lib_save_LIBS=$LIBS
21020 if test x$gcc_no_link = xyes; then
21021 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21023 { (exit 1); exit 1; }; }
21025 cat >conftest.$ac_ext <<_ACEOF
21028 cat confdefs.h >>conftest.$ac_ext
21029 cat >>conftest.$ac_ext <<_ACEOF
21030 /* end confdefs.h. */
21032 /* Override any gcc2 internal prototype to avoid an error. */
21036 /* We use char because int might match the return type of a gcc2
21037 builtin and then its argument prototype would still apply. */
21047 rm -f conftest.$ac_objext conftest$ac_exeext
21048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21049 (eval $ac_link) 2>conftest.er1
21051 grep -v '^ *+' conftest.er1 >conftest.err
21053 cat conftest.err >&5
21054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21055 (exit $ac_status); } &&
21056 { ac_try='test -z "$ac_c_werror_flag"
21057 || test ! -s conftest.err'
21058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21059 (eval $ac_try) 2>&5
21061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21062 (exit $ac_status); }; } &&
21063 { ac_try='test -s conftest$ac_exeext'
21064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21065 (eval $ac_try) 2>&5
21067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21068 (exit $ac_status); }; }; then
21069 ac_cv_lib_m_erf=yes
21071 echo "$as_me: failed program was:" >&5
21072 sed 's/^/| /' conftest.$ac_ext >&5
21076 rm -f conftest.err conftest.$ac_objext \
21077 conftest$ac_exeext conftest.$ac_ext
21078 LIBS=$ac_check_lib_save_LIBS
21080 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
21081 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
21082 if test $ac_cv_lib_m_erf = yes; then
21084 cat >>confdefs.h <<\_ACEOF
21090 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
21091 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
21092 if test "${ac_cv_lib_m_erfl+set}" = set; then
21093 echo $ECHO_N "(cached) $ECHO_C" >&6
21095 ac_check_lib_save_LIBS=$LIBS
21097 if test x$gcc_no_link = xyes; then
21098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21100 { (exit 1); exit 1; }; }
21102 cat >conftest.$ac_ext <<_ACEOF
21105 cat confdefs.h >>conftest.$ac_ext
21106 cat >>conftest.$ac_ext <<_ACEOF
21107 /* end confdefs.h. */
21109 /* Override any gcc2 internal prototype to avoid an error. */
21113 /* We use char because int might match the return type of a gcc2
21114 builtin and then its argument prototype would still apply. */
21124 rm -f conftest.$ac_objext conftest$ac_exeext
21125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21126 (eval $ac_link) 2>conftest.er1
21128 grep -v '^ *+' conftest.er1 >conftest.err
21130 cat conftest.err >&5
21131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132 (exit $ac_status); } &&
21133 { ac_try='test -z "$ac_c_werror_flag"
21134 || test ! -s conftest.err'
21135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21136 (eval $ac_try) 2>&5
21138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21139 (exit $ac_status); }; } &&
21140 { ac_try='test -s conftest$ac_exeext'
21141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21142 (eval $ac_try) 2>&5
21144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21145 (exit $ac_status); }; }; then
21146 ac_cv_lib_m_erfl=yes
21148 echo "$as_me: failed program was:" >&5
21149 sed 's/^/| /' conftest.$ac_ext >&5
21151 ac_cv_lib_m_erfl=no
21153 rm -f conftest.err conftest.$ac_objext \
21154 conftest$ac_exeext conftest.$ac_ext
21155 LIBS=$ac_check_lib_save_LIBS
21157 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
21158 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
21159 if test $ac_cv_lib_m_erfl = yes; then
21161 cat >>confdefs.h <<\_ACEOF
21162 #define HAVE_ERFL 1
21167 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
21168 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
21169 if test "${ac_cv_lib_m_erfcf+set}" = set; then
21170 echo $ECHO_N "(cached) $ECHO_C" >&6
21172 ac_check_lib_save_LIBS=$LIBS
21174 if test x$gcc_no_link = xyes; then
21175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21177 { (exit 1); exit 1; }; }
21179 cat >conftest.$ac_ext <<_ACEOF
21182 cat confdefs.h >>conftest.$ac_ext
21183 cat >>conftest.$ac_ext <<_ACEOF
21184 /* end confdefs.h. */
21186 /* Override any gcc2 internal prototype to avoid an error. */
21190 /* We use char because int might match the return type of a gcc2
21191 builtin and then its argument prototype would still apply. */
21201 rm -f conftest.$ac_objext conftest$ac_exeext
21202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21203 (eval $ac_link) 2>conftest.er1
21205 grep -v '^ *+' conftest.er1 >conftest.err
21207 cat conftest.err >&5
21208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21209 (exit $ac_status); } &&
21210 { ac_try='test -z "$ac_c_werror_flag"
21211 || test ! -s conftest.err'
21212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21213 (eval $ac_try) 2>&5
21215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21216 (exit $ac_status); }; } &&
21217 { ac_try='test -s conftest$ac_exeext'
21218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21219 (eval $ac_try) 2>&5
21221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222 (exit $ac_status); }; }; then
21223 ac_cv_lib_m_erfcf=yes
21225 echo "$as_me: failed program was:" >&5
21226 sed 's/^/| /' conftest.$ac_ext >&5
21228 ac_cv_lib_m_erfcf=no
21230 rm -f conftest.err conftest.$ac_objext \
21231 conftest$ac_exeext conftest.$ac_ext
21232 LIBS=$ac_check_lib_save_LIBS
21234 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
21235 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
21236 if test $ac_cv_lib_m_erfcf = yes; then
21238 cat >>confdefs.h <<\_ACEOF
21239 #define HAVE_ERFCF 1
21244 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
21245 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
21246 if test "${ac_cv_lib_m_erfc+set}" = set; then
21247 echo $ECHO_N "(cached) $ECHO_C" >&6
21249 ac_check_lib_save_LIBS=$LIBS
21251 if test x$gcc_no_link = xyes; then
21252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21254 { (exit 1); exit 1; }; }
21256 cat >conftest.$ac_ext <<_ACEOF
21259 cat confdefs.h >>conftest.$ac_ext
21260 cat >>conftest.$ac_ext <<_ACEOF
21261 /* end confdefs.h. */
21263 /* Override any gcc2 internal prototype to avoid an error. */
21267 /* We use char because int might match the return type of a gcc2
21268 builtin and then its argument prototype would still apply. */
21278 rm -f conftest.$ac_objext conftest$ac_exeext
21279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21280 (eval $ac_link) 2>conftest.er1
21282 grep -v '^ *+' conftest.er1 >conftest.err
21284 cat conftest.err >&5
21285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21286 (exit $ac_status); } &&
21287 { ac_try='test -z "$ac_c_werror_flag"
21288 || test ! -s conftest.err'
21289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21290 (eval $ac_try) 2>&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); }; } &&
21294 { ac_try='test -s conftest$ac_exeext'
21295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21296 (eval $ac_try) 2>&5
21298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21299 (exit $ac_status); }; }; then
21300 ac_cv_lib_m_erfc=yes
21302 echo "$as_me: failed program was:" >&5
21303 sed 's/^/| /' conftest.$ac_ext >&5
21305 ac_cv_lib_m_erfc=no
21307 rm -f conftest.err conftest.$ac_objext \
21308 conftest$ac_exeext conftest.$ac_ext
21309 LIBS=$ac_check_lib_save_LIBS
21311 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
21312 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
21313 if test $ac_cv_lib_m_erfc = yes; then
21315 cat >>confdefs.h <<\_ACEOF
21316 #define HAVE_ERFC 1
21321 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
21322 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
21323 if test "${ac_cv_lib_m_erfcl+set}" = set; then
21324 echo $ECHO_N "(cached) $ECHO_C" >&6
21326 ac_check_lib_save_LIBS=$LIBS
21328 if test x$gcc_no_link = xyes; then
21329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21331 { (exit 1); exit 1; }; }
21333 cat >conftest.$ac_ext <<_ACEOF
21336 cat confdefs.h >>conftest.$ac_ext
21337 cat >>conftest.$ac_ext <<_ACEOF
21338 /* end confdefs.h. */
21340 /* Override any gcc2 internal prototype to avoid an error. */
21344 /* We use char because int might match the return type of a gcc2
21345 builtin and then its argument prototype would still apply. */
21355 rm -f conftest.$ac_objext conftest$ac_exeext
21356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21357 (eval $ac_link) 2>conftest.er1
21359 grep -v '^ *+' conftest.er1 >conftest.err
21361 cat conftest.err >&5
21362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); } &&
21364 { ac_try='test -z "$ac_c_werror_flag"
21365 || test ! -s conftest.err'
21366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21367 (eval $ac_try) 2>&5
21369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21370 (exit $ac_status); }; } &&
21371 { ac_try='test -s conftest$ac_exeext'
21372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21373 (eval $ac_try) 2>&5
21375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21376 (exit $ac_status); }; }; then
21377 ac_cv_lib_m_erfcl=yes
21379 echo "$as_me: failed program was:" >&5
21380 sed 's/^/| /' conftest.$ac_ext >&5
21382 ac_cv_lib_m_erfcl=no
21384 rm -f conftest.err conftest.$ac_objext \
21385 conftest$ac_exeext conftest.$ac_ext
21386 LIBS=$ac_check_lib_save_LIBS
21388 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
21389 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
21390 if test $ac_cv_lib_m_erfcl = yes; then
21392 cat >>confdefs.h <<\_ACEOF
21393 #define HAVE_ERFCL 1
21398 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
21399 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
21400 if test "${ac_cv_lib_m_j0f+set}" = set; then
21401 echo $ECHO_N "(cached) $ECHO_C" >&6
21403 ac_check_lib_save_LIBS=$LIBS
21405 if test x$gcc_no_link = xyes; then
21406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21408 { (exit 1); exit 1; }; }
21410 cat >conftest.$ac_ext <<_ACEOF
21413 cat confdefs.h >>conftest.$ac_ext
21414 cat >>conftest.$ac_ext <<_ACEOF
21415 /* end confdefs.h. */
21417 /* Override any gcc2 internal prototype to avoid an error. */
21421 /* We use char because int might match the return type of a gcc2
21422 builtin and then its argument prototype would still apply. */
21432 rm -f conftest.$ac_objext conftest$ac_exeext
21433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21434 (eval $ac_link) 2>conftest.er1
21436 grep -v '^ *+' conftest.er1 >conftest.err
21438 cat conftest.err >&5
21439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440 (exit $ac_status); } &&
21441 { ac_try='test -z "$ac_c_werror_flag"
21442 || test ! -s conftest.err'
21443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21444 (eval $ac_try) 2>&5
21446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); }; } &&
21448 { ac_try='test -s conftest$ac_exeext'
21449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21450 (eval $ac_try) 2>&5
21452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21453 (exit $ac_status); }; }; then
21454 ac_cv_lib_m_j0f=yes
21456 echo "$as_me: failed program was:" >&5
21457 sed 's/^/| /' conftest.$ac_ext >&5
21461 rm -f conftest.err conftest.$ac_objext \
21462 conftest$ac_exeext conftest.$ac_ext
21463 LIBS=$ac_check_lib_save_LIBS
21465 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
21466 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
21467 if test $ac_cv_lib_m_j0f = yes; then
21469 cat >>confdefs.h <<\_ACEOF
21475 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
21476 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
21477 if test "${ac_cv_lib_m_j0+set}" = set; then
21478 echo $ECHO_N "(cached) $ECHO_C" >&6
21480 ac_check_lib_save_LIBS=$LIBS
21482 if test x$gcc_no_link = xyes; then
21483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21485 { (exit 1); exit 1; }; }
21487 cat >conftest.$ac_ext <<_ACEOF
21490 cat confdefs.h >>conftest.$ac_ext
21491 cat >>conftest.$ac_ext <<_ACEOF
21492 /* end confdefs.h. */
21494 /* Override any gcc2 internal prototype to avoid an error. */
21498 /* We use char because int might match the return type of a gcc2
21499 builtin and then its argument prototype would still apply. */
21509 rm -f conftest.$ac_objext conftest$ac_exeext
21510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21511 (eval $ac_link) 2>conftest.er1
21513 grep -v '^ *+' conftest.er1 >conftest.err
21515 cat conftest.err >&5
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); } &&
21518 { ac_try='test -z "$ac_c_werror_flag"
21519 || test ! -s conftest.err'
21520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21521 (eval $ac_try) 2>&5
21523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21524 (exit $ac_status); }; } &&
21525 { ac_try='test -s conftest$ac_exeext'
21526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21527 (eval $ac_try) 2>&5
21529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21530 (exit $ac_status); }; }; then
21533 echo "$as_me: failed program was:" >&5
21534 sed 's/^/| /' conftest.$ac_ext >&5
21538 rm -f conftest.err conftest.$ac_objext \
21539 conftest$ac_exeext conftest.$ac_ext
21540 LIBS=$ac_check_lib_save_LIBS
21542 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
21543 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
21544 if test $ac_cv_lib_m_j0 = yes; then
21546 cat >>confdefs.h <<\_ACEOF
21552 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
21553 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
21554 if test "${ac_cv_lib_m_j0l+set}" = set; then
21555 echo $ECHO_N "(cached) $ECHO_C" >&6
21557 ac_check_lib_save_LIBS=$LIBS
21559 if test x$gcc_no_link = xyes; then
21560 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21562 { (exit 1); exit 1; }; }
21564 cat >conftest.$ac_ext <<_ACEOF
21567 cat confdefs.h >>conftest.$ac_ext
21568 cat >>conftest.$ac_ext <<_ACEOF
21569 /* end confdefs.h. */
21571 /* Override any gcc2 internal prototype to avoid an error. */
21575 /* We use char because int might match the return type of a gcc2
21576 builtin and then its argument prototype would still apply. */
21586 rm -f conftest.$ac_objext conftest$ac_exeext
21587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21588 (eval $ac_link) 2>conftest.er1
21590 grep -v '^ *+' conftest.er1 >conftest.err
21592 cat conftest.err >&5
21593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594 (exit $ac_status); } &&
21595 { ac_try='test -z "$ac_c_werror_flag"
21596 || test ! -s conftest.err'
21597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21598 (eval $ac_try) 2>&5
21600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21601 (exit $ac_status); }; } &&
21602 { ac_try='test -s conftest$ac_exeext'
21603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21604 (eval $ac_try) 2>&5
21606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21607 (exit $ac_status); }; }; then
21608 ac_cv_lib_m_j0l=yes
21610 echo "$as_me: failed program was:" >&5
21611 sed 's/^/| /' conftest.$ac_ext >&5
21615 rm -f conftest.err conftest.$ac_objext \
21616 conftest$ac_exeext conftest.$ac_ext
21617 LIBS=$ac_check_lib_save_LIBS
21619 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
21620 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
21621 if test $ac_cv_lib_m_j0l = yes; then
21623 cat >>confdefs.h <<\_ACEOF
21629 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
21630 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
21631 if test "${ac_cv_lib_m_j1f+set}" = set; then
21632 echo $ECHO_N "(cached) $ECHO_C" >&6
21634 ac_check_lib_save_LIBS=$LIBS
21636 if test x$gcc_no_link = xyes; then
21637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21639 { (exit 1); exit 1; }; }
21641 cat >conftest.$ac_ext <<_ACEOF
21644 cat confdefs.h >>conftest.$ac_ext
21645 cat >>conftest.$ac_ext <<_ACEOF
21646 /* end confdefs.h. */
21648 /* Override any gcc2 internal prototype to avoid an error. */
21652 /* We use char because int might match the return type of a gcc2
21653 builtin and then its argument prototype would still apply. */
21663 rm -f conftest.$ac_objext conftest$ac_exeext
21664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21665 (eval $ac_link) 2>conftest.er1
21667 grep -v '^ *+' conftest.er1 >conftest.err
21669 cat conftest.err >&5
21670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21671 (exit $ac_status); } &&
21672 { ac_try='test -z "$ac_c_werror_flag"
21673 || test ! -s conftest.err'
21674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21675 (eval $ac_try) 2>&5
21677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21678 (exit $ac_status); }; } &&
21679 { ac_try='test -s conftest$ac_exeext'
21680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21681 (eval $ac_try) 2>&5
21683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21684 (exit $ac_status); }; }; then
21685 ac_cv_lib_m_j1f=yes
21687 echo "$as_me: failed program was:" >&5
21688 sed 's/^/| /' conftest.$ac_ext >&5
21692 rm -f conftest.err conftest.$ac_objext \
21693 conftest$ac_exeext conftest.$ac_ext
21694 LIBS=$ac_check_lib_save_LIBS
21696 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
21697 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
21698 if test $ac_cv_lib_m_j1f = yes; then
21700 cat >>confdefs.h <<\_ACEOF
21706 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
21707 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
21708 if test "${ac_cv_lib_m_j1+set}" = set; then
21709 echo $ECHO_N "(cached) $ECHO_C" >&6
21711 ac_check_lib_save_LIBS=$LIBS
21713 if test x$gcc_no_link = xyes; then
21714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21716 { (exit 1); exit 1; }; }
21718 cat >conftest.$ac_ext <<_ACEOF
21721 cat confdefs.h >>conftest.$ac_ext
21722 cat >>conftest.$ac_ext <<_ACEOF
21723 /* end confdefs.h. */
21725 /* Override any gcc2 internal prototype to avoid an error. */
21729 /* We use char because int might match the return type of a gcc2
21730 builtin and then its argument prototype would still apply. */
21740 rm -f conftest.$ac_objext conftest$ac_exeext
21741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21742 (eval $ac_link) 2>conftest.er1
21744 grep -v '^ *+' conftest.er1 >conftest.err
21746 cat conftest.err >&5
21747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748 (exit $ac_status); } &&
21749 { ac_try='test -z "$ac_c_werror_flag"
21750 || test ! -s conftest.err'
21751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21752 (eval $ac_try) 2>&5
21754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21755 (exit $ac_status); }; } &&
21756 { ac_try='test -s conftest$ac_exeext'
21757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21758 (eval $ac_try) 2>&5
21760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21761 (exit $ac_status); }; }; then
21764 echo "$as_me: failed program was:" >&5
21765 sed 's/^/| /' conftest.$ac_ext >&5
21769 rm -f conftest.err conftest.$ac_objext \
21770 conftest$ac_exeext conftest.$ac_ext
21771 LIBS=$ac_check_lib_save_LIBS
21773 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
21774 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
21775 if test $ac_cv_lib_m_j1 = yes; then
21777 cat >>confdefs.h <<\_ACEOF
21783 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
21784 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
21785 if test "${ac_cv_lib_m_j1l+set}" = set; then
21786 echo $ECHO_N "(cached) $ECHO_C" >&6
21788 ac_check_lib_save_LIBS=$LIBS
21790 if test x$gcc_no_link = xyes; then
21791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21793 { (exit 1); exit 1; }; }
21795 cat >conftest.$ac_ext <<_ACEOF
21798 cat confdefs.h >>conftest.$ac_ext
21799 cat >>conftest.$ac_ext <<_ACEOF
21800 /* end confdefs.h. */
21802 /* Override any gcc2 internal prototype to avoid an error. */
21806 /* We use char because int might match the return type of a gcc2
21807 builtin and then its argument prototype would still apply. */
21817 rm -f conftest.$ac_objext conftest$ac_exeext
21818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21819 (eval $ac_link) 2>conftest.er1
21821 grep -v '^ *+' conftest.er1 >conftest.err
21823 cat conftest.err >&5
21824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21825 (exit $ac_status); } &&
21826 { ac_try='test -z "$ac_c_werror_flag"
21827 || test ! -s conftest.err'
21828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21829 (eval $ac_try) 2>&5
21831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832 (exit $ac_status); }; } &&
21833 { ac_try='test -s conftest$ac_exeext'
21834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21835 (eval $ac_try) 2>&5
21837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21838 (exit $ac_status); }; }; then
21839 ac_cv_lib_m_j1l=yes
21841 echo "$as_me: failed program was:" >&5
21842 sed 's/^/| /' conftest.$ac_ext >&5
21846 rm -f conftest.err conftest.$ac_objext \
21847 conftest$ac_exeext conftest.$ac_ext
21848 LIBS=$ac_check_lib_save_LIBS
21850 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
21851 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
21852 if test $ac_cv_lib_m_j1l = yes; then
21854 cat >>confdefs.h <<\_ACEOF
21860 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
21861 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
21862 if test "${ac_cv_lib_m_jnf+set}" = set; then
21863 echo $ECHO_N "(cached) $ECHO_C" >&6
21865 ac_check_lib_save_LIBS=$LIBS
21867 if test x$gcc_no_link = xyes; then
21868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21870 { (exit 1); exit 1; }; }
21872 cat >conftest.$ac_ext <<_ACEOF
21875 cat confdefs.h >>conftest.$ac_ext
21876 cat >>conftest.$ac_ext <<_ACEOF
21877 /* end confdefs.h. */
21879 /* Override any gcc2 internal prototype to avoid an error. */
21883 /* We use char because int might match the return type of a gcc2
21884 builtin and then its argument prototype would still apply. */
21894 rm -f conftest.$ac_objext conftest$ac_exeext
21895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21896 (eval $ac_link) 2>conftest.er1
21898 grep -v '^ *+' conftest.er1 >conftest.err
21900 cat conftest.err >&5
21901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21902 (exit $ac_status); } &&
21903 { ac_try='test -z "$ac_c_werror_flag"
21904 || test ! -s conftest.err'
21905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21906 (eval $ac_try) 2>&5
21908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21909 (exit $ac_status); }; } &&
21910 { ac_try='test -s conftest$ac_exeext'
21911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21912 (eval $ac_try) 2>&5
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); }; }; then
21916 ac_cv_lib_m_jnf=yes
21918 echo "$as_me: failed program was:" >&5
21919 sed 's/^/| /' conftest.$ac_ext >&5
21923 rm -f conftest.err conftest.$ac_objext \
21924 conftest$ac_exeext conftest.$ac_ext
21925 LIBS=$ac_check_lib_save_LIBS
21927 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
21928 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
21929 if test $ac_cv_lib_m_jnf = yes; then
21931 cat >>confdefs.h <<\_ACEOF
21937 echo "$as_me:$LINENO: checking for jn in -lm" >&5
21938 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
21939 if test "${ac_cv_lib_m_jn+set}" = set; then
21940 echo $ECHO_N "(cached) $ECHO_C" >&6
21942 ac_check_lib_save_LIBS=$LIBS
21944 if test x$gcc_no_link = xyes; then
21945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21947 { (exit 1); exit 1; }; }
21949 cat >conftest.$ac_ext <<_ACEOF
21952 cat confdefs.h >>conftest.$ac_ext
21953 cat >>conftest.$ac_ext <<_ACEOF
21954 /* end confdefs.h. */
21956 /* Override any gcc2 internal prototype to avoid an error. */
21960 /* We use char because int might match the return type of a gcc2
21961 builtin and then its argument prototype would still apply. */
21971 rm -f conftest.$ac_objext conftest$ac_exeext
21972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21973 (eval $ac_link) 2>conftest.er1
21975 grep -v '^ *+' conftest.er1 >conftest.err
21977 cat conftest.err >&5
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); } &&
21980 { ac_try='test -z "$ac_c_werror_flag"
21981 || test ! -s conftest.err'
21982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21983 (eval $ac_try) 2>&5
21985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21986 (exit $ac_status); }; } &&
21987 { ac_try='test -s conftest$ac_exeext'
21988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21989 (eval $ac_try) 2>&5
21991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21992 (exit $ac_status); }; }; then
21995 echo "$as_me: failed program was:" >&5
21996 sed 's/^/| /' conftest.$ac_ext >&5
22000 rm -f conftest.err conftest.$ac_objext \
22001 conftest$ac_exeext conftest.$ac_ext
22002 LIBS=$ac_check_lib_save_LIBS
22004 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
22005 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
22006 if test $ac_cv_lib_m_jn = yes; then
22008 cat >>confdefs.h <<\_ACEOF
22014 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
22015 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
22016 if test "${ac_cv_lib_m_jnl+set}" = set; then
22017 echo $ECHO_N "(cached) $ECHO_C" >&6
22019 ac_check_lib_save_LIBS=$LIBS
22021 if test x$gcc_no_link = xyes; then
22022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22024 { (exit 1); exit 1; }; }
22026 cat >conftest.$ac_ext <<_ACEOF
22029 cat confdefs.h >>conftest.$ac_ext
22030 cat >>conftest.$ac_ext <<_ACEOF
22031 /* end confdefs.h. */
22033 /* Override any gcc2 internal prototype to avoid an error. */
22037 /* We use char because int might match the return type of a gcc2
22038 builtin and then its argument prototype would still apply. */
22048 rm -f conftest.$ac_objext conftest$ac_exeext
22049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22050 (eval $ac_link) 2>conftest.er1
22052 grep -v '^ *+' conftest.er1 >conftest.err
22054 cat conftest.err >&5
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); } &&
22057 { ac_try='test -z "$ac_c_werror_flag"
22058 || test ! -s conftest.err'
22059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22060 (eval $ac_try) 2>&5
22062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22063 (exit $ac_status); }; } &&
22064 { ac_try='test -s conftest$ac_exeext'
22065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22066 (eval $ac_try) 2>&5
22068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22069 (exit $ac_status); }; }; then
22070 ac_cv_lib_m_jnl=yes
22072 echo "$as_me: failed program was:" >&5
22073 sed 's/^/| /' conftest.$ac_ext >&5
22077 rm -f conftest.err conftest.$ac_objext \
22078 conftest$ac_exeext conftest.$ac_ext
22079 LIBS=$ac_check_lib_save_LIBS
22081 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
22082 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
22083 if test $ac_cv_lib_m_jnl = yes; then
22085 cat >>confdefs.h <<\_ACEOF
22091 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
22092 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
22093 if test "${ac_cv_lib_m_y0f+set}" = set; then
22094 echo $ECHO_N "(cached) $ECHO_C" >&6
22096 ac_check_lib_save_LIBS=$LIBS
22098 if test x$gcc_no_link = xyes; then
22099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22101 { (exit 1); exit 1; }; }
22103 cat >conftest.$ac_ext <<_ACEOF
22106 cat confdefs.h >>conftest.$ac_ext
22107 cat >>conftest.$ac_ext <<_ACEOF
22108 /* end confdefs.h. */
22110 /* Override any gcc2 internal prototype to avoid an error. */
22114 /* We use char because int might match the return type of a gcc2
22115 builtin and then its argument prototype would still apply. */
22125 rm -f conftest.$ac_objext conftest$ac_exeext
22126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22127 (eval $ac_link) 2>conftest.er1
22129 grep -v '^ *+' conftest.er1 >conftest.err
22131 cat conftest.err >&5
22132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133 (exit $ac_status); } &&
22134 { ac_try='test -z "$ac_c_werror_flag"
22135 || test ! -s conftest.err'
22136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22137 (eval $ac_try) 2>&5
22139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22140 (exit $ac_status); }; } &&
22141 { ac_try='test -s conftest$ac_exeext'
22142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22143 (eval $ac_try) 2>&5
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); }; }; then
22147 ac_cv_lib_m_y0f=yes
22149 echo "$as_me: failed program was:" >&5
22150 sed 's/^/| /' conftest.$ac_ext >&5
22154 rm -f conftest.err conftest.$ac_objext \
22155 conftest$ac_exeext conftest.$ac_ext
22156 LIBS=$ac_check_lib_save_LIBS
22158 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
22159 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
22160 if test $ac_cv_lib_m_y0f = yes; then
22162 cat >>confdefs.h <<\_ACEOF
22168 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
22169 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
22170 if test "${ac_cv_lib_m_y0+set}" = set; then
22171 echo $ECHO_N "(cached) $ECHO_C" >&6
22173 ac_check_lib_save_LIBS=$LIBS
22175 if test x$gcc_no_link = xyes; then
22176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22178 { (exit 1); exit 1; }; }
22180 cat >conftest.$ac_ext <<_ACEOF
22183 cat confdefs.h >>conftest.$ac_ext
22184 cat >>conftest.$ac_ext <<_ACEOF
22185 /* end confdefs.h. */
22187 /* Override any gcc2 internal prototype to avoid an error. */
22191 /* We use char because int might match the return type of a gcc2
22192 builtin and then its argument prototype would still apply. */
22202 rm -f conftest.$ac_objext conftest$ac_exeext
22203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22204 (eval $ac_link) 2>conftest.er1
22206 grep -v '^ *+' conftest.er1 >conftest.err
22208 cat conftest.err >&5
22209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22210 (exit $ac_status); } &&
22211 { ac_try='test -z "$ac_c_werror_flag"
22212 || test ! -s conftest.err'
22213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22214 (eval $ac_try) 2>&5
22216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22217 (exit $ac_status); }; } &&
22218 { ac_try='test -s conftest$ac_exeext'
22219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22220 (eval $ac_try) 2>&5
22222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22223 (exit $ac_status); }; }; then
22226 echo "$as_me: failed program was:" >&5
22227 sed 's/^/| /' conftest.$ac_ext >&5
22231 rm -f conftest.err conftest.$ac_objext \
22232 conftest$ac_exeext conftest.$ac_ext
22233 LIBS=$ac_check_lib_save_LIBS
22235 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
22236 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
22237 if test $ac_cv_lib_m_y0 = yes; then
22239 cat >>confdefs.h <<\_ACEOF
22245 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
22246 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
22247 if test "${ac_cv_lib_m_y0l+set}" = set; then
22248 echo $ECHO_N "(cached) $ECHO_C" >&6
22250 ac_check_lib_save_LIBS=$LIBS
22252 if test x$gcc_no_link = xyes; then
22253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22255 { (exit 1); exit 1; }; }
22257 cat >conftest.$ac_ext <<_ACEOF
22260 cat confdefs.h >>conftest.$ac_ext
22261 cat >>conftest.$ac_ext <<_ACEOF
22262 /* end confdefs.h. */
22264 /* Override any gcc2 internal prototype to avoid an error. */
22268 /* We use char because int might match the return type of a gcc2
22269 builtin and then its argument prototype would still apply. */
22279 rm -f conftest.$ac_objext conftest$ac_exeext
22280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22281 (eval $ac_link) 2>conftest.er1
22283 grep -v '^ *+' conftest.er1 >conftest.err
22285 cat conftest.err >&5
22286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287 (exit $ac_status); } &&
22288 { ac_try='test -z "$ac_c_werror_flag"
22289 || test ! -s conftest.err'
22290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22291 (eval $ac_try) 2>&5
22293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22294 (exit $ac_status); }; } &&
22295 { ac_try='test -s conftest$ac_exeext'
22296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22297 (eval $ac_try) 2>&5
22299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300 (exit $ac_status); }; }; then
22301 ac_cv_lib_m_y0l=yes
22303 echo "$as_me: failed program was:" >&5
22304 sed 's/^/| /' conftest.$ac_ext >&5
22308 rm -f conftest.err conftest.$ac_objext \
22309 conftest$ac_exeext conftest.$ac_ext
22310 LIBS=$ac_check_lib_save_LIBS
22312 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
22313 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
22314 if test $ac_cv_lib_m_y0l = yes; then
22316 cat >>confdefs.h <<\_ACEOF
22322 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
22323 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
22324 if test "${ac_cv_lib_m_y1f+set}" = set; then
22325 echo $ECHO_N "(cached) $ECHO_C" >&6
22327 ac_check_lib_save_LIBS=$LIBS
22329 if test x$gcc_no_link = xyes; then
22330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22332 { (exit 1); exit 1; }; }
22334 cat >conftest.$ac_ext <<_ACEOF
22337 cat confdefs.h >>conftest.$ac_ext
22338 cat >>conftest.$ac_ext <<_ACEOF
22339 /* end confdefs.h. */
22341 /* Override any gcc2 internal prototype to avoid an error. */
22345 /* We use char because int might match the return type of a gcc2
22346 builtin and then its argument prototype would still apply. */
22356 rm -f conftest.$ac_objext conftest$ac_exeext
22357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22358 (eval $ac_link) 2>conftest.er1
22360 grep -v '^ *+' conftest.er1 >conftest.err
22362 cat conftest.err >&5
22363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22364 (exit $ac_status); } &&
22365 { ac_try='test -z "$ac_c_werror_flag"
22366 || test ! -s conftest.err'
22367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22368 (eval $ac_try) 2>&5
22370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22371 (exit $ac_status); }; } &&
22372 { ac_try='test -s conftest$ac_exeext'
22373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22374 (eval $ac_try) 2>&5
22376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22377 (exit $ac_status); }; }; then
22378 ac_cv_lib_m_y1f=yes
22380 echo "$as_me: failed program was:" >&5
22381 sed 's/^/| /' conftest.$ac_ext >&5
22385 rm -f conftest.err conftest.$ac_objext \
22386 conftest$ac_exeext conftest.$ac_ext
22387 LIBS=$ac_check_lib_save_LIBS
22389 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
22390 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
22391 if test $ac_cv_lib_m_y1f = yes; then
22393 cat >>confdefs.h <<\_ACEOF
22399 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
22400 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
22401 if test "${ac_cv_lib_m_y1+set}" = set; then
22402 echo $ECHO_N "(cached) $ECHO_C" >&6
22404 ac_check_lib_save_LIBS=$LIBS
22406 if test x$gcc_no_link = xyes; then
22407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22409 { (exit 1); exit 1; }; }
22411 cat >conftest.$ac_ext <<_ACEOF
22414 cat confdefs.h >>conftest.$ac_ext
22415 cat >>conftest.$ac_ext <<_ACEOF
22416 /* end confdefs.h. */
22418 /* Override any gcc2 internal prototype to avoid an error. */
22422 /* We use char because int might match the return type of a gcc2
22423 builtin and then its argument prototype would still apply. */
22433 rm -f conftest.$ac_objext conftest$ac_exeext
22434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22435 (eval $ac_link) 2>conftest.er1
22437 grep -v '^ *+' conftest.er1 >conftest.err
22439 cat conftest.err >&5
22440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22441 (exit $ac_status); } &&
22442 { ac_try='test -z "$ac_c_werror_flag"
22443 || test ! -s conftest.err'
22444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22445 (eval $ac_try) 2>&5
22447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22448 (exit $ac_status); }; } &&
22449 { ac_try='test -s conftest$ac_exeext'
22450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22451 (eval $ac_try) 2>&5
22453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22454 (exit $ac_status); }; }; then
22457 echo "$as_me: failed program was:" >&5
22458 sed 's/^/| /' conftest.$ac_ext >&5
22462 rm -f conftest.err conftest.$ac_objext \
22463 conftest$ac_exeext conftest.$ac_ext
22464 LIBS=$ac_check_lib_save_LIBS
22466 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
22467 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
22468 if test $ac_cv_lib_m_y1 = yes; then
22470 cat >>confdefs.h <<\_ACEOF
22476 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
22477 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
22478 if test "${ac_cv_lib_m_y1l+set}" = set; then
22479 echo $ECHO_N "(cached) $ECHO_C" >&6
22481 ac_check_lib_save_LIBS=$LIBS
22483 if test x$gcc_no_link = xyes; then
22484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22486 { (exit 1); exit 1; }; }
22488 cat >conftest.$ac_ext <<_ACEOF
22491 cat confdefs.h >>conftest.$ac_ext
22492 cat >>conftest.$ac_ext <<_ACEOF
22493 /* end confdefs.h. */
22495 /* Override any gcc2 internal prototype to avoid an error. */
22499 /* We use char because int might match the return type of a gcc2
22500 builtin and then its argument prototype would still apply. */
22510 rm -f conftest.$ac_objext conftest$ac_exeext
22511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22512 (eval $ac_link) 2>conftest.er1
22514 grep -v '^ *+' conftest.er1 >conftest.err
22516 cat conftest.err >&5
22517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22518 (exit $ac_status); } &&
22519 { ac_try='test -z "$ac_c_werror_flag"
22520 || test ! -s conftest.err'
22521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22522 (eval $ac_try) 2>&5
22524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22525 (exit $ac_status); }; } &&
22526 { ac_try='test -s conftest$ac_exeext'
22527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22528 (eval $ac_try) 2>&5
22530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531 (exit $ac_status); }; }; then
22532 ac_cv_lib_m_y1l=yes
22534 echo "$as_me: failed program was:" >&5
22535 sed 's/^/| /' conftest.$ac_ext >&5
22539 rm -f conftest.err conftest.$ac_objext \
22540 conftest$ac_exeext conftest.$ac_ext
22541 LIBS=$ac_check_lib_save_LIBS
22543 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
22544 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
22545 if test $ac_cv_lib_m_y1l = yes; then
22547 cat >>confdefs.h <<\_ACEOF
22553 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
22554 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
22555 if test "${ac_cv_lib_m_ynf+set}" = set; then
22556 echo $ECHO_N "(cached) $ECHO_C" >&6
22558 ac_check_lib_save_LIBS=$LIBS
22560 if test x$gcc_no_link = xyes; then
22561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22563 { (exit 1); exit 1; }; }
22565 cat >conftest.$ac_ext <<_ACEOF
22568 cat confdefs.h >>conftest.$ac_ext
22569 cat >>conftest.$ac_ext <<_ACEOF
22570 /* end confdefs.h. */
22572 /* Override any gcc2 internal prototype to avoid an error. */
22576 /* We use char because int might match the return type of a gcc2
22577 builtin and then its argument prototype would still apply. */
22587 rm -f conftest.$ac_objext conftest$ac_exeext
22588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22589 (eval $ac_link) 2>conftest.er1
22591 grep -v '^ *+' conftest.er1 >conftest.err
22593 cat conftest.err >&5
22594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22595 (exit $ac_status); } &&
22596 { ac_try='test -z "$ac_c_werror_flag"
22597 || test ! -s conftest.err'
22598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22599 (eval $ac_try) 2>&5
22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602 (exit $ac_status); }; } &&
22603 { ac_try='test -s conftest$ac_exeext'
22604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22605 (eval $ac_try) 2>&5
22607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22608 (exit $ac_status); }; }; then
22609 ac_cv_lib_m_ynf=yes
22611 echo "$as_me: failed program was:" >&5
22612 sed 's/^/| /' conftest.$ac_ext >&5
22616 rm -f conftest.err conftest.$ac_objext \
22617 conftest$ac_exeext conftest.$ac_ext
22618 LIBS=$ac_check_lib_save_LIBS
22620 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
22621 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
22622 if test $ac_cv_lib_m_ynf = yes; then
22624 cat >>confdefs.h <<\_ACEOF
22630 echo "$as_me:$LINENO: checking for yn in -lm" >&5
22631 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
22632 if test "${ac_cv_lib_m_yn+set}" = set; then
22633 echo $ECHO_N "(cached) $ECHO_C" >&6
22635 ac_check_lib_save_LIBS=$LIBS
22637 if test x$gcc_no_link = xyes; then
22638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22640 { (exit 1); exit 1; }; }
22642 cat >conftest.$ac_ext <<_ACEOF
22645 cat confdefs.h >>conftest.$ac_ext
22646 cat >>conftest.$ac_ext <<_ACEOF
22647 /* end confdefs.h. */
22649 /* Override any gcc2 internal prototype to avoid an error. */
22653 /* We use char because int might match the return type of a gcc2
22654 builtin and then its argument prototype would still apply. */
22664 rm -f conftest.$ac_objext conftest$ac_exeext
22665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22666 (eval $ac_link) 2>conftest.er1
22668 grep -v '^ *+' conftest.er1 >conftest.err
22670 cat conftest.err >&5
22671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22672 (exit $ac_status); } &&
22673 { ac_try='test -z "$ac_c_werror_flag"
22674 || test ! -s conftest.err'
22675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22676 (eval $ac_try) 2>&5
22678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22679 (exit $ac_status); }; } &&
22680 { ac_try='test -s conftest$ac_exeext'
22681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22682 (eval $ac_try) 2>&5
22684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22685 (exit $ac_status); }; }; then
22688 echo "$as_me: failed program was:" >&5
22689 sed 's/^/| /' conftest.$ac_ext >&5
22693 rm -f conftest.err conftest.$ac_objext \
22694 conftest$ac_exeext conftest.$ac_ext
22695 LIBS=$ac_check_lib_save_LIBS
22697 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
22698 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
22699 if test $ac_cv_lib_m_yn = yes; then
22701 cat >>confdefs.h <<\_ACEOF
22707 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
22708 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
22709 if test "${ac_cv_lib_m_ynl+set}" = set; then
22710 echo $ECHO_N "(cached) $ECHO_C" >&6
22712 ac_check_lib_save_LIBS=$LIBS
22714 if test x$gcc_no_link = xyes; then
22715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22717 { (exit 1); exit 1; }; }
22719 cat >conftest.$ac_ext <<_ACEOF
22722 cat confdefs.h >>conftest.$ac_ext
22723 cat >>conftest.$ac_ext <<_ACEOF
22724 /* end confdefs.h. */
22726 /* Override any gcc2 internal prototype to avoid an error. */
22730 /* We use char because int might match the return type of a gcc2
22731 builtin and then its argument prototype would still apply. */
22741 rm -f conftest.$ac_objext conftest$ac_exeext
22742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22743 (eval $ac_link) 2>conftest.er1
22745 grep -v '^ *+' conftest.er1 >conftest.err
22747 cat conftest.err >&5
22748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22749 (exit $ac_status); } &&
22750 { ac_try='test -z "$ac_c_werror_flag"
22751 || test ! -s conftest.err'
22752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22753 (eval $ac_try) 2>&5
22755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22756 (exit $ac_status); }; } &&
22757 { ac_try='test -s conftest$ac_exeext'
22758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22759 (eval $ac_try) 2>&5
22761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22762 (exit $ac_status); }; }; then
22763 ac_cv_lib_m_ynl=yes
22765 echo "$as_me: failed program was:" >&5
22766 sed 's/^/| /' conftest.$ac_ext >&5
22770 rm -f conftest.err conftest.$ac_objext \
22771 conftest$ac_exeext conftest.$ac_ext
22772 LIBS=$ac_check_lib_save_LIBS
22774 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
22775 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
22776 if test $ac_cv_lib_m_ynl = yes; then
22778 cat >>confdefs.h <<\_ACEOF
22785 # On AIX, clog is present in libm as __clog
22786 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
22787 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
22788 if test "${ac_cv_lib_m___clog+set}" = set; then
22789 echo $ECHO_N "(cached) $ECHO_C" >&6
22791 ac_check_lib_save_LIBS=$LIBS
22793 if test x$gcc_no_link = xyes; then
22794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22796 { (exit 1); exit 1; }; }
22798 cat >conftest.$ac_ext <<_ACEOF
22801 cat confdefs.h >>conftest.$ac_ext
22802 cat >>conftest.$ac_ext <<_ACEOF
22803 /* end confdefs.h. */
22805 /* Override any gcc2 internal prototype to avoid an error. */
22809 /* We use char because int might match the return type of a gcc2
22810 builtin and then its argument prototype would still apply. */
22820 rm -f conftest.$ac_objext conftest$ac_exeext
22821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22822 (eval $ac_link) 2>conftest.er1
22824 grep -v '^ *+' conftest.er1 >conftest.err
22826 cat conftest.err >&5
22827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22828 (exit $ac_status); } &&
22829 { ac_try='test -z "$ac_c_werror_flag"
22830 || test ! -s conftest.err'
22831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22832 (eval $ac_try) 2>&5
22834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22835 (exit $ac_status); }; } &&
22836 { ac_try='test -s conftest$ac_exeext'
22837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22838 (eval $ac_try) 2>&5
22840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22841 (exit $ac_status); }; }; then
22842 ac_cv_lib_m___clog=yes
22844 echo "$as_me: failed program was:" >&5
22845 sed 's/^/| /' conftest.$ac_ext >&5
22847 ac_cv_lib_m___clog=no
22849 rm -f conftest.err conftest.$ac_objext \
22850 conftest$ac_exeext conftest.$ac_ext
22851 LIBS=$ac_check_lib_save_LIBS
22853 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
22854 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
22855 if test $ac_cv_lib_m___clog = yes; then
22857 cat >>confdefs.h <<\_ACEOF
22858 #define HAVE_CLOG 1
22864 # Check for a isfinite macro that works on long doubles.
22866 echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
22867 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
22868 if test "${have_broken_isfinite+set}" = set; then
22869 echo $ECHO_N "(cached) $ECHO_C" >&6
22872 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
22874 if test "$cross_compiling" = yes; then
22876 case "${target}" in
22877 hppa*-*-hpux*) have_broken_isfinite=yes ;;
22878 *) have_broken_isfinite=no ;;
22881 cat >conftest.$ac_ext <<_ACEOF
22884 cat confdefs.h >>conftest.$ac_ext
22885 cat >>conftest.$ac_ext <<_ACEOF
22886 /* end confdefs.h. */
22896 if (!isfinite(LDBL_MAX)) return 1;
22899 if (!isfinite(DBL_MAX)) return 1;
22905 rm -f conftest$ac_exeext
22906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22907 (eval $ac_link) 2>&5
22909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22910 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22912 (eval $ac_try) 2>&5
22914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22915 (exit $ac_status); }; }; then
22916 have_broken_isfinite=no
22918 echo "$as_me: program exited with status $ac_status" >&5
22919 echo "$as_me: failed program was:" >&5
22920 sed 's/^/| /' conftest.$ac_ext >&5
22922 ( exit $ac_status )
22923 have_broken_isfinite=yes
22925 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22927 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
22929 echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
22930 echo "${ECHO_T}$have_broken_isfinite" >&6
22931 if test x"$have_broken_isfinite" = xyes; then
22933 cat >>confdefs.h <<\_ACEOF
22934 #define HAVE_BROKEN_ISFINITE 1
22939 # Check for a isnan macro that works on long doubles.
22941 echo "$as_me:$LINENO: checking whether isnan is broken" >&5
22942 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
22943 if test "${have_broken_isnan+set}" = set; then
22944 echo $ECHO_N "(cached) $ECHO_C" >&6
22947 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
22949 if test "$cross_compiling" = yes; then
22951 case "${target}" in
22952 hppa*-*-hpux*) have_broken_isnan=yes ;;
22953 *) have_broken_isnan=no ;;
22956 cat >conftest.$ac_ext <<_ACEOF
22959 cat confdefs.h >>conftest.$ac_ext
22960 cat >>conftest.$ac_ext <<_ACEOF
22961 /* end confdefs.h. */
22973 x = __builtin_nanl ("");
22974 if (!isnan(x)) return 1;
22975 if (isnan(LDBL_MAX)) return 1;
22977 x = (long double) NAN;
22978 if (!isnan(x)) return 1;
22985 y = __builtin_nan ("");
22986 if (!isnan(y)) return 1;
22987 if (isnan(DBL_MAX)) return 1;
22990 if (!isnan(y)) return 1;
22998 rm -f conftest$ac_exeext
22999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23000 (eval $ac_link) 2>&5
23002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23003 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23005 (eval $ac_try) 2>&5
23007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23008 (exit $ac_status); }; }; then
23009 have_broken_isnan=no
23011 echo "$as_me: program exited with status $ac_status" >&5
23012 echo "$as_me: failed program was:" >&5
23013 sed 's/^/| /' conftest.$ac_ext >&5
23015 ( exit $ac_status )
23016 have_broken_isnan=yes
23018 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23020 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
23022 echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
23023 echo "${ECHO_T}$have_broken_isnan" >&6
23024 if test x"$have_broken_isnan" = xyes; then
23026 cat >>confdefs.h <<\_ACEOF
23027 #define HAVE_BROKEN_ISNAN 1
23032 # Check for a fpclassify macro that works on long doubles.
23034 echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
23035 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
23036 if test "${have_broken_fpclassify+set}" = set; then
23037 echo $ECHO_N "(cached) $ECHO_C" >&6
23040 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
23042 if test "$cross_compiling" = yes; then
23044 case "${target}" in
23045 hppa*-*-hpux*) have_broken_fpclassify=yes ;;
23046 *) have_broken_fpclassify=no ;;
23049 cat >conftest.$ac_ext <<_ACEOF
23052 cat confdefs.h >>conftest.$ac_ext
23053 cat >>conftest.$ac_ext <<_ACEOF
23054 /* end confdefs.h. */
23064 if (fpclassify(LDBL_MAX) == FP_NAN
23065 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
23068 if (fpclassify(DBL_MAX) == FP_NAN
23069 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
23075 rm -f conftest$ac_exeext
23076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23077 (eval $ac_link) 2>&5
23079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23082 (eval $ac_try) 2>&5
23084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); }; }; then
23086 have_broken_fpclassify=no
23088 echo "$as_me: program exited with status $ac_status" >&5
23089 echo "$as_me: failed program was:" >&5
23090 sed 's/^/| /' conftest.$ac_ext >&5
23092 ( exit $ac_status )
23093 have_broken_fpclassify=yes
23095 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23097 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
23099 echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
23100 echo "${ECHO_T}$have_broken_fpclassify" >&6
23101 if test x"$have_broken_fpclassify" = xyes; then
23103 cat >>confdefs.h <<\_ACEOF
23104 #define HAVE_BROKEN_FPCLASSIFY 1
23109 # Check whether the system has a working stat()
23111 echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
23112 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
23113 if test "${have_working_stat+set}" = set; then
23114 echo $ECHO_N "(cached) $ECHO_C" >&6
23117 if test "$cross_compiling" = yes; then
23119 case "${target}" in
23120 *mingw*) have_working_stat=no ;;
23121 *) have_working_stat=yes;;
23124 cat >conftest.$ac_ext <<_ACEOF
23127 cat confdefs.h >>conftest.$ac_ext
23128 cat >>conftest.$ac_ext <<_ACEOF
23129 /* end confdefs.h. */
23132 #include <sys/types.h>
23133 #include <sys/stat.h>
23134 #include <unistd.h>
23139 struct stat st1, st2;
23141 f = fopen ("foo", "w");
23142 g = fopen ("bar", "w");
23143 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
23145 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
23152 rm -f conftest$ac_exeext
23153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23154 (eval $ac_link) 2>&5
23156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23157 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23159 (eval $ac_try) 2>&5
23161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23162 (exit $ac_status); }; }; then
23163 have_working_stat=yes
23165 echo "$as_me: program exited with status $ac_status" >&5
23166 echo "$as_me: failed program was:" >&5
23167 sed 's/^/| /' conftest.$ac_ext >&5
23169 ( exit $ac_status )
23170 have_working_stat=no
23172 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23175 echo "$as_me:$LINENO: result: $have_working_stat" >&5
23176 echo "${ECHO_T}$have_working_stat" >&6
23177 if test x"$have_working_stat" = xyes; then
23179 cat >>confdefs.h <<\_ACEOF
23180 #define HAVE_WORKING_STAT 1
23185 # Fallback in case isfinite is not available.
23186 echo "$as_me:$LINENO: checking for finite in -lm" >&5
23187 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
23188 if test "${ac_cv_lib_m_finite+set}" = set; then
23189 echo $ECHO_N "(cached) $ECHO_C" >&6
23191 ac_check_lib_save_LIBS=$LIBS
23193 if test x$gcc_no_link = xyes; then
23194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23196 { (exit 1); exit 1; }; }
23198 cat >conftest.$ac_ext <<_ACEOF
23201 cat confdefs.h >>conftest.$ac_ext
23202 cat >>conftest.$ac_ext <<_ACEOF
23203 /* end confdefs.h. */
23205 /* Override any gcc2 internal prototype to avoid an error. */
23209 /* We use char because int might match the return type of a gcc2
23210 builtin and then its argument prototype would still apply. */
23220 rm -f conftest.$ac_objext conftest$ac_exeext
23221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23222 (eval $ac_link) 2>conftest.er1
23224 grep -v '^ *+' conftest.er1 >conftest.err
23226 cat conftest.err >&5
23227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23228 (exit $ac_status); } &&
23229 { ac_try='test -z "$ac_c_werror_flag"
23230 || test ! -s conftest.err'
23231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23232 (eval $ac_try) 2>&5
23234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23235 (exit $ac_status); }; } &&
23236 { ac_try='test -s conftest$ac_exeext'
23237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23238 (eval $ac_try) 2>&5
23240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23241 (exit $ac_status); }; }; then
23242 ac_cv_lib_m_finite=yes
23244 echo "$as_me: failed program was:" >&5
23245 sed 's/^/| /' conftest.$ac_ext >&5
23247 ac_cv_lib_m_finite=no
23249 rm -f conftest.err conftest.$ac_objext \
23250 conftest$ac_exeext conftest.$ac_ext
23251 LIBS=$ac_check_lib_save_LIBS
23253 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
23254 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
23255 if test $ac_cv_lib_m_finite = yes; then
23257 cat >>confdefs.h <<\_ACEOF
23258 #define HAVE_FINITE 1
23264 # Check for GNU libc feenableexcept
23265 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
23266 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
23267 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
23268 echo $ECHO_N "(cached) $ECHO_C" >&6
23270 ac_check_lib_save_LIBS=$LIBS
23272 if test x$gcc_no_link = xyes; then
23273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23275 { (exit 1); exit 1; }; }
23277 cat >conftest.$ac_ext <<_ACEOF
23280 cat confdefs.h >>conftest.$ac_ext
23281 cat >>conftest.$ac_ext <<_ACEOF
23282 /* end confdefs.h. */
23284 /* Override any gcc2 internal prototype to avoid an error. */
23288 /* We use char because int might match the return type of a gcc2
23289 builtin and then its argument prototype would still apply. */
23290 char feenableexcept ();
23299 rm -f conftest.$ac_objext conftest$ac_exeext
23300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23301 (eval $ac_link) 2>conftest.er1
23303 grep -v '^ *+' conftest.er1 >conftest.err
23305 cat conftest.err >&5
23306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23307 (exit $ac_status); } &&
23308 { ac_try='test -z "$ac_c_werror_flag"
23309 || test ! -s conftest.err'
23310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23311 (eval $ac_try) 2>&5
23313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23314 (exit $ac_status); }; } &&
23315 { ac_try='test -s conftest$ac_exeext'
23316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23317 (eval $ac_try) 2>&5
23319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23320 (exit $ac_status); }; }; then
23321 ac_cv_lib_m_feenableexcept=yes
23323 echo "$as_me: failed program was:" >&5
23324 sed 's/^/| /' conftest.$ac_ext >&5
23326 ac_cv_lib_m_feenableexcept=no
23328 rm -f conftest.err conftest.$ac_objext \
23329 conftest$ac_exeext conftest.$ac_ext
23330 LIBS=$ac_check_lib_save_LIBS
23332 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
23333 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
23334 if test $ac_cv_lib_m_feenableexcept = yes; then
23335 have_feenableexcept=yes
23336 cat >>confdefs.h <<\_ACEOF
23337 #define HAVE_FEENABLEEXCEPT 1
23343 # Check for SysV fpsetmask
23345 echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
23346 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
23347 if test "${have_fpsetmask+set}" = set; then
23348 echo $ECHO_N "(cached) $ECHO_C" >&6
23351 if test x$gcc_no_link = xyes; then
23352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23354 { (exit 1); exit 1; }; }
23356 cat >conftest.$ac_ext <<_ACEOF
23359 cat confdefs.h >>conftest.$ac_ext
23360 cat >>conftest.$ac_ext <<_ACEOF
23361 /* end confdefs.h. */
23363 #if HAVE_FLOATINGPOINT_H
23364 # include <floatingpoint.h>
23365 #endif /* HAVE_FLOATINGPOINT_H */
23367 # include <ieeefp.h>
23368 #endif /* HAVE_IEEEFP_H */
23377 rm -f conftest.$ac_objext conftest$ac_exeext
23378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23379 (eval $ac_link) 2>conftest.er1
23381 grep -v '^ *+' conftest.er1 >conftest.err
23383 cat conftest.err >&5
23384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23385 (exit $ac_status); } &&
23386 { ac_try='test -z "$ac_c_werror_flag"
23387 || test ! -s conftest.err'
23388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23389 (eval $ac_try) 2>&5
23391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23392 (exit $ac_status); }; } &&
23393 { ac_try='test -s conftest$ac_exeext'
23394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23395 (eval $ac_try) 2>&5
23397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23398 (exit $ac_status); }; }; then
23399 eval "have_fpsetmask=yes"
23401 echo "$as_me: failed program was:" >&5
23402 sed 's/^/| /' conftest.$ac_ext >&5
23404 eval "have_fpsetmask=no"
23406 rm -f conftest.err conftest.$ac_objext \
23407 conftest$ac_exeext conftest.$ac_ext
23410 echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
23411 echo "${ECHO_T}$have_fpsetmask" >&6
23412 if test x"$have_fpsetmask" = xyes; then
23414 cat >>confdefs.h <<\_ACEOF
23415 #define HAVE_FPSETMASK 1
23421 # Check for AIX fp_trap and fp_enable
23422 echo "$as_me:$LINENO: checking for fp_trap" >&5
23423 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
23424 if test "${ac_cv_func_fp_trap+set}" = set; then
23425 echo $ECHO_N "(cached) $ECHO_C" >&6
23427 if test x$gcc_no_link = xyes; then
23428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23430 { (exit 1); exit 1; }; }
23432 cat >conftest.$ac_ext <<_ACEOF
23435 cat confdefs.h >>conftest.$ac_ext
23436 cat >>conftest.$ac_ext <<_ACEOF
23437 /* end confdefs.h. */
23438 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
23439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23440 #define fp_trap innocuous_fp_trap
23442 /* System header to define __stub macros and hopefully few prototypes,
23443 which can conflict with char fp_trap (); below.
23444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23445 <limits.h> exists even on freestanding compilers. */
23448 # include <limits.h>
23450 # include <assert.h>
23455 /* Override any gcc2 internal prototype to avoid an error. */
23460 /* We use char because int might match the return type of a gcc2
23461 builtin and then its argument prototype would still apply. */
23463 /* The GNU C library defines this for functions which it implements
23464 to always fail with ENOSYS. Some functions are actually named
23465 something starting with __ and the normal name is an alias. */
23466 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
23469 char (*f) () = fp_trap;
23478 return f != fp_trap;
23483 rm -f conftest.$ac_objext conftest$ac_exeext
23484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23485 (eval $ac_link) 2>conftest.er1
23487 grep -v '^ *+' conftest.er1 >conftest.err
23489 cat conftest.err >&5
23490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23491 (exit $ac_status); } &&
23492 { ac_try='test -z "$ac_c_werror_flag"
23493 || test ! -s conftest.err'
23494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23495 (eval $ac_try) 2>&5
23497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23498 (exit $ac_status); }; } &&
23499 { ac_try='test -s conftest$ac_exeext'
23500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23501 (eval $ac_try) 2>&5
23503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23504 (exit $ac_status); }; }; then
23505 ac_cv_func_fp_trap=yes
23507 echo "$as_me: failed program was:" >&5
23508 sed 's/^/| /' conftest.$ac_ext >&5
23510 ac_cv_func_fp_trap=no
23512 rm -f conftest.err conftest.$ac_objext \
23513 conftest$ac_exeext conftest.$ac_ext
23515 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
23516 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
23517 if test $ac_cv_func_fp_trap = yes; then
23519 cat >>confdefs.h <<\_ACEOF
23520 #define HAVE_FP_TRAP 1
23525 echo "$as_me:$LINENO: checking for fp_enable" >&5
23526 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
23527 if test "${ac_cv_func_fp_enable+set}" = set; then
23528 echo $ECHO_N "(cached) $ECHO_C" >&6
23530 if test x$gcc_no_link = xyes; then
23531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23533 { (exit 1); exit 1; }; }
23535 cat >conftest.$ac_ext <<_ACEOF
23538 cat confdefs.h >>conftest.$ac_ext
23539 cat >>conftest.$ac_ext <<_ACEOF
23540 /* end confdefs.h. */
23541 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
23542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23543 #define fp_enable innocuous_fp_enable
23545 /* System header to define __stub macros and hopefully few prototypes,
23546 which can conflict with char fp_enable (); below.
23547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23548 <limits.h> exists even on freestanding compilers. */
23551 # include <limits.h>
23553 # include <assert.h>
23558 /* Override any gcc2 internal prototype to avoid an error. */
23563 /* We use char because int might match the return type of a gcc2
23564 builtin and then its argument prototype would still apply. */
23566 /* The GNU C library defines this for functions which it implements
23567 to always fail with ENOSYS. Some functions are actually named
23568 something starting with __ and the normal name is an alias. */
23569 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
23572 char (*f) () = fp_enable;
23581 return f != fp_enable;
23586 rm -f conftest.$ac_objext conftest$ac_exeext
23587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23588 (eval $ac_link) 2>conftest.er1
23590 grep -v '^ *+' conftest.er1 >conftest.err
23592 cat conftest.err >&5
23593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23594 (exit $ac_status); } &&
23595 { ac_try='test -z "$ac_c_werror_flag"
23596 || test ! -s conftest.err'
23597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23598 (eval $ac_try) 2>&5
23600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23601 (exit $ac_status); }; } &&
23602 { ac_try='test -s conftest$ac_exeext'
23603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23604 (eval $ac_try) 2>&5
23606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23607 (exit $ac_status); }; }; then
23608 ac_cv_func_fp_enable=yes
23610 echo "$as_me: failed program was:" >&5
23611 sed 's/^/| /' conftest.$ac_ext >&5
23613 ac_cv_func_fp_enable=no
23615 rm -f conftest.err conftest.$ac_objext \
23616 conftest$ac_exeext conftest.$ac_ext
23618 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
23619 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
23620 if test $ac_cv_func_fp_enable = yes; then
23622 cat >>confdefs.h <<\_ACEOF
23623 #define HAVE_FP_ENABLE 1
23629 # Runs configure.host to set up necessary host-dependent shell variables.
23630 # We then display a message about it, and propagate them through the
23632 . ${srcdir}/configure.host
23633 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
23634 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
23635 FPU_HOST_HEADER=config/${fpu_host}.h
23638 # Attempt to assert that the target is of common type in case we don't
23639 # have C99 integer types at all.
23641 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
23642 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
23643 if test "${target_ilp32+set}" = set; then
23644 echo $ECHO_N "(cached) $ECHO_C" >&6
23647 save_CFLAGS="$CFLAGS"
23649 if test x$gcc_no_link = xyes; then
23650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23652 { (exit 1); exit 1; }; }
23654 cat >conftest.$ac_ext <<_ACEOF
23657 cat confdefs.h >>conftest.$ac_ext
23658 cat >>conftest.$ac_ext <<_ACEOF
23659 /* end confdefs.h. */
23665 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
23668 undefined_function ();
23674 rm -f conftest.$ac_objext conftest$ac_exeext
23675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23676 (eval $ac_link) 2>conftest.er1
23678 grep -v '^ *+' conftest.er1 >conftest.err
23680 cat conftest.err >&5
23681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682 (exit $ac_status); } &&
23683 { ac_try='test -z "$ac_c_werror_flag"
23684 || test ! -s conftest.err'
23685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23686 (eval $ac_try) 2>&5
23688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23689 (exit $ac_status); }; } &&
23690 { ac_try='test -s conftest$ac_exeext'
23691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23692 (eval $ac_try) 2>&5
23694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23695 (exit $ac_status); }; }; then
23698 echo "$as_me: failed program was:" >&5
23699 sed 's/^/| /' conftest.$ac_ext >&5
23703 rm -f conftest.err conftest.$ac_objext \
23704 conftest$ac_exeext conftest.$ac_ext
23705 CFLAGS="$save_CFLAGS"
23707 echo "$as_me:$LINENO: result: $target_ilp32" >&5
23708 echo "${ECHO_T}$target_ilp32" >&6
23709 if test $target_ilp32 = yes; then
23711 cat >>confdefs.h <<\_ACEOF
23712 #define TARGET_ILP32 1
23718 # Check out attribute support.
23720 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
23721 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
23722 if test "${have_attribute_visibility+set}" = set; then
23723 echo $ECHO_N "(cached) $ECHO_C" >&6
23726 save_CFLAGS="$CFLAGS"
23727 CFLAGS="$CFLAGS -Werror"
23728 cat >conftest.$ac_ext <<_ACEOF
23731 cat confdefs.h >>conftest.$ac_ext
23732 cat >>conftest.$ac_ext <<_ACEOF
23733 /* end confdefs.h. */
23734 void __attribute__((visibility("hidden"))) foo(void) { }
23743 rm -f conftest.$ac_objext
23744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23745 (eval $ac_compile) 2>conftest.er1
23747 grep -v '^ *+' conftest.er1 >conftest.err
23749 cat conftest.err >&5
23750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23751 (exit $ac_status); } &&
23752 { ac_try='test -z "$ac_c_werror_flag"
23753 || test ! -s conftest.err'
23754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23755 (eval $ac_try) 2>&5
23757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23758 (exit $ac_status); }; } &&
23759 { ac_try='test -s conftest.$ac_objext'
23760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23761 (eval $ac_try) 2>&5
23763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23764 (exit $ac_status); }; }; then
23765 have_attribute_visibility=yes
23767 echo "$as_me: failed program was:" >&5
23768 sed 's/^/| /' conftest.$ac_ext >&5
23770 have_attribute_visibility=no
23772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23773 CFLAGS="$save_CFLAGS"
23775 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
23776 echo "${ECHO_T}$have_attribute_visibility" >&6
23777 if test $have_attribute_visibility = yes; then
23779 cat >>confdefs.h <<\_ACEOF
23780 #define HAVE_ATTRIBUTE_VISIBILITY 1
23785 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
23786 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
23787 if test "${have_attribute_dllexport+set}" = set; then
23788 echo $ECHO_N "(cached) $ECHO_C" >&6
23791 save_CFLAGS="$CFLAGS"
23792 CFLAGS="$CFLAGS -Werror"
23793 cat >conftest.$ac_ext <<_ACEOF
23796 cat confdefs.h >>conftest.$ac_ext
23797 cat >>conftest.$ac_ext <<_ACEOF
23798 /* end confdefs.h. */
23799 void __attribute__((dllexport)) foo(void) { }
23808 rm -f conftest.$ac_objext
23809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23810 (eval $ac_compile) 2>conftest.er1
23812 grep -v '^ *+' conftest.er1 >conftest.err
23814 cat conftest.err >&5
23815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23816 (exit $ac_status); } &&
23817 { ac_try='test -z "$ac_c_werror_flag"
23818 || test ! -s conftest.err'
23819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23820 (eval $ac_try) 2>&5
23822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23823 (exit $ac_status); }; } &&
23824 { ac_try='test -s conftest.$ac_objext'
23825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23826 (eval $ac_try) 2>&5
23828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23829 (exit $ac_status); }; }; then
23830 have_attribute_dllexport=yes
23832 echo "$as_me: failed program was:" >&5
23833 sed 's/^/| /' conftest.$ac_ext >&5
23835 have_attribute_dllexport=no
23837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23838 CFLAGS="$save_CFLAGS"
23840 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
23841 echo "${ECHO_T}$have_attribute_dllexport" >&6
23842 if test $have_attribute_dllexport = yes; then
23844 cat >>confdefs.h <<\_ACEOF
23845 #define HAVE_ATTRIBUTE_DLLEXPORT 1
23850 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
23851 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
23852 if test "${have_attribute_alias+set}" = set; then
23853 echo $ECHO_N "(cached) $ECHO_C" >&6
23856 if test x$gcc_no_link = xyes; then
23857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23859 { (exit 1); exit 1; }; }
23861 cat >conftest.$ac_ext <<_ACEOF
23864 cat confdefs.h >>conftest.$ac_ext
23865 cat >>conftest.$ac_ext <<_ACEOF
23866 /* end confdefs.h. */
23869 extern void bar(void) __attribute__((alias("foo")));
23878 rm -f conftest.$ac_objext conftest$ac_exeext
23879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23880 (eval $ac_link) 2>conftest.er1
23882 grep -v '^ *+' conftest.er1 >conftest.err
23884 cat conftest.err >&5
23885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23886 (exit $ac_status); } &&
23887 { ac_try='test -z "$ac_c_werror_flag"
23888 || test ! -s conftest.err'
23889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23890 (eval $ac_try) 2>&5
23892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23893 (exit $ac_status); }; } &&
23894 { ac_try='test -s conftest$ac_exeext'
23895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23896 (eval $ac_try) 2>&5
23898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23899 (exit $ac_status); }; }; then
23900 have_attribute_alias=yes
23902 echo "$as_me: failed program was:" >&5
23903 sed 's/^/| /' conftest.$ac_ext >&5
23905 have_attribute_alias=no
23907 rm -f conftest.err conftest.$ac_objext \
23908 conftest$ac_exeext conftest.$ac_ext
23910 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
23911 echo "${ECHO_T}$have_attribute_alias" >&6
23912 if test $have_attribute_alias = yes; then
23914 cat >>confdefs.h <<\_ACEOF
23915 #define HAVE_ATTRIBUTE_ALIAS 1
23920 # Check out sync builtins support.
23922 echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
23923 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
23924 if test "${have_sync_fetch_and_add+set}" = set; then
23925 echo $ECHO_N "(cached) $ECHO_C" >&6
23928 if test x$gcc_no_link = xyes; then
23929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23931 { (exit 1); exit 1; }; }
23933 cat >conftest.$ac_ext <<_ACEOF
23936 cat confdefs.h >>conftest.$ac_ext
23937 cat >>conftest.$ac_ext <<_ACEOF
23938 /* end confdefs.h. */
23944 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
23945 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
23950 rm -f conftest.$ac_objext conftest$ac_exeext
23951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23952 (eval $ac_link) 2>conftest.er1
23954 grep -v '^ *+' conftest.er1 >conftest.err
23956 cat conftest.err >&5
23957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23958 (exit $ac_status); } &&
23959 { ac_try='test -z "$ac_c_werror_flag"
23960 || test ! -s conftest.err'
23961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23962 (eval $ac_try) 2>&5
23964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23965 (exit $ac_status); }; } &&
23966 { ac_try='test -s conftest$ac_exeext'
23967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23968 (eval $ac_try) 2>&5
23970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23971 (exit $ac_status); }; }; then
23972 have_sync_fetch_and_add=yes
23974 echo "$as_me: failed program was:" >&5
23975 sed 's/^/| /' conftest.$ac_ext >&5
23977 have_sync_fetch_and_add=no
23979 rm -f conftest.err conftest.$ac_objext \
23980 conftest$ac_exeext conftest.$ac_ext
23982 echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
23983 echo "${ECHO_T}$have_sync_fetch_and_add" >&6
23984 if test $have_sync_fetch_and_add = yes; then
23986 cat >>confdefs.h <<\_ACEOF
23987 #define HAVE_SYNC_FETCH_AND_ADD 1
23992 # Check out thread support.
23994 echo "$as_me:$LINENO: checking configured target thread model" >&5
23995 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
23996 if test "${target_thread_file+set}" = set; then
23997 echo $ECHO_N "(cached) $ECHO_C" >&6
24000 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
24002 echo "$as_me:$LINENO: result: $target_thread_file" >&5
24003 echo "${ECHO_T}$target_thread_file" >&6
24005 if test $target_thread_file != single; then
24007 cat >>confdefs.h <<\_ACEOF
24008 #define HAVE_GTHR_DEFAULT 1
24013 # Check out #pragma weak.
24015 echo "$as_me:$LINENO: checking whether pragma weak works" >&5
24016 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
24017 if test "${have_pragma_weak+set}" = set; then
24018 echo $ECHO_N "(cached) $ECHO_C" >&6
24021 gfor_save_CFLAGS="$CFLAGS"
24022 CFLAGS="$CFLAGS -Wunknown-pragmas"
24023 cat >conftest.$ac_ext <<_ACEOF
24026 cat confdefs.h >>conftest.$ac_ext
24027 cat >>conftest.$ac_ext <<_ACEOF
24028 /* end confdefs.h. */
24039 rm -f conftest.$ac_objext
24040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24041 (eval $ac_compile) 2>conftest.er1
24043 grep -v '^ *+' conftest.er1 >conftest.err
24045 cat conftest.err >&5
24046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24047 (exit $ac_status); } &&
24048 { ac_try='test -z "$ac_c_werror_flag"
24049 || test ! -s conftest.err'
24050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24051 (eval $ac_try) 2>&5
24053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24054 (exit $ac_status); }; } &&
24055 { ac_try='test -s conftest.$ac_objext'
24056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24057 (eval $ac_try) 2>&5
24059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24060 (exit $ac_status); }; }; then
24061 have_pragma_weak=yes
24063 echo "$as_me: failed program was:" >&5
24064 sed 's/^/| /' conftest.$ac_ext >&5
24066 have_pragma_weak=no
24068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24070 echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
24071 echo "${ECHO_T}$have_pragma_weak" >&6
24072 if test $have_pragma_weak = yes; then
24074 cat >>confdefs.h <<\_ACEOF
24075 #define SUPPORTS_WEAK 1
24080 *-*-darwin* | *-*-hpux* | *-*-cygwin*)
24082 cat >>confdefs.h <<\_ACEOF
24083 #define GTHREAD_USE_WEAK 0
24089 # Various other checks on target
24091 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
24092 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
24093 if test "${have_unlink_open_file+set}" = set; then
24094 echo $ECHO_N "(cached) $ECHO_C" >&6
24097 if test "$cross_compiling" = yes; then
24099 case "${target}" in
24100 *mingw*) have_unlink_open_file=no ;;
24101 *) have_unlink_open_file=yes;;
24104 cat >conftest.$ac_ext <<_ACEOF
24107 cat confdefs.h >>conftest.$ac_ext
24108 cat >>conftest.$ac_ext <<_ACEOF
24109 /* end confdefs.h. */
24113 #include <unistd.h>
24114 #include <sys/stat.h>
24120 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
24123 if (unlink ("testfile") == -1)
24125 write (fd, "This is a test\n", 15);
24128 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
24134 rm -f conftest$ac_exeext
24135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24136 (eval $ac_link) 2>&5
24138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24139 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24141 (eval $ac_try) 2>&5
24143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24144 (exit $ac_status); }; }; then
24145 have_unlink_open_file=yes
24147 echo "$as_me: program exited with status $ac_status" >&5
24148 echo "$as_me: failed program was:" >&5
24149 sed 's/^/| /' conftest.$ac_ext >&5
24151 ( exit $ac_status )
24152 have_unlink_open_file=no
24154 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24157 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
24158 echo "${ECHO_T}$have_unlink_open_file" >&6
24159 if test x"$have_unlink_open_file" = xyes; then
24161 cat >>confdefs.h <<\_ACEOF
24162 #define HAVE_UNLINK_OPEN_FILE 1
24167 # Check whether line terminator is LF or CRLF
24169 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
24170 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
24171 if test "${have_crlf+set}" = set; then
24172 echo $ECHO_N "(cached) $ECHO_C" >&6
24175 if test "$cross_compiling" = yes; then
24177 case "${target}" in
24178 *mingw*) have_crlf=yes ;;
24182 cat >conftest.$ac_ext <<_ACEOF
24185 cat confdefs.h >>conftest.$ac_ext
24186 cat >>conftest.$ac_ext <<_ACEOF
24187 /* end confdefs.h. */
24189 /* This test program should exit with status 0 if system uses a CRLF as
24190 line terminator, and status 1 otherwise.
24191 Since it is used to check for mingw systems, and should return 0 in any
24192 other case, in case of a failure we will not use CRLF. */
24193 #include <sys/stat.h>
24194 #include <stdlib.h>
24206 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
24209 if (write (fd, "\n", 1) < 0)
24214 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
24216 bytes = read (fd, buff, 5);
24217 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
24224 rm -f conftest$ac_exeext
24225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24226 (eval $ac_link) 2>&5
24228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24229 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24231 (eval $ac_try) 2>&5
24233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24234 (exit $ac_status); }; }; then
24237 echo "$as_me: program exited with status $ac_status" >&5
24238 echo "$as_me: failed program was:" >&5
24239 sed 's/^/| /' conftest.$ac_ext >&5
24241 ( exit $ac_status )
24244 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24247 echo "$as_me:$LINENO: result: $have_crlf" >&5
24248 echo "${ECHO_T}$have_crlf" >&6
24249 if test x"$have_crlf" = xyes; then
24251 cat >>confdefs.h <<\_ACEOF
24252 #define HAVE_CRLF 1
24257 cat >confcache <<\_ACEOF
24258 # This file is a shell script that caches the results of configure
24259 # tests run on this system so they can be shared between configure
24260 # scripts and configure runs, see configure's option --config-cache.
24261 # It is not useful on other systems. If it contains results you don't
24262 # want to keep, you may remove or edit it.
24264 # config.status only pays attention to the cache file if you give it
24265 # the --recheck option to rerun configure.
24267 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24268 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24269 # following values.
24273 # The following way of writing the cache mishandles newlines in values,
24274 # but we know of no workaround that is simple, portable, and efficient.
24275 # So, don't put newlines in cache variables' values.
24276 # Ultrix sh set writes to stderr and can't be redirected directly,
24277 # and sets the high bit in the cache file unless we assign to the vars.
24280 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24282 # `set' does not quote correctly, so add quotes (double-quote
24283 # substitution turns \\\\ into \\, and sed turns \\ into \).
24286 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24289 # `set' quotes correctly as required by POSIX, so do not add quotes.
24291 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24298 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24300 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24302 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24303 if test -w $cache_file; then
24304 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24305 cat confcache >$cache_file
24307 echo "not updating unwritable cache $cache_file"
24312 if test ${multilib} = yes; then
24313 multilib_arg="--enable-multilib"
24318 # Write our Makefile.
24319 ac_config_files="$ac_config_files Makefile"
24321 cat >confcache <<\_ACEOF
24322 # This file is a shell script that caches the results of configure
24323 # tests run on this system so they can be shared between configure
24324 # scripts and configure runs, see configure's option --config-cache.
24325 # It is not useful on other systems. If it contains results you don't
24326 # want to keep, you may remove or edit it.
24328 # config.status only pays attention to the cache file if you give it
24329 # the --recheck option to rerun configure.
24331 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24332 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24333 # following values.
24337 # The following way of writing the cache mishandles newlines in values,
24338 # but we know of no workaround that is simple, portable, and efficient.
24339 # So, don't put newlines in cache variables' values.
24340 # Ultrix sh set writes to stderr and can't be redirected directly,
24341 # and sets the high bit in the cache file unless we assign to the vars.
24344 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24346 # `set' does not quote correctly, so add quotes (double-quote
24347 # substitution turns \\\\ into \\, and sed turns \\ into \).
24350 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24353 # `set' quotes correctly as required by POSIX, so do not add quotes.
24355 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24362 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24364 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24366 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24367 if test -w $cache_file; then
24368 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24369 cat confcache >$cache_file
24371 echo "not updating unwritable cache $cache_file"
24376 test "x$prefix" = xNONE && prefix=$ac_default_prefix
24377 # Let make expand exec_prefix.
24378 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24380 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24381 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24382 # trailing colons and then remove the whole line if VPATH becomes empty
24383 # (actually we leave an empty line to preserve line numbers).
24384 if test "x$srcdir" = x.; then
24385 ac_vpsub='/^[ ]*VPATH[ ]*=/{
24386 s/:*\$(srcdir):*/:/;
24387 s/:*\${srcdir}:*/:/;
24389 s/^\([^=]*=[ ]*\):*/\1/;
24395 DEFS=-DHAVE_CONFIG_H
24399 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24400 # 1. Remove the extension, and $U if already installed.
24401 ac_i=`echo "$ac_i" |
24402 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
24404 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
24405 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
24407 LIBOBJS=$ac_libobjs
24409 LTLIBOBJS=$ac_ltlibobjs
24412 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24413 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
24414 Usually this means the macro was only invoked conditionally." >&5
24415 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
24416 Usually this means the macro was only invoked conditionally." >&2;}
24417 { (exit 1); exit 1; }; }
24419 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24420 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
24421 Usually this means the macro was only invoked conditionally." >&5
24422 echo "$as_me: error: conditional \"AMDEP\" was never defined.
24423 Usually this means the macro was only invoked conditionally." >&2;}
24424 { (exit 1); exit 1; }; }
24426 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24427 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
24428 Usually this means the macro was only invoked conditionally." >&5
24429 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
24430 Usually this means the macro was only invoked conditionally." >&2;}
24431 { (exit 1); exit 1; }; }
24434 : ${CONFIG_STATUS=./config.status}
24435 ac_clean_files_save=$ac_clean_files
24436 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24437 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24438 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24439 cat >$CONFIG_STATUS <<_ACEOF
24441 # Generated by $as_me.
24442 # Run this file to recreate the current configuration.
24443 # Compiler output produced by configure, useful for debugging
24444 # configure, is in config.log if it exists.
24447 ac_cs_recheck=false
24449 SHELL=\${CONFIG_SHELL-$SHELL}
24452 cat >>$CONFIG_STATUS <<\_ACEOF
24453 ## --------------------- ##
24454 ## M4sh Initialization. ##
24455 ## --------------------- ##
24457 # Be Bourne compatible
24458 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24461 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24462 # is contrary to our usage. Disable this feature.
24463 alias -g '${1+"$@"}'='"$@"'
24464 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24467 DUALCASE=1; export DUALCASE # for MKS sh
24469 # Support unset when possible.
24470 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24477 # Work around bugs in pre-3.0 UWIN ksh.
24478 $as_unset ENV MAIL MAILPATH
24485 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24486 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24487 LC_TELEPHONE LC_TIME
24489 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24490 eval $as_var=C; export $as_var
24496 # Required to use basename.
24497 if expr a : '\(a\)' >/dev/null 2>&1; then
24503 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
24504 as_basename=basename
24510 # Name of the executable.
24511 as_me=`$as_basename "$0" ||
24512 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24513 X"$0" : 'X\(//\)$' \| \
24514 X"$0" : 'X\(/\)$' \| \
24515 . : '\(.\)' 2>/dev/null ||
24517 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
24518 /^X\/\(\/\/\)$/{ s//\1/; q; }
24519 /^X\/\(\/\).*/{ s//\1/; q; }
24523 # PATH needs CR, and LINENO needs CR and PATH.
24524 # Avoid depending upon Character Ranges.
24525 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24526 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24527 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24528 as_cr_digits='0123456789'
24529 as_cr_alnum=$as_cr_Letters$as_cr_digits
24531 # The user is always right.
24532 if test "${PATH_SEPARATOR+set}" != set; then
24533 echo "#! /bin/sh" >conf$$.sh
24534 echo "exit 0" >>conf$$.sh
24536 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
24545 as_lineno_1=$LINENO
24546 as_lineno_2=$LINENO
24547 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24548 test "x$as_lineno_1" != "x$as_lineno_2" &&
24549 test "x$as_lineno_3" = "x$as_lineno_2" || {
24550 # Find who we are. Look in the path if we contain no path at all
24553 *[\\/]* ) as_myself=$0 ;;
24554 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24555 for as_dir in $PATH
24558 test -z "$as_dir" && as_dir=.
24559 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24564 # We did not find ourselves, most probably we were run as `sh COMMAND'
24565 # in which case we are not to be found in the path.
24566 if test "x$as_myself" = x; then
24569 if test ! -f "$as_myself"; then
24570 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
24571 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
24572 { (exit 1); exit 1; }; }
24574 case $CONFIG_SHELL in
24576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24577 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
24580 test -z "$as_dir" && as_dir=.
24581 for as_base in sh bash ksh sh5; do
24584 if ("$as_dir/$as_base" -c '
24585 as_lineno_1=$LINENO
24586 as_lineno_2=$LINENO
24587 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24588 test "x$as_lineno_1" != "x$as_lineno_2" &&
24589 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
24590 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
24591 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
24592 CONFIG_SHELL=$as_dir/$as_base
24593 export CONFIG_SHELL
24594 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
24602 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24603 # uniformly replaced by the line number. The first 'sed' inserts a
24604 # line-number line before each line; the second 'sed' does the real
24605 # work. The second script uses 'N' to pair each line-number line
24606 # with the numbered line, and appends trailing '-' during
24607 # substitution so that $LINENO is not a special case at line end.
24608 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24609 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
24610 sed '=' <$as_myself |
24615 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
24618 s,^['$as_cr_digits']*\n,,
24619 ' >$as_me.lineno &&
24620 chmod +x $as_me.lineno ||
24621 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
24622 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
24623 { (exit 1); exit 1; }; }
24625 # Don't try to exec as it changes $[0], causing all sort of problems
24626 # (the dirname of $[0] is not the place where we might find the
24627 # original and so on. Autoconf is especially sensible to this).
24629 # Exit status is that of the last command.
24634 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
24635 *c*,-n*) ECHO_N= ECHO_C='
24637 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
24638 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
24641 if expr a : '\(a\)' >/dev/null 2>&1; then
24647 rm -f conf$$ conf$$.exe conf$$.file
24649 if ln -s conf$$.file conf$$ 2>/dev/null; then
24650 # We could just check for DJGPP; but this test a) works b) is more generic
24651 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
24652 if test -f conf$$.exe; then
24653 # Don't use ln at all; we don't have any links
24658 elif ln conf$$.file conf$$ 2>/dev/null; then
24663 rm -f conf$$ conf$$.exe conf$$.file
24665 if mkdir -p . 2>/dev/null; then
24668 test -d ./-p && rmdir ./-p
24672 as_executable_p="test -f"
24674 # Sed expression to map a string onto a valid CPP name.
24675 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24677 # Sed expression to map a string onto a valid variable name.
24678 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24682 # We need space, tab and new line, in precisely that order.
24692 # Open the log real soon, to keep \$[0] and so on meaningful, and to
24693 # report actual input values of CONFIG_FILES etc. instead of their
24694 # values after options handling. Logging --version etc. is OK.
24698 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24699 ## Running $as_me. ##
24704 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
24705 generated by GNU Autoconf 2.59. Invocation command line was
24707 CONFIG_FILES = $CONFIG_FILES
24708 CONFIG_HEADERS = $CONFIG_HEADERS
24709 CONFIG_LINKS = $CONFIG_LINKS
24710 CONFIG_COMMANDS = $CONFIG_COMMANDS
24714 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
24718 # Files that config.status was made for.
24719 if test -n "$ac_config_files"; then
24720 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
24723 if test -n "$ac_config_headers"; then
24724 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
24727 if test -n "$ac_config_links"; then
24728 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
24731 if test -n "$ac_config_commands"; then
24732 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
24735 cat >>$CONFIG_STATUS <<\_ACEOF
24738 \`$as_me' instantiates files from templates according to the
24739 current configuration.
24741 Usage: $0 [OPTIONS] [FILE]...
24743 -h, --help print this help, then exit
24744 -V, --version print version number, then exit
24745 -q, --quiet do not print progress messages
24746 -d, --debug don't remove temporary files
24747 --recheck update $as_me by reconfiguring in the same conditions
24748 --file=FILE[:TEMPLATE]
24749 instantiate the configuration file FILE
24750 --header=FILE[:TEMPLATE]
24751 instantiate the configuration header FILE
24753 Configuration files:
24756 Configuration headers:
24759 Configuration commands:
24762 Report bugs to <bug-autoconf@gnu.org>."
24765 cat >>$CONFIG_STATUS <<_ACEOF
24767 GNU Fortran Runtime Library config.status 0.3
24768 configured by $0, generated by GNU Autoconf 2.59,
24769 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
24771 Copyright (C) 2003 Free Software Foundation, Inc.
24772 This config.status script is free software; the Free Software Foundation
24773 gives unlimited permission to copy, distribute and modify it."
24778 cat >>$CONFIG_STATUS <<\_ACEOF
24779 # If no file are specified by the user, then we need to provide default
24780 # value. By we need to know if files were specified by the user.
24786 ac_option=`expr "x$1" : 'x\([^=]*\)='`
24787 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
24795 *) # This is not an option, so the user has probably given explicit
24798 ac_need_defaults=false;;
24802 # Handling of the options.
24804 cat >>$CONFIG_STATUS <<\_ACEOF
24805 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24807 --version | --vers* | -V )
24808 echo "$ac_cs_version"; exit 0 ;;
24810 # Conflict between --help and --header
24811 { { echo "$as_me:$LINENO: error: ambiguous option: $1
24812 Try \`$0 --help' for more information." >&5
24813 echo "$as_me: error: ambiguous option: $1
24814 Try \`$0 --help' for more information." >&2;}
24815 { (exit 1); exit 1; }; };;
24816 --help | --hel | -h )
24817 echo "$ac_cs_usage"; exit 0 ;;
24818 --debug | --d* | -d )
24820 --file | --fil | --fi | --f )
24822 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24823 ac_need_defaults=false;;
24824 --header | --heade | --head | --hea )
24826 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24827 ac_need_defaults=false;;
24828 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24829 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24832 # This is an error.
24833 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
24834 Try \`$0 --help' for more information." >&5
24835 echo "$as_me: error: unrecognized option: $1
24836 Try \`$0 --help' for more information." >&2;}
24837 { (exit 1); exit 1; }; } ;;
24839 *) ac_config_targets="$ac_config_targets $1" ;;
24845 ac_configure_extra_args=
24847 if $ac_cs_silent; then
24849 ac_configure_extra_args="$ac_configure_extra_args --silent"
24853 cat >>$CONFIG_STATUS <<_ACEOF
24854 if \$ac_cs_recheck; then
24855 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24856 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24861 cat >>$CONFIG_STATUS <<_ACEOF
24863 # INIT-COMMANDS section.
24870 with_multisubdir="$with_multisubdir"
24871 with_multisrctop="$with_multisrctop"
24872 with_target_subdir="$with_target_subdir"
24873 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24874 multi_basedir="$multi_basedir"
24875 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24877 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
24881 acx_cv_header_stdint="$acx_cv_header_stdint"
24882 acx_cv_type_int8_t="$acx_cv_type_int8_t"
24883 acx_cv_type_int16_t="$acx_cv_type_int16_t"
24884 acx_cv_type_int32_t="$acx_cv_type_int32_t"
24885 acx_cv_type_int64_t="$acx_cv_type_int64_t"
24886 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
24887 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
24888 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
24889 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
24890 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
24891 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
24892 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
24893 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
24894 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
24901 cat >>$CONFIG_STATUS <<\_ACEOF
24902 for ac_config_target in $ac_config_targets
24904 case "$ac_config_target" in
24905 # Handling of arguments.
24906 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24907 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
24908 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
24909 "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
24910 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
24911 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24912 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24913 { (exit 1); exit 1; }; };;
24917 # If the user did not use the arguments to specify the items to instantiate,
24918 # then the envvar interface is used. Set only those that are not.
24919 # We use the long form for the default assignment because of an extremely
24920 # bizarre bug on SunOS 4.1.3.
24921 if $ac_need_defaults; then
24922 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24923 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24924 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24927 # Have a temporary directory for convenience. Make it in the build tree
24928 # simply because there is no reason to put it here, and in addition,
24929 # creating and moving files from /tmp can sometimes cause problems.
24930 # Create a temporary directory, and hook for its removal unless debugging.
24933 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
24934 trap '{ (exit 1); exit 1; }' 1 2 13 15
24937 # Create a (secure) tmp directory for tmp files.
24940 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
24941 test -n "$tmp" && test -d "$tmp"
24944 tmp=./confstat$$-$RANDOM
24945 (umask 077 && mkdir $tmp)
24948 echo "$me: cannot create a temporary directory in ." >&2
24949 { (exit 1); exit 1; }
24954 cat >>$CONFIG_STATUS <<_ACEOF
24957 # CONFIG_FILES section.
24960 # No need to generate the scripts if there are no CONFIG_FILES.
24961 # This happens for instance when ./config.status config.h
24962 if test -n "\$CONFIG_FILES"; then
24963 # Protect against being on the right side of a sed subst in config.status.
24964 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
24965 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
24966 s,@SHELL@,$SHELL,;t t
24967 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
24968 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
24969 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
24970 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
24971 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
24972 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
24973 s,@exec_prefix@,$exec_prefix,;t t
24974 s,@prefix@,$prefix,;t t
24975 s,@program_transform_name@,$program_transform_name,;t t
24976 s,@bindir@,$bindir,;t t
24977 s,@sbindir@,$sbindir,;t t
24978 s,@libexecdir@,$libexecdir,;t t
24979 s,@datadir@,$datadir,;t t
24980 s,@sysconfdir@,$sysconfdir,;t t
24981 s,@sharedstatedir@,$sharedstatedir,;t t
24982 s,@localstatedir@,$localstatedir,;t t
24983 s,@libdir@,$libdir,;t t
24984 s,@includedir@,$includedir,;t t
24985 s,@oldincludedir@,$oldincludedir,;t t
24986 s,@infodir@,$infodir,;t t
24987 s,@mandir@,$mandir,;t t
24988 s,@build_alias@,$build_alias,;t t
24989 s,@host_alias@,$host_alias,;t t
24990 s,@target_alias@,$target_alias,;t t
24991 s,@DEFS@,$DEFS,;t t
24992 s,@ECHO_C@,$ECHO_C,;t t
24993 s,@ECHO_N@,$ECHO_N,;t t
24994 s,@ECHO_T@,$ECHO_T,;t t
24995 s,@LIBS@,$LIBS,;t t
24996 s,@build@,$build,;t t
24997 s,@build_cpu@,$build_cpu,;t t
24998 s,@build_vendor@,$build_vendor,;t t
24999 s,@build_os@,$build_os,;t t
25000 s,@build_libsubdir@,$build_libsubdir,;t t
25001 s,@build_subdir@,$build_subdir,;t t
25002 s,@host_subdir@,$host_subdir,;t t
25003 s,@target_subdir@,$target_subdir,;t t
25004 s,@host@,$host,;t t
25005 s,@host_cpu@,$host_cpu,;t t
25006 s,@host_vendor@,$host_vendor,;t t
25007 s,@host_os@,$host_os,;t t
25008 s,@target@,$target,;t t
25009 s,@target_cpu@,$target_cpu,;t t
25010 s,@target_vendor@,$target_vendor,;t t
25011 s,@target_os@,$target_os,;t t
25012 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
25013 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
25014 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
25015 s,@CYGPATH_W@,$CYGPATH_W,;t t
25016 s,@PACKAGE@,$PACKAGE,;t t
25017 s,@VERSION@,$VERSION,;t t
25018 s,@ACLOCAL@,$ACLOCAL,;t t
25019 s,@AUTOCONF@,$AUTOCONF,;t t
25020 s,@AUTOMAKE@,$AUTOMAKE,;t t
25021 s,@AUTOHEADER@,$AUTOHEADER,;t t
25022 s,@MAKEINFO@,$MAKEINFO,;t t
25023 s,@install_sh@,$install_sh,;t t
25024 s,@STRIP@,$STRIP,;t t
25025 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
25026 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
25027 s,@mkdir_p@,$mkdir_p,;t t
25029 s,@SET_MAKE@,$SET_MAKE,;t t
25030 s,@am__leading_dot@,$am__leading_dot,;t t
25031 s,@AMTAR@,$AMTAR,;t t
25032 s,@am__tar@,$am__tar,;t t
25033 s,@am__untar@,$am__untar,;t t
25034 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
25035 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
25036 s,@MAINT@,$MAINT,;t t
25037 s,@multi_basedir@,$multi_basedir,;t t
25038 s,@toolexecdir@,$toolexecdir,;t t
25039 s,@toolexeclibdir@,$toolexeclibdir,;t t
25041 s,@ac_ct_CC@,$ac_ct_CC,;t t
25042 s,@EXEEXT@,$EXEEXT,;t t
25043 s,@OBJEXT@,$OBJEXT,;t t
25044 s,@DEPDIR@,$DEPDIR,;t t
25045 s,@am__include@,$am__include,;t t
25046 s,@am__quote@,$am__quote,;t t
25047 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
25048 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
25049 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
25050 s,@CCDEPMODE@,$CCDEPMODE,;t t
25051 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
25052 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
25053 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
25054 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
25056 s,@ac_ct_AS@,$ac_ct_AS,;t t
25058 s,@ac_ct_AR@,$ac_ct_AR,;t t
25059 s,@RANLIB@,$RANLIB,;t t
25060 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
25061 s,@LN_S@,$LN_S,;t t
25062 s,@LIBTOOL@,$LIBTOOL,;t t
25063 s,@enable_shared@,$enable_shared,;t t
25064 s,@enable_static@,$enable_static,;t t
25066 s,@FCFLAGS@,$FCFLAGS,;t t
25067 s,@LDFLAGS@,$LDFLAGS,;t t
25068 s,@ac_ct_FC@,$ac_ct_FC,;t t
25069 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
25071 s,@CPPFLAGS@,$CPPFLAGS,;t t
25072 s,@EGREP@,$EGREP,;t t
25073 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
25074 s,@LIBOBJS@,$LIBOBJS,;t t
25075 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
25080 cat >>$CONFIG_STATUS <<\_ACEOF
25081 # Split the substitutions into bite-sized pieces for seds with
25082 # small command number limits, like on Digital OSF/1 and HP-UX.
25083 ac_max_sed_lines=48
25084 ac_sed_frag=1 # Number of current file.
25085 ac_beg=1 # First line for current file.
25086 ac_end=$ac_max_sed_lines # Line after last line for current file.
25089 while $ac_more_lines; do
25090 if test $ac_beg -gt 1; then
25091 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
25093 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
25095 if test ! -s $tmp/subs.frag; then
25096 ac_more_lines=false
25098 # The purpose of the label and of the branching condition is to
25099 # speed up the sed processing (if there are no `@' at all, there
25100 # is no need to browse any of the substitutions).
25101 # These are the two extra sed commands mentioned above.
25103 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
25104 if test -z "$ac_sed_cmds"; then
25105 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
25107 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
25109 ac_sed_frag=`expr $ac_sed_frag + 1`
25111 ac_end=`expr $ac_end + $ac_max_sed_lines`
25114 if test -z "$ac_sed_cmds"; then
25117 fi # test -n "$CONFIG_FILES"
25120 cat >>$CONFIG_STATUS <<\_ACEOF
25121 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
25122 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25124 - | *:- | *:-:* ) # input from stdin
25126 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25127 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25128 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25129 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25130 * ) ac_file_in=$ac_file.in ;;
25133 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
25134 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
25135 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25136 X"$ac_file" : 'X\(//\)[^/]' \| \
25137 X"$ac_file" : 'X\(//\)$' \| \
25138 X"$ac_file" : 'X\(/\)' \| \
25139 . : '\(.\)' 2>/dev/null ||
25141 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25142 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25143 /^X\(\/\/\)$/{ s//\1/; q; }
25144 /^X\(\/\).*/{ s//\1/; q; }
25146 { if $as_mkdir_p; then
25151 while test ! -d "$as_dir"; do
25152 as_dirs="$as_dir $as_dirs"
25153 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25154 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25155 X"$as_dir" : 'X\(//\)[^/]' \| \
25156 X"$as_dir" : 'X\(//\)$' \| \
25157 X"$as_dir" : 'X\(/\)' \| \
25158 . : '\(.\)' 2>/dev/null ||
25160 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25161 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25162 /^X\(\/\/\)$/{ s//\1/; q; }
25163 /^X\(\/\).*/{ s//\1/; q; }
25166 test ! -n "$as_dirs" || mkdir $as_dirs
25167 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25168 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25169 { (exit 1); exit 1; }; }; }
25173 if test "$ac_dir" != .; then
25174 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25175 # A "../" for each directory in $ac_dir_suffix.
25176 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25178 ac_dir_suffix= ac_top_builddir=
25182 .) # No --srcdir option. We are building in place.
25184 if test -z "$ac_top_builddir"; then
25187 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
25189 [\\/]* | ?:[\\/]* ) # Absolute path.
25190 ac_srcdir=$srcdir$ac_dir_suffix;
25191 ac_top_srcdir=$srcdir ;;
25192 *) # Relative path.
25193 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
25194 ac_top_srcdir=$ac_top_builddir$srcdir ;;
25197 # Do not use `cd foo && pwd` to compute absolute paths, because
25198 # the directories may not exist.
25200 .) ac_abs_builddir="$ac_dir";;
25203 .) ac_abs_builddir=`pwd`;;
25204 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
25205 *) ac_abs_builddir=`pwd`/"$ac_dir";;
25208 case $ac_abs_builddir in
25209 .) ac_abs_top_builddir=${ac_top_builddir}.;;
25211 case ${ac_top_builddir}. in
25212 .) ac_abs_top_builddir=$ac_abs_builddir;;
25213 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
25214 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
25217 case $ac_abs_builddir in
25218 .) ac_abs_srcdir=$ac_srcdir;;
25221 .) ac_abs_srcdir=$ac_abs_builddir;;
25222 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
25223 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
25226 case $ac_abs_builddir in
25227 .) ac_abs_top_srcdir=$ac_top_srcdir;;
25229 case $ac_top_srcdir in
25230 .) ac_abs_top_srcdir=$ac_abs_builddir;;
25231 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
25232 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
25238 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25239 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
25242 if test x"$ac_file" != x-; then
25243 { echo "$as_me:$LINENO: creating $ac_file" >&5
25244 echo "$as_me: creating $ac_file" >&6;}
25247 # Let's still pretend it is `configure' which instantiates (i.e., don't
25248 # use $as_me), people would be surprised to read:
25249 # /* config.h. Generated by config.status. */
25250 if test x"$ac_file" = x-; then
25253 configure_input="$ac_file. "
25255 configure_input=$configure_input"Generated from `echo $ac_file_in |
25256 sed 's,.*/,,'` by configure."
25258 # First look for the input files in the build tree, otherwise in the
25260 ac_file_inputs=`IFS=:
25261 for f in $ac_file_in; do
25263 -) echo $tmp/stdin ;;
25265 # Absolute (can't be DOS-style, as IFS=:)
25266 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25267 echo "$as_me: error: cannot find input file: $f" >&2;}
25268 { (exit 1); exit 1; }; }
25271 if test -f "$f"; then
25274 elif test -f "$srcdir/$f"; then
25279 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25280 echo "$as_me: error: cannot find input file: $f" >&2;}
25281 { (exit 1); exit 1; }; }
25284 done` || { (exit 1); exit 1; }
25286 cat >>$CONFIG_STATUS <<_ACEOF
25290 cat >>$CONFIG_STATUS <<\_ACEOF
25292 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25293 s,@configure_input@,$configure_input,;t t
25294 s,@srcdir@,$ac_srcdir,;t t
25295 s,@abs_srcdir@,$ac_abs_srcdir,;t t
25296 s,@top_srcdir@,$ac_top_srcdir,;t t
25297 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
25298 s,@builddir@,$ac_builddir,;t t
25299 s,@abs_builddir@,$ac_abs_builddir,;t t
25300 s,@top_builddir@,$ac_top_builddir,;t t
25301 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
25302 s,@INSTALL@,$ac_INSTALL,;t t
25303 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
25305 if test x"$ac_file" != x-; then
25306 mv $tmp/out $ac_file
25314 cat >>$CONFIG_STATUS <<\_ACEOF
25317 # CONFIG_HEADER section.
25320 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
25321 # NAME is the cpp macro being defined and VALUE is the value it is being given.
25323 # ac_d sets the value in "#define NAME VALUE" lines.
25324 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
25325 ac_dB='[ ].*$,\1#\2'
25328 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
25329 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
25330 ac_uB='$,\1#\2define\3'
25334 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
25335 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25337 - | *:- | *:-:* ) # input from stdin
25339 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25340 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25341 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25342 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25343 * ) ac_file_in=$ac_file.in ;;
25346 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
25347 echo "$as_me: creating $ac_file" >&6;}
25349 # First look for the input files in the build tree, otherwise in the
25351 ac_file_inputs=`IFS=:
25352 for f in $ac_file_in; do
25354 -) echo $tmp/stdin ;;
25356 # Absolute (can't be DOS-style, as IFS=:)
25357 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25358 echo "$as_me: error: cannot find input file: $f" >&2;}
25359 { (exit 1); exit 1; }; }
25360 # Do quote $f, to prevent DOS paths from being IFS'd.
25363 if test -f "$f"; then
25366 elif test -f "$srcdir/$f"; then
25371 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25372 echo "$as_me: error: cannot find input file: $f" >&2;}
25373 { (exit 1); exit 1; }; }
25376 done` || { (exit 1); exit 1; }
25377 # Remove the trailing spaces.
25378 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
25382 # Transform confdefs.h into two sed scripts, `conftest.defines' and
25383 # `conftest.undefs', that substitutes the proper values into
25384 # config.h.in to produce config.h. The first handles `#define'
25385 # templates, and the second `#undef' templates.
25386 # And first: Protect against being on the right side of a sed subst in
25387 # config.status. Protect against being in an unquoted here document
25388 # in config.status.
25389 rm -f conftest.defines conftest.undefs
25390 # Using a here document instead of a string reduces the quoting nightmare.
25391 # Putting comments in sed scripts is not portable.
25393 # `end' is used to avoid that the second main sed command (meant for
25394 # 0-ary CPP macros) applies to n-ary macro definitions.
25395 # See the Autoconf documentation for `clear'.
25396 cat >confdef2sed.sed <<\_ACEOF
25401 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
25403 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
25406 # If some macros were called several times there might be several times
25407 # the same #defines, which is useless. Nevertheless, we may not want to
25408 # sort them, since we want the *last* AC-DEFINE to be honored.
25409 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
25410 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
25411 rm -f confdef2sed.sed
25413 # This sed command replaces #undef with comments. This is necessary, for
25414 # example, in the case of _POSIX_SOURCE, which is predefined and required
25415 # on some systems where configure will not decide to define it.
25416 cat >>conftest.undefs <<\_ACEOF
25417 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
25420 # Break up conftest.defines because some shells have a limit on the size
25421 # of here documents, and old seds have small limits too (100 cmds).
25422 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
25423 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
25424 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
25425 echo ' :' >>$CONFIG_STATUS
25426 rm -f conftest.tail
25427 while grep . conftest.defines >/dev/null
25429 # Write a limited-size here document to $tmp/defines.sed.
25430 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
25431 # Speed up: don't consider the non `#define' lines.
25432 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
25433 # Work around the forget-to-reset-the-flag bug.
25434 echo 't clr' >>$CONFIG_STATUS
25435 echo ': clr' >>$CONFIG_STATUS
25436 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
25438 sed -f $tmp/defines.sed $tmp/in >$tmp/out
25440 mv $tmp/out $tmp/in
25442 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
25443 rm -f conftest.defines
25444 mv conftest.tail conftest.defines
25446 rm -f conftest.defines
25447 echo ' fi # grep' >>$CONFIG_STATUS
25448 echo >>$CONFIG_STATUS
25450 # Break up conftest.undefs because some shells have a limit on the size
25451 # of here documents, and old seds have small limits too (100 cmds).
25452 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
25453 rm -f conftest.tail
25454 while grep . conftest.undefs >/dev/null
25456 # Write a limited-size here document to $tmp/undefs.sed.
25457 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
25458 # Speed up: don't consider the non `#undef'
25459 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
25460 # Work around the forget-to-reset-the-flag bug.
25461 echo 't clr' >>$CONFIG_STATUS
25462 echo ': clr' >>$CONFIG_STATUS
25463 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
25465 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
25467 mv $tmp/out $tmp/in
25469 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
25470 rm -f conftest.undefs
25471 mv conftest.tail conftest.undefs
25473 rm -f conftest.undefs
25475 cat >>$CONFIG_STATUS <<\_ACEOF
25476 # Let's still pretend it is `configure' which instantiates (i.e., don't
25477 # use $as_me), people would be surprised to read:
25478 # /* config.h. Generated by config.status. */
25479 if test x"$ac_file" = x-; then
25480 echo "/* Generated by configure. */" >$tmp/config.h
25482 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
25484 cat $tmp/in >>$tmp/config.h
25486 if test x"$ac_file" != x-; then
25487 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
25488 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25489 echo "$as_me: $ac_file is unchanged" >&6;}
25491 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
25492 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25493 X"$ac_file" : 'X\(//\)[^/]' \| \
25494 X"$ac_file" : 'X\(//\)$' \| \
25495 X"$ac_file" : 'X\(/\)' \| \
25496 . : '\(.\)' 2>/dev/null ||
25498 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25499 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25500 /^X\(\/\/\)$/{ s//\1/; q; }
25501 /^X\(\/\).*/{ s//\1/; q; }
25503 { if $as_mkdir_p; then
25508 while test ! -d "$as_dir"; do
25509 as_dirs="$as_dir $as_dirs"
25510 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25511 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25512 X"$as_dir" : 'X\(//\)[^/]' \| \
25513 X"$as_dir" : 'X\(//\)$' \| \
25514 X"$as_dir" : 'X\(/\)' \| \
25515 . : '\(.\)' 2>/dev/null ||
25517 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25518 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25519 /^X\(\/\/\)$/{ s//\1/; q; }
25520 /^X\(\/\).*/{ s//\1/; q; }
25523 test ! -n "$as_dirs" || mkdir $as_dirs
25524 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25525 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25526 { (exit 1); exit 1; }; }; }
25529 mv $tmp/config.h $ac_file
25533 rm -f $tmp/config.h
25535 # Compute $ac_file's index in $config_headers.
25537 for _am_header in $config_headers :; do
25538 case $_am_header in
25539 $ac_file | $ac_file:* )
25542 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
25545 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
25546 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25547 X$ac_file : 'X\(//\)[^/]' \| \
25548 X$ac_file : 'X\(//\)$' \| \
25549 X$ac_file : 'X\(/\)' \| \
25550 . : '\(.\)' 2>/dev/null ||
25552 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25553 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25554 /^X\(\/\/\)$/{ s//\1/; q; }
25555 /^X\(\/\).*/{ s//\1/; q; }
25556 s/.*/./; q'`/stamp-h$_am_stamp_count
25559 cat >>$CONFIG_STATUS <<\_ACEOF
25562 # CONFIG_COMMANDS section.
25564 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
25565 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
25566 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
25567 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
25568 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25569 X"$ac_dest" : 'X\(//\)[^/]' \| \
25570 X"$ac_dest" : 'X\(//\)$' \| \
25571 X"$ac_dest" : 'X\(/\)' \| \
25572 . : '\(.\)' 2>/dev/null ||
25574 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25575 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25576 /^X\(\/\/\)$/{ s//\1/; q; }
25577 /^X\(\/\).*/{ s//\1/; q; }
25579 { if $as_mkdir_p; then
25584 while test ! -d "$as_dir"; do
25585 as_dirs="$as_dir $as_dirs"
25586 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25587 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25588 X"$as_dir" : 'X\(//\)[^/]' \| \
25589 X"$as_dir" : 'X\(//\)$' \| \
25590 X"$as_dir" : 'X\(/\)' \| \
25591 . : '\(.\)' 2>/dev/null ||
25593 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25594 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25595 /^X\(\/\/\)$/{ s//\1/; q; }
25596 /^X\(\/\).*/{ s//\1/; q; }
25599 test ! -n "$as_dirs" || mkdir $as_dirs
25600 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25601 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25602 { (exit 1); exit 1; }; }; }
25606 if test "$ac_dir" != .; then
25607 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25608 # A "../" for each directory in $ac_dir_suffix.
25609 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25611 ac_dir_suffix= ac_top_builddir=
25615 .) # No --srcdir option. We are building in place.
25617 if test -z "$ac_top_builddir"; then
25620 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
25622 [\\/]* | ?:[\\/]* ) # Absolute path.
25623 ac_srcdir=$srcdir$ac_dir_suffix;
25624 ac_top_srcdir=$srcdir ;;
25625 *) # Relative path.
25626 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
25627 ac_top_srcdir=$ac_top_builddir$srcdir ;;
25630 # Do not use `cd foo && pwd` to compute absolute paths, because
25631 # the directories may not exist.
25633 .) ac_abs_builddir="$ac_dir";;
25636 .) ac_abs_builddir=`pwd`;;
25637 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
25638 *) ac_abs_builddir=`pwd`/"$ac_dir";;
25641 case $ac_abs_builddir in
25642 .) ac_abs_top_builddir=${ac_top_builddir}.;;
25644 case ${ac_top_builddir}. in
25645 .) ac_abs_top_builddir=$ac_abs_builddir;;
25646 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
25647 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
25650 case $ac_abs_builddir in
25651 .) ac_abs_srcdir=$ac_srcdir;;
25654 .) ac_abs_srcdir=$ac_abs_builddir;;
25655 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
25656 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
25659 case $ac_abs_builddir in
25660 .) ac_abs_top_srcdir=$ac_top_srcdir;;
25662 case $ac_top_srcdir in
25663 .) ac_abs_top_srcdir=$ac_abs_builddir;;
25664 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
25665 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
25670 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
25671 echo "$as_me: executing $ac_dest commands" >&6;}
25674 # Only add multilib support code if we just rebuilt the top-level
25676 case " $CONFIG_FILES " in
25678 ac_file=Makefile . ${multi_basedir}/config-ml.in
25681 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
25682 # Strip MF so we end up with the name of the file.
25683 mf=`echo "$mf" | sed -e 's/:.*$//'`
25684 # Check whether this is an Automake generated Makefile or not.
25685 # We used to match only the files named `Makefile.in', but
25686 # some people rename them; so instead we look at the file content.
25687 # Grep'ing the first line is not enough: some people post-process
25688 # each Makefile.in and add a new line on top of each file to say so.
25689 # So let's grep whole file.
25690 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
25691 dirpart=`(dirname "$mf") 2>/dev/null ||
25692 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25693 X"$mf" : 'X\(//\)[^/]' \| \
25694 X"$mf" : 'X\(//\)$' \| \
25695 X"$mf" : 'X\(/\)' \| \
25696 . : '\(.\)' 2>/dev/null ||
25698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25699 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25700 /^X\(\/\/\)$/{ s//\1/; q; }
25701 /^X\(\/\).*/{ s//\1/; q; }
25706 # Extract the definition of DEPDIR, am__include, and am__quote
25707 # from the Makefile without running `make'.
25708 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
25709 test -z "$DEPDIR" && continue
25710 am__include=`sed -n 's/^am__include = //p' < "$mf"`
25711 test -z "am__include" && continue
25712 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
25713 # When using ansi2knr, U may be empty or an underscore; expand it
25714 U=`sed -n 's/^U = //p' < "$mf"`
25715 # Find all dependency output files, they are included files with
25716 # $(DEPDIR) in their names. We invoke sed twice because it is the
25717 # simplest approach to changing $(DEPDIR) to its actual value in the
25719 for file in `sed -n "
25720 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
25721 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
25722 # Make sure the directory exists.
25723 test -f "$dirpart/$file" && continue
25724 fdir=`(dirname "$file") 2>/dev/null ||
25725 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25726 X"$file" : 'X\(//\)[^/]' \| \
25727 X"$file" : 'X\(//\)$' \| \
25728 X"$file" : 'X\(/\)' \| \
25729 . : '\(.\)' 2>/dev/null ||
25731 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25732 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25733 /^X\(\/\/\)$/{ s//\1/; q; }
25734 /^X\(\/\).*/{ s//\1/; q; }
25736 { if $as_mkdir_p; then
25737 mkdir -p $dirpart/$fdir
25739 as_dir=$dirpart/$fdir
25741 while test ! -d "$as_dir"; do
25742 as_dirs="$as_dir $as_dirs"
25743 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25744 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25745 X"$as_dir" : 'X\(//\)[^/]' \| \
25746 X"$as_dir" : 'X\(//\)$' \| \
25747 X"$as_dir" : 'X\(/\)' \| \
25748 . : '\(.\)' 2>/dev/null ||
25750 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25751 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25752 /^X\(\/\/\)$/{ s//\1/; q; }
25753 /^X\(\/\).*/{ s//\1/; q; }
25756 test ! -n "$as_dirs" || mkdir $as_dirs
25757 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
25758 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
25759 { (exit 1); exit 1; }; }; }
25761 # echo "creating $dirpart/$file"
25762 echo '# dummy' > "$dirpart/$file"
25767 if test "$GCC" = yes; then
25768 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
25770 echo "/* generated for $CC */" > tmp-stdint.h
25773 sed 's/^ *//' >> tmp-stdint.h <<EOF
25775 #ifndef GCC_GENERATED_STDINT_H
25776 #define GCC_GENERATED_STDINT_H 1
25778 #include <sys/types.h>
25781 if test "$acx_cv_header_stdint" != stdint.h; then
25782 echo "#include <stddef.h>" >> tmp-stdint.h
25784 if test "$acx_cv_header_stdint" != stddef.h; then
25785 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
25788 sed 's/^ *//' >> tmp-stdint.h <<EOF
25789 /* glibc uses these symbols as guards to prevent redefinitions. */
25790 #ifdef __int8_t_defined
25795 #ifdef __uint32_t_defined
25801 # ----------------- done header, emit basic int types -------------
25802 if test "$acx_cv_header_stdint" = stddef.h; then
25803 sed 's/^ *//' >> tmp-stdint.h <<EOF
25807 typedef unsigned $acx_cv_type_int8_t uint8_t;
25812 typedef unsigned $acx_cv_type_int16_t uint16_t;
25817 typedef unsigned $acx_cv_type_int32_t uint32_t;
25822 typedef $acx_cv_type_int8_t int8_t;
25827 typedef $acx_cv_type_int16_t int16_t;
25832 typedef $acx_cv_type_int32_t int32_t;
25835 elif test "$ac_cv_type_u_int32_t" = yes; then
25836 sed 's/^ *//' >> tmp-stdint.h <<EOF
25838 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
25851 typedef u_int8_t uint8_t;
25856 typedef u_int16_t uint16_t;
25861 typedef u_int32_t uint32_t;
25865 sed 's/^ *//' >> tmp-stdint.h <<EOF
25867 /* Some systems have guard macros to prevent redefinitions, define them. */
25889 # ------------- done basic int types, emit int64_t types ------------
25890 if test "$ac_cv_type_uint64_t" = yes; then
25891 sed 's/^ *//' >> tmp-stdint.h <<EOF
25893 /* system headers have good uint64_t and int64_t */
25901 elif test "$ac_cv_type_u_int64_t" = yes; then
25902 sed 's/^ *//' >> tmp-stdint.h <<EOF
25904 /* system headers have an u_int64_t (and int64_t) */
25910 typedef u_int64_t uint64_t;
25913 elif test -n "$acx_cv_type_int64_t"; then
25914 sed 's/^ *//' >> tmp-stdint.h <<EOF
25916 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
25919 typedef $acx_cv_type_int64_t int64_t;
25923 typedef unsigned $acx_cv_type_int64_t uint64_t;
25927 sed 's/^ *//' >> tmp-stdint.h <<EOF
25929 /* some common heuristics for int64_t, using compiler-specific tests */
25930 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
25933 typedef long long int64_t;
25937 typedef unsigned long long uint64_t;
25940 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
25941 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
25942 does not implement __extension__. But that compiler doesn't define
25944 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
25945 # define __extension__
25950 __extension__ typedef long long int64_t;
25954 __extension__ typedef unsigned long long uint64_t;
25957 #elif !defined __STRICT_ANSI__
25958 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
25962 typedef __int64 int64_t;
25966 typedef unsigned __int64 uint64_t;
25968 # endif /* compiler */
25970 #endif /* ANSI version */
25974 # ------------- done int64_t types, emit intptr types ------------
25975 if test "$ac_cv_type_uintptr_t" != yes; then
25976 sed 's/^ *//' >> tmp-stdint.h <<EOF
25978 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
25979 typedef u$acx_cv_type_intptr_t uintptr_t;
25980 typedef $acx_cv_type_intptr_t intptr_t;
25984 # ------------- done intptr types, emit int_least types ------------
25985 if test "$ac_cv_type_int_least32_t" != yes; then
25986 sed 's/^ *//' >> tmp-stdint.h <<EOF
25988 /* Define int_least types */
25989 typedef int8_t int_least8_t;
25990 typedef int16_t int_least16_t;
25991 typedef int32_t int_least32_t;
25993 typedef int64_t int_least64_t;
25996 typedef uint8_t uint_least8_t;
25997 typedef uint16_t uint_least16_t;
25998 typedef uint32_t uint_least32_t;
26000 typedef uint64_t uint_least64_t;
26005 # ------------- done intptr types, emit int_fast types ------------
26006 if test "$ac_cv_type_int_fast32_t" != yes; then
26007 sed 's/^ *//' >> tmp-stdint.h <<EOF
26009 /* Define int_fast types. short is often slow */
26010 typedef int8_t int_fast8_t;
26011 typedef int int_fast16_t;
26012 typedef int32_t int_fast32_t;
26014 typedef int64_t int_fast64_t;
26017 typedef uint8_t uint_fast8_t;
26018 typedef unsigned int uint_fast16_t;
26019 typedef uint32_t uint_fast32_t;
26021 typedef uint64_t uint_fast64_t;
26026 if test "$ac_cv_type_uintmax_t" != yes; then
26027 sed 's/^ *//' >> tmp-stdint.h <<EOF
26029 /* Define intmax based on what we found */
26031 typedef int64_t intmax_t;
26033 typedef long intmax_t;
26036 typedef uint64_t uintmax_t;
26038 typedef unsigned long uintmax_t;
26043 sed 's/^ *//' >> tmp-stdint.h <<EOF
26045 #endif /* GCC_GENERATED_STDINT_H */
26048 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
26051 mv -f tmp-stdint.h gstdint.h
26059 cat >>$CONFIG_STATUS <<\_ACEOF
26061 { (exit 0); exit 0; }
26063 chmod +x $CONFIG_STATUS
26064 ac_clean_files=$ac_clean_files_save
26067 # configure is writing to config.log, and then calls config.status.
26068 # config.status does its own redirection, appending to config.log.
26069 # Unfortunately, on DOS this fails, as config.log is still kept open
26070 # by configure, so config.status won't be able to write to it; its
26071 # output is simply discarded. So we exec the FD to /dev/null,
26072 # effectively closing config.log, so it can be properly (re)opened and
26073 # appended to by config.status. When coming back to configure, we
26074 # need to make the FD available again.
26075 if test "$no_create" != yes; then
26077 ac_config_status_args=
26078 test "$silent" = yes &&
26079 ac_config_status_args="$ac_config_status_args --quiet"
26081 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
26083 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26084 # would make configure fail if this is the last instruction.
26085 $ac_cs_success || { (exit 1); exit 1; }