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
10517 for ac_func in gettimeofday stat fstat lstat
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
10624 # Check for glibc backtrace functions
10627 for ac_func in backtrace backtrace_symbols
10629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10630 echo "$as_me:$LINENO: checking for $ac_func" >&5
10631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10632 if eval "test \"\${$as_ac_var+set}\" = set"; then
10633 echo $ECHO_N "(cached) $ECHO_C" >&6
10635 if test x$gcc_no_link = xyes; then
10636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10638 { (exit 1); exit 1; }; }
10640 cat >conftest.$ac_ext <<_ACEOF
10643 cat confdefs.h >>conftest.$ac_ext
10644 cat >>conftest.$ac_ext <<_ACEOF
10645 /* end confdefs.h. */
10646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10648 #define $ac_func innocuous_$ac_func
10650 /* System header to define __stub macros and hopefully few prototypes,
10651 which can conflict with char $ac_func (); below.
10652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10653 <limits.h> exists even on freestanding compilers. */
10656 # include <limits.h>
10658 # include <assert.h>
10663 /* Override any gcc2 internal prototype to avoid an error. */
10668 /* We use char because int might match the return type of a gcc2
10669 builtin and then its argument prototype would still apply. */
10671 /* The GNU C library defines this for functions which it implements
10672 to always fail with ENOSYS. Some functions are actually named
10673 something starting with __ and the normal name is an alias. */
10674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10677 char (*f) () = $ac_func;
10686 return f != $ac_func;
10691 rm -f conftest.$ac_objext conftest$ac_exeext
10692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10693 (eval $ac_link) 2>conftest.er1
10695 grep -v '^ *+' conftest.er1 >conftest.err
10697 cat conftest.err >&5
10698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10699 (exit $ac_status); } &&
10700 { ac_try='test -z "$ac_c_werror_flag"
10701 || test ! -s conftest.err'
10702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10703 (eval $ac_try) 2>&5
10705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10706 (exit $ac_status); }; } &&
10707 { ac_try='test -s conftest$ac_exeext'
10708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10709 (eval $ac_try) 2>&5
10711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10712 (exit $ac_status); }; }; then
10713 eval "$as_ac_var=yes"
10715 echo "$as_me: failed program was:" >&5
10716 sed 's/^/| /' conftest.$ac_ext >&5
10718 eval "$as_ac_var=no"
10720 rm -f conftest.err conftest.$ac_objext \
10721 conftest$ac_exeext conftest.$ac_ext
10723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10725 if test `eval echo '${'$as_ac_var'}'` = yes; then
10726 cat >>confdefs.h <<_ACEOF
10727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10735 echo "$as_me:$LINENO: checking for intptr_t" >&5
10736 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
10737 if test "${ac_cv_type_intptr_t+set}" = set; then
10738 echo $ECHO_N "(cached) $ECHO_C" >&6
10740 cat >conftest.$ac_ext <<_ACEOF
10743 cat confdefs.h >>conftest.$ac_ext
10744 cat >>conftest.$ac_ext <<_ACEOF
10745 /* end confdefs.h. */
10746 $ac_includes_default
10750 if ((intptr_t *) 0)
10752 if (sizeof (intptr_t))
10758 rm -f conftest.$ac_objext
10759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10760 (eval $ac_compile) 2>conftest.er1
10762 grep -v '^ *+' conftest.er1 >conftest.err
10764 cat conftest.err >&5
10765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10766 (exit $ac_status); } &&
10767 { ac_try='test -z "$ac_c_werror_flag"
10768 || test ! -s conftest.err'
10769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10770 (eval $ac_try) 2>&5
10772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773 (exit $ac_status); }; } &&
10774 { ac_try='test -s conftest.$ac_objext'
10775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10776 (eval $ac_try) 2>&5
10778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10779 (exit $ac_status); }; }; then
10780 ac_cv_type_intptr_t=yes
10782 echo "$as_me: failed program was:" >&5
10783 sed 's/^/| /' conftest.$ac_ext >&5
10785 ac_cv_type_intptr_t=no
10787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10789 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
10790 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
10791 if test $ac_cv_type_intptr_t = yes; then
10793 cat >>confdefs.h <<_ACEOF
10794 #define HAVE_INTPTR_T 1
10801 # Check libc for getgid, getpid, getuid
10802 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
10803 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
10804 if test "${ac_cv_lib_c_getgid+set}" = set; then
10805 echo $ECHO_N "(cached) $ECHO_C" >&6
10807 ac_check_lib_save_LIBS=$LIBS
10809 if test x$gcc_no_link = xyes; then
10810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10812 { (exit 1); exit 1; }; }
10814 cat >conftest.$ac_ext <<_ACEOF
10817 cat confdefs.h >>conftest.$ac_ext
10818 cat >>conftest.$ac_ext <<_ACEOF
10819 /* end confdefs.h. */
10821 /* Override any gcc2 internal prototype to avoid an error. */
10825 /* We use char because int might match the return type of a gcc2
10826 builtin and then its argument prototype would still apply. */
10836 rm -f conftest.$ac_objext conftest$ac_exeext
10837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10838 (eval $ac_link) 2>conftest.er1
10840 grep -v '^ *+' conftest.er1 >conftest.err
10842 cat conftest.err >&5
10843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10844 (exit $ac_status); } &&
10845 { ac_try='test -z "$ac_c_werror_flag"
10846 || test ! -s conftest.err'
10847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10848 (eval $ac_try) 2>&5
10850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10851 (exit $ac_status); }; } &&
10852 { ac_try='test -s conftest$ac_exeext'
10853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10854 (eval $ac_try) 2>&5
10856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10857 (exit $ac_status); }; }; then
10858 ac_cv_lib_c_getgid=yes
10860 echo "$as_me: failed program was:" >&5
10861 sed 's/^/| /' conftest.$ac_ext >&5
10863 ac_cv_lib_c_getgid=no
10865 rm -f conftest.err conftest.$ac_objext \
10866 conftest$ac_exeext conftest.$ac_ext
10867 LIBS=$ac_check_lib_save_LIBS
10869 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
10870 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
10871 if test $ac_cv_lib_c_getgid = yes; then
10873 cat >>confdefs.h <<\_ACEOF
10874 #define HAVE_GETGID 1
10879 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
10880 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
10881 if test "${ac_cv_lib_c_getpid+set}" = set; then
10882 echo $ECHO_N "(cached) $ECHO_C" >&6
10884 ac_check_lib_save_LIBS=$LIBS
10886 if test x$gcc_no_link = xyes; then
10887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10889 { (exit 1); exit 1; }; }
10891 cat >conftest.$ac_ext <<_ACEOF
10894 cat confdefs.h >>conftest.$ac_ext
10895 cat >>conftest.$ac_ext <<_ACEOF
10896 /* end confdefs.h. */
10898 /* Override any gcc2 internal prototype to avoid an error. */
10902 /* We use char because int might match the return type of a gcc2
10903 builtin and then its argument prototype would still apply. */
10913 rm -f conftest.$ac_objext conftest$ac_exeext
10914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10915 (eval $ac_link) 2>conftest.er1
10917 grep -v '^ *+' conftest.er1 >conftest.err
10919 cat conftest.err >&5
10920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10921 (exit $ac_status); } &&
10922 { ac_try='test -z "$ac_c_werror_flag"
10923 || test ! -s conftest.err'
10924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10925 (eval $ac_try) 2>&5
10927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10928 (exit $ac_status); }; } &&
10929 { ac_try='test -s conftest$ac_exeext'
10930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10931 (eval $ac_try) 2>&5
10933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10934 (exit $ac_status); }; }; then
10935 ac_cv_lib_c_getpid=yes
10937 echo "$as_me: failed program was:" >&5
10938 sed 's/^/| /' conftest.$ac_ext >&5
10940 ac_cv_lib_c_getpid=no
10942 rm -f conftest.err conftest.$ac_objext \
10943 conftest$ac_exeext conftest.$ac_ext
10944 LIBS=$ac_check_lib_save_LIBS
10946 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
10947 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
10948 if test $ac_cv_lib_c_getpid = yes; then
10950 cat >>confdefs.h <<\_ACEOF
10951 #define HAVE_GETPID 1
10956 echo "$as_me:$LINENO: checking for getppid in -lc" >&5
10957 echo $ECHO_N "checking for getppid in -lc... $ECHO_C" >&6
10958 if test "${ac_cv_lib_c_getppid+set}" = set; then
10959 echo $ECHO_N "(cached) $ECHO_C" >&6
10961 ac_check_lib_save_LIBS=$LIBS
10963 if test x$gcc_no_link = xyes; then
10964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10966 { (exit 1); exit 1; }; }
10968 cat >conftest.$ac_ext <<_ACEOF
10971 cat confdefs.h >>conftest.$ac_ext
10972 cat >>conftest.$ac_ext <<_ACEOF
10973 /* end confdefs.h. */
10975 /* Override any gcc2 internal prototype to avoid an error. */
10979 /* We use char because int might match the return type of a gcc2
10980 builtin and then its argument prototype would still apply. */
10990 rm -f conftest.$ac_objext conftest$ac_exeext
10991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10992 (eval $ac_link) 2>conftest.er1
10994 grep -v '^ *+' conftest.er1 >conftest.err
10996 cat conftest.err >&5
10997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10998 (exit $ac_status); } &&
10999 { ac_try='test -z "$ac_c_werror_flag"
11000 || test ! -s conftest.err'
11001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11002 (eval $ac_try) 2>&5
11004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11005 (exit $ac_status); }; } &&
11006 { ac_try='test -s conftest$ac_exeext'
11007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11008 (eval $ac_try) 2>&5
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); }; }; then
11012 ac_cv_lib_c_getppid=yes
11014 echo "$as_me: failed program was:" >&5
11015 sed 's/^/| /' conftest.$ac_ext >&5
11017 ac_cv_lib_c_getppid=no
11019 rm -f conftest.err conftest.$ac_objext \
11020 conftest$ac_exeext conftest.$ac_ext
11021 LIBS=$ac_check_lib_save_LIBS
11023 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getppid" >&5
11024 echo "${ECHO_T}$ac_cv_lib_c_getppid" >&6
11025 if test $ac_cv_lib_c_getppid = yes; then
11027 cat >>confdefs.h <<\_ACEOF
11028 #define HAVE_GETPPID 1
11033 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
11034 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
11035 if test "${ac_cv_lib_c_getuid+set}" = set; then
11036 echo $ECHO_N "(cached) $ECHO_C" >&6
11038 ac_check_lib_save_LIBS=$LIBS
11040 if test x$gcc_no_link = xyes; then
11041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11043 { (exit 1); exit 1; }; }
11045 cat >conftest.$ac_ext <<_ACEOF
11048 cat confdefs.h >>conftest.$ac_ext
11049 cat >>conftest.$ac_ext <<_ACEOF
11050 /* end confdefs.h. */
11052 /* Override any gcc2 internal prototype to avoid an error. */
11056 /* We use char because int might match the return type of a gcc2
11057 builtin and then its argument prototype would still apply. */
11067 rm -f conftest.$ac_objext conftest$ac_exeext
11068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11069 (eval $ac_link) 2>conftest.er1
11071 grep -v '^ *+' conftest.er1 >conftest.err
11073 cat conftest.err >&5
11074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11075 (exit $ac_status); } &&
11076 { ac_try='test -z "$ac_c_werror_flag"
11077 || test ! -s conftest.err'
11078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11079 (eval $ac_try) 2>&5
11081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11082 (exit $ac_status); }; } &&
11083 { ac_try='test -s conftest$ac_exeext'
11084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11085 (eval $ac_try) 2>&5
11087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11088 (exit $ac_status); }; }; then
11089 ac_cv_lib_c_getuid=yes
11091 echo "$as_me: failed program was:" >&5
11092 sed 's/^/| /' conftest.$ac_ext >&5
11094 ac_cv_lib_c_getuid=no
11096 rm -f conftest.err conftest.$ac_objext \
11097 conftest$ac_exeext conftest.$ac_ext
11098 LIBS=$ac_check_lib_save_LIBS
11100 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
11101 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
11102 if test $ac_cv_lib_c_getuid = yes; then
11104 cat >>confdefs.h <<\_ACEOF
11105 #define HAVE_GETUID 1
11111 # Check for C99 (and other IEEE) math functions
11112 # ??? This list seems awful long. Is there a better way to test for these?
11113 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
11114 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
11115 if test "${ac_cv_lib_m_acosf+set}" = set; then
11116 echo $ECHO_N "(cached) $ECHO_C" >&6
11118 ac_check_lib_save_LIBS=$LIBS
11120 if test x$gcc_no_link = xyes; then
11121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11123 { (exit 1); exit 1; }; }
11125 cat >conftest.$ac_ext <<_ACEOF
11128 cat confdefs.h >>conftest.$ac_ext
11129 cat >>conftest.$ac_ext <<_ACEOF
11130 /* end confdefs.h. */
11132 /* Override any gcc2 internal prototype to avoid an error. */
11136 /* We use char because int might match the return type of a gcc2
11137 builtin and then its argument prototype would still apply. */
11147 rm -f conftest.$ac_objext conftest$ac_exeext
11148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11149 (eval $ac_link) 2>conftest.er1
11151 grep -v '^ *+' conftest.er1 >conftest.err
11153 cat conftest.err >&5
11154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11155 (exit $ac_status); } &&
11156 { ac_try='test -z "$ac_c_werror_flag"
11157 || test ! -s conftest.err'
11158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11159 (eval $ac_try) 2>&5
11161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11162 (exit $ac_status); }; } &&
11163 { ac_try='test -s conftest$ac_exeext'
11164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11165 (eval $ac_try) 2>&5
11167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11168 (exit $ac_status); }; }; then
11169 ac_cv_lib_m_acosf=yes
11171 echo "$as_me: failed program was:" >&5
11172 sed 's/^/| /' conftest.$ac_ext >&5
11174 ac_cv_lib_m_acosf=no
11176 rm -f conftest.err conftest.$ac_objext \
11177 conftest$ac_exeext conftest.$ac_ext
11178 LIBS=$ac_check_lib_save_LIBS
11180 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
11181 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
11182 if test $ac_cv_lib_m_acosf = yes; then
11184 cat >>confdefs.h <<\_ACEOF
11185 #define HAVE_ACOSF 1
11190 echo "$as_me:$LINENO: checking for acos in -lm" >&5
11191 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
11192 if test "${ac_cv_lib_m_acos+set}" = set; then
11193 echo $ECHO_N "(cached) $ECHO_C" >&6
11195 ac_check_lib_save_LIBS=$LIBS
11197 if test x$gcc_no_link = xyes; then
11198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11200 { (exit 1); exit 1; }; }
11202 cat >conftest.$ac_ext <<_ACEOF
11205 cat confdefs.h >>conftest.$ac_ext
11206 cat >>conftest.$ac_ext <<_ACEOF
11207 /* end confdefs.h. */
11209 /* Override any gcc2 internal prototype to avoid an error. */
11213 /* We use char because int might match the return type of a gcc2
11214 builtin and then its argument prototype would still apply. */
11224 rm -f conftest.$ac_objext conftest$ac_exeext
11225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11226 (eval $ac_link) 2>conftest.er1
11228 grep -v '^ *+' conftest.er1 >conftest.err
11230 cat conftest.err >&5
11231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11232 (exit $ac_status); } &&
11233 { ac_try='test -z "$ac_c_werror_flag"
11234 || test ! -s conftest.err'
11235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11236 (eval $ac_try) 2>&5
11238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11239 (exit $ac_status); }; } &&
11240 { ac_try='test -s conftest$ac_exeext'
11241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11242 (eval $ac_try) 2>&5
11244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11245 (exit $ac_status); }; }; then
11246 ac_cv_lib_m_acos=yes
11248 echo "$as_me: failed program was:" >&5
11249 sed 's/^/| /' conftest.$ac_ext >&5
11251 ac_cv_lib_m_acos=no
11253 rm -f conftest.err conftest.$ac_objext \
11254 conftest$ac_exeext conftest.$ac_ext
11255 LIBS=$ac_check_lib_save_LIBS
11257 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
11258 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
11259 if test $ac_cv_lib_m_acos = yes; then
11261 cat >>confdefs.h <<\_ACEOF
11262 #define HAVE_ACOS 1
11267 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
11268 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
11269 if test "${ac_cv_lib_m_acosl+set}" = set; then
11270 echo $ECHO_N "(cached) $ECHO_C" >&6
11272 ac_check_lib_save_LIBS=$LIBS
11274 if test x$gcc_no_link = xyes; then
11275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11277 { (exit 1); exit 1; }; }
11279 cat >conftest.$ac_ext <<_ACEOF
11282 cat confdefs.h >>conftest.$ac_ext
11283 cat >>conftest.$ac_ext <<_ACEOF
11284 /* end confdefs.h. */
11286 /* Override any gcc2 internal prototype to avoid an error. */
11290 /* We use char because int might match the return type of a gcc2
11291 builtin and then its argument prototype would still apply. */
11301 rm -f conftest.$ac_objext conftest$ac_exeext
11302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11303 (eval $ac_link) 2>conftest.er1
11305 grep -v '^ *+' conftest.er1 >conftest.err
11307 cat conftest.err >&5
11308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11309 (exit $ac_status); } &&
11310 { ac_try='test -z "$ac_c_werror_flag"
11311 || test ! -s conftest.err'
11312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11313 (eval $ac_try) 2>&5
11315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11316 (exit $ac_status); }; } &&
11317 { ac_try='test -s conftest$ac_exeext'
11318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11319 (eval $ac_try) 2>&5
11321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11322 (exit $ac_status); }; }; then
11323 ac_cv_lib_m_acosl=yes
11325 echo "$as_me: failed program was:" >&5
11326 sed 's/^/| /' conftest.$ac_ext >&5
11328 ac_cv_lib_m_acosl=no
11330 rm -f conftest.err conftest.$ac_objext \
11331 conftest$ac_exeext conftest.$ac_ext
11332 LIBS=$ac_check_lib_save_LIBS
11334 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
11335 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
11336 if test $ac_cv_lib_m_acosl = yes; then
11338 cat >>confdefs.h <<\_ACEOF
11339 #define HAVE_ACOSL 1
11344 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
11345 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
11346 if test "${ac_cv_lib_m_acoshf+set}" = set; then
11347 echo $ECHO_N "(cached) $ECHO_C" >&6
11349 ac_check_lib_save_LIBS=$LIBS
11351 if test x$gcc_no_link = xyes; then
11352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11354 { (exit 1); exit 1; }; }
11356 cat >conftest.$ac_ext <<_ACEOF
11359 cat confdefs.h >>conftest.$ac_ext
11360 cat >>conftest.$ac_ext <<_ACEOF
11361 /* end confdefs.h. */
11363 /* Override any gcc2 internal prototype to avoid an error. */
11367 /* We use char because int might match the return type of a gcc2
11368 builtin and then its argument prototype would still apply. */
11378 rm -f conftest.$ac_objext conftest$ac_exeext
11379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11380 (eval $ac_link) 2>conftest.er1
11382 grep -v '^ *+' conftest.er1 >conftest.err
11384 cat conftest.err >&5
11385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11386 (exit $ac_status); } &&
11387 { ac_try='test -z "$ac_c_werror_flag"
11388 || test ! -s conftest.err'
11389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11390 (eval $ac_try) 2>&5
11392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11393 (exit $ac_status); }; } &&
11394 { ac_try='test -s conftest$ac_exeext'
11395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11396 (eval $ac_try) 2>&5
11398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11399 (exit $ac_status); }; }; then
11400 ac_cv_lib_m_acoshf=yes
11402 echo "$as_me: failed program was:" >&5
11403 sed 's/^/| /' conftest.$ac_ext >&5
11405 ac_cv_lib_m_acoshf=no
11407 rm -f conftest.err conftest.$ac_objext \
11408 conftest$ac_exeext conftest.$ac_ext
11409 LIBS=$ac_check_lib_save_LIBS
11411 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
11412 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
11413 if test $ac_cv_lib_m_acoshf = yes; then
11415 cat >>confdefs.h <<\_ACEOF
11416 #define HAVE_ACOSHF 1
11421 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
11422 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
11423 if test "${ac_cv_lib_m_acosh+set}" = set; then
11424 echo $ECHO_N "(cached) $ECHO_C" >&6
11426 ac_check_lib_save_LIBS=$LIBS
11428 if test x$gcc_no_link = xyes; then
11429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11431 { (exit 1); exit 1; }; }
11433 cat >conftest.$ac_ext <<_ACEOF
11436 cat confdefs.h >>conftest.$ac_ext
11437 cat >>conftest.$ac_ext <<_ACEOF
11438 /* end confdefs.h. */
11440 /* Override any gcc2 internal prototype to avoid an error. */
11444 /* We use char because int might match the return type of a gcc2
11445 builtin and then its argument prototype would still apply. */
11455 rm -f conftest.$ac_objext conftest$ac_exeext
11456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11457 (eval $ac_link) 2>conftest.er1
11459 grep -v '^ *+' conftest.er1 >conftest.err
11461 cat conftest.err >&5
11462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 (exit $ac_status); } &&
11464 { ac_try='test -z "$ac_c_werror_flag"
11465 || test ! -s conftest.err'
11466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11467 (eval $ac_try) 2>&5
11469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11470 (exit $ac_status); }; } &&
11471 { ac_try='test -s conftest$ac_exeext'
11472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11473 (eval $ac_try) 2>&5
11475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11476 (exit $ac_status); }; }; then
11477 ac_cv_lib_m_acosh=yes
11479 echo "$as_me: failed program was:" >&5
11480 sed 's/^/| /' conftest.$ac_ext >&5
11482 ac_cv_lib_m_acosh=no
11484 rm -f conftest.err conftest.$ac_objext \
11485 conftest$ac_exeext conftest.$ac_ext
11486 LIBS=$ac_check_lib_save_LIBS
11488 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
11489 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
11490 if test $ac_cv_lib_m_acosh = yes; then
11492 cat >>confdefs.h <<\_ACEOF
11493 #define HAVE_ACOSH 1
11498 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
11499 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
11500 if test "${ac_cv_lib_m_acoshl+set}" = set; then
11501 echo $ECHO_N "(cached) $ECHO_C" >&6
11503 ac_check_lib_save_LIBS=$LIBS
11505 if test x$gcc_no_link = xyes; then
11506 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11508 { (exit 1); exit 1; }; }
11510 cat >conftest.$ac_ext <<_ACEOF
11513 cat confdefs.h >>conftest.$ac_ext
11514 cat >>conftest.$ac_ext <<_ACEOF
11515 /* end confdefs.h. */
11517 /* Override any gcc2 internal prototype to avoid an error. */
11521 /* We use char because int might match the return type of a gcc2
11522 builtin and then its argument prototype would still apply. */
11532 rm -f conftest.$ac_objext conftest$ac_exeext
11533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11534 (eval $ac_link) 2>conftest.er1
11536 grep -v '^ *+' conftest.er1 >conftest.err
11538 cat conftest.err >&5
11539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11540 (exit $ac_status); } &&
11541 { ac_try='test -z "$ac_c_werror_flag"
11542 || test ! -s conftest.err'
11543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11544 (eval $ac_try) 2>&5
11546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11547 (exit $ac_status); }; } &&
11548 { ac_try='test -s conftest$ac_exeext'
11549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11550 (eval $ac_try) 2>&5
11552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11553 (exit $ac_status); }; }; then
11554 ac_cv_lib_m_acoshl=yes
11556 echo "$as_me: failed program was:" >&5
11557 sed 's/^/| /' conftest.$ac_ext >&5
11559 ac_cv_lib_m_acoshl=no
11561 rm -f conftest.err conftest.$ac_objext \
11562 conftest$ac_exeext conftest.$ac_ext
11563 LIBS=$ac_check_lib_save_LIBS
11565 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
11566 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
11567 if test $ac_cv_lib_m_acoshl = yes; then
11569 cat >>confdefs.h <<\_ACEOF
11570 #define HAVE_ACOSHL 1
11575 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
11576 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
11577 if test "${ac_cv_lib_m_asinf+set}" = set; then
11578 echo $ECHO_N "(cached) $ECHO_C" >&6
11580 ac_check_lib_save_LIBS=$LIBS
11582 if test x$gcc_no_link = xyes; then
11583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11585 { (exit 1); exit 1; }; }
11587 cat >conftest.$ac_ext <<_ACEOF
11590 cat confdefs.h >>conftest.$ac_ext
11591 cat >>conftest.$ac_ext <<_ACEOF
11592 /* end confdefs.h. */
11594 /* Override any gcc2 internal prototype to avoid an error. */
11598 /* We use char because int might match the return type of a gcc2
11599 builtin and then its argument prototype would still apply. */
11609 rm -f conftest.$ac_objext conftest$ac_exeext
11610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11611 (eval $ac_link) 2>conftest.er1
11613 grep -v '^ *+' conftest.er1 >conftest.err
11615 cat conftest.err >&5
11616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11617 (exit $ac_status); } &&
11618 { ac_try='test -z "$ac_c_werror_flag"
11619 || test ! -s conftest.err'
11620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11621 (eval $ac_try) 2>&5
11623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11624 (exit $ac_status); }; } &&
11625 { ac_try='test -s conftest$ac_exeext'
11626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11627 (eval $ac_try) 2>&5
11629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11630 (exit $ac_status); }; }; then
11631 ac_cv_lib_m_asinf=yes
11633 echo "$as_me: failed program was:" >&5
11634 sed 's/^/| /' conftest.$ac_ext >&5
11636 ac_cv_lib_m_asinf=no
11638 rm -f conftest.err conftest.$ac_objext \
11639 conftest$ac_exeext conftest.$ac_ext
11640 LIBS=$ac_check_lib_save_LIBS
11642 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
11643 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
11644 if test $ac_cv_lib_m_asinf = yes; then
11646 cat >>confdefs.h <<\_ACEOF
11647 #define HAVE_ASINF 1
11652 echo "$as_me:$LINENO: checking for asin in -lm" >&5
11653 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
11654 if test "${ac_cv_lib_m_asin+set}" = set; then
11655 echo $ECHO_N "(cached) $ECHO_C" >&6
11657 ac_check_lib_save_LIBS=$LIBS
11659 if test x$gcc_no_link = xyes; then
11660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11662 { (exit 1); exit 1; }; }
11664 cat >conftest.$ac_ext <<_ACEOF
11667 cat confdefs.h >>conftest.$ac_ext
11668 cat >>conftest.$ac_ext <<_ACEOF
11669 /* end confdefs.h. */
11671 /* Override any gcc2 internal prototype to avoid an error. */
11675 /* We use char because int might match the return type of a gcc2
11676 builtin and then its argument prototype would still apply. */
11686 rm -f conftest.$ac_objext conftest$ac_exeext
11687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11688 (eval $ac_link) 2>conftest.er1
11690 grep -v '^ *+' conftest.er1 >conftest.err
11692 cat conftest.err >&5
11693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11694 (exit $ac_status); } &&
11695 { ac_try='test -z "$ac_c_werror_flag"
11696 || test ! -s conftest.err'
11697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11698 (eval $ac_try) 2>&5
11700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11701 (exit $ac_status); }; } &&
11702 { ac_try='test -s conftest$ac_exeext'
11703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11704 (eval $ac_try) 2>&5
11706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11707 (exit $ac_status); }; }; then
11708 ac_cv_lib_m_asin=yes
11710 echo "$as_me: failed program was:" >&5
11711 sed 's/^/| /' conftest.$ac_ext >&5
11713 ac_cv_lib_m_asin=no
11715 rm -f conftest.err conftest.$ac_objext \
11716 conftest$ac_exeext conftest.$ac_ext
11717 LIBS=$ac_check_lib_save_LIBS
11719 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
11720 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
11721 if test $ac_cv_lib_m_asin = yes; then
11723 cat >>confdefs.h <<\_ACEOF
11724 #define HAVE_ASIN 1
11729 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
11730 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
11731 if test "${ac_cv_lib_m_asinl+set}" = set; then
11732 echo $ECHO_N "(cached) $ECHO_C" >&6
11734 ac_check_lib_save_LIBS=$LIBS
11736 if test x$gcc_no_link = xyes; then
11737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11739 { (exit 1); exit 1; }; }
11741 cat >conftest.$ac_ext <<_ACEOF
11744 cat confdefs.h >>conftest.$ac_ext
11745 cat >>conftest.$ac_ext <<_ACEOF
11746 /* end confdefs.h. */
11748 /* Override any gcc2 internal prototype to avoid an error. */
11752 /* We use char because int might match the return type of a gcc2
11753 builtin and then its argument prototype would still apply. */
11763 rm -f conftest.$ac_objext conftest$ac_exeext
11764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11765 (eval $ac_link) 2>conftest.er1
11767 grep -v '^ *+' conftest.er1 >conftest.err
11769 cat conftest.err >&5
11770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11771 (exit $ac_status); } &&
11772 { ac_try='test -z "$ac_c_werror_flag"
11773 || test ! -s conftest.err'
11774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11775 (eval $ac_try) 2>&5
11777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11778 (exit $ac_status); }; } &&
11779 { ac_try='test -s conftest$ac_exeext'
11780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11781 (eval $ac_try) 2>&5
11783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11784 (exit $ac_status); }; }; then
11785 ac_cv_lib_m_asinl=yes
11787 echo "$as_me: failed program was:" >&5
11788 sed 's/^/| /' conftest.$ac_ext >&5
11790 ac_cv_lib_m_asinl=no
11792 rm -f conftest.err conftest.$ac_objext \
11793 conftest$ac_exeext conftest.$ac_ext
11794 LIBS=$ac_check_lib_save_LIBS
11796 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
11797 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
11798 if test $ac_cv_lib_m_asinl = yes; then
11800 cat >>confdefs.h <<\_ACEOF
11801 #define HAVE_ASINL 1
11806 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
11807 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
11808 if test "${ac_cv_lib_m_asinhf+set}" = set; then
11809 echo $ECHO_N "(cached) $ECHO_C" >&6
11811 ac_check_lib_save_LIBS=$LIBS
11813 if test x$gcc_no_link = xyes; then
11814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11816 { (exit 1); exit 1; }; }
11818 cat >conftest.$ac_ext <<_ACEOF
11821 cat confdefs.h >>conftest.$ac_ext
11822 cat >>conftest.$ac_ext <<_ACEOF
11823 /* end confdefs.h. */
11825 /* Override any gcc2 internal prototype to avoid an error. */
11829 /* We use char because int might match the return type of a gcc2
11830 builtin and then its argument prototype would still apply. */
11840 rm -f conftest.$ac_objext conftest$ac_exeext
11841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11842 (eval $ac_link) 2>conftest.er1
11844 grep -v '^ *+' conftest.er1 >conftest.err
11846 cat conftest.err >&5
11847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11848 (exit $ac_status); } &&
11849 { ac_try='test -z "$ac_c_werror_flag"
11850 || test ! -s conftest.err'
11851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11852 (eval $ac_try) 2>&5
11854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11855 (exit $ac_status); }; } &&
11856 { ac_try='test -s conftest$ac_exeext'
11857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11858 (eval $ac_try) 2>&5
11860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11861 (exit $ac_status); }; }; then
11862 ac_cv_lib_m_asinhf=yes
11864 echo "$as_me: failed program was:" >&5
11865 sed 's/^/| /' conftest.$ac_ext >&5
11867 ac_cv_lib_m_asinhf=no
11869 rm -f conftest.err conftest.$ac_objext \
11870 conftest$ac_exeext conftest.$ac_ext
11871 LIBS=$ac_check_lib_save_LIBS
11873 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
11874 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
11875 if test $ac_cv_lib_m_asinhf = yes; then
11877 cat >>confdefs.h <<\_ACEOF
11878 #define HAVE_ASINHF 1
11883 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
11884 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
11885 if test "${ac_cv_lib_m_asinh+set}" = set; then
11886 echo $ECHO_N "(cached) $ECHO_C" >&6
11888 ac_check_lib_save_LIBS=$LIBS
11890 if test x$gcc_no_link = xyes; then
11891 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11893 { (exit 1); exit 1; }; }
11895 cat >conftest.$ac_ext <<_ACEOF
11898 cat confdefs.h >>conftest.$ac_ext
11899 cat >>conftest.$ac_ext <<_ACEOF
11900 /* end confdefs.h. */
11902 /* Override any gcc2 internal prototype to avoid an error. */
11906 /* We use char because int might match the return type of a gcc2
11907 builtin and then its argument prototype would still apply. */
11917 rm -f conftest.$ac_objext conftest$ac_exeext
11918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11919 (eval $ac_link) 2>conftest.er1
11921 grep -v '^ *+' conftest.er1 >conftest.err
11923 cat conftest.err >&5
11924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11925 (exit $ac_status); } &&
11926 { ac_try='test -z "$ac_c_werror_flag"
11927 || test ! -s conftest.err'
11928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11929 (eval $ac_try) 2>&5
11931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11932 (exit $ac_status); }; } &&
11933 { ac_try='test -s conftest$ac_exeext'
11934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11935 (eval $ac_try) 2>&5
11937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11938 (exit $ac_status); }; }; then
11939 ac_cv_lib_m_asinh=yes
11941 echo "$as_me: failed program was:" >&5
11942 sed 's/^/| /' conftest.$ac_ext >&5
11944 ac_cv_lib_m_asinh=no
11946 rm -f conftest.err conftest.$ac_objext \
11947 conftest$ac_exeext conftest.$ac_ext
11948 LIBS=$ac_check_lib_save_LIBS
11950 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
11951 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
11952 if test $ac_cv_lib_m_asinh = yes; then
11954 cat >>confdefs.h <<\_ACEOF
11955 #define HAVE_ASINH 1
11960 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
11961 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
11962 if test "${ac_cv_lib_m_asinhl+set}" = set; then
11963 echo $ECHO_N "(cached) $ECHO_C" >&6
11965 ac_check_lib_save_LIBS=$LIBS
11967 if test x$gcc_no_link = xyes; then
11968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11970 { (exit 1); exit 1; }; }
11972 cat >conftest.$ac_ext <<_ACEOF
11975 cat confdefs.h >>conftest.$ac_ext
11976 cat >>conftest.$ac_ext <<_ACEOF
11977 /* end confdefs.h. */
11979 /* Override any gcc2 internal prototype to avoid an error. */
11983 /* We use char because int might match the return type of a gcc2
11984 builtin and then its argument prototype would still apply. */
11994 rm -f conftest.$ac_objext conftest$ac_exeext
11995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11996 (eval $ac_link) 2>conftest.er1
11998 grep -v '^ *+' conftest.er1 >conftest.err
12000 cat conftest.err >&5
12001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12002 (exit $ac_status); } &&
12003 { ac_try='test -z "$ac_c_werror_flag"
12004 || test ! -s conftest.err'
12005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12006 (eval $ac_try) 2>&5
12008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009 (exit $ac_status); }; } &&
12010 { ac_try='test -s conftest$ac_exeext'
12011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12012 (eval $ac_try) 2>&5
12014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12015 (exit $ac_status); }; }; then
12016 ac_cv_lib_m_asinhl=yes
12018 echo "$as_me: failed program was:" >&5
12019 sed 's/^/| /' conftest.$ac_ext >&5
12021 ac_cv_lib_m_asinhl=no
12023 rm -f conftest.err conftest.$ac_objext \
12024 conftest$ac_exeext conftest.$ac_ext
12025 LIBS=$ac_check_lib_save_LIBS
12027 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
12028 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
12029 if test $ac_cv_lib_m_asinhl = yes; then
12031 cat >>confdefs.h <<\_ACEOF
12032 #define HAVE_ASINHL 1
12037 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
12038 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
12039 if test "${ac_cv_lib_m_atan2f+set}" = set; then
12040 echo $ECHO_N "(cached) $ECHO_C" >&6
12042 ac_check_lib_save_LIBS=$LIBS
12044 if test x$gcc_no_link = xyes; then
12045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12047 { (exit 1); exit 1; }; }
12049 cat >conftest.$ac_ext <<_ACEOF
12052 cat confdefs.h >>conftest.$ac_ext
12053 cat >>conftest.$ac_ext <<_ACEOF
12054 /* end confdefs.h. */
12056 /* Override any gcc2 internal prototype to avoid an error. */
12060 /* We use char because int might match the return type of a gcc2
12061 builtin and then its argument prototype would still apply. */
12071 rm -f conftest.$ac_objext conftest$ac_exeext
12072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12073 (eval $ac_link) 2>conftest.er1
12075 grep -v '^ *+' conftest.er1 >conftest.err
12077 cat conftest.err >&5
12078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079 (exit $ac_status); } &&
12080 { ac_try='test -z "$ac_c_werror_flag"
12081 || test ! -s conftest.err'
12082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12083 (eval $ac_try) 2>&5
12085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12086 (exit $ac_status); }; } &&
12087 { ac_try='test -s conftest$ac_exeext'
12088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12089 (eval $ac_try) 2>&5
12091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12092 (exit $ac_status); }; }; then
12093 ac_cv_lib_m_atan2f=yes
12095 echo "$as_me: failed program was:" >&5
12096 sed 's/^/| /' conftest.$ac_ext >&5
12098 ac_cv_lib_m_atan2f=no
12100 rm -f conftest.err conftest.$ac_objext \
12101 conftest$ac_exeext conftest.$ac_ext
12102 LIBS=$ac_check_lib_save_LIBS
12104 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
12105 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
12106 if test $ac_cv_lib_m_atan2f = yes; then
12108 cat >>confdefs.h <<\_ACEOF
12109 #define HAVE_ATAN2F 1
12114 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
12115 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
12116 if test "${ac_cv_lib_m_atan2+set}" = set; then
12117 echo $ECHO_N "(cached) $ECHO_C" >&6
12119 ac_check_lib_save_LIBS=$LIBS
12121 if test x$gcc_no_link = xyes; then
12122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12124 { (exit 1); exit 1; }; }
12126 cat >conftest.$ac_ext <<_ACEOF
12129 cat confdefs.h >>conftest.$ac_ext
12130 cat >>conftest.$ac_ext <<_ACEOF
12131 /* end confdefs.h. */
12133 /* Override any gcc2 internal prototype to avoid an error. */
12137 /* We use char because int might match the return type of a gcc2
12138 builtin and then its argument prototype would still apply. */
12148 rm -f conftest.$ac_objext conftest$ac_exeext
12149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12150 (eval $ac_link) 2>conftest.er1
12152 grep -v '^ *+' conftest.er1 >conftest.err
12154 cat conftest.err >&5
12155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12156 (exit $ac_status); } &&
12157 { ac_try='test -z "$ac_c_werror_flag"
12158 || test ! -s conftest.err'
12159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12160 (eval $ac_try) 2>&5
12162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12163 (exit $ac_status); }; } &&
12164 { ac_try='test -s conftest$ac_exeext'
12165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12166 (eval $ac_try) 2>&5
12168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12169 (exit $ac_status); }; }; then
12170 ac_cv_lib_m_atan2=yes
12172 echo "$as_me: failed program was:" >&5
12173 sed 's/^/| /' conftest.$ac_ext >&5
12175 ac_cv_lib_m_atan2=no
12177 rm -f conftest.err conftest.$ac_objext \
12178 conftest$ac_exeext conftest.$ac_ext
12179 LIBS=$ac_check_lib_save_LIBS
12181 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
12182 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
12183 if test $ac_cv_lib_m_atan2 = yes; then
12185 cat >>confdefs.h <<\_ACEOF
12186 #define HAVE_ATAN2 1
12191 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
12192 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
12193 if test "${ac_cv_lib_m_atan2l+set}" = set; then
12194 echo $ECHO_N "(cached) $ECHO_C" >&6
12196 ac_check_lib_save_LIBS=$LIBS
12198 if test x$gcc_no_link = xyes; then
12199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12201 { (exit 1); exit 1; }; }
12203 cat >conftest.$ac_ext <<_ACEOF
12206 cat confdefs.h >>conftest.$ac_ext
12207 cat >>conftest.$ac_ext <<_ACEOF
12208 /* end confdefs.h. */
12210 /* Override any gcc2 internal prototype to avoid an error. */
12214 /* We use char because int might match the return type of a gcc2
12215 builtin and then its argument prototype would still apply. */
12225 rm -f conftest.$ac_objext conftest$ac_exeext
12226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12227 (eval $ac_link) 2>conftest.er1
12229 grep -v '^ *+' conftest.er1 >conftest.err
12231 cat conftest.err >&5
12232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12233 (exit $ac_status); } &&
12234 { ac_try='test -z "$ac_c_werror_flag"
12235 || test ! -s conftest.err'
12236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12237 (eval $ac_try) 2>&5
12239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12240 (exit $ac_status); }; } &&
12241 { ac_try='test -s conftest$ac_exeext'
12242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12243 (eval $ac_try) 2>&5
12245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12246 (exit $ac_status); }; }; then
12247 ac_cv_lib_m_atan2l=yes
12249 echo "$as_me: failed program was:" >&5
12250 sed 's/^/| /' conftest.$ac_ext >&5
12252 ac_cv_lib_m_atan2l=no
12254 rm -f conftest.err conftest.$ac_objext \
12255 conftest$ac_exeext conftest.$ac_ext
12256 LIBS=$ac_check_lib_save_LIBS
12258 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
12259 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
12260 if test $ac_cv_lib_m_atan2l = yes; then
12262 cat >>confdefs.h <<\_ACEOF
12263 #define HAVE_ATAN2L 1
12268 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
12269 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
12270 if test "${ac_cv_lib_m_atanf+set}" = set; then
12271 echo $ECHO_N "(cached) $ECHO_C" >&6
12273 ac_check_lib_save_LIBS=$LIBS
12275 if test x$gcc_no_link = xyes; then
12276 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12278 { (exit 1); exit 1; }; }
12280 cat >conftest.$ac_ext <<_ACEOF
12283 cat confdefs.h >>conftest.$ac_ext
12284 cat >>conftest.$ac_ext <<_ACEOF
12285 /* end confdefs.h. */
12287 /* Override any gcc2 internal prototype to avoid an error. */
12291 /* We use char because int might match the return type of a gcc2
12292 builtin and then its argument prototype would still apply. */
12302 rm -f conftest.$ac_objext conftest$ac_exeext
12303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12304 (eval $ac_link) 2>conftest.er1
12306 grep -v '^ *+' conftest.er1 >conftest.err
12308 cat conftest.err >&5
12309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12310 (exit $ac_status); } &&
12311 { ac_try='test -z "$ac_c_werror_flag"
12312 || test ! -s conftest.err'
12313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12314 (eval $ac_try) 2>&5
12316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12317 (exit $ac_status); }; } &&
12318 { ac_try='test -s conftest$ac_exeext'
12319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12320 (eval $ac_try) 2>&5
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); }; }; then
12324 ac_cv_lib_m_atanf=yes
12326 echo "$as_me: failed program was:" >&5
12327 sed 's/^/| /' conftest.$ac_ext >&5
12329 ac_cv_lib_m_atanf=no
12331 rm -f conftest.err conftest.$ac_objext \
12332 conftest$ac_exeext conftest.$ac_ext
12333 LIBS=$ac_check_lib_save_LIBS
12335 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
12336 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
12337 if test $ac_cv_lib_m_atanf = yes; then
12339 cat >>confdefs.h <<\_ACEOF
12340 #define HAVE_ATANF 1
12345 echo "$as_me:$LINENO: checking for atan in -lm" >&5
12346 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
12347 if test "${ac_cv_lib_m_atan+set}" = set; then
12348 echo $ECHO_N "(cached) $ECHO_C" >&6
12350 ac_check_lib_save_LIBS=$LIBS
12352 if test x$gcc_no_link = xyes; then
12353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12355 { (exit 1); exit 1; }; }
12357 cat >conftest.$ac_ext <<_ACEOF
12360 cat confdefs.h >>conftest.$ac_ext
12361 cat >>conftest.$ac_ext <<_ACEOF
12362 /* end confdefs.h. */
12364 /* Override any gcc2 internal prototype to avoid an error. */
12368 /* We use char because int might match the return type of a gcc2
12369 builtin and then its argument prototype would still apply. */
12379 rm -f conftest.$ac_objext conftest$ac_exeext
12380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12381 (eval $ac_link) 2>conftest.er1
12383 grep -v '^ *+' conftest.er1 >conftest.err
12385 cat conftest.err >&5
12386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12387 (exit $ac_status); } &&
12388 { ac_try='test -z "$ac_c_werror_flag"
12389 || test ! -s conftest.err'
12390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12391 (eval $ac_try) 2>&5
12393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12394 (exit $ac_status); }; } &&
12395 { ac_try='test -s conftest$ac_exeext'
12396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12397 (eval $ac_try) 2>&5
12399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12400 (exit $ac_status); }; }; then
12401 ac_cv_lib_m_atan=yes
12403 echo "$as_me: failed program was:" >&5
12404 sed 's/^/| /' conftest.$ac_ext >&5
12406 ac_cv_lib_m_atan=no
12408 rm -f conftest.err conftest.$ac_objext \
12409 conftest$ac_exeext conftest.$ac_ext
12410 LIBS=$ac_check_lib_save_LIBS
12412 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
12413 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
12414 if test $ac_cv_lib_m_atan = yes; then
12416 cat >>confdefs.h <<\_ACEOF
12417 #define HAVE_ATAN 1
12422 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
12423 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
12424 if test "${ac_cv_lib_m_atanl+set}" = set; then
12425 echo $ECHO_N "(cached) $ECHO_C" >&6
12427 ac_check_lib_save_LIBS=$LIBS
12429 if test x$gcc_no_link = xyes; then
12430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12432 { (exit 1); exit 1; }; }
12434 cat >conftest.$ac_ext <<_ACEOF
12437 cat confdefs.h >>conftest.$ac_ext
12438 cat >>conftest.$ac_ext <<_ACEOF
12439 /* end confdefs.h. */
12441 /* Override any gcc2 internal prototype to avoid an error. */
12445 /* We use char because int might match the return type of a gcc2
12446 builtin and then its argument prototype would still apply. */
12456 rm -f conftest.$ac_objext conftest$ac_exeext
12457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12458 (eval $ac_link) 2>conftest.er1
12460 grep -v '^ *+' conftest.er1 >conftest.err
12462 cat conftest.err >&5
12463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12464 (exit $ac_status); } &&
12465 { ac_try='test -z "$ac_c_werror_flag"
12466 || test ! -s conftest.err'
12467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12468 (eval $ac_try) 2>&5
12470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12471 (exit $ac_status); }; } &&
12472 { ac_try='test -s conftest$ac_exeext'
12473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12474 (eval $ac_try) 2>&5
12476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12477 (exit $ac_status); }; }; then
12478 ac_cv_lib_m_atanl=yes
12480 echo "$as_me: failed program was:" >&5
12481 sed 's/^/| /' conftest.$ac_ext >&5
12483 ac_cv_lib_m_atanl=no
12485 rm -f conftest.err conftest.$ac_objext \
12486 conftest$ac_exeext conftest.$ac_ext
12487 LIBS=$ac_check_lib_save_LIBS
12489 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
12490 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
12491 if test $ac_cv_lib_m_atanl = yes; then
12493 cat >>confdefs.h <<\_ACEOF
12494 #define HAVE_ATANL 1
12499 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
12500 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
12501 if test "${ac_cv_lib_m_atanhf+set}" = set; then
12502 echo $ECHO_N "(cached) $ECHO_C" >&6
12504 ac_check_lib_save_LIBS=$LIBS
12506 if test x$gcc_no_link = xyes; then
12507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12509 { (exit 1); exit 1; }; }
12511 cat >conftest.$ac_ext <<_ACEOF
12514 cat confdefs.h >>conftest.$ac_ext
12515 cat >>conftest.$ac_ext <<_ACEOF
12516 /* end confdefs.h. */
12518 /* Override any gcc2 internal prototype to avoid an error. */
12522 /* We use char because int might match the return type of a gcc2
12523 builtin and then its argument prototype would still apply. */
12533 rm -f conftest.$ac_objext conftest$ac_exeext
12534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12535 (eval $ac_link) 2>conftest.er1
12537 grep -v '^ *+' conftest.er1 >conftest.err
12539 cat conftest.err >&5
12540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12541 (exit $ac_status); } &&
12542 { ac_try='test -z "$ac_c_werror_flag"
12543 || test ! -s conftest.err'
12544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12545 (eval $ac_try) 2>&5
12547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12548 (exit $ac_status); }; } &&
12549 { ac_try='test -s conftest$ac_exeext'
12550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12551 (eval $ac_try) 2>&5
12553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12554 (exit $ac_status); }; }; then
12555 ac_cv_lib_m_atanhf=yes
12557 echo "$as_me: failed program was:" >&5
12558 sed 's/^/| /' conftest.$ac_ext >&5
12560 ac_cv_lib_m_atanhf=no
12562 rm -f conftest.err conftest.$ac_objext \
12563 conftest$ac_exeext conftest.$ac_ext
12564 LIBS=$ac_check_lib_save_LIBS
12566 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
12567 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
12568 if test $ac_cv_lib_m_atanhf = yes; then
12570 cat >>confdefs.h <<\_ACEOF
12571 #define HAVE_ATANHF 1
12576 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
12577 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
12578 if test "${ac_cv_lib_m_atanh+set}" = set; then
12579 echo $ECHO_N "(cached) $ECHO_C" >&6
12581 ac_check_lib_save_LIBS=$LIBS
12583 if test x$gcc_no_link = xyes; then
12584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12586 { (exit 1); exit 1; }; }
12588 cat >conftest.$ac_ext <<_ACEOF
12591 cat confdefs.h >>conftest.$ac_ext
12592 cat >>conftest.$ac_ext <<_ACEOF
12593 /* end confdefs.h. */
12595 /* Override any gcc2 internal prototype to avoid an error. */
12599 /* We use char because int might match the return type of a gcc2
12600 builtin and then its argument prototype would still apply. */
12610 rm -f conftest.$ac_objext conftest$ac_exeext
12611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12612 (eval $ac_link) 2>conftest.er1
12614 grep -v '^ *+' conftest.er1 >conftest.err
12616 cat conftest.err >&5
12617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); } &&
12619 { ac_try='test -z "$ac_c_werror_flag"
12620 || test ! -s conftest.err'
12621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12622 (eval $ac_try) 2>&5
12624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12625 (exit $ac_status); }; } &&
12626 { ac_try='test -s conftest$ac_exeext'
12627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12628 (eval $ac_try) 2>&5
12630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12631 (exit $ac_status); }; }; then
12632 ac_cv_lib_m_atanh=yes
12634 echo "$as_me: failed program was:" >&5
12635 sed 's/^/| /' conftest.$ac_ext >&5
12637 ac_cv_lib_m_atanh=no
12639 rm -f conftest.err conftest.$ac_objext \
12640 conftest$ac_exeext conftest.$ac_ext
12641 LIBS=$ac_check_lib_save_LIBS
12643 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
12644 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
12645 if test $ac_cv_lib_m_atanh = yes; then
12647 cat >>confdefs.h <<\_ACEOF
12648 #define HAVE_ATANH 1
12653 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
12654 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
12655 if test "${ac_cv_lib_m_atanhl+set}" = set; then
12656 echo $ECHO_N "(cached) $ECHO_C" >&6
12658 ac_check_lib_save_LIBS=$LIBS
12660 if test x$gcc_no_link = xyes; then
12661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12663 { (exit 1); exit 1; }; }
12665 cat >conftest.$ac_ext <<_ACEOF
12668 cat confdefs.h >>conftest.$ac_ext
12669 cat >>conftest.$ac_ext <<_ACEOF
12670 /* end confdefs.h. */
12672 /* Override any gcc2 internal prototype to avoid an error. */
12676 /* We use char because int might match the return type of a gcc2
12677 builtin and then its argument prototype would still apply. */
12687 rm -f conftest.$ac_objext conftest$ac_exeext
12688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12689 (eval $ac_link) 2>conftest.er1
12691 grep -v '^ *+' conftest.er1 >conftest.err
12693 cat conftest.err >&5
12694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12695 (exit $ac_status); } &&
12696 { ac_try='test -z "$ac_c_werror_flag"
12697 || test ! -s conftest.err'
12698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12699 (eval $ac_try) 2>&5
12701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12702 (exit $ac_status); }; } &&
12703 { ac_try='test -s conftest$ac_exeext'
12704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12705 (eval $ac_try) 2>&5
12707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12708 (exit $ac_status); }; }; then
12709 ac_cv_lib_m_atanhl=yes
12711 echo "$as_me: failed program was:" >&5
12712 sed 's/^/| /' conftest.$ac_ext >&5
12714 ac_cv_lib_m_atanhl=no
12716 rm -f conftest.err conftest.$ac_objext \
12717 conftest$ac_exeext conftest.$ac_ext
12718 LIBS=$ac_check_lib_save_LIBS
12720 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
12721 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
12722 if test $ac_cv_lib_m_atanhl = yes; then
12724 cat >>confdefs.h <<\_ACEOF
12725 #define HAVE_ATANHL 1
12730 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
12731 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
12732 if test "${ac_cv_lib_m_cargf+set}" = set; then
12733 echo $ECHO_N "(cached) $ECHO_C" >&6
12735 ac_check_lib_save_LIBS=$LIBS
12737 if test x$gcc_no_link = xyes; then
12738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12740 { (exit 1); exit 1; }; }
12742 cat >conftest.$ac_ext <<_ACEOF
12745 cat confdefs.h >>conftest.$ac_ext
12746 cat >>conftest.$ac_ext <<_ACEOF
12747 /* end confdefs.h. */
12749 /* Override any gcc2 internal prototype to avoid an error. */
12753 /* We use char because int might match the return type of a gcc2
12754 builtin and then its argument prototype would still apply. */
12764 rm -f conftest.$ac_objext conftest$ac_exeext
12765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12766 (eval $ac_link) 2>conftest.er1
12768 grep -v '^ *+' conftest.er1 >conftest.err
12770 cat conftest.err >&5
12771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12772 (exit $ac_status); } &&
12773 { ac_try='test -z "$ac_c_werror_flag"
12774 || test ! -s conftest.err'
12775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12776 (eval $ac_try) 2>&5
12778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12779 (exit $ac_status); }; } &&
12780 { ac_try='test -s conftest$ac_exeext'
12781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12782 (eval $ac_try) 2>&5
12784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12785 (exit $ac_status); }; }; then
12786 ac_cv_lib_m_cargf=yes
12788 echo "$as_me: failed program was:" >&5
12789 sed 's/^/| /' conftest.$ac_ext >&5
12791 ac_cv_lib_m_cargf=no
12793 rm -f conftest.err conftest.$ac_objext \
12794 conftest$ac_exeext conftest.$ac_ext
12795 LIBS=$ac_check_lib_save_LIBS
12797 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
12798 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
12799 if test $ac_cv_lib_m_cargf = yes; then
12801 cat >>confdefs.h <<\_ACEOF
12802 #define HAVE_CARGF 1
12807 echo "$as_me:$LINENO: checking for carg in -lm" >&5
12808 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
12809 if test "${ac_cv_lib_m_carg+set}" = set; then
12810 echo $ECHO_N "(cached) $ECHO_C" >&6
12812 ac_check_lib_save_LIBS=$LIBS
12814 if test x$gcc_no_link = xyes; then
12815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12817 { (exit 1); exit 1; }; }
12819 cat >conftest.$ac_ext <<_ACEOF
12822 cat confdefs.h >>conftest.$ac_ext
12823 cat >>conftest.$ac_ext <<_ACEOF
12824 /* end confdefs.h. */
12826 /* Override any gcc2 internal prototype to avoid an error. */
12830 /* We use char because int might match the return type of a gcc2
12831 builtin and then its argument prototype would still apply. */
12841 rm -f conftest.$ac_objext conftest$ac_exeext
12842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12843 (eval $ac_link) 2>conftest.er1
12845 grep -v '^ *+' conftest.er1 >conftest.err
12847 cat conftest.err >&5
12848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12849 (exit $ac_status); } &&
12850 { ac_try='test -z "$ac_c_werror_flag"
12851 || test ! -s conftest.err'
12852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12853 (eval $ac_try) 2>&5
12855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12856 (exit $ac_status); }; } &&
12857 { ac_try='test -s conftest$ac_exeext'
12858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12859 (eval $ac_try) 2>&5
12861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12862 (exit $ac_status); }; }; then
12863 ac_cv_lib_m_carg=yes
12865 echo "$as_me: failed program was:" >&5
12866 sed 's/^/| /' conftest.$ac_ext >&5
12868 ac_cv_lib_m_carg=no
12870 rm -f conftest.err conftest.$ac_objext \
12871 conftest$ac_exeext conftest.$ac_ext
12872 LIBS=$ac_check_lib_save_LIBS
12874 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
12875 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
12876 if test $ac_cv_lib_m_carg = yes; then
12878 cat >>confdefs.h <<\_ACEOF
12879 #define HAVE_CARG 1
12884 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
12885 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
12886 if test "${ac_cv_lib_m_cargl+set}" = set; then
12887 echo $ECHO_N "(cached) $ECHO_C" >&6
12889 ac_check_lib_save_LIBS=$LIBS
12891 if test x$gcc_no_link = xyes; then
12892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12894 { (exit 1); exit 1; }; }
12896 cat >conftest.$ac_ext <<_ACEOF
12899 cat confdefs.h >>conftest.$ac_ext
12900 cat >>conftest.$ac_ext <<_ACEOF
12901 /* end confdefs.h. */
12903 /* Override any gcc2 internal prototype to avoid an error. */
12907 /* We use char because int might match the return type of a gcc2
12908 builtin and then its argument prototype would still apply. */
12918 rm -f conftest.$ac_objext conftest$ac_exeext
12919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12920 (eval $ac_link) 2>conftest.er1
12922 grep -v '^ *+' conftest.er1 >conftest.err
12924 cat conftest.err >&5
12925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12926 (exit $ac_status); } &&
12927 { ac_try='test -z "$ac_c_werror_flag"
12928 || test ! -s conftest.err'
12929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12930 (eval $ac_try) 2>&5
12932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12933 (exit $ac_status); }; } &&
12934 { ac_try='test -s conftest$ac_exeext'
12935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12936 (eval $ac_try) 2>&5
12938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12939 (exit $ac_status); }; }; then
12940 ac_cv_lib_m_cargl=yes
12942 echo "$as_me: failed program was:" >&5
12943 sed 's/^/| /' conftest.$ac_ext >&5
12945 ac_cv_lib_m_cargl=no
12947 rm -f conftest.err conftest.$ac_objext \
12948 conftest$ac_exeext conftest.$ac_ext
12949 LIBS=$ac_check_lib_save_LIBS
12951 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
12952 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
12953 if test $ac_cv_lib_m_cargl = yes; then
12955 cat >>confdefs.h <<\_ACEOF
12956 #define HAVE_CARGL 1
12961 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
12962 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
12963 if test "${ac_cv_lib_m_ceilf+set}" = set; then
12964 echo $ECHO_N "(cached) $ECHO_C" >&6
12966 ac_check_lib_save_LIBS=$LIBS
12968 if test x$gcc_no_link = xyes; then
12969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12971 { (exit 1); exit 1; }; }
12973 cat >conftest.$ac_ext <<_ACEOF
12976 cat confdefs.h >>conftest.$ac_ext
12977 cat >>conftest.$ac_ext <<_ACEOF
12978 /* end confdefs.h. */
12980 /* Override any gcc2 internal prototype to avoid an error. */
12984 /* We use char because int might match the return type of a gcc2
12985 builtin and then its argument prototype would still apply. */
12995 rm -f conftest.$ac_objext conftest$ac_exeext
12996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12997 (eval $ac_link) 2>conftest.er1
12999 grep -v '^ *+' conftest.er1 >conftest.err
13001 cat conftest.err >&5
13002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13003 (exit $ac_status); } &&
13004 { ac_try='test -z "$ac_c_werror_flag"
13005 || test ! -s conftest.err'
13006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13007 (eval $ac_try) 2>&5
13009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13010 (exit $ac_status); }; } &&
13011 { ac_try='test -s conftest$ac_exeext'
13012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13013 (eval $ac_try) 2>&5
13015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13016 (exit $ac_status); }; }; then
13017 ac_cv_lib_m_ceilf=yes
13019 echo "$as_me: failed program was:" >&5
13020 sed 's/^/| /' conftest.$ac_ext >&5
13022 ac_cv_lib_m_ceilf=no
13024 rm -f conftest.err conftest.$ac_objext \
13025 conftest$ac_exeext conftest.$ac_ext
13026 LIBS=$ac_check_lib_save_LIBS
13028 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
13029 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
13030 if test $ac_cv_lib_m_ceilf = yes; then
13032 cat >>confdefs.h <<\_ACEOF
13033 #define HAVE_CEILF 1
13038 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
13039 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
13040 if test "${ac_cv_lib_m_ceil+set}" = set; then
13041 echo $ECHO_N "(cached) $ECHO_C" >&6
13043 ac_check_lib_save_LIBS=$LIBS
13045 if test x$gcc_no_link = xyes; then
13046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13048 { (exit 1); exit 1; }; }
13050 cat >conftest.$ac_ext <<_ACEOF
13053 cat confdefs.h >>conftest.$ac_ext
13054 cat >>conftest.$ac_ext <<_ACEOF
13055 /* end confdefs.h. */
13057 /* Override any gcc2 internal prototype to avoid an error. */
13061 /* We use char because int might match the return type of a gcc2
13062 builtin and then its argument prototype would still apply. */
13072 rm -f conftest.$ac_objext conftest$ac_exeext
13073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13074 (eval $ac_link) 2>conftest.er1
13076 grep -v '^ *+' conftest.er1 >conftest.err
13078 cat conftest.err >&5
13079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13080 (exit $ac_status); } &&
13081 { ac_try='test -z "$ac_c_werror_flag"
13082 || test ! -s conftest.err'
13083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13084 (eval $ac_try) 2>&5
13086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13087 (exit $ac_status); }; } &&
13088 { ac_try='test -s conftest$ac_exeext'
13089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13090 (eval $ac_try) 2>&5
13092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13093 (exit $ac_status); }; }; then
13094 ac_cv_lib_m_ceil=yes
13096 echo "$as_me: failed program was:" >&5
13097 sed 's/^/| /' conftest.$ac_ext >&5
13099 ac_cv_lib_m_ceil=no
13101 rm -f conftest.err conftest.$ac_objext \
13102 conftest$ac_exeext conftest.$ac_ext
13103 LIBS=$ac_check_lib_save_LIBS
13105 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
13106 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
13107 if test $ac_cv_lib_m_ceil = yes; then
13109 cat >>confdefs.h <<\_ACEOF
13110 #define HAVE_CEIL 1
13115 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
13116 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
13117 if test "${ac_cv_lib_m_ceill+set}" = set; then
13118 echo $ECHO_N "(cached) $ECHO_C" >&6
13120 ac_check_lib_save_LIBS=$LIBS
13122 if test x$gcc_no_link = xyes; then
13123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13125 { (exit 1); exit 1; }; }
13127 cat >conftest.$ac_ext <<_ACEOF
13130 cat confdefs.h >>conftest.$ac_ext
13131 cat >>conftest.$ac_ext <<_ACEOF
13132 /* end confdefs.h. */
13134 /* Override any gcc2 internal prototype to avoid an error. */
13138 /* We use char because int might match the return type of a gcc2
13139 builtin and then its argument prototype would still apply. */
13149 rm -f conftest.$ac_objext conftest$ac_exeext
13150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13151 (eval $ac_link) 2>conftest.er1
13153 grep -v '^ *+' conftest.er1 >conftest.err
13155 cat conftest.err >&5
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); } &&
13158 { ac_try='test -z "$ac_c_werror_flag"
13159 || test ! -s conftest.err'
13160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13161 (eval $ac_try) 2>&5
13163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13164 (exit $ac_status); }; } &&
13165 { ac_try='test -s conftest$ac_exeext'
13166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13167 (eval $ac_try) 2>&5
13169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13170 (exit $ac_status); }; }; then
13171 ac_cv_lib_m_ceill=yes
13173 echo "$as_me: failed program was:" >&5
13174 sed 's/^/| /' conftest.$ac_ext >&5
13176 ac_cv_lib_m_ceill=no
13178 rm -f conftest.err conftest.$ac_objext \
13179 conftest$ac_exeext conftest.$ac_ext
13180 LIBS=$ac_check_lib_save_LIBS
13182 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
13183 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
13184 if test $ac_cv_lib_m_ceill = yes; then
13186 cat >>confdefs.h <<\_ACEOF
13187 #define HAVE_CEILL 1
13192 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
13193 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
13194 if test "${ac_cv_lib_m_copysignf+set}" = set; then
13195 echo $ECHO_N "(cached) $ECHO_C" >&6
13197 ac_check_lib_save_LIBS=$LIBS
13199 if test x$gcc_no_link = xyes; then
13200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13202 { (exit 1); exit 1; }; }
13204 cat >conftest.$ac_ext <<_ACEOF
13207 cat confdefs.h >>conftest.$ac_ext
13208 cat >>conftest.$ac_ext <<_ACEOF
13209 /* end confdefs.h. */
13211 /* Override any gcc2 internal prototype to avoid an error. */
13215 /* We use char because int might match the return type of a gcc2
13216 builtin and then its argument prototype would still apply. */
13226 rm -f conftest.$ac_objext conftest$ac_exeext
13227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13228 (eval $ac_link) 2>conftest.er1
13230 grep -v '^ *+' conftest.er1 >conftest.err
13232 cat conftest.err >&5
13233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13234 (exit $ac_status); } &&
13235 { ac_try='test -z "$ac_c_werror_flag"
13236 || test ! -s conftest.err'
13237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13238 (eval $ac_try) 2>&5
13240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13241 (exit $ac_status); }; } &&
13242 { ac_try='test -s conftest$ac_exeext'
13243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13244 (eval $ac_try) 2>&5
13246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13247 (exit $ac_status); }; }; then
13248 ac_cv_lib_m_copysignf=yes
13250 echo "$as_me: failed program was:" >&5
13251 sed 's/^/| /' conftest.$ac_ext >&5
13253 ac_cv_lib_m_copysignf=no
13255 rm -f conftest.err conftest.$ac_objext \
13256 conftest$ac_exeext conftest.$ac_ext
13257 LIBS=$ac_check_lib_save_LIBS
13259 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
13260 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
13261 if test $ac_cv_lib_m_copysignf = yes; then
13263 cat >>confdefs.h <<\_ACEOF
13264 #define HAVE_COPYSIGNF 1
13269 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
13270 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
13271 if test "${ac_cv_lib_m_copysign+set}" = set; then
13272 echo $ECHO_N "(cached) $ECHO_C" >&6
13274 ac_check_lib_save_LIBS=$LIBS
13276 if test x$gcc_no_link = xyes; then
13277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13279 { (exit 1); exit 1; }; }
13281 cat >conftest.$ac_ext <<_ACEOF
13284 cat confdefs.h >>conftest.$ac_ext
13285 cat >>conftest.$ac_ext <<_ACEOF
13286 /* end confdefs.h. */
13288 /* Override any gcc2 internal prototype to avoid an error. */
13292 /* We use char because int might match the return type of a gcc2
13293 builtin and then its argument prototype would still apply. */
13303 rm -f conftest.$ac_objext conftest$ac_exeext
13304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13305 (eval $ac_link) 2>conftest.er1
13307 grep -v '^ *+' conftest.er1 >conftest.err
13309 cat conftest.err >&5
13310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13311 (exit $ac_status); } &&
13312 { ac_try='test -z "$ac_c_werror_flag"
13313 || test ! -s conftest.err'
13314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13315 (eval $ac_try) 2>&5
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); }; } &&
13319 { ac_try='test -s conftest$ac_exeext'
13320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13321 (eval $ac_try) 2>&5
13323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13324 (exit $ac_status); }; }; then
13325 ac_cv_lib_m_copysign=yes
13327 echo "$as_me: failed program was:" >&5
13328 sed 's/^/| /' conftest.$ac_ext >&5
13330 ac_cv_lib_m_copysign=no
13332 rm -f conftest.err conftest.$ac_objext \
13333 conftest$ac_exeext conftest.$ac_ext
13334 LIBS=$ac_check_lib_save_LIBS
13336 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
13337 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
13338 if test $ac_cv_lib_m_copysign = yes; then
13340 cat >>confdefs.h <<\_ACEOF
13341 #define HAVE_COPYSIGN 1
13346 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
13347 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
13348 if test "${ac_cv_lib_m_copysignl+set}" = set; then
13349 echo $ECHO_N "(cached) $ECHO_C" >&6
13351 ac_check_lib_save_LIBS=$LIBS
13353 if test x$gcc_no_link = xyes; then
13354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13356 { (exit 1); exit 1; }; }
13358 cat >conftest.$ac_ext <<_ACEOF
13361 cat confdefs.h >>conftest.$ac_ext
13362 cat >>conftest.$ac_ext <<_ACEOF
13363 /* end confdefs.h. */
13365 /* Override any gcc2 internal prototype to avoid an error. */
13369 /* We use char because int might match the return type of a gcc2
13370 builtin and then its argument prototype would still apply. */
13380 rm -f conftest.$ac_objext conftest$ac_exeext
13381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13382 (eval $ac_link) 2>conftest.er1
13384 grep -v '^ *+' conftest.er1 >conftest.err
13386 cat conftest.err >&5
13387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13388 (exit $ac_status); } &&
13389 { ac_try='test -z "$ac_c_werror_flag"
13390 || test ! -s conftest.err'
13391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13392 (eval $ac_try) 2>&5
13394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13395 (exit $ac_status); }; } &&
13396 { ac_try='test -s conftest$ac_exeext'
13397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13398 (eval $ac_try) 2>&5
13400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13401 (exit $ac_status); }; }; then
13402 ac_cv_lib_m_copysignl=yes
13404 echo "$as_me: failed program was:" >&5
13405 sed 's/^/| /' conftest.$ac_ext >&5
13407 ac_cv_lib_m_copysignl=no
13409 rm -f conftest.err conftest.$ac_objext \
13410 conftest$ac_exeext conftest.$ac_ext
13411 LIBS=$ac_check_lib_save_LIBS
13413 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
13414 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
13415 if test $ac_cv_lib_m_copysignl = yes; then
13417 cat >>confdefs.h <<\_ACEOF
13418 #define HAVE_COPYSIGNL 1
13423 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
13424 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
13425 if test "${ac_cv_lib_m_cosf+set}" = set; then
13426 echo $ECHO_N "(cached) $ECHO_C" >&6
13428 ac_check_lib_save_LIBS=$LIBS
13430 if test x$gcc_no_link = xyes; then
13431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13433 { (exit 1); exit 1; }; }
13435 cat >conftest.$ac_ext <<_ACEOF
13438 cat confdefs.h >>conftest.$ac_ext
13439 cat >>conftest.$ac_ext <<_ACEOF
13440 /* end confdefs.h. */
13442 /* Override any gcc2 internal prototype to avoid an error. */
13446 /* We use char because int might match the return type of a gcc2
13447 builtin and then its argument prototype would still apply. */
13457 rm -f conftest.$ac_objext conftest$ac_exeext
13458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13459 (eval $ac_link) 2>conftest.er1
13461 grep -v '^ *+' conftest.er1 >conftest.err
13463 cat conftest.err >&5
13464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); } &&
13466 { ac_try='test -z "$ac_c_werror_flag"
13467 || test ! -s conftest.err'
13468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13469 (eval $ac_try) 2>&5
13471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13472 (exit $ac_status); }; } &&
13473 { ac_try='test -s conftest$ac_exeext'
13474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13475 (eval $ac_try) 2>&5
13477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13478 (exit $ac_status); }; }; then
13479 ac_cv_lib_m_cosf=yes
13481 echo "$as_me: failed program was:" >&5
13482 sed 's/^/| /' conftest.$ac_ext >&5
13484 ac_cv_lib_m_cosf=no
13486 rm -f conftest.err conftest.$ac_objext \
13487 conftest$ac_exeext conftest.$ac_ext
13488 LIBS=$ac_check_lib_save_LIBS
13490 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
13491 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
13492 if test $ac_cv_lib_m_cosf = yes; then
13494 cat >>confdefs.h <<\_ACEOF
13495 #define HAVE_COSF 1
13500 echo "$as_me:$LINENO: checking for cos in -lm" >&5
13501 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
13502 if test "${ac_cv_lib_m_cos+set}" = set; then
13503 echo $ECHO_N "(cached) $ECHO_C" >&6
13505 ac_check_lib_save_LIBS=$LIBS
13507 if test x$gcc_no_link = xyes; then
13508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13510 { (exit 1); exit 1; }; }
13512 cat >conftest.$ac_ext <<_ACEOF
13515 cat confdefs.h >>conftest.$ac_ext
13516 cat >>conftest.$ac_ext <<_ACEOF
13517 /* end confdefs.h. */
13519 /* Override any gcc2 internal prototype to avoid an error. */
13523 /* We use char because int might match the return type of a gcc2
13524 builtin and then its argument prototype would still apply. */
13534 rm -f conftest.$ac_objext conftest$ac_exeext
13535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13536 (eval $ac_link) 2>conftest.er1
13538 grep -v '^ *+' conftest.er1 >conftest.err
13540 cat conftest.err >&5
13541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13542 (exit $ac_status); } &&
13543 { ac_try='test -z "$ac_c_werror_flag"
13544 || test ! -s conftest.err'
13545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13546 (eval $ac_try) 2>&5
13548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13549 (exit $ac_status); }; } &&
13550 { ac_try='test -s conftest$ac_exeext'
13551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13552 (eval $ac_try) 2>&5
13554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13555 (exit $ac_status); }; }; then
13556 ac_cv_lib_m_cos=yes
13558 echo "$as_me: failed program was:" >&5
13559 sed 's/^/| /' conftest.$ac_ext >&5
13563 rm -f conftest.err conftest.$ac_objext \
13564 conftest$ac_exeext conftest.$ac_ext
13565 LIBS=$ac_check_lib_save_LIBS
13567 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
13568 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
13569 if test $ac_cv_lib_m_cos = yes; then
13571 cat >>confdefs.h <<\_ACEOF
13577 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
13578 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
13579 if test "${ac_cv_lib_m_cosl+set}" = set; then
13580 echo $ECHO_N "(cached) $ECHO_C" >&6
13582 ac_check_lib_save_LIBS=$LIBS
13584 if test x$gcc_no_link = xyes; then
13585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13587 { (exit 1); exit 1; }; }
13589 cat >conftest.$ac_ext <<_ACEOF
13592 cat confdefs.h >>conftest.$ac_ext
13593 cat >>conftest.$ac_ext <<_ACEOF
13594 /* end confdefs.h. */
13596 /* Override any gcc2 internal prototype to avoid an error. */
13600 /* We use char because int might match the return type of a gcc2
13601 builtin and then its argument prototype would still apply. */
13611 rm -f conftest.$ac_objext conftest$ac_exeext
13612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13613 (eval $ac_link) 2>conftest.er1
13615 grep -v '^ *+' conftest.er1 >conftest.err
13617 cat conftest.err >&5
13618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13619 (exit $ac_status); } &&
13620 { ac_try='test -z "$ac_c_werror_flag"
13621 || test ! -s conftest.err'
13622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13623 (eval $ac_try) 2>&5
13625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13626 (exit $ac_status); }; } &&
13627 { ac_try='test -s conftest$ac_exeext'
13628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13629 (eval $ac_try) 2>&5
13631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13632 (exit $ac_status); }; }; then
13633 ac_cv_lib_m_cosl=yes
13635 echo "$as_me: failed program was:" >&5
13636 sed 's/^/| /' conftest.$ac_ext >&5
13638 ac_cv_lib_m_cosl=no
13640 rm -f conftest.err conftest.$ac_objext \
13641 conftest$ac_exeext conftest.$ac_ext
13642 LIBS=$ac_check_lib_save_LIBS
13644 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
13645 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
13646 if test $ac_cv_lib_m_cosl = yes; then
13648 cat >>confdefs.h <<\_ACEOF
13649 #define HAVE_COSL 1
13654 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
13655 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
13656 if test "${ac_cv_lib_m_ccosf+set}" = set; then
13657 echo $ECHO_N "(cached) $ECHO_C" >&6
13659 ac_check_lib_save_LIBS=$LIBS
13661 if test x$gcc_no_link = xyes; then
13662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13664 { (exit 1); exit 1; }; }
13666 cat >conftest.$ac_ext <<_ACEOF
13669 cat confdefs.h >>conftest.$ac_ext
13670 cat >>conftest.$ac_ext <<_ACEOF
13671 /* end confdefs.h. */
13673 /* Override any gcc2 internal prototype to avoid an error. */
13677 /* We use char because int might match the return type of a gcc2
13678 builtin and then its argument prototype would still apply. */
13688 rm -f conftest.$ac_objext conftest$ac_exeext
13689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13690 (eval $ac_link) 2>conftest.er1
13692 grep -v '^ *+' conftest.er1 >conftest.err
13694 cat conftest.err >&5
13695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13696 (exit $ac_status); } &&
13697 { ac_try='test -z "$ac_c_werror_flag"
13698 || test ! -s conftest.err'
13699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13700 (eval $ac_try) 2>&5
13702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13703 (exit $ac_status); }; } &&
13704 { ac_try='test -s conftest$ac_exeext'
13705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13706 (eval $ac_try) 2>&5
13708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13709 (exit $ac_status); }; }; then
13710 ac_cv_lib_m_ccosf=yes
13712 echo "$as_me: failed program was:" >&5
13713 sed 's/^/| /' conftest.$ac_ext >&5
13715 ac_cv_lib_m_ccosf=no
13717 rm -f conftest.err conftest.$ac_objext \
13718 conftest$ac_exeext conftest.$ac_ext
13719 LIBS=$ac_check_lib_save_LIBS
13721 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
13722 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
13723 if test $ac_cv_lib_m_ccosf = yes; then
13725 cat >>confdefs.h <<\_ACEOF
13726 #define HAVE_CCOSF 1
13731 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
13732 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
13733 if test "${ac_cv_lib_m_ccos+set}" = set; then
13734 echo $ECHO_N "(cached) $ECHO_C" >&6
13736 ac_check_lib_save_LIBS=$LIBS
13738 if test x$gcc_no_link = xyes; then
13739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13741 { (exit 1); exit 1; }; }
13743 cat >conftest.$ac_ext <<_ACEOF
13746 cat confdefs.h >>conftest.$ac_ext
13747 cat >>conftest.$ac_ext <<_ACEOF
13748 /* end confdefs.h. */
13750 /* Override any gcc2 internal prototype to avoid an error. */
13754 /* We use char because int might match the return type of a gcc2
13755 builtin and then its argument prototype would still apply. */
13765 rm -f conftest.$ac_objext conftest$ac_exeext
13766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13767 (eval $ac_link) 2>conftest.er1
13769 grep -v '^ *+' conftest.er1 >conftest.err
13771 cat conftest.err >&5
13772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13773 (exit $ac_status); } &&
13774 { ac_try='test -z "$ac_c_werror_flag"
13775 || test ! -s conftest.err'
13776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13777 (eval $ac_try) 2>&5
13779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780 (exit $ac_status); }; } &&
13781 { ac_try='test -s conftest$ac_exeext'
13782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13783 (eval $ac_try) 2>&5
13785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13786 (exit $ac_status); }; }; then
13787 ac_cv_lib_m_ccos=yes
13789 echo "$as_me: failed program was:" >&5
13790 sed 's/^/| /' conftest.$ac_ext >&5
13792 ac_cv_lib_m_ccos=no
13794 rm -f conftest.err conftest.$ac_objext \
13795 conftest$ac_exeext conftest.$ac_ext
13796 LIBS=$ac_check_lib_save_LIBS
13798 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
13799 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
13800 if test $ac_cv_lib_m_ccos = yes; then
13802 cat >>confdefs.h <<\_ACEOF
13803 #define HAVE_CCOS 1
13808 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
13809 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
13810 if test "${ac_cv_lib_m_ccosl+set}" = set; then
13811 echo $ECHO_N "(cached) $ECHO_C" >&6
13813 ac_check_lib_save_LIBS=$LIBS
13815 if test x$gcc_no_link = xyes; then
13816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13818 { (exit 1); exit 1; }; }
13820 cat >conftest.$ac_ext <<_ACEOF
13823 cat confdefs.h >>conftest.$ac_ext
13824 cat >>conftest.$ac_ext <<_ACEOF
13825 /* end confdefs.h. */
13827 /* Override any gcc2 internal prototype to avoid an error. */
13831 /* We use char because int might match the return type of a gcc2
13832 builtin and then its argument prototype would still apply. */
13842 rm -f conftest.$ac_objext conftest$ac_exeext
13843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13844 (eval $ac_link) 2>conftest.er1
13846 grep -v '^ *+' conftest.er1 >conftest.err
13848 cat conftest.err >&5
13849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850 (exit $ac_status); } &&
13851 { ac_try='test -z "$ac_c_werror_flag"
13852 || test ! -s conftest.err'
13853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13854 (eval $ac_try) 2>&5
13856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13857 (exit $ac_status); }; } &&
13858 { ac_try='test -s conftest$ac_exeext'
13859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13860 (eval $ac_try) 2>&5
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); }; }; then
13864 ac_cv_lib_m_ccosl=yes
13866 echo "$as_me: failed program was:" >&5
13867 sed 's/^/| /' conftest.$ac_ext >&5
13869 ac_cv_lib_m_ccosl=no
13871 rm -f conftest.err conftest.$ac_objext \
13872 conftest$ac_exeext conftest.$ac_ext
13873 LIBS=$ac_check_lib_save_LIBS
13875 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
13876 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
13877 if test $ac_cv_lib_m_ccosl = yes; then
13879 cat >>confdefs.h <<\_ACEOF
13880 #define HAVE_CCOSL 1
13885 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
13886 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
13887 if test "${ac_cv_lib_m_coshf+set}" = set; then
13888 echo $ECHO_N "(cached) $ECHO_C" >&6
13890 ac_check_lib_save_LIBS=$LIBS
13892 if test x$gcc_no_link = xyes; then
13893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13895 { (exit 1); exit 1; }; }
13897 cat >conftest.$ac_ext <<_ACEOF
13900 cat confdefs.h >>conftest.$ac_ext
13901 cat >>conftest.$ac_ext <<_ACEOF
13902 /* end confdefs.h. */
13904 /* Override any gcc2 internal prototype to avoid an error. */
13908 /* We use char because int might match the return type of a gcc2
13909 builtin and then its argument prototype would still apply. */
13919 rm -f conftest.$ac_objext conftest$ac_exeext
13920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13921 (eval $ac_link) 2>conftest.er1
13923 grep -v '^ *+' conftest.er1 >conftest.err
13925 cat conftest.err >&5
13926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13927 (exit $ac_status); } &&
13928 { ac_try='test -z "$ac_c_werror_flag"
13929 || test ! -s conftest.err'
13930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13931 (eval $ac_try) 2>&5
13933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13934 (exit $ac_status); }; } &&
13935 { ac_try='test -s conftest$ac_exeext'
13936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13937 (eval $ac_try) 2>&5
13939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13940 (exit $ac_status); }; }; then
13941 ac_cv_lib_m_coshf=yes
13943 echo "$as_me: failed program was:" >&5
13944 sed 's/^/| /' conftest.$ac_ext >&5
13946 ac_cv_lib_m_coshf=no
13948 rm -f conftest.err conftest.$ac_objext \
13949 conftest$ac_exeext conftest.$ac_ext
13950 LIBS=$ac_check_lib_save_LIBS
13952 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
13953 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
13954 if test $ac_cv_lib_m_coshf = yes; then
13956 cat >>confdefs.h <<\_ACEOF
13957 #define HAVE_COSHF 1
13962 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
13963 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
13964 if test "${ac_cv_lib_m_cosh+set}" = set; then
13965 echo $ECHO_N "(cached) $ECHO_C" >&6
13967 ac_check_lib_save_LIBS=$LIBS
13969 if test x$gcc_no_link = xyes; then
13970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13972 { (exit 1); exit 1; }; }
13974 cat >conftest.$ac_ext <<_ACEOF
13977 cat confdefs.h >>conftest.$ac_ext
13978 cat >>conftest.$ac_ext <<_ACEOF
13979 /* end confdefs.h. */
13981 /* Override any gcc2 internal prototype to avoid an error. */
13985 /* We use char because int might match the return type of a gcc2
13986 builtin and then its argument prototype would still apply. */
13996 rm -f conftest.$ac_objext conftest$ac_exeext
13997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13998 (eval $ac_link) 2>conftest.er1
14000 grep -v '^ *+' conftest.er1 >conftest.err
14002 cat conftest.err >&5
14003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14004 (exit $ac_status); } &&
14005 { ac_try='test -z "$ac_c_werror_flag"
14006 || test ! -s conftest.err'
14007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14008 (eval $ac_try) 2>&5
14010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14011 (exit $ac_status); }; } &&
14012 { ac_try='test -s conftest$ac_exeext'
14013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14014 (eval $ac_try) 2>&5
14016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017 (exit $ac_status); }; }; then
14018 ac_cv_lib_m_cosh=yes
14020 echo "$as_me: failed program was:" >&5
14021 sed 's/^/| /' conftest.$ac_ext >&5
14023 ac_cv_lib_m_cosh=no
14025 rm -f conftest.err conftest.$ac_objext \
14026 conftest$ac_exeext conftest.$ac_ext
14027 LIBS=$ac_check_lib_save_LIBS
14029 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
14030 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
14031 if test $ac_cv_lib_m_cosh = yes; then
14033 cat >>confdefs.h <<\_ACEOF
14034 #define HAVE_COSH 1
14039 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
14040 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
14041 if test "${ac_cv_lib_m_coshl+set}" = set; then
14042 echo $ECHO_N "(cached) $ECHO_C" >&6
14044 ac_check_lib_save_LIBS=$LIBS
14046 if test x$gcc_no_link = xyes; then
14047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14049 { (exit 1); exit 1; }; }
14051 cat >conftest.$ac_ext <<_ACEOF
14054 cat confdefs.h >>conftest.$ac_ext
14055 cat >>conftest.$ac_ext <<_ACEOF
14056 /* end confdefs.h. */
14058 /* Override any gcc2 internal prototype to avoid an error. */
14062 /* We use char because int might match the return type of a gcc2
14063 builtin and then its argument prototype would still apply. */
14073 rm -f conftest.$ac_objext conftest$ac_exeext
14074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14075 (eval $ac_link) 2>conftest.er1
14077 grep -v '^ *+' conftest.er1 >conftest.err
14079 cat conftest.err >&5
14080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14081 (exit $ac_status); } &&
14082 { ac_try='test -z "$ac_c_werror_flag"
14083 || test ! -s conftest.err'
14084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14085 (eval $ac_try) 2>&5
14087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 (exit $ac_status); }; } &&
14089 { ac_try='test -s conftest$ac_exeext'
14090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14091 (eval $ac_try) 2>&5
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 (exit $ac_status); }; }; then
14095 ac_cv_lib_m_coshl=yes
14097 echo "$as_me: failed program was:" >&5
14098 sed 's/^/| /' conftest.$ac_ext >&5
14100 ac_cv_lib_m_coshl=no
14102 rm -f conftest.err conftest.$ac_objext \
14103 conftest$ac_exeext conftest.$ac_ext
14104 LIBS=$ac_check_lib_save_LIBS
14106 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
14107 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
14108 if test $ac_cv_lib_m_coshl = yes; then
14110 cat >>confdefs.h <<\_ACEOF
14111 #define HAVE_COSHL 1
14116 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
14117 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
14118 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
14119 echo $ECHO_N "(cached) $ECHO_C" >&6
14121 ac_check_lib_save_LIBS=$LIBS
14123 if test x$gcc_no_link = xyes; then
14124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14126 { (exit 1); exit 1; }; }
14128 cat >conftest.$ac_ext <<_ACEOF
14131 cat confdefs.h >>conftest.$ac_ext
14132 cat >>conftest.$ac_ext <<_ACEOF
14133 /* end confdefs.h. */
14135 /* Override any gcc2 internal prototype to avoid an error. */
14139 /* We use char because int might match the return type of a gcc2
14140 builtin and then its argument prototype would still apply. */
14150 rm -f conftest.$ac_objext conftest$ac_exeext
14151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14152 (eval $ac_link) 2>conftest.er1
14154 grep -v '^ *+' conftest.er1 >conftest.err
14156 cat conftest.err >&5
14157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14158 (exit $ac_status); } &&
14159 { ac_try='test -z "$ac_c_werror_flag"
14160 || test ! -s conftest.err'
14161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14162 (eval $ac_try) 2>&5
14164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14165 (exit $ac_status); }; } &&
14166 { ac_try='test -s conftest$ac_exeext'
14167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14168 (eval $ac_try) 2>&5
14170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171 (exit $ac_status); }; }; then
14172 ac_cv_lib_m_ccoshf=yes
14174 echo "$as_me: failed program was:" >&5
14175 sed 's/^/| /' conftest.$ac_ext >&5
14177 ac_cv_lib_m_ccoshf=no
14179 rm -f conftest.err conftest.$ac_objext \
14180 conftest$ac_exeext conftest.$ac_ext
14181 LIBS=$ac_check_lib_save_LIBS
14183 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
14184 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
14185 if test $ac_cv_lib_m_ccoshf = yes; then
14187 cat >>confdefs.h <<\_ACEOF
14188 #define HAVE_CCOSHF 1
14193 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
14194 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
14195 if test "${ac_cv_lib_m_ccosh+set}" = set; then
14196 echo $ECHO_N "(cached) $ECHO_C" >&6
14198 ac_check_lib_save_LIBS=$LIBS
14200 if test x$gcc_no_link = xyes; then
14201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14203 { (exit 1); exit 1; }; }
14205 cat >conftest.$ac_ext <<_ACEOF
14208 cat confdefs.h >>conftest.$ac_ext
14209 cat >>conftest.$ac_ext <<_ACEOF
14210 /* end confdefs.h. */
14212 /* Override any gcc2 internal prototype to avoid an error. */
14216 /* We use char because int might match the return type of a gcc2
14217 builtin and then its argument prototype would still apply. */
14227 rm -f conftest.$ac_objext conftest$ac_exeext
14228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14229 (eval $ac_link) 2>conftest.er1
14231 grep -v '^ *+' conftest.er1 >conftest.err
14233 cat conftest.err >&5
14234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14235 (exit $ac_status); } &&
14236 { ac_try='test -z "$ac_c_werror_flag"
14237 || test ! -s conftest.err'
14238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14239 (eval $ac_try) 2>&5
14241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14242 (exit $ac_status); }; } &&
14243 { ac_try='test -s conftest$ac_exeext'
14244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14245 (eval $ac_try) 2>&5
14247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14248 (exit $ac_status); }; }; then
14249 ac_cv_lib_m_ccosh=yes
14251 echo "$as_me: failed program was:" >&5
14252 sed 's/^/| /' conftest.$ac_ext >&5
14254 ac_cv_lib_m_ccosh=no
14256 rm -f conftest.err conftest.$ac_objext \
14257 conftest$ac_exeext conftest.$ac_ext
14258 LIBS=$ac_check_lib_save_LIBS
14260 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
14261 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
14262 if test $ac_cv_lib_m_ccosh = yes; then
14264 cat >>confdefs.h <<\_ACEOF
14265 #define HAVE_CCOSH 1
14270 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
14271 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
14272 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
14273 echo $ECHO_N "(cached) $ECHO_C" >&6
14275 ac_check_lib_save_LIBS=$LIBS
14277 if test x$gcc_no_link = xyes; then
14278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14280 { (exit 1); exit 1; }; }
14282 cat >conftest.$ac_ext <<_ACEOF
14285 cat confdefs.h >>conftest.$ac_ext
14286 cat >>conftest.$ac_ext <<_ACEOF
14287 /* end confdefs.h. */
14289 /* Override any gcc2 internal prototype to avoid an error. */
14293 /* We use char because int might match the return type of a gcc2
14294 builtin and then its argument prototype would still apply. */
14304 rm -f conftest.$ac_objext conftest$ac_exeext
14305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14306 (eval $ac_link) 2>conftest.er1
14308 grep -v '^ *+' conftest.er1 >conftest.err
14310 cat conftest.err >&5
14311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14312 (exit $ac_status); } &&
14313 { ac_try='test -z "$ac_c_werror_flag"
14314 || test ! -s conftest.err'
14315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14316 (eval $ac_try) 2>&5
14318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14319 (exit $ac_status); }; } &&
14320 { ac_try='test -s conftest$ac_exeext'
14321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14322 (eval $ac_try) 2>&5
14324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14325 (exit $ac_status); }; }; then
14326 ac_cv_lib_m_ccoshl=yes
14328 echo "$as_me: failed program was:" >&5
14329 sed 's/^/| /' conftest.$ac_ext >&5
14331 ac_cv_lib_m_ccoshl=no
14333 rm -f conftest.err conftest.$ac_objext \
14334 conftest$ac_exeext conftest.$ac_ext
14335 LIBS=$ac_check_lib_save_LIBS
14337 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
14338 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
14339 if test $ac_cv_lib_m_ccoshl = yes; then
14341 cat >>confdefs.h <<\_ACEOF
14342 #define HAVE_CCOSHL 1
14347 echo "$as_me:$LINENO: checking for expf in -lm" >&5
14348 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
14349 if test "${ac_cv_lib_m_expf+set}" = set; then
14350 echo $ECHO_N "(cached) $ECHO_C" >&6
14352 ac_check_lib_save_LIBS=$LIBS
14354 if test x$gcc_no_link = xyes; then
14355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14357 { (exit 1); exit 1; }; }
14359 cat >conftest.$ac_ext <<_ACEOF
14362 cat confdefs.h >>conftest.$ac_ext
14363 cat >>conftest.$ac_ext <<_ACEOF
14364 /* end confdefs.h. */
14366 /* Override any gcc2 internal prototype to avoid an error. */
14370 /* We use char because int might match the return type of a gcc2
14371 builtin and then its argument prototype would still apply. */
14381 rm -f conftest.$ac_objext conftest$ac_exeext
14382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14383 (eval $ac_link) 2>conftest.er1
14385 grep -v '^ *+' conftest.er1 >conftest.err
14387 cat conftest.err >&5
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); } &&
14390 { ac_try='test -z "$ac_c_werror_flag"
14391 || test ! -s conftest.err'
14392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14393 (eval $ac_try) 2>&5
14395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14396 (exit $ac_status); }; } &&
14397 { ac_try='test -s conftest$ac_exeext'
14398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14399 (eval $ac_try) 2>&5
14401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14402 (exit $ac_status); }; }; then
14403 ac_cv_lib_m_expf=yes
14405 echo "$as_me: failed program was:" >&5
14406 sed 's/^/| /' conftest.$ac_ext >&5
14408 ac_cv_lib_m_expf=no
14410 rm -f conftest.err conftest.$ac_objext \
14411 conftest$ac_exeext conftest.$ac_ext
14412 LIBS=$ac_check_lib_save_LIBS
14414 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
14415 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
14416 if test $ac_cv_lib_m_expf = yes; then
14418 cat >>confdefs.h <<\_ACEOF
14419 #define HAVE_EXPF 1
14424 echo "$as_me:$LINENO: checking for exp in -lm" >&5
14425 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
14426 if test "${ac_cv_lib_m_exp+set}" = set; then
14427 echo $ECHO_N "(cached) $ECHO_C" >&6
14429 ac_check_lib_save_LIBS=$LIBS
14431 if test x$gcc_no_link = xyes; then
14432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14434 { (exit 1); exit 1; }; }
14436 cat >conftest.$ac_ext <<_ACEOF
14439 cat confdefs.h >>conftest.$ac_ext
14440 cat >>conftest.$ac_ext <<_ACEOF
14441 /* end confdefs.h. */
14443 /* Override any gcc2 internal prototype to avoid an error. */
14447 /* We use char because int might match the return type of a gcc2
14448 builtin and then its argument prototype would still apply. */
14458 rm -f conftest.$ac_objext conftest$ac_exeext
14459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14460 (eval $ac_link) 2>conftest.er1
14462 grep -v '^ *+' conftest.er1 >conftest.err
14464 cat conftest.err >&5
14465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14466 (exit $ac_status); } &&
14467 { ac_try='test -z "$ac_c_werror_flag"
14468 || test ! -s conftest.err'
14469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14470 (eval $ac_try) 2>&5
14472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); }; } &&
14474 { ac_try='test -s conftest$ac_exeext'
14475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14476 (eval $ac_try) 2>&5
14478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); }; }; then
14480 ac_cv_lib_m_exp=yes
14482 echo "$as_me: failed program was:" >&5
14483 sed 's/^/| /' conftest.$ac_ext >&5
14487 rm -f conftest.err conftest.$ac_objext \
14488 conftest$ac_exeext conftest.$ac_ext
14489 LIBS=$ac_check_lib_save_LIBS
14491 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
14492 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
14493 if test $ac_cv_lib_m_exp = yes; then
14495 cat >>confdefs.h <<\_ACEOF
14501 echo "$as_me:$LINENO: checking for expl in -lm" >&5
14502 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
14503 if test "${ac_cv_lib_m_expl+set}" = set; then
14504 echo $ECHO_N "(cached) $ECHO_C" >&6
14506 ac_check_lib_save_LIBS=$LIBS
14508 if test x$gcc_no_link = xyes; then
14509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14511 { (exit 1); exit 1; }; }
14513 cat >conftest.$ac_ext <<_ACEOF
14516 cat confdefs.h >>conftest.$ac_ext
14517 cat >>conftest.$ac_ext <<_ACEOF
14518 /* end confdefs.h. */
14520 /* Override any gcc2 internal prototype to avoid an error. */
14524 /* We use char because int might match the return type of a gcc2
14525 builtin and then its argument prototype would still apply. */
14535 rm -f conftest.$ac_objext conftest$ac_exeext
14536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14537 (eval $ac_link) 2>conftest.er1
14539 grep -v '^ *+' conftest.er1 >conftest.err
14541 cat conftest.err >&5
14542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14543 (exit $ac_status); } &&
14544 { ac_try='test -z "$ac_c_werror_flag"
14545 || test ! -s conftest.err'
14546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14547 (eval $ac_try) 2>&5
14549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14550 (exit $ac_status); }; } &&
14551 { ac_try='test -s conftest$ac_exeext'
14552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14553 (eval $ac_try) 2>&5
14555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14556 (exit $ac_status); }; }; then
14557 ac_cv_lib_m_expl=yes
14559 echo "$as_me: failed program was:" >&5
14560 sed 's/^/| /' conftest.$ac_ext >&5
14562 ac_cv_lib_m_expl=no
14564 rm -f conftest.err conftest.$ac_objext \
14565 conftest$ac_exeext conftest.$ac_ext
14566 LIBS=$ac_check_lib_save_LIBS
14568 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
14569 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
14570 if test $ac_cv_lib_m_expl = yes; then
14572 cat >>confdefs.h <<\_ACEOF
14573 #define HAVE_EXPL 1
14578 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
14579 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
14580 if test "${ac_cv_lib_m_cexpf+set}" = set; then
14581 echo $ECHO_N "(cached) $ECHO_C" >&6
14583 ac_check_lib_save_LIBS=$LIBS
14585 if test x$gcc_no_link = xyes; then
14586 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14588 { (exit 1); exit 1; }; }
14590 cat >conftest.$ac_ext <<_ACEOF
14593 cat confdefs.h >>conftest.$ac_ext
14594 cat >>conftest.$ac_ext <<_ACEOF
14595 /* end confdefs.h. */
14597 /* Override any gcc2 internal prototype to avoid an error. */
14601 /* We use char because int might match the return type of a gcc2
14602 builtin and then its argument prototype would still apply. */
14612 rm -f conftest.$ac_objext conftest$ac_exeext
14613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14614 (eval $ac_link) 2>conftest.er1
14616 grep -v '^ *+' conftest.er1 >conftest.err
14618 cat conftest.err >&5
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); } &&
14621 { ac_try='test -z "$ac_c_werror_flag"
14622 || test ! -s conftest.err'
14623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14624 (eval $ac_try) 2>&5
14626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627 (exit $ac_status); }; } &&
14628 { ac_try='test -s conftest$ac_exeext'
14629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14630 (eval $ac_try) 2>&5
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); }; }; then
14634 ac_cv_lib_m_cexpf=yes
14636 echo "$as_me: failed program was:" >&5
14637 sed 's/^/| /' conftest.$ac_ext >&5
14639 ac_cv_lib_m_cexpf=no
14641 rm -f conftest.err conftest.$ac_objext \
14642 conftest$ac_exeext conftest.$ac_ext
14643 LIBS=$ac_check_lib_save_LIBS
14645 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
14646 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
14647 if test $ac_cv_lib_m_cexpf = yes; then
14649 cat >>confdefs.h <<\_ACEOF
14650 #define HAVE_CEXPF 1
14655 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
14656 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
14657 if test "${ac_cv_lib_m_cexp+set}" = set; then
14658 echo $ECHO_N "(cached) $ECHO_C" >&6
14660 ac_check_lib_save_LIBS=$LIBS
14662 if test x$gcc_no_link = xyes; then
14663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14665 { (exit 1); exit 1; }; }
14667 cat >conftest.$ac_ext <<_ACEOF
14670 cat confdefs.h >>conftest.$ac_ext
14671 cat >>conftest.$ac_ext <<_ACEOF
14672 /* end confdefs.h. */
14674 /* Override any gcc2 internal prototype to avoid an error. */
14678 /* We use char because int might match the return type of a gcc2
14679 builtin and then its argument prototype would still apply. */
14689 rm -f conftest.$ac_objext conftest$ac_exeext
14690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14691 (eval $ac_link) 2>conftest.er1
14693 grep -v '^ *+' conftest.er1 >conftest.err
14695 cat conftest.err >&5
14696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697 (exit $ac_status); } &&
14698 { ac_try='test -z "$ac_c_werror_flag"
14699 || test ! -s conftest.err'
14700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14701 (eval $ac_try) 2>&5
14703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704 (exit $ac_status); }; } &&
14705 { ac_try='test -s conftest$ac_exeext'
14706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14707 (eval $ac_try) 2>&5
14709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14710 (exit $ac_status); }; }; then
14711 ac_cv_lib_m_cexp=yes
14713 echo "$as_me: failed program was:" >&5
14714 sed 's/^/| /' conftest.$ac_ext >&5
14716 ac_cv_lib_m_cexp=no
14718 rm -f conftest.err conftest.$ac_objext \
14719 conftest$ac_exeext conftest.$ac_ext
14720 LIBS=$ac_check_lib_save_LIBS
14722 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
14723 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
14724 if test $ac_cv_lib_m_cexp = yes; then
14726 cat >>confdefs.h <<\_ACEOF
14727 #define HAVE_CEXP 1
14732 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
14733 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
14734 if test "${ac_cv_lib_m_cexpl+set}" = set; then
14735 echo $ECHO_N "(cached) $ECHO_C" >&6
14737 ac_check_lib_save_LIBS=$LIBS
14739 if test x$gcc_no_link = xyes; then
14740 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14742 { (exit 1); exit 1; }; }
14744 cat >conftest.$ac_ext <<_ACEOF
14747 cat confdefs.h >>conftest.$ac_ext
14748 cat >>conftest.$ac_ext <<_ACEOF
14749 /* end confdefs.h. */
14751 /* Override any gcc2 internal prototype to avoid an error. */
14755 /* We use char because int might match the return type of a gcc2
14756 builtin and then its argument prototype would still apply. */
14766 rm -f conftest.$ac_objext conftest$ac_exeext
14767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14768 (eval $ac_link) 2>conftest.er1
14770 grep -v '^ *+' conftest.er1 >conftest.err
14772 cat conftest.err >&5
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); } &&
14775 { ac_try='test -z "$ac_c_werror_flag"
14776 || test ! -s conftest.err'
14777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14778 (eval $ac_try) 2>&5
14780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14781 (exit $ac_status); }; } &&
14782 { ac_try='test -s conftest$ac_exeext'
14783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14784 (eval $ac_try) 2>&5
14786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14787 (exit $ac_status); }; }; then
14788 ac_cv_lib_m_cexpl=yes
14790 echo "$as_me: failed program was:" >&5
14791 sed 's/^/| /' conftest.$ac_ext >&5
14793 ac_cv_lib_m_cexpl=no
14795 rm -f conftest.err conftest.$ac_objext \
14796 conftest$ac_exeext conftest.$ac_ext
14797 LIBS=$ac_check_lib_save_LIBS
14799 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
14800 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
14801 if test $ac_cv_lib_m_cexpl = yes; then
14803 cat >>confdefs.h <<\_ACEOF
14804 #define HAVE_CEXPL 1
14809 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
14810 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
14811 if test "${ac_cv_lib_m_fabsf+set}" = set; then
14812 echo $ECHO_N "(cached) $ECHO_C" >&6
14814 ac_check_lib_save_LIBS=$LIBS
14816 if test x$gcc_no_link = xyes; then
14817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14819 { (exit 1); exit 1; }; }
14821 cat >conftest.$ac_ext <<_ACEOF
14824 cat confdefs.h >>conftest.$ac_ext
14825 cat >>conftest.$ac_ext <<_ACEOF
14826 /* end confdefs.h. */
14828 /* Override any gcc2 internal prototype to avoid an error. */
14832 /* We use char because int might match the return type of a gcc2
14833 builtin and then its argument prototype would still apply. */
14843 rm -f conftest.$ac_objext conftest$ac_exeext
14844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14845 (eval $ac_link) 2>conftest.er1
14847 grep -v '^ *+' conftest.er1 >conftest.err
14849 cat conftest.err >&5
14850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 (exit $ac_status); } &&
14852 { ac_try='test -z "$ac_c_werror_flag"
14853 || test ! -s conftest.err'
14854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14855 (eval $ac_try) 2>&5
14857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858 (exit $ac_status); }; } &&
14859 { ac_try='test -s conftest$ac_exeext'
14860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14861 (eval $ac_try) 2>&5
14863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14864 (exit $ac_status); }; }; then
14865 ac_cv_lib_m_fabsf=yes
14867 echo "$as_me: failed program was:" >&5
14868 sed 's/^/| /' conftest.$ac_ext >&5
14870 ac_cv_lib_m_fabsf=no
14872 rm -f conftest.err conftest.$ac_objext \
14873 conftest$ac_exeext conftest.$ac_ext
14874 LIBS=$ac_check_lib_save_LIBS
14876 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
14877 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
14878 if test $ac_cv_lib_m_fabsf = yes; then
14880 cat >>confdefs.h <<\_ACEOF
14881 #define HAVE_FABSF 1
14886 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
14887 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
14888 if test "${ac_cv_lib_m_fabs+set}" = set; then
14889 echo $ECHO_N "(cached) $ECHO_C" >&6
14891 ac_check_lib_save_LIBS=$LIBS
14893 if test x$gcc_no_link = xyes; then
14894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14896 { (exit 1); exit 1; }; }
14898 cat >conftest.$ac_ext <<_ACEOF
14901 cat confdefs.h >>conftest.$ac_ext
14902 cat >>conftest.$ac_ext <<_ACEOF
14903 /* end confdefs.h. */
14905 /* Override any gcc2 internal prototype to avoid an error. */
14909 /* We use char because int might match the return type of a gcc2
14910 builtin and then its argument prototype would still apply. */
14920 rm -f conftest.$ac_objext conftest$ac_exeext
14921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14922 (eval $ac_link) 2>conftest.er1
14924 grep -v '^ *+' conftest.er1 >conftest.err
14926 cat conftest.err >&5
14927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14928 (exit $ac_status); } &&
14929 { ac_try='test -z "$ac_c_werror_flag"
14930 || test ! -s conftest.err'
14931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14932 (eval $ac_try) 2>&5
14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14935 (exit $ac_status); }; } &&
14936 { ac_try='test -s conftest$ac_exeext'
14937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14938 (eval $ac_try) 2>&5
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); }; }; then
14942 ac_cv_lib_m_fabs=yes
14944 echo "$as_me: failed program was:" >&5
14945 sed 's/^/| /' conftest.$ac_ext >&5
14947 ac_cv_lib_m_fabs=no
14949 rm -f conftest.err conftest.$ac_objext \
14950 conftest$ac_exeext conftest.$ac_ext
14951 LIBS=$ac_check_lib_save_LIBS
14953 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
14954 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
14955 if test $ac_cv_lib_m_fabs = yes; then
14957 cat >>confdefs.h <<\_ACEOF
14958 #define HAVE_FABS 1
14963 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
14964 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
14965 if test "${ac_cv_lib_m_fabsl+set}" = set; then
14966 echo $ECHO_N "(cached) $ECHO_C" >&6
14968 ac_check_lib_save_LIBS=$LIBS
14970 if test x$gcc_no_link = xyes; then
14971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14973 { (exit 1); exit 1; }; }
14975 cat >conftest.$ac_ext <<_ACEOF
14978 cat confdefs.h >>conftest.$ac_ext
14979 cat >>conftest.$ac_ext <<_ACEOF
14980 /* end confdefs.h. */
14982 /* Override any gcc2 internal prototype to avoid an error. */
14986 /* We use char because int might match the return type of a gcc2
14987 builtin and then its argument prototype would still apply. */
14997 rm -f conftest.$ac_objext conftest$ac_exeext
14998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14999 (eval $ac_link) 2>conftest.er1
15001 grep -v '^ *+' conftest.er1 >conftest.err
15003 cat conftest.err >&5
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); } &&
15006 { ac_try='test -z "$ac_c_werror_flag"
15007 || test ! -s conftest.err'
15008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15009 (eval $ac_try) 2>&5
15011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15012 (exit $ac_status); }; } &&
15013 { ac_try='test -s conftest$ac_exeext'
15014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15015 (eval $ac_try) 2>&5
15017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15018 (exit $ac_status); }; }; then
15019 ac_cv_lib_m_fabsl=yes
15021 echo "$as_me: failed program was:" >&5
15022 sed 's/^/| /' conftest.$ac_ext >&5
15024 ac_cv_lib_m_fabsl=no
15026 rm -f conftest.err conftest.$ac_objext \
15027 conftest$ac_exeext conftest.$ac_ext
15028 LIBS=$ac_check_lib_save_LIBS
15030 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
15031 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
15032 if test $ac_cv_lib_m_fabsl = yes; then
15034 cat >>confdefs.h <<\_ACEOF
15035 #define HAVE_FABSL 1
15040 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
15041 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
15042 if test "${ac_cv_lib_m_cabsf+set}" = set; then
15043 echo $ECHO_N "(cached) $ECHO_C" >&6
15045 ac_check_lib_save_LIBS=$LIBS
15047 if test x$gcc_no_link = xyes; then
15048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15050 { (exit 1); exit 1; }; }
15052 cat >conftest.$ac_ext <<_ACEOF
15055 cat confdefs.h >>conftest.$ac_ext
15056 cat >>conftest.$ac_ext <<_ACEOF
15057 /* end confdefs.h. */
15059 /* Override any gcc2 internal prototype to avoid an error. */
15063 /* We use char because int might match the return type of a gcc2
15064 builtin and then its argument prototype would still apply. */
15074 rm -f conftest.$ac_objext conftest$ac_exeext
15075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15076 (eval $ac_link) 2>conftest.er1
15078 grep -v '^ *+' conftest.er1 >conftest.err
15080 cat conftest.err >&5
15081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15082 (exit $ac_status); } &&
15083 { ac_try='test -z "$ac_c_werror_flag"
15084 || test ! -s conftest.err'
15085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15086 (eval $ac_try) 2>&5
15088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15089 (exit $ac_status); }; } &&
15090 { ac_try='test -s conftest$ac_exeext'
15091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15092 (eval $ac_try) 2>&5
15094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095 (exit $ac_status); }; }; then
15096 ac_cv_lib_m_cabsf=yes
15098 echo "$as_me: failed program was:" >&5
15099 sed 's/^/| /' conftest.$ac_ext >&5
15101 ac_cv_lib_m_cabsf=no
15103 rm -f conftest.err conftest.$ac_objext \
15104 conftest$ac_exeext conftest.$ac_ext
15105 LIBS=$ac_check_lib_save_LIBS
15107 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
15108 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
15109 if test $ac_cv_lib_m_cabsf = yes; then
15111 cat >>confdefs.h <<\_ACEOF
15112 #define HAVE_CABSF 1
15117 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
15118 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
15119 if test "${ac_cv_lib_m_cabs+set}" = set; then
15120 echo $ECHO_N "(cached) $ECHO_C" >&6
15122 ac_check_lib_save_LIBS=$LIBS
15124 if test x$gcc_no_link = xyes; then
15125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15127 { (exit 1); exit 1; }; }
15129 cat >conftest.$ac_ext <<_ACEOF
15132 cat confdefs.h >>conftest.$ac_ext
15133 cat >>conftest.$ac_ext <<_ACEOF
15134 /* end confdefs.h. */
15136 /* Override any gcc2 internal prototype to avoid an error. */
15140 /* We use char because int might match the return type of a gcc2
15141 builtin and then its argument prototype would still apply. */
15151 rm -f conftest.$ac_objext conftest$ac_exeext
15152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15153 (eval $ac_link) 2>conftest.er1
15155 grep -v '^ *+' conftest.er1 >conftest.err
15157 cat conftest.err >&5
15158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159 (exit $ac_status); } &&
15160 { ac_try='test -z "$ac_c_werror_flag"
15161 || test ! -s conftest.err'
15162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15163 (eval $ac_try) 2>&5
15165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15166 (exit $ac_status); }; } &&
15167 { ac_try='test -s conftest$ac_exeext'
15168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15169 (eval $ac_try) 2>&5
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); }; }; then
15173 ac_cv_lib_m_cabs=yes
15175 echo "$as_me: failed program was:" >&5
15176 sed 's/^/| /' conftest.$ac_ext >&5
15178 ac_cv_lib_m_cabs=no
15180 rm -f conftest.err conftest.$ac_objext \
15181 conftest$ac_exeext conftest.$ac_ext
15182 LIBS=$ac_check_lib_save_LIBS
15184 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
15185 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
15186 if test $ac_cv_lib_m_cabs = yes; then
15188 cat >>confdefs.h <<\_ACEOF
15189 #define HAVE_CABS 1
15194 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
15195 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
15196 if test "${ac_cv_lib_m_cabsl+set}" = set; then
15197 echo $ECHO_N "(cached) $ECHO_C" >&6
15199 ac_check_lib_save_LIBS=$LIBS
15201 if test x$gcc_no_link = xyes; then
15202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15204 { (exit 1); exit 1; }; }
15206 cat >conftest.$ac_ext <<_ACEOF
15209 cat confdefs.h >>conftest.$ac_ext
15210 cat >>conftest.$ac_ext <<_ACEOF
15211 /* end confdefs.h. */
15213 /* Override any gcc2 internal prototype to avoid an error. */
15217 /* We use char because int might match the return type of a gcc2
15218 builtin and then its argument prototype would still apply. */
15228 rm -f conftest.$ac_objext conftest$ac_exeext
15229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15230 (eval $ac_link) 2>conftest.er1
15232 grep -v '^ *+' conftest.er1 >conftest.err
15234 cat conftest.err >&5
15235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15236 (exit $ac_status); } &&
15237 { ac_try='test -z "$ac_c_werror_flag"
15238 || test ! -s conftest.err'
15239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15240 (eval $ac_try) 2>&5
15242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15243 (exit $ac_status); }; } &&
15244 { ac_try='test -s conftest$ac_exeext'
15245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15246 (eval $ac_try) 2>&5
15248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15249 (exit $ac_status); }; }; then
15250 ac_cv_lib_m_cabsl=yes
15252 echo "$as_me: failed program was:" >&5
15253 sed 's/^/| /' conftest.$ac_ext >&5
15255 ac_cv_lib_m_cabsl=no
15257 rm -f conftest.err conftest.$ac_objext \
15258 conftest$ac_exeext conftest.$ac_ext
15259 LIBS=$ac_check_lib_save_LIBS
15261 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
15262 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
15263 if test $ac_cv_lib_m_cabsl = yes; then
15265 cat >>confdefs.h <<\_ACEOF
15266 #define HAVE_CABSL 1
15271 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
15272 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
15273 if test "${ac_cv_lib_m_floorf+set}" = set; then
15274 echo $ECHO_N "(cached) $ECHO_C" >&6
15276 ac_check_lib_save_LIBS=$LIBS
15278 if test x$gcc_no_link = xyes; then
15279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15281 { (exit 1); exit 1; }; }
15283 cat >conftest.$ac_ext <<_ACEOF
15286 cat confdefs.h >>conftest.$ac_ext
15287 cat >>conftest.$ac_ext <<_ACEOF
15288 /* end confdefs.h. */
15290 /* Override any gcc2 internal prototype to avoid an error. */
15294 /* We use char because int might match the return type of a gcc2
15295 builtin and then its argument prototype would still apply. */
15305 rm -f conftest.$ac_objext conftest$ac_exeext
15306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15307 (eval $ac_link) 2>conftest.er1
15309 grep -v '^ *+' conftest.er1 >conftest.err
15311 cat conftest.err >&5
15312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313 (exit $ac_status); } &&
15314 { ac_try='test -z "$ac_c_werror_flag"
15315 || test ! -s conftest.err'
15316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15317 (eval $ac_try) 2>&5
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); }; } &&
15321 { ac_try='test -s conftest$ac_exeext'
15322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15323 (eval $ac_try) 2>&5
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 (exit $ac_status); }; }; then
15327 ac_cv_lib_m_floorf=yes
15329 echo "$as_me: failed program was:" >&5
15330 sed 's/^/| /' conftest.$ac_ext >&5
15332 ac_cv_lib_m_floorf=no
15334 rm -f conftest.err conftest.$ac_objext \
15335 conftest$ac_exeext conftest.$ac_ext
15336 LIBS=$ac_check_lib_save_LIBS
15338 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
15339 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
15340 if test $ac_cv_lib_m_floorf = yes; then
15342 cat >>confdefs.h <<\_ACEOF
15343 #define HAVE_FLOORF 1
15348 echo "$as_me:$LINENO: checking for floor in -lm" >&5
15349 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
15350 if test "${ac_cv_lib_m_floor+set}" = set; then
15351 echo $ECHO_N "(cached) $ECHO_C" >&6
15353 ac_check_lib_save_LIBS=$LIBS
15355 if test x$gcc_no_link = xyes; then
15356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15358 { (exit 1); exit 1; }; }
15360 cat >conftest.$ac_ext <<_ACEOF
15363 cat confdefs.h >>conftest.$ac_ext
15364 cat >>conftest.$ac_ext <<_ACEOF
15365 /* end confdefs.h. */
15367 /* Override any gcc2 internal prototype to avoid an error. */
15371 /* We use char because int might match the return type of a gcc2
15372 builtin and then its argument prototype would still apply. */
15382 rm -f conftest.$ac_objext conftest$ac_exeext
15383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15384 (eval $ac_link) 2>conftest.er1
15386 grep -v '^ *+' conftest.er1 >conftest.err
15388 cat conftest.err >&5
15389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15390 (exit $ac_status); } &&
15391 { ac_try='test -z "$ac_c_werror_flag"
15392 || test ! -s conftest.err'
15393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15394 (eval $ac_try) 2>&5
15396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15397 (exit $ac_status); }; } &&
15398 { ac_try='test -s conftest$ac_exeext'
15399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15400 (eval $ac_try) 2>&5
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); }; }; then
15404 ac_cv_lib_m_floor=yes
15406 echo "$as_me: failed program was:" >&5
15407 sed 's/^/| /' conftest.$ac_ext >&5
15409 ac_cv_lib_m_floor=no
15411 rm -f conftest.err conftest.$ac_objext \
15412 conftest$ac_exeext conftest.$ac_ext
15413 LIBS=$ac_check_lib_save_LIBS
15415 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
15416 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
15417 if test $ac_cv_lib_m_floor = yes; then
15419 cat >>confdefs.h <<\_ACEOF
15420 #define HAVE_FLOOR 1
15425 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
15426 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
15427 if test "${ac_cv_lib_m_floorl+set}" = set; then
15428 echo $ECHO_N "(cached) $ECHO_C" >&6
15430 ac_check_lib_save_LIBS=$LIBS
15432 if test x$gcc_no_link = xyes; then
15433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15435 { (exit 1); exit 1; }; }
15437 cat >conftest.$ac_ext <<_ACEOF
15440 cat confdefs.h >>conftest.$ac_ext
15441 cat >>conftest.$ac_ext <<_ACEOF
15442 /* end confdefs.h. */
15444 /* Override any gcc2 internal prototype to avoid an error. */
15448 /* We use char because int might match the return type of a gcc2
15449 builtin and then its argument prototype would still apply. */
15459 rm -f conftest.$ac_objext conftest$ac_exeext
15460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15461 (eval $ac_link) 2>conftest.er1
15463 grep -v '^ *+' conftest.er1 >conftest.err
15465 cat conftest.err >&5
15466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15467 (exit $ac_status); } &&
15468 { ac_try='test -z "$ac_c_werror_flag"
15469 || test ! -s conftest.err'
15470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15471 (eval $ac_try) 2>&5
15473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15474 (exit $ac_status); }; } &&
15475 { ac_try='test -s conftest$ac_exeext'
15476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15477 (eval $ac_try) 2>&5
15479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15480 (exit $ac_status); }; }; then
15481 ac_cv_lib_m_floorl=yes
15483 echo "$as_me: failed program was:" >&5
15484 sed 's/^/| /' conftest.$ac_ext >&5
15486 ac_cv_lib_m_floorl=no
15488 rm -f conftest.err conftest.$ac_objext \
15489 conftest$ac_exeext conftest.$ac_ext
15490 LIBS=$ac_check_lib_save_LIBS
15492 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
15493 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
15494 if test $ac_cv_lib_m_floorl = yes; then
15496 cat >>confdefs.h <<\_ACEOF
15497 #define HAVE_FLOORL 1
15502 echo "$as_me:$LINENO: checking for fmodf in -lm" >&5
15503 echo $ECHO_N "checking for fmodf in -lm... $ECHO_C" >&6
15504 if test "${ac_cv_lib_m_fmodf+set}" = set; then
15505 echo $ECHO_N "(cached) $ECHO_C" >&6
15507 ac_check_lib_save_LIBS=$LIBS
15509 if test x$gcc_no_link = xyes; then
15510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15512 { (exit 1); exit 1; }; }
15514 cat >conftest.$ac_ext <<_ACEOF
15517 cat confdefs.h >>conftest.$ac_ext
15518 cat >>conftest.$ac_ext <<_ACEOF
15519 /* end confdefs.h. */
15521 /* Override any gcc2 internal prototype to avoid an error. */
15525 /* We use char because int might match the return type of a gcc2
15526 builtin and then its argument prototype would still apply. */
15536 rm -f conftest.$ac_objext conftest$ac_exeext
15537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15538 (eval $ac_link) 2>conftest.er1
15540 grep -v '^ *+' conftest.er1 >conftest.err
15542 cat conftest.err >&5
15543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15544 (exit $ac_status); } &&
15545 { ac_try='test -z "$ac_c_werror_flag"
15546 || test ! -s conftest.err'
15547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15548 (eval $ac_try) 2>&5
15550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15551 (exit $ac_status); }; } &&
15552 { ac_try='test -s conftest$ac_exeext'
15553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15554 (eval $ac_try) 2>&5
15556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15557 (exit $ac_status); }; }; then
15558 ac_cv_lib_m_fmodf=yes
15560 echo "$as_me: failed program was:" >&5
15561 sed 's/^/| /' conftest.$ac_ext >&5
15563 ac_cv_lib_m_fmodf=no
15565 rm -f conftest.err conftest.$ac_objext \
15566 conftest$ac_exeext conftest.$ac_ext
15567 LIBS=$ac_check_lib_save_LIBS
15569 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodf" >&5
15570 echo "${ECHO_T}$ac_cv_lib_m_fmodf" >&6
15571 if test $ac_cv_lib_m_fmodf = yes; then
15573 cat >>confdefs.h <<\_ACEOF
15574 #define HAVE_FMODF 1
15579 echo "$as_me:$LINENO: checking for fmod in -lm" >&5
15580 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6
15581 if test "${ac_cv_lib_m_fmod+set}" = set; then
15582 echo $ECHO_N "(cached) $ECHO_C" >&6
15584 ac_check_lib_save_LIBS=$LIBS
15586 if test x$gcc_no_link = xyes; then
15587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15589 { (exit 1); exit 1; }; }
15591 cat >conftest.$ac_ext <<_ACEOF
15594 cat confdefs.h >>conftest.$ac_ext
15595 cat >>conftest.$ac_ext <<_ACEOF
15596 /* end confdefs.h. */
15598 /* Override any gcc2 internal prototype to avoid an error. */
15602 /* We use char because int might match the return type of a gcc2
15603 builtin and then its argument prototype would still apply. */
15613 rm -f conftest.$ac_objext conftest$ac_exeext
15614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15615 (eval $ac_link) 2>conftest.er1
15617 grep -v '^ *+' conftest.er1 >conftest.err
15619 cat conftest.err >&5
15620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15621 (exit $ac_status); } &&
15622 { ac_try='test -z "$ac_c_werror_flag"
15623 || test ! -s conftest.err'
15624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15625 (eval $ac_try) 2>&5
15627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15628 (exit $ac_status); }; } &&
15629 { ac_try='test -s conftest$ac_exeext'
15630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15631 (eval $ac_try) 2>&5
15633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15634 (exit $ac_status); }; }; then
15635 ac_cv_lib_m_fmod=yes
15637 echo "$as_me: failed program was:" >&5
15638 sed 's/^/| /' conftest.$ac_ext >&5
15640 ac_cv_lib_m_fmod=no
15642 rm -f conftest.err conftest.$ac_objext \
15643 conftest$ac_exeext conftest.$ac_ext
15644 LIBS=$ac_check_lib_save_LIBS
15646 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
15647 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6
15648 if test $ac_cv_lib_m_fmod = yes; then
15650 cat >>confdefs.h <<\_ACEOF
15651 #define HAVE_FMOD 1
15656 echo "$as_me:$LINENO: checking for fmodl in -lm" >&5
15657 echo $ECHO_N "checking for fmodl in -lm... $ECHO_C" >&6
15658 if test "${ac_cv_lib_m_fmodl+set}" = set; then
15659 echo $ECHO_N "(cached) $ECHO_C" >&6
15661 ac_check_lib_save_LIBS=$LIBS
15663 if test x$gcc_no_link = xyes; then
15664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15666 { (exit 1); exit 1; }; }
15668 cat >conftest.$ac_ext <<_ACEOF
15671 cat confdefs.h >>conftest.$ac_ext
15672 cat >>conftest.$ac_ext <<_ACEOF
15673 /* end confdefs.h. */
15675 /* Override any gcc2 internal prototype to avoid an error. */
15679 /* We use char because int might match the return type of a gcc2
15680 builtin and then its argument prototype would still apply. */
15690 rm -f conftest.$ac_objext conftest$ac_exeext
15691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15692 (eval $ac_link) 2>conftest.er1
15694 grep -v '^ *+' conftest.er1 >conftest.err
15696 cat conftest.err >&5
15697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15698 (exit $ac_status); } &&
15699 { ac_try='test -z "$ac_c_werror_flag"
15700 || test ! -s conftest.err'
15701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15702 (eval $ac_try) 2>&5
15704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15705 (exit $ac_status); }; } &&
15706 { ac_try='test -s conftest$ac_exeext'
15707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15708 (eval $ac_try) 2>&5
15710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15711 (exit $ac_status); }; }; then
15712 ac_cv_lib_m_fmodl=yes
15714 echo "$as_me: failed program was:" >&5
15715 sed 's/^/| /' conftest.$ac_ext >&5
15717 ac_cv_lib_m_fmodl=no
15719 rm -f conftest.err conftest.$ac_objext \
15720 conftest$ac_exeext conftest.$ac_ext
15721 LIBS=$ac_check_lib_save_LIBS
15723 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodl" >&5
15724 echo "${ECHO_T}$ac_cv_lib_m_fmodl" >&6
15725 if test $ac_cv_lib_m_fmodl = yes; then
15727 cat >>confdefs.h <<\_ACEOF
15728 #define HAVE_FMODL 1
15733 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
15734 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
15735 if test "${ac_cv_lib_m_frexpf+set}" = set; then
15736 echo $ECHO_N "(cached) $ECHO_C" >&6
15738 ac_check_lib_save_LIBS=$LIBS
15740 if test x$gcc_no_link = xyes; then
15741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15743 { (exit 1); exit 1; }; }
15745 cat >conftest.$ac_ext <<_ACEOF
15748 cat confdefs.h >>conftest.$ac_ext
15749 cat >>conftest.$ac_ext <<_ACEOF
15750 /* end confdefs.h. */
15752 /* Override any gcc2 internal prototype to avoid an error. */
15756 /* We use char because int might match the return type of a gcc2
15757 builtin and then its argument prototype would still apply. */
15767 rm -f conftest.$ac_objext conftest$ac_exeext
15768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15769 (eval $ac_link) 2>conftest.er1
15771 grep -v '^ *+' conftest.er1 >conftest.err
15773 cat conftest.err >&5
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); } &&
15776 { ac_try='test -z "$ac_c_werror_flag"
15777 || test ! -s conftest.err'
15778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15779 (eval $ac_try) 2>&5
15781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15782 (exit $ac_status); }; } &&
15783 { ac_try='test -s conftest$ac_exeext'
15784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15785 (eval $ac_try) 2>&5
15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788 (exit $ac_status); }; }; then
15789 ac_cv_lib_m_frexpf=yes
15791 echo "$as_me: failed program was:" >&5
15792 sed 's/^/| /' conftest.$ac_ext >&5
15794 ac_cv_lib_m_frexpf=no
15796 rm -f conftest.err conftest.$ac_objext \
15797 conftest$ac_exeext conftest.$ac_ext
15798 LIBS=$ac_check_lib_save_LIBS
15800 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
15801 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
15802 if test $ac_cv_lib_m_frexpf = yes; then
15804 cat >>confdefs.h <<\_ACEOF
15805 #define HAVE_FREXPF 1
15810 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
15811 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
15812 if test "${ac_cv_lib_m_frexp+set}" = set; then
15813 echo $ECHO_N "(cached) $ECHO_C" >&6
15815 ac_check_lib_save_LIBS=$LIBS
15817 if test x$gcc_no_link = xyes; then
15818 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15820 { (exit 1); exit 1; }; }
15822 cat >conftest.$ac_ext <<_ACEOF
15825 cat confdefs.h >>conftest.$ac_ext
15826 cat >>conftest.$ac_ext <<_ACEOF
15827 /* end confdefs.h. */
15829 /* Override any gcc2 internal prototype to avoid an error. */
15833 /* We use char because int might match the return type of a gcc2
15834 builtin and then its argument prototype would still apply. */
15844 rm -f conftest.$ac_objext conftest$ac_exeext
15845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15846 (eval $ac_link) 2>conftest.er1
15848 grep -v '^ *+' conftest.er1 >conftest.err
15850 cat conftest.err >&5
15851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15852 (exit $ac_status); } &&
15853 { ac_try='test -z "$ac_c_werror_flag"
15854 || test ! -s conftest.err'
15855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15856 (eval $ac_try) 2>&5
15858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15859 (exit $ac_status); }; } &&
15860 { ac_try='test -s conftest$ac_exeext'
15861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15862 (eval $ac_try) 2>&5
15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865 (exit $ac_status); }; }; then
15866 ac_cv_lib_m_frexp=yes
15868 echo "$as_me: failed program was:" >&5
15869 sed 's/^/| /' conftest.$ac_ext >&5
15871 ac_cv_lib_m_frexp=no
15873 rm -f conftest.err conftest.$ac_objext \
15874 conftest$ac_exeext conftest.$ac_ext
15875 LIBS=$ac_check_lib_save_LIBS
15877 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
15878 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
15879 if test $ac_cv_lib_m_frexp = yes; then
15881 cat >>confdefs.h <<\_ACEOF
15882 #define HAVE_FREXP 1
15887 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
15888 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
15889 if test "${ac_cv_lib_m_frexpl+set}" = set; then
15890 echo $ECHO_N "(cached) $ECHO_C" >&6
15892 ac_check_lib_save_LIBS=$LIBS
15894 if test x$gcc_no_link = xyes; then
15895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15897 { (exit 1); exit 1; }; }
15899 cat >conftest.$ac_ext <<_ACEOF
15902 cat confdefs.h >>conftest.$ac_ext
15903 cat >>conftest.$ac_ext <<_ACEOF
15904 /* end confdefs.h. */
15906 /* Override any gcc2 internal prototype to avoid an error. */
15910 /* We use char because int might match the return type of a gcc2
15911 builtin and then its argument prototype would still apply. */
15921 rm -f conftest.$ac_objext conftest$ac_exeext
15922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15923 (eval $ac_link) 2>conftest.er1
15925 grep -v '^ *+' conftest.er1 >conftest.err
15927 cat conftest.err >&5
15928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15929 (exit $ac_status); } &&
15930 { ac_try='test -z "$ac_c_werror_flag"
15931 || test ! -s conftest.err'
15932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15933 (eval $ac_try) 2>&5
15935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15936 (exit $ac_status); }; } &&
15937 { ac_try='test -s conftest$ac_exeext'
15938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15939 (eval $ac_try) 2>&5
15941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15942 (exit $ac_status); }; }; then
15943 ac_cv_lib_m_frexpl=yes
15945 echo "$as_me: failed program was:" >&5
15946 sed 's/^/| /' conftest.$ac_ext >&5
15948 ac_cv_lib_m_frexpl=no
15950 rm -f conftest.err conftest.$ac_objext \
15951 conftest$ac_exeext conftest.$ac_ext
15952 LIBS=$ac_check_lib_save_LIBS
15954 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
15955 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
15956 if test $ac_cv_lib_m_frexpl = yes; then
15958 cat >>confdefs.h <<\_ACEOF
15959 #define HAVE_FREXPL 1
15964 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
15965 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
15966 if test "${ac_cv_lib_m_hypotf+set}" = set; then
15967 echo $ECHO_N "(cached) $ECHO_C" >&6
15969 ac_check_lib_save_LIBS=$LIBS
15971 if test x$gcc_no_link = xyes; then
15972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15974 { (exit 1); exit 1; }; }
15976 cat >conftest.$ac_ext <<_ACEOF
15979 cat confdefs.h >>conftest.$ac_ext
15980 cat >>conftest.$ac_ext <<_ACEOF
15981 /* end confdefs.h. */
15983 /* Override any gcc2 internal prototype to avoid an error. */
15987 /* We use char because int might match the return type of a gcc2
15988 builtin and then its argument prototype would still apply. */
15998 rm -f conftest.$ac_objext conftest$ac_exeext
15999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16000 (eval $ac_link) 2>conftest.er1
16002 grep -v '^ *+' conftest.er1 >conftest.err
16004 cat conftest.err >&5
16005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16006 (exit $ac_status); } &&
16007 { ac_try='test -z "$ac_c_werror_flag"
16008 || test ! -s conftest.err'
16009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16010 (eval $ac_try) 2>&5
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); }; } &&
16014 { ac_try='test -s conftest$ac_exeext'
16015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16016 (eval $ac_try) 2>&5
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); }; }; then
16020 ac_cv_lib_m_hypotf=yes
16022 echo "$as_me: failed program was:" >&5
16023 sed 's/^/| /' conftest.$ac_ext >&5
16025 ac_cv_lib_m_hypotf=no
16027 rm -f conftest.err conftest.$ac_objext \
16028 conftest$ac_exeext conftest.$ac_ext
16029 LIBS=$ac_check_lib_save_LIBS
16031 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
16032 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
16033 if test $ac_cv_lib_m_hypotf = yes; then
16035 cat >>confdefs.h <<\_ACEOF
16036 #define HAVE_HYPOTF 1
16041 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
16042 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
16043 if test "${ac_cv_lib_m_hypot+set}" = set; then
16044 echo $ECHO_N "(cached) $ECHO_C" >&6
16046 ac_check_lib_save_LIBS=$LIBS
16048 if test x$gcc_no_link = xyes; then
16049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16051 { (exit 1); exit 1; }; }
16053 cat >conftest.$ac_ext <<_ACEOF
16056 cat confdefs.h >>conftest.$ac_ext
16057 cat >>conftest.$ac_ext <<_ACEOF
16058 /* end confdefs.h. */
16060 /* Override any gcc2 internal prototype to avoid an error. */
16064 /* We use char because int might match the return type of a gcc2
16065 builtin and then its argument prototype would still apply. */
16075 rm -f conftest.$ac_objext conftest$ac_exeext
16076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16077 (eval $ac_link) 2>conftest.er1
16079 grep -v '^ *+' conftest.er1 >conftest.err
16081 cat conftest.err >&5
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); } &&
16084 { ac_try='test -z "$ac_c_werror_flag"
16085 || test ! -s conftest.err'
16086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16087 (eval $ac_try) 2>&5
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); }; } &&
16091 { ac_try='test -s conftest$ac_exeext'
16092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16093 (eval $ac_try) 2>&5
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); }; }; then
16097 ac_cv_lib_m_hypot=yes
16099 echo "$as_me: failed program was:" >&5
16100 sed 's/^/| /' conftest.$ac_ext >&5
16102 ac_cv_lib_m_hypot=no
16104 rm -f conftest.err conftest.$ac_objext \
16105 conftest$ac_exeext conftest.$ac_ext
16106 LIBS=$ac_check_lib_save_LIBS
16108 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
16109 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
16110 if test $ac_cv_lib_m_hypot = yes; then
16112 cat >>confdefs.h <<\_ACEOF
16113 #define HAVE_HYPOT 1
16118 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
16119 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
16120 if test "${ac_cv_lib_m_hypotl+set}" = set; then
16121 echo $ECHO_N "(cached) $ECHO_C" >&6
16123 ac_check_lib_save_LIBS=$LIBS
16125 if test x$gcc_no_link = xyes; then
16126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16128 { (exit 1); exit 1; }; }
16130 cat >conftest.$ac_ext <<_ACEOF
16133 cat confdefs.h >>conftest.$ac_ext
16134 cat >>conftest.$ac_ext <<_ACEOF
16135 /* end confdefs.h. */
16137 /* Override any gcc2 internal prototype to avoid an error. */
16141 /* We use char because int might match the return type of a gcc2
16142 builtin and then its argument prototype would still apply. */
16152 rm -f conftest.$ac_objext conftest$ac_exeext
16153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16154 (eval $ac_link) 2>conftest.er1
16156 grep -v '^ *+' conftest.er1 >conftest.err
16158 cat conftest.err >&5
16159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16160 (exit $ac_status); } &&
16161 { ac_try='test -z "$ac_c_werror_flag"
16162 || test ! -s conftest.err'
16163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16164 (eval $ac_try) 2>&5
16166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16167 (exit $ac_status); }; } &&
16168 { ac_try='test -s conftest$ac_exeext'
16169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16170 (eval $ac_try) 2>&5
16172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16173 (exit $ac_status); }; }; then
16174 ac_cv_lib_m_hypotl=yes
16176 echo "$as_me: failed program was:" >&5
16177 sed 's/^/| /' conftest.$ac_ext >&5
16179 ac_cv_lib_m_hypotl=no
16181 rm -f conftest.err conftest.$ac_objext \
16182 conftest$ac_exeext conftest.$ac_ext
16183 LIBS=$ac_check_lib_save_LIBS
16185 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
16186 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
16187 if test $ac_cv_lib_m_hypotl = yes; then
16189 cat >>confdefs.h <<\_ACEOF
16190 #define HAVE_HYPOTL 1
16195 echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
16196 echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6
16197 if test "${ac_cv_lib_m_ldexpf+set}" = set; then
16198 echo $ECHO_N "(cached) $ECHO_C" >&6
16200 ac_check_lib_save_LIBS=$LIBS
16202 if test x$gcc_no_link = xyes; then
16203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16205 { (exit 1); exit 1; }; }
16207 cat >conftest.$ac_ext <<_ACEOF
16210 cat confdefs.h >>conftest.$ac_ext
16211 cat >>conftest.$ac_ext <<_ACEOF
16212 /* end confdefs.h. */
16214 /* Override any gcc2 internal prototype to avoid an error. */
16218 /* We use char because int might match the return type of a gcc2
16219 builtin and then its argument prototype would still apply. */
16229 rm -f conftest.$ac_objext conftest$ac_exeext
16230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16231 (eval $ac_link) 2>conftest.er1
16233 grep -v '^ *+' conftest.er1 >conftest.err
16235 cat conftest.err >&5
16236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16237 (exit $ac_status); } &&
16238 { ac_try='test -z "$ac_c_werror_flag"
16239 || test ! -s conftest.err'
16240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16241 (eval $ac_try) 2>&5
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); }; } &&
16245 { ac_try='test -s conftest$ac_exeext'
16246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16247 (eval $ac_try) 2>&5
16249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 (exit $ac_status); }; }; then
16251 ac_cv_lib_m_ldexpf=yes
16253 echo "$as_me: failed program was:" >&5
16254 sed 's/^/| /' conftest.$ac_ext >&5
16256 ac_cv_lib_m_ldexpf=no
16258 rm -f conftest.err conftest.$ac_objext \
16259 conftest$ac_exeext conftest.$ac_ext
16260 LIBS=$ac_check_lib_save_LIBS
16262 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
16263 echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6
16264 if test $ac_cv_lib_m_ldexpf = yes; then
16266 cat >>confdefs.h <<\_ACEOF
16267 #define HAVE_LDEXPF 1
16272 echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
16273 echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6
16274 if test "${ac_cv_lib_m_ldexp+set}" = set; then
16275 echo $ECHO_N "(cached) $ECHO_C" >&6
16277 ac_check_lib_save_LIBS=$LIBS
16279 if test x$gcc_no_link = xyes; then
16280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16282 { (exit 1); exit 1; }; }
16284 cat >conftest.$ac_ext <<_ACEOF
16287 cat confdefs.h >>conftest.$ac_ext
16288 cat >>conftest.$ac_ext <<_ACEOF
16289 /* end confdefs.h. */
16291 /* Override any gcc2 internal prototype to avoid an error. */
16295 /* We use char because int might match the return type of a gcc2
16296 builtin and then its argument prototype would still apply. */
16306 rm -f conftest.$ac_objext conftest$ac_exeext
16307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16308 (eval $ac_link) 2>conftest.er1
16310 grep -v '^ *+' conftest.er1 >conftest.err
16312 cat conftest.err >&5
16313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 (exit $ac_status); } &&
16315 { ac_try='test -z "$ac_c_werror_flag"
16316 || test ! -s conftest.err'
16317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16318 (eval $ac_try) 2>&5
16320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16321 (exit $ac_status); }; } &&
16322 { ac_try='test -s conftest$ac_exeext'
16323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16324 (eval $ac_try) 2>&5
16326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327 (exit $ac_status); }; }; then
16328 ac_cv_lib_m_ldexp=yes
16330 echo "$as_me: failed program was:" >&5
16331 sed 's/^/| /' conftest.$ac_ext >&5
16333 ac_cv_lib_m_ldexp=no
16335 rm -f conftest.err conftest.$ac_objext \
16336 conftest$ac_exeext conftest.$ac_ext
16337 LIBS=$ac_check_lib_save_LIBS
16339 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
16340 echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6
16341 if test $ac_cv_lib_m_ldexp = yes; then
16343 cat >>confdefs.h <<\_ACEOF
16344 #define HAVE_LDEXP 1
16349 echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
16350 echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6
16351 if test "${ac_cv_lib_m_ldexpl+set}" = set; then
16352 echo $ECHO_N "(cached) $ECHO_C" >&6
16354 ac_check_lib_save_LIBS=$LIBS
16356 if test x$gcc_no_link = xyes; then
16357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16359 { (exit 1); exit 1; }; }
16361 cat >conftest.$ac_ext <<_ACEOF
16364 cat confdefs.h >>conftest.$ac_ext
16365 cat >>conftest.$ac_ext <<_ACEOF
16366 /* end confdefs.h. */
16368 /* Override any gcc2 internal prototype to avoid an error. */
16372 /* We use char because int might match the return type of a gcc2
16373 builtin and then its argument prototype would still apply. */
16383 rm -f conftest.$ac_objext conftest$ac_exeext
16384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16385 (eval $ac_link) 2>conftest.er1
16387 grep -v '^ *+' conftest.er1 >conftest.err
16389 cat conftest.err >&5
16390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16391 (exit $ac_status); } &&
16392 { ac_try='test -z "$ac_c_werror_flag"
16393 || test ! -s conftest.err'
16394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16395 (eval $ac_try) 2>&5
16397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16398 (exit $ac_status); }; } &&
16399 { ac_try='test -s conftest$ac_exeext'
16400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16401 (eval $ac_try) 2>&5
16403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16404 (exit $ac_status); }; }; then
16405 ac_cv_lib_m_ldexpl=yes
16407 echo "$as_me: failed program was:" >&5
16408 sed 's/^/| /' conftest.$ac_ext >&5
16410 ac_cv_lib_m_ldexpl=no
16412 rm -f conftest.err conftest.$ac_objext \
16413 conftest$ac_exeext conftest.$ac_ext
16414 LIBS=$ac_check_lib_save_LIBS
16416 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
16417 echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6
16418 if test $ac_cv_lib_m_ldexpl = yes; then
16420 cat >>confdefs.h <<\_ACEOF
16421 #define HAVE_LDEXPL 1
16426 echo "$as_me:$LINENO: checking for logf in -lm" >&5
16427 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
16428 if test "${ac_cv_lib_m_logf+set}" = set; then
16429 echo $ECHO_N "(cached) $ECHO_C" >&6
16431 ac_check_lib_save_LIBS=$LIBS
16433 if test x$gcc_no_link = xyes; then
16434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16436 { (exit 1); exit 1; }; }
16438 cat >conftest.$ac_ext <<_ACEOF
16441 cat confdefs.h >>conftest.$ac_ext
16442 cat >>conftest.$ac_ext <<_ACEOF
16443 /* end confdefs.h. */
16445 /* Override any gcc2 internal prototype to avoid an error. */
16449 /* We use char because int might match the return type of a gcc2
16450 builtin and then its argument prototype would still apply. */
16460 rm -f conftest.$ac_objext conftest$ac_exeext
16461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16462 (eval $ac_link) 2>conftest.er1
16464 grep -v '^ *+' conftest.er1 >conftest.err
16466 cat conftest.err >&5
16467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468 (exit $ac_status); } &&
16469 { ac_try='test -z "$ac_c_werror_flag"
16470 || test ! -s conftest.err'
16471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16472 (eval $ac_try) 2>&5
16474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16475 (exit $ac_status); }; } &&
16476 { ac_try='test -s conftest$ac_exeext'
16477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16478 (eval $ac_try) 2>&5
16480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16481 (exit $ac_status); }; }; then
16482 ac_cv_lib_m_logf=yes
16484 echo "$as_me: failed program was:" >&5
16485 sed 's/^/| /' conftest.$ac_ext >&5
16487 ac_cv_lib_m_logf=no
16489 rm -f conftest.err conftest.$ac_objext \
16490 conftest$ac_exeext conftest.$ac_ext
16491 LIBS=$ac_check_lib_save_LIBS
16493 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
16494 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
16495 if test $ac_cv_lib_m_logf = yes; then
16497 cat >>confdefs.h <<\_ACEOF
16498 #define HAVE_LOGF 1
16503 echo "$as_me:$LINENO: checking for log in -lm" >&5
16504 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
16505 if test "${ac_cv_lib_m_log+set}" = set; then
16506 echo $ECHO_N "(cached) $ECHO_C" >&6
16508 ac_check_lib_save_LIBS=$LIBS
16510 if test x$gcc_no_link = xyes; then
16511 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16513 { (exit 1); exit 1; }; }
16515 cat >conftest.$ac_ext <<_ACEOF
16518 cat confdefs.h >>conftest.$ac_ext
16519 cat >>conftest.$ac_ext <<_ACEOF
16520 /* end confdefs.h. */
16522 /* Override any gcc2 internal prototype to avoid an error. */
16526 /* We use char because int might match the return type of a gcc2
16527 builtin and then its argument prototype would still apply. */
16537 rm -f conftest.$ac_objext conftest$ac_exeext
16538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16539 (eval $ac_link) 2>conftest.er1
16541 grep -v '^ *+' conftest.er1 >conftest.err
16543 cat conftest.err >&5
16544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16545 (exit $ac_status); } &&
16546 { ac_try='test -z "$ac_c_werror_flag"
16547 || test ! -s conftest.err'
16548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16549 (eval $ac_try) 2>&5
16551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552 (exit $ac_status); }; } &&
16553 { ac_try='test -s conftest$ac_exeext'
16554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16555 (eval $ac_try) 2>&5
16557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16558 (exit $ac_status); }; }; then
16559 ac_cv_lib_m_log=yes
16561 echo "$as_me: failed program was:" >&5
16562 sed 's/^/| /' conftest.$ac_ext >&5
16566 rm -f conftest.err conftest.$ac_objext \
16567 conftest$ac_exeext conftest.$ac_ext
16568 LIBS=$ac_check_lib_save_LIBS
16570 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
16571 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
16572 if test $ac_cv_lib_m_log = yes; then
16574 cat >>confdefs.h <<\_ACEOF
16580 echo "$as_me:$LINENO: checking for logl in -lm" >&5
16581 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
16582 if test "${ac_cv_lib_m_logl+set}" = set; then
16583 echo $ECHO_N "(cached) $ECHO_C" >&6
16585 ac_check_lib_save_LIBS=$LIBS
16587 if test x$gcc_no_link = xyes; then
16588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16590 { (exit 1); exit 1; }; }
16592 cat >conftest.$ac_ext <<_ACEOF
16595 cat confdefs.h >>conftest.$ac_ext
16596 cat >>conftest.$ac_ext <<_ACEOF
16597 /* end confdefs.h. */
16599 /* Override any gcc2 internal prototype to avoid an error. */
16603 /* We use char because int might match the return type of a gcc2
16604 builtin and then its argument prototype would still apply. */
16614 rm -f conftest.$ac_objext conftest$ac_exeext
16615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16616 (eval $ac_link) 2>conftest.er1
16618 grep -v '^ *+' conftest.er1 >conftest.err
16620 cat conftest.err >&5
16621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16622 (exit $ac_status); } &&
16623 { ac_try='test -z "$ac_c_werror_flag"
16624 || test ! -s conftest.err'
16625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16626 (eval $ac_try) 2>&5
16628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629 (exit $ac_status); }; } &&
16630 { ac_try='test -s conftest$ac_exeext'
16631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16632 (eval $ac_try) 2>&5
16634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635 (exit $ac_status); }; }; then
16636 ac_cv_lib_m_logl=yes
16638 echo "$as_me: failed program was:" >&5
16639 sed 's/^/| /' conftest.$ac_ext >&5
16641 ac_cv_lib_m_logl=no
16643 rm -f conftest.err conftest.$ac_objext \
16644 conftest$ac_exeext conftest.$ac_ext
16645 LIBS=$ac_check_lib_save_LIBS
16647 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
16648 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
16649 if test $ac_cv_lib_m_logl = yes; then
16651 cat >>confdefs.h <<\_ACEOF
16652 #define HAVE_LOGL 1
16657 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
16658 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
16659 if test "${ac_cv_lib_m_clogf+set}" = set; then
16660 echo $ECHO_N "(cached) $ECHO_C" >&6
16662 ac_check_lib_save_LIBS=$LIBS
16664 if test x$gcc_no_link = xyes; then
16665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16667 { (exit 1); exit 1; }; }
16669 cat >conftest.$ac_ext <<_ACEOF
16672 cat confdefs.h >>conftest.$ac_ext
16673 cat >>conftest.$ac_ext <<_ACEOF
16674 /* end confdefs.h. */
16676 /* Override any gcc2 internal prototype to avoid an error. */
16680 /* We use char because int might match the return type of a gcc2
16681 builtin and then its argument prototype would still apply. */
16691 rm -f conftest.$ac_objext conftest$ac_exeext
16692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16693 (eval $ac_link) 2>conftest.er1
16695 grep -v '^ *+' conftest.er1 >conftest.err
16697 cat conftest.err >&5
16698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16699 (exit $ac_status); } &&
16700 { ac_try='test -z "$ac_c_werror_flag"
16701 || test ! -s conftest.err'
16702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16703 (eval $ac_try) 2>&5
16705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16706 (exit $ac_status); }; } &&
16707 { ac_try='test -s conftest$ac_exeext'
16708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16709 (eval $ac_try) 2>&5
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); }; }; then
16713 ac_cv_lib_m_clogf=yes
16715 echo "$as_me: failed program was:" >&5
16716 sed 's/^/| /' conftest.$ac_ext >&5
16718 ac_cv_lib_m_clogf=no
16720 rm -f conftest.err conftest.$ac_objext \
16721 conftest$ac_exeext conftest.$ac_ext
16722 LIBS=$ac_check_lib_save_LIBS
16724 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
16725 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
16726 if test $ac_cv_lib_m_clogf = yes; then
16728 cat >>confdefs.h <<\_ACEOF
16729 #define HAVE_CLOGF 1
16734 echo "$as_me:$LINENO: checking for clog in -lm" >&5
16735 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
16736 if test "${ac_cv_lib_m_clog+set}" = set; then
16737 echo $ECHO_N "(cached) $ECHO_C" >&6
16739 ac_check_lib_save_LIBS=$LIBS
16741 if test x$gcc_no_link = xyes; then
16742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16744 { (exit 1); exit 1; }; }
16746 cat >conftest.$ac_ext <<_ACEOF
16749 cat confdefs.h >>conftest.$ac_ext
16750 cat >>conftest.$ac_ext <<_ACEOF
16751 /* end confdefs.h. */
16753 /* Override any gcc2 internal prototype to avoid an error. */
16757 /* We use char because int might match the return type of a gcc2
16758 builtin and then its argument prototype would still apply. */
16768 rm -f conftest.$ac_objext conftest$ac_exeext
16769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16770 (eval $ac_link) 2>conftest.er1
16772 grep -v '^ *+' conftest.er1 >conftest.err
16774 cat conftest.err >&5
16775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776 (exit $ac_status); } &&
16777 { ac_try='test -z "$ac_c_werror_flag"
16778 || test ! -s conftest.err'
16779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16780 (eval $ac_try) 2>&5
16782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16783 (exit $ac_status); }; } &&
16784 { ac_try='test -s conftest$ac_exeext'
16785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16786 (eval $ac_try) 2>&5
16788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16789 (exit $ac_status); }; }; then
16790 ac_cv_lib_m_clog=yes
16792 echo "$as_me: failed program was:" >&5
16793 sed 's/^/| /' conftest.$ac_ext >&5
16795 ac_cv_lib_m_clog=no
16797 rm -f conftest.err conftest.$ac_objext \
16798 conftest$ac_exeext conftest.$ac_ext
16799 LIBS=$ac_check_lib_save_LIBS
16801 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
16802 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
16803 if test $ac_cv_lib_m_clog = yes; then
16805 cat >>confdefs.h <<\_ACEOF
16806 #define HAVE_CLOG 1
16811 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
16812 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
16813 if test "${ac_cv_lib_m_clogl+set}" = set; then
16814 echo $ECHO_N "(cached) $ECHO_C" >&6
16816 ac_check_lib_save_LIBS=$LIBS
16818 if test x$gcc_no_link = xyes; then
16819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16821 { (exit 1); exit 1; }; }
16823 cat >conftest.$ac_ext <<_ACEOF
16826 cat confdefs.h >>conftest.$ac_ext
16827 cat >>conftest.$ac_ext <<_ACEOF
16828 /* end confdefs.h. */
16830 /* Override any gcc2 internal prototype to avoid an error. */
16834 /* We use char because int might match the return type of a gcc2
16835 builtin and then its argument prototype would still apply. */
16845 rm -f conftest.$ac_objext conftest$ac_exeext
16846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16847 (eval $ac_link) 2>conftest.er1
16849 grep -v '^ *+' conftest.er1 >conftest.err
16851 cat conftest.err >&5
16852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16853 (exit $ac_status); } &&
16854 { ac_try='test -z "$ac_c_werror_flag"
16855 || test ! -s conftest.err'
16856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16857 (eval $ac_try) 2>&5
16859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16860 (exit $ac_status); }; } &&
16861 { ac_try='test -s conftest$ac_exeext'
16862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16863 (eval $ac_try) 2>&5
16865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866 (exit $ac_status); }; }; then
16867 ac_cv_lib_m_clogl=yes
16869 echo "$as_me: failed program was:" >&5
16870 sed 's/^/| /' conftest.$ac_ext >&5
16872 ac_cv_lib_m_clogl=no
16874 rm -f conftest.err conftest.$ac_objext \
16875 conftest$ac_exeext conftest.$ac_ext
16876 LIBS=$ac_check_lib_save_LIBS
16878 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
16879 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
16880 if test $ac_cv_lib_m_clogl = yes; then
16882 cat >>confdefs.h <<\_ACEOF
16883 #define HAVE_CLOGL 1
16888 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
16889 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
16890 if test "${ac_cv_lib_m_log10f+set}" = set; then
16891 echo $ECHO_N "(cached) $ECHO_C" >&6
16893 ac_check_lib_save_LIBS=$LIBS
16895 if test x$gcc_no_link = xyes; then
16896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16898 { (exit 1); exit 1; }; }
16900 cat >conftest.$ac_ext <<_ACEOF
16903 cat confdefs.h >>conftest.$ac_ext
16904 cat >>conftest.$ac_ext <<_ACEOF
16905 /* end confdefs.h. */
16907 /* Override any gcc2 internal prototype to avoid an error. */
16911 /* We use char because int might match the return type of a gcc2
16912 builtin and then its argument prototype would still apply. */
16922 rm -f conftest.$ac_objext conftest$ac_exeext
16923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16924 (eval $ac_link) 2>conftest.er1
16926 grep -v '^ *+' conftest.er1 >conftest.err
16928 cat conftest.err >&5
16929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16930 (exit $ac_status); } &&
16931 { ac_try='test -z "$ac_c_werror_flag"
16932 || test ! -s conftest.err'
16933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16934 (eval $ac_try) 2>&5
16936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16937 (exit $ac_status); }; } &&
16938 { ac_try='test -s conftest$ac_exeext'
16939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16940 (eval $ac_try) 2>&5
16942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16943 (exit $ac_status); }; }; then
16944 ac_cv_lib_m_log10f=yes
16946 echo "$as_me: failed program was:" >&5
16947 sed 's/^/| /' conftest.$ac_ext >&5
16949 ac_cv_lib_m_log10f=no
16951 rm -f conftest.err conftest.$ac_objext \
16952 conftest$ac_exeext conftest.$ac_ext
16953 LIBS=$ac_check_lib_save_LIBS
16955 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
16956 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
16957 if test $ac_cv_lib_m_log10f = yes; then
16959 cat >>confdefs.h <<\_ACEOF
16960 #define HAVE_LOG10F 1
16965 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
16966 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
16967 if test "${ac_cv_lib_m_log10+set}" = set; then
16968 echo $ECHO_N "(cached) $ECHO_C" >&6
16970 ac_check_lib_save_LIBS=$LIBS
16972 if test x$gcc_no_link = xyes; then
16973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16975 { (exit 1); exit 1; }; }
16977 cat >conftest.$ac_ext <<_ACEOF
16980 cat confdefs.h >>conftest.$ac_ext
16981 cat >>conftest.$ac_ext <<_ACEOF
16982 /* end confdefs.h. */
16984 /* Override any gcc2 internal prototype to avoid an error. */
16988 /* We use char because int might match the return type of a gcc2
16989 builtin and then its argument prototype would still apply. */
16999 rm -f conftest.$ac_objext conftest$ac_exeext
17000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17001 (eval $ac_link) 2>conftest.er1
17003 grep -v '^ *+' conftest.er1 >conftest.err
17005 cat conftest.err >&5
17006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17007 (exit $ac_status); } &&
17008 { ac_try='test -z "$ac_c_werror_flag"
17009 || test ! -s conftest.err'
17010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17011 (eval $ac_try) 2>&5
17013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17014 (exit $ac_status); }; } &&
17015 { ac_try='test -s conftest$ac_exeext'
17016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17017 (eval $ac_try) 2>&5
17019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020 (exit $ac_status); }; }; then
17021 ac_cv_lib_m_log10=yes
17023 echo "$as_me: failed program was:" >&5
17024 sed 's/^/| /' conftest.$ac_ext >&5
17026 ac_cv_lib_m_log10=no
17028 rm -f conftest.err conftest.$ac_objext \
17029 conftest$ac_exeext conftest.$ac_ext
17030 LIBS=$ac_check_lib_save_LIBS
17032 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
17033 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
17034 if test $ac_cv_lib_m_log10 = yes; then
17036 cat >>confdefs.h <<\_ACEOF
17037 #define HAVE_LOG10 1
17042 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
17043 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
17044 if test "${ac_cv_lib_m_log10l+set}" = set; then
17045 echo $ECHO_N "(cached) $ECHO_C" >&6
17047 ac_check_lib_save_LIBS=$LIBS
17049 if test x$gcc_no_link = xyes; then
17050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17052 { (exit 1); exit 1; }; }
17054 cat >conftest.$ac_ext <<_ACEOF
17057 cat confdefs.h >>conftest.$ac_ext
17058 cat >>conftest.$ac_ext <<_ACEOF
17059 /* end confdefs.h. */
17061 /* Override any gcc2 internal prototype to avoid an error. */
17065 /* We use char because int might match the return type of a gcc2
17066 builtin and then its argument prototype would still apply. */
17076 rm -f conftest.$ac_objext conftest$ac_exeext
17077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17078 (eval $ac_link) 2>conftest.er1
17080 grep -v '^ *+' conftest.er1 >conftest.err
17082 cat conftest.err >&5
17083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17084 (exit $ac_status); } &&
17085 { ac_try='test -z "$ac_c_werror_flag"
17086 || test ! -s conftest.err'
17087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17088 (eval $ac_try) 2>&5
17090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17091 (exit $ac_status); }; } &&
17092 { ac_try='test -s conftest$ac_exeext'
17093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17094 (eval $ac_try) 2>&5
17096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17097 (exit $ac_status); }; }; then
17098 ac_cv_lib_m_log10l=yes
17100 echo "$as_me: failed program was:" >&5
17101 sed 's/^/| /' conftest.$ac_ext >&5
17103 ac_cv_lib_m_log10l=no
17105 rm -f conftest.err conftest.$ac_objext \
17106 conftest$ac_exeext conftest.$ac_ext
17107 LIBS=$ac_check_lib_save_LIBS
17109 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
17110 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
17111 if test $ac_cv_lib_m_log10l = yes; then
17113 cat >>confdefs.h <<\_ACEOF
17114 #define HAVE_LOG10L 1
17119 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
17120 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
17121 if test "${ac_cv_lib_m_clog10f+set}" = set; then
17122 echo $ECHO_N "(cached) $ECHO_C" >&6
17124 ac_check_lib_save_LIBS=$LIBS
17126 if test x$gcc_no_link = xyes; then
17127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17129 { (exit 1); exit 1; }; }
17131 cat >conftest.$ac_ext <<_ACEOF
17134 cat confdefs.h >>conftest.$ac_ext
17135 cat >>conftest.$ac_ext <<_ACEOF
17136 /* end confdefs.h. */
17138 /* Override any gcc2 internal prototype to avoid an error. */
17142 /* We use char because int might match the return type of a gcc2
17143 builtin and then its argument prototype would still apply. */
17153 rm -f conftest.$ac_objext conftest$ac_exeext
17154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17155 (eval $ac_link) 2>conftest.er1
17157 grep -v '^ *+' conftest.er1 >conftest.err
17159 cat conftest.err >&5
17160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17161 (exit $ac_status); } &&
17162 { ac_try='test -z "$ac_c_werror_flag"
17163 || test ! -s conftest.err'
17164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17165 (eval $ac_try) 2>&5
17167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17168 (exit $ac_status); }; } &&
17169 { ac_try='test -s conftest$ac_exeext'
17170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17171 (eval $ac_try) 2>&5
17173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17174 (exit $ac_status); }; }; then
17175 ac_cv_lib_m_clog10f=yes
17177 echo "$as_me: failed program was:" >&5
17178 sed 's/^/| /' conftest.$ac_ext >&5
17180 ac_cv_lib_m_clog10f=no
17182 rm -f conftest.err conftest.$ac_objext \
17183 conftest$ac_exeext conftest.$ac_ext
17184 LIBS=$ac_check_lib_save_LIBS
17186 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
17187 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
17188 if test $ac_cv_lib_m_clog10f = yes; then
17190 cat >>confdefs.h <<\_ACEOF
17191 #define HAVE_CLOG10F 1
17196 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
17197 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
17198 if test "${ac_cv_lib_m_clog10+set}" = set; then
17199 echo $ECHO_N "(cached) $ECHO_C" >&6
17201 ac_check_lib_save_LIBS=$LIBS
17203 if test x$gcc_no_link = xyes; then
17204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17206 { (exit 1); exit 1; }; }
17208 cat >conftest.$ac_ext <<_ACEOF
17211 cat confdefs.h >>conftest.$ac_ext
17212 cat >>conftest.$ac_ext <<_ACEOF
17213 /* end confdefs.h. */
17215 /* Override any gcc2 internal prototype to avoid an error. */
17219 /* We use char because int might match the return type of a gcc2
17220 builtin and then its argument prototype would still apply. */
17230 rm -f conftest.$ac_objext conftest$ac_exeext
17231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17232 (eval $ac_link) 2>conftest.er1
17234 grep -v '^ *+' conftest.er1 >conftest.err
17236 cat conftest.err >&5
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); } &&
17239 { ac_try='test -z "$ac_c_werror_flag"
17240 || test ! -s conftest.err'
17241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17242 (eval $ac_try) 2>&5
17244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17245 (exit $ac_status); }; } &&
17246 { ac_try='test -s conftest$ac_exeext'
17247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17248 (eval $ac_try) 2>&5
17250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17251 (exit $ac_status); }; }; then
17252 ac_cv_lib_m_clog10=yes
17254 echo "$as_me: failed program was:" >&5
17255 sed 's/^/| /' conftest.$ac_ext >&5
17257 ac_cv_lib_m_clog10=no
17259 rm -f conftest.err conftest.$ac_objext \
17260 conftest$ac_exeext conftest.$ac_ext
17261 LIBS=$ac_check_lib_save_LIBS
17263 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
17264 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
17265 if test $ac_cv_lib_m_clog10 = yes; then
17267 cat >>confdefs.h <<\_ACEOF
17268 #define HAVE_CLOG10 1
17273 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
17274 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
17275 if test "${ac_cv_lib_m_clog10l+set}" = set; then
17276 echo $ECHO_N "(cached) $ECHO_C" >&6
17278 ac_check_lib_save_LIBS=$LIBS
17280 if test x$gcc_no_link = xyes; then
17281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17283 { (exit 1); exit 1; }; }
17285 cat >conftest.$ac_ext <<_ACEOF
17288 cat confdefs.h >>conftest.$ac_ext
17289 cat >>conftest.$ac_ext <<_ACEOF
17290 /* end confdefs.h. */
17292 /* Override any gcc2 internal prototype to avoid an error. */
17296 /* We use char because int might match the return type of a gcc2
17297 builtin and then its argument prototype would still apply. */
17307 rm -f conftest.$ac_objext conftest$ac_exeext
17308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17309 (eval $ac_link) 2>conftest.er1
17311 grep -v '^ *+' conftest.er1 >conftest.err
17313 cat conftest.err >&5
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); } &&
17316 { ac_try='test -z "$ac_c_werror_flag"
17317 || test ! -s conftest.err'
17318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17319 (eval $ac_try) 2>&5
17321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17322 (exit $ac_status); }; } &&
17323 { ac_try='test -s conftest$ac_exeext'
17324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17325 (eval $ac_try) 2>&5
17327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17328 (exit $ac_status); }; }; then
17329 ac_cv_lib_m_clog10l=yes
17331 echo "$as_me: failed program was:" >&5
17332 sed 's/^/| /' conftest.$ac_ext >&5
17334 ac_cv_lib_m_clog10l=no
17336 rm -f conftest.err conftest.$ac_objext \
17337 conftest$ac_exeext conftest.$ac_ext
17338 LIBS=$ac_check_lib_save_LIBS
17340 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
17341 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
17342 if test $ac_cv_lib_m_clog10l = yes; then
17344 cat >>confdefs.h <<\_ACEOF
17345 #define HAVE_CLOG10L 1
17350 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
17351 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
17352 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
17353 echo $ECHO_N "(cached) $ECHO_C" >&6
17355 ac_check_lib_save_LIBS=$LIBS
17357 if test x$gcc_no_link = xyes; then
17358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17360 { (exit 1); exit 1; }; }
17362 cat >conftest.$ac_ext <<_ACEOF
17365 cat confdefs.h >>conftest.$ac_ext
17366 cat >>conftest.$ac_ext <<_ACEOF
17367 /* end confdefs.h. */
17369 /* Override any gcc2 internal prototype to avoid an error. */
17373 /* We use char because int might match the return type of a gcc2
17374 builtin and then its argument prototype would still apply. */
17375 char nextafterf ();
17384 rm -f conftest.$ac_objext conftest$ac_exeext
17385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17386 (eval $ac_link) 2>conftest.er1
17388 grep -v '^ *+' conftest.er1 >conftest.err
17390 cat conftest.err >&5
17391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); } &&
17393 { ac_try='test -z "$ac_c_werror_flag"
17394 || test ! -s conftest.err'
17395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17396 (eval $ac_try) 2>&5
17398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17399 (exit $ac_status); }; } &&
17400 { ac_try='test -s conftest$ac_exeext'
17401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17402 (eval $ac_try) 2>&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); }; }; then
17406 ac_cv_lib_m_nextafterf=yes
17408 echo "$as_me: failed program was:" >&5
17409 sed 's/^/| /' conftest.$ac_ext >&5
17411 ac_cv_lib_m_nextafterf=no
17413 rm -f conftest.err conftest.$ac_objext \
17414 conftest$ac_exeext conftest.$ac_ext
17415 LIBS=$ac_check_lib_save_LIBS
17417 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
17418 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
17419 if test $ac_cv_lib_m_nextafterf = yes; then
17421 cat >>confdefs.h <<\_ACEOF
17422 #define HAVE_NEXTAFTERF 1
17427 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
17428 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
17429 if test "${ac_cv_lib_m_nextafter+set}" = set; then
17430 echo $ECHO_N "(cached) $ECHO_C" >&6
17432 ac_check_lib_save_LIBS=$LIBS
17434 if test x$gcc_no_link = xyes; then
17435 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17437 { (exit 1); exit 1; }; }
17439 cat >conftest.$ac_ext <<_ACEOF
17442 cat confdefs.h >>conftest.$ac_ext
17443 cat >>conftest.$ac_ext <<_ACEOF
17444 /* end confdefs.h. */
17446 /* Override any gcc2 internal prototype to avoid an error. */
17450 /* We use char because int might match the return type of a gcc2
17451 builtin and then its argument prototype would still apply. */
17461 rm -f conftest.$ac_objext conftest$ac_exeext
17462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17463 (eval $ac_link) 2>conftest.er1
17465 grep -v '^ *+' conftest.er1 >conftest.err
17467 cat conftest.err >&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); } &&
17470 { ac_try='test -z "$ac_c_werror_flag"
17471 || test ! -s conftest.err'
17472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17473 (eval $ac_try) 2>&5
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); }; } &&
17477 { ac_try='test -s conftest$ac_exeext'
17478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17479 (eval $ac_try) 2>&5
17481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17482 (exit $ac_status); }; }; then
17483 ac_cv_lib_m_nextafter=yes
17485 echo "$as_me: failed program was:" >&5
17486 sed 's/^/| /' conftest.$ac_ext >&5
17488 ac_cv_lib_m_nextafter=no
17490 rm -f conftest.err conftest.$ac_objext \
17491 conftest$ac_exeext conftest.$ac_ext
17492 LIBS=$ac_check_lib_save_LIBS
17494 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
17495 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
17496 if test $ac_cv_lib_m_nextafter = yes; then
17498 cat >>confdefs.h <<\_ACEOF
17499 #define HAVE_NEXTAFTER 1
17504 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
17505 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
17506 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
17507 echo $ECHO_N "(cached) $ECHO_C" >&6
17509 ac_check_lib_save_LIBS=$LIBS
17511 if test x$gcc_no_link = xyes; then
17512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17514 { (exit 1); exit 1; }; }
17516 cat >conftest.$ac_ext <<_ACEOF
17519 cat confdefs.h >>conftest.$ac_ext
17520 cat >>conftest.$ac_ext <<_ACEOF
17521 /* end confdefs.h. */
17523 /* Override any gcc2 internal prototype to avoid an error. */
17527 /* We use char because int might match the return type of a gcc2
17528 builtin and then its argument prototype would still apply. */
17529 char nextafterl ();
17538 rm -f conftest.$ac_objext conftest$ac_exeext
17539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17540 (eval $ac_link) 2>conftest.er1
17542 grep -v '^ *+' conftest.er1 >conftest.err
17544 cat conftest.err >&5
17545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17546 (exit $ac_status); } &&
17547 { ac_try='test -z "$ac_c_werror_flag"
17548 || test ! -s conftest.err'
17549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17550 (eval $ac_try) 2>&5
17552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17553 (exit $ac_status); }; } &&
17554 { ac_try='test -s conftest$ac_exeext'
17555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17556 (eval $ac_try) 2>&5
17558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17559 (exit $ac_status); }; }; then
17560 ac_cv_lib_m_nextafterl=yes
17562 echo "$as_me: failed program was:" >&5
17563 sed 's/^/| /' conftest.$ac_ext >&5
17565 ac_cv_lib_m_nextafterl=no
17567 rm -f conftest.err conftest.$ac_objext \
17568 conftest$ac_exeext conftest.$ac_ext
17569 LIBS=$ac_check_lib_save_LIBS
17571 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
17572 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
17573 if test $ac_cv_lib_m_nextafterl = yes; then
17575 cat >>confdefs.h <<\_ACEOF
17576 #define HAVE_NEXTAFTERL 1
17581 echo "$as_me:$LINENO: checking for powf in -lm" >&5
17582 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
17583 if test "${ac_cv_lib_m_powf+set}" = set; then
17584 echo $ECHO_N "(cached) $ECHO_C" >&6
17586 ac_check_lib_save_LIBS=$LIBS
17588 if test x$gcc_no_link = xyes; then
17589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17591 { (exit 1); exit 1; }; }
17593 cat >conftest.$ac_ext <<_ACEOF
17596 cat confdefs.h >>conftest.$ac_ext
17597 cat >>conftest.$ac_ext <<_ACEOF
17598 /* end confdefs.h. */
17600 /* Override any gcc2 internal prototype to avoid an error. */
17604 /* We use char because int might match the return type of a gcc2
17605 builtin and then its argument prototype would still apply. */
17615 rm -f conftest.$ac_objext conftest$ac_exeext
17616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17617 (eval $ac_link) 2>conftest.er1
17619 grep -v '^ *+' conftest.er1 >conftest.err
17621 cat conftest.err >&5
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); } &&
17624 { ac_try='test -z "$ac_c_werror_flag"
17625 || test ! -s conftest.err'
17626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17627 (eval $ac_try) 2>&5
17629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17630 (exit $ac_status); }; } &&
17631 { ac_try='test -s conftest$ac_exeext'
17632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17633 (eval $ac_try) 2>&5
17635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17636 (exit $ac_status); }; }; then
17637 ac_cv_lib_m_powf=yes
17639 echo "$as_me: failed program was:" >&5
17640 sed 's/^/| /' conftest.$ac_ext >&5
17642 ac_cv_lib_m_powf=no
17644 rm -f conftest.err conftest.$ac_objext \
17645 conftest$ac_exeext conftest.$ac_ext
17646 LIBS=$ac_check_lib_save_LIBS
17648 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
17649 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
17650 if test $ac_cv_lib_m_powf = yes; then
17652 cat >>confdefs.h <<\_ACEOF
17653 #define HAVE_POWF 1
17658 echo "$as_me:$LINENO: checking for pow in -lm" >&5
17659 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
17660 if test "${ac_cv_lib_m_pow+set}" = set; then
17661 echo $ECHO_N "(cached) $ECHO_C" >&6
17663 ac_check_lib_save_LIBS=$LIBS
17665 if test x$gcc_no_link = xyes; then
17666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17668 { (exit 1); exit 1; }; }
17670 cat >conftest.$ac_ext <<_ACEOF
17673 cat confdefs.h >>conftest.$ac_ext
17674 cat >>conftest.$ac_ext <<_ACEOF
17675 /* end confdefs.h. */
17677 /* Override any gcc2 internal prototype to avoid an error. */
17681 /* We use char because int might match the return type of a gcc2
17682 builtin and then its argument prototype would still apply. */
17692 rm -f conftest.$ac_objext conftest$ac_exeext
17693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17694 (eval $ac_link) 2>conftest.er1
17696 grep -v '^ *+' conftest.er1 >conftest.err
17698 cat conftest.err >&5
17699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17700 (exit $ac_status); } &&
17701 { ac_try='test -z "$ac_c_werror_flag"
17702 || test ! -s conftest.err'
17703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17704 (eval $ac_try) 2>&5
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); }; } &&
17708 { ac_try='test -s conftest$ac_exeext'
17709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17710 (eval $ac_try) 2>&5
17712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713 (exit $ac_status); }; }; then
17714 ac_cv_lib_m_pow=yes
17716 echo "$as_me: failed program was:" >&5
17717 sed 's/^/| /' conftest.$ac_ext >&5
17721 rm -f conftest.err conftest.$ac_objext \
17722 conftest$ac_exeext conftest.$ac_ext
17723 LIBS=$ac_check_lib_save_LIBS
17725 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
17726 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
17727 if test $ac_cv_lib_m_pow = yes; then
17729 cat >>confdefs.h <<\_ACEOF
17735 echo "$as_me:$LINENO: checking for powl in -lm" >&5
17736 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
17737 if test "${ac_cv_lib_m_powl+set}" = set; then
17738 echo $ECHO_N "(cached) $ECHO_C" >&6
17740 ac_check_lib_save_LIBS=$LIBS
17742 if test x$gcc_no_link = xyes; then
17743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17745 { (exit 1); exit 1; }; }
17747 cat >conftest.$ac_ext <<_ACEOF
17750 cat confdefs.h >>conftest.$ac_ext
17751 cat >>conftest.$ac_ext <<_ACEOF
17752 /* end confdefs.h. */
17754 /* Override any gcc2 internal prototype to avoid an error. */
17758 /* We use char because int might match the return type of a gcc2
17759 builtin and then its argument prototype would still apply. */
17769 rm -f conftest.$ac_objext conftest$ac_exeext
17770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17771 (eval $ac_link) 2>conftest.er1
17773 grep -v '^ *+' conftest.er1 >conftest.err
17775 cat conftest.err >&5
17776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17777 (exit $ac_status); } &&
17778 { ac_try='test -z "$ac_c_werror_flag"
17779 || test ! -s conftest.err'
17780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17781 (eval $ac_try) 2>&5
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); }; } &&
17785 { ac_try='test -s conftest$ac_exeext'
17786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17787 (eval $ac_try) 2>&5
17789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17790 (exit $ac_status); }; }; then
17791 ac_cv_lib_m_powl=yes
17793 echo "$as_me: failed program was:" >&5
17794 sed 's/^/| /' conftest.$ac_ext >&5
17796 ac_cv_lib_m_powl=no
17798 rm -f conftest.err conftest.$ac_objext \
17799 conftest$ac_exeext conftest.$ac_ext
17800 LIBS=$ac_check_lib_save_LIBS
17802 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
17803 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
17804 if test $ac_cv_lib_m_powl = yes; then
17806 cat >>confdefs.h <<\_ACEOF
17807 #define HAVE_POWL 1
17812 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
17813 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
17814 if test "${ac_cv_lib_m_cpowf+set}" = set; then
17815 echo $ECHO_N "(cached) $ECHO_C" >&6
17817 ac_check_lib_save_LIBS=$LIBS
17819 if test x$gcc_no_link = xyes; then
17820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17822 { (exit 1); exit 1; }; }
17824 cat >conftest.$ac_ext <<_ACEOF
17827 cat confdefs.h >>conftest.$ac_ext
17828 cat >>conftest.$ac_ext <<_ACEOF
17829 /* end confdefs.h. */
17831 /* Override any gcc2 internal prototype to avoid an error. */
17835 /* We use char because int might match the return type of a gcc2
17836 builtin and then its argument prototype would still apply. */
17846 rm -f conftest.$ac_objext conftest$ac_exeext
17847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17848 (eval $ac_link) 2>conftest.er1
17850 grep -v '^ *+' conftest.er1 >conftest.err
17852 cat conftest.err >&5
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); } &&
17855 { ac_try='test -z "$ac_c_werror_flag"
17856 || test ! -s conftest.err'
17857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858 (eval $ac_try) 2>&5
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); }; } &&
17862 { ac_try='test -s conftest$ac_exeext'
17863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17864 (eval $ac_try) 2>&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); }; }; then
17868 ac_cv_lib_m_cpowf=yes
17870 echo "$as_me: failed program was:" >&5
17871 sed 's/^/| /' conftest.$ac_ext >&5
17873 ac_cv_lib_m_cpowf=no
17875 rm -f conftest.err conftest.$ac_objext \
17876 conftest$ac_exeext conftest.$ac_ext
17877 LIBS=$ac_check_lib_save_LIBS
17879 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
17880 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
17881 if test $ac_cv_lib_m_cpowf = yes; then
17883 cat >>confdefs.h <<\_ACEOF
17884 #define HAVE_CPOWF 1
17889 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
17890 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
17891 if test "${ac_cv_lib_m_cpow+set}" = set; then
17892 echo $ECHO_N "(cached) $ECHO_C" >&6
17894 ac_check_lib_save_LIBS=$LIBS
17896 if test x$gcc_no_link = xyes; then
17897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17899 { (exit 1); exit 1; }; }
17901 cat >conftest.$ac_ext <<_ACEOF
17904 cat confdefs.h >>conftest.$ac_ext
17905 cat >>conftest.$ac_ext <<_ACEOF
17906 /* end confdefs.h. */
17908 /* Override any gcc2 internal prototype to avoid an error. */
17912 /* We use char because int might match the return type of a gcc2
17913 builtin and then its argument prototype would still apply. */
17923 rm -f conftest.$ac_objext conftest$ac_exeext
17924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17925 (eval $ac_link) 2>conftest.er1
17927 grep -v '^ *+' conftest.er1 >conftest.err
17929 cat conftest.err >&5
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); } &&
17932 { ac_try='test -z "$ac_c_werror_flag"
17933 || test ! -s conftest.err'
17934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17935 (eval $ac_try) 2>&5
17937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17938 (exit $ac_status); }; } &&
17939 { ac_try='test -s conftest$ac_exeext'
17940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17941 (eval $ac_try) 2>&5
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); }; }; then
17945 ac_cv_lib_m_cpow=yes
17947 echo "$as_me: failed program was:" >&5
17948 sed 's/^/| /' conftest.$ac_ext >&5
17950 ac_cv_lib_m_cpow=no
17952 rm -f conftest.err conftest.$ac_objext \
17953 conftest$ac_exeext conftest.$ac_ext
17954 LIBS=$ac_check_lib_save_LIBS
17956 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
17957 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
17958 if test $ac_cv_lib_m_cpow = yes; then
17960 cat >>confdefs.h <<\_ACEOF
17961 #define HAVE_CPOW 1
17966 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
17967 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
17968 if test "${ac_cv_lib_m_cpowl+set}" = set; then
17969 echo $ECHO_N "(cached) $ECHO_C" >&6
17971 ac_check_lib_save_LIBS=$LIBS
17973 if test x$gcc_no_link = xyes; then
17974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17976 { (exit 1); exit 1; }; }
17978 cat >conftest.$ac_ext <<_ACEOF
17981 cat confdefs.h >>conftest.$ac_ext
17982 cat >>conftest.$ac_ext <<_ACEOF
17983 /* end confdefs.h. */
17985 /* Override any gcc2 internal prototype to avoid an error. */
17989 /* We use char because int might match the return type of a gcc2
17990 builtin and then its argument prototype would still apply. */
18000 rm -f conftest.$ac_objext conftest$ac_exeext
18001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18002 (eval $ac_link) 2>conftest.er1
18004 grep -v '^ *+' conftest.er1 >conftest.err
18006 cat conftest.err >&5
18007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18008 (exit $ac_status); } &&
18009 { ac_try='test -z "$ac_c_werror_flag"
18010 || test ! -s conftest.err'
18011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18012 (eval $ac_try) 2>&5
18014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015 (exit $ac_status); }; } &&
18016 { ac_try='test -s conftest$ac_exeext'
18017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18018 (eval $ac_try) 2>&5
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); }; }; then
18022 ac_cv_lib_m_cpowl=yes
18024 echo "$as_me: failed program was:" >&5
18025 sed 's/^/| /' conftest.$ac_ext >&5
18027 ac_cv_lib_m_cpowl=no
18029 rm -f conftest.err conftest.$ac_objext \
18030 conftest$ac_exeext conftest.$ac_ext
18031 LIBS=$ac_check_lib_save_LIBS
18033 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
18034 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
18035 if test $ac_cv_lib_m_cpowl = yes; then
18037 cat >>confdefs.h <<\_ACEOF
18038 #define HAVE_CPOWL 1
18043 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
18044 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
18045 if test "${ac_cv_lib_m_roundf+set}" = set; then
18046 echo $ECHO_N "(cached) $ECHO_C" >&6
18048 ac_check_lib_save_LIBS=$LIBS
18050 if test x$gcc_no_link = xyes; then
18051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18053 { (exit 1); exit 1; }; }
18055 cat >conftest.$ac_ext <<_ACEOF
18058 cat confdefs.h >>conftest.$ac_ext
18059 cat >>conftest.$ac_ext <<_ACEOF
18060 /* end confdefs.h. */
18062 /* Override any gcc2 internal prototype to avoid an error. */
18066 /* We use char because int might match the return type of a gcc2
18067 builtin and then its argument prototype would still apply. */
18077 rm -f conftest.$ac_objext conftest$ac_exeext
18078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18079 (eval $ac_link) 2>conftest.er1
18081 grep -v '^ *+' conftest.er1 >conftest.err
18083 cat conftest.err >&5
18084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18085 (exit $ac_status); } &&
18086 { ac_try='test -z "$ac_c_werror_flag"
18087 || test ! -s conftest.err'
18088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18089 (eval $ac_try) 2>&5
18091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18092 (exit $ac_status); }; } &&
18093 { ac_try='test -s conftest$ac_exeext'
18094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18095 (eval $ac_try) 2>&5
18097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18098 (exit $ac_status); }; }; then
18099 ac_cv_lib_m_roundf=yes
18101 echo "$as_me: failed program was:" >&5
18102 sed 's/^/| /' conftest.$ac_ext >&5
18104 ac_cv_lib_m_roundf=no
18106 rm -f conftest.err conftest.$ac_objext \
18107 conftest$ac_exeext conftest.$ac_ext
18108 LIBS=$ac_check_lib_save_LIBS
18110 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
18111 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
18112 if test $ac_cv_lib_m_roundf = yes; then
18114 cat >>confdefs.h <<\_ACEOF
18115 #define HAVE_ROUNDF 1
18120 echo "$as_me:$LINENO: checking for round in -lm" >&5
18121 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
18122 if test "${ac_cv_lib_m_round+set}" = set; then
18123 echo $ECHO_N "(cached) $ECHO_C" >&6
18125 ac_check_lib_save_LIBS=$LIBS
18127 if test x$gcc_no_link = xyes; then
18128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18130 { (exit 1); exit 1; }; }
18132 cat >conftest.$ac_ext <<_ACEOF
18135 cat confdefs.h >>conftest.$ac_ext
18136 cat >>conftest.$ac_ext <<_ACEOF
18137 /* end confdefs.h. */
18139 /* Override any gcc2 internal prototype to avoid an error. */
18143 /* We use char because int might match the return type of a gcc2
18144 builtin and then its argument prototype would still apply. */
18154 rm -f conftest.$ac_objext conftest$ac_exeext
18155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18156 (eval $ac_link) 2>conftest.er1
18158 grep -v '^ *+' conftest.er1 >conftest.err
18160 cat conftest.err >&5
18161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18162 (exit $ac_status); } &&
18163 { ac_try='test -z "$ac_c_werror_flag"
18164 || test ! -s conftest.err'
18165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18166 (eval $ac_try) 2>&5
18168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18169 (exit $ac_status); }; } &&
18170 { ac_try='test -s conftest$ac_exeext'
18171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18172 (eval $ac_try) 2>&5
18174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18175 (exit $ac_status); }; }; then
18176 ac_cv_lib_m_round=yes
18178 echo "$as_me: failed program was:" >&5
18179 sed 's/^/| /' conftest.$ac_ext >&5
18181 ac_cv_lib_m_round=no
18183 rm -f conftest.err conftest.$ac_objext \
18184 conftest$ac_exeext conftest.$ac_ext
18185 LIBS=$ac_check_lib_save_LIBS
18187 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
18188 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
18189 if test $ac_cv_lib_m_round = yes; then
18191 cat >>confdefs.h <<\_ACEOF
18192 #define HAVE_ROUND 1
18197 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
18198 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
18199 if test "${ac_cv_lib_m_roundl+set}" = set; then
18200 echo $ECHO_N "(cached) $ECHO_C" >&6
18202 ac_check_lib_save_LIBS=$LIBS
18204 if test x$gcc_no_link = xyes; then
18205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18207 { (exit 1); exit 1; }; }
18209 cat >conftest.$ac_ext <<_ACEOF
18212 cat confdefs.h >>conftest.$ac_ext
18213 cat >>conftest.$ac_ext <<_ACEOF
18214 /* end confdefs.h. */
18216 /* Override any gcc2 internal prototype to avoid an error. */
18220 /* We use char because int might match the return type of a gcc2
18221 builtin and then its argument prototype would still apply. */
18231 rm -f conftest.$ac_objext conftest$ac_exeext
18232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18233 (eval $ac_link) 2>conftest.er1
18235 grep -v '^ *+' conftest.er1 >conftest.err
18237 cat conftest.err >&5
18238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18239 (exit $ac_status); } &&
18240 { ac_try='test -z "$ac_c_werror_flag"
18241 || test ! -s conftest.err'
18242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18243 (eval $ac_try) 2>&5
18245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246 (exit $ac_status); }; } &&
18247 { ac_try='test -s conftest$ac_exeext'
18248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18249 (eval $ac_try) 2>&5
18251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18252 (exit $ac_status); }; }; then
18253 ac_cv_lib_m_roundl=yes
18255 echo "$as_me: failed program was:" >&5
18256 sed 's/^/| /' conftest.$ac_ext >&5
18258 ac_cv_lib_m_roundl=no
18260 rm -f conftest.err conftest.$ac_objext \
18261 conftest$ac_exeext conftest.$ac_ext
18262 LIBS=$ac_check_lib_save_LIBS
18264 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
18265 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
18266 if test $ac_cv_lib_m_roundl = yes; then
18268 cat >>confdefs.h <<\_ACEOF
18269 #define HAVE_ROUNDL 1
18274 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
18275 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
18276 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
18277 echo $ECHO_N "(cached) $ECHO_C" >&6
18279 ac_check_lib_save_LIBS=$LIBS
18281 if test x$gcc_no_link = xyes; then
18282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18284 { (exit 1); exit 1; }; }
18286 cat >conftest.$ac_ext <<_ACEOF
18289 cat confdefs.h >>conftest.$ac_ext
18290 cat >>conftest.$ac_ext <<_ACEOF
18291 /* end confdefs.h. */
18293 /* Override any gcc2 internal prototype to avoid an error. */
18297 /* We use char because int might match the return type of a gcc2
18298 builtin and then its argument prototype would still apply. */
18308 rm -f conftest.$ac_objext conftest$ac_exeext
18309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18310 (eval $ac_link) 2>conftest.er1
18312 grep -v '^ *+' conftest.er1 >conftest.err
18314 cat conftest.err >&5
18315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18316 (exit $ac_status); } &&
18317 { ac_try='test -z "$ac_c_werror_flag"
18318 || test ! -s conftest.err'
18319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18320 (eval $ac_try) 2>&5
18322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323 (exit $ac_status); }; } &&
18324 { ac_try='test -s conftest$ac_exeext'
18325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18326 (eval $ac_try) 2>&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); }; }; then
18330 ac_cv_lib_m_scalbnf=yes
18332 echo "$as_me: failed program was:" >&5
18333 sed 's/^/| /' conftest.$ac_ext >&5
18335 ac_cv_lib_m_scalbnf=no
18337 rm -f conftest.err conftest.$ac_objext \
18338 conftest$ac_exeext conftest.$ac_ext
18339 LIBS=$ac_check_lib_save_LIBS
18341 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
18342 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
18343 if test $ac_cv_lib_m_scalbnf = yes; then
18345 cat >>confdefs.h <<\_ACEOF
18346 #define HAVE_SCALBNF 1
18351 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
18352 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
18353 if test "${ac_cv_lib_m_scalbn+set}" = set; then
18354 echo $ECHO_N "(cached) $ECHO_C" >&6
18356 ac_check_lib_save_LIBS=$LIBS
18358 if test x$gcc_no_link = xyes; then
18359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18361 { (exit 1); exit 1; }; }
18363 cat >conftest.$ac_ext <<_ACEOF
18366 cat confdefs.h >>conftest.$ac_ext
18367 cat >>conftest.$ac_ext <<_ACEOF
18368 /* end confdefs.h. */
18370 /* Override any gcc2 internal prototype to avoid an error. */
18374 /* We use char because int might match the return type of a gcc2
18375 builtin and then its argument prototype would still apply. */
18385 rm -f conftest.$ac_objext conftest$ac_exeext
18386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18387 (eval $ac_link) 2>conftest.er1
18389 grep -v '^ *+' conftest.er1 >conftest.err
18391 cat conftest.err >&5
18392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18393 (exit $ac_status); } &&
18394 { ac_try='test -z "$ac_c_werror_flag"
18395 || test ! -s conftest.err'
18396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18397 (eval $ac_try) 2>&5
18399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18400 (exit $ac_status); }; } &&
18401 { ac_try='test -s conftest$ac_exeext'
18402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18403 (eval $ac_try) 2>&5
18405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18406 (exit $ac_status); }; }; then
18407 ac_cv_lib_m_scalbn=yes
18409 echo "$as_me: failed program was:" >&5
18410 sed 's/^/| /' conftest.$ac_ext >&5
18412 ac_cv_lib_m_scalbn=no
18414 rm -f conftest.err conftest.$ac_objext \
18415 conftest$ac_exeext conftest.$ac_ext
18416 LIBS=$ac_check_lib_save_LIBS
18418 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
18419 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
18420 if test $ac_cv_lib_m_scalbn = yes; then
18422 cat >>confdefs.h <<\_ACEOF
18423 #define HAVE_SCALBN 1
18428 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
18429 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
18430 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
18431 echo $ECHO_N "(cached) $ECHO_C" >&6
18433 ac_check_lib_save_LIBS=$LIBS
18435 if test x$gcc_no_link = xyes; then
18436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18438 { (exit 1); exit 1; }; }
18440 cat >conftest.$ac_ext <<_ACEOF
18443 cat confdefs.h >>conftest.$ac_ext
18444 cat >>conftest.$ac_ext <<_ACEOF
18445 /* end confdefs.h. */
18447 /* Override any gcc2 internal prototype to avoid an error. */
18451 /* We use char because int might match the return type of a gcc2
18452 builtin and then its argument prototype would still apply. */
18462 rm -f conftest.$ac_objext conftest$ac_exeext
18463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18464 (eval $ac_link) 2>conftest.er1
18466 grep -v '^ *+' conftest.er1 >conftest.err
18468 cat conftest.err >&5
18469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18470 (exit $ac_status); } &&
18471 { ac_try='test -z "$ac_c_werror_flag"
18472 || test ! -s conftest.err'
18473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18474 (eval $ac_try) 2>&5
18476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18477 (exit $ac_status); }; } &&
18478 { ac_try='test -s conftest$ac_exeext'
18479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18480 (eval $ac_try) 2>&5
18482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18483 (exit $ac_status); }; }; then
18484 ac_cv_lib_m_scalbnl=yes
18486 echo "$as_me: failed program was:" >&5
18487 sed 's/^/| /' conftest.$ac_ext >&5
18489 ac_cv_lib_m_scalbnl=no
18491 rm -f conftest.err conftest.$ac_objext \
18492 conftest$ac_exeext conftest.$ac_ext
18493 LIBS=$ac_check_lib_save_LIBS
18495 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
18496 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
18497 if test $ac_cv_lib_m_scalbnl = yes; then
18499 cat >>confdefs.h <<\_ACEOF
18500 #define HAVE_SCALBNL 1
18505 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
18506 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
18507 if test "${ac_cv_lib_m_sinf+set}" = set; then
18508 echo $ECHO_N "(cached) $ECHO_C" >&6
18510 ac_check_lib_save_LIBS=$LIBS
18512 if test x$gcc_no_link = xyes; then
18513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18515 { (exit 1); exit 1; }; }
18517 cat >conftest.$ac_ext <<_ACEOF
18520 cat confdefs.h >>conftest.$ac_ext
18521 cat >>conftest.$ac_ext <<_ACEOF
18522 /* end confdefs.h. */
18524 /* Override any gcc2 internal prototype to avoid an error. */
18528 /* We use char because int might match the return type of a gcc2
18529 builtin and then its argument prototype would still apply. */
18539 rm -f conftest.$ac_objext conftest$ac_exeext
18540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18541 (eval $ac_link) 2>conftest.er1
18543 grep -v '^ *+' conftest.er1 >conftest.err
18545 cat conftest.err >&5
18546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18547 (exit $ac_status); } &&
18548 { ac_try='test -z "$ac_c_werror_flag"
18549 || test ! -s conftest.err'
18550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18551 (eval $ac_try) 2>&5
18553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18554 (exit $ac_status); }; } &&
18555 { ac_try='test -s conftest$ac_exeext'
18556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18557 (eval $ac_try) 2>&5
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); }; }; then
18561 ac_cv_lib_m_sinf=yes
18563 echo "$as_me: failed program was:" >&5
18564 sed 's/^/| /' conftest.$ac_ext >&5
18566 ac_cv_lib_m_sinf=no
18568 rm -f conftest.err conftest.$ac_objext \
18569 conftest$ac_exeext conftest.$ac_ext
18570 LIBS=$ac_check_lib_save_LIBS
18572 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
18573 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
18574 if test $ac_cv_lib_m_sinf = yes; then
18576 cat >>confdefs.h <<\_ACEOF
18577 #define HAVE_SINF 1
18582 echo "$as_me:$LINENO: checking for sin in -lm" >&5
18583 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
18584 if test "${ac_cv_lib_m_sin+set}" = set; then
18585 echo $ECHO_N "(cached) $ECHO_C" >&6
18587 ac_check_lib_save_LIBS=$LIBS
18589 if test x$gcc_no_link = xyes; then
18590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18592 { (exit 1); exit 1; }; }
18594 cat >conftest.$ac_ext <<_ACEOF
18597 cat confdefs.h >>conftest.$ac_ext
18598 cat >>conftest.$ac_ext <<_ACEOF
18599 /* end confdefs.h. */
18601 /* Override any gcc2 internal prototype to avoid an error. */
18605 /* We use char because int might match the return type of a gcc2
18606 builtin and then its argument prototype would still apply. */
18616 rm -f conftest.$ac_objext conftest$ac_exeext
18617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18618 (eval $ac_link) 2>conftest.er1
18620 grep -v '^ *+' conftest.er1 >conftest.err
18622 cat conftest.err >&5
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); } &&
18625 { ac_try='test -z "$ac_c_werror_flag"
18626 || test ! -s conftest.err'
18627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18628 (eval $ac_try) 2>&5
18630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18631 (exit $ac_status); }; } &&
18632 { ac_try='test -s conftest$ac_exeext'
18633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18634 (eval $ac_try) 2>&5
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); }; }; then
18638 ac_cv_lib_m_sin=yes
18640 echo "$as_me: failed program was:" >&5
18641 sed 's/^/| /' conftest.$ac_ext >&5
18645 rm -f conftest.err conftest.$ac_objext \
18646 conftest$ac_exeext conftest.$ac_ext
18647 LIBS=$ac_check_lib_save_LIBS
18649 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
18650 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
18651 if test $ac_cv_lib_m_sin = yes; then
18653 cat >>confdefs.h <<\_ACEOF
18659 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
18660 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
18661 if test "${ac_cv_lib_m_sinl+set}" = set; then
18662 echo $ECHO_N "(cached) $ECHO_C" >&6
18664 ac_check_lib_save_LIBS=$LIBS
18666 if test x$gcc_no_link = xyes; then
18667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18669 { (exit 1); exit 1; }; }
18671 cat >conftest.$ac_ext <<_ACEOF
18674 cat confdefs.h >>conftest.$ac_ext
18675 cat >>conftest.$ac_ext <<_ACEOF
18676 /* end confdefs.h. */
18678 /* Override any gcc2 internal prototype to avoid an error. */
18682 /* We use char because int might match the return type of a gcc2
18683 builtin and then its argument prototype would still apply. */
18693 rm -f conftest.$ac_objext conftest$ac_exeext
18694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18695 (eval $ac_link) 2>conftest.er1
18697 grep -v '^ *+' conftest.er1 >conftest.err
18699 cat conftest.err >&5
18700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18701 (exit $ac_status); } &&
18702 { ac_try='test -z "$ac_c_werror_flag"
18703 || test ! -s conftest.err'
18704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18705 (eval $ac_try) 2>&5
18707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18708 (exit $ac_status); }; } &&
18709 { ac_try='test -s conftest$ac_exeext'
18710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18711 (eval $ac_try) 2>&5
18713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18714 (exit $ac_status); }; }; then
18715 ac_cv_lib_m_sinl=yes
18717 echo "$as_me: failed program was:" >&5
18718 sed 's/^/| /' conftest.$ac_ext >&5
18720 ac_cv_lib_m_sinl=no
18722 rm -f conftest.err conftest.$ac_objext \
18723 conftest$ac_exeext conftest.$ac_ext
18724 LIBS=$ac_check_lib_save_LIBS
18726 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
18727 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
18728 if test $ac_cv_lib_m_sinl = yes; then
18730 cat >>confdefs.h <<\_ACEOF
18731 #define HAVE_SINL 1
18736 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
18737 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
18738 if test "${ac_cv_lib_m_csinf+set}" = set; then
18739 echo $ECHO_N "(cached) $ECHO_C" >&6
18741 ac_check_lib_save_LIBS=$LIBS
18743 if test x$gcc_no_link = xyes; then
18744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18746 { (exit 1); exit 1; }; }
18748 cat >conftest.$ac_ext <<_ACEOF
18751 cat confdefs.h >>conftest.$ac_ext
18752 cat >>conftest.$ac_ext <<_ACEOF
18753 /* end confdefs.h. */
18755 /* Override any gcc2 internal prototype to avoid an error. */
18759 /* We use char because int might match the return type of a gcc2
18760 builtin and then its argument prototype would still apply. */
18770 rm -f conftest.$ac_objext conftest$ac_exeext
18771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18772 (eval $ac_link) 2>conftest.er1
18774 grep -v '^ *+' conftest.er1 >conftest.err
18776 cat conftest.err >&5
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); } &&
18779 { ac_try='test -z "$ac_c_werror_flag"
18780 || test ! -s conftest.err'
18781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18782 (eval $ac_try) 2>&5
18784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18785 (exit $ac_status); }; } &&
18786 { ac_try='test -s conftest$ac_exeext'
18787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18788 (eval $ac_try) 2>&5
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); }; }; then
18792 ac_cv_lib_m_csinf=yes
18794 echo "$as_me: failed program was:" >&5
18795 sed 's/^/| /' conftest.$ac_ext >&5
18797 ac_cv_lib_m_csinf=no
18799 rm -f conftest.err conftest.$ac_objext \
18800 conftest$ac_exeext conftest.$ac_ext
18801 LIBS=$ac_check_lib_save_LIBS
18803 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
18804 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
18805 if test $ac_cv_lib_m_csinf = yes; then
18807 cat >>confdefs.h <<\_ACEOF
18808 #define HAVE_CSINF 1
18813 echo "$as_me:$LINENO: checking for csin in -lm" >&5
18814 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
18815 if test "${ac_cv_lib_m_csin+set}" = set; then
18816 echo $ECHO_N "(cached) $ECHO_C" >&6
18818 ac_check_lib_save_LIBS=$LIBS
18820 if test x$gcc_no_link = xyes; then
18821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18823 { (exit 1); exit 1; }; }
18825 cat >conftest.$ac_ext <<_ACEOF
18828 cat confdefs.h >>conftest.$ac_ext
18829 cat >>conftest.$ac_ext <<_ACEOF
18830 /* end confdefs.h. */
18832 /* Override any gcc2 internal prototype to avoid an error. */
18836 /* We use char because int might match the return type of a gcc2
18837 builtin and then its argument prototype would still apply. */
18847 rm -f conftest.$ac_objext conftest$ac_exeext
18848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18849 (eval $ac_link) 2>conftest.er1
18851 grep -v '^ *+' conftest.er1 >conftest.err
18853 cat conftest.err >&5
18854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18855 (exit $ac_status); } &&
18856 { ac_try='test -z "$ac_c_werror_flag"
18857 || test ! -s conftest.err'
18858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18859 (eval $ac_try) 2>&5
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); }; } &&
18863 { ac_try='test -s conftest$ac_exeext'
18864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18865 (eval $ac_try) 2>&5
18867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18868 (exit $ac_status); }; }; then
18869 ac_cv_lib_m_csin=yes
18871 echo "$as_me: failed program was:" >&5
18872 sed 's/^/| /' conftest.$ac_ext >&5
18874 ac_cv_lib_m_csin=no
18876 rm -f conftest.err conftest.$ac_objext \
18877 conftest$ac_exeext conftest.$ac_ext
18878 LIBS=$ac_check_lib_save_LIBS
18880 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
18881 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
18882 if test $ac_cv_lib_m_csin = yes; then
18884 cat >>confdefs.h <<\_ACEOF
18885 #define HAVE_CSIN 1
18890 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
18891 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
18892 if test "${ac_cv_lib_m_csinl+set}" = set; then
18893 echo $ECHO_N "(cached) $ECHO_C" >&6
18895 ac_check_lib_save_LIBS=$LIBS
18897 if test x$gcc_no_link = xyes; then
18898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18900 { (exit 1); exit 1; }; }
18902 cat >conftest.$ac_ext <<_ACEOF
18905 cat confdefs.h >>conftest.$ac_ext
18906 cat >>conftest.$ac_ext <<_ACEOF
18907 /* end confdefs.h. */
18909 /* Override any gcc2 internal prototype to avoid an error. */
18913 /* We use char because int might match the return type of a gcc2
18914 builtin and then its argument prototype would still apply. */
18924 rm -f conftest.$ac_objext conftest$ac_exeext
18925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18926 (eval $ac_link) 2>conftest.er1
18928 grep -v '^ *+' conftest.er1 >conftest.err
18930 cat conftest.err >&5
18931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18932 (exit $ac_status); } &&
18933 { ac_try='test -z "$ac_c_werror_flag"
18934 || test ! -s conftest.err'
18935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18936 (eval $ac_try) 2>&5
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); }; } &&
18940 { ac_try='test -s conftest$ac_exeext'
18941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18942 (eval $ac_try) 2>&5
18944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18945 (exit $ac_status); }; }; then
18946 ac_cv_lib_m_csinl=yes
18948 echo "$as_me: failed program was:" >&5
18949 sed 's/^/| /' conftest.$ac_ext >&5
18951 ac_cv_lib_m_csinl=no
18953 rm -f conftest.err conftest.$ac_objext \
18954 conftest$ac_exeext conftest.$ac_ext
18955 LIBS=$ac_check_lib_save_LIBS
18957 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
18958 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
18959 if test $ac_cv_lib_m_csinl = yes; then
18961 cat >>confdefs.h <<\_ACEOF
18962 #define HAVE_CSINL 1
18967 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
18968 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
18969 if test "${ac_cv_lib_m_sinhf+set}" = set; then
18970 echo $ECHO_N "(cached) $ECHO_C" >&6
18972 ac_check_lib_save_LIBS=$LIBS
18974 if test x$gcc_no_link = xyes; then
18975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18977 { (exit 1); exit 1; }; }
18979 cat >conftest.$ac_ext <<_ACEOF
18982 cat confdefs.h >>conftest.$ac_ext
18983 cat >>conftest.$ac_ext <<_ACEOF
18984 /* end confdefs.h. */
18986 /* Override any gcc2 internal prototype to avoid an error. */
18990 /* We use char because int might match the return type of a gcc2
18991 builtin and then its argument prototype would still apply. */
19001 rm -f conftest.$ac_objext conftest$ac_exeext
19002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19003 (eval $ac_link) 2>conftest.er1
19005 grep -v '^ *+' conftest.er1 >conftest.err
19007 cat conftest.err >&5
19008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19009 (exit $ac_status); } &&
19010 { ac_try='test -z "$ac_c_werror_flag"
19011 || test ! -s conftest.err'
19012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19013 (eval $ac_try) 2>&5
19015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19016 (exit $ac_status); }; } &&
19017 { ac_try='test -s conftest$ac_exeext'
19018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19019 (eval $ac_try) 2>&5
19021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19022 (exit $ac_status); }; }; then
19023 ac_cv_lib_m_sinhf=yes
19025 echo "$as_me: failed program was:" >&5
19026 sed 's/^/| /' conftest.$ac_ext >&5
19028 ac_cv_lib_m_sinhf=no
19030 rm -f conftest.err conftest.$ac_objext \
19031 conftest$ac_exeext conftest.$ac_ext
19032 LIBS=$ac_check_lib_save_LIBS
19034 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
19035 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
19036 if test $ac_cv_lib_m_sinhf = yes; then
19038 cat >>confdefs.h <<\_ACEOF
19039 #define HAVE_SINHF 1
19044 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
19045 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
19046 if test "${ac_cv_lib_m_sinh+set}" = set; then
19047 echo $ECHO_N "(cached) $ECHO_C" >&6
19049 ac_check_lib_save_LIBS=$LIBS
19051 if test x$gcc_no_link = xyes; then
19052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19054 { (exit 1); exit 1; }; }
19056 cat >conftest.$ac_ext <<_ACEOF
19059 cat confdefs.h >>conftest.$ac_ext
19060 cat >>conftest.$ac_ext <<_ACEOF
19061 /* end confdefs.h. */
19063 /* Override any gcc2 internal prototype to avoid an error. */
19067 /* We use char because int might match the return type of a gcc2
19068 builtin and then its argument prototype would still apply. */
19078 rm -f conftest.$ac_objext conftest$ac_exeext
19079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19080 (eval $ac_link) 2>conftest.er1
19082 grep -v '^ *+' conftest.er1 >conftest.err
19084 cat conftest.err >&5
19085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19086 (exit $ac_status); } &&
19087 { ac_try='test -z "$ac_c_werror_flag"
19088 || test ! -s conftest.err'
19089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19090 (eval $ac_try) 2>&5
19092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19093 (exit $ac_status); }; } &&
19094 { ac_try='test -s conftest$ac_exeext'
19095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19096 (eval $ac_try) 2>&5
19098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19099 (exit $ac_status); }; }; then
19100 ac_cv_lib_m_sinh=yes
19102 echo "$as_me: failed program was:" >&5
19103 sed 's/^/| /' conftest.$ac_ext >&5
19105 ac_cv_lib_m_sinh=no
19107 rm -f conftest.err conftest.$ac_objext \
19108 conftest$ac_exeext conftest.$ac_ext
19109 LIBS=$ac_check_lib_save_LIBS
19111 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
19112 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
19113 if test $ac_cv_lib_m_sinh = yes; then
19115 cat >>confdefs.h <<\_ACEOF
19116 #define HAVE_SINH 1
19121 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
19122 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
19123 if test "${ac_cv_lib_m_sinhl+set}" = set; then
19124 echo $ECHO_N "(cached) $ECHO_C" >&6
19126 ac_check_lib_save_LIBS=$LIBS
19128 if test x$gcc_no_link = xyes; then
19129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19131 { (exit 1); exit 1; }; }
19133 cat >conftest.$ac_ext <<_ACEOF
19136 cat confdefs.h >>conftest.$ac_ext
19137 cat >>conftest.$ac_ext <<_ACEOF
19138 /* end confdefs.h. */
19140 /* Override any gcc2 internal prototype to avoid an error. */
19144 /* We use char because int might match the return type of a gcc2
19145 builtin and then its argument prototype would still apply. */
19155 rm -f conftest.$ac_objext conftest$ac_exeext
19156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19157 (eval $ac_link) 2>conftest.er1
19159 grep -v '^ *+' conftest.er1 >conftest.err
19161 cat conftest.err >&5
19162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19163 (exit $ac_status); } &&
19164 { ac_try='test -z "$ac_c_werror_flag"
19165 || test ! -s conftest.err'
19166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19167 (eval $ac_try) 2>&5
19169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19170 (exit $ac_status); }; } &&
19171 { ac_try='test -s conftest$ac_exeext'
19172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19173 (eval $ac_try) 2>&5
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); }; }; then
19177 ac_cv_lib_m_sinhl=yes
19179 echo "$as_me: failed program was:" >&5
19180 sed 's/^/| /' conftest.$ac_ext >&5
19182 ac_cv_lib_m_sinhl=no
19184 rm -f conftest.err conftest.$ac_objext \
19185 conftest$ac_exeext conftest.$ac_ext
19186 LIBS=$ac_check_lib_save_LIBS
19188 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
19189 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
19190 if test $ac_cv_lib_m_sinhl = yes; then
19192 cat >>confdefs.h <<\_ACEOF
19193 #define HAVE_SINHL 1
19198 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
19199 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
19200 if test "${ac_cv_lib_m_csinhf+set}" = set; then
19201 echo $ECHO_N "(cached) $ECHO_C" >&6
19203 ac_check_lib_save_LIBS=$LIBS
19205 if test x$gcc_no_link = xyes; then
19206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19208 { (exit 1); exit 1; }; }
19210 cat >conftest.$ac_ext <<_ACEOF
19213 cat confdefs.h >>conftest.$ac_ext
19214 cat >>conftest.$ac_ext <<_ACEOF
19215 /* end confdefs.h. */
19217 /* Override any gcc2 internal prototype to avoid an error. */
19221 /* We use char because int might match the return type of a gcc2
19222 builtin and then its argument prototype would still apply. */
19232 rm -f conftest.$ac_objext conftest$ac_exeext
19233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19234 (eval $ac_link) 2>conftest.er1
19236 grep -v '^ *+' conftest.er1 >conftest.err
19238 cat conftest.err >&5
19239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19240 (exit $ac_status); } &&
19241 { ac_try='test -z "$ac_c_werror_flag"
19242 || test ! -s conftest.err'
19243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19244 (eval $ac_try) 2>&5
19246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19247 (exit $ac_status); }; } &&
19248 { ac_try='test -s conftest$ac_exeext'
19249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19250 (eval $ac_try) 2>&5
19252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19253 (exit $ac_status); }; }; then
19254 ac_cv_lib_m_csinhf=yes
19256 echo "$as_me: failed program was:" >&5
19257 sed 's/^/| /' conftest.$ac_ext >&5
19259 ac_cv_lib_m_csinhf=no
19261 rm -f conftest.err conftest.$ac_objext \
19262 conftest$ac_exeext conftest.$ac_ext
19263 LIBS=$ac_check_lib_save_LIBS
19265 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
19266 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
19267 if test $ac_cv_lib_m_csinhf = yes; then
19269 cat >>confdefs.h <<\_ACEOF
19270 #define HAVE_CSINHF 1
19275 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
19276 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
19277 if test "${ac_cv_lib_m_csinh+set}" = set; then
19278 echo $ECHO_N "(cached) $ECHO_C" >&6
19280 ac_check_lib_save_LIBS=$LIBS
19282 if test x$gcc_no_link = xyes; then
19283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19285 { (exit 1); exit 1; }; }
19287 cat >conftest.$ac_ext <<_ACEOF
19290 cat confdefs.h >>conftest.$ac_ext
19291 cat >>conftest.$ac_ext <<_ACEOF
19292 /* end confdefs.h. */
19294 /* Override any gcc2 internal prototype to avoid an error. */
19298 /* We use char because int might match the return type of a gcc2
19299 builtin and then its argument prototype would still apply. */
19309 rm -f conftest.$ac_objext conftest$ac_exeext
19310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19311 (eval $ac_link) 2>conftest.er1
19313 grep -v '^ *+' conftest.er1 >conftest.err
19315 cat conftest.err >&5
19316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19317 (exit $ac_status); } &&
19318 { ac_try='test -z "$ac_c_werror_flag"
19319 || test ! -s conftest.err'
19320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19321 (eval $ac_try) 2>&5
19323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19324 (exit $ac_status); }; } &&
19325 { ac_try='test -s conftest$ac_exeext'
19326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19327 (eval $ac_try) 2>&5
19329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19330 (exit $ac_status); }; }; then
19331 ac_cv_lib_m_csinh=yes
19333 echo "$as_me: failed program was:" >&5
19334 sed 's/^/| /' conftest.$ac_ext >&5
19336 ac_cv_lib_m_csinh=no
19338 rm -f conftest.err conftest.$ac_objext \
19339 conftest$ac_exeext conftest.$ac_ext
19340 LIBS=$ac_check_lib_save_LIBS
19342 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
19343 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
19344 if test $ac_cv_lib_m_csinh = yes; then
19346 cat >>confdefs.h <<\_ACEOF
19347 #define HAVE_CSINH 1
19352 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
19353 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
19354 if test "${ac_cv_lib_m_csinhl+set}" = set; then
19355 echo $ECHO_N "(cached) $ECHO_C" >&6
19357 ac_check_lib_save_LIBS=$LIBS
19359 if test x$gcc_no_link = xyes; then
19360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19362 { (exit 1); exit 1; }; }
19364 cat >conftest.$ac_ext <<_ACEOF
19367 cat confdefs.h >>conftest.$ac_ext
19368 cat >>conftest.$ac_ext <<_ACEOF
19369 /* end confdefs.h. */
19371 /* Override any gcc2 internal prototype to avoid an error. */
19375 /* We use char because int might match the return type of a gcc2
19376 builtin and then its argument prototype would still apply. */
19386 rm -f conftest.$ac_objext conftest$ac_exeext
19387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19388 (eval $ac_link) 2>conftest.er1
19390 grep -v '^ *+' conftest.er1 >conftest.err
19392 cat conftest.err >&5
19393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); } &&
19395 { ac_try='test -z "$ac_c_werror_flag"
19396 || test ! -s conftest.err'
19397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19398 (eval $ac_try) 2>&5
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); }; } &&
19402 { ac_try='test -s conftest$ac_exeext'
19403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19404 (eval $ac_try) 2>&5
19406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19407 (exit $ac_status); }; }; then
19408 ac_cv_lib_m_csinhl=yes
19410 echo "$as_me: failed program was:" >&5
19411 sed 's/^/| /' conftest.$ac_ext >&5
19413 ac_cv_lib_m_csinhl=no
19415 rm -f conftest.err conftest.$ac_objext \
19416 conftest$ac_exeext conftest.$ac_ext
19417 LIBS=$ac_check_lib_save_LIBS
19419 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
19420 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
19421 if test $ac_cv_lib_m_csinhl = yes; then
19423 cat >>confdefs.h <<\_ACEOF
19424 #define HAVE_CSINHL 1
19429 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
19430 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
19431 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
19432 echo $ECHO_N "(cached) $ECHO_C" >&6
19434 ac_check_lib_save_LIBS=$LIBS
19436 if test x$gcc_no_link = xyes; then
19437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19439 { (exit 1); exit 1; }; }
19441 cat >conftest.$ac_ext <<_ACEOF
19444 cat confdefs.h >>conftest.$ac_ext
19445 cat >>conftest.$ac_ext <<_ACEOF
19446 /* end confdefs.h. */
19448 /* Override any gcc2 internal prototype to avoid an error. */
19452 /* We use char because int might match the return type of a gcc2
19453 builtin and then its argument prototype would still apply. */
19463 rm -f conftest.$ac_objext conftest$ac_exeext
19464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19465 (eval $ac_link) 2>conftest.er1
19467 grep -v '^ *+' conftest.er1 >conftest.err
19469 cat conftest.err >&5
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); } &&
19472 { ac_try='test -z "$ac_c_werror_flag"
19473 || test ! -s conftest.err'
19474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19475 (eval $ac_try) 2>&5
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); }; } &&
19479 { ac_try='test -s conftest$ac_exeext'
19480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19481 (eval $ac_try) 2>&5
19483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484 (exit $ac_status); }; }; then
19485 ac_cv_lib_m_sqrtf=yes
19487 echo "$as_me: failed program was:" >&5
19488 sed 's/^/| /' conftest.$ac_ext >&5
19490 ac_cv_lib_m_sqrtf=no
19492 rm -f conftest.err conftest.$ac_objext \
19493 conftest$ac_exeext conftest.$ac_ext
19494 LIBS=$ac_check_lib_save_LIBS
19496 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
19497 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
19498 if test $ac_cv_lib_m_sqrtf = yes; then
19500 cat >>confdefs.h <<\_ACEOF
19501 #define HAVE_SQRTF 1
19506 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
19507 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
19508 if test "${ac_cv_lib_m_sqrt+set}" = set; then
19509 echo $ECHO_N "(cached) $ECHO_C" >&6
19511 ac_check_lib_save_LIBS=$LIBS
19513 if test x$gcc_no_link = xyes; then
19514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19516 { (exit 1); exit 1; }; }
19518 cat >conftest.$ac_ext <<_ACEOF
19521 cat confdefs.h >>conftest.$ac_ext
19522 cat >>conftest.$ac_ext <<_ACEOF
19523 /* end confdefs.h. */
19525 /* Override any gcc2 internal prototype to avoid an error. */
19529 /* We use char because int might match the return type of a gcc2
19530 builtin and then its argument prototype would still apply. */
19540 rm -f conftest.$ac_objext conftest$ac_exeext
19541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19542 (eval $ac_link) 2>conftest.er1
19544 grep -v '^ *+' conftest.er1 >conftest.err
19546 cat conftest.err >&5
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); } &&
19549 { ac_try='test -z "$ac_c_werror_flag"
19550 || test ! -s conftest.err'
19551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19552 (eval $ac_try) 2>&5
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); }; } &&
19556 { ac_try='test -s conftest$ac_exeext'
19557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19558 (eval $ac_try) 2>&5
19560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19561 (exit $ac_status); }; }; then
19562 ac_cv_lib_m_sqrt=yes
19564 echo "$as_me: failed program was:" >&5
19565 sed 's/^/| /' conftest.$ac_ext >&5
19567 ac_cv_lib_m_sqrt=no
19569 rm -f conftest.err conftest.$ac_objext \
19570 conftest$ac_exeext conftest.$ac_ext
19571 LIBS=$ac_check_lib_save_LIBS
19573 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
19574 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
19575 if test $ac_cv_lib_m_sqrt = yes; then
19577 cat >>confdefs.h <<\_ACEOF
19578 #define HAVE_SQRT 1
19583 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
19584 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
19585 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
19586 echo $ECHO_N "(cached) $ECHO_C" >&6
19588 ac_check_lib_save_LIBS=$LIBS
19590 if test x$gcc_no_link = xyes; then
19591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19593 { (exit 1); exit 1; }; }
19595 cat >conftest.$ac_ext <<_ACEOF
19598 cat confdefs.h >>conftest.$ac_ext
19599 cat >>conftest.$ac_ext <<_ACEOF
19600 /* end confdefs.h. */
19602 /* Override any gcc2 internal prototype to avoid an error. */
19606 /* We use char because int might match the return type of a gcc2
19607 builtin and then its argument prototype would still apply. */
19617 rm -f conftest.$ac_objext conftest$ac_exeext
19618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19619 (eval $ac_link) 2>conftest.er1
19621 grep -v '^ *+' conftest.er1 >conftest.err
19623 cat conftest.err >&5
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); } &&
19626 { ac_try='test -z "$ac_c_werror_flag"
19627 || test ! -s conftest.err'
19628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19629 (eval $ac_try) 2>&5
19631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19632 (exit $ac_status); }; } &&
19633 { ac_try='test -s conftest$ac_exeext'
19634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19635 (eval $ac_try) 2>&5
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); }; }; then
19639 ac_cv_lib_m_sqrtl=yes
19641 echo "$as_me: failed program was:" >&5
19642 sed 's/^/| /' conftest.$ac_ext >&5
19644 ac_cv_lib_m_sqrtl=no
19646 rm -f conftest.err conftest.$ac_objext \
19647 conftest$ac_exeext conftest.$ac_ext
19648 LIBS=$ac_check_lib_save_LIBS
19650 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
19651 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
19652 if test $ac_cv_lib_m_sqrtl = yes; then
19654 cat >>confdefs.h <<\_ACEOF
19655 #define HAVE_SQRTL 1
19660 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
19661 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
19662 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
19663 echo $ECHO_N "(cached) $ECHO_C" >&6
19665 ac_check_lib_save_LIBS=$LIBS
19667 if test x$gcc_no_link = xyes; then
19668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19670 { (exit 1); exit 1; }; }
19672 cat >conftest.$ac_ext <<_ACEOF
19675 cat confdefs.h >>conftest.$ac_ext
19676 cat >>conftest.$ac_ext <<_ACEOF
19677 /* end confdefs.h. */
19679 /* Override any gcc2 internal prototype to avoid an error. */
19683 /* We use char because int might match the return type of a gcc2
19684 builtin and then its argument prototype would still apply. */
19694 rm -f conftest.$ac_objext conftest$ac_exeext
19695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19696 (eval $ac_link) 2>conftest.er1
19698 grep -v '^ *+' conftest.er1 >conftest.err
19700 cat conftest.err >&5
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); } &&
19703 { ac_try='test -z "$ac_c_werror_flag"
19704 || test ! -s conftest.err'
19705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19706 (eval $ac_try) 2>&5
19708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19709 (exit $ac_status); }; } &&
19710 { ac_try='test -s conftest$ac_exeext'
19711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19712 (eval $ac_try) 2>&5
19714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19715 (exit $ac_status); }; }; then
19716 ac_cv_lib_m_csqrtf=yes
19718 echo "$as_me: failed program was:" >&5
19719 sed 's/^/| /' conftest.$ac_ext >&5
19721 ac_cv_lib_m_csqrtf=no
19723 rm -f conftest.err conftest.$ac_objext \
19724 conftest$ac_exeext conftest.$ac_ext
19725 LIBS=$ac_check_lib_save_LIBS
19727 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
19728 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
19729 if test $ac_cv_lib_m_csqrtf = yes; then
19731 cat >>confdefs.h <<\_ACEOF
19732 #define HAVE_CSQRTF 1
19737 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
19738 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
19739 if test "${ac_cv_lib_m_csqrt+set}" = set; then
19740 echo $ECHO_N "(cached) $ECHO_C" >&6
19742 ac_check_lib_save_LIBS=$LIBS
19744 if test x$gcc_no_link = xyes; then
19745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19747 { (exit 1); exit 1; }; }
19749 cat >conftest.$ac_ext <<_ACEOF
19752 cat confdefs.h >>conftest.$ac_ext
19753 cat >>conftest.$ac_ext <<_ACEOF
19754 /* end confdefs.h. */
19756 /* Override any gcc2 internal prototype to avoid an error. */
19760 /* We use char because int might match the return type of a gcc2
19761 builtin and then its argument prototype would still apply. */
19771 rm -f conftest.$ac_objext conftest$ac_exeext
19772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19773 (eval $ac_link) 2>conftest.er1
19775 grep -v '^ *+' conftest.er1 >conftest.err
19777 cat conftest.err >&5
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); } &&
19780 { ac_try='test -z "$ac_c_werror_flag"
19781 || test ! -s conftest.err'
19782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19783 (eval $ac_try) 2>&5
19785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786 (exit $ac_status); }; } &&
19787 { ac_try='test -s conftest$ac_exeext'
19788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19789 (eval $ac_try) 2>&5
19791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19792 (exit $ac_status); }; }; then
19793 ac_cv_lib_m_csqrt=yes
19795 echo "$as_me: failed program was:" >&5
19796 sed 's/^/| /' conftest.$ac_ext >&5
19798 ac_cv_lib_m_csqrt=no
19800 rm -f conftest.err conftest.$ac_objext \
19801 conftest$ac_exeext conftest.$ac_ext
19802 LIBS=$ac_check_lib_save_LIBS
19804 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
19805 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
19806 if test $ac_cv_lib_m_csqrt = yes; then
19808 cat >>confdefs.h <<\_ACEOF
19809 #define HAVE_CSQRT 1
19814 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
19815 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
19816 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
19817 echo $ECHO_N "(cached) $ECHO_C" >&6
19819 ac_check_lib_save_LIBS=$LIBS
19821 if test x$gcc_no_link = xyes; then
19822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19824 { (exit 1); exit 1; }; }
19826 cat >conftest.$ac_ext <<_ACEOF
19829 cat confdefs.h >>conftest.$ac_ext
19830 cat >>conftest.$ac_ext <<_ACEOF
19831 /* end confdefs.h. */
19833 /* Override any gcc2 internal prototype to avoid an error. */
19837 /* We use char because int might match the return type of a gcc2
19838 builtin and then its argument prototype would still apply. */
19848 rm -f conftest.$ac_objext conftest$ac_exeext
19849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19850 (eval $ac_link) 2>conftest.er1
19852 grep -v '^ *+' conftest.er1 >conftest.err
19854 cat conftest.err >&5
19855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19856 (exit $ac_status); } &&
19857 { ac_try='test -z "$ac_c_werror_flag"
19858 || test ! -s conftest.err'
19859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19860 (eval $ac_try) 2>&5
19862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19863 (exit $ac_status); }; } &&
19864 { ac_try='test -s conftest$ac_exeext'
19865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19866 (eval $ac_try) 2>&5
19868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19869 (exit $ac_status); }; }; then
19870 ac_cv_lib_m_csqrtl=yes
19872 echo "$as_me: failed program was:" >&5
19873 sed 's/^/| /' conftest.$ac_ext >&5
19875 ac_cv_lib_m_csqrtl=no
19877 rm -f conftest.err conftest.$ac_objext \
19878 conftest$ac_exeext conftest.$ac_ext
19879 LIBS=$ac_check_lib_save_LIBS
19881 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
19882 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
19883 if test $ac_cv_lib_m_csqrtl = yes; then
19885 cat >>confdefs.h <<\_ACEOF
19886 #define HAVE_CSQRTL 1
19891 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
19892 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
19893 if test "${ac_cv_lib_m_tanf+set}" = set; then
19894 echo $ECHO_N "(cached) $ECHO_C" >&6
19896 ac_check_lib_save_LIBS=$LIBS
19898 if test x$gcc_no_link = xyes; then
19899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19901 { (exit 1); exit 1; }; }
19903 cat >conftest.$ac_ext <<_ACEOF
19906 cat confdefs.h >>conftest.$ac_ext
19907 cat >>conftest.$ac_ext <<_ACEOF
19908 /* end confdefs.h. */
19910 /* Override any gcc2 internal prototype to avoid an error. */
19914 /* We use char because int might match the return type of a gcc2
19915 builtin and then its argument prototype would still apply. */
19925 rm -f conftest.$ac_objext conftest$ac_exeext
19926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19927 (eval $ac_link) 2>conftest.er1
19929 grep -v '^ *+' conftest.er1 >conftest.err
19931 cat conftest.err >&5
19932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19933 (exit $ac_status); } &&
19934 { ac_try='test -z "$ac_c_werror_flag"
19935 || test ! -s conftest.err'
19936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19937 (eval $ac_try) 2>&5
19939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19940 (exit $ac_status); }; } &&
19941 { ac_try='test -s conftest$ac_exeext'
19942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19943 (eval $ac_try) 2>&5
19945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19946 (exit $ac_status); }; }; then
19947 ac_cv_lib_m_tanf=yes
19949 echo "$as_me: failed program was:" >&5
19950 sed 's/^/| /' conftest.$ac_ext >&5
19952 ac_cv_lib_m_tanf=no
19954 rm -f conftest.err conftest.$ac_objext \
19955 conftest$ac_exeext conftest.$ac_ext
19956 LIBS=$ac_check_lib_save_LIBS
19958 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
19959 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
19960 if test $ac_cv_lib_m_tanf = yes; then
19962 cat >>confdefs.h <<\_ACEOF
19963 #define HAVE_TANF 1
19968 echo "$as_me:$LINENO: checking for tan in -lm" >&5
19969 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
19970 if test "${ac_cv_lib_m_tan+set}" = set; then
19971 echo $ECHO_N "(cached) $ECHO_C" >&6
19973 ac_check_lib_save_LIBS=$LIBS
19975 if test x$gcc_no_link = xyes; then
19976 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19978 { (exit 1); exit 1; }; }
19980 cat >conftest.$ac_ext <<_ACEOF
19983 cat confdefs.h >>conftest.$ac_ext
19984 cat >>conftest.$ac_ext <<_ACEOF
19985 /* end confdefs.h. */
19987 /* Override any gcc2 internal prototype to avoid an error. */
19991 /* We use char because int might match the return type of a gcc2
19992 builtin and then its argument prototype would still apply. */
20002 rm -f conftest.$ac_objext conftest$ac_exeext
20003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20004 (eval $ac_link) 2>conftest.er1
20006 grep -v '^ *+' conftest.er1 >conftest.err
20008 cat conftest.err >&5
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); } &&
20011 { ac_try='test -z "$ac_c_werror_flag"
20012 || test ! -s conftest.err'
20013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20014 (eval $ac_try) 2>&5
20016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20017 (exit $ac_status); }; } &&
20018 { ac_try='test -s conftest$ac_exeext'
20019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20020 (eval $ac_try) 2>&5
20022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20023 (exit $ac_status); }; }; then
20024 ac_cv_lib_m_tan=yes
20026 echo "$as_me: failed program was:" >&5
20027 sed 's/^/| /' conftest.$ac_ext >&5
20031 rm -f conftest.err conftest.$ac_objext \
20032 conftest$ac_exeext conftest.$ac_ext
20033 LIBS=$ac_check_lib_save_LIBS
20035 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
20036 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
20037 if test $ac_cv_lib_m_tan = yes; then
20039 cat >>confdefs.h <<\_ACEOF
20045 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
20046 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
20047 if test "${ac_cv_lib_m_tanl+set}" = set; then
20048 echo $ECHO_N "(cached) $ECHO_C" >&6
20050 ac_check_lib_save_LIBS=$LIBS
20052 if test x$gcc_no_link = xyes; then
20053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20055 { (exit 1); exit 1; }; }
20057 cat >conftest.$ac_ext <<_ACEOF
20060 cat confdefs.h >>conftest.$ac_ext
20061 cat >>conftest.$ac_ext <<_ACEOF
20062 /* end confdefs.h. */
20064 /* Override any gcc2 internal prototype to avoid an error. */
20068 /* We use char because int might match the return type of a gcc2
20069 builtin and then its argument prototype would still apply. */
20079 rm -f conftest.$ac_objext conftest$ac_exeext
20080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20081 (eval $ac_link) 2>conftest.er1
20083 grep -v '^ *+' conftest.er1 >conftest.err
20085 cat conftest.err >&5
20086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20087 (exit $ac_status); } &&
20088 { ac_try='test -z "$ac_c_werror_flag"
20089 || test ! -s conftest.err'
20090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20091 (eval $ac_try) 2>&5
20093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20094 (exit $ac_status); }; } &&
20095 { ac_try='test -s conftest$ac_exeext'
20096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20097 (eval $ac_try) 2>&5
20099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); }; }; then
20101 ac_cv_lib_m_tanl=yes
20103 echo "$as_me: failed program was:" >&5
20104 sed 's/^/| /' conftest.$ac_ext >&5
20106 ac_cv_lib_m_tanl=no
20108 rm -f conftest.err conftest.$ac_objext \
20109 conftest$ac_exeext conftest.$ac_ext
20110 LIBS=$ac_check_lib_save_LIBS
20112 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
20113 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
20114 if test $ac_cv_lib_m_tanl = yes; then
20116 cat >>confdefs.h <<\_ACEOF
20117 #define HAVE_TANL 1
20122 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
20123 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
20124 if test "${ac_cv_lib_m_ctanf+set}" = set; then
20125 echo $ECHO_N "(cached) $ECHO_C" >&6
20127 ac_check_lib_save_LIBS=$LIBS
20129 if test x$gcc_no_link = xyes; then
20130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20132 { (exit 1); exit 1; }; }
20134 cat >conftest.$ac_ext <<_ACEOF
20137 cat confdefs.h >>conftest.$ac_ext
20138 cat >>conftest.$ac_ext <<_ACEOF
20139 /* end confdefs.h. */
20141 /* Override any gcc2 internal prototype to avoid an error. */
20145 /* We use char because int might match the return type of a gcc2
20146 builtin and then its argument prototype would still apply. */
20156 rm -f conftest.$ac_objext conftest$ac_exeext
20157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20158 (eval $ac_link) 2>conftest.er1
20160 grep -v '^ *+' conftest.er1 >conftest.err
20162 cat conftest.err >&5
20163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20164 (exit $ac_status); } &&
20165 { ac_try='test -z "$ac_c_werror_flag"
20166 || test ! -s conftest.err'
20167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20168 (eval $ac_try) 2>&5
20170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20171 (exit $ac_status); }; } &&
20172 { ac_try='test -s conftest$ac_exeext'
20173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20174 (eval $ac_try) 2>&5
20176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20177 (exit $ac_status); }; }; then
20178 ac_cv_lib_m_ctanf=yes
20180 echo "$as_me: failed program was:" >&5
20181 sed 's/^/| /' conftest.$ac_ext >&5
20183 ac_cv_lib_m_ctanf=no
20185 rm -f conftest.err conftest.$ac_objext \
20186 conftest$ac_exeext conftest.$ac_ext
20187 LIBS=$ac_check_lib_save_LIBS
20189 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
20190 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
20191 if test $ac_cv_lib_m_ctanf = yes; then
20193 cat >>confdefs.h <<\_ACEOF
20194 #define HAVE_CTANF 1
20199 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
20200 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
20201 if test "${ac_cv_lib_m_ctan+set}" = set; then
20202 echo $ECHO_N "(cached) $ECHO_C" >&6
20204 ac_check_lib_save_LIBS=$LIBS
20206 if test x$gcc_no_link = xyes; then
20207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20209 { (exit 1); exit 1; }; }
20211 cat >conftest.$ac_ext <<_ACEOF
20214 cat confdefs.h >>conftest.$ac_ext
20215 cat >>conftest.$ac_ext <<_ACEOF
20216 /* end confdefs.h. */
20218 /* Override any gcc2 internal prototype to avoid an error. */
20222 /* We use char because int might match the return type of a gcc2
20223 builtin and then its argument prototype would still apply. */
20233 rm -f conftest.$ac_objext conftest$ac_exeext
20234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20235 (eval $ac_link) 2>conftest.er1
20237 grep -v '^ *+' conftest.er1 >conftest.err
20239 cat conftest.err >&5
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); } &&
20242 { ac_try='test -z "$ac_c_werror_flag"
20243 || test ! -s conftest.err'
20244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20245 (eval $ac_try) 2>&5
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); }; } &&
20249 { ac_try='test -s conftest$ac_exeext'
20250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20251 (eval $ac_try) 2>&5
20253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254 (exit $ac_status); }; }; then
20255 ac_cv_lib_m_ctan=yes
20257 echo "$as_me: failed program was:" >&5
20258 sed 's/^/| /' conftest.$ac_ext >&5
20260 ac_cv_lib_m_ctan=no
20262 rm -f conftest.err conftest.$ac_objext \
20263 conftest$ac_exeext conftest.$ac_ext
20264 LIBS=$ac_check_lib_save_LIBS
20266 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
20267 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
20268 if test $ac_cv_lib_m_ctan = yes; then
20270 cat >>confdefs.h <<\_ACEOF
20271 #define HAVE_CTAN 1
20276 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
20277 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
20278 if test "${ac_cv_lib_m_ctanl+set}" = set; then
20279 echo $ECHO_N "(cached) $ECHO_C" >&6
20281 ac_check_lib_save_LIBS=$LIBS
20283 if test x$gcc_no_link = xyes; then
20284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20286 { (exit 1); exit 1; }; }
20288 cat >conftest.$ac_ext <<_ACEOF
20291 cat confdefs.h >>conftest.$ac_ext
20292 cat >>conftest.$ac_ext <<_ACEOF
20293 /* end confdefs.h. */
20295 /* Override any gcc2 internal prototype to avoid an error. */
20299 /* We use char because int might match the return type of a gcc2
20300 builtin and then its argument prototype would still apply. */
20310 rm -f conftest.$ac_objext conftest$ac_exeext
20311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20312 (eval $ac_link) 2>conftest.er1
20314 grep -v '^ *+' conftest.er1 >conftest.err
20316 cat conftest.err >&5
20317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318 (exit $ac_status); } &&
20319 { ac_try='test -z "$ac_c_werror_flag"
20320 || test ! -s conftest.err'
20321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20322 (eval $ac_try) 2>&5
20324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20325 (exit $ac_status); }; } &&
20326 { ac_try='test -s conftest$ac_exeext'
20327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20328 (eval $ac_try) 2>&5
20330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20331 (exit $ac_status); }; }; then
20332 ac_cv_lib_m_ctanl=yes
20334 echo "$as_me: failed program was:" >&5
20335 sed 's/^/| /' conftest.$ac_ext >&5
20337 ac_cv_lib_m_ctanl=no
20339 rm -f conftest.err conftest.$ac_objext \
20340 conftest$ac_exeext conftest.$ac_ext
20341 LIBS=$ac_check_lib_save_LIBS
20343 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
20344 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
20345 if test $ac_cv_lib_m_ctanl = yes; then
20347 cat >>confdefs.h <<\_ACEOF
20348 #define HAVE_CTANL 1
20353 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
20354 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
20355 if test "${ac_cv_lib_m_tanhf+set}" = set; then
20356 echo $ECHO_N "(cached) $ECHO_C" >&6
20358 ac_check_lib_save_LIBS=$LIBS
20360 if test x$gcc_no_link = xyes; then
20361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20363 { (exit 1); exit 1; }; }
20365 cat >conftest.$ac_ext <<_ACEOF
20368 cat confdefs.h >>conftest.$ac_ext
20369 cat >>conftest.$ac_ext <<_ACEOF
20370 /* end confdefs.h. */
20372 /* Override any gcc2 internal prototype to avoid an error. */
20376 /* We use char because int might match the return type of a gcc2
20377 builtin and then its argument prototype would still apply. */
20387 rm -f conftest.$ac_objext conftest$ac_exeext
20388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20389 (eval $ac_link) 2>conftest.er1
20391 grep -v '^ *+' conftest.er1 >conftest.err
20393 cat conftest.err >&5
20394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20395 (exit $ac_status); } &&
20396 { ac_try='test -z "$ac_c_werror_flag"
20397 || test ! -s conftest.err'
20398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20399 (eval $ac_try) 2>&5
20401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20402 (exit $ac_status); }; } &&
20403 { ac_try='test -s conftest$ac_exeext'
20404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20405 (eval $ac_try) 2>&5
20407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408 (exit $ac_status); }; }; then
20409 ac_cv_lib_m_tanhf=yes
20411 echo "$as_me: failed program was:" >&5
20412 sed 's/^/| /' conftest.$ac_ext >&5
20414 ac_cv_lib_m_tanhf=no
20416 rm -f conftest.err conftest.$ac_objext \
20417 conftest$ac_exeext conftest.$ac_ext
20418 LIBS=$ac_check_lib_save_LIBS
20420 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
20421 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
20422 if test $ac_cv_lib_m_tanhf = yes; then
20424 cat >>confdefs.h <<\_ACEOF
20425 #define HAVE_TANHF 1
20430 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
20431 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
20432 if test "${ac_cv_lib_m_tanh+set}" = set; then
20433 echo $ECHO_N "(cached) $ECHO_C" >&6
20435 ac_check_lib_save_LIBS=$LIBS
20437 if test x$gcc_no_link = xyes; then
20438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20440 { (exit 1); exit 1; }; }
20442 cat >conftest.$ac_ext <<_ACEOF
20445 cat confdefs.h >>conftest.$ac_ext
20446 cat >>conftest.$ac_ext <<_ACEOF
20447 /* end confdefs.h. */
20449 /* Override any gcc2 internal prototype to avoid an error. */
20453 /* We use char because int might match the return type of a gcc2
20454 builtin and then its argument prototype would still apply. */
20464 rm -f conftest.$ac_objext conftest$ac_exeext
20465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20466 (eval $ac_link) 2>conftest.er1
20468 grep -v '^ *+' conftest.er1 >conftest.err
20470 cat conftest.err >&5
20471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20472 (exit $ac_status); } &&
20473 { ac_try='test -z "$ac_c_werror_flag"
20474 || test ! -s conftest.err'
20475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20476 (eval $ac_try) 2>&5
20478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20479 (exit $ac_status); }; } &&
20480 { ac_try='test -s conftest$ac_exeext'
20481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20482 (eval $ac_try) 2>&5
20484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20485 (exit $ac_status); }; }; then
20486 ac_cv_lib_m_tanh=yes
20488 echo "$as_me: failed program was:" >&5
20489 sed 's/^/| /' conftest.$ac_ext >&5
20491 ac_cv_lib_m_tanh=no
20493 rm -f conftest.err conftest.$ac_objext \
20494 conftest$ac_exeext conftest.$ac_ext
20495 LIBS=$ac_check_lib_save_LIBS
20497 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
20498 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
20499 if test $ac_cv_lib_m_tanh = yes; then
20501 cat >>confdefs.h <<\_ACEOF
20502 #define HAVE_TANH 1
20507 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
20508 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
20509 if test "${ac_cv_lib_m_tanhl+set}" = set; then
20510 echo $ECHO_N "(cached) $ECHO_C" >&6
20512 ac_check_lib_save_LIBS=$LIBS
20514 if test x$gcc_no_link = xyes; then
20515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20517 { (exit 1); exit 1; }; }
20519 cat >conftest.$ac_ext <<_ACEOF
20522 cat confdefs.h >>conftest.$ac_ext
20523 cat >>conftest.$ac_ext <<_ACEOF
20524 /* end confdefs.h. */
20526 /* Override any gcc2 internal prototype to avoid an error. */
20530 /* We use char because int might match the return type of a gcc2
20531 builtin and then its argument prototype would still apply. */
20541 rm -f conftest.$ac_objext conftest$ac_exeext
20542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20543 (eval $ac_link) 2>conftest.er1
20545 grep -v '^ *+' conftest.er1 >conftest.err
20547 cat conftest.err >&5
20548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20549 (exit $ac_status); } &&
20550 { ac_try='test -z "$ac_c_werror_flag"
20551 || test ! -s conftest.err'
20552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20553 (eval $ac_try) 2>&5
20555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20556 (exit $ac_status); }; } &&
20557 { ac_try='test -s conftest$ac_exeext'
20558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20559 (eval $ac_try) 2>&5
20561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20562 (exit $ac_status); }; }; then
20563 ac_cv_lib_m_tanhl=yes
20565 echo "$as_me: failed program was:" >&5
20566 sed 's/^/| /' conftest.$ac_ext >&5
20568 ac_cv_lib_m_tanhl=no
20570 rm -f conftest.err conftest.$ac_objext \
20571 conftest$ac_exeext conftest.$ac_ext
20572 LIBS=$ac_check_lib_save_LIBS
20574 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
20575 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
20576 if test $ac_cv_lib_m_tanhl = yes; then
20578 cat >>confdefs.h <<\_ACEOF
20579 #define HAVE_TANHL 1
20584 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
20585 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
20586 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
20587 echo $ECHO_N "(cached) $ECHO_C" >&6
20589 ac_check_lib_save_LIBS=$LIBS
20591 if test x$gcc_no_link = xyes; then
20592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20594 { (exit 1); exit 1; }; }
20596 cat >conftest.$ac_ext <<_ACEOF
20599 cat confdefs.h >>conftest.$ac_ext
20600 cat >>conftest.$ac_ext <<_ACEOF
20601 /* end confdefs.h. */
20603 /* Override any gcc2 internal prototype to avoid an error. */
20607 /* We use char because int might match the return type of a gcc2
20608 builtin and then its argument prototype would still apply. */
20618 rm -f conftest.$ac_objext conftest$ac_exeext
20619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20620 (eval $ac_link) 2>conftest.er1
20622 grep -v '^ *+' conftest.er1 >conftest.err
20624 cat conftest.err >&5
20625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20626 (exit $ac_status); } &&
20627 { ac_try='test -z "$ac_c_werror_flag"
20628 || test ! -s conftest.err'
20629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20630 (eval $ac_try) 2>&5
20632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20633 (exit $ac_status); }; } &&
20634 { ac_try='test -s conftest$ac_exeext'
20635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20636 (eval $ac_try) 2>&5
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); }; }; then
20640 ac_cv_lib_m_ctanhf=yes
20642 echo "$as_me: failed program was:" >&5
20643 sed 's/^/| /' conftest.$ac_ext >&5
20645 ac_cv_lib_m_ctanhf=no
20647 rm -f conftest.err conftest.$ac_objext \
20648 conftest$ac_exeext conftest.$ac_ext
20649 LIBS=$ac_check_lib_save_LIBS
20651 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
20652 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
20653 if test $ac_cv_lib_m_ctanhf = yes; then
20655 cat >>confdefs.h <<\_ACEOF
20656 #define HAVE_CTANHF 1
20661 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
20662 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
20663 if test "${ac_cv_lib_m_ctanh+set}" = set; then
20664 echo $ECHO_N "(cached) $ECHO_C" >&6
20666 ac_check_lib_save_LIBS=$LIBS
20668 if test x$gcc_no_link = xyes; then
20669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20671 { (exit 1); exit 1; }; }
20673 cat >conftest.$ac_ext <<_ACEOF
20676 cat confdefs.h >>conftest.$ac_ext
20677 cat >>conftest.$ac_ext <<_ACEOF
20678 /* end confdefs.h. */
20680 /* Override any gcc2 internal prototype to avoid an error. */
20684 /* We use char because int might match the return type of a gcc2
20685 builtin and then its argument prototype would still apply. */
20695 rm -f conftest.$ac_objext conftest$ac_exeext
20696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20697 (eval $ac_link) 2>conftest.er1
20699 grep -v '^ *+' conftest.er1 >conftest.err
20701 cat conftest.err >&5
20702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703 (exit $ac_status); } &&
20704 { ac_try='test -z "$ac_c_werror_flag"
20705 || test ! -s conftest.err'
20706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20707 (eval $ac_try) 2>&5
20709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710 (exit $ac_status); }; } &&
20711 { ac_try='test -s conftest$ac_exeext'
20712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20713 (eval $ac_try) 2>&5
20715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20716 (exit $ac_status); }; }; then
20717 ac_cv_lib_m_ctanh=yes
20719 echo "$as_me: failed program was:" >&5
20720 sed 's/^/| /' conftest.$ac_ext >&5
20722 ac_cv_lib_m_ctanh=no
20724 rm -f conftest.err conftest.$ac_objext \
20725 conftest$ac_exeext conftest.$ac_ext
20726 LIBS=$ac_check_lib_save_LIBS
20728 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
20729 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
20730 if test $ac_cv_lib_m_ctanh = yes; then
20732 cat >>confdefs.h <<\_ACEOF
20733 #define HAVE_CTANH 1
20738 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
20739 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
20740 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
20741 echo $ECHO_N "(cached) $ECHO_C" >&6
20743 ac_check_lib_save_LIBS=$LIBS
20745 if test x$gcc_no_link = xyes; then
20746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20748 { (exit 1); exit 1; }; }
20750 cat >conftest.$ac_ext <<_ACEOF
20753 cat confdefs.h >>conftest.$ac_ext
20754 cat >>conftest.$ac_ext <<_ACEOF
20755 /* end confdefs.h. */
20757 /* Override any gcc2 internal prototype to avoid an error. */
20761 /* We use char because int might match the return type of a gcc2
20762 builtin and then its argument prototype would still apply. */
20772 rm -f conftest.$ac_objext conftest$ac_exeext
20773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20774 (eval $ac_link) 2>conftest.er1
20776 grep -v '^ *+' conftest.er1 >conftest.err
20778 cat conftest.err >&5
20779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20780 (exit $ac_status); } &&
20781 { ac_try='test -z "$ac_c_werror_flag"
20782 || test ! -s conftest.err'
20783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20784 (eval $ac_try) 2>&5
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); }; } &&
20788 { ac_try='test -s conftest$ac_exeext'
20789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20790 (eval $ac_try) 2>&5
20792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20793 (exit $ac_status); }; }; then
20794 ac_cv_lib_m_ctanhl=yes
20796 echo "$as_me: failed program was:" >&5
20797 sed 's/^/| /' conftest.$ac_ext >&5
20799 ac_cv_lib_m_ctanhl=no
20801 rm -f conftest.err conftest.$ac_objext \
20802 conftest$ac_exeext conftest.$ac_ext
20803 LIBS=$ac_check_lib_save_LIBS
20805 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
20806 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
20807 if test $ac_cv_lib_m_ctanhl = yes; then
20809 cat >>confdefs.h <<\_ACEOF
20810 #define HAVE_CTANHL 1
20815 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
20816 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
20817 if test "${ac_cv_lib_m_truncf+set}" = set; then
20818 echo $ECHO_N "(cached) $ECHO_C" >&6
20820 ac_check_lib_save_LIBS=$LIBS
20822 if test x$gcc_no_link = xyes; then
20823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20825 { (exit 1); exit 1; }; }
20827 cat >conftest.$ac_ext <<_ACEOF
20830 cat confdefs.h >>conftest.$ac_ext
20831 cat >>conftest.$ac_ext <<_ACEOF
20832 /* end confdefs.h. */
20834 /* Override any gcc2 internal prototype to avoid an error. */
20838 /* We use char because int might match the return type of a gcc2
20839 builtin and then its argument prototype would still apply. */
20849 rm -f conftest.$ac_objext conftest$ac_exeext
20850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20851 (eval $ac_link) 2>conftest.er1
20853 grep -v '^ *+' conftest.er1 >conftest.err
20855 cat conftest.err >&5
20856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20857 (exit $ac_status); } &&
20858 { ac_try='test -z "$ac_c_werror_flag"
20859 || test ! -s conftest.err'
20860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20861 (eval $ac_try) 2>&5
20863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20864 (exit $ac_status); }; } &&
20865 { ac_try='test -s conftest$ac_exeext'
20866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20867 (eval $ac_try) 2>&5
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); }; }; then
20871 ac_cv_lib_m_truncf=yes
20873 echo "$as_me: failed program was:" >&5
20874 sed 's/^/| /' conftest.$ac_ext >&5
20876 ac_cv_lib_m_truncf=no
20878 rm -f conftest.err conftest.$ac_objext \
20879 conftest$ac_exeext conftest.$ac_ext
20880 LIBS=$ac_check_lib_save_LIBS
20882 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
20883 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
20884 if test $ac_cv_lib_m_truncf = yes; then
20886 cat >>confdefs.h <<\_ACEOF
20887 #define HAVE_TRUNCF 1
20892 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
20893 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
20894 if test "${ac_cv_lib_m_trunc+set}" = set; then
20895 echo $ECHO_N "(cached) $ECHO_C" >&6
20897 ac_check_lib_save_LIBS=$LIBS
20899 if test x$gcc_no_link = xyes; then
20900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20902 { (exit 1); exit 1; }; }
20904 cat >conftest.$ac_ext <<_ACEOF
20907 cat confdefs.h >>conftest.$ac_ext
20908 cat >>conftest.$ac_ext <<_ACEOF
20909 /* end confdefs.h. */
20911 /* Override any gcc2 internal prototype to avoid an error. */
20915 /* We use char because int might match the return type of a gcc2
20916 builtin and then its argument prototype would still apply. */
20926 rm -f conftest.$ac_objext conftest$ac_exeext
20927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20928 (eval $ac_link) 2>conftest.er1
20930 grep -v '^ *+' conftest.er1 >conftest.err
20932 cat conftest.err >&5
20933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20934 (exit $ac_status); } &&
20935 { ac_try='test -z "$ac_c_werror_flag"
20936 || test ! -s conftest.err'
20937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20938 (eval $ac_try) 2>&5
20940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20941 (exit $ac_status); }; } &&
20942 { ac_try='test -s conftest$ac_exeext'
20943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20944 (eval $ac_try) 2>&5
20946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20947 (exit $ac_status); }; }; then
20948 ac_cv_lib_m_trunc=yes
20950 echo "$as_me: failed program was:" >&5
20951 sed 's/^/| /' conftest.$ac_ext >&5
20953 ac_cv_lib_m_trunc=no
20955 rm -f conftest.err conftest.$ac_objext \
20956 conftest$ac_exeext conftest.$ac_ext
20957 LIBS=$ac_check_lib_save_LIBS
20959 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
20960 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
20961 if test $ac_cv_lib_m_trunc = yes; then
20963 cat >>confdefs.h <<\_ACEOF
20964 #define HAVE_TRUNC 1
20969 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
20970 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
20971 if test "${ac_cv_lib_m_truncl+set}" = set; then
20972 echo $ECHO_N "(cached) $ECHO_C" >&6
20974 ac_check_lib_save_LIBS=$LIBS
20976 if test x$gcc_no_link = xyes; then
20977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20979 { (exit 1); exit 1; }; }
20981 cat >conftest.$ac_ext <<_ACEOF
20984 cat confdefs.h >>conftest.$ac_ext
20985 cat >>conftest.$ac_ext <<_ACEOF
20986 /* end confdefs.h. */
20988 /* Override any gcc2 internal prototype to avoid an error. */
20992 /* We use char because int might match the return type of a gcc2
20993 builtin and then its argument prototype would still apply. */
21003 rm -f conftest.$ac_objext conftest$ac_exeext
21004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21005 (eval $ac_link) 2>conftest.er1
21007 grep -v '^ *+' conftest.er1 >conftest.err
21009 cat conftest.err >&5
21010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21011 (exit $ac_status); } &&
21012 { ac_try='test -z "$ac_c_werror_flag"
21013 || test ! -s conftest.err'
21014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21015 (eval $ac_try) 2>&5
21017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21018 (exit $ac_status); }; } &&
21019 { ac_try='test -s conftest$ac_exeext'
21020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21021 (eval $ac_try) 2>&5
21023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21024 (exit $ac_status); }; }; then
21025 ac_cv_lib_m_truncl=yes
21027 echo "$as_me: failed program was:" >&5
21028 sed 's/^/| /' conftest.$ac_ext >&5
21030 ac_cv_lib_m_truncl=no
21032 rm -f conftest.err conftest.$ac_objext \
21033 conftest$ac_exeext conftest.$ac_ext
21034 LIBS=$ac_check_lib_save_LIBS
21036 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
21037 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
21038 if test $ac_cv_lib_m_truncl = yes; then
21040 cat >>confdefs.h <<\_ACEOF
21041 #define HAVE_TRUNCL 1
21046 echo "$as_me:$LINENO: checking for erff in -lm" >&5
21047 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
21048 if test "${ac_cv_lib_m_erff+set}" = set; then
21049 echo $ECHO_N "(cached) $ECHO_C" >&6
21051 ac_check_lib_save_LIBS=$LIBS
21053 if test x$gcc_no_link = xyes; then
21054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21056 { (exit 1); exit 1; }; }
21058 cat >conftest.$ac_ext <<_ACEOF
21061 cat confdefs.h >>conftest.$ac_ext
21062 cat >>conftest.$ac_ext <<_ACEOF
21063 /* end confdefs.h. */
21065 /* Override any gcc2 internal prototype to avoid an error. */
21069 /* We use char because int might match the return type of a gcc2
21070 builtin and then its argument prototype would still apply. */
21080 rm -f conftest.$ac_objext conftest$ac_exeext
21081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21082 (eval $ac_link) 2>conftest.er1
21084 grep -v '^ *+' conftest.er1 >conftest.err
21086 cat conftest.err >&5
21087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088 (exit $ac_status); } &&
21089 { ac_try='test -z "$ac_c_werror_flag"
21090 || test ! -s conftest.err'
21091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21092 (eval $ac_try) 2>&5
21094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21095 (exit $ac_status); }; } &&
21096 { ac_try='test -s conftest$ac_exeext'
21097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21098 (eval $ac_try) 2>&5
21100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101 (exit $ac_status); }; }; then
21102 ac_cv_lib_m_erff=yes
21104 echo "$as_me: failed program was:" >&5
21105 sed 's/^/| /' conftest.$ac_ext >&5
21107 ac_cv_lib_m_erff=no
21109 rm -f conftest.err conftest.$ac_objext \
21110 conftest$ac_exeext conftest.$ac_ext
21111 LIBS=$ac_check_lib_save_LIBS
21113 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
21114 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
21115 if test $ac_cv_lib_m_erff = yes; then
21117 cat >>confdefs.h <<\_ACEOF
21118 #define HAVE_ERFF 1
21123 echo "$as_me:$LINENO: checking for erf in -lm" >&5
21124 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
21125 if test "${ac_cv_lib_m_erf+set}" = set; then
21126 echo $ECHO_N "(cached) $ECHO_C" >&6
21128 ac_check_lib_save_LIBS=$LIBS
21130 if test x$gcc_no_link = xyes; then
21131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21133 { (exit 1); exit 1; }; }
21135 cat >conftest.$ac_ext <<_ACEOF
21138 cat confdefs.h >>conftest.$ac_ext
21139 cat >>conftest.$ac_ext <<_ACEOF
21140 /* end confdefs.h. */
21142 /* Override any gcc2 internal prototype to avoid an error. */
21146 /* We use char because int might match the return type of a gcc2
21147 builtin and then its argument prototype would still apply. */
21157 rm -f conftest.$ac_objext conftest$ac_exeext
21158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21159 (eval $ac_link) 2>conftest.er1
21161 grep -v '^ *+' conftest.er1 >conftest.err
21163 cat conftest.err >&5
21164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21165 (exit $ac_status); } &&
21166 { ac_try='test -z "$ac_c_werror_flag"
21167 || test ! -s conftest.err'
21168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21169 (eval $ac_try) 2>&5
21171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21172 (exit $ac_status); }; } &&
21173 { ac_try='test -s conftest$ac_exeext'
21174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21175 (eval $ac_try) 2>&5
21177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21178 (exit $ac_status); }; }; then
21179 ac_cv_lib_m_erf=yes
21181 echo "$as_me: failed program was:" >&5
21182 sed 's/^/| /' conftest.$ac_ext >&5
21186 rm -f conftest.err conftest.$ac_objext \
21187 conftest$ac_exeext conftest.$ac_ext
21188 LIBS=$ac_check_lib_save_LIBS
21190 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
21191 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
21192 if test $ac_cv_lib_m_erf = yes; then
21194 cat >>confdefs.h <<\_ACEOF
21200 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
21201 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
21202 if test "${ac_cv_lib_m_erfl+set}" = set; then
21203 echo $ECHO_N "(cached) $ECHO_C" >&6
21205 ac_check_lib_save_LIBS=$LIBS
21207 if test x$gcc_no_link = xyes; then
21208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21210 { (exit 1); exit 1; }; }
21212 cat >conftest.$ac_ext <<_ACEOF
21215 cat confdefs.h >>conftest.$ac_ext
21216 cat >>conftest.$ac_ext <<_ACEOF
21217 /* end confdefs.h. */
21219 /* Override any gcc2 internal prototype to avoid an error. */
21223 /* We use char because int might match the return type of a gcc2
21224 builtin and then its argument prototype would still apply. */
21234 rm -f conftest.$ac_objext conftest$ac_exeext
21235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21236 (eval $ac_link) 2>conftest.er1
21238 grep -v '^ *+' conftest.er1 >conftest.err
21240 cat conftest.err >&5
21241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21242 (exit $ac_status); } &&
21243 { ac_try='test -z "$ac_c_werror_flag"
21244 || test ! -s conftest.err'
21245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21246 (eval $ac_try) 2>&5
21248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249 (exit $ac_status); }; } &&
21250 { ac_try='test -s conftest$ac_exeext'
21251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21252 (eval $ac_try) 2>&5
21254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21255 (exit $ac_status); }; }; then
21256 ac_cv_lib_m_erfl=yes
21258 echo "$as_me: failed program was:" >&5
21259 sed 's/^/| /' conftest.$ac_ext >&5
21261 ac_cv_lib_m_erfl=no
21263 rm -f conftest.err conftest.$ac_objext \
21264 conftest$ac_exeext conftest.$ac_ext
21265 LIBS=$ac_check_lib_save_LIBS
21267 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
21268 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
21269 if test $ac_cv_lib_m_erfl = yes; then
21271 cat >>confdefs.h <<\_ACEOF
21272 #define HAVE_ERFL 1
21277 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
21278 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
21279 if test "${ac_cv_lib_m_erfcf+set}" = set; then
21280 echo $ECHO_N "(cached) $ECHO_C" >&6
21282 ac_check_lib_save_LIBS=$LIBS
21284 if test x$gcc_no_link = xyes; then
21285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21287 { (exit 1); exit 1; }; }
21289 cat >conftest.$ac_ext <<_ACEOF
21292 cat confdefs.h >>conftest.$ac_ext
21293 cat >>conftest.$ac_ext <<_ACEOF
21294 /* end confdefs.h. */
21296 /* Override any gcc2 internal prototype to avoid an error. */
21300 /* We use char because int might match the return type of a gcc2
21301 builtin and then its argument prototype would still apply. */
21311 rm -f conftest.$ac_objext conftest$ac_exeext
21312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21313 (eval $ac_link) 2>conftest.er1
21315 grep -v '^ *+' conftest.er1 >conftest.err
21317 cat conftest.err >&5
21318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21319 (exit $ac_status); } &&
21320 { ac_try='test -z "$ac_c_werror_flag"
21321 || test ! -s conftest.err'
21322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21323 (eval $ac_try) 2>&5
21325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21326 (exit $ac_status); }; } &&
21327 { ac_try='test -s conftest$ac_exeext'
21328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21329 (eval $ac_try) 2>&5
21331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21332 (exit $ac_status); }; }; then
21333 ac_cv_lib_m_erfcf=yes
21335 echo "$as_me: failed program was:" >&5
21336 sed 's/^/| /' conftest.$ac_ext >&5
21338 ac_cv_lib_m_erfcf=no
21340 rm -f conftest.err conftest.$ac_objext \
21341 conftest$ac_exeext conftest.$ac_ext
21342 LIBS=$ac_check_lib_save_LIBS
21344 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
21345 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
21346 if test $ac_cv_lib_m_erfcf = yes; then
21348 cat >>confdefs.h <<\_ACEOF
21349 #define HAVE_ERFCF 1
21354 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
21355 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
21356 if test "${ac_cv_lib_m_erfc+set}" = set; then
21357 echo $ECHO_N "(cached) $ECHO_C" >&6
21359 ac_check_lib_save_LIBS=$LIBS
21361 if test x$gcc_no_link = xyes; then
21362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21364 { (exit 1); exit 1; }; }
21366 cat >conftest.$ac_ext <<_ACEOF
21369 cat confdefs.h >>conftest.$ac_ext
21370 cat >>conftest.$ac_ext <<_ACEOF
21371 /* end confdefs.h. */
21373 /* Override any gcc2 internal prototype to avoid an error. */
21377 /* We use char because int might match the return type of a gcc2
21378 builtin and then its argument prototype would still apply. */
21388 rm -f conftest.$ac_objext conftest$ac_exeext
21389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21390 (eval $ac_link) 2>conftest.er1
21392 grep -v '^ *+' conftest.er1 >conftest.err
21394 cat conftest.err >&5
21395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21396 (exit $ac_status); } &&
21397 { ac_try='test -z "$ac_c_werror_flag"
21398 || test ! -s conftest.err'
21399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21400 (eval $ac_try) 2>&5
21402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21403 (exit $ac_status); }; } &&
21404 { ac_try='test -s conftest$ac_exeext'
21405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21406 (eval $ac_try) 2>&5
21408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21409 (exit $ac_status); }; }; then
21410 ac_cv_lib_m_erfc=yes
21412 echo "$as_me: failed program was:" >&5
21413 sed 's/^/| /' conftest.$ac_ext >&5
21415 ac_cv_lib_m_erfc=no
21417 rm -f conftest.err conftest.$ac_objext \
21418 conftest$ac_exeext conftest.$ac_ext
21419 LIBS=$ac_check_lib_save_LIBS
21421 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
21422 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
21423 if test $ac_cv_lib_m_erfc = yes; then
21425 cat >>confdefs.h <<\_ACEOF
21426 #define HAVE_ERFC 1
21431 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
21432 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
21433 if test "${ac_cv_lib_m_erfcl+set}" = set; then
21434 echo $ECHO_N "(cached) $ECHO_C" >&6
21436 ac_check_lib_save_LIBS=$LIBS
21438 if test x$gcc_no_link = xyes; then
21439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21441 { (exit 1); exit 1; }; }
21443 cat >conftest.$ac_ext <<_ACEOF
21446 cat confdefs.h >>conftest.$ac_ext
21447 cat >>conftest.$ac_ext <<_ACEOF
21448 /* end confdefs.h. */
21450 /* Override any gcc2 internal prototype to avoid an error. */
21454 /* We use char because int might match the return type of a gcc2
21455 builtin and then its argument prototype would still apply. */
21465 rm -f conftest.$ac_objext conftest$ac_exeext
21466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21467 (eval $ac_link) 2>conftest.er1
21469 grep -v '^ *+' conftest.er1 >conftest.err
21471 cat conftest.err >&5
21472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21473 (exit $ac_status); } &&
21474 { ac_try='test -z "$ac_c_werror_flag"
21475 || test ! -s conftest.err'
21476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21477 (eval $ac_try) 2>&5
21479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21480 (exit $ac_status); }; } &&
21481 { ac_try='test -s conftest$ac_exeext'
21482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21483 (eval $ac_try) 2>&5
21485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21486 (exit $ac_status); }; }; then
21487 ac_cv_lib_m_erfcl=yes
21489 echo "$as_me: failed program was:" >&5
21490 sed 's/^/| /' conftest.$ac_ext >&5
21492 ac_cv_lib_m_erfcl=no
21494 rm -f conftest.err conftest.$ac_objext \
21495 conftest$ac_exeext conftest.$ac_ext
21496 LIBS=$ac_check_lib_save_LIBS
21498 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
21499 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
21500 if test $ac_cv_lib_m_erfcl = yes; then
21502 cat >>confdefs.h <<\_ACEOF
21503 #define HAVE_ERFCL 1
21508 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
21509 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
21510 if test "${ac_cv_lib_m_j0f+set}" = set; then
21511 echo $ECHO_N "(cached) $ECHO_C" >&6
21513 ac_check_lib_save_LIBS=$LIBS
21515 if test x$gcc_no_link = xyes; then
21516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21518 { (exit 1); exit 1; }; }
21520 cat >conftest.$ac_ext <<_ACEOF
21523 cat confdefs.h >>conftest.$ac_ext
21524 cat >>conftest.$ac_ext <<_ACEOF
21525 /* end confdefs.h. */
21527 /* Override any gcc2 internal prototype to avoid an error. */
21531 /* We use char because int might match the return type of a gcc2
21532 builtin and then its argument prototype would still apply. */
21542 rm -f conftest.$ac_objext conftest$ac_exeext
21543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21544 (eval $ac_link) 2>conftest.er1
21546 grep -v '^ *+' conftest.er1 >conftest.err
21548 cat conftest.err >&5
21549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550 (exit $ac_status); } &&
21551 { ac_try='test -z "$ac_c_werror_flag"
21552 || test ! -s conftest.err'
21553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21554 (eval $ac_try) 2>&5
21556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21557 (exit $ac_status); }; } &&
21558 { ac_try='test -s conftest$ac_exeext'
21559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21560 (eval $ac_try) 2>&5
21562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21563 (exit $ac_status); }; }; then
21564 ac_cv_lib_m_j0f=yes
21566 echo "$as_me: failed program was:" >&5
21567 sed 's/^/| /' conftest.$ac_ext >&5
21571 rm -f conftest.err conftest.$ac_objext \
21572 conftest$ac_exeext conftest.$ac_ext
21573 LIBS=$ac_check_lib_save_LIBS
21575 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
21576 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
21577 if test $ac_cv_lib_m_j0f = yes; then
21579 cat >>confdefs.h <<\_ACEOF
21585 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
21586 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
21587 if test "${ac_cv_lib_m_j0+set}" = set; then
21588 echo $ECHO_N "(cached) $ECHO_C" >&6
21590 ac_check_lib_save_LIBS=$LIBS
21592 if test x$gcc_no_link = xyes; then
21593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21595 { (exit 1); exit 1; }; }
21597 cat >conftest.$ac_ext <<_ACEOF
21600 cat confdefs.h >>conftest.$ac_ext
21601 cat >>conftest.$ac_ext <<_ACEOF
21602 /* end confdefs.h. */
21604 /* Override any gcc2 internal prototype to avoid an error. */
21608 /* We use char because int might match the return type of a gcc2
21609 builtin and then its argument prototype would still apply. */
21619 rm -f conftest.$ac_objext conftest$ac_exeext
21620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21621 (eval $ac_link) 2>conftest.er1
21623 grep -v '^ *+' conftest.er1 >conftest.err
21625 cat conftest.err >&5
21626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21627 (exit $ac_status); } &&
21628 { ac_try='test -z "$ac_c_werror_flag"
21629 || test ! -s conftest.err'
21630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21631 (eval $ac_try) 2>&5
21633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21634 (exit $ac_status); }; } &&
21635 { ac_try='test -s conftest$ac_exeext'
21636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21637 (eval $ac_try) 2>&5
21639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21640 (exit $ac_status); }; }; then
21643 echo "$as_me: failed program was:" >&5
21644 sed 's/^/| /' conftest.$ac_ext >&5
21648 rm -f conftest.err conftest.$ac_objext \
21649 conftest$ac_exeext conftest.$ac_ext
21650 LIBS=$ac_check_lib_save_LIBS
21652 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
21653 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
21654 if test $ac_cv_lib_m_j0 = yes; then
21656 cat >>confdefs.h <<\_ACEOF
21662 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
21663 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
21664 if test "${ac_cv_lib_m_j0l+set}" = set; then
21665 echo $ECHO_N "(cached) $ECHO_C" >&6
21667 ac_check_lib_save_LIBS=$LIBS
21669 if test x$gcc_no_link = xyes; then
21670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21672 { (exit 1); exit 1; }; }
21674 cat >conftest.$ac_ext <<_ACEOF
21677 cat confdefs.h >>conftest.$ac_ext
21678 cat >>conftest.$ac_ext <<_ACEOF
21679 /* end confdefs.h. */
21681 /* Override any gcc2 internal prototype to avoid an error. */
21685 /* We use char because int might match the return type of a gcc2
21686 builtin and then its argument prototype would still apply. */
21696 rm -f conftest.$ac_objext conftest$ac_exeext
21697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21698 (eval $ac_link) 2>conftest.er1
21700 grep -v '^ *+' conftest.er1 >conftest.err
21702 cat conftest.err >&5
21703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21704 (exit $ac_status); } &&
21705 { ac_try='test -z "$ac_c_werror_flag"
21706 || test ! -s conftest.err'
21707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21708 (eval $ac_try) 2>&5
21710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21711 (exit $ac_status); }; } &&
21712 { ac_try='test -s conftest$ac_exeext'
21713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21714 (eval $ac_try) 2>&5
21716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21717 (exit $ac_status); }; }; then
21718 ac_cv_lib_m_j0l=yes
21720 echo "$as_me: failed program was:" >&5
21721 sed 's/^/| /' conftest.$ac_ext >&5
21725 rm -f conftest.err conftest.$ac_objext \
21726 conftest$ac_exeext conftest.$ac_ext
21727 LIBS=$ac_check_lib_save_LIBS
21729 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
21730 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
21731 if test $ac_cv_lib_m_j0l = yes; then
21733 cat >>confdefs.h <<\_ACEOF
21739 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
21740 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
21741 if test "${ac_cv_lib_m_j1f+set}" = set; then
21742 echo $ECHO_N "(cached) $ECHO_C" >&6
21744 ac_check_lib_save_LIBS=$LIBS
21746 if test x$gcc_no_link = xyes; then
21747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21749 { (exit 1); exit 1; }; }
21751 cat >conftest.$ac_ext <<_ACEOF
21754 cat confdefs.h >>conftest.$ac_ext
21755 cat >>conftest.$ac_ext <<_ACEOF
21756 /* end confdefs.h. */
21758 /* Override any gcc2 internal prototype to avoid an error. */
21762 /* We use char because int might match the return type of a gcc2
21763 builtin and then its argument prototype would still apply. */
21773 rm -f conftest.$ac_objext conftest$ac_exeext
21774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21775 (eval $ac_link) 2>conftest.er1
21777 grep -v '^ *+' conftest.er1 >conftest.err
21779 cat conftest.err >&5
21780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21781 (exit $ac_status); } &&
21782 { ac_try='test -z "$ac_c_werror_flag"
21783 || test ! -s conftest.err'
21784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21785 (eval $ac_try) 2>&5
21787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21788 (exit $ac_status); }; } &&
21789 { ac_try='test -s conftest$ac_exeext'
21790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21791 (eval $ac_try) 2>&5
21793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21794 (exit $ac_status); }; }; then
21795 ac_cv_lib_m_j1f=yes
21797 echo "$as_me: failed program was:" >&5
21798 sed 's/^/| /' conftest.$ac_ext >&5
21802 rm -f conftest.err conftest.$ac_objext \
21803 conftest$ac_exeext conftest.$ac_ext
21804 LIBS=$ac_check_lib_save_LIBS
21806 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
21807 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
21808 if test $ac_cv_lib_m_j1f = yes; then
21810 cat >>confdefs.h <<\_ACEOF
21816 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
21817 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
21818 if test "${ac_cv_lib_m_j1+set}" = set; then
21819 echo $ECHO_N "(cached) $ECHO_C" >&6
21821 ac_check_lib_save_LIBS=$LIBS
21823 if test x$gcc_no_link = xyes; then
21824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21826 { (exit 1); exit 1; }; }
21828 cat >conftest.$ac_ext <<_ACEOF
21831 cat confdefs.h >>conftest.$ac_ext
21832 cat >>conftest.$ac_ext <<_ACEOF
21833 /* end confdefs.h. */
21835 /* Override any gcc2 internal prototype to avoid an error. */
21839 /* We use char because int might match the return type of a gcc2
21840 builtin and then its argument prototype would still apply. */
21850 rm -f conftest.$ac_objext conftest$ac_exeext
21851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21852 (eval $ac_link) 2>conftest.er1
21854 grep -v '^ *+' conftest.er1 >conftest.err
21856 cat conftest.err >&5
21857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21858 (exit $ac_status); } &&
21859 { ac_try='test -z "$ac_c_werror_flag"
21860 || test ! -s conftest.err'
21861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21862 (eval $ac_try) 2>&5
21864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865 (exit $ac_status); }; } &&
21866 { ac_try='test -s conftest$ac_exeext'
21867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21868 (eval $ac_try) 2>&5
21870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21871 (exit $ac_status); }; }; then
21874 echo "$as_me: failed program was:" >&5
21875 sed 's/^/| /' conftest.$ac_ext >&5
21879 rm -f conftest.err conftest.$ac_objext \
21880 conftest$ac_exeext conftest.$ac_ext
21881 LIBS=$ac_check_lib_save_LIBS
21883 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
21884 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
21885 if test $ac_cv_lib_m_j1 = yes; then
21887 cat >>confdefs.h <<\_ACEOF
21893 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
21894 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
21895 if test "${ac_cv_lib_m_j1l+set}" = set; then
21896 echo $ECHO_N "(cached) $ECHO_C" >&6
21898 ac_check_lib_save_LIBS=$LIBS
21900 if test x$gcc_no_link = xyes; then
21901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21903 { (exit 1); exit 1; }; }
21905 cat >conftest.$ac_ext <<_ACEOF
21908 cat confdefs.h >>conftest.$ac_ext
21909 cat >>conftest.$ac_ext <<_ACEOF
21910 /* end confdefs.h. */
21912 /* Override any gcc2 internal prototype to avoid an error. */
21916 /* We use char because int might match the return type of a gcc2
21917 builtin and then its argument prototype would still apply. */
21927 rm -f conftest.$ac_objext conftest$ac_exeext
21928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21929 (eval $ac_link) 2>conftest.er1
21931 grep -v '^ *+' conftest.er1 >conftest.err
21933 cat conftest.err >&5
21934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21935 (exit $ac_status); } &&
21936 { ac_try='test -z "$ac_c_werror_flag"
21937 || test ! -s conftest.err'
21938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21939 (eval $ac_try) 2>&5
21941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21942 (exit $ac_status); }; } &&
21943 { ac_try='test -s conftest$ac_exeext'
21944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21945 (eval $ac_try) 2>&5
21947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948 (exit $ac_status); }; }; then
21949 ac_cv_lib_m_j1l=yes
21951 echo "$as_me: failed program was:" >&5
21952 sed 's/^/| /' conftest.$ac_ext >&5
21956 rm -f conftest.err conftest.$ac_objext \
21957 conftest$ac_exeext conftest.$ac_ext
21958 LIBS=$ac_check_lib_save_LIBS
21960 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
21961 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
21962 if test $ac_cv_lib_m_j1l = yes; then
21964 cat >>confdefs.h <<\_ACEOF
21970 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
21971 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
21972 if test "${ac_cv_lib_m_jnf+set}" = set; then
21973 echo $ECHO_N "(cached) $ECHO_C" >&6
21975 ac_check_lib_save_LIBS=$LIBS
21977 if test x$gcc_no_link = xyes; then
21978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21980 { (exit 1); exit 1; }; }
21982 cat >conftest.$ac_ext <<_ACEOF
21985 cat confdefs.h >>conftest.$ac_ext
21986 cat >>conftest.$ac_ext <<_ACEOF
21987 /* end confdefs.h. */
21989 /* Override any gcc2 internal prototype to avoid an error. */
21993 /* We use char because int might match the return type of a gcc2
21994 builtin and then its argument prototype would still apply. */
22004 rm -f conftest.$ac_objext conftest$ac_exeext
22005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22006 (eval $ac_link) 2>conftest.er1
22008 grep -v '^ *+' conftest.er1 >conftest.err
22010 cat conftest.err >&5
22011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22012 (exit $ac_status); } &&
22013 { ac_try='test -z "$ac_c_werror_flag"
22014 || test ! -s conftest.err'
22015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22016 (eval $ac_try) 2>&5
22018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22019 (exit $ac_status); }; } &&
22020 { ac_try='test -s conftest$ac_exeext'
22021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22022 (eval $ac_try) 2>&5
22024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22025 (exit $ac_status); }; }; then
22026 ac_cv_lib_m_jnf=yes
22028 echo "$as_me: failed program was:" >&5
22029 sed 's/^/| /' conftest.$ac_ext >&5
22033 rm -f conftest.err conftest.$ac_objext \
22034 conftest$ac_exeext conftest.$ac_ext
22035 LIBS=$ac_check_lib_save_LIBS
22037 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
22038 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
22039 if test $ac_cv_lib_m_jnf = yes; then
22041 cat >>confdefs.h <<\_ACEOF
22047 echo "$as_me:$LINENO: checking for jn in -lm" >&5
22048 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
22049 if test "${ac_cv_lib_m_jn+set}" = set; then
22050 echo $ECHO_N "(cached) $ECHO_C" >&6
22052 ac_check_lib_save_LIBS=$LIBS
22054 if test x$gcc_no_link = xyes; then
22055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22057 { (exit 1); exit 1; }; }
22059 cat >conftest.$ac_ext <<_ACEOF
22062 cat confdefs.h >>conftest.$ac_ext
22063 cat >>conftest.$ac_ext <<_ACEOF
22064 /* end confdefs.h. */
22066 /* Override any gcc2 internal prototype to avoid an error. */
22070 /* We use char because int might match the return type of a gcc2
22071 builtin and then its argument prototype would still apply. */
22081 rm -f conftest.$ac_objext conftest$ac_exeext
22082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22083 (eval $ac_link) 2>conftest.er1
22085 grep -v '^ *+' conftest.er1 >conftest.err
22087 cat conftest.err >&5
22088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22089 (exit $ac_status); } &&
22090 { ac_try='test -z "$ac_c_werror_flag"
22091 || test ! -s conftest.err'
22092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22093 (eval $ac_try) 2>&5
22095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096 (exit $ac_status); }; } &&
22097 { ac_try='test -s conftest$ac_exeext'
22098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22099 (eval $ac_try) 2>&5
22101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102 (exit $ac_status); }; }; then
22105 echo "$as_me: failed program was:" >&5
22106 sed 's/^/| /' conftest.$ac_ext >&5
22110 rm -f conftest.err conftest.$ac_objext \
22111 conftest$ac_exeext conftest.$ac_ext
22112 LIBS=$ac_check_lib_save_LIBS
22114 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
22115 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
22116 if test $ac_cv_lib_m_jn = yes; then
22118 cat >>confdefs.h <<\_ACEOF
22124 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
22125 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
22126 if test "${ac_cv_lib_m_jnl+set}" = set; then
22127 echo $ECHO_N "(cached) $ECHO_C" >&6
22129 ac_check_lib_save_LIBS=$LIBS
22131 if test x$gcc_no_link = xyes; then
22132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22134 { (exit 1); exit 1; }; }
22136 cat >conftest.$ac_ext <<_ACEOF
22139 cat confdefs.h >>conftest.$ac_ext
22140 cat >>conftest.$ac_ext <<_ACEOF
22141 /* end confdefs.h. */
22143 /* Override any gcc2 internal prototype to avoid an error. */
22147 /* We use char because int might match the return type of a gcc2
22148 builtin and then its argument prototype would still apply. */
22158 rm -f conftest.$ac_objext conftest$ac_exeext
22159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22160 (eval $ac_link) 2>conftest.er1
22162 grep -v '^ *+' conftest.er1 >conftest.err
22164 cat conftest.err >&5
22165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22166 (exit $ac_status); } &&
22167 { ac_try='test -z "$ac_c_werror_flag"
22168 || test ! -s conftest.err'
22169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22170 (eval $ac_try) 2>&5
22172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22173 (exit $ac_status); }; } &&
22174 { ac_try='test -s conftest$ac_exeext'
22175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22176 (eval $ac_try) 2>&5
22178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179 (exit $ac_status); }; }; then
22180 ac_cv_lib_m_jnl=yes
22182 echo "$as_me: failed program was:" >&5
22183 sed 's/^/| /' conftest.$ac_ext >&5
22187 rm -f conftest.err conftest.$ac_objext \
22188 conftest$ac_exeext conftest.$ac_ext
22189 LIBS=$ac_check_lib_save_LIBS
22191 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
22192 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
22193 if test $ac_cv_lib_m_jnl = yes; then
22195 cat >>confdefs.h <<\_ACEOF
22201 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
22202 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
22203 if test "${ac_cv_lib_m_y0f+set}" = set; then
22204 echo $ECHO_N "(cached) $ECHO_C" >&6
22206 ac_check_lib_save_LIBS=$LIBS
22208 if test x$gcc_no_link = xyes; then
22209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22211 { (exit 1); exit 1; }; }
22213 cat >conftest.$ac_ext <<_ACEOF
22216 cat confdefs.h >>conftest.$ac_ext
22217 cat >>conftest.$ac_ext <<_ACEOF
22218 /* end confdefs.h. */
22220 /* Override any gcc2 internal prototype to avoid an error. */
22224 /* We use char because int might match the return type of a gcc2
22225 builtin and then its argument prototype would still apply. */
22235 rm -f conftest.$ac_objext conftest$ac_exeext
22236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22237 (eval $ac_link) 2>conftest.er1
22239 grep -v '^ *+' conftest.er1 >conftest.err
22241 cat conftest.err >&5
22242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22243 (exit $ac_status); } &&
22244 { ac_try='test -z "$ac_c_werror_flag"
22245 || test ! -s conftest.err'
22246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22247 (eval $ac_try) 2>&5
22249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22250 (exit $ac_status); }; } &&
22251 { ac_try='test -s conftest$ac_exeext'
22252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22253 (eval $ac_try) 2>&5
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); }; }; then
22257 ac_cv_lib_m_y0f=yes
22259 echo "$as_me: failed program was:" >&5
22260 sed 's/^/| /' conftest.$ac_ext >&5
22264 rm -f conftest.err conftest.$ac_objext \
22265 conftest$ac_exeext conftest.$ac_ext
22266 LIBS=$ac_check_lib_save_LIBS
22268 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
22269 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
22270 if test $ac_cv_lib_m_y0f = yes; then
22272 cat >>confdefs.h <<\_ACEOF
22278 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
22279 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
22280 if test "${ac_cv_lib_m_y0+set}" = set; then
22281 echo $ECHO_N "(cached) $ECHO_C" >&6
22283 ac_check_lib_save_LIBS=$LIBS
22285 if test x$gcc_no_link = xyes; then
22286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22288 { (exit 1); exit 1; }; }
22290 cat >conftest.$ac_ext <<_ACEOF
22293 cat confdefs.h >>conftest.$ac_ext
22294 cat >>conftest.$ac_ext <<_ACEOF
22295 /* end confdefs.h. */
22297 /* Override any gcc2 internal prototype to avoid an error. */
22301 /* We use char because int might match the return type of a gcc2
22302 builtin and then its argument prototype would still apply. */
22312 rm -f conftest.$ac_objext conftest$ac_exeext
22313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22314 (eval $ac_link) 2>conftest.er1
22316 grep -v '^ *+' conftest.er1 >conftest.err
22318 cat conftest.err >&5
22319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22320 (exit $ac_status); } &&
22321 { ac_try='test -z "$ac_c_werror_flag"
22322 || test ! -s conftest.err'
22323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22324 (eval $ac_try) 2>&5
22326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22327 (exit $ac_status); }; } &&
22328 { ac_try='test -s conftest$ac_exeext'
22329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22330 (eval $ac_try) 2>&5
22332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22333 (exit $ac_status); }; }; then
22336 echo "$as_me: failed program was:" >&5
22337 sed 's/^/| /' conftest.$ac_ext >&5
22341 rm -f conftest.err conftest.$ac_objext \
22342 conftest$ac_exeext conftest.$ac_ext
22343 LIBS=$ac_check_lib_save_LIBS
22345 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
22346 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
22347 if test $ac_cv_lib_m_y0 = yes; then
22349 cat >>confdefs.h <<\_ACEOF
22355 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
22356 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
22357 if test "${ac_cv_lib_m_y0l+set}" = set; then
22358 echo $ECHO_N "(cached) $ECHO_C" >&6
22360 ac_check_lib_save_LIBS=$LIBS
22362 if test x$gcc_no_link = xyes; then
22363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22365 { (exit 1); exit 1; }; }
22367 cat >conftest.$ac_ext <<_ACEOF
22370 cat confdefs.h >>conftest.$ac_ext
22371 cat >>conftest.$ac_ext <<_ACEOF
22372 /* end confdefs.h. */
22374 /* Override any gcc2 internal prototype to avoid an error. */
22378 /* We use char because int might match the return type of a gcc2
22379 builtin and then its argument prototype would still apply. */
22389 rm -f conftest.$ac_objext conftest$ac_exeext
22390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22391 (eval $ac_link) 2>conftest.er1
22393 grep -v '^ *+' conftest.er1 >conftest.err
22395 cat conftest.err >&5
22396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22397 (exit $ac_status); } &&
22398 { ac_try='test -z "$ac_c_werror_flag"
22399 || test ! -s conftest.err'
22400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22401 (eval $ac_try) 2>&5
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); }; } &&
22405 { ac_try='test -s conftest$ac_exeext'
22406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22407 (eval $ac_try) 2>&5
22409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22410 (exit $ac_status); }; }; then
22411 ac_cv_lib_m_y0l=yes
22413 echo "$as_me: failed program was:" >&5
22414 sed 's/^/| /' conftest.$ac_ext >&5
22418 rm -f conftest.err conftest.$ac_objext \
22419 conftest$ac_exeext conftest.$ac_ext
22420 LIBS=$ac_check_lib_save_LIBS
22422 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
22423 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
22424 if test $ac_cv_lib_m_y0l = yes; then
22426 cat >>confdefs.h <<\_ACEOF
22432 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
22433 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
22434 if test "${ac_cv_lib_m_y1f+set}" = set; then
22435 echo $ECHO_N "(cached) $ECHO_C" >&6
22437 ac_check_lib_save_LIBS=$LIBS
22439 if test x$gcc_no_link = xyes; then
22440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22442 { (exit 1); exit 1; }; }
22444 cat >conftest.$ac_ext <<_ACEOF
22447 cat confdefs.h >>conftest.$ac_ext
22448 cat >>conftest.$ac_ext <<_ACEOF
22449 /* end confdefs.h. */
22451 /* Override any gcc2 internal prototype to avoid an error. */
22455 /* We use char because int might match the return type of a gcc2
22456 builtin and then its argument prototype would still apply. */
22466 rm -f conftest.$ac_objext conftest$ac_exeext
22467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22468 (eval $ac_link) 2>conftest.er1
22470 grep -v '^ *+' conftest.er1 >conftest.err
22472 cat conftest.err >&5
22473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22474 (exit $ac_status); } &&
22475 { ac_try='test -z "$ac_c_werror_flag"
22476 || test ! -s conftest.err'
22477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22478 (eval $ac_try) 2>&5
22480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22481 (exit $ac_status); }; } &&
22482 { ac_try='test -s conftest$ac_exeext'
22483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22484 (eval $ac_try) 2>&5
22486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22487 (exit $ac_status); }; }; then
22488 ac_cv_lib_m_y1f=yes
22490 echo "$as_me: failed program was:" >&5
22491 sed 's/^/| /' conftest.$ac_ext >&5
22495 rm -f conftest.err conftest.$ac_objext \
22496 conftest$ac_exeext conftest.$ac_ext
22497 LIBS=$ac_check_lib_save_LIBS
22499 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
22500 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
22501 if test $ac_cv_lib_m_y1f = yes; then
22503 cat >>confdefs.h <<\_ACEOF
22509 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
22510 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
22511 if test "${ac_cv_lib_m_y1+set}" = set; then
22512 echo $ECHO_N "(cached) $ECHO_C" >&6
22514 ac_check_lib_save_LIBS=$LIBS
22516 if test x$gcc_no_link = xyes; then
22517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22519 { (exit 1); exit 1; }; }
22521 cat >conftest.$ac_ext <<_ACEOF
22524 cat confdefs.h >>conftest.$ac_ext
22525 cat >>conftest.$ac_ext <<_ACEOF
22526 /* end confdefs.h. */
22528 /* Override any gcc2 internal prototype to avoid an error. */
22532 /* We use char because int might match the return type of a gcc2
22533 builtin and then its argument prototype would still apply. */
22543 rm -f conftest.$ac_objext conftest$ac_exeext
22544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22545 (eval $ac_link) 2>conftest.er1
22547 grep -v '^ *+' conftest.er1 >conftest.err
22549 cat conftest.err >&5
22550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22551 (exit $ac_status); } &&
22552 { ac_try='test -z "$ac_c_werror_flag"
22553 || test ! -s conftest.err'
22554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22555 (eval $ac_try) 2>&5
22557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22558 (exit $ac_status); }; } &&
22559 { ac_try='test -s conftest$ac_exeext'
22560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22561 (eval $ac_try) 2>&5
22563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22564 (exit $ac_status); }; }; then
22567 echo "$as_me: failed program was:" >&5
22568 sed 's/^/| /' conftest.$ac_ext >&5
22572 rm -f conftest.err conftest.$ac_objext \
22573 conftest$ac_exeext conftest.$ac_ext
22574 LIBS=$ac_check_lib_save_LIBS
22576 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
22577 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
22578 if test $ac_cv_lib_m_y1 = yes; then
22580 cat >>confdefs.h <<\_ACEOF
22586 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
22587 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
22588 if test "${ac_cv_lib_m_y1l+set}" = set; then
22589 echo $ECHO_N "(cached) $ECHO_C" >&6
22591 ac_check_lib_save_LIBS=$LIBS
22593 if test x$gcc_no_link = xyes; then
22594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22596 { (exit 1); exit 1; }; }
22598 cat >conftest.$ac_ext <<_ACEOF
22601 cat confdefs.h >>conftest.$ac_ext
22602 cat >>conftest.$ac_ext <<_ACEOF
22603 /* end confdefs.h. */
22605 /* Override any gcc2 internal prototype to avoid an error. */
22609 /* We use char because int might match the return type of a gcc2
22610 builtin and then its argument prototype would still apply. */
22620 rm -f conftest.$ac_objext conftest$ac_exeext
22621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22622 (eval $ac_link) 2>conftest.er1
22624 grep -v '^ *+' conftest.er1 >conftest.err
22626 cat conftest.err >&5
22627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22628 (exit $ac_status); } &&
22629 { ac_try='test -z "$ac_c_werror_flag"
22630 || test ! -s conftest.err'
22631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22632 (eval $ac_try) 2>&5
22634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22635 (exit $ac_status); }; } &&
22636 { ac_try='test -s conftest$ac_exeext'
22637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22638 (eval $ac_try) 2>&5
22640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22641 (exit $ac_status); }; }; then
22642 ac_cv_lib_m_y1l=yes
22644 echo "$as_me: failed program was:" >&5
22645 sed 's/^/| /' conftest.$ac_ext >&5
22649 rm -f conftest.err conftest.$ac_objext \
22650 conftest$ac_exeext conftest.$ac_ext
22651 LIBS=$ac_check_lib_save_LIBS
22653 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
22654 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
22655 if test $ac_cv_lib_m_y1l = yes; then
22657 cat >>confdefs.h <<\_ACEOF
22663 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
22664 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
22665 if test "${ac_cv_lib_m_ynf+set}" = set; then
22666 echo $ECHO_N "(cached) $ECHO_C" >&6
22668 ac_check_lib_save_LIBS=$LIBS
22670 if test x$gcc_no_link = xyes; then
22671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22673 { (exit 1); exit 1; }; }
22675 cat >conftest.$ac_ext <<_ACEOF
22678 cat confdefs.h >>conftest.$ac_ext
22679 cat >>conftest.$ac_ext <<_ACEOF
22680 /* end confdefs.h. */
22682 /* Override any gcc2 internal prototype to avoid an error. */
22686 /* We use char because int might match the return type of a gcc2
22687 builtin and then its argument prototype would still apply. */
22697 rm -f conftest.$ac_objext conftest$ac_exeext
22698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22699 (eval $ac_link) 2>conftest.er1
22701 grep -v '^ *+' conftest.er1 >conftest.err
22703 cat conftest.err >&5
22704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705 (exit $ac_status); } &&
22706 { ac_try='test -z "$ac_c_werror_flag"
22707 || test ! -s conftest.err'
22708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22709 (eval $ac_try) 2>&5
22711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22712 (exit $ac_status); }; } &&
22713 { ac_try='test -s conftest$ac_exeext'
22714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22715 (eval $ac_try) 2>&5
22717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718 (exit $ac_status); }; }; then
22719 ac_cv_lib_m_ynf=yes
22721 echo "$as_me: failed program was:" >&5
22722 sed 's/^/| /' conftest.$ac_ext >&5
22726 rm -f conftest.err conftest.$ac_objext \
22727 conftest$ac_exeext conftest.$ac_ext
22728 LIBS=$ac_check_lib_save_LIBS
22730 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
22731 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
22732 if test $ac_cv_lib_m_ynf = yes; then
22734 cat >>confdefs.h <<\_ACEOF
22740 echo "$as_me:$LINENO: checking for yn in -lm" >&5
22741 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
22742 if test "${ac_cv_lib_m_yn+set}" = set; then
22743 echo $ECHO_N "(cached) $ECHO_C" >&6
22745 ac_check_lib_save_LIBS=$LIBS
22747 if test x$gcc_no_link = xyes; then
22748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22750 { (exit 1); exit 1; }; }
22752 cat >conftest.$ac_ext <<_ACEOF
22755 cat confdefs.h >>conftest.$ac_ext
22756 cat >>conftest.$ac_ext <<_ACEOF
22757 /* end confdefs.h. */
22759 /* Override any gcc2 internal prototype to avoid an error. */
22763 /* We use char because int might match the return type of a gcc2
22764 builtin and then its argument prototype would still apply. */
22774 rm -f conftest.$ac_objext conftest$ac_exeext
22775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22776 (eval $ac_link) 2>conftest.er1
22778 grep -v '^ *+' conftest.er1 >conftest.err
22780 cat conftest.err >&5
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); } &&
22783 { ac_try='test -z "$ac_c_werror_flag"
22784 || test ! -s conftest.err'
22785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22786 (eval $ac_try) 2>&5
22788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789 (exit $ac_status); }; } &&
22790 { ac_try='test -s conftest$ac_exeext'
22791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22792 (eval $ac_try) 2>&5
22794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22795 (exit $ac_status); }; }; then
22798 echo "$as_me: failed program was:" >&5
22799 sed 's/^/| /' conftest.$ac_ext >&5
22803 rm -f conftest.err conftest.$ac_objext \
22804 conftest$ac_exeext conftest.$ac_ext
22805 LIBS=$ac_check_lib_save_LIBS
22807 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
22808 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
22809 if test $ac_cv_lib_m_yn = yes; then
22811 cat >>confdefs.h <<\_ACEOF
22817 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
22818 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
22819 if test "${ac_cv_lib_m_ynl+set}" = set; then
22820 echo $ECHO_N "(cached) $ECHO_C" >&6
22822 ac_check_lib_save_LIBS=$LIBS
22824 if test x$gcc_no_link = xyes; then
22825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22827 { (exit 1); exit 1; }; }
22829 cat >conftest.$ac_ext <<_ACEOF
22832 cat confdefs.h >>conftest.$ac_ext
22833 cat >>conftest.$ac_ext <<_ACEOF
22834 /* end confdefs.h. */
22836 /* Override any gcc2 internal prototype to avoid an error. */
22840 /* We use char because int might match the return type of a gcc2
22841 builtin and then its argument prototype would still apply. */
22851 rm -f conftest.$ac_objext conftest$ac_exeext
22852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22853 (eval $ac_link) 2>conftest.er1
22855 grep -v '^ *+' conftest.er1 >conftest.err
22857 cat conftest.err >&5
22858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859 (exit $ac_status); } &&
22860 { ac_try='test -z "$ac_c_werror_flag"
22861 || test ! -s conftest.err'
22862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22863 (eval $ac_try) 2>&5
22865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22866 (exit $ac_status); }; } &&
22867 { ac_try='test -s conftest$ac_exeext'
22868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22869 (eval $ac_try) 2>&5
22871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22872 (exit $ac_status); }; }; then
22873 ac_cv_lib_m_ynl=yes
22875 echo "$as_me: failed program was:" >&5
22876 sed 's/^/| /' conftest.$ac_ext >&5
22880 rm -f conftest.err conftest.$ac_objext \
22881 conftest$ac_exeext conftest.$ac_ext
22882 LIBS=$ac_check_lib_save_LIBS
22884 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
22885 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
22886 if test $ac_cv_lib_m_ynl = yes; then
22888 cat >>confdefs.h <<\_ACEOF
22895 # On AIX, clog is present in libm as __clog
22896 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
22897 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
22898 if test "${ac_cv_lib_m___clog+set}" = set; then
22899 echo $ECHO_N "(cached) $ECHO_C" >&6
22901 ac_check_lib_save_LIBS=$LIBS
22903 if test x$gcc_no_link = xyes; then
22904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22906 { (exit 1); exit 1; }; }
22908 cat >conftest.$ac_ext <<_ACEOF
22911 cat confdefs.h >>conftest.$ac_ext
22912 cat >>conftest.$ac_ext <<_ACEOF
22913 /* end confdefs.h. */
22915 /* Override any gcc2 internal prototype to avoid an error. */
22919 /* We use char because int might match the return type of a gcc2
22920 builtin and then its argument prototype would still apply. */
22930 rm -f conftest.$ac_objext conftest$ac_exeext
22931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22932 (eval $ac_link) 2>conftest.er1
22934 grep -v '^ *+' conftest.er1 >conftest.err
22936 cat conftest.err >&5
22937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22938 (exit $ac_status); } &&
22939 { ac_try='test -z "$ac_c_werror_flag"
22940 || test ! -s conftest.err'
22941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22942 (eval $ac_try) 2>&5
22944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22945 (exit $ac_status); }; } &&
22946 { ac_try='test -s conftest$ac_exeext'
22947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22948 (eval $ac_try) 2>&5
22950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22951 (exit $ac_status); }; }; then
22952 ac_cv_lib_m___clog=yes
22954 echo "$as_me: failed program was:" >&5
22955 sed 's/^/| /' conftest.$ac_ext >&5
22957 ac_cv_lib_m___clog=no
22959 rm -f conftest.err conftest.$ac_objext \
22960 conftest$ac_exeext conftest.$ac_ext
22961 LIBS=$ac_check_lib_save_LIBS
22963 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
22964 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
22965 if test $ac_cv_lib_m___clog = yes; then
22967 cat >>confdefs.h <<\_ACEOF
22968 #define HAVE_CLOG 1
22974 # Check for a isfinite macro that works on long doubles.
22976 echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
22977 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
22978 if test "${have_broken_isfinite+set}" = set; then
22979 echo $ECHO_N "(cached) $ECHO_C" >&6
22982 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
22984 if test "$cross_compiling" = yes; then
22986 case "${target}" in
22987 hppa*-*-hpux*) have_broken_isfinite=yes ;;
22988 *) have_broken_isfinite=no ;;
22991 cat >conftest.$ac_ext <<_ACEOF
22994 cat confdefs.h >>conftest.$ac_ext
22995 cat >>conftest.$ac_ext <<_ACEOF
22996 /* end confdefs.h. */
23006 if (!isfinite(LDBL_MAX)) return 1;
23009 if (!isfinite(DBL_MAX)) return 1;
23015 rm -f conftest$ac_exeext
23016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23017 (eval $ac_link) 2>&5
23019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23020 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23022 (eval $ac_try) 2>&5
23024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23025 (exit $ac_status); }; }; then
23026 have_broken_isfinite=no
23028 echo "$as_me: program exited with status $ac_status" >&5
23029 echo "$as_me: failed program was:" >&5
23030 sed 's/^/| /' conftest.$ac_ext >&5
23032 ( exit $ac_status )
23033 have_broken_isfinite=yes
23035 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23037 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
23039 echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
23040 echo "${ECHO_T}$have_broken_isfinite" >&6
23041 if test x"$have_broken_isfinite" = xyes; then
23043 cat >>confdefs.h <<\_ACEOF
23044 #define HAVE_BROKEN_ISFINITE 1
23049 # Check for a isnan macro that works on long doubles.
23051 echo "$as_me:$LINENO: checking whether isnan is broken" >&5
23052 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
23053 if test "${have_broken_isnan+set}" = set; then
23054 echo $ECHO_N "(cached) $ECHO_C" >&6
23057 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
23059 if test "$cross_compiling" = yes; then
23061 case "${target}" in
23062 hppa*-*-hpux*) have_broken_isnan=yes ;;
23063 *) have_broken_isnan=no ;;
23066 cat >conftest.$ac_ext <<_ACEOF
23069 cat confdefs.h >>conftest.$ac_ext
23070 cat >>conftest.$ac_ext <<_ACEOF
23071 /* end confdefs.h. */
23083 x = __builtin_nanl ("");
23084 if (!isnan(x)) return 1;
23085 if (isnan(LDBL_MAX)) return 1;
23087 x = (long double) NAN;
23088 if (!isnan(x)) return 1;
23095 y = __builtin_nan ("");
23096 if (!isnan(y)) return 1;
23097 if (isnan(DBL_MAX)) return 1;
23100 if (!isnan(y)) return 1;
23108 rm -f conftest$ac_exeext
23109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23110 (eval $ac_link) 2>&5
23112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23113 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23115 (eval $ac_try) 2>&5
23117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23118 (exit $ac_status); }; }; then
23119 have_broken_isnan=no
23121 echo "$as_me: program exited with status $ac_status" >&5
23122 echo "$as_me: failed program was:" >&5
23123 sed 's/^/| /' conftest.$ac_ext >&5
23125 ( exit $ac_status )
23126 have_broken_isnan=yes
23128 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23130 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
23132 echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
23133 echo "${ECHO_T}$have_broken_isnan" >&6
23134 if test x"$have_broken_isnan" = xyes; then
23136 cat >>confdefs.h <<\_ACEOF
23137 #define HAVE_BROKEN_ISNAN 1
23142 # Check for a fpclassify macro that works on long doubles.
23144 echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
23145 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
23146 if test "${have_broken_fpclassify+set}" = set; then
23147 echo $ECHO_N "(cached) $ECHO_C" >&6
23150 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
23152 if test "$cross_compiling" = yes; then
23154 case "${target}" in
23155 hppa*-*-hpux*) have_broken_fpclassify=yes ;;
23156 *) have_broken_fpclassify=no ;;
23159 cat >conftest.$ac_ext <<_ACEOF
23162 cat confdefs.h >>conftest.$ac_ext
23163 cat >>conftest.$ac_ext <<_ACEOF
23164 /* end confdefs.h. */
23174 if (fpclassify(LDBL_MAX) == FP_NAN
23175 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
23178 if (fpclassify(DBL_MAX) == FP_NAN
23179 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
23185 rm -f conftest$ac_exeext
23186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23187 (eval $ac_link) 2>&5
23189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23190 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23192 (eval $ac_try) 2>&5
23194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23195 (exit $ac_status); }; }; then
23196 have_broken_fpclassify=no
23198 echo "$as_me: program exited with status $ac_status" >&5
23199 echo "$as_me: failed program was:" >&5
23200 sed 's/^/| /' conftest.$ac_ext >&5
23202 ( exit $ac_status )
23203 have_broken_fpclassify=yes
23205 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23207 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
23209 echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
23210 echo "${ECHO_T}$have_broken_fpclassify" >&6
23211 if test x"$have_broken_fpclassify" = xyes; then
23213 cat >>confdefs.h <<\_ACEOF
23214 #define HAVE_BROKEN_FPCLASSIFY 1
23219 # Check whether the system has a working stat()
23221 echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
23222 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
23223 if test "${have_working_stat+set}" = set; then
23224 echo $ECHO_N "(cached) $ECHO_C" >&6
23227 if test "$cross_compiling" = yes; then
23229 case "${target}" in
23230 *mingw*) have_working_stat=no ;;
23231 *) have_working_stat=yes;;
23234 cat >conftest.$ac_ext <<_ACEOF
23237 cat confdefs.h >>conftest.$ac_ext
23238 cat >>conftest.$ac_ext <<_ACEOF
23239 /* end confdefs.h. */
23242 #include <sys/types.h>
23243 #include <sys/stat.h>
23244 #include <unistd.h>
23249 struct stat st1, st2;
23251 f = fopen ("foo", "w");
23252 g = fopen ("bar", "w");
23253 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
23255 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
23262 rm -f conftest$ac_exeext
23263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23264 (eval $ac_link) 2>&5
23266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23267 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23269 (eval $ac_try) 2>&5
23271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23272 (exit $ac_status); }; }; then
23273 have_working_stat=yes
23275 echo "$as_me: program exited with status $ac_status" >&5
23276 echo "$as_me: failed program was:" >&5
23277 sed 's/^/| /' conftest.$ac_ext >&5
23279 ( exit $ac_status )
23280 have_working_stat=no
23282 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23285 echo "$as_me:$LINENO: result: $have_working_stat" >&5
23286 echo "${ECHO_T}$have_working_stat" >&6
23287 if test x"$have_working_stat" = xyes; then
23289 cat >>confdefs.h <<\_ACEOF
23290 #define HAVE_WORKING_STAT 1
23295 # Fallback in case isfinite is not available.
23296 echo "$as_me:$LINENO: checking for finite in -lm" >&5
23297 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
23298 if test "${ac_cv_lib_m_finite+set}" = set; then
23299 echo $ECHO_N "(cached) $ECHO_C" >&6
23301 ac_check_lib_save_LIBS=$LIBS
23303 if test x$gcc_no_link = xyes; then
23304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23306 { (exit 1); exit 1; }; }
23308 cat >conftest.$ac_ext <<_ACEOF
23311 cat confdefs.h >>conftest.$ac_ext
23312 cat >>conftest.$ac_ext <<_ACEOF
23313 /* end confdefs.h. */
23315 /* Override any gcc2 internal prototype to avoid an error. */
23319 /* We use char because int might match the return type of a gcc2
23320 builtin and then its argument prototype would still apply. */
23330 rm -f conftest.$ac_objext conftest$ac_exeext
23331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23332 (eval $ac_link) 2>conftest.er1
23334 grep -v '^ *+' conftest.er1 >conftest.err
23336 cat conftest.err >&5
23337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23338 (exit $ac_status); } &&
23339 { ac_try='test -z "$ac_c_werror_flag"
23340 || test ! -s conftest.err'
23341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23342 (eval $ac_try) 2>&5
23344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23345 (exit $ac_status); }; } &&
23346 { ac_try='test -s conftest$ac_exeext'
23347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23348 (eval $ac_try) 2>&5
23350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23351 (exit $ac_status); }; }; then
23352 ac_cv_lib_m_finite=yes
23354 echo "$as_me: failed program was:" >&5
23355 sed 's/^/| /' conftest.$ac_ext >&5
23357 ac_cv_lib_m_finite=no
23359 rm -f conftest.err conftest.$ac_objext \
23360 conftest$ac_exeext conftest.$ac_ext
23361 LIBS=$ac_check_lib_save_LIBS
23363 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
23364 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
23365 if test $ac_cv_lib_m_finite = yes; then
23367 cat >>confdefs.h <<\_ACEOF
23368 #define HAVE_FINITE 1
23374 # Check for GNU libc feenableexcept
23375 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
23376 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
23377 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
23378 echo $ECHO_N "(cached) $ECHO_C" >&6
23380 ac_check_lib_save_LIBS=$LIBS
23382 if test x$gcc_no_link = xyes; then
23383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23385 { (exit 1); exit 1; }; }
23387 cat >conftest.$ac_ext <<_ACEOF
23390 cat confdefs.h >>conftest.$ac_ext
23391 cat >>conftest.$ac_ext <<_ACEOF
23392 /* end confdefs.h. */
23394 /* Override any gcc2 internal prototype to avoid an error. */
23398 /* We use char because int might match the return type of a gcc2
23399 builtin and then its argument prototype would still apply. */
23400 char feenableexcept ();
23409 rm -f conftest.$ac_objext conftest$ac_exeext
23410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23411 (eval $ac_link) 2>conftest.er1
23413 grep -v '^ *+' conftest.er1 >conftest.err
23415 cat conftest.err >&5
23416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23417 (exit $ac_status); } &&
23418 { ac_try='test -z "$ac_c_werror_flag"
23419 || test ! -s conftest.err'
23420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23421 (eval $ac_try) 2>&5
23423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23424 (exit $ac_status); }; } &&
23425 { ac_try='test -s conftest$ac_exeext'
23426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23427 (eval $ac_try) 2>&5
23429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23430 (exit $ac_status); }; }; then
23431 ac_cv_lib_m_feenableexcept=yes
23433 echo "$as_me: failed program was:" >&5
23434 sed 's/^/| /' conftest.$ac_ext >&5
23436 ac_cv_lib_m_feenableexcept=no
23438 rm -f conftest.err conftest.$ac_objext \
23439 conftest$ac_exeext conftest.$ac_ext
23440 LIBS=$ac_check_lib_save_LIBS
23442 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
23443 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
23444 if test $ac_cv_lib_m_feenableexcept = yes; then
23445 have_feenableexcept=yes
23446 cat >>confdefs.h <<\_ACEOF
23447 #define HAVE_FEENABLEEXCEPT 1
23453 # Check for SysV fpsetmask
23455 echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
23456 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
23457 if test "${have_fpsetmask+set}" = set; then
23458 echo $ECHO_N "(cached) $ECHO_C" >&6
23461 if test x$gcc_no_link = xyes; then
23462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23464 { (exit 1); exit 1; }; }
23466 cat >conftest.$ac_ext <<_ACEOF
23469 cat confdefs.h >>conftest.$ac_ext
23470 cat >>conftest.$ac_ext <<_ACEOF
23471 /* end confdefs.h. */
23473 #if HAVE_FLOATINGPOINT_H
23474 # include <floatingpoint.h>
23475 #endif /* HAVE_FLOATINGPOINT_H */
23477 # include <ieeefp.h>
23478 #endif /* HAVE_IEEEFP_H */
23487 rm -f conftest.$ac_objext conftest$ac_exeext
23488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23489 (eval $ac_link) 2>conftest.er1
23491 grep -v '^ *+' conftest.er1 >conftest.err
23493 cat conftest.err >&5
23494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23495 (exit $ac_status); } &&
23496 { ac_try='test -z "$ac_c_werror_flag"
23497 || test ! -s conftest.err'
23498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23499 (eval $ac_try) 2>&5
23501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23502 (exit $ac_status); }; } &&
23503 { ac_try='test -s conftest$ac_exeext'
23504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23505 (eval $ac_try) 2>&5
23507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23508 (exit $ac_status); }; }; then
23509 eval "have_fpsetmask=yes"
23511 echo "$as_me: failed program was:" >&5
23512 sed 's/^/| /' conftest.$ac_ext >&5
23514 eval "have_fpsetmask=no"
23516 rm -f conftest.err conftest.$ac_objext \
23517 conftest$ac_exeext conftest.$ac_ext
23520 echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
23521 echo "${ECHO_T}$have_fpsetmask" >&6
23522 if test x"$have_fpsetmask" = xyes; then
23524 cat >>confdefs.h <<\_ACEOF
23525 #define HAVE_FPSETMASK 1
23531 # Check for AIX fp_trap and fp_enable
23532 echo "$as_me:$LINENO: checking for fp_trap" >&5
23533 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
23534 if test "${ac_cv_func_fp_trap+set}" = set; then
23535 echo $ECHO_N "(cached) $ECHO_C" >&6
23537 if test x$gcc_no_link = xyes; then
23538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23540 { (exit 1); exit 1; }; }
23542 cat >conftest.$ac_ext <<_ACEOF
23545 cat confdefs.h >>conftest.$ac_ext
23546 cat >>conftest.$ac_ext <<_ACEOF
23547 /* end confdefs.h. */
23548 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
23549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23550 #define fp_trap innocuous_fp_trap
23552 /* System header to define __stub macros and hopefully few prototypes,
23553 which can conflict with char fp_trap (); below.
23554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23555 <limits.h> exists even on freestanding compilers. */
23558 # include <limits.h>
23560 # include <assert.h>
23565 /* Override any gcc2 internal prototype to avoid an error. */
23570 /* We use char because int might match the return type of a gcc2
23571 builtin and then its argument prototype would still apply. */
23573 /* The GNU C library defines this for functions which it implements
23574 to always fail with ENOSYS. Some functions are actually named
23575 something starting with __ and the normal name is an alias. */
23576 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
23579 char (*f) () = fp_trap;
23588 return f != fp_trap;
23593 rm -f conftest.$ac_objext conftest$ac_exeext
23594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23595 (eval $ac_link) 2>conftest.er1
23597 grep -v '^ *+' conftest.er1 >conftest.err
23599 cat conftest.err >&5
23600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23601 (exit $ac_status); } &&
23602 { ac_try='test -z "$ac_c_werror_flag"
23603 || test ! -s conftest.err'
23604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23605 (eval $ac_try) 2>&5
23607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23608 (exit $ac_status); }; } &&
23609 { ac_try='test -s conftest$ac_exeext'
23610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23611 (eval $ac_try) 2>&5
23613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23614 (exit $ac_status); }; }; then
23615 ac_cv_func_fp_trap=yes
23617 echo "$as_me: failed program was:" >&5
23618 sed 's/^/| /' conftest.$ac_ext >&5
23620 ac_cv_func_fp_trap=no
23622 rm -f conftest.err conftest.$ac_objext \
23623 conftest$ac_exeext conftest.$ac_ext
23625 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
23626 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
23627 if test $ac_cv_func_fp_trap = yes; then
23629 cat >>confdefs.h <<\_ACEOF
23630 #define HAVE_FP_TRAP 1
23635 echo "$as_me:$LINENO: checking for fp_enable" >&5
23636 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
23637 if test "${ac_cv_func_fp_enable+set}" = set; then
23638 echo $ECHO_N "(cached) $ECHO_C" >&6
23640 if test x$gcc_no_link = xyes; then
23641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23643 { (exit 1); exit 1; }; }
23645 cat >conftest.$ac_ext <<_ACEOF
23648 cat confdefs.h >>conftest.$ac_ext
23649 cat >>conftest.$ac_ext <<_ACEOF
23650 /* end confdefs.h. */
23651 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
23652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23653 #define fp_enable innocuous_fp_enable
23655 /* System header to define __stub macros and hopefully few prototypes,
23656 which can conflict with char fp_enable (); below.
23657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23658 <limits.h> exists even on freestanding compilers. */
23661 # include <limits.h>
23663 # include <assert.h>
23668 /* Override any gcc2 internal prototype to avoid an error. */
23673 /* We use char because int might match the return type of a gcc2
23674 builtin and then its argument prototype would still apply. */
23676 /* The GNU C library defines this for functions which it implements
23677 to always fail with ENOSYS. Some functions are actually named
23678 something starting with __ and the normal name is an alias. */
23679 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
23682 char (*f) () = fp_enable;
23691 return f != fp_enable;
23696 rm -f conftest.$ac_objext conftest$ac_exeext
23697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23698 (eval $ac_link) 2>conftest.er1
23700 grep -v '^ *+' conftest.er1 >conftest.err
23702 cat conftest.err >&5
23703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23704 (exit $ac_status); } &&
23705 { ac_try='test -z "$ac_c_werror_flag"
23706 || test ! -s conftest.err'
23707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23708 (eval $ac_try) 2>&5
23710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23711 (exit $ac_status); }; } &&
23712 { ac_try='test -s conftest$ac_exeext'
23713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23714 (eval $ac_try) 2>&5
23716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23717 (exit $ac_status); }; }; then
23718 ac_cv_func_fp_enable=yes
23720 echo "$as_me: failed program was:" >&5
23721 sed 's/^/| /' conftest.$ac_ext >&5
23723 ac_cv_func_fp_enable=no
23725 rm -f conftest.err conftest.$ac_objext \
23726 conftest$ac_exeext conftest.$ac_ext
23728 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
23729 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
23730 if test $ac_cv_func_fp_enable = yes; then
23732 cat >>confdefs.h <<\_ACEOF
23733 #define HAVE_FP_ENABLE 1
23739 # Runs configure.host to set up necessary host-dependent shell variables.
23740 # We then display a message about it, and propagate them through the
23742 . ${srcdir}/configure.host
23743 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
23744 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
23745 FPU_HOST_HEADER=config/${fpu_host}.h
23748 # Attempt to assert that the target is of common type in case we don't
23749 # have C99 integer types at all.
23751 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
23752 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
23753 if test "${target_ilp32+set}" = set; then
23754 echo $ECHO_N "(cached) $ECHO_C" >&6
23757 save_CFLAGS="$CFLAGS"
23759 if test x$gcc_no_link = xyes; then
23760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23762 { (exit 1); exit 1; }; }
23764 cat >conftest.$ac_ext <<_ACEOF
23767 cat confdefs.h >>conftest.$ac_ext
23768 cat >>conftest.$ac_ext <<_ACEOF
23769 /* end confdefs.h. */
23775 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
23778 undefined_function ();
23784 rm -f conftest.$ac_objext conftest$ac_exeext
23785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23786 (eval $ac_link) 2>conftest.er1
23788 grep -v '^ *+' conftest.er1 >conftest.err
23790 cat conftest.err >&5
23791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23792 (exit $ac_status); } &&
23793 { ac_try='test -z "$ac_c_werror_flag"
23794 || test ! -s conftest.err'
23795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23796 (eval $ac_try) 2>&5
23798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23799 (exit $ac_status); }; } &&
23800 { ac_try='test -s conftest$ac_exeext'
23801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23802 (eval $ac_try) 2>&5
23804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23805 (exit $ac_status); }; }; then
23808 echo "$as_me: failed program was:" >&5
23809 sed 's/^/| /' conftest.$ac_ext >&5
23813 rm -f conftest.err conftest.$ac_objext \
23814 conftest$ac_exeext conftest.$ac_ext
23815 CFLAGS="$save_CFLAGS"
23817 echo "$as_me:$LINENO: result: $target_ilp32" >&5
23818 echo "${ECHO_T}$target_ilp32" >&6
23819 if test $target_ilp32 = yes; then
23821 cat >>confdefs.h <<\_ACEOF
23822 #define TARGET_ILP32 1
23828 # Check out attribute support.
23830 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
23831 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
23832 if test "${have_attribute_visibility+set}" = set; then
23833 echo $ECHO_N "(cached) $ECHO_C" >&6
23836 save_CFLAGS="$CFLAGS"
23837 CFLAGS="$CFLAGS -Werror"
23838 cat >conftest.$ac_ext <<_ACEOF
23841 cat confdefs.h >>conftest.$ac_ext
23842 cat >>conftest.$ac_ext <<_ACEOF
23843 /* end confdefs.h. */
23844 void __attribute__((visibility("hidden"))) foo(void) { }
23853 rm -f conftest.$ac_objext
23854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23855 (eval $ac_compile) 2>conftest.er1
23857 grep -v '^ *+' conftest.er1 >conftest.err
23859 cat conftest.err >&5
23860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23861 (exit $ac_status); } &&
23862 { ac_try='test -z "$ac_c_werror_flag"
23863 || test ! -s conftest.err'
23864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23865 (eval $ac_try) 2>&5
23867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23868 (exit $ac_status); }; } &&
23869 { ac_try='test -s conftest.$ac_objext'
23870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23871 (eval $ac_try) 2>&5
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); }; }; then
23875 have_attribute_visibility=yes
23877 echo "$as_me: failed program was:" >&5
23878 sed 's/^/| /' conftest.$ac_ext >&5
23880 have_attribute_visibility=no
23882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23883 CFLAGS="$save_CFLAGS"
23885 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
23886 echo "${ECHO_T}$have_attribute_visibility" >&6
23887 if test $have_attribute_visibility = yes; then
23889 cat >>confdefs.h <<\_ACEOF
23890 #define HAVE_ATTRIBUTE_VISIBILITY 1
23895 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
23896 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
23897 if test "${have_attribute_dllexport+set}" = set; then
23898 echo $ECHO_N "(cached) $ECHO_C" >&6
23901 save_CFLAGS="$CFLAGS"
23902 CFLAGS="$CFLAGS -Werror"
23903 cat >conftest.$ac_ext <<_ACEOF
23906 cat confdefs.h >>conftest.$ac_ext
23907 cat >>conftest.$ac_ext <<_ACEOF
23908 /* end confdefs.h. */
23909 void __attribute__((dllexport)) foo(void) { }
23918 rm -f conftest.$ac_objext
23919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23920 (eval $ac_compile) 2>conftest.er1
23922 grep -v '^ *+' conftest.er1 >conftest.err
23924 cat conftest.err >&5
23925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23926 (exit $ac_status); } &&
23927 { ac_try='test -z "$ac_c_werror_flag"
23928 || test ! -s conftest.err'
23929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23930 (eval $ac_try) 2>&5
23932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23933 (exit $ac_status); }; } &&
23934 { ac_try='test -s conftest.$ac_objext'
23935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23936 (eval $ac_try) 2>&5
23938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23939 (exit $ac_status); }; }; then
23940 have_attribute_dllexport=yes
23942 echo "$as_me: failed program was:" >&5
23943 sed 's/^/| /' conftest.$ac_ext >&5
23945 have_attribute_dllexport=no
23947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23948 CFLAGS="$save_CFLAGS"
23950 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
23951 echo "${ECHO_T}$have_attribute_dllexport" >&6
23952 if test $have_attribute_dllexport = yes; then
23954 cat >>confdefs.h <<\_ACEOF
23955 #define HAVE_ATTRIBUTE_DLLEXPORT 1
23960 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
23961 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
23962 if test "${have_attribute_alias+set}" = set; then
23963 echo $ECHO_N "(cached) $ECHO_C" >&6
23966 if test x$gcc_no_link = xyes; then
23967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23969 { (exit 1); exit 1; }; }
23971 cat >conftest.$ac_ext <<_ACEOF
23974 cat confdefs.h >>conftest.$ac_ext
23975 cat >>conftest.$ac_ext <<_ACEOF
23976 /* end confdefs.h. */
23979 extern void bar(void) __attribute__((alias("foo")));
23988 rm -f conftest.$ac_objext conftest$ac_exeext
23989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23990 (eval $ac_link) 2>conftest.er1
23992 grep -v '^ *+' conftest.er1 >conftest.err
23994 cat conftest.err >&5
23995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23996 (exit $ac_status); } &&
23997 { ac_try='test -z "$ac_c_werror_flag"
23998 || test ! -s conftest.err'
23999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24000 (eval $ac_try) 2>&5
24002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24003 (exit $ac_status); }; } &&
24004 { ac_try='test -s conftest$ac_exeext'
24005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24006 (eval $ac_try) 2>&5
24008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24009 (exit $ac_status); }; }; then
24010 have_attribute_alias=yes
24012 echo "$as_me: failed program was:" >&5
24013 sed 's/^/| /' conftest.$ac_ext >&5
24015 have_attribute_alias=no
24017 rm -f conftest.err conftest.$ac_objext \
24018 conftest$ac_exeext conftest.$ac_ext
24020 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
24021 echo "${ECHO_T}$have_attribute_alias" >&6
24022 if test $have_attribute_alias = yes; then
24024 cat >>confdefs.h <<\_ACEOF
24025 #define HAVE_ATTRIBUTE_ALIAS 1
24030 # Check out sync builtins support.
24032 echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
24033 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
24034 if test "${have_sync_fetch_and_add+set}" = set; then
24035 echo $ECHO_N "(cached) $ECHO_C" >&6
24038 if test x$gcc_no_link = xyes; then
24039 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24041 { (exit 1); exit 1; }; }
24043 cat >conftest.$ac_ext <<_ACEOF
24046 cat confdefs.h >>conftest.$ac_ext
24047 cat >>conftest.$ac_ext <<_ACEOF
24048 /* end confdefs.h. */
24054 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
24055 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
24060 rm -f conftest.$ac_objext conftest$ac_exeext
24061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24062 (eval $ac_link) 2>conftest.er1
24064 grep -v '^ *+' conftest.er1 >conftest.err
24066 cat conftest.err >&5
24067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24068 (exit $ac_status); } &&
24069 { ac_try='test -z "$ac_c_werror_flag"
24070 || test ! -s conftest.err'
24071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24072 (eval $ac_try) 2>&5
24074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24075 (exit $ac_status); }; } &&
24076 { ac_try='test -s conftest$ac_exeext'
24077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24078 (eval $ac_try) 2>&5
24080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24081 (exit $ac_status); }; }; then
24082 have_sync_fetch_and_add=yes
24084 echo "$as_me: failed program was:" >&5
24085 sed 's/^/| /' conftest.$ac_ext >&5
24087 have_sync_fetch_and_add=no
24089 rm -f conftest.err conftest.$ac_objext \
24090 conftest$ac_exeext conftest.$ac_ext
24092 echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
24093 echo "${ECHO_T}$have_sync_fetch_and_add" >&6
24094 if test $have_sync_fetch_and_add = yes; then
24096 cat >>confdefs.h <<\_ACEOF
24097 #define HAVE_SYNC_FETCH_AND_ADD 1
24102 # Check out thread support.
24104 echo "$as_me:$LINENO: checking configured target thread model" >&5
24105 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
24106 if test "${target_thread_file+set}" = set; then
24107 echo $ECHO_N "(cached) $ECHO_C" >&6
24110 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
24112 echo "$as_me:$LINENO: result: $target_thread_file" >&5
24113 echo "${ECHO_T}$target_thread_file" >&6
24115 if test $target_thread_file != single; then
24117 cat >>confdefs.h <<\_ACEOF
24118 #define HAVE_GTHR_DEFAULT 1
24123 # Check out #pragma weak.
24125 echo "$as_me:$LINENO: checking whether pragma weak works" >&5
24126 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
24127 if test "${have_pragma_weak+set}" = set; then
24128 echo $ECHO_N "(cached) $ECHO_C" >&6
24131 gfor_save_CFLAGS="$CFLAGS"
24132 CFLAGS="$CFLAGS -Wunknown-pragmas"
24133 cat >conftest.$ac_ext <<_ACEOF
24136 cat confdefs.h >>conftest.$ac_ext
24137 cat >>conftest.$ac_ext <<_ACEOF
24138 /* end confdefs.h. */
24149 rm -f conftest.$ac_objext
24150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24151 (eval $ac_compile) 2>conftest.er1
24153 grep -v '^ *+' conftest.er1 >conftest.err
24155 cat conftest.err >&5
24156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24157 (exit $ac_status); } &&
24158 { ac_try='test -z "$ac_c_werror_flag"
24159 || test ! -s conftest.err'
24160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24161 (eval $ac_try) 2>&5
24163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24164 (exit $ac_status); }; } &&
24165 { ac_try='test -s conftest.$ac_objext'
24166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24167 (eval $ac_try) 2>&5
24169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24170 (exit $ac_status); }; }; then
24171 have_pragma_weak=yes
24173 echo "$as_me: failed program was:" >&5
24174 sed 's/^/| /' conftest.$ac_ext >&5
24176 have_pragma_weak=no
24178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24180 echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
24181 echo "${ECHO_T}$have_pragma_weak" >&6
24182 if test $have_pragma_weak = yes; then
24184 cat >>confdefs.h <<\_ACEOF
24185 #define SUPPORTS_WEAK 1
24190 *-*-darwin* | *-*-hpux* | *-*-cygwin*)
24192 cat >>confdefs.h <<\_ACEOF
24193 #define GTHREAD_USE_WEAK 0
24199 # Various other checks on target
24201 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
24202 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
24203 if test "${have_unlink_open_file+set}" = set; then
24204 echo $ECHO_N "(cached) $ECHO_C" >&6
24207 if test "$cross_compiling" = yes; then
24209 case "${target}" in
24210 *mingw*) have_unlink_open_file=no ;;
24211 *) have_unlink_open_file=yes;;
24214 cat >conftest.$ac_ext <<_ACEOF
24217 cat confdefs.h >>conftest.$ac_ext
24218 cat >>conftest.$ac_ext <<_ACEOF
24219 /* end confdefs.h. */
24223 #include <unistd.h>
24224 #include <sys/stat.h>
24230 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
24233 if (unlink ("testfile") == -1)
24235 write (fd, "This is a test\n", 15);
24238 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
24244 rm -f conftest$ac_exeext
24245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24246 (eval $ac_link) 2>&5
24248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24249 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24251 (eval $ac_try) 2>&5
24253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24254 (exit $ac_status); }; }; then
24255 have_unlink_open_file=yes
24257 echo "$as_me: program exited with status $ac_status" >&5
24258 echo "$as_me: failed program was:" >&5
24259 sed 's/^/| /' conftest.$ac_ext >&5
24261 ( exit $ac_status )
24262 have_unlink_open_file=no
24264 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24267 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
24268 echo "${ECHO_T}$have_unlink_open_file" >&6
24269 if test x"$have_unlink_open_file" = xyes; then
24271 cat >>confdefs.h <<\_ACEOF
24272 #define HAVE_UNLINK_OPEN_FILE 1
24277 # Check whether line terminator is LF or CRLF
24279 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
24280 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
24281 if test "${have_crlf+set}" = set; then
24282 echo $ECHO_N "(cached) $ECHO_C" >&6
24285 if test "$cross_compiling" = yes; then
24287 case "${target}" in
24288 *mingw*) have_crlf=yes ;;
24292 cat >conftest.$ac_ext <<_ACEOF
24295 cat confdefs.h >>conftest.$ac_ext
24296 cat >>conftest.$ac_ext <<_ACEOF
24297 /* end confdefs.h. */
24299 /* This test program should exit with status 0 if system uses a CRLF as
24300 line terminator, and status 1 otherwise.
24301 Since it is used to check for mingw systems, and should return 0 in any
24302 other case, in case of a failure we will not use CRLF. */
24303 #include <sys/stat.h>
24304 #include <stdlib.h>
24316 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
24319 if (write (fd, "\n", 1) < 0)
24324 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
24326 bytes = read (fd, buff, 5);
24327 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
24334 rm -f conftest$ac_exeext
24335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24336 (eval $ac_link) 2>&5
24338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24339 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24341 (eval $ac_try) 2>&5
24343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24344 (exit $ac_status); }; }; then
24347 echo "$as_me: program exited with status $ac_status" >&5
24348 echo "$as_me: failed program was:" >&5
24349 sed 's/^/| /' conftest.$ac_ext >&5
24351 ( exit $ac_status )
24354 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24357 echo "$as_me:$LINENO: result: $have_crlf" >&5
24358 echo "${ECHO_T}$have_crlf" >&6
24359 if test x"$have_crlf" = xyes; then
24361 cat >>confdefs.h <<\_ACEOF
24362 #define HAVE_CRLF 1
24367 cat >confcache <<\_ACEOF
24368 # This file is a shell script that caches the results of configure
24369 # tests run on this system so they can be shared between configure
24370 # scripts and configure runs, see configure's option --config-cache.
24371 # It is not useful on other systems. If it contains results you don't
24372 # want to keep, you may remove or edit it.
24374 # config.status only pays attention to the cache file if you give it
24375 # the --recheck option to rerun configure.
24377 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24378 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24379 # following values.
24383 # The following way of writing the cache mishandles newlines in values,
24384 # but we know of no workaround that is simple, portable, and efficient.
24385 # So, don't put newlines in cache variables' values.
24386 # Ultrix sh set writes to stderr and can't be redirected directly,
24387 # and sets the high bit in the cache file unless we assign to the vars.
24390 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24392 # `set' does not quote correctly, so add quotes (double-quote
24393 # substitution turns \\\\ into \\, and sed turns \\ into \).
24396 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24399 # `set' quotes correctly as required by POSIX, so do not add quotes.
24401 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24408 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24410 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24412 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24413 if test -w $cache_file; then
24414 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24415 cat confcache >$cache_file
24417 echo "not updating unwritable cache $cache_file"
24422 if test ${multilib} = yes; then
24423 multilib_arg="--enable-multilib"
24428 # Write our Makefile.
24429 ac_config_files="$ac_config_files Makefile"
24431 cat >confcache <<\_ACEOF
24432 # This file is a shell script that caches the results of configure
24433 # tests run on this system so they can be shared between configure
24434 # scripts and configure runs, see configure's option --config-cache.
24435 # It is not useful on other systems. If it contains results you don't
24436 # want to keep, you may remove or edit it.
24438 # config.status only pays attention to the cache file if you give it
24439 # the --recheck option to rerun configure.
24441 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24442 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24443 # following values.
24447 # The following way of writing the cache mishandles newlines in values,
24448 # but we know of no workaround that is simple, portable, and efficient.
24449 # So, don't put newlines in cache variables' values.
24450 # Ultrix sh set writes to stderr and can't be redirected directly,
24451 # and sets the high bit in the cache file unless we assign to the vars.
24454 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24456 # `set' does not quote correctly, so add quotes (double-quote
24457 # substitution turns \\\\ into \\, and sed turns \\ into \).
24460 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24463 # `set' quotes correctly as required by POSIX, so do not add quotes.
24465 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24472 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24474 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24476 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24477 if test -w $cache_file; then
24478 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24479 cat confcache >$cache_file
24481 echo "not updating unwritable cache $cache_file"
24486 test "x$prefix" = xNONE && prefix=$ac_default_prefix
24487 # Let make expand exec_prefix.
24488 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24490 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24491 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24492 # trailing colons and then remove the whole line if VPATH becomes empty
24493 # (actually we leave an empty line to preserve line numbers).
24494 if test "x$srcdir" = x.; then
24495 ac_vpsub='/^[ ]*VPATH[ ]*=/{
24496 s/:*\$(srcdir):*/:/;
24497 s/:*\${srcdir}:*/:/;
24499 s/^\([^=]*=[ ]*\):*/\1/;
24505 DEFS=-DHAVE_CONFIG_H
24509 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24510 # 1. Remove the extension, and $U if already installed.
24511 ac_i=`echo "$ac_i" |
24512 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
24514 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
24515 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
24517 LIBOBJS=$ac_libobjs
24519 LTLIBOBJS=$ac_ltlibobjs
24522 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24523 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
24524 Usually this means the macro was only invoked conditionally." >&5
24525 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
24526 Usually this means the macro was only invoked conditionally." >&2;}
24527 { (exit 1); exit 1; }; }
24529 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24530 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
24531 Usually this means the macro was only invoked conditionally." >&5
24532 echo "$as_me: error: conditional \"AMDEP\" was never defined.
24533 Usually this means the macro was only invoked conditionally." >&2;}
24534 { (exit 1); exit 1; }; }
24536 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24537 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
24538 Usually this means the macro was only invoked conditionally." >&5
24539 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
24540 Usually this means the macro was only invoked conditionally." >&2;}
24541 { (exit 1); exit 1; }; }
24544 : ${CONFIG_STATUS=./config.status}
24545 ac_clean_files_save=$ac_clean_files
24546 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24547 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24548 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24549 cat >$CONFIG_STATUS <<_ACEOF
24551 # Generated by $as_me.
24552 # Run this file to recreate the current configuration.
24553 # Compiler output produced by configure, useful for debugging
24554 # configure, is in config.log if it exists.
24557 ac_cs_recheck=false
24559 SHELL=\${CONFIG_SHELL-$SHELL}
24562 cat >>$CONFIG_STATUS <<\_ACEOF
24563 ## --------------------- ##
24564 ## M4sh Initialization. ##
24565 ## --------------------- ##
24567 # Be Bourne compatible
24568 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24571 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24572 # is contrary to our usage. Disable this feature.
24573 alias -g '${1+"$@"}'='"$@"'
24574 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24577 DUALCASE=1; export DUALCASE # for MKS sh
24579 # Support unset when possible.
24580 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24587 # Work around bugs in pre-3.0 UWIN ksh.
24588 $as_unset ENV MAIL MAILPATH
24595 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24596 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24597 LC_TELEPHONE LC_TIME
24599 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24600 eval $as_var=C; export $as_var
24606 # Required to use basename.
24607 if expr a : '\(a\)' >/dev/null 2>&1; then
24613 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
24614 as_basename=basename
24620 # Name of the executable.
24621 as_me=`$as_basename "$0" ||
24622 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24623 X"$0" : 'X\(//\)$' \| \
24624 X"$0" : 'X\(/\)$' \| \
24625 . : '\(.\)' 2>/dev/null ||
24627 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
24628 /^X\/\(\/\/\)$/{ s//\1/; q; }
24629 /^X\/\(\/\).*/{ s//\1/; q; }
24633 # PATH needs CR, and LINENO needs CR and PATH.
24634 # Avoid depending upon Character Ranges.
24635 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24636 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24637 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24638 as_cr_digits='0123456789'
24639 as_cr_alnum=$as_cr_Letters$as_cr_digits
24641 # The user is always right.
24642 if test "${PATH_SEPARATOR+set}" != set; then
24643 echo "#! /bin/sh" >conf$$.sh
24644 echo "exit 0" >>conf$$.sh
24646 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
24655 as_lineno_1=$LINENO
24656 as_lineno_2=$LINENO
24657 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24658 test "x$as_lineno_1" != "x$as_lineno_2" &&
24659 test "x$as_lineno_3" = "x$as_lineno_2" || {
24660 # Find who we are. Look in the path if we contain no path at all
24663 *[\\/]* ) as_myself=$0 ;;
24664 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24665 for as_dir in $PATH
24668 test -z "$as_dir" && as_dir=.
24669 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24674 # We did not find ourselves, most probably we were run as `sh COMMAND'
24675 # in which case we are not to be found in the path.
24676 if test "x$as_myself" = x; then
24679 if test ! -f "$as_myself"; then
24680 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
24681 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
24682 { (exit 1); exit 1; }; }
24684 case $CONFIG_SHELL in
24686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24687 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
24690 test -z "$as_dir" && as_dir=.
24691 for as_base in sh bash ksh sh5; do
24694 if ("$as_dir/$as_base" -c '
24695 as_lineno_1=$LINENO
24696 as_lineno_2=$LINENO
24697 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24698 test "x$as_lineno_1" != "x$as_lineno_2" &&
24699 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
24700 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
24701 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
24702 CONFIG_SHELL=$as_dir/$as_base
24703 export CONFIG_SHELL
24704 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
24712 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24713 # uniformly replaced by the line number. The first 'sed' inserts a
24714 # line-number line before each line; the second 'sed' does the real
24715 # work. The second script uses 'N' to pair each line-number line
24716 # with the numbered line, and appends trailing '-' during
24717 # substitution so that $LINENO is not a special case at line end.
24718 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24719 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
24720 sed '=' <$as_myself |
24725 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
24728 s,^['$as_cr_digits']*\n,,
24729 ' >$as_me.lineno &&
24730 chmod +x $as_me.lineno ||
24731 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
24732 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
24733 { (exit 1); exit 1; }; }
24735 # Don't try to exec as it changes $[0], causing all sort of problems
24736 # (the dirname of $[0] is not the place where we might find the
24737 # original and so on. Autoconf is especially sensible to this).
24739 # Exit status is that of the last command.
24744 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
24745 *c*,-n*) ECHO_N= ECHO_C='
24747 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
24748 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
24751 if expr a : '\(a\)' >/dev/null 2>&1; then
24757 rm -f conf$$ conf$$.exe conf$$.file
24759 if ln -s conf$$.file conf$$ 2>/dev/null; then
24760 # We could just check for DJGPP; but this test a) works b) is more generic
24761 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
24762 if test -f conf$$.exe; then
24763 # Don't use ln at all; we don't have any links
24768 elif ln conf$$.file conf$$ 2>/dev/null; then
24773 rm -f conf$$ conf$$.exe conf$$.file
24775 if mkdir -p . 2>/dev/null; then
24778 test -d ./-p && rmdir ./-p
24782 as_executable_p="test -f"
24784 # Sed expression to map a string onto a valid CPP name.
24785 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24787 # Sed expression to map a string onto a valid variable name.
24788 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24792 # We need space, tab and new line, in precisely that order.
24802 # Open the log real soon, to keep \$[0] and so on meaningful, and to
24803 # report actual input values of CONFIG_FILES etc. instead of their
24804 # values after options handling. Logging --version etc. is OK.
24808 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24809 ## Running $as_me. ##
24814 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
24815 generated by GNU Autoconf 2.59. Invocation command line was
24817 CONFIG_FILES = $CONFIG_FILES
24818 CONFIG_HEADERS = $CONFIG_HEADERS
24819 CONFIG_LINKS = $CONFIG_LINKS
24820 CONFIG_COMMANDS = $CONFIG_COMMANDS
24824 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
24828 # Files that config.status was made for.
24829 if test -n "$ac_config_files"; then
24830 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
24833 if test -n "$ac_config_headers"; then
24834 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
24837 if test -n "$ac_config_links"; then
24838 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
24841 if test -n "$ac_config_commands"; then
24842 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
24845 cat >>$CONFIG_STATUS <<\_ACEOF
24848 \`$as_me' instantiates files from templates according to the
24849 current configuration.
24851 Usage: $0 [OPTIONS] [FILE]...
24853 -h, --help print this help, then exit
24854 -V, --version print version number, then exit
24855 -q, --quiet do not print progress messages
24856 -d, --debug don't remove temporary files
24857 --recheck update $as_me by reconfiguring in the same conditions
24858 --file=FILE[:TEMPLATE]
24859 instantiate the configuration file FILE
24860 --header=FILE[:TEMPLATE]
24861 instantiate the configuration header FILE
24863 Configuration files:
24866 Configuration headers:
24869 Configuration commands:
24872 Report bugs to <bug-autoconf@gnu.org>."
24875 cat >>$CONFIG_STATUS <<_ACEOF
24877 GNU Fortran Runtime Library config.status 0.3
24878 configured by $0, generated by GNU Autoconf 2.59,
24879 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
24881 Copyright (C) 2003 Free Software Foundation, Inc.
24882 This config.status script is free software; the Free Software Foundation
24883 gives unlimited permission to copy, distribute and modify it."
24888 cat >>$CONFIG_STATUS <<\_ACEOF
24889 # If no file are specified by the user, then we need to provide default
24890 # value. By we need to know if files were specified by the user.
24896 ac_option=`expr "x$1" : 'x\([^=]*\)='`
24897 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
24905 *) # This is not an option, so the user has probably given explicit
24908 ac_need_defaults=false;;
24912 # Handling of the options.
24914 cat >>$CONFIG_STATUS <<\_ACEOF
24915 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24917 --version | --vers* | -V )
24918 echo "$ac_cs_version"; exit 0 ;;
24920 # Conflict between --help and --header
24921 { { echo "$as_me:$LINENO: error: ambiguous option: $1
24922 Try \`$0 --help' for more information." >&5
24923 echo "$as_me: error: ambiguous option: $1
24924 Try \`$0 --help' for more information." >&2;}
24925 { (exit 1); exit 1; }; };;
24926 --help | --hel | -h )
24927 echo "$ac_cs_usage"; exit 0 ;;
24928 --debug | --d* | -d )
24930 --file | --fil | --fi | --f )
24932 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24933 ac_need_defaults=false;;
24934 --header | --heade | --head | --hea )
24936 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24937 ac_need_defaults=false;;
24938 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24939 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24942 # This is an error.
24943 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
24944 Try \`$0 --help' for more information." >&5
24945 echo "$as_me: error: unrecognized option: $1
24946 Try \`$0 --help' for more information." >&2;}
24947 { (exit 1); exit 1; }; } ;;
24949 *) ac_config_targets="$ac_config_targets $1" ;;
24955 ac_configure_extra_args=
24957 if $ac_cs_silent; then
24959 ac_configure_extra_args="$ac_configure_extra_args --silent"
24963 cat >>$CONFIG_STATUS <<_ACEOF
24964 if \$ac_cs_recheck; then
24965 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24966 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24971 cat >>$CONFIG_STATUS <<_ACEOF
24973 # INIT-COMMANDS section.
24980 with_multisubdir="$with_multisubdir"
24981 with_multisrctop="$with_multisrctop"
24982 with_target_subdir="$with_target_subdir"
24983 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24984 multi_basedir="$multi_basedir"
24985 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24987 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
24991 acx_cv_header_stdint="$acx_cv_header_stdint"
24992 acx_cv_type_int8_t="$acx_cv_type_int8_t"
24993 acx_cv_type_int16_t="$acx_cv_type_int16_t"
24994 acx_cv_type_int32_t="$acx_cv_type_int32_t"
24995 acx_cv_type_int64_t="$acx_cv_type_int64_t"
24996 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
24997 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
24998 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
24999 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
25000 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
25001 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
25002 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
25003 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
25004 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
25011 cat >>$CONFIG_STATUS <<\_ACEOF
25012 for ac_config_target in $ac_config_targets
25014 case "$ac_config_target" in
25015 # Handling of arguments.
25016 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
25017 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
25018 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
25019 "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
25020 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
25021 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25022 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25023 { (exit 1); exit 1; }; };;
25027 # If the user did not use the arguments to specify the items to instantiate,
25028 # then the envvar interface is used. Set only those that are not.
25029 # We use the long form for the default assignment because of an extremely
25030 # bizarre bug on SunOS 4.1.3.
25031 if $ac_need_defaults; then
25032 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
25033 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
25034 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
25037 # Have a temporary directory for convenience. Make it in the build tree
25038 # simply because there is no reason to put it here, and in addition,
25039 # creating and moving files from /tmp can sometimes cause problems.
25040 # Create a temporary directory, and hook for its removal unless debugging.
25043 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
25044 trap '{ (exit 1); exit 1; }' 1 2 13 15
25047 # Create a (secure) tmp directory for tmp files.
25050 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
25051 test -n "$tmp" && test -d "$tmp"
25054 tmp=./confstat$$-$RANDOM
25055 (umask 077 && mkdir $tmp)
25058 echo "$me: cannot create a temporary directory in ." >&2
25059 { (exit 1); exit 1; }
25064 cat >>$CONFIG_STATUS <<_ACEOF
25067 # CONFIG_FILES section.
25070 # No need to generate the scripts if there are no CONFIG_FILES.
25071 # This happens for instance when ./config.status config.h
25072 if test -n "\$CONFIG_FILES"; then
25073 # Protect against being on the right side of a sed subst in config.status.
25074 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
25075 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
25076 s,@SHELL@,$SHELL,;t t
25077 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
25078 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
25079 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
25080 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
25081 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
25082 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
25083 s,@exec_prefix@,$exec_prefix,;t t
25084 s,@prefix@,$prefix,;t t
25085 s,@program_transform_name@,$program_transform_name,;t t
25086 s,@bindir@,$bindir,;t t
25087 s,@sbindir@,$sbindir,;t t
25088 s,@libexecdir@,$libexecdir,;t t
25089 s,@datadir@,$datadir,;t t
25090 s,@sysconfdir@,$sysconfdir,;t t
25091 s,@sharedstatedir@,$sharedstatedir,;t t
25092 s,@localstatedir@,$localstatedir,;t t
25093 s,@libdir@,$libdir,;t t
25094 s,@includedir@,$includedir,;t t
25095 s,@oldincludedir@,$oldincludedir,;t t
25096 s,@infodir@,$infodir,;t t
25097 s,@mandir@,$mandir,;t t
25098 s,@build_alias@,$build_alias,;t t
25099 s,@host_alias@,$host_alias,;t t
25100 s,@target_alias@,$target_alias,;t t
25101 s,@DEFS@,$DEFS,;t t
25102 s,@ECHO_C@,$ECHO_C,;t t
25103 s,@ECHO_N@,$ECHO_N,;t t
25104 s,@ECHO_T@,$ECHO_T,;t t
25105 s,@LIBS@,$LIBS,;t t
25106 s,@build@,$build,;t t
25107 s,@build_cpu@,$build_cpu,;t t
25108 s,@build_vendor@,$build_vendor,;t t
25109 s,@build_os@,$build_os,;t t
25110 s,@build_libsubdir@,$build_libsubdir,;t t
25111 s,@build_subdir@,$build_subdir,;t t
25112 s,@host_subdir@,$host_subdir,;t t
25113 s,@target_subdir@,$target_subdir,;t t
25114 s,@host@,$host,;t t
25115 s,@host_cpu@,$host_cpu,;t t
25116 s,@host_vendor@,$host_vendor,;t t
25117 s,@host_os@,$host_os,;t t
25118 s,@target@,$target,;t t
25119 s,@target_cpu@,$target_cpu,;t t
25120 s,@target_vendor@,$target_vendor,;t t
25121 s,@target_os@,$target_os,;t t
25122 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
25123 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
25124 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
25125 s,@CYGPATH_W@,$CYGPATH_W,;t t
25126 s,@PACKAGE@,$PACKAGE,;t t
25127 s,@VERSION@,$VERSION,;t t
25128 s,@ACLOCAL@,$ACLOCAL,;t t
25129 s,@AUTOCONF@,$AUTOCONF,;t t
25130 s,@AUTOMAKE@,$AUTOMAKE,;t t
25131 s,@AUTOHEADER@,$AUTOHEADER,;t t
25132 s,@MAKEINFO@,$MAKEINFO,;t t
25133 s,@install_sh@,$install_sh,;t t
25134 s,@STRIP@,$STRIP,;t t
25135 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
25136 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
25137 s,@mkdir_p@,$mkdir_p,;t t
25139 s,@SET_MAKE@,$SET_MAKE,;t t
25140 s,@am__leading_dot@,$am__leading_dot,;t t
25141 s,@AMTAR@,$AMTAR,;t t
25142 s,@am__tar@,$am__tar,;t t
25143 s,@am__untar@,$am__untar,;t t
25144 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
25145 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
25146 s,@MAINT@,$MAINT,;t t
25147 s,@multi_basedir@,$multi_basedir,;t t
25148 s,@toolexecdir@,$toolexecdir,;t t
25149 s,@toolexeclibdir@,$toolexeclibdir,;t t
25151 s,@ac_ct_CC@,$ac_ct_CC,;t t
25152 s,@EXEEXT@,$EXEEXT,;t t
25153 s,@OBJEXT@,$OBJEXT,;t t
25154 s,@DEPDIR@,$DEPDIR,;t t
25155 s,@am__include@,$am__include,;t t
25156 s,@am__quote@,$am__quote,;t t
25157 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
25158 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
25159 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
25160 s,@CCDEPMODE@,$CCDEPMODE,;t t
25161 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
25162 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
25163 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
25164 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
25166 s,@ac_ct_AS@,$ac_ct_AS,;t t
25168 s,@ac_ct_AR@,$ac_ct_AR,;t t
25169 s,@RANLIB@,$RANLIB,;t t
25170 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
25171 s,@LN_S@,$LN_S,;t t
25172 s,@LIBTOOL@,$LIBTOOL,;t t
25173 s,@enable_shared@,$enable_shared,;t t
25174 s,@enable_static@,$enable_static,;t t
25176 s,@FCFLAGS@,$FCFLAGS,;t t
25177 s,@LDFLAGS@,$LDFLAGS,;t t
25178 s,@ac_ct_FC@,$ac_ct_FC,;t t
25179 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
25181 s,@CPPFLAGS@,$CPPFLAGS,;t t
25182 s,@EGREP@,$EGREP,;t t
25183 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
25184 s,@LIBOBJS@,$LIBOBJS,;t t
25185 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
25190 cat >>$CONFIG_STATUS <<\_ACEOF
25191 # Split the substitutions into bite-sized pieces for seds with
25192 # small command number limits, like on Digital OSF/1 and HP-UX.
25193 ac_max_sed_lines=48
25194 ac_sed_frag=1 # Number of current file.
25195 ac_beg=1 # First line for current file.
25196 ac_end=$ac_max_sed_lines # Line after last line for current file.
25199 while $ac_more_lines; do
25200 if test $ac_beg -gt 1; then
25201 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
25203 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
25205 if test ! -s $tmp/subs.frag; then
25206 ac_more_lines=false
25208 # The purpose of the label and of the branching condition is to
25209 # speed up the sed processing (if there are no `@' at all, there
25210 # is no need to browse any of the substitutions).
25211 # These are the two extra sed commands mentioned above.
25213 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
25214 if test -z "$ac_sed_cmds"; then
25215 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
25217 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
25219 ac_sed_frag=`expr $ac_sed_frag + 1`
25221 ac_end=`expr $ac_end + $ac_max_sed_lines`
25224 if test -z "$ac_sed_cmds"; then
25227 fi # test -n "$CONFIG_FILES"
25230 cat >>$CONFIG_STATUS <<\_ACEOF
25231 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
25232 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25234 - | *:- | *:-:* ) # input from stdin
25236 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25237 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25238 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25239 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25240 * ) ac_file_in=$ac_file.in ;;
25243 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
25244 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
25245 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25246 X"$ac_file" : 'X\(//\)[^/]' \| \
25247 X"$ac_file" : 'X\(//\)$' \| \
25248 X"$ac_file" : 'X\(/\)' \| \
25249 . : '\(.\)' 2>/dev/null ||
25251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25252 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25253 /^X\(\/\/\)$/{ s//\1/; q; }
25254 /^X\(\/\).*/{ s//\1/; q; }
25256 { if $as_mkdir_p; then
25261 while test ! -d "$as_dir"; do
25262 as_dirs="$as_dir $as_dirs"
25263 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25264 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25265 X"$as_dir" : 'X\(//\)[^/]' \| \
25266 X"$as_dir" : 'X\(//\)$' \| \
25267 X"$as_dir" : 'X\(/\)' \| \
25268 . : '\(.\)' 2>/dev/null ||
25270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25271 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25272 /^X\(\/\/\)$/{ s//\1/; q; }
25273 /^X\(\/\).*/{ s//\1/; q; }
25276 test ! -n "$as_dirs" || mkdir $as_dirs
25277 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25278 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25279 { (exit 1); exit 1; }; }; }
25283 if test "$ac_dir" != .; then
25284 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25285 # A "../" for each directory in $ac_dir_suffix.
25286 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25288 ac_dir_suffix= ac_top_builddir=
25292 .) # No --srcdir option. We are building in place.
25294 if test -z "$ac_top_builddir"; then
25297 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
25299 [\\/]* | ?:[\\/]* ) # Absolute path.
25300 ac_srcdir=$srcdir$ac_dir_suffix;
25301 ac_top_srcdir=$srcdir ;;
25302 *) # Relative path.
25303 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
25304 ac_top_srcdir=$ac_top_builddir$srcdir ;;
25307 # Do not use `cd foo && pwd` to compute absolute paths, because
25308 # the directories may not exist.
25310 .) ac_abs_builddir="$ac_dir";;
25313 .) ac_abs_builddir=`pwd`;;
25314 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
25315 *) ac_abs_builddir=`pwd`/"$ac_dir";;
25318 case $ac_abs_builddir in
25319 .) ac_abs_top_builddir=${ac_top_builddir}.;;
25321 case ${ac_top_builddir}. in
25322 .) ac_abs_top_builddir=$ac_abs_builddir;;
25323 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
25324 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
25327 case $ac_abs_builddir in
25328 .) ac_abs_srcdir=$ac_srcdir;;
25331 .) ac_abs_srcdir=$ac_abs_builddir;;
25332 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
25333 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
25336 case $ac_abs_builddir in
25337 .) ac_abs_top_srcdir=$ac_top_srcdir;;
25339 case $ac_top_srcdir in
25340 .) ac_abs_top_srcdir=$ac_abs_builddir;;
25341 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
25342 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
25348 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25349 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
25352 if test x"$ac_file" != x-; then
25353 { echo "$as_me:$LINENO: creating $ac_file" >&5
25354 echo "$as_me: creating $ac_file" >&6;}
25357 # Let's still pretend it is `configure' which instantiates (i.e., don't
25358 # use $as_me), people would be surprised to read:
25359 # /* config.h. Generated by config.status. */
25360 if test x"$ac_file" = x-; then
25363 configure_input="$ac_file. "
25365 configure_input=$configure_input"Generated from `echo $ac_file_in |
25366 sed 's,.*/,,'` by configure."
25368 # First look for the input files in the build tree, otherwise in the
25370 ac_file_inputs=`IFS=:
25371 for f in $ac_file_in; do
25373 -) echo $tmp/stdin ;;
25375 # Absolute (can't be DOS-style, as IFS=:)
25376 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25377 echo "$as_me: error: cannot find input file: $f" >&2;}
25378 { (exit 1); exit 1; }; }
25381 if test -f "$f"; then
25384 elif test -f "$srcdir/$f"; then
25389 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25390 echo "$as_me: error: cannot find input file: $f" >&2;}
25391 { (exit 1); exit 1; }; }
25394 done` || { (exit 1); exit 1; }
25396 cat >>$CONFIG_STATUS <<_ACEOF
25400 cat >>$CONFIG_STATUS <<\_ACEOF
25402 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25403 s,@configure_input@,$configure_input,;t t
25404 s,@srcdir@,$ac_srcdir,;t t
25405 s,@abs_srcdir@,$ac_abs_srcdir,;t t
25406 s,@top_srcdir@,$ac_top_srcdir,;t t
25407 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
25408 s,@builddir@,$ac_builddir,;t t
25409 s,@abs_builddir@,$ac_abs_builddir,;t t
25410 s,@top_builddir@,$ac_top_builddir,;t t
25411 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
25412 s,@INSTALL@,$ac_INSTALL,;t t
25413 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
25415 if test x"$ac_file" != x-; then
25416 mv $tmp/out $ac_file
25424 cat >>$CONFIG_STATUS <<\_ACEOF
25427 # CONFIG_HEADER section.
25430 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
25431 # NAME is the cpp macro being defined and VALUE is the value it is being given.
25433 # ac_d sets the value in "#define NAME VALUE" lines.
25434 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
25435 ac_dB='[ ].*$,\1#\2'
25438 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
25439 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
25440 ac_uB='$,\1#\2define\3'
25444 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
25445 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25447 - | *:- | *:-:* ) # input from stdin
25449 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25450 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25451 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25452 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25453 * ) ac_file_in=$ac_file.in ;;
25456 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
25457 echo "$as_me: creating $ac_file" >&6;}
25459 # First look for the input files in the build tree, otherwise in the
25461 ac_file_inputs=`IFS=:
25462 for f in $ac_file_in; do
25464 -) echo $tmp/stdin ;;
25466 # Absolute (can't be DOS-style, as IFS=:)
25467 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25468 echo "$as_me: error: cannot find input file: $f" >&2;}
25469 { (exit 1); exit 1; }; }
25470 # Do quote $f, to prevent DOS paths from being IFS'd.
25473 if test -f "$f"; then
25476 elif test -f "$srcdir/$f"; then
25481 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25482 echo "$as_me: error: cannot find input file: $f" >&2;}
25483 { (exit 1); exit 1; }; }
25486 done` || { (exit 1); exit 1; }
25487 # Remove the trailing spaces.
25488 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
25492 # Transform confdefs.h into two sed scripts, `conftest.defines' and
25493 # `conftest.undefs', that substitutes the proper values into
25494 # config.h.in to produce config.h. The first handles `#define'
25495 # templates, and the second `#undef' templates.
25496 # And first: Protect against being on the right side of a sed subst in
25497 # config.status. Protect against being in an unquoted here document
25498 # in config.status.
25499 rm -f conftest.defines conftest.undefs
25500 # Using a here document instead of a string reduces the quoting nightmare.
25501 # Putting comments in sed scripts is not portable.
25503 # `end' is used to avoid that the second main sed command (meant for
25504 # 0-ary CPP macros) applies to n-ary macro definitions.
25505 # See the Autoconf documentation for `clear'.
25506 cat >confdef2sed.sed <<\_ACEOF
25511 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
25513 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
25516 # If some macros were called several times there might be several times
25517 # the same #defines, which is useless. Nevertheless, we may not want to
25518 # sort them, since we want the *last* AC-DEFINE to be honored.
25519 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
25520 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
25521 rm -f confdef2sed.sed
25523 # This sed command replaces #undef with comments. This is necessary, for
25524 # example, in the case of _POSIX_SOURCE, which is predefined and required
25525 # on some systems where configure will not decide to define it.
25526 cat >>conftest.undefs <<\_ACEOF
25527 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
25530 # Break up conftest.defines because some shells have a limit on the size
25531 # of here documents, and old seds have small limits too (100 cmds).
25532 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
25533 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
25534 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
25535 echo ' :' >>$CONFIG_STATUS
25536 rm -f conftest.tail
25537 while grep . conftest.defines >/dev/null
25539 # Write a limited-size here document to $tmp/defines.sed.
25540 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
25541 # Speed up: don't consider the non `#define' lines.
25542 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
25543 # Work around the forget-to-reset-the-flag bug.
25544 echo 't clr' >>$CONFIG_STATUS
25545 echo ': clr' >>$CONFIG_STATUS
25546 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
25548 sed -f $tmp/defines.sed $tmp/in >$tmp/out
25550 mv $tmp/out $tmp/in
25552 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
25553 rm -f conftest.defines
25554 mv conftest.tail conftest.defines
25556 rm -f conftest.defines
25557 echo ' fi # grep' >>$CONFIG_STATUS
25558 echo >>$CONFIG_STATUS
25560 # Break up conftest.undefs because some shells have a limit on the size
25561 # of here documents, and old seds have small limits too (100 cmds).
25562 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
25563 rm -f conftest.tail
25564 while grep . conftest.undefs >/dev/null
25566 # Write a limited-size here document to $tmp/undefs.sed.
25567 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
25568 # Speed up: don't consider the non `#undef'
25569 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
25570 # Work around the forget-to-reset-the-flag bug.
25571 echo 't clr' >>$CONFIG_STATUS
25572 echo ': clr' >>$CONFIG_STATUS
25573 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
25575 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
25577 mv $tmp/out $tmp/in
25579 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
25580 rm -f conftest.undefs
25581 mv conftest.tail conftest.undefs
25583 rm -f conftest.undefs
25585 cat >>$CONFIG_STATUS <<\_ACEOF
25586 # Let's still pretend it is `configure' which instantiates (i.e., don't
25587 # use $as_me), people would be surprised to read:
25588 # /* config.h. Generated by config.status. */
25589 if test x"$ac_file" = x-; then
25590 echo "/* Generated by configure. */" >$tmp/config.h
25592 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
25594 cat $tmp/in >>$tmp/config.h
25596 if test x"$ac_file" != x-; then
25597 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
25598 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25599 echo "$as_me: $ac_file is unchanged" >&6;}
25601 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
25602 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25603 X"$ac_file" : 'X\(//\)[^/]' \| \
25604 X"$ac_file" : 'X\(//\)$' \| \
25605 X"$ac_file" : 'X\(/\)' \| \
25606 . : '\(.\)' 2>/dev/null ||
25608 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25609 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25610 /^X\(\/\/\)$/{ s//\1/; q; }
25611 /^X\(\/\).*/{ s//\1/; q; }
25613 { if $as_mkdir_p; then
25618 while test ! -d "$as_dir"; do
25619 as_dirs="$as_dir $as_dirs"
25620 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25621 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25622 X"$as_dir" : 'X\(//\)[^/]' \| \
25623 X"$as_dir" : 'X\(//\)$' \| \
25624 X"$as_dir" : 'X\(/\)' \| \
25625 . : '\(.\)' 2>/dev/null ||
25627 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25628 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25629 /^X\(\/\/\)$/{ s//\1/; q; }
25630 /^X\(\/\).*/{ s//\1/; q; }
25633 test ! -n "$as_dirs" || mkdir $as_dirs
25634 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25635 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25636 { (exit 1); exit 1; }; }; }
25639 mv $tmp/config.h $ac_file
25643 rm -f $tmp/config.h
25645 # Compute $ac_file's index in $config_headers.
25647 for _am_header in $config_headers :; do
25648 case $_am_header in
25649 $ac_file | $ac_file:* )
25652 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
25655 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
25656 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25657 X$ac_file : 'X\(//\)[^/]' \| \
25658 X$ac_file : 'X\(//\)$' \| \
25659 X$ac_file : 'X\(/\)' \| \
25660 . : '\(.\)' 2>/dev/null ||
25662 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25663 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25664 /^X\(\/\/\)$/{ s//\1/; q; }
25665 /^X\(\/\).*/{ s//\1/; q; }
25666 s/.*/./; q'`/stamp-h$_am_stamp_count
25669 cat >>$CONFIG_STATUS <<\_ACEOF
25672 # CONFIG_COMMANDS section.
25674 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
25675 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
25676 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
25677 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
25678 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25679 X"$ac_dest" : 'X\(//\)[^/]' \| \
25680 X"$ac_dest" : 'X\(//\)$' \| \
25681 X"$ac_dest" : 'X\(/\)' \| \
25682 . : '\(.\)' 2>/dev/null ||
25684 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25685 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25686 /^X\(\/\/\)$/{ s//\1/; q; }
25687 /^X\(\/\).*/{ s//\1/; q; }
25689 { if $as_mkdir_p; then
25694 while test ! -d "$as_dir"; do
25695 as_dirs="$as_dir $as_dirs"
25696 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25697 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25698 X"$as_dir" : 'X\(//\)[^/]' \| \
25699 X"$as_dir" : 'X\(//\)$' \| \
25700 X"$as_dir" : 'X\(/\)' \| \
25701 . : '\(.\)' 2>/dev/null ||
25703 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25704 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25705 /^X\(\/\/\)$/{ s//\1/; q; }
25706 /^X\(\/\).*/{ s//\1/; q; }
25709 test ! -n "$as_dirs" || mkdir $as_dirs
25710 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25711 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25712 { (exit 1); exit 1; }; }; }
25716 if test "$ac_dir" != .; then
25717 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25718 # A "../" for each directory in $ac_dir_suffix.
25719 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25721 ac_dir_suffix= ac_top_builddir=
25725 .) # No --srcdir option. We are building in place.
25727 if test -z "$ac_top_builddir"; then
25730 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
25732 [\\/]* | ?:[\\/]* ) # Absolute path.
25733 ac_srcdir=$srcdir$ac_dir_suffix;
25734 ac_top_srcdir=$srcdir ;;
25735 *) # Relative path.
25736 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
25737 ac_top_srcdir=$ac_top_builddir$srcdir ;;
25740 # Do not use `cd foo && pwd` to compute absolute paths, because
25741 # the directories may not exist.
25743 .) ac_abs_builddir="$ac_dir";;
25746 .) ac_abs_builddir=`pwd`;;
25747 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
25748 *) ac_abs_builddir=`pwd`/"$ac_dir";;
25751 case $ac_abs_builddir in
25752 .) ac_abs_top_builddir=${ac_top_builddir}.;;
25754 case ${ac_top_builddir}. in
25755 .) ac_abs_top_builddir=$ac_abs_builddir;;
25756 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
25757 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
25760 case $ac_abs_builddir in
25761 .) ac_abs_srcdir=$ac_srcdir;;
25764 .) ac_abs_srcdir=$ac_abs_builddir;;
25765 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
25766 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
25769 case $ac_abs_builddir in
25770 .) ac_abs_top_srcdir=$ac_top_srcdir;;
25772 case $ac_top_srcdir in
25773 .) ac_abs_top_srcdir=$ac_abs_builddir;;
25774 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
25775 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
25780 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
25781 echo "$as_me: executing $ac_dest commands" >&6;}
25784 # Only add multilib support code if we just rebuilt the top-level
25786 case " $CONFIG_FILES " in
25788 ac_file=Makefile . ${multi_basedir}/config-ml.in
25791 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
25792 # Strip MF so we end up with the name of the file.
25793 mf=`echo "$mf" | sed -e 's/:.*$//'`
25794 # Check whether this is an Automake generated Makefile or not.
25795 # We used to match only the files named `Makefile.in', but
25796 # some people rename them; so instead we look at the file content.
25797 # Grep'ing the first line is not enough: some people post-process
25798 # each Makefile.in and add a new line on top of each file to say so.
25799 # So let's grep whole file.
25800 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
25801 dirpart=`(dirname "$mf") 2>/dev/null ||
25802 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25803 X"$mf" : 'X\(//\)[^/]' \| \
25804 X"$mf" : 'X\(//\)$' \| \
25805 X"$mf" : 'X\(/\)' \| \
25806 . : '\(.\)' 2>/dev/null ||
25808 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25809 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25810 /^X\(\/\/\)$/{ s//\1/; q; }
25811 /^X\(\/\).*/{ s//\1/; q; }
25816 # Extract the definition of DEPDIR, am__include, and am__quote
25817 # from the Makefile without running `make'.
25818 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
25819 test -z "$DEPDIR" && continue
25820 am__include=`sed -n 's/^am__include = //p' < "$mf"`
25821 test -z "am__include" && continue
25822 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
25823 # When using ansi2knr, U may be empty or an underscore; expand it
25824 U=`sed -n 's/^U = //p' < "$mf"`
25825 # Find all dependency output files, they are included files with
25826 # $(DEPDIR) in their names. We invoke sed twice because it is the
25827 # simplest approach to changing $(DEPDIR) to its actual value in the
25829 for file in `sed -n "
25830 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
25831 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
25832 # Make sure the directory exists.
25833 test -f "$dirpart/$file" && continue
25834 fdir=`(dirname "$file") 2>/dev/null ||
25835 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25836 X"$file" : 'X\(//\)[^/]' \| \
25837 X"$file" : 'X\(//\)$' \| \
25838 X"$file" : 'X\(/\)' \| \
25839 . : '\(.\)' 2>/dev/null ||
25841 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25842 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25843 /^X\(\/\/\)$/{ s//\1/; q; }
25844 /^X\(\/\).*/{ s//\1/; q; }
25846 { if $as_mkdir_p; then
25847 mkdir -p $dirpart/$fdir
25849 as_dir=$dirpart/$fdir
25851 while test ! -d "$as_dir"; do
25852 as_dirs="$as_dir $as_dirs"
25853 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25854 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25855 X"$as_dir" : 'X\(//\)[^/]' \| \
25856 X"$as_dir" : 'X\(//\)$' \| \
25857 X"$as_dir" : 'X\(/\)' \| \
25858 . : '\(.\)' 2>/dev/null ||
25860 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25861 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25862 /^X\(\/\/\)$/{ s//\1/; q; }
25863 /^X\(\/\).*/{ s//\1/; q; }
25866 test ! -n "$as_dirs" || mkdir $as_dirs
25867 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
25868 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
25869 { (exit 1); exit 1; }; }; }
25871 # echo "creating $dirpart/$file"
25872 echo '# dummy' > "$dirpart/$file"
25877 if test "$GCC" = yes; then
25878 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
25880 echo "/* generated for $CC */" > tmp-stdint.h
25883 sed 's/^ *//' >> tmp-stdint.h <<EOF
25885 #ifndef GCC_GENERATED_STDINT_H
25886 #define GCC_GENERATED_STDINT_H 1
25888 #include <sys/types.h>
25891 if test "$acx_cv_header_stdint" != stdint.h; then
25892 echo "#include <stddef.h>" >> tmp-stdint.h
25894 if test "$acx_cv_header_stdint" != stddef.h; then
25895 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
25898 sed 's/^ *//' >> tmp-stdint.h <<EOF
25899 /* glibc uses these symbols as guards to prevent redefinitions. */
25900 #ifdef __int8_t_defined
25905 #ifdef __uint32_t_defined
25911 # ----------------- done header, emit basic int types -------------
25912 if test "$acx_cv_header_stdint" = stddef.h; then
25913 sed 's/^ *//' >> tmp-stdint.h <<EOF
25917 typedef unsigned $acx_cv_type_int8_t uint8_t;
25922 typedef unsigned $acx_cv_type_int16_t uint16_t;
25927 typedef unsigned $acx_cv_type_int32_t uint32_t;
25932 typedef $acx_cv_type_int8_t int8_t;
25937 typedef $acx_cv_type_int16_t int16_t;
25942 typedef $acx_cv_type_int32_t int32_t;
25945 elif test "$ac_cv_type_u_int32_t" = yes; then
25946 sed 's/^ *//' >> tmp-stdint.h <<EOF
25948 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
25961 typedef u_int8_t uint8_t;
25966 typedef u_int16_t uint16_t;
25971 typedef u_int32_t uint32_t;
25975 sed 's/^ *//' >> tmp-stdint.h <<EOF
25977 /* Some systems have guard macros to prevent redefinitions, define them. */
25999 # ------------- done basic int types, emit int64_t types ------------
26000 if test "$ac_cv_type_uint64_t" = yes; then
26001 sed 's/^ *//' >> tmp-stdint.h <<EOF
26003 /* system headers have good uint64_t and int64_t */
26011 elif test "$ac_cv_type_u_int64_t" = yes; then
26012 sed 's/^ *//' >> tmp-stdint.h <<EOF
26014 /* system headers have an u_int64_t (and int64_t) */
26020 typedef u_int64_t uint64_t;
26023 elif test -n "$acx_cv_type_int64_t"; then
26024 sed 's/^ *//' >> tmp-stdint.h <<EOF
26026 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
26029 typedef $acx_cv_type_int64_t int64_t;
26033 typedef unsigned $acx_cv_type_int64_t uint64_t;
26037 sed 's/^ *//' >> tmp-stdint.h <<EOF
26039 /* some common heuristics for int64_t, using compiler-specific tests */
26040 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
26043 typedef long long int64_t;
26047 typedef unsigned long long uint64_t;
26050 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
26051 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
26052 does not implement __extension__. But that compiler doesn't define
26054 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
26055 # define __extension__
26060 __extension__ typedef long long int64_t;
26064 __extension__ typedef unsigned long long uint64_t;
26067 #elif !defined __STRICT_ANSI__
26068 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
26072 typedef __int64 int64_t;
26076 typedef unsigned __int64 uint64_t;
26078 # endif /* compiler */
26080 #endif /* ANSI version */
26084 # ------------- done int64_t types, emit intptr types ------------
26085 if test "$ac_cv_type_uintptr_t" != yes; then
26086 sed 's/^ *//' >> tmp-stdint.h <<EOF
26088 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
26089 typedef u$acx_cv_type_intptr_t uintptr_t;
26090 typedef $acx_cv_type_intptr_t intptr_t;
26094 # ------------- done intptr types, emit int_least types ------------
26095 if test "$ac_cv_type_int_least32_t" != yes; then
26096 sed 's/^ *//' >> tmp-stdint.h <<EOF
26098 /* Define int_least types */
26099 typedef int8_t int_least8_t;
26100 typedef int16_t int_least16_t;
26101 typedef int32_t int_least32_t;
26103 typedef int64_t int_least64_t;
26106 typedef uint8_t uint_least8_t;
26107 typedef uint16_t uint_least16_t;
26108 typedef uint32_t uint_least32_t;
26110 typedef uint64_t uint_least64_t;
26115 # ------------- done intptr types, emit int_fast types ------------
26116 if test "$ac_cv_type_int_fast32_t" != yes; then
26117 sed 's/^ *//' >> tmp-stdint.h <<EOF
26119 /* Define int_fast types. short is often slow */
26120 typedef int8_t int_fast8_t;
26121 typedef int int_fast16_t;
26122 typedef int32_t int_fast32_t;
26124 typedef int64_t int_fast64_t;
26127 typedef uint8_t uint_fast8_t;
26128 typedef unsigned int uint_fast16_t;
26129 typedef uint32_t uint_fast32_t;
26131 typedef uint64_t uint_fast64_t;
26136 if test "$ac_cv_type_uintmax_t" != yes; then
26137 sed 's/^ *//' >> tmp-stdint.h <<EOF
26139 /* Define intmax based on what we found */
26141 typedef int64_t intmax_t;
26143 typedef long intmax_t;
26146 typedef uint64_t uintmax_t;
26148 typedef unsigned long uintmax_t;
26153 sed 's/^ *//' >> tmp-stdint.h <<EOF
26155 #endif /* GCC_GENERATED_STDINT_H */
26158 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
26161 mv -f tmp-stdint.h gstdint.h
26169 cat >>$CONFIG_STATUS <<\_ACEOF
26171 { (exit 0); exit 0; }
26173 chmod +x $CONFIG_STATUS
26174 ac_clean_files=$ac_clean_files_save
26177 # configure is writing to config.log, and then calls config.status.
26178 # config.status does its own redirection, appending to config.log.
26179 # Unfortunately, on DOS this fails, as config.log is still kept open
26180 # by configure, so config.status won't be able to write to it; its
26181 # output is simply discarded. So we exec the FD to /dev/null,
26182 # effectively closing config.log, so it can be properly (re)opened and
26183 # appended to by config.status. When coming back to configure, we
26184 # need to make the FD available again.
26185 if test "$no_create" != yes; then
26187 ac_config_status_args=
26188 test "$silent" = yes &&
26189 ac_config_status_args="$ac_config_status_args --quiet"
26191 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
26193 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26194 # would make configure fail if this is the last instruction.
26195 $ac_cs_success || { (exit 1); exit 1; }