2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.2.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME
='GNU Fortran Runtime Library'
269 PACKAGE_TARNAME
='libgfortran'
270 PACKAGE_VERSION
='0.2'
271 PACKAGE_STRING
='GNU Fortran Runtime Library 0.2'
274 # Factoring default headers for most tests.
275 ac_includes_default
="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os build_subdir host_subdir target_subdir host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT AM_FCFLAGS AM_CFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran CPP CPPFLAGS EGREP FPU_HOST_HEADER LIBOBJS LTLIBOBJS'
314 # Initialize some variables set by options.
316 ac_init_version
=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name
=s
,x
,x
,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir
='${exec_prefix}/bin'
340 sbindir
='${exec_prefix}/sbin'
341 libexecdir
='${exec_prefix}/libexec'
342 datadir
='${prefix}/share'
343 sysconfdir
='${prefix}/etc'
344 sharedstatedir
='${prefix}/com'
345 localstatedir
='${prefix}/var'
346 libdir
='${exec_prefix}/lib'
347 includedir
='${prefix}/include'
348 oldincludedir
='/usr/include'
349 infodir
='${prefix}/info'
350 mandir
='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
370 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
373 -build |
--build |
--buil |
--bui |
--bu)
374 ac_prev
=build_alias
;;
375 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
376 build_alias
=$ac_optarg ;;
378 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
379 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
380 ac_prev
=cache_file
;;
381 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
382 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
383 cache_file
=$ac_optarg ;;
386 cache_file
=config.cache
;;
388 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
390 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
392 datadir
=$ac_optarg ;;
394 -disable-* |
--disable-*)
395 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* |
--enable-*)
404 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
417 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
418 |
--exec |
--exe |
--ex)
419 ac_prev
=exec_prefix
;;
420 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
421 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
422 |
--exec=* |
--exe=* |
--ex=*)
423 exec_prefix
=$ac_optarg ;;
425 -gas |
--gas |
--ga |
--g)
426 # Obsolete; use --with-gas.
429 -help |
--help |
--hel |
--he |
-h)
431 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
432 ac_init_help
=recursive
;;
433 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
434 ac_init_help
=short
;;
436 -host |
--host |
--hos |
--ho)
437 ac_prev
=host_alias
;;
438 -host=* |
--host=* |
--hos=* |
--ho=*)
439 host_alias
=$ac_optarg ;;
441 -includedir |
--includedir |
--includedi |
--included |
--include \
442 |
--includ |
--inclu |
--incl |
--inc)
443 ac_prev
=includedir
;;
444 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
445 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
446 includedir
=$ac_optarg ;;
448 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
450 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
451 infodir
=$ac_optarg ;;
453 -libdir |
--libdir |
--libdi |
--libd)
455 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
458 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
459 |
--libexe |
--libex |
--libe)
460 ac_prev
=libexecdir
;;
461 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
462 |
--libexe=* |
--libex=* |
--libe=*)
463 libexecdir
=$ac_optarg ;;
465 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
466 |
--localstate |
--localstat |
--localsta |
--localst \
467 |
--locals |
--local |
--loca |
--loc |
--lo)
468 ac_prev
=localstatedir
;;
469 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
470 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
471 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
472 localstatedir
=$ac_optarg ;;
474 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
476 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
480 # Obsolete; use --without-fp.
483 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
484 |
--no-cr |
--no-c |
-n)
487 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
488 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
491 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
492 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
493 |
--oldin |
--oldi |
--old |
--ol |
--o)
494 ac_prev
=oldincludedir
;;
495 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
496 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
497 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
498 oldincludedir
=$ac_optarg ;;
500 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
502 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
505 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
506 |
--program-pre |
--program-pr |
--program-p)
507 ac_prev
=program_prefix
;;
508 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
509 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
510 program_prefix
=$ac_optarg ;;
512 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
513 |
--program-suf |
--program-su |
--program-s)
514 ac_prev
=program_suffix
;;
515 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
516 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
517 program_suffix
=$ac_optarg ;;
519 -program-transform-name |
--program-transform-name \
520 |
--program-transform-nam |
--program-transform-na \
521 |
--program-transform-n |
--program-transform- \
522 |
--program-transform |
--program-transfor \
523 |
--program-transfo |
--program-transf \
524 |
--program-trans |
--program-tran \
525 |
--progr-tra |
--program-tr |
--program-t)
526 ac_prev
=program_transform_name
;;
527 -program-transform-name=* |
--program-transform-name=* \
528 |
--program-transform-nam=* |
--program-transform-na=* \
529 |
--program-transform-n=* |
--program-transform-=* \
530 |
--program-transform=* |
--program-transfor=* \
531 |
--program-transfo=* |
--program-transf=* \
532 |
--program-trans=* |
--program-tran=* \
533 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
534 program_transform_name
=$ac_optarg ;;
536 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
537 |
-silent |
--silent |
--silen |
--sile |
--sil)
540 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
542 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
544 sbindir
=$ac_optarg ;;
546 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
547 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
548 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
550 ac_prev
=sharedstatedir
;;
551 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
552 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
553 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
555 sharedstatedir
=$ac_optarg ;;
557 -site |
--site |
--sit)
559 -site=* |
--site=* |
--sit=*)
562 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
564 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
567 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
568 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
569 ac_prev
=sysconfdir
;;
570 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
571 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
572 sysconfdir
=$ac_optarg ;;
574 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
575 ac_prev
=target_alias
;;
576 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
577 target_alias
=$ac_optarg ;;
579 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
582 -version |
--version |
--versio |
--versi |
--vers |
-V)
586 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package
=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* |
--without-*)
599 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package
=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
612 |
--x-incl |
--x-inc |
--x-in |
--x-i)
613 ac_prev
=x_includes
;;
614 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
615 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
616 x_includes
=$ac_optarg ;;
618 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
619 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
620 ac_prev
=x_libraries
;;
621 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
622 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
623 x_libraries
=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var
in exec_prefix prefix
660 eval ac_val
=$
`echo $ac_var`
662 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val
=$
`echo $ac_var`
674 [\\/$
]* | ?
:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x
; then
689 if test "x$build_alias" = x
; then
690 cross_compiling
=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
701 test "$silent" = yes && exec 6>/dev
/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted
=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir
=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted
=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set
=${build_alias+set}
741 ac_env_build_alias_value
=$build_alias
742 ac_cv_env_build_alias_set
=${build_alias+set}
743 ac_cv_env_build_alias_value
=$build_alias
744 ac_env_host_alias_set
=${host_alias+set}
745 ac_env_host_alias_value
=$host_alias
746 ac_cv_env_host_alias_set
=${host_alias+set}
747 ac_cv_env_host_alias_value
=$host_alias
748 ac_env_target_alias_set
=${target_alias+set}
749 ac_env_target_alias_value
=$target_alias
750 ac_cv_env_target_alias_set
=${target_alias+set}
751 ac_cv_env_target_alias_value
=$target_alias
752 ac_env_FC_set
=${FC+set}
754 ac_cv_env_FC_set
=${FC+set}
755 ac_cv_env_FC_value
=$FC
756 ac_env_FCFLAGS_set
=${FCFLAGS+set}
757 ac_env_FCFLAGS_value
=$FCFLAGS
758 ac_cv_env_FCFLAGS_set
=${FCFLAGS+set}
759 ac_cv_env_FCFLAGS_value
=$FCFLAGS
760 ac_env_LDFLAGS_set
=${LDFLAGS+set}
761 ac_env_LDFLAGS_value
=$LDFLAGS
762 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value
=$LDFLAGS
764 ac_env_CPP_set
=${CPP+set}
765 ac_env_CPP_value
=$CPP
766 ac_cv_env_CPP_set
=${CPP+set}
767 ac_cv_env_CPP_value
=$CPP
768 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
774 # Report the --help message.
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
780 \`configure' configures GNU Fortran Runtime Library 0.2 to adapt to many kinds of systems.
782 Usage: $0 [OPTION]... [VAR=VALUE]...
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE. See below for descriptions of some of the useful variables.
787 Defaults for the options are specified in brackets.
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
803 Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
814 For better control, use the options below.
816 Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
834 --program-prefix=PREFIX prepend PREFIX to installed program names
835 --program-suffix=SUFFIX append SUFFIX to installed program names
836 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
839 --build=BUILD configure
for building on BUILD
[guessed
]
840 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
841 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
845 if test -n "$ac_init_help"; then
846 case $ac_init_help in
847 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.2:";;
852 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
853 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
854 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
855 --enable-maintainer-mode enable make rules and dependencies not useful
856 (and sometimes confusing
) to the casual installer
857 --enable-multilib build many library versions
(default
)
858 --enable-shared=PKGS build shared libraries default
=yes
859 --enable-static=PKGS build static libraries default
=yes
860 --enable-fast-install=PKGS optimize
for fast installation default
=yes
861 --disable-libtool-lock avoid locking
(might
break parallel builds
)
862 --disable-largefile omit support
for large files
865 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
866 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
867 --with-gnu-ld assume the C compiler uses GNU ld default
=no
868 --with-pic try to use only PIC
/non-PIC objects default
=use both
870 Some influential environment variables
:
871 CC C compiler
command
872 CFLAGS C compiler flags
873 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
874 nonstandard directory
<lib dir
>
875 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
876 headers
in a nonstandard directory
<include dir
>
877 FC Fortran compiler
command
878 FCFLAGS Fortran compiler flags
881 Use these variables to override the choices made by
`configure' or to help
882 it to find libraries and programs with nonstandard names/locations.
887 if test "$ac_init_help" = "recursive"; then
888 # If there are subdirs, report their specific --help.
890 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
891 test -d $ac_dir || continue
894 if test "$ac_dir" != .; then
895 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
896 # A "../" for each directory in $ac_dir_suffix.
897 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
899 ac_dir_suffix= ac_top_builddir=
903 .) # No --srcdir option. We are building in place.
905 if test -z "$ac_top_builddir"; then
908 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
910 [\\/]* | ?:[\\/]* ) # Absolute path.
911 ac_srcdir=$srcdir$ac_dir_suffix;
912 ac_top_srcdir=$srcdir ;;
914 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
915 ac_top_srcdir=$ac_top_builddir$srcdir ;;
918 # Do not use `cd foo
&& pwd` to compute absolute paths, because
919 # the directories may not exist.
921 .) ac_abs_builddir="$ac_dir";;
924 .) ac_abs_builddir=`pwd`;;
925 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
926 *) ac_abs_builddir=`pwd`/"$ac_dir";;
929 case $ac_abs_builddir in
930 .) ac_abs_top_builddir=${ac_top_builddir}.;;
932 case ${ac_top_builddir}. in
933 .) ac_abs_top_builddir=$ac_abs_builddir;;
934 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
935 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
938 case $ac_abs_builddir in
939 .) ac_abs_srcdir=$ac_srcdir;;
942 .) ac_abs_srcdir=$ac_abs_builddir;;
943 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
944 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
947 case $ac_abs_builddir in
948 .) ac_abs_top_srcdir=$ac_top_srcdir;;
950 case $ac_top_srcdir in
951 .) ac_abs_top_srcdir=$ac_abs_builddir;;
952 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
953 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
958 # Check for guested configure; otherwise get Cygnus style configure.
959 if test -f $ac_srcdir/configure.gnu; then
961 $SHELL $ac_srcdir/configure.gnu --help=recursive
962 elif test -f $ac_srcdir/configure; then
964 $SHELL $ac_srcdir/configure --help=recursive
965 elif test -f $ac_srcdir/configure.ac ||
966 test -f $ac_srcdir/configure.in; then
970 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
976 test -n "$ac_init_help" && exit 0
977 if $ac_init_version; then
979 GNU Fortran Runtime Library configure 0.2
980 generated by GNU Autoconf 2.59
982 Copyright (C) 2003 Free Software Foundation, Inc.
983 This configure script is free software; the Free Software Foundation
984 gives unlimited permission to copy, distribute and modify it.
990 This file contains any messages produced by compilers while
991 running configure, to aid debugging if configure makes a mistake.
993 It was created by GNU Fortran Runtime Library $as_me 0.2, which was
994 generated by GNU Autoconf 2.59. Invocation command line was
1005 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1006 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1007 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1008 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1009 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1011 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1012 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1014 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1015 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1016 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1017 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1018 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1019 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1020 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1028 test -z "$as_dir" && as_dir=.
1029 echo "PATH: $as_dir"
1044 # Keep a trace of the command line.
1045 # Strip out --no-create and --no-recursion so they do not pile up.
1046 # Strip out --silent because we don't want to record it for future runs.
1047 # Also quote any args containing shell meta-characters.
1048 # Make two passes to allow for proper duplicate-argument suppression.
1053 ac_must_keep_next=false
1059 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1060 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1061 | -silent | --silent | --silen | --sile | --sil)
1063 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1064 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1067 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1069 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1070 if test $ac_must_keep_next = true; then
1071 ac_must_keep_next=false # Got value, back to normal.
1074 *=* | --config-cache | -C | -disable-* | --disable-* \
1075 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1076 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1077 | -with-* | --with-* | -without-* | --without-* | --x)
1078 case "$ac_configure_args0 " in
1079 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1082 -* ) ac_must_keep_next=true ;;
1085 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1086 # Get rid of the leading space.
1092 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1093 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1095 # When interrupted or exit'd, cleanup temporary files, and complete
1096 # config.log. We remove comments because anyway the quotes in there
1097 # would cause problems or look ugly.
1098 # WARNING: Be sure not to use single quotes in there, as some shells,
1099 # such as our DU 5.0 friend, will then `close
' the trap.
1100 trap 'exit_status
=$?
1101 # Save into config.log some information that might help in debugging.
1106 ## ---------------- ##
1107 ## Cache variables. ##
1108 ## ---------------- ##
1111 # The following way of writing the cache mishandles newlines in values,
1114 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1117 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1118 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1122 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1129 ## ----------------- ##
1130 ## Output variables. ##
1131 ## ----------------- ##
1134 for ac_var
in $ac_subst_vars
1136 eval ac_val
=$
`echo $ac_var`
1137 echo "$ac_var='"'"'$ac_val'"'"'"
1141 if test -n "$ac_subst_files"; then
1148 for ac_var
in $ac_subst_files
1150 eval ac_val
=$
`echo $ac_var`
1151 echo "$ac_var='"'"'$ac_val'"'"'"
1156 if test -s confdefs.h
; then
1163 sed "/^$/d" confdefs.h |
sort
1166 test "$ac_signal" != 0 &&
1167 echo "$as_me: caught signal $ac_signal"
1168 echo "$as_me: exit $exit_status"
1170 rm -f core
*.core
&&
1171 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1174 for ac_signal in 1 2 13 15; do
1175 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1179 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1180 rm -rf conftest* confdefs.h
1181 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1184 # Predefined preprocessor variables.
1186 cat >>confdefs.h <<_ACEOF
1187 #define PACKAGE_NAME "$PACKAGE_NAME"
1191 cat >>confdefs.h <<_ACEOF
1192 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1196 cat >>confdefs.h <<_ACEOF
1197 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1201 cat >>confdefs.h <<_ACEOF
1202 #define PACKAGE_STRING "$PACKAGE_STRING"
1206 cat >>confdefs.h <<_ACEOF
1207 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1211 # Let the site file select an alternate cache file if it wants to.
1212 # Prefer explicitly selected file to automatically selected ones.
1213 if test -z "$CONFIG_SITE"; then
1214 if test "x$prefix" != xNONE; then
1215 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1217 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1220 for ac_site_file in $CONFIG_SITE; do
1221 if test -r "$ac_site_file"; then
1222 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1223 echo "$as_me: loading site script $ac_site_file" >&6;}
1224 sed 's
/^
/|
/' "$ac_site_file" >&5
1229 if test -r "$cache_file"; then
1230 # Some versions of bash will fail to source /dev/null (special
1231 # files actually), so we avoid doing that.
1232 if test -f "$cache_file"; then
1233 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1234 echo "$as_me: loading cache $cache_file" >&6;}
1236 [\\/]* | ?:[\\/]* ) . $cache_file;;
1237 *) . ./$cache_file;;
1241 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1242 echo "$as_me: creating cache $cache_file" >&6;}
1246 # Check that the precious variables saved in the cache have kept the same
1248 ac_cache_corrupted=false
1249 for ac_var in `(set) 2>&1 |
1250 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1251 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1252 eval ac_new_set=\$ac_env_${ac_var}_set
1253 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1254 eval ac_new_val="\$ac_env_${ac_var}_value"
1255 case $ac_old_set,$ac_new_set in
1257 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1258 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1259 ac_cache_corrupted=: ;;
1261 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1262 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1263 ac_cache_corrupted=: ;;
1266 if test "x$ac_old_val" != "x$ac_new_val"; then
1267 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1268 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1269 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1270 echo "$as_me: former value: $ac_old_val" >&2;}
1271 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1272 echo "$as_me: current value: $ac_new_val" >&2;}
1273 ac_cache_corrupted=:
1276 # Pass precious variables to config.status.
1277 if test "$ac_new_set" = set; then
1279 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1280 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1281 *) ac_arg=$ac_var=$ac_new_val ;;
1283 case " $ac_configure_args " in
1284 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1285 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1289 if $ac_cache_corrupted; then
1290 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1291 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1292 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1293 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1294 { (exit 1); exit 1; }; }
1298 ac_cpp='$CPP $CPPFLAGS'
1299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1300 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1329 ac_config_headers="$ac_config_headers config.h"
1332 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1333 if test -f $ac_dir/install-sh; then
1335 ac_install_sh="$ac_aux_dir/install-sh -c"
1337 elif test -f $ac_dir/install.sh; then
1339 ac_install_sh="$ac_aux_dir/install.sh -c"
1341 elif test -f $ac_dir/shtool; then
1343 ac_install_sh="$ac_aux_dir/shtool install -c"
1347 if test -z "$ac_aux_dir"; then
1348 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1349 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1350 { (exit 1); exit 1; }; }
1352 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1353 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1354 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1356 # Make sure we can run config.sub.
1357 $ac_config_sub sun4 >/dev/null 2>&1 ||
1358 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1359 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1360 { (exit 1); exit 1; }; }
1362 echo "$as_me:$LINENO: checking build system type" >&5
1363 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1364 if test "${ac_cv_build+set}" = set; then
1365 echo $ECHO_N "(cached) $ECHO_C" >&6
1367 ac_cv_build_alias=$build_alias
1368 test -z "$ac_cv_build_alias" &&
1369 ac_cv_build_alias=`$ac_config_guess`
1370 test -z "$ac_cv_build_alias" &&
1371 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1372 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1373 { (exit 1); exit 1; }; }
1374 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1375 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1376 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1377 { (exit 1); exit 1; }; }
1380 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1381 echo "${ECHO_T}$ac_cv_build" >&6
1383 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1384 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1385 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1388 case ${build_alias} in
1389 "") build_noncanonical=${build} ;;
1390 *) build_noncanonical=${build_alias} ;;
1393 case ${host_alias} in
1394 "") host_noncanonical=${build_noncanonical} ;;
1395 *) host_noncanonical=${host_alias} ;;
1398 case ${target_alias} in
1399 "") target_noncanonical=${host_noncanonical} ;;
1400 *) target_noncanonical=${target_alias} ;;
1403 # Prefix 'build-
' so this never conflicts with target_subdir.
1404 build_subdir="build-${build_noncanonical}"
1405 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1406 if ( test $srcdir = . && test -d gcc ) \
1407 || test -d $srcdir/../host-${host_noncanonical}; then
1408 host_subdir="host-${host_noncanonical}"
1413 target_subdir=${target_noncanonical}
1420 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1421 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1422 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1423 if test "${enable_version_specific_runtime_libs+set}" = set; then
1424 enableval="$enable_version_specific_runtime_libs"
1425 case "$enableval" in
1426 yes) version_specific_libs=yes ;;
1427 no) version_specific_libs=no ;;
1428 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1429 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1430 { (exit 1); exit 1; }; };;
1433 version_specific_libs=no
1435 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1436 echo "${ECHO_T}$version_specific_libs" >&6
1439 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1441 # You will slowly go insane if you do not grok the following fact: when
1442 # building this library, the top-level /target/ becomes the library's
/host
/.
1444 # configure then causes --target to default to --host, exactly like any
1445 # other package using autoconf. Therefore, 'target' and 'host' will
1446 # always be the same. This makes sense both for native and cross compilers
1447 # just think about it for a little while. :-)
1449 # Also, if this library is being configured as part of a cross compiler, the
1450 # top-level configure script will pass the "real" host as $with_cross_host.
1452 # Do not delete or change the following two lines. For why, see
1453 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1454 echo "$as_me:$LINENO: checking host system type" >&5
1455 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1456 if test "${ac_cv_host+set}" = set; then
1457 echo $ECHO_N "(cached) $ECHO_C" >&6
1459 ac_cv_host_alias
=$host_alias
1460 test -z "$ac_cv_host_alias" &&
1461 ac_cv_host_alias
=$ac_cv_build_alias
1462 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1463 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1464 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1465 { (exit 1); exit 1; }; }
1468 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1469 echo "${ECHO_T}$ac_cv_host" >&6
1471 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1472 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1473 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1476 echo "$as_me:$LINENO: checking target system type" >&5
1477 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1478 if test "${ac_cv_target+set}" = set; then
1479 echo $ECHO_N "(cached) $ECHO_C" >&6
1481 ac_cv_target_alias
=$target_alias
1482 test "x$ac_cv_target_alias" = "x" &&
1483 ac_cv_target_alias
=$ac_cv_host_alias
1484 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1485 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1486 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1487 { (exit 1); exit 1; }; }
1490 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1491 echo "${ECHO_T}$ac_cv_target" >&6
1492 target
=$ac_cv_target
1493 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1494 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1495 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1498 # The aliases save the names the user supplied, while $host etc.
1499 # will get canonicalized.
1500 test -n "$target_alias" &&
1501 test "$program_prefix$program_suffix$program_transform_name" = \
1503 program_prefix
=${target_alias}-
1504 target_alias
=${target_alias-$host_alias}
1506 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1507 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1508 # 1.8.2: minimum required version
1509 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1510 # of other PACKAGE_* variables will, however, and there's nothing
1511 # we can do about that; they come from AC_INIT).
1512 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1513 # file in the top srcdir, etc, etc), so stop complaining.
1514 # no-dependencies: turns off auto dependency generation (just for now)
1515 # -Wall: turns on all automake warnings...
1516 # -Wno-portability: ...except this one, since GNU make is required.
1517 am__api_version
="1.9"
1518 # Find a good install program. We prefer a C program (faster),
1519 # so one script is as good as another. But avoid the broken or
1520 # incompatible versions:
1521 # SysV /etc/install, /usr/sbin/install
1522 # SunOS /usr/etc/install
1523 # IRIX /sbin/install
1525 # AmigaOS /C/install, which installs bootblocks on floppy discs
1526 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1527 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1528 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1529 # OS/2's system install, which has a completely different semantic
1530 # ./install, which can be erroneously created by make from ./install.sh.
1531 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1532 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1533 if test -z "$INSTALL"; then
1534 if test "${ac_cv_path_install+set}" = set; then
1535 echo $ECHO_N "(cached) $ECHO_C" >&6
1537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1541 test -z "$as_dir" && as_dir
=.
1542 # Account for people who put trailing slashes in PATH elements.
1544 .
/ | .
// |
/cC
/* | \
1545 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1546 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1549 # OSF1 and SCO ODT 3.0 have their own names for install.
1550 # Don't use installbsd from OSF since it installs stuff as root
1552 for ac_prog
in ginstall scoinst
install; do
1553 for ac_exec_ext
in '' $ac_executable_extensions; do
1554 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1555 if test $ac_prog = install &&
1556 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1557 # AIX install. It has an incompatible calling convention.
1559 elif test $ac_prog = install &&
1560 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1561 # program-specific install script used by HP pwplus--don't use.
1564 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1576 if test "${ac_cv_path_install+set}" = set; then
1577 INSTALL
=$ac_cv_path_install
1579 # As a last resort, use the slow shell script. We don't cache a
1580 # path for INSTALL within a source directory, because that will
1581 # break other packages using the cache if that directory is
1582 # removed, or if the path is relative.
1583 INSTALL
=$ac_install_sh
1586 echo "$as_me:$LINENO: result: $INSTALL" >&5
1587 echo "${ECHO_T}$INSTALL" >&6
1589 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1590 # It thinks the first close brace ends the variable substitution.
1591 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1593 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1595 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1597 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1598 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1601 echo timestamp
> conftest.
file
1602 # Do `set' in a subshell so we don't clobber the current shell's
1603 # arguments. Must try -L first in case configure is actually a
1604 # symlink; some systems play weird games with the mod time of symlinks
1605 # (eg FreeBSD returns the mod time of the symlink's containing
1608 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1609 if test "$*" = "X"; then
1611 set X
`ls -t $srcdir/configure conftest.file`
1614 if test "$*" != "X $srcdir/configure conftest.file" \
1615 && test "$*" != "X conftest.file $srcdir/configure"; then
1617 # If neither matched, then we have a broken ls. This can happen
1618 # if, for instance, CONFIG_SHELL is bash and it inherits a
1619 # broken ls alias from the environment. This has actually
1620 # happened. Such a system could not be considered "sane".
1621 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1622 alias in your environment" >&5
1623 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1624 alias in your environment" >&2;}
1625 { (exit 1); exit 1; }; }
1628 test "$2" = conftest.
file
1634 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1635 Check your system clock" >&5
1636 echo "$as_me: error: newly created file is older than distributed files!
1637 Check your system clock" >&2;}
1638 { (exit 1); exit 1; }; }
1640 echo "$as_me:$LINENO: result: yes" >&5
1641 echo "${ECHO_T}yes" >&6
1642 test "$program_prefix" != NONE
&&
1643 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1644 # Use a double $ so make ignores it.
1645 test "$program_suffix" != NONE
&&
1646 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1647 # Double any \ or $. echo might interpret backslashes.
1648 # By default was `s,x,x', remove it if useless.
1649 cat <<\_ACEOF
>conftest.
sed
1650 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1652 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1655 # expand $ac_aux_dir to an absolute path
1656 am_aux_dir
=`cd $ac_aux_dir && pwd`
1658 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1659 # Use eval to expand $SHELL
1660 if eval "$MISSING --run true"; then
1661 am_missing_run
="$MISSING --run "
1664 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1665 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1668 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1669 # We used to keeping the `.' as first argument, in order to
1670 # allow $(mkdir_p) to be used without argument. As in
1671 # $(mkdir_p) $(somedir)
1672 # where $(somedir) is conditionally defined. However this is wrong
1674 # 1. if the package is installed by a user who cannot write `.'
1675 # make install will fail,
1676 # 2. the above comment should most certainly read
1677 # $(mkdir_p) $(DESTDIR)$(somedir)
1678 # so it does not work when $(somedir) is undefined and
1679 # $(DESTDIR) is not.
1680 # To support the latter case, we have to write
1681 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1682 # so the `.' trick is pointless.
1683 mkdir_p
='mkdir -p --'
1685 # On NextStep and OpenStep, the `mkdir' command does not
1686 # recognize any option. It will interpret all options as
1687 # directories to create, and then abort because `.' already
1689 for d
in .
/-p .
/--version;
1691 test -d $d && rmdir $d
1693 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1694 if test -f "$ac_aux_dir/mkinstalldirs"; then
1695 mkdir_p
='$(mkinstalldirs)'
1697 mkdir_p
='$(install_sh) -d'
1701 for ac_prog
in gawk mawk nawk
awk
1703 # Extract the first word of "$ac_prog", so it can be a program name with args.
1704 set dummy
$ac_prog; ac_word
=$2
1705 echo "$as_me:$LINENO: checking for $ac_word" >&5
1706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1707 if test "${ac_cv_prog_AWK+set}" = set; then
1708 echo $ECHO_N "(cached) $ECHO_C" >&6
1710 if test -n "$AWK"; then
1711 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1717 test -z "$as_dir" && as_dir
=.
1718 for ac_exec_ext
in '' $ac_executable_extensions; do
1719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1720 ac_cv_prog_AWK
="$ac_prog"
1721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1730 if test -n "$AWK"; then
1731 echo "$as_me:$LINENO: result: $AWK" >&5
1732 echo "${ECHO_T}$AWK" >&6
1734 echo "$as_me:$LINENO: result: no" >&5
1735 echo "${ECHO_T}no" >&6
1738 test -n "$AWK" && break
1741 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1742 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1743 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1744 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1745 echo $ECHO_N "(cached) $ECHO_C" >&6
1747 cat >conftest.
make <<\_ACEOF
1749 @
echo 'ac_maketemp="$(MAKE)"'
1751 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1752 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1753 if test -n "$ac_maketemp"; then
1754 eval ac_cv_prog_make_
${ac_make}_set
=yes
1756 eval ac_cv_prog_make_
${ac_make}_set
=no
1760 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1761 echo "$as_me:$LINENO: result: yes" >&5
1762 echo "${ECHO_T}yes" >&6
1765 echo "$as_me:$LINENO: result: no" >&5
1766 echo "${ECHO_T}no" >&6
1767 SET_MAKE
="MAKE=${MAKE-make}"
1770 rm -rf .tst
2>/dev
/null
1771 mkdir .tst
2>/dev
/null
1772 if test -d .tst
; then
1777 rmdir .tst
2>/dev
/null
1779 # test to see if srcdir already configured
1780 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1781 test -f $srcdir/config.status
; then
1782 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1783 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1784 { (exit 1); exit 1; }; }
1787 # test whether we have cygpath
1788 if test -z "$CYGPATH_W"; then
1789 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1790 CYGPATH_W
='cygpath -w'
1797 # Define the identity of the package.
1798 PACKAGE
='libgfortran'
1802 # Some tools Automake needs.
1804 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1807 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1810 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1813 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1816 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1818 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1820 # Installed binaries are usually stripped using `strip' when the user
1821 # run `make install-strip'. However `strip' might not be the right
1822 # tool to use in cross-compilation environments, therefore Automake
1823 # will honor the `STRIP' environment variable to overrule this program.
1824 if test "$cross_compiling" != no
; then
1825 if test -n "$ac_tool_prefix"; then
1826 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1827 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1828 echo "$as_me:$LINENO: checking for $ac_word" >&5
1829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1830 if test "${ac_cv_prog_STRIP+set}" = set; then
1831 echo $ECHO_N "(cached) $ECHO_C" >&6
1833 if test -n "$STRIP"; then
1834 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1840 test -z "$as_dir" && as_dir
=.
1841 for ac_exec_ext
in '' $ac_executable_extensions; do
1842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1843 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1852 STRIP
=$ac_cv_prog_STRIP
1853 if test -n "$STRIP"; then
1854 echo "$as_me:$LINENO: result: $STRIP" >&5
1855 echo "${ECHO_T}$STRIP" >&6
1857 echo "$as_me:$LINENO: result: no" >&5
1858 echo "${ECHO_T}no" >&6
1862 if test -z "$ac_cv_prog_STRIP"; then
1864 # Extract the first word of "strip", so it can be a program name with args.
1865 set dummy strip
; ac_word
=$2
1866 echo "$as_me:$LINENO: checking for $ac_word" >&5
1867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1868 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1869 echo $ECHO_N "(cached) $ECHO_C" >&6
1871 if test -n "$ac_ct_STRIP"; then
1872 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1878 test -z "$as_dir" && as_dir
=.
1879 for ac_exec_ext
in '' $ac_executable_extensions; do
1880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1881 ac_cv_prog_ac_ct_STRIP
="strip"
1882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1888 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1891 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1892 if test -n "$ac_ct_STRIP"; then
1893 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1894 echo "${ECHO_T}$ac_ct_STRIP" >&6
1896 echo "$as_me:$LINENO: result: no" >&5
1897 echo "${ECHO_T}no" >&6
1902 STRIP
="$ac_cv_prog_STRIP"
1906 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1908 # We need awk for the "check" target. The system "awk" is bad on
1910 # Always define AMTAR for backward compatibility.
1912 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1914 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1921 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1922 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1923 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1924 if test "${enable_maintainer_mode+set}" = set; then
1925 enableval
="$enable_maintainer_mode"
1926 USE_MAINTAINER_MODE
=$enableval
1928 USE_MAINTAINER_MODE
=no
1930 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1931 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1934 if test $USE_MAINTAINER_MODE = yes; then
1935 MAINTAINER_MODE_TRUE
=
1936 MAINTAINER_MODE_FALSE
='#'
1938 MAINTAINER_MODE_TRUE
='#'
1939 MAINTAINER_MODE_FALSE
=
1942 MAINT
=$MAINTAINER_MODE_TRUE
1945 # Default to --enable-multilib
1946 # Check whether --enable-multilib or --disable-multilib was given.
1947 if test "${enable_multilib+set}" = set; then
1948 enableval
="$enable_multilib"
1949 case "$enableval" in
1950 yes) multilib
=yes ;;
1952 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1953 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1954 { (exit 1); exit 1; }; } ;;
1960 # We may get other options which we leave undocumented:
1961 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1962 # See config-ml.in if you want the gory details.
1964 if test "$srcdir" = "."; then
1965 if test "$with_target_subdir" != "."; then
1966 multi_basedir
="$srcdir/$with_multisrctop../.."
1968 multi_basedir
="$srcdir/$with_multisrctop.."
1971 multi_basedir
="$srcdir/.."
1975 ac_config_commands
="$ac_config_commands default-1"
1978 # Handy for debugging:
1979 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1981 # Are we being configured with some form of cross compiler?
1982 # NB: We don't actually need to know this just now, but when, say, a test
1983 # suite is included, we'll have to know.
1984 if test "$build" != "$host"; then
1985 LIBGFOR_IS_NATIVE
=false
1988 LIBGFOR_IS_NATIVE
=true
1991 # Calculate toolexeclibdir
1992 # Also toolexecdir, though it's only used in toolexeclibdir
1993 case ${version_specific_libs} in
1995 # Need the gcc compiler version to know where to install libraries
1996 # and header files if --enable-version-specific-runtime-libs option
1998 toolexecdir
='$(libdir)/gcc/$(target_alias)'
1999 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2002 if test -n "$with_cross_host" &&
2003 test x
"$with_cross_host" != x
"no"; then
2004 # Install a library built with a cross compiler in tooldir, not libdir.
2005 toolexecdir
='$(exec_prefix)/$(target_alias)'
2006 toolexeclibdir
='$(toolexecdir)/lib'
2008 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
2009 toolexeclibdir
='$(libdir)'
2011 multi_os_directory
=`$CC -print-multi-os-directory`
2012 case $multi_os_directory in
2013 .
) ;; # Avoid trailing /.
2014 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
2021 # Check the compiler.
2022 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2023 # We must force CC to /not/ be precious variables; otherwise
2024 # the wrong, non-multilib-adjusted value will be used in multilibs.
2025 # As a side effect, we have to subst CFLAGS ourselves.
2030 ac_cpp
='$CPP $CPPFLAGS'
2031 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2032 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2033 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2034 if test -n "$ac_tool_prefix"; then
2035 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2036 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2037 echo "$as_me:$LINENO: checking for $ac_word" >&5
2038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2039 if test "${ac_cv_prog_CC+set}" = set; then
2040 echo $ECHO_N "(cached) $ECHO_C" >&6
2042 if test -n "$CC"; then
2043 ac_cv_prog_CC
="$CC" # Let the user override the test.
2045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2049 test -z "$as_dir" && as_dir
=.
2050 for ac_exec_ext
in '' $ac_executable_extensions; do
2051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2052 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2062 if test -n "$CC"; then
2063 echo "$as_me:$LINENO: result: $CC" >&5
2064 echo "${ECHO_T}$CC" >&6
2066 echo "$as_me:$LINENO: result: no" >&5
2067 echo "${ECHO_T}no" >&6
2071 if test -z "$ac_cv_prog_CC"; then
2073 # Extract the first word of "gcc", so it can be a program name with args.
2074 set dummy gcc
; ac_word
=$2
2075 echo "$as_me:$LINENO: checking for $ac_word" >&5
2076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2077 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2078 echo $ECHO_N "(cached) $ECHO_C" >&6
2080 if test -n "$ac_ct_CC"; then
2081 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2087 test -z "$as_dir" && as_dir
=.
2088 for ac_exec_ext
in '' $ac_executable_extensions; do
2089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2090 ac_cv_prog_ac_ct_CC
="gcc"
2091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2099 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2100 if test -n "$ac_ct_CC"; then
2101 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2102 echo "${ECHO_T}$ac_ct_CC" >&6
2104 echo "$as_me:$LINENO: result: no" >&5
2105 echo "${ECHO_T}no" >&6
2113 if test -z "$CC"; then
2114 if test -n "$ac_tool_prefix"; then
2115 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2116 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2117 echo "$as_me:$LINENO: checking for $ac_word" >&5
2118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2119 if test "${ac_cv_prog_CC+set}" = set; then
2120 echo $ECHO_N "(cached) $ECHO_C" >&6
2122 if test -n "$CC"; then
2123 ac_cv_prog_CC
="$CC" # Let the user override the test.
2125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2129 test -z "$as_dir" && as_dir
=.
2130 for ac_exec_ext
in '' $ac_executable_extensions; do
2131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2132 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2142 if test -n "$CC"; then
2143 echo "$as_me:$LINENO: result: $CC" >&5
2144 echo "${ECHO_T}$CC" >&6
2146 echo "$as_me:$LINENO: result: no" >&5
2147 echo "${ECHO_T}no" >&6
2151 if test -z "$ac_cv_prog_CC"; then
2153 # Extract the first word of "cc", so it can be a program name with args.
2154 set dummy cc
; ac_word
=$2
2155 echo "$as_me:$LINENO: checking for $ac_word" >&5
2156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2157 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2158 echo $ECHO_N "(cached) $ECHO_C" >&6
2160 if test -n "$ac_ct_CC"; then
2161 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2167 test -z "$as_dir" && as_dir
=.
2168 for ac_exec_ext
in '' $ac_executable_extensions; do
2169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2170 ac_cv_prog_ac_ct_CC
="cc"
2171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2179 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2180 if test -n "$ac_ct_CC"; then
2181 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2182 echo "${ECHO_T}$ac_ct_CC" >&6
2184 echo "$as_me:$LINENO: result: no" >&5
2185 echo "${ECHO_T}no" >&6
2194 if test -z "$CC"; then
2195 # Extract the first word of "cc", so it can be a program name with args.
2196 set dummy cc
; ac_word
=$2
2197 echo "$as_me:$LINENO: checking for $ac_word" >&5
2198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2199 if test "${ac_cv_prog_CC+set}" = set; then
2200 echo $ECHO_N "(cached) $ECHO_C" >&6
2202 if test -n "$CC"; then
2203 ac_cv_prog_CC
="$CC" # Let the user override the test.
2206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2210 test -z "$as_dir" && as_dir
=.
2211 for ac_exec_ext
in '' $ac_executable_extensions; do
2212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2213 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2214 ac_prog_rejected
=yes
2218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2224 if test $ac_prog_rejected = yes; then
2225 # We found a bogon in the path, so make sure we never use it.
2226 set dummy
$ac_cv_prog_CC
2228 if test $# != 0; then
2229 # We chose a different compiler from the bogus one.
2230 # However, it has the same basename, so the bogon will be chosen
2231 # first if we set CC to just the basename; use the full file name.
2233 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2239 if test -n "$CC"; then
2240 echo "$as_me:$LINENO: result: $CC" >&5
2241 echo "${ECHO_T}$CC" >&6
2243 echo "$as_me:$LINENO: result: no" >&5
2244 echo "${ECHO_T}no" >&6
2248 if test -z "$CC"; then
2249 if test -n "$ac_tool_prefix"; then
2252 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2253 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2254 echo "$as_me:$LINENO: checking for $ac_word" >&5
2255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2256 if test "${ac_cv_prog_CC+set}" = set; then
2257 echo $ECHO_N "(cached) $ECHO_C" >&6
2259 if test -n "$CC"; then
2260 ac_cv_prog_CC
="$CC" # Let the user override the test.
2262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2266 test -z "$as_dir" && as_dir
=.
2267 for ac_exec_ext
in '' $ac_executable_extensions; do
2268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2269 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2279 if test -n "$CC"; then
2280 echo "$as_me:$LINENO: result: $CC" >&5
2281 echo "${ECHO_T}$CC" >&6
2283 echo "$as_me:$LINENO: result: no" >&5
2284 echo "${ECHO_T}no" >&6
2287 test -n "$CC" && break
2290 if test -z "$CC"; then
2294 # Extract the first word of "$ac_prog", so it can be a program name with args.
2295 set dummy
$ac_prog; ac_word
=$2
2296 echo "$as_me:$LINENO: checking for $ac_word" >&5
2297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2298 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2299 echo $ECHO_N "(cached) $ECHO_C" >&6
2301 if test -n "$ac_ct_CC"; then
2302 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2308 test -z "$as_dir" && as_dir
=.
2309 for ac_exec_ext
in '' $ac_executable_extensions; do
2310 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2311 ac_cv_prog_ac_ct_CC
="$ac_prog"
2312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2320 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2321 if test -n "$ac_ct_CC"; then
2322 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2323 echo "${ECHO_T}$ac_ct_CC" >&6
2325 echo "$as_me:$LINENO: result: no" >&5
2326 echo "${ECHO_T}no" >&6
2329 test -n "$ac_ct_CC" && break
2338 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2339 See \`config.log' for more details." >&5
2340 echo "$as_me: error: no acceptable C compiler found in \$PATH
2341 See \`config.log' for more details." >&2;}
2342 { (exit 1); exit 1; }; }
2344 # Provide some information about the compiler.
2345 echo "$as_me:$LINENO:" \
2346 "checking for C compiler version" >&5
2347 ac_compiler
=`set X $ac_compile; echo $2`
2348 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2349 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); }
2353 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2354 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }
2358 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2359 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }
2364 cat >conftest.
$ac_ext <<_ACEOF
2367 cat confdefs.h
>>conftest.
$ac_ext
2368 cat >>conftest.
$ac_ext <<_ACEOF
2369 /* end confdefs.h. */
2380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2381 (eval $ac_link) 2>&5
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }; then
2390 if test x
$gcc_no_link = xyes
; then
2391 # Setting cross_compile will disable run tests; it will
2392 # also disable AC_CHECK_FILE but that's generally
2393 # correct if we can't link.
2397 cat >conftest.
$ac_ext <<_ACEOF
2400 cat confdefs.h
>>conftest.
$ac_ext
2401 cat >>conftest.
$ac_ext <<_ACEOF
2402 /* end confdefs.h. */
2412 ac_clean_files_save
=$ac_clean_files
2413 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2414 # Try to create an executable without -o first, disregard a.out.
2415 # It will help us diagnose broken compilers, and finding out an intuition
2417 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2418 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2419 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2420 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2421 (eval $ac_link_default) 2>&5
2423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424 (exit $ac_status); }; then
2425 # Find the output, starting from the most likely. This scheme is
2426 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2429 # Be careful to initialize this variable, since it used to be cached.
2430 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2432 # b.out is created by i960 compilers.
2433 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2435 test -f "$ac_file" ||
continue
2437 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2440 # This is the source file.
2443 # We found the default executable, but exeext='' is most
2447 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2448 # FIXME: I believe we export ac_cv_exeext for Libtool,
2449 # but it would be cool to find out if it's true. Does anybody
2450 # maintain Libtool? --akim.
2458 echo "$as_me: failed program was:" >&5
2459 sed 's/^/| /' conftest.
$ac_ext >&5
2461 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2462 See \`config.log' for more details." >&5
2463 echo "$as_me: error: C compiler cannot create executables
2464 See \`config.log' for more details." >&2;}
2465 { (exit 77); exit 77; }; }
2468 ac_exeext
=$ac_cv_exeext
2469 echo "$as_me:$LINENO: result: $ac_file" >&5
2470 echo "${ECHO_T}$ac_file" >&6
2472 # Check the compiler produces executables we can run. If not, either
2473 # the compiler is broken, or we cross compile.
2474 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2475 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2476 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2477 # If not cross compiling, check that we can run a simple program.
2478 if test "$cross_compiling" != yes; then
2479 if { ac_try
='./$ac_file'
2480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484 (exit $ac_status); }; }; then
2487 if test "$cross_compiling" = maybe
; then
2490 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2491 If you meant to cross compile, use \`--host'.
2492 See \`config.log' for more details." >&5
2493 echo "$as_me: error: cannot run C compiled programs.
2494 If you meant to cross compile, use \`--host'.
2495 See \`config.log' for more details." >&2;}
2496 { (exit 1); exit 1; }; }
2500 echo "$as_me:$LINENO: result: yes" >&5
2501 echo "${ECHO_T}yes" >&6
2503 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2504 ac_clean_files
=$ac_clean_files_save
2505 # Check the compiler produces executables we can run. If not, either
2506 # the compiler is broken, or we cross compile.
2507 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2508 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2509 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2510 echo "${ECHO_T}$cross_compiling" >&6
2512 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2513 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2515 (eval $ac_link) 2>&5
2517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518 (exit $ac_status); }; then
2519 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2520 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2521 # work properly (i.e., refer to `conftest.exe'), while it won't with
2523 for ac_file
in conftest.exe conftest conftest.
*; do
2524 test -f "$ac_file" ||
continue
2526 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2527 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2534 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2535 See \`config.log' for more details." >&5
2536 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2537 See \`config.log' for more details." >&2;}
2538 { (exit 1); exit 1; }; }
2541 rm -f conftest
$ac_cv_exeext
2542 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2543 echo "${ECHO_T}$ac_cv_exeext" >&6
2545 rm -f conftest.
$ac_ext
2546 EXEEXT
=$ac_cv_exeext
2549 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2550 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2551 if test "${ac_cv_objext+set}" = set; then
2552 echo $ECHO_N "(cached) $ECHO_C" >&6
2554 cat >conftest.
$ac_ext <<_ACEOF
2557 cat confdefs.h
>>conftest.
$ac_ext
2558 cat >>conftest.
$ac_ext <<_ACEOF
2559 /* end confdefs.h. */
2569 rm -f conftest.o conftest.obj
2570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2571 (eval $ac_compile) 2>&5
2573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574 (exit $ac_status); }; then
2575 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2577 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2578 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2583 echo "$as_me: failed program was:" >&5
2584 sed 's/^/| /' conftest.
$ac_ext >&5
2586 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2587 See \`config.log' for more details." >&5
2588 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2589 See \`config.log' for more details." >&2;}
2590 { (exit 1); exit 1; }; }
2593 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2595 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2596 echo "${ECHO_T}$ac_cv_objext" >&6
2597 OBJEXT
=$ac_cv_objext
2599 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2600 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2601 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2602 echo $ECHO_N "(cached) $ECHO_C" >&6
2604 cat >conftest.
$ac_ext <<_ACEOF
2607 cat confdefs.h
>>conftest.
$ac_ext
2608 cat >>conftest.
$ac_ext <<_ACEOF
2609 /* end confdefs.h. */
2622 rm -f conftest.
$ac_objext
2623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2624 (eval $ac_compile) 2>conftest.er1
2626 grep -v '^ *+' conftest.er1
>conftest.err
2628 cat conftest.err
>&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); } &&
2631 { ac_try
='test -z "$ac_c_werror_flag"
2632 || test ! -s conftest.err'
2633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637 (exit $ac_status); }; } &&
2638 { ac_try
='test -s conftest.$ac_objext'
2639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643 (exit $ac_status); }; }; then
2646 echo "$as_me: failed program was:" >&5
2647 sed 's/^/| /' conftest.
$ac_ext >&5
2651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2652 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2655 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2656 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2657 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2658 ac_test_CFLAGS
=${CFLAGS+set}
2659 ac_save_CFLAGS
=$CFLAGS
2661 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2662 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2663 if test "${ac_cv_prog_cc_g+set}" = set; then
2664 echo $ECHO_N "(cached) $ECHO_C" >&6
2666 cat >conftest.
$ac_ext <<_ACEOF
2669 cat confdefs.h
>>conftest.
$ac_ext
2670 cat >>conftest.
$ac_ext <<_ACEOF
2671 /* end confdefs.h. */
2681 rm -f conftest.
$ac_objext
2682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2683 (eval $ac_compile) 2>conftest.er1
2685 grep -v '^ *+' conftest.er1
>conftest.err
2687 cat conftest.err
>&5
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); } &&
2690 { ac_try
='test -z "$ac_c_werror_flag"
2691 || test ! -s conftest.err'
2692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696 (exit $ac_status); }; } &&
2697 { ac_try
='test -s conftest.$ac_objext'
2698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2702 (exit $ac_status); }; }; then
2705 echo "$as_me: failed program was:" >&5
2706 sed 's/^/| /' conftest.
$ac_ext >&5
2710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2712 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2713 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2714 if test "$ac_test_CFLAGS" = set; then
2715 CFLAGS
=$ac_save_CFLAGS
2716 elif test $ac_cv_prog_cc_g = yes; then
2717 if test "$GCC" = yes; then
2723 if test "$GCC" = yes; then
2729 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2730 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2731 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2732 echo $ECHO_N "(cached) $ECHO_C" >&6
2734 ac_cv_prog_cc_stdc
=no
2736 cat >conftest.
$ac_ext <<_ACEOF
2739 cat confdefs.h
>>conftest.
$ac_ext
2740 cat >>conftest.
$ac_ext <<_ACEOF
2741 /* end confdefs.h. */
2744 #include <sys/types.h>
2745 #include <sys/stat.h>
2746 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2747 struct buf { int x; };
2748 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2749 static char *e (p, i)
2755 static char *f (char * (*g) (char **, int), char **p, ...)
2760 s = g (p, va_arg (v,int));
2765 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2766 function prototypes and stuff, but not '\xHH' hex character constants.
2767 These don't provoke an error unfortunately, instead are silently treated
2768 as 'x'. The following induces an error, until -std1 is added to get
2769 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2770 array size at least. It's necessary to write '\x00'==0 to get something
2771 that's true only with -std1. */
2772 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2774 int test (int i, double x);
2775 struct s1 {int (*f) (int a);};
2776 struct s2 {int (*f) (double a);};
2777 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2783 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2788 # Don't try gcc -ansi; that turns off useful extensions and
2789 # breaks some systems' header files.
2790 # AIX -qlanglvl=ansi
2791 # Ultrix and OSF/1 -std1
2792 # HP-UX 10.20 and later -Ae
2793 # HP-UX older versions -Aa -D_HPUX_SOURCE
2794 # SVR4 -Xc -D__EXTENSIONS__
2795 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2797 CC
="$ac_save_CC $ac_arg"
2798 rm -f conftest.
$ac_objext
2799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2800 (eval $ac_compile) 2>conftest.er1
2802 grep -v '^ *+' conftest.er1
>conftest.err
2804 cat conftest.err
>&5
2805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2806 (exit $ac_status); } &&
2807 { ac_try
='test -z "$ac_c_werror_flag"
2808 || test ! -s conftest.err'
2809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 (exit $ac_status); }; } &&
2814 { ac_try
='test -s conftest.$ac_objext'
2815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819 (exit $ac_status); }; }; then
2820 ac_cv_prog_cc_stdc
=$ac_arg
2823 echo "$as_me: failed program was:" >&5
2824 sed 's/^/| /' conftest.
$ac_ext >&5
2827 rm -f conftest.err conftest.
$ac_objext
2829 rm -f conftest.
$ac_ext conftest.
$ac_objext
2834 case "x$ac_cv_prog_cc_stdc" in
2836 echo "$as_me:$LINENO: result: none needed" >&5
2837 echo "${ECHO_T}none needed" >&6 ;;
2839 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2840 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2841 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2844 # Some people use a C++ compiler to compile C. Since we use `exit',
2845 # in C++ we need to declare it. In case someone uses the same compiler
2846 # for both compiling C and C++ we need to have the C++ compiler decide
2847 # the declaration of exit, since it's the most demanding environment.
2848 cat >conftest.
$ac_ext <<_ACEOF
2853 rm -f conftest.
$ac_objext
2854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2855 (eval $ac_compile) 2>conftest.er1
2857 grep -v '^ *+' conftest.er1
>conftest.err
2859 cat conftest.err
>&5
2860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861 (exit $ac_status); } &&
2862 { ac_try
='test -z "$ac_c_werror_flag"
2863 || test ! -s conftest.err'
2864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868 (exit $ac_status); }; } &&
2869 { ac_try
='test -s conftest.$ac_objext'
2870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); }; }; then
2875 for ac_declaration
in \
2877 'extern "C" void std::exit (int) throw (); using std::exit;' \
2878 'extern "C" void std::exit (int); using std::exit;' \
2879 'extern "C" void exit (int) throw ();' \
2880 'extern "C" void exit (int);' \
2883 cat >conftest.
$ac_ext <<_ACEOF
2886 cat confdefs.h
>>conftest.
$ac_ext
2887 cat >>conftest.
$ac_ext <<_ACEOF
2888 /* end confdefs.h. */
2899 rm -f conftest.
$ac_objext
2900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2901 (eval $ac_compile) 2>conftest.er1
2903 grep -v '^ *+' conftest.er1
>conftest.err
2905 cat conftest.err
>&5
2906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2907 (exit $ac_status); } &&
2908 { ac_try
='test -z "$ac_c_werror_flag"
2909 || test ! -s conftest.err'
2910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); }; } &&
2915 { ac_try
='test -s conftest.$ac_objext'
2916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920 (exit $ac_status); }; }; then
2923 echo "$as_me: failed program was:" >&5
2924 sed 's/^/| /' conftest.
$ac_ext >&5
2928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2929 cat >conftest.
$ac_ext <<_ACEOF
2932 cat confdefs.h
>>conftest.
$ac_ext
2933 cat >>conftest.
$ac_ext <<_ACEOF
2934 /* end confdefs.h. */
2944 rm -f conftest.
$ac_objext
2945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2946 (eval $ac_compile) 2>conftest.er1
2948 grep -v '^ *+' conftest.er1
>conftest.err
2950 cat conftest.err
>&5
2951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952 (exit $ac_status); } &&
2953 { ac_try
='test -z "$ac_c_werror_flag"
2954 || test ! -s conftest.err'
2955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959 (exit $ac_status); }; } &&
2960 { ac_try
='test -s conftest.$ac_objext'
2961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); }; }; then
2968 echo "$as_me: failed program was:" >&5
2969 sed 's/^/| /' conftest.
$ac_ext >&5
2972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2975 if test -n "$ac_declaration"; then
2976 echo '#ifdef __cplusplus' >>confdefs.h
2977 echo $ac_declaration >>confdefs.h
2978 echo '#endif' >>confdefs.h
2982 echo "$as_me: failed program was:" >&5
2983 sed 's/^/| /' conftest.
$ac_ext >&5
2986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2988 ac_cpp
='$CPP $CPPFLAGS'
2989 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2990 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2991 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2995 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
2996 if test "x$GCC" = "xyes"; then
2997 AM_FCFLAGS
="-I . -Wall -fno-repack-arrays -fno-underscoring"
2998 ## We like to use C99 routines when available. This makes sure that
2999 ## __STDC_VERSION__ is set such that libc includes make them available.
3000 AM_CFLAGS
="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
3005 # Find other programs we need.
3006 if test -n "$ac_tool_prefix"; then
3007 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3008 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3009 echo "$as_me:$LINENO: checking for $ac_word" >&5
3010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3011 if test "${ac_cv_prog_AS+set}" = set; then
3012 echo $ECHO_N "(cached) $ECHO_C" >&6
3014 if test -n "$AS"; then
3015 ac_cv_prog_AS
="$AS" # Let the user override the test.
3017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3021 test -z "$as_dir" && as_dir
=.
3022 for ac_exec_ext
in '' $ac_executable_extensions; do
3023 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3024 ac_cv_prog_AS
="${ac_tool_prefix}as"
3025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3034 if test -n "$AS"; then
3035 echo "$as_me:$LINENO: result: $AS" >&5
3036 echo "${ECHO_T}$AS" >&6
3038 echo "$as_me:$LINENO: result: no" >&5
3039 echo "${ECHO_T}no" >&6
3043 if test -z "$ac_cv_prog_AS"; then
3045 # Extract the first word of "as", so it can be a program name with args.
3046 set dummy as
; ac_word
=$2
3047 echo "$as_me:$LINENO: checking for $ac_word" >&5
3048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3049 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3050 echo $ECHO_N "(cached) $ECHO_C" >&6
3052 if test -n "$ac_ct_AS"; then
3053 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3059 test -z "$as_dir" && as_dir
=.
3060 for ac_exec_ext
in '' $ac_executable_extensions; do
3061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3062 ac_cv_prog_ac_ct_AS
="as"
3063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3071 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3072 if test -n "$ac_ct_AS"; then
3073 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3074 echo "${ECHO_T}$ac_ct_AS" >&6
3076 echo "$as_me:$LINENO: result: no" >&5
3077 echo "${ECHO_T}no" >&6
3085 if test -n "$ac_tool_prefix"; then
3086 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3087 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3088 echo "$as_me:$LINENO: checking for $ac_word" >&5
3089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3090 if test "${ac_cv_prog_AR+set}" = set; then
3091 echo $ECHO_N "(cached) $ECHO_C" >&6
3093 if test -n "$AR"; then
3094 ac_cv_prog_AR
="$AR" # Let the user override the test.
3096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3100 test -z "$as_dir" && as_dir
=.
3101 for ac_exec_ext
in '' $ac_executable_extensions; do
3102 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3103 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3113 if test -n "$AR"; then
3114 echo "$as_me:$LINENO: result: $AR" >&5
3115 echo "${ECHO_T}$AR" >&6
3117 echo "$as_me:$LINENO: result: no" >&5
3118 echo "${ECHO_T}no" >&6
3122 if test -z "$ac_cv_prog_AR"; then
3124 # Extract the first word of "ar", so it can be a program name with args.
3125 set dummy
ar; ac_word
=$2
3126 echo "$as_me:$LINENO: checking for $ac_word" >&5
3127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3128 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3129 echo $ECHO_N "(cached) $ECHO_C" >&6
3131 if test -n "$ac_ct_AR"; then
3132 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3138 test -z "$as_dir" && as_dir
=.
3139 for ac_exec_ext
in '' $ac_executable_extensions; do
3140 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3141 ac_cv_prog_ac_ct_AR
="ar"
3142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3150 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3151 if test -n "$ac_ct_AR"; then
3152 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3153 echo "${ECHO_T}$ac_ct_AR" >&6
3155 echo "$as_me:$LINENO: result: no" >&5
3156 echo "${ECHO_T}no" >&6
3164 if test -n "$ac_tool_prefix"; then
3165 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3166 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3167 echo "$as_me:$LINENO: checking for $ac_word" >&5
3168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3169 if test "${ac_cv_prog_RANLIB+set}" = set; then
3170 echo $ECHO_N "(cached) $ECHO_C" >&6
3172 if test -n "$RANLIB"; then
3173 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3179 test -z "$as_dir" && as_dir
=.
3180 for ac_exec_ext
in '' $ac_executable_extensions; do
3181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3182 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3191 RANLIB
=$ac_cv_prog_RANLIB
3192 if test -n "$RANLIB"; then
3193 echo "$as_me:$LINENO: result: $RANLIB" >&5
3194 echo "${ECHO_T}$RANLIB" >&6
3196 echo "$as_me:$LINENO: result: no" >&5
3197 echo "${ECHO_T}no" >&6
3201 if test -z "$ac_cv_prog_RANLIB"; then
3202 ac_ct_RANLIB
=$RANLIB
3203 # Extract the first word of "ranlib", so it can be a program name with args.
3204 set dummy ranlib
; ac_word
=$2
3205 echo "$as_me:$LINENO: checking for $ac_word" >&5
3206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3207 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3208 echo $ECHO_N "(cached) $ECHO_C" >&6
3210 if test -n "$ac_ct_RANLIB"; then
3211 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3217 test -z "$as_dir" && as_dir
=.
3218 for ac_exec_ext
in '' $ac_executable_extensions; do
3219 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3220 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3227 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
="ranlib-not-found-in-path-error"
3230 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3231 if test -n "$ac_ct_RANLIB"; then
3232 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3233 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3235 echo "$as_me:$LINENO: result: no" >&5
3236 echo "${ECHO_T}no" >&6
3239 RANLIB
=$ac_ct_RANLIB
3241 RANLIB
="$ac_cv_prog_RANLIB"
3244 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3245 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3246 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3247 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3248 echo $ECHO_N "(cached) $ECHO_C" >&6
3250 cat >conftest.
make <<\_ACEOF
3252 @
echo 'ac_maketemp="$(MAKE)"'
3254 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3255 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3256 if test -n "$ac_maketemp"; then
3257 eval ac_cv_prog_make_
${ac_make}_set
=yes
3259 eval ac_cv_prog_make_
${ac_make}_set
=no
3263 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3264 echo "$as_me:$LINENO: result: yes" >&5
3265 echo "${ECHO_T}yes" >&6
3268 echo "$as_me:$LINENO: result: no" >&5
3269 echo "${ECHO_T}no" >&6
3270 SET_MAKE
="MAKE=${MAKE-make}"
3273 # Find a good install program. We prefer a C program (faster),
3274 # so one script is as good as another. But avoid the broken or
3275 # incompatible versions:
3276 # SysV /etc/install, /usr/sbin/install
3277 # SunOS /usr/etc/install
3278 # IRIX /sbin/install
3280 # AmigaOS /C/install, which installs bootblocks on floppy discs
3281 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3282 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3283 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3284 # OS/2's system install, which has a completely different semantic
3285 # ./install, which can be erroneously created by make from ./install.sh.
3286 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3287 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3288 if test -z "$INSTALL"; then
3289 if test "${ac_cv_path_install+set}" = set; then
3290 echo $ECHO_N "(cached) $ECHO_C" >&6
3292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3296 test -z "$as_dir" && as_dir
=.
3297 # Account for people who put trailing slashes in PATH elements.
3299 .
/ | .
// |
/cC
/* | \
3300 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3301 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3304 # OSF1 and SCO ODT 3.0 have their own names for install.
3305 # Don't use installbsd from OSF since it installs stuff as root
3307 for ac_prog
in ginstall scoinst
install; do
3308 for ac_exec_ext
in '' $ac_executable_extensions; do
3309 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3310 if test $ac_prog = install &&
3311 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3312 # AIX install. It has an incompatible calling convention.
3314 elif test $ac_prog = install &&
3315 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3316 # program-specific install script used by HP pwplus--don't use.
3319 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3331 if test "${ac_cv_path_install+set}" = set; then
3332 INSTALL
=$ac_cv_path_install
3334 # As a last resort, use the slow shell script. We don't cache a
3335 # path for INSTALL within a source directory, because that will
3336 # break other packages using the cache if that directory is
3337 # removed, or if the path is relative.
3338 INSTALL
=$ac_install_sh
3341 echo "$as_me:$LINENO: result: $INSTALL" >&5
3342 echo "${ECHO_T}$INSTALL" >&6
3344 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3345 # It thinks the first close brace ends the variable substitution.
3346 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3348 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3350 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3354 #AC_MSG_NOTICE([====== Starting libtool configuration])
3356 # Check whether --enable-shared or --disable-shared was given.
3357 if test "${enable_shared+set}" = set; then
3358 enableval
="$enable_shared"
3359 p
=${PACKAGE-default}
3361 yes) enable_shared
=yes ;;
3362 no
) enable_shared
=no
;;
3365 # Look at the argument we got. We use all the common list separators.
3366 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3367 for pkg
in $enableval; do
3368 if test "X$pkg" = "X$p"; then
3378 # Check whether --enable-static or --disable-static was given.
3379 if test "${enable_static+set}" = set; then
3380 enableval
="$enable_static"
3381 p
=${PACKAGE-default}
3383 yes) enable_static
=yes ;;
3384 no
) enable_static
=no
;;
3387 # Look at the argument we got. We use all the common list separators.
3388 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3389 for pkg
in $enableval; do
3390 if test "X$pkg" = "X$p"; then
3400 # Check whether --enable-fast-install or --disable-fast-install was given.
3401 if test "${enable_fast_install+set}" = set; then
3402 enableval
="$enable_fast_install"
3403 p
=${PACKAGE-default}
3405 yes) enable_fast_install
=yes ;;
3406 no
) enable_fast_install
=no
;;
3408 enable_fast_install
=no
3409 # Look at the argument we got. We use all the common list separators.
3410 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3411 for pkg
in $enableval; do
3412 if test "X$pkg" = "X$p"; then
3413 enable_fast_install
=yes
3420 enable_fast_install
=yes
3423 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3424 if test "${with_gnu_ld+set}" = set; then
3425 withval
="$with_gnu_ld"
3426 test "$withval" = no || with_gnu_ld
=yes
3431 if test "$GCC" = yes; then
3432 # Check if gcc -print-prog-name=ld gives a path.
3433 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3434 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3437 # gcc leaves a trailing carriage return which upsets mingw
3438 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3440 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3443 # Accept absolute paths.
3444 [\\/]* |
[A-Za-z
]:[\\/]*)
3445 re_direlt
='/[^/][^/]*/\.\./'
3446 # Canonicalize the path of ld
3447 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3448 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3449 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3451 test -z "$LD" && LD
="$ac_prog"
3454 # If it fails, then pretend we aren't using GCC.
3458 # If it is relative, then search for the first ld in PATH.
3462 elif test "$with_gnu_ld" = yes; then
3463 echo "$as_me:$LINENO: checking for GNU ld" >&5
3464 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3466 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3467 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3469 if test "${lt_cv_path_LD+set}" = set; then
3470 echo $ECHO_N "(cached) $ECHO_C" >&6
3472 if test -z "$LD"; then
3473 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3474 for ac_dir
in $PATH; do
3475 test -z "$ac_dir" && ac_dir
=.
3476 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3477 lt_cv_path_LD
="$ac_dir/$ac_prog"
3478 # Check to see if the program is GNU ld. I'd rather use --version,
3479 # but apparently some GNU ld's only accept -v.
3480 # Break only if it was the GNU/non-GNU ld that we prefer.
3481 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3482 test "$with_gnu_ld" != no
&& break
3484 test "$with_gnu_ld" != yes && break
3490 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3495 if test -n "$LD"; then
3496 echo "$as_me:$LINENO: result: $LD" >&5
3497 echo "${ECHO_T}$LD" >&6
3499 echo "$as_me:$LINENO: result: no" >&5
3500 echo "${ECHO_T}no" >&6
3502 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3503 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3504 { (exit 1); exit 1; }; }
3505 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3506 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3507 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3508 echo $ECHO_N "(cached) $ECHO_C" >&6
3510 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3511 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3512 lt_cv_prog_gnu_ld
=yes
3514 lt_cv_prog_gnu_ld
=no
3517 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3518 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3519 with_gnu_ld
=$lt_cv_prog_gnu_ld
3522 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3523 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3524 if test "${lt_cv_ld_reload_flag+set}" = set; then
3525 echo $ECHO_N "(cached) $ECHO_C" >&6
3527 lt_cv_ld_reload_flag
='-r'
3529 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3530 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3531 reload_flag
=$lt_cv_ld_reload_flag
3532 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3534 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3535 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3536 if test "${lt_cv_path_NM+set}" = set; then
3537 echo $ECHO_N "(cached) $ECHO_C" >&6
3539 if test -n "$NM"; then
3540 # Let the user override the test.
3543 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3544 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3545 test -z "$ac_dir" && ac_dir
=.
3546 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3547 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3548 # Check to see if the nm accepts a BSD-compat flag.
3549 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3550 # nm: unknown option "B" ignored
3551 # Tru64's nm complains that /dev/null is an invalid object file
3552 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3553 lt_cv_path_NM
="$tmp_nm -B"
3555 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3556 lt_cv_path_NM
="$tmp_nm -p"
3559 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3560 continue # so that we can try to find one that supports BSD flags
3565 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3570 echo "$as_me:$LINENO: result: $NM" >&5
3571 echo "${ECHO_T}$NM" >&6
3573 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3574 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3576 if test "$LN_S" = "ln -s"; then
3577 echo "$as_me:$LINENO: result: yes" >&5
3578 echo "${ECHO_T}yes" >&6
3580 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3581 echo "${ECHO_T}no, using $LN_S" >&6
3584 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3585 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3586 if test "${lt_cv_deplibs_check_method+set}" = set; then
3587 echo $ECHO_N "(cached) $ECHO_C" >&6
3589 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3590 lt_cv_file_magic_test_file
=
3591 lt_cv_deplibs_check_method
='unknown'
3592 # Need to set the preceding variable on all platforms that support
3593 # interlibrary dependencies.
3594 # 'none' -- dependencies not supported.
3595 # `unknown' -- same as none, but documents that we really don't know.
3596 # 'pass_all' -- all dependencies passed with no checks.
3597 # 'test_compile' -- check by making test program.
3598 # 'file_magic [regex]' -- check by looking for files in library path
3599 # which responds to the $file_magic_cmd with a given egrep regex.
3600 # If you have `file' or equivalent on your system and you're not sure
3601 # whether `pass_all' will *always* work, you probably want this one.
3605 lt_cv_deplibs_check_method
=pass_all
3609 lt_cv_deplibs_check_method
=pass_all
3613 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3614 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3615 lt_cv_file_magic_test_file
=/shlib
/libc.so
3618 cygwin
* | mingw
* |pw32
*)
3619 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3620 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3623 darwin
* | rhapsody
*)
3624 # this will be overwritten by pass_all, but leave it in just in case
3625 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3626 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3628 rhapsody
* | darwin1.012
)
3629 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3632 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3635 lt_cv_deplibs_check_method
=pass_all
3638 freebsd
* | kfreebsd
*-gnu)
3639 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3642 # Not sure whether the presence of OpenBSD here was a mistake.
3643 # Let's accept both of them until this is cleared up.
3644 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3645 lt_cv_file_magic_cmd
=/usr
/bin
/file
3646 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3650 lt_cv_deplibs_check_method
=pass_all
3655 lt_cv_deplibs_check_method
=pass_all
3661 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3662 lt_cv_file_magic_cmd
=/usr
/bin
/file
3663 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3666 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3667 lt_cv_file_magic_cmd
=/usr
/bin
/file
3668 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3676 # this will be overridden with pass_all, but let us keep it just in case
3677 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3681 *-32|
*"-32 ") libmagic
=32-bit;;
3682 *-n32|
*"-n32 ") libmagic
=N32
;;
3683 *-64|
*"-64 ") libmagic
=64-bit;;
3684 *) libmagic
=never-match
;;
3686 # this will be overridden with pass_all, but let us keep it just in case
3687 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3690 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3691 lt_cv_deplibs_check_method
=pass_all
3694 # This must be Linux ELF.
3696 lt_cv_deplibs_check_method
=pass_all
3699 netbsd
* | knetbsd
*-gnu)
3700 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3701 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3703 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3708 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3709 lt_cv_file_magic_cmd
=/usr
/bin
/file
3710 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3713 osf3
* | osf4
* | osf5
*)
3714 # this will be overridden with pass_all, but let us keep it just in case
3715 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3716 lt_cv_file_magic_test_file
=/shlib
/libc.so
3717 lt_cv_deplibs_check_method
=pass_all
3721 lt_cv_deplibs_check_method
=pass_all
3725 lt_cv_deplibs_check_method
=pass_all
3726 lt_cv_file_magic_test_file
=/lib
/libc.so
3729 sysv5uw
[78]* | sysv4
*uw2
*)
3730 lt_cv_deplibs_check_method
=pass_all
3733 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3734 case $host_vendor in
3736 lt_cv_deplibs_check_method
=pass_all
3739 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]'
3740 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3747 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3748 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3749 file_magic_cmd
=$lt_cv_file_magic_cmd
3750 deplibs_check_method
=$lt_cv_deplibs_check_method
3756 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3758 # find the maximum length of command line arguments
3759 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3760 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3761 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3762 echo $ECHO_N "(cached) $ECHO_C" >&6
3769 # On DJGPP, this test can blow up pretty badly due to problems in libc
3770 # (any single argument exceeding 2000 bytes causes a buffer overrun
3771 # during glob expansion). Even if it were fixed, the result of this
3772 # check would be larger than it should be.
3773 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3777 # On Win9x/ME, this test blows up -- it succeeds, but takes
3778 # about 5 minutes as the teststring grows exponentially.
3779 # Worse, since 9x/ME are not pre-emptively multitasking,
3780 # you end up with a "frozen" computer, even though with patience
3781 # the test eventually succeeds (with a max line length of 256k).
3782 # Instead, let's just punt: use the minimum linelength reported by
3783 # all of the supported platforms: 8192 (on NT/2K/XP).
3784 lt_cv_sys_max_cmd_len
=8192;
3788 # On AmigaOS with pdksh, this test takes hours, literally.
3789 # So we just punt and use a minimum line length of 8192.
3790 lt_cv_sys_max_cmd_len
=8192;
3793 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3794 # This has been around since 386BSD, at least. Likely further.
3795 if test -x /sbin
/sysctl
; then
3796 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3797 elif test -x /usr
/sbin
/sysctl
; then
3798 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3800 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
3802 # And add a safety zone
3803 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3804 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3810 if test -n "$lt_cv_sys_max_cmd_len" ; then
3811 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3812 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3814 echo "$as_me:$LINENO: result: none" >&5
3815 echo "${ECHO_T}none" >&6
3819 # Only perform the check for file, if the check method requires it
3820 case $deplibs_check_method in
3822 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3823 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3824 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3825 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3826 echo $ECHO_N "(cached) $ECHO_C" >&6
3830 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3833 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3836 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3837 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3838 ac_dummy
="/usr/bin:$PATH"
3839 for ac_dir
in $ac_dummy; do
3840 test -z "$ac_dir" && ac_dir
=.
3841 if test -f $ac_dir/${ac_tool_prefix}file; then
3842 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3843 if test -n "$file_magic_test_file"; then
3844 case $deplibs_check_method in
3846 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3847 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3848 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3849 egrep "$file_magic_regex" > /dev
/null
; then
3854 *** Warning: the command libtool uses to detect shared libraries,
3855 *** $file_magic_cmd, produces output that libtool cannot recognize.
3856 *** The result is that libtool may fail to recognize shared libraries
3857 *** as such. This will affect the creation of libtool libraries that
3858 *** depend on shared libraries, but programs linked with such libtool
3859 *** libraries will work regardless of this problem. Nevertheless, you
3860 *** may want to report the problem to your system manager and/or to
3861 *** bug-libtool@gnu.org
3871 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3876 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3877 if test -n "$MAGIC_CMD"; then
3878 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3879 echo "${ECHO_T}$MAGIC_CMD" >&6
3881 echo "$as_me:$LINENO: result: no" >&5
3882 echo "${ECHO_T}no" >&6
3885 if test -z "$lt_cv_path_MAGIC_CMD"; then
3886 if test -n "$ac_tool_prefix"; then
3887 echo "$as_me:$LINENO: checking for file" >&5
3888 echo $ECHO_N "checking for file... $ECHO_C" >&6
3889 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3890 echo $ECHO_N "(cached) $ECHO_C" >&6
3894 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3897 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3900 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3901 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3902 ac_dummy
="/usr/bin:$PATH"
3903 for ac_dir
in $ac_dummy; do
3904 test -z "$ac_dir" && ac_dir
=.
3905 if test -f $ac_dir/file; then
3906 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3907 if test -n "$file_magic_test_file"; then
3908 case $deplibs_check_method in
3910 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3911 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3912 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3913 egrep "$file_magic_regex" > /dev
/null
; then
3918 *** Warning: the command libtool uses to detect shared libraries,
3919 *** $file_magic_cmd, produces output that libtool cannot recognize.
3920 *** The result is that libtool may fail to recognize shared libraries
3921 *** as such. This will affect the creation of libtool libraries that
3922 *** depend on shared libraries, but programs linked with such libtool
3923 *** libraries will work regardless of this problem. Nevertheless, you
3924 *** may want to report the problem to your system manager and/or to
3925 *** bug-libtool@gnu.org
3935 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3940 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3941 if test -n "$MAGIC_CMD"; then
3942 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3943 echo "${ECHO_T}$MAGIC_CMD" >&6
3945 echo "$as_me:$LINENO: result: no" >&5
3946 echo "${ECHO_T}no" >&6
3958 if test -n "$ac_tool_prefix"; then
3959 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3960 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3961 echo "$as_me:$LINENO: checking for $ac_word" >&5
3962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3963 if test "${ac_cv_prog_RANLIB+set}" = set; then
3964 echo $ECHO_N "(cached) $ECHO_C" >&6
3966 if test -n "$RANLIB"; then
3967 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3973 test -z "$as_dir" && as_dir
=.
3974 for ac_exec_ext
in '' $ac_executable_extensions; do
3975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3976 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3985 RANLIB
=$ac_cv_prog_RANLIB
3986 if test -n "$RANLIB"; then
3987 echo "$as_me:$LINENO: result: $RANLIB" >&5
3988 echo "${ECHO_T}$RANLIB" >&6
3990 echo "$as_me:$LINENO: result: no" >&5
3991 echo "${ECHO_T}no" >&6
3995 if test -z "$ac_cv_prog_RANLIB"; then
3996 ac_ct_RANLIB
=$RANLIB
3997 # Extract the first word of "ranlib", so it can be a program name with args.
3998 set dummy ranlib
; ac_word
=$2
3999 echo "$as_me:$LINENO: checking for $ac_word" >&5
4000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4001 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4002 echo $ECHO_N "(cached) $ECHO_C" >&6
4004 if test -n "$ac_ct_RANLIB"; then
4005 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4011 test -z "$as_dir" && as_dir
=.
4012 for ac_exec_ext
in '' $ac_executable_extensions; do
4013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4014 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4021 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4024 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4025 if test -n "$ac_ct_RANLIB"; then
4026 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4027 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4029 echo "$as_me:$LINENO: result: no" >&5
4030 echo "${ECHO_T}no" >&6
4033 RANLIB
=$ac_ct_RANLIB
4035 RANLIB
="$ac_cv_prog_RANLIB"
4038 if test -n "$ac_tool_prefix"; then
4039 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4040 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4041 echo "$as_me:$LINENO: checking for $ac_word" >&5
4042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4043 if test "${ac_cv_prog_STRIP+set}" = set; then
4044 echo $ECHO_N "(cached) $ECHO_C" >&6
4046 if test -n "$STRIP"; then
4047 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4053 test -z "$as_dir" && as_dir
=.
4054 for ac_exec_ext
in '' $ac_executable_extensions; do
4055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4056 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4065 STRIP
=$ac_cv_prog_STRIP
4066 if test -n "$STRIP"; then
4067 echo "$as_me:$LINENO: result: $STRIP" >&5
4068 echo "${ECHO_T}$STRIP" >&6
4070 echo "$as_me:$LINENO: result: no" >&5
4071 echo "${ECHO_T}no" >&6
4075 if test -z "$ac_cv_prog_STRIP"; then
4077 # Extract the first word of "strip", so it can be a program name with args.
4078 set dummy strip
; ac_word
=$2
4079 echo "$as_me:$LINENO: checking for $ac_word" >&5
4080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4081 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4082 echo $ECHO_N "(cached) $ECHO_C" >&6
4084 if test -n "$ac_ct_STRIP"; then
4085 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4091 test -z "$as_dir" && as_dir
=.
4092 for ac_exec_ext
in '' $ac_executable_extensions; do
4093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4094 ac_cv_prog_ac_ct_STRIP
="strip"
4095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4101 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
4104 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4105 if test -n "$ac_ct_STRIP"; then
4106 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4107 echo "${ECHO_T}$ac_ct_STRIP" >&6
4109 echo "$as_me:$LINENO: result: no" >&5
4110 echo "${ECHO_T}no" >&6
4115 STRIP
="$ac_cv_prog_STRIP"
4119 # Check for any special flags to pass to ltconfig.
4120 libtool_flags
="--cache-file=$cache_file"
4121 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
4122 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
4123 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
4124 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
4125 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
4128 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4129 if test "${enable_libtool_lock+set}" = set; then
4130 enableval
="$enable_libtool_lock"
4133 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4134 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4137 # Check whether --with-pic or --without-pic was given.
4138 if test "${with_pic+set}" = set; then
4144 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4145 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4147 # Some flags need to be propagated to the compiler or linker for good
4151 # Find out which ABI we are using.
4152 echo '#line 4152 "configure"' > conftest.
$ac_ext
4153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4154 (eval $ac_compile) 2>&5
4156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4157 (exit $ac_status); }; then
4158 if test "$lt_cv_prog_gnu_ld" = yes; then
4159 case `/usr/bin/file conftest.$ac_objext` in
4161 LD
="${LD-ld} -melf32bsmip"
4164 LD
="${LD-ld} -melf32bmipn32"
4167 LD
="${LD-ld} -melf64bmip"
4171 case `/usr/bin/file conftest.$ac_objext` in
4188 # Find out which ABI we are using.
4189 echo 'int i;' > conftest.
$ac_ext
4190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4191 (eval $ac_compile) 2>&5
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); }; then
4195 case "`/usr/bin/file conftest.o`" in
4207 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4208 # Find out which ABI we are using.
4209 echo 'int i;' > conftest.
$ac_ext
4210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4211 (eval $ac_compile) 2>&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); }; then
4215 case "`/usr/bin/file conftest.o`" in
4219 LD
="${LD-ld} -m elf_i386"
4221 ppc64-
*linux
*|powerpc64-
*linux
*)
4222 LD
="${LD-ld} -m elf32ppclinux"
4225 LD
="${LD-ld} -m elf_s390"
4228 LD
="${LD-ld} -m elf32_sparc"
4235 LD
="${LD-ld} -m elf_x86_64"
4237 ppc
*-*linux
*|powerpc
*-*linux
*)
4238 LD
="${LD-ld} -m elf64ppc"
4241 LD
="${LD-ld} -m elf64_s390"
4244 LD
="${LD-ld} -m elf64_sparc"
4254 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4255 SAVE_CFLAGS
="$CFLAGS"
4256 CFLAGS
="$CFLAGS -belf"
4257 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4258 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4259 if test "${lt_cv_cc_needs_belf+set}" = set; then
4260 echo $ECHO_N "(cached) $ECHO_C" >&6
4265 ac_cpp
='$CPP $CPPFLAGS'
4266 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4267 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4268 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4270 if test x
$gcc_no_link = xyes
; then
4271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4273 { (exit 1); exit 1; }; }
4275 cat >conftest.
$ac_ext <<_ACEOF
4278 cat confdefs.h
>>conftest.
$ac_ext
4279 cat >>conftest.
$ac_ext <<_ACEOF
4280 /* end confdefs.h. */
4290 rm -f conftest.
$ac_objext conftest
$ac_exeext
4291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4292 (eval $ac_link) 2>conftest.er1
4294 grep -v '^ *+' conftest.er1
>conftest.err
4296 cat conftest.err
>&5
4297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4298 (exit $ac_status); } &&
4299 { ac_try
='test -z "$ac_c_werror_flag"
4300 || test ! -s conftest.err'
4301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); }; } &&
4306 { ac_try
='test -s conftest$ac_exeext'
4307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311 (exit $ac_status); }; }; then
4312 lt_cv_cc_needs_belf
=yes
4314 echo "$as_me: failed program was:" >&5
4315 sed 's/^/| /' conftest.
$ac_ext >&5
4317 lt_cv_cc_needs_belf
=no
4319 rm -f conftest.err conftest.
$ac_objext \
4320 conftest
$ac_exeext conftest.
$ac_ext
4322 ac_cpp
='$CPP $CPPFLAGS'
4323 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4324 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4325 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4328 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4329 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4330 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4331 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4332 CFLAGS
="$SAVE_CFLAGS"
4340 # Save cache, so that ltconfig can load it
4341 cat >confcache
<<\_ACEOF
4342 # This file is a shell script that caches the results of configure
4343 # tests run on this system so they can be shared between configure
4344 # scripts and configure runs, see configure's option --config-cache.
4345 # It is not useful on other systems. If it contains results you don't
4346 # want to keep, you may remove or edit it.
4348 # config.status only pays attention to the cache file if you give it
4349 # the --recheck option to rerun configure.
4351 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4352 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4357 # The following way of writing the cache mishandles newlines in values,
4358 # but we know of no workaround that is simple, portable, and efficient.
4359 # So, don't put newlines in cache variables' values.
4360 # Ultrix sh set writes to stderr and can't be redirected directly,
4361 # and sets the high bit in the cache file unless we assign to the vars.
4364 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4366 # `set' does not quote correctly, so add quotes (double-quote
4367 # substitution turns \\\\ into \\, and sed turns \\ into \).
4370 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4373 # `set' quotes correctly as required by POSIX, so do not add quotes.
4375 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4382 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4384 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4386 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4387 if test -w $cache_file; then
4388 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4389 cat confcache
>$cache_file
4391 echo "not updating unwritable cache $cache_file"
4396 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4397 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4398 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4399 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4400 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4401 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4402 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4403 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4404 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4405 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4406 echo "$as_me: error: libtool configure failed" >&2;}
4407 { (exit 1); exit 1; }; }
4409 # Reload cache, that may have been modified by ltconfig
4410 if test -r "$cache_file"; then
4411 # Some versions of bash will fail to source /dev/null (special
4412 # files actually), so we avoid doing that.
4413 if test -f "$cache_file"; then
4414 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4415 echo "$as_me: loading cache $cache_file" >&6;}
4417 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4418 *) . .
/$cache_file;;
4422 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4423 echo "$as_me: creating cache $cache_file" >&6;}
4428 # This can be used to rebuild libtool when needed
4429 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4431 # Always use our own libtool.
4432 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4434 # Redirect the config.log output again, so that the ltconfig log is not
4435 # clobbered by the next message.
4436 exec 5>>.
/config.log
4445 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4447 # We need gfortran to compile parts of the library
4448 #AC_PROG_FC(gfortran)
4450 ac_ext
=${FC_SRCEXT-f}
4451 ac_compile
='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4452 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4453 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
4454 if test -n "$ac_tool_prefix"; then
4455 for ac_prog
in gfortran
4457 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4458 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4459 echo "$as_me:$LINENO: checking for $ac_word" >&5
4460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4461 if test "${ac_cv_prog_FC+set}" = set; then
4462 echo $ECHO_N "(cached) $ECHO_C" >&6
4464 if test -n "$FC"; then
4465 ac_cv_prog_FC
="$FC" # Let the user override the test.
4467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4471 test -z "$as_dir" && as_dir
=.
4472 for ac_exec_ext
in '' $ac_executable_extensions; do
4473 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4474 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
4475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4484 if test -n "$FC"; then
4485 echo "$as_me:$LINENO: result: $FC" >&5
4486 echo "${ECHO_T}$FC" >&6
4488 echo "$as_me:$LINENO: result: no" >&5
4489 echo "${ECHO_T}no" >&6
4492 test -n "$FC" && break
4495 if test -z "$FC"; then
4497 for ac_prog
in gfortran
4499 # Extract the first word of "$ac_prog", so it can be a program name with args.
4500 set dummy
$ac_prog; ac_word
=$2
4501 echo "$as_me:$LINENO: checking for $ac_word" >&5
4502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4503 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4504 echo $ECHO_N "(cached) $ECHO_C" >&6
4506 if test -n "$ac_ct_FC"; then
4507 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
4509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4513 test -z "$as_dir" && as_dir
=.
4514 for ac_exec_ext
in '' $ac_executable_extensions; do
4515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4516 ac_cv_prog_ac_ct_FC
="$ac_prog"
4517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4525 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
4526 if test -n "$ac_ct_FC"; then
4527 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4528 echo "${ECHO_T}$ac_ct_FC" >&6
4530 echo "$as_me:$LINENO: result: no" >&5
4531 echo "${ECHO_T}no" >&6
4534 test -n "$ac_ct_FC" && break
4541 # Provide some information about the compiler.
4542 echo "$as_me:4542:" \
4543 "checking for Fortran compiler version" >&5
4544 ac_compiler
=`set X $ac_compile; echo $2`
4545 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4546 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); }
4550 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4551 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4554 (exit $ac_status); }
4555 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4556 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4559 (exit $ac_status); }
4562 # If we don't use `.F' as extension, the preprocessor is not run on the
4563 # input file. (Note that this only needs to work for GNU compilers.)
4566 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4567 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4568 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4569 echo $ECHO_N "(cached) $ECHO_C" >&6
4571 cat >conftest.
$ac_ext <<_ACEOF
4579 rm -f conftest.
$ac_objext
4580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4581 (eval $ac_compile) 2>conftest.er1
4583 grep -v '^ *+' conftest.er1
>conftest.err
4585 cat conftest.err
>&5
4586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587 (exit $ac_status); } &&
4588 { ac_try
='test -z "$ac_fc_werror_flag"
4589 || test ! -s conftest.err'
4590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594 (exit $ac_status); }; } &&
4595 { ac_try
='test -s conftest.$ac_objext'
4596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4600 (exit $ac_status); }; }; then
4603 echo "$as_me: failed program was:" >&5
4604 sed 's/^/| /' conftest.
$ac_ext >&5
4608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4609 ac_cv_fc_compiler_gnu
=$ac_compiler_gnu
4612 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4613 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4615 ac_test_FFLAGS
=${FCFLAGS+set}
4616 ac_save_FFLAGS
=$FCFLAGS
4618 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4619 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4620 if test "${ac_cv_prog_fc_g+set}" = set; then
4621 echo $ECHO_N "(cached) $ECHO_C" >&6
4624 cat >conftest.
$ac_ext <<_ACEOF
4629 rm -f conftest.
$ac_objext
4630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4631 (eval $ac_compile) 2>conftest.er1
4633 grep -v '^ *+' conftest.er1
>conftest.err
4635 cat conftest.err
>&5
4636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4637 (exit $ac_status); } &&
4638 { ac_try
='test -z "$ac_fc_werror_flag"
4639 || test ! -s conftest.err'
4640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644 (exit $ac_status); }; } &&
4645 { ac_try
='test -s conftest.$ac_objext'
4646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4650 (exit $ac_status); }; }; then
4653 echo "$as_me: failed program was:" >&5
4654 sed 's/^/| /' conftest.
$ac_ext >&5
4658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4661 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4662 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4663 if test "$ac_test_FFLAGS" = set; then
4664 FCFLAGS
=$ac_save_FFLAGS
4665 elif test $ac_cv_prog_fc_g = yes; then
4666 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
4672 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
4680 ac_cpp
='$CPP $CPPFLAGS'
4681 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4682 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4683 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4686 # extra LD Flags which are required for targets
4689 # Darwin needs -single_module when linking libgfortran
4690 extra_ldflags_libgfortran
=-Wl,-single_module
4695 # Check whether --enable-largefile or --disable-largefile was given.
4696 if test "${enable_largefile+set}" = set; then
4697 enableval
="$enable_largefile"
4700 if test "$enable_largefile" != no
; then
4702 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4703 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4704 if test "${ac_cv_sys_largefile_CC+set}" = set; then
4705 echo $ECHO_N "(cached) $ECHO_C" >&6
4707 ac_cv_sys_largefile_CC
=no
4708 if test "$GCC" != yes; then
4711 # IRIX 6.2 and later do not support large files by default,
4712 # so use the C compiler's -n32 option if that helps.
4713 cat >conftest.
$ac_ext <<_ACEOF
4716 cat confdefs.h
>>conftest.
$ac_ext
4717 cat >>conftest.
$ac_ext <<_ACEOF
4718 /* end confdefs.h. */
4719 #include <sys/types.h>
4720 /* Check that off_t can represent 2**63 - 1 correctly.
4721 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4722 since some C++ compilers masquerading as C compilers
4723 incorrectly reject 9223372036854775807. */
4724 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4725 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4726 && LARGE_OFF_T % 2147483647 == 1)
4736 rm -f conftest.
$ac_objext
4737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4738 (eval $ac_compile) 2>conftest.er1
4740 grep -v '^ *+' conftest.er1
>conftest.err
4742 cat conftest.err
>&5
4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); } &&
4745 { ac_try
='test -z "$ac_c_werror_flag"
4746 || test ! -s conftest.err'
4747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751 (exit $ac_status); }; } &&
4752 { ac_try
='test -s conftest.$ac_objext'
4753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4757 (exit $ac_status); }; }; then
4760 echo "$as_me: failed program was:" >&5
4761 sed 's/^/| /' conftest.
$ac_ext >&5
4764 rm -f conftest.err conftest.
$ac_objext
4766 rm -f conftest.
$ac_objext
4767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4768 (eval $ac_compile) 2>conftest.er1
4770 grep -v '^ *+' conftest.er1
>conftest.err
4772 cat conftest.err
>&5
4773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4774 (exit $ac_status); } &&
4775 { ac_try
='test -z "$ac_c_werror_flag"
4776 || test ! -s conftest.err'
4777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781 (exit $ac_status); }; } &&
4782 { ac_try
='test -s conftest.$ac_objext'
4783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787 (exit $ac_status); }; }; then
4788 ac_cv_sys_largefile_CC
=' -n32'; break
4790 echo "$as_me: failed program was:" >&5
4791 sed 's/^/| /' conftest.
$ac_ext >&5
4794 rm -f conftest.err conftest.
$ac_objext
4798 rm -f conftest.
$ac_ext
4801 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4802 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4803 if test "$ac_cv_sys_largefile_CC" != no
; then
4804 CC
=$CC$ac_cv_sys_largefile_CC
4807 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4808 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4809 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4810 echo $ECHO_N "(cached) $ECHO_C" >&6
4813 ac_cv_sys_file_offset_bits
=no
4814 cat >conftest.
$ac_ext <<_ACEOF
4817 cat confdefs.h
>>conftest.
$ac_ext
4818 cat >>conftest.
$ac_ext <<_ACEOF
4819 /* end confdefs.h. */
4820 #include <sys/types.h>
4821 /* Check that off_t can represent 2**63 - 1 correctly.
4822 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4823 since some C++ compilers masquerading as C compilers
4824 incorrectly reject 9223372036854775807. */
4825 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4826 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4827 && LARGE_OFF_T % 2147483647 == 1)
4837 rm -f conftest.
$ac_objext
4838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4839 (eval $ac_compile) 2>conftest.er1
4841 grep -v '^ *+' conftest.er1
>conftest.err
4843 cat conftest.err
>&5
4844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4845 (exit $ac_status); } &&
4846 { ac_try
='test -z "$ac_c_werror_flag"
4847 || test ! -s conftest.err'
4848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852 (exit $ac_status); }; } &&
4853 { ac_try
='test -s conftest.$ac_objext'
4854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4858 (exit $ac_status); }; }; then
4861 echo "$as_me: failed program was:" >&5
4862 sed 's/^/| /' conftest.
$ac_ext >&5
4865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4866 cat >conftest.
$ac_ext <<_ACEOF
4869 cat confdefs.h
>>conftest.
$ac_ext
4870 cat >>conftest.
$ac_ext <<_ACEOF
4871 /* end confdefs.h. */
4872 #define _FILE_OFFSET_BITS 64
4873 #include <sys/types.h>
4874 /* Check that off_t can represent 2**63 - 1 correctly.
4875 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4876 since some C++ compilers masquerading as C compilers
4877 incorrectly reject 9223372036854775807. */
4878 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4879 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4880 && LARGE_OFF_T % 2147483647 == 1)
4890 rm -f conftest.
$ac_objext
4891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4892 (eval $ac_compile) 2>conftest.er1
4894 grep -v '^ *+' conftest.er1
>conftest.err
4896 cat conftest.err
>&5
4897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4898 (exit $ac_status); } &&
4899 { ac_try
='test -z "$ac_c_werror_flag"
4900 || test ! -s conftest.err'
4901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905 (exit $ac_status); }; } &&
4906 { ac_try
='test -s conftest.$ac_objext'
4907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); }; }; then
4912 ac_cv_sys_file_offset_bits
=64; break
4914 echo "$as_me: failed program was:" >&5
4915 sed 's/^/| /' conftest.
$ac_ext >&5
4918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4922 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4923 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4924 if test "$ac_cv_sys_file_offset_bits" != no
; then
4926 cat >>confdefs.h
<<_ACEOF
4927 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4932 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4933 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4934 if test "${ac_cv_sys_large_files+set}" = set; then
4935 echo $ECHO_N "(cached) $ECHO_C" >&6
4938 ac_cv_sys_large_files
=no
4939 cat >conftest.
$ac_ext <<_ACEOF
4942 cat confdefs.h
>>conftest.
$ac_ext
4943 cat >>conftest.
$ac_ext <<_ACEOF
4944 /* end confdefs.h. */
4945 #include <sys/types.h>
4946 /* Check that off_t can represent 2**63 - 1 correctly.
4947 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4948 since some C++ compilers masquerading as C compilers
4949 incorrectly reject 9223372036854775807. */
4950 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4951 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4952 && LARGE_OFF_T % 2147483647 == 1)
4962 rm -f conftest.
$ac_objext
4963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4964 (eval $ac_compile) 2>conftest.er1
4966 grep -v '^ *+' conftest.er1
>conftest.err
4968 cat conftest.err
>&5
4969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4970 (exit $ac_status); } &&
4971 { ac_try
='test -z "$ac_c_werror_flag"
4972 || test ! -s conftest.err'
4973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4977 (exit $ac_status); }; } &&
4978 { ac_try
='test -s conftest.$ac_objext'
4979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4983 (exit $ac_status); }; }; then
4986 echo "$as_me: failed program was:" >&5
4987 sed 's/^/| /' conftest.
$ac_ext >&5
4990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4991 cat >conftest.
$ac_ext <<_ACEOF
4994 cat confdefs.h
>>conftest.
$ac_ext
4995 cat >>conftest.
$ac_ext <<_ACEOF
4996 /* end confdefs.h. */
4997 #define _LARGE_FILES 1
4998 #include <sys/types.h>
4999 /* Check that off_t can represent 2**63 - 1 correctly.
5000 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5001 since some C++ compilers masquerading as C compilers
5002 incorrectly reject 9223372036854775807. */
5003 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5004 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5005 && LARGE_OFF_T % 2147483647 == 1)
5015 rm -f conftest.
$ac_objext
5016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5017 (eval $ac_compile) 2>conftest.er1
5019 grep -v '^ *+' conftest.er1
>conftest.err
5021 cat conftest.err
>&5
5022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5023 (exit $ac_status); } &&
5024 { ac_try
='test -z "$ac_c_werror_flag"
5025 || test ! -s conftest.err'
5026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030 (exit $ac_status); }; } &&
5031 { ac_try
='test -s conftest.$ac_objext'
5032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036 (exit $ac_status); }; }; then
5037 ac_cv_sys_large_files
=1; break
5039 echo "$as_me: failed program was:" >&5
5040 sed 's/^/| /' conftest.
$ac_ext >&5
5043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5047 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5048 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5049 if test "$ac_cv_sys_large_files" != no
; then
5051 cat >>confdefs.h
<<_ACEOF
5052 #define _LARGE_FILES $ac_cv_sys_large_files
5059 if test x
$gcc_no_link = xyes
; then
5060 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset
; then
5061 ac_cv_func_mmap_fixed_mapped
=no
5064 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno
; then
5066 ac_cpp
='$CPP $CPPFLAGS'
5067 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5068 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5069 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5070 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5071 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5072 # On Suns, sometimes $CPP names a directory.
5073 if test -n "$CPP" && test -d "$CPP"; then
5076 if test -z "$CPP"; then
5077 if test "${ac_cv_prog_CPP+set}" = set; then
5078 echo $ECHO_N "(cached) $ECHO_C" >&6
5080 # Double quotes because CPP needs to be expanded
5081 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5084 for ac_c_preproc_warn_flag
in '' yes
5086 # Use a header file that comes with gcc, so configuring glibc
5087 # with a fresh cross-compiler works.
5088 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5089 # <limits.h> exists even on freestanding compilers.
5090 # On the NeXT, cc -E runs the code through the compiler's parser,
5091 # not just through cpp. "Syntax error" is here to catch this case.
5092 cat >conftest.
$ac_ext <<_ACEOF
5095 cat confdefs.h
>>conftest.
$ac_ext
5096 cat >>conftest.
$ac_ext <<_ACEOF
5097 /* end confdefs.h. */
5099 # include <limits.h>
5101 # include <assert.h>
5105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5106 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5108 grep -v '^ *+' conftest.er1
>conftest.err
5110 cat conftest.err
>&5
5111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112 (exit $ac_status); } >/dev
/null
; then
5113 if test -s conftest.err
; then
5114 ac_cpp_err
=$ac_c_preproc_warn_flag
5115 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5122 if test -z "$ac_cpp_err"; then
5125 echo "$as_me: failed program was:" >&5
5126 sed 's/^/| /' conftest.
$ac_ext >&5
5128 # Broken: fails on valid input.
5131 rm -f conftest.err conftest.
$ac_ext
5133 # OK, works on sane cases. Now check whether non-existent headers
5134 # can be detected and how.
5135 cat >conftest.
$ac_ext <<_ACEOF
5138 cat confdefs.h
>>conftest.
$ac_ext
5139 cat >>conftest.
$ac_ext <<_ACEOF
5140 /* end confdefs.h. */
5141 #include <ac_nonexistent.h>
5143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5144 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5146 grep -v '^ *+' conftest.er1
>conftest.err
5148 cat conftest.err
>&5
5149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150 (exit $ac_status); } >/dev
/null
; then
5151 if test -s conftest.err
; then
5152 ac_cpp_err
=$ac_c_preproc_warn_flag
5153 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5160 if test -z "$ac_cpp_err"; then
5161 # Broken: success on invalid input.
5164 echo "$as_me: failed program was:" >&5
5165 sed 's/^/| /' conftest.
$ac_ext >&5
5167 # Passes both tests.
5171 rm -f conftest.err conftest.
$ac_ext
5174 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5175 rm -f conftest.err conftest.
$ac_ext
5176 if $ac_preproc_ok; then
5188 echo "$as_me:$LINENO: result: $CPP" >&5
5189 echo "${ECHO_T}$CPP" >&6
5191 for ac_c_preproc_warn_flag
in '' yes
5193 # Use a header file that comes with gcc, so configuring glibc
5194 # with a fresh cross-compiler works.
5195 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5196 # <limits.h> exists even on freestanding compilers.
5197 # On the NeXT, cc -E runs the code through the compiler's parser,
5198 # not just through cpp. "Syntax error" is here to catch this case.
5199 cat >conftest.
$ac_ext <<_ACEOF
5202 cat confdefs.h
>>conftest.
$ac_ext
5203 cat >>conftest.
$ac_ext <<_ACEOF
5204 /* end confdefs.h. */
5206 # include <limits.h>
5208 # include <assert.h>
5212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5213 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5215 grep -v '^ *+' conftest.er1
>conftest.err
5217 cat conftest.err
>&5
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); } >/dev
/null
; then
5220 if test -s conftest.err
; then
5221 ac_cpp_err
=$ac_c_preproc_warn_flag
5222 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5229 if test -z "$ac_cpp_err"; then
5232 echo "$as_me: failed program was:" >&5
5233 sed 's/^/| /' conftest.
$ac_ext >&5
5235 # Broken: fails on valid input.
5238 rm -f conftest.err conftest.
$ac_ext
5240 # OK, works on sane cases. Now check whether non-existent headers
5241 # can be detected and how.
5242 cat >conftest.
$ac_ext <<_ACEOF
5245 cat confdefs.h
>>conftest.
$ac_ext
5246 cat >>conftest.
$ac_ext <<_ACEOF
5247 /* end confdefs.h. */
5248 #include <ac_nonexistent.h>
5250 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5251 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5253 grep -v '^ *+' conftest.er1
>conftest.err
5255 cat conftest.err
>&5
5256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5257 (exit $ac_status); } >/dev
/null
; then
5258 if test -s conftest.err
; then
5259 ac_cpp_err
=$ac_c_preproc_warn_flag
5260 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5267 if test -z "$ac_cpp_err"; then
5268 # Broken: success on invalid input.
5271 echo "$as_me: failed program was:" >&5
5272 sed 's/^/| /' conftest.
$ac_ext >&5
5274 # Passes both tests.
5278 rm -f conftest.err conftest.
$ac_ext
5281 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5282 rm -f conftest.err conftest.
$ac_ext
5283 if $ac_preproc_ok; then
5286 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5287 See \`config.log' for more details." >&5
5288 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5289 See \`config.log' for more details." >&2;}
5290 { (exit 1); exit 1; }; }
5294 ac_cpp
='$CPP $CPPFLAGS'
5295 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5296 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5297 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5300 echo "$as_me:$LINENO: checking for egrep" >&5
5301 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5302 if test "${ac_cv_prog_egrep+set}" = set; then
5303 echo $ECHO_N "(cached) $ECHO_C" >&6
5305 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5306 then ac_cv_prog_egrep
='grep -E'
5307 else ac_cv_prog_egrep
='egrep'
5310 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5311 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5312 EGREP
=$ac_cv_prog_egrep
5315 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5316 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5317 if test "${ac_cv_header_stdc+set}" = set; then
5318 echo $ECHO_N "(cached) $ECHO_C" >&6
5320 cat >conftest.
$ac_ext <<_ACEOF
5323 cat confdefs.h
>>conftest.
$ac_ext
5324 cat >>conftest.
$ac_ext <<_ACEOF
5325 /* end confdefs.h. */
5339 rm -f conftest.
$ac_objext
5340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5341 (eval $ac_compile) 2>conftest.er1
5343 grep -v '^ *+' conftest.er1
>conftest.err
5345 cat conftest.err
>&5
5346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5347 (exit $ac_status); } &&
5348 { ac_try
='test -z "$ac_c_werror_flag"
5349 || test ! -s conftest.err'
5350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5354 (exit $ac_status); }; } &&
5355 { ac_try
='test -s conftest.$ac_objext'
5356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5360 (exit $ac_status); }; }; then
5361 ac_cv_header_stdc
=yes
5363 echo "$as_me: failed program was:" >&5
5364 sed 's/^/| /' conftest.
$ac_ext >&5
5366 ac_cv_header_stdc
=no
5368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5370 if test $ac_cv_header_stdc = yes; then
5371 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5372 cat >conftest.
$ac_ext <<_ACEOF
5375 cat confdefs.h
>>conftest.
$ac_ext
5376 cat >>conftest.
$ac_ext <<_ACEOF
5377 /* end confdefs.h. */
5381 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5382 $EGREP "memchr" >/dev
/null
2>&1; then
5385 ac_cv_header_stdc
=no
5391 if test $ac_cv_header_stdc = yes; then
5392 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5393 cat >conftest.
$ac_ext <<_ACEOF
5396 cat confdefs.h
>>conftest.
$ac_ext
5397 cat >>conftest.
$ac_ext <<_ACEOF
5398 /* end confdefs.h. */
5402 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5403 $EGREP "free" >/dev
/null
2>&1; then
5406 ac_cv_header_stdc
=no
5412 if test $ac_cv_header_stdc = yes; then
5413 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5414 if test "$cross_compiling" = yes; then
5417 cat >conftest.
$ac_ext <<_ACEOF
5420 cat confdefs.h
>>conftest.
$ac_ext
5421 cat >>conftest.
$ac_ext <<_ACEOF
5422 /* end confdefs.h. */
5424 #if ((' ' & 0x0FF) == 0x020)
5425 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5426 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5428 # define ISLOWER(c) \
5429 (('a' <= (c) && (c) <= 'i') \
5430 || ('j' <= (c) && (c) <= 'r') \
5431 || ('s' <= (c) && (c) <= 'z'))
5432 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5435 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5440 for (i = 0; i < 256; i++)
5441 if (XOR (islower (i), ISLOWER (i))
5442 || toupper (i) != TOUPPER (i))
5447 rm -f conftest
$ac_exeext
5448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5449 (eval $ac_link) 2>&5
5451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5452 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5457 (exit $ac_status); }; }; then
5460 echo "$as_me: program exited with status $ac_status" >&5
5461 echo "$as_me: failed program was:" >&5
5462 sed 's/^/| /' conftest.
$ac_ext >&5
5465 ac_cv_header_stdc
=no
5467 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5471 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5472 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5473 if test $ac_cv_header_stdc = yes; then
5475 cat >>confdefs.h
<<\_ACEOF
5476 #define STDC_HEADERS 1
5481 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5491 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5492 inttypes.h stdint.h unistd.h
5494 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5495 echo "$as_me:$LINENO: checking for $ac_header" >&5
5496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5498 echo $ECHO_N "(cached) $ECHO_C" >&6
5500 cat >conftest.
$ac_ext <<_ACEOF
5503 cat confdefs.h
>>conftest.
$ac_ext
5504 cat >>conftest.
$ac_ext <<_ACEOF
5505 /* end confdefs.h. */
5506 $ac_includes_default
5508 #include <$ac_header>
5510 rm -f conftest.
$ac_objext
5511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5512 (eval $ac_compile) 2>conftest.er1
5514 grep -v '^ *+' conftest.er1
>conftest.err
5516 cat conftest.err
>&5
5517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5518 (exit $ac_status); } &&
5519 { ac_try
='test -z "$ac_c_werror_flag"
5520 || test ! -s conftest.err'
5521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5525 (exit $ac_status); }; } &&
5526 { ac_try
='test -s conftest.$ac_objext'
5527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5531 (exit $ac_status); }; }; then
5532 eval "$as_ac_Header=yes"
5534 echo "$as_me: failed program was:" >&5
5535 sed 's/^/| /' conftest.
$ac_ext >&5
5537 eval "$as_ac_Header=no"
5539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5544 cat >>confdefs.h
<<_ACEOF
5545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5555 for ac_header
in stdlib.h unistd.h
5557 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5559 echo "$as_me:$LINENO: checking for $ac_header" >&5
5560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5562 echo $ECHO_N "(cached) $ECHO_C" >&6
5564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5567 # Is the header compilable?
5568 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5569 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5570 cat >conftest.
$ac_ext <<_ACEOF
5573 cat confdefs.h
>>conftest.
$ac_ext
5574 cat >>conftest.
$ac_ext <<_ACEOF
5575 /* end confdefs.h. */
5576 $ac_includes_default
5577 #include <$ac_header>
5579 rm -f conftest.
$ac_objext
5580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5581 (eval $ac_compile) 2>conftest.er1
5583 grep -v '^ *+' conftest.er1
>conftest.err
5585 cat conftest.err
>&5
5586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5587 (exit $ac_status); } &&
5588 { ac_try
='test -z "$ac_c_werror_flag"
5589 || test ! -s conftest.err'
5590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 (exit $ac_status); }; } &&
5595 { ac_try
='test -s conftest.$ac_objext'
5596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); }; }; then
5601 ac_header_compiler
=yes
5603 echo "$as_me: failed program was:" >&5
5604 sed 's/^/| /' conftest.
$ac_ext >&5
5606 ac_header_compiler
=no
5608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5609 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5610 echo "${ECHO_T}$ac_header_compiler" >&6
5612 # Is the header present?
5613 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5614 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5615 cat >conftest.
$ac_ext <<_ACEOF
5618 cat confdefs.h
>>conftest.
$ac_ext
5619 cat >>conftest.
$ac_ext <<_ACEOF
5620 /* end confdefs.h. */
5621 #include <$ac_header>
5623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5624 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5626 grep -v '^ *+' conftest.er1
>conftest.err
5628 cat conftest.err
>&5
5629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5630 (exit $ac_status); } >/dev
/null
; then
5631 if test -s conftest.err
; then
5632 ac_cpp_err
=$ac_c_preproc_warn_flag
5633 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5640 if test -z "$ac_cpp_err"; then
5641 ac_header_preproc
=yes
5643 echo "$as_me: failed program was:" >&5
5644 sed 's/^/| /' conftest.
$ac_ext >&5
5646 ac_header_preproc
=no
5648 rm -f conftest.err conftest.
$ac_ext
5649 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5650 echo "${ECHO_T}$ac_header_preproc" >&6
5652 # So? What about this header?
5653 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5655 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5656 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5657 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5658 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5659 ac_header_preproc
=yes
5662 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5663 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5664 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5665 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5666 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5667 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5668 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5669 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5672 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5673 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5676 ## ------------------------------------------------------ ##
5677 ## Report this to the GNU Fortran Runtime Library lists. ##
5678 ## ------------------------------------------------------ ##
5681 sed "s/^/$as_me: WARNING: /" >&2
5684 echo "$as_me:$LINENO: checking for $ac_header" >&5
5685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5687 echo $ECHO_N "(cached) $ECHO_C" >&6
5689 eval "$as_ac_Header=\$ac_header_preproc"
5691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5696 cat >>confdefs.h
<<_ACEOF
5697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5705 for ac_func
in getpagesize
5707 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5708 echo "$as_me:$LINENO: checking for $ac_func" >&5
5709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5710 if eval "test \"\${$as_ac_var+set}\" = set"; then
5711 echo $ECHO_N "(cached) $ECHO_C" >&6
5713 if test x
$gcc_no_link = xyes
; then
5714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5716 { (exit 1); exit 1; }; }
5718 cat >conftest.
$ac_ext <<_ACEOF
5721 cat confdefs.h
>>conftest.
$ac_ext
5722 cat >>conftest.
$ac_ext <<_ACEOF
5723 /* end confdefs.h. */
5724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5726 #define $ac_func innocuous_$ac_func
5728 /* System header to define __stub macros and hopefully few prototypes,
5729 which can conflict with char $ac_func (); below.
5730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5731 <limits.h> exists even on freestanding compilers. */
5734 # include <limits.h>
5736 # include <assert.h>
5741 /* Override any gcc2 internal prototype to avoid an error. */
5746 /* We use char because int might match the return type of a gcc2
5747 builtin and then its argument prototype would still apply. */
5749 /* The GNU C library defines this for functions which it implements
5750 to always fail with ENOSYS. Some functions are actually named
5751 something starting with __ and the normal name is an alias. */
5752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5755 char (*f) () = $ac_func;
5764 return f != $ac_func;
5769 rm -f conftest.
$ac_objext conftest
$ac_exeext
5770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5771 (eval $ac_link) 2>conftest.er1
5773 grep -v '^ *+' conftest.er1
>conftest.err
5775 cat conftest.err
>&5
5776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5777 (exit $ac_status); } &&
5778 { ac_try
='test -z "$ac_c_werror_flag"
5779 || test ! -s conftest.err'
5780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5784 (exit $ac_status); }; } &&
5785 { ac_try
='test -s conftest$ac_exeext'
5786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5790 (exit $ac_status); }; }; then
5791 eval "$as_ac_var=yes"
5793 echo "$as_me: failed program was:" >&5
5794 sed 's/^/| /' conftest.
$ac_ext >&5
5796 eval "$as_ac_var=no"
5798 rm -f conftest.err conftest.
$ac_objext \
5799 conftest
$ac_exeext conftest.
$ac_ext
5801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5803 if test `eval echo '${'$as_ac_var'}'` = yes; then
5804 cat >>confdefs.h
<<_ACEOF
5805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5811 echo "$as_me:$LINENO: checking for working mmap" >&5
5812 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5813 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5814 echo $ECHO_N "(cached) $ECHO_C" >&6
5816 if test "$cross_compiling" = yes; then
5817 ac_cv_func_mmap_fixed_mapped
=no
5819 cat >conftest.
$ac_ext <<_ACEOF
5822 cat confdefs.h
>>conftest.
$ac_ext
5823 cat >>conftest.
$ac_ext <<_ACEOF
5824 /* end confdefs.h. */
5825 $ac_includes_default
5826 /* malloc might have been renamed as rpl_malloc. */
5829 /* Thanks to Mike Haertel and Jim Avera for this test.
5830 Here is a matrix of mmap possibilities:
5831 mmap private not fixed
5832 mmap private fixed at somewhere currently unmapped
5833 mmap private fixed at somewhere already mapped
5834 mmap shared not fixed
5835 mmap shared fixed at somewhere currently unmapped
5836 mmap shared fixed at somewhere already mapped
5837 For private mappings, we should verify that changes cannot be read()
5838 back from the file, nor mmap's back from the file at a different
5839 address. (There have been systems where private was not correctly
5840 implemented like the infamous i386 svr4.0, and systems where the
5841 VM page cache was not coherent with the file system buffer cache
5842 like early versions of FreeBSD and possibly contemporary NetBSD.)
5843 For shared mappings, we should conversely verify that changes get
5844 propagated back to all the places they're supposed to be.
5846 Grep wants private fixed already mapped.
5847 The main things grep needs to know about mmap are:
5848 * does it exist and is it safe to write into the mmap'd area
5849 * how to use it (BSD variants) */
5852 #include <sys/mman.h>
5854 #if !STDC_HEADERS && !HAVE_STDLIB_H
5858 /* This mess was copied from the GNU getpagesize.h. */
5859 #if !HAVE_GETPAGESIZE
5860 /* Assume that all systems that can run configure have sys/param.h. */
5861 # if !HAVE_SYS_PARAM_H
5862 # define HAVE_SYS_PARAM_H 1
5865 # ifdef _SC_PAGESIZE
5866 # define getpagesize() sysconf(_SC_PAGESIZE)
5867 # else /* no _SC_PAGESIZE */
5868 # if HAVE_SYS_PARAM_H
5869 # include <sys/param.h>
5870 # ifdef EXEC_PAGESIZE
5871 # define getpagesize() EXEC_PAGESIZE
5872 # else /* no EXEC_PAGESIZE */
5874 # define getpagesize() NBPG * CLSIZE
5877 # endif /* no CLSIZE */
5878 # else /* no NBPG */
5880 # define getpagesize() NBPC
5881 # else /* no NBPC */
5883 # define getpagesize() PAGESIZE
5884 # endif /* PAGESIZE */
5885 # endif /* no NBPC */
5886 # endif /* no NBPG */
5887 # endif /* no EXEC_PAGESIZE */
5888 # else /* no HAVE_SYS_PARAM_H */
5889 # define getpagesize() 8192 /* punt totally */
5890 # endif /* no HAVE_SYS_PARAM_H */
5891 # endif /* no _SC_PAGESIZE */
5893 #endif /* no HAVE_GETPAGESIZE */
5898 char *data, *data2, *data3;
5902 pagesize = getpagesize ();
5904 /* First, make a file with some known garbage in it. */
5905 data = (char *) malloc (pagesize);
5908 for (i = 0; i < pagesize; ++i)
5909 *(data + i) = rand ();
5911 fd = creat ("conftest.mmap", 0600);
5914 if (write (fd, data, pagesize) != pagesize)
5918 /* Next, try to mmap the file at a fixed address which already has
5919 something else allocated at it. If we can, also make sure that
5920 we see the same garbage. */
5921 fd = open ("conftest.mmap", O_RDWR);
5924 data2 = (char *) malloc (2 * pagesize);
5927 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5928 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5929 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5931 for (i = 0; i < pagesize; ++i)
5932 if (*(data + i) != *(data2 + i))
5935 /* Finally, make sure that changes to the mapped area do not
5936 percolate back to the file as seen by read(). (This is a bug on
5937 some variants of i386 svr4.0.) */
5938 for (i = 0; i < pagesize; ++i)
5939 *(data2 + i) = *(data2 + i) + 1;
5940 data3 = (char *) malloc (pagesize);
5943 if (read (fd, data3, pagesize) != pagesize)
5945 for (i = 0; i < pagesize; ++i)
5946 if (*(data + i) != *(data3 + i))
5952 rm -f conftest
$ac_exeext
5953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5954 (eval $ac_link) 2>&5
5956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5962 (exit $ac_status); }; }; then
5963 ac_cv_func_mmap_fixed_mapped
=yes
5965 echo "$as_me: program exited with status $ac_status" >&5
5966 echo "$as_me: failed program was:" >&5
5967 sed 's/^/| /' conftest.
$ac_ext >&5
5970 ac_cv_func_mmap_fixed_mapped
=no
5972 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5975 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5976 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5977 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5979 cat >>confdefs.h
<<\_ACEOF
5987 echo "$as_me:$LINENO: checking for off_t" >&5
5988 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5989 if test "${ac_cv_type_off_t+set}" = set; then
5990 echo $ECHO_N "(cached) $ECHO_C" >&6
5992 cat >conftest.
$ac_ext <<_ACEOF
5995 cat confdefs.h
>>conftest.
$ac_ext
5996 cat >>conftest.
$ac_ext <<_ACEOF
5997 /* end confdefs.h. */
5998 $ac_includes_default
6010 rm -f conftest.
$ac_objext
6011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6012 (eval $ac_compile) 2>conftest.er1
6014 grep -v '^ *+' conftest.er1
>conftest.err
6016 cat conftest.err
>&5
6017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6018 (exit $ac_status); } &&
6019 { ac_try
='test -z "$ac_c_werror_flag"
6020 || test ! -s conftest.err'
6021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025 (exit $ac_status); }; } &&
6026 { ac_try
='test -s conftest.$ac_objext'
6027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031 (exit $ac_status); }; }; then
6032 ac_cv_type_off_t
=yes
6034 echo "$as_me: failed program was:" >&5
6035 sed 's/^/| /' conftest.
$ac_ext >&5
6039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6041 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6042 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6043 if test $ac_cv_type_off_t = yes; then
6047 cat >>confdefs.h
<<_ACEOF
6054 # check header files
6055 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6056 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6057 if test "${ac_cv_header_stdc+set}" = set; then
6058 echo $ECHO_N "(cached) $ECHO_C" >&6
6060 cat >conftest.
$ac_ext <<_ACEOF
6063 cat confdefs.h
>>conftest.
$ac_ext
6064 cat >>conftest.
$ac_ext <<_ACEOF
6065 /* end confdefs.h. */
6079 rm -f conftest.
$ac_objext
6080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6081 (eval $ac_compile) 2>conftest.er1
6083 grep -v '^ *+' conftest.er1
>conftest.err
6085 cat conftest.err
>&5
6086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6087 (exit $ac_status); } &&
6088 { ac_try
='test -z "$ac_c_werror_flag"
6089 || test ! -s conftest.err'
6090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094 (exit $ac_status); }; } &&
6095 { ac_try
='test -s conftest.$ac_objext'
6096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6100 (exit $ac_status); }; }; then
6101 ac_cv_header_stdc
=yes
6103 echo "$as_me: failed program was:" >&5
6104 sed 's/^/| /' conftest.
$ac_ext >&5
6106 ac_cv_header_stdc
=no
6108 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6110 if test $ac_cv_header_stdc = yes; then
6111 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6112 cat >conftest.
$ac_ext <<_ACEOF
6115 cat confdefs.h
>>conftest.
$ac_ext
6116 cat >>conftest.
$ac_ext <<_ACEOF
6117 /* end confdefs.h. */
6121 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6122 $EGREP "memchr" >/dev
/null
2>&1; then
6125 ac_cv_header_stdc
=no
6131 if test $ac_cv_header_stdc = yes; then
6132 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6133 cat >conftest.
$ac_ext <<_ACEOF
6136 cat confdefs.h
>>conftest.
$ac_ext
6137 cat >>conftest.
$ac_ext <<_ACEOF
6138 /* end confdefs.h. */
6142 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6143 $EGREP "free" >/dev
/null
2>&1; then
6146 ac_cv_header_stdc
=no
6152 if test $ac_cv_header_stdc = yes; then
6153 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6154 if test "$cross_compiling" = yes; then
6157 cat >conftest.
$ac_ext <<_ACEOF
6160 cat confdefs.h
>>conftest.
$ac_ext
6161 cat >>conftest.
$ac_ext <<_ACEOF
6162 /* end confdefs.h. */
6164 #if ((' ' & 0x0FF) == 0x020)
6165 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6166 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6168 # define ISLOWER(c) \
6169 (('a' <= (c) && (c) <= 'i') \
6170 || ('j' <= (c) && (c) <= 'r') \
6171 || ('s' <= (c) && (c) <= 'z'))
6172 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6175 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6180 for (i = 0; i < 256; i++)
6181 if (XOR (islower (i), ISLOWER (i))
6182 || toupper (i) != TOUPPER (i))
6187 rm -f conftest
$ac_exeext
6188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6189 (eval $ac_link) 2>&5
6191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6197 (exit $ac_status); }; }; then
6200 echo "$as_me: program exited with status $ac_status" >&5
6201 echo "$as_me: failed program was:" >&5
6202 sed 's/^/| /' conftest.
$ac_ext >&5
6205 ac_cv_header_stdc
=no
6207 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6211 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6212 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6213 if test $ac_cv_header_stdc = yes; then
6215 cat >>confdefs.h
<<\_ACEOF
6216 #define STDC_HEADERS 1
6228 for ac_header
in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
6230 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6232 echo "$as_me:$LINENO: checking for $ac_header" >&5
6233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6235 echo $ECHO_N "(cached) $ECHO_C" >&6
6237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6240 # Is the header compilable?
6241 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6242 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6243 cat >conftest.
$ac_ext <<_ACEOF
6246 cat confdefs.h
>>conftest.
$ac_ext
6247 cat >>conftest.
$ac_ext <<_ACEOF
6248 /* end confdefs.h. */
6249 $ac_includes_default
6250 #include <$ac_header>
6252 rm -f conftest.
$ac_objext
6253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6254 (eval $ac_compile) 2>conftest.er1
6256 grep -v '^ *+' conftest.er1
>conftest.err
6258 cat conftest.err
>&5
6259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6260 (exit $ac_status); } &&
6261 { ac_try
='test -z "$ac_c_werror_flag"
6262 || test ! -s conftest.err'
6263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6267 (exit $ac_status); }; } &&
6268 { ac_try
='test -s conftest.$ac_objext'
6269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6273 (exit $ac_status); }; }; then
6274 ac_header_compiler
=yes
6276 echo "$as_me: failed program was:" >&5
6277 sed 's/^/| /' conftest.
$ac_ext >&5
6279 ac_header_compiler
=no
6281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6282 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6283 echo "${ECHO_T}$ac_header_compiler" >&6
6285 # Is the header present?
6286 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6287 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6288 cat >conftest.
$ac_ext <<_ACEOF
6291 cat confdefs.h
>>conftest.
$ac_ext
6292 cat >>conftest.
$ac_ext <<_ACEOF
6293 /* end confdefs.h. */
6294 #include <$ac_header>
6296 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6297 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6299 grep -v '^ *+' conftest.er1
>conftest.err
6301 cat conftest.err
>&5
6302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6303 (exit $ac_status); } >/dev
/null
; then
6304 if test -s conftest.err
; then
6305 ac_cpp_err
=$ac_c_preproc_warn_flag
6306 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6313 if test -z "$ac_cpp_err"; then
6314 ac_header_preproc
=yes
6316 echo "$as_me: failed program was:" >&5
6317 sed 's/^/| /' conftest.
$ac_ext >&5
6319 ac_header_preproc
=no
6321 rm -f conftest.err conftest.
$ac_ext
6322 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6323 echo "${ECHO_T}$ac_header_preproc" >&6
6325 # So? What about this header?
6326 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6328 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6329 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6330 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6331 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6332 ac_header_preproc
=yes
6335 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6336 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6337 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6338 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6339 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6340 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6341 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6342 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6344 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6345 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6346 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6349 ## ------------------------------------------------------ ##
6350 ## Report this to the GNU Fortran Runtime Library lists. ##
6351 ## ------------------------------------------------------ ##
6354 sed "s/^/$as_me: WARNING: /" >&2
6357 echo "$as_me:$LINENO: checking for $ac_header" >&5
6358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6360 echo $ECHO_N "(cached) $ECHO_C" >&6
6362 eval "$as_ac_Header=\$ac_header_preproc"
6364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6368 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6369 cat >>confdefs.h
<<_ACEOF
6370 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6382 for ac_header
in time.h sys
/params.h sys
/time.h sys
/times.h sys
/resource.h
6384 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6385 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6386 echo "$as_me:$LINENO: checking for $ac_header" >&5
6387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6389 echo $ECHO_N "(cached) $ECHO_C" >&6
6391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6392 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6394 # Is the header compilable?
6395 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6396 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6397 cat >conftest.
$ac_ext <<_ACEOF
6400 cat confdefs.h
>>conftest.
$ac_ext
6401 cat >>conftest.
$ac_ext <<_ACEOF
6402 /* end confdefs.h. */
6403 $ac_includes_default
6404 #include <$ac_header>
6406 rm -f conftest.
$ac_objext
6407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6408 (eval $ac_compile) 2>conftest.er1
6410 grep -v '^ *+' conftest.er1
>conftest.err
6412 cat conftest.err
>&5
6413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6414 (exit $ac_status); } &&
6415 { ac_try
='test -z "$ac_c_werror_flag"
6416 || test ! -s conftest.err'
6417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6421 (exit $ac_status); }; } &&
6422 { ac_try
='test -s conftest.$ac_objext'
6423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6427 (exit $ac_status); }; }; then
6428 ac_header_compiler
=yes
6430 echo "$as_me: failed program was:" >&5
6431 sed 's/^/| /' conftest.
$ac_ext >&5
6433 ac_header_compiler
=no
6435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6436 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6437 echo "${ECHO_T}$ac_header_compiler" >&6
6439 # Is the header present?
6440 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6441 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6442 cat >conftest.
$ac_ext <<_ACEOF
6445 cat confdefs.h
>>conftest.
$ac_ext
6446 cat >>conftest.
$ac_ext <<_ACEOF
6447 /* end confdefs.h. */
6448 #include <$ac_header>
6450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6451 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6453 grep -v '^ *+' conftest.er1
>conftest.err
6455 cat conftest.err
>&5
6456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457 (exit $ac_status); } >/dev
/null
; then
6458 if test -s conftest.err
; then
6459 ac_cpp_err
=$ac_c_preproc_warn_flag
6460 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6467 if test -z "$ac_cpp_err"; then
6468 ac_header_preproc
=yes
6470 echo "$as_me: failed program was:" >&5
6471 sed 's/^/| /' conftest.
$ac_ext >&5
6473 ac_header_preproc
=no
6475 rm -f conftest.err conftest.
$ac_ext
6476 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6477 echo "${ECHO_T}$ac_header_preproc" >&6
6479 # So? What about this header?
6480 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6482 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6483 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6485 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6486 ac_header_preproc
=yes
6489 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6490 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6491 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6492 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6493 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6494 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6495 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6496 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6498 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6499 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6500 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6503 ## ------------------------------------------------------ ##
6504 ## Report this to the GNU Fortran Runtime Library lists. ##
6505 ## ------------------------------------------------------ ##
6508 sed "s/^/$as_me: WARNING: /" >&2
6511 echo "$as_me:$LINENO: checking for $ac_header" >&5
6512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6514 echo $ECHO_N "(cached) $ECHO_C" >&6
6516 eval "$as_ac_Header=\$ac_header_preproc"
6518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6519 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6523 cat >>confdefs.h
<<_ACEOF
6524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6536 for ac_header
in sys
/mman.h sys
/types.h sys
/stat.h floatingpoint.h ieeefp.h
6538 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6540 echo "$as_me:$LINENO: checking for $ac_header" >&5
6541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6543 echo $ECHO_N "(cached) $ECHO_C" >&6
6545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6546 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6548 # Is the header compilable?
6549 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6550 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6551 cat >conftest.
$ac_ext <<_ACEOF
6554 cat confdefs.h
>>conftest.
$ac_ext
6555 cat >>conftest.
$ac_ext <<_ACEOF
6556 /* end confdefs.h. */
6557 $ac_includes_default
6558 #include <$ac_header>
6560 rm -f conftest.
$ac_objext
6561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6562 (eval $ac_compile) 2>conftest.er1
6564 grep -v '^ *+' conftest.er1
>conftest.err
6566 cat conftest.err
>&5
6567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6568 (exit $ac_status); } &&
6569 { ac_try
='test -z "$ac_c_werror_flag"
6570 || test ! -s conftest.err'
6571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6575 (exit $ac_status); }; } &&
6576 { ac_try
='test -s conftest.$ac_objext'
6577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6581 (exit $ac_status); }; }; then
6582 ac_header_compiler
=yes
6584 echo "$as_me: failed program was:" >&5
6585 sed 's/^/| /' conftest.
$ac_ext >&5
6587 ac_header_compiler
=no
6589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6590 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6591 echo "${ECHO_T}$ac_header_compiler" >&6
6593 # Is the header present?
6594 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6595 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6596 cat >conftest.
$ac_ext <<_ACEOF
6599 cat confdefs.h
>>conftest.
$ac_ext
6600 cat >>conftest.
$ac_ext <<_ACEOF
6601 /* end confdefs.h. */
6602 #include <$ac_header>
6604 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6605 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6607 grep -v '^ *+' conftest.er1
>conftest.err
6609 cat conftest.err
>&5
6610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 (exit $ac_status); } >/dev
/null
; then
6612 if test -s conftest.err
; then
6613 ac_cpp_err
=$ac_c_preproc_warn_flag
6614 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6621 if test -z "$ac_cpp_err"; then
6622 ac_header_preproc
=yes
6624 echo "$as_me: failed program was:" >&5
6625 sed 's/^/| /' conftest.
$ac_ext >&5
6627 ac_header_preproc
=no
6629 rm -f conftest.err conftest.
$ac_ext
6630 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6631 echo "${ECHO_T}$ac_header_preproc" >&6
6633 # So? What about this header?
6634 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6636 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6637 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6638 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6639 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6640 ac_header_preproc
=yes
6643 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6644 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6645 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6646 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6647 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6648 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6649 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6650 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6651 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6652 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6653 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6654 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6657 ## ------------------------------------------------------ ##
6658 ## Report this to the GNU Fortran Runtime Library lists. ##
6659 ## ------------------------------------------------------ ##
6662 sed "s/^/$as_me: WARNING: /" >&2
6665 echo "$as_me:$LINENO: checking for $ac_header" >&5
6666 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6668 echo $ECHO_N "(cached) $ECHO_C" >&6
6670 eval "$as_ac_Header=\$ac_header_preproc"
6672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6673 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6676 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6677 cat >>confdefs.h
<<_ACEOF
6678 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6688 for ac_header
in fenv.h fptrap.h float.h
6690 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6691 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6692 echo "$as_me:$LINENO: checking for $ac_header" >&5
6693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6694 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6695 echo $ECHO_N "(cached) $ECHO_C" >&6
6697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6698 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6700 # Is the header compilable?
6701 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6702 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6703 cat >conftest.
$ac_ext <<_ACEOF
6706 cat confdefs.h
>>conftest.
$ac_ext
6707 cat >>conftest.
$ac_ext <<_ACEOF
6708 /* end confdefs.h. */
6709 $ac_includes_default
6710 #include <$ac_header>
6712 rm -f conftest.
$ac_objext
6713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6714 (eval $ac_compile) 2>conftest.er1
6716 grep -v '^ *+' conftest.er1
>conftest.err
6718 cat conftest.err
>&5
6719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6720 (exit $ac_status); } &&
6721 { ac_try
='test -z "$ac_c_werror_flag"
6722 || test ! -s conftest.err'
6723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6727 (exit $ac_status); }; } &&
6728 { ac_try
='test -s conftest.$ac_objext'
6729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6733 (exit $ac_status); }; }; then
6734 ac_header_compiler
=yes
6736 echo "$as_me: failed program was:" >&5
6737 sed 's/^/| /' conftest.
$ac_ext >&5
6739 ac_header_compiler
=no
6741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6742 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6743 echo "${ECHO_T}$ac_header_compiler" >&6
6745 # Is the header present?
6746 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6747 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6748 cat >conftest.
$ac_ext <<_ACEOF
6751 cat confdefs.h
>>conftest.
$ac_ext
6752 cat >>conftest.
$ac_ext <<_ACEOF
6753 /* end confdefs.h. */
6754 #include <$ac_header>
6756 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6757 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6759 grep -v '^ *+' conftest.er1
>conftest.err
6761 cat conftest.err
>&5
6762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6763 (exit $ac_status); } >/dev
/null
; then
6764 if test -s conftest.err
; then
6765 ac_cpp_err
=$ac_c_preproc_warn_flag
6766 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6773 if test -z "$ac_cpp_err"; then
6774 ac_header_preproc
=yes
6776 echo "$as_me: failed program was:" >&5
6777 sed 's/^/| /' conftest.
$ac_ext >&5
6779 ac_header_preproc
=no
6781 rm -f conftest.err conftest.
$ac_ext
6782 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6783 echo "${ECHO_T}$ac_header_preproc" >&6
6785 # So? What about this header?
6786 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6788 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6789 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6791 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6792 ac_header_preproc
=yes
6795 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6796 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6797 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6798 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6799 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6800 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6801 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6802 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6803 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6804 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6805 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6806 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6809 ## ------------------------------------------------------ ##
6810 ## Report this to the GNU Fortran Runtime Library lists. ##
6811 ## ------------------------------------------------------ ##
6814 sed "s/^/$as_me: WARNING: /" >&2
6817 echo "$as_me:$LINENO: checking for $ac_header" >&5
6818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6820 echo $ECHO_N "(cached) $ECHO_C" >&6
6822 eval "$as_ac_Header=\$ac_header_preproc"
6824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6825 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6828 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6829 cat >>confdefs.h
<<_ACEOF
6830 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6837 if test "${ac_cv_header_complex_h+set}" = set; then
6838 echo "$as_me:$LINENO: checking for complex.h" >&5
6839 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6840 if test "${ac_cv_header_complex_h+set}" = set; then
6841 echo $ECHO_N "(cached) $ECHO_C" >&6
6843 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6844 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6846 # Is the header compilable?
6847 echo "$as_me:$LINENO: checking complex.h usability" >&5
6848 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6849 cat >conftest.
$ac_ext <<_ACEOF
6852 cat confdefs.h
>>conftest.
$ac_ext
6853 cat >>conftest.
$ac_ext <<_ACEOF
6854 /* end confdefs.h. */
6855 $ac_includes_default
6856 #include <complex.h>
6858 rm -f conftest.
$ac_objext
6859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6860 (eval $ac_compile) 2>conftest.er1
6862 grep -v '^ *+' conftest.er1
>conftest.err
6864 cat conftest.err
>&5
6865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6866 (exit $ac_status); } &&
6867 { ac_try
='test -z "$ac_c_werror_flag"
6868 || test ! -s conftest.err'
6869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6873 (exit $ac_status); }; } &&
6874 { ac_try
='test -s conftest.$ac_objext'
6875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6879 (exit $ac_status); }; }; then
6880 ac_header_compiler
=yes
6882 echo "$as_me: failed program was:" >&5
6883 sed 's/^/| /' conftest.
$ac_ext >&5
6885 ac_header_compiler
=no
6887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6888 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6889 echo "${ECHO_T}$ac_header_compiler" >&6
6891 # Is the header present?
6892 echo "$as_me:$LINENO: checking complex.h presence" >&5
6893 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6894 cat >conftest.
$ac_ext <<_ACEOF
6897 cat confdefs.h
>>conftest.
$ac_ext
6898 cat >>conftest.
$ac_ext <<_ACEOF
6899 /* end confdefs.h. */
6900 #include <complex.h>
6902 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6903 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6905 grep -v '^ *+' conftest.er1
>conftest.err
6907 cat conftest.err
>&5
6908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6909 (exit $ac_status); } >/dev
/null
; then
6910 if test -s conftest.err
; then
6911 ac_cpp_err
=$ac_c_preproc_warn_flag
6912 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6919 if test -z "$ac_cpp_err"; then
6920 ac_header_preproc
=yes
6922 echo "$as_me: failed program was:" >&5
6923 sed 's/^/| /' conftest.
$ac_ext >&5
6925 ac_header_preproc
=no
6927 rm -f conftest.err conftest.
$ac_ext
6928 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6929 echo "${ECHO_T}$ac_header_preproc" >&6
6931 # So? What about this header?
6932 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6934 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6935 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6936 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6937 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6938 ac_header_preproc
=yes
6941 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6942 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6943 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6944 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6945 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6946 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6947 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6948 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6949 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6950 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6951 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6952 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6955 ## ------------------------------------------------------ ##
6956 ## Report this to the GNU Fortran Runtime Library lists. ##
6957 ## ------------------------------------------------------ ##
6960 sed "s/^/$as_me: WARNING: /" >&2
6963 echo "$as_me:$LINENO: checking for complex.h" >&5
6964 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6965 if test "${ac_cv_header_complex_h+set}" = set; then
6966 echo $ECHO_N "(cached) $ECHO_C" >&6
6968 ac_cv_header_complex_h
=$ac_header_preproc
6970 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6971 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6974 if test $ac_cv_header_complex_h = yes; then
6976 cat >>confdefs.h
<<\_ACEOF
6977 #define HAVE_COMPLEX_H 1
6985 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
6987 acx_cv_header_stdint
=stddef.h
6988 acx_cv_header_stdint_kind
="(already complete)"
6989 for i
in stdint.h
$inttype_headers; do
6990 unset ac_cv_type_uintptr_t
6991 unset ac_cv_type_uintmax_t
6992 unset ac_cv_type_int_least32_t
6993 unset ac_cv_type_int_fast32_t
6994 unset ac_cv_type_uint64_t
6995 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
6996 echo "$as_me:$LINENO: checking for uintmax_t" >&5
6997 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
6998 if test "${ac_cv_type_uintmax_t+set}" = set; then
6999 echo $ECHO_N "(cached) $ECHO_C" >&6
7001 cat >conftest.
$ac_ext <<_ACEOF
7004 cat confdefs.h
>>conftest.
$ac_ext
7005 cat >>conftest.
$ac_ext <<_ACEOF
7006 /* end confdefs.h. */
7007 #include <sys/types.h>
7013 if ((uintmax_t *) 0)
7015 if (sizeof (uintmax_t))
7021 rm -f conftest.
$ac_objext
7022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7023 (eval $ac_compile) 2>conftest.er1
7025 grep -v '^ *+' conftest.er1
>conftest.err
7027 cat conftest.err
>&5
7028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7029 (exit $ac_status); } &&
7030 { ac_try
='test -z "$ac_c_werror_flag"
7031 || test ! -s conftest.err'
7032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7036 (exit $ac_status); }; } &&
7037 { ac_try
='test -s conftest.$ac_objext'
7038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7042 (exit $ac_status); }; }; then
7043 ac_cv_type_uintmax_t
=yes
7045 echo "$as_me: failed program was:" >&5
7046 sed 's/^/| /' conftest.
$ac_ext >&5
7048 ac_cv_type_uintmax_t
=no
7050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7052 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
7053 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
7054 if test $ac_cv_type_uintmax_t = yes; then
7055 acx_cv_header_stdint
=$i
7060 echo "$as_me:$LINENO: checking for uintptr_t" >&5
7061 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
7062 if test "${ac_cv_type_uintptr_t+set}" = set; then
7063 echo $ECHO_N "(cached) $ECHO_C" >&6
7065 cat >conftest.
$ac_ext <<_ACEOF
7068 cat confdefs.h
>>conftest.
$ac_ext
7069 cat >>conftest.
$ac_ext <<_ACEOF
7070 /* end confdefs.h. */
7071 #include <sys/types.h>
7077 if ((uintptr_t *) 0)
7079 if (sizeof (uintptr_t))
7085 rm -f conftest.
$ac_objext
7086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7087 (eval $ac_compile) 2>conftest.er1
7089 grep -v '^ *+' conftest.er1
>conftest.err
7091 cat conftest.err
>&5
7092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7093 (exit $ac_status); } &&
7094 { ac_try
='test -z "$ac_c_werror_flag"
7095 || test ! -s conftest.err'
7096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7100 (exit $ac_status); }; } &&
7101 { ac_try
='test -s conftest.$ac_objext'
7102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7106 (exit $ac_status); }; }; then
7107 ac_cv_type_uintptr_t
=yes
7109 echo "$as_me: failed program was:" >&5
7110 sed 's/^/| /' conftest.
$ac_ext >&5
7112 ac_cv_type_uintptr_t
=no
7114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7116 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
7117 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
7118 if test $ac_cv_type_uintptr_t = yes; then
7121 acx_cv_header_stdint_kind
="(mostly complete)"
7124 echo "$as_me:$LINENO: checking for int_least32_t" >&5
7125 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
7126 if test "${ac_cv_type_int_least32_t+set}" = set; then
7127 echo $ECHO_N "(cached) $ECHO_C" >&6
7129 cat >conftest.
$ac_ext <<_ACEOF
7132 cat confdefs.h
>>conftest.
$ac_ext
7133 cat >>conftest.
$ac_ext <<_ACEOF
7134 /* end confdefs.h. */
7135 #include <sys/types.h>
7141 if ((int_least32_t *) 0)
7143 if (sizeof (int_least32_t))
7149 rm -f conftest.
$ac_objext
7150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7151 (eval $ac_compile) 2>conftest.er1
7153 grep -v '^ *+' conftest.er1
>conftest.err
7155 cat conftest.err
>&5
7156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7157 (exit $ac_status); } &&
7158 { ac_try
='test -z "$ac_c_werror_flag"
7159 || test ! -s conftest.err'
7160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7164 (exit $ac_status); }; } &&
7165 { ac_try
='test -s conftest.$ac_objext'
7166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7170 (exit $ac_status); }; }; then
7171 ac_cv_type_int_least32_t
=yes
7173 echo "$as_me: failed program was:" >&5
7174 sed 's/^/| /' conftest.
$ac_ext >&5
7176 ac_cv_type_int_least32_t
=no
7178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7180 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
7181 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
7182 if test $ac_cv_type_int_least32_t = yes; then
7185 acx_cv_header_stdint_kind
="(mostly complete)"
7188 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
7189 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
7190 if test "${ac_cv_type_int_fast32_t+set}" = set; then
7191 echo $ECHO_N "(cached) $ECHO_C" >&6
7193 cat >conftest.
$ac_ext <<_ACEOF
7196 cat confdefs.h
>>conftest.
$ac_ext
7197 cat >>conftest.
$ac_ext <<_ACEOF
7198 /* end confdefs.h. */
7199 #include <sys/types.h>
7205 if ((int_fast32_t *) 0)
7207 if (sizeof (int_fast32_t))
7213 rm -f conftest.
$ac_objext
7214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7215 (eval $ac_compile) 2>conftest.er1
7217 grep -v '^ *+' conftest.er1
>conftest.err
7219 cat conftest.err
>&5
7220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7221 (exit $ac_status); } &&
7222 { ac_try
='test -z "$ac_c_werror_flag"
7223 || test ! -s conftest.err'
7224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7228 (exit $ac_status); }; } &&
7229 { ac_try
='test -s conftest.$ac_objext'
7230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7234 (exit $ac_status); }; }; then
7235 ac_cv_type_int_fast32_t
=yes
7237 echo "$as_me: failed program was:" >&5
7238 sed 's/^/| /' conftest.
$ac_ext >&5
7240 ac_cv_type_int_fast32_t
=no
7242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7244 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
7245 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
7246 if test $ac_cv_type_int_fast32_t = yes; then
7249 acx_cv_header_stdint_kind
="(mostly complete)"
7252 echo "$as_me:$LINENO: checking for uint64_t" >&5
7253 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
7254 if test "${ac_cv_type_uint64_t+set}" = set; then
7255 echo $ECHO_N "(cached) $ECHO_C" >&6
7257 cat >conftest.
$ac_ext <<_ACEOF
7260 cat confdefs.h
>>conftest.
$ac_ext
7261 cat >>conftest.
$ac_ext <<_ACEOF
7262 /* end confdefs.h. */
7263 #include <sys/types.h>
7271 if (sizeof (uint64_t))
7277 rm -f conftest.
$ac_objext
7278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7279 (eval $ac_compile) 2>conftest.er1
7281 grep -v '^ *+' conftest.er1
>conftest.err
7283 cat conftest.err
>&5
7284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7285 (exit $ac_status); } &&
7286 { ac_try
='test -z "$ac_c_werror_flag"
7287 || test ! -s conftest.err'
7288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7292 (exit $ac_status); }; } &&
7293 { ac_try
='test -s conftest.$ac_objext'
7294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7298 (exit $ac_status); }; }; then
7299 ac_cv_type_uint64_t
=yes
7301 echo "$as_me: failed program was:" >&5
7302 sed 's/^/| /' conftest.
$ac_ext >&5
7304 ac_cv_type_uint64_t
=no
7306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7308 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
7309 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
7310 if test $ac_cv_type_uint64_t = yes; then
7313 acx_cv_header_stdint_kind
="(lacks uint64_t)"
7318 if test "$acx_cv_header_stdint" = stddef.h
; then
7319 acx_cv_header_stdint_kind
="(lacks uintptr_t)"
7320 for i
in stdint.h
$inttype_headers; do
7321 unset ac_cv_type_uint32_t
7322 unset ac_cv_type_uint64_t
7323 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
7324 echo "$as_me:$LINENO: checking for uint32_t" >&5
7325 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
7326 if test "${ac_cv_type_uint32_t+set}" = set; then
7327 echo $ECHO_N "(cached) $ECHO_C" >&6
7329 cat >conftest.
$ac_ext <<_ACEOF
7332 cat confdefs.h
>>conftest.
$ac_ext
7333 cat >>conftest.
$ac_ext <<_ACEOF
7334 /* end confdefs.h. */
7335 #include <sys/types.h>
7343 if (sizeof (uint32_t))
7349 rm -f conftest.
$ac_objext
7350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7351 (eval $ac_compile) 2>conftest.er1
7353 grep -v '^ *+' conftest.er1
>conftest.err
7355 cat conftest.err
>&5
7356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7357 (exit $ac_status); } &&
7358 { ac_try
='test -z "$ac_c_werror_flag"
7359 || test ! -s conftest.err'
7360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364 (exit $ac_status); }; } &&
7365 { ac_try
='test -s conftest.$ac_objext'
7366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370 (exit $ac_status); }; }; then
7371 ac_cv_type_uint32_t
=yes
7373 echo "$as_me: failed program was:" >&5
7374 sed 's/^/| /' conftest.
$ac_ext >&5
7376 ac_cv_type_uint32_t
=no
7378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7380 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
7381 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
7382 if test $ac_cv_type_uint32_t = yes; then
7383 acx_cv_header_stdint
=$i
7388 echo "$as_me:$LINENO: checking for uint64_t" >&5
7389 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
7390 if test "${ac_cv_type_uint64_t+set}" = set; then
7391 echo $ECHO_N "(cached) $ECHO_C" >&6
7393 cat >conftest.
$ac_ext <<_ACEOF
7396 cat confdefs.h
>>conftest.
$ac_ext
7397 cat >>conftest.
$ac_ext <<_ACEOF
7398 /* end confdefs.h. */
7399 #include <sys/types.h>
7407 if (sizeof (uint64_t))
7413 rm -f conftest.
$ac_objext
7414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7415 (eval $ac_compile) 2>conftest.er1
7417 grep -v '^ *+' conftest.er1
>conftest.err
7419 cat conftest.err
>&5
7420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7421 (exit $ac_status); } &&
7422 { ac_try
='test -z "$ac_c_werror_flag"
7423 || test ! -s conftest.err'
7424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7428 (exit $ac_status); }; } &&
7429 { ac_try
='test -s conftest.$ac_objext'
7430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7434 (exit $ac_status); }; }; then
7435 ac_cv_type_uint64_t
=yes
7437 echo "$as_me: failed program was:" >&5
7438 sed 's/^/| /' conftest.
$ac_ext >&5
7440 ac_cv_type_uint64_t
=no
7442 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7444 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
7445 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
7446 if test $ac_cv_type_uint64_t = yes; then
7449 acx_cv_header_stdint_kind
="(lacks uintptr_t and uint64_t)"
7455 if test "$acx_cv_header_stdint" = stddef.h
; then
7456 acx_cv_header_stdint_kind
="(u_intXX_t style)"
7457 for i
in sys
/types.h
$inttype_headers; do
7458 unset ac_cv_type_u_int32_t
7459 unset ac_cv_type_u_int64_t
7460 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
7461 echo "$as_me:$LINENO: checking for u_int32_t" >&5
7462 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
7463 if test "${ac_cv_type_u_int32_t+set}" = set; then
7464 echo $ECHO_N "(cached) $ECHO_C" >&6
7466 cat >conftest.
$ac_ext <<_ACEOF
7469 cat confdefs.h
>>conftest.
$ac_ext
7470 cat >>conftest.
$ac_ext <<_ACEOF
7471 /* end confdefs.h. */
7472 #include <sys/types.h>
7478 if ((u_int32_t *) 0)
7480 if (sizeof (u_int32_t))
7486 rm -f conftest.
$ac_objext
7487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7488 (eval $ac_compile) 2>conftest.er1
7490 grep -v '^ *+' conftest.er1
>conftest.err
7492 cat conftest.err
>&5
7493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7494 (exit $ac_status); } &&
7495 { ac_try
='test -z "$ac_c_werror_flag"
7496 || test ! -s conftest.err'
7497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7501 (exit $ac_status); }; } &&
7502 { ac_try
='test -s conftest.$ac_objext'
7503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7507 (exit $ac_status); }; }; then
7508 ac_cv_type_u_int32_t
=yes
7510 echo "$as_me: failed program was:" >&5
7511 sed 's/^/| /' conftest.
$ac_ext >&5
7513 ac_cv_type_u_int32_t
=no
7515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7517 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
7518 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
7519 if test $ac_cv_type_u_int32_t = yes; then
7520 acx_cv_header_stdint
=$i
7525 echo "$as_me:$LINENO: checking for u_int64_t" >&5
7526 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
7527 if test "${ac_cv_type_u_int64_t+set}" = set; then
7528 echo $ECHO_N "(cached) $ECHO_C" >&6
7530 cat >conftest.
$ac_ext <<_ACEOF
7533 cat confdefs.h
>>conftest.
$ac_ext
7534 cat >>conftest.
$ac_ext <<_ACEOF
7535 /* end confdefs.h. */
7536 #include <sys/types.h>
7542 if ((u_int64_t *) 0)
7544 if (sizeof (u_int64_t))
7550 rm -f conftest.
$ac_objext
7551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7552 (eval $ac_compile) 2>conftest.er1
7554 grep -v '^ *+' conftest.er1
>conftest.err
7556 cat conftest.err
>&5
7557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7558 (exit $ac_status); } &&
7559 { ac_try
='test -z "$ac_c_werror_flag"
7560 || test ! -s conftest.err'
7561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7565 (exit $ac_status); }; } &&
7566 { ac_try
='test -s conftest.$ac_objext'
7567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7571 (exit $ac_status); }; }; then
7572 ac_cv_type_u_int64_t
=yes
7574 echo "$as_me: failed program was:" >&5
7575 sed 's/^/| /' conftest.
$ac_ext >&5
7577 ac_cv_type_u_int64_t
=no
7579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7581 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
7582 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
7583 if test $ac_cv_type_u_int64_t = yes; then
7586 acx_cv_header_stdint_kind
="(u_intXX_t style, lacks u_int64_t)"
7592 if test "$acx_cv_header_stdint" = stddef.h
; then
7593 acx_cv_header_stdint_kind
="(using manual detection)"
7596 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
7597 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
7598 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
7599 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
7600 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
7602 # ----------------- Summarize what we found so far
7604 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
7605 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
7607 case `$as_basename gstdint.h ||
7608 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
7609 Xgstdint.h : 'X\(//\)$' \| \
7610 Xgstdint.h : 'X\(/\)$' \| \
7611 . : '\(.\)' 2>/dev/null ||
7613 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7614 /^X\/\(\/\/\)$/{ s//\1/; q; }
7615 /^X\/\(\/\).*/{ s//\1/; q; }
7617 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
7618 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
7619 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
7620 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
7624 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
7625 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
7627 # ----------------- done included file, check C basic types --------
7629 # Lacking an uintptr_t? Test size of void *
7630 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
7631 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
7632 echo $ECHO_N "checking for void *... $ECHO_C" >&6
7633 if test "${ac_cv_type_void_p+set}" = set; then
7634 echo $ECHO_N "(cached) $ECHO_C" >&6
7636 cat >conftest.
$ac_ext <<_ACEOF
7639 cat confdefs.h
>>conftest.
$ac_ext
7640 cat >>conftest.
$ac_ext <<_ACEOF
7641 /* end confdefs.h. */
7642 $ac_includes_default
7648 if (sizeof (void *))
7654 rm -f conftest.
$ac_objext
7655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7656 (eval $ac_compile) 2>conftest.er1
7658 grep -v '^ *+' conftest.er1
>conftest.err
7660 cat conftest.err
>&5
7661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7662 (exit $ac_status); } &&
7663 { ac_try
='test -z "$ac_c_werror_flag"
7664 || test ! -s conftest.err'
7665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7669 (exit $ac_status); }; } &&
7670 { ac_try
='test -s conftest.$ac_objext'
7671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7675 (exit $ac_status); }; }; then
7676 ac_cv_type_void_p
=yes
7678 echo "$as_me: failed program was:" >&5
7679 sed 's/^/| /' conftest.
$ac_ext >&5
7681 ac_cv_type_void_p
=no
7683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7685 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
7686 echo "${ECHO_T}$ac_cv_type_void_p" >&6
7688 echo "$as_me:$LINENO: checking size of void *" >&5
7689 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
7690 if test "${ac_cv_sizeof_void_p+set}" = set; then
7691 echo $ECHO_N "(cached) $ECHO_C" >&6
7693 if test "$ac_cv_type_void_p" = yes; then
7694 # The cast to unsigned long works around a bug in the HP C Compiler
7695 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7696 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7697 # This bug is HP SR number 8606223364.
7698 if test "$cross_compiling" = yes; then
7699 # Depending upon the size, compute the lo and hi bounds.
7700 cat >conftest.
$ac_ext <<_ACEOF
7703 cat confdefs.h
>>conftest.
$ac_ext
7704 cat >>conftest.
$ac_ext <<_ACEOF
7705 /* end confdefs.h. */
7706 $ac_includes_default
7710 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
7717 rm -f conftest.
$ac_objext
7718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7719 (eval $ac_compile) 2>conftest.er1
7721 grep -v '^ *+' conftest.er1
>conftest.err
7723 cat conftest.err
>&5
7724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7725 (exit $ac_status); } &&
7726 { ac_try
='test -z "$ac_c_werror_flag"
7727 || test ! -s conftest.err'
7728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7732 (exit $ac_status); }; } &&
7733 { ac_try
='test -s conftest.$ac_objext'
7734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7738 (exit $ac_status); }; }; then
7741 cat >conftest.
$ac_ext <<_ACEOF
7744 cat confdefs.h
>>conftest.
$ac_ext
7745 cat >>conftest.
$ac_ext <<_ACEOF
7746 /* end confdefs.h. */
7747 $ac_includes_default
7751 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
7758 rm -f conftest.
$ac_objext
7759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7760 (eval $ac_compile) 2>conftest.er1
7762 grep -v '^ *+' conftest.er1
>conftest.err
7764 cat conftest.err
>&5
7765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7766 (exit $ac_status); } &&
7767 { ac_try
='test -z "$ac_c_werror_flag"
7768 || test ! -s conftest.err'
7769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7773 (exit $ac_status); }; } &&
7774 { ac_try
='test -s conftest.$ac_objext'
7775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7779 (exit $ac_status); }; }; then
7780 ac_hi
=$ac_mid; break
7782 echo "$as_me: failed program was:" >&5
7783 sed 's/^/| /' conftest.
$ac_ext >&5
7785 ac_lo
=`expr $ac_mid + 1`
7786 if test $ac_lo -le $ac_mid; then
7790 ac_mid
=`expr 2 '*' $ac_mid + 1`
7792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7795 echo "$as_me: failed program was:" >&5
7796 sed 's/^/| /' conftest.
$ac_ext >&5
7798 cat >conftest.
$ac_ext <<_ACEOF
7801 cat confdefs.h
>>conftest.
$ac_ext
7802 cat >>conftest.
$ac_ext <<_ACEOF
7803 /* end confdefs.h. */
7804 $ac_includes_default
7808 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
7815 rm -f conftest.
$ac_objext
7816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7817 (eval $ac_compile) 2>conftest.er1
7819 grep -v '^ *+' conftest.er1
>conftest.err
7821 cat conftest.err
>&5
7822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7823 (exit $ac_status); } &&
7824 { ac_try
='test -z "$ac_c_werror_flag"
7825 || test ! -s conftest.err'
7826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7830 (exit $ac_status); }; } &&
7831 { ac_try
='test -s conftest.$ac_objext'
7832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7836 (exit $ac_status); }; }; then
7839 cat >conftest.
$ac_ext <<_ACEOF
7842 cat confdefs.h
>>conftest.
$ac_ext
7843 cat >>conftest.
$ac_ext <<_ACEOF
7844 /* end confdefs.h. */
7845 $ac_includes_default
7849 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
7856 rm -f conftest.
$ac_objext
7857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7858 (eval $ac_compile) 2>conftest.er1
7860 grep -v '^ *+' conftest.er1
>conftest.err
7862 cat conftest.err
>&5
7863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7864 (exit $ac_status); } &&
7865 { ac_try
='test -z "$ac_c_werror_flag"
7866 || test ! -s conftest.err'
7867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7871 (exit $ac_status); }; } &&
7872 { ac_try
='test -s conftest.$ac_objext'
7873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7877 (exit $ac_status); }; }; then
7878 ac_lo
=$ac_mid; break
7880 echo "$as_me: failed program was:" >&5
7881 sed 's/^/| /' conftest.
$ac_ext >&5
7883 ac_hi
=`expr '(' $ac_mid ')' - 1`
7884 if test $ac_mid -le $ac_hi; then
7888 ac_mid
=`expr 2 '*' $ac_mid`
7890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7893 echo "$as_me: failed program was:" >&5
7894 sed 's/^/| /' conftest.
$ac_ext >&5
7898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7901 # Binary search between lo and hi bounds.
7902 while test "x$ac_lo" != "x$ac_hi"; do
7903 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7904 cat >conftest.
$ac_ext <<_ACEOF
7907 cat confdefs.h
>>conftest.
$ac_ext
7908 cat >>conftest.
$ac_ext <<_ACEOF
7909 /* end confdefs.h. */
7910 $ac_includes_default
7914 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
7921 rm -f conftest.
$ac_objext
7922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7923 (eval $ac_compile) 2>conftest.er1
7925 grep -v '^ *+' conftest.er1
>conftest.err
7927 cat conftest.err
>&5
7928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7929 (exit $ac_status); } &&
7930 { ac_try
='test -z "$ac_c_werror_flag"
7931 || test ! -s conftest.err'
7932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7936 (exit $ac_status); }; } &&
7937 { ac_try
='test -s conftest.$ac_objext'
7938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7942 (exit $ac_status); }; }; then
7945 echo "$as_me: failed program was:" >&5
7946 sed 's/^/| /' conftest.
$ac_ext >&5
7948 ac_lo
=`expr '(' $ac_mid ')' + 1`
7950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7953 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
7954 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
7955 See \`config.log' for more details." >&5
7956 echo "$as_me: error: cannot compute sizeof (void *), 77
7957 See \`config.log' for more details." >&2;}
7958 { (exit 1); exit 1; }; } ;;
7961 if test "$cross_compiling" = yes; then
7962 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7963 See \`config.log' for more details." >&5
7964 echo "$as_me: error: cannot run test program while cross compiling
7965 See \`config.log' for more details." >&2;}
7966 { (exit 1); exit 1; }; }
7968 cat >conftest.
$ac_ext <<_ACEOF
7971 cat confdefs.h
>>conftest.
$ac_ext
7972 cat >>conftest.
$ac_ext <<_ACEOF
7973 /* end confdefs.h. */
7974 $ac_includes_default
7975 long longval () { return (long) (sizeof (void *)); }
7976 unsigned long ulongval () { return (long) (sizeof (void *)); }
7983 FILE *f = fopen ("conftest.val", "w");
7986 if (((long) (sizeof (void *))) < 0)
7988 long i = longval ();
7989 if (i != ((long) (sizeof (void *))))
7991 fprintf (f, "%ld\n", i);
7995 unsigned long i = ulongval ();
7996 if (i != ((long) (sizeof (void *))))
7998 fprintf (f, "%lu\n", i);
8000 exit (ferror (f) || fclose (f) != 0);
8006 rm -f conftest
$ac_exeext
8007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8008 (eval $ac_link) 2>&5
8010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8011 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8016 (exit $ac_status); }; }; then
8017 ac_cv_sizeof_void_p
=`cat conftest.val`
8019 echo "$as_me: program exited with status $ac_status" >&5
8020 echo "$as_me: failed program was:" >&5
8021 sed 's/^/| /' conftest.
$ac_ext >&5
8024 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
8025 See \`config.log' for more details." >&5
8026 echo "$as_me: error: cannot compute sizeof (void *), 77
8027 See \`config.log' for more details." >&2;}
8028 { (exit 1); exit 1; }; }
8030 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8035 ac_cv_sizeof_void_p
=0
8038 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
8039 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
8040 cat >>confdefs.h
<<_ACEOF
8041 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
8047 # Lacking an uint64_t? Test size of long
8048 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
8049 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
8050 echo $ECHO_N "checking for long... $ECHO_C" >&6
8051 if test "${ac_cv_type_long+set}" = set; then
8052 echo $ECHO_N "(cached) $ECHO_C" >&6
8054 cat >conftest.
$ac_ext <<_ACEOF
8057 cat confdefs.h
>>conftest.
$ac_ext
8058 cat >>conftest.
$ac_ext <<_ACEOF
8059 /* end confdefs.h. */
8060 $ac_includes_default
8072 rm -f conftest.
$ac_objext
8073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8074 (eval $ac_compile) 2>conftest.er1
8076 grep -v '^ *+' conftest.er1
>conftest.err
8078 cat conftest.err
>&5
8079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8080 (exit $ac_status); } &&
8081 { ac_try
='test -z "$ac_c_werror_flag"
8082 || test ! -s conftest.err'
8083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8087 (exit $ac_status); }; } &&
8088 { ac_try
='test -s conftest.$ac_objext'
8089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8093 (exit $ac_status); }; }; then
8096 echo "$as_me: failed program was:" >&5
8097 sed 's/^/| /' conftest.
$ac_ext >&5
8101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8103 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
8104 echo "${ECHO_T}$ac_cv_type_long" >&6
8106 echo "$as_me:$LINENO: checking size of long" >&5
8107 echo $ECHO_N "checking size of long... $ECHO_C" >&6
8108 if test "${ac_cv_sizeof_long+set}" = set; then
8109 echo $ECHO_N "(cached) $ECHO_C" >&6
8111 if test "$ac_cv_type_long" = yes; then
8112 # The cast to unsigned long works around a bug in the HP C Compiler
8113 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8114 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8115 # This bug is HP SR number 8606223364.
8116 if test "$cross_compiling" = yes; then
8117 # Depending upon the size, compute the lo and hi bounds.
8118 cat >conftest.
$ac_ext <<_ACEOF
8121 cat confdefs.h
>>conftest.
$ac_ext
8122 cat >>conftest.
$ac_ext <<_ACEOF
8123 /* end confdefs.h. */
8124 $ac_includes_default
8128 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
8135 rm -f conftest.
$ac_objext
8136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8137 (eval $ac_compile) 2>conftest.er1
8139 grep -v '^ *+' conftest.er1
>conftest.err
8141 cat conftest.err
>&5
8142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8143 (exit $ac_status); } &&
8144 { ac_try
='test -z "$ac_c_werror_flag"
8145 || test ! -s conftest.err'
8146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8150 (exit $ac_status); }; } &&
8151 { ac_try
='test -s conftest.$ac_objext'
8152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8156 (exit $ac_status); }; }; then
8159 cat >conftest.
$ac_ext <<_ACEOF
8162 cat confdefs.h
>>conftest.
$ac_ext
8163 cat >>conftest.
$ac_ext <<_ACEOF
8164 /* end confdefs.h. */
8165 $ac_includes_default
8169 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
8176 rm -f conftest.
$ac_objext
8177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8178 (eval $ac_compile) 2>conftest.er1
8180 grep -v '^ *+' conftest.er1
>conftest.err
8182 cat conftest.err
>&5
8183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184 (exit $ac_status); } &&
8185 { ac_try
='test -z "$ac_c_werror_flag"
8186 || test ! -s conftest.err'
8187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8191 (exit $ac_status); }; } &&
8192 { ac_try
='test -s conftest.$ac_objext'
8193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8197 (exit $ac_status); }; }; then
8198 ac_hi
=$ac_mid; break
8200 echo "$as_me: failed program was:" >&5
8201 sed 's/^/| /' conftest.
$ac_ext >&5
8203 ac_lo
=`expr $ac_mid + 1`
8204 if test $ac_lo -le $ac_mid; then
8208 ac_mid
=`expr 2 '*' $ac_mid + 1`
8210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8213 echo "$as_me: failed program was:" >&5
8214 sed 's/^/| /' conftest.
$ac_ext >&5
8216 cat >conftest.
$ac_ext <<_ACEOF
8219 cat confdefs.h
>>conftest.
$ac_ext
8220 cat >>conftest.
$ac_ext <<_ACEOF
8221 /* end confdefs.h. */
8222 $ac_includes_default
8226 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
8233 rm -f conftest.
$ac_objext
8234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8235 (eval $ac_compile) 2>conftest.er1
8237 grep -v '^ *+' conftest.er1
>conftest.err
8239 cat conftest.err
>&5
8240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8241 (exit $ac_status); } &&
8242 { ac_try
='test -z "$ac_c_werror_flag"
8243 || test ! -s conftest.err'
8244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248 (exit $ac_status); }; } &&
8249 { ac_try
='test -s conftest.$ac_objext'
8250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254 (exit $ac_status); }; }; then
8257 cat >conftest.
$ac_ext <<_ACEOF
8260 cat confdefs.h
>>conftest.
$ac_ext
8261 cat >>conftest.
$ac_ext <<_ACEOF
8262 /* end confdefs.h. */
8263 $ac_includes_default
8267 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
8274 rm -f conftest.
$ac_objext
8275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8276 (eval $ac_compile) 2>conftest.er1
8278 grep -v '^ *+' conftest.er1
>conftest.err
8280 cat conftest.err
>&5
8281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8282 (exit $ac_status); } &&
8283 { ac_try
='test -z "$ac_c_werror_flag"
8284 || test ! -s conftest.err'
8285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8289 (exit $ac_status); }; } &&
8290 { ac_try
='test -s conftest.$ac_objext'
8291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8295 (exit $ac_status); }; }; then
8296 ac_lo
=$ac_mid; break
8298 echo "$as_me: failed program was:" >&5
8299 sed 's/^/| /' conftest.
$ac_ext >&5
8301 ac_hi
=`expr '(' $ac_mid ')' - 1`
8302 if test $ac_mid -le $ac_hi; then
8306 ac_mid
=`expr 2 '*' $ac_mid`
8308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8311 echo "$as_me: failed program was:" >&5
8312 sed 's/^/| /' conftest.
$ac_ext >&5
8316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8319 # Binary search between lo and hi bounds.
8320 while test "x$ac_lo" != "x$ac_hi"; do
8321 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8322 cat >conftest.
$ac_ext <<_ACEOF
8325 cat confdefs.h
>>conftest.
$ac_ext
8326 cat >>conftest.
$ac_ext <<_ACEOF
8327 /* end confdefs.h. */
8328 $ac_includes_default
8332 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
8339 rm -f conftest.
$ac_objext
8340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8341 (eval $ac_compile) 2>conftest.er1
8343 grep -v '^ *+' conftest.er1
>conftest.err
8345 cat conftest.err
>&5
8346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8347 (exit $ac_status); } &&
8348 { ac_try
='test -z "$ac_c_werror_flag"
8349 || test ! -s conftest.err'
8350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8354 (exit $ac_status); }; } &&
8355 { ac_try
='test -s conftest.$ac_objext'
8356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8360 (exit $ac_status); }; }; then
8363 echo "$as_me: failed program was:" >&5
8364 sed 's/^/| /' conftest.
$ac_ext >&5
8366 ac_lo
=`expr '(' $ac_mid ')' + 1`
8368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8371 ?
*) ac_cv_sizeof_long
=$ac_lo;;
8372 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8373 See \`config.log' for more details." >&5
8374 echo "$as_me: error: cannot compute sizeof (long), 77
8375 See \`config.log' for more details." >&2;}
8376 { (exit 1); exit 1; }; } ;;
8379 if test "$cross_compiling" = yes; then
8380 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8381 See \`config.log' for more details." >&5
8382 echo "$as_me: error: cannot run test program while cross compiling
8383 See \`config.log' for more details." >&2;}
8384 { (exit 1); exit 1; }; }
8386 cat >conftest.
$ac_ext <<_ACEOF
8389 cat confdefs.h
>>conftest.
$ac_ext
8390 cat >>conftest.
$ac_ext <<_ACEOF
8391 /* end confdefs.h. */
8392 $ac_includes_default
8393 long longval () { return (long) (sizeof (long)); }
8394 unsigned long ulongval () { return (long) (sizeof (long)); }
8401 FILE *f = fopen ("conftest.val", "w");
8404 if (((long) (sizeof (long))) < 0)
8406 long i = longval ();
8407 if (i != ((long) (sizeof (long))))
8409 fprintf (f, "%ld\n", i);
8413 unsigned long i = ulongval ();
8414 if (i != ((long) (sizeof (long))))
8416 fprintf (f, "%lu\n", i);
8418 exit (ferror (f) || fclose (f) != 0);
8424 rm -f conftest
$ac_exeext
8425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8426 (eval $ac_link) 2>&5
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8434 (exit $ac_status); }; }; then
8435 ac_cv_sizeof_long
=`cat conftest.val`
8437 echo "$as_me: program exited with status $ac_status" >&5
8438 echo "$as_me: failed program was:" >&5
8439 sed 's/^/| /' conftest.
$ac_ext >&5
8442 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8443 See \`config.log' for more details." >&5
8444 echo "$as_me: error: cannot compute sizeof (long), 77
8445 See \`config.log' for more details." >&2;}
8446 { (exit 1); exit 1; }; }
8448 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8456 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
8457 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
8458 cat >>confdefs.h
<<_ACEOF
8459 #define SIZEOF_LONG $ac_cv_sizeof_long
8465 if test $acx_cv_header_stdint = stddef.h
; then
8466 # Lacking a good header? Test size of everything and deduce all types.
8467 echo "$as_me:$LINENO: checking for int" >&5
8468 echo $ECHO_N "checking for int... $ECHO_C" >&6
8469 if test "${ac_cv_type_int+set}" = set; then
8470 echo $ECHO_N "(cached) $ECHO_C" >&6
8472 cat >conftest.
$ac_ext <<_ACEOF
8475 cat confdefs.h
>>conftest.
$ac_ext
8476 cat >>conftest.
$ac_ext <<_ACEOF
8477 /* end confdefs.h. */
8478 $ac_includes_default
8490 rm -f conftest.
$ac_objext
8491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8492 (eval $ac_compile) 2>conftest.er1
8494 grep -v '^ *+' conftest.er1
>conftest.err
8496 cat conftest.err
>&5
8497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8498 (exit $ac_status); } &&
8499 { ac_try
='test -z "$ac_c_werror_flag"
8500 || test ! -s conftest.err'
8501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8505 (exit $ac_status); }; } &&
8506 { ac_try
='test -s conftest.$ac_objext'
8507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8511 (exit $ac_status); }; }; then
8514 echo "$as_me: failed program was:" >&5
8515 sed 's/^/| /' conftest.
$ac_ext >&5
8519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8521 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
8522 echo "${ECHO_T}$ac_cv_type_int" >&6
8524 echo "$as_me:$LINENO: checking size of int" >&5
8525 echo $ECHO_N "checking size of int... $ECHO_C" >&6
8526 if test "${ac_cv_sizeof_int+set}" = set; then
8527 echo $ECHO_N "(cached) $ECHO_C" >&6
8529 if test "$ac_cv_type_int" = yes; then
8530 # The cast to unsigned long works around a bug in the HP C Compiler
8531 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8532 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8533 # This bug is HP SR number 8606223364.
8534 if test "$cross_compiling" = yes; then
8535 # Depending upon the size, compute the lo and hi bounds.
8536 cat >conftest.
$ac_ext <<_ACEOF
8539 cat confdefs.h
>>conftest.
$ac_ext
8540 cat >>conftest.
$ac_ext <<_ACEOF
8541 /* end confdefs.h. */
8542 $ac_includes_default
8546 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
8553 rm -f conftest.
$ac_objext
8554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8555 (eval $ac_compile) 2>conftest.er1
8557 grep -v '^ *+' conftest.er1
>conftest.err
8559 cat conftest.err
>&5
8560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8561 (exit $ac_status); } &&
8562 { ac_try
='test -z "$ac_c_werror_flag"
8563 || test ! -s conftest.err'
8564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8568 (exit $ac_status); }; } &&
8569 { ac_try
='test -s conftest.$ac_objext'
8570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8574 (exit $ac_status); }; }; then
8577 cat >conftest.
$ac_ext <<_ACEOF
8580 cat confdefs.h
>>conftest.
$ac_ext
8581 cat >>conftest.
$ac_ext <<_ACEOF
8582 /* end confdefs.h. */
8583 $ac_includes_default
8587 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
8594 rm -f conftest.
$ac_objext
8595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8596 (eval $ac_compile) 2>conftest.er1
8598 grep -v '^ *+' conftest.er1
>conftest.err
8600 cat conftest.err
>&5
8601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8602 (exit $ac_status); } &&
8603 { ac_try
='test -z "$ac_c_werror_flag"
8604 || test ! -s conftest.err'
8605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8609 (exit $ac_status); }; } &&
8610 { ac_try
='test -s conftest.$ac_objext'
8611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615 (exit $ac_status); }; }; then
8616 ac_hi
=$ac_mid; break
8618 echo "$as_me: failed program was:" >&5
8619 sed 's/^/| /' conftest.
$ac_ext >&5
8621 ac_lo
=`expr $ac_mid + 1`
8622 if test $ac_lo -le $ac_mid; then
8626 ac_mid
=`expr 2 '*' $ac_mid + 1`
8628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8631 echo "$as_me: failed program was:" >&5
8632 sed 's/^/| /' conftest.
$ac_ext >&5
8634 cat >conftest.
$ac_ext <<_ACEOF
8637 cat confdefs.h
>>conftest.
$ac_ext
8638 cat >>conftest.
$ac_ext <<_ACEOF
8639 /* end confdefs.h. */
8640 $ac_includes_default
8644 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
8651 rm -f conftest.
$ac_objext
8652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8653 (eval $ac_compile) 2>conftest.er1
8655 grep -v '^ *+' conftest.er1
>conftest.err
8657 cat conftest.err
>&5
8658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8659 (exit $ac_status); } &&
8660 { ac_try
='test -z "$ac_c_werror_flag"
8661 || test ! -s conftest.err'
8662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8666 (exit $ac_status); }; } &&
8667 { ac_try
='test -s conftest.$ac_objext'
8668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8672 (exit $ac_status); }; }; then
8675 cat >conftest.
$ac_ext <<_ACEOF
8678 cat confdefs.h
>>conftest.
$ac_ext
8679 cat >>conftest.
$ac_ext <<_ACEOF
8680 /* end confdefs.h. */
8681 $ac_includes_default
8685 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
8692 rm -f conftest.
$ac_objext
8693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8694 (eval $ac_compile) 2>conftest.er1
8696 grep -v '^ *+' conftest.er1
>conftest.err
8698 cat conftest.err
>&5
8699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8700 (exit $ac_status); } &&
8701 { ac_try
='test -z "$ac_c_werror_flag"
8702 || test ! -s conftest.err'
8703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8707 (exit $ac_status); }; } &&
8708 { ac_try
='test -s conftest.$ac_objext'
8709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8713 (exit $ac_status); }; }; then
8714 ac_lo
=$ac_mid; break
8716 echo "$as_me: failed program was:" >&5
8717 sed 's/^/| /' conftest.
$ac_ext >&5
8719 ac_hi
=`expr '(' $ac_mid ')' - 1`
8720 if test $ac_mid -le $ac_hi; then
8724 ac_mid
=`expr 2 '*' $ac_mid`
8726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8729 echo "$as_me: failed program was:" >&5
8730 sed 's/^/| /' conftest.
$ac_ext >&5
8734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8737 # Binary search between lo and hi bounds.
8738 while test "x$ac_lo" != "x$ac_hi"; do
8739 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8740 cat >conftest.
$ac_ext <<_ACEOF
8743 cat confdefs.h
>>conftest.
$ac_ext
8744 cat >>conftest.
$ac_ext <<_ACEOF
8745 /* end confdefs.h. */
8746 $ac_includes_default
8750 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
8757 rm -f conftest.
$ac_objext
8758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8759 (eval $ac_compile) 2>conftest.er1
8761 grep -v '^ *+' conftest.er1
>conftest.err
8763 cat conftest.err
>&5
8764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8765 (exit $ac_status); } &&
8766 { ac_try
='test -z "$ac_c_werror_flag"
8767 || test ! -s conftest.err'
8768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8772 (exit $ac_status); }; } &&
8773 { ac_try
='test -s conftest.$ac_objext'
8774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8778 (exit $ac_status); }; }; then
8781 echo "$as_me: failed program was:" >&5
8782 sed 's/^/| /' conftest.
$ac_ext >&5
8784 ac_lo
=`expr '(' $ac_mid ')' + 1`
8786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8789 ?
*) ac_cv_sizeof_int
=$ac_lo;;
8790 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8791 See \`config.log' for more details." >&5
8792 echo "$as_me: error: cannot compute sizeof (int), 77
8793 See \`config.log' for more details." >&2;}
8794 { (exit 1); exit 1; }; } ;;
8797 if test "$cross_compiling" = yes; then
8798 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8799 See \`config.log' for more details." >&5
8800 echo "$as_me: error: cannot run test program while cross compiling
8801 See \`config.log' for more details." >&2;}
8802 { (exit 1); exit 1; }; }
8804 cat >conftest.
$ac_ext <<_ACEOF
8807 cat confdefs.h
>>conftest.
$ac_ext
8808 cat >>conftest.
$ac_ext <<_ACEOF
8809 /* end confdefs.h. */
8810 $ac_includes_default
8811 long longval () { return (long) (sizeof (int)); }
8812 unsigned long ulongval () { return (long) (sizeof (int)); }
8819 FILE *f = fopen ("conftest.val", "w");
8822 if (((long) (sizeof (int))) < 0)
8824 long i = longval ();
8825 if (i != ((long) (sizeof (int))))
8827 fprintf (f, "%ld\n", i);
8831 unsigned long i = ulongval ();
8832 if (i != ((long) (sizeof (int))))
8834 fprintf (f, "%lu\n", i);
8836 exit (ferror (f) || fclose (f) != 0);
8842 rm -f conftest
$ac_exeext
8843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8844 (eval $ac_link) 2>&5
8846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8847 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8852 (exit $ac_status); }; }; then
8853 ac_cv_sizeof_int
=`cat conftest.val`
8855 echo "$as_me: program exited with status $ac_status" >&5
8856 echo "$as_me: failed program was:" >&5
8857 sed 's/^/| /' conftest.
$ac_ext >&5
8860 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8861 See \`config.log' for more details." >&5
8862 echo "$as_me: error: cannot compute sizeof (int), 77
8863 See \`config.log' for more details." >&2;}
8864 { (exit 1); exit 1; }; }
8866 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8874 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
8875 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
8876 cat >>confdefs.h
<<_ACEOF
8877 #define SIZEOF_INT $ac_cv_sizeof_int
8881 echo "$as_me:$LINENO: checking for short" >&5
8882 echo $ECHO_N "checking for short... $ECHO_C" >&6
8883 if test "${ac_cv_type_short+set}" = set; then
8884 echo $ECHO_N "(cached) $ECHO_C" >&6
8886 cat >conftest.
$ac_ext <<_ACEOF
8889 cat confdefs.h
>>conftest.
$ac_ext
8890 cat >>conftest.
$ac_ext <<_ACEOF
8891 /* end confdefs.h. */
8892 $ac_includes_default
8904 rm -f conftest.
$ac_objext
8905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8906 (eval $ac_compile) 2>conftest.er1
8908 grep -v '^ *+' conftest.er1
>conftest.err
8910 cat conftest.err
>&5
8911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8912 (exit $ac_status); } &&
8913 { ac_try
='test -z "$ac_c_werror_flag"
8914 || test ! -s conftest.err'
8915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8919 (exit $ac_status); }; } &&
8920 { ac_try
='test -s conftest.$ac_objext'
8921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8925 (exit $ac_status); }; }; then
8926 ac_cv_type_short
=yes
8928 echo "$as_me: failed program was:" >&5
8929 sed 's/^/| /' conftest.
$ac_ext >&5
8933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8935 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
8936 echo "${ECHO_T}$ac_cv_type_short" >&6
8938 echo "$as_me:$LINENO: checking size of short" >&5
8939 echo $ECHO_N "checking size of short... $ECHO_C" >&6
8940 if test "${ac_cv_sizeof_short+set}" = set; then
8941 echo $ECHO_N "(cached) $ECHO_C" >&6
8943 if test "$ac_cv_type_short" = yes; then
8944 # The cast to unsigned long works around a bug in the HP C Compiler
8945 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8946 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8947 # This bug is HP SR number 8606223364.
8948 if test "$cross_compiling" = yes; then
8949 # Depending upon the size, compute the lo and hi bounds.
8950 cat >conftest.
$ac_ext <<_ACEOF
8953 cat confdefs.h
>>conftest.
$ac_ext
8954 cat >>conftest.
$ac_ext <<_ACEOF
8955 /* end confdefs.h. */
8956 $ac_includes_default
8960 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
8967 rm -f conftest.
$ac_objext
8968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8969 (eval $ac_compile) 2>conftest.er1
8971 grep -v '^ *+' conftest.er1
>conftest.err
8973 cat conftest.err
>&5
8974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8975 (exit $ac_status); } &&
8976 { ac_try
='test -z "$ac_c_werror_flag"
8977 || test ! -s conftest.err'
8978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982 (exit $ac_status); }; } &&
8983 { ac_try
='test -s conftest.$ac_objext'
8984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8988 (exit $ac_status); }; }; then
8991 cat >conftest.
$ac_ext <<_ACEOF
8994 cat confdefs.h
>>conftest.
$ac_ext
8995 cat >>conftest.
$ac_ext <<_ACEOF
8996 /* end confdefs.h. */
8997 $ac_includes_default
9001 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
9008 rm -f conftest.
$ac_objext
9009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9010 (eval $ac_compile) 2>conftest.er1
9012 grep -v '^ *+' conftest.er1
>conftest.err
9014 cat conftest.err
>&5
9015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9016 (exit $ac_status); } &&
9017 { ac_try
='test -z "$ac_c_werror_flag"
9018 || test ! -s conftest.err'
9019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9023 (exit $ac_status); }; } &&
9024 { ac_try
='test -s conftest.$ac_objext'
9025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9029 (exit $ac_status); }; }; then
9030 ac_hi
=$ac_mid; break
9032 echo "$as_me: failed program was:" >&5
9033 sed 's/^/| /' conftest.
$ac_ext >&5
9035 ac_lo
=`expr $ac_mid + 1`
9036 if test $ac_lo -le $ac_mid; then
9040 ac_mid
=`expr 2 '*' $ac_mid + 1`
9042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9045 echo "$as_me: failed program was:" >&5
9046 sed 's/^/| /' conftest.
$ac_ext >&5
9048 cat >conftest.
$ac_ext <<_ACEOF
9051 cat confdefs.h
>>conftest.
$ac_ext
9052 cat >>conftest.
$ac_ext <<_ACEOF
9053 /* end confdefs.h. */
9054 $ac_includes_default
9058 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
9065 rm -f conftest.
$ac_objext
9066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9067 (eval $ac_compile) 2>conftest.er1
9069 grep -v '^ *+' conftest.er1
>conftest.err
9071 cat conftest.err
>&5
9072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9073 (exit $ac_status); } &&
9074 { ac_try
='test -z "$ac_c_werror_flag"
9075 || test ! -s conftest.err'
9076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080 (exit $ac_status); }; } &&
9081 { ac_try
='test -s conftest.$ac_objext'
9082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9086 (exit $ac_status); }; }; then
9089 cat >conftest.
$ac_ext <<_ACEOF
9092 cat confdefs.h
>>conftest.
$ac_ext
9093 cat >>conftest.
$ac_ext <<_ACEOF
9094 /* end confdefs.h. */
9095 $ac_includes_default
9099 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
9106 rm -f conftest.
$ac_objext
9107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9108 (eval $ac_compile) 2>conftest.er1
9110 grep -v '^ *+' conftest.er1
>conftest.err
9112 cat conftest.err
>&5
9113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9114 (exit $ac_status); } &&
9115 { ac_try
='test -z "$ac_c_werror_flag"
9116 || test ! -s conftest.err'
9117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9121 (exit $ac_status); }; } &&
9122 { ac_try
='test -s conftest.$ac_objext'
9123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127 (exit $ac_status); }; }; then
9128 ac_lo
=$ac_mid; break
9130 echo "$as_me: failed program was:" >&5
9131 sed 's/^/| /' conftest.
$ac_ext >&5
9133 ac_hi
=`expr '(' $ac_mid ')' - 1`
9134 if test $ac_mid -le $ac_hi; then
9138 ac_mid
=`expr 2 '*' $ac_mid`
9140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9143 echo "$as_me: failed program was:" >&5
9144 sed 's/^/| /' conftest.
$ac_ext >&5
9148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9151 # Binary search between lo and hi bounds.
9152 while test "x$ac_lo" != "x$ac_hi"; do
9153 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9154 cat >conftest.
$ac_ext <<_ACEOF
9157 cat confdefs.h
>>conftest.
$ac_ext
9158 cat >>conftest.
$ac_ext <<_ACEOF
9159 /* end confdefs.h. */
9160 $ac_includes_default
9164 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
9171 rm -f conftest.
$ac_objext
9172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9173 (eval $ac_compile) 2>conftest.er1
9175 grep -v '^ *+' conftest.er1
>conftest.err
9177 cat conftest.err
>&5
9178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9179 (exit $ac_status); } &&
9180 { ac_try
='test -z "$ac_c_werror_flag"
9181 || test ! -s conftest.err'
9182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9186 (exit $ac_status); }; } &&
9187 { ac_try
='test -s conftest.$ac_objext'
9188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9192 (exit $ac_status); }; }; then
9195 echo "$as_me: failed program was:" >&5
9196 sed 's/^/| /' conftest.
$ac_ext >&5
9198 ac_lo
=`expr '(' $ac_mid ')' + 1`
9200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9203 ?
*) ac_cv_sizeof_short
=$ac_lo;;
9204 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
9205 See \`config.log' for more details." >&5
9206 echo "$as_me: error: cannot compute sizeof (short), 77
9207 See \`config.log' for more details." >&2;}
9208 { (exit 1); exit 1; }; } ;;
9211 if test "$cross_compiling" = yes; then
9212 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9213 See \`config.log' for more details." >&5
9214 echo "$as_me: error: cannot run test program while cross compiling
9215 See \`config.log' for more details." >&2;}
9216 { (exit 1); exit 1; }; }
9218 cat >conftest.
$ac_ext <<_ACEOF
9221 cat confdefs.h
>>conftest.
$ac_ext
9222 cat >>conftest.
$ac_ext <<_ACEOF
9223 /* end confdefs.h. */
9224 $ac_includes_default
9225 long longval () { return (long) (sizeof (short)); }
9226 unsigned long ulongval () { return (long) (sizeof (short)); }
9233 FILE *f = fopen ("conftest.val", "w");
9236 if (((long) (sizeof (short))) < 0)
9238 long i = longval ();
9239 if (i != ((long) (sizeof (short))))
9241 fprintf (f, "%ld\n", i);
9245 unsigned long i = ulongval ();
9246 if (i != ((long) (sizeof (short))))
9248 fprintf (f, "%lu\n", i);
9250 exit (ferror (f) || fclose (f) != 0);
9256 rm -f conftest
$ac_exeext
9257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9258 (eval $ac_link) 2>&5
9260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9261 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9266 (exit $ac_status); }; }; then
9267 ac_cv_sizeof_short
=`cat conftest.val`
9269 echo "$as_me: program exited with status $ac_status" >&5
9270 echo "$as_me: failed program was:" >&5
9271 sed 's/^/| /' conftest.
$ac_ext >&5
9274 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
9275 See \`config.log' for more details." >&5
9276 echo "$as_me: error: cannot compute sizeof (short), 77
9277 See \`config.log' for more details." >&2;}
9278 { (exit 1); exit 1; }; }
9280 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9285 ac_cv_sizeof_short
=0
9288 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
9289 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
9290 cat >>confdefs.h
<<_ACEOF
9291 #define SIZEOF_SHORT $ac_cv_sizeof_short
9295 echo "$as_me:$LINENO: checking for char" >&5
9296 echo $ECHO_N "checking for char... $ECHO_C" >&6
9297 if test "${ac_cv_type_char+set}" = set; then
9298 echo $ECHO_N "(cached) $ECHO_C" >&6
9300 cat >conftest.
$ac_ext <<_ACEOF
9303 cat confdefs.h
>>conftest.
$ac_ext
9304 cat >>conftest.
$ac_ext <<_ACEOF
9305 /* end confdefs.h. */
9306 $ac_includes_default
9318 rm -f conftest.
$ac_objext
9319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9320 (eval $ac_compile) 2>conftest.er1
9322 grep -v '^ *+' conftest.er1
>conftest.err
9324 cat conftest.err
>&5
9325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9326 (exit $ac_status); } &&
9327 { ac_try
='test -z "$ac_c_werror_flag"
9328 || test ! -s conftest.err'
9329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9333 (exit $ac_status); }; } &&
9334 { ac_try
='test -s conftest.$ac_objext'
9335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9339 (exit $ac_status); }; }; then
9342 echo "$as_me: failed program was:" >&5
9343 sed 's/^/| /' conftest.
$ac_ext >&5
9347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9349 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
9350 echo "${ECHO_T}$ac_cv_type_char" >&6
9352 echo "$as_me:$LINENO: checking size of char" >&5
9353 echo $ECHO_N "checking size of char... $ECHO_C" >&6
9354 if test "${ac_cv_sizeof_char+set}" = set; then
9355 echo $ECHO_N "(cached) $ECHO_C" >&6
9357 if test "$ac_cv_type_char" = yes; then
9358 # The cast to unsigned long works around a bug in the HP C Compiler
9359 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9360 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9361 # This bug is HP SR number 8606223364.
9362 if test "$cross_compiling" = yes; then
9363 # Depending upon the size, compute the lo and hi bounds.
9364 cat >conftest.
$ac_ext <<_ACEOF
9367 cat confdefs.h
>>conftest.
$ac_ext
9368 cat >>conftest.
$ac_ext <<_ACEOF
9369 /* end confdefs.h. */
9370 $ac_includes_default
9374 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
9381 rm -f conftest.
$ac_objext
9382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9383 (eval $ac_compile) 2>conftest.er1
9385 grep -v '^ *+' conftest.er1
>conftest.err
9387 cat conftest.err
>&5
9388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9389 (exit $ac_status); } &&
9390 { ac_try
='test -z "$ac_c_werror_flag"
9391 || test ! -s conftest.err'
9392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9396 (exit $ac_status); }; } &&
9397 { ac_try
='test -s conftest.$ac_objext'
9398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9402 (exit $ac_status); }; }; then
9405 cat >conftest.
$ac_ext <<_ACEOF
9408 cat confdefs.h
>>conftest.
$ac_ext
9409 cat >>conftest.
$ac_ext <<_ACEOF
9410 /* end confdefs.h. */
9411 $ac_includes_default
9415 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
9422 rm -f conftest.
$ac_objext
9423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9424 (eval $ac_compile) 2>conftest.er1
9426 grep -v '^ *+' conftest.er1
>conftest.err
9428 cat conftest.err
>&5
9429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9430 (exit $ac_status); } &&
9431 { ac_try
='test -z "$ac_c_werror_flag"
9432 || test ! -s conftest.err'
9433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9437 (exit $ac_status); }; } &&
9438 { ac_try
='test -s conftest.$ac_objext'
9439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9443 (exit $ac_status); }; }; then
9444 ac_hi
=$ac_mid; break
9446 echo "$as_me: failed program was:" >&5
9447 sed 's/^/| /' conftest.
$ac_ext >&5
9449 ac_lo
=`expr $ac_mid + 1`
9450 if test $ac_lo -le $ac_mid; then
9454 ac_mid
=`expr 2 '*' $ac_mid + 1`
9456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9459 echo "$as_me: failed program was:" >&5
9460 sed 's/^/| /' conftest.
$ac_ext >&5
9462 cat >conftest.
$ac_ext <<_ACEOF
9465 cat confdefs.h
>>conftest.
$ac_ext
9466 cat >>conftest.
$ac_ext <<_ACEOF
9467 /* end confdefs.h. */
9468 $ac_includes_default
9472 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
9479 rm -f conftest.
$ac_objext
9480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9481 (eval $ac_compile) 2>conftest.er1
9483 grep -v '^ *+' conftest.er1
>conftest.err
9485 cat conftest.err
>&5
9486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9487 (exit $ac_status); } &&
9488 { ac_try
='test -z "$ac_c_werror_flag"
9489 || test ! -s conftest.err'
9490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9494 (exit $ac_status); }; } &&
9495 { ac_try
='test -s conftest.$ac_objext'
9496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9500 (exit $ac_status); }; }; then
9503 cat >conftest.
$ac_ext <<_ACEOF
9506 cat confdefs.h
>>conftest.
$ac_ext
9507 cat >>conftest.
$ac_ext <<_ACEOF
9508 /* end confdefs.h. */
9509 $ac_includes_default
9513 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
9520 rm -f conftest.
$ac_objext
9521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9522 (eval $ac_compile) 2>conftest.er1
9524 grep -v '^ *+' conftest.er1
>conftest.err
9526 cat conftest.err
>&5
9527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9528 (exit $ac_status); } &&
9529 { ac_try
='test -z "$ac_c_werror_flag"
9530 || test ! -s conftest.err'
9531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9535 (exit $ac_status); }; } &&
9536 { ac_try
='test -s conftest.$ac_objext'
9537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); }; }; then
9542 ac_lo
=$ac_mid; break
9544 echo "$as_me: failed program was:" >&5
9545 sed 's/^/| /' conftest.
$ac_ext >&5
9547 ac_hi
=`expr '(' $ac_mid ')' - 1`
9548 if test $ac_mid -le $ac_hi; then
9552 ac_mid
=`expr 2 '*' $ac_mid`
9554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9557 echo "$as_me: failed program was:" >&5
9558 sed 's/^/| /' conftest.
$ac_ext >&5
9562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9565 # Binary search between lo and hi bounds.
9566 while test "x$ac_lo" != "x$ac_hi"; do
9567 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9568 cat >conftest.
$ac_ext <<_ACEOF
9571 cat confdefs.h
>>conftest.
$ac_ext
9572 cat >>conftest.
$ac_ext <<_ACEOF
9573 /* end confdefs.h. */
9574 $ac_includes_default
9578 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
9585 rm -f conftest.
$ac_objext
9586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9587 (eval $ac_compile) 2>conftest.er1
9589 grep -v '^ *+' conftest.er1
>conftest.err
9591 cat conftest.err
>&5
9592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9593 (exit $ac_status); } &&
9594 { ac_try
='test -z "$ac_c_werror_flag"
9595 || test ! -s conftest.err'
9596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9600 (exit $ac_status); }; } &&
9601 { ac_try
='test -s conftest.$ac_objext'
9602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9606 (exit $ac_status); }; }; then
9609 echo "$as_me: failed program was:" >&5
9610 sed 's/^/| /' conftest.
$ac_ext >&5
9612 ac_lo
=`expr '(' $ac_mid ')' + 1`
9614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9617 ?
*) ac_cv_sizeof_char
=$ac_lo;;
9618 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
9619 See \`config.log' for more details." >&5
9620 echo "$as_me: error: cannot compute sizeof (char), 77
9621 See \`config.log' for more details." >&2;}
9622 { (exit 1); exit 1; }; } ;;
9625 if test "$cross_compiling" = yes; then
9626 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9627 See \`config.log' for more details." >&5
9628 echo "$as_me: error: cannot run test program while cross compiling
9629 See \`config.log' for more details." >&2;}
9630 { (exit 1); exit 1; }; }
9632 cat >conftest.
$ac_ext <<_ACEOF
9635 cat confdefs.h
>>conftest.
$ac_ext
9636 cat >>conftest.
$ac_ext <<_ACEOF
9637 /* end confdefs.h. */
9638 $ac_includes_default
9639 long longval () { return (long) (sizeof (char)); }
9640 unsigned long ulongval () { return (long) (sizeof (char)); }
9647 FILE *f = fopen ("conftest.val", "w");
9650 if (((long) (sizeof (char))) < 0)
9652 long i = longval ();
9653 if (i != ((long) (sizeof (char))))
9655 fprintf (f, "%ld\n", i);
9659 unsigned long i = ulongval ();
9660 if (i != ((long) (sizeof (char))))
9662 fprintf (f, "%lu\n", i);
9664 exit (ferror (f) || fclose (f) != 0);
9670 rm -f conftest
$ac_exeext
9671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9672 (eval $ac_link) 2>&5
9674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9675 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9680 (exit $ac_status); }; }; then
9681 ac_cv_sizeof_char
=`cat conftest.val`
9683 echo "$as_me: program exited with status $ac_status" >&5
9684 echo "$as_me: failed program was:" >&5
9685 sed 's/^/| /' conftest.
$ac_ext >&5
9688 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
9689 See \`config.log' for more details." >&5
9690 echo "$as_me: error: cannot compute sizeof (char), 77
9691 See \`config.log' for more details." >&2;}
9692 { (exit 1); exit 1; }; }
9694 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9702 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
9703 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
9704 cat >>confdefs.h
<<_ACEOF
9705 #define SIZEOF_CHAR $ac_cv_sizeof_char
9710 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
9711 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
9712 case "$ac_cv_sizeof_char" in
9713 1) acx_cv_type_int8_t
=char
;;
9714 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
9715 echo "$as_me: error: no 8-bit type" >&2;}
9716 { (exit please report a bug
); exit please report a bug
; }; }
9718 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
9719 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
9721 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
9722 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
9723 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
9724 2:*) acx_cv_type_int16_t
=int
;;
9725 *:2) acx_cv_type_int16_t
=short
;;
9726 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
9727 echo "$as_me: error: no 16-bit type" >&2;}
9728 { (exit please report a bug
); exit please report a bug
; }; }
9730 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
9731 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
9733 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
9734 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
9735 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
9736 4:*) acx_cv_type_int32_t
=int
;;
9737 *:4) acx_cv_type_int32_t
=long
;;
9738 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
9739 echo "$as_me: error: no 32-bit type" >&2;}
9740 { (exit please report a bug
); exit please report a bug
; }; }
9742 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
9743 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
9746 # These tests are here to make the output prettier
9748 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
9749 case "$ac_cv_sizeof_long" in
9750 8) acx_cv_type_int64_t
=long
;;
9752 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
9753 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
9754 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
9755 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
9758 # Now we can use the above types
9760 if test "$ac_cv_type_uintptr_t" != yes; then
9761 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
9762 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
9763 case $ac_cv_sizeof_void_p in
9764 2) acx_cv_type_intptr_t
=int16_t
;;
9765 4) acx_cv_type_intptr_t
=int32_t
;;
9766 8) acx_cv_type_intptr_t
=int64_t
;;
9767 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
9768 echo "$as_me: error: no equivalent for intptr_t" >&2;}
9769 { (exit please report a bug
); exit please report a bug
; }; }
9771 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
9772 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
9775 # ----------------- done all checks, emit header -------------
9776 ac_config_commands
="$ac_config_commands gstdint.h"
9781 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
9782 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
9783 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
9784 echo $ECHO_N "(cached) $ECHO_C" >&6
9786 cat >conftest.
$ac_ext <<_ACEOF
9789 cat confdefs.h
>>conftest.
$ac_ext
9790 cat >>conftest.
$ac_ext <<_ACEOF
9791 /* end confdefs.h. */
9792 $ac_includes_default
9796 static struct stat ac_aggr;
9797 if (ac_aggr.st_blksize)
9803 rm -f conftest.
$ac_objext
9804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9805 (eval $ac_compile) 2>conftest.er1
9807 grep -v '^ *+' conftest.er1
>conftest.err
9809 cat conftest.err
>&5
9810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9811 (exit $ac_status); } &&
9812 { ac_try
='test -z "$ac_c_werror_flag"
9813 || test ! -s conftest.err'
9814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9818 (exit $ac_status); }; } &&
9819 { ac_try
='test -s conftest.$ac_objext'
9820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9824 (exit $ac_status); }; }; then
9825 ac_cv_member_struct_stat_st_blksize
=yes
9827 echo "$as_me: failed program was:" >&5
9828 sed 's/^/| /' conftest.
$ac_ext >&5
9830 cat >conftest.
$ac_ext <<_ACEOF
9833 cat confdefs.h
>>conftest.
$ac_ext
9834 cat >>conftest.
$ac_ext <<_ACEOF
9835 /* end confdefs.h. */
9836 $ac_includes_default
9840 static struct stat ac_aggr;
9841 if (sizeof ac_aggr.st_blksize)
9847 rm -f conftest.
$ac_objext
9848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9849 (eval $ac_compile) 2>conftest.er1
9851 grep -v '^ *+' conftest.er1
>conftest.err
9853 cat conftest.err
>&5
9854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9855 (exit $ac_status); } &&
9856 { ac_try
='test -z "$ac_c_werror_flag"
9857 || test ! -s conftest.err'
9858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9862 (exit $ac_status); }; } &&
9863 { ac_try
='test -s conftest.$ac_objext'
9864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9868 (exit $ac_status); }; }; then
9869 ac_cv_member_struct_stat_st_blksize
=yes
9871 echo "$as_me: failed program was:" >&5
9872 sed 's/^/| /' conftest.
$ac_ext >&5
9874 ac_cv_member_struct_stat_st_blksize
=no
9876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9880 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
9881 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
9882 if test $ac_cv_member_struct_stat_st_blksize = yes; then
9884 cat >>confdefs.h
<<_ACEOF
9885 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
9891 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
9892 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
9893 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
9894 echo $ECHO_N "(cached) $ECHO_C" >&6
9896 cat >conftest.
$ac_ext <<_ACEOF
9899 cat confdefs.h
>>conftest.
$ac_ext
9900 cat >>conftest.
$ac_ext <<_ACEOF
9901 /* end confdefs.h. */
9902 $ac_includes_default
9906 static struct stat ac_aggr;
9907 if (ac_aggr.st_blocks)
9913 rm -f conftest.
$ac_objext
9914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9915 (eval $ac_compile) 2>conftest.er1
9917 grep -v '^ *+' conftest.er1
>conftest.err
9919 cat conftest.err
>&5
9920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9921 (exit $ac_status); } &&
9922 { ac_try
='test -z "$ac_c_werror_flag"
9923 || test ! -s conftest.err'
9924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928 (exit $ac_status); }; } &&
9929 { ac_try
='test -s conftest.$ac_objext'
9930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9934 (exit $ac_status); }; }; then
9935 ac_cv_member_struct_stat_st_blocks
=yes
9937 echo "$as_me: failed program was:" >&5
9938 sed 's/^/| /' conftest.
$ac_ext >&5
9940 cat >conftest.
$ac_ext <<_ACEOF
9943 cat confdefs.h
>>conftest.
$ac_ext
9944 cat >>conftest.
$ac_ext <<_ACEOF
9945 /* end confdefs.h. */
9946 $ac_includes_default
9950 static struct stat ac_aggr;
9951 if (sizeof ac_aggr.st_blocks)
9957 rm -f conftest.
$ac_objext
9958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9959 (eval $ac_compile) 2>conftest.er1
9961 grep -v '^ *+' conftest.er1
>conftest.err
9963 cat conftest.err
>&5
9964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9965 (exit $ac_status); } &&
9966 { ac_try
='test -z "$ac_c_werror_flag"
9967 || test ! -s conftest.err'
9968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9972 (exit $ac_status); }; } &&
9973 { ac_try
='test -s conftest.$ac_objext'
9974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9978 (exit $ac_status); }; }; then
9979 ac_cv_member_struct_stat_st_blocks
=yes
9981 echo "$as_me: failed program was:" >&5
9982 sed 's/^/| /' conftest.
$ac_ext >&5
9984 ac_cv_member_struct_stat_st_blocks
=no
9986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9990 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
9991 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
9992 if test $ac_cv_member_struct_stat_st_blocks = yes; then
9994 cat >>confdefs.h
<<_ACEOF
9995 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
10001 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
10002 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
10003 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
10004 echo $ECHO_N "(cached) $ECHO_C" >&6
10006 cat >conftest.
$ac_ext <<_ACEOF
10009 cat confdefs.h
>>conftest.
$ac_ext
10010 cat >>conftest.
$ac_ext <<_ACEOF
10011 /* end confdefs.h. */
10012 $ac_includes_default
10016 static struct stat ac_aggr;
10017 if (ac_aggr.st_rdev)
10023 rm -f conftest.
$ac_objext
10024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10025 (eval $ac_compile) 2>conftest.er1
10027 grep -v '^ *+' conftest.er1
>conftest.err
10029 cat conftest.err
>&5
10030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10031 (exit $ac_status); } &&
10032 { ac_try
='test -z "$ac_c_werror_flag"
10033 || test ! -s conftest.err'
10034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10035 (eval $ac_try) 2>&5
10037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10038 (exit $ac_status); }; } &&
10039 { ac_try
='test -s conftest.$ac_objext'
10040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10041 (eval $ac_try) 2>&5
10043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10044 (exit $ac_status); }; }; then
10045 ac_cv_member_struct_stat_st_rdev
=yes
10047 echo "$as_me: failed program was:" >&5
10048 sed 's/^/| /' conftest.
$ac_ext >&5
10050 cat >conftest.
$ac_ext <<_ACEOF
10053 cat confdefs.h
>>conftest.
$ac_ext
10054 cat >>conftest.
$ac_ext <<_ACEOF
10055 /* end confdefs.h. */
10056 $ac_includes_default
10060 static struct stat ac_aggr;
10061 if (sizeof ac_aggr.st_rdev)
10067 rm -f conftest.
$ac_objext
10068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10069 (eval $ac_compile) 2>conftest.er1
10071 grep -v '^ *+' conftest.er1
>conftest.err
10073 cat conftest.err
>&5
10074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075 (exit $ac_status); } &&
10076 { ac_try
='test -z "$ac_c_werror_flag"
10077 || test ! -s conftest.err'
10078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10079 (eval $ac_try) 2>&5
10081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10082 (exit $ac_status); }; } &&
10083 { ac_try
='test -s conftest.$ac_objext'
10084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10085 (eval $ac_try) 2>&5
10087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10088 (exit $ac_status); }; }; then
10089 ac_cv_member_struct_stat_st_rdev
=yes
10091 echo "$as_me: failed program was:" >&5
10092 sed 's/^/| /' conftest.
$ac_ext >&5
10094 ac_cv_member_struct_stat_st_rdev
=no
10096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10100 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
10101 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
10102 if test $ac_cv_member_struct_stat_st_rdev = yes; then
10104 cat >>confdefs.h
<<_ACEOF
10105 #define HAVE_STRUCT_STAT_ST_RDEV 1
10112 # Check for library functions.
10121 for ac_func
in getrusage
times mkstemp strtof strtold snprintf ftruncate chsize
10123 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10124 echo "$as_me:$LINENO: checking for $ac_func" >&5
10125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10126 if eval "test \"\${$as_ac_var+set}\" = set"; then
10127 echo $ECHO_N "(cached) $ECHO_C" >&6
10129 if test x
$gcc_no_link = xyes
; then
10130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10132 { (exit 1); exit 1; }; }
10134 cat >conftest.
$ac_ext <<_ACEOF
10137 cat confdefs.h
>>conftest.
$ac_ext
10138 cat >>conftest.
$ac_ext <<_ACEOF
10139 /* end confdefs.h. */
10140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10142 #define $ac_func innocuous_$ac_func
10144 /* System header to define __stub macros and hopefully few prototypes,
10145 which can conflict with char $ac_func (); below.
10146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10147 <limits.h> exists even on freestanding compilers. */
10150 # include <limits.h>
10152 # include <assert.h>
10157 /* Override any gcc2 internal prototype to avoid an error. */
10162 /* We use char because int might match the return type of a gcc2
10163 builtin and then its argument prototype would still apply. */
10165 /* The GNU C library defines this for functions which it implements
10166 to always fail with ENOSYS. Some functions are actually named
10167 something starting with __ and the normal name is an alias. */
10168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10171 char (*f) () = $ac_func;
10180 return f != $ac_func;
10185 rm -f conftest.
$ac_objext conftest
$ac_exeext
10186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10187 (eval $ac_link) 2>conftest.er1
10189 grep -v '^ *+' conftest.er1
>conftest.err
10191 cat conftest.err
>&5
10192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10193 (exit $ac_status); } &&
10194 { ac_try
='test -z "$ac_c_werror_flag"
10195 || test ! -s conftest.err'
10196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10197 (eval $ac_try) 2>&5
10199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10200 (exit $ac_status); }; } &&
10201 { ac_try
='test -s conftest$ac_exeext'
10202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10203 (eval $ac_try) 2>&5
10205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10206 (exit $ac_status); }; }; then
10207 eval "$as_ac_var=yes"
10209 echo "$as_me: failed program was:" >&5
10210 sed 's/^/| /' conftest.
$ac_ext >&5
10212 eval "$as_ac_var=no"
10214 rm -f conftest.err conftest.
$ac_objext \
10215 conftest
$ac_exeext conftest.
$ac_ext
10217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10219 if test `eval echo '${'$as_ac_var'}'` = yes; then
10220 cat >>confdefs.h
<<_ACEOF
10221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10235 for ac_func
in chdir strerror getlogin gethostname
kill link symlink perror
10237 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10238 echo "$as_me:$LINENO: checking for $ac_func" >&5
10239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10240 if eval "test \"\${$as_ac_var+set}\" = set"; then
10241 echo $ECHO_N "(cached) $ECHO_C" >&6
10243 if test x
$gcc_no_link = xyes
; then
10244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10246 { (exit 1); exit 1; }; }
10248 cat >conftest.
$ac_ext <<_ACEOF
10251 cat confdefs.h
>>conftest.
$ac_ext
10252 cat >>conftest.
$ac_ext <<_ACEOF
10253 /* end confdefs.h. */
10254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10256 #define $ac_func innocuous_$ac_func
10258 /* System header to define __stub macros and hopefully few prototypes,
10259 which can conflict with char $ac_func (); below.
10260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10261 <limits.h> exists even on freestanding compilers. */
10264 # include <limits.h>
10266 # include <assert.h>
10271 /* Override any gcc2 internal prototype to avoid an error. */
10276 /* We use char because int might match the return type of a gcc2
10277 builtin and then its argument prototype would still apply. */
10279 /* The GNU C library defines this for functions which it implements
10280 to always fail with ENOSYS. Some functions are actually named
10281 something starting with __ and the normal name is an alias. */
10282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10285 char (*f) () = $ac_func;
10294 return f != $ac_func;
10299 rm -f conftest.
$ac_objext conftest
$ac_exeext
10300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10301 (eval $ac_link) 2>conftest.er1
10303 grep -v '^ *+' conftest.er1
>conftest.err
10305 cat conftest.err
>&5
10306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10307 (exit $ac_status); } &&
10308 { ac_try
='test -z "$ac_c_werror_flag"
10309 || test ! -s conftest.err'
10310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10311 (eval $ac_try) 2>&5
10313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10314 (exit $ac_status); }; } &&
10315 { ac_try
='test -s conftest$ac_exeext'
10316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10317 (eval $ac_try) 2>&5
10319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10320 (exit $ac_status); }; }; then
10321 eval "$as_ac_var=yes"
10323 echo "$as_me: failed program was:" >&5
10324 sed 's/^/| /' conftest.
$ac_ext >&5
10326 eval "$as_ac_var=no"
10328 rm -f conftest.err conftest.
$ac_objext \
10329 conftest
$ac_exeext conftest.
$ac_ext
10331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10333 if test `eval echo '${'$as_ac_var'}'` = yes; then
10334 cat >>confdefs.h
<<_ACEOF
10335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10347 for ac_func
in sleep time ttyname signal alarm ctime
10349 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10350 echo "$as_me:$LINENO: checking for $ac_func" >&5
10351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10352 if eval "test \"\${$as_ac_var+set}\" = set"; then
10353 echo $ECHO_N "(cached) $ECHO_C" >&6
10355 if test x
$gcc_no_link = xyes
; then
10356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10358 { (exit 1); exit 1; }; }
10360 cat >conftest.
$ac_ext <<_ACEOF
10363 cat confdefs.h
>>conftest.
$ac_ext
10364 cat >>conftest.
$ac_ext <<_ACEOF
10365 /* end confdefs.h. */
10366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10368 #define $ac_func innocuous_$ac_func
10370 /* System header to define __stub macros and hopefully few prototypes,
10371 which can conflict with char $ac_func (); below.
10372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10373 <limits.h> exists even on freestanding compilers. */
10376 # include <limits.h>
10378 # include <assert.h>
10383 /* Override any gcc2 internal prototype to avoid an error. */
10388 /* We use char because int might match the return type of a gcc2
10389 builtin and then its argument prototype would still apply. */
10391 /* The GNU C library defines this for functions which it implements
10392 to always fail with ENOSYS. Some functions are actually named
10393 something starting with __ and the normal name is an alias. */
10394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10397 char (*f) () = $ac_func;
10406 return f != $ac_func;
10411 rm -f conftest.
$ac_objext conftest
$ac_exeext
10412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10413 (eval $ac_link) 2>conftest.er1
10415 grep -v '^ *+' conftest.er1
>conftest.err
10417 cat conftest.err
>&5
10418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10419 (exit $ac_status); } &&
10420 { ac_try
='test -z "$ac_c_werror_flag"
10421 || test ! -s conftest.err'
10422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10423 (eval $ac_try) 2>&5
10425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10426 (exit $ac_status); }; } &&
10427 { ac_try
='test -s conftest$ac_exeext'
10428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10429 (eval $ac_try) 2>&5
10431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10432 (exit $ac_status); }; }; then
10433 eval "$as_ac_var=yes"
10435 echo "$as_me: failed program was:" >&5
10436 sed 's/^/| /' conftest.
$ac_ext >&5
10438 eval "$as_ac_var=no"
10440 rm -f conftest.err conftest.
$ac_objext \
10441 conftest
$ac_exeext conftest.
$ac_ext
10443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10445 if test `eval echo '${'$as_ac_var'}'` = yes; then
10446 cat >>confdefs.h
<<_ACEOF
10447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10454 # Check libc for getgid, getpid, getuid
10455 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
10456 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
10457 if test "${ac_cv_lib_c_getgid+set}" = set; then
10458 echo $ECHO_N "(cached) $ECHO_C" >&6
10460 ac_check_lib_save_LIBS
=$LIBS
10462 if test x
$gcc_no_link = xyes
; then
10463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10465 { (exit 1); exit 1; }; }
10467 cat >conftest.
$ac_ext <<_ACEOF
10470 cat confdefs.h
>>conftest.
$ac_ext
10471 cat >>conftest.
$ac_ext <<_ACEOF
10472 /* end confdefs.h. */
10474 /* Override any gcc2 internal prototype to avoid an error. */
10478 /* We use char because int might match the return type of a gcc2
10479 builtin and then its argument prototype would still apply. */
10489 rm -f conftest.
$ac_objext conftest
$ac_exeext
10490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10491 (eval $ac_link) 2>conftest.er1
10493 grep -v '^ *+' conftest.er1
>conftest.err
10495 cat conftest.err
>&5
10496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497 (exit $ac_status); } &&
10498 { ac_try
='test -z "$ac_c_werror_flag"
10499 || test ! -s conftest.err'
10500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10501 (eval $ac_try) 2>&5
10503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10504 (exit $ac_status); }; } &&
10505 { ac_try
='test -s conftest$ac_exeext'
10506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10507 (eval $ac_try) 2>&5
10509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10510 (exit $ac_status); }; }; then
10511 ac_cv_lib_c_getgid
=yes
10513 echo "$as_me: failed program was:" >&5
10514 sed 's/^/| /' conftest.
$ac_ext >&5
10516 ac_cv_lib_c_getgid
=no
10518 rm -f conftest.err conftest.
$ac_objext \
10519 conftest
$ac_exeext conftest.
$ac_ext
10520 LIBS
=$ac_check_lib_save_LIBS
10522 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
10523 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
10524 if test $ac_cv_lib_c_getgid = yes; then
10526 cat >>confdefs.h
<<\_ACEOF
10527 #define HAVE_GETGID 1
10532 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
10533 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
10534 if test "${ac_cv_lib_c_getpid+set}" = set; then
10535 echo $ECHO_N "(cached) $ECHO_C" >&6
10537 ac_check_lib_save_LIBS
=$LIBS
10539 if test x
$gcc_no_link = xyes
; then
10540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10542 { (exit 1); exit 1; }; }
10544 cat >conftest.
$ac_ext <<_ACEOF
10547 cat confdefs.h
>>conftest.
$ac_ext
10548 cat >>conftest.
$ac_ext <<_ACEOF
10549 /* end confdefs.h. */
10551 /* Override any gcc2 internal prototype to avoid an error. */
10555 /* We use char because int might match the return type of a gcc2
10556 builtin and then its argument prototype would still apply. */
10566 rm -f conftest.
$ac_objext conftest
$ac_exeext
10567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10568 (eval $ac_link) 2>conftest.er1
10570 grep -v '^ *+' conftest.er1
>conftest.err
10572 cat conftest.err
>&5
10573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10574 (exit $ac_status); } &&
10575 { ac_try
='test -z "$ac_c_werror_flag"
10576 || test ! -s conftest.err'
10577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10578 (eval $ac_try) 2>&5
10580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10581 (exit $ac_status); }; } &&
10582 { ac_try
='test -s conftest$ac_exeext'
10583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10584 (eval $ac_try) 2>&5
10586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10587 (exit $ac_status); }; }; then
10588 ac_cv_lib_c_getpid
=yes
10590 echo "$as_me: failed program was:" >&5
10591 sed 's/^/| /' conftest.
$ac_ext >&5
10593 ac_cv_lib_c_getpid
=no
10595 rm -f conftest.err conftest.
$ac_objext \
10596 conftest
$ac_exeext conftest.
$ac_ext
10597 LIBS
=$ac_check_lib_save_LIBS
10599 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
10600 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
10601 if test $ac_cv_lib_c_getpid = yes; then
10603 cat >>confdefs.h
<<\_ACEOF
10604 #define HAVE_GETPID 1
10609 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
10610 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
10611 if test "${ac_cv_lib_c_getuid+set}" = set; then
10612 echo $ECHO_N "(cached) $ECHO_C" >&6
10614 ac_check_lib_save_LIBS
=$LIBS
10616 if test x
$gcc_no_link = xyes
; then
10617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10619 { (exit 1); exit 1; }; }
10621 cat >conftest.
$ac_ext <<_ACEOF
10624 cat confdefs.h
>>conftest.
$ac_ext
10625 cat >>conftest.
$ac_ext <<_ACEOF
10626 /* end confdefs.h. */
10628 /* Override any gcc2 internal prototype to avoid an error. */
10632 /* We use char because int might match the return type of a gcc2
10633 builtin and then its argument prototype would still apply. */
10643 rm -f conftest.
$ac_objext conftest
$ac_exeext
10644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10645 (eval $ac_link) 2>conftest.er1
10647 grep -v '^ *+' conftest.er1
>conftest.err
10649 cat conftest.err
>&5
10650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10651 (exit $ac_status); } &&
10652 { ac_try
='test -z "$ac_c_werror_flag"
10653 || test ! -s conftest.err'
10654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10655 (eval $ac_try) 2>&5
10657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10658 (exit $ac_status); }; } &&
10659 { ac_try
='test -s conftest$ac_exeext'
10660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10661 (eval $ac_try) 2>&5
10663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10664 (exit $ac_status); }; }; then
10665 ac_cv_lib_c_getuid
=yes
10667 echo "$as_me: failed program was:" >&5
10668 sed 's/^/| /' conftest.
$ac_ext >&5
10670 ac_cv_lib_c_getuid
=no
10672 rm -f conftest.err conftest.
$ac_objext \
10673 conftest
$ac_exeext conftest.
$ac_ext
10674 LIBS
=$ac_check_lib_save_LIBS
10676 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
10677 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
10678 if test $ac_cv_lib_c_getuid = yes; then
10680 cat >>confdefs.h
<<\_ACEOF
10681 #define HAVE_GETUID 1
10687 # Check for C99 (and other IEEE) math functions
10688 # ??? This list seems awful long. Is there a better way to test for these?
10689 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
10690 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
10691 if test "${ac_cv_lib_m_acosf+set}" = set; then
10692 echo $ECHO_N "(cached) $ECHO_C" >&6
10694 ac_check_lib_save_LIBS
=$LIBS
10696 if test x
$gcc_no_link = xyes
; then
10697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10699 { (exit 1); exit 1; }; }
10701 cat >conftest.
$ac_ext <<_ACEOF
10704 cat confdefs.h
>>conftest.
$ac_ext
10705 cat >>conftest.
$ac_ext <<_ACEOF
10706 /* end confdefs.h. */
10708 /* Override any gcc2 internal prototype to avoid an error. */
10712 /* We use char because int might match the return type of a gcc2
10713 builtin and then its argument prototype would still apply. */
10723 rm -f conftest.
$ac_objext conftest
$ac_exeext
10724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10725 (eval $ac_link) 2>conftest.er1
10727 grep -v '^ *+' conftest.er1
>conftest.err
10729 cat conftest.err
>&5
10730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10731 (exit $ac_status); } &&
10732 { ac_try
='test -z "$ac_c_werror_flag"
10733 || test ! -s conftest.err'
10734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10735 (eval $ac_try) 2>&5
10737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10738 (exit $ac_status); }; } &&
10739 { ac_try
='test -s conftest$ac_exeext'
10740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10741 (eval $ac_try) 2>&5
10743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10744 (exit $ac_status); }; }; then
10745 ac_cv_lib_m_acosf
=yes
10747 echo "$as_me: failed program was:" >&5
10748 sed 's/^/| /' conftest.
$ac_ext >&5
10750 ac_cv_lib_m_acosf
=no
10752 rm -f conftest.err conftest.
$ac_objext \
10753 conftest
$ac_exeext conftest.
$ac_ext
10754 LIBS
=$ac_check_lib_save_LIBS
10756 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
10757 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
10758 if test $ac_cv_lib_m_acosf = yes; then
10760 cat >>confdefs.h
<<\_ACEOF
10761 #define HAVE_ACOSF 1
10766 echo "$as_me:$LINENO: checking for acos in -lm" >&5
10767 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
10768 if test "${ac_cv_lib_m_acos+set}" = set; then
10769 echo $ECHO_N "(cached) $ECHO_C" >&6
10771 ac_check_lib_save_LIBS
=$LIBS
10773 if test x
$gcc_no_link = xyes
; then
10774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10776 { (exit 1); exit 1; }; }
10778 cat >conftest.
$ac_ext <<_ACEOF
10781 cat confdefs.h
>>conftest.
$ac_ext
10782 cat >>conftest.
$ac_ext <<_ACEOF
10783 /* end confdefs.h. */
10785 /* Override any gcc2 internal prototype to avoid an error. */
10789 /* We use char because int might match the return type of a gcc2
10790 builtin and then its argument prototype would still apply. */
10800 rm -f conftest.
$ac_objext conftest
$ac_exeext
10801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10802 (eval $ac_link) 2>conftest.er1
10804 grep -v '^ *+' conftest.er1
>conftest.err
10806 cat conftest.err
>&5
10807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10808 (exit $ac_status); } &&
10809 { ac_try
='test -z "$ac_c_werror_flag"
10810 || test ! -s conftest.err'
10811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10812 (eval $ac_try) 2>&5
10814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10815 (exit $ac_status); }; } &&
10816 { ac_try
='test -s conftest$ac_exeext'
10817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10818 (eval $ac_try) 2>&5
10820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10821 (exit $ac_status); }; }; then
10822 ac_cv_lib_m_acos
=yes
10824 echo "$as_me: failed program was:" >&5
10825 sed 's/^/| /' conftest.
$ac_ext >&5
10827 ac_cv_lib_m_acos
=no
10829 rm -f conftest.err conftest.
$ac_objext \
10830 conftest
$ac_exeext conftest.
$ac_ext
10831 LIBS
=$ac_check_lib_save_LIBS
10833 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
10834 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
10835 if test $ac_cv_lib_m_acos = yes; then
10837 cat >>confdefs.h
<<\_ACEOF
10838 #define HAVE_ACOS 1
10843 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
10844 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
10845 if test "${ac_cv_lib_m_acosl+set}" = set; then
10846 echo $ECHO_N "(cached) $ECHO_C" >&6
10848 ac_check_lib_save_LIBS
=$LIBS
10850 if test x
$gcc_no_link = xyes
; then
10851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10853 { (exit 1); exit 1; }; }
10855 cat >conftest.
$ac_ext <<_ACEOF
10858 cat confdefs.h
>>conftest.
$ac_ext
10859 cat >>conftest.
$ac_ext <<_ACEOF
10860 /* end confdefs.h. */
10862 /* Override any gcc2 internal prototype to avoid an error. */
10866 /* We use char because int might match the return type of a gcc2
10867 builtin and then its argument prototype would still apply. */
10877 rm -f conftest.
$ac_objext conftest
$ac_exeext
10878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10879 (eval $ac_link) 2>conftest.er1
10881 grep -v '^ *+' conftest.er1
>conftest.err
10883 cat conftest.err
>&5
10884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10885 (exit $ac_status); } &&
10886 { ac_try
='test -z "$ac_c_werror_flag"
10887 || test ! -s conftest.err'
10888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10889 (eval $ac_try) 2>&5
10891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10892 (exit $ac_status); }; } &&
10893 { ac_try
='test -s conftest$ac_exeext'
10894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10895 (eval $ac_try) 2>&5
10897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10898 (exit $ac_status); }; }; then
10899 ac_cv_lib_m_acosl
=yes
10901 echo "$as_me: failed program was:" >&5
10902 sed 's/^/| /' conftest.
$ac_ext >&5
10904 ac_cv_lib_m_acosl
=no
10906 rm -f conftest.err conftest.
$ac_objext \
10907 conftest
$ac_exeext conftest.
$ac_ext
10908 LIBS
=$ac_check_lib_save_LIBS
10910 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
10911 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
10912 if test $ac_cv_lib_m_acosl = yes; then
10914 cat >>confdefs.h
<<\_ACEOF
10915 #define HAVE_ACOSL 1
10920 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
10921 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
10922 if test "${ac_cv_lib_m_acoshf+set}" = set; then
10923 echo $ECHO_N "(cached) $ECHO_C" >&6
10925 ac_check_lib_save_LIBS
=$LIBS
10927 if test x
$gcc_no_link = xyes
; then
10928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10930 { (exit 1); exit 1; }; }
10932 cat >conftest.
$ac_ext <<_ACEOF
10935 cat confdefs.h
>>conftest.
$ac_ext
10936 cat >>conftest.
$ac_ext <<_ACEOF
10937 /* end confdefs.h. */
10939 /* Override any gcc2 internal prototype to avoid an error. */
10943 /* We use char because int might match the return type of a gcc2
10944 builtin and then its argument prototype would still apply. */
10954 rm -f conftest.
$ac_objext conftest
$ac_exeext
10955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10956 (eval $ac_link) 2>conftest.er1
10958 grep -v '^ *+' conftest.er1
>conftest.err
10960 cat conftest.err
>&5
10961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10962 (exit $ac_status); } &&
10963 { ac_try
='test -z "$ac_c_werror_flag"
10964 || test ! -s conftest.err'
10965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10966 (eval $ac_try) 2>&5
10968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10969 (exit $ac_status); }; } &&
10970 { ac_try
='test -s conftest$ac_exeext'
10971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10972 (eval $ac_try) 2>&5
10974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10975 (exit $ac_status); }; }; then
10976 ac_cv_lib_m_acoshf
=yes
10978 echo "$as_me: failed program was:" >&5
10979 sed 's/^/| /' conftest.
$ac_ext >&5
10981 ac_cv_lib_m_acoshf
=no
10983 rm -f conftest.err conftest.
$ac_objext \
10984 conftest
$ac_exeext conftest.
$ac_ext
10985 LIBS
=$ac_check_lib_save_LIBS
10987 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
10988 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
10989 if test $ac_cv_lib_m_acoshf = yes; then
10991 cat >>confdefs.h
<<\_ACEOF
10992 #define HAVE_ACOSHF 1
10997 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
10998 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
10999 if test "${ac_cv_lib_m_acosh+set}" = set; then
11000 echo $ECHO_N "(cached) $ECHO_C" >&6
11002 ac_check_lib_save_LIBS
=$LIBS
11004 if test x
$gcc_no_link = xyes
; then
11005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11007 { (exit 1); exit 1; }; }
11009 cat >conftest.
$ac_ext <<_ACEOF
11012 cat confdefs.h
>>conftest.
$ac_ext
11013 cat >>conftest.
$ac_ext <<_ACEOF
11014 /* end confdefs.h. */
11016 /* Override any gcc2 internal prototype to avoid an error. */
11020 /* We use char because int might match the return type of a gcc2
11021 builtin and then its argument prototype would still apply. */
11031 rm -f conftest.
$ac_objext conftest
$ac_exeext
11032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11033 (eval $ac_link) 2>conftest.er1
11035 grep -v '^ *+' conftest.er1
>conftest.err
11037 cat conftest.err
>&5
11038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11039 (exit $ac_status); } &&
11040 { ac_try
='test -z "$ac_c_werror_flag"
11041 || test ! -s conftest.err'
11042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11043 (eval $ac_try) 2>&5
11045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11046 (exit $ac_status); }; } &&
11047 { ac_try
='test -s conftest$ac_exeext'
11048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11049 (eval $ac_try) 2>&5
11051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11052 (exit $ac_status); }; }; then
11053 ac_cv_lib_m_acosh
=yes
11055 echo "$as_me: failed program was:" >&5
11056 sed 's/^/| /' conftest.
$ac_ext >&5
11058 ac_cv_lib_m_acosh
=no
11060 rm -f conftest.err conftest.
$ac_objext \
11061 conftest
$ac_exeext conftest.
$ac_ext
11062 LIBS
=$ac_check_lib_save_LIBS
11064 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
11065 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
11066 if test $ac_cv_lib_m_acosh = yes; then
11068 cat >>confdefs.h
<<\_ACEOF
11069 #define HAVE_ACOSH 1
11074 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
11075 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
11076 if test "${ac_cv_lib_m_acoshl+set}" = set; then
11077 echo $ECHO_N "(cached) $ECHO_C" >&6
11079 ac_check_lib_save_LIBS
=$LIBS
11081 if test x
$gcc_no_link = xyes
; then
11082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11084 { (exit 1); exit 1; }; }
11086 cat >conftest.
$ac_ext <<_ACEOF
11089 cat confdefs.h
>>conftest.
$ac_ext
11090 cat >>conftest.
$ac_ext <<_ACEOF
11091 /* end confdefs.h. */
11093 /* Override any gcc2 internal prototype to avoid an error. */
11097 /* We use char because int might match the return type of a gcc2
11098 builtin and then its argument prototype would still apply. */
11108 rm -f conftest.
$ac_objext conftest
$ac_exeext
11109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11110 (eval $ac_link) 2>conftest.er1
11112 grep -v '^ *+' conftest.er1
>conftest.err
11114 cat conftest.err
>&5
11115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11116 (exit $ac_status); } &&
11117 { ac_try
='test -z "$ac_c_werror_flag"
11118 || test ! -s conftest.err'
11119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11120 (eval $ac_try) 2>&5
11122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11123 (exit $ac_status); }; } &&
11124 { ac_try
='test -s conftest$ac_exeext'
11125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11126 (eval $ac_try) 2>&5
11128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11129 (exit $ac_status); }; }; then
11130 ac_cv_lib_m_acoshl
=yes
11132 echo "$as_me: failed program was:" >&5
11133 sed 's/^/| /' conftest.
$ac_ext >&5
11135 ac_cv_lib_m_acoshl
=no
11137 rm -f conftest.err conftest.
$ac_objext \
11138 conftest
$ac_exeext conftest.
$ac_ext
11139 LIBS
=$ac_check_lib_save_LIBS
11141 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
11142 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
11143 if test $ac_cv_lib_m_acoshl = yes; then
11145 cat >>confdefs.h
<<\_ACEOF
11146 #define HAVE_ACOSHL 1
11151 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
11152 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
11153 if test "${ac_cv_lib_m_asinf+set}" = set; then
11154 echo $ECHO_N "(cached) $ECHO_C" >&6
11156 ac_check_lib_save_LIBS
=$LIBS
11158 if test x
$gcc_no_link = xyes
; then
11159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11161 { (exit 1); exit 1; }; }
11163 cat >conftest.
$ac_ext <<_ACEOF
11166 cat confdefs.h
>>conftest.
$ac_ext
11167 cat >>conftest.
$ac_ext <<_ACEOF
11168 /* end confdefs.h. */
11170 /* Override any gcc2 internal prototype to avoid an error. */
11174 /* We use char because int might match the return type of a gcc2
11175 builtin and then its argument prototype would still apply. */
11185 rm -f conftest.
$ac_objext conftest
$ac_exeext
11186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11187 (eval $ac_link) 2>conftest.er1
11189 grep -v '^ *+' conftest.er1
>conftest.err
11191 cat conftest.err
>&5
11192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 (exit $ac_status); } &&
11194 { ac_try
='test -z "$ac_c_werror_flag"
11195 || test ! -s conftest.err'
11196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11197 (eval $ac_try) 2>&5
11199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11200 (exit $ac_status); }; } &&
11201 { ac_try
='test -s conftest$ac_exeext'
11202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11203 (eval $ac_try) 2>&5
11205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11206 (exit $ac_status); }; }; then
11207 ac_cv_lib_m_asinf
=yes
11209 echo "$as_me: failed program was:" >&5
11210 sed 's/^/| /' conftest.
$ac_ext >&5
11212 ac_cv_lib_m_asinf
=no
11214 rm -f conftest.err conftest.
$ac_objext \
11215 conftest
$ac_exeext conftest.
$ac_ext
11216 LIBS
=$ac_check_lib_save_LIBS
11218 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
11219 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
11220 if test $ac_cv_lib_m_asinf = yes; then
11222 cat >>confdefs.h
<<\_ACEOF
11223 #define HAVE_ASINF 1
11228 echo "$as_me:$LINENO: checking for asin in -lm" >&5
11229 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
11230 if test "${ac_cv_lib_m_asin+set}" = set; then
11231 echo $ECHO_N "(cached) $ECHO_C" >&6
11233 ac_check_lib_save_LIBS
=$LIBS
11235 if test x
$gcc_no_link = xyes
; then
11236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11238 { (exit 1); exit 1; }; }
11240 cat >conftest.
$ac_ext <<_ACEOF
11243 cat confdefs.h
>>conftest.
$ac_ext
11244 cat >>conftest.
$ac_ext <<_ACEOF
11245 /* end confdefs.h. */
11247 /* Override any gcc2 internal prototype to avoid an error. */
11251 /* We use char because int might match the return type of a gcc2
11252 builtin and then its argument prototype would still apply. */
11262 rm -f conftest.
$ac_objext conftest
$ac_exeext
11263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11264 (eval $ac_link) 2>conftest.er1
11266 grep -v '^ *+' conftest.er1
>conftest.err
11268 cat conftest.err
>&5
11269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11270 (exit $ac_status); } &&
11271 { ac_try
='test -z "$ac_c_werror_flag"
11272 || test ! -s conftest.err'
11273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11274 (eval $ac_try) 2>&5
11276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11277 (exit $ac_status); }; } &&
11278 { ac_try
='test -s conftest$ac_exeext'
11279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11280 (eval $ac_try) 2>&5
11282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283 (exit $ac_status); }; }; then
11284 ac_cv_lib_m_asin
=yes
11286 echo "$as_me: failed program was:" >&5
11287 sed 's/^/| /' conftest.
$ac_ext >&5
11289 ac_cv_lib_m_asin
=no
11291 rm -f conftest.err conftest.
$ac_objext \
11292 conftest
$ac_exeext conftest.
$ac_ext
11293 LIBS
=$ac_check_lib_save_LIBS
11295 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
11296 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
11297 if test $ac_cv_lib_m_asin = yes; then
11299 cat >>confdefs.h
<<\_ACEOF
11300 #define HAVE_ASIN 1
11305 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
11306 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
11307 if test "${ac_cv_lib_m_asinl+set}" = set; then
11308 echo $ECHO_N "(cached) $ECHO_C" >&6
11310 ac_check_lib_save_LIBS
=$LIBS
11312 if test x
$gcc_no_link = xyes
; then
11313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11315 { (exit 1); exit 1; }; }
11317 cat >conftest.
$ac_ext <<_ACEOF
11320 cat confdefs.h
>>conftest.
$ac_ext
11321 cat >>conftest.
$ac_ext <<_ACEOF
11322 /* end confdefs.h. */
11324 /* Override any gcc2 internal prototype to avoid an error. */
11328 /* We use char because int might match the return type of a gcc2
11329 builtin and then its argument prototype would still apply. */
11339 rm -f conftest.
$ac_objext conftest
$ac_exeext
11340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11341 (eval $ac_link) 2>conftest.er1
11343 grep -v '^ *+' conftest.er1
>conftest.err
11345 cat conftest.err
>&5
11346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11347 (exit $ac_status); } &&
11348 { ac_try
='test -z "$ac_c_werror_flag"
11349 || test ! -s conftest.err'
11350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11351 (eval $ac_try) 2>&5
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); }; } &&
11355 { ac_try
='test -s conftest$ac_exeext'
11356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11357 (eval $ac_try) 2>&5
11359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11360 (exit $ac_status); }; }; then
11361 ac_cv_lib_m_asinl
=yes
11363 echo "$as_me: failed program was:" >&5
11364 sed 's/^/| /' conftest.
$ac_ext >&5
11366 ac_cv_lib_m_asinl
=no
11368 rm -f conftest.err conftest.
$ac_objext \
11369 conftest
$ac_exeext conftest.
$ac_ext
11370 LIBS
=$ac_check_lib_save_LIBS
11372 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
11373 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
11374 if test $ac_cv_lib_m_asinl = yes; then
11376 cat >>confdefs.h
<<\_ACEOF
11377 #define HAVE_ASINL 1
11382 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
11383 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
11384 if test "${ac_cv_lib_m_asinhf+set}" = set; then
11385 echo $ECHO_N "(cached) $ECHO_C" >&6
11387 ac_check_lib_save_LIBS
=$LIBS
11389 if test x
$gcc_no_link = xyes
; then
11390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11392 { (exit 1); exit 1; }; }
11394 cat >conftest.
$ac_ext <<_ACEOF
11397 cat confdefs.h
>>conftest.
$ac_ext
11398 cat >>conftest.
$ac_ext <<_ACEOF
11399 /* end confdefs.h. */
11401 /* Override any gcc2 internal prototype to avoid an error. */
11405 /* We use char because int might match the return type of a gcc2
11406 builtin and then its argument prototype would still apply. */
11416 rm -f conftest.
$ac_objext conftest
$ac_exeext
11417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11418 (eval $ac_link) 2>conftest.er1
11420 grep -v '^ *+' conftest.er1
>conftest.err
11422 cat conftest.err
>&5
11423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11424 (exit $ac_status); } &&
11425 { ac_try
='test -z "$ac_c_werror_flag"
11426 || test ! -s conftest.err'
11427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11428 (eval $ac_try) 2>&5
11430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11431 (exit $ac_status); }; } &&
11432 { ac_try
='test -s conftest$ac_exeext'
11433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11434 (eval $ac_try) 2>&5
11436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11437 (exit $ac_status); }; }; then
11438 ac_cv_lib_m_asinhf
=yes
11440 echo "$as_me: failed program was:" >&5
11441 sed 's/^/| /' conftest.
$ac_ext >&5
11443 ac_cv_lib_m_asinhf
=no
11445 rm -f conftest.err conftest.
$ac_objext \
11446 conftest
$ac_exeext conftest.
$ac_ext
11447 LIBS
=$ac_check_lib_save_LIBS
11449 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
11450 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
11451 if test $ac_cv_lib_m_asinhf = yes; then
11453 cat >>confdefs.h
<<\_ACEOF
11454 #define HAVE_ASINHF 1
11459 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
11460 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
11461 if test "${ac_cv_lib_m_asinh+set}" = set; then
11462 echo $ECHO_N "(cached) $ECHO_C" >&6
11464 ac_check_lib_save_LIBS
=$LIBS
11466 if test x
$gcc_no_link = xyes
; then
11467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11469 { (exit 1); exit 1; }; }
11471 cat >conftest.
$ac_ext <<_ACEOF
11474 cat confdefs.h
>>conftest.
$ac_ext
11475 cat >>conftest.
$ac_ext <<_ACEOF
11476 /* end confdefs.h. */
11478 /* Override any gcc2 internal prototype to avoid an error. */
11482 /* We use char because int might match the return type of a gcc2
11483 builtin and then its argument prototype would still apply. */
11493 rm -f conftest.
$ac_objext conftest
$ac_exeext
11494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11495 (eval $ac_link) 2>conftest.er1
11497 grep -v '^ *+' conftest.er1
>conftest.err
11499 cat conftest.err
>&5
11500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11501 (exit $ac_status); } &&
11502 { ac_try
='test -z "$ac_c_werror_flag"
11503 || test ! -s conftest.err'
11504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11505 (eval $ac_try) 2>&5
11507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11508 (exit $ac_status); }; } &&
11509 { ac_try
='test -s conftest$ac_exeext'
11510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11511 (eval $ac_try) 2>&5
11513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11514 (exit $ac_status); }; }; then
11515 ac_cv_lib_m_asinh
=yes
11517 echo "$as_me: failed program was:" >&5
11518 sed 's/^/| /' conftest.
$ac_ext >&5
11520 ac_cv_lib_m_asinh
=no
11522 rm -f conftest.err conftest.
$ac_objext \
11523 conftest
$ac_exeext conftest.
$ac_ext
11524 LIBS
=$ac_check_lib_save_LIBS
11526 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
11527 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
11528 if test $ac_cv_lib_m_asinh = yes; then
11530 cat >>confdefs.h
<<\_ACEOF
11531 #define HAVE_ASINH 1
11536 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
11537 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
11538 if test "${ac_cv_lib_m_asinhl+set}" = set; then
11539 echo $ECHO_N "(cached) $ECHO_C" >&6
11541 ac_check_lib_save_LIBS
=$LIBS
11543 if test x
$gcc_no_link = xyes
; then
11544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11546 { (exit 1); exit 1; }; }
11548 cat >conftest.
$ac_ext <<_ACEOF
11551 cat confdefs.h
>>conftest.
$ac_ext
11552 cat >>conftest.
$ac_ext <<_ACEOF
11553 /* end confdefs.h. */
11555 /* Override any gcc2 internal prototype to avoid an error. */
11559 /* We use char because int might match the return type of a gcc2
11560 builtin and then its argument prototype would still apply. */
11570 rm -f conftest.
$ac_objext conftest
$ac_exeext
11571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11572 (eval $ac_link) 2>conftest.er1
11574 grep -v '^ *+' conftest.er1
>conftest.err
11576 cat conftest.err
>&5
11577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11578 (exit $ac_status); } &&
11579 { ac_try
='test -z "$ac_c_werror_flag"
11580 || test ! -s conftest.err'
11581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11582 (eval $ac_try) 2>&5
11584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11585 (exit $ac_status); }; } &&
11586 { ac_try
='test -s conftest$ac_exeext'
11587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11588 (eval $ac_try) 2>&5
11590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11591 (exit $ac_status); }; }; then
11592 ac_cv_lib_m_asinhl
=yes
11594 echo "$as_me: failed program was:" >&5
11595 sed 's/^/| /' conftest.
$ac_ext >&5
11597 ac_cv_lib_m_asinhl
=no
11599 rm -f conftest.err conftest.
$ac_objext \
11600 conftest
$ac_exeext conftest.
$ac_ext
11601 LIBS
=$ac_check_lib_save_LIBS
11603 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
11604 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
11605 if test $ac_cv_lib_m_asinhl = yes; then
11607 cat >>confdefs.h
<<\_ACEOF
11608 #define HAVE_ASINHL 1
11613 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
11614 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
11615 if test "${ac_cv_lib_m_atan2f+set}" = set; then
11616 echo $ECHO_N "(cached) $ECHO_C" >&6
11618 ac_check_lib_save_LIBS
=$LIBS
11620 if test x
$gcc_no_link = xyes
; then
11621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11623 { (exit 1); exit 1; }; }
11625 cat >conftest.
$ac_ext <<_ACEOF
11628 cat confdefs.h
>>conftest.
$ac_ext
11629 cat >>conftest.
$ac_ext <<_ACEOF
11630 /* end confdefs.h. */
11632 /* Override any gcc2 internal prototype to avoid an error. */
11636 /* We use char because int might match the return type of a gcc2
11637 builtin and then its argument prototype would still apply. */
11647 rm -f conftest.
$ac_objext conftest
$ac_exeext
11648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11649 (eval $ac_link) 2>conftest.er1
11651 grep -v '^ *+' conftest.er1
>conftest.err
11653 cat conftest.err
>&5
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); } &&
11656 { ac_try
='test -z "$ac_c_werror_flag"
11657 || test ! -s conftest.err'
11658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11659 (eval $ac_try) 2>&5
11661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); }; } &&
11663 { ac_try
='test -s conftest$ac_exeext'
11664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11665 (eval $ac_try) 2>&5
11667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11668 (exit $ac_status); }; }; then
11669 ac_cv_lib_m_atan2f
=yes
11671 echo "$as_me: failed program was:" >&5
11672 sed 's/^/| /' conftest.
$ac_ext >&5
11674 ac_cv_lib_m_atan2f
=no
11676 rm -f conftest.err conftest.
$ac_objext \
11677 conftest
$ac_exeext conftest.
$ac_ext
11678 LIBS
=$ac_check_lib_save_LIBS
11680 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
11681 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
11682 if test $ac_cv_lib_m_atan2f = yes; then
11684 cat >>confdefs.h
<<\_ACEOF
11685 #define HAVE_ATAN2F 1
11690 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
11691 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
11692 if test "${ac_cv_lib_m_atan2+set}" = set; then
11693 echo $ECHO_N "(cached) $ECHO_C" >&6
11695 ac_check_lib_save_LIBS
=$LIBS
11697 if test x
$gcc_no_link = xyes
; then
11698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11700 { (exit 1); exit 1; }; }
11702 cat >conftest.
$ac_ext <<_ACEOF
11705 cat confdefs.h
>>conftest.
$ac_ext
11706 cat >>conftest.
$ac_ext <<_ACEOF
11707 /* end confdefs.h. */
11709 /* Override any gcc2 internal prototype to avoid an error. */
11713 /* We use char because int might match the return type of a gcc2
11714 builtin and then its argument prototype would still apply. */
11724 rm -f conftest.
$ac_objext conftest
$ac_exeext
11725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11726 (eval $ac_link) 2>conftest.er1
11728 grep -v '^ *+' conftest.er1
>conftest.err
11730 cat conftest.err
>&5
11731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732 (exit $ac_status); } &&
11733 { ac_try
='test -z "$ac_c_werror_flag"
11734 || test ! -s conftest.err'
11735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11736 (eval $ac_try) 2>&5
11738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11739 (exit $ac_status); }; } &&
11740 { ac_try
='test -s conftest$ac_exeext'
11741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11742 (eval $ac_try) 2>&5
11744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11745 (exit $ac_status); }; }; then
11746 ac_cv_lib_m_atan2
=yes
11748 echo "$as_me: failed program was:" >&5
11749 sed 's/^/| /' conftest.
$ac_ext >&5
11751 ac_cv_lib_m_atan2
=no
11753 rm -f conftest.err conftest.
$ac_objext \
11754 conftest
$ac_exeext conftest.
$ac_ext
11755 LIBS
=$ac_check_lib_save_LIBS
11757 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
11758 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
11759 if test $ac_cv_lib_m_atan2 = yes; then
11761 cat >>confdefs.h
<<\_ACEOF
11762 #define HAVE_ATAN2 1
11767 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
11768 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
11769 if test "${ac_cv_lib_m_atan2l+set}" = set; then
11770 echo $ECHO_N "(cached) $ECHO_C" >&6
11772 ac_check_lib_save_LIBS
=$LIBS
11774 if test x
$gcc_no_link = xyes
; then
11775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11777 { (exit 1); exit 1; }; }
11779 cat >conftest.
$ac_ext <<_ACEOF
11782 cat confdefs.h
>>conftest.
$ac_ext
11783 cat >>conftest.
$ac_ext <<_ACEOF
11784 /* end confdefs.h. */
11786 /* Override any gcc2 internal prototype to avoid an error. */
11790 /* We use char because int might match the return type of a gcc2
11791 builtin and then its argument prototype would still apply. */
11801 rm -f conftest.
$ac_objext conftest
$ac_exeext
11802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11803 (eval $ac_link) 2>conftest.er1
11805 grep -v '^ *+' conftest.er1
>conftest.err
11807 cat conftest.err
>&5
11808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11809 (exit $ac_status); } &&
11810 { ac_try
='test -z "$ac_c_werror_flag"
11811 || test ! -s conftest.err'
11812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11813 (eval $ac_try) 2>&5
11815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11816 (exit $ac_status); }; } &&
11817 { ac_try
='test -s conftest$ac_exeext'
11818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11819 (eval $ac_try) 2>&5
11821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11822 (exit $ac_status); }; }; then
11823 ac_cv_lib_m_atan2l
=yes
11825 echo "$as_me: failed program was:" >&5
11826 sed 's/^/| /' conftest.
$ac_ext >&5
11828 ac_cv_lib_m_atan2l
=no
11830 rm -f conftest.err conftest.
$ac_objext \
11831 conftest
$ac_exeext conftest.
$ac_ext
11832 LIBS
=$ac_check_lib_save_LIBS
11834 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
11835 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
11836 if test $ac_cv_lib_m_atan2l = yes; then
11838 cat >>confdefs.h
<<\_ACEOF
11839 #define HAVE_ATAN2L 1
11844 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
11845 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
11846 if test "${ac_cv_lib_m_atanf+set}" = set; then
11847 echo $ECHO_N "(cached) $ECHO_C" >&6
11849 ac_check_lib_save_LIBS
=$LIBS
11851 if test x
$gcc_no_link = xyes
; then
11852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11854 { (exit 1); exit 1; }; }
11856 cat >conftest.
$ac_ext <<_ACEOF
11859 cat confdefs.h
>>conftest.
$ac_ext
11860 cat >>conftest.
$ac_ext <<_ACEOF
11861 /* end confdefs.h. */
11863 /* Override any gcc2 internal prototype to avoid an error. */
11867 /* We use char because int might match the return type of a gcc2
11868 builtin and then its argument prototype would still apply. */
11878 rm -f conftest.
$ac_objext conftest
$ac_exeext
11879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11880 (eval $ac_link) 2>conftest.er1
11882 grep -v '^ *+' conftest.er1
>conftest.err
11884 cat conftest.err
>&5
11885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886 (exit $ac_status); } &&
11887 { ac_try
='test -z "$ac_c_werror_flag"
11888 || test ! -s conftest.err'
11889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11890 (eval $ac_try) 2>&5
11892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893 (exit $ac_status); }; } &&
11894 { ac_try
='test -s conftest$ac_exeext'
11895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11896 (eval $ac_try) 2>&5
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); }; }; then
11900 ac_cv_lib_m_atanf
=yes
11902 echo "$as_me: failed program was:" >&5
11903 sed 's/^/| /' conftest.
$ac_ext >&5
11905 ac_cv_lib_m_atanf
=no
11907 rm -f conftest.err conftest.
$ac_objext \
11908 conftest
$ac_exeext conftest.
$ac_ext
11909 LIBS
=$ac_check_lib_save_LIBS
11911 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
11912 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
11913 if test $ac_cv_lib_m_atanf = yes; then
11915 cat >>confdefs.h
<<\_ACEOF
11916 #define HAVE_ATANF 1
11921 echo "$as_me:$LINENO: checking for atan in -lm" >&5
11922 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
11923 if test "${ac_cv_lib_m_atan+set}" = set; then
11924 echo $ECHO_N "(cached) $ECHO_C" >&6
11926 ac_check_lib_save_LIBS
=$LIBS
11928 if test x
$gcc_no_link = xyes
; then
11929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11931 { (exit 1); exit 1; }; }
11933 cat >conftest.
$ac_ext <<_ACEOF
11936 cat confdefs.h
>>conftest.
$ac_ext
11937 cat >>conftest.
$ac_ext <<_ACEOF
11938 /* end confdefs.h. */
11940 /* Override any gcc2 internal prototype to avoid an error. */
11944 /* We use char because int might match the return type of a gcc2
11945 builtin and then its argument prototype would still apply. */
11955 rm -f conftest.
$ac_objext conftest
$ac_exeext
11956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11957 (eval $ac_link) 2>conftest.er1
11959 grep -v '^ *+' conftest.er1
>conftest.err
11961 cat conftest.err
>&5
11962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11963 (exit $ac_status); } &&
11964 { ac_try
='test -z "$ac_c_werror_flag"
11965 || test ! -s conftest.err'
11966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11967 (eval $ac_try) 2>&5
11969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11970 (exit $ac_status); }; } &&
11971 { ac_try
='test -s conftest$ac_exeext'
11972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11973 (eval $ac_try) 2>&5
11975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11976 (exit $ac_status); }; }; then
11977 ac_cv_lib_m_atan
=yes
11979 echo "$as_me: failed program was:" >&5
11980 sed 's/^/| /' conftest.
$ac_ext >&5
11982 ac_cv_lib_m_atan
=no
11984 rm -f conftest.err conftest.
$ac_objext \
11985 conftest
$ac_exeext conftest.
$ac_ext
11986 LIBS
=$ac_check_lib_save_LIBS
11988 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
11989 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
11990 if test $ac_cv_lib_m_atan = yes; then
11992 cat >>confdefs.h
<<\_ACEOF
11993 #define HAVE_ATAN 1
11998 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
11999 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
12000 if test "${ac_cv_lib_m_atanl+set}" = set; then
12001 echo $ECHO_N "(cached) $ECHO_C" >&6
12003 ac_check_lib_save_LIBS
=$LIBS
12005 if test x
$gcc_no_link = xyes
; then
12006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12008 { (exit 1); exit 1; }; }
12010 cat >conftest.
$ac_ext <<_ACEOF
12013 cat confdefs.h
>>conftest.
$ac_ext
12014 cat >>conftest.
$ac_ext <<_ACEOF
12015 /* end confdefs.h. */
12017 /* Override any gcc2 internal prototype to avoid an error. */
12021 /* We use char because int might match the return type of a gcc2
12022 builtin and then its argument prototype would still apply. */
12032 rm -f conftest.
$ac_objext conftest
$ac_exeext
12033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12034 (eval $ac_link) 2>conftest.er1
12036 grep -v '^ *+' conftest.er1
>conftest.err
12038 cat conftest.err
>&5
12039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12040 (exit $ac_status); } &&
12041 { ac_try
='test -z "$ac_c_werror_flag"
12042 || test ! -s conftest.err'
12043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12044 (eval $ac_try) 2>&5
12046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12047 (exit $ac_status); }; } &&
12048 { ac_try
='test -s conftest$ac_exeext'
12049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12050 (eval $ac_try) 2>&5
12052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12053 (exit $ac_status); }; }; then
12054 ac_cv_lib_m_atanl
=yes
12056 echo "$as_me: failed program was:" >&5
12057 sed 's/^/| /' conftest.
$ac_ext >&5
12059 ac_cv_lib_m_atanl
=no
12061 rm -f conftest.err conftest.
$ac_objext \
12062 conftest
$ac_exeext conftest.
$ac_ext
12063 LIBS
=$ac_check_lib_save_LIBS
12065 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
12066 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
12067 if test $ac_cv_lib_m_atanl = yes; then
12069 cat >>confdefs.h
<<\_ACEOF
12070 #define HAVE_ATANL 1
12075 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
12076 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
12077 if test "${ac_cv_lib_m_atanhf+set}" = set; then
12078 echo $ECHO_N "(cached) $ECHO_C" >&6
12080 ac_check_lib_save_LIBS
=$LIBS
12082 if test x
$gcc_no_link = xyes
; then
12083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12085 { (exit 1); exit 1; }; }
12087 cat >conftest.
$ac_ext <<_ACEOF
12090 cat confdefs.h
>>conftest.
$ac_ext
12091 cat >>conftest.
$ac_ext <<_ACEOF
12092 /* end confdefs.h. */
12094 /* Override any gcc2 internal prototype to avoid an error. */
12098 /* We use char because int might match the return type of a gcc2
12099 builtin and then its argument prototype would still apply. */
12109 rm -f conftest.
$ac_objext conftest
$ac_exeext
12110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12111 (eval $ac_link) 2>conftest.er1
12113 grep -v '^ *+' conftest.er1
>conftest.err
12115 cat conftest.err
>&5
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); } &&
12118 { ac_try
='test -z "$ac_c_werror_flag"
12119 || test ! -s conftest.err'
12120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12121 (eval $ac_try) 2>&5
12123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12124 (exit $ac_status); }; } &&
12125 { ac_try
='test -s conftest$ac_exeext'
12126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12127 (eval $ac_try) 2>&5
12129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12130 (exit $ac_status); }; }; then
12131 ac_cv_lib_m_atanhf
=yes
12133 echo "$as_me: failed program was:" >&5
12134 sed 's/^/| /' conftest.
$ac_ext >&5
12136 ac_cv_lib_m_atanhf
=no
12138 rm -f conftest.err conftest.
$ac_objext \
12139 conftest
$ac_exeext conftest.
$ac_ext
12140 LIBS
=$ac_check_lib_save_LIBS
12142 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
12143 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
12144 if test $ac_cv_lib_m_atanhf = yes; then
12146 cat >>confdefs.h
<<\_ACEOF
12147 #define HAVE_ATANHF 1
12152 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
12153 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
12154 if test "${ac_cv_lib_m_atanh+set}" = set; then
12155 echo $ECHO_N "(cached) $ECHO_C" >&6
12157 ac_check_lib_save_LIBS
=$LIBS
12159 if test x
$gcc_no_link = xyes
; then
12160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12162 { (exit 1); exit 1; }; }
12164 cat >conftest.
$ac_ext <<_ACEOF
12167 cat confdefs.h
>>conftest.
$ac_ext
12168 cat >>conftest.
$ac_ext <<_ACEOF
12169 /* end confdefs.h. */
12171 /* Override any gcc2 internal prototype to avoid an error. */
12175 /* We use char because int might match the return type of a gcc2
12176 builtin and then its argument prototype would still apply. */
12186 rm -f conftest.
$ac_objext conftest
$ac_exeext
12187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12188 (eval $ac_link) 2>conftest.er1
12190 grep -v '^ *+' conftest.er1
>conftest.err
12192 cat conftest.err
>&5
12193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12194 (exit $ac_status); } &&
12195 { ac_try
='test -z "$ac_c_werror_flag"
12196 || test ! -s conftest.err'
12197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12198 (eval $ac_try) 2>&5
12200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12201 (exit $ac_status); }; } &&
12202 { ac_try
='test -s conftest$ac_exeext'
12203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12204 (eval $ac_try) 2>&5
12206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12207 (exit $ac_status); }; }; then
12208 ac_cv_lib_m_atanh
=yes
12210 echo "$as_me: failed program was:" >&5
12211 sed 's/^/| /' conftest.
$ac_ext >&5
12213 ac_cv_lib_m_atanh
=no
12215 rm -f conftest.err conftest.
$ac_objext \
12216 conftest
$ac_exeext conftest.
$ac_ext
12217 LIBS
=$ac_check_lib_save_LIBS
12219 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
12220 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
12221 if test $ac_cv_lib_m_atanh = yes; then
12223 cat >>confdefs.h
<<\_ACEOF
12224 #define HAVE_ATANH 1
12229 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
12230 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
12231 if test "${ac_cv_lib_m_atanhl+set}" = set; then
12232 echo $ECHO_N "(cached) $ECHO_C" >&6
12234 ac_check_lib_save_LIBS
=$LIBS
12236 if test x
$gcc_no_link = xyes
; then
12237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12239 { (exit 1); exit 1; }; }
12241 cat >conftest.
$ac_ext <<_ACEOF
12244 cat confdefs.h
>>conftest.
$ac_ext
12245 cat >>conftest.
$ac_ext <<_ACEOF
12246 /* end confdefs.h. */
12248 /* Override any gcc2 internal prototype to avoid an error. */
12252 /* We use char because int might match the return type of a gcc2
12253 builtin and then its argument prototype would still apply. */
12263 rm -f conftest.
$ac_objext conftest
$ac_exeext
12264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12265 (eval $ac_link) 2>conftest.er1
12267 grep -v '^ *+' conftest.er1
>conftest.err
12269 cat conftest.err
>&5
12270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271 (exit $ac_status); } &&
12272 { ac_try
='test -z "$ac_c_werror_flag"
12273 || test ! -s conftest.err'
12274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12275 (eval $ac_try) 2>&5
12277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12278 (exit $ac_status); }; } &&
12279 { ac_try
='test -s conftest$ac_exeext'
12280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12281 (eval $ac_try) 2>&5
12283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12284 (exit $ac_status); }; }; then
12285 ac_cv_lib_m_atanhl
=yes
12287 echo "$as_me: failed program was:" >&5
12288 sed 's/^/| /' conftest.
$ac_ext >&5
12290 ac_cv_lib_m_atanhl
=no
12292 rm -f conftest.err conftest.
$ac_objext \
12293 conftest
$ac_exeext conftest.
$ac_ext
12294 LIBS
=$ac_check_lib_save_LIBS
12296 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
12297 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
12298 if test $ac_cv_lib_m_atanhl = yes; then
12300 cat >>confdefs.h
<<\_ACEOF
12301 #define HAVE_ATANHL 1
12306 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
12307 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
12308 if test "${ac_cv_lib_m_cargf+set}" = set; then
12309 echo $ECHO_N "(cached) $ECHO_C" >&6
12311 ac_check_lib_save_LIBS
=$LIBS
12313 if test x
$gcc_no_link = xyes
; then
12314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12316 { (exit 1); exit 1; }; }
12318 cat >conftest.
$ac_ext <<_ACEOF
12321 cat confdefs.h
>>conftest.
$ac_ext
12322 cat >>conftest.
$ac_ext <<_ACEOF
12323 /* end confdefs.h. */
12325 /* Override any gcc2 internal prototype to avoid an error. */
12329 /* We use char because int might match the return type of a gcc2
12330 builtin and then its argument prototype would still apply. */
12340 rm -f conftest.
$ac_objext conftest
$ac_exeext
12341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12342 (eval $ac_link) 2>conftest.er1
12344 grep -v '^ *+' conftest.er1
>conftest.err
12346 cat conftest.err
>&5
12347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12348 (exit $ac_status); } &&
12349 { ac_try
='test -z "$ac_c_werror_flag"
12350 || test ! -s conftest.err'
12351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12352 (eval $ac_try) 2>&5
12354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12355 (exit $ac_status); }; } &&
12356 { ac_try
='test -s conftest$ac_exeext'
12357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12358 (eval $ac_try) 2>&5
12360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12361 (exit $ac_status); }; }; then
12362 ac_cv_lib_m_cargf
=yes
12364 echo "$as_me: failed program was:" >&5
12365 sed 's/^/| /' conftest.
$ac_ext >&5
12367 ac_cv_lib_m_cargf
=no
12369 rm -f conftest.err conftest.
$ac_objext \
12370 conftest
$ac_exeext conftest.
$ac_ext
12371 LIBS
=$ac_check_lib_save_LIBS
12373 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
12374 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
12375 if test $ac_cv_lib_m_cargf = yes; then
12377 cat >>confdefs.h
<<\_ACEOF
12378 #define HAVE_CARGF 1
12383 echo "$as_me:$LINENO: checking for carg in -lm" >&5
12384 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
12385 if test "${ac_cv_lib_m_carg+set}" = set; then
12386 echo $ECHO_N "(cached) $ECHO_C" >&6
12388 ac_check_lib_save_LIBS
=$LIBS
12390 if test x
$gcc_no_link = xyes
; then
12391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12393 { (exit 1); exit 1; }; }
12395 cat >conftest.
$ac_ext <<_ACEOF
12398 cat confdefs.h
>>conftest.
$ac_ext
12399 cat >>conftest.
$ac_ext <<_ACEOF
12400 /* end confdefs.h. */
12402 /* Override any gcc2 internal prototype to avoid an error. */
12406 /* We use char because int might match the return type of a gcc2
12407 builtin and then its argument prototype would still apply. */
12417 rm -f conftest.
$ac_objext conftest
$ac_exeext
12418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12419 (eval $ac_link) 2>conftest.er1
12421 grep -v '^ *+' conftest.er1
>conftest.err
12423 cat conftest.err
>&5
12424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12425 (exit $ac_status); } &&
12426 { ac_try
='test -z "$ac_c_werror_flag"
12427 || test ! -s conftest.err'
12428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12429 (eval $ac_try) 2>&5
12431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12432 (exit $ac_status); }; } &&
12433 { ac_try
='test -s conftest$ac_exeext'
12434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12435 (eval $ac_try) 2>&5
12437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12438 (exit $ac_status); }; }; then
12439 ac_cv_lib_m_carg
=yes
12441 echo "$as_me: failed program was:" >&5
12442 sed 's/^/| /' conftest.
$ac_ext >&5
12444 ac_cv_lib_m_carg
=no
12446 rm -f conftest.err conftest.
$ac_objext \
12447 conftest
$ac_exeext conftest.
$ac_ext
12448 LIBS
=$ac_check_lib_save_LIBS
12450 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
12451 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
12452 if test $ac_cv_lib_m_carg = yes; then
12454 cat >>confdefs.h
<<\_ACEOF
12455 #define HAVE_CARG 1
12460 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
12461 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
12462 if test "${ac_cv_lib_m_cargl+set}" = set; then
12463 echo $ECHO_N "(cached) $ECHO_C" >&6
12465 ac_check_lib_save_LIBS
=$LIBS
12467 if test x
$gcc_no_link = xyes
; then
12468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12470 { (exit 1); exit 1; }; }
12472 cat >conftest.
$ac_ext <<_ACEOF
12475 cat confdefs.h
>>conftest.
$ac_ext
12476 cat >>conftest.
$ac_ext <<_ACEOF
12477 /* end confdefs.h. */
12479 /* Override any gcc2 internal prototype to avoid an error. */
12483 /* We use char because int might match the return type of a gcc2
12484 builtin and then its argument prototype would still apply. */
12494 rm -f conftest.
$ac_objext conftest
$ac_exeext
12495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12496 (eval $ac_link) 2>conftest.er1
12498 grep -v '^ *+' conftest.er1
>conftest.err
12500 cat conftest.err
>&5
12501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12502 (exit $ac_status); } &&
12503 { ac_try
='test -z "$ac_c_werror_flag"
12504 || test ! -s conftest.err'
12505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12506 (eval $ac_try) 2>&5
12508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12509 (exit $ac_status); }; } &&
12510 { ac_try
='test -s conftest$ac_exeext'
12511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12512 (eval $ac_try) 2>&5
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); }; }; then
12516 ac_cv_lib_m_cargl
=yes
12518 echo "$as_me: failed program was:" >&5
12519 sed 's/^/| /' conftest.
$ac_ext >&5
12521 ac_cv_lib_m_cargl
=no
12523 rm -f conftest.err conftest.
$ac_objext \
12524 conftest
$ac_exeext conftest.
$ac_ext
12525 LIBS
=$ac_check_lib_save_LIBS
12527 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
12528 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
12529 if test $ac_cv_lib_m_cargl = yes; then
12531 cat >>confdefs.h
<<\_ACEOF
12532 #define HAVE_CARGL 1
12537 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
12538 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
12539 if test "${ac_cv_lib_m_ceilf+set}" = set; then
12540 echo $ECHO_N "(cached) $ECHO_C" >&6
12542 ac_check_lib_save_LIBS
=$LIBS
12544 if test x
$gcc_no_link = xyes
; then
12545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12547 { (exit 1); exit 1; }; }
12549 cat >conftest.
$ac_ext <<_ACEOF
12552 cat confdefs.h
>>conftest.
$ac_ext
12553 cat >>conftest.
$ac_ext <<_ACEOF
12554 /* end confdefs.h. */
12556 /* Override any gcc2 internal prototype to avoid an error. */
12560 /* We use char because int might match the return type of a gcc2
12561 builtin and then its argument prototype would still apply. */
12571 rm -f conftest.
$ac_objext conftest
$ac_exeext
12572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12573 (eval $ac_link) 2>conftest.er1
12575 grep -v '^ *+' conftest.er1
>conftest.err
12577 cat conftest.err
>&5
12578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12579 (exit $ac_status); } &&
12580 { ac_try
='test -z "$ac_c_werror_flag"
12581 || test ! -s conftest.err'
12582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12583 (eval $ac_try) 2>&5
12585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12586 (exit $ac_status); }; } &&
12587 { ac_try
='test -s conftest$ac_exeext'
12588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12589 (eval $ac_try) 2>&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); }; }; then
12593 ac_cv_lib_m_ceilf
=yes
12595 echo "$as_me: failed program was:" >&5
12596 sed 's/^/| /' conftest.
$ac_ext >&5
12598 ac_cv_lib_m_ceilf
=no
12600 rm -f conftest.err conftest.
$ac_objext \
12601 conftest
$ac_exeext conftest.
$ac_ext
12602 LIBS
=$ac_check_lib_save_LIBS
12604 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
12605 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
12606 if test $ac_cv_lib_m_ceilf = yes; then
12608 cat >>confdefs.h
<<\_ACEOF
12609 #define HAVE_CEILF 1
12614 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
12615 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
12616 if test "${ac_cv_lib_m_ceil+set}" = set; then
12617 echo $ECHO_N "(cached) $ECHO_C" >&6
12619 ac_check_lib_save_LIBS
=$LIBS
12621 if test x
$gcc_no_link = xyes
; then
12622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12624 { (exit 1); exit 1; }; }
12626 cat >conftest.
$ac_ext <<_ACEOF
12629 cat confdefs.h
>>conftest.
$ac_ext
12630 cat >>conftest.
$ac_ext <<_ACEOF
12631 /* end confdefs.h. */
12633 /* Override any gcc2 internal prototype to avoid an error. */
12637 /* We use char because int might match the return type of a gcc2
12638 builtin and then its argument prototype would still apply. */
12648 rm -f conftest.
$ac_objext conftest
$ac_exeext
12649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12650 (eval $ac_link) 2>conftest.er1
12652 grep -v '^ *+' conftest.er1
>conftest.err
12654 cat conftest.err
>&5
12655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12656 (exit $ac_status); } &&
12657 { ac_try
='test -z "$ac_c_werror_flag"
12658 || test ! -s conftest.err'
12659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12660 (eval $ac_try) 2>&5
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); }; } &&
12664 { ac_try
='test -s conftest$ac_exeext'
12665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12666 (eval $ac_try) 2>&5
12668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12669 (exit $ac_status); }; }; then
12670 ac_cv_lib_m_ceil
=yes
12672 echo "$as_me: failed program was:" >&5
12673 sed 's/^/| /' conftest.
$ac_ext >&5
12675 ac_cv_lib_m_ceil
=no
12677 rm -f conftest.err conftest.
$ac_objext \
12678 conftest
$ac_exeext conftest.
$ac_ext
12679 LIBS
=$ac_check_lib_save_LIBS
12681 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
12682 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
12683 if test $ac_cv_lib_m_ceil = yes; then
12685 cat >>confdefs.h
<<\_ACEOF
12686 #define HAVE_CEIL 1
12691 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
12692 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
12693 if test "${ac_cv_lib_m_ceill+set}" = set; then
12694 echo $ECHO_N "(cached) $ECHO_C" >&6
12696 ac_check_lib_save_LIBS
=$LIBS
12698 if test x
$gcc_no_link = xyes
; then
12699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12701 { (exit 1); exit 1; }; }
12703 cat >conftest.
$ac_ext <<_ACEOF
12706 cat confdefs.h
>>conftest.
$ac_ext
12707 cat >>conftest.
$ac_ext <<_ACEOF
12708 /* end confdefs.h. */
12710 /* Override any gcc2 internal prototype to avoid an error. */
12714 /* We use char because int might match the return type of a gcc2
12715 builtin and then its argument prototype would still apply. */
12725 rm -f conftest.
$ac_objext conftest
$ac_exeext
12726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12727 (eval $ac_link) 2>conftest.er1
12729 grep -v '^ *+' conftest.er1
>conftest.err
12731 cat conftest.err
>&5
12732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12733 (exit $ac_status); } &&
12734 { ac_try
='test -z "$ac_c_werror_flag"
12735 || test ! -s conftest.err'
12736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12737 (eval $ac_try) 2>&5
12739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12740 (exit $ac_status); }; } &&
12741 { ac_try
='test -s conftest$ac_exeext'
12742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12743 (eval $ac_try) 2>&5
12745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12746 (exit $ac_status); }; }; then
12747 ac_cv_lib_m_ceill
=yes
12749 echo "$as_me: failed program was:" >&5
12750 sed 's/^/| /' conftest.
$ac_ext >&5
12752 ac_cv_lib_m_ceill
=no
12754 rm -f conftest.err conftest.
$ac_objext \
12755 conftest
$ac_exeext conftest.
$ac_ext
12756 LIBS
=$ac_check_lib_save_LIBS
12758 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
12759 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
12760 if test $ac_cv_lib_m_ceill = yes; then
12762 cat >>confdefs.h
<<\_ACEOF
12763 #define HAVE_CEILL 1
12768 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
12769 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
12770 if test "${ac_cv_lib_m_copysignf+set}" = set; then
12771 echo $ECHO_N "(cached) $ECHO_C" >&6
12773 ac_check_lib_save_LIBS
=$LIBS
12775 if test x
$gcc_no_link = xyes
; then
12776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12778 { (exit 1); exit 1; }; }
12780 cat >conftest.
$ac_ext <<_ACEOF
12783 cat confdefs.h
>>conftest.
$ac_ext
12784 cat >>conftest.
$ac_ext <<_ACEOF
12785 /* end confdefs.h. */
12787 /* Override any gcc2 internal prototype to avoid an error. */
12791 /* We use char because int might match the return type of a gcc2
12792 builtin and then its argument prototype would still apply. */
12802 rm -f conftest.
$ac_objext conftest
$ac_exeext
12803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12804 (eval $ac_link) 2>conftest.er1
12806 grep -v '^ *+' conftest.er1
>conftest.err
12808 cat conftest.err
>&5
12809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12810 (exit $ac_status); } &&
12811 { ac_try
='test -z "$ac_c_werror_flag"
12812 || test ! -s conftest.err'
12813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12814 (eval $ac_try) 2>&5
12816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12817 (exit $ac_status); }; } &&
12818 { ac_try
='test -s conftest$ac_exeext'
12819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12820 (eval $ac_try) 2>&5
12822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12823 (exit $ac_status); }; }; then
12824 ac_cv_lib_m_copysignf
=yes
12826 echo "$as_me: failed program was:" >&5
12827 sed 's/^/| /' conftest.
$ac_ext >&5
12829 ac_cv_lib_m_copysignf
=no
12831 rm -f conftest.err conftest.
$ac_objext \
12832 conftest
$ac_exeext conftest.
$ac_ext
12833 LIBS
=$ac_check_lib_save_LIBS
12835 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
12836 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
12837 if test $ac_cv_lib_m_copysignf = yes; then
12839 cat >>confdefs.h
<<\_ACEOF
12840 #define HAVE_COPYSIGNF 1
12845 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
12846 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
12847 if test "${ac_cv_lib_m_copysign+set}" = set; then
12848 echo $ECHO_N "(cached) $ECHO_C" >&6
12850 ac_check_lib_save_LIBS
=$LIBS
12852 if test x
$gcc_no_link = xyes
; then
12853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12855 { (exit 1); exit 1; }; }
12857 cat >conftest.
$ac_ext <<_ACEOF
12860 cat confdefs.h
>>conftest.
$ac_ext
12861 cat >>conftest.
$ac_ext <<_ACEOF
12862 /* end confdefs.h. */
12864 /* Override any gcc2 internal prototype to avoid an error. */
12868 /* We use char because int might match the return type of a gcc2
12869 builtin and then its argument prototype would still apply. */
12879 rm -f conftest.
$ac_objext conftest
$ac_exeext
12880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12881 (eval $ac_link) 2>conftest.er1
12883 grep -v '^ *+' conftest.er1
>conftest.err
12885 cat conftest.err
>&5
12886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12887 (exit $ac_status); } &&
12888 { ac_try
='test -z "$ac_c_werror_flag"
12889 || test ! -s conftest.err'
12890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12891 (eval $ac_try) 2>&5
12893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12894 (exit $ac_status); }; } &&
12895 { ac_try
='test -s conftest$ac_exeext'
12896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12897 (eval $ac_try) 2>&5
12899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12900 (exit $ac_status); }; }; then
12901 ac_cv_lib_m_copysign
=yes
12903 echo "$as_me: failed program was:" >&5
12904 sed 's/^/| /' conftest.
$ac_ext >&5
12906 ac_cv_lib_m_copysign
=no
12908 rm -f conftest.err conftest.
$ac_objext \
12909 conftest
$ac_exeext conftest.
$ac_ext
12910 LIBS
=$ac_check_lib_save_LIBS
12912 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
12913 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
12914 if test $ac_cv_lib_m_copysign = yes; then
12916 cat >>confdefs.h
<<\_ACEOF
12917 #define HAVE_COPYSIGN 1
12922 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
12923 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
12924 if test "${ac_cv_lib_m_copysignl+set}" = set; then
12925 echo $ECHO_N "(cached) $ECHO_C" >&6
12927 ac_check_lib_save_LIBS
=$LIBS
12929 if test x
$gcc_no_link = xyes
; then
12930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12932 { (exit 1); exit 1; }; }
12934 cat >conftest.
$ac_ext <<_ACEOF
12937 cat confdefs.h
>>conftest.
$ac_ext
12938 cat >>conftest.
$ac_ext <<_ACEOF
12939 /* end confdefs.h. */
12941 /* Override any gcc2 internal prototype to avoid an error. */
12945 /* We use char because int might match the return type of a gcc2
12946 builtin and then its argument prototype would still apply. */
12956 rm -f conftest.
$ac_objext conftest
$ac_exeext
12957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12958 (eval $ac_link) 2>conftest.er1
12960 grep -v '^ *+' conftest.er1
>conftest.err
12962 cat conftest.err
>&5
12963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12964 (exit $ac_status); } &&
12965 { ac_try
='test -z "$ac_c_werror_flag"
12966 || test ! -s conftest.err'
12967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12968 (eval $ac_try) 2>&5
12970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12971 (exit $ac_status); }; } &&
12972 { ac_try
='test -s conftest$ac_exeext'
12973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12974 (eval $ac_try) 2>&5
12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977 (exit $ac_status); }; }; then
12978 ac_cv_lib_m_copysignl
=yes
12980 echo "$as_me: failed program was:" >&5
12981 sed 's/^/| /' conftest.
$ac_ext >&5
12983 ac_cv_lib_m_copysignl
=no
12985 rm -f conftest.err conftest.
$ac_objext \
12986 conftest
$ac_exeext conftest.
$ac_ext
12987 LIBS
=$ac_check_lib_save_LIBS
12989 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
12990 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
12991 if test $ac_cv_lib_m_copysignl = yes; then
12993 cat >>confdefs.h
<<\_ACEOF
12994 #define HAVE_COPYSIGNL 1
12999 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
13000 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
13001 if test "${ac_cv_lib_m_cosf+set}" = set; then
13002 echo $ECHO_N "(cached) $ECHO_C" >&6
13004 ac_check_lib_save_LIBS
=$LIBS
13006 if test x
$gcc_no_link = xyes
; then
13007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13009 { (exit 1); exit 1; }; }
13011 cat >conftest.
$ac_ext <<_ACEOF
13014 cat confdefs.h
>>conftest.
$ac_ext
13015 cat >>conftest.
$ac_ext <<_ACEOF
13016 /* end confdefs.h. */
13018 /* Override any gcc2 internal prototype to avoid an error. */
13022 /* We use char because int might match the return type of a gcc2
13023 builtin and then its argument prototype would still apply. */
13033 rm -f conftest.
$ac_objext conftest
$ac_exeext
13034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13035 (eval $ac_link) 2>conftest.er1
13037 grep -v '^ *+' conftest.er1
>conftest.err
13039 cat conftest.err
>&5
13040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13041 (exit $ac_status); } &&
13042 { ac_try
='test -z "$ac_c_werror_flag"
13043 || test ! -s conftest.err'
13044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13045 (eval $ac_try) 2>&5
13047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048 (exit $ac_status); }; } &&
13049 { ac_try
='test -s conftest$ac_exeext'
13050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13051 (eval $ac_try) 2>&5
13053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13054 (exit $ac_status); }; }; then
13055 ac_cv_lib_m_cosf
=yes
13057 echo "$as_me: failed program was:" >&5
13058 sed 's/^/| /' conftest.
$ac_ext >&5
13060 ac_cv_lib_m_cosf
=no
13062 rm -f conftest.err conftest.
$ac_objext \
13063 conftest
$ac_exeext conftest.
$ac_ext
13064 LIBS
=$ac_check_lib_save_LIBS
13066 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
13067 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
13068 if test $ac_cv_lib_m_cosf = yes; then
13070 cat >>confdefs.h
<<\_ACEOF
13071 #define HAVE_COSF 1
13076 echo "$as_me:$LINENO: checking for cos in -lm" >&5
13077 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
13078 if test "${ac_cv_lib_m_cos+set}" = set; then
13079 echo $ECHO_N "(cached) $ECHO_C" >&6
13081 ac_check_lib_save_LIBS
=$LIBS
13083 if test x
$gcc_no_link = xyes
; then
13084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13086 { (exit 1); exit 1; }; }
13088 cat >conftest.
$ac_ext <<_ACEOF
13091 cat confdefs.h
>>conftest.
$ac_ext
13092 cat >>conftest.
$ac_ext <<_ACEOF
13093 /* end confdefs.h. */
13095 /* Override any gcc2 internal prototype to avoid an error. */
13099 /* We use char because int might match the return type of a gcc2
13100 builtin and then its argument prototype would still apply. */
13110 rm -f conftest.
$ac_objext conftest
$ac_exeext
13111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13112 (eval $ac_link) 2>conftest.er1
13114 grep -v '^ *+' conftest.er1
>conftest.err
13116 cat conftest.err
>&5
13117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13118 (exit $ac_status); } &&
13119 { ac_try
='test -z "$ac_c_werror_flag"
13120 || test ! -s conftest.err'
13121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13122 (eval $ac_try) 2>&5
13124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13125 (exit $ac_status); }; } &&
13126 { ac_try
='test -s conftest$ac_exeext'
13127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13128 (eval $ac_try) 2>&5
13130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13131 (exit $ac_status); }; }; then
13132 ac_cv_lib_m_cos
=yes
13134 echo "$as_me: failed program was:" >&5
13135 sed 's/^/| /' conftest.
$ac_ext >&5
13139 rm -f conftest.err conftest.
$ac_objext \
13140 conftest
$ac_exeext conftest.
$ac_ext
13141 LIBS
=$ac_check_lib_save_LIBS
13143 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
13144 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
13145 if test $ac_cv_lib_m_cos = yes; then
13147 cat >>confdefs.h
<<\_ACEOF
13153 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
13154 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
13155 if test "${ac_cv_lib_m_cosl+set}" = set; then
13156 echo $ECHO_N "(cached) $ECHO_C" >&6
13158 ac_check_lib_save_LIBS
=$LIBS
13160 if test x
$gcc_no_link = xyes
; then
13161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13163 { (exit 1); exit 1; }; }
13165 cat >conftest.
$ac_ext <<_ACEOF
13168 cat confdefs.h
>>conftest.
$ac_ext
13169 cat >>conftest.
$ac_ext <<_ACEOF
13170 /* end confdefs.h. */
13172 /* Override any gcc2 internal prototype to avoid an error. */
13176 /* We use char because int might match the return type of a gcc2
13177 builtin and then its argument prototype would still apply. */
13187 rm -f conftest.
$ac_objext conftest
$ac_exeext
13188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13189 (eval $ac_link) 2>conftest.er1
13191 grep -v '^ *+' conftest.er1
>conftest.err
13193 cat conftest.err
>&5
13194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13195 (exit $ac_status); } &&
13196 { ac_try
='test -z "$ac_c_werror_flag"
13197 || test ! -s conftest.err'
13198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13199 (eval $ac_try) 2>&5
13201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13202 (exit $ac_status); }; } &&
13203 { ac_try
='test -s conftest$ac_exeext'
13204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13205 (eval $ac_try) 2>&5
13207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13208 (exit $ac_status); }; }; then
13209 ac_cv_lib_m_cosl
=yes
13211 echo "$as_me: failed program was:" >&5
13212 sed 's/^/| /' conftest.
$ac_ext >&5
13214 ac_cv_lib_m_cosl
=no
13216 rm -f conftest.err conftest.
$ac_objext \
13217 conftest
$ac_exeext conftest.
$ac_ext
13218 LIBS
=$ac_check_lib_save_LIBS
13220 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
13221 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
13222 if test $ac_cv_lib_m_cosl = yes; then
13224 cat >>confdefs.h
<<\_ACEOF
13225 #define HAVE_COSL 1
13230 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
13231 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
13232 if test "${ac_cv_lib_m_ccosf+set}" = set; then
13233 echo $ECHO_N "(cached) $ECHO_C" >&6
13235 ac_check_lib_save_LIBS
=$LIBS
13237 if test x
$gcc_no_link = xyes
; then
13238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13240 { (exit 1); exit 1; }; }
13242 cat >conftest.
$ac_ext <<_ACEOF
13245 cat confdefs.h
>>conftest.
$ac_ext
13246 cat >>conftest.
$ac_ext <<_ACEOF
13247 /* end confdefs.h. */
13249 /* Override any gcc2 internal prototype to avoid an error. */
13253 /* We use char because int might match the return type of a gcc2
13254 builtin and then its argument prototype would still apply. */
13264 rm -f conftest.
$ac_objext conftest
$ac_exeext
13265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13266 (eval $ac_link) 2>conftest.er1
13268 grep -v '^ *+' conftest.er1
>conftest.err
13270 cat conftest.err
>&5
13271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272 (exit $ac_status); } &&
13273 { ac_try
='test -z "$ac_c_werror_flag"
13274 || test ! -s conftest.err'
13275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13276 (eval $ac_try) 2>&5
13278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13279 (exit $ac_status); }; } &&
13280 { ac_try
='test -s conftest$ac_exeext'
13281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13282 (eval $ac_try) 2>&5
13284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13285 (exit $ac_status); }; }; then
13286 ac_cv_lib_m_ccosf
=yes
13288 echo "$as_me: failed program was:" >&5
13289 sed 's/^/| /' conftest.
$ac_ext >&5
13291 ac_cv_lib_m_ccosf
=no
13293 rm -f conftest.err conftest.
$ac_objext \
13294 conftest
$ac_exeext conftest.
$ac_ext
13295 LIBS
=$ac_check_lib_save_LIBS
13297 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
13298 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
13299 if test $ac_cv_lib_m_ccosf = yes; then
13301 cat >>confdefs.h
<<\_ACEOF
13302 #define HAVE_CCOSF 1
13307 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
13308 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
13309 if test "${ac_cv_lib_m_ccos+set}" = set; then
13310 echo $ECHO_N "(cached) $ECHO_C" >&6
13312 ac_check_lib_save_LIBS
=$LIBS
13314 if test x
$gcc_no_link = xyes
; then
13315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13317 { (exit 1); exit 1; }; }
13319 cat >conftest.
$ac_ext <<_ACEOF
13322 cat confdefs.h
>>conftest.
$ac_ext
13323 cat >>conftest.
$ac_ext <<_ACEOF
13324 /* end confdefs.h. */
13326 /* Override any gcc2 internal prototype to avoid an error. */
13330 /* We use char because int might match the return type of a gcc2
13331 builtin and then its argument prototype would still apply. */
13341 rm -f conftest.
$ac_objext conftest
$ac_exeext
13342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13343 (eval $ac_link) 2>conftest.er1
13345 grep -v '^ *+' conftest.er1
>conftest.err
13347 cat conftest.err
>&5
13348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349 (exit $ac_status); } &&
13350 { ac_try
='test -z "$ac_c_werror_flag"
13351 || test ! -s conftest.err'
13352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13353 (eval $ac_try) 2>&5
13355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13356 (exit $ac_status); }; } &&
13357 { ac_try
='test -s conftest$ac_exeext'
13358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13359 (eval $ac_try) 2>&5
13361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13362 (exit $ac_status); }; }; then
13363 ac_cv_lib_m_ccos
=yes
13365 echo "$as_me: failed program was:" >&5
13366 sed 's/^/| /' conftest.
$ac_ext >&5
13368 ac_cv_lib_m_ccos
=no
13370 rm -f conftest.err conftest.
$ac_objext \
13371 conftest
$ac_exeext conftest.
$ac_ext
13372 LIBS
=$ac_check_lib_save_LIBS
13374 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
13375 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
13376 if test $ac_cv_lib_m_ccos = yes; then
13378 cat >>confdefs.h
<<\_ACEOF
13379 #define HAVE_CCOS 1
13384 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
13385 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
13386 if test "${ac_cv_lib_m_ccosl+set}" = set; then
13387 echo $ECHO_N "(cached) $ECHO_C" >&6
13389 ac_check_lib_save_LIBS
=$LIBS
13391 if test x
$gcc_no_link = xyes
; then
13392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13394 { (exit 1); exit 1; }; }
13396 cat >conftest.
$ac_ext <<_ACEOF
13399 cat confdefs.h
>>conftest.
$ac_ext
13400 cat >>conftest.
$ac_ext <<_ACEOF
13401 /* end confdefs.h. */
13403 /* Override any gcc2 internal prototype to avoid an error. */
13407 /* We use char because int might match the return type of a gcc2
13408 builtin and then its argument prototype would still apply. */
13418 rm -f conftest.
$ac_objext conftest
$ac_exeext
13419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13420 (eval $ac_link) 2>conftest.er1
13422 grep -v '^ *+' conftest.er1
>conftest.err
13424 cat conftest.err
>&5
13425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13426 (exit $ac_status); } &&
13427 { ac_try
='test -z "$ac_c_werror_flag"
13428 || test ! -s conftest.err'
13429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13430 (eval $ac_try) 2>&5
13432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13433 (exit $ac_status); }; } &&
13434 { ac_try
='test -s conftest$ac_exeext'
13435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13436 (eval $ac_try) 2>&5
13438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13439 (exit $ac_status); }; }; then
13440 ac_cv_lib_m_ccosl
=yes
13442 echo "$as_me: failed program was:" >&5
13443 sed 's/^/| /' conftest.
$ac_ext >&5
13445 ac_cv_lib_m_ccosl
=no
13447 rm -f conftest.err conftest.
$ac_objext \
13448 conftest
$ac_exeext conftest.
$ac_ext
13449 LIBS
=$ac_check_lib_save_LIBS
13451 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
13452 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
13453 if test $ac_cv_lib_m_ccosl = yes; then
13455 cat >>confdefs.h
<<\_ACEOF
13456 #define HAVE_CCOSL 1
13461 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
13462 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
13463 if test "${ac_cv_lib_m_coshf+set}" = set; then
13464 echo $ECHO_N "(cached) $ECHO_C" >&6
13466 ac_check_lib_save_LIBS
=$LIBS
13468 if test x
$gcc_no_link = xyes
; then
13469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13471 { (exit 1); exit 1; }; }
13473 cat >conftest.
$ac_ext <<_ACEOF
13476 cat confdefs.h
>>conftest.
$ac_ext
13477 cat >>conftest.
$ac_ext <<_ACEOF
13478 /* end confdefs.h. */
13480 /* Override any gcc2 internal prototype to avoid an error. */
13484 /* We use char because int might match the return type of a gcc2
13485 builtin and then its argument prototype would still apply. */
13495 rm -f conftest.
$ac_objext conftest
$ac_exeext
13496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13497 (eval $ac_link) 2>conftest.er1
13499 grep -v '^ *+' conftest.er1
>conftest.err
13501 cat conftest.err
>&5
13502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13503 (exit $ac_status); } &&
13504 { ac_try
='test -z "$ac_c_werror_flag"
13505 || test ! -s conftest.err'
13506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13507 (eval $ac_try) 2>&5
13509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13510 (exit $ac_status); }; } &&
13511 { ac_try
='test -s conftest$ac_exeext'
13512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13513 (eval $ac_try) 2>&5
13515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13516 (exit $ac_status); }; }; then
13517 ac_cv_lib_m_coshf
=yes
13519 echo "$as_me: failed program was:" >&5
13520 sed 's/^/| /' conftest.
$ac_ext >&5
13522 ac_cv_lib_m_coshf
=no
13524 rm -f conftest.err conftest.
$ac_objext \
13525 conftest
$ac_exeext conftest.
$ac_ext
13526 LIBS
=$ac_check_lib_save_LIBS
13528 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
13529 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
13530 if test $ac_cv_lib_m_coshf = yes; then
13532 cat >>confdefs.h
<<\_ACEOF
13533 #define HAVE_COSHF 1
13538 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
13539 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
13540 if test "${ac_cv_lib_m_cosh+set}" = set; then
13541 echo $ECHO_N "(cached) $ECHO_C" >&6
13543 ac_check_lib_save_LIBS
=$LIBS
13545 if test x
$gcc_no_link = xyes
; then
13546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13548 { (exit 1); exit 1; }; }
13550 cat >conftest.
$ac_ext <<_ACEOF
13553 cat confdefs.h
>>conftest.
$ac_ext
13554 cat >>conftest.
$ac_ext <<_ACEOF
13555 /* end confdefs.h. */
13557 /* Override any gcc2 internal prototype to avoid an error. */
13561 /* We use char because int might match the return type of a gcc2
13562 builtin and then its argument prototype would still apply. */
13572 rm -f conftest.
$ac_objext conftest
$ac_exeext
13573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13574 (eval $ac_link) 2>conftest.er1
13576 grep -v '^ *+' conftest.er1
>conftest.err
13578 cat conftest.err
>&5
13579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13580 (exit $ac_status); } &&
13581 { ac_try
='test -z "$ac_c_werror_flag"
13582 || test ! -s conftest.err'
13583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13584 (eval $ac_try) 2>&5
13586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13587 (exit $ac_status); }; } &&
13588 { ac_try
='test -s conftest$ac_exeext'
13589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13590 (eval $ac_try) 2>&5
13592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13593 (exit $ac_status); }; }; then
13594 ac_cv_lib_m_cosh
=yes
13596 echo "$as_me: failed program was:" >&5
13597 sed 's/^/| /' conftest.
$ac_ext >&5
13599 ac_cv_lib_m_cosh
=no
13601 rm -f conftest.err conftest.
$ac_objext \
13602 conftest
$ac_exeext conftest.
$ac_ext
13603 LIBS
=$ac_check_lib_save_LIBS
13605 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
13606 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
13607 if test $ac_cv_lib_m_cosh = yes; then
13609 cat >>confdefs.h
<<\_ACEOF
13610 #define HAVE_COSH 1
13615 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
13616 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
13617 if test "${ac_cv_lib_m_coshl+set}" = set; then
13618 echo $ECHO_N "(cached) $ECHO_C" >&6
13620 ac_check_lib_save_LIBS
=$LIBS
13622 if test x
$gcc_no_link = xyes
; then
13623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13625 { (exit 1); exit 1; }; }
13627 cat >conftest.
$ac_ext <<_ACEOF
13630 cat confdefs.h
>>conftest.
$ac_ext
13631 cat >>conftest.
$ac_ext <<_ACEOF
13632 /* end confdefs.h. */
13634 /* Override any gcc2 internal prototype to avoid an error. */
13638 /* We use char because int might match the return type of a gcc2
13639 builtin and then its argument prototype would still apply. */
13649 rm -f conftest.
$ac_objext conftest
$ac_exeext
13650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13651 (eval $ac_link) 2>conftest.er1
13653 grep -v '^ *+' conftest.er1
>conftest.err
13655 cat conftest.err
>&5
13656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13657 (exit $ac_status); } &&
13658 { ac_try
='test -z "$ac_c_werror_flag"
13659 || test ! -s conftest.err'
13660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13661 (eval $ac_try) 2>&5
13663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13664 (exit $ac_status); }; } &&
13665 { ac_try
='test -s conftest$ac_exeext'
13666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13667 (eval $ac_try) 2>&5
13669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13670 (exit $ac_status); }; }; then
13671 ac_cv_lib_m_coshl
=yes
13673 echo "$as_me: failed program was:" >&5
13674 sed 's/^/| /' conftest.
$ac_ext >&5
13676 ac_cv_lib_m_coshl
=no
13678 rm -f conftest.err conftest.
$ac_objext \
13679 conftest
$ac_exeext conftest.
$ac_ext
13680 LIBS
=$ac_check_lib_save_LIBS
13682 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
13683 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
13684 if test $ac_cv_lib_m_coshl = yes; then
13686 cat >>confdefs.h
<<\_ACEOF
13687 #define HAVE_COSHL 1
13692 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
13693 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
13694 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
13695 echo $ECHO_N "(cached) $ECHO_C" >&6
13697 ac_check_lib_save_LIBS
=$LIBS
13699 if test x
$gcc_no_link = xyes
; then
13700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13702 { (exit 1); exit 1; }; }
13704 cat >conftest.
$ac_ext <<_ACEOF
13707 cat confdefs.h
>>conftest.
$ac_ext
13708 cat >>conftest.
$ac_ext <<_ACEOF
13709 /* end confdefs.h. */
13711 /* Override any gcc2 internal prototype to avoid an error. */
13715 /* We use char because int might match the return type of a gcc2
13716 builtin and then its argument prototype would still apply. */
13726 rm -f conftest.
$ac_objext conftest
$ac_exeext
13727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13728 (eval $ac_link) 2>conftest.er1
13730 grep -v '^ *+' conftest.er1
>conftest.err
13732 cat conftest.err
>&5
13733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13734 (exit $ac_status); } &&
13735 { ac_try
='test -z "$ac_c_werror_flag"
13736 || test ! -s conftest.err'
13737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13738 (eval $ac_try) 2>&5
13740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13741 (exit $ac_status); }; } &&
13742 { ac_try
='test -s conftest$ac_exeext'
13743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13744 (eval $ac_try) 2>&5
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); }; }; then
13748 ac_cv_lib_m_ccoshf
=yes
13750 echo "$as_me: failed program was:" >&5
13751 sed 's/^/| /' conftest.
$ac_ext >&5
13753 ac_cv_lib_m_ccoshf
=no
13755 rm -f conftest.err conftest.
$ac_objext \
13756 conftest
$ac_exeext conftest.
$ac_ext
13757 LIBS
=$ac_check_lib_save_LIBS
13759 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
13760 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
13761 if test $ac_cv_lib_m_ccoshf = yes; then
13763 cat >>confdefs.h
<<\_ACEOF
13764 #define HAVE_CCOSHF 1
13769 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
13770 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
13771 if test "${ac_cv_lib_m_ccosh+set}" = set; then
13772 echo $ECHO_N "(cached) $ECHO_C" >&6
13774 ac_check_lib_save_LIBS
=$LIBS
13776 if test x
$gcc_no_link = xyes
; then
13777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13779 { (exit 1); exit 1; }; }
13781 cat >conftest.
$ac_ext <<_ACEOF
13784 cat confdefs.h
>>conftest.
$ac_ext
13785 cat >>conftest.
$ac_ext <<_ACEOF
13786 /* end confdefs.h. */
13788 /* Override any gcc2 internal prototype to avoid an error. */
13792 /* We use char because int might match the return type of a gcc2
13793 builtin and then its argument prototype would still apply. */
13803 rm -f conftest.
$ac_objext conftest
$ac_exeext
13804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13805 (eval $ac_link) 2>conftest.er1
13807 grep -v '^ *+' conftest.er1
>conftest.err
13809 cat conftest.err
>&5
13810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13811 (exit $ac_status); } &&
13812 { ac_try
='test -z "$ac_c_werror_flag"
13813 || test ! -s conftest.err'
13814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13815 (eval $ac_try) 2>&5
13817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13818 (exit $ac_status); }; } &&
13819 { ac_try
='test -s conftest$ac_exeext'
13820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13821 (eval $ac_try) 2>&5
13823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13824 (exit $ac_status); }; }; then
13825 ac_cv_lib_m_ccosh
=yes
13827 echo "$as_me: failed program was:" >&5
13828 sed 's/^/| /' conftest.
$ac_ext >&5
13830 ac_cv_lib_m_ccosh
=no
13832 rm -f conftest.err conftest.
$ac_objext \
13833 conftest
$ac_exeext conftest.
$ac_ext
13834 LIBS
=$ac_check_lib_save_LIBS
13836 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
13837 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
13838 if test $ac_cv_lib_m_ccosh = yes; then
13840 cat >>confdefs.h
<<\_ACEOF
13841 #define HAVE_CCOSH 1
13846 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
13847 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
13848 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
13849 echo $ECHO_N "(cached) $ECHO_C" >&6
13851 ac_check_lib_save_LIBS
=$LIBS
13853 if test x
$gcc_no_link = xyes
; then
13854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13856 { (exit 1); exit 1; }; }
13858 cat >conftest.
$ac_ext <<_ACEOF
13861 cat confdefs.h
>>conftest.
$ac_ext
13862 cat >>conftest.
$ac_ext <<_ACEOF
13863 /* end confdefs.h. */
13865 /* Override any gcc2 internal prototype to avoid an error. */
13869 /* We use char because int might match the return type of a gcc2
13870 builtin and then its argument prototype would still apply. */
13880 rm -f conftest.
$ac_objext conftest
$ac_exeext
13881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13882 (eval $ac_link) 2>conftest.er1
13884 grep -v '^ *+' conftest.er1
>conftest.err
13886 cat conftest.err
>&5
13887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13888 (exit $ac_status); } &&
13889 { ac_try
='test -z "$ac_c_werror_flag"
13890 || test ! -s conftest.err'
13891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13892 (eval $ac_try) 2>&5
13894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 (exit $ac_status); }; } &&
13896 { ac_try
='test -s conftest$ac_exeext'
13897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13898 (eval $ac_try) 2>&5
13900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13901 (exit $ac_status); }; }; then
13902 ac_cv_lib_m_ccoshl
=yes
13904 echo "$as_me: failed program was:" >&5
13905 sed 's/^/| /' conftest.
$ac_ext >&5
13907 ac_cv_lib_m_ccoshl
=no
13909 rm -f conftest.err conftest.
$ac_objext \
13910 conftest
$ac_exeext conftest.
$ac_ext
13911 LIBS
=$ac_check_lib_save_LIBS
13913 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
13914 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
13915 if test $ac_cv_lib_m_ccoshl = yes; then
13917 cat >>confdefs.h
<<\_ACEOF
13918 #define HAVE_CCOSHL 1
13923 echo "$as_me:$LINENO: checking for expf in -lm" >&5
13924 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
13925 if test "${ac_cv_lib_m_expf+set}" = set; then
13926 echo $ECHO_N "(cached) $ECHO_C" >&6
13928 ac_check_lib_save_LIBS
=$LIBS
13930 if test x
$gcc_no_link = xyes
; then
13931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13933 { (exit 1); exit 1; }; }
13935 cat >conftest.
$ac_ext <<_ACEOF
13938 cat confdefs.h
>>conftest.
$ac_ext
13939 cat >>conftest.
$ac_ext <<_ACEOF
13940 /* end confdefs.h. */
13942 /* Override any gcc2 internal prototype to avoid an error. */
13946 /* We use char because int might match the return type of a gcc2
13947 builtin and then its argument prototype would still apply. */
13957 rm -f conftest.
$ac_objext conftest
$ac_exeext
13958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13959 (eval $ac_link) 2>conftest.er1
13961 grep -v '^ *+' conftest.er1
>conftest.err
13963 cat conftest.err
>&5
13964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965 (exit $ac_status); } &&
13966 { ac_try
='test -z "$ac_c_werror_flag"
13967 || test ! -s conftest.err'
13968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13969 (eval $ac_try) 2>&5
13971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13972 (exit $ac_status); }; } &&
13973 { ac_try
='test -s conftest$ac_exeext'
13974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13975 (eval $ac_try) 2>&5
13977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13978 (exit $ac_status); }; }; then
13979 ac_cv_lib_m_expf
=yes
13981 echo "$as_me: failed program was:" >&5
13982 sed 's/^/| /' conftest.
$ac_ext >&5
13984 ac_cv_lib_m_expf
=no
13986 rm -f conftest.err conftest.
$ac_objext \
13987 conftest
$ac_exeext conftest.
$ac_ext
13988 LIBS
=$ac_check_lib_save_LIBS
13990 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
13991 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
13992 if test $ac_cv_lib_m_expf = yes; then
13994 cat >>confdefs.h
<<\_ACEOF
13995 #define HAVE_EXPF 1
14000 echo "$as_me:$LINENO: checking for exp in -lm" >&5
14001 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
14002 if test "${ac_cv_lib_m_exp+set}" = set; then
14003 echo $ECHO_N "(cached) $ECHO_C" >&6
14005 ac_check_lib_save_LIBS
=$LIBS
14007 if test x
$gcc_no_link = xyes
; then
14008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14010 { (exit 1); exit 1; }; }
14012 cat >conftest.
$ac_ext <<_ACEOF
14015 cat confdefs.h
>>conftest.
$ac_ext
14016 cat >>conftest.
$ac_ext <<_ACEOF
14017 /* end confdefs.h. */
14019 /* Override any gcc2 internal prototype to avoid an error. */
14023 /* We use char because int might match the return type of a gcc2
14024 builtin and then its argument prototype would still apply. */
14034 rm -f conftest.
$ac_objext conftest
$ac_exeext
14035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14036 (eval $ac_link) 2>conftest.er1
14038 grep -v '^ *+' conftest.er1
>conftest.err
14040 cat conftest.err
>&5
14041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14042 (exit $ac_status); } &&
14043 { ac_try
='test -z "$ac_c_werror_flag"
14044 || test ! -s conftest.err'
14045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14046 (eval $ac_try) 2>&5
14048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14049 (exit $ac_status); }; } &&
14050 { ac_try
='test -s conftest$ac_exeext'
14051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14052 (eval $ac_try) 2>&5
14054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 (exit $ac_status); }; }; then
14056 ac_cv_lib_m_exp
=yes
14058 echo "$as_me: failed program was:" >&5
14059 sed 's/^/| /' conftest.
$ac_ext >&5
14063 rm -f conftest.err conftest.
$ac_objext \
14064 conftest
$ac_exeext conftest.
$ac_ext
14065 LIBS
=$ac_check_lib_save_LIBS
14067 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
14068 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
14069 if test $ac_cv_lib_m_exp = yes; then
14071 cat >>confdefs.h
<<\_ACEOF
14077 echo "$as_me:$LINENO: checking for expl in -lm" >&5
14078 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
14079 if test "${ac_cv_lib_m_expl+set}" = set; then
14080 echo $ECHO_N "(cached) $ECHO_C" >&6
14082 ac_check_lib_save_LIBS
=$LIBS
14084 if test x
$gcc_no_link = xyes
; then
14085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14087 { (exit 1); exit 1; }; }
14089 cat >conftest.
$ac_ext <<_ACEOF
14092 cat confdefs.h
>>conftest.
$ac_ext
14093 cat >>conftest.
$ac_ext <<_ACEOF
14094 /* end confdefs.h. */
14096 /* Override any gcc2 internal prototype to avoid an error. */
14100 /* We use char because int might match the return type of a gcc2
14101 builtin and then its argument prototype would still apply. */
14111 rm -f conftest.
$ac_objext conftest
$ac_exeext
14112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14113 (eval $ac_link) 2>conftest.er1
14115 grep -v '^ *+' conftest.er1
>conftest.err
14117 cat conftest.err
>&5
14118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14119 (exit $ac_status); } &&
14120 { ac_try
='test -z "$ac_c_werror_flag"
14121 || test ! -s conftest.err'
14122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14123 (eval $ac_try) 2>&5
14125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14126 (exit $ac_status); }; } &&
14127 { ac_try
='test -s conftest$ac_exeext'
14128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14129 (eval $ac_try) 2>&5
14131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14132 (exit $ac_status); }; }; then
14133 ac_cv_lib_m_expl
=yes
14135 echo "$as_me: failed program was:" >&5
14136 sed 's/^/| /' conftest.
$ac_ext >&5
14138 ac_cv_lib_m_expl
=no
14140 rm -f conftest.err conftest.
$ac_objext \
14141 conftest
$ac_exeext conftest.
$ac_ext
14142 LIBS
=$ac_check_lib_save_LIBS
14144 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
14145 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
14146 if test $ac_cv_lib_m_expl = yes; then
14148 cat >>confdefs.h
<<\_ACEOF
14149 #define HAVE_EXPL 1
14154 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
14155 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
14156 if test "${ac_cv_lib_m_cexpf+set}" = set; then
14157 echo $ECHO_N "(cached) $ECHO_C" >&6
14159 ac_check_lib_save_LIBS
=$LIBS
14161 if test x
$gcc_no_link = xyes
; then
14162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14164 { (exit 1); exit 1; }; }
14166 cat >conftest.
$ac_ext <<_ACEOF
14169 cat confdefs.h
>>conftest.
$ac_ext
14170 cat >>conftest.
$ac_ext <<_ACEOF
14171 /* end confdefs.h. */
14173 /* Override any gcc2 internal prototype to avoid an error. */
14177 /* We use char because int might match the return type of a gcc2
14178 builtin and then its argument prototype would still apply. */
14188 rm -f conftest.
$ac_objext conftest
$ac_exeext
14189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14190 (eval $ac_link) 2>conftest.er1
14192 grep -v '^ *+' conftest.er1
>conftest.err
14194 cat conftest.err
>&5
14195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14196 (exit $ac_status); } &&
14197 { ac_try
='test -z "$ac_c_werror_flag"
14198 || test ! -s conftest.err'
14199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14200 (eval $ac_try) 2>&5
14202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203 (exit $ac_status); }; } &&
14204 { ac_try
='test -s conftest$ac_exeext'
14205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14206 (eval $ac_try) 2>&5
14208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14209 (exit $ac_status); }; }; then
14210 ac_cv_lib_m_cexpf
=yes
14212 echo "$as_me: failed program was:" >&5
14213 sed 's/^/| /' conftest.
$ac_ext >&5
14215 ac_cv_lib_m_cexpf
=no
14217 rm -f conftest.err conftest.
$ac_objext \
14218 conftest
$ac_exeext conftest.
$ac_ext
14219 LIBS
=$ac_check_lib_save_LIBS
14221 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
14222 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
14223 if test $ac_cv_lib_m_cexpf = yes; then
14225 cat >>confdefs.h
<<\_ACEOF
14226 #define HAVE_CEXPF 1
14231 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
14232 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
14233 if test "${ac_cv_lib_m_cexp+set}" = set; then
14234 echo $ECHO_N "(cached) $ECHO_C" >&6
14236 ac_check_lib_save_LIBS
=$LIBS
14238 if test x
$gcc_no_link = xyes
; then
14239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14241 { (exit 1); exit 1; }; }
14243 cat >conftest.
$ac_ext <<_ACEOF
14246 cat confdefs.h
>>conftest.
$ac_ext
14247 cat >>conftest.
$ac_ext <<_ACEOF
14248 /* end confdefs.h. */
14250 /* Override any gcc2 internal prototype to avoid an error. */
14254 /* We use char because int might match the return type of a gcc2
14255 builtin and then its argument prototype would still apply. */
14265 rm -f conftest.
$ac_objext conftest
$ac_exeext
14266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14267 (eval $ac_link) 2>conftest.er1
14269 grep -v '^ *+' conftest.er1
>conftest.err
14271 cat conftest.err
>&5
14272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14273 (exit $ac_status); } &&
14274 { ac_try
='test -z "$ac_c_werror_flag"
14275 || test ! -s conftest.err'
14276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14277 (eval $ac_try) 2>&5
14279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14280 (exit $ac_status); }; } &&
14281 { ac_try
='test -s conftest$ac_exeext'
14282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14283 (eval $ac_try) 2>&5
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); }; }; then
14287 ac_cv_lib_m_cexp
=yes
14289 echo "$as_me: failed program was:" >&5
14290 sed 's/^/| /' conftest.
$ac_ext >&5
14292 ac_cv_lib_m_cexp
=no
14294 rm -f conftest.err conftest.
$ac_objext \
14295 conftest
$ac_exeext conftest.
$ac_ext
14296 LIBS
=$ac_check_lib_save_LIBS
14298 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
14299 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
14300 if test $ac_cv_lib_m_cexp = yes; then
14302 cat >>confdefs.h
<<\_ACEOF
14303 #define HAVE_CEXP 1
14308 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
14309 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
14310 if test "${ac_cv_lib_m_cexpl+set}" = set; then
14311 echo $ECHO_N "(cached) $ECHO_C" >&6
14313 ac_check_lib_save_LIBS
=$LIBS
14315 if test x
$gcc_no_link = xyes
; then
14316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14318 { (exit 1); exit 1; }; }
14320 cat >conftest.
$ac_ext <<_ACEOF
14323 cat confdefs.h
>>conftest.
$ac_ext
14324 cat >>conftest.
$ac_ext <<_ACEOF
14325 /* end confdefs.h. */
14327 /* Override any gcc2 internal prototype to avoid an error. */
14331 /* We use char because int might match the return type of a gcc2
14332 builtin and then its argument prototype would still apply. */
14342 rm -f conftest.
$ac_objext conftest
$ac_exeext
14343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14344 (eval $ac_link) 2>conftest.er1
14346 grep -v '^ *+' conftest.er1
>conftest.err
14348 cat conftest.err
>&5
14349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14350 (exit $ac_status); } &&
14351 { ac_try
='test -z "$ac_c_werror_flag"
14352 || test ! -s conftest.err'
14353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14354 (eval $ac_try) 2>&5
14356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14357 (exit $ac_status); }; } &&
14358 { ac_try
='test -s conftest$ac_exeext'
14359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14360 (eval $ac_try) 2>&5
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); }; }; then
14364 ac_cv_lib_m_cexpl
=yes
14366 echo "$as_me: failed program was:" >&5
14367 sed 's/^/| /' conftest.
$ac_ext >&5
14369 ac_cv_lib_m_cexpl
=no
14371 rm -f conftest.err conftest.
$ac_objext \
14372 conftest
$ac_exeext conftest.
$ac_ext
14373 LIBS
=$ac_check_lib_save_LIBS
14375 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
14376 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
14377 if test $ac_cv_lib_m_cexpl = yes; then
14379 cat >>confdefs.h
<<\_ACEOF
14380 #define HAVE_CEXPL 1
14385 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
14386 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
14387 if test "${ac_cv_lib_m_fabsf+set}" = set; then
14388 echo $ECHO_N "(cached) $ECHO_C" >&6
14390 ac_check_lib_save_LIBS
=$LIBS
14392 if test x
$gcc_no_link = xyes
; then
14393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14395 { (exit 1); exit 1; }; }
14397 cat >conftest.
$ac_ext <<_ACEOF
14400 cat confdefs.h
>>conftest.
$ac_ext
14401 cat >>conftest.
$ac_ext <<_ACEOF
14402 /* end confdefs.h. */
14404 /* Override any gcc2 internal prototype to avoid an error. */
14408 /* We use char because int might match the return type of a gcc2
14409 builtin and then its argument prototype would still apply. */
14419 rm -f conftest.
$ac_objext conftest
$ac_exeext
14420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14421 (eval $ac_link) 2>conftest.er1
14423 grep -v '^ *+' conftest.er1
>conftest.err
14425 cat conftest.err
>&5
14426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14427 (exit $ac_status); } &&
14428 { ac_try
='test -z "$ac_c_werror_flag"
14429 || test ! -s conftest.err'
14430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14431 (eval $ac_try) 2>&5
14433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14434 (exit $ac_status); }; } &&
14435 { ac_try
='test -s conftest$ac_exeext'
14436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14437 (eval $ac_try) 2>&5
14439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440 (exit $ac_status); }; }; then
14441 ac_cv_lib_m_fabsf
=yes
14443 echo "$as_me: failed program was:" >&5
14444 sed 's/^/| /' conftest.
$ac_ext >&5
14446 ac_cv_lib_m_fabsf
=no
14448 rm -f conftest.err conftest.
$ac_objext \
14449 conftest
$ac_exeext conftest.
$ac_ext
14450 LIBS
=$ac_check_lib_save_LIBS
14452 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
14453 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
14454 if test $ac_cv_lib_m_fabsf = yes; then
14456 cat >>confdefs.h
<<\_ACEOF
14457 #define HAVE_FABSF 1
14462 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
14463 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
14464 if test "${ac_cv_lib_m_fabs+set}" = set; then
14465 echo $ECHO_N "(cached) $ECHO_C" >&6
14467 ac_check_lib_save_LIBS
=$LIBS
14469 if test x
$gcc_no_link = xyes
; then
14470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14472 { (exit 1); exit 1; }; }
14474 cat >conftest.
$ac_ext <<_ACEOF
14477 cat confdefs.h
>>conftest.
$ac_ext
14478 cat >>conftest.
$ac_ext <<_ACEOF
14479 /* end confdefs.h. */
14481 /* Override any gcc2 internal prototype to avoid an error. */
14485 /* We use char because int might match the return type of a gcc2
14486 builtin and then its argument prototype would still apply. */
14496 rm -f conftest.
$ac_objext conftest
$ac_exeext
14497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14498 (eval $ac_link) 2>conftest.er1
14500 grep -v '^ *+' conftest.er1
>conftest.err
14502 cat conftest.err
>&5
14503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14504 (exit $ac_status); } &&
14505 { ac_try
='test -z "$ac_c_werror_flag"
14506 || test ! -s conftest.err'
14507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14508 (eval $ac_try) 2>&5
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); }; } &&
14512 { ac_try
='test -s conftest$ac_exeext'
14513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14514 (eval $ac_try) 2>&5
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); }; }; then
14518 ac_cv_lib_m_fabs
=yes
14520 echo "$as_me: failed program was:" >&5
14521 sed 's/^/| /' conftest.
$ac_ext >&5
14523 ac_cv_lib_m_fabs
=no
14525 rm -f conftest.err conftest.
$ac_objext \
14526 conftest
$ac_exeext conftest.
$ac_ext
14527 LIBS
=$ac_check_lib_save_LIBS
14529 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
14530 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
14531 if test $ac_cv_lib_m_fabs = yes; then
14533 cat >>confdefs.h
<<\_ACEOF
14534 #define HAVE_FABS 1
14539 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
14540 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
14541 if test "${ac_cv_lib_m_fabsl+set}" = set; then
14542 echo $ECHO_N "(cached) $ECHO_C" >&6
14544 ac_check_lib_save_LIBS
=$LIBS
14546 if test x
$gcc_no_link = xyes
; then
14547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14549 { (exit 1); exit 1; }; }
14551 cat >conftest.
$ac_ext <<_ACEOF
14554 cat confdefs.h
>>conftest.
$ac_ext
14555 cat >>conftest.
$ac_ext <<_ACEOF
14556 /* end confdefs.h. */
14558 /* Override any gcc2 internal prototype to avoid an error. */
14562 /* We use char because int might match the return type of a gcc2
14563 builtin and then its argument prototype would still apply. */
14573 rm -f conftest.
$ac_objext conftest
$ac_exeext
14574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14575 (eval $ac_link) 2>conftest.er1
14577 grep -v '^ *+' conftest.er1
>conftest.err
14579 cat conftest.err
>&5
14580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14581 (exit $ac_status); } &&
14582 { ac_try
='test -z "$ac_c_werror_flag"
14583 || test ! -s conftest.err'
14584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14585 (eval $ac_try) 2>&5
14587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14588 (exit $ac_status); }; } &&
14589 { ac_try
='test -s conftest$ac_exeext'
14590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14591 (eval $ac_try) 2>&5
14593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 (exit $ac_status); }; }; then
14595 ac_cv_lib_m_fabsl
=yes
14597 echo "$as_me: failed program was:" >&5
14598 sed 's/^/| /' conftest.
$ac_ext >&5
14600 ac_cv_lib_m_fabsl
=no
14602 rm -f conftest.err conftest.
$ac_objext \
14603 conftest
$ac_exeext conftest.
$ac_ext
14604 LIBS
=$ac_check_lib_save_LIBS
14606 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
14607 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
14608 if test $ac_cv_lib_m_fabsl = yes; then
14610 cat >>confdefs.h
<<\_ACEOF
14611 #define HAVE_FABSL 1
14616 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
14617 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
14618 if test "${ac_cv_lib_m_cabsf+set}" = set; then
14619 echo $ECHO_N "(cached) $ECHO_C" >&6
14621 ac_check_lib_save_LIBS
=$LIBS
14623 if test x
$gcc_no_link = xyes
; then
14624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14626 { (exit 1); exit 1; }; }
14628 cat >conftest.
$ac_ext <<_ACEOF
14631 cat confdefs.h
>>conftest.
$ac_ext
14632 cat >>conftest.
$ac_ext <<_ACEOF
14633 /* end confdefs.h. */
14635 /* Override any gcc2 internal prototype to avoid an error. */
14639 /* We use char because int might match the return type of a gcc2
14640 builtin and then its argument prototype would still apply. */
14650 rm -f conftest.
$ac_objext conftest
$ac_exeext
14651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14652 (eval $ac_link) 2>conftest.er1
14654 grep -v '^ *+' conftest.er1
>conftest.err
14656 cat conftest.err
>&5
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); } &&
14659 { ac_try
='test -z "$ac_c_werror_flag"
14660 || test ! -s conftest.err'
14661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14662 (eval $ac_try) 2>&5
14664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14665 (exit $ac_status); }; } &&
14666 { ac_try
='test -s conftest$ac_exeext'
14667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14668 (eval $ac_try) 2>&5
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); }; }; then
14672 ac_cv_lib_m_cabsf
=yes
14674 echo "$as_me: failed program was:" >&5
14675 sed 's/^/| /' conftest.
$ac_ext >&5
14677 ac_cv_lib_m_cabsf
=no
14679 rm -f conftest.err conftest.
$ac_objext \
14680 conftest
$ac_exeext conftest.
$ac_ext
14681 LIBS
=$ac_check_lib_save_LIBS
14683 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
14684 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
14685 if test $ac_cv_lib_m_cabsf = yes; then
14687 cat >>confdefs.h
<<\_ACEOF
14688 #define HAVE_CABSF 1
14693 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
14694 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
14695 if test "${ac_cv_lib_m_cabs+set}" = set; then
14696 echo $ECHO_N "(cached) $ECHO_C" >&6
14698 ac_check_lib_save_LIBS
=$LIBS
14700 if test x
$gcc_no_link = xyes
; then
14701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14703 { (exit 1); exit 1; }; }
14705 cat >conftest.
$ac_ext <<_ACEOF
14708 cat confdefs.h
>>conftest.
$ac_ext
14709 cat >>conftest.
$ac_ext <<_ACEOF
14710 /* end confdefs.h. */
14712 /* Override any gcc2 internal prototype to avoid an error. */
14716 /* We use char because int might match the return type of a gcc2
14717 builtin and then its argument prototype would still apply. */
14727 rm -f conftest.
$ac_objext conftest
$ac_exeext
14728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14729 (eval $ac_link) 2>conftest.er1
14731 grep -v '^ *+' conftest.er1
>conftest.err
14733 cat conftest.err
>&5
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); } &&
14736 { ac_try
='test -z "$ac_c_werror_flag"
14737 || test ! -s conftest.err'
14738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14739 (eval $ac_try) 2>&5
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); }; } &&
14743 { ac_try
='test -s conftest$ac_exeext'
14744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14745 (eval $ac_try) 2>&5
14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); }; }; then
14749 ac_cv_lib_m_cabs
=yes
14751 echo "$as_me: failed program was:" >&5
14752 sed 's/^/| /' conftest.
$ac_ext >&5
14754 ac_cv_lib_m_cabs
=no
14756 rm -f conftest.err conftest.
$ac_objext \
14757 conftest
$ac_exeext conftest.
$ac_ext
14758 LIBS
=$ac_check_lib_save_LIBS
14760 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
14761 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
14762 if test $ac_cv_lib_m_cabs = yes; then
14764 cat >>confdefs.h
<<\_ACEOF
14765 #define HAVE_CABS 1
14770 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
14771 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
14772 if test "${ac_cv_lib_m_cabsl+set}" = set; then
14773 echo $ECHO_N "(cached) $ECHO_C" >&6
14775 ac_check_lib_save_LIBS
=$LIBS
14777 if test x
$gcc_no_link = xyes
; then
14778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14780 { (exit 1); exit 1; }; }
14782 cat >conftest.
$ac_ext <<_ACEOF
14785 cat confdefs.h
>>conftest.
$ac_ext
14786 cat >>conftest.
$ac_ext <<_ACEOF
14787 /* end confdefs.h. */
14789 /* Override any gcc2 internal prototype to avoid an error. */
14793 /* We use char because int might match the return type of a gcc2
14794 builtin and then its argument prototype would still apply. */
14804 rm -f conftest.
$ac_objext conftest
$ac_exeext
14805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14806 (eval $ac_link) 2>conftest.er1
14808 grep -v '^ *+' conftest.er1
>conftest.err
14810 cat conftest.err
>&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); } &&
14813 { ac_try
='test -z "$ac_c_werror_flag"
14814 || test ! -s conftest.err'
14815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14816 (eval $ac_try) 2>&5
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); }; } &&
14820 { ac_try
='test -s conftest$ac_exeext'
14821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14822 (eval $ac_try) 2>&5
14824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14825 (exit $ac_status); }; }; then
14826 ac_cv_lib_m_cabsl
=yes
14828 echo "$as_me: failed program was:" >&5
14829 sed 's/^/| /' conftest.
$ac_ext >&5
14831 ac_cv_lib_m_cabsl
=no
14833 rm -f conftest.err conftest.
$ac_objext \
14834 conftest
$ac_exeext conftest.
$ac_ext
14835 LIBS
=$ac_check_lib_save_LIBS
14837 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
14838 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
14839 if test $ac_cv_lib_m_cabsl = yes; then
14841 cat >>confdefs.h
<<\_ACEOF
14842 #define HAVE_CABSL 1
14847 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
14848 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
14849 if test "${ac_cv_lib_m_floorf+set}" = set; then
14850 echo $ECHO_N "(cached) $ECHO_C" >&6
14852 ac_check_lib_save_LIBS
=$LIBS
14854 if test x
$gcc_no_link = xyes
; then
14855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14857 { (exit 1); exit 1; }; }
14859 cat >conftest.
$ac_ext <<_ACEOF
14862 cat confdefs.h
>>conftest.
$ac_ext
14863 cat >>conftest.
$ac_ext <<_ACEOF
14864 /* end confdefs.h. */
14866 /* Override any gcc2 internal prototype to avoid an error. */
14870 /* We use char because int might match the return type of a gcc2
14871 builtin and then its argument prototype would still apply. */
14881 rm -f conftest.
$ac_objext conftest
$ac_exeext
14882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14883 (eval $ac_link) 2>conftest.er1
14885 grep -v '^ *+' conftest.er1
>conftest.err
14887 cat conftest.err
>&5
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); } &&
14890 { ac_try
='test -z "$ac_c_werror_flag"
14891 || test ! -s conftest.err'
14892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14893 (eval $ac_try) 2>&5
14895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14896 (exit $ac_status); }; } &&
14897 { ac_try
='test -s conftest$ac_exeext'
14898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14899 (eval $ac_try) 2>&5
14901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14902 (exit $ac_status); }; }; then
14903 ac_cv_lib_m_floorf
=yes
14905 echo "$as_me: failed program was:" >&5
14906 sed 's/^/| /' conftest.
$ac_ext >&5
14908 ac_cv_lib_m_floorf
=no
14910 rm -f conftest.err conftest.
$ac_objext \
14911 conftest
$ac_exeext conftest.
$ac_ext
14912 LIBS
=$ac_check_lib_save_LIBS
14914 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
14915 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
14916 if test $ac_cv_lib_m_floorf = yes; then
14918 cat >>confdefs.h
<<\_ACEOF
14919 #define HAVE_FLOORF 1
14924 echo "$as_me:$LINENO: checking for floor in -lm" >&5
14925 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
14926 if test "${ac_cv_lib_m_floor+set}" = set; then
14927 echo $ECHO_N "(cached) $ECHO_C" >&6
14929 ac_check_lib_save_LIBS
=$LIBS
14931 if test x
$gcc_no_link = xyes
; then
14932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14934 { (exit 1); exit 1; }; }
14936 cat >conftest.
$ac_ext <<_ACEOF
14939 cat confdefs.h
>>conftest.
$ac_ext
14940 cat >>conftest.
$ac_ext <<_ACEOF
14941 /* end confdefs.h. */
14943 /* Override any gcc2 internal prototype to avoid an error. */
14947 /* We use char because int might match the return type of a gcc2
14948 builtin and then its argument prototype would still apply. */
14958 rm -f conftest.
$ac_objext conftest
$ac_exeext
14959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14960 (eval $ac_link) 2>conftest.er1
14962 grep -v '^ *+' conftest.er1
>conftest.err
14964 cat conftest.err
>&5
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); } &&
14967 { ac_try
='test -z "$ac_c_werror_flag"
14968 || test ! -s conftest.err'
14969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14970 (eval $ac_try) 2>&5
14972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); }; } &&
14974 { ac_try
='test -s conftest$ac_exeext'
14975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14976 (eval $ac_try) 2>&5
14978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14979 (exit $ac_status); }; }; then
14980 ac_cv_lib_m_floor
=yes
14982 echo "$as_me: failed program was:" >&5
14983 sed 's/^/| /' conftest.
$ac_ext >&5
14985 ac_cv_lib_m_floor
=no
14987 rm -f conftest.err conftest.
$ac_objext \
14988 conftest
$ac_exeext conftest.
$ac_ext
14989 LIBS
=$ac_check_lib_save_LIBS
14991 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
14992 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
14993 if test $ac_cv_lib_m_floor = yes; then
14995 cat >>confdefs.h
<<\_ACEOF
14996 #define HAVE_FLOOR 1
15001 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
15002 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
15003 if test "${ac_cv_lib_m_floorl+set}" = set; then
15004 echo $ECHO_N "(cached) $ECHO_C" >&6
15006 ac_check_lib_save_LIBS
=$LIBS
15008 if test x
$gcc_no_link = xyes
; then
15009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15011 { (exit 1); exit 1; }; }
15013 cat >conftest.
$ac_ext <<_ACEOF
15016 cat confdefs.h
>>conftest.
$ac_ext
15017 cat >>conftest.
$ac_ext <<_ACEOF
15018 /* end confdefs.h. */
15020 /* Override any gcc2 internal prototype to avoid an error. */
15024 /* We use char because int might match the return type of a gcc2
15025 builtin and then its argument prototype would still apply. */
15035 rm -f conftest.
$ac_objext conftest
$ac_exeext
15036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15037 (eval $ac_link) 2>conftest.er1
15039 grep -v '^ *+' conftest.er1
>conftest.err
15041 cat conftest.err
>&5
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); } &&
15044 { ac_try
='test -z "$ac_c_werror_flag"
15045 || test ! -s conftest.err'
15046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15047 (eval $ac_try) 2>&5
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); }; } &&
15051 { ac_try
='test -s conftest$ac_exeext'
15052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15053 (eval $ac_try) 2>&5
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); }; }; then
15057 ac_cv_lib_m_floorl
=yes
15059 echo "$as_me: failed program was:" >&5
15060 sed 's/^/| /' conftest.
$ac_ext >&5
15062 ac_cv_lib_m_floorl
=no
15064 rm -f conftest.err conftest.
$ac_objext \
15065 conftest
$ac_exeext conftest.
$ac_ext
15066 LIBS
=$ac_check_lib_save_LIBS
15068 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
15069 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
15070 if test $ac_cv_lib_m_floorl = yes; then
15072 cat >>confdefs.h
<<\_ACEOF
15073 #define HAVE_FLOORL 1
15078 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
15079 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
15080 if test "${ac_cv_lib_m_frexpf+set}" = set; then
15081 echo $ECHO_N "(cached) $ECHO_C" >&6
15083 ac_check_lib_save_LIBS
=$LIBS
15085 if test x
$gcc_no_link = xyes
; then
15086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15088 { (exit 1); exit 1; }; }
15090 cat >conftest.
$ac_ext <<_ACEOF
15093 cat confdefs.h
>>conftest.
$ac_ext
15094 cat >>conftest.
$ac_ext <<_ACEOF
15095 /* end confdefs.h. */
15097 /* Override any gcc2 internal prototype to avoid an error. */
15101 /* We use char because int might match the return type of a gcc2
15102 builtin and then its argument prototype would still apply. */
15112 rm -f conftest.
$ac_objext conftest
$ac_exeext
15113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15114 (eval $ac_link) 2>conftest.er1
15116 grep -v '^ *+' conftest.er1
>conftest.err
15118 cat conftest.err
>&5
15119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15120 (exit $ac_status); } &&
15121 { ac_try
='test -z "$ac_c_werror_flag"
15122 || test ! -s conftest.err'
15123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15124 (eval $ac_try) 2>&5
15126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15127 (exit $ac_status); }; } &&
15128 { ac_try
='test -s conftest$ac_exeext'
15129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15130 (eval $ac_try) 2>&5
15132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15133 (exit $ac_status); }; }; then
15134 ac_cv_lib_m_frexpf
=yes
15136 echo "$as_me: failed program was:" >&5
15137 sed 's/^/| /' conftest.
$ac_ext >&5
15139 ac_cv_lib_m_frexpf
=no
15141 rm -f conftest.err conftest.
$ac_objext \
15142 conftest
$ac_exeext conftest.
$ac_ext
15143 LIBS
=$ac_check_lib_save_LIBS
15145 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
15146 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
15147 if test $ac_cv_lib_m_frexpf = yes; then
15149 cat >>confdefs.h
<<\_ACEOF
15150 #define HAVE_FREXPF 1
15155 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
15156 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
15157 if test "${ac_cv_lib_m_frexp+set}" = set; then
15158 echo $ECHO_N "(cached) $ECHO_C" >&6
15160 ac_check_lib_save_LIBS
=$LIBS
15162 if test x
$gcc_no_link = xyes
; then
15163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15165 { (exit 1); exit 1; }; }
15167 cat >conftest.
$ac_ext <<_ACEOF
15170 cat confdefs.h
>>conftest.
$ac_ext
15171 cat >>conftest.
$ac_ext <<_ACEOF
15172 /* end confdefs.h. */
15174 /* Override any gcc2 internal prototype to avoid an error. */
15178 /* We use char because int might match the return type of a gcc2
15179 builtin and then its argument prototype would still apply. */
15189 rm -f conftest.
$ac_objext conftest
$ac_exeext
15190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15191 (eval $ac_link) 2>conftest.er1
15193 grep -v '^ *+' conftest.er1
>conftest.err
15195 cat conftest.err
>&5
15196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15197 (exit $ac_status); } &&
15198 { ac_try
='test -z "$ac_c_werror_flag"
15199 || test ! -s conftest.err'
15200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15201 (eval $ac_try) 2>&5
15203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15204 (exit $ac_status); }; } &&
15205 { ac_try
='test -s conftest$ac_exeext'
15206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15207 (eval $ac_try) 2>&5
15209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15210 (exit $ac_status); }; }; then
15211 ac_cv_lib_m_frexp
=yes
15213 echo "$as_me: failed program was:" >&5
15214 sed 's/^/| /' conftest.
$ac_ext >&5
15216 ac_cv_lib_m_frexp
=no
15218 rm -f conftest.err conftest.
$ac_objext \
15219 conftest
$ac_exeext conftest.
$ac_ext
15220 LIBS
=$ac_check_lib_save_LIBS
15222 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
15223 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
15224 if test $ac_cv_lib_m_frexp = yes; then
15226 cat >>confdefs.h
<<\_ACEOF
15227 #define HAVE_FREXP 1
15232 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
15233 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
15234 if test "${ac_cv_lib_m_frexpl+set}" = set; then
15235 echo $ECHO_N "(cached) $ECHO_C" >&6
15237 ac_check_lib_save_LIBS
=$LIBS
15239 if test x
$gcc_no_link = xyes
; then
15240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15242 { (exit 1); exit 1; }; }
15244 cat >conftest.
$ac_ext <<_ACEOF
15247 cat confdefs.h
>>conftest.
$ac_ext
15248 cat >>conftest.
$ac_ext <<_ACEOF
15249 /* end confdefs.h. */
15251 /* Override any gcc2 internal prototype to avoid an error. */
15255 /* We use char because int might match the return type of a gcc2
15256 builtin and then its argument prototype would still apply. */
15266 rm -f conftest.
$ac_objext conftest
$ac_exeext
15267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15268 (eval $ac_link) 2>conftest.er1
15270 grep -v '^ *+' conftest.er1
>conftest.err
15272 cat conftest.err
>&5
15273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15274 (exit $ac_status); } &&
15275 { ac_try
='test -z "$ac_c_werror_flag"
15276 || test ! -s conftest.err'
15277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15278 (eval $ac_try) 2>&5
15280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15281 (exit $ac_status); }; } &&
15282 { ac_try
='test -s conftest$ac_exeext'
15283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15284 (eval $ac_try) 2>&5
15286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15287 (exit $ac_status); }; }; then
15288 ac_cv_lib_m_frexpl
=yes
15290 echo "$as_me: failed program was:" >&5
15291 sed 's/^/| /' conftest.
$ac_ext >&5
15293 ac_cv_lib_m_frexpl
=no
15295 rm -f conftest.err conftest.
$ac_objext \
15296 conftest
$ac_exeext conftest.
$ac_ext
15297 LIBS
=$ac_check_lib_save_LIBS
15299 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
15300 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
15301 if test $ac_cv_lib_m_frexpl = yes; then
15303 cat >>confdefs.h
<<\_ACEOF
15304 #define HAVE_FREXPL 1
15309 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
15310 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
15311 if test "${ac_cv_lib_m_hypotf+set}" = set; then
15312 echo $ECHO_N "(cached) $ECHO_C" >&6
15314 ac_check_lib_save_LIBS
=$LIBS
15316 if test x
$gcc_no_link = xyes
; then
15317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15319 { (exit 1); exit 1; }; }
15321 cat >conftest.
$ac_ext <<_ACEOF
15324 cat confdefs.h
>>conftest.
$ac_ext
15325 cat >>conftest.
$ac_ext <<_ACEOF
15326 /* end confdefs.h. */
15328 /* Override any gcc2 internal prototype to avoid an error. */
15332 /* We use char because int might match the return type of a gcc2
15333 builtin and then its argument prototype would still apply. */
15343 rm -f conftest.
$ac_objext conftest
$ac_exeext
15344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15345 (eval $ac_link) 2>conftest.er1
15347 grep -v '^ *+' conftest.er1
>conftest.err
15349 cat conftest.err
>&5
15350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351 (exit $ac_status); } &&
15352 { ac_try
='test -z "$ac_c_werror_flag"
15353 || test ! -s conftest.err'
15354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15355 (eval $ac_try) 2>&5
15357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15358 (exit $ac_status); }; } &&
15359 { ac_try
='test -s conftest$ac_exeext'
15360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15361 (eval $ac_try) 2>&5
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); }; }; then
15365 ac_cv_lib_m_hypotf
=yes
15367 echo "$as_me: failed program was:" >&5
15368 sed 's/^/| /' conftest.
$ac_ext >&5
15370 ac_cv_lib_m_hypotf
=no
15372 rm -f conftest.err conftest.
$ac_objext \
15373 conftest
$ac_exeext conftest.
$ac_ext
15374 LIBS
=$ac_check_lib_save_LIBS
15376 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
15377 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
15378 if test $ac_cv_lib_m_hypotf = yes; then
15380 cat >>confdefs.h
<<\_ACEOF
15381 #define HAVE_HYPOTF 1
15386 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
15387 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
15388 if test "${ac_cv_lib_m_hypot+set}" = set; then
15389 echo $ECHO_N "(cached) $ECHO_C" >&6
15391 ac_check_lib_save_LIBS
=$LIBS
15393 if test x
$gcc_no_link = xyes
; then
15394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15396 { (exit 1); exit 1; }; }
15398 cat >conftest.
$ac_ext <<_ACEOF
15401 cat confdefs.h
>>conftest.
$ac_ext
15402 cat >>conftest.
$ac_ext <<_ACEOF
15403 /* end confdefs.h. */
15405 /* Override any gcc2 internal prototype to avoid an error. */
15409 /* We use char because int might match the return type of a gcc2
15410 builtin and then its argument prototype would still apply. */
15420 rm -f conftest.
$ac_objext conftest
$ac_exeext
15421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15422 (eval $ac_link) 2>conftest.er1
15424 grep -v '^ *+' conftest.er1
>conftest.err
15426 cat conftest.err
>&5
15427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428 (exit $ac_status); } &&
15429 { ac_try
='test -z "$ac_c_werror_flag"
15430 || test ! -s conftest.err'
15431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15432 (eval $ac_try) 2>&5
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); }; } &&
15436 { ac_try
='test -s conftest$ac_exeext'
15437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15438 (eval $ac_try) 2>&5
15440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441 (exit $ac_status); }; }; then
15442 ac_cv_lib_m_hypot
=yes
15444 echo "$as_me: failed program was:" >&5
15445 sed 's/^/| /' conftest.
$ac_ext >&5
15447 ac_cv_lib_m_hypot
=no
15449 rm -f conftest.err conftest.
$ac_objext \
15450 conftest
$ac_exeext conftest.
$ac_ext
15451 LIBS
=$ac_check_lib_save_LIBS
15453 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
15454 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
15455 if test $ac_cv_lib_m_hypot = yes; then
15457 cat >>confdefs.h
<<\_ACEOF
15458 #define HAVE_HYPOT 1
15463 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
15464 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
15465 if test "${ac_cv_lib_m_hypotl+set}" = set; then
15466 echo $ECHO_N "(cached) $ECHO_C" >&6
15468 ac_check_lib_save_LIBS
=$LIBS
15470 if test x
$gcc_no_link = xyes
; then
15471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15473 { (exit 1); exit 1; }; }
15475 cat >conftest.
$ac_ext <<_ACEOF
15478 cat confdefs.h
>>conftest.
$ac_ext
15479 cat >>conftest.
$ac_ext <<_ACEOF
15480 /* end confdefs.h. */
15482 /* Override any gcc2 internal prototype to avoid an error. */
15486 /* We use char because int might match the return type of a gcc2
15487 builtin and then its argument prototype would still apply. */
15497 rm -f conftest.
$ac_objext conftest
$ac_exeext
15498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15499 (eval $ac_link) 2>conftest.er1
15501 grep -v '^ *+' conftest.er1
>conftest.err
15503 cat conftest.err
>&5
15504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15505 (exit $ac_status); } &&
15506 { ac_try
='test -z "$ac_c_werror_flag"
15507 || test ! -s conftest.err'
15508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15509 (eval $ac_try) 2>&5
15511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15512 (exit $ac_status); }; } &&
15513 { ac_try
='test -s conftest$ac_exeext'
15514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15515 (eval $ac_try) 2>&5
15517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15518 (exit $ac_status); }; }; then
15519 ac_cv_lib_m_hypotl
=yes
15521 echo "$as_me: failed program was:" >&5
15522 sed 's/^/| /' conftest.
$ac_ext >&5
15524 ac_cv_lib_m_hypotl
=no
15526 rm -f conftest.err conftest.
$ac_objext \
15527 conftest
$ac_exeext conftest.
$ac_ext
15528 LIBS
=$ac_check_lib_save_LIBS
15530 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
15531 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
15532 if test $ac_cv_lib_m_hypotl = yes; then
15534 cat >>confdefs.h
<<\_ACEOF
15535 #define HAVE_HYPOTL 1
15540 echo "$as_me:$LINENO: checking for logf in -lm" >&5
15541 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
15542 if test "${ac_cv_lib_m_logf+set}" = set; then
15543 echo $ECHO_N "(cached) $ECHO_C" >&6
15545 ac_check_lib_save_LIBS
=$LIBS
15547 if test x
$gcc_no_link = xyes
; then
15548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15550 { (exit 1); exit 1; }; }
15552 cat >conftest.
$ac_ext <<_ACEOF
15555 cat confdefs.h
>>conftest.
$ac_ext
15556 cat >>conftest.
$ac_ext <<_ACEOF
15557 /* end confdefs.h. */
15559 /* Override any gcc2 internal prototype to avoid an error. */
15563 /* We use char because int might match the return type of a gcc2
15564 builtin and then its argument prototype would still apply. */
15574 rm -f conftest.
$ac_objext conftest
$ac_exeext
15575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15576 (eval $ac_link) 2>conftest.er1
15578 grep -v '^ *+' conftest.er1
>conftest.err
15580 cat conftest.err
>&5
15581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15582 (exit $ac_status); } &&
15583 { ac_try
='test -z "$ac_c_werror_flag"
15584 || test ! -s conftest.err'
15585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15586 (eval $ac_try) 2>&5
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); }; } &&
15590 { ac_try
='test -s conftest$ac_exeext'
15591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15592 (eval $ac_try) 2>&5
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); }; }; then
15596 ac_cv_lib_m_logf
=yes
15598 echo "$as_me: failed program was:" >&5
15599 sed 's/^/| /' conftest.
$ac_ext >&5
15601 ac_cv_lib_m_logf
=no
15603 rm -f conftest.err conftest.
$ac_objext \
15604 conftest
$ac_exeext conftest.
$ac_ext
15605 LIBS
=$ac_check_lib_save_LIBS
15607 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
15608 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
15609 if test $ac_cv_lib_m_logf = yes; then
15611 cat >>confdefs.h
<<\_ACEOF
15612 #define HAVE_LOGF 1
15617 echo "$as_me:$LINENO: checking for log in -lm" >&5
15618 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
15619 if test "${ac_cv_lib_m_log+set}" = set; then
15620 echo $ECHO_N "(cached) $ECHO_C" >&6
15622 ac_check_lib_save_LIBS
=$LIBS
15624 if test x
$gcc_no_link = xyes
; then
15625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15627 { (exit 1); exit 1; }; }
15629 cat >conftest.
$ac_ext <<_ACEOF
15632 cat confdefs.h
>>conftest.
$ac_ext
15633 cat >>conftest.
$ac_ext <<_ACEOF
15634 /* end confdefs.h. */
15636 /* Override any gcc2 internal prototype to avoid an error. */
15640 /* We use char because int might match the return type of a gcc2
15641 builtin and then its argument prototype would still apply. */
15651 rm -f conftest.
$ac_objext conftest
$ac_exeext
15652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15653 (eval $ac_link) 2>conftest.er1
15655 grep -v '^ *+' conftest.er1
>conftest.err
15657 cat conftest.err
>&5
15658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659 (exit $ac_status); } &&
15660 { ac_try
='test -z "$ac_c_werror_flag"
15661 || test ! -s conftest.err'
15662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15663 (eval $ac_try) 2>&5
15665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15666 (exit $ac_status); }; } &&
15667 { ac_try
='test -s conftest$ac_exeext'
15668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15669 (eval $ac_try) 2>&5
15671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672 (exit $ac_status); }; }; then
15673 ac_cv_lib_m_log
=yes
15675 echo "$as_me: failed program was:" >&5
15676 sed 's/^/| /' conftest.
$ac_ext >&5
15680 rm -f conftest.err conftest.
$ac_objext \
15681 conftest
$ac_exeext conftest.
$ac_ext
15682 LIBS
=$ac_check_lib_save_LIBS
15684 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
15685 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
15686 if test $ac_cv_lib_m_log = yes; then
15688 cat >>confdefs.h
<<\_ACEOF
15694 echo "$as_me:$LINENO: checking for logl in -lm" >&5
15695 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
15696 if test "${ac_cv_lib_m_logl+set}" = set; then
15697 echo $ECHO_N "(cached) $ECHO_C" >&6
15699 ac_check_lib_save_LIBS
=$LIBS
15701 if test x
$gcc_no_link = xyes
; then
15702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15704 { (exit 1); exit 1; }; }
15706 cat >conftest.
$ac_ext <<_ACEOF
15709 cat confdefs.h
>>conftest.
$ac_ext
15710 cat >>conftest.
$ac_ext <<_ACEOF
15711 /* end confdefs.h. */
15713 /* Override any gcc2 internal prototype to avoid an error. */
15717 /* We use char because int might match the return type of a gcc2
15718 builtin and then its argument prototype would still apply. */
15728 rm -f conftest.
$ac_objext conftest
$ac_exeext
15729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15730 (eval $ac_link) 2>conftest.er1
15732 grep -v '^ *+' conftest.er1
>conftest.err
15734 cat conftest.err
>&5
15735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736 (exit $ac_status); } &&
15737 { ac_try
='test -z "$ac_c_werror_flag"
15738 || test ! -s conftest.err'
15739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15740 (eval $ac_try) 2>&5
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); }; } &&
15744 { ac_try
='test -s conftest$ac_exeext'
15745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15746 (eval $ac_try) 2>&5
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); }; }; then
15750 ac_cv_lib_m_logl
=yes
15752 echo "$as_me: failed program was:" >&5
15753 sed 's/^/| /' conftest.
$ac_ext >&5
15755 ac_cv_lib_m_logl
=no
15757 rm -f conftest.err conftest.
$ac_objext \
15758 conftest
$ac_exeext conftest.
$ac_ext
15759 LIBS
=$ac_check_lib_save_LIBS
15761 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
15762 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
15763 if test $ac_cv_lib_m_logl = yes; then
15765 cat >>confdefs.h
<<\_ACEOF
15766 #define HAVE_LOGL 1
15771 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
15772 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
15773 if test "${ac_cv_lib_m_clogf+set}" = set; then
15774 echo $ECHO_N "(cached) $ECHO_C" >&6
15776 ac_check_lib_save_LIBS
=$LIBS
15778 if test x
$gcc_no_link = xyes
; then
15779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15781 { (exit 1); exit 1; }; }
15783 cat >conftest.
$ac_ext <<_ACEOF
15786 cat confdefs.h
>>conftest.
$ac_ext
15787 cat >>conftest.
$ac_ext <<_ACEOF
15788 /* end confdefs.h. */
15790 /* Override any gcc2 internal prototype to avoid an error. */
15794 /* We use char because int might match the return type of a gcc2
15795 builtin and then its argument prototype would still apply. */
15805 rm -f conftest.
$ac_objext conftest
$ac_exeext
15806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15807 (eval $ac_link) 2>conftest.er1
15809 grep -v '^ *+' conftest.er1
>conftest.err
15811 cat conftest.err
>&5
15812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15813 (exit $ac_status); } &&
15814 { ac_try
='test -z "$ac_c_werror_flag"
15815 || test ! -s conftest.err'
15816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15817 (eval $ac_try) 2>&5
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); }; } &&
15821 { ac_try
='test -s conftest$ac_exeext'
15822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15823 (eval $ac_try) 2>&5
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); }; }; then
15827 ac_cv_lib_m_clogf
=yes
15829 echo "$as_me: failed program was:" >&5
15830 sed 's/^/| /' conftest.
$ac_ext >&5
15832 ac_cv_lib_m_clogf
=no
15834 rm -f conftest.err conftest.
$ac_objext \
15835 conftest
$ac_exeext conftest.
$ac_ext
15836 LIBS
=$ac_check_lib_save_LIBS
15838 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
15839 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
15840 if test $ac_cv_lib_m_clogf = yes; then
15842 cat >>confdefs.h
<<\_ACEOF
15843 #define HAVE_CLOGF 1
15848 echo "$as_me:$LINENO: checking for clog in -lm" >&5
15849 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
15850 if test "${ac_cv_lib_m_clog+set}" = set; then
15851 echo $ECHO_N "(cached) $ECHO_C" >&6
15853 ac_check_lib_save_LIBS
=$LIBS
15855 if test x
$gcc_no_link = xyes
; then
15856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15858 { (exit 1); exit 1; }; }
15860 cat >conftest.
$ac_ext <<_ACEOF
15863 cat confdefs.h
>>conftest.
$ac_ext
15864 cat >>conftest.
$ac_ext <<_ACEOF
15865 /* end confdefs.h. */
15867 /* Override any gcc2 internal prototype to avoid an error. */
15871 /* We use char because int might match the return type of a gcc2
15872 builtin and then its argument prototype would still apply. */
15882 rm -f conftest.
$ac_objext conftest
$ac_exeext
15883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15884 (eval $ac_link) 2>conftest.er1
15886 grep -v '^ *+' conftest.er1
>conftest.err
15888 cat conftest.err
>&5
15889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890 (exit $ac_status); } &&
15891 { ac_try
='test -z "$ac_c_werror_flag"
15892 || test ! -s conftest.err'
15893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15894 (eval $ac_try) 2>&5
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); }; } &&
15898 { ac_try
='test -s conftest$ac_exeext'
15899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15900 (eval $ac_try) 2>&5
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); }; }; then
15904 ac_cv_lib_m_clog
=yes
15906 echo "$as_me: failed program was:" >&5
15907 sed 's/^/| /' conftest.
$ac_ext >&5
15909 ac_cv_lib_m_clog
=no
15911 rm -f conftest.err conftest.
$ac_objext \
15912 conftest
$ac_exeext conftest.
$ac_ext
15913 LIBS
=$ac_check_lib_save_LIBS
15915 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
15916 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
15917 if test $ac_cv_lib_m_clog = yes; then
15919 cat >>confdefs.h
<<\_ACEOF
15920 #define HAVE_CLOG 1
15925 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
15926 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
15927 if test "${ac_cv_lib_m_clogl+set}" = set; then
15928 echo $ECHO_N "(cached) $ECHO_C" >&6
15930 ac_check_lib_save_LIBS
=$LIBS
15932 if test x
$gcc_no_link = xyes
; then
15933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15935 { (exit 1); exit 1; }; }
15937 cat >conftest.
$ac_ext <<_ACEOF
15940 cat confdefs.h
>>conftest.
$ac_ext
15941 cat >>conftest.
$ac_ext <<_ACEOF
15942 /* end confdefs.h. */
15944 /* Override any gcc2 internal prototype to avoid an error. */
15948 /* We use char because int might match the return type of a gcc2
15949 builtin and then its argument prototype would still apply. */
15959 rm -f conftest.
$ac_objext conftest
$ac_exeext
15960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15961 (eval $ac_link) 2>conftest.er1
15963 grep -v '^ *+' conftest.er1
>conftest.err
15965 cat conftest.err
>&5
15966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15967 (exit $ac_status); } &&
15968 { ac_try
='test -z "$ac_c_werror_flag"
15969 || test ! -s conftest.err'
15970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15971 (eval $ac_try) 2>&5
15973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15974 (exit $ac_status); }; } &&
15975 { ac_try
='test -s conftest$ac_exeext'
15976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15977 (eval $ac_try) 2>&5
15979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15980 (exit $ac_status); }; }; then
15981 ac_cv_lib_m_clogl
=yes
15983 echo "$as_me: failed program was:" >&5
15984 sed 's/^/| /' conftest.
$ac_ext >&5
15986 ac_cv_lib_m_clogl
=no
15988 rm -f conftest.err conftest.
$ac_objext \
15989 conftest
$ac_exeext conftest.
$ac_ext
15990 LIBS
=$ac_check_lib_save_LIBS
15992 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
15993 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
15994 if test $ac_cv_lib_m_clogl = yes; then
15996 cat >>confdefs.h
<<\_ACEOF
15997 #define HAVE_CLOGL 1
16002 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
16003 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
16004 if test "${ac_cv_lib_m_log10f+set}" = set; then
16005 echo $ECHO_N "(cached) $ECHO_C" >&6
16007 ac_check_lib_save_LIBS
=$LIBS
16009 if test x
$gcc_no_link = xyes
; then
16010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16012 { (exit 1); exit 1; }; }
16014 cat >conftest.
$ac_ext <<_ACEOF
16017 cat confdefs.h
>>conftest.
$ac_ext
16018 cat >>conftest.
$ac_ext <<_ACEOF
16019 /* end confdefs.h. */
16021 /* Override any gcc2 internal prototype to avoid an error. */
16025 /* We use char because int might match the return type of a gcc2
16026 builtin and then its argument prototype would still apply. */
16036 rm -f conftest.
$ac_objext conftest
$ac_exeext
16037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16038 (eval $ac_link) 2>conftest.er1
16040 grep -v '^ *+' conftest.er1
>conftest.err
16042 cat conftest.err
>&5
16043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16044 (exit $ac_status); } &&
16045 { ac_try
='test -z "$ac_c_werror_flag"
16046 || test ! -s conftest.err'
16047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16048 (eval $ac_try) 2>&5
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); }; } &&
16052 { ac_try
='test -s conftest$ac_exeext'
16053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16054 (eval $ac_try) 2>&5
16056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16057 (exit $ac_status); }; }; then
16058 ac_cv_lib_m_log10f
=yes
16060 echo "$as_me: failed program was:" >&5
16061 sed 's/^/| /' conftest.
$ac_ext >&5
16063 ac_cv_lib_m_log10f
=no
16065 rm -f conftest.err conftest.
$ac_objext \
16066 conftest
$ac_exeext conftest.
$ac_ext
16067 LIBS
=$ac_check_lib_save_LIBS
16069 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
16070 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
16071 if test $ac_cv_lib_m_log10f = yes; then
16073 cat >>confdefs.h
<<\_ACEOF
16074 #define HAVE_LOG10F 1
16079 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
16080 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
16081 if test "${ac_cv_lib_m_log10+set}" = set; then
16082 echo $ECHO_N "(cached) $ECHO_C" >&6
16084 ac_check_lib_save_LIBS
=$LIBS
16086 if test x
$gcc_no_link = xyes
; then
16087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16089 { (exit 1); exit 1; }; }
16091 cat >conftest.
$ac_ext <<_ACEOF
16094 cat confdefs.h
>>conftest.
$ac_ext
16095 cat >>conftest.
$ac_ext <<_ACEOF
16096 /* end confdefs.h. */
16098 /* Override any gcc2 internal prototype to avoid an error. */
16102 /* We use char because int might match the return type of a gcc2
16103 builtin and then its argument prototype would still apply. */
16113 rm -f conftest.
$ac_objext conftest
$ac_exeext
16114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16115 (eval $ac_link) 2>conftest.er1
16117 grep -v '^ *+' conftest.er1
>conftest.err
16119 cat conftest.err
>&5
16120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16121 (exit $ac_status); } &&
16122 { ac_try
='test -z "$ac_c_werror_flag"
16123 || test ! -s conftest.err'
16124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16125 (eval $ac_try) 2>&5
16127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16128 (exit $ac_status); }; } &&
16129 { ac_try
='test -s conftest$ac_exeext'
16130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16131 (eval $ac_try) 2>&5
16133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16134 (exit $ac_status); }; }; then
16135 ac_cv_lib_m_log10
=yes
16137 echo "$as_me: failed program was:" >&5
16138 sed 's/^/| /' conftest.
$ac_ext >&5
16140 ac_cv_lib_m_log10
=no
16142 rm -f conftest.err conftest.
$ac_objext \
16143 conftest
$ac_exeext conftest.
$ac_ext
16144 LIBS
=$ac_check_lib_save_LIBS
16146 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
16147 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
16148 if test $ac_cv_lib_m_log10 = yes; then
16150 cat >>confdefs.h
<<\_ACEOF
16151 #define HAVE_LOG10 1
16156 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
16157 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
16158 if test "${ac_cv_lib_m_log10l+set}" = set; then
16159 echo $ECHO_N "(cached) $ECHO_C" >&6
16161 ac_check_lib_save_LIBS
=$LIBS
16163 if test x
$gcc_no_link = xyes
; then
16164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16166 { (exit 1); exit 1; }; }
16168 cat >conftest.
$ac_ext <<_ACEOF
16171 cat confdefs.h
>>conftest.
$ac_ext
16172 cat >>conftest.
$ac_ext <<_ACEOF
16173 /* end confdefs.h. */
16175 /* Override any gcc2 internal prototype to avoid an error. */
16179 /* We use char because int might match the return type of a gcc2
16180 builtin and then its argument prototype would still apply. */
16190 rm -f conftest.
$ac_objext conftest
$ac_exeext
16191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16192 (eval $ac_link) 2>conftest.er1
16194 grep -v '^ *+' conftest.er1
>conftest.err
16196 cat conftest.err
>&5
16197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16198 (exit $ac_status); } &&
16199 { ac_try
='test -z "$ac_c_werror_flag"
16200 || test ! -s conftest.err'
16201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16202 (eval $ac_try) 2>&5
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); }; } &&
16206 { ac_try
='test -s conftest$ac_exeext'
16207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16208 (eval $ac_try) 2>&5
16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); }; }; then
16212 ac_cv_lib_m_log10l
=yes
16214 echo "$as_me: failed program was:" >&5
16215 sed 's/^/| /' conftest.
$ac_ext >&5
16217 ac_cv_lib_m_log10l
=no
16219 rm -f conftest.err conftest.
$ac_objext \
16220 conftest
$ac_exeext conftest.
$ac_ext
16221 LIBS
=$ac_check_lib_save_LIBS
16223 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
16224 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
16225 if test $ac_cv_lib_m_log10l = yes; then
16227 cat >>confdefs.h
<<\_ACEOF
16228 #define HAVE_LOG10L 1
16233 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
16234 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
16235 if test "${ac_cv_lib_m_clog10f+set}" = set; then
16236 echo $ECHO_N "(cached) $ECHO_C" >&6
16238 ac_check_lib_save_LIBS
=$LIBS
16240 if test x
$gcc_no_link = xyes
; then
16241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16243 { (exit 1); exit 1; }; }
16245 cat >conftest.
$ac_ext <<_ACEOF
16248 cat confdefs.h
>>conftest.
$ac_ext
16249 cat >>conftest.
$ac_ext <<_ACEOF
16250 /* end confdefs.h. */
16252 /* Override any gcc2 internal prototype to avoid an error. */
16256 /* We use char because int might match the return type of a gcc2
16257 builtin and then its argument prototype would still apply. */
16267 rm -f conftest.
$ac_objext conftest
$ac_exeext
16268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16269 (eval $ac_link) 2>conftest.er1
16271 grep -v '^ *+' conftest.er1
>conftest.err
16273 cat conftest.err
>&5
16274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16275 (exit $ac_status); } &&
16276 { ac_try
='test -z "$ac_c_werror_flag"
16277 || test ! -s conftest.err'
16278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16279 (eval $ac_try) 2>&5
16281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16282 (exit $ac_status); }; } &&
16283 { ac_try
='test -s conftest$ac_exeext'
16284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16285 (eval $ac_try) 2>&5
16287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16288 (exit $ac_status); }; }; then
16289 ac_cv_lib_m_clog10f
=yes
16291 echo "$as_me: failed program was:" >&5
16292 sed 's/^/| /' conftest.
$ac_ext >&5
16294 ac_cv_lib_m_clog10f
=no
16296 rm -f conftest.err conftest.
$ac_objext \
16297 conftest
$ac_exeext conftest.
$ac_ext
16298 LIBS
=$ac_check_lib_save_LIBS
16300 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
16301 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
16302 if test $ac_cv_lib_m_clog10f = yes; then
16304 cat >>confdefs.h
<<\_ACEOF
16305 #define HAVE_CLOG10F 1
16310 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
16311 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
16312 if test "${ac_cv_lib_m_clog10+set}" = set; then
16313 echo $ECHO_N "(cached) $ECHO_C" >&6
16315 ac_check_lib_save_LIBS
=$LIBS
16317 if test x
$gcc_no_link = xyes
; then
16318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16320 { (exit 1); exit 1; }; }
16322 cat >conftest.
$ac_ext <<_ACEOF
16325 cat confdefs.h
>>conftest.
$ac_ext
16326 cat >>conftest.
$ac_ext <<_ACEOF
16327 /* end confdefs.h. */
16329 /* Override any gcc2 internal prototype to avoid an error. */
16333 /* We use char because int might match the return type of a gcc2
16334 builtin and then its argument prototype would still apply. */
16344 rm -f conftest.
$ac_objext conftest
$ac_exeext
16345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16346 (eval $ac_link) 2>conftest.er1
16348 grep -v '^ *+' conftest.er1
>conftest.err
16350 cat conftest.err
>&5
16351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16352 (exit $ac_status); } &&
16353 { ac_try
='test -z "$ac_c_werror_flag"
16354 || test ! -s conftest.err'
16355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16356 (eval $ac_try) 2>&5
16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16359 (exit $ac_status); }; } &&
16360 { ac_try
='test -s conftest$ac_exeext'
16361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16362 (eval $ac_try) 2>&5
16364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16365 (exit $ac_status); }; }; then
16366 ac_cv_lib_m_clog10
=yes
16368 echo "$as_me: failed program was:" >&5
16369 sed 's/^/| /' conftest.
$ac_ext >&5
16371 ac_cv_lib_m_clog10
=no
16373 rm -f conftest.err conftest.
$ac_objext \
16374 conftest
$ac_exeext conftest.
$ac_ext
16375 LIBS
=$ac_check_lib_save_LIBS
16377 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
16378 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
16379 if test $ac_cv_lib_m_clog10 = yes; then
16381 cat >>confdefs.h
<<\_ACEOF
16382 #define HAVE_CLOG10 1
16387 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
16388 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
16389 if test "${ac_cv_lib_m_clog10l+set}" = set; then
16390 echo $ECHO_N "(cached) $ECHO_C" >&6
16392 ac_check_lib_save_LIBS
=$LIBS
16394 if test x
$gcc_no_link = xyes
; then
16395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16397 { (exit 1); exit 1; }; }
16399 cat >conftest.
$ac_ext <<_ACEOF
16402 cat confdefs.h
>>conftest.
$ac_ext
16403 cat >>conftest.
$ac_ext <<_ACEOF
16404 /* end confdefs.h. */
16406 /* Override any gcc2 internal prototype to avoid an error. */
16410 /* We use char because int might match the return type of a gcc2
16411 builtin and then its argument prototype would still apply. */
16421 rm -f conftest.
$ac_objext conftest
$ac_exeext
16422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16423 (eval $ac_link) 2>conftest.er1
16425 grep -v '^ *+' conftest.er1
>conftest.err
16427 cat conftest.err
>&5
16428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16429 (exit $ac_status); } &&
16430 { ac_try
='test -z "$ac_c_werror_flag"
16431 || test ! -s conftest.err'
16432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16433 (eval $ac_try) 2>&5
16435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16436 (exit $ac_status); }; } &&
16437 { ac_try
='test -s conftest$ac_exeext'
16438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16439 (eval $ac_try) 2>&5
16441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16442 (exit $ac_status); }; }; then
16443 ac_cv_lib_m_clog10l
=yes
16445 echo "$as_me: failed program was:" >&5
16446 sed 's/^/| /' conftest.
$ac_ext >&5
16448 ac_cv_lib_m_clog10l
=no
16450 rm -f conftest.err conftest.
$ac_objext \
16451 conftest
$ac_exeext conftest.
$ac_ext
16452 LIBS
=$ac_check_lib_save_LIBS
16454 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
16455 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
16456 if test $ac_cv_lib_m_clog10l = yes; then
16458 cat >>confdefs.h
<<\_ACEOF
16459 #define HAVE_CLOG10L 1
16464 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
16465 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
16466 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
16467 echo $ECHO_N "(cached) $ECHO_C" >&6
16469 ac_check_lib_save_LIBS
=$LIBS
16471 if test x
$gcc_no_link = xyes
; then
16472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16474 { (exit 1); exit 1; }; }
16476 cat >conftest.
$ac_ext <<_ACEOF
16479 cat confdefs.h
>>conftest.
$ac_ext
16480 cat >>conftest.
$ac_ext <<_ACEOF
16481 /* end confdefs.h. */
16483 /* Override any gcc2 internal prototype to avoid an error. */
16487 /* We use char because int might match the return type of a gcc2
16488 builtin and then its argument prototype would still apply. */
16489 char nextafterf ();
16498 rm -f conftest.
$ac_objext conftest
$ac_exeext
16499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16500 (eval $ac_link) 2>conftest.er1
16502 grep -v '^ *+' conftest.er1
>conftest.err
16504 cat conftest.err
>&5
16505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16506 (exit $ac_status); } &&
16507 { ac_try
='test -z "$ac_c_werror_flag"
16508 || test ! -s conftest.err'
16509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16510 (eval $ac_try) 2>&5
16512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513 (exit $ac_status); }; } &&
16514 { ac_try
='test -s conftest$ac_exeext'
16515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16516 (eval $ac_try) 2>&5
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 (exit $ac_status); }; }; then
16520 ac_cv_lib_m_nextafterf
=yes
16522 echo "$as_me: failed program was:" >&5
16523 sed 's/^/| /' conftest.
$ac_ext >&5
16525 ac_cv_lib_m_nextafterf
=no
16527 rm -f conftest.err conftest.
$ac_objext \
16528 conftest
$ac_exeext conftest.
$ac_ext
16529 LIBS
=$ac_check_lib_save_LIBS
16531 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
16532 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
16533 if test $ac_cv_lib_m_nextafterf = yes; then
16535 cat >>confdefs.h
<<\_ACEOF
16536 #define HAVE_NEXTAFTERF 1
16541 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
16542 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
16543 if test "${ac_cv_lib_m_nextafter+set}" = set; then
16544 echo $ECHO_N "(cached) $ECHO_C" >&6
16546 ac_check_lib_save_LIBS
=$LIBS
16548 if test x
$gcc_no_link = xyes
; then
16549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16551 { (exit 1); exit 1; }; }
16553 cat >conftest.
$ac_ext <<_ACEOF
16556 cat confdefs.h
>>conftest.
$ac_ext
16557 cat >>conftest.
$ac_ext <<_ACEOF
16558 /* end confdefs.h. */
16560 /* Override any gcc2 internal prototype to avoid an error. */
16564 /* We use char because int might match the return type of a gcc2
16565 builtin and then its argument prototype would still apply. */
16575 rm -f conftest.
$ac_objext conftest
$ac_exeext
16576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16577 (eval $ac_link) 2>conftest.er1
16579 grep -v '^ *+' conftest.er1
>conftest.err
16581 cat conftest.err
>&5
16582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16583 (exit $ac_status); } &&
16584 { ac_try
='test -z "$ac_c_werror_flag"
16585 || test ! -s conftest.err'
16586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16587 (eval $ac_try) 2>&5
16589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16590 (exit $ac_status); }; } &&
16591 { ac_try
='test -s conftest$ac_exeext'
16592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16593 (eval $ac_try) 2>&5
16595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16596 (exit $ac_status); }; }; then
16597 ac_cv_lib_m_nextafter
=yes
16599 echo "$as_me: failed program was:" >&5
16600 sed 's/^/| /' conftest.
$ac_ext >&5
16602 ac_cv_lib_m_nextafter
=no
16604 rm -f conftest.err conftest.
$ac_objext \
16605 conftest
$ac_exeext conftest.
$ac_ext
16606 LIBS
=$ac_check_lib_save_LIBS
16608 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
16609 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
16610 if test $ac_cv_lib_m_nextafter = yes; then
16612 cat >>confdefs.h
<<\_ACEOF
16613 #define HAVE_NEXTAFTER 1
16618 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
16619 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
16620 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
16621 echo $ECHO_N "(cached) $ECHO_C" >&6
16623 ac_check_lib_save_LIBS
=$LIBS
16625 if test x
$gcc_no_link = xyes
; then
16626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16628 { (exit 1); exit 1; }; }
16630 cat >conftest.
$ac_ext <<_ACEOF
16633 cat confdefs.h
>>conftest.
$ac_ext
16634 cat >>conftest.
$ac_ext <<_ACEOF
16635 /* end confdefs.h. */
16637 /* Override any gcc2 internal prototype to avoid an error. */
16641 /* We use char because int might match the return type of a gcc2
16642 builtin and then its argument prototype would still apply. */
16643 char nextafterl ();
16652 rm -f conftest.
$ac_objext conftest
$ac_exeext
16653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16654 (eval $ac_link) 2>conftest.er1
16656 grep -v '^ *+' conftest.er1
>conftest.err
16658 cat conftest.err
>&5
16659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 (exit $ac_status); } &&
16661 { ac_try
='test -z "$ac_c_werror_flag"
16662 || test ! -s conftest.err'
16663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16664 (eval $ac_try) 2>&5
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); }; } &&
16668 { ac_try
='test -s conftest$ac_exeext'
16669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16670 (eval $ac_try) 2>&5
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); }; }; then
16674 ac_cv_lib_m_nextafterl
=yes
16676 echo "$as_me: failed program was:" >&5
16677 sed 's/^/| /' conftest.
$ac_ext >&5
16679 ac_cv_lib_m_nextafterl
=no
16681 rm -f conftest.err conftest.
$ac_objext \
16682 conftest
$ac_exeext conftest.
$ac_ext
16683 LIBS
=$ac_check_lib_save_LIBS
16685 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
16686 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
16687 if test $ac_cv_lib_m_nextafterl = yes; then
16689 cat >>confdefs.h
<<\_ACEOF
16690 #define HAVE_NEXTAFTERL 1
16695 echo "$as_me:$LINENO: checking for powf in -lm" >&5
16696 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
16697 if test "${ac_cv_lib_m_powf+set}" = set; then
16698 echo $ECHO_N "(cached) $ECHO_C" >&6
16700 ac_check_lib_save_LIBS
=$LIBS
16702 if test x
$gcc_no_link = xyes
; then
16703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16705 { (exit 1); exit 1; }; }
16707 cat >conftest.
$ac_ext <<_ACEOF
16710 cat confdefs.h
>>conftest.
$ac_ext
16711 cat >>conftest.
$ac_ext <<_ACEOF
16712 /* end confdefs.h. */
16714 /* Override any gcc2 internal prototype to avoid an error. */
16718 /* We use char because int might match the return type of a gcc2
16719 builtin and then its argument prototype would still apply. */
16729 rm -f conftest.
$ac_objext conftest
$ac_exeext
16730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16731 (eval $ac_link) 2>conftest.er1
16733 grep -v '^ *+' conftest.er1
>conftest.err
16735 cat conftest.err
>&5
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); } &&
16738 { ac_try
='test -z "$ac_c_werror_flag"
16739 || test ! -s conftest.err'
16740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16741 (eval $ac_try) 2>&5
16743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16744 (exit $ac_status); }; } &&
16745 { ac_try
='test -s conftest$ac_exeext'
16746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16747 (eval $ac_try) 2>&5
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); }; }; then
16751 ac_cv_lib_m_powf
=yes
16753 echo "$as_me: failed program was:" >&5
16754 sed 's/^/| /' conftest.
$ac_ext >&5
16756 ac_cv_lib_m_powf
=no
16758 rm -f conftest.err conftest.
$ac_objext \
16759 conftest
$ac_exeext conftest.
$ac_ext
16760 LIBS
=$ac_check_lib_save_LIBS
16762 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
16763 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
16764 if test $ac_cv_lib_m_powf = yes; then
16766 cat >>confdefs.h
<<\_ACEOF
16767 #define HAVE_POWF 1
16772 echo "$as_me:$LINENO: checking for pow in -lm" >&5
16773 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
16774 if test "${ac_cv_lib_m_pow+set}" = set; then
16775 echo $ECHO_N "(cached) $ECHO_C" >&6
16777 ac_check_lib_save_LIBS
=$LIBS
16779 if test x
$gcc_no_link = xyes
; then
16780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16782 { (exit 1); exit 1; }; }
16784 cat >conftest.
$ac_ext <<_ACEOF
16787 cat confdefs.h
>>conftest.
$ac_ext
16788 cat >>conftest.
$ac_ext <<_ACEOF
16789 /* end confdefs.h. */
16791 /* Override any gcc2 internal prototype to avoid an error. */
16795 /* We use char because int might match the return type of a gcc2
16796 builtin and then its argument prototype would still apply. */
16806 rm -f conftest.
$ac_objext conftest
$ac_exeext
16807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16808 (eval $ac_link) 2>conftest.er1
16810 grep -v '^ *+' conftest.er1
>conftest.err
16812 cat conftest.err
>&5
16813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814 (exit $ac_status); } &&
16815 { ac_try
='test -z "$ac_c_werror_flag"
16816 || test ! -s conftest.err'
16817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16818 (eval $ac_try) 2>&5
16820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16821 (exit $ac_status); }; } &&
16822 { ac_try
='test -s conftest$ac_exeext'
16823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16824 (eval $ac_try) 2>&5
16826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16827 (exit $ac_status); }; }; then
16828 ac_cv_lib_m_pow
=yes
16830 echo "$as_me: failed program was:" >&5
16831 sed 's/^/| /' conftest.
$ac_ext >&5
16835 rm -f conftest.err conftest.
$ac_objext \
16836 conftest
$ac_exeext conftest.
$ac_ext
16837 LIBS
=$ac_check_lib_save_LIBS
16839 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
16840 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
16841 if test $ac_cv_lib_m_pow = yes; then
16843 cat >>confdefs.h
<<\_ACEOF
16849 echo "$as_me:$LINENO: checking for powl in -lm" >&5
16850 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
16851 if test "${ac_cv_lib_m_powl+set}" = set; then
16852 echo $ECHO_N "(cached) $ECHO_C" >&6
16854 ac_check_lib_save_LIBS
=$LIBS
16856 if test x
$gcc_no_link = xyes
; then
16857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16859 { (exit 1); exit 1; }; }
16861 cat >conftest.
$ac_ext <<_ACEOF
16864 cat confdefs.h
>>conftest.
$ac_ext
16865 cat >>conftest.
$ac_ext <<_ACEOF
16866 /* end confdefs.h. */
16868 /* Override any gcc2 internal prototype to avoid an error. */
16872 /* We use char because int might match the return type of a gcc2
16873 builtin and then its argument prototype would still apply. */
16883 rm -f conftest.
$ac_objext conftest
$ac_exeext
16884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16885 (eval $ac_link) 2>conftest.er1
16887 grep -v '^ *+' conftest.er1
>conftest.err
16889 cat conftest.err
>&5
16890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16891 (exit $ac_status); } &&
16892 { ac_try
='test -z "$ac_c_werror_flag"
16893 || test ! -s conftest.err'
16894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16895 (eval $ac_try) 2>&5
16897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16898 (exit $ac_status); }; } &&
16899 { ac_try
='test -s conftest$ac_exeext'
16900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16901 (eval $ac_try) 2>&5
16903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16904 (exit $ac_status); }; }; then
16905 ac_cv_lib_m_powl
=yes
16907 echo "$as_me: failed program was:" >&5
16908 sed 's/^/| /' conftest.
$ac_ext >&5
16910 ac_cv_lib_m_powl
=no
16912 rm -f conftest.err conftest.
$ac_objext \
16913 conftest
$ac_exeext conftest.
$ac_ext
16914 LIBS
=$ac_check_lib_save_LIBS
16916 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
16917 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
16918 if test $ac_cv_lib_m_powl = yes; then
16920 cat >>confdefs.h
<<\_ACEOF
16921 #define HAVE_POWL 1
16926 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
16927 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
16928 if test "${ac_cv_lib_m_cpowf+set}" = set; then
16929 echo $ECHO_N "(cached) $ECHO_C" >&6
16931 ac_check_lib_save_LIBS
=$LIBS
16933 if test x
$gcc_no_link = xyes
; then
16934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16936 { (exit 1); exit 1; }; }
16938 cat >conftest.
$ac_ext <<_ACEOF
16941 cat confdefs.h
>>conftest.
$ac_ext
16942 cat >>conftest.
$ac_ext <<_ACEOF
16943 /* end confdefs.h. */
16945 /* Override any gcc2 internal prototype to avoid an error. */
16949 /* We use char because int might match the return type of a gcc2
16950 builtin and then its argument prototype would still apply. */
16960 rm -f conftest.
$ac_objext conftest
$ac_exeext
16961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16962 (eval $ac_link) 2>conftest.er1
16964 grep -v '^ *+' conftest.er1
>conftest.err
16966 cat conftest.err
>&5
16967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16968 (exit $ac_status); } &&
16969 { ac_try
='test -z "$ac_c_werror_flag"
16970 || test ! -s conftest.err'
16971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16972 (eval $ac_try) 2>&5
16974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16975 (exit $ac_status); }; } &&
16976 { ac_try
='test -s conftest$ac_exeext'
16977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16978 (eval $ac_try) 2>&5
16980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981 (exit $ac_status); }; }; then
16982 ac_cv_lib_m_cpowf
=yes
16984 echo "$as_me: failed program was:" >&5
16985 sed 's/^/| /' conftest.
$ac_ext >&5
16987 ac_cv_lib_m_cpowf
=no
16989 rm -f conftest.err conftest.
$ac_objext \
16990 conftest
$ac_exeext conftest.
$ac_ext
16991 LIBS
=$ac_check_lib_save_LIBS
16993 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
16994 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
16995 if test $ac_cv_lib_m_cpowf = yes; then
16997 cat >>confdefs.h
<<\_ACEOF
16998 #define HAVE_CPOWF 1
17003 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
17004 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
17005 if test "${ac_cv_lib_m_cpow+set}" = set; then
17006 echo $ECHO_N "(cached) $ECHO_C" >&6
17008 ac_check_lib_save_LIBS
=$LIBS
17010 if test x
$gcc_no_link = xyes
; then
17011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17013 { (exit 1); exit 1; }; }
17015 cat >conftest.
$ac_ext <<_ACEOF
17018 cat confdefs.h
>>conftest.
$ac_ext
17019 cat >>conftest.
$ac_ext <<_ACEOF
17020 /* end confdefs.h. */
17022 /* Override any gcc2 internal prototype to avoid an error. */
17026 /* We use char because int might match the return type of a gcc2
17027 builtin and then its argument prototype would still apply. */
17037 rm -f conftest.
$ac_objext conftest
$ac_exeext
17038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17039 (eval $ac_link) 2>conftest.er1
17041 grep -v '^ *+' conftest.er1
>conftest.err
17043 cat conftest.err
>&5
17044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17045 (exit $ac_status); } &&
17046 { ac_try
='test -z "$ac_c_werror_flag"
17047 || test ! -s conftest.err'
17048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17049 (eval $ac_try) 2>&5
17051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17052 (exit $ac_status); }; } &&
17053 { ac_try
='test -s conftest$ac_exeext'
17054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17055 (eval $ac_try) 2>&5
17057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17058 (exit $ac_status); }; }; then
17059 ac_cv_lib_m_cpow
=yes
17061 echo "$as_me: failed program was:" >&5
17062 sed 's/^/| /' conftest.
$ac_ext >&5
17064 ac_cv_lib_m_cpow
=no
17066 rm -f conftest.err conftest.
$ac_objext \
17067 conftest
$ac_exeext conftest.
$ac_ext
17068 LIBS
=$ac_check_lib_save_LIBS
17070 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
17071 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
17072 if test $ac_cv_lib_m_cpow = yes; then
17074 cat >>confdefs.h
<<\_ACEOF
17075 #define HAVE_CPOW 1
17080 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
17081 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
17082 if test "${ac_cv_lib_m_cpowl+set}" = set; then
17083 echo $ECHO_N "(cached) $ECHO_C" >&6
17085 ac_check_lib_save_LIBS
=$LIBS
17087 if test x
$gcc_no_link = xyes
; then
17088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17090 { (exit 1); exit 1; }; }
17092 cat >conftest.
$ac_ext <<_ACEOF
17095 cat confdefs.h
>>conftest.
$ac_ext
17096 cat >>conftest.
$ac_ext <<_ACEOF
17097 /* end confdefs.h. */
17099 /* Override any gcc2 internal prototype to avoid an error. */
17103 /* We use char because int might match the return type of a gcc2
17104 builtin and then its argument prototype would still apply. */
17114 rm -f conftest.
$ac_objext conftest
$ac_exeext
17115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17116 (eval $ac_link) 2>conftest.er1
17118 grep -v '^ *+' conftest.er1
>conftest.err
17120 cat conftest.err
>&5
17121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17122 (exit $ac_status); } &&
17123 { ac_try
='test -z "$ac_c_werror_flag"
17124 || test ! -s conftest.err'
17125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17126 (eval $ac_try) 2>&5
17128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17129 (exit $ac_status); }; } &&
17130 { ac_try
='test -s conftest$ac_exeext'
17131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17132 (eval $ac_try) 2>&5
17134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17135 (exit $ac_status); }; }; then
17136 ac_cv_lib_m_cpowl
=yes
17138 echo "$as_me: failed program was:" >&5
17139 sed 's/^/| /' conftest.
$ac_ext >&5
17141 ac_cv_lib_m_cpowl
=no
17143 rm -f conftest.err conftest.
$ac_objext \
17144 conftest
$ac_exeext conftest.
$ac_ext
17145 LIBS
=$ac_check_lib_save_LIBS
17147 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
17148 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
17149 if test $ac_cv_lib_m_cpowl = yes; then
17151 cat >>confdefs.h
<<\_ACEOF
17152 #define HAVE_CPOWL 1
17157 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
17158 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
17159 if test "${ac_cv_lib_m_roundf+set}" = set; then
17160 echo $ECHO_N "(cached) $ECHO_C" >&6
17162 ac_check_lib_save_LIBS
=$LIBS
17164 if test x
$gcc_no_link = xyes
; then
17165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17167 { (exit 1); exit 1; }; }
17169 cat >conftest.
$ac_ext <<_ACEOF
17172 cat confdefs.h
>>conftest.
$ac_ext
17173 cat >>conftest.
$ac_ext <<_ACEOF
17174 /* end confdefs.h. */
17176 /* Override any gcc2 internal prototype to avoid an error. */
17180 /* We use char because int might match the return type of a gcc2
17181 builtin and then its argument prototype would still apply. */
17191 rm -f conftest.
$ac_objext conftest
$ac_exeext
17192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17193 (eval $ac_link) 2>conftest.er1
17195 grep -v '^ *+' conftest.er1
>conftest.err
17197 cat conftest.err
>&5
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); } &&
17200 { ac_try
='test -z "$ac_c_werror_flag"
17201 || test ! -s conftest.err'
17202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17203 (eval $ac_try) 2>&5
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); }; } &&
17207 { ac_try
='test -s conftest$ac_exeext'
17208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17209 (eval $ac_try) 2>&5
17211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17212 (exit $ac_status); }; }; then
17213 ac_cv_lib_m_roundf
=yes
17215 echo "$as_me: failed program was:" >&5
17216 sed 's/^/| /' conftest.
$ac_ext >&5
17218 ac_cv_lib_m_roundf
=no
17220 rm -f conftest.err conftest.
$ac_objext \
17221 conftest
$ac_exeext conftest.
$ac_ext
17222 LIBS
=$ac_check_lib_save_LIBS
17224 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
17225 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
17226 if test $ac_cv_lib_m_roundf = yes; then
17228 cat >>confdefs.h
<<\_ACEOF
17229 #define HAVE_ROUNDF 1
17234 echo "$as_me:$LINENO: checking for round in -lm" >&5
17235 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
17236 if test "${ac_cv_lib_m_round+set}" = set; then
17237 echo $ECHO_N "(cached) $ECHO_C" >&6
17239 ac_check_lib_save_LIBS
=$LIBS
17241 if test x
$gcc_no_link = xyes
; then
17242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17244 { (exit 1); exit 1; }; }
17246 cat >conftest.
$ac_ext <<_ACEOF
17249 cat confdefs.h
>>conftest.
$ac_ext
17250 cat >>conftest.
$ac_ext <<_ACEOF
17251 /* end confdefs.h. */
17253 /* Override any gcc2 internal prototype to avoid an error. */
17257 /* We use char because int might match the return type of a gcc2
17258 builtin and then its argument prototype would still apply. */
17268 rm -f conftest.
$ac_objext conftest
$ac_exeext
17269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17270 (eval $ac_link) 2>conftest.er1
17272 grep -v '^ *+' conftest.er1
>conftest.err
17274 cat conftest.err
>&5
17275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17276 (exit $ac_status); } &&
17277 { ac_try
='test -z "$ac_c_werror_flag"
17278 || test ! -s conftest.err'
17279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17280 (eval $ac_try) 2>&5
17282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17283 (exit $ac_status); }; } &&
17284 { ac_try
='test -s conftest$ac_exeext'
17285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17286 (eval $ac_try) 2>&5
17288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17289 (exit $ac_status); }; }; then
17290 ac_cv_lib_m_round
=yes
17292 echo "$as_me: failed program was:" >&5
17293 sed 's/^/| /' conftest.
$ac_ext >&5
17295 ac_cv_lib_m_round
=no
17297 rm -f conftest.err conftest.
$ac_objext \
17298 conftest
$ac_exeext conftest.
$ac_ext
17299 LIBS
=$ac_check_lib_save_LIBS
17301 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
17302 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
17303 if test $ac_cv_lib_m_round = yes; then
17305 cat >>confdefs.h
<<\_ACEOF
17306 #define HAVE_ROUND 1
17311 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
17312 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
17313 if test "${ac_cv_lib_m_roundl+set}" = set; then
17314 echo $ECHO_N "(cached) $ECHO_C" >&6
17316 ac_check_lib_save_LIBS
=$LIBS
17318 if test x
$gcc_no_link = xyes
; then
17319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17321 { (exit 1); exit 1; }; }
17323 cat >conftest.
$ac_ext <<_ACEOF
17326 cat confdefs.h
>>conftest.
$ac_ext
17327 cat >>conftest.
$ac_ext <<_ACEOF
17328 /* end confdefs.h. */
17330 /* Override any gcc2 internal prototype to avoid an error. */
17334 /* We use char because int might match the return type of a gcc2
17335 builtin and then its argument prototype would still apply. */
17345 rm -f conftest.
$ac_objext conftest
$ac_exeext
17346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17347 (eval $ac_link) 2>conftest.er1
17349 grep -v '^ *+' conftest.er1
>conftest.err
17351 cat conftest.err
>&5
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); } &&
17354 { ac_try
='test -z "$ac_c_werror_flag"
17355 || test ! -s conftest.err'
17356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17357 (eval $ac_try) 2>&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); }; } &&
17361 { ac_try
='test -s conftest$ac_exeext'
17362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17363 (eval $ac_try) 2>&5
17365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17366 (exit $ac_status); }; }; then
17367 ac_cv_lib_m_roundl
=yes
17369 echo "$as_me: failed program was:" >&5
17370 sed 's/^/| /' conftest.
$ac_ext >&5
17372 ac_cv_lib_m_roundl
=no
17374 rm -f conftest.err conftest.
$ac_objext \
17375 conftest
$ac_exeext conftest.
$ac_ext
17376 LIBS
=$ac_check_lib_save_LIBS
17378 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
17379 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
17380 if test $ac_cv_lib_m_roundl = yes; then
17382 cat >>confdefs.h
<<\_ACEOF
17383 #define HAVE_ROUNDL 1
17388 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
17389 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
17390 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
17391 echo $ECHO_N "(cached) $ECHO_C" >&6
17393 ac_check_lib_save_LIBS
=$LIBS
17395 if test x
$gcc_no_link = xyes
; then
17396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17398 { (exit 1); exit 1; }; }
17400 cat >conftest.
$ac_ext <<_ACEOF
17403 cat confdefs.h
>>conftest.
$ac_ext
17404 cat >>conftest.
$ac_ext <<_ACEOF
17405 /* end confdefs.h. */
17407 /* Override any gcc2 internal prototype to avoid an error. */
17411 /* We use char because int might match the return type of a gcc2
17412 builtin and then its argument prototype would still apply. */
17422 rm -f conftest.
$ac_objext conftest
$ac_exeext
17423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17424 (eval $ac_link) 2>conftest.er1
17426 grep -v '^ *+' conftest.er1
>conftest.err
17428 cat conftest.err
>&5
17429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17430 (exit $ac_status); } &&
17431 { ac_try
='test -z "$ac_c_werror_flag"
17432 || test ! -s conftest.err'
17433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17434 (eval $ac_try) 2>&5
17436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17437 (exit $ac_status); }; } &&
17438 { ac_try
='test -s conftest$ac_exeext'
17439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17440 (eval $ac_try) 2>&5
17442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17443 (exit $ac_status); }; }; then
17444 ac_cv_lib_m_scalbnf
=yes
17446 echo "$as_me: failed program was:" >&5
17447 sed 's/^/| /' conftest.
$ac_ext >&5
17449 ac_cv_lib_m_scalbnf
=no
17451 rm -f conftest.err conftest.
$ac_objext \
17452 conftest
$ac_exeext conftest.
$ac_ext
17453 LIBS
=$ac_check_lib_save_LIBS
17455 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
17456 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
17457 if test $ac_cv_lib_m_scalbnf = yes; then
17459 cat >>confdefs.h
<<\_ACEOF
17460 #define HAVE_SCALBNF 1
17465 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
17466 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
17467 if test "${ac_cv_lib_m_scalbn+set}" = set; then
17468 echo $ECHO_N "(cached) $ECHO_C" >&6
17470 ac_check_lib_save_LIBS
=$LIBS
17472 if test x
$gcc_no_link = xyes
; then
17473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17475 { (exit 1); exit 1; }; }
17477 cat >conftest.
$ac_ext <<_ACEOF
17480 cat confdefs.h
>>conftest.
$ac_ext
17481 cat >>conftest.
$ac_ext <<_ACEOF
17482 /* end confdefs.h. */
17484 /* Override any gcc2 internal prototype to avoid an error. */
17488 /* We use char because int might match the return type of a gcc2
17489 builtin and then its argument prototype would still apply. */
17499 rm -f conftest.
$ac_objext conftest
$ac_exeext
17500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17501 (eval $ac_link) 2>conftest.er1
17503 grep -v '^ *+' conftest.er1
>conftest.err
17505 cat conftest.err
>&5
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); } &&
17508 { ac_try
='test -z "$ac_c_werror_flag"
17509 || test ! -s conftest.err'
17510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17511 (eval $ac_try) 2>&5
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); }; } &&
17515 { ac_try
='test -s conftest$ac_exeext'
17516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17517 (eval $ac_try) 2>&5
17519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17520 (exit $ac_status); }; }; then
17521 ac_cv_lib_m_scalbn
=yes
17523 echo "$as_me: failed program was:" >&5
17524 sed 's/^/| /' conftest.
$ac_ext >&5
17526 ac_cv_lib_m_scalbn
=no
17528 rm -f conftest.err conftest.
$ac_objext \
17529 conftest
$ac_exeext conftest.
$ac_ext
17530 LIBS
=$ac_check_lib_save_LIBS
17532 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
17533 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
17534 if test $ac_cv_lib_m_scalbn = yes; then
17536 cat >>confdefs.h
<<\_ACEOF
17537 #define HAVE_SCALBN 1
17542 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
17543 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
17544 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
17545 echo $ECHO_N "(cached) $ECHO_C" >&6
17547 ac_check_lib_save_LIBS
=$LIBS
17549 if test x
$gcc_no_link = xyes
; then
17550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17552 { (exit 1); exit 1; }; }
17554 cat >conftest.
$ac_ext <<_ACEOF
17557 cat confdefs.h
>>conftest.
$ac_ext
17558 cat >>conftest.
$ac_ext <<_ACEOF
17559 /* end confdefs.h. */
17561 /* Override any gcc2 internal prototype to avoid an error. */
17565 /* We use char because int might match the return type of a gcc2
17566 builtin and then its argument prototype would still apply. */
17576 rm -f conftest.
$ac_objext conftest
$ac_exeext
17577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17578 (eval $ac_link) 2>conftest.er1
17580 grep -v '^ *+' conftest.er1
>conftest.err
17582 cat conftest.err
>&5
17583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17584 (exit $ac_status); } &&
17585 { ac_try
='test -z "$ac_c_werror_flag"
17586 || test ! -s conftest.err'
17587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17588 (eval $ac_try) 2>&5
17590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17591 (exit $ac_status); }; } &&
17592 { ac_try
='test -s conftest$ac_exeext'
17593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17594 (eval $ac_try) 2>&5
17596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17597 (exit $ac_status); }; }; then
17598 ac_cv_lib_m_scalbnl
=yes
17600 echo "$as_me: failed program was:" >&5
17601 sed 's/^/| /' conftest.
$ac_ext >&5
17603 ac_cv_lib_m_scalbnl
=no
17605 rm -f conftest.err conftest.
$ac_objext \
17606 conftest
$ac_exeext conftest.
$ac_ext
17607 LIBS
=$ac_check_lib_save_LIBS
17609 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
17610 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
17611 if test $ac_cv_lib_m_scalbnl = yes; then
17613 cat >>confdefs.h
<<\_ACEOF
17614 #define HAVE_SCALBNL 1
17619 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
17620 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
17621 if test "${ac_cv_lib_m_sinf+set}" = set; then
17622 echo $ECHO_N "(cached) $ECHO_C" >&6
17624 ac_check_lib_save_LIBS
=$LIBS
17626 if test x
$gcc_no_link = xyes
; then
17627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17629 { (exit 1); exit 1; }; }
17631 cat >conftest.
$ac_ext <<_ACEOF
17634 cat confdefs.h
>>conftest.
$ac_ext
17635 cat >>conftest.
$ac_ext <<_ACEOF
17636 /* end confdefs.h. */
17638 /* Override any gcc2 internal prototype to avoid an error. */
17642 /* We use char because int might match the return type of a gcc2
17643 builtin and then its argument prototype would still apply. */
17653 rm -f conftest.
$ac_objext conftest
$ac_exeext
17654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17655 (eval $ac_link) 2>conftest.er1
17657 grep -v '^ *+' conftest.er1
>conftest.err
17659 cat conftest.err
>&5
17660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17661 (exit $ac_status); } &&
17662 { ac_try
='test -z "$ac_c_werror_flag"
17663 || test ! -s conftest.err'
17664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17665 (eval $ac_try) 2>&5
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); }; } &&
17669 { ac_try
='test -s conftest$ac_exeext'
17670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17671 (eval $ac_try) 2>&5
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); }; }; then
17675 ac_cv_lib_m_sinf
=yes
17677 echo "$as_me: failed program was:" >&5
17678 sed 's/^/| /' conftest.
$ac_ext >&5
17680 ac_cv_lib_m_sinf
=no
17682 rm -f conftest.err conftest.
$ac_objext \
17683 conftest
$ac_exeext conftest.
$ac_ext
17684 LIBS
=$ac_check_lib_save_LIBS
17686 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
17687 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
17688 if test $ac_cv_lib_m_sinf = yes; then
17690 cat >>confdefs.h
<<\_ACEOF
17691 #define HAVE_SINF 1
17696 echo "$as_me:$LINENO: checking for sin in -lm" >&5
17697 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
17698 if test "${ac_cv_lib_m_sin+set}" = set; then
17699 echo $ECHO_N "(cached) $ECHO_C" >&6
17701 ac_check_lib_save_LIBS
=$LIBS
17703 if test x
$gcc_no_link = xyes
; then
17704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17706 { (exit 1); exit 1; }; }
17708 cat >conftest.
$ac_ext <<_ACEOF
17711 cat confdefs.h
>>conftest.
$ac_ext
17712 cat >>conftest.
$ac_ext <<_ACEOF
17713 /* end confdefs.h. */
17715 /* Override any gcc2 internal prototype to avoid an error. */
17719 /* We use char because int might match the return type of a gcc2
17720 builtin and then its argument prototype would still apply. */
17730 rm -f conftest.
$ac_objext conftest
$ac_exeext
17731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17732 (eval $ac_link) 2>conftest.er1
17734 grep -v '^ *+' conftest.er1
>conftest.err
17736 cat conftest.err
>&5
17737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17738 (exit $ac_status); } &&
17739 { ac_try
='test -z "$ac_c_werror_flag"
17740 || test ! -s conftest.err'
17741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17742 (eval $ac_try) 2>&5
17744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17745 (exit $ac_status); }; } &&
17746 { ac_try
='test -s conftest$ac_exeext'
17747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17748 (eval $ac_try) 2>&5
17750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751 (exit $ac_status); }; }; then
17752 ac_cv_lib_m_sin
=yes
17754 echo "$as_me: failed program was:" >&5
17755 sed 's/^/| /' conftest.
$ac_ext >&5
17759 rm -f conftest.err conftest.
$ac_objext \
17760 conftest
$ac_exeext conftest.
$ac_ext
17761 LIBS
=$ac_check_lib_save_LIBS
17763 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
17764 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
17765 if test $ac_cv_lib_m_sin = yes; then
17767 cat >>confdefs.h
<<\_ACEOF
17773 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
17774 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
17775 if test "${ac_cv_lib_m_sinl+set}" = set; then
17776 echo $ECHO_N "(cached) $ECHO_C" >&6
17778 ac_check_lib_save_LIBS
=$LIBS
17780 if test x
$gcc_no_link = xyes
; then
17781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17783 { (exit 1); exit 1; }; }
17785 cat >conftest.
$ac_ext <<_ACEOF
17788 cat confdefs.h
>>conftest.
$ac_ext
17789 cat >>conftest.
$ac_ext <<_ACEOF
17790 /* end confdefs.h. */
17792 /* Override any gcc2 internal prototype to avoid an error. */
17796 /* We use char because int might match the return type of a gcc2
17797 builtin and then its argument prototype would still apply. */
17807 rm -f conftest.
$ac_objext conftest
$ac_exeext
17808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17809 (eval $ac_link) 2>conftest.er1
17811 grep -v '^ *+' conftest.er1
>conftest.err
17813 cat conftest.err
>&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); } &&
17816 { ac_try
='test -z "$ac_c_werror_flag"
17817 || test ! -s conftest.err'
17818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17819 (eval $ac_try) 2>&5
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); }; } &&
17823 { ac_try
='test -s conftest$ac_exeext'
17824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17825 (eval $ac_try) 2>&5
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); }; }; then
17829 ac_cv_lib_m_sinl
=yes
17831 echo "$as_me: failed program was:" >&5
17832 sed 's/^/| /' conftest.
$ac_ext >&5
17834 ac_cv_lib_m_sinl
=no
17836 rm -f conftest.err conftest.
$ac_objext \
17837 conftest
$ac_exeext conftest.
$ac_ext
17838 LIBS
=$ac_check_lib_save_LIBS
17840 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
17841 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
17842 if test $ac_cv_lib_m_sinl = yes; then
17844 cat >>confdefs.h
<<\_ACEOF
17845 #define HAVE_SINL 1
17850 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
17851 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
17852 if test "${ac_cv_lib_m_csinf+set}" = set; then
17853 echo $ECHO_N "(cached) $ECHO_C" >&6
17855 ac_check_lib_save_LIBS
=$LIBS
17857 if test x
$gcc_no_link = xyes
; then
17858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17860 { (exit 1); exit 1; }; }
17862 cat >conftest.
$ac_ext <<_ACEOF
17865 cat confdefs.h
>>conftest.
$ac_ext
17866 cat >>conftest.
$ac_ext <<_ACEOF
17867 /* end confdefs.h. */
17869 /* Override any gcc2 internal prototype to avoid an error. */
17873 /* We use char because int might match the return type of a gcc2
17874 builtin and then its argument prototype would still apply. */
17884 rm -f conftest.
$ac_objext conftest
$ac_exeext
17885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17886 (eval $ac_link) 2>conftest.er1
17888 grep -v '^ *+' conftest.er1
>conftest.err
17890 cat conftest.err
>&5
17891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17892 (exit $ac_status); } &&
17893 { ac_try
='test -z "$ac_c_werror_flag"
17894 || test ! -s conftest.err'
17895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17896 (eval $ac_try) 2>&5
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); }; } &&
17900 { ac_try
='test -s conftest$ac_exeext'
17901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17902 (eval $ac_try) 2>&5
17904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905 (exit $ac_status); }; }; then
17906 ac_cv_lib_m_csinf
=yes
17908 echo "$as_me: failed program was:" >&5
17909 sed 's/^/| /' conftest.
$ac_ext >&5
17911 ac_cv_lib_m_csinf
=no
17913 rm -f conftest.err conftest.
$ac_objext \
17914 conftest
$ac_exeext conftest.
$ac_ext
17915 LIBS
=$ac_check_lib_save_LIBS
17917 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
17918 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
17919 if test $ac_cv_lib_m_csinf = yes; then
17921 cat >>confdefs.h
<<\_ACEOF
17922 #define HAVE_CSINF 1
17927 echo "$as_me:$LINENO: checking for csin in -lm" >&5
17928 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
17929 if test "${ac_cv_lib_m_csin+set}" = set; then
17930 echo $ECHO_N "(cached) $ECHO_C" >&6
17932 ac_check_lib_save_LIBS
=$LIBS
17934 if test x
$gcc_no_link = xyes
; then
17935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17937 { (exit 1); exit 1; }; }
17939 cat >conftest.
$ac_ext <<_ACEOF
17942 cat confdefs.h
>>conftest.
$ac_ext
17943 cat >>conftest.
$ac_ext <<_ACEOF
17944 /* end confdefs.h. */
17946 /* Override any gcc2 internal prototype to avoid an error. */
17950 /* We use char because int might match the return type of a gcc2
17951 builtin and then its argument prototype would still apply. */
17961 rm -f conftest.
$ac_objext conftest
$ac_exeext
17962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17963 (eval $ac_link) 2>conftest.er1
17965 grep -v '^ *+' conftest.er1
>conftest.err
17967 cat conftest.err
>&5
17968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17969 (exit $ac_status); } &&
17970 { ac_try
='test -z "$ac_c_werror_flag"
17971 || test ! -s conftest.err'
17972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17973 (eval $ac_try) 2>&5
17975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17976 (exit $ac_status); }; } &&
17977 { ac_try
='test -s conftest$ac_exeext'
17978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17979 (eval $ac_try) 2>&5
17981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17982 (exit $ac_status); }; }; then
17983 ac_cv_lib_m_csin
=yes
17985 echo "$as_me: failed program was:" >&5
17986 sed 's/^/| /' conftest.
$ac_ext >&5
17988 ac_cv_lib_m_csin
=no
17990 rm -f conftest.err conftest.
$ac_objext \
17991 conftest
$ac_exeext conftest.
$ac_ext
17992 LIBS
=$ac_check_lib_save_LIBS
17994 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
17995 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
17996 if test $ac_cv_lib_m_csin = yes; then
17998 cat >>confdefs.h
<<\_ACEOF
17999 #define HAVE_CSIN 1
18004 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
18005 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
18006 if test "${ac_cv_lib_m_csinl+set}" = set; then
18007 echo $ECHO_N "(cached) $ECHO_C" >&6
18009 ac_check_lib_save_LIBS
=$LIBS
18011 if test x
$gcc_no_link = xyes
; then
18012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18014 { (exit 1); exit 1; }; }
18016 cat >conftest.
$ac_ext <<_ACEOF
18019 cat confdefs.h
>>conftest.
$ac_ext
18020 cat >>conftest.
$ac_ext <<_ACEOF
18021 /* end confdefs.h. */
18023 /* Override any gcc2 internal prototype to avoid an error. */
18027 /* We use char because int might match the return type of a gcc2
18028 builtin and then its argument prototype would still apply. */
18038 rm -f conftest.
$ac_objext conftest
$ac_exeext
18039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18040 (eval $ac_link) 2>conftest.er1
18042 grep -v '^ *+' conftest.er1
>conftest.err
18044 cat conftest.err
>&5
18045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18046 (exit $ac_status); } &&
18047 { ac_try
='test -z "$ac_c_werror_flag"
18048 || test ! -s conftest.err'
18049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18050 (eval $ac_try) 2>&5
18052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18053 (exit $ac_status); }; } &&
18054 { ac_try
='test -s conftest$ac_exeext'
18055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18056 (eval $ac_try) 2>&5
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); }; }; then
18060 ac_cv_lib_m_csinl
=yes
18062 echo "$as_me: failed program was:" >&5
18063 sed 's/^/| /' conftest.
$ac_ext >&5
18065 ac_cv_lib_m_csinl
=no
18067 rm -f conftest.err conftest.
$ac_objext \
18068 conftest
$ac_exeext conftest.
$ac_ext
18069 LIBS
=$ac_check_lib_save_LIBS
18071 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
18072 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
18073 if test $ac_cv_lib_m_csinl = yes; then
18075 cat >>confdefs.h
<<\_ACEOF
18076 #define HAVE_CSINL 1
18081 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
18082 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
18083 if test "${ac_cv_lib_m_sinhf+set}" = set; then
18084 echo $ECHO_N "(cached) $ECHO_C" >&6
18086 ac_check_lib_save_LIBS
=$LIBS
18088 if test x
$gcc_no_link = xyes
; then
18089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18091 { (exit 1); exit 1; }; }
18093 cat >conftest.
$ac_ext <<_ACEOF
18096 cat confdefs.h
>>conftest.
$ac_ext
18097 cat >>conftest.
$ac_ext <<_ACEOF
18098 /* end confdefs.h. */
18100 /* Override any gcc2 internal prototype to avoid an error. */
18104 /* We use char because int might match the return type of a gcc2
18105 builtin and then its argument prototype would still apply. */
18115 rm -f conftest.
$ac_objext conftest
$ac_exeext
18116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18117 (eval $ac_link) 2>conftest.er1
18119 grep -v '^ *+' conftest.er1
>conftest.err
18121 cat conftest.err
>&5
18122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18123 (exit $ac_status); } &&
18124 { ac_try
='test -z "$ac_c_werror_flag"
18125 || test ! -s conftest.err'
18126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18127 (eval $ac_try) 2>&5
18129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18130 (exit $ac_status); }; } &&
18131 { ac_try
='test -s conftest$ac_exeext'
18132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18133 (eval $ac_try) 2>&5
18135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18136 (exit $ac_status); }; }; then
18137 ac_cv_lib_m_sinhf
=yes
18139 echo "$as_me: failed program was:" >&5
18140 sed 's/^/| /' conftest.
$ac_ext >&5
18142 ac_cv_lib_m_sinhf
=no
18144 rm -f conftest.err conftest.
$ac_objext \
18145 conftest
$ac_exeext conftest.
$ac_ext
18146 LIBS
=$ac_check_lib_save_LIBS
18148 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
18149 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
18150 if test $ac_cv_lib_m_sinhf = yes; then
18152 cat >>confdefs.h
<<\_ACEOF
18153 #define HAVE_SINHF 1
18158 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
18159 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
18160 if test "${ac_cv_lib_m_sinh+set}" = set; then
18161 echo $ECHO_N "(cached) $ECHO_C" >&6
18163 ac_check_lib_save_LIBS
=$LIBS
18165 if test x
$gcc_no_link = xyes
; then
18166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18168 { (exit 1); exit 1; }; }
18170 cat >conftest.
$ac_ext <<_ACEOF
18173 cat confdefs.h
>>conftest.
$ac_ext
18174 cat >>conftest.
$ac_ext <<_ACEOF
18175 /* end confdefs.h. */
18177 /* Override any gcc2 internal prototype to avoid an error. */
18181 /* We use char because int might match the return type of a gcc2
18182 builtin and then its argument prototype would still apply. */
18192 rm -f conftest.
$ac_objext conftest
$ac_exeext
18193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18194 (eval $ac_link) 2>conftest.er1
18196 grep -v '^ *+' conftest.er1
>conftest.err
18198 cat conftest.err
>&5
18199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18200 (exit $ac_status); } &&
18201 { ac_try
='test -z "$ac_c_werror_flag"
18202 || test ! -s conftest.err'
18203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18204 (eval $ac_try) 2>&5
18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207 (exit $ac_status); }; } &&
18208 { ac_try
='test -s conftest$ac_exeext'
18209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18210 (eval $ac_try) 2>&5
18212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213 (exit $ac_status); }; }; then
18214 ac_cv_lib_m_sinh
=yes
18216 echo "$as_me: failed program was:" >&5
18217 sed 's/^/| /' conftest.
$ac_ext >&5
18219 ac_cv_lib_m_sinh
=no
18221 rm -f conftest.err conftest.
$ac_objext \
18222 conftest
$ac_exeext conftest.
$ac_ext
18223 LIBS
=$ac_check_lib_save_LIBS
18225 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
18226 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
18227 if test $ac_cv_lib_m_sinh = yes; then
18229 cat >>confdefs.h
<<\_ACEOF
18230 #define HAVE_SINH 1
18235 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
18236 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
18237 if test "${ac_cv_lib_m_sinhl+set}" = set; then
18238 echo $ECHO_N "(cached) $ECHO_C" >&6
18240 ac_check_lib_save_LIBS
=$LIBS
18242 if test x
$gcc_no_link = xyes
; then
18243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18245 { (exit 1); exit 1; }; }
18247 cat >conftest.
$ac_ext <<_ACEOF
18250 cat confdefs.h
>>conftest.
$ac_ext
18251 cat >>conftest.
$ac_ext <<_ACEOF
18252 /* end confdefs.h. */
18254 /* Override any gcc2 internal prototype to avoid an error. */
18258 /* We use char because int might match the return type of a gcc2
18259 builtin and then its argument prototype would still apply. */
18269 rm -f conftest.
$ac_objext conftest
$ac_exeext
18270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18271 (eval $ac_link) 2>conftest.er1
18273 grep -v '^ *+' conftest.er1
>conftest.err
18275 cat conftest.err
>&5
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); } &&
18278 { ac_try
='test -z "$ac_c_werror_flag"
18279 || test ! -s conftest.err'
18280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18281 (eval $ac_try) 2>&5
18283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18284 (exit $ac_status); }; } &&
18285 { ac_try
='test -s conftest$ac_exeext'
18286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18287 (eval $ac_try) 2>&5
18289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18290 (exit $ac_status); }; }; then
18291 ac_cv_lib_m_sinhl
=yes
18293 echo "$as_me: failed program was:" >&5
18294 sed 's/^/| /' conftest.
$ac_ext >&5
18296 ac_cv_lib_m_sinhl
=no
18298 rm -f conftest.err conftest.
$ac_objext \
18299 conftest
$ac_exeext conftest.
$ac_ext
18300 LIBS
=$ac_check_lib_save_LIBS
18302 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
18303 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
18304 if test $ac_cv_lib_m_sinhl = yes; then
18306 cat >>confdefs.h
<<\_ACEOF
18307 #define HAVE_SINHL 1
18312 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
18313 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
18314 if test "${ac_cv_lib_m_csinhf+set}" = set; then
18315 echo $ECHO_N "(cached) $ECHO_C" >&6
18317 ac_check_lib_save_LIBS
=$LIBS
18319 if test x
$gcc_no_link = xyes
; then
18320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18322 { (exit 1); exit 1; }; }
18324 cat >conftest.
$ac_ext <<_ACEOF
18327 cat confdefs.h
>>conftest.
$ac_ext
18328 cat >>conftest.
$ac_ext <<_ACEOF
18329 /* end confdefs.h. */
18331 /* Override any gcc2 internal prototype to avoid an error. */
18335 /* We use char because int might match the return type of a gcc2
18336 builtin and then its argument prototype would still apply. */
18346 rm -f conftest.
$ac_objext conftest
$ac_exeext
18347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18348 (eval $ac_link) 2>conftest.er1
18350 grep -v '^ *+' conftest.er1
>conftest.err
18352 cat conftest.err
>&5
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); } &&
18355 { ac_try
='test -z "$ac_c_werror_flag"
18356 || test ! -s conftest.err'
18357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18358 (eval $ac_try) 2>&5
18360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18361 (exit $ac_status); }; } &&
18362 { ac_try
='test -s conftest$ac_exeext'
18363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18364 (eval $ac_try) 2>&5
18366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18367 (exit $ac_status); }; }; then
18368 ac_cv_lib_m_csinhf
=yes
18370 echo "$as_me: failed program was:" >&5
18371 sed 's/^/| /' conftest.
$ac_ext >&5
18373 ac_cv_lib_m_csinhf
=no
18375 rm -f conftest.err conftest.
$ac_objext \
18376 conftest
$ac_exeext conftest.
$ac_ext
18377 LIBS
=$ac_check_lib_save_LIBS
18379 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
18380 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
18381 if test $ac_cv_lib_m_csinhf = yes; then
18383 cat >>confdefs.h
<<\_ACEOF
18384 #define HAVE_CSINHF 1
18389 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
18390 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
18391 if test "${ac_cv_lib_m_csinh+set}" = set; then
18392 echo $ECHO_N "(cached) $ECHO_C" >&6
18394 ac_check_lib_save_LIBS
=$LIBS
18396 if test x
$gcc_no_link = xyes
; then
18397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18399 { (exit 1); exit 1; }; }
18401 cat >conftest.
$ac_ext <<_ACEOF
18404 cat confdefs.h
>>conftest.
$ac_ext
18405 cat >>conftest.
$ac_ext <<_ACEOF
18406 /* end confdefs.h. */
18408 /* Override any gcc2 internal prototype to avoid an error. */
18412 /* We use char because int might match the return type of a gcc2
18413 builtin and then its argument prototype would still apply. */
18423 rm -f conftest.
$ac_objext conftest
$ac_exeext
18424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18425 (eval $ac_link) 2>conftest.er1
18427 grep -v '^ *+' conftest.er1
>conftest.err
18429 cat conftest.err
>&5
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); } &&
18432 { ac_try
='test -z "$ac_c_werror_flag"
18433 || test ! -s conftest.err'
18434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18435 (eval $ac_try) 2>&5
18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438 (exit $ac_status); }; } &&
18439 { ac_try
='test -s conftest$ac_exeext'
18440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18441 (eval $ac_try) 2>&5
18443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444 (exit $ac_status); }; }; then
18445 ac_cv_lib_m_csinh
=yes
18447 echo "$as_me: failed program was:" >&5
18448 sed 's/^/| /' conftest.
$ac_ext >&5
18450 ac_cv_lib_m_csinh
=no
18452 rm -f conftest.err conftest.
$ac_objext \
18453 conftest
$ac_exeext conftest.
$ac_ext
18454 LIBS
=$ac_check_lib_save_LIBS
18456 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
18457 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
18458 if test $ac_cv_lib_m_csinh = yes; then
18460 cat >>confdefs.h
<<\_ACEOF
18461 #define HAVE_CSINH 1
18466 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
18467 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
18468 if test "${ac_cv_lib_m_csinhl+set}" = set; then
18469 echo $ECHO_N "(cached) $ECHO_C" >&6
18471 ac_check_lib_save_LIBS
=$LIBS
18473 if test x
$gcc_no_link = xyes
; then
18474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18476 { (exit 1); exit 1; }; }
18478 cat >conftest.
$ac_ext <<_ACEOF
18481 cat confdefs.h
>>conftest.
$ac_ext
18482 cat >>conftest.
$ac_ext <<_ACEOF
18483 /* end confdefs.h. */
18485 /* Override any gcc2 internal prototype to avoid an error. */
18489 /* We use char because int might match the return type of a gcc2
18490 builtin and then its argument prototype would still apply. */
18500 rm -f conftest.
$ac_objext conftest
$ac_exeext
18501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18502 (eval $ac_link) 2>conftest.er1
18504 grep -v '^ *+' conftest.er1
>conftest.err
18506 cat conftest.err
>&5
18507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508 (exit $ac_status); } &&
18509 { ac_try
='test -z "$ac_c_werror_flag"
18510 || test ! -s conftest.err'
18511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18512 (eval $ac_try) 2>&5
18514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18515 (exit $ac_status); }; } &&
18516 { ac_try
='test -s conftest$ac_exeext'
18517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18518 (eval $ac_try) 2>&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); }; }; then
18522 ac_cv_lib_m_csinhl
=yes
18524 echo "$as_me: failed program was:" >&5
18525 sed 's/^/| /' conftest.
$ac_ext >&5
18527 ac_cv_lib_m_csinhl
=no
18529 rm -f conftest.err conftest.
$ac_objext \
18530 conftest
$ac_exeext conftest.
$ac_ext
18531 LIBS
=$ac_check_lib_save_LIBS
18533 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
18534 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
18535 if test $ac_cv_lib_m_csinhl = yes; then
18537 cat >>confdefs.h
<<\_ACEOF
18538 #define HAVE_CSINHL 1
18543 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
18544 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
18545 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
18546 echo $ECHO_N "(cached) $ECHO_C" >&6
18548 ac_check_lib_save_LIBS
=$LIBS
18550 if test x
$gcc_no_link = xyes
; then
18551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18553 { (exit 1); exit 1; }; }
18555 cat >conftest.
$ac_ext <<_ACEOF
18558 cat confdefs.h
>>conftest.
$ac_ext
18559 cat >>conftest.
$ac_ext <<_ACEOF
18560 /* end confdefs.h. */
18562 /* Override any gcc2 internal prototype to avoid an error. */
18566 /* We use char because int might match the return type of a gcc2
18567 builtin and then its argument prototype would still apply. */
18577 rm -f conftest.
$ac_objext conftest
$ac_exeext
18578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18579 (eval $ac_link) 2>conftest.er1
18581 grep -v '^ *+' conftest.er1
>conftest.err
18583 cat conftest.err
>&5
18584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18585 (exit $ac_status); } &&
18586 { ac_try
='test -z "$ac_c_werror_flag"
18587 || test ! -s conftest.err'
18588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18589 (eval $ac_try) 2>&5
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); }; } &&
18593 { ac_try
='test -s conftest$ac_exeext'
18594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18595 (eval $ac_try) 2>&5
18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); }; }; then
18599 ac_cv_lib_m_sqrtf
=yes
18601 echo "$as_me: failed program was:" >&5
18602 sed 's/^/| /' conftest.
$ac_ext >&5
18604 ac_cv_lib_m_sqrtf
=no
18606 rm -f conftest.err conftest.
$ac_objext \
18607 conftest
$ac_exeext conftest.
$ac_ext
18608 LIBS
=$ac_check_lib_save_LIBS
18610 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
18611 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
18612 if test $ac_cv_lib_m_sqrtf = yes; then
18614 cat >>confdefs.h
<<\_ACEOF
18615 #define HAVE_SQRTF 1
18620 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
18621 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
18622 if test "${ac_cv_lib_m_sqrt+set}" = set; then
18623 echo $ECHO_N "(cached) $ECHO_C" >&6
18625 ac_check_lib_save_LIBS
=$LIBS
18627 if test x
$gcc_no_link = xyes
; then
18628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18630 { (exit 1); exit 1; }; }
18632 cat >conftest.
$ac_ext <<_ACEOF
18635 cat confdefs.h
>>conftest.
$ac_ext
18636 cat >>conftest.
$ac_ext <<_ACEOF
18637 /* end confdefs.h. */
18639 /* Override any gcc2 internal prototype to avoid an error. */
18643 /* We use char because int might match the return type of a gcc2
18644 builtin and then its argument prototype would still apply. */
18654 rm -f conftest.
$ac_objext conftest
$ac_exeext
18655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18656 (eval $ac_link) 2>conftest.er1
18658 grep -v '^ *+' conftest.er1
>conftest.err
18660 cat conftest.err
>&5
18661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18662 (exit $ac_status); } &&
18663 { ac_try
='test -z "$ac_c_werror_flag"
18664 || test ! -s conftest.err'
18665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18666 (eval $ac_try) 2>&5
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); }; } &&
18670 { ac_try
='test -s conftest$ac_exeext'
18671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18672 (eval $ac_try) 2>&5
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); }; }; then
18676 ac_cv_lib_m_sqrt
=yes
18678 echo "$as_me: failed program was:" >&5
18679 sed 's/^/| /' conftest.
$ac_ext >&5
18681 ac_cv_lib_m_sqrt
=no
18683 rm -f conftest.err conftest.
$ac_objext \
18684 conftest
$ac_exeext conftest.
$ac_ext
18685 LIBS
=$ac_check_lib_save_LIBS
18687 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
18688 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
18689 if test $ac_cv_lib_m_sqrt = yes; then
18691 cat >>confdefs.h
<<\_ACEOF
18692 #define HAVE_SQRT 1
18697 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
18698 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
18699 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
18700 echo $ECHO_N "(cached) $ECHO_C" >&6
18702 ac_check_lib_save_LIBS
=$LIBS
18704 if test x
$gcc_no_link = xyes
; then
18705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18707 { (exit 1); exit 1; }; }
18709 cat >conftest.
$ac_ext <<_ACEOF
18712 cat confdefs.h
>>conftest.
$ac_ext
18713 cat >>conftest.
$ac_ext <<_ACEOF
18714 /* end confdefs.h. */
18716 /* Override any gcc2 internal prototype to avoid an error. */
18720 /* We use char because int might match the return type of a gcc2
18721 builtin and then its argument prototype would still apply. */
18731 rm -f conftest.
$ac_objext conftest
$ac_exeext
18732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18733 (eval $ac_link) 2>conftest.er1
18735 grep -v '^ *+' conftest.er1
>conftest.err
18737 cat conftest.err
>&5
18738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18739 (exit $ac_status); } &&
18740 { ac_try
='test -z "$ac_c_werror_flag"
18741 || test ! -s conftest.err'
18742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18743 (eval $ac_try) 2>&5
18745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18746 (exit $ac_status); }; } &&
18747 { ac_try
='test -s conftest$ac_exeext'
18748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18749 (eval $ac_try) 2>&5
18751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18752 (exit $ac_status); }; }; then
18753 ac_cv_lib_m_sqrtl
=yes
18755 echo "$as_me: failed program was:" >&5
18756 sed 's/^/| /' conftest.
$ac_ext >&5
18758 ac_cv_lib_m_sqrtl
=no
18760 rm -f conftest.err conftest.
$ac_objext \
18761 conftest
$ac_exeext conftest.
$ac_ext
18762 LIBS
=$ac_check_lib_save_LIBS
18764 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
18765 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
18766 if test $ac_cv_lib_m_sqrtl = yes; then
18768 cat >>confdefs.h
<<\_ACEOF
18769 #define HAVE_SQRTL 1
18774 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
18775 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
18776 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
18777 echo $ECHO_N "(cached) $ECHO_C" >&6
18779 ac_check_lib_save_LIBS
=$LIBS
18781 if test x
$gcc_no_link = xyes
; then
18782 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18784 { (exit 1); exit 1; }; }
18786 cat >conftest.
$ac_ext <<_ACEOF
18789 cat confdefs.h
>>conftest.
$ac_ext
18790 cat >>conftest.
$ac_ext <<_ACEOF
18791 /* end confdefs.h. */
18793 /* Override any gcc2 internal prototype to avoid an error. */
18797 /* We use char because int might match the return type of a gcc2
18798 builtin and then its argument prototype would still apply. */
18808 rm -f conftest.
$ac_objext conftest
$ac_exeext
18809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18810 (eval $ac_link) 2>conftest.er1
18812 grep -v '^ *+' conftest.er1
>conftest.err
18814 cat conftest.err
>&5
18815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18816 (exit $ac_status); } &&
18817 { ac_try
='test -z "$ac_c_werror_flag"
18818 || test ! -s conftest.err'
18819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18820 (eval $ac_try) 2>&5
18822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18823 (exit $ac_status); }; } &&
18824 { ac_try
='test -s conftest$ac_exeext'
18825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18826 (eval $ac_try) 2>&5
18828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18829 (exit $ac_status); }; }; then
18830 ac_cv_lib_m_csqrtf
=yes
18832 echo "$as_me: failed program was:" >&5
18833 sed 's/^/| /' conftest.
$ac_ext >&5
18835 ac_cv_lib_m_csqrtf
=no
18837 rm -f conftest.err conftest.
$ac_objext \
18838 conftest
$ac_exeext conftest.
$ac_ext
18839 LIBS
=$ac_check_lib_save_LIBS
18841 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
18842 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
18843 if test $ac_cv_lib_m_csqrtf = yes; then
18845 cat >>confdefs.h
<<\_ACEOF
18846 #define HAVE_CSQRTF 1
18851 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
18852 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
18853 if test "${ac_cv_lib_m_csqrt+set}" = set; then
18854 echo $ECHO_N "(cached) $ECHO_C" >&6
18856 ac_check_lib_save_LIBS
=$LIBS
18858 if test x
$gcc_no_link = xyes
; then
18859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18861 { (exit 1); exit 1; }; }
18863 cat >conftest.
$ac_ext <<_ACEOF
18866 cat confdefs.h
>>conftest.
$ac_ext
18867 cat >>conftest.
$ac_ext <<_ACEOF
18868 /* end confdefs.h. */
18870 /* Override any gcc2 internal prototype to avoid an error. */
18874 /* We use char because int might match the return type of a gcc2
18875 builtin and then its argument prototype would still apply. */
18885 rm -f conftest.
$ac_objext conftest
$ac_exeext
18886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18887 (eval $ac_link) 2>conftest.er1
18889 grep -v '^ *+' conftest.er1
>conftest.err
18891 cat conftest.err
>&5
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); } &&
18894 { ac_try
='test -z "$ac_c_werror_flag"
18895 || test ! -s conftest.err'
18896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18897 (eval $ac_try) 2>&5
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); }; } &&
18901 { ac_try
='test -s conftest$ac_exeext'
18902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18903 (eval $ac_try) 2>&5
18905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18906 (exit $ac_status); }; }; then
18907 ac_cv_lib_m_csqrt
=yes
18909 echo "$as_me: failed program was:" >&5
18910 sed 's/^/| /' conftest.
$ac_ext >&5
18912 ac_cv_lib_m_csqrt
=no
18914 rm -f conftest.err conftest.
$ac_objext \
18915 conftest
$ac_exeext conftest.
$ac_ext
18916 LIBS
=$ac_check_lib_save_LIBS
18918 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
18919 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
18920 if test $ac_cv_lib_m_csqrt = yes; then
18922 cat >>confdefs.h
<<\_ACEOF
18923 #define HAVE_CSQRT 1
18928 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
18929 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
18930 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
18931 echo $ECHO_N "(cached) $ECHO_C" >&6
18933 ac_check_lib_save_LIBS
=$LIBS
18935 if test x
$gcc_no_link = xyes
; then
18936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18938 { (exit 1); exit 1; }; }
18940 cat >conftest.
$ac_ext <<_ACEOF
18943 cat confdefs.h
>>conftest.
$ac_ext
18944 cat >>conftest.
$ac_ext <<_ACEOF
18945 /* end confdefs.h. */
18947 /* Override any gcc2 internal prototype to avoid an error. */
18951 /* We use char because int might match the return type of a gcc2
18952 builtin and then its argument prototype would still apply. */
18962 rm -f conftest.
$ac_objext conftest
$ac_exeext
18963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18964 (eval $ac_link) 2>conftest.er1
18966 grep -v '^ *+' conftest.er1
>conftest.err
18968 cat conftest.err
>&5
18969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18970 (exit $ac_status); } &&
18971 { ac_try
='test -z "$ac_c_werror_flag"
18972 || test ! -s conftest.err'
18973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18974 (eval $ac_try) 2>&5
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); }; } &&
18978 { ac_try
='test -s conftest$ac_exeext'
18979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18980 (eval $ac_try) 2>&5
18982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18983 (exit $ac_status); }; }; then
18984 ac_cv_lib_m_csqrtl
=yes
18986 echo "$as_me: failed program was:" >&5
18987 sed 's/^/| /' conftest.
$ac_ext >&5
18989 ac_cv_lib_m_csqrtl
=no
18991 rm -f conftest.err conftest.
$ac_objext \
18992 conftest
$ac_exeext conftest.
$ac_ext
18993 LIBS
=$ac_check_lib_save_LIBS
18995 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
18996 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
18997 if test $ac_cv_lib_m_csqrtl = yes; then
18999 cat >>confdefs.h
<<\_ACEOF
19000 #define HAVE_CSQRTL 1
19005 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
19006 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
19007 if test "${ac_cv_lib_m_tanf+set}" = set; then
19008 echo $ECHO_N "(cached) $ECHO_C" >&6
19010 ac_check_lib_save_LIBS
=$LIBS
19012 if test x
$gcc_no_link = xyes
; then
19013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19015 { (exit 1); exit 1; }; }
19017 cat >conftest.
$ac_ext <<_ACEOF
19020 cat confdefs.h
>>conftest.
$ac_ext
19021 cat >>conftest.
$ac_ext <<_ACEOF
19022 /* end confdefs.h. */
19024 /* Override any gcc2 internal prototype to avoid an error. */
19028 /* We use char because int might match the return type of a gcc2
19029 builtin and then its argument prototype would still apply. */
19039 rm -f conftest.
$ac_objext conftest
$ac_exeext
19040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19041 (eval $ac_link) 2>conftest.er1
19043 grep -v '^ *+' conftest.er1
>conftest.err
19045 cat conftest.err
>&5
19046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19047 (exit $ac_status); } &&
19048 { ac_try
='test -z "$ac_c_werror_flag"
19049 || test ! -s conftest.err'
19050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19051 (eval $ac_try) 2>&5
19053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19054 (exit $ac_status); }; } &&
19055 { ac_try
='test -s conftest$ac_exeext'
19056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19057 (eval $ac_try) 2>&5
19059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19060 (exit $ac_status); }; }; then
19061 ac_cv_lib_m_tanf
=yes
19063 echo "$as_me: failed program was:" >&5
19064 sed 's/^/| /' conftest.
$ac_ext >&5
19066 ac_cv_lib_m_tanf
=no
19068 rm -f conftest.err conftest.
$ac_objext \
19069 conftest
$ac_exeext conftest.
$ac_ext
19070 LIBS
=$ac_check_lib_save_LIBS
19072 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
19073 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
19074 if test $ac_cv_lib_m_tanf = yes; then
19076 cat >>confdefs.h
<<\_ACEOF
19077 #define HAVE_TANF 1
19082 echo "$as_me:$LINENO: checking for tan in -lm" >&5
19083 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
19084 if test "${ac_cv_lib_m_tan+set}" = set; then
19085 echo $ECHO_N "(cached) $ECHO_C" >&6
19087 ac_check_lib_save_LIBS
=$LIBS
19089 if test x
$gcc_no_link = xyes
; then
19090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19092 { (exit 1); exit 1; }; }
19094 cat >conftest.
$ac_ext <<_ACEOF
19097 cat confdefs.h
>>conftest.
$ac_ext
19098 cat >>conftest.
$ac_ext <<_ACEOF
19099 /* end confdefs.h. */
19101 /* Override any gcc2 internal prototype to avoid an error. */
19105 /* We use char because int might match the return type of a gcc2
19106 builtin and then its argument prototype would still apply. */
19116 rm -f conftest.
$ac_objext conftest
$ac_exeext
19117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19118 (eval $ac_link) 2>conftest.er1
19120 grep -v '^ *+' conftest.er1
>conftest.err
19122 cat conftest.err
>&5
19123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19124 (exit $ac_status); } &&
19125 { ac_try
='test -z "$ac_c_werror_flag"
19126 || test ! -s conftest.err'
19127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19128 (eval $ac_try) 2>&5
19130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19131 (exit $ac_status); }; } &&
19132 { ac_try
='test -s conftest$ac_exeext'
19133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19134 (eval $ac_try) 2>&5
19136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19137 (exit $ac_status); }; }; then
19138 ac_cv_lib_m_tan
=yes
19140 echo "$as_me: failed program was:" >&5
19141 sed 's/^/| /' conftest.
$ac_ext >&5
19145 rm -f conftest.err conftest.
$ac_objext \
19146 conftest
$ac_exeext conftest.
$ac_ext
19147 LIBS
=$ac_check_lib_save_LIBS
19149 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
19150 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
19151 if test $ac_cv_lib_m_tan = yes; then
19153 cat >>confdefs.h
<<\_ACEOF
19159 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
19160 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
19161 if test "${ac_cv_lib_m_tanl+set}" = set; then
19162 echo $ECHO_N "(cached) $ECHO_C" >&6
19164 ac_check_lib_save_LIBS
=$LIBS
19166 if test x
$gcc_no_link = xyes
; then
19167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19169 { (exit 1); exit 1; }; }
19171 cat >conftest.
$ac_ext <<_ACEOF
19174 cat confdefs.h
>>conftest.
$ac_ext
19175 cat >>conftest.
$ac_ext <<_ACEOF
19176 /* end confdefs.h. */
19178 /* Override any gcc2 internal prototype to avoid an error. */
19182 /* We use char because int might match the return type of a gcc2
19183 builtin and then its argument prototype would still apply. */
19193 rm -f conftest.
$ac_objext conftest
$ac_exeext
19194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19195 (eval $ac_link) 2>conftest.er1
19197 grep -v '^ *+' conftest.er1
>conftest.err
19199 cat conftest.err
>&5
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); } &&
19202 { ac_try
='test -z "$ac_c_werror_flag"
19203 || test ! -s conftest.err'
19204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19205 (eval $ac_try) 2>&5
19207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19208 (exit $ac_status); }; } &&
19209 { ac_try
='test -s conftest$ac_exeext'
19210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19211 (eval $ac_try) 2>&5
19213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); }; }; then
19215 ac_cv_lib_m_tanl
=yes
19217 echo "$as_me: failed program was:" >&5
19218 sed 's/^/| /' conftest.
$ac_ext >&5
19220 ac_cv_lib_m_tanl
=no
19222 rm -f conftest.err conftest.
$ac_objext \
19223 conftest
$ac_exeext conftest.
$ac_ext
19224 LIBS
=$ac_check_lib_save_LIBS
19226 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
19227 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
19228 if test $ac_cv_lib_m_tanl = yes; then
19230 cat >>confdefs.h
<<\_ACEOF
19231 #define HAVE_TANL 1
19236 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
19237 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
19238 if test "${ac_cv_lib_m_ctanf+set}" = set; then
19239 echo $ECHO_N "(cached) $ECHO_C" >&6
19241 ac_check_lib_save_LIBS
=$LIBS
19243 if test x
$gcc_no_link = xyes
; then
19244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19246 { (exit 1); exit 1; }; }
19248 cat >conftest.
$ac_ext <<_ACEOF
19251 cat confdefs.h
>>conftest.
$ac_ext
19252 cat >>conftest.
$ac_ext <<_ACEOF
19253 /* end confdefs.h. */
19255 /* Override any gcc2 internal prototype to avoid an error. */
19259 /* We use char because int might match the return type of a gcc2
19260 builtin and then its argument prototype would still apply. */
19270 rm -f conftest.
$ac_objext conftest
$ac_exeext
19271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19272 (eval $ac_link) 2>conftest.er1
19274 grep -v '^ *+' conftest.er1
>conftest.err
19276 cat conftest.err
>&5
19277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278 (exit $ac_status); } &&
19279 { ac_try
='test -z "$ac_c_werror_flag"
19280 || test ! -s conftest.err'
19281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19282 (eval $ac_try) 2>&5
19284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285 (exit $ac_status); }; } &&
19286 { ac_try
='test -s conftest$ac_exeext'
19287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19288 (eval $ac_try) 2>&5
19290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291 (exit $ac_status); }; }; then
19292 ac_cv_lib_m_ctanf
=yes
19294 echo "$as_me: failed program was:" >&5
19295 sed 's/^/| /' conftest.
$ac_ext >&5
19297 ac_cv_lib_m_ctanf
=no
19299 rm -f conftest.err conftest.
$ac_objext \
19300 conftest
$ac_exeext conftest.
$ac_ext
19301 LIBS
=$ac_check_lib_save_LIBS
19303 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
19304 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
19305 if test $ac_cv_lib_m_ctanf = yes; then
19307 cat >>confdefs.h
<<\_ACEOF
19308 #define HAVE_CTANF 1
19313 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
19314 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
19315 if test "${ac_cv_lib_m_ctan+set}" = set; then
19316 echo $ECHO_N "(cached) $ECHO_C" >&6
19318 ac_check_lib_save_LIBS
=$LIBS
19320 if test x
$gcc_no_link = xyes
; then
19321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19323 { (exit 1); exit 1; }; }
19325 cat >conftest.
$ac_ext <<_ACEOF
19328 cat confdefs.h
>>conftest.
$ac_ext
19329 cat >>conftest.
$ac_ext <<_ACEOF
19330 /* end confdefs.h. */
19332 /* Override any gcc2 internal prototype to avoid an error. */
19336 /* We use char because int might match the return type of a gcc2
19337 builtin and then its argument prototype would still apply. */
19347 rm -f conftest.
$ac_objext conftest
$ac_exeext
19348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19349 (eval $ac_link) 2>conftest.er1
19351 grep -v '^ *+' conftest.er1
>conftest.err
19353 cat conftest.err
>&5
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); } &&
19356 { ac_try
='test -z "$ac_c_werror_flag"
19357 || test ! -s conftest.err'
19358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19359 (eval $ac_try) 2>&5
19361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19362 (exit $ac_status); }; } &&
19363 { ac_try
='test -s conftest$ac_exeext'
19364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19365 (eval $ac_try) 2>&5
19367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19368 (exit $ac_status); }; }; then
19369 ac_cv_lib_m_ctan
=yes
19371 echo "$as_me: failed program was:" >&5
19372 sed 's/^/| /' conftest.
$ac_ext >&5
19374 ac_cv_lib_m_ctan
=no
19376 rm -f conftest.err conftest.
$ac_objext \
19377 conftest
$ac_exeext conftest.
$ac_ext
19378 LIBS
=$ac_check_lib_save_LIBS
19380 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
19381 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
19382 if test $ac_cv_lib_m_ctan = yes; then
19384 cat >>confdefs.h
<<\_ACEOF
19385 #define HAVE_CTAN 1
19390 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
19391 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
19392 if test "${ac_cv_lib_m_ctanl+set}" = set; then
19393 echo $ECHO_N "(cached) $ECHO_C" >&6
19395 ac_check_lib_save_LIBS
=$LIBS
19397 if test x
$gcc_no_link = xyes
; then
19398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19400 { (exit 1); exit 1; }; }
19402 cat >conftest.
$ac_ext <<_ACEOF
19405 cat confdefs.h
>>conftest.
$ac_ext
19406 cat >>conftest.
$ac_ext <<_ACEOF
19407 /* end confdefs.h. */
19409 /* Override any gcc2 internal prototype to avoid an error. */
19413 /* We use char because int might match the return type of a gcc2
19414 builtin and then its argument prototype would still apply. */
19424 rm -f conftest.
$ac_objext conftest
$ac_exeext
19425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19426 (eval $ac_link) 2>conftest.er1
19428 grep -v '^ *+' conftest.er1
>conftest.err
19430 cat conftest.err
>&5
19431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19432 (exit $ac_status); } &&
19433 { ac_try
='test -z "$ac_c_werror_flag"
19434 || test ! -s conftest.err'
19435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19436 (eval $ac_try) 2>&5
19438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19439 (exit $ac_status); }; } &&
19440 { ac_try
='test -s conftest$ac_exeext'
19441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19442 (eval $ac_try) 2>&5
19444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19445 (exit $ac_status); }; }; then
19446 ac_cv_lib_m_ctanl
=yes
19448 echo "$as_me: failed program was:" >&5
19449 sed 's/^/| /' conftest.
$ac_ext >&5
19451 ac_cv_lib_m_ctanl
=no
19453 rm -f conftest.err conftest.
$ac_objext \
19454 conftest
$ac_exeext conftest.
$ac_ext
19455 LIBS
=$ac_check_lib_save_LIBS
19457 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
19458 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
19459 if test $ac_cv_lib_m_ctanl = yes; then
19461 cat >>confdefs.h
<<\_ACEOF
19462 #define HAVE_CTANL 1
19467 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
19468 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
19469 if test "${ac_cv_lib_m_tanhf+set}" = set; then
19470 echo $ECHO_N "(cached) $ECHO_C" >&6
19472 ac_check_lib_save_LIBS
=$LIBS
19474 if test x
$gcc_no_link = xyes
; then
19475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19477 { (exit 1); exit 1; }; }
19479 cat >conftest.
$ac_ext <<_ACEOF
19482 cat confdefs.h
>>conftest.
$ac_ext
19483 cat >>conftest.
$ac_ext <<_ACEOF
19484 /* end confdefs.h. */
19486 /* Override any gcc2 internal prototype to avoid an error. */
19490 /* We use char because int might match the return type of a gcc2
19491 builtin and then its argument prototype would still apply. */
19501 rm -f conftest.
$ac_objext conftest
$ac_exeext
19502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19503 (eval $ac_link) 2>conftest.er1
19505 grep -v '^ *+' conftest.er1
>conftest.err
19507 cat conftest.err
>&5
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); } &&
19510 { ac_try
='test -z "$ac_c_werror_flag"
19511 || test ! -s conftest.err'
19512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19513 (eval $ac_try) 2>&5
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); }; } &&
19517 { ac_try
='test -s conftest$ac_exeext'
19518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19519 (eval $ac_try) 2>&5
19521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19522 (exit $ac_status); }; }; then
19523 ac_cv_lib_m_tanhf
=yes
19525 echo "$as_me: failed program was:" >&5
19526 sed 's/^/| /' conftest.
$ac_ext >&5
19528 ac_cv_lib_m_tanhf
=no
19530 rm -f conftest.err conftest.
$ac_objext \
19531 conftest
$ac_exeext conftest.
$ac_ext
19532 LIBS
=$ac_check_lib_save_LIBS
19534 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
19535 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
19536 if test $ac_cv_lib_m_tanhf = yes; then
19538 cat >>confdefs.h
<<\_ACEOF
19539 #define HAVE_TANHF 1
19544 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
19545 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
19546 if test "${ac_cv_lib_m_tanh+set}" = set; then
19547 echo $ECHO_N "(cached) $ECHO_C" >&6
19549 ac_check_lib_save_LIBS
=$LIBS
19551 if test x
$gcc_no_link = xyes
; then
19552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19554 { (exit 1); exit 1; }; }
19556 cat >conftest.
$ac_ext <<_ACEOF
19559 cat confdefs.h
>>conftest.
$ac_ext
19560 cat >>conftest.
$ac_ext <<_ACEOF
19561 /* end confdefs.h. */
19563 /* Override any gcc2 internal prototype to avoid an error. */
19567 /* We use char because int might match the return type of a gcc2
19568 builtin and then its argument prototype would still apply. */
19578 rm -f conftest.
$ac_objext conftest
$ac_exeext
19579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19580 (eval $ac_link) 2>conftest.er1
19582 grep -v '^ *+' conftest.er1
>conftest.err
19584 cat conftest.err
>&5
19585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586 (exit $ac_status); } &&
19587 { ac_try
='test -z "$ac_c_werror_flag"
19588 || test ! -s conftest.err'
19589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19590 (eval $ac_try) 2>&5
19592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593 (exit $ac_status); }; } &&
19594 { ac_try
='test -s conftest$ac_exeext'
19595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19596 (eval $ac_try) 2>&5
19598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599 (exit $ac_status); }; }; then
19600 ac_cv_lib_m_tanh
=yes
19602 echo "$as_me: failed program was:" >&5
19603 sed 's/^/| /' conftest.
$ac_ext >&5
19605 ac_cv_lib_m_tanh
=no
19607 rm -f conftest.err conftest.
$ac_objext \
19608 conftest
$ac_exeext conftest.
$ac_ext
19609 LIBS
=$ac_check_lib_save_LIBS
19611 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
19612 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
19613 if test $ac_cv_lib_m_tanh = yes; then
19615 cat >>confdefs.h
<<\_ACEOF
19616 #define HAVE_TANH 1
19621 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
19622 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
19623 if test "${ac_cv_lib_m_tanhl+set}" = set; then
19624 echo $ECHO_N "(cached) $ECHO_C" >&6
19626 ac_check_lib_save_LIBS
=$LIBS
19628 if test x
$gcc_no_link = xyes
; then
19629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19631 { (exit 1); exit 1; }; }
19633 cat >conftest.
$ac_ext <<_ACEOF
19636 cat confdefs.h
>>conftest.
$ac_ext
19637 cat >>conftest.
$ac_ext <<_ACEOF
19638 /* end confdefs.h. */
19640 /* Override any gcc2 internal prototype to avoid an error. */
19644 /* We use char because int might match the return type of a gcc2
19645 builtin and then its argument prototype would still apply. */
19655 rm -f conftest.
$ac_objext conftest
$ac_exeext
19656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19657 (eval $ac_link) 2>conftest.er1
19659 grep -v '^ *+' conftest.er1
>conftest.err
19661 cat conftest.err
>&5
19662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19663 (exit $ac_status); } &&
19664 { ac_try
='test -z "$ac_c_werror_flag"
19665 || test ! -s conftest.err'
19666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19667 (eval $ac_try) 2>&5
19669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670 (exit $ac_status); }; } &&
19671 { ac_try
='test -s conftest$ac_exeext'
19672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19673 (eval $ac_try) 2>&5
19675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19676 (exit $ac_status); }; }; then
19677 ac_cv_lib_m_tanhl
=yes
19679 echo "$as_me: failed program was:" >&5
19680 sed 's/^/| /' conftest.
$ac_ext >&5
19682 ac_cv_lib_m_tanhl
=no
19684 rm -f conftest.err conftest.
$ac_objext \
19685 conftest
$ac_exeext conftest.
$ac_ext
19686 LIBS
=$ac_check_lib_save_LIBS
19688 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
19689 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
19690 if test $ac_cv_lib_m_tanhl = yes; then
19692 cat >>confdefs.h
<<\_ACEOF
19693 #define HAVE_TANHL 1
19698 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
19699 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
19700 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
19701 echo $ECHO_N "(cached) $ECHO_C" >&6
19703 ac_check_lib_save_LIBS
=$LIBS
19705 if test x
$gcc_no_link = xyes
; then
19706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19708 { (exit 1); exit 1; }; }
19710 cat >conftest.
$ac_ext <<_ACEOF
19713 cat confdefs.h
>>conftest.
$ac_ext
19714 cat >>conftest.
$ac_ext <<_ACEOF
19715 /* end confdefs.h. */
19717 /* Override any gcc2 internal prototype to avoid an error. */
19721 /* We use char because int might match the return type of a gcc2
19722 builtin and then its argument prototype would still apply. */
19732 rm -f conftest.
$ac_objext conftest
$ac_exeext
19733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19734 (eval $ac_link) 2>conftest.er1
19736 grep -v '^ *+' conftest.er1
>conftest.err
19738 cat conftest.err
>&5
19739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19740 (exit $ac_status); } &&
19741 { ac_try
='test -z "$ac_c_werror_flag"
19742 || test ! -s conftest.err'
19743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19744 (eval $ac_try) 2>&5
19746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19747 (exit $ac_status); }; } &&
19748 { ac_try
='test -s conftest$ac_exeext'
19749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19750 (eval $ac_try) 2>&5
19752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19753 (exit $ac_status); }; }; then
19754 ac_cv_lib_m_ctanhf
=yes
19756 echo "$as_me: failed program was:" >&5
19757 sed 's/^/| /' conftest.
$ac_ext >&5
19759 ac_cv_lib_m_ctanhf
=no
19761 rm -f conftest.err conftest.
$ac_objext \
19762 conftest
$ac_exeext conftest.
$ac_ext
19763 LIBS
=$ac_check_lib_save_LIBS
19765 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
19766 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
19767 if test $ac_cv_lib_m_ctanhf = yes; then
19769 cat >>confdefs.h
<<\_ACEOF
19770 #define HAVE_CTANHF 1
19775 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
19776 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
19777 if test "${ac_cv_lib_m_ctanh+set}" = set; then
19778 echo $ECHO_N "(cached) $ECHO_C" >&6
19780 ac_check_lib_save_LIBS
=$LIBS
19782 if test x
$gcc_no_link = xyes
; then
19783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19785 { (exit 1); exit 1; }; }
19787 cat >conftest.
$ac_ext <<_ACEOF
19790 cat confdefs.h
>>conftest.
$ac_ext
19791 cat >>conftest.
$ac_ext <<_ACEOF
19792 /* end confdefs.h. */
19794 /* Override any gcc2 internal prototype to avoid an error. */
19798 /* We use char because int might match the return type of a gcc2
19799 builtin and then its argument prototype would still apply. */
19809 rm -f conftest.
$ac_objext conftest
$ac_exeext
19810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19811 (eval $ac_link) 2>conftest.er1
19813 grep -v '^ *+' conftest.er1
>conftest.err
19815 cat conftest.err
>&5
19816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19817 (exit $ac_status); } &&
19818 { ac_try
='test -z "$ac_c_werror_flag"
19819 || test ! -s conftest.err'
19820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19821 (eval $ac_try) 2>&5
19823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19824 (exit $ac_status); }; } &&
19825 { ac_try
='test -s conftest$ac_exeext'
19826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19827 (eval $ac_try) 2>&5
19829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19830 (exit $ac_status); }; }; then
19831 ac_cv_lib_m_ctanh
=yes
19833 echo "$as_me: failed program was:" >&5
19834 sed 's/^/| /' conftest.
$ac_ext >&5
19836 ac_cv_lib_m_ctanh
=no
19838 rm -f conftest.err conftest.
$ac_objext \
19839 conftest
$ac_exeext conftest.
$ac_ext
19840 LIBS
=$ac_check_lib_save_LIBS
19842 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
19843 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
19844 if test $ac_cv_lib_m_ctanh = yes; then
19846 cat >>confdefs.h
<<\_ACEOF
19847 #define HAVE_CTANH 1
19852 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
19853 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
19854 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
19855 echo $ECHO_N "(cached) $ECHO_C" >&6
19857 ac_check_lib_save_LIBS
=$LIBS
19859 if test x
$gcc_no_link = xyes
; then
19860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19862 { (exit 1); exit 1; }; }
19864 cat >conftest.
$ac_ext <<_ACEOF
19867 cat confdefs.h
>>conftest.
$ac_ext
19868 cat >>conftest.
$ac_ext <<_ACEOF
19869 /* end confdefs.h. */
19871 /* Override any gcc2 internal prototype to avoid an error. */
19875 /* We use char because int might match the return type of a gcc2
19876 builtin and then its argument prototype would still apply. */
19886 rm -f conftest.
$ac_objext conftest
$ac_exeext
19887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19888 (eval $ac_link) 2>conftest.er1
19890 grep -v '^ *+' conftest.er1
>conftest.err
19892 cat conftest.err
>&5
19893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894 (exit $ac_status); } &&
19895 { ac_try
='test -z "$ac_c_werror_flag"
19896 || test ! -s conftest.err'
19897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19898 (eval $ac_try) 2>&5
19900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19901 (exit $ac_status); }; } &&
19902 { ac_try
='test -s conftest$ac_exeext'
19903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19904 (eval $ac_try) 2>&5
19906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 (exit $ac_status); }; }; then
19908 ac_cv_lib_m_ctanhl
=yes
19910 echo "$as_me: failed program was:" >&5
19911 sed 's/^/| /' conftest.
$ac_ext >&5
19913 ac_cv_lib_m_ctanhl
=no
19915 rm -f conftest.err conftest.
$ac_objext \
19916 conftest
$ac_exeext conftest.
$ac_ext
19917 LIBS
=$ac_check_lib_save_LIBS
19919 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
19920 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
19921 if test $ac_cv_lib_m_ctanhl = yes; then
19923 cat >>confdefs.h
<<\_ACEOF
19924 #define HAVE_CTANHL 1
19929 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
19930 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
19931 if test "${ac_cv_lib_m_truncf+set}" = set; then
19932 echo $ECHO_N "(cached) $ECHO_C" >&6
19934 ac_check_lib_save_LIBS
=$LIBS
19936 if test x
$gcc_no_link = xyes
; then
19937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19939 { (exit 1); exit 1; }; }
19941 cat >conftest.
$ac_ext <<_ACEOF
19944 cat confdefs.h
>>conftest.
$ac_ext
19945 cat >>conftest.
$ac_ext <<_ACEOF
19946 /* end confdefs.h. */
19948 /* Override any gcc2 internal prototype to avoid an error. */
19952 /* We use char because int might match the return type of a gcc2
19953 builtin and then its argument prototype would still apply. */
19963 rm -f conftest.
$ac_objext conftest
$ac_exeext
19964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19965 (eval $ac_link) 2>conftest.er1
19967 grep -v '^ *+' conftest.er1
>conftest.err
19969 cat conftest.err
>&5
19970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19971 (exit $ac_status); } &&
19972 { ac_try
='test -z "$ac_c_werror_flag"
19973 || test ! -s conftest.err'
19974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19975 (eval $ac_try) 2>&5
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); }; } &&
19979 { ac_try
='test -s conftest$ac_exeext'
19980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19981 (eval $ac_try) 2>&5
19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 (exit $ac_status); }; }; then
19985 ac_cv_lib_m_truncf
=yes
19987 echo "$as_me: failed program was:" >&5
19988 sed 's/^/| /' conftest.
$ac_ext >&5
19990 ac_cv_lib_m_truncf
=no
19992 rm -f conftest.err conftest.
$ac_objext \
19993 conftest
$ac_exeext conftest.
$ac_ext
19994 LIBS
=$ac_check_lib_save_LIBS
19996 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
19997 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
19998 if test $ac_cv_lib_m_truncf = yes; then
20000 cat >>confdefs.h
<<\_ACEOF
20001 #define HAVE_TRUNCF 1
20006 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
20007 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
20008 if test "${ac_cv_lib_m_trunc+set}" = set; then
20009 echo $ECHO_N "(cached) $ECHO_C" >&6
20011 ac_check_lib_save_LIBS
=$LIBS
20013 if test x
$gcc_no_link = xyes
; then
20014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20016 { (exit 1); exit 1; }; }
20018 cat >conftest.
$ac_ext <<_ACEOF
20021 cat confdefs.h
>>conftest.
$ac_ext
20022 cat >>conftest.
$ac_ext <<_ACEOF
20023 /* end confdefs.h. */
20025 /* Override any gcc2 internal prototype to avoid an error. */
20029 /* We use char because int might match the return type of a gcc2
20030 builtin and then its argument prototype would still apply. */
20040 rm -f conftest.
$ac_objext conftest
$ac_exeext
20041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20042 (eval $ac_link) 2>conftest.er1
20044 grep -v '^ *+' conftest.er1
>conftest.err
20046 cat conftest.err
>&5
20047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048 (exit $ac_status); } &&
20049 { ac_try
='test -z "$ac_c_werror_flag"
20050 || test ! -s conftest.err'
20051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20052 (eval $ac_try) 2>&5
20054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20055 (exit $ac_status); }; } &&
20056 { ac_try
='test -s conftest$ac_exeext'
20057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20058 (eval $ac_try) 2>&5
20060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20061 (exit $ac_status); }; }; then
20062 ac_cv_lib_m_trunc
=yes
20064 echo "$as_me: failed program was:" >&5
20065 sed 's/^/| /' conftest.
$ac_ext >&5
20067 ac_cv_lib_m_trunc
=no
20069 rm -f conftest.err conftest.
$ac_objext \
20070 conftest
$ac_exeext conftest.
$ac_ext
20071 LIBS
=$ac_check_lib_save_LIBS
20073 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
20074 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
20075 if test $ac_cv_lib_m_trunc = yes; then
20077 cat >>confdefs.h
<<\_ACEOF
20078 #define HAVE_TRUNC 1
20083 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
20084 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
20085 if test "${ac_cv_lib_m_truncl+set}" = set; then
20086 echo $ECHO_N "(cached) $ECHO_C" >&6
20088 ac_check_lib_save_LIBS
=$LIBS
20090 if test x
$gcc_no_link = xyes
; then
20091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20093 { (exit 1); exit 1; }; }
20095 cat >conftest.
$ac_ext <<_ACEOF
20098 cat confdefs.h
>>conftest.
$ac_ext
20099 cat >>conftest.
$ac_ext <<_ACEOF
20100 /* end confdefs.h. */
20102 /* Override any gcc2 internal prototype to avoid an error. */
20106 /* We use char because int might match the return type of a gcc2
20107 builtin and then its argument prototype would still apply. */
20117 rm -f conftest.
$ac_objext conftest
$ac_exeext
20118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20119 (eval $ac_link) 2>conftest.er1
20121 grep -v '^ *+' conftest.er1
>conftest.err
20123 cat conftest.err
>&5
20124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20125 (exit $ac_status); } &&
20126 { ac_try
='test -z "$ac_c_werror_flag"
20127 || test ! -s conftest.err'
20128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20129 (eval $ac_try) 2>&5
20131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20132 (exit $ac_status); }; } &&
20133 { ac_try
='test -s conftest$ac_exeext'
20134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20135 (eval $ac_try) 2>&5
20137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20138 (exit $ac_status); }; }; then
20139 ac_cv_lib_m_truncl
=yes
20141 echo "$as_me: failed program was:" >&5
20142 sed 's/^/| /' conftest.
$ac_ext >&5
20144 ac_cv_lib_m_truncl
=no
20146 rm -f conftest.err conftest.
$ac_objext \
20147 conftest
$ac_exeext conftest.
$ac_ext
20148 LIBS
=$ac_check_lib_save_LIBS
20150 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
20151 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
20152 if test $ac_cv_lib_m_truncl = yes; then
20154 cat >>confdefs.h
<<\_ACEOF
20155 #define HAVE_TRUNCL 1
20160 echo "$as_me:$LINENO: checking for erff in -lm" >&5
20161 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
20162 if test "${ac_cv_lib_m_erff+set}" = set; then
20163 echo $ECHO_N "(cached) $ECHO_C" >&6
20165 ac_check_lib_save_LIBS
=$LIBS
20167 if test x
$gcc_no_link = xyes
; then
20168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20170 { (exit 1); exit 1; }; }
20172 cat >conftest.
$ac_ext <<_ACEOF
20175 cat confdefs.h
>>conftest.
$ac_ext
20176 cat >>conftest.
$ac_ext <<_ACEOF
20177 /* end confdefs.h. */
20179 /* Override any gcc2 internal prototype to avoid an error. */
20183 /* We use char because int might match the return type of a gcc2
20184 builtin and then its argument prototype would still apply. */
20194 rm -f conftest.
$ac_objext conftest
$ac_exeext
20195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20196 (eval $ac_link) 2>conftest.er1
20198 grep -v '^ *+' conftest.er1
>conftest.err
20200 cat conftest.err
>&5
20201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20202 (exit $ac_status); } &&
20203 { ac_try
='test -z "$ac_c_werror_flag"
20204 || test ! -s conftest.err'
20205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20206 (eval $ac_try) 2>&5
20208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20209 (exit $ac_status); }; } &&
20210 { ac_try
='test -s conftest$ac_exeext'
20211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20212 (eval $ac_try) 2>&5
20214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20215 (exit $ac_status); }; }; then
20216 ac_cv_lib_m_erff
=yes
20218 echo "$as_me: failed program was:" >&5
20219 sed 's/^/| /' conftest.
$ac_ext >&5
20221 ac_cv_lib_m_erff
=no
20223 rm -f conftest.err conftest.
$ac_objext \
20224 conftest
$ac_exeext conftest.
$ac_ext
20225 LIBS
=$ac_check_lib_save_LIBS
20227 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
20228 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
20229 if test $ac_cv_lib_m_erff = yes; then
20231 cat >>confdefs.h
<<\_ACEOF
20232 #define HAVE_ERFF 1
20237 echo "$as_me:$LINENO: checking for erf in -lm" >&5
20238 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
20239 if test "${ac_cv_lib_m_erf+set}" = set; then
20240 echo $ECHO_N "(cached) $ECHO_C" >&6
20242 ac_check_lib_save_LIBS
=$LIBS
20244 if test x
$gcc_no_link = xyes
; then
20245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20247 { (exit 1); exit 1; }; }
20249 cat >conftest.
$ac_ext <<_ACEOF
20252 cat confdefs.h
>>conftest.
$ac_ext
20253 cat >>conftest.
$ac_ext <<_ACEOF
20254 /* end confdefs.h. */
20256 /* Override any gcc2 internal prototype to avoid an error. */
20260 /* We use char because int might match the return type of a gcc2
20261 builtin and then its argument prototype would still apply. */
20271 rm -f conftest.
$ac_objext conftest
$ac_exeext
20272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20273 (eval $ac_link) 2>conftest.er1
20275 grep -v '^ *+' conftest.er1
>conftest.err
20277 cat conftest.err
>&5
20278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279 (exit $ac_status); } &&
20280 { ac_try
='test -z "$ac_c_werror_flag"
20281 || test ! -s conftest.err'
20282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20283 (eval $ac_try) 2>&5
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); }; } &&
20287 { ac_try
='test -s conftest$ac_exeext'
20288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20289 (eval $ac_try) 2>&5
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); }; }; then
20293 ac_cv_lib_m_erf
=yes
20295 echo "$as_me: failed program was:" >&5
20296 sed 's/^/| /' conftest.
$ac_ext >&5
20300 rm -f conftest.err conftest.
$ac_objext \
20301 conftest
$ac_exeext conftest.
$ac_ext
20302 LIBS
=$ac_check_lib_save_LIBS
20304 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
20305 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
20306 if test $ac_cv_lib_m_erf = yes; then
20308 cat >>confdefs.h
<<\_ACEOF
20314 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
20315 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
20316 if test "${ac_cv_lib_m_erfl+set}" = set; then
20317 echo $ECHO_N "(cached) $ECHO_C" >&6
20319 ac_check_lib_save_LIBS
=$LIBS
20321 if test x
$gcc_no_link = xyes
; then
20322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20324 { (exit 1); exit 1; }; }
20326 cat >conftest.
$ac_ext <<_ACEOF
20329 cat confdefs.h
>>conftest.
$ac_ext
20330 cat >>conftest.
$ac_ext <<_ACEOF
20331 /* end confdefs.h. */
20333 /* Override any gcc2 internal prototype to avoid an error. */
20337 /* We use char because int might match the return type of a gcc2
20338 builtin and then its argument prototype would still apply. */
20348 rm -f conftest.
$ac_objext conftest
$ac_exeext
20349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20350 (eval $ac_link) 2>conftest.er1
20352 grep -v '^ *+' conftest.er1
>conftest.err
20354 cat conftest.err
>&5
20355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20356 (exit $ac_status); } &&
20357 { ac_try
='test -z "$ac_c_werror_flag"
20358 || test ! -s conftest.err'
20359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20360 (eval $ac_try) 2>&5
20362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363 (exit $ac_status); }; } &&
20364 { ac_try
='test -s conftest$ac_exeext'
20365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20366 (eval $ac_try) 2>&5
20368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20369 (exit $ac_status); }; }; then
20370 ac_cv_lib_m_erfl
=yes
20372 echo "$as_me: failed program was:" >&5
20373 sed 's/^/| /' conftest.
$ac_ext >&5
20375 ac_cv_lib_m_erfl
=no
20377 rm -f conftest.err conftest.
$ac_objext \
20378 conftest
$ac_exeext conftest.
$ac_ext
20379 LIBS
=$ac_check_lib_save_LIBS
20381 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
20382 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
20383 if test $ac_cv_lib_m_erfl = yes; then
20385 cat >>confdefs.h
<<\_ACEOF
20386 #define HAVE_ERFL 1
20391 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
20392 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
20393 if test "${ac_cv_lib_m_erfcf+set}" = set; then
20394 echo $ECHO_N "(cached) $ECHO_C" >&6
20396 ac_check_lib_save_LIBS
=$LIBS
20398 if test x
$gcc_no_link = xyes
; then
20399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20401 { (exit 1); exit 1; }; }
20403 cat >conftest.
$ac_ext <<_ACEOF
20406 cat confdefs.h
>>conftest.
$ac_ext
20407 cat >>conftest.
$ac_ext <<_ACEOF
20408 /* end confdefs.h. */
20410 /* Override any gcc2 internal prototype to avoid an error. */
20414 /* We use char because int might match the return type of a gcc2
20415 builtin and then its argument prototype would still apply. */
20425 rm -f conftest.
$ac_objext conftest
$ac_exeext
20426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20427 (eval $ac_link) 2>conftest.er1
20429 grep -v '^ *+' conftest.er1
>conftest.err
20431 cat conftest.err
>&5
20432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20433 (exit $ac_status); } &&
20434 { ac_try
='test -z "$ac_c_werror_flag"
20435 || test ! -s conftest.err'
20436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20437 (eval $ac_try) 2>&5
20439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20440 (exit $ac_status); }; } &&
20441 { ac_try
='test -s conftest$ac_exeext'
20442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20443 (eval $ac_try) 2>&5
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); }; }; then
20447 ac_cv_lib_m_erfcf
=yes
20449 echo "$as_me: failed program was:" >&5
20450 sed 's/^/| /' conftest.
$ac_ext >&5
20452 ac_cv_lib_m_erfcf
=no
20454 rm -f conftest.err conftest.
$ac_objext \
20455 conftest
$ac_exeext conftest.
$ac_ext
20456 LIBS
=$ac_check_lib_save_LIBS
20458 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
20459 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
20460 if test $ac_cv_lib_m_erfcf = yes; then
20462 cat >>confdefs.h
<<\_ACEOF
20463 #define HAVE_ERFCF 1
20468 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
20469 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
20470 if test "${ac_cv_lib_m_erfc+set}" = set; then
20471 echo $ECHO_N "(cached) $ECHO_C" >&6
20473 ac_check_lib_save_LIBS
=$LIBS
20475 if test x
$gcc_no_link = xyes
; then
20476 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20478 { (exit 1); exit 1; }; }
20480 cat >conftest.
$ac_ext <<_ACEOF
20483 cat confdefs.h
>>conftest.
$ac_ext
20484 cat >>conftest.
$ac_ext <<_ACEOF
20485 /* end confdefs.h. */
20487 /* Override any gcc2 internal prototype to avoid an error. */
20491 /* We use char because int might match the return type of a gcc2
20492 builtin and then its argument prototype would still apply. */
20502 rm -f conftest.
$ac_objext conftest
$ac_exeext
20503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20504 (eval $ac_link) 2>conftest.er1
20506 grep -v '^ *+' conftest.er1
>conftest.err
20508 cat conftest.err
>&5
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); } &&
20511 { ac_try
='test -z "$ac_c_werror_flag"
20512 || test ! -s conftest.err'
20513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20514 (eval $ac_try) 2>&5
20516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20517 (exit $ac_status); }; } &&
20518 { ac_try
='test -s conftest$ac_exeext'
20519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20520 (eval $ac_try) 2>&5
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); }; }; then
20524 ac_cv_lib_m_erfc
=yes
20526 echo "$as_me: failed program was:" >&5
20527 sed 's/^/| /' conftest.
$ac_ext >&5
20529 ac_cv_lib_m_erfc
=no
20531 rm -f conftest.err conftest.
$ac_objext \
20532 conftest
$ac_exeext conftest.
$ac_ext
20533 LIBS
=$ac_check_lib_save_LIBS
20535 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
20536 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
20537 if test $ac_cv_lib_m_erfc = yes; then
20539 cat >>confdefs.h
<<\_ACEOF
20540 #define HAVE_ERFC 1
20545 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
20546 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
20547 if test "${ac_cv_lib_m_erfcl+set}" = set; then
20548 echo $ECHO_N "(cached) $ECHO_C" >&6
20550 ac_check_lib_save_LIBS
=$LIBS
20552 if test x
$gcc_no_link = xyes
; then
20553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20555 { (exit 1); exit 1; }; }
20557 cat >conftest.
$ac_ext <<_ACEOF
20560 cat confdefs.h
>>conftest.
$ac_ext
20561 cat >>conftest.
$ac_ext <<_ACEOF
20562 /* end confdefs.h. */
20564 /* Override any gcc2 internal prototype to avoid an error. */
20568 /* We use char because int might match the return type of a gcc2
20569 builtin and then its argument prototype would still apply. */
20579 rm -f conftest.
$ac_objext conftest
$ac_exeext
20580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20581 (eval $ac_link) 2>conftest.er1
20583 grep -v '^ *+' conftest.er1
>conftest.err
20585 cat conftest.err
>&5
20586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587 (exit $ac_status); } &&
20588 { ac_try
='test -z "$ac_c_werror_flag"
20589 || test ! -s conftest.err'
20590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20591 (eval $ac_try) 2>&5
20593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594 (exit $ac_status); }; } &&
20595 { ac_try
='test -s conftest$ac_exeext'
20596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20597 (eval $ac_try) 2>&5
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); }; }; then
20601 ac_cv_lib_m_erfcl
=yes
20603 echo "$as_me: failed program was:" >&5
20604 sed 's/^/| /' conftest.
$ac_ext >&5
20606 ac_cv_lib_m_erfcl
=no
20608 rm -f conftest.err conftest.
$ac_objext \
20609 conftest
$ac_exeext conftest.
$ac_ext
20610 LIBS
=$ac_check_lib_save_LIBS
20612 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
20613 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
20614 if test $ac_cv_lib_m_erfcl = yes; then
20616 cat >>confdefs.h
<<\_ACEOF
20617 #define HAVE_ERFCL 1
20622 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
20623 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
20624 if test "${ac_cv_lib_m_j0f+set}" = set; then
20625 echo $ECHO_N "(cached) $ECHO_C" >&6
20627 ac_check_lib_save_LIBS
=$LIBS
20629 if test x
$gcc_no_link = xyes
; then
20630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20632 { (exit 1); exit 1; }; }
20634 cat >conftest.
$ac_ext <<_ACEOF
20637 cat confdefs.h
>>conftest.
$ac_ext
20638 cat >>conftest.
$ac_ext <<_ACEOF
20639 /* end confdefs.h. */
20641 /* Override any gcc2 internal prototype to avoid an error. */
20645 /* We use char because int might match the return type of a gcc2
20646 builtin and then its argument prototype would still apply. */
20656 rm -f conftest.
$ac_objext conftest
$ac_exeext
20657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20658 (eval $ac_link) 2>conftest.er1
20660 grep -v '^ *+' conftest.er1
>conftest.err
20662 cat conftest.err
>&5
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); } &&
20665 { ac_try
='test -z "$ac_c_werror_flag"
20666 || test ! -s conftest.err'
20667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20668 (eval $ac_try) 2>&5
20670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20671 (exit $ac_status); }; } &&
20672 { ac_try
='test -s conftest$ac_exeext'
20673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20674 (eval $ac_try) 2>&5
20676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20677 (exit $ac_status); }; }; then
20678 ac_cv_lib_m_j0f
=yes
20680 echo "$as_me: failed program was:" >&5
20681 sed 's/^/| /' conftest.
$ac_ext >&5
20685 rm -f conftest.err conftest.
$ac_objext \
20686 conftest
$ac_exeext conftest.
$ac_ext
20687 LIBS
=$ac_check_lib_save_LIBS
20689 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
20690 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
20691 if test $ac_cv_lib_m_j0f = yes; then
20693 cat >>confdefs.h
<<\_ACEOF
20699 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
20700 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
20701 if test "${ac_cv_lib_m_j0+set}" = set; then
20702 echo $ECHO_N "(cached) $ECHO_C" >&6
20704 ac_check_lib_save_LIBS
=$LIBS
20706 if test x
$gcc_no_link = xyes
; then
20707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20709 { (exit 1); exit 1; }; }
20711 cat >conftest.
$ac_ext <<_ACEOF
20714 cat confdefs.h
>>conftest.
$ac_ext
20715 cat >>conftest.
$ac_ext <<_ACEOF
20716 /* end confdefs.h. */
20718 /* Override any gcc2 internal prototype to avoid an error. */
20722 /* We use char because int might match the return type of a gcc2
20723 builtin and then its argument prototype would still apply. */
20733 rm -f conftest.
$ac_objext conftest
$ac_exeext
20734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20735 (eval $ac_link) 2>conftest.er1
20737 grep -v '^ *+' conftest.er1
>conftest.err
20739 cat conftest.err
>&5
20740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741 (exit $ac_status); } &&
20742 { ac_try
='test -z "$ac_c_werror_flag"
20743 || test ! -s conftest.err'
20744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20745 (eval $ac_try) 2>&5
20747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20748 (exit $ac_status); }; } &&
20749 { ac_try
='test -s conftest$ac_exeext'
20750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20751 (eval $ac_try) 2>&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); }; }; then
20757 echo "$as_me: failed program was:" >&5
20758 sed 's/^/| /' conftest.
$ac_ext >&5
20762 rm -f conftest.err conftest.
$ac_objext \
20763 conftest
$ac_exeext conftest.
$ac_ext
20764 LIBS
=$ac_check_lib_save_LIBS
20766 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
20767 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
20768 if test $ac_cv_lib_m_j0 = yes; then
20770 cat >>confdefs.h
<<\_ACEOF
20776 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
20777 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
20778 if test "${ac_cv_lib_m_j0l+set}" = set; then
20779 echo $ECHO_N "(cached) $ECHO_C" >&6
20781 ac_check_lib_save_LIBS
=$LIBS
20783 if test x
$gcc_no_link = xyes
; then
20784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20786 { (exit 1); exit 1; }; }
20788 cat >conftest.
$ac_ext <<_ACEOF
20791 cat confdefs.h
>>conftest.
$ac_ext
20792 cat >>conftest.
$ac_ext <<_ACEOF
20793 /* end confdefs.h. */
20795 /* Override any gcc2 internal prototype to avoid an error. */
20799 /* We use char because int might match the return type of a gcc2
20800 builtin and then its argument prototype would still apply. */
20810 rm -f conftest.
$ac_objext conftest
$ac_exeext
20811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20812 (eval $ac_link) 2>conftest.er1
20814 grep -v '^ *+' conftest.er1
>conftest.err
20816 cat conftest.err
>&5
20817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20818 (exit $ac_status); } &&
20819 { ac_try
='test -z "$ac_c_werror_flag"
20820 || test ! -s conftest.err'
20821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20822 (eval $ac_try) 2>&5
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); }; } &&
20826 { ac_try
='test -s conftest$ac_exeext'
20827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20828 (eval $ac_try) 2>&5
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); }; }; then
20832 ac_cv_lib_m_j0l
=yes
20834 echo "$as_me: failed program was:" >&5
20835 sed 's/^/| /' conftest.
$ac_ext >&5
20839 rm -f conftest.err conftest.
$ac_objext \
20840 conftest
$ac_exeext conftest.
$ac_ext
20841 LIBS
=$ac_check_lib_save_LIBS
20843 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
20844 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
20845 if test $ac_cv_lib_m_j0l = yes; then
20847 cat >>confdefs.h
<<\_ACEOF
20853 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
20854 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
20855 if test "${ac_cv_lib_m_j1f+set}" = set; then
20856 echo $ECHO_N "(cached) $ECHO_C" >&6
20858 ac_check_lib_save_LIBS
=$LIBS
20860 if test x
$gcc_no_link = xyes
; then
20861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20863 { (exit 1); exit 1; }; }
20865 cat >conftest.
$ac_ext <<_ACEOF
20868 cat confdefs.h
>>conftest.
$ac_ext
20869 cat >>conftest.
$ac_ext <<_ACEOF
20870 /* end confdefs.h. */
20872 /* Override any gcc2 internal prototype to avoid an error. */
20876 /* We use char because int might match the return type of a gcc2
20877 builtin and then its argument prototype would still apply. */
20887 rm -f conftest.
$ac_objext conftest
$ac_exeext
20888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20889 (eval $ac_link) 2>conftest.er1
20891 grep -v '^ *+' conftest.er1
>conftest.err
20893 cat conftest.err
>&5
20894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20895 (exit $ac_status); } &&
20896 { ac_try
='test -z "$ac_c_werror_flag"
20897 || test ! -s conftest.err'
20898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20899 (eval $ac_try) 2>&5
20901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20902 (exit $ac_status); }; } &&
20903 { ac_try
='test -s conftest$ac_exeext'
20904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20905 (eval $ac_try) 2>&5
20907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20908 (exit $ac_status); }; }; then
20909 ac_cv_lib_m_j1f
=yes
20911 echo "$as_me: failed program was:" >&5
20912 sed 's/^/| /' conftest.
$ac_ext >&5
20916 rm -f conftest.err conftest.
$ac_objext \
20917 conftest
$ac_exeext conftest.
$ac_ext
20918 LIBS
=$ac_check_lib_save_LIBS
20920 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
20921 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
20922 if test $ac_cv_lib_m_j1f = yes; then
20924 cat >>confdefs.h
<<\_ACEOF
20930 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
20931 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
20932 if test "${ac_cv_lib_m_j1+set}" = set; then
20933 echo $ECHO_N "(cached) $ECHO_C" >&6
20935 ac_check_lib_save_LIBS
=$LIBS
20937 if test x
$gcc_no_link = xyes
; then
20938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20940 { (exit 1); exit 1; }; }
20942 cat >conftest.
$ac_ext <<_ACEOF
20945 cat confdefs.h
>>conftest.
$ac_ext
20946 cat >>conftest.
$ac_ext <<_ACEOF
20947 /* end confdefs.h. */
20949 /* Override any gcc2 internal prototype to avoid an error. */
20953 /* We use char because int might match the return type of a gcc2
20954 builtin and then its argument prototype would still apply. */
20964 rm -f conftest.
$ac_objext conftest
$ac_exeext
20965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20966 (eval $ac_link) 2>conftest.er1
20968 grep -v '^ *+' conftest.er1
>conftest.err
20970 cat conftest.err
>&5
20971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20972 (exit $ac_status); } &&
20973 { ac_try
='test -z "$ac_c_werror_flag"
20974 || test ! -s conftest.err'
20975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20976 (eval $ac_try) 2>&5
20978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20979 (exit $ac_status); }; } &&
20980 { ac_try
='test -s conftest$ac_exeext'
20981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20982 (eval $ac_try) 2>&5
20984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20985 (exit $ac_status); }; }; then
20988 echo "$as_me: failed program was:" >&5
20989 sed 's/^/| /' conftest.
$ac_ext >&5
20993 rm -f conftest.err conftest.
$ac_objext \
20994 conftest
$ac_exeext conftest.
$ac_ext
20995 LIBS
=$ac_check_lib_save_LIBS
20997 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
20998 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
20999 if test $ac_cv_lib_m_j1 = yes; then
21001 cat >>confdefs.h
<<\_ACEOF
21007 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
21008 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
21009 if test "${ac_cv_lib_m_j1l+set}" = set; then
21010 echo $ECHO_N "(cached) $ECHO_C" >&6
21012 ac_check_lib_save_LIBS
=$LIBS
21014 if test x
$gcc_no_link = xyes
; then
21015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21017 { (exit 1); exit 1; }; }
21019 cat >conftest.
$ac_ext <<_ACEOF
21022 cat confdefs.h
>>conftest.
$ac_ext
21023 cat >>conftest.
$ac_ext <<_ACEOF
21024 /* end confdefs.h. */
21026 /* Override any gcc2 internal prototype to avoid an error. */
21030 /* We use char because int might match the return type of a gcc2
21031 builtin and then its argument prototype would still apply. */
21041 rm -f conftest.
$ac_objext conftest
$ac_exeext
21042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21043 (eval $ac_link) 2>conftest.er1
21045 grep -v '^ *+' conftest.er1
>conftest.err
21047 cat conftest.err
>&5
21048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21049 (exit $ac_status); } &&
21050 { ac_try
='test -z "$ac_c_werror_flag"
21051 || test ! -s conftest.err'
21052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21053 (eval $ac_try) 2>&5
21055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21056 (exit $ac_status); }; } &&
21057 { ac_try
='test -s conftest$ac_exeext'
21058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21059 (eval $ac_try) 2>&5
21061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21062 (exit $ac_status); }; }; then
21063 ac_cv_lib_m_j1l
=yes
21065 echo "$as_me: failed program was:" >&5
21066 sed 's/^/| /' conftest.
$ac_ext >&5
21070 rm -f conftest.err conftest.
$ac_objext \
21071 conftest
$ac_exeext conftest.
$ac_ext
21072 LIBS
=$ac_check_lib_save_LIBS
21074 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
21075 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
21076 if test $ac_cv_lib_m_j1l = yes; then
21078 cat >>confdefs.h
<<\_ACEOF
21084 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
21085 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
21086 if test "${ac_cv_lib_m_jnf+set}" = set; then
21087 echo $ECHO_N "(cached) $ECHO_C" >&6
21089 ac_check_lib_save_LIBS
=$LIBS
21091 if test x
$gcc_no_link = xyes
; then
21092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21094 { (exit 1); exit 1; }; }
21096 cat >conftest.
$ac_ext <<_ACEOF
21099 cat confdefs.h
>>conftest.
$ac_ext
21100 cat >>conftest.
$ac_ext <<_ACEOF
21101 /* end confdefs.h. */
21103 /* Override any gcc2 internal prototype to avoid an error. */
21107 /* We use char because int might match the return type of a gcc2
21108 builtin and then its argument prototype would still apply. */
21118 rm -f conftest.
$ac_objext conftest
$ac_exeext
21119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21120 (eval $ac_link) 2>conftest.er1
21122 grep -v '^ *+' conftest.er1
>conftest.err
21124 cat conftest.err
>&5
21125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21126 (exit $ac_status); } &&
21127 { ac_try
='test -z "$ac_c_werror_flag"
21128 || test ! -s conftest.err'
21129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21130 (eval $ac_try) 2>&5
21132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21133 (exit $ac_status); }; } &&
21134 { ac_try
='test -s conftest$ac_exeext'
21135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21136 (eval $ac_try) 2>&5
21138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21139 (exit $ac_status); }; }; then
21140 ac_cv_lib_m_jnf
=yes
21142 echo "$as_me: failed program was:" >&5
21143 sed 's/^/| /' conftest.
$ac_ext >&5
21147 rm -f conftest.err conftest.
$ac_objext \
21148 conftest
$ac_exeext conftest.
$ac_ext
21149 LIBS
=$ac_check_lib_save_LIBS
21151 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
21152 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
21153 if test $ac_cv_lib_m_jnf = yes; then
21155 cat >>confdefs.h
<<\_ACEOF
21161 echo "$as_me:$LINENO: checking for jn in -lm" >&5
21162 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
21163 if test "${ac_cv_lib_m_jn+set}" = set; then
21164 echo $ECHO_N "(cached) $ECHO_C" >&6
21166 ac_check_lib_save_LIBS
=$LIBS
21168 if test x
$gcc_no_link = xyes
; then
21169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21171 { (exit 1); exit 1; }; }
21173 cat >conftest.
$ac_ext <<_ACEOF
21176 cat confdefs.h
>>conftest.
$ac_ext
21177 cat >>conftest.
$ac_ext <<_ACEOF
21178 /* end confdefs.h. */
21180 /* Override any gcc2 internal prototype to avoid an error. */
21184 /* We use char because int might match the return type of a gcc2
21185 builtin and then its argument prototype would still apply. */
21195 rm -f conftest.
$ac_objext conftest
$ac_exeext
21196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21197 (eval $ac_link) 2>conftest.er1
21199 grep -v '^ *+' conftest.er1
>conftest.err
21201 cat conftest.err
>&5
21202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21203 (exit $ac_status); } &&
21204 { ac_try
='test -z "$ac_c_werror_flag"
21205 || test ! -s conftest.err'
21206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21207 (eval $ac_try) 2>&5
21209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21210 (exit $ac_status); }; } &&
21211 { ac_try
='test -s conftest$ac_exeext'
21212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21213 (eval $ac_try) 2>&5
21215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21216 (exit $ac_status); }; }; then
21219 echo "$as_me: failed program was:" >&5
21220 sed 's/^/| /' conftest.
$ac_ext >&5
21224 rm -f conftest.err conftest.
$ac_objext \
21225 conftest
$ac_exeext conftest.
$ac_ext
21226 LIBS
=$ac_check_lib_save_LIBS
21228 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
21229 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
21230 if test $ac_cv_lib_m_jn = yes; then
21232 cat >>confdefs.h
<<\_ACEOF
21238 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
21239 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
21240 if test "${ac_cv_lib_m_jnl+set}" = set; then
21241 echo $ECHO_N "(cached) $ECHO_C" >&6
21243 ac_check_lib_save_LIBS
=$LIBS
21245 if test x
$gcc_no_link = xyes
; then
21246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21248 { (exit 1); exit 1; }; }
21250 cat >conftest.
$ac_ext <<_ACEOF
21253 cat confdefs.h
>>conftest.
$ac_ext
21254 cat >>conftest.
$ac_ext <<_ACEOF
21255 /* end confdefs.h. */
21257 /* Override any gcc2 internal prototype to avoid an error. */
21261 /* We use char because int might match the return type of a gcc2
21262 builtin and then its argument prototype would still apply. */
21272 rm -f conftest.
$ac_objext conftest
$ac_exeext
21273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21274 (eval $ac_link) 2>conftest.er1
21276 grep -v '^ *+' conftest.er1
>conftest.err
21278 cat conftest.err
>&5
21279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21280 (exit $ac_status); } &&
21281 { ac_try
='test -z "$ac_c_werror_flag"
21282 || test ! -s conftest.err'
21283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21284 (eval $ac_try) 2>&5
21286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21287 (exit $ac_status); }; } &&
21288 { ac_try
='test -s conftest$ac_exeext'
21289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21290 (eval $ac_try) 2>&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); }; }; then
21294 ac_cv_lib_m_jnl
=yes
21296 echo "$as_me: failed program was:" >&5
21297 sed 's/^/| /' conftest.
$ac_ext >&5
21301 rm -f conftest.err conftest.
$ac_objext \
21302 conftest
$ac_exeext conftest.
$ac_ext
21303 LIBS
=$ac_check_lib_save_LIBS
21305 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
21306 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
21307 if test $ac_cv_lib_m_jnl = yes; then
21309 cat >>confdefs.h
<<\_ACEOF
21315 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
21316 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
21317 if test "${ac_cv_lib_m_y0f+set}" = set; then
21318 echo $ECHO_N "(cached) $ECHO_C" >&6
21320 ac_check_lib_save_LIBS
=$LIBS
21322 if test x
$gcc_no_link = xyes
; then
21323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21325 { (exit 1); exit 1; }; }
21327 cat >conftest.
$ac_ext <<_ACEOF
21330 cat confdefs.h
>>conftest.
$ac_ext
21331 cat >>conftest.
$ac_ext <<_ACEOF
21332 /* end confdefs.h. */
21334 /* Override any gcc2 internal prototype to avoid an error. */
21338 /* We use char because int might match the return type of a gcc2
21339 builtin and then its argument prototype would still apply. */
21349 rm -f conftest.
$ac_objext conftest
$ac_exeext
21350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21351 (eval $ac_link) 2>conftest.er1
21353 grep -v '^ *+' conftest.er1
>conftest.err
21355 cat conftest.err
>&5
21356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21357 (exit $ac_status); } &&
21358 { ac_try
='test -z "$ac_c_werror_flag"
21359 || test ! -s conftest.err'
21360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21361 (eval $ac_try) 2>&5
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); }; } &&
21365 { ac_try
='test -s conftest$ac_exeext'
21366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21367 (eval $ac_try) 2>&5
21369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21370 (exit $ac_status); }; }; then
21371 ac_cv_lib_m_y0f
=yes
21373 echo "$as_me: failed program was:" >&5
21374 sed 's/^/| /' conftest.
$ac_ext >&5
21378 rm -f conftest.err conftest.
$ac_objext \
21379 conftest
$ac_exeext conftest.
$ac_ext
21380 LIBS
=$ac_check_lib_save_LIBS
21382 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
21383 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
21384 if test $ac_cv_lib_m_y0f = yes; then
21386 cat >>confdefs.h
<<\_ACEOF
21392 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
21393 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
21394 if test "${ac_cv_lib_m_y0+set}" = set; then
21395 echo $ECHO_N "(cached) $ECHO_C" >&6
21397 ac_check_lib_save_LIBS
=$LIBS
21399 if test x
$gcc_no_link = xyes
; then
21400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21402 { (exit 1); exit 1; }; }
21404 cat >conftest.
$ac_ext <<_ACEOF
21407 cat confdefs.h
>>conftest.
$ac_ext
21408 cat >>conftest.
$ac_ext <<_ACEOF
21409 /* end confdefs.h. */
21411 /* Override any gcc2 internal prototype to avoid an error. */
21415 /* We use char because int might match the return type of a gcc2
21416 builtin and then its argument prototype would still apply. */
21426 rm -f conftest.
$ac_objext conftest
$ac_exeext
21427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21428 (eval $ac_link) 2>conftest.er1
21430 grep -v '^ *+' conftest.er1
>conftest.err
21432 cat conftest.err
>&5
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); } &&
21435 { ac_try
='test -z "$ac_c_werror_flag"
21436 || test ! -s conftest.err'
21437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21438 (eval $ac_try) 2>&5
21440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21441 (exit $ac_status); }; } &&
21442 { ac_try
='test -s conftest$ac_exeext'
21443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21444 (eval $ac_try) 2>&5
21446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); }; }; then
21450 echo "$as_me: failed program was:" >&5
21451 sed 's/^/| /' conftest.
$ac_ext >&5
21455 rm -f conftest.err conftest.
$ac_objext \
21456 conftest
$ac_exeext conftest.
$ac_ext
21457 LIBS
=$ac_check_lib_save_LIBS
21459 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
21460 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
21461 if test $ac_cv_lib_m_y0 = yes; then
21463 cat >>confdefs.h
<<\_ACEOF
21469 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
21470 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
21471 if test "${ac_cv_lib_m_y0l+set}" = set; then
21472 echo $ECHO_N "(cached) $ECHO_C" >&6
21474 ac_check_lib_save_LIBS
=$LIBS
21476 if test x
$gcc_no_link = xyes
; then
21477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21479 { (exit 1); exit 1; }; }
21481 cat >conftest.
$ac_ext <<_ACEOF
21484 cat confdefs.h
>>conftest.
$ac_ext
21485 cat >>conftest.
$ac_ext <<_ACEOF
21486 /* end confdefs.h. */
21488 /* Override any gcc2 internal prototype to avoid an error. */
21492 /* We use char because int might match the return type of a gcc2
21493 builtin and then its argument prototype would still apply. */
21503 rm -f conftest.
$ac_objext conftest
$ac_exeext
21504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21505 (eval $ac_link) 2>conftest.er1
21507 grep -v '^ *+' conftest.er1
>conftest.err
21509 cat conftest.err
>&5
21510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21511 (exit $ac_status); } &&
21512 { ac_try
='test -z "$ac_c_werror_flag"
21513 || test ! -s conftest.err'
21514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21515 (eval $ac_try) 2>&5
21517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21518 (exit $ac_status); }; } &&
21519 { ac_try
='test -s conftest$ac_exeext'
21520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21521 (eval $ac_try) 2>&5
21523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21524 (exit $ac_status); }; }; then
21525 ac_cv_lib_m_y0l
=yes
21527 echo "$as_me: failed program was:" >&5
21528 sed 's/^/| /' conftest.
$ac_ext >&5
21532 rm -f conftest.err conftest.
$ac_objext \
21533 conftest
$ac_exeext conftest.
$ac_ext
21534 LIBS
=$ac_check_lib_save_LIBS
21536 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
21537 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
21538 if test $ac_cv_lib_m_y0l = yes; then
21540 cat >>confdefs.h
<<\_ACEOF
21546 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
21547 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
21548 if test "${ac_cv_lib_m_y1f+set}" = set; then
21549 echo $ECHO_N "(cached) $ECHO_C" >&6
21551 ac_check_lib_save_LIBS
=$LIBS
21553 if test x
$gcc_no_link = xyes
; then
21554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21556 { (exit 1); exit 1; }; }
21558 cat >conftest.
$ac_ext <<_ACEOF
21561 cat confdefs.h
>>conftest.
$ac_ext
21562 cat >>conftest.
$ac_ext <<_ACEOF
21563 /* end confdefs.h. */
21565 /* Override any gcc2 internal prototype to avoid an error. */
21569 /* We use char because int might match the return type of a gcc2
21570 builtin and then its argument prototype would still apply. */
21580 rm -f conftest.
$ac_objext conftest
$ac_exeext
21581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21582 (eval $ac_link) 2>conftest.er1
21584 grep -v '^ *+' conftest.er1
>conftest.err
21586 cat conftest.err
>&5
21587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588 (exit $ac_status); } &&
21589 { ac_try
='test -z "$ac_c_werror_flag"
21590 || test ! -s conftest.err'
21591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21592 (eval $ac_try) 2>&5
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); }; } &&
21596 { ac_try
='test -s conftest$ac_exeext'
21597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21598 (eval $ac_try) 2>&5
21600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21601 (exit $ac_status); }; }; then
21602 ac_cv_lib_m_y1f
=yes
21604 echo "$as_me: failed program was:" >&5
21605 sed 's/^/| /' conftest.
$ac_ext >&5
21609 rm -f conftest.err conftest.
$ac_objext \
21610 conftest
$ac_exeext conftest.
$ac_ext
21611 LIBS
=$ac_check_lib_save_LIBS
21613 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
21614 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
21615 if test $ac_cv_lib_m_y1f = yes; then
21617 cat >>confdefs.h
<<\_ACEOF
21623 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
21624 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
21625 if test "${ac_cv_lib_m_y1+set}" = set; then
21626 echo $ECHO_N "(cached) $ECHO_C" >&6
21628 ac_check_lib_save_LIBS
=$LIBS
21630 if test x
$gcc_no_link = xyes
; then
21631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21633 { (exit 1); exit 1; }; }
21635 cat >conftest.
$ac_ext <<_ACEOF
21638 cat confdefs.h
>>conftest.
$ac_ext
21639 cat >>conftest.
$ac_ext <<_ACEOF
21640 /* end confdefs.h. */
21642 /* Override any gcc2 internal prototype to avoid an error. */
21646 /* We use char because int might match the return type of a gcc2
21647 builtin and then its argument prototype would still apply. */
21657 rm -f conftest.
$ac_objext conftest
$ac_exeext
21658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21659 (eval $ac_link) 2>conftest.er1
21661 grep -v '^ *+' conftest.er1
>conftest.err
21663 cat conftest.err
>&5
21664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665 (exit $ac_status); } &&
21666 { ac_try
='test -z "$ac_c_werror_flag"
21667 || test ! -s conftest.err'
21668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21669 (eval $ac_try) 2>&5
21671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21672 (exit $ac_status); }; } &&
21673 { ac_try
='test -s conftest$ac_exeext'
21674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21675 (eval $ac_try) 2>&5
21677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21678 (exit $ac_status); }; }; then
21681 echo "$as_me: failed program was:" >&5
21682 sed 's/^/| /' conftest.
$ac_ext >&5
21686 rm -f conftest.err conftest.
$ac_objext \
21687 conftest
$ac_exeext conftest.
$ac_ext
21688 LIBS
=$ac_check_lib_save_LIBS
21690 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
21691 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
21692 if test $ac_cv_lib_m_y1 = yes; then
21694 cat >>confdefs.h
<<\_ACEOF
21700 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
21701 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
21702 if test "${ac_cv_lib_m_y1l+set}" = set; then
21703 echo $ECHO_N "(cached) $ECHO_C" >&6
21705 ac_check_lib_save_LIBS
=$LIBS
21707 if test x
$gcc_no_link = xyes
; then
21708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21710 { (exit 1); exit 1; }; }
21712 cat >conftest.
$ac_ext <<_ACEOF
21715 cat confdefs.h
>>conftest.
$ac_ext
21716 cat >>conftest.
$ac_ext <<_ACEOF
21717 /* end confdefs.h. */
21719 /* Override any gcc2 internal prototype to avoid an error. */
21723 /* We use char because int might match the return type of a gcc2
21724 builtin and then its argument prototype would still apply. */
21734 rm -f conftest.
$ac_objext conftest
$ac_exeext
21735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21736 (eval $ac_link) 2>conftest.er1
21738 grep -v '^ *+' conftest.er1
>conftest.err
21740 cat conftest.err
>&5
21741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21742 (exit $ac_status); } &&
21743 { ac_try
='test -z "$ac_c_werror_flag"
21744 || test ! -s conftest.err'
21745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21746 (eval $ac_try) 2>&5
21748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); }; } &&
21750 { ac_try
='test -s conftest$ac_exeext'
21751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21752 (eval $ac_try) 2>&5
21754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21755 (exit $ac_status); }; }; then
21756 ac_cv_lib_m_y1l
=yes
21758 echo "$as_me: failed program was:" >&5
21759 sed 's/^/| /' conftest.
$ac_ext >&5
21763 rm -f conftest.err conftest.
$ac_objext \
21764 conftest
$ac_exeext conftest.
$ac_ext
21765 LIBS
=$ac_check_lib_save_LIBS
21767 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
21768 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
21769 if test $ac_cv_lib_m_y1l = yes; then
21771 cat >>confdefs.h
<<\_ACEOF
21777 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
21778 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
21779 if test "${ac_cv_lib_m_ynf+set}" = set; then
21780 echo $ECHO_N "(cached) $ECHO_C" >&6
21782 ac_check_lib_save_LIBS
=$LIBS
21784 if test x
$gcc_no_link = xyes
; then
21785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21787 { (exit 1); exit 1; }; }
21789 cat >conftest.
$ac_ext <<_ACEOF
21792 cat confdefs.h
>>conftest.
$ac_ext
21793 cat >>conftest.
$ac_ext <<_ACEOF
21794 /* end confdefs.h. */
21796 /* Override any gcc2 internal prototype to avoid an error. */
21800 /* We use char because int might match the return type of a gcc2
21801 builtin and then its argument prototype would still apply. */
21811 rm -f conftest.
$ac_objext conftest
$ac_exeext
21812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21813 (eval $ac_link) 2>conftest.er1
21815 grep -v '^ *+' conftest.er1
>conftest.err
21817 cat conftest.err
>&5
21818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21819 (exit $ac_status); } &&
21820 { ac_try
='test -z "$ac_c_werror_flag"
21821 || test ! -s conftest.err'
21822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21823 (eval $ac_try) 2>&5
21825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826 (exit $ac_status); }; } &&
21827 { ac_try
='test -s conftest$ac_exeext'
21828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21829 (eval $ac_try) 2>&5
21831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832 (exit $ac_status); }; }; then
21833 ac_cv_lib_m_ynf
=yes
21835 echo "$as_me: failed program was:" >&5
21836 sed 's/^/| /' conftest.
$ac_ext >&5
21840 rm -f conftest.err conftest.
$ac_objext \
21841 conftest
$ac_exeext conftest.
$ac_ext
21842 LIBS
=$ac_check_lib_save_LIBS
21844 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
21845 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
21846 if test $ac_cv_lib_m_ynf = yes; then
21848 cat >>confdefs.h
<<\_ACEOF
21854 echo "$as_me:$LINENO: checking for yn in -lm" >&5
21855 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
21856 if test "${ac_cv_lib_m_yn+set}" = set; then
21857 echo $ECHO_N "(cached) $ECHO_C" >&6
21859 ac_check_lib_save_LIBS
=$LIBS
21861 if test x
$gcc_no_link = xyes
; then
21862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21864 { (exit 1); exit 1; }; }
21866 cat >conftest.
$ac_ext <<_ACEOF
21869 cat confdefs.h
>>conftest.
$ac_ext
21870 cat >>conftest.
$ac_ext <<_ACEOF
21871 /* end confdefs.h. */
21873 /* Override any gcc2 internal prototype to avoid an error. */
21877 /* We use char because int might match the return type of a gcc2
21878 builtin and then its argument prototype would still apply. */
21888 rm -f conftest.
$ac_objext conftest
$ac_exeext
21889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21890 (eval $ac_link) 2>conftest.er1
21892 grep -v '^ *+' conftest.er1
>conftest.err
21894 cat conftest.err
>&5
21895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21896 (exit $ac_status); } &&
21897 { ac_try
='test -z "$ac_c_werror_flag"
21898 || test ! -s conftest.err'
21899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21900 (eval $ac_try) 2>&5
21902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21903 (exit $ac_status); }; } &&
21904 { ac_try
='test -s conftest$ac_exeext'
21905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21906 (eval $ac_try) 2>&5
21908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21909 (exit $ac_status); }; }; then
21912 echo "$as_me: failed program was:" >&5
21913 sed 's/^/| /' conftest.
$ac_ext >&5
21917 rm -f conftest.err conftest.
$ac_objext \
21918 conftest
$ac_exeext conftest.
$ac_ext
21919 LIBS
=$ac_check_lib_save_LIBS
21921 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
21922 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
21923 if test $ac_cv_lib_m_yn = yes; then
21925 cat >>confdefs.h
<<\_ACEOF
21931 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
21932 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
21933 if test "${ac_cv_lib_m_ynl+set}" = set; then
21934 echo $ECHO_N "(cached) $ECHO_C" >&6
21936 ac_check_lib_save_LIBS
=$LIBS
21938 if test x
$gcc_no_link = xyes
; then
21939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21941 { (exit 1); exit 1; }; }
21943 cat >conftest.
$ac_ext <<_ACEOF
21946 cat confdefs.h
>>conftest.
$ac_ext
21947 cat >>conftest.
$ac_ext <<_ACEOF
21948 /* end confdefs.h. */
21950 /* Override any gcc2 internal prototype to avoid an error. */
21954 /* We use char because int might match the return type of a gcc2
21955 builtin and then its argument prototype would still apply. */
21965 rm -f conftest.
$ac_objext conftest
$ac_exeext
21966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21967 (eval $ac_link) 2>conftest.er1
21969 grep -v '^ *+' conftest.er1
>conftest.err
21971 cat conftest.err
>&5
21972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21973 (exit $ac_status); } &&
21974 { ac_try
='test -z "$ac_c_werror_flag"
21975 || test ! -s conftest.err'
21976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21977 (eval $ac_try) 2>&5
21979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21980 (exit $ac_status); }; } &&
21981 { ac_try
='test -s conftest$ac_exeext'
21982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21983 (eval $ac_try) 2>&5
21985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21986 (exit $ac_status); }; }; then
21987 ac_cv_lib_m_ynl
=yes
21989 echo "$as_me: failed program was:" >&5
21990 sed 's/^/| /' conftest.
$ac_ext >&5
21994 rm -f conftest.err conftest.
$ac_objext \
21995 conftest
$ac_exeext conftest.
$ac_ext
21996 LIBS
=$ac_check_lib_save_LIBS
21998 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
21999 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
22000 if test $ac_cv_lib_m_ynl = yes; then
22002 cat >>confdefs.h
<<\_ACEOF
22009 # On AIX, clog is present in libm as __clog
22010 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
22011 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
22012 if test "${ac_cv_lib_m___clog+set}" = set; then
22013 echo $ECHO_N "(cached) $ECHO_C" >&6
22015 ac_check_lib_save_LIBS
=$LIBS
22017 if test x
$gcc_no_link = xyes
; then
22018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22020 { (exit 1); exit 1; }; }
22022 cat >conftest.
$ac_ext <<_ACEOF
22025 cat confdefs.h
>>conftest.
$ac_ext
22026 cat >>conftest.
$ac_ext <<_ACEOF
22027 /* end confdefs.h. */
22029 /* Override any gcc2 internal prototype to avoid an error. */
22033 /* We use char because int might match the return type of a gcc2
22034 builtin and then its argument prototype would still apply. */
22044 rm -f conftest.
$ac_objext conftest
$ac_exeext
22045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22046 (eval $ac_link) 2>conftest.er1
22048 grep -v '^ *+' conftest.er1
>conftest.err
22050 cat conftest.err
>&5
22051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22052 (exit $ac_status); } &&
22053 { ac_try
='test -z "$ac_c_werror_flag"
22054 || test ! -s conftest.err'
22055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22056 (eval $ac_try) 2>&5
22058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22059 (exit $ac_status); }; } &&
22060 { ac_try
='test -s conftest$ac_exeext'
22061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22062 (eval $ac_try) 2>&5
22064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22065 (exit $ac_status); }; }; then
22066 ac_cv_lib_m___clog
=yes
22068 echo "$as_me: failed program was:" >&5
22069 sed 's/^/| /' conftest.
$ac_ext >&5
22071 ac_cv_lib_m___clog
=no
22073 rm -f conftest.err conftest.
$ac_objext \
22074 conftest
$ac_exeext conftest.
$ac_ext
22075 LIBS
=$ac_check_lib_save_LIBS
22077 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
22078 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
22079 if test $ac_cv_lib_m___clog = yes; then
22081 cat >>confdefs.h
<<\_ACEOF
22082 #define HAVE_CLOG 1
22088 # Check for a isfinite macro that works on long doubles.
22090 echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
22091 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
22092 if test "${have_broken_isfinite+set}" = set; then
22093 echo $ECHO_N "(cached) $ECHO_C" >&6
22096 libgfor_check_for_broken_isfinite_save_LIBS
=$LIBS
22098 if test "$cross_compiling" = yes; then
22100 case "${target}" in
22101 hppa
*-*-hpux*) have_broken_isfinite
=yes ;;
22102 *) have_broken_isfinite
=no
;;
22105 cat >conftest.
$ac_ext <<_ACEOF
22108 cat confdefs.h
>>conftest.
$ac_ext
22109 cat >>conftest.
$ac_ext <<_ACEOF
22110 /* end confdefs.h. */
22120 if (!isfinite(LDBL_MAX)) return 1;
22123 if (!isfinite(DBL_MAX)) return 1;
22129 rm -f conftest
$ac_exeext
22130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22131 (eval $ac_link) 2>&5
22133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22134 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22136 (eval $ac_try) 2>&5
22138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22139 (exit $ac_status); }; }; then
22140 have_broken_isfinite
=no
22142 echo "$as_me: program exited with status $ac_status" >&5
22143 echo "$as_me: failed program was:" >&5
22144 sed 's/^/| /' conftest.
$ac_ext >&5
22146 ( exit $ac_status )
22147 have_broken_isfinite
=yes
22149 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22151 LIBS
=$libgfor_check_for_broken_isfinite_save_LIBS
22153 echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
22154 echo "${ECHO_T}$have_broken_isfinite" >&6
22155 if test x
"$have_broken_isfinite" = xyes
; then
22157 cat >>confdefs.h
<<\_ACEOF
22158 #define HAVE_BROKEN_ISFINITE 1
22163 # Check for a isnan macro that works on long doubles.
22165 echo "$as_me:$LINENO: checking whether isnan is broken" >&5
22166 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
22167 if test "${have_broken_isnan+set}" = set; then
22168 echo $ECHO_N "(cached) $ECHO_C" >&6
22171 libgfor_check_for_broken_isnan_save_LIBS
=$LIBS
22173 if test "$cross_compiling" = yes; then
22175 case "${target}" in
22176 hppa
*-*-hpux*) have_broken_isnan
=yes ;;
22177 *) have_broken_isnan
=no
;;
22180 cat >conftest.
$ac_ext <<_ACEOF
22183 cat confdefs.h
>>conftest.
$ac_ext
22184 cat >>conftest.
$ac_ext <<_ACEOF
22185 /* end confdefs.h. */
22197 x = __builtin_nanl ("");
22198 if (!isnan(x)) return 1;
22199 if (isnan(LDBL_MAX)) return 1;
22201 x = (long double) NAN;
22202 if (!isnan(x)) return 1;
22209 y = __builtin_nan ("");
22210 if (!isnan(y)) return 1;
22211 if (isnan(DBL_MAX)) return 1;
22214 if (!isnan(y)) return 1;
22222 rm -f conftest
$ac_exeext
22223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22224 (eval $ac_link) 2>&5
22226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22227 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22229 (eval $ac_try) 2>&5
22231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22232 (exit $ac_status); }; }; then
22233 have_broken_isnan
=no
22235 echo "$as_me: program exited with status $ac_status" >&5
22236 echo "$as_me: failed program was:" >&5
22237 sed 's/^/| /' conftest.
$ac_ext >&5
22239 ( exit $ac_status )
22240 have_broken_isnan
=yes
22242 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22244 LIBS
=$libgfor_check_for_broken_isnan_save_LIBS
22246 echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
22247 echo "${ECHO_T}$have_broken_isnan" >&6
22248 if test x
"$have_broken_isnan" = xyes
; then
22250 cat >>confdefs.h
<<\_ACEOF
22251 #define HAVE_BROKEN_ISNAN 1
22256 # Check for a fpclassify macro that works on long doubles.
22258 echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
22259 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
22260 if test "${have_broken_fpclassify+set}" = set; then
22261 echo $ECHO_N "(cached) $ECHO_C" >&6
22264 libgfor_check_for_broken_fpclassify_save_LIBS
=$LIBS
22266 if test "$cross_compiling" = yes; then
22268 case "${target}" in
22269 hppa
*-*-hpux*) have_broken_fpclassify
=yes ;;
22270 *) have_broken_fpclassify
=no
;;
22273 cat >conftest.
$ac_ext <<_ACEOF
22276 cat confdefs.h
>>conftest.
$ac_ext
22277 cat >>conftest.
$ac_ext <<_ACEOF
22278 /* end confdefs.h. */
22288 if (fpclassify(LDBL_MAX) == FP_NAN
22289 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
22292 if (fpclassify(DBL_MAX) == FP_NAN
22293 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
22299 rm -f conftest
$ac_exeext
22300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22301 (eval $ac_link) 2>&5
22303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22304 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22306 (eval $ac_try) 2>&5
22308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22309 (exit $ac_status); }; }; then
22310 have_broken_fpclassify
=no
22312 echo "$as_me: program exited with status $ac_status" >&5
22313 echo "$as_me: failed program was:" >&5
22314 sed 's/^/| /' conftest.
$ac_ext >&5
22316 ( exit $ac_status )
22317 have_broken_fpclassify
=yes
22319 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22321 LIBS
=$libgfor_check_for_broken_fpclassify_save_LIBS
22323 echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
22324 echo "${ECHO_T}$have_broken_fpclassify" >&6
22325 if test x
"$have_broken_fpclassify" = xyes
; then
22327 cat >>confdefs.h
<<\_ACEOF
22328 #define HAVE_BROKEN_FPCLASSIFY 1
22333 # Check whether the system has a working stat()
22335 echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
22336 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
22337 if test "${have_working_stat+set}" = set; then
22338 echo $ECHO_N "(cached) $ECHO_C" >&6
22341 if test "$cross_compiling" = yes; then
22343 case "${target}" in
22344 *mingw
*) have_working_stat
=no
;;
22345 *) have_working_stat
=yes;;
22348 cat >conftest.
$ac_ext <<_ACEOF
22351 cat confdefs.h
>>conftest.
$ac_ext
22352 cat >>conftest.
$ac_ext <<_ACEOF
22353 /* end confdefs.h. */
22356 #include <sys/types.h>
22357 #include <sys/stat.h>
22358 #include <unistd.h>
22363 struct stat st1, st2;
22365 f = fopen ("foo", "w");
22366 g = fopen ("bar", "w");
22367 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
22369 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
22376 rm -f conftest
$ac_exeext
22377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22378 (eval $ac_link) 2>&5
22380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22381 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22383 (eval $ac_try) 2>&5
22385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22386 (exit $ac_status); }; }; then
22387 have_working_stat
=yes
22389 echo "$as_me: program exited with status $ac_status" >&5
22390 echo "$as_me: failed program was:" >&5
22391 sed 's/^/| /' conftest.
$ac_ext >&5
22393 ( exit $ac_status )
22394 have_working_stat
=no
22396 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22399 echo "$as_me:$LINENO: result: $have_working_stat" >&5
22400 echo "${ECHO_T}$have_working_stat" >&6
22401 if test x
"$have_working_stat" = xyes
; then
22403 cat >>confdefs.h
<<\_ACEOF
22404 #define HAVE_WORKING_STAT 1
22409 # Fallback in case isfinite is not available.
22410 echo "$as_me:$LINENO: checking for finite in -lm" >&5
22411 echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
22412 if test "${ac_cv_lib_m_finite+set}" = set; then
22413 echo $ECHO_N "(cached) $ECHO_C" >&6
22415 ac_check_lib_save_LIBS
=$LIBS
22417 if test x
$gcc_no_link = xyes
; then
22418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22420 { (exit 1); exit 1; }; }
22422 cat >conftest.
$ac_ext <<_ACEOF
22425 cat confdefs.h
>>conftest.
$ac_ext
22426 cat >>conftest.
$ac_ext <<_ACEOF
22427 /* end confdefs.h. */
22429 /* Override any gcc2 internal prototype to avoid an error. */
22433 /* We use char because int might match the return type of a gcc2
22434 builtin and then its argument prototype would still apply. */
22444 rm -f conftest.
$ac_objext conftest
$ac_exeext
22445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22446 (eval $ac_link) 2>conftest.er1
22448 grep -v '^ *+' conftest.er1
>conftest.err
22450 cat conftest.err
>&5
22451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22452 (exit $ac_status); } &&
22453 { ac_try
='test -z "$ac_c_werror_flag"
22454 || test ! -s conftest.err'
22455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22456 (eval $ac_try) 2>&5
22458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22459 (exit $ac_status); }; } &&
22460 { ac_try
='test -s conftest$ac_exeext'
22461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22462 (eval $ac_try) 2>&5
22464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22465 (exit $ac_status); }; }; then
22466 ac_cv_lib_m_finite
=yes
22468 echo "$as_me: failed program was:" >&5
22469 sed 's/^/| /' conftest.
$ac_ext >&5
22471 ac_cv_lib_m_finite
=no
22473 rm -f conftest.err conftest.
$ac_objext \
22474 conftest
$ac_exeext conftest.
$ac_ext
22475 LIBS
=$ac_check_lib_save_LIBS
22477 echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
22478 echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
22479 if test $ac_cv_lib_m_finite = yes; then
22481 cat >>confdefs.h
<<\_ACEOF
22482 #define HAVE_FINITE 1
22488 # Check for GNU libc feenableexcept
22489 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
22490 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
22491 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
22492 echo $ECHO_N "(cached) $ECHO_C" >&6
22494 ac_check_lib_save_LIBS
=$LIBS
22496 if test x
$gcc_no_link = xyes
; then
22497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22499 { (exit 1); exit 1; }; }
22501 cat >conftest.
$ac_ext <<_ACEOF
22504 cat confdefs.h
>>conftest.
$ac_ext
22505 cat >>conftest.
$ac_ext <<_ACEOF
22506 /* end confdefs.h. */
22508 /* Override any gcc2 internal prototype to avoid an error. */
22512 /* We use char because int might match the return type of a gcc2
22513 builtin and then its argument prototype would still apply. */
22514 char feenableexcept ();
22523 rm -f conftest.
$ac_objext conftest
$ac_exeext
22524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22525 (eval $ac_link) 2>conftest.er1
22527 grep -v '^ *+' conftest.er1
>conftest.err
22529 cat conftest.err
>&5
22530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531 (exit $ac_status); } &&
22532 { ac_try
='test -z "$ac_c_werror_flag"
22533 || test ! -s conftest.err'
22534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22535 (eval $ac_try) 2>&5
22537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22538 (exit $ac_status); }; } &&
22539 { ac_try
='test -s conftest$ac_exeext'
22540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22541 (eval $ac_try) 2>&5
22543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22544 (exit $ac_status); }; }; then
22545 ac_cv_lib_m_feenableexcept
=yes
22547 echo "$as_me: failed program was:" >&5
22548 sed 's/^/| /' conftest.
$ac_ext >&5
22550 ac_cv_lib_m_feenableexcept
=no
22552 rm -f conftest.err conftest.
$ac_objext \
22553 conftest
$ac_exeext conftest.
$ac_ext
22554 LIBS
=$ac_check_lib_save_LIBS
22556 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
22557 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
22558 if test $ac_cv_lib_m_feenableexcept = yes; then
22559 have_feenableexcept
=yes
22560 cat >>confdefs.h
<<\_ACEOF
22561 #define HAVE_FEENABLEEXCEPT 1
22567 # Check for SysV fpsetmask
22569 echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
22570 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
22571 if test "${have_fpsetmask+set}" = set; then
22572 echo $ECHO_N "(cached) $ECHO_C" >&6
22575 if test x
$gcc_no_link = xyes
; then
22576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22578 { (exit 1); exit 1; }; }
22580 cat >conftest.
$ac_ext <<_ACEOF
22583 cat confdefs.h
>>conftest.
$ac_ext
22584 cat >>conftest.
$ac_ext <<_ACEOF
22585 /* end confdefs.h. */
22587 #if HAVE_FLOATINGPOINT_H
22588 # include <floatingpoint.h>
22589 #endif /* HAVE_FLOATINGPOINT_H */
22591 # include <ieeefp.h>
22592 #endif /* HAVE_IEEEFP_H */
22601 rm -f conftest.
$ac_objext conftest
$ac_exeext
22602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22603 (eval $ac_link) 2>conftest.er1
22605 grep -v '^ *+' conftest.er1
>conftest.err
22607 cat conftest.err
>&5
22608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22609 (exit $ac_status); } &&
22610 { ac_try
='test -z "$ac_c_werror_flag"
22611 || test ! -s conftest.err'
22612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22613 (eval $ac_try) 2>&5
22615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22616 (exit $ac_status); }; } &&
22617 { ac_try
='test -s conftest$ac_exeext'
22618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22619 (eval $ac_try) 2>&5
22621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22622 (exit $ac_status); }; }; then
22623 eval "have_fpsetmask=yes"
22625 echo "$as_me: failed program was:" >&5
22626 sed 's/^/| /' conftest.
$ac_ext >&5
22628 eval "have_fpsetmask=no"
22630 rm -f conftest.err conftest.
$ac_objext \
22631 conftest
$ac_exeext conftest.
$ac_ext
22634 echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
22635 echo "${ECHO_T}$have_fpsetmask" >&6
22636 if test x
"$have_fpsetmask" = xyes
; then
22638 cat >>confdefs.h
<<\_ACEOF
22639 #define HAVE_FPSETMASK 1
22645 # Check for AIX fp_trap and fp_enable
22646 echo "$as_me:$LINENO: checking for fp_trap" >&5
22647 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
22648 if test "${ac_cv_func_fp_trap+set}" = set; then
22649 echo $ECHO_N "(cached) $ECHO_C" >&6
22651 if test x
$gcc_no_link = xyes
; then
22652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22654 { (exit 1); exit 1; }; }
22656 cat >conftest.
$ac_ext <<_ACEOF
22659 cat confdefs.h
>>conftest.
$ac_ext
22660 cat >>conftest.
$ac_ext <<_ACEOF
22661 /* end confdefs.h. */
22662 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
22663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22664 #define fp_trap innocuous_fp_trap
22666 /* System header to define __stub macros and hopefully few prototypes,
22667 which can conflict with char fp_trap (); below.
22668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22669 <limits.h> exists even on freestanding compilers. */
22672 # include <limits.h>
22674 # include <assert.h>
22679 /* Override any gcc2 internal prototype to avoid an error. */
22684 /* We use char because int might match the return type of a gcc2
22685 builtin and then its argument prototype would still apply. */
22687 /* The GNU C library defines this for functions which it implements
22688 to always fail with ENOSYS. Some functions are actually named
22689 something starting with __ and the normal name is an alias. */
22690 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
22693 char (*f) () = fp_trap;
22702 return f != fp_trap;
22707 rm -f conftest.
$ac_objext conftest
$ac_exeext
22708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22709 (eval $ac_link) 2>conftest.er1
22711 grep -v '^ *+' conftest.er1
>conftest.err
22713 cat conftest.err
>&5
22714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715 (exit $ac_status); } &&
22716 { ac_try
='test -z "$ac_c_werror_flag"
22717 || test ! -s conftest.err'
22718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22719 (eval $ac_try) 2>&5
22721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22722 (exit $ac_status); }; } &&
22723 { ac_try
='test -s conftest$ac_exeext'
22724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22725 (eval $ac_try) 2>&5
22727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22728 (exit $ac_status); }; }; then
22729 ac_cv_func_fp_trap
=yes
22731 echo "$as_me: failed program was:" >&5
22732 sed 's/^/| /' conftest.
$ac_ext >&5
22734 ac_cv_func_fp_trap
=no
22736 rm -f conftest.err conftest.
$ac_objext \
22737 conftest
$ac_exeext conftest.
$ac_ext
22739 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
22740 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
22741 if test $ac_cv_func_fp_trap = yes; then
22743 cat >>confdefs.h
<<\_ACEOF
22744 #define HAVE_FP_TRAP 1
22749 echo "$as_me:$LINENO: checking for fp_enable" >&5
22750 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
22751 if test "${ac_cv_func_fp_enable+set}" = set; then
22752 echo $ECHO_N "(cached) $ECHO_C" >&6
22754 if test x
$gcc_no_link = xyes
; then
22755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22757 { (exit 1); exit 1; }; }
22759 cat >conftest.
$ac_ext <<_ACEOF
22762 cat confdefs.h
>>conftest.
$ac_ext
22763 cat >>conftest.
$ac_ext <<_ACEOF
22764 /* end confdefs.h. */
22765 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
22766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22767 #define fp_enable innocuous_fp_enable
22769 /* System header to define __stub macros and hopefully few prototypes,
22770 which can conflict with char fp_enable (); below.
22771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22772 <limits.h> exists even on freestanding compilers. */
22775 # include <limits.h>
22777 # include <assert.h>
22782 /* Override any gcc2 internal prototype to avoid an error. */
22787 /* We use char because int might match the return type of a gcc2
22788 builtin and then its argument prototype would still apply. */
22790 /* The GNU C library defines this for functions which it implements
22791 to always fail with ENOSYS. Some functions are actually named
22792 something starting with __ and the normal name is an alias. */
22793 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
22796 char (*f) () = fp_enable;
22805 return f != fp_enable;
22810 rm -f conftest.
$ac_objext conftest
$ac_exeext
22811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22812 (eval $ac_link) 2>conftest.er1
22814 grep -v '^ *+' conftest.er1
>conftest.err
22816 cat conftest.err
>&5
22817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22818 (exit $ac_status); } &&
22819 { ac_try
='test -z "$ac_c_werror_flag"
22820 || test ! -s conftest.err'
22821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22822 (eval $ac_try) 2>&5
22824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22825 (exit $ac_status); }; } &&
22826 { ac_try
='test -s conftest$ac_exeext'
22827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22828 (eval $ac_try) 2>&5
22830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22831 (exit $ac_status); }; }; then
22832 ac_cv_func_fp_enable
=yes
22834 echo "$as_me: failed program was:" >&5
22835 sed 's/^/| /' conftest.
$ac_ext >&5
22837 ac_cv_func_fp_enable
=no
22839 rm -f conftest.err conftest.
$ac_objext \
22840 conftest
$ac_exeext conftest.
$ac_ext
22842 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
22843 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
22844 if test $ac_cv_func_fp_enable = yes; then
22846 cat >>confdefs.h
<<\_ACEOF
22847 #define HAVE_FP_ENABLE 1
22853 # Runs configure.host to set up necessary host-dependent shell variables.
22854 # We then display a message about it, and propagate them through the
22856 .
${srcdir}/configure.
host
22857 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
22858 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
22859 FPU_HOST_HEADER
=config
/${fpu_host}.h
22862 # The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
22863 # for struct timezone, as you might think. We also need to check how
22864 # to call gettimeofday if we have it.
22865 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
22866 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
22867 if test "${ac_cv_header_time+set}" = set; then
22868 echo $ECHO_N "(cached) $ECHO_C" >&6
22870 cat >conftest.
$ac_ext <<_ACEOF
22873 cat confdefs.h
>>conftest.
$ac_ext
22874 cat >>conftest.
$ac_ext <<_ACEOF
22875 /* end confdefs.h. */
22876 #include <sys/types.h>
22877 #include <sys/time.h>
22883 if ((struct tm *) 0)
22889 rm -f conftest.
$ac_objext
22890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22891 (eval $ac_compile) 2>conftest.er1
22893 grep -v '^ *+' conftest.er1
>conftest.err
22895 cat conftest.err
>&5
22896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22897 (exit $ac_status); } &&
22898 { ac_try
='test -z "$ac_c_werror_flag"
22899 || test ! -s conftest.err'
22900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22901 (eval $ac_try) 2>&5
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); }; } &&
22905 { ac_try
='test -s conftest.$ac_objext'
22906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22907 (eval $ac_try) 2>&5
22909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22910 (exit $ac_status); }; }; then
22911 ac_cv_header_time
=yes
22913 echo "$as_me: failed program was:" >&5
22914 sed 's/^/| /' conftest.
$ac_ext >&5
22916 ac_cv_header_time
=no
22918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22920 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
22921 echo "${ECHO_T}$ac_cv_header_time" >&6
22922 if test $ac_cv_header_time = yes; then
22924 cat >>confdefs.h
<<\_ACEOF
22925 #define TIME_WITH_SYS_TIME 1
22932 for ac_func
in gettimeofday
22934 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22935 echo "$as_me:$LINENO: checking for $ac_func" >&5
22936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22937 if eval "test \"\${$as_ac_var+set}\" = set"; then
22938 echo $ECHO_N "(cached) $ECHO_C" >&6
22940 if test x
$gcc_no_link = xyes
; then
22941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22943 { (exit 1); exit 1; }; }
22945 cat >conftest.
$ac_ext <<_ACEOF
22948 cat confdefs.h
>>conftest.
$ac_ext
22949 cat >>conftest.
$ac_ext <<_ACEOF
22950 /* end confdefs.h. */
22951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22953 #define $ac_func innocuous_$ac_func
22955 /* System header to define __stub macros and hopefully few prototypes,
22956 which can conflict with char $ac_func (); below.
22957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22958 <limits.h> exists even on freestanding compilers. */
22961 # include <limits.h>
22963 # include <assert.h>
22968 /* Override any gcc2 internal prototype to avoid an error. */
22973 /* We use char because int might match the return type of a gcc2
22974 builtin and then its argument prototype would still apply. */
22976 /* The GNU C library defines this for functions which it implements
22977 to always fail with ENOSYS. Some functions are actually named
22978 something starting with __ and the normal name is an alias. */
22979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22982 char (*f) () = $ac_func;
22991 return f != $ac_func;
22996 rm -f conftest.
$ac_objext conftest
$ac_exeext
22997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22998 (eval $ac_link) 2>conftest.er1
23000 grep -v '^ *+' conftest.er1
>conftest.err
23002 cat conftest.err
>&5
23003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23004 (exit $ac_status); } &&
23005 { ac_try
='test -z "$ac_c_werror_flag"
23006 || test ! -s conftest.err'
23007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23008 (eval $ac_try) 2>&5
23010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23011 (exit $ac_status); }; } &&
23012 { ac_try
='test -s conftest$ac_exeext'
23013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23014 (eval $ac_try) 2>&5
23016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23017 (exit $ac_status); }; }; then
23018 eval "$as_ac_var=yes"
23020 echo "$as_me: failed program was:" >&5
23021 sed 's/^/| /' conftest.
$ac_ext >&5
23023 eval "$as_ac_var=no"
23025 rm -f conftest.err conftest.
$ac_objext \
23026 conftest
$ac_exeext conftest.
$ac_ext
23028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23030 if test `eval echo '${'$as_ac_var'}'` = yes; then
23031 cat >>confdefs.h
<<_ACEOF
23032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23038 if test "$ac_cv_func_gettimeofday" = yes; then
23039 echo "$as_me:$LINENO: checking for struct timezone" >&5
23040 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
23041 if test "${gfor_cv_struct_timezone+set}" = set; then
23042 echo $ECHO_N "(cached) $ECHO_C" >&6
23044 cat >conftest.
$ac_ext <<_ACEOF
23047 cat confdefs.h
>>conftest.
$ac_ext
23048 cat >>conftest.
$ac_ext <<_ACEOF
23049 /* end confdefs.h. */
23050 #include <sys/time.h>
23054 struct timezone tz;
23059 rm -f conftest.
$ac_objext
23060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23061 (eval $ac_compile) 2>conftest.er1
23063 grep -v '^ *+' conftest.er1
>conftest.err
23065 cat conftest.err
>&5
23066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067 (exit $ac_status); } &&
23068 { ac_try
='test -z "$ac_c_werror_flag"
23069 || test ! -s conftest.err'
23070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23071 (eval $ac_try) 2>&5
23073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23074 (exit $ac_status); }; } &&
23075 { ac_try
='test -s conftest.$ac_objext'
23076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23077 (eval $ac_try) 2>&5
23079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080 (exit $ac_status); }; }; then
23081 gfor_cv_struct_timezone
=yes
23083 echo "$as_me: failed program was:" >&5
23084 sed 's/^/| /' conftest.
$ac_ext >&5
23086 gfor_cv_struct_timezone
=no
23088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23090 echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
23091 echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
23092 if test $gfor_cv_struct_timezone = yes; then
23093 if test "$cross_compiling" = yes; then
23094 gfor_have_struct_timezone
=yes
23096 cat >conftest.
$ac_ext <<_ACEOF
23099 cat confdefs.h
>>conftest.
$ac_ext
23100 cat >>conftest.
$ac_ext <<_ACEOF
23101 /* end confdefs.h. */
23103 #ifdef TIME_WITH_SYS_TIME
23104 #include <sys/time.h>
23107 #ifdef HAVE_SYS_TIME_H
23108 #include <sys/time.h>
23115 struct timeval time;
23116 struct timezone dummy;
23117 if (gettimeofday (&time, &dummy))
23123 rm -f conftest
$ac_exeext
23124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23125 (eval $ac_link) 2>&5
23127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23128 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23130 (eval $ac_try) 2>&5
23132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23133 (exit $ac_status); }; }; then
23134 gfor_have_struct_timezone
=yes
23136 echo "$as_me: program exited with status $ac_status" >&5
23137 echo "$as_me: failed program was:" >&5
23138 sed 's/^/| /' conftest.
$ac_ext >&5
23140 ( exit $ac_status )
23141 gfor_have_struct_timezone
=no
23143 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23145 if test $gfor_have_struct_timezone = yes; then
23147 cat >>confdefs.h
<<\_ACEOF
23148 #define HAVE_TIMEZONE 1
23154 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
23155 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
23156 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
23157 echo $ECHO_N "(cached) $ECHO_C" >&6
23159 if test x
$gcc_no_link = xyes
; then
23160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23162 { (exit 1); exit 1; }; }
23164 cat >conftest.
$ac_ext <<_ACEOF
23167 cat confdefs.h
>>conftest.
$ac_ext
23168 cat >>conftest.
$ac_ext <<_ACEOF
23169 /* end confdefs.h. */
23171 #ifdef TIME_WITH_SYS_TIME
23172 #include <sys/time.h>
23175 #ifdef HAVE_SYS_TIME_H
23176 #include <sys/time.h>
23186 struct timeval time;
23187 #ifdef HAVE_TIMEZONE
23188 struct timezone dummy;
23189 #define DUMMY &dummy
23193 gettimeofday (&time, DUMMY);
23198 rm -f conftest.
$ac_objext conftest
$ac_exeext
23199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23200 (eval $ac_link) 2>conftest.er1
23202 grep -v '^ *+' conftest.er1
>conftest.err
23204 cat conftest.err
>&5
23205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23206 (exit $ac_status); } &&
23207 { ac_try
='test -z "$ac_c_werror_flag"
23208 || test ! -s conftest.err'
23209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23210 (eval $ac_try) 2>&5
23212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23213 (exit $ac_status); }; } &&
23214 { ac_try
='test -s conftest$ac_exeext'
23215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23216 (eval $ac_try) 2>&5
23218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23219 (exit $ac_status); }; }; then
23220 emacs_cv_gettimeofday_two_arguments
=yes
23222 echo "$as_me: failed program was:" >&5
23223 sed 's/^/| /' conftest.
$ac_ext >&5
23225 emacs_cv_gettimeofday_two_arguments
=no
23227 rm -f conftest.err conftest.
$ac_objext \
23228 conftest
$ac_exeext conftest.
$ac_ext
23230 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
23231 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
23232 if test $emacs_cv_gettimeofday_two_arguments = no
; then
23234 cat >>confdefs.h
<<\_ACEOF
23235 #define GETTIMEOFDAY_ONE_ARGUMENT 1
23241 # Attempt to assert that the target is of common type in case we don't
23242 # have C99 integer types at all.
23244 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
23245 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
23246 if test "${target_ilp32+set}" = set; then
23247 echo $ECHO_N "(cached) $ECHO_C" >&6
23250 save_CFLAGS
="$CFLAGS"
23252 if test x
$gcc_no_link = xyes
; then
23253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23255 { (exit 1); exit 1; }; }
23257 cat >conftest.
$ac_ext <<_ACEOF
23260 cat confdefs.h
>>conftest.
$ac_ext
23261 cat >>conftest.
$ac_ext <<_ACEOF
23262 /* end confdefs.h. */
23268 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
23271 undefined_function ();
23277 rm -f conftest.
$ac_objext conftest
$ac_exeext
23278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23279 (eval $ac_link) 2>conftest.er1
23281 grep -v '^ *+' conftest.er1
>conftest.err
23283 cat conftest.err
>&5
23284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23285 (exit $ac_status); } &&
23286 { ac_try
='test -z "$ac_c_werror_flag"
23287 || test ! -s conftest.err'
23288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23289 (eval $ac_try) 2>&5
23291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23292 (exit $ac_status); }; } &&
23293 { ac_try
='test -s conftest$ac_exeext'
23294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23295 (eval $ac_try) 2>&5
23297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23298 (exit $ac_status); }; }; then
23301 echo "$as_me: failed program was:" >&5
23302 sed 's/^/| /' conftest.
$ac_ext >&5
23306 rm -f conftest.err conftest.
$ac_objext \
23307 conftest
$ac_exeext conftest.
$ac_ext
23308 CFLAGS
="$save_CFLAGS"
23310 echo "$as_me:$LINENO: result: $target_ilp32" >&5
23311 echo "${ECHO_T}$target_ilp32" >&6
23312 if test $target_ilp32 = yes; then
23314 cat >>confdefs.h
<<\_ACEOF
23315 #define TARGET_ILP32 1
23321 # Check out attribute support.
23323 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
23324 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
23325 if test "${have_attribute_visibility+set}" = set; then
23326 echo $ECHO_N "(cached) $ECHO_C" >&6
23329 save_CFLAGS
="$CFLAGS"
23330 CFLAGS
="$CFLAGS -Werror"
23331 cat >conftest.
$ac_ext <<_ACEOF
23334 cat confdefs.h
>>conftest.
$ac_ext
23335 cat >>conftest.
$ac_ext <<_ACEOF
23336 /* end confdefs.h. */
23337 void __attribute__((visibility("hidden"))) foo(void) { }
23346 rm -f conftest.
$ac_objext
23347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23348 (eval $ac_compile) 2>conftest.er1
23350 grep -v '^ *+' conftest.er1
>conftest.err
23352 cat conftest.err
>&5
23353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23354 (exit $ac_status); } &&
23355 { ac_try
='test -z "$ac_c_werror_flag"
23356 || test ! -s conftest.err'
23357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23358 (eval $ac_try) 2>&5
23360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23361 (exit $ac_status); }; } &&
23362 { ac_try
='test -s conftest.$ac_objext'
23363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23364 (eval $ac_try) 2>&5
23366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23367 (exit $ac_status); }; }; then
23368 have_attribute_visibility
=yes
23370 echo "$as_me: failed program was:" >&5
23371 sed 's/^/| /' conftest.
$ac_ext >&5
23373 have_attribute_visibility
=no
23375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23376 CFLAGS
="$save_CFLAGS"
23378 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
23379 echo "${ECHO_T}$have_attribute_visibility" >&6
23380 if test $have_attribute_visibility = yes; then
23382 cat >>confdefs.h
<<\_ACEOF
23383 #define HAVE_ATTRIBUTE_VISIBILITY 1
23388 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
23389 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
23390 if test "${have_attribute_dllexport+set}" = set; then
23391 echo $ECHO_N "(cached) $ECHO_C" >&6
23394 save_CFLAGS
="$CFLAGS"
23395 CFLAGS
="$CFLAGS -Werror"
23396 cat >conftest.
$ac_ext <<_ACEOF
23399 cat confdefs.h
>>conftest.
$ac_ext
23400 cat >>conftest.
$ac_ext <<_ACEOF
23401 /* end confdefs.h. */
23402 void __attribute__((dllexport)) foo(void) { }
23411 rm -f conftest.
$ac_objext
23412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23413 (eval $ac_compile) 2>conftest.er1
23415 grep -v '^ *+' conftest.er1
>conftest.err
23417 cat conftest.err
>&5
23418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23419 (exit $ac_status); } &&
23420 { ac_try
='test -z "$ac_c_werror_flag"
23421 || test ! -s conftest.err'
23422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23423 (eval $ac_try) 2>&5
23425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23426 (exit $ac_status); }; } &&
23427 { ac_try
='test -s conftest.$ac_objext'
23428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23429 (eval $ac_try) 2>&5
23431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23432 (exit $ac_status); }; }; then
23433 have_attribute_dllexport
=yes
23435 echo "$as_me: failed program was:" >&5
23436 sed 's/^/| /' conftest.
$ac_ext >&5
23438 have_attribute_dllexport
=no
23440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23441 CFLAGS
="$save_CFLAGS"
23443 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
23444 echo "${ECHO_T}$have_attribute_dllexport" >&6
23445 if test $have_attribute_dllexport = yes; then
23447 cat >>confdefs.h
<<\_ACEOF
23448 #define HAVE_ATTRIBUTE_DLLEXPORT 1
23453 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
23454 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
23455 if test "${have_attribute_alias+set}" = set; then
23456 echo $ECHO_N "(cached) $ECHO_C" >&6
23459 if test x
$gcc_no_link = xyes
; then
23460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23462 { (exit 1); exit 1; }; }
23464 cat >conftest.
$ac_ext <<_ACEOF
23467 cat confdefs.h
>>conftest.
$ac_ext
23468 cat >>conftest.
$ac_ext <<_ACEOF
23469 /* end confdefs.h. */
23471 #define ULP STR1(__USER_LABEL_PREFIX__)
23472 #define STR1(x) STR2(x)
23475 extern void bar(void) __attribute__((alias(ULP "foo")));
23484 rm -f conftest.
$ac_objext conftest
$ac_exeext
23485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23486 (eval $ac_link) 2>conftest.er1
23488 grep -v '^ *+' conftest.er1
>conftest.err
23490 cat conftest.err
>&5
23491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23492 (exit $ac_status); } &&
23493 { ac_try
='test -z "$ac_c_werror_flag"
23494 || test ! -s conftest.err'
23495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23496 (eval $ac_try) 2>&5
23498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499 (exit $ac_status); }; } &&
23500 { ac_try
='test -s conftest$ac_exeext'
23501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23502 (eval $ac_try) 2>&5
23504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23505 (exit $ac_status); }; }; then
23506 have_attribute_alias
=yes
23508 echo "$as_me: failed program was:" >&5
23509 sed 's/^/| /' conftest.
$ac_ext >&5
23511 have_attribute_alias
=no
23513 rm -f conftest.err conftest.
$ac_objext \
23514 conftest
$ac_exeext conftest.
$ac_ext
23516 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
23517 echo "${ECHO_T}$have_attribute_alias" >&6
23518 if test $have_attribute_alias = yes; then
23520 cat >>confdefs.h
<<\_ACEOF
23521 #define HAVE_ATTRIBUTE_ALIAS 1
23526 # Check out sync builtins support.
23528 echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
23529 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
23530 if test "${have_sync_fetch_and_add+set}" = set; then
23531 echo $ECHO_N "(cached) $ECHO_C" >&6
23534 if test x
$gcc_no_link = xyes
; then
23535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23537 { (exit 1); exit 1; }; }
23539 cat >conftest.
$ac_ext <<_ACEOF
23542 cat confdefs.h
>>conftest.
$ac_ext
23543 cat >>conftest.
$ac_ext <<_ACEOF
23544 /* end confdefs.h. */
23550 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
23551 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
23556 rm -f conftest.
$ac_objext conftest
$ac_exeext
23557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23558 (eval $ac_link) 2>conftest.er1
23560 grep -v '^ *+' conftest.er1
>conftest.err
23562 cat conftest.err
>&5
23563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23564 (exit $ac_status); } &&
23565 { ac_try
='test -z "$ac_c_werror_flag"
23566 || test ! -s conftest.err'
23567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23568 (eval $ac_try) 2>&5
23570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23571 (exit $ac_status); }; } &&
23572 { ac_try
='test -s conftest$ac_exeext'
23573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23574 (eval $ac_try) 2>&5
23576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23577 (exit $ac_status); }; }; then
23578 have_sync_fetch_and_add
=yes
23580 echo "$as_me: failed program was:" >&5
23581 sed 's/^/| /' conftest.
$ac_ext >&5
23583 have_sync_fetch_and_add
=no
23585 rm -f conftest.err conftest.
$ac_objext \
23586 conftest
$ac_exeext conftest.
$ac_ext
23588 echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
23589 echo "${ECHO_T}$have_sync_fetch_and_add" >&6
23590 if test $have_sync_fetch_and_add = yes; then
23592 cat >>confdefs.h
<<\_ACEOF
23593 #define HAVE_SYNC_FETCH_AND_ADD 1
23598 # Check out thread support.
23600 echo "$as_me:$LINENO: checking configured target thread model" >&5
23601 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
23602 if test "${target_thread_file+set}" = set; then
23603 echo $ECHO_N "(cached) $ECHO_C" >&6
23606 target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
23608 echo "$as_me:$LINENO: result: $target_thread_file" >&5
23609 echo "${ECHO_T}$target_thread_file" >&6
23611 if test $target_thread_file != single
; then
23613 cat >>confdefs.h
<<\_ACEOF
23614 #define HAVE_GTHR_DEFAULT 1
23619 # Check out #pragma weak.
23621 echo "$as_me:$LINENO: checking whether pragma weak works" >&5
23622 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
23623 if test "${have_pragma_weak+set}" = set; then
23624 echo $ECHO_N "(cached) $ECHO_C" >&6
23627 gfor_save_CFLAGS
="$CFLAGS"
23628 CFLAGS
="$CFLAGS -Wunknown-pragmas"
23629 cat >conftest.
$ac_ext <<_ACEOF
23632 cat confdefs.h
>>conftest.
$ac_ext
23633 cat >>conftest.
$ac_ext <<_ACEOF
23634 /* end confdefs.h. */
23645 rm -f conftest.
$ac_objext
23646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23647 (eval $ac_compile) 2>conftest.er1
23649 grep -v '^ *+' conftest.er1
>conftest.err
23651 cat conftest.err
>&5
23652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653 (exit $ac_status); } &&
23654 { ac_try
='test -z "$ac_c_werror_flag"
23655 || test ! -s conftest.err'
23656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23657 (eval $ac_try) 2>&5
23659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23660 (exit $ac_status); }; } &&
23661 { ac_try
='test -s conftest.$ac_objext'
23662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23663 (eval $ac_try) 2>&5
23665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23666 (exit $ac_status); }; }; then
23667 have_pragma_weak
=yes
23669 echo "$as_me: failed program was:" >&5
23670 sed 's/^/| /' conftest.
$ac_ext >&5
23672 have_pragma_weak
=no
23674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23676 echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
23677 echo "${ECHO_T}$have_pragma_weak" >&6
23678 if test $have_pragma_weak = yes; then
23680 cat >>confdefs.h
<<\_ACEOF
23681 #define SUPPORTS_WEAK 1
23686 *-*-darwin* |
*-*-hpux* |
*-*-cygwin*)
23688 cat >>confdefs.h
<<\_ACEOF
23689 #define GTHREAD_USE_WEAK 0
23695 # Various other checks on target
23697 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
23698 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
23699 if test "${have_unlink_open_file+set}" = set; then
23700 echo $ECHO_N "(cached) $ECHO_C" >&6
23703 if test "$cross_compiling" = yes; then
23705 case "${target}" in
23706 *mingw
*) have_unlink_open_file
=no
;;
23707 *) have_unlink_open_file
=yes;;
23710 cat >conftest.
$ac_ext <<_ACEOF
23713 cat confdefs.h
>>conftest.
$ac_ext
23714 cat >>conftest.
$ac_ext <<_ACEOF
23715 /* end confdefs.h. */
23719 #include <unistd.h>
23720 #include <sys/stat.h>
23726 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
23729 if (unlink ("testfile") == -1)
23731 write (fd, "This is a test\n", 15);
23734 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
23740 rm -f conftest
$ac_exeext
23741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23742 (eval $ac_link) 2>&5
23744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23745 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23747 (eval $ac_try) 2>&5
23749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23750 (exit $ac_status); }; }; then
23751 have_unlink_open_file
=yes
23753 echo "$as_me: program exited with status $ac_status" >&5
23754 echo "$as_me: failed program was:" >&5
23755 sed 's/^/| /' conftest.
$ac_ext >&5
23757 ( exit $ac_status )
23758 have_unlink_open_file
=no
23760 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23763 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
23764 echo "${ECHO_T}$have_unlink_open_file" >&6
23765 if test x
"$have_unlink_open_file" = xyes
; then
23767 cat >>confdefs.h
<<\_ACEOF
23768 #define HAVE_UNLINK_OPEN_FILE 1
23773 # Check whether line terminator is LF or CRLF
23775 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
23776 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
23777 if test "${have_crlf+set}" = set; then
23778 echo $ECHO_N "(cached) $ECHO_C" >&6
23781 if test "$cross_compiling" = yes; then
23783 case "${target}" in
23784 *mingw
*) have_crlf
=yes ;;
23788 cat >conftest.
$ac_ext <<_ACEOF
23791 cat confdefs.h
>>conftest.
$ac_ext
23792 cat >>conftest.
$ac_ext <<_ACEOF
23793 /* end confdefs.h. */
23795 /* This test program should exit with status 0 if system uses a CRLF as
23796 line terminator, and status 1 otherwise.
23797 Since it is used to check for mingw systems, and should return 0 in any
23798 other case, in case of a failure we will not use CRLF. */
23799 #include <sys/stat.h>
23800 #include <stdlib.h>
23812 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
23815 if (write (fd, "\n", 1) < 0)
23820 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
23822 bytes = read (fd, buff, 5);
23823 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
23830 rm -f conftest
$ac_exeext
23831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23832 (eval $ac_link) 2>&5
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23837 (eval $ac_try) 2>&5
23839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23840 (exit $ac_status); }; }; then
23843 echo "$as_me: program exited with status $ac_status" >&5
23844 echo "$as_me: failed program was:" >&5
23845 sed 's/^/| /' conftest.
$ac_ext >&5
23847 ( exit $ac_status )
23850 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23853 echo "$as_me:$LINENO: result: $have_crlf" >&5
23854 echo "${ECHO_T}$have_crlf" >&6
23855 if test x
"$have_crlf" = xyes
; then
23857 cat >>confdefs.h
<<\_ACEOF
23858 #define HAVE_CRLF 1
23863 cat >confcache
<<\_ACEOF
23864 # This file is a shell script that caches the results of configure
23865 # tests run on this system so they can be shared between configure
23866 # scripts and configure runs, see configure's option --config-cache.
23867 # It is not useful on other systems. If it contains results you don't
23868 # want to keep, you may remove or edit it.
23870 # config.status only pays attention to the cache file if you give it
23871 # the --recheck option to rerun configure.
23873 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23874 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23875 # following values.
23879 # The following way of writing the cache mishandles newlines in values,
23880 # but we know of no workaround that is simple, portable, and efficient.
23881 # So, don't put newlines in cache variables' values.
23882 # Ultrix sh set writes to stderr and can't be redirected directly,
23883 # and sets the high bit in the cache file unless we assign to the vars.
23886 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23888 # `set' does not quote correctly, so add quotes (double-quote
23889 # substitution turns \\\\ into \\, and sed turns \\ into \).
23892 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23895 # `set' quotes correctly as required by POSIX, so do not add quotes.
23897 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23904 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23906 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23908 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23909 if test -w $cache_file; then
23910 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23911 cat confcache
>$cache_file
23913 echo "not updating unwritable cache $cache_file"
23918 if test ${multilib} = yes; then
23919 multilib_arg
="--enable-multilib"
23924 # Write our Makefile.
23925 ac_config_files
="$ac_config_files Makefile"
23927 cat >confcache
<<\_ACEOF
23928 # This file is a shell script that caches the results of configure
23929 # tests run on this system so they can be shared between configure
23930 # scripts and configure runs, see configure's option --config-cache.
23931 # It is not useful on other systems. If it contains results you don't
23932 # want to keep, you may remove or edit it.
23934 # config.status only pays attention to the cache file if you give it
23935 # the --recheck option to rerun configure.
23937 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23938 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23939 # following values.
23943 # The following way of writing the cache mishandles newlines in values,
23944 # but we know of no workaround that is simple, portable, and efficient.
23945 # So, don't put newlines in cache variables' values.
23946 # Ultrix sh set writes to stderr and can't be redirected directly,
23947 # and sets the high bit in the cache file unless we assign to the vars.
23950 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23952 # `set' does not quote correctly, so add quotes (double-quote
23953 # substitution turns \\\\ into \\, and sed turns \\ into \).
23956 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23959 # `set' quotes correctly as required by POSIX, so do not add quotes.
23961 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23968 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23970 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23972 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23973 if test -w $cache_file; then
23974 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23975 cat confcache
>$cache_file
23977 echo "not updating unwritable cache $cache_file"
23982 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
23983 # Let make expand exec_prefix.
23984 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
23986 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23987 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23988 # trailing colons and then remove the whole line if VPATH becomes empty
23989 # (actually we leave an empty line to preserve line numbers).
23990 if test "x$srcdir" = x.
; then
23991 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
23992 s/:*\$(srcdir):*/:/;
23993 s/:*\${srcdir}:*/:/;
23995 s/^\([^=]*=[ ]*\):*/\1/;
24001 DEFS
=-DHAVE_CONFIG_H
24005 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
24006 # 1. Remove the extension, and $U if already installed.
24007 ac_i
=`echo "$ac_i" |
24008 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
24010 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
24011 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
24013 LIBOBJS
=$ac_libobjs
24015 LTLIBOBJS
=$ac_ltlibobjs
24018 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24019 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
24020 Usually this means the macro was only invoked conditionally." >&5
24021 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
24022 Usually this means the macro was only invoked conditionally." >&2;}
24023 { (exit 1); exit 1; }; }
24026 : ${CONFIG_STATUS=./config.status}
24027 ac_clean_files_save
=$ac_clean_files
24028 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
24029 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24030 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24031 cat >$CONFIG_STATUS <<_ACEOF
24033 # Generated by $as_me.
24034 # Run this file to recreate the current configuration.
24035 # Compiler output produced by configure, useful for debugging
24036 # configure, is in config.log if it exists.
24039 ac_cs_recheck=false
24041 SHELL=\${CONFIG_SHELL-$SHELL}
24044 cat >>$CONFIG_STATUS <<\_ACEOF
24045 ## --------------------- ##
24046 ## M4sh Initialization. ##
24047 ## --------------------- ##
24049 # Be Bourne compatible
24050 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
24053 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24054 # is contrary to our usage. Disable this feature.
24055 alias -g '${1+"$@"}'='"$@"'
24056 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24059 DUALCASE
=1; export DUALCASE
# for MKS sh
24061 # Support unset when possible.
24062 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
24069 # Work around bugs in pre-3.0 UWIN ksh.
24070 $as_unset ENV MAIL MAILPATH
24077 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24078 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24079 LC_TELEPHONE LC_TIME
24081 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24082 eval $as_var=C
; export $as_var
24088 # Required to use basename.
24089 if expr a
: '\(a\)' >/dev
/null
2>&1; then
24095 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
24096 as_basename
=basename
24102 # Name of the executable.
24103 as_me
=`$as_basename "$0" ||
24104 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24105 X"$0" : 'X\(//\)$' \| \
24106 X"$0" : 'X\(/\)$' \| \
24107 . : '\(.\)' 2>/dev/null ||
24109 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
24110 /^X\/\(\/\/\)$/{ s//\1/; q; }
24111 /^X\/\(\/\).*/{ s//\1/; q; }
24115 # PATH needs CR, and LINENO needs CR and PATH.
24116 # Avoid depending upon Character Ranges.
24117 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
24118 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24119 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
24120 as_cr_digits
='0123456789'
24121 as_cr_alnum
=$as_cr_Letters$as_cr_digits
24123 # The user is always right.
24124 if test "${PATH_SEPARATOR+set}" != set; then
24125 echo "#! /bin/sh" >conf$$.sh
24126 echo "exit 0" >>conf$$.sh
24128 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
24137 as_lineno_1
=$LINENO
24138 as_lineno_2
=$LINENO
24139 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
24140 test "x$as_lineno_1" != "x$as_lineno_2" &&
24141 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
24142 # Find who we are. Look in the path if we contain no path at all
24145 *[\\/]* ) as_myself
=$0 ;;
24146 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24147 for as_dir
in $PATH
24150 test -z "$as_dir" && as_dir
=.
24151 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
24156 # We did not find ourselves, most probably we were run as `sh COMMAND'
24157 # in which case we are not to be found in the path.
24158 if test "x$as_myself" = x
; then
24161 if test ! -f "$as_myself"; then
24162 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
24163 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
24164 { (exit 1); exit 1; }; }
24166 case $CONFIG_SHELL in
24168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24169 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
24172 test -z "$as_dir" && as_dir
=.
24173 for as_base
in sh bash ksh sh5
; do
24176 if ("$as_dir/$as_base" -c '
24177 as_lineno_1=$LINENO
24178 as_lineno_2=$LINENO
24179 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24180 test "x$as_lineno_1" != "x$as_lineno_2" &&
24181 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
24182 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
24183 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
24184 CONFIG_SHELL
=$as_dir/$as_base
24185 export CONFIG_SHELL
24186 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
24194 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24195 # uniformly replaced by the line number. The first 'sed' inserts a
24196 # line-number line before each line; the second 'sed' does the real
24197 # work. The second script uses 'N' to pair each line-number line
24198 # with the numbered line, and appends trailing '-' during
24199 # substitution so that $LINENO is not a special case at line end.
24200 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24201 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
24202 sed '=' <$as_myself |
24207 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
24210 s,^['$as_cr_digits']*\n,,
24211 ' >$as_me.lineno
&&
24212 chmod +x
$as_me.lineno ||
24213 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
24214 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
24215 { (exit 1); exit 1; }; }
24217 # Don't try to exec as it changes $[0], causing all sort of problems
24218 # (the dirname of $[0] is not the place where we might find the
24219 # original and so on. Autoconf is especially sensible to this).
24221 # Exit status is that of the last command.
24226 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
24227 *c
*,-n*) ECHO_N
= ECHO_C
='
24229 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
24230 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
24233 if expr a
: '\(a\)' >/dev
/null
2>&1; then
24239 rm -f conf$$ conf$$.exe conf$$.
file
24241 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24242 # We could just check for DJGPP; but this test a) works b) is more generic
24243 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
24244 if test -f conf$$.exe
; then
24245 # Don't use ln at all; we don't have any links
24250 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24255 rm -f conf$$ conf$$.exe conf$$.
file
24257 if mkdir
-p .
2>/dev
/null
; then
24260 test -d .
/-p && rmdir .
/-p
24264 as_executable_p
="test -f"
24266 # Sed expression to map a string onto a valid CPP name.
24267 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24269 # Sed expression to map a string onto a valid variable name.
24270 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24274 # We need space, tab and new line, in precisely that order.
24284 # Open the log real soon, to keep \$[0] and so on meaningful, and to
24285 # report actual input values of CONFIG_FILES etc. instead of their
24286 # values after options handling. Logging --version etc. is OK.
24290 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24291 ## Running $as_me. ##
24296 This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
24297 generated by GNU Autoconf 2.59. Invocation command line was
24299 CONFIG_FILES = $CONFIG_FILES
24300 CONFIG_HEADERS = $CONFIG_HEADERS
24301 CONFIG_LINKS = $CONFIG_LINKS
24302 CONFIG_COMMANDS = $CONFIG_COMMANDS
24306 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
24310 # Files that config.status was made for.
24311 if test -n "$ac_config_files"; then
24312 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
24315 if test -n "$ac_config_headers"; then
24316 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
24319 if test -n "$ac_config_links"; then
24320 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
24323 if test -n "$ac_config_commands"; then
24324 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
24327 cat >>$CONFIG_STATUS <<\_ACEOF
24330 \`$as_me' instantiates files from templates according to the
24331 current configuration.
24333 Usage: $0 [OPTIONS] [FILE]...
24335 -h, --help print this help, then exit
24336 -V, --version print version number, then exit
24337 -q, --quiet do not print progress messages
24338 -d, --debug don't remove temporary files
24339 --recheck update $as_me by reconfiguring in the same conditions
24340 --file=FILE[:TEMPLATE]
24341 instantiate the configuration file FILE
24342 --header=FILE[:TEMPLATE]
24343 instantiate the configuration header FILE
24345 Configuration files:
24348 Configuration headers:
24351 Configuration commands:
24354 Report bugs to <bug-autoconf@gnu.org>."
24357 cat >>$CONFIG_STATUS <<_ACEOF
24359 GNU Fortran Runtime Library config.status 0.2
24360 configured by $0, generated by GNU Autoconf 2.59,
24361 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
24363 Copyright (C) 2003 Free Software Foundation, Inc.
24364 This config.status script is free software; the Free Software Foundation
24365 gives unlimited permission to copy, distribute and modify it."
24370 cat >>$CONFIG_STATUS <<\_ACEOF
24371 # If no file are specified by the user, then we need to provide default
24372 # value. By we need to know if files were specified by the user.
24378 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
24379 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
24387 *) # This is not an option, so the user has probably given explicit
24390 ac_need_defaults
=false
;;
24394 # Handling of the options.
24396 cat >>$CONFIG_STATUS <<\_ACEOF
24397 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
24399 --version |
--vers* |
-V )
24400 echo "$ac_cs_version"; exit 0 ;;
24402 # Conflict between --help and --header
24403 { { echo "$as_me:$LINENO: error: ambiguous option: $1
24404 Try \`$0 --help' for more information." >&5
24405 echo "$as_me: error: ambiguous option: $1
24406 Try \`$0 --help' for more information." >&2;}
24407 { (exit 1); exit 1; }; };;
24408 --help |
--hel |
-h )
24409 echo "$ac_cs_usage"; exit 0 ;;
24410 --debug |
--d* |
-d )
24412 --file |
--fil |
--fi |
--f )
24414 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
24415 ac_need_defaults
=false
;;
24416 --header |
--heade |
--head |
--hea )
24418 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
24419 ac_need_defaults
=false
;;
24420 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
24421 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
24424 # This is an error.
24425 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
24426 Try \`$0 --help' for more information." >&5
24427 echo "$as_me: error: unrecognized option: $1
24428 Try \`$0 --help' for more information." >&2;}
24429 { (exit 1); exit 1; }; } ;;
24431 *) ac_config_targets
="$ac_config_targets $1" ;;
24437 ac_configure_extra_args
=
24439 if $ac_cs_silent; then
24441 ac_configure_extra_args
="$ac_configure_extra_args --silent"
24445 cat >>$CONFIG_STATUS <<_ACEOF
24446 if \$ac_cs_recheck; then
24447 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24448 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24453 cat >>$CONFIG_STATUS <<_ACEOF
24455 # INIT-COMMANDS section.
24462 with_multisubdir="$with_multisubdir"
24463 with_multisrctop="$with_multisrctop"
24464 with_target_subdir="$with_target_subdir"
24465 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24466 multi_basedir="$multi_basedir"
24467 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24472 acx_cv_header_stdint="$acx_cv_header_stdint"
24473 acx_cv_type_int8_t="$acx_cv_type_int8_t"
24474 acx_cv_type_int16_t="$acx_cv_type_int16_t"
24475 acx_cv_type_int32_t="$acx_cv_type_int32_t"
24476 acx_cv_type_int64_t="$acx_cv_type_int64_t"
24477 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
24478 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
24479 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
24480 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
24481 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
24482 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
24483 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
24484 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
24485 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
24492 cat >>$CONFIG_STATUS <<\_ACEOF
24493 for ac_config_target
in $ac_config_targets
24495 case "$ac_config_target" in
24496 # Handling of arguments.
24497 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
24498 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
24499 "gstdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
24500 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
24501 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24502 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24503 { (exit 1); exit 1; }; };;
24507 # If the user did not use the arguments to specify the items to instantiate,
24508 # then the envvar interface is used. Set only those that are not.
24509 # We use the long form for the default assignment because of an extremely
24510 # bizarre bug on SunOS 4.1.3.
24511 if $ac_need_defaults; then
24512 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
24513 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
24514 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
24517 # Have a temporary directory for convenience. Make it in the build tree
24518 # simply because there is no reason to put it here, and in addition,
24519 # creating and moving files from /tmp can sometimes cause problems.
24520 # Create a temporary directory, and hook for its removal unless debugging.
24523 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
24524 trap '{ (exit 1); exit 1; }' 1 2 13 15
24527 # Create a (secure) tmp directory for tmp files.
24530 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
24531 test -n "$tmp" && test -d "$tmp"
24534 tmp
=.
/confstat$$
-$RANDOM
24535 (umask 077 && mkdir
$tmp)
24538 echo "$me: cannot create a temporary directory in ." >&2
24539 { (exit 1); exit 1; }
24544 cat >>$CONFIG_STATUS <<_ACEOF
24547 # CONFIG_FILES section.
24550 # No need to generate the scripts if there are no CONFIG_FILES.
24551 # This happens for instance when ./config.status config.h
24552 if test -n "\$CONFIG_FILES"; then
24553 # Protect against being on the right side of a sed subst in config.status.
24554 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
24555 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
24556 s,@SHELL@,$SHELL,;t t
24557 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
24558 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
24559 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
24560 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
24561 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
24562 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
24563 s,@exec_prefix@,$exec_prefix,;t t
24564 s,@prefix@,$prefix,;t t
24565 s,@program_transform_name@,$program_transform_name,;t t
24566 s,@bindir@,$bindir,;t t
24567 s,@sbindir@,$sbindir,;t t
24568 s,@libexecdir@,$libexecdir,;t t
24569 s,@datadir@,$datadir,;t t
24570 s,@sysconfdir@,$sysconfdir,;t t
24571 s,@sharedstatedir@,$sharedstatedir,;t t
24572 s,@localstatedir@,$localstatedir,;t t
24573 s,@libdir@,$libdir,;t t
24574 s,@includedir@,$includedir,;t t
24575 s,@oldincludedir@,$oldincludedir,;t t
24576 s,@infodir@,$infodir,;t t
24577 s,@mandir@,$mandir,;t t
24578 s,@build_alias@,$build_alias,;t t
24579 s,@host_alias@,$host_alias,;t t
24580 s,@target_alias@,$target_alias,;t t
24581 s,@DEFS@,$DEFS,;t t
24582 s,@ECHO_C@,$ECHO_C,;t t
24583 s,@ECHO_N@,$ECHO_N,;t t
24584 s,@ECHO_T@,$ECHO_T,;t t
24585 s,@LIBS@,$LIBS,;t t
24586 s,@build@,$build,;t t
24587 s,@build_cpu@,$build_cpu,;t t
24588 s,@build_vendor@,$build_vendor,;t t
24589 s,@build_os@,$build_os,;t t
24590 s,@build_subdir@,$build_subdir,;t t
24591 s,@host_subdir@,$host_subdir,;t t
24592 s,@target_subdir@,$target_subdir,;t t
24593 s,@host@,$host,;t t
24594 s,@host_cpu@,$host_cpu,;t t
24595 s,@host_vendor@,$host_vendor,;t t
24596 s,@host_os@,$host_os,;t t
24597 s,@target@,$target,;t t
24598 s,@target_cpu@,$target_cpu,;t t
24599 s,@target_vendor@,$target_vendor,;t t
24600 s,@target_os@,$target_os,;t t
24601 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
24602 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
24603 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
24604 s,@CYGPATH_W@,$CYGPATH_W,;t t
24605 s,@PACKAGE@,$PACKAGE,;t t
24606 s,@VERSION@,$VERSION,;t t
24607 s,@ACLOCAL@,$ACLOCAL,;t t
24608 s,@AUTOCONF@,$AUTOCONF,;t t
24609 s,@AUTOMAKE@,$AUTOMAKE,;t t
24610 s,@AUTOHEADER@,$AUTOHEADER,;t t
24611 s,@MAKEINFO@,$MAKEINFO,;t t
24612 s,@install_sh@,$install_sh,;t t
24613 s,@STRIP@,$STRIP,;t t
24614 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
24615 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
24616 s,@mkdir_p@,$mkdir_p,;t t
24618 s,@SET_MAKE@,$SET_MAKE,;t t
24619 s,@am__leading_dot@,$am__leading_dot,;t t
24620 s,@AMTAR@,$AMTAR,;t t
24621 s,@am__tar@,$am__tar,;t t
24622 s,@am__untar@,$am__untar,;t t
24623 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
24624 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
24625 s,@MAINT@,$MAINT,;t t
24626 s,@multi_basedir@,$multi_basedir,;t t
24627 s,@toolexecdir@,$toolexecdir,;t t
24628 s,@toolexeclibdir@,$toolexeclibdir,;t t
24630 s,@ac_ct_CC@,$ac_ct_CC,;t t
24631 s,@EXEEXT@,$EXEEXT,;t t
24632 s,@OBJEXT@,$OBJEXT,;t t
24633 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
24634 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
24636 s,@ac_ct_AS@,$ac_ct_AS,;t t
24638 s,@ac_ct_AR@,$ac_ct_AR,;t t
24639 s,@RANLIB@,$RANLIB,;t t
24640 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
24641 s,@LN_S@,$LN_S,;t t
24642 s,@LIBTOOL@,$LIBTOOL,;t t
24643 s,@enable_shared@,$enable_shared,;t t
24644 s,@enable_static@,$enable_static,;t t
24646 s,@FCFLAGS@,$FCFLAGS,;t t
24647 s,@LDFLAGS@,$LDFLAGS,;t t
24648 s,@ac_ct_FC@,$ac_ct_FC,;t t
24649 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
24651 s,@CPPFLAGS@,$CPPFLAGS,;t t
24652 s,@EGREP@,$EGREP,;t t
24653 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
24654 s,@LIBOBJS@,$LIBOBJS,;t t
24655 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
24660 cat >>$CONFIG_STATUS <<\_ACEOF
24661 # Split the substitutions into bite-sized pieces for seds with
24662 # small command number limits, like on Digital OSF/1 and HP-UX.
24663 ac_max_sed_lines
=48
24664 ac_sed_frag
=1 # Number of current file.
24665 ac_beg
=1 # First line for current file.
24666 ac_end
=$ac_max_sed_lines # Line after last line for current file.
24669 while $ac_more_lines; do
24670 if test $ac_beg -gt 1; then
24671 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
24673 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
24675 if test ! -s $tmp/subs.frag
; then
24676 ac_more_lines
=false
24678 # The purpose of the label and of the branching condition is to
24679 # speed up the sed processing (if there are no `@' at all, there
24680 # is no need to browse any of the substitutions).
24681 # These are the two extra sed commands mentioned above.
24683 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
24684 if test -z "$ac_sed_cmds"; then
24685 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
24687 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
24689 ac_sed_frag
=`expr $ac_sed_frag + 1`
24691 ac_end
=`expr $ac_end + $ac_max_sed_lines`
24694 if test -z "$ac_sed_cmds"; then
24697 fi # test -n "$CONFIG_FILES"
24700 cat >>$CONFIG_STATUS <<\_ACEOF
24701 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
24702 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24704 - |
*:- |
*:-:* ) # input from stdin
24706 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24707 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24708 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24709 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24710 * ) ac_file_in
=$ac_file.
in ;;
24713 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
24714 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
24715 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24716 X"$ac_file" : 'X\(//\)[^/]' \| \
24717 X"$ac_file" : 'X\(//\)$' \| \
24718 X"$ac_file" : 'X\(/\)' \| \
24719 . : '\(.\)' 2>/dev/null ||
24721 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24722 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24723 /^X\(\/\/\)$/{ s//\1/; q; }
24724 /^X\(\/\).*/{ s//\1/; q; }
24726 { if $as_mkdir_p; then
24731 while test ! -d "$as_dir"; do
24732 as_dirs
="$as_dir $as_dirs"
24733 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
24734 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24735 X"$as_dir" : 'X\(//\)[^/]' \| \
24736 X"$as_dir" : 'X\(//\)$' \| \
24737 X"$as_dir" : 'X\(/\)' \| \
24738 . : '\(.\)' 2>/dev/null ||
24740 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24741 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24742 /^X\(\/\/\)$/{ s//\1/; q; }
24743 /^X\(\/\).*/{ s//\1/; q; }
24746 test ! -n "$as_dirs" || mkdir
$as_dirs
24747 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24748 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24749 { (exit 1); exit 1; }; }; }
24753 if test "$ac_dir" != .
; then
24754 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24755 # A "../" for each directory in $ac_dir_suffix.
24756 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24758 ac_dir_suffix
= ac_top_builddir
=
24762 .
) # No --srcdir option. We are building in place.
24764 if test -z "$ac_top_builddir"; then
24767 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
24769 [\\/]* | ?
:[\\/]* ) # Absolute path.
24770 ac_srcdir
=$srcdir$ac_dir_suffix;
24771 ac_top_srcdir
=$srcdir ;;
24772 *) # Relative path.
24773 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
24774 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
24777 # Do not use `cd foo && pwd` to compute absolute paths, because
24778 # the directories may not exist.
24780 .
) ac_abs_builddir
="$ac_dir";;
24783 .
) ac_abs_builddir
=`pwd`;;
24784 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
24785 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
24788 case $ac_abs_builddir in
24789 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24791 case ${ac_top_builddir}.
in
24792 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
24793 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24794 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
24797 case $ac_abs_builddir in
24798 .
) ac_abs_srcdir
=$ac_srcdir;;
24801 .
) ac_abs_srcdir
=$ac_abs_builddir;;
24802 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
24803 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
24806 case $ac_abs_builddir in
24807 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
24809 case $ac_top_srcdir in
24810 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
24811 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
24812 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
24818 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
24819 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
24822 if test x
"$ac_file" != x-
; then
24823 { echo "$as_me:$LINENO: creating $ac_file" >&5
24824 echo "$as_me: creating $ac_file" >&6;}
24827 # Let's still pretend it is `configure' which instantiates (i.e., don't
24828 # use $as_me), people would be surprised to read:
24829 # /* config.h. Generated by config.status. */
24830 if test x
"$ac_file" = x-
; then
24833 configure_input
="$ac_file. "
24835 configure_input
=$configure_input"Generated from `echo $ac_file_in |
24836 sed 's,.*/,,'` by configure."
24838 # First look for the input files in the build tree, otherwise in the
24840 ac_file_inputs
=`IFS=:
24841 for f in $ac_file_in; do
24843 -) echo $tmp/stdin ;;
24845 # Absolute (can't be DOS-style, as IFS=:)
24846 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24847 echo "$as_me: error: cannot find input file: $f" >&2;}
24848 { (exit 1); exit 1; }; }
24851 if test -f "$f"; then
24854 elif test -f "$srcdir/$f"; then
24859 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24860 echo "$as_me: error: cannot find input file: $f" >&2;}
24861 { (exit 1); exit 1; }; }
24864 done` ||
{ (exit 1); exit 1; }
24866 cat >>$CONFIG_STATUS <<_ACEOF
24870 cat >>$CONFIG_STATUS <<\_ACEOF
24872 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
24873 s
,@configure_input@
,$configure_input,;t t
24874 s
,@srcdir@
,$ac_srcdir,;t t
24875 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
24876 s
,@top_srcdir@
,$ac_top_srcdir,;t t
24877 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
24878 s
,@builddir@
,$ac_builddir,;t t
24879 s
,@abs_builddir@
,$ac_abs_builddir,;t t
24880 s
,@top_builddir@
,$ac_top_builddir,;t t
24881 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
24882 s
,@INSTALL@
,$ac_INSTALL,;t t
24883 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24885 if test x"$ac_file" != x-; then
24886 mv $tmp/out $ac_file
24894 cat >>$CONFIG_STATUS <<\_ACEOF
24897 # CONFIG_HEADER section.
24900 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
24901 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24903 # ac_d sets the value in "#define NAME VALUE" lines.
24904 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24905 ac_dB
='[ ].*$,\1#\2'
24908 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24909 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24910 ac_uB
='$,\1#\2define\3'
24914 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
24915 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24917 - |
*:- |
*:-:* ) # input from stdin
24919 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24920 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24921 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24922 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24923 * ) ac_file_in
=$ac_file.
in ;;
24926 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
24927 echo "$as_me: creating $ac_file" >&6;}
24929 # First look for the input files in the build tree, otherwise in the
24931 ac_file_inputs
=`IFS=:
24932 for f in $ac_file_in; do
24934 -) echo $tmp/stdin ;;
24936 # Absolute (can't be DOS-style, as IFS=:)
24937 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24938 echo "$as_me: error: cannot find input file: $f" >&2;}
24939 { (exit 1); exit 1; }; }
24940 # Do quote $f, to prevent DOS paths from being IFS'd.
24943 if test -f "$f"; then
24946 elif test -f "$srcdir/$f"; then
24951 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24952 echo "$as_me: error: cannot find input file: $f" >&2;}
24953 { (exit 1); exit 1; }; }
24956 done` ||
{ (exit 1); exit 1; }
24957 # Remove the trailing spaces.
24958 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24962 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24963 # `conftest.undefs', that substitutes the proper values into
24964 # config.h.in to produce config.h. The first handles `#define'
24965 # templates, and the second `#undef' templates.
24966 # And first: Protect against being on the right side of a sed subst in
24967 # config.status. Protect against being in an unquoted here document
24968 # in config.status.
24969 rm -f conftest.defines conftest.undefs
24970 # Using a here document instead of a string reduces the quoting nightmare.
24971 # Putting comments in sed scripts is not portable.
24973 # `end' is used to avoid that the second main sed command (meant for
24974 # 0-ary CPP macros) applies to n-ary macro definitions.
24975 # See the Autoconf documentation for `clear'.
24976 cat >confdef2sed.
sed <<\_ACEOF
24981 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24983 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24986 # If some macros were called several times there might be several times
24987 # the same #defines, which is useless. Nevertheless, we may not want to
24988 # sort them, since we want the *last* AC-DEFINE to be honored.
24989 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24990 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24991 rm -f confdef2sed.sed
24993 # This sed command replaces #undef with comments. This is necessary, for
24994 # example, in the case of _POSIX_SOURCE, which is predefined and required
24995 # on some systems where configure will not decide to define it.
24996 cat >>conftest.undefs <<\_ACEOF
24997 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
25000 # Break up conftest.defines because some shells have a limit on the size
25001 # of here documents, and old seds have small limits too (100 cmds).
25002 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
25003 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
25004 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
25005 echo ' :' >>$CONFIG_STATUS
25006 rm -f conftest.tail
25007 while grep . conftest.defines >/dev/null
25009 # Write a limited-size here document to $tmp/defines.sed.
25010 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
25011 # Speed up: don't consider the non `#define' lines.
25012 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
25013 # Work around the forget-to-reset-the-flag bug.
25014 echo 't clr' >>$CONFIG_STATUS
25015 echo ': clr' >>$CONFIG_STATUS
25016 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
25018 sed -f $tmp/defines.sed $tmp/in >$tmp/out
25020 mv $tmp/out $tmp/in
25022 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
25023 rm -f conftest.defines
25024 mv conftest.
tail conftest.defines
25026 rm -f conftest.defines
25027 echo ' fi # grep' >>$CONFIG_STATUS
25028 echo >>$CONFIG_STATUS
25030 # Break up conftest.undefs because some shells have a limit on the size
25031 # of here documents, and old seds have small limits too (100 cmds).
25032 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
25033 rm -f conftest.
tail
25034 while grep . conftest.undefs
>/dev
/null
25036 # Write a limited-size here document to $tmp/undefs.sed.
25037 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
25038 # Speed up: don't consider the non
`#undef'
25039 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
25040 # Work around the forget-to-reset-the-flag bug.
25041 echo 't clr' >>$CONFIG_STATUS
25042 echo ': clr' >>$CONFIG_STATUS
25043 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
25045 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
25047 mv $tmp/out $tmp/in
25049 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
25050 rm -f conftest.undefs
25051 mv conftest.tail conftest.undefs
25053 rm -f conftest.undefs
25055 cat >>$CONFIG_STATUS <<\_ACEOF
25056 # Let's still pretend it is `configure
' which instantiates (i.e., don't
25057 # use $as_me), people would be surprised to read:
25058 # /* config.h. Generated by config.status. */
25059 if test x
"$ac_file" = x-
; then
25060 echo "/* Generated by configure. */" >$tmp/config.h
25062 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
25064 cat $tmp/in >>$tmp/config.h
25066 if test x
"$ac_file" != x-
; then
25067 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
25068 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25069 echo "$as_me: $ac_file is unchanged" >&6;}
25071 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
25072 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25073 X"$ac_file" : 'X\(//\)[^/]' \| \
25074 X"$ac_file" : 'X\(//\)$' \| \
25075 X"$ac_file" : 'X\(/\)' \| \
25076 . : '\(.\)' 2>/dev/null ||
25078 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25079 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25080 /^X\(\/\/\)$/{ s//\1/; q; }
25081 /^X\(\/\).*/{ s//\1/; q; }
25083 { if $as_mkdir_p; then
25088 while test ! -d "$as_dir"; do
25089 as_dirs
="$as_dir $as_dirs"
25090 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
25091 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25092 X"$as_dir" : 'X\(//\)[^/]' \| \
25093 X"$as_dir" : 'X\(//\)$' \| \
25094 X"$as_dir" : 'X\(/\)' \| \
25095 . : '\(.\)' 2>/dev/null ||
25097 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25098 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25099 /^X\(\/\/\)$/{ s//\1/; q; }
25100 /^X\(\/\).*/{ s//\1/; q; }
25103 test ! -n "$as_dirs" || mkdir
$as_dirs
25104 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25105 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25106 { (exit 1); exit 1; }; }; }
25109 mv $tmp/config.h
$ac_file
25113 rm -f $tmp/config.h
25115 # Compute $ac_file's index in $config_headers.
25117 for _am_header
in $config_headers :; do
25118 case $_am_header in
25119 $ac_file |
$ac_file:* )
25122 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
25125 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
25126 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25127 X$ac_file : 'X\(//\)[^/]' \| \
25128 X$ac_file : 'X\(//\)$' \| \
25129 X$ac_file : 'X\(/\)' \| \
25130 . : '\(.\)' 2>/dev/null ||
25132 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25133 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25134 /^X\(\/\/\)$/{ s//\1/; q; }
25135 /^X\(\/\).*/{ s//\1/; q; }
25136 s/.*/./; q'`/stamp-h
$_am_stamp_count
25139 cat >>$CONFIG_STATUS <<\_ACEOF
25142 # CONFIG_COMMANDS section.
25144 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
25145 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
25146 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
25147 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
25148 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25149 X"$ac_dest" : 'X\(//\)[^/]' \| \
25150 X"$ac_dest" : 'X\(//\)$' \| \
25151 X"$ac_dest" : 'X\(/\)' \| \
25152 . : '\(.\)' 2>/dev/null ||
25154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25155 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25156 /^X\(\/\/\)$/{ s//\1/; q; }
25157 /^X\(\/\).*/{ s//\1/; q; }
25159 { if $as_mkdir_p; then
25164 while test ! -d "$as_dir"; do
25165 as_dirs
="$as_dir $as_dirs"
25166 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
25167 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25168 X"$as_dir" : 'X\(//\)[^/]' \| \
25169 X"$as_dir" : 'X\(//\)$' \| \
25170 X"$as_dir" : 'X\(/\)' \| \
25171 . : '\(.\)' 2>/dev/null ||
25173 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25174 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25175 /^X\(\/\/\)$/{ s//\1/; q; }
25176 /^X\(\/\).*/{ s//\1/; q; }
25179 test ! -n "$as_dirs" || mkdir
$as_dirs
25180 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25181 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25182 { (exit 1); exit 1; }; }; }
25186 if test "$ac_dir" != .
; then
25187 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25188 # A "../" for each directory in $ac_dir_suffix.
25189 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25191 ac_dir_suffix
= ac_top_builddir
=
25195 .
) # No --srcdir option. We are building in place.
25197 if test -z "$ac_top_builddir"; then
25200 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
25202 [\\/]* | ?
:[\\/]* ) # Absolute path.
25203 ac_srcdir
=$srcdir$ac_dir_suffix;
25204 ac_top_srcdir
=$srcdir ;;
25205 *) # Relative path.
25206 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
25207 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
25210 # Do not use `cd foo && pwd` to compute absolute paths, because
25211 # the directories may not exist.
25213 .
) ac_abs_builddir
="$ac_dir";;
25216 .
) ac_abs_builddir
=`pwd`;;
25217 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
25218 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
25221 case $ac_abs_builddir in
25222 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25224 case ${ac_top_builddir}.
in
25225 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
25226 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25227 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
25230 case $ac_abs_builddir in
25231 .
) ac_abs_srcdir
=$ac_srcdir;;
25234 .
) ac_abs_srcdir
=$ac_abs_builddir;;
25235 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
25236 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
25239 case $ac_abs_builddir in
25240 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
25242 case $ac_top_srcdir in
25243 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
25244 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
25245 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
25250 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
25251 echo "$as_me: executing $ac_dest commands" >&6;}
25254 # Only add multilib support code if we just rebuilt the top-level
25256 case " $CONFIG_FILES " in
25258 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
25262 if test "$GCC" = yes; then
25263 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
25265 echo "/* generated for $CC */" > tmp-stdint.h
25268 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25270 #ifndef GCC_GENERATED_STDINT_H
25271 #define GCC_GENERATED_STDINT_H 1
25273 #include <sys/types.h>
25276 if test "$acx_cv_header_stdint" != stdint.h
; then
25277 echo "#include <stddef.h>" >> tmp-stdint.h
25279 if test "$acx_cv_header_stdint" != stddef.h
; then
25280 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
25283 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25284 /* glibc uses these symbols as guards to prevent redefinitions. */
25285 #ifdef __int8_t_defined
25290 #ifdef __uint32_t_defined
25296 # ----------------- done header, emit basic int types -------------
25297 if test "$acx_cv_header_stdint" = stddef.h
; then
25298 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25302 typedef unsigned $acx_cv_type_int8_t uint8_t;
25307 typedef unsigned $acx_cv_type_int16_t uint16_t;
25312 typedef unsigned $acx_cv_type_int32_t uint32_t;
25317 typedef $acx_cv_type_int8_t int8_t;
25322 typedef $acx_cv_type_int16_t int16_t;
25327 typedef $acx_cv_type_int32_t int32_t;
25330 elif test "$ac_cv_type_u_int32_t" = yes; then
25331 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25333 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
25346 typedef u_int8_t uint8_t;
25351 typedef u_int16_t uint16_t;
25356 typedef u_int32_t uint32_t;
25360 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25362 /* Some systems have guard macros to prevent redefinitions, define them. */
25384 # ------------- done basic int types, emit int64_t types ------------
25385 if test "$ac_cv_type_uint64_t" = yes; then
25386 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25388 /* system headers have good uint64_t and int64_t */
25396 elif test "$ac_cv_type_u_int64_t" = yes; then
25397 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25399 /* system headers have an u_int64_t (and int64_t) */
25405 typedef u_int64_t uint64_t;
25408 elif test -n "$acx_cv_type_int64_t"; then
25409 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25411 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
25414 typedef $acx_cv_type_int64_t int64_t;
25418 typedef unsigned $acx_cv_type_int64_t uint64_t;
25422 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25424 /* some common heuristics for int64_t, using compiler-specific tests */
25425 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
25428 typedef long long int64_t;
25432 typedef unsigned long long uint64_t;
25435 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
25436 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
25437 does not implement __extension__. But that compiler doesn't define
25439 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
25440 # define __extension__
25445 __extension__ typedef long long int64_t;
25449 __extension__ typedef unsigned long long uint64_t;
25452 #elif !defined __STRICT_ANSI__
25453 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
25457 typedef __int64 int64_t;
25461 typedef unsigned __int64 uint64_t;
25463 # endif /* compiler */
25465 #endif /* ANSI version */
25469 # ------------- done int64_t types, emit intptr types ------------
25470 if test "$ac_cv_type_uintptr_t" != yes; then
25471 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25473 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
25474 typedef u$acx_cv_type_intptr_t uintptr_t;
25475 typedef $acx_cv_type_intptr_t intptr_t;
25479 # ------------- done intptr types, emit int_least types ------------
25480 if test "$ac_cv_type_int_least32_t" != yes; then
25481 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25483 /* Define int_least types */
25484 typedef int8_t int_least8_t;
25485 typedef int16_t int_least16_t;
25486 typedef int32_t int_least32_t;
25488 typedef int64_t int_least64_t;
25491 typedef uint8_t uint_least8_t;
25492 typedef uint16_t uint_least16_t;
25493 typedef uint32_t uint_least32_t;
25495 typedef uint64_t uint_least64_t;
25500 # ------------- done intptr types, emit int_fast types ------------
25501 if test "$ac_cv_type_int_fast32_t" != yes; then
25502 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25504 /* Define int_fast types. short is often slow */
25505 typedef int8_t int_fast8_t;
25506 typedef int int_fast16_t;
25507 typedef int32_t int_fast32_t;
25509 typedef int64_t int_fast64_t;
25512 typedef uint8_t uint_fast8_t;
25513 typedef unsigned int uint_fast16_t;
25514 typedef uint32_t uint_fast32_t;
25516 typedef uint64_t uint_fast64_t;
25521 if test "$ac_cv_type_uintmax_t" != yes; then
25522 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25524 /* Define intmax based on what we found */
25526 typedef int64_t intmax_t;
25528 typedef long intmax_t;
25531 typedef uint64_t uintmax_t;
25533 typedef unsigned long uintmax_t;
25538 sed 's/^ *//' >> tmp-stdint.h
<<EOF
25540 #endif /* GCC_GENERATED_STDINT_H */
25543 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
25546 mv -f tmp-stdint.h gstdint.h
25554 cat >>$CONFIG_STATUS <<\_ACEOF
25556 { (exit 0); exit 0; }
25558 chmod +x
$CONFIG_STATUS
25559 ac_clean_files
=$ac_clean_files_save
25562 # configure is writing to config.log, and then calls config.status.
25563 # config.status does its own redirection, appending to config.log.
25564 # Unfortunately, on DOS this fails, as config.log is still kept open
25565 # by configure, so config.status won't be able to write to it; its
25566 # output is simply discarded. So we exec the FD to /dev/null,
25567 # effectively closing config.log, so it can be properly (re)opened and
25568 # appended to by config.status. When coming back to configure, we
25569 # need to make the FD available again.
25570 if test "$no_create" != yes; then
25572 ac_config_status_args
=
25573 test "$silent" = yes &&
25574 ac_config_status_args
="$ac_config_status_args --quiet"
25576 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
25578 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25579 # would make configure fail if this is the last instruction.
25580 $ac_cs_success ||
{ (exit 1); exit 1; }