]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgfortran/configure
* configure.in: When reconfiguring remove Makefile in
[thirdparty/gcc.git] / libgfortran / configure
CommitLineData
4ee9c684 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.2.
4#
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## --------------------- ##
11
12# Be Bourne compatible
13if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
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+"$@"}'='"$@"'
19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
21fi
22DUALCASE=1; export DUALCASE # for MKS sh
23
24# Support unset when possible.
25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27else
28 as_unset=false
29fi
30
31
32# Work around bugs in pre-3.0 UWIN ksh.
33$as_unset ENV MAIL MAILPATH
34PS1='$ '
35PS2='> '
36PS4='+ '
37
38# NLS nuisances.
39for as_var in \
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 \
42 LC_TELEPHONE LC_TIME
43do
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
48 fi
49done
50
51# Required to use basename.
52if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54else
55 as_expr=false
56fi
57
58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60else
61 as_basename=false
62fi
63
64
65# Name of the executable.
66as_me=`$as_basename "$0" ||
67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
76
77
78# PATH needs CR, and LINENO needs CR and PATH.
79# Avoid depending upon Character Ranges.
80as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83as_cr_digits='0123456789'
84as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86# The user is always right.
87if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
95 fi
96 rm -f conf$$.sh
97fi
98
99
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
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
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110for as_dir in $PATH
111do
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115done
116
117 ;;
118 esac
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
122 as_myself=$0
123 fi
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; }; }
127 fi
128 case $CONFIG_SHELL in
129 '')
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132do
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
137 /*)
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
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
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152done
153;;
154 esac
155
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 |
165 sed '
166 N
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
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; }; }
177
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).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
184}
185
186
187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192esac
193
194if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196else
197 as_expr=false
198fi
199
200rm -f conf$$ conf$$.exe conf$$.file
201echo >conf$$.file
202if 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
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
210 fi
211elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213else
214 as_ln_s='cp -p'
215fi
216rm -f conf$$ conf$$.exe conf$$.file
217
218if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
223fi
224
225as_executable_p="test -f"
226
227# Sed expression to map a string onto a valid CPP name.
228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230# Sed expression to map a string onto a valid variable name.
231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234# IFS
235# We need space, tab and new line, in precisely that order.
236as_nl='
237'
238IFS=" $as_nl"
239
240# CDPATH.
241$as_unset CDPATH
242
243
244# Name of the host.
245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246# so uname gets run too.
247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249exec 6>&1
250
251#
252# Initializations.
253#
254ac_default_prefix=/usr/local
255ac_config_libobj_dir=.
256cross_compiling=no
257subdirs=
258MFLAGS=
259MAKEFLAGS=
260SHELL=${CONFIG_SHELL-/bin/sh}
261
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}
266
267# Identity of this package.
268PACKAGE_NAME='GNU Fortran Runtime Library'
269PACKAGE_TARNAME='libgfortran'
270PACKAGE_VERSION='0.2'
271PACKAGE_STRING='GNU Fortran Runtime Library 0.2'
272PACKAGE_BUGREPORT=''
273
274# Factoring default headers for most tests.
275ac_includes_default="\
276#include <stdio.h>
277#if HAVE_SYS_TYPES_H
278# include <sys/types.h>
279#endif
280#if HAVE_SYS_STAT_H
281# include <sys/stat.h>
282#endif
283#if STDC_HEADERS
284# include <stdlib.h>
285# include <stddef.h>
286#else
287# if HAVE_STDLIB_H
288# include <stdlib.h>
289# endif
290#endif
291#if HAVE_STRING_H
292# if !STDC_HEADERS && HAVE_MEMORY_H
293# include <memory.h>
294# endif
295# include <string.h>
296#endif
297#if HAVE_STRINGS_H
298# include <strings.h>
299#endif
300#if HAVE_INTTYPES_H
301# include <inttypes.h>
302#else
303# if HAVE_STDINT_H
304# include <stdint.h>
305# endif
306#endif
307#if HAVE_UNISTD_H
308# include <unistd.h>
309#endif"
310
4c82c0dd 311ac_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'
4ee9c684 312ac_subst_files=''
313
314# Initialize some variables set by options.
315ac_init_help=
316ac_init_version=false
317# The variables have the same names as the options, with
318# dashes changed to underlines.
319cache_file=/dev/null
320exec_prefix=NONE
321no_create=
322no_recursion=
323prefix=NONE
324program_prefix=NONE
325program_suffix=NONE
326program_transform_name=s,x,x,
327silent=
328site=
329srcdir=
330verbose=
331x_includes=NONE
332x_libraries=NONE
333
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.
339bindir='${exec_prefix}/bin'
340sbindir='${exec_prefix}/sbin'
341libexecdir='${exec_prefix}/libexec'
342datadir='${prefix}/share'
343sysconfdir='${prefix}/etc'
344sharedstatedir='${prefix}/com'
345localstatedir='${prefix}/var'
346libdir='${exec_prefix}/lib'
347includedir='${prefix}/include'
348oldincludedir='/usr/include'
349infodir='${prefix}/info'
350mandir='${prefix}/man'
351
352ac_prev=
353for ac_option
354do
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
358 ac_prev=
359 continue
360 fi
361
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
363
364 # Accept the important Cygnus configure options, so we can diagnose typos.
365
366 case $ac_option in
367
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
369 ac_prev=bindir ;;
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
371 bindir=$ac_optarg ;;
372
373 -build | --build | --buil | --bui | --bu)
374 ac_prev=build_alias ;;
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376 build_alias=$ac_optarg ;;
377
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 ;;
384
385 --config-cache | -C)
386 cache_file=config.cache ;;
387
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
389 ac_prev=datadir ;;
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
391 | --da=*)
392 datadir=$ac_optarg ;;
393
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" ;;
402
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'`
410 case $ac_option in
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
412 *) ac_optarg=yes ;;
413 esac
414 eval "enable_$ac_feature='$ac_optarg'" ;;
415
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 ;;
424
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
427 with_gas=yes ;;
428
429 -help | --help | --hel | --he | -h)
430 ac_init_help=long ;;
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 ;;
435
436 -host | --host | --hos | --ho)
437 ac_prev=host_alias ;;
438 -host=* | --host=* | --hos=* | --ho=*)
439 host_alias=$ac_optarg ;;
440
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 ;;
447
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
449 ac_prev=infodir ;;
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
452
453 -libdir | --libdir | --libdi | --libd)
454 ac_prev=libdir ;;
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
456 libdir=$ac_optarg ;;
457
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 ;;
464
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 ;;
473
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
475 ac_prev=mandir ;;
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
477 mandir=$ac_optarg ;;
478
479 -nfp | --nfp | --nf)
480 # Obsolete; use --without-fp.
481 with_fp=no ;;
482
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
485 no_create=yes ;;
486
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
489 no_recursion=yes ;;
490
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 ;;
499
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
501 ac_prev=prefix ;;
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
503 prefix=$ac_optarg ;;
504
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 ;;
511
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 ;;
518
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 ;;
535
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537 | -silent | --silent | --silen | --sile | --sil)
538 silent=yes ;;
539
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
541 ac_prev=sbindir ;;
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
543 | --sbi=* | --sb=*)
544 sbindir=$ac_optarg ;;
545
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548 | --sharedst | --shareds | --shared | --share | --shar \
549 | --sha | --sh)
550 ac_prev=sharedstatedir ;;
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
554 | --sha=* | --sh=*)
555 sharedstatedir=$ac_optarg ;;
556
557 -site | --site | --sit)
558 ac_prev=site ;;
559 -site=* | --site=* | --sit=*)
560 site=$ac_optarg ;;
561
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
563 ac_prev=srcdir ;;
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
565 srcdir=$ac_optarg ;;
566
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 ;;
573
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 ;;
578
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
580 verbose=yes ;;
581
582 -version | --version | --versio | --versi | --vers | -V)
583 ac_init_version=: ;;
584
585 -with-* | --with-*)
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'`
592 case $ac_option in
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
594 *) ac_optarg=yes ;;
595 esac
596 eval "with_$ac_package='$ac_optarg'" ;;
597
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" ;;
606
607 --x)
608 # Obsolete; use --with-x.
609 with_x=yes ;;
610
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 ;;
617
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 ;;
624
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
628 ;;
629
630 *=*)
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'"
638 export $ac_envvar ;;
639
640 *)
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}
646 ;;
647
648 esac
649done
650
651if 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; }; }
655fi
656
657# Be sure to have absolute paths.
658for ac_var in exec_prefix prefix
659do
660 eval ac_val=$`echo $ac_var`
661 case $ac_val in
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
665 esac
666done
667
668# Be sure to have absolute paths.
669for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
671do
672 eval ac_val=$`echo $ac_var`
673 case $ac_val in
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
677 esac
678done
679
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.
683build=$build_alias
684host=$host_alias
685target=$target_alias
686
687# FIXME: To remove some day.
688if 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
694 cross_compiling=yes
695 fi
696fi
697
698ac_tool_prefix=
699test -n "$host_alias" && ac_tool_prefix=$host_alias-
700
701test "$silent" = yes && exec 6>/dev/null
702
703
704# Find the source files, if location was not specified.
705if 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 ||
714echo X"$0" |
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
719 s/.*/./; q'`
720 srcdir=$ac_confdir
721 if test ! -r $srcdir/$ac_unique_file; then
722 srcdir=..
723 fi
724else
725 ac_srcdir_defaulted=no
726fi
727if 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; }; }
731 else
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
734 fi
735fi
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; }; }
739srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740ac_env_build_alias_set=${build_alias+set}
741ac_env_build_alias_value=$build_alias
742ac_cv_env_build_alias_set=${build_alias+set}
743ac_cv_env_build_alias_value=$build_alias
744ac_env_host_alias_set=${host_alias+set}
745ac_env_host_alias_value=$host_alias
746ac_cv_env_host_alias_set=${host_alias+set}
747ac_cv_env_host_alias_value=$host_alias
748ac_env_target_alias_set=${target_alias+set}
749ac_env_target_alias_value=$target_alias
750ac_cv_env_target_alias_set=${target_alias+set}
751ac_cv_env_target_alias_value=$target_alias
6d73cceb 752ac_env_FC_set=${FC+set}
753ac_env_FC_value=$FC
754ac_cv_env_FC_set=${FC+set}
755ac_cv_env_FC_value=$FC
756ac_env_FCFLAGS_set=${FCFLAGS+set}
757ac_env_FCFLAGS_value=$FCFLAGS
758ac_cv_env_FCFLAGS_set=${FCFLAGS+set}
759ac_cv_env_FCFLAGS_value=$FCFLAGS
90973b19 760ac_env_LDFLAGS_set=${LDFLAGS+set}
761ac_env_LDFLAGS_value=$LDFLAGS
762ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763ac_cv_env_LDFLAGS_value=$LDFLAGS
4ee9c684 764ac_env_CPP_set=${CPP+set}
765ac_env_CPP_value=$CPP
766ac_cv_env_CPP_set=${CPP+set}
767ac_cv_env_CPP_value=$CPP
90973b19 768ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769ac_env_CPPFLAGS_value=$CPPFLAGS
770ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771ac_cv_env_CPPFLAGS_value=$CPPFLAGS
4ee9c684 772
773#
774# Report the --help message.
775#
776if 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.
779 cat <<_ACEOF
780\`configure' configures GNU Fortran Runtime Library 0.2 to adapt to many kinds of systems.
781
782Usage: $0 [OPTION]... [VAR=VALUE]...
783
784To assign environment variables (e.g., CC, CFLAGS...), specify them as
785VAR=VALUE. See below for descriptions of some of the useful variables.
786
787Defaults for the options are specified in brackets.
788
789Configuration:
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 \`..']
799
800_ACEOF
801
802 cat <<_ACEOF
803Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
805 [$ac_default_prefix]
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
807 [PREFIX]
808
809By default, \`make install' will install all the files in
810\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812for instance \`--prefix=\$HOME'.
813
814For better control, use the options below.
815
816Fine 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]
829_ACEOF
830
831 cat <<\_ACEOF
832
833Program names:
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
837
838System types:
839 --build=BUILD configure for building on BUILD [guessed]
840 --host=HOST cross-compile to build programs to run on HOST [BUILD]
90973b19 841 --target=TARGET configure for building compilers for TARGET [HOST]
4ee9c684 842_ACEOF
843fi
844
845if test -n "$ac_init_help"; then
846 case $ac_init_help in
847 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.2:";;
848 esac
849 cat <<\_ACEOF
850
851Optional Features:
852 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
853 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
90973b19 854 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
4ee9c684 855 --enable-maintainer-mode enable make rules and dependencies not useful
856 (and sometimes confusing) to the casual installer
90973b19 857 --enable-multilib build many library versions (default)
4ee9c684 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)
90e67cff 862 --disable-largefile omit support for large files
4ee9c684 863
864Optional Packages:
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
869
870Some 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>
6d73cceb 877 FC Fortran compiler command
878 FCFLAGS Fortran compiler flags
4ee9c684 879 CPP C preprocessor
880
881Use these variables to override the choices made by `configure' or to help
882it to find libraries and programs with nonstandard names/locations.
883
884_ACEOF
885fi
886
887if test "$ac_init_help" = "recursive"; then
888 # If there are subdirs, report their specific --help.
889 ac_popdir=`pwd`
890 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
891 test -d $ac_dir || continue
892 ac_builddir=.
893
894if 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'`
898else
899 ac_dir_suffix= ac_top_builddir=
900fi
901
902case $srcdir in
903 .) # No --srcdir option. We are building in place.
904 ac_srcdir=.
905 if test -z "$ac_top_builddir"; then
906 ac_top_srcdir=.
907 else
908 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
909 fi ;;
910 [\\/]* | ?:[\\/]* ) # Absolute path.
911 ac_srcdir=$srcdir$ac_dir_suffix;
912 ac_top_srcdir=$srcdir ;;
913 *) # Relative path.
914 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
915 ac_top_srcdir=$ac_top_builddir$srcdir ;;
916esac
917
918# Do not use `cd foo && pwd` to compute absolute paths, because
919# the directories may not exist.
920case `pwd` in
921.) ac_abs_builddir="$ac_dir";;
922*)
923 case "$ac_dir" in
924 .) ac_abs_builddir=`pwd`;;
925 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
926 *) ac_abs_builddir=`pwd`/"$ac_dir";;
927 esac;;
928esac
929case $ac_abs_builddir in
930.) ac_abs_top_builddir=${ac_top_builddir}.;;
931*)
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}.;;
936 esac;;
937esac
938case $ac_abs_builddir in
939.) ac_abs_srcdir=$ac_srcdir;;
940*)
941 case $ac_srcdir in
942 .) ac_abs_srcdir=$ac_abs_builddir;;
943 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
944 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
945 esac;;
946esac
947case $ac_abs_builddir in
948.) ac_abs_top_srcdir=$ac_top_srcdir;;
949*)
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;;
954 esac;;
955esac
956
957 cd $ac_dir
958 # Check for guested configure; otherwise get Cygnus style configure.
959 if test -f $ac_srcdir/configure.gnu; then
960 echo
961 $SHELL $ac_srcdir/configure.gnu --help=recursive
962 elif test -f $ac_srcdir/configure; then
963 echo
964 $SHELL $ac_srcdir/configure --help=recursive
965 elif test -f $ac_srcdir/configure.ac ||
966 test -f $ac_srcdir/configure.in; then
967 echo
968 $ac_configure --help
969 else
970 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
971 fi
b56cb1ff 972 cd "$ac_popdir"
4ee9c684 973 done
974fi
975
976test -n "$ac_init_help" && exit 0
977if $ac_init_version; then
978 cat <<\_ACEOF
979GNU Fortran Runtime Library configure 0.2
980generated by GNU Autoconf 2.59
981
982Copyright (C) 2003 Free Software Foundation, Inc.
983This configure script is free software; the Free Software Foundation
984gives unlimited permission to copy, distribute and modify it.
985_ACEOF
986 exit 0
987fi
988exec 5>config.log
989cat >&5 <<_ACEOF
990This file contains any messages produced by compilers while
991running configure, to aid debugging if configure makes a mistake.
992
993It was created by GNU Fortran Runtime Library $as_me 0.2, which was
994generated by GNU Autoconf 2.59. Invocation command line was
995
996 $ $0 $@
997
998_ACEOF
999{
1000cat <<_ASUNAME
1001## --------- ##
1002## Platform. ##
1003## --------- ##
1004
1005hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1006uname -m = `(uname -m) 2>/dev/null || echo unknown`
1007uname -r = `(uname -r) 2>/dev/null || echo unknown`
1008uname -s = `(uname -s) 2>/dev/null || echo unknown`
1009uname -v = `(uname -v) 2>/dev/null || echo unknown`
1010
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`
1013
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`
1017hostinfo = `(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`
1021
1022_ASUNAME
1023
1024as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1025for as_dir in $PATH
1026do
1027 IFS=$as_save_IFS
1028 test -z "$as_dir" && as_dir=.
1029 echo "PATH: $as_dir"
1030done
1031
1032} >&5
1033
1034cat >&5 <<_ACEOF
1035
1036
1037## ----------- ##
1038## Core tests. ##
1039## ----------- ##
1040
1041_ACEOF
1042
1043
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.
1049ac_configure_args=
1050ac_configure_args0=
1051ac_configure_args1=
1052ac_sep=
1053ac_must_keep_next=false
1054for ac_pass in 1 2
1055do
1056 for ac_arg
1057 do
1058 case $ac_arg in
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)
1062 continue ;;
1063 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1064 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1065 esac
1066 case $ac_pass in
1067 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1068 2)
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.
1072 else
1073 case $ac_arg in
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 ;;
1080 esac
1081 ;;
1082 -* ) ac_must_keep_next=true ;;
1083 esac
1084 fi
1085 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1086 # Get rid of the leading space.
1087 ac_sep=" "
1088 ;;
1089 esac
1090 done
1091done
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; }
1094
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.
1100trap 'exit_status=$?
1101 # Save into config.log some information that might help in debugging.
1102 {
1103 echo
1104
1105 cat <<\_ASBOX
1106## ---------------- ##
1107## Cache variables. ##
1108## ---------------- ##
1109_ASBOX
1110 echo
1111 # The following way of writing the cache mishandles newlines in values,
1112{
1113 (set) 2>&1 |
1114 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1115 *ac_space=\ *)
1116 sed -n \
1117 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1118 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1119 ;;
1120 *)
1121 sed -n \
1122 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1123 ;;
1124 esac;
1125}
1126 echo
1127
1128 cat <<\_ASBOX
1129## ----------------- ##
1130## Output variables. ##
1131## ----------------- ##
1132_ASBOX
1133 echo
1134 for ac_var in $ac_subst_vars
1135 do
1136 eval ac_val=$`echo $ac_var`
1137 echo "$ac_var='"'"'$ac_val'"'"'"
1138 done | sort
1139 echo
1140
1141 if test -n "$ac_subst_files"; then
1142 cat <<\_ASBOX
1143## ------------- ##
1144## Output files. ##
1145## ------------- ##
1146_ASBOX
1147 echo
1148 for ac_var in $ac_subst_files
1149 do
1150 eval ac_val=$`echo $ac_var`
1151 echo "$ac_var='"'"'$ac_val'"'"'"
1152 done | sort
1153 echo
1154 fi
1155
1156 if test -s confdefs.h; then
1157 cat <<\_ASBOX
1158## ----------- ##
1159## confdefs.h. ##
1160## ----------- ##
1161_ASBOX
1162 echo
1163 sed "/^$/d" confdefs.h | sort
1164 echo
1165 fi
1166 test "$ac_signal" != 0 &&
1167 echo "$as_me: caught signal $ac_signal"
1168 echo "$as_me: exit $exit_status"
1169 } >&5
1170 rm -f core *.core &&
1171 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1172 exit $exit_status
1173 ' 0
1174for ac_signal in 1 2 13 15; do
1175 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1176done
1177ac_signal=0
1178
1179# confdefs.h avoids OS command line length limits that DEFS can exceed.
1180rm -rf conftest* confdefs.h
1181# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1182echo >confdefs.h
1183
1184# Predefined preprocessor variables.
1185
1186cat >>confdefs.h <<_ACEOF
1187#define PACKAGE_NAME "$PACKAGE_NAME"
1188_ACEOF
1189
1190
1191cat >>confdefs.h <<_ACEOF
1192#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1193_ACEOF
1194
1195
1196cat >>confdefs.h <<_ACEOF
1197#define PACKAGE_VERSION "$PACKAGE_VERSION"
1198_ACEOF
1199
1200
1201cat >>confdefs.h <<_ACEOF
1202#define PACKAGE_STRING "$PACKAGE_STRING"
1203_ACEOF
1204
1205
1206cat >>confdefs.h <<_ACEOF
1207#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1208_ACEOF
1209
1210
1211# Let the site file select an alternate cache file if it wants to.
1212# Prefer explicitly selected file to automatically selected ones.
1213if test -z "$CONFIG_SITE"; then
1214 if test "x$prefix" != xNONE; then
1215 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1216 else
1217 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1218 fi
1219fi
1220for 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
1223echo "$as_me: loading site script $ac_site_file" >&6;}
1224 sed 's/^/| /' "$ac_site_file" >&5
1225 . "$ac_site_file"
1226 fi
1227done
1228
1229if 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
1234echo "$as_me: loading cache $cache_file" >&6;}
1235 case $cache_file in
1236 [\\/]* | ?:[\\/]* ) . $cache_file;;
1237 *) . ./$cache_file;;
1238 esac
1239 fi
1240else
1241 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1242echo "$as_me: creating cache $cache_file" >&6;}
1243 >$cache_file
1244fi
1245
1246# Check that the precious variables saved in the cache have kept the same
1247# value.
1248ac_cache_corrupted=false
1249for 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
1256 set,)
1257 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1258echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1259 ac_cache_corrupted=: ;;
1260 ,set)
1261 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1262echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1263 ac_cache_corrupted=: ;;
1264 ,);;
1265 *)
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
1268echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1269 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1270echo "$as_me: former value: $ac_old_val" >&2;}
1271 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1272echo "$as_me: current value: $ac_new_val" >&2;}
1273 ac_cache_corrupted=:
1274 fi;;
1275 esac
1276 # Pass precious variables to config.status.
1277 if test "$ac_new_set" = set; then
1278 case $ac_new_val in
1279 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1280 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1281 *) ac_arg=$ac_var=$ac_new_val ;;
1282 esac
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'" ;;
1286 esac
1287 fi
1288done
1289if $ac_cache_corrupted; then
1290 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1291echo "$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
1293echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1294 { (exit 1); exit 1; }; }
1295fi
1296
1297ac_ext=c
1298ac_cpp='$CPP $CPPFLAGS'
1299ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1300ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1301ac_compiler_gnu=$ac_cv_c_compiler_gnu
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
90973b19 1329 ac_config_headers="$ac_config_headers config.h"
1330
4ee9c684 1331ac_aux_dir=
1332for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1333 if test -f $ac_dir/install-sh; then
1334 ac_aux_dir=$ac_dir
1335 ac_install_sh="$ac_aux_dir/install-sh -c"
1336 break
1337 elif test -f $ac_dir/install.sh; then
1338 ac_aux_dir=$ac_dir
1339 ac_install_sh="$ac_aux_dir/install.sh -c"
1340 break
1341 elif test -f $ac_dir/shtool; then
1342 ac_aux_dir=$ac_dir
1343 ac_install_sh="$ac_aux_dir/shtool install -c"
1344 break
1345 fi
1346done
1347if test -z "$ac_aux_dir"; then
1348 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1349echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1350 { (exit 1); exit 1; }; }
1351fi
1352ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1353ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1354ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1355
90973b19 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
1359echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1360 { (exit 1); exit 1; }; }
1361
1362echo "$as_me:$LINENO: checking build system type" >&5
1363echo $ECHO_N "checking build system type... $ECHO_C" >&6
1364if test "${ac_cv_build+set}" = set; then
1365 echo $ECHO_N "(cached) $ECHO_C" >&6
1366else
1367 ac_cv_build_alias=$build_alias
1368test -z "$ac_cv_build_alias" &&
1369 ac_cv_build_alias=`$ac_config_guess`
1370test -z "$ac_cv_build_alias" &&
1371 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1372echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1373 { (exit 1); exit 1; }; }
1374ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1375 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1376echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1377 { (exit 1); exit 1; }; }
1378
1379fi
1380echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1381echo "${ECHO_T}$ac_cv_build" >&6
1382build=$ac_cv_build
1383build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1384build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1385build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1386
1387
4c82c0dd 1388 case ${build_alias} in
1389 "") build_noncanonical=${build} ;;
1390 *) build_noncanonical=${build_alias} ;;
1391esac
1392
1393 case ${host_alias} in
1394 "") host_noncanonical=${build_noncanonical} ;;
1395 *) host_noncanonical=${host_alias} ;;
1396esac
1397
1398 case ${target_alias} in
1399 "") target_noncanonical=${host_noncanonical} ;;
1400 *) target_noncanonical=${target_alias} ;;
1401esac
1402
1403 # Prefix 'build-' so this never conflicts with target_subdir.
1404build_subdir="build-${build_noncanonical}"
1405# --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1406if ( test $srcdir = . && test -d gcc ) \
1407 || test -d $srcdir/../host-${host_noncanonical}; then
1408 host_subdir="host-${host_noncanonical}"
1409else
1410 host_subdir=.
1411fi
1412# No prefix.
1413target_subdir=${target_noncanonical}
1414
1415
1416# -------
1417# Options
1418# -------
1419
1420echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1421echo $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.
1423if 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
1429echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1430 { (exit 1); exit 1; }; };;
1431 esac
1432else
1433 version_specific_libs=no
1434fi;
1435echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1436echo "${ECHO_T}$version_specific_libs" >&6
1437
1438
1439# Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1440#
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/.
1443#
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. :-)
1448#
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.
1451#
1452# Do not delete or change the following two lines. For why, see
1453# http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
90973b19 1454echo "$as_me:$LINENO: checking host system type" >&5
1455echo $ECHO_N "checking host system type... $ECHO_C" >&6
1456if test "${ac_cv_host+set}" = set; then
1457 echo $ECHO_N "(cached) $ECHO_C" >&6
1458else
1459 ac_cv_host_alias=$host_alias
1460test -z "$ac_cv_host_alias" &&
1461 ac_cv_host_alias=$ac_cv_build_alias
1462ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1463 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1464echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1465 { (exit 1); exit 1; }; }
1466
1467fi
1468echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1469echo "${ECHO_T}$ac_cv_host" >&6
1470host=$ac_cv_host
1471host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1472host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1473host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1474
1475
1476echo "$as_me:$LINENO: checking target system type" >&5
1477echo $ECHO_N "checking target system type... $ECHO_C" >&6
1478if test "${ac_cv_target+set}" = set; then
1479 echo $ECHO_N "(cached) $ECHO_C" >&6
1480else
1481 ac_cv_target_alias=$target_alias
1482test "x$ac_cv_target_alias" = "x" &&
1483 ac_cv_target_alias=$ac_cv_host_alias
1484ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1485 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1486echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1487 { (exit 1); exit 1; }; }
1488
1489fi
1490echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1491echo "${ECHO_T}$ac_cv_target" >&6
1492target=$ac_cv_target
1493target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1494target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1495target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1496
1497
1498# The aliases save the names the user supplied, while $host etc.
1499# will get canonicalized.
1500test -n "$target_alias" &&
1501 test "$program_prefix$program_suffix$program_transform_name" = \
1502 NONENONEs,x,x, &&
1503 program_prefix=${target_alias}-
1504target_alias=${target_alias-$host_alias}
1505
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.
6745c9de 1517am__api_version="1.9"
4ee9c684 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
1524# AIX /bin/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.
1531echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1532echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1533if test -z "$INSTALL"; then
1534if test "${ac_cv_path_install+set}" = set; then
1535 echo $ECHO_N "(cached) $ECHO_C" >&6
1536else
1537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1538for as_dir in $PATH
1539do
1540 IFS=$as_save_IFS
1541 test -z "$as_dir" && as_dir=.
1542 # Account for people who put trailing slashes in PATH elements.
1543case $as_dir/ in
1544 ./ | .// | /cC/* | \
1545 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1546 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1547 /usr/ucb/* ) ;;
1548 *)
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
1551 # by default.
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.
1558 :
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.
1562 :
1563 else
1564 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1565 break 3
1566 fi
1567 fi
1568 done
1569 done
1570 ;;
1571esac
1572done
1573
1574
1575fi
1576 if test "${ac_cv_path_install+set}" = set; then
1577 INSTALL=$ac_cv_path_install
1578 else
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
1584 fi
1585fi
1586echo "$as_me:$LINENO: result: $INSTALL" >&5
1587echo "${ECHO_T}$INSTALL" >&6
1588
1589# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1590# It thinks the first close brace ends the variable substitution.
1591test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1592
1593test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1594
1595test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1596
1597echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1598echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1599# Just in case
1600sleep 1
1601echo 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
1606# directory).
1607if (
1608 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1609 if test "$*" = "X"; then
1610 # -L didn't work.
1611 set X `ls -t $srcdir/configure conftest.file`
1612 fi
1613 rm -f conftest.file
1614 if test "$*" != "X $srcdir/configure conftest.file" \
1615 && test "$*" != "X conftest.file $srcdir/configure"; then
1616
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
1622alias in your environment" >&5
1623echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1624alias in your environment" >&2;}
1625 { (exit 1); exit 1; }; }
1626 fi
1627
1628 test "$2" = conftest.file
1629 )
1630then
1631 # Ok.
1632 :
1633else
1634 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1635Check your system clock" >&5
1636echo "$as_me: error: newly created file is older than distributed files!
1637Check your system clock" >&2;}
1638 { (exit 1); exit 1; }; }
1639fi
1640echo "$as_me:$LINENO: result: yes" >&5
1641echo "${ECHO_T}yes" >&6
1642test "$program_prefix" != NONE &&
1643 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1644# Use a double $ so make ignores it.
1645test "$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.
1649cat <<\_ACEOF >conftest.sed
1650s/[\\$]/&&/g;s/;s,x,x,$//
1651_ACEOF
1652program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1653rm conftest.sed
1654
1655# expand $ac_aux_dir to an absolute path
1656am_aux_dir=`cd $ac_aux_dir && pwd`
1657
1658test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1659# Use eval to expand $SHELL
1660if eval "$MISSING --run true"; then
1661 am_missing_run="$MISSING --run "
1662else
1663 am_missing_run=
1664 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1665echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1666fi
1667
cdafa1f6 1668if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
6745c9de 1669 # We used to keeping the `.' as first argument, in order to
1670 # allow $(mkdir_p) to be used without argument. As in
4ee9c684 1671 # $(mkdir_p) $(somedir)
6745c9de 1672 # where $(somedir) is conditionally defined. However this is wrong
1673 # for two reasons:
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 --'
4ee9c684 1684else
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
1688 # exists.
cdafa1f6 1689 for d in ./-p ./--version;
4ee9c684 1690 do
1691 test -d $d && rmdir $d
1692 done
1693 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1694 if test -f "$ac_aux_dir/mkinstalldirs"; then
1695 mkdir_p='$(mkinstalldirs)'
1696 else
1697 mkdir_p='$(install_sh) -d'
1698 fi
1699fi
1700
1701for ac_prog in gawk mawk nawk awk
1702do
1703 # Extract the first word of "$ac_prog", so it can be a program name with args.
1704set dummy $ac_prog; ac_word=$2
1705echo "$as_me:$LINENO: checking for $ac_word" >&5
1706echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1707if test "${ac_cv_prog_AWK+set}" = set; then
1708 echo $ECHO_N "(cached) $ECHO_C" >&6
1709else
1710 if test -n "$AWK"; then
1711 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1712else
1713as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1714for as_dir in $PATH
1715do
1716 IFS=$as_save_IFS
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
1722 break 2
1723 fi
1724done
1725done
1726
1727fi
1728fi
1729AWK=$ac_cv_prog_AWK
1730if test -n "$AWK"; then
1731 echo "$as_me:$LINENO: result: $AWK" >&5
1732echo "${ECHO_T}$AWK" >&6
1733else
1734 echo "$as_me:$LINENO: result: no" >&5
1735echo "${ECHO_T}no" >&6
1736fi
1737
1738 test -n "$AWK" && break
1739done
1740
1741echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1742echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1743set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1744if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1745 echo $ECHO_N "(cached) $ECHO_C" >&6
1746else
1747 cat >conftest.make <<\_ACEOF
1748all:
1749 @echo 'ac_maketemp="$(MAKE)"'
1750_ACEOF
1751# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1752eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1753if test -n "$ac_maketemp"; then
1754 eval ac_cv_prog_make_${ac_make}_set=yes
1755else
1756 eval ac_cv_prog_make_${ac_make}_set=no
1757fi
1758rm -f conftest.make
1759fi
1760if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1761 echo "$as_me:$LINENO: result: yes" >&5
1762echo "${ECHO_T}yes" >&6
1763 SET_MAKE=
1764else
1765 echo "$as_me:$LINENO: result: no" >&5
1766echo "${ECHO_T}no" >&6
1767 SET_MAKE="MAKE=${MAKE-make}"
1768fi
1769
1770rm -rf .tst 2>/dev/null
1771mkdir .tst 2>/dev/null
1772if test -d .tst; then
1773 am__leading_dot=.
1774else
1775 am__leading_dot=_
1776fi
1777rmdir .tst 2>/dev/null
1778
1779# test to see if srcdir already configured
1780if 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
1783echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1784 { (exit 1); exit 1; }; }
1785fi
1786
1787# test whether we have cygpath
1788if test -z "$CYGPATH_W"; then
1789 if (cygpath --version) >/dev/null 2>/dev/null; then
1790 CYGPATH_W='cygpath -w'
1791 else
1792 CYGPATH_W=echo
1793 fi
1794fi
1795
1796
1797# Define the identity of the package.
1798 PACKAGE='libgfortran'
1799 VERSION='0.2'
1800
1801
4ee9c684 1802# Some tools Automake needs.
1803
1804ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1805
1806
1807AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1808
1809
1810AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1811
1812
1813AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1814
1815
1816MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1817
4ee9c684 1818install_sh=${install_sh-"$am_aux_dir/install-sh"}
1819
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.
1824if 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.
1827set dummy ${ac_tool_prefix}strip; ac_word=$2
1828echo "$as_me:$LINENO: checking for $ac_word" >&5
1829echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1830if test "${ac_cv_prog_STRIP+set}" = set; then
1831 echo $ECHO_N "(cached) $ECHO_C" >&6
1832else
1833 if test -n "$STRIP"; then
1834 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1835else
1836as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1837for as_dir in $PATH
1838do
1839 IFS=$as_save_IFS
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
1845 break 2
1846 fi
1847done
1848done
1849
1850fi
1851fi
1852STRIP=$ac_cv_prog_STRIP
1853if test -n "$STRIP"; then
1854 echo "$as_me:$LINENO: result: $STRIP" >&5
1855echo "${ECHO_T}$STRIP" >&6
1856else
1857 echo "$as_me:$LINENO: result: no" >&5
1858echo "${ECHO_T}no" >&6
1859fi
1860
1861fi
1862if test -z "$ac_cv_prog_STRIP"; then
1863 ac_ct_STRIP=$STRIP
1864 # Extract the first word of "strip", so it can be a program name with args.
1865set dummy strip; ac_word=$2
1866echo "$as_me:$LINENO: checking for $ac_word" >&5
1867echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1868if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1869 echo $ECHO_N "(cached) $ECHO_C" >&6
1870else
1871 if test -n "$ac_ct_STRIP"; then
1872 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1873else
1874as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1875for as_dir in $PATH
1876do
1877 IFS=$as_save_IFS
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
1883 break 2
1884 fi
1885done
1886done
1887
1888 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1889fi
1890fi
1891ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1892if test -n "$ac_ct_STRIP"; then
1893 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1894echo "${ECHO_T}$ac_ct_STRIP" >&6
1895else
1896 echo "$as_me:$LINENO: result: no" >&5
1897echo "${ECHO_T}no" >&6
1898fi
1899
1900 STRIP=$ac_ct_STRIP
1901else
1902 STRIP="$ac_cv_prog_STRIP"
1903fi
1904
1905fi
1906INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1907
1908# We need awk for the "check" target. The system "awk" is bad on
1909# some platforms.
6745c9de 1910# Always define AMTAR for backward compatibility.
1911
1912AMTAR=${AMTAR-"${am_missing_run}tar"}
1913
1914am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1915
1916
4ee9c684 1917
1918
1919
4ee9c684 1920
1921echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1922echo $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.
1924if test "${enable_maintainer_mode+set}" = set; then
1925 enableval="$enable_maintainer_mode"
1926 USE_MAINTAINER_MODE=$enableval
1927else
1928 USE_MAINTAINER_MODE=no
1929fi;
1930 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1931echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1932
1933
1934if test $USE_MAINTAINER_MODE = yes; then
1935 MAINTAINER_MODE_TRUE=
1936 MAINTAINER_MODE_FALSE='#'
1937else
1938 MAINTAINER_MODE_TRUE='#'
1939 MAINTAINER_MODE_FALSE=
1940fi
1941
1942 MAINT=$MAINTAINER_MODE_TRUE
1943
1944
90973b19 1945# Default to --enable-multilib
1946# Check whether --enable-multilib or --disable-multilib was given.
1947if test "${enable_multilib+set}" = set; then
1948 enableval="$enable_multilib"
1949 case "$enableval" in
1950 yes) multilib=yes ;;
1951 no) multilib=no ;;
1952 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1953echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1954 { (exit 1); exit 1; }; } ;;
1955 esac
1956else
1957 multilib=yes
1958fi;
1959
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.
1963
1964if test "$srcdir" = "."; then
1965 if test "$with_target_subdir" != "."; then
1966 multi_basedir="$srcdir/$with_multisrctop../.."
1967 else
1968 multi_basedir="$srcdir/$with_multisrctop.."
1969 fi
1970else
1971 multi_basedir="$srcdir/.."
1972fi
1973
1974
1975 ac_config_commands="$ac_config_commands default-1"
1976
1977
1978# Handy for debugging:
1979#AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1980
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.
1984if test "$build" != "$host"; then
1985 LIBGFOR_IS_NATIVE=false
b52ee437 1986
90973b19 1987else
1988 LIBGFOR_IS_NATIVE=true
1989fi
1990
90973b19 1991# Calculate toolexeclibdir
1992# Also toolexecdir, though it's only used in toolexeclibdir
1993case ${version_specific_libs} in
1994 yes)
1995 # Need the gcc compiler version to know where to install libraries
1996 # and header files if --enable-version-specific-runtime-libs option
1997 # is selected.
1998 toolexecdir='$(libdir)/gcc/$(target_alias)'
91a9c151 1999 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
90973b19 2000 ;;
2001 no)
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'
2007 else
2008 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2009 toolexeclibdir='$(libdir)'
2010 fi
2011 multi_os_directory=`$CC -print-multi-os-directory`
2012 case $multi_os_directory in
2013 .) ;; # Avoid trailing /.
2014 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2015 esac
2016 ;;
2017esac
2018
2019
4ee9c684 2020
90973b19 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.
4ee9c684 2026
2027
2028
4ee9c684 2029ac_ext=c
2030ac_cpp='$CPP $CPPFLAGS'
2031ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2032ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2033ac_compiler_gnu=$ac_cv_c_compiler_gnu
2034if 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.
2036set dummy ${ac_tool_prefix}gcc; ac_word=$2
2037echo "$as_me:$LINENO: checking for $ac_word" >&5
2038echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2039if test "${ac_cv_prog_CC+set}" = set; then
2040 echo $ECHO_N "(cached) $ECHO_C" >&6
2041else
2042 if test -n "$CC"; then
2043 ac_cv_prog_CC="$CC" # Let the user override the test.
2044else
2045as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2046for as_dir in $PATH
2047do
2048 IFS=$as_save_IFS
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
2054 break 2
2055 fi
2056done
2057done
2058
2059fi
2060fi
2061CC=$ac_cv_prog_CC
2062if test -n "$CC"; then
2063 echo "$as_me:$LINENO: result: $CC" >&5
2064echo "${ECHO_T}$CC" >&6
2065else
2066 echo "$as_me:$LINENO: result: no" >&5
2067echo "${ECHO_T}no" >&6
2068fi
2069
2070fi
2071if test -z "$ac_cv_prog_CC"; then
2072 ac_ct_CC=$CC
2073 # Extract the first word of "gcc", so it can be a program name with args.
2074set dummy gcc; ac_word=$2
2075echo "$as_me:$LINENO: checking for $ac_word" >&5
2076echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2077if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2078 echo $ECHO_N "(cached) $ECHO_C" >&6
2079else
2080 if test -n "$ac_ct_CC"; then
2081 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2082else
2083as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2084for as_dir in $PATH
2085do
2086 IFS=$as_save_IFS
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
2092 break 2
2093 fi
2094done
2095done
2096
2097fi
2098fi
2099ac_ct_CC=$ac_cv_prog_ac_ct_CC
2100if test -n "$ac_ct_CC"; then
2101 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2102echo "${ECHO_T}$ac_ct_CC" >&6
2103else
2104 echo "$as_me:$LINENO: result: no" >&5
2105echo "${ECHO_T}no" >&6
2106fi
2107
2108 CC=$ac_ct_CC
2109else
2110 CC="$ac_cv_prog_CC"
2111fi
2112
2113if 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.
2116set dummy ${ac_tool_prefix}cc; ac_word=$2
2117echo "$as_me:$LINENO: checking for $ac_word" >&5
2118echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2119if test "${ac_cv_prog_CC+set}" = set; then
2120 echo $ECHO_N "(cached) $ECHO_C" >&6
2121else
2122 if test -n "$CC"; then
2123 ac_cv_prog_CC="$CC" # Let the user override the test.
2124else
2125as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2126for as_dir in $PATH
2127do
2128 IFS=$as_save_IFS
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
2134 break 2
2135 fi
2136done
2137done
2138
2139fi
2140fi
2141CC=$ac_cv_prog_CC
2142if test -n "$CC"; then
2143 echo "$as_me:$LINENO: result: $CC" >&5
2144echo "${ECHO_T}$CC" >&6
2145else
2146 echo "$as_me:$LINENO: result: no" >&5
2147echo "${ECHO_T}no" >&6
2148fi
2149
2150fi
2151if test -z "$ac_cv_prog_CC"; then
2152 ac_ct_CC=$CC
2153 # Extract the first word of "cc", so it can be a program name with args.
2154set dummy cc; ac_word=$2
2155echo "$as_me:$LINENO: checking for $ac_word" >&5
2156echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2157if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2158 echo $ECHO_N "(cached) $ECHO_C" >&6
2159else
2160 if test -n "$ac_ct_CC"; then
2161 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2162else
2163as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2164for as_dir in $PATH
2165do
2166 IFS=$as_save_IFS
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
2172 break 2
2173 fi
2174done
2175done
2176
2177fi
2178fi
2179ac_ct_CC=$ac_cv_prog_ac_ct_CC
2180if test -n "$ac_ct_CC"; then
2181 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2182echo "${ECHO_T}$ac_ct_CC" >&6
2183else
2184 echo "$as_me:$LINENO: result: no" >&5
2185echo "${ECHO_T}no" >&6
2186fi
2187
2188 CC=$ac_ct_CC
2189else
2190 CC="$ac_cv_prog_CC"
2191fi
2192
2193fi
2194if test -z "$CC"; then
2195 # Extract the first word of "cc", so it can be a program name with args.
2196set dummy cc; ac_word=$2
2197echo "$as_me:$LINENO: checking for $ac_word" >&5
2198echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2199if test "${ac_cv_prog_CC+set}" = set; then
2200 echo $ECHO_N "(cached) $ECHO_C" >&6
2201else
2202 if test -n "$CC"; then
2203 ac_cv_prog_CC="$CC" # Let the user override the test.
2204else
2205 ac_prog_rejected=no
2206as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2207for as_dir in $PATH
2208do
2209 IFS=$as_save_IFS
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
2215 continue
2216 fi
2217 ac_cv_prog_CC="cc"
2218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2219 break 2
2220 fi
2221done
2222done
2223
2224if 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
2227 shift
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.
2232 shift
2233 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2234 fi
2235fi
2236fi
2237fi
2238CC=$ac_cv_prog_CC
2239if test -n "$CC"; then
2240 echo "$as_me:$LINENO: result: $CC" >&5
2241echo "${ECHO_T}$CC" >&6
2242else
2243 echo "$as_me:$LINENO: result: no" >&5
2244echo "${ECHO_T}no" >&6
2245fi
2246
2247fi
2248if test -z "$CC"; then
2249 if test -n "$ac_tool_prefix"; then
2250 for ac_prog in cl
2251 do
2252 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2253set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2254echo "$as_me:$LINENO: checking for $ac_word" >&5
2255echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2256if test "${ac_cv_prog_CC+set}" = set; then
2257 echo $ECHO_N "(cached) $ECHO_C" >&6
2258else
2259 if test -n "$CC"; then
2260 ac_cv_prog_CC="$CC" # Let the user override the test.
2261else
2262as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2263for as_dir in $PATH
2264do
2265 IFS=$as_save_IFS
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
2271 break 2
2272 fi
2273done
2274done
2275
2276fi
2277fi
2278CC=$ac_cv_prog_CC
2279if test -n "$CC"; then
2280 echo "$as_me:$LINENO: result: $CC" >&5
2281echo "${ECHO_T}$CC" >&6
2282else
2283 echo "$as_me:$LINENO: result: no" >&5
2284echo "${ECHO_T}no" >&6
2285fi
2286
2287 test -n "$CC" && break
2288 done
2289fi
2290if test -z "$CC"; then
2291 ac_ct_CC=$CC
2292 for ac_prog in cl
2293do
2294 # Extract the first word of "$ac_prog", so it can be a program name with args.
2295set dummy $ac_prog; ac_word=$2
2296echo "$as_me:$LINENO: checking for $ac_word" >&5
2297echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2298if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2299 echo $ECHO_N "(cached) $ECHO_C" >&6
2300else
2301 if test -n "$ac_ct_CC"; then
2302 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2303else
2304as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2305for as_dir in $PATH
2306do
2307 IFS=$as_save_IFS
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
2313 break 2
2314 fi
2315done
2316done
2317
2318fi
2319fi
2320ac_ct_CC=$ac_cv_prog_ac_ct_CC
2321if test -n "$ac_ct_CC"; then
2322 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2323echo "${ECHO_T}$ac_ct_CC" >&6
2324else
2325 echo "$as_me:$LINENO: result: no" >&5
2326echo "${ECHO_T}no" >&6
2327fi
2328
2329 test -n "$ac_ct_CC" && break
2330done
2331
2332 CC=$ac_ct_CC
2333fi
2334
2335fi
2336
2337
2338test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2339See \`config.log' for more details." >&5
2340echo "$as_me: error: no acceptable C compiler found in \$PATH
2341See \`config.log' for more details." >&2;}
2342 { (exit 1); exit 1; }; }
2343
2344# Provide some information about the compiler.
2345echo "$as_me:$LINENO:" \
2346 "checking for C compiler version" >&5
2347ac_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
2350 ac_status=$?
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
2355 ac_status=$?
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
2360 ac_status=$?
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }
2363
2364cat >conftest.$ac_ext <<_ACEOF
2365/* confdefs.h. */
2366_ACEOF
2367cat confdefs.h >>conftest.$ac_ext
2368cat >>conftest.$ac_ext <<_ACEOF
2369/* end confdefs.h. */
2370
b52ee437 2371int
2372main ()
2373{
2374
2375 ;
2376 return 0;
2377}
2378_ACEOF
2379# FIXME: Cleanup?
2380if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2381 (eval $ac_link) 2>&5
2382 ac_status=$?
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }; then
2385 gcc_no_link=no
2386else
2387 gcc_no_link=yes
2388fi
2389
2390if 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.
2394 cross_compiling=yes
2395 EXEEXT=
2396else
2397 cat >conftest.$ac_ext <<_ACEOF
2398/* confdefs.h. */
2399_ACEOF
2400cat confdefs.h >>conftest.$ac_ext
2401cat >>conftest.$ac_ext <<_ACEOF
2402/* end confdefs.h. */
2403
4ee9c684 2404int
2405main ()
2406{
2407
2408 ;
2409 return 0;
2410}
2411_ACEOF
2412ac_clean_files_save=$ac_clean_files
2413ac_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
2416# of exeext.
2417echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2418echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2419ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2420if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2421 (eval $ac_link_default) 2>&5
2422 ac_status=$?
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
2427# resort.
2428
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.
2431ac_cv_exeext=
2432# b.out is created by i960 compilers.
2433for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2434do
2435 test -f "$ac_file" || continue
2436 case $ac_file in
2437 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2438 ;;
2439 conftest.$ac_ext )
2440 # This is the source file.
2441 ;;
2442 [ab].out )
2443 # We found the default executable, but exeext='' is most
2444 # certainly right.
2445 break;;
2446 *.* )
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.
2451 export ac_cv_exeext
2452 break;;
2453 * )
2454 break;;
2455 esac
2456done
2457else
2458 echo "$as_me: failed program was:" >&5
2459sed 's/^/| /' conftest.$ac_ext >&5
2460
2461{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2462See \`config.log' for more details." >&5
2463echo "$as_me: error: C compiler cannot create executables
2464See \`config.log' for more details." >&2;}
2465 { (exit 77); exit 77; }; }
2466fi
2467
2468ac_exeext=$ac_cv_exeext
2469echo "$as_me:$LINENO: result: $ac_file" >&5
2470echo "${ECHO_T}$ac_file" >&6
2471
2472# Check the compiler produces executables we can run. If not, either
2473# the compiler is broken, or we cross compile.
2474echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2475echo $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.
2478if test "$cross_compiling" != yes; then
2479 if { ac_try='./$ac_file'
2480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2481 (eval $ac_try) 2>&5
2482 ac_status=$?
2483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484 (exit $ac_status); }; }; then
2485 cross_compiling=no
2486 else
2487 if test "$cross_compiling" = maybe; then
2488 cross_compiling=yes
2489 else
2490 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2491If you meant to cross compile, use \`--host'.
2492See \`config.log' for more details." >&5
2493echo "$as_me: error: cannot run C compiled programs.
2494If you meant to cross compile, use \`--host'.
2495See \`config.log' for more details." >&2;}
2496 { (exit 1); exit 1; }; }
2497 fi
2498 fi
2499fi
2500echo "$as_me:$LINENO: result: yes" >&5
2501echo "${ECHO_T}yes" >&6
2502
2503rm -f a.out a.exe conftest$ac_cv_exeext b.out
2504ac_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.
2507echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2508echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2509echo "$as_me:$LINENO: result: $cross_compiling" >&5
2510echo "${ECHO_T}$cross_compiling" >&6
2511
2512echo "$as_me:$LINENO: checking for suffix of executables" >&5
2513echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2514if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2515 (eval $ac_link) 2>&5
2516 ac_status=$?
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
2522# `rm'.
2523for ac_file in conftest.exe conftest conftest.*; do
2524 test -f "$ac_file" || continue
2525 case $ac_file in
2526 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2527 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2528 export ac_cv_exeext
2529 break;;
2530 * ) break;;
2531 esac
2532done
2533else
2534 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2535See \`config.log' for more details." >&5
2536echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2537See \`config.log' for more details." >&2;}
2538 { (exit 1); exit 1; }; }
2539fi
2540
2541rm -f conftest$ac_cv_exeext
2542echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2543echo "${ECHO_T}$ac_cv_exeext" >&6
2544
2545rm -f conftest.$ac_ext
2546EXEEXT=$ac_cv_exeext
2547ac_exeext=$EXEEXT
b52ee437 2548fi
4ee9c684 2549echo "$as_me:$LINENO: checking for suffix of object files" >&5
2550echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2551if test "${ac_cv_objext+set}" = set; then
2552 echo $ECHO_N "(cached) $ECHO_C" >&6
2553else
2554 cat >conftest.$ac_ext <<_ACEOF
2555/* confdefs.h. */
2556_ACEOF
2557cat confdefs.h >>conftest.$ac_ext
2558cat >>conftest.$ac_ext <<_ACEOF
2559/* end confdefs.h. */
2560
2561int
2562main ()
2563{
2564
2565 ;
2566 return 0;
2567}
2568_ACEOF
2569rm -f conftest.o conftest.obj
2570if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2571 (eval $ac_compile) 2>&5
2572 ac_status=$?
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
2576 case $ac_file in
2577 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2578 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2579 break;;
2580 esac
2581done
2582else
2583 echo "$as_me: failed program was:" >&5
2584sed 's/^/| /' conftest.$ac_ext >&5
2585
2586{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2587See \`config.log' for more details." >&5
2588echo "$as_me: error: cannot compute suffix of object files: cannot compile
2589See \`config.log' for more details." >&2;}
2590 { (exit 1); exit 1; }; }
2591fi
2592
2593rm -f conftest.$ac_cv_objext conftest.$ac_ext
2594fi
2595echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2596echo "${ECHO_T}$ac_cv_objext" >&6
2597OBJEXT=$ac_cv_objext
2598ac_objext=$OBJEXT
2599echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2600echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2601if test "${ac_cv_c_compiler_gnu+set}" = set; then
2602 echo $ECHO_N "(cached) $ECHO_C" >&6
2603else
2604 cat >conftest.$ac_ext <<_ACEOF
2605/* confdefs.h. */
2606_ACEOF
2607cat confdefs.h >>conftest.$ac_ext
2608cat >>conftest.$ac_ext <<_ACEOF
2609/* end confdefs.h. */
2610
2611int
2612main ()
2613{
2614#ifndef __GNUC__
2615 choke me
2616#endif
2617
2618 ;
2619 return 0;
2620}
2621_ACEOF
2622rm -f conftest.$ac_objext
2623if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2624 (eval $ac_compile) 2>conftest.er1
2625 ac_status=$?
2626 grep -v '^ *+' conftest.er1 >conftest.err
2627 rm -f conftest.er1
2628 cat conftest.err >&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); } &&
b56cb1ff 2631 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4ee9c684 2632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2633 (eval $ac_try) 2>&5
2634 ac_status=$?
2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); }; } &&
2637 { ac_try='test -s conftest.$ac_objext'
2638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2639 (eval $ac_try) 2>&5
2640 ac_status=$?
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }; }; then
2643 ac_compiler_gnu=yes
2644else
2645 echo "$as_me: failed program was:" >&5
2646sed 's/^/| /' conftest.$ac_ext >&5
2647
2648ac_compiler_gnu=no
2649fi
2650rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2651ac_cv_c_compiler_gnu=$ac_compiler_gnu
2652
2653fi
2654echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2655echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2656GCC=`test $ac_compiler_gnu = yes && echo yes`
2657ac_test_CFLAGS=${CFLAGS+set}
2658ac_save_CFLAGS=$CFLAGS
2659CFLAGS="-g"
2660echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2661echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2662if test "${ac_cv_prog_cc_g+set}" = set; then
2663 echo $ECHO_N "(cached) $ECHO_C" >&6
2664else
2665 cat >conftest.$ac_ext <<_ACEOF
2666/* confdefs.h. */
2667_ACEOF
2668cat confdefs.h >>conftest.$ac_ext
2669cat >>conftest.$ac_ext <<_ACEOF
2670/* end confdefs.h. */
2671
2672int
2673main ()
2674{
2675
2676 ;
2677 return 0;
2678}
2679_ACEOF
2680rm -f conftest.$ac_objext
2681if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2682 (eval $ac_compile) 2>conftest.er1
2683 ac_status=$?
2684 grep -v '^ *+' conftest.er1 >conftest.err
2685 rm -f conftest.er1
2686 cat conftest.err >&5
2687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2688 (exit $ac_status); } &&
b56cb1ff 2689 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4ee9c684 2690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2691 (eval $ac_try) 2>&5
2692 ac_status=$?
2693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2694 (exit $ac_status); }; } &&
2695 { ac_try='test -s conftest.$ac_objext'
2696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2697 (eval $ac_try) 2>&5
2698 ac_status=$?
2699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700 (exit $ac_status); }; }; then
2701 ac_cv_prog_cc_g=yes
2702else
2703 echo "$as_me: failed program was:" >&5
2704sed 's/^/| /' conftest.$ac_ext >&5
2705
2706ac_cv_prog_cc_g=no
2707fi
2708rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2709fi
2710echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2711echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2712if test "$ac_test_CFLAGS" = set; then
2713 CFLAGS=$ac_save_CFLAGS
2714elif test $ac_cv_prog_cc_g = yes; then
2715 if test "$GCC" = yes; then
2716 CFLAGS="-g -O2"
2717 else
2718 CFLAGS="-g"
2719 fi
2720else
2721 if test "$GCC" = yes; then
2722 CFLAGS="-O2"
2723 else
2724 CFLAGS=
2725 fi
2726fi
2727echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2728echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2729if test "${ac_cv_prog_cc_stdc+set}" = set; then
2730 echo $ECHO_N "(cached) $ECHO_C" >&6
2731else
2732 ac_cv_prog_cc_stdc=no
2733ac_save_CC=$CC
2734cat >conftest.$ac_ext <<_ACEOF
2735/* confdefs.h. */
2736_ACEOF
2737cat confdefs.h >>conftest.$ac_ext
2738cat >>conftest.$ac_ext <<_ACEOF
2739/* end confdefs.h. */
2740#include <stdarg.h>
2741#include <stdio.h>
2742#include <sys/types.h>
2743#include <sys/stat.h>
2744/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2745struct buf { int x; };
2746FILE * (*rcsopen) (struct buf *, struct stat *, int);
2747static char *e (p, i)
2748 char **p;
2749 int i;
2750{
2751 return p[i];
2752}
2753static char *f (char * (*g) (char **, int), char **p, ...)
2754{
2755 char *s;
2756 va_list v;
2757 va_start (v,p);
2758 s = g (p, va_arg (v,int));
2759 va_end (v);
2760 return s;
2761}
2762
2763/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2764 function prototypes and stuff, but not '\xHH' hex character constants.
2765 These don't provoke an error unfortunately, instead are silently treated
2766 as 'x'. The following induces an error, until -std1 is added to get
2767 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2768 array size at least. It's necessary to write '\x00'==0 to get something
2769 that's true only with -std1. */
2770int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2771
2772int test (int i, double x);
2773struct s1 {int (*f) (int a);};
2774struct s2 {int (*f) (double a);};
2775int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2776int argc;
2777char **argv;
2778int
2779main ()
2780{
2781return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2782 ;
2783 return 0;
2784}
2785_ACEOF
2786# Don't try gcc -ansi; that turns off useful extensions and
2787# breaks some systems' header files.
2788# AIX -qlanglvl=ansi
2789# Ultrix and OSF/1 -std1
2790# HP-UX 10.20 and later -Ae
2791# HP-UX older versions -Aa -D_HPUX_SOURCE
2792# SVR4 -Xc -D__EXTENSIONS__
2793for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2794do
2795 CC="$ac_save_CC $ac_arg"
2796 rm -f conftest.$ac_objext
2797if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2798 (eval $ac_compile) 2>conftest.er1
2799 ac_status=$?
2800 grep -v '^ *+' conftest.er1 >conftest.err
2801 rm -f conftest.er1
2802 cat conftest.err >&5
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); } &&
b56cb1ff 2805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4ee9c684 2806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2807 (eval $ac_try) 2>&5
2808 ac_status=$?
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); }; } &&
2811 { ac_try='test -s conftest.$ac_objext'
2812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2813 (eval $ac_try) 2>&5
2814 ac_status=$?
2815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816 (exit $ac_status); }; }; then
2817 ac_cv_prog_cc_stdc=$ac_arg
2818break
2819else
2820 echo "$as_me: failed program was:" >&5
2821sed 's/^/| /' conftest.$ac_ext >&5
2822
2823fi
2824rm -f conftest.err conftest.$ac_objext
2825done
2826rm -f conftest.$ac_ext conftest.$ac_objext
2827CC=$ac_save_CC
2828
2829fi
2830
2831case "x$ac_cv_prog_cc_stdc" in
2832 x|xno)
2833 echo "$as_me:$LINENO: result: none needed" >&5
2834echo "${ECHO_T}none needed" >&6 ;;
2835 *)
2836 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2837echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2838 CC="$CC $ac_cv_prog_cc_stdc" ;;
2839esac
2840
2841# Some people use a C++ compiler to compile C. Since we use `exit',
2842# in C++ we need to declare it. In case someone uses the same compiler
2843# for both compiling C and C++ we need to have the C++ compiler decide
2844# the declaration of exit, since it's the most demanding environment.
2845cat >conftest.$ac_ext <<_ACEOF
2846#ifndef __cplusplus
2847 choke me
2848#endif
2849_ACEOF
2850rm -f conftest.$ac_objext
2851if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2852 (eval $ac_compile) 2>conftest.er1
2853 ac_status=$?
2854 grep -v '^ *+' conftest.er1 >conftest.err
2855 rm -f conftest.er1
2856 cat conftest.err >&5
2857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858 (exit $ac_status); } &&
b56cb1ff 2859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4ee9c684 2860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2861 (eval $ac_try) 2>&5
2862 ac_status=$?
2863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864 (exit $ac_status); }; } &&
2865 { ac_try='test -s conftest.$ac_objext'
2866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2867 (eval $ac_try) 2>&5
2868 ac_status=$?
2869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2870 (exit $ac_status); }; }; then
2871 for ac_declaration in \
2872 '' \
2873 'extern "C" void std::exit (int) throw (); using std::exit;' \
2874 'extern "C" void std::exit (int); using std::exit;' \
2875 'extern "C" void exit (int) throw ();' \
2876 'extern "C" void exit (int);' \
2877 'void exit (int);'
2878do
2879 cat >conftest.$ac_ext <<_ACEOF
2880/* confdefs.h. */
2881_ACEOF
2882cat confdefs.h >>conftest.$ac_ext
2883cat >>conftest.$ac_ext <<_ACEOF
2884/* end confdefs.h. */
2885$ac_declaration
2886#include <stdlib.h>
2887int
2888main ()
2889{
2890exit (42);
2891 ;
2892 return 0;
2893}
2894_ACEOF
2895rm -f conftest.$ac_objext
2896if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2897 (eval $ac_compile) 2>conftest.er1
2898 ac_status=$?
2899 grep -v '^ *+' conftest.er1 >conftest.err
2900 rm -f conftest.er1
2901 cat conftest.err >&5
2902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903 (exit $ac_status); } &&
b56cb1ff 2904 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4ee9c684 2905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2906 (eval $ac_try) 2>&5
2907 ac_status=$?
2908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909 (exit $ac_status); }; } &&
2910 { ac_try='test -s conftest.$ac_objext'
2911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2912 (eval $ac_try) 2>&5
2913 ac_status=$?
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); }; }; then
2916 :
2917else
2918 echo "$as_me: failed program was:" >&5
2919sed 's/^/| /' conftest.$ac_ext >&5
2920
2921continue
2922fi
2923rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2924 cat >conftest.$ac_ext <<_ACEOF
2925/* confdefs.h. */
2926_ACEOF
2927cat confdefs.h >>conftest.$ac_ext
2928cat >>conftest.$ac_ext <<_ACEOF
2929/* end confdefs.h. */
2930$ac_declaration
2931int
2932main ()
2933{
2934exit (42);
2935 ;
2936 return 0;
2937}
2938_ACEOF
2939rm -f conftest.$ac_objext
2940if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2941 (eval $ac_compile) 2>conftest.er1
2942 ac_status=$?
2943 grep -v '^ *+' conftest.er1 >conftest.err
2944 rm -f conftest.er1
2945 cat conftest.err >&5
2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); } &&
b56cb1ff 2948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4ee9c684 2949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2950 (eval $ac_try) 2>&5
2951 ac_status=$?
2952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2953 (exit $ac_status); }; } &&
2954 { ac_try='test -s conftest.$ac_objext'
2955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2956 (eval $ac_try) 2>&5
2957 ac_status=$?
2958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959 (exit $ac_status); }; }; then
2960 break
2961else
2962 echo "$as_me: failed program was:" >&5
2963sed 's/^/| /' conftest.$ac_ext >&5
2964
2965fi
2966rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2967done
2968rm -f conftest*
2969if test -n "$ac_declaration"; then
2970 echo '#ifdef __cplusplus' >>confdefs.h
2971 echo $ac_declaration >>confdefs.h
2972 echo '#endif' >>confdefs.h
2973fi
2974
2975else
2976 echo "$as_me: failed program was:" >&5
2977sed 's/^/| /' conftest.$ac_ext >&5
2978
2979fi
2980rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2981ac_ext=c
2982ac_cpp='$CPP $CPPFLAGS'
2983ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2984ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2985ac_compiler_gnu=$ac_cv_c_compiler_gnu
4ee9c684 2986
4ee9c684 2987
4ee9c684 2988
d1191d66 2989# Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
90973b19 2990if test "x$GCC" = "xyes"; then
9b2d5429 2991 AM_FCFLAGS="-I . -Wall -fno-repack-arrays -fno-underscoring"
09e5829f 2992 ## We like to use C99 routines when available. This makes sure that
2993 ## __STDC_VERSION__ is set such that libc includes make them available.
50f0ca0a 2994 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
4ee9c684 2995fi
2996
09e5829f 2997
2998
90973b19 2999# Find other programs we need.
3000if test -n "$ac_tool_prefix"; then
3001 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3002set dummy ${ac_tool_prefix}as; ac_word=$2
3003echo "$as_me:$LINENO: checking for $ac_word" >&5
3004echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3005if test "${ac_cv_prog_AS+set}" = set; then
4ee9c684 3006 echo $ECHO_N "(cached) $ECHO_C" >&6
3007else
90973b19 3008 if test -n "$AS"; then
3009 ac_cv_prog_AS="$AS" # Let the user override the test.
3010else
3011as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3012for as_dir in $PATH
3013do
3014 IFS=$as_save_IFS
3015 test -z "$as_dir" && as_dir=.
3016 for ac_exec_ext in '' $ac_executable_extensions; do
3017 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3018 ac_cv_prog_AS="${ac_tool_prefix}as"
3019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3020 break 2
4ee9c684 3021 fi
90973b19 3022done
3023done
4ee9c684 3024
90973b19 3025fi
3026fi
3027AS=$ac_cv_prog_AS
3028if test -n "$AS"; then
3029 echo "$as_me:$LINENO: result: $AS" >&5
3030echo "${ECHO_T}$AS" >&6
4ee9c684 3031else
90973b19 3032 echo "$as_me:$LINENO: result: no" >&5
3033echo "${ECHO_T}no" >&6
4ee9c684 3034fi
3035
3036fi
90973b19 3037if test -z "$ac_cv_prog_AS"; then
3038 ac_ct_AS=$AS
3039 # Extract the first word of "as", so it can be a program name with args.
3040set dummy as; ac_word=$2
3041echo "$as_me:$LINENO: checking for $ac_word" >&5
3042echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3043if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3044 echo $ECHO_N "(cached) $ECHO_C" >&6
3045else
3046 if test -n "$ac_ct_AS"; then
3047 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3048else
3049as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3050for as_dir in $PATH
3051do
3052 IFS=$as_save_IFS
3053 test -z "$as_dir" && as_dir=.
3054 for ac_exec_ext in '' $ac_executable_extensions; do
3055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3056 ac_cv_prog_ac_ct_AS="as"
3057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3058 break 2
3059 fi
3060done
3061done
4ee9c684 3062
90973b19 3063fi
3064fi
3065ac_ct_AS=$ac_cv_prog_ac_ct_AS
3066if test -n "$ac_ct_AS"; then
3067 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3068echo "${ECHO_T}$ac_ct_AS" >&6
4ee9c684 3069else
90973b19 3070 echo "$as_me:$LINENO: result: no" >&5
3071echo "${ECHO_T}no" >&6
4ee9c684 3072fi
3073
90973b19 3074 AS=$ac_ct_AS
3075else
3076 AS="$ac_cv_prog_AS"
4ee9c684 3077fi
3078
4ee9c684 3079if test -n "$ac_tool_prefix"; then
90973b19 3080 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3081set dummy ${ac_tool_prefix}ar; ac_word=$2
4ee9c684 3082echo "$as_me:$LINENO: checking for $ac_word" >&5
3083echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
90973b19 3084if test "${ac_cv_prog_AR+set}" = set; then
4ee9c684 3085 echo $ECHO_N "(cached) $ECHO_C" >&6
3086else
90973b19 3087 if test -n "$AR"; then
3088 ac_cv_prog_AR="$AR" # Let the user override the test.
4ee9c684 3089else
3090as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3091for as_dir in $PATH
3092do
3093 IFS=$as_save_IFS
3094 test -z "$as_dir" && as_dir=.
3095 for ac_exec_ext in '' $ac_executable_extensions; do
3096 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
90973b19 3097 ac_cv_prog_AR="${ac_tool_prefix}ar"
4ee9c684 3098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3099 break 2
3100 fi
3101done
3102done
3103
3104fi
3105fi
90973b19 3106AR=$ac_cv_prog_AR
3107if test -n "$AR"; then
3108 echo "$as_me:$LINENO: result: $AR" >&5
3109echo "${ECHO_T}$AR" >&6
4ee9c684 3110else
3111 echo "$as_me:$LINENO: result: no" >&5
3112echo "${ECHO_T}no" >&6
3113fi
3114
4ee9c684 3115fi
90973b19 3116if test -z "$ac_cv_prog_AR"; then
3117 ac_ct_AR=$AR
3118 # Extract the first word of "ar", so it can be a program name with args.
3119set dummy ar; ac_word=$2
4ee9c684 3120echo "$as_me:$LINENO: checking for $ac_word" >&5
3121echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
90973b19 3122if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4ee9c684 3123 echo $ECHO_N "(cached) $ECHO_C" >&6
3124else
90973b19 3125 if test -n "$ac_ct_AR"; then
3126 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4ee9c684 3127else
3128as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3129for as_dir in $PATH
3130do
3131 IFS=$as_save_IFS
3132 test -z "$as_dir" && as_dir=.
3133 for ac_exec_ext in '' $ac_executable_extensions; do
3134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
90973b19 3135 ac_cv_prog_ac_ct_AR="ar"
4ee9c684 3136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3137 break 2
3138 fi
3139done
3140done
3141
3142fi
3143fi
90973b19 3144ac_ct_AR=$ac_cv_prog_ac_ct_AR
3145if test -n "$ac_ct_AR"; then
3146 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3147echo "${ECHO_T}$ac_ct_AR" >&6
4ee9c684 3148else
3149 echo "$as_me:$LINENO: result: no" >&5
3150echo "${ECHO_T}no" >&6
3151fi
3152
90973b19 3153 AR=$ac_ct_AR
3154else
3155 AR="$ac_cv_prog_AR"
4ee9c684 3156fi
3157
90973b19 3158if test -n "$ac_tool_prefix"; then
3159 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3160set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3161echo "$as_me:$LINENO: checking for $ac_word" >&5
3162echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3163if test "${ac_cv_prog_RANLIB+set}" = set; then
4ee9c684 3164 echo $ECHO_N "(cached) $ECHO_C" >&6
3165else
90973b19 3166 if test -n "$RANLIB"; then
3167 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4ee9c684 3168else
90973b19 3169as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3170for as_dir in $PATH
3171do
3172 IFS=$as_save_IFS
3173 test -z "$as_dir" && as_dir=.
3174 for ac_exec_ext in '' $ac_executable_extensions; do
3175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3176 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3178 break 2
3179 fi
3180done
3181done
4ee9c684 3182
4ee9c684 3183fi
90973b19 3184fi
3185RANLIB=$ac_cv_prog_RANLIB
3186if test -n "$RANLIB"; then
3187 echo "$as_me:$LINENO: result: $RANLIB" >&5
3188echo "${ECHO_T}$RANLIB" >&6
3189else
3190 echo "$as_me:$LINENO: result: no" >&5
3191echo "${ECHO_T}no" >&6
3192fi
4ee9c684 3193
3194fi
90973b19 3195if test -z "$ac_cv_prog_RANLIB"; then
3196 ac_ct_RANLIB=$RANLIB
3197 # Extract the first word of "ranlib", so it can be a program name with args.
3198set dummy ranlib; ac_word=$2
3199echo "$as_me:$LINENO: checking for $ac_word" >&5
3200echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3201if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4ee9c684 3202 echo $ECHO_N "(cached) $ECHO_C" >&6
3203else
90973b19 3204 if test -n "$ac_ct_RANLIB"; then
3205 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4ee9c684 3206else
90973b19 3207as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3208for as_dir in $PATH
3209do
3210 IFS=$as_save_IFS
3211 test -z "$as_dir" && as_dir=.
3212 for ac_exec_ext in '' $ac_executable_extensions; do
3213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3214 ac_cv_prog_ac_ct_RANLIB="ranlib"
3215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3216 break 2
3217 fi
3218done
3219done
4ee9c684 3220
90973b19 3221 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
4ee9c684 3222fi
4ee9c684 3223fi
90973b19 3224ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3225if test -n "$ac_ct_RANLIB"; then
3226 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3227echo "${ECHO_T}$ac_ct_RANLIB" >&6
4ee9c684 3228else
90973b19 3229 echo "$as_me:$LINENO: result: no" >&5
3230echo "${ECHO_T}no" >&6
4ee9c684 3231fi
3232
90973b19 3233 RANLIB=$ac_ct_RANLIB
3234else
3235 RANLIB="$ac_cv_prog_RANLIB"
4ee9c684 3236fi
90973b19 3237
3238echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3239echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3240set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3241if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
4ee9c684 3242 echo $ECHO_N "(cached) $ECHO_C" >&6
3243else
90973b19 3244 cat >conftest.make <<\_ACEOF
3245all:
3246 @echo 'ac_maketemp="$(MAKE)"'
4ee9c684 3247_ACEOF
90973b19 3248# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3249eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3250if test -n "$ac_maketemp"; then
3251 eval ac_cv_prog_make_${ac_make}_set=yes
4ee9c684 3252else
90973b19 3253 eval ac_cv_prog_make_${ac_make}_set=no
4ee9c684 3254fi
90973b19 3255rm -f conftest.make
3256fi
3257if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3258 echo "$as_me:$LINENO: result: yes" >&5
3259echo "${ECHO_T}yes" >&6
3260 SET_MAKE=
4ee9c684 3261else
90973b19 3262 echo "$as_me:$LINENO: result: no" >&5
3263echo "${ECHO_T}no" >&6
3264 SET_MAKE="MAKE=${MAKE-make}"
4ee9c684 3265fi
4ee9c684 3266
90973b19 3267# Find a good install program. We prefer a C program (faster),
3268# so one script is as good as another. But avoid the broken or
3269# incompatible versions:
3270# SysV /etc/install, /usr/sbin/install
3271# SunOS /usr/etc/install
3272# IRIX /sbin/install
3273# AIX /bin/install
3274# AmigaOS /C/install, which installs bootblocks on floppy discs
3275# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3276# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3277# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3278# OS/2's system install, which has a completely different semantic
3279# ./install, which can be erroneously created by make from ./install.sh.
3280echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3281echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3282if test -z "$INSTALL"; then
3283if test "${ac_cv_path_install+set}" = set; then
3284 echo $ECHO_N "(cached) $ECHO_C" >&6
4ee9c684 3285else
90973b19 3286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3287for as_dir in $PATH
3288do
3289 IFS=$as_save_IFS
3290 test -z "$as_dir" && as_dir=.
3291 # Account for people who put trailing slashes in PATH elements.
3292case $as_dir/ in
3293 ./ | .// | /cC/* | \
3294 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3295 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3296 /usr/ucb/* ) ;;
3297 *)
3298 # OSF1 and SCO ODT 3.0 have their own names for install.
3299 # Don't use installbsd from OSF since it installs stuff as root
3300 # by default.
3301 for ac_prog in ginstall scoinst install; do
3302 for ac_exec_ext in '' $ac_executable_extensions; do
3303 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3304 if test $ac_prog = install &&
3305 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3306 # AIX install. It has an incompatible calling convention.
3307 :
3308 elif test $ac_prog = install &&
3309 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3310 # program-specific install script used by HP pwplus--don't use.
3311 :
3312 else
3313 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3314 break 3
3315 fi
3316 fi
3317 done
3318 done
3319 ;;
3320esac
4ee9c684 3321done
4ee9c684 3322
4ee9c684 3323
3324fi
90973b19 3325 if test "${ac_cv_path_install+set}" = set; then
3326 INSTALL=$ac_cv_path_install
4ee9c684 3327 else
90973b19 3328 # As a last resort, use the slow shell script. We don't cache a
3329 # path for INSTALL within a source directory, because that will
3330 # break other packages using the cache if that directory is
3331 # removed, or if the path is relative.
3332 INSTALL=$ac_install_sh
4ee9c684 3333 fi
4ee9c684 3334fi
90973b19 3335echo "$as_me:$LINENO: result: $INSTALL" >&5
3336echo "${ECHO_T}$INSTALL" >&6
4ee9c684 3337
90973b19 3338# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3339# It thinks the first close brace ends the variable substitution.
3340test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4ee9c684 3341
90973b19 3342test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4ee9c684 3343
90973b19 3344test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4ee9c684 3345
4ee9c684 3346
90973b19 3347# Configure libtool
3348#AC_MSG_NOTICE([====== Starting libtool configuration])
4ee9c684 3349
90973b19 3350# Check whether --enable-shared or --disable-shared was given.
3351if test "${enable_shared+set}" = set; then
3352 enableval="$enable_shared"
3353 p=${PACKAGE-default}
3354case $enableval in
3355yes) enable_shared=yes ;;
3356no) enable_shared=no ;;
3357*)
3358 enable_shared=no
3359 # Look at the argument we got. We use all the common list separators.
3360 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3361 for pkg in $enableval; do
3362 if test "X$pkg" = "X$p"; then
3363 enable_shared=yes
4ee9c684 3364 fi
90973b19 3365 done
3366 IFS="$ac_save_ifs"
3367 ;;
3368esac
4ee9c684 3369else
90973b19 3370 enable_shared=yes
3371fi;
3372# Check whether --enable-static or --disable-static was given.
3373if test "${enable_static+set}" = set; then
3374 enableval="$enable_static"
3375 p=${PACKAGE-default}
3376case $enableval in
3377yes) enable_static=yes ;;
3378no) enable_static=no ;;
3379*)
3380 enable_static=no
3381 # Look at the argument we got. We use all the common list separators.
3382 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3383 for pkg in $enableval; do
3384 if test "X$pkg" = "X$p"; then
3385 enable_static=yes
3386 fi
3387 done
3388 IFS="$ac_save_ifs"
3389 ;;
3390esac
3391else
3392 enable_static=yes
3393fi;
3394# Check whether --enable-fast-install or --disable-fast-install was given.
3395if test "${enable_fast_install+set}" = set; then
3396 enableval="$enable_fast_install"
3397 p=${PACKAGE-default}
3398case $enableval in
3399yes) enable_fast_install=yes ;;
3400no) enable_fast_install=no ;;
3401*)
3402 enable_fast_install=no
3403 # Look at the argument we got. We use all the common list separators.
3404 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3405 for pkg in $enableval; do
3406 if test "X$pkg" = "X$p"; then
3407 enable_fast_install=yes
3408 fi
3409 done
3410 IFS="$ac_save_ifs"
3411 ;;
3412esac
3413else
3414 enable_fast_install=yes
3415fi;
4ee9c684 3416
90973b19 3417# Check whether --with-gnu-ld or --without-gnu-ld was given.
3418if test "${with_gnu_ld+set}" = set; then
3419 withval="$with_gnu_ld"
3420 test "$withval" = no || with_gnu_ld=yes
3421else
3422 with_gnu_ld=no
3423fi;
3424ac_prog=ld
3425if test "$GCC" = yes; then
3426 # Check if gcc -print-prog-name=ld gives a path.
3427 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3428echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3429 case $host in
3430 *-*-mingw*)
3431 # gcc leaves a trailing carriage return which upsets mingw
3432 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3433 *)
3434 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3435 esac
3436 case $ac_prog in
3437 # Accept absolute paths.
3438 [\\/]* | [A-Za-z]:[\\/]*)
3439 re_direlt='/[^/][^/]*/\.\./'
3440 # Canonicalize the path of ld
3441 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3442 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3443 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3444 done
3445 test -z "$LD" && LD="$ac_prog"
3446 ;;
3447 "")
3448 # If it fails, then pretend we aren't using GCC.
3449 ac_prog=ld
3450 ;;
3451 *)
3452 # If it is relative, then search for the first ld in PATH.
3453 with_gnu_ld=unknown
3454 ;;
3455 esac
3456elif test "$with_gnu_ld" = yes; then
3457 echo "$as_me:$LINENO: checking for GNU ld" >&5
3458echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3459else
3460 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3461echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3462fi
3463if test "${lt_cv_path_LD+set}" = set; then
3464 echo $ECHO_N "(cached) $ECHO_C" >&6
3465else
3466 if test -z "$LD"; then
3467 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3468 for ac_dir in $PATH; do
3469 test -z "$ac_dir" && ac_dir=.
3470 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3471 lt_cv_path_LD="$ac_dir/$ac_prog"
3472 # Check to see if the program is GNU ld. I'd rather use --version,
3473 # but apparently some GNU ld's only accept -v.
3474 # Break only if it was the GNU/non-GNU ld that we prefer.
3475 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3476 test "$with_gnu_ld" != no && break
3477 else
3478 test "$with_gnu_ld" != yes && break
3479 fi
3480 fi
3481 done
3482 IFS="$ac_save_ifs"
3483else
3484 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3485fi
3486fi
3487
3488LD="$lt_cv_path_LD"
3489if test -n "$LD"; then
3490 echo "$as_me:$LINENO: result: $LD" >&5
3491echo "${ECHO_T}$LD" >&6
3492else
3493 echo "$as_me:$LINENO: result: no" >&5
3494echo "${ECHO_T}no" >&6
3495fi
3496test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3497echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3498 { (exit 1); exit 1; }; }
3499echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3500echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3501if test "${lt_cv_prog_gnu_ld+set}" = set; then
3502 echo $ECHO_N "(cached) $ECHO_C" >&6
3503else
3504 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3505if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3506 lt_cv_prog_gnu_ld=yes
3507else
3508 lt_cv_prog_gnu_ld=no
3509fi
3510fi
3511echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3512echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3513with_gnu_ld=$lt_cv_prog_gnu_ld
3514
3515
3516echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3517echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3518if test "${lt_cv_ld_reload_flag+set}" = set; then
3519 echo $ECHO_N "(cached) $ECHO_C" >&6
3520else
3521 lt_cv_ld_reload_flag='-r'
3522fi
3523echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3524echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3525reload_flag=$lt_cv_ld_reload_flag
3526test -n "$reload_flag" && reload_flag=" $reload_flag"
3527
3528echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3529echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3530if test "${lt_cv_path_NM+set}" = set; then
3531 echo $ECHO_N "(cached) $ECHO_C" >&6
3532else
3533 if test -n "$NM"; then
3534 # Let the user override the test.
3535 lt_cv_path_NM="$NM"
3536else
3537 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3538 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3539 test -z "$ac_dir" && ac_dir=.
3540 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3541 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3542 # Check to see if the nm accepts a BSD-compat flag.
3543 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3544 # nm: unknown option "B" ignored
3545 # Tru64's nm complains that /dev/null is an invalid object file
3546 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3547 lt_cv_path_NM="$tmp_nm -B"
3548 break
3549 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3550 lt_cv_path_NM="$tmp_nm -p"
3551 break
3552 else
3553 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3554 continue # so that we can try to find one that supports BSD flags
3555 fi
3556 fi
3557 done
3558 IFS="$ac_save_ifs"
3559 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3560fi
3561fi
3562
3563NM="$lt_cv_path_NM"
3564echo "$as_me:$LINENO: result: $NM" >&5
3565echo "${ECHO_T}$NM" >&6
3566
3567echo "$as_me:$LINENO: checking whether ln -s works" >&5
3568echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3569LN_S=$as_ln_s
3570if test "$LN_S" = "ln -s"; then
3571 echo "$as_me:$LINENO: result: yes" >&5
3572echo "${ECHO_T}yes" >&6
3573else
3574 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3575echo "${ECHO_T}no, using $LN_S" >&6
3576fi
3577
3578echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3579echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3580if test "${lt_cv_deplibs_check_method+set}" = set; then
3581 echo $ECHO_N "(cached) $ECHO_C" >&6
3582else
3583 lt_cv_file_magic_cmd='$MAGIC_CMD'
3584lt_cv_file_magic_test_file=
3585lt_cv_deplibs_check_method='unknown'
3586# Need to set the preceding variable on all platforms that support
3587# interlibrary dependencies.
3588# 'none' -- dependencies not supported.
3589# `unknown' -- same as none, but documents that we really don't know.
3590# 'pass_all' -- all dependencies passed with no checks.
3591# 'test_compile' -- check by making test program.
3592# 'file_magic [regex]' -- check by looking for files in library path
3593# which responds to the $file_magic_cmd with a given egrep regex.
3594# If you have `file' or equivalent on your system and you're not sure
3595# whether `pass_all' will *always* work, you probably want this one.
3596
3597case $host_os in
3598aix*)
3599 lt_cv_deplibs_check_method=pass_all
3600 ;;
3601
3602beos*)
3603 lt_cv_deplibs_check_method=pass_all
3604 ;;
3605
3606bsdi4*)
3607 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3608 lt_cv_file_magic_cmd='/usr/bin/file -L'
3609 lt_cv_file_magic_test_file=/shlib/libc.so
3610 ;;
3611
3612cygwin* | mingw* |pw32*)
3613 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3614 lt_cv_file_magic_cmd='$OBJDUMP -f'
3615 ;;
3616
3617darwin* | rhapsody*)
3618 # this will be overwritten by pass_all, but leave it in just in case
3619 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3620 lt_cv_file_magic_cmd='/usr/bin/file -L'
3621 case "$host_os" in
3622 rhapsody* | darwin1.012)
3623 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3624 ;;
3625 *) # Darwin 1.3 on
3626 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3627 ;;
3628 esac
3629 lt_cv_deplibs_check_method=pass_all
3630 ;;
3631
3632freebsd* | kfreebsd*-gnu)
3633 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3634 case $host_cpu in
3635 i*86 )
3636 # Not sure whether the presence of OpenBSD here was a mistake.
3637 # Let's accept both of them until this is cleared up.
3638 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3639 lt_cv_file_magic_cmd=/usr/bin/file
3640 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3641 ;;
3642 esac
3643 else
3644 lt_cv_deplibs_check_method=pass_all
3645 fi
3646 ;;
3647
3648gnu*)
3649 lt_cv_deplibs_check_method=pass_all
3650 ;;
3651
3652hpux10.20*|hpux11*)
3653 case $host_cpu in
3654 hppa*)
3655 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3656 lt_cv_file_magic_cmd=/usr/bin/file
3657 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3658 ;;
3659 ia64*)
3660 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3661 lt_cv_file_magic_cmd=/usr/bin/file
3662 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3663 ;;
3664 esac
3665 ;;
3666
3667irix5* | irix6*)
3668 case $host_os in
3669 irix5*)
3670 # this will be overridden with pass_all, but let us keep it just in case
3671 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3672 ;;
3673 *)
3674 case $LD in
3675 *-32|*"-32 ") libmagic=32-bit;;
3676 *-n32|*"-n32 ") libmagic=N32;;
3677 *-64|*"-64 ") libmagic=64-bit;;
3678 *) libmagic=never-match;;
3679 esac
3680 # this will be overridden with pass_all, but let us keep it just in case
3681 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3682 ;;
3683 esac
3684 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3685 lt_cv_deplibs_check_method=pass_all
3686 ;;
3687
3688# This must be Linux ELF.
3689linux-gnu*)
7f93fe7a 3690 lt_cv_deplibs_check_method=pass_all
90973b19 3691 ;;
3692
3693netbsd* | knetbsd*-gnu)
3694 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3695 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3696 else
3697 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3698 fi
3699 ;;
3700
3701newsos6)
3702 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3703 lt_cv_file_magic_cmd=/usr/bin/file
3704 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3705 ;;
3706
3707osf3* | osf4* | osf5*)
3708 # this will be overridden with pass_all, but let us keep it just in case
3709 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3710 lt_cv_file_magic_test_file=/shlib/libc.so
3711 lt_cv_deplibs_check_method=pass_all
3712 ;;
3713
3714sco3.2v5*)
3715 lt_cv_deplibs_check_method=pass_all
3716 ;;
3717
3718solaris*)
3719 lt_cv_deplibs_check_method=pass_all
3720 lt_cv_file_magic_test_file=/lib/libc.so
3721 ;;
3722
3723sysv5uw[78]* | sysv4*uw2*)
3724 lt_cv_deplibs_check_method=pass_all
3725 ;;
3726
3727sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3728 case $host_vendor in
3729 ncr)
3730 lt_cv_deplibs_check_method=pass_all
3731 ;;
3732 motorola)
3733 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]'
3734 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3735 ;;
3736 esac
3737 ;;
3738esac
3739
3740fi
3741echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3742echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3743file_magic_cmd=$lt_cv_file_magic_cmd
3744deplibs_check_method=$lt_cv_deplibs_check_method
3745
3746
3747
3748
3749
3750# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3751
3bcf2cd5 3752# find the maximum length of command line arguments
3753echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3754echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3755if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3756 echo $ECHO_N "(cached) $ECHO_C" >&6
3757else
3758 i=0
3759 teststring="ABCD"
3760
3761 case $build_os in
3762 msdosdjgpp*)
3763 # On DJGPP, this test can blow up pretty badly due to problems in libc
3764 # (any single argument exceeding 2000 bytes causes a buffer overrun
3765 # during glob expansion). Even if it were fixed, the result of this
3766 # check would be larger than it should be.
3767 lt_cv_sys_max_cmd_len=12288; # 12K is about right
3768 ;;
3769
3770 cygwin* | mingw*)
3771 # On Win9x/ME, this test blows up -- it succeeds, but takes
3772 # about 5 minutes as the teststring grows exponentially.
3773 # Worse, since 9x/ME are not pre-emptively multitasking,
3774 # you end up with a "frozen" computer, even though with patience
3775 # the test eventually succeeds (with a max line length of 256k).
3776 # Instead, let's just punt: use the minimum linelength reported by
3777 # all of the supported platforms: 8192 (on NT/2K/XP).
3778 lt_cv_sys_max_cmd_len=8192;
3779 ;;
3780
3781 amigaos*)
3782 # On AmigaOS with pdksh, this test takes hours, literally.
3783 # So we just punt and use a minimum line length of 8192.
3784 lt_cv_sys_max_cmd_len=8192;
3785 ;;
3786
3787 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3788 # This has been around since 386BSD, at least. Likely further.
3789 if test -x /sbin/sysctl; then
3790 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3791 elif test -x /usr/sbin/sysctl; then
3792 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3793 else
3794 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
3795 fi
3796 # And add a safety zone
3797 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3798 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3799 ;;
3800 esac
3801
3802fi
3803
5f0a087e 3804if test -n "$lt_cv_sys_max_cmd_len" ; then
3bcf2cd5 3805 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3806echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3807else
3808 echo "$as_me:$LINENO: result: none" >&5
3809echo "${ECHO_T}none" >&6
3810fi
3811
3812
90973b19 3813# Only perform the check for file, if the check method requires it
3814case $deplibs_check_method in
3815file_magic*)
3816 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3817 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3818echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3819if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3820 echo $ECHO_N "(cached) $ECHO_C" >&6
3821else
3822 case $MAGIC_CMD in
3823 /*)
3824 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3825 ;;
3826 ?:/*)
3827 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3828 ;;
3829 *)
3830 ac_save_MAGIC_CMD="$MAGIC_CMD"
3831 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3832 ac_dummy="/usr/bin:$PATH"
3833 for ac_dir in $ac_dummy; do
3834 test -z "$ac_dir" && ac_dir=.
3835 if test -f $ac_dir/${ac_tool_prefix}file; then
3836 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3837 if test -n "$file_magic_test_file"; then
3838 case $deplibs_check_method in
3839 "file_magic "*)
3840 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3841 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3842 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3843 egrep "$file_magic_regex" > /dev/null; then
3844 :
3845 else
3846 cat <<EOF 1>&2
3847
3848*** Warning: the command libtool uses to detect shared libraries,
3849*** $file_magic_cmd, produces output that libtool cannot recognize.
3850*** The result is that libtool may fail to recognize shared libraries
3851*** as such. This will affect the creation of libtool libraries that
3852*** depend on shared libraries, but programs linked with such libtool
3853*** libraries will work regardless of this problem. Nevertheless, you
3854*** may want to report the problem to your system manager and/or to
3855*** bug-libtool@gnu.org
3856
3857EOF
3858 fi ;;
3859 esac
3860 fi
3861 break
3862 fi
3863 done
3864 IFS="$ac_save_ifs"
3865 MAGIC_CMD="$ac_save_MAGIC_CMD"
3866 ;;
3867esac
3868fi
3869
3870MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3871if test -n "$MAGIC_CMD"; then
3872 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3873echo "${ECHO_T}$MAGIC_CMD" >&6
3874else
3875 echo "$as_me:$LINENO: result: no" >&5
3876echo "${ECHO_T}no" >&6
3877fi
3878
3879if test -z "$lt_cv_path_MAGIC_CMD"; then
3880 if test -n "$ac_tool_prefix"; then
3881 echo "$as_me:$LINENO: checking for file" >&5
3882echo $ECHO_N "checking for file... $ECHO_C" >&6
3883if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3884 echo $ECHO_N "(cached) $ECHO_C" >&6
3885else
3886 case $MAGIC_CMD in
3887 /*)
3888 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3889 ;;
3890 ?:/*)
3891 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3892 ;;
3893 *)
3894 ac_save_MAGIC_CMD="$MAGIC_CMD"
3895 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3896 ac_dummy="/usr/bin:$PATH"
3897 for ac_dir in $ac_dummy; do
3898 test -z "$ac_dir" && ac_dir=.
3899 if test -f $ac_dir/file; then
3900 lt_cv_path_MAGIC_CMD="$ac_dir/file"
3901 if test -n "$file_magic_test_file"; then
3902 case $deplibs_check_method in
3903 "file_magic "*)
3904 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3905 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3906 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3907 egrep "$file_magic_regex" > /dev/null; then
3908 :
3909 else
3910 cat <<EOF 1>&2
3911
3912*** Warning: the command libtool uses to detect shared libraries,
3913*** $file_magic_cmd, produces output that libtool cannot recognize.
3914*** The result is that libtool may fail to recognize shared libraries
3915*** as such. This will affect the creation of libtool libraries that
3916*** depend on shared libraries, but programs linked with such libtool
3917*** libraries will work regardless of this problem. Nevertheless, you
3918*** may want to report the problem to your system manager and/or to
3919*** bug-libtool@gnu.org
3920
3921EOF
3922 fi ;;
3923 esac
3924 fi
3925 break
3926 fi
3927 done
3928 IFS="$ac_save_ifs"
3929 MAGIC_CMD="$ac_save_MAGIC_CMD"
3930 ;;
3931esac
3932fi
4ee9c684 3933
90973b19 3934MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3935if test -n "$MAGIC_CMD"; then
3936 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3937echo "${ECHO_T}$MAGIC_CMD" >&6
4ee9c684 3938else
90973b19 3939 echo "$as_me:$LINENO: result: no" >&5
3940echo "${ECHO_T}no" >&6
3941fi
4ee9c684 3942
90973b19 3943 else
3944 MAGIC_CMD=:
3945 fi
4ee9c684 3946fi
4ee9c684 3947
90973b19 3948 fi
3949 ;;
3950esac
4ee9c684 3951
90973b19 3952if test -n "$ac_tool_prefix"; then
3953 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3954set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3955echo "$as_me:$LINENO: checking for $ac_word" >&5
3956echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3957if test "${ac_cv_prog_RANLIB+set}" = set; then
3958 echo $ECHO_N "(cached) $ECHO_C" >&6
4ee9c684 3959else
90973b19 3960 if test -n "$RANLIB"; then
3961 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3962else
3963as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3964for as_dir in $PATH
3965do
3966 IFS=$as_save_IFS
3967 test -z "$as_dir" && as_dir=.
3968 for ac_exec_ext in '' $ac_executable_extensions; do
3969 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3970 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3972 break 2
3973 fi
3974done
3975done
4ee9c684 3976
90973b19 3977fi
3978fi
3979RANLIB=$ac_cv_prog_RANLIB
3980if test -n "$RANLIB"; then
3981 echo "$as_me:$LINENO: result: $RANLIB" >&5
3982echo "${ECHO_T}$RANLIB" >&6
3983else
3984 echo "$as_me:$LINENO: result: no" >&5
3985echo "${ECHO_T}no" >&6
4ee9c684 3986fi
3987
90973b19 3988fi
3989if test -z "$ac_cv_prog_RANLIB"; then
3990 ac_ct_RANLIB=$RANLIB
3991 # Extract the first word of "ranlib", so it can be a program name with args.
3992set dummy ranlib; ac_word=$2
3993echo "$as_me:$LINENO: checking for $ac_word" >&5
3994echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3995if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3996 echo $ECHO_N "(cached) $ECHO_C" >&6
3997else
3998 if test -n "$ac_ct_RANLIB"; then
3999 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4000else
4001as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4002for as_dir in $PATH
4003do
4004 IFS=$as_save_IFS
4005 test -z "$as_dir" && as_dir=.
4006 for ac_exec_ext in '' $ac_executable_extensions; do
4007 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4008 ac_cv_prog_ac_ct_RANLIB="ranlib"
4009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4010 break 2
4011 fi
4012done
4013done
4ee9c684 4014
90973b19 4015 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4016fi
4017fi
4018ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4019if test -n "$ac_ct_RANLIB"; then
4020 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4021echo "${ECHO_T}$ac_ct_RANLIB" >&6
4ee9c684 4022else
90973b19 4023 echo "$as_me:$LINENO: result: no" >&5
4024echo "${ECHO_T}no" >&6
4ee9c684 4025fi
4ee9c684 4026
90973b19 4027 RANLIB=$ac_ct_RANLIB
4028else
4029 RANLIB="$ac_cv_prog_RANLIB"
4ee9c684 4030fi
4031
90973b19 4032if test -n "$ac_tool_prefix"; then
4033 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4034set dummy ${ac_tool_prefix}strip; ac_word=$2
4035echo "$as_me:$LINENO: checking for $ac_word" >&5
4036echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4037if test "${ac_cv_prog_STRIP+set}" = set; then
4038 echo $ECHO_N "(cached) $ECHO_C" >&6
4ee9c684 4039else
90973b19 4040 if test -n "$STRIP"; then
4041 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4042else
4043as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4044for as_dir in $PATH
4045do
4046 IFS=$as_save_IFS
4047 test -z "$as_dir" && as_dir=.
4048 for ac_exec_ext in '' $ac_executable_extensions; do
4049 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4050 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4052 break 2
4053 fi
4054done
4055done
4ee9c684 4056
90973b19 4057fi
4058fi
4059STRIP=$ac_cv_prog_STRIP
4060if test -n "$STRIP"; then
4061 echo "$as_me:$LINENO: result: $STRIP" >&5
4062echo "${ECHO_T}$STRIP" >&6
4ee9c684 4063else
90973b19 4064 echo "$as_me:$LINENO: result: no" >&5
4065echo "${ECHO_T}no" >&6
4066fi
4ee9c684 4067
4ee9c684 4068fi
90973b19 4069if test -z "$ac_cv_prog_STRIP"; then
4070 ac_ct_STRIP=$STRIP
4071 # Extract the first word of "strip", so it can be a program name with args.
4072set dummy strip; ac_word=$2
4073echo "$as_me:$LINENO: checking for $ac_word" >&5
4074echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4075if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4076 echo $ECHO_N "(cached) $ECHO_C" >&6
4077else
4078 if test -n "$ac_ct_STRIP"; then
4079 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4080else
4081as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4082for as_dir in $PATH
4083do
4084 IFS=$as_save_IFS
4085 test -z "$as_dir" && as_dir=.
4086 for ac_exec_ext in '' $ac_executable_extensions; do
4087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4088 ac_cv_prog_ac_ct_STRIP="strip"
4089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4090 break 2
4091 fi
4092done
4093done
4094
4095 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4ee9c684 4096fi
4097fi
90973b19 4098ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4099if test -n "$ac_ct_STRIP"; then
4100 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4101echo "${ECHO_T}$ac_ct_STRIP" >&6
4102else
4103 echo "$as_me:$LINENO: result: no" >&5
4104echo "${ECHO_T}no" >&6
4ee9c684 4105fi
4ee9c684 4106
90973b19 4107 STRIP=$ac_ct_STRIP
4108else
4109 STRIP="$ac_cv_prog_STRIP"
4ee9c684 4110fi
4111
4ee9c684 4112
90973b19 4113# Check for any special flags to pass to ltconfig.
4114libtool_flags="--cache-file=$cache_file"
4115test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4116test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4117test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4118test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4119test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4ee9c684 4120
4121
90973b19 4122# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4123if test "${enable_libtool_lock+set}" = set; then
4124 enableval="$enable_libtool_lock"
4ee9c684 4125
90973b19 4126fi;
4127test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4128test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4ee9c684 4129
4130
90973b19 4131# Check whether --with-pic or --without-pic was given.
4132if test "${with_pic+set}" = set; then
4133 withval="$with_pic"
4134 pic_mode="$withval"
4ee9c684 4135else
90973b19 4136 pic_mode=default
4137fi;
4138test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4139test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4ee9c684 4140
90973b19 4141# Some flags need to be propagated to the compiler or linker for good
4142# libtool support.
4143case $host in
4144*-*-irix6*)
4145 # Find out which ABI we are using.
b56cb1ff 4146 echo '#line 4146 "configure"' > conftest.$ac_ext
90973b19 4147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4148 (eval $ac_compile) 2>&5
4ee9c684 4149 ac_status=$?
4150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90973b19 4151 (exit $ac_status); }; then
4152 if test "$lt_cv_prog_gnu_ld" = yes; then
4153 case `/usr/bin/file conftest.$ac_objext` in
4154 *32-bit*)
4155 LD="${LD-ld} -melf32bsmip"
4156 ;;
4157 *N32*)
4158 LD="${LD-ld} -melf32bmipn32"
4159 ;;
4160 *64-bit*)
4161 LD="${LD-ld} -melf64bmip"
4162 ;;
4163 esac
4164 else
4165 case `/usr/bin/file conftest.$ac_objext` in
4166 *32-bit*)
4167 LD="${LD-ld} -32"
4168 ;;
4169 *N32*)
4170 LD="${LD-ld} -n32"
4171 ;;
4172 *64-bit*)
4173 LD="${LD-ld} -64"
4174 ;;
4175 esac
4176 fi
4177 fi
4178 rm -rf conftest*
4179 ;;
4ee9c684 4180
90973b19 4181ia64-*-hpux*)
4182 # Find out which ABI we are using.
4183 echo 'int i;' > conftest.$ac_ext
4184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4185 (eval $ac_compile) 2>&5
4ee9c684 4186 ac_status=$?
4187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90973b19 4188 (exit $ac_status); }; then
4189 case "`/usr/bin/file conftest.o`" in
4190 *ELF-32*)
4191 HPUX_IA64_MODE="32"
4192 ;;
4193 *ELF-64*)
4194 HPUX_IA64_MODE="64"
4195 ;;
4196 esac
4197 fi
4198 rm -rf conftest*
4199 ;;
4ee9c684 4200
90973b19 4201x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4202 # Find out which ABI we are using.
4203 echo 'int i;' > conftest.$ac_ext
4204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4205 (eval $ac_compile) 2>&5
4ee9c684 4206 ac_status=$?
4ee9c684 4207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90973b19 4208 (exit $ac_status); }; then
4209 case "`/usr/bin/file conftest.o`" in
4210 *32-bit*)
4211 case $host in
4212 x86_64-*linux*)
4213 LD="${LD-ld} -m elf_i386"
4214 ;;
4215 ppc64-*linux*|powerpc64-*linux*)
4216 LD="${LD-ld} -m elf32ppclinux"
4217 ;;
4218 s390x-*linux*)
4219 LD="${LD-ld} -m elf_s390"
4220 ;;
4221 sparc64-*linux*)
4222 LD="${LD-ld} -m elf32_sparc"
4223 ;;
4224 esac
4225 ;;
4226 *64-bit*)
4227 case $host in
4228 x86_64-*linux*)
4229 LD="${LD-ld} -m elf_x86_64"
4230 ;;
4231 ppc*-*linux*|powerpc*-*linux*)
4232 LD="${LD-ld} -m elf64ppc"
4233 ;;
4234 s390*-*linux*)
4235 LD="${LD-ld} -m elf64_s390"
4236 ;;
4237 sparc*-*linux*)
4238 LD="${LD-ld} -m elf64_sparc"
4239 ;;
4240 esac
4241 ;;
4242 esac
4ee9c684 4243 fi
90973b19 4244 rm -rf conftest*
4245 ;;
4ee9c684 4246
90973b19 4247*-*-sco3.2v5*)
4248 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4249 SAVE_CFLAGS="$CFLAGS"
4250 CFLAGS="$CFLAGS -belf"
4251 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4252echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4253if test "${lt_cv_cc_needs_belf+set}" = set; then
4ee9c684 4254 echo $ECHO_N "(cached) $ECHO_C" >&6
4255else
4ee9c684 4256
4ee9c684 4257
90973b19 4258 ac_ext=c
4259ac_cpp='$CPP $CPPFLAGS'
4260ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4261ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4262ac_compiler_gnu=$ac_cv_c_compiler_gnu
4ee9c684 4263
b52ee437 4264 if test x$gcc_no_link = xyes; then
4265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4266echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4267 { (exit 1); exit 1; }; }
4268fi
4269cat >conftest.$ac_ext <<_ACEOF
4ee9c684 4270/* confdefs.h. */
4271_ACEOF
4272cat confdefs.h >>conftest.$ac_ext
4273cat >>conftest.$ac_ext <<_ACEOF
4274/* end confdefs.h. */
4ee9c684 4275
4276int
4277main ()
4278{
90973b19 4279
4ee9c684 4280 ;
4281 return 0;
4282}
4283_ACEOF
4284rm -f conftest.$ac_objext conftest$ac_exeext
4285if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4286 (eval $ac_link) 2>conftest.er1
4287 ac_status=$?
4288 grep -v '^ *+' conftest.er1 >conftest.err
4289 rm -f conftest.er1
4290 cat conftest.err >&5
4291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4292 (exit $ac_status); } &&
b56cb1ff 4293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4ee9c684 4294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4295 (eval $ac_try) 2>&5
4296 ac_status=$?
4297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4298 (exit $ac_status); }; } &&
4299 { ac_try='test -s conftest$ac_exeext'
4300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4301 (eval $ac_try) 2>&5
4302 ac_status=$?
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); }; }; then
90973b19 4305 lt_cv_cc_needs_belf=yes
4ee9c684 4306else
4307 echo "$as_me: failed program was:" >&5
4308sed 's/^/| /' conftest.$ac_ext >&5
4309
90973b19 4310lt_cv_cc_needs_belf=no
4ee9c684 4311fi
4312rm -f conftest.err conftest.$ac_objext \
4313 conftest$ac_exeext conftest.$ac_ext
90973b19 4314 ac_ext=c
4315ac_cpp='$CPP $CPPFLAGS'
4316ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4317ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4318ac_compiler_gnu=$ac_cv_c_compiler_gnu
4319
4ee9c684 4320fi
90973b19 4321echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4322echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4323 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4324 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4325 CFLAGS="$SAVE_CFLAGS"
4326 fi
4327 ;;
4328
4329
4330esac
4331
4332
4333# Save cache, so that ltconfig can load it
4334cat >confcache <<\_ACEOF
4335# This file is a shell script that caches the results of configure
4336# tests run on this system so they can be shared between configure
4337# scripts and configure runs, see configure's option --config-cache.
4338# It is not useful on other systems. If it contains results you don't
4339# want to keep, you may remove or edit it.
4340#
4341# config.status only pays attention to the cache file if you give it
4342# the --recheck option to rerun configure.
4343#
4344# `ac_cv_env_foo' variables (set or unset) will be overridden when
4345# loading this file, other *unset* `ac_cv_foo' will be assigned the
4346# following values.
4347
4ee9c684 4348_ACEOF
4349
90973b19 4350# The following way of writing the cache mishandles newlines in values,
4351# but we know of no workaround that is simple, portable, and efficient.
4352# So, don't put newlines in cache variables' values.
4353# Ultrix sh set writes to stderr and can't be redirected directly,
4354# and sets the high bit in the cache file unless we assign to the vars.
4355{
4356 (set) 2>&1 |
4357 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4358 *ac_space=\ *)
4359 # `set' does not quote correctly, so add quotes (double-quote
4360 # substitution turns \\\\ into \\, and sed turns \\ into \).
4361 sed -n \
4362 "s/'/'\\\\''/g;
4363 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4364 ;;
4365 *)
4366 # `set' quotes correctly as required by POSIX, so do not add quotes.
4367 sed -n \
4368 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4369 ;;
4370 esac;
4371} |
4372 sed '
4373 t clear
4374 : clear
4375 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4376 t end
4377 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4378 : end' >>confcache
4379if diff $cache_file confcache >/dev/null 2>&1; then :; else
4380 if test -w $cache_file; then
4381 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4382 cat confcache >$cache_file
4383 else
4384 echo "not updating unwritable cache $cache_file"
4385 fi
4ee9c684 4386fi
90973b19 4387rm -f confcache
4ee9c684 4388
90973b19 4389# Actually configure libtool. ac_aux_dir is where install-sh is found.
4390AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4391MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4392LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4393AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4394objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4395deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4396${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4397$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4398|| { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4399echo "$as_me: error: libtool configure failed" >&2;}
4400 { (exit 1); exit 1; }; }
4401
4402# Reload cache, that may have been modified by ltconfig
4403if test -r "$cache_file"; then
4404 # Some versions of bash will fail to source /dev/null (special
4405 # files actually), so we avoid doing that.
4406 if test -f "$cache_file"; then
4407 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4408echo "$as_me: loading cache $cache_file" >&6;}
4409 case $cache_file in
4410 [\\/]* | ?:[\\/]* ) . $cache_file;;
4411 *) . ./$cache_file;;
4412 esac
4413 fi
4414else
4415 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4416echo "$as_me: creating cache $cache_file" >&6;}
4417 >$cache_file
4418fi
4ee9c684 4419
4ee9c684 4420
90973b19 4421# This can be used to rebuild libtool when needed
4422LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4ee9c684 4423
90973b19 4424# Always use our own libtool.
4425LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4ee9c684 4426
90973b19 4427# Redirect the config.log output again, so that the ltconfig log is not
4428# clobbered by the next message.
4429exec 5>>./config.log
4ee9c684 4430
4ee9c684 4431
4ee9c684 4432
4ee9c684 4433
4ee9c684 4434
4ee9c684 4435
4ee9c684 4436
4ee9c684 4437
90973b19 4438#AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4439
4440# We need gfortran to compile parts of the library
6d73cceb 4441#AC_PROG_FC(gfortran)
4442FC="$GFORTRAN"
4443ac_ext=${FC_SRCEXT-f}
4444ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4445ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4446ac_compiler_gnu=$ac_cv_fc_compiler_gnu
90973b19 4447if test -n "$ac_tool_prefix"; then
4448 for ac_prog in gfortran
4449 do
4450 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4451set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4452echo "$as_me:$LINENO: checking for $ac_word" >&5
4453echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6d73cceb 4454if test "${ac_cv_prog_FC+set}" = set; then
90973b19 4455 echo $ECHO_N "(cached) $ECHO_C" >&6
4ee9c684 4456else
6d73cceb 4457 if test -n "$FC"; then
4458 ac_cv_prog_FC="$FC" # Let the user override the test.
90973b19 4459else
4460as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4461for as_dir in $PATH
4462do
4463 IFS=$as_save_IFS
4464 test -z "$as_dir" && as_dir=.
4465 for ac_exec_ext in '' $ac_executable_extensions; do
4466 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6d73cceb 4467 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
90973b19 4468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4469 break 2
4470 fi
4471done
4472done
4ee9c684 4473
4ee9c684 4474fi
4ee9c684 4475fi
6d73cceb 4476FC=$ac_cv_prog_FC
4477if test -n "$FC"; then
4478 echo "$as_me:$LINENO: result: $FC" >&5
4479echo "${ECHO_T}$FC" >&6
90973b19 4480else
4481 echo "$as_me:$LINENO: result: no" >&5
4482echo "${ECHO_T}no" >&6
4ee9c684 4483fi
4ee9c684 4484
6d73cceb 4485 test -n "$FC" && break
90973b19 4486 done
4487fi
6d73cceb 4488if test -z "$FC"; then
4489 ac_ct_FC=$FC
90973b19 4490 for ac_prog in gfortran
4491do
4492 # Extract the first word of "$ac_prog", so it can be a program name with args.
4493set dummy $ac_prog; ac_word=$2
4494echo "$as_me:$LINENO: checking for $ac_word" >&5
4495echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6d73cceb 4496if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
90973b19 4497 echo $ECHO_N "(cached) $ECHO_C" >&6
4498else
6d73cceb 4499 if test -n "$ac_ct_FC"; then
4500 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
90973b19 4501else
4502as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4503for as_dir in $PATH
4504do
4505 IFS=$as_save_IFS
4506 test -z "$as_dir" && as_dir=.
4507 for ac_exec_ext in '' $ac_executable_extensions; do
4508 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6d73cceb 4509 ac_cv_prog_ac_ct_FC="$ac_prog"
90973b19 4510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4511 break 2
4512 fi
4513done
4514done
4ee9c684 4515
4516fi
90973b19 4517fi
6d73cceb 4518ac_ct_FC=$ac_cv_prog_ac_ct_FC
4519if test -n "$ac_ct_FC"; then
4520 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4521echo "${ECHO_T}$ac_ct_FC" >&6
90973b19 4522else
4523 echo "$as_me:$LINENO: result: no" >&5
4524echo "${ECHO_T}no" >&6
4525fi
4526
6d73cceb 4527 test -n "$ac_ct_FC" && break
90973b19 4528done
4529
6d73cceb 4530 FC=$ac_ct_FC
90973b19 4531fi
4532
4533
4534# Provide some information about the compiler.
b56cb1ff 4535echo "$as_me:4535:" \
6d73cceb 4536 "checking for Fortran compiler version" >&5
90973b19 4537ac_compiler=`set X $ac_compile; echo $2`
4538{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4539 (eval $ac_compiler --version </dev/null >&5) 2>&5
4540 ac_status=$?
4541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4542 (exit $ac_status); }
4543{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4544 (eval $ac_compiler -v </dev/null >&5) 2>&5
4545 ac_status=$?
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); }
4548{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4549 (eval $ac_compiler -V </dev/null >&5) 2>&5
4550 ac_status=$?
4551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4552 (exit $ac_status); }
4553rm -f a.out
4ee9c684 4554
90973b19 4555# If we don't use `.F' as extension, the preprocessor is not run on the
4556# input file. (Note that this only needs to work for GNU compilers.)
4557ac_save_ext=$ac_ext
4558ac_ext=F
6d73cceb 4559echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4560echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4561if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4ee9c684 4562 echo $ECHO_N "(cached) $ECHO_C" >&6
4563else
4564 cat >conftest.$ac_ext <<_ACEOF
90973b19 4565 program main
4566#ifndef __GNUC__
4567 choke me
4568#endif
4569
4570 end
4ee9c684 4571_ACEOF
4572rm -f conftest.$ac_objext
4573if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4574 (eval $ac_compile) 2>conftest.er1
4575 ac_status=$?
4576 grep -v '^ *+' conftest.er1 >conftest.err
4577 rm -f conftest.er1
4578 cat conftest.err >&5
4579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4580 (exit $ac_status); } &&
b56cb1ff 4581 { ac_try='test -z "$ac_fc_werror_flag" || test ! -s conftest.err'
4ee9c684 4582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4583 (eval $ac_try) 2>&5
4584 ac_status=$?
4585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4586 (exit $ac_status); }; } &&
4587 { ac_try='test -s conftest.$ac_objext'
4588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4589 (eval $ac_try) 2>&5
4590 ac_status=$?
4591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4592 (exit $ac_status); }; }; then
90973b19 4593 ac_compiler_gnu=yes
4ee9c684 4594else
4595 echo "$as_me: failed program was:" >&5
4596sed 's/^/| /' conftest.$ac_ext >&5
4597
90973b19 4598ac_compiler_gnu=no
4ee9c684 4599fi
4600rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6d73cceb 4601ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4ee9c684 4602
4603fi
6d73cceb 4604echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4605echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
90973b19 4606ac_ext=$ac_save_ext
6d73cceb 4607ac_test_FFLAGS=${FCFLAGS+set}
4608ac_save_FFLAGS=$FCFLAGS
4609FCFLAGS=
4610echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4611echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4612if test "${ac_cv_prog_fc_g+set}" = set; then
4ee9c684 4613 echo $ECHO_N "(cached) $ECHO_C" >&6
4614else
6d73cceb 4615 FCFLAGS=-g
90973b19 4616cat >conftest.$ac_ext <<_ACEOF
4617 program main
4ee9c684 4618
90973b19 4619 end
4ee9c684 4620_ACEOF
4621rm -f conftest.$ac_objext
4622if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4623 (eval $ac_compile) 2>conftest.er1
4624 ac_status=$?
4625 grep -v '^ *+' conftest.er1 >conftest.err
4626 rm -f conftest.er1
4627 cat conftest.err >&5
4628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4629 (exit $ac_status); } &&
b56cb1ff 4630 { ac_try='test -z "$ac_fc_werror_flag" || test ! -s conftest.err'
4ee9c684 4631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4632 (eval $ac_try) 2>&5
4633 ac_status=$?
4634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4635 (exit $ac_status); }; } &&
4636 { ac_try='test -s conftest.$ac_objext'
4637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4638 (eval $ac_try) 2>&5
4639 ac_status=$?
4640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641 (exit $ac_status); }; }; then
6d73cceb 4642 ac_cv_prog_fc_g=yes
4ee9c684 4643else
4644 echo "$as_me: failed program was:" >&5
4645sed 's/^/| /' conftest.$ac_ext >&5
4646
6d73cceb 4647ac_cv_prog_fc_g=no
4ee9c684 4648fi
4649rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4650
4ee9c684 4651fi
6d73cceb 4652echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4653echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
90973b19 4654if test "$ac_test_FFLAGS" = set; then
6d73cceb 4655 FCFLAGS=$ac_save_FFLAGS
4656elif test $ac_cv_prog_fc_g = yes; then
4657 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4658 FCFLAGS="-g -O2"
90973b19 4659 else
6d73cceb 4660 FCFLAGS="-g"
90973b19 4661 fi
4662else
6d73cceb 4663 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4664 FCFLAGS="-O2"
90973b19 4665 else
6d73cceb 4666 FCFLAGS=
90973b19 4667 fi
4ee9c684 4668fi
4669
90973b19 4670ac_ext=c
4671ac_cpp='$CPP $CPPFLAGS'
4672ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4673ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4674ac_compiler_gnu=$ac_cv_c_compiler_gnu
4ee9c684 4675
4ee9c684 4676
9cf1c244 4677# extra LD Flags which are required for targets
4678case "${host}" in
4679 *-darwin*)
4680 # Darwin needs -single_module when linking libgfortran
4681 extra_ldflags_libgfortran=-Wl,-single_module
4682 ;;
4683esac
4684
4685
90e67cff 4686# Check whether --enable-largefile or --disable-largefile was given.
4687if test "${enable_largefile+set}" = set; then
4688 enableval="$enable_largefile"
4689
4690fi;
4691if test "$enable_largefile" != no; then
4692
4693 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4694echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4695if test "${ac_cv_sys_largefile_CC+set}" = set; then
4696 echo $ECHO_N "(cached) $ECHO_C" >&6
4697else
4698 ac_cv_sys_largefile_CC=no
4699 if test "$GCC" != yes; then
4700 ac_save_CC=$CC
4701 while :; do
4702 # IRIX 6.2 and later do not support large files by default,
4703 # so use the C compiler's -n32 option if that helps.
4704 cat >conftest.$ac_ext <<_ACEOF
4705/* confdefs.h. */
4706_ACEOF
4707cat confdefs.h >>conftest.$ac_ext
4708cat >>conftest.$ac_ext <<_ACEOF
4709/* end confdefs.h. */
4710#include <sys/types.h>
4711 /* Check that off_t can represent 2**63 - 1 correctly.
4712 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4713 since some C++ compilers masquerading as C compilers
4714 incorrectly reject 9223372036854775807. */
4715#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4716 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4717 && LARGE_OFF_T % 2147483647 == 1)
4718 ? 1 : -1];
4719int
4720main ()
4721{
4722
4723 ;
4724 return 0;
4725}
4726_ACEOF
4727 rm -f conftest.$ac_objext
4728if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4729 (eval $ac_compile) 2>conftest.er1
4730 ac_status=$?
4731 grep -v '^ *+' conftest.er1 >conftest.err
4732 rm -f conftest.er1
4733 cat conftest.err >&5
4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735 (exit $ac_status); } &&
b56cb1ff 4736 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
90e67cff 4737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4738 (eval $ac_try) 2>&5
4739 ac_status=$?
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); }; } &&
4742 { ac_try='test -s conftest.$ac_objext'
4743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4744 (eval $ac_try) 2>&5
4745 ac_status=$?
4746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4747 (exit $ac_status); }; }; then
4748 break
4749else
4750 echo "$as_me: failed program was:" >&5
4751sed 's/^/| /' conftest.$ac_ext >&5
4752
4753fi
4754rm -f conftest.err conftest.$ac_objext
4755 CC="$CC -n32"
4756 rm -f conftest.$ac_objext
4757if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4758 (eval $ac_compile) 2>conftest.er1
4759 ac_status=$?
4760 grep -v '^ *+' conftest.er1 >conftest.err
4761 rm -f conftest.er1
4762 cat conftest.err >&5
4763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764 (exit $ac_status); } &&
b56cb1ff 4765 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
90e67cff 4766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4767 (eval $ac_try) 2>&5
4768 ac_status=$?
4769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770 (exit $ac_status); }; } &&
4771 { ac_try='test -s conftest.$ac_objext'
4772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4773 (eval $ac_try) 2>&5
4774 ac_status=$?
4775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4776 (exit $ac_status); }; }; then
4777 ac_cv_sys_largefile_CC=' -n32'; break
4778else
4779 echo "$as_me: failed program was:" >&5
4780sed 's/^/| /' conftest.$ac_ext >&5
4781
4782fi
4783rm -f conftest.err conftest.$ac_objext
4784 break
4785 done
4786 CC=$ac_save_CC
4787 rm -f conftest.$ac_ext
4788 fi
4789fi
4790echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4791echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4792 if test "$ac_cv_sys_largefile_CC" != no; then
4793 CC=$CC$ac_cv_sys_largefile_CC
4794 fi
4795
4796 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4797echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4798if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4799 echo $ECHO_N "(cached) $ECHO_C" >&6
4800else
4801 while :; do
4802 ac_cv_sys_file_offset_bits=no
4803 cat >conftest.$ac_ext <<_ACEOF
4804/* confdefs.h. */
4805_ACEOF
4806cat confdefs.h >>conftest.$ac_ext
4807cat >>conftest.$ac_ext <<_ACEOF
4808/* end confdefs.h. */
4809#include <sys/types.h>
4810 /* Check that off_t can represent 2**63 - 1 correctly.
4811 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4812 since some C++ compilers masquerading as C compilers
4813 incorrectly reject 9223372036854775807. */
4814#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4815 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4816 && LARGE_OFF_T % 2147483647 == 1)
4817 ? 1 : -1];
4818int
4819main ()
4820{
4821
4822 ;
4823 return 0;
4824}
4825_ACEOF
4826rm -f conftest.$ac_objext
4827if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4828 (eval $ac_compile) 2>conftest.er1
4829 ac_status=$?
4830 grep -v '^ *+' conftest.er1 >conftest.err
4831 rm -f conftest.er1
4832 cat conftest.err >&5
4833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4834 (exit $ac_status); } &&
b56cb1ff 4835 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
90e67cff 4836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4837 (eval $ac_try) 2>&5
4838 ac_status=$?
4839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4840 (exit $ac_status); }; } &&
4841 { ac_try='test -s conftest.$ac_objext'
4842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4843 (eval $ac_try) 2>&5
4844 ac_status=$?
4845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846 (exit $ac_status); }; }; then
4847 break
4848else
4849 echo "$as_me: failed program was:" >&5
4850sed 's/^/| /' conftest.$ac_ext >&5
4851
4852fi
4853rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4854 cat >conftest.$ac_ext <<_ACEOF
4855/* confdefs.h. */
4856_ACEOF
4857cat confdefs.h >>conftest.$ac_ext
4858cat >>conftest.$ac_ext <<_ACEOF
4859/* end confdefs.h. */
4860#define _FILE_OFFSET_BITS 64
4861#include <sys/types.h>
4862 /* Check that off_t can represent 2**63 - 1 correctly.
4863 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4864 since some C++ compilers masquerading as C compilers
4865 incorrectly reject 9223372036854775807. */
4866#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4867 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4868 && LARGE_OFF_T % 2147483647 == 1)
4869 ? 1 : -1];
4870int
4871main ()
4872{
4873
4874 ;
4875 return 0;
4876}
4877_ACEOF
4878rm -f conftest.$ac_objext
4879if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4880 (eval $ac_compile) 2>conftest.er1
4881 ac_status=$?
4882 grep -v '^ *+' conftest.er1 >conftest.err
4883 rm -f conftest.er1
4884 cat conftest.err >&5
4885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4886 (exit $ac_status); } &&
b56cb1ff 4887 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
90e67cff 4888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4889 (eval $ac_try) 2>&5
4890 ac_status=$?
4891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892 (exit $ac_status); }; } &&
4893 { ac_try='test -s conftest.$ac_objext'
4894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4895 (eval $ac_try) 2>&5
4896 ac_status=$?
4897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4898 (exit $ac_status); }; }; then
4899 ac_cv_sys_file_offset_bits=64; break
4900else
4901 echo "$as_me: failed program was:" >&5
4902sed 's/^/| /' conftest.$ac_ext >&5
4903
4904fi
4905rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4906 break
4907done
4908fi
4909echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4910echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4911if test "$ac_cv_sys_file_offset_bits" != no; then
4912
4913cat >>confdefs.h <<_ACEOF
4914#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4915_ACEOF
4916
4917fi
4918rm -f conftest*
4919 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4920echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4921if test "${ac_cv_sys_large_files+set}" = set; then
4922 echo $ECHO_N "(cached) $ECHO_C" >&6
4923else
4924 while :; do
4925 ac_cv_sys_large_files=no
4926 cat >conftest.$ac_ext <<_ACEOF
4927/* confdefs.h. */
4928_ACEOF
4929cat confdefs.h >>conftest.$ac_ext
4930cat >>conftest.$ac_ext <<_ACEOF
4931/* end confdefs.h. */
4932#include <sys/types.h>
4933 /* Check that off_t can represent 2**63 - 1 correctly.
4934 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4935 since some C++ compilers masquerading as C compilers
4936 incorrectly reject 9223372036854775807. */
4937#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4938 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4939 && LARGE_OFF_T % 2147483647 == 1)
4940 ? 1 : -1];
4941int
4942main ()
4943{
4944
4945 ;
4946 return 0;
4947}
4948_ACEOF
4949rm -f conftest.$ac_objext
4950if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4951 (eval $ac_compile) 2>conftest.er1
4952 ac_status=$?
4953 grep -v '^ *+' conftest.er1 >conftest.err
4954 rm -f conftest.er1
4955 cat conftest.err >&5
4956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4957 (exit $ac_status); } &&
b56cb1ff 4958 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
90e67cff 4959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4960 (eval $ac_try) 2>&5
4961 ac_status=$?
4962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963 (exit $ac_status); }; } &&
4964 { ac_try='test -s conftest.$ac_objext'
4965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4966 (eval $ac_try) 2>&5
4967 ac_status=$?
4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); }; }; then
4970 break
4971else
4972 echo "$as_me: failed program was:" >&5
4973sed 's/^/| /' conftest.$ac_ext >&5
4974
4975fi
4976rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4977 cat >conftest.$ac_ext <<_ACEOF
4978/* confdefs.h. */
4979_ACEOF
4980cat confdefs.h >>conftest.$ac_ext
4981cat >>conftest.$ac_ext <<_ACEOF
4982/* end confdefs.h. */
4983#define _LARGE_FILES 1
4984#include <sys/types.h>
4985 /* Check that off_t can represent 2**63 - 1 correctly.
4986 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4987 since some C++ compilers masquerading as C compilers
4988 incorrectly reject 9223372036854775807. */
4989#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4990 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4991 && LARGE_OFF_T % 2147483647 == 1)
4992 ? 1 : -1];
4993int
4994main ()
4995{
4996
4997 ;
4998 return 0;
4999}
5000_ACEOF
5001rm -f conftest.$ac_objext
5002if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5003 (eval $ac_compile) 2>conftest.er1
5004 ac_status=$?
5005 grep -v '^ *+' conftest.er1 >conftest.err
5006 rm -f conftest.er1
5007 cat conftest.err >&5
5008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5009 (exit $ac_status); } &&
b56cb1ff 5010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
90e67cff 5011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5012 (eval $ac_try) 2>&5
5013 ac_status=$?
5014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015 (exit $ac_status); }; } &&
5016 { ac_try='test -s conftest.$ac_objext'
5017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5018 (eval $ac_try) 2>&5
5019 ac_status=$?
5020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5021 (exit $ac_status); }; }; then
5022 ac_cv_sys_large_files=1; break
5023else
5024 echo "$as_me: failed program was:" >&5
5025sed 's/^/| /' conftest.$ac_ext >&5
5026
5027fi
5028rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5029 break
5030done
5031fi
5032echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5033echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5034if test "$ac_cv_sys_large_files" != no; then
5035
5036cat >>confdefs.h <<_ACEOF
5037#define _LARGE_FILES $ac_cv_sys_large_files
5038_ACEOF
5039
5040fi
5041rm -f conftest*
5042fi
5043
b52ee437 5044if test x$gcc_no_link = xyes; then
5045 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
5046 ac_cv_func_mmap_fixed_mapped=no
5047 fi
5048fi
5049if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
5050 ac_ext=c
90973b19 5051ac_cpp='$CPP $CPPFLAGS'
5052ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5053ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5054ac_compiler_gnu=$ac_cv_c_compiler_gnu
5055echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5056echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5057# On Suns, sometimes $CPP names a directory.
5058if test -n "$CPP" && test -d "$CPP"; then
5059 CPP=
4ee9c684 5060fi
90973b19 5061if test -z "$CPP"; then
5062 if test "${ac_cv_prog_CPP+set}" = set; then
5063 echo $ECHO_N "(cached) $ECHO_C" >&6
4ee9c684 5064else
90973b19 5065 # Double quotes because CPP needs to be expanded
5066 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5067 do
5068 ac_preproc_ok=false
5069for ac_c_preproc_warn_flag in '' yes
5070do
5071 # Use a header file that comes with gcc, so configuring glibc
5072 # with a fresh cross-compiler works.
5073 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5074 # <limits.h> exists even on freestanding compilers.
5075 # On the NeXT, cc -E runs the code through the compiler's parser,
5076 # not just through cpp. "Syntax error" is here to catch this case.
4ee9c684 5077 cat >conftest.$ac_ext <<_ACEOF
5078/* confdefs.h. */
5079_ACEOF
5080cat confdefs.h >>conftest.$ac_ext
5081cat >>conftest.$ac_ext <<_ACEOF
5082/* end confdefs.h. */
90973b19 5083#ifdef __STDC__
5084# include <limits.h>
4ee9c684 5085#else
90973b19 5086# include <assert.h>
4ee9c684 5087#endif
90973b19 5088 Syntax error
4ee9c684 5089_ACEOF
90973b19 5090if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5091 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4ee9c684 5092 ac_status=$?
90973b19 5093 grep -v '^ *+' conftest.er1 >conftest.err
5094 rm -f conftest.er1
5095 cat conftest.err >&5
4ee9c684 5096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90973b19 5097 (exit $ac_status); } >/dev/null; then
5098 if test -s conftest.err; then
5099 ac_cpp_err=$ac_c_preproc_warn_flag
5100 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5101 else
5102 ac_cpp_err=
5103 fi
5104else
5105 ac_cpp_err=yes
5106fi
5107if test -z "$ac_cpp_err"; then
4ee9c684 5108 :
5109else
90973b19 5110 echo "$as_me: failed program was:" >&5
4ee9c684 5111sed 's/^/| /' conftest.$ac_ext >&5
5112
90973b19 5113 # Broken: fails on valid input.
5114continue
4ee9c684 5115fi
90973b19 5116rm -f conftest.err conftest.$ac_ext
4ee9c684 5117
90973b19 5118 # OK, works on sane cases. Now check whether non-existent headers
5119 # can be detected and how.
5120 cat >conftest.$ac_ext <<_ACEOF
4ee9c684 5121/* confdefs.h. */
5122_ACEOF
5123cat confdefs.h >>conftest.$ac_ext
5124cat >>conftest.$ac_ext <<_ACEOF
5125/* end confdefs.h. */
90973b19 5126#include <ac_nonexistent.h>
4ee9c684 5127_ACEOF
90973b19 5128if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5129 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4ee9c684 5130 ac_status=$?
5131 grep -v '^ *+' conftest.er1 >conftest.err
5132 rm -f conftest.er1
5133 cat conftest.err >&5
5134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90973b19 5135 (exit $ac_status); } >/dev/null; then
5136 if test -s conftest.err; then
5137 ac_cpp_err=$ac_c_preproc_warn_flag
5138 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5139 else
5140 ac_cpp_err=
5141 fi
5142else
5143 ac_cpp_err=yes
5144fi
5145if test -z "$ac_cpp_err"; then
5146 # Broken: success on invalid input.
5147continue
4ee9c684 5148else
5149 echo "$as_me: failed program was:" >&5
5150sed 's/^/| /' conftest.$ac_ext >&5
5151
90973b19 5152 # Passes both tests.
5153ac_preproc_ok=:
5154break
4ee9c684 5155fi
90973b19 5156rm -f conftest.err conftest.$ac_ext
4ee9c684 5157
90973b19 5158done
5159# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5160rm -f conftest.err conftest.$ac_ext
5161if $ac_preproc_ok; then
5162 break
5163fi
5164
5165 done
5166 ac_cv_prog_CPP=$CPP
5167
5168fi
5169 CPP=$ac_cv_prog_CPP
5170else
5171 ac_cv_prog_CPP=$CPP
5172fi
5173echo "$as_me:$LINENO: result: $CPP" >&5
5174echo "${ECHO_T}$CPP" >&6
5175ac_preproc_ok=false
5176for ac_c_preproc_warn_flag in '' yes
5177do
5178 # Use a header file that comes with gcc, so configuring glibc
5179 # with a fresh cross-compiler works.
5180 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5181 # <limits.h> exists even on freestanding compilers.
5182 # On the NeXT, cc -E runs the code through the compiler's parser,
5183 # not just through cpp. "Syntax error" is here to catch this case.
5184 cat >conftest.$ac_ext <<_ACEOF
4ee9c684 5185/* confdefs.h. */
5186_ACEOF
5187cat confdefs.h >>conftest.$ac_ext
5188cat >>conftest.$ac_ext <<_ACEOF
5189/* end confdefs.h. */
90973b19 5190#ifdef __STDC__
5191# include <limits.h>
5192#else
5193# include <assert.h>
5194#endif
5195 Syntax error
4ee9c684 5196_ACEOF
5197if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5198 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5199 ac_status=$?
5200 grep -v '^ *+' conftest.er1 >conftest.err
5201 rm -f conftest.er1
5202 cat conftest.err >&5
5203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5204 (exit $ac_status); } >/dev/null; then
5205 if test -s conftest.err; then
5206 ac_cpp_err=$ac_c_preproc_warn_flag
5207 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5208 else
5209 ac_cpp_err=
5210 fi
5211else
5212 ac_cpp_err=yes
5213fi
5214if test -z "$ac_cpp_err"; then
90973b19 5215 :
4ee9c684 5216else
5217 echo "$as_me: failed program was:" >&5
5218sed 's/^/| /' conftest.$ac_ext >&5
5219
90973b19 5220 # Broken: fails on valid input.
5221continue
4ee9c684 5222fi
5223rm -f conftest.err conftest.$ac_ext
4ee9c684 5224
90973b19 5225 # OK, works on sane cases. Now check whether non-existent headers
5226 # can be detected and how.
5227 cat >conftest.$ac_ext <<_ACEOF
5228/* confdefs.h. */
5229_ACEOF
5230cat confdefs.h >>conftest.$ac_ext
5231cat >>conftest.$ac_ext <<_ACEOF
5232/* end confdefs.h. */
5233#include <ac_nonexistent.h>
4ee9c684 5234_ACEOF
90973b19 5235if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5236 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5237 ac_status=$?
5238 grep -v '^ *+' conftest.er1 >conftest.err
5239 rm -f conftest.er1
5240 cat conftest.err >&5
5241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5242 (exit $ac_status); } >/dev/null; then
5243 if test -s conftest.err; then
5244 ac_cpp_err=$ac_c_preproc_warn_flag
5245 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5246 else
5247 ac_cpp_err=
5248 fi
5249else
5250 ac_cpp_err=yes
5251fi
5252if test -z "$ac_cpp_err"; then
5253 # Broken: success on invalid input.
5254continue
5255else
5256 echo "$as_me: failed program was:" >&5
5257sed 's/^/| /' conftest.$ac_ext >&5
4ee9c684 5258
90973b19 5259 # Passes both tests.
5260ac_preproc_ok=:
5261break
4ee9c684 5262fi
90973b19 5263rm -f conftest.err conftest.$ac_ext
4ee9c684 5264
5265done
90973b19 5266# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5267rm -f conftest.err conftest.$ac_ext
5268if $ac_preproc_ok; then
5269 :
5270else
5271 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5272See \`config.log' for more details." >&5
5273echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5274See \`config.log' for more details." >&2;}
5275 { (exit 1); exit 1; }; }
5276fi
4ee9c684 5277
90973b19 5278ac_ext=c
5279ac_cpp='$CPP $CPPFLAGS'
5280ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5281ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5282ac_compiler_gnu=$ac_cv_c_compiler_gnu
4ee9c684 5283
5284
90973b19 5285echo "$as_me:$LINENO: checking for egrep" >&5
5286echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5287if test "${ac_cv_prog_egrep+set}" = set; then
5288 echo $ECHO_N "(cached) $ECHO_C" >&6
5289else
5290 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5291 then ac_cv_prog_egrep='grep -E'
5292 else ac_cv_prog_egrep='egrep'
5293 fi
5294fi
5295echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5296echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5297 EGREP=$ac_cv_prog_egrep
4ee9c684 5298
5299
90973b19 5300echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5301echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5302if test "${ac_cv_header_stdc+set}" = set; then
4ee9c684 5303 echo $ECHO_N "(cached) $ECHO_C" >&6
4ee9c684 5304else
90973b19 5305 cat >conftest.$ac_ext <<_ACEOF
4ee9c684 5306/* confdefs.h. */
5307_ACEOF
5308cat confdefs.h >>conftest.$ac_ext
5309cat >>conftest.$ac_ext <<_ACEOF
5310/* end confdefs.h. */
90973b19 5311#include <stdlib.h>
5312#include <stdarg.h>
5313#include <string.h>
5314#include <float.h>
5315
5316int
5317main ()
5318{
5319
5320 ;
5321 return 0;
5322}
4ee9c684 5323_ACEOF
5324rm -f conftest.$ac_objext
5325if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5326 (eval $ac_compile) 2>conftest.er1
5327 ac_status=$?
5328 grep -v '^ *+' conftest.er1 >conftest.err
5329 rm -f conftest.er1
5330 cat conftest.err >&5
5331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5332 (exit $ac_status); } &&
b56cb1ff 5333 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4ee9c684 5334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5335 (eval $ac_try) 2>&5
5336 ac_status=$?
5337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5338 (exit $ac_status); }; } &&
5339 { ac_try='test -s conftest.$ac_objext'
5340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5341 (eval $ac_try) 2>&5
5342 ac_status=$?
5343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5344 (exit $ac_status); }; }; then
90973b19 5345 ac_cv_header_stdc=yes
4ee9c684 5346else
5347 echo "$as_me: failed program was:" >&5
5348sed 's/^/| /' conftest.$ac_ext >&5
5349
90973b19 5350ac_cv_header_stdc=no
4ee9c684 5351fi
5352rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4ee9c684 5353
90973b19 5354if test $ac_cv_header_stdc = yes; then
5355 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5356 cat >conftest.$ac_ext <<_ACEOF
4ee9c684 5357/* confdefs.h. */
5358_ACEOF
5359cat confdefs.h >>conftest.$ac_ext
5360cat >>conftest.$ac_ext <<_ACEOF
5361/* end confdefs.h. */
90973b19 5362#include <string.h>
5363
4ee9c684 5364_ACEOF
90973b19 5365if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5366 $EGREP "memchr" >/dev/null 2>&1; then
5367 :
4ee9c684 5368else
90973b19 5369 ac_cv_header_stdc=no
4ee9c684 5370fi
90973b19 5371rm -f conftest*
5372
5373fi
5374
5375if test $ac_cv_header_stdc = yes; then
5376 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5377 cat >conftest.$ac_ext <<_ACEOF
5378/* confdefs.h. */
5379_ACEOF
5380cat confdefs.h >>conftest.$ac_ext
5381cat >>conftest.$ac_ext <<_ACEOF
5382/* end confdefs.h. */
5383#include <stdlib.h>
5384
5385_ACEOF
5386if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5387 $EGREP "free" >/dev/null 2>&1; then
5388 :
4ee9c684 5389else
90973b19 5390 ac_cv_header_stdc=no
5391fi
5392rm -f conftest*
5393
5394fi
5395
5396if test $ac_cv_header_stdc = yes; then
5397 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5398 if test "$cross_compiling" = yes; then
5399 :
5400else
5401 cat >conftest.$ac_ext <<_ACEOF
5402/* confdefs.h. */
5403_ACEOF
5404cat confdefs.h >>conftest.$ac_ext
5405cat >>conftest.$ac_ext <<_ACEOF
5406/* end confdefs.h. */
5407#include <ctype.h>
5408#if ((' ' & 0x0FF) == 0x020)
5409# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5410# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5411#else
5412# define ISLOWER(c) \
5413 (('a' <= (c) && (c) <= 'i') \
5414 || ('j' <= (c) && (c) <= 'r') \
5415 || ('s' <= (c) && (c) <= 'z'))
5416# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5417#endif
5418
5419#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5420int
5421main ()
5422{
5423 int i;
5424 for (i = 0; i < 256; i++)
5425 if (XOR (islower (i), ISLOWER (i))
5426 || toupper (i) != TOUPPER (i))
5427 exit(2);
5428 exit (0);
5429}
5430_ACEOF
5431rm -f conftest$ac_exeext
5432if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5433 (eval $ac_link) 2>&5
5434 ac_status=$?
5435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5436 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5438 (eval $ac_try) 2>&5
5439 ac_status=$?
5440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5441 (exit $ac_status); }; }; then
5442 :
5443else
5444 echo "$as_me: program exited with status $ac_status" >&5
5445echo "$as_me: failed program was:" >&5
4ee9c684 5446sed 's/^/| /' conftest.$ac_ext >&5
5447
90973b19 5448( exit $ac_status )
5449ac_cv_header_stdc=no
4ee9c684 5450fi
90973b19 5451rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5452fi
5453fi
5454fi
5455echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5456echo "${ECHO_T}$ac_cv_header_stdc" >&6
5457if test $ac_cv_header_stdc = yes; then
4ee9c684 5458
90973b19 5459cat >>confdefs.h <<\_ACEOF
5460#define STDC_HEADERS 1
5461_ACEOF
5462
5463fi
5464
5465# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5476 inttypes.h stdint.h unistd.h
5477do
5478as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4ee9c684 5479echo "$as_me:$LINENO: checking for $ac_header" >&5
5480echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5481if eval "test \"\${$as_ac_Header+set}\" = set"; then
5482 echo $ECHO_N "(cached) $ECHO_C" >&6
5483else
90973b19 5484 cat >conftest.$ac_ext <<_ACEOF
5485/* confdefs.h. */
5486_ACEOF
5487cat confdefs.h >>conftest.$ac_ext
5488cat >>conftest.$ac_ext <<_ACEOF
5489/* end confdefs.h. */
5490$ac_includes_default
5491
5492#include <$ac_header>
5493_ACEOF
5494rm -f conftest.$ac_objext
5495if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5496 (eval $ac_compile) 2>conftest.er1
5497 ac_status=$?
5498 grep -v '^ *+' conftest.er1 >conftest.err
5499 rm -f conftest.er1
5500 cat conftest.err >&5
5501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5502 (exit $ac_status); } &&
b56cb1ff 5503 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
90973b19 5504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5505 (eval $ac_try) 2>&5
5506 ac_status=$?
5507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5508 (exit $ac_status); }; } &&
5509 { ac_try='test -s conftest.$ac_objext'
5510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5511 (eval $ac_try) 2>&5
5512 ac_status=$?
5513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514 (exit $ac_status); }; }; then
5515 eval "$as_ac_Header=yes"
5516else
5517 echo "$as_me: failed program was:" >&5
5518sed 's/^/| /' conftest.$ac_ext >&5
5519
5520eval "$as_ac_Header=no"
5521fi
5522rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4ee9c684 5523fi
5524echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5525echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4ee9c684 5526if test `eval echo '${'$as_ac_Header'}'` = yes; then
5527 cat >>confdefs.h <<_ACEOF
5528#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5529_ACEOF
5530
5531fi
5532
5533done
5534
90973b19 5535
5536
5537
5538for ac_header in stdlib.h unistd.h
5539do
5540as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5541if eval "test \"\${$as_ac_Header+set}\" = set"; then
5542 echo "$as_me:$LINENO: checking for $ac_header" >&5
5543echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5544if eval "test \"\${$as_ac_Header+set}\" = set"; then
4ee9c684 5545 echo $ECHO_N "(cached) $ECHO_C" >&6
5546fi
90973b19 5547echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5548echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4ee9c684 5549else
5550 # Is the header compilable?
90973b19 5551echo "$as_me:$LINENO: checking $ac_header usability" >&5
5552echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4ee9c684 5553cat >conftest.$ac_ext <<_ACEOF
5554/* confdefs.h. */
5555_ACEOF
5556cat confdefs.h >>conftest.$ac_ext
5557cat >>conftest.$ac_ext <<_ACEOF
5558/* end confdefs.h. */
5559$ac_includes_default
90973b19 5560#include <$ac_header>
4ee9c684 5561_ACEOF
5562rm -f conftest.$ac_objext
5563if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5564 (eval $ac_compile) 2>conftest.er1
5565 ac_status=$?
5566 grep -v '^ *+' conftest.er1 >conftest.err
5567 rm -f conftest.er1
5568 cat conftest.err >&5
5569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570 (exit $ac_status); } &&
b56cb1ff 5571 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4ee9c684 5572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5573 (eval $ac_try) 2>&5
5574 ac_status=$?
5575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576 (exit $ac_status); }; } &&
5577 { ac_try='test -s conftest.$ac_objext'
5578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5579 (eval $ac_try) 2>&5
5580 ac_status=$?
5581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5582 (exit $ac_status); }; }; then
5583 ac_header_compiler=yes
5584else
5585 echo "$as_me: failed program was:" >&5
5586sed 's/^/| /' conftest.$ac_ext >&5
5587
5588ac_header_compiler=no
5589fi
5590rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5591echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5592echo "${ECHO_T}$ac_header_compiler" >&6
5593
5594# Is the header present?
90973b19 5595echo "$as_me:$LINENO: checking $ac_header presence" >&5
5596echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4ee9c684 5597cat >conftest.$ac_ext <<_ACEOF
5598/* confdefs.h. */
5599_ACEOF
5600cat confdefs.h >>conftest.$ac_ext
5601cat >>conftest.$ac_ext <<_ACEOF
5602/* end confdefs.h. */
90973b19 5603#include <$ac_header>
4ee9c684 5604_ACEOF
5605if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5606 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5607 ac_status=$?
5608 grep -v '^ *+' conftest.er1 >conftest.err
5609 rm -f conftest.er1
5610 cat conftest.err >&5
5611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612 (exit $ac_status); } >/dev/null; then
5613 if test -s conftest.err; then
5614 ac_cpp_err=$ac_c_preproc_warn_flag
5615 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5616 else
5617 ac_cpp_err=
5618 fi
5619else
5620 ac_cpp_err=yes
5621fi
5622if test -z "$ac_cpp_err"; then
5623 ac_header_preproc=yes
5624else
5625 echo "$as_me: failed program was:" >&5
5626sed 's/^/| /' conftest.$ac_ext >&5
5627
5628 ac_header_preproc=no
5629fi
5630rm -f conftest.err conftest.$ac_ext
5631echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5632echo "${ECHO_T}$ac_header_preproc" >&6
5633
5634# So? What about this header?
5635case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5636 yes:no: )
90973b19 5637 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5638echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5639 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5640echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4ee9c684 5641 ac_header_preproc=yes
5642 ;;
5643 no:yes:* )
90973b19 5644 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5645echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5646 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5647echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5648 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5649echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5650 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5651echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5652 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5653echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5654 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5655echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4ee9c684 5656 (
5657 cat <<\_ASBOX
5658## ------------------------------------------------------ ##
5659## Report this to the GNU Fortran Runtime Library lists. ##
5660## ------------------------------------------------------ ##
5661_ASBOX
5662 ) |
5663 sed "s/^/$as_me: WARNING: /" >&2
5664 ;;
5665esac
90973b19 5666echo "$as_me:$LINENO: checking for $ac_header" >&5
5667echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5668if eval "test \"\${$as_ac_Header+set}\" = set"; then
4ee9c684 5669 echo $ECHO_N "(cached) $ECHO_C" >&6
5670else
90973b19 5671 eval "$as_ac_Header=\$ac_header_preproc"
4ee9c684 5672fi
90973b19 5673echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5674echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5675
5676fi
5677if test `eval echo '${'$as_ac_Header'}'` = yes; then
5678 cat >>confdefs.h <<_ACEOF
5679#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5680_ACEOF
4ee9c684 5681
90973b19 5682fi
4ee9c684 5683
90973b19 5684done
4ee9c684 5685
5686
90973b19 5687for ac_func in getpagesize
4ee9c684 5688do
5689as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5690echo "$as_me:$LINENO: checking for $ac_func" >&5
5691echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5692if eval "test \"\${$as_ac_var+set}\" = set"; then
5693 echo $ECHO_N "(cached) $ECHO_C" >&6
5694else
b52ee437 5695 if test x$gcc_no_link = xyes; then
5696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5697echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5698 { (exit 1); exit 1; }; }
5699fi
5700cat >conftest.$ac_ext <<_ACEOF
4ee9c684 5701/* confdefs.h. */
5702_ACEOF
5703cat confdefs.h >>conftest.$ac_ext
5704cat >>conftest.$ac_ext <<_ACEOF
5705/* end confdefs.h. */
5706/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5708#define $ac_func innocuous_$ac_func
5709
5710/* System header to define __stub macros and hopefully few prototypes,
5711 which can conflict with char $ac_func (); below.
5712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5713 <limits.h> exists even on freestanding compilers. */
5714
5715#ifdef __STDC__
5716# include <limits.h>
5717#else
5718# include <assert.h>
5719#endif
5720
5721#undef $ac_func
5722
5723/* Override any gcc2 internal prototype to avoid an error. */
5724#ifdef __cplusplus
5725extern "C"
5726{
5727#endif
5728/* We use char because int might match the return type of a gcc2
5729 builtin and then its argument prototype would still apply. */
5730char $ac_func ();
5731/* The GNU C library defines this for functions which it implements
5732 to always fail with ENOSYS. Some functions are actually named
5733 something starting with __ and the normal name is an alias. */
5734#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5735choke me
5736#else
5737char (*f) () = $ac_func;
5738#endif
5739#ifdef __cplusplus
5740}
5741#endif
5742
5743int
5744main ()
5745{
5746return f != $ac_func;
5747 ;
5748 return 0;
5749}
5750_ACEOF
5751rm -f conftest.$ac_objext conftest$ac_exeext
5752if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5753 (eval $ac_link) 2>conftest.er1
5754 ac_status=$?
5755 grep -v '^ *+' conftest.er1 >conftest.err
5756 rm -f conftest.er1
5757 cat conftest.err >&5
5758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5759 (exit $ac_status); } &&
b56cb1ff 5760 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4ee9c684 5761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5762 (eval $ac_try) 2>&5
5763 ac_status=$?
5764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5765 (exit $ac_status); }; } &&
5766 { ac_try='test -s conftest$ac_exeext'
5767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5768 (eval $ac_try) 2>&5
5769 ac_status=$?
5770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5771 (exit $ac_status); }; }; then
5772 eval "$as_ac_var=yes"
5773else
5774 echo "$as_me: failed program was:" >&5
5775sed 's/^/| /' conftest.$ac_ext >&5
5776
5777eval "$as_ac_var=no"
5778fi
5779rm -f conftest.err conftest.$ac_objext \
5780 conftest$ac_exeext conftest.$ac_ext
5781fi
5782echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5783echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5784if test `eval echo '${'$as_ac_var'}'` = yes; then
5785 cat >>confdefs.h <<_ACEOF
5786#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5787_ACEOF
5788
5789fi
5790done
5791
90973b19 5792echo "$as_me:$LINENO: checking for working mmap" >&5
5793echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5794if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
4ee9c684 5795 echo $ECHO_N "(cached) $ECHO_C" >&6
90973b19 5796else
5797 if test "$cross_compiling" = yes; then
5798 ac_cv_func_mmap_fixed_mapped=no
4ee9c684 5799else
5800 cat >conftest.$ac_ext <<_ACEOF
5801/* confdefs.h. */
5802_ACEOF
5803cat confdefs.h >>conftest.$ac_ext
5804cat >>conftest.$ac_ext <<_ACEOF
5805/* end confdefs.h. */
90973b19 5806$ac_includes_default
5807/* malloc might have been renamed as rpl_malloc. */
5808#undef malloc
5809
5810/* Thanks to Mike Haertel and Jim Avera for this test.
5811 Here is a matrix of mmap possibilities:
5812 mmap private not fixed
5813 mmap private fixed at somewhere currently unmapped
5814 mmap private fixed at somewhere already mapped
5815 mmap shared not fixed
5816 mmap shared fixed at somewhere currently unmapped
5817 mmap shared fixed at somewhere already mapped
5818 For private mappings, we should verify that changes cannot be read()
5819 back from the file, nor mmap's back from the file at a different
5820 address. (There have been systems where private was not correctly
5821 implemented like the infamous i386 svr4.0, and systems where the
5822 VM page cache was not coherent with the file system buffer cache
5823 like early versions of FreeBSD and possibly contemporary NetBSD.)
5824 For shared mappings, we should conversely verify that changes get
5825 propagated back to all the places they're supposed to be.
5826
5827 Grep wants private fixed already mapped.
5828 The main things grep needs to know about mmap are:
5829 * does it exist and is it safe to write into the mmap'd area
5830 * how to use it (BSD variants) */
5831
5832#include <fcntl.h>
5833#include <sys/mman.h>
5834
5835#if !STDC_HEADERS && !HAVE_STDLIB_H
5836char *malloc ();
5837#endif
5838
5839/* This mess was copied from the GNU getpagesize.h. */
5840#if !HAVE_GETPAGESIZE
5841/* Assume that all systems that can run configure have sys/param.h. */
5842# if !HAVE_SYS_PARAM_H
5843# define HAVE_SYS_PARAM_H 1
5844# endif
5845
5846# ifdef _SC_PAGESIZE
5847# define getpagesize() sysconf(_SC_PAGESIZE)
5848# else /* no _SC_PAGESIZE */
5849# if HAVE_SYS_PARAM_H
5850# include <sys/param.h>
5851# ifdef EXEC_PAGESIZE
5852# define getpagesize() EXEC_PAGESIZE
5853# else /* no EXEC_PAGESIZE */
5854# ifdef NBPG
5855# define getpagesize() NBPG * CLSIZE
5856# ifndef CLSIZE
5857# define CLSIZE 1
5858# endif /* no CLSIZE */
5859# else /* no NBPG */
5860# ifdef NBPC
5861# define getpagesize() NBPC
5862# else /* no NBPC */
5863# ifdef PAGESIZE
5864# define getpagesize() PAGESIZE
5865# endif /* PAGESIZE */
5866# endif /* no NBPC */
5867# endif /* no NBPG */
5868# endif /* no EXEC_PAGESIZE */
5869# else /* no HAVE_SYS_PARAM_H */
5870# define getpagesize() 8192 /* punt totally */
5871# endif /* no HAVE_SYS_PARAM_H */
5872# endif /* no _SC_PAGESIZE */
5873
5874#endif /* no HAVE_GETPAGESIZE */
4ee9c684 5875
5876int
5877main ()
5878{
90973b19 5879 char *data, *data2, *data3;
5880 int i, pagesize;
5881 int fd;
5882
5883 pagesize = getpagesize ();
5884
5885 /* First, make a file with some known garbage in it. */
5886 data = (char *) malloc (pagesize);
5887 if (!data)
5888 exit (1);
5889 for (i = 0; i < pagesize; ++i)
5890 *(data + i) = rand ();
5891 umask (0);
5892 fd = creat ("conftest.mmap", 0600);
5893 if (fd < 0)
5894 exit (1);
5895 if (write (fd, data, pagesize) != pagesize)
5896 exit (1);
5897 close (fd);
5898
5899 /* Next, try to mmap the file at a fixed address which already has
5900 something else allocated at it. If we can, also make sure that
5901 we see the same garbage. */
5902 fd = open ("conftest.mmap", O_RDWR);
5903 if (fd < 0)
5904 exit (1);
5905 data2 = (char *) malloc (2 * pagesize);
5906 if (!data2)
5907 exit (1);
5908 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5909 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5910 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5911 exit (1);
5912 for (i = 0; i < pagesize; ++i)
5913 if (*(data + i) != *(data2 + i))
5914 exit (1);
5915
5916 /* Finally, make sure that changes to the mapped area do not
5917 percolate back to the file as seen by read(). (This is a bug on
5918 some variants of i386 svr4.0.) */
5919 for (i = 0; i < pagesize; ++i)
5920 *(data2 + i) = *(data2 + i) + 1;
5921 data3 = (char *) malloc (pagesize);
5922 if (!data3)
5923 exit (1);
5924 if (read (fd, data3, pagesize) != pagesize)
5925 exit (1);
5926 for (i = 0; i < pagesize; ++i)
5927 if (*(data + i) != *(data3 + i))
5928 exit (1);
5929 close (fd);
5930 exit (0);
4ee9c684 5931}
5932_ACEOF
90973b19 5933rm -f conftest$ac_exeext
5934if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5935 (eval $ac_link) 2>&5
4ee9c684 5936 ac_status=$?
5937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90973b19 5938 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4ee9c684 5939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5940 (eval $ac_try) 2>&5
5941 ac_status=$?
5942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5943 (exit $ac_status); }; }; then
90973b19 5944 ac_cv_func_mmap_fixed_mapped=yes
4ee9c684 5945else
90973b19 5946 echo "$as_me: program exited with status $ac_status" >&5
5947echo "$as_me: failed program was:" >&5
4ee9c684 5948sed 's/^/| /' conftest.$ac_ext >&5
5949
90973b19 5950( exit $ac_status )
5951ac_cv_func_mmap_fixed_mapped=no
4ee9c684 5952fi
90973b19 5953rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4ee9c684 5954fi
90973b19 5955fi
5956echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5957echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5958if test $ac_cv_func_mmap_fixed_mapped = yes; then
4ee9c684 5959
5960cat >>confdefs.h <<\_ACEOF
90973b19 5961#define HAVE_MMAP 1
4ee9c684 5962_ACEOF
5963
5964fi
90973b19 5965rm -f conftest.mmap
4ee9c684 5966
b52ee437 5967fi
90973b19 5968echo "$as_me:$LINENO: checking for off_t" >&5
5969echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5970if test "${ac_cv_type_off_t+set}" = set; then
4ee9c684 5971 echo $ECHO_N "(cached) $ECHO_C" >&6
5972else
90973b19 5973 cat >conftest.$ac_ext <<_ACEOF
5974/* confdefs.h. */
5975_ACEOF
5976cat confdefs.h >>conftest.$ac_ext
5977cat >>conftest.$ac_ext <<_ACEOF
5978/* end confdefs.h. */
5979$ac_includes_default
4ee9c684 5980int
5981main ()
5982{
90973b19 5983if ((off_t *) 0)
5984 return 0;
5985if (sizeof (off_t))
5986 return 0;
4ee9c684 5987 ;
5988 return 0;
5989}
5990_ACEOF
90973b19 5991rm -f conftest.$ac_objext
5992if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5993 (eval $ac_compile) 2>conftest.er1
4ee9c684 5994 ac_status=$?
5995 grep -v '^ *+' conftest.er1 >conftest.err
5996 rm -f conftest.er1
5997 cat conftest.err >&5
5998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5999 (exit $ac_status); } &&
b56cb1ff 6000 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4ee9c684 6001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6002 (eval $ac_try) 2>&5
6003 ac_status=$?
6004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6005 (exit $ac_status); }; } &&
90973b19 6006 { ac_try='test -s conftest.$ac_objext'
4ee9c684 6007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6008 (eval $ac_try) 2>&5
6009 ac_status=$?
6010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6011 (exit $ac_status); }; }; then
90973b19 6012 ac_cv_type_off_t=yes
4ee9c684 6013else
6014 echo "$as_me: failed program was:" >&5
6015sed 's/^/| /' conftest.$ac_ext >&5
6016
90973b19 6017ac_cv_type_off_t=no
4ee9c684 6018fi
90973b19 6019rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4ee9c684 6020fi
90973b19 6021echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6022echo "${ECHO_T}$ac_cv_type_off_t" >&6
6023if test $ac_cv_type_off_t = yes; then
6024 :
6025else
6026
6027cat >>confdefs.h <<_ACEOF
6028#define off_t long
4ee9c684 6029_ACEOF
6030
6031fi
4ee9c684 6032
90973b19 6033
6034# check header files
6035echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6036echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6037if test "${ac_cv_header_stdc+set}" = set; then
4ee9c684 6038 echo $ECHO_N "(cached) $ECHO_C" >&6
6039else
6040 cat >conftest.$ac_ext <<_ACEOF
6041/* confdefs.h. */
6042_ACEOF
6043cat confdefs.h >>conftest.$ac_ext
6044cat >>conftest.$ac_ext <<_ACEOF
6045/* end confdefs.h. */
90973b19 6046#include <stdlib.h>
6047#include <stdarg.h>
6048#include <string.h>
6049#include <float.h>
6050
4ee9c684 6051int
6052main ()
6053{
90973b19 6054
4ee9c684 6055 ;
6056 return 0;
6057}
6058_ACEOF
6059rm -f conftest.$ac_objext
6060if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6061 (eval $ac_compile) 2>conftest.er1
6062 ac_status=$?
6063 grep -v '^ *+' conftest.er1 >conftest.err
6064 rm -f conftest.er1
6065 cat conftest.err >&5
6066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6067 (exit $ac_status); } &&
b56cb1ff 6068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4ee9c684 6069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6070 (eval $ac_try) 2>&5
6071 ac_status=$?
6072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6073 (exit $ac_status); }; } &&
6074 { ac_try='test -s conftest.$ac_objext'
6075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6076 (eval $ac_try) 2>&5
6077 ac_status=$?
6078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6079 (exit $ac_status); }; }; then
90973b19 6080 ac_cv_header_stdc=yes
4ee9c684 6081else
6082 echo "$as_me: failed program was:" >&5
6083sed 's/^/| /' conftest.$ac_ext >&5
6084
90973b19 6085ac_cv_header_stdc=no
4ee9c684 6086fi
6087rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90973b19 6088
6089if test $ac_cv_header_stdc = yes; then
6090 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4ee9c684 6091 cat >conftest.$ac_ext <<_ACEOF
6092/* confdefs.h. */
6093_ACEOF
6094cat confdefs.h >>conftest.$ac_ext
6095cat >>conftest.$ac_ext <<_ACEOF
6096/* end confdefs.h. */
90973b19 6097#include <string.h>
4ee9c684 6098
4ee9c684 6099_ACEOF
90973b19 6100if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6101 $EGREP "memchr" >/dev/null 2>&1; then
6102 :
4ee9c684 6103else
90973b19 6104 ac_cv_header_stdc=no
4ee9c684 6105fi
90973b19 6106rm -f conftest*
6107
4ee9c684 6108fi
4ee9c684 6109
90973b19 6110if test $ac_cv_header_stdc = yes; then
6111 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6112 cat >conftest.$ac_ext <<_ACEOF
6113/* confdefs.h. */
6114_ACEOF
6115cat confdefs.h >>conftest.$ac_ext
6116cat >>conftest.$ac_ext <<_ACEOF
6117/* end confdefs.h. */
6118#include <stdlib.h>
6119
4ee9c684 6120_ACEOF
90973b19 6121if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6122 $EGREP "free" >/dev/null 2>&1; then
6123 :
6124else
6125 ac_cv_header_stdc=no
6126fi
6127rm -f conftest*
4ee9c684 6128
90973b19 6129fi
4ee9c684 6130
90973b19 6131if test $ac_cv_header_stdc = yes; then
6132 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6133 if test "$cross_compiling" = yes; then
6134 :
4ee9c684 6135else
6136 cat >conftest.$ac_ext <<_ACEOF
6137/* confdefs.h. */
6138_ACEOF
6139cat confdefs.h >>conftest.$ac_ext
6140cat >>conftest.$ac_ext <<_ACEOF
6141/* end confdefs.h. */
90973b19 6142#include <ctype.h>
6143#if ((' ' & 0x0FF) == 0x020)
6144# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6145# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4ee9c684 6146#else
90973b19 6147# define ISLOWER(c) \
6148 (('a' <= (c) && (c) <= 'i') \
6149 || ('j' <= (c) && (c) <= 'r') \
6150 || ('s' <= (c) && (c) <= 'z'))
6151# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4ee9c684 6152#endif
6153
90973b19 6154#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4ee9c684 6155int
6156main ()
6157{
90973b19 6158 int i;
6159 for (i = 0; i < 256; i++)
6160 if (XOR (islower (i), ISLOWER (i))
6161 || toupper (i) != TOUPPER (i))
6162 exit(2);
6163 exit (0);
4ee9c684 6164}
6165_ACEOF
90973b19 6166rm -f conftest$ac_exeext
4ee9c684 6167if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90973b19 6168 (eval $ac_link) 2>&5
4ee9c684 6169 ac_status=$?
6170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90973b19 6171 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4ee9c684 6172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6173 (eval $ac_try) 2>&5
6174 ac_status=$?
90973b19 6175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6176 (exit $ac_status); }; }; then
6177 :
4ee9c684 6178else
90973b19 6179 echo "$as_me: program exited with status $ac_status" >&5
6180echo "$as_me: failed program was:" >&5
6181sed 's/^/| /' conftest.$ac_ext >&5
4ee9c684 6182
90973b19 6183( exit $ac_status )
6184ac_cv_header_stdc=no
4ee9c684 6185fi
90973b19 6186rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4ee9c684 6187fi
6188fi
4ee9c684 6189fi
90973b19 6190echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6191echo "${ECHO_T}$ac_cv_header_stdc" >&6
6192if test $ac_cv_header_stdc = yes; then
4ee9c684 6193
90973b19 6194cat >>confdefs.h <<\_ACEOF
6195#define STDC_HEADERS 1
6196_ACEOF
4ee9c684 6197
6198fi
6199
4ee9c684 6200
6201
4ee9c684 6202
4ee9c684 6203
6204
6205
4dd3972f 6206
6207for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
90973b19 6208do
6209as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6210if eval "test \"\${$as_ac_Header+set}\" = set"; then
6211 echo "$as_me:$LINENO: checking for $ac_header" >&5
6212echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6213if eval "test \"\${$as_ac_Header+set}\" = set"; then
6214 echo $ECHO_N "(cached) $ECHO_C" >&6
6215fi
6216echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6217echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4ee9c684 6218else
90973b19 6219 # Is the header compilable?
6220echo "$as_me:$LINENO: checking $ac_header usability" >&5
6221echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6222cat >conftest.$ac_ext <<_ACEOF
6223/* confdefs.h. */
6224_ACEOF
6225cat confdefs.h >>conftest.$ac_ext
6226cat >>conftest.$ac_ext <<_ACEOF
6227/* end confdefs.h. */
6228$ac_includes_default
6229#include <$ac_header>
6230_ACEOF
6231rm -f conftest.$ac_objext
6232if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6233 (eval $ac_compile) 2>conftest.er1
6234 ac_status=$?
6235 grep -v '^ *+' conftest.er1 >conftest.err
6236 rm -f conftest.er1
6237 cat conftest.err >&5
6238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6239 (exit $ac_status); } &&
b56cb1ff 6240 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
90973b19 6241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6242 (eval $ac_try) 2>&5
6243 ac_status=$?
6244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6245 (exit $ac_status); }; } &&
6246 { ac_try='test -s conftest.$ac_objext'
6247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6248 (eval $ac_try) 2>&5
6249 ac_status=$?
6250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6251 (exit $ac_status); }; }; then
6252 ac_header_compiler=yes
4ee9c684 6253else
90973b19 6254 echo "$as_me: failed program was:" >&5
6255sed 's/^/| /' conftest.$ac_ext >&5
6256
6257ac_header_compiler=no
4ee9c684 6258fi
90973b19 6259rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6260echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6261echo "${ECHO_T}$ac_header_compiler" >&6
6262
6263# Is the header present?
6264echo "$as_me:$LINENO: checking $ac_header presence" >&5
6265echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6266cat >conftest.$ac_ext <<_ACEOF
6267/* confdefs.h. */
6268_ACEOF
6269cat confdefs.h >>conftest.$ac_ext
6270cat >>conftest.$ac_ext <<_ACEOF
6271/* end confdefs.h. */
6272#include <$ac_header>
6273_ACEOF
6274if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6275 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6276 ac_status=$?
6277 grep -v '^ *+' conftest.er1 >conftest.err
6278 rm -f conftest.er1
6279 cat conftest.err >&5
6280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6281 (exit $ac_status); } >/dev/null; then
6282 if test -s conftest.err; then
6283 ac_cpp_err=$ac_c_preproc_warn_flag
6284 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6285 else
6286 ac_cpp_err=
6287 fi
4ee9c684 6288else
90973b19 6289 ac_cpp_err=yes
4ee9c684 6290fi
90973b19 6291if test -z "$ac_cpp_err"; then
6292 ac_header_preproc=yes
4ee9c684 6293else
90973b19 6294 echo "$as_me: failed program was:" >&5
6295sed 's/^/| /' conftest.$ac_ext >&5
6296
6297 ac_header_preproc=no
4ee9c684 6298fi
90973b19 6299rm -f conftest.err conftest.$ac_ext
6300echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6301echo "${ECHO_T}$ac_header_preproc" >&6
6302
6303# So? What about this header?
6304case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6305 yes:no: )
6306 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6307echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6309echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6310 ac_header_preproc=yes
6311 ;;
6312 no:yes:* )
6313 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6314echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6315 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6316echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6317 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6318echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6319 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6320echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6321 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6322echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6323 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6324echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6325 (
6326 cat <<\_ASBOX
6327## ------------------------------------------------------ ##
6328## Report this to the GNU Fortran Runtime Library lists. ##
6329## ------------------------------------------------------ ##
6330_ASBOX
6331 ) |
6332 sed "s/^/$as_me: WARNING: /" >&2
6333 ;;
6334esac
6335echo "$as_me:$LINENO: checking for $ac_header" >&5
6336echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6337if eval "test \"\${$as_ac_Header+set}\" = set"; then
4ee9c684 6338 echo $ECHO_N "(cached) $ECHO_C" >&6
6339else
90973b19 6340 eval "$as_ac_Header=\$ac_header_preproc"
4ee9c684 6341fi
90973b19 6342echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6343echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4ee9c684 6344
90973b19 6345fi
6346if test `eval echo '${'$as_ac_Header'}'` = yes; then
6347 cat >>confdefs.h <<_ACEOF
6348#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6349_ACEOF
4ee9c684 6350
4ee9c684 6351fi
4ee9c684 6352
90973b19 6353done
6354
6355
6356
6357
6358
6359
6360for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
6361do
6362as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6363if eval "test \"\${$as_ac_Header+set}\" = set"; then
6364 echo "$as_me:$LINENO: checking for $ac_header" >&5
d2455565 6365echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6366if eval "test \"\${$as_ac_Header+set}\" = set"; then
6367 echo $ECHO_N "(cached) $ECHO_C" >&6
6368fi
6369echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6370echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6371else
6372 # Is the header compilable?
6373echo "$as_me:$LINENO: checking $ac_header usability" >&5
6374echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6375cat >conftest.$ac_ext <<_ACEOF
6376/* confdefs.h. */
6377_ACEOF
6378cat confdefs.h >>conftest.$ac_ext
6379cat >>conftest.$ac_ext <<_ACEOF
6380/* end confdefs.h. */
6381$ac_includes_default
6382#include <$ac_header>
6383_ACEOF
6384rm -f conftest.$ac_objext
6385if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6386 (eval $ac_compile) 2>conftest.er1
6387 ac_status=$?
6388 grep -v '^ *+' conftest.er1 >conftest.err
6389 rm -f conftest.er1
6390 cat conftest.err >&5
6391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6392 (exit $ac_status); } &&
b56cb1ff 6393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d2455565 6394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6395 (eval $ac_try) 2>&5
6396 ac_status=$?
6397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398 (exit $ac_status); }; } &&
6399 { ac_try='test -s conftest.$ac_objext'
6400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6401 (eval $ac_try) 2>&5
6402 ac_status=$?
6403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6404 (exit $ac_status); }; }; then
6405 ac_header_compiler=yes
6406else
6407 echo "$as_me: failed program was:" >&5
6408sed 's/^/| /' conftest.$ac_ext >&5
6409
6410ac_header_compiler=no
6411fi
6412rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6413echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6414echo "${ECHO_T}$ac_header_compiler" >&6
6415
6416# Is the header present?
6417echo "$as_me:$LINENO: checking $ac_header presence" >&5
6418echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6419cat >conftest.$ac_ext <<_ACEOF
6420/* confdefs.h. */
6421_ACEOF
6422cat confdefs.h >>conftest.$ac_ext
6423cat >>conftest.$ac_ext <<_ACEOF
6424/* end confdefs.h. */
6425#include <$ac_header>
6426_ACEOF
6427if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6428 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6429 ac_status=$?
6430 grep -v '^ *+' conftest.er1 >conftest.err
6431 rm -f conftest.er1
6432 cat conftest.err >&5
6433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434 (exit $ac_status); } >/dev/null; then
6435 if test -s conftest.err; then
6436 ac_cpp_err=$ac_c_preproc_warn_flag
6437 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6438 else
6439 ac_cpp_err=
6440 fi
6441else
6442 ac_cpp_err=yes
6443fi
6444if test -z "$ac_cpp_err"; then
6445 ac_header_preproc=yes
6446else
6447 echo "$as_me: failed program was:" >&5
6448sed 's/^/| /' conftest.$ac_ext >&5
6449
6450 ac_header_preproc=no
6451fi
6452rm -f conftest.err conftest.$ac_ext
6453echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6454echo "${ECHO_T}$ac_header_preproc" >&6
6455
6456# So? What about this header?
6457case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6458 yes:no: )
6459 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6460echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6461 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6462echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6463 ac_header_preproc=yes
6464 ;;
6465 no:yes:* )
6466 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6467echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6468 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6469echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6470 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6471echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6472 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6473echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6474 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6475echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6476 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6477echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6478 (
6479 cat <<\_ASBOX
6480## ------------------------------------------------------ ##
6481## Report this to the GNU Fortran Runtime Library lists. ##
6482## ------------------------------------------------------ ##
6483_ASBOX
6484 ) |
6485 sed "s/^/$as_me: WARNING: /" >&2
6486 ;;
6487esac
6488echo "$as_me:$LINENO: checking for $ac_header" >&5
6489echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6490if eval "test \"\${$as_ac_Header+set}\" = set"; then
6491 echo $ECHO_N "(cached) $ECHO_C" >&6
6492else
6493 eval "$as_ac_Header=\$ac_header_preproc"
6494fi
6495echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6496echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6497
6498fi
6499if test `eval echo '${'$as_ac_Header'}'` = yes; then
6500 cat >>confdefs.h <<_ACEOF
6501#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6502_ACEOF
6503
6504fi
6505
6506done
6507
6508
771c1b50 6509
6510
334f03a1 6511
8c84a5de 6512
aaa798ba 6513for ac_header in sys/mman.h sys/types.h sys/stat.h floatingpoint.h ieeefp.h
6514do
6515as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6516if eval "test \"\${$as_ac_Header+set}\" = set"; then
6517 echo "$as_me:$LINENO: checking for $ac_header" >&5
6518echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6519if eval "test \"\${$as_ac_Header+set}\" = set"; then
6520 echo $ECHO_N "(cached) $ECHO_C" >&6
6521fi
6522echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6523echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6524else
6525 # Is the header compilable?
6526echo "$as_me:$LINENO: checking $ac_header usability" >&5
6527echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6528cat >conftest.$ac_ext <<_ACEOF
6529/* confdefs.h. */
6530_ACEOF
6531cat confdefs.h >>conftest.$ac_ext
6532cat >>conftest.$ac_ext <<_ACEOF
6533/* end confdefs.h. */
6534$ac_includes_default
6535#include <$ac_header>
6536_ACEOF
6537rm -f conftest.$ac_objext
6538if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6539 (eval $ac_compile) 2>conftest.er1
6540 ac_status=$?
6541 grep -v '^ *+' conftest.er1 >conftest.err
6542 rm -f conftest.er1
6543 cat conftest.err >&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); } &&
b56cb1ff 6546 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
aaa798ba 6547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6548 (eval $ac_try) 2>&5
6549 ac_status=$?
6550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6551 (exit $ac_status); }; } &&
6552 { ac_try='test -s conftest.$ac_objext'
6553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6554 (eval $ac_try) 2>&5
6555 ac_status=$?
6556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6557 (exit $ac_status); }; }; then
6558 ac_header_compiler=yes
6559else
6560 echo "$as_me: failed program was:" >&5
6561sed 's/^/| /' conftest.$ac_ext >&5
6562
6563ac_header_compiler=no
6564fi
6565rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6566echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6567echo "${ECHO_T}$ac_header_compiler" >&6
6568
6569# Is the header present?
6570echo "$as_me:$LINENO: checking $ac_header presence" >&5
6571echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6572cat >conftest.$ac_ext <<_ACEOF
6573/* confdefs.h. */
6574_ACEOF
6575cat confdefs.h >>conftest.$ac_ext
6576cat >>conftest.$ac_ext <<_ACEOF
6577/* end confdefs.h. */
6578#include <$ac_header>
6579_ACEOF
6580if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6581 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6582 ac_status=$?
6583 grep -v '^ *+' conftest.er1 >conftest.err
6584 rm -f conftest.er1
6585 cat conftest.err >&5
6586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6587 (exit $ac_status); } >/dev/null; then
6588 if test -s conftest.err; then
6589 ac_cpp_err=$ac_c_preproc_warn_flag
6590 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6591 else
6592 ac_cpp_err=
6593 fi
6594else
6595 ac_cpp_err=yes
6596fi
6597if test -z "$ac_cpp_err"; then
6598 ac_header_preproc=yes
6599else
6600 echo "$as_me: failed program was:" >&5
6601sed 's/^/| /' conftest.$ac_ext >&5
6602
6603 ac_header_preproc=no
6604fi
6605rm -f conftest.err conftest.$ac_ext
6606echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6607echo "${ECHO_T}$ac_header_preproc" >&6
6608
6609# So? What about this header?
6610case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6611 yes:no: )
6612 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6613echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6615echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6616 ac_header_preproc=yes
6617 ;;
6618 no:yes:* )
6619 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6620echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6621 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6622echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6623 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6624echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6625 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6626echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6627 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6628echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6629 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6630echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6631 (
6632 cat <<\_ASBOX
6633## ------------------------------------------------------ ##
6634## Report this to the GNU Fortran Runtime Library lists. ##
6635## ------------------------------------------------------ ##
6636_ASBOX
6637 ) |
6638 sed "s/^/$as_me: WARNING: /" >&2
6639 ;;
6640esac
6641echo "$as_me:$LINENO: checking for $ac_header" >&5
6642echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6643if eval "test \"\${$as_ac_Header+set}\" = set"; then
6644 echo $ECHO_N "(cached) $ECHO_C" >&6
6645else
6646 eval "$as_ac_Header=\$ac_header_preproc"
6647fi
6648echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6649echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6650
6651fi
6652if test `eval echo '${'$as_ac_Header'}'` = yes; then
6653 cat >>confdefs.h <<_ACEOF
6654#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6655_ACEOF
6656
6657fi
6658
6659done
6660
6661
6662
6663
6664for ac_header in fenv.h fptrap.h float.h
d2455565 6665do
6666as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6667if eval "test \"\${$as_ac_Header+set}\" = set"; then
6668 echo "$as_me:$LINENO: checking for $ac_header" >&5
90973b19 6669echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6670if eval "test \"\${$as_ac_Header+set}\" = set"; then
4ee9c684 6671 echo $ECHO_N "(cached) $ECHO_C" >&6
90973b19 6672fi
6673echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6674echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4ee9c684 6675else
90973b19 6676 # Is the header compilable?
6677echo "$as_me:$LINENO: checking $ac_header usability" >&5
6678echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6679cat >conftest.$ac_ext <<_ACEOF
6680/* confdefs.h. */
6681_ACEOF
6682cat confdefs.h >>conftest.$ac_ext
6683cat >>conftest.$ac_ext <<_ACEOF
6684/* end confdefs.h. */
6685$ac_includes_default
6686#include <$ac_header>
6687_ACEOF
6688rm -f conftest.$ac_objext
6689if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6690 (eval $ac_compile) 2>conftest.er1
6691 ac_status=$?
6692 grep -v '^ *+' conftest.er1 >conftest.err
6693 rm -f conftest.er1
6694 cat conftest.err >&5
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); } &&
b56cb1ff 6697 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
90973b19 6698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6699 (eval $ac_try) 2>&5
6700 ac_status=$?
6701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702 (exit $ac_status); }; } &&
6703 { ac_try='test -s conftest.$ac_objext'
6704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6705 (eval $ac_try) 2>&5
6706 ac_status=$?
6707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6708 (exit $ac_status); }; }; then
6709 ac_header_compiler=yes
4ee9c684 6710else
90973b19 6711 echo "$as_me: failed program was:" >&5
6712sed 's/^/| /' conftest.$ac_ext >&5
4ee9c684 6713
90973b19 6714ac_header_compiler=no
6715fi
6716rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6717echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6718echo "${ECHO_T}$ac_header_compiler" >&6
4ee9c684 6719
90973b19 6720# Is the header present?
6721echo "$as_me:$LINENO: checking $ac_header presence" >&5
6722echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6723cat >conftest.$ac_ext <<_ACEOF
6724/* confdefs.h. */
6725_ACEOF
6726cat confdefs.h >>conftest.$ac_ext
6727cat >>conftest.$ac_ext <<_ACEOF
6728/* end confdefs.h. */
6729#include <$ac_header>
6730_ACEOF
6731if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6732 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6733 ac_status=$?
6734 grep -v '^ *+' conftest.er1 >conftest.err
6735 rm -f conftest.er1
6736 cat conftest.err >&5
6737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6738 (exit $ac_status); } >/dev/null; then
6739 if test -s conftest.err; then
6740 ac_cpp_err=$ac_c_preproc_warn_flag
6741 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6742 else
6743 ac_cpp_err=
6744 fi
4ee9c684 6745else
90973b19 6746 ac_cpp_err=yes
4ee9c684 6747fi
90973b19 6748if test -z "$ac_cpp_err"; then
6749 ac_header_preproc=yes
4ee9c684 6750else
90973b19 6751 echo "$as_me: failed program was:" >&5
6752sed 's/^/| /' conftest.$ac_ext >&5
4ee9c684 6753
90973b19 6754 ac_header_preproc=no
6755fi
6756rm -f conftest.err conftest.$ac_ext
6757echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6758echo "${ECHO_T}$ac_header_preproc" >&6
4ee9c684 6759
90973b19 6760# So? What about this header?
6761case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6762 yes:no: )
6763 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6764echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6766echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6767 ac_header_preproc=yes
4ee9c684 6768 ;;
90973b19 6769 no:yes:* )
6770 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6771echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6772 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6773echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6774 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6775echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6776 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6777echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6778 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6779echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6780 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6781echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6782 (
6783 cat <<\_ASBOX
6784## ------------------------------------------------------ ##
6785## Report this to the GNU Fortran Runtime Library lists. ##
6786## ------------------------------------------------------ ##
6787_ASBOX
6788 ) |
6789 sed "s/^/$as_me: WARNING: /" >&2
4ee9c684 6790 ;;
90973b19 6791esac
6792echo "$as_me:$LINENO: checking for $ac_header" >&5
6793echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6794if eval "test \"\${$as_ac_Header+set}\" = set"; then
6795 echo $ECHO_N "(cached) $ECHO_C" >&6
6796else
6797 eval "$as_ac_Header=\$ac_header_preproc"
6798fi
6799echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6800echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4ee9c684 6801
90973b19 6802fi
6803if test `eval echo '${'$as_ac_Header'}'` = yes; then
6804 cat >>confdefs.h <<_ACEOF
6805#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6806_ACEOF
4ee9c684 6807
90973b19 6808fi
4ee9c684 6809
90973b19 6810done
4ee9c684 6811
90973b19 6812if test "${ac_cv_header_complex_h+set}" = set; then
6813 echo "$as_me:$LINENO: checking for complex.h" >&5
6814echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6815if test "${ac_cv_header_complex_h+set}" = set; then
6816 echo $ECHO_N "(cached) $ECHO_C" >&6
6817fi
6818echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6819echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6820else
6821 # Is the header compilable?
6822echo "$as_me:$LINENO: checking complex.h usability" >&5
6823echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6824cat >conftest.$ac_ext <<_ACEOF
6825/* confdefs.h. */
6826_ACEOF
6827cat confdefs.h >>conftest.$ac_ext
6828cat >>conftest.$ac_ext <<_ACEOF
6829/* end confdefs.h. */
6830$ac_includes_default
6831#include <complex.h>
6832_ACEOF
6833rm -f conftest.$ac_objext
6834if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6835 (eval $ac_compile) 2>conftest.er1
6836 ac_status=$?
6837 grep -v '^ *+' conftest.er1 >conftest.err
6838 rm -f conftest.er1
6839 cat conftest.err >&5
6840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 (exit $ac_status); } &&
b56cb1ff 6842 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
90973b19 6843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6844 (eval $ac_try) 2>&5
6845 ac_status=$?
6846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6847 (exit $ac_status); }; } &&
6848 { ac_try='test -s conftest.$ac_objext'
6849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6850 (eval $ac_try) 2>&5
6851 ac_status=$?
6852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6853 (exit $ac_status); }; }; then
6854 ac_header_compiler=yes
6855else
6856 echo "$as_me: failed program was:" >&5
6857sed 's/^/| /' conftest.$ac_ext >&5
4ee9c684 6858
90973b19 6859ac_header_compiler=no
6860fi
6861rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6862echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6863echo "${ECHO_T}$ac_header_compiler" >&6
4ee9c684 6864
90973b19 6865# Is the header present?
6866echo "$as_me:$LINENO: checking complex.h presence" >&5
6867echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6868cat >conftest.$ac_ext <<_ACEOF
6869/* confdefs.h. */
6870_ACEOF
6871cat confdefs.h >>conftest.$ac_ext
6872cat >>conftest.$ac_ext <<_ACEOF
6873/* end confdefs.h. */
6874#include <complex.h>
6875_ACEOF
6876if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6877 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6878 ac_status=$?
6879 grep -v '^ *+' conftest.er1 >conftest.err
6880 rm -f conftest.er1
6881 cat conftest.err >&5
6882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883 (exit $ac_status); } >/dev/null; then
6884 if test -s conftest.err; then
6885 ac_cpp_err=$ac_c_preproc_warn_flag
6886 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4ee9c684 6887 else
90973b19 6888 ac_cpp_err=
4ee9c684 6889 fi
90973b19 6890else
6891 ac_cpp_err=yes
6892fi
6893if test -z "$ac_cpp_err"; then
6894 ac_header_preproc=yes
6895else
6896 echo "$as_me: failed program was:" >&5
6897sed 's/^/| /' conftest.$ac_ext >&5
4ee9c684 6898
90973b19 6899 ac_header_preproc=no
6900fi
6901rm -f conftest.err conftest.$ac_ext
6902echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6903echo "${ECHO_T}$ac_header_preproc" >&6
4ee9c684 6904
90973b19 6905# So? What about this header?
6906case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6907 yes:no: )
6908 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6909echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6910 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6911echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6912 ac_header_preproc=yes
4ee9c684 6913 ;;
90973b19 6914 no:yes:* )
6915 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6916echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6917 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6918echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6919 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6920echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6921 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6922echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6923 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6924echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6925 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6926echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6927 (
6928 cat <<\_ASBOX
6929## ------------------------------------------------------ ##
6930## Report this to the GNU Fortran Runtime Library lists. ##
6931## ------------------------------------------------------ ##
6932_ASBOX
6933 ) |
6934 sed "s/^/$as_me: WARNING: /" >&2
4ee9c684 6935 ;;
4ee9c684 6936esac
90973b19 6937echo "$as_me:$LINENO: checking for complex.h" >&5
6938echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6939if test "${ac_cv_header_complex_h+set}" = set; then
6940 echo $ECHO_N "(cached) $ECHO_C" >&6
6941else
6942 ac_cv_header_complex_h=$ac_header_preproc
6943fi
6944echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6945echo "${ECHO_T}$ac_cv_header_complex_h" >&6
4ee9c684 6946
6947fi
90973b19 6948if test $ac_cv_header_complex_h = yes; then
4ee9c684 6949
90973b19 6950cat >>confdefs.h <<\_ACEOF
6951#define HAVE_COMPLEX_H 1
6952_ACEOF
4ee9c684 6953
90973b19 6954fi
4ee9c684 6955
6956
4ee9c684 6957
771c1b50 6958echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6959echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
6960if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6961 echo $ECHO_N "(cached) $ECHO_C" >&6
6962else
6963 cat >conftest.$ac_ext <<_ACEOF
6964/* confdefs.h. */
6965_ACEOF
6966cat confdefs.h >>conftest.$ac_ext
6967cat >>conftest.$ac_ext <<_ACEOF
6968/* end confdefs.h. */
6969$ac_includes_default
6970int
6971main ()
6972{
6973static struct stat ac_aggr;
6974if (ac_aggr.st_blksize)
6975return 0;
6976 ;
6977 return 0;
6978}
6979_ACEOF
6980rm -f conftest.$ac_objext
6981if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6982 (eval $ac_compile) 2>conftest.er1
6983 ac_status=$?
6984 grep -v '^ *+' conftest.er1 >conftest.err
6985 rm -f conftest.er1
6986 cat conftest.err >&5
6987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6988 (exit $ac_status); } &&
b56cb1ff 6989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
771c1b50 6990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6991 (eval $ac_try) 2>&5
6992 ac_status=$?
6993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6994 (exit $ac_status); }; } &&
6995 { ac_try='test -s conftest.$ac_objext'
6996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6997 (eval $ac_try) 2>&5
6998 ac_status=$?
6999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7000 (exit $ac_status); }; }; then
7001 ac_cv_member_struct_stat_st_blksize=yes
7002else
7003 echo "$as_me: failed program was:" >&5
7004sed 's/^/| /' conftest.$ac_ext >&5
7005
7006cat >conftest.$ac_ext <<_ACEOF
7007/* confdefs.h. */
7008_ACEOF
7009cat confdefs.h >>conftest.$ac_ext
7010cat >>conftest.$ac_ext <<_ACEOF
7011/* end confdefs.h. */
7012$ac_includes_default
7013int
7014main ()
7015{
7016static struct stat ac_aggr;
7017if (sizeof ac_aggr.st_blksize)
7018return 0;
7019 ;
7020 return 0;
7021}
7022_ACEOF
7023rm -f conftest.$ac_objext
7024if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7025 (eval $ac_compile) 2>conftest.er1
7026 ac_status=$?
7027 grep -v '^ *+' conftest.er1 >conftest.err
7028 rm -f conftest.er1
7029 cat conftest.err >&5
7030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7031 (exit $ac_status); } &&
b56cb1ff 7032 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
771c1b50 7033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7034 (eval $ac_try) 2>&5
7035 ac_status=$?
7036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7037 (exit $ac_status); }; } &&
7038 { ac_try='test -s conftest.$ac_objext'
7039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7040 (eval $ac_try) 2>&5
7041 ac_status=$?
7042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7043 (exit $ac_status); }; }; then
7044 ac_cv_member_struct_stat_st_blksize=yes
7045else
7046 echo "$as_me: failed program was:" >&5
7047sed 's/^/| /' conftest.$ac_ext >&5
7048
7049ac_cv_member_struct_stat_st_blksize=no
7050fi
7051rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7052fi
7053rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7054fi
7055echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
7056echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
7057if test $ac_cv_member_struct_stat_st_blksize = yes; then
7058
7059cat >>confdefs.h <<_ACEOF
7060#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
7061_ACEOF
7062
7063
7064fi
7065
7066echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
7067echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
7068if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
7069 echo $ECHO_N "(cached) $ECHO_C" >&6
7070else
7071 cat >conftest.$ac_ext <<_ACEOF
7072/* confdefs.h. */
7073_ACEOF
7074cat confdefs.h >>conftest.$ac_ext
7075cat >>conftest.$ac_ext <<_ACEOF
7076/* end confdefs.h. */
7077$ac_includes_default
7078int
7079main ()
7080{
7081static struct stat ac_aggr;
7082if (ac_aggr.st_blocks)
7083return 0;
7084 ;
7085 return 0;
7086}
7087_ACEOF
7088rm -f conftest.$ac_objext
7089if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7090 (eval $ac_compile) 2>conftest.er1
7091 ac_status=$?
7092 grep -v '^ *+' conftest.er1 >conftest.err
7093 rm -f conftest.er1
7094 cat conftest.err >&5
7095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7096 (exit $ac_status); } &&
b56cb1ff 7097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
771c1b50 7098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7099 (eval $ac_try) 2>&5
7100 ac_status=$?
7101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7102 (exit $ac_status); }; } &&
7103 { ac_try='test -s conftest.$ac_objext'
7104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7105 (eval $ac_try) 2>&5
7106 ac_status=$?
7107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7108 (exit $ac_status); }; }; then
7109 ac_cv_member_struct_stat_st_blocks=yes
7110else
7111 echo "$as_me: failed program was:" >&5
7112sed 's/^/| /' conftest.$ac_ext >&5
7113
7114cat >conftest.$ac_ext <<_ACEOF
7115/* confdefs.h. */
7116_ACEOF
7117cat confdefs.h >>conftest.$ac_ext
7118cat >>conftest.$ac_ext <<_ACEOF
7119/* end confdefs.h. */
7120$ac_includes_default
7121int
7122main ()
7123{
7124static struct stat ac_aggr;
7125if (sizeof ac_aggr.st_blocks)
7126return 0;
7127 ;
7128 return 0;
7129}
7130_ACEOF
7131rm -f conftest.$ac_objext
7132if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7133 (eval $ac_compile) 2>conftest.er1
7134 ac_status=$?
7135 grep -v '^ *+' conftest.er1 >conftest.err
7136 rm -f conftest.er1
7137 cat conftest.err >&5
7138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7139 (exit $ac_status); } &&
b56cb1ff 7140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
771c1b50 7141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7142 (eval $ac_try) 2>&5
7143 ac_status=$?
7144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7145 (exit $ac_status); }; } &&
7146 { ac_try='test -s conftest.$ac_objext'
7147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7148 (eval $ac_try) 2>&5
7149 ac_status=$?
7150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7151 (exit $ac_status); }; }; then
7152 ac_cv_member_struct_stat_st_blocks=yes
7153else
7154 echo "$as_me: failed program was:" >&5
7155sed 's/^/| /' conftest.$ac_ext >&5
7156
7157ac_cv_member_struct_stat_st_blocks=no
7158fi
7159rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7160fi
7161rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7162fi
7163echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
7164echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
7165if test $ac_cv_member_struct_stat_st_blocks = yes; then
7166
7167cat >>confdefs.h <<_ACEOF
7168#define HAVE_STRUCT_STAT_ST_BLOCKS 1
7169_ACEOF
7170
7171
7172fi
7173
7174echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
7175echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
7176if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
7177 echo $ECHO_N "(cached) $ECHO_C" >&6
7178else
7179 cat >conftest.$ac_ext <<_ACEOF
7180/* confdefs.h. */
7181_ACEOF
7182cat confdefs.h >>conftest.$ac_ext
7183cat >>conftest.$ac_ext <<_ACEOF
7184/* end confdefs.h. */
7185$ac_includes_default
7186int
7187main ()
7188{
7189static struct stat ac_aggr;
7190if (ac_aggr.st_rdev)
7191return 0;
7192 ;
7193 return 0;
7194}
7195_ACEOF
7196rm -f conftest.$ac_objext
7197if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7198 (eval $ac_compile) 2>conftest.er1
7199 ac_status=$?
7200 grep -v '^ *+' conftest.er1 >conftest.err
7201 rm -f conftest.er1
7202 cat conftest.err >&5
7203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7204 (exit $ac_status); } &&
b56cb1ff 7205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
771c1b50 7206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7207 (eval $ac_try) 2>&5
7208 ac_status=$?
7209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7210 (exit $ac_status); }; } &&
7211 { ac_try='test -s conftest.$ac_objext'
7212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7213 (eval $ac_try) 2>&5
7214 ac_status=$?
7215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7216 (exit $ac_status); }; }; then
7217 ac_cv_member_struct_stat_st_rdev=yes
7218else
7219 echo "$as_me: failed program was:" >&5
7220sed 's/^/| /' conftest.$ac_ext >&5
7221
7222cat >conftest.$ac_ext <<_ACEOF
7223/* confdefs.h. */
7224_ACEOF
7225cat confdefs.h >>conftest.$ac_ext
7226cat >>conftest.$ac_ext <<_ACEOF
7227/* end confdefs.h. */
7228$ac_includes_default
7229int
7230main ()
7231{
7232static struct stat ac_aggr;
7233if (sizeof ac_aggr.st_rdev)
7234return 0;
7235 ;
7236 return 0;
7237}
7238_ACEOF
7239rm -f conftest.$ac_objext
7240if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7241 (eval $ac_compile) 2>conftest.er1
7242 ac_status=$?
7243 grep -v '^ *+' conftest.er1 >conftest.err
7244 rm -f conftest.er1
7245 cat conftest.err >&5
7246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7247 (exit $ac_status); } &&
b56cb1ff 7248 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
771c1b50 7249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7250 (eval $ac_try) 2>&5
7251 ac_status=$?
7252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7253 (exit $ac_status); }; } &&
7254 { ac_try='test -s conftest.$ac_objext'
7255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7256 (eval $ac_try) 2>&5
7257 ac_status=$?
7258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7259 (exit $ac_status); }; }; then
7260 ac_cv_member_struct_stat_st_rdev=yes
7261else
7262 echo "$as_me: failed program was:" >&5
7263sed 's/^/| /' conftest.$ac_ext >&5
7264
7265ac_cv_member_struct_stat_st_rdev=no
7266fi
7267rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7268fi
7269rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7270fi
7271echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
7272echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
7273if test $ac_cv_member_struct_stat_st_rdev = yes; then
7274
7275cat >>confdefs.h <<_ACEOF
7276#define HAVE_STRUCT_STAT_ST_RDEV 1
7277_ACEOF
7278
7279
7280fi
7281
7282
90973b19 7283# Check for library functions.
7284
7285
7dfba97b 7286
5e7b82bb 7287
c436f700 7288
a54b1ce7 7289
7290
14c3c235 7291
7292for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
90973b19 7293do
7294as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7295echo "$as_me:$LINENO: checking for $ac_func" >&5
7296echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7297if eval "test \"\${$as_ac_var+set}\" = set"; then
4ee9c684 7298 echo $ECHO_N "(cached) $ECHO_C" >&6
7299else
b52ee437 7300 if test x$gcc_no_link = xyes; then
7301 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7302echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7303 { (exit 1); exit 1; }; }
7304fi
7305cat >conftest.$ac_ext <<_ACEOF
4dd3972f 7306/* confdefs.h. */
7307_ACEOF
7308cat confdefs.h >>conftest.$ac_ext
7309cat >>conftest.$ac_ext <<_ACEOF
7310/* end confdefs.h. */
7311/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7313#define $ac_func innocuous_$ac_func
7314
7315/* System header to define __stub macros and hopefully few prototypes,
7316 which can conflict with char $ac_func (); below.
7317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7318 <limits.h> exists even on freestanding compilers. */
7319
7320#ifdef __STDC__
7321# include <limits.h>
7322#else
7323# include <assert.h>
7324#endif
7325
7326#undef $ac_func
7327
7328/* Override any gcc2 internal prototype to avoid an error. */
7329#ifdef __cplusplus
7330extern "C"
7331{
7332#endif
7333/* We use char because int might match the return type of a gcc2
7334 builtin and then its argument prototype would still apply. */
7335char $ac_func ();
7336/* The GNU C library defines this for functions which it implements
7337 to always fail with ENOSYS. Some functions are actually named
7338 something starting with __ and the normal name is an alias. */
7339#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7340choke me
7341#else
7342char (*f) () = $ac_func;
7343#endif
7344#ifdef __cplusplus
7345}
7346#endif
7347
7348int
7349main ()
7350{
7351return f != $ac_func;
7352 ;
7353 return 0;
7354}
7355_ACEOF
7356rm -f conftest.$ac_objext conftest$ac_exeext
7357if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7358 (eval $ac_link) 2>conftest.er1
7359 ac_status=$?
7360 grep -v '^ *+' conftest.er1 >conftest.err
7361 rm -f conftest.er1
7362 cat conftest.err >&5
7363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364 (exit $ac_status); } &&
b56cb1ff 7365 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4dd3972f 7366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7367 (eval $ac_try) 2>&5
7368 ac_status=$?
7369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370 (exit $ac_status); }; } &&
7371 { ac_try='test -s conftest$ac_exeext'
7372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7373 (eval $ac_try) 2>&5
7374 ac_status=$?
7375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7376 (exit $ac_status); }; }; then
7377 eval "$as_ac_var=yes"
7378else
7379 echo "$as_me: failed program was:" >&5
7380sed 's/^/| /' conftest.$ac_ext >&5
7381
7382eval "$as_ac_var=no"
6745c9de 7383fi
4dd3972f 7384rm -f conftest.err conftest.$ac_objext \
7385 conftest$ac_exeext conftest.$ac_ext
7386fi
7387echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7388echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7389if test `eval echo '${'$as_ac_var'}'` = yes; then
7390 cat >>confdefs.h <<_ACEOF
7391#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7392_ACEOF
7393
7394fi
7395done
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405for ac_func in chdir strerror getlogin gethostname kill link symlink perror
7406do
7407as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7408echo "$as_me:$LINENO: checking for $ac_func" >&5
7409echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7410if eval "test \"\${$as_ac_var+set}\" = set"; then
7411 echo $ECHO_N "(cached) $ECHO_C" >&6
7412else
b52ee437 7413 if test x$gcc_no_link = xyes; then
7414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7415echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7416 { (exit 1); exit 1; }; }
7417fi
7418cat >conftest.$ac_ext <<_ACEOF
90973b19 7419/* confdefs.h. */
7420_ACEOF
7421cat confdefs.h >>conftest.$ac_ext
7422cat >>conftest.$ac_ext <<_ACEOF
7423/* end confdefs.h. */
7424/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7426#define $ac_func innocuous_$ac_func
4ee9c684 7427
90973b19 7428/* System header to define __stub macros and hopefully few prototypes,
7429 which can conflict with char $ac_func (); below.
7430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7431 <limits.h> exists even on freestanding compilers. */
4ee9c684 7432
90973b19 7433#ifdef __STDC__
7434# include <limits.h>
7435#else
7436# include <assert.h>
7437#endif
4ee9c684 7438
90973b19 7439#undef $ac_func
7440
7441/* Override any gcc2 internal prototype to avoid an error. */
7442#ifdef __cplusplus
7443extern "C"
7444{
7445#endif
7446/* We use char because int might match the return type of a gcc2
7447 builtin and then its argument prototype would still apply. */
7448char $ac_func ();
7449/* The GNU C library defines this for functions which it implements
7450 to always fail with ENOSYS. Some functions are actually named
7451 something starting with __ and the normal name is an alias. */
7452#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7453choke me
7454#else
7455char (*f) () = $ac_func;
7456#endif
7457#ifdef __cplusplus
7458}
7459#endif
7460
7461int
7462main ()
7463{
7464return f != $ac_func;
7465 ;
7466 return 0;
7467}
7468_ACEOF
7469rm -f conftest.$ac_objext conftest$ac_exeext
7470if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7471 (eval $ac_link) 2>conftest.er1
7472 ac_status=$?
7473 grep -v '^ *+' conftest.er1 >conftest.err
7474 rm -f conftest.er1
7475 cat conftest.err >&5
7476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7477 (exit $ac_status); } &&
b56cb1ff 7478 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4dd3972f 7479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7480 (eval $ac_try) 2>&5
7481 ac_status=$?
7482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7483 (exit $ac_status); }; } &&
7484 { ac_try='test -s conftest$ac_exeext'
7485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7486 (eval $ac_try) 2>&5
7487 ac_status=$?
7488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7489 (exit $ac_status); }; }; then
7490 eval "$as_ac_var=yes"
7491else
7492 echo "$as_me: failed program was:" >&5
7493sed 's/^/| /' conftest.$ac_ext >&5
7494
7495eval "$as_ac_var=no"
7496fi
7497rm -f conftest.err conftest.$ac_objext \
7498 conftest$ac_exeext conftest.$ac_ext
7499fi
7500echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7501echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7502if test `eval echo '${'$as_ac_var'}'` = yes; then
7503 cat >>confdefs.h <<_ACEOF
7504#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7505_ACEOF
7506
7507fi
7508done
7509
7510
7511
f2c0a16d 7512
247981ce 7513
7514
b902b078 7515
7516for ac_func in sleep time ttyname signal alarm ctime
4dd3972f 7517do
7518as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7519echo "$as_me:$LINENO: checking for $ac_func" >&5
7520echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7521if eval "test \"\${$as_ac_var+set}\" = set"; then
7522 echo $ECHO_N "(cached) $ECHO_C" >&6
7523else
b52ee437 7524 if test x$gcc_no_link = xyes; then
7525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7526echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7527 { (exit 1); exit 1; }; }
7528fi
7529cat >conftest.$ac_ext <<_ACEOF
4dd3972f 7530/* confdefs.h. */
7531_ACEOF
7532cat confdefs.h >>conftest.$ac_ext
7533cat >>conftest.$ac_ext <<_ACEOF
7534/* end confdefs.h. */
7535/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7537#define $ac_func innocuous_$ac_func
7538
7539/* System header to define __stub macros and hopefully few prototypes,
7540 which can conflict with char $ac_func (); below.
7541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7542 <limits.h> exists even on freestanding compilers. */
7543
7544#ifdef __STDC__
7545# include <limits.h>
7546#else
7547# include <assert.h>
7548#endif
7549
7550#undef $ac_func
7551
7552/* Override any gcc2 internal prototype to avoid an error. */
7553#ifdef __cplusplus
7554extern "C"
7555{
7556#endif
7557/* We use char because int might match the return type of a gcc2
7558 builtin and then its argument prototype would still apply. */
7559char $ac_func ();
7560/* The GNU C library defines this for functions which it implements
7561 to always fail with ENOSYS. Some functions are actually named
7562 something starting with __ and the normal name is an alias. */
7563#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7564choke me
7565#else
7566char (*f) () = $ac_func;
7567#endif
7568#ifdef __cplusplus
7569}
7570#endif
7571
7572int
7573main ()
7574{
7575return f != $ac_func;
7576 ;
7577 return 0;
7578}
7579_ACEOF
7580rm -f conftest.$ac_objext conftest$ac_exeext
7581if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7582 (eval $ac_link) 2>conftest.er1
7583 ac_status=$?
7584 grep -v '^ *+' conftest.er1 >conftest.err
7585 rm -f conftest.er1
7586 cat conftest.err >&5
7587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7588 (exit $ac_status); } &&
b56cb1ff 7589 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
90973b19 7590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7591 (eval $ac_try) 2>&5
7592 ac_status=$?
7593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7594 (exit $ac_status); }; } &&
7595 { ac_try='test -s conftest$ac_exeext'
7596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7597 (eval $ac_try) 2>&5
7598 ac_status=$?
7599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7600 (exit $ac_status); }; }; then
7601 eval "$as_ac_var=yes"
4ee9c684 7602else
90973b19 7603 echo "$as_me: failed program was:" >&5
7604sed 's/^/| /' conftest.$ac_ext >&5
7605
7606eval "$as_ac_var=no"
7607fi
7608rm -f conftest.err conftest.$ac_objext \
7609 conftest$ac_exeext conftest.$ac_ext
4ee9c684 7610fi
90973b19 7611echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7612echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7613if test `eval echo '${'$as_ac_var'}'` = yes; then
7614 cat >>confdefs.h <<_ACEOF
7615#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7616_ACEOF
4ee9c684 7617
4ee9c684 7618fi
90973b19 7619done
4ee9c684 7620
4ee9c684 7621
adad6c74 7622# Check libc for getgid, getpid, getuid
7623echo "$as_me:$LINENO: checking for getgid in -lc" >&5
7624echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
7625if test "${ac_cv_lib_c_getgid+set}" = set; then
7626 echo $ECHO_N "(cached) $ECHO_C" >&6
7627else
7628 ac_check_lib_save_LIBS=$LIBS
7629LIBS="-lc $LIBS"
b52ee437 7630if test x$gcc_no_link = xyes; then
7631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7632echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7633 { (exit 1); exit 1; }; }
7634fi
adad6c74 7635cat >conftest.$ac_ext <<_ACEOF
7636/* confdefs.h. */
7637_ACEOF
7638cat confdefs.h >>conftest.$ac_ext
7639cat >>conftest.$ac_ext <<_ACEOF
7640/* end confdefs.h. */
7641
7642/* Override any gcc2 internal prototype to avoid an error. */
7643#ifdef __cplusplus
7644extern "C"
7645#endif
7646/* We use char because int might match the return type of a gcc2
7647 builtin and then its argument prototype would still apply. */
7648char getgid ();
7649int
7650main ()
7651{
7652getgid ();
7653 ;
7654 return 0;
7655}
7656_ACEOF
7657rm -f conftest.$ac_objext conftest$ac_exeext
7658if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7659 (eval $ac_link) 2>conftest.er1
7660 ac_status=$?
7661 grep -v '^ *+' conftest.er1 >conftest.err
7662 rm -f conftest.er1
7663 cat conftest.err >&5
7664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7665 (exit $ac_status); } &&
b56cb1ff 7666 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
adad6c74 7667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7668 (eval $ac_try) 2>&5
7669 ac_status=$?
7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7671 (exit $ac_status); }; } &&
7672 { ac_try='test -s conftest$ac_exeext'
7673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7674 (eval $ac_try) 2>&5
7675 ac_status=$?
7676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7677 (exit $ac_status); }; }; then
7678 ac_cv_lib_c_getgid=yes
7679else
7680 echo "$as_me: failed program was:" >&5
7681sed 's/^/| /' conftest.$ac_ext >&5
7682
7683ac_cv_lib_c_getgid=no
7684fi
7685rm -f conftest.err conftest.$ac_objext \
7686 conftest$ac_exeext conftest.$ac_ext
7687LIBS=$ac_check_lib_save_LIBS
7688fi
7689echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
7690echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
7691if test $ac_cv_lib_c_getgid = yes; then
7692
7693cat >>confdefs.h <<\_ACEOF
7694#define HAVE_GETGID 1
7695_ACEOF
7696
7697fi
7698
7699echo "$as_me:$LINENO: checking for getpid in -lc" >&5
7700echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
7701if test "${ac_cv_lib_c_getpid+set}" = set; then
7702 echo $ECHO_N "(cached) $ECHO_C" >&6
7703else
7704 ac_check_lib_save_LIBS=$LIBS
7705LIBS="-lc $LIBS"
b52ee437 7706if test x$gcc_no_link = xyes; then
7707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7708echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7709 { (exit 1); exit 1; }; }
7710fi
adad6c74 7711cat >conftest.$ac_ext <<_ACEOF
7712/* confdefs.h. */
7713_ACEOF
7714cat confdefs.h >>conftest.$ac_ext
7715cat >>conftest.$ac_ext <<_ACEOF
7716/* end confdefs.h. */
7717
7718/* Override any gcc2 internal prototype to avoid an error. */
7719#ifdef __cplusplus
7720extern "C"
7721#endif
7722/* We use char because int might match the return type of a gcc2
7723 builtin and then its argument prototype would still apply. */
7724char getpid ();
7725int
7726main ()
7727{
7728getpid ();
7729 ;
7730 return 0;
7731}
7732_ACEOF
7733rm -f conftest.$ac_objext conftest$ac_exeext
7734if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7735 (eval $ac_link) 2>conftest.er1
7736 ac_status=$?
7737 grep -v '^ *+' conftest.er1 >conftest.err
7738 rm -f conftest.er1
7739 cat conftest.err >&5
7740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7741 (exit $ac_status); } &&
b56cb1ff 7742 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
adad6c74 7743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7744 (eval $ac_try) 2>&5
7745 ac_status=$?
7746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7747 (exit $ac_status); }; } &&
7748 { ac_try='test -s conftest$ac_exeext'
7749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7750 (eval $ac_try) 2>&5
7751 ac_status=$?
7752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7753 (exit $ac_status); }; }; then
7754 ac_cv_lib_c_getpid=yes
7755else
7756 echo "$as_me: failed program was:" >&5
7757sed 's/^/| /' conftest.$ac_ext >&5
7758
7759ac_cv_lib_c_getpid=no
7760fi
7761rm -f conftest.err conftest.$ac_objext \
7762 conftest$ac_exeext conftest.$ac_ext
7763LIBS=$ac_check_lib_save_LIBS
7764fi
7765echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
7766echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
7767if test $ac_cv_lib_c_getpid = yes; then
7768
7769cat >>confdefs.h <<\_ACEOF
7770#define HAVE_GETPID 1
7771_ACEOF
7772
7773fi
7774
7775echo "$as_me:$LINENO: checking for getuid in -lc" >&5
7776echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
7777if test "${ac_cv_lib_c_getuid+set}" = set; then
7778 echo $ECHO_N "(cached) $ECHO_C" >&6
7779else
7780 ac_check_lib_save_LIBS=$LIBS
7781LIBS="-lc $LIBS"
b52ee437 7782if test x$gcc_no_link = xyes; then
7783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7784echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7785 { (exit 1); exit 1; }; }
7786fi
adad6c74 7787cat >conftest.$ac_ext <<_ACEOF
7788/* confdefs.h. */
7789_ACEOF
7790cat confdefs.h >>conftest.$ac_ext
7791cat >>conftest.$ac_ext <<_ACEOF
7792/* end confdefs.h. */
7793
7794/* Override any gcc2 internal prototype to avoid an error. */
7795#ifdef __cplusplus
7796extern "C"
7797#endif
7798/* We use char because int might match the return type of a gcc2
7799 builtin and then its argument prototype would still apply. */
7800char getuid ();
7801int
7802main ()
7803{
7804getuid ();
7805 ;
7806 return 0;
7807}
7808_ACEOF
7809rm -f conftest.$ac_objext conftest$ac_exeext
7810if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7811 (eval $ac_link) 2>conftest.er1
7812 ac_status=$?
7813 grep -v '^ *+' conftest.er1 >conftest.err
7814 rm -f conftest.er1
7815 cat conftest.err >&5
7816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7817 (exit $ac_status); } &&
b56cb1ff 7818 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
adad6c74 7819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7820 (eval $ac_try) 2>&5
7821 ac_status=$?
7822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7823 (exit $ac_status); }; } &&
7824 { ac_try='test -s conftest$ac_exeext'
7825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7826 (eval $ac_try) 2>&5
7827 ac_status=$?
7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7829 (exit $ac_status); }; }; then
7830 ac_cv_lib_c_getuid=yes
7831else
7832 echo "$as_me: failed program was:" >&5
7833sed 's/^/| /' conftest.$ac_ext >&5
7834
7835ac_cv_lib_c_getuid=no
7836fi
7837rm -f conftest.err conftest.$ac_objext \
7838 conftest$ac_exeext conftest.$ac_ext
7839LIBS=$ac_check_lib_save_LIBS
7840fi
7841echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
7842echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
7843if test $ac_cv_lib_c_getuid = yes; then
7844
7845cat >>confdefs.h <<\_ACEOF
7846#define HAVE_GETUID 1
7847_ACEOF
7848
7849fi
7850
7851
8f838781 7852# Check for C99 (and other IEEE) math functions
158e0e64 7853# ??? This list seems awful long. Is there a better way to test for these?
8f838781 7854echo "$as_me:$LINENO: checking for acosf in -lm" >&5
7855echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
7856if test "${ac_cv_lib_m_acosf+set}" = set; then
7857 echo $ECHO_N "(cached) $ECHO_C" >&6
7858else
7859 ac_check_lib_save_LIBS=$LIBS
7860LIBS="-lm $LIBS"
b52ee437 7861if test x$gcc_no_link = xyes; then
7862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7863echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7864 { (exit 1); exit 1; }; }
7865fi
8f838781 7866cat >conftest.$ac_ext <<_ACEOF
7867/* confdefs.h. */
7868_ACEOF
7869cat confdefs.h >>conftest.$ac_ext
7870cat >>conftest.$ac_ext <<_ACEOF
7871/* end confdefs.h. */
7872
7873/* Override any gcc2 internal prototype to avoid an error. */
7874#ifdef __cplusplus
7875extern "C"
7876#endif
7877/* We use char because int might match the return type of a gcc2
7878 builtin and then its argument prototype would still apply. */
7879char acosf ();
7880int
7881main ()
7882{
7883acosf ();
7884 ;
7885 return 0;
7886}
7887_ACEOF
7888rm -f conftest.$ac_objext conftest$ac_exeext
7889if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7890 (eval $ac_link) 2>conftest.er1
7891 ac_status=$?
7892 grep -v '^ *+' conftest.er1 >conftest.err
7893 rm -f conftest.er1
7894 cat conftest.err >&5
7895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7896 (exit $ac_status); } &&
b56cb1ff 7897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8f838781 7898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7899 (eval $ac_try) 2>&5
7900 ac_status=$?
7901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7902 (exit $ac_status); }; } &&
7903 { ac_try='test -s conftest$ac_exeext'
7904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7905 (eval $ac_try) 2>&5
7906 ac_status=$?
7907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7908 (exit $ac_status); }; }; then
7909 ac_cv_lib_m_acosf=yes
7910else
7911 echo "$as_me: failed program was:" >&5
7912sed 's/^/| /' conftest.$ac_ext >&5
7913
7914ac_cv_lib_m_acosf=no
7915fi
7916rm -f conftest.err conftest.$ac_objext \
7917 conftest$ac_exeext conftest.$ac_ext
7918LIBS=$ac_check_lib_save_LIBS
7919fi
7920echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
7921echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
7922if test $ac_cv_lib_m_acosf = yes; then
7923
7924cat >>confdefs.h <<\_ACEOF
7925#define HAVE_ACOSF 1
7926_ACEOF
7927
7928fi
7929
d213114b 7930echo "$as_me:$LINENO: checking for acos in -lm" >&5
7931echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
7932if test "${ac_cv_lib_m_acos+set}" = set; then
b52ee437 7933 echo $ECHO_N "(cached) $ECHO_C" >&6
7934else
7935 ac_check_lib_save_LIBS=$LIBS
7936LIBS="-lm $LIBS"
7937if test x$gcc_no_link = xyes; then
7938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7939echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7940 { (exit 1); exit 1; }; }
7941fi
7942cat >conftest.$ac_ext <<_ACEOF
7943/* confdefs.h. */
7944_ACEOF
7945cat confdefs.h >>conftest.$ac_ext
7946cat >>conftest.$ac_ext <<_ACEOF
7947/* end confdefs.h. */
7948
7949/* Override any gcc2 internal prototype to avoid an error. */
7950#ifdef __cplusplus
7951extern "C"
7952#endif
7953/* We use char because int might match the return type of a gcc2
7954 builtin and then its argument prototype would still apply. */
d213114b 7955char acos ();
b52ee437 7956int
7957main ()
7958{
d213114b 7959acos ();
b52ee437 7960 ;
7961 return 0;
7962}
7963_ACEOF
7964rm -f conftest.$ac_objext conftest$ac_exeext
7965if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7966 (eval $ac_link) 2>conftest.er1
7967 ac_status=$?
7968 grep -v '^ *+' conftest.er1 >conftest.err
7969 rm -f conftest.er1
7970 cat conftest.err >&5
7971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7972 (exit $ac_status); } &&
b56cb1ff 7973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
b52ee437 7974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7975 (eval $ac_try) 2>&5
7976 ac_status=$?
7977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7978 (exit $ac_status); }; } &&
7979 { ac_try='test -s conftest$ac_exeext'
7980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7981 (eval $ac_try) 2>&5
7982 ac_status=$?
7983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7984 (exit $ac_status); }; }; then
d213114b 7985 ac_cv_lib_m_acos=yes
b52ee437 7986else
7987 echo "$as_me: failed program was:" >&5
7988sed 's/^/| /' conftest.$ac_ext >&5
7989
d213114b 7990ac_cv_lib_m_acos=no
b52ee437 7991fi
7992rm -f conftest.err conftest.$ac_objext \
7993 conftest$ac_exeext conftest.$ac_ext
7994LIBS=$ac_check_lib_save_LIBS
7995fi
d213114b 7996echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
7997echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
7998if test $ac_cv_lib_m_acos = yes; then
b52ee437 7999
8000cat >>confdefs.h <<\_ACEOF
d213114b 8001#define HAVE_ACOS 1
b52ee437 8002_ACEOF
8003
8004fi
8005
d213114b 8006echo "$as_me:$LINENO: checking for acosl in -lm" >&5
8007echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
8008if test "${ac_cv_lib_m_acosl+set}" = set; then
8f838781 8009 echo $ECHO_N "(cached) $ECHO_C" >&6
8010else
8011 ac_check_lib_save_LIBS=$LIBS
8012LIBS="-lm $LIBS"
b52ee437 8013if test x$gcc_no_link = xyes; then
8014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8015echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8016 { (exit 1); exit 1; }; }
8017fi
8f838781 8018cat >conftest.$ac_ext <<_ACEOF
8019/* confdefs.h. */
8020_ACEOF
8021cat confdefs.h >>conftest.$ac_ext
8022cat >>conftest.$ac_ext <<_ACEOF
8023/* end confdefs.h. */
8024
8025/* Override any gcc2 internal prototype to avoid an error. */
8026#ifdef __cplusplus
8027extern "C"
8028#endif
8029/* We use char because int might match the return type of a gcc2
8030 builtin and then its argument prototype would still apply. */
d213114b 8031char acosl ();
8f838781 8032int
8033main ()
8034{
d213114b 8035acosl ();
8f838781 8036 ;
8037 return 0;
8038}
8039_ACEOF
8040rm -f conftest.$ac_objext conftest$ac_exeext
8041if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8042 (eval $ac_link) 2>conftest.er1
8043 ac_status=$?
8044 grep -v '^ *+' conftest.er1 >conftest.err
8045 rm -f conftest.er1
8046 cat conftest.err >&5
8047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8048 (exit $ac_status); } &&
b56cb1ff 8049 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8f838781 8050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8051 (eval $ac_try) 2>&5
8052 ac_status=$?
8053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8054 (exit $ac_status); }; } &&
8055 { ac_try='test -s conftest$ac_exeext'
8056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8057 (eval $ac_try) 2>&5
8058 ac_status=$?
8059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8060 (exit $ac_status); }; }; then
d213114b 8061 ac_cv_lib_m_acosl=yes
8f838781 8062else
8063 echo "$as_me: failed program was:" >&5
8064sed 's/^/| /' conftest.$ac_ext >&5
8065
d213114b 8066ac_cv_lib_m_acosl=no
8f838781 8067fi
8068rm -f conftest.err conftest.$ac_objext \
8069 conftest$ac_exeext conftest.$ac_ext
8070LIBS=$ac_check_lib_save_LIBS
8071fi
d213114b 8072echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
8073echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
8074if test $ac_cv_lib_m_acosl = yes; then
8f838781 8075
8076cat >>confdefs.h <<\_ACEOF
d213114b 8077#define HAVE_ACOSL 1
8f838781 8078_ACEOF
8079
8080fi
8081
d213114b 8082echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
8083echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
8084if test "${ac_cv_lib_m_acoshf+set}" = set; then
b52ee437 8085 echo $ECHO_N "(cached) $ECHO_C" >&6
8086else
8087 ac_check_lib_save_LIBS=$LIBS
8088LIBS="-lm $LIBS"
8089if test x$gcc_no_link = xyes; then
8090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8091echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8092 { (exit 1); exit 1; }; }
8093fi
8094cat >conftest.$ac_ext <<_ACEOF
8095/* confdefs.h. */
8096_ACEOF
8097cat confdefs.h >>conftest.$ac_ext
8098cat >>conftest.$ac_ext <<_ACEOF
8099/* end confdefs.h. */
8100
8101/* Override any gcc2 internal prototype to avoid an error. */
8102#ifdef __cplusplus
8103extern "C"
8104#endif
8105/* We use char because int might match the return type of a gcc2
8106 builtin and then its argument prototype would still apply. */
d213114b 8107char acoshf ();
b52ee437 8108int
8109main ()
8110{
d213114b 8111acoshf ();
b52ee437 8112 ;
8113 return 0;
8114}
8115_ACEOF
8116rm -f conftest.$ac_objext conftest$ac_exeext
8117if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8118 (eval $ac_link) 2>conftest.er1
8119 ac_status=$?
8120 grep -v '^ *+' conftest.er1 >conftest.err
8121 rm -f conftest.er1
8122 cat conftest.err >&5
8123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8124 (exit $ac_status); } &&
b56cb1ff 8125 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
b52ee437 8126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8127 (eval $ac_try) 2>&5
8128 ac_status=$?
8129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8130 (exit $ac_status); }; } &&
8131 { ac_try='test -s conftest$ac_exeext'
8132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8133 (eval $ac_try) 2>&5
8134 ac_status=$?
8135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8136 (exit $ac_status); }; }; then
d213114b 8137 ac_cv_lib_m_acoshf=yes
b52ee437 8138else
8139 echo "$as_me: failed program was:" >&5
8140sed 's/^/| /' conftest.$ac_ext >&5
8141
d213114b 8142ac_cv_lib_m_acoshf=no
b52ee437 8143fi
8144rm -f conftest.err conftest.$ac_objext \
8145 conftest$ac_exeext conftest.$ac_ext
8146LIBS=$ac_check_lib_save_LIBS
8147fi
d213114b 8148echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
8149echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
8150if test $ac_cv_lib_m_acoshf = yes; then
b52ee437 8151
8152cat >>confdefs.h <<\_ACEOF
d213114b 8153#define HAVE_ACOSHF 1
b52ee437 8154_ACEOF
8155
8156fi
8157
d213114b 8158echo "$as_me:$LINENO: checking for acosh in -lm" >&5
8159echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
8160if test "${ac_cv_lib_m_acosh+set}" = set; then
8f838781 8161 echo $ECHO_N "(cached) $ECHO_C" >&6
8162else
8163 ac_check_lib_save_LIBS=$LIBS
8164LIBS="-lm $LIBS"
b52ee437 8165if test x$gcc_no_link = xyes; then
8166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8167echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8168 { (exit 1); exit 1; }; }
8169fi
8f838781 8170cat >conftest.$ac_ext <<_ACEOF
8171/* confdefs.h. */
8172_ACEOF
8173cat confdefs.h >>conftest.$ac_ext
8174cat >>conftest.$ac_ext <<_ACEOF
8175/* end confdefs.h. */
8176
8177/* Override any gcc2 internal prototype to avoid an error. */
8178#ifdef __cplusplus
8179extern "C"
8180#endif
8181/* We use char because int might match the return type of a gcc2
8182 builtin and then its argument prototype would still apply. */
d213114b 8183char acosh ();
8f838781 8184int
8185main ()
8186{
d213114b 8187acosh ();
8f838781 8188 ;
8189 return 0;
8190}
8191_ACEOF
8192rm -f conftest.$ac_objext conftest$ac_exeext
8193if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8194 (eval $ac_link) 2>conftest.er1
8195 ac_status=$?
8196 grep -v '^ *+' conftest.er1 >conftest.err
8197 rm -f conftest.er1
8198 cat conftest.err >&5
8199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8200 (exit $ac_status); } &&
b56cb1ff 8201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8f838781 8202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8203 (eval $ac_try) 2>&5
8204 ac_status=$?
8205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8206 (exit $ac_status); }; } &&
8207 { ac_try='test -s conftest$ac_exeext'
8208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8209 (eval $ac_try) 2>&5
8210 ac_status=$?
8211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8212 (exit $ac_status); }; }; then
d213114b 8213 ac_cv_lib_m_acosh=yes
8f838781 8214else
8215 echo "$as_me: failed program was:" >&5
8216sed 's/^/| /' conftest.$ac_ext >&5
8217
d213114b 8218ac_cv_lib_m_acosh=no
8f838781 8219fi
8220rm -f conftest.err conftest.$ac_objext \
8221 conftest$ac_exeext conftest.$ac_ext
8222LIBS=$ac_check_lib_save_LIBS
8223fi
d213114b 8224echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
8225echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
8226if test $ac_cv_lib_m_acosh = yes; then
8f838781 8227
8228cat >>confdefs.h <<\_ACEOF
d213114b 8229#define HAVE_ACOSH 1
8f838781 8230_ACEOF
8231
8232fi
8233
d213114b 8234echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
8235echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
8236if test "${ac_cv_lib_m_acoshl+set}" = set; then
8f838781 8237 echo $ECHO_N "(cached) $ECHO_C" >&6
8238else
8239 ac_check_lib_save_LIBS=$LIBS
8240LIBS="-lm $LIBS"
b52ee437 8241if test x$gcc_no_link = xyes; then
8242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8243echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8244 { (exit 1); exit 1; }; }
8245fi
8f838781 8246cat >conftest.$ac_ext <<_ACEOF
8247/* confdefs.h. */
8248_ACEOF
8249cat confdefs.h >>conftest.$ac_ext
8250cat >>conftest.$ac_ext <<_ACEOF
8251/* end confdefs.h. */
8252
8253/* Override any gcc2 internal prototype to avoid an error. */
8254#ifdef __cplusplus
8255extern "C"
8256#endif
8257/* We use char because int might match the return type of a gcc2
8258 builtin and then its argument prototype would still apply. */
d213114b 8259char acoshl ();
8f838781 8260int
8261main ()
8262{
d213114b 8263acoshl ();
8f838781 8264 ;
8265 return 0;
8266}
8267_ACEOF
8268rm -f conftest.$ac_objext conftest$ac_exeext
8269if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8270 (eval $ac_link) 2>conftest.er1
8271 ac_status=$?
8272 grep -v '^ *+' conftest.er1 >conftest.err
8273 rm -f conftest.er1
8274 cat conftest.err >&5
8275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8276 (exit $ac_status); } &&
b56cb1ff 8277 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8f838781 8278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8279 (eval $ac_try) 2>&5
8280 ac_status=$?
8281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8282 (exit $ac_status); }; } &&
8283 { ac_try='test -s conftest$ac_exeext'
8284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8285 (eval $ac_try) 2>&5
8286 ac_status=$?
8287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8288 (exit $ac_status); }; }; then
d213114b 8289 ac_cv_lib_m_acoshl=yes
8f838781 8290else
8291 echo "$as_me: failed program was:" >&5
8292sed 's/^/| /' conftest.$ac_ext >&5
8293
d213114b 8294ac_cv_lib_m_acoshl=no
8f838781 8295fi
8296rm -f conftest.err conftest.$ac_objext \
8297 conftest$ac_exeext conftest.$ac_ext
8298LIBS=$ac_check_lib_save_LIBS
8299fi
d213114b 8300echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
8301echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
8302if test $ac_cv_lib_m_acoshl = yes; then
8f838781 8303
8304cat >>confdefs.h <<\_ACEOF
d213114b 8305#define HAVE_ACOSHL 1
8f838781 8306_ACEOF
8307
8308fi
8309
d213114b 8310echo "$as_me:$LINENO: checking for asinf in -lm" >&5
8311echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
8312if test "${ac_cv_lib_m_asinf+set}" = set; then
b52ee437 8313 echo $ECHO_N "(cached) $ECHO_C" >&6
8314else
8315 ac_check_lib_save_LIBS=$LIBS
8316LIBS="-lm $LIBS"
8317if test x$gcc_no_link = xyes; then
8318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8319echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8320 { (exit 1); exit 1; }; }
8321fi
8322cat >conftest.$ac_ext <<_ACEOF
8323/* confdefs.h. */
8324_ACEOF
8325cat confdefs.h >>conftest.$ac_ext
8326cat >>conftest.$ac_ext <<_ACEOF
8327/* end confdefs.h. */
8328
8329/* Override any gcc2 internal prototype to avoid an error. */
8330#ifdef __cplusplus
8331extern "C"
8332#endif
8333/* We use char because int might match the return type of a gcc2
8334 builtin and then its argument prototype would still apply. */
d213114b 8335char asinf ();
b52ee437 8336int
8337main ()
8338{
d213114b 8339asinf ();
b52ee437 8340 ;
8341 return 0;
8342}
8343_ACEOF
8344rm -f conftest.$ac_objext conftest$ac_exeext
8345if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8346 (eval $ac_link) 2>conftest.er1
8347 ac_status=$?
8348 grep -v '^ *+' conftest.er1 >conftest.err
8349 rm -f conftest.er1
8350 cat conftest.err >&5
8351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8352 (exit $ac_status); } &&
b56cb1ff 8353 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
b52ee437 8354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8355 (eval $ac_try) 2>&5
8356 ac_status=$?
8357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8358 (exit $ac_status); }; } &&
8359 { ac_try='test -s conftest$ac_exeext'
8360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8361 (eval $ac_try) 2>&5
8362 ac_status=$?
8363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8364 (exit $ac_status); }; }; then
d213114b 8365 ac_cv_lib_m_asinf=yes
b52ee437 8366else
8367 echo "$as_me: failed program was:" >&5
8368sed 's/^/| /' conftest.$ac_ext >&5
8369
d213114b 8370ac_cv_lib_m_asinf=no
b52ee437 8371fi
8372rm -f conftest.err conftest.$ac_objext \
8373 conftest$ac_exeext conftest.$ac_ext
8374LIBS=$ac_check_lib_save_LIBS
8375fi
d213114b 8376echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
8377echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
8378if test $ac_cv_lib_m_asinf = yes; then
b52ee437 8379
8380cat >>confdefs.h <<\_ACEOF
d213114b 8381#define HAVE_ASINF 1
b52ee437 8382_ACEOF
8383
8384fi
8385
d213114b 8386echo "$as_me:$LINENO: checking for asin in -lm" >&5
8387echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
8388if test "${ac_cv_lib_m_asin+set}" = set; then
8f838781 8389 echo $ECHO_N "(cached) $ECHO_C" >&6
8390else
8391 ac_check_lib_save_LIBS=$LIBS
8392LIBS="-lm $LIBS"
b52ee437 8393if test x$gcc_no_link = xyes; then
8394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8395echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8396 { (exit 1); exit 1; }; }
8397fi
8f838781 8398cat >conftest.$ac_ext <<_ACEOF
8399/* confdefs.h. */
8400_ACEOF
8401cat confdefs.h >>conftest.$ac_ext
8402cat >>conftest.$ac_ext <<_ACEOF
8403/* end confdefs.h. */
8404
8405/* Override any gcc2 internal prototype to avoid an error. */
8406#ifdef __cplusplus
8407extern "C"
8408#endif
8409/* We use char because int might match the return type of a gcc2
8410 builtin and then its argument prototype would still apply. */
d213114b 8411char asin ();
8f838781 8412int
8413main ()
8414{
d213114b 8415asin ();
8f838781 8416 ;
8417 return 0;
8418}
8419_ACEOF
8420rm -f conftest.$ac_objext conftest$ac_exeext
8421if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8422 (eval $ac_link) 2>conftest.er1
8423 ac_status=$?
8424 grep -v '^ *+' conftest.er1 >conftest.err
8425 rm -f conftest.er1
8426 cat conftest.err >&5
8427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8428 (exit $ac_status); } &&
b56cb1ff 8429 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8f838781 8430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8431 (eval $ac_try) 2>&5
8432 ac_status=$?
8433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8434 (exit $ac_status); }; } &&
8435 { ac_try='test -s conftest$ac_exeext'
8436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8437 (eval $ac_try) 2>&5
8438 ac_status=$?
8439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8440 (exit $ac_status); }; }; then
d213114b 8441 ac_cv_lib_m_asin=yes
8f838781 8442else
8443 echo "$as_me: failed program was:" >&5
8444sed 's/^/| /' conftest.$ac_ext >&5
8445
d213114b 8446ac_cv_lib_m_asin=no
8f838781 8447fi
8448rm -f conftest.err conftest.$ac_objext \
8449 conftest$ac_exeext conftest.$ac_ext
8450LIBS=$ac_check_lib_save_LIBS
8451fi
d213114b 8452echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
8453echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
8454if test $ac_cv_lib_m_asin = yes; then
8f838781 8455
8456cat >>confdefs.h <<\_ACEOF
d213114b 8457#define HAVE_ASIN 1
8f838781 8458_ACEOF
8459
8460fi
8461
d213114b 8462echo "$as_me:$LINENO: checking for asinl in -lm" >&5
8463echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
8464if test "${ac_cv_lib_m_asinl+set}" = set; then
8f838781 8465 echo $ECHO_N "(cached) $ECHO_C" >&6
8466else
8467 ac_check_lib_save_LIBS=$LIBS
8468LIBS="-lm $LIBS"
b52ee437 8469if test x$gcc_no_link = xyes; then
8470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8471echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8472 { (exit 1); exit 1; }; }
8473fi
8f838781 8474cat >conftest.$ac_ext <<_ACEOF
8475/* confdefs.h. */
8476_ACEOF
8477cat confdefs.h >>conftest.$ac_ext
8478cat >>conftest.$ac_ext <<_ACEOF
8479/* end confdefs.h. */
8480
8481/* Override any gcc2 internal prototype to avoid an error. */
8482#ifdef __cplusplus
8483extern "C"
8484#endif
8485/* We use char because int might match the return type of a gcc2
8486 builtin and then its argument prototype would still apply. */
d213114b 8487char asinl ();
8f838781 8488int
8489main ()
8490{
d213114b 8491asinl ();
8f838781 8492 ;
8493 return 0;
8494}
8495_ACEOF
8496rm -f conftest.$ac_objext conftest$ac_exeext
8497if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8498 (eval $ac_link) 2>conftest.er1
8499 ac_status=$?
8500 grep -v '^ *+' conftest.er1 >conftest.err
8501 rm -f conftest.er1
8502 cat conftest.err >&5
8503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8504 (exit $ac_status); } &&
b56cb1ff 8505 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8f838781 8506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8507 (eval $ac_try) 2>&5
8508 ac_status=$?
8509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8510 (exit $ac_status); }; } &&
8511 { ac_try='test -s conftest$ac_exeext'
8512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8513 (eval $ac_try) 2>&5
8514 ac_status=$?
8515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8516 (exit $ac_status); }; }; then
d213114b 8517 ac_cv_lib_m_asinl=yes
8f838781 8518else
8519 echo "$as_me: failed program was:" >&5
8520sed 's/^/| /' conftest.$ac_ext >&5
8521
d213114b 8522ac_cv_lib_m_asinl=no
8f838781 8523fi
8524rm -f conftest.err conftest.$ac_objext \
8525 conftest$ac_exeext conftest.$ac_ext
8526LIBS=$ac_check_lib_save_LIBS
8527fi
d213114b 8528echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
8529echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
8530if test $ac_cv_lib_m_asinl = yes; then
8f838781 8531
8532cat >>confdefs.h <<\_ACEOF
d213114b 8533#define HAVE_ASINL 1
8f838781 8534_ACEOF
8535
8536fi
8537
d213114b 8538echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
8539echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
8540if test "${ac_cv_lib_m_asinhf+set}" = set; then
8f838781 8541 echo $ECHO_N "(cached) $ECHO_C" >&6
8542else
8543 ac_check_lib_save_LIBS=$LIBS
8544LIBS="-lm $LIBS"
b52ee437 8545if test x$gcc_no_link = xyes; then
8546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8547echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8548 { (exit 1); exit 1; }; }
8549fi
8f838781 8550cat >conftest.$ac_ext <<_ACEOF
8551/* confdefs.h. */
8552_ACEOF
8553cat confdefs.h >>conftest.$ac_ext
8554cat >>conftest.$ac_ext <<_ACEOF
8555/* end confdefs.h. */
8556
8557/* Override any gcc2 internal prototype to avoid an error. */
8558#ifdef __cplusplus
8559extern "C"
8560#endif
8561/* We use char because int might match the return type of a gcc2
8562 builtin and then its argument prototype would still apply. */
d213114b 8563char asinhf ();
8f838781 8564int
8565main ()
8566{
d213114b 8567asinhf ();
8f838781 8568 ;
8569 return 0;
8570}
8571_ACEOF
8572rm -f conftest.$ac_objext conftest$ac_exeext
8573if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8574 (eval $ac_link) 2>conftest.er1
8575 ac_status=$?
8576 grep -v '^ *+' conftest.er1 >conftest.err
8577 rm -f conftest.er1
8578 cat conftest.err >&5
8579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8580 (exit $ac_status); } &&
b56cb1ff 8581 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8f838781 8582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8583 (eval $ac_try) 2>&5
8584 ac_status=$?
8585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586 (exit $ac_status); }; } &&
8587 { ac_try='test -s conftest$ac_exeext'
8588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8589 (eval $ac_try) 2>&5
8590 ac_status=$?
8591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8592 (exit $ac_status); }; }; then
d213114b 8593 ac_cv_lib_m_asinhf=yes
8f838781 8594else
8595 echo "$as_me: failed program was:" >&5
8596sed 's/^/| /' conftest.$ac_ext >&5
8597
d213114b 8598ac_cv_lib_m_asinhf=no
8f838781 8599fi
8600rm -f conftest.err conftest.$ac_objext \
8601 conftest$ac_exeext conftest.$ac_ext
8602LIBS=$ac_check_lib_save_LIBS
8603fi
d213114b 8604echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
8605echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
8606if test $ac_cv_lib_m_asinhf = yes; then
8f838781 8607
8608cat >>confdefs.h <<\_ACEOF
d213114b 8609#define HAVE_ASINHF 1
8f838781 8610_ACEOF
8611
8612fi
8613
d213114b 8614echo "$as_me:$LINENO: checking for asinh in -lm" >&5
8615echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
8616if test "${ac_cv_lib_m_asinh+set}" = set; then
8f838781 8617 echo $ECHO_N "(cached) $ECHO_C" >&6
8618else
8619 ac_check_lib_save_LIBS=$LIBS
8620LIBS="-lm $LIBS"
b52ee437 8621if test x$gcc_no_link = xyes; then
8622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8623echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8624 { (exit 1); exit 1; }; }
8625fi
8f838781 8626cat >conftest.$ac_ext <<_ACEOF
8627/* confdefs.h. */
8628_ACEOF
8629cat confdefs.h >>conftest.$ac_ext
8630cat >>conftest.$ac_ext <<_ACEOF
8631/* end confdefs.h. */
8632
8633/* Override any gcc2 internal prototype to avoid an error. */
8634#ifdef __cplusplus
8635extern "C"
8636#endif
8637/* We use char because int might match the return type of a gcc2
8638 builtin and then its argument prototype would still apply. */
d213114b 8639char asinh ();
8f838781 8640int
8641main ()
8642{
d213114b 8643asinh ();
8f838781 8644 ;
8645 return 0;
8646}
8647_ACEOF
8648rm -f conftest.$ac_objext conftest$ac_exeext
8649if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8650 (eval $ac_link) 2>conftest.er1
8651 ac_status=$?
8652 grep -v '^ *+' conftest.er1 >conftest.err
8653 rm -f conftest.er1
8654 cat conftest.err >&5
8655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8656 (exit $ac_status); } &&
b56cb1ff 8657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8f838781 8658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8659 (eval $ac_try) 2>&5
8660 ac_status=$?
8661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8662 (exit $ac_status); }; } &&
8663 { ac_try='test -s conftest$ac_exeext'
8664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8665 (eval $ac_try) 2>&5
8666 ac_status=$?
8667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 (exit $ac_status); }; }; then
d213114b 8669 ac_cv_lib_m_asinh=yes
8f838781 8670else
8671 echo "$as_me: failed program was:" >&5
8672sed 's/^/| /' conftest.$ac_ext >&5
8673
d213114b 8674ac_cv_lib_m_asinh=no
8f838781 8675fi
8676rm -f conftest.err conftest.$ac_objext \
8677 conftest$ac_exeext conftest.$ac_ext
8678LIBS=$ac_check_lib_save_LIBS
8679fi
d213114b 8680echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
8681echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
8682if test $ac_cv_lib_m_asinh = yes; then
8f838781 8683
8684cat >>confdefs.h <<\_ACEOF
d213114b 8685#define HAVE_ASINH 1
8f838781 8686_ACEOF
8687
8688fi
8689
d213114b 8690echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
8691echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
8692if test "${ac_cv_lib_m_asinhl+set}" = set; then
8f838781 8693 echo $ECHO_N "(cached) $ECHO_C" >&6
8694else
8695 ac_check_lib_save_LIBS=$LIBS
8696LIBS="-lm $LIBS"
b52ee437 8697if test x$gcc_no_link = xyes; then
8698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8699echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8700 { (exit 1); exit 1; }; }
8701fi
8f838781 8702cat >conftest.$ac_ext <<_ACEOF
8703/* confdefs.h. */
8704_ACEOF
8705cat confdefs.h >>conftest.$ac_ext
8706cat >>conftest.$ac_ext <<_ACEOF
8707/* end confdefs.h. */
8708
8709/* Override any gcc2 internal prototype to avoid an error. */
8710#ifdef __cplusplus
8711extern "C"
8712#endif
8713/* We use char because int might match the return type of a gcc2
8714 builtin and then its argument prototype would still apply. */
d213114b 8715char asinhl ();
8f838781 8716int
8717main ()
8718{
d213114b 8719asinhl ();
8f838781 8720 ;
8721 return 0;
8722}
8723_ACEOF
8724rm -f conftest.$ac_objext conftest$ac_exeext
8725if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8726 (eval $ac_link) 2>conftest.er1
8727 ac_status=$?
8728 grep -v '^ *+' conftest.er1 >conftest.err
8729 rm -f conftest.er1
8730 cat conftest.err >&5
8731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8732 (exit $ac_status); } &&
b56cb1ff 8733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8f838781 8734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8735 (eval $ac_try) 2>&5
8736 ac_status=$?
8737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8738 (exit $ac_status); }; } &&
8739 { ac_try='test -s conftest$ac_exeext'
8740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8741 (eval $ac_try) 2>&5
8742 ac_status=$?
8743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8744 (exit $ac_status); }; }; then
d213114b 8745 ac_cv_lib_m_asinhl=yes
8f838781 8746else
8747 echo "$as_me: failed program was:" >&5
8748sed 's/^/| /' conftest.$ac_ext >&5
8749
d213114b 8750ac_cv_lib_m_asinhl=no
8f838781 8751fi
8752rm -f conftest.err conftest.$ac_objext \
8753 conftest$ac_exeext conftest.$ac_ext
8754LIBS=$ac_check_lib_save_LIBS
8755fi
d213114b 8756echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
8757echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
8758if test $ac_cv_lib_m_asinhl = yes; then
8f838781 8759
8760cat >>confdefs.h <<\_ACEOF
d213114b 8761#define HAVE_ASINHL 1
8f838781 8762_ACEOF
8763
8764fi
8765
d213114b 8766echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
8767echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
8768if test "${ac_cv_lib_m_atan2f+set}" = set; then
334f03a1 8769 echo $ECHO_N "(cached) $ECHO_C" >&6
8770else
8771 ac_check_lib_save_LIBS=$LIBS
8772LIBS="-lm $LIBS"
b52ee437 8773if test x$gcc_no_link = xyes; then
8774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8775echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8776 { (exit 1); exit 1; }; }
8777fi
334f03a1 8778cat >conftest.$ac_ext <<_ACEOF
8779/* confdefs.h. */
8780_ACEOF
8781cat confdefs.h >>conftest.$ac_ext
8782cat >>conftest.$ac_ext <<_ACEOF
8783/* end confdefs.h. */
8784
8785/* Override any gcc2 internal prototype to avoid an error. */
8786#ifdef __cplusplus
8787extern "C"
8788#endif
8789/* We use char because int might match the return type of a gcc2
8790 builtin and then its argument prototype would still apply. */
d213114b 8791char atan2f ();
334f03a1 8792int
8793main ()
8794{
d213114b 8795atan2f ();
334f03a1 8796 ;
8797 return 0;
8798}
8799_ACEOF
8800rm -f conftest.$ac_objext conftest$ac_exeext
8801if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8802 (eval $ac_link) 2>conftest.er1
8803 ac_status=$?
8804 grep -v '^ *+' conftest.er1 >conftest.err
8805 rm -f conftest.er1
8806 cat conftest.err >&5
8807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8808 (exit $ac_status); } &&
b56cb1ff 8809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
334f03a1 8810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8811 (eval $ac_try) 2>&5
8812 ac_status=$?
8813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8814 (exit $ac_status); }; } &&
8815 { ac_try='test -s conftest$ac_exeext'
8816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8817 (eval $ac_try) 2>&5
8818 ac_status=$?
8819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8820 (exit $ac_status); }; }; then
d213114b 8821 ac_cv_lib_m_atan2f=yes
334f03a1 8822else
8823 echo "$as_me: failed program was:" >&5
8824sed 's/^/| /' conftest.$ac_ext >&5
8825
d213114b 8826ac_cv_lib_m_atan2f=no
334f03a1 8827fi
8828rm -f conftest.err conftest.$ac_objext \
8829 conftest$ac_exeext conftest.$ac_ext
8830LIBS=$ac_check_lib_save_LIBS
8831fi
d213114b 8832echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
8833echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
8834if test $ac_cv_lib_m_atan2f = yes; then
334f03a1 8835
8836cat >>confdefs.h <<\_ACEOF
d213114b 8837#define HAVE_ATAN2F 1
334f03a1 8838_ACEOF
8839
8840fi
8841
d213114b 8842echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
8843echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
8844if test "${ac_cv_lib_m_atan2+set}" = set; then
8f838781 8845 echo $ECHO_N "(cached) $ECHO_C" >&6
8846else
8847 ac_check_lib_save_LIBS=$LIBS
8848LIBS="-lm $LIBS"
b52ee437 8849if test x$gcc_no_link = xyes; then
8850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8851echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8852 { (exit 1); exit 1; }; }
8853fi
8f838781 8854cat >conftest.$ac_ext <<_ACEOF
8855/* confdefs.h. */
8856_ACEOF
8857cat confdefs.h >>conftest.$ac_ext
8858cat >>conftest.$ac_ext <<_ACEOF
8859/* end confdefs.h. */
8860
8861/* Override any gcc2 internal prototype to avoid an error. */
8862#ifdef __cplusplus
8863extern "C"
8864#endif
8865/* We use char because int might match the return type of a gcc2
8866 builtin and then its argument prototype would still apply. */
d213114b 8867char atan2 ();
8f838781 8868int
8869main ()
8870{
d213114b 8871atan2 ();
8f838781 8872 ;
8873 return 0;
8874}
8875_ACEOF
8876rm -f conftest.$ac_objext conftest$ac_exeext
8877if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8878 (eval $ac_link) 2>conftest.er1
8879 ac_status=$?
8880 grep -v '^ *+' conftest.er1 >conftest.err
8881 rm -f conftest.er1
8882 cat conftest.err >&5
8883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8884 (exit $ac_status); } &&
b56cb1ff 8885 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8f838781 8886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8887 (eval $ac_try) 2>&5
8888 ac_status=$?
8889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8890 (exit $ac_status); }; } &&
8891 { ac_try='test -s conftest$ac_exeext'
8892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8893 (eval $ac_try) 2>&5
8894 ac_status=$?
8895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8896 (exit $ac_status); }; }; then
d213114b 8897 ac_cv_lib_m_atan2=yes
8f838781 8898else
8899 echo "$as_me: failed program was:" >&5
8900sed 's/^/| /' conftest.$ac_ext >&5
8901
d213114b 8902ac_cv_lib_m_atan2=no
8f838781 8903fi
8904rm -f conftest.err conftest.$ac_objext \
8905 conftest$ac_exeext conftest.$ac_ext
8906LIBS=$ac_check_lib_save_LIBS
8907fi
d213114b 8908echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
8909echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
8910if test $ac_cv_lib_m_atan2 = yes; then
8f838781 8911
8912cat >>confdefs.h <<\_ACEOF
d213114b 8913#define HAVE_ATAN2 1
8f838781 8914_ACEOF
8915
8916fi
8917
d213114b 8918echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
8919echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
8920if test "${ac_cv_lib_m_atan2l+set}" = set; then
8f838781 8921 echo $ECHO_N "(cached) $ECHO_C" >&6
8922else
8923 ac_check_lib_save_LIBS=$LIBS
8924LIBS="-lm $LIBS"
b52ee437 8925if test x$gcc_no_link = xyes; then
8926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8927echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8928 { (exit 1); exit 1; }; }
8929fi
8f838781 8930cat >conftest.$ac_ext <<_ACEOF
8931/* confdefs.h. */
8932_ACEOF
8933cat confdefs.h >>conftest.$ac_ext
8934cat >>conftest.$ac_ext <<_ACEOF
8935/* end confdefs.h. */
8936
8937/* Override any gcc2 internal prototype to avoid an error. */
8938#ifdef __cplusplus
8939extern "C"
8940#endif
8941/* We use char because int might match the return type of a gcc2
8942 builtin and then its argument prototype would still apply. */
d213114b 8943char atan2l ();
8f838781 8944int
8945main ()
8946{
d213114b 8947atan2l ();
8f838781 8948 ;
8949 return 0;
8950}
8951_ACEOF
8952rm -f conftest.$ac_objext conftest$ac_exeext
8953if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8954 (eval $ac_link) 2>conftest.er1
8955 ac_status=$?
8956 grep -v '^ *+' conftest.er1 >conftest.err
8957 rm -f conftest.er1
8958 cat conftest.err >&5
8959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8960 (exit $ac_status); } &&
b56cb1ff 8961 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8f838781 8962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8963 (eval $ac_try) 2>&5
8964 ac_status=$?
8965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8966 (exit $ac_status); }; } &&
8967 { ac_try='test -s conftest$ac_exeext'
8968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8969 (eval $ac_try) 2>&5
8970 ac_status=$?
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 (exit $ac_status); }; }; then
d213114b 8973 ac_cv_lib_m_atan2l=yes
8f838781 8974else
8975 echo "$as_me: failed program was:" >&5
8976sed 's/^/| /' conftest.$ac_ext >&5
8977
d213114b 8978ac_cv_lib_m_atan2l=no
8f838781 8979fi
8980rm -f conftest.err conftest.$ac_objext \
8981 conftest$ac_exeext conftest.$ac_ext
8982LIBS=$ac_check_lib_save_LIBS
8983fi
d213114b 8984echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
8985echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
8986if test $ac_cv_lib_m_atan2l = yes; then
8f838781 8987
8988cat >>confdefs.h <<\_ACEOF
d213114b 8989#define HAVE_ATAN2L 1
8f838781 8990_ACEOF
8991
8992fi
8993
d213114b 8994echo "$as_me:$LINENO: checking for atanf in -lm" >&5
8995echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
8996if test "${ac_cv_lib_m_atanf+set}" = set; then
8f838781 8997 echo $ECHO_N "(cached) $ECHO_C" >&6
8998else
8999 ac_check_lib_save_LIBS=$LIBS
9000LIBS="-lm $LIBS"
b52ee437 9001if test x$gcc_no_link = xyes; then
9002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9003echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9004 { (exit 1); exit 1; }; }
9005fi
8f838781 9006cat >conftest.$ac_ext <<_ACEOF
9007/* confdefs.h. */
9008_ACEOF
9009cat confdefs.h >>conftest.$ac_ext
9010cat >>conftest.$ac_ext <<_ACEOF
9011/* end confdefs.h. */
9012
9013/* Override any gcc2 internal prototype to avoid an error. */
9014#ifdef __cplusplus
9015extern "C"
9016#endif
9017/* We use char because int might match the return type of a gcc2
9018 builtin and then its argument prototype would still apply. */
d213114b 9019char atanf ();
8f838781 9020int
9021main ()
9022{
d213114b 9023atanf ();
8f838781 9024 ;
9025 return 0;
9026}
9027_ACEOF
9028rm -f conftest.$ac_objext conftest$ac_exeext
9029if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9030 (eval $ac_link) 2>conftest.er1
9031 ac_status=$?
9032 grep -v '^ *+' conftest.er1 >conftest.err
9033 rm -f conftest.er1
9034 cat conftest.err >&5
9035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9036 (exit $ac_status); } &&
b56cb1ff 9037 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8f838781 9038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9039 (eval $ac_try) 2>&5
9040 ac_status=$?
9041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9042 (exit $ac_status); }; } &&
9043 { ac_try='test -s conftest$ac_exeext'
9044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9045 (eval $ac_try) 2>&5
9046 ac_status=$?
9047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9048 (exit $ac_status); }; }; then
d213114b 9049 ac_cv_lib_m_atanf=yes
8f838781 9050else
9051 echo "$as_me: failed program was:" >&5
9052sed 's/^/| /' conftest.$ac_ext >&5
9053
d213114b 9054ac_cv_lib_m_atanf=no
8f838781 9055fi
9056rm -f conftest.err conftest.$ac_objext \
9057 conftest$ac_exeext conftest.$ac_ext
9058LIBS=$ac_check_lib_save_LIBS
9059fi
d213114b 9060echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
9061echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
9062if test $ac_cv_lib_m_atanf = yes; then
8f838781 9063
9064cat >>confdefs.h <<\_ACEOF
d213114b 9065#define HAVE_ATANF 1
8f838781 9066_ACEOF
9067
9068fi
9069
d213114b 9070echo "$as_me:$LINENO: checking for atan in -lm" >&5
9071echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
9072if test "${ac_cv_lib_m_atan+set}" = set; then
8f838781 9073 echo $ECHO_N "(cached) $ECHO_C" >&6
9074else
9075 ac_check_lib_save_LIBS=$LIBS
9076LIBS="-lm $LIBS"
b52ee437 9077if test x$gcc_no_link = xyes; then
9078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9079echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9080 { (exit 1); exit 1; }; }
9081fi
8f838781 9082cat >conftest.$ac_ext <<_ACEOF
9083/* confdefs.h. */
9084_ACEOF
9085cat confdefs.h >>conftest.$ac_ext
9086cat >>conftest.$ac_ext <<_ACEOF
9087/* end confdefs.h. */
9088
9089/* Override any gcc2 internal prototype to avoid an error. */
9090#ifdef __cplusplus
9091extern "C"
9092#endif
9093/* We use char because int might match the return type of a gcc2
9094 builtin and then its argument prototype would still apply. */
d213114b 9095char atan ();
8f838781 9096int
9097main ()
9098{
d213114b 9099atan ();
8f838781 9100 ;
9101 return 0;
9102}
9103_ACEOF
9104rm -f conftest.$ac_objext conftest$ac_exeext
9105if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9106 (eval $ac_link) 2>conftest.er1
9107 ac_status=$?
9108 grep -v '^ *+' conftest.er1 >conftest.err
9109 rm -f conftest.er1
9110 cat conftest.err >&5
9111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9112 (exit $ac_status); } &&
b56cb1ff 9113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8f838781 9114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9115 (eval $ac_try) 2>&5
9116 ac_status=$?
9117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9118 (exit $ac_status); }; } &&
9119 { ac_try='test -s conftest$ac_exeext'
9120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9121 (eval $ac_try) 2>&5
9122 ac_status=$?
9123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9124 (exit $ac_status); }; }; then
d213114b 9125 ac_cv_lib_m_atan=yes
8f838781 9126else
9127 echo "$as_me: failed program was:" >&5
9128sed 's/^/| /' conftest.$ac_ext >&5
9129
d213114b 9130ac_cv_lib_m_atan=no
8f838781 9131fi
9132rm -f conftest.err conftest.$ac_objext \
9133 conftest$ac_exeext conftest.$ac_ext
9134LIBS=$ac_check_lib_save_LIBS
9135fi
d213114b 9136echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
9137echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
9138if test $ac_cv_lib_m_atan = yes; then
8f838781 9139
9140cat >>confdefs.h <<\_ACEOF
d213114b 9141#define HAVE_ATAN 1
8f838781 9142_ACEOF
9143
9144fi
9145
d213114b 9146echo "$as_me:$LINENO: checking for atanl in -lm" >&5
9147echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
9148if test "${ac_cv_lib_m_atanl+set}" = set; then
8f838781 9149 echo $ECHO_N "(cached) $ECHO_C" >&6
9150else
9151 ac_check_lib_save_LIBS=$LIBS
9152LIBS="-lm $LIBS"
b52ee437 9153if test x$gcc_no_link = xyes; then
9154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9155echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9156 { (exit 1); exit 1; }; }
9157fi
8f838781 9158cat >conftest.$ac_ext <<_ACEOF
9159/* confdefs.h. */
9160_ACEOF
9161cat confdefs.h >>conftest.$ac_ext
9162cat >>conftest.$ac_ext <<_ACEOF
9163/* end confdefs.h. */
9164
9165/* Override any gcc2 internal prototype to avoid an error. */
9166#ifdef __cplusplus
9167extern "C"
9168#endif
9169/* We use char because int might match the return type of a gcc2
9170 builtin and then its argument prototype would still apply. */
d213114b 9171char atanl ();
8f838781 9172int
9173main ()
9174{
d213114b 9175atanl ();
8f838781 9176 ;
9177 return 0;
9178}
9179_ACEOF
9180rm -f conftest.$ac_objext conftest$ac_exeext
9181if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9182 (eval $ac_link) 2>conftest.er1
9183 ac_status=$?
9184 grep -v '^ *+' conftest.er1 >conftest.err
9185 rm -f conftest.er1
9186 cat conftest.err >&5
9187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9188 (exit $ac_status); } &&
b56cb1ff 9189 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8f838781 9190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9191 (eval $ac_try) 2>&5
9192 ac_status=$?
9193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9194 (exit $ac_status); }; } &&
9195 { ac_try='test -s conftest$ac_exeext'
9196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9197 (eval $ac_try) 2>&5
9198 ac_status=$?
9199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9200 (exit $ac_status); }; }; then
d213114b 9201 ac_cv_lib_m_atanl=yes
8f838781 9202else
9203 echo "$as_me: failed program was:" >&5
9204sed 's/^/| /' conftest.$ac_ext >&5
9205
d213114b 9206ac_cv_lib_m_atanl=no
8f838781 9207fi
9208rm -f conftest.err conftest.$ac_objext \
9209 conftest$ac_exeext conftest.$ac_ext
9210LIBS=$ac_check_lib_save_LIBS
9211fi
d213114b 9212echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
9213echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
9214if test $ac_cv_lib_m_atanl = yes; then
8f838781 9215
9216cat >>confdefs.h <<\_ACEOF
d213114b 9217#define HAVE_ATANL 1
8f838781 9218_ACEOF
9219
9220fi
9221
d213114b 9222echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
9223echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
9224if test "${ac_cv_lib_m_atanhf+set}" = set; then
14c3c235 9225 echo $ECHO_N "(cached) $ECHO_C" >&6
9226else
9227 ac_check_lib_save_LIBS=$LIBS
9228LIBS="-lm $LIBS"
b52ee437 9229if test x$gcc_no_link = xyes; then
9230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9231echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9232 { (exit 1); exit 1; }; }
9233fi
14c3c235 9234cat >conftest.$ac_ext <<_ACEOF
9235/* confdefs.h. */
9236_ACEOF
9237cat confdefs.h >>conftest.$ac_ext
9238cat >>conftest.$ac_ext <<_ACEOF
9239/* end confdefs.h. */
9240
9241/* Override any gcc2 internal prototype to avoid an error. */
9242#ifdef __cplusplus
9243extern "C"
9244#endif
9245/* We use char because int might match the return type of a gcc2
9246 builtin and then its argument prototype would still apply. */
d213114b 9247char atanhf ();
14c3c235 9248int
9249main ()
9250{
d213114b 9251atanhf ();
14c3c235 9252 ;
9253 return 0;
9254}
9255_ACEOF
9256rm -f conftest.$ac_objext conftest$ac_exeext
9257if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9258 (eval $ac_link) 2>conftest.er1
9259 ac_status=$?
9260 grep -v '^ *+' conftest.er1 >conftest.err
9261 rm -f conftest.er1
9262 cat conftest.err >&5
9263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9264 (exit $ac_status); } &&
b56cb1ff 9265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14c3c235 9266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9267 (eval $ac_try) 2>&5
9268 ac_status=$?
9269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9270 (exit $ac_status); }; } &&
9271 { ac_try='test -s conftest$ac_exeext'
9272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9273 (eval $ac_try) 2>&5
9274 ac_status=$?
9275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9276 (exit $ac_status); }; }; then
d213114b 9277 ac_cv_lib_m_atanhf=yes
14c3c235 9278else
9279 echo "$as_me: failed program was:" >&5
9280sed 's/^/| /' conftest.$ac_ext >&5
9281
d213114b 9282ac_cv_lib_m_atanhf=no
14c3c235 9283fi
9284rm -f conftest.err conftest.$ac_objext \
9285 conftest$ac_exeext conftest.$ac_ext
9286LIBS=$ac_check_lib_save_LIBS
9287fi
d213114b 9288echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
9289echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
9290if test $ac_cv_lib_m_atanhf = yes; then
14c3c235 9291
9292cat >>confdefs.h <<\_ACEOF
d213114b 9293#define HAVE_ATANHF 1
14c3c235 9294_ACEOF
9295
9296fi
9297
d213114b 9298echo "$as_me:$LINENO: checking for atanh in -lm" >&5
9299echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
9300if test "${ac_cv_lib_m_atanh+set}" = set; then
8f838781 9301 echo $ECHO_N "(cached) $ECHO_C" >&6
9302else
9303 ac_check_lib_save_LIBS=$LIBS
9304LIBS="-lm $LIBS"
b52ee437 9305if test x$gcc_no_link = xyes; then
9306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9307echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9308 { (exit 1); exit 1; }; }
9309fi
8f838781 9310cat >conftest.$ac_ext <<_ACEOF
9311/* confdefs.h. */
9312_ACEOF
9313cat confdefs.h >>conftest.$ac_ext
9314cat >>conftest.$ac_ext <<_ACEOF
9315/* end confdefs.h. */
9316
9317/* Override any gcc2 internal prototype to avoid an error. */
9318#ifdef __cplusplus
9319extern "C"
9320#endif
9321/* We use char because int might match the return type of a gcc2
9322 builtin and then its argument prototype would still apply. */
d213114b 9323char atanh ();
8f838781 9324int
9325main ()
9326{
d213114b 9327atanh ();
8f838781 9328 ;
9329 return 0;
9330}
9331_ACEOF
9332rm -f conftest.$ac_objext conftest$ac_exeext
9333if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9334 (eval $ac_link) 2>conftest.er1
9335 ac_status=$?
9336 grep -v '^ *+' conftest.er1 >conftest.err
9337 rm -f conftest.er1
9338 cat conftest.err >&5
9339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9340 (exit $ac_status); } &&
b56cb1ff 9341 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8f838781 9342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9343 (eval $ac_try) 2>&5
9344 ac_status=$?
9345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9346 (exit $ac_status); }; } &&
9347 { ac_try='test -s conftest$ac_exeext'
9348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9349 (eval $ac_try) 2>&5
9350 ac_status=$?
9351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9352 (exit $ac_status); }; }; then
d213114b 9353 ac_cv_lib_m_atanh=yes
8f838781 9354else
9355 echo "$as_me: failed program was:" >&5
9356sed 's/^/| /' conftest.$ac_ext >&5
9357
d213114b 9358ac_cv_lib_m_atanh=no
8f838781 9359fi
9360rm -f conftest.err conftest.$ac_objext \
9361 conftest$ac_exeext conftest.$ac_ext
9362LIBS=$ac_check_lib_save_LIBS
9363fi
d213114b 9364echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
9365echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
9366if test $ac_cv_lib_m_atanh = yes; then
8f838781 9367
9368cat >>confdefs.h <<\_ACEOF
d213114b 9369#define HAVE_ATANH 1
8f838781 9370_ACEOF
9371
9372fi
9373
d213114b 9374echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
9375echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
9376if test "${ac_cv_lib_m_atanhl+set}" = set; then
8f838781 9377 echo $ECHO_N "(cached) $ECHO_C" >&6
9378else
9379 ac_check_lib_save_LIBS=$LIBS
9380LIBS="-lm $LIBS"
b52ee437 9381if test x$gcc_no_link = xyes; then
9382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9383echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9384 { (exit 1); exit 1; }; }
9385fi
8f838781 9386cat >conftest.$ac_ext <<_ACEOF
9387/* confdefs.h. */
9388_ACEOF
9389cat confdefs.h >>conftest.$ac_ext
9390cat >>conftest.$ac_ext <<_ACEOF
9391/* end confdefs.h. */
9392
9393/* Override any gcc2 internal prototype to avoid an error. */
9394#ifdef __cplusplus
9395extern "C"
9396#endif
9397/* We use char because int might match the return type of a gcc2
9398 builtin and then its argument prototype would still apply. */
d213114b 9399char atanhl ();
8f838781 9400int
9401main ()
9402{
d213114b 9403atanhl ();
8f838781 9404 ;
9405 return 0;
9406}
9407_ACEOF
9408rm -f conftest.$ac_objext conftest$ac_exeext
9409if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9410 (eval $ac_link) 2>conftest.er1
9411 ac_status=$?
9412 grep -v '^ *+' conftest.er1 >conftest.err
9413 rm -f conftest.er1
9414 cat conftest.err >&5
9415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9416 (exit $ac_status); } &&
b56cb1ff 9417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8f838781 9418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9419 (eval $ac_try) 2>&5
9420 ac_status=$?
9421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9422 (exit $ac_status); }; } &&
9423 { ac_try='test -s conftest$ac_exeext'
9424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9425 (eval $ac_try) 2>&5
9426 ac_status=$?
9427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9428 (exit $ac_status); }; }; then
d213114b 9429 ac_cv_lib_m_atanhl=yes
8f838781 9430else
9431 echo "$as_me: failed program was:" >&5
9432sed 's/^/| /' conftest.$ac_ext >&5
9433
d213114b 9434ac_cv_lib_m_atanhl=no
8f838781 9435fi
9436rm -f conftest.err conftest.$ac_objext \
9437 conftest$ac_exeext conftest.$ac_ext
9438LIBS=$ac_check_lib_save_LIBS
9439fi
d213114b 9440echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
9441echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
9442if test $ac_cv_lib_m_atanhl = yes; then
8f838781 9443
9444cat >>confdefs.h <<\_ACEOF
d213114b 9445#define HAVE_ATANHL 1
8f838781 9446_ACEOF
9447
9448fi
9449
d213114b 9450echo "$as_me:$LINENO: checking for cargf in -lm" >&5
9451echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
9452if test "${ac_cv_lib_m_cargf+set}" = set; then
a2d7a3ff 9453 echo $ECHO_N "(cached) $ECHO_C" >&6
9454else
9455 ac_check_lib_save_LIBS=$LIBS
9456LIBS="-lm $LIBS"
b52ee437 9457if test x$gcc_no_link = xyes; then
9458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9459echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9460 { (exit 1); exit 1; }; }
9461fi
a2d7a3ff 9462cat >conftest.$ac_ext <<_ACEOF
9463/* confdefs.h. */
9464_ACEOF
9465cat confdefs.h >>conftest.$ac_ext
9466cat >>conftest.$ac_ext <<_ACEOF
9467/* end confdefs.h. */
9468
9469/* Override any gcc2 internal prototype to avoid an error. */
9470#ifdef __cplusplus
9471extern "C"
9472#endif
9473/* We use char because int might match the return type of a gcc2
9474 builtin and then its argument prototype would still apply. */
d213114b 9475char cargf ();
a2d7a3ff 9476int
9477main ()
9478{
d213114b 9479cargf ();
a2d7a3ff 9480 ;
9481 return 0;
9482}
9483_ACEOF
9484rm -f conftest.$ac_objext conftest$ac_exeext
9485if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9486 (eval $ac_link) 2>conftest.er1
9487 ac_status=$?
9488 grep -v '^ *+' conftest.er1 >conftest.err
9489 rm -f conftest.er1
9490 cat conftest.err >&5
9491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9492 (exit $ac_status); } &&
b56cb1ff 9493 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
a2d7a3ff 9494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9495 (eval $ac_try) 2>&5
9496 ac_status=$?
9497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9498 (exit $ac_status); }; } &&
9499 { ac_try='test -s conftest$ac_exeext'
9500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9501 (eval $ac_try) 2>&5
9502 ac_status=$?
9503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9504 (exit $ac_status); }; }; then
d213114b 9505 ac_cv_lib_m_cargf=yes
a2d7a3ff 9506else
9507 echo "$as_me: failed program was:" >&5
9508sed 's/^/| /' conftest.$ac_ext >&5
9509
d213114b 9510ac_cv_lib_m_cargf=no
a2d7a3ff 9511fi
9512rm -f conftest.err conftest.$ac_objext \
9513 conftest$ac_exeext conftest.$ac_ext
9514LIBS=$ac_check_lib_save_LIBS
9515fi
d213114b 9516echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
9517echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
9518if test $ac_cv_lib_m_cargf = yes; then
a2d7a3ff 9519
9520cat >>confdefs.h <<\_ACEOF
d213114b 9521#define HAVE_CARGF 1
a2d7a3ff 9522_ACEOF
9523
9524fi
9525
d213114b 9526echo "$as_me:$LINENO: checking for carg in -lm" >&5
9527echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
9528if test "${ac_cv_lib_m_carg+set}" = set; then
a31bd8a4 9529 echo $ECHO_N "(cached) $ECHO_C" >&6
9530else
9531 ac_check_lib_save_LIBS=$LIBS
9532LIBS="-lm $LIBS"
b52ee437 9533if test x$gcc_no_link = xyes; then
9534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9535echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9536 { (exit 1); exit 1; }; }
9537fi
a31bd8a4 9538cat >conftest.$ac_ext <<_ACEOF
9539/* confdefs.h. */
9540_ACEOF
9541cat confdefs.h >>conftest.$ac_ext
9542cat >>conftest.$ac_ext <<_ACEOF
9543/* end confdefs.h. */
9544
9545/* Override any gcc2 internal prototype to avoid an error. */
9546#ifdef __cplusplus
9547extern "C"
9548#endif
9549/* We use char because int might match the return type of a gcc2
9550 builtin and then its argument prototype would still apply. */
d213114b 9551char carg ();
8f838781 9552int
9553main ()
9554{
d213114b 9555carg ();
8f838781 9556 ;
9557 return 0;
9558}
9559_ACEOF
9560rm -f conftest.$ac_objext conftest$ac_exeext
9561if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9562 (eval $ac_link) 2>conftest.er1
9563 ac_status=$?
9564 grep -v '^ *+' conftest.er1 >conftest.err
9565 rm -f conftest.er1
9566 cat conftest.err >&5
9567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9568 (exit $ac_status); } &&
b56cb1ff 9569 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8f838781 9570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9571 (eval $ac_try) 2>&5
9572 ac_status=$?
9573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9574 (exit $ac_status); }; } &&
9575 { ac_try='test -s conftest$ac_exeext'
9576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9577 (eval $ac_try) 2>&5
9578 ac_status=$?
9579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9580 (exit $ac_status); }; }; then
d213114b 9581 ac_cv_lib_m_carg=yes
8f838781 9582else
9583 echo "$as_me: failed program was:" >&5
9584sed 's/^/| /' conftest.$ac_ext >&5
9585
d213114b 9586ac_cv_lib_m_carg=no
8f838781 9587fi
9588rm -f conftest.err conftest.$ac_objext \
9589 conftest$ac_exeext conftest.$ac_ext
9590LIBS=$ac_check_lib_save_LIBS
9591fi
d213114b 9592echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
9593echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
9594if test $ac_cv_lib_m_carg = yes; then
8f838781 9595
9596cat >>confdefs.h <<\_ACEOF
d213114b 9597#define HAVE_CARG 1
8f838781 9598_ACEOF
9599
9600fi
9601
d213114b 9602echo "$as_me:$LINENO: checking for cargl in -lm" >&5
9603echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
9604if test "${ac_cv_lib_m_cargl+set}" = set; then
8f838781 9605 echo $ECHO_N "(cached) $ECHO_C" >&6
9606else
9607 ac_check_lib_save_LIBS=$LIBS
9608LIBS="-lm $LIBS"
b52ee437 9609if test x$gcc_no_link = xyes; then
9610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9611echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9612 { (exit 1); exit 1; }; }
9613fi
8f838781 9614cat >conftest.$ac_ext <<_ACEOF
9615/* confdefs.h. */
9616_ACEOF
9617cat confdefs.h >>conftest.$ac_ext
9618cat >>conftest.$ac_ext <<_ACEOF
9619/* end confdefs.h. */
9620
9621/* Override any gcc2 internal prototype to avoid an error. */
9622#ifdef __cplusplus
9623extern "C"
9624#endif
9625/* We use char because int might match the return type of a gcc2
9626 builtin and then its argument prototype would still apply. */
d213114b 9627char cargl ();
a31bd8a4 9628int
9629main ()
9630{
d213114b 9631cargl ();
a31bd8a4 9632 ;
9633 return 0;
9634}
9635_ACEOF
9636rm -f conftest.$ac_objext conftest$ac_exeext
9637if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9638 (eval $ac_link) 2>conftest.er1
9639 ac_status=$?
9640 grep -v '^ *+' conftest.er1 >conftest.err
9641 rm -f conftest.er1
9642 cat conftest.err >&5
9643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9644 (exit $ac_status); } &&
b56cb1ff 9645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
a31bd8a4 9646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9647 (eval $ac_try) 2>&5
9648 ac_status=$?
9649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9650 (exit $ac_status); }; } &&
9651 { ac_try='test -s conftest$ac_exeext'
9652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9653 (eval $ac_try) 2>&5
9654 ac_status=$?
9655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9656 (exit $ac_status); }; }; then
d213114b 9657 ac_cv_lib_m_cargl=yes
a31bd8a4 9658else
9659 echo "$as_me: failed program was:" >&5
9660sed 's/^/| /' conftest.$ac_ext >&5
9661
d213114b 9662ac_cv_lib_m_cargl=no
a31bd8a4 9663fi
9664rm -f conftest.err conftest.$ac_objext \
9665 conftest$ac_exeext conftest.$ac_ext
9666LIBS=$ac_check_lib_save_LIBS
9667fi
d213114b 9668echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
9669echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
9670if test $ac_cv_lib_m_cargl = yes; then
a31bd8a4 9671
9672cat >>confdefs.h <<\_ACEOF
d213114b 9673#define HAVE_CARGL 1
a31bd8a4 9674_ACEOF
9675
9676fi
9677
d213114b 9678echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
9679echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
9680if test "${ac_cv_lib_m_ceilf+set}" = set; then
a31bd8a4 9681 echo $ECHO_N "(cached) $ECHO_C" >&6
9682else
9683 ac_check_lib_save_LIBS=$LIBS
9684LIBS="-lm $LIBS"
b52ee437 9685if test x$gcc_no_link = xyes; then
9686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9687echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9688 { (exit 1); exit 1; }; }
9689fi
a31bd8a4 9690cat >conftest.$ac_ext <<_ACEOF
9691/* confdefs.h. */
9692_ACEOF
9693cat confdefs.h >>conftest.$ac_ext
9694cat >>conftest.$ac_ext <<_ACEOF
9695/* end confdefs.h. */
9696
9697/* Override any gcc2 internal prototype to avoid an error. */
9698#ifdef __cplusplus
9699extern "C"
9700#endif
9701/* We use char because int might match the return type of a gcc2
9702 builtin and then its argument prototype would still apply. */
d213114b 9703char ceilf ();
a31bd8a4 9704int
9705main ()
9706{
d213114b 9707ceilf ();
a31bd8a4 9708 ;
9709 return 0;
9710}
9711_ACEOF
9712rm -f conftest.$ac_objext conftest$ac_exeext
9713if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9714 (eval $ac_link) 2>conftest.er1
9715 ac_status=$?
9716 grep -v '^ *+' conftest.er1 >conftest.err
9717 rm -f conftest.er1
9718 cat conftest.err >&5
9719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9720 (exit $ac_status); } &&
b56cb1ff 9721 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
a31bd8a4 9722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9723 (eval $ac_try) 2>&5
9724 ac_status=$?
9725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9726 (exit $ac_status); }; } &&
9727 { ac_try='test -s conftest$ac_exeext'
9728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9729 (eval $ac_try) 2>&5
9730 ac_status=$?
9731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9732 (exit $ac_status); }; }; then
d213114b 9733 ac_cv_lib_m_ceilf=yes
a31bd8a4 9734else
9735 echo "$as_me: failed program was:" >&5
9736sed 's/^/| /' conftest.$ac_ext >&5
9737
d213114b 9738ac_cv_lib_m_ceilf=no
a31bd8a4 9739fi
9740rm -f conftest.err conftest.$ac_objext \
9741 conftest$ac_exeext conftest.$ac_ext
9742LIBS=$ac_check_lib_save_LIBS
9743fi
d213114b 9744echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
9745echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
9746if test $ac_cv_lib_m_ceilf = yes; then
a31bd8a4 9747
9748cat >>confdefs.h <<\_ACEOF
d213114b 9749#define HAVE_CEILF 1
a31bd8a4 9750_ACEOF
9751
9752fi
9753
d213114b 9754echo "$as_me:$LINENO: checking for ceil in -lm" >&5
9755echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
9756if test "${ac_cv_lib_m_ceil+set}" = set; then
97844b15 9757 echo $ECHO_N "(cached) $ECHO_C" >&6
9758else
9759 ac_check_lib_save_LIBS=$LIBS
9760LIBS="-lm $LIBS"
b52ee437 9761if test x$gcc_no_link = xyes; then
9762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9763echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9764 { (exit 1); exit 1; }; }
9765fi
97844b15 9766cat >conftest.$ac_ext <<_ACEOF
9767/* confdefs.h. */
9768_ACEOF
9769cat confdefs.h >>conftest.$ac_ext
9770cat >>conftest.$ac_ext <<_ACEOF
9771/* end confdefs.h. */
9772
9773/* Override any gcc2 internal prototype to avoid an error. */
9774#ifdef __cplusplus
9775extern "C"
9776#endif
9777/* We use char because int might match the return type of a gcc2
9778 builtin and then its argument prototype would still apply. */
d213114b 9779char ceil ();
97844b15 9780int
9781main ()
9782{
d213114b 9783ceil ();
97844b15 9784 ;
9785 return 0;
9786}
9787_ACEOF
9788rm -f conftest.$ac_objext conftest$ac_exeext
9789if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9790 (eval $ac_link) 2>conftest.er1
9791 ac_status=$?
9792 grep -v '^ *+' conftest.er1 >conftest.err
9793 rm -f conftest.er1
9794 cat conftest.err >&5
9795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9796 (exit $ac_status); } &&
b56cb1ff 9797 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
97844b15 9798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9799 (eval $ac_try) 2>&5
9800 ac_status=$?
9801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9802 (exit $ac_status); }; } &&
9803 { ac_try='test -s conftest$ac_exeext'
9804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9805 (eval $ac_try) 2>&5
9806 ac_status=$?
9807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9808 (exit $ac_status); }; }; then
d213114b 9809 ac_cv_lib_m_ceil=yes
97844b15 9810else
9811 echo "$as_me: failed program was:" >&5
9812sed 's/^/| /' conftest.$ac_ext >&5
9813
d213114b 9814ac_cv_lib_m_ceil=no
97844b15 9815fi
9816rm -f conftest.err conftest.$ac_objext \
9817 conftest$ac_exeext conftest.$ac_ext
9818LIBS=$ac_check_lib_save_LIBS
9819fi
d213114b 9820echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
9821echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
9822if test $ac_cv_lib_m_ceil = yes; then
97844b15 9823
9824cat >>confdefs.h <<\_ACEOF
d213114b 9825#define HAVE_CEIL 1
97844b15 9826_ACEOF
9827
9828fi
9829
d213114b 9830echo "$as_me:$LINENO: checking for ceill in -lm" >&5
9831echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
9832if test "${ac_cv_lib_m_ceill+set}" = set; then
4db2deda 9833 echo $ECHO_N "(cached) $ECHO_C" >&6
9834else
9835 ac_check_lib_save_LIBS=$LIBS
9836LIBS="-lm $LIBS"
b52ee437 9837if test x$gcc_no_link = xyes; then
9838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9839echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9840 { (exit 1); exit 1; }; }
9841fi
4db2deda 9842cat >conftest.$ac_ext <<_ACEOF
9843/* confdefs.h. */
9844_ACEOF
9845cat confdefs.h >>conftest.$ac_ext
9846cat >>conftest.$ac_ext <<_ACEOF
9847/* end confdefs.h. */
9848
9849/* Override any gcc2 internal prototype to avoid an error. */
9850#ifdef __cplusplus
9851extern "C"
9852#endif
9853/* We use char because int might match the return type of a gcc2
9854 builtin and then its argument prototype would still apply. */
d213114b 9855char ceill ();
4db2deda 9856int
9857main ()
9858{
d213114b 9859ceill ();
4db2deda 9860 ;
9861 return 0;
9862}
9863_ACEOF
9864rm -f conftest.$ac_objext conftest$ac_exeext
9865if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9866 (eval $ac_link) 2>conftest.er1
9867 ac_status=$?
9868 grep -v '^ *+' conftest.er1 >conftest.err
9869 rm -f conftest.er1
9870 cat conftest.err >&5
9871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9872 (exit $ac_status); } &&
b56cb1ff 9873 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4db2deda 9874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9875 (eval $ac_try) 2>&5
9876 ac_status=$?
9877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9878 (exit $ac_status); }; } &&
9879 { ac_try='test -s conftest$ac_exeext'
9880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9881 (eval $ac_try) 2>&5
9882 ac_status=$?
9883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9884 (exit $ac_status); }; }; then
d213114b 9885 ac_cv_lib_m_ceill=yes
4db2deda 9886else
9887 echo "$as_me: failed program was:" >&5
9888sed 's/^/| /' conftest.$ac_ext >&5
9889
d213114b 9890ac_cv_lib_m_ceill=no
4db2deda 9891fi
9892rm -f conftest.err conftest.$ac_objext \
9893 conftest$ac_exeext conftest.$ac_ext
9894LIBS=$ac_check_lib_save_LIBS
9895fi
d213114b 9896echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
9897echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
9898if test $ac_cv_lib_m_ceill = yes; then
4db2deda 9899
9900cat >>confdefs.h <<\_ACEOF
d213114b 9901#define HAVE_CEILL 1
4db2deda 9902_ACEOF
9903
9904fi
9905
d213114b 9906echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
9907echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
9908if test "${ac_cv_lib_m_copysignf+set}" = set; then
4db2deda 9909 echo $ECHO_N "(cached) $ECHO_C" >&6
9910else
9911 ac_check_lib_save_LIBS=$LIBS
9912LIBS="-lm $LIBS"
b52ee437 9913if test x$gcc_no_link = xyes; then
9914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9915echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9916 { (exit 1); exit 1; }; }
9917fi
4db2deda 9918cat >conftest.$ac_ext <<_ACEOF
9919/* confdefs.h. */
9920_ACEOF
9921cat confdefs.h >>conftest.$ac_ext
9922cat >>conftest.$ac_ext <<_ACEOF
9923/* end confdefs.h. */
9924
9925/* Override any gcc2 internal prototype to avoid an error. */
9926#ifdef __cplusplus
9927extern "C"
9928#endif
9929/* We use char because int might match the return type of a gcc2
9930 builtin and then its argument prototype would still apply. */
d213114b 9931char copysignf ();
4db2deda 9932int
9933main ()
9934{
d213114b 9935copysignf ();
4db2deda 9936 ;
9937 return 0;
9938}
9939_ACEOF
9940rm -f conftest.$ac_objext conftest$ac_exeext
9941if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9942 (eval $ac_link) 2>conftest.er1
9943 ac_status=$?
9944 grep -v '^ *+' conftest.er1 >conftest.err
9945 rm -f conftest.er1
9946 cat conftest.err >&5
9947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9948 (exit $ac_status); } &&
b56cb1ff 9949 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4db2deda 9950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9951 (eval $ac_try) 2>&5
9952 ac_status=$?
9953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9954 (exit $ac_status); }; } &&
9955 { ac_try='test -s conftest$ac_exeext'
9956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9957 (eval $ac_try) 2>&5
9958 ac_status=$?
9959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9960 (exit $ac_status); }; }; then
d213114b 9961 ac_cv_lib_m_copysignf=yes
4db2deda 9962else
9963 echo "$as_me: failed program was:" >&5
9964sed 's/^/| /' conftest.$ac_ext >&5
9965
d213114b 9966ac_cv_lib_m_copysignf=no
4db2deda 9967fi
9968rm -f conftest.err conftest.$ac_objext \
9969 conftest$ac_exeext conftest.$ac_ext
9970LIBS=$ac_check_lib_save_LIBS
9971fi
d213114b 9972echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
9973echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
9974if test $ac_cv_lib_m_copysignf = yes; then
4db2deda 9975
9976cat >>confdefs.h <<\_ACEOF
d213114b 9977#define HAVE_COPYSIGNF 1
8f838781 9978_ACEOF
9979
9980fi
9981
d213114b 9982echo "$as_me:$LINENO: checking for copysign in -lm" >&5
9983echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
9984if test "${ac_cv_lib_m_copysign+set}" = set; then
8f838781 9985 echo $ECHO_N "(cached) $ECHO_C" >&6
9986else
9987 ac_check_lib_save_LIBS=$LIBS
9988LIBS="-lm $LIBS"
b52ee437 9989if test x$gcc_no_link = xyes; then
9990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9991echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9992 { (exit 1); exit 1; }; }
9993fi
8f838781 9994cat >conftest.$ac_ext <<_ACEOF
9995/* confdefs.h. */
9996_ACEOF
9997cat confdefs.h >>conftest.$ac_ext
9998cat >>conftest.$ac_ext <<_ACEOF
9999/* end confdefs.h. */
10000
10001/* Override any gcc2 internal prototype to avoid an error. */
10002#ifdef __cplusplus
10003extern "C"
10004#endif
10005/* We use char because int might match the return type of a gcc2
10006 builtin and then its argument prototype would still apply. */
d213114b 10007char copysign ();
8f838781 10008int
10009main ()
10010{
d213114b 10011copysign ();
8f838781 10012 ;
10013 return 0;
10014}
10015_ACEOF
10016rm -f conftest.$ac_objext conftest$ac_exeext
10017if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10018 (eval $ac_link) 2>conftest.er1
10019 ac_status=$?
10020 grep -v '^ *+' conftest.er1 >conftest.err
10021 rm -f conftest.er1
10022 cat conftest.err >&5
10023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10024 (exit $ac_status); } &&
b56cb1ff 10025 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8f838781 10026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10027 (eval $ac_try) 2>&5
10028 ac_status=$?
10029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10030 (exit $ac_status); }; } &&
10031 { ac_try='test -s conftest$ac_exeext'
10032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10033 (eval $ac_try) 2>&5
10034 ac_status=$?
10035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10036 (exit $ac_status); }; }; then
d213114b 10037 ac_cv_lib_m_copysign=yes
8f838781 10038else
10039 echo "$as_me: failed program was:" >&5
10040sed 's/^/| /' conftest.$ac_ext >&5
10041
d213114b 10042ac_cv_lib_m_copysign=no
8f838781 10043fi
10044rm -f conftest.err conftest.$ac_objext \
10045 conftest$ac_exeext conftest.$ac_ext
10046LIBS=$ac_check_lib_save_LIBS
10047fi
d213114b 10048echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
10049echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
10050if test $ac_cv_lib_m_copysign = yes; then
8f838781 10051
10052cat >>confdefs.h <<\_ACEOF
d213114b 10053#define HAVE_COPYSIGN 1
8f838781 10054_ACEOF
10055
10056fi
10057
d213114b 10058echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
10059echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
10060if test "${ac_cv_lib_m_copysignl+set}" = set; then
8f838781 10061 echo $ECHO_N "(cached) $ECHO_C" >&6
10062else
10063 ac_check_lib_save_LIBS=$LIBS
10064LIBS="-lm $LIBS"
b52ee437 10065if test x$gcc_no_link = xyes; then
10066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10067echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10068 { (exit 1); exit 1; }; }
10069fi
8f838781 10070cat >conftest.$ac_ext <<_ACEOF
10071/* confdefs.h. */
10072_ACEOF
10073cat confdefs.h >>conftest.$ac_ext
10074cat >>conftest.$ac_ext <<_ACEOF
10075/* end confdefs.h. */
10076
10077/* Override any gcc2 internal prototype to avoid an error. */
10078#ifdef __cplusplus
10079extern "C"
10080#endif
10081/* We use char because int might match the return type of a gcc2
10082 builtin and then its argument prototype would still apply. */
d213114b 10083char copysignl ();
8f838781 10084int
10085main ()
10086{
d213114b 10087copysignl ();
8f838781 10088 ;
10089 return 0;
10090}
10091_ACEOF
10092rm -f conftest.$ac_objext conftest$ac_exeext
10093if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10094 (eval $ac_link) 2>conftest.er1
10095 ac_status=$?
10096 grep -v '^ *+' conftest.er1 >conftest.err
10097 rm -f conftest.er1
10098 cat conftest.err >&5
10099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100 (exit $ac_status); } &&
b56cb1ff 10101 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8f838781 10102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10103 (eval $ac_try) 2>&5
10104 ac_status=$?
10105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10106 (exit $ac_status); }; } &&
10107 { ac_try='test -s conftest$ac_exeext'
10108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10109 (eval $ac_try) 2>&5
10110 ac_status=$?
10111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112 (exit $ac_status); }; }; then
d213114b 10113 ac_cv_lib_m_copysignl=yes
8f838781 10114else
10115 echo "$as_me: failed program was:" >&5
10116sed 's/^/| /' conftest.$ac_ext >&5
10117
d213114b 10118ac_cv_lib_m_copysignl=no
8f838781 10119fi
10120rm -f conftest.err conftest.$ac_objext \
10121 conftest$ac_exeext conftest.$ac_ext
10122LIBS=$ac_check_lib_save_LIBS
10123fi
d213114b 10124echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
10125echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
10126if test $ac_cv_lib_m_copysignl = yes; then
8f838781 10127
10128cat >>confdefs.h <<\_ACEOF
d213114b 10129#define HAVE_COPYSIGNL 1
8f838781 10130_ACEOF
10131
10132fi
10133
d213114b 10134echo "$as_me:$LINENO: checking for cosf in -lm" >&5
10135echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
10136if test "${ac_cv_lib_m_cosf+set}" = set; then
8f838781 10137 echo $ECHO_N "(cached) $ECHO_C" >&6
10138else
10139 ac_check_lib_save_LIBS=$LIBS
10140LIBS="-lm $LIBS"
b52ee437 10141if test x$gcc_no_link = xyes; then
10142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10143echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10144 { (exit 1); exit 1; }; }
10145fi
8f838781 10146cat >conftest.$ac_ext <<_ACEOF
10147/* confdefs.h. */
10148_ACEOF
10149cat confdefs.h >>conftest.$ac_ext
10150cat >>conftest.$ac_ext <<_ACEOF
10151/* end confdefs.h. */
10152
10153/* Override any gcc2 internal prototype to avoid an error. */
10154#ifdef __cplusplus
10155extern "C"
10156#endif
10157/* We use char because int might match the return type of a gcc2
10158 builtin and then its argument prototype would still apply. */
d213114b 10159char cosf ();
8f838781 10160int
10161main ()
10162{
d213114b 10163cosf ();
8f838781 10164 ;
10165 return 0;
10166}
10167_ACEOF
10168rm -f conftest.$ac_objext conftest$ac_exeext
10169if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10170 (eval $ac_link) 2>conftest.er1
10171 ac_status=$?
10172 grep -v '^ *+' conftest.er1 >conftest.err
10173 rm -f conftest.er1
10174 cat conftest.err >&5
10175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10176 (exit $ac_status); } &&
b56cb1ff 10177 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8f838781 10178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10179 (eval $ac_try) 2>&5
10180 ac_status=$?
10181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10182 (exit $ac_status); }; } &&
10183 { ac_try='test -s conftest$ac_exeext'
10184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10185 (eval $ac_try) 2>&5
10186 ac_status=$?
10187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10188 (exit $ac_status); }; }; then
d213114b 10189 ac_cv_lib_m_cosf=yes
8f838781 10190else
10191 echo "$as_me: failed program was:" >&5
10192sed 's/^/| /' conftest.$ac_ext >&5
10193
d213114b 10194ac_cv_lib_m_cosf=no
8f838781 10195fi
10196rm -f conftest.err conftest.$ac_objext \
10197 conftest$ac_exeext conftest.$ac_ext
10198LIBS=$ac_check_lib_save_LIBS
10199fi
d213114b 10200echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
10201echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
10202if test $ac_cv_lib_m_cosf = yes; then
8f838781 10203
10204cat >>confdefs.h <<\_ACEOF
d213114b 10205#define HAVE_COSF 1
4db2deda 10206_ACEOF
10207
10208fi
10209
d213114b 10210echo "$as_me:$LINENO: checking for cos in -lm" >&5
10211echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
10212if test "${ac_cv_lib_m_cos+set}" = set; then
50f0ca0a 10213 echo $ECHO_N "(cached) $ECHO_C" >&6
10214else
10215 ac_check_lib_save_LIBS=$LIBS
10216LIBS="-lm $LIBS"
b52ee437 10217if test x$gcc_no_link = xyes; then
10218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10219echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10220 { (exit 1); exit 1; }; }
10221fi
50f0ca0a 10222cat >conftest.$ac_ext <<_ACEOF
10223/* confdefs.h. */
10224_ACEOF
10225cat confdefs.h >>conftest.$ac_ext
10226cat >>conftest.$ac_ext <<_ACEOF
10227/* end confdefs.h. */
10228
10229/* Override any gcc2 internal prototype to avoid an error. */
10230#ifdef __cplusplus
10231extern "C"
10232#endif
10233/* We use char because int might match the return type of a gcc2
10234 builtin and then its argument prototype would still apply. */
d213114b 10235char cos ();
50f0ca0a 10236int
10237main ()
10238{
d213114b 10239cos ();
50f0ca0a 10240 ;
10241 return 0;
10242}
10243_ACEOF
10244rm -f conftest.$ac_objext conftest$ac_exeext
10245if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10246 (eval $ac_link) 2>conftest.er1
10247 ac_status=$?
10248 grep -v '^ *+' conftest.er1 >conftest.err
10249 rm -f conftest.er1
10250 cat conftest.err >&5
10251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10252 (exit $ac_status); } &&
b56cb1ff 10253 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50f0ca0a 10254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10255 (eval $ac_try) 2>&5
10256 ac_status=$?
10257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10258 (exit $ac_status); }; } &&
10259 { ac_try='test -s conftest$ac_exeext'
10260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10261 (eval $ac_try) 2>&5
10262 ac_status=$?
10263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10264 (exit $ac_status); }; }; then
d213114b 10265 ac_cv_lib_m_cos=yes
50f0ca0a 10266else
10267 echo "$as_me: failed program was:" >&5
10268sed 's/^/| /' conftest.$ac_ext >&5
10269
d213114b 10270ac_cv_lib_m_cos=no
50f0ca0a 10271fi
10272rm -f conftest.err conftest.$ac_objext \
10273 conftest$ac_exeext conftest.$ac_ext
10274LIBS=$ac_check_lib_save_LIBS
10275fi
d213114b 10276echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
10277echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
10278if test $ac_cv_lib_m_cos = yes; then
50f0ca0a 10279
10280cat >>confdefs.h <<\_ACEOF
d213114b 10281#define HAVE_COS 1
10282_ACEOF
10283
10284fi
10285
10286echo "$as_me:$LINENO: checking for cosl in -lm" >&5
10287echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
10288if test "${ac_cv_lib_m_cosl+set}" = set; then
10289 echo $ECHO_N "(cached) $ECHO_C" >&6
10290else
10291 ac_check_lib_save_LIBS=$LIBS
10292LIBS="-lm $LIBS"
10293if test x$gcc_no_link = xyes; then
10294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10295echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10296 { (exit 1); exit 1; }; }
10297fi
10298cat >conftest.$ac_ext <<_ACEOF
10299/* confdefs.h. */
10300_ACEOF
10301cat confdefs.h >>conftest.$ac_ext
10302cat >>conftest.$ac_ext <<_ACEOF
10303/* end confdefs.h. */
10304
10305/* Override any gcc2 internal prototype to avoid an error. */
10306#ifdef __cplusplus
10307extern "C"
10308#endif
10309/* We use char because int might match the return type of a gcc2
10310 builtin and then its argument prototype would still apply. */
10311char cosl ();
10312int
10313main ()
10314{
10315cosl ();
10316 ;
10317 return 0;
10318}
10319_ACEOF
10320rm -f conftest.$ac_objext conftest$ac_exeext
10321if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10322 (eval $ac_link) 2>conftest.er1
10323 ac_status=$?
10324 grep -v '^ *+' conftest.er1 >conftest.err
10325 rm -f conftest.er1
10326 cat conftest.err >&5
10327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10328 (exit $ac_status); } &&
b56cb1ff 10329 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 10330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10331 (eval $ac_try) 2>&5
10332 ac_status=$?
10333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10334 (exit $ac_status); }; } &&
10335 { ac_try='test -s conftest$ac_exeext'
10336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10337 (eval $ac_try) 2>&5
10338 ac_status=$?
10339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340 (exit $ac_status); }; }; then
10341 ac_cv_lib_m_cosl=yes
10342else
10343 echo "$as_me: failed program was:" >&5
10344sed 's/^/| /' conftest.$ac_ext >&5
10345
10346ac_cv_lib_m_cosl=no
10347fi
10348rm -f conftest.err conftest.$ac_objext \
10349 conftest$ac_exeext conftest.$ac_ext
10350LIBS=$ac_check_lib_save_LIBS
10351fi
10352echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
10353echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
10354if test $ac_cv_lib_m_cosl = yes; then
10355
10356cat >>confdefs.h <<\_ACEOF
10357#define HAVE_COSL 1
10358_ACEOF
10359
10360fi
10361
10362echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
10363echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
10364if test "${ac_cv_lib_m_ccosf+set}" = set; then
10365 echo $ECHO_N "(cached) $ECHO_C" >&6
10366else
10367 ac_check_lib_save_LIBS=$LIBS
10368LIBS="-lm $LIBS"
10369if test x$gcc_no_link = xyes; then
10370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10371echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10372 { (exit 1); exit 1; }; }
10373fi
10374cat >conftest.$ac_ext <<_ACEOF
10375/* confdefs.h. */
10376_ACEOF
10377cat confdefs.h >>conftest.$ac_ext
10378cat >>conftest.$ac_ext <<_ACEOF
10379/* end confdefs.h. */
10380
10381/* Override any gcc2 internal prototype to avoid an error. */
10382#ifdef __cplusplus
10383extern "C"
10384#endif
10385/* We use char because int might match the return type of a gcc2
10386 builtin and then its argument prototype would still apply. */
10387char ccosf ();
10388int
10389main ()
10390{
10391ccosf ();
10392 ;
10393 return 0;
10394}
10395_ACEOF
10396rm -f conftest.$ac_objext conftest$ac_exeext
10397if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10398 (eval $ac_link) 2>conftest.er1
10399 ac_status=$?
10400 grep -v '^ *+' conftest.er1 >conftest.err
10401 rm -f conftest.er1
10402 cat conftest.err >&5
10403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10404 (exit $ac_status); } &&
b56cb1ff 10405 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 10406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10407 (eval $ac_try) 2>&5
10408 ac_status=$?
10409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410 (exit $ac_status); }; } &&
10411 { ac_try='test -s conftest$ac_exeext'
10412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10413 (eval $ac_try) 2>&5
10414 ac_status=$?
10415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10416 (exit $ac_status); }; }; then
10417 ac_cv_lib_m_ccosf=yes
10418else
10419 echo "$as_me: failed program was:" >&5
10420sed 's/^/| /' conftest.$ac_ext >&5
10421
10422ac_cv_lib_m_ccosf=no
10423fi
10424rm -f conftest.err conftest.$ac_objext \
10425 conftest$ac_exeext conftest.$ac_ext
10426LIBS=$ac_check_lib_save_LIBS
10427fi
10428echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
10429echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
10430if test $ac_cv_lib_m_ccosf = yes; then
10431
10432cat >>confdefs.h <<\_ACEOF
10433#define HAVE_CCOSF 1
10434_ACEOF
10435
10436fi
10437
10438echo "$as_me:$LINENO: checking for ccos in -lm" >&5
10439echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
10440if test "${ac_cv_lib_m_ccos+set}" = set; then
10441 echo $ECHO_N "(cached) $ECHO_C" >&6
10442else
10443 ac_check_lib_save_LIBS=$LIBS
10444LIBS="-lm $LIBS"
10445if test x$gcc_no_link = xyes; then
10446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10447echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10448 { (exit 1); exit 1; }; }
10449fi
10450cat >conftest.$ac_ext <<_ACEOF
10451/* confdefs.h. */
10452_ACEOF
10453cat confdefs.h >>conftest.$ac_ext
10454cat >>conftest.$ac_ext <<_ACEOF
10455/* end confdefs.h. */
10456
10457/* Override any gcc2 internal prototype to avoid an error. */
10458#ifdef __cplusplus
10459extern "C"
10460#endif
10461/* We use char because int might match the return type of a gcc2
10462 builtin and then its argument prototype would still apply. */
10463char ccos ();
10464int
10465main ()
10466{
10467ccos ();
10468 ;
10469 return 0;
10470}
10471_ACEOF
10472rm -f conftest.$ac_objext conftest$ac_exeext
10473if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10474 (eval $ac_link) 2>conftest.er1
10475 ac_status=$?
10476 grep -v '^ *+' conftest.er1 >conftest.err
10477 rm -f conftest.er1
10478 cat conftest.err >&5
10479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10480 (exit $ac_status); } &&
b56cb1ff 10481 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 10482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10483 (eval $ac_try) 2>&5
10484 ac_status=$?
10485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10486 (exit $ac_status); }; } &&
10487 { ac_try='test -s conftest$ac_exeext'
10488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10489 (eval $ac_try) 2>&5
10490 ac_status=$?
10491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10492 (exit $ac_status); }; }; then
10493 ac_cv_lib_m_ccos=yes
10494else
10495 echo "$as_me: failed program was:" >&5
10496sed 's/^/| /' conftest.$ac_ext >&5
10497
10498ac_cv_lib_m_ccos=no
10499fi
10500rm -f conftest.err conftest.$ac_objext \
10501 conftest$ac_exeext conftest.$ac_ext
10502LIBS=$ac_check_lib_save_LIBS
10503fi
10504echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
10505echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
10506if test $ac_cv_lib_m_ccos = yes; then
10507
10508cat >>confdefs.h <<\_ACEOF
10509#define HAVE_CCOS 1
10510_ACEOF
10511
10512fi
10513
10514echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
10515echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
10516if test "${ac_cv_lib_m_ccosl+set}" = set; then
10517 echo $ECHO_N "(cached) $ECHO_C" >&6
10518else
10519 ac_check_lib_save_LIBS=$LIBS
10520LIBS="-lm $LIBS"
10521if test x$gcc_no_link = xyes; then
10522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10523echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10524 { (exit 1); exit 1; }; }
10525fi
10526cat >conftest.$ac_ext <<_ACEOF
10527/* confdefs.h. */
10528_ACEOF
10529cat confdefs.h >>conftest.$ac_ext
10530cat >>conftest.$ac_ext <<_ACEOF
10531/* end confdefs.h. */
10532
10533/* Override any gcc2 internal prototype to avoid an error. */
10534#ifdef __cplusplus
10535extern "C"
10536#endif
10537/* We use char because int might match the return type of a gcc2
10538 builtin and then its argument prototype would still apply. */
10539char ccosl ();
10540int
10541main ()
10542{
10543ccosl ();
10544 ;
10545 return 0;
10546}
10547_ACEOF
10548rm -f conftest.$ac_objext conftest$ac_exeext
10549if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10550 (eval $ac_link) 2>conftest.er1
10551 ac_status=$?
10552 grep -v '^ *+' conftest.er1 >conftest.err
10553 rm -f conftest.er1
10554 cat conftest.err >&5
10555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10556 (exit $ac_status); } &&
b56cb1ff 10557 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 10558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10559 (eval $ac_try) 2>&5
10560 ac_status=$?
10561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562 (exit $ac_status); }; } &&
10563 { ac_try='test -s conftest$ac_exeext'
10564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10565 (eval $ac_try) 2>&5
10566 ac_status=$?
10567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10568 (exit $ac_status); }; }; then
10569 ac_cv_lib_m_ccosl=yes
10570else
10571 echo "$as_me: failed program was:" >&5
10572sed 's/^/| /' conftest.$ac_ext >&5
10573
10574ac_cv_lib_m_ccosl=no
10575fi
10576rm -f conftest.err conftest.$ac_objext \
10577 conftest$ac_exeext conftest.$ac_ext
10578LIBS=$ac_check_lib_save_LIBS
10579fi
10580echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
10581echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
10582if test $ac_cv_lib_m_ccosl = yes; then
10583
10584cat >>confdefs.h <<\_ACEOF
10585#define HAVE_CCOSL 1
10586_ACEOF
10587
10588fi
10589
10590echo "$as_me:$LINENO: checking for coshf in -lm" >&5
10591echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
10592if test "${ac_cv_lib_m_coshf+set}" = set; then
10593 echo $ECHO_N "(cached) $ECHO_C" >&6
10594else
10595 ac_check_lib_save_LIBS=$LIBS
10596LIBS="-lm $LIBS"
10597if test x$gcc_no_link = xyes; then
10598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10599echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10600 { (exit 1); exit 1; }; }
10601fi
10602cat >conftest.$ac_ext <<_ACEOF
10603/* confdefs.h. */
10604_ACEOF
10605cat confdefs.h >>conftest.$ac_ext
10606cat >>conftest.$ac_ext <<_ACEOF
10607/* end confdefs.h. */
10608
10609/* Override any gcc2 internal prototype to avoid an error. */
10610#ifdef __cplusplus
10611extern "C"
10612#endif
10613/* We use char because int might match the return type of a gcc2
10614 builtin and then its argument prototype would still apply. */
10615char coshf ();
10616int
10617main ()
10618{
10619coshf ();
10620 ;
10621 return 0;
10622}
10623_ACEOF
10624rm -f conftest.$ac_objext conftest$ac_exeext
10625if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10626 (eval $ac_link) 2>conftest.er1
10627 ac_status=$?
10628 grep -v '^ *+' conftest.er1 >conftest.err
10629 rm -f conftest.er1
10630 cat conftest.err >&5
10631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10632 (exit $ac_status); } &&
b56cb1ff 10633 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 10634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10635 (eval $ac_try) 2>&5
10636 ac_status=$?
10637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10638 (exit $ac_status); }; } &&
10639 { ac_try='test -s conftest$ac_exeext'
10640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10641 (eval $ac_try) 2>&5
10642 ac_status=$?
10643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644 (exit $ac_status); }; }; then
10645 ac_cv_lib_m_coshf=yes
10646else
10647 echo "$as_me: failed program was:" >&5
10648sed 's/^/| /' conftest.$ac_ext >&5
10649
10650ac_cv_lib_m_coshf=no
10651fi
10652rm -f conftest.err conftest.$ac_objext \
10653 conftest$ac_exeext conftest.$ac_ext
10654LIBS=$ac_check_lib_save_LIBS
10655fi
10656echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
10657echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
10658if test $ac_cv_lib_m_coshf = yes; then
10659
10660cat >>confdefs.h <<\_ACEOF
10661#define HAVE_COSHF 1
10662_ACEOF
10663
10664fi
10665
10666echo "$as_me:$LINENO: checking for cosh in -lm" >&5
10667echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
10668if test "${ac_cv_lib_m_cosh+set}" = set; then
10669 echo $ECHO_N "(cached) $ECHO_C" >&6
10670else
10671 ac_check_lib_save_LIBS=$LIBS
10672LIBS="-lm $LIBS"
10673if test x$gcc_no_link = xyes; then
10674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10675echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10676 { (exit 1); exit 1; }; }
10677fi
10678cat >conftest.$ac_ext <<_ACEOF
10679/* confdefs.h. */
10680_ACEOF
10681cat confdefs.h >>conftest.$ac_ext
10682cat >>conftest.$ac_ext <<_ACEOF
10683/* end confdefs.h. */
10684
10685/* Override any gcc2 internal prototype to avoid an error. */
10686#ifdef __cplusplus
10687extern "C"
10688#endif
10689/* We use char because int might match the return type of a gcc2
10690 builtin and then its argument prototype would still apply. */
10691char cosh ();
10692int
10693main ()
10694{
10695cosh ();
10696 ;
10697 return 0;
10698}
10699_ACEOF
10700rm -f conftest.$ac_objext conftest$ac_exeext
10701if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10702 (eval $ac_link) 2>conftest.er1
10703 ac_status=$?
10704 grep -v '^ *+' conftest.er1 >conftest.err
10705 rm -f conftest.er1
10706 cat conftest.err >&5
10707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10708 (exit $ac_status); } &&
b56cb1ff 10709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 10710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10711 (eval $ac_try) 2>&5
10712 ac_status=$?
10713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10714 (exit $ac_status); }; } &&
10715 { ac_try='test -s conftest$ac_exeext'
10716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10717 (eval $ac_try) 2>&5
10718 ac_status=$?
10719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10720 (exit $ac_status); }; }; then
10721 ac_cv_lib_m_cosh=yes
10722else
10723 echo "$as_me: failed program was:" >&5
10724sed 's/^/| /' conftest.$ac_ext >&5
10725
10726ac_cv_lib_m_cosh=no
10727fi
10728rm -f conftest.err conftest.$ac_objext \
10729 conftest$ac_exeext conftest.$ac_ext
10730LIBS=$ac_check_lib_save_LIBS
10731fi
10732echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
10733echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
10734if test $ac_cv_lib_m_cosh = yes; then
10735
10736cat >>confdefs.h <<\_ACEOF
10737#define HAVE_COSH 1
10738_ACEOF
10739
10740fi
10741
10742echo "$as_me:$LINENO: checking for coshl in -lm" >&5
10743echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
10744if test "${ac_cv_lib_m_coshl+set}" = set; then
10745 echo $ECHO_N "(cached) $ECHO_C" >&6
10746else
10747 ac_check_lib_save_LIBS=$LIBS
10748LIBS="-lm $LIBS"
10749if test x$gcc_no_link = xyes; then
10750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10751echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10752 { (exit 1); exit 1; }; }
10753fi
10754cat >conftest.$ac_ext <<_ACEOF
10755/* confdefs.h. */
10756_ACEOF
10757cat confdefs.h >>conftest.$ac_ext
10758cat >>conftest.$ac_ext <<_ACEOF
10759/* end confdefs.h. */
10760
10761/* Override any gcc2 internal prototype to avoid an error. */
10762#ifdef __cplusplus
10763extern "C"
10764#endif
10765/* We use char because int might match the return type of a gcc2
10766 builtin and then its argument prototype would still apply. */
10767char coshl ();
10768int
10769main ()
10770{
10771coshl ();
10772 ;
10773 return 0;
10774}
10775_ACEOF
10776rm -f conftest.$ac_objext conftest$ac_exeext
10777if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10778 (eval $ac_link) 2>conftest.er1
10779 ac_status=$?
10780 grep -v '^ *+' conftest.er1 >conftest.err
10781 rm -f conftest.er1
10782 cat conftest.err >&5
10783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784 (exit $ac_status); } &&
b56cb1ff 10785 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 10786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10787 (eval $ac_try) 2>&5
10788 ac_status=$?
10789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10790 (exit $ac_status); }; } &&
10791 { ac_try='test -s conftest$ac_exeext'
10792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10793 (eval $ac_try) 2>&5
10794 ac_status=$?
10795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10796 (exit $ac_status); }; }; then
10797 ac_cv_lib_m_coshl=yes
10798else
10799 echo "$as_me: failed program was:" >&5
10800sed 's/^/| /' conftest.$ac_ext >&5
10801
10802ac_cv_lib_m_coshl=no
10803fi
10804rm -f conftest.err conftest.$ac_objext \
10805 conftest$ac_exeext conftest.$ac_ext
10806LIBS=$ac_check_lib_save_LIBS
10807fi
10808echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
10809echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
10810if test $ac_cv_lib_m_coshl = yes; then
10811
10812cat >>confdefs.h <<\_ACEOF
10813#define HAVE_COSHL 1
10814_ACEOF
10815
10816fi
10817
10818echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
10819echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
10820if test "${ac_cv_lib_m_ccoshf+set}" = set; then
10821 echo $ECHO_N "(cached) $ECHO_C" >&6
10822else
10823 ac_check_lib_save_LIBS=$LIBS
10824LIBS="-lm $LIBS"
10825if test x$gcc_no_link = xyes; then
10826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10827echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10828 { (exit 1); exit 1; }; }
10829fi
10830cat >conftest.$ac_ext <<_ACEOF
10831/* confdefs.h. */
10832_ACEOF
10833cat confdefs.h >>conftest.$ac_ext
10834cat >>conftest.$ac_ext <<_ACEOF
10835/* end confdefs.h. */
10836
10837/* Override any gcc2 internal prototype to avoid an error. */
10838#ifdef __cplusplus
10839extern "C"
10840#endif
10841/* We use char because int might match the return type of a gcc2
10842 builtin and then its argument prototype would still apply. */
10843char ccoshf ();
10844int
10845main ()
10846{
10847ccoshf ();
10848 ;
10849 return 0;
10850}
10851_ACEOF
10852rm -f conftest.$ac_objext conftest$ac_exeext
10853if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10854 (eval $ac_link) 2>conftest.er1
10855 ac_status=$?
10856 grep -v '^ *+' conftest.er1 >conftest.err
10857 rm -f conftest.er1
10858 cat conftest.err >&5
10859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860 (exit $ac_status); } &&
b56cb1ff 10861 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 10862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10863 (eval $ac_try) 2>&5
10864 ac_status=$?
10865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10866 (exit $ac_status); }; } &&
10867 { ac_try='test -s conftest$ac_exeext'
10868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10869 (eval $ac_try) 2>&5
10870 ac_status=$?
10871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10872 (exit $ac_status); }; }; then
10873 ac_cv_lib_m_ccoshf=yes
10874else
10875 echo "$as_me: failed program was:" >&5
10876sed 's/^/| /' conftest.$ac_ext >&5
10877
10878ac_cv_lib_m_ccoshf=no
10879fi
10880rm -f conftest.err conftest.$ac_objext \
10881 conftest$ac_exeext conftest.$ac_ext
10882LIBS=$ac_check_lib_save_LIBS
10883fi
10884echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
10885echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
10886if test $ac_cv_lib_m_ccoshf = yes; then
10887
10888cat >>confdefs.h <<\_ACEOF
10889#define HAVE_CCOSHF 1
10890_ACEOF
10891
10892fi
10893
10894echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
10895echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
10896if test "${ac_cv_lib_m_ccosh+set}" = set; then
10897 echo $ECHO_N "(cached) $ECHO_C" >&6
10898else
10899 ac_check_lib_save_LIBS=$LIBS
10900LIBS="-lm $LIBS"
10901if test x$gcc_no_link = xyes; then
10902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10903echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10904 { (exit 1); exit 1; }; }
10905fi
10906cat >conftest.$ac_ext <<_ACEOF
10907/* confdefs.h. */
10908_ACEOF
10909cat confdefs.h >>conftest.$ac_ext
10910cat >>conftest.$ac_ext <<_ACEOF
10911/* end confdefs.h. */
10912
10913/* Override any gcc2 internal prototype to avoid an error. */
10914#ifdef __cplusplus
10915extern "C"
10916#endif
10917/* We use char because int might match the return type of a gcc2
10918 builtin and then its argument prototype would still apply. */
10919char ccosh ();
10920int
10921main ()
10922{
10923ccosh ();
10924 ;
10925 return 0;
10926}
10927_ACEOF
10928rm -f conftest.$ac_objext conftest$ac_exeext
10929if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10930 (eval $ac_link) 2>conftest.er1
10931 ac_status=$?
10932 grep -v '^ *+' conftest.er1 >conftest.err
10933 rm -f conftest.er1
10934 cat conftest.err >&5
10935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10936 (exit $ac_status); } &&
b56cb1ff 10937 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 10938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10939 (eval $ac_try) 2>&5
10940 ac_status=$?
10941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10942 (exit $ac_status); }; } &&
10943 { ac_try='test -s conftest$ac_exeext'
10944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10945 (eval $ac_try) 2>&5
10946 ac_status=$?
10947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10948 (exit $ac_status); }; }; then
10949 ac_cv_lib_m_ccosh=yes
10950else
10951 echo "$as_me: failed program was:" >&5
10952sed 's/^/| /' conftest.$ac_ext >&5
10953
10954ac_cv_lib_m_ccosh=no
10955fi
10956rm -f conftest.err conftest.$ac_objext \
10957 conftest$ac_exeext conftest.$ac_ext
10958LIBS=$ac_check_lib_save_LIBS
10959fi
10960echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
10961echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
10962if test $ac_cv_lib_m_ccosh = yes; then
10963
10964cat >>confdefs.h <<\_ACEOF
10965#define HAVE_CCOSH 1
10966_ACEOF
10967
10968fi
10969
10970echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
10971echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
10972if test "${ac_cv_lib_m_ccoshl+set}" = set; then
10973 echo $ECHO_N "(cached) $ECHO_C" >&6
10974else
10975 ac_check_lib_save_LIBS=$LIBS
10976LIBS="-lm $LIBS"
10977if test x$gcc_no_link = xyes; then
10978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10979echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10980 { (exit 1); exit 1; }; }
10981fi
10982cat >conftest.$ac_ext <<_ACEOF
10983/* confdefs.h. */
10984_ACEOF
10985cat confdefs.h >>conftest.$ac_ext
10986cat >>conftest.$ac_ext <<_ACEOF
10987/* end confdefs.h. */
10988
10989/* Override any gcc2 internal prototype to avoid an error. */
10990#ifdef __cplusplus
10991extern "C"
10992#endif
10993/* We use char because int might match the return type of a gcc2
10994 builtin and then its argument prototype would still apply. */
10995char ccoshl ();
10996int
10997main ()
10998{
10999ccoshl ();
11000 ;
11001 return 0;
11002}
11003_ACEOF
11004rm -f conftest.$ac_objext conftest$ac_exeext
11005if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11006 (eval $ac_link) 2>conftest.er1
11007 ac_status=$?
11008 grep -v '^ *+' conftest.er1 >conftest.err
11009 rm -f conftest.er1
11010 cat conftest.err >&5
11011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11012 (exit $ac_status); } &&
b56cb1ff 11013 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 11014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11015 (eval $ac_try) 2>&5
11016 ac_status=$?
11017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11018 (exit $ac_status); }; } &&
11019 { ac_try='test -s conftest$ac_exeext'
11020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11021 (eval $ac_try) 2>&5
11022 ac_status=$?
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); }; }; then
11025 ac_cv_lib_m_ccoshl=yes
11026else
11027 echo "$as_me: failed program was:" >&5
11028sed 's/^/| /' conftest.$ac_ext >&5
11029
11030ac_cv_lib_m_ccoshl=no
11031fi
11032rm -f conftest.err conftest.$ac_objext \
11033 conftest$ac_exeext conftest.$ac_ext
11034LIBS=$ac_check_lib_save_LIBS
11035fi
11036echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
11037echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
11038if test $ac_cv_lib_m_ccoshl = yes; then
11039
11040cat >>confdefs.h <<\_ACEOF
11041#define HAVE_CCOSHL 1
11042_ACEOF
11043
11044fi
11045
11046echo "$as_me:$LINENO: checking for expf in -lm" >&5
11047echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
11048if test "${ac_cv_lib_m_expf+set}" = set; then
11049 echo $ECHO_N "(cached) $ECHO_C" >&6
11050else
11051 ac_check_lib_save_LIBS=$LIBS
11052LIBS="-lm $LIBS"
11053if test x$gcc_no_link = xyes; then
11054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11055echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11056 { (exit 1); exit 1; }; }
11057fi
11058cat >conftest.$ac_ext <<_ACEOF
11059/* confdefs.h. */
11060_ACEOF
11061cat confdefs.h >>conftest.$ac_ext
11062cat >>conftest.$ac_ext <<_ACEOF
11063/* end confdefs.h. */
11064
11065/* Override any gcc2 internal prototype to avoid an error. */
11066#ifdef __cplusplus
11067extern "C"
11068#endif
11069/* We use char because int might match the return type of a gcc2
11070 builtin and then its argument prototype would still apply. */
11071char expf ();
11072int
11073main ()
11074{
11075expf ();
11076 ;
11077 return 0;
11078}
11079_ACEOF
11080rm -f conftest.$ac_objext conftest$ac_exeext
11081if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11082 (eval $ac_link) 2>conftest.er1
11083 ac_status=$?
11084 grep -v '^ *+' conftest.er1 >conftest.err
11085 rm -f conftest.er1
11086 cat conftest.err >&5
11087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11088 (exit $ac_status); } &&
b56cb1ff 11089 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 11090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11091 (eval $ac_try) 2>&5
11092 ac_status=$?
11093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11094 (exit $ac_status); }; } &&
11095 { ac_try='test -s conftest$ac_exeext'
11096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11097 (eval $ac_try) 2>&5
11098 ac_status=$?
11099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11100 (exit $ac_status); }; }; then
11101 ac_cv_lib_m_expf=yes
11102else
11103 echo "$as_me: failed program was:" >&5
11104sed 's/^/| /' conftest.$ac_ext >&5
11105
11106ac_cv_lib_m_expf=no
11107fi
11108rm -f conftest.err conftest.$ac_objext \
11109 conftest$ac_exeext conftest.$ac_ext
11110LIBS=$ac_check_lib_save_LIBS
11111fi
11112echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
11113echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
11114if test $ac_cv_lib_m_expf = yes; then
11115
11116cat >>confdefs.h <<\_ACEOF
11117#define HAVE_EXPF 1
11118_ACEOF
11119
11120fi
11121
11122echo "$as_me:$LINENO: checking for exp in -lm" >&5
11123echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
11124if test "${ac_cv_lib_m_exp+set}" = set; then
11125 echo $ECHO_N "(cached) $ECHO_C" >&6
11126else
11127 ac_check_lib_save_LIBS=$LIBS
11128LIBS="-lm $LIBS"
11129if test x$gcc_no_link = xyes; then
11130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11131echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11132 { (exit 1); exit 1; }; }
11133fi
11134cat >conftest.$ac_ext <<_ACEOF
11135/* confdefs.h. */
11136_ACEOF
11137cat confdefs.h >>conftest.$ac_ext
11138cat >>conftest.$ac_ext <<_ACEOF
11139/* end confdefs.h. */
11140
11141/* Override any gcc2 internal prototype to avoid an error. */
11142#ifdef __cplusplus
11143extern "C"
11144#endif
11145/* We use char because int might match the return type of a gcc2
11146 builtin and then its argument prototype would still apply. */
11147char exp ();
11148int
11149main ()
11150{
11151exp ();
11152 ;
11153 return 0;
11154}
11155_ACEOF
11156rm -f conftest.$ac_objext conftest$ac_exeext
11157if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11158 (eval $ac_link) 2>conftest.er1
11159 ac_status=$?
11160 grep -v '^ *+' conftest.er1 >conftest.err
11161 rm -f conftest.er1
11162 cat conftest.err >&5
11163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11164 (exit $ac_status); } &&
b56cb1ff 11165 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 11166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11167 (eval $ac_try) 2>&5
11168 ac_status=$?
11169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11170 (exit $ac_status); }; } &&
11171 { ac_try='test -s conftest$ac_exeext'
11172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11173 (eval $ac_try) 2>&5
11174 ac_status=$?
11175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11176 (exit $ac_status); }; }; then
11177 ac_cv_lib_m_exp=yes
11178else
11179 echo "$as_me: failed program was:" >&5
11180sed 's/^/| /' conftest.$ac_ext >&5
11181
11182ac_cv_lib_m_exp=no
11183fi
11184rm -f conftest.err conftest.$ac_objext \
11185 conftest$ac_exeext conftest.$ac_ext
11186LIBS=$ac_check_lib_save_LIBS
11187fi
11188echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
11189echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
11190if test $ac_cv_lib_m_exp = yes; then
11191
11192cat >>confdefs.h <<\_ACEOF
11193#define HAVE_EXP 1
11194_ACEOF
11195
11196fi
11197
11198echo "$as_me:$LINENO: checking for expl in -lm" >&5
11199echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
11200if test "${ac_cv_lib_m_expl+set}" = set; then
11201 echo $ECHO_N "(cached) $ECHO_C" >&6
11202else
11203 ac_check_lib_save_LIBS=$LIBS
11204LIBS="-lm $LIBS"
11205if test x$gcc_no_link = xyes; then
11206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11207echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11208 { (exit 1); exit 1; }; }
11209fi
11210cat >conftest.$ac_ext <<_ACEOF
11211/* confdefs.h. */
11212_ACEOF
11213cat confdefs.h >>conftest.$ac_ext
11214cat >>conftest.$ac_ext <<_ACEOF
11215/* end confdefs.h. */
11216
11217/* Override any gcc2 internal prototype to avoid an error. */
11218#ifdef __cplusplus
11219extern "C"
11220#endif
11221/* We use char because int might match the return type of a gcc2
11222 builtin and then its argument prototype would still apply. */
11223char expl ();
11224int
11225main ()
11226{
11227expl ();
11228 ;
11229 return 0;
11230}
11231_ACEOF
11232rm -f conftest.$ac_objext conftest$ac_exeext
11233if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11234 (eval $ac_link) 2>conftest.er1
11235 ac_status=$?
11236 grep -v '^ *+' conftest.er1 >conftest.err
11237 rm -f conftest.er1
11238 cat conftest.err >&5
11239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11240 (exit $ac_status); } &&
b56cb1ff 11241 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 11242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11243 (eval $ac_try) 2>&5
11244 ac_status=$?
11245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11246 (exit $ac_status); }; } &&
11247 { ac_try='test -s conftest$ac_exeext'
11248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11249 (eval $ac_try) 2>&5
11250 ac_status=$?
11251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11252 (exit $ac_status); }; }; then
11253 ac_cv_lib_m_expl=yes
11254else
11255 echo "$as_me: failed program was:" >&5
11256sed 's/^/| /' conftest.$ac_ext >&5
11257
11258ac_cv_lib_m_expl=no
11259fi
11260rm -f conftest.err conftest.$ac_objext \
11261 conftest$ac_exeext conftest.$ac_ext
11262LIBS=$ac_check_lib_save_LIBS
11263fi
11264echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
11265echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
11266if test $ac_cv_lib_m_expl = yes; then
11267
11268cat >>confdefs.h <<\_ACEOF
11269#define HAVE_EXPL 1
11270_ACEOF
11271
11272fi
11273
11274echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
11275echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
11276if test "${ac_cv_lib_m_cexpf+set}" = set; then
11277 echo $ECHO_N "(cached) $ECHO_C" >&6
11278else
11279 ac_check_lib_save_LIBS=$LIBS
11280LIBS="-lm $LIBS"
11281if test x$gcc_no_link = xyes; then
11282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11283echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11284 { (exit 1); exit 1; }; }
11285fi
11286cat >conftest.$ac_ext <<_ACEOF
11287/* confdefs.h. */
11288_ACEOF
11289cat confdefs.h >>conftest.$ac_ext
11290cat >>conftest.$ac_ext <<_ACEOF
11291/* end confdefs.h. */
11292
11293/* Override any gcc2 internal prototype to avoid an error. */
11294#ifdef __cplusplus
11295extern "C"
11296#endif
11297/* We use char because int might match the return type of a gcc2
11298 builtin and then its argument prototype would still apply. */
11299char cexpf ();
11300int
11301main ()
11302{
11303cexpf ();
11304 ;
11305 return 0;
11306}
11307_ACEOF
11308rm -f conftest.$ac_objext conftest$ac_exeext
11309if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11310 (eval $ac_link) 2>conftest.er1
11311 ac_status=$?
11312 grep -v '^ *+' conftest.er1 >conftest.err
11313 rm -f conftest.er1
11314 cat conftest.err >&5
11315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11316 (exit $ac_status); } &&
b56cb1ff 11317 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 11318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11319 (eval $ac_try) 2>&5
11320 ac_status=$?
11321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11322 (exit $ac_status); }; } &&
11323 { ac_try='test -s conftest$ac_exeext'
11324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11325 (eval $ac_try) 2>&5
11326 ac_status=$?
11327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11328 (exit $ac_status); }; }; then
11329 ac_cv_lib_m_cexpf=yes
11330else
11331 echo "$as_me: failed program was:" >&5
11332sed 's/^/| /' conftest.$ac_ext >&5
11333
11334ac_cv_lib_m_cexpf=no
11335fi
11336rm -f conftest.err conftest.$ac_objext \
11337 conftest$ac_exeext conftest.$ac_ext
11338LIBS=$ac_check_lib_save_LIBS
11339fi
11340echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
11341echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
11342if test $ac_cv_lib_m_cexpf = yes; then
11343
11344cat >>confdefs.h <<\_ACEOF
11345#define HAVE_CEXPF 1
11346_ACEOF
11347
11348fi
11349
11350echo "$as_me:$LINENO: checking for cexp in -lm" >&5
11351echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
11352if test "${ac_cv_lib_m_cexp+set}" = set; then
11353 echo $ECHO_N "(cached) $ECHO_C" >&6
11354else
11355 ac_check_lib_save_LIBS=$LIBS
11356LIBS="-lm $LIBS"
11357if test x$gcc_no_link = xyes; then
11358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11359echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11360 { (exit 1); exit 1; }; }
11361fi
11362cat >conftest.$ac_ext <<_ACEOF
11363/* confdefs.h. */
11364_ACEOF
11365cat confdefs.h >>conftest.$ac_ext
11366cat >>conftest.$ac_ext <<_ACEOF
11367/* end confdefs.h. */
11368
11369/* Override any gcc2 internal prototype to avoid an error. */
11370#ifdef __cplusplus
11371extern "C"
11372#endif
11373/* We use char because int might match the return type of a gcc2
11374 builtin and then its argument prototype would still apply. */
11375char cexp ();
11376int
11377main ()
11378{
11379cexp ();
11380 ;
11381 return 0;
11382}
11383_ACEOF
11384rm -f conftest.$ac_objext conftest$ac_exeext
11385if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11386 (eval $ac_link) 2>conftest.er1
11387 ac_status=$?
11388 grep -v '^ *+' conftest.er1 >conftest.err
11389 rm -f conftest.er1
11390 cat conftest.err >&5
11391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11392 (exit $ac_status); } &&
b56cb1ff 11393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 11394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11395 (eval $ac_try) 2>&5
11396 ac_status=$?
11397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11398 (exit $ac_status); }; } &&
11399 { ac_try='test -s conftest$ac_exeext'
11400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11401 (eval $ac_try) 2>&5
11402 ac_status=$?
11403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11404 (exit $ac_status); }; }; then
11405 ac_cv_lib_m_cexp=yes
11406else
11407 echo "$as_me: failed program was:" >&5
11408sed 's/^/| /' conftest.$ac_ext >&5
11409
11410ac_cv_lib_m_cexp=no
11411fi
11412rm -f conftest.err conftest.$ac_objext \
11413 conftest$ac_exeext conftest.$ac_ext
11414LIBS=$ac_check_lib_save_LIBS
11415fi
11416echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
11417echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
11418if test $ac_cv_lib_m_cexp = yes; then
11419
11420cat >>confdefs.h <<\_ACEOF
11421#define HAVE_CEXP 1
11422_ACEOF
11423
11424fi
11425
11426echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
11427echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
11428if test "${ac_cv_lib_m_cexpl+set}" = set; then
11429 echo $ECHO_N "(cached) $ECHO_C" >&6
11430else
11431 ac_check_lib_save_LIBS=$LIBS
11432LIBS="-lm $LIBS"
11433if test x$gcc_no_link = xyes; then
11434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11435echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11436 { (exit 1); exit 1; }; }
11437fi
11438cat >conftest.$ac_ext <<_ACEOF
11439/* confdefs.h. */
11440_ACEOF
11441cat confdefs.h >>conftest.$ac_ext
11442cat >>conftest.$ac_ext <<_ACEOF
11443/* end confdefs.h. */
11444
11445/* Override any gcc2 internal prototype to avoid an error. */
11446#ifdef __cplusplus
11447extern "C"
11448#endif
11449/* We use char because int might match the return type of a gcc2
11450 builtin and then its argument prototype would still apply. */
11451char cexpl ();
11452int
11453main ()
11454{
11455cexpl ();
11456 ;
11457 return 0;
11458}
11459_ACEOF
11460rm -f conftest.$ac_objext conftest$ac_exeext
11461if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11462 (eval $ac_link) 2>conftest.er1
11463 ac_status=$?
11464 grep -v '^ *+' conftest.er1 >conftest.err
11465 rm -f conftest.er1
11466 cat conftest.err >&5
11467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11468 (exit $ac_status); } &&
b56cb1ff 11469 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 11470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11471 (eval $ac_try) 2>&5
11472 ac_status=$?
11473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11474 (exit $ac_status); }; } &&
11475 { ac_try='test -s conftest$ac_exeext'
11476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11477 (eval $ac_try) 2>&5
11478 ac_status=$?
11479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11480 (exit $ac_status); }; }; then
11481 ac_cv_lib_m_cexpl=yes
11482else
11483 echo "$as_me: failed program was:" >&5
11484sed 's/^/| /' conftest.$ac_ext >&5
11485
11486ac_cv_lib_m_cexpl=no
11487fi
11488rm -f conftest.err conftest.$ac_objext \
11489 conftest$ac_exeext conftest.$ac_ext
11490LIBS=$ac_check_lib_save_LIBS
11491fi
11492echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
11493echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
11494if test $ac_cv_lib_m_cexpl = yes; then
11495
11496cat >>confdefs.h <<\_ACEOF
11497#define HAVE_CEXPL 1
11498_ACEOF
11499
11500fi
11501
11502echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
11503echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
11504if test "${ac_cv_lib_m_fabsf+set}" = set; then
11505 echo $ECHO_N "(cached) $ECHO_C" >&6
11506else
11507 ac_check_lib_save_LIBS=$LIBS
11508LIBS="-lm $LIBS"
11509if test x$gcc_no_link = xyes; then
11510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11511echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11512 { (exit 1); exit 1; }; }
11513fi
11514cat >conftest.$ac_ext <<_ACEOF
11515/* confdefs.h. */
11516_ACEOF
11517cat confdefs.h >>conftest.$ac_ext
11518cat >>conftest.$ac_ext <<_ACEOF
11519/* end confdefs.h. */
11520
11521/* Override any gcc2 internal prototype to avoid an error. */
11522#ifdef __cplusplus
11523extern "C"
11524#endif
11525/* We use char because int might match the return type of a gcc2
11526 builtin and then its argument prototype would still apply. */
11527char fabsf ();
11528int
11529main ()
11530{
11531fabsf ();
11532 ;
11533 return 0;
11534}
11535_ACEOF
11536rm -f conftest.$ac_objext conftest$ac_exeext
11537if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11538 (eval $ac_link) 2>conftest.er1
11539 ac_status=$?
11540 grep -v '^ *+' conftest.er1 >conftest.err
11541 rm -f conftest.er1
11542 cat conftest.err >&5
11543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11544 (exit $ac_status); } &&
b56cb1ff 11545 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 11546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11547 (eval $ac_try) 2>&5
11548 ac_status=$?
11549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11550 (exit $ac_status); }; } &&
11551 { ac_try='test -s conftest$ac_exeext'
11552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11553 (eval $ac_try) 2>&5
11554 ac_status=$?
11555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11556 (exit $ac_status); }; }; then
11557 ac_cv_lib_m_fabsf=yes
11558else
11559 echo "$as_me: failed program was:" >&5
11560sed 's/^/| /' conftest.$ac_ext >&5
11561
11562ac_cv_lib_m_fabsf=no
11563fi
11564rm -f conftest.err conftest.$ac_objext \
11565 conftest$ac_exeext conftest.$ac_ext
11566LIBS=$ac_check_lib_save_LIBS
11567fi
11568echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
11569echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
11570if test $ac_cv_lib_m_fabsf = yes; then
11571
11572cat >>confdefs.h <<\_ACEOF
11573#define HAVE_FABSF 1
11574_ACEOF
11575
11576fi
11577
11578echo "$as_me:$LINENO: checking for fabs in -lm" >&5
11579echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
11580if test "${ac_cv_lib_m_fabs+set}" = set; then
11581 echo $ECHO_N "(cached) $ECHO_C" >&6
11582else
11583 ac_check_lib_save_LIBS=$LIBS
11584LIBS="-lm $LIBS"
11585if test x$gcc_no_link = xyes; then
11586 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11587echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11588 { (exit 1); exit 1; }; }
11589fi
11590cat >conftest.$ac_ext <<_ACEOF
11591/* confdefs.h. */
11592_ACEOF
11593cat confdefs.h >>conftest.$ac_ext
11594cat >>conftest.$ac_ext <<_ACEOF
11595/* end confdefs.h. */
11596
11597/* Override any gcc2 internal prototype to avoid an error. */
11598#ifdef __cplusplus
11599extern "C"
11600#endif
11601/* We use char because int might match the return type of a gcc2
11602 builtin and then its argument prototype would still apply. */
11603char fabs ();
11604int
11605main ()
11606{
11607fabs ();
11608 ;
11609 return 0;
11610}
11611_ACEOF
11612rm -f conftest.$ac_objext conftest$ac_exeext
11613if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11614 (eval $ac_link) 2>conftest.er1
11615 ac_status=$?
11616 grep -v '^ *+' conftest.er1 >conftest.err
11617 rm -f conftest.er1
11618 cat conftest.err >&5
11619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11620 (exit $ac_status); } &&
b56cb1ff 11621 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 11622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11623 (eval $ac_try) 2>&5
11624 ac_status=$?
11625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11626 (exit $ac_status); }; } &&
11627 { ac_try='test -s conftest$ac_exeext'
11628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11629 (eval $ac_try) 2>&5
11630 ac_status=$?
11631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11632 (exit $ac_status); }; }; then
11633 ac_cv_lib_m_fabs=yes
11634else
11635 echo "$as_me: failed program was:" >&5
11636sed 's/^/| /' conftest.$ac_ext >&5
11637
11638ac_cv_lib_m_fabs=no
11639fi
11640rm -f conftest.err conftest.$ac_objext \
11641 conftest$ac_exeext conftest.$ac_ext
11642LIBS=$ac_check_lib_save_LIBS
11643fi
11644echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
11645echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
11646if test $ac_cv_lib_m_fabs = yes; then
11647
11648cat >>confdefs.h <<\_ACEOF
11649#define HAVE_FABS 1
11650_ACEOF
11651
11652fi
11653
11654echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
11655echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
11656if test "${ac_cv_lib_m_fabsl+set}" = set; then
11657 echo $ECHO_N "(cached) $ECHO_C" >&6
11658else
11659 ac_check_lib_save_LIBS=$LIBS
11660LIBS="-lm $LIBS"
11661if test x$gcc_no_link = xyes; then
11662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11663echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11664 { (exit 1); exit 1; }; }
11665fi
11666cat >conftest.$ac_ext <<_ACEOF
11667/* confdefs.h. */
11668_ACEOF
11669cat confdefs.h >>conftest.$ac_ext
11670cat >>conftest.$ac_ext <<_ACEOF
11671/* end confdefs.h. */
11672
11673/* Override any gcc2 internal prototype to avoid an error. */
11674#ifdef __cplusplus
11675extern "C"
11676#endif
11677/* We use char because int might match the return type of a gcc2
11678 builtin and then its argument prototype would still apply. */
11679char fabsl ();
11680int
11681main ()
11682{
11683fabsl ();
11684 ;
11685 return 0;
11686}
11687_ACEOF
11688rm -f conftest.$ac_objext conftest$ac_exeext
11689if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11690 (eval $ac_link) 2>conftest.er1
11691 ac_status=$?
11692 grep -v '^ *+' conftest.er1 >conftest.err
11693 rm -f conftest.er1
11694 cat conftest.err >&5
11695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11696 (exit $ac_status); } &&
b56cb1ff 11697 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 11698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11699 (eval $ac_try) 2>&5
11700 ac_status=$?
11701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11702 (exit $ac_status); }; } &&
11703 { ac_try='test -s conftest$ac_exeext'
11704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11705 (eval $ac_try) 2>&5
11706 ac_status=$?
11707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11708 (exit $ac_status); }; }; then
11709 ac_cv_lib_m_fabsl=yes
11710else
11711 echo "$as_me: failed program was:" >&5
11712sed 's/^/| /' conftest.$ac_ext >&5
11713
11714ac_cv_lib_m_fabsl=no
11715fi
11716rm -f conftest.err conftest.$ac_objext \
11717 conftest$ac_exeext conftest.$ac_ext
11718LIBS=$ac_check_lib_save_LIBS
11719fi
11720echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
11721echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
11722if test $ac_cv_lib_m_fabsl = yes; then
11723
11724cat >>confdefs.h <<\_ACEOF
11725#define HAVE_FABSL 1
11726_ACEOF
11727
11728fi
11729
11730echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
11731echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
11732if test "${ac_cv_lib_m_cabsf+set}" = set; then
11733 echo $ECHO_N "(cached) $ECHO_C" >&6
11734else
11735 ac_check_lib_save_LIBS=$LIBS
11736LIBS="-lm $LIBS"
11737if test x$gcc_no_link = xyes; then
11738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11739echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11740 { (exit 1); exit 1; }; }
11741fi
11742cat >conftest.$ac_ext <<_ACEOF
11743/* confdefs.h. */
11744_ACEOF
11745cat confdefs.h >>conftest.$ac_ext
11746cat >>conftest.$ac_ext <<_ACEOF
11747/* end confdefs.h. */
11748
11749/* Override any gcc2 internal prototype to avoid an error. */
11750#ifdef __cplusplus
11751extern "C"
11752#endif
11753/* We use char because int might match the return type of a gcc2
11754 builtin and then its argument prototype would still apply. */
11755char cabsf ();
11756int
11757main ()
11758{
11759cabsf ();
11760 ;
11761 return 0;
11762}
11763_ACEOF
11764rm -f conftest.$ac_objext conftest$ac_exeext
11765if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11766 (eval $ac_link) 2>conftest.er1
11767 ac_status=$?
11768 grep -v '^ *+' conftest.er1 >conftest.err
11769 rm -f conftest.er1
11770 cat conftest.err >&5
11771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11772 (exit $ac_status); } &&
b56cb1ff 11773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 11774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11775 (eval $ac_try) 2>&5
11776 ac_status=$?
11777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11778 (exit $ac_status); }; } &&
11779 { ac_try='test -s conftest$ac_exeext'
11780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11781 (eval $ac_try) 2>&5
11782 ac_status=$?
11783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11784 (exit $ac_status); }; }; then
11785 ac_cv_lib_m_cabsf=yes
11786else
11787 echo "$as_me: failed program was:" >&5
11788sed 's/^/| /' conftest.$ac_ext >&5
11789
11790ac_cv_lib_m_cabsf=no
11791fi
11792rm -f conftest.err conftest.$ac_objext \
11793 conftest$ac_exeext conftest.$ac_ext
11794LIBS=$ac_check_lib_save_LIBS
11795fi
11796echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
11797echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
11798if test $ac_cv_lib_m_cabsf = yes; then
11799
11800cat >>confdefs.h <<\_ACEOF
11801#define HAVE_CABSF 1
11802_ACEOF
11803
11804fi
11805
11806echo "$as_me:$LINENO: checking for cabs in -lm" >&5
11807echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
11808if test "${ac_cv_lib_m_cabs+set}" = set; then
11809 echo $ECHO_N "(cached) $ECHO_C" >&6
11810else
11811 ac_check_lib_save_LIBS=$LIBS
11812LIBS="-lm $LIBS"
11813if test x$gcc_no_link = xyes; then
11814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11815echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11816 { (exit 1); exit 1; }; }
11817fi
11818cat >conftest.$ac_ext <<_ACEOF
11819/* confdefs.h. */
11820_ACEOF
11821cat confdefs.h >>conftest.$ac_ext
11822cat >>conftest.$ac_ext <<_ACEOF
11823/* end confdefs.h. */
11824
11825/* Override any gcc2 internal prototype to avoid an error. */
11826#ifdef __cplusplus
11827extern "C"
11828#endif
11829/* We use char because int might match the return type of a gcc2
11830 builtin and then its argument prototype would still apply. */
11831char cabs ();
11832int
11833main ()
11834{
11835cabs ();
11836 ;
11837 return 0;
11838}
11839_ACEOF
11840rm -f conftest.$ac_objext conftest$ac_exeext
11841if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11842 (eval $ac_link) 2>conftest.er1
11843 ac_status=$?
11844 grep -v '^ *+' conftest.er1 >conftest.err
11845 rm -f conftest.er1
11846 cat conftest.err >&5
11847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11848 (exit $ac_status); } &&
b56cb1ff 11849 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 11850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11851 (eval $ac_try) 2>&5
11852 ac_status=$?
11853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11854 (exit $ac_status); }; } &&
11855 { ac_try='test -s conftest$ac_exeext'
11856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11857 (eval $ac_try) 2>&5
11858 ac_status=$?
11859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11860 (exit $ac_status); }; }; then
11861 ac_cv_lib_m_cabs=yes
11862else
11863 echo "$as_me: failed program was:" >&5
11864sed 's/^/| /' conftest.$ac_ext >&5
11865
11866ac_cv_lib_m_cabs=no
11867fi
11868rm -f conftest.err conftest.$ac_objext \
11869 conftest$ac_exeext conftest.$ac_ext
11870LIBS=$ac_check_lib_save_LIBS
11871fi
11872echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
11873echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
11874if test $ac_cv_lib_m_cabs = yes; then
11875
11876cat >>confdefs.h <<\_ACEOF
11877#define HAVE_CABS 1
11878_ACEOF
11879
11880fi
11881
11882echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
11883echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
11884if test "${ac_cv_lib_m_cabsl+set}" = set; then
11885 echo $ECHO_N "(cached) $ECHO_C" >&6
11886else
11887 ac_check_lib_save_LIBS=$LIBS
11888LIBS="-lm $LIBS"
11889if test x$gcc_no_link = xyes; then
11890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11891echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11892 { (exit 1); exit 1; }; }
11893fi
11894cat >conftest.$ac_ext <<_ACEOF
11895/* confdefs.h. */
11896_ACEOF
11897cat confdefs.h >>conftest.$ac_ext
11898cat >>conftest.$ac_ext <<_ACEOF
11899/* end confdefs.h. */
11900
11901/* Override any gcc2 internal prototype to avoid an error. */
11902#ifdef __cplusplus
11903extern "C"
11904#endif
11905/* We use char because int might match the return type of a gcc2
11906 builtin and then its argument prototype would still apply. */
11907char cabsl ();
11908int
11909main ()
11910{
11911cabsl ();
11912 ;
11913 return 0;
11914}
11915_ACEOF
11916rm -f conftest.$ac_objext conftest$ac_exeext
11917if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11918 (eval $ac_link) 2>conftest.er1
11919 ac_status=$?
11920 grep -v '^ *+' conftest.er1 >conftest.err
11921 rm -f conftest.er1
11922 cat conftest.err >&5
11923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11924 (exit $ac_status); } &&
b56cb1ff 11925 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 11926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11927 (eval $ac_try) 2>&5
11928 ac_status=$?
11929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11930 (exit $ac_status); }; } &&
11931 { ac_try='test -s conftest$ac_exeext'
11932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11933 (eval $ac_try) 2>&5
11934 ac_status=$?
11935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11936 (exit $ac_status); }; }; then
11937 ac_cv_lib_m_cabsl=yes
11938else
11939 echo "$as_me: failed program was:" >&5
11940sed 's/^/| /' conftest.$ac_ext >&5
11941
11942ac_cv_lib_m_cabsl=no
11943fi
11944rm -f conftest.err conftest.$ac_objext \
11945 conftest$ac_exeext conftest.$ac_ext
11946LIBS=$ac_check_lib_save_LIBS
11947fi
11948echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
11949echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
11950if test $ac_cv_lib_m_cabsl = yes; then
11951
11952cat >>confdefs.h <<\_ACEOF
11953#define HAVE_CABSL 1
11954_ACEOF
11955
11956fi
11957
11958echo "$as_me:$LINENO: checking for floorf in -lm" >&5
11959echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
11960if test "${ac_cv_lib_m_floorf+set}" = set; then
11961 echo $ECHO_N "(cached) $ECHO_C" >&6
11962else
11963 ac_check_lib_save_LIBS=$LIBS
11964LIBS="-lm $LIBS"
11965if test x$gcc_no_link = xyes; then
11966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11967echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11968 { (exit 1); exit 1; }; }
11969fi
11970cat >conftest.$ac_ext <<_ACEOF
11971/* confdefs.h. */
11972_ACEOF
11973cat confdefs.h >>conftest.$ac_ext
11974cat >>conftest.$ac_ext <<_ACEOF
11975/* end confdefs.h. */
11976
11977/* Override any gcc2 internal prototype to avoid an error. */
11978#ifdef __cplusplus
11979extern "C"
11980#endif
11981/* We use char because int might match the return type of a gcc2
11982 builtin and then its argument prototype would still apply. */
11983char floorf ();
11984int
11985main ()
11986{
11987floorf ();
11988 ;
11989 return 0;
11990}
11991_ACEOF
11992rm -f conftest.$ac_objext conftest$ac_exeext
11993if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11994 (eval $ac_link) 2>conftest.er1
11995 ac_status=$?
11996 grep -v '^ *+' conftest.er1 >conftest.err
11997 rm -f conftest.er1
11998 cat conftest.err >&5
11999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12000 (exit $ac_status); } &&
b56cb1ff 12001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 12002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12003 (eval $ac_try) 2>&5
12004 ac_status=$?
12005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12006 (exit $ac_status); }; } &&
12007 { ac_try='test -s conftest$ac_exeext'
12008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12009 (eval $ac_try) 2>&5
12010 ac_status=$?
12011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12012 (exit $ac_status); }; }; then
12013 ac_cv_lib_m_floorf=yes
12014else
12015 echo "$as_me: failed program was:" >&5
12016sed 's/^/| /' conftest.$ac_ext >&5
12017
12018ac_cv_lib_m_floorf=no
12019fi
12020rm -f conftest.err conftest.$ac_objext \
12021 conftest$ac_exeext conftest.$ac_ext
12022LIBS=$ac_check_lib_save_LIBS
12023fi
12024echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
12025echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
12026if test $ac_cv_lib_m_floorf = yes; then
12027
12028cat >>confdefs.h <<\_ACEOF
12029#define HAVE_FLOORF 1
12030_ACEOF
12031
12032fi
12033
12034echo "$as_me:$LINENO: checking for floor in -lm" >&5
12035echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
12036if test "${ac_cv_lib_m_floor+set}" = set; then
12037 echo $ECHO_N "(cached) $ECHO_C" >&6
12038else
12039 ac_check_lib_save_LIBS=$LIBS
12040LIBS="-lm $LIBS"
12041if test x$gcc_no_link = xyes; then
12042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12043echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12044 { (exit 1); exit 1; }; }
12045fi
12046cat >conftest.$ac_ext <<_ACEOF
12047/* confdefs.h. */
12048_ACEOF
12049cat confdefs.h >>conftest.$ac_ext
12050cat >>conftest.$ac_ext <<_ACEOF
12051/* end confdefs.h. */
12052
12053/* Override any gcc2 internal prototype to avoid an error. */
12054#ifdef __cplusplus
12055extern "C"
12056#endif
12057/* We use char because int might match the return type of a gcc2
12058 builtin and then its argument prototype would still apply. */
12059char floor ();
12060int
12061main ()
12062{
12063floor ();
12064 ;
12065 return 0;
12066}
12067_ACEOF
12068rm -f conftest.$ac_objext conftest$ac_exeext
12069if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12070 (eval $ac_link) 2>conftest.er1
12071 ac_status=$?
12072 grep -v '^ *+' conftest.er1 >conftest.err
12073 rm -f conftest.er1
12074 cat conftest.err >&5
12075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12076 (exit $ac_status); } &&
b56cb1ff 12077 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 12078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12079 (eval $ac_try) 2>&5
12080 ac_status=$?
12081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082 (exit $ac_status); }; } &&
12083 { ac_try='test -s conftest$ac_exeext'
12084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12085 (eval $ac_try) 2>&5
12086 ac_status=$?
12087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12088 (exit $ac_status); }; }; then
12089 ac_cv_lib_m_floor=yes
12090else
12091 echo "$as_me: failed program was:" >&5
12092sed 's/^/| /' conftest.$ac_ext >&5
12093
12094ac_cv_lib_m_floor=no
12095fi
12096rm -f conftest.err conftest.$ac_objext \
12097 conftest$ac_exeext conftest.$ac_ext
12098LIBS=$ac_check_lib_save_LIBS
12099fi
12100echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
12101echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
12102if test $ac_cv_lib_m_floor = yes; then
12103
12104cat >>confdefs.h <<\_ACEOF
12105#define HAVE_FLOOR 1
12106_ACEOF
12107
12108fi
12109
12110echo "$as_me:$LINENO: checking for floorl in -lm" >&5
12111echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
12112if test "${ac_cv_lib_m_floorl+set}" = set; then
12113 echo $ECHO_N "(cached) $ECHO_C" >&6
12114else
12115 ac_check_lib_save_LIBS=$LIBS
12116LIBS="-lm $LIBS"
12117if test x$gcc_no_link = xyes; then
12118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12119echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12120 { (exit 1); exit 1; }; }
12121fi
12122cat >conftest.$ac_ext <<_ACEOF
12123/* confdefs.h. */
12124_ACEOF
12125cat confdefs.h >>conftest.$ac_ext
12126cat >>conftest.$ac_ext <<_ACEOF
12127/* end confdefs.h. */
12128
12129/* Override any gcc2 internal prototype to avoid an error. */
12130#ifdef __cplusplus
12131extern "C"
12132#endif
12133/* We use char because int might match the return type of a gcc2
12134 builtin and then its argument prototype would still apply. */
12135char floorl ();
12136int
12137main ()
12138{
12139floorl ();
12140 ;
12141 return 0;
12142}
12143_ACEOF
12144rm -f conftest.$ac_objext conftest$ac_exeext
12145if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12146 (eval $ac_link) 2>conftest.er1
12147 ac_status=$?
12148 grep -v '^ *+' conftest.er1 >conftest.err
12149 rm -f conftest.er1
12150 cat conftest.err >&5
12151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12152 (exit $ac_status); } &&
b56cb1ff 12153 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 12154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12155 (eval $ac_try) 2>&5
12156 ac_status=$?
12157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12158 (exit $ac_status); }; } &&
12159 { ac_try='test -s conftest$ac_exeext'
12160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12161 (eval $ac_try) 2>&5
12162 ac_status=$?
12163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12164 (exit $ac_status); }; }; then
12165 ac_cv_lib_m_floorl=yes
12166else
12167 echo "$as_me: failed program was:" >&5
12168sed 's/^/| /' conftest.$ac_ext >&5
12169
12170ac_cv_lib_m_floorl=no
12171fi
12172rm -f conftest.err conftest.$ac_objext \
12173 conftest$ac_exeext conftest.$ac_ext
12174LIBS=$ac_check_lib_save_LIBS
12175fi
12176echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
12177echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
12178if test $ac_cv_lib_m_floorl = yes; then
12179
12180cat >>confdefs.h <<\_ACEOF
12181#define HAVE_FLOORL 1
12182_ACEOF
12183
12184fi
12185
12186echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
12187echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
12188if test "${ac_cv_lib_m_frexpf+set}" = set; then
12189 echo $ECHO_N "(cached) $ECHO_C" >&6
12190else
12191 ac_check_lib_save_LIBS=$LIBS
12192LIBS="-lm $LIBS"
12193if test x$gcc_no_link = xyes; then
12194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12195echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12196 { (exit 1); exit 1; }; }
12197fi
12198cat >conftest.$ac_ext <<_ACEOF
12199/* confdefs.h. */
12200_ACEOF
12201cat confdefs.h >>conftest.$ac_ext
12202cat >>conftest.$ac_ext <<_ACEOF
12203/* end confdefs.h. */
12204
12205/* Override any gcc2 internal prototype to avoid an error. */
12206#ifdef __cplusplus
12207extern "C"
12208#endif
12209/* We use char because int might match the return type of a gcc2
12210 builtin and then its argument prototype would still apply. */
12211char frexpf ();
12212int
12213main ()
12214{
12215frexpf ();
12216 ;
12217 return 0;
12218}
12219_ACEOF
12220rm -f conftest.$ac_objext conftest$ac_exeext
12221if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12222 (eval $ac_link) 2>conftest.er1
12223 ac_status=$?
12224 grep -v '^ *+' conftest.er1 >conftest.err
12225 rm -f conftest.er1
12226 cat conftest.err >&5
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); } &&
b56cb1ff 12229 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 12230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12231 (eval $ac_try) 2>&5
12232 ac_status=$?
12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); }; } &&
12235 { ac_try='test -s conftest$ac_exeext'
12236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12237 (eval $ac_try) 2>&5
12238 ac_status=$?
12239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12240 (exit $ac_status); }; }; then
12241 ac_cv_lib_m_frexpf=yes
12242else
12243 echo "$as_me: failed program was:" >&5
12244sed 's/^/| /' conftest.$ac_ext >&5
12245
12246ac_cv_lib_m_frexpf=no
12247fi
12248rm -f conftest.err conftest.$ac_objext \
12249 conftest$ac_exeext conftest.$ac_ext
12250LIBS=$ac_check_lib_save_LIBS
12251fi
12252echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
12253echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
12254if test $ac_cv_lib_m_frexpf = yes; then
12255
12256cat >>confdefs.h <<\_ACEOF
12257#define HAVE_FREXPF 1
12258_ACEOF
12259
12260fi
12261
12262echo "$as_me:$LINENO: checking for frexp in -lm" >&5
12263echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
12264if test "${ac_cv_lib_m_frexp+set}" = set; then
12265 echo $ECHO_N "(cached) $ECHO_C" >&6
12266else
12267 ac_check_lib_save_LIBS=$LIBS
12268LIBS="-lm $LIBS"
12269if test x$gcc_no_link = xyes; then
12270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12271echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12272 { (exit 1); exit 1; }; }
12273fi
12274cat >conftest.$ac_ext <<_ACEOF
12275/* confdefs.h. */
12276_ACEOF
12277cat confdefs.h >>conftest.$ac_ext
12278cat >>conftest.$ac_ext <<_ACEOF
12279/* end confdefs.h. */
12280
12281/* Override any gcc2 internal prototype to avoid an error. */
12282#ifdef __cplusplus
12283extern "C"
12284#endif
12285/* We use char because int might match the return type of a gcc2
12286 builtin and then its argument prototype would still apply. */
12287char frexp ();
12288int
12289main ()
12290{
12291frexp ();
12292 ;
12293 return 0;
12294}
12295_ACEOF
12296rm -f conftest.$ac_objext conftest$ac_exeext
12297if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12298 (eval $ac_link) 2>conftest.er1
12299 ac_status=$?
12300 grep -v '^ *+' conftest.er1 >conftest.err
12301 rm -f conftest.er1
12302 cat conftest.err >&5
12303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12304 (exit $ac_status); } &&
b56cb1ff 12305 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 12306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12307 (eval $ac_try) 2>&5
12308 ac_status=$?
12309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12310 (exit $ac_status); }; } &&
12311 { ac_try='test -s conftest$ac_exeext'
12312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12313 (eval $ac_try) 2>&5
12314 ac_status=$?
12315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316 (exit $ac_status); }; }; then
12317 ac_cv_lib_m_frexp=yes
12318else
12319 echo "$as_me: failed program was:" >&5
12320sed 's/^/| /' conftest.$ac_ext >&5
12321
12322ac_cv_lib_m_frexp=no
12323fi
12324rm -f conftest.err conftest.$ac_objext \
12325 conftest$ac_exeext conftest.$ac_ext
12326LIBS=$ac_check_lib_save_LIBS
12327fi
12328echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
12329echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
12330if test $ac_cv_lib_m_frexp = yes; then
12331
12332cat >>confdefs.h <<\_ACEOF
12333#define HAVE_FREXP 1
12334_ACEOF
12335
12336fi
12337
12338echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
12339echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
12340if test "${ac_cv_lib_m_frexpl+set}" = set; then
12341 echo $ECHO_N "(cached) $ECHO_C" >&6
12342else
12343 ac_check_lib_save_LIBS=$LIBS
12344LIBS="-lm $LIBS"
12345if test x$gcc_no_link = xyes; then
12346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12347echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12348 { (exit 1); exit 1; }; }
12349fi
12350cat >conftest.$ac_ext <<_ACEOF
12351/* confdefs.h. */
12352_ACEOF
12353cat confdefs.h >>conftest.$ac_ext
12354cat >>conftest.$ac_ext <<_ACEOF
12355/* end confdefs.h. */
12356
12357/* Override any gcc2 internal prototype to avoid an error. */
12358#ifdef __cplusplus
12359extern "C"
12360#endif
12361/* We use char because int might match the return type of a gcc2
12362 builtin and then its argument prototype would still apply. */
12363char frexpl ();
12364int
12365main ()
12366{
12367frexpl ();
12368 ;
12369 return 0;
12370}
12371_ACEOF
12372rm -f conftest.$ac_objext conftest$ac_exeext
12373if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12374 (eval $ac_link) 2>conftest.er1
12375 ac_status=$?
12376 grep -v '^ *+' conftest.er1 >conftest.err
12377 rm -f conftest.er1
12378 cat conftest.err >&5
12379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12380 (exit $ac_status); } &&
b56cb1ff 12381 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 12382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12383 (eval $ac_try) 2>&5
12384 ac_status=$?
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); }; } &&
12387 { ac_try='test -s conftest$ac_exeext'
12388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12389 (eval $ac_try) 2>&5
12390 ac_status=$?
12391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392 (exit $ac_status); }; }; then
12393 ac_cv_lib_m_frexpl=yes
12394else
12395 echo "$as_me: failed program was:" >&5
12396sed 's/^/| /' conftest.$ac_ext >&5
12397
12398ac_cv_lib_m_frexpl=no
12399fi
12400rm -f conftest.err conftest.$ac_objext \
12401 conftest$ac_exeext conftest.$ac_ext
12402LIBS=$ac_check_lib_save_LIBS
12403fi
12404echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
12405echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
12406if test $ac_cv_lib_m_frexpl = yes; then
12407
12408cat >>confdefs.h <<\_ACEOF
12409#define HAVE_FREXPL 1
12410_ACEOF
12411
12412fi
12413
12414echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
12415echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
12416if test "${ac_cv_lib_m_hypotf+set}" = set; then
12417 echo $ECHO_N "(cached) $ECHO_C" >&6
12418else
12419 ac_check_lib_save_LIBS=$LIBS
12420LIBS="-lm $LIBS"
12421if test x$gcc_no_link = xyes; then
12422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12423echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12424 { (exit 1); exit 1; }; }
12425fi
12426cat >conftest.$ac_ext <<_ACEOF
12427/* confdefs.h. */
12428_ACEOF
12429cat confdefs.h >>conftest.$ac_ext
12430cat >>conftest.$ac_ext <<_ACEOF
12431/* end confdefs.h. */
12432
12433/* Override any gcc2 internal prototype to avoid an error. */
12434#ifdef __cplusplus
12435extern "C"
12436#endif
12437/* We use char because int might match the return type of a gcc2
12438 builtin and then its argument prototype would still apply. */
12439char hypotf ();
12440int
12441main ()
12442{
12443hypotf ();
12444 ;
12445 return 0;
12446}
12447_ACEOF
12448rm -f conftest.$ac_objext conftest$ac_exeext
12449if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12450 (eval $ac_link) 2>conftest.er1
12451 ac_status=$?
12452 grep -v '^ *+' conftest.er1 >conftest.err
12453 rm -f conftest.er1
12454 cat conftest.err >&5
12455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12456 (exit $ac_status); } &&
b56cb1ff 12457 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 12458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12459 (eval $ac_try) 2>&5
12460 ac_status=$?
12461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12462 (exit $ac_status); }; } &&
12463 { ac_try='test -s conftest$ac_exeext'
12464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12465 (eval $ac_try) 2>&5
12466 ac_status=$?
12467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12468 (exit $ac_status); }; }; then
12469 ac_cv_lib_m_hypotf=yes
12470else
12471 echo "$as_me: failed program was:" >&5
12472sed 's/^/| /' conftest.$ac_ext >&5
12473
12474ac_cv_lib_m_hypotf=no
12475fi
12476rm -f conftest.err conftest.$ac_objext \
12477 conftest$ac_exeext conftest.$ac_ext
12478LIBS=$ac_check_lib_save_LIBS
12479fi
12480echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
12481echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
12482if test $ac_cv_lib_m_hypotf = yes; then
12483
12484cat >>confdefs.h <<\_ACEOF
12485#define HAVE_HYPOTF 1
12486_ACEOF
12487
12488fi
12489
12490echo "$as_me:$LINENO: checking for hypot in -lm" >&5
12491echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
12492if test "${ac_cv_lib_m_hypot+set}" = set; then
12493 echo $ECHO_N "(cached) $ECHO_C" >&6
12494else
12495 ac_check_lib_save_LIBS=$LIBS
12496LIBS="-lm $LIBS"
12497if test x$gcc_no_link = xyes; then
12498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12499echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12500 { (exit 1); exit 1; }; }
12501fi
12502cat >conftest.$ac_ext <<_ACEOF
12503/* confdefs.h. */
12504_ACEOF
12505cat confdefs.h >>conftest.$ac_ext
12506cat >>conftest.$ac_ext <<_ACEOF
12507/* end confdefs.h. */
12508
12509/* Override any gcc2 internal prototype to avoid an error. */
12510#ifdef __cplusplus
12511extern "C"
12512#endif
12513/* We use char because int might match the return type of a gcc2
12514 builtin and then its argument prototype would still apply. */
12515char hypot ();
12516int
12517main ()
12518{
12519hypot ();
12520 ;
12521 return 0;
12522}
12523_ACEOF
12524rm -f conftest.$ac_objext conftest$ac_exeext
12525if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12526 (eval $ac_link) 2>conftest.er1
12527 ac_status=$?
12528 grep -v '^ *+' conftest.er1 >conftest.err
12529 rm -f conftest.er1
12530 cat conftest.err >&5
12531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12532 (exit $ac_status); } &&
b56cb1ff 12533 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 12534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12535 (eval $ac_try) 2>&5
12536 ac_status=$?
12537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12538 (exit $ac_status); }; } &&
12539 { ac_try='test -s conftest$ac_exeext'
12540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12541 (eval $ac_try) 2>&5
12542 ac_status=$?
12543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12544 (exit $ac_status); }; }; then
12545 ac_cv_lib_m_hypot=yes
12546else
12547 echo "$as_me: failed program was:" >&5
12548sed 's/^/| /' conftest.$ac_ext >&5
12549
12550ac_cv_lib_m_hypot=no
12551fi
12552rm -f conftest.err conftest.$ac_objext \
12553 conftest$ac_exeext conftest.$ac_ext
12554LIBS=$ac_check_lib_save_LIBS
12555fi
12556echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
12557echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
12558if test $ac_cv_lib_m_hypot = yes; then
12559
12560cat >>confdefs.h <<\_ACEOF
12561#define HAVE_HYPOT 1
12562_ACEOF
12563
12564fi
12565
12566echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
12567echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
12568if test "${ac_cv_lib_m_hypotl+set}" = set; then
12569 echo $ECHO_N "(cached) $ECHO_C" >&6
12570else
12571 ac_check_lib_save_LIBS=$LIBS
12572LIBS="-lm $LIBS"
12573if test x$gcc_no_link = xyes; then
12574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12575echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12576 { (exit 1); exit 1; }; }
12577fi
12578cat >conftest.$ac_ext <<_ACEOF
12579/* confdefs.h. */
12580_ACEOF
12581cat confdefs.h >>conftest.$ac_ext
12582cat >>conftest.$ac_ext <<_ACEOF
12583/* end confdefs.h. */
12584
12585/* Override any gcc2 internal prototype to avoid an error. */
12586#ifdef __cplusplus
12587extern "C"
12588#endif
12589/* We use char because int might match the return type of a gcc2
12590 builtin and then its argument prototype would still apply. */
12591char hypotl ();
12592int
12593main ()
12594{
12595hypotl ();
12596 ;
12597 return 0;
12598}
12599_ACEOF
12600rm -f conftest.$ac_objext conftest$ac_exeext
12601if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12602 (eval $ac_link) 2>conftest.er1
12603 ac_status=$?
12604 grep -v '^ *+' conftest.er1 >conftest.err
12605 rm -f conftest.er1
12606 cat conftest.err >&5
12607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608 (exit $ac_status); } &&
b56cb1ff 12609 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 12610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12611 (eval $ac_try) 2>&5
12612 ac_status=$?
12613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12614 (exit $ac_status); }; } &&
12615 { ac_try='test -s conftest$ac_exeext'
12616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12617 (eval $ac_try) 2>&5
12618 ac_status=$?
12619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12620 (exit $ac_status); }; }; then
12621 ac_cv_lib_m_hypotl=yes
12622else
12623 echo "$as_me: failed program was:" >&5
12624sed 's/^/| /' conftest.$ac_ext >&5
12625
12626ac_cv_lib_m_hypotl=no
12627fi
12628rm -f conftest.err conftest.$ac_objext \
12629 conftest$ac_exeext conftest.$ac_ext
12630LIBS=$ac_check_lib_save_LIBS
12631fi
12632echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
12633echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
12634if test $ac_cv_lib_m_hypotl = yes; then
12635
12636cat >>confdefs.h <<\_ACEOF
12637#define HAVE_HYPOTL 1
12638_ACEOF
12639
12640fi
12641
12642echo "$as_me:$LINENO: checking for logf in -lm" >&5
12643echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
12644if test "${ac_cv_lib_m_logf+set}" = set; then
12645 echo $ECHO_N "(cached) $ECHO_C" >&6
12646else
12647 ac_check_lib_save_LIBS=$LIBS
12648LIBS="-lm $LIBS"
12649if test x$gcc_no_link = xyes; then
12650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12651echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12652 { (exit 1); exit 1; }; }
12653fi
12654cat >conftest.$ac_ext <<_ACEOF
12655/* confdefs.h. */
12656_ACEOF
12657cat confdefs.h >>conftest.$ac_ext
12658cat >>conftest.$ac_ext <<_ACEOF
12659/* end confdefs.h. */
12660
12661/* Override any gcc2 internal prototype to avoid an error. */
12662#ifdef __cplusplus
12663extern "C"
12664#endif
12665/* We use char because int might match the return type of a gcc2
12666 builtin and then its argument prototype would still apply. */
12667char logf ();
12668int
12669main ()
12670{
12671logf ();
12672 ;
12673 return 0;
12674}
12675_ACEOF
12676rm -f conftest.$ac_objext conftest$ac_exeext
12677if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12678 (eval $ac_link) 2>conftest.er1
12679 ac_status=$?
12680 grep -v '^ *+' conftest.er1 >conftest.err
12681 rm -f conftest.er1
12682 cat conftest.err >&5
12683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12684 (exit $ac_status); } &&
b56cb1ff 12685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 12686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12687 (eval $ac_try) 2>&5
12688 ac_status=$?
12689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12690 (exit $ac_status); }; } &&
12691 { ac_try='test -s conftest$ac_exeext'
12692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12693 (eval $ac_try) 2>&5
12694 ac_status=$?
12695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12696 (exit $ac_status); }; }; then
12697 ac_cv_lib_m_logf=yes
12698else
12699 echo "$as_me: failed program was:" >&5
12700sed 's/^/| /' conftest.$ac_ext >&5
12701
12702ac_cv_lib_m_logf=no
12703fi
12704rm -f conftest.err conftest.$ac_objext \
12705 conftest$ac_exeext conftest.$ac_ext
12706LIBS=$ac_check_lib_save_LIBS
12707fi
12708echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
12709echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
12710if test $ac_cv_lib_m_logf = yes; then
12711
12712cat >>confdefs.h <<\_ACEOF
12713#define HAVE_LOGF 1
12714_ACEOF
12715
12716fi
12717
12718echo "$as_me:$LINENO: checking for log in -lm" >&5
12719echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
12720if test "${ac_cv_lib_m_log+set}" = set; then
12721 echo $ECHO_N "(cached) $ECHO_C" >&6
12722else
12723 ac_check_lib_save_LIBS=$LIBS
12724LIBS="-lm $LIBS"
12725if test x$gcc_no_link = xyes; then
12726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12727echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12728 { (exit 1); exit 1; }; }
12729fi
12730cat >conftest.$ac_ext <<_ACEOF
12731/* confdefs.h. */
12732_ACEOF
12733cat confdefs.h >>conftest.$ac_ext
12734cat >>conftest.$ac_ext <<_ACEOF
12735/* end confdefs.h. */
12736
12737/* Override any gcc2 internal prototype to avoid an error. */
12738#ifdef __cplusplus
12739extern "C"
12740#endif
12741/* We use char because int might match the return type of a gcc2
12742 builtin and then its argument prototype would still apply. */
12743char log ();
12744int
12745main ()
12746{
12747log ();
12748 ;
12749 return 0;
12750}
12751_ACEOF
12752rm -f conftest.$ac_objext conftest$ac_exeext
12753if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12754 (eval $ac_link) 2>conftest.er1
12755 ac_status=$?
12756 grep -v '^ *+' conftest.er1 >conftest.err
12757 rm -f conftest.er1
12758 cat conftest.err >&5
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760 (exit $ac_status); } &&
b56cb1ff 12761 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 12762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12763 (eval $ac_try) 2>&5
12764 ac_status=$?
12765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766 (exit $ac_status); }; } &&
12767 { ac_try='test -s conftest$ac_exeext'
12768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12769 (eval $ac_try) 2>&5
12770 ac_status=$?
12771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12772 (exit $ac_status); }; }; then
12773 ac_cv_lib_m_log=yes
12774else
12775 echo "$as_me: failed program was:" >&5
12776sed 's/^/| /' conftest.$ac_ext >&5
12777
12778ac_cv_lib_m_log=no
12779fi
12780rm -f conftest.err conftest.$ac_objext \
12781 conftest$ac_exeext conftest.$ac_ext
12782LIBS=$ac_check_lib_save_LIBS
12783fi
12784echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
12785echo "${ECHO_T}$ac_cv_lib_m_log" >&6
12786if test $ac_cv_lib_m_log = yes; then
12787
12788cat >>confdefs.h <<\_ACEOF
12789#define HAVE_LOG 1
12790_ACEOF
12791
12792fi
12793
12794echo "$as_me:$LINENO: checking for logl in -lm" >&5
12795echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
12796if test "${ac_cv_lib_m_logl+set}" = set; then
12797 echo $ECHO_N "(cached) $ECHO_C" >&6
12798else
12799 ac_check_lib_save_LIBS=$LIBS
12800LIBS="-lm $LIBS"
12801if test x$gcc_no_link = xyes; then
12802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12803echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12804 { (exit 1); exit 1; }; }
12805fi
12806cat >conftest.$ac_ext <<_ACEOF
12807/* confdefs.h. */
12808_ACEOF
12809cat confdefs.h >>conftest.$ac_ext
12810cat >>conftest.$ac_ext <<_ACEOF
12811/* end confdefs.h. */
12812
12813/* Override any gcc2 internal prototype to avoid an error. */
12814#ifdef __cplusplus
12815extern "C"
12816#endif
12817/* We use char because int might match the return type of a gcc2
12818 builtin and then its argument prototype would still apply. */
12819char logl ();
12820int
12821main ()
12822{
12823logl ();
12824 ;
12825 return 0;
12826}
12827_ACEOF
12828rm -f conftest.$ac_objext conftest$ac_exeext
12829if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12830 (eval $ac_link) 2>conftest.er1
12831 ac_status=$?
12832 grep -v '^ *+' conftest.er1 >conftest.err
12833 rm -f conftest.er1
12834 cat conftest.err >&5
12835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12836 (exit $ac_status); } &&
b56cb1ff 12837 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 12838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12839 (eval $ac_try) 2>&5
12840 ac_status=$?
12841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842 (exit $ac_status); }; } &&
12843 { ac_try='test -s conftest$ac_exeext'
12844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12845 (eval $ac_try) 2>&5
12846 ac_status=$?
12847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12848 (exit $ac_status); }; }; then
12849 ac_cv_lib_m_logl=yes
12850else
12851 echo "$as_me: failed program was:" >&5
12852sed 's/^/| /' conftest.$ac_ext >&5
12853
12854ac_cv_lib_m_logl=no
12855fi
12856rm -f conftest.err conftest.$ac_objext \
12857 conftest$ac_exeext conftest.$ac_ext
12858LIBS=$ac_check_lib_save_LIBS
12859fi
12860echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
12861echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
12862if test $ac_cv_lib_m_logl = yes; then
12863
12864cat >>confdefs.h <<\_ACEOF
12865#define HAVE_LOGL 1
12866_ACEOF
12867
12868fi
12869
12870echo "$as_me:$LINENO: checking for clogf in -lm" >&5
12871echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
12872if test "${ac_cv_lib_m_clogf+set}" = set; then
12873 echo $ECHO_N "(cached) $ECHO_C" >&6
12874else
12875 ac_check_lib_save_LIBS=$LIBS
12876LIBS="-lm $LIBS"
12877if test x$gcc_no_link = xyes; then
12878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12879echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12880 { (exit 1); exit 1; }; }
12881fi
12882cat >conftest.$ac_ext <<_ACEOF
12883/* confdefs.h. */
12884_ACEOF
12885cat confdefs.h >>conftest.$ac_ext
12886cat >>conftest.$ac_ext <<_ACEOF
12887/* end confdefs.h. */
12888
12889/* Override any gcc2 internal prototype to avoid an error. */
12890#ifdef __cplusplus
12891extern "C"
12892#endif
12893/* We use char because int might match the return type of a gcc2
12894 builtin and then its argument prototype would still apply. */
12895char clogf ();
12896int
12897main ()
12898{
12899clogf ();
12900 ;
12901 return 0;
12902}
12903_ACEOF
12904rm -f conftest.$ac_objext conftest$ac_exeext
12905if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12906 (eval $ac_link) 2>conftest.er1
12907 ac_status=$?
12908 grep -v '^ *+' conftest.er1 >conftest.err
12909 rm -f conftest.er1
12910 cat conftest.err >&5
12911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912 (exit $ac_status); } &&
b56cb1ff 12913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 12914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12915 (eval $ac_try) 2>&5
12916 ac_status=$?
12917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12918 (exit $ac_status); }; } &&
12919 { ac_try='test -s conftest$ac_exeext'
12920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12921 (eval $ac_try) 2>&5
12922 ac_status=$?
12923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12924 (exit $ac_status); }; }; then
12925 ac_cv_lib_m_clogf=yes
12926else
12927 echo "$as_me: failed program was:" >&5
12928sed 's/^/| /' conftest.$ac_ext >&5
12929
12930ac_cv_lib_m_clogf=no
12931fi
12932rm -f conftest.err conftest.$ac_objext \
12933 conftest$ac_exeext conftest.$ac_ext
12934LIBS=$ac_check_lib_save_LIBS
12935fi
12936echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
12937echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
12938if test $ac_cv_lib_m_clogf = yes; then
12939
12940cat >>confdefs.h <<\_ACEOF
12941#define HAVE_CLOGF 1
12942_ACEOF
12943
12944fi
12945
12946echo "$as_me:$LINENO: checking for clog in -lm" >&5
12947echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
12948if test "${ac_cv_lib_m_clog+set}" = set; then
12949 echo $ECHO_N "(cached) $ECHO_C" >&6
12950else
12951 ac_check_lib_save_LIBS=$LIBS
12952LIBS="-lm $LIBS"
12953if test x$gcc_no_link = xyes; then
12954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12955echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12956 { (exit 1); exit 1; }; }
12957fi
12958cat >conftest.$ac_ext <<_ACEOF
12959/* confdefs.h. */
12960_ACEOF
12961cat confdefs.h >>conftest.$ac_ext
12962cat >>conftest.$ac_ext <<_ACEOF
12963/* end confdefs.h. */
12964
12965/* Override any gcc2 internal prototype to avoid an error. */
12966#ifdef __cplusplus
12967extern "C"
12968#endif
12969/* We use char because int might match the return type of a gcc2
12970 builtin and then its argument prototype would still apply. */
12971char clog ();
12972int
12973main ()
12974{
12975clog ();
12976 ;
12977 return 0;
12978}
12979_ACEOF
12980rm -f conftest.$ac_objext conftest$ac_exeext
12981if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12982 (eval $ac_link) 2>conftest.er1
12983 ac_status=$?
12984 grep -v '^ *+' conftest.er1 >conftest.err
12985 rm -f conftest.er1
12986 cat conftest.err >&5
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); } &&
b56cb1ff 12989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 12990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12991 (eval $ac_try) 2>&5
12992 ac_status=$?
12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 (exit $ac_status); }; } &&
12995 { ac_try='test -s conftest$ac_exeext'
12996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12997 (eval $ac_try) 2>&5
12998 ac_status=$?
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); }; }; then
13001 ac_cv_lib_m_clog=yes
13002else
13003 echo "$as_me: failed program was:" >&5
13004sed 's/^/| /' conftest.$ac_ext >&5
13005
13006ac_cv_lib_m_clog=no
13007fi
13008rm -f conftest.err conftest.$ac_objext \
13009 conftest$ac_exeext conftest.$ac_ext
13010LIBS=$ac_check_lib_save_LIBS
13011fi
13012echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
13013echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
13014if test $ac_cv_lib_m_clog = yes; then
13015
13016cat >>confdefs.h <<\_ACEOF
13017#define HAVE_CLOG 1
13018_ACEOF
13019
13020fi
13021
13022echo "$as_me:$LINENO: checking for clogl in -lm" >&5
13023echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
13024if test "${ac_cv_lib_m_clogl+set}" = set; then
13025 echo $ECHO_N "(cached) $ECHO_C" >&6
13026else
13027 ac_check_lib_save_LIBS=$LIBS
13028LIBS="-lm $LIBS"
13029if test x$gcc_no_link = xyes; then
13030 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13031echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13032 { (exit 1); exit 1; }; }
13033fi
13034cat >conftest.$ac_ext <<_ACEOF
13035/* confdefs.h. */
13036_ACEOF
13037cat confdefs.h >>conftest.$ac_ext
13038cat >>conftest.$ac_ext <<_ACEOF
13039/* end confdefs.h. */
13040
13041/* Override any gcc2 internal prototype to avoid an error. */
13042#ifdef __cplusplus
13043extern "C"
13044#endif
13045/* We use char because int might match the return type of a gcc2
13046 builtin and then its argument prototype would still apply. */
13047char clogl ();
13048int
13049main ()
13050{
13051clogl ();
13052 ;
13053 return 0;
13054}
13055_ACEOF
13056rm -f conftest.$ac_objext conftest$ac_exeext
13057if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13058 (eval $ac_link) 2>conftest.er1
13059 ac_status=$?
13060 grep -v '^ *+' conftest.er1 >conftest.err
13061 rm -f conftest.er1
13062 cat conftest.err >&5
13063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13064 (exit $ac_status); } &&
b56cb1ff 13065 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 13066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13067 (eval $ac_try) 2>&5
13068 ac_status=$?
13069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070 (exit $ac_status); }; } &&
13071 { ac_try='test -s conftest$ac_exeext'
13072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13073 (eval $ac_try) 2>&5
13074 ac_status=$?
13075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13076 (exit $ac_status); }; }; then
13077 ac_cv_lib_m_clogl=yes
13078else
13079 echo "$as_me: failed program was:" >&5
13080sed 's/^/| /' conftest.$ac_ext >&5
13081
13082ac_cv_lib_m_clogl=no
13083fi
13084rm -f conftest.err conftest.$ac_objext \
13085 conftest$ac_exeext conftest.$ac_ext
13086LIBS=$ac_check_lib_save_LIBS
13087fi
13088echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
13089echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
13090if test $ac_cv_lib_m_clogl = yes; then
13091
13092cat >>confdefs.h <<\_ACEOF
13093#define HAVE_CLOGL 1
13094_ACEOF
13095
13096fi
13097
13098echo "$as_me:$LINENO: checking for log10f in -lm" >&5
13099echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
13100if test "${ac_cv_lib_m_log10f+set}" = set; then
13101 echo $ECHO_N "(cached) $ECHO_C" >&6
13102else
13103 ac_check_lib_save_LIBS=$LIBS
13104LIBS="-lm $LIBS"
13105if test x$gcc_no_link = xyes; then
13106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13107echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13108 { (exit 1); exit 1; }; }
13109fi
13110cat >conftest.$ac_ext <<_ACEOF
13111/* confdefs.h. */
13112_ACEOF
13113cat confdefs.h >>conftest.$ac_ext
13114cat >>conftest.$ac_ext <<_ACEOF
13115/* end confdefs.h. */
13116
13117/* Override any gcc2 internal prototype to avoid an error. */
13118#ifdef __cplusplus
13119extern "C"
13120#endif
13121/* We use char because int might match the return type of a gcc2
13122 builtin and then its argument prototype would still apply. */
13123char log10f ();
13124int
13125main ()
13126{
13127log10f ();
13128 ;
13129 return 0;
13130}
13131_ACEOF
13132rm -f conftest.$ac_objext conftest$ac_exeext
13133if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13134 (eval $ac_link) 2>conftest.er1
13135 ac_status=$?
13136 grep -v '^ *+' conftest.er1 >conftest.err
13137 rm -f conftest.er1
13138 cat conftest.err >&5
13139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13140 (exit $ac_status); } &&
b56cb1ff 13141 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 13142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13143 (eval $ac_try) 2>&5
13144 ac_status=$?
13145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13146 (exit $ac_status); }; } &&
13147 { ac_try='test -s conftest$ac_exeext'
13148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13149 (eval $ac_try) 2>&5
13150 ac_status=$?
13151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13152 (exit $ac_status); }; }; then
13153 ac_cv_lib_m_log10f=yes
13154else
13155 echo "$as_me: failed program was:" >&5
13156sed 's/^/| /' conftest.$ac_ext >&5
13157
13158ac_cv_lib_m_log10f=no
13159fi
13160rm -f conftest.err conftest.$ac_objext \
13161 conftest$ac_exeext conftest.$ac_ext
13162LIBS=$ac_check_lib_save_LIBS
13163fi
13164echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
13165echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
13166if test $ac_cv_lib_m_log10f = yes; then
13167
13168cat >>confdefs.h <<\_ACEOF
13169#define HAVE_LOG10F 1
13170_ACEOF
13171
13172fi
13173
13174echo "$as_me:$LINENO: checking for log10 in -lm" >&5
13175echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
13176if test "${ac_cv_lib_m_log10+set}" = set; then
13177 echo $ECHO_N "(cached) $ECHO_C" >&6
13178else
13179 ac_check_lib_save_LIBS=$LIBS
13180LIBS="-lm $LIBS"
13181if test x$gcc_no_link = xyes; then
13182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13183echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13184 { (exit 1); exit 1; }; }
13185fi
13186cat >conftest.$ac_ext <<_ACEOF
13187/* confdefs.h. */
13188_ACEOF
13189cat confdefs.h >>conftest.$ac_ext
13190cat >>conftest.$ac_ext <<_ACEOF
13191/* end confdefs.h. */
13192
13193/* Override any gcc2 internal prototype to avoid an error. */
13194#ifdef __cplusplus
13195extern "C"
13196#endif
13197/* We use char because int might match the return type of a gcc2
13198 builtin and then its argument prototype would still apply. */
13199char log10 ();
13200int
13201main ()
13202{
13203log10 ();
13204 ;
13205 return 0;
13206}
13207_ACEOF
13208rm -f conftest.$ac_objext conftest$ac_exeext
13209if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13210 (eval $ac_link) 2>conftest.er1
13211 ac_status=$?
13212 grep -v '^ *+' conftest.er1 >conftest.err
13213 rm -f conftest.er1
13214 cat conftest.err >&5
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13216 (exit $ac_status); } &&
b56cb1ff 13217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 13218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13219 (eval $ac_try) 2>&5
13220 ac_status=$?
13221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13222 (exit $ac_status); }; } &&
13223 { ac_try='test -s conftest$ac_exeext'
13224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13225 (eval $ac_try) 2>&5
13226 ac_status=$?
13227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13228 (exit $ac_status); }; }; then
13229 ac_cv_lib_m_log10=yes
13230else
13231 echo "$as_me: failed program was:" >&5
13232sed 's/^/| /' conftest.$ac_ext >&5
13233
13234ac_cv_lib_m_log10=no
13235fi
13236rm -f conftest.err conftest.$ac_objext \
13237 conftest$ac_exeext conftest.$ac_ext
13238LIBS=$ac_check_lib_save_LIBS
13239fi
13240echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
13241echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
13242if test $ac_cv_lib_m_log10 = yes; then
13243
13244cat >>confdefs.h <<\_ACEOF
13245#define HAVE_LOG10 1
13246_ACEOF
13247
13248fi
13249
13250echo "$as_me:$LINENO: checking for log10l in -lm" >&5
13251echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
13252if test "${ac_cv_lib_m_log10l+set}" = set; then
13253 echo $ECHO_N "(cached) $ECHO_C" >&6
13254else
13255 ac_check_lib_save_LIBS=$LIBS
13256LIBS="-lm $LIBS"
13257if test x$gcc_no_link = xyes; then
13258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13259echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13260 { (exit 1); exit 1; }; }
13261fi
13262cat >conftest.$ac_ext <<_ACEOF
13263/* confdefs.h. */
13264_ACEOF
13265cat confdefs.h >>conftest.$ac_ext
13266cat >>conftest.$ac_ext <<_ACEOF
13267/* end confdefs.h. */
13268
13269/* Override any gcc2 internal prototype to avoid an error. */
13270#ifdef __cplusplus
13271extern "C"
13272#endif
13273/* We use char because int might match the return type of a gcc2
13274 builtin and then its argument prototype would still apply. */
13275char log10l ();
13276int
13277main ()
13278{
13279log10l ();
13280 ;
13281 return 0;
13282}
13283_ACEOF
13284rm -f conftest.$ac_objext conftest$ac_exeext
13285if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13286 (eval $ac_link) 2>conftest.er1
13287 ac_status=$?
13288 grep -v '^ *+' conftest.er1 >conftest.err
13289 rm -f conftest.er1
13290 cat conftest.err >&5
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292 (exit $ac_status); } &&
b56cb1ff 13293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 13294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13295 (eval $ac_try) 2>&5
13296 ac_status=$?
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); }; } &&
13299 { ac_try='test -s conftest$ac_exeext'
13300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13301 (eval $ac_try) 2>&5
13302 ac_status=$?
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); }; }; then
13305 ac_cv_lib_m_log10l=yes
13306else
13307 echo "$as_me: failed program was:" >&5
13308sed 's/^/| /' conftest.$ac_ext >&5
13309
13310ac_cv_lib_m_log10l=no
13311fi
13312rm -f conftest.err conftest.$ac_objext \
13313 conftest$ac_exeext conftest.$ac_ext
13314LIBS=$ac_check_lib_save_LIBS
13315fi
13316echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
13317echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
13318if test $ac_cv_lib_m_log10l = yes; then
13319
13320cat >>confdefs.h <<\_ACEOF
13321#define HAVE_LOG10L 1
13322_ACEOF
13323
13324fi
13325
13326echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
13327echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
13328if test "${ac_cv_lib_m_clog10f+set}" = set; then
13329 echo $ECHO_N "(cached) $ECHO_C" >&6
13330else
13331 ac_check_lib_save_LIBS=$LIBS
13332LIBS="-lm $LIBS"
13333if test x$gcc_no_link = xyes; then
13334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13335echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13336 { (exit 1); exit 1; }; }
13337fi
13338cat >conftest.$ac_ext <<_ACEOF
13339/* confdefs.h. */
13340_ACEOF
13341cat confdefs.h >>conftest.$ac_ext
13342cat >>conftest.$ac_ext <<_ACEOF
13343/* end confdefs.h. */
13344
13345/* Override any gcc2 internal prototype to avoid an error. */
13346#ifdef __cplusplus
13347extern "C"
13348#endif
13349/* We use char because int might match the return type of a gcc2
13350 builtin and then its argument prototype would still apply. */
13351char clog10f ();
13352int
13353main ()
13354{
13355clog10f ();
13356 ;
13357 return 0;
13358}
13359_ACEOF
13360rm -f conftest.$ac_objext conftest$ac_exeext
13361if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13362 (eval $ac_link) 2>conftest.er1
13363 ac_status=$?
13364 grep -v '^ *+' conftest.er1 >conftest.err
13365 rm -f conftest.er1
13366 cat conftest.err >&5
13367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13368 (exit $ac_status); } &&
b56cb1ff 13369 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 13370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13371 (eval $ac_try) 2>&5
13372 ac_status=$?
13373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13374 (exit $ac_status); }; } &&
13375 { ac_try='test -s conftest$ac_exeext'
13376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13377 (eval $ac_try) 2>&5
13378 ac_status=$?
13379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13380 (exit $ac_status); }; }; then
13381 ac_cv_lib_m_clog10f=yes
13382else
13383 echo "$as_me: failed program was:" >&5
13384sed 's/^/| /' conftest.$ac_ext >&5
13385
13386ac_cv_lib_m_clog10f=no
13387fi
13388rm -f conftest.err conftest.$ac_objext \
13389 conftest$ac_exeext conftest.$ac_ext
13390LIBS=$ac_check_lib_save_LIBS
13391fi
13392echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
13393echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
13394if test $ac_cv_lib_m_clog10f = yes; then
13395
13396cat >>confdefs.h <<\_ACEOF
13397#define HAVE_CLOG10F 1
13398_ACEOF
13399
13400fi
13401
13402echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
13403echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
13404if test "${ac_cv_lib_m_clog10+set}" = set; then
13405 echo $ECHO_N "(cached) $ECHO_C" >&6
13406else
13407 ac_check_lib_save_LIBS=$LIBS
13408LIBS="-lm $LIBS"
13409if test x$gcc_no_link = xyes; then
13410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13411echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13412 { (exit 1); exit 1; }; }
13413fi
13414cat >conftest.$ac_ext <<_ACEOF
13415/* confdefs.h. */
13416_ACEOF
13417cat confdefs.h >>conftest.$ac_ext
13418cat >>conftest.$ac_ext <<_ACEOF
13419/* end confdefs.h. */
13420
13421/* Override any gcc2 internal prototype to avoid an error. */
13422#ifdef __cplusplus
13423extern "C"
13424#endif
13425/* We use char because int might match the return type of a gcc2
13426 builtin and then its argument prototype would still apply. */
13427char clog10 ();
13428int
13429main ()
13430{
13431clog10 ();
13432 ;
13433 return 0;
13434}
13435_ACEOF
13436rm -f conftest.$ac_objext conftest$ac_exeext
13437if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13438 (eval $ac_link) 2>conftest.er1
13439 ac_status=$?
13440 grep -v '^ *+' conftest.er1 >conftest.err
13441 rm -f conftest.er1
13442 cat conftest.err >&5
13443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13444 (exit $ac_status); } &&
b56cb1ff 13445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 13446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13447 (eval $ac_try) 2>&5
13448 ac_status=$?
13449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13450 (exit $ac_status); }; } &&
13451 { ac_try='test -s conftest$ac_exeext'
13452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13453 (eval $ac_try) 2>&5
13454 ac_status=$?
13455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13456 (exit $ac_status); }; }; then
13457 ac_cv_lib_m_clog10=yes
13458else
13459 echo "$as_me: failed program was:" >&5
13460sed 's/^/| /' conftest.$ac_ext >&5
13461
13462ac_cv_lib_m_clog10=no
13463fi
13464rm -f conftest.err conftest.$ac_objext \
13465 conftest$ac_exeext conftest.$ac_ext
13466LIBS=$ac_check_lib_save_LIBS
13467fi
13468echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
13469echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
13470if test $ac_cv_lib_m_clog10 = yes; then
13471
13472cat >>confdefs.h <<\_ACEOF
13473#define HAVE_CLOG10 1
13474_ACEOF
13475
13476fi
13477
13478echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
13479echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
13480if test "${ac_cv_lib_m_clog10l+set}" = set; then
13481 echo $ECHO_N "(cached) $ECHO_C" >&6
13482else
13483 ac_check_lib_save_LIBS=$LIBS
13484LIBS="-lm $LIBS"
13485if test x$gcc_no_link = xyes; then
13486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13487echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13488 { (exit 1); exit 1; }; }
13489fi
13490cat >conftest.$ac_ext <<_ACEOF
13491/* confdefs.h. */
13492_ACEOF
13493cat confdefs.h >>conftest.$ac_ext
13494cat >>conftest.$ac_ext <<_ACEOF
13495/* end confdefs.h. */
13496
13497/* Override any gcc2 internal prototype to avoid an error. */
13498#ifdef __cplusplus
13499extern "C"
13500#endif
13501/* We use char because int might match the return type of a gcc2
13502 builtin and then its argument prototype would still apply. */
13503char clog10l ();
13504int
13505main ()
13506{
13507clog10l ();
13508 ;
13509 return 0;
13510}
13511_ACEOF
13512rm -f conftest.$ac_objext conftest$ac_exeext
13513if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13514 (eval $ac_link) 2>conftest.er1
13515 ac_status=$?
13516 grep -v '^ *+' conftest.er1 >conftest.err
13517 rm -f conftest.er1
13518 cat conftest.err >&5
13519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13520 (exit $ac_status); } &&
b56cb1ff 13521 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 13522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13523 (eval $ac_try) 2>&5
13524 ac_status=$?
13525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13526 (exit $ac_status); }; } &&
13527 { ac_try='test -s conftest$ac_exeext'
13528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13529 (eval $ac_try) 2>&5
13530 ac_status=$?
13531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13532 (exit $ac_status); }; }; then
13533 ac_cv_lib_m_clog10l=yes
13534else
13535 echo "$as_me: failed program was:" >&5
13536sed 's/^/| /' conftest.$ac_ext >&5
13537
13538ac_cv_lib_m_clog10l=no
13539fi
13540rm -f conftest.err conftest.$ac_objext \
13541 conftest$ac_exeext conftest.$ac_ext
13542LIBS=$ac_check_lib_save_LIBS
13543fi
13544echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
13545echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
13546if test $ac_cv_lib_m_clog10l = yes; then
13547
13548cat >>confdefs.h <<\_ACEOF
13549#define HAVE_CLOG10L 1
13550_ACEOF
13551
13552fi
13553
13554echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
13555echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
13556if test "${ac_cv_lib_m_nextafterf+set}" = set; then
13557 echo $ECHO_N "(cached) $ECHO_C" >&6
13558else
13559 ac_check_lib_save_LIBS=$LIBS
13560LIBS="-lm $LIBS"
13561if test x$gcc_no_link = xyes; then
13562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13563echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13564 { (exit 1); exit 1; }; }
13565fi
13566cat >conftest.$ac_ext <<_ACEOF
13567/* confdefs.h. */
13568_ACEOF
13569cat confdefs.h >>conftest.$ac_ext
13570cat >>conftest.$ac_ext <<_ACEOF
13571/* end confdefs.h. */
13572
13573/* Override any gcc2 internal prototype to avoid an error. */
13574#ifdef __cplusplus
13575extern "C"
13576#endif
13577/* We use char because int might match the return type of a gcc2
13578 builtin and then its argument prototype would still apply. */
13579char nextafterf ();
13580int
13581main ()
13582{
13583nextafterf ();
13584 ;
13585 return 0;
13586}
13587_ACEOF
13588rm -f conftest.$ac_objext conftest$ac_exeext
13589if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13590 (eval $ac_link) 2>conftest.er1
13591 ac_status=$?
13592 grep -v '^ *+' conftest.er1 >conftest.err
13593 rm -f conftest.er1
13594 cat conftest.err >&5
13595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13596 (exit $ac_status); } &&
b56cb1ff 13597 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 13598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13599 (eval $ac_try) 2>&5
13600 ac_status=$?
13601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13602 (exit $ac_status); }; } &&
13603 { ac_try='test -s conftest$ac_exeext'
13604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13605 (eval $ac_try) 2>&5
13606 ac_status=$?
13607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13608 (exit $ac_status); }; }; then
13609 ac_cv_lib_m_nextafterf=yes
13610else
13611 echo "$as_me: failed program was:" >&5
13612sed 's/^/| /' conftest.$ac_ext >&5
13613
13614ac_cv_lib_m_nextafterf=no
13615fi
13616rm -f conftest.err conftest.$ac_objext \
13617 conftest$ac_exeext conftest.$ac_ext
13618LIBS=$ac_check_lib_save_LIBS
13619fi
13620echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
13621echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
13622if test $ac_cv_lib_m_nextafterf = yes; then
13623
13624cat >>confdefs.h <<\_ACEOF
13625#define HAVE_NEXTAFTERF 1
13626_ACEOF
13627
13628fi
13629
13630echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
13631echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
13632if test "${ac_cv_lib_m_nextafter+set}" = set; then
13633 echo $ECHO_N "(cached) $ECHO_C" >&6
13634else
13635 ac_check_lib_save_LIBS=$LIBS
13636LIBS="-lm $LIBS"
13637if test x$gcc_no_link = xyes; then
13638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13639echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13640 { (exit 1); exit 1; }; }
13641fi
13642cat >conftest.$ac_ext <<_ACEOF
13643/* confdefs.h. */
13644_ACEOF
13645cat confdefs.h >>conftest.$ac_ext
13646cat >>conftest.$ac_ext <<_ACEOF
13647/* end confdefs.h. */
13648
13649/* Override any gcc2 internal prototype to avoid an error. */
13650#ifdef __cplusplus
13651extern "C"
13652#endif
13653/* We use char because int might match the return type of a gcc2
13654 builtin and then its argument prototype would still apply. */
13655char nextafter ();
13656int
13657main ()
13658{
13659nextafter ();
13660 ;
13661 return 0;
13662}
13663_ACEOF
13664rm -f conftest.$ac_objext conftest$ac_exeext
13665if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13666 (eval $ac_link) 2>conftest.er1
13667 ac_status=$?
13668 grep -v '^ *+' conftest.er1 >conftest.err
13669 rm -f conftest.er1
13670 cat conftest.err >&5
13671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13672 (exit $ac_status); } &&
b56cb1ff 13673 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 13674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13675 (eval $ac_try) 2>&5
13676 ac_status=$?
13677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13678 (exit $ac_status); }; } &&
13679 { ac_try='test -s conftest$ac_exeext'
13680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13681 (eval $ac_try) 2>&5
13682 ac_status=$?
13683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 (exit $ac_status); }; }; then
13685 ac_cv_lib_m_nextafter=yes
13686else
13687 echo "$as_me: failed program was:" >&5
13688sed 's/^/| /' conftest.$ac_ext >&5
13689
13690ac_cv_lib_m_nextafter=no
13691fi
13692rm -f conftest.err conftest.$ac_objext \
13693 conftest$ac_exeext conftest.$ac_ext
13694LIBS=$ac_check_lib_save_LIBS
13695fi
13696echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
13697echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
13698if test $ac_cv_lib_m_nextafter = yes; then
13699
13700cat >>confdefs.h <<\_ACEOF
13701#define HAVE_NEXTAFTER 1
13702_ACEOF
13703
13704fi
13705
13706echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
13707echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
13708if test "${ac_cv_lib_m_nextafterl+set}" = set; then
13709 echo $ECHO_N "(cached) $ECHO_C" >&6
13710else
13711 ac_check_lib_save_LIBS=$LIBS
13712LIBS="-lm $LIBS"
13713if test x$gcc_no_link = xyes; then
13714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13715echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13716 { (exit 1); exit 1; }; }
13717fi
13718cat >conftest.$ac_ext <<_ACEOF
13719/* confdefs.h. */
13720_ACEOF
13721cat confdefs.h >>conftest.$ac_ext
13722cat >>conftest.$ac_ext <<_ACEOF
13723/* end confdefs.h. */
13724
13725/* Override any gcc2 internal prototype to avoid an error. */
13726#ifdef __cplusplus
13727extern "C"
13728#endif
13729/* We use char because int might match the return type of a gcc2
13730 builtin and then its argument prototype would still apply. */
13731char nextafterl ();
13732int
13733main ()
13734{
13735nextafterl ();
13736 ;
13737 return 0;
13738}
13739_ACEOF
13740rm -f conftest.$ac_objext conftest$ac_exeext
13741if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13742 (eval $ac_link) 2>conftest.er1
13743 ac_status=$?
13744 grep -v '^ *+' conftest.er1 >conftest.err
13745 rm -f conftest.er1
13746 cat conftest.err >&5
13747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13748 (exit $ac_status); } &&
b56cb1ff 13749 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 13750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13751 (eval $ac_try) 2>&5
13752 ac_status=$?
13753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13754 (exit $ac_status); }; } &&
13755 { ac_try='test -s conftest$ac_exeext'
13756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13757 (eval $ac_try) 2>&5
13758 ac_status=$?
13759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13760 (exit $ac_status); }; }; then
13761 ac_cv_lib_m_nextafterl=yes
13762else
13763 echo "$as_me: failed program was:" >&5
13764sed 's/^/| /' conftest.$ac_ext >&5
13765
13766ac_cv_lib_m_nextafterl=no
13767fi
13768rm -f conftest.err conftest.$ac_objext \
13769 conftest$ac_exeext conftest.$ac_ext
13770LIBS=$ac_check_lib_save_LIBS
13771fi
13772echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
13773echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
13774if test $ac_cv_lib_m_nextafterl = yes; then
13775
13776cat >>confdefs.h <<\_ACEOF
13777#define HAVE_NEXTAFTERL 1
13778_ACEOF
13779
13780fi
13781
13782echo "$as_me:$LINENO: checking for powf in -lm" >&5
13783echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
13784if test "${ac_cv_lib_m_powf+set}" = set; then
13785 echo $ECHO_N "(cached) $ECHO_C" >&6
13786else
13787 ac_check_lib_save_LIBS=$LIBS
13788LIBS="-lm $LIBS"
13789if test x$gcc_no_link = xyes; then
13790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13791echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13792 { (exit 1); exit 1; }; }
13793fi
13794cat >conftest.$ac_ext <<_ACEOF
13795/* confdefs.h. */
13796_ACEOF
13797cat confdefs.h >>conftest.$ac_ext
13798cat >>conftest.$ac_ext <<_ACEOF
13799/* end confdefs.h. */
13800
13801/* Override any gcc2 internal prototype to avoid an error. */
13802#ifdef __cplusplus
13803extern "C"
13804#endif
13805/* We use char because int might match the return type of a gcc2
13806 builtin and then its argument prototype would still apply. */
13807char powf ();
13808int
13809main ()
13810{
13811powf ();
13812 ;
13813 return 0;
13814}
13815_ACEOF
13816rm -f conftest.$ac_objext conftest$ac_exeext
13817if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13818 (eval $ac_link) 2>conftest.er1
13819 ac_status=$?
13820 grep -v '^ *+' conftest.er1 >conftest.err
13821 rm -f conftest.er1
13822 cat conftest.err >&5
13823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13824 (exit $ac_status); } &&
b56cb1ff 13825 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 13826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13827 (eval $ac_try) 2>&5
13828 ac_status=$?
13829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13830 (exit $ac_status); }; } &&
13831 { ac_try='test -s conftest$ac_exeext'
13832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13833 (eval $ac_try) 2>&5
13834 ac_status=$?
13835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836 (exit $ac_status); }; }; then
13837 ac_cv_lib_m_powf=yes
13838else
13839 echo "$as_me: failed program was:" >&5
13840sed 's/^/| /' conftest.$ac_ext >&5
13841
13842ac_cv_lib_m_powf=no
13843fi
13844rm -f conftest.err conftest.$ac_objext \
13845 conftest$ac_exeext conftest.$ac_ext
13846LIBS=$ac_check_lib_save_LIBS
13847fi
13848echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
13849echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
13850if test $ac_cv_lib_m_powf = yes; then
13851
13852cat >>confdefs.h <<\_ACEOF
13853#define HAVE_POWF 1
13854_ACEOF
13855
13856fi
13857
13858echo "$as_me:$LINENO: checking for pow in -lm" >&5
13859echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
13860if test "${ac_cv_lib_m_pow+set}" = set; then
13861 echo $ECHO_N "(cached) $ECHO_C" >&6
13862else
13863 ac_check_lib_save_LIBS=$LIBS
13864LIBS="-lm $LIBS"
13865if test x$gcc_no_link = xyes; then
13866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13867echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13868 { (exit 1); exit 1; }; }
13869fi
13870cat >conftest.$ac_ext <<_ACEOF
13871/* confdefs.h. */
13872_ACEOF
13873cat confdefs.h >>conftest.$ac_ext
13874cat >>conftest.$ac_ext <<_ACEOF
13875/* end confdefs.h. */
13876
13877/* Override any gcc2 internal prototype to avoid an error. */
13878#ifdef __cplusplus
13879extern "C"
13880#endif
13881/* We use char because int might match the return type of a gcc2
13882 builtin and then its argument prototype would still apply. */
13883char pow ();
13884int
13885main ()
13886{
13887pow ();
13888 ;
13889 return 0;
13890}
13891_ACEOF
13892rm -f conftest.$ac_objext conftest$ac_exeext
13893if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13894 (eval $ac_link) 2>conftest.er1
13895 ac_status=$?
13896 grep -v '^ *+' conftest.er1 >conftest.err
13897 rm -f conftest.er1
13898 cat conftest.err >&5
13899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13900 (exit $ac_status); } &&
b56cb1ff 13901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 13902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13903 (eval $ac_try) 2>&5
13904 ac_status=$?
13905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13906 (exit $ac_status); }; } &&
13907 { ac_try='test -s conftest$ac_exeext'
13908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13909 (eval $ac_try) 2>&5
13910 ac_status=$?
13911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13912 (exit $ac_status); }; }; then
13913 ac_cv_lib_m_pow=yes
13914else
13915 echo "$as_me: failed program was:" >&5
13916sed 's/^/| /' conftest.$ac_ext >&5
13917
13918ac_cv_lib_m_pow=no
13919fi
13920rm -f conftest.err conftest.$ac_objext \
13921 conftest$ac_exeext conftest.$ac_ext
13922LIBS=$ac_check_lib_save_LIBS
13923fi
13924echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
13925echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
13926if test $ac_cv_lib_m_pow = yes; then
13927
13928cat >>confdefs.h <<\_ACEOF
13929#define HAVE_POW 1
13930_ACEOF
13931
13932fi
13933
13934echo "$as_me:$LINENO: checking for powl in -lm" >&5
13935echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
13936if test "${ac_cv_lib_m_powl+set}" = set; then
13937 echo $ECHO_N "(cached) $ECHO_C" >&6
13938else
13939 ac_check_lib_save_LIBS=$LIBS
13940LIBS="-lm $LIBS"
13941if test x$gcc_no_link = xyes; then
13942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13943echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13944 { (exit 1); exit 1; }; }
13945fi
13946cat >conftest.$ac_ext <<_ACEOF
13947/* confdefs.h. */
13948_ACEOF
13949cat confdefs.h >>conftest.$ac_ext
13950cat >>conftest.$ac_ext <<_ACEOF
13951/* end confdefs.h. */
13952
13953/* Override any gcc2 internal prototype to avoid an error. */
13954#ifdef __cplusplus
13955extern "C"
13956#endif
13957/* We use char because int might match the return type of a gcc2
13958 builtin and then its argument prototype would still apply. */
13959char powl ();
13960int
13961main ()
13962{
13963powl ();
13964 ;
13965 return 0;
13966}
13967_ACEOF
13968rm -f conftest.$ac_objext conftest$ac_exeext
13969if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13970 (eval $ac_link) 2>conftest.er1
13971 ac_status=$?
13972 grep -v '^ *+' conftest.er1 >conftest.err
13973 rm -f conftest.er1
13974 cat conftest.err >&5
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); } &&
b56cb1ff 13977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 13978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13979 (eval $ac_try) 2>&5
13980 ac_status=$?
13981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13982 (exit $ac_status); }; } &&
13983 { ac_try='test -s conftest$ac_exeext'
13984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13985 (eval $ac_try) 2>&5
13986 ac_status=$?
13987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13988 (exit $ac_status); }; }; then
13989 ac_cv_lib_m_powl=yes
13990else
13991 echo "$as_me: failed program was:" >&5
13992sed 's/^/| /' conftest.$ac_ext >&5
13993
13994ac_cv_lib_m_powl=no
13995fi
13996rm -f conftest.err conftest.$ac_objext \
13997 conftest$ac_exeext conftest.$ac_ext
13998LIBS=$ac_check_lib_save_LIBS
13999fi
14000echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
14001echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
14002if test $ac_cv_lib_m_powl = yes; then
14003
14004cat >>confdefs.h <<\_ACEOF
14005#define HAVE_POWL 1
14006_ACEOF
14007
14008fi
14009
14010echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
14011echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
14012if test "${ac_cv_lib_m_cpowf+set}" = set; then
14013 echo $ECHO_N "(cached) $ECHO_C" >&6
14014else
14015 ac_check_lib_save_LIBS=$LIBS
14016LIBS="-lm $LIBS"
14017if test x$gcc_no_link = xyes; then
14018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14019echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14020 { (exit 1); exit 1; }; }
14021fi
14022cat >conftest.$ac_ext <<_ACEOF
14023/* confdefs.h. */
14024_ACEOF
14025cat confdefs.h >>conftest.$ac_ext
14026cat >>conftest.$ac_ext <<_ACEOF
14027/* end confdefs.h. */
14028
14029/* Override any gcc2 internal prototype to avoid an error. */
14030#ifdef __cplusplus
14031extern "C"
14032#endif
14033/* We use char because int might match the return type of a gcc2
14034 builtin and then its argument prototype would still apply. */
14035char cpowf ();
14036int
14037main ()
14038{
14039cpowf ();
14040 ;
14041 return 0;
14042}
14043_ACEOF
14044rm -f conftest.$ac_objext conftest$ac_exeext
14045if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14046 (eval $ac_link) 2>conftest.er1
14047 ac_status=$?
14048 grep -v '^ *+' conftest.er1 >conftest.err
14049 rm -f conftest.er1
14050 cat conftest.err >&5
14051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14052 (exit $ac_status); } &&
b56cb1ff 14053 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 14054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14055 (eval $ac_try) 2>&5
14056 ac_status=$?
14057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14058 (exit $ac_status); }; } &&
14059 { ac_try='test -s conftest$ac_exeext'
14060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14061 (eval $ac_try) 2>&5
14062 ac_status=$?
14063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14064 (exit $ac_status); }; }; then
14065 ac_cv_lib_m_cpowf=yes
14066else
14067 echo "$as_me: failed program was:" >&5
14068sed 's/^/| /' conftest.$ac_ext >&5
14069
14070ac_cv_lib_m_cpowf=no
14071fi
14072rm -f conftest.err conftest.$ac_objext \
14073 conftest$ac_exeext conftest.$ac_ext
14074LIBS=$ac_check_lib_save_LIBS
14075fi
14076echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
14077echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
14078if test $ac_cv_lib_m_cpowf = yes; then
14079
14080cat >>confdefs.h <<\_ACEOF
14081#define HAVE_CPOWF 1
14082_ACEOF
14083
14084fi
14085
14086echo "$as_me:$LINENO: checking for cpow in -lm" >&5
14087echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
14088if test "${ac_cv_lib_m_cpow+set}" = set; then
14089 echo $ECHO_N "(cached) $ECHO_C" >&6
14090else
14091 ac_check_lib_save_LIBS=$LIBS
14092LIBS="-lm $LIBS"
14093if test x$gcc_no_link = xyes; then
14094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14095echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14096 { (exit 1); exit 1; }; }
14097fi
14098cat >conftest.$ac_ext <<_ACEOF
14099/* confdefs.h. */
14100_ACEOF
14101cat confdefs.h >>conftest.$ac_ext
14102cat >>conftest.$ac_ext <<_ACEOF
14103/* end confdefs.h. */
14104
14105/* Override any gcc2 internal prototype to avoid an error. */
14106#ifdef __cplusplus
14107extern "C"
14108#endif
14109/* We use char because int might match the return type of a gcc2
14110 builtin and then its argument prototype would still apply. */
14111char cpow ();
14112int
14113main ()
14114{
14115cpow ();
14116 ;
14117 return 0;
14118}
14119_ACEOF
14120rm -f conftest.$ac_objext conftest$ac_exeext
14121if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14122 (eval $ac_link) 2>conftest.er1
14123 ac_status=$?
14124 grep -v '^ *+' conftest.er1 >conftest.err
14125 rm -f conftest.er1
14126 cat conftest.err >&5
14127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14128 (exit $ac_status); } &&
b56cb1ff 14129 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 14130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14131 (eval $ac_try) 2>&5
14132 ac_status=$?
14133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14134 (exit $ac_status); }; } &&
14135 { ac_try='test -s conftest$ac_exeext'
14136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14137 (eval $ac_try) 2>&5
14138 ac_status=$?
14139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14140 (exit $ac_status); }; }; then
14141 ac_cv_lib_m_cpow=yes
14142else
14143 echo "$as_me: failed program was:" >&5
14144sed 's/^/| /' conftest.$ac_ext >&5
14145
14146ac_cv_lib_m_cpow=no
14147fi
14148rm -f conftest.err conftest.$ac_objext \
14149 conftest$ac_exeext conftest.$ac_ext
14150LIBS=$ac_check_lib_save_LIBS
14151fi
14152echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
14153echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
14154if test $ac_cv_lib_m_cpow = yes; then
14155
14156cat >>confdefs.h <<\_ACEOF
14157#define HAVE_CPOW 1
14158_ACEOF
14159
14160fi
14161
14162echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
14163echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
14164if test "${ac_cv_lib_m_cpowl+set}" = set; then
14165 echo $ECHO_N "(cached) $ECHO_C" >&6
14166else
14167 ac_check_lib_save_LIBS=$LIBS
14168LIBS="-lm $LIBS"
14169if test x$gcc_no_link = xyes; then
14170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14171echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14172 { (exit 1); exit 1; }; }
14173fi
14174cat >conftest.$ac_ext <<_ACEOF
14175/* confdefs.h. */
14176_ACEOF
14177cat confdefs.h >>conftest.$ac_ext
14178cat >>conftest.$ac_ext <<_ACEOF
14179/* end confdefs.h. */
14180
14181/* Override any gcc2 internal prototype to avoid an error. */
14182#ifdef __cplusplus
14183extern "C"
14184#endif
14185/* We use char because int might match the return type of a gcc2
14186 builtin and then its argument prototype would still apply. */
14187char cpowl ();
14188int
14189main ()
14190{
14191cpowl ();
14192 ;
14193 return 0;
14194}
14195_ACEOF
14196rm -f conftest.$ac_objext conftest$ac_exeext
14197if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14198 (eval $ac_link) 2>conftest.er1
14199 ac_status=$?
14200 grep -v '^ *+' conftest.er1 >conftest.err
14201 rm -f conftest.er1
14202 cat conftest.err >&5
14203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14204 (exit $ac_status); } &&
b56cb1ff 14205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 14206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14207 (eval $ac_try) 2>&5
14208 ac_status=$?
14209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14210 (exit $ac_status); }; } &&
14211 { ac_try='test -s conftest$ac_exeext'
14212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14213 (eval $ac_try) 2>&5
14214 ac_status=$?
14215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14216 (exit $ac_status); }; }; then
14217 ac_cv_lib_m_cpowl=yes
14218else
14219 echo "$as_me: failed program was:" >&5
14220sed 's/^/| /' conftest.$ac_ext >&5
14221
14222ac_cv_lib_m_cpowl=no
14223fi
14224rm -f conftest.err conftest.$ac_objext \
14225 conftest$ac_exeext conftest.$ac_ext
14226LIBS=$ac_check_lib_save_LIBS
14227fi
14228echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
14229echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
14230if test $ac_cv_lib_m_cpowl = yes; then
14231
14232cat >>confdefs.h <<\_ACEOF
14233#define HAVE_CPOWL 1
14234_ACEOF
14235
14236fi
14237
14238echo "$as_me:$LINENO: checking for roundf in -lm" >&5
14239echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
14240if test "${ac_cv_lib_m_roundf+set}" = set; then
14241 echo $ECHO_N "(cached) $ECHO_C" >&6
14242else
14243 ac_check_lib_save_LIBS=$LIBS
14244LIBS="-lm $LIBS"
14245if test x$gcc_no_link = xyes; then
14246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14247echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14248 { (exit 1); exit 1; }; }
14249fi
14250cat >conftest.$ac_ext <<_ACEOF
14251/* confdefs.h. */
14252_ACEOF
14253cat confdefs.h >>conftest.$ac_ext
14254cat >>conftest.$ac_ext <<_ACEOF
14255/* end confdefs.h. */
14256
14257/* Override any gcc2 internal prototype to avoid an error. */
14258#ifdef __cplusplus
14259extern "C"
14260#endif
14261/* We use char because int might match the return type of a gcc2
14262 builtin and then its argument prototype would still apply. */
14263char roundf ();
14264int
14265main ()
14266{
14267roundf ();
14268 ;
14269 return 0;
14270}
14271_ACEOF
14272rm -f conftest.$ac_objext conftest$ac_exeext
14273if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14274 (eval $ac_link) 2>conftest.er1
14275 ac_status=$?
14276 grep -v '^ *+' conftest.er1 >conftest.err
14277 rm -f conftest.er1
14278 cat conftest.err >&5
14279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14280 (exit $ac_status); } &&
b56cb1ff 14281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 14282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14283 (eval $ac_try) 2>&5
14284 ac_status=$?
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); }; } &&
14287 { ac_try='test -s conftest$ac_exeext'
14288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14289 (eval $ac_try) 2>&5
14290 ac_status=$?
14291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14292 (exit $ac_status); }; }; then
14293 ac_cv_lib_m_roundf=yes
14294else
14295 echo "$as_me: failed program was:" >&5
14296sed 's/^/| /' conftest.$ac_ext >&5
14297
14298ac_cv_lib_m_roundf=no
14299fi
14300rm -f conftest.err conftest.$ac_objext \
14301 conftest$ac_exeext conftest.$ac_ext
14302LIBS=$ac_check_lib_save_LIBS
14303fi
14304echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
14305echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
14306if test $ac_cv_lib_m_roundf = yes; then
14307
14308cat >>confdefs.h <<\_ACEOF
14309#define HAVE_ROUNDF 1
14310_ACEOF
14311
14312fi
14313
14314echo "$as_me:$LINENO: checking for round in -lm" >&5
14315echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
14316if test "${ac_cv_lib_m_round+set}" = set; then
14317 echo $ECHO_N "(cached) $ECHO_C" >&6
14318else
14319 ac_check_lib_save_LIBS=$LIBS
14320LIBS="-lm $LIBS"
14321if test x$gcc_no_link = xyes; then
14322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14323echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14324 { (exit 1); exit 1; }; }
14325fi
14326cat >conftest.$ac_ext <<_ACEOF
14327/* confdefs.h. */
14328_ACEOF
14329cat confdefs.h >>conftest.$ac_ext
14330cat >>conftest.$ac_ext <<_ACEOF
14331/* end confdefs.h. */
14332
14333/* Override any gcc2 internal prototype to avoid an error. */
14334#ifdef __cplusplus
14335extern "C"
14336#endif
14337/* We use char because int might match the return type of a gcc2
14338 builtin and then its argument prototype would still apply. */
14339char round ();
14340int
14341main ()
14342{
14343round ();
14344 ;
14345 return 0;
14346}
14347_ACEOF
14348rm -f conftest.$ac_objext conftest$ac_exeext
14349if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14350 (eval $ac_link) 2>conftest.er1
14351 ac_status=$?
14352 grep -v '^ *+' conftest.er1 >conftest.err
14353 rm -f conftest.er1
14354 cat conftest.err >&5
14355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14356 (exit $ac_status); } &&
b56cb1ff 14357 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 14358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14359 (eval $ac_try) 2>&5
14360 ac_status=$?
14361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362 (exit $ac_status); }; } &&
14363 { ac_try='test -s conftest$ac_exeext'
14364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14365 (eval $ac_try) 2>&5
14366 ac_status=$?
14367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14368 (exit $ac_status); }; }; then
14369 ac_cv_lib_m_round=yes
14370else
14371 echo "$as_me: failed program was:" >&5
14372sed 's/^/| /' conftest.$ac_ext >&5
14373
14374ac_cv_lib_m_round=no
14375fi
14376rm -f conftest.err conftest.$ac_objext \
14377 conftest$ac_exeext conftest.$ac_ext
14378LIBS=$ac_check_lib_save_LIBS
14379fi
14380echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
14381echo "${ECHO_T}$ac_cv_lib_m_round" >&6
14382if test $ac_cv_lib_m_round = yes; then
14383
14384cat >>confdefs.h <<\_ACEOF
14385#define HAVE_ROUND 1
14386_ACEOF
14387
14388fi
14389
14390echo "$as_me:$LINENO: checking for roundl in -lm" >&5
14391echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
14392if test "${ac_cv_lib_m_roundl+set}" = set; then
14393 echo $ECHO_N "(cached) $ECHO_C" >&6
14394else
14395 ac_check_lib_save_LIBS=$LIBS
14396LIBS="-lm $LIBS"
14397if test x$gcc_no_link = xyes; then
14398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14399echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14400 { (exit 1); exit 1; }; }
14401fi
14402cat >conftest.$ac_ext <<_ACEOF
14403/* confdefs.h. */
14404_ACEOF
14405cat confdefs.h >>conftest.$ac_ext
14406cat >>conftest.$ac_ext <<_ACEOF
14407/* end confdefs.h. */
14408
14409/* Override any gcc2 internal prototype to avoid an error. */
14410#ifdef __cplusplus
14411extern "C"
14412#endif
14413/* We use char because int might match the return type of a gcc2
14414 builtin and then its argument prototype would still apply. */
14415char roundl ();
14416int
14417main ()
14418{
14419roundl ();
14420 ;
14421 return 0;
14422}
14423_ACEOF
14424rm -f conftest.$ac_objext conftest$ac_exeext
14425if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14426 (eval $ac_link) 2>conftest.er1
14427 ac_status=$?
14428 grep -v '^ *+' conftest.er1 >conftest.err
14429 rm -f conftest.er1
14430 cat conftest.err >&5
14431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14432 (exit $ac_status); } &&
b56cb1ff 14433 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 14434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14435 (eval $ac_try) 2>&5
14436 ac_status=$?
14437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14438 (exit $ac_status); }; } &&
14439 { ac_try='test -s conftest$ac_exeext'
14440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14441 (eval $ac_try) 2>&5
14442 ac_status=$?
14443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444 (exit $ac_status); }; }; then
14445 ac_cv_lib_m_roundl=yes
14446else
14447 echo "$as_me: failed program was:" >&5
14448sed 's/^/| /' conftest.$ac_ext >&5
14449
14450ac_cv_lib_m_roundl=no
14451fi
14452rm -f conftest.err conftest.$ac_objext \
14453 conftest$ac_exeext conftest.$ac_ext
14454LIBS=$ac_check_lib_save_LIBS
14455fi
14456echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
14457echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
14458if test $ac_cv_lib_m_roundl = yes; then
14459
14460cat >>confdefs.h <<\_ACEOF
14461#define HAVE_ROUNDL 1
14462_ACEOF
14463
14464fi
14465
14466echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
14467echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
14468if test "${ac_cv_lib_m_scalbnf+set}" = set; then
14469 echo $ECHO_N "(cached) $ECHO_C" >&6
14470else
14471 ac_check_lib_save_LIBS=$LIBS
14472LIBS="-lm $LIBS"
14473if test x$gcc_no_link = xyes; then
14474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14475echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14476 { (exit 1); exit 1; }; }
14477fi
14478cat >conftest.$ac_ext <<_ACEOF
14479/* confdefs.h. */
14480_ACEOF
14481cat confdefs.h >>conftest.$ac_ext
14482cat >>conftest.$ac_ext <<_ACEOF
14483/* end confdefs.h. */
14484
14485/* Override any gcc2 internal prototype to avoid an error. */
14486#ifdef __cplusplus
14487extern "C"
14488#endif
14489/* We use char because int might match the return type of a gcc2
14490 builtin and then its argument prototype would still apply. */
14491char scalbnf ();
14492int
14493main ()
14494{
14495scalbnf ();
14496 ;
14497 return 0;
14498}
14499_ACEOF
14500rm -f conftest.$ac_objext conftest$ac_exeext
14501if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14502 (eval $ac_link) 2>conftest.er1
14503 ac_status=$?
14504 grep -v '^ *+' conftest.er1 >conftest.err
14505 rm -f conftest.er1
14506 cat conftest.err >&5
14507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14508 (exit $ac_status); } &&
b56cb1ff 14509 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 14510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14511 (eval $ac_try) 2>&5
14512 ac_status=$?
14513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14514 (exit $ac_status); }; } &&
14515 { ac_try='test -s conftest$ac_exeext'
14516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14517 (eval $ac_try) 2>&5
14518 ac_status=$?
14519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14520 (exit $ac_status); }; }; then
14521 ac_cv_lib_m_scalbnf=yes
14522else
14523 echo "$as_me: failed program was:" >&5
14524sed 's/^/| /' conftest.$ac_ext >&5
14525
14526ac_cv_lib_m_scalbnf=no
14527fi
14528rm -f conftest.err conftest.$ac_objext \
14529 conftest$ac_exeext conftest.$ac_ext
14530LIBS=$ac_check_lib_save_LIBS
14531fi
14532echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
14533echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
14534if test $ac_cv_lib_m_scalbnf = yes; then
14535
14536cat >>confdefs.h <<\_ACEOF
14537#define HAVE_SCALBNF 1
14538_ACEOF
14539
14540fi
14541
14542echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
14543echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
14544if test "${ac_cv_lib_m_scalbn+set}" = set; then
14545 echo $ECHO_N "(cached) $ECHO_C" >&6
14546else
14547 ac_check_lib_save_LIBS=$LIBS
14548LIBS="-lm $LIBS"
14549if test x$gcc_no_link = xyes; then
14550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14551echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14552 { (exit 1); exit 1; }; }
14553fi
14554cat >conftest.$ac_ext <<_ACEOF
14555/* confdefs.h. */
14556_ACEOF
14557cat confdefs.h >>conftest.$ac_ext
14558cat >>conftest.$ac_ext <<_ACEOF
14559/* end confdefs.h. */
14560
14561/* Override any gcc2 internal prototype to avoid an error. */
14562#ifdef __cplusplus
14563extern "C"
14564#endif
14565/* We use char because int might match the return type of a gcc2
14566 builtin and then its argument prototype would still apply. */
14567char scalbn ();
14568int
14569main ()
14570{
14571scalbn ();
14572 ;
14573 return 0;
14574}
14575_ACEOF
14576rm -f conftest.$ac_objext conftest$ac_exeext
14577if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14578 (eval $ac_link) 2>conftest.er1
14579 ac_status=$?
14580 grep -v '^ *+' conftest.er1 >conftest.err
14581 rm -f conftest.er1
14582 cat conftest.err >&5
14583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14584 (exit $ac_status); } &&
b56cb1ff 14585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 14586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14587 (eval $ac_try) 2>&5
14588 ac_status=$?
14589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14590 (exit $ac_status); }; } &&
14591 { ac_try='test -s conftest$ac_exeext'
14592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14593 (eval $ac_try) 2>&5
14594 ac_status=$?
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 (exit $ac_status); }; }; then
14597 ac_cv_lib_m_scalbn=yes
14598else
14599 echo "$as_me: failed program was:" >&5
14600sed 's/^/| /' conftest.$ac_ext >&5
14601
14602ac_cv_lib_m_scalbn=no
14603fi
14604rm -f conftest.err conftest.$ac_objext \
14605 conftest$ac_exeext conftest.$ac_ext
14606LIBS=$ac_check_lib_save_LIBS
14607fi
14608echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
14609echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
14610if test $ac_cv_lib_m_scalbn = yes; then
14611
14612cat >>confdefs.h <<\_ACEOF
14613#define HAVE_SCALBN 1
14614_ACEOF
14615
14616fi
14617
14618echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
14619echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
14620if test "${ac_cv_lib_m_scalbnl+set}" = set; then
14621 echo $ECHO_N "(cached) $ECHO_C" >&6
14622else
14623 ac_check_lib_save_LIBS=$LIBS
14624LIBS="-lm $LIBS"
14625if test x$gcc_no_link = xyes; then
14626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14627echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14628 { (exit 1); exit 1; }; }
14629fi
14630cat >conftest.$ac_ext <<_ACEOF
14631/* confdefs.h. */
14632_ACEOF
14633cat confdefs.h >>conftest.$ac_ext
14634cat >>conftest.$ac_ext <<_ACEOF
14635/* end confdefs.h. */
14636
14637/* Override any gcc2 internal prototype to avoid an error. */
14638#ifdef __cplusplus
14639extern "C"
14640#endif
14641/* We use char because int might match the return type of a gcc2
14642 builtin and then its argument prototype would still apply. */
14643char scalbnl ();
14644int
14645main ()
14646{
14647scalbnl ();
14648 ;
14649 return 0;
14650}
14651_ACEOF
14652rm -f conftest.$ac_objext conftest$ac_exeext
14653if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14654 (eval $ac_link) 2>conftest.er1
14655 ac_status=$?
14656 grep -v '^ *+' conftest.er1 >conftest.err
14657 rm -f conftest.er1
14658 cat conftest.err >&5
14659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14660 (exit $ac_status); } &&
b56cb1ff 14661 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 14662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14663 (eval $ac_try) 2>&5
14664 ac_status=$?
14665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14666 (exit $ac_status); }; } &&
14667 { ac_try='test -s conftest$ac_exeext'
14668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14669 (eval $ac_try) 2>&5
14670 ac_status=$?
14671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672 (exit $ac_status); }; }; then
14673 ac_cv_lib_m_scalbnl=yes
14674else
14675 echo "$as_me: failed program was:" >&5
14676sed 's/^/| /' conftest.$ac_ext >&5
14677
14678ac_cv_lib_m_scalbnl=no
14679fi
14680rm -f conftest.err conftest.$ac_objext \
14681 conftest$ac_exeext conftest.$ac_ext
14682LIBS=$ac_check_lib_save_LIBS
14683fi
14684echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
14685echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
14686if test $ac_cv_lib_m_scalbnl = yes; then
14687
14688cat >>confdefs.h <<\_ACEOF
14689#define HAVE_SCALBNL 1
14690_ACEOF
14691
14692fi
14693
14694echo "$as_me:$LINENO: checking for sinf in -lm" >&5
14695echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
14696if test "${ac_cv_lib_m_sinf+set}" = set; then
14697 echo $ECHO_N "(cached) $ECHO_C" >&6
14698else
14699 ac_check_lib_save_LIBS=$LIBS
14700LIBS="-lm $LIBS"
14701if test x$gcc_no_link = xyes; then
14702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14703echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14704 { (exit 1); exit 1; }; }
14705fi
14706cat >conftest.$ac_ext <<_ACEOF
14707/* confdefs.h. */
14708_ACEOF
14709cat confdefs.h >>conftest.$ac_ext
14710cat >>conftest.$ac_ext <<_ACEOF
14711/* end confdefs.h. */
14712
14713/* Override any gcc2 internal prototype to avoid an error. */
14714#ifdef __cplusplus
14715extern "C"
14716#endif
14717/* We use char because int might match the return type of a gcc2
14718 builtin and then its argument prototype would still apply. */
14719char sinf ();
14720int
14721main ()
14722{
14723sinf ();
14724 ;
14725 return 0;
14726}
14727_ACEOF
14728rm -f conftest.$ac_objext conftest$ac_exeext
14729if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14730 (eval $ac_link) 2>conftest.er1
14731 ac_status=$?
14732 grep -v '^ *+' conftest.er1 >conftest.err
14733 rm -f conftest.er1
14734 cat conftest.err >&5
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); } &&
b56cb1ff 14737 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 14738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14739 (eval $ac_try) 2>&5
14740 ac_status=$?
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
14746 ac_status=$?
14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); }; }; then
14749 ac_cv_lib_m_sinf=yes
14750else
14751 echo "$as_me: failed program was:" >&5
14752sed 's/^/| /' conftest.$ac_ext >&5
14753
14754ac_cv_lib_m_sinf=no
14755fi
14756rm -f conftest.err conftest.$ac_objext \
14757 conftest$ac_exeext conftest.$ac_ext
14758LIBS=$ac_check_lib_save_LIBS
14759fi
14760echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
14761echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
14762if test $ac_cv_lib_m_sinf = yes; then
14763
14764cat >>confdefs.h <<\_ACEOF
14765#define HAVE_SINF 1
14766_ACEOF
14767
14768fi
14769
14770echo "$as_me:$LINENO: checking for sin in -lm" >&5
14771echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
14772if test "${ac_cv_lib_m_sin+set}" = set; then
14773 echo $ECHO_N "(cached) $ECHO_C" >&6
14774else
14775 ac_check_lib_save_LIBS=$LIBS
14776LIBS="-lm $LIBS"
14777if test x$gcc_no_link = xyes; then
14778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14779echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14780 { (exit 1); exit 1; }; }
14781fi
14782cat >conftest.$ac_ext <<_ACEOF
14783/* confdefs.h. */
14784_ACEOF
14785cat confdefs.h >>conftest.$ac_ext
14786cat >>conftest.$ac_ext <<_ACEOF
14787/* end confdefs.h. */
14788
14789/* Override any gcc2 internal prototype to avoid an error. */
14790#ifdef __cplusplus
14791extern "C"
14792#endif
14793/* We use char because int might match the return type of a gcc2
14794 builtin and then its argument prototype would still apply. */
14795char sin ();
14796int
14797main ()
14798{
14799sin ();
14800 ;
14801 return 0;
14802}
14803_ACEOF
14804rm -f conftest.$ac_objext conftest$ac_exeext
14805if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14806 (eval $ac_link) 2>conftest.er1
14807 ac_status=$?
14808 grep -v '^ *+' conftest.er1 >conftest.err
14809 rm -f conftest.er1
14810 cat conftest.err >&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); } &&
b56cb1ff 14813 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 14814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14815 (eval $ac_try) 2>&5
14816 ac_status=$?
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); }; } &&
14819 { ac_try='test -s conftest$ac_exeext'
14820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14821 (eval $ac_try) 2>&5
14822 ac_status=$?
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); }; }; then
14825 ac_cv_lib_m_sin=yes
14826else
14827 echo "$as_me: failed program was:" >&5
14828sed 's/^/| /' conftest.$ac_ext >&5
14829
14830ac_cv_lib_m_sin=no
14831fi
14832rm -f conftest.err conftest.$ac_objext \
14833 conftest$ac_exeext conftest.$ac_ext
14834LIBS=$ac_check_lib_save_LIBS
14835fi
14836echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
14837echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
14838if test $ac_cv_lib_m_sin = yes; then
14839
14840cat >>confdefs.h <<\_ACEOF
14841#define HAVE_SIN 1
14842_ACEOF
14843
14844fi
14845
14846echo "$as_me:$LINENO: checking for sinl in -lm" >&5
14847echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
14848if test "${ac_cv_lib_m_sinl+set}" = set; then
14849 echo $ECHO_N "(cached) $ECHO_C" >&6
14850else
14851 ac_check_lib_save_LIBS=$LIBS
14852LIBS="-lm $LIBS"
14853if test x$gcc_no_link = xyes; then
14854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14855echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14856 { (exit 1); exit 1; }; }
14857fi
14858cat >conftest.$ac_ext <<_ACEOF
14859/* confdefs.h. */
14860_ACEOF
14861cat confdefs.h >>conftest.$ac_ext
14862cat >>conftest.$ac_ext <<_ACEOF
14863/* end confdefs.h. */
14864
14865/* Override any gcc2 internal prototype to avoid an error. */
14866#ifdef __cplusplus
14867extern "C"
14868#endif
14869/* We use char because int might match the return type of a gcc2
14870 builtin and then its argument prototype would still apply. */
14871char sinl ();
14872int
14873main ()
14874{
14875sinl ();
14876 ;
14877 return 0;
14878}
14879_ACEOF
14880rm -f conftest.$ac_objext conftest$ac_exeext
14881if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14882 (eval $ac_link) 2>conftest.er1
14883 ac_status=$?
14884 grep -v '^ *+' conftest.er1 >conftest.err
14885 rm -f conftest.er1
14886 cat conftest.err >&5
14887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14888 (exit $ac_status); } &&
b56cb1ff 14889 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 14890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14891 (eval $ac_try) 2>&5
14892 ac_status=$?
14893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14894 (exit $ac_status); }; } &&
14895 { ac_try='test -s conftest$ac_exeext'
14896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14897 (eval $ac_try) 2>&5
14898 ac_status=$?
14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); }; }; then
14901 ac_cv_lib_m_sinl=yes
14902else
14903 echo "$as_me: failed program was:" >&5
14904sed 's/^/| /' conftest.$ac_ext >&5
14905
14906ac_cv_lib_m_sinl=no
14907fi
14908rm -f conftest.err conftest.$ac_objext \
14909 conftest$ac_exeext conftest.$ac_ext
14910LIBS=$ac_check_lib_save_LIBS
14911fi
14912echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
14913echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
14914if test $ac_cv_lib_m_sinl = yes; then
14915
14916cat >>confdefs.h <<\_ACEOF
14917#define HAVE_SINL 1
14918_ACEOF
14919
14920fi
14921
14922echo "$as_me:$LINENO: checking for csinf in -lm" >&5
14923echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
14924if test "${ac_cv_lib_m_csinf+set}" = set; then
14925 echo $ECHO_N "(cached) $ECHO_C" >&6
14926else
14927 ac_check_lib_save_LIBS=$LIBS
14928LIBS="-lm $LIBS"
14929if test x$gcc_no_link = xyes; then
14930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14931echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14932 { (exit 1); exit 1; }; }
14933fi
14934cat >conftest.$ac_ext <<_ACEOF
14935/* confdefs.h. */
14936_ACEOF
14937cat confdefs.h >>conftest.$ac_ext
14938cat >>conftest.$ac_ext <<_ACEOF
14939/* end confdefs.h. */
14940
14941/* Override any gcc2 internal prototype to avoid an error. */
14942#ifdef __cplusplus
14943extern "C"
14944#endif
14945/* We use char because int might match the return type of a gcc2
14946 builtin and then its argument prototype would still apply. */
14947char csinf ();
14948int
14949main ()
14950{
14951csinf ();
14952 ;
14953 return 0;
14954}
14955_ACEOF
14956rm -f conftest.$ac_objext conftest$ac_exeext
14957if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14958 (eval $ac_link) 2>conftest.er1
14959 ac_status=$?
14960 grep -v '^ *+' conftest.er1 >conftest.err
14961 rm -f conftest.er1
14962 cat conftest.err >&5
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); } &&
b56cb1ff 14965 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 14966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14967 (eval $ac_try) 2>&5
14968 ac_status=$?
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); }; } &&
14971 { ac_try='test -s conftest$ac_exeext'
14972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14973 (eval $ac_try) 2>&5
14974 ac_status=$?
14975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14976 (exit $ac_status); }; }; then
14977 ac_cv_lib_m_csinf=yes
14978else
14979 echo "$as_me: failed program was:" >&5
14980sed 's/^/| /' conftest.$ac_ext >&5
14981
14982ac_cv_lib_m_csinf=no
14983fi
14984rm -f conftest.err conftest.$ac_objext \
14985 conftest$ac_exeext conftest.$ac_ext
14986LIBS=$ac_check_lib_save_LIBS
14987fi
14988echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
14989echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
14990if test $ac_cv_lib_m_csinf = yes; then
14991
14992cat >>confdefs.h <<\_ACEOF
14993#define HAVE_CSINF 1
14994_ACEOF
14995
14996fi
14997
14998echo "$as_me:$LINENO: checking for csin in -lm" >&5
14999echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
15000if test "${ac_cv_lib_m_csin+set}" = set; then
15001 echo $ECHO_N "(cached) $ECHO_C" >&6
15002else
15003 ac_check_lib_save_LIBS=$LIBS
15004LIBS="-lm $LIBS"
15005if test x$gcc_no_link = xyes; then
15006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15007echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15008 { (exit 1); exit 1; }; }
15009fi
15010cat >conftest.$ac_ext <<_ACEOF
15011/* confdefs.h. */
15012_ACEOF
15013cat confdefs.h >>conftest.$ac_ext
15014cat >>conftest.$ac_ext <<_ACEOF
15015/* end confdefs.h. */
15016
15017/* Override any gcc2 internal prototype to avoid an error. */
15018#ifdef __cplusplus
15019extern "C"
15020#endif
15021/* We use char because int might match the return type of a gcc2
15022 builtin and then its argument prototype would still apply. */
15023char csin ();
15024int
15025main ()
15026{
15027csin ();
15028 ;
15029 return 0;
15030}
15031_ACEOF
15032rm -f conftest.$ac_objext conftest$ac_exeext
15033if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15034 (eval $ac_link) 2>conftest.er1
15035 ac_status=$?
15036 grep -v '^ *+' conftest.er1 >conftest.err
15037 rm -f conftest.er1
15038 cat conftest.err >&5
15039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040 (exit $ac_status); } &&
b56cb1ff 15041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 15042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15043 (eval $ac_try) 2>&5
15044 ac_status=$?
15045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15046 (exit $ac_status); }; } &&
15047 { ac_try='test -s conftest$ac_exeext'
15048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15049 (eval $ac_try) 2>&5
15050 ac_status=$?
15051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15052 (exit $ac_status); }; }; then
15053 ac_cv_lib_m_csin=yes
15054else
15055 echo "$as_me: failed program was:" >&5
15056sed 's/^/| /' conftest.$ac_ext >&5
15057
15058ac_cv_lib_m_csin=no
15059fi
15060rm -f conftest.err conftest.$ac_objext \
15061 conftest$ac_exeext conftest.$ac_ext
15062LIBS=$ac_check_lib_save_LIBS
15063fi
15064echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
15065echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
15066if test $ac_cv_lib_m_csin = yes; then
15067
15068cat >>confdefs.h <<\_ACEOF
15069#define HAVE_CSIN 1
15070_ACEOF
15071
15072fi
15073
15074echo "$as_me:$LINENO: checking for csinl in -lm" >&5
15075echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
15076if test "${ac_cv_lib_m_csinl+set}" = set; then
15077 echo $ECHO_N "(cached) $ECHO_C" >&6
15078else
15079 ac_check_lib_save_LIBS=$LIBS
15080LIBS="-lm $LIBS"
15081if test x$gcc_no_link = xyes; then
15082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15083echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15084 { (exit 1); exit 1; }; }
15085fi
15086cat >conftest.$ac_ext <<_ACEOF
15087/* confdefs.h. */
15088_ACEOF
15089cat confdefs.h >>conftest.$ac_ext
15090cat >>conftest.$ac_ext <<_ACEOF
15091/* end confdefs.h. */
15092
15093/* Override any gcc2 internal prototype to avoid an error. */
15094#ifdef __cplusplus
15095extern "C"
15096#endif
15097/* We use char because int might match the return type of a gcc2
15098 builtin and then its argument prototype would still apply. */
15099char csinl ();
15100int
15101main ()
15102{
15103csinl ();
15104 ;
15105 return 0;
15106}
15107_ACEOF
15108rm -f conftest.$ac_objext conftest$ac_exeext
15109if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15110 (eval $ac_link) 2>conftest.er1
15111 ac_status=$?
15112 grep -v '^ *+' conftest.er1 >conftest.err
15113 rm -f conftest.er1
15114 cat conftest.err >&5
15115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15116 (exit $ac_status); } &&
b56cb1ff 15117 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 15118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15119 (eval $ac_try) 2>&5
15120 ac_status=$?
15121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15122 (exit $ac_status); }; } &&
15123 { ac_try='test -s conftest$ac_exeext'
15124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15125 (eval $ac_try) 2>&5
15126 ac_status=$?
15127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15128 (exit $ac_status); }; }; then
15129 ac_cv_lib_m_csinl=yes
15130else
15131 echo "$as_me: failed program was:" >&5
15132sed 's/^/| /' conftest.$ac_ext >&5
15133
15134ac_cv_lib_m_csinl=no
15135fi
15136rm -f conftest.err conftest.$ac_objext \
15137 conftest$ac_exeext conftest.$ac_ext
15138LIBS=$ac_check_lib_save_LIBS
15139fi
15140echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
15141echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
15142if test $ac_cv_lib_m_csinl = yes; then
15143
15144cat >>confdefs.h <<\_ACEOF
15145#define HAVE_CSINL 1
15146_ACEOF
15147
15148fi
15149
15150echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
15151echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
15152if test "${ac_cv_lib_m_sinhf+set}" = set; then
15153 echo $ECHO_N "(cached) $ECHO_C" >&6
15154else
15155 ac_check_lib_save_LIBS=$LIBS
15156LIBS="-lm $LIBS"
15157if test x$gcc_no_link = xyes; then
15158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15159echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15160 { (exit 1); exit 1; }; }
15161fi
15162cat >conftest.$ac_ext <<_ACEOF
15163/* confdefs.h. */
15164_ACEOF
15165cat confdefs.h >>conftest.$ac_ext
15166cat >>conftest.$ac_ext <<_ACEOF
15167/* end confdefs.h. */
15168
15169/* Override any gcc2 internal prototype to avoid an error. */
15170#ifdef __cplusplus
15171extern "C"
15172#endif
15173/* We use char because int might match the return type of a gcc2
15174 builtin and then its argument prototype would still apply. */
15175char sinhf ();
15176int
15177main ()
15178{
15179sinhf ();
15180 ;
15181 return 0;
15182}
15183_ACEOF
15184rm -f conftest.$ac_objext conftest$ac_exeext
15185if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15186 (eval $ac_link) 2>conftest.er1
15187 ac_status=$?
15188 grep -v '^ *+' conftest.er1 >conftest.err
15189 rm -f conftest.er1
15190 cat conftest.err >&5
15191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192 (exit $ac_status); } &&
b56cb1ff 15193 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 15194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15195 (eval $ac_try) 2>&5
15196 ac_status=$?
15197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15198 (exit $ac_status); }; } &&
15199 { ac_try='test -s conftest$ac_exeext'
15200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15201 (eval $ac_try) 2>&5
15202 ac_status=$?
15203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15204 (exit $ac_status); }; }; then
15205 ac_cv_lib_m_sinhf=yes
15206else
15207 echo "$as_me: failed program was:" >&5
15208sed 's/^/| /' conftest.$ac_ext >&5
15209
15210ac_cv_lib_m_sinhf=no
15211fi
15212rm -f conftest.err conftest.$ac_objext \
15213 conftest$ac_exeext conftest.$ac_ext
15214LIBS=$ac_check_lib_save_LIBS
15215fi
15216echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
15217echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
15218if test $ac_cv_lib_m_sinhf = yes; then
15219
15220cat >>confdefs.h <<\_ACEOF
15221#define HAVE_SINHF 1
15222_ACEOF
15223
15224fi
15225
15226echo "$as_me:$LINENO: checking for sinh in -lm" >&5
15227echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
15228if test "${ac_cv_lib_m_sinh+set}" = set; then
15229 echo $ECHO_N "(cached) $ECHO_C" >&6
15230else
15231 ac_check_lib_save_LIBS=$LIBS
15232LIBS="-lm $LIBS"
15233if test x$gcc_no_link = xyes; then
15234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15235echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15236 { (exit 1); exit 1; }; }
15237fi
15238cat >conftest.$ac_ext <<_ACEOF
15239/* confdefs.h. */
15240_ACEOF
15241cat confdefs.h >>conftest.$ac_ext
15242cat >>conftest.$ac_ext <<_ACEOF
15243/* end confdefs.h. */
15244
15245/* Override any gcc2 internal prototype to avoid an error. */
15246#ifdef __cplusplus
15247extern "C"
15248#endif
15249/* We use char because int might match the return type of a gcc2
15250 builtin and then its argument prototype would still apply. */
15251char sinh ();
15252int
15253main ()
15254{
15255sinh ();
15256 ;
15257 return 0;
15258}
15259_ACEOF
15260rm -f conftest.$ac_objext conftest$ac_exeext
15261if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15262 (eval $ac_link) 2>conftest.er1
15263 ac_status=$?
15264 grep -v '^ *+' conftest.er1 >conftest.err
15265 rm -f conftest.er1
15266 cat conftest.err >&5
15267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15268 (exit $ac_status); } &&
b56cb1ff 15269 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 15270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15271 (eval $ac_try) 2>&5
15272 ac_status=$?
15273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15274 (exit $ac_status); }; } &&
15275 { ac_try='test -s conftest$ac_exeext'
15276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15277 (eval $ac_try) 2>&5
15278 ac_status=$?
15279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15280 (exit $ac_status); }; }; then
15281 ac_cv_lib_m_sinh=yes
15282else
15283 echo "$as_me: failed program was:" >&5
15284sed 's/^/| /' conftest.$ac_ext >&5
15285
15286ac_cv_lib_m_sinh=no
15287fi
15288rm -f conftest.err conftest.$ac_objext \
15289 conftest$ac_exeext conftest.$ac_ext
15290LIBS=$ac_check_lib_save_LIBS
15291fi
15292echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
15293echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
15294if test $ac_cv_lib_m_sinh = yes; then
15295
15296cat >>confdefs.h <<\_ACEOF
15297#define HAVE_SINH 1
15298_ACEOF
15299
15300fi
15301
15302echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
15303echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
15304if test "${ac_cv_lib_m_sinhl+set}" = set; then
15305 echo $ECHO_N "(cached) $ECHO_C" >&6
15306else
15307 ac_check_lib_save_LIBS=$LIBS
15308LIBS="-lm $LIBS"
15309if test x$gcc_no_link = xyes; then
15310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15311echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15312 { (exit 1); exit 1; }; }
15313fi
15314cat >conftest.$ac_ext <<_ACEOF
15315/* confdefs.h. */
15316_ACEOF
15317cat confdefs.h >>conftest.$ac_ext
15318cat >>conftest.$ac_ext <<_ACEOF
15319/* end confdefs.h. */
15320
15321/* Override any gcc2 internal prototype to avoid an error. */
15322#ifdef __cplusplus
15323extern "C"
15324#endif
15325/* We use char because int might match the return type of a gcc2
15326 builtin and then its argument prototype would still apply. */
15327char sinhl ();
15328int
15329main ()
15330{
15331sinhl ();
15332 ;
15333 return 0;
15334}
15335_ACEOF
15336rm -f conftest.$ac_objext conftest$ac_exeext
15337if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15338 (eval $ac_link) 2>conftest.er1
15339 ac_status=$?
15340 grep -v '^ *+' conftest.er1 >conftest.err
15341 rm -f conftest.er1
15342 cat conftest.err >&5
15343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15344 (exit $ac_status); } &&
b56cb1ff 15345 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 15346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15347 (eval $ac_try) 2>&5
15348 ac_status=$?
15349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15350 (exit $ac_status); }; } &&
15351 { ac_try='test -s conftest$ac_exeext'
15352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15353 (eval $ac_try) 2>&5
15354 ac_status=$?
15355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15356 (exit $ac_status); }; }; then
15357 ac_cv_lib_m_sinhl=yes
15358else
15359 echo "$as_me: failed program was:" >&5
15360sed 's/^/| /' conftest.$ac_ext >&5
15361
15362ac_cv_lib_m_sinhl=no
15363fi
15364rm -f conftest.err conftest.$ac_objext \
15365 conftest$ac_exeext conftest.$ac_ext
15366LIBS=$ac_check_lib_save_LIBS
15367fi
15368echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
15369echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
15370if test $ac_cv_lib_m_sinhl = yes; then
15371
15372cat >>confdefs.h <<\_ACEOF
15373#define HAVE_SINHL 1
15374_ACEOF
15375
15376fi
15377
15378echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
15379echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
15380if test "${ac_cv_lib_m_csinhf+set}" = set; then
15381 echo $ECHO_N "(cached) $ECHO_C" >&6
15382else
15383 ac_check_lib_save_LIBS=$LIBS
15384LIBS="-lm $LIBS"
15385if test x$gcc_no_link = xyes; then
15386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15387echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15388 { (exit 1); exit 1; }; }
15389fi
15390cat >conftest.$ac_ext <<_ACEOF
15391/* confdefs.h. */
15392_ACEOF
15393cat confdefs.h >>conftest.$ac_ext
15394cat >>conftest.$ac_ext <<_ACEOF
15395/* end confdefs.h. */
15396
15397/* Override any gcc2 internal prototype to avoid an error. */
15398#ifdef __cplusplus
15399extern "C"
15400#endif
15401/* We use char because int might match the return type of a gcc2
15402 builtin and then its argument prototype would still apply. */
15403char csinhf ();
15404int
15405main ()
15406{
15407csinhf ();
15408 ;
15409 return 0;
15410}
15411_ACEOF
15412rm -f conftest.$ac_objext conftest$ac_exeext
15413if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15414 (eval $ac_link) 2>conftest.er1
15415 ac_status=$?
15416 grep -v '^ *+' conftest.er1 >conftest.err
15417 rm -f conftest.er1
15418 cat conftest.err >&5
15419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15420 (exit $ac_status); } &&
b56cb1ff 15421 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 15422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15423 (eval $ac_try) 2>&5
15424 ac_status=$?
15425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15426 (exit $ac_status); }; } &&
15427 { ac_try='test -s conftest$ac_exeext'
15428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15429 (eval $ac_try) 2>&5
15430 ac_status=$?
15431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15432 (exit $ac_status); }; }; then
15433 ac_cv_lib_m_csinhf=yes
15434else
15435 echo "$as_me: failed program was:" >&5
15436sed 's/^/| /' conftest.$ac_ext >&5
15437
15438ac_cv_lib_m_csinhf=no
15439fi
15440rm -f conftest.err conftest.$ac_objext \
15441 conftest$ac_exeext conftest.$ac_ext
15442LIBS=$ac_check_lib_save_LIBS
15443fi
15444echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
15445echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
15446if test $ac_cv_lib_m_csinhf = yes; then
15447
15448cat >>confdefs.h <<\_ACEOF
15449#define HAVE_CSINHF 1
15450_ACEOF
15451
15452fi
15453
15454echo "$as_me:$LINENO: checking for csinh in -lm" >&5
15455echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
15456if test "${ac_cv_lib_m_csinh+set}" = set; then
15457 echo $ECHO_N "(cached) $ECHO_C" >&6
15458else
15459 ac_check_lib_save_LIBS=$LIBS
15460LIBS="-lm $LIBS"
15461if test x$gcc_no_link = xyes; then
15462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15463echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15464 { (exit 1); exit 1; }; }
15465fi
15466cat >conftest.$ac_ext <<_ACEOF
15467/* confdefs.h. */
15468_ACEOF
15469cat confdefs.h >>conftest.$ac_ext
15470cat >>conftest.$ac_ext <<_ACEOF
15471/* end confdefs.h. */
15472
15473/* Override any gcc2 internal prototype to avoid an error. */
15474#ifdef __cplusplus
15475extern "C"
15476#endif
15477/* We use char because int might match the return type of a gcc2
15478 builtin and then its argument prototype would still apply. */
15479char csinh ();
15480int
15481main ()
15482{
15483csinh ();
15484 ;
15485 return 0;
15486}
15487_ACEOF
15488rm -f conftest.$ac_objext conftest$ac_exeext
15489if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15490 (eval $ac_link) 2>conftest.er1
15491 ac_status=$?
15492 grep -v '^ *+' conftest.er1 >conftest.err
15493 rm -f conftest.er1
15494 cat conftest.err >&5
15495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15496 (exit $ac_status); } &&
b56cb1ff 15497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 15498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15499 (eval $ac_try) 2>&5
15500 ac_status=$?
15501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15502 (exit $ac_status); }; } &&
15503 { ac_try='test -s conftest$ac_exeext'
15504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15505 (eval $ac_try) 2>&5
15506 ac_status=$?
15507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15508 (exit $ac_status); }; }; then
15509 ac_cv_lib_m_csinh=yes
15510else
15511 echo "$as_me: failed program was:" >&5
15512sed 's/^/| /' conftest.$ac_ext >&5
15513
15514ac_cv_lib_m_csinh=no
15515fi
15516rm -f conftest.err conftest.$ac_objext \
15517 conftest$ac_exeext conftest.$ac_ext
15518LIBS=$ac_check_lib_save_LIBS
15519fi
15520echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
15521echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
15522if test $ac_cv_lib_m_csinh = yes; then
15523
15524cat >>confdefs.h <<\_ACEOF
15525#define HAVE_CSINH 1
15526_ACEOF
15527
15528fi
15529
15530echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
15531echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
15532if test "${ac_cv_lib_m_csinhl+set}" = set; then
15533 echo $ECHO_N "(cached) $ECHO_C" >&6
15534else
15535 ac_check_lib_save_LIBS=$LIBS
15536LIBS="-lm $LIBS"
15537if test x$gcc_no_link = xyes; then
15538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15539echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15540 { (exit 1); exit 1; }; }
15541fi
15542cat >conftest.$ac_ext <<_ACEOF
15543/* confdefs.h. */
15544_ACEOF
15545cat confdefs.h >>conftest.$ac_ext
15546cat >>conftest.$ac_ext <<_ACEOF
15547/* end confdefs.h. */
15548
15549/* Override any gcc2 internal prototype to avoid an error. */
15550#ifdef __cplusplus
15551extern "C"
15552#endif
15553/* We use char because int might match the return type of a gcc2
15554 builtin and then its argument prototype would still apply. */
15555char csinhl ();
15556int
15557main ()
15558{
15559csinhl ();
15560 ;
15561 return 0;
15562}
15563_ACEOF
15564rm -f conftest.$ac_objext conftest$ac_exeext
15565if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15566 (eval $ac_link) 2>conftest.er1
15567 ac_status=$?
15568 grep -v '^ *+' conftest.er1 >conftest.err
15569 rm -f conftest.er1
15570 cat conftest.err >&5
15571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572 (exit $ac_status); } &&
b56cb1ff 15573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 15574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15575 (eval $ac_try) 2>&5
15576 ac_status=$?
15577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15578 (exit $ac_status); }; } &&
15579 { ac_try='test -s conftest$ac_exeext'
15580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15581 (eval $ac_try) 2>&5
15582 ac_status=$?
15583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584 (exit $ac_status); }; }; then
15585 ac_cv_lib_m_csinhl=yes
15586else
15587 echo "$as_me: failed program was:" >&5
15588sed 's/^/| /' conftest.$ac_ext >&5
15589
15590ac_cv_lib_m_csinhl=no
15591fi
15592rm -f conftest.err conftest.$ac_objext \
15593 conftest$ac_exeext conftest.$ac_ext
15594LIBS=$ac_check_lib_save_LIBS
15595fi
15596echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
15597echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
15598if test $ac_cv_lib_m_csinhl = yes; then
15599
15600cat >>confdefs.h <<\_ACEOF
15601#define HAVE_CSINHL 1
15602_ACEOF
15603
15604fi
15605
15606echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
15607echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
15608if test "${ac_cv_lib_m_sqrtf+set}" = set; then
15609 echo $ECHO_N "(cached) $ECHO_C" >&6
15610else
15611 ac_check_lib_save_LIBS=$LIBS
15612LIBS="-lm $LIBS"
15613if test x$gcc_no_link = xyes; then
15614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15615echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15616 { (exit 1); exit 1; }; }
15617fi
15618cat >conftest.$ac_ext <<_ACEOF
15619/* confdefs.h. */
15620_ACEOF
15621cat confdefs.h >>conftest.$ac_ext
15622cat >>conftest.$ac_ext <<_ACEOF
15623/* end confdefs.h. */
15624
15625/* Override any gcc2 internal prototype to avoid an error. */
15626#ifdef __cplusplus
15627extern "C"
15628#endif
15629/* We use char because int might match the return type of a gcc2
15630 builtin and then its argument prototype would still apply. */
15631char sqrtf ();
15632int
15633main ()
15634{
15635sqrtf ();
15636 ;
15637 return 0;
15638}
15639_ACEOF
15640rm -f conftest.$ac_objext conftest$ac_exeext
15641if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15642 (eval $ac_link) 2>conftest.er1
15643 ac_status=$?
15644 grep -v '^ *+' conftest.er1 >conftest.err
15645 rm -f conftest.er1
15646 cat conftest.err >&5
15647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15648 (exit $ac_status); } &&
b56cb1ff 15649 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 15650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15651 (eval $ac_try) 2>&5
15652 ac_status=$?
15653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15654 (exit $ac_status); }; } &&
15655 { ac_try='test -s conftest$ac_exeext'
15656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15657 (eval $ac_try) 2>&5
15658 ac_status=$?
15659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660 (exit $ac_status); }; }; then
15661 ac_cv_lib_m_sqrtf=yes
15662else
15663 echo "$as_me: failed program was:" >&5
15664sed 's/^/| /' conftest.$ac_ext >&5
15665
15666ac_cv_lib_m_sqrtf=no
15667fi
15668rm -f conftest.err conftest.$ac_objext \
15669 conftest$ac_exeext conftest.$ac_ext
15670LIBS=$ac_check_lib_save_LIBS
15671fi
15672echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
15673echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
15674if test $ac_cv_lib_m_sqrtf = yes; then
15675
15676cat >>confdefs.h <<\_ACEOF
15677#define HAVE_SQRTF 1
15678_ACEOF
15679
15680fi
15681
15682echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
15683echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
15684if test "${ac_cv_lib_m_sqrt+set}" = set; then
15685 echo $ECHO_N "(cached) $ECHO_C" >&6
15686else
15687 ac_check_lib_save_LIBS=$LIBS
15688LIBS="-lm $LIBS"
15689if test x$gcc_no_link = xyes; then
15690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15691echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15692 { (exit 1); exit 1; }; }
15693fi
15694cat >conftest.$ac_ext <<_ACEOF
15695/* confdefs.h. */
15696_ACEOF
15697cat confdefs.h >>conftest.$ac_ext
15698cat >>conftest.$ac_ext <<_ACEOF
15699/* end confdefs.h. */
15700
15701/* Override any gcc2 internal prototype to avoid an error. */
15702#ifdef __cplusplus
15703extern "C"
15704#endif
15705/* We use char because int might match the return type of a gcc2
15706 builtin and then its argument prototype would still apply. */
15707char sqrt ();
15708int
15709main ()
15710{
15711sqrt ();
15712 ;
15713 return 0;
15714}
15715_ACEOF
15716rm -f conftest.$ac_objext conftest$ac_exeext
15717if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15718 (eval $ac_link) 2>conftest.er1
15719 ac_status=$?
15720 grep -v '^ *+' conftest.er1 >conftest.err
15721 rm -f conftest.er1
15722 cat conftest.err >&5
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); } &&
b56cb1ff 15725 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 15726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15727 (eval $ac_try) 2>&5
15728 ac_status=$?
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); }; } &&
15731 { ac_try='test -s conftest$ac_exeext'
15732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15733 (eval $ac_try) 2>&5
15734 ac_status=$?
15735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736 (exit $ac_status); }; }; then
15737 ac_cv_lib_m_sqrt=yes
15738else
15739 echo "$as_me: failed program was:" >&5
15740sed 's/^/| /' conftest.$ac_ext >&5
15741
15742ac_cv_lib_m_sqrt=no
15743fi
15744rm -f conftest.err conftest.$ac_objext \
15745 conftest$ac_exeext conftest.$ac_ext
15746LIBS=$ac_check_lib_save_LIBS
15747fi
15748echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
15749echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
15750if test $ac_cv_lib_m_sqrt = yes; then
15751
15752cat >>confdefs.h <<\_ACEOF
15753#define HAVE_SQRT 1
15754_ACEOF
15755
15756fi
15757
15758echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
15759echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
15760if test "${ac_cv_lib_m_sqrtl+set}" = set; then
15761 echo $ECHO_N "(cached) $ECHO_C" >&6
15762else
15763 ac_check_lib_save_LIBS=$LIBS
15764LIBS="-lm $LIBS"
15765if test x$gcc_no_link = xyes; then
15766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15767echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15768 { (exit 1); exit 1; }; }
15769fi
15770cat >conftest.$ac_ext <<_ACEOF
15771/* confdefs.h. */
15772_ACEOF
15773cat confdefs.h >>conftest.$ac_ext
15774cat >>conftest.$ac_ext <<_ACEOF
15775/* end confdefs.h. */
15776
15777/* Override any gcc2 internal prototype to avoid an error. */
15778#ifdef __cplusplus
15779extern "C"
15780#endif
15781/* We use char because int might match the return type of a gcc2
15782 builtin and then its argument prototype would still apply. */
15783char sqrtl ();
15784int
15785main ()
15786{
15787sqrtl ();
15788 ;
15789 return 0;
15790}
15791_ACEOF
15792rm -f conftest.$ac_objext conftest$ac_exeext
15793if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15794 (eval $ac_link) 2>conftest.er1
15795 ac_status=$?
15796 grep -v '^ *+' conftest.er1 >conftest.err
15797 rm -f conftest.er1
15798 cat conftest.err >&5
15799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15800 (exit $ac_status); } &&
b56cb1ff 15801 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 15802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15803 (eval $ac_try) 2>&5
15804 ac_status=$?
15805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15806 (exit $ac_status); }; } &&
15807 { ac_try='test -s conftest$ac_exeext'
15808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15809 (eval $ac_try) 2>&5
15810 ac_status=$?
15811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15812 (exit $ac_status); }; }; then
15813 ac_cv_lib_m_sqrtl=yes
15814else
15815 echo "$as_me: failed program was:" >&5
15816sed 's/^/| /' conftest.$ac_ext >&5
15817
15818ac_cv_lib_m_sqrtl=no
15819fi
15820rm -f conftest.err conftest.$ac_objext \
15821 conftest$ac_exeext conftest.$ac_ext
15822LIBS=$ac_check_lib_save_LIBS
15823fi
15824echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
15825echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
15826if test $ac_cv_lib_m_sqrtl = yes; then
15827
15828cat >>confdefs.h <<\_ACEOF
15829#define HAVE_SQRTL 1
15830_ACEOF
15831
15832fi
15833
15834echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
15835echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
15836if test "${ac_cv_lib_m_csqrtf+set}" = set; then
15837 echo $ECHO_N "(cached) $ECHO_C" >&6
15838else
15839 ac_check_lib_save_LIBS=$LIBS
15840LIBS="-lm $LIBS"
15841if test x$gcc_no_link = xyes; then
15842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15843echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15844 { (exit 1); exit 1; }; }
15845fi
15846cat >conftest.$ac_ext <<_ACEOF
15847/* confdefs.h. */
15848_ACEOF
15849cat confdefs.h >>conftest.$ac_ext
15850cat >>conftest.$ac_ext <<_ACEOF
15851/* end confdefs.h. */
15852
15853/* Override any gcc2 internal prototype to avoid an error. */
15854#ifdef __cplusplus
15855extern "C"
15856#endif
15857/* We use char because int might match the return type of a gcc2
15858 builtin and then its argument prototype would still apply. */
15859char csqrtf ();
15860int
15861main ()
15862{
15863csqrtf ();
15864 ;
15865 return 0;
15866}
15867_ACEOF
15868rm -f conftest.$ac_objext conftest$ac_exeext
15869if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15870 (eval $ac_link) 2>conftest.er1
15871 ac_status=$?
15872 grep -v '^ *+' conftest.er1 >conftest.err
15873 rm -f conftest.er1
15874 cat conftest.err >&5
15875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15876 (exit $ac_status); } &&
b56cb1ff 15877 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 15878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15879 (eval $ac_try) 2>&5
15880 ac_status=$?
15881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15882 (exit $ac_status); }; } &&
15883 { ac_try='test -s conftest$ac_exeext'
15884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15885 (eval $ac_try) 2>&5
15886 ac_status=$?
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); }; }; then
15889 ac_cv_lib_m_csqrtf=yes
15890else
15891 echo "$as_me: failed program was:" >&5
15892sed 's/^/| /' conftest.$ac_ext >&5
15893
15894ac_cv_lib_m_csqrtf=no
15895fi
15896rm -f conftest.err conftest.$ac_objext \
15897 conftest$ac_exeext conftest.$ac_ext
15898LIBS=$ac_check_lib_save_LIBS
15899fi
15900echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
15901echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
15902if test $ac_cv_lib_m_csqrtf = yes; then
15903
15904cat >>confdefs.h <<\_ACEOF
15905#define HAVE_CSQRTF 1
15906_ACEOF
15907
15908fi
15909
15910echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
15911echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
15912if test "${ac_cv_lib_m_csqrt+set}" = set; then
15913 echo $ECHO_N "(cached) $ECHO_C" >&6
15914else
15915 ac_check_lib_save_LIBS=$LIBS
15916LIBS="-lm $LIBS"
15917if test x$gcc_no_link = xyes; then
15918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15919echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15920 { (exit 1); exit 1; }; }
15921fi
15922cat >conftest.$ac_ext <<_ACEOF
15923/* confdefs.h. */
15924_ACEOF
15925cat confdefs.h >>conftest.$ac_ext
15926cat >>conftest.$ac_ext <<_ACEOF
15927/* end confdefs.h. */
15928
15929/* Override any gcc2 internal prototype to avoid an error. */
15930#ifdef __cplusplus
15931extern "C"
15932#endif
15933/* We use char because int might match the return type of a gcc2
15934 builtin and then its argument prototype would still apply. */
15935char csqrt ();
15936int
15937main ()
15938{
15939csqrt ();
15940 ;
15941 return 0;
15942}
15943_ACEOF
15944rm -f conftest.$ac_objext conftest$ac_exeext
15945if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15946 (eval $ac_link) 2>conftest.er1
15947 ac_status=$?
15948 grep -v '^ *+' conftest.er1 >conftest.err
15949 rm -f conftest.er1
15950 cat conftest.err >&5
15951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15952 (exit $ac_status); } &&
b56cb1ff 15953 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 15954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15955 (eval $ac_try) 2>&5
15956 ac_status=$?
15957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15958 (exit $ac_status); }; } &&
15959 { ac_try='test -s conftest$ac_exeext'
15960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15961 (eval $ac_try) 2>&5
15962 ac_status=$?
15963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15964 (exit $ac_status); }; }; then
15965 ac_cv_lib_m_csqrt=yes
15966else
15967 echo "$as_me: failed program was:" >&5
15968sed 's/^/| /' conftest.$ac_ext >&5
15969
15970ac_cv_lib_m_csqrt=no
15971fi
15972rm -f conftest.err conftest.$ac_objext \
15973 conftest$ac_exeext conftest.$ac_ext
15974LIBS=$ac_check_lib_save_LIBS
15975fi
15976echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
15977echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
15978if test $ac_cv_lib_m_csqrt = yes; then
15979
15980cat >>confdefs.h <<\_ACEOF
15981#define HAVE_CSQRT 1
15982_ACEOF
15983
15984fi
15985
15986echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
15987echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
15988if test "${ac_cv_lib_m_csqrtl+set}" = set; then
15989 echo $ECHO_N "(cached) $ECHO_C" >&6
15990else
15991 ac_check_lib_save_LIBS=$LIBS
15992LIBS="-lm $LIBS"
15993if test x$gcc_no_link = xyes; then
15994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15995echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15996 { (exit 1); exit 1; }; }
15997fi
15998cat >conftest.$ac_ext <<_ACEOF
15999/* confdefs.h. */
16000_ACEOF
16001cat confdefs.h >>conftest.$ac_ext
16002cat >>conftest.$ac_ext <<_ACEOF
16003/* end confdefs.h. */
16004
16005/* Override any gcc2 internal prototype to avoid an error. */
16006#ifdef __cplusplus
16007extern "C"
16008#endif
16009/* We use char because int might match the return type of a gcc2
16010 builtin and then its argument prototype would still apply. */
16011char csqrtl ();
16012int
16013main ()
16014{
16015csqrtl ();
16016 ;
16017 return 0;
16018}
16019_ACEOF
16020rm -f conftest.$ac_objext conftest$ac_exeext
16021if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16022 (eval $ac_link) 2>conftest.er1
16023 ac_status=$?
16024 grep -v '^ *+' conftest.er1 >conftest.err
16025 rm -f conftest.er1
16026 cat conftest.err >&5
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); } &&
b56cb1ff 16029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 16030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16031 (eval $ac_try) 2>&5
16032 ac_status=$?
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); }; } &&
16035 { ac_try='test -s conftest$ac_exeext'
16036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16037 (eval $ac_try) 2>&5
16038 ac_status=$?
16039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16040 (exit $ac_status); }; }; then
16041 ac_cv_lib_m_csqrtl=yes
16042else
16043 echo "$as_me: failed program was:" >&5
16044sed 's/^/| /' conftest.$ac_ext >&5
16045
16046ac_cv_lib_m_csqrtl=no
16047fi
16048rm -f conftest.err conftest.$ac_objext \
16049 conftest$ac_exeext conftest.$ac_ext
16050LIBS=$ac_check_lib_save_LIBS
16051fi
16052echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
16053echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
16054if test $ac_cv_lib_m_csqrtl = yes; then
16055
16056cat >>confdefs.h <<\_ACEOF
16057#define HAVE_CSQRTL 1
16058_ACEOF
16059
16060fi
16061
16062echo "$as_me:$LINENO: checking for tanf in -lm" >&5
16063echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
16064if test "${ac_cv_lib_m_tanf+set}" = set; then
16065 echo $ECHO_N "(cached) $ECHO_C" >&6
16066else
16067 ac_check_lib_save_LIBS=$LIBS
16068LIBS="-lm $LIBS"
16069if test x$gcc_no_link = xyes; then
16070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16071echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16072 { (exit 1); exit 1; }; }
16073fi
16074cat >conftest.$ac_ext <<_ACEOF
16075/* confdefs.h. */
16076_ACEOF
16077cat confdefs.h >>conftest.$ac_ext
16078cat >>conftest.$ac_ext <<_ACEOF
16079/* end confdefs.h. */
16080
16081/* Override any gcc2 internal prototype to avoid an error. */
16082#ifdef __cplusplus
16083extern "C"
16084#endif
16085/* We use char because int might match the return type of a gcc2
16086 builtin and then its argument prototype would still apply. */
16087char tanf ();
16088int
16089main ()
16090{
16091tanf ();
16092 ;
16093 return 0;
16094}
16095_ACEOF
16096rm -f conftest.$ac_objext conftest$ac_exeext
16097if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16098 (eval $ac_link) 2>conftest.er1
16099 ac_status=$?
16100 grep -v '^ *+' conftest.er1 >conftest.err
16101 rm -f conftest.er1
16102 cat conftest.err >&5
16103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16104 (exit $ac_status); } &&
b56cb1ff 16105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 16106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16107 (eval $ac_try) 2>&5
16108 ac_status=$?
16109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16110 (exit $ac_status); }; } &&
16111 { ac_try='test -s conftest$ac_exeext'
16112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16113 (eval $ac_try) 2>&5
16114 ac_status=$?
16115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16116 (exit $ac_status); }; }; then
16117 ac_cv_lib_m_tanf=yes
16118else
16119 echo "$as_me: failed program was:" >&5
16120sed 's/^/| /' conftest.$ac_ext >&5
16121
16122ac_cv_lib_m_tanf=no
16123fi
16124rm -f conftest.err conftest.$ac_objext \
16125 conftest$ac_exeext conftest.$ac_ext
16126LIBS=$ac_check_lib_save_LIBS
16127fi
16128echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
16129echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
16130if test $ac_cv_lib_m_tanf = yes; then
16131
16132cat >>confdefs.h <<\_ACEOF
16133#define HAVE_TANF 1
16134_ACEOF
16135
16136fi
16137
16138echo "$as_me:$LINENO: checking for tan in -lm" >&5
16139echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
16140if test "${ac_cv_lib_m_tan+set}" = set; then
16141 echo $ECHO_N "(cached) $ECHO_C" >&6
16142else
16143 ac_check_lib_save_LIBS=$LIBS
16144LIBS="-lm $LIBS"
16145if test x$gcc_no_link = xyes; then
16146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16147echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16148 { (exit 1); exit 1; }; }
16149fi
16150cat >conftest.$ac_ext <<_ACEOF
16151/* confdefs.h. */
16152_ACEOF
16153cat confdefs.h >>conftest.$ac_ext
16154cat >>conftest.$ac_ext <<_ACEOF
16155/* end confdefs.h. */
16156
16157/* Override any gcc2 internal prototype to avoid an error. */
16158#ifdef __cplusplus
16159extern "C"
16160#endif
16161/* We use char because int might match the return type of a gcc2
16162 builtin and then its argument prototype would still apply. */
16163char tan ();
16164int
16165main ()
16166{
16167tan ();
16168 ;
16169 return 0;
16170}
16171_ACEOF
16172rm -f conftest.$ac_objext conftest$ac_exeext
16173if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16174 (eval $ac_link) 2>conftest.er1
16175 ac_status=$?
16176 grep -v '^ *+' conftest.er1 >conftest.err
16177 rm -f conftest.er1
16178 cat conftest.err >&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); } &&
b56cb1ff 16181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 16182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16183 (eval $ac_try) 2>&5
16184 ac_status=$?
16185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16186 (exit $ac_status); }; } &&
16187 { ac_try='test -s conftest$ac_exeext'
16188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16189 (eval $ac_try) 2>&5
16190 ac_status=$?
16191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16192 (exit $ac_status); }; }; then
16193 ac_cv_lib_m_tan=yes
16194else
16195 echo "$as_me: failed program was:" >&5
16196sed 's/^/| /' conftest.$ac_ext >&5
16197
16198ac_cv_lib_m_tan=no
16199fi
16200rm -f conftest.err conftest.$ac_objext \
16201 conftest$ac_exeext conftest.$ac_ext
16202LIBS=$ac_check_lib_save_LIBS
16203fi
16204echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
16205echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
16206if test $ac_cv_lib_m_tan = yes; then
16207
16208cat >>confdefs.h <<\_ACEOF
16209#define HAVE_TAN 1
16210_ACEOF
16211
16212fi
16213
16214echo "$as_me:$LINENO: checking for tanl in -lm" >&5
16215echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
16216if test "${ac_cv_lib_m_tanl+set}" = set; then
16217 echo $ECHO_N "(cached) $ECHO_C" >&6
16218else
16219 ac_check_lib_save_LIBS=$LIBS
16220LIBS="-lm $LIBS"
16221if test x$gcc_no_link = xyes; then
16222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16223echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16224 { (exit 1); exit 1; }; }
16225fi
16226cat >conftest.$ac_ext <<_ACEOF
16227/* confdefs.h. */
16228_ACEOF
16229cat confdefs.h >>conftest.$ac_ext
16230cat >>conftest.$ac_ext <<_ACEOF
16231/* end confdefs.h. */
16232
16233/* Override any gcc2 internal prototype to avoid an error. */
16234#ifdef __cplusplus
16235extern "C"
16236#endif
16237/* We use char because int might match the return type of a gcc2
16238 builtin and then its argument prototype would still apply. */
16239char tanl ();
16240int
16241main ()
16242{
16243tanl ();
16244 ;
16245 return 0;
16246}
16247_ACEOF
16248rm -f conftest.$ac_objext conftest$ac_exeext
16249if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16250 (eval $ac_link) 2>conftest.er1
16251 ac_status=$?
16252 grep -v '^ *+' conftest.er1 >conftest.err
16253 rm -f conftest.er1
16254 cat conftest.err >&5
16255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16256 (exit $ac_status); } &&
b56cb1ff 16257 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 16258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16259 (eval $ac_try) 2>&5
16260 ac_status=$?
16261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16262 (exit $ac_status); }; } &&
16263 { ac_try='test -s conftest$ac_exeext'
16264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16265 (eval $ac_try) 2>&5
16266 ac_status=$?
16267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16268 (exit $ac_status); }; }; then
16269 ac_cv_lib_m_tanl=yes
16270else
16271 echo "$as_me: failed program was:" >&5
16272sed 's/^/| /' conftest.$ac_ext >&5
16273
16274ac_cv_lib_m_tanl=no
16275fi
16276rm -f conftest.err conftest.$ac_objext \
16277 conftest$ac_exeext conftest.$ac_ext
16278LIBS=$ac_check_lib_save_LIBS
16279fi
16280echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
16281echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
16282if test $ac_cv_lib_m_tanl = yes; then
16283
16284cat >>confdefs.h <<\_ACEOF
16285#define HAVE_TANL 1
16286_ACEOF
16287
16288fi
16289
16290echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
16291echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
16292if test "${ac_cv_lib_m_ctanf+set}" = set; then
16293 echo $ECHO_N "(cached) $ECHO_C" >&6
16294else
16295 ac_check_lib_save_LIBS=$LIBS
16296LIBS="-lm $LIBS"
16297if test x$gcc_no_link = xyes; then
16298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16299echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16300 { (exit 1); exit 1; }; }
16301fi
16302cat >conftest.$ac_ext <<_ACEOF
16303/* confdefs.h. */
16304_ACEOF
16305cat confdefs.h >>conftest.$ac_ext
16306cat >>conftest.$ac_ext <<_ACEOF
16307/* end confdefs.h. */
16308
16309/* Override any gcc2 internal prototype to avoid an error. */
16310#ifdef __cplusplus
16311extern "C"
16312#endif
16313/* We use char because int might match the return type of a gcc2
16314 builtin and then its argument prototype would still apply. */
16315char ctanf ();
16316int
16317main ()
16318{
16319ctanf ();
16320 ;
16321 return 0;
16322}
16323_ACEOF
16324rm -f conftest.$ac_objext conftest$ac_exeext
16325if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16326 (eval $ac_link) 2>conftest.er1
16327 ac_status=$?
16328 grep -v '^ *+' conftest.er1 >conftest.err
16329 rm -f conftest.er1
16330 cat conftest.err >&5
16331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16332 (exit $ac_status); } &&
b56cb1ff 16333 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 16334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16335 (eval $ac_try) 2>&5
16336 ac_status=$?
16337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16338 (exit $ac_status); }; } &&
16339 { ac_try='test -s conftest$ac_exeext'
16340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16341 (eval $ac_try) 2>&5
16342 ac_status=$?
16343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16344 (exit $ac_status); }; }; then
16345 ac_cv_lib_m_ctanf=yes
16346else
16347 echo "$as_me: failed program was:" >&5
16348sed 's/^/| /' conftest.$ac_ext >&5
16349
16350ac_cv_lib_m_ctanf=no
16351fi
16352rm -f conftest.err conftest.$ac_objext \
16353 conftest$ac_exeext conftest.$ac_ext
16354LIBS=$ac_check_lib_save_LIBS
16355fi
16356echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
16357echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
16358if test $ac_cv_lib_m_ctanf = yes; then
16359
16360cat >>confdefs.h <<\_ACEOF
16361#define HAVE_CTANF 1
16362_ACEOF
16363
16364fi
16365
16366echo "$as_me:$LINENO: checking for ctan in -lm" >&5
16367echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
16368if test "${ac_cv_lib_m_ctan+set}" = set; then
16369 echo $ECHO_N "(cached) $ECHO_C" >&6
16370else
16371 ac_check_lib_save_LIBS=$LIBS
16372LIBS="-lm $LIBS"
16373if test x$gcc_no_link = xyes; then
16374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16375echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16376 { (exit 1); exit 1; }; }
16377fi
16378cat >conftest.$ac_ext <<_ACEOF
16379/* confdefs.h. */
16380_ACEOF
16381cat confdefs.h >>conftest.$ac_ext
16382cat >>conftest.$ac_ext <<_ACEOF
16383/* end confdefs.h. */
16384
16385/* Override any gcc2 internal prototype to avoid an error. */
16386#ifdef __cplusplus
16387extern "C"
16388#endif
16389/* We use char because int might match the return type of a gcc2
16390 builtin and then its argument prototype would still apply. */
16391char ctan ();
16392int
16393main ()
16394{
16395ctan ();
16396 ;
16397 return 0;
16398}
16399_ACEOF
16400rm -f conftest.$ac_objext conftest$ac_exeext
16401if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16402 (eval $ac_link) 2>conftest.er1
16403 ac_status=$?
16404 grep -v '^ *+' conftest.er1 >conftest.err
16405 rm -f conftest.er1
16406 cat conftest.err >&5
16407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16408 (exit $ac_status); } &&
b56cb1ff 16409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 16410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16411 (eval $ac_try) 2>&5
16412 ac_status=$?
16413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16414 (exit $ac_status); }; } &&
16415 { ac_try='test -s conftest$ac_exeext'
16416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16417 (eval $ac_try) 2>&5
16418 ac_status=$?
16419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420 (exit $ac_status); }; }; then
16421 ac_cv_lib_m_ctan=yes
16422else
16423 echo "$as_me: failed program was:" >&5
16424sed 's/^/| /' conftest.$ac_ext >&5
16425
16426ac_cv_lib_m_ctan=no
16427fi
16428rm -f conftest.err conftest.$ac_objext \
16429 conftest$ac_exeext conftest.$ac_ext
16430LIBS=$ac_check_lib_save_LIBS
16431fi
16432echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
16433echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
16434if test $ac_cv_lib_m_ctan = yes; then
16435
16436cat >>confdefs.h <<\_ACEOF
16437#define HAVE_CTAN 1
16438_ACEOF
16439
16440fi
16441
16442echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
16443echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
16444if test "${ac_cv_lib_m_ctanl+set}" = set; then
16445 echo $ECHO_N "(cached) $ECHO_C" >&6
16446else
16447 ac_check_lib_save_LIBS=$LIBS
16448LIBS="-lm $LIBS"
16449if test x$gcc_no_link = xyes; then
16450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16451echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16452 { (exit 1); exit 1; }; }
16453fi
16454cat >conftest.$ac_ext <<_ACEOF
16455/* confdefs.h. */
16456_ACEOF
16457cat confdefs.h >>conftest.$ac_ext
16458cat >>conftest.$ac_ext <<_ACEOF
16459/* end confdefs.h. */
16460
16461/* Override any gcc2 internal prototype to avoid an error. */
16462#ifdef __cplusplus
16463extern "C"
16464#endif
16465/* We use char because int might match the return type of a gcc2
16466 builtin and then its argument prototype would still apply. */
16467char ctanl ();
16468int
16469main ()
16470{
16471ctanl ();
16472 ;
16473 return 0;
16474}
16475_ACEOF
16476rm -f conftest.$ac_objext conftest$ac_exeext
16477if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16478 (eval $ac_link) 2>conftest.er1
16479 ac_status=$?
16480 grep -v '^ *+' conftest.er1 >conftest.err
16481 rm -f conftest.er1
16482 cat conftest.err >&5
16483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16484 (exit $ac_status); } &&
b56cb1ff 16485 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 16486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16487 (eval $ac_try) 2>&5
16488 ac_status=$?
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); }; } &&
16491 { ac_try='test -s conftest$ac_exeext'
16492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16493 (eval $ac_try) 2>&5
16494 ac_status=$?
16495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); }; }; then
16497 ac_cv_lib_m_ctanl=yes
16498else
16499 echo "$as_me: failed program was:" >&5
16500sed 's/^/| /' conftest.$ac_ext >&5
16501
16502ac_cv_lib_m_ctanl=no
16503fi
16504rm -f conftest.err conftest.$ac_objext \
16505 conftest$ac_exeext conftest.$ac_ext
16506LIBS=$ac_check_lib_save_LIBS
16507fi
16508echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
16509echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
16510if test $ac_cv_lib_m_ctanl = yes; then
16511
16512cat >>confdefs.h <<\_ACEOF
16513#define HAVE_CTANL 1
16514_ACEOF
16515
16516fi
16517
16518echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
16519echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
16520if test "${ac_cv_lib_m_tanhf+set}" = set; then
16521 echo $ECHO_N "(cached) $ECHO_C" >&6
16522else
16523 ac_check_lib_save_LIBS=$LIBS
16524LIBS="-lm $LIBS"
16525if test x$gcc_no_link = xyes; then
16526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16527echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16528 { (exit 1); exit 1; }; }
16529fi
16530cat >conftest.$ac_ext <<_ACEOF
16531/* confdefs.h. */
16532_ACEOF
16533cat confdefs.h >>conftest.$ac_ext
16534cat >>conftest.$ac_ext <<_ACEOF
16535/* end confdefs.h. */
16536
16537/* Override any gcc2 internal prototype to avoid an error. */
16538#ifdef __cplusplus
16539extern "C"
16540#endif
16541/* We use char because int might match the return type of a gcc2
16542 builtin and then its argument prototype would still apply. */
16543char tanhf ();
16544int
16545main ()
16546{
16547tanhf ();
16548 ;
16549 return 0;
16550}
16551_ACEOF
16552rm -f conftest.$ac_objext conftest$ac_exeext
16553if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16554 (eval $ac_link) 2>conftest.er1
16555 ac_status=$?
16556 grep -v '^ *+' conftest.er1 >conftest.err
16557 rm -f conftest.er1
16558 cat conftest.err >&5
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); } &&
b56cb1ff 16561 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 16562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16563 (eval $ac_try) 2>&5
16564 ac_status=$?
16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566 (exit $ac_status); }; } &&
16567 { ac_try='test -s conftest$ac_exeext'
16568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16569 (eval $ac_try) 2>&5
16570 ac_status=$?
16571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16572 (exit $ac_status); }; }; then
16573 ac_cv_lib_m_tanhf=yes
16574else
16575 echo "$as_me: failed program was:" >&5
16576sed 's/^/| /' conftest.$ac_ext >&5
16577
16578ac_cv_lib_m_tanhf=no
16579fi
16580rm -f conftest.err conftest.$ac_objext \
16581 conftest$ac_exeext conftest.$ac_ext
16582LIBS=$ac_check_lib_save_LIBS
16583fi
16584echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
16585echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
16586if test $ac_cv_lib_m_tanhf = yes; then
16587
16588cat >>confdefs.h <<\_ACEOF
16589#define HAVE_TANHF 1
16590_ACEOF
16591
16592fi
16593
16594echo "$as_me:$LINENO: checking for tanh in -lm" >&5
16595echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
16596if test "${ac_cv_lib_m_tanh+set}" = set; then
16597 echo $ECHO_N "(cached) $ECHO_C" >&6
16598else
16599 ac_check_lib_save_LIBS=$LIBS
16600LIBS="-lm $LIBS"
16601if test x$gcc_no_link = xyes; then
16602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16603echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16604 { (exit 1); exit 1; }; }
16605fi
16606cat >conftest.$ac_ext <<_ACEOF
16607/* confdefs.h. */
16608_ACEOF
16609cat confdefs.h >>conftest.$ac_ext
16610cat >>conftest.$ac_ext <<_ACEOF
16611/* end confdefs.h. */
16612
16613/* Override any gcc2 internal prototype to avoid an error. */
16614#ifdef __cplusplus
16615extern "C"
16616#endif
16617/* We use char because int might match the return type of a gcc2
16618 builtin and then its argument prototype would still apply. */
16619char tanh ();
16620int
16621main ()
16622{
16623tanh ();
16624 ;
16625 return 0;
16626}
16627_ACEOF
16628rm -f conftest.$ac_objext conftest$ac_exeext
16629if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16630 (eval $ac_link) 2>conftest.er1
16631 ac_status=$?
16632 grep -v '^ *+' conftest.er1 >conftest.err
16633 rm -f conftest.er1
16634 cat conftest.err >&5
16635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16636 (exit $ac_status); } &&
b56cb1ff 16637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 16638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16639 (eval $ac_try) 2>&5
16640 ac_status=$?
16641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16642 (exit $ac_status); }; } &&
16643 { ac_try='test -s conftest$ac_exeext'
16644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16645 (eval $ac_try) 2>&5
16646 ac_status=$?
16647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648 (exit $ac_status); }; }; then
16649 ac_cv_lib_m_tanh=yes
16650else
16651 echo "$as_me: failed program was:" >&5
16652sed 's/^/| /' conftest.$ac_ext >&5
16653
16654ac_cv_lib_m_tanh=no
16655fi
16656rm -f conftest.err conftest.$ac_objext \
16657 conftest$ac_exeext conftest.$ac_ext
16658LIBS=$ac_check_lib_save_LIBS
16659fi
16660echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
16661echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
16662if test $ac_cv_lib_m_tanh = yes; then
16663
16664cat >>confdefs.h <<\_ACEOF
16665#define HAVE_TANH 1
16666_ACEOF
16667
16668fi
16669
16670echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
16671echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
16672if test "${ac_cv_lib_m_tanhl+set}" = set; then
16673 echo $ECHO_N "(cached) $ECHO_C" >&6
16674else
16675 ac_check_lib_save_LIBS=$LIBS
16676LIBS="-lm $LIBS"
16677if test x$gcc_no_link = xyes; then
16678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16679echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16680 { (exit 1); exit 1; }; }
16681fi
16682cat >conftest.$ac_ext <<_ACEOF
16683/* confdefs.h. */
16684_ACEOF
16685cat confdefs.h >>conftest.$ac_ext
16686cat >>conftest.$ac_ext <<_ACEOF
16687/* end confdefs.h. */
16688
16689/* Override any gcc2 internal prototype to avoid an error. */
16690#ifdef __cplusplus
16691extern "C"
16692#endif
16693/* We use char because int might match the return type of a gcc2
16694 builtin and then its argument prototype would still apply. */
16695char tanhl ();
16696int
16697main ()
16698{
16699tanhl ();
16700 ;
16701 return 0;
16702}
16703_ACEOF
16704rm -f conftest.$ac_objext conftest$ac_exeext
16705if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16706 (eval $ac_link) 2>conftest.er1
16707 ac_status=$?
16708 grep -v '^ *+' conftest.er1 >conftest.err
16709 rm -f conftest.er1
16710 cat conftest.err >&5
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); } &&
b56cb1ff 16713 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 16714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16715 (eval $ac_try) 2>&5
16716 ac_status=$?
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); }; } &&
16719 { ac_try='test -s conftest$ac_exeext'
16720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16721 (eval $ac_try) 2>&5
16722 ac_status=$?
16723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16724 (exit $ac_status); }; }; then
16725 ac_cv_lib_m_tanhl=yes
16726else
16727 echo "$as_me: failed program was:" >&5
16728sed 's/^/| /' conftest.$ac_ext >&5
16729
16730ac_cv_lib_m_tanhl=no
16731fi
16732rm -f conftest.err conftest.$ac_objext \
16733 conftest$ac_exeext conftest.$ac_ext
16734LIBS=$ac_check_lib_save_LIBS
16735fi
16736echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
16737echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
16738if test $ac_cv_lib_m_tanhl = yes; then
16739
16740cat >>confdefs.h <<\_ACEOF
16741#define HAVE_TANHL 1
16742_ACEOF
16743
16744fi
16745
16746echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
16747echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
16748if test "${ac_cv_lib_m_ctanhf+set}" = set; then
16749 echo $ECHO_N "(cached) $ECHO_C" >&6
16750else
16751 ac_check_lib_save_LIBS=$LIBS
16752LIBS="-lm $LIBS"
16753if test x$gcc_no_link = xyes; then
16754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16755echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16756 { (exit 1); exit 1; }; }
16757fi
16758cat >conftest.$ac_ext <<_ACEOF
16759/* confdefs.h. */
16760_ACEOF
16761cat confdefs.h >>conftest.$ac_ext
16762cat >>conftest.$ac_ext <<_ACEOF
16763/* end confdefs.h. */
16764
16765/* Override any gcc2 internal prototype to avoid an error. */
16766#ifdef __cplusplus
16767extern "C"
16768#endif
16769/* We use char because int might match the return type of a gcc2
16770 builtin and then its argument prototype would still apply. */
16771char ctanhf ();
16772int
16773main ()
16774{
16775ctanhf ();
16776 ;
16777 return 0;
16778}
16779_ACEOF
16780rm -f conftest.$ac_objext conftest$ac_exeext
16781if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16782 (eval $ac_link) 2>conftest.er1
16783 ac_status=$?
16784 grep -v '^ *+' conftest.er1 >conftest.err
16785 rm -f conftest.er1
16786 cat conftest.err >&5
16787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); } &&
b56cb1ff 16789 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 16790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16791 (eval $ac_try) 2>&5
16792 ac_status=$?
16793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16794 (exit $ac_status); }; } &&
16795 { ac_try='test -s conftest$ac_exeext'
16796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16797 (eval $ac_try) 2>&5
16798 ac_status=$?
16799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16800 (exit $ac_status); }; }; then
16801 ac_cv_lib_m_ctanhf=yes
16802else
16803 echo "$as_me: failed program was:" >&5
16804sed 's/^/| /' conftest.$ac_ext >&5
16805
16806ac_cv_lib_m_ctanhf=no
16807fi
16808rm -f conftest.err conftest.$ac_objext \
16809 conftest$ac_exeext conftest.$ac_ext
16810LIBS=$ac_check_lib_save_LIBS
16811fi
16812echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
16813echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
16814if test $ac_cv_lib_m_ctanhf = yes; then
16815
16816cat >>confdefs.h <<\_ACEOF
16817#define HAVE_CTANHF 1
16818_ACEOF
16819
16820fi
16821
16822echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
16823echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
16824if test "${ac_cv_lib_m_ctanh+set}" = set; then
16825 echo $ECHO_N "(cached) $ECHO_C" >&6
16826else
16827 ac_check_lib_save_LIBS=$LIBS
16828LIBS="-lm $LIBS"
16829if test x$gcc_no_link = xyes; then
16830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16831echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16832 { (exit 1); exit 1; }; }
16833fi
16834cat >conftest.$ac_ext <<_ACEOF
16835/* confdefs.h. */
16836_ACEOF
16837cat confdefs.h >>conftest.$ac_ext
16838cat >>conftest.$ac_ext <<_ACEOF
16839/* end confdefs.h. */
16840
16841/* Override any gcc2 internal prototype to avoid an error. */
16842#ifdef __cplusplus
16843extern "C"
16844#endif
16845/* We use char because int might match the return type of a gcc2
16846 builtin and then its argument prototype would still apply. */
16847char ctanh ();
16848int
16849main ()
16850{
16851ctanh ();
16852 ;
16853 return 0;
16854}
16855_ACEOF
16856rm -f conftest.$ac_objext conftest$ac_exeext
16857if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16858 (eval $ac_link) 2>conftest.er1
16859 ac_status=$?
16860 grep -v '^ *+' conftest.er1 >conftest.err
16861 rm -f conftest.er1
16862 cat conftest.err >&5
16863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16864 (exit $ac_status); } &&
b56cb1ff 16865 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 16866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16867 (eval $ac_try) 2>&5
16868 ac_status=$?
16869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16870 (exit $ac_status); }; } &&
16871 { ac_try='test -s conftest$ac_exeext'
16872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16873 (eval $ac_try) 2>&5
16874 ac_status=$?
16875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16876 (exit $ac_status); }; }; then
16877 ac_cv_lib_m_ctanh=yes
16878else
16879 echo "$as_me: failed program was:" >&5
16880sed 's/^/| /' conftest.$ac_ext >&5
16881
16882ac_cv_lib_m_ctanh=no
16883fi
16884rm -f conftest.err conftest.$ac_objext \
16885 conftest$ac_exeext conftest.$ac_ext
16886LIBS=$ac_check_lib_save_LIBS
16887fi
16888echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
16889echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
16890if test $ac_cv_lib_m_ctanh = yes; then
16891
16892cat >>confdefs.h <<\_ACEOF
16893#define HAVE_CTANH 1
16894_ACEOF
16895
16896fi
16897
16898echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
16899echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
16900if test "${ac_cv_lib_m_ctanhl+set}" = set; then
16901 echo $ECHO_N "(cached) $ECHO_C" >&6
16902else
16903 ac_check_lib_save_LIBS=$LIBS
16904LIBS="-lm $LIBS"
16905if test x$gcc_no_link = xyes; then
16906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16907echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16908 { (exit 1); exit 1; }; }
16909fi
16910cat >conftest.$ac_ext <<_ACEOF
16911/* confdefs.h. */
16912_ACEOF
16913cat confdefs.h >>conftest.$ac_ext
16914cat >>conftest.$ac_ext <<_ACEOF
16915/* end confdefs.h. */
16916
16917/* Override any gcc2 internal prototype to avoid an error. */
16918#ifdef __cplusplus
16919extern "C"
16920#endif
16921/* We use char because int might match the return type of a gcc2
16922 builtin and then its argument prototype would still apply. */
16923char ctanhl ();
16924int
16925main ()
16926{
16927ctanhl ();
16928 ;
16929 return 0;
16930}
16931_ACEOF
16932rm -f conftest.$ac_objext conftest$ac_exeext
16933if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16934 (eval $ac_link) 2>conftest.er1
16935 ac_status=$?
16936 grep -v '^ *+' conftest.er1 >conftest.err
16937 rm -f conftest.er1
16938 cat conftest.err >&5
16939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16940 (exit $ac_status); } &&
b56cb1ff 16941 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 16942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16943 (eval $ac_try) 2>&5
16944 ac_status=$?
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); }; } &&
16947 { ac_try='test -s conftest$ac_exeext'
16948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16949 (eval $ac_try) 2>&5
16950 ac_status=$?
16951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16952 (exit $ac_status); }; }; then
16953 ac_cv_lib_m_ctanhl=yes
16954else
16955 echo "$as_me: failed program was:" >&5
16956sed 's/^/| /' conftest.$ac_ext >&5
16957
16958ac_cv_lib_m_ctanhl=no
16959fi
16960rm -f conftest.err conftest.$ac_objext \
16961 conftest$ac_exeext conftest.$ac_ext
16962LIBS=$ac_check_lib_save_LIBS
16963fi
16964echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
16965echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
16966if test $ac_cv_lib_m_ctanhl = yes; then
16967
16968cat >>confdefs.h <<\_ACEOF
16969#define HAVE_CTANHL 1
50f0ca0a 16970_ACEOF
16971
16972fi
16973
16974echo "$as_me:$LINENO: checking for truncf in -lm" >&5
16975echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
16976if test "${ac_cv_lib_m_truncf+set}" = set; then
16977 echo $ECHO_N "(cached) $ECHO_C" >&6
16978else
16979 ac_check_lib_save_LIBS=$LIBS
16980LIBS="-lm $LIBS"
b52ee437 16981if test x$gcc_no_link = xyes; then
16982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16983echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16984 { (exit 1); exit 1; }; }
16985fi
50f0ca0a 16986cat >conftest.$ac_ext <<_ACEOF
16987/* confdefs.h. */
16988_ACEOF
16989cat confdefs.h >>conftest.$ac_ext
16990cat >>conftest.$ac_ext <<_ACEOF
16991/* end confdefs.h. */
16992
16993/* Override any gcc2 internal prototype to avoid an error. */
16994#ifdef __cplusplus
16995extern "C"
16996#endif
16997/* We use char because int might match the return type of a gcc2
16998 builtin and then its argument prototype would still apply. */
d213114b 16999char truncf ();
17000int
17001main ()
17002{
17003truncf ();
17004 ;
17005 return 0;
17006}
17007_ACEOF
17008rm -f conftest.$ac_objext conftest$ac_exeext
17009if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17010 (eval $ac_link) 2>conftest.er1
17011 ac_status=$?
17012 grep -v '^ *+' conftest.er1 >conftest.err
17013 rm -f conftest.er1
17014 cat conftest.err >&5
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); } &&
b56cb1ff 17017 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 17018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17019 (eval $ac_try) 2>&5
17020 ac_status=$?
17021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17022 (exit $ac_status); }; } &&
17023 { ac_try='test -s conftest$ac_exeext'
17024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17025 (eval $ac_try) 2>&5
17026 ac_status=$?
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); }; }; then
17029 ac_cv_lib_m_truncf=yes
17030else
17031 echo "$as_me: failed program was:" >&5
17032sed 's/^/| /' conftest.$ac_ext >&5
17033
17034ac_cv_lib_m_truncf=no
17035fi
17036rm -f conftest.err conftest.$ac_objext \
17037 conftest$ac_exeext conftest.$ac_ext
17038LIBS=$ac_check_lib_save_LIBS
17039fi
17040echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
17041echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
17042if test $ac_cv_lib_m_truncf = yes; then
17043
17044cat >>confdefs.h <<\_ACEOF
17045#define HAVE_TRUNCF 1
17046_ACEOF
17047
17048fi
17049
17050echo "$as_me:$LINENO: checking for trunc in -lm" >&5
17051echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
17052if test "${ac_cv_lib_m_trunc+set}" = set; then
17053 echo $ECHO_N "(cached) $ECHO_C" >&6
17054else
17055 ac_check_lib_save_LIBS=$LIBS
17056LIBS="-lm $LIBS"
17057if test x$gcc_no_link = xyes; then
17058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17059echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17060 { (exit 1); exit 1; }; }
17061fi
17062cat >conftest.$ac_ext <<_ACEOF
17063/* confdefs.h. */
17064_ACEOF
17065cat confdefs.h >>conftest.$ac_ext
17066cat >>conftest.$ac_ext <<_ACEOF
17067/* end confdefs.h. */
17068
17069/* Override any gcc2 internal prototype to avoid an error. */
17070#ifdef __cplusplus
17071extern "C"
17072#endif
17073/* We use char because int might match the return type of a gcc2
17074 builtin and then its argument prototype would still apply. */
17075char trunc ();
17076int
17077main ()
17078{
17079trunc ();
17080 ;
17081 return 0;
17082}
17083_ACEOF
17084rm -f conftest.$ac_objext conftest$ac_exeext
17085if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17086 (eval $ac_link) 2>conftest.er1
17087 ac_status=$?
17088 grep -v '^ *+' conftest.er1 >conftest.err
17089 rm -f conftest.er1
17090 cat conftest.err >&5
17091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17092 (exit $ac_status); } &&
b56cb1ff 17093 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 17094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17095 (eval $ac_try) 2>&5
17096 ac_status=$?
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); }; } &&
17099 { ac_try='test -s conftest$ac_exeext'
17100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17101 (eval $ac_try) 2>&5
17102 ac_status=$?
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); }; }; then
17105 ac_cv_lib_m_trunc=yes
17106else
17107 echo "$as_me: failed program was:" >&5
17108sed 's/^/| /' conftest.$ac_ext >&5
17109
17110ac_cv_lib_m_trunc=no
17111fi
17112rm -f conftest.err conftest.$ac_objext \
17113 conftest$ac_exeext conftest.$ac_ext
17114LIBS=$ac_check_lib_save_LIBS
17115fi
17116echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
17117echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
17118if test $ac_cv_lib_m_trunc = yes; then
17119
17120cat >>confdefs.h <<\_ACEOF
17121#define HAVE_TRUNC 1
17122_ACEOF
17123
17124fi
17125
17126echo "$as_me:$LINENO: checking for truncl in -lm" >&5
17127echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
17128if test "${ac_cv_lib_m_truncl+set}" = set; then
17129 echo $ECHO_N "(cached) $ECHO_C" >&6
17130else
17131 ac_check_lib_save_LIBS=$LIBS
17132LIBS="-lm $LIBS"
17133if test x$gcc_no_link = xyes; then
17134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17135echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17136 { (exit 1); exit 1; }; }
17137fi
17138cat >conftest.$ac_ext <<_ACEOF
17139/* confdefs.h. */
17140_ACEOF
17141cat confdefs.h >>conftest.$ac_ext
17142cat >>conftest.$ac_ext <<_ACEOF
17143/* end confdefs.h. */
17144
17145/* Override any gcc2 internal prototype to avoid an error. */
17146#ifdef __cplusplus
17147extern "C"
17148#endif
17149/* We use char because int might match the return type of a gcc2
17150 builtin and then its argument prototype would still apply. */
17151char truncl ();
17152int
17153main ()
17154{
17155truncl ();
17156 ;
17157 return 0;
17158}
17159_ACEOF
17160rm -f conftest.$ac_objext conftest$ac_exeext
17161if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17162 (eval $ac_link) 2>conftest.er1
17163 ac_status=$?
17164 grep -v '^ *+' conftest.er1 >conftest.err
17165 rm -f conftest.er1
17166 cat conftest.err >&5
17167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17168 (exit $ac_status); } &&
b56cb1ff 17169 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 17170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17171 (eval $ac_try) 2>&5
17172 ac_status=$?
17173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17174 (exit $ac_status); }; } &&
17175 { ac_try='test -s conftest$ac_exeext'
17176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17177 (eval $ac_try) 2>&5
17178 ac_status=$?
17179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17180 (exit $ac_status); }; }; then
17181 ac_cv_lib_m_truncl=yes
17182else
17183 echo "$as_me: failed program was:" >&5
17184sed 's/^/| /' conftest.$ac_ext >&5
17185
17186ac_cv_lib_m_truncl=no
17187fi
17188rm -f conftest.err conftest.$ac_objext \
17189 conftest$ac_exeext conftest.$ac_ext
17190LIBS=$ac_check_lib_save_LIBS
17191fi
17192echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
17193echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
17194if test $ac_cv_lib_m_truncl = yes; then
17195
17196cat >>confdefs.h <<\_ACEOF
17197#define HAVE_TRUNCL 1
17198_ACEOF
17199
17200fi
17201
17202echo "$as_me:$LINENO: checking for erff in -lm" >&5
17203echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
17204if test "${ac_cv_lib_m_erff+set}" = set; then
17205 echo $ECHO_N "(cached) $ECHO_C" >&6
17206else
17207 ac_check_lib_save_LIBS=$LIBS
17208LIBS="-lm $LIBS"
17209if test x$gcc_no_link = xyes; then
17210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17211echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17212 { (exit 1); exit 1; }; }
17213fi
17214cat >conftest.$ac_ext <<_ACEOF
17215/* confdefs.h. */
17216_ACEOF
17217cat confdefs.h >>conftest.$ac_ext
17218cat >>conftest.$ac_ext <<_ACEOF
17219/* end confdefs.h. */
17220
17221/* Override any gcc2 internal prototype to avoid an error. */
17222#ifdef __cplusplus
17223extern "C"
17224#endif
17225/* We use char because int might match the return type of a gcc2
17226 builtin and then its argument prototype would still apply. */
17227char erff ();
17228int
17229main ()
17230{
17231erff ();
17232 ;
17233 return 0;
17234}
17235_ACEOF
17236rm -f conftest.$ac_objext conftest$ac_exeext
17237if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17238 (eval $ac_link) 2>conftest.er1
17239 ac_status=$?
17240 grep -v '^ *+' conftest.er1 >conftest.err
17241 rm -f conftest.er1
17242 cat conftest.err >&5
17243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17244 (exit $ac_status); } &&
b56cb1ff 17245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 17246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17247 (eval $ac_try) 2>&5
17248 ac_status=$?
17249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17250 (exit $ac_status); }; } &&
17251 { ac_try='test -s conftest$ac_exeext'
17252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17253 (eval $ac_try) 2>&5
17254 ac_status=$?
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); }; }; then
17257 ac_cv_lib_m_erff=yes
17258else
17259 echo "$as_me: failed program was:" >&5
17260sed 's/^/| /' conftest.$ac_ext >&5
17261
17262ac_cv_lib_m_erff=no
17263fi
17264rm -f conftest.err conftest.$ac_objext \
17265 conftest$ac_exeext conftest.$ac_ext
17266LIBS=$ac_check_lib_save_LIBS
17267fi
17268echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
17269echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
17270if test $ac_cv_lib_m_erff = yes; then
17271
17272cat >>confdefs.h <<\_ACEOF
17273#define HAVE_ERFF 1
17274_ACEOF
17275
17276fi
17277
17278echo "$as_me:$LINENO: checking for erf in -lm" >&5
17279echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
17280if test "${ac_cv_lib_m_erf+set}" = set; then
17281 echo $ECHO_N "(cached) $ECHO_C" >&6
17282else
17283 ac_check_lib_save_LIBS=$LIBS
17284LIBS="-lm $LIBS"
17285if test x$gcc_no_link = xyes; then
17286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17287echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17288 { (exit 1); exit 1; }; }
17289fi
17290cat >conftest.$ac_ext <<_ACEOF
17291/* confdefs.h. */
17292_ACEOF
17293cat confdefs.h >>conftest.$ac_ext
17294cat >>conftest.$ac_ext <<_ACEOF
17295/* end confdefs.h. */
17296
17297/* Override any gcc2 internal prototype to avoid an error. */
17298#ifdef __cplusplus
17299extern "C"
17300#endif
17301/* We use char because int might match the return type of a gcc2
17302 builtin and then its argument prototype would still apply. */
17303char erf ();
17304int
17305main ()
17306{
17307erf ();
17308 ;
17309 return 0;
17310}
17311_ACEOF
17312rm -f conftest.$ac_objext conftest$ac_exeext
17313if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17314 (eval $ac_link) 2>conftest.er1
17315 ac_status=$?
17316 grep -v '^ *+' conftest.er1 >conftest.err
17317 rm -f conftest.er1
17318 cat conftest.err >&5
17319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17320 (exit $ac_status); } &&
b56cb1ff 17321 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 17322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17323 (eval $ac_try) 2>&5
17324 ac_status=$?
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); }; } &&
17327 { ac_try='test -s conftest$ac_exeext'
17328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17329 (eval $ac_try) 2>&5
17330 ac_status=$?
17331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17332 (exit $ac_status); }; }; then
17333 ac_cv_lib_m_erf=yes
17334else
17335 echo "$as_me: failed program was:" >&5
17336sed 's/^/| /' conftest.$ac_ext >&5
17337
17338ac_cv_lib_m_erf=no
17339fi
17340rm -f conftest.err conftest.$ac_objext \
17341 conftest$ac_exeext conftest.$ac_ext
17342LIBS=$ac_check_lib_save_LIBS
17343fi
17344echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
17345echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
17346if test $ac_cv_lib_m_erf = yes; then
17347
17348cat >>confdefs.h <<\_ACEOF
17349#define HAVE_ERF 1
17350_ACEOF
17351
17352fi
17353
17354echo "$as_me:$LINENO: checking for erfl in -lm" >&5
17355echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
17356if test "${ac_cv_lib_m_erfl+set}" = set; then
17357 echo $ECHO_N "(cached) $ECHO_C" >&6
17358else
17359 ac_check_lib_save_LIBS=$LIBS
17360LIBS="-lm $LIBS"
17361if test x$gcc_no_link = xyes; then
17362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17363echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17364 { (exit 1); exit 1; }; }
17365fi
17366cat >conftest.$ac_ext <<_ACEOF
17367/* confdefs.h. */
17368_ACEOF
17369cat confdefs.h >>conftest.$ac_ext
17370cat >>conftest.$ac_ext <<_ACEOF
17371/* end confdefs.h. */
17372
17373/* Override any gcc2 internal prototype to avoid an error. */
17374#ifdef __cplusplus
17375extern "C"
17376#endif
17377/* We use char because int might match the return type of a gcc2
17378 builtin and then its argument prototype would still apply. */
17379char erfl ();
17380int
17381main ()
17382{
17383erfl ();
17384 ;
17385 return 0;
17386}
17387_ACEOF
17388rm -f conftest.$ac_objext conftest$ac_exeext
17389if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17390 (eval $ac_link) 2>conftest.er1
17391 ac_status=$?
17392 grep -v '^ *+' conftest.er1 >conftest.err
17393 rm -f conftest.er1
17394 cat conftest.err >&5
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); } &&
b56cb1ff 17397 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 17398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17399 (eval $ac_try) 2>&5
17400 ac_status=$?
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); }; } &&
17403 { ac_try='test -s conftest$ac_exeext'
17404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17405 (eval $ac_try) 2>&5
17406 ac_status=$?
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); }; }; then
17409 ac_cv_lib_m_erfl=yes
17410else
17411 echo "$as_me: failed program was:" >&5
17412sed 's/^/| /' conftest.$ac_ext >&5
17413
17414ac_cv_lib_m_erfl=no
17415fi
17416rm -f conftest.err conftest.$ac_objext \
17417 conftest$ac_exeext conftest.$ac_ext
17418LIBS=$ac_check_lib_save_LIBS
17419fi
17420echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
17421echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
17422if test $ac_cv_lib_m_erfl = yes; then
17423
17424cat >>confdefs.h <<\_ACEOF
17425#define HAVE_ERFL 1
17426_ACEOF
17427
17428fi
17429
17430echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
17431echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
17432if test "${ac_cv_lib_m_erfcf+set}" = set; then
17433 echo $ECHO_N "(cached) $ECHO_C" >&6
17434else
17435 ac_check_lib_save_LIBS=$LIBS
17436LIBS="-lm $LIBS"
17437if test x$gcc_no_link = xyes; then
17438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17439echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17440 { (exit 1); exit 1; }; }
17441fi
17442cat >conftest.$ac_ext <<_ACEOF
17443/* confdefs.h. */
17444_ACEOF
17445cat confdefs.h >>conftest.$ac_ext
17446cat >>conftest.$ac_ext <<_ACEOF
17447/* end confdefs.h. */
17448
17449/* Override any gcc2 internal prototype to avoid an error. */
17450#ifdef __cplusplus
17451extern "C"
17452#endif
17453/* We use char because int might match the return type of a gcc2
17454 builtin and then its argument prototype would still apply. */
17455char erfcf ();
17456int
17457main ()
17458{
17459erfcf ();
17460 ;
17461 return 0;
17462}
17463_ACEOF
17464rm -f conftest.$ac_objext conftest$ac_exeext
17465if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17466 (eval $ac_link) 2>conftest.er1
17467 ac_status=$?
17468 grep -v '^ *+' conftest.er1 >conftest.err
17469 rm -f conftest.er1
17470 cat conftest.err >&5
17471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17472 (exit $ac_status); } &&
b56cb1ff 17473 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 17474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17475 (eval $ac_try) 2>&5
17476 ac_status=$?
17477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17478 (exit $ac_status); }; } &&
17479 { ac_try='test -s conftest$ac_exeext'
17480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17481 (eval $ac_try) 2>&5
17482 ac_status=$?
17483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17484 (exit $ac_status); }; }; then
17485 ac_cv_lib_m_erfcf=yes
17486else
17487 echo "$as_me: failed program was:" >&5
17488sed 's/^/| /' conftest.$ac_ext >&5
17489
17490ac_cv_lib_m_erfcf=no
17491fi
17492rm -f conftest.err conftest.$ac_objext \
17493 conftest$ac_exeext conftest.$ac_ext
17494LIBS=$ac_check_lib_save_LIBS
17495fi
17496echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
17497echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
17498if test $ac_cv_lib_m_erfcf = yes; then
17499
17500cat >>confdefs.h <<\_ACEOF
17501#define HAVE_ERFCF 1
17502_ACEOF
17503
17504fi
17505
17506echo "$as_me:$LINENO: checking for erfc in -lm" >&5
17507echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
17508if test "${ac_cv_lib_m_erfc+set}" = set; then
17509 echo $ECHO_N "(cached) $ECHO_C" >&6
17510else
17511 ac_check_lib_save_LIBS=$LIBS
17512LIBS="-lm $LIBS"
17513if test x$gcc_no_link = xyes; then
17514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17515echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17516 { (exit 1); exit 1; }; }
17517fi
17518cat >conftest.$ac_ext <<_ACEOF
17519/* confdefs.h. */
17520_ACEOF
17521cat confdefs.h >>conftest.$ac_ext
17522cat >>conftest.$ac_ext <<_ACEOF
17523/* end confdefs.h. */
17524
17525/* Override any gcc2 internal prototype to avoid an error. */
17526#ifdef __cplusplus
17527extern "C"
17528#endif
17529/* We use char because int might match the return type of a gcc2
17530 builtin and then its argument prototype would still apply. */
17531char erfc ();
50f0ca0a 17532int
17533main ()
17534{
d213114b 17535erfc ();
50f0ca0a 17536 ;
17537 return 0;
17538}
17539_ACEOF
17540rm -f conftest.$ac_objext conftest$ac_exeext
17541if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17542 (eval $ac_link) 2>conftest.er1
17543 ac_status=$?
17544 grep -v '^ *+' conftest.er1 >conftest.err
17545 rm -f conftest.er1
17546 cat conftest.err >&5
17547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548 (exit $ac_status); } &&
b56cb1ff 17549 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50f0ca0a 17550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17551 (eval $ac_try) 2>&5
17552 ac_status=$?
17553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17554 (exit $ac_status); }; } &&
17555 { ac_try='test -s conftest$ac_exeext'
17556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17557 (eval $ac_try) 2>&5
17558 ac_status=$?
17559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17560 (exit $ac_status); }; }; then
d213114b 17561 ac_cv_lib_m_erfc=yes
50f0ca0a 17562else
17563 echo "$as_me: failed program was:" >&5
17564sed 's/^/| /' conftest.$ac_ext >&5
17565
d213114b 17566ac_cv_lib_m_erfc=no
50f0ca0a 17567fi
17568rm -f conftest.err conftest.$ac_objext \
17569 conftest$ac_exeext conftest.$ac_ext
17570LIBS=$ac_check_lib_save_LIBS
17571fi
d213114b 17572echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
17573echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
17574if test $ac_cv_lib_m_erfc = yes; then
50f0ca0a 17575
17576cat >>confdefs.h <<\_ACEOF
d213114b 17577#define HAVE_ERFC 1
50f0ca0a 17578_ACEOF
17579
17580fi
17581
d213114b 17582echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
17583echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
17584if test "${ac_cv_lib_m_erfcl+set}" = set; then
158e0e64 17585 echo $ECHO_N "(cached) $ECHO_C" >&6
17586else
17587 ac_check_lib_save_LIBS=$LIBS
17588LIBS="-lm $LIBS"
b52ee437 17589if test x$gcc_no_link = xyes; then
17590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17591echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17592 { (exit 1); exit 1; }; }
17593fi
158e0e64 17594cat >conftest.$ac_ext <<_ACEOF
17595/* confdefs.h. */
17596_ACEOF
17597cat confdefs.h >>conftest.$ac_ext
17598cat >>conftest.$ac_ext <<_ACEOF
17599/* end confdefs.h. */
17600
17601/* Override any gcc2 internal prototype to avoid an error. */
17602#ifdef __cplusplus
17603extern "C"
17604#endif
17605/* We use char because int might match the return type of a gcc2
17606 builtin and then its argument prototype would still apply. */
d213114b 17607char erfcl ();
158e0e64 17608int
17609main ()
17610{
d213114b 17611erfcl ();
158e0e64 17612 ;
17613 return 0;
17614}
17615_ACEOF
17616rm -f conftest.$ac_objext conftest$ac_exeext
17617if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17618 (eval $ac_link) 2>conftest.er1
17619 ac_status=$?
17620 grep -v '^ *+' conftest.er1 >conftest.err
17621 rm -f conftest.er1
17622 cat conftest.err >&5
17623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17624 (exit $ac_status); } &&
b56cb1ff 17625 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
158e0e64 17626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17627 (eval $ac_try) 2>&5
17628 ac_status=$?
17629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17630 (exit $ac_status); }; } &&
17631 { ac_try='test -s conftest$ac_exeext'
17632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17633 (eval $ac_try) 2>&5
17634 ac_status=$?
17635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17636 (exit $ac_status); }; }; then
d213114b 17637 ac_cv_lib_m_erfcl=yes
158e0e64 17638else
17639 echo "$as_me: failed program was:" >&5
17640sed 's/^/| /' conftest.$ac_ext >&5
17641
d213114b 17642ac_cv_lib_m_erfcl=no
158e0e64 17643fi
17644rm -f conftest.err conftest.$ac_objext \
17645 conftest$ac_exeext conftest.$ac_ext
17646LIBS=$ac_check_lib_save_LIBS
17647fi
d213114b 17648echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
17649echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
17650if test $ac_cv_lib_m_erfcl = yes; then
158e0e64 17651
17652cat >>confdefs.h <<\_ACEOF
d213114b 17653#define HAVE_ERFCL 1
158e0e64 17654_ACEOF
17655
17656fi
17657
d213114b 17658echo "$as_me:$LINENO: checking for j0f in -lm" >&5
17659echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
17660if test "${ac_cv_lib_m_j0f+set}" = set; then
158e0e64 17661 echo $ECHO_N "(cached) $ECHO_C" >&6
17662else
17663 ac_check_lib_save_LIBS=$LIBS
17664LIBS="-lm $LIBS"
b52ee437 17665if test x$gcc_no_link = xyes; then
17666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17667echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17668 { (exit 1); exit 1; }; }
17669fi
158e0e64 17670cat >conftest.$ac_ext <<_ACEOF
17671/* confdefs.h. */
17672_ACEOF
17673cat confdefs.h >>conftest.$ac_ext
17674cat >>conftest.$ac_ext <<_ACEOF
17675/* end confdefs.h. */
17676
17677/* Override any gcc2 internal prototype to avoid an error. */
17678#ifdef __cplusplus
17679extern "C"
17680#endif
17681/* We use char because int might match the return type of a gcc2
17682 builtin and then its argument prototype would still apply. */
d213114b 17683char j0f ();
158e0e64 17684int
17685main ()
17686{
d213114b 17687j0f ();
158e0e64 17688 ;
17689 return 0;
17690}
17691_ACEOF
17692rm -f conftest.$ac_objext conftest$ac_exeext
17693if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17694 (eval $ac_link) 2>conftest.er1
17695 ac_status=$?
17696 grep -v '^ *+' conftest.er1 >conftest.err
17697 rm -f conftest.er1
17698 cat conftest.err >&5
17699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17700 (exit $ac_status); } &&
b56cb1ff 17701 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
158e0e64 17702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17703 (eval $ac_try) 2>&5
17704 ac_status=$?
17705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17706 (exit $ac_status); }; } &&
17707 { ac_try='test -s conftest$ac_exeext'
17708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17709 (eval $ac_try) 2>&5
17710 ac_status=$?
17711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17712 (exit $ac_status); }; }; then
d213114b 17713 ac_cv_lib_m_j0f=yes
158e0e64 17714else
17715 echo "$as_me: failed program was:" >&5
17716sed 's/^/| /' conftest.$ac_ext >&5
17717
d213114b 17718ac_cv_lib_m_j0f=no
17719fi
17720rm -f conftest.err conftest.$ac_objext \
17721 conftest$ac_exeext conftest.$ac_ext
17722LIBS=$ac_check_lib_save_LIBS
17723fi
17724echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
17725echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
17726if test $ac_cv_lib_m_j0f = yes; then
17727
17728cat >>confdefs.h <<\_ACEOF
17729#define HAVE_J0F 1
17730_ACEOF
17731
17732fi
17733
17734echo "$as_me:$LINENO: checking for j0 in -lm" >&5
17735echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
17736if test "${ac_cv_lib_m_j0+set}" = set; then
17737 echo $ECHO_N "(cached) $ECHO_C" >&6
17738else
17739 ac_check_lib_save_LIBS=$LIBS
17740LIBS="-lm $LIBS"
17741if test x$gcc_no_link = xyes; then
17742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17743echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17744 { (exit 1); exit 1; }; }
17745fi
17746cat >conftest.$ac_ext <<_ACEOF
17747/* confdefs.h. */
17748_ACEOF
17749cat confdefs.h >>conftest.$ac_ext
17750cat >>conftest.$ac_ext <<_ACEOF
17751/* end confdefs.h. */
17752
17753/* Override any gcc2 internal prototype to avoid an error. */
17754#ifdef __cplusplus
17755extern "C"
17756#endif
17757/* We use char because int might match the return type of a gcc2
17758 builtin and then its argument prototype would still apply. */
17759char j0 ();
17760int
17761main ()
17762{
17763j0 ();
17764 ;
17765 return 0;
17766}
17767_ACEOF
17768rm -f conftest.$ac_objext conftest$ac_exeext
17769if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17770 (eval $ac_link) 2>conftest.er1
17771 ac_status=$?
17772 grep -v '^ *+' conftest.er1 >conftest.err
17773 rm -f conftest.er1
17774 cat conftest.err >&5
17775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17776 (exit $ac_status); } &&
b56cb1ff 17777 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 17778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17779 (eval $ac_try) 2>&5
17780 ac_status=$?
17781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782 (exit $ac_status); }; } &&
17783 { ac_try='test -s conftest$ac_exeext'
17784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17785 (eval $ac_try) 2>&5
17786 ac_status=$?
17787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788 (exit $ac_status); }; }; then
17789 ac_cv_lib_m_j0=yes
17790else
17791 echo "$as_me: failed program was:" >&5
17792sed 's/^/| /' conftest.$ac_ext >&5
17793
17794ac_cv_lib_m_j0=no
17795fi
17796rm -f conftest.err conftest.$ac_objext \
17797 conftest$ac_exeext conftest.$ac_ext
17798LIBS=$ac_check_lib_save_LIBS
17799fi
17800echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
17801echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
17802if test $ac_cv_lib_m_j0 = yes; then
17803
17804cat >>confdefs.h <<\_ACEOF
17805#define HAVE_J0 1
17806_ACEOF
17807
17808fi
17809
17810echo "$as_me:$LINENO: checking for j0l in -lm" >&5
17811echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
17812if test "${ac_cv_lib_m_j0l+set}" = set; then
17813 echo $ECHO_N "(cached) $ECHO_C" >&6
17814else
17815 ac_check_lib_save_LIBS=$LIBS
17816LIBS="-lm $LIBS"
17817if test x$gcc_no_link = xyes; then
17818 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17819echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17820 { (exit 1); exit 1; }; }
17821fi
17822cat >conftest.$ac_ext <<_ACEOF
17823/* confdefs.h. */
17824_ACEOF
17825cat confdefs.h >>conftest.$ac_ext
17826cat >>conftest.$ac_ext <<_ACEOF
17827/* end confdefs.h. */
17828
17829/* Override any gcc2 internal prototype to avoid an error. */
17830#ifdef __cplusplus
17831extern "C"
17832#endif
17833/* We use char because int might match the return type of a gcc2
17834 builtin and then its argument prototype would still apply. */
17835char j0l ();
17836int
17837main ()
17838{
17839j0l ();
17840 ;
17841 return 0;
17842}
17843_ACEOF
17844rm -f conftest.$ac_objext conftest$ac_exeext
17845if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17846 (eval $ac_link) 2>conftest.er1
17847 ac_status=$?
17848 grep -v '^ *+' conftest.er1 >conftest.err
17849 rm -f conftest.er1
17850 cat conftest.err >&5
17851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17852 (exit $ac_status); } &&
b56cb1ff 17853 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 17854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17855 (eval $ac_try) 2>&5
17856 ac_status=$?
17857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17858 (exit $ac_status); }; } &&
17859 { ac_try='test -s conftest$ac_exeext'
17860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17861 (eval $ac_try) 2>&5
17862 ac_status=$?
17863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17864 (exit $ac_status); }; }; then
17865 ac_cv_lib_m_j0l=yes
17866else
17867 echo "$as_me: failed program was:" >&5
17868sed 's/^/| /' conftest.$ac_ext >&5
17869
17870ac_cv_lib_m_j0l=no
17871fi
17872rm -f conftest.err conftest.$ac_objext \
17873 conftest$ac_exeext conftest.$ac_ext
17874LIBS=$ac_check_lib_save_LIBS
17875fi
17876echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
17877echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
17878if test $ac_cv_lib_m_j0l = yes; then
17879
17880cat >>confdefs.h <<\_ACEOF
17881#define HAVE_J0L 1
17882_ACEOF
17883
17884fi
17885
17886echo "$as_me:$LINENO: checking for j1f in -lm" >&5
17887echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
17888if test "${ac_cv_lib_m_j1f+set}" = set; then
17889 echo $ECHO_N "(cached) $ECHO_C" >&6
17890else
17891 ac_check_lib_save_LIBS=$LIBS
17892LIBS="-lm $LIBS"
17893if test x$gcc_no_link = xyes; then
17894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17895echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17896 { (exit 1); exit 1; }; }
17897fi
17898cat >conftest.$ac_ext <<_ACEOF
17899/* confdefs.h. */
17900_ACEOF
17901cat confdefs.h >>conftest.$ac_ext
17902cat >>conftest.$ac_ext <<_ACEOF
17903/* end confdefs.h. */
17904
17905/* Override any gcc2 internal prototype to avoid an error. */
17906#ifdef __cplusplus
17907extern "C"
17908#endif
17909/* We use char because int might match the return type of a gcc2
17910 builtin and then its argument prototype would still apply. */
17911char j1f ();
17912int
17913main ()
17914{
17915j1f ();
17916 ;
17917 return 0;
17918}
17919_ACEOF
17920rm -f conftest.$ac_objext conftest$ac_exeext
17921if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17922 (eval $ac_link) 2>conftest.er1
17923 ac_status=$?
17924 grep -v '^ *+' conftest.er1 >conftest.err
17925 rm -f conftest.er1
17926 cat conftest.err >&5
17927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17928 (exit $ac_status); } &&
b56cb1ff 17929 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
d213114b 17930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17931 (eval $ac_try) 2>&5
17932 ac_status=$?
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); }; } &&
17935 { ac_try='test -s conftest$ac_exeext'
17936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17937 (eval $ac_try) 2>&5
17938 ac_status=$?
17939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17940 (exit $ac_status); }; }; then
17941 ac_cv_lib_m_j1f=yes
17942else
17943 echo "$as_me: failed program was:" >&5
17944sed 's/^/| /' conftest.$ac_ext >&5
17945
17946ac_cv_lib_m_j1f=no
158e0e64 17947fi
17948rm -f conftest.err conftest.$ac_objext \
17949 conftest$ac_exeext conftest.$ac_ext
17950LIBS=$ac_check_lib_save_LIBS
17951fi
d213114b 17952echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
17953echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
17954if test $ac_cv_lib_m_j1f = yes; then
158e0e64 17955
17956cat >>confdefs.h <<\_ACEOF
d213114b 17957#define HAVE_J1F 1
158e0e64 17958_ACEOF
17959
17960fi
17961
d213114b 17962echo "$as_me:$LINENO: checking for j1 in -lm" >&5
17963echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
17964if test "${ac_cv_lib_m_j1+set}" = set; then
158e0e64 17965 echo $ECHO_N "(cached) $ECHO_C" >&6
17966else
17967 ac_check_lib_save_LIBS=$LIBS
17968LIBS="-lm $LIBS"
b52ee437 17969if test x$gcc_no_link = xyes; then
17970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17971echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17972 { (exit 1); exit 1; }; }
17973fi
158e0e64 17974cat >conftest.$ac_ext <<_ACEOF
17975/* confdefs.h. */
17976_ACEOF
17977cat confdefs.h >>conftest.$ac_ext
17978cat >>conftest.$ac_ext <<_ACEOF
17979/* end confdefs.h. */
17980
17981/* Override any gcc2 internal prototype to avoid an error. */
17982#ifdef __cplusplus
17983extern "C"
17984#endif
17985/* We use char because int might match the return type of a gcc2
17986 builtin and then its argument prototype would still apply. */
d213114b 17987char j1 ();
158e0e64 17988int
17989main ()
17990{
d213114b 17991j1 ();
158e0e64 17992 ;
17993 return 0;
17994}
17995_ACEOF
17996rm -f conftest.$ac_objext conftest$ac_exeext
17997if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17998 (eval $ac_link) 2>conftest.er1
17999 ac_status=$?
18000 grep -v '^ *+' conftest.er1 >conftest.err
18001 rm -f conftest.er1
18002 cat conftest.err >&5
18003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18004 (exit $ac_status); } &&
b56cb1ff 18005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
158e0e64 18006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18007 (eval $ac_try) 2>&5
18008 ac_status=$?
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); }; } &&
18011 { ac_try='test -s conftest$ac_exeext'
18012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18013 (eval $ac_try) 2>&5
18014 ac_status=$?
18015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18016 (exit $ac_status); }; }; then
d213114b 18017 ac_cv_lib_m_j1=yes
158e0e64 18018else
18019 echo "$as_me: failed program was:" >&5
18020sed 's/^/| /' conftest.$ac_ext >&5
18021
d213114b 18022ac_cv_lib_m_j1=no
158e0e64 18023fi
18024rm -f conftest.err conftest.$ac_objext \
18025 conftest$ac_exeext conftest.$ac_ext
18026LIBS=$ac_check_lib_save_LIBS
18027fi
d213114b 18028echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
18029echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
18030if test $ac_cv_lib_m_j1 = yes; then
158e0e64 18031
18032cat >>confdefs.h <<\_ACEOF
d213114b 18033#define HAVE_J1 1
158e0e64 18034_ACEOF
18035
18036fi
18037
d213114b 18038echo "$as_me:$LINENO: checking for j1l in -lm" >&5
18039echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
18040if test "${ac_cv_lib_m_j1l+set}" = set; then
158e0e64 18041 echo $ECHO_N "(cached) $ECHO_C" >&6
18042else
18043 ac_check_lib_save_LIBS=$LIBS
18044LIBS="-lm $LIBS"
b52ee437 18045if test x$gcc_no_link = xyes; then
18046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18047echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18048 { (exit 1); exit 1; }; }
18049fi
158e0e64 18050cat >conftest.$ac_ext <<_ACEOF
18051/* confdefs.h. */
18052_ACEOF
18053cat confdefs.h >>conftest.$ac_ext
18054cat >>conftest.$ac_ext <<_ACEOF
18055/* end confdefs.h. */
18056
18057/* Override any gcc2 internal prototype to avoid an error. */
18058#ifdef __cplusplus
18059extern "C"
18060#endif
18061/* We use char because int might match the return type of a gcc2
18062 builtin and then its argument prototype would still apply. */
d213114b 18063char j1l ();
158e0e64 18064int
18065main ()
18066{
d213114b 18067j1l ();
158e0e64 18068 ;
18069 return 0;
18070}
18071_ACEOF
18072rm -f conftest.$ac_objext conftest$ac_exeext
18073if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18074 (eval $ac_link) 2>conftest.er1
18075 ac_status=$?
18076 grep -v '^ *+' conftest.er1 >conftest.err
18077 rm -f conftest.er1
18078 cat conftest.err >&5
18079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18080 (exit $ac_status); } &&
b56cb1ff 18081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
158e0e64 18082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18083 (eval $ac_try) 2>&5
18084 ac_status=$?
18085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18086 (exit $ac_status); }; } &&
18087 { ac_try='test -s conftest$ac_exeext'
18088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18089 (eval $ac_try) 2>&5
18090 ac_status=$?
18091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18092 (exit $ac_status); }; }; then
d213114b 18093 ac_cv_lib_m_j1l=yes
158e0e64 18094else
18095 echo "$as_me: failed program was:" >&5
18096sed 's/^/| /' conftest.$ac_ext >&5
18097
d213114b 18098ac_cv_lib_m_j1l=no
158e0e64 18099fi
18100rm -f conftest.err conftest.$ac_objext \
18101 conftest$ac_exeext conftest.$ac_ext
18102LIBS=$ac_check_lib_save_LIBS
18103fi
d213114b 18104echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
18105echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
18106if test $ac_cv_lib_m_j1l = yes; then
158e0e64 18107
18108cat >>confdefs.h <<\_ACEOF
d213114b 18109#define HAVE_J1L 1
158e0e64 18110_ACEOF
18111
18112fi
18113
d213114b 18114echo "$as_me:$LINENO: checking for jnf in -lm" >&5
18115echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
18116if test "${ac_cv_lib_m_jnf+set}" = set; then
158e0e64 18117 echo $ECHO_N "(cached) $ECHO_C" >&6
18118else
18119 ac_check_lib_save_LIBS=$LIBS
18120LIBS="-lm $LIBS"
b52ee437 18121if test x$gcc_no_link = xyes; then
18122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18123echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18124 { (exit 1); exit 1; }; }
18125fi
158e0e64 18126cat >conftest.$ac_ext <<_ACEOF
18127/* confdefs.h. */
18128_ACEOF
18129cat confdefs.h >>conftest.$ac_ext
18130cat >>conftest.$ac_ext <<_ACEOF
18131/* end confdefs.h. */
18132
18133/* Override any gcc2 internal prototype to avoid an error. */
18134#ifdef __cplusplus
18135extern "C"
18136#endif
18137/* We use char because int might match the return type of a gcc2
18138 builtin and then its argument prototype would still apply. */
d213114b 18139char jnf ();
158e0e64 18140int
18141main ()
18142{
d213114b 18143jnf ();
158e0e64 18144 ;
18145 return 0;
18146}
18147_ACEOF
18148rm -f conftest.$ac_objext conftest$ac_exeext
18149if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18150 (eval $ac_link) 2>conftest.er1
18151 ac_status=$?
18152 grep -v '^ *+' conftest.er1 >conftest.err
18153 rm -f conftest.er1
18154 cat conftest.err >&5
18155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18156 (exit $ac_status); } &&
b56cb1ff 18157 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
158e0e64 18158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18159 (eval $ac_try) 2>&5
18160 ac_status=$?
18161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18162 (exit $ac_status); }; } &&
18163 { ac_try='test -s conftest$ac_exeext'
18164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18165 (eval $ac_try) 2>&5
18166 ac_status=$?
18167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168 (exit $ac_status); }; }; then
d213114b 18169 ac_cv_lib_m_jnf=yes
158e0e64 18170else
18171 echo "$as_me: failed program was:" >&5
18172sed 's/^/| /' conftest.$ac_ext >&5
18173
d213114b 18174ac_cv_lib_m_jnf=no
158e0e64 18175fi
18176rm -f conftest.err conftest.$ac_objext \
18177 conftest$ac_exeext conftest.$ac_ext
18178LIBS=$ac_check_lib_save_LIBS
18179fi
d213114b 18180echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
18181echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
18182if test $ac_cv_lib_m_jnf = yes; then
158e0e64 18183
18184cat >>confdefs.h <<\_ACEOF
d213114b 18185#define HAVE_JNF 1
158e0e64 18186_ACEOF
18187
18188fi
18189
d213114b 18190echo "$as_me:$LINENO: checking for jn in -lm" >&5
18191echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
18192if test "${ac_cv_lib_m_jn+set}" = set; then
158e0e64 18193 echo $ECHO_N "(cached) $ECHO_C" >&6
18194else
18195 ac_check_lib_save_LIBS=$LIBS
18196LIBS="-lm $LIBS"
b52ee437 18197if test x$gcc_no_link = xyes; then
18198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18199echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18200 { (exit 1); exit 1; }; }
18201fi
158e0e64 18202cat >conftest.$ac_ext <<_ACEOF
18203/* confdefs.h. */
18204_ACEOF
18205cat confdefs.h >>conftest.$ac_ext
18206cat >>conftest.$ac_ext <<_ACEOF
18207/* end confdefs.h. */
18208
18209/* Override any gcc2 internal prototype to avoid an error. */
18210#ifdef __cplusplus
18211extern "C"
18212#endif
18213/* We use char because int might match the return type of a gcc2
18214 builtin and then its argument prototype would still apply. */
d213114b 18215char jn ();
158e0e64 18216int
18217main ()
18218{
d213114b 18219jn ();
158e0e64 18220 ;
18221 return 0;
18222}
18223_ACEOF
18224rm -f conftest.$ac_objext conftest$ac_exeext
18225if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18226 (eval $ac_link) 2>conftest.er1
18227 ac_status=$?
18228 grep -v '^ *+' conftest.er1 >conftest.err
18229 rm -f conftest.er1
18230 cat conftest.err >&5
18231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18232 (exit $ac_status); } &&
b56cb1ff 18233 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
158e0e64 18234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18235 (eval $ac_try) 2>&5
18236 ac_status=$?
18237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18238 (exit $ac_status); }; } &&
18239 { ac_try='test -s conftest$ac_exeext'
18240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18241 (eval $ac_try) 2>&5
18242 ac_status=$?
18243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18244 (exit $ac_status); }; }; then
d213114b 18245 ac_cv_lib_m_jn=yes
158e0e64 18246else
18247 echo "$as_me: failed program was:" >&5
18248sed 's/^/| /' conftest.$ac_ext >&5
18249
d213114b 18250ac_cv_lib_m_jn=no
158e0e64 18251fi
18252rm -f conftest.err conftest.$ac_objext \
18253 conftest$ac_exeext conftest.$ac_ext
18254LIBS=$ac_check_lib_save_LIBS
18255fi
d213114b 18256echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
18257echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
18258if test $ac_cv_lib_m_jn = yes; then
158e0e64 18259
18260cat >>confdefs.h <<\_ACEOF
d213114b 18261#define HAVE_JN 1
158e0e64 18262_ACEOF
18263
18264fi
18265
d213114b 18266echo "$as_me:$LINENO: checking for jnl in -lm" >&5
18267echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
18268if test "${ac_cv_lib_m_jnl+set}" = set; then
158e0e64 18269 echo $ECHO_N "(cached) $ECHO_C" >&6
18270else
18271 ac_check_lib_save_LIBS=$LIBS
18272LIBS="-lm $LIBS"
b52ee437 18273if test x$gcc_no_link = xyes; then
18274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18275echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18276 { (exit 1); exit 1; }; }
18277fi
158e0e64 18278cat >conftest.$ac_ext <<_ACEOF
18279/* confdefs.h. */
18280_ACEOF
18281cat confdefs.h >>conftest.$ac_ext
18282cat >>conftest.$ac_ext <<_ACEOF
18283/* end confdefs.h. */
18284
18285/* Override any gcc2 internal prototype to avoid an error. */
18286#ifdef __cplusplus
18287extern "C"
18288#endif
18289/* We use char because int might match the return type of a gcc2
18290 builtin and then its argument prototype would still apply. */
d213114b 18291char jnl ();
158e0e64 18292int
18293main ()
18294{
d213114b 18295jnl ();
158e0e64 18296 ;
18297 return 0;
18298}
18299_ACEOF
18300rm -f conftest.$ac_objext conftest$ac_exeext
18301if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18302 (eval $ac_link) 2>conftest.er1
18303 ac_status=$?
18304 grep -v '^ *+' conftest.er1 >conftest.err
18305 rm -f conftest.er1
18306 cat conftest.err >&5
18307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18308 (exit $ac_status); } &&
b56cb1ff 18309 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
158e0e64 18310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18311 (eval $ac_try) 2>&5
18312 ac_status=$?
18313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18314 (exit $ac_status); }; } &&
18315 { ac_try='test -s conftest$ac_exeext'
18316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18317 (eval $ac_try) 2>&5
18318 ac_status=$?
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); }; }; then
d213114b 18321 ac_cv_lib_m_jnl=yes
158e0e64 18322else
18323 echo "$as_me: failed program was:" >&5
18324sed 's/^/| /' conftest.$ac_ext >&5
18325
d213114b 18326ac_cv_lib_m_jnl=no
158e0e64 18327fi
18328rm -f conftest.err conftest.$ac_objext \
18329 conftest$ac_exeext conftest.$ac_ext
18330LIBS=$ac_check_lib_save_LIBS
18331fi
d213114b 18332echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
18333echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
18334if test $ac_cv_lib_m_jnl = yes; then
158e0e64 18335
18336cat >>confdefs.h <<\_ACEOF
d213114b 18337#define HAVE_JNL 1
158e0e64 18338_ACEOF
18339
18340fi
18341
d213114b 18342echo "$as_me:$LINENO: checking for y0f in -lm" >&5
18343echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
18344if test "${ac_cv_lib_m_y0f+set}" = set; then
158e0e64 18345 echo $ECHO_N "(cached) $ECHO_C" >&6
18346else
18347 ac_check_lib_save_LIBS=$LIBS
18348LIBS="-lm $LIBS"
b52ee437 18349if test x$gcc_no_link = xyes; then
18350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18351echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18352 { (exit 1); exit 1; }; }
18353fi
158e0e64 18354cat >conftest.$ac_ext <<_ACEOF
18355/* confdefs.h. */
18356_ACEOF
18357cat confdefs.h >>conftest.$ac_ext
18358cat >>conftest.$ac_ext <<_ACEOF
18359/* end confdefs.h. */
18360
18361/* Override any gcc2 internal prototype to avoid an error. */
18362#ifdef __cplusplus
18363extern "C"
18364#endif
18365/* We use char because int might match the return type of a gcc2
18366 builtin and then its argument prototype would still apply. */
d213114b 18367char y0f ();
158e0e64 18368int
18369main ()
18370{
d213114b 18371y0f ();
158e0e64 18372 ;
18373 return 0;
18374}
18375_ACEOF
18376rm -f conftest.$ac_objext conftest$ac_exeext
18377if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18378 (eval $ac_link) 2>conftest.er1
18379 ac_status=$?
18380 grep -v '^ *+' conftest.er1 >conftest.err
18381 rm -f conftest.er1
18382 cat conftest.err >&5
18383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384 (exit $ac_status); } &&
b56cb1ff 18385 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
158e0e64 18386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18387 (eval $ac_try) 2>&5
18388 ac_status=$?
18389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18390 (exit $ac_status); }; } &&
18391 { ac_try='test -s conftest$ac_exeext'
18392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18393 (eval $ac_try) 2>&5
18394 ac_status=$?
18395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18396 (exit $ac_status); }; }; then
d213114b 18397 ac_cv_lib_m_y0f=yes
158e0e64 18398else
18399 echo "$as_me: failed program was:" >&5
18400sed 's/^/| /' conftest.$ac_ext >&5
18401
d213114b 18402ac_cv_lib_m_y0f=no
158e0e64 18403fi
18404rm -f conftest.err conftest.$ac_objext \
18405 conftest$ac_exeext conftest.$ac_ext
18406LIBS=$ac_check_lib_save_LIBS
18407fi
d213114b 18408echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
18409echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
18410if test $ac_cv_lib_m_y0f = yes; then
158e0e64 18411
18412cat >>confdefs.h <<\_ACEOF
d213114b 18413#define HAVE_Y0F 1
158e0e64 18414_ACEOF
18415
18416fi
18417
d213114b 18418echo "$as_me:$LINENO: checking for y0 in -lm" >&5
18419echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
18420if test "${ac_cv_lib_m_y0+set}" = set; then
158e0e64 18421 echo $ECHO_N "(cached) $ECHO_C" >&6
18422else
18423 ac_check_lib_save_LIBS=$LIBS
18424LIBS="-lm $LIBS"
b52ee437 18425if test x$gcc_no_link = xyes; then
18426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18427echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18428 { (exit 1); exit 1; }; }
18429fi
158e0e64 18430cat >conftest.$ac_ext <<_ACEOF
18431/* confdefs.h. */
18432_ACEOF
18433cat confdefs.h >>conftest.$ac_ext
18434cat >>conftest.$ac_ext <<_ACEOF
18435/* end confdefs.h. */
18436
18437/* Override any gcc2 internal prototype to avoid an error. */
18438#ifdef __cplusplus
18439extern "C"
18440#endif
18441/* We use char because int might match the return type of a gcc2
18442 builtin and then its argument prototype would still apply. */
d213114b 18443char y0 ();
158e0e64 18444int
18445main ()
18446{
d213114b 18447y0 ();
158e0e64 18448 ;
18449 return 0;
18450}
18451_ACEOF
18452rm -f conftest.$ac_objext conftest$ac_exeext
18453if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18454 (eval $ac_link) 2>conftest.er1
18455 ac_status=$?
18456 grep -v '^ *+' conftest.er1 >conftest.err
18457 rm -f conftest.er1
18458 cat conftest.err >&5
18459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18460 (exit $ac_status); } &&
b56cb1ff 18461 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
158e0e64 18462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18463 (eval $ac_try) 2>&5
18464 ac_status=$?
18465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18466 (exit $ac_status); }; } &&
18467 { ac_try='test -s conftest$ac_exeext'
18468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18469 (eval $ac_try) 2>&5
18470 ac_status=$?
18471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18472 (exit $ac_status); }; }; then
d213114b 18473 ac_cv_lib_m_y0=yes
158e0e64 18474else
18475 echo "$as_me: failed program was:" >&5
18476sed 's/^/| /' conftest.$ac_ext >&5
18477
d213114b 18478ac_cv_lib_m_y0=no
158e0e64 18479fi
18480rm -f conftest.err conftest.$ac_objext \
18481 conftest$ac_exeext conftest.$ac_ext
18482LIBS=$ac_check_lib_save_LIBS
18483fi
d213114b 18484echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
18485echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
18486if test $ac_cv_lib_m_y0 = yes; then
158e0e64 18487
18488cat >>confdefs.h <<\_ACEOF
d213114b 18489#define HAVE_Y0 1
158e0e64 18490_ACEOF
18491
18492fi
18493
d213114b 18494echo "$as_me:$LINENO: checking for y0l in -lm" >&5
18495echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
18496if test "${ac_cv_lib_m_y0l+set}" = set; then
158e0e64 18497 echo $ECHO_N "(cached) $ECHO_C" >&6
18498else
18499 ac_check_lib_save_LIBS=$LIBS
18500LIBS="-lm $LIBS"
b52ee437 18501if test x$gcc_no_link = xyes; then
18502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18503echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18504 { (exit 1); exit 1; }; }
18505fi
158e0e64 18506cat >conftest.$ac_ext <<_ACEOF
18507/* confdefs.h. */
18508_ACEOF
18509cat confdefs.h >>conftest.$ac_ext
18510cat >>conftest.$ac_ext <<_ACEOF
18511/* end confdefs.h. */
18512
18513/* Override any gcc2 internal prototype to avoid an error. */
18514#ifdef __cplusplus
18515extern "C"
18516#endif
18517/* We use char because int might match the return type of a gcc2
18518 builtin and then its argument prototype would still apply. */
d213114b 18519char y0l ();
158e0e64 18520int
18521main ()
18522{
d213114b 18523y0l ();
158e0e64 18524 ;
18525 return 0;
18526}
18527_ACEOF
18528rm -f conftest.$ac_objext conftest$ac_exeext
18529if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18530 (eval $ac_link) 2>conftest.er1
18531 ac_status=$?
18532 grep -v '^ *+' conftest.er1 >conftest.err
18533 rm -f conftest.er1
18534 cat conftest.err >&5
18535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18536 (exit $ac_status); } &&
b56cb1ff 18537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
158e0e64 18538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18539 (eval $ac_try) 2>&5
18540 ac_status=$?
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); }; } &&
18543 { ac_try='test -s conftest$ac_exeext'
18544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18545 (eval $ac_try) 2>&5
18546 ac_status=$?
18547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18548 (exit $ac_status); }; }; then
d213114b 18549 ac_cv_lib_m_y0l=yes
158e0e64 18550else
18551 echo "$as_me: failed program was:" >&5
18552sed 's/^/| /' conftest.$ac_ext >&5
18553
d213114b 18554ac_cv_lib_m_y0l=no
158e0e64 18555fi
18556rm -f conftest.err conftest.$ac_objext \
18557 conftest$ac_exeext conftest.$ac_ext
18558LIBS=$ac_check_lib_save_LIBS
18559fi
d213114b 18560echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
18561echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
18562if test $ac_cv_lib_m_y0l = yes; then
158e0e64 18563
18564cat >>confdefs.h <<\_ACEOF
d213114b 18565#define HAVE_Y0L 1
158e0e64 18566_ACEOF
18567
18568fi
18569
d213114b 18570echo "$as_me:$LINENO: checking for y1f in -lm" >&5
18571echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
18572if test "${ac_cv_lib_m_y1f+set}" = set; then
158e0e64 18573 echo $ECHO_N "(cached) $ECHO_C" >&6
18574else
18575 ac_check_lib_save_LIBS=$LIBS
18576LIBS="-lm $LIBS"
b52ee437 18577if test x$gcc_no_link = xyes; then
18578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18579echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18580 { (exit 1); exit 1; }; }
18581fi
158e0e64 18582cat >conftest.$ac_ext <<_ACEOF
18583/* confdefs.h. */
18584_ACEOF
18585cat confdefs.h >>conftest.$ac_ext
18586cat >>conftest.$ac_ext <<_ACEOF
18587/* end confdefs.h. */
18588
18589/* Override any gcc2 internal prototype to avoid an error. */
18590#ifdef __cplusplus
18591extern "C"
18592#endif
18593/* We use char because int might match the return type of a gcc2
18594 builtin and then its argument prototype would still apply. */
d213114b 18595char y1f ();
158e0e64 18596int
18597main ()
18598{
d213114b 18599y1f ();
158e0e64 18600 ;
18601 return 0;
18602}
18603_ACEOF
18604rm -f conftest.$ac_objext conftest$ac_exeext
18605if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18606 (eval $ac_link) 2>conftest.er1
18607 ac_status=$?
18608 grep -v '^ *+' conftest.er1 >conftest.err
18609 rm -f conftest.er1
18610 cat conftest.err >&5
18611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18612 (exit $ac_status); } &&
b56cb1ff 18613 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
158e0e64 18614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18615 (eval $ac_try) 2>&5
18616 ac_status=$?
18617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18618 (exit $ac_status); }; } &&
18619 { ac_try='test -s conftest$ac_exeext'
18620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18621 (eval $ac_try) 2>&5
18622 ac_status=$?
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); }; }; then
d213114b 18625 ac_cv_lib_m_y1f=yes
158e0e64 18626else
18627 echo "$as_me: failed program was:" >&5
18628sed 's/^/| /' conftest.$ac_ext >&5
18629
d213114b 18630ac_cv_lib_m_y1f=no
158e0e64 18631fi
18632rm -f conftest.err conftest.$ac_objext \
18633 conftest$ac_exeext conftest.$ac_ext
18634LIBS=$ac_check_lib_save_LIBS
18635fi
d213114b 18636echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
18637echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
18638if test $ac_cv_lib_m_y1f = yes; then
158e0e64 18639
18640cat >>confdefs.h <<\_ACEOF
d213114b 18641#define HAVE_Y1F 1
158e0e64 18642_ACEOF
18643
18644fi
18645
d213114b 18646echo "$as_me:$LINENO: checking for y1 in -lm" >&5
18647echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
18648if test "${ac_cv_lib_m_y1+set}" = set; then
158e0e64 18649 echo $ECHO_N "(cached) $ECHO_C" >&6
18650else
18651 ac_check_lib_save_LIBS=$LIBS
18652LIBS="-lm $LIBS"
b52ee437 18653if test x$gcc_no_link = xyes; then
18654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18655echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18656 { (exit 1); exit 1; }; }
18657fi
158e0e64 18658cat >conftest.$ac_ext <<_ACEOF
18659/* confdefs.h. */
18660_ACEOF
18661cat confdefs.h >>conftest.$ac_ext
18662cat >>conftest.$ac_ext <<_ACEOF
18663/* end confdefs.h. */
18664
18665/* Override any gcc2 internal prototype to avoid an error. */
18666#ifdef __cplusplus
18667extern "C"
18668#endif
18669/* We use char because int might match the return type of a gcc2
18670 builtin and then its argument prototype would still apply. */
d213114b 18671char y1 ();
158e0e64 18672int
18673main ()
18674{
d213114b 18675y1 ();
158e0e64 18676 ;
18677 return 0;
18678}
18679_ACEOF
18680rm -f conftest.$ac_objext conftest$ac_exeext
18681if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18682 (eval $ac_link) 2>conftest.er1
18683 ac_status=$?
18684 grep -v '^ *+' conftest.er1 >conftest.err
18685 rm -f conftest.er1
18686 cat conftest.err >&5
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); } &&
b56cb1ff 18689 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
158e0e64 18690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18691 (eval $ac_try) 2>&5
18692 ac_status=$?
18693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18694 (exit $ac_status); }; } &&
18695 { ac_try='test -s conftest$ac_exeext'
18696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18697 (eval $ac_try) 2>&5
18698 ac_status=$?
18699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700 (exit $ac_status); }; }; then
d213114b 18701 ac_cv_lib_m_y1=yes
158e0e64 18702else
18703 echo "$as_me: failed program was:" >&5
18704sed 's/^/| /' conftest.$ac_ext >&5
18705
d213114b 18706ac_cv_lib_m_y1=no
158e0e64 18707fi
18708rm -f conftest.err conftest.$ac_objext \
18709 conftest$ac_exeext conftest.$ac_ext
18710LIBS=$ac_check_lib_save_LIBS
18711fi
d213114b 18712echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
18713echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
18714if test $ac_cv_lib_m_y1 = yes; then
158e0e64 18715
18716cat >>confdefs.h <<\_ACEOF
d213114b 18717#define HAVE_Y1 1
158e0e64 18718_ACEOF
18719
18720fi
18721
d213114b 18722echo "$as_me:$LINENO: checking for y1l in -lm" >&5
18723echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
18724if test "${ac_cv_lib_m_y1l+set}" = set; then
158e0e64 18725 echo $ECHO_N "(cached) $ECHO_C" >&6
18726else
18727 ac_check_lib_save_LIBS=$LIBS
18728LIBS="-lm $LIBS"
b52ee437 18729if test x$gcc_no_link = xyes; then
18730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18731echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18732 { (exit 1); exit 1; }; }
18733fi
158e0e64 18734cat >conftest.$ac_ext <<_ACEOF
18735/* confdefs.h. */
18736_ACEOF
18737cat confdefs.h >>conftest.$ac_ext
18738cat >>conftest.$ac_ext <<_ACEOF
18739/* end confdefs.h. */
18740
18741/* Override any gcc2 internal prototype to avoid an error. */
18742#ifdef __cplusplus
18743extern "C"
18744#endif
18745/* We use char because int might match the return type of a gcc2
18746 builtin and then its argument prototype would still apply. */
d213114b 18747char y1l ();
158e0e64 18748int
18749main ()
18750{
d213114b 18751y1l ();
158e0e64 18752 ;
18753 return 0;
18754}
18755_ACEOF
18756rm -f conftest.$ac_objext conftest$ac_exeext
18757if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18758 (eval $ac_link) 2>conftest.er1
18759 ac_status=$?
18760 grep -v '^ *+' conftest.er1 >conftest.err
18761 rm -f conftest.er1
18762 cat conftest.err >&5
18763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18764 (exit $ac_status); } &&
b56cb1ff 18765 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
158e0e64 18766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18767 (eval $ac_try) 2>&5
18768 ac_status=$?
18769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18770 (exit $ac_status); }; } &&
18771 { ac_try='test -s conftest$ac_exeext'
18772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18773 (eval $ac_try) 2>&5
18774 ac_status=$?
18775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18776 (exit $ac_status); }; }; then
d213114b 18777 ac_cv_lib_m_y1l=yes
158e0e64 18778else
18779 echo "$as_me: failed program was:" >&5
18780sed 's/^/| /' conftest.$ac_ext >&5
18781
d213114b 18782ac_cv_lib_m_y1l=no
158e0e64 18783fi
18784rm -f conftest.err conftest.$ac_objext \
18785 conftest$ac_exeext conftest.$ac_ext
18786LIBS=$ac_check_lib_save_LIBS
18787fi
d213114b 18788echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
18789echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
18790if test $ac_cv_lib_m_y1l = yes; then
158e0e64 18791
18792cat >>confdefs.h <<\_ACEOF
d213114b 18793#define HAVE_Y1L 1
158e0e64 18794_ACEOF
18795
18796fi
18797
d213114b 18798echo "$as_me:$LINENO: checking for ynf in -lm" >&5
18799echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
18800if test "${ac_cv_lib_m_ynf+set}" = set; then
158e0e64 18801 echo $ECHO_N "(cached) $ECHO_C" >&6
18802else
18803 ac_check_lib_save_LIBS=$LIBS
18804LIBS="-lm $LIBS"
b52ee437 18805if test x$gcc_no_link = xyes; then
18806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18807echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18808 { (exit 1); exit 1; }; }
18809fi
158e0e64 18810cat >conftest.$ac_ext <<_ACEOF
18811/* confdefs.h. */
18812_ACEOF
18813cat confdefs.h >>conftest.$ac_ext
18814cat >>conftest.$ac_ext <<_ACEOF
18815/* end confdefs.h. */
18816
18817/* Override any gcc2 internal prototype to avoid an error. */
18818#ifdef __cplusplus
18819extern "C"
18820#endif
18821/* We use char because int might match the return type of a gcc2
18822 builtin and then its argument prototype would still apply. */
d213114b 18823char ynf ();
158e0e64 18824int
18825main ()
18826{
d213114b 18827ynf ();
158e0e64 18828 ;
18829 return 0;
18830}
18831_ACEOF
18832rm -f conftest.$ac_objext conftest$ac_exeext
18833if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18834 (eval $ac_link) 2>conftest.er1
18835 ac_status=$?
18836 grep -v '^ *+' conftest.er1 >conftest.err
18837 rm -f conftest.er1
18838 cat conftest.err >&5
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); } &&
b56cb1ff 18841 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
158e0e64 18842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18843 (eval $ac_try) 2>&5
18844 ac_status=$?
18845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18846 (exit $ac_status); }; } &&
18847 { ac_try='test -s conftest$ac_exeext'
18848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18849 (eval $ac_try) 2>&5
18850 ac_status=$?
18851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18852 (exit $ac_status); }; }; then
d213114b 18853 ac_cv_lib_m_ynf=yes
158e0e64 18854else
18855 echo "$as_me: failed program was:" >&5
18856sed 's/^/| /' conftest.$ac_ext >&5
18857
d213114b 18858ac_cv_lib_m_ynf=no
158e0e64 18859fi
18860rm -f conftest.err conftest.$ac_objext \
18861 conftest$ac_exeext conftest.$ac_ext
18862LIBS=$ac_check_lib_save_LIBS
18863fi
d213114b 18864echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
18865echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
18866if test $ac_cv_lib_m_ynf = yes; then
158e0e64 18867
18868cat >>confdefs.h <<\_ACEOF
d213114b 18869#define HAVE_YNF 1
158e0e64 18870_ACEOF
18871
18872fi
18873
18874echo "$as_me:$LINENO: checking for yn in -lm" >&5
18875echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
18876if test "${ac_cv_lib_m_yn+set}" = set; then
18877 echo $ECHO_N "(cached) $ECHO_C" >&6
18878else
18879 ac_check_lib_save_LIBS=$LIBS
18880LIBS="-lm $LIBS"
b52ee437 18881if test x$gcc_no_link = xyes; then
18882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18883echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18884 { (exit 1); exit 1; }; }
18885fi
158e0e64 18886cat >conftest.$ac_ext <<_ACEOF
18887/* confdefs.h. */
18888_ACEOF
18889cat confdefs.h >>conftest.$ac_ext
18890cat >>conftest.$ac_ext <<_ACEOF
18891/* end confdefs.h. */
18892
18893/* Override any gcc2 internal prototype to avoid an error. */
18894#ifdef __cplusplus
18895extern "C"
18896#endif
18897/* We use char because int might match the return type of a gcc2
18898 builtin and then its argument prototype would still apply. */
18899char yn ();
18900int
18901main ()
18902{
18903yn ();
18904 ;
18905 return 0;
18906}
18907_ACEOF
18908rm -f conftest.$ac_objext conftest$ac_exeext
18909if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18910 (eval $ac_link) 2>conftest.er1
18911 ac_status=$?
18912 grep -v '^ *+' conftest.er1 >conftest.err
18913 rm -f conftest.er1
18914 cat conftest.err >&5
18915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916 (exit $ac_status); } &&
b56cb1ff 18917 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
158e0e64 18918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18919 (eval $ac_try) 2>&5
18920 ac_status=$?
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); }; } &&
18923 { ac_try='test -s conftest$ac_exeext'
18924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18925 (eval $ac_try) 2>&5
18926 ac_status=$?
18927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18928 (exit $ac_status); }; }; then
18929 ac_cv_lib_m_yn=yes
18930else
18931 echo "$as_me: failed program was:" >&5
18932sed 's/^/| /' conftest.$ac_ext >&5
18933
18934ac_cv_lib_m_yn=no
18935fi
18936rm -f conftest.err conftest.$ac_objext \
18937 conftest$ac_exeext conftest.$ac_ext
18938LIBS=$ac_check_lib_save_LIBS
18939fi
18940echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
18941echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
18942if test $ac_cv_lib_m_yn = yes; then
18943
18944cat >>confdefs.h <<\_ACEOF
18945#define HAVE_YN 1
18946_ACEOF
18947
18948fi
18949
d213114b 18950echo "$as_me:$LINENO: checking for ynl in -lm" >&5
18951echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
18952if test "${ac_cv_lib_m_ynl+set}" = set; then
158e0e64 18953 echo $ECHO_N "(cached) $ECHO_C" >&6
18954else
18955 ac_check_lib_save_LIBS=$LIBS
18956LIBS="-lm $LIBS"
b52ee437 18957if test x$gcc_no_link = xyes; then
18958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18959echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18960 { (exit 1); exit 1; }; }
18961fi
158e0e64 18962cat >conftest.$ac_ext <<_ACEOF
18963/* confdefs.h. */
18964_ACEOF
18965cat confdefs.h >>conftest.$ac_ext
18966cat >>conftest.$ac_ext <<_ACEOF
18967/* end confdefs.h. */
18968
18969/* Override any gcc2 internal prototype to avoid an error. */
18970#ifdef __cplusplus
18971extern "C"
18972#endif
18973/* We use char because int might match the return type of a gcc2
18974 builtin and then its argument prototype would still apply. */
d213114b 18975char ynl ();
158e0e64 18976int
18977main ()
18978{
d213114b 18979ynl ();
158e0e64 18980 ;
18981 return 0;
18982}
18983_ACEOF
18984rm -f conftest.$ac_objext conftest$ac_exeext
18985if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18986 (eval $ac_link) 2>conftest.er1
18987 ac_status=$?
18988 grep -v '^ *+' conftest.er1 >conftest.err
18989 rm -f conftest.er1
18990 cat conftest.err >&5
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); } &&
b56cb1ff 18993 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
158e0e64 18994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18995 (eval $ac_try) 2>&5
18996 ac_status=$?
18997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18998 (exit $ac_status); }; } &&
18999 { ac_try='test -s conftest$ac_exeext'
19000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19001 (eval $ac_try) 2>&5
19002 ac_status=$?
19003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19004 (exit $ac_status); }; }; then
d213114b 19005 ac_cv_lib_m_ynl=yes
158e0e64 19006else
19007 echo "$as_me: failed program was:" >&5
19008sed 's/^/| /' conftest.$ac_ext >&5
19009
d213114b 19010ac_cv_lib_m_ynl=no
158e0e64 19011fi
19012rm -f conftest.err conftest.$ac_objext \
19013 conftest$ac_exeext conftest.$ac_ext
19014LIBS=$ac_check_lib_save_LIBS
19015fi
d213114b 19016echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
19017echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
19018if test $ac_cv_lib_m_ynl = yes; then
158e0e64 19019
19020cat >>confdefs.h <<\_ACEOF
d213114b 19021#define HAVE_YNL 1
158e0e64 19022_ACEOF
19023
19024fi
19025
a31bd8a4 19026
839904a0 19027# On AIX, clog is present in libm as __clog
62a413d5 19028echo "$as_me:$LINENO: checking for __clog in -lm" >&5
19029echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
19030if test "${ac_cv_lib_m___clog+set}" = set; then
19031 echo $ECHO_N "(cached) $ECHO_C" >&6
19032else
19033 ac_check_lib_save_LIBS=$LIBS
19034LIBS="-lm $LIBS"
19035if test x$gcc_no_link = xyes; then
19036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19037echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19038 { (exit 1); exit 1; }; }
19039fi
19040cat >conftest.$ac_ext <<_ACEOF
19041/* confdefs.h. */
19042_ACEOF
19043cat confdefs.h >>conftest.$ac_ext
19044cat >>conftest.$ac_ext <<_ACEOF
19045/* end confdefs.h. */
19046
19047/* Override any gcc2 internal prototype to avoid an error. */
19048#ifdef __cplusplus
19049extern "C"
19050#endif
19051/* We use char because int might match the return type of a gcc2
19052 builtin and then its argument prototype would still apply. */
19053char __clog ();
19054int
19055main ()
19056{
19057__clog ();
19058 ;
19059 return 0;
19060}
19061_ACEOF
19062rm -f conftest.$ac_objext conftest$ac_exeext
19063if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19064 (eval $ac_link) 2>conftest.er1
19065 ac_status=$?
19066 grep -v '^ *+' conftest.er1 >conftest.err
19067 rm -f conftest.er1
19068 cat conftest.err >&5
19069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070 (exit $ac_status); } &&
b56cb1ff 19071 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
62a413d5 19072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19073 (eval $ac_try) 2>&5
19074 ac_status=$?
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); }; } &&
19077 { ac_try='test -s conftest$ac_exeext'
19078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19079 (eval $ac_try) 2>&5
19080 ac_status=$?
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); }; }; then
19083 ac_cv_lib_m___clog=yes
19084else
19085 echo "$as_me: failed program was:" >&5
19086sed 's/^/| /' conftest.$ac_ext >&5
19087
19088ac_cv_lib_m___clog=no
19089fi
19090rm -f conftest.err conftest.$ac_objext \
19091 conftest$ac_exeext conftest.$ac_ext
19092LIBS=$ac_check_lib_save_LIBS
19093fi
19094echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
19095echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
19096if test $ac_cv_lib_m___clog = yes; then
19097
19098cat >>confdefs.h <<\_ACEOF
19099#define HAVE_CLOG 1
19100_ACEOF
19101
19102fi
19103
19104
839904a0 19105# Check for a isfinite macro that works on long doubles.
19106
19107 echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
19108echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
19109if test "${have_broken_isfinite+set}" = set; then
19110 echo $ECHO_N "(cached) $ECHO_C" >&6
19111else
19112
19113 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
19114 LIBS="$LIBS -lm"
19115 if test "$cross_compiling" = yes; then
19116
19117case "${target}" in
19118 hppa*-*-hpux*) have_broken_isfinite=yes ;;
19119 *) have_broken_isfinite=no ;;
19120esac
19121else
19122 cat >conftest.$ac_ext <<_ACEOF
19123/* confdefs.h. */
19124_ACEOF
19125cat confdefs.h >>conftest.$ac_ext
19126cat >>conftest.$ac_ext <<_ACEOF
19127/* end confdefs.h. */
19128
19129#ifdef HAVE_MATH_H
19130#include <math.h>
19131#endif
19132#include <float.h>
19133int main ()
19134{
19135#ifdef isfinite
19136#ifdef LDBL_MAX
19137 if (!isfinite(LDBL_MAX)) return 1;
19138#endif
19139#ifdef DBL_MAX
19140 if (!isfinite(DBL_MAX)) return 1;
19141#endif
19142#endif
19143return 0;
19144}
19145_ACEOF
19146rm -f conftest$ac_exeext
19147if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19148 (eval $ac_link) 2>&5
19149 ac_status=$?
19150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19151 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19153 (eval $ac_try) 2>&5
19154 ac_status=$?
19155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19156 (exit $ac_status); }; }; then
19157 have_broken_isfinite=no
19158else
19159 echo "$as_me: program exited with status $ac_status" >&5
19160echo "$as_me: failed program was:" >&5
19161sed 's/^/| /' conftest.$ac_ext >&5
19162
19163( exit $ac_status )
19164have_broken_isfinite=yes
19165fi
19166rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19167fi
19168 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
19169fi
19170echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
19171echo "${ECHO_T}$have_broken_isfinite" >&6
19172if test x"$have_broken_isfinite" = xyes; then
19173
19174cat >>confdefs.h <<\_ACEOF
19175#define HAVE_BROKEN_ISFINITE 1
19176_ACEOF
19177
19178fi
19179
19180# Check for a isnan macro that works on long doubles.
19181
19182 echo "$as_me:$LINENO: checking whether isnan is broken" >&5
19183echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
19184if test "${have_broken_isnan+set}" = set; then
19185 echo $ECHO_N "(cached) $ECHO_C" >&6
19186else
19187
19188 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
19189 LIBS="$LIBS -lm"
19190 if test "$cross_compiling" = yes; then
19191
19192case "${target}" in
19193 hppa*-*-hpux*) have_broken_isnan=yes ;;
19194 *) have_broken_isnan=no ;;
19195esac
19196else
19197 cat >conftest.$ac_ext <<_ACEOF
19198/* confdefs.h. */
19199_ACEOF
19200cat confdefs.h >>conftest.$ac_ext
19201cat >>conftest.$ac_ext <<_ACEOF
19202/* end confdefs.h. */
19203
19204#ifdef HAVE_MATH_H
19205#include <math.h>
19206#endif
19207#include <float.h>
19208int main ()
19209{
19210#ifdef isnan
19211#ifdef LDBL_MAX
19212 {
19213 long double x;
19214 x = __builtin_nanl ("");
19215 if (!isnan(x)) return 1;
19216 if (isnan(LDBL_MAX)) return 1;
19217#ifdef NAN
19218 x = (long double) NAN;
19219 if (!isnan(x)) return 1;
19220#endif
19221 }
19222#endif
19223#ifdef DBL_MAX
19224 {
19225 double y;
19226 y = __builtin_nan ("");
19227 if (!isnan(y)) return 1;
19228 if (isnan(DBL_MAX)) return 1;
19229#ifdef NAN
19230 y = (double) NAN;
19231 if (!isnan(y)) return 1;
19232#endif
19233 }
19234#endif
19235#endif
19236return 0;
19237}
19238_ACEOF
19239rm -f conftest$ac_exeext
19240if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19241 (eval $ac_link) 2>&5
19242 ac_status=$?
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19246 (eval $ac_try) 2>&5
19247 ac_status=$?
19248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249 (exit $ac_status); }; }; then
19250 have_broken_isnan=no
19251else
19252 echo "$as_me: program exited with status $ac_status" >&5
19253echo "$as_me: failed program was:" >&5
19254sed 's/^/| /' conftest.$ac_ext >&5
19255
19256( exit $ac_status )
19257have_broken_isnan=yes
19258fi
19259rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19260fi
19261 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
19262fi
19263echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
19264echo "${ECHO_T}$have_broken_isnan" >&6
19265if test x"$have_broken_isnan" = xyes; then
19266
19267cat >>confdefs.h <<\_ACEOF
19268#define HAVE_BROKEN_ISNAN 1
19269_ACEOF
19270
19271fi
19272
19273# Check for a fpclassify macro that works on long doubles.
19274
19275 echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
19276echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
19277if test "${have_broken_fpclassify+set}" = set; then
19278 echo $ECHO_N "(cached) $ECHO_C" >&6
19279else
19280
19281 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
19282 LIBS="$LIBS -lm"
19283 if test "$cross_compiling" = yes; then
19284
19285case "${target}" in
19286 hppa*-*-hpux*) have_broken_fpclassify=yes ;;
19287 *) have_broken_fpclassify=no ;;
19288esac
19289else
19290 cat >conftest.$ac_ext <<_ACEOF
19291/* confdefs.h. */
19292_ACEOF
19293cat confdefs.h >>conftest.$ac_ext
19294cat >>conftest.$ac_ext <<_ACEOF
19295/* end confdefs.h. */
19296
19297#ifdef HAVE_MATH_H
19298#include <math.h>
19299#endif
19300#include <float.h>
19301int main ()
19302{
19303#ifdef fpclassify
19304#ifdef LDBL_MAX
19305 if (fpclassify(LDBL_MAX) == FP_NAN
19306 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
19307#endif
19308#ifdef DBL_MAX
19309 if (fpclassify(DBL_MAX) == FP_NAN
19310 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
19311#endif
19312#endif
19313return 0;
19314}
19315_ACEOF
19316rm -f conftest$ac_exeext
19317if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19318 (eval $ac_link) 2>&5
19319 ac_status=$?
19320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19323 (eval $ac_try) 2>&5
19324 ac_status=$?
19325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19326 (exit $ac_status); }; }; then
19327 have_broken_fpclassify=no
19328else
19329 echo "$as_me: program exited with status $ac_status" >&5
19330echo "$as_me: failed program was:" >&5
19331sed 's/^/| /' conftest.$ac_ext >&5
19332
19333( exit $ac_status )
19334have_broken_fpclassify=yes
19335fi
19336rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19337fi
19338 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
19339fi
19340echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
19341echo "${ECHO_T}$have_broken_fpclassify" >&6
19342if test x"$have_broken_fpclassify" = xyes; then
19343
19344cat >>confdefs.h <<\_ACEOF
19345#define HAVE_BROKEN_FPCLASSIFY 1
19346_ACEOF
19347
19348fi
19349
daad4fd5 19350# Check whether the system has a working stat()
19351
19352 echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
19353echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
19354if test "${have_working_stat+set}" = set; then
19355 echo $ECHO_N "(cached) $ECHO_C" >&6
19356else
19357
19358 if test "$cross_compiling" = yes; then
19359
19360case "${target}" in
19361 *mingw*) have_working_stat=no ;;
19362 *) have_working_stat=yes;;
19363esac
19364else
19365 cat >conftest.$ac_ext <<_ACEOF
19366/* confdefs.h. */
19367_ACEOF
19368cat confdefs.h >>conftest.$ac_ext
19369cat >>conftest.$ac_ext <<_ACEOF
19370/* end confdefs.h. */
19371
19372#include <stdio.h>
19373#include <sys/types.h>
19374#include <sys/stat.h>
19375#include <unistd.h>
19376
19377int main ()
19378{
19379 FILE *f, *g;
19380 struct stat st1, st2;
19381
19382 f = fopen ("foo", "w");
19383 g = fopen ("bar", "w");
19384 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
19385 return 1;
19386 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
19387 return 1;
19388 fclose(f);
19389 fclose(g);
19390 return 0;
19391}
19392_ACEOF
19393rm -f conftest$ac_exeext
19394if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19395 (eval $ac_link) 2>&5
19396 ac_status=$?
19397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19398 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19400 (eval $ac_try) 2>&5
19401 ac_status=$?
19402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403 (exit $ac_status); }; }; then
19404 have_working_stat=yes
19405else
19406 echo "$as_me: program exited with status $ac_status" >&5
19407echo "$as_me: failed program was:" >&5
19408sed 's/^/| /' conftest.$ac_ext >&5
19409
19410( exit $ac_status )
19411have_working_stat=no
19412fi
19413rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19414fi
19415fi
19416echo "$as_me:$LINENO: result: $have_working_stat" >&5
19417echo "${ECHO_T}$have_working_stat" >&6
19418if test x"$have_working_stat" = xyes; then
19419
19420cat >>confdefs.h <<\_ACEOF
19421#define HAVE_WORKING_STAT 1
19422_ACEOF
19423
19424fi
19425
fd48ced8 19426# Fallback in case isfinite is not available.
19427echo "$as_me:$LINENO: checking for finite in -lm" >&5
19428echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
19429if test "${ac_cv_lib_m_finite+set}" = set; then
19430 echo $ECHO_N "(cached) $ECHO_C" >&6
19431else
19432 ac_check_lib_save_LIBS=$LIBS
19433LIBS="-lm $LIBS"
b52ee437 19434if test x$gcc_no_link = xyes; then
19435 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19436echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19437 { (exit 1); exit 1; }; }
19438fi
fd48ced8 19439cat >conftest.$ac_ext <<_ACEOF
19440/* confdefs.h. */
19441_ACEOF
19442cat confdefs.h >>conftest.$ac_ext
19443cat >>conftest.$ac_ext <<_ACEOF
19444/* end confdefs.h. */
19445
19446/* Override any gcc2 internal prototype to avoid an error. */
19447#ifdef __cplusplus
19448extern "C"
19449#endif
19450/* We use char because int might match the return type of a gcc2
19451 builtin and then its argument prototype would still apply. */
19452char finite ();
19453int
19454main ()
19455{
19456finite ();
19457 ;
19458 return 0;
19459}
19460_ACEOF
19461rm -f conftest.$ac_objext conftest$ac_exeext
19462if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19463 (eval $ac_link) 2>conftest.er1
19464 ac_status=$?
19465 grep -v '^ *+' conftest.er1 >conftest.err
19466 rm -f conftest.er1
19467 cat conftest.err >&5
19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469 (exit $ac_status); } &&
b56cb1ff 19470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
fd48ced8 19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19473 ac_status=$?
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; } &&
19476 { ac_try='test -s conftest$ac_exeext'
19477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19478 (eval $ac_try) 2>&5
19479 ac_status=$?
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); }; }; then
19482 ac_cv_lib_m_finite=yes
19483else
19484 echo "$as_me: failed program was:" >&5
19485sed 's/^/| /' conftest.$ac_ext >&5
19486
19487ac_cv_lib_m_finite=no
19488fi
19489rm -f conftest.err conftest.$ac_objext \
19490 conftest$ac_exeext conftest.$ac_ext
19491LIBS=$ac_check_lib_save_LIBS
19492fi
19493echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
19494echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
19495if test $ac_cv_lib_m_finite = yes; then
19496
19497cat >>confdefs.h <<\_ACEOF
19498#define HAVE_FINITE 1
19499_ACEOF
19500
19501fi
19502
19503
8c84a5de 19504# Check for GNU libc feenableexcept
19505echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
19506echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
19507if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
19508 echo $ECHO_N "(cached) $ECHO_C" >&6
19509else
19510 ac_check_lib_save_LIBS=$LIBS
19511LIBS="-lm $LIBS"
19512if test x$gcc_no_link = xyes; then
19513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19514echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19515 { (exit 1); exit 1; }; }
19516fi
19517cat >conftest.$ac_ext <<_ACEOF
19518/* confdefs.h. */
19519_ACEOF
19520cat confdefs.h >>conftest.$ac_ext
19521cat >>conftest.$ac_ext <<_ACEOF
19522/* end confdefs.h. */
19523
19524/* Override any gcc2 internal prototype to avoid an error. */
19525#ifdef __cplusplus
19526extern "C"
19527#endif
19528/* We use char because int might match the return type of a gcc2
19529 builtin and then its argument prototype would still apply. */
19530char feenableexcept ();
19531int
19532main ()
19533{
19534feenableexcept ();
19535 ;
19536 return 0;
19537}
19538_ACEOF
19539rm -f conftest.$ac_objext conftest$ac_exeext
19540if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19541 (eval $ac_link) 2>conftest.er1
19542 ac_status=$?
19543 grep -v '^ *+' conftest.er1 >conftest.err
19544 rm -f conftest.er1
19545 cat conftest.err >&5
19546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19547 (exit $ac_status); } &&
b56cb1ff 19548 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8c84a5de 19549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19550 (eval $ac_try) 2>&5
19551 ac_status=$?
19552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19553 (exit $ac_status); }; } &&
19554 { ac_try='test -s conftest$ac_exeext'
19555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19556 (eval $ac_try) 2>&5
19557 ac_status=$?
19558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559 (exit $ac_status); }; }; then
19560 ac_cv_lib_m_feenableexcept=yes
19561else
19562 echo "$as_me: failed program was:" >&5
19563sed 's/^/| /' conftest.$ac_ext >&5
19564
19565ac_cv_lib_m_feenableexcept=no
19566fi
19567rm -f conftest.err conftest.$ac_objext \
19568 conftest$ac_exeext conftest.$ac_ext
19569LIBS=$ac_check_lib_save_LIBS
19570fi
19571echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
19572echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
19573if test $ac_cv_lib_m_feenableexcept = yes; then
19574 have_feenableexcept=yes
19575cat >>confdefs.h <<\_ACEOF
19576#define HAVE_FEENABLEEXCEPT 1
19577_ACEOF
19578
19579fi
19580
19581
aaa798ba 19582# Check for SysV fpsetmask
19583
19584 echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
19585echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
19586if test "${have_fpsetmask+set}" = set; then
19587 echo $ECHO_N "(cached) $ECHO_C" >&6
19588else
19589
19590 if test x$gcc_no_link = xyes; then
19591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19592echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19593 { (exit 1); exit 1; }; }
19594fi
19595cat >conftest.$ac_ext <<_ACEOF
19596/* confdefs.h. */
19597_ACEOF
19598cat confdefs.h >>conftest.$ac_ext
19599cat >>conftest.$ac_ext <<_ACEOF
19600/* end confdefs.h. */
19601
19602#if HAVE_FLOATINGPOINT_H
19603# include <floatingpoint.h>
19604#endif /* HAVE_FLOATINGPOINT_H */
19605#if HAVE_IEEEFP_H
19606# include <ieeefp.h>
19607#endif /* HAVE_IEEEFP_H */
19608int
19609main ()
19610{
19611fpsetmask(0);
19612 ;
19613 return 0;
19614}
19615_ACEOF
19616rm -f conftest.$ac_objext conftest$ac_exeext
19617if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19618 (eval $ac_link) 2>conftest.er1
19619 ac_status=$?
19620 grep -v '^ *+' conftest.er1 >conftest.err
19621 rm -f conftest.er1
19622 cat conftest.err >&5
19623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19624 (exit $ac_status); } &&
b56cb1ff 19625 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
aaa798ba 19626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19627 (eval $ac_try) 2>&5
19628 ac_status=$?
19629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19630 (exit $ac_status); }; } &&
19631 { ac_try='test -s conftest$ac_exeext'
19632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19633 (eval $ac_try) 2>&5
19634 ac_status=$?
19635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636 (exit $ac_status); }; }; then
19637 eval "have_fpsetmask=yes"
19638else
19639 echo "$as_me: failed program was:" >&5
19640sed 's/^/| /' conftest.$ac_ext >&5
19641
19642eval "have_fpsetmask=no"
19643fi
19644rm -f conftest.err conftest.$ac_objext \
19645 conftest$ac_exeext conftest.$ac_ext
19646
19647fi
19648echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
19649echo "${ECHO_T}$have_fpsetmask" >&6
19650 if test x"$have_fpsetmask" = xyes; then
19651
19652cat >>confdefs.h <<\_ACEOF
19653#define HAVE_FPSETMASK 1
19654_ACEOF
19655
19656 fi
19657
19658
19659# Check for AIX fp_trap and fp_enable
19660echo "$as_me:$LINENO: checking for fp_trap" >&5
19661echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
19662if test "${ac_cv_func_fp_trap+set}" = set; then
19663 echo $ECHO_N "(cached) $ECHO_C" >&6
19664else
19665 if test x$gcc_no_link = xyes; then
19666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19667echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19668 { (exit 1); exit 1; }; }
19669fi
19670cat >conftest.$ac_ext <<_ACEOF
19671/* confdefs.h. */
19672_ACEOF
19673cat confdefs.h >>conftest.$ac_ext
19674cat >>conftest.$ac_ext <<_ACEOF
19675/* end confdefs.h. */
19676/* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
19677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19678#define fp_trap innocuous_fp_trap
19679
19680/* System header to define __stub macros and hopefully few prototypes,
19681 which can conflict with char fp_trap (); below.
19682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19683 <limits.h> exists even on freestanding compilers. */
19684
19685#ifdef __STDC__
19686# include <limits.h>
19687#else
19688# include <assert.h>
19689#endif
19690
19691#undef fp_trap
19692
19693/* Override any gcc2 internal prototype to avoid an error. */
19694#ifdef __cplusplus
19695extern "C"
19696{
19697#endif
19698/* We use char because int might match the return type of a gcc2
19699 builtin and then its argument prototype would still apply. */
19700char fp_trap ();
19701/* The GNU C library defines this for functions which it implements
19702 to always fail with ENOSYS. Some functions are actually named
19703 something starting with __ and the normal name is an alias. */
19704#if defined (__stub_fp_trap) || defined (__stub___fp_trap)
19705choke me
19706#else
19707char (*f) () = fp_trap;
19708#endif
19709#ifdef __cplusplus
19710}
19711#endif
19712
19713int
19714main ()
19715{
19716return f != fp_trap;
19717 ;
19718 return 0;
19719}
19720_ACEOF
19721rm -f conftest.$ac_objext conftest$ac_exeext
19722if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19723 (eval $ac_link) 2>conftest.er1
19724 ac_status=$?
19725 grep -v '^ *+' conftest.er1 >conftest.err
19726 rm -f conftest.er1
19727 cat conftest.err >&5
19728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19729 (exit $ac_status); } &&
b56cb1ff 19730 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
aaa798ba 19731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19732 (eval $ac_try) 2>&5
19733 ac_status=$?
19734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19735 (exit $ac_status); }; } &&
19736 { ac_try='test -s conftest$ac_exeext'
19737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19738 (eval $ac_try) 2>&5
19739 ac_status=$?
19740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741 (exit $ac_status); }; }; then
19742 ac_cv_func_fp_trap=yes
19743else
19744 echo "$as_me: failed program was:" >&5
19745sed 's/^/| /' conftest.$ac_ext >&5
19746
19747ac_cv_func_fp_trap=no
19748fi
19749rm -f conftest.err conftest.$ac_objext \
19750 conftest$ac_exeext conftest.$ac_ext
19751fi
19752echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
19753echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
19754if test $ac_cv_func_fp_trap = yes; then
19755 have_fp_trap=yes
19756cat >>confdefs.h <<\_ACEOF
19757#define HAVE_FP_TRAP 1
19758_ACEOF
19759
19760fi
19761
19762echo "$as_me:$LINENO: checking for fp_enable" >&5
19763echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
19764if test "${ac_cv_func_fp_enable+set}" = set; then
19765 echo $ECHO_N "(cached) $ECHO_C" >&6
19766else
19767 if test x$gcc_no_link = xyes; then
19768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19769echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19770 { (exit 1); exit 1; }; }
19771fi
19772cat >conftest.$ac_ext <<_ACEOF
19773/* confdefs.h. */
19774_ACEOF
19775cat confdefs.h >>conftest.$ac_ext
19776cat >>conftest.$ac_ext <<_ACEOF
19777/* end confdefs.h. */
19778/* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
19779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19780#define fp_enable innocuous_fp_enable
19781
19782/* System header to define __stub macros and hopefully few prototypes,
19783 which can conflict with char fp_enable (); below.
19784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19785 <limits.h> exists even on freestanding compilers. */
19786
19787#ifdef __STDC__
19788# include <limits.h>
19789#else
19790# include <assert.h>
19791#endif
19792
19793#undef fp_enable
19794
19795/* Override any gcc2 internal prototype to avoid an error. */
19796#ifdef __cplusplus
19797extern "C"
19798{
19799#endif
19800/* We use char because int might match the return type of a gcc2
19801 builtin and then its argument prototype would still apply. */
19802char fp_enable ();
19803/* The GNU C library defines this for functions which it implements
19804 to always fail with ENOSYS. Some functions are actually named
19805 something starting with __ and the normal name is an alias. */
19806#if defined (__stub_fp_enable) || defined (__stub___fp_enable)
19807choke me
19808#else
19809char (*f) () = fp_enable;
19810#endif
19811#ifdef __cplusplus
19812}
19813#endif
19814
19815int
19816main ()
19817{
19818return f != fp_enable;
19819 ;
19820 return 0;
19821}
19822_ACEOF
19823rm -f conftest.$ac_objext conftest$ac_exeext
19824if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19825 (eval $ac_link) 2>conftest.er1
19826 ac_status=$?
19827 grep -v '^ *+' conftest.er1 >conftest.err
19828 rm -f conftest.er1
19829 cat conftest.err >&5
19830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19831 (exit $ac_status); } &&
b56cb1ff 19832 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
aaa798ba 19833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19834 (eval $ac_try) 2>&5
19835 ac_status=$?
19836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19837 (exit $ac_status); }; } &&
19838 { ac_try='test -s conftest$ac_exeext'
19839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19840 (eval $ac_try) 2>&5
19841 ac_status=$?
19842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843 (exit $ac_status); }; }; then
19844 ac_cv_func_fp_enable=yes
19845else
19846 echo "$as_me: failed program was:" >&5
19847sed 's/^/| /' conftest.$ac_ext >&5
19848
19849ac_cv_func_fp_enable=no
19850fi
19851rm -f conftest.err conftest.$ac_objext \
19852 conftest$ac_exeext conftest.$ac_ext
19853fi
19854echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
19855echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
19856if test $ac_cv_func_fp_enable = yes; then
19857 have_fp_enable=yes
19858cat >>confdefs.h <<\_ACEOF
19859#define HAVE_FP_ENABLE 1
19860_ACEOF
19861
19862fi
19863
19864
8c84a5de 19865# Runs configure.host to set up necessary host-dependent shell variables.
19866# We then display a message about it, and propagate them through the
19867# build chain.
19868. ${srcdir}/configure.host
19869{ echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
19870echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
19871FPU_HOST_HEADER=config/${fpu_host}.h
19872
19873
90973b19 19874# The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
19875# for struct timezone, as you might think. We also need to check how
19876# to call gettimeofday if we have it.
19877echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
19878echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
19879if test "${ac_cv_header_time+set}" = set; then
4ee9c684 19880 echo $ECHO_N "(cached) $ECHO_C" >&6
19881else
90973b19 19882 cat >conftest.$ac_ext <<_ACEOF
19883/* confdefs.h. */
19884_ACEOF
19885cat confdefs.h >>conftest.$ac_ext
19886cat >>conftest.$ac_ext <<_ACEOF
19887/* end confdefs.h. */
19888#include <sys/types.h>
19889#include <sys/time.h>
19890#include <time.h>
19891
19892int
19893main ()
19894{
19895if ((struct tm *) 0)
19896return 0;
19897 ;
19898 return 0;
19899}
19900_ACEOF
19901rm -f conftest.$ac_objext
19902if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19903 (eval $ac_compile) 2>conftest.er1
19904 ac_status=$?
19905 grep -v '^ *+' conftest.er1 >conftest.err
19906 rm -f conftest.er1
19907 cat conftest.err >&5
19908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19909 (exit $ac_status); } &&
b56cb1ff 19910 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
90973b19 19911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19912 (eval $ac_try) 2>&5
19913 ac_status=$?
19914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19915 (exit $ac_status); }; } &&
19916 { ac_try='test -s conftest.$ac_objext'
19917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19918 (eval $ac_try) 2>&5
19919 ac_status=$?
19920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19921 (exit $ac_status); }; }; then
19922 ac_cv_header_time=yes
19923else
19924 echo "$as_me: failed program was:" >&5
19925sed 's/^/| /' conftest.$ac_ext >&5
4ee9c684 19926
90973b19 19927ac_cv_header_time=no
4ee9c684 19928fi
90973b19 19929rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4ee9c684 19930fi
90973b19 19931echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
19932echo "${ECHO_T}$ac_cv_header_time" >&6
19933if test $ac_cv_header_time = yes; then
4ee9c684 19934
90973b19 19935cat >>confdefs.h <<\_ACEOF
19936#define TIME_WITH_SYS_TIME 1
19937_ACEOF
4ee9c684 19938
4ee9c684 19939fi
19940
4ee9c684 19941
90973b19 19942
19943for ac_func in gettimeofday
19944do
19945as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19946echo "$as_me:$LINENO: checking for $ac_func" >&5
19947echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19948if eval "test \"\${$as_ac_var+set}\" = set"; then
4ee9c684 19949 echo $ECHO_N "(cached) $ECHO_C" >&6
19950else
b52ee437 19951 if test x$gcc_no_link = xyes; then
19952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19953echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19954 { (exit 1); exit 1; }; }
19955fi
19956cat >conftest.$ac_ext <<_ACEOF
90973b19 19957/* confdefs.h. */
19958_ACEOF
19959cat confdefs.h >>conftest.$ac_ext
19960cat >>conftest.$ac_ext <<_ACEOF
19961/* end confdefs.h. */
19962/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19964#define $ac_func innocuous_$ac_func
19965
19966/* System header to define __stub macros and hopefully few prototypes,
19967 which can conflict with char $ac_func (); below.
19968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19969 <limits.h> exists even on freestanding compilers. */
19970
19971#ifdef __STDC__
19972# include <limits.h>
19973#else
19974# include <assert.h>
19975#endif
19976
19977#undef $ac_func
19978
19979/* Override any gcc2 internal prototype to avoid an error. */
19980#ifdef __cplusplus
19981extern "C"
19982{
19983#endif
19984/* We use char because int might match the return type of a gcc2
19985 builtin and then its argument prototype would still apply. */
19986char $ac_func ();
19987/* The GNU C library defines this for functions which it implements
19988 to always fail with ENOSYS. Some functions are actually named
19989 something starting with __ and the normal name is an alias. */
19990#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19991choke me
19992#else
19993char (*f) () = $ac_func;
19994#endif
19995#ifdef __cplusplus
19996}
19997#endif
19998
19999int
20000main ()
20001{
20002return f != $ac_func;
20003 ;
20004 return 0;
20005}
20006_ACEOF
20007rm -f conftest.$ac_objext conftest$ac_exeext
20008if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20009 (eval $ac_link) 2>conftest.er1
20010 ac_status=$?
20011 grep -v '^ *+' conftest.er1 >conftest.err
20012 rm -f conftest.er1
20013 cat conftest.err >&5
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); } &&
b56cb1ff 20016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
90973b19 20017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20018 (eval $ac_try) 2>&5
20019 ac_status=$?
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); }; } &&
20022 { ac_try='test -s conftest$ac_exeext'
20023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20024 (eval $ac_try) 2>&5
20025 ac_status=$?
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); }; }; then
20028 eval "$as_ac_var=yes"
4ee9c684 20029else
90973b19 20030 echo "$as_me: failed program was:" >&5
20031sed 's/^/| /' conftest.$ac_ext >&5
4ee9c684 20032
90973b19 20033eval "$as_ac_var=no"
4ee9c684 20034fi
90973b19 20035rm -f conftest.err conftest.$ac_objext \
20036 conftest$ac_exeext conftest.$ac_ext
4ee9c684 20037fi
90973b19 20038echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20039echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20040if test `eval echo '${'$as_ac_var'}'` = yes; then
20041 cat >>confdefs.h <<_ACEOF
20042#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20043_ACEOF
4ee9c684 20044
20045fi
4ee9c684 20046done
20047
90973b19 20048 if test "$ac_cv_func_gettimeofday" = yes; then
20049 echo "$as_me:$LINENO: checking for struct timezone" >&5
20050echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
20051if test "${gfor_cv_struct_timezone+set}" = set; then
20052 echo $ECHO_N "(cached) $ECHO_C" >&6
20053else
20054 cat >conftest.$ac_ext <<_ACEOF
20055/* confdefs.h. */
20056_ACEOF
20057cat confdefs.h >>conftest.$ac_ext
20058cat >>conftest.$ac_ext <<_ACEOF
20059/* end confdefs.h. */
20060#include <sys/time.h>
20061int
20062main ()
20063{
20064struct timezone tz;
20065 ;
20066 return 0;
20067}
20068_ACEOF
20069rm -f conftest.$ac_objext
20070if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20071 (eval $ac_compile) 2>conftest.er1
20072 ac_status=$?
20073 grep -v '^ *+' conftest.er1 >conftest.err
20074 rm -f conftest.er1
20075 cat conftest.err >&5
20076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077 (exit $ac_status); } &&
b56cb1ff 20078 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
90973b19 20079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20080 (eval $ac_try) 2>&5
20081 ac_status=$?
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); }; } &&
20084 { ac_try='test -s conftest.$ac_objext'
20085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20086 (eval $ac_try) 2>&5
20087 ac_status=$?
20088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089 (exit $ac_status); }; }; then
20090 gfor_cv_struct_timezone=yes
4ee9c684 20091else
90973b19 20092 echo "$as_me: failed program was:" >&5
20093sed 's/^/| /' conftest.$ac_ext >&5
4ee9c684 20094
90973b19 20095gfor_cv_struct_timezone=no
4ee9c684 20096fi
90973b19 20097rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20098fi
20099echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
20100echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
20101 if test $gfor_cv_struct_timezone = yes; then
20102 if test "$cross_compiling" = yes; then
20103 gfor_have_struct_timezone=yes
4ee9c684 20104else
90973b19 20105 cat >conftest.$ac_ext <<_ACEOF
20106/* confdefs.h. */
20107_ACEOF
20108cat confdefs.h >>conftest.$ac_ext
20109cat >>conftest.$ac_ext <<_ACEOF
20110/* end confdefs.h. */
4ee9c684 20111
90973b19 20112#ifdef TIME_WITH_SYS_TIME
20113#include <sys/time.h>
20114#include <time.h>
20115#else
20116#ifdef HAVE_SYS_TIME_H
20117#include <sys/time.h>
20118#else
20119#include <time.h>
20120#endif
20121#endif
20122main ()
20123{
20124 struct timeval time;
20125 struct timezone dummy;
20126 if (gettimeofday (&time, &dummy))
20127 exit (1);
20128 else
20129 exit (0);
20130}
20131_ACEOF
20132rm -f conftest$ac_exeext
20133if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20134 (eval $ac_link) 2>&5
4ee9c684 20135 ac_status=$?
20136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90973b19 20137 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20139 (eval $ac_try) 2>&5
4ee9c684 20140 ac_status=$?
20141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90973b19 20142 (exit $ac_status); }; }; then
20143 gfor_have_struct_timezone=yes
4ee9c684 20144else
90973b19 20145 echo "$as_me: program exited with status $ac_status" >&5
20146echo "$as_me: failed program was:" >&5
20147sed 's/^/| /' conftest.$ac_ext >&5
4ee9c684 20148
90973b19 20149( exit $ac_status )
20150gfor_have_struct_timezone=no
20151fi
20152rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20153fi
20154 if test $gfor_have_struct_timezone = yes; then
4ee9c684 20155
90973b19 20156cat >>confdefs.h <<\_ACEOF
20157#define HAVE_TIMEZONE 1
20158_ACEOF
4ee9c684 20159
90973b19 20160 fi
20161 fi
20162
20163 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
20164echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
20165if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
20166 echo $ECHO_N "(cached) $ECHO_C" >&6
20167else
b52ee437 20168 if test x$gcc_no_link = xyes; then
20169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20170echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20171 { (exit 1); exit 1; }; }
20172fi
20173cat >conftest.$ac_ext <<_ACEOF
4ee9c684 20174/* confdefs.h. */
20175_ACEOF
20176cat confdefs.h >>conftest.$ac_ext
20177cat >>conftest.$ac_ext <<_ACEOF
20178/* end confdefs.h. */
20179
90973b19 20180#ifdef TIME_WITH_SYS_TIME
20181#include <sys/time.h>
20182#include <time.h>
20183#else
20184#ifdef HAVE_SYS_TIME_H
20185#include <sys/time.h>
20186#else
20187#include <time.h>
20188#endif
20189#endif
20190
4ee9c684 20191int
20192main ()
20193{
20194
90973b19 20195 struct timeval time;
20196#ifdef HAVE_TIMEZONE
20197 struct timezone dummy;
20198#define DUMMY &dummy
20199#else
20200#define DUMMY NULL
20201#endif
20202 gettimeofday (&time, DUMMY);
4ee9c684 20203 ;
20204 return 0;
20205}
20206_ACEOF
20207rm -f conftest.$ac_objext conftest$ac_exeext
20208if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20209 (eval $ac_link) 2>conftest.er1
20210 ac_status=$?
20211 grep -v '^ *+' conftest.er1 >conftest.err
20212 rm -f conftest.er1
20213 cat conftest.err >&5
20214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20215 (exit $ac_status); } &&
b56cb1ff 20216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4ee9c684 20217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20218 (eval $ac_try) 2>&5
20219 ac_status=$?
20220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20221 (exit $ac_status); }; } &&
20222 { ac_try='test -s conftest$ac_exeext'
20223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20224 (eval $ac_try) 2>&5
20225 ac_status=$?
20226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227 (exit $ac_status); }; }; then
90973b19 20228 emacs_cv_gettimeofday_two_arguments=yes
4ee9c684 20229else
20230 echo "$as_me: failed program was:" >&5
20231sed 's/^/| /' conftest.$ac_ext >&5
20232
90973b19 20233emacs_cv_gettimeofday_two_arguments=no
4ee9c684 20234fi
20235rm -f conftest.err conftest.$ac_objext \
20236 conftest$ac_exeext conftest.$ac_ext
4ee9c684 20237fi
90973b19 20238echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
20239echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
20240 if test $emacs_cv_gettimeofday_two_arguments = no; then
4ee9c684 20241
90973b19 20242cat >>confdefs.h <<\_ACEOF
20243#define GETTIMEOFDAY_ONE_ARGUMENT 1
20244_ACEOF
4ee9c684 20245
90973b19 20246 fi
20247 fi
4ee9c684 20248
c436f700 20249# Attempt to assert that the target is of common type in case we don't
20250# have C99 integer types at all.
20251
20252 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
20253echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
20254if test "${target_ilp32+set}" = set; then
20255 echo $ECHO_N "(cached) $ECHO_C" >&6
20256else
20257
20258 save_CFLAGS="$CFLAGS"
20259 CFLAGS="-O2"
b52ee437 20260 if test x$gcc_no_link = xyes; then
20261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20262echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20263 { (exit 1); exit 1; }; }
20264fi
20265cat >conftest.$ac_ext <<_ACEOF
c436f700 20266/* confdefs.h. */
20267_ACEOF
20268cat confdefs.h >>conftest.$ac_ext
20269cat >>conftest.$ac_ext <<_ACEOF
20270/* end confdefs.h. */
20271
20272int
20273main ()
20274{
20275
20276if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
20277 ;
20278else
20279 undefined_function ();
20280
20281 ;
20282 return 0;
20283}
20284_ACEOF
20285rm -f conftest.$ac_objext conftest$ac_exeext
20286if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20287 (eval $ac_link) 2>conftest.er1
20288 ac_status=$?
20289 grep -v '^ *+' conftest.er1 >conftest.err
20290 rm -f conftest.er1
20291 cat conftest.err >&5
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); } &&
b56cb1ff 20294 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
c436f700 20295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20296 (eval $ac_try) 2>&5
20297 ac_status=$?
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); }; } &&
20300 { ac_try='test -s conftest$ac_exeext'
20301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20302 (eval $ac_try) 2>&5
20303 ac_status=$?
20304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305 (exit $ac_status); }; }; then
20306 target_ilp32=yes
20307else
20308 echo "$as_me: failed program was:" >&5
20309sed 's/^/| /' conftest.$ac_ext >&5
20310
20311target_ilp32=no
20312fi
20313rm -f conftest.err conftest.$ac_objext \
20314 conftest$ac_exeext conftest.$ac_ext
20315 CFLAGS="$save_CFLAGS"
20316fi
20317echo "$as_me:$LINENO: result: $target_ilp32" >&5
20318echo "${ECHO_T}$target_ilp32" >&6
20319 if test $target_ilp32 = yes; then
20320
20321cat >>confdefs.h <<\_ACEOF
20322#define TARGET_ILP32 1
20323_ACEOF
20324
20325 fi
20326
20327
7b6cb5bd 20328# Check out attribute support.
20329
20330 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
20331echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
20332if test "${have_attribute_visibility+set}" = set; then
20333 echo $ECHO_N "(cached) $ECHO_C" >&6
20334else
20335
20336 save_CFLAGS="$CFLAGS"
20337 CFLAGS="$CFLAGS -Werror"
20338 cat >conftest.$ac_ext <<_ACEOF
20339/* confdefs.h. */
20340_ACEOF
20341cat confdefs.h >>conftest.$ac_ext
20342cat >>conftest.$ac_ext <<_ACEOF
20343/* end confdefs.h. */
20344void __attribute__((visibility("hidden"))) foo(void) { }
20345int
20346main ()
20347{
20348
20349 ;
20350 return 0;
20351}
20352_ACEOF
20353rm -f conftest.$ac_objext
20354if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20355 (eval $ac_compile) 2>conftest.er1
20356 ac_status=$?
20357 grep -v '^ *+' conftest.er1 >conftest.err
20358 rm -f conftest.er1
20359 cat conftest.err >&5
20360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20361 (exit $ac_status); } &&
b56cb1ff 20362 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7b6cb5bd 20363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20364 (eval $ac_try) 2>&5
20365 ac_status=$?
20366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20367 (exit $ac_status); }; } &&
20368 { ac_try='test -s conftest.$ac_objext'
20369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20370 (eval $ac_try) 2>&5
20371 ac_status=$?
20372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20373 (exit $ac_status); }; }; then
20374 have_attribute_visibility=yes
20375else
20376 echo "$as_me: failed program was:" >&5
20377sed 's/^/| /' conftest.$ac_ext >&5
20378
20379have_attribute_visibility=no
20380fi
20381rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20382 CFLAGS="$save_CFLAGS"
20383fi
20384echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
20385echo "${ECHO_T}$have_attribute_visibility" >&6
20386 if test $have_attribute_visibility = yes; then
20387
20388cat >>confdefs.h <<\_ACEOF
20389#define HAVE_ATTRIBUTE_VISIBILITY 1
20390_ACEOF
20391
20392 fi
20393
20394 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
20395echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
20396if test "${have_attribute_dllexport+set}" = set; then
20397 echo $ECHO_N "(cached) $ECHO_C" >&6
20398else
20399
20400 save_CFLAGS="$CFLAGS"
20401 CFLAGS="$CFLAGS -Werror"
20402 cat >conftest.$ac_ext <<_ACEOF
20403/* confdefs.h. */
20404_ACEOF
20405cat confdefs.h >>conftest.$ac_ext
20406cat >>conftest.$ac_ext <<_ACEOF
20407/* end confdefs.h. */
20408void __attribute__((dllexport)) foo(void) { }
20409int
20410main ()
20411{
20412
20413 ;
20414 return 0;
20415}
20416_ACEOF
20417rm -f conftest.$ac_objext
20418if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20419 (eval $ac_compile) 2>conftest.er1
20420 ac_status=$?
20421 grep -v '^ *+' conftest.er1 >conftest.err
20422 rm -f conftest.er1
20423 cat conftest.err >&5
20424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20425 (exit $ac_status); } &&
b56cb1ff 20426 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7b6cb5bd 20427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20428 (eval $ac_try) 2>&5
20429 ac_status=$?
20430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20431 (exit $ac_status); }; } &&
20432 { ac_try='test -s conftest.$ac_objext'
20433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20434 (eval $ac_try) 2>&5
20435 ac_status=$?
20436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20437 (exit $ac_status); }; }; then
20438 have_attribute_dllexport=yes
20439else
20440 echo "$as_me: failed program was:" >&5
20441sed 's/^/| /' conftest.$ac_ext >&5
20442
20443have_attribute_dllexport=no
20444fi
20445rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20446 CFLAGS="$save_CFLAGS"
20447fi
20448echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
20449echo "${ECHO_T}$have_attribute_dllexport" >&6
20450 if test $have_attribute_dllexport = yes; then
20451
20452cat >>confdefs.h <<\_ACEOF
20453#define HAVE_ATTRIBUTE_DLLEXPORT 1
20454_ACEOF
20455
20456 fi
20457
20458 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
20459echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
20460if test "${have_attribute_alias+set}" = set; then
20461 echo $ECHO_N "(cached) $ECHO_C" >&6
20462else
20463
b52ee437 20464 if test x$gcc_no_link = xyes; then
20465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20466echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20467 { (exit 1); exit 1; }; }
20468fi
20469cat >conftest.$ac_ext <<_ACEOF
7b6cb5bd 20470/* confdefs.h. */
20471_ACEOF
20472cat confdefs.h >>conftest.$ac_ext
20473cat >>conftest.$ac_ext <<_ACEOF
20474/* end confdefs.h. */
20475
20476#define ULP STR1(__USER_LABEL_PREFIX__)
20477#define STR1(x) STR2(x)
20478#define STR2(x) #x
20479void foo(void) { }
20480extern void bar(void) __attribute__((alias(ULP "foo")));
20481int
20482main ()
20483{
20484bar();
20485 ;
20486 return 0;
20487}
20488_ACEOF
20489rm -f conftest.$ac_objext conftest$ac_exeext
20490if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20491 (eval $ac_link) 2>conftest.er1
20492 ac_status=$?
20493 grep -v '^ *+' conftest.er1 >conftest.err
20494 rm -f conftest.er1
20495 cat conftest.err >&5
20496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20497 (exit $ac_status); } &&
b56cb1ff 20498 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7b6cb5bd 20499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20500 (eval $ac_try) 2>&5
20501 ac_status=$?
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); }; } &&
20504 { ac_try='test -s conftest$ac_exeext'
20505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20506 (eval $ac_try) 2>&5
20507 ac_status=$?
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); }; }; then
20510 have_attribute_alias=yes
20511else
20512 echo "$as_me: failed program was:" >&5
20513sed 's/^/| /' conftest.$ac_ext >&5
20514
20515have_attribute_alias=no
20516fi
20517rm -f conftest.err conftest.$ac_objext \
20518 conftest$ac_exeext conftest.$ac_ext
20519fi
20520echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
20521echo "${ECHO_T}$have_attribute_alias" >&6
20522 if test $have_attribute_alias = yes; then
20523
20524cat >>confdefs.h <<\_ACEOF
20525#define HAVE_ATTRIBUTE_ALIAS 1
20526_ACEOF
20527
20528 fi
20529
60c514ba 20530# Check out sync builtins support.
20531
20532 echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
20533echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
20534if test "${have_sync_fetch_and_add+set}" = set; then
20535 echo $ECHO_N "(cached) $ECHO_C" >&6
20536else
20537
20538 if test x$gcc_no_link = xyes; then
20539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20540echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20541 { (exit 1); exit 1; }; }
20542fi
20543cat >conftest.$ac_ext <<_ACEOF
20544/* confdefs.h. */
20545_ACEOF
20546cat confdefs.h >>conftest.$ac_ext
20547cat >>conftest.$ac_ext <<_ACEOF
20548/* end confdefs.h. */
20549int foovar = 0;
20550int
20551main ()
20552{
20553
20554if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
20555if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
20556 ;
20557 return 0;
20558}
20559_ACEOF
20560rm -f conftest.$ac_objext conftest$ac_exeext
20561if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20562 (eval $ac_link) 2>conftest.er1
20563 ac_status=$?
20564 grep -v '^ *+' conftest.er1 >conftest.err
20565 rm -f conftest.er1
20566 cat conftest.err >&5
20567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20568 (exit $ac_status); } &&
b56cb1ff 20569 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
60c514ba 20570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20571 (eval $ac_try) 2>&5
20572 ac_status=$?
20573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20574 (exit $ac_status); }; } &&
20575 { ac_try='test -s conftest$ac_exeext'
20576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20577 (eval $ac_try) 2>&5
20578 ac_status=$?
20579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20580 (exit $ac_status); }; }; then
20581 have_sync_fetch_and_add=yes
20582else
20583 echo "$as_me: failed program was:" >&5
20584sed 's/^/| /' conftest.$ac_ext >&5
20585
20586have_sync_fetch_and_add=no
20587fi
20588rm -f conftest.err conftest.$ac_objext \
20589 conftest$ac_exeext conftest.$ac_ext
20590fi
20591echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
20592echo "${ECHO_T}$have_sync_fetch_and_add" >&6
20593 if test $have_sync_fetch_and_add = yes; then
20594
20595cat >>confdefs.h <<\_ACEOF
20596#define HAVE_SYNC_FETCH_AND_ADD 1
20597_ACEOF
20598
20599 fi
20600
20601# Check out thread support.
20602
20603 echo "$as_me:$LINENO: checking configured target thread model" >&5
20604echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
20605if test "${target_thread_file+set}" = set; then
20606 echo $ECHO_N "(cached) $ECHO_C" >&6
20607else
20608
20609target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
20610fi
20611echo "$as_me:$LINENO: result: $target_thread_file" >&5
20612echo "${ECHO_T}$target_thread_file" >&6
20613
20614 if test $target_thread_file != single; then
20615
20616cat >>confdefs.h <<\_ACEOF
20617#define HAVE_GTHR_DEFAULT 1
20618_ACEOF
20619
20620 fi
20621
20622# Check out #pragma weak.
20623
20624 echo "$as_me:$LINENO: checking whether pragma weak works" >&5
20625echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
20626if test "${have_pragma_weak+set}" = set; then
20627 echo $ECHO_N "(cached) $ECHO_C" >&6
20628else
20629
20630 gfor_save_CFLAGS="$CFLAGS"
20631 CFLAGS="$CFLAGS -Wunknown-pragmas"
20632 cat >conftest.$ac_ext <<_ACEOF
20633/* confdefs.h. */
20634_ACEOF
20635cat confdefs.h >>conftest.$ac_ext
20636cat >>conftest.$ac_ext <<_ACEOF
20637/* end confdefs.h. */
20638void foo (void);
20639#pragma weak foo
20640int
20641main ()
20642{
20643if (foo) foo ();
20644 ;
20645 return 0;
20646}
20647_ACEOF
20648rm -f conftest.$ac_objext
20649if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20650 (eval $ac_compile) 2>conftest.er1
20651 ac_status=$?
20652 grep -v '^ *+' conftest.er1 >conftest.err
20653 rm -f conftest.er1
20654 cat conftest.err >&5
20655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656 (exit $ac_status); } &&
b56cb1ff 20657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
60c514ba 20658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20659 (eval $ac_try) 2>&5
20660 ac_status=$?
20661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 (exit $ac_status); }; } &&
20663 { ac_try='test -s conftest.$ac_objext'
20664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20665 (eval $ac_try) 2>&5
20666 ac_status=$?
20667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20668 (exit $ac_status); }; }; then
20669 have_pragma_weak=yes
20670else
20671 echo "$as_me: failed program was:" >&5
20672sed 's/^/| /' conftest.$ac_ext >&5
20673
20674have_pragma_weak=no
20675fi
20676rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20677fi
20678echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
20679echo "${ECHO_T}$have_pragma_weak" >&6
20680 if test $have_pragma_weak = yes; then
20681
20682cat >>confdefs.h <<\_ACEOF
0a207fde 20683#define SUPPORTS_WEAK 1
60c514ba 20684_ACEOF
20685
20686 fi
0a207fde 20687 case "$host" in
20688 *-*-darwin* | *-*-hpux* | *-*-cygwin*)
20689
20690cat >>confdefs.h <<\_ACEOF
20691#define GTHREAD_USE_WEAK 0
20692_ACEOF
20693
20694 ;;
20695 esac
60c514ba 20696
1dc95e51 20697# Various other checks on target
20698
20699 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
20700echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
20701if test "${have_unlink_open_file+set}" = set; then
20702 echo $ECHO_N "(cached) $ECHO_C" >&6
20703else
20704
20705 if test "$cross_compiling" = yes; then
20706
20707case "${target}" in
20708 *mingw*) have_unlink_open_file=no ;;
20709 *) have_unlink_open_file=yes;;
20710esac
20711else
20712 cat >conftest.$ac_ext <<_ACEOF
20713/* confdefs.h. */
20714_ACEOF
20715cat confdefs.h >>conftest.$ac_ext
20716cat >>conftest.$ac_ext <<_ACEOF
20717/* end confdefs.h. */
20718
20719#include <errno.h>
20720#include <fcntl.h>
20721#include <unistd.h>
20722#include <sys/stat.h>
20723
20724int main ()
20725{
20726 int fd;
20727
20728 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
20729 if (fd <= 0)
20730 return 0;
20731 if (unlink ("testfile") == -1)
20732 return 1;
20733 write (fd, "This is a test\n", 15);
20734 close (fd);
20735
20736 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
20737 return 0;
20738 else
20739 return 1;
20740}
20741_ACEOF
20742rm -f conftest$ac_exeext
20743if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20744 (eval $ac_link) 2>&5
20745 ac_status=$?
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20749 (eval $ac_try) 2>&5
20750 ac_status=$?
20751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20752 (exit $ac_status); }; }; then
20753 have_unlink_open_file=yes
20754else
20755 echo "$as_me: program exited with status $ac_status" >&5
20756echo "$as_me: failed program was:" >&5
20757sed 's/^/| /' conftest.$ac_ext >&5
20758
20759( exit $ac_status )
20760have_unlink_open_file=no
20761fi
20762rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20763fi
20764fi
20765echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
20766echo "${ECHO_T}$have_unlink_open_file" >&6
20767if test x"$have_unlink_open_file" = xyes; then
20768
20769cat >>confdefs.h <<\_ACEOF
20770#define HAVE_UNLINK_OPEN_FILE 1
20771_ACEOF
20772
20773fi
20774
cf55c3cf 20775# Check whether line terminator is LF or CRLF
20776
20777 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
20778echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
20779if test "${have_crlf+set}" = set; then
20780 echo $ECHO_N "(cached) $ECHO_C" >&6
20781else
20782
20783 if test "$cross_compiling" = yes; then
20784
20785case "${target}" in
20786 *mingw*) have_crlf=yes ;;
20787 *) have_crlf=no;;
20788esac
20789else
20790 cat >conftest.$ac_ext <<_ACEOF
20791/* confdefs.h. */
20792_ACEOF
20793cat confdefs.h >>conftest.$ac_ext
20794cat >>conftest.$ac_ext <<_ACEOF
20795/* end confdefs.h. */
20796
20797/* This test program should exit with status 0 if system uses a CRLF as
20798 line terminator, and status 1 otherwise.
20799 Since it is used to check for mingw systems, and should return 0 in any
20800 other case, in case of a failure we will not use CRLF. */
20801#include <sys/stat.h>
20802#include <stdlib.h>
20803#include <fcntl.h>
20804#include <stdio.h>
20805
20806int main ()
20807{
20808#ifndef O_BINARY
20809 exit(1);
20810#else
20811 int fd, bytes;
20812 char buff[5];
20813
20814 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
20815 if (fd < 0)
20816 exit(1);
20817 if (write (fd, "\n", 1) < 0)
20818 perror ("write");
20819
20820 close (fd);
20821
20822 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
20823 exit(1);
20824 bytes = read (fd, buff, 5);
20825 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
20826 exit(0);
20827 else
20828 exit(1);
20829#endif
20830}
20831_ACEOF
20832rm -f conftest$ac_exeext
20833if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20834 (eval $ac_link) 2>&5
20835 ac_status=$?
20836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20837 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20839 (eval $ac_try) 2>&5
20840 ac_status=$?
20841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20842 (exit $ac_status); }; }; then
20843 have_crlf=yes
20844else
20845 echo "$as_me: program exited with status $ac_status" >&5
20846echo "$as_me: failed program was:" >&5
20847sed 's/^/| /' conftest.$ac_ext >&5
20848
20849( exit $ac_status )
20850have_crlf=no
20851fi
20852rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20853fi
20854fi
20855echo "$as_me:$LINENO: result: $have_crlf" >&5
20856echo "${ECHO_T}$have_crlf" >&6
20857if test x"$have_crlf" = xyes; then
20858
20859cat >>confdefs.h <<\_ACEOF
20860#define HAVE_CRLF 1
20861_ACEOF
20862
20863fi
20864
4ee9c684 20865cat >confcache <<\_ACEOF
20866# This file is a shell script that caches the results of configure
20867# tests run on this system so they can be shared between configure
20868# scripts and configure runs, see configure's option --config-cache.
20869# It is not useful on other systems. If it contains results you don't
20870# want to keep, you may remove or edit it.
20871#
20872# config.status only pays attention to the cache file if you give it
20873# the --recheck option to rerun configure.
20874#
20875# `ac_cv_env_foo' variables (set or unset) will be overridden when
20876# loading this file, other *unset* `ac_cv_foo' will be assigned the
20877# following values.
20878
20879_ACEOF
20880
20881# The following way of writing the cache mishandles newlines in values,
20882# but we know of no workaround that is simple, portable, and efficient.
20883# So, don't put newlines in cache variables' values.
20884# Ultrix sh set writes to stderr and can't be redirected directly,
20885# and sets the high bit in the cache file unless we assign to the vars.
20886{
20887 (set) 2>&1 |
20888 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20889 *ac_space=\ *)
20890 # `set' does not quote correctly, so add quotes (double-quote
20891 # substitution turns \\\\ into \\, and sed turns \\ into \).
20892 sed -n \
20893 "s/'/'\\\\''/g;
20894 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20895 ;;
20896 *)
20897 # `set' quotes correctly as required by POSIX, so do not add quotes.
20898 sed -n \
20899 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20900 ;;
20901 esac;
20902} |
20903 sed '
20904 t clear
20905 : clear
20906 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20907 t end
20908 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20909 : end' >>confcache
20910if diff $cache_file confcache >/dev/null 2>&1; then :; else
20911 if test -w $cache_file; then
20912 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20913 cat confcache >$cache_file
20914 else
20915 echo "not updating unwritable cache $cache_file"
20916 fi
20917fi
20918rm -f confcache
20919
90973b19 20920if test ${multilib} = yes; then
20921 multilib_arg="--enable-multilib"
4ee9c684 20922else
90973b19 20923 multilib_arg=
4ee9c684 20924fi
4ee9c684 20925
90973b19 20926# Write our Makefile.
4ee9c684 20927 ac_config_files="$ac_config_files Makefile"
90973b19 20928
4ee9c684 20929cat >confcache <<\_ACEOF
20930# This file is a shell script that caches the results of configure
20931# tests run on this system so they can be shared between configure
20932# scripts and configure runs, see configure's option --config-cache.
20933# It is not useful on other systems. If it contains results you don't
20934# want to keep, you may remove or edit it.
20935#
20936# config.status only pays attention to the cache file if you give it
20937# the --recheck option to rerun configure.
20938#
20939# `ac_cv_env_foo' variables (set or unset) will be overridden when
20940# loading this file, other *unset* `ac_cv_foo' will be assigned the
20941# following values.
20942
20943_ACEOF
20944
20945# The following way of writing the cache mishandles newlines in values,
20946# but we know of no workaround that is simple, portable, and efficient.
20947# So, don't put newlines in cache variables' values.
20948# Ultrix sh set writes to stderr and can't be redirected directly,
20949# and sets the high bit in the cache file unless we assign to the vars.
20950{
20951 (set) 2>&1 |
20952 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20953 *ac_space=\ *)
20954 # `set' does not quote correctly, so add quotes (double-quote
20955 # substitution turns \\\\ into \\, and sed turns \\ into \).
20956 sed -n \
20957 "s/'/'\\\\''/g;
20958 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20959 ;;
20960 *)
20961 # `set' quotes correctly as required by POSIX, so do not add quotes.
20962 sed -n \
20963 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20964 ;;
20965 esac;
20966} |
20967 sed '
20968 t clear
20969 : clear
20970 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20971 t end
20972 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20973 : end' >>confcache
20974if diff $cache_file confcache >/dev/null 2>&1; then :; else
20975 if test -w $cache_file; then
20976 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20977 cat confcache >$cache_file
20978 else
20979 echo "not updating unwritable cache $cache_file"
20980 fi
20981fi
20982rm -f confcache
20983
20984test "x$prefix" = xNONE && prefix=$ac_default_prefix
20985# Let make expand exec_prefix.
20986test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20987
20988# VPATH may cause trouble with some makes, so we remove $(srcdir),
20989# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20990# trailing colons and then remove the whole line if VPATH becomes empty
20991# (actually we leave an empty line to preserve line numbers).
20992if test "x$srcdir" = x.; then
20993 ac_vpsub='/^[ ]*VPATH[ ]*=/{
20994s/:*\$(srcdir):*/:/;
20995s/:*\${srcdir}:*/:/;
20996s/:*@srcdir@:*/:/;
20997s/^\([^=]*=[ ]*\):*/\1/;
20998s/:*$//;
20999s/^[^=]*=[ ]*$//;
21000}'
21001fi
21002
21003DEFS=-DHAVE_CONFIG_H
21004
21005ac_libobjs=
21006ac_ltlibobjs=
21007for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21008 # 1. Remove the extension, and $U if already installed.
21009 ac_i=`echo "$ac_i" |
21010 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
21011 # 2. Add them.
21012 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
21013 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
21014done
21015LIBOBJS=$ac_libobjs
21016
21017LTLIBOBJS=$ac_ltlibobjs
21018
21019
21020if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21021 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
21022Usually this means the macro was only invoked conditionally." >&5
21023echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
21024Usually this means the macro was only invoked conditionally." >&2;}
21025 { (exit 1); exit 1; }; }
21026fi
4ee9c684 21027
21028: ${CONFIG_STATUS=./config.status}
21029ac_clean_files_save=$ac_clean_files
21030ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21031{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21032echo "$as_me: creating $CONFIG_STATUS" >&6;}
21033cat >$CONFIG_STATUS <<_ACEOF
21034#! $SHELL
21035# Generated by $as_me.
21036# Run this file to recreate the current configuration.
21037# Compiler output produced by configure, useful for debugging
21038# configure, is in config.log if it exists.
21039
21040debug=false
21041ac_cs_recheck=false
21042ac_cs_silent=false
21043SHELL=\${CONFIG_SHELL-$SHELL}
21044_ACEOF
21045
21046cat >>$CONFIG_STATUS <<\_ACEOF
21047## --------------------- ##
21048## M4sh Initialization. ##
21049## --------------------- ##
21050
21051# Be Bourne compatible
21052if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21053 emulate sh
21054 NULLCMD=:
21055 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21056 # is contrary to our usage. Disable this feature.
21057 alias -g '${1+"$@"}'='"$@"'
21058elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21059 set -o posix
21060fi
21061DUALCASE=1; export DUALCASE # for MKS sh
21062
21063# Support unset when possible.
21064if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21065 as_unset=unset
21066else
21067 as_unset=false
21068fi
21069
21070
21071# Work around bugs in pre-3.0 UWIN ksh.
21072$as_unset ENV MAIL MAILPATH
21073PS1='$ '
21074PS2='> '
21075PS4='+ '
21076
21077# NLS nuisances.
21078for as_var in \
21079 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21080 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21081 LC_TELEPHONE LC_TIME
21082do
21083 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21084 eval $as_var=C; export $as_var
21085 else
21086 $as_unset $as_var
21087 fi
21088done
21089
21090# Required to use basename.
21091if expr a : '\(a\)' >/dev/null 2>&1; then
21092 as_expr=expr
21093else
21094 as_expr=false
21095fi
21096
21097if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
21098 as_basename=basename
21099else
21100 as_basename=false
21101fi
21102
21103
21104# Name of the executable.
21105as_me=`$as_basename "$0" ||
21106$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21107 X"$0" : 'X\(//\)$' \| \
21108 X"$0" : 'X\(/\)$' \| \
21109 . : '\(.\)' 2>/dev/null ||
21110echo X/"$0" |
21111 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21112 /^X\/\(\/\/\)$/{ s//\1/; q; }
21113 /^X\/\(\/\).*/{ s//\1/; q; }
21114 s/.*/./; q'`
21115
21116
21117# PATH needs CR, and LINENO needs CR and PATH.
21118# Avoid depending upon Character Ranges.
21119as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21120as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21121as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21122as_cr_digits='0123456789'
21123as_cr_alnum=$as_cr_Letters$as_cr_digits
21124
21125# The user is always right.
21126if test "${PATH_SEPARATOR+set}" != set; then
21127 echo "#! /bin/sh" >conf$$.sh
21128 echo "exit 0" >>conf$$.sh
21129 chmod +x conf$$.sh
21130 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21131 PATH_SEPARATOR=';'
21132 else
21133 PATH_SEPARATOR=:
21134 fi
21135 rm -f conf$$.sh
21136fi
21137
21138
21139 as_lineno_1=$LINENO
21140 as_lineno_2=$LINENO
21141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21142 test "x$as_lineno_1" != "x$as_lineno_2" &&
21143 test "x$as_lineno_3" = "x$as_lineno_2" || {
21144 # Find who we are. Look in the path if we contain no path at all
21145 # relative or not.
21146 case $0 in
21147 *[\\/]* ) as_myself=$0 ;;
21148 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21149for as_dir in $PATH
21150do
21151 IFS=$as_save_IFS
21152 test -z "$as_dir" && as_dir=.
21153 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21154done
21155
21156 ;;
21157 esac
21158 # We did not find ourselves, most probably we were run as `sh COMMAND'
21159 # in which case we are not to be found in the path.
21160 if test "x$as_myself" = x; then
21161 as_myself=$0
21162 fi
21163 if test ! -f "$as_myself"; then
21164 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
21165echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
21166 { (exit 1); exit 1; }; }
21167 fi
21168 case $CONFIG_SHELL in
21169 '')
21170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21171for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
21172do
21173 IFS=$as_save_IFS
21174 test -z "$as_dir" && as_dir=.
21175 for as_base in sh bash ksh sh5; do
21176 case $as_dir in
21177 /*)
21178 if ("$as_dir/$as_base" -c '
21179 as_lineno_1=$LINENO
21180 as_lineno_2=$LINENO
21181 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21182 test "x$as_lineno_1" != "x$as_lineno_2" &&
21183 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
21184 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
21185 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
21186 CONFIG_SHELL=$as_dir/$as_base
21187 export CONFIG_SHELL
21188 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
21189 fi;;
21190 esac
21191 done
21192done
21193;;
21194 esac
21195
21196 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21197 # uniformly replaced by the line number. The first 'sed' inserts a
21198 # line-number line before each line; the second 'sed' does the real
21199 # work. The second script uses 'N' to pair each line-number line
21200 # with the numbered line, and appends trailing '-' during
21201 # substitution so that $LINENO is not a special case at line end.
21202 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21203 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
21204 sed '=' <$as_myself |
21205 sed '
21206 N
21207 s,$,-,
21208 : loop
21209 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
21210 t loop
21211 s,-$,,
21212 s,^['$as_cr_digits']*\n,,
21213 ' >$as_me.lineno &&
21214 chmod +x $as_me.lineno ||
21215 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
21216echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
21217 { (exit 1); exit 1; }; }
21218
21219 # Don't try to exec as it changes $[0], causing all sort of problems
21220 # (the dirname of $[0] is not the place where we might find the
21221 # original and so on. Autoconf is especially sensible to this).
21222 . ./$as_me.lineno
21223 # Exit status is that of the last command.
21224 exit
21225}
21226
21227
21228case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
21229 *c*,-n*) ECHO_N= ECHO_C='
21230' ECHO_T=' ' ;;
21231 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
21232 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
21233esac
21234
21235if expr a : '\(a\)' >/dev/null 2>&1; then
21236 as_expr=expr
21237else
21238 as_expr=false
21239fi
21240
21241rm -f conf$$ conf$$.exe conf$$.file
21242echo >conf$$.file
21243if ln -s conf$$.file conf$$ 2>/dev/null; then
21244 # We could just check for DJGPP; but this test a) works b) is more generic
21245 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
21246 if test -f conf$$.exe; then
21247 # Don't use ln at all; we don't have any links
21248 as_ln_s='cp -p'
21249 else
21250 as_ln_s='ln -s'
21251 fi
21252elif ln conf$$.file conf$$ 2>/dev/null; then
21253 as_ln_s=ln
21254else
21255 as_ln_s='cp -p'
21256fi
21257rm -f conf$$ conf$$.exe conf$$.file
21258
21259if mkdir -p . 2>/dev/null; then
21260 as_mkdir_p=:
21261else
21262 test -d ./-p && rmdir ./-p
21263 as_mkdir_p=false
21264fi
21265
21266as_executable_p="test -f"
21267
21268# Sed expression to map a string onto a valid CPP name.
21269as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21270
21271# Sed expression to map a string onto a valid variable name.
21272as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21273
21274
21275# IFS
21276# We need space, tab and new line, in precisely that order.
21277as_nl='
21278'
21279IFS=" $as_nl"
21280
21281# CDPATH.
21282$as_unset CDPATH
21283
21284exec 6>&1
21285
21286# Open the log real soon, to keep \$[0] and so on meaningful, and to
21287# report actual input values of CONFIG_FILES etc. instead of their
21288# values after options handling. Logging --version etc. is OK.
21289exec 5>>config.log
21290{
21291 echo
21292 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21293## Running $as_me. ##
21294_ASBOX
21295} >&5
21296cat >&5 <<_CSEOF
21297
21298This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
21299generated by GNU Autoconf 2.59. Invocation command line was
21300
21301 CONFIG_FILES = $CONFIG_FILES
21302 CONFIG_HEADERS = $CONFIG_HEADERS
21303 CONFIG_LINKS = $CONFIG_LINKS
21304 CONFIG_COMMANDS = $CONFIG_COMMANDS
21305 $ $0 $@
21306
21307_CSEOF
21308echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
21309echo >&5
21310_ACEOF
21311
21312# Files that config.status was made for.
21313if test -n "$ac_config_files"; then
21314 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
21315fi
21316
21317if test -n "$ac_config_headers"; then
21318 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
21319fi
21320
21321if test -n "$ac_config_links"; then
21322 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
21323fi
21324
21325if test -n "$ac_config_commands"; then
21326 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
21327fi
21328
21329cat >>$CONFIG_STATUS <<\_ACEOF
21330
21331ac_cs_usage="\
21332\`$as_me' instantiates files from templates according to the
21333current configuration.
21334
21335Usage: $0 [OPTIONS] [FILE]...
21336
21337 -h, --help print this help, then exit
21338 -V, --version print version number, then exit
21339 -q, --quiet do not print progress messages
21340 -d, --debug don't remove temporary files
21341 --recheck update $as_me by reconfiguring in the same conditions
21342 --file=FILE[:TEMPLATE]
21343 instantiate the configuration file FILE
21344 --header=FILE[:TEMPLATE]
21345 instantiate the configuration header FILE
21346
21347Configuration files:
21348$config_files
21349
21350Configuration headers:
21351$config_headers
21352
21353Configuration commands:
21354$config_commands
21355
21356Report bugs to <bug-autoconf@gnu.org>."
21357_ACEOF
21358
21359cat >>$CONFIG_STATUS <<_ACEOF
21360ac_cs_version="\\
21361GNU Fortran Runtime Library config.status 0.2
21362configured by $0, generated by GNU Autoconf 2.59,
21363 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
21364
21365Copyright (C) 2003 Free Software Foundation, Inc.
21366This config.status script is free software; the Free Software Foundation
21367gives unlimited permission to copy, distribute and modify it."
21368srcdir=$srcdir
21369INSTALL="$INSTALL"
21370_ACEOF
21371
21372cat >>$CONFIG_STATUS <<\_ACEOF
21373# If no file are specified by the user, then we need to provide default
21374# value. By we need to know if files were specified by the user.
21375ac_need_defaults=:
21376while test $# != 0
21377do
21378 case $1 in
21379 --*=*)
21380 ac_option=`expr "x$1" : 'x\([^=]*\)='`
21381 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
21382 ac_shift=:
21383 ;;
21384 -*)
21385 ac_option=$1
21386 ac_optarg=$2
21387 ac_shift=shift
21388 ;;
21389 *) # This is not an option, so the user has probably given explicit
21390 # arguments.
21391 ac_option=$1
21392 ac_need_defaults=false;;
21393 esac
21394
21395 case $ac_option in
21396 # Handling of the options.
21397_ACEOF
21398cat >>$CONFIG_STATUS <<\_ACEOF
21399 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21400 ac_cs_recheck=: ;;
21401 --version | --vers* | -V )
21402 echo "$ac_cs_version"; exit 0 ;;
21403 --he | --h)
21404 # Conflict between --help and --header
21405 { { echo "$as_me:$LINENO: error: ambiguous option: $1
21406Try \`$0 --help' for more information." >&5
21407echo "$as_me: error: ambiguous option: $1
21408Try \`$0 --help' for more information." >&2;}
21409 { (exit 1); exit 1; }; };;
21410 --help | --hel | -h )
21411 echo "$ac_cs_usage"; exit 0 ;;
21412 --debug | --d* | -d )
21413 debug=: ;;
21414 --file | --fil | --fi | --f )
21415 $ac_shift
21416 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21417 ac_need_defaults=false;;
21418 --header | --heade | --head | --hea )
21419 $ac_shift
21420 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21421 ac_need_defaults=false;;
21422 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21423 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21424 ac_cs_silent=: ;;
21425
21426 # This is an error.
21427 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
21428Try \`$0 --help' for more information." >&5
21429echo "$as_me: error: unrecognized option: $1
21430Try \`$0 --help' for more information." >&2;}
21431 { (exit 1); exit 1; }; } ;;
21432
21433 *) ac_config_targets="$ac_config_targets $1" ;;
21434
21435 esac
21436 shift
21437done
21438
21439ac_configure_extra_args=
21440
21441if $ac_cs_silent; then
21442 exec 6>/dev/null
21443 ac_configure_extra_args="$ac_configure_extra_args --silent"
21444fi
21445
21446_ACEOF
21447cat >>$CONFIG_STATUS <<_ACEOF
21448if \$ac_cs_recheck; then
21449 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21450 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21451fi
21452
21453_ACEOF
21454
21455cat >>$CONFIG_STATUS <<_ACEOF
21456#
21457# INIT-COMMANDS section.
21458#
21459
90973b19 21460
21461srcdir="$srcdir"
21462host="$host"
21463target="$target"
21464with_multisubdir="$with_multisubdir"
21465with_multisrctop="$with_multisrctop"
21466with_target_subdir="$with_target_subdir"
21467ac_configure_args="${multilib_arg} ${ac_configure_args}"
21468multi_basedir="$multi_basedir"
21469CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
21470CC="$CC"
4ee9c684 21471
21472_ACEOF
21473
21474
21475
21476cat >>$CONFIG_STATUS <<\_ACEOF
21477for ac_config_target in $ac_config_targets
21478do
21479 case "$ac_config_target" in
21480 # Handling of arguments.
21481 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
90973b19 21482 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
4ee9c684 21483 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
21484 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21485echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21486 { (exit 1); exit 1; }; };;
21487 esac
21488done
21489
21490# If the user did not use the arguments to specify the items to instantiate,
21491# then the envvar interface is used. Set only those that are not.
21492# We use the long form for the default assignment because of an extremely
21493# bizarre bug on SunOS 4.1.3.
21494if $ac_need_defaults; then
21495 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21496 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21497 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21498fi
21499
21500# Have a temporary directory for convenience. Make it in the build tree
21501# simply because there is no reason to put it here, and in addition,
21502# creating and moving files from /tmp can sometimes cause problems.
21503# Create a temporary directory, and hook for its removal unless debugging.
21504$debug ||
21505{
21506 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
21507 trap '{ (exit 1); exit 1; }' 1 2 13 15
21508}
21509
21510# Create a (secure) tmp directory for tmp files.
21511
21512{
21513 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
21514 test -n "$tmp" && test -d "$tmp"
21515} ||
21516{
21517 tmp=./confstat$$-$RANDOM
21518 (umask 077 && mkdir $tmp)
21519} ||
21520{
21521 echo "$me: cannot create a temporary directory in ." >&2
21522 { (exit 1); exit 1; }
21523}
21524
21525_ACEOF
21526
21527cat >>$CONFIG_STATUS <<_ACEOF
21528
21529#
21530# CONFIG_FILES section.
21531#
21532
21533# No need to generate the scripts if there are no CONFIG_FILES.
21534# This happens for instance when ./config.status config.h
21535if test -n "\$CONFIG_FILES"; then
21536 # Protect against being on the right side of a sed subst in config.status.
21537 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21538 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21539s,@SHELL@,$SHELL,;t t
21540s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21541s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21542s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21543s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21544s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21545s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21546s,@exec_prefix@,$exec_prefix,;t t
21547s,@prefix@,$prefix,;t t
21548s,@program_transform_name@,$program_transform_name,;t t
21549s,@bindir@,$bindir,;t t
21550s,@sbindir@,$sbindir,;t t
21551s,@libexecdir@,$libexecdir,;t t
21552s,@datadir@,$datadir,;t t
21553s,@sysconfdir@,$sysconfdir,;t t
21554s,@sharedstatedir@,$sharedstatedir,;t t
21555s,@localstatedir@,$localstatedir,;t t
21556s,@libdir@,$libdir,;t t
21557s,@includedir@,$includedir,;t t
21558s,@oldincludedir@,$oldincludedir,;t t
21559s,@infodir@,$infodir,;t t
21560s,@mandir@,$mandir,;t t
21561s,@build_alias@,$build_alias,;t t
21562s,@host_alias@,$host_alias,;t t
21563s,@target_alias@,$target_alias,;t t
21564s,@DEFS@,$DEFS,;t t
21565s,@ECHO_C@,$ECHO_C,;t t
21566s,@ECHO_N@,$ECHO_N,;t t
21567s,@ECHO_T@,$ECHO_T,;t t
21568s,@LIBS@,$LIBS,;t t
90973b19 21569s,@build@,$build,;t t
21570s,@build_cpu@,$build_cpu,;t t
21571s,@build_vendor@,$build_vendor,;t t
21572s,@build_os@,$build_os,;t t
4c82c0dd 21573s,@build_subdir@,$build_subdir,;t t
21574s,@host_subdir@,$host_subdir,;t t
21575s,@target_subdir@,$target_subdir,;t t
90973b19 21576s,@host@,$host,;t t
21577s,@host_cpu@,$host_cpu,;t t
21578s,@host_vendor@,$host_vendor,;t t
21579s,@host_os@,$host_os,;t t
21580s,@target@,$target,;t t
21581s,@target_cpu@,$target_cpu,;t t
21582s,@target_vendor@,$target_vendor,;t t
21583s,@target_os@,$target_os,;t t
4ee9c684 21584s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21585s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21586s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21587s,@CYGPATH_W@,$CYGPATH_W,;t t
21588s,@PACKAGE@,$PACKAGE,;t t
21589s,@VERSION@,$VERSION,;t t
21590s,@ACLOCAL@,$ACLOCAL,;t t
21591s,@AUTOCONF@,$AUTOCONF,;t t
21592s,@AUTOMAKE@,$AUTOMAKE,;t t
21593s,@AUTOHEADER@,$AUTOHEADER,;t t
21594s,@MAKEINFO@,$MAKEINFO,;t t
4ee9c684 21595s,@install_sh@,$install_sh,;t t
21596s,@STRIP@,$STRIP,;t t
21597s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21598s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
21599s,@mkdir_p@,$mkdir_p,;t t
21600s,@AWK@,$AWK,;t t
21601s,@SET_MAKE@,$SET_MAKE,;t t
21602s,@am__leading_dot@,$am__leading_dot,;t t
6745c9de 21603s,@AMTAR@,$AMTAR,;t t
21604s,@am__tar@,$am__tar,;t t
21605s,@am__untar@,$am__untar,;t t
4ee9c684 21606s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
21607s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
21608s,@MAINT@,$MAINT,;t t
90973b19 21609s,@multi_basedir@,$multi_basedir,;t t
90973b19 21610s,@toolexecdir@,$toolexecdir,;t t
21611s,@toolexeclibdir@,$toolexeclibdir,;t t
4ee9c684 21612s,@CC@,$CC,;t t
4ee9c684 21613s,@ac_ct_CC@,$ac_ct_CC,;t t
21614s,@EXEEXT@,$EXEEXT,;t t
21615s,@OBJEXT@,$OBJEXT,;t t
09e5829f 21616s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
21617s,@AM_CFLAGS@,$AM_CFLAGS,;t t
90973b19 21618s,@AS@,$AS,;t t
21619s,@ac_ct_AS@,$ac_ct_AS,;t t
21620s,@AR@,$AR,;t t
21621s,@ac_ct_AR@,$ac_ct_AR,;t t
21622s,@RANLIB@,$RANLIB,;t t
21623s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21624s,@LN_S@,$LN_S,;t t
21625s,@LIBTOOL@,$LIBTOOL,;t t
21626s,@enable_shared@,$enable_shared,;t t
21627s,@enable_static@,$enable_static,;t t
6d73cceb 21628s,@FC@,$FC,;t t
21629s,@FCFLAGS@,$FCFLAGS,;t t
90973b19 21630s,@LDFLAGS@,$LDFLAGS,;t t
6d73cceb 21631s,@ac_ct_FC@,$ac_ct_FC,;t t
9cf1c244 21632s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
4ee9c684 21633s,@CPP@,$CPP,;t t
90973b19 21634s,@CPPFLAGS@,$CPPFLAGS,;t t
4ee9c684 21635s,@EGREP@,$EGREP,;t t
8c84a5de 21636s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
4ee9c684 21637s,@LIBOBJS@,$LIBOBJS,;t t
21638s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21639CEOF
21640
21641_ACEOF
21642
21643 cat >>$CONFIG_STATUS <<\_ACEOF
21644 # Split the substitutions into bite-sized pieces for seds with
21645 # small command number limits, like on Digital OSF/1 and HP-UX.
21646 ac_max_sed_lines=48
21647 ac_sed_frag=1 # Number of current file.
21648 ac_beg=1 # First line for current file.
21649 ac_end=$ac_max_sed_lines # Line after last line for current file.
21650 ac_more_lines=:
21651 ac_sed_cmds=
21652 while $ac_more_lines; do
21653 if test $ac_beg -gt 1; then
21654 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21655 else
21656 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21657 fi
21658 if test ! -s $tmp/subs.frag; then
21659 ac_more_lines=false
21660 else
21661 # The purpose of the label and of the branching condition is to
21662 # speed up the sed processing (if there are no `@' at all, there
21663 # is no need to browse any of the substitutions).
21664 # These are the two extra sed commands mentioned above.
21665 (echo ':t
21666 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21667 if test -z "$ac_sed_cmds"; then
21668 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21669 else
21670 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21671 fi
21672 ac_sed_frag=`expr $ac_sed_frag + 1`
21673 ac_beg=$ac_end
21674 ac_end=`expr $ac_end + $ac_max_sed_lines`
21675 fi
21676 done
21677 if test -z "$ac_sed_cmds"; then
21678 ac_sed_cmds=cat
21679 fi
21680fi # test -n "$CONFIG_FILES"
21681
21682_ACEOF
21683cat >>$CONFIG_STATUS <<\_ACEOF
21684for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21685 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21686 case $ac_file in
21687 - | *:- | *:-:* ) # input from stdin
21688 cat >$tmp/stdin
21689 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21690 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21691 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21692 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21693 * ) ac_file_in=$ac_file.in ;;
21694 esac
21695
21696 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21697 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21698$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21699 X"$ac_file" : 'X\(//\)[^/]' \| \
21700 X"$ac_file" : 'X\(//\)$' \| \
21701 X"$ac_file" : 'X\(/\)' \| \
21702 . : '\(.\)' 2>/dev/null ||
21703echo X"$ac_file" |
21704 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21705 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21706 /^X\(\/\/\)$/{ s//\1/; q; }
21707 /^X\(\/\).*/{ s//\1/; q; }
21708 s/.*/./; q'`
21709 { if $as_mkdir_p; then
21710 mkdir -p "$ac_dir"
21711 else
21712 as_dir="$ac_dir"
21713 as_dirs=
21714 while test ! -d "$as_dir"; do
21715 as_dirs="$as_dir $as_dirs"
21716 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21717$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21718 X"$as_dir" : 'X\(//\)[^/]' \| \
21719 X"$as_dir" : 'X\(//\)$' \| \
21720 X"$as_dir" : 'X\(/\)' \| \
21721 . : '\(.\)' 2>/dev/null ||
21722echo X"$as_dir" |
21723 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21724 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21725 /^X\(\/\/\)$/{ s//\1/; q; }
21726 /^X\(\/\).*/{ s//\1/; q; }
21727 s/.*/./; q'`
21728 done
21729 test ! -n "$as_dirs" || mkdir $as_dirs
21730 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21731echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21732 { (exit 1); exit 1; }; }; }
21733
21734 ac_builddir=.
21735
21736if test "$ac_dir" != .; then
21737 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21738 # A "../" for each directory in $ac_dir_suffix.
21739 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21740else
21741 ac_dir_suffix= ac_top_builddir=
21742fi
21743
21744case $srcdir in
21745 .) # No --srcdir option. We are building in place.
21746 ac_srcdir=.
21747 if test -z "$ac_top_builddir"; then
21748 ac_top_srcdir=.
21749 else
21750 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21751 fi ;;
21752 [\\/]* | ?:[\\/]* ) # Absolute path.
21753 ac_srcdir=$srcdir$ac_dir_suffix;
21754 ac_top_srcdir=$srcdir ;;
21755 *) # Relative path.
21756 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21757 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21758esac
21759
21760# Do not use `cd foo && pwd` to compute absolute paths, because
21761# the directories may not exist.
21762case `pwd` in
21763.) ac_abs_builddir="$ac_dir";;
21764*)
21765 case "$ac_dir" in
21766 .) ac_abs_builddir=`pwd`;;
21767 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21768 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21769 esac;;
21770esac
21771case $ac_abs_builddir in
21772.) ac_abs_top_builddir=${ac_top_builddir}.;;
21773*)
21774 case ${ac_top_builddir}. in
21775 .) ac_abs_top_builddir=$ac_abs_builddir;;
21776 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21777 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21778 esac;;
21779esac
21780case $ac_abs_builddir in
21781.) ac_abs_srcdir=$ac_srcdir;;
21782*)
21783 case $ac_srcdir in
21784 .) ac_abs_srcdir=$ac_abs_builddir;;
21785 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21786 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21787 esac;;
21788esac
21789case $ac_abs_builddir in
21790.) ac_abs_top_srcdir=$ac_top_srcdir;;
21791*)
21792 case $ac_top_srcdir in
21793 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21794 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21795 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21796 esac;;
21797esac
21798
21799
21800 case $INSTALL in
21801 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21802 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21803 esac
21804
21805 # Let's still pretend it is `configure' which instantiates (i.e., don't
21806 # use $as_me), people would be surprised to read:
21807 # /* config.h. Generated by config.status. */
21808 if test x"$ac_file" = x-; then
21809 configure_input=
21810 else
21811 configure_input="$ac_file. "
21812 fi
21813 configure_input=$configure_input"Generated from `echo $ac_file_in |
21814 sed 's,.*/,,'` by configure."
21815
21816 # First look for the input files in the build tree, otherwise in the
21817 # src tree.
21818 ac_file_inputs=`IFS=:
21819 for f in $ac_file_in; do
21820 case $f in
21821 -) echo $tmp/stdin ;;
21822 [\\/$]*)
21823 # Absolute (can't be DOS-style, as IFS=:)
21824 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21825echo "$as_me: error: cannot find input file: $f" >&2;}
21826 { (exit 1); exit 1; }; }
21827 echo "$f";;
21828 *) # Relative
21829 if test -f "$f"; then
21830 # Build tree
21831 echo "$f"
21832 elif test -f "$srcdir/$f"; then
21833 # Source tree
21834 echo "$srcdir/$f"
21835 else
21836 # /dev/null tree
21837 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21838echo "$as_me: error: cannot find input file: $f" >&2;}
21839 { (exit 1); exit 1; }; }
21840 fi;;
21841 esac
21842 done` || { (exit 1); exit 1; }
b56cb1ff 21843
21844 if test x"$ac_file" != x-; then
21845 { echo "$as_me:$LINENO: creating $ac_file" >&5
21846echo "$as_me: creating $ac_file" >&6;}
21847 rm -f "$ac_file"
21848 fi
4ee9c684 21849_ACEOF
21850cat >>$CONFIG_STATUS <<_ACEOF
21851 sed "$ac_vpsub
21852$extrasub
21853_ACEOF
21854cat >>$CONFIG_STATUS <<\_ACEOF
21855:t
21856/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21857s,@configure_input@,$configure_input,;t t
21858s,@srcdir@,$ac_srcdir,;t t
21859s,@abs_srcdir@,$ac_abs_srcdir,;t t
21860s,@top_srcdir@,$ac_top_srcdir,;t t
21861s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21862s,@builddir@,$ac_builddir,;t t
21863s,@abs_builddir@,$ac_abs_builddir,;t t
21864s,@top_builddir@,$ac_top_builddir,;t t
21865s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21866s,@INSTALL@,$ac_INSTALL,;t t
21867" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21868 rm -f $tmp/stdin
21869 if test x"$ac_file" != x-; then
21870 mv $tmp/out $ac_file
21871 else
21872 cat $tmp/out
21873 rm -f $tmp/out
21874 fi
21875
21876done
21877_ACEOF
21878cat >>$CONFIG_STATUS <<\_ACEOF
21879
21880#
21881# CONFIG_HEADER section.
21882#
21883
21884# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21885# NAME is the cpp macro being defined and VALUE is the value it is being given.
21886#
21887# ac_d sets the value in "#define NAME VALUE" lines.
21888ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21889ac_dB='[ ].*$,\1#\2'
21890ac_dC=' '
21891ac_dD=',;t'
21892# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21893ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21894ac_uB='$,\1#\2define\3'
21895ac_uC=' '
21896ac_uD=',;t'
21897
21898for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21899 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21900 case $ac_file in
21901 - | *:- | *:-:* ) # input from stdin
21902 cat >$tmp/stdin
21903 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21904 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21905 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21906 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21907 * ) ac_file_in=$ac_file.in ;;
21908 esac
21909
21910 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21911echo "$as_me: creating $ac_file" >&6;}
21912
21913 # First look for the input files in the build tree, otherwise in the
21914 # src tree.
21915 ac_file_inputs=`IFS=:
21916 for f in $ac_file_in; do
21917 case $f in
21918 -) echo $tmp/stdin ;;
21919 [\\/$]*)
21920 # Absolute (can't be DOS-style, as IFS=:)
21921 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21922echo "$as_me: error: cannot find input file: $f" >&2;}
21923 { (exit 1); exit 1; }; }
21924 # Do quote $f, to prevent DOS paths from being IFS'd.
21925 echo "$f";;
21926 *) # Relative
21927 if test -f "$f"; then
21928 # Build tree
21929 echo "$f"
21930 elif test -f "$srcdir/$f"; then
21931 # Source tree
21932 echo "$srcdir/$f"
21933 else
21934 # /dev/null tree
21935 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21936echo "$as_me: error: cannot find input file: $f" >&2;}
21937 { (exit 1); exit 1; }; }
21938 fi;;
21939 esac
21940 done` || { (exit 1); exit 1; }
21941 # Remove the trailing spaces.
21942 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21943
21944_ACEOF
21945
21946# Transform confdefs.h into two sed scripts, `conftest.defines' and
21947# `conftest.undefs', that substitutes the proper values into
21948# config.h.in to produce config.h. The first handles `#define'
21949# templates, and the second `#undef' templates.
21950# And first: Protect against being on the right side of a sed subst in
21951# config.status. Protect against being in an unquoted here document
21952# in config.status.
21953rm -f conftest.defines conftest.undefs
21954# Using a here document instead of a string reduces the quoting nightmare.
21955# Putting comments in sed scripts is not portable.
21956#
21957# `end' is used to avoid that the second main sed command (meant for
21958# 0-ary CPP macros) applies to n-ary macro definitions.
21959# See the Autoconf documentation for `clear'.
21960cat >confdef2sed.sed <<\_ACEOF
21961s/[\\&,]/\\&/g
21962s,[\\$`],\\&,g
21963t clear
21964: clear
21965s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21966t end
21967s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21968: end
21969_ACEOF
21970# If some macros were called several times there might be several times
21971# the same #defines, which is useless. Nevertheless, we may not want to
21972# sort them, since we want the *last* AC-DEFINE to be honored.
21973uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21974sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21975rm -f confdef2sed.sed
21976
21977# This sed command replaces #undef with comments. This is necessary, for
21978# example, in the case of _POSIX_SOURCE, which is predefined and required
21979# on some systems where configure will not decide to define it.
21980cat >>conftest.undefs <<\_ACEOF
21981s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21982_ACEOF
21983
21984# Break up conftest.defines because some shells have a limit on the size
21985# of here documents, and old seds have small limits too (100 cmds).
21986echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21987echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21988echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21989echo ' :' >>$CONFIG_STATUS
21990rm -f conftest.tail
21991while grep . conftest.defines >/dev/null
21992do
21993 # Write a limited-size here document to $tmp/defines.sed.
21994 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21995 # Speed up: don't consider the non `#define' lines.
21996 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21997 # Work around the forget-to-reset-the-flag bug.
21998 echo 't clr' >>$CONFIG_STATUS
21999 echo ': clr' >>$CONFIG_STATUS
22000 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
22001 echo 'CEOF
22002 sed -f $tmp/defines.sed $tmp/in >$tmp/out
22003 rm -f $tmp/in
22004 mv $tmp/out $tmp/in
22005' >>$CONFIG_STATUS
22006 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
22007 rm -f conftest.defines
22008 mv conftest.tail conftest.defines
22009done
22010rm -f conftest.defines
22011echo ' fi # grep' >>$CONFIG_STATUS
22012echo >>$CONFIG_STATUS
22013
22014# Break up conftest.undefs because some shells have a limit on the size
22015# of here documents, and old seds have small limits too (100 cmds).
22016echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
22017rm -f conftest.tail
22018while grep . conftest.undefs >/dev/null
22019do
22020 # Write a limited-size here document to $tmp/undefs.sed.
22021 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
22022 # Speed up: don't consider the non `#undef'
22023 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
22024 # Work around the forget-to-reset-the-flag bug.
22025 echo 't clr' >>$CONFIG_STATUS
22026 echo ': clr' >>$CONFIG_STATUS
22027 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
22028 echo 'CEOF
22029 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
22030 rm -f $tmp/in
22031 mv $tmp/out $tmp/in
22032' >>$CONFIG_STATUS
22033 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
22034 rm -f conftest.undefs
22035 mv conftest.tail conftest.undefs
22036done
22037rm -f conftest.undefs
22038
22039cat >>$CONFIG_STATUS <<\_ACEOF
22040 # Let's still pretend it is `configure' which instantiates (i.e., don't
22041 # use $as_me), people would be surprised to read:
22042 # /* config.h. Generated by config.status. */
22043 if test x"$ac_file" = x-; then
22044 echo "/* Generated by configure. */" >$tmp/config.h
22045 else
22046 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
22047 fi
22048 cat $tmp/in >>$tmp/config.h
22049 rm -f $tmp/in
22050 if test x"$ac_file" != x-; then
22051 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
22052 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22053echo "$as_me: $ac_file is unchanged" >&6;}
22054 else
22055 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
22056$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22057 X"$ac_file" : 'X\(//\)[^/]' \| \
22058 X"$ac_file" : 'X\(//\)$' \| \
22059 X"$ac_file" : 'X\(/\)' \| \
22060 . : '\(.\)' 2>/dev/null ||
22061echo X"$ac_file" |
22062 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22063 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22064 /^X\(\/\/\)$/{ s//\1/; q; }
22065 /^X\(\/\).*/{ s//\1/; q; }
22066 s/.*/./; q'`
22067 { if $as_mkdir_p; then
22068 mkdir -p "$ac_dir"
22069 else
22070 as_dir="$ac_dir"
22071 as_dirs=
22072 while test ! -d "$as_dir"; do
22073 as_dirs="$as_dir $as_dirs"
22074 as_dir=`(dirname "$as_dir") 2>/dev/null ||
22075$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22076 X"$as_dir" : 'X\(//\)[^/]' \| \
22077 X"$as_dir" : 'X\(//\)$' \| \
22078 X"$as_dir" : 'X\(/\)' \| \
22079 . : '\(.\)' 2>/dev/null ||
22080echo X"$as_dir" |
22081 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22082 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22083 /^X\(\/\/\)$/{ s//\1/; q; }
22084 /^X\(\/\).*/{ s//\1/; q; }
22085 s/.*/./; q'`
22086 done
22087 test ! -n "$as_dirs" || mkdir $as_dirs
22088 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22089echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22090 { (exit 1); exit 1; }; }; }
22091
22092 rm -f $ac_file
22093 mv $tmp/config.h $ac_file
22094 fi
22095 else
22096 cat $tmp/config.h
22097 rm -f $tmp/config.h
22098 fi
22099# Compute $ac_file's index in $config_headers.
22100_am_stamp_count=1
22101for _am_header in $config_headers :; do
22102 case $_am_header in
22103 $ac_file | $ac_file:* )
22104 break ;;
22105 * )
22106 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
22107 esac
22108done
22109echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
22110$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22111 X$ac_file : 'X\(//\)[^/]' \| \
22112 X$ac_file : 'X\(//\)$' \| \
22113 X$ac_file : 'X\(/\)' \| \
22114 . : '\(.\)' 2>/dev/null ||
22115echo X$ac_file |
22116 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22117 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22118 /^X\(\/\/\)$/{ s//\1/; q; }
22119 /^X\(\/\).*/{ s//\1/; q; }
22120 s/.*/./; q'`/stamp-h$_am_stamp_count
22121done
22122_ACEOF
22123cat >>$CONFIG_STATUS <<\_ACEOF
22124
22125#
22126# CONFIG_COMMANDS section.
22127#
22128for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
22129 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
22130 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
22131 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
22132$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22133 X"$ac_dest" : 'X\(//\)[^/]' \| \
22134 X"$ac_dest" : 'X\(//\)$' \| \
22135 X"$ac_dest" : 'X\(/\)' \| \
22136 . : '\(.\)' 2>/dev/null ||
22137echo X"$ac_dest" |
22138 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22139 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22140 /^X\(\/\/\)$/{ s//\1/; q; }
22141 /^X\(\/\).*/{ s//\1/; q; }
22142 s/.*/./; q'`
22143 { if $as_mkdir_p; then
22144 mkdir -p "$ac_dir"
22145 else
22146 as_dir="$ac_dir"
22147 as_dirs=
22148 while test ! -d "$as_dir"; do
22149 as_dirs="$as_dir $as_dirs"
22150 as_dir=`(dirname "$as_dir") 2>/dev/null ||
22151$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22152 X"$as_dir" : 'X\(//\)[^/]' \| \
22153 X"$as_dir" : 'X\(//\)$' \| \
22154 X"$as_dir" : 'X\(/\)' \| \
22155 . : '\(.\)' 2>/dev/null ||
22156echo X"$as_dir" |
22157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22158 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22159 /^X\(\/\/\)$/{ s//\1/; q; }
22160 /^X\(\/\).*/{ s//\1/; q; }
22161 s/.*/./; q'`
22162 done
22163 test ! -n "$as_dirs" || mkdir $as_dirs
22164 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22165echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22166 { (exit 1); exit 1; }; }; }
22167
22168 ac_builddir=.
22169
22170if test "$ac_dir" != .; then
22171 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22172 # A "../" for each directory in $ac_dir_suffix.
22173 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22174else
22175 ac_dir_suffix= ac_top_builddir=
22176fi
22177
22178case $srcdir in
22179 .) # No --srcdir option. We are building in place.
22180 ac_srcdir=.
22181 if test -z "$ac_top_builddir"; then
22182 ac_top_srcdir=.
22183 else
22184 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
22185 fi ;;
22186 [\\/]* | ?:[\\/]* ) # Absolute path.
22187 ac_srcdir=$srcdir$ac_dir_suffix;
22188 ac_top_srcdir=$srcdir ;;
22189 *) # Relative path.
22190 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22191 ac_top_srcdir=$ac_top_builddir$srcdir ;;
22192esac
22193
22194# Do not use `cd foo && pwd` to compute absolute paths, because
22195# the directories may not exist.
22196case `pwd` in
22197.) ac_abs_builddir="$ac_dir";;
22198*)
22199 case "$ac_dir" in
22200 .) ac_abs_builddir=`pwd`;;
22201 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
22202 *) ac_abs_builddir=`pwd`/"$ac_dir";;
22203 esac;;
22204esac
22205case $ac_abs_builddir in
22206.) ac_abs_top_builddir=${ac_top_builddir}.;;
22207*)
22208 case ${ac_top_builddir}. in
22209 .) ac_abs_top_builddir=$ac_abs_builddir;;
22210 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22211 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22212 esac;;
22213esac
22214case $ac_abs_builddir in
22215.) ac_abs_srcdir=$ac_srcdir;;
22216*)
22217 case $ac_srcdir in
22218 .) ac_abs_srcdir=$ac_abs_builddir;;
22219 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22220 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22221 esac;;
22222esac
22223case $ac_abs_builddir in
22224.) ac_abs_top_srcdir=$ac_top_srcdir;;
22225*)
22226 case $ac_top_srcdir in
22227 .) ac_abs_top_srcdir=$ac_abs_builddir;;
22228 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
22229 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
22230 esac;;
22231esac
22232
22233
22234 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
22235echo "$as_me: executing $ac_dest commands" >&6;}
22236 case $ac_dest in
90973b19 22237 default-1 )
22238# Only add multilib support code if we just rebuilt the top-level
22239# Makefile.
22240case " $CONFIG_FILES " in
22241 *" Makefile "*)
22242 ac_file=Makefile . ${multi_basedir}/config-ml.in
22243 ;;
22244esac ;;
4ee9c684 22245 esac
22246done
22247_ACEOF
22248
22249cat >>$CONFIG_STATUS <<\_ACEOF
22250
22251{ (exit 0); exit 0; }
22252_ACEOF
22253chmod +x $CONFIG_STATUS
22254ac_clean_files=$ac_clean_files_save
22255
22256
22257# configure is writing to config.log, and then calls config.status.
22258# config.status does its own redirection, appending to config.log.
22259# Unfortunately, on DOS this fails, as config.log is still kept open
22260# by configure, so config.status won't be able to write to it; its
22261# output is simply discarded. So we exec the FD to /dev/null,
22262# effectively closing config.log, so it can be properly (re)opened and
22263# appended to by config.status. When coming back to configure, we
22264# need to make the FD available again.
22265if test "$no_create" != yes; then
22266 ac_cs_success=:
22267 ac_config_status_args=
22268 test "$silent" = yes &&
22269 ac_config_status_args="$ac_config_status_args --quiet"
22270 exec 5>/dev/null
22271 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22272 exec 5>>config.log
22273 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22274 # would make configure fail if this is the last instruction.
22275 $ac_cs_success || { (exit 1); exit 1; }
22276fi
22277