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 LIBGFOR_USE_SYMVER_TRUE LIBGFOR_USE_SYMVER_FALSE 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 # Check for symbol versioning (copied from libssp).
3210 echo "$as_me:$LINENO: checking whether symbol versioning is supported" >&5
3211 echo $ECHO_N "checking whether symbol versioning is supported... $ECHO_C" >&6
3212 cat > conftest.map <<EOF
3214 global: *foo*; bar; local: *;
3217 save_LDFLAGS="$LDFLAGS"
3218 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
3220 if test x$gcc_no_link = xyes; then
3221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
3222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
3223 { (exit 1); exit 1; }; }
3225 cat >conftest.$ac_ext <<_ACEOF
3228 cat confdefs.h >>conftest.$ac_ext
3229 cat >>conftest.$ac_ext <<_ACEOF
3230 /* end confdefs.h. */
3240 rm -f conftest.$ac_objext conftest$ac_exeext
3241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3242 (eval $ac_link) 2>conftest.er1
3244 grep -v '^ *+' conftest.er1 >conftest.err
3246 cat conftest.err >&5
3247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248 (exit $ac_status); } &&
3249 { ac_try='test -z "$ac_c_werror_flag"
3250 || test ! -s conftest.err'
3251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255 (exit $ac_status); }; } &&
3256 { ac_try='test -s conftest$ac_exeext'
3257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261 (exit $ac_status); }; }; then
3262 gfortran_use_symver=yes
3264 echo "$as_me: failed program was:" >&5
3265 sed 's/^/| /' conftest.$ac_ext >&5
3267 gfortran_use_symver=no
3269 rm -f conftest.err conftest.$ac_objext \
3270 conftest$ac_exeext conftest.$ac_ext
3271 LDFLAGS="$save_LDFLAGS"
3272 echo "$as_me:$LINENO: result: $gfortran_use_symver" >&5
3273 echo "${ECHO_T}$gfortran_use_symver" >&6
3276 if test "x$gfortran_use_symver" = xyes; then
3277 LIBGFOR_USE_SYMVER_TRUE=
3278 LIBGFOR_USE_SYMVER_FALSE='#'
3280 LIBGFOR_USE_SYMVER_TRUE='#'
3281 LIBGFOR_USE_SYMVER_FALSE=
3285 # Find other programs we need.
3286 if test -n "$ac_tool_prefix"; then
3287 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3288 set dummy ${ac_tool_prefix}as; ac_word=$2
3289 echo "$as_me:$LINENO: checking for $ac_word" >&5
3290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3291 if test "${ac_cv_prog_AS+set}" = set; then
3292 echo $ECHO_N "(cached) $ECHO_C" >&6
3294 if test -n "$AS"; then
3295 ac_cv_prog_AS="$AS" # Let the user override the test.
3297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3301 test -z "$as_dir" && as_dir=.
3302 for ac_exec_ext in '' $ac_executable_extensions; do
3303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3304 ac_cv_prog_AS="${ac_tool_prefix}as"
3305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3314 if test -n "$AS"; then
3315 echo "$as_me:$LINENO: result: $AS" >&5
3316 echo "${ECHO_T}$AS" >&6
3318 echo "$as_me:$LINENO: result: no" >&5
3319 echo "${ECHO_T}no" >&6
3323 if test -z "$ac_cv_prog_AS"; then
3325 # Extract the first word of "as", so it can be a program name with args.
3326 set dummy as; ac_word=$2
3327 echo "$as_me:$LINENO: checking for $ac_word" >&5
3328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3329 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3330 echo $ECHO_N "(cached) $ECHO_C" >&6
3332 if test -n "$ac_ct_AS"; then
3333 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3339 test -z "$as_dir" && as_dir=.
3340 for ac_exec_ext in '' $ac_executable_extensions; do
3341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3342 ac_cv_prog_ac_ct_AS="as"
3343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3351 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3352 if test -n "$ac_ct_AS"; then
3353 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3354 echo "${ECHO_T}$ac_ct_AS" >&6
3356 echo "$as_me:$LINENO: result: no" >&5
3357 echo "${ECHO_T}no" >&6
3365 if test -n "$ac_tool_prefix"; then
3366 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3367 set dummy ${ac_tool_prefix}ar; ac_word=$2
3368 echo "$as_me:$LINENO: checking for $ac_word" >&5
3369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3370 if test "${ac_cv_prog_AR+set}" = set; then
3371 echo $ECHO_N "(cached) $ECHO_C" >&6
3373 if test -n "$AR"; then
3374 ac_cv_prog_AR="$AR" # Let the user override the test.
3376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3380 test -z "$as_dir" && as_dir=.
3381 for ac_exec_ext in '' $ac_executable_extensions; do
3382 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3383 ac_cv_prog_AR="${ac_tool_prefix}ar"
3384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3393 if test -n "$AR"; then
3394 echo "$as_me:$LINENO: result: $AR" >&5
3395 echo "${ECHO_T}$AR" >&6
3397 echo "$as_me:$LINENO: result: no" >&5
3398 echo "${ECHO_T}no" >&6
3402 if test -z "$ac_cv_prog_AR"; then
3404 # Extract the first word of "ar", so it can be a program name with args.
3405 set dummy ar; ac_word=$2
3406 echo "$as_me:$LINENO: checking for $ac_word" >&5
3407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3408 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3409 echo $ECHO_N "(cached) $ECHO_C" >&6
3411 if test -n "$ac_ct_AR"; then
3412 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3418 test -z "$as_dir" && as_dir=.
3419 for ac_exec_ext in '' $ac_executable_extensions; do
3420 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3421 ac_cv_prog_ac_ct_AR="ar"
3422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3430 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3431 if test -n "$ac_ct_AR"; then
3432 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3433 echo "${ECHO_T}$ac_ct_AR" >&6
3435 echo "$as_me:$LINENO: result: no" >&5
3436 echo "${ECHO_T}no" >&6
3444 if test -n "$ac_tool_prefix"; then
3445 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3446 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3447 echo "$as_me:$LINENO: checking for $ac_word" >&5
3448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3449 if test "${ac_cv_prog_RANLIB+set}" = set; then
3450 echo $ECHO_N "(cached) $ECHO_C" >&6
3452 if test -n "$RANLIB"; then
3453 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3459 test -z "$as_dir" && as_dir=.
3460 for ac_exec_ext in '' $ac_executable_extensions; do
3461 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3462 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3471 RANLIB=$ac_cv_prog_RANLIB
3472 if test -n "$RANLIB"; then
3473 echo "$as_me:$LINENO: result: $RANLIB" >&5
3474 echo "${ECHO_T}$RANLIB" >&6
3476 echo "$as_me:$LINENO: result: no" >&5
3477 echo "${ECHO_T}no" >&6
3481 if test -z "$ac_cv_prog_RANLIB"; then
3482 ac_ct_RANLIB=$RANLIB
3483 # Extract the first word of "ranlib", so it can be a program name with args.
3484 set dummy ranlib; ac_word=$2
3485 echo "$as_me:$LINENO: checking for $ac_word" >&5
3486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3487 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3488 echo $ECHO_N "(cached) $ECHO_C" >&6
3490 if test -n "$ac_ct_RANLIB"; then
3491 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3497 test -z "$as_dir" && as_dir=.
3498 for ac_exec_ext in '' $ac_executable_extensions; do
3499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3500 ac_cv_prog_ac_ct_RANLIB="ranlib"
3501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3507 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3510 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3511 if test -n "$ac_ct_RANLIB"; then
3512 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3513 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3515 echo "$as_me:$LINENO: result: no" >&5
3516 echo "${ECHO_T}no" >&6
3519 RANLIB=$ac_ct_RANLIB
3521 RANLIB="$ac_cv_prog_RANLIB"
3524 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3525 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3526 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3527 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3528 echo $ECHO_N "(cached) $ECHO_C" >&6
3530 cat >conftest.make <<\_ACEOF
3532 @echo 'ac_maketemp="$(MAKE)"'
3534 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3535 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3536 if test -n "$ac_maketemp"; then
3537 eval ac_cv_prog_make_${ac_make}_set=yes
3539 eval ac_cv_prog_make_${ac_make}_set=no
3543 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3544 echo "$as_me:$LINENO: result: yes" >&5
3545 echo "${ECHO_T}yes" >&6
3548 echo "$as_me:$LINENO: result: no" >&5
3549 echo "${ECHO_T}no" >&6
3550 SET_MAKE="MAKE=${MAKE-make}"
3553 # Find a good install program. We prefer a C program (faster),
3554 # so one script is as good as another. But avoid the broken or
3555 # incompatible versions:
3556 # SysV /etc/install, /usr/sbin/install
3557 # SunOS /usr/etc/install
3558 # IRIX /sbin/install
3560 # AmigaOS /C/install, which installs bootblocks on floppy discs
3561 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3562 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3563 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3564 # OS/2's system install, which has a completely different semantic
3565 # ./install, which can be erroneously created by make from ./install.sh.
3566 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3567 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3568 if test -z "$INSTALL"; then
3569 if test "${ac_cv_path_install+set}" = set; then
3570 echo $ECHO_N "(cached) $ECHO_C" >&6
3572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3576 test -z "$as_dir" && as_dir=.
3577 # Account for people who put trailing slashes in PATH elements.
3579 ./ | .// | /cC/* | \
3580 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3581 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3584 # OSF1 and SCO ODT 3.0 have their own names for install.
3585 # Don't use installbsd from OSF since it installs stuff as root
3587 for ac_prog in ginstall scoinst install; do
3588 for ac_exec_ext in '' $ac_executable_extensions; do
3589 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3590 if test $ac_prog = install &&
3591 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3592 # AIX install. It has an incompatible calling convention.
3594 elif test $ac_prog = install &&
3595 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3596 # program-specific install script used by HP pwplus--don't use.
3599 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3611 if test "${ac_cv_path_install+set}" = set; then
3612 INSTALL=$ac_cv_path_install
3614 # As a last resort, use the slow shell script. We don't cache a
3615 # path for INSTALL within a source directory, because that will
3616 # break other packages using the cache if that directory is
3617 # removed, or if the path is relative.
3618 INSTALL=$ac_install_sh
3621 echo "$as_me:$LINENO: result: $INSTALL" >&5
3622 echo "${ECHO_T}$INSTALL" >&6
3624 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3625 # It thinks the first close brace ends the variable substitution.
3626 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3628 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3630 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3634 #AC_MSG_NOTICE([====== Starting libtool configuration])
3636 # Check whether --enable-shared or --disable-shared was given.
3637 if test "${enable_shared+set}" = set; then
3638 enableval="$enable_shared"
3639 p=${PACKAGE-default}
3641 yes) enable_shared=yes ;;
3642 no) enable_shared=no ;;
3645 # Look at the argument we got. We use all the common list separators.
3646 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3647 for pkg in $enableval; do
3648 if test "X$pkg" = "X$p"; then
3658 # Check whether --enable-static or --disable-static was given.
3659 if test "${enable_static+set}" = set; then
3660 enableval="$enable_static"
3661 p=${PACKAGE-default}
3663 yes) enable_static=yes ;;
3664 no) enable_static=no ;;
3667 # Look at the argument we got. We use all the common list separators.
3668 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3669 for pkg in $enableval; do
3670 if test "X$pkg" = "X$p"; then
3680 # Check whether --enable-fast-install or --disable-fast-install was given.
3681 if test "${enable_fast_install+set}" = set; then
3682 enableval="$enable_fast_install"
3683 p=${PACKAGE-default}
3685 yes) enable_fast_install=yes ;;
3686 no) enable_fast_install=no ;;
3688 enable_fast_install=no
3689 # Look at the argument we got. We use all the common list separators.
3690 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3691 for pkg in $enableval; do
3692 if test "X$pkg" = "X$p"; then
3693 enable_fast_install=yes
3700 enable_fast_install=yes
3703 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3704 if test "${with_gnu_ld+set}" = set; then
3705 withval="$with_gnu_ld"
3706 test "$withval" = no || with_gnu_ld=yes
3711 if test "$GCC" = yes; then
3712 # Check if gcc -print-prog-name=ld gives a path.
3713 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3714 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3717 # gcc leaves a trailing carriage return which upsets mingw
3718 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3720 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3723 # Accept absolute paths.
3724 [\\/]* | [A-Za-z]:[\\/]*)
3725 re_direlt='/[^/][^/]*/\.\./'
3726 # Canonicalize the path of ld
3727 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3728 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3729 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3731 test -z "$LD" && LD="$ac_prog"
3734 # If it fails, then pretend we aren't using GCC.
3738 # If it is relative, then search for the first ld in PATH.
3742 elif test "$with_gnu_ld" = yes; then
3743 echo "$as_me:$LINENO: checking for GNU ld" >&5
3744 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3746 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3747 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3749 if test "${lt_cv_path_LD+set}" = set; then
3750 echo $ECHO_N "(cached) $ECHO_C" >&6
3752 if test -z "$LD"; then
3753 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3754 for ac_dir in $PATH; do
3755 test -z "$ac_dir" && ac_dir=.
3756 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3757 lt_cv_path_LD="$ac_dir/$ac_prog"
3758 # Check to see if the program is GNU ld. I'd rather use --version,
3759 # but apparently some GNU ld's only accept -v.
3760 # Break only if it was the GNU/non-GNU ld that we prefer.
3761 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3762 test "$with_gnu_ld" != no && break
3764 test "$with_gnu_ld" != yes && break
3770 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3775 if test -n "$LD"; then
3776 echo "$as_me:$LINENO: result: $LD" >&5
3777 echo "${ECHO_T}$LD" >&6
3779 echo "$as_me:$LINENO: result: no" >&5
3780 echo "${ECHO_T}no" >&6
3782 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3783 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3784 { (exit 1); exit 1; }; }
3785 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3786 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3787 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3788 echo $ECHO_N "(cached) $ECHO_C" >&6
3790 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3791 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3792 lt_cv_prog_gnu_ld=yes
3794 lt_cv_prog_gnu_ld=no
3797 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3798 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3799 with_gnu_ld=$lt_cv_prog_gnu_ld
3802 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3803 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3804 if test "${lt_cv_ld_reload_flag+set}" = set; then
3805 echo $ECHO_N "(cached) $ECHO_C" >&6
3807 lt_cv_ld_reload_flag='-r'
3809 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3810 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3811 reload_flag=$lt_cv_ld_reload_flag
3812 test -n "$reload_flag" && reload_flag=" $reload_flag"
3814 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3815 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3816 if test "${lt_cv_path_NM+set}" = set; then
3817 echo $ECHO_N "(cached) $ECHO_C" >&6
3819 if test -n "$NM"; then
3820 # Let the user override the test.
3823 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3824 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3825 test -z "$ac_dir" && ac_dir=.
3826 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3827 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3828 # Check to see if the nm accepts a BSD-compat flag.
3829 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3830 # nm: unknown option "B" ignored
3831 # Tru64's nm complains that /dev/null is an invalid object file
3832 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3833 lt_cv_path_NM="$tmp_nm -B"
3835 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3836 lt_cv_path_NM="$tmp_nm -p"
3839 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3840 continue # so that we can try to find one that supports BSD flags
3845 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3850 echo "$as_me:$LINENO: result: $NM" >&5
3851 echo "${ECHO_T}$NM" >&6
3853 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3854 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3856 if test "$LN_S" = "ln -s"; then
3857 echo "$as_me:$LINENO: result: yes" >&5
3858 echo "${ECHO_T}yes" >&6
3860 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3861 echo "${ECHO_T}no, using $LN_S" >&6
3864 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3865 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3866 if test "${lt_cv_deplibs_check_method+set}" = set; then
3867 echo $ECHO_N "(cached) $ECHO_C" >&6
3869 lt_cv_file_magic_cmd='$MAGIC_CMD'
3870 lt_cv_file_magic_test_file=
3871 lt_cv_deplibs_check_method='unknown'
3872 # Need to set the preceding variable on all platforms that support
3873 # interlibrary dependencies.
3874 # 'none' -- dependencies not supported.
3875 # `unknown' -- same as none, but documents that we really don't know.
3876 # 'pass_all' -- all dependencies passed with no checks.
3877 # 'test_compile' -- check by making test program.
3878 # 'file_magic [regex]' -- check by looking for files in library path
3879 # which responds to the $file_magic_cmd with a given egrep regex.
3880 # If you have `file' or equivalent on your system and you're not sure
3881 # whether `pass_all' will *always* work, you probably want this one.
3885 lt_cv_deplibs_check_method=pass_all
3889 lt_cv_deplibs_check_method=pass_all
3893 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3894 lt_cv_file_magic_cmd='/usr/bin/file -L'
3895 lt_cv_file_magic_test_file=/shlib/libc.so
3898 cygwin* | mingw* |pw32*)
3899 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3900 lt_cv_file_magic_cmd='$OBJDUMP -f'
3903 darwin* | rhapsody*)
3904 # this will be overwritten by pass_all, but leave it in just in case
3905 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3906 lt_cv_file_magic_cmd='/usr/bin/file -L'
3908 rhapsody* | darwin1.012)
3909 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3912 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3915 lt_cv_deplibs_check_method=pass_all
3918 freebsd* | kfreebsd*-gnu)
3919 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3922 # Not sure whether the presence of OpenBSD here was a mistake.
3923 # Let's accept both of them until this is cleared up.
3924 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3925 lt_cv_file_magic_cmd=/usr/bin/file
3926 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3930 lt_cv_deplibs_check_method=pass_all
3935 lt_cv_deplibs_check_method=pass_all
3941 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3942 lt_cv_file_magic_cmd=/usr/bin/file
3943 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3946 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3947 lt_cv_file_magic_cmd=/usr/bin/file
3948 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3956 # this will be overridden with pass_all, but let us keep it just in case
3957 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3961 *-32|*"-32 ") libmagic=32-bit;;
3962 *-n32|*"-n32 ") libmagic=N32;;
3963 *-64|*"-64 ") libmagic=64-bit;;
3964 *) libmagic=never-match;;
3966 # this will be overridden with pass_all, but let us keep it just in case
3967 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3970 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3971 lt_cv_deplibs_check_method=pass_all
3974 # This must be Linux ELF.
3976 lt_cv_deplibs_check_method=pass_all
3979 netbsd* | knetbsd*-gnu)
3980 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3981 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3983 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3988 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3989 lt_cv_file_magic_cmd=/usr/bin/file
3990 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3993 osf3* | osf4* | osf5*)
3994 # this will be overridden with pass_all, but let us keep it just in case
3995 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3996 lt_cv_file_magic_test_file=/shlib/libc.so
3997 lt_cv_deplibs_check_method=pass_all
4001 lt_cv_deplibs_check_method=pass_all
4005 lt_cv_deplibs_check_method=pass_all
4006 lt_cv_file_magic_test_file=/lib/libc.so
4009 sysv5uw[78]* | sysv4*uw2*)
4010 lt_cv_deplibs_check_method=pass_all
4013 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4014 case $host_vendor in
4016 lt_cv_deplibs_check_method=pass_all
4019 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]'
4020 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4027 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4028 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4029 file_magic_cmd=$lt_cv_file_magic_cmd
4030 deplibs_check_method=$lt_cv_deplibs_check_method
4035 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4037 # find the maximum length of command line arguments
4038 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4039 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4040 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4041 echo $ECHO_N "(cached) $ECHO_C" >&6
4048 # On DJGPP, this test can blow up pretty badly due to problems in libc
4049 # (any single argument exceeding 2000 bytes causes a buffer overrun
4050 # during glob expansion). Even if it were fixed, the result of this
4051 # check would be larger than it should be.
4052 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4056 # On Win9x/ME, this test blows up -- it succeeds, but takes
4057 # about 5 minutes as the teststring grows exponentially.
4058 # Worse, since 9x/ME are not pre-emptively multitasking,
4059 # you end up with a "frozen" computer, even though with patience
4060 # the test eventually succeeds (with a max line length of 256k).
4061 # Instead, let's just punt: use the minimum linelength reported by
4062 # all of the supported platforms: 8192 (on NT/2K/XP).
4063 lt_cv_sys_max_cmd_len=8192;
4067 # On AmigaOS with pdksh, this test takes hours, literally.
4068 # So we just punt and use a minimum line length of 8192.
4069 lt_cv_sys_max_cmd_len=8192;
4072 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4073 # This has been around since 386BSD, at least. Likely further.
4074 if test -x /sbin/sysctl; then
4075 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4076 elif test -x /usr/sbin/sysctl; then
4077 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4079 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4081 # And add a safety zone
4082 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4083 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4089 if test -n "$lt_cv_sys_max_cmd_len" ; then
4090 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4091 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4093 echo "$as_me:$LINENO: result: none" >&5
4094 echo "${ECHO_T}none" >&6
4098 # Only perform the check for file, if the check method requires it
4099 case $deplibs_check_method in
4101 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4102 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4103 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4104 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4105 echo $ECHO_N "(cached) $ECHO_C" >&6
4109 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4112 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4115 ac_save_MAGIC_CMD="$MAGIC_CMD"
4116 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4117 ac_dummy="/usr/bin:$PATH"
4118 for ac_dir in $ac_dummy; do
4119 test -z "$ac_dir" && ac_dir=.
4120 if test -f $ac_dir/${ac_tool_prefix}file; then
4121 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4122 if test -n "$file_magic_test_file"; then
4123 case $deplibs_check_method in
4125 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4126 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4127 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4128 egrep "$file_magic_regex" > /dev/null; then
4133 *** Warning: the command libtool uses to detect shared libraries,
4134 *** $file_magic_cmd, produces output that libtool cannot recognize.
4135 *** The result is that libtool may fail to recognize shared libraries
4136 *** as such. This will affect the creation of libtool libraries that
4137 *** depend on shared libraries, but programs linked with such libtool
4138 *** libraries will work regardless of this problem. Nevertheless, you
4139 *** may want to report the problem to your system manager and/or to
4140 *** bug-libtool@gnu.org
4150 MAGIC_CMD="$ac_save_MAGIC_CMD"
4155 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4156 if test -n "$MAGIC_CMD"; then
4157 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4158 echo "${ECHO_T}$MAGIC_CMD" >&6
4160 echo "$as_me:$LINENO: result: no" >&5
4161 echo "${ECHO_T}no" >&6
4164 if test -z "$lt_cv_path_MAGIC_CMD"; then
4165 if test -n "$ac_tool_prefix"; then
4166 echo "$as_me:$LINENO: checking for file" >&5
4167 echo $ECHO_N "checking for file... $ECHO_C" >&6
4168 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4169 echo $ECHO_N "(cached) $ECHO_C" >&6
4173 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4176 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4179 ac_save_MAGIC_CMD="$MAGIC_CMD"
4180 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4181 ac_dummy="/usr/bin:$PATH"
4182 for ac_dir in $ac_dummy; do
4183 test -z "$ac_dir" && ac_dir=.
4184 if test -f $ac_dir/file; then
4185 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4186 if test -n "$file_magic_test_file"; then
4187 case $deplibs_check_method in
4189 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4190 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4191 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4192 egrep "$file_magic_regex" > /dev/null; then
4197 *** Warning: the command libtool uses to detect shared libraries,
4198 *** $file_magic_cmd, produces output that libtool cannot recognize.
4199 *** The result is that libtool may fail to recognize shared libraries
4200 *** as such. This will affect the creation of libtool libraries that
4201 *** depend on shared libraries, but programs linked with such libtool
4202 *** libraries will work regardless of this problem. Nevertheless, you
4203 *** may want to report the problem to your system manager and/or to
4204 *** bug-libtool@gnu.org
4214 MAGIC_CMD="$ac_save_MAGIC_CMD"
4219 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4220 if test -n "$MAGIC_CMD"; then
4221 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4222 echo "${ECHO_T}$MAGIC_CMD" >&6
4224 echo "$as_me:$LINENO: result: no" >&5
4225 echo "${ECHO_T}no" >&6
4237 if test -n "$ac_tool_prefix"; then
4238 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4239 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4240 echo "$as_me:$LINENO: checking for $ac_word" >&5
4241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4242 if test "${ac_cv_prog_RANLIB+set}" = set; then
4243 echo $ECHO_N "(cached) $ECHO_C" >&6
4245 if test -n "$RANLIB"; then
4246 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4252 test -z "$as_dir" && as_dir=.
4253 for ac_exec_ext in '' $ac_executable_extensions; do
4254 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4255 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4264 RANLIB=$ac_cv_prog_RANLIB
4265 if test -n "$RANLIB"; then
4266 echo "$as_me:$LINENO: result: $RANLIB" >&5
4267 echo "${ECHO_T}$RANLIB" >&6
4269 echo "$as_me:$LINENO: result: no" >&5
4270 echo "${ECHO_T}no" >&6
4274 if test -z "$ac_cv_prog_RANLIB"; then
4275 ac_ct_RANLIB=$RANLIB
4276 # Extract the first word of "ranlib", so it can be a program name with args.
4277 set dummy ranlib; ac_word=$2
4278 echo "$as_me:$LINENO: checking for $ac_word" >&5
4279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4280 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4281 echo $ECHO_N "(cached) $ECHO_C" >&6
4283 if test -n "$ac_ct_RANLIB"; then
4284 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4290 test -z "$as_dir" && as_dir=.
4291 for ac_exec_ext in '' $ac_executable_extensions; do
4292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4293 ac_cv_prog_ac_ct_RANLIB="ranlib"
4294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4300 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4303 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4304 if test -n "$ac_ct_RANLIB"; then
4305 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4306 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4308 echo "$as_me:$LINENO: result: no" >&5
4309 echo "${ECHO_T}no" >&6
4312 RANLIB=$ac_ct_RANLIB
4314 RANLIB="$ac_cv_prog_RANLIB"
4317 if test -n "$ac_tool_prefix"; then
4318 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4319 set dummy ${ac_tool_prefix}strip; ac_word=$2
4320 echo "$as_me:$LINENO: checking for $ac_word" >&5
4321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4322 if test "${ac_cv_prog_STRIP+set}" = set; then
4323 echo $ECHO_N "(cached) $ECHO_C" >&6
4325 if test -n "$STRIP"; then
4326 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4332 test -z "$as_dir" && as_dir=.
4333 for ac_exec_ext in '' $ac_executable_extensions; do
4334 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4335 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4344 STRIP=$ac_cv_prog_STRIP
4345 if test -n "$STRIP"; then
4346 echo "$as_me:$LINENO: result: $STRIP" >&5
4347 echo "${ECHO_T}$STRIP" >&6
4349 echo "$as_me:$LINENO: result: no" >&5
4350 echo "${ECHO_T}no" >&6
4354 if test -z "$ac_cv_prog_STRIP"; then
4356 # Extract the first word of "strip", so it can be a program name with args.
4357 set dummy strip; ac_word=$2
4358 echo "$as_me:$LINENO: checking for $ac_word" >&5
4359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4360 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4361 echo $ECHO_N "(cached) $ECHO_C" >&6
4363 if test -n "$ac_ct_STRIP"; then
4364 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4370 test -z "$as_dir" && as_dir=.
4371 for ac_exec_ext in '' $ac_executable_extensions; do
4372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4373 ac_cv_prog_ac_ct_STRIP="strip"
4374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4380 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4383 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4384 if test -n "$ac_ct_STRIP"; then
4385 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4386 echo "${ECHO_T}$ac_ct_STRIP" >&6
4388 echo "$as_me:$LINENO: result: no" >&5
4389 echo "${ECHO_T}no" >&6
4394 STRIP="$ac_cv_prog_STRIP"
4398 # Check for any special flags to pass to ltconfig.
4399 libtool_flags="--cache-file=$cache_file"
4400 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4401 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4402 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4403 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4404 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4407 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4408 if test "${enable_libtool_lock+set}" = set; then
4409 enableval="$enable_libtool_lock"
4412 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4413 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4416 # Check whether --with-pic or --without-pic was given.
4417 if test "${with_pic+set}" = set; then
4423 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4424 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4426 # Some flags need to be propagated to the compiler or linker for good
4430 # Find out which ABI we are using.
4431 echo '#line 4431 "configure"' > conftest.$ac_ext
4432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4433 (eval $ac_compile) 2>&5
4435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4436 (exit $ac_status); }; then
4437 if test "$lt_cv_prog_gnu_ld" = yes; then
4438 case `/usr/bin/file conftest.$ac_objext` in
4440 LD="${LD-ld} -melf32bsmip"
4443 LD="${LD-ld} -melf32bmipn32"
4446 LD="${LD-ld} -melf64bmip"
4450 case `/usr/bin/file conftest.$ac_objext` in
4467 # Find out which ABI we are using.
4468 echo 'int i;' > conftest.$ac_ext
4469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4470 (eval $ac_compile) 2>&5
4472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473 (exit $ac_status); }; then
4474 case "`/usr/bin/file conftest.o`" in
4486 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4487 # Find out which ABI we are using.
4488 echo 'int i;' > conftest.$ac_ext
4489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4490 (eval $ac_compile) 2>&5
4492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4493 (exit $ac_status); }; then
4494 case "`/usr/bin/file conftest.o`" in
4498 LD="${LD-ld} -m elf_i386"
4500 ppc64-*linux*|powerpc64-*linux*)
4501 LD="${LD-ld} -m elf32ppclinux"
4504 LD="${LD-ld} -m elf_s390"
4507 LD="${LD-ld} -m elf32_sparc"
4514 LD="${LD-ld} -m elf_x86_64"
4516 ppc*-*linux*|powerpc*-*linux*)
4517 LD="${LD-ld} -m elf64ppc"
4520 LD="${LD-ld} -m elf64_s390"
4523 LD="${LD-ld} -m elf64_sparc"
4533 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4534 SAVE_CFLAGS="$CFLAGS"
4535 CFLAGS="$CFLAGS -belf"
4536 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4537 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4538 if test "${lt_cv_cc_needs_belf+set}" = set; then
4539 echo $ECHO_N "(cached) $ECHO_C" >&6
4544 ac_cpp='$CPP $CPPFLAGS'
4545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4549 if test x$gcc_no_link = xyes; then
4550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4552 { (exit 1); exit 1; }; }
4554 cat >conftest.$ac_ext <<_ACEOF
4557 cat confdefs.h >>conftest.$ac_ext
4558 cat >>conftest.$ac_ext <<_ACEOF
4559 /* end confdefs.h. */
4569 rm -f conftest.$ac_objext conftest$ac_exeext
4570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4571 (eval $ac_link) 2>conftest.er1
4573 grep -v '^ *+' conftest.er1 >conftest.err
4575 cat conftest.err >&5
4576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4577 (exit $ac_status); } &&
4578 { ac_try='test -z "$ac_c_werror_flag"
4579 || test ! -s conftest.err'
4580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4584 (exit $ac_status); }; } &&
4585 { ac_try='test -s conftest$ac_exeext'
4586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); }; }; then
4591 lt_cv_cc_needs_belf=yes
4593 echo "$as_me: failed program was:" >&5
4594 sed 's/^/| /' conftest.$ac_ext >&5
4596 lt_cv_cc_needs_belf=no
4598 rm -f conftest.err conftest.$ac_objext \
4599 conftest$ac_exeext conftest.$ac_ext
4601 ac_cpp='$CPP $CPPFLAGS'
4602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4607 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4608 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4609 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4610 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4611 CFLAGS="$SAVE_CFLAGS"
4619 # Save cache, so that ltconfig can load it
4620 cat >confcache <<\_ACEOF
4621 # This file is a shell script that caches the results of configure
4622 # tests run on this system so they can be shared between configure
4623 # scripts and configure runs, see configure's option --config-cache.
4624 # It is not useful on other systems. If it contains results you don't
4625 # want to keep, you may remove or edit it.
4627 # config.status only pays attention to the cache file if you give it
4628 # the --recheck option to rerun configure.
4630 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4631 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4636 # The following way of writing the cache mishandles newlines in values,
4637 # but we know of no workaround that is simple, portable, and efficient.
4638 # So, don't put newlines in cache variables' values.
4639 # Ultrix sh set writes to stderr and can't be redirected directly,
4640 # and sets the high bit in the cache file unless we assign to the vars.
4643 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4645 # `set' does not quote correctly, so add quotes (double-quote
4646 # substitution turns \\\\ into \\, and sed turns \\ into \).
4649 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4652 # `set' quotes correctly as required by POSIX, so do not add quotes.
4654 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4661 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4663 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4665 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4666 if test -w $cache_file; then
4667 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4668 cat confcache >$cache_file
4670 echo "not updating unwritable cache $cache_file"
4675 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4676 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4677 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4678 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4679 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4680 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4681 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4682 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4683 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4684 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4685 echo "$as_me: error: libtool configure failed" >&2;}
4686 { (exit 1); exit 1; }; }
4688 # Reload cache, that may have been modified by ltconfig
4689 if test -r "$cache_file"; then
4690 # Some versions of bash will fail to source /dev/null (special
4691 # files actually), so we avoid doing that.
4692 if test -f "$cache_file"; then
4693 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4694 echo "$as_me: loading cache $cache_file" >&6;}
4696 [\\/]* | ?:[\\/]* ) . $cache_file;;
4697 *) . ./$cache_file;;
4701 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4702 echo "$as_me: creating cache $cache_file" >&6;}
4707 # This can be used to rebuild libtool when needed
4708 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4710 # Always use our own libtool.
4711 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4713 # Redirect the config.log output again, so that the ltconfig log is not
4714 # clobbered by the next message.
4715 exec 5>>./config.log
4724 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4726 # We need gfortran to compile parts of the library
4727 #AC_PROG_FC(gfortran)
4729 ac_ext=${FC_SRCEXT-f}
4730 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4731 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4732 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4733 if test -n "$ac_tool_prefix"; then
4734 for ac_prog in gfortran
4736 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4737 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4738 echo "$as_me:$LINENO: checking for $ac_word" >&5
4739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4740 if test "${ac_cv_prog_FC+set}" = set; then
4741 echo $ECHO_N "(cached) $ECHO_C" >&6
4743 if test -n "$FC"; then
4744 ac_cv_prog_FC="$FC" # Let the user override the test.
4746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4750 test -z "$as_dir" && as_dir=.
4751 for ac_exec_ext in '' $ac_executable_extensions; do
4752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4753 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4763 if test -n "$FC"; then
4764 echo "$as_me:$LINENO: result: $FC" >&5
4765 echo "${ECHO_T}$FC" >&6
4767 echo "$as_me:$LINENO: result: no" >&5
4768 echo "${ECHO_T}no" >&6
4771 test -n "$FC" && break
4774 if test -z "$FC"; then
4776 for ac_prog in gfortran
4778 # Extract the first word of "$ac_prog", so it can be a program name with args.
4779 set dummy $ac_prog; ac_word=$2
4780 echo "$as_me:$LINENO: checking for $ac_word" >&5
4781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4782 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4783 echo $ECHO_N "(cached) $ECHO_C" >&6
4785 if test -n "$ac_ct_FC"; then
4786 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4792 test -z "$as_dir" && as_dir=.
4793 for ac_exec_ext in '' $ac_executable_extensions; do
4794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4795 ac_cv_prog_ac_ct_FC="$ac_prog"
4796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4804 ac_ct_FC=$ac_cv_prog_ac_ct_FC
4805 if test -n "$ac_ct_FC"; then
4806 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4807 echo "${ECHO_T}$ac_ct_FC" >&6
4809 echo "$as_me:$LINENO: result: no" >&5
4810 echo "${ECHO_T}no" >&6
4813 test -n "$ac_ct_FC" && break
4820 # Provide some information about the compiler.
4821 echo "$as_me:4821:" \
4822 "checking for Fortran compiler version" >&5
4823 ac_compiler=`set X $ac_compile; echo $2`
4824 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4825 (eval $ac_compiler --version </dev/null >&5) 2>&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); }
4829 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4830 (eval $ac_compiler -v </dev/null >&5) 2>&5
4832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833 (exit $ac_status); }
4834 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4835 (eval $ac_compiler -V </dev/null >&5) 2>&5
4837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838 (exit $ac_status); }
4841 # If we don't use `.F' as extension, the preprocessor is not run on the
4842 # input file. (Note that this only needs to work for GNU compilers.)
4845 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4846 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4847 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4848 echo $ECHO_N "(cached) $ECHO_C" >&6
4850 cat >conftest.$ac_ext <<_ACEOF
4858 rm -f conftest.$ac_objext
4859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4860 (eval $ac_compile) 2>conftest.er1
4862 grep -v '^ *+' conftest.er1 >conftest.err
4864 cat conftest.err >&5
4865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4866 (exit $ac_status); } &&
4867 { ac_try='test -z "$ac_fc_werror_flag"
4868 || test ! -s conftest.err'
4869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4873 (exit $ac_status); }; } &&
4874 { ac_try='test -s conftest.$ac_objext'
4875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4879 (exit $ac_status); }; }; then
4882 echo "$as_me: failed program was:" >&5
4883 sed 's/^/| /' conftest.$ac_ext >&5
4887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4888 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4891 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4892 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4894 ac_test_FFLAGS=${FCFLAGS+set}
4895 ac_save_FFLAGS=$FCFLAGS
4897 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4898 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4899 if test "${ac_cv_prog_fc_g+set}" = set; then
4900 echo $ECHO_N "(cached) $ECHO_C" >&6
4903 cat >conftest.$ac_ext <<_ACEOF
4908 rm -f conftest.$ac_objext
4909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4910 (eval $ac_compile) 2>conftest.er1
4912 grep -v '^ *+' conftest.er1 >conftest.err
4914 cat conftest.err >&5
4915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4916 (exit $ac_status); } &&
4917 { ac_try='test -z "$ac_fc_werror_flag"
4918 || test ! -s conftest.err'
4919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4923 (exit $ac_status); }; } &&
4924 { ac_try='test -s conftest.$ac_objext'
4925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4929 (exit $ac_status); }; }; then
4932 echo "$as_me: failed program was:" >&5
4933 sed 's/^/| /' conftest.$ac_ext >&5
4937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4940 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4941 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4942 if test "$ac_test_FFLAGS" = set; then
4943 FCFLAGS=$ac_save_FFLAGS
4944 elif test $ac_cv_prog_fc_g = yes; then
4945 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4951 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4959 ac_cpp='$CPP $CPPFLAGS'
4960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4965 # extra LD Flags which are required for targets
4968 # Darwin needs -single_module when linking libgfortran
4969 extra_ldflags_libgfortran=-Wl,-single_module
4974 # We need a working compiler at that point, otherwise give a clear
4975 # error message and bail out.
4978 echo "$as_me:$LINENO: checking whether the GNU Fortran compiler is working" >&5
4979 echo $ECHO_N "checking whether the GNU Fortran compiler is working... $ECHO_C" >&6
4980 ac_ext=${FC_SRCEXT-f}
4981 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4982 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4983 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4985 cat >conftest.$ac_ext <<_ACEOF
4988 real, parameter :: bar = sin (12.34 / 2.5)
4991 rm -f conftest.$ac_objext
4992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4993 (eval $ac_compile) 2>conftest.er1
4995 grep -v '^ *+' conftest.er1 >conftest.err
4997 cat conftest.err >&5
4998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4999 (exit $ac_status); } &&
5000 { ac_try='test -z "$ac_fc_werror_flag"
5001 || test ! -s conftest.err'
5002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5006 (exit $ac_status); }; } &&
5007 { ac_try='test -s conftest.$ac_objext'
5008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012 (exit $ac_status); }; }; then
5013 echo "$as_me:$LINENO: result: yes" >&5
5014 echo "${ECHO_T}yes" >&6
5016 echo "$as_me: failed program was:" >&5
5017 sed 's/^/| /' conftest.$ac_ext >&5
5019 echo "$as_me:$LINENO: result: no" >&5
5020 echo "${ECHO_T}no" >&6
5021 { { echo "$as_me:$LINENO: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&5
5022 echo "$as_me: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&2;}
5023 { (exit 1); exit 1; }; }
5026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5028 ac_cpp='$CPP $CPPFLAGS'
5029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5035 # Check whether --enable-largefile or --disable-largefile was given.
5036 if test "${enable_largefile+set}" = set; then
5037 enableval="$enable_largefile"
5040 if test "$enable_largefile" != no; then
5042 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
5043 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
5044 if test "${ac_cv_sys_largefile_CC+set}" = set; then
5045 echo $ECHO_N "(cached) $ECHO_C" >&6
5047 ac_cv_sys_largefile_CC=no
5048 if test "$GCC" != yes; then
5051 # IRIX 6.2 and later do not support large files by default,
5052 # so use the C compiler's -n32 option if that helps.
5053 cat >conftest.$ac_ext <<_ACEOF
5056 cat confdefs.h >>conftest.$ac_ext
5057 cat >>conftest.$ac_ext <<_ACEOF
5058 /* end confdefs.h. */
5059 #include <sys/types.h>
5060 /* Check that off_t can represent 2**63 - 1 correctly.
5061 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5062 since some C++ compilers masquerading as C compilers
5063 incorrectly reject 9223372036854775807. */
5064 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5065 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5066 && LARGE_OFF_T % 2147483647 == 1)
5076 rm -f conftest.$ac_objext
5077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5078 (eval $ac_compile) 2>conftest.er1
5080 grep -v '^ *+' conftest.er1 >conftest.err
5082 cat conftest.err >&5
5083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5084 (exit $ac_status); } &&
5085 { ac_try='test -z "$ac_c_werror_flag"
5086 || test ! -s conftest.err'
5087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5091 (exit $ac_status); }; } &&
5092 { ac_try='test -s conftest.$ac_objext'
5093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5097 (exit $ac_status); }; }; then
5100 echo "$as_me: failed program was:" >&5
5101 sed 's/^/| /' conftest.$ac_ext >&5
5104 rm -f conftest.err conftest.$ac_objext
5106 rm -f conftest.$ac_objext
5107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5108 (eval $ac_compile) 2>conftest.er1
5110 grep -v '^ *+' conftest.er1 >conftest.err
5112 cat conftest.err >&5
5113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5114 (exit $ac_status); } &&
5115 { ac_try='test -z "$ac_c_werror_flag"
5116 || test ! -s conftest.err'
5117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5121 (exit $ac_status); }; } &&
5122 { ac_try='test -s conftest.$ac_objext'
5123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5127 (exit $ac_status); }; }; then
5128 ac_cv_sys_largefile_CC=' -n32'; break
5130 echo "$as_me: failed program was:" >&5
5131 sed 's/^/| /' conftest.$ac_ext >&5
5134 rm -f conftest.err conftest.$ac_objext
5138 rm -f conftest.$ac_ext
5141 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
5142 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
5143 if test "$ac_cv_sys_largefile_CC" != no; then
5144 CC=$CC$ac_cv_sys_largefile_CC
5147 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5148 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
5149 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
5150 echo $ECHO_N "(cached) $ECHO_C" >&6
5153 ac_cv_sys_file_offset_bits=no
5154 cat >conftest.$ac_ext <<_ACEOF
5157 cat confdefs.h >>conftest.$ac_ext
5158 cat >>conftest.$ac_ext <<_ACEOF
5159 /* end confdefs.h. */
5160 #include <sys/types.h>
5161 /* Check that off_t can represent 2**63 - 1 correctly.
5162 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5163 since some C++ compilers masquerading as C compilers
5164 incorrectly reject 9223372036854775807. */
5165 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5166 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5167 && LARGE_OFF_T % 2147483647 == 1)
5177 rm -f conftest.$ac_objext
5178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5179 (eval $ac_compile) 2>conftest.er1
5181 grep -v '^ *+' conftest.er1 >conftest.err
5183 cat conftest.err >&5
5184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5185 (exit $ac_status); } &&
5186 { ac_try='test -z "$ac_c_werror_flag"
5187 || test ! -s conftest.err'
5188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5192 (exit $ac_status); }; } &&
5193 { ac_try='test -s conftest.$ac_objext'
5194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5198 (exit $ac_status); }; }; then
5201 echo "$as_me: failed program was:" >&5
5202 sed 's/^/| /' conftest.$ac_ext >&5
5205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5206 cat >conftest.$ac_ext <<_ACEOF
5209 cat confdefs.h >>conftest.$ac_ext
5210 cat >>conftest.$ac_ext <<_ACEOF
5211 /* end confdefs.h. */
5212 #define _FILE_OFFSET_BITS 64
5213 #include <sys/types.h>
5214 /* Check that off_t can represent 2**63 - 1 correctly.
5215 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5216 since some C++ compilers masquerading as C compilers
5217 incorrectly reject 9223372036854775807. */
5218 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5219 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5220 && LARGE_OFF_T % 2147483647 == 1)
5230 rm -f conftest.$ac_objext
5231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5232 (eval $ac_compile) 2>conftest.er1
5234 grep -v '^ *+' conftest.er1 >conftest.err
5236 cat conftest.err >&5
5237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5238 (exit $ac_status); } &&
5239 { ac_try='test -z "$ac_c_werror_flag"
5240 || test ! -s conftest.err'
5241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5245 (exit $ac_status); }; } &&
5246 { ac_try='test -s conftest.$ac_objext'
5247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5251 (exit $ac_status); }; }; then
5252 ac_cv_sys_file_offset_bits=64; break
5254 echo "$as_me: failed program was:" >&5
5255 sed 's/^/| /' conftest.$ac_ext >&5
5258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5262 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
5263 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
5264 if test "$ac_cv_sys_file_offset_bits" != no; then
5266 cat >>confdefs.h <<_ACEOF
5267 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5272 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
5273 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
5274 if test "${ac_cv_sys_large_files+set}" = set; then
5275 echo $ECHO_N "(cached) $ECHO_C" >&6
5278 ac_cv_sys_large_files=no
5279 cat >conftest.$ac_ext <<_ACEOF
5282 cat confdefs.h >>conftest.$ac_ext
5283 cat >>conftest.$ac_ext <<_ACEOF
5284 /* end confdefs.h. */
5285 #include <sys/types.h>
5286 /* Check that off_t can represent 2**63 - 1 correctly.
5287 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5288 since some C++ compilers masquerading as C compilers
5289 incorrectly reject 9223372036854775807. */
5290 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5291 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5292 && LARGE_OFF_T % 2147483647 == 1)
5302 rm -f conftest.$ac_objext
5303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5304 (eval $ac_compile) 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); } &&
5311 { ac_try='test -z "$ac_c_werror_flag"
5312 || test ! -s conftest.err'
5313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5317 (exit $ac_status); }; } &&
5318 { ac_try='test -s conftest.$ac_objext'
5319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5323 (exit $ac_status); }; }; then
5326 echo "$as_me: failed program was:" >&5
5327 sed 's/^/| /' conftest.$ac_ext >&5
5330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5331 cat >conftest.$ac_ext <<_ACEOF
5334 cat confdefs.h >>conftest.$ac_ext
5335 cat >>conftest.$ac_ext <<_ACEOF
5336 /* end confdefs.h. */
5337 #define _LARGE_FILES 1
5338 #include <sys/types.h>
5339 /* Check that off_t can represent 2**63 - 1 correctly.
5340 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5341 since some C++ compilers masquerading as C compilers
5342 incorrectly reject 9223372036854775807. */
5343 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5344 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5345 && LARGE_OFF_T % 2147483647 == 1)
5355 rm -f conftest.$ac_objext
5356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5357 (eval $ac_compile) 2>conftest.er1
5359 grep -v '^ *+' conftest.er1 >conftest.err
5361 cat conftest.err >&5
5362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5363 (exit $ac_status); } &&
5364 { ac_try='test -z "$ac_c_werror_flag"
5365 || test ! -s conftest.err'
5366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5370 (exit $ac_status); }; } &&
5371 { ac_try='test -s conftest.$ac_objext'
5372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5376 (exit $ac_status); }; }; then
5377 ac_cv_sys_large_files=1; break
5379 echo "$as_me: failed program was:" >&5
5380 sed 's/^/| /' conftest.$ac_ext >&5
5383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5387 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5388 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5389 if test "$ac_cv_sys_large_files" != no; then
5391 cat >>confdefs.h <<_ACEOF
5392 #define _LARGE_FILES $ac_cv_sys_large_files
5400 ac_cpp='$CPP $CPPFLAGS'
5401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5404 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5405 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5406 # On Suns, sometimes $CPP names a directory.
5407 if test -n "$CPP" && test -d "$CPP"; then
5410 if test -z "$CPP"; then
5411 if test "${ac_cv_prog_CPP+set}" = set; then
5412 echo $ECHO_N "(cached) $ECHO_C" >&6
5414 # Double quotes because CPP needs to be expanded
5415 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5418 for ac_c_preproc_warn_flag in '' yes
5420 # Use a header file that comes with gcc, so configuring glibc
5421 # with a fresh cross-compiler works.
5422 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5423 # <limits.h> exists even on freestanding compilers.
5424 # On the NeXT, cc -E runs the code through the compiler's parser,
5425 # not just through cpp. "Syntax error" is here to catch this case.
5426 cat >conftest.$ac_ext <<_ACEOF
5429 cat confdefs.h >>conftest.$ac_ext
5430 cat >>conftest.$ac_ext <<_ACEOF
5431 /* end confdefs.h. */
5433 # include <limits.h>
5435 # include <assert.h>
5439 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5440 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5442 grep -v '^ *+' conftest.er1 >conftest.err
5444 cat conftest.err >&5
5445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5446 (exit $ac_status); } >/dev/null; then
5447 if test -s conftest.err; then
5448 ac_cpp_err=$ac_c_preproc_warn_flag
5449 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5456 if test -z "$ac_cpp_err"; then
5459 echo "$as_me: failed program was:" >&5
5460 sed 's/^/| /' conftest.$ac_ext >&5
5462 # Broken: fails on valid input.
5465 rm -f conftest.err conftest.$ac_ext
5467 # OK, works on sane cases. Now check whether non-existent headers
5468 # can be detected and how.
5469 cat >conftest.$ac_ext <<_ACEOF
5472 cat confdefs.h >>conftest.$ac_ext
5473 cat >>conftest.$ac_ext <<_ACEOF
5474 /* end confdefs.h. */
5475 #include <ac_nonexistent.h>
5477 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5478 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5480 grep -v '^ *+' conftest.er1 >conftest.err
5482 cat conftest.err >&5
5483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5484 (exit $ac_status); } >/dev/null; then
5485 if test -s conftest.err; then
5486 ac_cpp_err=$ac_c_preproc_warn_flag
5487 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5494 if test -z "$ac_cpp_err"; then
5495 # Broken: success on invalid input.
5498 echo "$as_me: failed program was:" >&5
5499 sed 's/^/| /' conftest.$ac_ext >&5
5501 # Passes both tests.
5505 rm -f conftest.err conftest.$ac_ext
5508 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5509 rm -f conftest.err conftest.$ac_ext
5510 if $ac_preproc_ok; then
5522 echo "$as_me:$LINENO: result: $CPP" >&5
5523 echo "${ECHO_T}$CPP" >&6
5525 for ac_c_preproc_warn_flag in '' yes
5527 # Use a header file that comes with gcc, so configuring glibc
5528 # with a fresh cross-compiler works.
5529 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5530 # <limits.h> exists even on freestanding compilers.
5531 # On the NeXT, cc -E runs the code through the compiler's parser,
5532 # not just through cpp. "Syntax error" is here to catch this case.
5533 cat >conftest.$ac_ext <<_ACEOF
5536 cat confdefs.h >>conftest.$ac_ext
5537 cat >>conftest.$ac_ext <<_ACEOF
5538 /* end confdefs.h. */
5540 # include <limits.h>
5542 # include <assert.h>
5546 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5547 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5549 grep -v '^ *+' conftest.er1 >conftest.err
5551 cat conftest.err >&5
5552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5553 (exit $ac_status); } >/dev/null; then
5554 if test -s conftest.err; then
5555 ac_cpp_err=$ac_c_preproc_warn_flag
5556 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5563 if test -z "$ac_cpp_err"; then
5566 echo "$as_me: failed program was:" >&5
5567 sed 's/^/| /' conftest.$ac_ext >&5
5569 # Broken: fails on valid input.
5572 rm -f conftest.err conftest.$ac_ext
5574 # OK, works on sane cases. Now check whether non-existent headers
5575 # can be detected and how.
5576 cat >conftest.$ac_ext <<_ACEOF
5579 cat confdefs.h >>conftest.$ac_ext
5580 cat >>conftest.$ac_ext <<_ACEOF
5581 /* end confdefs.h. */
5582 #include <ac_nonexistent.h>
5584 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5585 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5587 grep -v '^ *+' conftest.er1 >conftest.err
5589 cat conftest.err >&5
5590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5591 (exit $ac_status); } >/dev/null; then
5592 if test -s conftest.err; then
5593 ac_cpp_err=$ac_c_preproc_warn_flag
5594 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5601 if test -z "$ac_cpp_err"; then
5602 # Broken: success on invalid input.
5605 echo "$as_me: failed program was:" >&5
5606 sed 's/^/| /' conftest.$ac_ext >&5
5608 # Passes both tests.
5612 rm -f conftest.err conftest.$ac_ext
5615 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5616 rm -f conftest.err conftest.$ac_ext
5617 if $ac_preproc_ok; then
5620 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5621 See \`config.log' for more details." >&5
5622 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5623 See \`config.log' for more details." >&2;}
5624 { (exit 1); exit 1; }; }
5628 ac_cpp='$CPP $CPPFLAGS'
5629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5634 echo "$as_me:$LINENO: checking for egrep" >&5
5635 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5636 if test "${ac_cv_prog_egrep+set}" = set; then
5637 echo $ECHO_N "(cached) $ECHO_C" >&6
5639 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5640 then ac_cv_prog_egrep='grep -E'
5641 else ac_cv_prog_egrep='egrep'
5644 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5645 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5646 EGREP=$ac_cv_prog_egrep
5649 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5650 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5651 if test "${ac_cv_header_stdc+set}" = set; then
5652 echo $ECHO_N "(cached) $ECHO_C" >&6
5654 cat >conftest.$ac_ext <<_ACEOF
5657 cat confdefs.h >>conftest.$ac_ext
5658 cat >>conftest.$ac_ext <<_ACEOF
5659 /* end confdefs.h. */
5673 rm -f conftest.$ac_objext
5674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5675 (eval $ac_compile) 2>conftest.er1
5677 grep -v '^ *+' conftest.er1 >conftest.err
5679 cat conftest.err >&5
5680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5681 (exit $ac_status); } &&
5682 { ac_try='test -z "$ac_c_werror_flag"
5683 || test ! -s conftest.err'
5684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688 (exit $ac_status); }; } &&
5689 { ac_try='test -s conftest.$ac_objext'
5690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5694 (exit $ac_status); }; }; then
5695 ac_cv_header_stdc=yes
5697 echo "$as_me: failed program was:" >&5
5698 sed 's/^/| /' conftest.$ac_ext >&5
5700 ac_cv_header_stdc=no
5702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5704 if test $ac_cv_header_stdc = yes; then
5705 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5706 cat >conftest.$ac_ext <<_ACEOF
5709 cat confdefs.h >>conftest.$ac_ext
5710 cat >>conftest.$ac_ext <<_ACEOF
5711 /* end confdefs.h. */
5715 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5716 $EGREP "memchr" >/dev/null 2>&1; then
5719 ac_cv_header_stdc=no
5725 if test $ac_cv_header_stdc = yes; then
5726 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5727 cat >conftest.$ac_ext <<_ACEOF
5730 cat confdefs.h >>conftest.$ac_ext
5731 cat >>conftest.$ac_ext <<_ACEOF
5732 /* end confdefs.h. */
5736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5737 $EGREP "free" >/dev/null 2>&1; then
5740 ac_cv_header_stdc=no
5746 if test $ac_cv_header_stdc = yes; then
5747 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5748 if test "$cross_compiling" = yes; then
5751 cat >conftest.$ac_ext <<_ACEOF
5754 cat confdefs.h >>conftest.$ac_ext
5755 cat >>conftest.$ac_ext <<_ACEOF
5756 /* end confdefs.h. */
5758 #if ((' ' & 0x0FF) == 0x020)
5759 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5760 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5762 # define ISLOWER(c) \
5763 (('a' <= (c) && (c) <= 'i') \
5764 || ('j' <= (c) && (c) <= 'r') \
5765 || ('s' <= (c) && (c) <= 'z'))
5766 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5769 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5774 for (i = 0; i < 256; i++)
5775 if (XOR (islower (i), ISLOWER (i))
5776 || toupper (i) != TOUPPER (i))
5781 rm -f conftest$ac_exeext
5782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5783 (eval $ac_link) 2>&5
5785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5786 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5791 (exit $ac_status); }; }; then
5794 echo "$as_me: program exited with status $ac_status" >&5
5795 echo "$as_me: failed program was:" >&5
5796 sed 's/^/| /' conftest.$ac_ext >&5
5799 ac_cv_header_stdc=no
5801 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5805 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5806 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5807 if test $ac_cv_header_stdc = yes; then
5809 cat >>confdefs.h <<\_ACEOF
5810 #define STDC_HEADERS 1
5815 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5825 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5826 inttypes.h stdint.h unistd.h
5828 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5829 echo "$as_me:$LINENO: checking for $ac_header" >&5
5830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5832 echo $ECHO_N "(cached) $ECHO_C" >&6
5834 cat >conftest.$ac_ext <<_ACEOF
5837 cat confdefs.h >>conftest.$ac_ext
5838 cat >>conftest.$ac_ext <<_ACEOF
5839 /* end confdefs.h. */
5840 $ac_includes_default
5842 #include <$ac_header>
5844 rm -f conftest.$ac_objext
5845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5846 (eval $ac_compile) 2>conftest.er1
5848 grep -v '^ *+' conftest.er1 >conftest.err
5850 cat conftest.err >&5
5851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5852 (exit $ac_status); } &&
5853 { ac_try='test -z "$ac_c_werror_flag"
5854 || test ! -s conftest.err'
5855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859 (exit $ac_status); }; } &&
5860 { ac_try='test -s conftest.$ac_objext'
5861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5865 (exit $ac_status); }; }; then
5866 eval "$as_ac_Header=yes"
5868 echo "$as_me: failed program was:" >&5
5869 sed 's/^/| /' conftest.$ac_ext >&5
5871 eval "$as_ac_Header=no"
5873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5876 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5877 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5878 cat >>confdefs.h <<_ACEOF
5879 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5887 echo "$as_me:$LINENO: checking for off_t" >&5
5888 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5889 if test "${ac_cv_type_off_t+set}" = set; then
5890 echo $ECHO_N "(cached) $ECHO_C" >&6
5892 cat >conftest.$ac_ext <<_ACEOF
5895 cat confdefs.h >>conftest.$ac_ext
5896 cat >>conftest.$ac_ext <<_ACEOF
5897 /* end confdefs.h. */
5898 $ac_includes_default
5910 rm -f conftest.$ac_objext
5911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5912 (eval $ac_compile) 2>conftest.er1
5914 grep -v '^ *+' conftest.er1 >conftest.err
5916 cat conftest.err >&5
5917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5918 (exit $ac_status); } &&
5919 { ac_try='test -z "$ac_c_werror_flag"
5920 || test ! -s conftest.err'
5921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5925 (exit $ac_status); }; } &&
5926 { ac_try='test -s conftest.$ac_objext'
5927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5931 (exit $ac_status); }; }; then
5932 ac_cv_type_off_t=yes
5934 echo "$as_me: failed program was:" >&5
5935 sed 's/^/| /' conftest.$ac_ext >&5
5939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5941 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5942 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5943 if test $ac_cv_type_off_t = yes; then
5947 cat >>confdefs.h <<_ACEOF
5954 # check header files
5955 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5956 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5957 if test "${ac_cv_header_stdc+set}" = set; then
5958 echo $ECHO_N "(cached) $ECHO_C" >&6
5960 cat >conftest.$ac_ext <<_ACEOF
5963 cat confdefs.h >>conftest.$ac_ext
5964 cat >>conftest.$ac_ext <<_ACEOF
5965 /* end confdefs.h. */
5979 rm -f conftest.$ac_objext
5980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5981 (eval $ac_compile) 2>conftest.er1
5983 grep -v '^ *+' conftest.er1 >conftest.err
5985 cat conftest.err >&5
5986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5987 (exit $ac_status); } &&
5988 { ac_try='test -z "$ac_c_werror_flag"
5989 || test ! -s conftest.err'
5990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5994 (exit $ac_status); }; } &&
5995 { ac_try='test -s conftest.$ac_objext'
5996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6000 (exit $ac_status); }; }; then
6001 ac_cv_header_stdc=yes
6003 echo "$as_me: failed program was:" >&5
6004 sed 's/^/| /' conftest.$ac_ext >&5
6006 ac_cv_header_stdc=no
6008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6010 if test $ac_cv_header_stdc = yes; then
6011 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6012 cat >conftest.$ac_ext <<_ACEOF
6015 cat confdefs.h >>conftest.$ac_ext
6016 cat >>conftest.$ac_ext <<_ACEOF
6017 /* end confdefs.h. */
6021 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6022 $EGREP "memchr" >/dev/null 2>&1; then
6025 ac_cv_header_stdc=no
6031 if test $ac_cv_header_stdc = yes; then
6032 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6033 cat >conftest.$ac_ext <<_ACEOF
6036 cat confdefs.h >>conftest.$ac_ext
6037 cat >>conftest.$ac_ext <<_ACEOF
6038 /* end confdefs.h. */
6042 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6043 $EGREP "free" >/dev/null 2>&1; then
6046 ac_cv_header_stdc=no
6052 if test $ac_cv_header_stdc = yes; then
6053 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6054 if test "$cross_compiling" = yes; then
6057 cat >conftest.$ac_ext <<_ACEOF
6060 cat confdefs.h >>conftest.$ac_ext
6061 cat >>conftest.$ac_ext <<_ACEOF
6062 /* end confdefs.h. */
6064 #if ((' ' & 0x0FF) == 0x020)
6065 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6066 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6068 # define ISLOWER(c) \
6069 (('a' <= (c) && (c) <= 'i') \
6070 || ('j' <= (c) && (c) <= 'r') \
6071 || ('s' <= (c) && (c) <= 'z'))
6072 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6075 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6080 for (i = 0; i < 256; i++)
6081 if (XOR (islower (i), ISLOWER (i))
6082 || toupper (i) != TOUPPER (i))
6087 rm -f conftest$ac_exeext
6088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6089 (eval $ac_link) 2>&5
6091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6092 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6097 (exit $ac_status); }; }; then
6100 echo "$as_me: program exited with status $ac_status" >&5
6101 echo "$as_me: failed program was:" >&5
6102 sed 's/^/| /' conftest.$ac_ext >&5
6105 ac_cv_header_stdc=no
6107 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6111 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6112 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6113 if test $ac_cv_header_stdc = yes; then
6115 cat >>confdefs.h <<\_ACEOF
6116 #define STDC_HEADERS 1
6121 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6122 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
6123 if test "${ac_cv_header_time+set}" = set; then
6124 echo $ECHO_N "(cached) $ECHO_C" >&6
6126 cat >conftest.$ac_ext <<_ACEOF
6129 cat confdefs.h >>conftest.$ac_ext
6130 cat >>conftest.$ac_ext <<_ACEOF
6131 /* end confdefs.h. */
6132 #include <sys/types.h>
6133 #include <sys/time.h>
6139 if ((struct tm *) 0)
6145 rm -f conftest.$ac_objext
6146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6147 (eval $ac_compile) 2>conftest.er1
6149 grep -v '^ *+' conftest.er1 >conftest.err
6151 cat conftest.err >&5
6152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6153 (exit $ac_status); } &&
6154 { ac_try='test -z "$ac_c_werror_flag"
6155 || test ! -s conftest.err'
6156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6160 (exit $ac_status); }; } &&
6161 { ac_try='test -s conftest.$ac_objext'
6162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6166 (exit $ac_status); }; }; then
6167 ac_cv_header_time=yes
6169 echo "$as_me: failed program was:" >&5
6170 sed 's/^/| /' conftest.$ac_ext >&5
6172 ac_cv_header_time=no
6174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6176 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6177 echo "${ECHO_T}$ac_cv_header_time" >&6
6178 if test $ac_cv_header_time = yes; then
6180 cat >>confdefs.h <<\_ACEOF
6181 #define TIME_WITH_SYS_TIME 1
6190 for ac_header in stdlib.h string.h unistd.h signal.h
6192 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6194 echo "$as_me:$LINENO: checking for $ac_header" >&5
6195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6197 echo $ECHO_N "(cached) $ECHO_C" >&6
6199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6200 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6202 # Is the header compilable?
6203 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6204 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6205 cat >conftest.$ac_ext <<_ACEOF
6208 cat confdefs.h >>conftest.$ac_ext
6209 cat >>conftest.$ac_ext <<_ACEOF
6210 /* end confdefs.h. */
6211 $ac_includes_default
6212 #include <$ac_header>
6214 rm -f conftest.$ac_objext
6215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6216 (eval $ac_compile) 2>conftest.er1
6218 grep -v '^ *+' conftest.er1 >conftest.err
6220 cat conftest.err >&5
6221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6222 (exit $ac_status); } &&
6223 { ac_try='test -z "$ac_c_werror_flag"
6224 || test ! -s conftest.err'
6225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6229 (exit $ac_status); }; } &&
6230 { ac_try='test -s conftest.$ac_objext'
6231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6235 (exit $ac_status); }; }; then
6236 ac_header_compiler=yes
6238 echo "$as_me: failed program was:" >&5
6239 sed 's/^/| /' conftest.$ac_ext >&5
6241 ac_header_compiler=no
6243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6244 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6245 echo "${ECHO_T}$ac_header_compiler" >&6
6247 # Is the header present?
6248 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6249 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6250 cat >conftest.$ac_ext <<_ACEOF
6253 cat confdefs.h >>conftest.$ac_ext
6254 cat >>conftest.$ac_ext <<_ACEOF
6255 /* end confdefs.h. */
6256 #include <$ac_header>
6258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6259 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6261 grep -v '^ *+' conftest.er1 >conftest.err
6263 cat conftest.err >&5
6264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6265 (exit $ac_status); } >/dev/null; then
6266 if test -s conftest.err; then
6267 ac_cpp_err=$ac_c_preproc_warn_flag
6268 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6275 if test -z "$ac_cpp_err"; then
6276 ac_header_preproc=yes
6278 echo "$as_me: failed program was:" >&5
6279 sed 's/^/| /' conftest.$ac_ext >&5
6281 ac_header_preproc=no
6283 rm -f conftest.err conftest.$ac_ext
6284 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6285 echo "${ECHO_T}$ac_header_preproc" >&6
6287 # So? What about this header?
6288 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6290 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6291 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6292 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6293 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6294 ac_header_preproc=yes
6297 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6298 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6299 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6300 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6301 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6302 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6303 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6304 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6305 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6306 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6307 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6308 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6311 ## ------------------------------------------------------ ##
6312 ## Report this to the GNU Fortran Runtime Library lists. ##
6313 ## ------------------------------------------------------ ##
6316 sed "s/^/$as_me: WARNING: /" >&2
6319 echo "$as_me:$LINENO: checking for $ac_header" >&5
6320 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6322 echo $ECHO_N "(cached) $ECHO_C" >&6
6324 eval "$as_ac_Header=\$ac_header_preproc"
6326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6327 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6330 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6331 cat >>confdefs.h <<_ACEOF
6332 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6343 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
6345 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6347 echo "$as_me:$LINENO: checking for $ac_header" >&5
6348 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6350 echo $ECHO_N "(cached) $ECHO_C" >&6
6352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6353 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6355 # Is the header compilable?
6356 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6357 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6358 cat >conftest.$ac_ext <<_ACEOF
6361 cat confdefs.h >>conftest.$ac_ext
6362 cat >>conftest.$ac_ext <<_ACEOF
6363 /* end confdefs.h. */
6364 $ac_includes_default
6365 #include <$ac_header>
6367 rm -f conftest.$ac_objext
6368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6369 (eval $ac_compile) 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); } &&
6376 { ac_try='test -z "$ac_c_werror_flag"
6377 || test ! -s conftest.err'
6378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382 (exit $ac_status); }; } &&
6383 { ac_try='test -s conftest.$ac_objext'
6384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6388 (exit $ac_status); }; }; then
6389 ac_header_compiler=yes
6391 echo "$as_me: failed program was:" >&5
6392 sed 's/^/| /' conftest.$ac_ext >&5
6394 ac_header_compiler=no
6396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6397 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6398 echo "${ECHO_T}$ac_header_compiler" >&6
6400 # Is the header present?
6401 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6402 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6403 cat >conftest.$ac_ext <<_ACEOF
6406 cat confdefs.h >>conftest.$ac_ext
6407 cat >>conftest.$ac_ext <<_ACEOF
6408 /* end confdefs.h. */
6409 #include <$ac_header>
6411 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6412 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6414 grep -v '^ *+' conftest.er1 >conftest.err
6416 cat conftest.err >&5
6417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418 (exit $ac_status); } >/dev/null; then
6419 if test -s conftest.err; then
6420 ac_cpp_err=$ac_c_preproc_warn_flag
6421 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6428 if test -z "$ac_cpp_err"; then
6429 ac_header_preproc=yes
6431 echo "$as_me: failed program was:" >&5
6432 sed 's/^/| /' conftest.$ac_ext >&5
6434 ac_header_preproc=no
6436 rm -f conftest.err conftest.$ac_ext
6437 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6438 echo "${ECHO_T}$ac_header_preproc" >&6
6440 # So? What about this header?
6441 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6443 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6444 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6445 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6446 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6447 ac_header_preproc=yes
6450 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6451 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6452 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6453 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6454 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6455 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6456 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6457 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6459 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6460 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6461 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6464 ## ------------------------------------------------------ ##
6465 ## Report this to the GNU Fortran Runtime Library lists. ##
6466 ## ------------------------------------------------------ ##
6469 sed "s/^/$as_me: WARNING: /" >&2
6472 echo "$as_me:$LINENO: checking for $ac_header" >&5
6473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6475 echo $ECHO_N "(cached) $ECHO_C" >&6
6477 eval "$as_ac_Header=\$ac_header_preproc"
6479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6480 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6484 cat >>confdefs.h <<_ACEOF
6485 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6497 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
6499 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6501 echo "$as_me:$LINENO: checking for $ac_header" >&5
6502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6504 echo $ECHO_N "(cached) $ECHO_C" >&6
6506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6507 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6509 # Is the header compilable?
6510 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6511 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
6519 #include <$ac_header>
6521 rm -f conftest.$ac_objext
6522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6523 (eval $ac_compile) 2>conftest.er1
6525 grep -v '^ *+' conftest.er1 >conftest.err
6527 cat conftest.err >&5
6528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6529 (exit $ac_status); } &&
6530 { ac_try='test -z "$ac_c_werror_flag"
6531 || test ! -s conftest.err'
6532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6536 (exit $ac_status); }; } &&
6537 { ac_try='test -s conftest.$ac_objext'
6538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6542 (exit $ac_status); }; }; then
6543 ac_header_compiler=yes
6545 echo "$as_me: failed program was:" >&5
6546 sed 's/^/| /' conftest.$ac_ext >&5
6548 ac_header_compiler=no
6550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6551 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6552 echo "${ECHO_T}$ac_header_compiler" >&6
6554 # Is the header present?
6555 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6556 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6557 cat >conftest.$ac_ext <<_ACEOF
6560 cat confdefs.h >>conftest.$ac_ext
6561 cat >>conftest.$ac_ext <<_ACEOF
6562 /* end confdefs.h. */
6563 #include <$ac_header>
6565 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6566 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6568 grep -v '^ *+' conftest.er1 >conftest.err
6570 cat conftest.err >&5
6571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6572 (exit $ac_status); } >/dev/null; then
6573 if test -s conftest.err; then
6574 ac_cpp_err=$ac_c_preproc_warn_flag
6575 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6582 if test -z "$ac_cpp_err"; then
6583 ac_header_preproc=yes
6585 echo "$as_me: failed program was:" >&5
6586 sed 's/^/| /' conftest.$ac_ext >&5
6588 ac_header_preproc=no
6590 rm -f conftest.err conftest.$ac_ext
6591 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6592 echo "${ECHO_T}$ac_header_preproc" >&6
6594 # So? What about this header?
6595 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6597 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6598 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6599 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6600 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6601 ac_header_preproc=yes
6604 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6605 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6606 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6607 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6608 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6609 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6610 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6611 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6613 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6614 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6615 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6618 ## ------------------------------------------------------ ##
6619 ## Report this to the GNU Fortran Runtime Library lists. ##
6620 ## ------------------------------------------------------ ##
6623 sed "s/^/$as_me: WARNING: /" >&2
6626 echo "$as_me:$LINENO: checking for $ac_header" >&5
6627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6629 echo $ECHO_N "(cached) $ECHO_C" >&6
6631 eval "$as_ac_Header=\$ac_header_preproc"
6633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6634 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6637 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6638 cat >>confdefs.h <<_ACEOF
6639 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6651 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
6653 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6655 echo "$as_me:$LINENO: checking for $ac_header" >&5
6656 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6658 echo $ECHO_N "(cached) $ECHO_C" >&6
6660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6661 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6663 # Is the header compilable?
6664 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6665 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6666 cat >conftest.$ac_ext <<_ACEOF
6669 cat confdefs.h >>conftest.$ac_ext
6670 cat >>conftest.$ac_ext <<_ACEOF
6671 /* end confdefs.h. */
6672 $ac_includes_default
6673 #include <$ac_header>
6675 rm -f conftest.$ac_objext
6676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6677 (eval $ac_compile) 2>conftest.er1
6679 grep -v '^ *+' conftest.er1 >conftest.err
6681 cat conftest.err >&5
6682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6683 (exit $ac_status); } &&
6684 { ac_try='test -z "$ac_c_werror_flag"
6685 || test ! -s conftest.err'
6686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6690 (exit $ac_status); }; } &&
6691 { ac_try='test -s conftest.$ac_objext'
6692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); }; }; then
6697 ac_header_compiler=yes
6699 echo "$as_me: failed program was:" >&5
6700 sed 's/^/| /' conftest.$ac_ext >&5
6702 ac_header_compiler=no
6704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6705 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6706 echo "${ECHO_T}$ac_header_compiler" >&6
6708 # Is the header present?
6709 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6710 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6711 cat >conftest.$ac_ext <<_ACEOF
6714 cat confdefs.h >>conftest.$ac_ext
6715 cat >>conftest.$ac_ext <<_ACEOF
6716 /* end confdefs.h. */
6717 #include <$ac_header>
6719 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6720 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6722 grep -v '^ *+' conftest.er1 >conftest.err
6724 cat conftest.err >&5
6725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6726 (exit $ac_status); } >/dev/null; then
6727 if test -s conftest.err; then
6728 ac_cpp_err=$ac_c_preproc_warn_flag
6729 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6736 if test -z "$ac_cpp_err"; then
6737 ac_header_preproc=yes
6739 echo "$as_me: failed program was:" >&5
6740 sed 's/^/| /' conftest.$ac_ext >&5
6742 ac_header_preproc=no
6744 rm -f conftest.err conftest.$ac_ext
6745 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6746 echo "${ECHO_T}$ac_header_preproc" >&6
6748 # So? What about this header?
6749 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6751 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6752 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6753 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6754 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6755 ac_header_preproc=yes
6758 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6759 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6760 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6761 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6762 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6763 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6764 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6765 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6766 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6767 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6768 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6769 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6772 ## ------------------------------------------------------ ##
6773 ## Report this to the GNU Fortran Runtime Library lists. ##
6774 ## ------------------------------------------------------ ##
6777 sed "s/^/$as_me: WARNING: /" >&2
6780 echo "$as_me:$LINENO: checking for $ac_header" >&5
6781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6783 echo $ECHO_N "(cached) $ECHO_C" >&6
6785 eval "$as_ac_Header=\$ac_header_preproc"
6787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6788 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6791 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6792 cat >>confdefs.h <<_ACEOF
6793 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6800 if test "${ac_cv_header_complex_h+set}" = set; then
6801 echo "$as_me:$LINENO: checking for complex.h" >&5
6802 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6803 if test "${ac_cv_header_complex_h+set}" = set; then
6804 echo $ECHO_N "(cached) $ECHO_C" >&6
6806 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6807 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6809 # Is the header compilable?
6810 echo "$as_me:$LINENO: checking complex.h usability" >&5
6811 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6812 cat >conftest.$ac_ext <<_ACEOF
6815 cat confdefs.h >>conftest.$ac_ext
6816 cat >>conftest.$ac_ext <<_ACEOF
6817 /* end confdefs.h. */
6818 $ac_includes_default
6819 #include <complex.h>
6821 rm -f conftest.$ac_objext
6822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6823 (eval $ac_compile) 2>conftest.er1
6825 grep -v '^ *+' conftest.er1 >conftest.err
6827 cat conftest.err >&5
6828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6829 (exit $ac_status); } &&
6830 { ac_try='test -z "$ac_c_werror_flag"
6831 || test ! -s conftest.err'
6832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6836 (exit $ac_status); }; } &&
6837 { ac_try='test -s conftest.$ac_objext'
6838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6842 (exit $ac_status); }; }; then
6843 ac_header_compiler=yes
6845 echo "$as_me: failed program was:" >&5
6846 sed 's/^/| /' conftest.$ac_ext >&5
6848 ac_header_compiler=no
6850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6851 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6852 echo "${ECHO_T}$ac_header_compiler" >&6
6854 # Is the header present?
6855 echo "$as_me:$LINENO: checking complex.h presence" >&5
6856 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6857 cat >conftest.$ac_ext <<_ACEOF
6860 cat confdefs.h >>conftest.$ac_ext
6861 cat >>conftest.$ac_ext <<_ACEOF
6862 /* end confdefs.h. */
6863 #include <complex.h>
6865 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6866 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6868 grep -v '^ *+' conftest.er1 >conftest.err
6870 cat conftest.err >&5
6871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6872 (exit $ac_status); } >/dev/null; then
6873 if test -s conftest.err; then
6874 ac_cpp_err=$ac_c_preproc_warn_flag
6875 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6882 if test -z "$ac_cpp_err"; then
6883 ac_header_preproc=yes
6885 echo "$as_me: failed program was:" >&5
6886 sed 's/^/| /' conftest.$ac_ext >&5
6888 ac_header_preproc=no
6890 rm -f conftest.err conftest.$ac_ext
6891 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6892 echo "${ECHO_T}$ac_header_preproc" >&6
6894 # So? What about this header?
6895 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6897 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6898 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6899 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6900 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6901 ac_header_preproc=yes
6904 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6905 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6906 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6907 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6908 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6909 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6910 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6911 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6912 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6913 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6914 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6915 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6918 ## ------------------------------------------------------ ##
6919 ## Report this to the GNU Fortran Runtime Library lists. ##
6920 ## ------------------------------------------------------ ##
6923 sed "s/^/$as_me: WARNING: /" >&2
6926 echo "$as_me:$LINENO: checking for complex.h" >&5
6927 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6928 if test "${ac_cv_header_complex_h+set}" = set; then
6929 echo $ECHO_N "(cached) $ECHO_C" >&6
6931 ac_cv_header_complex_h=$ac_header_preproc
6933 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6934 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6937 if test $ac_cv_header_complex_h = yes; then
6939 cat >>confdefs.h <<\_ACEOF
6940 #define HAVE_COMPLEX_H 1
6948 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
6950 acx_cv_header_stdint=stddef.h
6951 acx_cv_header_stdint_kind="(already complete)"
6952 for i in stdint.h $inttype_headers; do
6953 unset ac_cv_type_uintptr_t
6954 unset ac_cv_type_uintmax_t
6955 unset ac_cv_type_int_least32_t
6956 unset ac_cv_type_int_fast32_t
6957 unset ac_cv_type_uint64_t
6958 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
6959 echo "$as_me:$LINENO: checking for uintmax_t" >&5
6960 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
6961 if test "${ac_cv_type_uintmax_t+set}" = set; then
6962 echo $ECHO_N "(cached) $ECHO_C" >&6
6964 cat >conftest.$ac_ext <<_ACEOF
6967 cat confdefs.h >>conftest.$ac_ext
6968 cat >>conftest.$ac_ext <<_ACEOF
6969 /* end confdefs.h. */
6970 #include <sys/types.h>
6976 if ((uintmax_t *) 0)
6978 if (sizeof (uintmax_t))
6984 rm -f conftest.$ac_objext
6985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6986 (eval $ac_compile) 2>conftest.er1
6988 grep -v '^ *+' conftest.er1 >conftest.err
6990 cat conftest.err >&5
6991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6992 (exit $ac_status); } &&
6993 { ac_try='test -z "$ac_c_werror_flag"
6994 || test ! -s conftest.err'
6995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6999 (exit $ac_status); }; } &&
7000 { ac_try='test -s conftest.$ac_objext'
7001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7005 (exit $ac_status); }; }; then
7006 ac_cv_type_uintmax_t=yes
7008 echo "$as_me: failed program was:" >&5
7009 sed 's/^/| /' conftest.$ac_ext >&5
7011 ac_cv_type_uintmax_t=no
7013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7015 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
7016 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
7017 if test $ac_cv_type_uintmax_t = yes; then
7018 acx_cv_header_stdint=$i
7023 echo "$as_me:$LINENO: checking for uintptr_t" >&5
7024 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
7025 if test "${ac_cv_type_uintptr_t+set}" = set; then
7026 echo $ECHO_N "(cached) $ECHO_C" >&6
7028 cat >conftest.$ac_ext <<_ACEOF
7031 cat confdefs.h >>conftest.$ac_ext
7032 cat >>conftest.$ac_ext <<_ACEOF
7033 /* end confdefs.h. */
7034 #include <sys/types.h>
7040 if ((uintptr_t *) 0)
7042 if (sizeof (uintptr_t))
7048 rm -f conftest.$ac_objext
7049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7050 (eval $ac_compile) 2>conftest.er1
7052 grep -v '^ *+' conftest.er1 >conftest.err
7054 cat conftest.err >&5
7055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7056 (exit $ac_status); } &&
7057 { ac_try='test -z "$ac_c_werror_flag"
7058 || test ! -s conftest.err'
7059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7063 (exit $ac_status); }; } &&
7064 { ac_try='test -s conftest.$ac_objext'
7065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7069 (exit $ac_status); }; }; then
7070 ac_cv_type_uintptr_t=yes
7072 echo "$as_me: failed program was:" >&5
7073 sed 's/^/| /' conftest.$ac_ext >&5
7075 ac_cv_type_uintptr_t=no
7077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7079 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
7080 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
7081 if test $ac_cv_type_uintptr_t = yes; then
7084 acx_cv_header_stdint_kind="(mostly complete)"
7087 echo "$as_me:$LINENO: checking for int_least32_t" >&5
7088 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
7089 if test "${ac_cv_type_int_least32_t+set}" = set; then
7090 echo $ECHO_N "(cached) $ECHO_C" >&6
7092 cat >conftest.$ac_ext <<_ACEOF
7095 cat confdefs.h >>conftest.$ac_ext
7096 cat >>conftest.$ac_ext <<_ACEOF
7097 /* end confdefs.h. */
7098 #include <sys/types.h>
7104 if ((int_least32_t *) 0)
7106 if (sizeof (int_least32_t))
7112 rm -f conftest.$ac_objext
7113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7114 (eval $ac_compile) 2>conftest.er1
7116 grep -v '^ *+' conftest.er1 >conftest.err
7118 cat conftest.err >&5
7119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7120 (exit $ac_status); } &&
7121 { ac_try='test -z "$ac_c_werror_flag"
7122 || test ! -s conftest.err'
7123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7127 (exit $ac_status); }; } &&
7128 { ac_try='test -s conftest.$ac_objext'
7129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7133 (exit $ac_status); }; }; then
7134 ac_cv_type_int_least32_t=yes
7136 echo "$as_me: failed program was:" >&5
7137 sed 's/^/| /' conftest.$ac_ext >&5
7139 ac_cv_type_int_least32_t=no
7141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7143 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
7144 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
7145 if test $ac_cv_type_int_least32_t = yes; then
7148 acx_cv_header_stdint_kind="(mostly complete)"
7151 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
7152 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
7153 if test "${ac_cv_type_int_fast32_t+set}" = set; then
7154 echo $ECHO_N "(cached) $ECHO_C" >&6
7156 cat >conftest.$ac_ext <<_ACEOF
7159 cat confdefs.h >>conftest.$ac_ext
7160 cat >>conftest.$ac_ext <<_ACEOF
7161 /* end confdefs.h. */
7162 #include <sys/types.h>
7168 if ((int_fast32_t *) 0)
7170 if (sizeof (int_fast32_t))
7176 rm -f conftest.$ac_objext
7177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7178 (eval $ac_compile) 2>conftest.er1
7180 grep -v '^ *+' conftest.er1 >conftest.err
7182 cat conftest.err >&5
7183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7184 (exit $ac_status); } &&
7185 { ac_try='test -z "$ac_c_werror_flag"
7186 || test ! -s conftest.err'
7187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7191 (exit $ac_status); }; } &&
7192 { ac_try='test -s conftest.$ac_objext'
7193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7197 (exit $ac_status); }; }; then
7198 ac_cv_type_int_fast32_t=yes
7200 echo "$as_me: failed program was:" >&5
7201 sed 's/^/| /' conftest.$ac_ext >&5
7203 ac_cv_type_int_fast32_t=no
7205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7207 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
7208 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
7209 if test $ac_cv_type_int_fast32_t = yes; then
7212 acx_cv_header_stdint_kind="(mostly complete)"
7215 echo "$as_me:$LINENO: checking for uint64_t" >&5
7216 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
7217 if test "${ac_cv_type_uint64_t+set}" = set; then
7218 echo $ECHO_N "(cached) $ECHO_C" >&6
7220 cat >conftest.$ac_ext <<_ACEOF
7223 cat confdefs.h >>conftest.$ac_ext
7224 cat >>conftest.$ac_ext <<_ACEOF
7225 /* end confdefs.h. */
7226 #include <sys/types.h>
7234 if (sizeof (uint64_t))
7240 rm -f conftest.$ac_objext
7241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7242 (eval $ac_compile) 2>conftest.er1
7244 grep -v '^ *+' conftest.er1 >conftest.err
7246 cat conftest.err >&5
7247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7248 (exit $ac_status); } &&
7249 { ac_try='test -z "$ac_c_werror_flag"
7250 || test ! -s conftest.err'
7251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7255 (exit $ac_status); }; } &&
7256 { ac_try='test -s conftest.$ac_objext'
7257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7261 (exit $ac_status); }; }; then
7262 ac_cv_type_uint64_t=yes
7264 echo "$as_me: failed program was:" >&5
7265 sed 's/^/| /' conftest.$ac_ext >&5
7267 ac_cv_type_uint64_t=no
7269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7271 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
7272 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
7273 if test $ac_cv_type_uint64_t = yes; then
7276 acx_cv_header_stdint_kind="(lacks uint64_t)"
7281 if test "$acx_cv_header_stdint" = stddef.h; then
7282 acx_cv_header_stdint_kind="(lacks uintmax_t)"
7283 for i in stdint.h $inttype_headers; do
7284 unset ac_cv_type_uintptr_t
7285 unset ac_cv_type_uint32_t
7286 unset ac_cv_type_uint64_t
7287 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
7288 echo "$as_me:$LINENO: checking for uint32_t" >&5
7289 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
7290 if test "${ac_cv_type_uint32_t+set}" = set; then
7291 echo $ECHO_N "(cached) $ECHO_C" >&6
7293 cat >conftest.$ac_ext <<_ACEOF
7296 cat confdefs.h >>conftest.$ac_ext
7297 cat >>conftest.$ac_ext <<_ACEOF
7298 /* end confdefs.h. */
7299 #include <sys/types.h>
7307 if (sizeof (uint32_t))
7313 rm -f conftest.$ac_objext
7314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7315 (eval $ac_compile) 2>conftest.er1
7317 grep -v '^ *+' conftest.er1 >conftest.err
7319 cat conftest.err >&5
7320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7321 (exit $ac_status); } &&
7322 { ac_try='test -z "$ac_c_werror_flag"
7323 || test ! -s conftest.err'
7324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7328 (exit $ac_status); }; } &&
7329 { ac_try='test -s conftest.$ac_objext'
7330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7334 (exit $ac_status); }; }; then
7335 ac_cv_type_uint32_t=yes
7337 echo "$as_me: failed program was:" >&5
7338 sed 's/^/| /' conftest.$ac_ext >&5
7340 ac_cv_type_uint32_t=no
7342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7344 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
7345 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
7346 if test $ac_cv_type_uint32_t = yes; then
7347 acx_cv_header_stdint=$i
7352 echo "$as_me:$LINENO: checking for uint64_t" >&5
7353 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
7354 if test "${ac_cv_type_uint64_t+set}" = set; then
7355 echo $ECHO_N "(cached) $ECHO_C" >&6
7357 cat >conftest.$ac_ext <<_ACEOF
7360 cat confdefs.h >>conftest.$ac_ext
7361 cat >>conftest.$ac_ext <<_ACEOF
7362 /* end confdefs.h. */
7363 #include <sys/types.h>
7371 if (sizeof (uint64_t))
7377 rm -f conftest.$ac_objext
7378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7379 (eval $ac_compile) 2>conftest.er1
7381 grep -v '^ *+' conftest.er1 >conftest.err
7383 cat conftest.err >&5
7384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7385 (exit $ac_status); } &&
7386 { ac_try='test -z "$ac_c_werror_flag"
7387 || test ! -s conftest.err'
7388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7392 (exit $ac_status); }; } &&
7393 { ac_try='test -s conftest.$ac_objext'
7394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7398 (exit $ac_status); }; }; then
7399 ac_cv_type_uint64_t=yes
7401 echo "$as_me: failed program was:" >&5
7402 sed 's/^/| /' conftest.$ac_ext >&5
7404 ac_cv_type_uint64_t=no
7406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7408 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
7409 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
7411 echo "$as_me:$LINENO: checking for uintptr_t" >&5
7412 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
7413 if test "${ac_cv_type_uintptr_t+set}" = set; then
7414 echo $ECHO_N "(cached) $ECHO_C" >&6
7416 cat >conftest.$ac_ext <<_ACEOF
7419 cat confdefs.h >>conftest.$ac_ext
7420 cat >>conftest.$ac_ext <<_ACEOF
7421 /* end confdefs.h. */
7422 #include <sys/types.h>
7428 if ((uintptr_t *) 0)
7430 if (sizeof (uintptr_t))
7436 rm -f conftest.$ac_objext
7437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7438 (eval $ac_compile) 2>conftest.er1
7440 grep -v '^ *+' conftest.er1 >conftest.err
7442 cat conftest.err >&5
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); } &&
7445 { ac_try='test -z "$ac_c_werror_flag"
7446 || test ! -s conftest.err'
7447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7451 (exit $ac_status); }; } &&
7452 { ac_try='test -s conftest.$ac_objext'
7453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7457 (exit $ac_status); }; }; then
7458 ac_cv_type_uintptr_t=yes
7460 echo "$as_me: failed program was:" >&5
7461 sed 's/^/| /' conftest.$ac_ext >&5
7463 ac_cv_type_uintptr_t=no
7465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7467 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
7468 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
7473 if test "$acx_cv_header_stdint" = stddef.h; then
7474 acx_cv_header_stdint_kind="(u_intXX_t style)"
7475 for i in sys/types.h $inttype_headers; do
7476 unset ac_cv_type_u_int32_t
7477 unset ac_cv_type_u_int64_t
7478 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
7479 echo "$as_me:$LINENO: checking for u_int32_t" >&5
7480 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
7481 if test "${ac_cv_type_u_int32_t+set}" = set; then
7482 echo $ECHO_N "(cached) $ECHO_C" >&6
7484 cat >conftest.$ac_ext <<_ACEOF
7487 cat confdefs.h >>conftest.$ac_ext
7488 cat >>conftest.$ac_ext <<_ACEOF
7489 /* end confdefs.h. */
7490 #include <sys/types.h>
7496 if ((u_int32_t *) 0)
7498 if (sizeof (u_int32_t))
7504 rm -f conftest.$ac_objext
7505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7506 (eval $ac_compile) 2>conftest.er1
7508 grep -v '^ *+' conftest.er1 >conftest.err
7510 cat conftest.err >&5
7511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7512 (exit $ac_status); } &&
7513 { ac_try='test -z "$ac_c_werror_flag"
7514 || test ! -s conftest.err'
7515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7519 (exit $ac_status); }; } &&
7520 { ac_try='test -s conftest.$ac_objext'
7521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7525 (exit $ac_status); }; }; then
7526 ac_cv_type_u_int32_t=yes
7528 echo "$as_me: failed program was:" >&5
7529 sed 's/^/| /' conftest.$ac_ext >&5
7531 ac_cv_type_u_int32_t=no
7533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7535 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
7536 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
7537 if test $ac_cv_type_u_int32_t = yes; then
7538 acx_cv_header_stdint=$i
7543 echo "$as_me:$LINENO: checking for u_int64_t" >&5
7544 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
7545 if test "${ac_cv_type_u_int64_t+set}" = set; then
7546 echo $ECHO_N "(cached) $ECHO_C" >&6
7548 cat >conftest.$ac_ext <<_ACEOF
7551 cat confdefs.h >>conftest.$ac_ext
7552 cat >>conftest.$ac_ext <<_ACEOF
7553 /* end confdefs.h. */
7554 #include <sys/types.h>
7560 if ((u_int64_t *) 0)
7562 if (sizeof (u_int64_t))
7568 rm -f conftest.$ac_objext
7569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7570 (eval $ac_compile) 2>conftest.er1
7572 grep -v '^ *+' conftest.er1 >conftest.err
7574 cat conftest.err >&5
7575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7576 (exit $ac_status); } &&
7577 { ac_try='test -z "$ac_c_werror_flag"
7578 || test ! -s conftest.err'
7579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7583 (exit $ac_status); }; } &&
7584 { ac_try='test -s conftest.$ac_objext'
7585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7589 (exit $ac_status); }; }; then
7590 ac_cv_type_u_int64_t=yes
7592 echo "$as_me: failed program was:" >&5
7593 sed 's/^/| /' conftest.$ac_ext >&5
7595 ac_cv_type_u_int64_t=no
7597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7599 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
7600 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
7605 if test "$acx_cv_header_stdint" = stddef.h; then
7606 acx_cv_header_stdint_kind="(using manual detection)"
7609 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
7610 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
7611 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
7612 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
7613 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
7615 # ----------------- Summarize what we found so far
7617 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
7618 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
7620 case `$as_basename gstdint.h ||
7621 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
7622 Xgstdint.h : 'X\(//\)$' \| \
7623 Xgstdint.h : 'X\(/\)$' \| \
7624 . : '\(.\)' 2>/dev/null ||
7626 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7627 /^X\/\(\/\/\)$/{ s//\1/; q; }
7628 /^X\/\(\/\).*/{ s//\1/; q; }
7630 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
7631 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
7632 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
7633 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
7637 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
7638 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
7640 # ----------------- done included file, check C basic types --------
7642 # Lacking an uintptr_t? Test size of void *
7643 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
7644 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
7645 echo $ECHO_N "checking for void *... $ECHO_C" >&6
7646 if test "${ac_cv_type_void_p+set}" = set; then
7647 echo $ECHO_N "(cached) $ECHO_C" >&6
7649 cat >conftest.$ac_ext <<_ACEOF
7652 cat confdefs.h >>conftest.$ac_ext
7653 cat >>conftest.$ac_ext <<_ACEOF
7654 /* end confdefs.h. */
7655 $ac_includes_default
7661 if (sizeof (void *))
7667 rm -f conftest.$ac_objext
7668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7669 (eval $ac_compile) 2>conftest.er1
7671 grep -v '^ *+' conftest.er1 >conftest.err
7673 cat conftest.err >&5
7674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7675 (exit $ac_status); } &&
7676 { ac_try='test -z "$ac_c_werror_flag"
7677 || test ! -s conftest.err'
7678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7682 (exit $ac_status); }; } &&
7683 { ac_try='test -s conftest.$ac_objext'
7684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7688 (exit $ac_status); }; }; then
7689 ac_cv_type_void_p=yes
7691 echo "$as_me: failed program was:" >&5
7692 sed 's/^/| /' conftest.$ac_ext >&5
7694 ac_cv_type_void_p=no
7696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7698 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
7699 echo "${ECHO_T}$ac_cv_type_void_p" >&6
7701 echo "$as_me:$LINENO: checking size of void *" >&5
7702 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
7703 if test "${ac_cv_sizeof_void_p+set}" = set; then
7704 echo $ECHO_N "(cached) $ECHO_C" >&6
7706 if test "$ac_cv_type_void_p" = yes; then
7707 # The cast to unsigned long works around a bug in the HP C Compiler
7708 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7709 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7710 # This bug is HP SR number 8606223364.
7711 if test "$cross_compiling" = yes; then
7712 # Depending upon the size, compute the lo and hi bounds.
7713 cat >conftest.$ac_ext <<_ACEOF
7716 cat confdefs.h >>conftest.$ac_ext
7717 cat >>conftest.$ac_ext <<_ACEOF
7718 /* end confdefs.h. */
7719 $ac_includes_default
7723 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
7730 rm -f conftest.$ac_objext
7731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7732 (eval $ac_compile) 2>conftest.er1
7734 grep -v '^ *+' conftest.er1 >conftest.err
7736 cat conftest.err >&5
7737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7738 (exit $ac_status); } &&
7739 { ac_try='test -z "$ac_c_werror_flag"
7740 || test ! -s conftest.err'
7741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7745 (exit $ac_status); }; } &&
7746 { ac_try='test -s conftest.$ac_objext'
7747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7751 (exit $ac_status); }; }; then
7754 cat >conftest.$ac_ext <<_ACEOF
7757 cat confdefs.h >>conftest.$ac_ext
7758 cat >>conftest.$ac_ext <<_ACEOF
7759 /* end confdefs.h. */
7760 $ac_includes_default
7764 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
7771 rm -f conftest.$ac_objext
7772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7773 (eval $ac_compile) 2>conftest.er1
7775 grep -v '^ *+' conftest.er1 >conftest.err
7777 cat conftest.err >&5
7778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7779 (exit $ac_status); } &&
7780 { ac_try='test -z "$ac_c_werror_flag"
7781 || test ! -s conftest.err'
7782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7786 (exit $ac_status); }; } &&
7787 { ac_try='test -s conftest.$ac_objext'
7788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7792 (exit $ac_status); }; }; then
7793 ac_hi=$ac_mid; break
7795 echo "$as_me: failed program was:" >&5
7796 sed 's/^/| /' conftest.$ac_ext >&5
7798 ac_lo=`expr $ac_mid + 1`
7799 if test $ac_lo -le $ac_mid; then
7803 ac_mid=`expr 2 '*' $ac_mid + 1`
7805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7808 echo "$as_me: failed program was:" >&5
7809 sed 's/^/| /' conftest.$ac_ext >&5
7811 cat >conftest.$ac_ext <<_ACEOF
7814 cat confdefs.h >>conftest.$ac_ext
7815 cat >>conftest.$ac_ext <<_ACEOF
7816 /* end confdefs.h. */
7817 $ac_includes_default
7821 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
7828 rm -f conftest.$ac_objext
7829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7830 (eval $ac_compile) 2>conftest.er1
7832 grep -v '^ *+' conftest.er1 >conftest.err
7834 cat conftest.err >&5
7835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7836 (exit $ac_status); } &&
7837 { ac_try='test -z "$ac_c_werror_flag"
7838 || test ! -s conftest.err'
7839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7843 (exit $ac_status); }; } &&
7844 { ac_try='test -s conftest.$ac_objext'
7845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7849 (exit $ac_status); }; }; then
7852 cat >conftest.$ac_ext <<_ACEOF
7855 cat confdefs.h >>conftest.$ac_ext
7856 cat >>conftest.$ac_ext <<_ACEOF
7857 /* end confdefs.h. */
7858 $ac_includes_default
7862 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
7869 rm -f conftest.$ac_objext
7870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7871 (eval $ac_compile) 2>conftest.er1
7873 grep -v '^ *+' conftest.er1 >conftest.err
7875 cat conftest.err >&5
7876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7877 (exit $ac_status); } &&
7878 { ac_try='test -z "$ac_c_werror_flag"
7879 || test ! -s conftest.err'
7880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7884 (exit $ac_status); }; } &&
7885 { ac_try='test -s conftest.$ac_objext'
7886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7890 (exit $ac_status); }; }; then
7891 ac_lo=$ac_mid; break
7893 echo "$as_me: failed program was:" >&5
7894 sed 's/^/| /' conftest.$ac_ext >&5
7896 ac_hi=`expr '(' $ac_mid ')' - 1`
7897 if test $ac_mid -le $ac_hi; then
7901 ac_mid=`expr 2 '*' $ac_mid`
7903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7906 echo "$as_me: failed program was:" >&5
7907 sed 's/^/| /' conftest.$ac_ext >&5
7911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7914 # Binary search between lo and hi bounds.
7915 while test "x$ac_lo" != "x$ac_hi"; do
7916 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7917 cat >conftest.$ac_ext <<_ACEOF
7920 cat confdefs.h >>conftest.$ac_ext
7921 cat >>conftest.$ac_ext <<_ACEOF
7922 /* end confdefs.h. */
7923 $ac_includes_default
7927 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
7934 rm -f conftest.$ac_objext
7935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7936 (eval $ac_compile) 2>conftest.er1
7938 grep -v '^ *+' conftest.er1 >conftest.err
7940 cat conftest.err >&5
7941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7942 (exit $ac_status); } &&
7943 { ac_try='test -z "$ac_c_werror_flag"
7944 || test ! -s conftest.err'
7945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7949 (exit $ac_status); }; } &&
7950 { ac_try='test -s conftest.$ac_objext'
7951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7955 (exit $ac_status); }; }; then
7958 echo "$as_me: failed program was:" >&5
7959 sed 's/^/| /' conftest.$ac_ext >&5
7961 ac_lo=`expr '(' $ac_mid ')' + 1`
7963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7966 ?*) ac_cv_sizeof_void_p=$ac_lo;;
7967 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
7968 See \`config.log' for more details." >&5
7969 echo "$as_me: error: cannot compute sizeof (void *), 77
7970 See \`config.log' for more details." >&2;}
7971 { (exit 1); exit 1; }; } ;;
7974 if test "$cross_compiling" = yes; then
7975 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7976 See \`config.log' for more details." >&5
7977 echo "$as_me: error: cannot run test program while cross compiling
7978 See \`config.log' for more details." >&2;}
7979 { (exit 1); exit 1; }; }
7981 cat >conftest.$ac_ext <<_ACEOF
7984 cat confdefs.h >>conftest.$ac_ext
7985 cat >>conftest.$ac_ext <<_ACEOF
7986 /* end confdefs.h. */
7987 $ac_includes_default
7988 long longval () { return (long) (sizeof (void *)); }
7989 unsigned long ulongval () { return (long) (sizeof (void *)); }
7996 FILE *f = fopen ("conftest.val", "w");
7999 if (((long) (sizeof (void *))) < 0)
8001 long i = longval ();
8002 if (i != ((long) (sizeof (void *))))
8004 fprintf (f, "%ld\n", i);
8008 unsigned long i = ulongval ();
8009 if (i != ((long) (sizeof (void *))))
8011 fprintf (f, "%lu\n", i);
8013 exit (ferror (f) || fclose (f) != 0);
8019 rm -f conftest$ac_exeext
8020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8021 (eval $ac_link) 2>&5
8023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8024 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8029 (exit $ac_status); }; }; then
8030 ac_cv_sizeof_void_p=`cat conftest.val`
8032 echo "$as_me: program exited with status $ac_status" >&5
8033 echo "$as_me: failed program was:" >&5
8034 sed 's/^/| /' conftest.$ac_ext >&5
8037 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
8038 See \`config.log' for more details." >&5
8039 echo "$as_me: error: cannot compute sizeof (void *), 77
8040 See \`config.log' for more details." >&2;}
8041 { (exit 1); exit 1; }; }
8043 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8048 ac_cv_sizeof_void_p=0
8051 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
8052 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
8053 cat >>confdefs.h <<_ACEOF
8054 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
8060 # Lacking an uint64_t? Test size of long
8061 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
8062 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
8063 echo $ECHO_N "checking for long... $ECHO_C" >&6
8064 if test "${ac_cv_type_long+set}" = set; then
8065 echo $ECHO_N "(cached) $ECHO_C" >&6
8067 cat >conftest.$ac_ext <<_ACEOF
8070 cat confdefs.h >>conftest.$ac_ext
8071 cat >>conftest.$ac_ext <<_ACEOF
8072 /* end confdefs.h. */
8073 $ac_includes_default
8085 rm -f conftest.$ac_objext
8086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8087 (eval $ac_compile) 2>conftest.er1
8089 grep -v '^ *+' conftest.er1 >conftest.err
8091 cat conftest.err >&5
8092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8093 (exit $ac_status); } &&
8094 { ac_try='test -z "$ac_c_werror_flag"
8095 || test ! -s conftest.err'
8096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8100 (exit $ac_status); }; } &&
8101 { ac_try='test -s conftest.$ac_objext'
8102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8106 (exit $ac_status); }; }; then
8109 echo "$as_me: failed program was:" >&5
8110 sed 's/^/| /' conftest.$ac_ext >&5
8114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8116 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
8117 echo "${ECHO_T}$ac_cv_type_long" >&6
8119 echo "$as_me:$LINENO: checking size of long" >&5
8120 echo $ECHO_N "checking size of long... $ECHO_C" >&6
8121 if test "${ac_cv_sizeof_long+set}" = set; then
8122 echo $ECHO_N "(cached) $ECHO_C" >&6
8124 if test "$ac_cv_type_long" = yes; then
8125 # The cast to unsigned long works around a bug in the HP C Compiler
8126 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8127 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8128 # This bug is HP SR number 8606223364.
8129 if test "$cross_compiling" = yes; then
8130 # Depending upon the size, compute the lo and hi bounds.
8131 cat >conftest.$ac_ext <<_ACEOF
8134 cat confdefs.h >>conftest.$ac_ext
8135 cat >>conftest.$ac_ext <<_ACEOF
8136 /* end confdefs.h. */
8137 $ac_includes_default
8141 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
8148 rm -f conftest.$ac_objext
8149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8150 (eval $ac_compile) 2>conftest.er1
8152 grep -v '^ *+' conftest.er1 >conftest.err
8154 cat conftest.err >&5
8155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8156 (exit $ac_status); } &&
8157 { ac_try='test -z "$ac_c_werror_flag"
8158 || test ! -s conftest.err'
8159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8163 (exit $ac_status); }; } &&
8164 { ac_try='test -s conftest.$ac_objext'
8165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8169 (exit $ac_status); }; }; then
8172 cat >conftest.$ac_ext <<_ACEOF
8175 cat confdefs.h >>conftest.$ac_ext
8176 cat >>conftest.$ac_ext <<_ACEOF
8177 /* end confdefs.h. */
8178 $ac_includes_default
8182 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
8189 rm -f conftest.$ac_objext
8190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8191 (eval $ac_compile) 2>conftest.er1
8193 grep -v '^ *+' conftest.er1 >conftest.err
8195 cat conftest.err >&5
8196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8197 (exit $ac_status); } &&
8198 { ac_try='test -z "$ac_c_werror_flag"
8199 || test ! -s conftest.err'
8200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8204 (exit $ac_status); }; } &&
8205 { ac_try='test -s conftest.$ac_objext'
8206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8210 (exit $ac_status); }; }; then
8211 ac_hi=$ac_mid; break
8213 echo "$as_me: failed program was:" >&5
8214 sed 's/^/| /' conftest.$ac_ext >&5
8216 ac_lo=`expr $ac_mid + 1`
8217 if test $ac_lo -le $ac_mid; then
8221 ac_mid=`expr 2 '*' $ac_mid + 1`
8223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8226 echo "$as_me: failed program was:" >&5
8227 sed 's/^/| /' conftest.$ac_ext >&5
8229 cat >conftest.$ac_ext <<_ACEOF
8232 cat confdefs.h >>conftest.$ac_ext
8233 cat >>conftest.$ac_ext <<_ACEOF
8234 /* end confdefs.h. */
8235 $ac_includes_default
8239 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
8246 rm -f conftest.$ac_objext
8247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8248 (eval $ac_compile) 2>conftest.er1
8250 grep -v '^ *+' conftest.er1 >conftest.err
8252 cat conftest.err >&5
8253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254 (exit $ac_status); } &&
8255 { ac_try='test -z "$ac_c_werror_flag"
8256 || test ! -s conftest.err'
8257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8261 (exit $ac_status); }; } &&
8262 { ac_try='test -s conftest.$ac_objext'
8263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8267 (exit $ac_status); }; }; then
8270 cat >conftest.$ac_ext <<_ACEOF
8273 cat confdefs.h >>conftest.$ac_ext
8274 cat >>conftest.$ac_ext <<_ACEOF
8275 /* end confdefs.h. */
8276 $ac_includes_default
8280 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
8287 rm -f conftest.$ac_objext
8288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8289 (eval $ac_compile) 2>conftest.er1
8291 grep -v '^ *+' conftest.er1 >conftest.err
8293 cat conftest.err >&5
8294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8295 (exit $ac_status); } &&
8296 { ac_try='test -z "$ac_c_werror_flag"
8297 || test ! -s conftest.err'
8298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8302 (exit $ac_status); }; } &&
8303 { ac_try='test -s conftest.$ac_objext'
8304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8308 (exit $ac_status); }; }; then
8309 ac_lo=$ac_mid; break
8311 echo "$as_me: failed program was:" >&5
8312 sed 's/^/| /' conftest.$ac_ext >&5
8314 ac_hi=`expr '(' $ac_mid ')' - 1`
8315 if test $ac_mid -le $ac_hi; then
8319 ac_mid=`expr 2 '*' $ac_mid`
8321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8324 echo "$as_me: failed program was:" >&5
8325 sed 's/^/| /' conftest.$ac_ext >&5
8329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8332 # Binary search between lo and hi bounds.
8333 while test "x$ac_lo" != "x$ac_hi"; do
8334 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8335 cat >conftest.$ac_ext <<_ACEOF
8338 cat confdefs.h >>conftest.$ac_ext
8339 cat >>conftest.$ac_ext <<_ACEOF
8340 /* end confdefs.h. */
8341 $ac_includes_default
8345 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
8352 rm -f conftest.$ac_objext
8353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8354 (eval $ac_compile) 2>conftest.er1
8356 grep -v '^ *+' conftest.er1 >conftest.err
8358 cat conftest.err >&5
8359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8360 (exit $ac_status); } &&
8361 { ac_try='test -z "$ac_c_werror_flag"
8362 || test ! -s conftest.err'
8363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8367 (exit $ac_status); }; } &&
8368 { ac_try='test -s conftest.$ac_objext'
8369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8373 (exit $ac_status); }; }; then
8376 echo "$as_me: failed program was:" >&5
8377 sed 's/^/| /' conftest.$ac_ext >&5
8379 ac_lo=`expr '(' $ac_mid ')' + 1`
8381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8384 ?*) ac_cv_sizeof_long=$ac_lo;;
8385 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8386 See \`config.log' for more details." >&5
8387 echo "$as_me: error: cannot compute sizeof (long), 77
8388 See \`config.log' for more details." >&2;}
8389 { (exit 1); exit 1; }; } ;;
8392 if test "$cross_compiling" = yes; then
8393 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8394 See \`config.log' for more details." >&5
8395 echo "$as_me: error: cannot run test program while cross compiling
8396 See \`config.log' for more details." >&2;}
8397 { (exit 1); exit 1; }; }
8399 cat >conftest.$ac_ext <<_ACEOF
8402 cat confdefs.h >>conftest.$ac_ext
8403 cat >>conftest.$ac_ext <<_ACEOF
8404 /* end confdefs.h. */
8405 $ac_includes_default
8406 long longval () { return (long) (sizeof (long)); }
8407 unsigned long ulongval () { return (long) (sizeof (long)); }
8414 FILE *f = fopen ("conftest.val", "w");
8417 if (((long) (sizeof (long))) < 0)
8419 long i = longval ();
8420 if (i != ((long) (sizeof (long))))
8422 fprintf (f, "%ld\n", i);
8426 unsigned long i = ulongval ();
8427 if (i != ((long) (sizeof (long))))
8429 fprintf (f, "%lu\n", i);
8431 exit (ferror (f) || fclose (f) != 0);
8437 rm -f conftest$ac_exeext
8438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8439 (eval $ac_link) 2>&5
8441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8442 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8447 (exit $ac_status); }; }; then
8448 ac_cv_sizeof_long=`cat conftest.val`
8450 echo "$as_me: program exited with status $ac_status" >&5
8451 echo "$as_me: failed program was:" >&5
8452 sed 's/^/| /' conftest.$ac_ext >&5
8455 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8456 See \`config.log' for more details." >&5
8457 echo "$as_me: error: cannot compute sizeof (long), 77
8458 See \`config.log' for more details." >&2;}
8459 { (exit 1); exit 1; }; }
8461 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8469 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
8470 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
8471 cat >>confdefs.h <<_ACEOF
8472 #define SIZEOF_LONG $ac_cv_sizeof_long
8478 if test $acx_cv_header_stdint = stddef.h; then
8479 # Lacking a good header? Test size of everything and deduce all types.
8480 echo "$as_me:$LINENO: checking for int" >&5
8481 echo $ECHO_N "checking for int... $ECHO_C" >&6
8482 if test "${ac_cv_type_int+set}" = set; then
8483 echo $ECHO_N "(cached) $ECHO_C" >&6
8485 cat >conftest.$ac_ext <<_ACEOF
8488 cat confdefs.h >>conftest.$ac_ext
8489 cat >>conftest.$ac_ext <<_ACEOF
8490 /* end confdefs.h. */
8491 $ac_includes_default
8503 rm -f conftest.$ac_objext
8504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8505 (eval $ac_compile) 2>conftest.er1
8507 grep -v '^ *+' conftest.er1 >conftest.err
8509 cat conftest.err >&5
8510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8511 (exit $ac_status); } &&
8512 { ac_try='test -z "$ac_c_werror_flag"
8513 || test ! -s conftest.err'
8514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8518 (exit $ac_status); }; } &&
8519 { ac_try='test -s conftest.$ac_objext'
8520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524 (exit $ac_status); }; }; then
8527 echo "$as_me: failed program was:" >&5
8528 sed 's/^/| /' conftest.$ac_ext >&5
8532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8534 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
8535 echo "${ECHO_T}$ac_cv_type_int" >&6
8537 echo "$as_me:$LINENO: checking size of int" >&5
8538 echo $ECHO_N "checking size of int... $ECHO_C" >&6
8539 if test "${ac_cv_sizeof_int+set}" = set; then
8540 echo $ECHO_N "(cached) $ECHO_C" >&6
8542 if test "$ac_cv_type_int" = yes; then
8543 # The cast to unsigned long works around a bug in the HP C Compiler
8544 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8545 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8546 # This bug is HP SR number 8606223364.
8547 if test "$cross_compiling" = yes; then
8548 # Depending upon the size, compute the lo and hi bounds.
8549 cat >conftest.$ac_ext <<_ACEOF
8552 cat confdefs.h >>conftest.$ac_ext
8553 cat >>conftest.$ac_ext <<_ACEOF
8554 /* end confdefs.h. */
8555 $ac_includes_default
8559 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
8566 rm -f conftest.$ac_objext
8567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8568 (eval $ac_compile) 2>conftest.er1
8570 grep -v '^ *+' conftest.er1 >conftest.err
8572 cat conftest.err >&5
8573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8574 (exit $ac_status); } &&
8575 { ac_try='test -z "$ac_c_werror_flag"
8576 || test ! -s conftest.err'
8577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8581 (exit $ac_status); }; } &&
8582 { ac_try='test -s conftest.$ac_objext'
8583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8587 (exit $ac_status); }; }; then
8590 cat >conftest.$ac_ext <<_ACEOF
8593 cat confdefs.h >>conftest.$ac_ext
8594 cat >>conftest.$ac_ext <<_ACEOF
8595 /* end confdefs.h. */
8596 $ac_includes_default
8600 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
8607 rm -f conftest.$ac_objext
8608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8609 (eval $ac_compile) 2>conftest.er1
8611 grep -v '^ *+' conftest.er1 >conftest.err
8613 cat conftest.err >&5
8614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615 (exit $ac_status); } &&
8616 { ac_try='test -z "$ac_c_werror_flag"
8617 || test ! -s conftest.err'
8618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8622 (exit $ac_status); }; } &&
8623 { ac_try='test -s conftest.$ac_objext'
8624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628 (exit $ac_status); }; }; then
8629 ac_hi=$ac_mid; break
8631 echo "$as_me: failed program was:" >&5
8632 sed 's/^/| /' conftest.$ac_ext >&5
8634 ac_lo=`expr $ac_mid + 1`
8635 if test $ac_lo -le $ac_mid; then
8639 ac_mid=`expr 2 '*' $ac_mid + 1`
8641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8644 echo "$as_me: failed program was:" >&5
8645 sed 's/^/| /' conftest.$ac_ext >&5
8647 cat >conftest.$ac_ext <<_ACEOF
8650 cat confdefs.h >>conftest.$ac_ext
8651 cat >>conftest.$ac_ext <<_ACEOF
8652 /* end confdefs.h. */
8653 $ac_includes_default
8657 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
8664 rm -f conftest.$ac_objext
8665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8666 (eval $ac_compile) 2>conftest.er1
8668 grep -v '^ *+' conftest.er1 >conftest.err
8670 cat conftest.err >&5
8671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8672 (exit $ac_status); } &&
8673 { ac_try='test -z "$ac_c_werror_flag"
8674 || test ! -s conftest.err'
8675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679 (exit $ac_status); }; } &&
8680 { ac_try='test -s conftest.$ac_objext'
8681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8685 (exit $ac_status); }; }; then
8688 cat >conftest.$ac_ext <<_ACEOF
8691 cat confdefs.h >>conftest.$ac_ext
8692 cat >>conftest.$ac_ext <<_ACEOF
8693 /* end confdefs.h. */
8694 $ac_includes_default
8698 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
8705 rm -f conftest.$ac_objext
8706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8707 (eval $ac_compile) 2>conftest.er1
8709 grep -v '^ *+' conftest.er1 >conftest.err
8711 cat conftest.err >&5
8712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8713 (exit $ac_status); } &&
8714 { ac_try='test -z "$ac_c_werror_flag"
8715 || test ! -s conftest.err'
8716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720 (exit $ac_status); }; } &&
8721 { ac_try='test -s conftest.$ac_objext'
8722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); }; }; then
8727 ac_lo=$ac_mid; break
8729 echo "$as_me: failed program was:" >&5
8730 sed 's/^/| /' conftest.$ac_ext >&5
8732 ac_hi=`expr '(' $ac_mid ')' - 1`
8733 if test $ac_mid -le $ac_hi; then
8737 ac_mid=`expr 2 '*' $ac_mid`
8739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
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 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8750 # Binary search between lo and hi bounds.
8751 while test "x$ac_lo" != "x$ac_hi"; do
8752 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8753 cat >conftest.$ac_ext <<_ACEOF
8756 cat confdefs.h >>conftest.$ac_ext
8757 cat >>conftest.$ac_ext <<_ACEOF
8758 /* end confdefs.h. */
8759 $ac_includes_default
8763 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
8770 rm -f conftest.$ac_objext
8771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8772 (eval $ac_compile) 2>conftest.er1
8774 grep -v '^ *+' conftest.er1 >conftest.err
8776 cat conftest.err >&5
8777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8778 (exit $ac_status); } &&
8779 { ac_try='test -z "$ac_c_werror_flag"
8780 || test ! -s conftest.err'
8781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8785 (exit $ac_status); }; } &&
8786 { ac_try='test -s conftest.$ac_objext'
8787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8791 (exit $ac_status); }; }; then
8794 echo "$as_me: failed program was:" >&5
8795 sed 's/^/| /' conftest.$ac_ext >&5
8797 ac_lo=`expr '(' $ac_mid ')' + 1`
8799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8802 ?*) ac_cv_sizeof_int=$ac_lo;;
8803 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8804 See \`config.log' for more details." >&5
8805 echo "$as_me: error: cannot compute sizeof (int), 77
8806 See \`config.log' for more details." >&2;}
8807 { (exit 1); exit 1; }; } ;;
8810 if test "$cross_compiling" = yes; then
8811 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8812 See \`config.log' for more details." >&5
8813 echo "$as_me: error: cannot run test program while cross compiling
8814 See \`config.log' for more details." >&2;}
8815 { (exit 1); exit 1; }; }
8817 cat >conftest.$ac_ext <<_ACEOF
8820 cat confdefs.h >>conftest.$ac_ext
8821 cat >>conftest.$ac_ext <<_ACEOF
8822 /* end confdefs.h. */
8823 $ac_includes_default
8824 long longval () { return (long) (sizeof (int)); }
8825 unsigned long ulongval () { return (long) (sizeof (int)); }
8832 FILE *f = fopen ("conftest.val", "w");
8835 if (((long) (sizeof (int))) < 0)
8837 long i = longval ();
8838 if (i != ((long) (sizeof (int))))
8840 fprintf (f, "%ld\n", i);
8844 unsigned long i = ulongval ();
8845 if (i != ((long) (sizeof (int))))
8847 fprintf (f, "%lu\n", i);
8849 exit (ferror (f) || fclose (f) != 0);
8855 rm -f conftest$ac_exeext
8856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8857 (eval $ac_link) 2>&5
8859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8860 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8865 (exit $ac_status); }; }; then
8866 ac_cv_sizeof_int=`cat conftest.val`
8868 echo "$as_me: program exited with status $ac_status" >&5
8869 echo "$as_me: failed program was:" >&5
8870 sed 's/^/| /' conftest.$ac_ext >&5
8873 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8874 See \`config.log' for more details." >&5
8875 echo "$as_me: error: cannot compute sizeof (int), 77
8876 See \`config.log' for more details." >&2;}
8877 { (exit 1); exit 1; }; }
8879 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8887 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
8888 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
8889 cat >>confdefs.h <<_ACEOF
8890 #define SIZEOF_INT $ac_cv_sizeof_int
8894 echo "$as_me:$LINENO: checking for short" >&5
8895 echo $ECHO_N "checking for short... $ECHO_C" >&6
8896 if test "${ac_cv_type_short+set}" = set; then
8897 echo $ECHO_N "(cached) $ECHO_C" >&6
8899 cat >conftest.$ac_ext <<_ACEOF
8902 cat confdefs.h >>conftest.$ac_ext
8903 cat >>conftest.$ac_ext <<_ACEOF
8904 /* end confdefs.h. */
8905 $ac_includes_default
8917 rm -f conftest.$ac_objext
8918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8919 (eval $ac_compile) 2>conftest.er1
8921 grep -v '^ *+' conftest.er1 >conftest.err
8923 cat conftest.err >&5
8924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8925 (exit $ac_status); } &&
8926 { ac_try='test -z "$ac_c_werror_flag"
8927 || test ! -s conftest.err'
8928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932 (exit $ac_status); }; } &&
8933 { ac_try='test -s conftest.$ac_objext'
8934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8938 (exit $ac_status); }; }; then
8939 ac_cv_type_short=yes
8941 echo "$as_me: failed program was:" >&5
8942 sed 's/^/| /' conftest.$ac_ext >&5
8946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8948 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
8949 echo "${ECHO_T}$ac_cv_type_short" >&6
8951 echo "$as_me:$LINENO: checking size of short" >&5
8952 echo $ECHO_N "checking size of short... $ECHO_C" >&6
8953 if test "${ac_cv_sizeof_short+set}" = set; then
8954 echo $ECHO_N "(cached) $ECHO_C" >&6
8956 if test "$ac_cv_type_short" = yes; then
8957 # The cast to unsigned long works around a bug in the HP C Compiler
8958 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8959 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8960 # This bug is HP SR number 8606223364.
8961 if test "$cross_compiling" = yes; then
8962 # Depending upon the size, compute the lo and hi bounds.
8963 cat >conftest.$ac_ext <<_ACEOF
8966 cat confdefs.h >>conftest.$ac_ext
8967 cat >>conftest.$ac_ext <<_ACEOF
8968 /* end confdefs.h. */
8969 $ac_includes_default
8973 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
8980 rm -f conftest.$ac_objext
8981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8982 (eval $ac_compile) 2>conftest.er1
8984 grep -v '^ *+' conftest.er1 >conftest.err
8986 cat conftest.err >&5
8987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8988 (exit $ac_status); } &&
8989 { ac_try='test -z "$ac_c_werror_flag"
8990 || test ! -s conftest.err'
8991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8995 (exit $ac_status); }; } &&
8996 { ac_try='test -s conftest.$ac_objext'
8997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9001 (exit $ac_status); }; }; then
9004 cat >conftest.$ac_ext <<_ACEOF
9007 cat confdefs.h >>conftest.$ac_ext
9008 cat >>conftest.$ac_ext <<_ACEOF
9009 /* end confdefs.h. */
9010 $ac_includes_default
9014 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
9021 rm -f conftest.$ac_objext
9022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9023 (eval $ac_compile) 2>conftest.er1
9025 grep -v '^ *+' conftest.er1 >conftest.err
9027 cat conftest.err >&5
9028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9029 (exit $ac_status); } &&
9030 { ac_try='test -z "$ac_c_werror_flag"
9031 || test ! -s conftest.err'
9032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9036 (exit $ac_status); }; } &&
9037 { ac_try='test -s conftest.$ac_objext'
9038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9042 (exit $ac_status); }; }; then
9043 ac_hi=$ac_mid; break
9045 echo "$as_me: failed program was:" >&5
9046 sed 's/^/| /' conftest.$ac_ext >&5
9048 ac_lo=`expr $ac_mid + 1`
9049 if test $ac_lo -le $ac_mid; then
9053 ac_mid=`expr 2 '*' $ac_mid + 1`
9055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9058 echo "$as_me: failed program was:" >&5
9059 sed 's/^/| /' conftest.$ac_ext >&5
9061 cat >conftest.$ac_ext <<_ACEOF
9064 cat confdefs.h >>conftest.$ac_ext
9065 cat >>conftest.$ac_ext <<_ACEOF
9066 /* end confdefs.h. */
9067 $ac_includes_default
9071 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
9078 rm -f conftest.$ac_objext
9079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9080 (eval $ac_compile) 2>conftest.er1
9082 grep -v '^ *+' conftest.er1 >conftest.err
9084 cat conftest.err >&5
9085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9086 (exit $ac_status); } &&
9087 { ac_try='test -z "$ac_c_werror_flag"
9088 || test ! -s conftest.err'
9089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9093 (exit $ac_status); }; } &&
9094 { ac_try='test -s conftest.$ac_objext'
9095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9099 (exit $ac_status); }; }; then
9102 cat >conftest.$ac_ext <<_ACEOF
9105 cat confdefs.h >>conftest.$ac_ext
9106 cat >>conftest.$ac_ext <<_ACEOF
9107 /* end confdefs.h. */
9108 $ac_includes_default
9112 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
9119 rm -f conftest.$ac_objext
9120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9121 (eval $ac_compile) 2>conftest.er1
9123 grep -v '^ *+' conftest.er1 >conftest.err
9125 cat conftest.err >&5
9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127 (exit $ac_status); } &&
9128 { ac_try='test -z "$ac_c_werror_flag"
9129 || test ! -s conftest.err'
9130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9134 (exit $ac_status); }; } &&
9135 { ac_try='test -s conftest.$ac_objext'
9136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140 (exit $ac_status); }; }; then
9141 ac_lo=$ac_mid; break
9143 echo "$as_me: failed program was:" >&5
9144 sed 's/^/| /' conftest.$ac_ext >&5
9146 ac_hi=`expr '(' $ac_mid ')' - 1`
9147 if test $ac_mid -le $ac_hi; then
9151 ac_mid=`expr 2 '*' $ac_mid`
9153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
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 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9164 # Binary search between lo and hi bounds.
9165 while test "x$ac_lo" != "x$ac_hi"; do
9166 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9167 cat >conftest.$ac_ext <<_ACEOF
9170 cat confdefs.h >>conftest.$ac_ext
9171 cat >>conftest.$ac_ext <<_ACEOF
9172 /* end confdefs.h. */
9173 $ac_includes_default
9177 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
9184 rm -f conftest.$ac_objext
9185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9186 (eval $ac_compile) 2>conftest.er1
9188 grep -v '^ *+' conftest.er1 >conftest.err
9190 cat conftest.err >&5
9191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9192 (exit $ac_status); } &&
9193 { ac_try='test -z "$ac_c_werror_flag"
9194 || test ! -s conftest.err'
9195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9199 (exit $ac_status); }; } &&
9200 { ac_try='test -s conftest.$ac_objext'
9201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9205 (exit $ac_status); }; }; then
9208 echo "$as_me: failed program was:" >&5
9209 sed 's/^/| /' conftest.$ac_ext >&5
9211 ac_lo=`expr '(' $ac_mid ')' + 1`
9213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9216 ?*) ac_cv_sizeof_short=$ac_lo;;
9217 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
9218 See \`config.log' for more details." >&5
9219 echo "$as_me: error: cannot compute sizeof (short), 77
9220 See \`config.log' for more details." >&2;}
9221 { (exit 1); exit 1; }; } ;;
9224 if test "$cross_compiling" = yes; then
9225 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9226 See \`config.log' for more details." >&5
9227 echo "$as_me: error: cannot run test program while cross compiling
9228 See \`config.log' for more details." >&2;}
9229 { (exit 1); exit 1; }; }
9231 cat >conftest.$ac_ext <<_ACEOF
9234 cat confdefs.h >>conftest.$ac_ext
9235 cat >>conftest.$ac_ext <<_ACEOF
9236 /* end confdefs.h. */
9237 $ac_includes_default
9238 long longval () { return (long) (sizeof (short)); }
9239 unsigned long ulongval () { return (long) (sizeof (short)); }
9246 FILE *f = fopen ("conftest.val", "w");
9249 if (((long) (sizeof (short))) < 0)
9251 long i = longval ();
9252 if (i != ((long) (sizeof (short))))
9254 fprintf (f, "%ld\n", i);
9258 unsigned long i = ulongval ();
9259 if (i != ((long) (sizeof (short))))
9261 fprintf (f, "%lu\n", i);
9263 exit (ferror (f) || fclose (f) != 0);
9269 rm -f conftest$ac_exeext
9270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9271 (eval $ac_link) 2>&5
9273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9274 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9279 (exit $ac_status); }; }; then
9280 ac_cv_sizeof_short=`cat conftest.val`
9282 echo "$as_me: program exited with status $ac_status" >&5
9283 echo "$as_me: failed program was:" >&5
9284 sed 's/^/| /' conftest.$ac_ext >&5
9287 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
9288 See \`config.log' for more details." >&5
9289 echo "$as_me: error: cannot compute sizeof (short), 77
9290 See \`config.log' for more details." >&2;}
9291 { (exit 1); exit 1; }; }
9293 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9298 ac_cv_sizeof_short=0
9301 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
9302 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
9303 cat >>confdefs.h <<_ACEOF
9304 #define SIZEOF_SHORT $ac_cv_sizeof_short
9308 echo "$as_me:$LINENO: checking for char" >&5
9309 echo $ECHO_N "checking for char... $ECHO_C" >&6
9310 if test "${ac_cv_type_char+set}" = set; then
9311 echo $ECHO_N "(cached) $ECHO_C" >&6
9313 cat >conftest.$ac_ext <<_ACEOF
9316 cat confdefs.h >>conftest.$ac_ext
9317 cat >>conftest.$ac_ext <<_ACEOF
9318 /* end confdefs.h. */
9319 $ac_includes_default
9331 rm -f conftest.$ac_objext
9332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9333 (eval $ac_compile) 2>conftest.er1
9335 grep -v '^ *+' conftest.er1 >conftest.err
9337 cat conftest.err >&5
9338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9339 (exit $ac_status); } &&
9340 { ac_try='test -z "$ac_c_werror_flag"
9341 || test ! -s conftest.err'
9342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9346 (exit $ac_status); }; } &&
9347 { ac_try='test -s conftest.$ac_objext'
9348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9352 (exit $ac_status); }; }; then
9355 echo "$as_me: failed program was:" >&5
9356 sed 's/^/| /' conftest.$ac_ext >&5
9360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9362 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
9363 echo "${ECHO_T}$ac_cv_type_char" >&6
9365 echo "$as_me:$LINENO: checking size of char" >&5
9366 echo $ECHO_N "checking size of char... $ECHO_C" >&6
9367 if test "${ac_cv_sizeof_char+set}" = set; then
9368 echo $ECHO_N "(cached) $ECHO_C" >&6
9370 if test "$ac_cv_type_char" = yes; then
9371 # The cast to unsigned long works around a bug in the HP C Compiler
9372 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9373 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9374 # This bug is HP SR number 8606223364.
9375 if test "$cross_compiling" = yes; then
9376 # Depending upon the size, compute the lo and hi bounds.
9377 cat >conftest.$ac_ext <<_ACEOF
9380 cat confdefs.h >>conftest.$ac_ext
9381 cat >>conftest.$ac_ext <<_ACEOF
9382 /* end confdefs.h. */
9383 $ac_includes_default
9387 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
9394 rm -f conftest.$ac_objext
9395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9396 (eval $ac_compile) 2>conftest.er1
9398 grep -v '^ *+' conftest.er1 >conftest.err
9400 cat conftest.err >&5
9401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9402 (exit $ac_status); } &&
9403 { ac_try='test -z "$ac_c_werror_flag"
9404 || test ! -s conftest.err'
9405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9409 (exit $ac_status); }; } &&
9410 { ac_try='test -s conftest.$ac_objext'
9411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9415 (exit $ac_status); }; }; then
9418 cat >conftest.$ac_ext <<_ACEOF
9421 cat confdefs.h >>conftest.$ac_ext
9422 cat >>conftest.$ac_ext <<_ACEOF
9423 /* end confdefs.h. */
9424 $ac_includes_default
9428 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
9435 rm -f conftest.$ac_objext
9436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9437 (eval $ac_compile) 2>conftest.er1
9439 grep -v '^ *+' conftest.er1 >conftest.err
9441 cat conftest.err >&5
9442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9443 (exit $ac_status); } &&
9444 { ac_try='test -z "$ac_c_werror_flag"
9445 || test ! -s conftest.err'
9446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9450 (exit $ac_status); }; } &&
9451 { ac_try='test -s conftest.$ac_objext'
9452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9456 (exit $ac_status); }; }; then
9457 ac_hi=$ac_mid; break
9459 echo "$as_me: failed program was:" >&5
9460 sed 's/^/| /' conftest.$ac_ext >&5
9462 ac_lo=`expr $ac_mid + 1`
9463 if test $ac_lo -le $ac_mid; then
9467 ac_mid=`expr 2 '*' $ac_mid + 1`
9469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9472 echo "$as_me: failed program was:" >&5
9473 sed 's/^/| /' conftest.$ac_ext >&5
9475 cat >conftest.$ac_ext <<_ACEOF
9478 cat confdefs.h >>conftest.$ac_ext
9479 cat >>conftest.$ac_ext <<_ACEOF
9480 /* end confdefs.h. */
9481 $ac_includes_default
9485 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
9492 rm -f conftest.$ac_objext
9493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9494 (eval $ac_compile) 2>conftest.er1
9496 grep -v '^ *+' conftest.er1 >conftest.err
9498 cat conftest.err >&5
9499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9500 (exit $ac_status); } &&
9501 { ac_try='test -z "$ac_c_werror_flag"
9502 || test ! -s conftest.err'
9503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9507 (exit $ac_status); }; } &&
9508 { ac_try='test -s conftest.$ac_objext'
9509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9513 (exit $ac_status); }; }; then
9516 cat >conftest.$ac_ext <<_ACEOF
9519 cat confdefs.h >>conftest.$ac_ext
9520 cat >>conftest.$ac_ext <<_ACEOF
9521 /* end confdefs.h. */
9522 $ac_includes_default
9526 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
9533 rm -f conftest.$ac_objext
9534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9535 (eval $ac_compile) 2>conftest.er1
9537 grep -v '^ *+' conftest.er1 >conftest.err
9539 cat conftest.err >&5
9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); } &&
9542 { ac_try='test -z "$ac_c_werror_flag"
9543 || test ! -s conftest.err'
9544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9548 (exit $ac_status); }; } &&
9549 { ac_try='test -s conftest.$ac_objext'
9550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9554 (exit $ac_status); }; }; then
9555 ac_lo=$ac_mid; break
9557 echo "$as_me: failed program was:" >&5
9558 sed 's/^/| /' conftest.$ac_ext >&5
9560 ac_hi=`expr '(' $ac_mid ')' - 1`
9561 if test $ac_mid -le $ac_hi; then
9565 ac_mid=`expr 2 '*' $ac_mid`
9567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9570 echo "$as_me: failed program was:" >&5
9571 sed 's/^/| /' conftest.$ac_ext >&5
9575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9578 # Binary search between lo and hi bounds.
9579 while test "x$ac_lo" != "x$ac_hi"; do
9580 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9581 cat >conftest.$ac_ext <<_ACEOF
9584 cat confdefs.h >>conftest.$ac_ext
9585 cat >>conftest.$ac_ext <<_ACEOF
9586 /* end confdefs.h. */
9587 $ac_includes_default
9591 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
9598 rm -f conftest.$ac_objext
9599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9600 (eval $ac_compile) 2>conftest.er1
9602 grep -v '^ *+' conftest.er1 >conftest.err
9604 cat conftest.err >&5
9605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9606 (exit $ac_status); } &&
9607 { ac_try='test -z "$ac_c_werror_flag"
9608 || test ! -s conftest.err'
9609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9613 (exit $ac_status); }; } &&
9614 { ac_try='test -s conftest.$ac_objext'
9615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9619 (exit $ac_status); }; }; then
9622 echo "$as_me: failed program was:" >&5
9623 sed 's/^/| /' conftest.$ac_ext >&5
9625 ac_lo=`expr '(' $ac_mid ')' + 1`
9627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9630 ?*) ac_cv_sizeof_char=$ac_lo;;
9631 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
9632 See \`config.log' for more details." >&5
9633 echo "$as_me: error: cannot compute sizeof (char), 77
9634 See \`config.log' for more details." >&2;}
9635 { (exit 1); exit 1; }; } ;;
9638 if test "$cross_compiling" = yes; then
9639 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9640 See \`config.log' for more details." >&5
9641 echo "$as_me: error: cannot run test program while cross compiling
9642 See \`config.log' for more details." >&2;}
9643 { (exit 1); exit 1; }; }
9645 cat >conftest.$ac_ext <<_ACEOF
9648 cat confdefs.h >>conftest.$ac_ext
9649 cat >>conftest.$ac_ext <<_ACEOF
9650 /* end confdefs.h. */
9651 $ac_includes_default
9652 long longval () { return (long) (sizeof (char)); }
9653 unsigned long ulongval () { return (long) (sizeof (char)); }
9660 FILE *f = fopen ("conftest.val", "w");
9663 if (((long) (sizeof (char))) < 0)
9665 long i = longval ();
9666 if (i != ((long) (sizeof (char))))
9668 fprintf (f, "%ld\n", i);
9672 unsigned long i = ulongval ();
9673 if (i != ((long) (sizeof (char))))
9675 fprintf (f, "%lu\n", i);
9677 exit (ferror (f) || fclose (f) != 0);
9683 rm -f conftest$ac_exeext
9684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9685 (eval $ac_link) 2>&5
9687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9688 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9693 (exit $ac_status); }; }; then
9694 ac_cv_sizeof_char=`cat conftest.val`
9696 echo "$as_me: program exited with status $ac_status" >&5
9697 echo "$as_me: failed program was:" >&5
9698 sed 's/^/| /' conftest.$ac_ext >&5
9701 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
9702 See \`config.log' for more details." >&5
9703 echo "$as_me: error: cannot compute sizeof (char), 77
9704 See \`config.log' for more details." >&2;}
9705 { (exit 1); exit 1; }; }
9707 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9715 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
9716 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
9717 cat >>confdefs.h <<_ACEOF
9718 #define SIZEOF_CHAR $ac_cv_sizeof_char
9723 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
9724 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
9725 case "$ac_cv_sizeof_char" in
9726 1) acx_cv_type_int8_t=char ;;
9727 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
9728 echo "$as_me: error: no 8-bit type" >&2;}
9729 { (exit please report a bug); exit please report a bug; }; }
9731 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
9732 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
9734 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
9735 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
9736 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
9737 2:*) acx_cv_type_int16_t=int ;;
9738 *:2) acx_cv_type_int16_t=short ;;
9739 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
9740 echo "$as_me: error: no 16-bit type" >&2;}
9741 { (exit please report a bug); exit please report a bug; }; }
9743 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
9744 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
9746 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
9747 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
9748 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
9749 4:*) acx_cv_type_int32_t=int ;;
9750 *:4) acx_cv_type_int32_t=long ;;
9751 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
9752 echo "$as_me: error: no 32-bit type" >&2;}
9753 { (exit please report a bug); exit please report a bug; }; }
9755 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
9756 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
9759 # These tests are here to make the output prettier
9761 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
9762 case "$ac_cv_sizeof_long" in
9763 8) acx_cv_type_int64_t=long ;;
9765 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
9766 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
9767 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
9768 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
9771 # Now we can use the above types
9773 if test "$ac_cv_type_uintptr_t" != yes; then
9774 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
9775 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
9776 case $ac_cv_sizeof_void_p in
9777 2) acx_cv_type_intptr_t=int16_t ;;
9778 4) acx_cv_type_intptr_t=int32_t ;;
9779 8) acx_cv_type_intptr_t=int64_t ;;
9780 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
9781 echo "$as_me: error: no equivalent for intptr_t" >&2;}
9782 { (exit please report a bug); exit please report a bug; }; }
9784 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
9785 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
9788 # ----------------- done all checks, emit header -------------
9789 ac_config_commands="$ac_config_commands gstdint.h"
9794 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
9795 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
9796 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
9797 echo $ECHO_N "(cached) $ECHO_C" >&6
9799 cat >conftest.$ac_ext <<_ACEOF
9802 cat confdefs.h >>conftest.$ac_ext
9803 cat >>conftest.$ac_ext <<_ACEOF
9804 /* end confdefs.h. */
9805 $ac_includes_default
9809 static struct stat ac_aggr;
9810 if (ac_aggr.st_blksize)
9816 rm -f conftest.$ac_objext
9817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9818 (eval $ac_compile) 2>conftest.er1
9820 grep -v '^ *+' conftest.er1 >conftest.err
9822 cat conftest.err >&5
9823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9824 (exit $ac_status); } &&
9825 { ac_try='test -z "$ac_c_werror_flag"
9826 || test ! -s conftest.err'
9827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9831 (exit $ac_status); }; } &&
9832 { ac_try='test -s conftest.$ac_objext'
9833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9837 (exit $ac_status); }; }; then
9838 ac_cv_member_struct_stat_st_blksize=yes
9840 echo "$as_me: failed program was:" >&5
9841 sed 's/^/| /' conftest.$ac_ext >&5
9843 cat >conftest.$ac_ext <<_ACEOF
9846 cat confdefs.h >>conftest.$ac_ext
9847 cat >>conftest.$ac_ext <<_ACEOF
9848 /* end confdefs.h. */
9849 $ac_includes_default
9853 static struct stat ac_aggr;
9854 if (sizeof ac_aggr.st_blksize)
9860 rm -f conftest.$ac_objext
9861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9862 (eval $ac_compile) 2>conftest.er1
9864 grep -v '^ *+' conftest.er1 >conftest.err
9866 cat conftest.err >&5
9867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9868 (exit $ac_status); } &&
9869 { ac_try='test -z "$ac_c_werror_flag"
9870 || test ! -s conftest.err'
9871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9875 (exit $ac_status); }; } &&
9876 { ac_try='test -s conftest.$ac_objext'
9877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9881 (exit $ac_status); }; }; then
9882 ac_cv_member_struct_stat_st_blksize=yes
9884 echo "$as_me: failed program was:" >&5
9885 sed 's/^/| /' conftest.$ac_ext >&5
9887 ac_cv_member_struct_stat_st_blksize=no
9889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9893 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
9894 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
9895 if test $ac_cv_member_struct_stat_st_blksize = yes; then
9897 cat >>confdefs.h <<_ACEOF
9898 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
9904 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
9905 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
9906 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
9907 echo $ECHO_N "(cached) $ECHO_C" >&6
9909 cat >conftest.$ac_ext <<_ACEOF
9912 cat confdefs.h >>conftest.$ac_ext
9913 cat >>conftest.$ac_ext <<_ACEOF
9914 /* end confdefs.h. */
9915 $ac_includes_default
9919 static struct stat ac_aggr;
9920 if (ac_aggr.st_blocks)
9926 rm -f conftest.$ac_objext
9927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9928 (eval $ac_compile) 2>conftest.er1
9930 grep -v '^ *+' conftest.er1 >conftest.err
9932 cat conftest.err >&5
9933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9934 (exit $ac_status); } &&
9935 { ac_try='test -z "$ac_c_werror_flag"
9936 || test ! -s conftest.err'
9937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9941 (exit $ac_status); }; } &&
9942 { ac_try='test -s conftest.$ac_objext'
9943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9947 (exit $ac_status); }; }; then
9948 ac_cv_member_struct_stat_st_blocks=yes
9950 echo "$as_me: failed program was:" >&5
9951 sed 's/^/| /' conftest.$ac_ext >&5
9953 cat >conftest.$ac_ext <<_ACEOF
9956 cat confdefs.h >>conftest.$ac_ext
9957 cat >>conftest.$ac_ext <<_ACEOF
9958 /* end confdefs.h. */
9959 $ac_includes_default
9963 static struct stat ac_aggr;
9964 if (sizeof ac_aggr.st_blocks)
9970 rm -f conftest.$ac_objext
9971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9972 (eval $ac_compile) 2>conftest.er1
9974 grep -v '^ *+' conftest.er1 >conftest.err
9976 cat conftest.err >&5
9977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9978 (exit $ac_status); } &&
9979 { ac_try='test -z "$ac_c_werror_flag"
9980 || test ! -s conftest.err'
9981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9985 (exit $ac_status); }; } &&
9986 { ac_try='test -s conftest.$ac_objext'
9987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9991 (exit $ac_status); }; }; then
9992 ac_cv_member_struct_stat_st_blocks=yes
9994 echo "$as_me: failed program was:" >&5
9995 sed 's/^/| /' conftest.$ac_ext >&5
9997 ac_cv_member_struct_stat_st_blocks=no
9999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10003 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
10004 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
10005 if test $ac_cv_member_struct_stat_st_blocks = yes; then
10007 cat >>confdefs.h <<_ACEOF
10008 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
10014 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
10015 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
10016 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
10017 echo $ECHO_N "(cached) $ECHO_C" >&6
10019 cat >conftest.$ac_ext <<_ACEOF
10022 cat confdefs.h >>conftest.$ac_ext
10023 cat >>conftest.$ac_ext <<_ACEOF
10024 /* end confdefs.h. */
10025 $ac_includes_default
10029 static struct stat ac_aggr;
10030 if (ac_aggr.st_rdev)
10036 rm -f conftest.$ac_objext
10037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10038 (eval $ac_compile) 2>conftest.er1
10040 grep -v '^ *+' conftest.er1 >conftest.err
10042 cat conftest.err >&5
10043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10044 (exit $ac_status); } &&
10045 { ac_try='test -z "$ac_c_werror_flag"
10046 || test ! -s conftest.err'
10047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10048 (eval $ac_try) 2>&5
10050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10051 (exit $ac_status); }; } &&
10052 { ac_try='test -s conftest.$ac_objext'
10053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10054 (eval $ac_try) 2>&5
10056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10057 (exit $ac_status); }; }; then
10058 ac_cv_member_struct_stat_st_rdev=yes
10060 echo "$as_me: failed program was:" >&5
10061 sed 's/^/| /' conftest.$ac_ext >&5
10063 cat >conftest.$ac_ext <<_ACEOF
10066 cat confdefs.h >>conftest.$ac_ext
10067 cat >>conftest.$ac_ext <<_ACEOF
10068 /* end confdefs.h. */
10069 $ac_includes_default
10073 static struct stat ac_aggr;
10074 if (sizeof ac_aggr.st_rdev)
10080 rm -f conftest.$ac_objext
10081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10082 (eval $ac_compile) 2>conftest.er1
10084 grep -v '^ *+' conftest.er1 >conftest.err
10086 cat conftest.err >&5
10087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10088 (exit $ac_status); } &&
10089 { ac_try='test -z "$ac_c_werror_flag"
10090 || test ! -s conftest.err'
10091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10092 (eval $ac_try) 2>&5
10094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10095 (exit $ac_status); }; } &&
10096 { ac_try='test -s conftest.$ac_objext'
10097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10098 (eval $ac_try) 2>&5
10100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10101 (exit $ac_status); }; }; then
10102 ac_cv_member_struct_stat_st_rdev=yes
10104 echo "$as_me: failed program was:" >&5
10105 sed 's/^/| /' conftest.$ac_ext >&5
10107 ac_cv_member_struct_stat_st_rdev=no
10109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10113 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
10114 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
10115 if test $ac_cv_member_struct_stat_st_rdev = yes; then
10117 cat >>confdefs.h <<_ACEOF
10118 #define HAVE_STRUCT_STAT_ST_RDEV 1
10125 # Check for library functions.
10134 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
10136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10137 echo "$as_me:$LINENO: checking for $ac_func" >&5
10138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10139 if eval "test \"\${$as_ac_var+set}\" = set"; then
10140 echo $ECHO_N "(cached) $ECHO_C" >&6
10142 if test x$gcc_no_link = xyes; then
10143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10145 { (exit 1); exit 1; }; }
10147 cat >conftest.$ac_ext <<_ACEOF
10150 cat confdefs.h >>conftest.$ac_ext
10151 cat >>conftest.$ac_ext <<_ACEOF
10152 /* end confdefs.h. */
10153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10155 #define $ac_func innocuous_$ac_func
10157 /* System header to define __stub macros and hopefully few prototypes,
10158 which can conflict with char $ac_func (); below.
10159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10160 <limits.h> exists even on freestanding compilers. */
10163 # include <limits.h>
10165 # include <assert.h>
10170 /* Override any gcc2 internal prototype to avoid an error. */
10175 /* We use char because int might match the return type of a gcc2
10176 builtin and then its argument prototype would still apply. */
10178 /* The GNU C library defines this for functions which it implements
10179 to always fail with ENOSYS. Some functions are actually named
10180 something starting with __ and the normal name is an alias. */
10181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10184 char (*f) () = $ac_func;
10193 return f != $ac_func;
10198 rm -f conftest.$ac_objext conftest$ac_exeext
10199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10200 (eval $ac_link) 2>conftest.er1
10202 grep -v '^ *+' conftest.er1 >conftest.err
10204 cat conftest.err >&5
10205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10206 (exit $ac_status); } &&
10207 { ac_try='test -z "$ac_c_werror_flag"
10208 || test ! -s conftest.err'
10209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10210 (eval $ac_try) 2>&5
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); }; } &&
10214 { ac_try='test -s conftest$ac_exeext'
10215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10216 (eval $ac_try) 2>&5
10218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10219 (exit $ac_status); }; }; then
10220 eval "$as_ac_var=yes"
10222 echo "$as_me: failed program was:" >&5
10223 sed 's/^/| /' conftest.$ac_ext >&5
10225 eval "$as_ac_var=no"
10227 rm -f conftest.err conftest.$ac_objext \
10228 conftest$ac_exeext conftest.$ac_ext
10230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10232 if test `eval echo '${'$as_ac_var'}'` = yes; then
10233 cat >>confdefs.h <<_ACEOF
10234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10248 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
10250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10251 echo "$as_me:$LINENO: checking for $ac_func" >&5
10252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10253 if eval "test \"\${$as_ac_var+set}\" = set"; then
10254 echo $ECHO_N "(cached) $ECHO_C" >&6
10256 if test x$gcc_no_link = xyes; then
10257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10259 { (exit 1); exit 1; }; }
10261 cat >conftest.$ac_ext <<_ACEOF
10264 cat confdefs.h >>conftest.$ac_ext
10265 cat >>conftest.$ac_ext <<_ACEOF
10266 /* end confdefs.h. */
10267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10269 #define $ac_func innocuous_$ac_func
10271 /* System header to define __stub macros and hopefully few prototypes,
10272 which can conflict with char $ac_func (); below.
10273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10274 <limits.h> exists even on freestanding compilers. */
10277 # include <limits.h>
10279 # include <assert.h>
10284 /* Override any gcc2 internal prototype to avoid an error. */
10289 /* We use char because int might match the return type of a gcc2
10290 builtin and then its argument prototype would still apply. */
10292 /* The GNU C library defines this for functions which it implements
10293 to always fail with ENOSYS. Some functions are actually named
10294 something starting with __ and the normal name is an alias. */
10295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10298 char (*f) () = $ac_func;
10307 return f != $ac_func;
10312 rm -f conftest.$ac_objext conftest$ac_exeext
10313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10314 (eval $ac_link) 2>conftest.er1
10316 grep -v '^ *+' conftest.er1 >conftest.err
10318 cat conftest.err >&5
10319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10320 (exit $ac_status); } &&
10321 { ac_try='test -z "$ac_c_werror_flag"
10322 || test ! -s conftest.err'
10323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10324 (eval $ac_try) 2>&5
10326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10327 (exit $ac_status); }; } &&
10328 { ac_try='test -s conftest$ac_exeext'
10329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10330 (eval $ac_try) 2>&5
10332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333 (exit $ac_status); }; }; then
10334 eval "$as_ac_var=yes"
10336 echo "$as_me: failed program was:" >&5
10337 sed 's/^/| /' conftest.$ac_ext >&5
10339 eval "$as_ac_var=no"
10341 rm -f conftest.err conftest.$ac_objext \
10342 conftest$ac_exeext conftest.$ac_ext
10344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10346 if test `eval echo '${'$as_ac_var'}'` = yes; then
10347 cat >>confdefs.h <<_ACEOF
10348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10364 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
10366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10367 echo "$as_me:$LINENO: checking for $ac_func" >&5
10368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10369 if eval "test \"\${$as_ac_var+set}\" = set"; then
10370 echo $ECHO_N "(cached) $ECHO_C" >&6
10372 if test x$gcc_no_link = xyes; then
10373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10375 { (exit 1); exit 1; }; }
10377 cat >conftest.$ac_ext <<_ACEOF
10380 cat confdefs.h >>conftest.$ac_ext
10381 cat >>conftest.$ac_ext <<_ACEOF
10382 /* end confdefs.h. */
10383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10385 #define $ac_func innocuous_$ac_func
10387 /* System header to define __stub macros and hopefully few prototypes,
10388 which can conflict with char $ac_func (); below.
10389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10390 <limits.h> exists even on freestanding compilers. */
10393 # include <limits.h>
10395 # include <assert.h>
10400 /* Override any gcc2 internal prototype to avoid an error. */
10405 /* We use char because int might match the return type of a gcc2
10406 builtin and then its argument prototype would still apply. */
10408 /* The GNU C library defines this for functions which it implements
10409 to always fail with ENOSYS. Some functions are actually named
10410 something starting with __ and the normal name is an alias. */
10411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10414 char (*f) () = $ac_func;
10423 return f != $ac_func;
10428 rm -f conftest.$ac_objext conftest$ac_exeext
10429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10430 (eval $ac_link) 2>conftest.er1
10432 grep -v '^ *+' conftest.er1 >conftest.err
10434 cat conftest.err >&5
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); } &&
10437 { ac_try='test -z "$ac_c_werror_flag"
10438 || test ! -s conftest.err'
10439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10440 (eval $ac_try) 2>&5
10442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10443 (exit $ac_status); }; } &&
10444 { ac_try='test -s conftest$ac_exeext'
10445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10446 (eval $ac_try) 2>&5
10448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10449 (exit $ac_status); }; }; then
10450 eval "$as_ac_var=yes"
10452 echo "$as_me: failed program was:" >&5
10453 sed 's/^/| /' conftest.$ac_ext >&5
10455 eval "$as_ac_var=no"
10457 rm -f conftest.err conftest.$ac_objext \
10458 conftest$ac_exeext conftest.$ac_ext
10460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10462 if test `eval echo '${'$as_ac_var'}'` = yes; then
10463 cat >>confdefs.h <<_ACEOF
10464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10479 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
10481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10482 echo "$as_me:$LINENO: checking for $ac_func" >&5
10483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10484 if eval "test \"\${$as_ac_var+set}\" = set"; then
10485 echo $ECHO_N "(cached) $ECHO_C" >&6
10487 if test x$gcc_no_link = xyes; then
10488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10490 { (exit 1); exit 1; }; }
10492 cat >conftest.$ac_ext <<_ACEOF
10495 cat confdefs.h >>conftest.$ac_ext
10496 cat >>conftest.$ac_ext <<_ACEOF
10497 /* end confdefs.h. */
10498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10500 #define $ac_func innocuous_$ac_func
10502 /* System header to define __stub macros and hopefully few prototypes,
10503 which can conflict with char $ac_func (); below.
10504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10505 <limits.h> exists even on freestanding compilers. */
10508 # include <limits.h>
10510 # include <assert.h>
10515 /* Override any gcc2 internal prototype to avoid an error. */
10520 /* We use char because int might match the return type of a gcc2
10521 builtin and then its argument prototype would still apply. */
10523 /* The GNU C library defines this for functions which it implements
10524 to always fail with ENOSYS. Some functions are actually named
10525 something starting with __ and the normal name is an alias. */
10526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10529 char (*f) () = $ac_func;
10538 return f != $ac_func;
10543 rm -f conftest.$ac_objext conftest$ac_exeext
10544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10545 (eval $ac_link) 2>conftest.er1
10547 grep -v '^ *+' conftest.er1 >conftest.err
10549 cat conftest.err >&5
10550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10551 (exit $ac_status); } &&
10552 { ac_try='test -z "$ac_c_werror_flag"
10553 || test ! -s conftest.err'
10554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10555 (eval $ac_try) 2>&5
10557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558 (exit $ac_status); }; } &&
10559 { ac_try='test -s conftest$ac_exeext'
10560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10561 (eval $ac_try) 2>&5
10563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10564 (exit $ac_status); }; }; then
10565 eval "$as_ac_var=yes"
10567 echo "$as_me: failed program was:" >&5
10568 sed 's/^/| /' conftest.$ac_ext >&5
10570 eval "$as_ac_var=no"
10572 rm -f conftest.err conftest.$ac_objext \
10573 conftest$ac_exeext conftest.$ac_ext
10575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10577 if test `eval echo '${'$as_ac_var'}'` = yes; then
10578 cat >>confdefs.h <<_ACEOF
10579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10590 for ac_func in gettimeofday stat fstat lstat getpwuid
10592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10593 echo "$as_me:$LINENO: checking for $ac_func" >&5
10594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10595 if eval "test \"\${$as_ac_var+set}\" = set"; then
10596 echo $ECHO_N "(cached) $ECHO_C" >&6
10598 if test x$gcc_no_link = xyes; then
10599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10601 { (exit 1); exit 1; }; }
10603 cat >conftest.$ac_ext <<_ACEOF
10606 cat confdefs.h >>conftest.$ac_ext
10607 cat >>conftest.$ac_ext <<_ACEOF
10608 /* end confdefs.h. */
10609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10611 #define $ac_func innocuous_$ac_func
10613 /* System header to define __stub macros and hopefully few prototypes,
10614 which can conflict with char $ac_func (); below.
10615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10616 <limits.h> exists even on freestanding compilers. */
10619 # include <limits.h>
10621 # include <assert.h>
10626 /* Override any gcc2 internal prototype to avoid an error. */
10631 /* We use char because int might match the return type of a gcc2
10632 builtin and then its argument prototype would still apply. */
10634 /* The GNU C library defines this for functions which it implements
10635 to always fail with ENOSYS. Some functions are actually named
10636 something starting with __ and the normal name is an alias. */
10637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10640 char (*f) () = $ac_func;
10649 return f != $ac_func;
10654 rm -f conftest.$ac_objext conftest$ac_exeext
10655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10656 (eval $ac_link) 2>conftest.er1
10658 grep -v '^ *+' conftest.er1 >conftest.err
10660 cat conftest.err >&5
10661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10662 (exit $ac_status); } &&
10663 { ac_try='test -z "$ac_c_werror_flag"
10664 || test ! -s conftest.err'
10665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10666 (eval $ac_try) 2>&5
10668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10669 (exit $ac_status); }; } &&
10670 { ac_try='test -s conftest$ac_exeext'
10671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10672 (eval $ac_try) 2>&5
10674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10675 (exit $ac_status); }; }; then
10676 eval "$as_ac_var=yes"
10678 echo "$as_me: failed program was:" >&5
10679 sed 's/^/| /' conftest.$ac_ext >&5
10681 eval "$as_ac_var=no"
10683 rm -f conftest.err conftest.$ac_objext \
10684 conftest$ac_exeext conftest.$ac_ext
10686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10688 if test `eval echo '${'$as_ac_var'}'` = yes; then
10689 cat >>confdefs.h <<_ACEOF
10690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10697 # Check for glibc backtrace functions
10700 for ac_func in backtrace backtrace_symbols
10702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10703 echo "$as_me:$LINENO: checking for $ac_func" >&5
10704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10705 if eval "test \"\${$as_ac_var+set}\" = set"; then
10706 echo $ECHO_N "(cached) $ECHO_C" >&6
10708 if test x$gcc_no_link = xyes; then
10709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10711 { (exit 1); exit 1; }; }
10713 cat >conftest.$ac_ext <<_ACEOF
10716 cat confdefs.h >>conftest.$ac_ext
10717 cat >>conftest.$ac_ext <<_ACEOF
10718 /* end confdefs.h. */
10719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10721 #define $ac_func innocuous_$ac_func
10723 /* System header to define __stub macros and hopefully few prototypes,
10724 which can conflict with char $ac_func (); below.
10725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10726 <limits.h> exists even on freestanding compilers. */
10729 # include <limits.h>
10731 # include <assert.h>
10736 /* Override any gcc2 internal prototype to avoid an error. */
10741 /* We use char because int might match the return type of a gcc2
10742 builtin and then its argument prototype would still apply. */
10744 /* The GNU C library defines this for functions which it implements
10745 to always fail with ENOSYS. Some functions are actually named
10746 something starting with __ and the normal name is an alias. */
10747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10750 char (*f) () = $ac_func;
10759 return f != $ac_func;
10764 rm -f conftest.$ac_objext conftest$ac_exeext
10765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10766 (eval $ac_link) 2>conftest.er1
10768 grep -v '^ *+' conftest.er1 >conftest.err
10770 cat conftest.err >&5
10771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10772 (exit $ac_status); } &&
10773 { ac_try='test -z "$ac_c_werror_flag"
10774 || test ! -s conftest.err'
10775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10776 (eval $ac_try) 2>&5
10778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10779 (exit $ac_status); }; } &&
10780 { ac_try='test -s conftest$ac_exeext'
10781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10782 (eval $ac_try) 2>&5
10784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10785 (exit $ac_status); }; }; then
10786 eval "$as_ac_var=yes"
10788 echo "$as_me: failed program was:" >&5
10789 sed 's/^/| /' conftest.$ac_ext >&5
10791 eval "$as_ac_var=no"
10793 rm -f conftest.err conftest.$ac_objext \
10794 conftest$ac_exeext conftest.$ac_ext
10796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10798 if test `eval echo '${'$as_ac_var'}'` = yes; then
10799 cat >>confdefs.h <<_ACEOF
10800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10808 echo "$as_me:$LINENO: checking for intptr_t" >&5
10809 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
10810 if test "${ac_cv_type_intptr_t+set}" = set; then
10811 echo $ECHO_N "(cached) $ECHO_C" >&6
10813 cat >conftest.$ac_ext <<_ACEOF
10816 cat confdefs.h >>conftest.$ac_ext
10817 cat >>conftest.$ac_ext <<_ACEOF
10818 /* end confdefs.h. */
10819 $ac_includes_default
10823 if ((intptr_t *) 0)
10825 if (sizeof (intptr_t))
10831 rm -f conftest.$ac_objext
10832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10833 (eval $ac_compile) 2>conftest.er1
10835 grep -v '^ *+' conftest.er1 >conftest.err
10837 cat conftest.err >&5
10838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10839 (exit $ac_status); } &&
10840 { ac_try='test -z "$ac_c_werror_flag"
10841 || test ! -s conftest.err'
10842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10843 (eval $ac_try) 2>&5
10845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10846 (exit $ac_status); }; } &&
10847 { ac_try='test -s conftest.$ac_objext'
10848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10849 (eval $ac_try) 2>&5
10851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10852 (exit $ac_status); }; }; then
10853 ac_cv_type_intptr_t=yes
10855 echo "$as_me: failed program was:" >&5
10856 sed 's/^/| /' conftest.$ac_ext >&5
10858 ac_cv_type_intptr_t=no
10860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10862 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
10863 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
10864 if test $ac_cv_type_intptr_t = yes; then
10866 cat >>confdefs.h <<_ACEOF
10867 #define HAVE_INTPTR_T 1
10874 # Check libc for getgid, getpid, getuid
10875 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
10876 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
10877 if test "${ac_cv_lib_c_getgid+set}" = set; then
10878 echo $ECHO_N "(cached) $ECHO_C" >&6
10880 ac_check_lib_save_LIBS=$LIBS
10882 if test x$gcc_no_link = xyes; then
10883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10885 { (exit 1); exit 1; }; }
10887 cat >conftest.$ac_ext <<_ACEOF
10890 cat confdefs.h >>conftest.$ac_ext
10891 cat >>conftest.$ac_ext <<_ACEOF
10892 /* end confdefs.h. */
10894 /* Override any gcc2 internal prototype to avoid an error. */
10898 /* We use char because int might match the return type of a gcc2
10899 builtin and then its argument prototype would still apply. */
10909 rm -f conftest.$ac_objext conftest$ac_exeext
10910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10911 (eval $ac_link) 2>conftest.er1
10913 grep -v '^ *+' conftest.er1 >conftest.err
10915 cat conftest.err >&5
10916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10917 (exit $ac_status); } &&
10918 { ac_try='test -z "$ac_c_werror_flag"
10919 || test ! -s conftest.err'
10920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10921 (eval $ac_try) 2>&5
10923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10924 (exit $ac_status); }; } &&
10925 { ac_try='test -s conftest$ac_exeext'
10926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10927 (eval $ac_try) 2>&5
10929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10930 (exit $ac_status); }; }; then
10931 ac_cv_lib_c_getgid=yes
10933 echo "$as_me: failed program was:" >&5
10934 sed 's/^/| /' conftest.$ac_ext >&5
10936 ac_cv_lib_c_getgid=no
10938 rm -f conftest.err conftest.$ac_objext \
10939 conftest$ac_exeext conftest.$ac_ext
10940 LIBS=$ac_check_lib_save_LIBS
10942 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
10943 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
10944 if test $ac_cv_lib_c_getgid = yes; then
10946 cat >>confdefs.h <<\_ACEOF
10947 #define HAVE_GETGID 1
10952 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
10953 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
10954 if test "${ac_cv_lib_c_getpid+set}" = set; then
10955 echo $ECHO_N "(cached) $ECHO_C" >&6
10957 ac_check_lib_save_LIBS=$LIBS
10959 if test x$gcc_no_link = xyes; then
10960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10962 { (exit 1); exit 1; }; }
10964 cat >conftest.$ac_ext <<_ACEOF
10967 cat confdefs.h >>conftest.$ac_ext
10968 cat >>conftest.$ac_ext <<_ACEOF
10969 /* end confdefs.h. */
10971 /* Override any gcc2 internal prototype to avoid an error. */
10975 /* We use char because int might match the return type of a gcc2
10976 builtin and then its argument prototype would still apply. */
10986 rm -f conftest.$ac_objext conftest$ac_exeext
10987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10988 (eval $ac_link) 2>conftest.er1
10990 grep -v '^ *+' conftest.er1 >conftest.err
10992 cat conftest.err >&5
10993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10994 (exit $ac_status); } &&
10995 { ac_try='test -z "$ac_c_werror_flag"
10996 || test ! -s conftest.err'
10997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10998 (eval $ac_try) 2>&5
11000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11001 (exit $ac_status); }; } &&
11002 { ac_try='test -s conftest$ac_exeext'
11003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11004 (eval $ac_try) 2>&5
11006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11007 (exit $ac_status); }; }; then
11008 ac_cv_lib_c_getpid=yes
11010 echo "$as_me: failed program was:" >&5
11011 sed 's/^/| /' conftest.$ac_ext >&5
11013 ac_cv_lib_c_getpid=no
11015 rm -f conftest.err conftest.$ac_objext \
11016 conftest$ac_exeext conftest.$ac_ext
11017 LIBS=$ac_check_lib_save_LIBS
11019 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
11020 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
11021 if test $ac_cv_lib_c_getpid = yes; then
11023 cat >>confdefs.h <<\_ACEOF
11024 #define HAVE_GETPID 1
11029 echo "$as_me:$LINENO: checking for getppid in -lc" >&5
11030 echo $ECHO_N "checking for getppid in -lc... $ECHO_C" >&6
11031 if test "${ac_cv_lib_c_getppid+set}" = set; then
11032 echo $ECHO_N "(cached) $ECHO_C" >&6
11034 ac_check_lib_save_LIBS=$LIBS
11036 if test x$gcc_no_link = xyes; then
11037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11039 { (exit 1); exit 1; }; }
11041 cat >conftest.$ac_ext <<_ACEOF
11044 cat confdefs.h >>conftest.$ac_ext
11045 cat >>conftest.$ac_ext <<_ACEOF
11046 /* end confdefs.h. */
11048 /* Override any gcc2 internal prototype to avoid an error. */
11052 /* We use char because int might match the return type of a gcc2
11053 builtin and then its argument prototype would still apply. */
11063 rm -f conftest.$ac_objext conftest$ac_exeext
11064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11065 (eval $ac_link) 2>conftest.er1
11067 grep -v '^ *+' conftest.er1 >conftest.err
11069 cat conftest.err >&5
11070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11071 (exit $ac_status); } &&
11072 { ac_try='test -z "$ac_c_werror_flag"
11073 || test ! -s conftest.err'
11074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11075 (eval $ac_try) 2>&5
11077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); }; } &&
11079 { ac_try='test -s conftest$ac_exeext'
11080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11081 (eval $ac_try) 2>&5
11083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11084 (exit $ac_status); }; }; then
11085 ac_cv_lib_c_getppid=yes
11087 echo "$as_me: failed program was:" >&5
11088 sed 's/^/| /' conftest.$ac_ext >&5
11090 ac_cv_lib_c_getppid=no
11092 rm -f conftest.err conftest.$ac_objext \
11093 conftest$ac_exeext conftest.$ac_ext
11094 LIBS=$ac_check_lib_save_LIBS
11096 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getppid" >&5
11097 echo "${ECHO_T}$ac_cv_lib_c_getppid" >&6
11098 if test $ac_cv_lib_c_getppid = yes; then
11100 cat >>confdefs.h <<\_ACEOF
11101 #define HAVE_GETPPID 1
11106 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
11107 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
11108 if test "${ac_cv_lib_c_getuid+set}" = set; then
11109 echo $ECHO_N "(cached) $ECHO_C" >&6
11111 ac_check_lib_save_LIBS=$LIBS
11113 if test x$gcc_no_link = xyes; then
11114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11116 { (exit 1); exit 1; }; }
11118 cat >conftest.$ac_ext <<_ACEOF
11121 cat confdefs.h >>conftest.$ac_ext
11122 cat >>conftest.$ac_ext <<_ACEOF
11123 /* end confdefs.h. */
11125 /* Override any gcc2 internal prototype to avoid an error. */
11129 /* We use char because int might match the return type of a gcc2
11130 builtin and then its argument prototype would still apply. */
11140 rm -f conftest.$ac_objext conftest$ac_exeext
11141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11142 (eval $ac_link) 2>conftest.er1
11144 grep -v '^ *+' conftest.er1 >conftest.err
11146 cat conftest.err >&5
11147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11148 (exit $ac_status); } &&
11149 { ac_try='test -z "$ac_c_werror_flag"
11150 || test ! -s conftest.err'
11151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11152 (eval $ac_try) 2>&5
11154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11155 (exit $ac_status); }; } &&
11156 { ac_try='test -s conftest$ac_exeext'
11157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11158 (eval $ac_try) 2>&5
11160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11161 (exit $ac_status); }; }; then
11162 ac_cv_lib_c_getuid=yes
11164 echo "$as_me: failed program was:" >&5
11165 sed 's/^/| /' conftest.$ac_ext >&5
11167 ac_cv_lib_c_getuid=no
11169 rm -f conftest.err conftest.$ac_objext \
11170 conftest$ac_exeext conftest.$ac_ext
11171 LIBS=$ac_check_lib_save_LIBS
11173 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
11174 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
11175 if test $ac_cv_lib_c_getuid = yes; then
11177 cat >>confdefs.h <<\_ACEOF
11178 #define HAVE_GETUID 1
11183 echo "$as_me:$LINENO: checking for geteuid in -lc" >&5
11184 echo $ECHO_N "checking for geteuid in -lc... $ECHO_C" >&6
11185 if test "${ac_cv_lib_c_geteuid+set}" = set; then
11186 echo $ECHO_N "(cached) $ECHO_C" >&6
11188 ac_check_lib_save_LIBS=$LIBS
11190 if test x$gcc_no_link = xyes; then
11191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11193 { (exit 1); exit 1; }; }
11195 cat >conftest.$ac_ext <<_ACEOF
11198 cat confdefs.h >>conftest.$ac_ext
11199 cat >>conftest.$ac_ext <<_ACEOF
11200 /* end confdefs.h. */
11202 /* Override any gcc2 internal prototype to avoid an error. */
11206 /* We use char because int might match the return type of a gcc2
11207 builtin and then its argument prototype would still apply. */
11217 rm -f conftest.$ac_objext conftest$ac_exeext
11218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11219 (eval $ac_link) 2>conftest.er1
11221 grep -v '^ *+' conftest.er1 >conftest.err
11223 cat conftest.err >&5
11224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); } &&
11226 { ac_try='test -z "$ac_c_werror_flag"
11227 || test ! -s conftest.err'
11228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11229 (eval $ac_try) 2>&5
11231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11232 (exit $ac_status); }; } &&
11233 { ac_try='test -s conftest$ac_exeext'
11234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11235 (eval $ac_try) 2>&5
11237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11238 (exit $ac_status); }; }; then
11239 ac_cv_lib_c_geteuid=yes
11241 echo "$as_me: failed program was:" >&5
11242 sed 's/^/| /' conftest.$ac_ext >&5
11244 ac_cv_lib_c_geteuid=no
11246 rm -f conftest.err conftest.$ac_objext \
11247 conftest$ac_exeext conftest.$ac_ext
11248 LIBS=$ac_check_lib_save_LIBS
11250 echo "$as_me:$LINENO: result: $ac_cv_lib_c_geteuid" >&5
11251 echo "${ECHO_T}$ac_cv_lib_c_geteuid" >&6
11252 if test $ac_cv_lib_c_geteuid = yes; then
11254 cat >>confdefs.h <<\_ACEOF
11255 #define HAVE_GETEUID 1
11261 # Check for C99 (and other IEEE) math functions
11262 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
11263 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
11264 if test "${ac_cv_lib_m_acosf+set}" = set; then
11265 echo $ECHO_N "(cached) $ECHO_C" >&6
11267 ac_check_lib_save_LIBS=$LIBS
11269 if test x$gcc_no_link = xyes; then
11270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11272 { (exit 1); exit 1; }; }
11274 cat >conftest.$ac_ext <<_ACEOF
11277 cat confdefs.h >>conftest.$ac_ext
11278 cat >>conftest.$ac_ext <<_ACEOF
11279 /* end confdefs.h. */
11281 /* Override any gcc2 internal prototype to avoid an error. */
11285 /* We use char because int might match the return type of a gcc2
11286 builtin and then its argument prototype would still apply. */
11296 rm -f conftest.$ac_objext conftest$ac_exeext
11297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11298 (eval $ac_link) 2>conftest.er1
11300 grep -v '^ *+' conftest.er1 >conftest.err
11302 cat conftest.err >&5
11303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11304 (exit $ac_status); } &&
11305 { ac_try='test -z "$ac_c_werror_flag"
11306 || test ! -s conftest.err'
11307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11308 (eval $ac_try) 2>&5
11310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11311 (exit $ac_status); }; } &&
11312 { ac_try='test -s conftest$ac_exeext'
11313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11314 (eval $ac_try) 2>&5
11316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11317 (exit $ac_status); }; }; then
11318 ac_cv_lib_m_acosf=yes
11320 echo "$as_me: failed program was:" >&5
11321 sed 's/^/| /' conftest.$ac_ext >&5
11323 ac_cv_lib_m_acosf=no
11325 rm -f conftest.err conftest.$ac_objext \
11326 conftest$ac_exeext conftest.$ac_ext
11327 LIBS=$ac_check_lib_save_LIBS
11329 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
11330 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
11331 if test $ac_cv_lib_m_acosf = yes; then
11333 cat >>confdefs.h <<\_ACEOF
11334 #define HAVE_ACOSF 1
11339 echo "$as_me:$LINENO: checking for acos in -lm" >&5
11340 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
11341 if test "${ac_cv_lib_m_acos+set}" = set; then
11342 echo $ECHO_N "(cached) $ECHO_C" >&6
11344 ac_check_lib_save_LIBS=$LIBS
11346 if test x$gcc_no_link = xyes; then
11347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11349 { (exit 1); exit 1; }; }
11351 cat >conftest.$ac_ext <<_ACEOF
11354 cat confdefs.h >>conftest.$ac_ext
11355 cat >>conftest.$ac_ext <<_ACEOF
11356 /* end confdefs.h. */
11358 /* Override any gcc2 internal prototype to avoid an error. */
11362 /* We use char because int might match the return type of a gcc2
11363 builtin and then its argument prototype would still apply. */
11373 rm -f conftest.$ac_objext conftest$ac_exeext
11374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11375 (eval $ac_link) 2>conftest.er1
11377 grep -v '^ *+' conftest.er1 >conftest.err
11379 cat conftest.err >&5
11380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11381 (exit $ac_status); } &&
11382 { ac_try='test -z "$ac_c_werror_flag"
11383 || test ! -s conftest.err'
11384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11385 (eval $ac_try) 2>&5
11387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11388 (exit $ac_status); }; } &&
11389 { ac_try='test -s conftest$ac_exeext'
11390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11391 (eval $ac_try) 2>&5
11393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11394 (exit $ac_status); }; }; then
11395 ac_cv_lib_m_acos=yes
11397 echo "$as_me: failed program was:" >&5
11398 sed 's/^/| /' conftest.$ac_ext >&5
11400 ac_cv_lib_m_acos=no
11402 rm -f conftest.err conftest.$ac_objext \
11403 conftest$ac_exeext conftest.$ac_ext
11404 LIBS=$ac_check_lib_save_LIBS
11406 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
11407 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
11408 if test $ac_cv_lib_m_acos = yes; then
11410 cat >>confdefs.h <<\_ACEOF
11411 #define HAVE_ACOS 1
11416 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
11417 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
11418 if test "${ac_cv_lib_m_acosl+set}" = set; then
11419 echo $ECHO_N "(cached) $ECHO_C" >&6
11421 ac_check_lib_save_LIBS=$LIBS
11423 if test x$gcc_no_link = xyes; then
11424 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11426 { (exit 1); exit 1; }; }
11428 cat >conftest.$ac_ext <<_ACEOF
11431 cat confdefs.h >>conftest.$ac_ext
11432 cat >>conftest.$ac_ext <<_ACEOF
11433 /* end confdefs.h. */
11435 /* Override any gcc2 internal prototype to avoid an error. */
11439 /* We use char because int might match the return type of a gcc2
11440 builtin and then its argument prototype would still apply. */
11450 rm -f conftest.$ac_objext conftest$ac_exeext
11451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11452 (eval $ac_link) 2>conftest.er1
11454 grep -v '^ *+' conftest.er1 >conftest.err
11456 cat conftest.err >&5
11457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11458 (exit $ac_status); } &&
11459 { ac_try='test -z "$ac_c_werror_flag"
11460 || test ! -s conftest.err'
11461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11462 (eval $ac_try) 2>&5
11464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11465 (exit $ac_status); }; } &&
11466 { ac_try='test -s conftest$ac_exeext'
11467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11468 (eval $ac_try) 2>&5
11470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11471 (exit $ac_status); }; }; then
11472 ac_cv_lib_m_acosl=yes
11474 echo "$as_me: failed program was:" >&5
11475 sed 's/^/| /' conftest.$ac_ext >&5
11477 ac_cv_lib_m_acosl=no
11479 rm -f conftest.err conftest.$ac_objext \
11480 conftest$ac_exeext conftest.$ac_ext
11481 LIBS=$ac_check_lib_save_LIBS
11483 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
11484 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
11485 if test $ac_cv_lib_m_acosl = yes; then
11487 cat >>confdefs.h <<\_ACEOF
11488 #define HAVE_ACOSL 1
11493 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
11494 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
11495 if test "${ac_cv_lib_m_acoshf+set}" = set; then
11496 echo $ECHO_N "(cached) $ECHO_C" >&6
11498 ac_check_lib_save_LIBS=$LIBS
11500 if test x$gcc_no_link = xyes; then
11501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11503 { (exit 1); exit 1; }; }
11505 cat >conftest.$ac_ext <<_ACEOF
11508 cat confdefs.h >>conftest.$ac_ext
11509 cat >>conftest.$ac_ext <<_ACEOF
11510 /* end confdefs.h. */
11512 /* Override any gcc2 internal prototype to avoid an error. */
11516 /* We use char because int might match the return type of a gcc2
11517 builtin and then its argument prototype would still apply. */
11527 rm -f conftest.$ac_objext conftest$ac_exeext
11528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11529 (eval $ac_link) 2>conftest.er1
11531 grep -v '^ *+' conftest.er1 >conftest.err
11533 cat conftest.err >&5
11534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11535 (exit $ac_status); } &&
11536 { ac_try='test -z "$ac_c_werror_flag"
11537 || test ! -s conftest.err'
11538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11539 (eval $ac_try) 2>&5
11541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11542 (exit $ac_status); }; } &&
11543 { ac_try='test -s conftest$ac_exeext'
11544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11545 (eval $ac_try) 2>&5
11547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11548 (exit $ac_status); }; }; then
11549 ac_cv_lib_m_acoshf=yes
11551 echo "$as_me: failed program was:" >&5
11552 sed 's/^/| /' conftest.$ac_ext >&5
11554 ac_cv_lib_m_acoshf=no
11556 rm -f conftest.err conftest.$ac_objext \
11557 conftest$ac_exeext conftest.$ac_ext
11558 LIBS=$ac_check_lib_save_LIBS
11560 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
11561 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
11562 if test $ac_cv_lib_m_acoshf = yes; then
11564 cat >>confdefs.h <<\_ACEOF
11565 #define HAVE_ACOSHF 1
11570 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
11571 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
11572 if test "${ac_cv_lib_m_acosh+set}" = set; then
11573 echo $ECHO_N "(cached) $ECHO_C" >&6
11575 ac_check_lib_save_LIBS=$LIBS
11577 if test x$gcc_no_link = xyes; then
11578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11580 { (exit 1); exit 1; }; }
11582 cat >conftest.$ac_ext <<_ACEOF
11585 cat confdefs.h >>conftest.$ac_ext
11586 cat >>conftest.$ac_ext <<_ACEOF
11587 /* end confdefs.h. */
11589 /* Override any gcc2 internal prototype to avoid an error. */
11593 /* We use char because int might match the return type of a gcc2
11594 builtin and then its argument prototype would still apply. */
11604 rm -f conftest.$ac_objext conftest$ac_exeext
11605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11606 (eval $ac_link) 2>conftest.er1
11608 grep -v '^ *+' conftest.er1 >conftest.err
11610 cat conftest.err >&5
11611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11612 (exit $ac_status); } &&
11613 { ac_try='test -z "$ac_c_werror_flag"
11614 || test ! -s conftest.err'
11615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11616 (eval $ac_try) 2>&5
11618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11619 (exit $ac_status); }; } &&
11620 { ac_try='test -s conftest$ac_exeext'
11621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11622 (eval $ac_try) 2>&5
11624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11625 (exit $ac_status); }; }; then
11626 ac_cv_lib_m_acosh=yes
11628 echo "$as_me: failed program was:" >&5
11629 sed 's/^/| /' conftest.$ac_ext >&5
11631 ac_cv_lib_m_acosh=no
11633 rm -f conftest.err conftest.$ac_objext \
11634 conftest$ac_exeext conftest.$ac_ext
11635 LIBS=$ac_check_lib_save_LIBS
11637 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
11638 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
11639 if test $ac_cv_lib_m_acosh = yes; then
11641 cat >>confdefs.h <<\_ACEOF
11642 #define HAVE_ACOSH 1
11647 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
11648 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
11649 if test "${ac_cv_lib_m_acoshl+set}" = set; then
11650 echo $ECHO_N "(cached) $ECHO_C" >&6
11652 ac_check_lib_save_LIBS=$LIBS
11654 if test x$gcc_no_link = xyes; then
11655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11657 { (exit 1); exit 1; }; }
11659 cat >conftest.$ac_ext <<_ACEOF
11662 cat confdefs.h >>conftest.$ac_ext
11663 cat >>conftest.$ac_ext <<_ACEOF
11664 /* end confdefs.h. */
11666 /* Override any gcc2 internal prototype to avoid an error. */
11670 /* We use char because int might match the return type of a gcc2
11671 builtin and then its argument prototype would still apply. */
11681 rm -f conftest.$ac_objext conftest$ac_exeext
11682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11683 (eval $ac_link) 2>conftest.er1
11685 grep -v '^ *+' conftest.er1 >conftest.err
11687 cat conftest.err >&5
11688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11689 (exit $ac_status); } &&
11690 { ac_try='test -z "$ac_c_werror_flag"
11691 || test ! -s conftest.err'
11692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11693 (eval $ac_try) 2>&5
11695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11696 (exit $ac_status); }; } &&
11697 { ac_try='test -s conftest$ac_exeext'
11698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11699 (eval $ac_try) 2>&5
11701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11702 (exit $ac_status); }; }; then
11703 ac_cv_lib_m_acoshl=yes
11705 echo "$as_me: failed program was:" >&5
11706 sed 's/^/| /' conftest.$ac_ext >&5
11708 ac_cv_lib_m_acoshl=no
11710 rm -f conftest.err conftest.$ac_objext \
11711 conftest$ac_exeext conftest.$ac_ext
11712 LIBS=$ac_check_lib_save_LIBS
11714 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
11715 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
11716 if test $ac_cv_lib_m_acoshl = yes; then
11718 cat >>confdefs.h <<\_ACEOF
11719 #define HAVE_ACOSHL 1
11724 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
11725 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
11726 if test "${ac_cv_lib_m_asinf+set}" = set; then
11727 echo $ECHO_N "(cached) $ECHO_C" >&6
11729 ac_check_lib_save_LIBS=$LIBS
11731 if test x$gcc_no_link = xyes; then
11732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11734 { (exit 1); exit 1; }; }
11736 cat >conftest.$ac_ext <<_ACEOF
11739 cat confdefs.h >>conftest.$ac_ext
11740 cat >>conftest.$ac_ext <<_ACEOF
11741 /* end confdefs.h. */
11743 /* Override any gcc2 internal prototype to avoid an error. */
11747 /* We use char because int might match the return type of a gcc2
11748 builtin and then its argument prototype would still apply. */
11758 rm -f conftest.$ac_objext conftest$ac_exeext
11759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11760 (eval $ac_link) 2>conftest.er1
11762 grep -v '^ *+' conftest.er1 >conftest.err
11764 cat conftest.err >&5
11765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11766 (exit $ac_status); } &&
11767 { ac_try='test -z "$ac_c_werror_flag"
11768 || test ! -s conftest.err'
11769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11770 (eval $ac_try) 2>&5
11772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11773 (exit $ac_status); }; } &&
11774 { ac_try='test -s conftest$ac_exeext'
11775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11776 (eval $ac_try) 2>&5
11778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11779 (exit $ac_status); }; }; then
11780 ac_cv_lib_m_asinf=yes
11782 echo "$as_me: failed program was:" >&5
11783 sed 's/^/| /' conftest.$ac_ext >&5
11785 ac_cv_lib_m_asinf=no
11787 rm -f conftest.err conftest.$ac_objext \
11788 conftest$ac_exeext conftest.$ac_ext
11789 LIBS=$ac_check_lib_save_LIBS
11791 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
11792 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
11793 if test $ac_cv_lib_m_asinf = yes; then
11795 cat >>confdefs.h <<\_ACEOF
11796 #define HAVE_ASINF 1
11801 echo "$as_me:$LINENO: checking for asin in -lm" >&5
11802 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
11803 if test "${ac_cv_lib_m_asin+set}" = set; then
11804 echo $ECHO_N "(cached) $ECHO_C" >&6
11806 ac_check_lib_save_LIBS=$LIBS
11808 if test x$gcc_no_link = xyes; then
11809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11811 { (exit 1); exit 1; }; }
11813 cat >conftest.$ac_ext <<_ACEOF
11816 cat confdefs.h >>conftest.$ac_ext
11817 cat >>conftest.$ac_ext <<_ACEOF
11818 /* end confdefs.h. */
11820 /* Override any gcc2 internal prototype to avoid an error. */
11824 /* We use char because int might match the return type of a gcc2
11825 builtin and then its argument prototype would still apply. */
11835 rm -f conftest.$ac_objext conftest$ac_exeext
11836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11837 (eval $ac_link) 2>conftest.er1
11839 grep -v '^ *+' conftest.er1 >conftest.err
11841 cat conftest.err >&5
11842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11843 (exit $ac_status); } &&
11844 { ac_try='test -z "$ac_c_werror_flag"
11845 || test ! -s conftest.err'
11846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11847 (eval $ac_try) 2>&5
11849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11850 (exit $ac_status); }; } &&
11851 { ac_try='test -s conftest$ac_exeext'
11852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11853 (eval $ac_try) 2>&5
11855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11856 (exit $ac_status); }; }; then
11857 ac_cv_lib_m_asin=yes
11859 echo "$as_me: failed program was:" >&5
11860 sed 's/^/| /' conftest.$ac_ext >&5
11862 ac_cv_lib_m_asin=no
11864 rm -f conftest.err conftest.$ac_objext \
11865 conftest$ac_exeext conftest.$ac_ext
11866 LIBS=$ac_check_lib_save_LIBS
11868 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
11869 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
11870 if test $ac_cv_lib_m_asin = yes; then
11872 cat >>confdefs.h <<\_ACEOF
11873 #define HAVE_ASIN 1
11878 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
11879 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
11880 if test "${ac_cv_lib_m_asinl+set}" = set; then
11881 echo $ECHO_N "(cached) $ECHO_C" >&6
11883 ac_check_lib_save_LIBS=$LIBS
11885 if test x$gcc_no_link = xyes; then
11886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11888 { (exit 1); exit 1; }; }
11890 cat >conftest.$ac_ext <<_ACEOF
11893 cat confdefs.h >>conftest.$ac_ext
11894 cat >>conftest.$ac_ext <<_ACEOF
11895 /* end confdefs.h. */
11897 /* Override any gcc2 internal prototype to avoid an error. */
11901 /* We use char because int might match the return type of a gcc2
11902 builtin and then its argument prototype would still apply. */
11912 rm -f conftest.$ac_objext conftest$ac_exeext
11913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11914 (eval $ac_link) 2>conftest.er1
11916 grep -v '^ *+' conftest.er1 >conftest.err
11918 cat conftest.err >&5
11919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11920 (exit $ac_status); } &&
11921 { ac_try='test -z "$ac_c_werror_flag"
11922 || test ! -s conftest.err'
11923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11924 (eval $ac_try) 2>&5
11926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11927 (exit $ac_status); }; } &&
11928 { ac_try='test -s conftest$ac_exeext'
11929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11930 (eval $ac_try) 2>&5
11932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11933 (exit $ac_status); }; }; then
11934 ac_cv_lib_m_asinl=yes
11936 echo "$as_me: failed program was:" >&5
11937 sed 's/^/| /' conftest.$ac_ext >&5
11939 ac_cv_lib_m_asinl=no
11941 rm -f conftest.err conftest.$ac_objext \
11942 conftest$ac_exeext conftest.$ac_ext
11943 LIBS=$ac_check_lib_save_LIBS
11945 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
11946 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
11947 if test $ac_cv_lib_m_asinl = yes; then
11949 cat >>confdefs.h <<\_ACEOF
11950 #define HAVE_ASINL 1
11955 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
11956 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
11957 if test "${ac_cv_lib_m_asinhf+set}" = set; then
11958 echo $ECHO_N "(cached) $ECHO_C" >&6
11960 ac_check_lib_save_LIBS=$LIBS
11962 if test x$gcc_no_link = xyes; then
11963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11965 { (exit 1); exit 1; }; }
11967 cat >conftest.$ac_ext <<_ACEOF
11970 cat confdefs.h >>conftest.$ac_ext
11971 cat >>conftest.$ac_ext <<_ACEOF
11972 /* end confdefs.h. */
11974 /* Override any gcc2 internal prototype to avoid an error. */
11978 /* We use char because int might match the return type of a gcc2
11979 builtin and then its argument prototype would still apply. */
11989 rm -f conftest.$ac_objext conftest$ac_exeext
11990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11991 (eval $ac_link) 2>conftest.er1
11993 grep -v '^ *+' conftest.er1 >conftest.err
11995 cat conftest.err >&5
11996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11997 (exit $ac_status); } &&
11998 { ac_try='test -z "$ac_c_werror_flag"
11999 || test ! -s conftest.err'
12000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12001 (eval $ac_try) 2>&5
12003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12004 (exit $ac_status); }; } &&
12005 { ac_try='test -s conftest$ac_exeext'
12006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12007 (eval $ac_try) 2>&5
12009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12010 (exit $ac_status); }; }; then
12011 ac_cv_lib_m_asinhf=yes
12013 echo "$as_me: failed program was:" >&5
12014 sed 's/^/| /' conftest.$ac_ext >&5
12016 ac_cv_lib_m_asinhf=no
12018 rm -f conftest.err conftest.$ac_objext \
12019 conftest$ac_exeext conftest.$ac_ext
12020 LIBS=$ac_check_lib_save_LIBS
12022 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
12023 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
12024 if test $ac_cv_lib_m_asinhf = yes; then
12026 cat >>confdefs.h <<\_ACEOF
12027 #define HAVE_ASINHF 1
12032 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
12033 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
12034 if test "${ac_cv_lib_m_asinh+set}" = set; then
12035 echo $ECHO_N "(cached) $ECHO_C" >&6
12037 ac_check_lib_save_LIBS=$LIBS
12039 if test x$gcc_no_link = xyes; then
12040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12042 { (exit 1); exit 1; }; }
12044 cat >conftest.$ac_ext <<_ACEOF
12047 cat confdefs.h >>conftest.$ac_ext
12048 cat >>conftest.$ac_ext <<_ACEOF
12049 /* end confdefs.h. */
12051 /* Override any gcc2 internal prototype to avoid an error. */
12055 /* We use char because int might match the return type of a gcc2
12056 builtin and then its argument prototype would still apply. */
12066 rm -f conftest.$ac_objext conftest$ac_exeext
12067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12068 (eval $ac_link) 2>conftest.er1
12070 grep -v '^ *+' conftest.er1 >conftest.err
12072 cat conftest.err >&5
12073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12074 (exit $ac_status); } &&
12075 { ac_try='test -z "$ac_c_werror_flag"
12076 || test ! -s conftest.err'
12077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12078 (eval $ac_try) 2>&5
12080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12081 (exit $ac_status); }; } &&
12082 { ac_try='test -s conftest$ac_exeext'
12083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12084 (eval $ac_try) 2>&5
12086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12087 (exit $ac_status); }; }; then
12088 ac_cv_lib_m_asinh=yes
12090 echo "$as_me: failed program was:" >&5
12091 sed 's/^/| /' conftest.$ac_ext >&5
12093 ac_cv_lib_m_asinh=no
12095 rm -f conftest.err conftest.$ac_objext \
12096 conftest$ac_exeext conftest.$ac_ext
12097 LIBS=$ac_check_lib_save_LIBS
12099 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
12100 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
12101 if test $ac_cv_lib_m_asinh = yes; then
12103 cat >>confdefs.h <<\_ACEOF
12104 #define HAVE_ASINH 1
12109 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
12110 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
12111 if test "${ac_cv_lib_m_asinhl+set}" = set; then
12112 echo $ECHO_N "(cached) $ECHO_C" >&6
12114 ac_check_lib_save_LIBS=$LIBS
12116 if test x$gcc_no_link = xyes; then
12117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12119 { (exit 1); exit 1; }; }
12121 cat >conftest.$ac_ext <<_ACEOF
12124 cat confdefs.h >>conftest.$ac_ext
12125 cat >>conftest.$ac_ext <<_ACEOF
12126 /* end confdefs.h. */
12128 /* Override any gcc2 internal prototype to avoid an error. */
12132 /* We use char because int might match the return type of a gcc2
12133 builtin and then its argument prototype would still apply. */
12143 rm -f conftest.$ac_objext conftest$ac_exeext
12144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12145 (eval $ac_link) 2>conftest.er1
12147 grep -v '^ *+' conftest.er1 >conftest.err
12149 cat conftest.err >&5
12150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12151 (exit $ac_status); } &&
12152 { ac_try='test -z "$ac_c_werror_flag"
12153 || test ! -s conftest.err'
12154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12155 (eval $ac_try) 2>&5
12157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12158 (exit $ac_status); }; } &&
12159 { ac_try='test -s conftest$ac_exeext'
12160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12161 (eval $ac_try) 2>&5
12163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12164 (exit $ac_status); }; }; then
12165 ac_cv_lib_m_asinhl=yes
12167 echo "$as_me: failed program was:" >&5
12168 sed 's/^/| /' conftest.$ac_ext >&5
12170 ac_cv_lib_m_asinhl=no
12172 rm -f conftest.err conftest.$ac_objext \
12173 conftest$ac_exeext conftest.$ac_ext
12174 LIBS=$ac_check_lib_save_LIBS
12176 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
12177 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
12178 if test $ac_cv_lib_m_asinhl = yes; then
12180 cat >>confdefs.h <<\_ACEOF
12181 #define HAVE_ASINHL 1
12186 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
12187 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
12188 if test "${ac_cv_lib_m_atan2f+set}" = set; then
12189 echo $ECHO_N "(cached) $ECHO_C" >&6
12191 ac_check_lib_save_LIBS=$LIBS
12193 if test x$gcc_no_link = xyes; then
12194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12196 { (exit 1); exit 1; }; }
12198 cat >conftest.$ac_ext <<_ACEOF
12201 cat confdefs.h >>conftest.$ac_ext
12202 cat >>conftest.$ac_ext <<_ACEOF
12203 /* end confdefs.h. */
12205 /* Override any gcc2 internal prototype to avoid an error. */
12209 /* We use char because int might match the return type of a gcc2
12210 builtin and then its argument prototype would still apply. */
12220 rm -f conftest.$ac_objext conftest$ac_exeext
12221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12222 (eval $ac_link) 2>conftest.er1
12224 grep -v '^ *+' conftest.er1 >conftest.err
12226 cat conftest.err >&5
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); } &&
12229 { ac_try='test -z "$ac_c_werror_flag"
12230 || test ! -s conftest.err'
12231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12232 (eval $ac_try) 2>&5
12234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12235 (exit $ac_status); }; } &&
12236 { ac_try='test -s conftest$ac_exeext'
12237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12238 (eval $ac_try) 2>&5
12240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241 (exit $ac_status); }; }; then
12242 ac_cv_lib_m_atan2f=yes
12244 echo "$as_me: failed program was:" >&5
12245 sed 's/^/| /' conftest.$ac_ext >&5
12247 ac_cv_lib_m_atan2f=no
12249 rm -f conftest.err conftest.$ac_objext \
12250 conftest$ac_exeext conftest.$ac_ext
12251 LIBS=$ac_check_lib_save_LIBS
12253 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
12254 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
12255 if test $ac_cv_lib_m_atan2f = yes; then
12257 cat >>confdefs.h <<\_ACEOF
12258 #define HAVE_ATAN2F 1
12263 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
12264 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
12265 if test "${ac_cv_lib_m_atan2+set}" = set; then
12266 echo $ECHO_N "(cached) $ECHO_C" >&6
12268 ac_check_lib_save_LIBS=$LIBS
12270 if test x$gcc_no_link = xyes; then
12271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12273 { (exit 1); exit 1; }; }
12275 cat >conftest.$ac_ext <<_ACEOF
12278 cat confdefs.h >>conftest.$ac_ext
12279 cat >>conftest.$ac_ext <<_ACEOF
12280 /* end confdefs.h. */
12282 /* Override any gcc2 internal prototype to avoid an error. */
12286 /* We use char because int might match the return type of a gcc2
12287 builtin and then its argument prototype would still apply. */
12297 rm -f conftest.$ac_objext conftest$ac_exeext
12298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12299 (eval $ac_link) 2>conftest.er1
12301 grep -v '^ *+' conftest.er1 >conftest.err
12303 cat conftest.err >&5
12304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12305 (exit $ac_status); } &&
12306 { ac_try='test -z "$ac_c_werror_flag"
12307 || test ! -s conftest.err'
12308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12309 (eval $ac_try) 2>&5
12311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12312 (exit $ac_status); }; } &&
12313 { ac_try='test -s conftest$ac_exeext'
12314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12315 (eval $ac_try) 2>&5
12317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12318 (exit $ac_status); }; }; then
12319 ac_cv_lib_m_atan2=yes
12321 echo "$as_me: failed program was:" >&5
12322 sed 's/^/| /' conftest.$ac_ext >&5
12324 ac_cv_lib_m_atan2=no
12326 rm -f conftest.err conftest.$ac_objext \
12327 conftest$ac_exeext conftest.$ac_ext
12328 LIBS=$ac_check_lib_save_LIBS
12330 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
12331 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
12332 if test $ac_cv_lib_m_atan2 = yes; then
12334 cat >>confdefs.h <<\_ACEOF
12335 #define HAVE_ATAN2 1
12340 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
12341 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
12342 if test "${ac_cv_lib_m_atan2l+set}" = set; then
12343 echo $ECHO_N "(cached) $ECHO_C" >&6
12345 ac_check_lib_save_LIBS=$LIBS
12347 if test x$gcc_no_link = xyes; then
12348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12350 { (exit 1); exit 1; }; }
12352 cat >conftest.$ac_ext <<_ACEOF
12355 cat confdefs.h >>conftest.$ac_ext
12356 cat >>conftest.$ac_ext <<_ACEOF
12357 /* end confdefs.h. */
12359 /* Override any gcc2 internal prototype to avoid an error. */
12363 /* We use char because int might match the return type of a gcc2
12364 builtin and then its argument prototype would still apply. */
12374 rm -f conftest.$ac_objext conftest$ac_exeext
12375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12376 (eval $ac_link) 2>conftest.er1
12378 grep -v '^ *+' conftest.er1 >conftest.err
12380 cat conftest.err >&5
12381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12382 (exit $ac_status); } &&
12383 { ac_try='test -z "$ac_c_werror_flag"
12384 || test ! -s conftest.err'
12385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12386 (eval $ac_try) 2>&5
12388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12389 (exit $ac_status); }; } &&
12390 { ac_try='test -s conftest$ac_exeext'
12391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12392 (eval $ac_try) 2>&5
12394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12395 (exit $ac_status); }; }; then
12396 ac_cv_lib_m_atan2l=yes
12398 echo "$as_me: failed program was:" >&5
12399 sed 's/^/| /' conftest.$ac_ext >&5
12401 ac_cv_lib_m_atan2l=no
12403 rm -f conftest.err conftest.$ac_objext \
12404 conftest$ac_exeext conftest.$ac_ext
12405 LIBS=$ac_check_lib_save_LIBS
12407 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
12408 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
12409 if test $ac_cv_lib_m_atan2l = yes; then
12411 cat >>confdefs.h <<\_ACEOF
12412 #define HAVE_ATAN2L 1
12417 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
12418 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
12419 if test "${ac_cv_lib_m_atanf+set}" = set; then
12420 echo $ECHO_N "(cached) $ECHO_C" >&6
12422 ac_check_lib_save_LIBS=$LIBS
12424 if test x$gcc_no_link = xyes; then
12425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12427 { (exit 1); exit 1; }; }
12429 cat >conftest.$ac_ext <<_ACEOF
12432 cat confdefs.h >>conftest.$ac_ext
12433 cat >>conftest.$ac_ext <<_ACEOF
12434 /* end confdefs.h. */
12436 /* Override any gcc2 internal prototype to avoid an error. */
12440 /* We use char because int might match the return type of a gcc2
12441 builtin and then its argument prototype would still apply. */
12451 rm -f conftest.$ac_objext conftest$ac_exeext
12452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12453 (eval $ac_link) 2>conftest.er1
12455 grep -v '^ *+' conftest.er1 >conftest.err
12457 cat conftest.err >&5
12458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12459 (exit $ac_status); } &&
12460 { ac_try='test -z "$ac_c_werror_flag"
12461 || test ! -s conftest.err'
12462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12463 (eval $ac_try) 2>&5
12465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12466 (exit $ac_status); }; } &&
12467 { ac_try='test -s conftest$ac_exeext'
12468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12469 (eval $ac_try) 2>&5
12471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12472 (exit $ac_status); }; }; then
12473 ac_cv_lib_m_atanf=yes
12475 echo "$as_me: failed program was:" >&5
12476 sed 's/^/| /' conftest.$ac_ext >&5
12478 ac_cv_lib_m_atanf=no
12480 rm -f conftest.err conftest.$ac_objext \
12481 conftest$ac_exeext conftest.$ac_ext
12482 LIBS=$ac_check_lib_save_LIBS
12484 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
12485 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
12486 if test $ac_cv_lib_m_atanf = yes; then
12488 cat >>confdefs.h <<\_ACEOF
12489 #define HAVE_ATANF 1
12494 echo "$as_me:$LINENO: checking for atan in -lm" >&5
12495 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
12496 if test "${ac_cv_lib_m_atan+set}" = set; then
12497 echo $ECHO_N "(cached) $ECHO_C" >&6
12499 ac_check_lib_save_LIBS=$LIBS
12501 if test x$gcc_no_link = xyes; then
12502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12504 { (exit 1); exit 1; }; }
12506 cat >conftest.$ac_ext <<_ACEOF
12509 cat confdefs.h >>conftest.$ac_ext
12510 cat >>conftest.$ac_ext <<_ACEOF
12511 /* end confdefs.h. */
12513 /* Override any gcc2 internal prototype to avoid an error. */
12517 /* We use char because int might match the return type of a gcc2
12518 builtin and then its argument prototype would still apply. */
12528 rm -f conftest.$ac_objext conftest$ac_exeext
12529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12530 (eval $ac_link) 2>conftest.er1
12532 grep -v '^ *+' conftest.er1 >conftest.err
12534 cat conftest.err >&5
12535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12536 (exit $ac_status); } &&
12537 { ac_try='test -z "$ac_c_werror_flag"
12538 || test ! -s conftest.err'
12539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12540 (eval $ac_try) 2>&5
12542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12543 (exit $ac_status); }; } &&
12544 { ac_try='test -s conftest$ac_exeext'
12545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12546 (eval $ac_try) 2>&5
12548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12549 (exit $ac_status); }; }; then
12550 ac_cv_lib_m_atan=yes
12552 echo "$as_me: failed program was:" >&5
12553 sed 's/^/| /' conftest.$ac_ext >&5
12555 ac_cv_lib_m_atan=no
12557 rm -f conftest.err conftest.$ac_objext \
12558 conftest$ac_exeext conftest.$ac_ext
12559 LIBS=$ac_check_lib_save_LIBS
12561 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
12562 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
12563 if test $ac_cv_lib_m_atan = yes; then
12565 cat >>confdefs.h <<\_ACEOF
12566 #define HAVE_ATAN 1
12571 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
12572 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
12573 if test "${ac_cv_lib_m_atanl+set}" = set; then
12574 echo $ECHO_N "(cached) $ECHO_C" >&6
12576 ac_check_lib_save_LIBS=$LIBS
12578 if test x$gcc_no_link = xyes; then
12579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12581 { (exit 1); exit 1; }; }
12583 cat >conftest.$ac_ext <<_ACEOF
12586 cat confdefs.h >>conftest.$ac_ext
12587 cat >>conftest.$ac_ext <<_ACEOF
12588 /* end confdefs.h. */
12590 /* Override any gcc2 internal prototype to avoid an error. */
12594 /* We use char because int might match the return type of a gcc2
12595 builtin and then its argument prototype would still apply. */
12605 rm -f conftest.$ac_objext conftest$ac_exeext
12606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12607 (eval $ac_link) 2>conftest.er1
12609 grep -v '^ *+' conftest.er1 >conftest.err
12611 cat conftest.err >&5
12612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12613 (exit $ac_status); } &&
12614 { ac_try='test -z "$ac_c_werror_flag"
12615 || test ! -s conftest.err'
12616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12617 (eval $ac_try) 2>&5
12619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12620 (exit $ac_status); }; } &&
12621 { ac_try='test -s conftest$ac_exeext'
12622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12623 (eval $ac_try) 2>&5
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); }; }; then
12627 ac_cv_lib_m_atanl=yes
12629 echo "$as_me: failed program was:" >&5
12630 sed 's/^/| /' conftest.$ac_ext >&5
12632 ac_cv_lib_m_atanl=no
12634 rm -f conftest.err conftest.$ac_objext \
12635 conftest$ac_exeext conftest.$ac_ext
12636 LIBS=$ac_check_lib_save_LIBS
12638 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
12639 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
12640 if test $ac_cv_lib_m_atanl = yes; then
12642 cat >>confdefs.h <<\_ACEOF
12643 #define HAVE_ATANL 1
12648 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
12649 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
12650 if test "${ac_cv_lib_m_atanhf+set}" = set; then
12651 echo $ECHO_N "(cached) $ECHO_C" >&6
12653 ac_check_lib_save_LIBS=$LIBS
12655 if test x$gcc_no_link = xyes; then
12656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12658 { (exit 1); exit 1; }; }
12660 cat >conftest.$ac_ext <<_ACEOF
12663 cat confdefs.h >>conftest.$ac_ext
12664 cat >>conftest.$ac_ext <<_ACEOF
12665 /* end confdefs.h. */
12667 /* Override any gcc2 internal prototype to avoid an error. */
12671 /* We use char because int might match the return type of a gcc2
12672 builtin and then its argument prototype would still apply. */
12682 rm -f conftest.$ac_objext conftest$ac_exeext
12683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12684 (eval $ac_link) 2>conftest.er1
12686 grep -v '^ *+' conftest.er1 >conftest.err
12688 cat conftest.err >&5
12689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12690 (exit $ac_status); } &&
12691 { ac_try='test -z "$ac_c_werror_flag"
12692 || test ! -s conftest.err'
12693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12694 (eval $ac_try) 2>&5
12696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12697 (exit $ac_status); }; } &&
12698 { ac_try='test -s conftest$ac_exeext'
12699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12700 (eval $ac_try) 2>&5
12702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12703 (exit $ac_status); }; }; then
12704 ac_cv_lib_m_atanhf=yes
12706 echo "$as_me: failed program was:" >&5
12707 sed 's/^/| /' conftest.$ac_ext >&5
12709 ac_cv_lib_m_atanhf=no
12711 rm -f conftest.err conftest.$ac_objext \
12712 conftest$ac_exeext conftest.$ac_ext
12713 LIBS=$ac_check_lib_save_LIBS
12715 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
12716 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
12717 if test $ac_cv_lib_m_atanhf = yes; then
12719 cat >>confdefs.h <<\_ACEOF
12720 #define HAVE_ATANHF 1
12725 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
12726 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
12727 if test "${ac_cv_lib_m_atanh+set}" = set; then
12728 echo $ECHO_N "(cached) $ECHO_C" >&6
12730 ac_check_lib_save_LIBS=$LIBS
12732 if test x$gcc_no_link = xyes; then
12733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12735 { (exit 1); exit 1; }; }
12737 cat >conftest.$ac_ext <<_ACEOF
12740 cat confdefs.h >>conftest.$ac_ext
12741 cat >>conftest.$ac_ext <<_ACEOF
12742 /* end confdefs.h. */
12744 /* Override any gcc2 internal prototype to avoid an error. */
12748 /* We use char because int might match the return type of a gcc2
12749 builtin and then its argument prototype would still apply. */
12759 rm -f conftest.$ac_objext conftest$ac_exeext
12760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12761 (eval $ac_link) 2>conftest.er1
12763 grep -v '^ *+' conftest.er1 >conftest.err
12765 cat conftest.err >&5
12766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12767 (exit $ac_status); } &&
12768 { ac_try='test -z "$ac_c_werror_flag"
12769 || test ! -s conftest.err'
12770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12771 (eval $ac_try) 2>&5
12773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774 (exit $ac_status); }; } &&
12775 { ac_try='test -s conftest$ac_exeext'
12776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12777 (eval $ac_try) 2>&5
12779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12780 (exit $ac_status); }; }; then
12781 ac_cv_lib_m_atanh=yes
12783 echo "$as_me: failed program was:" >&5
12784 sed 's/^/| /' conftest.$ac_ext >&5
12786 ac_cv_lib_m_atanh=no
12788 rm -f conftest.err conftest.$ac_objext \
12789 conftest$ac_exeext conftest.$ac_ext
12790 LIBS=$ac_check_lib_save_LIBS
12792 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
12793 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
12794 if test $ac_cv_lib_m_atanh = yes; then
12796 cat >>confdefs.h <<\_ACEOF
12797 #define HAVE_ATANH 1
12802 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
12803 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
12804 if test "${ac_cv_lib_m_atanhl+set}" = set; then
12805 echo $ECHO_N "(cached) $ECHO_C" >&6
12807 ac_check_lib_save_LIBS=$LIBS
12809 if test x$gcc_no_link = xyes; then
12810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12812 { (exit 1); exit 1; }; }
12814 cat >conftest.$ac_ext <<_ACEOF
12817 cat confdefs.h >>conftest.$ac_ext
12818 cat >>conftest.$ac_ext <<_ACEOF
12819 /* end confdefs.h. */
12821 /* Override any gcc2 internal prototype to avoid an error. */
12825 /* We use char because int might match the return type of a gcc2
12826 builtin and then its argument prototype would still apply. */
12836 rm -f conftest.$ac_objext conftest$ac_exeext
12837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12838 (eval $ac_link) 2>conftest.er1
12840 grep -v '^ *+' conftest.er1 >conftest.err
12842 cat conftest.err >&5
12843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); } &&
12845 { ac_try='test -z "$ac_c_werror_flag"
12846 || test ! -s conftest.err'
12847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12848 (eval $ac_try) 2>&5
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); }; } &&
12852 { ac_try='test -s conftest$ac_exeext'
12853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12854 (eval $ac_try) 2>&5
12856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12857 (exit $ac_status); }; }; then
12858 ac_cv_lib_m_atanhl=yes
12860 echo "$as_me: failed program was:" >&5
12861 sed 's/^/| /' conftest.$ac_ext >&5
12863 ac_cv_lib_m_atanhl=no
12865 rm -f conftest.err conftest.$ac_objext \
12866 conftest$ac_exeext conftest.$ac_ext
12867 LIBS=$ac_check_lib_save_LIBS
12869 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
12870 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
12871 if test $ac_cv_lib_m_atanhl = yes; then
12873 cat >>confdefs.h <<\_ACEOF
12874 #define HAVE_ATANHL 1
12879 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
12880 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
12881 if test "${ac_cv_lib_m_cargf+set}" = set; then
12882 echo $ECHO_N "(cached) $ECHO_C" >&6
12884 ac_check_lib_save_LIBS=$LIBS
12886 if test x$gcc_no_link = xyes; then
12887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12889 { (exit 1); exit 1; }; }
12891 cat >conftest.$ac_ext <<_ACEOF
12894 cat confdefs.h >>conftest.$ac_ext
12895 cat >>conftest.$ac_ext <<_ACEOF
12896 /* end confdefs.h. */
12898 /* Override any gcc2 internal prototype to avoid an error. */
12902 /* We use char because int might match the return type of a gcc2
12903 builtin and then its argument prototype would still apply. */
12913 rm -f conftest.$ac_objext conftest$ac_exeext
12914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12915 (eval $ac_link) 2>conftest.er1
12917 grep -v '^ *+' conftest.er1 >conftest.err
12919 cat conftest.err >&5
12920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12921 (exit $ac_status); } &&
12922 { ac_try='test -z "$ac_c_werror_flag"
12923 || test ! -s conftest.err'
12924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12925 (eval $ac_try) 2>&5
12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); }; } &&
12929 { ac_try='test -s conftest$ac_exeext'
12930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12931 (eval $ac_try) 2>&5
12933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12934 (exit $ac_status); }; }; then
12935 ac_cv_lib_m_cargf=yes
12937 echo "$as_me: failed program was:" >&5
12938 sed 's/^/| /' conftest.$ac_ext >&5
12940 ac_cv_lib_m_cargf=no
12942 rm -f conftest.err conftest.$ac_objext \
12943 conftest$ac_exeext conftest.$ac_ext
12944 LIBS=$ac_check_lib_save_LIBS
12946 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
12947 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
12948 if test $ac_cv_lib_m_cargf = yes; then
12950 cat >>confdefs.h <<\_ACEOF
12951 #define HAVE_CARGF 1
12956 echo "$as_me:$LINENO: checking for carg in -lm" >&5
12957 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
12958 if test "${ac_cv_lib_m_carg+set}" = set; then
12959 echo $ECHO_N "(cached) $ECHO_C" >&6
12961 ac_check_lib_save_LIBS=$LIBS
12963 if test x$gcc_no_link = xyes; then
12964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12966 { (exit 1); exit 1; }; }
12968 cat >conftest.$ac_ext <<_ACEOF
12971 cat confdefs.h >>conftest.$ac_ext
12972 cat >>conftest.$ac_ext <<_ACEOF
12973 /* end confdefs.h. */
12975 /* Override any gcc2 internal prototype to avoid an error. */
12979 /* We use char because int might match the return type of a gcc2
12980 builtin and then its argument prototype would still apply. */
12990 rm -f conftest.$ac_objext conftest$ac_exeext
12991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12992 (eval $ac_link) 2>conftest.er1
12994 grep -v '^ *+' conftest.er1 >conftest.err
12996 cat conftest.err >&5
12997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); } &&
12999 { ac_try='test -z "$ac_c_werror_flag"
13000 || test ! -s conftest.err'
13001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13002 (eval $ac_try) 2>&5
13004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13005 (exit $ac_status); }; } &&
13006 { ac_try='test -s conftest$ac_exeext'
13007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13008 (eval $ac_try) 2>&5
13010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13011 (exit $ac_status); }; }; then
13012 ac_cv_lib_m_carg=yes
13014 echo "$as_me: failed program was:" >&5
13015 sed 's/^/| /' conftest.$ac_ext >&5
13017 ac_cv_lib_m_carg=no
13019 rm -f conftest.err conftest.$ac_objext \
13020 conftest$ac_exeext conftest.$ac_ext
13021 LIBS=$ac_check_lib_save_LIBS
13023 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
13024 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
13025 if test $ac_cv_lib_m_carg = yes; then
13027 cat >>confdefs.h <<\_ACEOF
13028 #define HAVE_CARG 1
13033 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
13034 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
13035 if test "${ac_cv_lib_m_cargl+set}" = set; then
13036 echo $ECHO_N "(cached) $ECHO_C" >&6
13038 ac_check_lib_save_LIBS=$LIBS
13040 if test x$gcc_no_link = xyes; then
13041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13043 { (exit 1); exit 1; }; }
13045 cat >conftest.$ac_ext <<_ACEOF
13048 cat confdefs.h >>conftest.$ac_ext
13049 cat >>conftest.$ac_ext <<_ACEOF
13050 /* end confdefs.h. */
13052 /* Override any gcc2 internal prototype to avoid an error. */
13056 /* We use char because int might match the return type of a gcc2
13057 builtin and then its argument prototype would still apply. */
13067 rm -f conftest.$ac_objext conftest$ac_exeext
13068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13069 (eval $ac_link) 2>conftest.er1
13071 grep -v '^ *+' conftest.er1 >conftest.err
13073 cat conftest.err >&5
13074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13075 (exit $ac_status); } &&
13076 { ac_try='test -z "$ac_c_werror_flag"
13077 || test ! -s conftest.err'
13078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13079 (eval $ac_try) 2>&5
13081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13082 (exit $ac_status); }; } &&
13083 { ac_try='test -s conftest$ac_exeext'
13084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13085 (eval $ac_try) 2>&5
13087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13088 (exit $ac_status); }; }; then
13089 ac_cv_lib_m_cargl=yes
13091 echo "$as_me: failed program was:" >&5
13092 sed 's/^/| /' conftest.$ac_ext >&5
13094 ac_cv_lib_m_cargl=no
13096 rm -f conftest.err conftest.$ac_objext \
13097 conftest$ac_exeext conftest.$ac_ext
13098 LIBS=$ac_check_lib_save_LIBS
13100 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
13101 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
13102 if test $ac_cv_lib_m_cargl = yes; then
13104 cat >>confdefs.h <<\_ACEOF
13105 #define HAVE_CARGL 1
13110 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
13111 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
13112 if test "${ac_cv_lib_m_ceilf+set}" = set; then
13113 echo $ECHO_N "(cached) $ECHO_C" >&6
13115 ac_check_lib_save_LIBS=$LIBS
13117 if test x$gcc_no_link = xyes; then
13118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13120 { (exit 1); exit 1; }; }
13122 cat >conftest.$ac_ext <<_ACEOF
13125 cat confdefs.h >>conftest.$ac_ext
13126 cat >>conftest.$ac_ext <<_ACEOF
13127 /* end confdefs.h. */
13129 /* Override any gcc2 internal prototype to avoid an error. */
13133 /* We use char because int might match the return type of a gcc2
13134 builtin and then its argument prototype would still apply. */
13144 rm -f conftest.$ac_objext conftest$ac_exeext
13145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13146 (eval $ac_link) 2>conftest.er1
13148 grep -v '^ *+' conftest.er1 >conftest.err
13150 cat conftest.err >&5
13151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13152 (exit $ac_status); } &&
13153 { ac_try='test -z "$ac_c_werror_flag"
13154 || test ! -s conftest.err'
13155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13156 (eval $ac_try) 2>&5
13158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13159 (exit $ac_status); }; } &&
13160 { ac_try='test -s conftest$ac_exeext'
13161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13162 (eval $ac_try) 2>&5
13164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13165 (exit $ac_status); }; }; then
13166 ac_cv_lib_m_ceilf=yes
13168 echo "$as_me: failed program was:" >&5
13169 sed 's/^/| /' conftest.$ac_ext >&5
13171 ac_cv_lib_m_ceilf=no
13173 rm -f conftest.err conftest.$ac_objext \
13174 conftest$ac_exeext conftest.$ac_ext
13175 LIBS=$ac_check_lib_save_LIBS
13177 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
13178 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
13179 if test $ac_cv_lib_m_ceilf = yes; then
13181 cat >>confdefs.h <<\_ACEOF
13182 #define HAVE_CEILF 1
13187 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
13188 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
13189 if test "${ac_cv_lib_m_ceil+set}" = set; then
13190 echo $ECHO_N "(cached) $ECHO_C" >&6
13192 ac_check_lib_save_LIBS=$LIBS
13194 if test x$gcc_no_link = xyes; then
13195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13197 { (exit 1); exit 1; }; }
13199 cat >conftest.$ac_ext <<_ACEOF
13202 cat confdefs.h >>conftest.$ac_ext
13203 cat >>conftest.$ac_ext <<_ACEOF
13204 /* end confdefs.h. */
13206 /* Override any gcc2 internal prototype to avoid an error. */
13210 /* We use char because int might match the return type of a gcc2
13211 builtin and then its argument prototype would still apply. */
13221 rm -f conftest.$ac_objext conftest$ac_exeext
13222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13223 (eval $ac_link) 2>conftest.er1
13225 grep -v '^ *+' conftest.er1 >conftest.err
13227 cat conftest.err >&5
13228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13229 (exit $ac_status); } &&
13230 { ac_try='test -z "$ac_c_werror_flag"
13231 || test ! -s conftest.err'
13232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13233 (eval $ac_try) 2>&5
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); }; } &&
13237 { ac_try='test -s conftest$ac_exeext'
13238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13239 (eval $ac_try) 2>&5
13241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242 (exit $ac_status); }; }; then
13243 ac_cv_lib_m_ceil=yes
13245 echo "$as_me: failed program was:" >&5
13246 sed 's/^/| /' conftest.$ac_ext >&5
13248 ac_cv_lib_m_ceil=no
13250 rm -f conftest.err conftest.$ac_objext \
13251 conftest$ac_exeext conftest.$ac_ext
13252 LIBS=$ac_check_lib_save_LIBS
13254 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
13255 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
13256 if test $ac_cv_lib_m_ceil = yes; then
13258 cat >>confdefs.h <<\_ACEOF
13259 #define HAVE_CEIL 1
13264 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
13265 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
13266 if test "${ac_cv_lib_m_ceill+set}" = set; then
13267 echo $ECHO_N "(cached) $ECHO_C" >&6
13269 ac_check_lib_save_LIBS=$LIBS
13271 if test x$gcc_no_link = xyes; then
13272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13274 { (exit 1); exit 1; }; }
13276 cat >conftest.$ac_ext <<_ACEOF
13279 cat confdefs.h >>conftest.$ac_ext
13280 cat >>conftest.$ac_ext <<_ACEOF
13281 /* end confdefs.h. */
13283 /* Override any gcc2 internal prototype to avoid an error. */
13287 /* We use char because int might match the return type of a gcc2
13288 builtin and then its argument prototype would still apply. */
13298 rm -f conftest.$ac_objext conftest$ac_exeext
13299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13300 (eval $ac_link) 2>conftest.er1
13302 grep -v '^ *+' conftest.er1 >conftest.err
13304 cat conftest.err >&5
13305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13306 (exit $ac_status); } &&
13307 { ac_try='test -z "$ac_c_werror_flag"
13308 || test ! -s conftest.err'
13309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13310 (eval $ac_try) 2>&5
13312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13313 (exit $ac_status); }; } &&
13314 { ac_try='test -s conftest$ac_exeext'
13315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13316 (eval $ac_try) 2>&5
13318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13319 (exit $ac_status); }; }; then
13320 ac_cv_lib_m_ceill=yes
13322 echo "$as_me: failed program was:" >&5
13323 sed 's/^/| /' conftest.$ac_ext >&5
13325 ac_cv_lib_m_ceill=no
13327 rm -f conftest.err conftest.$ac_objext \
13328 conftest$ac_exeext conftest.$ac_ext
13329 LIBS=$ac_check_lib_save_LIBS
13331 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
13332 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
13333 if test $ac_cv_lib_m_ceill = yes; then
13335 cat >>confdefs.h <<\_ACEOF
13336 #define HAVE_CEILL 1
13341 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
13342 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
13343 if test "${ac_cv_lib_m_copysignf+set}" = set; then
13344 echo $ECHO_N "(cached) $ECHO_C" >&6
13346 ac_check_lib_save_LIBS=$LIBS
13348 if test x$gcc_no_link = xyes; then
13349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13351 { (exit 1); exit 1; }; }
13353 cat >conftest.$ac_ext <<_ACEOF
13356 cat confdefs.h >>conftest.$ac_ext
13357 cat >>conftest.$ac_ext <<_ACEOF
13358 /* end confdefs.h. */
13360 /* Override any gcc2 internal prototype to avoid an error. */
13364 /* We use char because int might match the return type of a gcc2
13365 builtin and then its argument prototype would still apply. */
13375 rm -f conftest.$ac_objext conftest$ac_exeext
13376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13377 (eval $ac_link) 2>conftest.er1
13379 grep -v '^ *+' conftest.er1 >conftest.err
13381 cat conftest.err >&5
13382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13383 (exit $ac_status); } &&
13384 { ac_try='test -z "$ac_c_werror_flag"
13385 || test ! -s conftest.err'
13386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13387 (eval $ac_try) 2>&5
13389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13390 (exit $ac_status); }; } &&
13391 { ac_try='test -s conftest$ac_exeext'
13392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13393 (eval $ac_try) 2>&5
13395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13396 (exit $ac_status); }; }; then
13397 ac_cv_lib_m_copysignf=yes
13399 echo "$as_me: failed program was:" >&5
13400 sed 's/^/| /' conftest.$ac_ext >&5
13402 ac_cv_lib_m_copysignf=no
13404 rm -f conftest.err conftest.$ac_objext \
13405 conftest$ac_exeext conftest.$ac_ext
13406 LIBS=$ac_check_lib_save_LIBS
13408 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
13409 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
13410 if test $ac_cv_lib_m_copysignf = yes; then
13412 cat >>confdefs.h <<\_ACEOF
13413 #define HAVE_COPYSIGNF 1
13418 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
13419 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
13420 if test "${ac_cv_lib_m_copysign+set}" = set; then
13421 echo $ECHO_N "(cached) $ECHO_C" >&6
13423 ac_check_lib_save_LIBS=$LIBS
13425 if test x$gcc_no_link = xyes; then
13426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13428 { (exit 1); exit 1; }; }
13430 cat >conftest.$ac_ext <<_ACEOF
13433 cat confdefs.h >>conftest.$ac_ext
13434 cat >>conftest.$ac_ext <<_ACEOF
13435 /* end confdefs.h. */
13437 /* Override any gcc2 internal prototype to avoid an error. */
13441 /* We use char because int might match the return type of a gcc2
13442 builtin and then its argument prototype would still apply. */
13452 rm -f conftest.$ac_objext conftest$ac_exeext
13453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13454 (eval $ac_link) 2>conftest.er1
13456 grep -v '^ *+' conftest.er1 >conftest.err
13458 cat conftest.err >&5
13459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13460 (exit $ac_status); } &&
13461 { ac_try='test -z "$ac_c_werror_flag"
13462 || test ! -s conftest.err'
13463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13464 (eval $ac_try) 2>&5
13466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467 (exit $ac_status); }; } &&
13468 { ac_try='test -s conftest$ac_exeext'
13469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13470 (eval $ac_try) 2>&5
13472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473 (exit $ac_status); }; }; then
13474 ac_cv_lib_m_copysign=yes
13476 echo "$as_me: failed program was:" >&5
13477 sed 's/^/| /' conftest.$ac_ext >&5
13479 ac_cv_lib_m_copysign=no
13481 rm -f conftest.err conftest.$ac_objext \
13482 conftest$ac_exeext conftest.$ac_ext
13483 LIBS=$ac_check_lib_save_LIBS
13485 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
13486 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
13487 if test $ac_cv_lib_m_copysign = yes; then
13489 cat >>confdefs.h <<\_ACEOF
13490 #define HAVE_COPYSIGN 1
13495 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
13496 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
13497 if test "${ac_cv_lib_m_copysignl+set}" = set; then
13498 echo $ECHO_N "(cached) $ECHO_C" >&6
13500 ac_check_lib_save_LIBS=$LIBS
13502 if test x$gcc_no_link = xyes; then
13503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13505 { (exit 1); exit 1; }; }
13507 cat >conftest.$ac_ext <<_ACEOF
13510 cat confdefs.h >>conftest.$ac_ext
13511 cat >>conftest.$ac_ext <<_ACEOF
13512 /* end confdefs.h. */
13514 /* Override any gcc2 internal prototype to avoid an error. */
13518 /* We use char because int might match the return type of a gcc2
13519 builtin and then its argument prototype would still apply. */
13529 rm -f conftest.$ac_objext conftest$ac_exeext
13530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13531 (eval $ac_link) 2>conftest.er1
13533 grep -v '^ *+' conftest.er1 >conftest.err
13535 cat conftest.err >&5
13536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13537 (exit $ac_status); } &&
13538 { ac_try='test -z "$ac_c_werror_flag"
13539 || test ! -s conftest.err'
13540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13541 (eval $ac_try) 2>&5
13543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13544 (exit $ac_status); }; } &&
13545 { ac_try='test -s conftest$ac_exeext'
13546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13547 (eval $ac_try) 2>&5
13549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13550 (exit $ac_status); }; }; then
13551 ac_cv_lib_m_copysignl=yes
13553 echo "$as_me: failed program was:" >&5
13554 sed 's/^/| /' conftest.$ac_ext >&5
13556 ac_cv_lib_m_copysignl=no
13558 rm -f conftest.err conftest.$ac_objext \
13559 conftest$ac_exeext conftest.$ac_ext
13560 LIBS=$ac_check_lib_save_LIBS
13562 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
13563 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
13564 if test $ac_cv_lib_m_copysignl = yes; then
13566 cat >>confdefs.h <<\_ACEOF
13567 #define HAVE_COPYSIGNL 1
13572 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
13573 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
13574 if test "${ac_cv_lib_m_cosf+set}" = set; then
13575 echo $ECHO_N "(cached) $ECHO_C" >&6
13577 ac_check_lib_save_LIBS=$LIBS
13579 if test x$gcc_no_link = xyes; then
13580 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13582 { (exit 1); exit 1; }; }
13584 cat >conftest.$ac_ext <<_ACEOF
13587 cat confdefs.h >>conftest.$ac_ext
13588 cat >>conftest.$ac_ext <<_ACEOF
13589 /* end confdefs.h. */
13591 /* Override any gcc2 internal prototype to avoid an error. */
13595 /* We use char because int might match the return type of a gcc2
13596 builtin and then its argument prototype would still apply. */
13606 rm -f conftest.$ac_objext conftest$ac_exeext
13607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13608 (eval $ac_link) 2>conftest.er1
13610 grep -v '^ *+' conftest.er1 >conftest.err
13612 cat conftest.err >&5
13613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13614 (exit $ac_status); } &&
13615 { ac_try='test -z "$ac_c_werror_flag"
13616 || test ! -s conftest.err'
13617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13618 (eval $ac_try) 2>&5
13620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621 (exit $ac_status); }; } &&
13622 { ac_try='test -s conftest$ac_exeext'
13623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13624 (eval $ac_try) 2>&5
13626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13627 (exit $ac_status); }; }; then
13628 ac_cv_lib_m_cosf=yes
13630 echo "$as_me: failed program was:" >&5
13631 sed 's/^/| /' conftest.$ac_ext >&5
13633 ac_cv_lib_m_cosf=no
13635 rm -f conftest.err conftest.$ac_objext \
13636 conftest$ac_exeext conftest.$ac_ext
13637 LIBS=$ac_check_lib_save_LIBS
13639 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
13640 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
13641 if test $ac_cv_lib_m_cosf = yes; then
13643 cat >>confdefs.h <<\_ACEOF
13644 #define HAVE_COSF 1
13649 echo "$as_me:$LINENO: checking for cos in -lm" >&5
13650 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
13651 if test "${ac_cv_lib_m_cos+set}" = set; then
13652 echo $ECHO_N "(cached) $ECHO_C" >&6
13654 ac_check_lib_save_LIBS=$LIBS
13656 if test x$gcc_no_link = xyes; then
13657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13659 { (exit 1); exit 1; }; }
13661 cat >conftest.$ac_ext <<_ACEOF
13664 cat confdefs.h >>conftest.$ac_ext
13665 cat >>conftest.$ac_ext <<_ACEOF
13666 /* end confdefs.h. */
13668 /* Override any gcc2 internal prototype to avoid an error. */
13672 /* We use char because int might match the return type of a gcc2
13673 builtin and then its argument prototype would still apply. */
13683 rm -f conftest.$ac_objext conftest$ac_exeext
13684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13685 (eval $ac_link) 2>conftest.er1
13687 grep -v '^ *+' conftest.er1 >conftest.err
13689 cat conftest.err >&5
13690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13691 (exit $ac_status); } &&
13692 { ac_try='test -z "$ac_c_werror_flag"
13693 || test ! -s conftest.err'
13694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13695 (eval $ac_try) 2>&5
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698 (exit $ac_status); }; } &&
13699 { ac_try='test -s conftest$ac_exeext'
13700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13701 (eval $ac_try) 2>&5
13703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13704 (exit $ac_status); }; }; then
13705 ac_cv_lib_m_cos=yes
13707 echo "$as_me: failed program was:" >&5
13708 sed 's/^/| /' conftest.$ac_ext >&5
13712 rm -f conftest.err conftest.$ac_objext \
13713 conftest$ac_exeext conftest.$ac_ext
13714 LIBS=$ac_check_lib_save_LIBS
13716 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
13717 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
13718 if test $ac_cv_lib_m_cos = yes; then
13720 cat >>confdefs.h <<\_ACEOF
13726 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
13727 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
13728 if test "${ac_cv_lib_m_cosl+set}" = set; then
13729 echo $ECHO_N "(cached) $ECHO_C" >&6
13731 ac_check_lib_save_LIBS=$LIBS
13733 if test x$gcc_no_link = xyes; then
13734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13736 { (exit 1); exit 1; }; }
13738 cat >conftest.$ac_ext <<_ACEOF
13741 cat confdefs.h >>conftest.$ac_ext
13742 cat >>conftest.$ac_ext <<_ACEOF
13743 /* end confdefs.h. */
13745 /* Override any gcc2 internal prototype to avoid an error. */
13749 /* We use char because int might match the return type of a gcc2
13750 builtin and then its argument prototype would still apply. */
13760 rm -f conftest.$ac_objext conftest$ac_exeext
13761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13762 (eval $ac_link) 2>conftest.er1
13764 grep -v '^ *+' conftest.er1 >conftest.err
13766 cat conftest.err >&5
13767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13768 (exit $ac_status); } &&
13769 { ac_try='test -z "$ac_c_werror_flag"
13770 || test ! -s conftest.err'
13771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13772 (eval $ac_try) 2>&5
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13775 (exit $ac_status); }; } &&
13776 { ac_try='test -s conftest$ac_exeext'
13777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13778 (eval $ac_try) 2>&5
13780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13781 (exit $ac_status); }; }; then
13782 ac_cv_lib_m_cosl=yes
13784 echo "$as_me: failed program was:" >&5
13785 sed 's/^/| /' conftest.$ac_ext >&5
13787 ac_cv_lib_m_cosl=no
13789 rm -f conftest.err conftest.$ac_objext \
13790 conftest$ac_exeext conftest.$ac_ext
13791 LIBS=$ac_check_lib_save_LIBS
13793 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
13794 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
13795 if test $ac_cv_lib_m_cosl = yes; then
13797 cat >>confdefs.h <<\_ACEOF
13798 #define HAVE_COSL 1
13803 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
13804 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
13805 if test "${ac_cv_lib_m_ccosf+set}" = set; then
13806 echo $ECHO_N "(cached) $ECHO_C" >&6
13808 ac_check_lib_save_LIBS=$LIBS
13810 if test x$gcc_no_link = xyes; then
13811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13813 { (exit 1); exit 1; }; }
13815 cat >conftest.$ac_ext <<_ACEOF
13818 cat confdefs.h >>conftest.$ac_ext
13819 cat >>conftest.$ac_ext <<_ACEOF
13820 /* end confdefs.h. */
13822 /* Override any gcc2 internal prototype to avoid an error. */
13826 /* We use char because int might match the return type of a gcc2
13827 builtin and then its argument prototype would still apply. */
13837 rm -f conftest.$ac_objext conftest$ac_exeext
13838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13839 (eval $ac_link) 2>conftest.er1
13841 grep -v '^ *+' conftest.er1 >conftest.err
13843 cat conftest.err >&5
13844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845 (exit $ac_status); } &&
13846 { ac_try='test -z "$ac_c_werror_flag"
13847 || test ! -s conftest.err'
13848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13849 (eval $ac_try) 2>&5
13851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13852 (exit $ac_status); }; } &&
13853 { ac_try='test -s conftest$ac_exeext'
13854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13855 (eval $ac_try) 2>&5
13857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13858 (exit $ac_status); }; }; then
13859 ac_cv_lib_m_ccosf=yes
13861 echo "$as_me: failed program was:" >&5
13862 sed 's/^/| /' conftest.$ac_ext >&5
13864 ac_cv_lib_m_ccosf=no
13866 rm -f conftest.err conftest.$ac_objext \
13867 conftest$ac_exeext conftest.$ac_ext
13868 LIBS=$ac_check_lib_save_LIBS
13870 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
13871 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
13872 if test $ac_cv_lib_m_ccosf = yes; then
13874 cat >>confdefs.h <<\_ACEOF
13875 #define HAVE_CCOSF 1
13880 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
13881 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
13882 if test "${ac_cv_lib_m_ccos+set}" = set; then
13883 echo $ECHO_N "(cached) $ECHO_C" >&6
13885 ac_check_lib_save_LIBS=$LIBS
13887 if test x$gcc_no_link = xyes; then
13888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13890 { (exit 1); exit 1; }; }
13892 cat >conftest.$ac_ext <<_ACEOF
13895 cat confdefs.h >>conftest.$ac_ext
13896 cat >>conftest.$ac_ext <<_ACEOF
13897 /* end confdefs.h. */
13899 /* Override any gcc2 internal prototype to avoid an error. */
13903 /* We use char because int might match the return type of a gcc2
13904 builtin and then its argument prototype would still apply. */
13914 rm -f conftest.$ac_objext conftest$ac_exeext
13915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13916 (eval $ac_link) 2>conftest.er1
13918 grep -v '^ *+' conftest.er1 >conftest.err
13920 cat conftest.err >&5
13921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13922 (exit $ac_status); } &&
13923 { ac_try='test -z "$ac_c_werror_flag"
13924 || test ! -s conftest.err'
13925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13926 (eval $ac_try) 2>&5
13928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929 (exit $ac_status); }; } &&
13930 { ac_try='test -s conftest$ac_exeext'
13931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13932 (eval $ac_try) 2>&5
13934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13935 (exit $ac_status); }; }; then
13936 ac_cv_lib_m_ccos=yes
13938 echo "$as_me: failed program was:" >&5
13939 sed 's/^/| /' conftest.$ac_ext >&5
13941 ac_cv_lib_m_ccos=no
13943 rm -f conftest.err conftest.$ac_objext \
13944 conftest$ac_exeext conftest.$ac_ext
13945 LIBS=$ac_check_lib_save_LIBS
13947 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
13948 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
13949 if test $ac_cv_lib_m_ccos = yes; then
13951 cat >>confdefs.h <<\_ACEOF
13952 #define HAVE_CCOS 1
13957 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
13958 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
13959 if test "${ac_cv_lib_m_ccosl+set}" = set; then
13960 echo $ECHO_N "(cached) $ECHO_C" >&6
13962 ac_check_lib_save_LIBS=$LIBS
13964 if test x$gcc_no_link = xyes; then
13965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13967 { (exit 1); exit 1; }; }
13969 cat >conftest.$ac_ext <<_ACEOF
13972 cat confdefs.h >>conftest.$ac_ext
13973 cat >>conftest.$ac_ext <<_ACEOF
13974 /* end confdefs.h. */
13976 /* Override any gcc2 internal prototype to avoid an error. */
13980 /* We use char because int might match the return type of a gcc2
13981 builtin and then its argument prototype would still apply. */
13991 rm -f conftest.$ac_objext conftest$ac_exeext
13992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13993 (eval $ac_link) 2>conftest.er1
13995 grep -v '^ *+' conftest.er1 >conftest.err
13997 cat conftest.err >&5
13998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13999 (exit $ac_status); } &&
14000 { ac_try='test -z "$ac_c_werror_flag"
14001 || test ! -s conftest.err'
14002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14003 (eval $ac_try) 2>&5
14005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14006 (exit $ac_status); }; } &&
14007 { ac_try='test -s conftest$ac_exeext'
14008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14009 (eval $ac_try) 2>&5
14011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14012 (exit $ac_status); }; }; then
14013 ac_cv_lib_m_ccosl=yes
14015 echo "$as_me: failed program was:" >&5
14016 sed 's/^/| /' conftest.$ac_ext >&5
14018 ac_cv_lib_m_ccosl=no
14020 rm -f conftest.err conftest.$ac_objext \
14021 conftest$ac_exeext conftest.$ac_ext
14022 LIBS=$ac_check_lib_save_LIBS
14024 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
14025 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
14026 if test $ac_cv_lib_m_ccosl = yes; then
14028 cat >>confdefs.h <<\_ACEOF
14029 #define HAVE_CCOSL 1
14034 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
14035 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
14036 if test "${ac_cv_lib_m_coshf+set}" = set; then
14037 echo $ECHO_N "(cached) $ECHO_C" >&6
14039 ac_check_lib_save_LIBS=$LIBS
14041 if test x$gcc_no_link = xyes; then
14042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14044 { (exit 1); exit 1; }; }
14046 cat >conftest.$ac_ext <<_ACEOF
14049 cat confdefs.h >>conftest.$ac_ext
14050 cat >>conftest.$ac_ext <<_ACEOF
14051 /* end confdefs.h. */
14053 /* Override any gcc2 internal prototype to avoid an error. */
14057 /* We use char because int might match the return type of a gcc2
14058 builtin and then its argument prototype would still apply. */
14068 rm -f conftest.$ac_objext conftest$ac_exeext
14069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14070 (eval $ac_link) 2>conftest.er1
14072 grep -v '^ *+' conftest.er1 >conftest.err
14074 cat conftest.err >&5
14075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14076 (exit $ac_status); } &&
14077 { ac_try='test -z "$ac_c_werror_flag"
14078 || test ! -s conftest.err'
14079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14080 (eval $ac_try) 2>&5
14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); }; } &&
14084 { ac_try='test -s conftest$ac_exeext'
14085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14086 (eval $ac_try) 2>&5
14088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14089 (exit $ac_status); }; }; then
14090 ac_cv_lib_m_coshf=yes
14092 echo "$as_me: failed program was:" >&5
14093 sed 's/^/| /' conftest.$ac_ext >&5
14095 ac_cv_lib_m_coshf=no
14097 rm -f conftest.err conftest.$ac_objext \
14098 conftest$ac_exeext conftest.$ac_ext
14099 LIBS=$ac_check_lib_save_LIBS
14101 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
14102 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
14103 if test $ac_cv_lib_m_coshf = yes; then
14105 cat >>confdefs.h <<\_ACEOF
14106 #define HAVE_COSHF 1
14111 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
14112 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
14113 if test "${ac_cv_lib_m_cosh+set}" = set; then
14114 echo $ECHO_N "(cached) $ECHO_C" >&6
14116 ac_check_lib_save_LIBS=$LIBS
14118 if test x$gcc_no_link = xyes; then
14119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14121 { (exit 1); exit 1; }; }
14123 cat >conftest.$ac_ext <<_ACEOF
14126 cat confdefs.h >>conftest.$ac_ext
14127 cat >>conftest.$ac_ext <<_ACEOF
14128 /* end confdefs.h. */
14130 /* Override any gcc2 internal prototype to avoid an error. */
14134 /* We use char because int might match the return type of a gcc2
14135 builtin and then its argument prototype would still apply. */
14145 rm -f conftest.$ac_objext conftest$ac_exeext
14146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14147 (eval $ac_link) 2>conftest.er1
14149 grep -v '^ *+' conftest.er1 >conftest.err
14151 cat conftest.err >&5
14152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14153 (exit $ac_status); } &&
14154 { ac_try='test -z "$ac_c_werror_flag"
14155 || test ! -s conftest.err'
14156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14157 (eval $ac_try) 2>&5
14159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160 (exit $ac_status); }; } &&
14161 { ac_try='test -s conftest$ac_exeext'
14162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14163 (eval $ac_try) 2>&5
14165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166 (exit $ac_status); }; }; then
14167 ac_cv_lib_m_cosh=yes
14169 echo "$as_me: failed program was:" >&5
14170 sed 's/^/| /' conftest.$ac_ext >&5
14172 ac_cv_lib_m_cosh=no
14174 rm -f conftest.err conftest.$ac_objext \
14175 conftest$ac_exeext conftest.$ac_ext
14176 LIBS=$ac_check_lib_save_LIBS
14178 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
14179 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
14180 if test $ac_cv_lib_m_cosh = yes; then
14182 cat >>confdefs.h <<\_ACEOF
14183 #define HAVE_COSH 1
14188 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
14189 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
14190 if test "${ac_cv_lib_m_coshl+set}" = set; then
14191 echo $ECHO_N "(cached) $ECHO_C" >&6
14193 ac_check_lib_save_LIBS=$LIBS
14195 if test x$gcc_no_link = xyes; then
14196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14198 { (exit 1); exit 1; }; }
14200 cat >conftest.$ac_ext <<_ACEOF
14203 cat confdefs.h >>conftest.$ac_ext
14204 cat >>conftest.$ac_ext <<_ACEOF
14205 /* end confdefs.h. */
14207 /* Override any gcc2 internal prototype to avoid an error. */
14211 /* We use char because int might match the return type of a gcc2
14212 builtin and then its argument prototype would still apply. */
14222 rm -f conftest.$ac_objext conftest$ac_exeext
14223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14224 (eval $ac_link) 2>conftest.er1
14226 grep -v '^ *+' conftest.er1 >conftest.err
14228 cat conftest.err >&5
14229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14230 (exit $ac_status); } &&
14231 { ac_try='test -z "$ac_c_werror_flag"
14232 || test ! -s conftest.err'
14233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14234 (eval $ac_try) 2>&5
14236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); }; } &&
14238 { ac_try='test -s conftest$ac_exeext'
14239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14240 (eval $ac_try) 2>&5
14242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14243 (exit $ac_status); }; }; then
14244 ac_cv_lib_m_coshl=yes
14246 echo "$as_me: failed program was:" >&5
14247 sed 's/^/| /' conftest.$ac_ext >&5
14249 ac_cv_lib_m_coshl=no
14251 rm -f conftest.err conftest.$ac_objext \
14252 conftest$ac_exeext conftest.$ac_ext
14253 LIBS=$ac_check_lib_save_LIBS
14255 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
14256 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
14257 if test $ac_cv_lib_m_coshl = yes; then
14259 cat >>confdefs.h <<\_ACEOF
14260 #define HAVE_COSHL 1
14265 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
14266 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
14267 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
14268 echo $ECHO_N "(cached) $ECHO_C" >&6
14270 ac_check_lib_save_LIBS=$LIBS
14272 if test x$gcc_no_link = xyes; then
14273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14275 { (exit 1); exit 1; }; }
14277 cat >conftest.$ac_ext <<_ACEOF
14280 cat confdefs.h >>conftest.$ac_ext
14281 cat >>conftest.$ac_ext <<_ACEOF
14282 /* end confdefs.h. */
14284 /* Override any gcc2 internal prototype to avoid an error. */
14288 /* We use char because int might match the return type of a gcc2
14289 builtin and then its argument prototype would still apply. */
14299 rm -f conftest.$ac_objext conftest$ac_exeext
14300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14301 (eval $ac_link) 2>conftest.er1
14303 grep -v '^ *+' conftest.er1 >conftest.err
14305 cat conftest.err >&5
14306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14307 (exit $ac_status); } &&
14308 { ac_try='test -z "$ac_c_werror_flag"
14309 || test ! -s conftest.err'
14310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14311 (eval $ac_try) 2>&5
14313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14314 (exit $ac_status); }; } &&
14315 { ac_try='test -s conftest$ac_exeext'
14316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14317 (eval $ac_try) 2>&5
14319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14320 (exit $ac_status); }; }; then
14321 ac_cv_lib_m_ccoshf=yes
14323 echo "$as_me: failed program was:" >&5
14324 sed 's/^/| /' conftest.$ac_ext >&5
14326 ac_cv_lib_m_ccoshf=no
14328 rm -f conftest.err conftest.$ac_objext \
14329 conftest$ac_exeext conftest.$ac_ext
14330 LIBS=$ac_check_lib_save_LIBS
14332 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
14333 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
14334 if test $ac_cv_lib_m_ccoshf = yes; then
14336 cat >>confdefs.h <<\_ACEOF
14337 #define HAVE_CCOSHF 1
14342 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
14343 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
14344 if test "${ac_cv_lib_m_ccosh+set}" = set; then
14345 echo $ECHO_N "(cached) $ECHO_C" >&6
14347 ac_check_lib_save_LIBS=$LIBS
14349 if test x$gcc_no_link = xyes; then
14350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14352 { (exit 1); exit 1; }; }
14354 cat >conftest.$ac_ext <<_ACEOF
14357 cat confdefs.h >>conftest.$ac_ext
14358 cat >>conftest.$ac_ext <<_ACEOF
14359 /* end confdefs.h. */
14361 /* Override any gcc2 internal prototype to avoid an error. */
14365 /* We use char because int might match the return type of a gcc2
14366 builtin and then its argument prototype would still apply. */
14376 rm -f conftest.$ac_objext conftest$ac_exeext
14377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14378 (eval $ac_link) 2>conftest.er1
14380 grep -v '^ *+' conftest.er1 >conftest.err
14382 cat conftest.err >&5
14383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14384 (exit $ac_status); } &&
14385 { ac_try='test -z "$ac_c_werror_flag"
14386 || test ! -s conftest.err'
14387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14388 (eval $ac_try) 2>&5
14390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14391 (exit $ac_status); }; } &&
14392 { ac_try='test -s conftest$ac_exeext'
14393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14394 (eval $ac_try) 2>&5
14396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14397 (exit $ac_status); }; }; then
14398 ac_cv_lib_m_ccosh=yes
14400 echo "$as_me: failed program was:" >&5
14401 sed 's/^/| /' conftest.$ac_ext >&5
14403 ac_cv_lib_m_ccosh=no
14405 rm -f conftest.err conftest.$ac_objext \
14406 conftest$ac_exeext conftest.$ac_ext
14407 LIBS=$ac_check_lib_save_LIBS
14409 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
14410 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
14411 if test $ac_cv_lib_m_ccosh = yes; then
14413 cat >>confdefs.h <<\_ACEOF
14414 #define HAVE_CCOSH 1
14419 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
14420 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
14421 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
14422 echo $ECHO_N "(cached) $ECHO_C" >&6
14424 ac_check_lib_save_LIBS=$LIBS
14426 if test x$gcc_no_link = xyes; then
14427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14429 { (exit 1); exit 1; }; }
14431 cat >conftest.$ac_ext <<_ACEOF
14434 cat confdefs.h >>conftest.$ac_ext
14435 cat >>conftest.$ac_ext <<_ACEOF
14436 /* end confdefs.h. */
14438 /* Override any gcc2 internal prototype to avoid an error. */
14442 /* We use char because int might match the return type of a gcc2
14443 builtin and then its argument prototype would still apply. */
14453 rm -f conftest.$ac_objext conftest$ac_exeext
14454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14455 (eval $ac_link) 2>conftest.er1
14457 grep -v '^ *+' conftest.er1 >conftest.err
14459 cat conftest.err >&5
14460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14461 (exit $ac_status); } &&
14462 { ac_try='test -z "$ac_c_werror_flag"
14463 || test ! -s conftest.err'
14464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14465 (eval $ac_try) 2>&5
14467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14468 (exit $ac_status); }; } &&
14469 { ac_try='test -s conftest$ac_exeext'
14470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14471 (eval $ac_try) 2>&5
14473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14474 (exit $ac_status); }; }; then
14475 ac_cv_lib_m_ccoshl=yes
14477 echo "$as_me: failed program was:" >&5
14478 sed 's/^/| /' conftest.$ac_ext >&5
14480 ac_cv_lib_m_ccoshl=no
14482 rm -f conftest.err conftest.$ac_objext \
14483 conftest$ac_exeext conftest.$ac_ext
14484 LIBS=$ac_check_lib_save_LIBS
14486 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
14487 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
14488 if test $ac_cv_lib_m_ccoshl = yes; then
14490 cat >>confdefs.h <<\_ACEOF
14491 #define HAVE_CCOSHL 1
14496 echo "$as_me:$LINENO: checking for expf in -lm" >&5
14497 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
14498 if test "${ac_cv_lib_m_expf+set}" = set; then
14499 echo $ECHO_N "(cached) $ECHO_C" >&6
14501 ac_check_lib_save_LIBS=$LIBS
14503 if test x$gcc_no_link = xyes; then
14504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14506 { (exit 1); exit 1; }; }
14508 cat >conftest.$ac_ext <<_ACEOF
14511 cat confdefs.h >>conftest.$ac_ext
14512 cat >>conftest.$ac_ext <<_ACEOF
14513 /* end confdefs.h. */
14515 /* Override any gcc2 internal prototype to avoid an error. */
14519 /* We use char because int might match the return type of a gcc2
14520 builtin and then its argument prototype would still apply. */
14530 rm -f conftest.$ac_objext conftest$ac_exeext
14531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14532 (eval $ac_link) 2>conftest.er1
14534 grep -v '^ *+' conftest.er1 >conftest.err
14536 cat conftest.err >&5
14537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538 (exit $ac_status); } &&
14539 { ac_try='test -z "$ac_c_werror_flag"
14540 || test ! -s conftest.err'
14541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14542 (eval $ac_try) 2>&5
14544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14545 (exit $ac_status); }; } &&
14546 { ac_try='test -s conftest$ac_exeext'
14547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14548 (eval $ac_try) 2>&5
14550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14551 (exit $ac_status); }; }; then
14552 ac_cv_lib_m_expf=yes
14554 echo "$as_me: failed program was:" >&5
14555 sed 's/^/| /' conftest.$ac_ext >&5
14557 ac_cv_lib_m_expf=no
14559 rm -f conftest.err conftest.$ac_objext \
14560 conftest$ac_exeext conftest.$ac_ext
14561 LIBS=$ac_check_lib_save_LIBS
14563 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
14564 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
14565 if test $ac_cv_lib_m_expf = yes; then
14567 cat >>confdefs.h <<\_ACEOF
14568 #define HAVE_EXPF 1
14573 echo "$as_me:$LINENO: checking for exp in -lm" >&5
14574 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
14575 if test "${ac_cv_lib_m_exp+set}" = set; then
14576 echo $ECHO_N "(cached) $ECHO_C" >&6
14578 ac_check_lib_save_LIBS=$LIBS
14580 if test x$gcc_no_link = xyes; then
14581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14583 { (exit 1); exit 1; }; }
14585 cat >conftest.$ac_ext <<_ACEOF
14588 cat confdefs.h >>conftest.$ac_ext
14589 cat >>conftest.$ac_ext <<_ACEOF
14590 /* end confdefs.h. */
14592 /* Override any gcc2 internal prototype to avoid an error. */
14596 /* We use char because int might match the return type of a gcc2
14597 builtin and then its argument prototype would still apply. */
14607 rm -f conftest.$ac_objext conftest$ac_exeext
14608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14609 (eval $ac_link) 2>conftest.er1
14611 grep -v '^ *+' conftest.er1 >conftest.err
14613 cat conftest.err >&5
14614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14615 (exit $ac_status); } &&
14616 { ac_try='test -z "$ac_c_werror_flag"
14617 || test ! -s conftest.err'
14618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14619 (eval $ac_try) 2>&5
14621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14622 (exit $ac_status); }; } &&
14623 { ac_try='test -s conftest$ac_exeext'
14624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14625 (eval $ac_try) 2>&5
14627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14628 (exit $ac_status); }; }; then
14629 ac_cv_lib_m_exp=yes
14631 echo "$as_me: failed program was:" >&5
14632 sed 's/^/| /' conftest.$ac_ext >&5
14636 rm -f conftest.err conftest.$ac_objext \
14637 conftest$ac_exeext conftest.$ac_ext
14638 LIBS=$ac_check_lib_save_LIBS
14640 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
14641 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
14642 if test $ac_cv_lib_m_exp = yes; then
14644 cat >>confdefs.h <<\_ACEOF
14650 echo "$as_me:$LINENO: checking for expl in -lm" >&5
14651 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
14652 if test "${ac_cv_lib_m_expl+set}" = set; then
14653 echo $ECHO_N "(cached) $ECHO_C" >&6
14655 ac_check_lib_save_LIBS=$LIBS
14657 if test x$gcc_no_link = xyes; then
14658 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14660 { (exit 1); exit 1; }; }
14662 cat >conftest.$ac_ext <<_ACEOF
14665 cat confdefs.h >>conftest.$ac_ext
14666 cat >>conftest.$ac_ext <<_ACEOF
14667 /* end confdefs.h. */
14669 /* Override any gcc2 internal prototype to avoid an error. */
14673 /* We use char because int might match the return type of a gcc2
14674 builtin and then its argument prototype would still apply. */
14684 rm -f conftest.$ac_objext conftest$ac_exeext
14685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14686 (eval $ac_link) 2>conftest.er1
14688 grep -v '^ *+' conftest.er1 >conftest.err
14690 cat conftest.err >&5
14691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14692 (exit $ac_status); } &&
14693 { ac_try='test -z "$ac_c_werror_flag"
14694 || test ! -s conftest.err'
14695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14696 (eval $ac_try) 2>&5
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); }; } &&
14700 { ac_try='test -s conftest$ac_exeext'
14701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14702 (eval $ac_try) 2>&5
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); }; }; then
14706 ac_cv_lib_m_expl=yes
14708 echo "$as_me: failed program was:" >&5
14709 sed 's/^/| /' conftest.$ac_ext >&5
14711 ac_cv_lib_m_expl=no
14713 rm -f conftest.err conftest.$ac_objext \
14714 conftest$ac_exeext conftest.$ac_ext
14715 LIBS=$ac_check_lib_save_LIBS
14717 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
14718 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
14719 if test $ac_cv_lib_m_expl = yes; then
14721 cat >>confdefs.h <<\_ACEOF
14722 #define HAVE_EXPL 1
14727 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
14728 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
14729 if test "${ac_cv_lib_m_cexpf+set}" = set; then
14730 echo $ECHO_N "(cached) $ECHO_C" >&6
14732 ac_check_lib_save_LIBS=$LIBS
14734 if test x$gcc_no_link = xyes; then
14735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14737 { (exit 1); exit 1; }; }
14739 cat >conftest.$ac_ext <<_ACEOF
14742 cat confdefs.h >>conftest.$ac_ext
14743 cat >>conftest.$ac_ext <<_ACEOF
14744 /* end confdefs.h. */
14746 /* Override any gcc2 internal prototype to avoid an error. */
14750 /* We use char because int might match the return type of a gcc2
14751 builtin and then its argument prototype would still apply. */
14761 rm -f conftest.$ac_objext conftest$ac_exeext
14762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14763 (eval $ac_link) 2>conftest.er1
14765 grep -v '^ *+' conftest.er1 >conftest.err
14767 cat conftest.err >&5
14768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14769 (exit $ac_status); } &&
14770 { ac_try='test -z "$ac_c_werror_flag"
14771 || test ! -s conftest.err'
14772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14773 (eval $ac_try) 2>&5
14775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14776 (exit $ac_status); }; } &&
14777 { ac_try='test -s conftest$ac_exeext'
14778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14779 (eval $ac_try) 2>&5
14781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14782 (exit $ac_status); }; }; then
14783 ac_cv_lib_m_cexpf=yes
14785 echo "$as_me: failed program was:" >&5
14786 sed 's/^/| /' conftest.$ac_ext >&5
14788 ac_cv_lib_m_cexpf=no
14790 rm -f conftest.err conftest.$ac_objext \
14791 conftest$ac_exeext conftest.$ac_ext
14792 LIBS=$ac_check_lib_save_LIBS
14794 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
14795 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
14796 if test $ac_cv_lib_m_cexpf = yes; then
14798 cat >>confdefs.h <<\_ACEOF
14799 #define HAVE_CEXPF 1
14804 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
14805 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
14806 if test "${ac_cv_lib_m_cexp+set}" = set; then
14807 echo $ECHO_N "(cached) $ECHO_C" >&6
14809 ac_check_lib_save_LIBS=$LIBS
14811 if test x$gcc_no_link = xyes; then
14812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14814 { (exit 1); exit 1; }; }
14816 cat >conftest.$ac_ext <<_ACEOF
14819 cat confdefs.h >>conftest.$ac_ext
14820 cat >>conftest.$ac_ext <<_ACEOF
14821 /* end confdefs.h. */
14823 /* Override any gcc2 internal prototype to avoid an error. */
14827 /* We use char because int might match the return type of a gcc2
14828 builtin and then its argument prototype would still apply. */
14838 rm -f conftest.$ac_objext conftest$ac_exeext
14839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14840 (eval $ac_link) 2>conftest.er1
14842 grep -v '^ *+' conftest.er1 >conftest.err
14844 cat conftest.err >&5
14845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14846 (exit $ac_status); } &&
14847 { ac_try='test -z "$ac_c_werror_flag"
14848 || test ! -s conftest.err'
14849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14850 (eval $ac_try) 2>&5
14852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14853 (exit $ac_status); }; } &&
14854 { ac_try='test -s conftest$ac_exeext'
14855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14856 (eval $ac_try) 2>&5
14858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14859 (exit $ac_status); }; }; then
14860 ac_cv_lib_m_cexp=yes
14862 echo "$as_me: failed program was:" >&5
14863 sed 's/^/| /' conftest.$ac_ext >&5
14865 ac_cv_lib_m_cexp=no
14867 rm -f conftest.err conftest.$ac_objext \
14868 conftest$ac_exeext conftest.$ac_ext
14869 LIBS=$ac_check_lib_save_LIBS
14871 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
14872 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
14873 if test $ac_cv_lib_m_cexp = yes; then
14875 cat >>confdefs.h <<\_ACEOF
14876 #define HAVE_CEXP 1
14881 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
14882 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
14883 if test "${ac_cv_lib_m_cexpl+set}" = set; then
14884 echo $ECHO_N "(cached) $ECHO_C" >&6
14886 ac_check_lib_save_LIBS=$LIBS
14888 if test x$gcc_no_link = xyes; then
14889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14891 { (exit 1); exit 1; }; }
14893 cat >conftest.$ac_ext <<_ACEOF
14896 cat confdefs.h >>conftest.$ac_ext
14897 cat >>conftest.$ac_ext <<_ACEOF
14898 /* end confdefs.h. */
14900 /* Override any gcc2 internal prototype to avoid an error. */
14904 /* We use char because int might match the return type of a gcc2
14905 builtin and then its argument prototype would still apply. */
14915 rm -f conftest.$ac_objext conftest$ac_exeext
14916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14917 (eval $ac_link) 2>conftest.er1
14919 grep -v '^ *+' conftest.er1 >conftest.err
14921 cat conftest.err >&5
14922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14923 (exit $ac_status); } &&
14924 { ac_try='test -z "$ac_c_werror_flag"
14925 || test ! -s conftest.err'
14926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14927 (eval $ac_try) 2>&5
14929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14930 (exit $ac_status); }; } &&
14931 { ac_try='test -s conftest$ac_exeext'
14932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14933 (eval $ac_try) 2>&5
14935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14936 (exit $ac_status); }; }; then
14937 ac_cv_lib_m_cexpl=yes
14939 echo "$as_me: failed program was:" >&5
14940 sed 's/^/| /' conftest.$ac_ext >&5
14942 ac_cv_lib_m_cexpl=no
14944 rm -f conftest.err conftest.$ac_objext \
14945 conftest$ac_exeext conftest.$ac_ext
14946 LIBS=$ac_check_lib_save_LIBS
14948 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
14949 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
14950 if test $ac_cv_lib_m_cexpl = yes; then
14952 cat >>confdefs.h <<\_ACEOF
14953 #define HAVE_CEXPL 1
14958 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
14959 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
14960 if test "${ac_cv_lib_m_fabsf+set}" = set; then
14961 echo $ECHO_N "(cached) $ECHO_C" >&6
14963 ac_check_lib_save_LIBS=$LIBS
14965 if test x$gcc_no_link = xyes; then
14966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14968 { (exit 1); exit 1; }; }
14970 cat >conftest.$ac_ext <<_ACEOF
14973 cat confdefs.h >>conftest.$ac_ext
14974 cat >>conftest.$ac_ext <<_ACEOF
14975 /* end confdefs.h. */
14977 /* Override any gcc2 internal prototype to avoid an error. */
14981 /* We use char because int might match the return type of a gcc2
14982 builtin and then its argument prototype would still apply. */
14992 rm -f conftest.$ac_objext conftest$ac_exeext
14993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14994 (eval $ac_link) 2>conftest.er1
14996 grep -v '^ *+' conftest.er1 >conftest.err
14998 cat conftest.err >&5
14999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15000 (exit $ac_status); } &&
15001 { ac_try='test -z "$ac_c_werror_flag"
15002 || test ! -s conftest.err'
15003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15004 (eval $ac_try) 2>&5
15006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15007 (exit $ac_status); }; } &&
15008 { ac_try='test -s conftest$ac_exeext'
15009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15010 (eval $ac_try) 2>&5
15012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 (exit $ac_status); }; }; then
15014 ac_cv_lib_m_fabsf=yes
15016 echo "$as_me: failed program was:" >&5
15017 sed 's/^/| /' conftest.$ac_ext >&5
15019 ac_cv_lib_m_fabsf=no
15021 rm -f conftest.err conftest.$ac_objext \
15022 conftest$ac_exeext conftest.$ac_ext
15023 LIBS=$ac_check_lib_save_LIBS
15025 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
15026 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
15027 if test $ac_cv_lib_m_fabsf = yes; then
15029 cat >>confdefs.h <<\_ACEOF
15030 #define HAVE_FABSF 1
15035 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
15036 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
15037 if test "${ac_cv_lib_m_fabs+set}" = set; then
15038 echo $ECHO_N "(cached) $ECHO_C" >&6
15040 ac_check_lib_save_LIBS=$LIBS
15042 if test x$gcc_no_link = xyes; then
15043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15045 { (exit 1); exit 1; }; }
15047 cat >conftest.$ac_ext <<_ACEOF
15050 cat confdefs.h >>conftest.$ac_ext
15051 cat >>conftest.$ac_ext <<_ACEOF
15052 /* end confdefs.h. */
15054 /* Override any gcc2 internal prototype to avoid an error. */
15058 /* We use char because int might match the return type of a gcc2
15059 builtin and then its argument prototype would still apply. */
15069 rm -f conftest.$ac_objext conftest$ac_exeext
15070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15071 (eval $ac_link) 2>conftest.er1
15073 grep -v '^ *+' conftest.er1 >conftest.err
15075 cat conftest.err >&5
15076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15077 (exit $ac_status); } &&
15078 { ac_try='test -z "$ac_c_werror_flag"
15079 || test ! -s conftest.err'
15080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15081 (eval $ac_try) 2>&5
15083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084 (exit $ac_status); }; } &&
15085 { ac_try='test -s conftest$ac_exeext'
15086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15087 (eval $ac_try) 2>&5
15089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 (exit $ac_status); }; }; then
15091 ac_cv_lib_m_fabs=yes
15093 echo "$as_me: failed program was:" >&5
15094 sed 's/^/| /' conftest.$ac_ext >&5
15096 ac_cv_lib_m_fabs=no
15098 rm -f conftest.err conftest.$ac_objext \
15099 conftest$ac_exeext conftest.$ac_ext
15100 LIBS=$ac_check_lib_save_LIBS
15102 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
15103 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
15104 if test $ac_cv_lib_m_fabs = yes; then
15106 cat >>confdefs.h <<\_ACEOF
15107 #define HAVE_FABS 1
15112 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
15113 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
15114 if test "${ac_cv_lib_m_fabsl+set}" = set; then
15115 echo $ECHO_N "(cached) $ECHO_C" >&6
15117 ac_check_lib_save_LIBS=$LIBS
15119 if test x$gcc_no_link = xyes; then
15120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15122 { (exit 1); exit 1; }; }
15124 cat >conftest.$ac_ext <<_ACEOF
15127 cat confdefs.h >>conftest.$ac_ext
15128 cat >>conftest.$ac_ext <<_ACEOF
15129 /* end confdefs.h. */
15131 /* Override any gcc2 internal prototype to avoid an error. */
15135 /* We use char because int might match the return type of a gcc2
15136 builtin and then its argument prototype would still apply. */
15146 rm -f conftest.$ac_objext conftest$ac_exeext
15147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15148 (eval $ac_link) 2>conftest.er1
15150 grep -v '^ *+' conftest.er1 >conftest.err
15152 cat conftest.err >&5
15153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15154 (exit $ac_status); } &&
15155 { ac_try='test -z "$ac_c_werror_flag"
15156 || test ! -s conftest.err'
15157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15158 (eval $ac_try) 2>&5
15160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15161 (exit $ac_status); }; } &&
15162 { ac_try='test -s conftest$ac_exeext'
15163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15164 (eval $ac_try) 2>&5
15166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15167 (exit $ac_status); }; }; then
15168 ac_cv_lib_m_fabsl=yes
15170 echo "$as_me: failed program was:" >&5
15171 sed 's/^/| /' conftest.$ac_ext >&5
15173 ac_cv_lib_m_fabsl=no
15175 rm -f conftest.err conftest.$ac_objext \
15176 conftest$ac_exeext conftest.$ac_ext
15177 LIBS=$ac_check_lib_save_LIBS
15179 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
15180 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
15181 if test $ac_cv_lib_m_fabsl = yes; then
15183 cat >>confdefs.h <<\_ACEOF
15184 #define HAVE_FABSL 1
15189 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
15190 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
15191 if test "${ac_cv_lib_m_cabsf+set}" = set; then
15192 echo $ECHO_N "(cached) $ECHO_C" >&6
15194 ac_check_lib_save_LIBS=$LIBS
15196 if test x$gcc_no_link = xyes; then
15197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15199 { (exit 1); exit 1; }; }
15201 cat >conftest.$ac_ext <<_ACEOF
15204 cat confdefs.h >>conftest.$ac_ext
15205 cat >>conftest.$ac_ext <<_ACEOF
15206 /* end confdefs.h. */
15208 /* Override any gcc2 internal prototype to avoid an error. */
15212 /* We use char because int might match the return type of a gcc2
15213 builtin and then its argument prototype would still apply. */
15223 rm -f conftest.$ac_objext conftest$ac_exeext
15224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15225 (eval $ac_link) 2>conftest.er1
15227 grep -v '^ *+' conftest.er1 >conftest.err
15229 cat conftest.err >&5
15230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15231 (exit $ac_status); } &&
15232 { ac_try='test -z "$ac_c_werror_flag"
15233 || test ! -s conftest.err'
15234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15235 (eval $ac_try) 2>&5
15237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15238 (exit $ac_status); }; } &&
15239 { ac_try='test -s conftest$ac_exeext'
15240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15241 (eval $ac_try) 2>&5
15243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15244 (exit $ac_status); }; }; then
15245 ac_cv_lib_m_cabsf=yes
15247 echo "$as_me: failed program was:" >&5
15248 sed 's/^/| /' conftest.$ac_ext >&5
15250 ac_cv_lib_m_cabsf=no
15252 rm -f conftest.err conftest.$ac_objext \
15253 conftest$ac_exeext conftest.$ac_ext
15254 LIBS=$ac_check_lib_save_LIBS
15256 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
15257 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
15258 if test $ac_cv_lib_m_cabsf = yes; then
15260 cat >>confdefs.h <<\_ACEOF
15261 #define HAVE_CABSF 1
15266 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
15267 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
15268 if test "${ac_cv_lib_m_cabs+set}" = set; then
15269 echo $ECHO_N "(cached) $ECHO_C" >&6
15271 ac_check_lib_save_LIBS=$LIBS
15273 if test x$gcc_no_link = xyes; then
15274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15276 { (exit 1); exit 1; }; }
15278 cat >conftest.$ac_ext <<_ACEOF
15281 cat confdefs.h >>conftest.$ac_ext
15282 cat >>conftest.$ac_ext <<_ACEOF
15283 /* end confdefs.h. */
15285 /* Override any gcc2 internal prototype to avoid an error. */
15289 /* We use char because int might match the return type of a gcc2
15290 builtin and then its argument prototype would still apply. */
15300 rm -f conftest.$ac_objext conftest$ac_exeext
15301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15302 (eval $ac_link) 2>conftest.er1
15304 grep -v '^ *+' conftest.er1 >conftest.err
15306 cat conftest.err >&5
15307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15308 (exit $ac_status); } &&
15309 { ac_try='test -z "$ac_c_werror_flag"
15310 || test ! -s conftest.err'
15311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15312 (eval $ac_try) 2>&5
15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 (exit $ac_status); }; } &&
15316 { ac_try='test -s conftest$ac_exeext'
15317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15318 (eval $ac_try) 2>&5
15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 (exit $ac_status); }; }; then
15322 ac_cv_lib_m_cabs=yes
15324 echo "$as_me: failed program was:" >&5
15325 sed 's/^/| /' conftest.$ac_ext >&5
15327 ac_cv_lib_m_cabs=no
15329 rm -f conftest.err conftest.$ac_objext \
15330 conftest$ac_exeext conftest.$ac_ext
15331 LIBS=$ac_check_lib_save_LIBS
15333 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
15334 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
15335 if test $ac_cv_lib_m_cabs = yes; then
15337 cat >>confdefs.h <<\_ACEOF
15338 #define HAVE_CABS 1
15343 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
15344 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
15345 if test "${ac_cv_lib_m_cabsl+set}" = set; then
15346 echo $ECHO_N "(cached) $ECHO_C" >&6
15348 ac_check_lib_save_LIBS=$LIBS
15350 if test x$gcc_no_link = xyes; then
15351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15353 { (exit 1); exit 1; }; }
15355 cat >conftest.$ac_ext <<_ACEOF
15358 cat confdefs.h >>conftest.$ac_ext
15359 cat >>conftest.$ac_ext <<_ACEOF
15360 /* end confdefs.h. */
15362 /* Override any gcc2 internal prototype to avoid an error. */
15366 /* We use char because int might match the return type of a gcc2
15367 builtin and then its argument prototype would still apply. */
15377 rm -f conftest.$ac_objext conftest$ac_exeext
15378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15379 (eval $ac_link) 2>conftest.er1
15381 grep -v '^ *+' conftest.er1 >conftest.err
15383 cat conftest.err >&5
15384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385 (exit $ac_status); } &&
15386 { ac_try='test -z "$ac_c_werror_flag"
15387 || test ! -s conftest.err'
15388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15389 (eval $ac_try) 2>&5
15391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15392 (exit $ac_status); }; } &&
15393 { ac_try='test -s conftest$ac_exeext'
15394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15395 (eval $ac_try) 2>&5
15397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15398 (exit $ac_status); }; }; then
15399 ac_cv_lib_m_cabsl=yes
15401 echo "$as_me: failed program was:" >&5
15402 sed 's/^/| /' conftest.$ac_ext >&5
15404 ac_cv_lib_m_cabsl=no
15406 rm -f conftest.err conftest.$ac_objext \
15407 conftest$ac_exeext conftest.$ac_ext
15408 LIBS=$ac_check_lib_save_LIBS
15410 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
15411 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
15412 if test $ac_cv_lib_m_cabsl = yes; then
15414 cat >>confdefs.h <<\_ACEOF
15415 #define HAVE_CABSL 1
15420 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
15421 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
15422 if test "${ac_cv_lib_m_floorf+set}" = set; then
15423 echo $ECHO_N "(cached) $ECHO_C" >&6
15425 ac_check_lib_save_LIBS=$LIBS
15427 if test x$gcc_no_link = xyes; then
15428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15430 { (exit 1); exit 1; }; }
15432 cat >conftest.$ac_ext <<_ACEOF
15435 cat confdefs.h >>conftest.$ac_ext
15436 cat >>conftest.$ac_ext <<_ACEOF
15437 /* end confdefs.h. */
15439 /* Override any gcc2 internal prototype to avoid an error. */
15443 /* We use char because int might match the return type of a gcc2
15444 builtin and then its argument prototype would still apply. */
15454 rm -f conftest.$ac_objext conftest$ac_exeext
15455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15456 (eval $ac_link) 2>conftest.er1
15458 grep -v '^ *+' conftest.er1 >conftest.err
15460 cat conftest.err >&5
15461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15462 (exit $ac_status); } &&
15463 { ac_try='test -z "$ac_c_werror_flag"
15464 || test ! -s conftest.err'
15465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15466 (eval $ac_try) 2>&5
15468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15469 (exit $ac_status); }; } &&
15470 { ac_try='test -s conftest$ac_exeext'
15471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15472 (eval $ac_try) 2>&5
15474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15475 (exit $ac_status); }; }; then
15476 ac_cv_lib_m_floorf=yes
15478 echo "$as_me: failed program was:" >&5
15479 sed 's/^/| /' conftest.$ac_ext >&5
15481 ac_cv_lib_m_floorf=no
15483 rm -f conftest.err conftest.$ac_objext \
15484 conftest$ac_exeext conftest.$ac_ext
15485 LIBS=$ac_check_lib_save_LIBS
15487 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
15488 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
15489 if test $ac_cv_lib_m_floorf = yes; then
15491 cat >>confdefs.h <<\_ACEOF
15492 #define HAVE_FLOORF 1
15497 echo "$as_me:$LINENO: checking for floor in -lm" >&5
15498 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
15499 if test "${ac_cv_lib_m_floor+set}" = set; then
15500 echo $ECHO_N "(cached) $ECHO_C" >&6
15502 ac_check_lib_save_LIBS=$LIBS
15504 if test x$gcc_no_link = xyes; then
15505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15507 { (exit 1); exit 1; }; }
15509 cat >conftest.$ac_ext <<_ACEOF
15512 cat confdefs.h >>conftest.$ac_ext
15513 cat >>conftest.$ac_ext <<_ACEOF
15514 /* end confdefs.h. */
15516 /* Override any gcc2 internal prototype to avoid an error. */
15520 /* We use char because int might match the return type of a gcc2
15521 builtin and then its argument prototype would still apply. */
15531 rm -f conftest.$ac_objext conftest$ac_exeext
15532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15533 (eval $ac_link) 2>conftest.er1
15535 grep -v '^ *+' conftest.er1 >conftest.err
15537 cat conftest.err >&5
15538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15539 (exit $ac_status); } &&
15540 { ac_try='test -z "$ac_c_werror_flag"
15541 || test ! -s conftest.err'
15542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15543 (eval $ac_try) 2>&5
15545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546 (exit $ac_status); }; } &&
15547 { ac_try='test -s conftest$ac_exeext'
15548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15549 (eval $ac_try) 2>&5
15551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15552 (exit $ac_status); }; }; then
15553 ac_cv_lib_m_floor=yes
15555 echo "$as_me: failed program was:" >&5
15556 sed 's/^/| /' conftest.$ac_ext >&5
15558 ac_cv_lib_m_floor=no
15560 rm -f conftest.err conftest.$ac_objext \
15561 conftest$ac_exeext conftest.$ac_ext
15562 LIBS=$ac_check_lib_save_LIBS
15564 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
15565 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
15566 if test $ac_cv_lib_m_floor = yes; then
15568 cat >>confdefs.h <<\_ACEOF
15569 #define HAVE_FLOOR 1
15574 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
15575 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
15576 if test "${ac_cv_lib_m_floorl+set}" = set; then
15577 echo $ECHO_N "(cached) $ECHO_C" >&6
15579 ac_check_lib_save_LIBS=$LIBS
15581 if test x$gcc_no_link = xyes; then
15582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15584 { (exit 1); exit 1; }; }
15586 cat >conftest.$ac_ext <<_ACEOF
15589 cat confdefs.h >>conftest.$ac_ext
15590 cat >>conftest.$ac_ext <<_ACEOF
15591 /* end confdefs.h. */
15593 /* Override any gcc2 internal prototype to avoid an error. */
15597 /* We use char because int might match the return type of a gcc2
15598 builtin and then its argument prototype would still apply. */
15608 rm -f conftest.$ac_objext conftest$ac_exeext
15609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15610 (eval $ac_link) 2>conftest.er1
15612 grep -v '^ *+' conftest.er1 >conftest.err
15614 cat conftest.err >&5
15615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15616 (exit $ac_status); } &&
15617 { ac_try='test -z "$ac_c_werror_flag"
15618 || test ! -s conftest.err'
15619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15620 (eval $ac_try) 2>&5
15622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15623 (exit $ac_status); }; } &&
15624 { ac_try='test -s conftest$ac_exeext'
15625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15626 (eval $ac_try) 2>&5
15628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15629 (exit $ac_status); }; }; then
15630 ac_cv_lib_m_floorl=yes
15632 echo "$as_me: failed program was:" >&5
15633 sed 's/^/| /' conftest.$ac_ext >&5
15635 ac_cv_lib_m_floorl=no
15637 rm -f conftest.err conftest.$ac_objext \
15638 conftest$ac_exeext conftest.$ac_ext
15639 LIBS=$ac_check_lib_save_LIBS
15641 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
15642 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
15643 if test $ac_cv_lib_m_floorl = yes; then
15645 cat >>confdefs.h <<\_ACEOF
15646 #define HAVE_FLOORL 1
15651 echo "$as_me:$LINENO: checking for fmodf in -lm" >&5
15652 echo $ECHO_N "checking for fmodf in -lm... $ECHO_C" >&6
15653 if test "${ac_cv_lib_m_fmodf+set}" = set; then
15654 echo $ECHO_N "(cached) $ECHO_C" >&6
15656 ac_check_lib_save_LIBS=$LIBS
15658 if test x$gcc_no_link = xyes; then
15659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15661 { (exit 1); exit 1; }; }
15663 cat >conftest.$ac_ext <<_ACEOF
15666 cat confdefs.h >>conftest.$ac_ext
15667 cat >>conftest.$ac_ext <<_ACEOF
15668 /* end confdefs.h. */
15670 /* Override any gcc2 internal prototype to avoid an error. */
15674 /* We use char because int might match the return type of a gcc2
15675 builtin and then its argument prototype would still apply. */
15685 rm -f conftest.$ac_objext conftest$ac_exeext
15686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15687 (eval $ac_link) 2>conftest.er1
15689 grep -v '^ *+' conftest.er1 >conftest.err
15691 cat conftest.err >&5
15692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15693 (exit $ac_status); } &&
15694 { ac_try='test -z "$ac_c_werror_flag"
15695 || test ! -s conftest.err'
15696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15697 (eval $ac_try) 2>&5
15699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15700 (exit $ac_status); }; } &&
15701 { ac_try='test -s conftest$ac_exeext'
15702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15703 (eval $ac_try) 2>&5
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); }; }; then
15707 ac_cv_lib_m_fmodf=yes
15709 echo "$as_me: failed program was:" >&5
15710 sed 's/^/| /' conftest.$ac_ext >&5
15712 ac_cv_lib_m_fmodf=no
15714 rm -f conftest.err conftest.$ac_objext \
15715 conftest$ac_exeext conftest.$ac_ext
15716 LIBS=$ac_check_lib_save_LIBS
15718 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodf" >&5
15719 echo "${ECHO_T}$ac_cv_lib_m_fmodf" >&6
15720 if test $ac_cv_lib_m_fmodf = yes; then
15722 cat >>confdefs.h <<\_ACEOF
15723 #define HAVE_FMODF 1
15728 echo "$as_me:$LINENO: checking for fmod in -lm" >&5
15729 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6
15730 if test "${ac_cv_lib_m_fmod+set}" = set; then
15731 echo $ECHO_N "(cached) $ECHO_C" >&6
15733 ac_check_lib_save_LIBS=$LIBS
15735 if test x$gcc_no_link = xyes; then
15736 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15738 { (exit 1); exit 1; }; }
15740 cat >conftest.$ac_ext <<_ACEOF
15743 cat confdefs.h >>conftest.$ac_ext
15744 cat >>conftest.$ac_ext <<_ACEOF
15745 /* end confdefs.h. */
15747 /* Override any gcc2 internal prototype to avoid an error. */
15751 /* We use char because int might match the return type of a gcc2
15752 builtin and then its argument prototype would still apply. */
15762 rm -f conftest.$ac_objext conftest$ac_exeext
15763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15764 (eval $ac_link) 2>conftest.er1
15766 grep -v '^ *+' conftest.er1 >conftest.err
15768 cat conftest.err >&5
15769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15770 (exit $ac_status); } &&
15771 { ac_try='test -z "$ac_c_werror_flag"
15772 || test ! -s conftest.err'
15773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15774 (eval $ac_try) 2>&5
15776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15777 (exit $ac_status); }; } &&
15778 { ac_try='test -s conftest$ac_exeext'
15779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15780 (eval $ac_try) 2>&5
15782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15783 (exit $ac_status); }; }; then
15784 ac_cv_lib_m_fmod=yes
15786 echo "$as_me: failed program was:" >&5
15787 sed 's/^/| /' conftest.$ac_ext >&5
15789 ac_cv_lib_m_fmod=no
15791 rm -f conftest.err conftest.$ac_objext \
15792 conftest$ac_exeext conftest.$ac_ext
15793 LIBS=$ac_check_lib_save_LIBS
15795 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
15796 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6
15797 if test $ac_cv_lib_m_fmod = yes; then
15799 cat >>confdefs.h <<\_ACEOF
15800 #define HAVE_FMOD 1
15805 echo "$as_me:$LINENO: checking for fmodl in -lm" >&5
15806 echo $ECHO_N "checking for fmodl in -lm... $ECHO_C" >&6
15807 if test "${ac_cv_lib_m_fmodl+set}" = set; then
15808 echo $ECHO_N "(cached) $ECHO_C" >&6
15810 ac_check_lib_save_LIBS=$LIBS
15812 if test x$gcc_no_link = xyes; then
15813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15815 { (exit 1); exit 1; }; }
15817 cat >conftest.$ac_ext <<_ACEOF
15820 cat confdefs.h >>conftest.$ac_ext
15821 cat >>conftest.$ac_ext <<_ACEOF
15822 /* end confdefs.h. */
15824 /* Override any gcc2 internal prototype to avoid an error. */
15828 /* We use char because int might match the return type of a gcc2
15829 builtin and then its argument prototype would still apply. */
15839 rm -f conftest.$ac_objext conftest$ac_exeext
15840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15841 (eval $ac_link) 2>conftest.er1
15843 grep -v '^ *+' conftest.er1 >conftest.err
15845 cat conftest.err >&5
15846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847 (exit $ac_status); } &&
15848 { ac_try='test -z "$ac_c_werror_flag"
15849 || test ! -s conftest.err'
15850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15851 (eval $ac_try) 2>&5
15853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15854 (exit $ac_status); }; } &&
15855 { ac_try='test -s conftest$ac_exeext'
15856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15857 (eval $ac_try) 2>&5
15859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15860 (exit $ac_status); }; }; then
15861 ac_cv_lib_m_fmodl=yes
15863 echo "$as_me: failed program was:" >&5
15864 sed 's/^/| /' conftest.$ac_ext >&5
15866 ac_cv_lib_m_fmodl=no
15868 rm -f conftest.err conftest.$ac_objext \
15869 conftest$ac_exeext conftest.$ac_ext
15870 LIBS=$ac_check_lib_save_LIBS
15872 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodl" >&5
15873 echo "${ECHO_T}$ac_cv_lib_m_fmodl" >&6
15874 if test $ac_cv_lib_m_fmodl = yes; then
15876 cat >>confdefs.h <<\_ACEOF
15877 #define HAVE_FMODL 1
15882 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
15883 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
15884 if test "${ac_cv_lib_m_frexpf+set}" = set; then
15885 echo $ECHO_N "(cached) $ECHO_C" >&6
15887 ac_check_lib_save_LIBS=$LIBS
15889 if test x$gcc_no_link = xyes; then
15890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15892 { (exit 1); exit 1; }; }
15894 cat >conftest.$ac_ext <<_ACEOF
15897 cat confdefs.h >>conftest.$ac_ext
15898 cat >>conftest.$ac_ext <<_ACEOF
15899 /* end confdefs.h. */
15901 /* Override any gcc2 internal prototype to avoid an error. */
15905 /* We use char because int might match the return type of a gcc2
15906 builtin and then its argument prototype would still apply. */
15916 rm -f conftest.$ac_objext conftest$ac_exeext
15917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15918 (eval $ac_link) 2>conftest.er1
15920 grep -v '^ *+' conftest.er1 >conftest.err
15922 cat conftest.err >&5
15923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15924 (exit $ac_status); } &&
15925 { ac_try='test -z "$ac_c_werror_flag"
15926 || test ! -s conftest.err'
15927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15928 (eval $ac_try) 2>&5
15930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); }; } &&
15932 { ac_try='test -s conftest$ac_exeext'
15933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15934 (eval $ac_try) 2>&5
15936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937 (exit $ac_status); }; }; then
15938 ac_cv_lib_m_frexpf=yes
15940 echo "$as_me: failed program was:" >&5
15941 sed 's/^/| /' conftest.$ac_ext >&5
15943 ac_cv_lib_m_frexpf=no
15945 rm -f conftest.err conftest.$ac_objext \
15946 conftest$ac_exeext conftest.$ac_ext
15947 LIBS=$ac_check_lib_save_LIBS
15949 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
15950 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
15951 if test $ac_cv_lib_m_frexpf = yes; then
15953 cat >>confdefs.h <<\_ACEOF
15954 #define HAVE_FREXPF 1
15959 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
15960 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
15961 if test "${ac_cv_lib_m_frexp+set}" = set; then
15962 echo $ECHO_N "(cached) $ECHO_C" >&6
15964 ac_check_lib_save_LIBS=$LIBS
15966 if test x$gcc_no_link = xyes; then
15967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15969 { (exit 1); exit 1; }; }
15971 cat >conftest.$ac_ext <<_ACEOF
15974 cat confdefs.h >>conftest.$ac_ext
15975 cat >>conftest.$ac_ext <<_ACEOF
15976 /* end confdefs.h. */
15978 /* Override any gcc2 internal prototype to avoid an error. */
15982 /* We use char because int might match the return type of a gcc2
15983 builtin and then its argument prototype would still apply. */
15993 rm -f conftest.$ac_objext conftest$ac_exeext
15994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15995 (eval $ac_link) 2>conftest.er1
15997 grep -v '^ *+' conftest.er1 >conftest.err
15999 cat conftest.err >&5
16000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16001 (exit $ac_status); } &&
16002 { ac_try='test -z "$ac_c_werror_flag"
16003 || test ! -s conftest.err'
16004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16005 (eval $ac_try) 2>&5
16007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16008 (exit $ac_status); }; } &&
16009 { ac_try='test -s conftest$ac_exeext'
16010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16011 (eval $ac_try) 2>&5
16013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16014 (exit $ac_status); }; }; then
16015 ac_cv_lib_m_frexp=yes
16017 echo "$as_me: failed program was:" >&5
16018 sed 's/^/| /' conftest.$ac_ext >&5
16020 ac_cv_lib_m_frexp=no
16022 rm -f conftest.err conftest.$ac_objext \
16023 conftest$ac_exeext conftest.$ac_ext
16024 LIBS=$ac_check_lib_save_LIBS
16026 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
16027 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
16028 if test $ac_cv_lib_m_frexp = yes; then
16030 cat >>confdefs.h <<\_ACEOF
16031 #define HAVE_FREXP 1
16036 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
16037 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
16038 if test "${ac_cv_lib_m_frexpl+set}" = set; then
16039 echo $ECHO_N "(cached) $ECHO_C" >&6
16041 ac_check_lib_save_LIBS=$LIBS
16043 if test x$gcc_no_link = xyes; then
16044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16046 { (exit 1); exit 1; }; }
16048 cat >conftest.$ac_ext <<_ACEOF
16051 cat confdefs.h >>conftest.$ac_ext
16052 cat >>conftest.$ac_ext <<_ACEOF
16053 /* end confdefs.h. */
16055 /* Override any gcc2 internal prototype to avoid an error. */
16059 /* We use char because int might match the return type of a gcc2
16060 builtin and then its argument prototype would still apply. */
16070 rm -f conftest.$ac_objext conftest$ac_exeext
16071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16072 (eval $ac_link) 2>conftest.er1
16074 grep -v '^ *+' conftest.er1 >conftest.err
16076 cat conftest.err >&5
16077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16078 (exit $ac_status); } &&
16079 { ac_try='test -z "$ac_c_werror_flag"
16080 || test ! -s conftest.err'
16081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16082 (eval $ac_try) 2>&5
16084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16085 (exit $ac_status); }; } &&
16086 { ac_try='test -s conftest$ac_exeext'
16087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16088 (eval $ac_try) 2>&5
16090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16091 (exit $ac_status); }; }; then
16092 ac_cv_lib_m_frexpl=yes
16094 echo "$as_me: failed program was:" >&5
16095 sed 's/^/| /' conftest.$ac_ext >&5
16097 ac_cv_lib_m_frexpl=no
16099 rm -f conftest.err conftest.$ac_objext \
16100 conftest$ac_exeext conftest.$ac_ext
16101 LIBS=$ac_check_lib_save_LIBS
16103 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
16104 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
16105 if test $ac_cv_lib_m_frexpl = yes; then
16107 cat >>confdefs.h <<\_ACEOF
16108 #define HAVE_FREXPL 1
16113 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
16114 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
16115 if test "${ac_cv_lib_m_hypotf+set}" = set; then
16116 echo $ECHO_N "(cached) $ECHO_C" >&6
16118 ac_check_lib_save_LIBS=$LIBS
16120 if test x$gcc_no_link = xyes; then
16121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16123 { (exit 1); exit 1; }; }
16125 cat >conftest.$ac_ext <<_ACEOF
16128 cat confdefs.h >>conftest.$ac_ext
16129 cat >>conftest.$ac_ext <<_ACEOF
16130 /* end confdefs.h. */
16132 /* Override any gcc2 internal prototype to avoid an error. */
16136 /* We use char because int might match the return type of a gcc2
16137 builtin and then its argument prototype would still apply. */
16147 rm -f conftest.$ac_objext conftest$ac_exeext
16148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16149 (eval $ac_link) 2>conftest.er1
16151 grep -v '^ *+' conftest.er1 >conftest.err
16153 cat conftest.err >&5
16154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16155 (exit $ac_status); } &&
16156 { ac_try='test -z "$ac_c_werror_flag"
16157 || test ! -s conftest.err'
16158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16159 (eval $ac_try) 2>&5
16161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16162 (exit $ac_status); }; } &&
16163 { ac_try='test -s conftest$ac_exeext'
16164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16165 (eval $ac_try) 2>&5
16167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16168 (exit $ac_status); }; }; then
16169 ac_cv_lib_m_hypotf=yes
16171 echo "$as_me: failed program was:" >&5
16172 sed 's/^/| /' conftest.$ac_ext >&5
16174 ac_cv_lib_m_hypotf=no
16176 rm -f conftest.err conftest.$ac_objext \
16177 conftest$ac_exeext conftest.$ac_ext
16178 LIBS=$ac_check_lib_save_LIBS
16180 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
16181 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
16182 if test $ac_cv_lib_m_hypotf = yes; then
16184 cat >>confdefs.h <<\_ACEOF
16185 #define HAVE_HYPOTF 1
16190 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
16191 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
16192 if test "${ac_cv_lib_m_hypot+set}" = set; then
16193 echo $ECHO_N "(cached) $ECHO_C" >&6
16195 ac_check_lib_save_LIBS=$LIBS
16197 if test x$gcc_no_link = xyes; then
16198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16200 { (exit 1); exit 1; }; }
16202 cat >conftest.$ac_ext <<_ACEOF
16205 cat confdefs.h >>conftest.$ac_ext
16206 cat >>conftest.$ac_ext <<_ACEOF
16207 /* end confdefs.h. */
16209 /* Override any gcc2 internal prototype to avoid an error. */
16213 /* We use char because int might match the return type of a gcc2
16214 builtin and then its argument prototype would still apply. */
16224 rm -f conftest.$ac_objext conftest$ac_exeext
16225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16226 (eval $ac_link) 2>conftest.er1
16228 grep -v '^ *+' conftest.er1 >conftest.err
16230 cat conftest.err >&5
16231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16232 (exit $ac_status); } &&
16233 { ac_try='test -z "$ac_c_werror_flag"
16234 || test ! -s conftest.err'
16235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16236 (eval $ac_try) 2>&5
16238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16239 (exit $ac_status); }; } &&
16240 { ac_try='test -s conftest$ac_exeext'
16241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16242 (eval $ac_try) 2>&5
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); }; }; then
16246 ac_cv_lib_m_hypot=yes
16248 echo "$as_me: failed program was:" >&5
16249 sed 's/^/| /' conftest.$ac_ext >&5
16251 ac_cv_lib_m_hypot=no
16253 rm -f conftest.err conftest.$ac_objext \
16254 conftest$ac_exeext conftest.$ac_ext
16255 LIBS=$ac_check_lib_save_LIBS
16257 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
16258 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
16259 if test $ac_cv_lib_m_hypot = yes; then
16261 cat >>confdefs.h <<\_ACEOF
16262 #define HAVE_HYPOT 1
16267 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
16268 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
16269 if test "${ac_cv_lib_m_hypotl+set}" = set; then
16270 echo $ECHO_N "(cached) $ECHO_C" >&6
16272 ac_check_lib_save_LIBS=$LIBS
16274 if test x$gcc_no_link = xyes; then
16275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16277 { (exit 1); exit 1; }; }
16279 cat >conftest.$ac_ext <<_ACEOF
16282 cat confdefs.h >>conftest.$ac_ext
16283 cat >>conftest.$ac_ext <<_ACEOF
16284 /* end confdefs.h. */
16286 /* Override any gcc2 internal prototype to avoid an error. */
16290 /* We use char because int might match the return type of a gcc2
16291 builtin and then its argument prototype would still apply. */
16301 rm -f conftest.$ac_objext conftest$ac_exeext
16302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16303 (eval $ac_link) 2>conftest.er1
16305 grep -v '^ *+' conftest.er1 >conftest.err
16307 cat conftest.err >&5
16308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16309 (exit $ac_status); } &&
16310 { ac_try='test -z "$ac_c_werror_flag"
16311 || test ! -s conftest.err'
16312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16313 (eval $ac_try) 2>&5
16315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16316 (exit $ac_status); }; } &&
16317 { ac_try='test -s conftest$ac_exeext'
16318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16319 (eval $ac_try) 2>&5
16321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16322 (exit $ac_status); }; }; then
16323 ac_cv_lib_m_hypotl=yes
16325 echo "$as_me: failed program was:" >&5
16326 sed 's/^/| /' conftest.$ac_ext >&5
16328 ac_cv_lib_m_hypotl=no
16330 rm -f conftest.err conftest.$ac_objext \
16331 conftest$ac_exeext conftest.$ac_ext
16332 LIBS=$ac_check_lib_save_LIBS
16334 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
16335 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
16336 if test $ac_cv_lib_m_hypotl = yes; then
16338 cat >>confdefs.h <<\_ACEOF
16339 #define HAVE_HYPOTL 1
16344 echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
16345 echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6
16346 if test "${ac_cv_lib_m_ldexpf+set}" = set; then
16347 echo $ECHO_N "(cached) $ECHO_C" >&6
16349 ac_check_lib_save_LIBS=$LIBS
16351 if test x$gcc_no_link = xyes; then
16352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16354 { (exit 1); exit 1; }; }
16356 cat >conftest.$ac_ext <<_ACEOF
16359 cat confdefs.h >>conftest.$ac_ext
16360 cat >>conftest.$ac_ext <<_ACEOF
16361 /* end confdefs.h. */
16363 /* Override any gcc2 internal prototype to avoid an error. */
16367 /* We use char because int might match the return type of a gcc2
16368 builtin and then its argument prototype would still apply. */
16378 rm -f conftest.$ac_objext conftest$ac_exeext
16379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16380 (eval $ac_link) 2>conftest.er1
16382 grep -v '^ *+' conftest.er1 >conftest.err
16384 cat conftest.err >&5
16385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16386 (exit $ac_status); } &&
16387 { ac_try='test -z "$ac_c_werror_flag"
16388 || test ! -s conftest.err'
16389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16390 (eval $ac_try) 2>&5
16392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16393 (exit $ac_status); }; } &&
16394 { ac_try='test -s conftest$ac_exeext'
16395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16396 (eval $ac_try) 2>&5
16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 (exit $ac_status); }; }; then
16400 ac_cv_lib_m_ldexpf=yes
16402 echo "$as_me: failed program was:" >&5
16403 sed 's/^/| /' conftest.$ac_ext >&5
16405 ac_cv_lib_m_ldexpf=no
16407 rm -f conftest.err conftest.$ac_objext \
16408 conftest$ac_exeext conftest.$ac_ext
16409 LIBS=$ac_check_lib_save_LIBS
16411 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
16412 echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6
16413 if test $ac_cv_lib_m_ldexpf = yes; then
16415 cat >>confdefs.h <<\_ACEOF
16416 #define HAVE_LDEXPF 1
16421 echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
16422 echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6
16423 if test "${ac_cv_lib_m_ldexp+set}" = set; then
16424 echo $ECHO_N "(cached) $ECHO_C" >&6
16426 ac_check_lib_save_LIBS=$LIBS
16428 if test x$gcc_no_link = xyes; then
16429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16431 { (exit 1); exit 1; }; }
16433 cat >conftest.$ac_ext <<_ACEOF
16436 cat confdefs.h >>conftest.$ac_ext
16437 cat >>conftest.$ac_ext <<_ACEOF
16438 /* end confdefs.h. */
16440 /* Override any gcc2 internal prototype to avoid an error. */
16444 /* We use char because int might match the return type of a gcc2
16445 builtin and then its argument prototype would still apply. */
16455 rm -f conftest.$ac_objext conftest$ac_exeext
16456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16457 (eval $ac_link) 2>conftest.er1
16459 grep -v '^ *+' conftest.er1 >conftest.err
16461 cat conftest.err >&5
16462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16463 (exit $ac_status); } &&
16464 { ac_try='test -z "$ac_c_werror_flag"
16465 || test ! -s conftest.err'
16466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16467 (eval $ac_try) 2>&5
16469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16470 (exit $ac_status); }; } &&
16471 { ac_try='test -s conftest$ac_exeext'
16472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16473 (eval $ac_try) 2>&5
16475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16476 (exit $ac_status); }; }; then
16477 ac_cv_lib_m_ldexp=yes
16479 echo "$as_me: failed program was:" >&5
16480 sed 's/^/| /' conftest.$ac_ext >&5
16482 ac_cv_lib_m_ldexp=no
16484 rm -f conftest.err conftest.$ac_objext \
16485 conftest$ac_exeext conftest.$ac_ext
16486 LIBS=$ac_check_lib_save_LIBS
16488 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
16489 echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6
16490 if test $ac_cv_lib_m_ldexp = yes; then
16492 cat >>confdefs.h <<\_ACEOF
16493 #define HAVE_LDEXP 1
16498 echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
16499 echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6
16500 if test "${ac_cv_lib_m_ldexpl+set}" = set; then
16501 echo $ECHO_N "(cached) $ECHO_C" >&6
16503 ac_check_lib_save_LIBS=$LIBS
16505 if test x$gcc_no_link = xyes; then
16506 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16508 { (exit 1); exit 1; }; }
16510 cat >conftest.$ac_ext <<_ACEOF
16513 cat confdefs.h >>conftest.$ac_ext
16514 cat >>conftest.$ac_ext <<_ACEOF
16515 /* end confdefs.h. */
16517 /* Override any gcc2 internal prototype to avoid an error. */
16521 /* We use char because int might match the return type of a gcc2
16522 builtin and then its argument prototype would still apply. */
16532 rm -f conftest.$ac_objext conftest$ac_exeext
16533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16534 (eval $ac_link) 2>conftest.er1
16536 grep -v '^ *+' conftest.er1 >conftest.err
16538 cat conftest.err >&5
16539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540 (exit $ac_status); } &&
16541 { ac_try='test -z "$ac_c_werror_flag"
16542 || test ! -s conftest.err'
16543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16544 (eval $ac_try) 2>&5
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); }; } &&
16548 { ac_try='test -s conftest$ac_exeext'
16549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16550 (eval $ac_try) 2>&5
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); }; }; then
16554 ac_cv_lib_m_ldexpl=yes
16556 echo "$as_me: failed program was:" >&5
16557 sed 's/^/| /' conftest.$ac_ext >&5
16559 ac_cv_lib_m_ldexpl=no
16561 rm -f conftest.err conftest.$ac_objext \
16562 conftest$ac_exeext conftest.$ac_ext
16563 LIBS=$ac_check_lib_save_LIBS
16565 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
16566 echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6
16567 if test $ac_cv_lib_m_ldexpl = yes; then
16569 cat >>confdefs.h <<\_ACEOF
16570 #define HAVE_LDEXPL 1
16575 echo "$as_me:$LINENO: checking for logf in -lm" >&5
16576 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
16577 if test "${ac_cv_lib_m_logf+set}" = set; then
16578 echo $ECHO_N "(cached) $ECHO_C" >&6
16580 ac_check_lib_save_LIBS=$LIBS
16582 if test x$gcc_no_link = xyes; then
16583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16585 { (exit 1); exit 1; }; }
16587 cat >conftest.$ac_ext <<_ACEOF
16590 cat confdefs.h >>conftest.$ac_ext
16591 cat >>conftest.$ac_ext <<_ACEOF
16592 /* end confdefs.h. */
16594 /* Override any gcc2 internal prototype to avoid an error. */
16598 /* We use char because int might match the return type of a gcc2
16599 builtin and then its argument prototype would still apply. */
16609 rm -f conftest.$ac_objext conftest$ac_exeext
16610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16611 (eval $ac_link) 2>conftest.er1
16613 grep -v '^ *+' conftest.er1 >conftest.err
16615 cat conftest.err >&5
16616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16617 (exit $ac_status); } &&
16618 { ac_try='test -z "$ac_c_werror_flag"
16619 || test ! -s conftest.err'
16620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16621 (eval $ac_try) 2>&5
16623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16624 (exit $ac_status); }; } &&
16625 { ac_try='test -s conftest$ac_exeext'
16626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16627 (eval $ac_try) 2>&5
16629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16630 (exit $ac_status); }; }; then
16631 ac_cv_lib_m_logf=yes
16633 echo "$as_me: failed program was:" >&5
16634 sed 's/^/| /' conftest.$ac_ext >&5
16636 ac_cv_lib_m_logf=no
16638 rm -f conftest.err conftest.$ac_objext \
16639 conftest$ac_exeext conftest.$ac_ext
16640 LIBS=$ac_check_lib_save_LIBS
16642 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
16643 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
16644 if test $ac_cv_lib_m_logf = yes; then
16646 cat >>confdefs.h <<\_ACEOF
16647 #define HAVE_LOGF 1
16652 echo "$as_me:$LINENO: checking for log in -lm" >&5
16653 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
16654 if test "${ac_cv_lib_m_log+set}" = set; then
16655 echo $ECHO_N "(cached) $ECHO_C" >&6
16657 ac_check_lib_save_LIBS=$LIBS
16659 if test x$gcc_no_link = xyes; then
16660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16662 { (exit 1); exit 1; }; }
16664 cat >conftest.$ac_ext <<_ACEOF
16667 cat confdefs.h >>conftest.$ac_ext
16668 cat >>conftest.$ac_ext <<_ACEOF
16669 /* end confdefs.h. */
16671 /* Override any gcc2 internal prototype to avoid an error. */
16675 /* We use char because int might match the return type of a gcc2
16676 builtin and then its argument prototype would still apply. */
16686 rm -f conftest.$ac_objext conftest$ac_exeext
16687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16688 (eval $ac_link) 2>conftest.er1
16690 grep -v '^ *+' conftest.er1 >conftest.err
16692 cat conftest.err >&5
16693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16694 (exit $ac_status); } &&
16695 { ac_try='test -z "$ac_c_werror_flag"
16696 || test ! -s conftest.err'
16697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16698 (eval $ac_try) 2>&5
16700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16701 (exit $ac_status); }; } &&
16702 { ac_try='test -s conftest$ac_exeext'
16703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16704 (eval $ac_try) 2>&5
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); }; }; then
16708 ac_cv_lib_m_log=yes
16710 echo "$as_me: failed program was:" >&5
16711 sed 's/^/| /' conftest.$ac_ext >&5
16715 rm -f conftest.err conftest.$ac_objext \
16716 conftest$ac_exeext conftest.$ac_ext
16717 LIBS=$ac_check_lib_save_LIBS
16719 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
16720 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
16721 if test $ac_cv_lib_m_log = yes; then
16723 cat >>confdefs.h <<\_ACEOF
16729 echo "$as_me:$LINENO: checking for logl in -lm" >&5
16730 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
16731 if test "${ac_cv_lib_m_logl+set}" = set; then
16732 echo $ECHO_N "(cached) $ECHO_C" >&6
16734 ac_check_lib_save_LIBS=$LIBS
16736 if test x$gcc_no_link = xyes; then
16737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16739 { (exit 1); exit 1; }; }
16741 cat >conftest.$ac_ext <<_ACEOF
16744 cat confdefs.h >>conftest.$ac_ext
16745 cat >>conftest.$ac_ext <<_ACEOF
16746 /* end confdefs.h. */
16748 /* Override any gcc2 internal prototype to avoid an error. */
16752 /* We use char because int might match the return type of a gcc2
16753 builtin and then its argument prototype would still apply. */
16763 rm -f conftest.$ac_objext conftest$ac_exeext
16764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16765 (eval $ac_link) 2>conftest.er1
16767 grep -v '^ *+' conftest.er1 >conftest.err
16769 cat conftest.err >&5
16770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16771 (exit $ac_status); } &&
16772 { ac_try='test -z "$ac_c_werror_flag"
16773 || test ! -s conftest.err'
16774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16775 (eval $ac_try) 2>&5
16777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778 (exit $ac_status); }; } &&
16779 { ac_try='test -s conftest$ac_exeext'
16780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16781 (eval $ac_try) 2>&5
16783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16784 (exit $ac_status); }; }; then
16785 ac_cv_lib_m_logl=yes
16787 echo "$as_me: failed program was:" >&5
16788 sed 's/^/| /' conftest.$ac_ext >&5
16790 ac_cv_lib_m_logl=no
16792 rm -f conftest.err conftest.$ac_objext \
16793 conftest$ac_exeext conftest.$ac_ext
16794 LIBS=$ac_check_lib_save_LIBS
16796 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
16797 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
16798 if test $ac_cv_lib_m_logl = yes; then
16800 cat >>confdefs.h <<\_ACEOF
16801 #define HAVE_LOGL 1
16806 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
16807 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
16808 if test "${ac_cv_lib_m_clogf+set}" = set; then
16809 echo $ECHO_N "(cached) $ECHO_C" >&6
16811 ac_check_lib_save_LIBS=$LIBS
16813 if test x$gcc_no_link = xyes; then
16814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16816 { (exit 1); exit 1; }; }
16818 cat >conftest.$ac_ext <<_ACEOF
16821 cat confdefs.h >>conftest.$ac_ext
16822 cat >>conftest.$ac_ext <<_ACEOF
16823 /* end confdefs.h. */
16825 /* Override any gcc2 internal prototype to avoid an error. */
16829 /* We use char because int might match the return type of a gcc2
16830 builtin and then its argument prototype would still apply. */
16840 rm -f conftest.$ac_objext conftest$ac_exeext
16841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16842 (eval $ac_link) 2>conftest.er1
16844 grep -v '^ *+' conftest.er1 >conftest.err
16846 cat conftest.err >&5
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); } &&
16849 { ac_try='test -z "$ac_c_werror_flag"
16850 || test ! -s conftest.err'
16851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16852 (eval $ac_try) 2>&5
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); }; } &&
16856 { ac_try='test -s conftest$ac_exeext'
16857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16858 (eval $ac_try) 2>&5
16860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16861 (exit $ac_status); }; }; then
16862 ac_cv_lib_m_clogf=yes
16864 echo "$as_me: failed program was:" >&5
16865 sed 's/^/| /' conftest.$ac_ext >&5
16867 ac_cv_lib_m_clogf=no
16869 rm -f conftest.err conftest.$ac_objext \
16870 conftest$ac_exeext conftest.$ac_ext
16871 LIBS=$ac_check_lib_save_LIBS
16873 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
16874 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
16875 if test $ac_cv_lib_m_clogf = yes; then
16877 cat >>confdefs.h <<\_ACEOF
16878 #define HAVE_CLOGF 1
16883 echo "$as_me:$LINENO: checking for clog in -lm" >&5
16884 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
16885 if test "${ac_cv_lib_m_clog+set}" = set; then
16886 echo $ECHO_N "(cached) $ECHO_C" >&6
16888 ac_check_lib_save_LIBS=$LIBS
16890 if test x$gcc_no_link = xyes; then
16891 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16893 { (exit 1); exit 1; }; }
16895 cat >conftest.$ac_ext <<_ACEOF
16898 cat confdefs.h >>conftest.$ac_ext
16899 cat >>conftest.$ac_ext <<_ACEOF
16900 /* end confdefs.h. */
16902 /* Override any gcc2 internal prototype to avoid an error. */
16906 /* We use char because int might match the return type of a gcc2
16907 builtin and then its argument prototype would still apply. */
16917 rm -f conftest.$ac_objext conftest$ac_exeext
16918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16919 (eval $ac_link) 2>conftest.er1
16921 grep -v '^ *+' conftest.er1 >conftest.err
16923 cat conftest.err >&5
16924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16925 (exit $ac_status); } &&
16926 { ac_try='test -z "$ac_c_werror_flag"
16927 || test ! -s conftest.err'
16928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16929 (eval $ac_try) 2>&5
16931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16932 (exit $ac_status); }; } &&
16933 { ac_try='test -s conftest$ac_exeext'
16934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16935 (eval $ac_try) 2>&5
16937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16938 (exit $ac_status); }; }; then
16939 ac_cv_lib_m_clog=yes
16941 echo "$as_me: failed program was:" >&5
16942 sed 's/^/| /' conftest.$ac_ext >&5
16944 ac_cv_lib_m_clog=no
16946 rm -f conftest.err conftest.$ac_objext \
16947 conftest$ac_exeext conftest.$ac_ext
16948 LIBS=$ac_check_lib_save_LIBS
16950 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
16951 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
16952 if test $ac_cv_lib_m_clog = yes; then
16954 cat >>confdefs.h <<\_ACEOF
16955 #define HAVE_CLOG 1
16960 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
16961 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
16962 if test "${ac_cv_lib_m_clogl+set}" = set; then
16963 echo $ECHO_N "(cached) $ECHO_C" >&6
16965 ac_check_lib_save_LIBS=$LIBS
16967 if test x$gcc_no_link = xyes; then
16968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16970 { (exit 1); exit 1; }; }
16972 cat >conftest.$ac_ext <<_ACEOF
16975 cat confdefs.h >>conftest.$ac_ext
16976 cat >>conftest.$ac_ext <<_ACEOF
16977 /* end confdefs.h. */
16979 /* Override any gcc2 internal prototype to avoid an error. */
16983 /* We use char because int might match the return type of a gcc2
16984 builtin and then its argument prototype would still apply. */
16994 rm -f conftest.$ac_objext conftest$ac_exeext
16995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16996 (eval $ac_link) 2>conftest.er1
16998 grep -v '^ *+' conftest.er1 >conftest.err
17000 cat conftest.err >&5
17001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17002 (exit $ac_status); } &&
17003 { ac_try='test -z "$ac_c_werror_flag"
17004 || test ! -s conftest.err'
17005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17006 (eval $ac_try) 2>&5
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); }; } &&
17010 { ac_try='test -s conftest$ac_exeext'
17011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17012 (eval $ac_try) 2>&5
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); }; }; then
17016 ac_cv_lib_m_clogl=yes
17018 echo "$as_me: failed program was:" >&5
17019 sed 's/^/| /' conftest.$ac_ext >&5
17021 ac_cv_lib_m_clogl=no
17023 rm -f conftest.err conftest.$ac_objext \
17024 conftest$ac_exeext conftest.$ac_ext
17025 LIBS=$ac_check_lib_save_LIBS
17027 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
17028 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
17029 if test $ac_cv_lib_m_clogl = yes; then
17031 cat >>confdefs.h <<\_ACEOF
17032 #define HAVE_CLOGL 1
17037 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
17038 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
17039 if test "${ac_cv_lib_m_log10f+set}" = set; then
17040 echo $ECHO_N "(cached) $ECHO_C" >&6
17042 ac_check_lib_save_LIBS=$LIBS
17044 if test x$gcc_no_link = xyes; then
17045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17047 { (exit 1); exit 1; }; }
17049 cat >conftest.$ac_ext <<_ACEOF
17052 cat confdefs.h >>conftest.$ac_ext
17053 cat >>conftest.$ac_ext <<_ACEOF
17054 /* end confdefs.h. */
17056 /* Override any gcc2 internal prototype to avoid an error. */
17060 /* We use char because int might match the return type of a gcc2
17061 builtin and then its argument prototype would still apply. */
17071 rm -f conftest.$ac_objext conftest$ac_exeext
17072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17073 (eval $ac_link) 2>conftest.er1
17075 grep -v '^ *+' conftest.er1 >conftest.err
17077 cat conftest.err >&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); } &&
17080 { ac_try='test -z "$ac_c_werror_flag"
17081 || test ! -s conftest.err'
17082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17083 (eval $ac_try) 2>&5
17085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17086 (exit $ac_status); }; } &&
17087 { ac_try='test -s conftest$ac_exeext'
17088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17089 (eval $ac_try) 2>&5
17091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17092 (exit $ac_status); }; }; then
17093 ac_cv_lib_m_log10f=yes
17095 echo "$as_me: failed program was:" >&5
17096 sed 's/^/| /' conftest.$ac_ext >&5
17098 ac_cv_lib_m_log10f=no
17100 rm -f conftest.err conftest.$ac_objext \
17101 conftest$ac_exeext conftest.$ac_ext
17102 LIBS=$ac_check_lib_save_LIBS
17104 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
17105 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
17106 if test $ac_cv_lib_m_log10f = yes; then
17108 cat >>confdefs.h <<\_ACEOF
17109 #define HAVE_LOG10F 1
17114 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
17115 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
17116 if test "${ac_cv_lib_m_log10+set}" = set; then
17117 echo $ECHO_N "(cached) $ECHO_C" >&6
17119 ac_check_lib_save_LIBS=$LIBS
17121 if test x$gcc_no_link = xyes; then
17122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17124 { (exit 1); exit 1; }; }
17126 cat >conftest.$ac_ext <<_ACEOF
17129 cat confdefs.h >>conftest.$ac_ext
17130 cat >>conftest.$ac_ext <<_ACEOF
17131 /* end confdefs.h. */
17133 /* Override any gcc2 internal prototype to avoid an error. */
17137 /* We use char because int might match the return type of a gcc2
17138 builtin and then its argument prototype would still apply. */
17148 rm -f conftest.$ac_objext conftest$ac_exeext
17149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17150 (eval $ac_link) 2>conftest.er1
17152 grep -v '^ *+' conftest.er1 >conftest.err
17154 cat conftest.err >&5
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); } &&
17157 { ac_try='test -z "$ac_c_werror_flag"
17158 || test ! -s conftest.err'
17159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17160 (eval $ac_try) 2>&5
17162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17163 (exit $ac_status); }; } &&
17164 { ac_try='test -s conftest$ac_exeext'
17165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17166 (eval $ac_try) 2>&5
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); }; }; then
17170 ac_cv_lib_m_log10=yes
17172 echo "$as_me: failed program was:" >&5
17173 sed 's/^/| /' conftest.$ac_ext >&5
17175 ac_cv_lib_m_log10=no
17177 rm -f conftest.err conftest.$ac_objext \
17178 conftest$ac_exeext conftest.$ac_ext
17179 LIBS=$ac_check_lib_save_LIBS
17181 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
17182 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
17183 if test $ac_cv_lib_m_log10 = yes; then
17185 cat >>confdefs.h <<\_ACEOF
17186 #define HAVE_LOG10 1
17191 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
17192 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
17193 if test "${ac_cv_lib_m_log10l+set}" = set; then
17194 echo $ECHO_N "(cached) $ECHO_C" >&6
17196 ac_check_lib_save_LIBS=$LIBS
17198 if test x$gcc_no_link = xyes; then
17199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17201 { (exit 1); exit 1; }; }
17203 cat >conftest.$ac_ext <<_ACEOF
17206 cat confdefs.h >>conftest.$ac_ext
17207 cat >>conftest.$ac_ext <<_ACEOF
17208 /* end confdefs.h. */
17210 /* Override any gcc2 internal prototype to avoid an error. */
17214 /* We use char because int might match the return type of a gcc2
17215 builtin and then its argument prototype would still apply. */
17225 rm -f conftest.$ac_objext conftest$ac_exeext
17226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17227 (eval $ac_link) 2>conftest.er1
17229 grep -v '^ *+' conftest.er1 >conftest.err
17231 cat conftest.err >&5
17232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17233 (exit $ac_status); } &&
17234 { ac_try='test -z "$ac_c_werror_flag"
17235 || test ! -s conftest.err'
17236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17237 (eval $ac_try) 2>&5
17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240 (exit $ac_status); }; } &&
17241 { ac_try='test -s conftest$ac_exeext'
17242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17243 (eval $ac_try) 2>&5
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); }; }; then
17247 ac_cv_lib_m_log10l=yes
17249 echo "$as_me: failed program was:" >&5
17250 sed 's/^/| /' conftest.$ac_ext >&5
17252 ac_cv_lib_m_log10l=no
17254 rm -f conftest.err conftest.$ac_objext \
17255 conftest$ac_exeext conftest.$ac_ext
17256 LIBS=$ac_check_lib_save_LIBS
17258 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
17259 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
17260 if test $ac_cv_lib_m_log10l = yes; then
17262 cat >>confdefs.h <<\_ACEOF
17263 #define HAVE_LOG10L 1
17268 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
17269 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
17270 if test "${ac_cv_lib_m_clog10f+set}" = set; then
17271 echo $ECHO_N "(cached) $ECHO_C" >&6
17273 ac_check_lib_save_LIBS=$LIBS
17275 if test x$gcc_no_link = xyes; then
17276 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17278 { (exit 1); exit 1; }; }
17280 cat >conftest.$ac_ext <<_ACEOF
17283 cat confdefs.h >>conftest.$ac_ext
17284 cat >>conftest.$ac_ext <<_ACEOF
17285 /* end confdefs.h. */
17287 /* Override any gcc2 internal prototype to avoid an error. */
17291 /* We use char because int might match the return type of a gcc2
17292 builtin and then its argument prototype would still apply. */
17302 rm -f conftest.$ac_objext conftest$ac_exeext
17303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17304 (eval $ac_link) 2>conftest.er1
17306 grep -v '^ *+' conftest.er1 >conftest.err
17308 cat conftest.err >&5
17309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17310 (exit $ac_status); } &&
17311 { ac_try='test -z "$ac_c_werror_flag"
17312 || test ! -s conftest.err'
17313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17314 (eval $ac_try) 2>&5
17316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17317 (exit $ac_status); }; } &&
17318 { ac_try='test -s conftest$ac_exeext'
17319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17320 (eval $ac_try) 2>&5
17322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17323 (exit $ac_status); }; }; then
17324 ac_cv_lib_m_clog10f=yes
17326 echo "$as_me: failed program was:" >&5
17327 sed 's/^/| /' conftest.$ac_ext >&5
17329 ac_cv_lib_m_clog10f=no
17331 rm -f conftest.err conftest.$ac_objext \
17332 conftest$ac_exeext conftest.$ac_ext
17333 LIBS=$ac_check_lib_save_LIBS
17335 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
17336 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
17337 if test $ac_cv_lib_m_clog10f = yes; then
17339 cat >>confdefs.h <<\_ACEOF
17340 #define HAVE_CLOG10F 1
17345 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
17346 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
17347 if test "${ac_cv_lib_m_clog10+set}" = set; then
17348 echo $ECHO_N "(cached) $ECHO_C" >&6
17350 ac_check_lib_save_LIBS=$LIBS
17352 if test x$gcc_no_link = xyes; then
17353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17355 { (exit 1); exit 1; }; }
17357 cat >conftest.$ac_ext <<_ACEOF
17360 cat confdefs.h >>conftest.$ac_ext
17361 cat >>conftest.$ac_ext <<_ACEOF
17362 /* end confdefs.h. */
17364 /* Override any gcc2 internal prototype to avoid an error. */
17368 /* We use char because int might match the return type of a gcc2
17369 builtin and then its argument prototype would still apply. */
17379 rm -f conftest.$ac_objext conftest$ac_exeext
17380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17381 (eval $ac_link) 2>conftest.er1
17383 grep -v '^ *+' conftest.er1 >conftest.err
17385 cat conftest.err >&5
17386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17387 (exit $ac_status); } &&
17388 { ac_try='test -z "$ac_c_werror_flag"
17389 || test ! -s conftest.err'
17390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17391 (eval $ac_try) 2>&5
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); }; } &&
17395 { ac_try='test -s conftest$ac_exeext'
17396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17397 (eval $ac_try) 2>&5
17399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400 (exit $ac_status); }; }; then
17401 ac_cv_lib_m_clog10=yes
17403 echo "$as_me: failed program was:" >&5
17404 sed 's/^/| /' conftest.$ac_ext >&5
17406 ac_cv_lib_m_clog10=no
17408 rm -f conftest.err conftest.$ac_objext \
17409 conftest$ac_exeext conftest.$ac_ext
17410 LIBS=$ac_check_lib_save_LIBS
17412 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
17413 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
17414 if test $ac_cv_lib_m_clog10 = yes; then
17416 cat >>confdefs.h <<\_ACEOF
17417 #define HAVE_CLOG10 1
17422 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
17423 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
17424 if test "${ac_cv_lib_m_clog10l+set}" = set; then
17425 echo $ECHO_N "(cached) $ECHO_C" >&6
17427 ac_check_lib_save_LIBS=$LIBS
17429 if test x$gcc_no_link = xyes; then
17430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17432 { (exit 1); exit 1; }; }
17434 cat >conftest.$ac_ext <<_ACEOF
17437 cat confdefs.h >>conftest.$ac_ext
17438 cat >>conftest.$ac_ext <<_ACEOF
17439 /* end confdefs.h. */
17441 /* Override any gcc2 internal prototype to avoid an error. */
17445 /* We use char because int might match the return type of a gcc2
17446 builtin and then its argument prototype would still apply. */
17456 rm -f conftest.$ac_objext conftest$ac_exeext
17457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17458 (eval $ac_link) 2>conftest.er1
17460 grep -v '^ *+' conftest.er1 >conftest.err
17462 cat conftest.err >&5
17463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17464 (exit $ac_status); } &&
17465 { ac_try='test -z "$ac_c_werror_flag"
17466 || test ! -s conftest.err'
17467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17468 (eval $ac_try) 2>&5
17470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471 (exit $ac_status); }; } &&
17472 { ac_try='test -s conftest$ac_exeext'
17473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17474 (eval $ac_try) 2>&5
17476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17477 (exit $ac_status); }; }; then
17478 ac_cv_lib_m_clog10l=yes
17480 echo "$as_me: failed program was:" >&5
17481 sed 's/^/| /' conftest.$ac_ext >&5
17483 ac_cv_lib_m_clog10l=no
17485 rm -f conftest.err conftest.$ac_objext \
17486 conftest$ac_exeext conftest.$ac_ext
17487 LIBS=$ac_check_lib_save_LIBS
17489 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
17490 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
17491 if test $ac_cv_lib_m_clog10l = yes; then
17493 cat >>confdefs.h <<\_ACEOF
17494 #define HAVE_CLOG10L 1
17499 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
17500 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
17501 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
17502 echo $ECHO_N "(cached) $ECHO_C" >&6
17504 ac_check_lib_save_LIBS=$LIBS
17506 if test x$gcc_no_link = xyes; then
17507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17509 { (exit 1); exit 1; }; }
17511 cat >conftest.$ac_ext <<_ACEOF
17514 cat confdefs.h >>conftest.$ac_ext
17515 cat >>conftest.$ac_ext <<_ACEOF
17516 /* end confdefs.h. */
17518 /* Override any gcc2 internal prototype to avoid an error. */
17522 /* We use char because int might match the return type of a gcc2
17523 builtin and then its argument prototype would still apply. */
17524 char nextafterf ();
17533 rm -f conftest.$ac_objext conftest$ac_exeext
17534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17535 (eval $ac_link) 2>conftest.er1
17537 grep -v '^ *+' conftest.er1 >conftest.err
17539 cat conftest.err >&5
17540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17541 (exit $ac_status); } &&
17542 { ac_try='test -z "$ac_c_werror_flag"
17543 || test ! -s conftest.err'
17544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17545 (eval $ac_try) 2>&5
17547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548 (exit $ac_status); }; } &&
17549 { ac_try='test -s conftest$ac_exeext'
17550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17551 (eval $ac_try) 2>&5
17553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17554 (exit $ac_status); }; }; then
17555 ac_cv_lib_m_nextafterf=yes
17557 echo "$as_me: failed program was:" >&5
17558 sed 's/^/| /' conftest.$ac_ext >&5
17560 ac_cv_lib_m_nextafterf=no
17562 rm -f conftest.err conftest.$ac_objext \
17563 conftest$ac_exeext conftest.$ac_ext
17564 LIBS=$ac_check_lib_save_LIBS
17566 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
17567 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
17568 if test $ac_cv_lib_m_nextafterf = yes; then
17570 cat >>confdefs.h <<\_ACEOF
17571 #define HAVE_NEXTAFTERF 1
17576 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
17577 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
17578 if test "${ac_cv_lib_m_nextafter+set}" = set; then
17579 echo $ECHO_N "(cached) $ECHO_C" >&6
17581 ac_check_lib_save_LIBS=$LIBS
17583 if test x$gcc_no_link = xyes; then
17584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17586 { (exit 1); exit 1; }; }
17588 cat >conftest.$ac_ext <<_ACEOF
17591 cat confdefs.h >>conftest.$ac_ext
17592 cat >>conftest.$ac_ext <<_ACEOF
17593 /* end confdefs.h. */
17595 /* Override any gcc2 internal prototype to avoid an error. */
17599 /* We use char because int might match the return type of a gcc2
17600 builtin and then its argument prototype would still apply. */
17610 rm -f conftest.$ac_objext conftest$ac_exeext
17611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17612 (eval $ac_link) 2>conftest.er1
17614 grep -v '^ *+' conftest.er1 >conftest.err
17616 cat conftest.err >&5
17617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17618 (exit $ac_status); } &&
17619 { ac_try='test -z "$ac_c_werror_flag"
17620 || test ! -s conftest.err'
17621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17622 (eval $ac_try) 2>&5
17624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17625 (exit $ac_status); }; } &&
17626 { ac_try='test -s conftest$ac_exeext'
17627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17628 (eval $ac_try) 2>&5
17630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17631 (exit $ac_status); }; }; then
17632 ac_cv_lib_m_nextafter=yes
17634 echo "$as_me: failed program was:" >&5
17635 sed 's/^/| /' conftest.$ac_ext >&5
17637 ac_cv_lib_m_nextafter=no
17639 rm -f conftest.err conftest.$ac_objext \
17640 conftest$ac_exeext conftest.$ac_ext
17641 LIBS=$ac_check_lib_save_LIBS
17643 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
17644 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
17645 if test $ac_cv_lib_m_nextafter = yes; then
17647 cat >>confdefs.h <<\_ACEOF
17648 #define HAVE_NEXTAFTER 1
17653 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
17654 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
17655 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
17656 echo $ECHO_N "(cached) $ECHO_C" >&6
17658 ac_check_lib_save_LIBS=$LIBS
17660 if test x$gcc_no_link = xyes; then
17661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17663 { (exit 1); exit 1; }; }
17665 cat >conftest.$ac_ext <<_ACEOF
17668 cat confdefs.h >>conftest.$ac_ext
17669 cat >>conftest.$ac_ext <<_ACEOF
17670 /* end confdefs.h. */
17672 /* Override any gcc2 internal prototype to avoid an error. */
17676 /* We use char because int might match the return type of a gcc2
17677 builtin and then its argument prototype would still apply. */
17678 char nextafterl ();
17687 rm -f conftest.$ac_objext conftest$ac_exeext
17688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17689 (eval $ac_link) 2>conftest.er1
17691 grep -v '^ *+' conftest.er1 >conftest.err
17693 cat conftest.err >&5
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); } &&
17696 { ac_try='test -z "$ac_c_werror_flag"
17697 || test ! -s conftest.err'
17698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17699 (eval $ac_try) 2>&5
17701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17702 (exit $ac_status); }; } &&
17703 { ac_try='test -s conftest$ac_exeext'
17704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17705 (eval $ac_try) 2>&5
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); }; }; then
17709 ac_cv_lib_m_nextafterl=yes
17711 echo "$as_me: failed program was:" >&5
17712 sed 's/^/| /' conftest.$ac_ext >&5
17714 ac_cv_lib_m_nextafterl=no
17716 rm -f conftest.err conftest.$ac_objext \
17717 conftest$ac_exeext conftest.$ac_ext
17718 LIBS=$ac_check_lib_save_LIBS
17720 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
17721 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
17722 if test $ac_cv_lib_m_nextafterl = yes; then
17724 cat >>confdefs.h <<\_ACEOF
17725 #define HAVE_NEXTAFTERL 1
17730 echo "$as_me:$LINENO: checking for powf in -lm" >&5
17731 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
17732 if test "${ac_cv_lib_m_powf+set}" = set; then
17733 echo $ECHO_N "(cached) $ECHO_C" >&6
17735 ac_check_lib_save_LIBS=$LIBS
17737 if test x$gcc_no_link = xyes; then
17738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17740 { (exit 1); exit 1; }; }
17742 cat >conftest.$ac_ext <<_ACEOF
17745 cat confdefs.h >>conftest.$ac_ext
17746 cat >>conftest.$ac_ext <<_ACEOF
17747 /* end confdefs.h. */
17749 /* Override any gcc2 internal prototype to avoid an error. */
17753 /* We use char because int might match the return type of a gcc2
17754 builtin and then its argument prototype would still apply. */
17764 rm -f conftest.$ac_objext conftest$ac_exeext
17765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17766 (eval $ac_link) 2>conftest.er1
17768 grep -v '^ *+' conftest.er1 >conftest.err
17770 cat conftest.err >&5
17771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772 (exit $ac_status); } &&
17773 { ac_try='test -z "$ac_c_werror_flag"
17774 || test ! -s conftest.err'
17775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17776 (eval $ac_try) 2>&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); }; } &&
17780 { ac_try='test -s conftest$ac_exeext'
17781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17782 (eval $ac_try) 2>&5
17784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785 (exit $ac_status); }; }; then
17786 ac_cv_lib_m_powf=yes
17788 echo "$as_me: failed program was:" >&5
17789 sed 's/^/| /' conftest.$ac_ext >&5
17791 ac_cv_lib_m_powf=no
17793 rm -f conftest.err conftest.$ac_objext \
17794 conftest$ac_exeext conftest.$ac_ext
17795 LIBS=$ac_check_lib_save_LIBS
17797 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
17798 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
17799 if test $ac_cv_lib_m_powf = yes; then
17801 cat >>confdefs.h <<\_ACEOF
17802 #define HAVE_POWF 1
17807 echo "$as_me:$LINENO: checking for pow in -lm" >&5
17808 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
17809 if test "${ac_cv_lib_m_pow+set}" = set; then
17810 echo $ECHO_N "(cached) $ECHO_C" >&6
17812 ac_check_lib_save_LIBS=$LIBS
17814 if test x$gcc_no_link = xyes; then
17815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17817 { (exit 1); exit 1; }; }
17819 cat >conftest.$ac_ext <<_ACEOF
17822 cat confdefs.h >>conftest.$ac_ext
17823 cat >>conftest.$ac_ext <<_ACEOF
17824 /* end confdefs.h. */
17826 /* Override any gcc2 internal prototype to avoid an error. */
17830 /* We use char because int might match the return type of a gcc2
17831 builtin and then its argument prototype would still apply. */
17841 rm -f conftest.$ac_objext conftest$ac_exeext
17842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17843 (eval $ac_link) 2>conftest.er1
17845 grep -v '^ *+' conftest.er1 >conftest.err
17847 cat conftest.err >&5
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); } &&
17850 { ac_try='test -z "$ac_c_werror_flag"
17851 || test ! -s conftest.err'
17852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17853 (eval $ac_try) 2>&5
17855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17856 (exit $ac_status); }; } &&
17857 { ac_try='test -s conftest$ac_exeext'
17858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17859 (eval $ac_try) 2>&5
17861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17862 (exit $ac_status); }; }; then
17863 ac_cv_lib_m_pow=yes
17865 echo "$as_me: failed program was:" >&5
17866 sed 's/^/| /' conftest.$ac_ext >&5
17870 rm -f conftest.err conftest.$ac_objext \
17871 conftest$ac_exeext conftest.$ac_ext
17872 LIBS=$ac_check_lib_save_LIBS
17874 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
17875 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
17876 if test $ac_cv_lib_m_pow = yes; then
17878 cat >>confdefs.h <<\_ACEOF
17884 echo "$as_me:$LINENO: checking for powl in -lm" >&5
17885 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
17886 if test "${ac_cv_lib_m_powl+set}" = set; then
17887 echo $ECHO_N "(cached) $ECHO_C" >&6
17889 ac_check_lib_save_LIBS=$LIBS
17891 if test x$gcc_no_link = xyes; then
17892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17894 { (exit 1); exit 1; }; }
17896 cat >conftest.$ac_ext <<_ACEOF
17899 cat confdefs.h >>conftest.$ac_ext
17900 cat >>conftest.$ac_ext <<_ACEOF
17901 /* end confdefs.h. */
17903 /* Override any gcc2 internal prototype to avoid an error. */
17907 /* We use char because int might match the return type of a gcc2
17908 builtin and then its argument prototype would still apply. */
17918 rm -f conftest.$ac_objext conftest$ac_exeext
17919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17920 (eval $ac_link) 2>conftest.er1
17922 grep -v '^ *+' conftest.er1 >conftest.err
17924 cat conftest.err >&5
17925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926 (exit $ac_status); } &&
17927 { ac_try='test -z "$ac_c_werror_flag"
17928 || test ! -s conftest.err'
17929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17930 (eval $ac_try) 2>&5
17932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17933 (exit $ac_status); }; } &&
17934 { ac_try='test -s conftest$ac_exeext'
17935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17936 (eval $ac_try) 2>&5
17938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17939 (exit $ac_status); }; }; then
17940 ac_cv_lib_m_powl=yes
17942 echo "$as_me: failed program was:" >&5
17943 sed 's/^/| /' conftest.$ac_ext >&5
17945 ac_cv_lib_m_powl=no
17947 rm -f conftest.err conftest.$ac_objext \
17948 conftest$ac_exeext conftest.$ac_ext
17949 LIBS=$ac_check_lib_save_LIBS
17951 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
17952 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
17953 if test $ac_cv_lib_m_powl = yes; then
17955 cat >>confdefs.h <<\_ACEOF
17956 #define HAVE_POWL 1
17961 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
17962 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
17963 if test "${ac_cv_lib_m_cpowf+set}" = set; then
17964 echo $ECHO_N "(cached) $ECHO_C" >&6
17966 ac_check_lib_save_LIBS=$LIBS
17968 if test x$gcc_no_link = xyes; then
17969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17971 { (exit 1); exit 1; }; }
17973 cat >conftest.$ac_ext <<_ACEOF
17976 cat confdefs.h >>conftest.$ac_ext
17977 cat >>conftest.$ac_ext <<_ACEOF
17978 /* end confdefs.h. */
17980 /* Override any gcc2 internal prototype to avoid an error. */
17984 /* We use char because int might match the return type of a gcc2
17985 builtin and then its argument prototype would still apply. */
17995 rm -f conftest.$ac_objext conftest$ac_exeext
17996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17997 (eval $ac_link) 2>conftest.er1
17999 grep -v '^ *+' conftest.er1 >conftest.err
18001 cat conftest.err >&5
18002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18003 (exit $ac_status); } &&
18004 { ac_try='test -z "$ac_c_werror_flag"
18005 || test ! -s conftest.err'
18006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18007 (eval $ac_try) 2>&5
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); }; } &&
18011 { ac_try='test -s conftest$ac_exeext'
18012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18013 (eval $ac_try) 2>&5
18015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18016 (exit $ac_status); }; }; then
18017 ac_cv_lib_m_cpowf=yes
18019 echo "$as_me: failed program was:" >&5
18020 sed 's/^/| /' conftest.$ac_ext >&5
18022 ac_cv_lib_m_cpowf=no
18024 rm -f conftest.err conftest.$ac_objext \
18025 conftest$ac_exeext conftest.$ac_ext
18026 LIBS=$ac_check_lib_save_LIBS
18028 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
18029 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
18030 if test $ac_cv_lib_m_cpowf = yes; then
18032 cat >>confdefs.h <<\_ACEOF
18033 #define HAVE_CPOWF 1
18038 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
18039 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
18040 if test "${ac_cv_lib_m_cpow+set}" = set; then
18041 echo $ECHO_N "(cached) $ECHO_C" >&6
18043 ac_check_lib_save_LIBS=$LIBS
18045 if test x$gcc_no_link = xyes; then
18046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18048 { (exit 1); exit 1; }; }
18050 cat >conftest.$ac_ext <<_ACEOF
18053 cat confdefs.h >>conftest.$ac_ext
18054 cat >>conftest.$ac_ext <<_ACEOF
18055 /* end confdefs.h. */
18057 /* Override any gcc2 internal prototype to avoid an error. */
18061 /* We use char because int might match the return type of a gcc2
18062 builtin and then its argument prototype would still apply. */
18072 rm -f conftest.$ac_objext conftest$ac_exeext
18073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18074 (eval $ac_link) 2>conftest.er1
18076 grep -v '^ *+' conftest.er1 >conftest.err
18078 cat conftest.err >&5
18079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18080 (exit $ac_status); } &&
18081 { ac_try='test -z "$ac_c_werror_flag"
18082 || test ! -s conftest.err'
18083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18084 (eval $ac_try) 2>&5
18086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18087 (exit $ac_status); }; } &&
18088 { ac_try='test -s conftest$ac_exeext'
18089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18090 (eval $ac_try) 2>&5
18092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18093 (exit $ac_status); }; }; then
18094 ac_cv_lib_m_cpow=yes
18096 echo "$as_me: failed program was:" >&5
18097 sed 's/^/| /' conftest.$ac_ext >&5
18099 ac_cv_lib_m_cpow=no
18101 rm -f conftest.err conftest.$ac_objext \
18102 conftest$ac_exeext conftest.$ac_ext
18103 LIBS=$ac_check_lib_save_LIBS
18105 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
18106 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
18107 if test $ac_cv_lib_m_cpow = yes; then
18109 cat >>confdefs.h <<\_ACEOF
18110 #define HAVE_CPOW 1
18115 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
18116 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
18117 if test "${ac_cv_lib_m_cpowl+set}" = set; then
18118 echo $ECHO_N "(cached) $ECHO_C" >&6
18120 ac_check_lib_save_LIBS=$LIBS
18122 if test x$gcc_no_link = xyes; then
18123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18125 { (exit 1); exit 1; }; }
18127 cat >conftest.$ac_ext <<_ACEOF
18130 cat confdefs.h >>conftest.$ac_ext
18131 cat >>conftest.$ac_ext <<_ACEOF
18132 /* end confdefs.h. */
18134 /* Override any gcc2 internal prototype to avoid an error. */
18138 /* We use char because int might match the return type of a gcc2
18139 builtin and then its argument prototype would still apply. */
18149 rm -f conftest.$ac_objext conftest$ac_exeext
18150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18151 (eval $ac_link) 2>conftest.er1
18153 grep -v '^ *+' conftest.er1 >conftest.err
18155 cat conftest.err >&5
18156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18157 (exit $ac_status); } &&
18158 { ac_try='test -z "$ac_c_werror_flag"
18159 || test ! -s conftest.err'
18160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18161 (eval $ac_try) 2>&5
18163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18164 (exit $ac_status); }; } &&
18165 { ac_try='test -s conftest$ac_exeext'
18166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18167 (eval $ac_try) 2>&5
18169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18170 (exit $ac_status); }; }; then
18171 ac_cv_lib_m_cpowl=yes
18173 echo "$as_me: failed program was:" >&5
18174 sed 's/^/| /' conftest.$ac_ext >&5
18176 ac_cv_lib_m_cpowl=no
18178 rm -f conftest.err conftest.$ac_objext \
18179 conftest$ac_exeext conftest.$ac_ext
18180 LIBS=$ac_check_lib_save_LIBS
18182 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
18183 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
18184 if test $ac_cv_lib_m_cpowl = yes; then
18186 cat >>confdefs.h <<\_ACEOF
18187 #define HAVE_CPOWL 1
18192 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
18193 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
18194 if test "${ac_cv_lib_m_roundf+set}" = set; then
18195 echo $ECHO_N "(cached) $ECHO_C" >&6
18197 ac_check_lib_save_LIBS=$LIBS
18199 if test x$gcc_no_link = xyes; then
18200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18202 { (exit 1); exit 1; }; }
18204 cat >conftest.$ac_ext <<_ACEOF
18207 cat confdefs.h >>conftest.$ac_ext
18208 cat >>conftest.$ac_ext <<_ACEOF
18209 /* end confdefs.h. */
18211 /* Override any gcc2 internal prototype to avoid an error. */
18215 /* We use char because int might match the return type of a gcc2
18216 builtin and then its argument prototype would still apply. */
18226 rm -f conftest.$ac_objext conftest$ac_exeext
18227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18228 (eval $ac_link) 2>conftest.er1
18230 grep -v '^ *+' conftest.er1 >conftest.err
18232 cat conftest.err >&5
18233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18234 (exit $ac_status); } &&
18235 { ac_try='test -z "$ac_c_werror_flag"
18236 || test ! -s conftest.err'
18237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18238 (eval $ac_try) 2>&5
18240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18241 (exit $ac_status); }; } &&
18242 { ac_try='test -s conftest$ac_exeext'
18243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18244 (eval $ac_try) 2>&5
18246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18247 (exit $ac_status); }; }; then
18248 ac_cv_lib_m_roundf=yes
18250 echo "$as_me: failed program was:" >&5
18251 sed 's/^/| /' conftest.$ac_ext >&5
18253 ac_cv_lib_m_roundf=no
18255 rm -f conftest.err conftest.$ac_objext \
18256 conftest$ac_exeext conftest.$ac_ext
18257 LIBS=$ac_check_lib_save_LIBS
18259 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
18260 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
18261 if test $ac_cv_lib_m_roundf = yes; then
18263 cat >>confdefs.h <<\_ACEOF
18264 #define HAVE_ROUNDF 1
18269 echo "$as_me:$LINENO: checking for round in -lm" >&5
18270 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
18271 if test "${ac_cv_lib_m_round+set}" = set; then
18272 echo $ECHO_N "(cached) $ECHO_C" >&6
18274 ac_check_lib_save_LIBS=$LIBS
18276 if test x$gcc_no_link = xyes; then
18277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18279 { (exit 1); exit 1; }; }
18281 cat >conftest.$ac_ext <<_ACEOF
18284 cat confdefs.h >>conftest.$ac_ext
18285 cat >>conftest.$ac_ext <<_ACEOF
18286 /* end confdefs.h. */
18288 /* Override any gcc2 internal prototype to avoid an error. */
18292 /* We use char because int might match the return type of a gcc2
18293 builtin and then its argument prototype would still apply. */
18303 rm -f conftest.$ac_objext conftest$ac_exeext
18304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18305 (eval $ac_link) 2>conftest.er1
18307 grep -v '^ *+' conftest.er1 >conftest.err
18309 cat conftest.err >&5
18310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18311 (exit $ac_status); } &&
18312 { ac_try='test -z "$ac_c_werror_flag"
18313 || test ! -s conftest.err'
18314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18315 (eval $ac_try) 2>&5
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); }; } &&
18319 { ac_try='test -s conftest$ac_exeext'
18320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18321 (eval $ac_try) 2>&5
18323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18324 (exit $ac_status); }; }; then
18325 ac_cv_lib_m_round=yes
18327 echo "$as_me: failed program was:" >&5
18328 sed 's/^/| /' conftest.$ac_ext >&5
18330 ac_cv_lib_m_round=no
18332 rm -f conftest.err conftest.$ac_objext \
18333 conftest$ac_exeext conftest.$ac_ext
18334 LIBS=$ac_check_lib_save_LIBS
18336 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
18337 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
18338 if test $ac_cv_lib_m_round = yes; then
18340 cat >>confdefs.h <<\_ACEOF
18341 #define HAVE_ROUND 1
18346 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
18347 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
18348 if test "${ac_cv_lib_m_roundl+set}" = set; then
18349 echo $ECHO_N "(cached) $ECHO_C" >&6
18351 ac_check_lib_save_LIBS=$LIBS
18353 if test x$gcc_no_link = xyes; then
18354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18356 { (exit 1); exit 1; }; }
18358 cat >conftest.$ac_ext <<_ACEOF
18361 cat confdefs.h >>conftest.$ac_ext
18362 cat >>conftest.$ac_ext <<_ACEOF
18363 /* end confdefs.h. */
18365 /* Override any gcc2 internal prototype to avoid an error. */
18369 /* We use char because int might match the return type of a gcc2
18370 builtin and then its argument prototype would still apply. */
18380 rm -f conftest.$ac_objext conftest$ac_exeext
18381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18382 (eval $ac_link) 2>conftest.er1
18384 grep -v '^ *+' conftest.er1 >conftest.err
18386 cat conftest.err >&5
18387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18388 (exit $ac_status); } &&
18389 { ac_try='test -z "$ac_c_werror_flag"
18390 || test ! -s conftest.err'
18391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18392 (eval $ac_try) 2>&5
18394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18395 (exit $ac_status); }; } &&
18396 { ac_try='test -s conftest$ac_exeext'
18397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18398 (eval $ac_try) 2>&5
18400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401 (exit $ac_status); }; }; then
18402 ac_cv_lib_m_roundl=yes
18404 echo "$as_me: failed program was:" >&5
18405 sed 's/^/| /' conftest.$ac_ext >&5
18407 ac_cv_lib_m_roundl=no
18409 rm -f conftest.err conftest.$ac_objext \
18410 conftest$ac_exeext conftest.$ac_ext
18411 LIBS=$ac_check_lib_save_LIBS
18413 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
18414 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
18415 if test $ac_cv_lib_m_roundl = yes; then
18417 cat >>confdefs.h <<\_ACEOF
18418 #define HAVE_ROUNDL 1
18423 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
18424 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
18425 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
18426 echo $ECHO_N "(cached) $ECHO_C" >&6
18428 ac_check_lib_save_LIBS=$LIBS
18430 if test x$gcc_no_link = xyes; then
18431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18433 { (exit 1); exit 1; }; }
18435 cat >conftest.$ac_ext <<_ACEOF
18438 cat confdefs.h >>conftest.$ac_ext
18439 cat >>conftest.$ac_ext <<_ACEOF
18440 /* end confdefs.h. */
18442 /* Override any gcc2 internal prototype to avoid an error. */
18446 /* We use char because int might match the return type of a gcc2
18447 builtin and then its argument prototype would still apply. */
18457 rm -f conftest.$ac_objext conftest$ac_exeext
18458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18459 (eval $ac_link) 2>conftest.er1
18461 grep -v '^ *+' conftest.er1 >conftest.err
18463 cat conftest.err >&5
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); } &&
18466 { ac_try='test -z "$ac_c_werror_flag"
18467 || test ! -s conftest.err'
18468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18469 (eval $ac_try) 2>&5
18471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18472 (exit $ac_status); }; } &&
18473 { ac_try='test -s conftest$ac_exeext'
18474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18475 (eval $ac_try) 2>&5
18477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18478 (exit $ac_status); }; }; then
18479 ac_cv_lib_m_scalbnf=yes
18481 echo "$as_me: failed program was:" >&5
18482 sed 's/^/| /' conftest.$ac_ext >&5
18484 ac_cv_lib_m_scalbnf=no
18486 rm -f conftest.err conftest.$ac_objext \
18487 conftest$ac_exeext conftest.$ac_ext
18488 LIBS=$ac_check_lib_save_LIBS
18490 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
18491 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
18492 if test $ac_cv_lib_m_scalbnf = yes; then
18494 cat >>confdefs.h <<\_ACEOF
18495 #define HAVE_SCALBNF 1
18500 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
18501 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
18502 if test "${ac_cv_lib_m_scalbn+set}" = set; then
18503 echo $ECHO_N "(cached) $ECHO_C" >&6
18505 ac_check_lib_save_LIBS=$LIBS
18507 if test x$gcc_no_link = xyes; then
18508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18510 { (exit 1); exit 1; }; }
18512 cat >conftest.$ac_ext <<_ACEOF
18515 cat confdefs.h >>conftest.$ac_ext
18516 cat >>conftest.$ac_ext <<_ACEOF
18517 /* end confdefs.h. */
18519 /* Override any gcc2 internal prototype to avoid an error. */
18523 /* We use char because int might match the return type of a gcc2
18524 builtin and then its argument prototype would still apply. */
18534 rm -f conftest.$ac_objext conftest$ac_exeext
18535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18536 (eval $ac_link) 2>conftest.er1
18538 grep -v '^ *+' conftest.er1 >conftest.err
18540 cat conftest.err >&5
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); } &&
18543 { ac_try='test -z "$ac_c_werror_flag"
18544 || test ! -s conftest.err'
18545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18546 (eval $ac_try) 2>&5
18548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18549 (exit $ac_status); }; } &&
18550 { ac_try='test -s conftest$ac_exeext'
18551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18552 (eval $ac_try) 2>&5
18554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18555 (exit $ac_status); }; }; then
18556 ac_cv_lib_m_scalbn=yes
18558 echo "$as_me: failed program was:" >&5
18559 sed 's/^/| /' conftest.$ac_ext >&5
18561 ac_cv_lib_m_scalbn=no
18563 rm -f conftest.err conftest.$ac_objext \
18564 conftest$ac_exeext conftest.$ac_ext
18565 LIBS=$ac_check_lib_save_LIBS
18567 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
18568 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
18569 if test $ac_cv_lib_m_scalbn = yes; then
18571 cat >>confdefs.h <<\_ACEOF
18572 #define HAVE_SCALBN 1
18577 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
18578 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
18579 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
18580 echo $ECHO_N "(cached) $ECHO_C" >&6
18582 ac_check_lib_save_LIBS=$LIBS
18584 if test x$gcc_no_link = xyes; then
18585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18587 { (exit 1); exit 1; }; }
18589 cat >conftest.$ac_ext <<_ACEOF
18592 cat confdefs.h >>conftest.$ac_ext
18593 cat >>conftest.$ac_ext <<_ACEOF
18594 /* end confdefs.h. */
18596 /* Override any gcc2 internal prototype to avoid an error. */
18600 /* We use char because int might match the return type of a gcc2
18601 builtin and then its argument prototype would still apply. */
18611 rm -f conftest.$ac_objext conftest$ac_exeext
18612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18613 (eval $ac_link) 2>conftest.er1
18615 grep -v '^ *+' conftest.er1 >conftest.err
18617 cat conftest.err >&5
18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18619 (exit $ac_status); } &&
18620 { ac_try='test -z "$ac_c_werror_flag"
18621 || test ! -s conftest.err'
18622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18623 (eval $ac_try) 2>&5
18625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626 (exit $ac_status); }; } &&
18627 { ac_try='test -s conftest$ac_exeext'
18628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18629 (eval $ac_try) 2>&5
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); }; }; then
18633 ac_cv_lib_m_scalbnl=yes
18635 echo "$as_me: failed program was:" >&5
18636 sed 's/^/| /' conftest.$ac_ext >&5
18638 ac_cv_lib_m_scalbnl=no
18640 rm -f conftest.err conftest.$ac_objext \
18641 conftest$ac_exeext conftest.$ac_ext
18642 LIBS=$ac_check_lib_save_LIBS
18644 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
18645 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
18646 if test $ac_cv_lib_m_scalbnl = yes; then
18648 cat >>confdefs.h <<\_ACEOF
18649 #define HAVE_SCALBNL 1
18654 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
18655 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
18656 if test "${ac_cv_lib_m_sinf+set}" = set; then
18657 echo $ECHO_N "(cached) $ECHO_C" >&6
18659 ac_check_lib_save_LIBS=$LIBS
18661 if test x$gcc_no_link = xyes; then
18662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18664 { (exit 1); exit 1; }; }
18666 cat >conftest.$ac_ext <<_ACEOF
18669 cat confdefs.h >>conftest.$ac_ext
18670 cat >>conftest.$ac_ext <<_ACEOF
18671 /* end confdefs.h. */
18673 /* Override any gcc2 internal prototype to avoid an error. */
18677 /* We use char because int might match the return type of a gcc2
18678 builtin and then its argument prototype would still apply. */
18688 rm -f conftest.$ac_objext conftest$ac_exeext
18689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18690 (eval $ac_link) 2>conftest.er1
18692 grep -v '^ *+' conftest.er1 >conftest.err
18694 cat conftest.err >&5
18695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18696 (exit $ac_status); } &&
18697 { ac_try='test -z "$ac_c_werror_flag"
18698 || test ! -s conftest.err'
18699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18700 (eval $ac_try) 2>&5
18702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18703 (exit $ac_status); }; } &&
18704 { ac_try='test -s conftest$ac_exeext'
18705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18706 (eval $ac_try) 2>&5
18708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18709 (exit $ac_status); }; }; then
18710 ac_cv_lib_m_sinf=yes
18712 echo "$as_me: failed program was:" >&5
18713 sed 's/^/| /' conftest.$ac_ext >&5
18715 ac_cv_lib_m_sinf=no
18717 rm -f conftest.err conftest.$ac_objext \
18718 conftest$ac_exeext conftest.$ac_ext
18719 LIBS=$ac_check_lib_save_LIBS
18721 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
18722 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
18723 if test $ac_cv_lib_m_sinf = yes; then
18725 cat >>confdefs.h <<\_ACEOF
18726 #define HAVE_SINF 1
18731 echo "$as_me:$LINENO: checking for sin in -lm" >&5
18732 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
18733 if test "${ac_cv_lib_m_sin+set}" = set; then
18734 echo $ECHO_N "(cached) $ECHO_C" >&6
18736 ac_check_lib_save_LIBS=$LIBS
18738 if test x$gcc_no_link = xyes; then
18739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18741 { (exit 1); exit 1; }; }
18743 cat >conftest.$ac_ext <<_ACEOF
18746 cat confdefs.h >>conftest.$ac_ext
18747 cat >>conftest.$ac_ext <<_ACEOF
18748 /* end confdefs.h. */
18750 /* Override any gcc2 internal prototype to avoid an error. */
18754 /* We use char because int might match the return type of a gcc2
18755 builtin and then its argument prototype would still apply. */
18765 rm -f conftest.$ac_objext conftest$ac_exeext
18766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18767 (eval $ac_link) 2>conftest.er1
18769 grep -v '^ *+' conftest.er1 >conftest.err
18771 cat conftest.err >&5
18772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18773 (exit $ac_status); } &&
18774 { ac_try='test -z "$ac_c_werror_flag"
18775 || test ! -s conftest.err'
18776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18777 (eval $ac_try) 2>&5
18779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18780 (exit $ac_status); }; } &&
18781 { ac_try='test -s conftest$ac_exeext'
18782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18783 (eval $ac_try) 2>&5
18785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786 (exit $ac_status); }; }; then
18787 ac_cv_lib_m_sin=yes
18789 echo "$as_me: failed program was:" >&5
18790 sed 's/^/| /' conftest.$ac_ext >&5
18794 rm -f conftest.err conftest.$ac_objext \
18795 conftest$ac_exeext conftest.$ac_ext
18796 LIBS=$ac_check_lib_save_LIBS
18798 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
18799 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
18800 if test $ac_cv_lib_m_sin = yes; then
18802 cat >>confdefs.h <<\_ACEOF
18808 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
18809 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
18810 if test "${ac_cv_lib_m_sinl+set}" = set; then
18811 echo $ECHO_N "(cached) $ECHO_C" >&6
18813 ac_check_lib_save_LIBS=$LIBS
18815 if test x$gcc_no_link = xyes; then
18816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18818 { (exit 1); exit 1; }; }
18820 cat >conftest.$ac_ext <<_ACEOF
18823 cat confdefs.h >>conftest.$ac_ext
18824 cat >>conftest.$ac_ext <<_ACEOF
18825 /* end confdefs.h. */
18827 /* Override any gcc2 internal prototype to avoid an error. */
18831 /* We use char because int might match the return type of a gcc2
18832 builtin and then its argument prototype would still apply. */
18842 rm -f conftest.$ac_objext conftest$ac_exeext
18843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18844 (eval $ac_link) 2>conftest.er1
18846 grep -v '^ *+' conftest.er1 >conftest.err
18848 cat conftest.err >&5
18849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18850 (exit $ac_status); } &&
18851 { ac_try='test -z "$ac_c_werror_flag"
18852 || test ! -s conftest.err'
18853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18854 (eval $ac_try) 2>&5
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); }; } &&
18858 { ac_try='test -s conftest$ac_exeext'
18859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18860 (eval $ac_try) 2>&5
18862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18863 (exit $ac_status); }; }; then
18864 ac_cv_lib_m_sinl=yes
18866 echo "$as_me: failed program was:" >&5
18867 sed 's/^/| /' conftest.$ac_ext >&5
18869 ac_cv_lib_m_sinl=no
18871 rm -f conftest.err conftest.$ac_objext \
18872 conftest$ac_exeext conftest.$ac_ext
18873 LIBS=$ac_check_lib_save_LIBS
18875 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
18876 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
18877 if test $ac_cv_lib_m_sinl = yes; then
18879 cat >>confdefs.h <<\_ACEOF
18880 #define HAVE_SINL 1
18885 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
18886 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
18887 if test "${ac_cv_lib_m_csinf+set}" = set; then
18888 echo $ECHO_N "(cached) $ECHO_C" >&6
18890 ac_check_lib_save_LIBS=$LIBS
18892 if test x$gcc_no_link = xyes; then
18893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18895 { (exit 1); exit 1; }; }
18897 cat >conftest.$ac_ext <<_ACEOF
18900 cat confdefs.h >>conftest.$ac_ext
18901 cat >>conftest.$ac_ext <<_ACEOF
18902 /* end confdefs.h. */
18904 /* Override any gcc2 internal prototype to avoid an error. */
18908 /* We use char because int might match the return type of a gcc2
18909 builtin and then its argument prototype would still apply. */
18919 rm -f conftest.$ac_objext conftest$ac_exeext
18920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18921 (eval $ac_link) 2>conftest.er1
18923 grep -v '^ *+' conftest.er1 >conftest.err
18925 cat conftest.err >&5
18926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927 (exit $ac_status); } &&
18928 { ac_try='test -z "$ac_c_werror_flag"
18929 || test ! -s conftest.err'
18930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18931 (eval $ac_try) 2>&5
18933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18934 (exit $ac_status); }; } &&
18935 { ac_try='test -s conftest$ac_exeext'
18936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18937 (eval $ac_try) 2>&5
18939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18940 (exit $ac_status); }; }; then
18941 ac_cv_lib_m_csinf=yes
18943 echo "$as_me: failed program was:" >&5
18944 sed 's/^/| /' conftest.$ac_ext >&5
18946 ac_cv_lib_m_csinf=no
18948 rm -f conftest.err conftest.$ac_objext \
18949 conftest$ac_exeext conftest.$ac_ext
18950 LIBS=$ac_check_lib_save_LIBS
18952 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
18953 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
18954 if test $ac_cv_lib_m_csinf = yes; then
18956 cat >>confdefs.h <<\_ACEOF
18957 #define HAVE_CSINF 1
18962 echo "$as_me:$LINENO: checking for csin in -lm" >&5
18963 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
18964 if test "${ac_cv_lib_m_csin+set}" = set; then
18965 echo $ECHO_N "(cached) $ECHO_C" >&6
18967 ac_check_lib_save_LIBS=$LIBS
18969 if test x$gcc_no_link = xyes; then
18970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18972 { (exit 1); exit 1; }; }
18974 cat >conftest.$ac_ext <<_ACEOF
18977 cat confdefs.h >>conftest.$ac_ext
18978 cat >>conftest.$ac_ext <<_ACEOF
18979 /* end confdefs.h. */
18981 /* Override any gcc2 internal prototype to avoid an error. */
18985 /* We use char because int might match the return type of a gcc2
18986 builtin and then its argument prototype would still apply. */
18996 rm -f conftest.$ac_objext conftest$ac_exeext
18997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18998 (eval $ac_link) 2>conftest.er1
19000 grep -v '^ *+' conftest.er1 >conftest.err
19002 cat conftest.err >&5
19003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19004 (exit $ac_status); } &&
19005 { ac_try='test -z "$ac_c_werror_flag"
19006 || test ! -s conftest.err'
19007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19008 (eval $ac_try) 2>&5
19010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19011 (exit $ac_status); }; } &&
19012 { ac_try='test -s conftest$ac_exeext'
19013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19014 (eval $ac_try) 2>&5
19016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19017 (exit $ac_status); }; }; then
19018 ac_cv_lib_m_csin=yes
19020 echo "$as_me: failed program was:" >&5
19021 sed 's/^/| /' conftest.$ac_ext >&5
19023 ac_cv_lib_m_csin=no
19025 rm -f conftest.err conftest.$ac_objext \
19026 conftest$ac_exeext conftest.$ac_ext
19027 LIBS=$ac_check_lib_save_LIBS
19029 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
19030 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
19031 if test $ac_cv_lib_m_csin = yes; then
19033 cat >>confdefs.h <<\_ACEOF
19034 #define HAVE_CSIN 1
19039 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
19040 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
19041 if test "${ac_cv_lib_m_csinl+set}" = set; then
19042 echo $ECHO_N "(cached) $ECHO_C" >&6
19044 ac_check_lib_save_LIBS=$LIBS
19046 if test x$gcc_no_link = xyes; then
19047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19049 { (exit 1); exit 1; }; }
19051 cat >conftest.$ac_ext <<_ACEOF
19054 cat confdefs.h >>conftest.$ac_ext
19055 cat >>conftest.$ac_ext <<_ACEOF
19056 /* end confdefs.h. */
19058 /* Override any gcc2 internal prototype to avoid an error. */
19062 /* We use char because int might match the return type of a gcc2
19063 builtin and then its argument prototype would still apply. */
19073 rm -f conftest.$ac_objext conftest$ac_exeext
19074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19075 (eval $ac_link) 2>conftest.er1
19077 grep -v '^ *+' conftest.er1 >conftest.err
19079 cat conftest.err >&5
19080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081 (exit $ac_status); } &&
19082 { ac_try='test -z "$ac_c_werror_flag"
19083 || test ! -s conftest.err'
19084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19085 (eval $ac_try) 2>&5
19087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19088 (exit $ac_status); }; } &&
19089 { ac_try='test -s conftest$ac_exeext'
19090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19091 (eval $ac_try) 2>&5
19093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19094 (exit $ac_status); }; }; then
19095 ac_cv_lib_m_csinl=yes
19097 echo "$as_me: failed program was:" >&5
19098 sed 's/^/| /' conftest.$ac_ext >&5
19100 ac_cv_lib_m_csinl=no
19102 rm -f conftest.err conftest.$ac_objext \
19103 conftest$ac_exeext conftest.$ac_ext
19104 LIBS=$ac_check_lib_save_LIBS
19106 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
19107 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
19108 if test $ac_cv_lib_m_csinl = yes; then
19110 cat >>confdefs.h <<\_ACEOF
19111 #define HAVE_CSINL 1
19116 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
19117 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
19118 if test "${ac_cv_lib_m_sinhf+set}" = set; then
19119 echo $ECHO_N "(cached) $ECHO_C" >&6
19121 ac_check_lib_save_LIBS=$LIBS
19123 if test x$gcc_no_link = xyes; then
19124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19126 { (exit 1); exit 1; }; }
19128 cat >conftest.$ac_ext <<_ACEOF
19131 cat confdefs.h >>conftest.$ac_ext
19132 cat >>conftest.$ac_ext <<_ACEOF
19133 /* end confdefs.h. */
19135 /* Override any gcc2 internal prototype to avoid an error. */
19139 /* We use char because int might match the return type of a gcc2
19140 builtin and then its argument prototype would still apply. */
19150 rm -f conftest.$ac_objext conftest$ac_exeext
19151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19152 (eval $ac_link) 2>conftest.er1
19154 grep -v '^ *+' conftest.er1 >conftest.err
19156 cat conftest.err >&5
19157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19158 (exit $ac_status); } &&
19159 { ac_try='test -z "$ac_c_werror_flag"
19160 || test ! -s conftest.err'
19161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19162 (eval $ac_try) 2>&5
19164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165 (exit $ac_status); }; } &&
19166 { ac_try='test -s conftest$ac_exeext'
19167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19168 (eval $ac_try) 2>&5
19170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19171 (exit $ac_status); }; }; then
19172 ac_cv_lib_m_sinhf=yes
19174 echo "$as_me: failed program was:" >&5
19175 sed 's/^/| /' conftest.$ac_ext >&5
19177 ac_cv_lib_m_sinhf=no
19179 rm -f conftest.err conftest.$ac_objext \
19180 conftest$ac_exeext conftest.$ac_ext
19181 LIBS=$ac_check_lib_save_LIBS
19183 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
19184 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
19185 if test $ac_cv_lib_m_sinhf = yes; then
19187 cat >>confdefs.h <<\_ACEOF
19188 #define HAVE_SINHF 1
19193 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
19194 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
19195 if test "${ac_cv_lib_m_sinh+set}" = set; then
19196 echo $ECHO_N "(cached) $ECHO_C" >&6
19198 ac_check_lib_save_LIBS=$LIBS
19200 if test x$gcc_no_link = xyes; then
19201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19203 { (exit 1); exit 1; }; }
19205 cat >conftest.$ac_ext <<_ACEOF
19208 cat confdefs.h >>conftest.$ac_ext
19209 cat >>conftest.$ac_ext <<_ACEOF
19210 /* end confdefs.h. */
19212 /* Override any gcc2 internal prototype to avoid an error. */
19216 /* We use char because int might match the return type of a gcc2
19217 builtin and then its argument prototype would still apply. */
19227 rm -f conftest.$ac_objext conftest$ac_exeext
19228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19229 (eval $ac_link) 2>conftest.er1
19231 grep -v '^ *+' conftest.er1 >conftest.err
19233 cat conftest.err >&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); } &&
19236 { ac_try='test -z "$ac_c_werror_flag"
19237 || test ! -s conftest.err'
19238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19239 (eval $ac_try) 2>&5
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); }; } &&
19243 { ac_try='test -s conftest$ac_exeext'
19244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19245 (eval $ac_try) 2>&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); }; }; then
19249 ac_cv_lib_m_sinh=yes
19251 echo "$as_me: failed program was:" >&5
19252 sed 's/^/| /' conftest.$ac_ext >&5
19254 ac_cv_lib_m_sinh=no
19256 rm -f conftest.err conftest.$ac_objext \
19257 conftest$ac_exeext conftest.$ac_ext
19258 LIBS=$ac_check_lib_save_LIBS
19260 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
19261 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
19262 if test $ac_cv_lib_m_sinh = yes; then
19264 cat >>confdefs.h <<\_ACEOF
19265 #define HAVE_SINH 1
19270 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
19271 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
19272 if test "${ac_cv_lib_m_sinhl+set}" = set; then
19273 echo $ECHO_N "(cached) $ECHO_C" >&6
19275 ac_check_lib_save_LIBS=$LIBS
19277 if test x$gcc_no_link = xyes; then
19278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19280 { (exit 1); exit 1; }; }
19282 cat >conftest.$ac_ext <<_ACEOF
19285 cat confdefs.h >>conftest.$ac_ext
19286 cat >>conftest.$ac_ext <<_ACEOF
19287 /* end confdefs.h. */
19289 /* Override any gcc2 internal prototype to avoid an error. */
19293 /* We use char because int might match the return type of a gcc2
19294 builtin and then its argument prototype would still apply. */
19304 rm -f conftest.$ac_objext conftest$ac_exeext
19305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19306 (eval $ac_link) 2>conftest.er1
19308 grep -v '^ *+' conftest.er1 >conftest.err
19310 cat conftest.err >&5
19311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19312 (exit $ac_status); } &&
19313 { ac_try='test -z "$ac_c_werror_flag"
19314 || test ! -s conftest.err'
19315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19316 (eval $ac_try) 2>&5
19318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19319 (exit $ac_status); }; } &&
19320 { ac_try='test -s conftest$ac_exeext'
19321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19322 (eval $ac_try) 2>&5
19324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325 (exit $ac_status); }; }; then
19326 ac_cv_lib_m_sinhl=yes
19328 echo "$as_me: failed program was:" >&5
19329 sed 's/^/| /' conftest.$ac_ext >&5
19331 ac_cv_lib_m_sinhl=no
19333 rm -f conftest.err conftest.$ac_objext \
19334 conftest$ac_exeext conftest.$ac_ext
19335 LIBS=$ac_check_lib_save_LIBS
19337 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
19338 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
19339 if test $ac_cv_lib_m_sinhl = yes; then
19341 cat >>confdefs.h <<\_ACEOF
19342 #define HAVE_SINHL 1
19347 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
19348 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
19349 if test "${ac_cv_lib_m_csinhf+set}" = set; then
19350 echo $ECHO_N "(cached) $ECHO_C" >&6
19352 ac_check_lib_save_LIBS=$LIBS
19354 if test x$gcc_no_link = xyes; then
19355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19357 { (exit 1); exit 1; }; }
19359 cat >conftest.$ac_ext <<_ACEOF
19362 cat confdefs.h >>conftest.$ac_ext
19363 cat >>conftest.$ac_ext <<_ACEOF
19364 /* end confdefs.h. */
19366 /* Override any gcc2 internal prototype to avoid an error. */
19370 /* We use char because int might match the return type of a gcc2
19371 builtin and then its argument prototype would still apply. */
19381 rm -f conftest.$ac_objext conftest$ac_exeext
19382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19383 (eval $ac_link) 2>conftest.er1
19385 grep -v '^ *+' conftest.er1 >conftest.err
19387 cat conftest.err >&5
19388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389 (exit $ac_status); } &&
19390 { ac_try='test -z "$ac_c_werror_flag"
19391 || test ! -s conftest.err'
19392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19393 (eval $ac_try) 2>&5
19395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19396 (exit $ac_status); }; } &&
19397 { ac_try='test -s conftest$ac_exeext'
19398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19399 (eval $ac_try) 2>&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); }; }; then
19403 ac_cv_lib_m_csinhf=yes
19405 echo "$as_me: failed program was:" >&5
19406 sed 's/^/| /' conftest.$ac_ext >&5
19408 ac_cv_lib_m_csinhf=no
19410 rm -f conftest.err conftest.$ac_objext \
19411 conftest$ac_exeext conftest.$ac_ext
19412 LIBS=$ac_check_lib_save_LIBS
19414 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
19415 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
19416 if test $ac_cv_lib_m_csinhf = yes; then
19418 cat >>confdefs.h <<\_ACEOF
19419 #define HAVE_CSINHF 1
19424 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
19425 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
19426 if test "${ac_cv_lib_m_csinh+set}" = set; then
19427 echo $ECHO_N "(cached) $ECHO_C" >&6
19429 ac_check_lib_save_LIBS=$LIBS
19431 if test x$gcc_no_link = xyes; then
19432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19434 { (exit 1); exit 1; }; }
19436 cat >conftest.$ac_ext <<_ACEOF
19439 cat confdefs.h >>conftest.$ac_ext
19440 cat >>conftest.$ac_ext <<_ACEOF
19441 /* end confdefs.h. */
19443 /* Override any gcc2 internal prototype to avoid an error. */
19447 /* We use char because int might match the return type of a gcc2
19448 builtin and then its argument prototype would still apply. */
19458 rm -f conftest.$ac_objext conftest$ac_exeext
19459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19460 (eval $ac_link) 2>conftest.er1
19462 grep -v '^ *+' conftest.er1 >conftest.err
19464 cat conftest.err >&5
19465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19466 (exit $ac_status); } &&
19467 { ac_try='test -z "$ac_c_werror_flag"
19468 || test ! -s conftest.err'
19469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19470 (eval $ac_try) 2>&5
19472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19473 (exit $ac_status); }; } &&
19474 { ac_try='test -s conftest$ac_exeext'
19475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19476 (eval $ac_try) 2>&5
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); }; }; then
19480 ac_cv_lib_m_csinh=yes
19482 echo "$as_me: failed program was:" >&5
19483 sed 's/^/| /' conftest.$ac_ext >&5
19485 ac_cv_lib_m_csinh=no
19487 rm -f conftest.err conftest.$ac_objext \
19488 conftest$ac_exeext conftest.$ac_ext
19489 LIBS=$ac_check_lib_save_LIBS
19491 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
19492 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
19493 if test $ac_cv_lib_m_csinh = yes; then
19495 cat >>confdefs.h <<\_ACEOF
19496 #define HAVE_CSINH 1
19501 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
19502 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
19503 if test "${ac_cv_lib_m_csinhl+set}" = set; then
19504 echo $ECHO_N "(cached) $ECHO_C" >&6
19506 ac_check_lib_save_LIBS=$LIBS
19508 if test x$gcc_no_link = xyes; then
19509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19511 { (exit 1); exit 1; }; }
19513 cat >conftest.$ac_ext <<_ACEOF
19516 cat confdefs.h >>conftest.$ac_ext
19517 cat >>conftest.$ac_ext <<_ACEOF
19518 /* end confdefs.h. */
19520 /* Override any gcc2 internal prototype to avoid an error. */
19524 /* We use char because int might match the return type of a gcc2
19525 builtin and then its argument prototype would still apply. */
19535 rm -f conftest.$ac_objext conftest$ac_exeext
19536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19537 (eval $ac_link) 2>conftest.er1
19539 grep -v '^ *+' conftest.er1 >conftest.err
19541 cat conftest.err >&5
19542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 (exit $ac_status); } &&
19544 { ac_try='test -z "$ac_c_werror_flag"
19545 || test ! -s conftest.err'
19546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19547 (eval $ac_try) 2>&5
19549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19550 (exit $ac_status); }; } &&
19551 { ac_try='test -s conftest$ac_exeext'
19552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19553 (eval $ac_try) 2>&5
19555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19556 (exit $ac_status); }; }; then
19557 ac_cv_lib_m_csinhl=yes
19559 echo "$as_me: failed program was:" >&5
19560 sed 's/^/| /' conftest.$ac_ext >&5
19562 ac_cv_lib_m_csinhl=no
19564 rm -f conftest.err conftest.$ac_objext \
19565 conftest$ac_exeext conftest.$ac_ext
19566 LIBS=$ac_check_lib_save_LIBS
19568 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
19569 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
19570 if test $ac_cv_lib_m_csinhl = yes; then
19572 cat >>confdefs.h <<\_ACEOF
19573 #define HAVE_CSINHL 1
19578 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
19579 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
19580 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
19581 echo $ECHO_N "(cached) $ECHO_C" >&6
19583 ac_check_lib_save_LIBS=$LIBS
19585 if test x$gcc_no_link = xyes; then
19586 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19588 { (exit 1); exit 1; }; }
19590 cat >conftest.$ac_ext <<_ACEOF
19593 cat confdefs.h >>conftest.$ac_ext
19594 cat >>conftest.$ac_ext <<_ACEOF
19595 /* end confdefs.h. */
19597 /* Override any gcc2 internal prototype to avoid an error. */
19601 /* We use char because int might match the return type of a gcc2
19602 builtin and then its argument prototype would still apply. */
19612 rm -f conftest.$ac_objext conftest$ac_exeext
19613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19614 (eval $ac_link) 2>conftest.er1
19616 grep -v '^ *+' conftest.er1 >conftest.err
19618 cat conftest.err >&5
19619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 (exit $ac_status); } &&
19621 { ac_try='test -z "$ac_c_werror_flag"
19622 || test ! -s conftest.err'
19623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19624 (eval $ac_try) 2>&5
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); }; } &&
19628 { ac_try='test -s conftest$ac_exeext'
19629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19630 (eval $ac_try) 2>&5
19632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19633 (exit $ac_status); }; }; then
19634 ac_cv_lib_m_sqrtf=yes
19636 echo "$as_me: failed program was:" >&5
19637 sed 's/^/| /' conftest.$ac_ext >&5
19639 ac_cv_lib_m_sqrtf=no
19641 rm -f conftest.err conftest.$ac_objext \
19642 conftest$ac_exeext conftest.$ac_ext
19643 LIBS=$ac_check_lib_save_LIBS
19645 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
19646 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
19647 if test $ac_cv_lib_m_sqrtf = yes; then
19649 cat >>confdefs.h <<\_ACEOF
19650 #define HAVE_SQRTF 1
19655 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
19656 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
19657 if test "${ac_cv_lib_m_sqrt+set}" = set; then
19658 echo $ECHO_N "(cached) $ECHO_C" >&6
19660 ac_check_lib_save_LIBS=$LIBS
19662 if test x$gcc_no_link = xyes; then
19663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19665 { (exit 1); exit 1; }; }
19667 cat >conftest.$ac_ext <<_ACEOF
19670 cat confdefs.h >>conftest.$ac_ext
19671 cat >>conftest.$ac_ext <<_ACEOF
19672 /* end confdefs.h. */
19674 /* Override any gcc2 internal prototype to avoid an error. */
19678 /* We use char because int might match the return type of a gcc2
19679 builtin and then its argument prototype would still apply. */
19689 rm -f conftest.$ac_objext conftest$ac_exeext
19690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19691 (eval $ac_link) 2>conftest.er1
19693 grep -v '^ *+' conftest.er1 >conftest.err
19695 cat conftest.err >&5
19696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19697 (exit $ac_status); } &&
19698 { ac_try='test -z "$ac_c_werror_flag"
19699 || test ! -s conftest.err'
19700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19701 (eval $ac_try) 2>&5
19703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19704 (exit $ac_status); }; } &&
19705 { ac_try='test -s conftest$ac_exeext'
19706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19707 (eval $ac_try) 2>&5
19709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19710 (exit $ac_status); }; }; then
19711 ac_cv_lib_m_sqrt=yes
19713 echo "$as_me: failed program was:" >&5
19714 sed 's/^/| /' conftest.$ac_ext >&5
19716 ac_cv_lib_m_sqrt=no
19718 rm -f conftest.err conftest.$ac_objext \
19719 conftest$ac_exeext conftest.$ac_ext
19720 LIBS=$ac_check_lib_save_LIBS
19722 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
19723 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
19724 if test $ac_cv_lib_m_sqrt = yes; then
19726 cat >>confdefs.h <<\_ACEOF
19727 #define HAVE_SQRT 1
19732 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
19733 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
19734 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
19735 echo $ECHO_N "(cached) $ECHO_C" >&6
19737 ac_check_lib_save_LIBS=$LIBS
19739 if test x$gcc_no_link = xyes; then
19740 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19742 { (exit 1); exit 1; }; }
19744 cat >conftest.$ac_ext <<_ACEOF
19747 cat confdefs.h >>conftest.$ac_ext
19748 cat >>conftest.$ac_ext <<_ACEOF
19749 /* end confdefs.h. */
19751 /* Override any gcc2 internal prototype to avoid an error. */
19755 /* We use char because int might match the return type of a gcc2
19756 builtin and then its argument prototype would still apply. */
19766 rm -f conftest.$ac_objext conftest$ac_exeext
19767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19768 (eval $ac_link) 2>conftest.er1
19770 grep -v '^ *+' conftest.er1 >conftest.err
19772 cat conftest.err >&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); } &&
19775 { ac_try='test -z "$ac_c_werror_flag"
19776 || test ! -s conftest.err'
19777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19778 (eval $ac_try) 2>&5
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); }; } &&
19782 { ac_try='test -s conftest$ac_exeext'
19783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19784 (eval $ac_try) 2>&5
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); }; }; then
19788 ac_cv_lib_m_sqrtl=yes
19790 echo "$as_me: failed program was:" >&5
19791 sed 's/^/| /' conftest.$ac_ext >&5
19793 ac_cv_lib_m_sqrtl=no
19795 rm -f conftest.err conftest.$ac_objext \
19796 conftest$ac_exeext conftest.$ac_ext
19797 LIBS=$ac_check_lib_save_LIBS
19799 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
19800 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
19801 if test $ac_cv_lib_m_sqrtl = yes; then
19803 cat >>confdefs.h <<\_ACEOF
19804 #define HAVE_SQRTL 1
19809 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
19810 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
19811 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
19812 echo $ECHO_N "(cached) $ECHO_C" >&6
19814 ac_check_lib_save_LIBS=$LIBS
19816 if test x$gcc_no_link = xyes; then
19817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19819 { (exit 1); exit 1; }; }
19821 cat >conftest.$ac_ext <<_ACEOF
19824 cat confdefs.h >>conftest.$ac_ext
19825 cat >>conftest.$ac_ext <<_ACEOF
19826 /* end confdefs.h. */
19828 /* Override any gcc2 internal prototype to avoid an error. */
19832 /* We use char because int might match the return type of a gcc2
19833 builtin and then its argument prototype would still apply. */
19843 rm -f conftest.$ac_objext conftest$ac_exeext
19844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19845 (eval $ac_link) 2>conftest.er1
19847 grep -v '^ *+' conftest.er1 >conftest.err
19849 cat conftest.err >&5
19850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19851 (exit $ac_status); } &&
19852 { ac_try='test -z "$ac_c_werror_flag"
19853 || test ! -s conftest.err'
19854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19855 (eval $ac_try) 2>&5
19857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858 (exit $ac_status); }; } &&
19859 { ac_try='test -s conftest$ac_exeext'
19860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19861 (eval $ac_try) 2>&5
19863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19864 (exit $ac_status); }; }; then
19865 ac_cv_lib_m_csqrtf=yes
19867 echo "$as_me: failed program was:" >&5
19868 sed 's/^/| /' conftest.$ac_ext >&5
19870 ac_cv_lib_m_csqrtf=no
19872 rm -f conftest.err conftest.$ac_objext \
19873 conftest$ac_exeext conftest.$ac_ext
19874 LIBS=$ac_check_lib_save_LIBS
19876 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
19877 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
19878 if test $ac_cv_lib_m_csqrtf = yes; then
19880 cat >>confdefs.h <<\_ACEOF
19881 #define HAVE_CSQRTF 1
19886 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
19887 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
19888 if test "${ac_cv_lib_m_csqrt+set}" = set; then
19889 echo $ECHO_N "(cached) $ECHO_C" >&6
19891 ac_check_lib_save_LIBS=$LIBS
19893 if test x$gcc_no_link = xyes; then
19894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19896 { (exit 1); exit 1; }; }
19898 cat >conftest.$ac_ext <<_ACEOF
19901 cat confdefs.h >>conftest.$ac_ext
19902 cat >>conftest.$ac_ext <<_ACEOF
19903 /* end confdefs.h. */
19905 /* Override any gcc2 internal prototype to avoid an error. */
19909 /* We use char because int might match the return type of a gcc2
19910 builtin and then its argument prototype would still apply. */
19920 rm -f conftest.$ac_objext conftest$ac_exeext
19921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19922 (eval $ac_link) 2>conftest.er1
19924 grep -v '^ *+' conftest.er1 >conftest.err
19926 cat conftest.err >&5
19927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928 (exit $ac_status); } &&
19929 { ac_try='test -z "$ac_c_werror_flag"
19930 || test ! -s conftest.err'
19931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19932 (eval $ac_try) 2>&5
19934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935 (exit $ac_status); }; } &&
19936 { ac_try='test -s conftest$ac_exeext'
19937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19938 (eval $ac_try) 2>&5
19940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19941 (exit $ac_status); }; }; then
19942 ac_cv_lib_m_csqrt=yes
19944 echo "$as_me: failed program was:" >&5
19945 sed 's/^/| /' conftest.$ac_ext >&5
19947 ac_cv_lib_m_csqrt=no
19949 rm -f conftest.err conftest.$ac_objext \
19950 conftest$ac_exeext conftest.$ac_ext
19951 LIBS=$ac_check_lib_save_LIBS
19953 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
19954 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
19955 if test $ac_cv_lib_m_csqrt = yes; then
19957 cat >>confdefs.h <<\_ACEOF
19958 #define HAVE_CSQRT 1
19963 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
19964 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
19965 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
19966 echo $ECHO_N "(cached) $ECHO_C" >&6
19968 ac_check_lib_save_LIBS=$LIBS
19970 if test x$gcc_no_link = xyes; then
19971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19973 { (exit 1); exit 1; }; }
19975 cat >conftest.$ac_ext <<_ACEOF
19978 cat confdefs.h >>conftest.$ac_ext
19979 cat >>conftest.$ac_ext <<_ACEOF
19980 /* end confdefs.h. */
19982 /* Override any gcc2 internal prototype to avoid an error. */
19986 /* We use char because int might match the return type of a gcc2
19987 builtin and then its argument prototype would still apply. */
19997 rm -f conftest.$ac_objext conftest$ac_exeext
19998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19999 (eval $ac_link) 2>conftest.er1
20001 grep -v '^ *+' conftest.er1 >conftest.err
20003 cat conftest.err >&5
20004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20005 (exit $ac_status); } &&
20006 { ac_try='test -z "$ac_c_werror_flag"
20007 || test ! -s conftest.err'
20008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20009 (eval $ac_try) 2>&5
20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012 (exit $ac_status); }; } &&
20013 { ac_try='test -s conftest$ac_exeext'
20014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20015 (eval $ac_try) 2>&5
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); }; }; then
20019 ac_cv_lib_m_csqrtl=yes
20021 echo "$as_me: failed program was:" >&5
20022 sed 's/^/| /' conftest.$ac_ext >&5
20024 ac_cv_lib_m_csqrtl=no
20026 rm -f conftest.err conftest.$ac_objext \
20027 conftest$ac_exeext conftest.$ac_ext
20028 LIBS=$ac_check_lib_save_LIBS
20030 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
20031 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
20032 if test $ac_cv_lib_m_csqrtl = yes; then
20034 cat >>confdefs.h <<\_ACEOF
20035 #define HAVE_CSQRTL 1
20040 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
20041 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
20042 if test "${ac_cv_lib_m_tanf+set}" = set; then
20043 echo $ECHO_N "(cached) $ECHO_C" >&6
20045 ac_check_lib_save_LIBS=$LIBS
20047 if test x$gcc_no_link = xyes; then
20048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20050 { (exit 1); exit 1; }; }
20052 cat >conftest.$ac_ext <<_ACEOF
20055 cat confdefs.h >>conftest.$ac_ext
20056 cat >>conftest.$ac_ext <<_ACEOF
20057 /* end confdefs.h. */
20059 /* Override any gcc2 internal prototype to avoid an error. */
20063 /* We use char because int might match the return type of a gcc2
20064 builtin and then its argument prototype would still apply. */
20074 rm -f conftest.$ac_objext conftest$ac_exeext
20075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20076 (eval $ac_link) 2>conftest.er1
20078 grep -v '^ *+' conftest.er1 >conftest.err
20080 cat conftest.err >&5
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); } &&
20083 { ac_try='test -z "$ac_c_werror_flag"
20084 || test ! -s conftest.err'
20085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20086 (eval $ac_try) 2>&5
20088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089 (exit $ac_status); }; } &&
20090 { ac_try='test -s conftest$ac_exeext'
20091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20092 (eval $ac_try) 2>&5
20094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20095 (exit $ac_status); }; }; then
20096 ac_cv_lib_m_tanf=yes
20098 echo "$as_me: failed program was:" >&5
20099 sed 's/^/| /' conftest.$ac_ext >&5
20101 ac_cv_lib_m_tanf=no
20103 rm -f conftest.err conftest.$ac_objext \
20104 conftest$ac_exeext conftest.$ac_ext
20105 LIBS=$ac_check_lib_save_LIBS
20107 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
20108 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
20109 if test $ac_cv_lib_m_tanf = yes; then
20111 cat >>confdefs.h <<\_ACEOF
20112 #define HAVE_TANF 1
20117 echo "$as_me:$LINENO: checking for tan in -lm" >&5
20118 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
20119 if test "${ac_cv_lib_m_tan+set}" = set; then
20120 echo $ECHO_N "(cached) $ECHO_C" >&6
20122 ac_check_lib_save_LIBS=$LIBS
20124 if test x$gcc_no_link = xyes; then
20125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20127 { (exit 1); exit 1; }; }
20129 cat >conftest.$ac_ext <<_ACEOF
20132 cat confdefs.h >>conftest.$ac_ext
20133 cat >>conftest.$ac_ext <<_ACEOF
20134 /* end confdefs.h. */
20136 /* Override any gcc2 internal prototype to avoid an error. */
20140 /* We use char because int might match the return type of a gcc2
20141 builtin and then its argument prototype would still apply. */
20151 rm -f conftest.$ac_objext conftest$ac_exeext
20152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20153 (eval $ac_link) 2>conftest.er1
20155 grep -v '^ *+' conftest.er1 >conftest.err
20157 cat conftest.err >&5
20158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20159 (exit $ac_status); } &&
20160 { ac_try='test -z "$ac_c_werror_flag"
20161 || test ! -s conftest.err'
20162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20163 (eval $ac_try) 2>&5
20165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20166 (exit $ac_status); }; } &&
20167 { ac_try='test -s conftest$ac_exeext'
20168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20169 (eval $ac_try) 2>&5
20171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20172 (exit $ac_status); }; }; then
20173 ac_cv_lib_m_tan=yes
20175 echo "$as_me: failed program was:" >&5
20176 sed 's/^/| /' conftest.$ac_ext >&5
20180 rm -f conftest.err conftest.$ac_objext \
20181 conftest$ac_exeext conftest.$ac_ext
20182 LIBS=$ac_check_lib_save_LIBS
20184 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
20185 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
20186 if test $ac_cv_lib_m_tan = yes; then
20188 cat >>confdefs.h <<\_ACEOF
20194 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
20195 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
20196 if test "${ac_cv_lib_m_tanl+set}" = set; then
20197 echo $ECHO_N "(cached) $ECHO_C" >&6
20199 ac_check_lib_save_LIBS=$LIBS
20201 if test x$gcc_no_link = xyes; then
20202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20204 { (exit 1); exit 1; }; }
20206 cat >conftest.$ac_ext <<_ACEOF
20209 cat confdefs.h >>conftest.$ac_ext
20210 cat >>conftest.$ac_ext <<_ACEOF
20211 /* end confdefs.h. */
20213 /* Override any gcc2 internal prototype to avoid an error. */
20217 /* We use char because int might match the return type of a gcc2
20218 builtin and then its argument prototype would still apply. */
20228 rm -f conftest.$ac_objext conftest$ac_exeext
20229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20230 (eval $ac_link) 2>conftest.er1
20232 grep -v '^ *+' conftest.er1 >conftest.err
20234 cat conftest.err >&5
20235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20236 (exit $ac_status); } &&
20237 { ac_try='test -z "$ac_c_werror_flag"
20238 || test ! -s conftest.err'
20239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20240 (eval $ac_try) 2>&5
20242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20243 (exit $ac_status); }; } &&
20244 { ac_try='test -s conftest$ac_exeext'
20245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20246 (eval $ac_try) 2>&5
20248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20249 (exit $ac_status); }; }; then
20250 ac_cv_lib_m_tanl=yes
20252 echo "$as_me: failed program was:" >&5
20253 sed 's/^/| /' conftest.$ac_ext >&5
20255 ac_cv_lib_m_tanl=no
20257 rm -f conftest.err conftest.$ac_objext \
20258 conftest$ac_exeext conftest.$ac_ext
20259 LIBS=$ac_check_lib_save_LIBS
20261 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
20262 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
20263 if test $ac_cv_lib_m_tanl = yes; then
20265 cat >>confdefs.h <<\_ACEOF
20266 #define HAVE_TANL 1
20271 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
20272 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
20273 if test "${ac_cv_lib_m_ctanf+set}" = set; then
20274 echo $ECHO_N "(cached) $ECHO_C" >&6
20276 ac_check_lib_save_LIBS=$LIBS
20278 if test x$gcc_no_link = xyes; then
20279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20281 { (exit 1); exit 1; }; }
20283 cat >conftest.$ac_ext <<_ACEOF
20286 cat confdefs.h >>conftest.$ac_ext
20287 cat >>conftest.$ac_ext <<_ACEOF
20288 /* end confdefs.h. */
20290 /* Override any gcc2 internal prototype to avoid an error. */
20294 /* We use char because int might match the return type of a gcc2
20295 builtin and then its argument prototype would still apply. */
20305 rm -f conftest.$ac_objext conftest$ac_exeext
20306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20307 (eval $ac_link) 2>conftest.er1
20309 grep -v '^ *+' conftest.er1 >conftest.err
20311 cat conftest.err >&5
20312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20313 (exit $ac_status); } &&
20314 { ac_try='test -z "$ac_c_werror_flag"
20315 || test ! -s conftest.err'
20316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20317 (eval $ac_try) 2>&5
20319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20320 (exit $ac_status); }; } &&
20321 { ac_try='test -s conftest$ac_exeext'
20322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20323 (eval $ac_try) 2>&5
20325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20326 (exit $ac_status); }; }; then
20327 ac_cv_lib_m_ctanf=yes
20329 echo "$as_me: failed program was:" >&5
20330 sed 's/^/| /' conftest.$ac_ext >&5
20332 ac_cv_lib_m_ctanf=no
20334 rm -f conftest.err conftest.$ac_objext \
20335 conftest$ac_exeext conftest.$ac_ext
20336 LIBS=$ac_check_lib_save_LIBS
20338 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
20339 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
20340 if test $ac_cv_lib_m_ctanf = yes; then
20342 cat >>confdefs.h <<\_ACEOF
20343 #define HAVE_CTANF 1
20348 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
20349 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
20350 if test "${ac_cv_lib_m_ctan+set}" = set; then
20351 echo $ECHO_N "(cached) $ECHO_C" >&6
20353 ac_check_lib_save_LIBS=$LIBS
20355 if test x$gcc_no_link = xyes; then
20356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20358 { (exit 1); exit 1; }; }
20360 cat >conftest.$ac_ext <<_ACEOF
20363 cat confdefs.h >>conftest.$ac_ext
20364 cat >>conftest.$ac_ext <<_ACEOF
20365 /* end confdefs.h. */
20367 /* Override any gcc2 internal prototype to avoid an error. */
20371 /* We use char because int might match the return type of a gcc2
20372 builtin and then its argument prototype would still apply. */
20382 rm -f conftest.$ac_objext conftest$ac_exeext
20383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20384 (eval $ac_link) 2>conftest.er1
20386 grep -v '^ *+' conftest.er1 >conftest.err
20388 cat conftest.err >&5
20389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390 (exit $ac_status); } &&
20391 { ac_try='test -z "$ac_c_werror_flag"
20392 || test ! -s conftest.err'
20393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20394 (eval $ac_try) 2>&5
20396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20397 (exit $ac_status); }; } &&
20398 { ac_try='test -s conftest$ac_exeext'
20399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20400 (eval $ac_try) 2>&5
20402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403 (exit $ac_status); }; }; then
20404 ac_cv_lib_m_ctan=yes
20406 echo "$as_me: failed program was:" >&5
20407 sed 's/^/| /' conftest.$ac_ext >&5
20409 ac_cv_lib_m_ctan=no
20411 rm -f conftest.err conftest.$ac_objext \
20412 conftest$ac_exeext conftest.$ac_ext
20413 LIBS=$ac_check_lib_save_LIBS
20415 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
20416 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
20417 if test $ac_cv_lib_m_ctan = yes; then
20419 cat >>confdefs.h <<\_ACEOF
20420 #define HAVE_CTAN 1
20425 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
20426 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
20427 if test "${ac_cv_lib_m_ctanl+set}" = set; then
20428 echo $ECHO_N "(cached) $ECHO_C" >&6
20430 ac_check_lib_save_LIBS=$LIBS
20432 if test x$gcc_no_link = xyes; then
20433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20435 { (exit 1); exit 1; }; }
20437 cat >conftest.$ac_ext <<_ACEOF
20440 cat confdefs.h >>conftest.$ac_ext
20441 cat >>conftest.$ac_ext <<_ACEOF
20442 /* end confdefs.h. */
20444 /* Override any gcc2 internal prototype to avoid an error. */
20448 /* We use char because int might match the return type of a gcc2
20449 builtin and then its argument prototype would still apply. */
20459 rm -f conftest.$ac_objext conftest$ac_exeext
20460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20461 (eval $ac_link) 2>conftest.er1
20463 grep -v '^ *+' conftest.er1 >conftest.err
20465 cat conftest.err >&5
20466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20467 (exit $ac_status); } &&
20468 { ac_try='test -z "$ac_c_werror_flag"
20469 || test ! -s conftest.err'
20470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20471 (eval $ac_try) 2>&5
20473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20474 (exit $ac_status); }; } &&
20475 { ac_try='test -s conftest$ac_exeext'
20476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20477 (eval $ac_try) 2>&5
20479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20480 (exit $ac_status); }; }; then
20481 ac_cv_lib_m_ctanl=yes
20483 echo "$as_me: failed program was:" >&5
20484 sed 's/^/| /' conftest.$ac_ext >&5
20486 ac_cv_lib_m_ctanl=no
20488 rm -f conftest.err conftest.$ac_objext \
20489 conftest$ac_exeext conftest.$ac_ext
20490 LIBS=$ac_check_lib_save_LIBS
20492 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
20493 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
20494 if test $ac_cv_lib_m_ctanl = yes; then
20496 cat >>confdefs.h <<\_ACEOF
20497 #define HAVE_CTANL 1
20502 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
20503 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
20504 if test "${ac_cv_lib_m_tanhf+set}" = set; then
20505 echo $ECHO_N "(cached) $ECHO_C" >&6
20507 ac_check_lib_save_LIBS=$LIBS
20509 if test x$gcc_no_link = xyes; then
20510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20512 { (exit 1); exit 1; }; }
20514 cat >conftest.$ac_ext <<_ACEOF
20517 cat confdefs.h >>conftest.$ac_ext
20518 cat >>conftest.$ac_ext <<_ACEOF
20519 /* end confdefs.h. */
20521 /* Override any gcc2 internal prototype to avoid an error. */
20525 /* We use char because int might match the return type of a gcc2
20526 builtin and then its argument prototype would still apply. */
20536 rm -f conftest.$ac_objext conftest$ac_exeext
20537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20538 (eval $ac_link) 2>conftest.er1
20540 grep -v '^ *+' conftest.er1 >conftest.err
20542 cat conftest.err >&5
20543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20544 (exit $ac_status); } &&
20545 { ac_try='test -z "$ac_c_werror_flag"
20546 || test ! -s conftest.err'
20547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20548 (eval $ac_try) 2>&5
20550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20551 (exit $ac_status); }; } &&
20552 { ac_try='test -s conftest$ac_exeext'
20553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20554 (eval $ac_try) 2>&5
20556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20557 (exit $ac_status); }; }; then
20558 ac_cv_lib_m_tanhf=yes
20560 echo "$as_me: failed program was:" >&5
20561 sed 's/^/| /' conftest.$ac_ext >&5
20563 ac_cv_lib_m_tanhf=no
20565 rm -f conftest.err conftest.$ac_objext \
20566 conftest$ac_exeext conftest.$ac_ext
20567 LIBS=$ac_check_lib_save_LIBS
20569 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
20570 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
20571 if test $ac_cv_lib_m_tanhf = yes; then
20573 cat >>confdefs.h <<\_ACEOF
20574 #define HAVE_TANHF 1
20579 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
20580 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
20581 if test "${ac_cv_lib_m_tanh+set}" = set; then
20582 echo $ECHO_N "(cached) $ECHO_C" >&6
20584 ac_check_lib_save_LIBS=$LIBS
20586 if test x$gcc_no_link = xyes; then
20587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20589 { (exit 1); exit 1; }; }
20591 cat >conftest.$ac_ext <<_ACEOF
20594 cat confdefs.h >>conftest.$ac_ext
20595 cat >>conftest.$ac_ext <<_ACEOF
20596 /* end confdefs.h. */
20598 /* Override any gcc2 internal prototype to avoid an error. */
20602 /* We use char because int might match the return type of a gcc2
20603 builtin and then its argument prototype would still apply. */
20613 rm -f conftest.$ac_objext conftest$ac_exeext
20614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20615 (eval $ac_link) 2>conftest.er1
20617 grep -v '^ *+' conftest.er1 >conftest.err
20619 cat conftest.err >&5
20620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20621 (exit $ac_status); } &&
20622 { ac_try='test -z "$ac_c_werror_flag"
20623 || test ! -s conftest.err'
20624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20625 (eval $ac_try) 2>&5
20627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20628 (exit $ac_status); }; } &&
20629 { ac_try='test -s conftest$ac_exeext'
20630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20631 (eval $ac_try) 2>&5
20633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20634 (exit $ac_status); }; }; then
20635 ac_cv_lib_m_tanh=yes
20637 echo "$as_me: failed program was:" >&5
20638 sed 's/^/| /' conftest.$ac_ext >&5
20640 ac_cv_lib_m_tanh=no
20642 rm -f conftest.err conftest.$ac_objext \
20643 conftest$ac_exeext conftest.$ac_ext
20644 LIBS=$ac_check_lib_save_LIBS
20646 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
20647 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
20648 if test $ac_cv_lib_m_tanh = yes; then
20650 cat >>confdefs.h <<\_ACEOF
20651 #define HAVE_TANH 1
20656 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
20657 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
20658 if test "${ac_cv_lib_m_tanhl+set}" = set; then
20659 echo $ECHO_N "(cached) $ECHO_C" >&6
20661 ac_check_lib_save_LIBS=$LIBS
20663 if test x$gcc_no_link = xyes; then
20664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20666 { (exit 1); exit 1; }; }
20668 cat >conftest.$ac_ext <<_ACEOF
20671 cat confdefs.h >>conftest.$ac_ext
20672 cat >>conftest.$ac_ext <<_ACEOF
20673 /* end confdefs.h. */
20675 /* Override any gcc2 internal prototype to avoid an error. */
20679 /* We use char because int might match the return type of a gcc2
20680 builtin and then its argument prototype would still apply. */
20690 rm -f conftest.$ac_objext conftest$ac_exeext
20691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20692 (eval $ac_link) 2>conftest.er1
20694 grep -v '^ *+' conftest.er1 >conftest.err
20696 cat conftest.err >&5
20697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20698 (exit $ac_status); } &&
20699 { ac_try='test -z "$ac_c_werror_flag"
20700 || test ! -s conftest.err'
20701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20702 (eval $ac_try) 2>&5
20704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20705 (exit $ac_status); }; } &&
20706 { ac_try='test -s conftest$ac_exeext'
20707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20708 (eval $ac_try) 2>&5
20710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20711 (exit $ac_status); }; }; then
20712 ac_cv_lib_m_tanhl=yes
20714 echo "$as_me: failed program was:" >&5
20715 sed 's/^/| /' conftest.$ac_ext >&5
20717 ac_cv_lib_m_tanhl=no
20719 rm -f conftest.err conftest.$ac_objext \
20720 conftest$ac_exeext conftest.$ac_ext
20721 LIBS=$ac_check_lib_save_LIBS
20723 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
20724 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
20725 if test $ac_cv_lib_m_tanhl = yes; then
20727 cat >>confdefs.h <<\_ACEOF
20728 #define HAVE_TANHL 1
20733 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
20734 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
20735 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
20736 echo $ECHO_N "(cached) $ECHO_C" >&6
20738 ac_check_lib_save_LIBS=$LIBS
20740 if test x$gcc_no_link = xyes; then
20741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20743 { (exit 1); exit 1; }; }
20745 cat >conftest.$ac_ext <<_ACEOF
20748 cat confdefs.h >>conftest.$ac_ext
20749 cat >>conftest.$ac_ext <<_ACEOF
20750 /* end confdefs.h. */
20752 /* Override any gcc2 internal prototype to avoid an error. */
20756 /* We use char because int might match the return type of a gcc2
20757 builtin and then its argument prototype would still apply. */
20767 rm -f conftest.$ac_objext conftest$ac_exeext
20768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20769 (eval $ac_link) 2>conftest.er1
20771 grep -v '^ *+' conftest.er1 >conftest.err
20773 cat conftest.err >&5
20774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775 (exit $ac_status); } &&
20776 { ac_try='test -z "$ac_c_werror_flag"
20777 || test ! -s conftest.err'
20778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20779 (eval $ac_try) 2>&5
20781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20782 (exit $ac_status); }; } &&
20783 { ac_try='test -s conftest$ac_exeext'
20784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20785 (eval $ac_try) 2>&5
20787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20788 (exit $ac_status); }; }; then
20789 ac_cv_lib_m_ctanhf=yes
20791 echo "$as_me: failed program was:" >&5
20792 sed 's/^/| /' conftest.$ac_ext >&5
20794 ac_cv_lib_m_ctanhf=no
20796 rm -f conftest.err conftest.$ac_objext \
20797 conftest$ac_exeext conftest.$ac_ext
20798 LIBS=$ac_check_lib_save_LIBS
20800 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
20801 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
20802 if test $ac_cv_lib_m_ctanhf = yes; then
20804 cat >>confdefs.h <<\_ACEOF
20805 #define HAVE_CTANHF 1
20810 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
20811 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
20812 if test "${ac_cv_lib_m_ctanh+set}" = set; then
20813 echo $ECHO_N "(cached) $ECHO_C" >&6
20815 ac_check_lib_save_LIBS=$LIBS
20817 if test x$gcc_no_link = xyes; then
20818 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20820 { (exit 1); exit 1; }; }
20822 cat >conftest.$ac_ext <<_ACEOF
20825 cat confdefs.h >>conftest.$ac_ext
20826 cat >>conftest.$ac_ext <<_ACEOF
20827 /* end confdefs.h. */
20829 /* Override any gcc2 internal prototype to avoid an error. */
20833 /* We use char because int might match the return type of a gcc2
20834 builtin and then its argument prototype would still apply. */
20844 rm -f conftest.$ac_objext conftest$ac_exeext
20845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20846 (eval $ac_link) 2>conftest.er1
20848 grep -v '^ *+' conftest.er1 >conftest.err
20850 cat conftest.err >&5
20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852 (exit $ac_status); } &&
20853 { ac_try='test -z "$ac_c_werror_flag"
20854 || test ! -s conftest.err'
20855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20856 (eval $ac_try) 2>&5
20858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859 (exit $ac_status); }; } &&
20860 { ac_try='test -s conftest$ac_exeext'
20861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20862 (eval $ac_try) 2>&5
20864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20865 (exit $ac_status); }; }; then
20866 ac_cv_lib_m_ctanh=yes
20868 echo "$as_me: failed program was:" >&5
20869 sed 's/^/| /' conftest.$ac_ext >&5
20871 ac_cv_lib_m_ctanh=no
20873 rm -f conftest.err conftest.$ac_objext \
20874 conftest$ac_exeext conftest.$ac_ext
20875 LIBS=$ac_check_lib_save_LIBS
20877 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
20878 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
20879 if test $ac_cv_lib_m_ctanh = yes; then
20881 cat >>confdefs.h <<\_ACEOF
20882 #define HAVE_CTANH 1
20887 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
20888 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
20889 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
20890 echo $ECHO_N "(cached) $ECHO_C" >&6
20892 ac_check_lib_save_LIBS=$LIBS
20894 if test x$gcc_no_link = xyes; then
20895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20897 { (exit 1); exit 1; }; }
20899 cat >conftest.$ac_ext <<_ACEOF
20902 cat confdefs.h >>conftest.$ac_ext
20903 cat >>conftest.$ac_ext <<_ACEOF
20904 /* end confdefs.h. */
20906 /* Override any gcc2 internal prototype to avoid an error. */
20910 /* We use char because int might match the return type of a gcc2
20911 builtin and then its argument prototype would still apply. */
20921 rm -f conftest.$ac_objext conftest$ac_exeext
20922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20923 (eval $ac_link) 2>conftest.er1
20925 grep -v '^ *+' conftest.er1 >conftest.err
20927 cat conftest.err >&5
20928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20929 (exit $ac_status); } &&
20930 { ac_try='test -z "$ac_c_werror_flag"
20931 || test ! -s conftest.err'
20932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20933 (eval $ac_try) 2>&5
20935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20936 (exit $ac_status); }; } &&
20937 { ac_try='test -s conftest$ac_exeext'
20938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20939 (eval $ac_try) 2>&5
20941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20942 (exit $ac_status); }; }; then
20943 ac_cv_lib_m_ctanhl=yes
20945 echo "$as_me: failed program was:" >&5
20946 sed 's/^/| /' conftest.$ac_ext >&5
20948 ac_cv_lib_m_ctanhl=no
20950 rm -f conftest.err conftest.$ac_objext \
20951 conftest$ac_exeext conftest.$ac_ext
20952 LIBS=$ac_check_lib_save_LIBS
20954 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
20955 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
20956 if test $ac_cv_lib_m_ctanhl = yes; then
20958 cat >>confdefs.h <<\_ACEOF
20959 #define HAVE_CTANHL 1
20964 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
20965 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
20966 if test "${ac_cv_lib_m_truncf+set}" = set; then
20967 echo $ECHO_N "(cached) $ECHO_C" >&6
20969 ac_check_lib_save_LIBS=$LIBS
20971 if test x$gcc_no_link = xyes; then
20972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20974 { (exit 1); exit 1; }; }
20976 cat >conftest.$ac_ext <<_ACEOF
20979 cat confdefs.h >>conftest.$ac_ext
20980 cat >>conftest.$ac_ext <<_ACEOF
20981 /* end confdefs.h. */
20983 /* Override any gcc2 internal prototype to avoid an error. */
20987 /* We use char because int might match the return type of a gcc2
20988 builtin and then its argument prototype would still apply. */
20998 rm -f conftest.$ac_objext conftest$ac_exeext
20999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21000 (eval $ac_link) 2>conftest.er1
21002 grep -v '^ *+' conftest.er1 >conftest.err
21004 cat conftest.err >&5
21005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21006 (exit $ac_status); } &&
21007 { ac_try='test -z "$ac_c_werror_flag"
21008 || test ! -s conftest.err'
21009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21010 (eval $ac_try) 2>&5
21012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21013 (exit $ac_status); }; } &&
21014 { ac_try='test -s conftest$ac_exeext'
21015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21016 (eval $ac_try) 2>&5
21018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019 (exit $ac_status); }; }; then
21020 ac_cv_lib_m_truncf=yes
21022 echo "$as_me: failed program was:" >&5
21023 sed 's/^/| /' conftest.$ac_ext >&5
21025 ac_cv_lib_m_truncf=no
21027 rm -f conftest.err conftest.$ac_objext \
21028 conftest$ac_exeext conftest.$ac_ext
21029 LIBS=$ac_check_lib_save_LIBS
21031 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
21032 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
21033 if test $ac_cv_lib_m_truncf = yes; then
21035 cat >>confdefs.h <<\_ACEOF
21036 #define HAVE_TRUNCF 1
21041 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
21042 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
21043 if test "${ac_cv_lib_m_trunc+set}" = set; then
21044 echo $ECHO_N "(cached) $ECHO_C" >&6
21046 ac_check_lib_save_LIBS=$LIBS
21048 if test x$gcc_no_link = xyes; then
21049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21051 { (exit 1); exit 1; }; }
21053 cat >conftest.$ac_ext <<_ACEOF
21056 cat confdefs.h >>conftest.$ac_ext
21057 cat >>conftest.$ac_ext <<_ACEOF
21058 /* end confdefs.h. */
21060 /* Override any gcc2 internal prototype to avoid an error. */
21064 /* We use char because int might match the return type of a gcc2
21065 builtin and then its argument prototype would still apply. */
21075 rm -f conftest.$ac_objext conftest$ac_exeext
21076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21077 (eval $ac_link) 2>conftest.er1
21079 grep -v '^ *+' conftest.er1 >conftest.err
21081 cat conftest.err >&5
21082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21083 (exit $ac_status); } &&
21084 { ac_try='test -z "$ac_c_werror_flag"
21085 || test ! -s conftest.err'
21086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21087 (eval $ac_try) 2>&5
21089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090 (exit $ac_status); }; } &&
21091 { ac_try='test -s conftest$ac_exeext'
21092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21093 (eval $ac_try) 2>&5
21095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21096 (exit $ac_status); }; }; then
21097 ac_cv_lib_m_trunc=yes
21099 echo "$as_me: failed program was:" >&5
21100 sed 's/^/| /' conftest.$ac_ext >&5
21102 ac_cv_lib_m_trunc=no
21104 rm -f conftest.err conftest.$ac_objext \
21105 conftest$ac_exeext conftest.$ac_ext
21106 LIBS=$ac_check_lib_save_LIBS
21108 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
21109 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
21110 if test $ac_cv_lib_m_trunc = yes; then
21112 cat >>confdefs.h <<\_ACEOF
21113 #define HAVE_TRUNC 1
21118 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
21119 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
21120 if test "${ac_cv_lib_m_truncl+set}" = set; then
21121 echo $ECHO_N "(cached) $ECHO_C" >&6
21123 ac_check_lib_save_LIBS=$LIBS
21125 if test x$gcc_no_link = xyes; then
21126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21128 { (exit 1); exit 1; }; }
21130 cat >conftest.$ac_ext <<_ACEOF
21133 cat confdefs.h >>conftest.$ac_ext
21134 cat >>conftest.$ac_ext <<_ACEOF
21135 /* end confdefs.h. */
21137 /* Override any gcc2 internal prototype to avoid an error. */
21141 /* We use char because int might match the return type of a gcc2
21142 builtin and then its argument prototype would still apply. */
21152 rm -f conftest.$ac_objext conftest$ac_exeext
21153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21154 (eval $ac_link) 2>conftest.er1
21156 grep -v '^ *+' conftest.er1 >conftest.err
21158 cat conftest.err >&5
21159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21160 (exit $ac_status); } &&
21161 { ac_try='test -z "$ac_c_werror_flag"
21162 || test ! -s conftest.err'
21163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21164 (eval $ac_try) 2>&5
21166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21167 (exit $ac_status); }; } &&
21168 { ac_try='test -s conftest$ac_exeext'
21169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21170 (eval $ac_try) 2>&5
21172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21173 (exit $ac_status); }; }; then
21174 ac_cv_lib_m_truncl=yes
21176 echo "$as_me: failed program was:" >&5
21177 sed 's/^/| /' conftest.$ac_ext >&5
21179 ac_cv_lib_m_truncl=no
21181 rm -f conftest.err conftest.$ac_objext \
21182 conftest$ac_exeext conftest.$ac_ext
21183 LIBS=$ac_check_lib_save_LIBS
21185 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
21186 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
21187 if test $ac_cv_lib_m_truncl = yes; then
21189 cat >>confdefs.h <<\_ACEOF
21190 #define HAVE_TRUNCL 1
21195 echo "$as_me:$LINENO: checking for erff in -lm" >&5
21196 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
21197 if test "${ac_cv_lib_m_erff+set}" = set; then
21198 echo $ECHO_N "(cached) $ECHO_C" >&6
21200 ac_check_lib_save_LIBS=$LIBS
21202 if test x$gcc_no_link = xyes; then
21203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21205 { (exit 1); exit 1; }; }
21207 cat >conftest.$ac_ext <<_ACEOF
21210 cat confdefs.h >>conftest.$ac_ext
21211 cat >>conftest.$ac_ext <<_ACEOF
21212 /* end confdefs.h. */
21214 /* Override any gcc2 internal prototype to avoid an error. */
21218 /* We use char because int might match the return type of a gcc2
21219 builtin and then its argument prototype would still apply. */
21229 rm -f conftest.$ac_objext conftest$ac_exeext
21230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21231 (eval $ac_link) 2>conftest.er1
21233 grep -v '^ *+' conftest.er1 >conftest.err
21235 cat conftest.err >&5
21236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21237 (exit $ac_status); } &&
21238 { ac_try='test -z "$ac_c_werror_flag"
21239 || test ! -s conftest.err'
21240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21241 (eval $ac_try) 2>&5
21243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244 (exit $ac_status); }; } &&
21245 { ac_try='test -s conftest$ac_exeext'
21246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21247 (eval $ac_try) 2>&5
21249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250 (exit $ac_status); }; }; then
21251 ac_cv_lib_m_erff=yes
21253 echo "$as_me: failed program was:" >&5
21254 sed 's/^/| /' conftest.$ac_ext >&5
21256 ac_cv_lib_m_erff=no
21258 rm -f conftest.err conftest.$ac_objext \
21259 conftest$ac_exeext conftest.$ac_ext
21260 LIBS=$ac_check_lib_save_LIBS
21262 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
21263 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
21264 if test $ac_cv_lib_m_erff = yes; then
21266 cat >>confdefs.h <<\_ACEOF
21267 #define HAVE_ERFF 1
21272 echo "$as_me:$LINENO: checking for erf in -lm" >&5
21273 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
21274 if test "${ac_cv_lib_m_erf+set}" = set; then
21275 echo $ECHO_N "(cached) $ECHO_C" >&6
21277 ac_check_lib_save_LIBS=$LIBS
21279 if test x$gcc_no_link = xyes; then
21280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21282 { (exit 1); exit 1; }; }
21284 cat >conftest.$ac_ext <<_ACEOF
21287 cat confdefs.h >>conftest.$ac_ext
21288 cat >>conftest.$ac_ext <<_ACEOF
21289 /* end confdefs.h. */
21291 /* Override any gcc2 internal prototype to avoid an error. */
21295 /* We use char because int might match the return type of a gcc2
21296 builtin and then its argument prototype would still apply. */
21306 rm -f conftest.$ac_objext conftest$ac_exeext
21307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21308 (eval $ac_link) 2>conftest.er1
21310 grep -v '^ *+' conftest.er1 >conftest.err
21312 cat conftest.err >&5
21313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21314 (exit $ac_status); } &&
21315 { ac_try='test -z "$ac_c_werror_flag"
21316 || test ! -s conftest.err'
21317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21318 (eval $ac_try) 2>&5
21320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21321 (exit $ac_status); }; } &&
21322 { ac_try='test -s conftest$ac_exeext'
21323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21324 (eval $ac_try) 2>&5
21326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327 (exit $ac_status); }; }; then
21328 ac_cv_lib_m_erf=yes
21330 echo "$as_me: failed program was:" >&5
21331 sed 's/^/| /' conftest.$ac_ext >&5
21335 rm -f conftest.err conftest.$ac_objext \
21336 conftest$ac_exeext conftest.$ac_ext
21337 LIBS=$ac_check_lib_save_LIBS
21339 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
21340 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
21341 if test $ac_cv_lib_m_erf = yes; then
21343 cat >>confdefs.h <<\_ACEOF
21349 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
21350 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
21351 if test "${ac_cv_lib_m_erfl+set}" = set; then
21352 echo $ECHO_N "(cached) $ECHO_C" >&6
21354 ac_check_lib_save_LIBS=$LIBS
21356 if test x$gcc_no_link = xyes; then
21357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21359 { (exit 1); exit 1; }; }
21361 cat >conftest.$ac_ext <<_ACEOF
21364 cat confdefs.h >>conftest.$ac_ext
21365 cat >>conftest.$ac_ext <<_ACEOF
21366 /* end confdefs.h. */
21368 /* Override any gcc2 internal prototype to avoid an error. */
21372 /* We use char because int might match the return type of a gcc2
21373 builtin and then its argument prototype would still apply. */
21383 rm -f conftest.$ac_objext conftest$ac_exeext
21384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21385 (eval $ac_link) 2>conftest.er1
21387 grep -v '^ *+' conftest.er1 >conftest.err
21389 cat conftest.err >&5
21390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21391 (exit $ac_status); } &&
21392 { ac_try='test -z "$ac_c_werror_flag"
21393 || test ! -s conftest.err'
21394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21395 (eval $ac_try) 2>&5
21397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21398 (exit $ac_status); }; } &&
21399 { ac_try='test -s conftest$ac_exeext'
21400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21401 (eval $ac_try) 2>&5
21403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21404 (exit $ac_status); }; }; then
21405 ac_cv_lib_m_erfl=yes
21407 echo "$as_me: failed program was:" >&5
21408 sed 's/^/| /' conftest.$ac_ext >&5
21410 ac_cv_lib_m_erfl=no
21412 rm -f conftest.err conftest.$ac_objext \
21413 conftest$ac_exeext conftest.$ac_ext
21414 LIBS=$ac_check_lib_save_LIBS
21416 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
21417 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
21418 if test $ac_cv_lib_m_erfl = yes; then
21420 cat >>confdefs.h <<\_ACEOF
21421 #define HAVE_ERFL 1
21426 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
21427 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
21428 if test "${ac_cv_lib_m_erfcf+set}" = set; then
21429 echo $ECHO_N "(cached) $ECHO_C" >&6
21431 ac_check_lib_save_LIBS=$LIBS
21433 if test x$gcc_no_link = xyes; then
21434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21436 { (exit 1); exit 1; }; }
21438 cat >conftest.$ac_ext <<_ACEOF
21441 cat confdefs.h >>conftest.$ac_ext
21442 cat >>conftest.$ac_ext <<_ACEOF
21443 /* end confdefs.h. */
21445 /* Override any gcc2 internal prototype to avoid an error. */
21449 /* We use char because int might match the return type of a gcc2
21450 builtin and then its argument prototype would still apply. */
21460 rm -f conftest.$ac_objext conftest$ac_exeext
21461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21462 (eval $ac_link) 2>conftest.er1
21464 grep -v '^ *+' conftest.er1 >conftest.err
21466 cat conftest.err >&5
21467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21468 (exit $ac_status); } &&
21469 { ac_try='test -z "$ac_c_werror_flag"
21470 || test ! -s conftest.err'
21471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21472 (eval $ac_try) 2>&5
21474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21475 (exit $ac_status); }; } &&
21476 { ac_try='test -s conftest$ac_exeext'
21477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21478 (eval $ac_try) 2>&5
21480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21481 (exit $ac_status); }; }; then
21482 ac_cv_lib_m_erfcf=yes
21484 echo "$as_me: failed program was:" >&5
21485 sed 's/^/| /' conftest.$ac_ext >&5
21487 ac_cv_lib_m_erfcf=no
21489 rm -f conftest.err conftest.$ac_objext \
21490 conftest$ac_exeext conftest.$ac_ext
21491 LIBS=$ac_check_lib_save_LIBS
21493 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
21494 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
21495 if test $ac_cv_lib_m_erfcf = yes; then
21497 cat >>confdefs.h <<\_ACEOF
21498 #define HAVE_ERFCF 1
21503 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
21504 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
21505 if test "${ac_cv_lib_m_erfc+set}" = set; then
21506 echo $ECHO_N "(cached) $ECHO_C" >&6
21508 ac_check_lib_save_LIBS=$LIBS
21510 if test x$gcc_no_link = xyes; then
21511 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21513 { (exit 1); exit 1; }; }
21515 cat >conftest.$ac_ext <<_ACEOF
21518 cat confdefs.h >>conftest.$ac_ext
21519 cat >>conftest.$ac_ext <<_ACEOF
21520 /* end confdefs.h. */
21522 /* Override any gcc2 internal prototype to avoid an error. */
21526 /* We use char because int might match the return type of a gcc2
21527 builtin and then its argument prototype would still apply. */
21537 rm -f conftest.$ac_objext conftest$ac_exeext
21538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21539 (eval $ac_link) 2>conftest.er1
21541 grep -v '^ *+' conftest.er1 >conftest.err
21543 cat conftest.err >&5
21544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21545 (exit $ac_status); } &&
21546 { ac_try='test -z "$ac_c_werror_flag"
21547 || test ! -s conftest.err'
21548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21549 (eval $ac_try) 2>&5
21551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21552 (exit $ac_status); }; } &&
21553 { ac_try='test -s conftest$ac_exeext'
21554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21555 (eval $ac_try) 2>&5
21557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21558 (exit $ac_status); }; }; then
21559 ac_cv_lib_m_erfc=yes
21561 echo "$as_me: failed program was:" >&5
21562 sed 's/^/| /' conftest.$ac_ext >&5
21564 ac_cv_lib_m_erfc=no
21566 rm -f conftest.err conftest.$ac_objext \
21567 conftest$ac_exeext conftest.$ac_ext
21568 LIBS=$ac_check_lib_save_LIBS
21570 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
21571 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
21572 if test $ac_cv_lib_m_erfc = yes; then
21574 cat >>confdefs.h <<\_ACEOF
21575 #define HAVE_ERFC 1
21580 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
21581 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
21582 if test "${ac_cv_lib_m_erfcl+set}" = set; then
21583 echo $ECHO_N "(cached) $ECHO_C" >&6
21585 ac_check_lib_save_LIBS=$LIBS
21587 if test x$gcc_no_link = xyes; then
21588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21590 { (exit 1); exit 1; }; }
21592 cat >conftest.$ac_ext <<_ACEOF
21595 cat confdefs.h >>conftest.$ac_ext
21596 cat >>conftest.$ac_ext <<_ACEOF
21597 /* end confdefs.h. */
21599 /* Override any gcc2 internal prototype to avoid an error. */
21603 /* We use char because int might match the return type of a gcc2
21604 builtin and then its argument prototype would still apply. */
21614 rm -f conftest.$ac_objext conftest$ac_exeext
21615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21616 (eval $ac_link) 2>conftest.er1
21618 grep -v '^ *+' conftest.er1 >conftest.err
21620 cat conftest.err >&5
21621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21622 (exit $ac_status); } &&
21623 { ac_try='test -z "$ac_c_werror_flag"
21624 || test ! -s conftest.err'
21625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21626 (eval $ac_try) 2>&5
21628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21629 (exit $ac_status); }; } &&
21630 { ac_try='test -s conftest$ac_exeext'
21631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21632 (eval $ac_try) 2>&5
21634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21635 (exit $ac_status); }; }; then
21636 ac_cv_lib_m_erfcl=yes
21638 echo "$as_me: failed program was:" >&5
21639 sed 's/^/| /' conftest.$ac_ext >&5
21641 ac_cv_lib_m_erfcl=no
21643 rm -f conftest.err conftest.$ac_objext \
21644 conftest$ac_exeext conftest.$ac_ext
21645 LIBS=$ac_check_lib_save_LIBS
21647 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
21648 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
21649 if test $ac_cv_lib_m_erfcl = yes; then
21651 cat >>confdefs.h <<\_ACEOF
21652 #define HAVE_ERFCL 1
21657 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
21658 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
21659 if test "${ac_cv_lib_m_j0f+set}" = set; then
21660 echo $ECHO_N "(cached) $ECHO_C" >&6
21662 ac_check_lib_save_LIBS=$LIBS
21664 if test x$gcc_no_link = xyes; then
21665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21667 { (exit 1); exit 1; }; }
21669 cat >conftest.$ac_ext <<_ACEOF
21672 cat confdefs.h >>conftest.$ac_ext
21673 cat >>conftest.$ac_ext <<_ACEOF
21674 /* end confdefs.h. */
21676 /* Override any gcc2 internal prototype to avoid an error. */
21680 /* We use char because int might match the return type of a gcc2
21681 builtin and then its argument prototype would still apply. */
21691 rm -f conftest.$ac_objext conftest$ac_exeext
21692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21693 (eval $ac_link) 2>conftest.er1
21695 grep -v '^ *+' conftest.er1 >conftest.err
21697 cat conftest.err >&5
21698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21699 (exit $ac_status); } &&
21700 { ac_try='test -z "$ac_c_werror_flag"
21701 || test ! -s conftest.err'
21702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21703 (eval $ac_try) 2>&5
21705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21706 (exit $ac_status); }; } &&
21707 { ac_try='test -s conftest$ac_exeext'
21708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21709 (eval $ac_try) 2>&5
21711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21712 (exit $ac_status); }; }; then
21713 ac_cv_lib_m_j0f=yes
21715 echo "$as_me: failed program was:" >&5
21716 sed 's/^/| /' conftest.$ac_ext >&5
21720 rm -f conftest.err conftest.$ac_objext \
21721 conftest$ac_exeext conftest.$ac_ext
21722 LIBS=$ac_check_lib_save_LIBS
21724 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
21725 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
21726 if test $ac_cv_lib_m_j0f = yes; then
21728 cat >>confdefs.h <<\_ACEOF
21734 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
21735 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
21736 if test "${ac_cv_lib_m_j0+set}" = set; then
21737 echo $ECHO_N "(cached) $ECHO_C" >&6
21739 ac_check_lib_save_LIBS=$LIBS
21741 if test x$gcc_no_link = xyes; then
21742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21744 { (exit 1); exit 1; }; }
21746 cat >conftest.$ac_ext <<_ACEOF
21749 cat confdefs.h >>conftest.$ac_ext
21750 cat >>conftest.$ac_ext <<_ACEOF
21751 /* end confdefs.h. */
21753 /* Override any gcc2 internal prototype to avoid an error. */
21757 /* We use char because int might match the return type of a gcc2
21758 builtin and then its argument prototype would still apply. */
21768 rm -f conftest.$ac_objext conftest$ac_exeext
21769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21770 (eval $ac_link) 2>conftest.er1
21772 grep -v '^ *+' conftest.er1 >conftest.err
21774 cat conftest.err >&5
21775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21776 (exit $ac_status); } &&
21777 { ac_try='test -z "$ac_c_werror_flag"
21778 || test ! -s conftest.err'
21779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21780 (eval $ac_try) 2>&5
21782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21783 (exit $ac_status); }; } &&
21784 { ac_try='test -s conftest$ac_exeext'
21785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21786 (eval $ac_try) 2>&5
21788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21789 (exit $ac_status); }; }; then
21792 echo "$as_me: failed program was:" >&5
21793 sed 's/^/| /' conftest.$ac_ext >&5
21797 rm -f conftest.err conftest.$ac_objext \
21798 conftest$ac_exeext conftest.$ac_ext
21799 LIBS=$ac_check_lib_save_LIBS
21801 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
21802 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
21803 if test $ac_cv_lib_m_j0 = yes; then
21805 cat >>confdefs.h <<\_ACEOF
21811 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
21812 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
21813 if test "${ac_cv_lib_m_j0l+set}" = set; then
21814 echo $ECHO_N "(cached) $ECHO_C" >&6
21816 ac_check_lib_save_LIBS=$LIBS
21818 if test x$gcc_no_link = xyes; then
21819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21821 { (exit 1); exit 1; }; }
21823 cat >conftest.$ac_ext <<_ACEOF
21826 cat confdefs.h >>conftest.$ac_ext
21827 cat >>conftest.$ac_ext <<_ACEOF
21828 /* end confdefs.h. */
21830 /* Override any gcc2 internal prototype to avoid an error. */
21834 /* We use char because int might match the return type of a gcc2
21835 builtin and then its argument prototype would still apply. */
21845 rm -f conftest.$ac_objext conftest$ac_exeext
21846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21847 (eval $ac_link) 2>conftest.er1
21849 grep -v '^ *+' conftest.er1 >conftest.err
21851 cat conftest.err >&5
21852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21853 (exit $ac_status); } &&
21854 { ac_try='test -z "$ac_c_werror_flag"
21855 || test ! -s conftest.err'
21856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21857 (eval $ac_try) 2>&5
21859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21860 (exit $ac_status); }; } &&
21861 { ac_try='test -s conftest$ac_exeext'
21862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21863 (eval $ac_try) 2>&5
21865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21866 (exit $ac_status); }; }; then
21867 ac_cv_lib_m_j0l=yes
21869 echo "$as_me: failed program was:" >&5
21870 sed 's/^/| /' conftest.$ac_ext >&5
21874 rm -f conftest.err conftest.$ac_objext \
21875 conftest$ac_exeext conftest.$ac_ext
21876 LIBS=$ac_check_lib_save_LIBS
21878 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
21879 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
21880 if test $ac_cv_lib_m_j0l = yes; then
21882 cat >>confdefs.h <<\_ACEOF
21888 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
21889 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
21890 if test "${ac_cv_lib_m_j1f+set}" = set; then
21891 echo $ECHO_N "(cached) $ECHO_C" >&6
21893 ac_check_lib_save_LIBS=$LIBS
21895 if test x$gcc_no_link = xyes; then
21896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21898 { (exit 1); exit 1; }; }
21900 cat >conftest.$ac_ext <<_ACEOF
21903 cat confdefs.h >>conftest.$ac_ext
21904 cat >>conftest.$ac_ext <<_ACEOF
21905 /* end confdefs.h. */
21907 /* Override any gcc2 internal prototype to avoid an error. */
21911 /* We use char because int might match the return type of a gcc2
21912 builtin and then its argument prototype would still apply. */
21922 rm -f conftest.$ac_objext conftest$ac_exeext
21923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21924 (eval $ac_link) 2>conftest.er1
21926 grep -v '^ *+' conftest.er1 >conftest.err
21928 cat conftest.err >&5
21929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21930 (exit $ac_status); } &&
21931 { ac_try='test -z "$ac_c_werror_flag"
21932 || test ! -s conftest.err'
21933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21934 (eval $ac_try) 2>&5
21936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21937 (exit $ac_status); }; } &&
21938 { ac_try='test -s conftest$ac_exeext'
21939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21940 (eval $ac_try) 2>&5
21942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21943 (exit $ac_status); }; }; then
21944 ac_cv_lib_m_j1f=yes
21946 echo "$as_me: failed program was:" >&5
21947 sed 's/^/| /' conftest.$ac_ext >&5
21951 rm -f conftest.err conftest.$ac_objext \
21952 conftest$ac_exeext conftest.$ac_ext
21953 LIBS=$ac_check_lib_save_LIBS
21955 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
21956 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
21957 if test $ac_cv_lib_m_j1f = yes; then
21959 cat >>confdefs.h <<\_ACEOF
21965 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
21966 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
21967 if test "${ac_cv_lib_m_j1+set}" = set; then
21968 echo $ECHO_N "(cached) $ECHO_C" >&6
21970 ac_check_lib_save_LIBS=$LIBS
21972 if test x$gcc_no_link = xyes; then
21973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21975 { (exit 1); exit 1; }; }
21977 cat >conftest.$ac_ext <<_ACEOF
21980 cat confdefs.h >>conftest.$ac_ext
21981 cat >>conftest.$ac_ext <<_ACEOF
21982 /* end confdefs.h. */
21984 /* Override any gcc2 internal prototype to avoid an error. */
21988 /* We use char because int might match the return type of a gcc2
21989 builtin and then its argument prototype would still apply. */
21999 rm -f conftest.$ac_objext conftest$ac_exeext
22000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22001 (eval $ac_link) 2>conftest.er1
22003 grep -v '^ *+' conftest.er1 >conftest.err
22005 cat conftest.err >&5
22006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22007 (exit $ac_status); } &&
22008 { ac_try='test -z "$ac_c_werror_flag"
22009 || test ! -s conftest.err'
22010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22011 (eval $ac_try) 2>&5
22013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22014 (exit $ac_status); }; } &&
22015 { ac_try='test -s conftest$ac_exeext'
22016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22017 (eval $ac_try) 2>&5
22019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22020 (exit $ac_status); }; }; then
22023 echo "$as_me: failed program was:" >&5
22024 sed 's/^/| /' conftest.$ac_ext >&5
22028 rm -f conftest.err conftest.$ac_objext \
22029 conftest$ac_exeext conftest.$ac_ext
22030 LIBS=$ac_check_lib_save_LIBS
22032 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
22033 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
22034 if test $ac_cv_lib_m_j1 = yes; then
22036 cat >>confdefs.h <<\_ACEOF
22042 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
22043 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
22044 if test "${ac_cv_lib_m_j1l+set}" = set; then
22045 echo $ECHO_N "(cached) $ECHO_C" >&6
22047 ac_check_lib_save_LIBS=$LIBS
22049 if test x$gcc_no_link = xyes; then
22050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22052 { (exit 1); exit 1; }; }
22054 cat >conftest.$ac_ext <<_ACEOF
22057 cat confdefs.h >>conftest.$ac_ext
22058 cat >>conftest.$ac_ext <<_ACEOF
22059 /* end confdefs.h. */
22061 /* Override any gcc2 internal prototype to avoid an error. */
22065 /* We use char because int might match the return type of a gcc2
22066 builtin and then its argument prototype would still apply. */
22076 rm -f conftest.$ac_objext conftest$ac_exeext
22077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22078 (eval $ac_link) 2>conftest.er1
22080 grep -v '^ *+' conftest.er1 >conftest.err
22082 cat conftest.err >&5
22083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22084 (exit $ac_status); } &&
22085 { ac_try='test -z "$ac_c_werror_flag"
22086 || test ! -s conftest.err'
22087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22088 (eval $ac_try) 2>&5
22090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22091 (exit $ac_status); }; } &&
22092 { ac_try='test -s conftest$ac_exeext'
22093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22094 (eval $ac_try) 2>&5
22096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22097 (exit $ac_status); }; }; then
22098 ac_cv_lib_m_j1l=yes
22100 echo "$as_me: failed program was:" >&5
22101 sed 's/^/| /' conftest.$ac_ext >&5
22105 rm -f conftest.err conftest.$ac_objext \
22106 conftest$ac_exeext conftest.$ac_ext
22107 LIBS=$ac_check_lib_save_LIBS
22109 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
22110 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
22111 if test $ac_cv_lib_m_j1l = yes; then
22113 cat >>confdefs.h <<\_ACEOF
22119 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
22120 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
22121 if test "${ac_cv_lib_m_jnf+set}" = set; then
22122 echo $ECHO_N "(cached) $ECHO_C" >&6
22124 ac_check_lib_save_LIBS=$LIBS
22126 if test x$gcc_no_link = xyes; then
22127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22129 { (exit 1); exit 1; }; }
22131 cat >conftest.$ac_ext <<_ACEOF
22134 cat confdefs.h >>conftest.$ac_ext
22135 cat >>conftest.$ac_ext <<_ACEOF
22136 /* end confdefs.h. */
22138 /* Override any gcc2 internal prototype to avoid an error. */
22142 /* We use char because int might match the return type of a gcc2
22143 builtin and then its argument prototype would still apply. */
22153 rm -f conftest.$ac_objext conftest$ac_exeext
22154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22155 (eval $ac_link) 2>conftest.er1
22157 grep -v '^ *+' conftest.er1 >conftest.err
22159 cat conftest.err >&5
22160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22161 (exit $ac_status); } &&
22162 { ac_try='test -z "$ac_c_werror_flag"
22163 || test ! -s conftest.err'
22164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22165 (eval $ac_try) 2>&5
22167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22168 (exit $ac_status); }; } &&
22169 { ac_try='test -s conftest$ac_exeext'
22170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22171 (eval $ac_try) 2>&5
22173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22174 (exit $ac_status); }; }; then
22175 ac_cv_lib_m_jnf=yes
22177 echo "$as_me: failed program was:" >&5
22178 sed 's/^/| /' conftest.$ac_ext >&5
22182 rm -f conftest.err conftest.$ac_objext \
22183 conftest$ac_exeext conftest.$ac_ext
22184 LIBS=$ac_check_lib_save_LIBS
22186 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
22187 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
22188 if test $ac_cv_lib_m_jnf = yes; then
22190 cat >>confdefs.h <<\_ACEOF
22196 echo "$as_me:$LINENO: checking for jn in -lm" >&5
22197 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
22198 if test "${ac_cv_lib_m_jn+set}" = set; then
22199 echo $ECHO_N "(cached) $ECHO_C" >&6
22201 ac_check_lib_save_LIBS=$LIBS
22203 if test x$gcc_no_link = xyes; then
22204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22206 { (exit 1); exit 1; }; }
22208 cat >conftest.$ac_ext <<_ACEOF
22211 cat confdefs.h >>conftest.$ac_ext
22212 cat >>conftest.$ac_ext <<_ACEOF
22213 /* end confdefs.h. */
22215 /* Override any gcc2 internal prototype to avoid an error. */
22219 /* We use char because int might match the return type of a gcc2
22220 builtin and then its argument prototype would still apply. */
22230 rm -f conftest.$ac_objext conftest$ac_exeext
22231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22232 (eval $ac_link) 2>conftest.er1
22234 grep -v '^ *+' conftest.er1 >conftest.err
22236 cat conftest.err >&5
22237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22238 (exit $ac_status); } &&
22239 { ac_try='test -z "$ac_c_werror_flag"
22240 || test ! -s conftest.err'
22241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22242 (eval $ac_try) 2>&5
22244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22245 (exit $ac_status); }; } &&
22246 { ac_try='test -s conftest$ac_exeext'
22247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22248 (eval $ac_try) 2>&5
22250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22251 (exit $ac_status); }; }; then
22254 echo "$as_me: failed program was:" >&5
22255 sed 's/^/| /' conftest.$ac_ext >&5
22259 rm -f conftest.err conftest.$ac_objext \
22260 conftest$ac_exeext conftest.$ac_ext
22261 LIBS=$ac_check_lib_save_LIBS
22263 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
22264 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
22265 if test $ac_cv_lib_m_jn = yes; then
22267 cat >>confdefs.h <<\_ACEOF
22273 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
22274 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
22275 if test "${ac_cv_lib_m_jnl+set}" = set; then
22276 echo $ECHO_N "(cached) $ECHO_C" >&6
22278 ac_check_lib_save_LIBS=$LIBS
22280 if test x$gcc_no_link = xyes; then
22281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22283 { (exit 1); exit 1; }; }
22285 cat >conftest.$ac_ext <<_ACEOF
22288 cat confdefs.h >>conftest.$ac_ext
22289 cat >>conftest.$ac_ext <<_ACEOF
22290 /* end confdefs.h. */
22292 /* Override any gcc2 internal prototype to avoid an error. */
22296 /* We use char because int might match the return type of a gcc2
22297 builtin and then its argument prototype would still apply. */
22307 rm -f conftest.$ac_objext conftest$ac_exeext
22308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22309 (eval $ac_link) 2>conftest.er1
22311 grep -v '^ *+' conftest.er1 >conftest.err
22313 cat conftest.err >&5
22314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22315 (exit $ac_status); } &&
22316 { ac_try='test -z "$ac_c_werror_flag"
22317 || test ! -s conftest.err'
22318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22319 (eval $ac_try) 2>&5
22321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22322 (exit $ac_status); }; } &&
22323 { ac_try='test -s conftest$ac_exeext'
22324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22325 (eval $ac_try) 2>&5
22327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22328 (exit $ac_status); }; }; then
22329 ac_cv_lib_m_jnl=yes
22331 echo "$as_me: failed program was:" >&5
22332 sed 's/^/| /' conftest.$ac_ext >&5
22336 rm -f conftest.err conftest.$ac_objext \
22337 conftest$ac_exeext conftest.$ac_ext
22338 LIBS=$ac_check_lib_save_LIBS
22340 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
22341 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
22342 if test $ac_cv_lib_m_jnl = yes; then
22344 cat >>confdefs.h <<\_ACEOF
22350 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
22351 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
22352 if test "${ac_cv_lib_m_y0f+set}" = set; then
22353 echo $ECHO_N "(cached) $ECHO_C" >&6
22355 ac_check_lib_save_LIBS=$LIBS
22357 if test x$gcc_no_link = xyes; then
22358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22360 { (exit 1); exit 1; }; }
22362 cat >conftest.$ac_ext <<_ACEOF
22365 cat confdefs.h >>conftest.$ac_ext
22366 cat >>conftest.$ac_ext <<_ACEOF
22367 /* end confdefs.h. */
22369 /* Override any gcc2 internal prototype to avoid an error. */
22373 /* We use char because int might match the return type of a gcc2
22374 builtin and then its argument prototype would still apply. */
22384 rm -f conftest.$ac_objext conftest$ac_exeext
22385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22386 (eval $ac_link) 2>conftest.er1
22388 grep -v '^ *+' conftest.er1 >conftest.err
22390 cat conftest.err >&5
22391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22392 (exit $ac_status); } &&
22393 { ac_try='test -z "$ac_c_werror_flag"
22394 || test ! -s conftest.err'
22395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22396 (eval $ac_try) 2>&5
22398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22399 (exit $ac_status); }; } &&
22400 { ac_try='test -s conftest$ac_exeext'
22401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22402 (eval $ac_try) 2>&5
22404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22405 (exit $ac_status); }; }; then
22406 ac_cv_lib_m_y0f=yes
22408 echo "$as_me: failed program was:" >&5
22409 sed 's/^/| /' conftest.$ac_ext >&5
22413 rm -f conftest.err conftest.$ac_objext \
22414 conftest$ac_exeext conftest.$ac_ext
22415 LIBS=$ac_check_lib_save_LIBS
22417 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
22418 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
22419 if test $ac_cv_lib_m_y0f = yes; then
22421 cat >>confdefs.h <<\_ACEOF
22427 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
22428 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
22429 if test "${ac_cv_lib_m_y0+set}" = set; then
22430 echo $ECHO_N "(cached) $ECHO_C" >&6
22432 ac_check_lib_save_LIBS=$LIBS
22434 if test x$gcc_no_link = xyes; then
22435 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22437 { (exit 1); exit 1; }; }
22439 cat >conftest.$ac_ext <<_ACEOF
22442 cat confdefs.h >>conftest.$ac_ext
22443 cat >>conftest.$ac_ext <<_ACEOF
22444 /* end confdefs.h. */
22446 /* Override any gcc2 internal prototype to avoid an error. */
22450 /* We use char because int might match the return type of a gcc2
22451 builtin and then its argument prototype would still apply. */
22461 rm -f conftest.$ac_objext conftest$ac_exeext
22462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22463 (eval $ac_link) 2>conftest.er1
22465 grep -v '^ *+' conftest.er1 >conftest.err
22467 cat conftest.err >&5
22468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22469 (exit $ac_status); } &&
22470 { ac_try='test -z "$ac_c_werror_flag"
22471 || test ! -s conftest.err'
22472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22473 (eval $ac_try) 2>&5
22475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22476 (exit $ac_status); }; } &&
22477 { ac_try='test -s conftest$ac_exeext'
22478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22479 (eval $ac_try) 2>&5
22481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22482 (exit $ac_status); }; }; then
22485 echo "$as_me: failed program was:" >&5
22486 sed 's/^/| /' conftest.$ac_ext >&5
22490 rm -f conftest.err conftest.$ac_objext \
22491 conftest$ac_exeext conftest.$ac_ext
22492 LIBS=$ac_check_lib_save_LIBS
22494 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
22495 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
22496 if test $ac_cv_lib_m_y0 = yes; then
22498 cat >>confdefs.h <<\_ACEOF
22504 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
22505 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
22506 if test "${ac_cv_lib_m_y0l+set}" = set; then
22507 echo $ECHO_N "(cached) $ECHO_C" >&6
22509 ac_check_lib_save_LIBS=$LIBS
22511 if test x$gcc_no_link = xyes; then
22512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22514 { (exit 1); exit 1; }; }
22516 cat >conftest.$ac_ext <<_ACEOF
22519 cat confdefs.h >>conftest.$ac_ext
22520 cat >>conftest.$ac_ext <<_ACEOF
22521 /* end confdefs.h. */
22523 /* Override any gcc2 internal prototype to avoid an error. */
22527 /* We use char because int might match the return type of a gcc2
22528 builtin and then its argument prototype would still apply. */
22538 rm -f conftest.$ac_objext conftest$ac_exeext
22539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22540 (eval $ac_link) 2>conftest.er1
22542 grep -v '^ *+' conftest.er1 >conftest.err
22544 cat conftest.err >&5
22545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22546 (exit $ac_status); } &&
22547 { ac_try='test -z "$ac_c_werror_flag"
22548 || test ! -s conftest.err'
22549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22550 (eval $ac_try) 2>&5
22552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22553 (exit $ac_status); }; } &&
22554 { ac_try='test -s conftest$ac_exeext'
22555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22556 (eval $ac_try) 2>&5
22558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22559 (exit $ac_status); }; }; then
22560 ac_cv_lib_m_y0l=yes
22562 echo "$as_me: failed program was:" >&5
22563 sed 's/^/| /' conftest.$ac_ext >&5
22567 rm -f conftest.err conftest.$ac_objext \
22568 conftest$ac_exeext conftest.$ac_ext
22569 LIBS=$ac_check_lib_save_LIBS
22571 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
22572 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
22573 if test $ac_cv_lib_m_y0l = yes; then
22575 cat >>confdefs.h <<\_ACEOF
22581 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
22582 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
22583 if test "${ac_cv_lib_m_y1f+set}" = set; then
22584 echo $ECHO_N "(cached) $ECHO_C" >&6
22586 ac_check_lib_save_LIBS=$LIBS
22588 if test x$gcc_no_link = xyes; then
22589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22591 { (exit 1); exit 1; }; }
22593 cat >conftest.$ac_ext <<_ACEOF
22596 cat confdefs.h >>conftest.$ac_ext
22597 cat >>conftest.$ac_ext <<_ACEOF
22598 /* end confdefs.h. */
22600 /* Override any gcc2 internal prototype to avoid an error. */
22604 /* We use char because int might match the return type of a gcc2
22605 builtin and then its argument prototype would still apply. */
22615 rm -f conftest.$ac_objext conftest$ac_exeext
22616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22617 (eval $ac_link) 2>conftest.er1
22619 grep -v '^ *+' conftest.er1 >conftest.err
22621 cat conftest.err >&5
22622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22623 (exit $ac_status); } &&
22624 { ac_try='test -z "$ac_c_werror_flag"
22625 || test ! -s conftest.err'
22626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22627 (eval $ac_try) 2>&5
22629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630 (exit $ac_status); }; } &&
22631 { ac_try='test -s conftest$ac_exeext'
22632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22633 (eval $ac_try) 2>&5
22635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22636 (exit $ac_status); }; }; then
22637 ac_cv_lib_m_y1f=yes
22639 echo "$as_me: failed program was:" >&5
22640 sed 's/^/| /' conftest.$ac_ext >&5
22644 rm -f conftest.err conftest.$ac_objext \
22645 conftest$ac_exeext conftest.$ac_ext
22646 LIBS=$ac_check_lib_save_LIBS
22648 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
22649 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
22650 if test $ac_cv_lib_m_y1f = yes; then
22652 cat >>confdefs.h <<\_ACEOF
22658 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
22659 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
22660 if test "${ac_cv_lib_m_y1+set}" = set; then
22661 echo $ECHO_N "(cached) $ECHO_C" >&6
22663 ac_check_lib_save_LIBS=$LIBS
22665 if test x$gcc_no_link = xyes; then
22666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22668 { (exit 1); exit 1; }; }
22670 cat >conftest.$ac_ext <<_ACEOF
22673 cat confdefs.h >>conftest.$ac_ext
22674 cat >>conftest.$ac_ext <<_ACEOF
22675 /* end confdefs.h. */
22677 /* Override any gcc2 internal prototype to avoid an error. */
22681 /* We use char because int might match the return type of a gcc2
22682 builtin and then its argument prototype would still apply. */
22692 rm -f conftest.$ac_objext conftest$ac_exeext
22693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22694 (eval $ac_link) 2>conftest.er1
22696 grep -v '^ *+' conftest.er1 >conftest.err
22698 cat conftest.err >&5
22699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22700 (exit $ac_status); } &&
22701 { ac_try='test -z "$ac_c_werror_flag"
22702 || test ! -s conftest.err'
22703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22704 (eval $ac_try) 2>&5
22706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22707 (exit $ac_status); }; } &&
22708 { ac_try='test -s conftest$ac_exeext'
22709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22710 (eval $ac_try) 2>&5
22712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22713 (exit $ac_status); }; }; then
22716 echo "$as_me: failed program was:" >&5
22717 sed 's/^/| /' conftest.$ac_ext >&5
22721 rm -f conftest.err conftest.$ac_objext \
22722 conftest$ac_exeext conftest.$ac_ext
22723 LIBS=$ac_check_lib_save_LIBS
22725 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
22726 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
22727 if test $ac_cv_lib_m_y1 = yes; then
22729 cat >>confdefs.h <<\_ACEOF
22735 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
22736 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
22737 if test "${ac_cv_lib_m_y1l+set}" = set; then
22738 echo $ECHO_N "(cached) $ECHO_C" >&6
22740 ac_check_lib_save_LIBS=$LIBS
22742 if test x$gcc_no_link = xyes; then
22743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22745 { (exit 1); exit 1; }; }
22747 cat >conftest.$ac_ext <<_ACEOF
22750 cat confdefs.h >>conftest.$ac_ext
22751 cat >>conftest.$ac_ext <<_ACEOF
22752 /* end confdefs.h. */
22754 /* Override any gcc2 internal prototype to avoid an error. */
22758 /* We use char because int might match the return type of a gcc2
22759 builtin and then its argument prototype would still apply. */
22769 rm -f conftest.$ac_objext conftest$ac_exeext
22770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22771 (eval $ac_link) 2>conftest.er1
22773 grep -v '^ *+' conftest.er1 >conftest.err
22775 cat conftest.err >&5
22776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22777 (exit $ac_status); } &&
22778 { ac_try='test -z "$ac_c_werror_flag"
22779 || test ! -s conftest.err'
22780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22781 (eval $ac_try) 2>&5
22783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22784 (exit $ac_status); }; } &&
22785 { ac_try='test -s conftest$ac_exeext'
22786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22787 (eval $ac_try) 2>&5
22789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22790 (exit $ac_status); }; }; then
22791 ac_cv_lib_m_y1l=yes
22793 echo "$as_me: failed program was:" >&5
22794 sed 's/^/| /' conftest.$ac_ext >&5
22798 rm -f conftest.err conftest.$ac_objext \
22799 conftest$ac_exeext conftest.$ac_ext
22800 LIBS=$ac_check_lib_save_LIBS
22802 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
22803 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
22804 if test $ac_cv_lib_m_y1l = yes; then
22806 cat >>confdefs.h <<\_ACEOF
22812 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
22813 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
22814 if test "${ac_cv_lib_m_ynf+set}" = set; then
22815 echo $ECHO_N "(cached) $ECHO_C" >&6
22817 ac_check_lib_save_LIBS=$LIBS
22819 if test x$gcc_no_link = xyes; then
22820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22822 { (exit 1); exit 1; }; }
22824 cat >conftest.$ac_ext <<_ACEOF
22827 cat confdefs.h >>conftest.$ac_ext
22828 cat >>conftest.$ac_ext <<_ACEOF
22829 /* end confdefs.h. */
22831 /* Override any gcc2 internal prototype to avoid an error. */
22835 /* We use char because int might match the return type of a gcc2
22836 builtin and then its argument prototype would still apply. */
22846 rm -f conftest.$ac_objext conftest$ac_exeext
22847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22848 (eval $ac_link) 2>conftest.er1
22850 grep -v '^ *+' conftest.er1 >conftest.err
22852 cat conftest.err >&5
22853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22854 (exit $ac_status); } &&
22855 { ac_try='test -z "$ac_c_werror_flag"
22856 || test ! -s conftest.err'
22857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22858 (eval $ac_try) 2>&5
22860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22861 (exit $ac_status); }; } &&
22862 { ac_try='test -s conftest$ac_exeext'
22863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22864 (eval $ac_try) 2>&5
22866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22867 (exit $ac_status); }; }; then
22868 ac_cv_lib_m_ynf=yes
22870 echo "$as_me: failed program was:" >&5
22871 sed 's/^/| /' conftest.$ac_ext >&5
22875 rm -f conftest.err conftest.$ac_objext \
22876 conftest$ac_exeext conftest.$ac_ext
22877 LIBS=$ac_check_lib_save_LIBS
22879 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
22880 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
22881 if test $ac_cv_lib_m_ynf = yes; then
22883 cat >>confdefs.h <<\_ACEOF
22889 echo "$as_me:$LINENO: checking for yn in -lm" >&5
22890 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
22891 if test "${ac_cv_lib_m_yn+set}" = set; then
22892 echo $ECHO_N "(cached) $ECHO_C" >&6
22894 ac_check_lib_save_LIBS=$LIBS
22896 if test x$gcc_no_link = xyes; then
22897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22899 { (exit 1); exit 1; }; }
22901 cat >conftest.$ac_ext <<_ACEOF
22904 cat confdefs.h >>conftest.$ac_ext
22905 cat >>conftest.$ac_ext <<_ACEOF
22906 /* end confdefs.h. */
22908 /* Override any gcc2 internal prototype to avoid an error. */
22912 /* We use char because int might match the return type of a gcc2
22913 builtin and then its argument prototype would still apply. */
22923 rm -f conftest.$ac_objext conftest$ac_exeext
22924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22925 (eval $ac_link) 2>conftest.er1
22927 grep -v '^ *+' conftest.er1 >conftest.err
22929 cat conftest.err >&5
22930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22931 (exit $ac_status); } &&
22932 { ac_try='test -z "$ac_c_werror_flag"
22933 || test ! -s conftest.err'
22934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22935 (eval $ac_try) 2>&5
22937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22938 (exit $ac_status); }; } &&
22939 { ac_try='test -s conftest$ac_exeext'
22940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22941 (eval $ac_try) 2>&5
22943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22944 (exit $ac_status); }; }; then
22947 echo "$as_me: failed program was:" >&5
22948 sed 's/^/| /' conftest.$ac_ext >&5
22952 rm -f conftest.err conftest.$ac_objext \
22953 conftest$ac_exeext conftest.$ac_ext
22954 LIBS=$ac_check_lib_save_LIBS
22956 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
22957 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
22958 if test $ac_cv_lib_m_yn = yes; then
22960 cat >>confdefs.h <<\_ACEOF
22966 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
22967 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
22968 if test "${ac_cv_lib_m_ynl+set}" = set; then
22969 echo $ECHO_N "(cached) $ECHO_C" >&6
22971 ac_check_lib_save_LIBS=$LIBS
22973 if test x$gcc_no_link = xyes; then
22974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22976 { (exit 1); exit 1; }; }
22978 cat >conftest.$ac_ext <<_ACEOF
22981 cat confdefs.h >>conftest.$ac_ext
22982 cat >>conftest.$ac_ext <<_ACEOF
22983 /* end confdefs.h. */
22985 /* Override any gcc2 internal prototype to avoid an error. */
22989 /* We use char because int might match the return type of a gcc2
22990 builtin and then its argument prototype would still apply. */
23000 rm -f conftest.$ac_objext conftest$ac_exeext
23001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23002 (eval $ac_link) 2>conftest.er1
23004 grep -v '^ *+' conftest.er1 >conftest.err
23006 cat conftest.err >&5
23007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23008 (exit $ac_status); } &&
23009 { ac_try='test -z "$ac_c_werror_flag"
23010 || test ! -s conftest.err'
23011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23012 (eval $ac_try) 2>&5
23014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23015 (exit $ac_status); }; } &&
23016 { ac_try='test -s conftest$ac_exeext'
23017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23018 (eval $ac_try) 2>&5
23020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021 (exit $ac_status); }; }; then
23022 ac_cv_lib_m_ynl=yes
23024 echo "$as_me: failed program was:" >&5
23025 sed 's/^/| /' conftest.$ac_ext >&5
23029 rm -f conftest.err conftest.$ac_objext \
23030 conftest$ac_exeext conftest.$ac_ext
23031 LIBS=$ac_check_lib_save_LIBS
23033 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
23034 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
23035 if test $ac_cv_lib_m_ynl = yes; then
23037 cat >>confdefs.h <<\_ACEOF
23044 # On AIX, clog is present in libm as __clog
23045 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
23046 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
23047 if test "${ac_cv_lib_m___clog+set}" = set; then
23048 echo $ECHO_N "(cached) $ECHO_C" >&6
23050 ac_check_lib_save_LIBS=$LIBS
23052 if test x$gcc_no_link = xyes; then
23053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23055 { (exit 1); exit 1; }; }
23057 cat >conftest.$ac_ext <<_ACEOF
23060 cat confdefs.h >>conftest.$ac_ext
23061 cat >>conftest.$ac_ext <<_ACEOF
23062 /* end confdefs.h. */
23064 /* Override any gcc2 internal prototype to avoid an error. */
23068 /* We use char because int might match the return type of a gcc2
23069 builtin and then its argument prototype would still apply. */
23079 rm -f conftest.$ac_objext conftest$ac_exeext
23080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23081 (eval $ac_link) 2>conftest.er1
23083 grep -v '^ *+' conftest.er1 >conftest.err
23085 cat conftest.err >&5
23086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23087 (exit $ac_status); } &&
23088 { ac_try='test -z "$ac_c_werror_flag"
23089 || test ! -s conftest.err'
23090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23091 (eval $ac_try) 2>&5
23093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23094 (exit $ac_status); }; } &&
23095 { ac_try='test -s conftest$ac_exeext'
23096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23097 (eval $ac_try) 2>&5
23099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23100 (exit $ac_status); }; }; then
23101 ac_cv_lib_m___clog=yes
23103 echo "$as_me: failed program was:" >&5
23104 sed 's/^/| /' conftest.$ac_ext >&5
23106 ac_cv_lib_m___clog=no
23108 rm -f conftest.err conftest.$ac_objext \
23109 conftest$ac_exeext conftest.$ac_ext
23110 LIBS=$ac_check_lib_save_LIBS
23112 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
23113 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
23114 if test $ac_cv_lib_m___clog = yes; then
23116 cat >>confdefs.h <<\_ACEOF
23117 #define HAVE_CLOG 1
23123 # Check for a isfinite macro that works on long doubles.
23125 echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
23126 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
23127 if test "${have_broken_isfinite+set}" = set; then
23128 echo $ECHO_N "(cached) $ECHO_C" >&6
23131 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
23133 if test "$cross_compiling" = yes; then
23135 case "${target}" in
23136 hppa*-*-hpux*) have_broken_isfinite=yes ;;
23137 *) have_broken_isfinite=no ;;
23140 cat >conftest.$ac_ext <<_ACEOF
23143 cat confdefs.h >>conftest.$ac_ext
23144 cat >>conftest.$ac_ext <<_ACEOF
23145 /* end confdefs.h. */
23155 if (!isfinite(LDBL_MAX)) return 1;
23158 if (!isfinite(DBL_MAX)) return 1;
23164 rm -f conftest$ac_exeext
23165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23166 (eval $ac_link) 2>&5
23168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23169 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23171 (eval $ac_try) 2>&5
23173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23174 (exit $ac_status); }; }; then
23175 have_broken_isfinite=no
23177 echo "$as_me: program exited with status $ac_status" >&5
23178 echo "$as_me: failed program was:" >&5
23179 sed 's/^/| /' conftest.$ac_ext >&5
23181 ( exit $ac_status )
23182 have_broken_isfinite=yes
23184 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23186 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
23188 echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
23189 echo "${ECHO_T}$have_broken_isfinite" >&6
23190 if test x"$have_broken_isfinite" = xyes; then
23192 cat >>confdefs.h <<\_ACEOF
23193 #define HAVE_BROKEN_ISFINITE 1
23198 # Check for a isnan macro that works on long doubles.
23200 echo "$as_me:$LINENO: checking whether isnan is broken" >&5
23201 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
23202 if test "${have_broken_isnan+set}" = set; then
23203 echo $ECHO_N "(cached) $ECHO_C" >&6
23206 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
23208 if test "$cross_compiling" = yes; then
23210 case "${target}" in
23211 hppa*-*-hpux*) have_broken_isnan=yes ;;
23212 *) have_broken_isnan=no ;;
23215 cat >conftest.$ac_ext <<_ACEOF
23218 cat confdefs.h >>conftest.$ac_ext
23219 cat >>conftest.$ac_ext <<_ACEOF
23220 /* end confdefs.h. */
23232 x = __builtin_nanl ("");
23233 if (!isnan(x)) return 1;
23234 if (isnan(LDBL_MAX)) return 1;
23236 x = (long double) NAN;
23237 if (!isnan(x)) return 1;
23244 y = __builtin_nan ("");
23245 if (!isnan(y)) return 1;
23246 if (isnan(DBL_MAX)) return 1;
23249 if (!isnan(y)) return 1;
23257 rm -f conftest$ac_exeext
23258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23259 (eval $ac_link) 2>&5
23261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23262 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23264 (eval $ac_try) 2>&5
23266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23267 (exit $ac_status); }; }; then
23268 have_broken_isnan=no
23270 echo "$as_me: program exited with status $ac_status" >&5
23271 echo "$as_me: failed program was:" >&5
23272 sed 's/^/| /' conftest.$ac_ext >&5
23274 ( exit $ac_status )
23275 have_broken_isnan=yes
23277 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23279 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
23281 echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
23282 echo "${ECHO_T}$have_broken_isnan" >&6
23283 if test x"$have_broken_isnan" = xyes; then
23285 cat >>confdefs.h <<\_ACEOF
23286 #define HAVE_BROKEN_ISNAN 1
23291 # Check for a fpclassify macro that works on long doubles.
23293 echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
23294 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
23295 if test "${have_broken_fpclassify+set}" = set; then
23296 echo $ECHO_N "(cached) $ECHO_C" >&6
23299 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
23301 if test "$cross_compiling" = yes; then
23303 case "${target}" in
23304 hppa*-*-hpux*) have_broken_fpclassify=yes ;;
23305 *) have_broken_fpclassify=no ;;
23308 cat >conftest.$ac_ext <<_ACEOF
23311 cat confdefs.h >>conftest.$ac_ext
23312 cat >>conftest.$ac_ext <<_ACEOF
23313 /* end confdefs.h. */
23323 if (fpclassify(LDBL_MAX) == FP_NAN
23324 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
23327 if (fpclassify(DBL_MAX) == FP_NAN
23328 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
23334 rm -f conftest$ac_exeext
23335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23336 (eval $ac_link) 2>&5
23338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23339 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23341 (eval $ac_try) 2>&5
23343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23344 (exit $ac_status); }; }; then
23345 have_broken_fpclassify=no
23347 echo "$as_me: program exited with status $ac_status" >&5
23348 echo "$as_me: failed program was:" >&5
23349 sed 's/^/| /' conftest.$ac_ext >&5
23351 ( exit $ac_status )
23352 have_broken_fpclassify=yes
23354 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23356 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
23358 echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
23359 echo "${ECHO_T}$have_broken_fpclassify" >&6
23360 if test x"$have_broken_fpclassify" = xyes; then
23362 cat >>confdefs.h <<\_ACEOF
23363 #define HAVE_BROKEN_FPCLASSIFY 1
23368 # Check whether the system has a working stat()
23370 echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
23371 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
23372 if test "${have_working_stat+set}" = set; then
23373 echo $ECHO_N "(cached) $ECHO_C" >&6
23376 if test "$cross_compiling" = yes; then
23378 case "${target}" in
23379 *mingw*) have_working_stat=no ;;
23380 *) have_working_stat=yes;;
23383 cat >conftest.$ac_ext <<_ACEOF
23386 cat confdefs.h >>conftest.$ac_ext
23387 cat >>conftest.$ac_ext <<_ACEOF
23388 /* end confdefs.h. */
23391 #include <sys/types.h>
23392 #include <sys/stat.h>
23393 #include <unistd.h>
23398 struct stat st1, st2;
23400 f = fopen ("foo", "w");
23401 g = fopen ("bar", "w");
23402 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
23404 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
23411 rm -f conftest$ac_exeext
23412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23413 (eval $ac_link) 2>&5
23415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23418 (eval $ac_try) 2>&5
23420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23421 (exit $ac_status); }; }; then
23422 have_working_stat=yes
23424 echo "$as_me: program exited with status $ac_status" >&5
23425 echo "$as_me: failed program was:" >&5
23426 sed 's/^/| /' conftest.$ac_ext >&5
23428 ( exit $ac_status )
23429 have_working_stat=no
23431 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23434 echo "$as_me:$LINENO: result: $have_working_stat" >&5
23435 echo "${ECHO_T}$have_working_stat" >&6
23436 if test x"$have_working_stat" = xyes; then
23438 cat >>confdefs.h <<\_ACEOF
23439 #define HAVE_WORKING_STAT 1
23444 # Check for GNU libc feenableexcept
23445 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
23446 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
23447 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
23448 echo $ECHO_N "(cached) $ECHO_C" >&6
23450 ac_check_lib_save_LIBS=$LIBS
23452 if test x$gcc_no_link = xyes; then
23453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23455 { (exit 1); exit 1; }; }
23457 cat >conftest.$ac_ext <<_ACEOF
23460 cat confdefs.h >>conftest.$ac_ext
23461 cat >>conftest.$ac_ext <<_ACEOF
23462 /* end confdefs.h. */
23464 /* Override any gcc2 internal prototype to avoid an error. */
23468 /* We use char because int might match the return type of a gcc2
23469 builtin and then its argument prototype would still apply. */
23470 char feenableexcept ();
23479 rm -f conftest.$ac_objext conftest$ac_exeext
23480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23481 (eval $ac_link) 2>conftest.er1
23483 grep -v '^ *+' conftest.er1 >conftest.err
23485 cat conftest.err >&5
23486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23487 (exit $ac_status); } &&
23488 { ac_try='test -z "$ac_c_werror_flag"
23489 || test ! -s conftest.err'
23490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23491 (eval $ac_try) 2>&5
23493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23494 (exit $ac_status); }; } &&
23495 { ac_try='test -s conftest$ac_exeext'
23496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23497 (eval $ac_try) 2>&5
23499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23500 (exit $ac_status); }; }; then
23501 ac_cv_lib_m_feenableexcept=yes
23503 echo "$as_me: failed program was:" >&5
23504 sed 's/^/| /' conftest.$ac_ext >&5
23506 ac_cv_lib_m_feenableexcept=no
23508 rm -f conftest.err conftest.$ac_objext \
23509 conftest$ac_exeext conftest.$ac_ext
23510 LIBS=$ac_check_lib_save_LIBS
23512 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
23513 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
23514 if test $ac_cv_lib_m_feenableexcept = yes; then
23515 have_feenableexcept=yes
23516 cat >>confdefs.h <<\_ACEOF
23517 #define HAVE_FEENABLEEXCEPT 1
23523 # Check for SysV fpsetmask
23525 echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
23526 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
23527 if test "${have_fpsetmask+set}" = set; then
23528 echo $ECHO_N "(cached) $ECHO_C" >&6
23531 if test x$gcc_no_link = xyes; then
23532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23534 { (exit 1); exit 1; }; }
23536 cat >conftest.$ac_ext <<_ACEOF
23539 cat confdefs.h >>conftest.$ac_ext
23540 cat >>conftest.$ac_ext <<_ACEOF
23541 /* end confdefs.h. */
23543 #if HAVE_FLOATINGPOINT_H
23544 # include <floatingpoint.h>
23545 #endif /* HAVE_FLOATINGPOINT_H */
23547 # include <ieeefp.h>
23548 #endif /* HAVE_IEEEFP_H */
23557 rm -f conftest.$ac_objext conftest$ac_exeext
23558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23559 (eval $ac_link) 2>conftest.er1
23561 grep -v '^ *+' conftest.er1 >conftest.err
23563 cat conftest.err >&5
23564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23565 (exit $ac_status); } &&
23566 { ac_try='test -z "$ac_c_werror_flag"
23567 || test ! -s conftest.err'
23568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23569 (eval $ac_try) 2>&5
23571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23572 (exit $ac_status); }; } &&
23573 { ac_try='test -s conftest$ac_exeext'
23574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23575 (eval $ac_try) 2>&5
23577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23578 (exit $ac_status); }; }; then
23579 eval "have_fpsetmask=yes"
23581 echo "$as_me: failed program was:" >&5
23582 sed 's/^/| /' conftest.$ac_ext >&5
23584 eval "have_fpsetmask=no"
23586 rm -f conftest.err conftest.$ac_objext \
23587 conftest$ac_exeext conftest.$ac_ext
23590 echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
23591 echo "${ECHO_T}$have_fpsetmask" >&6
23592 if test x"$have_fpsetmask" = xyes; then
23594 cat >>confdefs.h <<\_ACEOF
23595 #define HAVE_FPSETMASK 1
23601 # Check for AIX fp_trap and fp_enable
23602 echo "$as_me:$LINENO: checking for fp_trap" >&5
23603 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
23604 if test "${ac_cv_func_fp_trap+set}" = set; then
23605 echo $ECHO_N "(cached) $ECHO_C" >&6
23607 if test x$gcc_no_link = xyes; then
23608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23610 { (exit 1); exit 1; }; }
23612 cat >conftest.$ac_ext <<_ACEOF
23615 cat confdefs.h >>conftest.$ac_ext
23616 cat >>conftest.$ac_ext <<_ACEOF
23617 /* end confdefs.h. */
23618 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
23619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23620 #define fp_trap innocuous_fp_trap
23622 /* System header to define __stub macros and hopefully few prototypes,
23623 which can conflict with char fp_trap (); below.
23624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23625 <limits.h> exists even on freestanding compilers. */
23628 # include <limits.h>
23630 # include <assert.h>
23635 /* Override any gcc2 internal prototype to avoid an error. */
23640 /* We use char because int might match the return type of a gcc2
23641 builtin and then its argument prototype would still apply. */
23643 /* The GNU C library defines this for functions which it implements
23644 to always fail with ENOSYS. Some functions are actually named
23645 something starting with __ and the normal name is an alias. */
23646 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
23649 char (*f) () = fp_trap;
23658 return f != fp_trap;
23663 rm -f conftest.$ac_objext conftest$ac_exeext
23664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23665 (eval $ac_link) 2>conftest.er1
23667 grep -v '^ *+' conftest.er1 >conftest.err
23669 cat conftest.err >&5
23670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23671 (exit $ac_status); } &&
23672 { ac_try='test -z "$ac_c_werror_flag"
23673 || test ! -s conftest.err'
23674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23675 (eval $ac_try) 2>&5
23677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23678 (exit $ac_status); }; } &&
23679 { ac_try='test -s conftest$ac_exeext'
23680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23681 (eval $ac_try) 2>&5
23683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23684 (exit $ac_status); }; }; then
23685 ac_cv_func_fp_trap=yes
23687 echo "$as_me: failed program was:" >&5
23688 sed 's/^/| /' conftest.$ac_ext >&5
23690 ac_cv_func_fp_trap=no
23692 rm -f conftest.err conftest.$ac_objext \
23693 conftest$ac_exeext conftest.$ac_ext
23695 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
23696 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
23697 if test $ac_cv_func_fp_trap = yes; then
23699 cat >>confdefs.h <<\_ACEOF
23700 #define HAVE_FP_TRAP 1
23705 echo "$as_me:$LINENO: checking for fp_enable" >&5
23706 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
23707 if test "${ac_cv_func_fp_enable+set}" = set; then
23708 echo $ECHO_N "(cached) $ECHO_C" >&6
23710 if test x$gcc_no_link = xyes; then
23711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23713 { (exit 1); exit 1; }; }
23715 cat >conftest.$ac_ext <<_ACEOF
23718 cat confdefs.h >>conftest.$ac_ext
23719 cat >>conftest.$ac_ext <<_ACEOF
23720 /* end confdefs.h. */
23721 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
23722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23723 #define fp_enable innocuous_fp_enable
23725 /* System header to define __stub macros and hopefully few prototypes,
23726 which can conflict with char fp_enable (); below.
23727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23728 <limits.h> exists even on freestanding compilers. */
23731 # include <limits.h>
23733 # include <assert.h>
23738 /* Override any gcc2 internal prototype to avoid an error. */
23743 /* We use char because int might match the return type of a gcc2
23744 builtin and then its argument prototype would still apply. */
23746 /* The GNU C library defines this for functions which it implements
23747 to always fail with ENOSYS. Some functions are actually named
23748 something starting with __ and the normal name is an alias. */
23749 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
23752 char (*f) () = fp_enable;
23761 return f != fp_enable;
23766 rm -f conftest.$ac_objext conftest$ac_exeext
23767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23768 (eval $ac_link) 2>conftest.er1
23770 grep -v '^ *+' conftest.er1 >conftest.err
23772 cat conftest.err >&5
23773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23774 (exit $ac_status); } &&
23775 { ac_try='test -z "$ac_c_werror_flag"
23776 || test ! -s conftest.err'
23777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23778 (eval $ac_try) 2>&5
23780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23781 (exit $ac_status); }; } &&
23782 { ac_try='test -s conftest$ac_exeext'
23783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23784 (eval $ac_try) 2>&5
23786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23787 (exit $ac_status); }; }; then
23788 ac_cv_func_fp_enable=yes
23790 echo "$as_me: failed program was:" >&5
23791 sed 's/^/| /' conftest.$ac_ext >&5
23793 ac_cv_func_fp_enable=no
23795 rm -f conftest.err conftest.$ac_objext \
23796 conftest$ac_exeext conftest.$ac_ext
23798 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
23799 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
23800 if test $ac_cv_func_fp_enable = yes; then
23802 cat >>confdefs.h <<\_ACEOF
23803 #define HAVE_FP_ENABLE 1
23809 # Runs configure.host to set up necessary host-dependent shell variables.
23810 # We then display a message about it, and propagate them through the
23812 . ${srcdir}/configure.host
23813 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
23814 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
23815 FPU_HOST_HEADER=config/${fpu_host}.h
23818 # Attempt to assert that the target is of common type in case we don't
23819 # have C99 integer types at all.
23821 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
23822 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
23823 if test "${target_ilp32+set}" = set; then
23824 echo $ECHO_N "(cached) $ECHO_C" >&6
23827 save_CFLAGS="$CFLAGS"
23829 if test x$gcc_no_link = xyes; then
23830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23832 { (exit 1); exit 1; }; }
23834 cat >conftest.$ac_ext <<_ACEOF
23837 cat confdefs.h >>conftest.$ac_ext
23838 cat >>conftest.$ac_ext <<_ACEOF
23839 /* end confdefs.h. */
23845 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
23848 undefined_function ();
23854 rm -f conftest.$ac_objext conftest$ac_exeext
23855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23856 (eval $ac_link) 2>conftest.er1
23858 grep -v '^ *+' conftest.er1 >conftest.err
23860 cat conftest.err >&5
23861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23862 (exit $ac_status); } &&
23863 { ac_try='test -z "$ac_c_werror_flag"
23864 || test ! -s conftest.err'
23865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23866 (eval $ac_try) 2>&5
23868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23869 (exit $ac_status); }; } &&
23870 { ac_try='test -s conftest$ac_exeext'
23871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23872 (eval $ac_try) 2>&5
23874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23875 (exit $ac_status); }; }; then
23878 echo "$as_me: failed program was:" >&5
23879 sed 's/^/| /' conftest.$ac_ext >&5
23883 rm -f conftest.err conftest.$ac_objext \
23884 conftest$ac_exeext conftest.$ac_ext
23885 CFLAGS="$save_CFLAGS"
23887 echo "$as_me:$LINENO: result: $target_ilp32" >&5
23888 echo "${ECHO_T}$target_ilp32" >&6
23889 if test $target_ilp32 = yes; then
23891 cat >>confdefs.h <<\_ACEOF
23892 #define TARGET_ILP32 1
23898 # Check out attribute support.
23900 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
23901 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
23902 if test "${have_attribute_visibility+set}" = set; then
23903 echo $ECHO_N "(cached) $ECHO_C" >&6
23906 save_CFLAGS="$CFLAGS"
23907 CFLAGS="$CFLAGS -Werror"
23908 cat >conftest.$ac_ext <<_ACEOF
23911 cat confdefs.h >>conftest.$ac_ext
23912 cat >>conftest.$ac_ext <<_ACEOF
23913 /* end confdefs.h. */
23914 void __attribute__((visibility("hidden"))) foo(void) { }
23923 rm -f conftest.$ac_objext
23924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23925 (eval $ac_compile) 2>conftest.er1
23927 grep -v '^ *+' conftest.er1 >conftest.err
23929 cat conftest.err >&5
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); } &&
23932 { ac_try='test -z "$ac_c_werror_flag"
23933 || test ! -s conftest.err'
23934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23935 (eval $ac_try) 2>&5
23937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23938 (exit $ac_status); }; } &&
23939 { ac_try='test -s conftest.$ac_objext'
23940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23941 (eval $ac_try) 2>&5
23943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23944 (exit $ac_status); }; }; then
23945 have_attribute_visibility=yes
23947 echo "$as_me: failed program was:" >&5
23948 sed 's/^/| /' conftest.$ac_ext >&5
23950 have_attribute_visibility=no
23952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23953 CFLAGS="$save_CFLAGS"
23955 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
23956 echo "${ECHO_T}$have_attribute_visibility" >&6
23957 if test $have_attribute_visibility = yes; then
23959 cat >>confdefs.h <<\_ACEOF
23960 #define HAVE_ATTRIBUTE_VISIBILITY 1
23965 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
23966 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
23967 if test "${have_attribute_dllexport+set}" = set; then
23968 echo $ECHO_N "(cached) $ECHO_C" >&6
23971 save_CFLAGS="$CFLAGS"
23972 CFLAGS="$CFLAGS -Werror"
23973 cat >conftest.$ac_ext <<_ACEOF
23976 cat confdefs.h >>conftest.$ac_ext
23977 cat >>conftest.$ac_ext <<_ACEOF
23978 /* end confdefs.h. */
23979 void __attribute__((dllexport)) foo(void) { }
23988 rm -f conftest.$ac_objext
23989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23990 (eval $ac_compile) 2>conftest.er1
23992 grep -v '^ *+' conftest.er1 >conftest.err
23994 cat conftest.err >&5
23995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23996 (exit $ac_status); } &&
23997 { ac_try='test -z "$ac_c_werror_flag"
23998 || test ! -s conftest.err'
23999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24000 (eval $ac_try) 2>&5
24002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24003 (exit $ac_status); }; } &&
24004 { ac_try='test -s conftest.$ac_objext'
24005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24006 (eval $ac_try) 2>&5
24008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24009 (exit $ac_status); }; }; then
24010 have_attribute_dllexport=yes
24012 echo "$as_me: failed program was:" >&5
24013 sed 's/^/| /' conftest.$ac_ext >&5
24015 have_attribute_dllexport=no
24017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24018 CFLAGS="$save_CFLAGS"
24020 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
24021 echo "${ECHO_T}$have_attribute_dllexport" >&6
24022 if test $have_attribute_dllexport = yes; then
24024 cat >>confdefs.h <<\_ACEOF
24025 #define HAVE_ATTRIBUTE_DLLEXPORT 1
24030 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
24031 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
24032 if test "${have_attribute_alias+set}" = set; then
24033 echo $ECHO_N "(cached) $ECHO_C" >&6
24036 if test x$gcc_no_link = xyes; then
24037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24039 { (exit 1); exit 1; }; }
24041 cat >conftest.$ac_ext <<_ACEOF
24044 cat confdefs.h >>conftest.$ac_ext
24045 cat >>conftest.$ac_ext <<_ACEOF
24046 /* end confdefs.h. */
24049 extern void bar(void) __attribute__((alias("foo")));
24058 rm -f conftest.$ac_objext conftest$ac_exeext
24059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24060 (eval $ac_link) 2>conftest.er1
24062 grep -v '^ *+' conftest.er1 >conftest.err
24064 cat conftest.err >&5
24065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24066 (exit $ac_status); } &&
24067 { ac_try='test -z "$ac_c_werror_flag"
24068 || test ! -s conftest.err'
24069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24070 (eval $ac_try) 2>&5
24072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24073 (exit $ac_status); }; } &&
24074 { ac_try='test -s conftest$ac_exeext'
24075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24076 (eval $ac_try) 2>&5
24078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24079 (exit $ac_status); }; }; then
24080 have_attribute_alias=yes
24082 echo "$as_me: failed program was:" >&5
24083 sed 's/^/| /' conftest.$ac_ext >&5
24085 have_attribute_alias=no
24087 rm -f conftest.err conftest.$ac_objext \
24088 conftest$ac_exeext conftest.$ac_ext
24090 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
24091 echo "${ECHO_T}$have_attribute_alias" >&6
24092 if test $have_attribute_alias = yes; then
24094 cat >>confdefs.h <<\_ACEOF
24095 #define HAVE_ATTRIBUTE_ALIAS 1
24100 # Check out sync builtins support.
24102 echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
24103 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
24104 if test "${have_sync_fetch_and_add+set}" = set; then
24105 echo $ECHO_N "(cached) $ECHO_C" >&6
24108 if test x$gcc_no_link = xyes; then
24109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24111 { (exit 1); exit 1; }; }
24113 cat >conftest.$ac_ext <<_ACEOF
24116 cat confdefs.h >>conftest.$ac_ext
24117 cat >>conftest.$ac_ext <<_ACEOF
24118 /* end confdefs.h. */
24124 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
24125 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
24130 rm -f conftest.$ac_objext conftest$ac_exeext
24131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24132 (eval $ac_link) 2>conftest.er1
24134 grep -v '^ *+' conftest.er1 >conftest.err
24136 cat conftest.err >&5
24137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24138 (exit $ac_status); } &&
24139 { ac_try='test -z "$ac_c_werror_flag"
24140 || test ! -s conftest.err'
24141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24142 (eval $ac_try) 2>&5
24144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24145 (exit $ac_status); }; } &&
24146 { ac_try='test -s conftest$ac_exeext'
24147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24148 (eval $ac_try) 2>&5
24150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24151 (exit $ac_status); }; }; then
24152 have_sync_fetch_and_add=yes
24154 echo "$as_me: failed program was:" >&5
24155 sed 's/^/| /' conftest.$ac_ext >&5
24157 have_sync_fetch_and_add=no
24159 rm -f conftest.err conftest.$ac_objext \
24160 conftest$ac_exeext conftest.$ac_ext
24162 echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
24163 echo "${ECHO_T}$have_sync_fetch_and_add" >&6
24164 if test $have_sync_fetch_and_add = yes; then
24166 cat >>confdefs.h <<\_ACEOF
24167 #define HAVE_SYNC_FETCH_AND_ADD 1
24172 # Check out thread support.
24174 echo "$as_me:$LINENO: checking configured target thread model" >&5
24175 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
24176 if test "${target_thread_file+set}" = set; then
24177 echo $ECHO_N "(cached) $ECHO_C" >&6
24180 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
24182 echo "$as_me:$LINENO: result: $target_thread_file" >&5
24183 echo "${ECHO_T}$target_thread_file" >&6
24185 if test $target_thread_file != single; then
24187 cat >>confdefs.h <<\_ACEOF
24188 #define HAVE_GTHR_DEFAULT 1
24193 # Check out #pragma weak.
24195 echo "$as_me:$LINENO: checking whether pragma weak works" >&5
24196 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
24197 if test "${have_pragma_weak+set}" = set; then
24198 echo $ECHO_N "(cached) $ECHO_C" >&6
24201 gfor_save_CFLAGS="$CFLAGS"
24202 CFLAGS="$CFLAGS -Wunknown-pragmas"
24203 cat >conftest.$ac_ext <<_ACEOF
24206 cat confdefs.h >>conftest.$ac_ext
24207 cat >>conftest.$ac_ext <<_ACEOF
24208 /* end confdefs.h. */
24219 rm -f conftest.$ac_objext
24220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24221 (eval $ac_compile) 2>conftest.er1
24223 grep -v '^ *+' conftest.er1 >conftest.err
24225 cat conftest.err >&5
24226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24227 (exit $ac_status); } &&
24228 { ac_try='test -z "$ac_c_werror_flag"
24229 || test ! -s conftest.err'
24230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24231 (eval $ac_try) 2>&5
24233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24234 (exit $ac_status); }; } &&
24235 { ac_try='test -s conftest.$ac_objext'
24236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24237 (eval $ac_try) 2>&5
24239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24240 (exit $ac_status); }; }; then
24241 have_pragma_weak=yes
24243 echo "$as_me: failed program was:" >&5
24244 sed 's/^/| /' conftest.$ac_ext >&5
24246 have_pragma_weak=no
24248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24250 echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
24251 echo "${ECHO_T}$have_pragma_weak" >&6
24252 if test $have_pragma_weak = yes; then
24254 cat >>confdefs.h <<\_ACEOF
24255 #define SUPPORTS_WEAK 1
24260 *-*-darwin* | *-*-hpux* | *-*-cygwin*)
24262 cat >>confdefs.h <<\_ACEOF
24263 #define GTHREAD_USE_WEAK 0
24269 # Various other checks on target
24271 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
24272 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
24273 if test "${have_unlink_open_file+set}" = set; then
24274 echo $ECHO_N "(cached) $ECHO_C" >&6
24277 if test "$cross_compiling" = yes; then
24279 case "${target}" in
24280 *mingw*) have_unlink_open_file=no ;;
24281 *) have_unlink_open_file=yes;;
24284 cat >conftest.$ac_ext <<_ACEOF
24287 cat confdefs.h >>conftest.$ac_ext
24288 cat >>conftest.$ac_ext <<_ACEOF
24289 /* end confdefs.h. */
24293 #include <unistd.h>
24294 #include <sys/stat.h>
24300 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
24303 if (unlink ("testfile") == -1)
24305 write (fd, "This is a test\n", 15);
24308 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
24314 rm -f conftest$ac_exeext
24315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24316 (eval $ac_link) 2>&5
24318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24319 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24321 (eval $ac_try) 2>&5
24323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24324 (exit $ac_status); }; }; then
24325 have_unlink_open_file=yes
24327 echo "$as_me: program exited with status $ac_status" >&5
24328 echo "$as_me: failed program was:" >&5
24329 sed 's/^/| /' conftest.$ac_ext >&5
24331 ( exit $ac_status )
24332 have_unlink_open_file=no
24334 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24337 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
24338 echo "${ECHO_T}$have_unlink_open_file" >&6
24339 if test x"$have_unlink_open_file" = xyes; then
24341 cat >>confdefs.h <<\_ACEOF
24342 #define HAVE_UNLINK_OPEN_FILE 1
24347 # Check whether line terminator is LF or CRLF
24349 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
24350 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
24351 if test "${have_crlf+set}" = set; then
24352 echo $ECHO_N "(cached) $ECHO_C" >&6
24355 if test "$cross_compiling" = yes; then
24357 case "${target}" in
24358 *mingw*) have_crlf=yes ;;
24362 cat >conftest.$ac_ext <<_ACEOF
24365 cat confdefs.h >>conftest.$ac_ext
24366 cat >>conftest.$ac_ext <<_ACEOF
24367 /* end confdefs.h. */
24369 /* This test program should exit with status 0 if system uses a CRLF as
24370 line terminator, and status 1 otherwise.
24371 Since it is used to check for mingw systems, and should return 0 in any
24372 other case, in case of a failure we will not use CRLF. */
24373 #include <sys/stat.h>
24374 #include <stdlib.h>
24386 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
24389 if (write (fd, "\n", 1) < 0)
24394 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
24396 bytes = read (fd, buff, 5);
24397 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
24404 rm -f conftest$ac_exeext
24405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24406 (eval $ac_link) 2>&5
24408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24409 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24411 (eval $ac_try) 2>&5
24413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24414 (exit $ac_status); }; }; then
24417 echo "$as_me: program exited with status $ac_status" >&5
24418 echo "$as_me: failed program was:" >&5
24419 sed 's/^/| /' conftest.$ac_ext >&5
24421 ( exit $ac_status )
24424 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24427 echo "$as_me:$LINENO: result: $have_crlf" >&5
24428 echo "${ECHO_T}$have_crlf" >&6
24429 if test x"$have_crlf" = xyes; then
24431 cat >>confdefs.h <<\_ACEOF
24432 #define HAVE_CRLF 1
24437 cat >confcache <<\_ACEOF
24438 # This file is a shell script that caches the results of configure
24439 # tests run on this system so they can be shared between configure
24440 # scripts and configure runs, see configure's option --config-cache.
24441 # It is not useful on other systems. If it contains results you don't
24442 # want to keep, you may remove or edit it.
24444 # config.status only pays attention to the cache file if you give it
24445 # the --recheck option to rerun configure.
24447 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24448 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24449 # following values.
24453 # The following way of writing the cache mishandles newlines in values,
24454 # but we know of no workaround that is simple, portable, and efficient.
24455 # So, don't put newlines in cache variables' values.
24456 # Ultrix sh set writes to stderr and can't be redirected directly,
24457 # and sets the high bit in the cache file unless we assign to the vars.
24460 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24462 # `set' does not quote correctly, so add quotes (double-quote
24463 # substitution turns \\\\ into \\, and sed turns \\ into \).
24466 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24469 # `set' quotes correctly as required by POSIX, so do not add quotes.
24471 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24478 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24480 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24482 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24483 if test -w $cache_file; then
24484 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24485 cat confcache >$cache_file
24487 echo "not updating unwritable cache $cache_file"
24492 if test ${multilib} = yes; then
24493 multilib_arg="--enable-multilib"
24498 # Write our Makefile.
24499 ac_config_files="$ac_config_files Makefile"
24501 cat >confcache <<\_ACEOF
24502 # This file is a shell script that caches the results of configure
24503 # tests run on this system so they can be shared between configure
24504 # scripts and configure runs, see configure's option --config-cache.
24505 # It is not useful on other systems. If it contains results you don't
24506 # want to keep, you may remove or edit it.
24508 # config.status only pays attention to the cache file if you give it
24509 # the --recheck option to rerun configure.
24511 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24512 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24513 # following values.
24517 # The following way of writing the cache mishandles newlines in values,
24518 # but we know of no workaround that is simple, portable, and efficient.
24519 # So, don't put newlines in cache variables' values.
24520 # Ultrix sh set writes to stderr and can't be redirected directly,
24521 # and sets the high bit in the cache file unless we assign to the vars.
24524 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24526 # `set' does not quote correctly, so add quotes (double-quote
24527 # substitution turns \\\\ into \\, and sed turns \\ into \).
24530 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24533 # `set' quotes correctly as required by POSIX, so do not add quotes.
24535 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24542 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24544 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24546 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24547 if test -w $cache_file; then
24548 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24549 cat confcache >$cache_file
24551 echo "not updating unwritable cache $cache_file"
24556 test "x$prefix" = xNONE && prefix=$ac_default_prefix
24557 # Let make expand exec_prefix.
24558 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24560 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24561 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24562 # trailing colons and then remove the whole line if VPATH becomes empty
24563 # (actually we leave an empty line to preserve line numbers).
24564 if test "x$srcdir" = x.; then
24565 ac_vpsub='/^[ ]*VPATH[ ]*=/{
24566 s/:*\$(srcdir):*/:/;
24567 s/:*\${srcdir}:*/:/;
24569 s/^\([^=]*=[ ]*\):*/\1/;
24575 DEFS=-DHAVE_CONFIG_H
24579 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24580 # 1. Remove the extension, and $U if already installed.
24581 ac_i=`echo "$ac_i" |
24582 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
24584 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
24585 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
24587 LIBOBJS=$ac_libobjs
24589 LTLIBOBJS=$ac_ltlibobjs
24592 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24593 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
24594 Usually this means the macro was only invoked conditionally." >&5
24595 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
24596 Usually this means the macro was only invoked conditionally." >&2;}
24597 { (exit 1); exit 1; }; }
24599 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24600 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
24601 Usually this means the macro was only invoked conditionally." >&5
24602 echo "$as_me: error: conditional \"AMDEP\" was never defined.
24603 Usually this means the macro was only invoked conditionally." >&2;}
24604 { (exit 1); exit 1; }; }
24606 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24607 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
24608 Usually this means the macro was only invoked conditionally." >&5
24609 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
24610 Usually this means the macro was only invoked conditionally." >&2;}
24611 { (exit 1); exit 1; }; }
24613 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
24614 { { echo "$as_me:$LINENO: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
24615 Usually this means the macro was only invoked conditionally." >&5
24616 echo "$as_me: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
24617 Usually this means the macro was only invoked conditionally." >&2;}
24618 { (exit 1); exit 1; }; }
24621 : ${CONFIG_STATUS=./config.status}
24622 ac_clean_files_save=$ac_clean_files
24623 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24624 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24625 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24626 cat >$CONFIG_STATUS <<_ACEOF
24628 # Generated by $as_me.
24629 # Run this file to recreate the current configuration.
24630 # Compiler output produced by configure, useful for debugging
24631 # configure, is in config.log if it exists.
24634 ac_cs_recheck=false
24636 SHELL=\${CONFIG_SHELL-$SHELL}
24639 cat >>$CONFIG_STATUS <<\_ACEOF
24640 ## --------------------- ##
24641 ## M4sh Initialization. ##
24642 ## --------------------- ##
24644 # Be Bourne compatible
24645 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24648 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24649 # is contrary to our usage. Disable this feature.
24650 alias -g '${1+"$@"}'='"$@"'
24651 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24654 DUALCASE=1; export DUALCASE # for MKS sh
24656 # Support unset when possible.
24657 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24664 # Work around bugs in pre-3.0 UWIN ksh.
24665 $as_unset ENV MAIL MAILPATH
24672 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24673 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24674 LC_TELEPHONE LC_TIME
24676 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24677 eval $as_var=C; export $as_var
24683 # Required to use basename.
24684 if expr a : '\(a\)' >/dev/null 2>&1; then
24690 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
24691 as_basename=basename
24697 # Name of the executable.
24698 as_me=`$as_basename "$0" ||
24699 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24700 X"$0" : 'X\(//\)$' \| \
24701 X"$0" : 'X\(/\)$' \| \
24702 . : '\(.\)' 2>/dev/null ||
24704 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
24705 /^X\/\(\/\/\)$/{ s//\1/; q; }
24706 /^X\/\(\/\).*/{ s//\1/; q; }
24710 # PATH needs CR, and LINENO needs CR and PATH.
24711 # Avoid depending upon Character Ranges.
24712 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24713 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24714 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24715 as_cr_digits='0123456789'
24716 as_cr_alnum=$as_cr_Letters$as_cr_digits
24718 # The user is always right.
24719 if test "${PATH_SEPARATOR+set}" != set; then
24720 echo "#! /bin/sh" >conf$$.sh
24721 echo "exit 0" >>conf$$.sh
24723 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
24732 as_lineno_1=$LINENO
24733 as_lineno_2=$LINENO
24734 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24735 test "x$as_lineno_1" != "x$as_lineno_2" &&
24736 test "x$as_lineno_3" = "x$as_lineno_2" || {
24737 # Find who we are. Look in the path if we contain no path at all
24740 *[\\/]* ) as_myself=$0 ;;
24741 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24742 for as_dir in $PATH
24745 test -z "$as_dir" && as_dir=.
24746 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24751 # We did not find ourselves, most probably we were run as `sh COMMAND'
24752 # in which case we are not to be found in the path.
24753 if test "x$as_myself" = x; then
24756 if test ! -f "$as_myself"; then
24757 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
24758 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
24759 { (exit 1); exit 1; }; }
24761 case $CONFIG_SHELL in
24763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24764 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
24767 test -z "$as_dir" && as_dir=.
24768 for as_base in sh bash ksh sh5; do
24771 if ("$as_dir/$as_base" -c '
24772 as_lineno_1=$LINENO
24773 as_lineno_2=$LINENO
24774 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24775 test "x$as_lineno_1" != "x$as_lineno_2" &&
24776 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
24777 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
24778 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
24779 CONFIG_SHELL=$as_dir/$as_base
24780 export CONFIG_SHELL
24781 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
24789 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24790 # uniformly replaced by the line number. The first 'sed' inserts a
24791 # line-number line before each line; the second 'sed' does the real
24792 # work. The second script uses 'N' to pair each line-number line
24793 # with the numbered line, and appends trailing '-' during
24794 # substitution so that $LINENO is not a special case at line end.
24795 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24796 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
24797 sed '=' <$as_myself |
24802 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
24805 s,^['$as_cr_digits']*\n,,
24806 ' >$as_me.lineno &&
24807 chmod +x $as_me.lineno ||
24808 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
24809 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
24810 { (exit 1); exit 1; }; }
24812 # Don't try to exec as it changes $[0], causing all sort of problems
24813 # (the dirname of $[0] is not the place where we might find the
24814 # original and so on. Autoconf is especially sensible to this).
24816 # Exit status is that of the last command.
24821 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
24822 *c*,-n*) ECHO_N= ECHO_C='
24824 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
24825 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
24828 if expr a : '\(a\)' >/dev/null 2>&1; then
24834 rm -f conf$$ conf$$.exe conf$$.file
24836 if ln -s conf$$.file conf$$ 2>/dev/null; then
24837 # We could just check for DJGPP; but this test a) works b) is more generic
24838 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
24839 if test -f conf$$.exe; then
24840 # Don't use ln at all; we don't have any links
24845 elif ln conf$$.file conf$$ 2>/dev/null; then
24850 rm -f conf$$ conf$$.exe conf$$.file
24852 if mkdir -p . 2>/dev/null; then
24855 test -d ./-p && rmdir ./-p
24859 as_executable_p="test -f"
24861 # Sed expression to map a string onto a valid CPP name.
24862 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24864 # Sed expression to map a string onto a valid variable name.
24865 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24869 # We need space, tab and new line, in precisely that order.
24879 # Open the log real soon, to keep \$[0] and so on meaningful, and to
24880 # report actual input values of CONFIG_FILES etc. instead of their
24881 # values after options handling. Logging --version etc. is OK.
24885 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24886 ## Running $as_me. ##
24891 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
24892 generated by GNU Autoconf 2.59. Invocation command line was
24894 CONFIG_FILES = $CONFIG_FILES
24895 CONFIG_HEADERS = $CONFIG_HEADERS
24896 CONFIG_LINKS = $CONFIG_LINKS
24897 CONFIG_COMMANDS = $CONFIG_COMMANDS
24901 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
24905 # Files that config.status was made for.
24906 if test -n "$ac_config_files"; then
24907 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
24910 if test -n "$ac_config_headers"; then
24911 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
24914 if test -n "$ac_config_links"; then
24915 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
24918 if test -n "$ac_config_commands"; then
24919 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
24922 cat >>$CONFIG_STATUS <<\_ACEOF
24925 \`$as_me' instantiates files from templates according to the
24926 current configuration.
24928 Usage: $0 [OPTIONS] [FILE]...
24930 -h, --help print this help, then exit
24931 -V, --version print version number, then exit
24932 -q, --quiet do not print progress messages
24933 -d, --debug don't remove temporary files
24934 --recheck update $as_me by reconfiguring in the same conditions
24935 --file=FILE[:TEMPLATE]
24936 instantiate the configuration file FILE
24937 --header=FILE[:TEMPLATE]
24938 instantiate the configuration header FILE
24940 Configuration files:
24943 Configuration headers:
24946 Configuration commands:
24949 Report bugs to <bug-autoconf@gnu.org>."
24952 cat >>$CONFIG_STATUS <<_ACEOF
24954 GNU Fortran Runtime Library config.status 0.3
24955 configured by $0, generated by GNU Autoconf 2.59,
24956 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
24958 Copyright (C) 2003 Free Software Foundation, Inc.
24959 This config.status script is free software; the Free Software Foundation
24960 gives unlimited permission to copy, distribute and modify it."
24965 cat >>$CONFIG_STATUS <<\_ACEOF
24966 # If no file are specified by the user, then we need to provide default
24967 # value. By we need to know if files were specified by the user.
24973 ac_option=`expr "x$1" : 'x\([^=]*\)='`
24974 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
24982 *) # This is not an option, so the user has probably given explicit
24985 ac_need_defaults=false;;
24989 # Handling of the options.
24991 cat >>$CONFIG_STATUS <<\_ACEOF
24992 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24994 --version | --vers* | -V )
24995 echo "$ac_cs_version"; exit 0 ;;
24997 # Conflict between --help and --header
24998 { { echo "$as_me:$LINENO: error: ambiguous option: $1
24999 Try \`$0 --help' for more information." >&5
25000 echo "$as_me: error: ambiguous option: $1
25001 Try \`$0 --help' for more information." >&2;}
25002 { (exit 1); exit 1; }; };;
25003 --help | --hel | -h )
25004 echo "$ac_cs_usage"; exit 0 ;;
25005 --debug | --d* | -d )
25007 --file | --fil | --fi | --f )
25009 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
25010 ac_need_defaults=false;;
25011 --header | --heade | --head | --hea )
25013 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
25014 ac_need_defaults=false;;
25015 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25016 | -silent | --silent | --silen | --sile | --sil | --si | --s)
25019 # This is an error.
25020 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
25021 Try \`$0 --help' for more information." >&5
25022 echo "$as_me: error: unrecognized option: $1
25023 Try \`$0 --help' for more information." >&2;}
25024 { (exit 1); exit 1; }; } ;;
25026 *) ac_config_targets="$ac_config_targets $1" ;;
25032 ac_configure_extra_args=
25034 if $ac_cs_silent; then
25036 ac_configure_extra_args="$ac_configure_extra_args --silent"
25040 cat >>$CONFIG_STATUS <<_ACEOF
25041 if \$ac_cs_recheck; then
25042 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
25043 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25048 cat >>$CONFIG_STATUS <<_ACEOF
25050 # INIT-COMMANDS section.
25057 with_multisubdir="$with_multisubdir"
25058 with_multisrctop="$with_multisrctop"
25059 with_target_subdir="$with_target_subdir"
25060 ac_configure_args="${multilib_arg} ${ac_configure_args}"
25061 multi_basedir="$multi_basedir"
25062 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
25064 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25068 acx_cv_header_stdint="$acx_cv_header_stdint"
25069 acx_cv_type_int8_t="$acx_cv_type_int8_t"
25070 acx_cv_type_int16_t="$acx_cv_type_int16_t"
25071 acx_cv_type_int32_t="$acx_cv_type_int32_t"
25072 acx_cv_type_int64_t="$acx_cv_type_int64_t"
25073 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
25074 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
25075 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
25076 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
25077 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
25078 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
25079 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
25080 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
25081 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
25088 cat >>$CONFIG_STATUS <<\_ACEOF
25089 for ac_config_target in $ac_config_targets
25091 case "$ac_config_target" in
25092 # Handling of arguments.
25093 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
25094 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
25095 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
25096 "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
25097 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
25098 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25099 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25100 { (exit 1); exit 1; }; };;
25104 # If the user did not use the arguments to specify the items to instantiate,
25105 # then the envvar interface is used. Set only those that are not.
25106 # We use the long form for the default assignment because of an extremely
25107 # bizarre bug on SunOS 4.1.3.
25108 if $ac_need_defaults; then
25109 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
25110 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
25111 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
25114 # Have a temporary directory for convenience. Make it in the build tree
25115 # simply because there is no reason to put it here, and in addition,
25116 # creating and moving files from /tmp can sometimes cause problems.
25117 # Create a temporary directory, and hook for its removal unless debugging.
25120 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
25121 trap '{ (exit 1); exit 1; }' 1 2 13 15
25124 # Create a (secure) tmp directory for tmp files.
25127 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
25128 test -n "$tmp" && test -d "$tmp"
25131 tmp=./confstat$$-$RANDOM
25132 (umask 077 && mkdir $tmp)
25135 echo "$me: cannot create a temporary directory in ." >&2
25136 { (exit 1); exit 1; }
25141 cat >>$CONFIG_STATUS <<_ACEOF
25144 # CONFIG_FILES section.
25147 # No need to generate the scripts if there are no CONFIG_FILES.
25148 # This happens for instance when ./config.status config.h
25149 if test -n "\$CONFIG_FILES"; then
25150 # Protect against being on the right side of a sed subst in config.status.
25151 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
25152 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
25153 s,@SHELL@,$SHELL,;t t
25154 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
25155 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
25156 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
25157 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
25158 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
25159 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
25160 s,@exec_prefix@,$exec_prefix,;t t
25161 s,@prefix@,$prefix,;t t
25162 s,@program_transform_name@,$program_transform_name,;t t
25163 s,@bindir@,$bindir,;t t
25164 s,@sbindir@,$sbindir,;t t
25165 s,@libexecdir@,$libexecdir,;t t
25166 s,@datadir@,$datadir,;t t
25167 s,@sysconfdir@,$sysconfdir,;t t
25168 s,@sharedstatedir@,$sharedstatedir,;t t
25169 s,@localstatedir@,$localstatedir,;t t
25170 s,@libdir@,$libdir,;t t
25171 s,@includedir@,$includedir,;t t
25172 s,@oldincludedir@,$oldincludedir,;t t
25173 s,@infodir@,$infodir,;t t
25174 s,@mandir@,$mandir,;t t
25175 s,@build_alias@,$build_alias,;t t
25176 s,@host_alias@,$host_alias,;t t
25177 s,@target_alias@,$target_alias,;t t
25178 s,@DEFS@,$DEFS,;t t
25179 s,@ECHO_C@,$ECHO_C,;t t
25180 s,@ECHO_N@,$ECHO_N,;t t
25181 s,@ECHO_T@,$ECHO_T,;t t
25182 s,@LIBS@,$LIBS,;t t
25183 s,@build@,$build,;t t
25184 s,@build_cpu@,$build_cpu,;t t
25185 s,@build_vendor@,$build_vendor,;t t
25186 s,@build_os@,$build_os,;t t
25187 s,@build_libsubdir@,$build_libsubdir,;t t
25188 s,@build_subdir@,$build_subdir,;t t
25189 s,@host_subdir@,$host_subdir,;t t
25190 s,@target_subdir@,$target_subdir,;t t
25191 s,@host@,$host,;t t
25192 s,@host_cpu@,$host_cpu,;t t
25193 s,@host_vendor@,$host_vendor,;t t
25194 s,@host_os@,$host_os,;t t
25195 s,@target@,$target,;t t
25196 s,@target_cpu@,$target_cpu,;t t
25197 s,@target_vendor@,$target_vendor,;t t
25198 s,@target_os@,$target_os,;t t
25199 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
25200 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
25201 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
25202 s,@CYGPATH_W@,$CYGPATH_W,;t t
25203 s,@PACKAGE@,$PACKAGE,;t t
25204 s,@VERSION@,$VERSION,;t t
25205 s,@ACLOCAL@,$ACLOCAL,;t t
25206 s,@AUTOCONF@,$AUTOCONF,;t t
25207 s,@AUTOMAKE@,$AUTOMAKE,;t t
25208 s,@AUTOHEADER@,$AUTOHEADER,;t t
25209 s,@MAKEINFO@,$MAKEINFO,;t t
25210 s,@install_sh@,$install_sh,;t t
25211 s,@STRIP@,$STRIP,;t t
25212 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
25213 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
25214 s,@mkdir_p@,$mkdir_p,;t t
25216 s,@SET_MAKE@,$SET_MAKE,;t t
25217 s,@am__leading_dot@,$am__leading_dot,;t t
25218 s,@AMTAR@,$AMTAR,;t t
25219 s,@am__tar@,$am__tar,;t t
25220 s,@am__untar@,$am__untar,;t t
25221 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
25222 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
25223 s,@MAINT@,$MAINT,;t t
25224 s,@multi_basedir@,$multi_basedir,;t t
25225 s,@toolexecdir@,$toolexecdir,;t t
25226 s,@toolexeclibdir@,$toolexeclibdir,;t t
25228 s,@ac_ct_CC@,$ac_ct_CC,;t t
25229 s,@EXEEXT@,$EXEEXT,;t t
25230 s,@OBJEXT@,$OBJEXT,;t t
25231 s,@DEPDIR@,$DEPDIR,;t t
25232 s,@am__include@,$am__include,;t t
25233 s,@am__quote@,$am__quote,;t t
25234 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
25235 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
25236 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
25237 s,@CCDEPMODE@,$CCDEPMODE,;t t
25238 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
25239 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
25240 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
25241 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
25242 s,@LIBGFOR_USE_SYMVER_TRUE@,$LIBGFOR_USE_SYMVER_TRUE,;t t
25243 s,@LIBGFOR_USE_SYMVER_FALSE@,$LIBGFOR_USE_SYMVER_FALSE,;t t
25245 s,@ac_ct_AS@,$ac_ct_AS,;t t
25247 s,@ac_ct_AR@,$ac_ct_AR,;t t
25248 s,@RANLIB@,$RANLIB,;t t
25249 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
25250 s,@LN_S@,$LN_S,;t t
25251 s,@LIBTOOL@,$LIBTOOL,;t t
25252 s,@enable_shared@,$enable_shared,;t t
25253 s,@enable_static@,$enable_static,;t t
25255 s,@FCFLAGS@,$FCFLAGS,;t t
25256 s,@LDFLAGS@,$LDFLAGS,;t t
25257 s,@ac_ct_FC@,$ac_ct_FC,;t t
25258 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
25260 s,@CPPFLAGS@,$CPPFLAGS,;t t
25261 s,@EGREP@,$EGREP,;t t
25262 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
25263 s,@LIBOBJS@,$LIBOBJS,;t t
25264 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
25269 cat >>$CONFIG_STATUS <<\_ACEOF
25270 # Split the substitutions into bite-sized pieces for seds with
25271 # small command number limits, like on Digital OSF/1 and HP-UX.
25272 ac_max_sed_lines=48
25273 ac_sed_frag=1 # Number of current file.
25274 ac_beg=1 # First line for current file.
25275 ac_end=$ac_max_sed_lines # Line after last line for current file.
25278 while $ac_more_lines; do
25279 if test $ac_beg -gt 1; then
25280 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
25282 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
25284 if test ! -s $tmp/subs.frag; then
25285 ac_more_lines=false
25287 # The purpose of the label and of the branching condition is to
25288 # speed up the sed processing (if there are no `@' at all, there
25289 # is no need to browse any of the substitutions).
25290 # These are the two extra sed commands mentioned above.
25292 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
25293 if test -z "$ac_sed_cmds"; then
25294 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
25296 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
25298 ac_sed_frag=`expr $ac_sed_frag + 1`
25300 ac_end=`expr $ac_end + $ac_max_sed_lines`
25303 if test -z "$ac_sed_cmds"; then
25306 fi # test -n "$CONFIG_FILES"
25309 cat >>$CONFIG_STATUS <<\_ACEOF
25310 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
25311 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25313 - | *:- | *:-:* ) # input from stdin
25315 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25316 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25317 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25318 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25319 * ) ac_file_in=$ac_file.in ;;
25322 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
25323 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
25324 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25325 X"$ac_file" : 'X\(//\)[^/]' \| \
25326 X"$ac_file" : 'X\(//\)$' \| \
25327 X"$ac_file" : 'X\(/\)' \| \
25328 . : '\(.\)' 2>/dev/null ||
25330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25331 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25332 /^X\(\/\/\)$/{ s//\1/; q; }
25333 /^X\(\/\).*/{ s//\1/; q; }
25335 { if $as_mkdir_p; then
25340 while test ! -d "$as_dir"; do
25341 as_dirs="$as_dir $as_dirs"
25342 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25344 X"$as_dir" : 'X\(//\)[^/]' \| \
25345 X"$as_dir" : 'X\(//\)$' \| \
25346 X"$as_dir" : 'X\(/\)' \| \
25347 . : '\(.\)' 2>/dev/null ||
25349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25350 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25351 /^X\(\/\/\)$/{ s//\1/; q; }
25352 /^X\(\/\).*/{ s//\1/; q; }
25355 test ! -n "$as_dirs" || mkdir $as_dirs
25356 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25357 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25358 { (exit 1); exit 1; }; }; }
25362 if test "$ac_dir" != .; then
25363 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25364 # A "../" for each directory in $ac_dir_suffix.
25365 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25367 ac_dir_suffix= ac_top_builddir=
25371 .) # No --srcdir option. We are building in place.
25373 if test -z "$ac_top_builddir"; then
25376 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
25378 [\\/]* | ?:[\\/]* ) # Absolute path.
25379 ac_srcdir=$srcdir$ac_dir_suffix;
25380 ac_top_srcdir=$srcdir ;;
25381 *) # Relative path.
25382 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
25383 ac_top_srcdir=$ac_top_builddir$srcdir ;;
25386 # Do not use `cd foo && pwd` to compute absolute paths, because
25387 # the directories may not exist.
25389 .) ac_abs_builddir="$ac_dir";;
25392 .) ac_abs_builddir=`pwd`;;
25393 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
25394 *) ac_abs_builddir=`pwd`/"$ac_dir";;
25397 case $ac_abs_builddir in
25398 .) ac_abs_top_builddir=${ac_top_builddir}.;;
25400 case ${ac_top_builddir}. in
25401 .) ac_abs_top_builddir=$ac_abs_builddir;;
25402 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
25403 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
25406 case $ac_abs_builddir in
25407 .) ac_abs_srcdir=$ac_srcdir;;
25410 .) ac_abs_srcdir=$ac_abs_builddir;;
25411 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
25412 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
25415 case $ac_abs_builddir in
25416 .) ac_abs_top_srcdir=$ac_top_srcdir;;
25418 case $ac_top_srcdir in
25419 .) ac_abs_top_srcdir=$ac_abs_builddir;;
25420 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
25421 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
25427 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25428 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
25431 if test x"$ac_file" != x-; then
25432 { echo "$as_me:$LINENO: creating $ac_file" >&5
25433 echo "$as_me: creating $ac_file" >&6;}
25436 # Let's still pretend it is `configure' which instantiates (i.e., don't
25437 # use $as_me), people would be surprised to read:
25438 # /* config.h. Generated by config.status. */
25439 if test x"$ac_file" = x-; then
25442 configure_input="$ac_file. "
25444 configure_input=$configure_input"Generated from `echo $ac_file_in |
25445 sed 's,.*/,,'` by configure."
25447 # First look for the input files in the build tree, otherwise in the
25449 ac_file_inputs=`IFS=:
25450 for f in $ac_file_in; do
25452 -) echo $tmp/stdin ;;
25454 # Absolute (can't be DOS-style, as IFS=:)
25455 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25456 echo "$as_me: error: cannot find input file: $f" >&2;}
25457 { (exit 1); exit 1; }; }
25460 if test -f "$f"; then
25463 elif test -f "$srcdir/$f"; then
25468 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25469 echo "$as_me: error: cannot find input file: $f" >&2;}
25470 { (exit 1); exit 1; }; }
25473 done` || { (exit 1); exit 1; }
25475 cat >>$CONFIG_STATUS <<_ACEOF
25479 cat >>$CONFIG_STATUS <<\_ACEOF
25481 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25482 s,@configure_input@,$configure_input,;t t
25483 s,@srcdir@,$ac_srcdir,;t t
25484 s,@abs_srcdir@,$ac_abs_srcdir,;t t
25485 s,@top_srcdir@,$ac_top_srcdir,;t t
25486 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
25487 s,@builddir@,$ac_builddir,;t t
25488 s,@abs_builddir@,$ac_abs_builddir,;t t
25489 s,@top_builddir@,$ac_top_builddir,;t t
25490 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
25491 s,@INSTALL@,$ac_INSTALL,;t t
25492 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
25494 if test x"$ac_file" != x-; then
25495 mv $tmp/out $ac_file
25503 cat >>$CONFIG_STATUS <<\_ACEOF
25506 # CONFIG_HEADER section.
25509 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
25510 # NAME is the cpp macro being defined and VALUE is the value it is being given.
25512 # ac_d sets the value in "#define NAME VALUE" lines.
25513 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
25514 ac_dB='[ ].*$,\1#\2'
25517 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
25518 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
25519 ac_uB='$,\1#\2define\3'
25523 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
25524 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25526 - | *:- | *:-:* ) # input from stdin
25528 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25529 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25530 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25531 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25532 * ) ac_file_in=$ac_file.in ;;
25535 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
25536 echo "$as_me: creating $ac_file" >&6;}
25538 # First look for the input files in the build tree, otherwise in the
25540 ac_file_inputs=`IFS=:
25541 for f in $ac_file_in; do
25543 -) echo $tmp/stdin ;;
25545 # Absolute (can't be DOS-style, as IFS=:)
25546 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25547 echo "$as_me: error: cannot find input file: $f" >&2;}
25548 { (exit 1); exit 1; }; }
25549 # Do quote $f, to prevent DOS paths from being IFS'd.
25552 if test -f "$f"; then
25555 elif test -f "$srcdir/$f"; then
25560 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25561 echo "$as_me: error: cannot find input file: $f" >&2;}
25562 { (exit 1); exit 1; }; }
25565 done` || { (exit 1); exit 1; }
25566 # Remove the trailing spaces.
25567 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
25571 # Transform confdefs.h into two sed scripts, `conftest.defines' and
25572 # `conftest.undefs', that substitutes the proper values into
25573 # config.h.in to produce config.h. The first handles `#define'
25574 # templates, and the second `#undef' templates.
25575 # And first: Protect against being on the right side of a sed subst in
25576 # config.status. Protect against being in an unquoted here document
25577 # in config.status.
25578 rm -f conftest.defines conftest.undefs
25579 # Using a here document instead of a string reduces the quoting nightmare.
25580 # Putting comments in sed scripts is not portable.
25582 # `end' is used to avoid that the second main sed command (meant for
25583 # 0-ary CPP macros) applies to n-ary macro definitions.
25584 # See the Autoconf documentation for `clear'.
25585 cat >confdef2sed.sed <<\_ACEOF
25590 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
25592 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
25595 # If some macros were called several times there might be several times
25596 # the same #defines, which is useless. Nevertheless, we may not want to
25597 # sort them, since we want the *last* AC-DEFINE to be honored.
25598 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
25599 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
25600 rm -f confdef2sed.sed
25602 # This sed command replaces #undef with comments. This is necessary, for
25603 # example, in the case of _POSIX_SOURCE, which is predefined and required
25604 # on some systems where configure will not decide to define it.
25605 cat >>conftest.undefs <<\_ACEOF
25606 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
25609 # Break up conftest.defines because some shells have a limit on the size
25610 # of here documents, and old seds have small limits too (100 cmds).
25611 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
25612 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
25613 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
25614 echo ' :' >>$CONFIG_STATUS
25615 rm -f conftest.tail
25616 while grep . conftest.defines >/dev/null
25618 # Write a limited-size here document to $tmp/defines.sed.
25619 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
25620 # Speed up: don't consider the non `#define' lines.
25621 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
25622 # Work around the forget-to-reset-the-flag bug.
25623 echo 't clr' >>$CONFIG_STATUS
25624 echo ': clr' >>$CONFIG_STATUS
25625 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
25627 sed -f $tmp/defines.sed $tmp/in >$tmp/out
25629 mv $tmp/out $tmp/in
25631 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
25632 rm -f conftest.defines
25633 mv conftest.tail conftest.defines
25635 rm -f conftest.defines
25636 echo ' fi # grep' >>$CONFIG_STATUS
25637 echo >>$CONFIG_STATUS
25639 # Break up conftest.undefs because some shells have a limit on the size
25640 # of here documents, and old seds have small limits too (100 cmds).
25641 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
25642 rm -f conftest.tail
25643 while grep . conftest.undefs >/dev/null
25645 # Write a limited-size here document to $tmp/undefs.sed.
25646 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
25647 # Speed up: don't consider the non `#undef'
25648 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
25649 # Work around the forget-to-reset-the-flag bug.
25650 echo 't clr' >>$CONFIG_STATUS
25651 echo ': clr' >>$CONFIG_STATUS
25652 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
25654 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
25656 mv $tmp/out $tmp/in
25658 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
25659 rm -f conftest.undefs
25660 mv conftest.tail conftest.undefs
25662 rm -f conftest.undefs
25664 cat >>$CONFIG_STATUS <<\_ACEOF
25665 # Let's still pretend it is `configure' which instantiates (i.e., don't
25666 # use $as_me), people would be surprised to read:
25667 # /* config.h. Generated by config.status. */
25668 if test x"$ac_file" = x-; then
25669 echo "/* Generated by configure. */" >$tmp/config.h
25671 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
25673 cat $tmp/in >>$tmp/config.h
25675 if test x"$ac_file" != x-; then
25676 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
25677 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25678 echo "$as_me: $ac_file is unchanged" >&6;}
25680 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
25681 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25682 X"$ac_file" : 'X\(//\)[^/]' \| \
25683 X"$ac_file" : 'X\(//\)$' \| \
25684 X"$ac_file" : 'X\(/\)' \| \
25685 . : '\(.\)' 2>/dev/null ||
25687 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25688 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25689 /^X\(\/\/\)$/{ s//\1/; q; }
25690 /^X\(\/\).*/{ s//\1/; q; }
25692 { if $as_mkdir_p; then
25697 while test ! -d "$as_dir"; do
25698 as_dirs="$as_dir $as_dirs"
25699 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25700 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25701 X"$as_dir" : 'X\(//\)[^/]' \| \
25702 X"$as_dir" : 'X\(//\)$' \| \
25703 X"$as_dir" : 'X\(/\)' \| \
25704 . : '\(.\)' 2>/dev/null ||
25706 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25707 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25708 /^X\(\/\/\)$/{ s//\1/; q; }
25709 /^X\(\/\).*/{ s//\1/; q; }
25712 test ! -n "$as_dirs" || mkdir $as_dirs
25713 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25714 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25715 { (exit 1); exit 1; }; }; }
25718 mv $tmp/config.h $ac_file
25722 rm -f $tmp/config.h
25724 # Compute $ac_file's index in $config_headers.
25726 for _am_header in $config_headers :; do
25727 case $_am_header in
25728 $ac_file | $ac_file:* )
25731 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
25734 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
25735 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25736 X$ac_file : 'X\(//\)[^/]' \| \
25737 X$ac_file : 'X\(//\)$' \| \
25738 X$ac_file : 'X\(/\)' \| \
25739 . : '\(.\)' 2>/dev/null ||
25741 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25742 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25743 /^X\(\/\/\)$/{ s//\1/; q; }
25744 /^X\(\/\).*/{ s//\1/; q; }
25745 s/.*/./; q'`/stamp-h$_am_stamp_count
25748 cat >>$CONFIG_STATUS <<\_ACEOF
25751 # CONFIG_COMMANDS section.
25753 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
25754 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
25755 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
25756 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
25757 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25758 X"$ac_dest" : 'X\(//\)[^/]' \| \
25759 X"$ac_dest" : 'X\(//\)$' \| \
25760 X"$ac_dest" : 'X\(/\)' \| \
25761 . : '\(.\)' 2>/dev/null ||
25763 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25764 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25765 /^X\(\/\/\)$/{ s//\1/; q; }
25766 /^X\(\/\).*/{ s//\1/; q; }
25768 { if $as_mkdir_p; then
25773 while test ! -d "$as_dir"; do
25774 as_dirs="$as_dir $as_dirs"
25775 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25776 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25777 X"$as_dir" : 'X\(//\)[^/]' \| \
25778 X"$as_dir" : 'X\(//\)$' \| \
25779 X"$as_dir" : 'X\(/\)' \| \
25780 . : '\(.\)' 2>/dev/null ||
25782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25783 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25784 /^X\(\/\/\)$/{ s//\1/; q; }
25785 /^X\(\/\).*/{ s//\1/; q; }
25788 test ! -n "$as_dirs" || mkdir $as_dirs
25789 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25790 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25791 { (exit 1); exit 1; }; }; }
25795 if test "$ac_dir" != .; then
25796 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25797 # A "../" for each directory in $ac_dir_suffix.
25798 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25800 ac_dir_suffix= ac_top_builddir=
25804 .) # No --srcdir option. We are building in place.
25806 if test -z "$ac_top_builddir"; then
25809 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
25811 [\\/]* | ?:[\\/]* ) # Absolute path.
25812 ac_srcdir=$srcdir$ac_dir_suffix;
25813 ac_top_srcdir=$srcdir ;;
25814 *) # Relative path.
25815 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
25816 ac_top_srcdir=$ac_top_builddir$srcdir ;;
25819 # Do not use `cd foo && pwd` to compute absolute paths, because
25820 # the directories may not exist.
25822 .) ac_abs_builddir="$ac_dir";;
25825 .) ac_abs_builddir=`pwd`;;
25826 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
25827 *) ac_abs_builddir=`pwd`/"$ac_dir";;
25830 case $ac_abs_builddir in
25831 .) ac_abs_top_builddir=${ac_top_builddir}.;;
25833 case ${ac_top_builddir}. in
25834 .) ac_abs_top_builddir=$ac_abs_builddir;;
25835 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
25836 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
25839 case $ac_abs_builddir in
25840 .) ac_abs_srcdir=$ac_srcdir;;
25843 .) ac_abs_srcdir=$ac_abs_builddir;;
25844 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
25845 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
25848 case $ac_abs_builddir in
25849 .) ac_abs_top_srcdir=$ac_top_srcdir;;
25851 case $ac_top_srcdir in
25852 .) ac_abs_top_srcdir=$ac_abs_builddir;;
25853 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
25854 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
25859 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
25860 echo "$as_me: executing $ac_dest commands" >&6;}
25863 # Only add multilib support code if we just rebuilt the top-level
25865 case " $CONFIG_FILES " in
25867 ac_file=Makefile . ${multi_basedir}/config-ml.in
25870 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
25871 # Strip MF so we end up with the name of the file.
25872 mf=`echo "$mf" | sed -e 's/:.*$//'`
25873 # Check whether this is an Automake generated Makefile or not.
25874 # We used to match only the files named `Makefile.in', but
25875 # some people rename them; so instead we look at the file content.
25876 # Grep'ing the first line is not enough: some people post-process
25877 # each Makefile.in and add a new line on top of each file to say so.
25878 # So let's grep whole file.
25879 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
25880 dirpart=`(dirname "$mf") 2>/dev/null ||
25881 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25882 X"$mf" : 'X\(//\)[^/]' \| \
25883 X"$mf" : 'X\(//\)$' \| \
25884 X"$mf" : 'X\(/\)' \| \
25885 . : '\(.\)' 2>/dev/null ||
25887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25888 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25889 /^X\(\/\/\)$/{ s//\1/; q; }
25890 /^X\(\/\).*/{ s//\1/; q; }
25895 # Extract the definition of DEPDIR, am__include, and am__quote
25896 # from the Makefile without running `make'.
25897 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
25898 test -z "$DEPDIR" && continue
25899 am__include=`sed -n 's/^am__include = //p' < "$mf"`
25900 test -z "am__include" && continue
25901 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
25902 # When using ansi2knr, U may be empty or an underscore; expand it
25903 U=`sed -n 's/^U = //p' < "$mf"`
25904 # Find all dependency output files, they are included files with
25905 # $(DEPDIR) in their names. We invoke sed twice because it is the
25906 # simplest approach to changing $(DEPDIR) to its actual value in the
25908 for file in `sed -n "
25909 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
25910 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
25911 # Make sure the directory exists.
25912 test -f "$dirpart/$file" && continue
25913 fdir=`(dirname "$file") 2>/dev/null ||
25914 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25915 X"$file" : 'X\(//\)[^/]' \| \
25916 X"$file" : 'X\(//\)$' \| \
25917 X"$file" : 'X\(/\)' \| \
25918 . : '\(.\)' 2>/dev/null ||
25920 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25921 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25922 /^X\(\/\/\)$/{ s//\1/; q; }
25923 /^X\(\/\).*/{ s//\1/; q; }
25925 { if $as_mkdir_p; then
25926 mkdir -p $dirpart/$fdir
25928 as_dir=$dirpart/$fdir
25930 while test ! -d "$as_dir"; do
25931 as_dirs="$as_dir $as_dirs"
25932 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25933 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25934 X"$as_dir" : 'X\(//\)[^/]' \| \
25935 X"$as_dir" : 'X\(//\)$' \| \
25936 X"$as_dir" : 'X\(/\)' \| \
25937 . : '\(.\)' 2>/dev/null ||
25939 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25940 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25941 /^X\(\/\/\)$/{ s//\1/; q; }
25942 /^X\(\/\).*/{ s//\1/; q; }
25945 test ! -n "$as_dirs" || mkdir $as_dirs
25946 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
25947 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
25948 { (exit 1); exit 1; }; }; }
25950 # echo "creating $dirpart/$file"
25951 echo '# dummy' > "$dirpart/$file"
25956 if test "$GCC" = yes; then
25957 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
25959 echo "/* generated for $CC */" > tmp-stdint.h
25962 sed 's/^ *//' >> tmp-stdint.h <<EOF
25964 #ifndef GCC_GENERATED_STDINT_H
25965 #define GCC_GENERATED_STDINT_H 1
25967 #include <sys/types.h>
25970 if test "$acx_cv_header_stdint" != stdint.h; then
25971 echo "#include <stddef.h>" >> tmp-stdint.h
25973 if test "$acx_cv_header_stdint" != stddef.h; then
25974 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
25977 sed 's/^ *//' >> tmp-stdint.h <<EOF
25978 /* glibc uses these symbols as guards to prevent redefinitions. */
25979 #ifdef __int8_t_defined
25984 #ifdef __uint32_t_defined
25990 # ----------------- done header, emit basic int types -------------
25991 if test "$acx_cv_header_stdint" = stddef.h; then
25992 sed 's/^ *//' >> tmp-stdint.h <<EOF
25996 #ifndef __uint8_t_defined
25997 #define __uint8_t_defined
25998 typedef unsigned $acx_cv_type_int8_t uint8_t;
26004 #ifndef __uint16_t_defined
26005 #define __uint16_t_defined
26006 typedef unsigned $acx_cv_type_int16_t uint16_t;
26012 #ifndef __uint32_t_defined
26013 #define __uint32_t_defined
26014 typedef unsigned $acx_cv_type_int32_t uint32_t;
26020 #ifndef __int8_t_defined
26021 #define __int8_t_defined
26022 typedef $acx_cv_type_int8_t int8_t;
26028 #ifndef __int16_t_defined
26029 #define __int16_t_defined
26030 typedef $acx_cv_type_int16_t int16_t;
26036 #ifndef __int32_t_defined
26037 #define __int32_t_defined
26038 typedef $acx_cv_type_int32_t int32_t;
26042 elif test "$ac_cv_type_u_int32_t" = yes; then
26043 sed 's/^ *//' >> tmp-stdint.h <<EOF
26045 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
26058 #ifndef __uint8_t_defined
26059 #define __uint8_t_defined
26060 typedef u_int8_t uint8_t;
26066 #ifndef __uint16_t_defined
26067 #define __uint16_t_defined
26068 typedef u_int16_t uint16_t;
26074 #ifndef __uint32_t_defined
26075 #define __uint32_t_defined
26076 typedef u_int32_t uint32_t;
26081 sed 's/^ *//' >> tmp-stdint.h <<EOF
26083 /* Some systems have guard macros to prevent redefinitions, define them. */
26105 # ------------- done basic int types, emit int64_t types ------------
26106 if test "$ac_cv_type_uint64_t" = yes; then
26107 sed 's/^ *//' >> tmp-stdint.h <<EOF
26109 /* system headers have good uint64_t and int64_t */
26117 elif test "$ac_cv_type_u_int64_t" = yes; then
26118 sed 's/^ *//' >> tmp-stdint.h <<EOF
26120 /* system headers have an u_int64_t (and int64_t) */
26126 #ifndef __uint64_t_defined
26127 #define __uint64_t_defined
26128 typedef u_int64_t uint64_t;
26132 elif test -n "$acx_cv_type_int64_t"; then
26133 sed 's/^ *//' >> tmp-stdint.h <<EOF
26135 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
26138 typedef $acx_cv_type_int64_t int64_t;
26142 #ifndef __uint64_t_defined
26143 #define __uint64_t_defined
26144 typedef unsigned $acx_cv_type_int64_t uint64_t;
26149 sed 's/^ *//' >> tmp-stdint.h <<EOF
26151 /* some common heuristics for int64_t, using compiler-specific tests */
26152 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
26155 #ifndef __int64_t_defined
26156 typedef long long int64_t;
26161 typedef unsigned long long uint64_t;
26164 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
26165 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
26166 does not implement __extension__. But that compiler doesn't define
26168 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
26169 # define __extension__
26174 __extension__ typedef long long int64_t;
26178 __extension__ typedef unsigned long long uint64_t;
26181 #elif !defined __STRICT_ANSI__
26182 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
26186 typedef __int64 int64_t;
26190 typedef unsigned __int64 uint64_t;
26192 # endif /* compiler */
26194 #endif /* ANSI version */
26198 # ------------- done int64_t types, emit intptr types ------------
26199 if test "$ac_cv_type_uintptr_t" != yes; then
26200 sed 's/^ *//' >> tmp-stdint.h <<EOF
26202 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
26203 #ifndef __uintptr_t_defined
26204 typedef u$acx_cv_type_intptr_t uintptr_t;
26206 #ifndef __intptr_t_defined
26207 typedef $acx_cv_type_intptr_t intptr_t;
26212 # ------------- done intptr types, emit int_least types ------------
26213 if test "$ac_cv_type_int_least32_t" != yes; then
26214 sed 's/^ *//' >> tmp-stdint.h <<EOF
26216 /* Define int_least types */
26217 typedef int8_t int_least8_t;
26218 typedef int16_t int_least16_t;
26219 typedef int32_t int_least32_t;
26221 typedef int64_t int_least64_t;
26224 typedef uint8_t uint_least8_t;
26225 typedef uint16_t uint_least16_t;
26226 typedef uint32_t uint_least32_t;
26228 typedef uint64_t uint_least64_t;
26233 # ------------- done intptr types, emit int_fast types ------------
26234 if test "$ac_cv_type_int_fast32_t" != yes; then
26235 sed 's/^ *//' >> tmp-stdint.h <<EOF
26237 /* Define int_fast types. short is often slow */
26238 typedef int8_t int_fast8_t;
26239 typedef int int_fast16_t;
26240 typedef int32_t int_fast32_t;
26242 typedef int64_t int_fast64_t;
26245 typedef uint8_t uint_fast8_t;
26246 typedef unsigned int uint_fast16_t;
26247 typedef uint32_t uint_fast32_t;
26249 typedef uint64_t uint_fast64_t;
26254 if test "$ac_cv_type_uintmax_t" != yes; then
26255 sed 's/^ *//' >> tmp-stdint.h <<EOF
26257 /* Define intmax based on what we found */
26259 typedef int64_t intmax_t;
26261 typedef long intmax_t;
26264 typedef uint64_t uintmax_t;
26266 typedef unsigned long uintmax_t;
26271 sed 's/^ *//' >> tmp-stdint.h <<EOF
26273 #endif /* GCC_GENERATED_STDINT_H */
26276 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
26279 mv -f tmp-stdint.h gstdint.h
26287 cat >>$CONFIG_STATUS <<\_ACEOF
26289 { (exit 0); exit 0; }
26291 chmod +x $CONFIG_STATUS
26292 ac_clean_files=$ac_clean_files_save
26295 # configure is writing to config.log, and then calls config.status.
26296 # config.status does its own redirection, appending to config.log.
26297 # Unfortunately, on DOS this fails, as config.log is still kept open
26298 # by configure, so config.status won't be able to write to it; its
26299 # output is simply discarded. So we exec the FD to /dev/null,
26300 # effectively closing config.log, so it can be properly (re)opened and
26301 # appended to by config.status. When coming back to configure, we
26302 # need to make the FD available again.
26303 if test "$no_create" != yes; then
26305 ac_config_status_args=
26306 test "$silent" = yes &&
26307 ac_config_status_args="$ac_config_status_args --quiet"
26309 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
26311 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26312 # would make configure fail if this is the last instruction.
26313 $ac_cs_success || { (exit 1); exit 1; }