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 # Check whether --enable-largefile or --disable-largefile was given.
4900 if test "${enable_largefile+set}" = set; then
4901 enableval="$enable_largefile"
4904 if test "$enable_largefile" != no; then
4906 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4907 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4908 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4909 echo $ECHO_N "(cached) $ECHO_C" >&6
4911 ac_cv_sys_largefile_CC=no
4912 if test "$GCC" != yes; then
4915 # IRIX 6.2 and later do not support large files by default,
4916 # so use the C compiler's -n32 option if that helps.
4917 cat >conftest.$ac_ext <<_ACEOF
4920 cat confdefs.h >>conftest.$ac_ext
4921 cat >>conftest.$ac_ext <<_ACEOF
4922 /* end confdefs.h. */
4923 #include <sys/types.h>
4924 /* Check that off_t can represent 2**63 - 1 correctly.
4925 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4926 since some C++ compilers masquerading as C compilers
4927 incorrectly reject 9223372036854775807. */
4928 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4929 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4930 && LARGE_OFF_T % 2147483647 == 1)
4940 rm -f conftest.$ac_objext
4941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4942 (eval $ac_compile) 2>conftest.er1
4944 grep -v '^ *+' conftest.er1 >conftest.err
4946 cat conftest.err >&5
4947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4948 (exit $ac_status); } &&
4949 { ac_try='test -z "$ac_c_werror_flag"
4950 || test ! -s conftest.err'
4951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4955 (exit $ac_status); }; } &&
4956 { ac_try='test -s conftest.$ac_objext'
4957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4961 (exit $ac_status); }; }; then
4964 echo "$as_me: failed program was:" >&5
4965 sed 's/^/| /' conftest.$ac_ext >&5
4968 rm -f conftest.err conftest.$ac_objext
4970 rm -f conftest.$ac_objext
4971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4972 (eval $ac_compile) 2>conftest.er1
4974 grep -v '^ *+' conftest.er1 >conftest.err
4976 cat conftest.err >&5
4977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4978 (exit $ac_status); } &&
4979 { ac_try='test -z "$ac_c_werror_flag"
4980 || test ! -s conftest.err'
4981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4985 (exit $ac_status); }; } &&
4986 { ac_try='test -s conftest.$ac_objext'
4987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4991 (exit $ac_status); }; }; then
4992 ac_cv_sys_largefile_CC=' -n32'; break
4994 echo "$as_me: failed program was:" >&5
4995 sed 's/^/| /' conftest.$ac_ext >&5
4998 rm -f conftest.err conftest.$ac_objext
5002 rm -f conftest.$ac_ext
5005 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
5006 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
5007 if test "$ac_cv_sys_largefile_CC" != no; then
5008 CC=$CC$ac_cv_sys_largefile_CC
5011 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5012 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
5013 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
5014 echo $ECHO_N "(cached) $ECHO_C" >&6
5017 ac_cv_sys_file_offset_bits=no
5018 cat >conftest.$ac_ext <<_ACEOF
5021 cat confdefs.h >>conftest.$ac_ext
5022 cat >>conftest.$ac_ext <<_ACEOF
5023 /* end confdefs.h. */
5024 #include <sys/types.h>
5025 /* Check that off_t can represent 2**63 - 1 correctly.
5026 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5027 since some C++ compilers masquerading as C compilers
5028 incorrectly reject 9223372036854775807. */
5029 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5030 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5031 && LARGE_OFF_T % 2147483647 == 1)
5041 rm -f conftest.$ac_objext
5042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5043 (eval $ac_compile) 2>conftest.er1
5045 grep -v '^ *+' conftest.er1 >conftest.err
5047 cat conftest.err >&5
5048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5049 (exit $ac_status); } &&
5050 { ac_try='test -z "$ac_c_werror_flag"
5051 || test ! -s conftest.err'
5052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5056 (exit $ac_status); }; } &&
5057 { ac_try='test -s conftest.$ac_objext'
5058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5062 (exit $ac_status); }; }; then
5065 echo "$as_me: failed program was:" >&5
5066 sed 's/^/| /' conftest.$ac_ext >&5
5069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5070 cat >conftest.$ac_ext <<_ACEOF
5073 cat confdefs.h >>conftest.$ac_ext
5074 cat >>conftest.$ac_ext <<_ACEOF
5075 /* end confdefs.h. */
5076 #define _FILE_OFFSET_BITS 64
5077 #include <sys/types.h>
5078 /* Check that off_t can represent 2**63 - 1 correctly.
5079 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5080 since some C++ compilers masquerading as C compilers
5081 incorrectly reject 9223372036854775807. */
5082 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5083 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5084 && LARGE_OFF_T % 2147483647 == 1)
5094 rm -f conftest.$ac_objext
5095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5096 (eval $ac_compile) 2>conftest.er1
5098 grep -v '^ *+' conftest.er1 >conftest.err
5100 cat conftest.err >&5
5101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5102 (exit $ac_status); } &&
5103 { ac_try='test -z "$ac_c_werror_flag"
5104 || test ! -s conftest.err'
5105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); }; } &&
5110 { ac_try='test -s conftest.$ac_objext'
5111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115 (exit $ac_status); }; }; then
5116 ac_cv_sys_file_offset_bits=64; break
5118 echo "$as_me: failed program was:" >&5
5119 sed 's/^/| /' conftest.$ac_ext >&5
5122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5126 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
5127 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
5128 if test "$ac_cv_sys_file_offset_bits" != no; then
5130 cat >>confdefs.h <<_ACEOF
5131 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5136 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
5137 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
5138 if test "${ac_cv_sys_large_files+set}" = set; then
5139 echo $ECHO_N "(cached) $ECHO_C" >&6
5142 ac_cv_sys_large_files=no
5143 cat >conftest.$ac_ext <<_ACEOF
5146 cat confdefs.h >>conftest.$ac_ext
5147 cat >>conftest.$ac_ext <<_ACEOF
5148 /* end confdefs.h. */
5149 #include <sys/types.h>
5150 /* Check that off_t can represent 2**63 - 1 correctly.
5151 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5152 since some C++ compilers masquerading as C compilers
5153 incorrectly reject 9223372036854775807. */
5154 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5155 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5156 && LARGE_OFF_T % 2147483647 == 1)
5166 rm -f conftest.$ac_objext
5167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5168 (eval $ac_compile) 2>conftest.er1
5170 grep -v '^ *+' conftest.er1 >conftest.err
5172 cat conftest.err >&5
5173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5174 (exit $ac_status); } &&
5175 { ac_try='test -z "$ac_c_werror_flag"
5176 || test ! -s conftest.err'
5177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5181 (exit $ac_status); }; } &&
5182 { ac_try='test -s conftest.$ac_objext'
5183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5187 (exit $ac_status); }; }; then
5190 echo "$as_me: failed program was:" >&5
5191 sed 's/^/| /' conftest.$ac_ext >&5
5194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5195 cat >conftest.$ac_ext <<_ACEOF
5198 cat confdefs.h >>conftest.$ac_ext
5199 cat >>conftest.$ac_ext <<_ACEOF
5200 /* end confdefs.h. */
5201 #define _LARGE_FILES 1
5202 #include <sys/types.h>
5203 /* Check that off_t can represent 2**63 - 1 correctly.
5204 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5205 since some C++ compilers masquerading as C compilers
5206 incorrectly reject 9223372036854775807. */
5207 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5208 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5209 && LARGE_OFF_T % 2147483647 == 1)
5219 rm -f conftest.$ac_objext
5220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5221 (eval $ac_compile) 2>conftest.er1
5223 grep -v '^ *+' conftest.er1 >conftest.err
5225 cat conftest.err >&5
5226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5227 (exit $ac_status); } &&
5228 { ac_try='test -z "$ac_c_werror_flag"
5229 || test ! -s conftest.err'
5230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5234 (exit $ac_status); }; } &&
5235 { ac_try='test -s conftest.$ac_objext'
5236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5240 (exit $ac_status); }; }; then
5241 ac_cv_sys_large_files=1; break
5243 echo "$as_me: failed program was:" >&5
5244 sed 's/^/| /' conftest.$ac_ext >&5
5247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5251 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5252 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5253 if test "$ac_cv_sys_large_files" != no; then
5255 cat >>confdefs.h <<_ACEOF
5256 #define _LARGE_FILES $ac_cv_sys_large_files
5264 ac_cpp='$CPP $CPPFLAGS'
5265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5268 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5269 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5270 # On Suns, sometimes $CPP names a directory.
5271 if test -n "$CPP" && test -d "$CPP"; then
5274 if test -z "$CPP"; then
5275 if test "${ac_cv_prog_CPP+set}" = set; then
5276 echo $ECHO_N "(cached) $ECHO_C" >&6
5278 # Double quotes because CPP needs to be expanded
5279 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5282 for ac_c_preproc_warn_flag in '' yes
5284 # Use a header file that comes with gcc, so configuring glibc
5285 # with a fresh cross-compiler works.
5286 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5287 # <limits.h> exists even on freestanding compilers.
5288 # On the NeXT, cc -E runs the code through the compiler's parser,
5289 # not just through cpp. "Syntax error" is here to catch this case.
5290 cat >conftest.$ac_ext <<_ACEOF
5293 cat confdefs.h >>conftest.$ac_ext
5294 cat >>conftest.$ac_ext <<_ACEOF
5295 /* end confdefs.h. */
5297 # include <limits.h>
5299 # include <assert.h>
5303 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5304 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5306 grep -v '^ *+' conftest.er1 >conftest.err
5308 cat conftest.err >&5
5309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5310 (exit $ac_status); } >/dev/null; then
5311 if test -s conftest.err; then
5312 ac_cpp_err=$ac_c_preproc_warn_flag
5313 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5320 if test -z "$ac_cpp_err"; then
5323 echo "$as_me: failed program was:" >&5
5324 sed 's/^/| /' conftest.$ac_ext >&5
5326 # Broken: fails on valid input.
5329 rm -f conftest.err conftest.$ac_ext
5331 # OK, works on sane cases. Now check whether non-existent headers
5332 # can be detected and how.
5333 cat >conftest.$ac_ext <<_ACEOF
5336 cat confdefs.h >>conftest.$ac_ext
5337 cat >>conftest.$ac_ext <<_ACEOF
5338 /* end confdefs.h. */
5339 #include <ac_nonexistent.h>
5341 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5342 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5344 grep -v '^ *+' conftest.er1 >conftest.err
5346 cat conftest.err >&5
5347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5348 (exit $ac_status); } >/dev/null; then
5349 if test -s conftest.err; then
5350 ac_cpp_err=$ac_c_preproc_warn_flag
5351 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5358 if test -z "$ac_cpp_err"; then
5359 # Broken: success on invalid input.
5362 echo "$as_me: failed program was:" >&5
5363 sed 's/^/| /' conftest.$ac_ext >&5
5365 # Passes both tests.
5369 rm -f conftest.err conftest.$ac_ext
5372 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5373 rm -f conftest.err conftest.$ac_ext
5374 if $ac_preproc_ok; then
5386 echo "$as_me:$LINENO: result: $CPP" >&5
5387 echo "${ECHO_T}$CPP" >&6
5389 for ac_c_preproc_warn_flag in '' yes
5391 # Use a header file that comes with gcc, so configuring glibc
5392 # with a fresh cross-compiler works.
5393 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5394 # <limits.h> exists even on freestanding compilers.
5395 # On the NeXT, cc -E runs the code through the compiler's parser,
5396 # not just through cpp. "Syntax error" is here to catch this case.
5397 cat >conftest.$ac_ext <<_ACEOF
5400 cat confdefs.h >>conftest.$ac_ext
5401 cat >>conftest.$ac_ext <<_ACEOF
5402 /* end confdefs.h. */
5404 # include <limits.h>
5406 # include <assert.h>
5410 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5411 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5413 grep -v '^ *+' conftest.er1 >conftest.err
5415 cat conftest.err >&5
5416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5417 (exit $ac_status); } >/dev/null; then
5418 if test -s conftest.err; then
5419 ac_cpp_err=$ac_c_preproc_warn_flag
5420 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5427 if test -z "$ac_cpp_err"; then
5430 echo "$as_me: failed program was:" >&5
5431 sed 's/^/| /' conftest.$ac_ext >&5
5433 # Broken: fails on valid input.
5436 rm -f conftest.err conftest.$ac_ext
5438 # OK, works on sane cases. Now check whether non-existent headers
5439 # can be detected and how.
5440 cat >conftest.$ac_ext <<_ACEOF
5443 cat confdefs.h >>conftest.$ac_ext
5444 cat >>conftest.$ac_ext <<_ACEOF
5445 /* end confdefs.h. */
5446 #include <ac_nonexistent.h>
5448 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5449 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5451 grep -v '^ *+' conftest.er1 >conftest.err
5453 cat conftest.err >&5
5454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5455 (exit $ac_status); } >/dev/null; then
5456 if test -s conftest.err; then
5457 ac_cpp_err=$ac_c_preproc_warn_flag
5458 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5465 if test -z "$ac_cpp_err"; then
5466 # Broken: success on invalid input.
5469 echo "$as_me: failed program was:" >&5
5470 sed 's/^/| /' conftest.$ac_ext >&5
5472 # Passes both tests.
5476 rm -f conftest.err conftest.$ac_ext
5479 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5480 rm -f conftest.err conftest.$ac_ext
5481 if $ac_preproc_ok; then
5484 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5485 See \`config.log' for more details." >&5
5486 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5487 See \`config.log' for more details." >&2;}
5488 { (exit 1); exit 1; }; }
5492 ac_cpp='$CPP $CPPFLAGS'
5493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5498 echo "$as_me:$LINENO: checking for egrep" >&5
5499 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5500 if test "${ac_cv_prog_egrep+set}" = set; then
5501 echo $ECHO_N "(cached) $ECHO_C" >&6
5503 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5504 then ac_cv_prog_egrep='grep -E'
5505 else ac_cv_prog_egrep='egrep'
5508 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5509 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5510 EGREP=$ac_cv_prog_egrep
5513 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5514 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5515 if test "${ac_cv_header_stdc+set}" = set; then
5516 echo $ECHO_N "(cached) $ECHO_C" >&6
5518 cat >conftest.$ac_ext <<_ACEOF
5521 cat confdefs.h >>conftest.$ac_ext
5522 cat >>conftest.$ac_ext <<_ACEOF
5523 /* end confdefs.h. */
5537 rm -f conftest.$ac_objext
5538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5539 (eval $ac_compile) 2>conftest.er1
5541 grep -v '^ *+' conftest.er1 >conftest.err
5543 cat conftest.err >&5
5544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5545 (exit $ac_status); } &&
5546 { ac_try='test -z "$ac_c_werror_flag"
5547 || test ! -s conftest.err'
5548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5552 (exit $ac_status); }; } &&
5553 { ac_try='test -s conftest.$ac_objext'
5554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5558 (exit $ac_status); }; }; then
5559 ac_cv_header_stdc=yes
5561 echo "$as_me: failed program was:" >&5
5562 sed 's/^/| /' conftest.$ac_ext >&5
5564 ac_cv_header_stdc=no
5566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5568 if test $ac_cv_header_stdc = yes; then
5569 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5570 cat >conftest.$ac_ext <<_ACEOF
5573 cat confdefs.h >>conftest.$ac_ext
5574 cat >>conftest.$ac_ext <<_ACEOF
5575 /* end confdefs.h. */
5579 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5580 $EGREP "memchr" >/dev/null 2>&1; then
5583 ac_cv_header_stdc=no
5589 if test $ac_cv_header_stdc = yes; then
5590 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5591 cat >conftest.$ac_ext <<_ACEOF
5594 cat confdefs.h >>conftest.$ac_ext
5595 cat >>conftest.$ac_ext <<_ACEOF
5596 /* end confdefs.h. */
5600 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5601 $EGREP "free" >/dev/null 2>&1; then
5604 ac_cv_header_stdc=no
5610 if test $ac_cv_header_stdc = yes; then
5611 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5612 if test "$cross_compiling" = yes; then
5615 cat >conftest.$ac_ext <<_ACEOF
5618 cat confdefs.h >>conftest.$ac_ext
5619 cat >>conftest.$ac_ext <<_ACEOF
5620 /* end confdefs.h. */
5622 #if ((' ' & 0x0FF) == 0x020)
5623 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5624 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5626 # define ISLOWER(c) \
5627 (('a' <= (c) && (c) <= 'i') \
5628 || ('j' <= (c) && (c) <= 'r') \
5629 || ('s' <= (c) && (c) <= 'z'))
5630 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5633 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5638 for (i = 0; i < 256; i++)
5639 if (XOR (islower (i), ISLOWER (i))
5640 || toupper (i) != TOUPPER (i))
5645 rm -f conftest$ac_exeext
5646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5647 (eval $ac_link) 2>&5
5649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5650 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5655 (exit $ac_status); }; }; then
5658 echo "$as_me: program exited with status $ac_status" >&5
5659 echo "$as_me: failed program was:" >&5
5660 sed 's/^/| /' conftest.$ac_ext >&5
5663 ac_cv_header_stdc=no
5665 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5669 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5670 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5671 if test $ac_cv_header_stdc = yes; then
5673 cat >>confdefs.h <<\_ACEOF
5674 #define STDC_HEADERS 1
5679 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5689 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5690 inttypes.h stdint.h unistd.h
5692 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5693 echo "$as_me:$LINENO: checking for $ac_header" >&5
5694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5695 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5696 echo $ECHO_N "(cached) $ECHO_C" >&6
5698 cat >conftest.$ac_ext <<_ACEOF
5701 cat confdefs.h >>conftest.$ac_ext
5702 cat >>conftest.$ac_ext <<_ACEOF
5703 /* end confdefs.h. */
5704 $ac_includes_default
5706 #include <$ac_header>
5708 rm -f conftest.$ac_objext
5709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5710 (eval $ac_compile) 2>conftest.er1
5712 grep -v '^ *+' conftest.er1 >conftest.err
5714 cat conftest.err >&5
5715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5716 (exit $ac_status); } &&
5717 { ac_try='test -z "$ac_c_werror_flag"
5718 || test ! -s conftest.err'
5719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5723 (exit $ac_status); }; } &&
5724 { ac_try='test -s conftest.$ac_objext'
5725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5729 (exit $ac_status); }; }; then
5730 eval "$as_ac_Header=yes"
5732 echo "$as_me: failed program was:" >&5
5733 sed 's/^/| /' conftest.$ac_ext >&5
5735 eval "$as_ac_Header=no"
5737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5740 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5741 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5742 cat >>confdefs.h <<_ACEOF
5743 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5751 echo "$as_me:$LINENO: checking for off_t" >&5
5752 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5753 if test "${ac_cv_type_off_t+set}" = set; then
5754 echo $ECHO_N "(cached) $ECHO_C" >&6
5756 cat >conftest.$ac_ext <<_ACEOF
5759 cat confdefs.h >>conftest.$ac_ext
5760 cat >>conftest.$ac_ext <<_ACEOF
5761 /* end confdefs.h. */
5762 $ac_includes_default
5774 rm -f conftest.$ac_objext
5775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5776 (eval $ac_compile) 2>conftest.er1
5778 grep -v '^ *+' conftest.er1 >conftest.err
5780 cat conftest.err >&5
5781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5782 (exit $ac_status); } &&
5783 { ac_try='test -z "$ac_c_werror_flag"
5784 || test ! -s conftest.err'
5785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5789 (exit $ac_status); }; } &&
5790 { ac_try='test -s conftest.$ac_objext'
5791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5795 (exit $ac_status); }; }; then
5796 ac_cv_type_off_t=yes
5798 echo "$as_me: failed program was:" >&5
5799 sed 's/^/| /' conftest.$ac_ext >&5
5803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5805 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5806 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5807 if test $ac_cv_type_off_t = yes; then
5811 cat >>confdefs.h <<_ACEOF
5818 # check header files
5819 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5820 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5821 if test "${ac_cv_header_stdc+set}" = set; then
5822 echo $ECHO_N "(cached) $ECHO_C" >&6
5824 cat >conftest.$ac_ext <<_ACEOF
5827 cat confdefs.h >>conftest.$ac_ext
5828 cat >>conftest.$ac_ext <<_ACEOF
5829 /* end confdefs.h. */
5843 rm -f conftest.$ac_objext
5844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5845 (eval $ac_compile) 2>conftest.er1
5847 grep -v '^ *+' conftest.er1 >conftest.err
5849 cat conftest.err >&5
5850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5851 (exit $ac_status); } &&
5852 { ac_try='test -z "$ac_c_werror_flag"
5853 || test ! -s conftest.err'
5854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5858 (exit $ac_status); }; } &&
5859 { ac_try='test -s conftest.$ac_objext'
5860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864 (exit $ac_status); }; }; then
5865 ac_cv_header_stdc=yes
5867 echo "$as_me: failed program was:" >&5
5868 sed 's/^/| /' conftest.$ac_ext >&5
5870 ac_cv_header_stdc=no
5872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5874 if test $ac_cv_header_stdc = yes; then
5875 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5876 cat >conftest.$ac_ext <<_ACEOF
5879 cat confdefs.h >>conftest.$ac_ext
5880 cat >>conftest.$ac_ext <<_ACEOF
5881 /* end confdefs.h. */
5885 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5886 $EGREP "memchr" >/dev/null 2>&1; then
5889 ac_cv_header_stdc=no
5895 if test $ac_cv_header_stdc = yes; then
5896 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5897 cat >conftest.$ac_ext <<_ACEOF
5900 cat confdefs.h >>conftest.$ac_ext
5901 cat >>conftest.$ac_ext <<_ACEOF
5902 /* end confdefs.h. */
5906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5907 $EGREP "free" >/dev/null 2>&1; then
5910 ac_cv_header_stdc=no
5916 if test $ac_cv_header_stdc = yes; then
5917 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5918 if test "$cross_compiling" = yes; then
5921 cat >conftest.$ac_ext <<_ACEOF
5924 cat confdefs.h >>conftest.$ac_ext
5925 cat >>conftest.$ac_ext <<_ACEOF
5926 /* end confdefs.h. */
5928 #if ((' ' & 0x0FF) == 0x020)
5929 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5930 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5932 # define ISLOWER(c) \
5933 (('a' <= (c) && (c) <= 'i') \
5934 || ('j' <= (c) && (c) <= 'r') \
5935 || ('s' <= (c) && (c) <= 'z'))
5936 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5939 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5944 for (i = 0; i < 256; i++)
5945 if (XOR (islower (i), ISLOWER (i))
5946 || toupper (i) != TOUPPER (i))
5951 rm -f conftest$ac_exeext
5952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5953 (eval $ac_link) 2>&5
5955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5956 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961 (exit $ac_status); }; }; then
5964 echo "$as_me: program exited with status $ac_status" >&5
5965 echo "$as_me: failed program was:" >&5
5966 sed 's/^/| /' conftest.$ac_ext >&5
5969 ac_cv_header_stdc=no
5971 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5975 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5976 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5977 if test $ac_cv_header_stdc = yes; then
5979 cat >>confdefs.h <<\_ACEOF
5980 #define STDC_HEADERS 1
5992 for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
5994 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5996 echo "$as_me:$LINENO: checking for $ac_header" >&5
5997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5999 echo $ECHO_N "(cached) $ECHO_C" >&6
6001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6004 # Is the header compilable?
6005 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6006 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6007 cat >conftest.$ac_ext <<_ACEOF
6010 cat confdefs.h >>conftest.$ac_ext
6011 cat >>conftest.$ac_ext <<_ACEOF
6012 /* end confdefs.h. */
6013 $ac_includes_default
6014 #include <$ac_header>
6016 rm -f conftest.$ac_objext
6017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6018 (eval $ac_compile) 2>conftest.er1
6020 grep -v '^ *+' conftest.er1 >conftest.err
6022 cat conftest.err >&5
6023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6024 (exit $ac_status); } &&
6025 { ac_try='test -z "$ac_c_werror_flag"
6026 || test ! -s conftest.err'
6027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031 (exit $ac_status); }; } &&
6032 { ac_try='test -s conftest.$ac_objext'
6033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6037 (exit $ac_status); }; }; then
6038 ac_header_compiler=yes
6040 echo "$as_me: failed program was:" >&5
6041 sed 's/^/| /' conftest.$ac_ext >&5
6043 ac_header_compiler=no
6045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6046 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6047 echo "${ECHO_T}$ac_header_compiler" >&6
6049 # Is the header present?
6050 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6051 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6052 cat >conftest.$ac_ext <<_ACEOF
6055 cat confdefs.h >>conftest.$ac_ext
6056 cat >>conftest.$ac_ext <<_ACEOF
6057 /* end confdefs.h. */
6058 #include <$ac_header>
6060 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6061 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6063 grep -v '^ *+' conftest.er1 >conftest.err
6065 cat conftest.err >&5
6066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6067 (exit $ac_status); } >/dev/null; then
6068 if test -s conftest.err; then
6069 ac_cpp_err=$ac_c_preproc_warn_flag
6070 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6077 if test -z "$ac_cpp_err"; then
6078 ac_header_preproc=yes
6080 echo "$as_me: failed program was:" >&5
6081 sed 's/^/| /' conftest.$ac_ext >&5
6083 ac_header_preproc=no
6085 rm -f conftest.err conftest.$ac_ext
6086 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6087 echo "${ECHO_T}$ac_header_preproc" >&6
6089 # So? What about this header?
6090 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6092 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6093 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6094 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6095 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6096 ac_header_preproc=yes
6099 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6100 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6101 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6102 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6103 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6104 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6105 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6106 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6107 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6108 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6109 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6110 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6113 ## ------------------------------------------------------ ##
6114 ## Report this to the GNU Fortran Runtime Library lists. ##
6115 ## ------------------------------------------------------ ##
6118 sed "s/^/$as_me: WARNING: /" >&2
6121 echo "$as_me:$LINENO: checking for $ac_header" >&5
6122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6124 echo $ECHO_N "(cached) $ECHO_C" >&6
6126 eval "$as_ac_Header=\$ac_header_preproc"
6128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6132 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6133 cat >>confdefs.h <<_ACEOF
6134 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6146 for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
6148 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6150 echo "$as_me:$LINENO: checking for $ac_header" >&5
6151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6153 echo $ECHO_N "(cached) $ECHO_C" >&6
6155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6156 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6158 # Is the header compilable?
6159 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6160 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6161 cat >conftest.$ac_ext <<_ACEOF
6164 cat confdefs.h >>conftest.$ac_ext
6165 cat >>conftest.$ac_ext <<_ACEOF
6166 /* end confdefs.h. */
6167 $ac_includes_default
6168 #include <$ac_header>
6170 rm -f conftest.$ac_objext
6171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6172 (eval $ac_compile) 2>conftest.er1
6174 grep -v '^ *+' conftest.er1 >conftest.err
6176 cat conftest.err >&5
6177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6178 (exit $ac_status); } &&
6179 { ac_try='test -z "$ac_c_werror_flag"
6180 || test ! -s conftest.err'
6181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6185 (exit $ac_status); }; } &&
6186 { ac_try='test -s conftest.$ac_objext'
6187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6191 (exit $ac_status); }; }; then
6192 ac_header_compiler=yes
6194 echo "$as_me: failed program was:" >&5
6195 sed 's/^/| /' conftest.$ac_ext >&5
6197 ac_header_compiler=no
6199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6200 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6201 echo "${ECHO_T}$ac_header_compiler" >&6
6203 # Is the header present?
6204 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6205 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6206 cat >conftest.$ac_ext <<_ACEOF
6209 cat confdefs.h >>conftest.$ac_ext
6210 cat >>conftest.$ac_ext <<_ACEOF
6211 /* end confdefs.h. */
6212 #include <$ac_header>
6214 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6215 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6217 grep -v '^ *+' conftest.er1 >conftest.err
6219 cat conftest.err >&5
6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 (exit $ac_status); } >/dev/null; then
6222 if test -s conftest.err; then
6223 ac_cpp_err=$ac_c_preproc_warn_flag
6224 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6231 if test -z "$ac_cpp_err"; then
6232 ac_header_preproc=yes
6234 echo "$as_me: failed program was:" >&5
6235 sed 's/^/| /' conftest.$ac_ext >&5
6237 ac_header_preproc=no
6239 rm -f conftest.err conftest.$ac_ext
6240 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6241 echo "${ECHO_T}$ac_header_preproc" >&6
6243 # So? What about this header?
6244 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6246 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6247 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6249 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6250 ac_header_preproc=yes
6253 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6254 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6255 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6256 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6257 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6258 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6259 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6260 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6261 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6262 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6263 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6264 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6267 ## ------------------------------------------------------ ##
6268 ## Report this to the GNU Fortran Runtime Library lists. ##
6269 ## ------------------------------------------------------ ##
6272 sed "s/^/$as_me: WARNING: /" >&2
6275 echo "$as_me:$LINENO: checking for $ac_header" >&5
6276 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6277 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6278 echo $ECHO_N "(cached) $ECHO_C" >&6
6280 eval "$as_ac_Header=\$ac_header_preproc"
6282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6283 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6286 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6287 cat >>confdefs.h <<_ACEOF
6288 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6300 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
6302 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6303 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6304 echo "$as_me:$LINENO: checking for $ac_header" >&5
6305 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6306 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6307 echo $ECHO_N "(cached) $ECHO_C" >&6
6309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6310 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6312 # Is the header compilable?
6313 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6314 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6315 cat >conftest.$ac_ext <<_ACEOF
6318 cat confdefs.h >>conftest.$ac_ext
6319 cat >>conftest.$ac_ext <<_ACEOF
6320 /* end confdefs.h. */
6321 $ac_includes_default
6322 #include <$ac_header>
6324 rm -f conftest.$ac_objext
6325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6326 (eval $ac_compile) 2>conftest.er1
6328 grep -v '^ *+' conftest.er1 >conftest.err
6330 cat conftest.err >&5
6331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6332 (exit $ac_status); } &&
6333 { ac_try='test -z "$ac_c_werror_flag"
6334 || test ! -s conftest.err'
6335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6339 (exit $ac_status); }; } &&
6340 { ac_try='test -s conftest.$ac_objext'
6341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6345 (exit $ac_status); }; }; then
6346 ac_header_compiler=yes
6348 echo "$as_me: failed program was:" >&5
6349 sed 's/^/| /' conftest.$ac_ext >&5
6351 ac_header_compiler=no
6353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6354 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6355 echo "${ECHO_T}$ac_header_compiler" >&6
6357 # Is the header present?
6358 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6359 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6360 cat >conftest.$ac_ext <<_ACEOF
6363 cat confdefs.h >>conftest.$ac_ext
6364 cat >>conftest.$ac_ext <<_ACEOF
6365 /* end confdefs.h. */
6366 #include <$ac_header>
6368 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6369 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6371 grep -v '^ *+' conftest.er1 >conftest.err
6373 cat conftest.err >&5
6374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 (exit $ac_status); } >/dev/null; then
6376 if test -s conftest.err; then
6377 ac_cpp_err=$ac_c_preproc_warn_flag
6378 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6385 if test -z "$ac_cpp_err"; then
6386 ac_header_preproc=yes
6388 echo "$as_me: failed program was:" >&5
6389 sed 's/^/| /' conftest.$ac_ext >&5
6391 ac_header_preproc=no
6393 rm -f conftest.err conftest.$ac_ext
6394 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6395 echo "${ECHO_T}$ac_header_preproc" >&6
6397 # So? What about this header?
6398 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6400 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6401 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6402 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6403 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6404 ac_header_preproc=yes
6407 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6408 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6409 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6410 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6411 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6412 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6413 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6414 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6415 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6416 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6417 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6418 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6421 ## ------------------------------------------------------ ##
6422 ## Report this to the GNU Fortran Runtime Library lists. ##
6423 ## ------------------------------------------------------ ##
6426 sed "s/^/$as_me: WARNING: /" >&2
6429 echo "$as_me:$LINENO: checking for $ac_header" >&5
6430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6431 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6432 echo $ECHO_N "(cached) $ECHO_C" >&6
6434 eval "$as_ac_Header=\$ac_header_preproc"
6436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6437 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6440 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6441 cat >>confdefs.h <<_ACEOF
6442 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6452 for ac_header in fenv.h fptrap.h float.h
6454 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6456 echo "$as_me:$LINENO: checking for $ac_header" >&5
6457 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6459 echo $ECHO_N "(cached) $ECHO_C" >&6
6461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6462 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6464 # Is the header compilable?
6465 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6466 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6467 cat >conftest.$ac_ext <<_ACEOF
6470 cat confdefs.h >>conftest.$ac_ext
6471 cat >>conftest.$ac_ext <<_ACEOF
6472 /* end confdefs.h. */
6473 $ac_includes_default
6474 #include <$ac_header>
6476 rm -f conftest.$ac_objext
6477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6478 (eval $ac_compile) 2>conftest.er1
6480 grep -v '^ *+' conftest.er1 >conftest.err
6482 cat conftest.err >&5
6483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6484 (exit $ac_status); } &&
6485 { ac_try='test -z "$ac_c_werror_flag"
6486 || test ! -s conftest.err'
6487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6491 (exit $ac_status); }; } &&
6492 { ac_try='test -s conftest.$ac_objext'
6493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6497 (exit $ac_status); }; }; then
6498 ac_header_compiler=yes
6500 echo "$as_me: failed program was:" >&5
6501 sed 's/^/| /' conftest.$ac_ext >&5
6503 ac_header_compiler=no
6505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6506 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6507 echo "${ECHO_T}$ac_header_compiler" >&6
6509 # Is the header present?
6510 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6511 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6512 cat >conftest.$ac_ext <<_ACEOF
6515 cat confdefs.h >>conftest.$ac_ext
6516 cat >>conftest.$ac_ext <<_ACEOF
6517 /* end confdefs.h. */
6518 #include <$ac_header>
6520 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6521 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6523 grep -v '^ *+' conftest.er1 >conftest.err
6525 cat conftest.err >&5
6526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6527 (exit $ac_status); } >/dev/null; then
6528 if test -s conftest.err; then
6529 ac_cpp_err=$ac_c_preproc_warn_flag
6530 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6537 if test -z "$ac_cpp_err"; then
6538 ac_header_preproc=yes
6540 echo "$as_me: failed program was:" >&5
6541 sed 's/^/| /' conftest.$ac_ext >&5
6543 ac_header_preproc=no
6545 rm -f conftest.err conftest.$ac_ext
6546 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6547 echo "${ECHO_T}$ac_header_preproc" >&6
6549 # So? What about this header?
6550 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6552 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6553 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6554 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6555 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6556 ac_header_preproc=yes
6559 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6560 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6561 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6562 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6563 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6564 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6565 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6566 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6567 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6568 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6569 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6570 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6573 ## ------------------------------------------------------ ##
6574 ## Report this to the GNU Fortran Runtime Library lists. ##
6575 ## ------------------------------------------------------ ##
6578 sed "s/^/$as_me: WARNING: /" >&2
6581 echo "$as_me:$LINENO: checking for $ac_header" >&5
6582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6584 echo $ECHO_N "(cached) $ECHO_C" >&6
6586 eval "$as_ac_Header=\$ac_header_preproc"
6588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6589 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6592 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6593 cat >>confdefs.h <<_ACEOF
6594 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6601 if test "${ac_cv_header_complex_h+set}" = set; then
6602 echo "$as_me:$LINENO: checking for complex.h" >&5
6603 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6604 if test "${ac_cv_header_complex_h+set}" = set; then
6605 echo $ECHO_N "(cached) $ECHO_C" >&6
6607 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6608 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6610 # Is the header compilable?
6611 echo "$as_me:$LINENO: checking complex.h usability" >&5
6612 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6613 cat >conftest.$ac_ext <<_ACEOF
6616 cat confdefs.h >>conftest.$ac_ext
6617 cat >>conftest.$ac_ext <<_ACEOF
6618 /* end confdefs.h. */
6619 $ac_includes_default
6620 #include <complex.h>
6622 rm -f conftest.$ac_objext
6623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6624 (eval $ac_compile) 2>conftest.er1
6626 grep -v '^ *+' conftest.er1 >conftest.err
6628 cat conftest.err >&5
6629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6630 (exit $ac_status); } &&
6631 { ac_try='test -z "$ac_c_werror_flag"
6632 || test ! -s conftest.err'
6633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6637 (exit $ac_status); }; } &&
6638 { ac_try='test -s conftest.$ac_objext'
6639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6643 (exit $ac_status); }; }; then
6644 ac_header_compiler=yes
6646 echo "$as_me: failed program was:" >&5
6647 sed 's/^/| /' conftest.$ac_ext >&5
6649 ac_header_compiler=no
6651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6652 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6653 echo "${ECHO_T}$ac_header_compiler" >&6
6655 # Is the header present?
6656 echo "$as_me:$LINENO: checking complex.h presence" >&5
6657 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6658 cat >conftest.$ac_ext <<_ACEOF
6661 cat confdefs.h >>conftest.$ac_ext
6662 cat >>conftest.$ac_ext <<_ACEOF
6663 /* end confdefs.h. */
6664 #include <complex.h>
6666 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6667 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6669 grep -v '^ *+' conftest.er1 >conftest.err
6671 cat conftest.err >&5
6672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6673 (exit $ac_status); } >/dev/null; then
6674 if test -s conftest.err; then
6675 ac_cpp_err=$ac_c_preproc_warn_flag
6676 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6683 if test -z "$ac_cpp_err"; then
6684 ac_header_preproc=yes
6686 echo "$as_me: failed program was:" >&5
6687 sed 's/^/| /' conftest.$ac_ext >&5
6689 ac_header_preproc=no
6691 rm -f conftest.err conftest.$ac_ext
6692 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6693 echo "${ECHO_T}$ac_header_preproc" >&6
6695 # So? What about this header?
6696 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6698 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6699 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6700 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6701 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6702 ac_header_preproc=yes
6705 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6706 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6707 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6708 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6709 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6710 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6711 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6712 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6713 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6714 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6715 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6716 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6719 ## ------------------------------------------------------ ##
6720 ## Report this to the GNU Fortran Runtime Library lists. ##
6721 ## ------------------------------------------------------ ##
6724 sed "s/^/$as_me: WARNING: /" >&2
6727 echo "$as_me:$LINENO: checking for complex.h" >&5
6728 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6729 if test "${ac_cv_header_complex_h+set}" = set; then
6730 echo $ECHO_N "(cached) $ECHO_C" >&6
6732 ac_cv_header_complex_h=$ac_header_preproc
6734 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6735 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6738 if test $ac_cv_header_complex_h = yes; then
6740 cat >>confdefs.h <<\_ACEOF
6741 #define HAVE_COMPLEX_H 1
6749 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
6751 acx_cv_header_stdint=stddef.h
6752 acx_cv_header_stdint_kind="(already complete)"
6753 for i in stdint.h $inttype_headers; do
6754 unset ac_cv_type_uintptr_t
6755 unset ac_cv_type_uintmax_t
6756 unset ac_cv_type_int_least32_t
6757 unset ac_cv_type_int_fast32_t
6758 unset ac_cv_type_uint64_t
6759 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
6760 echo "$as_me:$LINENO: checking for uintmax_t" >&5
6761 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
6762 if test "${ac_cv_type_uintmax_t+set}" = set; then
6763 echo $ECHO_N "(cached) $ECHO_C" >&6
6765 cat >conftest.$ac_ext <<_ACEOF
6768 cat confdefs.h >>conftest.$ac_ext
6769 cat >>conftest.$ac_ext <<_ACEOF
6770 /* end confdefs.h. */
6771 #include <sys/types.h>
6777 if ((uintmax_t *) 0)
6779 if (sizeof (uintmax_t))
6785 rm -f conftest.$ac_objext
6786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6787 (eval $ac_compile) 2>conftest.er1
6789 grep -v '^ *+' conftest.er1 >conftest.err
6791 cat conftest.err >&5
6792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6793 (exit $ac_status); } &&
6794 { ac_try='test -z "$ac_c_werror_flag"
6795 || test ! -s conftest.err'
6796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6800 (exit $ac_status); }; } &&
6801 { ac_try='test -s conftest.$ac_objext'
6802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6806 (exit $ac_status); }; }; then
6807 ac_cv_type_uintmax_t=yes
6809 echo "$as_me: failed program was:" >&5
6810 sed 's/^/| /' conftest.$ac_ext >&5
6812 ac_cv_type_uintmax_t=no
6814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6816 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
6817 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
6818 if test $ac_cv_type_uintmax_t = yes; then
6819 acx_cv_header_stdint=$i
6824 echo "$as_me:$LINENO: checking for uintptr_t" >&5
6825 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
6826 if test "${ac_cv_type_uintptr_t+set}" = set; then
6827 echo $ECHO_N "(cached) $ECHO_C" >&6
6829 cat >conftest.$ac_ext <<_ACEOF
6832 cat confdefs.h >>conftest.$ac_ext
6833 cat >>conftest.$ac_ext <<_ACEOF
6834 /* end confdefs.h. */
6835 #include <sys/types.h>
6841 if ((uintptr_t *) 0)
6843 if (sizeof (uintptr_t))
6849 rm -f conftest.$ac_objext
6850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6851 (eval $ac_compile) 2>conftest.er1
6853 grep -v '^ *+' conftest.er1 >conftest.err
6855 cat conftest.err >&5
6856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6857 (exit $ac_status); } &&
6858 { ac_try='test -z "$ac_c_werror_flag"
6859 || test ! -s conftest.err'
6860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6864 (exit $ac_status); }; } &&
6865 { ac_try='test -s conftest.$ac_objext'
6866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6870 (exit $ac_status); }; }; then
6871 ac_cv_type_uintptr_t=yes
6873 echo "$as_me: failed program was:" >&5
6874 sed 's/^/| /' conftest.$ac_ext >&5
6876 ac_cv_type_uintptr_t=no
6878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6880 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
6881 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
6882 if test $ac_cv_type_uintptr_t = yes; then
6885 acx_cv_header_stdint_kind="(mostly complete)"
6888 echo "$as_me:$LINENO: checking for int_least32_t" >&5
6889 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
6890 if test "${ac_cv_type_int_least32_t+set}" = set; then
6891 echo $ECHO_N "(cached) $ECHO_C" >&6
6893 cat >conftest.$ac_ext <<_ACEOF
6896 cat confdefs.h >>conftest.$ac_ext
6897 cat >>conftest.$ac_ext <<_ACEOF
6898 /* end confdefs.h. */
6899 #include <sys/types.h>
6905 if ((int_least32_t *) 0)
6907 if (sizeof (int_least32_t))
6913 rm -f conftest.$ac_objext
6914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6915 (eval $ac_compile) 2>conftest.er1
6917 grep -v '^ *+' conftest.er1 >conftest.err
6919 cat conftest.err >&5
6920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6921 (exit $ac_status); } &&
6922 { ac_try='test -z "$ac_c_werror_flag"
6923 || test ! -s conftest.err'
6924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6928 (exit $ac_status); }; } &&
6929 { ac_try='test -s conftest.$ac_objext'
6930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6934 (exit $ac_status); }; }; then
6935 ac_cv_type_int_least32_t=yes
6937 echo "$as_me: failed program was:" >&5
6938 sed 's/^/| /' conftest.$ac_ext >&5
6940 ac_cv_type_int_least32_t=no
6942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6944 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
6945 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
6946 if test $ac_cv_type_int_least32_t = yes; then
6949 acx_cv_header_stdint_kind="(mostly complete)"
6952 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
6953 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
6954 if test "${ac_cv_type_int_fast32_t+set}" = set; then
6955 echo $ECHO_N "(cached) $ECHO_C" >&6
6957 cat >conftest.$ac_ext <<_ACEOF
6960 cat confdefs.h >>conftest.$ac_ext
6961 cat >>conftest.$ac_ext <<_ACEOF
6962 /* end confdefs.h. */
6963 #include <sys/types.h>
6969 if ((int_fast32_t *) 0)
6971 if (sizeof (int_fast32_t))
6977 rm -f conftest.$ac_objext
6978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6979 (eval $ac_compile) 2>conftest.er1
6981 grep -v '^ *+' conftest.er1 >conftest.err
6983 cat conftest.err >&5
6984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6985 (exit $ac_status); } &&
6986 { ac_try='test -z "$ac_c_werror_flag"
6987 || test ! -s conftest.err'
6988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6992 (exit $ac_status); }; } &&
6993 { ac_try='test -s conftest.$ac_objext'
6994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6998 (exit $ac_status); }; }; then
6999 ac_cv_type_int_fast32_t=yes
7001 echo "$as_me: failed program was:" >&5
7002 sed 's/^/| /' conftest.$ac_ext >&5
7004 ac_cv_type_int_fast32_t=no
7006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7008 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
7009 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
7010 if test $ac_cv_type_int_fast32_t = yes; then
7013 acx_cv_header_stdint_kind="(mostly complete)"
7016 echo "$as_me:$LINENO: checking for uint64_t" >&5
7017 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
7018 if test "${ac_cv_type_uint64_t+set}" = set; then
7019 echo $ECHO_N "(cached) $ECHO_C" >&6
7021 cat >conftest.$ac_ext <<_ACEOF
7024 cat confdefs.h >>conftest.$ac_ext
7025 cat >>conftest.$ac_ext <<_ACEOF
7026 /* end confdefs.h. */
7027 #include <sys/types.h>
7035 if (sizeof (uint64_t))
7041 rm -f conftest.$ac_objext
7042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7043 (eval $ac_compile) 2>conftest.er1
7045 grep -v '^ *+' conftest.er1 >conftest.err
7047 cat conftest.err >&5
7048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7049 (exit $ac_status); } &&
7050 { ac_try='test -z "$ac_c_werror_flag"
7051 || test ! -s conftest.err'
7052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7056 (exit $ac_status); }; } &&
7057 { ac_try='test -s conftest.$ac_objext'
7058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7062 (exit $ac_status); }; }; then
7063 ac_cv_type_uint64_t=yes
7065 echo "$as_me: failed program was:" >&5
7066 sed 's/^/| /' conftest.$ac_ext >&5
7068 ac_cv_type_uint64_t=no
7070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7072 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
7073 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
7074 if test $ac_cv_type_uint64_t = yes; then
7077 acx_cv_header_stdint_kind="(lacks uint64_t)"
7082 if test "$acx_cv_header_stdint" = stddef.h; then
7083 acx_cv_header_stdint_kind="(lacks uintmax_t)"
7084 for i in stdint.h $inttype_headers; do
7085 unset ac_cv_type_uintptr_t
7086 unset ac_cv_type_uint32_t
7087 unset ac_cv_type_uint64_t
7088 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
7089 echo "$as_me:$LINENO: checking for uint32_t" >&5
7090 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
7091 if test "${ac_cv_type_uint32_t+set}" = set; then
7092 echo $ECHO_N "(cached) $ECHO_C" >&6
7094 cat >conftest.$ac_ext <<_ACEOF
7097 cat confdefs.h >>conftest.$ac_ext
7098 cat >>conftest.$ac_ext <<_ACEOF
7099 /* end confdefs.h. */
7100 #include <sys/types.h>
7108 if (sizeof (uint32_t))
7114 rm -f conftest.$ac_objext
7115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7116 (eval $ac_compile) 2>conftest.er1
7118 grep -v '^ *+' conftest.er1 >conftest.err
7120 cat conftest.err >&5
7121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7122 (exit $ac_status); } &&
7123 { ac_try='test -z "$ac_c_werror_flag"
7124 || test ! -s conftest.err'
7125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7129 (exit $ac_status); }; } &&
7130 { ac_try='test -s conftest.$ac_objext'
7131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7135 (exit $ac_status); }; }; then
7136 ac_cv_type_uint32_t=yes
7138 echo "$as_me: failed program was:" >&5
7139 sed 's/^/| /' conftest.$ac_ext >&5
7141 ac_cv_type_uint32_t=no
7143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7145 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
7146 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
7147 if test $ac_cv_type_uint32_t = yes; then
7148 acx_cv_header_stdint=$i
7153 echo "$as_me:$LINENO: checking for uint64_t" >&5
7154 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
7155 if test "${ac_cv_type_uint64_t+set}" = set; then
7156 echo $ECHO_N "(cached) $ECHO_C" >&6
7158 cat >conftest.$ac_ext <<_ACEOF
7161 cat confdefs.h >>conftest.$ac_ext
7162 cat >>conftest.$ac_ext <<_ACEOF
7163 /* end confdefs.h. */
7164 #include <sys/types.h>
7172 if (sizeof (uint64_t))
7178 rm -f conftest.$ac_objext
7179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7180 (eval $ac_compile) 2>conftest.er1
7182 grep -v '^ *+' conftest.er1 >conftest.err
7184 cat conftest.err >&5
7185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7186 (exit $ac_status); } &&
7187 { ac_try='test -z "$ac_c_werror_flag"
7188 || test ! -s conftest.err'
7189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7193 (exit $ac_status); }; } &&
7194 { ac_try='test -s conftest.$ac_objext'
7195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7199 (exit $ac_status); }; }; then
7200 ac_cv_type_uint64_t=yes
7202 echo "$as_me: failed program was:" >&5
7203 sed 's/^/| /' conftest.$ac_ext >&5
7205 ac_cv_type_uint64_t=no
7207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7209 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
7210 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
7212 echo "$as_me:$LINENO: checking for uintptr_t" >&5
7213 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
7214 if test "${ac_cv_type_uintptr_t+set}" = set; then
7215 echo $ECHO_N "(cached) $ECHO_C" >&6
7217 cat >conftest.$ac_ext <<_ACEOF
7220 cat confdefs.h >>conftest.$ac_ext
7221 cat >>conftest.$ac_ext <<_ACEOF
7222 /* end confdefs.h. */
7223 #include <sys/types.h>
7229 if ((uintptr_t *) 0)
7231 if (sizeof (uintptr_t))
7237 rm -f conftest.$ac_objext
7238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7239 (eval $ac_compile) 2>conftest.er1
7241 grep -v '^ *+' conftest.er1 >conftest.err
7243 cat conftest.err >&5
7244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7245 (exit $ac_status); } &&
7246 { ac_try='test -z "$ac_c_werror_flag"
7247 || test ! -s conftest.err'
7248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7252 (exit $ac_status); }; } &&
7253 { ac_try='test -s conftest.$ac_objext'
7254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7258 (exit $ac_status); }; }; then
7259 ac_cv_type_uintptr_t=yes
7261 echo "$as_me: failed program was:" >&5
7262 sed 's/^/| /' conftest.$ac_ext >&5
7264 ac_cv_type_uintptr_t=no
7266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7268 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
7269 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
7274 if test "$acx_cv_header_stdint" = stddef.h; then
7275 acx_cv_header_stdint_kind="(u_intXX_t style)"
7276 for i in sys/types.h $inttype_headers; do
7277 unset ac_cv_type_u_int32_t
7278 unset ac_cv_type_u_int64_t
7279 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
7280 echo "$as_me:$LINENO: checking for u_int32_t" >&5
7281 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
7282 if test "${ac_cv_type_u_int32_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>
7297 if ((u_int32_t *) 0)
7299 if (sizeof (u_int32_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_u_int32_t=yes
7329 echo "$as_me: failed program was:" >&5
7330 sed 's/^/| /' conftest.$ac_ext >&5
7332 ac_cv_type_u_int32_t=no
7334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7336 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
7337 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
7338 if test $ac_cv_type_u_int32_t = yes; then
7339 acx_cv_header_stdint=$i
7344 echo "$as_me:$LINENO: checking for u_int64_t" >&5
7345 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
7346 if test "${ac_cv_type_u_int64_t+set}" = set; then
7347 echo $ECHO_N "(cached) $ECHO_C" >&6
7349 cat >conftest.$ac_ext <<_ACEOF
7352 cat confdefs.h >>conftest.$ac_ext
7353 cat >>conftest.$ac_ext <<_ACEOF
7354 /* end confdefs.h. */
7355 #include <sys/types.h>
7361 if ((u_int64_t *) 0)
7363 if (sizeof (u_int64_t))
7369 rm -f conftest.$ac_objext
7370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7371 (eval $ac_compile) 2>conftest.er1
7373 grep -v '^ *+' conftest.er1 >conftest.err
7375 cat conftest.err >&5
7376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7377 (exit $ac_status); } &&
7378 { ac_try='test -z "$ac_c_werror_flag"
7379 || test ! -s conftest.err'
7380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); }; } &&
7385 { ac_try='test -s conftest.$ac_objext'
7386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7390 (exit $ac_status); }; }; then
7391 ac_cv_type_u_int64_t=yes
7393 echo "$as_me: failed program was:" >&5
7394 sed 's/^/| /' conftest.$ac_ext >&5
7396 ac_cv_type_u_int64_t=no
7398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7400 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
7401 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
7406 if test "$acx_cv_header_stdint" = stddef.h; then
7407 acx_cv_header_stdint_kind="(using manual detection)"
7410 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
7411 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
7412 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
7413 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
7414 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
7416 # ----------------- Summarize what we found so far
7418 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
7419 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
7421 case `$as_basename gstdint.h ||
7422 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
7423 Xgstdint.h : 'X\(//\)$' \| \
7424 Xgstdint.h : 'X\(/\)$' \| \
7425 . : '\(.\)' 2>/dev/null ||
7427 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7428 /^X\/\(\/\/\)$/{ s//\1/; q; }
7429 /^X\/\(\/\).*/{ s//\1/; q; }
7431 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
7432 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
7433 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
7434 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
7438 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
7439 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
7441 # ----------------- done included file, check C basic types --------
7443 # Lacking an uintptr_t? Test size of void *
7444 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
7445 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
7446 echo $ECHO_N "checking for void *... $ECHO_C" >&6
7447 if test "${ac_cv_type_void_p+set}" = set; then
7448 echo $ECHO_N "(cached) $ECHO_C" >&6
7450 cat >conftest.$ac_ext <<_ACEOF
7453 cat confdefs.h >>conftest.$ac_ext
7454 cat >>conftest.$ac_ext <<_ACEOF
7455 /* end confdefs.h. */
7456 $ac_includes_default
7462 if (sizeof (void *))
7468 rm -f conftest.$ac_objext
7469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7470 (eval $ac_compile) 2>conftest.er1
7472 grep -v '^ *+' conftest.er1 >conftest.err
7474 cat conftest.err >&5
7475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7476 (exit $ac_status); } &&
7477 { ac_try='test -z "$ac_c_werror_flag"
7478 || test ! -s conftest.err'
7479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7483 (exit $ac_status); }; } &&
7484 { ac_try='test -s conftest.$ac_objext'
7485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7489 (exit $ac_status); }; }; then
7490 ac_cv_type_void_p=yes
7492 echo "$as_me: failed program was:" >&5
7493 sed 's/^/| /' conftest.$ac_ext >&5
7495 ac_cv_type_void_p=no
7497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7499 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
7500 echo "${ECHO_T}$ac_cv_type_void_p" >&6
7502 echo "$as_me:$LINENO: checking size of void *" >&5
7503 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
7504 if test "${ac_cv_sizeof_void_p+set}" = set; then
7505 echo $ECHO_N "(cached) $ECHO_C" >&6
7507 if test "$ac_cv_type_void_p" = yes; then
7508 # The cast to unsigned long works around a bug in the HP C Compiler
7509 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7510 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7511 # This bug is HP SR number 8606223364.
7512 if test "$cross_compiling" = yes; then
7513 # Depending upon the size, compute the lo and hi bounds.
7514 cat >conftest.$ac_ext <<_ACEOF
7517 cat confdefs.h >>conftest.$ac_ext
7518 cat >>conftest.$ac_ext <<_ACEOF
7519 /* end confdefs.h. */
7520 $ac_includes_default
7524 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
7531 rm -f conftest.$ac_objext
7532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7533 (eval $ac_compile) 2>conftest.er1
7535 grep -v '^ *+' conftest.er1 >conftest.err
7537 cat conftest.err >&5
7538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7539 (exit $ac_status); } &&
7540 { ac_try='test -z "$ac_c_werror_flag"
7541 || test ! -s conftest.err'
7542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7546 (exit $ac_status); }; } &&
7547 { ac_try='test -s conftest.$ac_objext'
7548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7552 (exit $ac_status); }; }; then
7555 cat >conftest.$ac_ext <<_ACEOF
7558 cat confdefs.h >>conftest.$ac_ext
7559 cat >>conftest.$ac_ext <<_ACEOF
7560 /* end confdefs.h. */
7561 $ac_includes_default
7565 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
7572 rm -f conftest.$ac_objext
7573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7574 (eval $ac_compile) 2>conftest.er1
7576 grep -v '^ *+' conftest.er1 >conftest.err
7578 cat conftest.err >&5
7579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7580 (exit $ac_status); } &&
7581 { ac_try='test -z "$ac_c_werror_flag"
7582 || test ! -s conftest.err'
7583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7587 (exit $ac_status); }; } &&
7588 { ac_try='test -s conftest.$ac_objext'
7589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7593 (exit $ac_status); }; }; then
7594 ac_hi=$ac_mid; break
7596 echo "$as_me: failed program was:" >&5
7597 sed 's/^/| /' conftest.$ac_ext >&5
7599 ac_lo=`expr $ac_mid + 1`
7600 if test $ac_lo -le $ac_mid; then
7604 ac_mid=`expr 2 '*' $ac_mid + 1`
7606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7609 echo "$as_me: failed program was:" >&5
7610 sed 's/^/| /' conftest.$ac_ext >&5
7612 cat >conftest.$ac_ext <<_ACEOF
7615 cat confdefs.h >>conftest.$ac_ext
7616 cat >>conftest.$ac_ext <<_ACEOF
7617 /* end confdefs.h. */
7618 $ac_includes_default
7622 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
7629 rm -f conftest.$ac_objext
7630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7631 (eval $ac_compile) 2>conftest.er1
7633 grep -v '^ *+' conftest.er1 >conftest.err
7635 cat conftest.err >&5
7636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7637 (exit $ac_status); } &&
7638 { ac_try='test -z "$ac_c_werror_flag"
7639 || test ! -s conftest.err'
7640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7644 (exit $ac_status); }; } &&
7645 { ac_try='test -s conftest.$ac_objext'
7646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7650 (exit $ac_status); }; }; then
7653 cat >conftest.$ac_ext <<_ACEOF
7656 cat confdefs.h >>conftest.$ac_ext
7657 cat >>conftest.$ac_ext <<_ACEOF
7658 /* end confdefs.h. */
7659 $ac_includes_default
7663 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
7670 rm -f conftest.$ac_objext
7671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7672 (eval $ac_compile) 2>conftest.er1
7674 grep -v '^ *+' conftest.er1 >conftest.err
7676 cat conftest.err >&5
7677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7678 (exit $ac_status); } &&
7679 { ac_try='test -z "$ac_c_werror_flag"
7680 || test ! -s conftest.err'
7681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7685 (exit $ac_status); }; } &&
7686 { ac_try='test -s conftest.$ac_objext'
7687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7691 (exit $ac_status); }; }; then
7692 ac_lo=$ac_mid; break
7694 echo "$as_me: failed program was:" >&5
7695 sed 's/^/| /' conftest.$ac_ext >&5
7697 ac_hi=`expr '(' $ac_mid ')' - 1`
7698 if test $ac_mid -le $ac_hi; then
7702 ac_mid=`expr 2 '*' $ac_mid`
7704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7707 echo "$as_me: failed program was:" >&5
7708 sed 's/^/| /' conftest.$ac_ext >&5
7712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7715 # Binary search between lo and hi bounds.
7716 while test "x$ac_lo" != "x$ac_hi"; do
7717 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7718 cat >conftest.$ac_ext <<_ACEOF
7721 cat confdefs.h >>conftest.$ac_ext
7722 cat >>conftest.$ac_ext <<_ACEOF
7723 /* end confdefs.h. */
7724 $ac_includes_default
7728 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
7735 rm -f conftest.$ac_objext
7736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7737 (eval $ac_compile) 2>conftest.er1
7739 grep -v '^ *+' conftest.er1 >conftest.err
7741 cat conftest.err >&5
7742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7743 (exit $ac_status); } &&
7744 { ac_try='test -z "$ac_c_werror_flag"
7745 || test ! -s conftest.err'
7746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7750 (exit $ac_status); }; } &&
7751 { ac_try='test -s conftest.$ac_objext'
7752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7756 (exit $ac_status); }; }; then
7759 echo "$as_me: failed program was:" >&5
7760 sed 's/^/| /' conftest.$ac_ext >&5
7762 ac_lo=`expr '(' $ac_mid ')' + 1`
7764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7767 ?*) ac_cv_sizeof_void_p=$ac_lo;;
7768 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
7769 See \`config.log' for more details." >&5
7770 echo "$as_me: error: cannot compute sizeof (void *), 77
7771 See \`config.log' for more details." >&2;}
7772 { (exit 1); exit 1; }; } ;;
7775 if test "$cross_compiling" = yes; then
7776 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7777 See \`config.log' for more details." >&5
7778 echo "$as_me: error: cannot run test program while cross compiling
7779 See \`config.log' for more details." >&2;}
7780 { (exit 1); exit 1; }; }
7782 cat >conftest.$ac_ext <<_ACEOF
7785 cat confdefs.h >>conftest.$ac_ext
7786 cat >>conftest.$ac_ext <<_ACEOF
7787 /* end confdefs.h. */
7788 $ac_includes_default
7789 long longval () { return (long) (sizeof (void *)); }
7790 unsigned long ulongval () { return (long) (sizeof (void *)); }
7797 FILE *f = fopen ("conftest.val", "w");
7800 if (((long) (sizeof (void *))) < 0)
7802 long i = longval ();
7803 if (i != ((long) (sizeof (void *))))
7805 fprintf (f, "%ld\n", i);
7809 unsigned long i = ulongval ();
7810 if (i != ((long) (sizeof (void *))))
7812 fprintf (f, "%lu\n", i);
7814 exit (ferror (f) || fclose (f) != 0);
7820 rm -f conftest$ac_exeext
7821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7822 (eval $ac_link) 2>&5
7824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7825 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7830 (exit $ac_status); }; }; then
7831 ac_cv_sizeof_void_p=`cat conftest.val`
7833 echo "$as_me: program exited with status $ac_status" >&5
7834 echo "$as_me: failed program was:" >&5
7835 sed 's/^/| /' conftest.$ac_ext >&5
7838 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
7839 See \`config.log' for more details." >&5
7840 echo "$as_me: error: cannot compute sizeof (void *), 77
7841 See \`config.log' for more details." >&2;}
7842 { (exit 1); exit 1; }; }
7844 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7849 ac_cv_sizeof_void_p=0
7852 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
7853 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
7854 cat >>confdefs.h <<_ACEOF
7855 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
7861 # Lacking an uint64_t? Test size of long
7862 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
7863 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
7864 echo $ECHO_N "checking for long... $ECHO_C" >&6
7865 if test "${ac_cv_type_long+set}" = set; then
7866 echo $ECHO_N "(cached) $ECHO_C" >&6
7868 cat >conftest.$ac_ext <<_ACEOF
7871 cat confdefs.h >>conftest.$ac_ext
7872 cat >>conftest.$ac_ext <<_ACEOF
7873 /* end confdefs.h. */
7874 $ac_includes_default
7886 rm -f conftest.$ac_objext
7887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7888 (eval $ac_compile) 2>conftest.er1
7890 grep -v '^ *+' conftest.er1 >conftest.err
7892 cat conftest.err >&5
7893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7894 (exit $ac_status); } &&
7895 { ac_try='test -z "$ac_c_werror_flag"
7896 || test ! -s conftest.err'
7897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7901 (exit $ac_status); }; } &&
7902 { ac_try='test -s conftest.$ac_objext'
7903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7907 (exit $ac_status); }; }; then
7910 echo "$as_me: failed program was:" >&5
7911 sed 's/^/| /' conftest.$ac_ext >&5
7915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7917 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
7918 echo "${ECHO_T}$ac_cv_type_long" >&6
7920 echo "$as_me:$LINENO: checking size of long" >&5
7921 echo $ECHO_N "checking size of long... $ECHO_C" >&6
7922 if test "${ac_cv_sizeof_long+set}" = set; then
7923 echo $ECHO_N "(cached) $ECHO_C" >&6
7925 if test "$ac_cv_type_long" = yes; then
7926 # The cast to unsigned long works around a bug in the HP C Compiler
7927 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7928 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7929 # This bug is HP SR number 8606223364.
7930 if test "$cross_compiling" = yes; then
7931 # Depending upon the size, compute the lo and hi bounds.
7932 cat >conftest.$ac_ext <<_ACEOF
7935 cat confdefs.h >>conftest.$ac_ext
7936 cat >>conftest.$ac_ext <<_ACEOF
7937 /* end confdefs.h. */
7938 $ac_includes_default
7942 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
7949 rm -f conftest.$ac_objext
7950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7951 (eval $ac_compile) 2>conftest.er1
7953 grep -v '^ *+' conftest.er1 >conftest.err
7955 cat conftest.err >&5
7956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7957 (exit $ac_status); } &&
7958 { ac_try='test -z "$ac_c_werror_flag"
7959 || test ! -s conftest.err'
7960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7964 (exit $ac_status); }; } &&
7965 { ac_try='test -s conftest.$ac_objext'
7966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7970 (exit $ac_status); }; }; then
7973 cat >conftest.$ac_ext <<_ACEOF
7976 cat confdefs.h >>conftest.$ac_ext
7977 cat >>conftest.$ac_ext <<_ACEOF
7978 /* end confdefs.h. */
7979 $ac_includes_default
7983 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7990 rm -f conftest.$ac_objext
7991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7992 (eval $ac_compile) 2>conftest.er1
7994 grep -v '^ *+' conftest.er1 >conftest.err
7996 cat conftest.err >&5
7997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7998 (exit $ac_status); } &&
7999 { ac_try='test -z "$ac_c_werror_flag"
8000 || test ! -s conftest.err'
8001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8005 (exit $ac_status); }; } &&
8006 { ac_try='test -s conftest.$ac_objext'
8007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8011 (exit $ac_status); }; }; then
8012 ac_hi=$ac_mid; break
8014 echo "$as_me: failed program was:" >&5
8015 sed 's/^/| /' conftest.$ac_ext >&5
8017 ac_lo=`expr $ac_mid + 1`
8018 if test $ac_lo -le $ac_mid; then
8022 ac_mid=`expr 2 '*' $ac_mid + 1`
8024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8027 echo "$as_me: failed program was:" >&5
8028 sed 's/^/| /' conftest.$ac_ext >&5
8030 cat >conftest.$ac_ext <<_ACEOF
8033 cat confdefs.h >>conftest.$ac_ext
8034 cat >>conftest.$ac_ext <<_ACEOF
8035 /* end confdefs.h. */
8036 $ac_includes_default
8040 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
8047 rm -f conftest.$ac_objext
8048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8049 (eval $ac_compile) 2>conftest.er1
8051 grep -v '^ *+' conftest.er1 >conftest.err
8053 cat conftest.err >&5
8054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8055 (exit $ac_status); } &&
8056 { ac_try='test -z "$ac_c_werror_flag"
8057 || test ! -s conftest.err'
8058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8062 (exit $ac_status); }; } &&
8063 { ac_try='test -s conftest.$ac_objext'
8064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8068 (exit $ac_status); }; }; then
8071 cat >conftest.$ac_ext <<_ACEOF
8074 cat confdefs.h >>conftest.$ac_ext
8075 cat >>conftest.$ac_ext <<_ACEOF
8076 /* end confdefs.h. */
8077 $ac_includes_default
8081 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
8088 rm -f conftest.$ac_objext
8089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8090 (eval $ac_compile) 2>conftest.er1
8092 grep -v '^ *+' conftest.er1 >conftest.err
8094 cat conftest.err >&5
8095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8096 (exit $ac_status); } &&
8097 { ac_try='test -z "$ac_c_werror_flag"
8098 || test ! -s conftest.err'
8099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8103 (exit $ac_status); }; } &&
8104 { ac_try='test -s conftest.$ac_objext'
8105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8109 (exit $ac_status); }; }; then
8110 ac_lo=$ac_mid; break
8112 echo "$as_me: failed program was:" >&5
8113 sed 's/^/| /' conftest.$ac_ext >&5
8115 ac_hi=`expr '(' $ac_mid ')' - 1`
8116 if test $ac_mid -le $ac_hi; then
8120 ac_mid=`expr 2 '*' $ac_mid`
8122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8125 echo "$as_me: failed program was:" >&5
8126 sed 's/^/| /' conftest.$ac_ext >&5
8130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8133 # Binary search between lo and hi bounds.
8134 while test "x$ac_lo" != "x$ac_hi"; do
8135 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8136 cat >conftest.$ac_ext <<_ACEOF
8139 cat confdefs.h >>conftest.$ac_ext
8140 cat >>conftest.$ac_ext <<_ACEOF
8141 /* end confdefs.h. */
8142 $ac_includes_default
8146 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
8153 rm -f conftest.$ac_objext
8154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8155 (eval $ac_compile) 2>conftest.er1
8157 grep -v '^ *+' conftest.er1 >conftest.err
8159 cat conftest.err >&5
8160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8161 (exit $ac_status); } &&
8162 { ac_try='test -z "$ac_c_werror_flag"
8163 || test ! -s conftest.err'
8164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8168 (exit $ac_status); }; } &&
8169 { ac_try='test -s conftest.$ac_objext'
8170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8174 (exit $ac_status); }; }; then
8177 echo "$as_me: failed program was:" >&5
8178 sed 's/^/| /' conftest.$ac_ext >&5
8180 ac_lo=`expr '(' $ac_mid ')' + 1`
8182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8185 ?*) ac_cv_sizeof_long=$ac_lo;;
8186 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8187 See \`config.log' for more details." >&5
8188 echo "$as_me: error: cannot compute sizeof (long), 77
8189 See \`config.log' for more details." >&2;}
8190 { (exit 1); exit 1; }; } ;;
8193 if test "$cross_compiling" = yes; then
8194 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8195 See \`config.log' for more details." >&5
8196 echo "$as_me: error: cannot run test program while cross compiling
8197 See \`config.log' for more details." >&2;}
8198 { (exit 1); exit 1; }; }
8200 cat >conftest.$ac_ext <<_ACEOF
8203 cat confdefs.h >>conftest.$ac_ext
8204 cat >>conftest.$ac_ext <<_ACEOF
8205 /* end confdefs.h. */
8206 $ac_includes_default
8207 long longval () { return (long) (sizeof (long)); }
8208 unsigned long ulongval () { return (long) (sizeof (long)); }
8215 FILE *f = fopen ("conftest.val", "w");
8218 if (((long) (sizeof (long))) < 0)
8220 long i = longval ();
8221 if (i != ((long) (sizeof (long))))
8223 fprintf (f, "%ld\n", i);
8227 unsigned long i = ulongval ();
8228 if (i != ((long) (sizeof (long))))
8230 fprintf (f, "%lu\n", i);
8232 exit (ferror (f) || fclose (f) != 0);
8238 rm -f conftest$ac_exeext
8239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8240 (eval $ac_link) 2>&5
8242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8243 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248 (exit $ac_status); }; }; then
8249 ac_cv_sizeof_long=`cat conftest.val`
8251 echo "$as_me: program exited with status $ac_status" >&5
8252 echo "$as_me: failed program was:" >&5
8253 sed 's/^/| /' conftest.$ac_ext >&5
8256 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8257 See \`config.log' for more details." >&5
8258 echo "$as_me: error: cannot compute sizeof (long), 77
8259 See \`config.log' for more details." >&2;}
8260 { (exit 1); exit 1; }; }
8262 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8270 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
8271 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
8272 cat >>confdefs.h <<_ACEOF
8273 #define SIZEOF_LONG $ac_cv_sizeof_long
8279 if test $acx_cv_header_stdint = stddef.h; then
8280 # Lacking a good header? Test size of everything and deduce all types.
8281 echo "$as_me:$LINENO: checking for int" >&5
8282 echo $ECHO_N "checking for int... $ECHO_C" >&6
8283 if test "${ac_cv_type_int+set}" = set; then
8284 echo $ECHO_N "(cached) $ECHO_C" >&6
8286 cat >conftest.$ac_ext <<_ACEOF
8289 cat confdefs.h >>conftest.$ac_ext
8290 cat >>conftest.$ac_ext <<_ACEOF
8291 /* end confdefs.h. */
8292 $ac_includes_default
8304 rm -f conftest.$ac_objext
8305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8306 (eval $ac_compile) 2>conftest.er1
8308 grep -v '^ *+' conftest.er1 >conftest.err
8310 cat conftest.err >&5
8311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8312 (exit $ac_status); } &&
8313 { ac_try='test -z "$ac_c_werror_flag"
8314 || test ! -s conftest.err'
8315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8319 (exit $ac_status); }; } &&
8320 { ac_try='test -s conftest.$ac_objext'
8321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8325 (exit $ac_status); }; }; then
8328 echo "$as_me: failed program was:" >&5
8329 sed 's/^/| /' conftest.$ac_ext >&5
8333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8335 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
8336 echo "${ECHO_T}$ac_cv_type_int" >&6
8338 echo "$as_me:$LINENO: checking size of int" >&5
8339 echo $ECHO_N "checking size of int... $ECHO_C" >&6
8340 if test "${ac_cv_sizeof_int+set}" = set; then
8341 echo $ECHO_N "(cached) $ECHO_C" >&6
8343 if test "$ac_cv_type_int" = yes; then
8344 # The cast to unsigned long works around a bug in the HP C Compiler
8345 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8346 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8347 # This bug is HP SR number 8606223364.
8348 if test "$cross_compiling" = yes; then
8349 # Depending upon the size, compute the lo and hi bounds.
8350 cat >conftest.$ac_ext <<_ACEOF
8353 cat confdefs.h >>conftest.$ac_ext
8354 cat >>conftest.$ac_ext <<_ACEOF
8355 /* end confdefs.h. */
8356 $ac_includes_default
8360 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
8367 rm -f conftest.$ac_objext
8368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8369 (eval $ac_compile) 2>conftest.er1
8371 grep -v '^ *+' conftest.er1 >conftest.err
8373 cat conftest.err >&5
8374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8375 (exit $ac_status); } &&
8376 { ac_try='test -z "$ac_c_werror_flag"
8377 || test ! -s conftest.err'
8378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8382 (exit $ac_status); }; } &&
8383 { ac_try='test -s conftest.$ac_objext'
8384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8388 (exit $ac_status); }; }; then
8391 cat >conftest.$ac_ext <<_ACEOF
8394 cat confdefs.h >>conftest.$ac_ext
8395 cat >>conftest.$ac_ext <<_ACEOF
8396 /* end confdefs.h. */
8397 $ac_includes_default
8401 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
8408 rm -f conftest.$ac_objext
8409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8410 (eval $ac_compile) 2>conftest.er1
8412 grep -v '^ *+' conftest.er1 >conftest.err
8414 cat conftest.err >&5
8415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8416 (exit $ac_status); } &&
8417 { ac_try='test -z "$ac_c_werror_flag"
8418 || test ! -s conftest.err'
8419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8423 (exit $ac_status); }; } &&
8424 { ac_try='test -s conftest.$ac_objext'
8425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 (exit $ac_status); }; }; then
8430 ac_hi=$ac_mid; break
8432 echo "$as_me: failed program was:" >&5
8433 sed 's/^/| /' conftest.$ac_ext >&5
8435 ac_lo=`expr $ac_mid + 1`
8436 if test $ac_lo -le $ac_mid; then
8440 ac_mid=`expr 2 '*' $ac_mid + 1`
8442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8445 echo "$as_me: failed program was:" >&5
8446 sed 's/^/| /' conftest.$ac_ext >&5
8448 cat >conftest.$ac_ext <<_ACEOF
8451 cat confdefs.h >>conftest.$ac_ext
8452 cat >>conftest.$ac_ext <<_ACEOF
8453 /* end confdefs.h. */
8454 $ac_includes_default
8458 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
8465 rm -f conftest.$ac_objext
8466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8467 (eval $ac_compile) 2>conftest.er1
8469 grep -v '^ *+' conftest.er1 >conftest.err
8471 cat conftest.err >&5
8472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473 (exit $ac_status); } &&
8474 { ac_try='test -z "$ac_c_werror_flag"
8475 || test ! -s conftest.err'
8476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8480 (exit $ac_status); }; } &&
8481 { ac_try='test -s conftest.$ac_objext'
8482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8486 (exit $ac_status); }; }; then
8489 cat >conftest.$ac_ext <<_ACEOF
8492 cat confdefs.h >>conftest.$ac_ext
8493 cat >>conftest.$ac_ext <<_ACEOF
8494 /* end confdefs.h. */
8495 $ac_includes_default
8499 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
8506 rm -f conftest.$ac_objext
8507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8508 (eval $ac_compile) 2>conftest.er1
8510 grep -v '^ *+' conftest.er1 >conftest.err
8512 cat conftest.err >&5
8513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8514 (exit $ac_status); } &&
8515 { ac_try='test -z "$ac_c_werror_flag"
8516 || test ! -s conftest.err'
8517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8521 (exit $ac_status); }; } &&
8522 { ac_try='test -s conftest.$ac_objext'
8523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 (exit $ac_status); }; }; then
8528 ac_lo=$ac_mid; break
8530 echo "$as_me: failed program was:" >&5
8531 sed 's/^/| /' conftest.$ac_ext >&5
8533 ac_hi=`expr '(' $ac_mid ')' - 1`
8534 if test $ac_mid -le $ac_hi; then
8538 ac_mid=`expr 2 '*' $ac_mid`
8540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8543 echo "$as_me: failed program was:" >&5
8544 sed 's/^/| /' conftest.$ac_ext >&5
8548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8551 # Binary search between lo and hi bounds.
8552 while test "x$ac_lo" != "x$ac_hi"; do
8553 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8554 cat >conftest.$ac_ext <<_ACEOF
8557 cat confdefs.h >>conftest.$ac_ext
8558 cat >>conftest.$ac_ext <<_ACEOF
8559 /* end confdefs.h. */
8560 $ac_includes_default
8564 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
8571 rm -f conftest.$ac_objext
8572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8573 (eval $ac_compile) 2>conftest.er1
8575 grep -v '^ *+' conftest.er1 >conftest.err
8577 cat conftest.err >&5
8578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8579 (exit $ac_status); } &&
8580 { ac_try='test -z "$ac_c_werror_flag"
8581 || test ! -s conftest.err'
8582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586 (exit $ac_status); }; } &&
8587 { ac_try='test -s conftest.$ac_objext'
8588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8592 (exit $ac_status); }; }; then
8595 echo "$as_me: failed program was:" >&5
8596 sed 's/^/| /' conftest.$ac_ext >&5
8598 ac_lo=`expr '(' $ac_mid ')' + 1`
8600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8603 ?*) ac_cv_sizeof_int=$ac_lo;;
8604 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8605 See \`config.log' for more details." >&5
8606 echo "$as_me: error: cannot compute sizeof (int), 77
8607 See \`config.log' for more details." >&2;}
8608 { (exit 1); exit 1; }; } ;;
8611 if test "$cross_compiling" = yes; then
8612 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8613 See \`config.log' for more details." >&5
8614 echo "$as_me: error: cannot run test program while cross compiling
8615 See \`config.log' for more details." >&2;}
8616 { (exit 1); exit 1; }; }
8618 cat >conftest.$ac_ext <<_ACEOF
8621 cat confdefs.h >>conftest.$ac_ext
8622 cat >>conftest.$ac_ext <<_ACEOF
8623 /* end confdefs.h. */
8624 $ac_includes_default
8625 long longval () { return (long) (sizeof (int)); }
8626 unsigned long ulongval () { return (long) (sizeof (int)); }
8633 FILE *f = fopen ("conftest.val", "w");
8636 if (((long) (sizeof (int))) < 0)
8638 long i = longval ();
8639 if (i != ((long) (sizeof (int))))
8641 fprintf (f, "%ld\n", i);
8645 unsigned long i = ulongval ();
8646 if (i != ((long) (sizeof (int))))
8648 fprintf (f, "%lu\n", i);
8650 exit (ferror (f) || fclose (f) != 0);
8656 rm -f conftest$ac_exeext
8657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8658 (eval $ac_link) 2>&5
8660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8661 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8666 (exit $ac_status); }; }; then
8667 ac_cv_sizeof_int=`cat conftest.val`
8669 echo "$as_me: program exited with status $ac_status" >&5
8670 echo "$as_me: failed program was:" >&5
8671 sed 's/^/| /' conftest.$ac_ext >&5
8674 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8675 See \`config.log' for more details." >&5
8676 echo "$as_me: error: cannot compute sizeof (int), 77
8677 See \`config.log' for more details." >&2;}
8678 { (exit 1); exit 1; }; }
8680 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8688 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
8689 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
8690 cat >>confdefs.h <<_ACEOF
8691 #define SIZEOF_INT $ac_cv_sizeof_int
8695 echo "$as_me:$LINENO: checking for short" >&5
8696 echo $ECHO_N "checking for short... $ECHO_C" >&6
8697 if test "${ac_cv_type_short+set}" = set; then
8698 echo $ECHO_N "(cached) $ECHO_C" >&6
8700 cat >conftest.$ac_ext <<_ACEOF
8703 cat confdefs.h >>conftest.$ac_ext
8704 cat >>conftest.$ac_ext <<_ACEOF
8705 /* end confdefs.h. */
8706 $ac_includes_default
8718 rm -f conftest.$ac_objext
8719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8720 (eval $ac_compile) 2>conftest.er1
8722 grep -v '^ *+' conftest.er1 >conftest.err
8724 cat conftest.err >&5
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); } &&
8727 { ac_try='test -z "$ac_c_werror_flag"
8728 || test ! -s conftest.err'
8729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8733 (exit $ac_status); }; } &&
8734 { ac_try='test -s conftest.$ac_objext'
8735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8739 (exit $ac_status); }; }; then
8740 ac_cv_type_short=yes
8742 echo "$as_me: failed program was:" >&5
8743 sed 's/^/| /' conftest.$ac_ext >&5
8747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8749 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
8750 echo "${ECHO_T}$ac_cv_type_short" >&6
8752 echo "$as_me:$LINENO: checking size of short" >&5
8753 echo $ECHO_N "checking size of short... $ECHO_C" >&6
8754 if test "${ac_cv_sizeof_short+set}" = set; then
8755 echo $ECHO_N "(cached) $ECHO_C" >&6
8757 if test "$ac_cv_type_short" = yes; then
8758 # The cast to unsigned long works around a bug in the HP C Compiler
8759 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8760 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8761 # This bug is HP SR number 8606223364.
8762 if test "$cross_compiling" = yes; then
8763 # Depending upon the size, compute the lo and hi bounds.
8764 cat >conftest.$ac_ext <<_ACEOF
8767 cat confdefs.h >>conftest.$ac_ext
8768 cat >>conftest.$ac_ext <<_ACEOF
8769 /* end confdefs.h. */
8770 $ac_includes_default
8774 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
8781 rm -f conftest.$ac_objext
8782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8783 (eval $ac_compile) 2>conftest.er1
8785 grep -v '^ *+' conftest.er1 >conftest.err
8787 cat conftest.err >&5
8788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8789 (exit $ac_status); } &&
8790 { ac_try='test -z "$ac_c_werror_flag"
8791 || test ! -s conftest.err'
8792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8796 (exit $ac_status); }; } &&
8797 { ac_try='test -s conftest.$ac_objext'
8798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8802 (exit $ac_status); }; }; then
8805 cat >conftest.$ac_ext <<_ACEOF
8808 cat confdefs.h >>conftest.$ac_ext
8809 cat >>conftest.$ac_ext <<_ACEOF
8810 /* end confdefs.h. */
8811 $ac_includes_default
8815 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
8822 rm -f conftest.$ac_objext
8823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8824 (eval $ac_compile) 2>conftest.er1
8826 grep -v '^ *+' conftest.er1 >conftest.err
8828 cat conftest.err >&5
8829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8830 (exit $ac_status); } &&
8831 { ac_try='test -z "$ac_c_werror_flag"
8832 || test ! -s conftest.err'
8833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8837 (exit $ac_status); }; } &&
8838 { ac_try='test -s conftest.$ac_objext'
8839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8843 (exit $ac_status); }; }; then
8844 ac_hi=$ac_mid; break
8846 echo "$as_me: failed program was:" >&5
8847 sed 's/^/| /' conftest.$ac_ext >&5
8849 ac_lo=`expr $ac_mid + 1`
8850 if test $ac_lo -le $ac_mid; then
8854 ac_mid=`expr 2 '*' $ac_mid + 1`
8856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8859 echo "$as_me: failed program was:" >&5
8860 sed 's/^/| /' conftest.$ac_ext >&5
8862 cat >conftest.$ac_ext <<_ACEOF
8865 cat confdefs.h >>conftest.$ac_ext
8866 cat >>conftest.$ac_ext <<_ACEOF
8867 /* end confdefs.h. */
8868 $ac_includes_default
8872 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
8879 rm -f conftest.$ac_objext
8880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8881 (eval $ac_compile) 2>conftest.er1
8883 grep -v '^ *+' conftest.er1 >conftest.err
8885 cat conftest.err >&5
8886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8887 (exit $ac_status); } &&
8888 { ac_try='test -z "$ac_c_werror_flag"
8889 || test ! -s conftest.err'
8890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8894 (exit $ac_status); }; } &&
8895 { ac_try='test -s conftest.$ac_objext'
8896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8900 (exit $ac_status); }; }; then
8903 cat >conftest.$ac_ext <<_ACEOF
8906 cat confdefs.h >>conftest.$ac_ext
8907 cat >>conftest.$ac_ext <<_ACEOF
8908 /* end confdefs.h. */
8909 $ac_includes_default
8913 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
8920 rm -f conftest.$ac_objext
8921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8922 (eval $ac_compile) 2>conftest.er1
8924 grep -v '^ *+' conftest.er1 >conftest.err
8926 cat conftest.err >&5
8927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8928 (exit $ac_status); } &&
8929 { ac_try='test -z "$ac_c_werror_flag"
8930 || test ! -s conftest.err'
8931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8935 (exit $ac_status); }; } &&
8936 { ac_try='test -s conftest.$ac_objext'
8937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8941 (exit $ac_status); }; }; then
8942 ac_lo=$ac_mid; break
8944 echo "$as_me: failed program was:" >&5
8945 sed 's/^/| /' conftest.$ac_ext >&5
8947 ac_hi=`expr '(' $ac_mid ')' - 1`
8948 if test $ac_mid -le $ac_hi; then
8952 ac_mid=`expr 2 '*' $ac_mid`
8954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8957 echo "$as_me: failed program was:" >&5
8958 sed 's/^/| /' conftest.$ac_ext >&5
8962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8965 # Binary search between lo and hi bounds.
8966 while test "x$ac_lo" != "x$ac_hi"; do
8967 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8968 cat >conftest.$ac_ext <<_ACEOF
8971 cat confdefs.h >>conftest.$ac_ext
8972 cat >>conftest.$ac_ext <<_ACEOF
8973 /* end confdefs.h. */
8974 $ac_includes_default
8978 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
8985 rm -f conftest.$ac_objext
8986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8987 (eval $ac_compile) 2>conftest.er1
8989 grep -v '^ *+' conftest.er1 >conftest.err
8991 cat conftest.err >&5
8992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8993 (exit $ac_status); } &&
8994 { ac_try='test -z "$ac_c_werror_flag"
8995 || test ! -s conftest.err'
8996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9000 (exit $ac_status); }; } &&
9001 { ac_try='test -s conftest.$ac_objext'
9002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9006 (exit $ac_status); }; }; then
9009 echo "$as_me: failed program was:" >&5
9010 sed 's/^/| /' conftest.$ac_ext >&5
9012 ac_lo=`expr '(' $ac_mid ')' + 1`
9014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9017 ?*) ac_cv_sizeof_short=$ac_lo;;
9018 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
9019 See \`config.log' for more details." >&5
9020 echo "$as_me: error: cannot compute sizeof (short), 77
9021 See \`config.log' for more details." >&2;}
9022 { (exit 1); exit 1; }; } ;;
9025 if test "$cross_compiling" = yes; then
9026 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9027 See \`config.log' for more details." >&5
9028 echo "$as_me: error: cannot run test program while cross compiling
9029 See \`config.log' for more details." >&2;}
9030 { (exit 1); exit 1; }; }
9032 cat >conftest.$ac_ext <<_ACEOF
9035 cat confdefs.h >>conftest.$ac_ext
9036 cat >>conftest.$ac_ext <<_ACEOF
9037 /* end confdefs.h. */
9038 $ac_includes_default
9039 long longval () { return (long) (sizeof (short)); }
9040 unsigned long ulongval () { return (long) (sizeof (short)); }
9047 FILE *f = fopen ("conftest.val", "w");
9050 if (((long) (sizeof (short))) < 0)
9052 long i = longval ();
9053 if (i != ((long) (sizeof (short))))
9055 fprintf (f, "%ld\n", i);
9059 unsigned long i = ulongval ();
9060 if (i != ((long) (sizeof (short))))
9062 fprintf (f, "%lu\n", i);
9064 exit (ferror (f) || fclose (f) != 0);
9070 rm -f conftest$ac_exeext
9071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9072 (eval $ac_link) 2>&5
9074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9075 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080 (exit $ac_status); }; }; then
9081 ac_cv_sizeof_short=`cat conftest.val`
9083 echo "$as_me: program exited with status $ac_status" >&5
9084 echo "$as_me: failed program was:" >&5
9085 sed 's/^/| /' conftest.$ac_ext >&5
9088 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
9089 See \`config.log' for more details." >&5
9090 echo "$as_me: error: cannot compute sizeof (short), 77
9091 See \`config.log' for more details." >&2;}
9092 { (exit 1); exit 1; }; }
9094 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9099 ac_cv_sizeof_short=0
9102 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
9103 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
9104 cat >>confdefs.h <<_ACEOF
9105 #define SIZEOF_SHORT $ac_cv_sizeof_short
9109 echo "$as_me:$LINENO: checking for char" >&5
9110 echo $ECHO_N "checking for char... $ECHO_C" >&6
9111 if test "${ac_cv_type_char+set}" = set; then
9112 echo $ECHO_N "(cached) $ECHO_C" >&6
9114 cat >conftest.$ac_ext <<_ACEOF
9117 cat confdefs.h >>conftest.$ac_ext
9118 cat >>conftest.$ac_ext <<_ACEOF
9119 /* end confdefs.h. */
9120 $ac_includes_default
9132 rm -f conftest.$ac_objext
9133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9134 (eval $ac_compile) 2>conftest.er1
9136 grep -v '^ *+' conftest.er1 >conftest.err
9138 cat conftest.err >&5
9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140 (exit $ac_status); } &&
9141 { ac_try='test -z "$ac_c_werror_flag"
9142 || test ! -s conftest.err'
9143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147 (exit $ac_status); }; } &&
9148 { ac_try='test -s conftest.$ac_objext'
9149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9153 (exit $ac_status); }; }; then
9156 echo "$as_me: failed program was:" >&5
9157 sed 's/^/| /' conftest.$ac_ext >&5
9161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9163 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
9164 echo "${ECHO_T}$ac_cv_type_char" >&6
9166 echo "$as_me:$LINENO: checking size of char" >&5
9167 echo $ECHO_N "checking size of char... $ECHO_C" >&6
9168 if test "${ac_cv_sizeof_char+set}" = set; then
9169 echo $ECHO_N "(cached) $ECHO_C" >&6
9171 if test "$ac_cv_type_char" = yes; then
9172 # The cast to unsigned long works around a bug in the HP C Compiler
9173 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9174 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9175 # This bug is HP SR number 8606223364.
9176 if test "$cross_compiling" = yes; then
9177 # Depending upon the size, compute the lo and hi bounds.
9178 cat >conftest.$ac_ext <<_ACEOF
9181 cat confdefs.h >>conftest.$ac_ext
9182 cat >>conftest.$ac_ext <<_ACEOF
9183 /* end confdefs.h. */
9184 $ac_includes_default
9188 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
9195 rm -f conftest.$ac_objext
9196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9197 (eval $ac_compile) 2>conftest.er1
9199 grep -v '^ *+' conftest.er1 >conftest.err
9201 cat conftest.err >&5
9202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9203 (exit $ac_status); } &&
9204 { ac_try='test -z "$ac_c_werror_flag"
9205 || test ! -s conftest.err'
9206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9210 (exit $ac_status); }; } &&
9211 { ac_try='test -s conftest.$ac_objext'
9212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9216 (exit $ac_status); }; }; then
9219 cat >conftest.$ac_ext <<_ACEOF
9222 cat confdefs.h >>conftest.$ac_ext
9223 cat >>conftest.$ac_ext <<_ACEOF
9224 /* end confdefs.h. */
9225 $ac_includes_default
9229 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
9236 rm -f conftest.$ac_objext
9237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9238 (eval $ac_compile) 2>conftest.er1
9240 grep -v '^ *+' conftest.er1 >conftest.err
9242 cat conftest.err >&5
9243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9244 (exit $ac_status); } &&
9245 { ac_try='test -z "$ac_c_werror_flag"
9246 || test ! -s conftest.err'
9247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9251 (exit $ac_status); }; } &&
9252 { ac_try='test -s conftest.$ac_objext'
9253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9257 (exit $ac_status); }; }; then
9258 ac_hi=$ac_mid; break
9260 echo "$as_me: failed program was:" >&5
9261 sed 's/^/| /' conftest.$ac_ext >&5
9263 ac_lo=`expr $ac_mid + 1`
9264 if test $ac_lo -le $ac_mid; then
9268 ac_mid=`expr 2 '*' $ac_mid + 1`
9270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9273 echo "$as_me: failed program was:" >&5
9274 sed 's/^/| /' conftest.$ac_ext >&5
9276 cat >conftest.$ac_ext <<_ACEOF
9279 cat confdefs.h >>conftest.$ac_ext
9280 cat >>conftest.$ac_ext <<_ACEOF
9281 /* end confdefs.h. */
9282 $ac_includes_default
9286 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
9293 rm -f conftest.$ac_objext
9294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9295 (eval $ac_compile) 2>conftest.er1
9297 grep -v '^ *+' conftest.er1 >conftest.err
9299 cat conftest.err >&5
9300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301 (exit $ac_status); } &&
9302 { ac_try='test -z "$ac_c_werror_flag"
9303 || test ! -s conftest.err'
9304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9308 (exit $ac_status); }; } &&
9309 { ac_try='test -s conftest.$ac_objext'
9310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9314 (exit $ac_status); }; }; then
9317 cat >conftest.$ac_ext <<_ACEOF
9320 cat confdefs.h >>conftest.$ac_ext
9321 cat >>conftest.$ac_ext <<_ACEOF
9322 /* end confdefs.h. */
9323 $ac_includes_default
9327 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
9334 rm -f conftest.$ac_objext
9335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9336 (eval $ac_compile) 2>conftest.er1
9338 grep -v '^ *+' conftest.er1 >conftest.err
9340 cat conftest.err >&5
9341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9342 (exit $ac_status); } &&
9343 { ac_try='test -z "$ac_c_werror_flag"
9344 || test ! -s conftest.err'
9345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9349 (exit $ac_status); }; } &&
9350 { ac_try='test -s conftest.$ac_objext'
9351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9355 (exit $ac_status); }; }; then
9356 ac_lo=$ac_mid; break
9358 echo "$as_me: failed program was:" >&5
9359 sed 's/^/| /' conftest.$ac_ext >&5
9361 ac_hi=`expr '(' $ac_mid ')' - 1`
9362 if test $ac_mid -le $ac_hi; then
9366 ac_mid=`expr 2 '*' $ac_mid`
9368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9371 echo "$as_me: failed program was:" >&5
9372 sed 's/^/| /' conftest.$ac_ext >&5
9376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9379 # Binary search between lo and hi bounds.
9380 while test "x$ac_lo" != "x$ac_hi"; do
9381 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9382 cat >conftest.$ac_ext <<_ACEOF
9385 cat confdefs.h >>conftest.$ac_ext
9386 cat >>conftest.$ac_ext <<_ACEOF
9387 /* end confdefs.h. */
9388 $ac_includes_default
9392 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
9399 rm -f conftest.$ac_objext
9400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9401 (eval $ac_compile) 2>conftest.er1
9403 grep -v '^ *+' conftest.er1 >conftest.err
9405 cat conftest.err >&5
9406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9407 (exit $ac_status); } &&
9408 { ac_try='test -z "$ac_c_werror_flag"
9409 || test ! -s conftest.err'
9410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9414 (exit $ac_status); }; } &&
9415 { ac_try='test -s conftest.$ac_objext'
9416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9420 (exit $ac_status); }; }; then
9423 echo "$as_me: failed program was:" >&5
9424 sed 's/^/| /' conftest.$ac_ext >&5
9426 ac_lo=`expr '(' $ac_mid ')' + 1`
9428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9431 ?*) ac_cv_sizeof_char=$ac_lo;;
9432 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
9433 See \`config.log' for more details." >&5
9434 echo "$as_me: error: cannot compute sizeof (char), 77
9435 See \`config.log' for more details." >&2;}
9436 { (exit 1); exit 1; }; } ;;
9439 if test "$cross_compiling" = yes; then
9440 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9441 See \`config.log' for more details." >&5
9442 echo "$as_me: error: cannot run test program while cross compiling
9443 See \`config.log' for more details." >&2;}
9444 { (exit 1); exit 1; }; }
9446 cat >conftest.$ac_ext <<_ACEOF
9449 cat confdefs.h >>conftest.$ac_ext
9450 cat >>conftest.$ac_ext <<_ACEOF
9451 /* end confdefs.h. */
9452 $ac_includes_default
9453 long longval () { return (long) (sizeof (char)); }
9454 unsigned long ulongval () { return (long) (sizeof (char)); }
9461 FILE *f = fopen ("conftest.val", "w");
9464 if (((long) (sizeof (char))) < 0)
9466 long i = longval ();
9467 if (i != ((long) (sizeof (char))))
9469 fprintf (f, "%ld\n", i);
9473 unsigned long i = ulongval ();
9474 if (i != ((long) (sizeof (char))))
9476 fprintf (f, "%lu\n", i);
9478 exit (ferror (f) || fclose (f) != 0);
9484 rm -f conftest$ac_exeext
9485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9486 (eval $ac_link) 2>&5
9488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9489 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9494 (exit $ac_status); }; }; then
9495 ac_cv_sizeof_char=`cat conftest.val`
9497 echo "$as_me: program exited with status $ac_status" >&5
9498 echo "$as_me: failed program was:" >&5
9499 sed 's/^/| /' conftest.$ac_ext >&5
9502 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
9503 See \`config.log' for more details." >&5
9504 echo "$as_me: error: cannot compute sizeof (char), 77
9505 See \`config.log' for more details." >&2;}
9506 { (exit 1); exit 1; }; }
9508 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9516 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
9517 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
9518 cat >>confdefs.h <<_ACEOF
9519 #define SIZEOF_CHAR $ac_cv_sizeof_char
9524 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
9525 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
9526 case "$ac_cv_sizeof_char" in
9527 1) acx_cv_type_int8_t=char ;;
9528 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
9529 echo "$as_me: error: no 8-bit type" >&2;}
9530 { (exit please report a bug); exit please report a bug; }; }
9532 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
9533 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
9535 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
9536 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
9537 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
9538 2:*) acx_cv_type_int16_t=int ;;
9539 *:2) acx_cv_type_int16_t=short ;;
9540 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
9541 echo "$as_me: error: no 16-bit type" >&2;}
9542 { (exit please report a bug); exit please report a bug; }; }
9544 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
9545 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
9547 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
9548 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
9549 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
9550 4:*) acx_cv_type_int32_t=int ;;
9551 *:4) acx_cv_type_int32_t=long ;;
9552 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
9553 echo "$as_me: error: no 32-bit type" >&2;}
9554 { (exit please report a bug); exit please report a bug; }; }
9556 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
9557 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
9560 # These tests are here to make the output prettier
9562 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
9563 case "$ac_cv_sizeof_long" in
9564 8) acx_cv_type_int64_t=long ;;
9566 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
9567 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
9568 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
9569 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
9572 # Now we can use the above types
9574 if test "$ac_cv_type_uintptr_t" != yes; then
9575 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
9576 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
9577 case $ac_cv_sizeof_void_p in
9578 2) acx_cv_type_intptr_t=int16_t ;;
9579 4) acx_cv_type_intptr_t=int32_t ;;
9580 8) acx_cv_type_intptr_t=int64_t ;;
9581 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
9582 echo "$as_me: error: no equivalent for intptr_t" >&2;}
9583 { (exit please report a bug); exit please report a bug; }; }
9585 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
9586 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
9589 # ----------------- done all checks, emit header -------------
9590 ac_config_commands="$ac_config_commands gstdint.h"
9595 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
9596 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
9597 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
9598 echo $ECHO_N "(cached) $ECHO_C" >&6
9600 cat >conftest.$ac_ext <<_ACEOF
9603 cat confdefs.h >>conftest.$ac_ext
9604 cat >>conftest.$ac_ext <<_ACEOF
9605 /* end confdefs.h. */
9606 $ac_includes_default
9610 static struct stat ac_aggr;
9611 if (ac_aggr.st_blksize)
9617 rm -f conftest.$ac_objext
9618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9619 (eval $ac_compile) 2>conftest.er1
9621 grep -v '^ *+' conftest.er1 >conftest.err
9623 cat conftest.err >&5
9624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9625 (exit $ac_status); } &&
9626 { ac_try='test -z "$ac_c_werror_flag"
9627 || test ! -s conftest.err'
9628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9632 (exit $ac_status); }; } &&
9633 { ac_try='test -s conftest.$ac_objext'
9634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9638 (exit $ac_status); }; }; then
9639 ac_cv_member_struct_stat_st_blksize=yes
9641 echo "$as_me: failed program was:" >&5
9642 sed 's/^/| /' conftest.$ac_ext >&5
9644 cat >conftest.$ac_ext <<_ACEOF
9647 cat confdefs.h >>conftest.$ac_ext
9648 cat >>conftest.$ac_ext <<_ACEOF
9649 /* end confdefs.h. */
9650 $ac_includes_default
9654 static struct stat ac_aggr;
9655 if (sizeof ac_aggr.st_blksize)
9661 rm -f conftest.$ac_objext
9662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9663 (eval $ac_compile) 2>conftest.er1
9665 grep -v '^ *+' conftest.er1 >conftest.err
9667 cat conftest.err >&5
9668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9669 (exit $ac_status); } &&
9670 { ac_try='test -z "$ac_c_werror_flag"
9671 || test ! -s conftest.err'
9672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9676 (exit $ac_status); }; } &&
9677 { ac_try='test -s conftest.$ac_objext'
9678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9682 (exit $ac_status); }; }; then
9683 ac_cv_member_struct_stat_st_blksize=yes
9685 echo "$as_me: failed program was:" >&5
9686 sed 's/^/| /' conftest.$ac_ext >&5
9688 ac_cv_member_struct_stat_st_blksize=no
9690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9694 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
9695 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
9696 if test $ac_cv_member_struct_stat_st_blksize = yes; then
9698 cat >>confdefs.h <<_ACEOF
9699 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
9705 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
9706 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
9707 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
9708 echo $ECHO_N "(cached) $ECHO_C" >&6
9710 cat >conftest.$ac_ext <<_ACEOF
9713 cat confdefs.h >>conftest.$ac_ext
9714 cat >>conftest.$ac_ext <<_ACEOF
9715 /* end confdefs.h. */
9716 $ac_includes_default
9720 static struct stat ac_aggr;
9721 if (ac_aggr.st_blocks)
9727 rm -f conftest.$ac_objext
9728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9729 (eval $ac_compile) 2>conftest.er1
9731 grep -v '^ *+' conftest.er1 >conftest.err
9733 cat conftest.err >&5
9734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9735 (exit $ac_status); } &&
9736 { ac_try='test -z "$ac_c_werror_flag"
9737 || test ! -s conftest.err'
9738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9742 (exit $ac_status); }; } &&
9743 { ac_try='test -s conftest.$ac_objext'
9744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9748 (exit $ac_status); }; }; then
9749 ac_cv_member_struct_stat_st_blocks=yes
9751 echo "$as_me: failed program was:" >&5
9752 sed 's/^/| /' conftest.$ac_ext >&5
9754 cat >conftest.$ac_ext <<_ACEOF
9757 cat confdefs.h >>conftest.$ac_ext
9758 cat >>conftest.$ac_ext <<_ACEOF
9759 /* end confdefs.h. */
9760 $ac_includes_default
9764 static struct stat ac_aggr;
9765 if (sizeof ac_aggr.st_blocks)
9771 rm -f conftest.$ac_objext
9772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9773 (eval $ac_compile) 2>conftest.er1
9775 grep -v '^ *+' conftest.er1 >conftest.err
9777 cat conftest.err >&5
9778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9779 (exit $ac_status); } &&
9780 { ac_try='test -z "$ac_c_werror_flag"
9781 || test ! -s conftest.err'
9782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9786 (exit $ac_status); }; } &&
9787 { ac_try='test -s conftest.$ac_objext'
9788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9792 (exit $ac_status); }; }; then
9793 ac_cv_member_struct_stat_st_blocks=yes
9795 echo "$as_me: failed program was:" >&5
9796 sed 's/^/| /' conftest.$ac_ext >&5
9798 ac_cv_member_struct_stat_st_blocks=no
9800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9804 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
9805 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
9806 if test $ac_cv_member_struct_stat_st_blocks = yes; then
9808 cat >>confdefs.h <<_ACEOF
9809 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
9815 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
9816 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
9817 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
9818 echo $ECHO_N "(cached) $ECHO_C" >&6
9820 cat >conftest.$ac_ext <<_ACEOF
9823 cat confdefs.h >>conftest.$ac_ext
9824 cat >>conftest.$ac_ext <<_ACEOF
9825 /* end confdefs.h. */
9826 $ac_includes_default
9830 static struct stat ac_aggr;
9831 if (ac_aggr.st_rdev)
9837 rm -f conftest.$ac_objext
9838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9839 (eval $ac_compile) 2>conftest.er1
9841 grep -v '^ *+' conftest.er1 >conftest.err
9843 cat conftest.err >&5
9844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9845 (exit $ac_status); } &&
9846 { ac_try='test -z "$ac_c_werror_flag"
9847 || test ! -s conftest.err'
9848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9852 (exit $ac_status); }; } &&
9853 { ac_try='test -s conftest.$ac_objext'
9854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9858 (exit $ac_status); }; }; then
9859 ac_cv_member_struct_stat_st_rdev=yes
9861 echo "$as_me: failed program was:" >&5
9862 sed 's/^/| /' conftest.$ac_ext >&5
9864 cat >conftest.$ac_ext <<_ACEOF
9867 cat confdefs.h >>conftest.$ac_ext
9868 cat >>conftest.$ac_ext <<_ACEOF
9869 /* end confdefs.h. */
9870 $ac_includes_default
9874 static struct stat ac_aggr;
9875 if (sizeof ac_aggr.st_rdev)
9881 rm -f conftest.$ac_objext
9882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9883 (eval $ac_compile) 2>conftest.er1
9885 grep -v '^ *+' conftest.er1 >conftest.err
9887 cat conftest.err >&5
9888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9889 (exit $ac_status); } &&
9890 { ac_try='test -z "$ac_c_werror_flag"
9891 || test ! -s conftest.err'
9892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9896 (exit $ac_status); }; } &&
9897 { ac_try='test -s conftest.$ac_objext'
9898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9902 (exit $ac_status); }; }; then
9903 ac_cv_member_struct_stat_st_rdev=yes
9905 echo "$as_me: failed program was:" >&5
9906 sed 's/^/| /' conftest.$ac_ext >&5
9908 ac_cv_member_struct_stat_st_rdev=no
9910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9914 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
9915 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
9916 if test $ac_cv_member_struct_stat_st_rdev = yes; then
9918 cat >>confdefs.h <<_ACEOF
9919 #define HAVE_STRUCT_STAT_ST_RDEV 1
9926 # Check for library functions.
9935 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
9937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9938 echo "$as_me:$LINENO: checking for $ac_func" >&5
9939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9940 if eval "test \"\${$as_ac_var+set}\" = set"; then
9941 echo $ECHO_N "(cached) $ECHO_C" >&6
9943 if test x$gcc_no_link = xyes; then
9944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9946 { (exit 1); exit 1; }; }
9948 cat >conftest.$ac_ext <<_ACEOF
9951 cat confdefs.h >>conftest.$ac_ext
9952 cat >>conftest.$ac_ext <<_ACEOF
9953 /* end confdefs.h. */
9954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9956 #define $ac_func innocuous_$ac_func
9958 /* System header to define __stub macros and hopefully few prototypes,
9959 which can conflict with char $ac_func (); below.
9960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9961 <limits.h> exists even on freestanding compilers. */
9964 # include <limits.h>
9966 # include <assert.h>
9971 /* Override any gcc2 internal prototype to avoid an error. */
9976 /* We use char because int might match the return type of a gcc2
9977 builtin and then its argument prototype would still apply. */
9979 /* The GNU C library defines this for functions which it implements
9980 to always fail with ENOSYS. Some functions are actually named
9981 something starting with __ and the normal name is an alias. */
9982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9985 char (*f) () = $ac_func;
9994 return f != $ac_func;
9999 rm -f conftest.$ac_objext conftest$ac_exeext
10000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10001 (eval $ac_link) 2>conftest.er1
10003 grep -v '^ *+' conftest.er1 >conftest.err
10005 cat conftest.err >&5
10006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10007 (exit $ac_status); } &&
10008 { ac_try='test -z "$ac_c_werror_flag"
10009 || test ! -s conftest.err'
10010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10011 (eval $ac_try) 2>&5
10013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10014 (exit $ac_status); }; } &&
10015 { ac_try='test -s conftest$ac_exeext'
10016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10017 (eval $ac_try) 2>&5
10019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10020 (exit $ac_status); }; }; then
10021 eval "$as_ac_var=yes"
10023 echo "$as_me: failed program was:" >&5
10024 sed 's/^/| /' conftest.$ac_ext >&5
10026 eval "$as_ac_var=no"
10028 rm -f conftest.err conftest.$ac_objext \
10029 conftest$ac_exeext conftest.$ac_ext
10031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10033 if test `eval echo '${'$as_ac_var'}'` = yes; then
10034 cat >>confdefs.h <<_ACEOF
10035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10049 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
10051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10052 echo "$as_me:$LINENO: checking for $ac_func" >&5
10053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10054 if eval "test \"\${$as_ac_var+set}\" = set"; then
10055 echo $ECHO_N "(cached) $ECHO_C" >&6
10057 if test x$gcc_no_link = xyes; then
10058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10060 { (exit 1); exit 1; }; }
10062 cat >conftest.$ac_ext <<_ACEOF
10065 cat confdefs.h >>conftest.$ac_ext
10066 cat >>conftest.$ac_ext <<_ACEOF
10067 /* end confdefs.h. */
10068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10070 #define $ac_func innocuous_$ac_func
10072 /* System header to define __stub macros and hopefully few prototypes,
10073 which can conflict with char $ac_func (); below.
10074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10075 <limits.h> exists even on freestanding compilers. */
10078 # include <limits.h>
10080 # include <assert.h>
10085 /* Override any gcc2 internal prototype to avoid an error. */
10090 /* We use char because int might match the return type of a gcc2
10091 builtin and then its argument prototype would still apply. */
10093 /* The GNU C library defines this for functions which it implements
10094 to always fail with ENOSYS. Some functions are actually named
10095 something starting with __ and the normal name is an alias. */
10096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10099 char (*f) () = $ac_func;
10108 return f != $ac_func;
10113 rm -f conftest.$ac_objext conftest$ac_exeext
10114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10115 (eval $ac_link) 2>conftest.er1
10117 grep -v '^ *+' conftest.er1 >conftest.err
10119 cat conftest.err >&5
10120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10121 (exit $ac_status); } &&
10122 { ac_try='test -z "$ac_c_werror_flag"
10123 || test ! -s conftest.err'
10124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10125 (eval $ac_try) 2>&5
10127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10128 (exit $ac_status); }; } &&
10129 { ac_try='test -s conftest$ac_exeext'
10130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10131 (eval $ac_try) 2>&5
10133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10134 (exit $ac_status); }; }; then
10135 eval "$as_ac_var=yes"
10137 echo "$as_me: failed program was:" >&5
10138 sed 's/^/| /' conftest.$ac_ext >&5
10140 eval "$as_ac_var=no"
10142 rm -f conftest.err conftest.$ac_objext \
10143 conftest$ac_exeext conftest.$ac_ext
10145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10147 if test `eval echo '${'$as_ac_var'}'` = yes; then
10148 cat >>confdefs.h <<_ACEOF
10149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10165 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
10167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10168 echo "$as_me:$LINENO: checking for $ac_func" >&5
10169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10170 if eval "test \"\${$as_ac_var+set}\" = set"; then
10171 echo $ECHO_N "(cached) $ECHO_C" >&6
10173 if test x$gcc_no_link = xyes; then
10174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10176 { (exit 1); exit 1; }; }
10178 cat >conftest.$ac_ext <<_ACEOF
10181 cat confdefs.h >>conftest.$ac_ext
10182 cat >>conftest.$ac_ext <<_ACEOF
10183 /* end confdefs.h. */
10184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10186 #define $ac_func innocuous_$ac_func
10188 /* System header to define __stub macros and hopefully few prototypes,
10189 which can conflict with char $ac_func (); below.
10190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10191 <limits.h> exists even on freestanding compilers. */
10194 # include <limits.h>
10196 # include <assert.h>
10201 /* Override any gcc2 internal prototype to avoid an error. */
10206 /* We use char because int might match the return type of a gcc2
10207 builtin and then its argument prototype would still apply. */
10209 /* The GNU C library defines this for functions which it implements
10210 to always fail with ENOSYS. Some functions are actually named
10211 something starting with __ and the normal name is an alias. */
10212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10215 char (*f) () = $ac_func;
10224 return f != $ac_func;
10229 rm -f conftest.$ac_objext conftest$ac_exeext
10230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10231 (eval $ac_link) 2>conftest.er1
10233 grep -v '^ *+' conftest.er1 >conftest.err
10235 cat conftest.err >&5
10236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10237 (exit $ac_status); } &&
10238 { ac_try='test -z "$ac_c_werror_flag"
10239 || test ! -s conftest.err'
10240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10241 (eval $ac_try) 2>&5
10243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10244 (exit $ac_status); }; } &&
10245 { ac_try='test -s conftest$ac_exeext'
10246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10247 (eval $ac_try) 2>&5
10249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10250 (exit $ac_status); }; }; then
10251 eval "$as_ac_var=yes"
10253 echo "$as_me: failed program was:" >&5
10254 sed 's/^/| /' conftest.$ac_ext >&5
10256 eval "$as_ac_var=no"
10258 rm -f conftest.err conftest.$ac_objext \
10259 conftest$ac_exeext conftest.$ac_ext
10261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10263 if test `eval echo '${'$as_ac_var'}'` = yes; then
10264 cat >>confdefs.h <<_ACEOF
10265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10273 for ac_func in wait setmode
10275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10276 echo "$as_me:$LINENO: checking for $ac_func" >&5
10277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10278 if eval "test \"\${$as_ac_var+set}\" = set"; then
10279 echo $ECHO_N "(cached) $ECHO_C" >&6
10281 if test x$gcc_no_link = xyes; then
10282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10284 { (exit 1); exit 1; }; }
10286 cat >conftest.$ac_ext <<_ACEOF
10289 cat confdefs.h >>conftest.$ac_ext
10290 cat >>conftest.$ac_ext <<_ACEOF
10291 /* end confdefs.h. */
10292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10294 #define $ac_func innocuous_$ac_func
10296 /* System header to define __stub macros and hopefully few prototypes,
10297 which can conflict with char $ac_func (); below.
10298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10299 <limits.h> exists even on freestanding compilers. */
10302 # include <limits.h>
10304 # include <assert.h>
10309 /* Override any gcc2 internal prototype to avoid an error. */
10314 /* We use char because int might match the return type of a gcc2
10315 builtin and then its argument prototype would still apply. */
10317 /* The GNU C library defines this for functions which it implements
10318 to always fail with ENOSYS. Some functions are actually named
10319 something starting with __ and the normal name is an alias. */
10320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10323 char (*f) () = $ac_func;
10332 return f != $ac_func;
10337 rm -f conftest.$ac_objext conftest$ac_exeext
10338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10339 (eval $ac_link) 2>conftest.er1
10341 grep -v '^ *+' conftest.er1 >conftest.err
10343 cat conftest.err >&5
10344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10345 (exit $ac_status); } &&
10346 { ac_try='test -z "$ac_c_werror_flag"
10347 || test ! -s conftest.err'
10348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10349 (eval $ac_try) 2>&5
10351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10352 (exit $ac_status); }; } &&
10353 { ac_try='test -s conftest$ac_exeext'
10354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10355 (eval $ac_try) 2>&5
10357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10358 (exit $ac_status); }; }; then
10359 eval "$as_ac_var=yes"
10361 echo "$as_me: failed program was:" >&5
10362 sed 's/^/| /' conftest.$ac_ext >&5
10364 eval "$as_ac_var=no"
10366 rm -f conftest.err conftest.$ac_objext \
10367 conftest$ac_exeext conftest.$ac_ext
10369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10371 if test `eval echo '${'$as_ac_var'}'` = yes; then
10372 cat >>confdefs.h <<_ACEOF
10373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10381 echo "$as_me:$LINENO: checking for intptr_t" >&5
10382 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
10383 if test "${ac_cv_type_intptr_t+set}" = set; then
10384 echo $ECHO_N "(cached) $ECHO_C" >&6
10386 cat >conftest.$ac_ext <<_ACEOF
10389 cat confdefs.h >>conftest.$ac_ext
10390 cat >>conftest.$ac_ext <<_ACEOF
10391 /* end confdefs.h. */
10392 $ac_includes_default
10396 if ((intptr_t *) 0)
10398 if (sizeof (intptr_t))
10404 rm -f conftest.$ac_objext
10405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10406 (eval $ac_compile) 2>conftest.er1
10408 grep -v '^ *+' conftest.er1 >conftest.err
10410 cat conftest.err >&5
10411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10412 (exit $ac_status); } &&
10413 { ac_try='test -z "$ac_c_werror_flag"
10414 || test ! -s conftest.err'
10415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10416 (eval $ac_try) 2>&5
10418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10419 (exit $ac_status); }; } &&
10420 { ac_try='test -s conftest.$ac_objext'
10421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10422 (eval $ac_try) 2>&5
10424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10425 (exit $ac_status); }; }; then
10426 ac_cv_type_intptr_t=yes
10428 echo "$as_me: failed program was:" >&5
10429 sed 's/^/| /' conftest.$ac_ext >&5
10431 ac_cv_type_intptr_t=no
10433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10435 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
10436 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
10437 if test $ac_cv_type_intptr_t = yes; then
10439 cat >>confdefs.h <<_ACEOF
10440 #define HAVE_INTPTR_T 1
10447 # Check libc for getgid, getpid, getuid
10448 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
10449 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
10450 if test "${ac_cv_lib_c_getgid+set}" = set; then
10451 echo $ECHO_N "(cached) $ECHO_C" >&6
10453 ac_check_lib_save_LIBS=$LIBS
10455 if test x$gcc_no_link = xyes; then
10456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10458 { (exit 1); exit 1; }; }
10460 cat >conftest.$ac_ext <<_ACEOF
10463 cat confdefs.h >>conftest.$ac_ext
10464 cat >>conftest.$ac_ext <<_ACEOF
10465 /* end confdefs.h. */
10467 /* Override any gcc2 internal prototype to avoid an error. */
10471 /* We use char because int might match the return type of a gcc2
10472 builtin and then its argument prototype would still apply. */
10482 rm -f conftest.$ac_objext conftest$ac_exeext
10483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10484 (eval $ac_link) 2>conftest.er1
10486 grep -v '^ *+' conftest.er1 >conftest.err
10488 cat conftest.err >&5
10489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10490 (exit $ac_status); } &&
10491 { ac_try='test -z "$ac_c_werror_flag"
10492 || test ! -s conftest.err'
10493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10494 (eval $ac_try) 2>&5
10496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497 (exit $ac_status); }; } &&
10498 { ac_try='test -s conftest$ac_exeext'
10499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10500 (eval $ac_try) 2>&5
10502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10503 (exit $ac_status); }; }; then
10504 ac_cv_lib_c_getgid=yes
10506 echo "$as_me: failed program was:" >&5
10507 sed 's/^/| /' conftest.$ac_ext >&5
10509 ac_cv_lib_c_getgid=no
10511 rm -f conftest.err conftest.$ac_objext \
10512 conftest$ac_exeext conftest.$ac_ext
10513 LIBS=$ac_check_lib_save_LIBS
10515 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
10516 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
10517 if test $ac_cv_lib_c_getgid = yes; then
10519 cat >>confdefs.h <<\_ACEOF
10520 #define HAVE_GETGID 1
10525 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
10526 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
10527 if test "${ac_cv_lib_c_getpid+set}" = set; then
10528 echo $ECHO_N "(cached) $ECHO_C" >&6
10530 ac_check_lib_save_LIBS=$LIBS
10532 if test x$gcc_no_link = xyes; then
10533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10535 { (exit 1); exit 1; }; }
10537 cat >conftest.$ac_ext <<_ACEOF
10540 cat confdefs.h >>conftest.$ac_ext
10541 cat >>conftest.$ac_ext <<_ACEOF
10542 /* end confdefs.h. */
10544 /* Override any gcc2 internal prototype to avoid an error. */
10548 /* We use char because int might match the return type of a gcc2
10549 builtin and then its argument prototype would still apply. */
10559 rm -f conftest.$ac_objext conftest$ac_exeext
10560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10561 (eval $ac_link) 2>conftest.er1
10563 grep -v '^ *+' conftest.er1 >conftest.err
10565 cat conftest.err >&5
10566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10567 (exit $ac_status); } &&
10568 { ac_try='test -z "$ac_c_werror_flag"
10569 || test ! -s conftest.err'
10570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10571 (eval $ac_try) 2>&5
10573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10574 (exit $ac_status); }; } &&
10575 { ac_try='test -s conftest$ac_exeext'
10576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10577 (eval $ac_try) 2>&5
10579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10580 (exit $ac_status); }; }; then
10581 ac_cv_lib_c_getpid=yes
10583 echo "$as_me: failed program was:" >&5
10584 sed 's/^/| /' conftest.$ac_ext >&5
10586 ac_cv_lib_c_getpid=no
10588 rm -f conftest.err conftest.$ac_objext \
10589 conftest$ac_exeext conftest.$ac_ext
10590 LIBS=$ac_check_lib_save_LIBS
10592 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
10593 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
10594 if test $ac_cv_lib_c_getpid = yes; then
10596 cat >>confdefs.h <<\_ACEOF
10597 #define HAVE_GETPID 1
10602 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
10603 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
10604 if test "${ac_cv_lib_c_getuid+set}" = set; then
10605 echo $ECHO_N "(cached) $ECHO_C" >&6
10607 ac_check_lib_save_LIBS=$LIBS
10609 if test x$gcc_no_link = xyes; then
10610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10612 { (exit 1); exit 1; }; }
10614 cat >conftest.$ac_ext <<_ACEOF
10617 cat confdefs.h >>conftest.$ac_ext
10618 cat >>conftest.$ac_ext <<_ACEOF
10619 /* end confdefs.h. */
10621 /* Override any gcc2 internal prototype to avoid an error. */
10625 /* We use char because int might match the return type of a gcc2
10626 builtin and then its argument prototype would still apply. */
10636 rm -f conftest.$ac_objext conftest$ac_exeext
10637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10638 (eval $ac_link) 2>conftest.er1
10640 grep -v '^ *+' conftest.er1 >conftest.err
10642 cat conftest.err >&5
10643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644 (exit $ac_status); } &&
10645 { ac_try='test -z "$ac_c_werror_flag"
10646 || test ! -s conftest.err'
10647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10648 (eval $ac_try) 2>&5
10650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10651 (exit $ac_status); }; } &&
10652 { ac_try='test -s conftest$ac_exeext'
10653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10654 (eval $ac_try) 2>&5
10656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10657 (exit $ac_status); }; }; then
10658 ac_cv_lib_c_getuid=yes
10660 echo "$as_me: failed program was:" >&5
10661 sed 's/^/| /' conftest.$ac_ext >&5
10663 ac_cv_lib_c_getuid=no
10665 rm -f conftest.err conftest.$ac_objext \
10666 conftest$ac_exeext conftest.$ac_ext
10667 LIBS=$ac_check_lib_save_LIBS
10669 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
10670 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
10671 if test $ac_cv_lib_c_getuid = yes; then
10673 cat >>confdefs.h <<\_ACEOF
10674 #define HAVE_GETUID 1
10680 # Check for C99 (and other IEEE) math functions
10681 # ??? This list seems awful long. Is there a better way to test for these?
10682 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
10683 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
10684 if test "${ac_cv_lib_m_acosf+set}" = set; then
10685 echo $ECHO_N "(cached) $ECHO_C" >&6
10687 ac_check_lib_save_LIBS=$LIBS
10689 if test x$gcc_no_link = xyes; then
10690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10692 { (exit 1); exit 1; }; }
10694 cat >conftest.$ac_ext <<_ACEOF
10697 cat confdefs.h >>conftest.$ac_ext
10698 cat >>conftest.$ac_ext <<_ACEOF
10699 /* end confdefs.h. */
10701 /* Override any gcc2 internal prototype to avoid an error. */
10705 /* We use char because int might match the return type of a gcc2
10706 builtin and then its argument prototype would still apply. */
10716 rm -f conftest.$ac_objext conftest$ac_exeext
10717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10718 (eval $ac_link) 2>conftest.er1
10720 grep -v '^ *+' conftest.er1 >conftest.err
10722 cat conftest.err >&5
10723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 (exit $ac_status); } &&
10725 { ac_try='test -z "$ac_c_werror_flag"
10726 || test ! -s conftest.err'
10727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10728 (eval $ac_try) 2>&5
10730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10731 (exit $ac_status); }; } &&
10732 { ac_try='test -s conftest$ac_exeext'
10733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10734 (eval $ac_try) 2>&5
10736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10737 (exit $ac_status); }; }; then
10738 ac_cv_lib_m_acosf=yes
10740 echo "$as_me: failed program was:" >&5
10741 sed 's/^/| /' conftest.$ac_ext >&5
10743 ac_cv_lib_m_acosf=no
10745 rm -f conftest.err conftest.$ac_objext \
10746 conftest$ac_exeext conftest.$ac_ext
10747 LIBS=$ac_check_lib_save_LIBS
10749 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
10750 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
10751 if test $ac_cv_lib_m_acosf = yes; then
10753 cat >>confdefs.h <<\_ACEOF
10754 #define HAVE_ACOSF 1
10759 echo "$as_me:$LINENO: checking for acos in -lm" >&5
10760 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
10761 if test "${ac_cv_lib_m_acos+set}" = set; then
10762 echo $ECHO_N "(cached) $ECHO_C" >&6
10764 ac_check_lib_save_LIBS=$LIBS
10766 if test x$gcc_no_link = xyes; then
10767 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10769 { (exit 1); exit 1; }; }
10771 cat >conftest.$ac_ext <<_ACEOF
10774 cat confdefs.h >>conftest.$ac_ext
10775 cat >>conftest.$ac_ext <<_ACEOF
10776 /* end confdefs.h. */
10778 /* Override any gcc2 internal prototype to avoid an error. */
10782 /* We use char because int might match the return type of a gcc2
10783 builtin and then its argument prototype would still apply. */
10793 rm -f conftest.$ac_objext conftest$ac_exeext
10794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10795 (eval $ac_link) 2>conftest.er1
10797 grep -v '^ *+' conftest.er1 >conftest.err
10799 cat conftest.err >&5
10800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10801 (exit $ac_status); } &&
10802 { ac_try='test -z "$ac_c_werror_flag"
10803 || test ! -s conftest.err'
10804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10805 (eval $ac_try) 2>&5
10807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10808 (exit $ac_status); }; } &&
10809 { ac_try='test -s conftest$ac_exeext'
10810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10811 (eval $ac_try) 2>&5
10813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10814 (exit $ac_status); }; }; then
10815 ac_cv_lib_m_acos=yes
10817 echo "$as_me: failed program was:" >&5
10818 sed 's/^/| /' conftest.$ac_ext >&5
10820 ac_cv_lib_m_acos=no
10822 rm -f conftest.err conftest.$ac_objext \
10823 conftest$ac_exeext conftest.$ac_ext
10824 LIBS=$ac_check_lib_save_LIBS
10826 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
10827 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
10828 if test $ac_cv_lib_m_acos = yes; then
10830 cat >>confdefs.h <<\_ACEOF
10831 #define HAVE_ACOS 1
10836 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
10837 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
10838 if test "${ac_cv_lib_m_acosl+set}" = set; then
10839 echo $ECHO_N "(cached) $ECHO_C" >&6
10841 ac_check_lib_save_LIBS=$LIBS
10843 if test x$gcc_no_link = xyes; then
10844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10846 { (exit 1); exit 1; }; }
10848 cat >conftest.$ac_ext <<_ACEOF
10851 cat confdefs.h >>conftest.$ac_ext
10852 cat >>conftest.$ac_ext <<_ACEOF
10853 /* end confdefs.h. */
10855 /* Override any gcc2 internal prototype to avoid an error. */
10859 /* We use char because int might match the return type of a gcc2
10860 builtin and then its argument prototype would still apply. */
10870 rm -f conftest.$ac_objext conftest$ac_exeext
10871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10872 (eval $ac_link) 2>conftest.er1
10874 grep -v '^ *+' conftest.er1 >conftest.err
10876 cat conftest.err >&5
10877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10878 (exit $ac_status); } &&
10879 { ac_try='test -z "$ac_c_werror_flag"
10880 || test ! -s conftest.err'
10881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10882 (eval $ac_try) 2>&5
10884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10885 (exit $ac_status); }; } &&
10886 { ac_try='test -s conftest$ac_exeext'
10887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10888 (eval $ac_try) 2>&5
10890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10891 (exit $ac_status); }; }; then
10892 ac_cv_lib_m_acosl=yes
10894 echo "$as_me: failed program was:" >&5
10895 sed 's/^/| /' conftest.$ac_ext >&5
10897 ac_cv_lib_m_acosl=no
10899 rm -f conftest.err conftest.$ac_objext \
10900 conftest$ac_exeext conftest.$ac_ext
10901 LIBS=$ac_check_lib_save_LIBS
10903 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
10904 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
10905 if test $ac_cv_lib_m_acosl = yes; then
10907 cat >>confdefs.h <<\_ACEOF
10908 #define HAVE_ACOSL 1
10913 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
10914 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
10915 if test "${ac_cv_lib_m_acoshf+set}" = set; then
10916 echo $ECHO_N "(cached) $ECHO_C" >&6
10918 ac_check_lib_save_LIBS=$LIBS
10920 if test x$gcc_no_link = xyes; then
10921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10923 { (exit 1); exit 1; }; }
10925 cat >conftest.$ac_ext <<_ACEOF
10928 cat confdefs.h >>conftest.$ac_ext
10929 cat >>conftest.$ac_ext <<_ACEOF
10930 /* end confdefs.h. */
10932 /* Override any gcc2 internal prototype to avoid an error. */
10936 /* We use char because int might match the return type of a gcc2
10937 builtin and then its argument prototype would still apply. */
10947 rm -f conftest.$ac_objext conftest$ac_exeext
10948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10949 (eval $ac_link) 2>conftest.er1
10951 grep -v '^ *+' conftest.er1 >conftest.err
10953 cat conftest.err >&5
10954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10955 (exit $ac_status); } &&
10956 { ac_try='test -z "$ac_c_werror_flag"
10957 || test ! -s conftest.err'
10958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10959 (eval $ac_try) 2>&5
10961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10962 (exit $ac_status); }; } &&
10963 { ac_try='test -s conftest$ac_exeext'
10964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10965 (eval $ac_try) 2>&5
10967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10968 (exit $ac_status); }; }; then
10969 ac_cv_lib_m_acoshf=yes
10971 echo "$as_me: failed program was:" >&5
10972 sed 's/^/| /' conftest.$ac_ext >&5
10974 ac_cv_lib_m_acoshf=no
10976 rm -f conftest.err conftest.$ac_objext \
10977 conftest$ac_exeext conftest.$ac_ext
10978 LIBS=$ac_check_lib_save_LIBS
10980 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
10981 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
10982 if test $ac_cv_lib_m_acoshf = yes; then
10984 cat >>confdefs.h <<\_ACEOF
10985 #define HAVE_ACOSHF 1
10990 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
10991 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
10992 if test "${ac_cv_lib_m_acosh+set}" = set; then
10993 echo $ECHO_N "(cached) $ECHO_C" >&6
10995 ac_check_lib_save_LIBS=$LIBS
10997 if test x$gcc_no_link = xyes; then
10998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11000 { (exit 1); exit 1; }; }
11002 cat >conftest.$ac_ext <<_ACEOF
11005 cat confdefs.h >>conftest.$ac_ext
11006 cat >>conftest.$ac_ext <<_ACEOF
11007 /* end confdefs.h. */
11009 /* Override any gcc2 internal prototype to avoid an error. */
11013 /* We use char because int might match the return type of a gcc2
11014 builtin and then its argument prototype would still apply. */
11024 rm -f conftest.$ac_objext conftest$ac_exeext
11025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11026 (eval $ac_link) 2>conftest.er1
11028 grep -v '^ *+' conftest.er1 >conftest.err
11030 cat conftest.err >&5
11031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 (exit $ac_status); } &&
11033 { ac_try='test -z "$ac_c_werror_flag"
11034 || test ! -s conftest.err'
11035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11036 (eval $ac_try) 2>&5
11038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11039 (exit $ac_status); }; } &&
11040 { ac_try='test -s conftest$ac_exeext'
11041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11042 (eval $ac_try) 2>&5
11044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11045 (exit $ac_status); }; }; then
11046 ac_cv_lib_m_acosh=yes
11048 echo "$as_me: failed program was:" >&5
11049 sed 's/^/| /' conftest.$ac_ext >&5
11051 ac_cv_lib_m_acosh=no
11053 rm -f conftest.err conftest.$ac_objext \
11054 conftest$ac_exeext conftest.$ac_ext
11055 LIBS=$ac_check_lib_save_LIBS
11057 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
11058 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
11059 if test $ac_cv_lib_m_acosh = yes; then
11061 cat >>confdefs.h <<\_ACEOF
11062 #define HAVE_ACOSH 1
11067 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
11068 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
11069 if test "${ac_cv_lib_m_acoshl+set}" = set; then
11070 echo $ECHO_N "(cached) $ECHO_C" >&6
11072 ac_check_lib_save_LIBS=$LIBS
11074 if test x$gcc_no_link = xyes; then
11075 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11076 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11077 { (exit 1); exit 1; }; }
11079 cat >conftest.$ac_ext <<_ACEOF
11082 cat confdefs.h >>conftest.$ac_ext
11083 cat >>conftest.$ac_ext <<_ACEOF
11084 /* end confdefs.h. */
11086 /* Override any gcc2 internal prototype to avoid an error. */
11090 /* We use char because int might match the return type of a gcc2
11091 builtin and then its argument prototype would still apply. */
11101 rm -f conftest.$ac_objext conftest$ac_exeext
11102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11103 (eval $ac_link) 2>conftest.er1
11105 grep -v '^ *+' conftest.er1 >conftest.err
11107 cat conftest.err >&5
11108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11109 (exit $ac_status); } &&
11110 { ac_try='test -z "$ac_c_werror_flag"
11111 || test ! -s conftest.err'
11112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11113 (eval $ac_try) 2>&5
11115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11116 (exit $ac_status); }; } &&
11117 { ac_try='test -s conftest$ac_exeext'
11118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11119 (eval $ac_try) 2>&5
11121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11122 (exit $ac_status); }; }; then
11123 ac_cv_lib_m_acoshl=yes
11125 echo "$as_me: failed program was:" >&5
11126 sed 's/^/| /' conftest.$ac_ext >&5
11128 ac_cv_lib_m_acoshl=no
11130 rm -f conftest.err conftest.$ac_objext \
11131 conftest$ac_exeext conftest.$ac_ext
11132 LIBS=$ac_check_lib_save_LIBS
11134 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
11135 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
11136 if test $ac_cv_lib_m_acoshl = yes; then
11138 cat >>confdefs.h <<\_ACEOF
11139 #define HAVE_ACOSHL 1
11144 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
11145 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
11146 if test "${ac_cv_lib_m_asinf+set}" = set; then
11147 echo $ECHO_N "(cached) $ECHO_C" >&6
11149 ac_check_lib_save_LIBS=$LIBS
11151 if test x$gcc_no_link = xyes; then
11152 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11154 { (exit 1); exit 1; }; }
11156 cat >conftest.$ac_ext <<_ACEOF
11159 cat confdefs.h >>conftest.$ac_ext
11160 cat >>conftest.$ac_ext <<_ACEOF
11161 /* end confdefs.h. */
11163 /* Override any gcc2 internal prototype to avoid an error. */
11167 /* We use char because int might match the return type of a gcc2
11168 builtin and then its argument prototype would still apply. */
11178 rm -f conftest.$ac_objext conftest$ac_exeext
11179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11180 (eval $ac_link) 2>conftest.er1
11182 grep -v '^ *+' conftest.er1 >conftest.err
11184 cat conftest.err >&5
11185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11186 (exit $ac_status); } &&
11187 { ac_try='test -z "$ac_c_werror_flag"
11188 || test ! -s conftest.err'
11189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11190 (eval $ac_try) 2>&5
11192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 (exit $ac_status); }; } &&
11194 { ac_try='test -s conftest$ac_exeext'
11195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11196 (eval $ac_try) 2>&5
11198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11199 (exit $ac_status); }; }; then
11200 ac_cv_lib_m_asinf=yes
11202 echo "$as_me: failed program was:" >&5
11203 sed 's/^/| /' conftest.$ac_ext >&5
11205 ac_cv_lib_m_asinf=no
11207 rm -f conftest.err conftest.$ac_objext \
11208 conftest$ac_exeext conftest.$ac_ext
11209 LIBS=$ac_check_lib_save_LIBS
11211 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
11212 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
11213 if test $ac_cv_lib_m_asinf = yes; then
11215 cat >>confdefs.h <<\_ACEOF
11216 #define HAVE_ASINF 1
11221 echo "$as_me:$LINENO: checking for asin in -lm" >&5
11222 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
11223 if test "${ac_cv_lib_m_asin+set}" = set; then
11224 echo $ECHO_N "(cached) $ECHO_C" >&6
11226 ac_check_lib_save_LIBS=$LIBS
11228 if test x$gcc_no_link = xyes; then
11229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11231 { (exit 1); exit 1; }; }
11233 cat >conftest.$ac_ext <<_ACEOF
11236 cat confdefs.h >>conftest.$ac_ext
11237 cat >>conftest.$ac_ext <<_ACEOF
11238 /* end confdefs.h. */
11240 /* Override any gcc2 internal prototype to avoid an error. */
11244 /* We use char because int might match the return type of a gcc2
11245 builtin and then its argument prototype would still apply. */
11255 rm -f conftest.$ac_objext conftest$ac_exeext
11256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11257 (eval $ac_link) 2>conftest.er1
11259 grep -v '^ *+' conftest.er1 >conftest.err
11261 cat conftest.err >&5
11262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11263 (exit $ac_status); } &&
11264 { ac_try='test -z "$ac_c_werror_flag"
11265 || test ! -s conftest.err'
11266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11267 (eval $ac_try) 2>&5
11269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11270 (exit $ac_status); }; } &&
11271 { ac_try='test -s conftest$ac_exeext'
11272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11273 (eval $ac_try) 2>&5
11275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11276 (exit $ac_status); }; }; then
11277 ac_cv_lib_m_asin=yes
11279 echo "$as_me: failed program was:" >&5
11280 sed 's/^/| /' conftest.$ac_ext >&5
11282 ac_cv_lib_m_asin=no
11284 rm -f conftest.err conftest.$ac_objext \
11285 conftest$ac_exeext conftest.$ac_ext
11286 LIBS=$ac_check_lib_save_LIBS
11288 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
11289 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
11290 if test $ac_cv_lib_m_asin = yes; then
11292 cat >>confdefs.h <<\_ACEOF
11293 #define HAVE_ASIN 1
11298 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
11299 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
11300 if test "${ac_cv_lib_m_asinl+set}" = set; then
11301 echo $ECHO_N "(cached) $ECHO_C" >&6
11303 ac_check_lib_save_LIBS=$LIBS
11305 if test x$gcc_no_link = xyes; then
11306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11308 { (exit 1); exit 1; }; }
11310 cat >conftest.$ac_ext <<_ACEOF
11313 cat confdefs.h >>conftest.$ac_ext
11314 cat >>conftest.$ac_ext <<_ACEOF
11315 /* end confdefs.h. */
11317 /* Override any gcc2 internal prototype to avoid an error. */
11321 /* We use char because int might match the return type of a gcc2
11322 builtin and then its argument prototype would still apply. */
11332 rm -f conftest.$ac_objext conftest$ac_exeext
11333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11334 (eval $ac_link) 2>conftest.er1
11336 grep -v '^ *+' conftest.er1 >conftest.err
11338 cat conftest.err >&5
11339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11340 (exit $ac_status); } &&
11341 { ac_try='test -z "$ac_c_werror_flag"
11342 || test ! -s conftest.err'
11343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11344 (eval $ac_try) 2>&5
11346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11347 (exit $ac_status); }; } &&
11348 { ac_try='test -s conftest$ac_exeext'
11349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11350 (eval $ac_try) 2>&5
11352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11353 (exit $ac_status); }; }; then
11354 ac_cv_lib_m_asinl=yes
11356 echo "$as_me: failed program was:" >&5
11357 sed 's/^/| /' conftest.$ac_ext >&5
11359 ac_cv_lib_m_asinl=no
11361 rm -f conftest.err conftest.$ac_objext \
11362 conftest$ac_exeext conftest.$ac_ext
11363 LIBS=$ac_check_lib_save_LIBS
11365 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
11366 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
11367 if test $ac_cv_lib_m_asinl = yes; then
11369 cat >>confdefs.h <<\_ACEOF
11370 #define HAVE_ASINL 1
11375 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
11376 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
11377 if test "${ac_cv_lib_m_asinhf+set}" = set; then
11378 echo $ECHO_N "(cached) $ECHO_C" >&6
11380 ac_check_lib_save_LIBS=$LIBS
11382 if test x$gcc_no_link = xyes; then
11383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11385 { (exit 1); exit 1; }; }
11387 cat >conftest.$ac_ext <<_ACEOF
11390 cat confdefs.h >>conftest.$ac_ext
11391 cat >>conftest.$ac_ext <<_ACEOF
11392 /* end confdefs.h. */
11394 /* Override any gcc2 internal prototype to avoid an error. */
11398 /* We use char because int might match the return type of a gcc2
11399 builtin and then its argument prototype would still apply. */
11409 rm -f conftest.$ac_objext conftest$ac_exeext
11410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11411 (eval $ac_link) 2>conftest.er1
11413 grep -v '^ *+' conftest.er1 >conftest.err
11415 cat conftest.err >&5
11416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11417 (exit $ac_status); } &&
11418 { ac_try='test -z "$ac_c_werror_flag"
11419 || test ! -s conftest.err'
11420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11421 (eval $ac_try) 2>&5
11423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11424 (exit $ac_status); }; } &&
11425 { ac_try='test -s conftest$ac_exeext'
11426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11427 (eval $ac_try) 2>&5
11429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11430 (exit $ac_status); }; }; then
11431 ac_cv_lib_m_asinhf=yes
11433 echo "$as_me: failed program was:" >&5
11434 sed 's/^/| /' conftest.$ac_ext >&5
11436 ac_cv_lib_m_asinhf=no
11438 rm -f conftest.err conftest.$ac_objext \
11439 conftest$ac_exeext conftest.$ac_ext
11440 LIBS=$ac_check_lib_save_LIBS
11442 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
11443 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
11444 if test $ac_cv_lib_m_asinhf = yes; then
11446 cat >>confdefs.h <<\_ACEOF
11447 #define HAVE_ASINHF 1
11452 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
11453 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
11454 if test "${ac_cv_lib_m_asinh+set}" = set; then
11455 echo $ECHO_N "(cached) $ECHO_C" >&6
11457 ac_check_lib_save_LIBS=$LIBS
11459 if test x$gcc_no_link = xyes; then
11460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11462 { (exit 1); exit 1; }; }
11464 cat >conftest.$ac_ext <<_ACEOF
11467 cat confdefs.h >>conftest.$ac_ext
11468 cat >>conftest.$ac_ext <<_ACEOF
11469 /* end confdefs.h. */
11471 /* Override any gcc2 internal prototype to avoid an error. */
11475 /* We use char because int might match the return type of a gcc2
11476 builtin and then its argument prototype would still apply. */
11486 rm -f conftest.$ac_objext conftest$ac_exeext
11487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11488 (eval $ac_link) 2>conftest.er1
11490 grep -v '^ *+' conftest.er1 >conftest.err
11492 cat conftest.err >&5
11493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11494 (exit $ac_status); } &&
11495 { ac_try='test -z "$ac_c_werror_flag"
11496 || test ! -s conftest.err'
11497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11498 (eval $ac_try) 2>&5
11500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11501 (exit $ac_status); }; } &&
11502 { ac_try='test -s conftest$ac_exeext'
11503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11504 (eval $ac_try) 2>&5
11506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11507 (exit $ac_status); }; }; then
11508 ac_cv_lib_m_asinh=yes
11510 echo "$as_me: failed program was:" >&5
11511 sed 's/^/| /' conftest.$ac_ext >&5
11513 ac_cv_lib_m_asinh=no
11515 rm -f conftest.err conftest.$ac_objext \
11516 conftest$ac_exeext conftest.$ac_ext
11517 LIBS=$ac_check_lib_save_LIBS
11519 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
11520 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
11521 if test $ac_cv_lib_m_asinh = yes; then
11523 cat >>confdefs.h <<\_ACEOF
11524 #define HAVE_ASINH 1
11529 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
11530 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
11531 if test "${ac_cv_lib_m_asinhl+set}" = set; then
11532 echo $ECHO_N "(cached) $ECHO_C" >&6
11534 ac_check_lib_save_LIBS=$LIBS
11536 if test x$gcc_no_link = xyes; then
11537 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11538 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11539 { (exit 1); exit 1; }; }
11541 cat >conftest.$ac_ext <<_ACEOF
11544 cat confdefs.h >>conftest.$ac_ext
11545 cat >>conftest.$ac_ext <<_ACEOF
11546 /* end confdefs.h. */
11548 /* Override any gcc2 internal prototype to avoid an error. */
11552 /* We use char because int might match the return type of a gcc2
11553 builtin and then its argument prototype would still apply. */
11563 rm -f conftest.$ac_objext conftest$ac_exeext
11564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11565 (eval $ac_link) 2>conftest.er1
11567 grep -v '^ *+' conftest.er1 >conftest.err
11569 cat conftest.err >&5
11570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571 (exit $ac_status); } &&
11572 { ac_try='test -z "$ac_c_werror_flag"
11573 || test ! -s conftest.err'
11574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11575 (eval $ac_try) 2>&5
11577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11578 (exit $ac_status); }; } &&
11579 { ac_try='test -s conftest$ac_exeext'
11580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11581 (eval $ac_try) 2>&5
11583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11584 (exit $ac_status); }; }; then
11585 ac_cv_lib_m_asinhl=yes
11587 echo "$as_me: failed program was:" >&5
11588 sed 's/^/| /' conftest.$ac_ext >&5
11590 ac_cv_lib_m_asinhl=no
11592 rm -f conftest.err conftest.$ac_objext \
11593 conftest$ac_exeext conftest.$ac_ext
11594 LIBS=$ac_check_lib_save_LIBS
11596 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
11597 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
11598 if test $ac_cv_lib_m_asinhl = yes; then
11600 cat >>confdefs.h <<\_ACEOF
11601 #define HAVE_ASINHL 1
11606 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
11607 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
11608 if test "${ac_cv_lib_m_atan2f+set}" = set; then
11609 echo $ECHO_N "(cached) $ECHO_C" >&6
11611 ac_check_lib_save_LIBS=$LIBS
11613 if test x$gcc_no_link = xyes; then
11614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11616 { (exit 1); exit 1; }; }
11618 cat >conftest.$ac_ext <<_ACEOF
11621 cat confdefs.h >>conftest.$ac_ext
11622 cat >>conftest.$ac_ext <<_ACEOF
11623 /* end confdefs.h. */
11625 /* Override any gcc2 internal prototype to avoid an error. */
11629 /* We use char because int might match the return type of a gcc2
11630 builtin and then its argument prototype would still apply. */
11640 rm -f conftest.$ac_objext conftest$ac_exeext
11641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11642 (eval $ac_link) 2>conftest.er1
11644 grep -v '^ *+' conftest.er1 >conftest.err
11646 cat conftest.err >&5
11647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11648 (exit $ac_status); } &&
11649 { ac_try='test -z "$ac_c_werror_flag"
11650 || test ! -s conftest.err'
11651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11652 (eval $ac_try) 2>&5
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); }; } &&
11656 { ac_try='test -s conftest$ac_exeext'
11657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11658 (eval $ac_try) 2>&5
11660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11661 (exit $ac_status); }; }; then
11662 ac_cv_lib_m_atan2f=yes
11664 echo "$as_me: failed program was:" >&5
11665 sed 's/^/| /' conftest.$ac_ext >&5
11667 ac_cv_lib_m_atan2f=no
11669 rm -f conftest.err conftest.$ac_objext \
11670 conftest$ac_exeext conftest.$ac_ext
11671 LIBS=$ac_check_lib_save_LIBS
11673 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
11674 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
11675 if test $ac_cv_lib_m_atan2f = yes; then
11677 cat >>confdefs.h <<\_ACEOF
11678 #define HAVE_ATAN2F 1
11683 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
11684 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
11685 if test "${ac_cv_lib_m_atan2+set}" = set; then
11686 echo $ECHO_N "(cached) $ECHO_C" >&6
11688 ac_check_lib_save_LIBS=$LIBS
11690 if test x$gcc_no_link = xyes; then
11691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11693 { (exit 1); exit 1; }; }
11695 cat >conftest.$ac_ext <<_ACEOF
11698 cat confdefs.h >>conftest.$ac_ext
11699 cat >>conftest.$ac_ext <<_ACEOF
11700 /* end confdefs.h. */
11702 /* Override any gcc2 internal prototype to avoid an error. */
11706 /* We use char because int might match the return type of a gcc2
11707 builtin and then its argument prototype would still apply. */
11717 rm -f conftest.$ac_objext conftest$ac_exeext
11718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11719 (eval $ac_link) 2>conftest.er1
11721 grep -v '^ *+' conftest.er1 >conftest.err
11723 cat conftest.err >&5
11724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11725 (exit $ac_status); } &&
11726 { ac_try='test -z "$ac_c_werror_flag"
11727 || test ! -s conftest.err'
11728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11729 (eval $ac_try) 2>&5
11731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732 (exit $ac_status); }; } &&
11733 { ac_try='test -s conftest$ac_exeext'
11734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11735 (eval $ac_try) 2>&5
11737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11738 (exit $ac_status); }; }; then
11739 ac_cv_lib_m_atan2=yes
11741 echo "$as_me: failed program was:" >&5
11742 sed 's/^/| /' conftest.$ac_ext >&5
11744 ac_cv_lib_m_atan2=no
11746 rm -f conftest.err conftest.$ac_objext \
11747 conftest$ac_exeext conftest.$ac_ext
11748 LIBS=$ac_check_lib_save_LIBS
11750 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
11751 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
11752 if test $ac_cv_lib_m_atan2 = yes; then
11754 cat >>confdefs.h <<\_ACEOF
11755 #define HAVE_ATAN2 1
11760 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
11761 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
11762 if test "${ac_cv_lib_m_atan2l+set}" = set; then
11763 echo $ECHO_N "(cached) $ECHO_C" >&6
11765 ac_check_lib_save_LIBS=$LIBS
11767 if test x$gcc_no_link = xyes; then
11768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11770 { (exit 1); exit 1; }; }
11772 cat >conftest.$ac_ext <<_ACEOF
11775 cat confdefs.h >>conftest.$ac_ext
11776 cat >>conftest.$ac_ext <<_ACEOF
11777 /* end confdefs.h. */
11779 /* Override any gcc2 internal prototype to avoid an error. */
11783 /* We use char because int might match the return type of a gcc2
11784 builtin and then its argument prototype would still apply. */
11794 rm -f conftest.$ac_objext conftest$ac_exeext
11795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11796 (eval $ac_link) 2>conftest.er1
11798 grep -v '^ *+' conftest.er1 >conftest.err
11800 cat conftest.err >&5
11801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11802 (exit $ac_status); } &&
11803 { ac_try='test -z "$ac_c_werror_flag"
11804 || test ! -s conftest.err'
11805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11806 (eval $ac_try) 2>&5
11808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11809 (exit $ac_status); }; } &&
11810 { ac_try='test -s conftest$ac_exeext'
11811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11812 (eval $ac_try) 2>&5
11814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11815 (exit $ac_status); }; }; then
11816 ac_cv_lib_m_atan2l=yes
11818 echo "$as_me: failed program was:" >&5
11819 sed 's/^/| /' conftest.$ac_ext >&5
11821 ac_cv_lib_m_atan2l=no
11823 rm -f conftest.err conftest.$ac_objext \
11824 conftest$ac_exeext conftest.$ac_ext
11825 LIBS=$ac_check_lib_save_LIBS
11827 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
11828 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
11829 if test $ac_cv_lib_m_atan2l = yes; then
11831 cat >>confdefs.h <<\_ACEOF
11832 #define HAVE_ATAN2L 1
11837 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
11838 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
11839 if test "${ac_cv_lib_m_atanf+set}" = set; then
11840 echo $ECHO_N "(cached) $ECHO_C" >&6
11842 ac_check_lib_save_LIBS=$LIBS
11844 if test x$gcc_no_link = xyes; then
11845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11847 { (exit 1); exit 1; }; }
11849 cat >conftest.$ac_ext <<_ACEOF
11852 cat confdefs.h >>conftest.$ac_ext
11853 cat >>conftest.$ac_ext <<_ACEOF
11854 /* end confdefs.h. */
11856 /* Override any gcc2 internal prototype to avoid an error. */
11860 /* We use char because int might match the return type of a gcc2
11861 builtin and then its argument prototype would still apply. */
11871 rm -f conftest.$ac_objext conftest$ac_exeext
11872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11873 (eval $ac_link) 2>conftest.er1
11875 grep -v '^ *+' conftest.er1 >conftest.err
11877 cat conftest.err >&5
11878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11879 (exit $ac_status); } &&
11880 { ac_try='test -z "$ac_c_werror_flag"
11881 || test ! -s conftest.err'
11882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11883 (eval $ac_try) 2>&5
11885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886 (exit $ac_status); }; } &&
11887 { ac_try='test -s conftest$ac_exeext'
11888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11889 (eval $ac_try) 2>&5
11891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11892 (exit $ac_status); }; }; then
11893 ac_cv_lib_m_atanf=yes
11895 echo "$as_me: failed program was:" >&5
11896 sed 's/^/| /' conftest.$ac_ext >&5
11898 ac_cv_lib_m_atanf=no
11900 rm -f conftest.err conftest.$ac_objext \
11901 conftest$ac_exeext conftest.$ac_ext
11902 LIBS=$ac_check_lib_save_LIBS
11904 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
11905 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
11906 if test $ac_cv_lib_m_atanf = yes; then
11908 cat >>confdefs.h <<\_ACEOF
11909 #define HAVE_ATANF 1
11914 echo "$as_me:$LINENO: checking for atan in -lm" >&5
11915 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
11916 if test "${ac_cv_lib_m_atan+set}" = set; then
11917 echo $ECHO_N "(cached) $ECHO_C" >&6
11919 ac_check_lib_save_LIBS=$LIBS
11921 if test x$gcc_no_link = xyes; then
11922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11924 { (exit 1); exit 1; }; }
11926 cat >conftest.$ac_ext <<_ACEOF
11929 cat confdefs.h >>conftest.$ac_ext
11930 cat >>conftest.$ac_ext <<_ACEOF
11931 /* end confdefs.h. */
11933 /* Override any gcc2 internal prototype to avoid an error. */
11937 /* We use char because int might match the return type of a gcc2
11938 builtin and then its argument prototype would still apply. */
11948 rm -f conftest.$ac_objext conftest$ac_exeext
11949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11950 (eval $ac_link) 2>conftest.er1
11952 grep -v '^ *+' conftest.er1 >conftest.err
11954 cat conftest.err >&5
11955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11956 (exit $ac_status); } &&
11957 { ac_try='test -z "$ac_c_werror_flag"
11958 || test ! -s conftest.err'
11959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11960 (eval $ac_try) 2>&5
11962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11963 (exit $ac_status); }; } &&
11964 { ac_try='test -s conftest$ac_exeext'
11965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11966 (eval $ac_try) 2>&5
11968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969 (exit $ac_status); }; }; then
11970 ac_cv_lib_m_atan=yes
11972 echo "$as_me: failed program was:" >&5
11973 sed 's/^/| /' conftest.$ac_ext >&5
11975 ac_cv_lib_m_atan=no
11977 rm -f conftest.err conftest.$ac_objext \
11978 conftest$ac_exeext conftest.$ac_ext
11979 LIBS=$ac_check_lib_save_LIBS
11981 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
11982 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
11983 if test $ac_cv_lib_m_atan = yes; then
11985 cat >>confdefs.h <<\_ACEOF
11986 #define HAVE_ATAN 1
11991 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
11992 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
11993 if test "${ac_cv_lib_m_atanl+set}" = set; then
11994 echo $ECHO_N "(cached) $ECHO_C" >&6
11996 ac_check_lib_save_LIBS=$LIBS
11998 if test x$gcc_no_link = xyes; then
11999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12001 { (exit 1); exit 1; }; }
12003 cat >conftest.$ac_ext <<_ACEOF
12006 cat confdefs.h >>conftest.$ac_ext
12007 cat >>conftest.$ac_ext <<_ACEOF
12008 /* end confdefs.h. */
12010 /* Override any gcc2 internal prototype to avoid an error. */
12014 /* We use char because int might match the return type of a gcc2
12015 builtin and then its argument prototype would still apply. */
12025 rm -f conftest.$ac_objext conftest$ac_exeext
12026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12027 (eval $ac_link) 2>conftest.er1
12029 grep -v '^ *+' conftest.er1 >conftest.err
12031 cat conftest.err >&5
12032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12033 (exit $ac_status); } &&
12034 { ac_try='test -z "$ac_c_werror_flag"
12035 || test ! -s conftest.err'
12036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12037 (eval $ac_try) 2>&5
12039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12040 (exit $ac_status); }; } &&
12041 { ac_try='test -s conftest$ac_exeext'
12042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12043 (eval $ac_try) 2>&5
12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12046 (exit $ac_status); }; }; then
12047 ac_cv_lib_m_atanl=yes
12049 echo "$as_me: failed program was:" >&5
12050 sed 's/^/| /' conftest.$ac_ext >&5
12052 ac_cv_lib_m_atanl=no
12054 rm -f conftest.err conftest.$ac_objext \
12055 conftest$ac_exeext conftest.$ac_ext
12056 LIBS=$ac_check_lib_save_LIBS
12058 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
12059 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
12060 if test $ac_cv_lib_m_atanl = yes; then
12062 cat >>confdefs.h <<\_ACEOF
12063 #define HAVE_ATANL 1
12068 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
12069 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
12070 if test "${ac_cv_lib_m_atanhf+set}" = set; then
12071 echo $ECHO_N "(cached) $ECHO_C" >&6
12073 ac_check_lib_save_LIBS=$LIBS
12075 if test x$gcc_no_link = xyes; then
12076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12078 { (exit 1); exit 1; }; }
12080 cat >conftest.$ac_ext <<_ACEOF
12083 cat confdefs.h >>conftest.$ac_ext
12084 cat >>conftest.$ac_ext <<_ACEOF
12085 /* end confdefs.h. */
12087 /* Override any gcc2 internal prototype to avoid an error. */
12091 /* We use char because int might match the return type of a gcc2
12092 builtin and then its argument prototype would still apply. */
12102 rm -f conftest.$ac_objext conftest$ac_exeext
12103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12104 (eval $ac_link) 2>conftest.er1
12106 grep -v '^ *+' conftest.er1 >conftest.err
12108 cat conftest.err >&5
12109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12110 (exit $ac_status); } &&
12111 { ac_try='test -z "$ac_c_werror_flag"
12112 || test ! -s conftest.err'
12113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12114 (eval $ac_try) 2>&5
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); }; } &&
12118 { ac_try='test -s conftest$ac_exeext'
12119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12120 (eval $ac_try) 2>&5
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); }; }; then
12124 ac_cv_lib_m_atanhf=yes
12126 echo "$as_me: failed program was:" >&5
12127 sed 's/^/| /' conftest.$ac_ext >&5
12129 ac_cv_lib_m_atanhf=no
12131 rm -f conftest.err conftest.$ac_objext \
12132 conftest$ac_exeext conftest.$ac_ext
12133 LIBS=$ac_check_lib_save_LIBS
12135 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
12136 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
12137 if test $ac_cv_lib_m_atanhf = yes; then
12139 cat >>confdefs.h <<\_ACEOF
12140 #define HAVE_ATANHF 1
12145 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
12146 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
12147 if test "${ac_cv_lib_m_atanh+set}" = set; then
12148 echo $ECHO_N "(cached) $ECHO_C" >&6
12150 ac_check_lib_save_LIBS=$LIBS
12152 if test x$gcc_no_link = xyes; then
12153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12155 { (exit 1); exit 1; }; }
12157 cat >conftest.$ac_ext <<_ACEOF
12160 cat confdefs.h >>conftest.$ac_ext
12161 cat >>conftest.$ac_ext <<_ACEOF
12162 /* end confdefs.h. */
12164 /* Override any gcc2 internal prototype to avoid an error. */
12168 /* We use char because int might match the return type of a gcc2
12169 builtin and then its argument prototype would still apply. */
12179 rm -f conftest.$ac_objext conftest$ac_exeext
12180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12181 (eval $ac_link) 2>conftest.er1
12183 grep -v '^ *+' conftest.er1 >conftest.err
12185 cat conftest.err >&5
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); } &&
12188 { ac_try='test -z "$ac_c_werror_flag"
12189 || test ! -s conftest.err'
12190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12191 (eval $ac_try) 2>&5
12193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12194 (exit $ac_status); }; } &&
12195 { ac_try='test -s conftest$ac_exeext'
12196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12197 (eval $ac_try) 2>&5
12199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12200 (exit $ac_status); }; }; then
12201 ac_cv_lib_m_atanh=yes
12203 echo "$as_me: failed program was:" >&5
12204 sed 's/^/| /' conftest.$ac_ext >&5
12206 ac_cv_lib_m_atanh=no
12208 rm -f conftest.err conftest.$ac_objext \
12209 conftest$ac_exeext conftest.$ac_ext
12210 LIBS=$ac_check_lib_save_LIBS
12212 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
12213 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
12214 if test $ac_cv_lib_m_atanh = yes; then
12216 cat >>confdefs.h <<\_ACEOF
12217 #define HAVE_ATANH 1
12222 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
12223 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
12224 if test "${ac_cv_lib_m_atanhl+set}" = set; then
12225 echo $ECHO_N "(cached) $ECHO_C" >&6
12227 ac_check_lib_save_LIBS=$LIBS
12229 if test x$gcc_no_link = xyes; then
12230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12232 { (exit 1); exit 1; }; }
12234 cat >conftest.$ac_ext <<_ACEOF
12237 cat confdefs.h >>conftest.$ac_ext
12238 cat >>conftest.$ac_ext <<_ACEOF
12239 /* end confdefs.h. */
12241 /* Override any gcc2 internal prototype to avoid an error. */
12245 /* We use char because int might match the return type of a gcc2
12246 builtin and then its argument prototype would still apply. */
12256 rm -f conftest.$ac_objext conftest$ac_exeext
12257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12258 (eval $ac_link) 2>conftest.er1
12260 grep -v '^ *+' conftest.er1 >conftest.err
12262 cat conftest.err >&5
12263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12264 (exit $ac_status); } &&
12265 { ac_try='test -z "$ac_c_werror_flag"
12266 || test ! -s conftest.err'
12267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12268 (eval $ac_try) 2>&5
12270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271 (exit $ac_status); }; } &&
12272 { ac_try='test -s conftest$ac_exeext'
12273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12274 (eval $ac_try) 2>&5
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); }; }; then
12278 ac_cv_lib_m_atanhl=yes
12280 echo "$as_me: failed program was:" >&5
12281 sed 's/^/| /' conftest.$ac_ext >&5
12283 ac_cv_lib_m_atanhl=no
12285 rm -f conftest.err conftest.$ac_objext \
12286 conftest$ac_exeext conftest.$ac_ext
12287 LIBS=$ac_check_lib_save_LIBS
12289 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
12290 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
12291 if test $ac_cv_lib_m_atanhl = yes; then
12293 cat >>confdefs.h <<\_ACEOF
12294 #define HAVE_ATANHL 1
12299 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
12300 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
12301 if test "${ac_cv_lib_m_cargf+set}" = set; then
12302 echo $ECHO_N "(cached) $ECHO_C" >&6
12304 ac_check_lib_save_LIBS=$LIBS
12306 if test x$gcc_no_link = xyes; then
12307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12309 { (exit 1); exit 1; }; }
12311 cat >conftest.$ac_ext <<_ACEOF
12314 cat confdefs.h >>conftest.$ac_ext
12315 cat >>conftest.$ac_ext <<_ACEOF
12316 /* end confdefs.h. */
12318 /* Override any gcc2 internal prototype to avoid an error. */
12322 /* We use char because int might match the return type of a gcc2
12323 builtin and then its argument prototype would still apply. */
12333 rm -f conftest.$ac_objext conftest$ac_exeext
12334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12335 (eval $ac_link) 2>conftest.er1
12337 grep -v '^ *+' conftest.er1 >conftest.err
12339 cat conftest.err >&5
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); } &&
12342 { ac_try='test -z "$ac_c_werror_flag"
12343 || test ! -s conftest.err'
12344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12345 (eval $ac_try) 2>&5
12347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12348 (exit $ac_status); }; } &&
12349 { ac_try='test -s conftest$ac_exeext'
12350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12351 (eval $ac_try) 2>&5
12353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12354 (exit $ac_status); }; }; then
12355 ac_cv_lib_m_cargf=yes
12357 echo "$as_me: failed program was:" >&5
12358 sed 's/^/| /' conftest.$ac_ext >&5
12360 ac_cv_lib_m_cargf=no
12362 rm -f conftest.err conftest.$ac_objext \
12363 conftest$ac_exeext conftest.$ac_ext
12364 LIBS=$ac_check_lib_save_LIBS
12366 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
12367 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
12368 if test $ac_cv_lib_m_cargf = yes; then
12370 cat >>confdefs.h <<\_ACEOF
12371 #define HAVE_CARGF 1
12376 echo "$as_me:$LINENO: checking for carg in -lm" >&5
12377 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
12378 if test "${ac_cv_lib_m_carg+set}" = set; then
12379 echo $ECHO_N "(cached) $ECHO_C" >&6
12381 ac_check_lib_save_LIBS=$LIBS
12383 if test x$gcc_no_link = xyes; then
12384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12386 { (exit 1); exit 1; }; }
12388 cat >conftest.$ac_ext <<_ACEOF
12391 cat confdefs.h >>conftest.$ac_ext
12392 cat >>conftest.$ac_ext <<_ACEOF
12393 /* end confdefs.h. */
12395 /* Override any gcc2 internal prototype to avoid an error. */
12399 /* We use char because int might match the return type of a gcc2
12400 builtin and then its argument prototype would still apply. */
12410 rm -f conftest.$ac_objext conftest$ac_exeext
12411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12412 (eval $ac_link) 2>conftest.er1
12414 grep -v '^ *+' conftest.er1 >conftest.err
12416 cat conftest.err >&5
12417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12418 (exit $ac_status); } &&
12419 { ac_try='test -z "$ac_c_werror_flag"
12420 || test ! -s conftest.err'
12421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12422 (eval $ac_try) 2>&5
12424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12425 (exit $ac_status); }; } &&
12426 { ac_try='test -s conftest$ac_exeext'
12427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12428 (eval $ac_try) 2>&5
12430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431 (exit $ac_status); }; }; then
12432 ac_cv_lib_m_carg=yes
12434 echo "$as_me: failed program was:" >&5
12435 sed 's/^/| /' conftest.$ac_ext >&5
12437 ac_cv_lib_m_carg=no
12439 rm -f conftest.err conftest.$ac_objext \
12440 conftest$ac_exeext conftest.$ac_ext
12441 LIBS=$ac_check_lib_save_LIBS
12443 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
12444 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
12445 if test $ac_cv_lib_m_carg = yes; then
12447 cat >>confdefs.h <<\_ACEOF
12448 #define HAVE_CARG 1
12453 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
12454 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
12455 if test "${ac_cv_lib_m_cargl+set}" = set; then
12456 echo $ECHO_N "(cached) $ECHO_C" >&6
12458 ac_check_lib_save_LIBS=$LIBS
12460 if test x$gcc_no_link = xyes; then
12461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12463 { (exit 1); exit 1; }; }
12465 cat >conftest.$ac_ext <<_ACEOF
12468 cat confdefs.h >>conftest.$ac_ext
12469 cat >>conftest.$ac_ext <<_ACEOF
12470 /* end confdefs.h. */
12472 /* Override any gcc2 internal prototype to avoid an error. */
12476 /* We use char because int might match the return type of a gcc2
12477 builtin and then its argument prototype would still apply. */
12487 rm -f conftest.$ac_objext conftest$ac_exeext
12488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12489 (eval $ac_link) 2>conftest.er1
12491 grep -v '^ *+' conftest.er1 >conftest.err
12493 cat conftest.err >&5
12494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12495 (exit $ac_status); } &&
12496 { ac_try='test -z "$ac_c_werror_flag"
12497 || test ! -s conftest.err'
12498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12499 (eval $ac_try) 2>&5
12501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12502 (exit $ac_status); }; } &&
12503 { ac_try='test -s conftest$ac_exeext'
12504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12505 (eval $ac_try) 2>&5
12507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12508 (exit $ac_status); }; }; then
12509 ac_cv_lib_m_cargl=yes
12511 echo "$as_me: failed program was:" >&5
12512 sed 's/^/| /' conftest.$ac_ext >&5
12514 ac_cv_lib_m_cargl=no
12516 rm -f conftest.err conftest.$ac_objext \
12517 conftest$ac_exeext conftest.$ac_ext
12518 LIBS=$ac_check_lib_save_LIBS
12520 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
12521 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
12522 if test $ac_cv_lib_m_cargl = yes; then
12524 cat >>confdefs.h <<\_ACEOF
12525 #define HAVE_CARGL 1
12530 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
12531 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
12532 if test "${ac_cv_lib_m_ceilf+set}" = set; then
12533 echo $ECHO_N "(cached) $ECHO_C" >&6
12535 ac_check_lib_save_LIBS=$LIBS
12537 if test x$gcc_no_link = xyes; then
12538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12540 { (exit 1); exit 1; }; }
12542 cat >conftest.$ac_ext <<_ACEOF
12545 cat confdefs.h >>conftest.$ac_ext
12546 cat >>conftest.$ac_ext <<_ACEOF
12547 /* end confdefs.h. */
12549 /* Override any gcc2 internal prototype to avoid an error. */
12553 /* We use char because int might match the return type of a gcc2
12554 builtin and then its argument prototype would still apply. */
12564 rm -f conftest.$ac_objext conftest$ac_exeext
12565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12566 (eval $ac_link) 2>conftest.er1
12568 grep -v '^ *+' conftest.er1 >conftest.err
12570 cat conftest.err >&5
12571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12572 (exit $ac_status); } &&
12573 { ac_try='test -z "$ac_c_werror_flag"
12574 || test ! -s conftest.err'
12575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12576 (eval $ac_try) 2>&5
12578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12579 (exit $ac_status); }; } &&
12580 { ac_try='test -s conftest$ac_exeext'
12581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12582 (eval $ac_try) 2>&5
12584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12585 (exit $ac_status); }; }; then
12586 ac_cv_lib_m_ceilf=yes
12588 echo "$as_me: failed program was:" >&5
12589 sed 's/^/| /' conftest.$ac_ext >&5
12591 ac_cv_lib_m_ceilf=no
12593 rm -f conftest.err conftest.$ac_objext \
12594 conftest$ac_exeext conftest.$ac_ext
12595 LIBS=$ac_check_lib_save_LIBS
12597 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
12598 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
12599 if test $ac_cv_lib_m_ceilf = yes; then
12601 cat >>confdefs.h <<\_ACEOF
12602 #define HAVE_CEILF 1
12607 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
12608 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
12609 if test "${ac_cv_lib_m_ceil+set}" = set; then
12610 echo $ECHO_N "(cached) $ECHO_C" >&6
12612 ac_check_lib_save_LIBS=$LIBS
12614 if test x$gcc_no_link = xyes; then
12615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12617 { (exit 1); exit 1; }; }
12619 cat >conftest.$ac_ext <<_ACEOF
12622 cat confdefs.h >>conftest.$ac_ext
12623 cat >>conftest.$ac_ext <<_ACEOF
12624 /* end confdefs.h. */
12626 /* Override any gcc2 internal prototype to avoid an error. */
12630 /* We use char because int might match the return type of a gcc2
12631 builtin and then its argument prototype would still apply. */
12641 rm -f conftest.$ac_objext conftest$ac_exeext
12642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12643 (eval $ac_link) 2>conftest.er1
12645 grep -v '^ *+' conftest.er1 >conftest.err
12647 cat conftest.err >&5
12648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649 (exit $ac_status); } &&
12650 { ac_try='test -z "$ac_c_werror_flag"
12651 || test ! -s conftest.err'
12652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12653 (eval $ac_try) 2>&5
12655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12656 (exit $ac_status); }; } &&
12657 { ac_try='test -s conftest$ac_exeext'
12658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12659 (eval $ac_try) 2>&5
12661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12662 (exit $ac_status); }; }; then
12663 ac_cv_lib_m_ceil=yes
12665 echo "$as_me: failed program was:" >&5
12666 sed 's/^/| /' conftest.$ac_ext >&5
12668 ac_cv_lib_m_ceil=no
12670 rm -f conftest.err conftest.$ac_objext \
12671 conftest$ac_exeext conftest.$ac_ext
12672 LIBS=$ac_check_lib_save_LIBS
12674 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
12675 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
12676 if test $ac_cv_lib_m_ceil = yes; then
12678 cat >>confdefs.h <<\_ACEOF
12679 #define HAVE_CEIL 1
12684 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
12685 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
12686 if test "${ac_cv_lib_m_ceill+set}" = set; then
12687 echo $ECHO_N "(cached) $ECHO_C" >&6
12689 ac_check_lib_save_LIBS=$LIBS
12691 if test x$gcc_no_link = xyes; then
12692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12694 { (exit 1); exit 1; }; }
12696 cat >conftest.$ac_ext <<_ACEOF
12699 cat confdefs.h >>conftest.$ac_ext
12700 cat >>conftest.$ac_ext <<_ACEOF
12701 /* end confdefs.h. */
12703 /* Override any gcc2 internal prototype to avoid an error. */
12707 /* We use char because int might match the return type of a gcc2
12708 builtin and then its argument prototype would still apply. */
12718 rm -f conftest.$ac_objext conftest$ac_exeext
12719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12720 (eval $ac_link) 2>conftest.er1
12722 grep -v '^ *+' conftest.er1 >conftest.err
12724 cat conftest.err >&5
12725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12726 (exit $ac_status); } &&
12727 { ac_try='test -z "$ac_c_werror_flag"
12728 || test ! -s conftest.err'
12729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12730 (eval $ac_try) 2>&5
12732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12733 (exit $ac_status); }; } &&
12734 { ac_try='test -s conftest$ac_exeext'
12735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12736 (eval $ac_try) 2>&5
12738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12739 (exit $ac_status); }; }; then
12740 ac_cv_lib_m_ceill=yes
12742 echo "$as_me: failed program was:" >&5
12743 sed 's/^/| /' conftest.$ac_ext >&5
12745 ac_cv_lib_m_ceill=no
12747 rm -f conftest.err conftest.$ac_objext \
12748 conftest$ac_exeext conftest.$ac_ext
12749 LIBS=$ac_check_lib_save_LIBS
12751 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
12752 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
12753 if test $ac_cv_lib_m_ceill = yes; then
12755 cat >>confdefs.h <<\_ACEOF
12756 #define HAVE_CEILL 1
12761 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
12762 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
12763 if test "${ac_cv_lib_m_copysignf+set}" = set; then
12764 echo $ECHO_N "(cached) $ECHO_C" >&6
12766 ac_check_lib_save_LIBS=$LIBS
12768 if test x$gcc_no_link = xyes; then
12769 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12771 { (exit 1); exit 1; }; }
12773 cat >conftest.$ac_ext <<_ACEOF
12776 cat confdefs.h >>conftest.$ac_ext
12777 cat >>conftest.$ac_ext <<_ACEOF
12778 /* end confdefs.h. */
12780 /* Override any gcc2 internal prototype to avoid an error. */
12784 /* We use char because int might match the return type of a gcc2
12785 builtin and then its argument prototype would still apply. */
12795 rm -f conftest.$ac_objext conftest$ac_exeext
12796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12797 (eval $ac_link) 2>conftest.er1
12799 grep -v '^ *+' conftest.er1 >conftest.err
12801 cat conftest.err >&5
12802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12803 (exit $ac_status); } &&
12804 { ac_try='test -z "$ac_c_werror_flag"
12805 || test ! -s conftest.err'
12806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12807 (eval $ac_try) 2>&5
12809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12810 (exit $ac_status); }; } &&
12811 { ac_try='test -s conftest$ac_exeext'
12812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12813 (eval $ac_try) 2>&5
12815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12816 (exit $ac_status); }; }; then
12817 ac_cv_lib_m_copysignf=yes
12819 echo "$as_me: failed program was:" >&5
12820 sed 's/^/| /' conftest.$ac_ext >&5
12822 ac_cv_lib_m_copysignf=no
12824 rm -f conftest.err conftest.$ac_objext \
12825 conftest$ac_exeext conftest.$ac_ext
12826 LIBS=$ac_check_lib_save_LIBS
12828 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
12829 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
12830 if test $ac_cv_lib_m_copysignf = yes; then
12832 cat >>confdefs.h <<\_ACEOF
12833 #define HAVE_COPYSIGNF 1
12838 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
12839 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
12840 if test "${ac_cv_lib_m_copysign+set}" = set; then
12841 echo $ECHO_N "(cached) $ECHO_C" >&6
12843 ac_check_lib_save_LIBS=$LIBS
12845 if test x$gcc_no_link = xyes; then
12846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12848 { (exit 1); exit 1; }; }
12850 cat >conftest.$ac_ext <<_ACEOF
12853 cat confdefs.h >>conftest.$ac_ext
12854 cat >>conftest.$ac_ext <<_ACEOF
12855 /* end confdefs.h. */
12857 /* Override any gcc2 internal prototype to avoid an error. */
12861 /* We use char because int might match the return type of a gcc2
12862 builtin and then its argument prototype would still apply. */
12872 rm -f conftest.$ac_objext conftest$ac_exeext
12873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12874 (eval $ac_link) 2>conftest.er1
12876 grep -v '^ *+' conftest.er1 >conftest.err
12878 cat conftest.err >&5
12879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12880 (exit $ac_status); } &&
12881 { ac_try='test -z "$ac_c_werror_flag"
12882 || test ! -s conftest.err'
12883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12884 (eval $ac_try) 2>&5
12886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12887 (exit $ac_status); }; } &&
12888 { ac_try='test -s conftest$ac_exeext'
12889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12890 (eval $ac_try) 2>&5
12892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12893 (exit $ac_status); }; }; then
12894 ac_cv_lib_m_copysign=yes
12896 echo "$as_me: failed program was:" >&5
12897 sed 's/^/| /' conftest.$ac_ext >&5
12899 ac_cv_lib_m_copysign=no
12901 rm -f conftest.err conftest.$ac_objext \
12902 conftest$ac_exeext conftest.$ac_ext
12903 LIBS=$ac_check_lib_save_LIBS
12905 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
12906 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
12907 if test $ac_cv_lib_m_copysign = yes; then
12909 cat >>confdefs.h <<\_ACEOF
12910 #define HAVE_COPYSIGN 1
12915 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
12916 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
12917 if test "${ac_cv_lib_m_copysignl+set}" = set; then
12918 echo $ECHO_N "(cached) $ECHO_C" >&6
12920 ac_check_lib_save_LIBS=$LIBS
12922 if test x$gcc_no_link = xyes; then
12923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12925 { (exit 1); exit 1; }; }
12927 cat >conftest.$ac_ext <<_ACEOF
12930 cat confdefs.h >>conftest.$ac_ext
12931 cat >>conftest.$ac_ext <<_ACEOF
12932 /* end confdefs.h. */
12934 /* Override any gcc2 internal prototype to avoid an error. */
12938 /* We use char because int might match the return type of a gcc2
12939 builtin and then its argument prototype would still apply. */
12949 rm -f conftest.$ac_objext conftest$ac_exeext
12950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12951 (eval $ac_link) 2>conftest.er1
12953 grep -v '^ *+' conftest.er1 >conftest.err
12955 cat conftest.err >&5
12956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12957 (exit $ac_status); } &&
12958 { ac_try='test -z "$ac_c_werror_flag"
12959 || test ! -s conftest.err'
12960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12961 (eval $ac_try) 2>&5
12963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12964 (exit $ac_status); }; } &&
12965 { ac_try='test -s conftest$ac_exeext'
12966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12967 (eval $ac_try) 2>&5
12969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12970 (exit $ac_status); }; }; then
12971 ac_cv_lib_m_copysignl=yes
12973 echo "$as_me: failed program was:" >&5
12974 sed 's/^/| /' conftest.$ac_ext >&5
12976 ac_cv_lib_m_copysignl=no
12978 rm -f conftest.err conftest.$ac_objext \
12979 conftest$ac_exeext conftest.$ac_ext
12980 LIBS=$ac_check_lib_save_LIBS
12982 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
12983 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
12984 if test $ac_cv_lib_m_copysignl = yes; then
12986 cat >>confdefs.h <<\_ACEOF
12987 #define HAVE_COPYSIGNL 1
12992 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
12993 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
12994 if test "${ac_cv_lib_m_cosf+set}" = set; then
12995 echo $ECHO_N "(cached) $ECHO_C" >&6
12997 ac_check_lib_save_LIBS=$LIBS
12999 if test x$gcc_no_link = xyes; then
13000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13002 { (exit 1); exit 1; }; }
13004 cat >conftest.$ac_ext <<_ACEOF
13007 cat confdefs.h >>conftest.$ac_ext
13008 cat >>conftest.$ac_ext <<_ACEOF
13009 /* end confdefs.h. */
13011 /* Override any gcc2 internal prototype to avoid an error. */
13015 /* We use char because int might match the return type of a gcc2
13016 builtin and then its argument prototype would still apply. */
13026 rm -f conftest.$ac_objext conftest$ac_exeext
13027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13028 (eval $ac_link) 2>conftest.er1
13030 grep -v '^ *+' conftest.er1 >conftest.err
13032 cat conftest.err >&5
13033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13034 (exit $ac_status); } &&
13035 { ac_try='test -z "$ac_c_werror_flag"
13036 || test ! -s conftest.err'
13037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13038 (eval $ac_try) 2>&5
13040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13041 (exit $ac_status); }; } &&
13042 { ac_try='test -s conftest$ac_exeext'
13043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13044 (eval $ac_try) 2>&5
13046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13047 (exit $ac_status); }; }; then
13048 ac_cv_lib_m_cosf=yes
13050 echo "$as_me: failed program was:" >&5
13051 sed 's/^/| /' conftest.$ac_ext >&5
13053 ac_cv_lib_m_cosf=no
13055 rm -f conftest.err conftest.$ac_objext \
13056 conftest$ac_exeext conftest.$ac_ext
13057 LIBS=$ac_check_lib_save_LIBS
13059 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
13060 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
13061 if test $ac_cv_lib_m_cosf = yes; then
13063 cat >>confdefs.h <<\_ACEOF
13064 #define HAVE_COSF 1
13069 echo "$as_me:$LINENO: checking for cos in -lm" >&5
13070 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
13071 if test "${ac_cv_lib_m_cos+set}" = set; then
13072 echo $ECHO_N "(cached) $ECHO_C" >&6
13074 ac_check_lib_save_LIBS=$LIBS
13076 if test x$gcc_no_link = xyes; then
13077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13079 { (exit 1); exit 1; }; }
13081 cat >conftest.$ac_ext <<_ACEOF
13084 cat confdefs.h >>conftest.$ac_ext
13085 cat >>conftest.$ac_ext <<_ACEOF
13086 /* end confdefs.h. */
13088 /* Override any gcc2 internal prototype to avoid an error. */
13092 /* We use char because int might match the return type of a gcc2
13093 builtin and then its argument prototype would still apply. */
13103 rm -f conftest.$ac_objext conftest$ac_exeext
13104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13105 (eval $ac_link) 2>conftest.er1
13107 grep -v '^ *+' conftest.er1 >conftest.err
13109 cat conftest.err >&5
13110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13111 (exit $ac_status); } &&
13112 { ac_try='test -z "$ac_c_werror_flag"
13113 || test ! -s conftest.err'
13114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13115 (eval $ac_try) 2>&5
13117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13118 (exit $ac_status); }; } &&
13119 { ac_try='test -s conftest$ac_exeext'
13120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13121 (eval $ac_try) 2>&5
13123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13124 (exit $ac_status); }; }; then
13125 ac_cv_lib_m_cos=yes
13127 echo "$as_me: failed program was:" >&5
13128 sed 's/^/| /' conftest.$ac_ext >&5
13132 rm -f conftest.err conftest.$ac_objext \
13133 conftest$ac_exeext conftest.$ac_ext
13134 LIBS=$ac_check_lib_save_LIBS
13136 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
13137 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
13138 if test $ac_cv_lib_m_cos = yes; then
13140 cat >>confdefs.h <<\_ACEOF
13146 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
13147 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
13148 if test "${ac_cv_lib_m_cosl+set}" = set; then
13149 echo $ECHO_N "(cached) $ECHO_C" >&6
13151 ac_check_lib_save_LIBS=$LIBS
13153 if test x$gcc_no_link = xyes; then
13154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13156 { (exit 1); exit 1; }; }
13158 cat >conftest.$ac_ext <<_ACEOF
13161 cat confdefs.h >>conftest.$ac_ext
13162 cat >>conftest.$ac_ext <<_ACEOF
13163 /* end confdefs.h. */
13165 /* Override any gcc2 internal prototype to avoid an error. */
13169 /* We use char because int might match the return type of a gcc2
13170 builtin and then its argument prototype would still apply. */
13180 rm -f conftest.$ac_objext conftest$ac_exeext
13181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13182 (eval $ac_link) 2>conftest.er1
13184 grep -v '^ *+' conftest.er1 >conftest.err
13186 cat conftest.err >&5
13187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13188 (exit $ac_status); } &&
13189 { ac_try='test -z "$ac_c_werror_flag"
13190 || test ! -s conftest.err'
13191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13192 (eval $ac_try) 2>&5
13194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13195 (exit $ac_status); }; } &&
13196 { ac_try='test -s conftest$ac_exeext'
13197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13198 (eval $ac_try) 2>&5
13200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13201 (exit $ac_status); }; }; then
13202 ac_cv_lib_m_cosl=yes
13204 echo "$as_me: failed program was:" >&5
13205 sed 's/^/| /' conftest.$ac_ext >&5
13207 ac_cv_lib_m_cosl=no
13209 rm -f conftest.err conftest.$ac_objext \
13210 conftest$ac_exeext conftest.$ac_ext
13211 LIBS=$ac_check_lib_save_LIBS
13213 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
13214 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
13215 if test $ac_cv_lib_m_cosl = yes; then
13217 cat >>confdefs.h <<\_ACEOF
13218 #define HAVE_COSL 1
13223 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
13224 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
13225 if test "${ac_cv_lib_m_ccosf+set}" = set; then
13226 echo $ECHO_N "(cached) $ECHO_C" >&6
13228 ac_check_lib_save_LIBS=$LIBS
13230 if test x$gcc_no_link = xyes; then
13231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13233 { (exit 1); exit 1; }; }
13235 cat >conftest.$ac_ext <<_ACEOF
13238 cat confdefs.h >>conftest.$ac_ext
13239 cat >>conftest.$ac_ext <<_ACEOF
13240 /* end confdefs.h. */
13242 /* Override any gcc2 internal prototype to avoid an error. */
13246 /* We use char because int might match the return type of a gcc2
13247 builtin and then its argument prototype would still apply. */
13257 rm -f conftest.$ac_objext conftest$ac_exeext
13258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13259 (eval $ac_link) 2>conftest.er1
13261 grep -v '^ *+' conftest.er1 >conftest.err
13263 cat conftest.err >&5
13264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13265 (exit $ac_status); } &&
13266 { ac_try='test -z "$ac_c_werror_flag"
13267 || test ! -s conftest.err'
13268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13269 (eval $ac_try) 2>&5
13271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272 (exit $ac_status); }; } &&
13273 { ac_try='test -s conftest$ac_exeext'
13274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13275 (eval $ac_try) 2>&5
13277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278 (exit $ac_status); }; }; then
13279 ac_cv_lib_m_ccosf=yes
13281 echo "$as_me: failed program was:" >&5
13282 sed 's/^/| /' conftest.$ac_ext >&5
13284 ac_cv_lib_m_ccosf=no
13286 rm -f conftest.err conftest.$ac_objext \
13287 conftest$ac_exeext conftest.$ac_ext
13288 LIBS=$ac_check_lib_save_LIBS
13290 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
13291 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
13292 if test $ac_cv_lib_m_ccosf = yes; then
13294 cat >>confdefs.h <<\_ACEOF
13295 #define HAVE_CCOSF 1
13300 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
13301 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
13302 if test "${ac_cv_lib_m_ccos+set}" = set; then
13303 echo $ECHO_N "(cached) $ECHO_C" >&6
13305 ac_check_lib_save_LIBS=$LIBS
13307 if test x$gcc_no_link = xyes; then
13308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13310 { (exit 1); exit 1; }; }
13312 cat >conftest.$ac_ext <<_ACEOF
13315 cat confdefs.h >>conftest.$ac_ext
13316 cat >>conftest.$ac_ext <<_ACEOF
13317 /* end confdefs.h. */
13319 /* Override any gcc2 internal prototype to avoid an error. */
13323 /* We use char because int might match the return type of a gcc2
13324 builtin and then its argument prototype would still apply. */
13334 rm -f conftest.$ac_objext conftest$ac_exeext
13335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13336 (eval $ac_link) 2>conftest.er1
13338 grep -v '^ *+' conftest.er1 >conftest.err
13340 cat conftest.err >&5
13341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13342 (exit $ac_status); } &&
13343 { ac_try='test -z "$ac_c_werror_flag"
13344 || test ! -s conftest.err'
13345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13346 (eval $ac_try) 2>&5
13348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349 (exit $ac_status); }; } &&
13350 { ac_try='test -s conftest$ac_exeext'
13351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13352 (eval $ac_try) 2>&5
13354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13355 (exit $ac_status); }; }; then
13356 ac_cv_lib_m_ccos=yes
13358 echo "$as_me: failed program was:" >&5
13359 sed 's/^/| /' conftest.$ac_ext >&5
13361 ac_cv_lib_m_ccos=no
13363 rm -f conftest.err conftest.$ac_objext \
13364 conftest$ac_exeext conftest.$ac_ext
13365 LIBS=$ac_check_lib_save_LIBS
13367 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
13368 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
13369 if test $ac_cv_lib_m_ccos = yes; then
13371 cat >>confdefs.h <<\_ACEOF
13372 #define HAVE_CCOS 1
13377 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
13378 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
13379 if test "${ac_cv_lib_m_ccosl+set}" = set; then
13380 echo $ECHO_N "(cached) $ECHO_C" >&6
13382 ac_check_lib_save_LIBS=$LIBS
13384 if test x$gcc_no_link = xyes; then
13385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13387 { (exit 1); exit 1; }; }
13389 cat >conftest.$ac_ext <<_ACEOF
13392 cat confdefs.h >>conftest.$ac_ext
13393 cat >>conftest.$ac_ext <<_ACEOF
13394 /* end confdefs.h. */
13396 /* Override any gcc2 internal prototype to avoid an error. */
13400 /* We use char because int might match the return type of a gcc2
13401 builtin and then its argument prototype would still apply. */
13411 rm -f conftest.$ac_objext conftest$ac_exeext
13412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13413 (eval $ac_link) 2>conftest.er1
13415 grep -v '^ *+' conftest.er1 >conftest.err
13417 cat conftest.err >&5
13418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13419 (exit $ac_status); } &&
13420 { ac_try='test -z "$ac_c_werror_flag"
13421 || test ! -s conftest.err'
13422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13423 (eval $ac_try) 2>&5
13425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13426 (exit $ac_status); }; } &&
13427 { ac_try='test -s conftest$ac_exeext'
13428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13429 (eval $ac_try) 2>&5
13431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13432 (exit $ac_status); }; }; then
13433 ac_cv_lib_m_ccosl=yes
13435 echo "$as_me: failed program was:" >&5
13436 sed 's/^/| /' conftest.$ac_ext >&5
13438 ac_cv_lib_m_ccosl=no
13440 rm -f conftest.err conftest.$ac_objext \
13441 conftest$ac_exeext conftest.$ac_ext
13442 LIBS=$ac_check_lib_save_LIBS
13444 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
13445 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
13446 if test $ac_cv_lib_m_ccosl = yes; then
13448 cat >>confdefs.h <<\_ACEOF
13449 #define HAVE_CCOSL 1
13454 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
13455 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
13456 if test "${ac_cv_lib_m_coshf+set}" = set; then
13457 echo $ECHO_N "(cached) $ECHO_C" >&6
13459 ac_check_lib_save_LIBS=$LIBS
13461 if test x$gcc_no_link = xyes; then
13462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13464 { (exit 1); exit 1; }; }
13466 cat >conftest.$ac_ext <<_ACEOF
13469 cat confdefs.h >>conftest.$ac_ext
13470 cat >>conftest.$ac_ext <<_ACEOF
13471 /* end confdefs.h. */
13473 /* Override any gcc2 internal prototype to avoid an error. */
13477 /* We use char because int might match the return type of a gcc2
13478 builtin and then its argument prototype would still apply. */
13488 rm -f conftest.$ac_objext conftest$ac_exeext
13489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13490 (eval $ac_link) 2>conftest.er1
13492 grep -v '^ *+' conftest.er1 >conftest.err
13494 cat conftest.err >&5
13495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13496 (exit $ac_status); } &&
13497 { ac_try='test -z "$ac_c_werror_flag"
13498 || test ! -s conftest.err'
13499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13500 (eval $ac_try) 2>&5
13502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13503 (exit $ac_status); }; } &&
13504 { ac_try='test -s conftest$ac_exeext'
13505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13506 (eval $ac_try) 2>&5
13508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13509 (exit $ac_status); }; }; then
13510 ac_cv_lib_m_coshf=yes
13512 echo "$as_me: failed program was:" >&5
13513 sed 's/^/| /' conftest.$ac_ext >&5
13515 ac_cv_lib_m_coshf=no
13517 rm -f conftest.err conftest.$ac_objext \
13518 conftest$ac_exeext conftest.$ac_ext
13519 LIBS=$ac_check_lib_save_LIBS
13521 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
13522 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
13523 if test $ac_cv_lib_m_coshf = yes; then
13525 cat >>confdefs.h <<\_ACEOF
13526 #define HAVE_COSHF 1
13531 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
13532 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
13533 if test "${ac_cv_lib_m_cosh+set}" = set; then
13534 echo $ECHO_N "(cached) $ECHO_C" >&6
13536 ac_check_lib_save_LIBS=$LIBS
13538 if test x$gcc_no_link = xyes; then
13539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13541 { (exit 1); exit 1; }; }
13543 cat >conftest.$ac_ext <<_ACEOF
13546 cat confdefs.h >>conftest.$ac_ext
13547 cat >>conftest.$ac_ext <<_ACEOF
13548 /* end confdefs.h. */
13550 /* Override any gcc2 internal prototype to avoid an error. */
13554 /* We use char because int might match the return type of a gcc2
13555 builtin and then its argument prototype would still apply. */
13565 rm -f conftest.$ac_objext conftest$ac_exeext
13566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13567 (eval $ac_link) 2>conftest.er1
13569 grep -v '^ *+' conftest.er1 >conftest.err
13571 cat conftest.err >&5
13572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13573 (exit $ac_status); } &&
13574 { ac_try='test -z "$ac_c_werror_flag"
13575 || test ! -s conftest.err'
13576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13577 (eval $ac_try) 2>&5
13579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13580 (exit $ac_status); }; } &&
13581 { ac_try='test -s conftest$ac_exeext'
13582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13583 (eval $ac_try) 2>&5
13585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13586 (exit $ac_status); }; }; then
13587 ac_cv_lib_m_cosh=yes
13589 echo "$as_me: failed program was:" >&5
13590 sed 's/^/| /' conftest.$ac_ext >&5
13592 ac_cv_lib_m_cosh=no
13594 rm -f conftest.err conftest.$ac_objext \
13595 conftest$ac_exeext conftest.$ac_ext
13596 LIBS=$ac_check_lib_save_LIBS
13598 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
13599 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
13600 if test $ac_cv_lib_m_cosh = yes; then
13602 cat >>confdefs.h <<\_ACEOF
13603 #define HAVE_COSH 1
13608 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
13609 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
13610 if test "${ac_cv_lib_m_coshl+set}" = set; then
13611 echo $ECHO_N "(cached) $ECHO_C" >&6
13613 ac_check_lib_save_LIBS=$LIBS
13615 if test x$gcc_no_link = xyes; then
13616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13618 { (exit 1); exit 1; }; }
13620 cat >conftest.$ac_ext <<_ACEOF
13623 cat confdefs.h >>conftest.$ac_ext
13624 cat >>conftest.$ac_ext <<_ACEOF
13625 /* end confdefs.h. */
13627 /* Override any gcc2 internal prototype to avoid an error. */
13631 /* We use char because int might match the return type of a gcc2
13632 builtin and then its argument prototype would still apply. */
13642 rm -f conftest.$ac_objext conftest$ac_exeext
13643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13644 (eval $ac_link) 2>conftest.er1
13646 grep -v '^ *+' conftest.er1 >conftest.err
13648 cat conftest.err >&5
13649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13650 (exit $ac_status); } &&
13651 { ac_try='test -z "$ac_c_werror_flag"
13652 || test ! -s conftest.err'
13653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13654 (eval $ac_try) 2>&5
13656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13657 (exit $ac_status); }; } &&
13658 { ac_try='test -s conftest$ac_exeext'
13659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13660 (eval $ac_try) 2>&5
13662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13663 (exit $ac_status); }; }; then
13664 ac_cv_lib_m_coshl=yes
13666 echo "$as_me: failed program was:" >&5
13667 sed 's/^/| /' conftest.$ac_ext >&5
13669 ac_cv_lib_m_coshl=no
13671 rm -f conftest.err conftest.$ac_objext \
13672 conftest$ac_exeext conftest.$ac_ext
13673 LIBS=$ac_check_lib_save_LIBS
13675 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
13676 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
13677 if test $ac_cv_lib_m_coshl = yes; then
13679 cat >>confdefs.h <<\_ACEOF
13680 #define HAVE_COSHL 1
13685 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
13686 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
13687 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
13688 echo $ECHO_N "(cached) $ECHO_C" >&6
13690 ac_check_lib_save_LIBS=$LIBS
13692 if test x$gcc_no_link = xyes; then
13693 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13695 { (exit 1); exit 1; }; }
13697 cat >conftest.$ac_ext <<_ACEOF
13700 cat confdefs.h >>conftest.$ac_ext
13701 cat >>conftest.$ac_ext <<_ACEOF
13702 /* end confdefs.h. */
13704 /* Override any gcc2 internal prototype to avoid an error. */
13708 /* We use char because int might match the return type of a gcc2
13709 builtin and then its argument prototype would still apply. */
13719 rm -f conftest.$ac_objext conftest$ac_exeext
13720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13721 (eval $ac_link) 2>conftest.er1
13723 grep -v '^ *+' conftest.er1 >conftest.err
13725 cat conftest.err >&5
13726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13727 (exit $ac_status); } &&
13728 { ac_try='test -z "$ac_c_werror_flag"
13729 || test ! -s conftest.err'
13730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13731 (eval $ac_try) 2>&5
13733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13734 (exit $ac_status); }; } &&
13735 { ac_try='test -s conftest$ac_exeext'
13736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13737 (eval $ac_try) 2>&5
13739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13740 (exit $ac_status); }; }; then
13741 ac_cv_lib_m_ccoshf=yes
13743 echo "$as_me: failed program was:" >&5
13744 sed 's/^/| /' conftest.$ac_ext >&5
13746 ac_cv_lib_m_ccoshf=no
13748 rm -f conftest.err conftest.$ac_objext \
13749 conftest$ac_exeext conftest.$ac_ext
13750 LIBS=$ac_check_lib_save_LIBS
13752 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
13753 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
13754 if test $ac_cv_lib_m_ccoshf = yes; then
13756 cat >>confdefs.h <<\_ACEOF
13757 #define HAVE_CCOSHF 1
13762 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
13763 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
13764 if test "${ac_cv_lib_m_ccosh+set}" = set; then
13765 echo $ECHO_N "(cached) $ECHO_C" >&6
13767 ac_check_lib_save_LIBS=$LIBS
13769 if test x$gcc_no_link = xyes; then
13770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13772 { (exit 1); exit 1; }; }
13774 cat >conftest.$ac_ext <<_ACEOF
13777 cat confdefs.h >>conftest.$ac_ext
13778 cat >>conftest.$ac_ext <<_ACEOF
13779 /* end confdefs.h. */
13781 /* Override any gcc2 internal prototype to avoid an error. */
13785 /* We use char because int might match the return type of a gcc2
13786 builtin and then its argument prototype would still apply. */
13796 rm -f conftest.$ac_objext conftest$ac_exeext
13797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13798 (eval $ac_link) 2>conftest.er1
13800 grep -v '^ *+' conftest.er1 >conftest.err
13802 cat conftest.err >&5
13803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804 (exit $ac_status); } &&
13805 { ac_try='test -z "$ac_c_werror_flag"
13806 || test ! -s conftest.err'
13807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13808 (eval $ac_try) 2>&5
13810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13811 (exit $ac_status); }; } &&
13812 { ac_try='test -s conftest$ac_exeext'
13813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13814 (eval $ac_try) 2>&5
13816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817 (exit $ac_status); }; }; then
13818 ac_cv_lib_m_ccosh=yes
13820 echo "$as_me: failed program was:" >&5
13821 sed 's/^/| /' conftest.$ac_ext >&5
13823 ac_cv_lib_m_ccosh=no
13825 rm -f conftest.err conftest.$ac_objext \
13826 conftest$ac_exeext conftest.$ac_ext
13827 LIBS=$ac_check_lib_save_LIBS
13829 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
13830 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
13831 if test $ac_cv_lib_m_ccosh = yes; then
13833 cat >>confdefs.h <<\_ACEOF
13834 #define HAVE_CCOSH 1
13839 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
13840 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
13841 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
13842 echo $ECHO_N "(cached) $ECHO_C" >&6
13844 ac_check_lib_save_LIBS=$LIBS
13846 if test x$gcc_no_link = xyes; then
13847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13849 { (exit 1); exit 1; }; }
13851 cat >conftest.$ac_ext <<_ACEOF
13854 cat confdefs.h >>conftest.$ac_ext
13855 cat >>conftest.$ac_ext <<_ACEOF
13856 /* end confdefs.h. */
13858 /* Override any gcc2 internal prototype to avoid an error. */
13862 /* We use char because int might match the return type of a gcc2
13863 builtin and then its argument prototype would still apply. */
13873 rm -f conftest.$ac_objext conftest$ac_exeext
13874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13875 (eval $ac_link) 2>conftest.er1
13877 grep -v '^ *+' conftest.er1 >conftest.err
13879 cat conftest.err >&5
13880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13881 (exit $ac_status); } &&
13882 { ac_try='test -z "$ac_c_werror_flag"
13883 || test ! -s conftest.err'
13884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13885 (eval $ac_try) 2>&5
13887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13888 (exit $ac_status); }; } &&
13889 { ac_try='test -s conftest$ac_exeext'
13890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13891 (eval $ac_try) 2>&5
13893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13894 (exit $ac_status); }; }; then
13895 ac_cv_lib_m_ccoshl=yes
13897 echo "$as_me: failed program was:" >&5
13898 sed 's/^/| /' conftest.$ac_ext >&5
13900 ac_cv_lib_m_ccoshl=no
13902 rm -f conftest.err conftest.$ac_objext \
13903 conftest$ac_exeext conftest.$ac_ext
13904 LIBS=$ac_check_lib_save_LIBS
13906 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
13907 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
13908 if test $ac_cv_lib_m_ccoshl = yes; then
13910 cat >>confdefs.h <<\_ACEOF
13911 #define HAVE_CCOSHL 1
13916 echo "$as_me:$LINENO: checking for expf in -lm" >&5
13917 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
13918 if test "${ac_cv_lib_m_expf+set}" = set; then
13919 echo $ECHO_N "(cached) $ECHO_C" >&6
13921 ac_check_lib_save_LIBS=$LIBS
13923 if test x$gcc_no_link = xyes; then
13924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13926 { (exit 1); exit 1; }; }
13928 cat >conftest.$ac_ext <<_ACEOF
13931 cat confdefs.h >>conftest.$ac_ext
13932 cat >>conftest.$ac_ext <<_ACEOF
13933 /* end confdefs.h. */
13935 /* Override any gcc2 internal prototype to avoid an error. */
13939 /* We use char because int might match the return type of a gcc2
13940 builtin and then its argument prototype would still apply. */
13950 rm -f conftest.$ac_objext conftest$ac_exeext
13951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13952 (eval $ac_link) 2>conftest.er1
13954 grep -v '^ *+' conftest.er1 >conftest.err
13956 cat conftest.err >&5
13957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13958 (exit $ac_status); } &&
13959 { ac_try='test -z "$ac_c_werror_flag"
13960 || test ! -s conftest.err'
13961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13962 (eval $ac_try) 2>&5
13964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965 (exit $ac_status); }; } &&
13966 { ac_try='test -s conftest$ac_exeext'
13967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13968 (eval $ac_try) 2>&5
13970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13971 (exit $ac_status); }; }; then
13972 ac_cv_lib_m_expf=yes
13974 echo "$as_me: failed program was:" >&5
13975 sed 's/^/| /' conftest.$ac_ext >&5
13977 ac_cv_lib_m_expf=no
13979 rm -f conftest.err conftest.$ac_objext \
13980 conftest$ac_exeext conftest.$ac_ext
13981 LIBS=$ac_check_lib_save_LIBS
13983 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
13984 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
13985 if test $ac_cv_lib_m_expf = yes; then
13987 cat >>confdefs.h <<\_ACEOF
13988 #define HAVE_EXPF 1
13993 echo "$as_me:$LINENO: checking for exp in -lm" >&5
13994 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
13995 if test "${ac_cv_lib_m_exp+set}" = set; then
13996 echo $ECHO_N "(cached) $ECHO_C" >&6
13998 ac_check_lib_save_LIBS=$LIBS
14000 if test x$gcc_no_link = xyes; then
14001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14003 { (exit 1); exit 1; }; }
14005 cat >conftest.$ac_ext <<_ACEOF
14008 cat confdefs.h >>conftest.$ac_ext
14009 cat >>conftest.$ac_ext <<_ACEOF
14010 /* end confdefs.h. */
14012 /* Override any gcc2 internal prototype to avoid an error. */
14016 /* We use char because int might match the return type of a gcc2
14017 builtin and then its argument prototype would still apply. */
14027 rm -f conftest.$ac_objext conftest$ac_exeext
14028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14029 (eval $ac_link) 2>conftest.er1
14031 grep -v '^ *+' conftest.er1 >conftest.err
14033 cat conftest.err >&5
14034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14035 (exit $ac_status); } &&
14036 { ac_try='test -z "$ac_c_werror_flag"
14037 || test ! -s conftest.err'
14038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14039 (eval $ac_try) 2>&5
14041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14042 (exit $ac_status); }; } &&
14043 { ac_try='test -s conftest$ac_exeext'
14044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14045 (eval $ac_try) 2>&5
14047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14048 (exit $ac_status); }; }; then
14049 ac_cv_lib_m_exp=yes
14051 echo "$as_me: failed program was:" >&5
14052 sed 's/^/| /' conftest.$ac_ext >&5
14056 rm -f conftest.err conftest.$ac_objext \
14057 conftest$ac_exeext conftest.$ac_ext
14058 LIBS=$ac_check_lib_save_LIBS
14060 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
14061 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
14062 if test $ac_cv_lib_m_exp = yes; then
14064 cat >>confdefs.h <<\_ACEOF
14070 echo "$as_me:$LINENO: checking for expl in -lm" >&5
14071 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
14072 if test "${ac_cv_lib_m_expl+set}" = set; then
14073 echo $ECHO_N "(cached) $ECHO_C" >&6
14075 ac_check_lib_save_LIBS=$LIBS
14077 if test x$gcc_no_link = xyes; then
14078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14080 { (exit 1); exit 1; }; }
14082 cat >conftest.$ac_ext <<_ACEOF
14085 cat confdefs.h >>conftest.$ac_ext
14086 cat >>conftest.$ac_ext <<_ACEOF
14087 /* end confdefs.h. */
14089 /* Override any gcc2 internal prototype to avoid an error. */
14093 /* We use char because int might match the return type of a gcc2
14094 builtin and then its argument prototype would still apply. */
14104 rm -f conftest.$ac_objext conftest$ac_exeext
14105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14106 (eval $ac_link) 2>conftest.er1
14108 grep -v '^ *+' conftest.er1 >conftest.err
14110 cat conftest.err >&5
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); } &&
14113 { ac_try='test -z "$ac_c_werror_flag"
14114 || test ! -s conftest.err'
14115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14116 (eval $ac_try) 2>&5
14118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14119 (exit $ac_status); }; } &&
14120 { ac_try='test -s conftest$ac_exeext'
14121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14122 (eval $ac_try) 2>&5
14124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14125 (exit $ac_status); }; }; then
14126 ac_cv_lib_m_expl=yes
14128 echo "$as_me: failed program was:" >&5
14129 sed 's/^/| /' conftest.$ac_ext >&5
14131 ac_cv_lib_m_expl=no
14133 rm -f conftest.err conftest.$ac_objext \
14134 conftest$ac_exeext conftest.$ac_ext
14135 LIBS=$ac_check_lib_save_LIBS
14137 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
14138 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
14139 if test $ac_cv_lib_m_expl = yes; then
14141 cat >>confdefs.h <<\_ACEOF
14142 #define HAVE_EXPL 1
14147 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
14148 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
14149 if test "${ac_cv_lib_m_cexpf+set}" = set; then
14150 echo $ECHO_N "(cached) $ECHO_C" >&6
14152 ac_check_lib_save_LIBS=$LIBS
14154 if test x$gcc_no_link = xyes; then
14155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14157 { (exit 1); exit 1; }; }
14159 cat >conftest.$ac_ext <<_ACEOF
14162 cat confdefs.h >>conftest.$ac_ext
14163 cat >>conftest.$ac_ext <<_ACEOF
14164 /* end confdefs.h. */
14166 /* Override any gcc2 internal prototype to avoid an error. */
14170 /* We use char because int might match the return type of a gcc2
14171 builtin and then its argument prototype would still apply. */
14181 rm -f conftest.$ac_objext conftest$ac_exeext
14182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14183 (eval $ac_link) 2>conftest.er1
14185 grep -v '^ *+' conftest.er1 >conftest.err
14187 cat conftest.err >&5
14188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14189 (exit $ac_status); } &&
14190 { ac_try='test -z "$ac_c_werror_flag"
14191 || test ! -s conftest.err'
14192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14193 (eval $ac_try) 2>&5
14195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14196 (exit $ac_status); }; } &&
14197 { ac_try='test -s conftest$ac_exeext'
14198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14199 (eval $ac_try) 2>&5
14201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14202 (exit $ac_status); }; }; then
14203 ac_cv_lib_m_cexpf=yes
14205 echo "$as_me: failed program was:" >&5
14206 sed 's/^/| /' conftest.$ac_ext >&5
14208 ac_cv_lib_m_cexpf=no
14210 rm -f conftest.err conftest.$ac_objext \
14211 conftest$ac_exeext conftest.$ac_ext
14212 LIBS=$ac_check_lib_save_LIBS
14214 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
14215 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
14216 if test $ac_cv_lib_m_cexpf = yes; then
14218 cat >>confdefs.h <<\_ACEOF
14219 #define HAVE_CEXPF 1
14224 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
14225 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
14226 if test "${ac_cv_lib_m_cexp+set}" = set; then
14227 echo $ECHO_N "(cached) $ECHO_C" >&6
14229 ac_check_lib_save_LIBS=$LIBS
14231 if test x$gcc_no_link = xyes; then
14232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14234 { (exit 1); exit 1; }; }
14236 cat >conftest.$ac_ext <<_ACEOF
14239 cat confdefs.h >>conftest.$ac_ext
14240 cat >>conftest.$ac_ext <<_ACEOF
14241 /* end confdefs.h. */
14243 /* Override any gcc2 internal prototype to avoid an error. */
14247 /* We use char because int might match the return type of a gcc2
14248 builtin and then its argument prototype would still apply. */
14258 rm -f conftest.$ac_objext conftest$ac_exeext
14259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14260 (eval $ac_link) 2>conftest.er1
14262 grep -v '^ *+' conftest.er1 >conftest.err
14264 cat conftest.err >&5
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); } &&
14267 { ac_try='test -z "$ac_c_werror_flag"
14268 || test ! -s conftest.err'
14269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14270 (eval $ac_try) 2>&5
14272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14273 (exit $ac_status); }; } &&
14274 { ac_try='test -s conftest$ac_exeext'
14275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14276 (eval $ac_try) 2>&5
14278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279 (exit $ac_status); }; }; then
14280 ac_cv_lib_m_cexp=yes
14282 echo "$as_me: failed program was:" >&5
14283 sed 's/^/| /' conftest.$ac_ext >&5
14285 ac_cv_lib_m_cexp=no
14287 rm -f conftest.err conftest.$ac_objext \
14288 conftest$ac_exeext conftest.$ac_ext
14289 LIBS=$ac_check_lib_save_LIBS
14291 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
14292 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
14293 if test $ac_cv_lib_m_cexp = yes; then
14295 cat >>confdefs.h <<\_ACEOF
14296 #define HAVE_CEXP 1
14301 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
14302 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
14303 if test "${ac_cv_lib_m_cexpl+set}" = set; then
14304 echo $ECHO_N "(cached) $ECHO_C" >&6
14306 ac_check_lib_save_LIBS=$LIBS
14308 if test x$gcc_no_link = xyes; then
14309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14311 { (exit 1); exit 1; }; }
14313 cat >conftest.$ac_ext <<_ACEOF
14316 cat confdefs.h >>conftest.$ac_ext
14317 cat >>conftest.$ac_ext <<_ACEOF
14318 /* end confdefs.h. */
14320 /* Override any gcc2 internal prototype to avoid an error. */
14324 /* We use char because int might match the return type of a gcc2
14325 builtin and then its argument prototype would still apply. */
14335 rm -f conftest.$ac_objext conftest$ac_exeext
14336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14337 (eval $ac_link) 2>conftest.er1
14339 grep -v '^ *+' conftest.er1 >conftest.err
14341 cat conftest.err >&5
14342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14343 (exit $ac_status); } &&
14344 { ac_try='test -z "$ac_c_werror_flag"
14345 || test ! -s conftest.err'
14346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14347 (eval $ac_try) 2>&5
14349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14350 (exit $ac_status); }; } &&
14351 { ac_try='test -s conftest$ac_exeext'
14352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14353 (eval $ac_try) 2>&5
14355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14356 (exit $ac_status); }; }; then
14357 ac_cv_lib_m_cexpl=yes
14359 echo "$as_me: failed program was:" >&5
14360 sed 's/^/| /' conftest.$ac_ext >&5
14362 ac_cv_lib_m_cexpl=no
14364 rm -f conftest.err conftest.$ac_objext \
14365 conftest$ac_exeext conftest.$ac_ext
14366 LIBS=$ac_check_lib_save_LIBS
14368 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
14369 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
14370 if test $ac_cv_lib_m_cexpl = yes; then
14372 cat >>confdefs.h <<\_ACEOF
14373 #define HAVE_CEXPL 1
14378 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
14379 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
14380 if test "${ac_cv_lib_m_fabsf+set}" = set; then
14381 echo $ECHO_N "(cached) $ECHO_C" >&6
14383 ac_check_lib_save_LIBS=$LIBS
14385 if test x$gcc_no_link = xyes; then
14386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14388 { (exit 1); exit 1; }; }
14390 cat >conftest.$ac_ext <<_ACEOF
14393 cat confdefs.h >>conftest.$ac_ext
14394 cat >>conftest.$ac_ext <<_ACEOF
14395 /* end confdefs.h. */
14397 /* Override any gcc2 internal prototype to avoid an error. */
14401 /* We use char because int might match the return type of a gcc2
14402 builtin and then its argument prototype would still apply. */
14412 rm -f conftest.$ac_objext conftest$ac_exeext
14413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14414 (eval $ac_link) 2>conftest.er1
14416 grep -v '^ *+' conftest.er1 >conftest.err
14418 cat conftest.err >&5
14419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14420 (exit $ac_status); } &&
14421 { ac_try='test -z "$ac_c_werror_flag"
14422 || test ! -s conftest.err'
14423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14424 (eval $ac_try) 2>&5
14426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14427 (exit $ac_status); }; } &&
14428 { ac_try='test -s conftest$ac_exeext'
14429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14430 (eval $ac_try) 2>&5
14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433 (exit $ac_status); }; }; then
14434 ac_cv_lib_m_fabsf=yes
14436 echo "$as_me: failed program was:" >&5
14437 sed 's/^/| /' conftest.$ac_ext >&5
14439 ac_cv_lib_m_fabsf=no
14441 rm -f conftest.err conftest.$ac_objext \
14442 conftest$ac_exeext conftest.$ac_ext
14443 LIBS=$ac_check_lib_save_LIBS
14445 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
14446 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
14447 if test $ac_cv_lib_m_fabsf = yes; then
14449 cat >>confdefs.h <<\_ACEOF
14450 #define HAVE_FABSF 1
14455 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
14456 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
14457 if test "${ac_cv_lib_m_fabs+set}" = set; then
14458 echo $ECHO_N "(cached) $ECHO_C" >&6
14460 ac_check_lib_save_LIBS=$LIBS
14462 if test x$gcc_no_link = xyes; then
14463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14465 { (exit 1); exit 1; }; }
14467 cat >conftest.$ac_ext <<_ACEOF
14470 cat confdefs.h >>conftest.$ac_ext
14471 cat >>conftest.$ac_ext <<_ACEOF
14472 /* end confdefs.h. */
14474 /* Override any gcc2 internal prototype to avoid an error. */
14478 /* We use char because int might match the return type of a gcc2
14479 builtin and then its argument prototype would still apply. */
14489 rm -f conftest.$ac_objext conftest$ac_exeext
14490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14491 (eval $ac_link) 2>conftest.er1
14493 grep -v '^ *+' conftest.er1 >conftest.err
14495 cat conftest.err >&5
14496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14497 (exit $ac_status); } &&
14498 { ac_try='test -z "$ac_c_werror_flag"
14499 || test ! -s conftest.err'
14500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14501 (eval $ac_try) 2>&5
14503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14504 (exit $ac_status); }; } &&
14505 { ac_try='test -s conftest$ac_exeext'
14506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14507 (eval $ac_try) 2>&5
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); }; }; then
14511 ac_cv_lib_m_fabs=yes
14513 echo "$as_me: failed program was:" >&5
14514 sed 's/^/| /' conftest.$ac_ext >&5
14516 ac_cv_lib_m_fabs=no
14518 rm -f conftest.err conftest.$ac_objext \
14519 conftest$ac_exeext conftest.$ac_ext
14520 LIBS=$ac_check_lib_save_LIBS
14522 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
14523 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
14524 if test $ac_cv_lib_m_fabs = yes; then
14526 cat >>confdefs.h <<\_ACEOF
14527 #define HAVE_FABS 1
14532 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
14533 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
14534 if test "${ac_cv_lib_m_fabsl+set}" = set; then
14535 echo $ECHO_N "(cached) $ECHO_C" >&6
14537 ac_check_lib_save_LIBS=$LIBS
14539 if test x$gcc_no_link = xyes; then
14540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14542 { (exit 1); exit 1; }; }
14544 cat >conftest.$ac_ext <<_ACEOF
14547 cat confdefs.h >>conftest.$ac_ext
14548 cat >>conftest.$ac_ext <<_ACEOF
14549 /* end confdefs.h. */
14551 /* Override any gcc2 internal prototype to avoid an error. */
14555 /* We use char because int might match the return type of a gcc2
14556 builtin and then its argument prototype would still apply. */
14566 rm -f conftest.$ac_objext conftest$ac_exeext
14567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14568 (eval $ac_link) 2>conftest.er1
14570 grep -v '^ *+' conftest.er1 >conftest.err
14572 cat conftest.err >&5
14573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14574 (exit $ac_status); } &&
14575 { ac_try='test -z "$ac_c_werror_flag"
14576 || test ! -s conftest.err'
14577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14578 (eval $ac_try) 2>&5
14580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14581 (exit $ac_status); }; } &&
14582 { ac_try='test -s conftest$ac_exeext'
14583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14584 (eval $ac_try) 2>&5
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); }; }; then
14588 ac_cv_lib_m_fabsl=yes
14590 echo "$as_me: failed program was:" >&5
14591 sed 's/^/| /' conftest.$ac_ext >&5
14593 ac_cv_lib_m_fabsl=no
14595 rm -f conftest.err conftest.$ac_objext \
14596 conftest$ac_exeext conftest.$ac_ext
14597 LIBS=$ac_check_lib_save_LIBS
14599 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
14600 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
14601 if test $ac_cv_lib_m_fabsl = yes; then
14603 cat >>confdefs.h <<\_ACEOF
14604 #define HAVE_FABSL 1
14609 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
14610 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
14611 if test "${ac_cv_lib_m_cabsf+set}" = set; then
14612 echo $ECHO_N "(cached) $ECHO_C" >&6
14614 ac_check_lib_save_LIBS=$LIBS
14616 if test x$gcc_no_link = xyes; then
14617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14619 { (exit 1); exit 1; }; }
14621 cat >conftest.$ac_ext <<_ACEOF
14624 cat confdefs.h >>conftest.$ac_ext
14625 cat >>conftest.$ac_ext <<_ACEOF
14626 /* end confdefs.h. */
14628 /* Override any gcc2 internal prototype to avoid an error. */
14632 /* We use char because int might match the return type of a gcc2
14633 builtin and then its argument prototype would still apply. */
14643 rm -f conftest.$ac_objext conftest$ac_exeext
14644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14645 (eval $ac_link) 2>conftest.er1
14647 grep -v '^ *+' conftest.er1 >conftest.err
14649 cat conftest.err >&5
14650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14651 (exit $ac_status); } &&
14652 { ac_try='test -z "$ac_c_werror_flag"
14653 || test ! -s conftest.err'
14654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14655 (eval $ac_try) 2>&5
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); }; } &&
14659 { ac_try='test -s conftest$ac_exeext'
14660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14661 (eval $ac_try) 2>&5
14663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664 (exit $ac_status); }; }; then
14665 ac_cv_lib_m_cabsf=yes
14667 echo "$as_me: failed program was:" >&5
14668 sed 's/^/| /' conftest.$ac_ext >&5
14670 ac_cv_lib_m_cabsf=no
14672 rm -f conftest.err conftest.$ac_objext \
14673 conftest$ac_exeext conftest.$ac_ext
14674 LIBS=$ac_check_lib_save_LIBS
14676 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
14677 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
14678 if test $ac_cv_lib_m_cabsf = yes; then
14680 cat >>confdefs.h <<\_ACEOF
14681 #define HAVE_CABSF 1
14686 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
14687 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
14688 if test "${ac_cv_lib_m_cabs+set}" = set; then
14689 echo $ECHO_N "(cached) $ECHO_C" >&6
14691 ac_check_lib_save_LIBS=$LIBS
14693 if test x$gcc_no_link = xyes; then
14694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14696 { (exit 1); exit 1; }; }
14698 cat >conftest.$ac_ext <<_ACEOF
14701 cat confdefs.h >>conftest.$ac_ext
14702 cat >>conftest.$ac_ext <<_ACEOF
14703 /* end confdefs.h. */
14705 /* Override any gcc2 internal prototype to avoid an error. */
14709 /* We use char because int might match the return type of a gcc2
14710 builtin and then its argument prototype would still apply. */
14720 rm -f conftest.$ac_objext conftest$ac_exeext
14721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14722 (eval $ac_link) 2>conftest.er1
14724 grep -v '^ *+' conftest.er1 >conftest.err
14726 cat conftest.err >&5
14727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14728 (exit $ac_status); } &&
14729 { ac_try='test -z "$ac_c_werror_flag"
14730 || test ! -s conftest.err'
14731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14732 (eval $ac_try) 2>&5
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); }; } &&
14736 { ac_try='test -s conftest$ac_exeext'
14737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14738 (eval $ac_try) 2>&5
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); }; }; then
14742 ac_cv_lib_m_cabs=yes
14744 echo "$as_me: failed program was:" >&5
14745 sed 's/^/| /' conftest.$ac_ext >&5
14747 ac_cv_lib_m_cabs=no
14749 rm -f conftest.err conftest.$ac_objext \
14750 conftest$ac_exeext conftest.$ac_ext
14751 LIBS=$ac_check_lib_save_LIBS
14753 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
14754 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
14755 if test $ac_cv_lib_m_cabs = yes; then
14757 cat >>confdefs.h <<\_ACEOF
14758 #define HAVE_CABS 1
14763 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
14764 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
14765 if test "${ac_cv_lib_m_cabsl+set}" = set; then
14766 echo $ECHO_N "(cached) $ECHO_C" >&6
14768 ac_check_lib_save_LIBS=$LIBS
14770 if test x$gcc_no_link = xyes; then
14771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14773 { (exit 1); exit 1; }; }
14775 cat >conftest.$ac_ext <<_ACEOF
14778 cat confdefs.h >>conftest.$ac_ext
14779 cat >>conftest.$ac_ext <<_ACEOF
14780 /* end confdefs.h. */
14782 /* Override any gcc2 internal prototype to avoid an error. */
14786 /* We use char because int might match the return type of a gcc2
14787 builtin and then its argument prototype would still apply. */
14797 rm -f conftest.$ac_objext conftest$ac_exeext
14798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14799 (eval $ac_link) 2>conftest.er1
14801 grep -v '^ *+' conftest.er1 >conftest.err
14803 cat conftest.err >&5
14804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14805 (exit $ac_status); } &&
14806 { ac_try='test -z "$ac_c_werror_flag"
14807 || test ! -s conftest.err'
14808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14809 (eval $ac_try) 2>&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); }; } &&
14813 { ac_try='test -s conftest$ac_exeext'
14814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14815 (eval $ac_try) 2>&5
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); }; }; then
14819 ac_cv_lib_m_cabsl=yes
14821 echo "$as_me: failed program was:" >&5
14822 sed 's/^/| /' conftest.$ac_ext >&5
14824 ac_cv_lib_m_cabsl=no
14826 rm -f conftest.err conftest.$ac_objext \
14827 conftest$ac_exeext conftest.$ac_ext
14828 LIBS=$ac_check_lib_save_LIBS
14830 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
14831 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
14832 if test $ac_cv_lib_m_cabsl = yes; then
14834 cat >>confdefs.h <<\_ACEOF
14835 #define HAVE_CABSL 1
14840 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
14841 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
14842 if test "${ac_cv_lib_m_floorf+set}" = set; then
14843 echo $ECHO_N "(cached) $ECHO_C" >&6
14845 ac_check_lib_save_LIBS=$LIBS
14847 if test x$gcc_no_link = xyes; then
14848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14850 { (exit 1); exit 1; }; }
14852 cat >conftest.$ac_ext <<_ACEOF
14855 cat confdefs.h >>conftest.$ac_ext
14856 cat >>conftest.$ac_ext <<_ACEOF
14857 /* end confdefs.h. */
14859 /* Override any gcc2 internal prototype to avoid an error. */
14863 /* We use char because int might match the return type of a gcc2
14864 builtin and then its argument prototype would still apply. */
14874 rm -f conftest.$ac_objext conftest$ac_exeext
14875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14876 (eval $ac_link) 2>conftest.er1
14878 grep -v '^ *+' conftest.er1 >conftest.err
14880 cat conftest.err >&5
14881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14882 (exit $ac_status); } &&
14883 { ac_try='test -z "$ac_c_werror_flag"
14884 || test ! -s conftest.err'
14885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14886 (eval $ac_try) 2>&5
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); }; } &&
14890 { ac_try='test -s conftest$ac_exeext'
14891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14892 (eval $ac_try) 2>&5
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); }; }; then
14896 ac_cv_lib_m_floorf=yes
14898 echo "$as_me: failed program was:" >&5
14899 sed 's/^/| /' conftest.$ac_ext >&5
14901 ac_cv_lib_m_floorf=no
14903 rm -f conftest.err conftest.$ac_objext \
14904 conftest$ac_exeext conftest.$ac_ext
14905 LIBS=$ac_check_lib_save_LIBS
14907 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
14908 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
14909 if test $ac_cv_lib_m_floorf = yes; then
14911 cat >>confdefs.h <<\_ACEOF
14912 #define HAVE_FLOORF 1
14917 echo "$as_me:$LINENO: checking for floor in -lm" >&5
14918 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
14919 if test "${ac_cv_lib_m_floor+set}" = set; then
14920 echo $ECHO_N "(cached) $ECHO_C" >&6
14922 ac_check_lib_save_LIBS=$LIBS
14924 if test x$gcc_no_link = xyes; then
14925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14927 { (exit 1); exit 1; }; }
14929 cat >conftest.$ac_ext <<_ACEOF
14932 cat confdefs.h >>conftest.$ac_ext
14933 cat >>conftest.$ac_ext <<_ACEOF
14934 /* end confdefs.h. */
14936 /* Override any gcc2 internal prototype to avoid an error. */
14940 /* We use char because int might match the return type of a gcc2
14941 builtin and then its argument prototype would still apply. */
14951 rm -f conftest.$ac_objext conftest$ac_exeext
14952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14953 (eval $ac_link) 2>conftest.er1
14955 grep -v '^ *+' conftest.er1 >conftest.err
14957 cat conftest.err >&5
14958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14959 (exit $ac_status); } &&
14960 { ac_try='test -z "$ac_c_werror_flag"
14961 || test ! -s conftest.err'
14962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14963 (eval $ac_try) 2>&5
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); }; } &&
14967 { ac_try='test -s conftest$ac_exeext'
14968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14969 (eval $ac_try) 2>&5
14971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972 (exit $ac_status); }; }; then
14973 ac_cv_lib_m_floor=yes
14975 echo "$as_me: failed program was:" >&5
14976 sed 's/^/| /' conftest.$ac_ext >&5
14978 ac_cv_lib_m_floor=no
14980 rm -f conftest.err conftest.$ac_objext \
14981 conftest$ac_exeext conftest.$ac_ext
14982 LIBS=$ac_check_lib_save_LIBS
14984 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
14985 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
14986 if test $ac_cv_lib_m_floor = yes; then
14988 cat >>confdefs.h <<\_ACEOF
14989 #define HAVE_FLOOR 1
14994 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
14995 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
14996 if test "${ac_cv_lib_m_floorl+set}" = set; then
14997 echo $ECHO_N "(cached) $ECHO_C" >&6
14999 ac_check_lib_save_LIBS=$LIBS
15001 if test x$gcc_no_link = xyes; then
15002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15004 { (exit 1); exit 1; }; }
15006 cat >conftest.$ac_ext <<_ACEOF
15009 cat confdefs.h >>conftest.$ac_ext
15010 cat >>conftest.$ac_ext <<_ACEOF
15011 /* end confdefs.h. */
15013 /* Override any gcc2 internal prototype to avoid an error. */
15017 /* We use char because int might match the return type of a gcc2
15018 builtin and then its argument prototype would still apply. */
15028 rm -f conftest.$ac_objext conftest$ac_exeext
15029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15030 (eval $ac_link) 2>conftest.er1
15032 grep -v '^ *+' conftest.er1 >conftest.err
15034 cat conftest.err >&5
15035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036 (exit $ac_status); } &&
15037 { ac_try='test -z "$ac_c_werror_flag"
15038 || test ! -s conftest.err'
15039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15040 (eval $ac_try) 2>&5
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); }; } &&
15044 { ac_try='test -s conftest$ac_exeext'
15045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15046 (eval $ac_try) 2>&5
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); }; }; then
15050 ac_cv_lib_m_floorl=yes
15052 echo "$as_me: failed program was:" >&5
15053 sed 's/^/| /' conftest.$ac_ext >&5
15055 ac_cv_lib_m_floorl=no
15057 rm -f conftest.err conftest.$ac_objext \
15058 conftest$ac_exeext conftest.$ac_ext
15059 LIBS=$ac_check_lib_save_LIBS
15061 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
15062 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
15063 if test $ac_cv_lib_m_floorl = yes; then
15065 cat >>confdefs.h <<\_ACEOF
15066 #define HAVE_FLOORL 1
15071 echo "$as_me:$LINENO: checking for fmodf in -lm" >&5
15072 echo $ECHO_N "checking for fmodf in -lm... $ECHO_C" >&6
15073 if test "${ac_cv_lib_m_fmodf+set}" = set; then
15074 echo $ECHO_N "(cached) $ECHO_C" >&6
15076 ac_check_lib_save_LIBS=$LIBS
15078 if test x$gcc_no_link = xyes; then
15079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15081 { (exit 1); exit 1; }; }
15083 cat >conftest.$ac_ext <<_ACEOF
15086 cat confdefs.h >>conftest.$ac_ext
15087 cat >>conftest.$ac_ext <<_ACEOF
15088 /* end confdefs.h. */
15090 /* Override any gcc2 internal prototype to avoid an error. */
15094 /* We use char because int might match the return type of a gcc2
15095 builtin and then its argument prototype would still apply. */
15105 rm -f conftest.$ac_objext conftest$ac_exeext
15106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15107 (eval $ac_link) 2>conftest.er1
15109 grep -v '^ *+' conftest.er1 >conftest.err
15111 cat conftest.err >&5
15112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15113 (exit $ac_status); } &&
15114 { ac_try='test -z "$ac_c_werror_flag"
15115 || test ! -s conftest.err'
15116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15117 (eval $ac_try) 2>&5
15119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15120 (exit $ac_status); }; } &&
15121 { ac_try='test -s conftest$ac_exeext'
15122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15123 (eval $ac_try) 2>&5
15125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15126 (exit $ac_status); }; }; then
15127 ac_cv_lib_m_fmodf=yes
15129 echo "$as_me: failed program was:" >&5
15130 sed 's/^/| /' conftest.$ac_ext >&5
15132 ac_cv_lib_m_fmodf=no
15134 rm -f conftest.err conftest.$ac_objext \
15135 conftest$ac_exeext conftest.$ac_ext
15136 LIBS=$ac_check_lib_save_LIBS
15138 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodf" >&5
15139 echo "${ECHO_T}$ac_cv_lib_m_fmodf" >&6
15140 if test $ac_cv_lib_m_fmodf = yes; then
15142 cat >>confdefs.h <<\_ACEOF
15143 #define HAVE_FMODF 1
15148 echo "$as_me:$LINENO: checking for fmod in -lm" >&5
15149 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6
15150 if test "${ac_cv_lib_m_fmod+set}" = set; then
15151 echo $ECHO_N "(cached) $ECHO_C" >&6
15153 ac_check_lib_save_LIBS=$LIBS
15155 if test x$gcc_no_link = xyes; then
15156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15158 { (exit 1); exit 1; }; }
15160 cat >conftest.$ac_ext <<_ACEOF
15163 cat confdefs.h >>conftest.$ac_ext
15164 cat >>conftest.$ac_ext <<_ACEOF
15165 /* end confdefs.h. */
15167 /* Override any gcc2 internal prototype to avoid an error. */
15171 /* We use char because int might match the return type of a gcc2
15172 builtin and then its argument prototype would still apply. */
15182 rm -f conftest.$ac_objext conftest$ac_exeext
15183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15184 (eval $ac_link) 2>conftest.er1
15186 grep -v '^ *+' conftest.er1 >conftest.err
15188 cat conftest.err >&5
15189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15190 (exit $ac_status); } &&
15191 { ac_try='test -z "$ac_c_werror_flag"
15192 || test ! -s conftest.err'
15193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15194 (eval $ac_try) 2>&5
15196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15197 (exit $ac_status); }; } &&
15198 { ac_try='test -s conftest$ac_exeext'
15199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15200 (eval $ac_try) 2>&5
15202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15203 (exit $ac_status); }; }; then
15204 ac_cv_lib_m_fmod=yes
15206 echo "$as_me: failed program was:" >&5
15207 sed 's/^/| /' conftest.$ac_ext >&5
15209 ac_cv_lib_m_fmod=no
15211 rm -f conftest.err conftest.$ac_objext \
15212 conftest$ac_exeext conftest.$ac_ext
15213 LIBS=$ac_check_lib_save_LIBS
15215 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
15216 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6
15217 if test $ac_cv_lib_m_fmod = yes; then
15219 cat >>confdefs.h <<\_ACEOF
15220 #define HAVE_FMOD 1
15225 echo "$as_me:$LINENO: checking for fmodl in -lm" >&5
15226 echo $ECHO_N "checking for fmodl in -lm... $ECHO_C" >&6
15227 if test "${ac_cv_lib_m_fmodl+set}" = set; then
15228 echo $ECHO_N "(cached) $ECHO_C" >&6
15230 ac_check_lib_save_LIBS=$LIBS
15232 if test x$gcc_no_link = xyes; then
15233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15235 { (exit 1); exit 1; }; }
15237 cat >conftest.$ac_ext <<_ACEOF
15240 cat confdefs.h >>conftest.$ac_ext
15241 cat >>conftest.$ac_ext <<_ACEOF
15242 /* end confdefs.h. */
15244 /* Override any gcc2 internal prototype to avoid an error. */
15248 /* We use char because int might match the return type of a gcc2
15249 builtin and then its argument prototype would still apply. */
15259 rm -f conftest.$ac_objext conftest$ac_exeext
15260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15261 (eval $ac_link) 2>conftest.er1
15263 grep -v '^ *+' conftest.er1 >conftest.err
15265 cat conftest.err >&5
15266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267 (exit $ac_status); } &&
15268 { ac_try='test -z "$ac_c_werror_flag"
15269 || test ! -s conftest.err'
15270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15271 (eval $ac_try) 2>&5
15273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15274 (exit $ac_status); }; } &&
15275 { ac_try='test -s conftest$ac_exeext'
15276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15277 (eval $ac_try) 2>&5
15279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15280 (exit $ac_status); }; }; then
15281 ac_cv_lib_m_fmodl=yes
15283 echo "$as_me: failed program was:" >&5
15284 sed 's/^/| /' conftest.$ac_ext >&5
15286 ac_cv_lib_m_fmodl=no
15288 rm -f conftest.err conftest.$ac_objext \
15289 conftest$ac_exeext conftest.$ac_ext
15290 LIBS=$ac_check_lib_save_LIBS
15292 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodl" >&5
15293 echo "${ECHO_T}$ac_cv_lib_m_fmodl" >&6
15294 if test $ac_cv_lib_m_fmodl = yes; then
15296 cat >>confdefs.h <<\_ACEOF
15297 #define HAVE_FMODL 1
15302 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
15303 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
15304 if test "${ac_cv_lib_m_frexpf+set}" = set; then
15305 echo $ECHO_N "(cached) $ECHO_C" >&6
15307 ac_check_lib_save_LIBS=$LIBS
15309 if test x$gcc_no_link = xyes; then
15310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15312 { (exit 1); exit 1; }; }
15314 cat >conftest.$ac_ext <<_ACEOF
15317 cat confdefs.h >>conftest.$ac_ext
15318 cat >>conftest.$ac_ext <<_ACEOF
15319 /* end confdefs.h. */
15321 /* Override any gcc2 internal prototype to avoid an error. */
15325 /* We use char because int might match the return type of a gcc2
15326 builtin and then its argument prototype would still apply. */
15336 rm -f conftest.$ac_objext conftest$ac_exeext
15337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15338 (eval $ac_link) 2>conftest.er1
15340 grep -v '^ *+' conftest.er1 >conftest.err
15342 cat conftest.err >&5
15343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15344 (exit $ac_status); } &&
15345 { ac_try='test -z "$ac_c_werror_flag"
15346 || test ! -s conftest.err'
15347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15348 (eval $ac_try) 2>&5
15350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351 (exit $ac_status); }; } &&
15352 { ac_try='test -s conftest$ac_exeext'
15353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15354 (eval $ac_try) 2>&5
15356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15357 (exit $ac_status); }; }; then
15358 ac_cv_lib_m_frexpf=yes
15360 echo "$as_me: failed program was:" >&5
15361 sed 's/^/| /' conftest.$ac_ext >&5
15363 ac_cv_lib_m_frexpf=no
15365 rm -f conftest.err conftest.$ac_objext \
15366 conftest$ac_exeext conftest.$ac_ext
15367 LIBS=$ac_check_lib_save_LIBS
15369 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
15370 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
15371 if test $ac_cv_lib_m_frexpf = yes; then
15373 cat >>confdefs.h <<\_ACEOF
15374 #define HAVE_FREXPF 1
15379 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
15380 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
15381 if test "${ac_cv_lib_m_frexp+set}" = set; then
15382 echo $ECHO_N "(cached) $ECHO_C" >&6
15384 ac_check_lib_save_LIBS=$LIBS
15386 if test x$gcc_no_link = xyes; then
15387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15389 { (exit 1); exit 1; }; }
15391 cat >conftest.$ac_ext <<_ACEOF
15394 cat confdefs.h >>conftest.$ac_ext
15395 cat >>conftest.$ac_ext <<_ACEOF
15396 /* end confdefs.h. */
15398 /* Override any gcc2 internal prototype to avoid an error. */
15402 /* We use char because int might match the return type of a gcc2
15403 builtin and then its argument prototype would still apply. */
15413 rm -f conftest.$ac_objext conftest$ac_exeext
15414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15415 (eval $ac_link) 2>conftest.er1
15417 grep -v '^ *+' conftest.er1 >conftest.err
15419 cat conftest.err >&5
15420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15421 (exit $ac_status); } &&
15422 { ac_try='test -z "$ac_c_werror_flag"
15423 || test ! -s conftest.err'
15424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15425 (eval $ac_try) 2>&5
15427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428 (exit $ac_status); }; } &&
15429 { ac_try='test -s conftest$ac_exeext'
15430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15431 (eval $ac_try) 2>&5
15433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15434 (exit $ac_status); }; }; then
15435 ac_cv_lib_m_frexp=yes
15437 echo "$as_me: failed program was:" >&5
15438 sed 's/^/| /' conftest.$ac_ext >&5
15440 ac_cv_lib_m_frexp=no
15442 rm -f conftest.err conftest.$ac_objext \
15443 conftest$ac_exeext conftest.$ac_ext
15444 LIBS=$ac_check_lib_save_LIBS
15446 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
15447 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
15448 if test $ac_cv_lib_m_frexp = yes; then
15450 cat >>confdefs.h <<\_ACEOF
15451 #define HAVE_FREXP 1
15456 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
15457 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
15458 if test "${ac_cv_lib_m_frexpl+set}" = set; then
15459 echo $ECHO_N "(cached) $ECHO_C" >&6
15461 ac_check_lib_save_LIBS=$LIBS
15463 if test x$gcc_no_link = xyes; then
15464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15466 { (exit 1); exit 1; }; }
15468 cat >conftest.$ac_ext <<_ACEOF
15471 cat confdefs.h >>conftest.$ac_ext
15472 cat >>conftest.$ac_ext <<_ACEOF
15473 /* end confdefs.h. */
15475 /* Override any gcc2 internal prototype to avoid an error. */
15479 /* We use char because int might match the return type of a gcc2
15480 builtin and then its argument prototype would still apply. */
15490 rm -f conftest.$ac_objext conftest$ac_exeext
15491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15492 (eval $ac_link) 2>conftest.er1
15494 grep -v '^ *+' conftest.er1 >conftest.err
15496 cat conftest.err >&5
15497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15498 (exit $ac_status); } &&
15499 { ac_try='test -z "$ac_c_werror_flag"
15500 || test ! -s conftest.err'
15501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15502 (eval $ac_try) 2>&5
15504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15505 (exit $ac_status); }; } &&
15506 { ac_try='test -s conftest$ac_exeext'
15507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15508 (eval $ac_try) 2>&5
15510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15511 (exit $ac_status); }; }; then
15512 ac_cv_lib_m_frexpl=yes
15514 echo "$as_me: failed program was:" >&5
15515 sed 's/^/| /' conftest.$ac_ext >&5
15517 ac_cv_lib_m_frexpl=no
15519 rm -f conftest.err conftest.$ac_objext \
15520 conftest$ac_exeext conftest.$ac_ext
15521 LIBS=$ac_check_lib_save_LIBS
15523 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
15524 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
15525 if test $ac_cv_lib_m_frexpl = yes; then
15527 cat >>confdefs.h <<\_ACEOF
15528 #define HAVE_FREXPL 1
15533 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
15534 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
15535 if test "${ac_cv_lib_m_hypotf+set}" = set; then
15536 echo $ECHO_N "(cached) $ECHO_C" >&6
15538 ac_check_lib_save_LIBS=$LIBS
15540 if test x$gcc_no_link = xyes; then
15541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15543 { (exit 1); exit 1; }; }
15545 cat >conftest.$ac_ext <<_ACEOF
15548 cat confdefs.h >>conftest.$ac_ext
15549 cat >>conftest.$ac_ext <<_ACEOF
15550 /* end confdefs.h. */
15552 /* Override any gcc2 internal prototype to avoid an error. */
15556 /* We use char because int might match the return type of a gcc2
15557 builtin and then its argument prototype would still apply. */
15567 rm -f conftest.$ac_objext conftest$ac_exeext
15568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15569 (eval $ac_link) 2>conftest.er1
15571 grep -v '^ *+' conftest.er1 >conftest.err
15573 cat conftest.err >&5
15574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15575 (exit $ac_status); } &&
15576 { ac_try='test -z "$ac_c_werror_flag"
15577 || test ! -s conftest.err'
15578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15579 (eval $ac_try) 2>&5
15581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15582 (exit $ac_status); }; } &&
15583 { ac_try='test -s conftest$ac_exeext'
15584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15585 (eval $ac_try) 2>&5
15587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15588 (exit $ac_status); }; }; then
15589 ac_cv_lib_m_hypotf=yes
15591 echo "$as_me: failed program was:" >&5
15592 sed 's/^/| /' conftest.$ac_ext >&5
15594 ac_cv_lib_m_hypotf=no
15596 rm -f conftest.err conftest.$ac_objext \
15597 conftest$ac_exeext conftest.$ac_ext
15598 LIBS=$ac_check_lib_save_LIBS
15600 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
15601 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
15602 if test $ac_cv_lib_m_hypotf = yes; then
15604 cat >>confdefs.h <<\_ACEOF
15605 #define HAVE_HYPOTF 1
15610 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
15611 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
15612 if test "${ac_cv_lib_m_hypot+set}" = set; then
15613 echo $ECHO_N "(cached) $ECHO_C" >&6
15615 ac_check_lib_save_LIBS=$LIBS
15617 if test x$gcc_no_link = xyes; then
15618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15620 { (exit 1); exit 1; }; }
15622 cat >conftest.$ac_ext <<_ACEOF
15625 cat confdefs.h >>conftest.$ac_ext
15626 cat >>conftest.$ac_ext <<_ACEOF
15627 /* end confdefs.h. */
15629 /* Override any gcc2 internal prototype to avoid an error. */
15633 /* We use char because int might match the return type of a gcc2
15634 builtin and then its argument prototype would still apply. */
15644 rm -f conftest.$ac_objext conftest$ac_exeext
15645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15646 (eval $ac_link) 2>conftest.er1
15648 grep -v '^ *+' conftest.er1 >conftest.err
15650 cat conftest.err >&5
15651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15652 (exit $ac_status); } &&
15653 { ac_try='test -z "$ac_c_werror_flag"
15654 || test ! -s conftest.err'
15655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15656 (eval $ac_try) 2>&5
15658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659 (exit $ac_status); }; } &&
15660 { ac_try='test -s conftest$ac_exeext'
15661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15662 (eval $ac_try) 2>&5
15664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); }; }; then
15666 ac_cv_lib_m_hypot=yes
15668 echo "$as_me: failed program was:" >&5
15669 sed 's/^/| /' conftest.$ac_ext >&5
15671 ac_cv_lib_m_hypot=no
15673 rm -f conftest.err conftest.$ac_objext \
15674 conftest$ac_exeext conftest.$ac_ext
15675 LIBS=$ac_check_lib_save_LIBS
15677 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
15678 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
15679 if test $ac_cv_lib_m_hypot = yes; then
15681 cat >>confdefs.h <<\_ACEOF
15682 #define HAVE_HYPOT 1
15687 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
15688 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
15689 if test "${ac_cv_lib_m_hypotl+set}" = set; then
15690 echo $ECHO_N "(cached) $ECHO_C" >&6
15692 ac_check_lib_save_LIBS=$LIBS
15694 if test x$gcc_no_link = xyes; then
15695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15697 { (exit 1); exit 1; }; }
15699 cat >conftest.$ac_ext <<_ACEOF
15702 cat confdefs.h >>conftest.$ac_ext
15703 cat >>conftest.$ac_ext <<_ACEOF
15704 /* end confdefs.h. */
15706 /* Override any gcc2 internal prototype to avoid an error. */
15710 /* We use char because int might match the return type of a gcc2
15711 builtin and then its argument prototype would still apply. */
15721 rm -f conftest.$ac_objext conftest$ac_exeext
15722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15723 (eval $ac_link) 2>conftest.er1
15725 grep -v '^ *+' conftest.er1 >conftest.err
15727 cat conftest.err >&5
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); } &&
15730 { ac_try='test -z "$ac_c_werror_flag"
15731 || test ! -s conftest.err'
15732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15733 (eval $ac_try) 2>&5
15735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736 (exit $ac_status); }; } &&
15737 { ac_try='test -s conftest$ac_exeext'
15738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15739 (eval $ac_try) 2>&5
15741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15742 (exit $ac_status); }; }; then
15743 ac_cv_lib_m_hypotl=yes
15745 echo "$as_me: failed program was:" >&5
15746 sed 's/^/| /' conftest.$ac_ext >&5
15748 ac_cv_lib_m_hypotl=no
15750 rm -f conftest.err conftest.$ac_objext \
15751 conftest$ac_exeext conftest.$ac_ext
15752 LIBS=$ac_check_lib_save_LIBS
15754 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
15755 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
15756 if test $ac_cv_lib_m_hypotl = yes; then
15758 cat >>confdefs.h <<\_ACEOF
15759 #define HAVE_HYPOTL 1
15764 echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
15765 echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6
15766 if test "${ac_cv_lib_m_ldexpf+set}" = set; then
15767 echo $ECHO_N "(cached) $ECHO_C" >&6
15769 ac_check_lib_save_LIBS=$LIBS
15771 if test x$gcc_no_link = xyes; then
15772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15774 { (exit 1); exit 1; }; }
15776 cat >conftest.$ac_ext <<_ACEOF
15779 cat confdefs.h >>conftest.$ac_ext
15780 cat >>conftest.$ac_ext <<_ACEOF
15781 /* end confdefs.h. */
15783 /* Override any gcc2 internal prototype to avoid an error. */
15787 /* We use char because int might match the return type of a gcc2
15788 builtin and then its argument prototype would still apply. */
15798 rm -f conftest.$ac_objext conftest$ac_exeext
15799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15800 (eval $ac_link) 2>conftest.er1
15802 grep -v '^ *+' conftest.er1 >conftest.err
15804 cat conftest.err >&5
15805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15806 (exit $ac_status); } &&
15807 { ac_try='test -z "$ac_c_werror_flag"
15808 || test ! -s conftest.err'
15809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15810 (eval $ac_try) 2>&5
15812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15813 (exit $ac_status); }; } &&
15814 { ac_try='test -s conftest$ac_exeext'
15815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15816 (eval $ac_try) 2>&5
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); }; }; then
15820 ac_cv_lib_m_ldexpf=yes
15822 echo "$as_me: failed program was:" >&5
15823 sed 's/^/| /' conftest.$ac_ext >&5
15825 ac_cv_lib_m_ldexpf=no
15827 rm -f conftest.err conftest.$ac_objext \
15828 conftest$ac_exeext conftest.$ac_ext
15829 LIBS=$ac_check_lib_save_LIBS
15831 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
15832 echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6
15833 if test $ac_cv_lib_m_ldexpf = yes; then
15835 cat >>confdefs.h <<\_ACEOF
15836 #define HAVE_LDEXPF 1
15841 echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
15842 echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6
15843 if test "${ac_cv_lib_m_ldexp+set}" = set; then
15844 echo $ECHO_N "(cached) $ECHO_C" >&6
15846 ac_check_lib_save_LIBS=$LIBS
15848 if test x$gcc_no_link = xyes; then
15849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15851 { (exit 1); exit 1; }; }
15853 cat >conftest.$ac_ext <<_ACEOF
15856 cat confdefs.h >>conftest.$ac_ext
15857 cat >>conftest.$ac_ext <<_ACEOF
15858 /* end confdefs.h. */
15860 /* Override any gcc2 internal prototype to avoid an error. */
15864 /* We use char because int might match the return type of a gcc2
15865 builtin and then its argument prototype would still apply. */
15875 rm -f conftest.$ac_objext conftest$ac_exeext
15876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15877 (eval $ac_link) 2>conftest.er1
15879 grep -v '^ *+' conftest.er1 >conftest.err
15881 cat conftest.err >&5
15882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15883 (exit $ac_status); } &&
15884 { ac_try='test -z "$ac_c_werror_flag"
15885 || test ! -s conftest.err'
15886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15887 (eval $ac_try) 2>&5
15889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890 (exit $ac_status); }; } &&
15891 { ac_try='test -s conftest$ac_exeext'
15892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15893 (eval $ac_try) 2>&5
15895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15896 (exit $ac_status); }; }; then
15897 ac_cv_lib_m_ldexp=yes
15899 echo "$as_me: failed program was:" >&5
15900 sed 's/^/| /' conftest.$ac_ext >&5
15902 ac_cv_lib_m_ldexp=no
15904 rm -f conftest.err conftest.$ac_objext \
15905 conftest$ac_exeext conftest.$ac_ext
15906 LIBS=$ac_check_lib_save_LIBS
15908 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
15909 echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6
15910 if test $ac_cv_lib_m_ldexp = yes; then
15912 cat >>confdefs.h <<\_ACEOF
15913 #define HAVE_LDEXP 1
15918 echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
15919 echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6
15920 if test "${ac_cv_lib_m_ldexpl+set}" = set; then
15921 echo $ECHO_N "(cached) $ECHO_C" >&6
15923 ac_check_lib_save_LIBS=$LIBS
15925 if test x$gcc_no_link = xyes; then
15926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15928 { (exit 1); exit 1; }; }
15930 cat >conftest.$ac_ext <<_ACEOF
15933 cat confdefs.h >>conftest.$ac_ext
15934 cat >>conftest.$ac_ext <<_ACEOF
15935 /* end confdefs.h. */
15937 /* Override any gcc2 internal prototype to avoid an error. */
15941 /* We use char because int might match the return type of a gcc2
15942 builtin and then its argument prototype would still apply. */
15952 rm -f conftest.$ac_objext conftest$ac_exeext
15953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15954 (eval $ac_link) 2>conftest.er1
15956 grep -v '^ *+' conftest.er1 >conftest.err
15958 cat conftest.err >&5
15959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15960 (exit $ac_status); } &&
15961 { ac_try='test -z "$ac_c_werror_flag"
15962 || test ! -s conftest.err'
15963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15964 (eval $ac_try) 2>&5
15966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15967 (exit $ac_status); }; } &&
15968 { ac_try='test -s conftest$ac_exeext'
15969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15970 (eval $ac_try) 2>&5
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); }; }; then
15974 ac_cv_lib_m_ldexpl=yes
15976 echo "$as_me: failed program was:" >&5
15977 sed 's/^/| /' conftest.$ac_ext >&5
15979 ac_cv_lib_m_ldexpl=no
15981 rm -f conftest.err conftest.$ac_objext \
15982 conftest$ac_exeext conftest.$ac_ext
15983 LIBS=$ac_check_lib_save_LIBS
15985 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
15986 echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6
15987 if test $ac_cv_lib_m_ldexpl = yes; then
15989 cat >>confdefs.h <<\_ACEOF
15990 #define HAVE_LDEXPL 1
15995 echo "$as_me:$LINENO: checking for logf in -lm" >&5
15996 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
15997 if test "${ac_cv_lib_m_logf+set}" = set; then
15998 echo $ECHO_N "(cached) $ECHO_C" >&6
16000 ac_check_lib_save_LIBS=$LIBS
16002 if test x$gcc_no_link = xyes; then
16003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16005 { (exit 1); exit 1; }; }
16007 cat >conftest.$ac_ext <<_ACEOF
16010 cat confdefs.h >>conftest.$ac_ext
16011 cat >>conftest.$ac_ext <<_ACEOF
16012 /* end confdefs.h. */
16014 /* Override any gcc2 internal prototype to avoid an error. */
16018 /* We use char because int might match the return type of a gcc2
16019 builtin and then its argument prototype would still apply. */
16029 rm -f conftest.$ac_objext conftest$ac_exeext
16030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16031 (eval $ac_link) 2>conftest.er1
16033 grep -v '^ *+' conftest.er1 >conftest.err
16035 cat conftest.err >&5
16036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037 (exit $ac_status); } &&
16038 { ac_try='test -z "$ac_c_werror_flag"
16039 || test ! -s conftest.err'
16040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16041 (eval $ac_try) 2>&5
16043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16044 (exit $ac_status); }; } &&
16045 { ac_try='test -s conftest$ac_exeext'
16046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16047 (eval $ac_try) 2>&5
16049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16050 (exit $ac_status); }; }; then
16051 ac_cv_lib_m_logf=yes
16053 echo "$as_me: failed program was:" >&5
16054 sed 's/^/| /' conftest.$ac_ext >&5
16056 ac_cv_lib_m_logf=no
16058 rm -f conftest.err conftest.$ac_objext \
16059 conftest$ac_exeext conftest.$ac_ext
16060 LIBS=$ac_check_lib_save_LIBS
16062 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
16063 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
16064 if test $ac_cv_lib_m_logf = yes; then
16066 cat >>confdefs.h <<\_ACEOF
16067 #define HAVE_LOGF 1
16072 echo "$as_me:$LINENO: checking for log in -lm" >&5
16073 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
16074 if test "${ac_cv_lib_m_log+set}" = set; then
16075 echo $ECHO_N "(cached) $ECHO_C" >&6
16077 ac_check_lib_save_LIBS=$LIBS
16079 if test x$gcc_no_link = xyes; then
16080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16082 { (exit 1); exit 1; }; }
16084 cat >conftest.$ac_ext <<_ACEOF
16087 cat confdefs.h >>conftest.$ac_ext
16088 cat >>conftest.$ac_ext <<_ACEOF
16089 /* end confdefs.h. */
16091 /* Override any gcc2 internal prototype to avoid an error. */
16095 /* We use char because int might match the return type of a gcc2
16096 builtin and then its argument prototype would still apply. */
16106 rm -f conftest.$ac_objext conftest$ac_exeext
16107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16108 (eval $ac_link) 2>conftest.er1
16110 grep -v '^ *+' conftest.er1 >conftest.err
16112 cat conftest.err >&5
16113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16114 (exit $ac_status); } &&
16115 { ac_try='test -z "$ac_c_werror_flag"
16116 || test ! -s conftest.err'
16117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16118 (eval $ac_try) 2>&5
16120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16121 (exit $ac_status); }; } &&
16122 { ac_try='test -s conftest$ac_exeext'
16123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16124 (eval $ac_try) 2>&5
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); }; }; then
16128 ac_cv_lib_m_log=yes
16130 echo "$as_me: failed program was:" >&5
16131 sed 's/^/| /' conftest.$ac_ext >&5
16135 rm -f conftest.err conftest.$ac_objext \
16136 conftest$ac_exeext conftest.$ac_ext
16137 LIBS=$ac_check_lib_save_LIBS
16139 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
16140 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
16141 if test $ac_cv_lib_m_log = yes; then
16143 cat >>confdefs.h <<\_ACEOF
16149 echo "$as_me:$LINENO: checking for logl in -lm" >&5
16150 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
16151 if test "${ac_cv_lib_m_logl+set}" = set; then
16152 echo $ECHO_N "(cached) $ECHO_C" >&6
16154 ac_check_lib_save_LIBS=$LIBS
16156 if test x$gcc_no_link = xyes; then
16157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16159 { (exit 1); exit 1; }; }
16161 cat >conftest.$ac_ext <<_ACEOF
16164 cat confdefs.h >>conftest.$ac_ext
16165 cat >>conftest.$ac_ext <<_ACEOF
16166 /* end confdefs.h. */
16168 /* Override any gcc2 internal prototype to avoid an error. */
16172 /* We use char because int might match the return type of a gcc2
16173 builtin and then its argument prototype would still apply. */
16183 rm -f conftest.$ac_objext conftest$ac_exeext
16184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16185 (eval $ac_link) 2>conftest.er1
16187 grep -v '^ *+' conftest.er1 >conftest.err
16189 cat conftest.err >&5
16190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16191 (exit $ac_status); } &&
16192 { ac_try='test -z "$ac_c_werror_flag"
16193 || test ! -s conftest.err'
16194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16195 (eval $ac_try) 2>&5
16197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16198 (exit $ac_status); }; } &&
16199 { ac_try='test -s conftest$ac_exeext'
16200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16201 (eval $ac_try) 2>&5
16203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16204 (exit $ac_status); }; }; then
16205 ac_cv_lib_m_logl=yes
16207 echo "$as_me: failed program was:" >&5
16208 sed 's/^/| /' conftest.$ac_ext >&5
16210 ac_cv_lib_m_logl=no
16212 rm -f conftest.err conftest.$ac_objext \
16213 conftest$ac_exeext conftest.$ac_ext
16214 LIBS=$ac_check_lib_save_LIBS
16216 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
16217 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
16218 if test $ac_cv_lib_m_logl = yes; then
16220 cat >>confdefs.h <<\_ACEOF
16221 #define HAVE_LOGL 1
16226 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
16227 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
16228 if test "${ac_cv_lib_m_clogf+set}" = set; then
16229 echo $ECHO_N "(cached) $ECHO_C" >&6
16231 ac_check_lib_save_LIBS=$LIBS
16233 if test x$gcc_no_link = xyes; then
16234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16236 { (exit 1); exit 1; }; }
16238 cat >conftest.$ac_ext <<_ACEOF
16241 cat confdefs.h >>conftest.$ac_ext
16242 cat >>conftest.$ac_ext <<_ACEOF
16243 /* end confdefs.h. */
16245 /* Override any gcc2 internal prototype to avoid an error. */
16249 /* We use char because int might match the return type of a gcc2
16250 builtin and then its argument prototype would still apply. */
16260 rm -f conftest.$ac_objext conftest$ac_exeext
16261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16262 (eval $ac_link) 2>conftest.er1
16264 grep -v '^ *+' conftest.er1 >conftest.err
16266 cat conftest.err >&5
16267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16268 (exit $ac_status); } &&
16269 { ac_try='test -z "$ac_c_werror_flag"
16270 || test ! -s conftest.err'
16271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16272 (eval $ac_try) 2>&5
16274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16275 (exit $ac_status); }; } &&
16276 { ac_try='test -s conftest$ac_exeext'
16277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16278 (eval $ac_try) 2>&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); }; }; then
16282 ac_cv_lib_m_clogf=yes
16284 echo "$as_me: failed program was:" >&5
16285 sed 's/^/| /' conftest.$ac_ext >&5
16287 ac_cv_lib_m_clogf=no
16289 rm -f conftest.err conftest.$ac_objext \
16290 conftest$ac_exeext conftest.$ac_ext
16291 LIBS=$ac_check_lib_save_LIBS
16293 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
16294 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
16295 if test $ac_cv_lib_m_clogf = yes; then
16297 cat >>confdefs.h <<\_ACEOF
16298 #define HAVE_CLOGF 1
16303 echo "$as_me:$LINENO: checking for clog in -lm" >&5
16304 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
16305 if test "${ac_cv_lib_m_clog+set}" = set; then
16306 echo $ECHO_N "(cached) $ECHO_C" >&6
16308 ac_check_lib_save_LIBS=$LIBS
16310 if test x$gcc_no_link = xyes; then
16311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16313 { (exit 1); exit 1; }; }
16315 cat >conftest.$ac_ext <<_ACEOF
16318 cat confdefs.h >>conftest.$ac_ext
16319 cat >>conftest.$ac_ext <<_ACEOF
16320 /* end confdefs.h. */
16322 /* Override any gcc2 internal prototype to avoid an error. */
16326 /* We use char because int might match the return type of a gcc2
16327 builtin and then its argument prototype would still apply. */
16337 rm -f conftest.$ac_objext conftest$ac_exeext
16338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16339 (eval $ac_link) 2>conftest.er1
16341 grep -v '^ *+' conftest.er1 >conftest.err
16343 cat conftest.err >&5
16344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16345 (exit $ac_status); } &&
16346 { ac_try='test -z "$ac_c_werror_flag"
16347 || test ! -s conftest.err'
16348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16349 (eval $ac_try) 2>&5
16351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16352 (exit $ac_status); }; } &&
16353 { ac_try='test -s conftest$ac_exeext'
16354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16355 (eval $ac_try) 2>&5
16357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16358 (exit $ac_status); }; }; then
16359 ac_cv_lib_m_clog=yes
16361 echo "$as_me: failed program was:" >&5
16362 sed 's/^/| /' conftest.$ac_ext >&5
16364 ac_cv_lib_m_clog=no
16366 rm -f conftest.err conftest.$ac_objext \
16367 conftest$ac_exeext conftest.$ac_ext
16368 LIBS=$ac_check_lib_save_LIBS
16370 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
16371 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
16372 if test $ac_cv_lib_m_clog = yes; then
16374 cat >>confdefs.h <<\_ACEOF
16375 #define HAVE_CLOG 1
16380 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
16381 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
16382 if test "${ac_cv_lib_m_clogl+set}" = set; then
16383 echo $ECHO_N "(cached) $ECHO_C" >&6
16385 ac_check_lib_save_LIBS=$LIBS
16387 if test x$gcc_no_link = xyes; then
16388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16390 { (exit 1); exit 1; }; }
16392 cat >conftest.$ac_ext <<_ACEOF
16395 cat confdefs.h >>conftest.$ac_ext
16396 cat >>conftest.$ac_ext <<_ACEOF
16397 /* end confdefs.h. */
16399 /* Override any gcc2 internal prototype to avoid an error. */
16403 /* We use char because int might match the return type of a gcc2
16404 builtin and then its argument prototype would still apply. */
16414 rm -f conftest.$ac_objext conftest$ac_exeext
16415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16416 (eval $ac_link) 2>conftest.er1
16418 grep -v '^ *+' conftest.er1 >conftest.err
16420 cat conftest.err >&5
16421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16422 (exit $ac_status); } &&
16423 { ac_try='test -z "$ac_c_werror_flag"
16424 || test ! -s conftest.err'
16425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16426 (eval $ac_try) 2>&5
16428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16429 (exit $ac_status); }; } &&
16430 { ac_try='test -s conftest$ac_exeext'
16431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16432 (eval $ac_try) 2>&5
16434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16435 (exit $ac_status); }; }; then
16436 ac_cv_lib_m_clogl=yes
16438 echo "$as_me: failed program was:" >&5
16439 sed 's/^/| /' conftest.$ac_ext >&5
16441 ac_cv_lib_m_clogl=no
16443 rm -f conftest.err conftest.$ac_objext \
16444 conftest$ac_exeext conftest.$ac_ext
16445 LIBS=$ac_check_lib_save_LIBS
16447 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
16448 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
16449 if test $ac_cv_lib_m_clogl = yes; then
16451 cat >>confdefs.h <<\_ACEOF
16452 #define HAVE_CLOGL 1
16457 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
16458 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
16459 if test "${ac_cv_lib_m_log10f+set}" = set; then
16460 echo $ECHO_N "(cached) $ECHO_C" >&6
16462 ac_check_lib_save_LIBS=$LIBS
16464 if test x$gcc_no_link = xyes; then
16465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16467 { (exit 1); exit 1; }; }
16469 cat >conftest.$ac_ext <<_ACEOF
16472 cat confdefs.h >>conftest.$ac_ext
16473 cat >>conftest.$ac_ext <<_ACEOF
16474 /* end confdefs.h. */
16476 /* Override any gcc2 internal prototype to avoid an error. */
16480 /* We use char because int might match the return type of a gcc2
16481 builtin and then its argument prototype would still apply. */
16491 rm -f conftest.$ac_objext conftest$ac_exeext
16492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16493 (eval $ac_link) 2>conftest.er1
16495 grep -v '^ *+' conftest.er1 >conftest.err
16497 cat conftest.err >&5
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); } &&
16500 { ac_try='test -z "$ac_c_werror_flag"
16501 || test ! -s conftest.err'
16502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16503 (eval $ac_try) 2>&5
16505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16506 (exit $ac_status); }; } &&
16507 { ac_try='test -s conftest$ac_exeext'
16508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16509 (eval $ac_try) 2>&5
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); }; }; then
16513 ac_cv_lib_m_log10f=yes
16515 echo "$as_me: failed program was:" >&5
16516 sed 's/^/| /' conftest.$ac_ext >&5
16518 ac_cv_lib_m_log10f=no
16520 rm -f conftest.err conftest.$ac_objext \
16521 conftest$ac_exeext conftest.$ac_ext
16522 LIBS=$ac_check_lib_save_LIBS
16524 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
16525 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
16526 if test $ac_cv_lib_m_log10f = yes; then
16528 cat >>confdefs.h <<\_ACEOF
16529 #define HAVE_LOG10F 1
16534 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
16535 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
16536 if test "${ac_cv_lib_m_log10+set}" = set; then
16537 echo $ECHO_N "(cached) $ECHO_C" >&6
16539 ac_check_lib_save_LIBS=$LIBS
16541 if test x$gcc_no_link = xyes; then
16542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16544 { (exit 1); exit 1; }; }
16546 cat >conftest.$ac_ext <<_ACEOF
16549 cat confdefs.h >>conftest.$ac_ext
16550 cat >>conftest.$ac_ext <<_ACEOF
16551 /* end confdefs.h. */
16553 /* Override any gcc2 internal prototype to avoid an error. */
16557 /* We use char because int might match the return type of a gcc2
16558 builtin and then its argument prototype would still apply. */
16568 rm -f conftest.$ac_objext conftest$ac_exeext
16569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16570 (eval $ac_link) 2>conftest.er1
16572 grep -v '^ *+' conftest.er1 >conftest.err
16574 cat conftest.err >&5
16575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16576 (exit $ac_status); } &&
16577 { ac_try='test -z "$ac_c_werror_flag"
16578 || test ! -s conftest.err'
16579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16580 (eval $ac_try) 2>&5
16582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16583 (exit $ac_status); }; } &&
16584 { ac_try='test -s conftest$ac_exeext'
16585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16586 (eval $ac_try) 2>&5
16588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16589 (exit $ac_status); }; }; then
16590 ac_cv_lib_m_log10=yes
16592 echo "$as_me: failed program was:" >&5
16593 sed 's/^/| /' conftest.$ac_ext >&5
16595 ac_cv_lib_m_log10=no
16597 rm -f conftest.err conftest.$ac_objext \
16598 conftest$ac_exeext conftest.$ac_ext
16599 LIBS=$ac_check_lib_save_LIBS
16601 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
16602 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
16603 if test $ac_cv_lib_m_log10 = yes; then
16605 cat >>confdefs.h <<\_ACEOF
16606 #define HAVE_LOG10 1
16611 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
16612 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
16613 if test "${ac_cv_lib_m_log10l+set}" = set; then
16614 echo $ECHO_N "(cached) $ECHO_C" >&6
16616 ac_check_lib_save_LIBS=$LIBS
16618 if test x$gcc_no_link = xyes; then
16619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16621 { (exit 1); exit 1; }; }
16623 cat >conftest.$ac_ext <<_ACEOF
16626 cat confdefs.h >>conftest.$ac_ext
16627 cat >>conftest.$ac_ext <<_ACEOF
16628 /* end confdefs.h. */
16630 /* Override any gcc2 internal prototype to avoid an error. */
16634 /* We use char because int might match the return type of a gcc2
16635 builtin and then its argument prototype would still apply. */
16645 rm -f conftest.$ac_objext conftest$ac_exeext
16646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16647 (eval $ac_link) 2>conftest.er1
16649 grep -v '^ *+' conftest.er1 >conftest.err
16651 cat conftest.err >&5
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); } &&
16654 { ac_try='test -z "$ac_c_werror_flag"
16655 || test ! -s conftest.err'
16656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16657 (eval $ac_try) 2>&5
16659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 (exit $ac_status); }; } &&
16661 { ac_try='test -s conftest$ac_exeext'
16662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16663 (eval $ac_try) 2>&5
16665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666 (exit $ac_status); }; }; then
16667 ac_cv_lib_m_log10l=yes
16669 echo "$as_me: failed program was:" >&5
16670 sed 's/^/| /' conftest.$ac_ext >&5
16672 ac_cv_lib_m_log10l=no
16674 rm -f conftest.err conftest.$ac_objext \
16675 conftest$ac_exeext conftest.$ac_ext
16676 LIBS=$ac_check_lib_save_LIBS
16678 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
16679 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
16680 if test $ac_cv_lib_m_log10l = yes; then
16682 cat >>confdefs.h <<\_ACEOF
16683 #define HAVE_LOG10L 1
16688 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
16689 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
16690 if test "${ac_cv_lib_m_clog10f+set}" = set; then
16691 echo $ECHO_N "(cached) $ECHO_C" >&6
16693 ac_check_lib_save_LIBS=$LIBS
16695 if test x$gcc_no_link = xyes; then
16696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16698 { (exit 1); exit 1; }; }
16700 cat >conftest.$ac_ext <<_ACEOF
16703 cat confdefs.h >>conftest.$ac_ext
16704 cat >>conftest.$ac_ext <<_ACEOF
16705 /* end confdefs.h. */
16707 /* Override any gcc2 internal prototype to avoid an error. */
16711 /* We use char because int might match the return type of a gcc2
16712 builtin and then its argument prototype would still apply. */
16722 rm -f conftest.$ac_objext conftest$ac_exeext
16723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16724 (eval $ac_link) 2>conftest.er1
16726 grep -v '^ *+' conftest.er1 >conftest.err
16728 cat conftest.err >&5
16729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16730 (exit $ac_status); } &&
16731 { ac_try='test -z "$ac_c_werror_flag"
16732 || test ! -s conftest.err'
16733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16734 (eval $ac_try) 2>&5
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); }; } &&
16738 { ac_try='test -s conftest$ac_exeext'
16739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16740 (eval $ac_try) 2>&5
16742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16743 (exit $ac_status); }; }; then
16744 ac_cv_lib_m_clog10f=yes
16746 echo "$as_me: failed program was:" >&5
16747 sed 's/^/| /' conftest.$ac_ext >&5
16749 ac_cv_lib_m_clog10f=no
16751 rm -f conftest.err conftest.$ac_objext \
16752 conftest$ac_exeext conftest.$ac_ext
16753 LIBS=$ac_check_lib_save_LIBS
16755 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
16756 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
16757 if test $ac_cv_lib_m_clog10f = yes; then
16759 cat >>confdefs.h <<\_ACEOF
16760 #define HAVE_CLOG10F 1
16765 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
16766 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
16767 if test "${ac_cv_lib_m_clog10+set}" = set; then
16768 echo $ECHO_N "(cached) $ECHO_C" >&6
16770 ac_check_lib_save_LIBS=$LIBS
16772 if test x$gcc_no_link = xyes; then
16773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16775 { (exit 1); exit 1; }; }
16777 cat >conftest.$ac_ext <<_ACEOF
16780 cat confdefs.h >>conftest.$ac_ext
16781 cat >>conftest.$ac_ext <<_ACEOF
16782 /* end confdefs.h. */
16784 /* Override any gcc2 internal prototype to avoid an error. */
16788 /* We use char because int might match the return type of a gcc2
16789 builtin and then its argument prototype would still apply. */
16799 rm -f conftest.$ac_objext conftest$ac_exeext
16800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16801 (eval $ac_link) 2>conftest.er1
16803 grep -v '^ *+' conftest.er1 >conftest.err
16805 cat conftest.err >&5
16806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16807 (exit $ac_status); } &&
16808 { ac_try='test -z "$ac_c_werror_flag"
16809 || test ! -s conftest.err'
16810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16811 (eval $ac_try) 2>&5
16813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814 (exit $ac_status); }; } &&
16815 { ac_try='test -s conftest$ac_exeext'
16816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16817 (eval $ac_try) 2>&5
16819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820 (exit $ac_status); }; }; then
16821 ac_cv_lib_m_clog10=yes
16823 echo "$as_me: failed program was:" >&5
16824 sed 's/^/| /' conftest.$ac_ext >&5
16826 ac_cv_lib_m_clog10=no
16828 rm -f conftest.err conftest.$ac_objext \
16829 conftest$ac_exeext conftest.$ac_ext
16830 LIBS=$ac_check_lib_save_LIBS
16832 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
16833 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
16834 if test $ac_cv_lib_m_clog10 = yes; then
16836 cat >>confdefs.h <<\_ACEOF
16837 #define HAVE_CLOG10 1
16842 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
16843 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
16844 if test "${ac_cv_lib_m_clog10l+set}" = set; then
16845 echo $ECHO_N "(cached) $ECHO_C" >&6
16847 ac_check_lib_save_LIBS=$LIBS
16849 if test x$gcc_no_link = xyes; then
16850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16852 { (exit 1); exit 1; }; }
16854 cat >conftest.$ac_ext <<_ACEOF
16857 cat confdefs.h >>conftest.$ac_ext
16858 cat >>conftest.$ac_ext <<_ACEOF
16859 /* end confdefs.h. */
16861 /* Override any gcc2 internal prototype to avoid an error. */
16865 /* We use char because int might match the return type of a gcc2
16866 builtin and then its argument prototype would still apply. */
16876 rm -f conftest.$ac_objext conftest$ac_exeext
16877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16878 (eval $ac_link) 2>conftest.er1
16880 grep -v '^ *+' conftest.er1 >conftest.err
16882 cat conftest.err >&5
16883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884 (exit $ac_status); } &&
16885 { ac_try='test -z "$ac_c_werror_flag"
16886 || test ! -s conftest.err'
16887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16888 (eval $ac_try) 2>&5
16890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16891 (exit $ac_status); }; } &&
16892 { ac_try='test -s conftest$ac_exeext'
16893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16894 (eval $ac_try) 2>&5
16896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897 (exit $ac_status); }; }; then
16898 ac_cv_lib_m_clog10l=yes
16900 echo "$as_me: failed program was:" >&5
16901 sed 's/^/| /' conftest.$ac_ext >&5
16903 ac_cv_lib_m_clog10l=no
16905 rm -f conftest.err conftest.$ac_objext \
16906 conftest$ac_exeext conftest.$ac_ext
16907 LIBS=$ac_check_lib_save_LIBS
16909 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
16910 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
16911 if test $ac_cv_lib_m_clog10l = yes; then
16913 cat >>confdefs.h <<\_ACEOF
16914 #define HAVE_CLOG10L 1
16919 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
16920 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
16921 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
16922 echo $ECHO_N "(cached) $ECHO_C" >&6
16924 ac_check_lib_save_LIBS=$LIBS
16926 if test x$gcc_no_link = xyes; then
16927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16929 { (exit 1); exit 1; }; }
16931 cat >conftest.$ac_ext <<_ACEOF
16934 cat confdefs.h >>conftest.$ac_ext
16935 cat >>conftest.$ac_ext <<_ACEOF
16936 /* end confdefs.h. */
16938 /* Override any gcc2 internal prototype to avoid an error. */
16942 /* We use char because int might match the return type of a gcc2
16943 builtin and then its argument prototype would still apply. */
16944 char nextafterf ();
16953 rm -f conftest.$ac_objext conftest$ac_exeext
16954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16955 (eval $ac_link) 2>conftest.er1
16957 grep -v '^ *+' conftest.er1 >conftest.err
16959 cat conftest.err >&5
16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961 (exit $ac_status); } &&
16962 { ac_try='test -z "$ac_c_werror_flag"
16963 || test ! -s conftest.err'
16964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16965 (eval $ac_try) 2>&5
16967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16968 (exit $ac_status); }; } &&
16969 { ac_try='test -s conftest$ac_exeext'
16970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16971 (eval $ac_try) 2>&5
16973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974 (exit $ac_status); }; }; then
16975 ac_cv_lib_m_nextafterf=yes
16977 echo "$as_me: failed program was:" >&5
16978 sed 's/^/| /' conftest.$ac_ext >&5
16980 ac_cv_lib_m_nextafterf=no
16982 rm -f conftest.err conftest.$ac_objext \
16983 conftest$ac_exeext conftest.$ac_ext
16984 LIBS=$ac_check_lib_save_LIBS
16986 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
16987 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
16988 if test $ac_cv_lib_m_nextafterf = yes; then
16990 cat >>confdefs.h <<\_ACEOF
16991 #define HAVE_NEXTAFTERF 1
16996 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
16997 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
16998 if test "${ac_cv_lib_m_nextafter+set}" = set; then
16999 echo $ECHO_N "(cached) $ECHO_C" >&6
17001 ac_check_lib_save_LIBS=$LIBS
17003 if test x$gcc_no_link = xyes; then
17004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17006 { (exit 1); exit 1; }; }
17008 cat >conftest.$ac_ext <<_ACEOF
17011 cat confdefs.h >>conftest.$ac_ext
17012 cat >>conftest.$ac_ext <<_ACEOF
17013 /* end confdefs.h. */
17015 /* Override any gcc2 internal prototype to avoid an error. */
17019 /* We use char because int might match the return type of a gcc2
17020 builtin and then its argument prototype would still apply. */
17030 rm -f conftest.$ac_objext conftest$ac_exeext
17031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17032 (eval $ac_link) 2>conftest.er1
17034 grep -v '^ *+' conftest.er1 >conftest.err
17036 cat conftest.err >&5
17037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17038 (exit $ac_status); } &&
17039 { ac_try='test -z "$ac_c_werror_flag"
17040 || test ! -s conftest.err'
17041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17042 (eval $ac_try) 2>&5
17044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17045 (exit $ac_status); }; } &&
17046 { ac_try='test -s conftest$ac_exeext'
17047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17048 (eval $ac_try) 2>&5
17050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17051 (exit $ac_status); }; }; then
17052 ac_cv_lib_m_nextafter=yes
17054 echo "$as_me: failed program was:" >&5
17055 sed 's/^/| /' conftest.$ac_ext >&5
17057 ac_cv_lib_m_nextafter=no
17059 rm -f conftest.err conftest.$ac_objext \
17060 conftest$ac_exeext conftest.$ac_ext
17061 LIBS=$ac_check_lib_save_LIBS
17063 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
17064 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
17065 if test $ac_cv_lib_m_nextafter = yes; then
17067 cat >>confdefs.h <<\_ACEOF
17068 #define HAVE_NEXTAFTER 1
17073 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
17074 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
17075 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
17076 echo $ECHO_N "(cached) $ECHO_C" >&6
17078 ac_check_lib_save_LIBS=$LIBS
17080 if test x$gcc_no_link = xyes; then
17081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17083 { (exit 1); exit 1; }; }
17085 cat >conftest.$ac_ext <<_ACEOF
17088 cat confdefs.h >>conftest.$ac_ext
17089 cat >>conftest.$ac_ext <<_ACEOF
17090 /* end confdefs.h. */
17092 /* Override any gcc2 internal prototype to avoid an error. */
17096 /* We use char because int might match the return type of a gcc2
17097 builtin and then its argument prototype would still apply. */
17098 char nextafterl ();
17107 rm -f conftest.$ac_objext conftest$ac_exeext
17108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17109 (eval $ac_link) 2>conftest.er1
17111 grep -v '^ *+' conftest.er1 >conftest.err
17113 cat conftest.err >&5
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); } &&
17116 { ac_try='test -z "$ac_c_werror_flag"
17117 || test ! -s conftest.err'
17118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17119 (eval $ac_try) 2>&5
17121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17122 (exit $ac_status); }; } &&
17123 { ac_try='test -s conftest$ac_exeext'
17124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17125 (eval $ac_try) 2>&5
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); }; }; then
17129 ac_cv_lib_m_nextafterl=yes
17131 echo "$as_me: failed program was:" >&5
17132 sed 's/^/| /' conftest.$ac_ext >&5
17134 ac_cv_lib_m_nextafterl=no
17136 rm -f conftest.err conftest.$ac_objext \
17137 conftest$ac_exeext conftest.$ac_ext
17138 LIBS=$ac_check_lib_save_LIBS
17140 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
17141 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
17142 if test $ac_cv_lib_m_nextafterl = yes; then
17144 cat >>confdefs.h <<\_ACEOF
17145 #define HAVE_NEXTAFTERL 1
17150 echo "$as_me:$LINENO: checking for powf in -lm" >&5
17151 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
17152 if test "${ac_cv_lib_m_powf+set}" = set; then
17153 echo $ECHO_N "(cached) $ECHO_C" >&6
17155 ac_check_lib_save_LIBS=$LIBS
17157 if test x$gcc_no_link = xyes; then
17158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17160 { (exit 1); exit 1; }; }
17162 cat >conftest.$ac_ext <<_ACEOF
17165 cat confdefs.h >>conftest.$ac_ext
17166 cat >>conftest.$ac_ext <<_ACEOF
17167 /* end confdefs.h. */
17169 /* Override any gcc2 internal prototype to avoid an error. */
17173 /* We use char because int might match the return type of a gcc2
17174 builtin and then its argument prototype would still apply. */
17184 rm -f conftest.$ac_objext conftest$ac_exeext
17185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17186 (eval $ac_link) 2>conftest.er1
17188 grep -v '^ *+' conftest.er1 >conftest.err
17190 cat conftest.err >&5
17191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17192 (exit $ac_status); } &&
17193 { ac_try='test -z "$ac_c_werror_flag"
17194 || test ! -s conftest.err'
17195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17196 (eval $ac_try) 2>&5
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); }; } &&
17200 { ac_try='test -s conftest$ac_exeext'
17201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17202 (eval $ac_try) 2>&5
17204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17205 (exit $ac_status); }; }; then
17206 ac_cv_lib_m_powf=yes
17208 echo "$as_me: failed program was:" >&5
17209 sed 's/^/| /' conftest.$ac_ext >&5
17211 ac_cv_lib_m_powf=no
17213 rm -f conftest.err conftest.$ac_objext \
17214 conftest$ac_exeext conftest.$ac_ext
17215 LIBS=$ac_check_lib_save_LIBS
17217 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
17218 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
17219 if test $ac_cv_lib_m_powf = yes; then
17221 cat >>confdefs.h <<\_ACEOF
17222 #define HAVE_POWF 1
17227 echo "$as_me:$LINENO: checking for pow in -lm" >&5
17228 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
17229 if test "${ac_cv_lib_m_pow+set}" = set; then
17230 echo $ECHO_N "(cached) $ECHO_C" >&6
17232 ac_check_lib_save_LIBS=$LIBS
17234 if test x$gcc_no_link = xyes; then
17235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17237 { (exit 1); exit 1; }; }
17239 cat >conftest.$ac_ext <<_ACEOF
17242 cat confdefs.h >>conftest.$ac_ext
17243 cat >>conftest.$ac_ext <<_ACEOF
17244 /* end confdefs.h. */
17246 /* Override any gcc2 internal prototype to avoid an error. */
17250 /* We use char because int might match the return type of a gcc2
17251 builtin and then its argument prototype would still apply. */
17261 rm -f conftest.$ac_objext conftest$ac_exeext
17262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17263 (eval $ac_link) 2>conftest.er1
17265 grep -v '^ *+' conftest.er1 >conftest.err
17267 cat conftest.err >&5
17268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17269 (exit $ac_status); } &&
17270 { ac_try='test -z "$ac_c_werror_flag"
17271 || test ! -s conftest.err'
17272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17273 (eval $ac_try) 2>&5
17275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17276 (exit $ac_status); }; } &&
17277 { ac_try='test -s conftest$ac_exeext'
17278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17279 (eval $ac_try) 2>&5
17281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17282 (exit $ac_status); }; }; then
17283 ac_cv_lib_m_pow=yes
17285 echo "$as_me: failed program was:" >&5
17286 sed 's/^/| /' conftest.$ac_ext >&5
17290 rm -f conftest.err conftest.$ac_objext \
17291 conftest$ac_exeext conftest.$ac_ext
17292 LIBS=$ac_check_lib_save_LIBS
17294 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
17295 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
17296 if test $ac_cv_lib_m_pow = yes; then
17298 cat >>confdefs.h <<\_ACEOF
17304 echo "$as_me:$LINENO: checking for powl in -lm" >&5
17305 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
17306 if test "${ac_cv_lib_m_powl+set}" = set; then
17307 echo $ECHO_N "(cached) $ECHO_C" >&6
17309 ac_check_lib_save_LIBS=$LIBS
17311 if test x$gcc_no_link = xyes; then
17312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17314 { (exit 1); exit 1; }; }
17316 cat >conftest.$ac_ext <<_ACEOF
17319 cat confdefs.h >>conftest.$ac_ext
17320 cat >>conftest.$ac_ext <<_ACEOF
17321 /* end confdefs.h. */
17323 /* Override any gcc2 internal prototype to avoid an error. */
17327 /* We use char because int might match the return type of a gcc2
17328 builtin and then its argument prototype would still apply. */
17338 rm -f conftest.$ac_objext conftest$ac_exeext
17339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17340 (eval $ac_link) 2>conftest.er1
17342 grep -v '^ *+' conftest.er1 >conftest.err
17344 cat conftest.err >&5
17345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346 (exit $ac_status); } &&
17347 { ac_try='test -z "$ac_c_werror_flag"
17348 || test ! -s conftest.err'
17349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17350 (eval $ac_try) 2>&5
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); }; } &&
17354 { ac_try='test -s conftest$ac_exeext'
17355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17356 (eval $ac_try) 2>&5
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); }; }; then
17360 ac_cv_lib_m_powl=yes
17362 echo "$as_me: failed program was:" >&5
17363 sed 's/^/| /' conftest.$ac_ext >&5
17365 ac_cv_lib_m_powl=no
17367 rm -f conftest.err conftest.$ac_objext \
17368 conftest$ac_exeext conftest.$ac_ext
17369 LIBS=$ac_check_lib_save_LIBS
17371 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
17372 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
17373 if test $ac_cv_lib_m_powl = yes; then
17375 cat >>confdefs.h <<\_ACEOF
17376 #define HAVE_POWL 1
17381 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
17382 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
17383 if test "${ac_cv_lib_m_cpowf+set}" = set; then
17384 echo $ECHO_N "(cached) $ECHO_C" >&6
17386 ac_check_lib_save_LIBS=$LIBS
17388 if test x$gcc_no_link = xyes; then
17389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17391 { (exit 1); exit 1; }; }
17393 cat >conftest.$ac_ext <<_ACEOF
17396 cat confdefs.h >>conftest.$ac_ext
17397 cat >>conftest.$ac_ext <<_ACEOF
17398 /* end confdefs.h. */
17400 /* Override any gcc2 internal prototype to avoid an error. */
17404 /* We use char because int might match the return type of a gcc2
17405 builtin and then its argument prototype would still apply. */
17415 rm -f conftest.$ac_objext conftest$ac_exeext
17416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17417 (eval $ac_link) 2>conftest.er1
17419 grep -v '^ *+' conftest.er1 >conftest.err
17421 cat conftest.err >&5
17422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17423 (exit $ac_status); } &&
17424 { ac_try='test -z "$ac_c_werror_flag"
17425 || test ! -s conftest.err'
17426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17427 (eval $ac_try) 2>&5
17429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17430 (exit $ac_status); }; } &&
17431 { ac_try='test -s conftest$ac_exeext'
17432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17433 (eval $ac_try) 2>&5
17435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436 (exit $ac_status); }; }; then
17437 ac_cv_lib_m_cpowf=yes
17439 echo "$as_me: failed program was:" >&5
17440 sed 's/^/| /' conftest.$ac_ext >&5
17442 ac_cv_lib_m_cpowf=no
17444 rm -f conftest.err conftest.$ac_objext \
17445 conftest$ac_exeext conftest.$ac_ext
17446 LIBS=$ac_check_lib_save_LIBS
17448 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
17449 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
17450 if test $ac_cv_lib_m_cpowf = yes; then
17452 cat >>confdefs.h <<\_ACEOF
17453 #define HAVE_CPOWF 1
17458 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
17459 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
17460 if test "${ac_cv_lib_m_cpow+set}" = set; then
17461 echo $ECHO_N "(cached) $ECHO_C" >&6
17463 ac_check_lib_save_LIBS=$LIBS
17465 if test x$gcc_no_link = xyes; then
17466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17468 { (exit 1); exit 1; }; }
17470 cat >conftest.$ac_ext <<_ACEOF
17473 cat confdefs.h >>conftest.$ac_ext
17474 cat >>conftest.$ac_ext <<_ACEOF
17475 /* end confdefs.h. */
17477 /* Override any gcc2 internal prototype to avoid an error. */
17481 /* We use char because int might match the return type of a gcc2
17482 builtin and then its argument prototype would still apply. */
17492 rm -f conftest.$ac_objext conftest$ac_exeext
17493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17494 (eval $ac_link) 2>conftest.er1
17496 grep -v '^ *+' conftest.er1 >conftest.err
17498 cat conftest.err >&5
17499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17500 (exit $ac_status); } &&
17501 { ac_try='test -z "$ac_c_werror_flag"
17502 || test ! -s conftest.err'
17503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17504 (eval $ac_try) 2>&5
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); }; } &&
17508 { ac_try='test -s conftest$ac_exeext'
17509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17510 (eval $ac_try) 2>&5
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); }; }; then
17514 ac_cv_lib_m_cpow=yes
17516 echo "$as_me: failed program was:" >&5
17517 sed 's/^/| /' conftest.$ac_ext >&5
17519 ac_cv_lib_m_cpow=no
17521 rm -f conftest.err conftest.$ac_objext \
17522 conftest$ac_exeext conftest.$ac_ext
17523 LIBS=$ac_check_lib_save_LIBS
17525 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
17526 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
17527 if test $ac_cv_lib_m_cpow = yes; then
17529 cat >>confdefs.h <<\_ACEOF
17530 #define HAVE_CPOW 1
17535 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
17536 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
17537 if test "${ac_cv_lib_m_cpowl+set}" = set; then
17538 echo $ECHO_N "(cached) $ECHO_C" >&6
17540 ac_check_lib_save_LIBS=$LIBS
17542 if test x$gcc_no_link = xyes; then
17543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17545 { (exit 1); exit 1; }; }
17547 cat >conftest.$ac_ext <<_ACEOF
17550 cat confdefs.h >>conftest.$ac_ext
17551 cat >>conftest.$ac_ext <<_ACEOF
17552 /* end confdefs.h. */
17554 /* Override any gcc2 internal prototype to avoid an error. */
17558 /* We use char because int might match the return type of a gcc2
17559 builtin and then its argument prototype would still apply. */
17569 rm -f conftest.$ac_objext conftest$ac_exeext
17570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17571 (eval $ac_link) 2>conftest.er1
17573 grep -v '^ *+' conftest.er1 >conftest.err
17575 cat conftest.err >&5
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); } &&
17578 { ac_try='test -z "$ac_c_werror_flag"
17579 || test ! -s conftest.err'
17580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17581 (eval $ac_try) 2>&5
17583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17584 (exit $ac_status); }; } &&
17585 { ac_try='test -s conftest$ac_exeext'
17586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17587 (eval $ac_try) 2>&5
17589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17590 (exit $ac_status); }; }; then
17591 ac_cv_lib_m_cpowl=yes
17593 echo "$as_me: failed program was:" >&5
17594 sed 's/^/| /' conftest.$ac_ext >&5
17596 ac_cv_lib_m_cpowl=no
17598 rm -f conftest.err conftest.$ac_objext \
17599 conftest$ac_exeext conftest.$ac_ext
17600 LIBS=$ac_check_lib_save_LIBS
17602 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
17603 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
17604 if test $ac_cv_lib_m_cpowl = yes; then
17606 cat >>confdefs.h <<\_ACEOF
17607 #define HAVE_CPOWL 1
17612 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
17613 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
17614 if test "${ac_cv_lib_m_roundf+set}" = set; then
17615 echo $ECHO_N "(cached) $ECHO_C" >&6
17617 ac_check_lib_save_LIBS=$LIBS
17619 if test x$gcc_no_link = xyes; then
17620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17622 { (exit 1); exit 1; }; }
17624 cat >conftest.$ac_ext <<_ACEOF
17627 cat confdefs.h >>conftest.$ac_ext
17628 cat >>conftest.$ac_ext <<_ACEOF
17629 /* end confdefs.h. */
17631 /* Override any gcc2 internal prototype to avoid an error. */
17635 /* We use char because int might match the return type of a gcc2
17636 builtin and then its argument prototype would still apply. */
17646 rm -f conftest.$ac_objext conftest$ac_exeext
17647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17648 (eval $ac_link) 2>conftest.er1
17650 grep -v '^ *+' conftest.er1 >conftest.err
17652 cat conftest.err >&5
17653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17654 (exit $ac_status); } &&
17655 { ac_try='test -z "$ac_c_werror_flag"
17656 || test ! -s conftest.err'
17657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17658 (eval $ac_try) 2>&5
17660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17661 (exit $ac_status); }; } &&
17662 { ac_try='test -s conftest$ac_exeext'
17663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17664 (eval $ac_try) 2>&5
17666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17667 (exit $ac_status); }; }; then
17668 ac_cv_lib_m_roundf=yes
17670 echo "$as_me: failed program was:" >&5
17671 sed 's/^/| /' conftest.$ac_ext >&5
17673 ac_cv_lib_m_roundf=no
17675 rm -f conftest.err conftest.$ac_objext \
17676 conftest$ac_exeext conftest.$ac_ext
17677 LIBS=$ac_check_lib_save_LIBS
17679 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
17680 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
17681 if test $ac_cv_lib_m_roundf = yes; then
17683 cat >>confdefs.h <<\_ACEOF
17684 #define HAVE_ROUNDF 1
17689 echo "$as_me:$LINENO: checking for round in -lm" >&5
17690 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
17691 if test "${ac_cv_lib_m_round+set}" = set; then
17692 echo $ECHO_N "(cached) $ECHO_C" >&6
17694 ac_check_lib_save_LIBS=$LIBS
17696 if test x$gcc_no_link = xyes; then
17697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17699 { (exit 1); exit 1; }; }
17701 cat >conftest.$ac_ext <<_ACEOF
17704 cat confdefs.h >>conftest.$ac_ext
17705 cat >>conftest.$ac_ext <<_ACEOF
17706 /* end confdefs.h. */
17708 /* Override any gcc2 internal prototype to avoid an error. */
17712 /* We use char because int might match the return type of a gcc2
17713 builtin and then its argument prototype would still apply. */
17723 rm -f conftest.$ac_objext conftest$ac_exeext
17724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17725 (eval $ac_link) 2>conftest.er1
17727 grep -v '^ *+' conftest.er1 >conftest.err
17729 cat conftest.err >&5
17730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17731 (exit $ac_status); } &&
17732 { ac_try='test -z "$ac_c_werror_flag"
17733 || test ! -s conftest.err'
17734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17735 (eval $ac_try) 2>&5
17737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17738 (exit $ac_status); }; } &&
17739 { ac_try='test -s conftest$ac_exeext'
17740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17741 (eval $ac_try) 2>&5
17743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17744 (exit $ac_status); }; }; then
17745 ac_cv_lib_m_round=yes
17747 echo "$as_me: failed program was:" >&5
17748 sed 's/^/| /' conftest.$ac_ext >&5
17750 ac_cv_lib_m_round=no
17752 rm -f conftest.err conftest.$ac_objext \
17753 conftest$ac_exeext conftest.$ac_ext
17754 LIBS=$ac_check_lib_save_LIBS
17756 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
17757 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
17758 if test $ac_cv_lib_m_round = yes; then
17760 cat >>confdefs.h <<\_ACEOF
17761 #define HAVE_ROUND 1
17766 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
17767 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
17768 if test "${ac_cv_lib_m_roundl+set}" = set; then
17769 echo $ECHO_N "(cached) $ECHO_C" >&6
17771 ac_check_lib_save_LIBS=$LIBS
17773 if test x$gcc_no_link = xyes; then
17774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17776 { (exit 1); exit 1; }; }
17778 cat >conftest.$ac_ext <<_ACEOF
17781 cat confdefs.h >>conftest.$ac_ext
17782 cat >>conftest.$ac_ext <<_ACEOF
17783 /* end confdefs.h. */
17785 /* Override any gcc2 internal prototype to avoid an error. */
17789 /* We use char because int might match the return type of a gcc2
17790 builtin and then its argument prototype would still apply. */
17800 rm -f conftest.$ac_objext conftest$ac_exeext
17801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17802 (eval $ac_link) 2>conftest.er1
17804 grep -v '^ *+' conftest.er1 >conftest.err
17806 cat conftest.err >&5
17807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17808 (exit $ac_status); } &&
17809 { ac_try='test -z "$ac_c_werror_flag"
17810 || test ! -s conftest.err'
17811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17812 (eval $ac_try) 2>&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); }; } &&
17816 { ac_try='test -s conftest$ac_exeext'
17817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17818 (eval $ac_try) 2>&5
17820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17821 (exit $ac_status); }; }; then
17822 ac_cv_lib_m_roundl=yes
17824 echo "$as_me: failed program was:" >&5
17825 sed 's/^/| /' conftest.$ac_ext >&5
17827 ac_cv_lib_m_roundl=no
17829 rm -f conftest.err conftest.$ac_objext \
17830 conftest$ac_exeext conftest.$ac_ext
17831 LIBS=$ac_check_lib_save_LIBS
17833 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
17834 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
17835 if test $ac_cv_lib_m_roundl = yes; then
17837 cat >>confdefs.h <<\_ACEOF
17838 #define HAVE_ROUNDL 1
17843 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
17844 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
17845 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
17846 echo $ECHO_N "(cached) $ECHO_C" >&6
17848 ac_check_lib_save_LIBS=$LIBS
17850 if test x$gcc_no_link = xyes; then
17851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17853 { (exit 1); exit 1; }; }
17855 cat >conftest.$ac_ext <<_ACEOF
17858 cat confdefs.h >>conftest.$ac_ext
17859 cat >>conftest.$ac_ext <<_ACEOF
17860 /* end confdefs.h. */
17862 /* Override any gcc2 internal prototype to avoid an error. */
17866 /* We use char because int might match the return type of a gcc2
17867 builtin and then its argument prototype would still apply. */
17877 rm -f conftest.$ac_objext conftest$ac_exeext
17878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17879 (eval $ac_link) 2>conftest.er1
17881 grep -v '^ *+' conftest.er1 >conftest.err
17883 cat conftest.err >&5
17884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17885 (exit $ac_status); } &&
17886 { ac_try='test -z "$ac_c_werror_flag"
17887 || test ! -s conftest.err'
17888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17889 (eval $ac_try) 2>&5
17891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17892 (exit $ac_status); }; } &&
17893 { ac_try='test -s conftest$ac_exeext'
17894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17895 (eval $ac_try) 2>&5
17897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17898 (exit $ac_status); }; }; then
17899 ac_cv_lib_m_scalbnf=yes
17901 echo "$as_me: failed program was:" >&5
17902 sed 's/^/| /' conftest.$ac_ext >&5
17904 ac_cv_lib_m_scalbnf=no
17906 rm -f conftest.err conftest.$ac_objext \
17907 conftest$ac_exeext conftest.$ac_ext
17908 LIBS=$ac_check_lib_save_LIBS
17910 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
17911 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
17912 if test $ac_cv_lib_m_scalbnf = yes; then
17914 cat >>confdefs.h <<\_ACEOF
17915 #define HAVE_SCALBNF 1
17920 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
17921 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
17922 if test "${ac_cv_lib_m_scalbn+set}" = set; then
17923 echo $ECHO_N "(cached) $ECHO_C" >&6
17925 ac_check_lib_save_LIBS=$LIBS
17927 if test x$gcc_no_link = xyes; then
17928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17930 { (exit 1); exit 1; }; }
17932 cat >conftest.$ac_ext <<_ACEOF
17935 cat confdefs.h >>conftest.$ac_ext
17936 cat >>conftest.$ac_ext <<_ACEOF
17937 /* end confdefs.h. */
17939 /* Override any gcc2 internal prototype to avoid an error. */
17943 /* We use char because int might match the return type of a gcc2
17944 builtin and then its argument prototype would still apply. */
17954 rm -f conftest.$ac_objext conftest$ac_exeext
17955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17956 (eval $ac_link) 2>conftest.er1
17958 grep -v '^ *+' conftest.er1 >conftest.err
17960 cat conftest.err >&5
17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962 (exit $ac_status); } &&
17963 { ac_try='test -z "$ac_c_werror_flag"
17964 || test ! -s conftest.err'
17965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17966 (eval $ac_try) 2>&5
17968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17969 (exit $ac_status); }; } &&
17970 { ac_try='test -s conftest$ac_exeext'
17971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17972 (eval $ac_try) 2>&5
17974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975 (exit $ac_status); }; }; then
17976 ac_cv_lib_m_scalbn=yes
17978 echo "$as_me: failed program was:" >&5
17979 sed 's/^/| /' conftest.$ac_ext >&5
17981 ac_cv_lib_m_scalbn=no
17983 rm -f conftest.err conftest.$ac_objext \
17984 conftest$ac_exeext conftest.$ac_ext
17985 LIBS=$ac_check_lib_save_LIBS
17987 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
17988 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
17989 if test $ac_cv_lib_m_scalbn = yes; then
17991 cat >>confdefs.h <<\_ACEOF
17992 #define HAVE_SCALBN 1
17997 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
17998 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
17999 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
18000 echo $ECHO_N "(cached) $ECHO_C" >&6
18002 ac_check_lib_save_LIBS=$LIBS
18004 if test x$gcc_no_link = xyes; then
18005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18007 { (exit 1); exit 1; }; }
18009 cat >conftest.$ac_ext <<_ACEOF
18012 cat confdefs.h >>conftest.$ac_ext
18013 cat >>conftest.$ac_ext <<_ACEOF
18014 /* end confdefs.h. */
18016 /* Override any gcc2 internal prototype to avoid an error. */
18020 /* We use char because int might match the return type of a gcc2
18021 builtin and then its argument prototype would still apply. */
18031 rm -f conftest.$ac_objext conftest$ac_exeext
18032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18033 (eval $ac_link) 2>conftest.er1
18035 grep -v '^ *+' conftest.er1 >conftest.err
18037 cat conftest.err >&5
18038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18039 (exit $ac_status); } &&
18040 { ac_try='test -z "$ac_c_werror_flag"
18041 || test ! -s conftest.err'
18042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18043 (eval $ac_try) 2>&5
18045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18046 (exit $ac_status); }; } &&
18047 { ac_try='test -s conftest$ac_exeext'
18048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18049 (eval $ac_try) 2>&5
18051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18052 (exit $ac_status); }; }; then
18053 ac_cv_lib_m_scalbnl=yes
18055 echo "$as_me: failed program was:" >&5
18056 sed 's/^/| /' conftest.$ac_ext >&5
18058 ac_cv_lib_m_scalbnl=no
18060 rm -f conftest.err conftest.$ac_objext \
18061 conftest$ac_exeext conftest.$ac_ext
18062 LIBS=$ac_check_lib_save_LIBS
18064 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
18065 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
18066 if test $ac_cv_lib_m_scalbnl = yes; then
18068 cat >>confdefs.h <<\_ACEOF
18069 #define HAVE_SCALBNL 1
18074 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
18075 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
18076 if test "${ac_cv_lib_m_sinf+set}" = set; then
18077 echo $ECHO_N "(cached) $ECHO_C" >&6
18079 ac_check_lib_save_LIBS=$LIBS
18081 if test x$gcc_no_link = xyes; then
18082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18084 { (exit 1); exit 1; }; }
18086 cat >conftest.$ac_ext <<_ACEOF
18089 cat confdefs.h >>conftest.$ac_ext
18090 cat >>conftest.$ac_ext <<_ACEOF
18091 /* end confdefs.h. */
18093 /* Override any gcc2 internal prototype to avoid an error. */
18097 /* We use char because int might match the return type of a gcc2
18098 builtin and then its argument prototype would still apply. */
18108 rm -f conftest.$ac_objext conftest$ac_exeext
18109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18110 (eval $ac_link) 2>conftest.er1
18112 grep -v '^ *+' conftest.er1 >conftest.err
18114 cat conftest.err >&5
18115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18116 (exit $ac_status); } &&
18117 { ac_try='test -z "$ac_c_werror_flag"
18118 || test ! -s conftest.err'
18119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18120 (eval $ac_try) 2>&5
18122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18123 (exit $ac_status); }; } &&
18124 { ac_try='test -s conftest$ac_exeext'
18125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18126 (eval $ac_try) 2>&5
18128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18129 (exit $ac_status); }; }; then
18130 ac_cv_lib_m_sinf=yes
18132 echo "$as_me: failed program was:" >&5
18133 sed 's/^/| /' conftest.$ac_ext >&5
18135 ac_cv_lib_m_sinf=no
18137 rm -f conftest.err conftest.$ac_objext \
18138 conftest$ac_exeext conftest.$ac_ext
18139 LIBS=$ac_check_lib_save_LIBS
18141 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
18142 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
18143 if test $ac_cv_lib_m_sinf = yes; then
18145 cat >>confdefs.h <<\_ACEOF
18146 #define HAVE_SINF 1
18151 echo "$as_me:$LINENO: checking for sin in -lm" >&5
18152 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
18153 if test "${ac_cv_lib_m_sin+set}" = set; then
18154 echo $ECHO_N "(cached) $ECHO_C" >&6
18156 ac_check_lib_save_LIBS=$LIBS
18158 if test x$gcc_no_link = xyes; then
18159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18161 { (exit 1); exit 1; }; }
18163 cat >conftest.$ac_ext <<_ACEOF
18166 cat confdefs.h >>conftest.$ac_ext
18167 cat >>conftest.$ac_ext <<_ACEOF
18168 /* end confdefs.h. */
18170 /* Override any gcc2 internal prototype to avoid an error. */
18174 /* We use char because int might match the return type of a gcc2
18175 builtin and then its argument prototype would still apply. */
18185 rm -f conftest.$ac_objext conftest$ac_exeext
18186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18187 (eval $ac_link) 2>conftest.er1
18189 grep -v '^ *+' conftest.er1 >conftest.err
18191 cat conftest.err >&5
18192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193 (exit $ac_status); } &&
18194 { ac_try='test -z "$ac_c_werror_flag"
18195 || test ! -s conftest.err'
18196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18197 (eval $ac_try) 2>&5
18199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18200 (exit $ac_status); }; } &&
18201 { ac_try='test -s conftest$ac_exeext'
18202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18203 (eval $ac_try) 2>&5
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); }; }; then
18207 ac_cv_lib_m_sin=yes
18209 echo "$as_me: failed program was:" >&5
18210 sed 's/^/| /' conftest.$ac_ext >&5
18214 rm -f conftest.err conftest.$ac_objext \
18215 conftest$ac_exeext conftest.$ac_ext
18216 LIBS=$ac_check_lib_save_LIBS
18218 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
18219 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
18220 if test $ac_cv_lib_m_sin = yes; then
18222 cat >>confdefs.h <<\_ACEOF
18228 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
18229 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
18230 if test "${ac_cv_lib_m_sinl+set}" = set; then
18231 echo $ECHO_N "(cached) $ECHO_C" >&6
18233 ac_check_lib_save_LIBS=$LIBS
18235 if test x$gcc_no_link = xyes; then
18236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18238 { (exit 1); exit 1; }; }
18240 cat >conftest.$ac_ext <<_ACEOF
18243 cat confdefs.h >>conftest.$ac_ext
18244 cat >>conftest.$ac_ext <<_ACEOF
18245 /* end confdefs.h. */
18247 /* Override any gcc2 internal prototype to avoid an error. */
18251 /* We use char because int might match the return type of a gcc2
18252 builtin and then its argument prototype would still apply. */
18262 rm -f conftest.$ac_objext conftest$ac_exeext
18263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18264 (eval $ac_link) 2>conftest.er1
18266 grep -v '^ *+' conftest.er1 >conftest.err
18268 cat conftest.err >&5
18269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18270 (exit $ac_status); } &&
18271 { ac_try='test -z "$ac_c_werror_flag"
18272 || test ! -s conftest.err'
18273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18274 (eval $ac_try) 2>&5
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); }; } &&
18278 { ac_try='test -s conftest$ac_exeext'
18279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18280 (eval $ac_try) 2>&5
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); }; }; then
18284 ac_cv_lib_m_sinl=yes
18286 echo "$as_me: failed program was:" >&5
18287 sed 's/^/| /' conftest.$ac_ext >&5
18289 ac_cv_lib_m_sinl=no
18291 rm -f conftest.err conftest.$ac_objext \
18292 conftest$ac_exeext conftest.$ac_ext
18293 LIBS=$ac_check_lib_save_LIBS
18295 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
18296 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
18297 if test $ac_cv_lib_m_sinl = yes; then
18299 cat >>confdefs.h <<\_ACEOF
18300 #define HAVE_SINL 1
18305 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
18306 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
18307 if test "${ac_cv_lib_m_csinf+set}" = set; then
18308 echo $ECHO_N "(cached) $ECHO_C" >&6
18310 ac_check_lib_save_LIBS=$LIBS
18312 if test x$gcc_no_link = xyes; then
18313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18315 { (exit 1); exit 1; }; }
18317 cat >conftest.$ac_ext <<_ACEOF
18320 cat confdefs.h >>conftest.$ac_ext
18321 cat >>conftest.$ac_ext <<_ACEOF
18322 /* end confdefs.h. */
18324 /* Override any gcc2 internal prototype to avoid an error. */
18328 /* We use char because int might match the return type of a gcc2
18329 builtin and then its argument prototype would still apply. */
18339 rm -f conftest.$ac_objext conftest$ac_exeext
18340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18341 (eval $ac_link) 2>conftest.er1
18343 grep -v '^ *+' conftest.er1 >conftest.err
18345 cat conftest.err >&5
18346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18347 (exit $ac_status); } &&
18348 { ac_try='test -z "$ac_c_werror_flag"
18349 || test ! -s conftest.err'
18350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18351 (eval $ac_try) 2>&5
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); }; } &&
18355 { ac_try='test -s conftest$ac_exeext'
18356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18357 (eval $ac_try) 2>&5
18359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360 (exit $ac_status); }; }; then
18361 ac_cv_lib_m_csinf=yes
18363 echo "$as_me: failed program was:" >&5
18364 sed 's/^/| /' conftest.$ac_ext >&5
18366 ac_cv_lib_m_csinf=no
18368 rm -f conftest.err conftest.$ac_objext \
18369 conftest$ac_exeext conftest.$ac_ext
18370 LIBS=$ac_check_lib_save_LIBS
18372 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
18373 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
18374 if test $ac_cv_lib_m_csinf = yes; then
18376 cat >>confdefs.h <<\_ACEOF
18377 #define HAVE_CSINF 1
18382 echo "$as_me:$LINENO: checking for csin in -lm" >&5
18383 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
18384 if test "${ac_cv_lib_m_csin+set}" = set; then
18385 echo $ECHO_N "(cached) $ECHO_C" >&6
18387 ac_check_lib_save_LIBS=$LIBS
18389 if test x$gcc_no_link = xyes; then
18390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18392 { (exit 1); exit 1; }; }
18394 cat >conftest.$ac_ext <<_ACEOF
18397 cat confdefs.h >>conftest.$ac_ext
18398 cat >>conftest.$ac_ext <<_ACEOF
18399 /* end confdefs.h. */
18401 /* Override any gcc2 internal prototype to avoid an error. */
18405 /* We use char because int might match the return type of a gcc2
18406 builtin and then its argument prototype would still apply. */
18416 rm -f conftest.$ac_objext conftest$ac_exeext
18417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18418 (eval $ac_link) 2>conftest.er1
18420 grep -v '^ *+' conftest.er1 >conftest.err
18422 cat conftest.err >&5
18423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18424 (exit $ac_status); } &&
18425 { ac_try='test -z "$ac_c_werror_flag"
18426 || test ! -s conftest.err'
18427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18428 (eval $ac_try) 2>&5
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); }; } &&
18432 { ac_try='test -s conftest$ac_exeext'
18433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18434 (eval $ac_try) 2>&5
18436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437 (exit $ac_status); }; }; then
18438 ac_cv_lib_m_csin=yes
18440 echo "$as_me: failed program was:" >&5
18441 sed 's/^/| /' conftest.$ac_ext >&5
18443 ac_cv_lib_m_csin=no
18445 rm -f conftest.err conftest.$ac_objext \
18446 conftest$ac_exeext conftest.$ac_ext
18447 LIBS=$ac_check_lib_save_LIBS
18449 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
18450 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
18451 if test $ac_cv_lib_m_csin = yes; then
18453 cat >>confdefs.h <<\_ACEOF
18454 #define HAVE_CSIN 1
18459 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
18460 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
18461 if test "${ac_cv_lib_m_csinl+set}" = set; then
18462 echo $ECHO_N "(cached) $ECHO_C" >&6
18464 ac_check_lib_save_LIBS=$LIBS
18466 if test x$gcc_no_link = xyes; then
18467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18469 { (exit 1); exit 1; }; }
18471 cat >conftest.$ac_ext <<_ACEOF
18474 cat confdefs.h >>conftest.$ac_ext
18475 cat >>conftest.$ac_ext <<_ACEOF
18476 /* end confdefs.h. */
18478 /* Override any gcc2 internal prototype to avoid an error. */
18482 /* We use char because int might match the return type of a gcc2
18483 builtin and then its argument prototype would still apply. */
18493 rm -f conftest.$ac_objext conftest$ac_exeext
18494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18495 (eval $ac_link) 2>conftest.er1
18497 grep -v '^ *+' conftest.er1 >conftest.err
18499 cat conftest.err >&5
18500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18501 (exit $ac_status); } &&
18502 { ac_try='test -z "$ac_c_werror_flag"
18503 || test ! -s conftest.err'
18504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18505 (eval $ac_try) 2>&5
18507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508 (exit $ac_status); }; } &&
18509 { ac_try='test -s conftest$ac_exeext'
18510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18511 (eval $ac_try) 2>&5
18513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18514 (exit $ac_status); }; }; then
18515 ac_cv_lib_m_csinl=yes
18517 echo "$as_me: failed program was:" >&5
18518 sed 's/^/| /' conftest.$ac_ext >&5
18520 ac_cv_lib_m_csinl=no
18522 rm -f conftest.err conftest.$ac_objext \
18523 conftest$ac_exeext conftest.$ac_ext
18524 LIBS=$ac_check_lib_save_LIBS
18526 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
18527 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
18528 if test $ac_cv_lib_m_csinl = yes; then
18530 cat >>confdefs.h <<\_ACEOF
18531 #define HAVE_CSINL 1
18536 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
18537 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
18538 if test "${ac_cv_lib_m_sinhf+set}" = set; then
18539 echo $ECHO_N "(cached) $ECHO_C" >&6
18541 ac_check_lib_save_LIBS=$LIBS
18543 if test x$gcc_no_link = xyes; then
18544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18546 { (exit 1); exit 1; }; }
18548 cat >conftest.$ac_ext <<_ACEOF
18551 cat confdefs.h >>conftest.$ac_ext
18552 cat >>conftest.$ac_ext <<_ACEOF
18553 /* end confdefs.h. */
18555 /* Override any gcc2 internal prototype to avoid an error. */
18559 /* We use char because int might match the return type of a gcc2
18560 builtin and then its argument prototype would still apply. */
18570 rm -f conftest.$ac_objext conftest$ac_exeext
18571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18572 (eval $ac_link) 2>conftest.er1
18574 grep -v '^ *+' conftest.er1 >conftest.err
18576 cat conftest.err >&5
18577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); } &&
18579 { ac_try='test -z "$ac_c_werror_flag"
18580 || test ! -s conftest.err'
18581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18582 (eval $ac_try) 2>&5
18584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18585 (exit $ac_status); }; } &&
18586 { ac_try='test -s conftest$ac_exeext'
18587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18588 (eval $ac_try) 2>&5
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); }; }; then
18592 ac_cv_lib_m_sinhf=yes
18594 echo "$as_me: failed program was:" >&5
18595 sed 's/^/| /' conftest.$ac_ext >&5
18597 ac_cv_lib_m_sinhf=no
18599 rm -f conftest.err conftest.$ac_objext \
18600 conftest$ac_exeext conftest.$ac_ext
18601 LIBS=$ac_check_lib_save_LIBS
18603 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
18604 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
18605 if test $ac_cv_lib_m_sinhf = yes; then
18607 cat >>confdefs.h <<\_ACEOF
18608 #define HAVE_SINHF 1
18613 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
18614 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
18615 if test "${ac_cv_lib_m_sinh+set}" = set; then
18616 echo $ECHO_N "(cached) $ECHO_C" >&6
18618 ac_check_lib_save_LIBS=$LIBS
18620 if test x$gcc_no_link = xyes; then
18621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18623 { (exit 1); exit 1; }; }
18625 cat >conftest.$ac_ext <<_ACEOF
18628 cat confdefs.h >>conftest.$ac_ext
18629 cat >>conftest.$ac_ext <<_ACEOF
18630 /* end confdefs.h. */
18632 /* Override any gcc2 internal prototype to avoid an error. */
18636 /* We use char because int might match the return type of a gcc2
18637 builtin and then its argument prototype would still apply. */
18647 rm -f conftest.$ac_objext conftest$ac_exeext
18648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18649 (eval $ac_link) 2>conftest.er1
18651 grep -v '^ *+' conftest.er1 >conftest.err
18653 cat conftest.err >&5
18654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18655 (exit $ac_status); } &&
18656 { ac_try='test -z "$ac_c_werror_flag"
18657 || test ! -s conftest.err'
18658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18659 (eval $ac_try) 2>&5
18661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18662 (exit $ac_status); }; } &&
18663 { ac_try='test -s conftest$ac_exeext'
18664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18665 (eval $ac_try) 2>&5
18667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); }; }; then
18669 ac_cv_lib_m_sinh=yes
18671 echo "$as_me: failed program was:" >&5
18672 sed 's/^/| /' conftest.$ac_ext >&5
18674 ac_cv_lib_m_sinh=no
18676 rm -f conftest.err conftest.$ac_objext \
18677 conftest$ac_exeext conftest.$ac_ext
18678 LIBS=$ac_check_lib_save_LIBS
18680 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
18681 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
18682 if test $ac_cv_lib_m_sinh = yes; then
18684 cat >>confdefs.h <<\_ACEOF
18685 #define HAVE_SINH 1
18690 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
18691 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
18692 if test "${ac_cv_lib_m_sinhl+set}" = set; then
18693 echo $ECHO_N "(cached) $ECHO_C" >&6
18695 ac_check_lib_save_LIBS=$LIBS
18697 if test x$gcc_no_link = xyes; then
18698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18700 { (exit 1); exit 1; }; }
18702 cat >conftest.$ac_ext <<_ACEOF
18705 cat confdefs.h >>conftest.$ac_ext
18706 cat >>conftest.$ac_ext <<_ACEOF
18707 /* end confdefs.h. */
18709 /* Override any gcc2 internal prototype to avoid an error. */
18713 /* We use char because int might match the return type of a gcc2
18714 builtin and then its argument prototype would still apply. */
18724 rm -f conftest.$ac_objext conftest$ac_exeext
18725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18726 (eval $ac_link) 2>conftest.er1
18728 grep -v '^ *+' conftest.er1 >conftest.err
18730 cat conftest.err >&5
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); } &&
18733 { ac_try='test -z "$ac_c_werror_flag"
18734 || test ! -s conftest.err'
18735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18736 (eval $ac_try) 2>&5
18738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18739 (exit $ac_status); }; } &&
18740 { ac_try='test -s conftest$ac_exeext'
18741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18742 (eval $ac_try) 2>&5
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); }; }; then
18746 ac_cv_lib_m_sinhl=yes
18748 echo "$as_me: failed program was:" >&5
18749 sed 's/^/| /' conftest.$ac_ext >&5
18751 ac_cv_lib_m_sinhl=no
18753 rm -f conftest.err conftest.$ac_objext \
18754 conftest$ac_exeext conftest.$ac_ext
18755 LIBS=$ac_check_lib_save_LIBS
18757 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
18758 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
18759 if test $ac_cv_lib_m_sinhl = yes; then
18761 cat >>confdefs.h <<\_ACEOF
18762 #define HAVE_SINHL 1
18767 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
18768 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
18769 if test "${ac_cv_lib_m_csinhf+set}" = set; then
18770 echo $ECHO_N "(cached) $ECHO_C" >&6
18772 ac_check_lib_save_LIBS=$LIBS
18774 if test x$gcc_no_link = xyes; then
18775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18777 { (exit 1); exit 1; }; }
18779 cat >conftest.$ac_ext <<_ACEOF
18782 cat confdefs.h >>conftest.$ac_ext
18783 cat >>conftest.$ac_ext <<_ACEOF
18784 /* end confdefs.h. */
18786 /* Override any gcc2 internal prototype to avoid an error. */
18790 /* We use char because int might match the return type of a gcc2
18791 builtin and then its argument prototype would still apply. */
18801 rm -f conftest.$ac_objext conftest$ac_exeext
18802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18803 (eval $ac_link) 2>conftest.er1
18805 grep -v '^ *+' conftest.er1 >conftest.err
18807 cat conftest.err >&5
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); } &&
18810 { ac_try='test -z "$ac_c_werror_flag"
18811 || test ! -s conftest.err'
18812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18813 (eval $ac_try) 2>&5
18815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18816 (exit $ac_status); }; } &&
18817 { ac_try='test -s conftest$ac_exeext'
18818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18819 (eval $ac_try) 2>&5
18821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18822 (exit $ac_status); }; }; then
18823 ac_cv_lib_m_csinhf=yes
18825 echo "$as_me: failed program was:" >&5
18826 sed 's/^/| /' conftest.$ac_ext >&5
18828 ac_cv_lib_m_csinhf=no
18830 rm -f conftest.err conftest.$ac_objext \
18831 conftest$ac_exeext conftest.$ac_ext
18832 LIBS=$ac_check_lib_save_LIBS
18834 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
18835 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
18836 if test $ac_cv_lib_m_csinhf = yes; then
18838 cat >>confdefs.h <<\_ACEOF
18839 #define HAVE_CSINHF 1
18844 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
18845 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
18846 if test "${ac_cv_lib_m_csinh+set}" = set; then
18847 echo $ECHO_N "(cached) $ECHO_C" >&6
18849 ac_check_lib_save_LIBS=$LIBS
18851 if test x$gcc_no_link = xyes; then
18852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18854 { (exit 1); exit 1; }; }
18856 cat >conftest.$ac_ext <<_ACEOF
18859 cat confdefs.h >>conftest.$ac_ext
18860 cat >>conftest.$ac_ext <<_ACEOF
18861 /* end confdefs.h. */
18863 /* Override any gcc2 internal prototype to avoid an error. */
18867 /* We use char because int might match the return type of a gcc2
18868 builtin and then its argument prototype would still apply. */
18878 rm -f conftest.$ac_objext conftest$ac_exeext
18879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18880 (eval $ac_link) 2>conftest.er1
18882 grep -v '^ *+' conftest.er1 >conftest.err
18884 cat conftest.err >&5
18885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886 (exit $ac_status); } &&
18887 { ac_try='test -z "$ac_c_werror_flag"
18888 || test ! -s conftest.err'
18889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18890 (eval $ac_try) 2>&5
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); }; } &&
18894 { ac_try='test -s conftest$ac_exeext'
18895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18896 (eval $ac_try) 2>&5
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); }; }; then
18900 ac_cv_lib_m_csinh=yes
18902 echo "$as_me: failed program was:" >&5
18903 sed 's/^/| /' conftest.$ac_ext >&5
18905 ac_cv_lib_m_csinh=no
18907 rm -f conftest.err conftest.$ac_objext \
18908 conftest$ac_exeext conftest.$ac_ext
18909 LIBS=$ac_check_lib_save_LIBS
18911 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
18912 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
18913 if test $ac_cv_lib_m_csinh = yes; then
18915 cat >>confdefs.h <<\_ACEOF
18916 #define HAVE_CSINH 1
18921 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
18922 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
18923 if test "${ac_cv_lib_m_csinhl+set}" = set; then
18924 echo $ECHO_N "(cached) $ECHO_C" >&6
18926 ac_check_lib_save_LIBS=$LIBS
18928 if test x$gcc_no_link = xyes; then
18929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18931 { (exit 1); exit 1; }; }
18933 cat >conftest.$ac_ext <<_ACEOF
18936 cat confdefs.h >>conftest.$ac_ext
18937 cat >>conftest.$ac_ext <<_ACEOF
18938 /* end confdefs.h. */
18940 /* Override any gcc2 internal prototype to avoid an error. */
18944 /* We use char because int might match the return type of a gcc2
18945 builtin and then its argument prototype would still apply. */
18955 rm -f conftest.$ac_objext conftest$ac_exeext
18956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18957 (eval $ac_link) 2>conftest.er1
18959 grep -v '^ *+' conftest.er1 >conftest.err
18961 cat conftest.err >&5
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); } &&
18964 { ac_try='test -z "$ac_c_werror_flag"
18965 || test ! -s conftest.err'
18966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18967 (eval $ac_try) 2>&5
18969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18970 (exit $ac_status); }; } &&
18971 { ac_try='test -s conftest$ac_exeext'
18972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18973 (eval $ac_try) 2>&5
18975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18976 (exit $ac_status); }; }; then
18977 ac_cv_lib_m_csinhl=yes
18979 echo "$as_me: failed program was:" >&5
18980 sed 's/^/| /' conftest.$ac_ext >&5
18982 ac_cv_lib_m_csinhl=no
18984 rm -f conftest.err conftest.$ac_objext \
18985 conftest$ac_exeext conftest.$ac_ext
18986 LIBS=$ac_check_lib_save_LIBS
18988 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
18989 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
18990 if test $ac_cv_lib_m_csinhl = yes; then
18992 cat >>confdefs.h <<\_ACEOF
18993 #define HAVE_CSINHL 1
18998 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
18999 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
19000 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
19001 echo $ECHO_N "(cached) $ECHO_C" >&6
19003 ac_check_lib_save_LIBS=$LIBS
19005 if test x$gcc_no_link = xyes; then
19006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19008 { (exit 1); exit 1; }; }
19010 cat >conftest.$ac_ext <<_ACEOF
19013 cat confdefs.h >>conftest.$ac_ext
19014 cat >>conftest.$ac_ext <<_ACEOF
19015 /* end confdefs.h. */
19017 /* Override any gcc2 internal prototype to avoid an error. */
19021 /* We use char because int might match the return type of a gcc2
19022 builtin and then its argument prototype would still apply. */
19032 rm -f conftest.$ac_objext conftest$ac_exeext
19033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19034 (eval $ac_link) 2>conftest.er1
19036 grep -v '^ *+' conftest.er1 >conftest.err
19038 cat conftest.err >&5
19039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19040 (exit $ac_status); } &&
19041 { ac_try='test -z "$ac_c_werror_flag"
19042 || test ! -s conftest.err'
19043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19044 (eval $ac_try) 2>&5
19046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19047 (exit $ac_status); }; } &&
19048 { ac_try='test -s conftest$ac_exeext'
19049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19050 (eval $ac_try) 2>&5
19052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19053 (exit $ac_status); }; }; then
19054 ac_cv_lib_m_sqrtf=yes
19056 echo "$as_me: failed program was:" >&5
19057 sed 's/^/| /' conftest.$ac_ext >&5
19059 ac_cv_lib_m_sqrtf=no
19061 rm -f conftest.err conftest.$ac_objext \
19062 conftest$ac_exeext conftest.$ac_ext
19063 LIBS=$ac_check_lib_save_LIBS
19065 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
19066 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
19067 if test $ac_cv_lib_m_sqrtf = yes; then
19069 cat >>confdefs.h <<\_ACEOF
19070 #define HAVE_SQRTF 1
19075 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
19076 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
19077 if test "${ac_cv_lib_m_sqrt+set}" = set; then
19078 echo $ECHO_N "(cached) $ECHO_C" >&6
19080 ac_check_lib_save_LIBS=$LIBS
19082 if test x$gcc_no_link = xyes; then
19083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19085 { (exit 1); exit 1; }; }
19087 cat >conftest.$ac_ext <<_ACEOF
19090 cat confdefs.h >>conftest.$ac_ext
19091 cat >>conftest.$ac_ext <<_ACEOF
19092 /* end confdefs.h. */
19094 /* Override any gcc2 internal prototype to avoid an error. */
19098 /* We use char because int might match the return type of a gcc2
19099 builtin and then its argument prototype would still apply. */
19109 rm -f conftest.$ac_objext conftest$ac_exeext
19110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19111 (eval $ac_link) 2>conftest.er1
19113 grep -v '^ *+' conftest.er1 >conftest.err
19115 cat conftest.err >&5
19116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19117 (exit $ac_status); } &&
19118 { ac_try='test -z "$ac_c_werror_flag"
19119 || test ! -s conftest.err'
19120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19121 (eval $ac_try) 2>&5
19123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19124 (exit $ac_status); }; } &&
19125 { ac_try='test -s conftest$ac_exeext'
19126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19127 (eval $ac_try) 2>&5
19129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19130 (exit $ac_status); }; }; then
19131 ac_cv_lib_m_sqrt=yes
19133 echo "$as_me: failed program was:" >&5
19134 sed 's/^/| /' conftest.$ac_ext >&5
19136 ac_cv_lib_m_sqrt=no
19138 rm -f conftest.err conftest.$ac_objext \
19139 conftest$ac_exeext conftest.$ac_ext
19140 LIBS=$ac_check_lib_save_LIBS
19142 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
19143 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
19144 if test $ac_cv_lib_m_sqrt = yes; then
19146 cat >>confdefs.h <<\_ACEOF
19147 #define HAVE_SQRT 1
19152 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
19153 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
19154 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
19155 echo $ECHO_N "(cached) $ECHO_C" >&6
19157 ac_check_lib_save_LIBS=$LIBS
19159 if test x$gcc_no_link = xyes; then
19160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19162 { (exit 1); exit 1; }; }
19164 cat >conftest.$ac_ext <<_ACEOF
19167 cat confdefs.h >>conftest.$ac_ext
19168 cat >>conftest.$ac_ext <<_ACEOF
19169 /* end confdefs.h. */
19171 /* Override any gcc2 internal prototype to avoid an error. */
19175 /* We use char because int might match the return type of a gcc2
19176 builtin and then its argument prototype would still apply. */
19186 rm -f conftest.$ac_objext conftest$ac_exeext
19187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19188 (eval $ac_link) 2>conftest.er1
19190 grep -v '^ *+' conftest.er1 >conftest.err
19192 cat conftest.err >&5
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); } &&
19195 { ac_try='test -z "$ac_c_werror_flag"
19196 || test ! -s conftest.err'
19197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19198 (eval $ac_try) 2>&5
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); }; } &&
19202 { ac_try='test -s conftest$ac_exeext'
19203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19204 (eval $ac_try) 2>&5
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); }; }; then
19208 ac_cv_lib_m_sqrtl=yes
19210 echo "$as_me: failed program was:" >&5
19211 sed 's/^/| /' conftest.$ac_ext >&5
19213 ac_cv_lib_m_sqrtl=no
19215 rm -f conftest.err conftest.$ac_objext \
19216 conftest$ac_exeext conftest.$ac_ext
19217 LIBS=$ac_check_lib_save_LIBS
19219 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
19220 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
19221 if test $ac_cv_lib_m_sqrtl = yes; then
19223 cat >>confdefs.h <<\_ACEOF
19224 #define HAVE_SQRTL 1
19229 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
19230 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
19231 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
19232 echo $ECHO_N "(cached) $ECHO_C" >&6
19234 ac_check_lib_save_LIBS=$LIBS
19236 if test x$gcc_no_link = xyes; then
19237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19239 { (exit 1); exit 1; }; }
19241 cat >conftest.$ac_ext <<_ACEOF
19244 cat confdefs.h >>conftest.$ac_ext
19245 cat >>conftest.$ac_ext <<_ACEOF
19246 /* end confdefs.h. */
19248 /* Override any gcc2 internal prototype to avoid an error. */
19252 /* We use char because int might match the return type of a gcc2
19253 builtin and then its argument prototype would still apply. */
19263 rm -f conftest.$ac_objext conftest$ac_exeext
19264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19265 (eval $ac_link) 2>conftest.er1
19267 grep -v '^ *+' conftest.er1 >conftest.err
19269 cat conftest.err >&5
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); } &&
19272 { ac_try='test -z "$ac_c_werror_flag"
19273 || test ! -s conftest.err'
19274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19275 (eval $ac_try) 2>&5
19277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278 (exit $ac_status); }; } &&
19279 { ac_try='test -s conftest$ac_exeext'
19280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19281 (eval $ac_try) 2>&5
19283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19284 (exit $ac_status); }; }; then
19285 ac_cv_lib_m_csqrtf=yes
19287 echo "$as_me: failed program was:" >&5
19288 sed 's/^/| /' conftest.$ac_ext >&5
19290 ac_cv_lib_m_csqrtf=no
19292 rm -f conftest.err conftest.$ac_objext \
19293 conftest$ac_exeext conftest.$ac_ext
19294 LIBS=$ac_check_lib_save_LIBS
19296 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
19297 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
19298 if test $ac_cv_lib_m_csqrtf = yes; then
19300 cat >>confdefs.h <<\_ACEOF
19301 #define HAVE_CSQRTF 1
19306 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
19307 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
19308 if test "${ac_cv_lib_m_csqrt+set}" = set; then
19309 echo $ECHO_N "(cached) $ECHO_C" >&6
19311 ac_check_lib_save_LIBS=$LIBS
19313 if test x$gcc_no_link = xyes; then
19314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19316 { (exit 1); exit 1; }; }
19318 cat >conftest.$ac_ext <<_ACEOF
19321 cat confdefs.h >>conftest.$ac_ext
19322 cat >>conftest.$ac_ext <<_ACEOF
19323 /* end confdefs.h. */
19325 /* Override any gcc2 internal prototype to avoid an error. */
19329 /* We use char because int might match the return type of a gcc2
19330 builtin and then its argument prototype would still apply. */
19340 rm -f conftest.$ac_objext conftest$ac_exeext
19341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19342 (eval $ac_link) 2>conftest.er1
19344 grep -v '^ *+' conftest.er1 >conftest.err
19346 cat conftest.err >&5
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); } &&
19349 { ac_try='test -z "$ac_c_werror_flag"
19350 || test ! -s conftest.err'
19351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19352 (eval $ac_try) 2>&5
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); }; } &&
19356 { ac_try='test -s conftest$ac_exeext'
19357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19358 (eval $ac_try) 2>&5
19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); }; }; then
19362 ac_cv_lib_m_csqrt=yes
19364 echo "$as_me: failed program was:" >&5
19365 sed 's/^/| /' conftest.$ac_ext >&5
19367 ac_cv_lib_m_csqrt=no
19369 rm -f conftest.err conftest.$ac_objext \
19370 conftest$ac_exeext conftest.$ac_ext
19371 LIBS=$ac_check_lib_save_LIBS
19373 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
19374 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
19375 if test $ac_cv_lib_m_csqrt = yes; then
19377 cat >>confdefs.h <<\_ACEOF
19378 #define HAVE_CSQRT 1
19383 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
19384 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
19385 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
19386 echo $ECHO_N "(cached) $ECHO_C" >&6
19388 ac_check_lib_save_LIBS=$LIBS
19390 if test x$gcc_no_link = xyes; then
19391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19393 { (exit 1); exit 1; }; }
19395 cat >conftest.$ac_ext <<_ACEOF
19398 cat confdefs.h >>conftest.$ac_ext
19399 cat >>conftest.$ac_ext <<_ACEOF
19400 /* end confdefs.h. */
19402 /* Override any gcc2 internal prototype to avoid an error. */
19406 /* We use char because int might match the return type of a gcc2
19407 builtin and then its argument prototype would still apply. */
19417 rm -f conftest.$ac_objext conftest$ac_exeext
19418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19419 (eval $ac_link) 2>conftest.er1
19421 grep -v '^ *+' conftest.er1 >conftest.err
19423 cat conftest.err >&5
19424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19425 (exit $ac_status); } &&
19426 { ac_try='test -z "$ac_c_werror_flag"
19427 || test ! -s conftest.err'
19428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19429 (eval $ac_try) 2>&5
19431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19432 (exit $ac_status); }; } &&
19433 { ac_try='test -s conftest$ac_exeext'
19434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19435 (eval $ac_try) 2>&5
19437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438 (exit $ac_status); }; }; then
19439 ac_cv_lib_m_csqrtl=yes
19441 echo "$as_me: failed program was:" >&5
19442 sed 's/^/| /' conftest.$ac_ext >&5
19444 ac_cv_lib_m_csqrtl=no
19446 rm -f conftest.err conftest.$ac_objext \
19447 conftest$ac_exeext conftest.$ac_ext
19448 LIBS=$ac_check_lib_save_LIBS
19450 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
19451 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
19452 if test $ac_cv_lib_m_csqrtl = yes; then
19454 cat >>confdefs.h <<\_ACEOF
19455 #define HAVE_CSQRTL 1
19460 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
19461 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
19462 if test "${ac_cv_lib_m_tanf+set}" = set; then
19463 echo $ECHO_N "(cached) $ECHO_C" >&6
19465 ac_check_lib_save_LIBS=$LIBS
19467 if test x$gcc_no_link = xyes; then
19468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19470 { (exit 1); exit 1; }; }
19472 cat >conftest.$ac_ext <<_ACEOF
19475 cat confdefs.h >>conftest.$ac_ext
19476 cat >>conftest.$ac_ext <<_ACEOF
19477 /* end confdefs.h. */
19479 /* Override any gcc2 internal prototype to avoid an error. */
19483 /* We use char because int might match the return type of a gcc2
19484 builtin and then its argument prototype would still apply. */
19494 rm -f conftest.$ac_objext conftest$ac_exeext
19495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19496 (eval $ac_link) 2>conftest.er1
19498 grep -v '^ *+' conftest.er1 >conftest.err
19500 cat conftest.err >&5
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); } &&
19503 { ac_try='test -z "$ac_c_werror_flag"
19504 || test ! -s conftest.err'
19505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19506 (eval $ac_try) 2>&5
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); }; } &&
19510 { ac_try='test -s conftest$ac_exeext'
19511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19512 (eval $ac_try) 2>&5
19514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19515 (exit $ac_status); }; }; then
19516 ac_cv_lib_m_tanf=yes
19518 echo "$as_me: failed program was:" >&5
19519 sed 's/^/| /' conftest.$ac_ext >&5
19521 ac_cv_lib_m_tanf=no
19523 rm -f conftest.err conftest.$ac_objext \
19524 conftest$ac_exeext conftest.$ac_ext
19525 LIBS=$ac_check_lib_save_LIBS
19527 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
19528 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
19529 if test $ac_cv_lib_m_tanf = yes; then
19531 cat >>confdefs.h <<\_ACEOF
19532 #define HAVE_TANF 1
19537 echo "$as_me:$LINENO: checking for tan in -lm" >&5
19538 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
19539 if test "${ac_cv_lib_m_tan+set}" = set; then
19540 echo $ECHO_N "(cached) $ECHO_C" >&6
19542 ac_check_lib_save_LIBS=$LIBS
19544 if test x$gcc_no_link = xyes; then
19545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19547 { (exit 1); exit 1; }; }
19549 cat >conftest.$ac_ext <<_ACEOF
19552 cat confdefs.h >>conftest.$ac_ext
19553 cat >>conftest.$ac_ext <<_ACEOF
19554 /* end confdefs.h. */
19556 /* Override any gcc2 internal prototype to avoid an error. */
19560 /* We use char because int might match the return type of a gcc2
19561 builtin and then its argument prototype would still apply. */
19571 rm -f conftest.$ac_objext conftest$ac_exeext
19572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19573 (eval $ac_link) 2>conftest.er1
19575 grep -v '^ *+' conftest.er1 >conftest.err
19577 cat conftest.err >&5
19578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19579 (exit $ac_status); } &&
19580 { ac_try='test -z "$ac_c_werror_flag"
19581 || test ! -s conftest.err'
19582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19583 (eval $ac_try) 2>&5
19585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586 (exit $ac_status); }; } &&
19587 { ac_try='test -s conftest$ac_exeext'
19588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19589 (eval $ac_try) 2>&5
19591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592 (exit $ac_status); }; }; then
19593 ac_cv_lib_m_tan=yes
19595 echo "$as_me: failed program was:" >&5
19596 sed 's/^/| /' conftest.$ac_ext >&5
19600 rm -f conftest.err conftest.$ac_objext \
19601 conftest$ac_exeext conftest.$ac_ext
19602 LIBS=$ac_check_lib_save_LIBS
19604 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
19605 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
19606 if test $ac_cv_lib_m_tan = yes; then
19608 cat >>confdefs.h <<\_ACEOF
19614 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
19615 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
19616 if test "${ac_cv_lib_m_tanl+set}" = set; then
19617 echo $ECHO_N "(cached) $ECHO_C" >&6
19619 ac_check_lib_save_LIBS=$LIBS
19621 if test x$gcc_no_link = xyes; then
19622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19624 { (exit 1); exit 1; }; }
19626 cat >conftest.$ac_ext <<_ACEOF
19629 cat confdefs.h >>conftest.$ac_ext
19630 cat >>conftest.$ac_ext <<_ACEOF
19631 /* end confdefs.h. */
19633 /* Override any gcc2 internal prototype to avoid an error. */
19637 /* We use char because int might match the return type of a gcc2
19638 builtin and then its argument prototype would still apply. */
19648 rm -f conftest.$ac_objext conftest$ac_exeext
19649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19650 (eval $ac_link) 2>conftest.er1
19652 grep -v '^ *+' conftest.er1 >conftest.err
19654 cat conftest.err >&5
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); } &&
19657 { ac_try='test -z "$ac_c_werror_flag"
19658 || test ! -s conftest.err'
19659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19660 (eval $ac_try) 2>&5
19662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19663 (exit $ac_status); }; } &&
19664 { ac_try='test -s conftest$ac_exeext'
19665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19666 (eval $ac_try) 2>&5
19668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669 (exit $ac_status); }; }; then
19670 ac_cv_lib_m_tanl=yes
19672 echo "$as_me: failed program was:" >&5
19673 sed 's/^/| /' conftest.$ac_ext >&5
19675 ac_cv_lib_m_tanl=no
19677 rm -f conftest.err conftest.$ac_objext \
19678 conftest$ac_exeext conftest.$ac_ext
19679 LIBS=$ac_check_lib_save_LIBS
19681 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
19682 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
19683 if test $ac_cv_lib_m_tanl = yes; then
19685 cat >>confdefs.h <<\_ACEOF
19686 #define HAVE_TANL 1
19691 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
19692 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
19693 if test "${ac_cv_lib_m_ctanf+set}" = set; then
19694 echo $ECHO_N "(cached) $ECHO_C" >&6
19696 ac_check_lib_save_LIBS=$LIBS
19698 if test x$gcc_no_link = xyes; then
19699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19701 { (exit 1); exit 1; }; }
19703 cat >conftest.$ac_ext <<_ACEOF
19706 cat confdefs.h >>conftest.$ac_ext
19707 cat >>conftest.$ac_ext <<_ACEOF
19708 /* end confdefs.h. */
19710 /* Override any gcc2 internal prototype to avoid an error. */
19714 /* We use char because int might match the return type of a gcc2
19715 builtin and then its argument prototype would still apply. */
19725 rm -f conftest.$ac_objext conftest$ac_exeext
19726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19727 (eval $ac_link) 2>conftest.er1
19729 grep -v '^ *+' conftest.er1 >conftest.err
19731 cat conftest.err >&5
19732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19733 (exit $ac_status); } &&
19734 { ac_try='test -z "$ac_c_werror_flag"
19735 || test ! -s conftest.err'
19736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19737 (eval $ac_try) 2>&5
19739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19740 (exit $ac_status); }; } &&
19741 { ac_try='test -s conftest$ac_exeext'
19742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19743 (eval $ac_try) 2>&5
19745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746 (exit $ac_status); }; }; then
19747 ac_cv_lib_m_ctanf=yes
19749 echo "$as_me: failed program was:" >&5
19750 sed 's/^/| /' conftest.$ac_ext >&5
19752 ac_cv_lib_m_ctanf=no
19754 rm -f conftest.err conftest.$ac_objext \
19755 conftest$ac_exeext conftest.$ac_ext
19756 LIBS=$ac_check_lib_save_LIBS
19758 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
19759 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
19760 if test $ac_cv_lib_m_ctanf = yes; then
19762 cat >>confdefs.h <<\_ACEOF
19763 #define HAVE_CTANF 1
19768 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
19769 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
19770 if test "${ac_cv_lib_m_ctan+set}" = set; then
19771 echo $ECHO_N "(cached) $ECHO_C" >&6
19773 ac_check_lib_save_LIBS=$LIBS
19775 if test x$gcc_no_link = xyes; then
19776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19778 { (exit 1); exit 1; }; }
19780 cat >conftest.$ac_ext <<_ACEOF
19783 cat confdefs.h >>conftest.$ac_ext
19784 cat >>conftest.$ac_ext <<_ACEOF
19785 /* end confdefs.h. */
19787 /* Override any gcc2 internal prototype to avoid an error. */
19791 /* We use char because int might match the return type of a gcc2
19792 builtin and then its argument prototype would still apply. */
19802 rm -f conftest.$ac_objext conftest$ac_exeext
19803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19804 (eval $ac_link) 2>conftest.er1
19806 grep -v '^ *+' conftest.er1 >conftest.err
19808 cat conftest.err >&5
19809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19810 (exit $ac_status); } &&
19811 { ac_try='test -z "$ac_c_werror_flag"
19812 || test ! -s conftest.err'
19813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19814 (eval $ac_try) 2>&5
19816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19817 (exit $ac_status); }; } &&
19818 { ac_try='test -s conftest$ac_exeext'
19819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19820 (eval $ac_try) 2>&5
19822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823 (exit $ac_status); }; }; then
19824 ac_cv_lib_m_ctan=yes
19826 echo "$as_me: failed program was:" >&5
19827 sed 's/^/| /' conftest.$ac_ext >&5
19829 ac_cv_lib_m_ctan=no
19831 rm -f conftest.err conftest.$ac_objext \
19832 conftest$ac_exeext conftest.$ac_ext
19833 LIBS=$ac_check_lib_save_LIBS
19835 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
19836 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
19837 if test $ac_cv_lib_m_ctan = yes; then
19839 cat >>confdefs.h <<\_ACEOF
19840 #define HAVE_CTAN 1
19845 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
19846 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
19847 if test "${ac_cv_lib_m_ctanl+set}" = set; then
19848 echo $ECHO_N "(cached) $ECHO_C" >&6
19850 ac_check_lib_save_LIBS=$LIBS
19852 if test x$gcc_no_link = xyes; then
19853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19855 { (exit 1); exit 1; }; }
19857 cat >conftest.$ac_ext <<_ACEOF
19860 cat confdefs.h >>conftest.$ac_ext
19861 cat >>conftest.$ac_ext <<_ACEOF
19862 /* end confdefs.h. */
19864 /* Override any gcc2 internal prototype to avoid an error. */
19868 /* We use char because int might match the return type of a gcc2
19869 builtin and then its argument prototype would still apply. */
19879 rm -f conftest.$ac_objext conftest$ac_exeext
19880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19881 (eval $ac_link) 2>conftest.er1
19883 grep -v '^ *+' conftest.er1 >conftest.err
19885 cat conftest.err >&5
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); } &&
19888 { ac_try='test -z "$ac_c_werror_flag"
19889 || test ! -s conftest.err'
19890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19891 (eval $ac_try) 2>&5
19893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894 (exit $ac_status); }; } &&
19895 { ac_try='test -s conftest$ac_exeext'
19896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19897 (eval $ac_try) 2>&5
19899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19900 (exit $ac_status); }; }; then
19901 ac_cv_lib_m_ctanl=yes
19903 echo "$as_me: failed program was:" >&5
19904 sed 's/^/| /' conftest.$ac_ext >&5
19906 ac_cv_lib_m_ctanl=no
19908 rm -f conftest.err conftest.$ac_objext \
19909 conftest$ac_exeext conftest.$ac_ext
19910 LIBS=$ac_check_lib_save_LIBS
19912 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
19913 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
19914 if test $ac_cv_lib_m_ctanl = yes; then
19916 cat >>confdefs.h <<\_ACEOF
19917 #define HAVE_CTANL 1
19922 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
19923 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
19924 if test "${ac_cv_lib_m_tanhf+set}" = set; then
19925 echo $ECHO_N "(cached) $ECHO_C" >&6
19927 ac_check_lib_save_LIBS=$LIBS
19929 if test x$gcc_no_link = xyes; then
19930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19932 { (exit 1); exit 1; }; }
19934 cat >conftest.$ac_ext <<_ACEOF
19937 cat confdefs.h >>conftest.$ac_ext
19938 cat >>conftest.$ac_ext <<_ACEOF
19939 /* end confdefs.h. */
19941 /* Override any gcc2 internal prototype to avoid an error. */
19945 /* We use char because int might match the return type of a gcc2
19946 builtin and then its argument prototype would still apply. */
19956 rm -f conftest.$ac_objext conftest$ac_exeext
19957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19958 (eval $ac_link) 2>conftest.er1
19960 grep -v '^ *+' conftest.er1 >conftest.err
19962 cat conftest.err >&5
19963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964 (exit $ac_status); } &&
19965 { ac_try='test -z "$ac_c_werror_flag"
19966 || test ! -s conftest.err'
19967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19968 (eval $ac_try) 2>&5
19970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19971 (exit $ac_status); }; } &&
19972 { ac_try='test -s conftest$ac_exeext'
19973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19974 (eval $ac_try) 2>&5
19976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977 (exit $ac_status); }; }; then
19978 ac_cv_lib_m_tanhf=yes
19980 echo "$as_me: failed program was:" >&5
19981 sed 's/^/| /' conftest.$ac_ext >&5
19983 ac_cv_lib_m_tanhf=no
19985 rm -f conftest.err conftest.$ac_objext \
19986 conftest$ac_exeext conftest.$ac_ext
19987 LIBS=$ac_check_lib_save_LIBS
19989 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
19990 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
19991 if test $ac_cv_lib_m_tanhf = yes; then
19993 cat >>confdefs.h <<\_ACEOF
19994 #define HAVE_TANHF 1
19999 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
20000 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
20001 if test "${ac_cv_lib_m_tanh+set}" = set; then
20002 echo $ECHO_N "(cached) $ECHO_C" >&6
20004 ac_check_lib_save_LIBS=$LIBS
20006 if test x$gcc_no_link = xyes; then
20007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20009 { (exit 1); exit 1; }; }
20011 cat >conftest.$ac_ext <<_ACEOF
20014 cat confdefs.h >>conftest.$ac_ext
20015 cat >>conftest.$ac_ext <<_ACEOF
20016 /* end confdefs.h. */
20018 /* Override any gcc2 internal prototype to avoid an error. */
20022 /* We use char because int might match the return type of a gcc2
20023 builtin and then its argument prototype would still apply. */
20033 rm -f conftest.$ac_objext conftest$ac_exeext
20034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20035 (eval $ac_link) 2>conftest.er1
20037 grep -v '^ *+' conftest.er1 >conftest.err
20039 cat conftest.err >&5
20040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041 (exit $ac_status); } &&
20042 { ac_try='test -z "$ac_c_werror_flag"
20043 || test ! -s conftest.err'
20044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20045 (eval $ac_try) 2>&5
20047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048 (exit $ac_status); }; } &&
20049 { ac_try='test -s conftest$ac_exeext'
20050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20051 (eval $ac_try) 2>&5
20053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20054 (exit $ac_status); }; }; then
20055 ac_cv_lib_m_tanh=yes
20057 echo "$as_me: failed program was:" >&5
20058 sed 's/^/| /' conftest.$ac_ext >&5
20060 ac_cv_lib_m_tanh=no
20062 rm -f conftest.err conftest.$ac_objext \
20063 conftest$ac_exeext conftest.$ac_ext
20064 LIBS=$ac_check_lib_save_LIBS
20066 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
20067 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
20068 if test $ac_cv_lib_m_tanh = yes; then
20070 cat >>confdefs.h <<\_ACEOF
20071 #define HAVE_TANH 1
20076 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
20077 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
20078 if test "${ac_cv_lib_m_tanhl+set}" = set; then
20079 echo $ECHO_N "(cached) $ECHO_C" >&6
20081 ac_check_lib_save_LIBS=$LIBS
20083 if test x$gcc_no_link = xyes; then
20084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20086 { (exit 1); exit 1; }; }
20088 cat >conftest.$ac_ext <<_ACEOF
20091 cat confdefs.h >>conftest.$ac_ext
20092 cat >>conftest.$ac_ext <<_ACEOF
20093 /* end confdefs.h. */
20095 /* Override any gcc2 internal prototype to avoid an error. */
20099 /* We use char because int might match the return type of a gcc2
20100 builtin and then its argument prototype would still apply. */
20110 rm -f conftest.$ac_objext conftest$ac_exeext
20111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20112 (eval $ac_link) 2>conftest.er1
20114 grep -v '^ *+' conftest.er1 >conftest.err
20116 cat conftest.err >&5
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); } &&
20119 { ac_try='test -z "$ac_c_werror_flag"
20120 || test ! -s conftest.err'
20121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20122 (eval $ac_try) 2>&5
20124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20125 (exit $ac_status); }; } &&
20126 { ac_try='test -s conftest$ac_exeext'
20127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20128 (eval $ac_try) 2>&5
20130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20131 (exit $ac_status); }; }; then
20132 ac_cv_lib_m_tanhl=yes
20134 echo "$as_me: failed program was:" >&5
20135 sed 's/^/| /' conftest.$ac_ext >&5
20137 ac_cv_lib_m_tanhl=no
20139 rm -f conftest.err conftest.$ac_objext \
20140 conftest$ac_exeext conftest.$ac_ext
20141 LIBS=$ac_check_lib_save_LIBS
20143 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
20144 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
20145 if test $ac_cv_lib_m_tanhl = yes; then
20147 cat >>confdefs.h <<\_ACEOF
20148 #define HAVE_TANHL 1
20153 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
20154 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
20155 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
20156 echo $ECHO_N "(cached) $ECHO_C" >&6
20158 ac_check_lib_save_LIBS=$LIBS
20160 if test x$gcc_no_link = xyes; then
20161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20163 { (exit 1); exit 1; }; }
20165 cat >conftest.$ac_ext <<_ACEOF
20168 cat confdefs.h >>conftest.$ac_ext
20169 cat >>conftest.$ac_ext <<_ACEOF
20170 /* end confdefs.h. */
20172 /* Override any gcc2 internal prototype to avoid an error. */
20176 /* We use char because int might match the return type of a gcc2
20177 builtin and then its argument prototype would still apply. */
20187 rm -f conftest.$ac_objext conftest$ac_exeext
20188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20189 (eval $ac_link) 2>conftest.er1
20191 grep -v '^ *+' conftest.er1 >conftest.err
20193 cat conftest.err >&5
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); } &&
20196 { ac_try='test -z "$ac_c_werror_flag"
20197 || test ! -s conftest.err'
20198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20199 (eval $ac_try) 2>&5
20201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20202 (exit $ac_status); }; } &&
20203 { ac_try='test -s conftest$ac_exeext'
20204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20205 (eval $ac_try) 2>&5
20207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20208 (exit $ac_status); }; }; then
20209 ac_cv_lib_m_ctanhf=yes
20211 echo "$as_me: failed program was:" >&5
20212 sed 's/^/| /' conftest.$ac_ext >&5
20214 ac_cv_lib_m_ctanhf=no
20216 rm -f conftest.err conftest.$ac_objext \
20217 conftest$ac_exeext conftest.$ac_ext
20218 LIBS=$ac_check_lib_save_LIBS
20220 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
20221 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
20222 if test $ac_cv_lib_m_ctanhf = yes; then
20224 cat >>confdefs.h <<\_ACEOF
20225 #define HAVE_CTANHF 1
20230 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
20231 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
20232 if test "${ac_cv_lib_m_ctanh+set}" = set; then
20233 echo $ECHO_N "(cached) $ECHO_C" >&6
20235 ac_check_lib_save_LIBS=$LIBS
20237 if test x$gcc_no_link = xyes; then
20238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20240 { (exit 1); exit 1; }; }
20242 cat >conftest.$ac_ext <<_ACEOF
20245 cat confdefs.h >>conftest.$ac_ext
20246 cat >>conftest.$ac_ext <<_ACEOF
20247 /* end confdefs.h. */
20249 /* Override any gcc2 internal prototype to avoid an error. */
20253 /* We use char because int might match the return type of a gcc2
20254 builtin and then its argument prototype would still apply. */
20264 rm -f conftest.$ac_objext conftest$ac_exeext
20265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20266 (eval $ac_link) 2>conftest.er1
20268 grep -v '^ *+' conftest.er1 >conftest.err
20270 cat conftest.err >&5
20271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20272 (exit $ac_status); } &&
20273 { ac_try='test -z "$ac_c_werror_flag"
20274 || test ! -s conftest.err'
20275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20276 (eval $ac_try) 2>&5
20278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279 (exit $ac_status); }; } &&
20280 { ac_try='test -s conftest$ac_exeext'
20281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20282 (eval $ac_try) 2>&5
20284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20285 (exit $ac_status); }; }; then
20286 ac_cv_lib_m_ctanh=yes
20288 echo "$as_me: failed program was:" >&5
20289 sed 's/^/| /' conftest.$ac_ext >&5
20291 ac_cv_lib_m_ctanh=no
20293 rm -f conftest.err conftest.$ac_objext \
20294 conftest$ac_exeext conftest.$ac_ext
20295 LIBS=$ac_check_lib_save_LIBS
20297 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
20298 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
20299 if test $ac_cv_lib_m_ctanh = yes; then
20301 cat >>confdefs.h <<\_ACEOF
20302 #define HAVE_CTANH 1
20307 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
20308 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
20309 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
20310 echo $ECHO_N "(cached) $ECHO_C" >&6
20312 ac_check_lib_save_LIBS=$LIBS
20314 if test x$gcc_no_link = xyes; then
20315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20317 { (exit 1); exit 1; }; }
20319 cat >conftest.$ac_ext <<_ACEOF
20322 cat confdefs.h >>conftest.$ac_ext
20323 cat >>conftest.$ac_ext <<_ACEOF
20324 /* end confdefs.h. */
20326 /* Override any gcc2 internal prototype to avoid an error. */
20330 /* We use char because int might match the return type of a gcc2
20331 builtin and then its argument prototype would still apply. */
20341 rm -f conftest.$ac_objext conftest$ac_exeext
20342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20343 (eval $ac_link) 2>conftest.er1
20345 grep -v '^ *+' conftest.er1 >conftest.err
20347 cat conftest.err >&5
20348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20349 (exit $ac_status); } &&
20350 { ac_try='test -z "$ac_c_werror_flag"
20351 || test ! -s conftest.err'
20352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20353 (eval $ac_try) 2>&5
20355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20356 (exit $ac_status); }; } &&
20357 { ac_try='test -s conftest$ac_exeext'
20358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20359 (eval $ac_try) 2>&5
20361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362 (exit $ac_status); }; }; then
20363 ac_cv_lib_m_ctanhl=yes
20365 echo "$as_me: failed program was:" >&5
20366 sed 's/^/| /' conftest.$ac_ext >&5
20368 ac_cv_lib_m_ctanhl=no
20370 rm -f conftest.err conftest.$ac_objext \
20371 conftest$ac_exeext conftest.$ac_ext
20372 LIBS=$ac_check_lib_save_LIBS
20374 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
20375 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
20376 if test $ac_cv_lib_m_ctanhl = yes; then
20378 cat >>confdefs.h <<\_ACEOF
20379 #define HAVE_CTANHL 1
20384 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
20385 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
20386 if test "${ac_cv_lib_m_truncf+set}" = set; then
20387 echo $ECHO_N "(cached) $ECHO_C" >&6
20389 ac_check_lib_save_LIBS=$LIBS
20391 if test x$gcc_no_link = xyes; then
20392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20394 { (exit 1); exit 1; }; }
20396 cat >conftest.$ac_ext <<_ACEOF
20399 cat confdefs.h >>conftest.$ac_ext
20400 cat >>conftest.$ac_ext <<_ACEOF
20401 /* end confdefs.h. */
20403 /* Override any gcc2 internal prototype to avoid an error. */
20407 /* We use char because int might match the return type of a gcc2
20408 builtin and then its argument prototype would still apply. */
20418 rm -f conftest.$ac_objext conftest$ac_exeext
20419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20420 (eval $ac_link) 2>conftest.er1
20422 grep -v '^ *+' conftest.er1 >conftest.err
20424 cat conftest.err >&5
20425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20426 (exit $ac_status); } &&
20427 { ac_try='test -z "$ac_c_werror_flag"
20428 || test ! -s conftest.err'
20429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20430 (eval $ac_try) 2>&5
20432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20433 (exit $ac_status); }; } &&
20434 { ac_try='test -s conftest$ac_exeext'
20435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20436 (eval $ac_try) 2>&5
20438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20439 (exit $ac_status); }; }; then
20440 ac_cv_lib_m_truncf=yes
20442 echo "$as_me: failed program was:" >&5
20443 sed 's/^/| /' conftest.$ac_ext >&5
20445 ac_cv_lib_m_truncf=no
20447 rm -f conftest.err conftest.$ac_objext \
20448 conftest$ac_exeext conftest.$ac_ext
20449 LIBS=$ac_check_lib_save_LIBS
20451 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
20452 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
20453 if test $ac_cv_lib_m_truncf = yes; then
20455 cat >>confdefs.h <<\_ACEOF
20456 #define HAVE_TRUNCF 1
20461 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
20462 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
20463 if test "${ac_cv_lib_m_trunc+set}" = set; then
20464 echo $ECHO_N "(cached) $ECHO_C" >&6
20466 ac_check_lib_save_LIBS=$LIBS
20468 if test x$gcc_no_link = xyes; then
20469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20471 { (exit 1); exit 1; }; }
20473 cat >conftest.$ac_ext <<_ACEOF
20476 cat confdefs.h >>conftest.$ac_ext
20477 cat >>conftest.$ac_ext <<_ACEOF
20478 /* end confdefs.h. */
20480 /* Override any gcc2 internal prototype to avoid an error. */
20484 /* We use char because int might match the return type of a gcc2
20485 builtin and then its argument prototype would still apply. */
20495 rm -f conftest.$ac_objext conftest$ac_exeext
20496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20497 (eval $ac_link) 2>conftest.er1
20499 grep -v '^ *+' conftest.er1 >conftest.err
20501 cat conftest.err >&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); } &&
20504 { ac_try='test -z "$ac_c_werror_flag"
20505 || test ! -s conftest.err'
20506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20507 (eval $ac_try) 2>&5
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); }; } &&
20511 { ac_try='test -s conftest$ac_exeext'
20512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20513 (eval $ac_try) 2>&5
20515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20516 (exit $ac_status); }; }; then
20517 ac_cv_lib_m_trunc=yes
20519 echo "$as_me: failed program was:" >&5
20520 sed 's/^/| /' conftest.$ac_ext >&5
20522 ac_cv_lib_m_trunc=no
20524 rm -f conftest.err conftest.$ac_objext \
20525 conftest$ac_exeext conftest.$ac_ext
20526 LIBS=$ac_check_lib_save_LIBS
20528 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
20529 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
20530 if test $ac_cv_lib_m_trunc = yes; then
20532 cat >>confdefs.h <<\_ACEOF
20533 #define HAVE_TRUNC 1
20538 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
20539 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
20540 if test "${ac_cv_lib_m_truncl+set}" = set; then
20541 echo $ECHO_N "(cached) $ECHO_C" >&6
20543 ac_check_lib_save_LIBS=$LIBS
20545 if test x$gcc_no_link = xyes; then
20546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20548 { (exit 1); exit 1; }; }
20550 cat >conftest.$ac_ext <<_ACEOF
20553 cat confdefs.h >>conftest.$ac_ext
20554 cat >>conftest.$ac_ext <<_ACEOF
20555 /* end confdefs.h. */
20557 /* Override any gcc2 internal prototype to avoid an error. */
20561 /* We use char because int might match the return type of a gcc2
20562 builtin and then its argument prototype would still apply. */
20572 rm -f conftest.$ac_objext conftest$ac_exeext
20573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20574 (eval $ac_link) 2>conftest.er1
20576 grep -v '^ *+' conftest.er1 >conftest.err
20578 cat conftest.err >&5
20579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20580 (exit $ac_status); } &&
20581 { ac_try='test -z "$ac_c_werror_flag"
20582 || test ! -s conftest.err'
20583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20584 (eval $ac_try) 2>&5
20586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587 (exit $ac_status); }; } &&
20588 { ac_try='test -s conftest$ac_exeext'
20589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20590 (eval $ac_try) 2>&5
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); }; }; then
20594 ac_cv_lib_m_truncl=yes
20596 echo "$as_me: failed program was:" >&5
20597 sed 's/^/| /' conftest.$ac_ext >&5
20599 ac_cv_lib_m_truncl=no
20601 rm -f conftest.err conftest.$ac_objext \
20602 conftest$ac_exeext conftest.$ac_ext
20603 LIBS=$ac_check_lib_save_LIBS
20605 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
20606 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
20607 if test $ac_cv_lib_m_truncl = yes; then
20609 cat >>confdefs.h <<\_ACEOF
20610 #define HAVE_TRUNCL 1
20615 echo "$as_me:$LINENO: checking for erff in -lm" >&5
20616 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
20617 if test "${ac_cv_lib_m_erff+set}" = set; then
20618 echo $ECHO_N "(cached) $ECHO_C" >&6
20620 ac_check_lib_save_LIBS=$LIBS
20622 if test x$gcc_no_link = xyes; then
20623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20625 { (exit 1); exit 1; }; }
20627 cat >conftest.$ac_ext <<_ACEOF
20630 cat confdefs.h >>conftest.$ac_ext
20631 cat >>conftest.$ac_ext <<_ACEOF
20632 /* end confdefs.h. */
20634 /* Override any gcc2 internal prototype to avoid an error. */
20638 /* We use char because int might match the return type of a gcc2
20639 builtin and then its argument prototype would still apply. */
20649 rm -f conftest.$ac_objext conftest$ac_exeext
20650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20651 (eval $ac_link) 2>conftest.er1
20653 grep -v '^ *+' conftest.er1 >conftest.err
20655 cat conftest.err >&5
20656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657 (exit $ac_status); } &&
20658 { ac_try='test -z "$ac_c_werror_flag"
20659 || test ! -s conftest.err'
20660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20661 (eval $ac_try) 2>&5
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); }; } &&
20665 { ac_try='test -s conftest$ac_exeext'
20666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20667 (eval $ac_try) 2>&5
20669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20670 (exit $ac_status); }; }; then
20671 ac_cv_lib_m_erff=yes
20673 echo "$as_me: failed program was:" >&5
20674 sed 's/^/| /' conftest.$ac_ext >&5
20676 ac_cv_lib_m_erff=no
20678 rm -f conftest.err conftest.$ac_objext \
20679 conftest$ac_exeext conftest.$ac_ext
20680 LIBS=$ac_check_lib_save_LIBS
20682 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
20683 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
20684 if test $ac_cv_lib_m_erff = yes; then
20686 cat >>confdefs.h <<\_ACEOF
20687 #define HAVE_ERFF 1
20692 echo "$as_me:$LINENO: checking for erf in -lm" >&5
20693 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
20694 if test "${ac_cv_lib_m_erf+set}" = set; then
20695 echo $ECHO_N "(cached) $ECHO_C" >&6
20697 ac_check_lib_save_LIBS=$LIBS
20699 if test x$gcc_no_link = xyes; then
20700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20702 { (exit 1); exit 1; }; }
20704 cat >conftest.$ac_ext <<_ACEOF
20707 cat confdefs.h >>conftest.$ac_ext
20708 cat >>conftest.$ac_ext <<_ACEOF
20709 /* end confdefs.h. */
20711 /* Override any gcc2 internal prototype to avoid an error. */
20715 /* We use char because int might match the return type of a gcc2
20716 builtin and then its argument prototype would still apply. */
20726 rm -f conftest.$ac_objext conftest$ac_exeext
20727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20728 (eval $ac_link) 2>conftest.er1
20730 grep -v '^ *+' conftest.er1 >conftest.err
20732 cat conftest.err >&5
20733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20734 (exit $ac_status); } &&
20735 { ac_try='test -z "$ac_c_werror_flag"
20736 || test ! -s conftest.err'
20737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20738 (eval $ac_try) 2>&5
20740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741 (exit $ac_status); }; } &&
20742 { ac_try='test -s conftest$ac_exeext'
20743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20744 (eval $ac_try) 2>&5
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); }; }; then
20748 ac_cv_lib_m_erf=yes
20750 echo "$as_me: failed program was:" >&5
20751 sed 's/^/| /' conftest.$ac_ext >&5
20755 rm -f conftest.err conftest.$ac_objext \
20756 conftest$ac_exeext conftest.$ac_ext
20757 LIBS=$ac_check_lib_save_LIBS
20759 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
20760 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
20761 if test $ac_cv_lib_m_erf = yes; then
20763 cat >>confdefs.h <<\_ACEOF
20769 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
20770 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
20771 if test "${ac_cv_lib_m_erfl+set}" = set; then
20772 echo $ECHO_N "(cached) $ECHO_C" >&6
20774 ac_check_lib_save_LIBS=$LIBS
20776 if test x$gcc_no_link = xyes; then
20777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20779 { (exit 1); exit 1; }; }
20781 cat >conftest.$ac_ext <<_ACEOF
20784 cat confdefs.h >>conftest.$ac_ext
20785 cat >>conftest.$ac_ext <<_ACEOF
20786 /* end confdefs.h. */
20788 /* Override any gcc2 internal prototype to avoid an error. */
20792 /* We use char because int might match the return type of a gcc2
20793 builtin and then its argument prototype would still apply. */
20803 rm -f conftest.$ac_objext conftest$ac_exeext
20804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20805 (eval $ac_link) 2>conftest.er1
20807 grep -v '^ *+' conftest.er1 >conftest.err
20809 cat conftest.err >&5
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); } &&
20812 { ac_try='test -z "$ac_c_werror_flag"
20813 || test ! -s conftest.err'
20814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20815 (eval $ac_try) 2>&5
20817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20818 (exit $ac_status); }; } &&
20819 { ac_try='test -s conftest$ac_exeext'
20820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20821 (eval $ac_try) 2>&5
20823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20824 (exit $ac_status); }; }; then
20825 ac_cv_lib_m_erfl=yes
20827 echo "$as_me: failed program was:" >&5
20828 sed 's/^/| /' conftest.$ac_ext >&5
20830 ac_cv_lib_m_erfl=no
20832 rm -f conftest.err conftest.$ac_objext \
20833 conftest$ac_exeext conftest.$ac_ext
20834 LIBS=$ac_check_lib_save_LIBS
20836 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
20837 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
20838 if test $ac_cv_lib_m_erfl = yes; then
20840 cat >>confdefs.h <<\_ACEOF
20841 #define HAVE_ERFL 1
20846 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
20847 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
20848 if test "${ac_cv_lib_m_erfcf+set}" = set; then
20849 echo $ECHO_N "(cached) $ECHO_C" >&6
20851 ac_check_lib_save_LIBS=$LIBS
20853 if test x$gcc_no_link = xyes; then
20854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20856 { (exit 1); exit 1; }; }
20858 cat >conftest.$ac_ext <<_ACEOF
20861 cat confdefs.h >>conftest.$ac_ext
20862 cat >>conftest.$ac_ext <<_ACEOF
20863 /* end confdefs.h. */
20865 /* Override any gcc2 internal prototype to avoid an error. */
20869 /* We use char because int might match the return type of a gcc2
20870 builtin and then its argument prototype would still apply. */
20880 rm -f conftest.$ac_objext conftest$ac_exeext
20881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20882 (eval $ac_link) 2>conftest.er1
20884 grep -v '^ *+' conftest.er1 >conftest.err
20886 cat conftest.err >&5
20887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888 (exit $ac_status); } &&
20889 { ac_try='test -z "$ac_c_werror_flag"
20890 || test ! -s conftest.err'
20891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20892 (eval $ac_try) 2>&5
20894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20895 (exit $ac_status); }; } &&
20896 { ac_try='test -s conftest$ac_exeext'
20897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20898 (eval $ac_try) 2>&5
20900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20901 (exit $ac_status); }; }; then
20902 ac_cv_lib_m_erfcf=yes
20904 echo "$as_me: failed program was:" >&5
20905 sed 's/^/| /' conftest.$ac_ext >&5
20907 ac_cv_lib_m_erfcf=no
20909 rm -f conftest.err conftest.$ac_objext \
20910 conftest$ac_exeext conftest.$ac_ext
20911 LIBS=$ac_check_lib_save_LIBS
20913 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
20914 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
20915 if test $ac_cv_lib_m_erfcf = yes; then
20917 cat >>confdefs.h <<\_ACEOF
20918 #define HAVE_ERFCF 1
20923 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
20924 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
20925 if test "${ac_cv_lib_m_erfc+set}" = set; then
20926 echo $ECHO_N "(cached) $ECHO_C" >&6
20928 ac_check_lib_save_LIBS=$LIBS
20930 if test x$gcc_no_link = xyes; then
20931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20933 { (exit 1); exit 1; }; }
20935 cat >conftest.$ac_ext <<_ACEOF
20938 cat confdefs.h >>conftest.$ac_ext
20939 cat >>conftest.$ac_ext <<_ACEOF
20940 /* end confdefs.h. */
20942 /* Override any gcc2 internal prototype to avoid an error. */
20946 /* We use char because int might match the return type of a gcc2
20947 builtin and then its argument prototype would still apply. */
20957 rm -f conftest.$ac_objext conftest$ac_exeext
20958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20959 (eval $ac_link) 2>conftest.er1
20961 grep -v '^ *+' conftest.er1 >conftest.err
20963 cat conftest.err >&5
20964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20965 (exit $ac_status); } &&
20966 { ac_try='test -z "$ac_c_werror_flag"
20967 || test ! -s conftest.err'
20968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20969 (eval $ac_try) 2>&5
20971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20972 (exit $ac_status); }; } &&
20973 { ac_try='test -s conftest$ac_exeext'
20974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20975 (eval $ac_try) 2>&5
20977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978 (exit $ac_status); }; }; then
20979 ac_cv_lib_m_erfc=yes
20981 echo "$as_me: failed program was:" >&5
20982 sed 's/^/| /' conftest.$ac_ext >&5
20984 ac_cv_lib_m_erfc=no
20986 rm -f conftest.err conftest.$ac_objext \
20987 conftest$ac_exeext conftest.$ac_ext
20988 LIBS=$ac_check_lib_save_LIBS
20990 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
20991 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
20992 if test $ac_cv_lib_m_erfc = yes; then
20994 cat >>confdefs.h <<\_ACEOF
20995 #define HAVE_ERFC 1
21000 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
21001 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
21002 if test "${ac_cv_lib_m_erfcl+set}" = set; then
21003 echo $ECHO_N "(cached) $ECHO_C" >&6
21005 ac_check_lib_save_LIBS=$LIBS
21007 if test x$gcc_no_link = xyes; then
21008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21010 { (exit 1); exit 1; }; }
21012 cat >conftest.$ac_ext <<_ACEOF
21015 cat confdefs.h >>conftest.$ac_ext
21016 cat >>conftest.$ac_ext <<_ACEOF
21017 /* end confdefs.h. */
21019 /* Override any gcc2 internal prototype to avoid an error. */
21023 /* We use char because int might match the return type of a gcc2
21024 builtin and then its argument prototype would still apply. */
21034 rm -f conftest.$ac_objext conftest$ac_exeext
21035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21036 (eval $ac_link) 2>conftest.er1
21038 grep -v '^ *+' conftest.er1 >conftest.err
21040 cat conftest.err >&5
21041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21042 (exit $ac_status); } &&
21043 { ac_try='test -z "$ac_c_werror_flag"
21044 || test ! -s conftest.err'
21045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21046 (eval $ac_try) 2>&5
21048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21049 (exit $ac_status); }; } &&
21050 { ac_try='test -s conftest$ac_exeext'
21051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21052 (eval $ac_try) 2>&5
21054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21055 (exit $ac_status); }; }; then
21056 ac_cv_lib_m_erfcl=yes
21058 echo "$as_me: failed program was:" >&5
21059 sed 's/^/| /' conftest.$ac_ext >&5
21061 ac_cv_lib_m_erfcl=no
21063 rm -f conftest.err conftest.$ac_objext \
21064 conftest$ac_exeext conftest.$ac_ext
21065 LIBS=$ac_check_lib_save_LIBS
21067 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
21068 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
21069 if test $ac_cv_lib_m_erfcl = yes; then
21071 cat >>confdefs.h <<\_ACEOF
21072 #define HAVE_ERFCL 1
21077 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
21078 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
21079 if test "${ac_cv_lib_m_j0f+set}" = set; then
21080 echo $ECHO_N "(cached) $ECHO_C" >&6
21082 ac_check_lib_save_LIBS=$LIBS
21084 if test x$gcc_no_link = xyes; then
21085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21087 { (exit 1); exit 1; }; }
21089 cat >conftest.$ac_ext <<_ACEOF
21092 cat confdefs.h >>conftest.$ac_ext
21093 cat >>conftest.$ac_ext <<_ACEOF
21094 /* end confdefs.h. */
21096 /* Override any gcc2 internal prototype to avoid an error. */
21100 /* We use char because int might match the return type of a gcc2
21101 builtin and then its argument prototype would still apply. */
21111 rm -f conftest.$ac_objext conftest$ac_exeext
21112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21113 (eval $ac_link) 2>conftest.er1
21115 grep -v '^ *+' conftest.er1 >conftest.err
21117 cat conftest.err >&5
21118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21119 (exit $ac_status); } &&
21120 { ac_try='test -z "$ac_c_werror_flag"
21121 || test ! -s conftest.err'
21122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21123 (eval $ac_try) 2>&5
21125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21126 (exit $ac_status); }; } &&
21127 { ac_try='test -s conftest$ac_exeext'
21128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21129 (eval $ac_try) 2>&5
21131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132 (exit $ac_status); }; }; then
21133 ac_cv_lib_m_j0f=yes
21135 echo "$as_me: failed program was:" >&5
21136 sed 's/^/| /' conftest.$ac_ext >&5
21140 rm -f conftest.err conftest.$ac_objext \
21141 conftest$ac_exeext conftest.$ac_ext
21142 LIBS=$ac_check_lib_save_LIBS
21144 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
21145 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
21146 if test $ac_cv_lib_m_j0f = yes; then
21148 cat >>confdefs.h <<\_ACEOF
21154 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
21155 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
21156 if test "${ac_cv_lib_m_j0+set}" = set; then
21157 echo $ECHO_N "(cached) $ECHO_C" >&6
21159 ac_check_lib_save_LIBS=$LIBS
21161 if test x$gcc_no_link = xyes; then
21162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21164 { (exit 1); exit 1; }; }
21166 cat >conftest.$ac_ext <<_ACEOF
21169 cat confdefs.h >>conftest.$ac_ext
21170 cat >>conftest.$ac_ext <<_ACEOF
21171 /* end confdefs.h. */
21173 /* Override any gcc2 internal prototype to avoid an error. */
21177 /* We use char because int might match the return type of a gcc2
21178 builtin and then its argument prototype would still apply. */
21188 rm -f conftest.$ac_objext conftest$ac_exeext
21189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21190 (eval $ac_link) 2>conftest.er1
21192 grep -v '^ *+' conftest.er1 >conftest.err
21194 cat conftest.err >&5
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); } &&
21197 { ac_try='test -z "$ac_c_werror_flag"
21198 || test ! -s conftest.err'
21199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21200 (eval $ac_try) 2>&5
21202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21203 (exit $ac_status); }; } &&
21204 { ac_try='test -s conftest$ac_exeext'
21205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21206 (eval $ac_try) 2>&5
21208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21209 (exit $ac_status); }; }; then
21212 echo "$as_me: failed program was:" >&5
21213 sed 's/^/| /' conftest.$ac_ext >&5
21217 rm -f conftest.err conftest.$ac_objext \
21218 conftest$ac_exeext conftest.$ac_ext
21219 LIBS=$ac_check_lib_save_LIBS
21221 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
21222 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
21223 if test $ac_cv_lib_m_j0 = yes; then
21225 cat >>confdefs.h <<\_ACEOF
21231 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
21232 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
21233 if test "${ac_cv_lib_m_j0l+set}" = set; then
21234 echo $ECHO_N "(cached) $ECHO_C" >&6
21236 ac_check_lib_save_LIBS=$LIBS
21238 if test x$gcc_no_link = xyes; then
21239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21241 { (exit 1); exit 1; }; }
21243 cat >conftest.$ac_ext <<_ACEOF
21246 cat confdefs.h >>conftest.$ac_ext
21247 cat >>conftest.$ac_ext <<_ACEOF
21248 /* end confdefs.h. */
21250 /* Override any gcc2 internal prototype to avoid an error. */
21254 /* We use char because int might match the return type of a gcc2
21255 builtin and then its argument prototype would still apply. */
21265 rm -f conftest.$ac_objext conftest$ac_exeext
21266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21267 (eval $ac_link) 2>conftest.er1
21269 grep -v '^ *+' conftest.er1 >conftest.err
21271 cat conftest.err >&5
21272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21273 (exit $ac_status); } &&
21274 { ac_try='test -z "$ac_c_werror_flag"
21275 || test ! -s conftest.err'
21276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21277 (eval $ac_try) 2>&5
21279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21280 (exit $ac_status); }; } &&
21281 { ac_try='test -s conftest$ac_exeext'
21282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21283 (eval $ac_try) 2>&5
21285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21286 (exit $ac_status); }; }; then
21287 ac_cv_lib_m_j0l=yes
21289 echo "$as_me: failed program was:" >&5
21290 sed 's/^/| /' conftest.$ac_ext >&5
21294 rm -f conftest.err conftest.$ac_objext \
21295 conftest$ac_exeext conftest.$ac_ext
21296 LIBS=$ac_check_lib_save_LIBS
21298 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
21299 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
21300 if test $ac_cv_lib_m_j0l = yes; then
21302 cat >>confdefs.h <<\_ACEOF
21308 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
21309 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
21310 if test "${ac_cv_lib_m_j1f+set}" = set; then
21311 echo $ECHO_N "(cached) $ECHO_C" >&6
21313 ac_check_lib_save_LIBS=$LIBS
21315 if test x$gcc_no_link = xyes; then
21316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21318 { (exit 1); exit 1; }; }
21320 cat >conftest.$ac_ext <<_ACEOF
21323 cat confdefs.h >>conftest.$ac_ext
21324 cat >>conftest.$ac_ext <<_ACEOF
21325 /* end confdefs.h. */
21327 /* Override any gcc2 internal prototype to avoid an error. */
21331 /* We use char because int might match the return type of a gcc2
21332 builtin and then its argument prototype would still apply. */
21342 rm -f conftest.$ac_objext conftest$ac_exeext
21343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21344 (eval $ac_link) 2>conftest.er1
21346 grep -v '^ *+' conftest.er1 >conftest.err
21348 cat conftest.err >&5
21349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350 (exit $ac_status); } &&
21351 { ac_try='test -z "$ac_c_werror_flag"
21352 || test ! -s conftest.err'
21353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21354 (eval $ac_try) 2>&5
21356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21357 (exit $ac_status); }; } &&
21358 { ac_try='test -s conftest$ac_exeext'
21359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21360 (eval $ac_try) 2>&5
21362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); }; }; then
21364 ac_cv_lib_m_j1f=yes
21366 echo "$as_me: failed program was:" >&5
21367 sed 's/^/| /' conftest.$ac_ext >&5
21371 rm -f conftest.err conftest.$ac_objext \
21372 conftest$ac_exeext conftest.$ac_ext
21373 LIBS=$ac_check_lib_save_LIBS
21375 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
21376 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
21377 if test $ac_cv_lib_m_j1f = yes; then
21379 cat >>confdefs.h <<\_ACEOF
21385 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
21386 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
21387 if test "${ac_cv_lib_m_j1+set}" = set; then
21388 echo $ECHO_N "(cached) $ECHO_C" >&6
21390 ac_check_lib_save_LIBS=$LIBS
21392 if test x$gcc_no_link = xyes; then
21393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21395 { (exit 1); exit 1; }; }
21397 cat >conftest.$ac_ext <<_ACEOF
21400 cat confdefs.h >>conftest.$ac_ext
21401 cat >>conftest.$ac_ext <<_ACEOF
21402 /* end confdefs.h. */
21404 /* Override any gcc2 internal prototype to avoid an error. */
21408 /* We use char because int might match the return type of a gcc2
21409 builtin and then its argument prototype would still apply. */
21419 rm -f conftest.$ac_objext conftest$ac_exeext
21420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21421 (eval $ac_link) 2>conftest.er1
21423 grep -v '^ *+' conftest.er1 >conftest.err
21425 cat conftest.err >&5
21426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21427 (exit $ac_status); } &&
21428 { ac_try='test -z "$ac_c_werror_flag"
21429 || test ! -s conftest.err'
21430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21431 (eval $ac_try) 2>&5
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); }; } &&
21435 { ac_try='test -s conftest$ac_exeext'
21436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21437 (eval $ac_try) 2>&5
21439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440 (exit $ac_status); }; }; then
21443 echo "$as_me: failed program was:" >&5
21444 sed 's/^/| /' conftest.$ac_ext >&5
21448 rm -f conftest.err conftest.$ac_objext \
21449 conftest$ac_exeext conftest.$ac_ext
21450 LIBS=$ac_check_lib_save_LIBS
21452 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
21453 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
21454 if test $ac_cv_lib_m_j1 = yes; then
21456 cat >>confdefs.h <<\_ACEOF
21462 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
21463 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
21464 if test "${ac_cv_lib_m_j1l+set}" = set; then
21465 echo $ECHO_N "(cached) $ECHO_C" >&6
21467 ac_check_lib_save_LIBS=$LIBS
21469 if test x$gcc_no_link = xyes; then
21470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21472 { (exit 1); exit 1; }; }
21474 cat >conftest.$ac_ext <<_ACEOF
21477 cat confdefs.h >>conftest.$ac_ext
21478 cat >>conftest.$ac_ext <<_ACEOF
21479 /* end confdefs.h. */
21481 /* Override any gcc2 internal prototype to avoid an error. */
21485 /* We use char because int might match the return type of a gcc2
21486 builtin and then its argument prototype would still apply. */
21496 rm -f conftest.$ac_objext conftest$ac_exeext
21497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21498 (eval $ac_link) 2>conftest.er1
21500 grep -v '^ *+' conftest.er1 >conftest.err
21502 cat conftest.err >&5
21503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21504 (exit $ac_status); } &&
21505 { ac_try='test -z "$ac_c_werror_flag"
21506 || test ! -s conftest.err'
21507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21508 (eval $ac_try) 2>&5
21510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21511 (exit $ac_status); }; } &&
21512 { ac_try='test -s conftest$ac_exeext'
21513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21514 (eval $ac_try) 2>&5
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); }; }; then
21518 ac_cv_lib_m_j1l=yes
21520 echo "$as_me: failed program was:" >&5
21521 sed 's/^/| /' conftest.$ac_ext >&5
21525 rm -f conftest.err conftest.$ac_objext \
21526 conftest$ac_exeext conftest.$ac_ext
21527 LIBS=$ac_check_lib_save_LIBS
21529 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
21530 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
21531 if test $ac_cv_lib_m_j1l = yes; then
21533 cat >>confdefs.h <<\_ACEOF
21539 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
21540 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
21541 if test "${ac_cv_lib_m_jnf+set}" = set; then
21542 echo $ECHO_N "(cached) $ECHO_C" >&6
21544 ac_check_lib_save_LIBS=$LIBS
21546 if test x$gcc_no_link = xyes; then
21547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21549 { (exit 1); exit 1; }; }
21551 cat >conftest.$ac_ext <<_ACEOF
21554 cat confdefs.h >>conftest.$ac_ext
21555 cat >>conftest.$ac_ext <<_ACEOF
21556 /* end confdefs.h. */
21558 /* Override any gcc2 internal prototype to avoid an error. */
21562 /* We use char because int might match the return type of a gcc2
21563 builtin and then its argument prototype would still apply. */
21573 rm -f conftest.$ac_objext conftest$ac_exeext
21574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21575 (eval $ac_link) 2>conftest.er1
21577 grep -v '^ *+' conftest.er1 >conftest.err
21579 cat conftest.err >&5
21580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581 (exit $ac_status); } &&
21582 { ac_try='test -z "$ac_c_werror_flag"
21583 || test ! -s conftest.err'
21584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21585 (eval $ac_try) 2>&5
21587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588 (exit $ac_status); }; } &&
21589 { ac_try='test -s conftest$ac_exeext'
21590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21591 (eval $ac_try) 2>&5
21593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594 (exit $ac_status); }; }; then
21595 ac_cv_lib_m_jnf=yes
21597 echo "$as_me: failed program was:" >&5
21598 sed 's/^/| /' conftest.$ac_ext >&5
21602 rm -f conftest.err conftest.$ac_objext \
21603 conftest$ac_exeext conftest.$ac_ext
21604 LIBS=$ac_check_lib_save_LIBS
21606 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
21607 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
21608 if test $ac_cv_lib_m_jnf = yes; then
21610 cat >>confdefs.h <<\_ACEOF
21616 echo "$as_me:$LINENO: checking for jn in -lm" >&5
21617 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
21618 if test "${ac_cv_lib_m_jn+set}" = set; then
21619 echo $ECHO_N "(cached) $ECHO_C" >&6
21621 ac_check_lib_save_LIBS=$LIBS
21623 if test x$gcc_no_link = xyes; then
21624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21626 { (exit 1); exit 1; }; }
21628 cat >conftest.$ac_ext <<_ACEOF
21631 cat confdefs.h >>conftest.$ac_ext
21632 cat >>conftest.$ac_ext <<_ACEOF
21633 /* end confdefs.h. */
21635 /* Override any gcc2 internal prototype to avoid an error. */
21639 /* We use char because int might match the return type of a gcc2
21640 builtin and then its argument prototype would still apply. */
21650 rm -f conftest.$ac_objext conftest$ac_exeext
21651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21652 (eval $ac_link) 2>conftest.er1
21654 grep -v '^ *+' conftest.er1 >conftest.err
21656 cat conftest.err >&5
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); } &&
21659 { ac_try='test -z "$ac_c_werror_flag"
21660 || test ! -s conftest.err'
21661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21662 (eval $ac_try) 2>&5
21664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665 (exit $ac_status); }; } &&
21666 { ac_try='test -s conftest$ac_exeext'
21667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21668 (eval $ac_try) 2>&5
21670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21671 (exit $ac_status); }; }; then
21674 echo "$as_me: failed program was:" >&5
21675 sed 's/^/| /' conftest.$ac_ext >&5
21679 rm -f conftest.err conftest.$ac_objext \
21680 conftest$ac_exeext conftest.$ac_ext
21681 LIBS=$ac_check_lib_save_LIBS
21683 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
21684 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
21685 if test $ac_cv_lib_m_jn = yes; then
21687 cat >>confdefs.h <<\_ACEOF
21693 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
21694 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
21695 if test "${ac_cv_lib_m_jnl+set}" = set; then
21696 echo $ECHO_N "(cached) $ECHO_C" >&6
21698 ac_check_lib_save_LIBS=$LIBS
21700 if test x$gcc_no_link = xyes; then
21701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21703 { (exit 1); exit 1; }; }
21705 cat >conftest.$ac_ext <<_ACEOF
21708 cat confdefs.h >>conftest.$ac_ext
21709 cat >>conftest.$ac_ext <<_ACEOF
21710 /* end confdefs.h. */
21712 /* Override any gcc2 internal prototype to avoid an error. */
21716 /* We use char because int might match the return type of a gcc2
21717 builtin and then its argument prototype would still apply. */
21727 rm -f conftest.$ac_objext conftest$ac_exeext
21728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21729 (eval $ac_link) 2>conftest.er1
21731 grep -v '^ *+' conftest.er1 >conftest.err
21733 cat conftest.err >&5
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); } &&
21736 { ac_try='test -z "$ac_c_werror_flag"
21737 || test ! -s conftest.err'
21738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21739 (eval $ac_try) 2>&5
21741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21742 (exit $ac_status); }; } &&
21743 { ac_try='test -s conftest$ac_exeext'
21744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21745 (eval $ac_try) 2>&5
21747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748 (exit $ac_status); }; }; then
21749 ac_cv_lib_m_jnl=yes
21751 echo "$as_me: failed program was:" >&5
21752 sed 's/^/| /' conftest.$ac_ext >&5
21756 rm -f conftest.err conftest.$ac_objext \
21757 conftest$ac_exeext conftest.$ac_ext
21758 LIBS=$ac_check_lib_save_LIBS
21760 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
21761 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
21762 if test $ac_cv_lib_m_jnl = yes; then
21764 cat >>confdefs.h <<\_ACEOF
21770 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
21771 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
21772 if test "${ac_cv_lib_m_y0f+set}" = set; then
21773 echo $ECHO_N "(cached) $ECHO_C" >&6
21775 ac_check_lib_save_LIBS=$LIBS
21777 if test x$gcc_no_link = xyes; then
21778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21780 { (exit 1); exit 1; }; }
21782 cat >conftest.$ac_ext <<_ACEOF
21785 cat confdefs.h >>conftest.$ac_ext
21786 cat >>conftest.$ac_ext <<_ACEOF
21787 /* end confdefs.h. */
21789 /* Override any gcc2 internal prototype to avoid an error. */
21793 /* We use char because int might match the return type of a gcc2
21794 builtin and then its argument prototype would still apply. */
21804 rm -f conftest.$ac_objext conftest$ac_exeext
21805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21806 (eval $ac_link) 2>conftest.er1
21808 grep -v '^ *+' conftest.er1 >conftest.err
21810 cat conftest.err >&5
21811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21812 (exit $ac_status); } &&
21813 { ac_try='test -z "$ac_c_werror_flag"
21814 || test ! -s conftest.err'
21815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21816 (eval $ac_try) 2>&5
21818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21819 (exit $ac_status); }; } &&
21820 { ac_try='test -s conftest$ac_exeext'
21821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21822 (eval $ac_try) 2>&5
21824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21825 (exit $ac_status); }; }; then
21826 ac_cv_lib_m_y0f=yes
21828 echo "$as_me: failed program was:" >&5
21829 sed 's/^/| /' conftest.$ac_ext >&5
21833 rm -f conftest.err conftest.$ac_objext \
21834 conftest$ac_exeext conftest.$ac_ext
21835 LIBS=$ac_check_lib_save_LIBS
21837 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
21838 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
21839 if test $ac_cv_lib_m_y0f = yes; then
21841 cat >>confdefs.h <<\_ACEOF
21847 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
21848 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
21849 if test "${ac_cv_lib_m_y0+set}" = set; then
21850 echo $ECHO_N "(cached) $ECHO_C" >&6
21852 ac_check_lib_save_LIBS=$LIBS
21854 if test x$gcc_no_link = xyes; then
21855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21857 { (exit 1); exit 1; }; }
21859 cat >conftest.$ac_ext <<_ACEOF
21862 cat confdefs.h >>conftest.$ac_ext
21863 cat >>conftest.$ac_ext <<_ACEOF
21864 /* end confdefs.h. */
21866 /* Override any gcc2 internal prototype to avoid an error. */
21870 /* We use char because int might match the return type of a gcc2
21871 builtin and then its argument prototype would still apply. */
21881 rm -f conftest.$ac_objext conftest$ac_exeext
21882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21883 (eval $ac_link) 2>conftest.er1
21885 grep -v '^ *+' conftest.er1 >conftest.err
21887 cat conftest.err >&5
21888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21889 (exit $ac_status); } &&
21890 { ac_try='test -z "$ac_c_werror_flag"
21891 || test ! -s conftest.err'
21892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21893 (eval $ac_try) 2>&5
21895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21896 (exit $ac_status); }; } &&
21897 { ac_try='test -s conftest$ac_exeext'
21898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21899 (eval $ac_try) 2>&5
21901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21902 (exit $ac_status); }; }; then
21905 echo "$as_me: failed program was:" >&5
21906 sed 's/^/| /' conftest.$ac_ext >&5
21910 rm -f conftest.err conftest.$ac_objext \
21911 conftest$ac_exeext conftest.$ac_ext
21912 LIBS=$ac_check_lib_save_LIBS
21914 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
21915 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
21916 if test $ac_cv_lib_m_y0 = yes; then
21918 cat >>confdefs.h <<\_ACEOF
21924 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
21925 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
21926 if test "${ac_cv_lib_m_y0l+set}" = set; then
21927 echo $ECHO_N "(cached) $ECHO_C" >&6
21929 ac_check_lib_save_LIBS=$LIBS
21931 if test x$gcc_no_link = xyes; then
21932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21934 { (exit 1); exit 1; }; }
21936 cat >conftest.$ac_ext <<_ACEOF
21939 cat confdefs.h >>conftest.$ac_ext
21940 cat >>conftest.$ac_ext <<_ACEOF
21941 /* end confdefs.h. */
21943 /* Override any gcc2 internal prototype to avoid an error. */
21947 /* We use char because int might match the return type of a gcc2
21948 builtin and then its argument prototype would still apply. */
21958 rm -f conftest.$ac_objext conftest$ac_exeext
21959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21960 (eval $ac_link) 2>conftest.er1
21962 grep -v '^ *+' conftest.er1 >conftest.err
21964 cat conftest.err >&5
21965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21966 (exit $ac_status); } &&
21967 { ac_try='test -z "$ac_c_werror_flag"
21968 || test ! -s conftest.err'
21969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21970 (eval $ac_try) 2>&5
21972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21973 (exit $ac_status); }; } &&
21974 { ac_try='test -s conftest$ac_exeext'
21975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21976 (eval $ac_try) 2>&5
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); }; }; then
21980 ac_cv_lib_m_y0l=yes
21982 echo "$as_me: failed program was:" >&5
21983 sed 's/^/| /' conftest.$ac_ext >&5
21987 rm -f conftest.err conftest.$ac_objext \
21988 conftest$ac_exeext conftest.$ac_ext
21989 LIBS=$ac_check_lib_save_LIBS
21991 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
21992 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
21993 if test $ac_cv_lib_m_y0l = yes; then
21995 cat >>confdefs.h <<\_ACEOF
22001 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
22002 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
22003 if test "${ac_cv_lib_m_y1f+set}" = set; then
22004 echo $ECHO_N "(cached) $ECHO_C" >&6
22006 ac_check_lib_save_LIBS=$LIBS
22008 if test x$gcc_no_link = xyes; then
22009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22011 { (exit 1); exit 1; }; }
22013 cat >conftest.$ac_ext <<_ACEOF
22016 cat confdefs.h >>conftest.$ac_ext
22017 cat >>conftest.$ac_ext <<_ACEOF
22018 /* end confdefs.h. */
22020 /* Override any gcc2 internal prototype to avoid an error. */
22024 /* We use char because int might match the return type of a gcc2
22025 builtin and then its argument prototype would still apply. */
22035 rm -f conftest.$ac_objext conftest$ac_exeext
22036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22037 (eval $ac_link) 2>conftest.er1
22039 grep -v '^ *+' conftest.er1 >conftest.err
22041 cat conftest.err >&5
22042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043 (exit $ac_status); } &&
22044 { ac_try='test -z "$ac_c_werror_flag"
22045 || test ! -s conftest.err'
22046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22047 (eval $ac_try) 2>&5
22049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22050 (exit $ac_status); }; } &&
22051 { ac_try='test -s conftest$ac_exeext'
22052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22053 (eval $ac_try) 2>&5
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); }; }; then
22057 ac_cv_lib_m_y1f=yes
22059 echo "$as_me: failed program was:" >&5
22060 sed 's/^/| /' conftest.$ac_ext >&5
22064 rm -f conftest.err conftest.$ac_objext \
22065 conftest$ac_exeext conftest.$ac_ext
22066 LIBS=$ac_check_lib_save_LIBS
22068 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
22069 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
22070 if test $ac_cv_lib_m_y1f = yes; then
22072 cat >>confdefs.h <<\_ACEOF
22078 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
22079 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
22080 if test "${ac_cv_lib_m_y1+set}" = set; then
22081 echo $ECHO_N "(cached) $ECHO_C" >&6
22083 ac_check_lib_save_LIBS=$LIBS
22085 if test x$gcc_no_link = xyes; then
22086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22088 { (exit 1); exit 1; }; }
22090 cat >conftest.$ac_ext <<_ACEOF
22093 cat confdefs.h >>conftest.$ac_ext
22094 cat >>conftest.$ac_ext <<_ACEOF
22095 /* end confdefs.h. */
22097 /* Override any gcc2 internal prototype to avoid an error. */
22101 /* We use char because int might match the return type of a gcc2
22102 builtin and then its argument prototype would still apply. */
22112 rm -f conftest.$ac_objext conftest$ac_exeext
22113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22114 (eval $ac_link) 2>conftest.er1
22116 grep -v '^ *+' conftest.er1 >conftest.err
22118 cat conftest.err >&5
22119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22120 (exit $ac_status); } &&
22121 { ac_try='test -z "$ac_c_werror_flag"
22122 || test ! -s conftest.err'
22123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22124 (eval $ac_try) 2>&5
22126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22127 (exit $ac_status); }; } &&
22128 { ac_try='test -s conftest$ac_exeext'
22129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22130 (eval $ac_try) 2>&5
22132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133 (exit $ac_status); }; }; then
22136 echo "$as_me: failed program was:" >&5
22137 sed 's/^/| /' conftest.$ac_ext >&5
22141 rm -f conftest.err conftest.$ac_objext \
22142 conftest$ac_exeext conftest.$ac_ext
22143 LIBS=$ac_check_lib_save_LIBS
22145 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
22146 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
22147 if test $ac_cv_lib_m_y1 = yes; then
22149 cat >>confdefs.h <<\_ACEOF
22155 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
22156 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
22157 if test "${ac_cv_lib_m_y1l+set}" = set; then
22158 echo $ECHO_N "(cached) $ECHO_C" >&6
22160 ac_check_lib_save_LIBS=$LIBS
22162 if test x$gcc_no_link = xyes; then
22163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22165 { (exit 1); exit 1; }; }
22167 cat >conftest.$ac_ext <<_ACEOF
22170 cat confdefs.h >>conftest.$ac_ext
22171 cat >>conftest.$ac_ext <<_ACEOF
22172 /* end confdefs.h. */
22174 /* Override any gcc2 internal prototype to avoid an error. */
22178 /* We use char because int might match the return type of a gcc2
22179 builtin and then its argument prototype would still apply. */
22189 rm -f conftest.$ac_objext conftest$ac_exeext
22190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22191 (eval $ac_link) 2>conftest.er1
22193 grep -v '^ *+' conftest.er1 >conftest.err
22195 cat conftest.err >&5
22196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22197 (exit $ac_status); } &&
22198 { ac_try='test -z "$ac_c_werror_flag"
22199 || test ! -s conftest.err'
22200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22201 (eval $ac_try) 2>&5
22203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22204 (exit $ac_status); }; } &&
22205 { ac_try='test -s conftest$ac_exeext'
22206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22207 (eval $ac_try) 2>&5
22209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22210 (exit $ac_status); }; }; then
22211 ac_cv_lib_m_y1l=yes
22213 echo "$as_me: failed program was:" >&5
22214 sed 's/^/| /' conftest.$ac_ext >&5
22218 rm -f conftest.err conftest.$ac_objext \
22219 conftest$ac_exeext conftest.$ac_ext
22220 LIBS=$ac_check_lib_save_LIBS
22222 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
22223 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
22224 if test $ac_cv_lib_m_y1l = yes; then
22226 cat >>confdefs.h <<\_ACEOF
22232 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
22233 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
22234 if test "${ac_cv_lib_m_ynf+set}" = set; then
22235 echo $ECHO_N "(cached) $ECHO_C" >&6
22237 ac_check_lib_save_LIBS=$LIBS
22239 if test x$gcc_no_link = xyes; then
22240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22242 { (exit 1); exit 1; }; }
22244 cat >conftest.$ac_ext <<_ACEOF
22247 cat confdefs.h >>conftest.$ac_ext
22248 cat >>conftest.$ac_ext <<_ACEOF
22249 /* end confdefs.h. */
22251 /* Override any gcc2 internal prototype to avoid an error. */
22255 /* We use char because int might match the return type of a gcc2
22256 builtin and then its argument prototype would still apply. */
22266 rm -f conftest.$ac_objext conftest$ac_exeext
22267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22268 (eval $ac_link) 2>conftest.er1
22270 grep -v '^ *+' conftest.er1 >conftest.err
22272 cat conftest.err >&5
22273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22274 (exit $ac_status); } &&
22275 { ac_try='test -z "$ac_c_werror_flag"
22276 || test ! -s conftest.err'
22277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22278 (eval $ac_try) 2>&5
22280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22281 (exit $ac_status); }; } &&
22282 { ac_try='test -s conftest$ac_exeext'
22283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22284 (eval $ac_try) 2>&5
22286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287 (exit $ac_status); }; }; then
22288 ac_cv_lib_m_ynf=yes
22290 echo "$as_me: failed program was:" >&5
22291 sed 's/^/| /' conftest.$ac_ext >&5
22295 rm -f conftest.err conftest.$ac_objext \
22296 conftest$ac_exeext conftest.$ac_ext
22297 LIBS=$ac_check_lib_save_LIBS
22299 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
22300 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
22301 if test $ac_cv_lib_m_ynf = yes; then
22303 cat >>confdefs.h <<\_ACEOF
22309 echo "$as_me:$LINENO: checking for yn in -lm" >&5
22310 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
22311 if test "${ac_cv_lib_m_yn+set}" = set; then
22312 echo $ECHO_N "(cached) $ECHO_C" >&6
22314 ac_check_lib_save_LIBS=$LIBS
22316 if test x$gcc_no_link = xyes; then
22317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22319 { (exit 1); exit 1; }; }
22321 cat >conftest.$ac_ext <<_ACEOF
22324 cat confdefs.h >>conftest.$ac_ext
22325 cat >>conftest.$ac_ext <<_ACEOF
22326 /* end confdefs.h. */
22328 /* Override any gcc2 internal prototype to avoid an error. */
22332 /* We use char because int might match the return type of a gcc2
22333 builtin and then its argument prototype would still apply. */
22343 rm -f conftest.$ac_objext conftest$ac_exeext
22344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22345 (eval $ac_link) 2>conftest.er1
22347 grep -v '^ *+' conftest.er1 >conftest.err
22349 cat conftest.err >&5
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); } &&
22352 { ac_try='test -z "$ac_c_werror_flag"
22353 || test ! -s conftest.err'
22354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22355 (eval $ac_try) 2>&5
22357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22358 (exit $ac_status); }; } &&
22359 { ac_try='test -s conftest$ac_exeext'
22360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22361 (eval $ac_try) 2>&5
22363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22364 (exit $ac_status); }; }; then
22367 echo "$as_me: failed program was:" >&5
22368 sed 's/^/| /' conftest.$ac_ext >&5
22372 rm -f conftest.err conftest.$ac_objext \
22373 conftest$ac_exeext conftest.$ac_ext
22374 LIBS=$ac_check_lib_save_LIBS
22376 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
22377 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
22378 if test $ac_cv_lib_m_yn = yes; then
22380 cat >>confdefs.h <<\_ACEOF
22386 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
22387 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
22388 if test "${ac_cv_lib_m_ynl+set}" = set; then
22389 echo $ECHO_N "(cached) $ECHO_C" >&6
22391 ac_check_lib_save_LIBS=$LIBS
22393 if test x$gcc_no_link = xyes; then
22394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22396 { (exit 1); exit 1; }; }
22398 cat >conftest.$ac_ext <<_ACEOF
22401 cat confdefs.h >>conftest.$ac_ext
22402 cat >>conftest.$ac_ext <<_ACEOF
22403 /* end confdefs.h. */
22405 /* Override any gcc2 internal prototype to avoid an error. */
22409 /* We use char because int might match the return type of a gcc2
22410 builtin and then its argument prototype would still apply. */
22420 rm -f conftest.$ac_objext conftest$ac_exeext
22421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22422 (eval $ac_link) 2>conftest.er1
22424 grep -v '^ *+' conftest.er1 >conftest.err
22426 cat conftest.err >&5
22427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428 (exit $ac_status); } &&
22429 { ac_try='test -z "$ac_c_werror_flag"
22430 || test ! -s conftest.err'
22431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22432 (eval $ac_try) 2>&5
22434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22435 (exit $ac_status); }; } &&
22436 { ac_try='test -s conftest$ac_exeext'
22437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22438 (eval $ac_try) 2>&5
22440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22441 (exit $ac_status); }; }; then
22442 ac_cv_lib_m_ynl=yes
22444 echo "$as_me: failed program was:" >&5
22445 sed 's/^/| /' conftest.$ac_ext >&5
22449 rm -f conftest.err conftest.$ac_objext \
22450 conftest$ac_exeext conftest.$ac_ext
22451 LIBS=$ac_check_lib_save_LIBS
22453 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
22454 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
22455 if test $ac_cv_lib_m_ynl = yes; then
22457 cat >>confdefs.h <<\_ACEOF
22464 # On AIX, clog is present in libm as __clog
22465 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
22466 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
22467 if test "${ac_cv_lib_m___clog+set}" = set; then
22468 echo $ECHO_N "(cached) $ECHO_C" >&6
22470 ac_check_lib_save_LIBS=$LIBS
22472 if test x$gcc_no_link = xyes; then
22473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22475 { (exit 1); exit 1; }; }
22477 cat >conftest.$ac_ext <<_ACEOF
22480 cat confdefs.h >>conftest.$ac_ext
22481 cat >>conftest.$ac_ext <<_ACEOF
22482 /* end confdefs.h. */
22484 /* Override any gcc2 internal prototype to avoid an error. */
22488 /* We use char because int might match the return type of a gcc2
22489 builtin and then its argument prototype would still apply. */
22499 rm -f conftest.$ac_objext conftest$ac_exeext
22500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22501 (eval $ac_link) 2>conftest.er1
22503 grep -v '^ *+' conftest.er1 >conftest.err
22505 cat conftest.err >&5
22506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22507 (exit $ac_status); } &&
22508 { ac_try='test -z "$ac_c_werror_flag"
22509 || test ! -s conftest.err'
22510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22511 (eval $ac_try) 2>&5
22513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22514 (exit $ac_status); }; } &&
22515 { ac_try='test -s conftest$ac_exeext'
22516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22517 (eval $ac_try) 2>&5
22519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22520 (exit $ac_status); }; }; then
22521 ac_cv_lib_m___clog=yes
22523 echo "$as_me: failed program was:" >&5
22524 sed 's/^/| /' conftest.$ac_ext >&5
22526 ac_cv_lib_m___clog=no
22528 rm -f conftest.err conftest.$ac_objext \
22529 conftest$ac_exeext conftest.$ac_ext
22530 LIBS=$ac_check_lib_save_LIBS
22532 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
22533 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
22534 if test $ac_cv_lib_m___clog = yes; then
22536 cat >>confdefs.h <<\_ACEOF
22537 #define HAVE_CLOG 1
22543 # Check for a isfinite macro that works on long doubles.
22545 echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
22546 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
22547 if test "${have_broken_isfinite+set}" = set; then
22548 echo $ECHO_N "(cached) $ECHO_C" >&6
22551 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
22553 if test "$cross_compiling" = yes; then
22555 case "${target}" in
22556 hppa*-*-hpux*) have_broken_isfinite=yes ;;
22557 *) have_broken_isfinite=no ;;
22560 cat >conftest.$ac_ext <<_ACEOF
22563 cat confdefs.h >>conftest.$ac_ext
22564 cat >>conftest.$ac_ext <<_ACEOF
22565 /* end confdefs.h. */
22575 if (!isfinite(LDBL_MAX)) return 1;
22578 if (!isfinite(DBL_MAX)) return 1;
22584 rm -f conftest$ac_exeext
22585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22586 (eval $ac_link) 2>&5
22588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22589 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22591 (eval $ac_try) 2>&5
22593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22594 (exit $ac_status); }; }; then
22595 have_broken_isfinite=no
22597 echo "$as_me: program exited with status $ac_status" >&5
22598 echo "$as_me: failed program was:" >&5
22599 sed 's/^/| /' conftest.$ac_ext >&5
22601 ( exit $ac_status )
22602 have_broken_isfinite=yes
22604 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22606 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
22608 echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
22609 echo "${ECHO_T}$have_broken_isfinite" >&6
22610 if test x"$have_broken_isfinite" = xyes; then
22612 cat >>confdefs.h <<\_ACEOF
22613 #define HAVE_BROKEN_ISFINITE 1
22618 # Check for a isnan macro that works on long doubles.
22620 echo "$as_me:$LINENO: checking whether isnan is broken" >&5
22621 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
22622 if test "${have_broken_isnan+set}" = set; then
22623 echo $ECHO_N "(cached) $ECHO_C" >&6
22626 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
22628 if test "$cross_compiling" = yes; then
22630 case "${target}" in
22631 hppa*-*-hpux*) have_broken_isnan=yes ;;
22632 *) have_broken_isnan=no ;;
22635 cat >conftest.$ac_ext <<_ACEOF
22638 cat confdefs.h >>conftest.$ac_ext
22639 cat >>conftest.$ac_ext <<_ACEOF
22640 /* end confdefs.h. */
22652 x = __builtin_nanl ("");
22653 if (!isnan(x)) return 1;
22654 if (isnan(LDBL_MAX)) return 1;
22656 x = (long double) NAN;
22657 if (!isnan(x)) return 1;
22664 y = __builtin_nan ("");
22665 if (!isnan(y)) return 1;
22666 if (isnan(DBL_MAX)) return 1;
22669 if (!isnan(y)) return 1;
22677 rm -f conftest$ac_exeext
22678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22679 (eval $ac_link) 2>&5
22681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22682 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22684 (eval $ac_try) 2>&5
22686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22687 (exit $ac_status); }; }; then
22688 have_broken_isnan=no
22690 echo "$as_me: program exited with status $ac_status" >&5
22691 echo "$as_me: failed program was:" >&5
22692 sed 's/^/| /' conftest.$ac_ext >&5
22694 ( exit $ac_status )
22695 have_broken_isnan=yes
22697 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22699 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
22701 echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
22702 echo "${ECHO_T}$have_broken_isnan" >&6
22703 if test x"$have_broken_isnan" = xyes; then
22705 cat >>confdefs.h <<\_ACEOF
22706 #define HAVE_BROKEN_ISNAN 1
22711 # Check for a fpclassify macro that works on long doubles.
22713 echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
22714 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
22715 if test "${have_broken_fpclassify+set}" = set; then
22716 echo $ECHO_N "(cached) $ECHO_C" >&6
22719 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
22721 if test "$cross_compiling" = yes; then
22723 case "${target}" in
22724 hppa*-*-hpux*) have_broken_fpclassify=yes ;;
22725 *) have_broken_fpclassify=no ;;
22728 cat >conftest.$ac_ext <<_ACEOF
22731 cat confdefs.h >>conftest.$ac_ext
22732 cat >>conftest.$ac_ext <<_ACEOF
22733 /* end confdefs.h. */
22743 if (fpclassify(LDBL_MAX) == FP_NAN
22744 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
22747 if (fpclassify(DBL_MAX) == FP_NAN
22748 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
22754 rm -f conftest$ac_exeext
22755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22756 (eval $ac_link) 2>&5
22758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22759 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22761 (eval $ac_try) 2>&5
22763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764 (exit $ac_status); }; }; then
22765 have_broken_fpclassify=no
22767 echo "$as_me: program exited with status $ac_status" >&5
22768 echo "$as_me: failed program was:" >&5
22769 sed 's/^/| /' conftest.$ac_ext >&5
22771 ( exit $ac_status )
22772 have_broken_fpclassify=yes
22774 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22776 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
22778 echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
22779 echo "${ECHO_T}$have_broken_fpclassify" >&6
22780 if test x"$have_broken_fpclassify" = xyes; then
22782 cat >>confdefs.h <<\_ACEOF
22783 #define HAVE_BROKEN_FPCLASSIFY 1
22788 # Check whether the system has a working stat()
22790 echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
22791 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
22792 if test "${have_working_stat+set}" = set; then
22793 echo $ECHO_N "(cached) $ECHO_C" >&6
22796 if test "$cross_compiling" = yes; then
22798 case "${target}" in
22799 *mingw*) have_working_stat=no ;;
22800 *) have_working_stat=yes;;
22803 cat >conftest.$ac_ext <<_ACEOF
22806 cat confdefs.h >>conftest.$ac_ext
22807 cat >>conftest.$ac_ext <<_ACEOF
22808 /* end confdefs.h. */
22811 #include <sys/types.h>
22812 #include <sys/stat.h>
22813 #include <unistd.h>
22818 struct stat st1, st2;
22820 f = fopen ("foo", "w");
22821 g = fopen ("bar", "w");
22822 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
22824 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
22831 rm -f conftest$ac_exeext
22832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22833 (eval $ac_link) 2>&5
22835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22836 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22838 (eval $ac_try) 2>&5
22840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22841 (exit $ac_status); }; }; then
22842 have_working_stat=yes
22844 echo "$as_me: program exited with status $ac_status" >&5
22845 echo "$as_me: failed program was:" >&5
22846 sed 's/^/| /' conftest.$ac_ext >&5
22848 ( exit $ac_status )
22849 have_working_stat=no
22851 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22854 echo "$as_me:$LINENO: result: $have_working_stat" >&5
22855 echo "${ECHO_T}$have_working_stat" >&6
22856 if test x"$have_working_stat" = xyes; then
22858 cat >>confdefs.h <<\_ACEOF
22859 #define HAVE_WORKING_STAT 1
22864 # Fallback in case isfinite is not available.
22865 echo "$as_me:$LINENO: checking for finite in -lm" >&5
22866 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
22867 if test "${ac_cv_lib_m_finite+set}" = set; then
22868 echo $ECHO_N "(cached) $ECHO_C" >&6
22870 ac_check_lib_save_LIBS=$LIBS
22872 if test x$gcc_no_link = xyes; then
22873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22875 { (exit 1); exit 1; }; }
22877 cat >conftest.$ac_ext <<_ACEOF
22880 cat confdefs.h >>conftest.$ac_ext
22881 cat >>conftest.$ac_ext <<_ACEOF
22882 /* end confdefs.h. */
22884 /* Override any gcc2 internal prototype to avoid an error. */
22888 /* We use char because int might match the return type of a gcc2
22889 builtin and then its argument prototype would still apply. */
22899 rm -f conftest.$ac_objext conftest$ac_exeext
22900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22901 (eval $ac_link) 2>conftest.er1
22903 grep -v '^ *+' conftest.er1 >conftest.err
22905 cat conftest.err >&5
22906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22907 (exit $ac_status); } &&
22908 { ac_try='test -z "$ac_c_werror_flag"
22909 || test ! -s conftest.err'
22910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22911 (eval $ac_try) 2>&5
22913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22914 (exit $ac_status); }; } &&
22915 { ac_try='test -s conftest$ac_exeext'
22916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22917 (eval $ac_try) 2>&5
22919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22920 (exit $ac_status); }; }; then
22921 ac_cv_lib_m_finite=yes
22923 echo "$as_me: failed program was:" >&5
22924 sed 's/^/| /' conftest.$ac_ext >&5
22926 ac_cv_lib_m_finite=no
22928 rm -f conftest.err conftest.$ac_objext \
22929 conftest$ac_exeext conftest.$ac_ext
22930 LIBS=$ac_check_lib_save_LIBS
22932 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
22933 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
22934 if test $ac_cv_lib_m_finite = yes; then
22936 cat >>confdefs.h <<\_ACEOF
22937 #define HAVE_FINITE 1
22943 # Check for GNU libc feenableexcept
22944 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
22945 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
22946 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
22947 echo $ECHO_N "(cached) $ECHO_C" >&6
22949 ac_check_lib_save_LIBS=$LIBS
22951 if test x$gcc_no_link = xyes; then
22952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22954 { (exit 1); exit 1; }; }
22956 cat >conftest.$ac_ext <<_ACEOF
22959 cat confdefs.h >>conftest.$ac_ext
22960 cat >>conftest.$ac_ext <<_ACEOF
22961 /* end confdefs.h. */
22963 /* Override any gcc2 internal prototype to avoid an error. */
22967 /* We use char because int might match the return type of a gcc2
22968 builtin and then its argument prototype would still apply. */
22969 char feenableexcept ();
22978 rm -f conftest.$ac_objext conftest$ac_exeext
22979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22980 (eval $ac_link) 2>conftest.er1
22982 grep -v '^ *+' conftest.er1 >conftest.err
22984 cat conftest.err >&5
22985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22986 (exit $ac_status); } &&
22987 { ac_try='test -z "$ac_c_werror_flag"
22988 || test ! -s conftest.err'
22989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22990 (eval $ac_try) 2>&5
22992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22993 (exit $ac_status); }; } &&
22994 { ac_try='test -s conftest$ac_exeext'
22995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22996 (eval $ac_try) 2>&5
22998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22999 (exit $ac_status); }; }; then
23000 ac_cv_lib_m_feenableexcept=yes
23002 echo "$as_me: failed program was:" >&5
23003 sed 's/^/| /' conftest.$ac_ext >&5
23005 ac_cv_lib_m_feenableexcept=no
23007 rm -f conftest.err conftest.$ac_objext \
23008 conftest$ac_exeext conftest.$ac_ext
23009 LIBS=$ac_check_lib_save_LIBS
23011 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
23012 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
23013 if test $ac_cv_lib_m_feenableexcept = yes; then
23014 have_feenableexcept=yes
23015 cat >>confdefs.h <<\_ACEOF
23016 #define HAVE_FEENABLEEXCEPT 1
23022 # Check for SysV fpsetmask
23024 echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
23025 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
23026 if test "${have_fpsetmask+set}" = set; then
23027 echo $ECHO_N "(cached) $ECHO_C" >&6
23030 if test x$gcc_no_link = xyes; then
23031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23033 { (exit 1); exit 1; }; }
23035 cat >conftest.$ac_ext <<_ACEOF
23038 cat confdefs.h >>conftest.$ac_ext
23039 cat >>conftest.$ac_ext <<_ACEOF
23040 /* end confdefs.h. */
23042 #if HAVE_FLOATINGPOINT_H
23043 # include <floatingpoint.h>
23044 #endif /* HAVE_FLOATINGPOINT_H */
23046 # include <ieeefp.h>
23047 #endif /* HAVE_IEEEFP_H */
23056 rm -f conftest.$ac_objext conftest$ac_exeext
23057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23058 (eval $ac_link) 2>conftest.er1
23060 grep -v '^ *+' conftest.er1 >conftest.err
23062 cat conftest.err >&5
23063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23064 (exit $ac_status); } &&
23065 { ac_try='test -z "$ac_c_werror_flag"
23066 || test ! -s conftest.err'
23067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23068 (eval $ac_try) 2>&5
23070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23071 (exit $ac_status); }; } &&
23072 { ac_try='test -s conftest$ac_exeext'
23073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23074 (eval $ac_try) 2>&5
23076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077 (exit $ac_status); }; }; then
23078 eval "have_fpsetmask=yes"
23080 echo "$as_me: failed program was:" >&5
23081 sed 's/^/| /' conftest.$ac_ext >&5
23083 eval "have_fpsetmask=no"
23085 rm -f conftest.err conftest.$ac_objext \
23086 conftest$ac_exeext conftest.$ac_ext
23089 echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
23090 echo "${ECHO_T}$have_fpsetmask" >&6
23091 if test x"$have_fpsetmask" = xyes; then
23093 cat >>confdefs.h <<\_ACEOF
23094 #define HAVE_FPSETMASK 1
23100 # Check for AIX fp_trap and fp_enable
23101 echo "$as_me:$LINENO: checking for fp_trap" >&5
23102 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
23103 if test "${ac_cv_func_fp_trap+set}" = set; then
23104 echo $ECHO_N "(cached) $ECHO_C" >&6
23106 if test x$gcc_no_link = xyes; then
23107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23109 { (exit 1); exit 1; }; }
23111 cat >conftest.$ac_ext <<_ACEOF
23114 cat confdefs.h >>conftest.$ac_ext
23115 cat >>conftest.$ac_ext <<_ACEOF
23116 /* end confdefs.h. */
23117 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
23118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23119 #define fp_trap innocuous_fp_trap
23121 /* System header to define __stub macros and hopefully few prototypes,
23122 which can conflict with char fp_trap (); below.
23123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23124 <limits.h> exists even on freestanding compilers. */
23127 # include <limits.h>
23129 # include <assert.h>
23134 /* Override any gcc2 internal prototype to avoid an error. */
23139 /* We use char because int might match the return type of a gcc2
23140 builtin and then its argument prototype would still apply. */
23142 /* The GNU C library defines this for functions which it implements
23143 to always fail with ENOSYS. Some functions are actually named
23144 something starting with __ and the normal name is an alias. */
23145 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
23148 char (*f) () = fp_trap;
23157 return f != fp_trap;
23162 rm -f conftest.$ac_objext conftest$ac_exeext
23163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23164 (eval $ac_link) 2>conftest.er1
23166 grep -v '^ *+' conftest.er1 >conftest.err
23168 cat conftest.err >&5
23169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23170 (exit $ac_status); } &&
23171 { ac_try='test -z "$ac_c_werror_flag"
23172 || test ! -s conftest.err'
23173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23174 (eval $ac_try) 2>&5
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); }; } &&
23178 { ac_try='test -s conftest$ac_exeext'
23179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23180 (eval $ac_try) 2>&5
23182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23183 (exit $ac_status); }; }; then
23184 ac_cv_func_fp_trap=yes
23186 echo "$as_me: failed program was:" >&5
23187 sed 's/^/| /' conftest.$ac_ext >&5
23189 ac_cv_func_fp_trap=no
23191 rm -f conftest.err conftest.$ac_objext \
23192 conftest$ac_exeext conftest.$ac_ext
23194 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
23195 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
23196 if test $ac_cv_func_fp_trap = yes; then
23198 cat >>confdefs.h <<\_ACEOF
23199 #define HAVE_FP_TRAP 1
23204 echo "$as_me:$LINENO: checking for fp_enable" >&5
23205 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
23206 if test "${ac_cv_func_fp_enable+set}" = set; then
23207 echo $ECHO_N "(cached) $ECHO_C" >&6
23209 if test x$gcc_no_link = xyes; then
23210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23212 { (exit 1); exit 1; }; }
23214 cat >conftest.$ac_ext <<_ACEOF
23217 cat confdefs.h >>conftest.$ac_ext
23218 cat >>conftest.$ac_ext <<_ACEOF
23219 /* end confdefs.h. */
23220 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
23221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23222 #define fp_enable innocuous_fp_enable
23224 /* System header to define __stub macros and hopefully few prototypes,
23225 which can conflict with char fp_enable (); below.
23226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23227 <limits.h> exists even on freestanding compilers. */
23230 # include <limits.h>
23232 # include <assert.h>
23237 /* Override any gcc2 internal prototype to avoid an error. */
23242 /* We use char because int might match the return type of a gcc2
23243 builtin and then its argument prototype would still apply. */
23245 /* The GNU C library defines this for functions which it implements
23246 to always fail with ENOSYS. Some functions are actually named
23247 something starting with __ and the normal name is an alias. */
23248 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
23251 char (*f) () = fp_enable;
23260 return f != fp_enable;
23265 rm -f conftest.$ac_objext conftest$ac_exeext
23266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23267 (eval $ac_link) 2>conftest.er1
23269 grep -v '^ *+' conftest.er1 >conftest.err
23271 cat conftest.err >&5
23272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23273 (exit $ac_status); } &&
23274 { ac_try='test -z "$ac_c_werror_flag"
23275 || test ! -s conftest.err'
23276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23277 (eval $ac_try) 2>&5
23279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23280 (exit $ac_status); }; } &&
23281 { ac_try='test -s conftest$ac_exeext'
23282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23283 (eval $ac_try) 2>&5
23285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23286 (exit $ac_status); }; }; then
23287 ac_cv_func_fp_enable=yes
23289 echo "$as_me: failed program was:" >&5
23290 sed 's/^/| /' conftest.$ac_ext >&5
23292 ac_cv_func_fp_enable=no
23294 rm -f conftest.err conftest.$ac_objext \
23295 conftest$ac_exeext conftest.$ac_ext
23297 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
23298 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
23299 if test $ac_cv_func_fp_enable = yes; then
23301 cat >>confdefs.h <<\_ACEOF
23302 #define HAVE_FP_ENABLE 1
23308 # Runs configure.host to set up necessary host-dependent shell variables.
23309 # We then display a message about it, and propagate them through the
23311 . ${srcdir}/configure.host
23312 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
23313 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
23314 FPU_HOST_HEADER=config/${fpu_host}.h
23317 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
23318 # for struct timezone, as you might think. We also need to check how
23319 # to call gettimeofday if we have it.
23320 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
23321 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
23322 if test "${ac_cv_header_time+set}" = set; then
23323 echo $ECHO_N "(cached) $ECHO_C" >&6
23325 cat >conftest.$ac_ext <<_ACEOF
23328 cat confdefs.h >>conftest.$ac_ext
23329 cat >>conftest.$ac_ext <<_ACEOF
23330 /* end confdefs.h. */
23331 #include <sys/types.h>
23332 #include <sys/time.h>
23338 if ((struct tm *) 0)
23344 rm -f conftest.$ac_objext
23345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23346 (eval $ac_compile) 2>conftest.er1
23348 grep -v '^ *+' conftest.er1 >conftest.err
23350 cat conftest.err >&5
23351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23352 (exit $ac_status); } &&
23353 { ac_try='test -z "$ac_c_werror_flag"
23354 || test ! -s conftest.err'
23355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23356 (eval $ac_try) 2>&5
23358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23359 (exit $ac_status); }; } &&
23360 { ac_try='test -s conftest.$ac_objext'
23361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23362 (eval $ac_try) 2>&5
23364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23365 (exit $ac_status); }; }; then
23366 ac_cv_header_time=yes
23368 echo "$as_me: failed program was:" >&5
23369 sed 's/^/| /' conftest.$ac_ext >&5
23371 ac_cv_header_time=no
23373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23375 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
23376 echo "${ECHO_T}$ac_cv_header_time" >&6
23377 if test $ac_cv_header_time = yes; then
23379 cat >>confdefs.h <<\_ACEOF
23380 #define TIME_WITH_SYS_TIME 1
23387 for ac_func in gettimeofday
23389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23390 echo "$as_me:$LINENO: checking for $ac_func" >&5
23391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23392 if eval "test \"\${$as_ac_var+set}\" = set"; then
23393 echo $ECHO_N "(cached) $ECHO_C" >&6
23395 if test x$gcc_no_link = xyes; then
23396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23398 { (exit 1); exit 1; }; }
23400 cat >conftest.$ac_ext <<_ACEOF
23403 cat confdefs.h >>conftest.$ac_ext
23404 cat >>conftest.$ac_ext <<_ACEOF
23405 /* end confdefs.h. */
23406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23408 #define $ac_func innocuous_$ac_func
23410 /* System header to define __stub macros and hopefully few prototypes,
23411 which can conflict with char $ac_func (); below.
23412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23413 <limits.h> exists even on freestanding compilers. */
23416 # include <limits.h>
23418 # include <assert.h>
23423 /* Override any gcc2 internal prototype to avoid an error. */
23428 /* We use char because int might match the return type of a gcc2
23429 builtin and then its argument prototype would still apply. */
23431 /* The GNU C library defines this for functions which it implements
23432 to always fail with ENOSYS. Some functions are actually named
23433 something starting with __ and the normal name is an alias. */
23434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23437 char (*f) () = $ac_func;
23446 return f != $ac_func;
23451 rm -f conftest.$ac_objext conftest$ac_exeext
23452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23453 (eval $ac_link) 2>conftest.er1
23455 grep -v '^ *+' conftest.er1 >conftest.err
23457 cat conftest.err >&5
23458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23459 (exit $ac_status); } &&
23460 { ac_try='test -z "$ac_c_werror_flag"
23461 || test ! -s conftest.err'
23462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23463 (eval $ac_try) 2>&5
23465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466 (exit $ac_status); }; } &&
23467 { ac_try='test -s conftest$ac_exeext'
23468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23469 (eval $ac_try) 2>&5
23471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23472 (exit $ac_status); }; }; then
23473 eval "$as_ac_var=yes"
23475 echo "$as_me: failed program was:" >&5
23476 sed 's/^/| /' conftest.$ac_ext >&5
23478 eval "$as_ac_var=no"
23480 rm -f conftest.err conftest.$ac_objext \
23481 conftest$ac_exeext conftest.$ac_ext
23483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23485 if test `eval echo '${'$as_ac_var'}'` = yes; then
23486 cat >>confdefs.h <<_ACEOF
23487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23493 if test "$ac_cv_func_gettimeofday" = yes; then
23494 echo "$as_me:$LINENO: checking for struct timezone" >&5
23495 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
23496 if test "${gfor_cv_struct_timezone+set}" = set; then
23497 echo $ECHO_N "(cached) $ECHO_C" >&6
23499 cat >conftest.$ac_ext <<_ACEOF
23502 cat confdefs.h >>conftest.$ac_ext
23503 cat >>conftest.$ac_ext <<_ACEOF
23504 /* end confdefs.h. */
23505 #include <sys/time.h>
23509 struct timezone tz;
23514 rm -f conftest.$ac_objext
23515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23516 (eval $ac_compile) 2>conftest.er1
23518 grep -v '^ *+' conftest.er1 >conftest.err
23520 cat conftest.err >&5
23521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23522 (exit $ac_status); } &&
23523 { ac_try='test -z "$ac_c_werror_flag"
23524 || test ! -s conftest.err'
23525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23526 (eval $ac_try) 2>&5
23528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23529 (exit $ac_status); }; } &&
23530 { ac_try='test -s conftest.$ac_objext'
23531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23532 (eval $ac_try) 2>&5
23534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23535 (exit $ac_status); }; }; then
23536 gfor_cv_struct_timezone=yes
23538 echo "$as_me: failed program was:" >&5
23539 sed 's/^/| /' conftest.$ac_ext >&5
23541 gfor_cv_struct_timezone=no
23543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23545 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
23546 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
23547 if test $gfor_cv_struct_timezone = yes; then
23548 if test "$cross_compiling" = yes; then
23549 gfor_have_struct_timezone=yes
23551 cat >conftest.$ac_ext <<_ACEOF
23554 cat confdefs.h >>conftest.$ac_ext
23555 cat >>conftest.$ac_ext <<_ACEOF
23556 /* end confdefs.h. */
23558 #ifdef TIME_WITH_SYS_TIME
23559 #include <sys/time.h>
23562 #ifdef HAVE_SYS_TIME_H
23563 #include <sys/time.h>
23570 struct timeval time;
23571 struct timezone dummy;
23572 if (gettimeofday (&time, &dummy))
23578 rm -f conftest$ac_exeext
23579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23580 (eval $ac_link) 2>&5
23582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23583 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23585 (eval $ac_try) 2>&5
23587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23588 (exit $ac_status); }; }; then
23589 gfor_have_struct_timezone=yes
23591 echo "$as_me: program exited with status $ac_status" >&5
23592 echo "$as_me: failed program was:" >&5
23593 sed 's/^/| /' conftest.$ac_ext >&5
23595 ( exit $ac_status )
23596 gfor_have_struct_timezone=no
23598 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23600 if test $gfor_have_struct_timezone = yes; then
23602 cat >>confdefs.h <<\_ACEOF
23603 #define HAVE_TIMEZONE 1
23609 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
23610 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
23611 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
23612 echo $ECHO_N "(cached) $ECHO_C" >&6
23614 if test x$gcc_no_link = xyes; then
23615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23617 { (exit 1); exit 1; }; }
23619 cat >conftest.$ac_ext <<_ACEOF
23622 cat confdefs.h >>conftest.$ac_ext
23623 cat >>conftest.$ac_ext <<_ACEOF
23624 /* end confdefs.h. */
23626 #ifdef TIME_WITH_SYS_TIME
23627 #include <sys/time.h>
23630 #ifdef HAVE_SYS_TIME_H
23631 #include <sys/time.h>
23641 struct timeval time;
23642 #ifdef HAVE_TIMEZONE
23643 struct timezone dummy;
23644 #define DUMMY &dummy
23648 gettimeofday (&time, DUMMY);
23653 rm -f conftest.$ac_objext conftest$ac_exeext
23654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23655 (eval $ac_link) 2>conftest.er1
23657 grep -v '^ *+' conftest.er1 >conftest.err
23659 cat conftest.err >&5
23660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23661 (exit $ac_status); } &&
23662 { ac_try='test -z "$ac_c_werror_flag"
23663 || test ! -s conftest.err'
23664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23665 (eval $ac_try) 2>&5
23667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23668 (exit $ac_status); }; } &&
23669 { ac_try='test -s conftest$ac_exeext'
23670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23671 (eval $ac_try) 2>&5
23673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23674 (exit $ac_status); }; }; then
23675 emacs_cv_gettimeofday_two_arguments=yes
23677 echo "$as_me: failed program was:" >&5
23678 sed 's/^/| /' conftest.$ac_ext >&5
23680 emacs_cv_gettimeofday_two_arguments=no
23682 rm -f conftest.err conftest.$ac_objext \
23683 conftest$ac_exeext conftest.$ac_ext
23685 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
23686 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
23687 if test $emacs_cv_gettimeofday_two_arguments = no; then
23689 cat >>confdefs.h <<\_ACEOF
23690 #define GETTIMEOFDAY_ONE_ARGUMENT 1
23696 # Attempt to assert that the target is of common type in case we don't
23697 # have C99 integer types at all.
23699 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
23700 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
23701 if test "${target_ilp32+set}" = set; then
23702 echo $ECHO_N "(cached) $ECHO_C" >&6
23705 save_CFLAGS="$CFLAGS"
23707 if test x$gcc_no_link = xyes; then
23708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23710 { (exit 1); exit 1; }; }
23712 cat >conftest.$ac_ext <<_ACEOF
23715 cat confdefs.h >>conftest.$ac_ext
23716 cat >>conftest.$ac_ext <<_ACEOF
23717 /* end confdefs.h. */
23723 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
23726 undefined_function ();
23732 rm -f conftest.$ac_objext conftest$ac_exeext
23733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23734 (eval $ac_link) 2>conftest.er1
23736 grep -v '^ *+' conftest.er1 >conftest.err
23738 cat conftest.err >&5
23739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23740 (exit $ac_status); } &&
23741 { ac_try='test -z "$ac_c_werror_flag"
23742 || test ! -s conftest.err'
23743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23744 (eval $ac_try) 2>&5
23746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23747 (exit $ac_status); }; } &&
23748 { ac_try='test -s conftest$ac_exeext'
23749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23750 (eval $ac_try) 2>&5
23752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23753 (exit $ac_status); }; }; then
23756 echo "$as_me: failed program was:" >&5
23757 sed 's/^/| /' conftest.$ac_ext >&5
23761 rm -f conftest.err conftest.$ac_objext \
23762 conftest$ac_exeext conftest.$ac_ext
23763 CFLAGS="$save_CFLAGS"
23765 echo "$as_me:$LINENO: result: $target_ilp32" >&5
23766 echo "${ECHO_T}$target_ilp32" >&6
23767 if test $target_ilp32 = yes; then
23769 cat >>confdefs.h <<\_ACEOF
23770 #define TARGET_ILP32 1
23776 # Check out attribute support.
23778 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
23779 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
23780 if test "${have_attribute_visibility+set}" = set; then
23781 echo $ECHO_N "(cached) $ECHO_C" >&6
23784 save_CFLAGS="$CFLAGS"
23785 CFLAGS="$CFLAGS -Werror"
23786 cat >conftest.$ac_ext <<_ACEOF
23789 cat confdefs.h >>conftest.$ac_ext
23790 cat >>conftest.$ac_ext <<_ACEOF
23791 /* end confdefs.h. */
23792 void __attribute__((visibility("hidden"))) foo(void) { }
23801 rm -f conftest.$ac_objext
23802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23803 (eval $ac_compile) 2>conftest.er1
23805 grep -v '^ *+' conftest.er1 >conftest.err
23807 cat conftest.err >&5
23808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23809 (exit $ac_status); } &&
23810 { ac_try='test -z "$ac_c_werror_flag"
23811 || test ! -s conftest.err'
23812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23813 (eval $ac_try) 2>&5
23815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23816 (exit $ac_status); }; } &&
23817 { ac_try='test -s conftest.$ac_objext'
23818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23819 (eval $ac_try) 2>&5
23821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23822 (exit $ac_status); }; }; then
23823 have_attribute_visibility=yes
23825 echo "$as_me: failed program was:" >&5
23826 sed 's/^/| /' conftest.$ac_ext >&5
23828 have_attribute_visibility=no
23830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23831 CFLAGS="$save_CFLAGS"
23833 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
23834 echo "${ECHO_T}$have_attribute_visibility" >&6
23835 if test $have_attribute_visibility = yes; then
23837 cat >>confdefs.h <<\_ACEOF
23838 #define HAVE_ATTRIBUTE_VISIBILITY 1
23843 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
23844 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
23845 if test "${have_attribute_dllexport+set}" = set; then
23846 echo $ECHO_N "(cached) $ECHO_C" >&6
23849 save_CFLAGS="$CFLAGS"
23850 CFLAGS="$CFLAGS -Werror"
23851 cat >conftest.$ac_ext <<_ACEOF
23854 cat confdefs.h >>conftest.$ac_ext
23855 cat >>conftest.$ac_ext <<_ACEOF
23856 /* end confdefs.h. */
23857 void __attribute__((dllexport)) foo(void) { }
23866 rm -f conftest.$ac_objext
23867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23868 (eval $ac_compile) 2>conftest.er1
23870 grep -v '^ *+' conftest.er1 >conftest.err
23872 cat conftest.err >&5
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); } &&
23875 { ac_try='test -z "$ac_c_werror_flag"
23876 || test ! -s conftest.err'
23877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23878 (eval $ac_try) 2>&5
23880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23881 (exit $ac_status); }; } &&
23882 { ac_try='test -s conftest.$ac_objext'
23883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23884 (eval $ac_try) 2>&5
23886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23887 (exit $ac_status); }; }; then
23888 have_attribute_dllexport=yes
23890 echo "$as_me: failed program was:" >&5
23891 sed 's/^/| /' conftest.$ac_ext >&5
23893 have_attribute_dllexport=no
23895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23896 CFLAGS="$save_CFLAGS"
23898 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
23899 echo "${ECHO_T}$have_attribute_dllexport" >&6
23900 if test $have_attribute_dllexport = yes; then
23902 cat >>confdefs.h <<\_ACEOF
23903 #define HAVE_ATTRIBUTE_DLLEXPORT 1
23908 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
23909 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
23910 if test "${have_attribute_alias+set}" = set; then
23911 echo $ECHO_N "(cached) $ECHO_C" >&6
23914 if test x$gcc_no_link = xyes; then
23915 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23917 { (exit 1); exit 1; }; }
23919 cat >conftest.$ac_ext <<_ACEOF
23922 cat confdefs.h >>conftest.$ac_ext
23923 cat >>conftest.$ac_ext <<_ACEOF
23924 /* end confdefs.h. */
23927 extern void bar(void) __attribute__((alias("foo")));
23936 rm -f conftest.$ac_objext conftest$ac_exeext
23937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23938 (eval $ac_link) 2>conftest.er1
23940 grep -v '^ *+' conftest.er1 >conftest.err
23942 cat conftest.err >&5
23943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23944 (exit $ac_status); } &&
23945 { ac_try='test -z "$ac_c_werror_flag"
23946 || test ! -s conftest.err'
23947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23948 (eval $ac_try) 2>&5
23950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23951 (exit $ac_status); }; } &&
23952 { ac_try='test -s conftest$ac_exeext'
23953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23954 (eval $ac_try) 2>&5
23956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23957 (exit $ac_status); }; }; then
23958 have_attribute_alias=yes
23960 echo "$as_me: failed program was:" >&5
23961 sed 's/^/| /' conftest.$ac_ext >&5
23963 have_attribute_alias=no
23965 rm -f conftest.err conftest.$ac_objext \
23966 conftest$ac_exeext conftest.$ac_ext
23968 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
23969 echo "${ECHO_T}$have_attribute_alias" >&6
23970 if test $have_attribute_alias = yes; then
23972 cat >>confdefs.h <<\_ACEOF
23973 #define HAVE_ATTRIBUTE_ALIAS 1
23978 # Check out sync builtins support.
23980 echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
23981 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
23982 if test "${have_sync_fetch_and_add+set}" = set; then
23983 echo $ECHO_N "(cached) $ECHO_C" >&6
23986 if test x$gcc_no_link = xyes; then
23987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23989 { (exit 1); exit 1; }; }
23991 cat >conftest.$ac_ext <<_ACEOF
23994 cat confdefs.h >>conftest.$ac_ext
23995 cat >>conftest.$ac_ext <<_ACEOF
23996 /* end confdefs.h. */
24002 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
24003 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
24008 rm -f conftest.$ac_objext conftest$ac_exeext
24009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24010 (eval $ac_link) 2>conftest.er1
24012 grep -v '^ *+' conftest.er1 >conftest.err
24014 cat conftest.err >&5
24015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24016 (exit $ac_status); } &&
24017 { ac_try='test -z "$ac_c_werror_flag"
24018 || test ! -s conftest.err'
24019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24020 (eval $ac_try) 2>&5
24022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24023 (exit $ac_status); }; } &&
24024 { ac_try='test -s conftest$ac_exeext'
24025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24026 (eval $ac_try) 2>&5
24028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24029 (exit $ac_status); }; }; then
24030 have_sync_fetch_and_add=yes
24032 echo "$as_me: failed program was:" >&5
24033 sed 's/^/| /' conftest.$ac_ext >&5
24035 have_sync_fetch_and_add=no
24037 rm -f conftest.err conftest.$ac_objext \
24038 conftest$ac_exeext conftest.$ac_ext
24040 echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
24041 echo "${ECHO_T}$have_sync_fetch_and_add" >&6
24042 if test $have_sync_fetch_and_add = yes; then
24044 cat >>confdefs.h <<\_ACEOF
24045 #define HAVE_SYNC_FETCH_AND_ADD 1
24050 # Check out thread support.
24052 echo "$as_me:$LINENO: checking configured target thread model" >&5
24053 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
24054 if test "${target_thread_file+set}" = set; then
24055 echo $ECHO_N "(cached) $ECHO_C" >&6
24058 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
24060 echo "$as_me:$LINENO: result: $target_thread_file" >&5
24061 echo "${ECHO_T}$target_thread_file" >&6
24063 if test $target_thread_file != single; then
24065 cat >>confdefs.h <<\_ACEOF
24066 #define HAVE_GTHR_DEFAULT 1
24071 # Check out #pragma weak.
24073 echo "$as_me:$LINENO: checking whether pragma weak works" >&5
24074 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
24075 if test "${have_pragma_weak+set}" = set; then
24076 echo $ECHO_N "(cached) $ECHO_C" >&6
24079 gfor_save_CFLAGS="$CFLAGS"
24080 CFLAGS="$CFLAGS -Wunknown-pragmas"
24081 cat >conftest.$ac_ext <<_ACEOF
24084 cat confdefs.h >>conftest.$ac_ext
24085 cat >>conftest.$ac_ext <<_ACEOF
24086 /* end confdefs.h. */
24097 rm -f conftest.$ac_objext
24098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24099 (eval $ac_compile) 2>conftest.er1
24101 grep -v '^ *+' conftest.er1 >conftest.err
24103 cat conftest.err >&5
24104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24105 (exit $ac_status); } &&
24106 { ac_try='test -z "$ac_c_werror_flag"
24107 || test ! -s conftest.err'
24108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24109 (eval $ac_try) 2>&5
24111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24112 (exit $ac_status); }; } &&
24113 { ac_try='test -s conftest.$ac_objext'
24114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24115 (eval $ac_try) 2>&5
24117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24118 (exit $ac_status); }; }; then
24119 have_pragma_weak=yes
24121 echo "$as_me: failed program was:" >&5
24122 sed 's/^/| /' conftest.$ac_ext >&5
24124 have_pragma_weak=no
24126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24128 echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
24129 echo "${ECHO_T}$have_pragma_weak" >&6
24130 if test $have_pragma_weak = yes; then
24132 cat >>confdefs.h <<\_ACEOF
24133 #define SUPPORTS_WEAK 1
24138 *-*-darwin* | *-*-hpux* | *-*-cygwin*)
24140 cat >>confdefs.h <<\_ACEOF
24141 #define GTHREAD_USE_WEAK 0
24147 # Various other checks on target
24149 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
24150 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
24151 if test "${have_unlink_open_file+set}" = set; then
24152 echo $ECHO_N "(cached) $ECHO_C" >&6
24155 if test "$cross_compiling" = yes; then
24157 case "${target}" in
24158 *mingw*) have_unlink_open_file=no ;;
24159 *) have_unlink_open_file=yes;;
24162 cat >conftest.$ac_ext <<_ACEOF
24165 cat confdefs.h >>conftest.$ac_ext
24166 cat >>conftest.$ac_ext <<_ACEOF
24167 /* end confdefs.h. */
24171 #include <unistd.h>
24172 #include <sys/stat.h>
24178 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
24181 if (unlink ("testfile") == -1)
24183 write (fd, "This is a test\n", 15);
24186 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
24192 rm -f conftest$ac_exeext
24193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24194 (eval $ac_link) 2>&5
24196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24197 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24199 (eval $ac_try) 2>&5
24201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24202 (exit $ac_status); }; }; then
24203 have_unlink_open_file=yes
24205 echo "$as_me: program exited with status $ac_status" >&5
24206 echo "$as_me: failed program was:" >&5
24207 sed 's/^/| /' conftest.$ac_ext >&5
24209 ( exit $ac_status )
24210 have_unlink_open_file=no
24212 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24215 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
24216 echo "${ECHO_T}$have_unlink_open_file" >&6
24217 if test x"$have_unlink_open_file" = xyes; then
24219 cat >>confdefs.h <<\_ACEOF
24220 #define HAVE_UNLINK_OPEN_FILE 1
24225 # Check whether line terminator is LF or CRLF
24227 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
24228 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
24229 if test "${have_crlf+set}" = set; then
24230 echo $ECHO_N "(cached) $ECHO_C" >&6
24233 if test "$cross_compiling" = yes; then
24235 case "${target}" in
24236 *mingw*) have_crlf=yes ;;
24240 cat >conftest.$ac_ext <<_ACEOF
24243 cat confdefs.h >>conftest.$ac_ext
24244 cat >>conftest.$ac_ext <<_ACEOF
24245 /* end confdefs.h. */
24247 /* This test program should exit with status 0 if system uses a CRLF as
24248 line terminator, and status 1 otherwise.
24249 Since it is used to check for mingw systems, and should return 0 in any
24250 other case, in case of a failure we will not use CRLF. */
24251 #include <sys/stat.h>
24252 #include <stdlib.h>
24264 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
24267 if (write (fd, "\n", 1) < 0)
24272 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
24274 bytes = read (fd, buff, 5);
24275 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
24282 rm -f conftest$ac_exeext
24283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24284 (eval $ac_link) 2>&5
24286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24287 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24289 (eval $ac_try) 2>&5
24291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24292 (exit $ac_status); }; }; then
24295 echo "$as_me: program exited with status $ac_status" >&5
24296 echo "$as_me: failed program was:" >&5
24297 sed 's/^/| /' conftest.$ac_ext >&5
24299 ( exit $ac_status )
24302 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24305 echo "$as_me:$LINENO: result: $have_crlf" >&5
24306 echo "${ECHO_T}$have_crlf" >&6
24307 if test x"$have_crlf" = xyes; then
24309 cat >>confdefs.h <<\_ACEOF
24310 #define HAVE_CRLF 1
24315 cat >confcache <<\_ACEOF
24316 # This file is a shell script that caches the results of configure
24317 # tests run on this system so they can be shared between configure
24318 # scripts and configure runs, see configure's option --config-cache.
24319 # It is not useful on other systems. If it contains results you don't
24320 # want to keep, you may remove or edit it.
24322 # config.status only pays attention to the cache file if you give it
24323 # the --recheck option to rerun configure.
24325 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24326 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24327 # following values.
24331 # The following way of writing the cache mishandles newlines in values,
24332 # but we know of no workaround that is simple, portable, and efficient.
24333 # So, don't put newlines in cache variables' values.
24334 # Ultrix sh set writes to stderr and can't be redirected directly,
24335 # and sets the high bit in the cache file unless we assign to the vars.
24338 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24340 # `set' does not quote correctly, so add quotes (double-quote
24341 # substitution turns \\\\ into \\, and sed turns \\ into \).
24344 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24347 # `set' quotes correctly as required by POSIX, so do not add quotes.
24349 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24356 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24358 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24360 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24361 if test -w $cache_file; then
24362 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24363 cat confcache >$cache_file
24365 echo "not updating unwritable cache $cache_file"
24370 if test ${multilib} = yes; then
24371 multilib_arg="--enable-multilib"
24376 # Write our Makefile.
24377 ac_config_files="$ac_config_files Makefile"
24379 cat >confcache <<\_ACEOF
24380 # This file is a shell script that caches the results of configure
24381 # tests run on this system so they can be shared between configure
24382 # scripts and configure runs, see configure's option --config-cache.
24383 # It is not useful on other systems. If it contains results you don't
24384 # want to keep, you may remove or edit it.
24386 # config.status only pays attention to the cache file if you give it
24387 # the --recheck option to rerun configure.
24389 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24390 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24391 # following values.
24395 # The following way of writing the cache mishandles newlines in values,
24396 # but we know of no workaround that is simple, portable, and efficient.
24397 # So, don't put newlines in cache variables' values.
24398 # Ultrix sh set writes to stderr and can't be redirected directly,
24399 # and sets the high bit in the cache file unless we assign to the vars.
24402 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24404 # `set' does not quote correctly, so add quotes (double-quote
24405 # substitution turns \\\\ into \\, and sed turns \\ into \).
24408 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24411 # `set' quotes correctly as required by POSIX, so do not add quotes.
24413 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24420 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24422 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24424 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24425 if test -w $cache_file; then
24426 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24427 cat confcache >$cache_file
24429 echo "not updating unwritable cache $cache_file"
24434 test "x$prefix" = xNONE && prefix=$ac_default_prefix
24435 # Let make expand exec_prefix.
24436 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24438 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24439 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24440 # trailing colons and then remove the whole line if VPATH becomes empty
24441 # (actually we leave an empty line to preserve line numbers).
24442 if test "x$srcdir" = x.; then
24443 ac_vpsub='/^[ ]*VPATH[ ]*=/{
24444 s/:*\$(srcdir):*/:/;
24445 s/:*\${srcdir}:*/:/;
24447 s/^\([^=]*=[ ]*\):*/\1/;
24453 DEFS=-DHAVE_CONFIG_H
24457 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24458 # 1. Remove the extension, and $U if already installed.
24459 ac_i=`echo "$ac_i" |
24460 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
24462 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
24463 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
24465 LIBOBJS=$ac_libobjs
24467 LTLIBOBJS=$ac_ltlibobjs
24470 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24471 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
24472 Usually this means the macro was only invoked conditionally." >&5
24473 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
24474 Usually this means the macro was only invoked conditionally." >&2;}
24475 { (exit 1); exit 1; }; }
24477 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24478 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
24479 Usually this means the macro was only invoked conditionally." >&5
24480 echo "$as_me: error: conditional \"AMDEP\" was never defined.
24481 Usually this means the macro was only invoked conditionally." >&2;}
24482 { (exit 1); exit 1; }; }
24484 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24485 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
24486 Usually this means the macro was only invoked conditionally." >&5
24487 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
24488 Usually this means the macro was only invoked conditionally." >&2;}
24489 { (exit 1); exit 1; }; }
24492 : ${CONFIG_STATUS=./config.status}
24493 ac_clean_files_save=$ac_clean_files
24494 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24495 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24496 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24497 cat >$CONFIG_STATUS <<_ACEOF
24499 # Generated by $as_me.
24500 # Run this file to recreate the current configuration.
24501 # Compiler output produced by configure, useful for debugging
24502 # configure, is in config.log if it exists.
24505 ac_cs_recheck=false
24507 SHELL=\${CONFIG_SHELL-$SHELL}
24510 cat >>$CONFIG_STATUS <<\_ACEOF
24511 ## --------------------- ##
24512 ## M4sh Initialization. ##
24513 ## --------------------- ##
24515 # Be Bourne compatible
24516 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24519 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24520 # is contrary to our usage. Disable this feature.
24521 alias -g '${1+"$@"}'='"$@"'
24522 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24525 DUALCASE=1; export DUALCASE # for MKS sh
24527 # Support unset when possible.
24528 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24535 # Work around bugs in pre-3.0 UWIN ksh.
24536 $as_unset ENV MAIL MAILPATH
24543 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24544 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24545 LC_TELEPHONE LC_TIME
24547 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24548 eval $as_var=C; export $as_var
24554 # Required to use basename.
24555 if expr a : '\(a\)' >/dev/null 2>&1; then
24561 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
24562 as_basename=basename
24568 # Name of the executable.
24569 as_me=`$as_basename "$0" ||
24570 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24571 X"$0" : 'X\(//\)$' \| \
24572 X"$0" : 'X\(/\)$' \| \
24573 . : '\(.\)' 2>/dev/null ||
24575 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
24576 /^X\/\(\/\/\)$/{ s//\1/; q; }
24577 /^X\/\(\/\).*/{ s//\1/; q; }
24581 # PATH needs CR, and LINENO needs CR and PATH.
24582 # Avoid depending upon Character Ranges.
24583 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24584 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24585 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24586 as_cr_digits='0123456789'
24587 as_cr_alnum=$as_cr_Letters$as_cr_digits
24589 # The user is always right.
24590 if test "${PATH_SEPARATOR+set}" != set; then
24591 echo "#! /bin/sh" >conf$$.sh
24592 echo "exit 0" >>conf$$.sh
24594 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
24603 as_lineno_1=$LINENO
24604 as_lineno_2=$LINENO
24605 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24606 test "x$as_lineno_1" != "x$as_lineno_2" &&
24607 test "x$as_lineno_3" = "x$as_lineno_2" || {
24608 # Find who we are. Look in the path if we contain no path at all
24611 *[\\/]* ) as_myself=$0 ;;
24612 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24613 for as_dir in $PATH
24616 test -z "$as_dir" && as_dir=.
24617 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24622 # We did not find ourselves, most probably we were run as `sh COMMAND'
24623 # in which case we are not to be found in the path.
24624 if test "x$as_myself" = x; then
24627 if test ! -f "$as_myself"; then
24628 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
24629 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
24630 { (exit 1); exit 1; }; }
24632 case $CONFIG_SHELL in
24634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24635 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
24638 test -z "$as_dir" && as_dir=.
24639 for as_base in sh bash ksh sh5; do
24642 if ("$as_dir/$as_base" -c '
24643 as_lineno_1=$LINENO
24644 as_lineno_2=$LINENO
24645 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24646 test "x$as_lineno_1" != "x$as_lineno_2" &&
24647 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
24648 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
24649 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
24650 CONFIG_SHELL=$as_dir/$as_base
24651 export CONFIG_SHELL
24652 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
24660 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24661 # uniformly replaced by the line number. The first 'sed' inserts a
24662 # line-number line before each line; the second 'sed' does the real
24663 # work. The second script uses 'N' to pair each line-number line
24664 # with the numbered line, and appends trailing '-' during
24665 # substitution so that $LINENO is not a special case at line end.
24666 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24667 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
24668 sed '=' <$as_myself |
24673 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
24676 s,^['$as_cr_digits']*\n,,
24677 ' >$as_me.lineno &&
24678 chmod +x $as_me.lineno ||
24679 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
24680 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
24681 { (exit 1); exit 1; }; }
24683 # Don't try to exec as it changes $[0], causing all sort of problems
24684 # (the dirname of $[0] is not the place where we might find the
24685 # original and so on. Autoconf is especially sensible to this).
24687 # Exit status is that of the last command.
24692 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
24693 *c*,-n*) ECHO_N= ECHO_C='
24695 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
24696 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
24699 if expr a : '\(a\)' >/dev/null 2>&1; then
24705 rm -f conf$$ conf$$.exe conf$$.file
24707 if ln -s conf$$.file conf$$ 2>/dev/null; then
24708 # We could just check for DJGPP; but this test a) works b) is more generic
24709 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
24710 if test -f conf$$.exe; then
24711 # Don't use ln at all; we don't have any links
24716 elif ln conf$$.file conf$$ 2>/dev/null; then
24721 rm -f conf$$ conf$$.exe conf$$.file
24723 if mkdir -p . 2>/dev/null; then
24726 test -d ./-p && rmdir ./-p
24730 as_executable_p="test -f"
24732 # Sed expression to map a string onto a valid CPP name.
24733 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24735 # Sed expression to map a string onto a valid variable name.
24736 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24740 # We need space, tab and new line, in precisely that order.
24750 # Open the log real soon, to keep \$[0] and so on meaningful, and to
24751 # report actual input values of CONFIG_FILES etc. instead of their
24752 # values after options handling. Logging --version etc. is OK.
24756 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24757 ## Running $as_me. ##
24762 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
24763 generated by GNU Autoconf 2.59. Invocation command line was
24765 CONFIG_FILES = $CONFIG_FILES
24766 CONFIG_HEADERS = $CONFIG_HEADERS
24767 CONFIG_LINKS = $CONFIG_LINKS
24768 CONFIG_COMMANDS = $CONFIG_COMMANDS
24772 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
24776 # Files that config.status was made for.
24777 if test -n "$ac_config_files"; then
24778 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
24781 if test -n "$ac_config_headers"; then
24782 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
24785 if test -n "$ac_config_links"; then
24786 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
24789 if test -n "$ac_config_commands"; then
24790 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
24793 cat >>$CONFIG_STATUS <<\_ACEOF
24796 \`$as_me' instantiates files from templates according to the
24797 current configuration.
24799 Usage: $0 [OPTIONS] [FILE]...
24801 -h, --help print this help, then exit
24802 -V, --version print version number, then exit
24803 -q, --quiet do not print progress messages
24804 -d, --debug don't remove temporary files
24805 --recheck update $as_me by reconfiguring in the same conditions
24806 --file=FILE[:TEMPLATE]
24807 instantiate the configuration file FILE
24808 --header=FILE[:TEMPLATE]
24809 instantiate the configuration header FILE
24811 Configuration files:
24814 Configuration headers:
24817 Configuration commands:
24820 Report bugs to <bug-autoconf@gnu.org>."
24823 cat >>$CONFIG_STATUS <<_ACEOF
24825 GNU Fortran Runtime Library config.status 0.3
24826 configured by $0, generated by GNU Autoconf 2.59,
24827 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
24829 Copyright (C) 2003 Free Software Foundation, Inc.
24830 This config.status script is free software; the Free Software Foundation
24831 gives unlimited permission to copy, distribute and modify it."
24836 cat >>$CONFIG_STATUS <<\_ACEOF
24837 # If no file are specified by the user, then we need to provide default
24838 # value. By we need to know if files were specified by the user.
24844 ac_option=`expr "x$1" : 'x\([^=]*\)='`
24845 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
24853 *) # This is not an option, so the user has probably given explicit
24856 ac_need_defaults=false;;
24860 # Handling of the options.
24862 cat >>$CONFIG_STATUS <<\_ACEOF
24863 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24865 --version | --vers* | -V )
24866 echo "$ac_cs_version"; exit 0 ;;
24868 # Conflict between --help and --header
24869 { { echo "$as_me:$LINENO: error: ambiguous option: $1
24870 Try \`$0 --help' for more information." >&5
24871 echo "$as_me: error: ambiguous option: $1
24872 Try \`$0 --help' for more information." >&2;}
24873 { (exit 1); exit 1; }; };;
24874 --help | --hel | -h )
24875 echo "$ac_cs_usage"; exit 0 ;;
24876 --debug | --d* | -d )
24878 --file | --fil | --fi | --f )
24880 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24881 ac_need_defaults=false;;
24882 --header | --heade | --head | --hea )
24884 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24885 ac_need_defaults=false;;
24886 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24887 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24890 # This is an error.
24891 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
24892 Try \`$0 --help' for more information." >&5
24893 echo "$as_me: error: unrecognized option: $1
24894 Try \`$0 --help' for more information." >&2;}
24895 { (exit 1); exit 1; }; } ;;
24897 *) ac_config_targets="$ac_config_targets $1" ;;
24903 ac_configure_extra_args=
24905 if $ac_cs_silent; then
24907 ac_configure_extra_args="$ac_configure_extra_args --silent"
24911 cat >>$CONFIG_STATUS <<_ACEOF
24912 if \$ac_cs_recheck; then
24913 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24914 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24919 cat >>$CONFIG_STATUS <<_ACEOF
24921 # INIT-COMMANDS section.
24928 with_multisubdir="$with_multisubdir"
24929 with_multisrctop="$with_multisrctop"
24930 with_target_subdir="$with_target_subdir"
24931 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24932 multi_basedir="$multi_basedir"
24933 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24935 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
24939 acx_cv_header_stdint="$acx_cv_header_stdint"
24940 acx_cv_type_int8_t="$acx_cv_type_int8_t"
24941 acx_cv_type_int16_t="$acx_cv_type_int16_t"
24942 acx_cv_type_int32_t="$acx_cv_type_int32_t"
24943 acx_cv_type_int64_t="$acx_cv_type_int64_t"
24944 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
24945 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
24946 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
24947 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
24948 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
24949 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
24950 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
24951 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
24952 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
24959 cat >>$CONFIG_STATUS <<\_ACEOF
24960 for ac_config_target in $ac_config_targets
24962 case "$ac_config_target" in
24963 # Handling of arguments.
24964 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24965 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
24966 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
24967 "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
24968 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
24969 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24970 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24971 { (exit 1); exit 1; }; };;
24975 # If the user did not use the arguments to specify the items to instantiate,
24976 # then the envvar interface is used. Set only those that are not.
24977 # We use the long form for the default assignment because of an extremely
24978 # bizarre bug on SunOS 4.1.3.
24979 if $ac_need_defaults; then
24980 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24981 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24982 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24985 # Have a temporary directory for convenience. Make it in the build tree
24986 # simply because there is no reason to put it here, and in addition,
24987 # creating and moving files from /tmp can sometimes cause problems.
24988 # Create a temporary directory, and hook for its removal unless debugging.
24991 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
24992 trap '{ (exit 1); exit 1; }' 1 2 13 15
24995 # Create a (secure) tmp directory for tmp files.
24998 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
24999 test -n "$tmp" && test -d "$tmp"
25002 tmp=./confstat$$-$RANDOM
25003 (umask 077 && mkdir $tmp)
25006 echo "$me: cannot create a temporary directory in ." >&2
25007 { (exit 1); exit 1; }
25012 cat >>$CONFIG_STATUS <<_ACEOF
25015 # CONFIG_FILES section.
25018 # No need to generate the scripts if there are no CONFIG_FILES.
25019 # This happens for instance when ./config.status config.h
25020 if test -n "\$CONFIG_FILES"; then
25021 # Protect against being on the right side of a sed subst in config.status.
25022 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
25023 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
25024 s,@SHELL@,$SHELL,;t t
25025 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
25026 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
25027 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
25028 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
25029 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
25030 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
25031 s,@exec_prefix@,$exec_prefix,;t t
25032 s,@prefix@,$prefix,;t t
25033 s,@program_transform_name@,$program_transform_name,;t t
25034 s,@bindir@,$bindir,;t t
25035 s,@sbindir@,$sbindir,;t t
25036 s,@libexecdir@,$libexecdir,;t t
25037 s,@datadir@,$datadir,;t t
25038 s,@sysconfdir@,$sysconfdir,;t t
25039 s,@sharedstatedir@,$sharedstatedir,;t t
25040 s,@localstatedir@,$localstatedir,;t t
25041 s,@libdir@,$libdir,;t t
25042 s,@includedir@,$includedir,;t t
25043 s,@oldincludedir@,$oldincludedir,;t t
25044 s,@infodir@,$infodir,;t t
25045 s,@mandir@,$mandir,;t t
25046 s,@build_alias@,$build_alias,;t t
25047 s,@host_alias@,$host_alias,;t t
25048 s,@target_alias@,$target_alias,;t t
25049 s,@DEFS@,$DEFS,;t t
25050 s,@ECHO_C@,$ECHO_C,;t t
25051 s,@ECHO_N@,$ECHO_N,;t t
25052 s,@ECHO_T@,$ECHO_T,;t t
25053 s,@LIBS@,$LIBS,;t t
25054 s,@build@,$build,;t t
25055 s,@build_cpu@,$build_cpu,;t t
25056 s,@build_vendor@,$build_vendor,;t t
25057 s,@build_os@,$build_os,;t t
25058 s,@build_libsubdir@,$build_libsubdir,;t t
25059 s,@build_subdir@,$build_subdir,;t t
25060 s,@host_subdir@,$host_subdir,;t t
25061 s,@target_subdir@,$target_subdir,;t t
25062 s,@host@,$host,;t t
25063 s,@host_cpu@,$host_cpu,;t t
25064 s,@host_vendor@,$host_vendor,;t t
25065 s,@host_os@,$host_os,;t t
25066 s,@target@,$target,;t t
25067 s,@target_cpu@,$target_cpu,;t t
25068 s,@target_vendor@,$target_vendor,;t t
25069 s,@target_os@,$target_os,;t t
25070 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
25071 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
25072 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
25073 s,@CYGPATH_W@,$CYGPATH_W,;t t
25074 s,@PACKAGE@,$PACKAGE,;t t
25075 s,@VERSION@,$VERSION,;t t
25076 s,@ACLOCAL@,$ACLOCAL,;t t
25077 s,@AUTOCONF@,$AUTOCONF,;t t
25078 s,@AUTOMAKE@,$AUTOMAKE,;t t
25079 s,@AUTOHEADER@,$AUTOHEADER,;t t
25080 s,@MAKEINFO@,$MAKEINFO,;t t
25081 s,@install_sh@,$install_sh,;t t
25082 s,@STRIP@,$STRIP,;t t
25083 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
25084 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
25085 s,@mkdir_p@,$mkdir_p,;t t
25087 s,@SET_MAKE@,$SET_MAKE,;t t
25088 s,@am__leading_dot@,$am__leading_dot,;t t
25089 s,@AMTAR@,$AMTAR,;t t
25090 s,@am__tar@,$am__tar,;t t
25091 s,@am__untar@,$am__untar,;t t
25092 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
25093 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
25094 s,@MAINT@,$MAINT,;t t
25095 s,@multi_basedir@,$multi_basedir,;t t
25096 s,@toolexecdir@,$toolexecdir,;t t
25097 s,@toolexeclibdir@,$toolexeclibdir,;t t
25099 s,@ac_ct_CC@,$ac_ct_CC,;t t
25100 s,@EXEEXT@,$EXEEXT,;t t
25101 s,@OBJEXT@,$OBJEXT,;t t
25102 s,@DEPDIR@,$DEPDIR,;t t
25103 s,@am__include@,$am__include,;t t
25104 s,@am__quote@,$am__quote,;t t
25105 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
25106 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
25107 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
25108 s,@CCDEPMODE@,$CCDEPMODE,;t t
25109 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
25110 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
25111 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
25112 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
25114 s,@ac_ct_AS@,$ac_ct_AS,;t t
25116 s,@ac_ct_AR@,$ac_ct_AR,;t t
25117 s,@RANLIB@,$RANLIB,;t t
25118 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
25119 s,@LN_S@,$LN_S,;t t
25120 s,@LIBTOOL@,$LIBTOOL,;t t
25121 s,@enable_shared@,$enable_shared,;t t
25122 s,@enable_static@,$enable_static,;t t
25124 s,@FCFLAGS@,$FCFLAGS,;t t
25125 s,@LDFLAGS@,$LDFLAGS,;t t
25126 s,@ac_ct_FC@,$ac_ct_FC,;t t
25127 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
25129 s,@CPPFLAGS@,$CPPFLAGS,;t t
25130 s,@EGREP@,$EGREP,;t t
25131 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
25132 s,@LIBOBJS@,$LIBOBJS,;t t
25133 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
25138 cat >>$CONFIG_STATUS <<\_ACEOF
25139 # Split the substitutions into bite-sized pieces for seds with
25140 # small command number limits, like on Digital OSF/1 and HP-UX.
25141 ac_max_sed_lines=48
25142 ac_sed_frag=1 # Number of current file.
25143 ac_beg=1 # First line for current file.
25144 ac_end=$ac_max_sed_lines # Line after last line for current file.
25147 while $ac_more_lines; do
25148 if test $ac_beg -gt 1; then
25149 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
25151 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
25153 if test ! -s $tmp/subs.frag; then
25154 ac_more_lines=false
25156 # The purpose of the label and of the branching condition is to
25157 # speed up the sed processing (if there are no `@' at all, there
25158 # is no need to browse any of the substitutions).
25159 # These are the two extra sed commands mentioned above.
25161 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
25162 if test -z "$ac_sed_cmds"; then
25163 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
25165 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
25167 ac_sed_frag=`expr $ac_sed_frag + 1`
25169 ac_end=`expr $ac_end + $ac_max_sed_lines`
25172 if test -z "$ac_sed_cmds"; then
25175 fi # test -n "$CONFIG_FILES"
25178 cat >>$CONFIG_STATUS <<\_ACEOF
25179 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
25180 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25182 - | *:- | *:-:* ) # input from stdin
25184 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25185 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25186 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25187 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25188 * ) ac_file_in=$ac_file.in ;;
25191 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
25192 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
25193 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25194 X"$ac_file" : 'X\(//\)[^/]' \| \
25195 X"$ac_file" : 'X\(//\)$' \| \
25196 X"$ac_file" : 'X\(/\)' \| \
25197 . : '\(.\)' 2>/dev/null ||
25199 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25200 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25201 /^X\(\/\/\)$/{ s//\1/; q; }
25202 /^X\(\/\).*/{ s//\1/; q; }
25204 { if $as_mkdir_p; then
25209 while test ! -d "$as_dir"; do
25210 as_dirs="$as_dir $as_dirs"
25211 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25212 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25213 X"$as_dir" : 'X\(//\)[^/]' \| \
25214 X"$as_dir" : 'X\(//\)$' \| \
25215 X"$as_dir" : 'X\(/\)' \| \
25216 . : '\(.\)' 2>/dev/null ||
25218 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25219 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25220 /^X\(\/\/\)$/{ s//\1/; q; }
25221 /^X\(\/\).*/{ s//\1/; q; }
25224 test ! -n "$as_dirs" || mkdir $as_dirs
25225 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25226 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25227 { (exit 1); exit 1; }; }; }
25231 if test "$ac_dir" != .; then
25232 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25233 # A "../" for each directory in $ac_dir_suffix.
25234 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25236 ac_dir_suffix= ac_top_builddir=
25240 .) # No --srcdir option. We are building in place.
25242 if test -z "$ac_top_builddir"; then
25245 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
25247 [\\/]* | ?:[\\/]* ) # Absolute path.
25248 ac_srcdir=$srcdir$ac_dir_suffix;
25249 ac_top_srcdir=$srcdir ;;
25250 *) # Relative path.
25251 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
25252 ac_top_srcdir=$ac_top_builddir$srcdir ;;
25255 # Do not use `cd foo && pwd` to compute absolute paths, because
25256 # the directories may not exist.
25258 .) ac_abs_builddir="$ac_dir";;
25261 .) ac_abs_builddir=`pwd`;;
25262 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
25263 *) ac_abs_builddir=`pwd`/"$ac_dir";;
25266 case $ac_abs_builddir in
25267 .) ac_abs_top_builddir=${ac_top_builddir}.;;
25269 case ${ac_top_builddir}. in
25270 .) ac_abs_top_builddir=$ac_abs_builddir;;
25271 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
25272 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
25275 case $ac_abs_builddir in
25276 .) ac_abs_srcdir=$ac_srcdir;;
25279 .) ac_abs_srcdir=$ac_abs_builddir;;
25280 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
25281 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
25284 case $ac_abs_builddir in
25285 .) ac_abs_top_srcdir=$ac_top_srcdir;;
25287 case $ac_top_srcdir in
25288 .) ac_abs_top_srcdir=$ac_abs_builddir;;
25289 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
25290 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
25296 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25297 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
25300 if test x"$ac_file" != x-; then
25301 { echo "$as_me:$LINENO: creating $ac_file" >&5
25302 echo "$as_me: creating $ac_file" >&6;}
25305 # Let's still pretend it is `configure' which instantiates (i.e., don't
25306 # use $as_me), people would be surprised to read:
25307 # /* config.h. Generated by config.status. */
25308 if test x"$ac_file" = x-; then
25311 configure_input="$ac_file. "
25313 configure_input=$configure_input"Generated from `echo $ac_file_in |
25314 sed 's,.*/,,'` by configure."
25316 # First look for the input files in the build tree, otherwise in the
25318 ac_file_inputs=`IFS=:
25319 for f in $ac_file_in; do
25321 -) echo $tmp/stdin ;;
25323 # Absolute (can't be DOS-style, as IFS=:)
25324 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25325 echo "$as_me: error: cannot find input file: $f" >&2;}
25326 { (exit 1); exit 1; }; }
25329 if test -f "$f"; then
25332 elif test -f "$srcdir/$f"; then
25337 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25338 echo "$as_me: error: cannot find input file: $f" >&2;}
25339 { (exit 1); exit 1; }; }
25342 done` || { (exit 1); exit 1; }
25344 cat >>$CONFIG_STATUS <<_ACEOF
25348 cat >>$CONFIG_STATUS <<\_ACEOF
25350 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25351 s,@configure_input@,$configure_input,;t t
25352 s,@srcdir@,$ac_srcdir,;t t
25353 s,@abs_srcdir@,$ac_abs_srcdir,;t t
25354 s,@top_srcdir@,$ac_top_srcdir,;t t
25355 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
25356 s,@builddir@,$ac_builddir,;t t
25357 s,@abs_builddir@,$ac_abs_builddir,;t t
25358 s,@top_builddir@,$ac_top_builddir,;t t
25359 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
25360 s,@INSTALL@,$ac_INSTALL,;t t
25361 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
25363 if test x"$ac_file" != x-; then
25364 mv $tmp/out $ac_file
25372 cat >>$CONFIG_STATUS <<\_ACEOF
25375 # CONFIG_HEADER section.
25378 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
25379 # NAME is the cpp macro being defined and VALUE is the value it is being given.
25381 # ac_d sets the value in "#define NAME VALUE" lines.
25382 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
25383 ac_dB='[ ].*$,\1#\2'
25386 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
25387 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
25388 ac_uB='$,\1#\2define\3'
25392 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
25393 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25395 - | *:- | *:-:* ) # input from stdin
25397 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25398 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25399 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25400 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25401 * ) ac_file_in=$ac_file.in ;;
25404 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
25405 echo "$as_me: creating $ac_file" >&6;}
25407 # First look for the input files in the build tree, otherwise in the
25409 ac_file_inputs=`IFS=:
25410 for f in $ac_file_in; do
25412 -) echo $tmp/stdin ;;
25414 # Absolute (can't be DOS-style, as IFS=:)
25415 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25416 echo "$as_me: error: cannot find input file: $f" >&2;}
25417 { (exit 1); exit 1; }; }
25418 # Do quote $f, to prevent DOS paths from being IFS'd.
25421 if test -f "$f"; then
25424 elif test -f "$srcdir/$f"; then
25429 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25430 echo "$as_me: error: cannot find input file: $f" >&2;}
25431 { (exit 1); exit 1; }; }
25434 done` || { (exit 1); exit 1; }
25435 # Remove the trailing spaces.
25436 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
25440 # Transform confdefs.h into two sed scripts, `conftest.defines' and
25441 # `conftest.undefs', that substitutes the proper values into
25442 # config.h.in to produce config.h. The first handles `#define'
25443 # templates, and the second `#undef' templates.
25444 # And first: Protect against being on the right side of a sed subst in
25445 # config.status. Protect against being in an unquoted here document
25446 # in config.status.
25447 rm -f conftest.defines conftest.undefs
25448 # Using a here document instead of a string reduces the quoting nightmare.
25449 # Putting comments in sed scripts is not portable.
25451 # `end' is used to avoid that the second main sed command (meant for
25452 # 0-ary CPP macros) applies to n-ary macro definitions.
25453 # See the Autoconf documentation for `clear'.
25454 cat >confdef2sed.sed <<\_ACEOF
25459 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
25461 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
25464 # If some macros were called several times there might be several times
25465 # the same #defines, which is useless. Nevertheless, we may not want to
25466 # sort them, since we want the *last* AC-DEFINE to be honored.
25467 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
25468 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
25469 rm -f confdef2sed.sed
25471 # This sed command replaces #undef with comments. This is necessary, for
25472 # example, in the case of _POSIX_SOURCE, which is predefined and required
25473 # on some systems where configure will not decide to define it.
25474 cat >>conftest.undefs <<\_ACEOF
25475 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
25478 # Break up conftest.defines because some shells have a limit on the size
25479 # of here documents, and old seds have small limits too (100 cmds).
25480 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
25481 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
25482 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
25483 echo ' :' >>$CONFIG_STATUS
25484 rm -f conftest.tail
25485 while grep . conftest.defines >/dev/null
25487 # Write a limited-size here document to $tmp/defines.sed.
25488 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
25489 # Speed up: don't consider the non `#define' lines.
25490 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
25491 # Work around the forget-to-reset-the-flag bug.
25492 echo 't clr' >>$CONFIG_STATUS
25493 echo ': clr' >>$CONFIG_STATUS
25494 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
25496 sed -f $tmp/defines.sed $tmp/in >$tmp/out
25498 mv $tmp/out $tmp/in
25500 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
25501 rm -f conftest.defines
25502 mv conftest.tail conftest.defines
25504 rm -f conftest.defines
25505 echo ' fi # grep' >>$CONFIG_STATUS
25506 echo >>$CONFIG_STATUS
25508 # Break up conftest.undefs because some shells have a limit on the size
25509 # of here documents, and old seds have small limits too (100 cmds).
25510 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
25511 rm -f conftest.tail
25512 while grep . conftest.undefs >/dev/null
25514 # Write a limited-size here document to $tmp/undefs.sed.
25515 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
25516 # Speed up: don't consider the non `#undef'
25517 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
25518 # Work around the forget-to-reset-the-flag bug.
25519 echo 't clr' >>$CONFIG_STATUS
25520 echo ': clr' >>$CONFIG_STATUS
25521 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
25523 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
25525 mv $tmp/out $tmp/in
25527 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
25528 rm -f conftest.undefs
25529 mv conftest.tail conftest.undefs
25531 rm -f conftest.undefs
25533 cat >>$CONFIG_STATUS <<\_ACEOF
25534 # Let's still pretend it is `configure' which instantiates (i.e., don't
25535 # use $as_me), people would be surprised to read:
25536 # /* config.h. Generated by config.status. */
25537 if test x"$ac_file" = x-; then
25538 echo "/* Generated by configure. */" >$tmp/config.h
25540 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
25542 cat $tmp/in >>$tmp/config.h
25544 if test x"$ac_file" != x-; then
25545 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
25546 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25547 echo "$as_me: $ac_file is unchanged" >&6;}
25549 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
25550 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25551 X"$ac_file" : 'X\(//\)[^/]' \| \
25552 X"$ac_file" : 'X\(//\)$' \| \
25553 X"$ac_file" : 'X\(/\)' \| \
25554 . : '\(.\)' 2>/dev/null ||
25556 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25557 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25558 /^X\(\/\/\)$/{ s//\1/; q; }
25559 /^X\(\/\).*/{ s//\1/; q; }
25561 { if $as_mkdir_p; then
25566 while test ! -d "$as_dir"; do
25567 as_dirs="$as_dir $as_dirs"
25568 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25569 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25570 X"$as_dir" : 'X\(//\)[^/]' \| \
25571 X"$as_dir" : 'X\(//\)$' \| \
25572 X"$as_dir" : 'X\(/\)' \| \
25573 . : '\(.\)' 2>/dev/null ||
25575 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25576 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25577 /^X\(\/\/\)$/{ s//\1/; q; }
25578 /^X\(\/\).*/{ s//\1/; q; }
25581 test ! -n "$as_dirs" || mkdir $as_dirs
25582 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25583 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25584 { (exit 1); exit 1; }; }; }
25587 mv $tmp/config.h $ac_file
25591 rm -f $tmp/config.h
25593 # Compute $ac_file's index in $config_headers.
25595 for _am_header in $config_headers :; do
25596 case $_am_header in
25597 $ac_file | $ac_file:* )
25600 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
25603 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
25604 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25605 X$ac_file : 'X\(//\)[^/]' \| \
25606 X$ac_file : 'X\(//\)$' \| \
25607 X$ac_file : 'X\(/\)' \| \
25608 . : '\(.\)' 2>/dev/null ||
25610 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25611 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25612 /^X\(\/\/\)$/{ s//\1/; q; }
25613 /^X\(\/\).*/{ s//\1/; q; }
25614 s/.*/./; q'`/stamp-h$_am_stamp_count
25617 cat >>$CONFIG_STATUS <<\_ACEOF
25620 # CONFIG_COMMANDS section.
25622 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
25623 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
25624 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
25625 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
25626 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25627 X"$ac_dest" : 'X\(//\)[^/]' \| \
25628 X"$ac_dest" : 'X\(//\)$' \| \
25629 X"$ac_dest" : 'X\(/\)' \| \
25630 . : '\(.\)' 2>/dev/null ||
25632 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25633 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25634 /^X\(\/\/\)$/{ s//\1/; q; }
25635 /^X\(\/\).*/{ s//\1/; q; }
25637 { if $as_mkdir_p; then
25642 while test ! -d "$as_dir"; do
25643 as_dirs="$as_dir $as_dirs"
25644 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25645 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25646 X"$as_dir" : 'X\(//\)[^/]' \| \
25647 X"$as_dir" : 'X\(//\)$' \| \
25648 X"$as_dir" : 'X\(/\)' \| \
25649 . : '\(.\)' 2>/dev/null ||
25651 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25652 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25653 /^X\(\/\/\)$/{ s//\1/; q; }
25654 /^X\(\/\).*/{ s//\1/; q; }
25657 test ! -n "$as_dirs" || mkdir $as_dirs
25658 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25659 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25660 { (exit 1); exit 1; }; }; }
25664 if test "$ac_dir" != .; then
25665 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25666 # A "../" for each directory in $ac_dir_suffix.
25667 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25669 ac_dir_suffix= ac_top_builddir=
25673 .) # No --srcdir option. We are building in place.
25675 if test -z "$ac_top_builddir"; then
25678 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
25680 [\\/]* | ?:[\\/]* ) # Absolute path.
25681 ac_srcdir=$srcdir$ac_dir_suffix;
25682 ac_top_srcdir=$srcdir ;;
25683 *) # Relative path.
25684 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
25685 ac_top_srcdir=$ac_top_builddir$srcdir ;;
25688 # Do not use `cd foo && pwd` to compute absolute paths, because
25689 # the directories may not exist.
25691 .) ac_abs_builddir="$ac_dir";;
25694 .) ac_abs_builddir=`pwd`;;
25695 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
25696 *) ac_abs_builddir=`pwd`/"$ac_dir";;
25699 case $ac_abs_builddir in
25700 .) ac_abs_top_builddir=${ac_top_builddir}.;;
25702 case ${ac_top_builddir}. in
25703 .) ac_abs_top_builddir=$ac_abs_builddir;;
25704 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
25705 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
25708 case $ac_abs_builddir in
25709 .) ac_abs_srcdir=$ac_srcdir;;
25712 .) ac_abs_srcdir=$ac_abs_builddir;;
25713 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
25714 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
25717 case $ac_abs_builddir in
25718 .) ac_abs_top_srcdir=$ac_top_srcdir;;
25720 case $ac_top_srcdir in
25721 .) ac_abs_top_srcdir=$ac_abs_builddir;;
25722 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
25723 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
25728 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
25729 echo "$as_me: executing $ac_dest commands" >&6;}
25732 # Only add multilib support code if we just rebuilt the top-level
25734 case " $CONFIG_FILES " in
25736 ac_file=Makefile . ${multi_basedir}/config-ml.in
25739 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
25740 # Strip MF so we end up with the name of the file.
25741 mf=`echo "$mf" | sed -e 's/:.*$//'`
25742 # Check whether this is an Automake generated Makefile or not.
25743 # We used to match only the files named `Makefile.in', but
25744 # some people rename them; so instead we look at the file content.
25745 # Grep'ing the first line is not enough: some people post-process
25746 # each Makefile.in and add a new line on top of each file to say so.
25747 # So let's grep whole file.
25748 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
25749 dirpart=`(dirname "$mf") 2>/dev/null ||
25750 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25751 X"$mf" : 'X\(//\)[^/]' \| \
25752 X"$mf" : 'X\(//\)$' \| \
25753 X"$mf" : 'X\(/\)' \| \
25754 . : '\(.\)' 2>/dev/null ||
25756 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25757 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25758 /^X\(\/\/\)$/{ s//\1/; q; }
25759 /^X\(\/\).*/{ s//\1/; q; }
25764 # Extract the definition of DEPDIR, am__include, and am__quote
25765 # from the Makefile without running `make'.
25766 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
25767 test -z "$DEPDIR" && continue
25768 am__include=`sed -n 's/^am__include = //p' < "$mf"`
25769 test -z "am__include" && continue
25770 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
25771 # When using ansi2knr, U may be empty or an underscore; expand it
25772 U=`sed -n 's/^U = //p' < "$mf"`
25773 # Find all dependency output files, they are included files with
25774 # $(DEPDIR) in their names. We invoke sed twice because it is the
25775 # simplest approach to changing $(DEPDIR) to its actual value in the
25777 for file in `sed -n "
25778 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
25779 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
25780 # Make sure the directory exists.
25781 test -f "$dirpart/$file" && continue
25782 fdir=`(dirname "$file") 2>/dev/null ||
25783 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25784 X"$file" : 'X\(//\)[^/]' \| \
25785 X"$file" : 'X\(//\)$' \| \
25786 X"$file" : 'X\(/\)' \| \
25787 . : '\(.\)' 2>/dev/null ||
25789 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25790 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25791 /^X\(\/\/\)$/{ s//\1/; q; }
25792 /^X\(\/\).*/{ s//\1/; q; }
25794 { if $as_mkdir_p; then
25795 mkdir -p $dirpart/$fdir
25797 as_dir=$dirpart/$fdir
25799 while test ! -d "$as_dir"; do
25800 as_dirs="$as_dir $as_dirs"
25801 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25802 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25803 X"$as_dir" : 'X\(//\)[^/]' \| \
25804 X"$as_dir" : 'X\(//\)$' \| \
25805 X"$as_dir" : '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; }
25814 test ! -n "$as_dirs" || mkdir $as_dirs
25815 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
25816 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
25817 { (exit 1); exit 1; }; }; }
25819 # echo "creating $dirpart/$file"
25820 echo '# dummy' > "$dirpart/$file"
25825 if test "$GCC" = yes; then
25826 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
25828 echo "/* generated for $CC */" > tmp-stdint.h
25831 sed 's/^ *//' >> tmp-stdint.h <<EOF
25833 #ifndef GCC_GENERATED_STDINT_H
25834 #define GCC_GENERATED_STDINT_H 1
25836 #include <sys/types.h>
25839 if test "$acx_cv_header_stdint" != stdint.h; then
25840 echo "#include <stddef.h>" >> tmp-stdint.h
25842 if test "$acx_cv_header_stdint" != stddef.h; then
25843 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
25846 sed 's/^ *//' >> tmp-stdint.h <<EOF
25847 /* glibc uses these symbols as guards to prevent redefinitions. */
25848 #ifdef __int8_t_defined
25853 #ifdef __uint32_t_defined
25859 # ----------------- done header, emit basic int types -------------
25860 if test "$acx_cv_header_stdint" = stddef.h; then
25861 sed 's/^ *//' >> tmp-stdint.h <<EOF
25865 typedef unsigned $acx_cv_type_int8_t uint8_t;
25870 typedef unsigned $acx_cv_type_int16_t uint16_t;
25875 typedef unsigned $acx_cv_type_int32_t uint32_t;
25880 typedef $acx_cv_type_int8_t int8_t;
25885 typedef $acx_cv_type_int16_t int16_t;
25890 typedef $acx_cv_type_int32_t int32_t;
25893 elif test "$ac_cv_type_u_int32_t" = yes; then
25894 sed 's/^ *//' >> tmp-stdint.h <<EOF
25896 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
25909 typedef u_int8_t uint8_t;
25914 typedef u_int16_t uint16_t;
25919 typedef u_int32_t uint32_t;
25923 sed 's/^ *//' >> tmp-stdint.h <<EOF
25925 /* Some systems have guard macros to prevent redefinitions, define them. */
25947 # ------------- done basic int types, emit int64_t types ------------
25948 if test "$ac_cv_type_uint64_t" = yes; then
25949 sed 's/^ *//' >> tmp-stdint.h <<EOF
25951 /* system headers have good uint64_t and int64_t */
25959 elif test "$ac_cv_type_u_int64_t" = yes; then
25960 sed 's/^ *//' >> tmp-stdint.h <<EOF
25962 /* system headers have an u_int64_t (and int64_t) */
25968 typedef u_int64_t uint64_t;
25971 elif test -n "$acx_cv_type_int64_t"; then
25972 sed 's/^ *//' >> tmp-stdint.h <<EOF
25974 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
25977 typedef $acx_cv_type_int64_t int64_t;
25981 typedef unsigned $acx_cv_type_int64_t uint64_t;
25985 sed 's/^ *//' >> tmp-stdint.h <<EOF
25987 /* some common heuristics for int64_t, using compiler-specific tests */
25988 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
25991 typedef long long int64_t;
25995 typedef unsigned long long uint64_t;
25998 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
25999 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
26000 does not implement __extension__. But that compiler doesn't define
26002 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
26003 # define __extension__
26008 __extension__ typedef long long int64_t;
26012 __extension__ typedef unsigned long long uint64_t;
26015 #elif !defined __STRICT_ANSI__
26016 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
26020 typedef __int64 int64_t;
26024 typedef unsigned __int64 uint64_t;
26026 # endif /* compiler */
26028 #endif /* ANSI version */
26032 # ------------- done int64_t types, emit intptr types ------------
26033 if test "$ac_cv_type_uintptr_t" != yes; then
26034 sed 's/^ *//' >> tmp-stdint.h <<EOF
26036 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
26037 typedef u$acx_cv_type_intptr_t uintptr_t;
26038 typedef $acx_cv_type_intptr_t intptr_t;
26042 # ------------- done intptr types, emit int_least types ------------
26043 if test "$ac_cv_type_int_least32_t" != yes; then
26044 sed 's/^ *//' >> tmp-stdint.h <<EOF
26046 /* Define int_least types */
26047 typedef int8_t int_least8_t;
26048 typedef int16_t int_least16_t;
26049 typedef int32_t int_least32_t;
26051 typedef int64_t int_least64_t;
26054 typedef uint8_t uint_least8_t;
26055 typedef uint16_t uint_least16_t;
26056 typedef uint32_t uint_least32_t;
26058 typedef uint64_t uint_least64_t;
26063 # ------------- done intptr types, emit int_fast types ------------
26064 if test "$ac_cv_type_int_fast32_t" != yes; then
26065 sed 's/^ *//' >> tmp-stdint.h <<EOF
26067 /* Define int_fast types. short is often slow */
26068 typedef int8_t int_fast8_t;
26069 typedef int int_fast16_t;
26070 typedef int32_t int_fast32_t;
26072 typedef int64_t int_fast64_t;
26075 typedef uint8_t uint_fast8_t;
26076 typedef unsigned int uint_fast16_t;
26077 typedef uint32_t uint_fast32_t;
26079 typedef uint64_t uint_fast64_t;
26084 if test "$ac_cv_type_uintmax_t" != yes; then
26085 sed 's/^ *//' >> tmp-stdint.h <<EOF
26087 /* Define intmax based on what we found */
26089 typedef int64_t intmax_t;
26091 typedef long intmax_t;
26094 typedef uint64_t uintmax_t;
26096 typedef unsigned long uintmax_t;
26101 sed 's/^ *//' >> tmp-stdint.h <<EOF
26103 #endif /* GCC_GENERATED_STDINT_H */
26106 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
26109 mv -f tmp-stdint.h gstdint.h
26117 cat >>$CONFIG_STATUS <<\_ACEOF
26119 { (exit 0); exit 0; }
26121 chmod +x $CONFIG_STATUS
26122 ac_clean_files=$ac_clean_files_save
26125 # configure is writing to config.log, and then calls config.status.
26126 # config.status does its own redirection, appending to config.log.
26127 # Unfortunately, on DOS this fails, as config.log is still kept open
26128 # by configure, so config.status won't be able to write to it; its
26129 # output is simply discarded. So we exec the FD to /dev/null,
26130 # effectively closing config.log, so it can be properly (re)opened and
26131 # appended to by config.status. When coming back to configure, we
26132 # need to make the FD available again.
26133 if test "$no_create" != yes; then
26135 ac_config_status_args=
26136 test "$silent" = yes &&
26137 ac_config_status_args="$ac_config_status_args --quiet"
26139 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
26141 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26142 # would make configure fail if this is the last instruction.
26143 $ac_cs_success || { (exit 1); exit 1; }