]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgfortran/configure
re PR target/22432 (Wrong code generation using MMX intrinsics on amd64)
[thirdparty/gcc.git] / libgfortran / configure
CommitLineData
6de9cd9a
DN
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
944b8b35 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 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'
6de9cd9a
DN
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
c7a35fe9
AS
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
96b8a615
AJ
760ac_env_LDFLAGS_set=${LDFLAGS+set}
761ac_env_LDFLAGS_value=$LDFLAGS
762ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763ac_cv_env_LDFLAGS_value=$LDFLAGS
6de9cd9a
DN
764ac_env_CPP_set=${CPP+set}
765ac_env_CPP_value=$CPP
766ac_cv_env_CPP_set=${CPP+set}
767ac_cv_env_CPP_value=$CPP
96b8a615
AJ
768ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769ac_env_CPPFLAGS_value=$CPPFLAGS
770ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771ac_cv_env_CPPFLAGS_value=$CPPFLAGS
6de9cd9a
DN
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]
96b8a615 841 --target=TARGET configure for building compilers for TARGET [HOST]
6de9cd9a
DN
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]
96b8a615 854 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
6de9cd9a
DN
855 --enable-maintainer-mode enable make rules and dependencies not useful
856 (and sometimes confusing) to the casual installer
96b8a615 857 --enable-multilib build many library versions (default)
6de9cd9a
DN
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)
9cdc381b 862 --disable-largefile omit support for large files
6de9cd9a
DN
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>
c7a35fe9
AS
877 FC Fortran compiler command
878 FCFLAGS Fortran compiler flags
6de9cd9a
DN
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
1409cd0b 972 cd $ac_popdir
6de9cd9a
DN
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
96b8a615
AJ
1329 ac_config_headers="$ac_config_headers config.h"
1330
1331
96b8a615
AJ
1332# -------
1333# Options
1334# -------
1335
1336echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1337echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1338# Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1339if test "${enable_version_specific_runtime_libs+set}" = set; then
1340 enableval="$enable_version_specific_runtime_libs"
1341 case "$enableval" in
1342 yes) version_specific_libs=yes ;;
1343 no) version_specific_libs=no ;;
1344 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1345echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1346 { (exit 1); exit 1; }; };;
1347 esac
1348else
1349 version_specific_libs=no
1350fi;
1351echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1352echo "${ECHO_T}$version_specific_libs" >&6
1353
1354
1355# Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1356#
1357# You will slowly go insane if you do not grok the following fact: when
1358# building this library, the top-level /target/ becomes the library's /host/.
1359#
1360# configure then causes --target to default to --host, exactly like any
1361# other package using autoconf. Therefore, 'target' and 'host' will
1362# always be the same. This makes sense both for native and cross compilers
1363# just think about it for a little while. :-)
1364#
1365# Also, if this library is being configured as part of a cross compiler, the
1366# top-level configure script will pass the "real" host as $with_cross_host.
1367#
1368# Do not delete or change the following two lines. For why, see
1369# http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
6de9cd9a
DN
1370ac_aux_dir=
1371for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1372 if test -f $ac_dir/install-sh; then
1373 ac_aux_dir=$ac_dir
1374 ac_install_sh="$ac_aux_dir/install-sh -c"
1375 break
1376 elif test -f $ac_dir/install.sh; then
1377 ac_aux_dir=$ac_dir
1378 ac_install_sh="$ac_aux_dir/install.sh -c"
1379 break
1380 elif test -f $ac_dir/shtool; then
1381 ac_aux_dir=$ac_dir
1382 ac_install_sh="$ac_aux_dir/shtool install -c"
1383 break
1384 fi
1385done
1386if test -z "$ac_aux_dir"; then
1387 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1388echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1389 { (exit 1); exit 1; }; }
1390fi
1391ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1392ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1393ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1394
96b8a615
AJ
1395# Make sure we can run config.sub.
1396$ac_config_sub sun4 >/dev/null 2>&1 ||
1397 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1398echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1399 { (exit 1); exit 1; }; }
1400
1401echo "$as_me:$LINENO: checking build system type" >&5
1402echo $ECHO_N "checking build system type... $ECHO_C" >&6
1403if test "${ac_cv_build+set}" = set; then
1404 echo $ECHO_N "(cached) $ECHO_C" >&6
1405else
1406 ac_cv_build_alias=$build_alias
1407test -z "$ac_cv_build_alias" &&
1408 ac_cv_build_alias=`$ac_config_guess`
1409test -z "$ac_cv_build_alias" &&
1410 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1411echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1412 { (exit 1); exit 1; }; }
1413ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1414 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1415echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1416 { (exit 1); exit 1; }; }
1417
1418fi
1419echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1420echo "${ECHO_T}$ac_cv_build" >&6
1421build=$ac_cv_build
1422build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1423build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1424build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1425
1426
1427echo "$as_me:$LINENO: checking host system type" >&5
1428echo $ECHO_N "checking host system type... $ECHO_C" >&6
1429if test "${ac_cv_host+set}" = set; then
1430 echo $ECHO_N "(cached) $ECHO_C" >&6
1431else
1432 ac_cv_host_alias=$host_alias
1433test -z "$ac_cv_host_alias" &&
1434 ac_cv_host_alias=$ac_cv_build_alias
1435ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1436 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1437echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1438 { (exit 1); exit 1; }; }
1439
1440fi
1441echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1442echo "${ECHO_T}$ac_cv_host" >&6
1443host=$ac_cv_host
1444host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1445host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1446host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1447
1448
1449echo "$as_me:$LINENO: checking target system type" >&5
1450echo $ECHO_N "checking target system type... $ECHO_C" >&6
1451if test "${ac_cv_target+set}" = set; then
1452 echo $ECHO_N "(cached) $ECHO_C" >&6
1453else
1454 ac_cv_target_alias=$target_alias
1455test "x$ac_cv_target_alias" = "x" &&
1456 ac_cv_target_alias=$ac_cv_host_alias
1457ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1458 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1459echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1460 { (exit 1); exit 1; }; }
1461
1462fi
1463echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1464echo "${ECHO_T}$ac_cv_target" >&6
1465target=$ac_cv_target
1466target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1467target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1468target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1469
1470
1471# The aliases save the names the user supplied, while $host etc.
1472# will get canonicalized.
1473test -n "$target_alias" &&
1474 test "$program_prefix$program_suffix$program_transform_name" = \
1475 NONENONEs,x,x, &&
1476 program_prefix=${target_alias}-
1477target_alias=${target_alias-$host_alias}
1478
1479# Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1480# following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1481# 1.8.2: minimum required version
1482# no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1483# of other PACKAGE_* variables will, however, and there's nothing
1484# we can do about that; they come from AC_INIT).
1485# foreign: we don't follow the normal rules for GNU packages (no COPYING
1486# file in the top srcdir, etc, etc), so stop complaining.
1487# no-dependencies: turns off auto dependency generation (just for now)
1488# -Wall: turns on all automake warnings...
1489# -Wno-portability: ...except this one, since GNU make is required.
d49ec2d1 1490am__api_version="1.9"
6de9cd9a
DN
1491# Find a good install program. We prefer a C program (faster),
1492# so one script is as good as another. But avoid the broken or
1493# incompatible versions:
1494# SysV /etc/install, /usr/sbin/install
1495# SunOS /usr/etc/install
1496# IRIX /sbin/install
1497# AIX /bin/install
1498# AmigaOS /C/install, which installs bootblocks on floppy discs
1499# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1500# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1501# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1502# OS/2's system install, which has a completely different semantic
1503# ./install, which can be erroneously created by make from ./install.sh.
1504echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1505echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1506if test -z "$INSTALL"; then
1507if test "${ac_cv_path_install+set}" = set; then
1508 echo $ECHO_N "(cached) $ECHO_C" >&6
1509else
1510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1511for as_dir in $PATH
1512do
1513 IFS=$as_save_IFS
1514 test -z "$as_dir" && as_dir=.
1515 # Account for people who put trailing slashes in PATH elements.
1516case $as_dir/ in
1517 ./ | .// | /cC/* | \
1518 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1519 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1520 /usr/ucb/* ) ;;
1521 *)
1522 # OSF1 and SCO ODT 3.0 have their own names for install.
1523 # Don't use installbsd from OSF since it installs stuff as root
1524 # by default.
1525 for ac_prog in ginstall scoinst install; do
1526 for ac_exec_ext in '' $ac_executable_extensions; do
1527 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1528 if test $ac_prog = install &&
1529 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1530 # AIX install. It has an incompatible calling convention.
1531 :
1532 elif test $ac_prog = install &&
1533 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1534 # program-specific install script used by HP pwplus--don't use.
1535 :
1536 else
1537 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1538 break 3
1539 fi
1540 fi
1541 done
1542 done
1543 ;;
1544esac
1545done
1546
1547
1548fi
1549 if test "${ac_cv_path_install+set}" = set; then
1550 INSTALL=$ac_cv_path_install
1551 else
1552 # As a last resort, use the slow shell script. We don't cache a
1553 # path for INSTALL within a source directory, because that will
1554 # break other packages using the cache if that directory is
1555 # removed, or if the path is relative.
1556 INSTALL=$ac_install_sh
1557 fi
1558fi
1559echo "$as_me:$LINENO: result: $INSTALL" >&5
1560echo "${ECHO_T}$INSTALL" >&6
1561
1562# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1563# It thinks the first close brace ends the variable substitution.
1564test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1565
1566test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1567
1568test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1569
1570echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1571echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1572# Just in case
1573sleep 1
1574echo timestamp > conftest.file
1575# Do `set' in a subshell so we don't clobber the current shell's
1576# arguments. Must try -L first in case configure is actually a
1577# symlink; some systems play weird games with the mod time of symlinks
1578# (eg FreeBSD returns the mod time of the symlink's containing
1579# directory).
1580if (
1581 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1582 if test "$*" = "X"; then
1583 # -L didn't work.
1584 set X `ls -t $srcdir/configure conftest.file`
1585 fi
1586 rm -f conftest.file
1587 if test "$*" != "X $srcdir/configure conftest.file" \
1588 && test "$*" != "X conftest.file $srcdir/configure"; then
1589
1590 # If neither matched, then we have a broken ls. This can happen
1591 # if, for instance, CONFIG_SHELL is bash and it inherits a
1592 # broken ls alias from the environment. This has actually
1593 # happened. Such a system could not be considered "sane".
1594 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1595alias in your environment" >&5
1596echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1597alias in your environment" >&2;}
1598 { (exit 1); exit 1; }; }
1599 fi
1600
1601 test "$2" = conftest.file
1602 )
1603then
1604 # Ok.
1605 :
1606else
1607 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1608Check your system clock" >&5
1609echo "$as_me: error: newly created file is older than distributed files!
1610Check your system clock" >&2;}
1611 { (exit 1); exit 1; }; }
1612fi
1613echo "$as_me:$LINENO: result: yes" >&5
1614echo "${ECHO_T}yes" >&6
1615test "$program_prefix" != NONE &&
1616 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1617# Use a double $ so make ignores it.
1618test "$program_suffix" != NONE &&
1619 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1620# Double any \ or $. echo might interpret backslashes.
1621# By default was `s,x,x', remove it if useless.
1622cat <<\_ACEOF >conftest.sed
1623s/[\\$]/&&/g;s/;s,x,x,$//
1624_ACEOF
1625program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1626rm conftest.sed
1627
1628# expand $ac_aux_dir to an absolute path
1629am_aux_dir=`cd $ac_aux_dir && pwd`
1630
1631test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1632# Use eval to expand $SHELL
1633if eval "$MISSING --run true"; then
1634 am_missing_run="$MISSING --run "
1635else
1636 am_missing_run=
1637 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1638echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1639fi
1640
c9e66eda 1641if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
d49ec2d1
KC
1642 # We used to keeping the `.' as first argument, in order to
1643 # allow $(mkdir_p) to be used without argument. As in
6de9cd9a 1644 # $(mkdir_p) $(somedir)
d49ec2d1
KC
1645 # where $(somedir) is conditionally defined. However this is wrong
1646 # for two reasons:
1647 # 1. if the package is installed by a user who cannot write `.'
1648 # make install will fail,
1649 # 2. the above comment should most certainly read
1650 # $(mkdir_p) $(DESTDIR)$(somedir)
1651 # so it does not work when $(somedir) is undefined and
1652 # $(DESTDIR) is not.
1653 # To support the latter case, we have to write
1654 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1655 # so the `.' trick is pointless.
1656 mkdir_p='mkdir -p --'
6de9cd9a
DN
1657else
1658 # On NextStep and OpenStep, the `mkdir' command does not
1659 # recognize any option. It will interpret all options as
1660 # directories to create, and then abort because `.' already
1661 # exists.
c9e66eda 1662 for d in ./-p ./--version;
6de9cd9a
DN
1663 do
1664 test -d $d && rmdir $d
1665 done
1666 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1667 if test -f "$ac_aux_dir/mkinstalldirs"; then
1668 mkdir_p='$(mkinstalldirs)'
1669 else
1670 mkdir_p='$(install_sh) -d'
1671 fi
1672fi
1673
1674for ac_prog in gawk mawk nawk awk
1675do
1676 # Extract the first word of "$ac_prog", so it can be a program name with args.
1677set dummy $ac_prog; ac_word=$2
1678echo "$as_me:$LINENO: checking for $ac_word" >&5
1679echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1680if test "${ac_cv_prog_AWK+set}" = set; then
1681 echo $ECHO_N "(cached) $ECHO_C" >&6
1682else
1683 if test -n "$AWK"; then
1684 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1685else
1686as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1687for as_dir in $PATH
1688do
1689 IFS=$as_save_IFS
1690 test -z "$as_dir" && as_dir=.
1691 for ac_exec_ext in '' $ac_executable_extensions; do
1692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1693 ac_cv_prog_AWK="$ac_prog"
1694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1695 break 2
1696 fi
1697done
1698done
1699
1700fi
1701fi
1702AWK=$ac_cv_prog_AWK
1703if test -n "$AWK"; then
1704 echo "$as_me:$LINENO: result: $AWK" >&5
1705echo "${ECHO_T}$AWK" >&6
1706else
1707 echo "$as_me:$LINENO: result: no" >&5
1708echo "${ECHO_T}no" >&6
1709fi
1710
1711 test -n "$AWK" && break
1712done
1713
1714echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1715echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1716set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1717if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1718 echo $ECHO_N "(cached) $ECHO_C" >&6
1719else
1720 cat >conftest.make <<\_ACEOF
1721all:
1722 @echo 'ac_maketemp="$(MAKE)"'
1723_ACEOF
1724# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1725eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1726if test -n "$ac_maketemp"; then
1727 eval ac_cv_prog_make_${ac_make}_set=yes
1728else
1729 eval ac_cv_prog_make_${ac_make}_set=no
1730fi
1731rm -f conftest.make
1732fi
1733if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1734 echo "$as_me:$LINENO: result: yes" >&5
1735echo "${ECHO_T}yes" >&6
1736 SET_MAKE=
1737else
1738 echo "$as_me:$LINENO: result: no" >&5
1739echo "${ECHO_T}no" >&6
1740 SET_MAKE="MAKE=${MAKE-make}"
1741fi
1742
1743rm -rf .tst 2>/dev/null
1744mkdir .tst 2>/dev/null
1745if test -d .tst; then
1746 am__leading_dot=.
1747else
1748 am__leading_dot=_
1749fi
1750rmdir .tst 2>/dev/null
1751
1752# test to see if srcdir already configured
1753if test "`cd $srcdir && pwd`" != "`pwd`" &&
1754 test -f $srcdir/config.status; then
1755 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1756echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1757 { (exit 1); exit 1; }; }
1758fi
1759
1760# test whether we have cygpath
1761if test -z "$CYGPATH_W"; then
1762 if (cygpath --version) >/dev/null 2>/dev/null; then
1763 CYGPATH_W='cygpath -w'
1764 else
1765 CYGPATH_W=echo
1766 fi
1767fi
1768
1769
1770# Define the identity of the package.
1771 PACKAGE='libgfortran'
1772 VERSION='0.2'
1773
1774
6de9cd9a
DN
1775# Some tools Automake needs.
1776
1777ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1778
1779
1780AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1781
1782
1783AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1784
1785
1786AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1787
1788
1789MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1790
6de9cd9a
DN
1791install_sh=${install_sh-"$am_aux_dir/install-sh"}
1792
1793# Installed binaries are usually stripped using `strip' when the user
1794# run `make install-strip'. However `strip' might not be the right
1795# tool to use in cross-compilation environments, therefore Automake
1796# will honor the `STRIP' environment variable to overrule this program.
1797if test "$cross_compiling" != no; then
1798 if test -n "$ac_tool_prefix"; then
1799 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1800set dummy ${ac_tool_prefix}strip; ac_word=$2
1801echo "$as_me:$LINENO: checking for $ac_word" >&5
1802echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1803if test "${ac_cv_prog_STRIP+set}" = set; then
1804 echo $ECHO_N "(cached) $ECHO_C" >&6
1805else
1806 if test -n "$STRIP"; then
1807 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1808else
1809as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1810for as_dir in $PATH
1811do
1812 IFS=$as_save_IFS
1813 test -z "$as_dir" && as_dir=.
1814 for ac_exec_ext in '' $ac_executable_extensions; do
1815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1816 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1818 break 2
1819 fi
1820done
1821done
1822
1823fi
1824fi
1825STRIP=$ac_cv_prog_STRIP
1826if test -n "$STRIP"; then
1827 echo "$as_me:$LINENO: result: $STRIP" >&5
1828echo "${ECHO_T}$STRIP" >&6
1829else
1830 echo "$as_me:$LINENO: result: no" >&5
1831echo "${ECHO_T}no" >&6
1832fi
1833
1834fi
1835if test -z "$ac_cv_prog_STRIP"; then
1836 ac_ct_STRIP=$STRIP
1837 # Extract the first word of "strip", so it can be a program name with args.
1838set dummy strip; ac_word=$2
1839echo "$as_me:$LINENO: checking for $ac_word" >&5
1840echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1841if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1842 echo $ECHO_N "(cached) $ECHO_C" >&6
1843else
1844 if test -n "$ac_ct_STRIP"; then
1845 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1846else
1847as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1848for as_dir in $PATH
1849do
1850 IFS=$as_save_IFS
1851 test -z "$as_dir" && as_dir=.
1852 for ac_exec_ext in '' $ac_executable_extensions; do
1853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1854 ac_cv_prog_ac_ct_STRIP="strip"
1855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1856 break 2
1857 fi
1858done
1859done
1860
1861 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1862fi
1863fi
1864ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1865if test -n "$ac_ct_STRIP"; then
1866 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1867echo "${ECHO_T}$ac_ct_STRIP" >&6
1868else
1869 echo "$as_me:$LINENO: result: no" >&5
1870echo "${ECHO_T}no" >&6
1871fi
1872
1873 STRIP=$ac_ct_STRIP
1874else
1875 STRIP="$ac_cv_prog_STRIP"
1876fi
1877
1878fi
1879INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1880
1881# We need awk for the "check" target. The system "awk" is bad on
1882# some platforms.
d49ec2d1
KC
1883# Always define AMTAR for backward compatibility.
1884
1885AMTAR=${AMTAR-"${am_missing_run}tar"}
1886
1887am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1888
1889
6de9cd9a
DN
1890
1891
1892
6de9cd9a
DN
1893
1894echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1895echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1896 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1897if test "${enable_maintainer_mode+set}" = set; then
1898 enableval="$enable_maintainer_mode"
1899 USE_MAINTAINER_MODE=$enableval
1900else
1901 USE_MAINTAINER_MODE=no
1902fi;
1903 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1904echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1905
1906
1907if test $USE_MAINTAINER_MODE = yes; then
1908 MAINTAINER_MODE_TRUE=
1909 MAINTAINER_MODE_FALSE='#'
1910else
1911 MAINTAINER_MODE_TRUE='#'
1912 MAINTAINER_MODE_FALSE=
1913fi
1914
1915 MAINT=$MAINTAINER_MODE_TRUE
1916
1917
96b8a615
AJ
1918# Default to --enable-multilib
1919# Check whether --enable-multilib or --disable-multilib was given.
1920if test "${enable_multilib+set}" = set; then
1921 enableval="$enable_multilib"
1922 case "$enableval" in
1923 yes) multilib=yes ;;
1924 no) multilib=no ;;
1925 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1926echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1927 { (exit 1); exit 1; }; } ;;
1928 esac
1929else
1930 multilib=yes
1931fi;
1932
1933# We may get other options which we leave undocumented:
1934# --with-target-subdir, --with-multisrctop, --with-multisubdir
1935# See config-ml.in if you want the gory details.
1936
1937if test "$srcdir" = "."; then
1938 if test "$with_target_subdir" != "."; then
1939 multi_basedir="$srcdir/$with_multisrctop../.."
1940 else
1941 multi_basedir="$srcdir/$with_multisrctop.."
1942 fi
1943else
1944 multi_basedir="$srcdir/.."
1945fi
1946
1947
1948 ac_config_commands="$ac_config_commands default-1"
1949
1950
1951# Handy for debugging:
1952#AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1953
1954# Are we being configured with some form of cross compiler?
1955# NB: We don't actually need to know this just now, but when, say, a test
1956# suite is included, we'll have to know.
1957if test "$build" != "$host"; then
1958 LIBGFOR_IS_NATIVE=false
f02d008e 1959
96b8a615
AJ
1960else
1961 LIBGFOR_IS_NATIVE=true
1962fi
1963
96b8a615
AJ
1964# Calculate toolexeclibdir
1965# Also toolexecdir, though it's only used in toolexeclibdir
1966case ${version_specific_libs} in
1967 yes)
1968 # Need the gcc compiler version to know where to install libraries
1969 # and header files if --enable-version-specific-runtime-libs option
1970 # is selected.
1971 toolexecdir='$(libdir)/gcc/$(target_alias)'
140e859c 1972 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
96b8a615
AJ
1973 ;;
1974 no)
1975 if test -n "$with_cross_host" &&
1976 test x"$with_cross_host" != x"no"; then
1977 # Install a library built with a cross compiler in tooldir, not libdir.
1978 toolexecdir='$(exec_prefix)/$(target_alias)'
1979 toolexeclibdir='$(toolexecdir)/lib'
1980 else
1981 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
1982 toolexeclibdir='$(libdir)'
1983 fi
1984 multi_os_directory=`$CC -print-multi-os-directory`
1985 case $multi_os_directory in
1986 .) ;; # Avoid trailing /.
1987 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
1988 esac
1989 ;;
1990esac
1991
1992
6de9cd9a 1993
96b8a615
AJ
1994# Check the compiler.
1995# The same as in boehm-gc and libstdc++. Have to borrow it from there.
1996# We must force CC to /not/ be precious variables; otherwise
1997# the wrong, non-multilib-adjusted value will be used in multilibs.
1998# As a side effect, we have to subst CFLAGS ourselves.
6de9cd9a
DN
1999
2000
2001
6de9cd9a
DN
2002ac_ext=c
2003ac_cpp='$CPP $CPPFLAGS'
2004ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2005ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2006ac_compiler_gnu=$ac_cv_c_compiler_gnu
2007if test -n "$ac_tool_prefix"; then
2008 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2009set dummy ${ac_tool_prefix}gcc; ac_word=$2
2010echo "$as_me:$LINENO: checking for $ac_word" >&5
2011echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2012if test "${ac_cv_prog_CC+set}" = set; then
2013 echo $ECHO_N "(cached) $ECHO_C" >&6
2014else
2015 if test -n "$CC"; then
2016 ac_cv_prog_CC="$CC" # Let the user override the test.
2017else
2018as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2019for as_dir in $PATH
2020do
2021 IFS=$as_save_IFS
2022 test -z "$as_dir" && as_dir=.
2023 for ac_exec_ext in '' $ac_executable_extensions; do
2024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2025 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2027 break 2
2028 fi
2029done
2030done
2031
2032fi
2033fi
2034CC=$ac_cv_prog_CC
2035if test -n "$CC"; then
2036 echo "$as_me:$LINENO: result: $CC" >&5
2037echo "${ECHO_T}$CC" >&6
2038else
2039 echo "$as_me:$LINENO: result: no" >&5
2040echo "${ECHO_T}no" >&6
2041fi
2042
2043fi
2044if test -z "$ac_cv_prog_CC"; then
2045 ac_ct_CC=$CC
2046 # Extract the first word of "gcc", so it can be a program name with args.
2047set dummy gcc; ac_word=$2
2048echo "$as_me:$LINENO: checking for $ac_word" >&5
2049echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2050if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2051 echo $ECHO_N "(cached) $ECHO_C" >&6
2052else
2053 if test -n "$ac_ct_CC"; then
2054 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2055else
2056as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2057for as_dir in $PATH
2058do
2059 IFS=$as_save_IFS
2060 test -z "$as_dir" && as_dir=.
2061 for ac_exec_ext in '' $ac_executable_extensions; do
2062 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2063 ac_cv_prog_ac_ct_CC="gcc"
2064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2065 break 2
2066 fi
2067done
2068done
2069
2070fi
2071fi
2072ac_ct_CC=$ac_cv_prog_ac_ct_CC
2073if test -n "$ac_ct_CC"; then
2074 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2075echo "${ECHO_T}$ac_ct_CC" >&6
2076else
2077 echo "$as_me:$LINENO: result: no" >&5
2078echo "${ECHO_T}no" >&6
2079fi
2080
2081 CC=$ac_ct_CC
2082else
2083 CC="$ac_cv_prog_CC"
2084fi
2085
2086if test -z "$CC"; then
2087 if test -n "$ac_tool_prefix"; then
2088 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2089set dummy ${ac_tool_prefix}cc; ac_word=$2
2090echo "$as_me:$LINENO: checking for $ac_word" >&5
2091echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2092if test "${ac_cv_prog_CC+set}" = set; then
2093 echo $ECHO_N "(cached) $ECHO_C" >&6
2094else
2095 if test -n "$CC"; then
2096 ac_cv_prog_CC="$CC" # Let the user override the test.
2097else
2098as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2099for as_dir in $PATH
2100do
2101 IFS=$as_save_IFS
2102 test -z "$as_dir" && as_dir=.
2103 for ac_exec_ext in '' $ac_executable_extensions; do
2104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2105 ac_cv_prog_CC="${ac_tool_prefix}cc"
2106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2107 break 2
2108 fi
2109done
2110done
2111
2112fi
2113fi
2114CC=$ac_cv_prog_CC
2115if test -n "$CC"; then
2116 echo "$as_me:$LINENO: result: $CC" >&5
2117echo "${ECHO_T}$CC" >&6
2118else
2119 echo "$as_me:$LINENO: result: no" >&5
2120echo "${ECHO_T}no" >&6
2121fi
2122
2123fi
2124if test -z "$ac_cv_prog_CC"; then
2125 ac_ct_CC=$CC
2126 # Extract the first word of "cc", so it can be a program name with args.
2127set dummy cc; ac_word=$2
2128echo "$as_me:$LINENO: checking for $ac_word" >&5
2129echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2130if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2132else
2133 if test -n "$ac_ct_CC"; then
2134 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2135else
2136as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2137for as_dir in $PATH
2138do
2139 IFS=$as_save_IFS
2140 test -z "$as_dir" && as_dir=.
2141 for ac_exec_ext in '' $ac_executable_extensions; do
2142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2143 ac_cv_prog_ac_ct_CC="cc"
2144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2145 break 2
2146 fi
2147done
2148done
2149
2150fi
2151fi
2152ac_ct_CC=$ac_cv_prog_ac_ct_CC
2153if test -n "$ac_ct_CC"; then
2154 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2155echo "${ECHO_T}$ac_ct_CC" >&6
2156else
2157 echo "$as_me:$LINENO: result: no" >&5
2158echo "${ECHO_T}no" >&6
2159fi
2160
2161 CC=$ac_ct_CC
2162else
2163 CC="$ac_cv_prog_CC"
2164fi
2165
2166fi
2167if test -z "$CC"; then
2168 # Extract the first word of "cc", so it can be a program name with args.
2169set dummy cc; ac_word=$2
2170echo "$as_me:$LINENO: checking for $ac_word" >&5
2171echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2172if test "${ac_cv_prog_CC+set}" = set; then
2173 echo $ECHO_N "(cached) $ECHO_C" >&6
2174else
2175 if test -n "$CC"; then
2176 ac_cv_prog_CC="$CC" # Let the user override the test.
2177else
2178 ac_prog_rejected=no
2179as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2180for as_dir in $PATH
2181do
2182 IFS=$as_save_IFS
2183 test -z "$as_dir" && as_dir=.
2184 for ac_exec_ext in '' $ac_executable_extensions; do
2185 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2186 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2187 ac_prog_rejected=yes
2188 continue
2189 fi
2190 ac_cv_prog_CC="cc"
2191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2192 break 2
2193 fi
2194done
2195done
2196
2197if test $ac_prog_rejected = yes; then
2198 # We found a bogon in the path, so make sure we never use it.
2199 set dummy $ac_cv_prog_CC
2200 shift
2201 if test $# != 0; then
2202 # We chose a different compiler from the bogus one.
2203 # However, it has the same basename, so the bogon will be chosen
2204 # first if we set CC to just the basename; use the full file name.
2205 shift
2206 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2207 fi
2208fi
2209fi
2210fi
2211CC=$ac_cv_prog_CC
2212if test -n "$CC"; then
2213 echo "$as_me:$LINENO: result: $CC" >&5
2214echo "${ECHO_T}$CC" >&6
2215else
2216 echo "$as_me:$LINENO: result: no" >&5
2217echo "${ECHO_T}no" >&6
2218fi
2219
2220fi
2221if test -z "$CC"; then
2222 if test -n "$ac_tool_prefix"; then
2223 for ac_prog in cl
2224 do
2225 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2226set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2227echo "$as_me:$LINENO: checking for $ac_word" >&5
2228echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2229if test "${ac_cv_prog_CC+set}" = set; then
2230 echo $ECHO_N "(cached) $ECHO_C" >&6
2231else
2232 if test -n "$CC"; then
2233 ac_cv_prog_CC="$CC" # Let the user override the test.
2234else
2235as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2236for as_dir in $PATH
2237do
2238 IFS=$as_save_IFS
2239 test -z "$as_dir" && as_dir=.
2240 for ac_exec_ext in '' $ac_executable_extensions; do
2241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2242 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2244 break 2
2245 fi
2246done
2247done
2248
2249fi
2250fi
2251CC=$ac_cv_prog_CC
2252if test -n "$CC"; then
2253 echo "$as_me:$LINENO: result: $CC" >&5
2254echo "${ECHO_T}$CC" >&6
2255else
2256 echo "$as_me:$LINENO: result: no" >&5
2257echo "${ECHO_T}no" >&6
2258fi
2259
2260 test -n "$CC" && break
2261 done
2262fi
2263if test -z "$CC"; then
2264 ac_ct_CC=$CC
2265 for ac_prog in cl
2266do
2267 # Extract the first word of "$ac_prog", so it can be a program name with args.
2268set dummy $ac_prog; ac_word=$2
2269echo "$as_me:$LINENO: checking for $ac_word" >&5
2270echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2271if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2272 echo $ECHO_N "(cached) $ECHO_C" >&6
2273else
2274 if test -n "$ac_ct_CC"; then
2275 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2276else
2277as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2278for as_dir in $PATH
2279do
2280 IFS=$as_save_IFS
2281 test -z "$as_dir" && as_dir=.
2282 for ac_exec_ext in '' $ac_executable_extensions; do
2283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2284 ac_cv_prog_ac_ct_CC="$ac_prog"
2285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2286 break 2
2287 fi
2288done
2289done
2290
2291fi
2292fi
2293ac_ct_CC=$ac_cv_prog_ac_ct_CC
2294if test -n "$ac_ct_CC"; then
2295 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2296echo "${ECHO_T}$ac_ct_CC" >&6
2297else
2298 echo "$as_me:$LINENO: result: no" >&5
2299echo "${ECHO_T}no" >&6
2300fi
2301
2302 test -n "$ac_ct_CC" && break
2303done
2304
2305 CC=$ac_ct_CC
2306fi
2307
2308fi
2309
2310
2311test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2312See \`config.log' for more details." >&5
2313echo "$as_me: error: no acceptable C compiler found in \$PATH
2314See \`config.log' for more details." >&2;}
2315 { (exit 1); exit 1; }; }
2316
2317# Provide some information about the compiler.
2318echo "$as_me:$LINENO:" \
2319 "checking for C compiler version" >&5
2320ac_compiler=`set X $ac_compile; echo $2`
2321{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2322 (eval $ac_compiler --version </dev/null >&5) 2>&5
2323 ac_status=$?
2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 (exit $ac_status); }
2326{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2327 (eval $ac_compiler -v </dev/null >&5) 2>&5
2328 ac_status=$?
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); }
2331{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2332 (eval $ac_compiler -V </dev/null >&5) 2>&5
2333 ac_status=$?
2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2335 (exit $ac_status); }
2336
2337cat >conftest.$ac_ext <<_ACEOF
2338/* confdefs.h. */
2339_ACEOF
2340cat confdefs.h >>conftest.$ac_ext
2341cat >>conftest.$ac_ext <<_ACEOF
2342/* end confdefs.h. */
2343
f02d008e
JD
2344int
2345main ()
2346{
2347
2348 ;
2349 return 0;
2350}
2351_ACEOF
2352# FIXME: Cleanup?
2353if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2354 (eval $ac_link) 2>&5
2355 ac_status=$?
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }; then
2358 gcc_no_link=no
2359else
2360 gcc_no_link=yes
2361fi
2362
2363if test x$gcc_no_link = xyes; then
2364 # Setting cross_compile will disable run tests; it will
2365 # also disable AC_CHECK_FILE but that's generally
2366 # correct if we can't link.
2367 cross_compiling=yes
2368 EXEEXT=
2369else
2370 cat >conftest.$ac_ext <<_ACEOF
2371/* confdefs.h. */
2372_ACEOF
2373cat confdefs.h >>conftest.$ac_ext
2374cat >>conftest.$ac_ext <<_ACEOF
2375/* end confdefs.h. */
2376
6de9cd9a
DN
2377int
2378main ()
2379{
2380
2381 ;
2382 return 0;
2383}
2384_ACEOF
2385ac_clean_files_save=$ac_clean_files
2386ac_clean_files="$ac_clean_files a.out a.exe b.out"
2387# Try to create an executable without -o first, disregard a.out.
2388# It will help us diagnose broken compilers, and finding out an intuition
2389# of exeext.
2390echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2391echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2392ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2393if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2394 (eval $ac_link_default) 2>&5
2395 ac_status=$?
2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397 (exit $ac_status); }; then
2398 # Find the output, starting from the most likely. This scheme is
2399# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2400# resort.
2401
2402# Be careful to initialize this variable, since it used to be cached.
2403# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2404ac_cv_exeext=
2405# b.out is created by i960 compilers.
2406for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2407do
2408 test -f "$ac_file" || continue
2409 case $ac_file in
2410 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2411 ;;
2412 conftest.$ac_ext )
2413 # This is the source file.
2414 ;;
2415 [ab].out )
2416 # We found the default executable, but exeext='' is most
2417 # certainly right.
2418 break;;
2419 *.* )
2420 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2421 # FIXME: I believe we export ac_cv_exeext for Libtool,
2422 # but it would be cool to find out if it's true. Does anybody
2423 # maintain Libtool? --akim.
2424 export ac_cv_exeext
2425 break;;
2426 * )
2427 break;;
2428 esac
2429done
2430else
2431 echo "$as_me: failed program was:" >&5
2432sed 's/^/| /' conftest.$ac_ext >&5
2433
2434{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2435See \`config.log' for more details." >&5
2436echo "$as_me: error: C compiler cannot create executables
2437See \`config.log' for more details." >&2;}
2438 { (exit 77); exit 77; }; }
2439fi
2440
2441ac_exeext=$ac_cv_exeext
2442echo "$as_me:$LINENO: result: $ac_file" >&5
2443echo "${ECHO_T}$ac_file" >&6
2444
2445# Check the compiler produces executables we can run. If not, either
2446# the compiler is broken, or we cross compile.
2447echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2448echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2449# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2450# If not cross compiling, check that we can run a simple program.
2451if test "$cross_compiling" != yes; then
2452 if { ac_try='./$ac_file'
2453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2454 (eval $ac_try) 2>&5
2455 ac_status=$?
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); }; }; then
2458 cross_compiling=no
2459 else
2460 if test "$cross_compiling" = maybe; then
2461 cross_compiling=yes
2462 else
2463 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2464If you meant to cross compile, use \`--host'.
2465See \`config.log' for more details." >&5
2466echo "$as_me: error: cannot run C compiled programs.
2467If you meant to cross compile, use \`--host'.
2468See \`config.log' for more details." >&2;}
2469 { (exit 1); exit 1; }; }
2470 fi
2471 fi
2472fi
2473echo "$as_me:$LINENO: result: yes" >&5
2474echo "${ECHO_T}yes" >&6
2475
2476rm -f a.out a.exe conftest$ac_cv_exeext b.out
2477ac_clean_files=$ac_clean_files_save
2478# Check the compiler produces executables we can run. If not, either
2479# the compiler is broken, or we cross compile.
2480echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2481echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2482echo "$as_me:$LINENO: result: $cross_compiling" >&5
2483echo "${ECHO_T}$cross_compiling" >&6
2484
2485echo "$as_me:$LINENO: checking for suffix of executables" >&5
2486echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2487if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2488 (eval $ac_link) 2>&5
2489 ac_status=$?
2490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491 (exit $ac_status); }; then
2492 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2493# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2494# work properly (i.e., refer to `conftest.exe'), while it won't with
2495# `rm'.
2496for ac_file in conftest.exe conftest conftest.*; do
2497 test -f "$ac_file" || continue
2498 case $ac_file in
2499 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2500 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2501 export ac_cv_exeext
2502 break;;
2503 * ) break;;
2504 esac
2505done
2506else
2507 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2508See \`config.log' for more details." >&5
2509echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2510See \`config.log' for more details." >&2;}
2511 { (exit 1); exit 1; }; }
2512fi
2513
2514rm -f conftest$ac_cv_exeext
2515echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2516echo "${ECHO_T}$ac_cv_exeext" >&6
2517
2518rm -f conftest.$ac_ext
2519EXEEXT=$ac_cv_exeext
2520ac_exeext=$EXEEXT
f02d008e 2521fi
6de9cd9a
DN
2522echo "$as_me:$LINENO: checking for suffix of object files" >&5
2523echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2524if test "${ac_cv_objext+set}" = set; then
2525 echo $ECHO_N "(cached) $ECHO_C" >&6
2526else
2527 cat >conftest.$ac_ext <<_ACEOF
2528/* confdefs.h. */
2529_ACEOF
2530cat confdefs.h >>conftest.$ac_ext
2531cat >>conftest.$ac_ext <<_ACEOF
2532/* end confdefs.h. */
2533
2534int
2535main ()
2536{
2537
2538 ;
2539 return 0;
2540}
2541_ACEOF
2542rm -f conftest.o conftest.obj
2543if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2544 (eval $ac_compile) 2>&5
2545 ac_status=$?
2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); }; then
2548 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2549 case $ac_file in
2550 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2551 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2552 break;;
2553 esac
2554done
2555else
2556 echo "$as_me: failed program was:" >&5
2557sed 's/^/| /' conftest.$ac_ext >&5
2558
2559{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2560See \`config.log' for more details." >&5
2561echo "$as_me: error: cannot compute suffix of object files: cannot compile
2562See \`config.log' for more details." >&2;}
2563 { (exit 1); exit 1; }; }
2564fi
2565
2566rm -f conftest.$ac_cv_objext conftest.$ac_ext
2567fi
2568echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2569echo "${ECHO_T}$ac_cv_objext" >&6
2570OBJEXT=$ac_cv_objext
2571ac_objext=$OBJEXT
2572echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2573echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2574if test "${ac_cv_c_compiler_gnu+set}" = set; then
2575 echo $ECHO_N "(cached) $ECHO_C" >&6
2576else
2577 cat >conftest.$ac_ext <<_ACEOF
2578/* confdefs.h. */
2579_ACEOF
2580cat confdefs.h >>conftest.$ac_ext
2581cat >>conftest.$ac_ext <<_ACEOF
2582/* end confdefs.h. */
2583
2584int
2585main ()
2586{
2587#ifndef __GNUC__
2588 choke me
2589#endif
2590
2591 ;
2592 return 0;
2593}
2594_ACEOF
2595rm -f conftest.$ac_objext
2596if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2597 (eval $ac_compile) 2>conftest.er1
2598 ac_status=$?
2599 grep -v '^ *+' conftest.er1 >conftest.err
2600 rm -f conftest.er1
2601 cat conftest.err >&5
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); } &&
1409cd0b
FXC
2604 { ac_try='test -z "$ac_c_werror_flag"
2605 || test ! -s conftest.err'
6de9cd9a
DN
2606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2607 (eval $ac_try) 2>&5
2608 ac_status=$?
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); }; } &&
2611 { ac_try='test -s conftest.$ac_objext'
2612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2613 (eval $ac_try) 2>&5
2614 ac_status=$?
2615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616 (exit $ac_status); }; }; then
2617 ac_compiler_gnu=yes
2618else
2619 echo "$as_me: failed program was:" >&5
2620sed 's/^/| /' conftest.$ac_ext >&5
2621
2622ac_compiler_gnu=no
2623fi
2624rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2625ac_cv_c_compiler_gnu=$ac_compiler_gnu
2626
2627fi
2628echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2629echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2630GCC=`test $ac_compiler_gnu = yes && echo yes`
2631ac_test_CFLAGS=${CFLAGS+set}
2632ac_save_CFLAGS=$CFLAGS
2633CFLAGS="-g"
2634echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2635echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2636if test "${ac_cv_prog_cc_g+set}" = set; then
2637 echo $ECHO_N "(cached) $ECHO_C" >&6
2638else
2639 cat >conftest.$ac_ext <<_ACEOF
2640/* confdefs.h. */
2641_ACEOF
2642cat confdefs.h >>conftest.$ac_ext
2643cat >>conftest.$ac_ext <<_ACEOF
2644/* end confdefs.h. */
2645
2646int
2647main ()
2648{
2649
2650 ;
2651 return 0;
2652}
2653_ACEOF
2654rm -f conftest.$ac_objext
2655if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2656 (eval $ac_compile) 2>conftest.er1
2657 ac_status=$?
2658 grep -v '^ *+' conftest.er1 >conftest.err
2659 rm -f conftest.er1
2660 cat conftest.err >&5
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); } &&
1409cd0b
FXC
2663 { ac_try='test -z "$ac_c_werror_flag"
2664 || test ! -s conftest.err'
6de9cd9a
DN
2665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2666 (eval $ac_try) 2>&5
2667 ac_status=$?
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); }; } &&
2670 { ac_try='test -s conftest.$ac_objext'
2671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2672 (eval $ac_try) 2>&5
2673 ac_status=$?
2674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2675 (exit $ac_status); }; }; then
2676 ac_cv_prog_cc_g=yes
2677else
2678 echo "$as_me: failed program was:" >&5
2679sed 's/^/| /' conftest.$ac_ext >&5
2680
2681ac_cv_prog_cc_g=no
2682fi
2683rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2684fi
2685echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2686echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2687if test "$ac_test_CFLAGS" = set; then
2688 CFLAGS=$ac_save_CFLAGS
2689elif test $ac_cv_prog_cc_g = yes; then
2690 if test "$GCC" = yes; then
2691 CFLAGS="-g -O2"
2692 else
2693 CFLAGS="-g"
2694 fi
2695else
2696 if test "$GCC" = yes; then
2697 CFLAGS="-O2"
2698 else
2699 CFLAGS=
2700 fi
2701fi
2702echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2703echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2704if test "${ac_cv_prog_cc_stdc+set}" = set; then
2705 echo $ECHO_N "(cached) $ECHO_C" >&6
2706else
2707 ac_cv_prog_cc_stdc=no
2708ac_save_CC=$CC
2709cat >conftest.$ac_ext <<_ACEOF
2710/* confdefs.h. */
2711_ACEOF
2712cat confdefs.h >>conftest.$ac_ext
2713cat >>conftest.$ac_ext <<_ACEOF
2714/* end confdefs.h. */
2715#include <stdarg.h>
2716#include <stdio.h>
2717#include <sys/types.h>
2718#include <sys/stat.h>
2719/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2720struct buf { int x; };
2721FILE * (*rcsopen) (struct buf *, struct stat *, int);
2722static char *e (p, i)
2723 char **p;
2724 int i;
2725{
2726 return p[i];
2727}
2728static char *f (char * (*g) (char **, int), char **p, ...)
2729{
2730 char *s;
2731 va_list v;
2732 va_start (v,p);
2733 s = g (p, va_arg (v,int));
2734 va_end (v);
2735 return s;
2736}
2737
2738/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2739 function prototypes and stuff, but not '\xHH' hex character constants.
2740 These don't provoke an error unfortunately, instead are silently treated
2741 as 'x'. The following induces an error, until -std1 is added to get
2742 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2743 array size at least. It's necessary to write '\x00'==0 to get something
2744 that's true only with -std1. */
2745int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2746
2747int test (int i, double x);
2748struct s1 {int (*f) (int a);};
2749struct s2 {int (*f) (double a);};
2750int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2751int argc;
2752char **argv;
2753int
2754main ()
2755{
2756return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2757 ;
2758 return 0;
2759}
2760_ACEOF
2761# Don't try gcc -ansi; that turns off useful extensions and
2762# breaks some systems' header files.
2763# AIX -qlanglvl=ansi
2764# Ultrix and OSF/1 -std1
2765# HP-UX 10.20 and later -Ae
2766# HP-UX older versions -Aa -D_HPUX_SOURCE
2767# SVR4 -Xc -D__EXTENSIONS__
2768for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2769do
2770 CC="$ac_save_CC $ac_arg"
2771 rm -f conftest.$ac_objext
2772if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2773 (eval $ac_compile) 2>conftest.er1
2774 ac_status=$?
2775 grep -v '^ *+' conftest.er1 >conftest.err
2776 rm -f conftest.er1
2777 cat conftest.err >&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); } &&
1409cd0b
FXC
2780 { ac_try='test -z "$ac_c_werror_flag"
2781 || test ! -s conftest.err'
6de9cd9a
DN
2782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2783 (eval $ac_try) 2>&5
2784 ac_status=$?
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }; } &&
2787 { ac_try='test -s conftest.$ac_objext'
2788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2789 (eval $ac_try) 2>&5
2790 ac_status=$?
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); }; }; then
2793 ac_cv_prog_cc_stdc=$ac_arg
2794break
2795else
2796 echo "$as_me: failed program was:" >&5
2797sed 's/^/| /' conftest.$ac_ext >&5
2798
2799fi
2800rm -f conftest.err conftest.$ac_objext
2801done
2802rm -f conftest.$ac_ext conftest.$ac_objext
2803CC=$ac_save_CC
2804
2805fi
2806
2807case "x$ac_cv_prog_cc_stdc" in
2808 x|xno)
2809 echo "$as_me:$LINENO: result: none needed" >&5
2810echo "${ECHO_T}none needed" >&6 ;;
2811 *)
2812 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2813echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2814 CC="$CC $ac_cv_prog_cc_stdc" ;;
2815esac
2816
2817# Some people use a C++ compiler to compile C. Since we use `exit',
2818# in C++ we need to declare it. In case someone uses the same compiler
2819# for both compiling C and C++ we need to have the C++ compiler decide
2820# the declaration of exit, since it's the most demanding environment.
2821cat >conftest.$ac_ext <<_ACEOF
2822#ifndef __cplusplus
2823 choke me
2824#endif
2825_ACEOF
2826rm -f conftest.$ac_objext
2827if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2828 (eval $ac_compile) 2>conftest.er1
2829 ac_status=$?
2830 grep -v '^ *+' conftest.er1 >conftest.err
2831 rm -f conftest.er1
2832 cat conftest.err >&5
2833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834 (exit $ac_status); } &&
1409cd0b
FXC
2835 { ac_try='test -z "$ac_c_werror_flag"
2836 || test ! -s conftest.err'
6de9cd9a
DN
2837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2838 (eval $ac_try) 2>&5
2839 ac_status=$?
2840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2841 (exit $ac_status); }; } &&
2842 { ac_try='test -s conftest.$ac_objext'
2843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2844 (eval $ac_try) 2>&5
2845 ac_status=$?
2846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); }; }; then
2848 for ac_declaration in \
2849 '' \
2850 'extern "C" void std::exit (int) throw (); using std::exit;' \
2851 'extern "C" void std::exit (int); using std::exit;' \
2852 'extern "C" void exit (int) throw ();' \
2853 'extern "C" void exit (int);' \
2854 'void exit (int);'
2855do
2856 cat >conftest.$ac_ext <<_ACEOF
2857/* confdefs.h. */
2858_ACEOF
2859cat confdefs.h >>conftest.$ac_ext
2860cat >>conftest.$ac_ext <<_ACEOF
2861/* end confdefs.h. */
2862$ac_declaration
2863#include <stdlib.h>
2864int
2865main ()
2866{
2867exit (42);
2868 ;
2869 return 0;
2870}
2871_ACEOF
2872rm -f conftest.$ac_objext
2873if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2874 (eval $ac_compile) 2>conftest.er1
2875 ac_status=$?
2876 grep -v '^ *+' conftest.er1 >conftest.err
2877 rm -f conftest.er1
2878 cat conftest.err >&5
2879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880 (exit $ac_status); } &&
1409cd0b
FXC
2881 { ac_try='test -z "$ac_c_werror_flag"
2882 || test ! -s conftest.err'
6de9cd9a
DN
2883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2884 (eval $ac_try) 2>&5
2885 ac_status=$?
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); }; } &&
2888 { ac_try='test -s conftest.$ac_objext'
2889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2890 (eval $ac_try) 2>&5
2891 ac_status=$?
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); }; }; then
2894 :
2895else
2896 echo "$as_me: failed program was:" >&5
2897sed 's/^/| /' conftest.$ac_ext >&5
2898
2899continue
2900fi
2901rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2902 cat >conftest.$ac_ext <<_ACEOF
2903/* confdefs.h. */
2904_ACEOF
2905cat confdefs.h >>conftest.$ac_ext
2906cat >>conftest.$ac_ext <<_ACEOF
2907/* end confdefs.h. */
2908$ac_declaration
2909int
2910main ()
2911{
2912exit (42);
2913 ;
2914 return 0;
2915}
2916_ACEOF
2917rm -f conftest.$ac_objext
2918if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2919 (eval $ac_compile) 2>conftest.er1
2920 ac_status=$?
2921 grep -v '^ *+' conftest.er1 >conftest.err
2922 rm -f conftest.er1
2923 cat conftest.err >&5
2924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2925 (exit $ac_status); } &&
1409cd0b
FXC
2926 { ac_try='test -z "$ac_c_werror_flag"
2927 || test ! -s conftest.err'
6de9cd9a
DN
2928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2929 (eval $ac_try) 2>&5
2930 ac_status=$?
2931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932 (exit $ac_status); }; } &&
2933 { ac_try='test -s conftest.$ac_objext'
2934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2935 (eval $ac_try) 2>&5
2936 ac_status=$?
2937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); }; }; then
2939 break
2940else
2941 echo "$as_me: failed program was:" >&5
2942sed 's/^/| /' conftest.$ac_ext >&5
2943
2944fi
2945rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2946done
2947rm -f conftest*
2948if test -n "$ac_declaration"; then
2949 echo '#ifdef __cplusplus' >>confdefs.h
2950 echo $ac_declaration >>confdefs.h
2951 echo '#endif' >>confdefs.h
2952fi
2953
2954else
2955 echo "$as_me: failed program was:" >&5
2956sed 's/^/| /' conftest.$ac_ext >&5
2957
2958fi
2959rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2960ac_ext=c
2961ac_cpp='$CPP $CPPFLAGS'
2962ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2963ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2964ac_compiler_gnu=$ac_cv_c_compiler_gnu
6de9cd9a 2965
6de9cd9a 2966
6de9cd9a 2967
17109ecb 2968# Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
96b8a615 2969if test "x$GCC" = "xyes"; then
17109ecb 2970 AM_FCFLAGS="-Wall -fno-repack-arrays -fno-underscoring"
e606fb39
AJ
2971 ## We like to use C99 routines when available. This makes sure that
2972 ## __STDC_VERSION__ is set such that libc includes make them available.
69a2d125 2973 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
6de9cd9a
DN
2974fi
2975
e606fb39
AJ
2976
2977
96b8a615
AJ
2978# Find other programs we need.
2979if test -n "$ac_tool_prefix"; then
2980 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2981set dummy ${ac_tool_prefix}as; ac_word=$2
2982echo "$as_me:$LINENO: checking for $ac_word" >&5
2983echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2984if test "${ac_cv_prog_AS+set}" = set; then
6de9cd9a
DN
2985 echo $ECHO_N "(cached) $ECHO_C" >&6
2986else
96b8a615
AJ
2987 if test -n "$AS"; then
2988 ac_cv_prog_AS="$AS" # Let the user override the test.
2989else
2990as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2991for as_dir in $PATH
2992do
2993 IFS=$as_save_IFS
2994 test -z "$as_dir" && as_dir=.
2995 for ac_exec_ext in '' $ac_executable_extensions; do
2996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2997 ac_cv_prog_AS="${ac_tool_prefix}as"
2998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2999 break 2
6de9cd9a 3000 fi
96b8a615
AJ
3001done
3002done
6de9cd9a 3003
96b8a615
AJ
3004fi
3005fi
3006AS=$ac_cv_prog_AS
3007if test -n "$AS"; then
3008 echo "$as_me:$LINENO: result: $AS" >&5
3009echo "${ECHO_T}$AS" >&6
6de9cd9a 3010else
96b8a615
AJ
3011 echo "$as_me:$LINENO: result: no" >&5
3012echo "${ECHO_T}no" >&6
6de9cd9a
DN
3013fi
3014
3015fi
96b8a615
AJ
3016if test -z "$ac_cv_prog_AS"; then
3017 ac_ct_AS=$AS
3018 # Extract the first word of "as", so it can be a program name with args.
3019set dummy as; ac_word=$2
3020echo "$as_me:$LINENO: checking for $ac_word" >&5
3021echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3022if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3023 echo $ECHO_N "(cached) $ECHO_C" >&6
3024else
3025 if test -n "$ac_ct_AS"; then
3026 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3027else
3028as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3029for as_dir in $PATH
3030do
3031 IFS=$as_save_IFS
3032 test -z "$as_dir" && as_dir=.
3033 for ac_exec_ext in '' $ac_executable_extensions; do
3034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3035 ac_cv_prog_ac_ct_AS="as"
3036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3037 break 2
3038 fi
3039done
3040done
6de9cd9a 3041
96b8a615
AJ
3042fi
3043fi
3044ac_ct_AS=$ac_cv_prog_ac_ct_AS
3045if test -n "$ac_ct_AS"; then
3046 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3047echo "${ECHO_T}$ac_ct_AS" >&6
6de9cd9a 3048else
96b8a615
AJ
3049 echo "$as_me:$LINENO: result: no" >&5
3050echo "${ECHO_T}no" >&6
6de9cd9a
DN
3051fi
3052
96b8a615
AJ
3053 AS=$ac_ct_AS
3054else
3055 AS="$ac_cv_prog_AS"
6de9cd9a
DN
3056fi
3057
6de9cd9a 3058if test -n "$ac_tool_prefix"; then
96b8a615
AJ
3059 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3060set dummy ${ac_tool_prefix}ar; ac_word=$2
6de9cd9a
DN
3061echo "$as_me:$LINENO: checking for $ac_word" >&5
3062echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
96b8a615 3063if test "${ac_cv_prog_AR+set}" = set; then
6de9cd9a
DN
3064 echo $ECHO_N "(cached) $ECHO_C" >&6
3065else
96b8a615
AJ
3066 if test -n "$AR"; then
3067 ac_cv_prog_AR="$AR" # Let the user override the test.
6de9cd9a
DN
3068else
3069as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3070for as_dir in $PATH
3071do
3072 IFS=$as_save_IFS
3073 test -z "$as_dir" && as_dir=.
3074 for ac_exec_ext in '' $ac_executable_extensions; do
3075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
96b8a615 3076 ac_cv_prog_AR="${ac_tool_prefix}ar"
6de9cd9a
DN
3077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3078 break 2
3079 fi
3080done
3081done
3082
3083fi
3084fi
96b8a615
AJ
3085AR=$ac_cv_prog_AR
3086if test -n "$AR"; then
3087 echo "$as_me:$LINENO: result: $AR" >&5
3088echo "${ECHO_T}$AR" >&6
6de9cd9a
DN
3089else
3090 echo "$as_me:$LINENO: result: no" >&5
3091echo "${ECHO_T}no" >&6
3092fi
3093
6de9cd9a 3094fi
96b8a615
AJ
3095if test -z "$ac_cv_prog_AR"; then
3096 ac_ct_AR=$AR
3097 # Extract the first word of "ar", so it can be a program name with args.
3098set dummy ar; ac_word=$2
6de9cd9a
DN
3099echo "$as_me:$LINENO: checking for $ac_word" >&5
3100echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
96b8a615 3101if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6de9cd9a
DN
3102 echo $ECHO_N "(cached) $ECHO_C" >&6
3103else
96b8a615
AJ
3104 if test -n "$ac_ct_AR"; then
3105 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6de9cd9a
DN
3106else
3107as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3108for as_dir in $PATH
3109do
3110 IFS=$as_save_IFS
3111 test -z "$as_dir" && as_dir=.
3112 for ac_exec_ext in '' $ac_executable_extensions; do
3113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
96b8a615 3114 ac_cv_prog_ac_ct_AR="ar"
6de9cd9a
DN
3115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3116 break 2
3117 fi
3118done
3119done
3120
3121fi
3122fi
96b8a615
AJ
3123ac_ct_AR=$ac_cv_prog_ac_ct_AR
3124if test -n "$ac_ct_AR"; then
3125 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3126echo "${ECHO_T}$ac_ct_AR" >&6
6de9cd9a
DN
3127else
3128 echo "$as_me:$LINENO: result: no" >&5
3129echo "${ECHO_T}no" >&6
3130fi
3131
96b8a615
AJ
3132 AR=$ac_ct_AR
3133else
3134 AR="$ac_cv_prog_AR"
6de9cd9a
DN
3135fi
3136
96b8a615
AJ
3137if test -n "$ac_tool_prefix"; then
3138 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3139set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3140echo "$as_me:$LINENO: checking for $ac_word" >&5
3141echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3142if test "${ac_cv_prog_RANLIB+set}" = set; then
6de9cd9a
DN
3143 echo $ECHO_N "(cached) $ECHO_C" >&6
3144else
96b8a615
AJ
3145 if test -n "$RANLIB"; then
3146 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6de9cd9a 3147else
96b8a615
AJ
3148as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3149for as_dir in $PATH
3150do
3151 IFS=$as_save_IFS
3152 test -z "$as_dir" && as_dir=.
3153 for ac_exec_ext in '' $ac_executable_extensions; do
3154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3155 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3157 break 2
3158 fi
3159done
3160done
6de9cd9a 3161
6de9cd9a 3162fi
96b8a615
AJ
3163fi
3164RANLIB=$ac_cv_prog_RANLIB
3165if test -n "$RANLIB"; then
3166 echo "$as_me:$LINENO: result: $RANLIB" >&5
3167echo "${ECHO_T}$RANLIB" >&6
3168else
3169 echo "$as_me:$LINENO: result: no" >&5
3170echo "${ECHO_T}no" >&6
3171fi
6de9cd9a
DN
3172
3173fi
96b8a615
AJ
3174if test -z "$ac_cv_prog_RANLIB"; then
3175 ac_ct_RANLIB=$RANLIB
3176 # Extract the first word of "ranlib", so it can be a program name with args.
3177set dummy ranlib; ac_word=$2
3178echo "$as_me:$LINENO: checking for $ac_word" >&5
3179echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3180if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6de9cd9a
DN
3181 echo $ECHO_N "(cached) $ECHO_C" >&6
3182else
96b8a615
AJ
3183 if test -n "$ac_ct_RANLIB"; then
3184 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6de9cd9a 3185else
96b8a615
AJ
3186as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3187for as_dir in $PATH
3188do
3189 IFS=$as_save_IFS
3190 test -z "$as_dir" && as_dir=.
3191 for ac_exec_ext in '' $ac_executable_extensions; do
3192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3193 ac_cv_prog_ac_ct_RANLIB="ranlib"
3194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3195 break 2
3196 fi
3197done
3198done
6de9cd9a 3199
96b8a615 3200 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
6de9cd9a 3201fi
6de9cd9a 3202fi
96b8a615
AJ
3203ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3204if test -n "$ac_ct_RANLIB"; then
3205 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3206echo "${ECHO_T}$ac_ct_RANLIB" >&6
6de9cd9a 3207else
96b8a615
AJ
3208 echo "$as_me:$LINENO: result: no" >&5
3209echo "${ECHO_T}no" >&6
6de9cd9a
DN
3210fi
3211
96b8a615
AJ
3212 RANLIB=$ac_ct_RANLIB
3213else
3214 RANLIB="$ac_cv_prog_RANLIB"
6de9cd9a 3215fi
96b8a615
AJ
3216
3217echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3218echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3219set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3220if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
6de9cd9a
DN
3221 echo $ECHO_N "(cached) $ECHO_C" >&6
3222else
96b8a615
AJ
3223 cat >conftest.make <<\_ACEOF
3224all:
3225 @echo 'ac_maketemp="$(MAKE)"'
6de9cd9a 3226_ACEOF
96b8a615
AJ
3227# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3228eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3229if test -n "$ac_maketemp"; then
3230 eval ac_cv_prog_make_${ac_make}_set=yes
6de9cd9a 3231else
96b8a615 3232 eval ac_cv_prog_make_${ac_make}_set=no
6de9cd9a 3233fi
96b8a615
AJ
3234rm -f conftest.make
3235fi
3236if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3237 echo "$as_me:$LINENO: result: yes" >&5
3238echo "${ECHO_T}yes" >&6
3239 SET_MAKE=
6de9cd9a 3240else
96b8a615
AJ
3241 echo "$as_me:$LINENO: result: no" >&5
3242echo "${ECHO_T}no" >&6
3243 SET_MAKE="MAKE=${MAKE-make}"
6de9cd9a 3244fi
6de9cd9a 3245
96b8a615
AJ
3246# Find a good install program. We prefer a C program (faster),
3247# so one script is as good as another. But avoid the broken or
3248# incompatible versions:
3249# SysV /etc/install, /usr/sbin/install
3250# SunOS /usr/etc/install
3251# IRIX /sbin/install
3252# AIX /bin/install
3253# AmigaOS /C/install, which installs bootblocks on floppy discs
3254# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3255# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3256# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3257# OS/2's system install, which has a completely different semantic
3258# ./install, which can be erroneously created by make from ./install.sh.
3259echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3260echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3261if test -z "$INSTALL"; then
3262if test "${ac_cv_path_install+set}" = set; then
3263 echo $ECHO_N "(cached) $ECHO_C" >&6
6de9cd9a 3264else
96b8a615
AJ
3265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3266for as_dir in $PATH
3267do
3268 IFS=$as_save_IFS
3269 test -z "$as_dir" && as_dir=.
3270 # Account for people who put trailing slashes in PATH elements.
3271case $as_dir/ in
3272 ./ | .// | /cC/* | \
3273 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3274 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3275 /usr/ucb/* ) ;;
3276 *)
3277 # OSF1 and SCO ODT 3.0 have their own names for install.
3278 # Don't use installbsd from OSF since it installs stuff as root
3279 # by default.
3280 for ac_prog in ginstall scoinst install; do
3281 for ac_exec_ext in '' $ac_executable_extensions; do
3282 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3283 if test $ac_prog = install &&
3284 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3285 # AIX install. It has an incompatible calling convention.
3286 :
3287 elif test $ac_prog = install &&
3288 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3289 # program-specific install script used by HP pwplus--don't use.
3290 :
3291 else
3292 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3293 break 3
3294 fi
3295 fi
3296 done
3297 done
3298 ;;
3299esac
6de9cd9a 3300done
6de9cd9a 3301
6de9cd9a
DN
3302
3303fi
96b8a615
AJ
3304 if test "${ac_cv_path_install+set}" = set; then
3305 INSTALL=$ac_cv_path_install
6de9cd9a 3306 else
96b8a615
AJ
3307 # As a last resort, use the slow shell script. We don't cache a
3308 # path for INSTALL within a source directory, because that will
3309 # break other packages using the cache if that directory is
3310 # removed, or if the path is relative.
3311 INSTALL=$ac_install_sh
6de9cd9a 3312 fi
6de9cd9a 3313fi
96b8a615
AJ
3314echo "$as_me:$LINENO: result: $INSTALL" >&5
3315echo "${ECHO_T}$INSTALL" >&6
6de9cd9a 3316
96b8a615
AJ
3317# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3318# It thinks the first close brace ends the variable substitution.
3319test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6de9cd9a 3320
96b8a615 3321test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6de9cd9a 3322
96b8a615 3323test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6de9cd9a 3324
6de9cd9a 3325
96b8a615
AJ
3326# Configure libtool
3327#AC_MSG_NOTICE([====== Starting libtool configuration])
6de9cd9a 3328
96b8a615
AJ
3329# Check whether --enable-shared or --disable-shared was given.
3330if test "${enable_shared+set}" = set; then
3331 enableval="$enable_shared"
3332 p=${PACKAGE-default}
3333case $enableval in
3334yes) enable_shared=yes ;;
3335no) enable_shared=no ;;
3336*)
3337 enable_shared=no
3338 # Look at the argument we got. We use all the common list separators.
3339 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3340 for pkg in $enableval; do
3341 if test "X$pkg" = "X$p"; then
3342 enable_shared=yes
6de9cd9a 3343 fi
96b8a615
AJ
3344 done
3345 IFS="$ac_save_ifs"
3346 ;;
3347esac
6de9cd9a 3348else
96b8a615
AJ
3349 enable_shared=yes
3350fi;
3351# Check whether --enable-static or --disable-static was given.
3352if test "${enable_static+set}" = set; then
3353 enableval="$enable_static"
3354 p=${PACKAGE-default}
3355case $enableval in
3356yes) enable_static=yes ;;
3357no) enable_static=no ;;
3358*)
3359 enable_static=no
3360 # Look at the argument we got. We use all the common list separators.
3361 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3362 for pkg in $enableval; do
3363 if test "X$pkg" = "X$p"; then
3364 enable_static=yes
3365 fi
3366 done
3367 IFS="$ac_save_ifs"
3368 ;;
3369esac
3370else
3371 enable_static=yes
3372fi;
3373# Check whether --enable-fast-install or --disable-fast-install was given.
3374if test "${enable_fast_install+set}" = set; then
3375 enableval="$enable_fast_install"
3376 p=${PACKAGE-default}
3377case $enableval in
3378yes) enable_fast_install=yes ;;
3379no) enable_fast_install=no ;;
3380*)
3381 enable_fast_install=no
3382 # Look at the argument we got. We use all the common list separators.
3383 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3384 for pkg in $enableval; do
3385 if test "X$pkg" = "X$p"; then
3386 enable_fast_install=yes
3387 fi
3388 done
3389 IFS="$ac_save_ifs"
3390 ;;
3391esac
3392else
3393 enable_fast_install=yes
3394fi;
6de9cd9a 3395
96b8a615
AJ
3396# Check whether --with-gnu-ld or --without-gnu-ld was given.
3397if test "${with_gnu_ld+set}" = set; then
3398 withval="$with_gnu_ld"
3399 test "$withval" = no || with_gnu_ld=yes
3400else
3401 with_gnu_ld=no
3402fi;
3403ac_prog=ld
3404if test "$GCC" = yes; then
3405 # Check if gcc -print-prog-name=ld gives a path.
3406 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3407echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3408 case $host in
3409 *-*-mingw*)
3410 # gcc leaves a trailing carriage return which upsets mingw
3411 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3412 *)
3413 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3414 esac
3415 case $ac_prog in
3416 # Accept absolute paths.
3417 [\\/]* | [A-Za-z]:[\\/]*)
3418 re_direlt='/[^/][^/]*/\.\./'
3419 # Canonicalize the path of ld
3420 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3421 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3422 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3423 done
3424 test -z "$LD" && LD="$ac_prog"
3425 ;;
3426 "")
3427 # If it fails, then pretend we aren't using GCC.
3428 ac_prog=ld
3429 ;;
3430 *)
3431 # If it is relative, then search for the first ld in PATH.
3432 with_gnu_ld=unknown
3433 ;;
3434 esac
3435elif test "$with_gnu_ld" = yes; then
3436 echo "$as_me:$LINENO: checking for GNU ld" >&5
3437echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3438else
3439 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3440echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3441fi
3442if test "${lt_cv_path_LD+set}" = set; then
3443 echo $ECHO_N "(cached) $ECHO_C" >&6
3444else
3445 if test -z "$LD"; then
3446 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3447 for ac_dir in $PATH; do
3448 test -z "$ac_dir" && ac_dir=.
3449 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3450 lt_cv_path_LD="$ac_dir/$ac_prog"
3451 # Check to see if the program is GNU ld. I'd rather use --version,
3452 # but apparently some GNU ld's only accept -v.
3453 # Break only if it was the GNU/non-GNU ld that we prefer.
3454 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3455 test "$with_gnu_ld" != no && break
3456 else
3457 test "$with_gnu_ld" != yes && break
3458 fi
3459 fi
3460 done
3461 IFS="$ac_save_ifs"
3462else
3463 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3464fi
3465fi
3466
3467LD="$lt_cv_path_LD"
3468if test -n "$LD"; then
3469 echo "$as_me:$LINENO: result: $LD" >&5
3470echo "${ECHO_T}$LD" >&6
3471else
3472 echo "$as_me:$LINENO: result: no" >&5
3473echo "${ECHO_T}no" >&6
3474fi
3475test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3476echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3477 { (exit 1); exit 1; }; }
3478echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3479echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3480if test "${lt_cv_prog_gnu_ld+set}" = set; then
3481 echo $ECHO_N "(cached) $ECHO_C" >&6
3482else
3483 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3484if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3485 lt_cv_prog_gnu_ld=yes
3486else
3487 lt_cv_prog_gnu_ld=no
3488fi
3489fi
3490echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3491echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3492with_gnu_ld=$lt_cv_prog_gnu_ld
3493
3494
3495echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3496echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3497if test "${lt_cv_ld_reload_flag+set}" = set; then
3498 echo $ECHO_N "(cached) $ECHO_C" >&6
3499else
3500 lt_cv_ld_reload_flag='-r'
3501fi
3502echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3503echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3504reload_flag=$lt_cv_ld_reload_flag
3505test -n "$reload_flag" && reload_flag=" $reload_flag"
3506
3507echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3508echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3509if test "${lt_cv_path_NM+set}" = set; then
3510 echo $ECHO_N "(cached) $ECHO_C" >&6
3511else
3512 if test -n "$NM"; then
3513 # Let the user override the test.
3514 lt_cv_path_NM="$NM"
3515else
3516 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3517 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3518 test -z "$ac_dir" && ac_dir=.
3519 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3520 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3521 # Check to see if the nm accepts a BSD-compat flag.
3522 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3523 # nm: unknown option "B" ignored
3524 # Tru64's nm complains that /dev/null is an invalid object file
3525 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3526 lt_cv_path_NM="$tmp_nm -B"
3527 break
3528 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3529 lt_cv_path_NM="$tmp_nm -p"
3530 break
3531 else
3532 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3533 continue # so that we can try to find one that supports BSD flags
3534 fi
3535 fi
3536 done
3537 IFS="$ac_save_ifs"
3538 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3539fi
3540fi
3541
3542NM="$lt_cv_path_NM"
3543echo "$as_me:$LINENO: result: $NM" >&5
3544echo "${ECHO_T}$NM" >&6
3545
3546echo "$as_me:$LINENO: checking whether ln -s works" >&5
3547echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3548LN_S=$as_ln_s
3549if test "$LN_S" = "ln -s"; then
3550 echo "$as_me:$LINENO: result: yes" >&5
3551echo "${ECHO_T}yes" >&6
3552else
3553 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3554echo "${ECHO_T}no, using $LN_S" >&6
3555fi
3556
3557echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3558echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3559if test "${lt_cv_deplibs_check_method+set}" = set; then
3560 echo $ECHO_N "(cached) $ECHO_C" >&6
3561else
3562 lt_cv_file_magic_cmd='$MAGIC_CMD'
3563lt_cv_file_magic_test_file=
3564lt_cv_deplibs_check_method='unknown'
3565# Need to set the preceding variable on all platforms that support
3566# interlibrary dependencies.
3567# 'none' -- dependencies not supported.
3568# `unknown' -- same as none, but documents that we really don't know.
3569# 'pass_all' -- all dependencies passed with no checks.
3570# 'test_compile' -- check by making test program.
3571# 'file_magic [regex]' -- check by looking for files in library path
3572# which responds to the $file_magic_cmd with a given egrep regex.
3573# If you have `file' or equivalent on your system and you're not sure
3574# whether `pass_all' will *always* work, you probably want this one.
3575
3576case $host_os in
3577aix*)
3578 lt_cv_deplibs_check_method=pass_all
3579 ;;
3580
3581beos*)
3582 lt_cv_deplibs_check_method=pass_all
3583 ;;
3584
3585bsdi4*)
3586 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3587 lt_cv_file_magic_cmd='/usr/bin/file -L'
3588 lt_cv_file_magic_test_file=/shlib/libc.so
3589 ;;
3590
3591cygwin* | mingw* |pw32*)
3592 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3593 lt_cv_file_magic_cmd='$OBJDUMP -f'
3594 ;;
3595
3596darwin* | rhapsody*)
3597 # this will be overwritten by pass_all, but leave it in just in case
3598 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3599 lt_cv_file_magic_cmd='/usr/bin/file -L'
3600 case "$host_os" in
3601 rhapsody* | darwin1.012)
3602 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3603 ;;
3604 *) # Darwin 1.3 on
3605 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3606 ;;
3607 esac
3608 lt_cv_deplibs_check_method=pass_all
3609 ;;
3610
3611freebsd* | kfreebsd*-gnu)
3612 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3613 case $host_cpu in
3614 i*86 )
3615 # Not sure whether the presence of OpenBSD here was a mistake.
3616 # Let's accept both of them until this is cleared up.
3617 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3618 lt_cv_file_magic_cmd=/usr/bin/file
3619 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3620 ;;
3621 esac
3622 else
3623 lt_cv_deplibs_check_method=pass_all
3624 fi
3625 ;;
3626
3627gnu*)
3628 lt_cv_deplibs_check_method=pass_all
3629 ;;
3630
3631hpux10.20*|hpux11*)
3632 case $host_cpu in
3633 hppa*)
3634 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3635 lt_cv_file_magic_cmd=/usr/bin/file
3636 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3637 ;;
3638 ia64*)
3639 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3640 lt_cv_file_magic_cmd=/usr/bin/file
3641 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3642 ;;
3643 esac
3644 ;;
3645
3646irix5* | irix6*)
3647 case $host_os in
3648 irix5*)
3649 # this will be overridden with pass_all, but let us keep it just in case
3650 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3651 ;;
3652 *)
3653 case $LD in
3654 *-32|*"-32 ") libmagic=32-bit;;
3655 *-n32|*"-n32 ") libmagic=N32;;
3656 *-64|*"-64 ") libmagic=64-bit;;
3657 *) libmagic=never-match;;
3658 esac
3659 # this will be overridden with pass_all, but let us keep it just in case
3660 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3661 ;;
3662 esac
3663 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3664 lt_cv_deplibs_check_method=pass_all
3665 ;;
3666
3667# This must be Linux ELF.
3668linux-gnu*)
2c92e90f 3669 lt_cv_deplibs_check_method=pass_all
96b8a615
AJ
3670 ;;
3671
3672netbsd* | knetbsd*-gnu)
3673 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3674 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3675 else
3676 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3677 fi
3678 ;;
3679
3680newsos6)
3681 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3682 lt_cv_file_magic_cmd=/usr/bin/file
3683 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3684 ;;
3685
3686osf3* | osf4* | osf5*)
3687 # this will be overridden with pass_all, but let us keep it just in case
3688 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3689 lt_cv_file_magic_test_file=/shlib/libc.so
3690 lt_cv_deplibs_check_method=pass_all
3691 ;;
3692
3693sco3.2v5*)
3694 lt_cv_deplibs_check_method=pass_all
3695 ;;
3696
3697solaris*)
3698 lt_cv_deplibs_check_method=pass_all
3699 lt_cv_file_magic_test_file=/lib/libc.so
3700 ;;
3701
3702sysv5uw[78]* | sysv4*uw2*)
3703 lt_cv_deplibs_check_method=pass_all
3704 ;;
3705
3706sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3707 case $host_vendor in
3708 ncr)
3709 lt_cv_deplibs_check_method=pass_all
3710 ;;
3711 motorola)
3712 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]'
3713 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3714 ;;
3715 esac
3716 ;;
3717esac
3718
3719fi
3720echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3721echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3722file_magic_cmd=$lt_cv_file_magic_cmd
3723deplibs_check_method=$lt_cv_deplibs_check_method
3724
3725
3726
3727
3728
3729# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3730
6dab073b
MS
3731# find the maximum length of command line arguments
3732echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3733echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3734if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3735 echo $ECHO_N "(cached) $ECHO_C" >&6
3736else
3737 i=0
3738 teststring="ABCD"
3739
3740 case $build_os in
3741 msdosdjgpp*)
3742 # On DJGPP, this test can blow up pretty badly due to problems in libc
3743 # (any single argument exceeding 2000 bytes causes a buffer overrun
3744 # during glob expansion). Even if it were fixed, the result of this
3745 # check would be larger than it should be.
3746 lt_cv_sys_max_cmd_len=12288; # 12K is about right
3747 ;;
3748
3749 cygwin* | mingw*)
3750 # On Win9x/ME, this test blows up -- it succeeds, but takes
3751 # about 5 minutes as the teststring grows exponentially.
3752 # Worse, since 9x/ME are not pre-emptively multitasking,
3753 # you end up with a "frozen" computer, even though with patience
3754 # the test eventually succeeds (with a max line length of 256k).
3755 # Instead, let's just punt: use the minimum linelength reported by
3756 # all of the supported platforms: 8192 (on NT/2K/XP).
3757 lt_cv_sys_max_cmd_len=8192;
3758 ;;
3759
3760 amigaos*)
3761 # On AmigaOS with pdksh, this test takes hours, literally.
3762 # So we just punt and use a minimum line length of 8192.
3763 lt_cv_sys_max_cmd_len=8192;
3764 ;;
3765
3766 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3767 # This has been around since 386BSD, at least. Likely further.
3768 if test -x /sbin/sysctl; then
3769 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3770 elif test -x /usr/sbin/sysctl; then
3771 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3772 else
3773 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
3774 fi
3775 # And add a safety zone
3776 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3777 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3778 ;;
3779 esac
3780
3781fi
3782
f4c767fd 3783if test -n "$lt_cv_sys_max_cmd_len" ; then
6dab073b
MS
3784 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3785echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3786else
3787 echo "$as_me:$LINENO: result: none" >&5
3788echo "${ECHO_T}none" >&6
3789fi
3790
3791
96b8a615
AJ
3792# Only perform the check for file, if the check method requires it
3793case $deplibs_check_method in
3794file_magic*)
3795 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3796 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3797echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3798if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3799 echo $ECHO_N "(cached) $ECHO_C" >&6
3800else
3801 case $MAGIC_CMD in
3802 /*)
3803 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3804 ;;
3805 ?:/*)
3806 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3807 ;;
3808 *)
3809 ac_save_MAGIC_CMD="$MAGIC_CMD"
3810 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3811 ac_dummy="/usr/bin:$PATH"
3812 for ac_dir in $ac_dummy; do
3813 test -z "$ac_dir" && ac_dir=.
3814 if test -f $ac_dir/${ac_tool_prefix}file; then
3815 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3816 if test -n "$file_magic_test_file"; then
3817 case $deplibs_check_method in
3818 "file_magic "*)
3819 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3820 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3821 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3822 egrep "$file_magic_regex" > /dev/null; then
3823 :
3824 else
3825 cat <<EOF 1>&2
3826
3827*** Warning: the command libtool uses to detect shared libraries,
3828*** $file_magic_cmd, produces output that libtool cannot recognize.
3829*** The result is that libtool may fail to recognize shared libraries
3830*** as such. This will affect the creation of libtool libraries that
3831*** depend on shared libraries, but programs linked with such libtool
3832*** libraries will work regardless of this problem. Nevertheless, you
3833*** may want to report the problem to your system manager and/or to
3834*** bug-libtool@gnu.org
3835
3836EOF
3837 fi ;;
3838 esac
3839 fi
3840 break
3841 fi
3842 done
3843 IFS="$ac_save_ifs"
3844 MAGIC_CMD="$ac_save_MAGIC_CMD"
3845 ;;
3846esac
3847fi
3848
3849MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3850if test -n "$MAGIC_CMD"; then
3851 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3852echo "${ECHO_T}$MAGIC_CMD" >&6
3853else
3854 echo "$as_me:$LINENO: result: no" >&5
3855echo "${ECHO_T}no" >&6
3856fi
3857
3858if test -z "$lt_cv_path_MAGIC_CMD"; then
3859 if test -n "$ac_tool_prefix"; then
3860 echo "$as_me:$LINENO: checking for file" >&5
3861echo $ECHO_N "checking for file... $ECHO_C" >&6
3862if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3863 echo $ECHO_N "(cached) $ECHO_C" >&6
3864else
3865 case $MAGIC_CMD in
3866 /*)
3867 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3868 ;;
3869 ?:/*)
3870 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3871 ;;
3872 *)
3873 ac_save_MAGIC_CMD="$MAGIC_CMD"
3874 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3875 ac_dummy="/usr/bin:$PATH"
3876 for ac_dir in $ac_dummy; do
3877 test -z "$ac_dir" && ac_dir=.
3878 if test -f $ac_dir/file; then
3879 lt_cv_path_MAGIC_CMD="$ac_dir/file"
3880 if test -n "$file_magic_test_file"; then
3881 case $deplibs_check_method in
3882 "file_magic "*)
3883 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3884 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3885 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3886 egrep "$file_magic_regex" > /dev/null; then
3887 :
3888 else
3889 cat <<EOF 1>&2
3890
3891*** Warning: the command libtool uses to detect shared libraries,
3892*** $file_magic_cmd, produces output that libtool cannot recognize.
3893*** The result is that libtool may fail to recognize shared libraries
3894*** as such. This will affect the creation of libtool libraries that
3895*** depend on shared libraries, but programs linked with such libtool
3896*** libraries will work regardless of this problem. Nevertheless, you
3897*** may want to report the problem to your system manager and/or to
3898*** bug-libtool@gnu.org
3899
3900EOF
3901 fi ;;
3902 esac
3903 fi
3904 break
3905 fi
3906 done
3907 IFS="$ac_save_ifs"
3908 MAGIC_CMD="$ac_save_MAGIC_CMD"
3909 ;;
3910esac
3911fi
6de9cd9a 3912
96b8a615
AJ
3913MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3914if test -n "$MAGIC_CMD"; then
3915 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3916echo "${ECHO_T}$MAGIC_CMD" >&6
6de9cd9a 3917else
96b8a615
AJ
3918 echo "$as_me:$LINENO: result: no" >&5
3919echo "${ECHO_T}no" >&6
3920fi
6de9cd9a 3921
96b8a615
AJ
3922 else
3923 MAGIC_CMD=:
3924 fi
6de9cd9a 3925fi
6de9cd9a 3926
96b8a615
AJ
3927 fi
3928 ;;
3929esac
6de9cd9a 3930
96b8a615
AJ
3931if test -n "$ac_tool_prefix"; then
3932 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3933set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3934echo "$as_me:$LINENO: checking for $ac_word" >&5
3935echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3936if test "${ac_cv_prog_RANLIB+set}" = set; then
3937 echo $ECHO_N "(cached) $ECHO_C" >&6
6de9cd9a 3938else
96b8a615
AJ
3939 if test -n "$RANLIB"; then
3940 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3941else
3942as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3943for as_dir in $PATH
3944do
3945 IFS=$as_save_IFS
3946 test -z "$as_dir" && as_dir=.
3947 for ac_exec_ext in '' $ac_executable_extensions; do
3948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3949 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3951 break 2
3952 fi
3953done
3954done
6de9cd9a 3955
96b8a615
AJ
3956fi
3957fi
3958RANLIB=$ac_cv_prog_RANLIB
3959if test -n "$RANLIB"; then
3960 echo "$as_me:$LINENO: result: $RANLIB" >&5
3961echo "${ECHO_T}$RANLIB" >&6
3962else
3963 echo "$as_me:$LINENO: result: no" >&5
3964echo "${ECHO_T}no" >&6
6de9cd9a
DN
3965fi
3966
96b8a615
AJ
3967fi
3968if test -z "$ac_cv_prog_RANLIB"; then
3969 ac_ct_RANLIB=$RANLIB
3970 # Extract the first word of "ranlib", so it can be a program name with args.
3971set dummy ranlib; ac_word=$2
3972echo "$as_me:$LINENO: checking for $ac_word" >&5
3973echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3974if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3975 echo $ECHO_N "(cached) $ECHO_C" >&6
3976else
3977 if test -n "$ac_ct_RANLIB"; then
3978 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3979else
3980as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3981for as_dir in $PATH
3982do
3983 IFS=$as_save_IFS
3984 test -z "$as_dir" && as_dir=.
3985 for ac_exec_ext in '' $ac_executable_extensions; do
3986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3987 ac_cv_prog_ac_ct_RANLIB="ranlib"
3988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3989 break 2
3990 fi
3991done
3992done
6de9cd9a 3993
96b8a615
AJ
3994 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3995fi
3996fi
3997ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3998if test -n "$ac_ct_RANLIB"; then
3999 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4000echo "${ECHO_T}$ac_ct_RANLIB" >&6
6de9cd9a 4001else
96b8a615
AJ
4002 echo "$as_me:$LINENO: result: no" >&5
4003echo "${ECHO_T}no" >&6
6de9cd9a 4004fi
6de9cd9a 4005
96b8a615
AJ
4006 RANLIB=$ac_ct_RANLIB
4007else
4008 RANLIB="$ac_cv_prog_RANLIB"
6de9cd9a
DN
4009fi
4010
96b8a615
AJ
4011if test -n "$ac_tool_prefix"; then
4012 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4013set dummy ${ac_tool_prefix}strip; ac_word=$2
4014echo "$as_me:$LINENO: checking for $ac_word" >&5
4015echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4016if test "${ac_cv_prog_STRIP+set}" = set; then
4017 echo $ECHO_N "(cached) $ECHO_C" >&6
6de9cd9a 4018else
96b8a615
AJ
4019 if test -n "$STRIP"; then
4020 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4021else
4022as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4023for as_dir in $PATH
4024do
4025 IFS=$as_save_IFS
4026 test -z "$as_dir" && as_dir=.
4027 for ac_exec_ext in '' $ac_executable_extensions; do
4028 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4029 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4031 break 2
4032 fi
4033done
4034done
6de9cd9a 4035
96b8a615
AJ
4036fi
4037fi
4038STRIP=$ac_cv_prog_STRIP
4039if test -n "$STRIP"; then
4040 echo "$as_me:$LINENO: result: $STRIP" >&5
4041echo "${ECHO_T}$STRIP" >&6
6de9cd9a 4042else
96b8a615
AJ
4043 echo "$as_me:$LINENO: result: no" >&5
4044echo "${ECHO_T}no" >&6
4045fi
6de9cd9a 4046
6de9cd9a 4047fi
96b8a615
AJ
4048if test -z "$ac_cv_prog_STRIP"; then
4049 ac_ct_STRIP=$STRIP
4050 # Extract the first word of "strip", so it can be a program name with args.
4051set dummy strip; ac_word=$2
4052echo "$as_me:$LINENO: checking for $ac_word" >&5
4053echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4054if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4055 echo $ECHO_N "(cached) $ECHO_C" >&6
4056else
4057 if test -n "$ac_ct_STRIP"; then
4058 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4059else
4060as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4061for as_dir in $PATH
4062do
4063 IFS=$as_save_IFS
4064 test -z "$as_dir" && as_dir=.
4065 for ac_exec_ext in '' $ac_executable_extensions; do
4066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4067 ac_cv_prog_ac_ct_STRIP="strip"
4068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4069 break 2
4070 fi
4071done
4072done
4073
4074 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6de9cd9a
DN
4075fi
4076fi
96b8a615
AJ
4077ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4078if test -n "$ac_ct_STRIP"; then
4079 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4080echo "${ECHO_T}$ac_ct_STRIP" >&6
4081else
4082 echo "$as_me:$LINENO: result: no" >&5
4083echo "${ECHO_T}no" >&6
6de9cd9a 4084fi
6de9cd9a 4085
96b8a615
AJ
4086 STRIP=$ac_ct_STRIP
4087else
4088 STRIP="$ac_cv_prog_STRIP"
6de9cd9a
DN
4089fi
4090
6de9cd9a 4091
96b8a615
AJ
4092# Check for any special flags to pass to ltconfig.
4093libtool_flags="--cache-file=$cache_file"
4094test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4095test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4096test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4097test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4098test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
6de9cd9a
DN
4099
4100
96b8a615
AJ
4101# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4102if test "${enable_libtool_lock+set}" = set; then
4103 enableval="$enable_libtool_lock"
6de9cd9a 4104
96b8a615
AJ
4105fi;
4106test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4107test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
6de9cd9a
DN
4108
4109
96b8a615
AJ
4110# Check whether --with-pic or --without-pic was given.
4111if test "${with_pic+set}" = set; then
4112 withval="$with_pic"
4113 pic_mode="$withval"
6de9cd9a 4114else
96b8a615
AJ
4115 pic_mode=default
4116fi;
4117test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4118test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
6de9cd9a 4119
96b8a615
AJ
4120# Some flags need to be propagated to the compiler or linker for good
4121# libtool support.
4122case $host in
4123*-*-irix6*)
4124 # Find out which ABI we are using.
1409cd0b 4125 echo '#line 4125 "configure"' > conftest.$ac_ext
96b8a615
AJ
4126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4127 (eval $ac_compile) 2>&5
6de9cd9a
DN
4128 ac_status=$?
4129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96b8a615
AJ
4130 (exit $ac_status); }; then
4131 if test "$lt_cv_prog_gnu_ld" = yes; then
4132 case `/usr/bin/file conftest.$ac_objext` in
4133 *32-bit*)
4134 LD="${LD-ld} -melf32bsmip"
4135 ;;
4136 *N32*)
4137 LD="${LD-ld} -melf32bmipn32"
4138 ;;
4139 *64-bit*)
4140 LD="${LD-ld} -melf64bmip"
4141 ;;
4142 esac
4143 else
4144 case `/usr/bin/file conftest.$ac_objext` in
4145 *32-bit*)
4146 LD="${LD-ld} -32"
4147 ;;
4148 *N32*)
4149 LD="${LD-ld} -n32"
4150 ;;
4151 *64-bit*)
4152 LD="${LD-ld} -64"
4153 ;;
4154 esac
4155 fi
4156 fi
4157 rm -rf conftest*
4158 ;;
6de9cd9a 4159
96b8a615
AJ
4160ia64-*-hpux*)
4161 # Find out which ABI we are using.
4162 echo 'int i;' > conftest.$ac_ext
4163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4164 (eval $ac_compile) 2>&5
6de9cd9a
DN
4165 ac_status=$?
4166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96b8a615
AJ
4167 (exit $ac_status); }; then
4168 case "`/usr/bin/file conftest.o`" in
4169 *ELF-32*)
4170 HPUX_IA64_MODE="32"
4171 ;;
4172 *ELF-64*)
4173 HPUX_IA64_MODE="64"
4174 ;;
4175 esac
4176 fi
4177 rm -rf conftest*
4178 ;;
6de9cd9a 4179
96b8a615
AJ
4180x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4181 # Find out which ABI we are using.
4182 echo 'int i;' > conftest.$ac_ext
4183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4184 (eval $ac_compile) 2>&5
6de9cd9a 4185 ac_status=$?
6de9cd9a 4186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96b8a615
AJ
4187 (exit $ac_status); }; then
4188 case "`/usr/bin/file conftest.o`" in
4189 *32-bit*)
4190 case $host in
4191 x86_64-*linux*)
4192 LD="${LD-ld} -m elf_i386"
4193 ;;
4194 ppc64-*linux*|powerpc64-*linux*)
4195 LD="${LD-ld} -m elf32ppclinux"
4196 ;;
4197 s390x-*linux*)
4198 LD="${LD-ld} -m elf_s390"
4199 ;;
4200 sparc64-*linux*)
4201 LD="${LD-ld} -m elf32_sparc"
4202 ;;
4203 esac
4204 ;;
4205 *64-bit*)
4206 case $host in
4207 x86_64-*linux*)
4208 LD="${LD-ld} -m elf_x86_64"
4209 ;;
4210 ppc*-*linux*|powerpc*-*linux*)
4211 LD="${LD-ld} -m elf64ppc"
4212 ;;
4213 s390*-*linux*)
4214 LD="${LD-ld} -m elf64_s390"
4215 ;;
4216 sparc*-*linux*)
4217 LD="${LD-ld} -m elf64_sparc"
4218 ;;
4219 esac
4220 ;;
4221 esac
6de9cd9a 4222 fi
96b8a615
AJ
4223 rm -rf conftest*
4224 ;;
6de9cd9a 4225
96b8a615
AJ
4226*-*-sco3.2v5*)
4227 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4228 SAVE_CFLAGS="$CFLAGS"
4229 CFLAGS="$CFLAGS -belf"
4230 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4231echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4232if test "${lt_cv_cc_needs_belf+set}" = set; then
6de9cd9a
DN
4233 echo $ECHO_N "(cached) $ECHO_C" >&6
4234else
6de9cd9a 4235
6de9cd9a 4236
96b8a615
AJ
4237 ac_ext=c
4238ac_cpp='$CPP $CPPFLAGS'
4239ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4240ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4241ac_compiler_gnu=$ac_cv_c_compiler_gnu
6de9cd9a 4242
f02d008e
JD
4243 if test x$gcc_no_link = xyes; then
4244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4245echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4246 { (exit 1); exit 1; }; }
4247fi
4248cat >conftest.$ac_ext <<_ACEOF
6de9cd9a
DN
4249/* confdefs.h. */
4250_ACEOF
4251cat confdefs.h >>conftest.$ac_ext
4252cat >>conftest.$ac_ext <<_ACEOF
4253/* end confdefs.h. */
6de9cd9a
DN
4254
4255int
4256main ()
4257{
96b8a615 4258
6de9cd9a
DN
4259 ;
4260 return 0;
4261}
4262_ACEOF
4263rm -f conftest.$ac_objext conftest$ac_exeext
4264if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4265 (eval $ac_link) 2>conftest.er1
4266 ac_status=$?
4267 grep -v '^ *+' conftest.er1 >conftest.err
4268 rm -f conftest.er1
4269 cat conftest.err >&5
4270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271 (exit $ac_status); } &&
1409cd0b
FXC
4272 { ac_try='test -z "$ac_c_werror_flag"
4273 || test ! -s conftest.err'
6de9cd9a
DN
4274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4275 (eval $ac_try) 2>&5
4276 ac_status=$?
4277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4278 (exit $ac_status); }; } &&
4279 { ac_try='test -s conftest$ac_exeext'
4280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4281 (eval $ac_try) 2>&5
4282 ac_status=$?
4283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4284 (exit $ac_status); }; }; then
96b8a615 4285 lt_cv_cc_needs_belf=yes
6de9cd9a
DN
4286else
4287 echo "$as_me: failed program was:" >&5
4288sed 's/^/| /' conftest.$ac_ext >&5
4289
96b8a615 4290lt_cv_cc_needs_belf=no
6de9cd9a
DN
4291fi
4292rm -f conftest.err conftest.$ac_objext \
4293 conftest$ac_exeext conftest.$ac_ext
96b8a615
AJ
4294 ac_ext=c
4295ac_cpp='$CPP $CPPFLAGS'
4296ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4297ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4298ac_compiler_gnu=$ac_cv_c_compiler_gnu
4299
6de9cd9a 4300fi
96b8a615
AJ
4301echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4302echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4303 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4304 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4305 CFLAGS="$SAVE_CFLAGS"
4306 fi
4307 ;;
4308
4309
4310esac
4311
4312
4313# Save cache, so that ltconfig can load it
4314cat >confcache <<\_ACEOF
4315# This file is a shell script that caches the results of configure
4316# tests run on this system so they can be shared between configure
4317# scripts and configure runs, see configure's option --config-cache.
4318# It is not useful on other systems. If it contains results you don't
4319# want to keep, you may remove or edit it.
4320#
4321# config.status only pays attention to the cache file if you give it
4322# the --recheck option to rerun configure.
4323#
4324# `ac_cv_env_foo' variables (set or unset) will be overridden when
4325# loading this file, other *unset* `ac_cv_foo' will be assigned the
4326# following values.
4327
6de9cd9a
DN
4328_ACEOF
4329
96b8a615
AJ
4330# The following way of writing the cache mishandles newlines in values,
4331# but we know of no workaround that is simple, portable, and efficient.
4332# So, don't put newlines in cache variables' values.
4333# Ultrix sh set writes to stderr and can't be redirected directly,
4334# and sets the high bit in the cache file unless we assign to the vars.
4335{
4336 (set) 2>&1 |
4337 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4338 *ac_space=\ *)
4339 # `set' does not quote correctly, so add quotes (double-quote
4340 # substitution turns \\\\ into \\, and sed turns \\ into \).
4341 sed -n \
4342 "s/'/'\\\\''/g;
4343 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4344 ;;
4345 *)
4346 # `set' quotes correctly as required by POSIX, so do not add quotes.
4347 sed -n \
4348 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4349 ;;
4350 esac;
4351} |
4352 sed '
4353 t clear
4354 : clear
4355 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4356 t end
4357 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4358 : end' >>confcache
4359if diff $cache_file confcache >/dev/null 2>&1; then :; else
4360 if test -w $cache_file; then
4361 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4362 cat confcache >$cache_file
4363 else
4364 echo "not updating unwritable cache $cache_file"
4365 fi
6de9cd9a 4366fi
96b8a615 4367rm -f confcache
6de9cd9a 4368
96b8a615
AJ
4369# Actually configure libtool. ac_aux_dir is where install-sh is found.
4370AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4371MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4372LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4373AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4374objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4375deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4376${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4377$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4378|| { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4379echo "$as_me: error: libtool configure failed" >&2;}
4380 { (exit 1); exit 1; }; }
4381
4382# Reload cache, that may have been modified by ltconfig
4383if test -r "$cache_file"; then
4384 # Some versions of bash will fail to source /dev/null (special
4385 # files actually), so we avoid doing that.
4386 if test -f "$cache_file"; then
4387 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4388echo "$as_me: loading cache $cache_file" >&6;}
4389 case $cache_file in
4390 [\\/]* | ?:[\\/]* ) . $cache_file;;
4391 *) . ./$cache_file;;
4392 esac
4393 fi
4394else
4395 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4396echo "$as_me: creating cache $cache_file" >&6;}
4397 >$cache_file
4398fi
6de9cd9a 4399
6de9cd9a 4400
96b8a615
AJ
4401# This can be used to rebuild libtool when needed
4402LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
6de9cd9a 4403
96b8a615
AJ
4404# Always use our own libtool.
4405LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6de9cd9a 4406
96b8a615
AJ
4407# Redirect the config.log output again, so that the ltconfig log is not
4408# clobbered by the next message.
4409exec 5>>./config.log
6de9cd9a 4410
6de9cd9a 4411
6de9cd9a 4412
6de9cd9a 4413
6de9cd9a 4414
6de9cd9a 4415
6de9cd9a 4416
6de9cd9a 4417
96b8a615
AJ
4418#AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4419
4420# We need gfortran to compile parts of the library
c7a35fe9
AS
4421#AC_PROG_FC(gfortran)
4422FC="$GFORTRAN"
4423ac_ext=${FC_SRCEXT-f}
4424ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
4425ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
4426ac_compiler_gnu=$ac_cv_fc_compiler_gnu
96b8a615
AJ
4427if test -n "$ac_tool_prefix"; then
4428 for ac_prog in gfortran
4429 do
4430 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4431set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4432echo "$as_me:$LINENO: checking for $ac_word" >&5
4433echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
c7a35fe9 4434if test "${ac_cv_prog_FC+set}" = set; then
96b8a615 4435 echo $ECHO_N "(cached) $ECHO_C" >&6
6de9cd9a 4436else
c7a35fe9
AS
4437 if test -n "$FC"; then
4438 ac_cv_prog_FC="$FC" # Let the user override the test.
96b8a615
AJ
4439else
4440as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4441for as_dir in $PATH
4442do
4443 IFS=$as_save_IFS
4444 test -z "$as_dir" && as_dir=.
4445 for ac_exec_ext in '' $ac_executable_extensions; do
4446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
c7a35fe9 4447 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
96b8a615
AJ
4448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4449 break 2
4450 fi
4451done
4452done
6de9cd9a 4453
6de9cd9a 4454fi
6de9cd9a 4455fi
c7a35fe9
AS
4456FC=$ac_cv_prog_FC
4457if test -n "$FC"; then
4458 echo "$as_me:$LINENO: result: $FC" >&5
4459echo "${ECHO_T}$FC" >&6
96b8a615
AJ
4460else
4461 echo "$as_me:$LINENO: result: no" >&5
4462echo "${ECHO_T}no" >&6
6de9cd9a 4463fi
6de9cd9a 4464
c7a35fe9 4465 test -n "$FC" && break
96b8a615
AJ
4466 done
4467fi
c7a35fe9
AS
4468if test -z "$FC"; then
4469 ac_ct_FC=$FC
96b8a615
AJ
4470 for ac_prog in gfortran
4471do
4472 # Extract the first word of "$ac_prog", so it can be a program name with args.
4473set dummy $ac_prog; ac_word=$2
4474echo "$as_me:$LINENO: checking for $ac_word" >&5
4475echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
c7a35fe9 4476if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
96b8a615
AJ
4477 echo $ECHO_N "(cached) $ECHO_C" >&6
4478else
c7a35fe9
AS
4479 if test -n "$ac_ct_FC"; then
4480 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
96b8a615
AJ
4481else
4482as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4483for as_dir in $PATH
4484do
4485 IFS=$as_save_IFS
4486 test -z "$as_dir" && as_dir=.
4487 for ac_exec_ext in '' $ac_executable_extensions; do
4488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
c7a35fe9 4489 ac_cv_prog_ac_ct_FC="$ac_prog"
96b8a615
AJ
4490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4491 break 2
4492 fi
4493done
4494done
6de9cd9a
DN
4495
4496fi
96b8a615 4497fi
c7a35fe9
AS
4498ac_ct_FC=$ac_cv_prog_ac_ct_FC
4499if test -n "$ac_ct_FC"; then
4500 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4501echo "${ECHO_T}$ac_ct_FC" >&6
96b8a615
AJ
4502else
4503 echo "$as_me:$LINENO: result: no" >&5
4504echo "${ECHO_T}no" >&6
4505fi
4506
c7a35fe9 4507 test -n "$ac_ct_FC" && break
96b8a615
AJ
4508done
4509
c7a35fe9 4510 FC=$ac_ct_FC
96b8a615
AJ
4511fi
4512
4513
4514# Provide some information about the compiler.
17109ecb 4515echo "$as_me:4515:" \
c7a35fe9 4516 "checking for Fortran compiler version" >&5
96b8a615
AJ
4517ac_compiler=`set X $ac_compile; echo $2`
4518{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4519 (eval $ac_compiler --version </dev/null >&5) 2>&5
4520 ac_status=$?
4521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4522 (exit $ac_status); }
4523{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4524 (eval $ac_compiler -v </dev/null >&5) 2>&5
4525 ac_status=$?
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); }
4528{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4529 (eval $ac_compiler -V </dev/null >&5) 2>&5
4530 ac_status=$?
4531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4532 (exit $ac_status); }
4533rm -f a.out
6de9cd9a 4534
96b8a615
AJ
4535# If we don't use `.F' as extension, the preprocessor is not run on the
4536# input file. (Note that this only needs to work for GNU compilers.)
4537ac_save_ext=$ac_ext
4538ac_ext=F
c7a35fe9
AS
4539echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4540echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4541if test "${ac_cv_fc_compiler_gnu+set}" = set; then
6de9cd9a
DN
4542 echo $ECHO_N "(cached) $ECHO_C" >&6
4543else
4544 cat >conftest.$ac_ext <<_ACEOF
96b8a615
AJ
4545 program main
4546#ifndef __GNUC__
4547 choke me
4548#endif
4549
4550 end
6de9cd9a
DN
4551_ACEOF
4552rm -f conftest.$ac_objext
4553if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4554 (eval $ac_compile) 2>conftest.er1
4555 ac_status=$?
4556 grep -v '^ *+' conftest.er1 >conftest.err
4557 rm -f conftest.er1
4558 cat conftest.err >&5
4559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4560 (exit $ac_status); } &&
1409cd0b
FXC
4561 { ac_try='test -z "$ac_fc_werror_flag"
4562 || test ! -s conftest.err'
6de9cd9a
DN
4563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4564 (eval $ac_try) 2>&5
4565 ac_status=$?
4566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4567 (exit $ac_status); }; } &&
4568 { ac_try='test -s conftest.$ac_objext'
4569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4570 (eval $ac_try) 2>&5
4571 ac_status=$?
4572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4573 (exit $ac_status); }; }; then
96b8a615 4574 ac_compiler_gnu=yes
6de9cd9a
DN
4575else
4576 echo "$as_me: failed program was:" >&5
4577sed 's/^/| /' conftest.$ac_ext >&5
4578
96b8a615 4579ac_compiler_gnu=no
6de9cd9a
DN
4580fi
4581rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
c7a35fe9 4582ac_cv_fc_compiler_gnu=$ac_compiler_gnu
6de9cd9a
DN
4583
4584fi
c7a35fe9
AS
4585echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4586echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
96b8a615 4587ac_ext=$ac_save_ext
c7a35fe9
AS
4588ac_test_FFLAGS=${FCFLAGS+set}
4589ac_save_FFLAGS=$FCFLAGS
4590FCFLAGS=
4591echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4592echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4593if test "${ac_cv_prog_fc_g+set}" = set; then
6de9cd9a
DN
4594 echo $ECHO_N "(cached) $ECHO_C" >&6
4595else
c7a35fe9 4596 FCFLAGS=-g
96b8a615
AJ
4597cat >conftest.$ac_ext <<_ACEOF
4598 program main
6de9cd9a 4599
96b8a615 4600 end
6de9cd9a
DN
4601_ACEOF
4602rm -f conftest.$ac_objext
4603if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4604 (eval $ac_compile) 2>conftest.er1
4605 ac_status=$?
4606 grep -v '^ *+' conftest.er1 >conftest.err
4607 rm -f conftest.er1
4608 cat conftest.err >&5
4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610 (exit $ac_status); } &&
1409cd0b
FXC
4611 { ac_try='test -z "$ac_fc_werror_flag"
4612 || test ! -s conftest.err'
6de9cd9a
DN
4613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4614 (eval $ac_try) 2>&5
4615 ac_status=$?
4616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4617 (exit $ac_status); }; } &&
4618 { ac_try='test -s conftest.$ac_objext'
4619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4620 (eval $ac_try) 2>&5
4621 ac_status=$?
4622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4623 (exit $ac_status); }; }; then
c7a35fe9 4624 ac_cv_prog_fc_g=yes
6de9cd9a
DN
4625else
4626 echo "$as_me: failed program was:" >&5
4627sed 's/^/| /' conftest.$ac_ext >&5
4628
c7a35fe9 4629ac_cv_prog_fc_g=no
6de9cd9a
DN
4630fi
4631rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4632
6de9cd9a 4633fi
c7a35fe9
AS
4634echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4635echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
96b8a615 4636if test "$ac_test_FFLAGS" = set; then
c7a35fe9
AS
4637 FCFLAGS=$ac_save_FFLAGS
4638elif test $ac_cv_prog_fc_g = yes; then
4639 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4640 FCFLAGS="-g -O2"
96b8a615 4641 else
c7a35fe9 4642 FCFLAGS="-g"
96b8a615
AJ
4643 fi
4644else
c7a35fe9
AS
4645 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
4646 FCFLAGS="-O2"
96b8a615 4647 else
c7a35fe9 4648 FCFLAGS=
96b8a615 4649 fi
6de9cd9a
DN
4650fi
4651
96b8a615
AJ
4652ac_ext=c
4653ac_cpp='$CPP $CPPFLAGS'
4654ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4655ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4656ac_compiler_gnu=$ac_cv_c_compiler_gnu
6de9cd9a 4657
6de9cd9a 4658
e87045f3
AP
4659# extra LD Flags which are required for targets
4660case "${host}" in
4661 *-darwin*)
4662 # Darwin needs -single_module when linking libgfortran
4663 extra_ldflags_libgfortran=-Wl,-single_module
4664 ;;
4665esac
4666
4667
9cdc381b
BD
4668# Check whether --enable-largefile or --disable-largefile was given.
4669if test "${enable_largefile+set}" = set; then
4670 enableval="$enable_largefile"
4671
4672fi;
4673if test "$enable_largefile" != no; then
4674
4675 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4676echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4677if test "${ac_cv_sys_largefile_CC+set}" = set; then
4678 echo $ECHO_N "(cached) $ECHO_C" >&6
4679else
4680 ac_cv_sys_largefile_CC=no
4681 if test "$GCC" != yes; then
4682 ac_save_CC=$CC
4683 while :; do
4684 # IRIX 6.2 and later do not support large files by default,
4685 # so use the C compiler's -n32 option if that helps.
4686 cat >conftest.$ac_ext <<_ACEOF
4687/* confdefs.h. */
4688_ACEOF
4689cat confdefs.h >>conftest.$ac_ext
4690cat >>conftest.$ac_ext <<_ACEOF
4691/* end confdefs.h. */
4692#include <sys/types.h>
4693 /* Check that off_t can represent 2**63 - 1 correctly.
4694 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4695 since some C++ compilers masquerading as C compilers
4696 incorrectly reject 9223372036854775807. */
4697#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4698 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4699 && LARGE_OFF_T % 2147483647 == 1)
4700 ? 1 : -1];
4701int
4702main ()
4703{
4704
4705 ;
4706 return 0;
4707}
4708_ACEOF
4709 rm -f conftest.$ac_objext
4710if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4711 (eval $ac_compile) 2>conftest.er1
4712 ac_status=$?
4713 grep -v '^ *+' conftest.er1 >conftest.err
4714 rm -f conftest.er1
4715 cat conftest.err >&5
4716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4717 (exit $ac_status); } &&
1409cd0b
FXC
4718 { ac_try='test -z "$ac_c_werror_flag"
4719 || test ! -s conftest.err'
9cdc381b
BD
4720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4721 (eval $ac_try) 2>&5
4722 ac_status=$?
4723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4724 (exit $ac_status); }; } &&
4725 { ac_try='test -s conftest.$ac_objext'
4726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4727 (eval $ac_try) 2>&5
4728 ac_status=$?
4729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730 (exit $ac_status); }; }; then
4731 break
4732else
4733 echo "$as_me: failed program was:" >&5
4734sed 's/^/| /' conftest.$ac_ext >&5
4735
4736fi
4737rm -f conftest.err conftest.$ac_objext
4738 CC="$CC -n32"
4739 rm -f conftest.$ac_objext
4740if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4741 (eval $ac_compile) 2>conftest.er1
4742 ac_status=$?
4743 grep -v '^ *+' conftest.er1 >conftest.err
4744 rm -f conftest.er1
4745 cat conftest.err >&5
4746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4747 (exit $ac_status); } &&
1409cd0b
FXC
4748 { ac_try='test -z "$ac_c_werror_flag"
4749 || test ! -s conftest.err'
9cdc381b
BD
4750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4751 (eval $ac_try) 2>&5
4752 ac_status=$?
4753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754 (exit $ac_status); }; } &&
4755 { ac_try='test -s conftest.$ac_objext'
4756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4757 (eval $ac_try) 2>&5
4758 ac_status=$?
4759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760 (exit $ac_status); }; }; then
4761 ac_cv_sys_largefile_CC=' -n32'; break
4762else
4763 echo "$as_me: failed program was:" >&5
4764sed 's/^/| /' conftest.$ac_ext >&5
4765
4766fi
4767rm -f conftest.err conftest.$ac_objext
4768 break
4769 done
4770 CC=$ac_save_CC
4771 rm -f conftest.$ac_ext
4772 fi
4773fi
4774echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4775echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4776 if test "$ac_cv_sys_largefile_CC" != no; then
4777 CC=$CC$ac_cv_sys_largefile_CC
4778 fi
4779
4780 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4781echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4782if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4783 echo $ECHO_N "(cached) $ECHO_C" >&6
4784else
4785 while :; do
4786 ac_cv_sys_file_offset_bits=no
4787 cat >conftest.$ac_ext <<_ACEOF
4788/* confdefs.h. */
4789_ACEOF
4790cat confdefs.h >>conftest.$ac_ext
4791cat >>conftest.$ac_ext <<_ACEOF
4792/* end confdefs.h. */
4793#include <sys/types.h>
4794 /* Check that off_t can represent 2**63 - 1 correctly.
4795 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4796 since some C++ compilers masquerading as C compilers
4797 incorrectly reject 9223372036854775807. */
4798#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4799 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4800 && LARGE_OFF_T % 2147483647 == 1)
4801 ? 1 : -1];
4802int
4803main ()
4804{
4805
4806 ;
4807 return 0;
4808}
4809_ACEOF
4810rm -f conftest.$ac_objext
4811if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4812 (eval $ac_compile) 2>conftest.er1
4813 ac_status=$?
4814 grep -v '^ *+' conftest.er1 >conftest.err
4815 rm -f conftest.er1
4816 cat conftest.err >&5
4817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4818 (exit $ac_status); } &&
1409cd0b
FXC
4819 { ac_try='test -z "$ac_c_werror_flag"
4820 || test ! -s conftest.err'
9cdc381b
BD
4821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4822 (eval $ac_try) 2>&5
4823 ac_status=$?
4824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4825 (exit $ac_status); }; } &&
4826 { ac_try='test -s conftest.$ac_objext'
4827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4828 (eval $ac_try) 2>&5
4829 ac_status=$?
4830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4831 (exit $ac_status); }; }; then
4832 break
4833else
4834 echo "$as_me: failed program was:" >&5
4835sed 's/^/| /' conftest.$ac_ext >&5
4836
4837fi
4838rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4839 cat >conftest.$ac_ext <<_ACEOF
4840/* confdefs.h. */
4841_ACEOF
4842cat confdefs.h >>conftest.$ac_ext
4843cat >>conftest.$ac_ext <<_ACEOF
4844/* end confdefs.h. */
4845#define _FILE_OFFSET_BITS 64
4846#include <sys/types.h>
4847 /* Check that off_t can represent 2**63 - 1 correctly.
4848 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4849 since some C++ compilers masquerading as C compilers
4850 incorrectly reject 9223372036854775807. */
4851#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4852 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4853 && LARGE_OFF_T % 2147483647 == 1)
4854 ? 1 : -1];
4855int
4856main ()
4857{
4858
4859 ;
4860 return 0;
4861}
4862_ACEOF
4863rm -f conftest.$ac_objext
4864if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4865 (eval $ac_compile) 2>conftest.er1
4866 ac_status=$?
4867 grep -v '^ *+' conftest.er1 >conftest.err
4868 rm -f conftest.er1
4869 cat conftest.err >&5
4870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4871 (exit $ac_status); } &&
1409cd0b
FXC
4872 { ac_try='test -z "$ac_c_werror_flag"
4873 || test ! -s conftest.err'
9cdc381b
BD
4874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4875 (eval $ac_try) 2>&5
4876 ac_status=$?
4877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4878 (exit $ac_status); }; } &&
4879 { ac_try='test -s conftest.$ac_objext'
4880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4881 (eval $ac_try) 2>&5
4882 ac_status=$?
4883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4884 (exit $ac_status); }; }; then
4885 ac_cv_sys_file_offset_bits=64; break
4886else
4887 echo "$as_me: failed program was:" >&5
4888sed 's/^/| /' conftest.$ac_ext >&5
4889
4890fi
4891rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4892 break
4893done
4894fi
4895echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4896echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4897if test "$ac_cv_sys_file_offset_bits" != no; then
4898
4899cat >>confdefs.h <<_ACEOF
4900#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4901_ACEOF
4902
4903fi
4904rm -f conftest*
4905 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4906echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4907if test "${ac_cv_sys_large_files+set}" = set; then
4908 echo $ECHO_N "(cached) $ECHO_C" >&6
4909else
4910 while :; do
4911 ac_cv_sys_large_files=no
4912 cat >conftest.$ac_ext <<_ACEOF
4913/* confdefs.h. */
4914_ACEOF
4915cat confdefs.h >>conftest.$ac_ext
4916cat >>conftest.$ac_ext <<_ACEOF
4917/* end confdefs.h. */
4918#include <sys/types.h>
4919 /* Check that off_t can represent 2**63 - 1 correctly.
4920 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4921 since some C++ compilers masquerading as C compilers
4922 incorrectly reject 9223372036854775807. */
4923#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4924 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4925 && LARGE_OFF_T % 2147483647 == 1)
4926 ? 1 : -1];
4927int
4928main ()
4929{
4930
4931 ;
4932 return 0;
4933}
4934_ACEOF
4935rm -f conftest.$ac_objext
4936if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4937 (eval $ac_compile) 2>conftest.er1
4938 ac_status=$?
4939 grep -v '^ *+' conftest.er1 >conftest.err
4940 rm -f conftest.er1
4941 cat conftest.err >&5
4942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943 (exit $ac_status); } &&
1409cd0b
FXC
4944 { ac_try='test -z "$ac_c_werror_flag"
4945 || test ! -s conftest.err'
9cdc381b
BD
4946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4947 (eval $ac_try) 2>&5
4948 ac_status=$?
4949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4950 (exit $ac_status); }; } &&
4951 { ac_try='test -s conftest.$ac_objext'
4952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4953 (eval $ac_try) 2>&5
4954 ac_status=$?
4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4956 (exit $ac_status); }; }; then
4957 break
4958else
4959 echo "$as_me: failed program was:" >&5
4960sed 's/^/| /' conftest.$ac_ext >&5
4961
4962fi
4963rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4964 cat >conftest.$ac_ext <<_ACEOF
4965/* confdefs.h. */
4966_ACEOF
4967cat confdefs.h >>conftest.$ac_ext
4968cat >>conftest.$ac_ext <<_ACEOF
4969/* end confdefs.h. */
4970#define _LARGE_FILES 1
4971#include <sys/types.h>
4972 /* Check that off_t can represent 2**63 - 1 correctly.
4973 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4974 since some C++ compilers masquerading as C compilers
4975 incorrectly reject 9223372036854775807. */
4976#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4977 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4978 && LARGE_OFF_T % 2147483647 == 1)
4979 ? 1 : -1];
4980int
4981main ()
4982{
4983
4984 ;
4985 return 0;
4986}
4987_ACEOF
4988rm -f conftest.$ac_objext
4989if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4990 (eval $ac_compile) 2>conftest.er1
4991 ac_status=$?
4992 grep -v '^ *+' conftest.er1 >conftest.err
4993 rm -f conftest.er1
4994 cat conftest.err >&5
4995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4996 (exit $ac_status); } &&
1409cd0b
FXC
4997 { ac_try='test -z "$ac_c_werror_flag"
4998 || test ! -s conftest.err'
9cdc381b
BD
4999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5000 (eval $ac_try) 2>&5
5001 ac_status=$?
5002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5003 (exit $ac_status); }; } &&
5004 { ac_try='test -s conftest.$ac_objext'
5005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5006 (eval $ac_try) 2>&5
5007 ac_status=$?
5008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5009 (exit $ac_status); }; }; then
5010 ac_cv_sys_large_files=1; break
5011else
5012 echo "$as_me: failed program was:" >&5
5013sed 's/^/| /' conftest.$ac_ext >&5
5014
5015fi
5016rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5017 break
5018done
5019fi
5020echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5021echo "${ECHO_T}$ac_cv_sys_large_files" >&6
5022if test "$ac_cv_sys_large_files" != no; then
5023
5024cat >>confdefs.h <<_ACEOF
5025#define _LARGE_FILES $ac_cv_sys_large_files
5026_ACEOF
5027
5028fi
5029rm -f conftest*
5030fi
5031
f02d008e
JD
5032if test x$gcc_no_link = xyes; then
5033 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
5034 ac_cv_func_mmap_fixed_mapped=no
5035 fi
5036fi
5037if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
5038 ac_ext=c
96b8a615
AJ
5039ac_cpp='$CPP $CPPFLAGS'
5040ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5041ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5042ac_compiler_gnu=$ac_cv_c_compiler_gnu
5043echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5044echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5045# On Suns, sometimes $CPP names a directory.
5046if test -n "$CPP" && test -d "$CPP"; then
5047 CPP=
6de9cd9a 5048fi
96b8a615
AJ
5049if test -z "$CPP"; then
5050 if test "${ac_cv_prog_CPP+set}" = set; then
5051 echo $ECHO_N "(cached) $ECHO_C" >&6
6de9cd9a 5052else
96b8a615
AJ
5053 # Double quotes because CPP needs to be expanded
5054 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5055 do
5056 ac_preproc_ok=false
5057for ac_c_preproc_warn_flag in '' yes
5058do
5059 # Use a header file that comes with gcc, so configuring glibc
5060 # with a fresh cross-compiler works.
5061 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5062 # <limits.h> exists even on freestanding compilers.
5063 # On the NeXT, cc -E runs the code through the compiler's parser,
5064 # not just through cpp. "Syntax error" is here to catch this case.
6de9cd9a
DN
5065 cat >conftest.$ac_ext <<_ACEOF
5066/* confdefs.h. */
5067_ACEOF
5068cat confdefs.h >>conftest.$ac_ext
5069cat >>conftest.$ac_ext <<_ACEOF
5070/* end confdefs.h. */
96b8a615
AJ
5071#ifdef __STDC__
5072# include <limits.h>
6de9cd9a 5073#else
96b8a615 5074# include <assert.h>
6de9cd9a 5075#endif
96b8a615 5076 Syntax error
6de9cd9a 5077_ACEOF
96b8a615
AJ
5078if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5079 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6de9cd9a 5080 ac_status=$?
96b8a615
AJ
5081 grep -v '^ *+' conftest.er1 >conftest.err
5082 rm -f conftest.er1
5083 cat conftest.err >&5
6de9cd9a 5084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96b8a615
AJ
5085 (exit $ac_status); } >/dev/null; then
5086 if test -s conftest.err; then
5087 ac_cpp_err=$ac_c_preproc_warn_flag
5088 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5089 else
5090 ac_cpp_err=
5091 fi
5092else
5093 ac_cpp_err=yes
5094fi
5095if test -z "$ac_cpp_err"; then
6de9cd9a
DN
5096 :
5097else
96b8a615 5098 echo "$as_me: failed program was:" >&5
6de9cd9a
DN
5099sed 's/^/| /' conftest.$ac_ext >&5
5100
96b8a615
AJ
5101 # Broken: fails on valid input.
5102continue
6de9cd9a 5103fi
96b8a615 5104rm -f conftest.err conftest.$ac_ext
6de9cd9a 5105
96b8a615
AJ
5106 # OK, works on sane cases. Now check whether non-existent headers
5107 # can be detected and how.
5108 cat >conftest.$ac_ext <<_ACEOF
6de9cd9a
DN
5109/* confdefs.h. */
5110_ACEOF
5111cat confdefs.h >>conftest.$ac_ext
5112cat >>conftest.$ac_ext <<_ACEOF
5113/* end confdefs.h. */
96b8a615 5114#include <ac_nonexistent.h>
6de9cd9a 5115_ACEOF
96b8a615
AJ
5116if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5117 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6de9cd9a
DN
5118 ac_status=$?
5119 grep -v '^ *+' conftest.er1 >conftest.err
5120 rm -f conftest.er1
5121 cat conftest.err >&5
5122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96b8a615
AJ
5123 (exit $ac_status); } >/dev/null; then
5124 if test -s conftest.err; then
5125 ac_cpp_err=$ac_c_preproc_warn_flag
5126 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5127 else
5128 ac_cpp_err=
5129 fi
5130else
5131 ac_cpp_err=yes
5132fi
5133if test -z "$ac_cpp_err"; then
5134 # Broken: success on invalid input.
5135continue
6de9cd9a
DN
5136else
5137 echo "$as_me: failed program was:" >&5
5138sed 's/^/| /' conftest.$ac_ext >&5
5139
96b8a615
AJ
5140 # Passes both tests.
5141ac_preproc_ok=:
5142break
6de9cd9a 5143fi
96b8a615 5144rm -f conftest.err conftest.$ac_ext
6de9cd9a 5145
96b8a615
AJ
5146done
5147# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5148rm -f conftest.err conftest.$ac_ext
5149if $ac_preproc_ok; then
5150 break
5151fi
5152
5153 done
5154 ac_cv_prog_CPP=$CPP
5155
5156fi
5157 CPP=$ac_cv_prog_CPP
5158else
5159 ac_cv_prog_CPP=$CPP
5160fi
5161echo "$as_me:$LINENO: result: $CPP" >&5
5162echo "${ECHO_T}$CPP" >&6
5163ac_preproc_ok=false
5164for ac_c_preproc_warn_flag in '' yes
5165do
5166 # Use a header file that comes with gcc, so configuring glibc
5167 # with a fresh cross-compiler works.
5168 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5169 # <limits.h> exists even on freestanding compilers.
5170 # On the NeXT, cc -E runs the code through the compiler's parser,
5171 # not just through cpp. "Syntax error" is here to catch this case.
5172 cat >conftest.$ac_ext <<_ACEOF
6de9cd9a
DN
5173/* confdefs.h. */
5174_ACEOF
5175cat confdefs.h >>conftest.$ac_ext
5176cat >>conftest.$ac_ext <<_ACEOF
5177/* end confdefs.h. */
96b8a615
AJ
5178#ifdef __STDC__
5179# include <limits.h>
5180#else
5181# include <assert.h>
5182#endif
5183 Syntax error
6de9cd9a
DN
5184_ACEOF
5185if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5186 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5187 ac_status=$?
5188 grep -v '^ *+' conftest.er1 >conftest.err
5189 rm -f conftest.er1
5190 cat conftest.err >&5
5191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5192 (exit $ac_status); } >/dev/null; then
5193 if test -s conftest.err; then
5194 ac_cpp_err=$ac_c_preproc_warn_flag
5195 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5196 else
5197 ac_cpp_err=
5198 fi
5199else
5200 ac_cpp_err=yes
5201fi
5202if test -z "$ac_cpp_err"; then
96b8a615 5203 :
6de9cd9a
DN
5204else
5205 echo "$as_me: failed program was:" >&5
5206sed 's/^/| /' conftest.$ac_ext >&5
5207
96b8a615
AJ
5208 # Broken: fails on valid input.
5209continue
6de9cd9a
DN
5210fi
5211rm -f conftest.err conftest.$ac_ext
6de9cd9a 5212
96b8a615
AJ
5213 # OK, works on sane cases. Now check whether non-existent headers
5214 # can be detected and how.
5215 cat >conftest.$ac_ext <<_ACEOF
5216/* confdefs.h. */
5217_ACEOF
5218cat confdefs.h >>conftest.$ac_ext
5219cat >>conftest.$ac_ext <<_ACEOF
5220/* end confdefs.h. */
5221#include <ac_nonexistent.h>
6de9cd9a 5222_ACEOF
96b8a615
AJ
5223if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5224 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5225 ac_status=$?
5226 grep -v '^ *+' conftest.er1 >conftest.err
5227 rm -f conftest.er1
5228 cat conftest.err >&5
5229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5230 (exit $ac_status); } >/dev/null; then
5231 if test -s conftest.err; then
5232 ac_cpp_err=$ac_c_preproc_warn_flag
5233 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5234 else
5235 ac_cpp_err=
5236 fi
5237else
5238 ac_cpp_err=yes
5239fi
5240if test -z "$ac_cpp_err"; then
5241 # Broken: success on invalid input.
5242continue
5243else
5244 echo "$as_me: failed program was:" >&5
5245sed 's/^/| /' conftest.$ac_ext >&5
6de9cd9a 5246
96b8a615
AJ
5247 # Passes both tests.
5248ac_preproc_ok=:
5249break
6de9cd9a 5250fi
96b8a615 5251rm -f conftest.err conftest.$ac_ext
6de9cd9a
DN
5252
5253done
96b8a615
AJ
5254# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5255rm -f conftest.err conftest.$ac_ext
5256if $ac_preproc_ok; then
5257 :
5258else
5259 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5260See \`config.log' for more details." >&5
5261echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5262See \`config.log' for more details." >&2;}
5263 { (exit 1); exit 1; }; }
5264fi
6de9cd9a 5265
96b8a615
AJ
5266ac_ext=c
5267ac_cpp='$CPP $CPPFLAGS'
5268ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5269ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5270ac_compiler_gnu=$ac_cv_c_compiler_gnu
6de9cd9a
DN
5271
5272
96b8a615
AJ
5273echo "$as_me:$LINENO: checking for egrep" >&5
5274echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5275if test "${ac_cv_prog_egrep+set}" = set; then
5276 echo $ECHO_N "(cached) $ECHO_C" >&6
5277else
5278 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5279 then ac_cv_prog_egrep='grep -E'
5280 else ac_cv_prog_egrep='egrep'
5281 fi
5282fi
5283echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5284echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5285 EGREP=$ac_cv_prog_egrep
6de9cd9a
DN
5286
5287
96b8a615
AJ
5288echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5289echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5290if test "${ac_cv_header_stdc+set}" = set; then
6de9cd9a 5291 echo $ECHO_N "(cached) $ECHO_C" >&6
6de9cd9a 5292else
96b8a615 5293 cat >conftest.$ac_ext <<_ACEOF
6de9cd9a
DN
5294/* confdefs.h. */
5295_ACEOF
5296cat confdefs.h >>conftest.$ac_ext
5297cat >>conftest.$ac_ext <<_ACEOF
5298/* end confdefs.h. */
96b8a615
AJ
5299#include <stdlib.h>
5300#include <stdarg.h>
5301#include <string.h>
5302#include <float.h>
5303
5304int
5305main ()
5306{
5307
5308 ;
5309 return 0;
5310}
6de9cd9a
DN
5311_ACEOF
5312rm -f conftest.$ac_objext
5313if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5314 (eval $ac_compile) 2>conftest.er1
5315 ac_status=$?
5316 grep -v '^ *+' conftest.er1 >conftest.err
5317 rm -f conftest.er1
5318 cat conftest.err >&5
5319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5320 (exit $ac_status); } &&
1409cd0b
FXC
5321 { ac_try='test -z "$ac_c_werror_flag"
5322 || test ! -s conftest.err'
6de9cd9a
DN
5323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5324 (eval $ac_try) 2>&5
5325 ac_status=$?
5326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5327 (exit $ac_status); }; } &&
5328 { ac_try='test -s conftest.$ac_objext'
5329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5330 (eval $ac_try) 2>&5
5331 ac_status=$?
5332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5333 (exit $ac_status); }; }; then
96b8a615 5334 ac_cv_header_stdc=yes
6de9cd9a
DN
5335else
5336 echo "$as_me: failed program was:" >&5
5337sed 's/^/| /' conftest.$ac_ext >&5
5338
96b8a615 5339ac_cv_header_stdc=no
6de9cd9a
DN
5340fi
5341rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6de9cd9a 5342
96b8a615
AJ
5343if test $ac_cv_header_stdc = yes; then
5344 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5345 cat >conftest.$ac_ext <<_ACEOF
6de9cd9a
DN
5346/* confdefs.h. */
5347_ACEOF
5348cat confdefs.h >>conftest.$ac_ext
5349cat >>conftest.$ac_ext <<_ACEOF
5350/* end confdefs.h. */
96b8a615
AJ
5351#include <string.h>
5352
6de9cd9a 5353_ACEOF
96b8a615
AJ
5354if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5355 $EGREP "memchr" >/dev/null 2>&1; then
5356 :
6de9cd9a 5357else
96b8a615 5358 ac_cv_header_stdc=no
6de9cd9a 5359fi
96b8a615
AJ
5360rm -f conftest*
5361
5362fi
5363
5364if test $ac_cv_header_stdc = yes; then
5365 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5366 cat >conftest.$ac_ext <<_ACEOF
5367/* confdefs.h. */
5368_ACEOF
5369cat confdefs.h >>conftest.$ac_ext
5370cat >>conftest.$ac_ext <<_ACEOF
5371/* end confdefs.h. */
5372#include <stdlib.h>
5373
5374_ACEOF
5375if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5376 $EGREP "free" >/dev/null 2>&1; then
5377 :
6de9cd9a 5378else
96b8a615
AJ
5379 ac_cv_header_stdc=no
5380fi
5381rm -f conftest*
5382
5383fi
5384
5385if test $ac_cv_header_stdc = yes; then
5386 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5387 if test "$cross_compiling" = yes; then
5388 :
5389else
5390 cat >conftest.$ac_ext <<_ACEOF
5391/* confdefs.h. */
5392_ACEOF
5393cat confdefs.h >>conftest.$ac_ext
5394cat >>conftest.$ac_ext <<_ACEOF
5395/* end confdefs.h. */
5396#include <ctype.h>
5397#if ((' ' & 0x0FF) == 0x020)
5398# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5399# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5400#else
5401# define ISLOWER(c) \
5402 (('a' <= (c) && (c) <= 'i') \
5403 || ('j' <= (c) && (c) <= 'r') \
5404 || ('s' <= (c) && (c) <= 'z'))
5405# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5406#endif
5407
5408#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5409int
5410main ()
5411{
5412 int i;
5413 for (i = 0; i < 256; i++)
5414 if (XOR (islower (i), ISLOWER (i))
5415 || toupper (i) != TOUPPER (i))
5416 exit(2);
5417 exit (0);
5418}
5419_ACEOF
5420rm -f conftest$ac_exeext
5421if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5422 (eval $ac_link) 2>&5
5423 ac_status=$?
5424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5425 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5427 (eval $ac_try) 2>&5
5428 ac_status=$?
5429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5430 (exit $ac_status); }; }; then
5431 :
5432else
5433 echo "$as_me: program exited with status $ac_status" >&5
5434echo "$as_me: failed program was:" >&5
6de9cd9a
DN
5435sed 's/^/| /' conftest.$ac_ext >&5
5436
96b8a615
AJ
5437( exit $ac_status )
5438ac_cv_header_stdc=no
6de9cd9a 5439fi
96b8a615
AJ
5440rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5441fi
5442fi
5443fi
5444echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5445echo "${ECHO_T}$ac_cv_header_stdc" >&6
5446if test $ac_cv_header_stdc = yes; then
6de9cd9a 5447
96b8a615
AJ
5448cat >>confdefs.h <<\_ACEOF
5449#define STDC_HEADERS 1
5450_ACEOF
5451
5452fi
5453
5454# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5465 inttypes.h stdint.h unistd.h
5466do
5467as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6de9cd9a
DN
5468echo "$as_me:$LINENO: checking for $ac_header" >&5
5469echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5470if eval "test \"\${$as_ac_Header+set}\" = set"; then
5471 echo $ECHO_N "(cached) $ECHO_C" >&6
5472else
96b8a615
AJ
5473 cat >conftest.$ac_ext <<_ACEOF
5474/* confdefs.h. */
5475_ACEOF
5476cat confdefs.h >>conftest.$ac_ext
5477cat >>conftest.$ac_ext <<_ACEOF
5478/* end confdefs.h. */
5479$ac_includes_default
5480
5481#include <$ac_header>
5482_ACEOF
5483rm -f conftest.$ac_objext
5484if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5485 (eval $ac_compile) 2>conftest.er1
5486 ac_status=$?
5487 grep -v '^ *+' conftest.er1 >conftest.err
5488 rm -f conftest.er1
5489 cat conftest.err >&5
5490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5491 (exit $ac_status); } &&
1409cd0b
FXC
5492 { ac_try='test -z "$ac_c_werror_flag"
5493 || test ! -s conftest.err'
96b8a615
AJ
5494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5495 (eval $ac_try) 2>&5
5496 ac_status=$?
5497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5498 (exit $ac_status); }; } &&
5499 { ac_try='test -s conftest.$ac_objext'
5500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5501 (eval $ac_try) 2>&5
5502 ac_status=$?
5503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5504 (exit $ac_status); }; }; then
5505 eval "$as_ac_Header=yes"
5506else
5507 echo "$as_me: failed program was:" >&5
5508sed 's/^/| /' conftest.$ac_ext >&5
5509
5510eval "$as_ac_Header=no"
5511fi
5512rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6de9cd9a
DN
5513fi
5514echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5515echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6de9cd9a
DN
5516if test `eval echo '${'$as_ac_Header'}'` = yes; then
5517 cat >>confdefs.h <<_ACEOF
5518#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5519_ACEOF
5520
5521fi
5522
5523done
5524
96b8a615
AJ
5525
5526
5527
5528for ac_header in stdlib.h unistd.h
5529do
5530as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5531if eval "test \"\${$as_ac_Header+set}\" = set"; then
5532 echo "$as_me:$LINENO: checking for $ac_header" >&5
5533echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5534if eval "test \"\${$as_ac_Header+set}\" = set"; then
6de9cd9a
DN
5535 echo $ECHO_N "(cached) $ECHO_C" >&6
5536fi
96b8a615
AJ
5537echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5538echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6de9cd9a
DN
5539else
5540 # Is the header compilable?
96b8a615
AJ
5541echo "$as_me:$LINENO: checking $ac_header usability" >&5
5542echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6de9cd9a
DN
5543cat >conftest.$ac_ext <<_ACEOF
5544/* confdefs.h. */
5545_ACEOF
5546cat confdefs.h >>conftest.$ac_ext
5547cat >>conftest.$ac_ext <<_ACEOF
5548/* end confdefs.h. */
5549$ac_includes_default
96b8a615 5550#include <$ac_header>
6de9cd9a
DN
5551_ACEOF
5552rm -f conftest.$ac_objext
5553if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5554 (eval $ac_compile) 2>conftest.er1
5555 ac_status=$?
5556 grep -v '^ *+' conftest.er1 >conftest.err
5557 rm -f conftest.er1
5558 cat conftest.err >&5
5559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5560 (exit $ac_status); } &&
1409cd0b
FXC
5561 { ac_try='test -z "$ac_c_werror_flag"
5562 || test ! -s conftest.err'
6de9cd9a
DN
5563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5564 (eval $ac_try) 2>&5
5565 ac_status=$?
5566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5567 (exit $ac_status); }; } &&
5568 { ac_try='test -s conftest.$ac_objext'
5569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5570 (eval $ac_try) 2>&5
5571 ac_status=$?
5572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573 (exit $ac_status); }; }; then
5574 ac_header_compiler=yes
5575else
5576 echo "$as_me: failed program was:" >&5
5577sed 's/^/| /' conftest.$ac_ext >&5
5578
5579ac_header_compiler=no
5580fi
5581rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5582echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5583echo "${ECHO_T}$ac_header_compiler" >&6
5584
5585# Is the header present?
96b8a615
AJ
5586echo "$as_me:$LINENO: checking $ac_header presence" >&5
5587echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6de9cd9a
DN
5588cat >conftest.$ac_ext <<_ACEOF
5589/* confdefs.h. */
5590_ACEOF
5591cat confdefs.h >>conftest.$ac_ext
5592cat >>conftest.$ac_ext <<_ACEOF
5593/* end confdefs.h. */
96b8a615 5594#include <$ac_header>
6de9cd9a
DN
5595_ACEOF
5596if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5597 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5598 ac_status=$?
5599 grep -v '^ *+' conftest.er1 >conftest.err
5600 rm -f conftest.er1
5601 cat conftest.err >&5
5602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5603 (exit $ac_status); } >/dev/null; then
5604 if test -s conftest.err; then
5605 ac_cpp_err=$ac_c_preproc_warn_flag
5606 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5607 else
5608 ac_cpp_err=
5609 fi
5610else
5611 ac_cpp_err=yes
5612fi
5613if test -z "$ac_cpp_err"; then
5614 ac_header_preproc=yes
5615else
5616 echo "$as_me: failed program was:" >&5
5617sed 's/^/| /' conftest.$ac_ext >&5
5618
5619 ac_header_preproc=no
5620fi
5621rm -f conftest.err conftest.$ac_ext
5622echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5623echo "${ECHO_T}$ac_header_preproc" >&6
5624
5625# So? What about this header?
5626case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5627 yes:no: )
96b8a615
AJ
5628 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5629echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5630 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5631echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6de9cd9a
DN
5632 ac_header_preproc=yes
5633 ;;
5634 no:yes:* )
96b8a615
AJ
5635 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5636echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5637 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5638echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5639 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5640echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5641 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5642echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5643 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5644echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5645 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5646echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6de9cd9a
DN
5647 (
5648 cat <<\_ASBOX
5649## ------------------------------------------------------ ##
5650## Report this to the GNU Fortran Runtime Library lists. ##
5651## ------------------------------------------------------ ##
5652_ASBOX
5653 ) |
5654 sed "s/^/$as_me: WARNING: /" >&2
5655 ;;
5656esac
96b8a615
AJ
5657echo "$as_me:$LINENO: checking for $ac_header" >&5
5658echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5659if eval "test \"\${$as_ac_Header+set}\" = set"; then
6de9cd9a
DN
5660 echo $ECHO_N "(cached) $ECHO_C" >&6
5661else
96b8a615 5662 eval "$as_ac_Header=\$ac_header_preproc"
6de9cd9a 5663fi
96b8a615
AJ
5664echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5665echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5666
5667fi
5668if test `eval echo '${'$as_ac_Header'}'` = yes; then
5669 cat >>confdefs.h <<_ACEOF
5670#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5671_ACEOF
6de9cd9a 5672
96b8a615 5673fi
6de9cd9a 5674
96b8a615 5675done
6de9cd9a
DN
5676
5677
96b8a615 5678for ac_func in getpagesize
6de9cd9a
DN
5679do
5680as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5681echo "$as_me:$LINENO: checking for $ac_func" >&5
5682echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5683if eval "test \"\${$as_ac_var+set}\" = set"; then
5684 echo $ECHO_N "(cached) $ECHO_C" >&6
5685else
f02d008e
JD
5686 if test x$gcc_no_link = xyes; then
5687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5688echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5689 { (exit 1); exit 1; }; }
5690fi
5691cat >conftest.$ac_ext <<_ACEOF
6de9cd9a
DN
5692/* confdefs.h. */
5693_ACEOF
5694cat confdefs.h >>conftest.$ac_ext
5695cat >>conftest.$ac_ext <<_ACEOF
5696/* end confdefs.h. */
5697/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5699#define $ac_func innocuous_$ac_func
5700
5701/* System header to define __stub macros and hopefully few prototypes,
5702 which can conflict with char $ac_func (); below.
5703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5704 <limits.h> exists even on freestanding compilers. */
5705
5706#ifdef __STDC__
5707# include <limits.h>
5708#else
5709# include <assert.h>
5710#endif
5711
5712#undef $ac_func
5713
5714/* Override any gcc2 internal prototype to avoid an error. */
5715#ifdef __cplusplus
5716extern "C"
5717{
5718#endif
5719/* We use char because int might match the return type of a gcc2
5720 builtin and then its argument prototype would still apply. */
5721char $ac_func ();
5722/* The GNU C library defines this for functions which it implements
5723 to always fail with ENOSYS. Some functions are actually named
5724 something starting with __ and the normal name is an alias. */
5725#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5726choke me
5727#else
5728char (*f) () = $ac_func;
5729#endif
5730#ifdef __cplusplus
5731}
5732#endif
5733
5734int
5735main ()
5736{
5737return f != $ac_func;
5738 ;
5739 return 0;
5740}
5741_ACEOF
5742rm -f conftest.$ac_objext conftest$ac_exeext
5743if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5744 (eval $ac_link) 2>conftest.er1
5745 ac_status=$?
5746 grep -v '^ *+' conftest.er1 >conftest.err
5747 rm -f conftest.er1
5748 cat conftest.err >&5
5749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5750 (exit $ac_status); } &&
1409cd0b
FXC
5751 { ac_try='test -z "$ac_c_werror_flag"
5752 || test ! -s conftest.err'
6de9cd9a
DN
5753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5754 (eval $ac_try) 2>&5
5755 ac_status=$?
5756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5757 (exit $ac_status); }; } &&
5758 { ac_try='test -s conftest$ac_exeext'
5759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5760 (eval $ac_try) 2>&5
5761 ac_status=$?
5762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5763 (exit $ac_status); }; }; then
5764 eval "$as_ac_var=yes"
5765else
5766 echo "$as_me: failed program was:" >&5
5767sed 's/^/| /' conftest.$ac_ext >&5
5768
5769eval "$as_ac_var=no"
5770fi
5771rm -f conftest.err conftest.$ac_objext \
5772 conftest$ac_exeext conftest.$ac_ext
5773fi
5774echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5775echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5776if test `eval echo '${'$as_ac_var'}'` = yes; then
5777 cat >>confdefs.h <<_ACEOF
5778#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5779_ACEOF
5780
5781fi
5782done
5783
96b8a615
AJ
5784echo "$as_me:$LINENO: checking for working mmap" >&5
5785echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5786if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6de9cd9a 5787 echo $ECHO_N "(cached) $ECHO_C" >&6
96b8a615
AJ
5788else
5789 if test "$cross_compiling" = yes; then
5790 ac_cv_func_mmap_fixed_mapped=no
6de9cd9a
DN
5791else
5792 cat >conftest.$ac_ext <<_ACEOF
5793/* confdefs.h. */
5794_ACEOF
5795cat confdefs.h >>conftest.$ac_ext
5796cat >>conftest.$ac_ext <<_ACEOF
5797/* end confdefs.h. */
96b8a615
AJ
5798$ac_includes_default
5799/* malloc might have been renamed as rpl_malloc. */
5800#undef malloc
5801
5802/* Thanks to Mike Haertel and Jim Avera for this test.
5803 Here is a matrix of mmap possibilities:
5804 mmap private not fixed
5805 mmap private fixed at somewhere currently unmapped
5806 mmap private fixed at somewhere already mapped
5807 mmap shared not fixed
5808 mmap shared fixed at somewhere currently unmapped
5809 mmap shared fixed at somewhere already mapped
5810 For private mappings, we should verify that changes cannot be read()
5811 back from the file, nor mmap's back from the file at a different
5812 address. (There have been systems where private was not correctly
5813 implemented like the infamous i386 svr4.0, and systems where the
5814 VM page cache was not coherent with the file system buffer cache
5815 like early versions of FreeBSD and possibly contemporary NetBSD.)
5816 For shared mappings, we should conversely verify that changes get
5817 propagated back to all the places they're supposed to be.
5818
5819 Grep wants private fixed already mapped.
5820 The main things grep needs to know about mmap are:
5821 * does it exist and is it safe to write into the mmap'd area
5822 * how to use it (BSD variants) */
5823
5824#include <fcntl.h>
5825#include <sys/mman.h>
5826
5827#if !STDC_HEADERS && !HAVE_STDLIB_H
5828char *malloc ();
5829#endif
5830
5831/* This mess was copied from the GNU getpagesize.h. */
5832#if !HAVE_GETPAGESIZE
5833/* Assume that all systems that can run configure have sys/param.h. */
5834# if !HAVE_SYS_PARAM_H
5835# define HAVE_SYS_PARAM_H 1
5836# endif
5837
5838# ifdef _SC_PAGESIZE
5839# define getpagesize() sysconf(_SC_PAGESIZE)
5840# else /* no _SC_PAGESIZE */
5841# if HAVE_SYS_PARAM_H
5842# include <sys/param.h>
5843# ifdef EXEC_PAGESIZE
5844# define getpagesize() EXEC_PAGESIZE
5845# else /* no EXEC_PAGESIZE */
5846# ifdef NBPG
5847# define getpagesize() NBPG * CLSIZE
5848# ifndef CLSIZE
5849# define CLSIZE 1
5850# endif /* no CLSIZE */
5851# else /* no NBPG */
5852# ifdef NBPC
5853# define getpagesize() NBPC
5854# else /* no NBPC */
5855# ifdef PAGESIZE
5856# define getpagesize() PAGESIZE
5857# endif /* PAGESIZE */
5858# endif /* no NBPC */
5859# endif /* no NBPG */
5860# endif /* no EXEC_PAGESIZE */
5861# else /* no HAVE_SYS_PARAM_H */
5862# define getpagesize() 8192 /* punt totally */
5863# endif /* no HAVE_SYS_PARAM_H */
5864# endif /* no _SC_PAGESIZE */
5865
5866#endif /* no HAVE_GETPAGESIZE */
6de9cd9a
DN
5867
5868int
5869main ()
5870{
96b8a615
AJ
5871 char *data, *data2, *data3;
5872 int i, pagesize;
5873 int fd;
5874
5875 pagesize = getpagesize ();
5876
5877 /* First, make a file with some known garbage in it. */
5878 data = (char *) malloc (pagesize);
5879 if (!data)
5880 exit (1);
5881 for (i = 0; i < pagesize; ++i)
5882 *(data + i) = rand ();
5883 umask (0);
5884 fd = creat ("conftest.mmap", 0600);
5885 if (fd < 0)
5886 exit (1);
5887 if (write (fd, data, pagesize) != pagesize)
5888 exit (1);
5889 close (fd);
5890
5891 /* Next, try to mmap the file at a fixed address which already has
5892 something else allocated at it. If we can, also make sure that
5893 we see the same garbage. */
5894 fd = open ("conftest.mmap", O_RDWR);
5895 if (fd < 0)
5896 exit (1);
5897 data2 = (char *) malloc (2 * pagesize);
5898 if (!data2)
5899 exit (1);
5900 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5901 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5902 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5903 exit (1);
5904 for (i = 0; i < pagesize; ++i)
5905 if (*(data + i) != *(data2 + i))
5906 exit (1);
5907
5908 /* Finally, make sure that changes to the mapped area do not
5909 percolate back to the file as seen by read(). (This is a bug on
5910 some variants of i386 svr4.0.) */
5911 for (i = 0; i < pagesize; ++i)
5912 *(data2 + i) = *(data2 + i) + 1;
5913 data3 = (char *) malloc (pagesize);
5914 if (!data3)
5915 exit (1);
5916 if (read (fd, data3, pagesize) != pagesize)
5917 exit (1);
5918 for (i = 0; i < pagesize; ++i)
5919 if (*(data + i) != *(data3 + i))
5920 exit (1);
5921 close (fd);
5922 exit (0);
6de9cd9a
DN
5923}
5924_ACEOF
96b8a615
AJ
5925rm -f conftest$ac_exeext
5926if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5927 (eval $ac_link) 2>&5
6de9cd9a
DN
5928 ac_status=$?
5929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96b8a615 5930 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6de9cd9a
DN
5931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5932 (eval $ac_try) 2>&5
5933 ac_status=$?
5934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5935 (exit $ac_status); }; }; then
96b8a615 5936 ac_cv_func_mmap_fixed_mapped=yes
6de9cd9a 5937else
96b8a615
AJ
5938 echo "$as_me: program exited with status $ac_status" >&5
5939echo "$as_me: failed program was:" >&5
6de9cd9a
DN
5940sed 's/^/| /' conftest.$ac_ext >&5
5941
96b8a615
AJ
5942( exit $ac_status )
5943ac_cv_func_mmap_fixed_mapped=no
6de9cd9a 5944fi
96b8a615 5945rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6de9cd9a 5946fi
96b8a615
AJ
5947fi
5948echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5949echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5950if test $ac_cv_func_mmap_fixed_mapped = yes; then
6de9cd9a
DN
5951
5952cat >>confdefs.h <<\_ACEOF
96b8a615 5953#define HAVE_MMAP 1
6de9cd9a
DN
5954_ACEOF
5955
5956fi
96b8a615 5957rm -f conftest.mmap
6de9cd9a 5958
f02d008e 5959fi
96b8a615
AJ
5960echo "$as_me:$LINENO: checking for off_t" >&5
5961echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5962if test "${ac_cv_type_off_t+set}" = set; then
6de9cd9a
DN
5963 echo $ECHO_N "(cached) $ECHO_C" >&6
5964else
96b8a615
AJ
5965 cat >conftest.$ac_ext <<_ACEOF
5966/* confdefs.h. */
5967_ACEOF
5968cat confdefs.h >>conftest.$ac_ext
5969cat >>conftest.$ac_ext <<_ACEOF
5970/* end confdefs.h. */
5971$ac_includes_default
6de9cd9a
DN
5972int
5973main ()
5974{
96b8a615
AJ
5975if ((off_t *) 0)
5976 return 0;
5977if (sizeof (off_t))
5978 return 0;
6de9cd9a
DN
5979 ;
5980 return 0;
5981}
5982_ACEOF
96b8a615
AJ
5983rm -f conftest.$ac_objext
5984if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5985 (eval $ac_compile) 2>conftest.er1
6de9cd9a
DN
5986 ac_status=$?
5987 grep -v '^ *+' conftest.er1 >conftest.err
5988 rm -f conftest.er1
5989 cat conftest.err >&5
5990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5991 (exit $ac_status); } &&
1409cd0b
FXC
5992 { ac_try='test -z "$ac_c_werror_flag"
5993 || test ! -s conftest.err'
6de9cd9a
DN
5994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5995 (eval $ac_try) 2>&5
5996 ac_status=$?
5997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998 (exit $ac_status); }; } &&
96b8a615 5999 { ac_try='test -s conftest.$ac_objext'
6de9cd9a
DN
6000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6001 (eval $ac_try) 2>&5
6002 ac_status=$?
6003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6004 (exit $ac_status); }; }; then
96b8a615 6005 ac_cv_type_off_t=yes
6de9cd9a
DN
6006else
6007 echo "$as_me: failed program was:" >&5
6008sed 's/^/| /' conftest.$ac_ext >&5
6009
96b8a615 6010ac_cv_type_off_t=no
6de9cd9a 6011fi
96b8a615 6012rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6de9cd9a 6013fi
96b8a615
AJ
6014echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6015echo "${ECHO_T}$ac_cv_type_off_t" >&6
6016if test $ac_cv_type_off_t = yes; then
6017 :
6018else
6019
6020cat >>confdefs.h <<_ACEOF
6021#define off_t long
6de9cd9a
DN
6022_ACEOF
6023
6024fi
6de9cd9a 6025
96b8a615
AJ
6026
6027# check header files
6028echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6029echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6030if test "${ac_cv_header_stdc+set}" = set; then
6de9cd9a
DN
6031 echo $ECHO_N "(cached) $ECHO_C" >&6
6032else
6033 cat >conftest.$ac_ext <<_ACEOF
6034/* confdefs.h. */
6035_ACEOF
6036cat confdefs.h >>conftest.$ac_ext
6037cat >>conftest.$ac_ext <<_ACEOF
6038/* end confdefs.h. */
96b8a615
AJ
6039#include <stdlib.h>
6040#include <stdarg.h>
6041#include <string.h>
6042#include <float.h>
6043
6de9cd9a
DN
6044int
6045main ()
6046{
96b8a615 6047
6de9cd9a
DN
6048 ;
6049 return 0;
6050}
6051_ACEOF
6052rm -f conftest.$ac_objext
6053if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6054 (eval $ac_compile) 2>conftest.er1
6055 ac_status=$?
6056 grep -v '^ *+' conftest.er1 >conftest.err
6057 rm -f conftest.er1
6058 cat conftest.err >&5
6059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6060 (exit $ac_status); } &&
1409cd0b
FXC
6061 { ac_try='test -z "$ac_c_werror_flag"
6062 || test ! -s conftest.err'
6de9cd9a
DN
6063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6064 (eval $ac_try) 2>&5
6065 ac_status=$?
6066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6067 (exit $ac_status); }; } &&
6068 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
96b8a615 6074 ac_cv_header_stdc=yes
6de9cd9a
DN
6075else
6076 echo "$as_me: failed program was:" >&5
6077sed 's/^/| /' conftest.$ac_ext >&5
6078
96b8a615 6079ac_cv_header_stdc=no
6de9cd9a
DN
6080fi
6081rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96b8a615
AJ
6082
6083if test $ac_cv_header_stdc = yes; then
6084 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6de9cd9a
DN
6085 cat >conftest.$ac_ext <<_ACEOF
6086/* confdefs.h. */
6087_ACEOF
6088cat confdefs.h >>conftest.$ac_ext
6089cat >>conftest.$ac_ext <<_ACEOF
6090/* end confdefs.h. */
96b8a615 6091#include <string.h>
6de9cd9a 6092
6de9cd9a 6093_ACEOF
96b8a615
AJ
6094if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6095 $EGREP "memchr" >/dev/null 2>&1; then
6096 :
6de9cd9a 6097else
96b8a615 6098 ac_cv_header_stdc=no
6de9cd9a 6099fi
96b8a615
AJ
6100rm -f conftest*
6101
6de9cd9a 6102fi
6de9cd9a 6103
96b8a615
AJ
6104if test $ac_cv_header_stdc = yes; then
6105 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6106 cat >conftest.$ac_ext <<_ACEOF
6107/* confdefs.h. */
6108_ACEOF
6109cat confdefs.h >>conftest.$ac_ext
6110cat >>conftest.$ac_ext <<_ACEOF
6111/* end confdefs.h. */
6112#include <stdlib.h>
6113
6de9cd9a 6114_ACEOF
96b8a615
AJ
6115if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6116 $EGREP "free" >/dev/null 2>&1; then
6117 :
6118else
6119 ac_cv_header_stdc=no
6120fi
6121rm -f conftest*
6de9cd9a 6122
96b8a615 6123fi
6de9cd9a 6124
96b8a615
AJ
6125if test $ac_cv_header_stdc = yes; then
6126 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6127 if test "$cross_compiling" = yes; then
6128 :
6de9cd9a
DN
6129else
6130 cat >conftest.$ac_ext <<_ACEOF
6131/* confdefs.h. */
6132_ACEOF
6133cat confdefs.h >>conftest.$ac_ext
6134cat >>conftest.$ac_ext <<_ACEOF
6135/* end confdefs.h. */
96b8a615
AJ
6136#include <ctype.h>
6137#if ((' ' & 0x0FF) == 0x020)
6138# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6139# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6de9cd9a 6140#else
96b8a615
AJ
6141# define ISLOWER(c) \
6142 (('a' <= (c) && (c) <= 'i') \
6143 || ('j' <= (c) && (c) <= 'r') \
6144 || ('s' <= (c) && (c) <= 'z'))
6145# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6de9cd9a
DN
6146#endif
6147
96b8a615 6148#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6de9cd9a
DN
6149int
6150main ()
6151{
96b8a615
AJ
6152 int i;
6153 for (i = 0; i < 256; i++)
6154 if (XOR (islower (i), ISLOWER (i))
6155 || toupper (i) != TOUPPER (i))
6156 exit(2);
6157 exit (0);
6de9cd9a
DN
6158}
6159_ACEOF
96b8a615 6160rm -f conftest$ac_exeext
6de9cd9a 6161if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96b8a615 6162 (eval $ac_link) 2>&5
6de9cd9a
DN
6163 ac_status=$?
6164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96b8a615 6165 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6de9cd9a
DN
6166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6167 (eval $ac_try) 2>&5
6168 ac_status=$?
96b8a615
AJ
6169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6170 (exit $ac_status); }; }; then
6171 :
6de9cd9a 6172else
96b8a615
AJ
6173 echo "$as_me: program exited with status $ac_status" >&5
6174echo "$as_me: failed program was:" >&5
6175sed 's/^/| /' conftest.$ac_ext >&5
6de9cd9a 6176
96b8a615
AJ
6177( exit $ac_status )
6178ac_cv_header_stdc=no
6de9cd9a 6179fi
96b8a615 6180rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6de9cd9a
DN
6181fi
6182fi
6de9cd9a 6183fi
96b8a615
AJ
6184echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6185echo "${ECHO_T}$ac_cv_header_stdc" >&6
6186if test $ac_cv_header_stdc = yes; then
6de9cd9a 6187
96b8a615
AJ
6188cat >>confdefs.h <<\_ACEOF
6189#define STDC_HEADERS 1
6190_ACEOF
6de9cd9a
DN
6191
6192fi
6193
6de9cd9a
DN
6194
6195
6de9cd9a 6196
6de9cd9a
DN
6197
6198
6199
f77b6ca3
FXC
6200
6201for ac_header in stdlib.h stdio.h string.h stddef.h math.h unistd.h signal.h
96b8a615
AJ
6202do
6203as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6204if eval "test \"\${$as_ac_Header+set}\" = set"; then
6205 echo "$as_me:$LINENO: checking for $ac_header" >&5
6206echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6207if eval "test \"\${$as_ac_Header+set}\" = set"; then
6208 echo $ECHO_N "(cached) $ECHO_C" >&6
6209fi
6210echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6211echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6de9cd9a 6212else
96b8a615
AJ
6213 # Is the header compilable?
6214echo "$as_me:$LINENO: checking $ac_header usability" >&5
6215echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6216cat >conftest.$ac_ext <<_ACEOF
6217/* confdefs.h. */
6218_ACEOF
6219cat confdefs.h >>conftest.$ac_ext
6220cat >>conftest.$ac_ext <<_ACEOF
6221/* end confdefs.h. */
6222$ac_includes_default
6223#include <$ac_header>
6224_ACEOF
6225rm -f conftest.$ac_objext
6226if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6227 (eval $ac_compile) 2>conftest.er1
6228 ac_status=$?
6229 grep -v '^ *+' conftest.er1 >conftest.err
6230 rm -f conftest.er1
6231 cat conftest.err >&5
6232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6233 (exit $ac_status); } &&
1409cd0b
FXC
6234 { ac_try='test -z "$ac_c_werror_flag"
6235 || test ! -s conftest.err'
96b8a615
AJ
6236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6237 (eval $ac_try) 2>&5
6238 ac_status=$?
6239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6240 (exit $ac_status); }; } &&
6241 { ac_try='test -s conftest.$ac_objext'
6242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6243 (eval $ac_try) 2>&5
6244 ac_status=$?
6245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6246 (exit $ac_status); }; }; then
6247 ac_header_compiler=yes
6de9cd9a 6248else
96b8a615
AJ
6249 echo "$as_me: failed program was:" >&5
6250sed 's/^/| /' conftest.$ac_ext >&5
6251
6252ac_header_compiler=no
6de9cd9a 6253fi
96b8a615
AJ
6254rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6255echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6256echo "${ECHO_T}$ac_header_compiler" >&6
6257
6258# Is the header present?
6259echo "$as_me:$LINENO: checking $ac_header presence" >&5
6260echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6261cat >conftest.$ac_ext <<_ACEOF
6262/* confdefs.h. */
6263_ACEOF
6264cat confdefs.h >>conftest.$ac_ext
6265cat >>conftest.$ac_ext <<_ACEOF
6266/* end confdefs.h. */
6267#include <$ac_header>
6268_ACEOF
6269if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6270 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6271 ac_status=$?
6272 grep -v '^ *+' conftest.er1 >conftest.err
6273 rm -f conftest.er1
6274 cat conftest.err >&5
6275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6276 (exit $ac_status); } >/dev/null; then
6277 if test -s conftest.err; then
6278 ac_cpp_err=$ac_c_preproc_warn_flag
6279 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6280 else
6281 ac_cpp_err=
6282 fi
6de9cd9a 6283else
96b8a615 6284 ac_cpp_err=yes
6de9cd9a 6285fi
96b8a615
AJ
6286if test -z "$ac_cpp_err"; then
6287 ac_header_preproc=yes
6de9cd9a 6288else
96b8a615
AJ
6289 echo "$as_me: failed program was:" >&5
6290sed 's/^/| /' conftest.$ac_ext >&5
6291
6292 ac_header_preproc=no
6de9cd9a 6293fi
96b8a615
AJ
6294rm -f conftest.err conftest.$ac_ext
6295echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6296echo "${ECHO_T}$ac_header_preproc" >&6
6297
6298# So? What about this header?
6299case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6300 yes:no: )
6301 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6302echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6304echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6305 ac_header_preproc=yes
6306 ;;
6307 no:yes:* )
6308 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6309echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6310 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6311echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6312 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6313echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6314 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6315echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6316 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6317echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6318 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6319echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6320 (
6321 cat <<\_ASBOX
6322## ------------------------------------------------------ ##
6323## Report this to the GNU Fortran Runtime Library lists. ##
6324## ------------------------------------------------------ ##
6325_ASBOX
6326 ) |
6327 sed "s/^/$as_me: WARNING: /" >&2
6328 ;;
6329esac
6330echo "$as_me:$LINENO: checking for $ac_header" >&5
6331echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6332if eval "test \"\${$as_ac_Header+set}\" = set"; then
6de9cd9a
DN
6333 echo $ECHO_N "(cached) $ECHO_C" >&6
6334else
96b8a615 6335 eval "$as_ac_Header=\$ac_header_preproc"
6de9cd9a 6336fi
96b8a615
AJ
6337echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6338echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6de9cd9a 6339
96b8a615
AJ
6340fi
6341if test `eval echo '${'$as_ac_Header'}'` = yes; then
6342 cat >>confdefs.h <<_ACEOF
6343#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6344_ACEOF
6de9cd9a 6345
6de9cd9a 6346fi
6de9cd9a 6347
96b8a615
AJ
6348done
6349
6350
6351
6352
6353
6354
6355for ac_header in time.h sys/params.h sys/time.h sys/times.h sys/resource.h
6356do
6357as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6358if eval "test \"\${$as_ac_Header+set}\" = set"; then
6359 echo "$as_me:$LINENO: checking for $ac_header" >&5
f596fc98
AL
6360echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6361if eval "test \"\${$as_ac_Header+set}\" = set"; then
6362 echo $ECHO_N "(cached) $ECHO_C" >&6
6363fi
6364echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6365echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6366else
6367 # Is the header compilable?
6368echo "$as_me:$LINENO: checking $ac_header usability" >&5
6369echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6370cat >conftest.$ac_ext <<_ACEOF
6371/* confdefs.h. */
6372_ACEOF
6373cat confdefs.h >>conftest.$ac_ext
6374cat >>conftest.$ac_ext <<_ACEOF
6375/* end confdefs.h. */
6376$ac_includes_default
6377#include <$ac_header>
6378_ACEOF
6379rm -f conftest.$ac_objext
6380if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6381 (eval $ac_compile) 2>conftest.er1
6382 ac_status=$?
6383 grep -v '^ *+' conftest.er1 >conftest.err
6384 rm -f conftest.er1
6385 cat conftest.err >&5
6386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6387 (exit $ac_status); } &&
1409cd0b
FXC
6388 { ac_try='test -z "$ac_c_werror_flag"
6389 || test ! -s conftest.err'
f596fc98
AL
6390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6391 (eval $ac_try) 2>&5
6392 ac_status=$?
6393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6394 (exit $ac_status); }; } &&
6395 { ac_try='test -s conftest.$ac_objext'
6396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6397 (eval $ac_try) 2>&5
6398 ac_status=$?
6399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6400 (exit $ac_status); }; }; then
6401 ac_header_compiler=yes
6402else
6403 echo "$as_me: failed program was:" >&5
6404sed 's/^/| /' conftest.$ac_ext >&5
6405
6406ac_header_compiler=no
6407fi
6408rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6409echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6410echo "${ECHO_T}$ac_header_compiler" >&6
6411
6412# Is the header present?
6413echo "$as_me:$LINENO: checking $ac_header presence" >&5
6414echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6415cat >conftest.$ac_ext <<_ACEOF
6416/* confdefs.h. */
6417_ACEOF
6418cat confdefs.h >>conftest.$ac_ext
6419cat >>conftest.$ac_ext <<_ACEOF
6420/* end confdefs.h. */
6421#include <$ac_header>
6422_ACEOF
6423if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6424 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6425 ac_status=$?
6426 grep -v '^ *+' conftest.er1 >conftest.err
6427 rm -f conftest.er1
6428 cat conftest.err >&5
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); } >/dev/null; then
6431 if test -s conftest.err; then
6432 ac_cpp_err=$ac_c_preproc_warn_flag
6433 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6434 else
6435 ac_cpp_err=
6436 fi
6437else
6438 ac_cpp_err=yes
6439fi
6440if test -z "$ac_cpp_err"; then
6441 ac_header_preproc=yes
6442else
6443 echo "$as_me: failed program was:" >&5
6444sed 's/^/| /' conftest.$ac_ext >&5
6445
6446 ac_header_preproc=no
6447fi
6448rm -f conftest.err conftest.$ac_ext
6449echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6450echo "${ECHO_T}$ac_header_preproc" >&6
6451
6452# So? What about this header?
6453case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6454 yes:no: )
6455 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6456echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6457 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6458echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6459 ac_header_preproc=yes
6460 ;;
6461 no:yes:* )
6462 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6463echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6464 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6465echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6466 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6467echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6468 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6469echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6471echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6472 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6473echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6474 (
6475 cat <<\_ASBOX
6476## ------------------------------------------------------ ##
6477## Report this to the GNU Fortran Runtime Library lists. ##
6478## ------------------------------------------------------ ##
6479_ASBOX
6480 ) |
6481 sed "s/^/$as_me: WARNING: /" >&2
6482 ;;
6483esac
6484echo "$as_me:$LINENO: checking for $ac_header" >&5
6485echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6486if eval "test \"\${$as_ac_Header+set}\" = set"; then
6487 echo $ECHO_N "(cached) $ECHO_C" >&6
6488else
6489 eval "$as_ac_Header=\$ac_header_preproc"
6490fi
6491echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6492echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6493
6494fi
6495if test `eval echo '${'$as_ac_Header'}'` = yes; then
6496 cat >>confdefs.h <<_ACEOF
6497#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6498_ACEOF
6499
6500fi
6501
6502done
6503
6504
df65f093
SK
6505
6506
6e4d9244 6507
944b8b35 6508
3b14f664
FXC
6509for ac_header in sys/mman.h sys/types.h sys/stat.h floatingpoint.h ieeefp.h
6510do
6511as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6512if eval "test \"\${$as_ac_Header+set}\" = set"; then
6513 echo "$as_me:$LINENO: checking for $ac_header" >&5
6514echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6515if eval "test \"\${$as_ac_Header+set}\" = set"; then
6516 echo $ECHO_N "(cached) $ECHO_C" >&6
6517fi
6518echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6519echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6520else
6521 # Is the header compilable?
6522echo "$as_me:$LINENO: checking $ac_header usability" >&5
6523echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6524cat >conftest.$ac_ext <<_ACEOF
6525/* confdefs.h. */
6526_ACEOF
6527cat confdefs.h >>conftest.$ac_ext
6528cat >>conftest.$ac_ext <<_ACEOF
6529/* end confdefs.h. */
6530$ac_includes_default
6531#include <$ac_header>
6532_ACEOF
6533rm -f conftest.$ac_objext
6534if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6535 (eval $ac_compile) 2>conftest.er1
6536 ac_status=$?
6537 grep -v '^ *+' conftest.er1 >conftest.err
6538 rm -f conftest.er1
6539 cat conftest.err >&5
6540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6541 (exit $ac_status); } &&
6542 { ac_try='test -z "$ac_c_werror_flag"
6543 || test ! -s conftest.err'
6544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6545 (eval $ac_try) 2>&5
6546 ac_status=$?
6547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6548 (exit $ac_status); }; } &&
6549 { ac_try='test -s conftest.$ac_objext'
6550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6551 (eval $ac_try) 2>&5
6552 ac_status=$?
6553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6554 (exit $ac_status); }; }; then
6555 ac_header_compiler=yes
6556else
6557 echo "$as_me: failed program was:" >&5
6558sed 's/^/| /' conftest.$ac_ext >&5
6559
6560ac_header_compiler=no
6561fi
6562rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6563echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6564echo "${ECHO_T}$ac_header_compiler" >&6
6565
6566# Is the header present?
6567echo "$as_me:$LINENO: checking $ac_header presence" >&5
6568echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6569cat >conftest.$ac_ext <<_ACEOF
6570/* confdefs.h. */
6571_ACEOF
6572cat confdefs.h >>conftest.$ac_ext
6573cat >>conftest.$ac_ext <<_ACEOF
6574/* end confdefs.h. */
6575#include <$ac_header>
6576_ACEOF
6577if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6578 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6579 ac_status=$?
6580 grep -v '^ *+' conftest.er1 >conftest.err
6581 rm -f conftest.er1
6582 cat conftest.err >&5
6583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6584 (exit $ac_status); } >/dev/null; then
6585 if test -s conftest.err; then
6586 ac_cpp_err=$ac_c_preproc_warn_flag
6587 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6588 else
6589 ac_cpp_err=
6590 fi
6591else
6592 ac_cpp_err=yes
6593fi
6594if test -z "$ac_cpp_err"; then
6595 ac_header_preproc=yes
6596else
6597 echo "$as_me: failed program was:" >&5
6598sed 's/^/| /' conftest.$ac_ext >&5
6599
6600 ac_header_preproc=no
6601fi
6602rm -f conftest.err conftest.$ac_ext
6603echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6604echo "${ECHO_T}$ac_header_preproc" >&6
6605
6606# So? What about this header?
6607case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6608 yes:no: )
6609 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6610echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6611 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6612echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6613 ac_header_preproc=yes
6614 ;;
6615 no:yes:* )
6616 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6617echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6618 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6619echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6620 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6621echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6622 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6623echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6624 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6625echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6626 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6627echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6628 (
6629 cat <<\_ASBOX
6630## ------------------------------------------------------ ##
6631## Report this to the GNU Fortran Runtime Library lists. ##
6632## ------------------------------------------------------ ##
6633_ASBOX
6634 ) |
6635 sed "s/^/$as_me: WARNING: /" >&2
6636 ;;
6637esac
6638echo "$as_me:$LINENO: checking for $ac_header" >&5
6639echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6640if eval "test \"\${$as_ac_Header+set}\" = set"; then
6641 echo $ECHO_N "(cached) $ECHO_C" >&6
6642else
6643 eval "$as_ac_Header=\$ac_header_preproc"
6644fi
6645echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6646echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6647
6648fi
6649if test `eval echo '${'$as_ac_Header'}'` = yes; then
6650 cat >>confdefs.h <<_ACEOF
6651#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6652_ACEOF
6653
6654fi
6655
6656done
6657
6658
6659
6660
6661for ac_header in fenv.h fptrap.h float.h
f596fc98
AL
6662do
6663as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6664if eval "test \"\${$as_ac_Header+set}\" = set"; then
6665 echo "$as_me:$LINENO: checking for $ac_header" >&5
96b8a615
AJ
6666echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6667if eval "test \"\${$as_ac_Header+set}\" = set"; then
6de9cd9a 6668 echo $ECHO_N "(cached) $ECHO_C" >&6
96b8a615
AJ
6669fi
6670echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6671echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6de9cd9a 6672else
96b8a615
AJ
6673 # Is the header compilable?
6674echo "$as_me:$LINENO: checking $ac_header usability" >&5
6675echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6676cat >conftest.$ac_ext <<_ACEOF
6677/* confdefs.h. */
6678_ACEOF
6679cat confdefs.h >>conftest.$ac_ext
6680cat >>conftest.$ac_ext <<_ACEOF
6681/* end confdefs.h. */
6682$ac_includes_default
6683#include <$ac_header>
6684_ACEOF
6685rm -f conftest.$ac_objext
6686if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6687 (eval $ac_compile) 2>conftest.er1
6688 ac_status=$?
6689 grep -v '^ *+' conftest.er1 >conftest.err
6690 rm -f conftest.er1
6691 cat conftest.err >&5
6692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6693 (exit $ac_status); } &&
1409cd0b
FXC
6694 { ac_try='test -z "$ac_c_werror_flag"
6695 || test ! -s conftest.err'
96b8a615
AJ
6696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6697 (eval $ac_try) 2>&5
6698 ac_status=$?
6699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6700 (exit $ac_status); }; } &&
6701 { ac_try='test -s conftest.$ac_objext'
6702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6703 (eval $ac_try) 2>&5
6704 ac_status=$?
6705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6706 (exit $ac_status); }; }; then
6707 ac_header_compiler=yes
6de9cd9a 6708else
96b8a615
AJ
6709 echo "$as_me: failed program was:" >&5
6710sed 's/^/| /' conftest.$ac_ext >&5
6de9cd9a 6711
96b8a615
AJ
6712ac_header_compiler=no
6713fi
6714rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6715echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6716echo "${ECHO_T}$ac_header_compiler" >&6
6de9cd9a 6717
96b8a615
AJ
6718# Is the header present?
6719echo "$as_me:$LINENO: checking $ac_header presence" >&5
6720echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6721cat >conftest.$ac_ext <<_ACEOF
6722/* confdefs.h. */
6723_ACEOF
6724cat confdefs.h >>conftest.$ac_ext
6725cat >>conftest.$ac_ext <<_ACEOF
6726/* end confdefs.h. */
6727#include <$ac_header>
6728_ACEOF
6729if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6730 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6731 ac_status=$?
6732 grep -v '^ *+' conftest.er1 >conftest.err
6733 rm -f conftest.er1
6734 cat conftest.err >&5
6735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6736 (exit $ac_status); } >/dev/null; then
6737 if test -s conftest.err; then
6738 ac_cpp_err=$ac_c_preproc_warn_flag
6739 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6740 else
6741 ac_cpp_err=
6742 fi
6de9cd9a 6743else
96b8a615 6744 ac_cpp_err=yes
6de9cd9a 6745fi
96b8a615
AJ
6746if test -z "$ac_cpp_err"; then
6747 ac_header_preproc=yes
6de9cd9a 6748else
96b8a615
AJ
6749 echo "$as_me: failed program was:" >&5
6750sed 's/^/| /' conftest.$ac_ext >&5
6de9cd9a 6751
96b8a615
AJ
6752 ac_header_preproc=no
6753fi
6754rm -f conftest.err conftest.$ac_ext
6755echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6756echo "${ECHO_T}$ac_header_preproc" >&6
6de9cd9a 6757
96b8a615
AJ
6758# So? What about this header?
6759case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6760 yes:no: )
6761 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6762echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6763 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6764echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6765 ac_header_preproc=yes
6de9cd9a 6766 ;;
96b8a615
AJ
6767 no:yes:* )
6768 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6769echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6770 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6771echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6772 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6773echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6774 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6775echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6776 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6777echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6778 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6779echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6780 (
6781 cat <<\_ASBOX
6782## ------------------------------------------------------ ##
6783## Report this to the GNU Fortran Runtime Library lists. ##
6784## ------------------------------------------------------ ##
6785_ASBOX
6786 ) |
6787 sed "s/^/$as_me: WARNING: /" >&2
6de9cd9a 6788 ;;
96b8a615
AJ
6789esac
6790echo "$as_me:$LINENO: checking for $ac_header" >&5
6791echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6792if eval "test \"\${$as_ac_Header+set}\" = set"; then
6793 echo $ECHO_N "(cached) $ECHO_C" >&6
6794else
6795 eval "$as_ac_Header=\$ac_header_preproc"
6796fi
6797echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6798echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6de9cd9a 6799
96b8a615
AJ
6800fi
6801if test `eval echo '${'$as_ac_Header'}'` = yes; then
6802 cat >>confdefs.h <<_ACEOF
6803#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6804_ACEOF
6de9cd9a 6805
96b8a615 6806fi
6de9cd9a 6807
96b8a615 6808done
6de9cd9a 6809
96b8a615
AJ
6810if test "${ac_cv_header_complex_h+set}" = set; then
6811 echo "$as_me:$LINENO: checking for complex.h" >&5
6812echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6813if test "${ac_cv_header_complex_h+set}" = set; then
6814 echo $ECHO_N "(cached) $ECHO_C" >&6
6815fi
6816echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6817echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6818else
6819 # Is the header compilable?
6820echo "$as_me:$LINENO: checking complex.h usability" >&5
6821echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
6822cat >conftest.$ac_ext <<_ACEOF
6823/* confdefs.h. */
6824_ACEOF
6825cat confdefs.h >>conftest.$ac_ext
6826cat >>conftest.$ac_ext <<_ACEOF
6827/* end confdefs.h. */
6828$ac_includes_default
6829#include <complex.h>
6830_ACEOF
6831rm -f conftest.$ac_objext
6832if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6833 (eval $ac_compile) 2>conftest.er1
6834 ac_status=$?
6835 grep -v '^ *+' conftest.er1 >conftest.err
6836 rm -f conftest.er1
6837 cat conftest.err >&5
6838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6839 (exit $ac_status); } &&
1409cd0b
FXC
6840 { ac_try='test -z "$ac_c_werror_flag"
6841 || test ! -s conftest.err'
96b8a615
AJ
6842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6843 (eval $ac_try) 2>&5
6844 ac_status=$?
6845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6846 (exit $ac_status); }; } &&
6847 { ac_try='test -s conftest.$ac_objext'
6848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6849 (eval $ac_try) 2>&5
6850 ac_status=$?
6851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852 (exit $ac_status); }; }; then
6853 ac_header_compiler=yes
6854else
6855 echo "$as_me: failed program was:" >&5
6856sed 's/^/| /' conftest.$ac_ext >&5
6de9cd9a 6857
96b8a615
AJ
6858ac_header_compiler=no
6859fi
6860rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6861echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6862echo "${ECHO_T}$ac_header_compiler" >&6
6de9cd9a 6863
96b8a615
AJ
6864# Is the header present?
6865echo "$as_me:$LINENO: checking complex.h presence" >&5
6866echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
6867cat >conftest.$ac_ext <<_ACEOF
6868/* confdefs.h. */
6869_ACEOF
6870cat confdefs.h >>conftest.$ac_ext
6871cat >>conftest.$ac_ext <<_ACEOF
6872/* end confdefs.h. */
6873#include <complex.h>
6874_ACEOF
6875if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6876 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6877 ac_status=$?
6878 grep -v '^ *+' conftest.er1 >conftest.err
6879 rm -f conftest.er1
6880 cat conftest.err >&5
6881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6882 (exit $ac_status); } >/dev/null; then
6883 if test -s conftest.err; then
6884 ac_cpp_err=$ac_c_preproc_warn_flag
6885 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6de9cd9a 6886 else
96b8a615 6887 ac_cpp_err=
6de9cd9a 6888 fi
96b8a615
AJ
6889else
6890 ac_cpp_err=yes
6891fi
6892if test -z "$ac_cpp_err"; then
6893 ac_header_preproc=yes
6894else
6895 echo "$as_me: failed program was:" >&5
6896sed 's/^/| /' conftest.$ac_ext >&5
6de9cd9a 6897
96b8a615
AJ
6898 ac_header_preproc=no
6899fi
6900rm -f conftest.err conftest.$ac_ext
6901echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6902echo "${ECHO_T}$ac_header_preproc" >&6
6de9cd9a 6903
96b8a615
AJ
6904# So? What about this header?
6905case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6906 yes:no: )
6907 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
6908echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6909 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
6910echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
6911 ac_header_preproc=yes
6de9cd9a 6912 ;;
96b8a615
AJ
6913 no:yes:* )
6914 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
6915echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
6916 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
6917echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
6918 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
6919echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
6920 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
6921echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
6922 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
6923echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
6924 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
6925echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
6926 (
6927 cat <<\_ASBOX
6928## ------------------------------------------------------ ##
6929## Report this to the GNU Fortran Runtime Library lists. ##
6930## ------------------------------------------------------ ##
6931_ASBOX
6932 ) |
6933 sed "s/^/$as_me: WARNING: /" >&2
6de9cd9a 6934 ;;
6de9cd9a 6935esac
96b8a615
AJ
6936echo "$as_me:$LINENO: checking for complex.h" >&5
6937echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
6938if test "${ac_cv_header_complex_h+set}" = set; then
6939 echo $ECHO_N "(cached) $ECHO_C" >&6
6940else
6941 ac_cv_header_complex_h=$ac_header_preproc
6942fi
6943echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
6944echo "${ECHO_T}$ac_cv_header_complex_h" >&6
6de9cd9a
DN
6945
6946fi
96b8a615 6947if test $ac_cv_header_complex_h = yes; then
6de9cd9a 6948
96b8a615
AJ
6949cat >>confdefs.h <<\_ACEOF
6950#define HAVE_COMPLEX_H 1
6951_ACEOF
6de9cd9a 6952
96b8a615 6953fi
6de9cd9a
DN
6954
6955
6de9cd9a 6956
df65f093
SK
6957echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6958echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
6959if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6960 echo $ECHO_N "(cached) $ECHO_C" >&6
6961else
6962 cat >conftest.$ac_ext <<_ACEOF
6963/* confdefs.h. */
6964_ACEOF
6965cat confdefs.h >>conftest.$ac_ext
6966cat >>conftest.$ac_ext <<_ACEOF
6967/* end confdefs.h. */
6968$ac_includes_default
6969int
6970main ()
6971{
6972static struct stat ac_aggr;
6973if (ac_aggr.st_blksize)
6974return 0;
6975 ;
6976 return 0;
6977}
6978_ACEOF
6979rm -f conftest.$ac_objext
6980if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6981 (eval $ac_compile) 2>conftest.er1
6982 ac_status=$?
6983 grep -v '^ *+' conftest.er1 >conftest.err
6984 rm -f conftest.er1
6985 cat conftest.err >&5
6986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6987 (exit $ac_status); } &&
1409cd0b
FXC
6988 { ac_try='test -z "$ac_c_werror_flag"
6989 || test ! -s conftest.err'
df65f093
SK
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); } &&
1409cd0b
FXC
7032 { ac_try='test -z "$ac_c_werror_flag"
7033 || test ! -s conftest.err'
df65f093
SK
7034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7035 (eval $ac_try) 2>&5
7036 ac_status=$?
7037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7038 (exit $ac_status); }; } &&
7039 { ac_try='test -s conftest.$ac_objext'
7040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7041 (eval $ac_try) 2>&5
7042 ac_status=$?
7043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7044 (exit $ac_status); }; }; then
7045 ac_cv_member_struct_stat_st_blksize=yes
7046else
7047 echo "$as_me: failed program was:" >&5
7048sed 's/^/| /' conftest.$ac_ext >&5
7049
7050ac_cv_member_struct_stat_st_blksize=no
7051fi
7052rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7053fi
7054rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7055fi
7056echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
7057echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
7058if test $ac_cv_member_struct_stat_st_blksize = yes; then
7059
7060cat >>confdefs.h <<_ACEOF
7061#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
7062_ACEOF
7063
7064
7065fi
7066
7067echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
7068echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
7069if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
7070 echo $ECHO_N "(cached) $ECHO_C" >&6
7071else
7072 cat >conftest.$ac_ext <<_ACEOF
7073/* confdefs.h. */
7074_ACEOF
7075cat confdefs.h >>conftest.$ac_ext
7076cat >>conftest.$ac_ext <<_ACEOF
7077/* end confdefs.h. */
7078$ac_includes_default
7079int
7080main ()
7081{
7082static struct stat ac_aggr;
7083if (ac_aggr.st_blocks)
7084return 0;
7085 ;
7086 return 0;
7087}
7088_ACEOF
7089rm -f conftest.$ac_objext
7090if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7091 (eval $ac_compile) 2>conftest.er1
7092 ac_status=$?
7093 grep -v '^ *+' conftest.er1 >conftest.err
7094 rm -f conftest.er1
7095 cat conftest.err >&5
7096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7097 (exit $ac_status); } &&
1409cd0b
FXC
7098 { ac_try='test -z "$ac_c_werror_flag"
7099 || test ! -s conftest.err'
df65f093
SK
7100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7101 (eval $ac_try) 2>&5
7102 ac_status=$?
7103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7104 (exit $ac_status); }; } &&
7105 { ac_try='test -s conftest.$ac_objext'
7106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7107 (eval $ac_try) 2>&5
7108 ac_status=$?
7109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7110 (exit $ac_status); }; }; then
7111 ac_cv_member_struct_stat_st_blocks=yes
7112else
7113 echo "$as_me: failed program was:" >&5
7114sed 's/^/| /' conftest.$ac_ext >&5
7115
7116cat >conftest.$ac_ext <<_ACEOF
7117/* confdefs.h. */
7118_ACEOF
7119cat confdefs.h >>conftest.$ac_ext
7120cat >>conftest.$ac_ext <<_ACEOF
7121/* end confdefs.h. */
7122$ac_includes_default
7123int
7124main ()
7125{
7126static struct stat ac_aggr;
7127if (sizeof ac_aggr.st_blocks)
7128return 0;
7129 ;
7130 return 0;
7131}
7132_ACEOF
7133rm -f conftest.$ac_objext
7134if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7135 (eval $ac_compile) 2>conftest.er1
7136 ac_status=$?
7137 grep -v '^ *+' conftest.er1 >conftest.err
7138 rm -f conftest.er1
7139 cat conftest.err >&5
7140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7141 (exit $ac_status); } &&
1409cd0b
FXC
7142 { ac_try='test -z "$ac_c_werror_flag"
7143 || test ! -s conftest.err'
df65f093
SK
7144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7145 (eval $ac_try) 2>&5
7146 ac_status=$?
7147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7148 (exit $ac_status); }; } &&
7149 { ac_try='test -s conftest.$ac_objext'
7150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7151 (eval $ac_try) 2>&5
7152 ac_status=$?
7153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7154 (exit $ac_status); }; }; then
7155 ac_cv_member_struct_stat_st_blocks=yes
7156else
7157 echo "$as_me: failed program was:" >&5
7158sed 's/^/| /' conftest.$ac_ext >&5
7159
7160ac_cv_member_struct_stat_st_blocks=no
7161fi
7162rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7163fi
7164rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7165fi
7166echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
7167echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
7168if test $ac_cv_member_struct_stat_st_blocks = yes; then
7169
7170cat >>confdefs.h <<_ACEOF
7171#define HAVE_STRUCT_STAT_ST_BLOCKS 1
7172_ACEOF
7173
7174
7175fi
7176
7177echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
7178echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
7179if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
7180 echo $ECHO_N "(cached) $ECHO_C" >&6
7181else
7182 cat >conftest.$ac_ext <<_ACEOF
7183/* confdefs.h. */
7184_ACEOF
7185cat confdefs.h >>conftest.$ac_ext
7186cat >>conftest.$ac_ext <<_ACEOF
7187/* end confdefs.h. */
7188$ac_includes_default
7189int
7190main ()
7191{
7192static struct stat ac_aggr;
7193if (ac_aggr.st_rdev)
7194return 0;
7195 ;
7196 return 0;
7197}
7198_ACEOF
7199rm -f conftest.$ac_objext
7200if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7201 (eval $ac_compile) 2>conftest.er1
7202 ac_status=$?
7203 grep -v '^ *+' conftest.er1 >conftest.err
7204 rm -f conftest.er1
7205 cat conftest.err >&5
7206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7207 (exit $ac_status); } &&
1409cd0b
FXC
7208 { ac_try='test -z "$ac_c_werror_flag"
7209 || test ! -s conftest.err'
df65f093
SK
7210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7211 (eval $ac_try) 2>&5
7212 ac_status=$?
7213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7214 (exit $ac_status); }; } &&
7215 { ac_try='test -s conftest.$ac_objext'
7216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7217 (eval $ac_try) 2>&5
7218 ac_status=$?
7219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7220 (exit $ac_status); }; }; then
7221 ac_cv_member_struct_stat_st_rdev=yes
7222else
7223 echo "$as_me: failed program was:" >&5
7224sed 's/^/| /' conftest.$ac_ext >&5
7225
7226cat >conftest.$ac_ext <<_ACEOF
7227/* confdefs.h. */
7228_ACEOF
7229cat confdefs.h >>conftest.$ac_ext
7230cat >>conftest.$ac_ext <<_ACEOF
7231/* end confdefs.h. */
7232$ac_includes_default
7233int
7234main ()
7235{
7236static struct stat ac_aggr;
7237if (sizeof ac_aggr.st_rdev)
7238return 0;
7239 ;
7240 return 0;
7241}
7242_ACEOF
7243rm -f conftest.$ac_objext
7244if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7245 (eval $ac_compile) 2>conftest.er1
7246 ac_status=$?
7247 grep -v '^ *+' conftest.er1 >conftest.err
7248 rm -f conftest.er1
7249 cat conftest.err >&5
7250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7251 (exit $ac_status); } &&
1409cd0b
FXC
7252 { ac_try='test -z "$ac_c_werror_flag"
7253 || test ! -s conftest.err'
df65f093
SK
7254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7255 (eval $ac_try) 2>&5
7256 ac_status=$?
7257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7258 (exit $ac_status); }; } &&
7259 { ac_try='test -s conftest.$ac_objext'
7260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7261 (eval $ac_try) 2>&5
7262 ac_status=$?
7263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7264 (exit $ac_status); }; }; then
7265 ac_cv_member_struct_stat_st_rdev=yes
7266else
7267 echo "$as_me: failed program was:" >&5
7268sed 's/^/| /' conftest.$ac_ext >&5
7269
7270ac_cv_member_struct_stat_st_rdev=no
7271fi
7272rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7273fi
7274rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7275fi
7276echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
7277echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
7278if test $ac_cv_member_struct_stat_st_rdev = yes; then
7279
7280cat >>confdefs.h <<_ACEOF
7281#define HAVE_STRUCT_STAT_ST_RDEV 1
7282_ACEOF
7283
7284
7285fi
7286
7287
96b8a615
AJ
7288# Check for library functions.
7289
7290
41724e6a 7291
2cbcdeba 7292
3969c39f 7293
1fb2002d
FXC
7294
7295
32aa3bff
FXC
7296
7297for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
96b8a615
AJ
7298do
7299as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7300echo "$as_me:$LINENO: checking for $ac_func" >&5
7301echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7302if eval "test \"\${$as_ac_var+set}\" = set"; then
6de9cd9a
DN
7303 echo $ECHO_N "(cached) $ECHO_C" >&6
7304else
f02d008e
JD
7305 if test x$gcc_no_link = xyes; then
7306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7307echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7308 { (exit 1); exit 1; }; }
7309fi
7310cat >conftest.$ac_ext <<_ACEOF
f77b6ca3
FXC
7311/* confdefs.h. */
7312_ACEOF
7313cat confdefs.h >>conftest.$ac_ext
7314cat >>conftest.$ac_ext <<_ACEOF
7315/* end confdefs.h. */
7316/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7318#define $ac_func innocuous_$ac_func
7319
7320/* System header to define __stub macros and hopefully few prototypes,
7321 which can conflict with char $ac_func (); below.
7322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7323 <limits.h> exists even on freestanding compilers. */
7324
7325#ifdef __STDC__
7326# include <limits.h>
7327#else
7328# include <assert.h>
7329#endif
7330
7331#undef $ac_func
7332
7333/* Override any gcc2 internal prototype to avoid an error. */
7334#ifdef __cplusplus
7335extern "C"
7336{
7337#endif
7338/* We use char because int might match the return type of a gcc2
7339 builtin and then its argument prototype would still apply. */
7340char $ac_func ();
7341/* The GNU C library defines this for functions which it implements
7342 to always fail with ENOSYS. Some functions are actually named
7343 something starting with __ and the normal name is an alias. */
7344#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7345choke me
7346#else
7347char (*f) () = $ac_func;
7348#endif
7349#ifdef __cplusplus
7350}
7351#endif
7352
7353int
7354main ()
7355{
7356return f != $ac_func;
7357 ;
7358 return 0;
7359}
7360_ACEOF
7361rm -f conftest.$ac_objext conftest$ac_exeext
7362if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7363 (eval $ac_link) 2>conftest.er1
7364 ac_status=$?
7365 grep -v '^ *+' conftest.er1 >conftest.err
7366 rm -f conftest.er1
7367 cat conftest.err >&5
7368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7369 (exit $ac_status); } &&
1409cd0b
FXC
7370 { ac_try='test -z "$ac_c_werror_flag"
7371 || test ! -s conftest.err'
f77b6ca3
FXC
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); }; } &&
7377 { ac_try='test -s conftest$ac_exeext'
7378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7379 (eval $ac_try) 2>&5
7380 ac_status=$?
7381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7382 (exit $ac_status); }; }; then
7383 eval "$as_ac_var=yes"
7384else
7385 echo "$as_me: failed program was:" >&5
7386sed 's/^/| /' conftest.$ac_ext >&5
7387
7388eval "$as_ac_var=no"
d49ec2d1 7389fi
f77b6ca3
FXC
7390rm -f conftest.err conftest.$ac_objext \
7391 conftest$ac_exeext conftest.$ac_ext
7392fi
7393echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7394echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7395if test `eval echo '${'$as_ac_var'}'` = yes; then
7396 cat >>confdefs.h <<_ACEOF
7397#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7398_ACEOF
7399
7400fi
7401done
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411for ac_func in chdir strerror getlogin gethostname kill link symlink perror
7412do
7413as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7414echo "$as_me:$LINENO: checking for $ac_func" >&5
7415echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7416if eval "test \"\${$as_ac_var+set}\" = set"; then
7417 echo $ECHO_N "(cached) $ECHO_C" >&6
7418else
f02d008e
JD
7419 if test x$gcc_no_link = xyes; then
7420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7421echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7422 { (exit 1); exit 1; }; }
7423fi
7424cat >conftest.$ac_ext <<_ACEOF
96b8a615
AJ
7425/* confdefs.h. */
7426_ACEOF
7427cat confdefs.h >>conftest.$ac_ext
7428cat >>conftest.$ac_ext <<_ACEOF
7429/* end confdefs.h. */
7430/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7432#define $ac_func innocuous_$ac_func
6de9cd9a 7433
96b8a615
AJ
7434/* System header to define __stub macros and hopefully few prototypes,
7435 which can conflict with char $ac_func (); below.
7436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7437 <limits.h> exists even on freestanding compilers. */
6de9cd9a 7438
96b8a615
AJ
7439#ifdef __STDC__
7440# include <limits.h>
7441#else
7442# include <assert.h>
7443#endif
6de9cd9a 7444
96b8a615
AJ
7445#undef $ac_func
7446
7447/* Override any gcc2 internal prototype to avoid an error. */
7448#ifdef __cplusplus
7449extern "C"
7450{
7451#endif
7452/* We use char because int might match the return type of a gcc2
7453 builtin and then its argument prototype would still apply. */
7454char $ac_func ();
7455/* The GNU C library defines this for functions which it implements
7456 to always fail with ENOSYS. Some functions are actually named
7457 something starting with __ and the normal name is an alias. */
7458#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7459choke me
7460#else
7461char (*f) () = $ac_func;
7462#endif
7463#ifdef __cplusplus
7464}
7465#endif
7466
7467int
7468main ()
7469{
7470return f != $ac_func;
7471 ;
7472 return 0;
7473}
7474_ACEOF
7475rm -f conftest.$ac_objext conftest$ac_exeext
7476if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7477 (eval $ac_link) 2>conftest.er1
7478 ac_status=$?
7479 grep -v '^ *+' conftest.er1 >conftest.err
7480 rm -f conftest.er1
7481 cat conftest.err >&5
7482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7483 (exit $ac_status); } &&
1409cd0b
FXC
7484 { ac_try='test -z "$ac_c_werror_flag"
7485 || test ! -s conftest.err'
f77b6ca3
FXC
7486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7487 (eval $ac_try) 2>&5
7488 ac_status=$?
7489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7490 (exit $ac_status); }; } &&
7491 { ac_try='test -s conftest$ac_exeext'
7492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7493 (eval $ac_try) 2>&5
7494 ac_status=$?
7495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7496 (exit $ac_status); }; }; then
7497 eval "$as_ac_var=yes"
7498else
7499 echo "$as_me: failed program was:" >&5
7500sed 's/^/| /' conftest.$ac_ext >&5
7501
7502eval "$as_ac_var=no"
7503fi
7504rm -f conftest.err conftest.$ac_objext \
7505 conftest$ac_exeext conftest.$ac_ext
7506fi
7507echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7508echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7509if test `eval echo '${'$as_ac_var'}'` = yes; then
7510 cat >>confdefs.h <<_ACEOF
7511#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7512_ACEOF
7513
7514fi
7515done
7516
7517
7518
8845001b 7519
185d7d97
FXC
7520
7521
7522for ac_func in sleep time ttyname signal alarm
f77b6ca3
FXC
7523do
7524as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7525echo "$as_me:$LINENO: checking for $ac_func" >&5
7526echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7527if eval "test \"\${$as_ac_var+set}\" = set"; then
7528 echo $ECHO_N "(cached) $ECHO_C" >&6
7529else
f02d008e
JD
7530 if test x$gcc_no_link = xyes; then
7531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7532echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7533 { (exit 1); exit 1; }; }
7534fi
7535cat >conftest.$ac_ext <<_ACEOF
f77b6ca3
FXC
7536/* confdefs.h. */
7537_ACEOF
7538cat confdefs.h >>conftest.$ac_ext
7539cat >>conftest.$ac_ext <<_ACEOF
7540/* end confdefs.h. */
7541/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7543#define $ac_func innocuous_$ac_func
7544
7545/* System header to define __stub macros and hopefully few prototypes,
7546 which can conflict with char $ac_func (); below.
7547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7548 <limits.h> exists even on freestanding compilers. */
7549
7550#ifdef __STDC__
7551# include <limits.h>
7552#else
7553# include <assert.h>
7554#endif
7555
7556#undef $ac_func
7557
7558/* Override any gcc2 internal prototype to avoid an error. */
7559#ifdef __cplusplus
7560extern "C"
7561{
7562#endif
7563/* We use char because int might match the return type of a gcc2
7564 builtin and then its argument prototype would still apply. */
7565char $ac_func ();
7566/* The GNU C library defines this for functions which it implements
7567 to always fail with ENOSYS. Some functions are actually named
7568 something starting with __ and the normal name is an alias. */
7569#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7570choke me
7571#else
7572char (*f) () = $ac_func;
7573#endif
7574#ifdef __cplusplus
7575}
7576#endif
7577
7578int
7579main ()
7580{
7581return f != $ac_func;
7582 ;
7583 return 0;
7584}
7585_ACEOF
7586rm -f conftest.$ac_objext conftest$ac_exeext
7587if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7588 (eval $ac_link) 2>conftest.er1
7589 ac_status=$?
7590 grep -v '^ *+' conftest.er1 >conftest.err
7591 rm -f conftest.er1
7592 cat conftest.err >&5
7593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7594 (exit $ac_status); } &&
1409cd0b
FXC
7595 { ac_try='test -z "$ac_c_werror_flag"
7596 || test ! -s conftest.err'
96b8a615
AJ
7597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7598 (eval $ac_try) 2>&5
7599 ac_status=$?
7600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7601 (exit $ac_status); }; } &&
7602 { ac_try='test -s conftest$ac_exeext'
7603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7604 (eval $ac_try) 2>&5
7605 ac_status=$?
7606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7607 (exit $ac_status); }; }; then
7608 eval "$as_ac_var=yes"
6de9cd9a 7609else
96b8a615
AJ
7610 echo "$as_me: failed program was:" >&5
7611sed 's/^/| /' conftest.$ac_ext >&5
7612
7613eval "$as_ac_var=no"
7614fi
7615rm -f conftest.err conftest.$ac_objext \
7616 conftest$ac_exeext conftest.$ac_ext
6de9cd9a 7617fi
96b8a615
AJ
7618echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7619echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7620if test `eval echo '${'$as_ac_var'}'` = yes; then
7621 cat >>confdefs.h <<_ACEOF
7622#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7623_ACEOF
6de9cd9a 7624
6de9cd9a 7625fi
96b8a615 7626done
6de9cd9a 7627
6de9cd9a 7628
4c0c6b9f
SK
7629# Check libc for getgid, getpid, getuid
7630echo "$as_me:$LINENO: checking for getgid in -lc" >&5
7631echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
7632if test "${ac_cv_lib_c_getgid+set}" = set; then
7633 echo $ECHO_N "(cached) $ECHO_C" >&6
7634else
7635 ac_check_lib_save_LIBS=$LIBS
7636LIBS="-lc $LIBS"
f02d008e
JD
7637if test x$gcc_no_link = xyes; then
7638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7639echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7640 { (exit 1); exit 1; }; }
7641fi
4c0c6b9f
SK
7642cat >conftest.$ac_ext <<_ACEOF
7643/* confdefs.h. */
7644_ACEOF
7645cat confdefs.h >>conftest.$ac_ext
7646cat >>conftest.$ac_ext <<_ACEOF
7647/* end confdefs.h. */
7648
7649/* Override any gcc2 internal prototype to avoid an error. */
7650#ifdef __cplusplus
7651extern "C"
7652#endif
7653/* We use char because int might match the return type of a gcc2
7654 builtin and then its argument prototype would still apply. */
7655char getgid ();
7656int
7657main ()
7658{
7659getgid ();
7660 ;
7661 return 0;
7662}
7663_ACEOF
7664rm -f conftest.$ac_objext conftest$ac_exeext
7665if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7666 (eval $ac_link) 2>conftest.er1
7667 ac_status=$?
7668 grep -v '^ *+' conftest.er1 >conftest.err
7669 rm -f conftest.er1
7670 cat conftest.err >&5
7671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7672 (exit $ac_status); } &&
1409cd0b
FXC
7673 { ac_try='test -z "$ac_c_werror_flag"
7674 || test ! -s conftest.err'
4c0c6b9f
SK
7675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7676 (eval $ac_try) 2>&5
7677 ac_status=$?
7678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7679 (exit $ac_status); }; } &&
7680 { ac_try='test -s conftest$ac_exeext'
7681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7682 (eval $ac_try) 2>&5
7683 ac_status=$?
7684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7685 (exit $ac_status); }; }; then
7686 ac_cv_lib_c_getgid=yes
7687else
7688 echo "$as_me: failed program was:" >&5
7689sed 's/^/| /' conftest.$ac_ext >&5
7690
7691ac_cv_lib_c_getgid=no
7692fi
7693rm -f conftest.err conftest.$ac_objext \
7694 conftest$ac_exeext conftest.$ac_ext
7695LIBS=$ac_check_lib_save_LIBS
7696fi
7697echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
7698echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
7699if test $ac_cv_lib_c_getgid = yes; then
7700
7701cat >>confdefs.h <<\_ACEOF
7702#define HAVE_GETGID 1
7703_ACEOF
7704
7705fi
7706
7707echo "$as_me:$LINENO: checking for getpid in -lc" >&5
7708echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
7709if test "${ac_cv_lib_c_getpid+set}" = set; then
7710 echo $ECHO_N "(cached) $ECHO_C" >&6
7711else
7712 ac_check_lib_save_LIBS=$LIBS
7713LIBS="-lc $LIBS"
f02d008e
JD
7714if test x$gcc_no_link = xyes; then
7715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7716echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7717 { (exit 1); exit 1; }; }
7718fi
4c0c6b9f
SK
7719cat >conftest.$ac_ext <<_ACEOF
7720/* confdefs.h. */
7721_ACEOF
7722cat confdefs.h >>conftest.$ac_ext
7723cat >>conftest.$ac_ext <<_ACEOF
7724/* end confdefs.h. */
7725
7726/* Override any gcc2 internal prototype to avoid an error. */
7727#ifdef __cplusplus
7728extern "C"
7729#endif
7730/* We use char because int might match the return type of a gcc2
7731 builtin and then its argument prototype would still apply. */
7732char getpid ();
7733int
7734main ()
7735{
7736getpid ();
7737 ;
7738 return 0;
7739}
7740_ACEOF
7741rm -f conftest.$ac_objext conftest$ac_exeext
7742if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7743 (eval $ac_link) 2>conftest.er1
7744 ac_status=$?
7745 grep -v '^ *+' conftest.er1 >conftest.err
7746 rm -f conftest.er1
7747 cat conftest.err >&5
7748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7749 (exit $ac_status); } &&
1409cd0b
FXC
7750 { ac_try='test -z "$ac_c_werror_flag"
7751 || test ! -s conftest.err'
4c0c6b9f
SK
7752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7753 (eval $ac_try) 2>&5
7754 ac_status=$?
7755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7756 (exit $ac_status); }; } &&
7757 { ac_try='test -s conftest$ac_exeext'
7758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7759 (eval $ac_try) 2>&5
7760 ac_status=$?
7761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7762 (exit $ac_status); }; }; then
7763 ac_cv_lib_c_getpid=yes
7764else
7765 echo "$as_me: failed program was:" >&5
7766sed 's/^/| /' conftest.$ac_ext >&5
7767
7768ac_cv_lib_c_getpid=no
7769fi
7770rm -f conftest.err conftest.$ac_objext \
7771 conftest$ac_exeext conftest.$ac_ext
7772LIBS=$ac_check_lib_save_LIBS
7773fi
7774echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
7775echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
7776if test $ac_cv_lib_c_getpid = yes; then
7777
7778cat >>confdefs.h <<\_ACEOF
7779#define HAVE_GETPID 1
7780_ACEOF
7781
7782fi
7783
7784echo "$as_me:$LINENO: checking for getuid in -lc" >&5
7785echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
7786if test "${ac_cv_lib_c_getuid+set}" = set; then
7787 echo $ECHO_N "(cached) $ECHO_C" >&6
7788else
7789 ac_check_lib_save_LIBS=$LIBS
7790LIBS="-lc $LIBS"
f02d008e
JD
7791if test x$gcc_no_link = xyes; then
7792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7793echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7794 { (exit 1); exit 1; }; }
7795fi
4c0c6b9f
SK
7796cat >conftest.$ac_ext <<_ACEOF
7797/* confdefs.h. */
7798_ACEOF
7799cat confdefs.h >>conftest.$ac_ext
7800cat >>conftest.$ac_ext <<_ACEOF
7801/* end confdefs.h. */
7802
7803/* Override any gcc2 internal prototype to avoid an error. */
7804#ifdef __cplusplus
7805extern "C"
7806#endif
7807/* We use char because int might match the return type of a gcc2
7808 builtin and then its argument prototype would still apply. */
7809char getuid ();
7810int
7811main ()
7812{
7813getuid ();
7814 ;
7815 return 0;
7816}
7817_ACEOF
7818rm -f conftest.$ac_objext conftest$ac_exeext
7819if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7820 (eval $ac_link) 2>conftest.er1
7821 ac_status=$?
7822 grep -v '^ *+' conftest.er1 >conftest.err
7823 rm -f conftest.er1
7824 cat conftest.err >&5
7825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7826 (exit $ac_status); } &&
1409cd0b
FXC
7827 { ac_try='test -z "$ac_c_werror_flag"
7828 || test ! -s conftest.err'
4c0c6b9f
SK
7829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7830 (eval $ac_try) 2>&5
7831 ac_status=$?
7832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7833 (exit $ac_status); }; } &&
7834 { ac_try='test -s conftest$ac_exeext'
7835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7836 (eval $ac_try) 2>&5
7837 ac_status=$?
7838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7839 (exit $ac_status); }; }; then
7840 ac_cv_lib_c_getuid=yes
7841else
7842 echo "$as_me: failed program was:" >&5
7843sed 's/^/| /' conftest.$ac_ext >&5
7844
7845ac_cv_lib_c_getuid=no
7846fi
7847rm -f conftest.err conftest.$ac_objext \
7848 conftest$ac_exeext conftest.$ac_ext
7849LIBS=$ac_check_lib_save_LIBS
7850fi
7851echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
7852echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
7853if test $ac_cv_lib_c_getuid = yes; then
7854
7855cat >>confdefs.h <<\_ACEOF
7856#define HAVE_GETUID 1
7857_ACEOF
7858
7859fi
7860
7861
453310d8 7862# Check for C99 (and other IEEE) math functions
e8525382 7863# ??? This list seems awful long. Is there a better way to test for these?
453310d8
RS
7864echo "$as_me:$LINENO: checking for acosf in -lm" >&5
7865echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
7866if test "${ac_cv_lib_m_acosf+set}" = set; then
7867 echo $ECHO_N "(cached) $ECHO_C" >&6
7868else
7869 ac_check_lib_save_LIBS=$LIBS
7870LIBS="-lm $LIBS"
f02d008e
JD
7871if test x$gcc_no_link = xyes; then
7872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7873echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7874 { (exit 1); exit 1; }; }
7875fi
453310d8
RS
7876cat >conftest.$ac_ext <<_ACEOF
7877/* confdefs.h. */
7878_ACEOF
7879cat confdefs.h >>conftest.$ac_ext
7880cat >>conftest.$ac_ext <<_ACEOF
7881/* end confdefs.h. */
7882
7883/* Override any gcc2 internal prototype to avoid an error. */
7884#ifdef __cplusplus
7885extern "C"
7886#endif
7887/* We use char because int might match the return type of a gcc2
7888 builtin and then its argument prototype would still apply. */
7889char acosf ();
7890int
7891main ()
7892{
7893acosf ();
7894 ;
7895 return 0;
7896}
7897_ACEOF
7898rm -f conftest.$ac_objext conftest$ac_exeext
7899if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7900 (eval $ac_link) 2>conftest.er1
7901 ac_status=$?
7902 grep -v '^ *+' conftest.er1 >conftest.err
7903 rm -f conftest.er1
7904 cat conftest.err >&5
7905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7906 (exit $ac_status); } &&
1409cd0b
FXC
7907 { ac_try='test -z "$ac_c_werror_flag"
7908 || test ! -s conftest.err'
453310d8
RS
7909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7910 (eval $ac_try) 2>&5
7911 ac_status=$?
7912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7913 (exit $ac_status); }; } &&
7914 { ac_try='test -s conftest$ac_exeext'
7915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7916 (eval $ac_try) 2>&5
7917 ac_status=$?
7918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7919 (exit $ac_status); }; }; then
7920 ac_cv_lib_m_acosf=yes
7921else
7922 echo "$as_me: failed program was:" >&5
7923sed 's/^/| /' conftest.$ac_ext >&5
7924
7925ac_cv_lib_m_acosf=no
7926fi
7927rm -f conftest.err conftest.$ac_objext \
7928 conftest$ac_exeext conftest.$ac_ext
7929LIBS=$ac_check_lib_save_LIBS
7930fi
7931echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
7932echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
7933if test $ac_cv_lib_m_acosf = yes; then
7934
7935cat >>confdefs.h <<\_ACEOF
7936#define HAVE_ACOSF 1
7937_ACEOF
7938
7939fi
7940
1409cd0b
FXC
7941echo "$as_me:$LINENO: checking for acos in -lm" >&5
7942echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
7943if test "${ac_cv_lib_m_acos+set}" = set; then
f02d008e
JD
7944 echo $ECHO_N "(cached) $ECHO_C" >&6
7945else
7946 ac_check_lib_save_LIBS=$LIBS
7947LIBS="-lm $LIBS"
7948if test x$gcc_no_link = xyes; then
7949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7950echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7951 { (exit 1); exit 1; }; }
7952fi
7953cat >conftest.$ac_ext <<_ACEOF
7954/* confdefs.h. */
7955_ACEOF
7956cat confdefs.h >>conftest.$ac_ext
7957cat >>conftest.$ac_ext <<_ACEOF
7958/* end confdefs.h. */
7959
7960/* Override any gcc2 internal prototype to avoid an error. */
7961#ifdef __cplusplus
7962extern "C"
7963#endif
7964/* We use char because int might match the return type of a gcc2
7965 builtin and then its argument prototype would still apply. */
1409cd0b 7966char acos ();
f02d008e
JD
7967int
7968main ()
7969{
1409cd0b 7970acos ();
f02d008e
JD
7971 ;
7972 return 0;
7973}
7974_ACEOF
7975rm -f conftest.$ac_objext conftest$ac_exeext
7976if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7977 (eval $ac_link) 2>conftest.er1
7978 ac_status=$?
7979 grep -v '^ *+' conftest.er1 >conftest.err
7980 rm -f conftest.er1
7981 cat conftest.err >&5
7982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7983 (exit $ac_status); } &&
1409cd0b
FXC
7984 { ac_try='test -z "$ac_c_werror_flag"
7985 || test ! -s conftest.err'
f02d008e
JD
7986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7987 (eval $ac_try) 2>&5
7988 ac_status=$?
7989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7990 (exit $ac_status); }; } &&
7991 { ac_try='test -s conftest$ac_exeext'
7992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7993 (eval $ac_try) 2>&5
7994 ac_status=$?
7995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7996 (exit $ac_status); }; }; then
1409cd0b 7997 ac_cv_lib_m_acos=yes
f02d008e
JD
7998else
7999 echo "$as_me: failed program was:" >&5
8000sed 's/^/| /' conftest.$ac_ext >&5
8001
1409cd0b 8002ac_cv_lib_m_acos=no
f02d008e
JD
8003fi
8004rm -f conftest.err conftest.$ac_objext \
8005 conftest$ac_exeext conftest.$ac_ext
8006LIBS=$ac_check_lib_save_LIBS
8007fi
1409cd0b
FXC
8008echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
8009echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
8010if test $ac_cv_lib_m_acos = yes; then
f02d008e
JD
8011
8012cat >>confdefs.h <<\_ACEOF
1409cd0b 8013#define HAVE_ACOS 1
f02d008e
JD
8014_ACEOF
8015
8016fi
8017
1409cd0b
FXC
8018echo "$as_me:$LINENO: checking for acosl in -lm" >&5
8019echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
8020if test "${ac_cv_lib_m_acosl+set}" = set; then
453310d8
RS
8021 echo $ECHO_N "(cached) $ECHO_C" >&6
8022else
8023 ac_check_lib_save_LIBS=$LIBS
8024LIBS="-lm $LIBS"
f02d008e
JD
8025if test x$gcc_no_link = xyes; then
8026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8027echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8028 { (exit 1); exit 1; }; }
8029fi
453310d8
RS
8030cat >conftest.$ac_ext <<_ACEOF
8031/* confdefs.h. */
8032_ACEOF
8033cat confdefs.h >>conftest.$ac_ext
8034cat >>conftest.$ac_ext <<_ACEOF
8035/* end confdefs.h. */
8036
8037/* Override any gcc2 internal prototype to avoid an error. */
8038#ifdef __cplusplus
8039extern "C"
8040#endif
8041/* We use char because int might match the return type of a gcc2
8042 builtin and then its argument prototype would still apply. */
1409cd0b 8043char acosl ();
453310d8
RS
8044int
8045main ()
8046{
1409cd0b 8047acosl ();
453310d8
RS
8048 ;
8049 return 0;
8050}
8051_ACEOF
8052rm -f conftest.$ac_objext conftest$ac_exeext
8053if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8054 (eval $ac_link) 2>conftest.er1
8055 ac_status=$?
8056 grep -v '^ *+' conftest.er1 >conftest.err
8057 rm -f conftest.er1
8058 cat conftest.err >&5
8059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8060 (exit $ac_status); } &&
1409cd0b
FXC
8061 { ac_try='test -z "$ac_c_werror_flag"
8062 || test ! -s conftest.err'
453310d8
RS
8063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8064 (eval $ac_try) 2>&5
8065 ac_status=$?
8066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8067 (exit $ac_status); }; } &&
8068 { ac_try='test -s conftest$ac_exeext'
8069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8070 (eval $ac_try) 2>&5
8071 ac_status=$?
8072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8073 (exit $ac_status); }; }; then
1409cd0b 8074 ac_cv_lib_m_acosl=yes
453310d8
RS
8075else
8076 echo "$as_me: failed program was:" >&5
8077sed 's/^/| /' conftest.$ac_ext >&5
8078
1409cd0b 8079ac_cv_lib_m_acosl=no
453310d8
RS
8080fi
8081rm -f conftest.err conftest.$ac_objext \
8082 conftest$ac_exeext conftest.$ac_ext
8083LIBS=$ac_check_lib_save_LIBS
8084fi
1409cd0b
FXC
8085echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
8086echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
8087if test $ac_cv_lib_m_acosl = yes; then
453310d8
RS
8088
8089cat >>confdefs.h <<\_ACEOF
1409cd0b 8090#define HAVE_ACOSL 1
453310d8
RS
8091_ACEOF
8092
8093fi
8094
1409cd0b
FXC
8095echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
8096echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
8097if test "${ac_cv_lib_m_acoshf+set}" = set; then
f02d008e
JD
8098 echo $ECHO_N "(cached) $ECHO_C" >&6
8099else
8100 ac_check_lib_save_LIBS=$LIBS
8101LIBS="-lm $LIBS"
8102if test x$gcc_no_link = xyes; then
8103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8104echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8105 { (exit 1); exit 1; }; }
8106fi
8107cat >conftest.$ac_ext <<_ACEOF
8108/* confdefs.h. */
8109_ACEOF
8110cat confdefs.h >>conftest.$ac_ext
8111cat >>conftest.$ac_ext <<_ACEOF
8112/* end confdefs.h. */
8113
8114/* Override any gcc2 internal prototype to avoid an error. */
8115#ifdef __cplusplus
8116extern "C"
8117#endif
8118/* We use char because int might match the return type of a gcc2
8119 builtin and then its argument prototype would still apply. */
1409cd0b 8120char acoshf ();
f02d008e
JD
8121int
8122main ()
8123{
1409cd0b 8124acoshf ();
f02d008e
JD
8125 ;
8126 return 0;
8127}
8128_ACEOF
8129rm -f conftest.$ac_objext conftest$ac_exeext
8130if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8131 (eval $ac_link) 2>conftest.er1
8132 ac_status=$?
8133 grep -v '^ *+' conftest.er1 >conftest.err
8134 rm -f conftest.er1
8135 cat conftest.err >&5
8136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8137 (exit $ac_status); } &&
1409cd0b
FXC
8138 { ac_try='test -z "$ac_c_werror_flag"
8139 || test ! -s conftest.err'
f02d008e
JD
8140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8141 (eval $ac_try) 2>&5
8142 ac_status=$?
8143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8144 (exit $ac_status); }; } &&
8145 { ac_try='test -s conftest$ac_exeext'
8146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8147 (eval $ac_try) 2>&5
8148 ac_status=$?
8149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8150 (exit $ac_status); }; }; then
1409cd0b 8151 ac_cv_lib_m_acoshf=yes
f02d008e
JD
8152else
8153 echo "$as_me: failed program was:" >&5
8154sed 's/^/| /' conftest.$ac_ext >&5
8155
1409cd0b 8156ac_cv_lib_m_acoshf=no
f02d008e
JD
8157fi
8158rm -f conftest.err conftest.$ac_objext \
8159 conftest$ac_exeext conftest.$ac_ext
8160LIBS=$ac_check_lib_save_LIBS
8161fi
1409cd0b
FXC
8162echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
8163echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
8164if test $ac_cv_lib_m_acoshf = yes; then
f02d008e
JD
8165
8166cat >>confdefs.h <<\_ACEOF
1409cd0b 8167#define HAVE_ACOSHF 1
f02d008e
JD
8168_ACEOF
8169
8170fi
8171
1409cd0b
FXC
8172echo "$as_me:$LINENO: checking for acosh in -lm" >&5
8173echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
8174if test "${ac_cv_lib_m_acosh+set}" = set; then
453310d8
RS
8175 echo $ECHO_N "(cached) $ECHO_C" >&6
8176else
8177 ac_check_lib_save_LIBS=$LIBS
8178LIBS="-lm $LIBS"
f02d008e
JD
8179if test x$gcc_no_link = xyes; then
8180 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8181echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8182 { (exit 1); exit 1; }; }
8183fi
453310d8
RS
8184cat >conftest.$ac_ext <<_ACEOF
8185/* confdefs.h. */
8186_ACEOF
8187cat confdefs.h >>conftest.$ac_ext
8188cat >>conftest.$ac_ext <<_ACEOF
8189/* end confdefs.h. */
8190
8191/* Override any gcc2 internal prototype to avoid an error. */
8192#ifdef __cplusplus
8193extern "C"
8194#endif
8195/* We use char because int might match the return type of a gcc2
8196 builtin and then its argument prototype would still apply. */
1409cd0b 8197char acosh ();
453310d8
RS
8198int
8199main ()
8200{
1409cd0b 8201acosh ();
453310d8
RS
8202 ;
8203 return 0;
8204}
8205_ACEOF
8206rm -f conftest.$ac_objext conftest$ac_exeext
8207if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8208 (eval $ac_link) 2>conftest.er1
8209 ac_status=$?
8210 grep -v '^ *+' conftest.er1 >conftest.err
8211 rm -f conftest.er1
8212 cat conftest.err >&5
8213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8214 (exit $ac_status); } &&
1409cd0b
FXC
8215 { ac_try='test -z "$ac_c_werror_flag"
8216 || test ! -s conftest.err'
453310d8
RS
8217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8218 (eval $ac_try) 2>&5
8219 ac_status=$?
8220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8221 (exit $ac_status); }; } &&
8222 { ac_try='test -s conftest$ac_exeext'
8223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8224 (eval $ac_try) 2>&5
8225 ac_status=$?
8226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8227 (exit $ac_status); }; }; then
1409cd0b 8228 ac_cv_lib_m_acosh=yes
453310d8
RS
8229else
8230 echo "$as_me: failed program was:" >&5
8231sed 's/^/| /' conftest.$ac_ext >&5
8232
1409cd0b 8233ac_cv_lib_m_acosh=no
453310d8
RS
8234fi
8235rm -f conftest.err conftest.$ac_objext \
8236 conftest$ac_exeext conftest.$ac_ext
8237LIBS=$ac_check_lib_save_LIBS
8238fi
1409cd0b
FXC
8239echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
8240echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
8241if test $ac_cv_lib_m_acosh = yes; then
453310d8
RS
8242
8243cat >>confdefs.h <<\_ACEOF
1409cd0b 8244#define HAVE_ACOSH 1
453310d8
RS
8245_ACEOF
8246
8247fi
8248
1409cd0b
FXC
8249echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
8250echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
8251if test "${ac_cv_lib_m_acoshl+set}" = set; then
453310d8
RS
8252 echo $ECHO_N "(cached) $ECHO_C" >&6
8253else
8254 ac_check_lib_save_LIBS=$LIBS
8255LIBS="-lm $LIBS"
f02d008e
JD
8256if test x$gcc_no_link = xyes; then
8257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8258echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8259 { (exit 1); exit 1; }; }
8260fi
453310d8
RS
8261cat >conftest.$ac_ext <<_ACEOF
8262/* confdefs.h. */
8263_ACEOF
8264cat confdefs.h >>conftest.$ac_ext
8265cat >>conftest.$ac_ext <<_ACEOF
8266/* end confdefs.h. */
8267
8268/* Override any gcc2 internal prototype to avoid an error. */
8269#ifdef __cplusplus
8270extern "C"
8271#endif
8272/* We use char because int might match the return type of a gcc2
8273 builtin and then its argument prototype would still apply. */
1409cd0b 8274char acoshl ();
453310d8
RS
8275int
8276main ()
8277{
1409cd0b 8278acoshl ();
453310d8
RS
8279 ;
8280 return 0;
8281}
8282_ACEOF
8283rm -f conftest.$ac_objext conftest$ac_exeext
8284if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8285 (eval $ac_link) 2>conftest.er1
8286 ac_status=$?
8287 grep -v '^ *+' conftest.er1 >conftest.err
8288 rm -f conftest.er1
8289 cat conftest.err >&5
8290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8291 (exit $ac_status); } &&
1409cd0b
FXC
8292 { ac_try='test -z "$ac_c_werror_flag"
8293 || test ! -s conftest.err'
453310d8
RS
8294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8295 (eval $ac_try) 2>&5
8296 ac_status=$?
8297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8298 (exit $ac_status); }; } &&
8299 { ac_try='test -s conftest$ac_exeext'
8300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8301 (eval $ac_try) 2>&5
8302 ac_status=$?
8303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8304 (exit $ac_status); }; }; then
1409cd0b 8305 ac_cv_lib_m_acoshl=yes
453310d8
RS
8306else
8307 echo "$as_me: failed program was:" >&5
8308sed 's/^/| /' conftest.$ac_ext >&5
8309
1409cd0b 8310ac_cv_lib_m_acoshl=no
453310d8
RS
8311fi
8312rm -f conftest.err conftest.$ac_objext \
8313 conftest$ac_exeext conftest.$ac_ext
8314LIBS=$ac_check_lib_save_LIBS
8315fi
1409cd0b
FXC
8316echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
8317echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
8318if test $ac_cv_lib_m_acoshl = yes; then
453310d8
RS
8319
8320cat >>confdefs.h <<\_ACEOF
1409cd0b 8321#define HAVE_ACOSHL 1
453310d8
RS
8322_ACEOF
8323
8324fi
8325
1409cd0b
FXC
8326echo "$as_me:$LINENO: checking for asinf in -lm" >&5
8327echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
8328if test "${ac_cv_lib_m_asinf+set}" = set; then
f02d008e
JD
8329 echo $ECHO_N "(cached) $ECHO_C" >&6
8330else
8331 ac_check_lib_save_LIBS=$LIBS
8332LIBS="-lm $LIBS"
8333if test x$gcc_no_link = xyes; then
8334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8335echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8336 { (exit 1); exit 1; }; }
8337fi
8338cat >conftest.$ac_ext <<_ACEOF
8339/* confdefs.h. */
8340_ACEOF
8341cat confdefs.h >>conftest.$ac_ext
8342cat >>conftest.$ac_ext <<_ACEOF
8343/* end confdefs.h. */
8344
8345/* Override any gcc2 internal prototype to avoid an error. */
8346#ifdef __cplusplus
8347extern "C"
8348#endif
8349/* We use char because int might match the return type of a gcc2
8350 builtin and then its argument prototype would still apply. */
1409cd0b 8351char asinf ();
f02d008e
JD
8352int
8353main ()
8354{
1409cd0b 8355asinf ();
f02d008e
JD
8356 ;
8357 return 0;
8358}
8359_ACEOF
8360rm -f conftest.$ac_objext conftest$ac_exeext
8361if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8362 (eval $ac_link) 2>conftest.er1
8363 ac_status=$?
8364 grep -v '^ *+' conftest.er1 >conftest.err
8365 rm -f conftest.er1
8366 cat conftest.err >&5
8367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8368 (exit $ac_status); } &&
1409cd0b
FXC
8369 { ac_try='test -z "$ac_c_werror_flag"
8370 || test ! -s conftest.err'
f02d008e
JD
8371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8372 (eval $ac_try) 2>&5
8373 ac_status=$?
8374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8375 (exit $ac_status); }; } &&
8376 { ac_try='test -s conftest$ac_exeext'
8377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8378 (eval $ac_try) 2>&5
8379 ac_status=$?
8380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8381 (exit $ac_status); }; }; then
1409cd0b 8382 ac_cv_lib_m_asinf=yes
f02d008e
JD
8383else
8384 echo "$as_me: failed program was:" >&5
8385sed 's/^/| /' conftest.$ac_ext >&5
8386
1409cd0b 8387ac_cv_lib_m_asinf=no
f02d008e
JD
8388fi
8389rm -f conftest.err conftest.$ac_objext \
8390 conftest$ac_exeext conftest.$ac_ext
8391LIBS=$ac_check_lib_save_LIBS
8392fi
1409cd0b
FXC
8393echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
8394echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
8395if test $ac_cv_lib_m_asinf = yes; then
f02d008e
JD
8396
8397cat >>confdefs.h <<\_ACEOF
1409cd0b 8398#define HAVE_ASINF 1
f02d008e
JD
8399_ACEOF
8400
8401fi
8402
1409cd0b
FXC
8403echo "$as_me:$LINENO: checking for asin in -lm" >&5
8404echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
8405if test "${ac_cv_lib_m_asin+set}" = set; then
453310d8
RS
8406 echo $ECHO_N "(cached) $ECHO_C" >&6
8407else
8408 ac_check_lib_save_LIBS=$LIBS
8409LIBS="-lm $LIBS"
f02d008e
JD
8410if test x$gcc_no_link = xyes; then
8411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8412echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8413 { (exit 1); exit 1; }; }
8414fi
453310d8
RS
8415cat >conftest.$ac_ext <<_ACEOF
8416/* confdefs.h. */
8417_ACEOF
8418cat confdefs.h >>conftest.$ac_ext
8419cat >>conftest.$ac_ext <<_ACEOF
8420/* end confdefs.h. */
8421
8422/* Override any gcc2 internal prototype to avoid an error. */
8423#ifdef __cplusplus
8424extern "C"
8425#endif
8426/* We use char because int might match the return type of a gcc2
8427 builtin and then its argument prototype would still apply. */
1409cd0b 8428char asin ();
453310d8
RS
8429int
8430main ()
8431{
1409cd0b 8432asin ();
453310d8
RS
8433 ;
8434 return 0;
8435}
8436_ACEOF
8437rm -f conftest.$ac_objext conftest$ac_exeext
8438if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8439 (eval $ac_link) 2>conftest.er1
8440 ac_status=$?
8441 grep -v '^ *+' conftest.er1 >conftest.err
8442 rm -f conftest.er1
8443 cat conftest.err >&5
8444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8445 (exit $ac_status); } &&
1409cd0b
FXC
8446 { ac_try='test -z "$ac_c_werror_flag"
8447 || test ! -s conftest.err'
453310d8
RS
8448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8449 (eval $ac_try) 2>&5
8450 ac_status=$?
8451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8452 (exit $ac_status); }; } &&
8453 { ac_try='test -s conftest$ac_exeext'
8454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8455 (eval $ac_try) 2>&5
8456 ac_status=$?
8457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8458 (exit $ac_status); }; }; then
1409cd0b 8459 ac_cv_lib_m_asin=yes
453310d8
RS
8460else
8461 echo "$as_me: failed program was:" >&5
8462sed 's/^/| /' conftest.$ac_ext >&5
8463
1409cd0b 8464ac_cv_lib_m_asin=no
453310d8
RS
8465fi
8466rm -f conftest.err conftest.$ac_objext \
8467 conftest$ac_exeext conftest.$ac_ext
8468LIBS=$ac_check_lib_save_LIBS
8469fi
1409cd0b
FXC
8470echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
8471echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
8472if test $ac_cv_lib_m_asin = yes; then
453310d8
RS
8473
8474cat >>confdefs.h <<\_ACEOF
1409cd0b 8475#define HAVE_ASIN 1
453310d8
RS
8476_ACEOF
8477
8478fi
8479
1409cd0b
FXC
8480echo "$as_me:$LINENO: checking for asinl in -lm" >&5
8481echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
8482if test "${ac_cv_lib_m_asinl+set}" = set; then
453310d8
RS
8483 echo $ECHO_N "(cached) $ECHO_C" >&6
8484else
8485 ac_check_lib_save_LIBS=$LIBS
8486LIBS="-lm $LIBS"
f02d008e
JD
8487if test x$gcc_no_link = xyes; then
8488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8489echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8490 { (exit 1); exit 1; }; }
8491fi
453310d8
RS
8492cat >conftest.$ac_ext <<_ACEOF
8493/* confdefs.h. */
8494_ACEOF
8495cat confdefs.h >>conftest.$ac_ext
8496cat >>conftest.$ac_ext <<_ACEOF
8497/* end confdefs.h. */
8498
8499/* Override any gcc2 internal prototype to avoid an error. */
8500#ifdef __cplusplus
8501extern "C"
8502#endif
8503/* We use char because int might match the return type of a gcc2
8504 builtin and then its argument prototype would still apply. */
1409cd0b 8505char asinl ();
453310d8
RS
8506int
8507main ()
8508{
1409cd0b 8509asinl ();
453310d8
RS
8510 ;
8511 return 0;
8512}
8513_ACEOF
8514rm -f conftest.$ac_objext conftest$ac_exeext
8515if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8516 (eval $ac_link) 2>conftest.er1
8517 ac_status=$?
8518 grep -v '^ *+' conftest.er1 >conftest.err
8519 rm -f conftest.er1
8520 cat conftest.err >&5
8521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8522 (exit $ac_status); } &&
1409cd0b
FXC
8523 { ac_try='test -z "$ac_c_werror_flag"
8524 || test ! -s conftest.err'
453310d8
RS
8525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8526 (eval $ac_try) 2>&5
8527 ac_status=$?
8528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8529 (exit $ac_status); }; } &&
8530 { ac_try='test -s conftest$ac_exeext'
8531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8532 (eval $ac_try) 2>&5
8533 ac_status=$?
8534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8535 (exit $ac_status); }; }; then
1409cd0b 8536 ac_cv_lib_m_asinl=yes
453310d8
RS
8537else
8538 echo "$as_me: failed program was:" >&5
8539sed 's/^/| /' conftest.$ac_ext >&5
8540
1409cd0b 8541ac_cv_lib_m_asinl=no
453310d8
RS
8542fi
8543rm -f conftest.err conftest.$ac_objext \
8544 conftest$ac_exeext conftest.$ac_ext
8545LIBS=$ac_check_lib_save_LIBS
8546fi
1409cd0b
FXC
8547echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
8548echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
8549if test $ac_cv_lib_m_asinl = yes; then
453310d8
RS
8550
8551cat >>confdefs.h <<\_ACEOF
1409cd0b 8552#define HAVE_ASINL 1
453310d8
RS
8553_ACEOF
8554
8555fi
8556
1409cd0b
FXC
8557echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
8558echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
8559if test "${ac_cv_lib_m_asinhf+set}" = set; then
453310d8
RS
8560 echo $ECHO_N "(cached) $ECHO_C" >&6
8561else
8562 ac_check_lib_save_LIBS=$LIBS
8563LIBS="-lm $LIBS"
f02d008e
JD
8564if test x$gcc_no_link = xyes; then
8565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8566echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8567 { (exit 1); exit 1; }; }
8568fi
453310d8
RS
8569cat >conftest.$ac_ext <<_ACEOF
8570/* confdefs.h. */
8571_ACEOF
8572cat confdefs.h >>conftest.$ac_ext
8573cat >>conftest.$ac_ext <<_ACEOF
8574/* end confdefs.h. */
8575
8576/* Override any gcc2 internal prototype to avoid an error. */
8577#ifdef __cplusplus
8578extern "C"
8579#endif
8580/* We use char because int might match the return type of a gcc2
8581 builtin and then its argument prototype would still apply. */
1409cd0b 8582char asinhf ();
453310d8
RS
8583int
8584main ()
8585{
1409cd0b 8586asinhf ();
453310d8
RS
8587 ;
8588 return 0;
8589}
8590_ACEOF
8591rm -f conftest.$ac_objext conftest$ac_exeext
8592if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8593 (eval $ac_link) 2>conftest.er1
8594 ac_status=$?
8595 grep -v '^ *+' conftest.er1 >conftest.err
8596 rm -f conftest.er1
8597 cat conftest.err >&5
8598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8599 (exit $ac_status); } &&
1409cd0b
FXC
8600 { ac_try='test -z "$ac_c_werror_flag"
8601 || test ! -s conftest.err'
453310d8
RS
8602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8603 (eval $ac_try) 2>&5
8604 ac_status=$?
8605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8606 (exit $ac_status); }; } &&
8607 { ac_try='test -s conftest$ac_exeext'
8608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8609 (eval $ac_try) 2>&5
8610 ac_status=$?
8611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612 (exit $ac_status); }; }; then
1409cd0b 8613 ac_cv_lib_m_asinhf=yes
453310d8
RS
8614else
8615 echo "$as_me: failed program was:" >&5
8616sed 's/^/| /' conftest.$ac_ext >&5
8617
1409cd0b 8618ac_cv_lib_m_asinhf=no
453310d8
RS
8619fi
8620rm -f conftest.err conftest.$ac_objext \
8621 conftest$ac_exeext conftest.$ac_ext
8622LIBS=$ac_check_lib_save_LIBS
8623fi
1409cd0b
FXC
8624echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
8625echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
8626if test $ac_cv_lib_m_asinhf = yes; then
453310d8
RS
8627
8628cat >>confdefs.h <<\_ACEOF
1409cd0b 8629#define HAVE_ASINHF 1
453310d8
RS
8630_ACEOF
8631
8632fi
8633
1409cd0b
FXC
8634echo "$as_me:$LINENO: checking for asinh in -lm" >&5
8635echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
8636if test "${ac_cv_lib_m_asinh+set}" = set; then
453310d8
RS
8637 echo $ECHO_N "(cached) $ECHO_C" >&6
8638else
8639 ac_check_lib_save_LIBS=$LIBS
8640LIBS="-lm $LIBS"
f02d008e
JD
8641if test x$gcc_no_link = xyes; then
8642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8643echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8644 { (exit 1); exit 1; }; }
8645fi
453310d8
RS
8646cat >conftest.$ac_ext <<_ACEOF
8647/* confdefs.h. */
8648_ACEOF
8649cat confdefs.h >>conftest.$ac_ext
8650cat >>conftest.$ac_ext <<_ACEOF
8651/* end confdefs.h. */
8652
8653/* Override any gcc2 internal prototype to avoid an error. */
8654#ifdef __cplusplus
8655extern "C"
8656#endif
8657/* We use char because int might match the return type of a gcc2
8658 builtin and then its argument prototype would still apply. */
1409cd0b 8659char asinh ();
453310d8
RS
8660int
8661main ()
8662{
1409cd0b 8663asinh ();
453310d8
RS
8664 ;
8665 return 0;
8666}
8667_ACEOF
8668rm -f conftest.$ac_objext conftest$ac_exeext
8669if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8670 (eval $ac_link) 2>conftest.er1
8671 ac_status=$?
8672 grep -v '^ *+' conftest.er1 >conftest.err
8673 rm -f conftest.er1
8674 cat conftest.err >&5
8675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8676 (exit $ac_status); } &&
1409cd0b
FXC
8677 { ac_try='test -z "$ac_c_werror_flag"
8678 || test ! -s conftest.err'
453310d8
RS
8679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8680 (eval $ac_try) 2>&5
8681 ac_status=$?
8682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8683 (exit $ac_status); }; } &&
8684 { ac_try='test -s conftest$ac_exeext'
8685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8686 (eval $ac_try) 2>&5
8687 ac_status=$?
8688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8689 (exit $ac_status); }; }; then
1409cd0b 8690 ac_cv_lib_m_asinh=yes
453310d8
RS
8691else
8692 echo "$as_me: failed program was:" >&5
8693sed 's/^/| /' conftest.$ac_ext >&5
8694
1409cd0b 8695ac_cv_lib_m_asinh=no
453310d8
RS
8696fi
8697rm -f conftest.err conftest.$ac_objext \
8698 conftest$ac_exeext conftest.$ac_ext
8699LIBS=$ac_check_lib_save_LIBS
8700fi
1409cd0b
FXC
8701echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
8702echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
8703if test $ac_cv_lib_m_asinh = yes; then
453310d8
RS
8704
8705cat >>confdefs.h <<\_ACEOF
1409cd0b 8706#define HAVE_ASINH 1
453310d8
RS
8707_ACEOF
8708
8709fi
8710
1409cd0b
FXC
8711echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
8712echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
8713if test "${ac_cv_lib_m_asinhl+set}" = set; then
453310d8
RS
8714 echo $ECHO_N "(cached) $ECHO_C" >&6
8715else
8716 ac_check_lib_save_LIBS=$LIBS
8717LIBS="-lm $LIBS"
f02d008e
JD
8718if test x$gcc_no_link = xyes; then
8719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8720echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8721 { (exit 1); exit 1; }; }
8722fi
453310d8
RS
8723cat >conftest.$ac_ext <<_ACEOF
8724/* confdefs.h. */
8725_ACEOF
8726cat confdefs.h >>conftest.$ac_ext
8727cat >>conftest.$ac_ext <<_ACEOF
8728/* end confdefs.h. */
8729
8730/* Override any gcc2 internal prototype to avoid an error. */
8731#ifdef __cplusplus
8732extern "C"
8733#endif
8734/* We use char because int might match the return type of a gcc2
8735 builtin and then its argument prototype would still apply. */
1409cd0b 8736char asinhl ();
453310d8
RS
8737int
8738main ()
8739{
1409cd0b 8740asinhl ();
453310d8
RS
8741 ;
8742 return 0;
8743}
8744_ACEOF
8745rm -f conftest.$ac_objext conftest$ac_exeext
8746if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8747 (eval $ac_link) 2>conftest.er1
8748 ac_status=$?
8749 grep -v '^ *+' conftest.er1 >conftest.err
8750 rm -f conftest.er1
8751 cat conftest.err >&5
8752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753 (exit $ac_status); } &&
1409cd0b
FXC
8754 { ac_try='test -z "$ac_c_werror_flag"
8755 || test ! -s conftest.err'
453310d8
RS
8756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8757 (eval $ac_try) 2>&5
8758 ac_status=$?
8759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8760 (exit $ac_status); }; } &&
8761 { ac_try='test -s conftest$ac_exeext'
8762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8763 (eval $ac_try) 2>&5
8764 ac_status=$?
8765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8766 (exit $ac_status); }; }; then
1409cd0b 8767 ac_cv_lib_m_asinhl=yes
453310d8
RS
8768else
8769 echo "$as_me: failed program was:" >&5
8770sed 's/^/| /' conftest.$ac_ext >&5
8771
1409cd0b 8772ac_cv_lib_m_asinhl=no
453310d8
RS
8773fi
8774rm -f conftest.err conftest.$ac_objext \
8775 conftest$ac_exeext conftest.$ac_ext
8776LIBS=$ac_check_lib_save_LIBS
8777fi
1409cd0b
FXC
8778echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
8779echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
8780if test $ac_cv_lib_m_asinhl = yes; then
453310d8
RS
8781
8782cat >>confdefs.h <<\_ACEOF
1409cd0b 8783#define HAVE_ASINHL 1
453310d8
RS
8784_ACEOF
8785
8786fi
8787
1409cd0b
FXC
8788echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
8789echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
8790if test "${ac_cv_lib_m_atan2f+set}" = set; then
6e4d9244
EB
8791 echo $ECHO_N "(cached) $ECHO_C" >&6
8792else
8793 ac_check_lib_save_LIBS=$LIBS
8794LIBS="-lm $LIBS"
f02d008e
JD
8795if test x$gcc_no_link = xyes; then
8796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8797echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8798 { (exit 1); exit 1; }; }
8799fi
6e4d9244
EB
8800cat >conftest.$ac_ext <<_ACEOF
8801/* confdefs.h. */
8802_ACEOF
8803cat confdefs.h >>conftest.$ac_ext
8804cat >>conftest.$ac_ext <<_ACEOF
8805/* end confdefs.h. */
8806
8807/* Override any gcc2 internal prototype to avoid an error. */
8808#ifdef __cplusplus
8809extern "C"
8810#endif
8811/* We use char because int might match the return type of a gcc2
8812 builtin and then its argument prototype would still apply. */
1409cd0b 8813char atan2f ();
6e4d9244
EB
8814int
8815main ()
8816{
1409cd0b 8817atan2f ();
6e4d9244
EB
8818 ;
8819 return 0;
8820}
8821_ACEOF
8822rm -f conftest.$ac_objext conftest$ac_exeext
8823if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8824 (eval $ac_link) 2>conftest.er1
8825 ac_status=$?
8826 grep -v '^ *+' conftest.er1 >conftest.err
8827 rm -f conftest.er1
8828 cat conftest.err >&5
8829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8830 (exit $ac_status); } &&
1409cd0b
FXC
8831 { ac_try='test -z "$ac_c_werror_flag"
8832 || test ! -s conftest.err'
6e4d9244
EB
8833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8834 (eval $ac_try) 2>&5
8835 ac_status=$?
8836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8837 (exit $ac_status); }; } &&
8838 { ac_try='test -s conftest$ac_exeext'
8839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8840 (eval $ac_try) 2>&5
8841 ac_status=$?
8842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8843 (exit $ac_status); }; }; then
1409cd0b 8844 ac_cv_lib_m_atan2f=yes
6e4d9244
EB
8845else
8846 echo "$as_me: failed program was:" >&5
8847sed 's/^/| /' conftest.$ac_ext >&5
8848
1409cd0b 8849ac_cv_lib_m_atan2f=no
6e4d9244
EB
8850fi
8851rm -f conftest.err conftest.$ac_objext \
8852 conftest$ac_exeext conftest.$ac_ext
8853LIBS=$ac_check_lib_save_LIBS
8854fi
1409cd0b
FXC
8855echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
8856echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
8857if test $ac_cv_lib_m_atan2f = yes; then
6e4d9244
EB
8858
8859cat >>confdefs.h <<\_ACEOF
1409cd0b 8860#define HAVE_ATAN2F 1
6e4d9244
EB
8861_ACEOF
8862
8863fi
8864
1409cd0b
FXC
8865echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
8866echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
8867if test "${ac_cv_lib_m_atan2+set}" = set; then
453310d8
RS
8868 echo $ECHO_N "(cached) $ECHO_C" >&6
8869else
8870 ac_check_lib_save_LIBS=$LIBS
8871LIBS="-lm $LIBS"
f02d008e
JD
8872if test x$gcc_no_link = xyes; then
8873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8874echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8875 { (exit 1); exit 1; }; }
8876fi
453310d8
RS
8877cat >conftest.$ac_ext <<_ACEOF
8878/* confdefs.h. */
8879_ACEOF
8880cat confdefs.h >>conftest.$ac_ext
8881cat >>conftest.$ac_ext <<_ACEOF
8882/* end confdefs.h. */
8883
8884/* Override any gcc2 internal prototype to avoid an error. */
8885#ifdef __cplusplus
8886extern "C"
8887#endif
8888/* We use char because int might match the return type of a gcc2
8889 builtin and then its argument prototype would still apply. */
1409cd0b 8890char atan2 ();
453310d8
RS
8891int
8892main ()
8893{
1409cd0b 8894atan2 ();
453310d8
RS
8895 ;
8896 return 0;
8897}
8898_ACEOF
8899rm -f conftest.$ac_objext conftest$ac_exeext
8900if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8901 (eval $ac_link) 2>conftest.er1
8902 ac_status=$?
8903 grep -v '^ *+' conftest.er1 >conftest.err
8904 rm -f conftest.er1
8905 cat conftest.err >&5
8906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8907 (exit $ac_status); } &&
1409cd0b
FXC
8908 { ac_try='test -z "$ac_c_werror_flag"
8909 || test ! -s conftest.err'
453310d8
RS
8910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8911 (eval $ac_try) 2>&5
8912 ac_status=$?
8913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8914 (exit $ac_status); }; } &&
8915 { ac_try='test -s conftest$ac_exeext'
8916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8917 (eval $ac_try) 2>&5
8918 ac_status=$?
8919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8920 (exit $ac_status); }; }; then
1409cd0b 8921 ac_cv_lib_m_atan2=yes
453310d8
RS
8922else
8923 echo "$as_me: failed program was:" >&5
8924sed 's/^/| /' conftest.$ac_ext >&5
8925
1409cd0b 8926ac_cv_lib_m_atan2=no
453310d8
RS
8927fi
8928rm -f conftest.err conftest.$ac_objext \
8929 conftest$ac_exeext conftest.$ac_ext
8930LIBS=$ac_check_lib_save_LIBS
8931fi
1409cd0b
FXC
8932echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
8933echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
8934if test $ac_cv_lib_m_atan2 = yes; then
453310d8
RS
8935
8936cat >>confdefs.h <<\_ACEOF
1409cd0b 8937#define HAVE_ATAN2 1
453310d8
RS
8938_ACEOF
8939
8940fi
8941
1409cd0b
FXC
8942echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
8943echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
8944if test "${ac_cv_lib_m_atan2l+set}" = set; then
453310d8
RS
8945 echo $ECHO_N "(cached) $ECHO_C" >&6
8946else
8947 ac_check_lib_save_LIBS=$LIBS
8948LIBS="-lm $LIBS"
f02d008e
JD
8949if test x$gcc_no_link = xyes; then
8950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8951echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8952 { (exit 1); exit 1; }; }
8953fi
453310d8
RS
8954cat >conftest.$ac_ext <<_ACEOF
8955/* confdefs.h. */
8956_ACEOF
8957cat confdefs.h >>conftest.$ac_ext
8958cat >>conftest.$ac_ext <<_ACEOF
8959/* end confdefs.h. */
8960
8961/* Override any gcc2 internal prototype to avoid an error. */
8962#ifdef __cplusplus
8963extern "C"
8964#endif
8965/* We use char because int might match the return type of a gcc2
8966 builtin and then its argument prototype would still apply. */
1409cd0b 8967char atan2l ();
453310d8
RS
8968int
8969main ()
8970{
1409cd0b 8971atan2l ();
453310d8
RS
8972 ;
8973 return 0;
8974}
8975_ACEOF
8976rm -f conftest.$ac_objext conftest$ac_exeext
8977if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8978 (eval $ac_link) 2>conftest.er1
8979 ac_status=$?
8980 grep -v '^ *+' conftest.er1 >conftest.err
8981 rm -f conftest.er1
8982 cat conftest.err >&5
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 (exit $ac_status); } &&
1409cd0b
FXC
8985 { ac_try='test -z "$ac_c_werror_flag"
8986 || test ! -s conftest.err'
453310d8
RS
8987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8988 (eval $ac_try) 2>&5
8989 ac_status=$?
8990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8991 (exit $ac_status); }; } &&
8992 { ac_try='test -s conftest$ac_exeext'
8993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8994 (eval $ac_try) 2>&5
8995 ac_status=$?
8996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8997 (exit $ac_status); }; }; then
1409cd0b 8998 ac_cv_lib_m_atan2l=yes
453310d8
RS
8999else
9000 echo "$as_me: failed program was:" >&5
9001sed 's/^/| /' conftest.$ac_ext >&5
9002
1409cd0b 9003ac_cv_lib_m_atan2l=no
453310d8
RS
9004fi
9005rm -f conftest.err conftest.$ac_objext \
9006 conftest$ac_exeext conftest.$ac_ext
9007LIBS=$ac_check_lib_save_LIBS
9008fi
1409cd0b
FXC
9009echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
9010echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
9011if test $ac_cv_lib_m_atan2l = yes; then
453310d8
RS
9012
9013cat >>confdefs.h <<\_ACEOF
1409cd0b 9014#define HAVE_ATAN2L 1
453310d8
RS
9015_ACEOF
9016
9017fi
9018
1409cd0b
FXC
9019echo "$as_me:$LINENO: checking for atanf in -lm" >&5
9020echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
9021if test "${ac_cv_lib_m_atanf+set}" = set; then
453310d8
RS
9022 echo $ECHO_N "(cached) $ECHO_C" >&6
9023else
9024 ac_check_lib_save_LIBS=$LIBS
9025LIBS="-lm $LIBS"
f02d008e
JD
9026if test x$gcc_no_link = xyes; then
9027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9028echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9029 { (exit 1); exit 1; }; }
9030fi
453310d8
RS
9031cat >conftest.$ac_ext <<_ACEOF
9032/* confdefs.h. */
9033_ACEOF
9034cat confdefs.h >>conftest.$ac_ext
9035cat >>conftest.$ac_ext <<_ACEOF
9036/* end confdefs.h. */
9037
9038/* Override any gcc2 internal prototype to avoid an error. */
9039#ifdef __cplusplus
9040extern "C"
9041#endif
9042/* We use char because int might match the return type of a gcc2
9043 builtin and then its argument prototype would still apply. */
1409cd0b 9044char atanf ();
453310d8
RS
9045int
9046main ()
9047{
1409cd0b 9048atanf ();
453310d8
RS
9049 ;
9050 return 0;
9051}
9052_ACEOF
9053rm -f conftest.$ac_objext conftest$ac_exeext
9054if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9055 (eval $ac_link) 2>conftest.er1
9056 ac_status=$?
9057 grep -v '^ *+' conftest.er1 >conftest.err
9058 rm -f conftest.er1
9059 cat conftest.err >&5
9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061 (exit $ac_status); } &&
1409cd0b
FXC
9062 { ac_try='test -z "$ac_c_werror_flag"
9063 || test ! -s conftest.err'
453310d8
RS
9064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9065 (eval $ac_try) 2>&5
9066 ac_status=$?
9067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068 (exit $ac_status); }; } &&
9069 { ac_try='test -s conftest$ac_exeext'
9070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9071 (eval $ac_try) 2>&5
9072 ac_status=$?
9073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074 (exit $ac_status); }; }; then
1409cd0b 9075 ac_cv_lib_m_atanf=yes
453310d8
RS
9076else
9077 echo "$as_me: failed program was:" >&5
9078sed 's/^/| /' conftest.$ac_ext >&5
9079
1409cd0b 9080ac_cv_lib_m_atanf=no
453310d8
RS
9081fi
9082rm -f conftest.err conftest.$ac_objext \
9083 conftest$ac_exeext conftest.$ac_ext
9084LIBS=$ac_check_lib_save_LIBS
9085fi
1409cd0b
FXC
9086echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
9087echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
9088if test $ac_cv_lib_m_atanf = yes; then
453310d8
RS
9089
9090cat >>confdefs.h <<\_ACEOF
1409cd0b 9091#define HAVE_ATANF 1
453310d8
RS
9092_ACEOF
9093
9094fi
9095
1409cd0b
FXC
9096echo "$as_me:$LINENO: checking for atan in -lm" >&5
9097echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
9098if test "${ac_cv_lib_m_atan+set}" = set; then
453310d8
RS
9099 echo $ECHO_N "(cached) $ECHO_C" >&6
9100else
9101 ac_check_lib_save_LIBS=$LIBS
9102LIBS="-lm $LIBS"
f02d008e
JD
9103if test x$gcc_no_link = xyes; then
9104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9105echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9106 { (exit 1); exit 1; }; }
9107fi
453310d8
RS
9108cat >conftest.$ac_ext <<_ACEOF
9109/* confdefs.h. */
9110_ACEOF
9111cat confdefs.h >>conftest.$ac_ext
9112cat >>conftest.$ac_ext <<_ACEOF
9113/* end confdefs.h. */
9114
9115/* Override any gcc2 internal prototype to avoid an error. */
9116#ifdef __cplusplus
9117extern "C"
9118#endif
9119/* We use char because int might match the return type of a gcc2
9120 builtin and then its argument prototype would still apply. */
1409cd0b 9121char atan ();
453310d8
RS
9122int
9123main ()
9124{
1409cd0b 9125atan ();
453310d8
RS
9126 ;
9127 return 0;
9128}
9129_ACEOF
9130rm -f conftest.$ac_objext conftest$ac_exeext
9131if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9132 (eval $ac_link) 2>conftest.er1
9133 ac_status=$?
9134 grep -v '^ *+' conftest.er1 >conftest.err
9135 rm -f conftest.er1
9136 cat conftest.err >&5
9137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138 (exit $ac_status); } &&
1409cd0b
FXC
9139 { ac_try='test -z "$ac_c_werror_flag"
9140 || test ! -s conftest.err'
453310d8
RS
9141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9142 (eval $ac_try) 2>&5
9143 ac_status=$?
9144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9145 (exit $ac_status); }; } &&
9146 { ac_try='test -s conftest$ac_exeext'
9147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9148 (eval $ac_try) 2>&5
9149 ac_status=$?
9150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9151 (exit $ac_status); }; }; then
1409cd0b 9152 ac_cv_lib_m_atan=yes
453310d8
RS
9153else
9154 echo "$as_me: failed program was:" >&5
9155sed 's/^/| /' conftest.$ac_ext >&5
9156
1409cd0b 9157ac_cv_lib_m_atan=no
453310d8
RS
9158fi
9159rm -f conftest.err conftest.$ac_objext \
9160 conftest$ac_exeext conftest.$ac_ext
9161LIBS=$ac_check_lib_save_LIBS
9162fi
1409cd0b
FXC
9163echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
9164echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
9165if test $ac_cv_lib_m_atan = yes; then
453310d8
RS
9166
9167cat >>confdefs.h <<\_ACEOF
1409cd0b 9168#define HAVE_ATAN 1
453310d8
RS
9169_ACEOF
9170
9171fi
9172
1409cd0b
FXC
9173echo "$as_me:$LINENO: checking for atanl in -lm" >&5
9174echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
9175if test "${ac_cv_lib_m_atanl+set}" = set; then
453310d8
RS
9176 echo $ECHO_N "(cached) $ECHO_C" >&6
9177else
9178 ac_check_lib_save_LIBS=$LIBS
9179LIBS="-lm $LIBS"
f02d008e
JD
9180if test x$gcc_no_link = xyes; then
9181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9182echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9183 { (exit 1); exit 1; }; }
9184fi
453310d8
RS
9185cat >conftest.$ac_ext <<_ACEOF
9186/* confdefs.h. */
9187_ACEOF
9188cat confdefs.h >>conftest.$ac_ext
9189cat >>conftest.$ac_ext <<_ACEOF
9190/* end confdefs.h. */
9191
9192/* Override any gcc2 internal prototype to avoid an error. */
9193#ifdef __cplusplus
9194extern "C"
9195#endif
9196/* We use char because int might match the return type of a gcc2
9197 builtin and then its argument prototype would still apply. */
1409cd0b 9198char atanl ();
453310d8
RS
9199int
9200main ()
9201{
1409cd0b 9202atanl ();
453310d8
RS
9203 ;
9204 return 0;
9205}
9206_ACEOF
9207rm -f conftest.$ac_objext conftest$ac_exeext
9208if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9209 (eval $ac_link) 2>conftest.er1
9210 ac_status=$?
9211 grep -v '^ *+' conftest.er1 >conftest.err
9212 rm -f conftest.er1
9213 cat conftest.err >&5
9214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9215 (exit $ac_status); } &&
1409cd0b
FXC
9216 { ac_try='test -z "$ac_c_werror_flag"
9217 || test ! -s conftest.err'
453310d8
RS
9218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9219 (eval $ac_try) 2>&5
9220 ac_status=$?
9221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9222 (exit $ac_status); }; } &&
9223 { ac_try='test -s conftest$ac_exeext'
9224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9225 (eval $ac_try) 2>&5
9226 ac_status=$?
9227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9228 (exit $ac_status); }; }; then
1409cd0b 9229 ac_cv_lib_m_atanl=yes
453310d8
RS
9230else
9231 echo "$as_me: failed program was:" >&5
9232sed 's/^/| /' conftest.$ac_ext >&5
9233
1409cd0b 9234ac_cv_lib_m_atanl=no
453310d8
RS
9235fi
9236rm -f conftest.err conftest.$ac_objext \
9237 conftest$ac_exeext conftest.$ac_ext
9238LIBS=$ac_check_lib_save_LIBS
9239fi
1409cd0b
FXC
9240echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
9241echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
9242if test $ac_cv_lib_m_atanl = yes; then
453310d8
RS
9243
9244cat >>confdefs.h <<\_ACEOF
1409cd0b 9245#define HAVE_ATANL 1
453310d8
RS
9246_ACEOF
9247
9248fi
9249
1409cd0b
FXC
9250echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
9251echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
9252if test "${ac_cv_lib_m_atanhf+set}" = set; then
32aa3bff
FXC
9253 echo $ECHO_N "(cached) $ECHO_C" >&6
9254else
9255 ac_check_lib_save_LIBS=$LIBS
9256LIBS="-lm $LIBS"
f02d008e
JD
9257if test x$gcc_no_link = xyes; then
9258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9259echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9260 { (exit 1); exit 1; }; }
9261fi
32aa3bff
FXC
9262cat >conftest.$ac_ext <<_ACEOF
9263/* confdefs.h. */
9264_ACEOF
9265cat confdefs.h >>conftest.$ac_ext
9266cat >>conftest.$ac_ext <<_ACEOF
9267/* end confdefs.h. */
9268
9269/* Override any gcc2 internal prototype to avoid an error. */
9270#ifdef __cplusplus
9271extern "C"
9272#endif
9273/* We use char because int might match the return type of a gcc2
9274 builtin and then its argument prototype would still apply. */
1409cd0b 9275char atanhf ();
32aa3bff
FXC
9276int
9277main ()
9278{
1409cd0b 9279atanhf ();
32aa3bff
FXC
9280 ;
9281 return 0;
9282}
9283_ACEOF
9284rm -f conftest.$ac_objext conftest$ac_exeext
9285if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9286 (eval $ac_link) 2>conftest.er1
9287 ac_status=$?
9288 grep -v '^ *+' conftest.er1 >conftest.err
9289 rm -f conftest.er1
9290 cat conftest.err >&5
9291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9292 (exit $ac_status); } &&
1409cd0b
FXC
9293 { ac_try='test -z "$ac_c_werror_flag"
9294 || test ! -s conftest.err'
32aa3bff
FXC
9295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9296 (eval $ac_try) 2>&5
9297 ac_status=$?
9298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9299 (exit $ac_status); }; } &&
9300 { ac_try='test -s conftest$ac_exeext'
9301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9302 (eval $ac_try) 2>&5
9303 ac_status=$?
9304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9305 (exit $ac_status); }; }; then
1409cd0b 9306 ac_cv_lib_m_atanhf=yes
32aa3bff
FXC
9307else
9308 echo "$as_me: failed program was:" >&5
9309sed 's/^/| /' conftest.$ac_ext >&5
9310
1409cd0b 9311ac_cv_lib_m_atanhf=no
32aa3bff
FXC
9312fi
9313rm -f conftest.err conftest.$ac_objext \
9314 conftest$ac_exeext conftest.$ac_ext
9315LIBS=$ac_check_lib_save_LIBS
9316fi
1409cd0b
FXC
9317echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
9318echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
9319if test $ac_cv_lib_m_atanhf = yes; then
32aa3bff
FXC
9320
9321cat >>confdefs.h <<\_ACEOF
1409cd0b 9322#define HAVE_ATANHF 1
32aa3bff
FXC
9323_ACEOF
9324
9325fi
9326
1409cd0b
FXC
9327echo "$as_me:$LINENO: checking for atanh in -lm" >&5
9328echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
9329if test "${ac_cv_lib_m_atanh+set}" = set; then
453310d8
RS
9330 echo $ECHO_N "(cached) $ECHO_C" >&6
9331else
9332 ac_check_lib_save_LIBS=$LIBS
9333LIBS="-lm $LIBS"
f02d008e
JD
9334if test x$gcc_no_link = xyes; then
9335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9336echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9337 { (exit 1); exit 1; }; }
9338fi
453310d8
RS
9339cat >conftest.$ac_ext <<_ACEOF
9340/* confdefs.h. */
9341_ACEOF
9342cat confdefs.h >>conftest.$ac_ext
9343cat >>conftest.$ac_ext <<_ACEOF
9344/* end confdefs.h. */
9345
9346/* Override any gcc2 internal prototype to avoid an error. */
9347#ifdef __cplusplus
9348extern "C"
9349#endif
9350/* We use char because int might match the return type of a gcc2
9351 builtin and then its argument prototype would still apply. */
1409cd0b 9352char atanh ();
453310d8
RS
9353int
9354main ()
9355{
1409cd0b 9356atanh ();
453310d8
RS
9357 ;
9358 return 0;
9359}
9360_ACEOF
9361rm -f conftest.$ac_objext conftest$ac_exeext
9362if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9363 (eval $ac_link) 2>conftest.er1
9364 ac_status=$?
9365 grep -v '^ *+' conftest.er1 >conftest.err
9366 rm -f conftest.er1
9367 cat conftest.err >&5
9368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9369 (exit $ac_status); } &&
1409cd0b
FXC
9370 { ac_try='test -z "$ac_c_werror_flag"
9371 || test ! -s conftest.err'
453310d8
RS
9372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9373 (eval $ac_try) 2>&5
9374 ac_status=$?
9375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9376 (exit $ac_status); }; } &&
9377 { ac_try='test -s conftest$ac_exeext'
9378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9379 (eval $ac_try) 2>&5
9380 ac_status=$?
9381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9382 (exit $ac_status); }; }; then
1409cd0b 9383 ac_cv_lib_m_atanh=yes
453310d8
RS
9384else
9385 echo "$as_me: failed program was:" >&5
9386sed 's/^/| /' conftest.$ac_ext >&5
9387
1409cd0b 9388ac_cv_lib_m_atanh=no
453310d8
RS
9389fi
9390rm -f conftest.err conftest.$ac_objext \
9391 conftest$ac_exeext conftest.$ac_ext
9392LIBS=$ac_check_lib_save_LIBS
9393fi
1409cd0b
FXC
9394echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
9395echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
9396if test $ac_cv_lib_m_atanh = yes; then
453310d8
RS
9397
9398cat >>confdefs.h <<\_ACEOF
1409cd0b 9399#define HAVE_ATANH 1
453310d8
RS
9400_ACEOF
9401
9402fi
9403
1409cd0b
FXC
9404echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
9405echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
9406if test "${ac_cv_lib_m_atanhl+set}" = set; then
453310d8
RS
9407 echo $ECHO_N "(cached) $ECHO_C" >&6
9408else
9409 ac_check_lib_save_LIBS=$LIBS
9410LIBS="-lm $LIBS"
f02d008e
JD
9411if test x$gcc_no_link = xyes; then
9412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9413echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9414 { (exit 1); exit 1; }; }
9415fi
453310d8
RS
9416cat >conftest.$ac_ext <<_ACEOF
9417/* confdefs.h. */
9418_ACEOF
9419cat confdefs.h >>conftest.$ac_ext
9420cat >>conftest.$ac_ext <<_ACEOF
9421/* end confdefs.h. */
9422
9423/* Override any gcc2 internal prototype to avoid an error. */
9424#ifdef __cplusplus
9425extern "C"
9426#endif
9427/* We use char because int might match the return type of a gcc2
9428 builtin and then its argument prototype would still apply. */
1409cd0b 9429char atanhl ();
453310d8
RS
9430int
9431main ()
9432{
1409cd0b 9433atanhl ();
453310d8
RS
9434 ;
9435 return 0;
9436}
9437_ACEOF
9438rm -f conftest.$ac_objext conftest$ac_exeext
9439if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9440 (eval $ac_link) 2>conftest.er1
9441 ac_status=$?
9442 grep -v '^ *+' conftest.er1 >conftest.err
9443 rm -f conftest.er1
9444 cat conftest.err >&5
9445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9446 (exit $ac_status); } &&
1409cd0b
FXC
9447 { ac_try='test -z "$ac_c_werror_flag"
9448 || test ! -s conftest.err'
453310d8
RS
9449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9450 (eval $ac_try) 2>&5
9451 ac_status=$?
9452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9453 (exit $ac_status); }; } &&
9454 { ac_try='test -s conftest$ac_exeext'
9455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9456 (eval $ac_try) 2>&5
9457 ac_status=$?
9458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9459 (exit $ac_status); }; }; then
1409cd0b 9460 ac_cv_lib_m_atanhl=yes
453310d8
RS
9461else
9462 echo "$as_me: failed program was:" >&5
9463sed 's/^/| /' conftest.$ac_ext >&5
9464
1409cd0b 9465ac_cv_lib_m_atanhl=no
453310d8
RS
9466fi
9467rm -f conftest.err conftest.$ac_objext \
9468 conftest$ac_exeext conftest.$ac_ext
9469LIBS=$ac_check_lib_save_LIBS
9470fi
1409cd0b
FXC
9471echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
9472echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
9473if test $ac_cv_lib_m_atanhl = yes; then
453310d8
RS
9474
9475cat >>confdefs.h <<\_ACEOF
1409cd0b 9476#define HAVE_ATANHL 1
453310d8
RS
9477_ACEOF
9478
9479fi
9480
1409cd0b
FXC
9481echo "$as_me:$LINENO: checking for cargf in -lm" >&5
9482echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
9483if test "${ac_cv_lib_m_cargf+set}" = set; then
bf4d99cf
TS
9484 echo $ECHO_N "(cached) $ECHO_C" >&6
9485else
9486 ac_check_lib_save_LIBS=$LIBS
9487LIBS="-lm $LIBS"
f02d008e
JD
9488if test x$gcc_no_link = xyes; then
9489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9490echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9491 { (exit 1); exit 1; }; }
9492fi
bf4d99cf
TS
9493cat >conftest.$ac_ext <<_ACEOF
9494/* confdefs.h. */
9495_ACEOF
9496cat confdefs.h >>conftest.$ac_ext
9497cat >>conftest.$ac_ext <<_ACEOF
9498/* end confdefs.h. */
9499
9500/* Override any gcc2 internal prototype to avoid an error. */
9501#ifdef __cplusplus
9502extern "C"
9503#endif
9504/* We use char because int might match the return type of a gcc2
9505 builtin and then its argument prototype would still apply. */
1409cd0b 9506char cargf ();
bf4d99cf
TS
9507int
9508main ()
9509{
1409cd0b 9510cargf ();
bf4d99cf
TS
9511 ;
9512 return 0;
9513}
9514_ACEOF
9515rm -f conftest.$ac_objext conftest$ac_exeext
9516if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9517 (eval $ac_link) 2>conftest.er1
9518 ac_status=$?
9519 grep -v '^ *+' conftest.er1 >conftest.err
9520 rm -f conftest.er1
9521 cat conftest.err >&5
9522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 (exit $ac_status); } &&
1409cd0b
FXC
9524 { ac_try='test -z "$ac_c_werror_flag"
9525 || test ! -s conftest.err'
bf4d99cf
TS
9526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9527 (eval $ac_try) 2>&5
9528 ac_status=$?
9529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9530 (exit $ac_status); }; } &&
9531 { ac_try='test -s conftest$ac_exeext'
9532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9533 (eval $ac_try) 2>&5
9534 ac_status=$?
9535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9536 (exit $ac_status); }; }; then
1409cd0b 9537 ac_cv_lib_m_cargf=yes
bf4d99cf
TS
9538else
9539 echo "$as_me: failed program was:" >&5
9540sed 's/^/| /' conftest.$ac_ext >&5
9541
1409cd0b 9542ac_cv_lib_m_cargf=no
bf4d99cf
TS
9543fi
9544rm -f conftest.err conftest.$ac_objext \
9545 conftest$ac_exeext conftest.$ac_ext
9546LIBS=$ac_check_lib_save_LIBS
9547fi
1409cd0b
FXC
9548echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
9549echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
9550if test $ac_cv_lib_m_cargf = yes; then
bf4d99cf
TS
9551
9552cat >>confdefs.h <<\_ACEOF
1409cd0b 9553#define HAVE_CARGF 1
bf4d99cf
TS
9554_ACEOF
9555
9556fi
9557
1409cd0b
FXC
9558echo "$as_me:$LINENO: checking for carg in -lm" >&5
9559echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
9560if test "${ac_cv_lib_m_carg+set}" = set; then
a2a2059f
BD
9561 echo $ECHO_N "(cached) $ECHO_C" >&6
9562else
9563 ac_check_lib_save_LIBS=$LIBS
9564LIBS="-lm $LIBS"
f02d008e
JD
9565if test x$gcc_no_link = xyes; then
9566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9567echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9568 { (exit 1); exit 1; }; }
9569fi
a2a2059f
BD
9570cat >conftest.$ac_ext <<_ACEOF
9571/* confdefs.h. */
9572_ACEOF
9573cat confdefs.h >>conftest.$ac_ext
9574cat >>conftest.$ac_ext <<_ACEOF
9575/* end confdefs.h. */
9576
9577/* Override any gcc2 internal prototype to avoid an error. */
9578#ifdef __cplusplus
9579extern "C"
9580#endif
9581/* We use char because int might match the return type of a gcc2
9582 builtin and then its argument prototype would still apply. */
1409cd0b 9583char carg ();
453310d8
RS
9584int
9585main ()
9586{
1409cd0b 9587carg ();
453310d8
RS
9588 ;
9589 return 0;
9590}
9591_ACEOF
9592rm -f conftest.$ac_objext conftest$ac_exeext
9593if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9594 (eval $ac_link) 2>conftest.er1
9595 ac_status=$?
9596 grep -v '^ *+' conftest.er1 >conftest.err
9597 rm -f conftest.er1
9598 cat conftest.err >&5
9599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9600 (exit $ac_status); } &&
1409cd0b
FXC
9601 { ac_try='test -z "$ac_c_werror_flag"
9602 || test ! -s conftest.err'
453310d8
RS
9603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9604 (eval $ac_try) 2>&5
9605 ac_status=$?
9606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9607 (exit $ac_status); }; } &&
9608 { ac_try='test -s conftest$ac_exeext'
9609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9610 (eval $ac_try) 2>&5
9611 ac_status=$?
9612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9613 (exit $ac_status); }; }; then
1409cd0b 9614 ac_cv_lib_m_carg=yes
453310d8
RS
9615else
9616 echo "$as_me: failed program was:" >&5
9617sed 's/^/| /' conftest.$ac_ext >&5
9618
1409cd0b 9619ac_cv_lib_m_carg=no
453310d8
RS
9620fi
9621rm -f conftest.err conftest.$ac_objext \
9622 conftest$ac_exeext conftest.$ac_ext
9623LIBS=$ac_check_lib_save_LIBS
9624fi
1409cd0b
FXC
9625echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
9626echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
9627if test $ac_cv_lib_m_carg = yes; then
453310d8
RS
9628
9629cat >>confdefs.h <<\_ACEOF
1409cd0b 9630#define HAVE_CARG 1
453310d8
RS
9631_ACEOF
9632
9633fi
9634
1409cd0b
FXC
9635echo "$as_me:$LINENO: checking for cargl in -lm" >&5
9636echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
9637if test "${ac_cv_lib_m_cargl+set}" = set; then
453310d8
RS
9638 echo $ECHO_N "(cached) $ECHO_C" >&6
9639else
9640 ac_check_lib_save_LIBS=$LIBS
9641LIBS="-lm $LIBS"
f02d008e
JD
9642if test x$gcc_no_link = xyes; then
9643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9644echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9645 { (exit 1); exit 1; }; }
9646fi
453310d8
RS
9647cat >conftest.$ac_ext <<_ACEOF
9648/* confdefs.h. */
9649_ACEOF
9650cat confdefs.h >>conftest.$ac_ext
9651cat >>conftest.$ac_ext <<_ACEOF
9652/* end confdefs.h. */
9653
9654/* Override any gcc2 internal prototype to avoid an error. */
9655#ifdef __cplusplus
9656extern "C"
9657#endif
9658/* We use char because int might match the return type of a gcc2
9659 builtin and then its argument prototype would still apply. */
1409cd0b 9660char cargl ();
a2a2059f
BD
9661int
9662main ()
9663{
1409cd0b 9664cargl ();
a2a2059f
BD
9665 ;
9666 return 0;
9667}
9668_ACEOF
9669rm -f conftest.$ac_objext conftest$ac_exeext
9670if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9671 (eval $ac_link) 2>conftest.er1
9672 ac_status=$?
9673 grep -v '^ *+' conftest.er1 >conftest.err
9674 rm -f conftest.er1
9675 cat conftest.err >&5
9676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9677 (exit $ac_status); } &&
1409cd0b
FXC
9678 { ac_try='test -z "$ac_c_werror_flag"
9679 || test ! -s conftest.err'
a2a2059f
BD
9680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9681 (eval $ac_try) 2>&5
9682 ac_status=$?
9683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9684 (exit $ac_status); }; } &&
9685 { ac_try='test -s conftest$ac_exeext'
9686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9687 (eval $ac_try) 2>&5
9688 ac_status=$?
9689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9690 (exit $ac_status); }; }; then
1409cd0b 9691 ac_cv_lib_m_cargl=yes
a2a2059f
BD
9692else
9693 echo "$as_me: failed program was:" >&5
9694sed 's/^/| /' conftest.$ac_ext >&5
9695
1409cd0b 9696ac_cv_lib_m_cargl=no
a2a2059f
BD
9697fi
9698rm -f conftest.err conftest.$ac_objext \
9699 conftest$ac_exeext conftest.$ac_ext
9700LIBS=$ac_check_lib_save_LIBS
9701fi
1409cd0b
FXC
9702echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
9703echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
9704if test $ac_cv_lib_m_cargl = yes; then
a2a2059f
BD
9705
9706cat >>confdefs.h <<\_ACEOF
1409cd0b 9707#define HAVE_CARGL 1
a2a2059f
BD
9708_ACEOF
9709
9710fi
9711
1409cd0b
FXC
9712echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
9713echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
9714if test "${ac_cv_lib_m_ceilf+set}" = set; then
a2a2059f
BD
9715 echo $ECHO_N "(cached) $ECHO_C" >&6
9716else
9717 ac_check_lib_save_LIBS=$LIBS
9718LIBS="-lm $LIBS"
f02d008e
JD
9719if test x$gcc_no_link = xyes; then
9720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9721echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9722 { (exit 1); exit 1; }; }
9723fi
a2a2059f
BD
9724cat >conftest.$ac_ext <<_ACEOF
9725/* confdefs.h. */
9726_ACEOF
9727cat confdefs.h >>conftest.$ac_ext
9728cat >>conftest.$ac_ext <<_ACEOF
9729/* end confdefs.h. */
9730
9731/* Override any gcc2 internal prototype to avoid an error. */
9732#ifdef __cplusplus
9733extern "C"
9734#endif
9735/* We use char because int might match the return type of a gcc2
9736 builtin and then its argument prototype would still apply. */
1409cd0b 9737char ceilf ();
a2a2059f
BD
9738int
9739main ()
9740{
1409cd0b 9741ceilf ();
a2a2059f
BD
9742 ;
9743 return 0;
9744}
9745_ACEOF
9746rm -f conftest.$ac_objext conftest$ac_exeext
9747if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9748 (eval $ac_link) 2>conftest.er1
9749 ac_status=$?
9750 grep -v '^ *+' conftest.er1 >conftest.err
9751 rm -f conftest.er1
9752 cat conftest.err >&5
9753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9754 (exit $ac_status); } &&
1409cd0b
FXC
9755 { ac_try='test -z "$ac_c_werror_flag"
9756 || test ! -s conftest.err'
a2a2059f
BD
9757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9758 (eval $ac_try) 2>&5
9759 ac_status=$?
9760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9761 (exit $ac_status); }; } &&
9762 { ac_try='test -s conftest$ac_exeext'
9763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9764 (eval $ac_try) 2>&5
9765 ac_status=$?
9766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9767 (exit $ac_status); }; }; then
1409cd0b 9768 ac_cv_lib_m_ceilf=yes
a2a2059f
BD
9769else
9770 echo "$as_me: failed program was:" >&5
9771sed 's/^/| /' conftest.$ac_ext >&5
9772
1409cd0b 9773ac_cv_lib_m_ceilf=no
a2a2059f
BD
9774fi
9775rm -f conftest.err conftest.$ac_objext \
9776 conftest$ac_exeext conftest.$ac_ext
9777LIBS=$ac_check_lib_save_LIBS
9778fi
1409cd0b
FXC
9779echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
9780echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
9781if test $ac_cv_lib_m_ceilf = yes; then
a2a2059f
BD
9782
9783cat >>confdefs.h <<\_ACEOF
1409cd0b 9784#define HAVE_CEILF 1
a2a2059f
BD
9785_ACEOF
9786
9787fi
9788
1409cd0b
FXC
9789echo "$as_me:$LINENO: checking for ceil in -lm" >&5
9790echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
9791if test "${ac_cv_lib_m_ceil+set}" = set; then
ae973d6a
FXC
9792 echo $ECHO_N "(cached) $ECHO_C" >&6
9793else
9794 ac_check_lib_save_LIBS=$LIBS
9795LIBS="-lm $LIBS"
f02d008e
JD
9796if test x$gcc_no_link = xyes; then
9797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9798echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9799 { (exit 1); exit 1; }; }
9800fi
ae973d6a
FXC
9801cat >conftest.$ac_ext <<_ACEOF
9802/* confdefs.h. */
9803_ACEOF
9804cat confdefs.h >>conftest.$ac_ext
9805cat >>conftest.$ac_ext <<_ACEOF
9806/* end confdefs.h. */
9807
9808/* Override any gcc2 internal prototype to avoid an error. */
9809#ifdef __cplusplus
9810extern "C"
9811#endif
9812/* We use char because int might match the return type of a gcc2
9813 builtin and then its argument prototype would still apply. */
1409cd0b 9814char ceil ();
ae973d6a
FXC
9815int
9816main ()
9817{
1409cd0b 9818ceil ();
ae973d6a
FXC
9819 ;
9820 return 0;
9821}
9822_ACEOF
9823rm -f conftest.$ac_objext conftest$ac_exeext
9824if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9825 (eval $ac_link) 2>conftest.er1
9826 ac_status=$?
9827 grep -v '^ *+' conftest.er1 >conftest.err
9828 rm -f conftest.er1
9829 cat conftest.err >&5
9830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9831 (exit $ac_status); } &&
1409cd0b
FXC
9832 { ac_try='test -z "$ac_c_werror_flag"
9833 || test ! -s conftest.err'
ae973d6a
FXC
9834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9835 (eval $ac_try) 2>&5
9836 ac_status=$?
9837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9838 (exit $ac_status); }; } &&
9839 { ac_try='test -s conftest$ac_exeext'
9840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9841 (eval $ac_try) 2>&5
9842 ac_status=$?
9843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9844 (exit $ac_status); }; }; then
1409cd0b 9845 ac_cv_lib_m_ceil=yes
ae973d6a
FXC
9846else
9847 echo "$as_me: failed program was:" >&5
9848sed 's/^/| /' conftest.$ac_ext >&5
9849
1409cd0b 9850ac_cv_lib_m_ceil=no
ae973d6a
FXC
9851fi
9852rm -f conftest.err conftest.$ac_objext \
9853 conftest$ac_exeext conftest.$ac_ext
9854LIBS=$ac_check_lib_save_LIBS
9855fi
1409cd0b
FXC
9856echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
9857echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
9858if test $ac_cv_lib_m_ceil = yes; then
ae973d6a
FXC
9859
9860cat >>confdefs.h <<\_ACEOF
1409cd0b 9861#define HAVE_CEIL 1
ae973d6a
FXC
9862_ACEOF
9863
9864fi
9865
1409cd0b
FXC
9866echo "$as_me:$LINENO: checking for ceill in -lm" >&5
9867echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
9868if test "${ac_cv_lib_m_ceill+set}" = set; then
a9e7b9d3
PB
9869 echo $ECHO_N "(cached) $ECHO_C" >&6
9870else
9871 ac_check_lib_save_LIBS=$LIBS
9872LIBS="-lm $LIBS"
f02d008e
JD
9873if test x$gcc_no_link = xyes; then
9874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9875echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9876 { (exit 1); exit 1; }; }
9877fi
a9e7b9d3
PB
9878cat >conftest.$ac_ext <<_ACEOF
9879/* confdefs.h. */
9880_ACEOF
9881cat confdefs.h >>conftest.$ac_ext
9882cat >>conftest.$ac_ext <<_ACEOF
9883/* end confdefs.h. */
9884
9885/* Override any gcc2 internal prototype to avoid an error. */
9886#ifdef __cplusplus
9887extern "C"
9888#endif
9889/* We use char because int might match the return type of a gcc2
9890 builtin and then its argument prototype would still apply. */
1409cd0b 9891char ceill ();
a9e7b9d3
PB
9892int
9893main ()
9894{
1409cd0b 9895ceill ();
a9e7b9d3
PB
9896 ;
9897 return 0;
9898}
9899_ACEOF
9900rm -f conftest.$ac_objext conftest$ac_exeext
9901if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9902 (eval $ac_link) 2>conftest.er1
9903 ac_status=$?
9904 grep -v '^ *+' conftest.er1 >conftest.err
9905 rm -f conftest.er1
9906 cat conftest.err >&5
9907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9908 (exit $ac_status); } &&
1409cd0b
FXC
9909 { ac_try='test -z "$ac_c_werror_flag"
9910 || test ! -s conftest.err'
a9e7b9d3
PB
9911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9912 (eval $ac_try) 2>&5
9913 ac_status=$?
9914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9915 (exit $ac_status); }; } &&
9916 { ac_try='test -s conftest$ac_exeext'
9917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9918 (eval $ac_try) 2>&5
9919 ac_status=$?
9920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9921 (exit $ac_status); }; }; then
1409cd0b 9922 ac_cv_lib_m_ceill=yes
a9e7b9d3
PB
9923else
9924 echo "$as_me: failed program was:" >&5
9925sed 's/^/| /' conftest.$ac_ext >&5
9926
1409cd0b 9927ac_cv_lib_m_ceill=no
a9e7b9d3
PB
9928fi
9929rm -f conftest.err conftest.$ac_objext \
9930 conftest$ac_exeext conftest.$ac_ext
9931LIBS=$ac_check_lib_save_LIBS
9932fi
1409cd0b
FXC
9933echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
9934echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
9935if test $ac_cv_lib_m_ceill = yes; then
a9e7b9d3
PB
9936
9937cat >>confdefs.h <<\_ACEOF
1409cd0b 9938#define HAVE_CEILL 1
a9e7b9d3
PB
9939_ACEOF
9940
9941fi
9942
1409cd0b
FXC
9943echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
9944echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
9945if test "${ac_cv_lib_m_copysignf+set}" = set; then
a9e7b9d3
PB
9946 echo $ECHO_N "(cached) $ECHO_C" >&6
9947else
9948 ac_check_lib_save_LIBS=$LIBS
9949LIBS="-lm $LIBS"
f02d008e
JD
9950if test x$gcc_no_link = xyes; then
9951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9952echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9953 { (exit 1); exit 1; }; }
9954fi
a9e7b9d3
PB
9955cat >conftest.$ac_ext <<_ACEOF
9956/* confdefs.h. */
9957_ACEOF
9958cat confdefs.h >>conftest.$ac_ext
9959cat >>conftest.$ac_ext <<_ACEOF
9960/* end confdefs.h. */
9961
9962/* Override any gcc2 internal prototype to avoid an error. */
9963#ifdef __cplusplus
9964extern "C"
9965#endif
9966/* We use char because int might match the return type of a gcc2
9967 builtin and then its argument prototype would still apply. */
1409cd0b 9968char copysignf ();
a9e7b9d3
PB
9969int
9970main ()
9971{
1409cd0b 9972copysignf ();
a9e7b9d3
PB
9973 ;
9974 return 0;
9975}
9976_ACEOF
9977rm -f conftest.$ac_objext conftest$ac_exeext
9978if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9979 (eval $ac_link) 2>conftest.er1
9980 ac_status=$?
9981 grep -v '^ *+' conftest.er1 >conftest.err
9982 rm -f conftest.er1
9983 cat conftest.err >&5
9984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9985 (exit $ac_status); } &&
1409cd0b
FXC
9986 { ac_try='test -z "$ac_c_werror_flag"
9987 || test ! -s conftest.err'
a9e7b9d3
PB
9988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9989 (eval $ac_try) 2>&5
9990 ac_status=$?
9991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9992 (exit $ac_status); }; } &&
9993 { ac_try='test -s conftest$ac_exeext'
9994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9995 (eval $ac_try) 2>&5
9996 ac_status=$?
9997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9998 (exit $ac_status); }; }; then
1409cd0b 9999 ac_cv_lib_m_copysignf=yes
a9e7b9d3
PB
10000else
10001 echo "$as_me: failed program was:" >&5
10002sed 's/^/| /' conftest.$ac_ext >&5
10003
1409cd0b 10004ac_cv_lib_m_copysignf=no
a9e7b9d3
PB
10005fi
10006rm -f conftest.err conftest.$ac_objext \
10007 conftest$ac_exeext conftest.$ac_ext
10008LIBS=$ac_check_lib_save_LIBS
10009fi
1409cd0b
FXC
10010echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
10011echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
10012if test $ac_cv_lib_m_copysignf = yes; then
a9e7b9d3
PB
10013
10014cat >>confdefs.h <<\_ACEOF
1409cd0b 10015#define HAVE_COPYSIGNF 1
453310d8
RS
10016_ACEOF
10017
10018fi
10019
1409cd0b
FXC
10020echo "$as_me:$LINENO: checking for copysign in -lm" >&5
10021echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
10022if test "${ac_cv_lib_m_copysign+set}" = set; then
453310d8
RS
10023 echo $ECHO_N "(cached) $ECHO_C" >&6
10024else
10025 ac_check_lib_save_LIBS=$LIBS
10026LIBS="-lm $LIBS"
f02d008e
JD
10027if test x$gcc_no_link = xyes; then
10028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10029echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10030 { (exit 1); exit 1; }; }
10031fi
453310d8
RS
10032cat >conftest.$ac_ext <<_ACEOF
10033/* confdefs.h. */
10034_ACEOF
10035cat confdefs.h >>conftest.$ac_ext
10036cat >>conftest.$ac_ext <<_ACEOF
10037/* end confdefs.h. */
10038
10039/* Override any gcc2 internal prototype to avoid an error. */
10040#ifdef __cplusplus
10041extern "C"
10042#endif
10043/* We use char because int might match the return type of a gcc2
10044 builtin and then its argument prototype would still apply. */
1409cd0b 10045char copysign ();
453310d8
RS
10046int
10047main ()
10048{
1409cd0b 10049copysign ();
453310d8
RS
10050 ;
10051 return 0;
10052}
10053_ACEOF
10054rm -f conftest.$ac_objext conftest$ac_exeext
10055if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10056 (eval $ac_link) 2>conftest.er1
10057 ac_status=$?
10058 grep -v '^ *+' conftest.er1 >conftest.err
10059 rm -f conftest.er1
10060 cat conftest.err >&5
10061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10062 (exit $ac_status); } &&
1409cd0b
FXC
10063 { ac_try='test -z "$ac_c_werror_flag"
10064 || test ! -s conftest.err'
453310d8
RS
10065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10066 (eval $ac_try) 2>&5
10067 ac_status=$?
10068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10069 (exit $ac_status); }; } &&
10070 { ac_try='test -s conftest$ac_exeext'
10071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10072 (eval $ac_try) 2>&5
10073 ac_status=$?
10074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075 (exit $ac_status); }; }; then
1409cd0b 10076 ac_cv_lib_m_copysign=yes
453310d8
RS
10077else
10078 echo "$as_me: failed program was:" >&5
10079sed 's/^/| /' conftest.$ac_ext >&5
10080
1409cd0b 10081ac_cv_lib_m_copysign=no
453310d8
RS
10082fi
10083rm -f conftest.err conftest.$ac_objext \
10084 conftest$ac_exeext conftest.$ac_ext
10085LIBS=$ac_check_lib_save_LIBS
10086fi
1409cd0b
FXC
10087echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
10088echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
10089if test $ac_cv_lib_m_copysign = yes; then
453310d8
RS
10090
10091cat >>confdefs.h <<\_ACEOF
1409cd0b 10092#define HAVE_COPYSIGN 1
453310d8
RS
10093_ACEOF
10094
10095fi
10096
1409cd0b
FXC
10097echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
10098echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
10099if test "${ac_cv_lib_m_copysignl+set}" = set; then
453310d8
RS
10100 echo $ECHO_N "(cached) $ECHO_C" >&6
10101else
10102 ac_check_lib_save_LIBS=$LIBS
10103LIBS="-lm $LIBS"
f02d008e
JD
10104if test x$gcc_no_link = xyes; then
10105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10106echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10107 { (exit 1); exit 1; }; }
10108fi
453310d8
RS
10109cat >conftest.$ac_ext <<_ACEOF
10110/* confdefs.h. */
10111_ACEOF
10112cat confdefs.h >>conftest.$ac_ext
10113cat >>conftest.$ac_ext <<_ACEOF
10114/* end confdefs.h. */
10115
10116/* Override any gcc2 internal prototype to avoid an error. */
10117#ifdef __cplusplus
10118extern "C"
10119#endif
10120/* We use char because int might match the return type of a gcc2
10121 builtin and then its argument prototype would still apply. */
1409cd0b 10122char copysignl ();
453310d8
RS
10123int
10124main ()
10125{
1409cd0b 10126copysignl ();
453310d8
RS
10127 ;
10128 return 0;
10129}
10130_ACEOF
10131rm -f conftest.$ac_objext conftest$ac_exeext
10132if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10133 (eval $ac_link) 2>conftest.er1
10134 ac_status=$?
10135 grep -v '^ *+' conftest.er1 >conftest.err
10136 rm -f conftest.er1
10137 cat conftest.err >&5
10138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10139 (exit $ac_status); } &&
1409cd0b
FXC
10140 { ac_try='test -z "$ac_c_werror_flag"
10141 || test ! -s conftest.err'
453310d8
RS
10142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10143 (eval $ac_try) 2>&5
10144 ac_status=$?
10145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10146 (exit $ac_status); }; } &&
10147 { ac_try='test -s conftest$ac_exeext'
10148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10149 (eval $ac_try) 2>&5
10150 ac_status=$?
10151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10152 (exit $ac_status); }; }; then
1409cd0b 10153 ac_cv_lib_m_copysignl=yes
453310d8
RS
10154else
10155 echo "$as_me: failed program was:" >&5
10156sed 's/^/| /' conftest.$ac_ext >&5
10157
1409cd0b 10158ac_cv_lib_m_copysignl=no
453310d8
RS
10159fi
10160rm -f conftest.err conftest.$ac_objext \
10161 conftest$ac_exeext conftest.$ac_ext
10162LIBS=$ac_check_lib_save_LIBS
10163fi
1409cd0b
FXC
10164echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
10165echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
10166if test $ac_cv_lib_m_copysignl = yes; then
453310d8
RS
10167
10168cat >>confdefs.h <<\_ACEOF
1409cd0b 10169#define HAVE_COPYSIGNL 1
453310d8
RS
10170_ACEOF
10171
10172fi
10173
1409cd0b
FXC
10174echo "$as_me:$LINENO: checking for cosf in -lm" >&5
10175echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
10176if test "${ac_cv_lib_m_cosf+set}" = set; then
453310d8
RS
10177 echo $ECHO_N "(cached) $ECHO_C" >&6
10178else
10179 ac_check_lib_save_LIBS=$LIBS
10180LIBS="-lm $LIBS"
f02d008e
JD
10181if test x$gcc_no_link = xyes; then
10182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10183echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10184 { (exit 1); exit 1; }; }
10185fi
453310d8
RS
10186cat >conftest.$ac_ext <<_ACEOF
10187/* confdefs.h. */
10188_ACEOF
10189cat confdefs.h >>conftest.$ac_ext
10190cat >>conftest.$ac_ext <<_ACEOF
10191/* end confdefs.h. */
10192
10193/* Override any gcc2 internal prototype to avoid an error. */
10194#ifdef __cplusplus
10195extern "C"
10196#endif
10197/* We use char because int might match the return type of a gcc2
10198 builtin and then its argument prototype would still apply. */
1409cd0b 10199char cosf ();
453310d8
RS
10200int
10201main ()
10202{
1409cd0b 10203cosf ();
453310d8
RS
10204 ;
10205 return 0;
10206}
10207_ACEOF
10208rm -f conftest.$ac_objext conftest$ac_exeext
10209if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10210 (eval $ac_link) 2>conftest.er1
10211 ac_status=$?
10212 grep -v '^ *+' conftest.er1 >conftest.err
10213 rm -f conftest.er1
10214 cat conftest.err >&5
10215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10216 (exit $ac_status); } &&
1409cd0b
FXC
10217 { ac_try='test -z "$ac_c_werror_flag"
10218 || test ! -s conftest.err'
453310d8
RS
10219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10220 (eval $ac_try) 2>&5
10221 ac_status=$?
10222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10223 (exit $ac_status); }; } &&
10224 { ac_try='test -s conftest$ac_exeext'
10225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10226 (eval $ac_try) 2>&5
10227 ac_status=$?
10228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10229 (exit $ac_status); }; }; then
1409cd0b 10230 ac_cv_lib_m_cosf=yes
453310d8
RS
10231else
10232 echo "$as_me: failed program was:" >&5
10233sed 's/^/| /' conftest.$ac_ext >&5
10234
1409cd0b 10235ac_cv_lib_m_cosf=no
453310d8
RS
10236fi
10237rm -f conftest.err conftest.$ac_objext \
10238 conftest$ac_exeext conftest.$ac_ext
10239LIBS=$ac_check_lib_save_LIBS
10240fi
1409cd0b
FXC
10241echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
10242echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
10243if test $ac_cv_lib_m_cosf = yes; then
453310d8
RS
10244
10245cat >>confdefs.h <<\_ACEOF
1409cd0b 10246#define HAVE_COSF 1
a9e7b9d3
PB
10247_ACEOF
10248
10249fi
10250
1409cd0b
FXC
10251echo "$as_me:$LINENO: checking for cos in -lm" >&5
10252echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
10253if test "${ac_cv_lib_m_cos+set}" = set; then
69a2d125
EB
10254 echo $ECHO_N "(cached) $ECHO_C" >&6
10255else
10256 ac_check_lib_save_LIBS=$LIBS
10257LIBS="-lm $LIBS"
f02d008e
JD
10258if test x$gcc_no_link = xyes; then
10259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10260echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10261 { (exit 1); exit 1; }; }
10262fi
69a2d125
EB
10263cat >conftest.$ac_ext <<_ACEOF
10264/* confdefs.h. */
10265_ACEOF
10266cat confdefs.h >>conftest.$ac_ext
10267cat >>conftest.$ac_ext <<_ACEOF
10268/* end confdefs.h. */
10269
10270/* Override any gcc2 internal prototype to avoid an error. */
10271#ifdef __cplusplus
10272extern "C"
10273#endif
10274/* We use char because int might match the return type of a gcc2
10275 builtin and then its argument prototype would still apply. */
1409cd0b 10276char cos ();
69a2d125
EB
10277int
10278main ()
10279{
1409cd0b 10280cos ();
69a2d125
EB
10281 ;
10282 return 0;
10283}
10284_ACEOF
10285rm -f conftest.$ac_objext conftest$ac_exeext
10286if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10287 (eval $ac_link) 2>conftest.er1
10288 ac_status=$?
10289 grep -v '^ *+' conftest.er1 >conftest.err
10290 rm -f conftest.er1
10291 cat conftest.err >&5
10292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10293 (exit $ac_status); } &&
1409cd0b
FXC
10294 { ac_try='test -z "$ac_c_werror_flag"
10295 || test ! -s conftest.err'
69a2d125
EB
10296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10297 (eval $ac_try) 2>&5
10298 ac_status=$?
10299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10300 (exit $ac_status); }; } &&
10301 { ac_try='test -s conftest$ac_exeext'
10302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10303 (eval $ac_try) 2>&5
10304 ac_status=$?
10305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10306 (exit $ac_status); }; }; then
1409cd0b 10307 ac_cv_lib_m_cos=yes
69a2d125
EB
10308else
10309 echo "$as_me: failed program was:" >&5
10310sed 's/^/| /' conftest.$ac_ext >&5
10311
1409cd0b 10312ac_cv_lib_m_cos=no
69a2d125
EB
10313fi
10314rm -f conftest.err conftest.$ac_objext \
10315 conftest$ac_exeext conftest.$ac_ext
10316LIBS=$ac_check_lib_save_LIBS
10317fi
1409cd0b
FXC
10318echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
10319echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
10320if test $ac_cv_lib_m_cos = yes; then
69a2d125
EB
10321
10322cat >>confdefs.h <<\_ACEOF
1409cd0b
FXC
10323#define HAVE_COS 1
10324_ACEOF
10325
10326fi
10327
10328echo "$as_me:$LINENO: checking for cosl in -lm" >&5
10329echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
10330if test "${ac_cv_lib_m_cosl+set}" = set; then
10331 echo $ECHO_N "(cached) $ECHO_C" >&6
10332else
10333 ac_check_lib_save_LIBS=$LIBS
10334LIBS="-lm $LIBS"
10335if test x$gcc_no_link = xyes; then
10336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10337echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10338 { (exit 1); exit 1; }; }
10339fi
10340cat >conftest.$ac_ext <<_ACEOF
10341/* confdefs.h. */
10342_ACEOF
10343cat confdefs.h >>conftest.$ac_ext
10344cat >>conftest.$ac_ext <<_ACEOF
10345/* end confdefs.h. */
10346
10347/* Override any gcc2 internal prototype to avoid an error. */
10348#ifdef __cplusplus
10349extern "C"
10350#endif
10351/* We use char because int might match the return type of a gcc2
10352 builtin and then its argument prototype would still apply. */
10353char cosl ();
10354int
10355main ()
10356{
10357cosl ();
10358 ;
10359 return 0;
10360}
10361_ACEOF
10362rm -f conftest.$ac_objext conftest$ac_exeext
10363if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10364 (eval $ac_link) 2>conftest.er1
10365 ac_status=$?
10366 grep -v '^ *+' conftest.er1 >conftest.err
10367 rm -f conftest.er1
10368 cat conftest.err >&5
10369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10370 (exit $ac_status); } &&
10371 { ac_try='test -z "$ac_c_werror_flag"
10372 || test ! -s conftest.err'
10373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10374 (eval $ac_try) 2>&5
10375 ac_status=$?
10376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10377 (exit $ac_status); }; } &&
10378 { ac_try='test -s conftest$ac_exeext'
10379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10380 (eval $ac_try) 2>&5
10381 ac_status=$?
10382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10383 (exit $ac_status); }; }; then
10384 ac_cv_lib_m_cosl=yes
10385else
10386 echo "$as_me: failed program was:" >&5
10387sed 's/^/| /' conftest.$ac_ext >&5
10388
10389ac_cv_lib_m_cosl=no
10390fi
10391rm -f conftest.err conftest.$ac_objext \
10392 conftest$ac_exeext conftest.$ac_ext
10393LIBS=$ac_check_lib_save_LIBS
10394fi
10395echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
10396echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
10397if test $ac_cv_lib_m_cosl = yes; then
10398
10399cat >>confdefs.h <<\_ACEOF
10400#define HAVE_COSL 1
10401_ACEOF
10402
10403fi
10404
10405echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
10406echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
10407if test "${ac_cv_lib_m_ccosf+set}" = set; then
10408 echo $ECHO_N "(cached) $ECHO_C" >&6
10409else
10410 ac_check_lib_save_LIBS=$LIBS
10411LIBS="-lm $LIBS"
10412if test x$gcc_no_link = xyes; then
10413 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10414echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10415 { (exit 1); exit 1; }; }
10416fi
10417cat >conftest.$ac_ext <<_ACEOF
10418/* confdefs.h. */
10419_ACEOF
10420cat confdefs.h >>conftest.$ac_ext
10421cat >>conftest.$ac_ext <<_ACEOF
10422/* end confdefs.h. */
10423
10424/* Override any gcc2 internal prototype to avoid an error. */
10425#ifdef __cplusplus
10426extern "C"
10427#endif
10428/* We use char because int might match the return type of a gcc2
10429 builtin and then its argument prototype would still apply. */
10430char ccosf ();
10431int
10432main ()
10433{
10434ccosf ();
10435 ;
10436 return 0;
10437}
10438_ACEOF
10439rm -f conftest.$ac_objext conftest$ac_exeext
10440if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10441 (eval $ac_link) 2>conftest.er1
10442 ac_status=$?
10443 grep -v '^ *+' conftest.er1 >conftest.err
10444 rm -f conftest.er1
10445 cat conftest.err >&5
10446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10447 (exit $ac_status); } &&
10448 { ac_try='test -z "$ac_c_werror_flag"
10449 || test ! -s conftest.err'
10450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10451 (eval $ac_try) 2>&5
10452 ac_status=$?
10453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10454 (exit $ac_status); }; } &&
10455 { ac_try='test -s conftest$ac_exeext'
10456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10457 (eval $ac_try) 2>&5
10458 ac_status=$?
10459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10460 (exit $ac_status); }; }; then
10461 ac_cv_lib_m_ccosf=yes
10462else
10463 echo "$as_me: failed program was:" >&5
10464sed 's/^/| /' conftest.$ac_ext >&5
10465
10466ac_cv_lib_m_ccosf=no
10467fi
10468rm -f conftest.err conftest.$ac_objext \
10469 conftest$ac_exeext conftest.$ac_ext
10470LIBS=$ac_check_lib_save_LIBS
10471fi
10472echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
10473echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
10474if test $ac_cv_lib_m_ccosf = yes; then
10475
10476cat >>confdefs.h <<\_ACEOF
10477#define HAVE_CCOSF 1
10478_ACEOF
10479
10480fi
10481
10482echo "$as_me:$LINENO: checking for ccos in -lm" >&5
10483echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
10484if test "${ac_cv_lib_m_ccos+set}" = set; then
10485 echo $ECHO_N "(cached) $ECHO_C" >&6
10486else
10487 ac_check_lib_save_LIBS=$LIBS
10488LIBS="-lm $LIBS"
10489if test x$gcc_no_link = xyes; then
10490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10491echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10492 { (exit 1); exit 1; }; }
10493fi
10494cat >conftest.$ac_ext <<_ACEOF
10495/* confdefs.h. */
10496_ACEOF
10497cat confdefs.h >>conftest.$ac_ext
10498cat >>conftest.$ac_ext <<_ACEOF
10499/* end confdefs.h. */
10500
10501/* Override any gcc2 internal prototype to avoid an error. */
10502#ifdef __cplusplus
10503extern "C"
10504#endif
10505/* We use char because int might match the return type of a gcc2
10506 builtin and then its argument prototype would still apply. */
10507char ccos ();
10508int
10509main ()
10510{
10511ccos ();
10512 ;
10513 return 0;
10514}
10515_ACEOF
10516rm -f conftest.$ac_objext conftest$ac_exeext
10517if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10518 (eval $ac_link) 2>conftest.er1
10519 ac_status=$?
10520 grep -v '^ *+' conftest.er1 >conftest.err
10521 rm -f conftest.er1
10522 cat conftest.err >&5
10523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10524 (exit $ac_status); } &&
10525 { ac_try='test -z "$ac_c_werror_flag"
10526 || test ! -s conftest.err'
10527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10528 (eval $ac_try) 2>&5
10529 ac_status=$?
10530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10531 (exit $ac_status); }; } &&
10532 { ac_try='test -s conftest$ac_exeext'
10533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10534 (eval $ac_try) 2>&5
10535 ac_status=$?
10536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10537 (exit $ac_status); }; }; then
10538 ac_cv_lib_m_ccos=yes
10539else
10540 echo "$as_me: failed program was:" >&5
10541sed 's/^/| /' conftest.$ac_ext >&5
10542
10543ac_cv_lib_m_ccos=no
10544fi
10545rm -f conftest.err conftest.$ac_objext \
10546 conftest$ac_exeext conftest.$ac_ext
10547LIBS=$ac_check_lib_save_LIBS
10548fi
10549echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
10550echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
10551if test $ac_cv_lib_m_ccos = yes; then
10552
10553cat >>confdefs.h <<\_ACEOF
10554#define HAVE_CCOS 1
10555_ACEOF
10556
10557fi
10558
10559echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
10560echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
10561if test "${ac_cv_lib_m_ccosl+set}" = set; then
10562 echo $ECHO_N "(cached) $ECHO_C" >&6
10563else
10564 ac_check_lib_save_LIBS=$LIBS
10565LIBS="-lm $LIBS"
10566if test x$gcc_no_link = xyes; then
10567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10568echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10569 { (exit 1); exit 1; }; }
10570fi
10571cat >conftest.$ac_ext <<_ACEOF
10572/* confdefs.h. */
10573_ACEOF
10574cat confdefs.h >>conftest.$ac_ext
10575cat >>conftest.$ac_ext <<_ACEOF
10576/* end confdefs.h. */
10577
10578/* Override any gcc2 internal prototype to avoid an error. */
10579#ifdef __cplusplus
10580extern "C"
10581#endif
10582/* We use char because int might match the return type of a gcc2
10583 builtin and then its argument prototype would still apply. */
10584char ccosl ();
10585int
10586main ()
10587{
10588ccosl ();
10589 ;
10590 return 0;
10591}
10592_ACEOF
10593rm -f conftest.$ac_objext conftest$ac_exeext
10594if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10595 (eval $ac_link) 2>conftest.er1
10596 ac_status=$?
10597 grep -v '^ *+' conftest.er1 >conftest.err
10598 rm -f conftest.er1
10599 cat conftest.err >&5
10600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10601 (exit $ac_status); } &&
10602 { ac_try='test -z "$ac_c_werror_flag"
10603 || test ! -s conftest.err'
10604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10605 (eval $ac_try) 2>&5
10606 ac_status=$?
10607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608 (exit $ac_status); }; } &&
10609 { ac_try='test -s conftest$ac_exeext'
10610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10611 (eval $ac_try) 2>&5
10612 ac_status=$?
10613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10614 (exit $ac_status); }; }; then
10615 ac_cv_lib_m_ccosl=yes
10616else
10617 echo "$as_me: failed program was:" >&5
10618sed 's/^/| /' conftest.$ac_ext >&5
10619
10620ac_cv_lib_m_ccosl=no
10621fi
10622rm -f conftest.err conftest.$ac_objext \
10623 conftest$ac_exeext conftest.$ac_ext
10624LIBS=$ac_check_lib_save_LIBS
10625fi
10626echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
10627echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
10628if test $ac_cv_lib_m_ccosl = yes; then
10629
10630cat >>confdefs.h <<\_ACEOF
10631#define HAVE_CCOSL 1
10632_ACEOF
10633
10634fi
10635
10636echo "$as_me:$LINENO: checking for coshf in -lm" >&5
10637echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
10638if test "${ac_cv_lib_m_coshf+set}" = set; then
10639 echo $ECHO_N "(cached) $ECHO_C" >&6
10640else
10641 ac_check_lib_save_LIBS=$LIBS
10642LIBS="-lm $LIBS"
10643if test x$gcc_no_link = xyes; then
10644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10645echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10646 { (exit 1); exit 1; }; }
10647fi
10648cat >conftest.$ac_ext <<_ACEOF
10649/* confdefs.h. */
10650_ACEOF
10651cat confdefs.h >>conftest.$ac_ext
10652cat >>conftest.$ac_ext <<_ACEOF
10653/* end confdefs.h. */
10654
10655/* Override any gcc2 internal prototype to avoid an error. */
10656#ifdef __cplusplus
10657extern "C"
10658#endif
10659/* We use char because int might match the return type of a gcc2
10660 builtin and then its argument prototype would still apply. */
10661char coshf ();
10662int
10663main ()
10664{
10665coshf ();
10666 ;
10667 return 0;
10668}
10669_ACEOF
10670rm -f conftest.$ac_objext conftest$ac_exeext
10671if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10672 (eval $ac_link) 2>conftest.er1
10673 ac_status=$?
10674 grep -v '^ *+' conftest.er1 >conftest.err
10675 rm -f conftest.er1
10676 cat conftest.err >&5
10677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10678 (exit $ac_status); } &&
10679 { ac_try='test -z "$ac_c_werror_flag"
10680 || test ! -s conftest.err'
10681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10682 (eval $ac_try) 2>&5
10683 ac_status=$?
10684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10685 (exit $ac_status); }; } &&
10686 { ac_try='test -s conftest$ac_exeext'
10687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10688 (eval $ac_try) 2>&5
10689 ac_status=$?
10690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10691 (exit $ac_status); }; }; then
10692 ac_cv_lib_m_coshf=yes
10693else
10694 echo "$as_me: failed program was:" >&5
10695sed 's/^/| /' conftest.$ac_ext >&5
10696
10697ac_cv_lib_m_coshf=no
10698fi
10699rm -f conftest.err conftest.$ac_objext \
10700 conftest$ac_exeext conftest.$ac_ext
10701LIBS=$ac_check_lib_save_LIBS
10702fi
10703echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
10704echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
10705if test $ac_cv_lib_m_coshf = yes; then
10706
10707cat >>confdefs.h <<\_ACEOF
10708#define HAVE_COSHF 1
10709_ACEOF
10710
10711fi
10712
10713echo "$as_me:$LINENO: checking for cosh in -lm" >&5
10714echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
10715if test "${ac_cv_lib_m_cosh+set}" = set; then
10716 echo $ECHO_N "(cached) $ECHO_C" >&6
10717else
10718 ac_check_lib_save_LIBS=$LIBS
10719LIBS="-lm $LIBS"
10720if test x$gcc_no_link = xyes; then
10721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10722echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10723 { (exit 1); exit 1; }; }
10724fi
10725cat >conftest.$ac_ext <<_ACEOF
10726/* confdefs.h. */
10727_ACEOF
10728cat confdefs.h >>conftest.$ac_ext
10729cat >>conftest.$ac_ext <<_ACEOF
10730/* end confdefs.h. */
10731
10732/* Override any gcc2 internal prototype to avoid an error. */
10733#ifdef __cplusplus
10734extern "C"
10735#endif
10736/* We use char because int might match the return type of a gcc2
10737 builtin and then its argument prototype would still apply. */
10738char cosh ();
10739int
10740main ()
10741{
10742cosh ();
10743 ;
10744 return 0;
10745}
10746_ACEOF
10747rm -f conftest.$ac_objext conftest$ac_exeext
10748if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10749 (eval $ac_link) 2>conftest.er1
10750 ac_status=$?
10751 grep -v '^ *+' conftest.er1 >conftest.err
10752 rm -f conftest.er1
10753 cat conftest.err >&5
10754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10755 (exit $ac_status); } &&
10756 { ac_try='test -z "$ac_c_werror_flag"
10757 || test ! -s conftest.err'
10758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10759 (eval $ac_try) 2>&5
10760 ac_status=$?
10761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10762 (exit $ac_status); }; } &&
10763 { ac_try='test -s conftest$ac_exeext'
10764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10765 (eval $ac_try) 2>&5
10766 ac_status=$?
10767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10768 (exit $ac_status); }; }; then
10769 ac_cv_lib_m_cosh=yes
10770else
10771 echo "$as_me: failed program was:" >&5
10772sed 's/^/| /' conftest.$ac_ext >&5
10773
10774ac_cv_lib_m_cosh=no
10775fi
10776rm -f conftest.err conftest.$ac_objext \
10777 conftest$ac_exeext conftest.$ac_ext
10778LIBS=$ac_check_lib_save_LIBS
10779fi
10780echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
10781echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
10782if test $ac_cv_lib_m_cosh = yes; then
10783
10784cat >>confdefs.h <<\_ACEOF
10785#define HAVE_COSH 1
10786_ACEOF
10787
10788fi
10789
10790echo "$as_me:$LINENO: checking for coshl in -lm" >&5
10791echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
10792if test "${ac_cv_lib_m_coshl+set}" = set; then
10793 echo $ECHO_N "(cached) $ECHO_C" >&6
10794else
10795 ac_check_lib_save_LIBS=$LIBS
10796LIBS="-lm $LIBS"
10797if test x$gcc_no_link = xyes; then
10798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10799echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10800 { (exit 1); exit 1; }; }
10801fi
10802cat >conftest.$ac_ext <<_ACEOF
10803/* confdefs.h. */
10804_ACEOF
10805cat confdefs.h >>conftest.$ac_ext
10806cat >>conftest.$ac_ext <<_ACEOF
10807/* end confdefs.h. */
10808
10809/* Override any gcc2 internal prototype to avoid an error. */
10810#ifdef __cplusplus
10811extern "C"
10812#endif
10813/* We use char because int might match the return type of a gcc2
10814 builtin and then its argument prototype would still apply. */
10815char coshl ();
10816int
10817main ()
10818{
10819coshl ();
10820 ;
10821 return 0;
10822}
10823_ACEOF
10824rm -f conftest.$ac_objext conftest$ac_exeext
10825if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10826 (eval $ac_link) 2>conftest.er1
10827 ac_status=$?
10828 grep -v '^ *+' conftest.er1 >conftest.err
10829 rm -f conftest.er1
10830 cat conftest.err >&5
10831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10832 (exit $ac_status); } &&
10833 { ac_try='test -z "$ac_c_werror_flag"
10834 || test ! -s conftest.err'
10835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10836 (eval $ac_try) 2>&5
10837 ac_status=$?
10838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10839 (exit $ac_status); }; } &&
10840 { ac_try='test -s conftest$ac_exeext'
10841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10842 (eval $ac_try) 2>&5
10843 ac_status=$?
10844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10845 (exit $ac_status); }; }; then
10846 ac_cv_lib_m_coshl=yes
10847else
10848 echo "$as_me: failed program was:" >&5
10849sed 's/^/| /' conftest.$ac_ext >&5
10850
10851ac_cv_lib_m_coshl=no
10852fi
10853rm -f conftest.err conftest.$ac_objext \
10854 conftest$ac_exeext conftest.$ac_ext
10855LIBS=$ac_check_lib_save_LIBS
10856fi
10857echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
10858echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
10859if test $ac_cv_lib_m_coshl = yes; then
10860
10861cat >>confdefs.h <<\_ACEOF
10862#define HAVE_COSHL 1
10863_ACEOF
10864
10865fi
10866
10867echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
10868echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
10869if test "${ac_cv_lib_m_ccoshf+set}" = set; then
10870 echo $ECHO_N "(cached) $ECHO_C" >&6
10871else
10872 ac_check_lib_save_LIBS=$LIBS
10873LIBS="-lm $LIBS"
10874if test x$gcc_no_link = xyes; then
10875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10876echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10877 { (exit 1); exit 1; }; }
10878fi
10879cat >conftest.$ac_ext <<_ACEOF
10880/* confdefs.h. */
10881_ACEOF
10882cat confdefs.h >>conftest.$ac_ext
10883cat >>conftest.$ac_ext <<_ACEOF
10884/* end confdefs.h. */
10885
10886/* Override any gcc2 internal prototype to avoid an error. */
10887#ifdef __cplusplus
10888extern "C"
10889#endif
10890/* We use char because int might match the return type of a gcc2
10891 builtin and then its argument prototype would still apply. */
10892char ccoshf ();
10893int
10894main ()
10895{
10896ccoshf ();
10897 ;
10898 return 0;
10899}
10900_ACEOF
10901rm -f conftest.$ac_objext conftest$ac_exeext
10902if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10903 (eval $ac_link) 2>conftest.er1
10904 ac_status=$?
10905 grep -v '^ *+' conftest.er1 >conftest.err
10906 rm -f conftest.er1
10907 cat conftest.err >&5
10908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10909 (exit $ac_status); } &&
10910 { ac_try='test -z "$ac_c_werror_flag"
10911 || test ! -s conftest.err'
10912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10913 (eval $ac_try) 2>&5
10914 ac_status=$?
10915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10916 (exit $ac_status); }; } &&
10917 { ac_try='test -s conftest$ac_exeext'
10918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10919 (eval $ac_try) 2>&5
10920 ac_status=$?
10921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10922 (exit $ac_status); }; }; then
10923 ac_cv_lib_m_ccoshf=yes
10924else
10925 echo "$as_me: failed program was:" >&5
10926sed 's/^/| /' conftest.$ac_ext >&5
10927
10928ac_cv_lib_m_ccoshf=no
10929fi
10930rm -f conftest.err conftest.$ac_objext \
10931 conftest$ac_exeext conftest.$ac_ext
10932LIBS=$ac_check_lib_save_LIBS
10933fi
10934echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
10935echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
10936if test $ac_cv_lib_m_ccoshf = yes; then
10937
10938cat >>confdefs.h <<\_ACEOF
10939#define HAVE_CCOSHF 1
10940_ACEOF
10941
10942fi
10943
10944echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
10945echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
10946if test "${ac_cv_lib_m_ccosh+set}" = set; then
10947 echo $ECHO_N "(cached) $ECHO_C" >&6
10948else
10949 ac_check_lib_save_LIBS=$LIBS
10950LIBS="-lm $LIBS"
10951if test x$gcc_no_link = xyes; then
10952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10953echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10954 { (exit 1); exit 1; }; }
10955fi
10956cat >conftest.$ac_ext <<_ACEOF
10957/* confdefs.h. */
10958_ACEOF
10959cat confdefs.h >>conftest.$ac_ext
10960cat >>conftest.$ac_ext <<_ACEOF
10961/* end confdefs.h. */
10962
10963/* Override any gcc2 internal prototype to avoid an error. */
10964#ifdef __cplusplus
10965extern "C"
10966#endif
10967/* We use char because int might match the return type of a gcc2
10968 builtin and then its argument prototype would still apply. */
10969char ccosh ();
10970int
10971main ()
10972{
10973ccosh ();
10974 ;
10975 return 0;
10976}
10977_ACEOF
10978rm -f conftest.$ac_objext conftest$ac_exeext
10979if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10980 (eval $ac_link) 2>conftest.er1
10981 ac_status=$?
10982 grep -v '^ *+' conftest.er1 >conftest.err
10983 rm -f conftest.er1
10984 cat conftest.err >&5
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 (exit $ac_status); } &&
10987 { ac_try='test -z "$ac_c_werror_flag"
10988 || test ! -s conftest.err'
10989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10990 (eval $ac_try) 2>&5
10991 ac_status=$?
10992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10993 (exit $ac_status); }; } &&
10994 { ac_try='test -s conftest$ac_exeext'
10995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10996 (eval $ac_try) 2>&5
10997 ac_status=$?
10998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10999 (exit $ac_status); }; }; then
11000 ac_cv_lib_m_ccosh=yes
11001else
11002 echo "$as_me: failed program was:" >&5
11003sed 's/^/| /' conftest.$ac_ext >&5
11004
11005ac_cv_lib_m_ccosh=no
11006fi
11007rm -f conftest.err conftest.$ac_objext \
11008 conftest$ac_exeext conftest.$ac_ext
11009LIBS=$ac_check_lib_save_LIBS
11010fi
11011echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
11012echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
11013if test $ac_cv_lib_m_ccosh = yes; then
11014
11015cat >>confdefs.h <<\_ACEOF
11016#define HAVE_CCOSH 1
11017_ACEOF
11018
11019fi
11020
11021echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
11022echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
11023if test "${ac_cv_lib_m_ccoshl+set}" = set; then
11024 echo $ECHO_N "(cached) $ECHO_C" >&6
11025else
11026 ac_check_lib_save_LIBS=$LIBS
11027LIBS="-lm $LIBS"
11028if test x$gcc_no_link = xyes; then
11029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11030echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11031 { (exit 1); exit 1; }; }
11032fi
11033cat >conftest.$ac_ext <<_ACEOF
11034/* confdefs.h. */
11035_ACEOF
11036cat confdefs.h >>conftest.$ac_ext
11037cat >>conftest.$ac_ext <<_ACEOF
11038/* end confdefs.h. */
11039
11040/* Override any gcc2 internal prototype to avoid an error. */
11041#ifdef __cplusplus
11042extern "C"
11043#endif
11044/* We use char because int might match the return type of a gcc2
11045 builtin and then its argument prototype would still apply. */
11046char ccoshl ();
11047int
11048main ()
11049{
11050ccoshl ();
11051 ;
11052 return 0;
11053}
11054_ACEOF
11055rm -f conftest.$ac_objext conftest$ac_exeext
11056if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11057 (eval $ac_link) 2>conftest.er1
11058 ac_status=$?
11059 grep -v '^ *+' conftest.er1 >conftest.err
11060 rm -f conftest.er1
11061 cat conftest.err >&5
11062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11063 (exit $ac_status); } &&
11064 { ac_try='test -z "$ac_c_werror_flag"
11065 || test ! -s conftest.err'
11066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11067 (eval $ac_try) 2>&5
11068 ac_status=$?
11069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070 (exit $ac_status); }; } &&
11071 { ac_try='test -s conftest$ac_exeext'
11072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11073 (eval $ac_try) 2>&5
11074 ac_status=$?
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); }; }; then
11077 ac_cv_lib_m_ccoshl=yes
11078else
11079 echo "$as_me: failed program was:" >&5
11080sed 's/^/| /' conftest.$ac_ext >&5
11081
11082ac_cv_lib_m_ccoshl=no
11083fi
11084rm -f conftest.err conftest.$ac_objext \
11085 conftest$ac_exeext conftest.$ac_ext
11086LIBS=$ac_check_lib_save_LIBS
11087fi
11088echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
11089echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
11090if test $ac_cv_lib_m_ccoshl = yes; then
11091
11092cat >>confdefs.h <<\_ACEOF
11093#define HAVE_CCOSHL 1
11094_ACEOF
11095
11096fi
11097
11098echo "$as_me:$LINENO: checking for expf in -lm" >&5
11099echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
11100if test "${ac_cv_lib_m_expf+set}" = set; then
11101 echo $ECHO_N "(cached) $ECHO_C" >&6
11102else
11103 ac_check_lib_save_LIBS=$LIBS
11104LIBS="-lm $LIBS"
11105if test x$gcc_no_link = xyes; then
11106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11107echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11108 { (exit 1); exit 1; }; }
11109fi
11110cat >conftest.$ac_ext <<_ACEOF
11111/* confdefs.h. */
11112_ACEOF
11113cat confdefs.h >>conftest.$ac_ext
11114cat >>conftest.$ac_ext <<_ACEOF
11115/* end confdefs.h. */
11116
11117/* Override any gcc2 internal prototype to avoid an error. */
11118#ifdef __cplusplus
11119extern "C"
11120#endif
11121/* We use char because int might match the return type of a gcc2
11122 builtin and then its argument prototype would still apply. */
11123char expf ();
11124int
11125main ()
11126{
11127expf ();
11128 ;
11129 return 0;
11130}
11131_ACEOF
11132rm -f conftest.$ac_objext conftest$ac_exeext
11133if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11134 (eval $ac_link) 2>conftest.er1
11135 ac_status=$?
11136 grep -v '^ *+' conftest.er1 >conftest.err
11137 rm -f conftest.er1
11138 cat conftest.err >&5
11139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11140 (exit $ac_status); } &&
11141 { ac_try='test -z "$ac_c_werror_flag"
11142 || test ! -s conftest.err'
11143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11144 (eval $ac_try) 2>&5
11145 ac_status=$?
11146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11147 (exit $ac_status); }; } &&
11148 { ac_try='test -s conftest$ac_exeext'
11149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11150 (eval $ac_try) 2>&5
11151 ac_status=$?
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); }; }; then
11154 ac_cv_lib_m_expf=yes
11155else
11156 echo "$as_me: failed program was:" >&5
11157sed 's/^/| /' conftest.$ac_ext >&5
11158
11159ac_cv_lib_m_expf=no
11160fi
11161rm -f conftest.err conftest.$ac_objext \
11162 conftest$ac_exeext conftest.$ac_ext
11163LIBS=$ac_check_lib_save_LIBS
11164fi
11165echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
11166echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
11167if test $ac_cv_lib_m_expf = yes; then
11168
11169cat >>confdefs.h <<\_ACEOF
11170#define HAVE_EXPF 1
11171_ACEOF
11172
11173fi
11174
11175echo "$as_me:$LINENO: checking for exp in -lm" >&5
11176echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
11177if test "${ac_cv_lib_m_exp+set}" = set; then
11178 echo $ECHO_N "(cached) $ECHO_C" >&6
11179else
11180 ac_check_lib_save_LIBS=$LIBS
11181LIBS="-lm $LIBS"
11182if test x$gcc_no_link = xyes; then
11183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11184echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11185 { (exit 1); exit 1; }; }
11186fi
11187cat >conftest.$ac_ext <<_ACEOF
11188/* confdefs.h. */
11189_ACEOF
11190cat confdefs.h >>conftest.$ac_ext
11191cat >>conftest.$ac_ext <<_ACEOF
11192/* end confdefs.h. */
11193
11194/* Override any gcc2 internal prototype to avoid an error. */
11195#ifdef __cplusplus
11196extern "C"
11197#endif
11198/* We use char because int might match the return type of a gcc2
11199 builtin and then its argument prototype would still apply. */
11200char exp ();
11201int
11202main ()
11203{
11204exp ();
11205 ;
11206 return 0;
11207}
11208_ACEOF
11209rm -f conftest.$ac_objext conftest$ac_exeext
11210if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11211 (eval $ac_link) 2>conftest.er1
11212 ac_status=$?
11213 grep -v '^ *+' conftest.er1 >conftest.err
11214 rm -f conftest.er1
11215 cat conftest.err >&5
11216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11217 (exit $ac_status); } &&
11218 { ac_try='test -z "$ac_c_werror_flag"
11219 || test ! -s conftest.err'
11220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11221 (eval $ac_try) 2>&5
11222 ac_status=$?
11223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11224 (exit $ac_status); }; } &&
11225 { ac_try='test -s conftest$ac_exeext'
11226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11227 (eval $ac_try) 2>&5
11228 ac_status=$?
11229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11230 (exit $ac_status); }; }; then
11231 ac_cv_lib_m_exp=yes
11232else
11233 echo "$as_me: failed program was:" >&5
11234sed 's/^/| /' conftest.$ac_ext >&5
11235
11236ac_cv_lib_m_exp=no
11237fi
11238rm -f conftest.err conftest.$ac_objext \
11239 conftest$ac_exeext conftest.$ac_ext
11240LIBS=$ac_check_lib_save_LIBS
11241fi
11242echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
11243echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
11244if test $ac_cv_lib_m_exp = yes; then
11245
11246cat >>confdefs.h <<\_ACEOF
11247#define HAVE_EXP 1
11248_ACEOF
11249
11250fi
11251
11252echo "$as_me:$LINENO: checking for expl in -lm" >&5
11253echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
11254if test "${ac_cv_lib_m_expl+set}" = set; then
11255 echo $ECHO_N "(cached) $ECHO_C" >&6
11256else
11257 ac_check_lib_save_LIBS=$LIBS
11258LIBS="-lm $LIBS"
11259if test x$gcc_no_link = xyes; then
11260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11261echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11262 { (exit 1); exit 1; }; }
11263fi
11264cat >conftest.$ac_ext <<_ACEOF
11265/* confdefs.h. */
11266_ACEOF
11267cat confdefs.h >>conftest.$ac_ext
11268cat >>conftest.$ac_ext <<_ACEOF
11269/* end confdefs.h. */
11270
11271/* Override any gcc2 internal prototype to avoid an error. */
11272#ifdef __cplusplus
11273extern "C"
11274#endif
11275/* We use char because int might match the return type of a gcc2
11276 builtin and then its argument prototype would still apply. */
11277char expl ();
11278int
11279main ()
11280{
11281expl ();
11282 ;
11283 return 0;
11284}
11285_ACEOF
11286rm -f conftest.$ac_objext conftest$ac_exeext
11287if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11288 (eval $ac_link) 2>conftest.er1
11289 ac_status=$?
11290 grep -v '^ *+' conftest.er1 >conftest.err
11291 rm -f conftest.er1
11292 cat conftest.err >&5
11293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11294 (exit $ac_status); } &&
11295 { ac_try='test -z "$ac_c_werror_flag"
11296 || test ! -s conftest.err'
11297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11298 (eval $ac_try) 2>&5
11299 ac_status=$?
11300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11301 (exit $ac_status); }; } &&
11302 { ac_try='test -s conftest$ac_exeext'
11303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11304 (eval $ac_try) 2>&5
11305 ac_status=$?
11306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11307 (exit $ac_status); }; }; then
11308 ac_cv_lib_m_expl=yes
11309else
11310 echo "$as_me: failed program was:" >&5
11311sed 's/^/| /' conftest.$ac_ext >&5
11312
11313ac_cv_lib_m_expl=no
11314fi
11315rm -f conftest.err conftest.$ac_objext \
11316 conftest$ac_exeext conftest.$ac_ext
11317LIBS=$ac_check_lib_save_LIBS
11318fi
11319echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
11320echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
11321if test $ac_cv_lib_m_expl = yes; then
11322
11323cat >>confdefs.h <<\_ACEOF
11324#define HAVE_EXPL 1
11325_ACEOF
11326
11327fi
11328
11329echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
11330echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
11331if test "${ac_cv_lib_m_cexpf+set}" = set; then
11332 echo $ECHO_N "(cached) $ECHO_C" >&6
11333else
11334 ac_check_lib_save_LIBS=$LIBS
11335LIBS="-lm $LIBS"
11336if test x$gcc_no_link = xyes; then
11337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11338echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11339 { (exit 1); exit 1; }; }
11340fi
11341cat >conftest.$ac_ext <<_ACEOF
11342/* confdefs.h. */
11343_ACEOF
11344cat confdefs.h >>conftest.$ac_ext
11345cat >>conftest.$ac_ext <<_ACEOF
11346/* end confdefs.h. */
11347
11348/* Override any gcc2 internal prototype to avoid an error. */
11349#ifdef __cplusplus
11350extern "C"
11351#endif
11352/* We use char because int might match the return type of a gcc2
11353 builtin and then its argument prototype would still apply. */
11354char cexpf ();
11355int
11356main ()
11357{
11358cexpf ();
11359 ;
11360 return 0;
11361}
11362_ACEOF
11363rm -f conftest.$ac_objext conftest$ac_exeext
11364if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11365 (eval $ac_link) 2>conftest.er1
11366 ac_status=$?
11367 grep -v '^ *+' conftest.er1 >conftest.err
11368 rm -f conftest.er1
11369 cat conftest.err >&5
11370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11371 (exit $ac_status); } &&
11372 { ac_try='test -z "$ac_c_werror_flag"
11373 || test ! -s conftest.err'
11374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11375 (eval $ac_try) 2>&5
11376 ac_status=$?
11377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11378 (exit $ac_status); }; } &&
11379 { ac_try='test -s conftest$ac_exeext'
11380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11381 (eval $ac_try) 2>&5
11382 ac_status=$?
11383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11384 (exit $ac_status); }; }; then
11385 ac_cv_lib_m_cexpf=yes
11386else
11387 echo "$as_me: failed program was:" >&5
11388sed 's/^/| /' conftest.$ac_ext >&5
11389
11390ac_cv_lib_m_cexpf=no
11391fi
11392rm -f conftest.err conftest.$ac_objext \
11393 conftest$ac_exeext conftest.$ac_ext
11394LIBS=$ac_check_lib_save_LIBS
11395fi
11396echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
11397echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
11398if test $ac_cv_lib_m_cexpf = yes; then
11399
11400cat >>confdefs.h <<\_ACEOF
11401#define HAVE_CEXPF 1
11402_ACEOF
11403
11404fi
11405
11406echo "$as_me:$LINENO: checking for cexp in -lm" >&5
11407echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
11408if test "${ac_cv_lib_m_cexp+set}" = set; then
11409 echo $ECHO_N "(cached) $ECHO_C" >&6
11410else
11411 ac_check_lib_save_LIBS=$LIBS
11412LIBS="-lm $LIBS"
11413if test x$gcc_no_link = xyes; then
11414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11415echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11416 { (exit 1); exit 1; }; }
11417fi
11418cat >conftest.$ac_ext <<_ACEOF
11419/* confdefs.h. */
11420_ACEOF
11421cat confdefs.h >>conftest.$ac_ext
11422cat >>conftest.$ac_ext <<_ACEOF
11423/* end confdefs.h. */
11424
11425/* Override any gcc2 internal prototype to avoid an error. */
11426#ifdef __cplusplus
11427extern "C"
11428#endif
11429/* We use char because int might match the return type of a gcc2
11430 builtin and then its argument prototype would still apply. */
11431char cexp ();
11432int
11433main ()
11434{
11435cexp ();
11436 ;
11437 return 0;
11438}
11439_ACEOF
11440rm -f conftest.$ac_objext conftest$ac_exeext
11441if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11442 (eval $ac_link) 2>conftest.er1
11443 ac_status=$?
11444 grep -v '^ *+' conftest.er1 >conftest.err
11445 rm -f conftest.er1
11446 cat conftest.err >&5
11447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11448 (exit $ac_status); } &&
11449 { ac_try='test -z "$ac_c_werror_flag"
11450 || test ! -s conftest.err'
11451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11452 (eval $ac_try) 2>&5
11453 ac_status=$?
11454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11455 (exit $ac_status); }; } &&
11456 { ac_try='test -s conftest$ac_exeext'
11457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11458 (eval $ac_try) 2>&5
11459 ac_status=$?
11460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11461 (exit $ac_status); }; }; then
11462 ac_cv_lib_m_cexp=yes
11463else
11464 echo "$as_me: failed program was:" >&5
11465sed 's/^/| /' conftest.$ac_ext >&5
11466
11467ac_cv_lib_m_cexp=no
11468fi
11469rm -f conftest.err conftest.$ac_objext \
11470 conftest$ac_exeext conftest.$ac_ext
11471LIBS=$ac_check_lib_save_LIBS
11472fi
11473echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
11474echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
11475if test $ac_cv_lib_m_cexp = yes; then
11476
11477cat >>confdefs.h <<\_ACEOF
11478#define HAVE_CEXP 1
11479_ACEOF
11480
11481fi
11482
11483echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
11484echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
11485if test "${ac_cv_lib_m_cexpl+set}" = set; then
11486 echo $ECHO_N "(cached) $ECHO_C" >&6
11487else
11488 ac_check_lib_save_LIBS=$LIBS
11489LIBS="-lm $LIBS"
11490if test x$gcc_no_link = xyes; then
11491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11492echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11493 { (exit 1); exit 1; }; }
11494fi
11495cat >conftest.$ac_ext <<_ACEOF
11496/* confdefs.h. */
11497_ACEOF
11498cat confdefs.h >>conftest.$ac_ext
11499cat >>conftest.$ac_ext <<_ACEOF
11500/* end confdefs.h. */
11501
11502/* Override any gcc2 internal prototype to avoid an error. */
11503#ifdef __cplusplus
11504extern "C"
11505#endif
11506/* We use char because int might match the return type of a gcc2
11507 builtin and then its argument prototype would still apply. */
11508char cexpl ();
11509int
11510main ()
11511{
11512cexpl ();
11513 ;
11514 return 0;
11515}
11516_ACEOF
11517rm -f conftest.$ac_objext conftest$ac_exeext
11518if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11519 (eval $ac_link) 2>conftest.er1
11520 ac_status=$?
11521 grep -v '^ *+' conftest.er1 >conftest.err
11522 rm -f conftest.er1
11523 cat conftest.err >&5
11524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11525 (exit $ac_status); } &&
11526 { ac_try='test -z "$ac_c_werror_flag"
11527 || test ! -s conftest.err'
11528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11529 (eval $ac_try) 2>&5
11530 ac_status=$?
11531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11532 (exit $ac_status); }; } &&
11533 { ac_try='test -s conftest$ac_exeext'
11534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11535 (eval $ac_try) 2>&5
11536 ac_status=$?
11537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11538 (exit $ac_status); }; }; then
11539 ac_cv_lib_m_cexpl=yes
11540else
11541 echo "$as_me: failed program was:" >&5
11542sed 's/^/| /' conftest.$ac_ext >&5
11543
11544ac_cv_lib_m_cexpl=no
11545fi
11546rm -f conftest.err conftest.$ac_objext \
11547 conftest$ac_exeext conftest.$ac_ext
11548LIBS=$ac_check_lib_save_LIBS
11549fi
11550echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
11551echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
11552if test $ac_cv_lib_m_cexpl = yes; then
11553
11554cat >>confdefs.h <<\_ACEOF
11555#define HAVE_CEXPL 1
11556_ACEOF
11557
11558fi
11559
11560echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
11561echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
11562if test "${ac_cv_lib_m_fabsf+set}" = set; then
11563 echo $ECHO_N "(cached) $ECHO_C" >&6
11564else
11565 ac_check_lib_save_LIBS=$LIBS
11566LIBS="-lm $LIBS"
11567if test x$gcc_no_link = xyes; then
11568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11569echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11570 { (exit 1); exit 1; }; }
11571fi
11572cat >conftest.$ac_ext <<_ACEOF
11573/* confdefs.h. */
11574_ACEOF
11575cat confdefs.h >>conftest.$ac_ext
11576cat >>conftest.$ac_ext <<_ACEOF
11577/* end confdefs.h. */
11578
11579/* Override any gcc2 internal prototype to avoid an error. */
11580#ifdef __cplusplus
11581extern "C"
11582#endif
11583/* We use char because int might match the return type of a gcc2
11584 builtin and then its argument prototype would still apply. */
11585char fabsf ();
11586int
11587main ()
11588{
11589fabsf ();
11590 ;
11591 return 0;
11592}
11593_ACEOF
11594rm -f conftest.$ac_objext conftest$ac_exeext
11595if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11596 (eval $ac_link) 2>conftest.er1
11597 ac_status=$?
11598 grep -v '^ *+' conftest.er1 >conftest.err
11599 rm -f conftest.er1
11600 cat conftest.err >&5
11601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11602 (exit $ac_status); } &&
11603 { ac_try='test -z "$ac_c_werror_flag"
11604 || test ! -s conftest.err'
11605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11606 (eval $ac_try) 2>&5
11607 ac_status=$?
11608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11609 (exit $ac_status); }; } &&
11610 { ac_try='test -s conftest$ac_exeext'
11611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11612 (eval $ac_try) 2>&5
11613 ac_status=$?
11614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11615 (exit $ac_status); }; }; then
11616 ac_cv_lib_m_fabsf=yes
11617else
11618 echo "$as_me: failed program was:" >&5
11619sed 's/^/| /' conftest.$ac_ext >&5
11620
11621ac_cv_lib_m_fabsf=no
11622fi
11623rm -f conftest.err conftest.$ac_objext \
11624 conftest$ac_exeext conftest.$ac_ext
11625LIBS=$ac_check_lib_save_LIBS
11626fi
11627echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
11628echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
11629if test $ac_cv_lib_m_fabsf = yes; then
11630
11631cat >>confdefs.h <<\_ACEOF
11632#define HAVE_FABSF 1
11633_ACEOF
11634
11635fi
11636
11637echo "$as_me:$LINENO: checking for fabs in -lm" >&5
11638echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
11639if test "${ac_cv_lib_m_fabs+set}" = set; then
11640 echo $ECHO_N "(cached) $ECHO_C" >&6
11641else
11642 ac_check_lib_save_LIBS=$LIBS
11643LIBS="-lm $LIBS"
11644if test x$gcc_no_link = xyes; then
11645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11646echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11647 { (exit 1); exit 1; }; }
11648fi
11649cat >conftest.$ac_ext <<_ACEOF
11650/* confdefs.h. */
11651_ACEOF
11652cat confdefs.h >>conftest.$ac_ext
11653cat >>conftest.$ac_ext <<_ACEOF
11654/* end confdefs.h. */
11655
11656/* Override any gcc2 internal prototype to avoid an error. */
11657#ifdef __cplusplus
11658extern "C"
11659#endif
11660/* We use char because int might match the return type of a gcc2
11661 builtin and then its argument prototype would still apply. */
11662char fabs ();
11663int
11664main ()
11665{
11666fabs ();
11667 ;
11668 return 0;
11669}
11670_ACEOF
11671rm -f conftest.$ac_objext conftest$ac_exeext
11672if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11673 (eval $ac_link) 2>conftest.er1
11674 ac_status=$?
11675 grep -v '^ *+' conftest.er1 >conftest.err
11676 rm -f conftest.er1
11677 cat conftest.err >&5
11678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11679 (exit $ac_status); } &&
11680 { ac_try='test -z "$ac_c_werror_flag"
11681 || test ! -s conftest.err'
11682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11683 (eval $ac_try) 2>&5
11684 ac_status=$?
11685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11686 (exit $ac_status); }; } &&
11687 { ac_try='test -s conftest$ac_exeext'
11688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11689 (eval $ac_try) 2>&5
11690 ac_status=$?
11691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11692 (exit $ac_status); }; }; then
11693 ac_cv_lib_m_fabs=yes
11694else
11695 echo "$as_me: failed program was:" >&5
11696sed 's/^/| /' conftest.$ac_ext >&5
11697
11698ac_cv_lib_m_fabs=no
11699fi
11700rm -f conftest.err conftest.$ac_objext \
11701 conftest$ac_exeext conftest.$ac_ext
11702LIBS=$ac_check_lib_save_LIBS
11703fi
11704echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
11705echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
11706if test $ac_cv_lib_m_fabs = yes; then
11707
11708cat >>confdefs.h <<\_ACEOF
11709#define HAVE_FABS 1
11710_ACEOF
11711
11712fi
11713
11714echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
11715echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
11716if test "${ac_cv_lib_m_fabsl+set}" = set; then
11717 echo $ECHO_N "(cached) $ECHO_C" >&6
11718else
11719 ac_check_lib_save_LIBS=$LIBS
11720LIBS="-lm $LIBS"
11721if test x$gcc_no_link = xyes; then
11722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11723echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11724 { (exit 1); exit 1; }; }
11725fi
11726cat >conftest.$ac_ext <<_ACEOF
11727/* confdefs.h. */
11728_ACEOF
11729cat confdefs.h >>conftest.$ac_ext
11730cat >>conftest.$ac_ext <<_ACEOF
11731/* end confdefs.h. */
11732
11733/* Override any gcc2 internal prototype to avoid an error. */
11734#ifdef __cplusplus
11735extern "C"
11736#endif
11737/* We use char because int might match the return type of a gcc2
11738 builtin and then its argument prototype would still apply. */
11739char fabsl ();
11740int
11741main ()
11742{
11743fabsl ();
11744 ;
11745 return 0;
11746}
11747_ACEOF
11748rm -f conftest.$ac_objext conftest$ac_exeext
11749if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11750 (eval $ac_link) 2>conftest.er1
11751 ac_status=$?
11752 grep -v '^ *+' conftest.er1 >conftest.err
11753 rm -f conftest.er1
11754 cat conftest.err >&5
11755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11756 (exit $ac_status); } &&
11757 { ac_try='test -z "$ac_c_werror_flag"
11758 || test ! -s conftest.err'
11759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11760 (eval $ac_try) 2>&5
11761 ac_status=$?
11762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11763 (exit $ac_status); }; } &&
11764 { ac_try='test -s conftest$ac_exeext'
11765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11766 (eval $ac_try) 2>&5
11767 ac_status=$?
11768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11769 (exit $ac_status); }; }; then
11770 ac_cv_lib_m_fabsl=yes
11771else
11772 echo "$as_me: failed program was:" >&5
11773sed 's/^/| /' conftest.$ac_ext >&5
11774
11775ac_cv_lib_m_fabsl=no
11776fi
11777rm -f conftest.err conftest.$ac_objext \
11778 conftest$ac_exeext conftest.$ac_ext
11779LIBS=$ac_check_lib_save_LIBS
11780fi
11781echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
11782echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
11783if test $ac_cv_lib_m_fabsl = yes; then
11784
11785cat >>confdefs.h <<\_ACEOF
11786#define HAVE_FABSL 1
11787_ACEOF
11788
11789fi
11790
11791echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
11792echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
11793if test "${ac_cv_lib_m_cabsf+set}" = set; then
11794 echo $ECHO_N "(cached) $ECHO_C" >&6
11795else
11796 ac_check_lib_save_LIBS=$LIBS
11797LIBS="-lm $LIBS"
11798if test x$gcc_no_link = xyes; then
11799 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11800echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11801 { (exit 1); exit 1; }; }
11802fi
11803cat >conftest.$ac_ext <<_ACEOF
11804/* confdefs.h. */
11805_ACEOF
11806cat confdefs.h >>conftest.$ac_ext
11807cat >>conftest.$ac_ext <<_ACEOF
11808/* end confdefs.h. */
11809
11810/* Override any gcc2 internal prototype to avoid an error. */
11811#ifdef __cplusplus
11812extern "C"
11813#endif
11814/* We use char because int might match the return type of a gcc2
11815 builtin and then its argument prototype would still apply. */
11816char cabsf ();
11817int
11818main ()
11819{
11820cabsf ();
11821 ;
11822 return 0;
11823}
11824_ACEOF
11825rm -f conftest.$ac_objext conftest$ac_exeext
11826if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11827 (eval $ac_link) 2>conftest.er1
11828 ac_status=$?
11829 grep -v '^ *+' conftest.er1 >conftest.err
11830 rm -f conftest.er1
11831 cat conftest.err >&5
11832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11833 (exit $ac_status); } &&
11834 { ac_try='test -z "$ac_c_werror_flag"
11835 || test ! -s conftest.err'
11836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11837 (eval $ac_try) 2>&5
11838 ac_status=$?
11839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11840 (exit $ac_status); }; } &&
11841 { ac_try='test -s conftest$ac_exeext'
11842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11843 (eval $ac_try) 2>&5
11844 ac_status=$?
11845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11846 (exit $ac_status); }; }; then
11847 ac_cv_lib_m_cabsf=yes
11848else
11849 echo "$as_me: failed program was:" >&5
11850sed 's/^/| /' conftest.$ac_ext >&5
11851
11852ac_cv_lib_m_cabsf=no
11853fi
11854rm -f conftest.err conftest.$ac_objext \
11855 conftest$ac_exeext conftest.$ac_ext
11856LIBS=$ac_check_lib_save_LIBS
11857fi
11858echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
11859echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
11860if test $ac_cv_lib_m_cabsf = yes; then
11861
11862cat >>confdefs.h <<\_ACEOF
11863#define HAVE_CABSF 1
11864_ACEOF
11865
11866fi
11867
11868echo "$as_me:$LINENO: checking for cabs in -lm" >&5
11869echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
11870if test "${ac_cv_lib_m_cabs+set}" = set; then
11871 echo $ECHO_N "(cached) $ECHO_C" >&6
11872else
11873 ac_check_lib_save_LIBS=$LIBS
11874LIBS="-lm $LIBS"
11875if test x$gcc_no_link = xyes; then
11876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11877echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11878 { (exit 1); exit 1; }; }
11879fi
11880cat >conftest.$ac_ext <<_ACEOF
11881/* confdefs.h. */
11882_ACEOF
11883cat confdefs.h >>conftest.$ac_ext
11884cat >>conftest.$ac_ext <<_ACEOF
11885/* end confdefs.h. */
11886
11887/* Override any gcc2 internal prototype to avoid an error. */
11888#ifdef __cplusplus
11889extern "C"
11890#endif
11891/* We use char because int might match the return type of a gcc2
11892 builtin and then its argument prototype would still apply. */
11893char cabs ();
11894int
11895main ()
11896{
11897cabs ();
11898 ;
11899 return 0;
11900}
11901_ACEOF
11902rm -f conftest.$ac_objext conftest$ac_exeext
11903if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11904 (eval $ac_link) 2>conftest.er1
11905 ac_status=$?
11906 grep -v '^ *+' conftest.er1 >conftest.err
11907 rm -f conftest.er1
11908 cat conftest.err >&5
11909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11910 (exit $ac_status); } &&
11911 { ac_try='test -z "$ac_c_werror_flag"
11912 || test ! -s conftest.err'
11913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11914 (eval $ac_try) 2>&5
11915 ac_status=$?
11916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917 (exit $ac_status); }; } &&
11918 { ac_try='test -s conftest$ac_exeext'
11919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11920 (eval $ac_try) 2>&5
11921 ac_status=$?
11922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11923 (exit $ac_status); }; }; then
11924 ac_cv_lib_m_cabs=yes
11925else
11926 echo "$as_me: failed program was:" >&5
11927sed 's/^/| /' conftest.$ac_ext >&5
11928
11929ac_cv_lib_m_cabs=no
11930fi
11931rm -f conftest.err conftest.$ac_objext \
11932 conftest$ac_exeext conftest.$ac_ext
11933LIBS=$ac_check_lib_save_LIBS
11934fi
11935echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
11936echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
11937if test $ac_cv_lib_m_cabs = yes; then
11938
11939cat >>confdefs.h <<\_ACEOF
11940#define HAVE_CABS 1
11941_ACEOF
11942
11943fi
11944
11945echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
11946echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
11947if test "${ac_cv_lib_m_cabsl+set}" = set; then
11948 echo $ECHO_N "(cached) $ECHO_C" >&6
11949else
11950 ac_check_lib_save_LIBS=$LIBS
11951LIBS="-lm $LIBS"
11952if test x$gcc_no_link = xyes; then
11953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11954echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11955 { (exit 1); exit 1; }; }
11956fi
11957cat >conftest.$ac_ext <<_ACEOF
11958/* confdefs.h. */
11959_ACEOF
11960cat confdefs.h >>conftest.$ac_ext
11961cat >>conftest.$ac_ext <<_ACEOF
11962/* end confdefs.h. */
11963
11964/* Override any gcc2 internal prototype to avoid an error. */
11965#ifdef __cplusplus
11966extern "C"
11967#endif
11968/* We use char because int might match the return type of a gcc2
11969 builtin and then its argument prototype would still apply. */
11970char cabsl ();
11971int
11972main ()
11973{
11974cabsl ();
11975 ;
11976 return 0;
11977}
11978_ACEOF
11979rm -f conftest.$ac_objext conftest$ac_exeext
11980if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11981 (eval $ac_link) 2>conftest.er1
11982 ac_status=$?
11983 grep -v '^ *+' conftest.er1 >conftest.err
11984 rm -f conftest.er1
11985 cat conftest.err >&5
11986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11987 (exit $ac_status); } &&
11988 { ac_try='test -z "$ac_c_werror_flag"
11989 || test ! -s conftest.err'
11990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11991 (eval $ac_try) 2>&5
11992 ac_status=$?
11993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11994 (exit $ac_status); }; } &&
11995 { ac_try='test -s conftest$ac_exeext'
11996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11997 (eval $ac_try) 2>&5
11998 ac_status=$?
11999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12000 (exit $ac_status); }; }; then
12001 ac_cv_lib_m_cabsl=yes
12002else
12003 echo "$as_me: failed program was:" >&5
12004sed 's/^/| /' conftest.$ac_ext >&5
12005
12006ac_cv_lib_m_cabsl=no
12007fi
12008rm -f conftest.err conftest.$ac_objext \
12009 conftest$ac_exeext conftest.$ac_ext
12010LIBS=$ac_check_lib_save_LIBS
12011fi
12012echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
12013echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
12014if test $ac_cv_lib_m_cabsl = yes; then
12015
12016cat >>confdefs.h <<\_ACEOF
12017#define HAVE_CABSL 1
12018_ACEOF
12019
12020fi
12021
12022echo "$as_me:$LINENO: checking for floorf in -lm" >&5
12023echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
12024if test "${ac_cv_lib_m_floorf+set}" = set; then
12025 echo $ECHO_N "(cached) $ECHO_C" >&6
12026else
12027 ac_check_lib_save_LIBS=$LIBS
12028LIBS="-lm $LIBS"
12029if test x$gcc_no_link = xyes; then
12030 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12031echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12032 { (exit 1); exit 1; }; }
12033fi
12034cat >conftest.$ac_ext <<_ACEOF
12035/* confdefs.h. */
12036_ACEOF
12037cat confdefs.h >>conftest.$ac_ext
12038cat >>conftest.$ac_ext <<_ACEOF
12039/* end confdefs.h. */
12040
12041/* Override any gcc2 internal prototype to avoid an error. */
12042#ifdef __cplusplus
12043extern "C"
12044#endif
12045/* We use char because int might match the return type of a gcc2
12046 builtin and then its argument prototype would still apply. */
12047char floorf ();
12048int
12049main ()
12050{
12051floorf ();
12052 ;
12053 return 0;
12054}
12055_ACEOF
12056rm -f conftest.$ac_objext conftest$ac_exeext
12057if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12058 (eval $ac_link) 2>conftest.er1
12059 ac_status=$?
12060 grep -v '^ *+' conftest.er1 >conftest.err
12061 rm -f conftest.er1
12062 cat conftest.err >&5
12063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12064 (exit $ac_status); } &&
12065 { ac_try='test -z "$ac_c_werror_flag"
12066 || test ! -s conftest.err'
12067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12068 (eval $ac_try) 2>&5
12069 ac_status=$?
12070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12071 (exit $ac_status); }; } &&
12072 { ac_try='test -s conftest$ac_exeext'
12073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12074 (eval $ac_try) 2>&5
12075 ac_status=$?
12076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077 (exit $ac_status); }; }; then
12078 ac_cv_lib_m_floorf=yes
12079else
12080 echo "$as_me: failed program was:" >&5
12081sed 's/^/| /' conftest.$ac_ext >&5
12082
12083ac_cv_lib_m_floorf=no
12084fi
12085rm -f conftest.err conftest.$ac_objext \
12086 conftest$ac_exeext conftest.$ac_ext
12087LIBS=$ac_check_lib_save_LIBS
12088fi
12089echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
12090echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
12091if test $ac_cv_lib_m_floorf = yes; then
12092
12093cat >>confdefs.h <<\_ACEOF
12094#define HAVE_FLOORF 1
12095_ACEOF
12096
12097fi
12098
12099echo "$as_me:$LINENO: checking for floor in -lm" >&5
12100echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
12101if test "${ac_cv_lib_m_floor+set}" = set; then
12102 echo $ECHO_N "(cached) $ECHO_C" >&6
12103else
12104 ac_check_lib_save_LIBS=$LIBS
12105LIBS="-lm $LIBS"
12106if test x$gcc_no_link = xyes; then
12107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12108echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12109 { (exit 1); exit 1; }; }
12110fi
12111cat >conftest.$ac_ext <<_ACEOF
12112/* confdefs.h. */
12113_ACEOF
12114cat confdefs.h >>conftest.$ac_ext
12115cat >>conftest.$ac_ext <<_ACEOF
12116/* end confdefs.h. */
12117
12118/* Override any gcc2 internal prototype to avoid an error. */
12119#ifdef __cplusplus
12120extern "C"
12121#endif
12122/* We use char because int might match the return type of a gcc2
12123 builtin and then its argument prototype would still apply. */
12124char floor ();
12125int
12126main ()
12127{
12128floor ();
12129 ;
12130 return 0;
12131}
12132_ACEOF
12133rm -f conftest.$ac_objext conftest$ac_exeext
12134if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12135 (eval $ac_link) 2>conftest.er1
12136 ac_status=$?
12137 grep -v '^ *+' conftest.er1 >conftest.err
12138 rm -f conftest.er1
12139 cat conftest.err >&5
12140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12141 (exit $ac_status); } &&
12142 { ac_try='test -z "$ac_c_werror_flag"
12143 || test ! -s conftest.err'
12144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12145 (eval $ac_try) 2>&5
12146 ac_status=$?
12147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12148 (exit $ac_status); }; } &&
12149 { ac_try='test -s conftest$ac_exeext'
12150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12151 (eval $ac_try) 2>&5
12152 ac_status=$?
12153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12154 (exit $ac_status); }; }; then
12155 ac_cv_lib_m_floor=yes
12156else
12157 echo "$as_me: failed program was:" >&5
12158sed 's/^/| /' conftest.$ac_ext >&5
12159
12160ac_cv_lib_m_floor=no
12161fi
12162rm -f conftest.err conftest.$ac_objext \
12163 conftest$ac_exeext conftest.$ac_ext
12164LIBS=$ac_check_lib_save_LIBS
12165fi
12166echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
12167echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
12168if test $ac_cv_lib_m_floor = yes; then
12169
12170cat >>confdefs.h <<\_ACEOF
12171#define HAVE_FLOOR 1
12172_ACEOF
12173
12174fi
12175
12176echo "$as_me:$LINENO: checking for floorl in -lm" >&5
12177echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
12178if test "${ac_cv_lib_m_floorl+set}" = set; then
12179 echo $ECHO_N "(cached) $ECHO_C" >&6
12180else
12181 ac_check_lib_save_LIBS=$LIBS
12182LIBS="-lm $LIBS"
12183if test x$gcc_no_link = xyes; then
12184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12185echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12186 { (exit 1); exit 1; }; }
12187fi
12188cat >conftest.$ac_ext <<_ACEOF
12189/* confdefs.h. */
12190_ACEOF
12191cat confdefs.h >>conftest.$ac_ext
12192cat >>conftest.$ac_ext <<_ACEOF
12193/* end confdefs.h. */
12194
12195/* Override any gcc2 internal prototype to avoid an error. */
12196#ifdef __cplusplus
12197extern "C"
12198#endif
12199/* We use char because int might match the return type of a gcc2
12200 builtin and then its argument prototype would still apply. */
12201char floorl ();
12202int
12203main ()
12204{
12205floorl ();
12206 ;
12207 return 0;
12208}
12209_ACEOF
12210rm -f conftest.$ac_objext conftest$ac_exeext
12211if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12212 (eval $ac_link) 2>conftest.er1
12213 ac_status=$?
12214 grep -v '^ *+' conftest.er1 >conftest.err
12215 rm -f conftest.er1
12216 cat conftest.err >&5
12217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12218 (exit $ac_status); } &&
12219 { ac_try='test -z "$ac_c_werror_flag"
12220 || test ! -s conftest.err'
12221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12222 (eval $ac_try) 2>&5
12223 ac_status=$?
12224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12225 (exit $ac_status); }; } &&
12226 { ac_try='test -s conftest$ac_exeext'
12227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12228 (eval $ac_try) 2>&5
12229 ac_status=$?
12230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12231 (exit $ac_status); }; }; then
12232 ac_cv_lib_m_floorl=yes
12233else
12234 echo "$as_me: failed program was:" >&5
12235sed 's/^/| /' conftest.$ac_ext >&5
12236
12237ac_cv_lib_m_floorl=no
12238fi
12239rm -f conftest.err conftest.$ac_objext \
12240 conftest$ac_exeext conftest.$ac_ext
12241LIBS=$ac_check_lib_save_LIBS
12242fi
12243echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
12244echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
12245if test $ac_cv_lib_m_floorl = yes; then
12246
12247cat >>confdefs.h <<\_ACEOF
12248#define HAVE_FLOORL 1
12249_ACEOF
12250
12251fi
12252
12253echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
12254echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
12255if test "${ac_cv_lib_m_frexpf+set}" = set; then
12256 echo $ECHO_N "(cached) $ECHO_C" >&6
12257else
12258 ac_check_lib_save_LIBS=$LIBS
12259LIBS="-lm $LIBS"
12260if test x$gcc_no_link = xyes; then
12261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12262echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12263 { (exit 1); exit 1; }; }
12264fi
12265cat >conftest.$ac_ext <<_ACEOF
12266/* confdefs.h. */
12267_ACEOF
12268cat confdefs.h >>conftest.$ac_ext
12269cat >>conftest.$ac_ext <<_ACEOF
12270/* end confdefs.h. */
12271
12272/* Override any gcc2 internal prototype to avoid an error. */
12273#ifdef __cplusplus
12274extern "C"
12275#endif
12276/* We use char because int might match the return type of a gcc2
12277 builtin and then its argument prototype would still apply. */
12278char frexpf ();
12279int
12280main ()
12281{
12282frexpf ();
12283 ;
12284 return 0;
12285}
12286_ACEOF
12287rm -f conftest.$ac_objext conftest$ac_exeext
12288if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12289 (eval $ac_link) 2>conftest.er1
12290 ac_status=$?
12291 grep -v '^ *+' conftest.er1 >conftest.err
12292 rm -f conftest.er1
12293 cat conftest.err >&5
12294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 (exit $ac_status); } &&
12296 { ac_try='test -z "$ac_c_werror_flag"
12297 || test ! -s conftest.err'
12298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12299 (eval $ac_try) 2>&5
12300 ac_status=$?
12301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12302 (exit $ac_status); }; } &&
12303 { ac_try='test -s conftest$ac_exeext'
12304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12305 (eval $ac_try) 2>&5
12306 ac_status=$?
12307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12308 (exit $ac_status); }; }; then
12309 ac_cv_lib_m_frexpf=yes
12310else
12311 echo "$as_me: failed program was:" >&5
12312sed 's/^/| /' conftest.$ac_ext >&5
12313
12314ac_cv_lib_m_frexpf=no
12315fi
12316rm -f conftest.err conftest.$ac_objext \
12317 conftest$ac_exeext conftest.$ac_ext
12318LIBS=$ac_check_lib_save_LIBS
12319fi
12320echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
12321echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
12322if test $ac_cv_lib_m_frexpf = yes; then
12323
12324cat >>confdefs.h <<\_ACEOF
12325#define HAVE_FREXPF 1
12326_ACEOF
12327
12328fi
12329
12330echo "$as_me:$LINENO: checking for frexp in -lm" >&5
12331echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
12332if test "${ac_cv_lib_m_frexp+set}" = set; then
12333 echo $ECHO_N "(cached) $ECHO_C" >&6
12334else
12335 ac_check_lib_save_LIBS=$LIBS
12336LIBS="-lm $LIBS"
12337if test x$gcc_no_link = xyes; then
12338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12339echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12340 { (exit 1); exit 1; }; }
12341fi
12342cat >conftest.$ac_ext <<_ACEOF
12343/* confdefs.h. */
12344_ACEOF
12345cat confdefs.h >>conftest.$ac_ext
12346cat >>conftest.$ac_ext <<_ACEOF
12347/* end confdefs.h. */
12348
12349/* Override any gcc2 internal prototype to avoid an error. */
12350#ifdef __cplusplus
12351extern "C"
12352#endif
12353/* We use char because int might match the return type of a gcc2
12354 builtin and then its argument prototype would still apply. */
12355char frexp ();
12356int
12357main ()
12358{
12359frexp ();
12360 ;
12361 return 0;
12362}
12363_ACEOF
12364rm -f conftest.$ac_objext conftest$ac_exeext
12365if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12366 (eval $ac_link) 2>conftest.er1
12367 ac_status=$?
12368 grep -v '^ *+' conftest.er1 >conftest.err
12369 rm -f conftest.er1
12370 cat conftest.err >&5
12371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12372 (exit $ac_status); } &&
12373 { ac_try='test -z "$ac_c_werror_flag"
12374 || test ! -s conftest.err'
12375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12376 (eval $ac_try) 2>&5
12377 ac_status=$?
12378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12379 (exit $ac_status); }; } &&
12380 { ac_try='test -s conftest$ac_exeext'
12381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12382 (eval $ac_try) 2>&5
12383 ac_status=$?
12384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12385 (exit $ac_status); }; }; then
12386 ac_cv_lib_m_frexp=yes
12387else
12388 echo "$as_me: failed program was:" >&5
12389sed 's/^/| /' conftest.$ac_ext >&5
12390
12391ac_cv_lib_m_frexp=no
12392fi
12393rm -f conftest.err conftest.$ac_objext \
12394 conftest$ac_exeext conftest.$ac_ext
12395LIBS=$ac_check_lib_save_LIBS
12396fi
12397echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
12398echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
12399if test $ac_cv_lib_m_frexp = yes; then
12400
12401cat >>confdefs.h <<\_ACEOF
12402#define HAVE_FREXP 1
12403_ACEOF
12404
12405fi
12406
12407echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
12408echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
12409if test "${ac_cv_lib_m_frexpl+set}" = set; then
12410 echo $ECHO_N "(cached) $ECHO_C" >&6
12411else
12412 ac_check_lib_save_LIBS=$LIBS
12413LIBS="-lm $LIBS"
12414if test x$gcc_no_link = xyes; then
12415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12416echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12417 { (exit 1); exit 1; }; }
12418fi
12419cat >conftest.$ac_ext <<_ACEOF
12420/* confdefs.h. */
12421_ACEOF
12422cat confdefs.h >>conftest.$ac_ext
12423cat >>conftest.$ac_ext <<_ACEOF
12424/* end confdefs.h. */
12425
12426/* Override any gcc2 internal prototype to avoid an error. */
12427#ifdef __cplusplus
12428extern "C"
12429#endif
12430/* We use char because int might match the return type of a gcc2
12431 builtin and then its argument prototype would still apply. */
12432char frexpl ();
12433int
12434main ()
12435{
12436frexpl ();
12437 ;
12438 return 0;
12439}
12440_ACEOF
12441rm -f conftest.$ac_objext conftest$ac_exeext
12442if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12443 (eval $ac_link) 2>conftest.er1
12444 ac_status=$?
12445 grep -v '^ *+' conftest.er1 >conftest.err
12446 rm -f conftest.er1
12447 cat conftest.err >&5
12448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12449 (exit $ac_status); } &&
12450 { ac_try='test -z "$ac_c_werror_flag"
12451 || test ! -s conftest.err'
12452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12453 (eval $ac_try) 2>&5
12454 ac_status=$?
12455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12456 (exit $ac_status); }; } &&
12457 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
12463 ac_cv_lib_m_frexpl=yes
12464else
12465 echo "$as_me: failed program was:" >&5
12466sed 's/^/| /' conftest.$ac_ext >&5
12467
12468ac_cv_lib_m_frexpl=no
12469fi
12470rm -f conftest.err conftest.$ac_objext \
12471 conftest$ac_exeext conftest.$ac_ext
12472LIBS=$ac_check_lib_save_LIBS
12473fi
12474echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
12475echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
12476if test $ac_cv_lib_m_frexpl = yes; then
12477
12478cat >>confdefs.h <<\_ACEOF
12479#define HAVE_FREXPL 1
12480_ACEOF
12481
12482fi
12483
12484echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
12485echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
12486if test "${ac_cv_lib_m_hypotf+set}" = set; then
12487 echo $ECHO_N "(cached) $ECHO_C" >&6
12488else
12489 ac_check_lib_save_LIBS=$LIBS
12490LIBS="-lm $LIBS"
12491if test x$gcc_no_link = xyes; then
12492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12493echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12494 { (exit 1); exit 1; }; }
12495fi
12496cat >conftest.$ac_ext <<_ACEOF
12497/* confdefs.h. */
12498_ACEOF
12499cat confdefs.h >>conftest.$ac_ext
12500cat >>conftest.$ac_ext <<_ACEOF
12501/* end confdefs.h. */
12502
12503/* Override any gcc2 internal prototype to avoid an error. */
12504#ifdef __cplusplus
12505extern "C"
12506#endif
12507/* We use char because int might match the return type of a gcc2
12508 builtin and then its argument prototype would still apply. */
12509char hypotf ();
12510int
12511main ()
12512{
12513hypotf ();
12514 ;
12515 return 0;
12516}
12517_ACEOF
12518rm -f conftest.$ac_objext conftest$ac_exeext
12519if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12520 (eval $ac_link) 2>conftest.er1
12521 ac_status=$?
12522 grep -v '^ *+' conftest.er1 >conftest.err
12523 rm -f conftest.er1
12524 cat conftest.err >&5
12525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12526 (exit $ac_status); } &&
12527 { ac_try='test -z "$ac_c_werror_flag"
12528 || test ! -s conftest.err'
12529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12530 (eval $ac_try) 2>&5
12531 ac_status=$?
12532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533 (exit $ac_status); }; } &&
12534 { ac_try='test -s conftest$ac_exeext'
12535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12536 (eval $ac_try) 2>&5
12537 ac_status=$?
12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539 (exit $ac_status); }; }; then
12540 ac_cv_lib_m_hypotf=yes
12541else
12542 echo "$as_me: failed program was:" >&5
12543sed 's/^/| /' conftest.$ac_ext >&5
12544
12545ac_cv_lib_m_hypotf=no
12546fi
12547rm -f conftest.err conftest.$ac_objext \
12548 conftest$ac_exeext conftest.$ac_ext
12549LIBS=$ac_check_lib_save_LIBS
12550fi
12551echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
12552echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
12553if test $ac_cv_lib_m_hypotf = yes; then
12554
12555cat >>confdefs.h <<\_ACEOF
12556#define HAVE_HYPOTF 1
12557_ACEOF
12558
12559fi
12560
12561echo "$as_me:$LINENO: checking for hypot in -lm" >&5
12562echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
12563if test "${ac_cv_lib_m_hypot+set}" = set; then
12564 echo $ECHO_N "(cached) $ECHO_C" >&6
12565else
12566 ac_check_lib_save_LIBS=$LIBS
12567LIBS="-lm $LIBS"
12568if test x$gcc_no_link = xyes; then
12569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12570echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12571 { (exit 1); exit 1; }; }
12572fi
12573cat >conftest.$ac_ext <<_ACEOF
12574/* confdefs.h. */
12575_ACEOF
12576cat confdefs.h >>conftest.$ac_ext
12577cat >>conftest.$ac_ext <<_ACEOF
12578/* end confdefs.h. */
12579
12580/* Override any gcc2 internal prototype to avoid an error. */
12581#ifdef __cplusplus
12582extern "C"
12583#endif
12584/* We use char because int might match the return type of a gcc2
12585 builtin and then its argument prototype would still apply. */
12586char hypot ();
12587int
12588main ()
12589{
12590hypot ();
12591 ;
12592 return 0;
12593}
12594_ACEOF
12595rm -f conftest.$ac_objext conftest$ac_exeext
12596if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12597 (eval $ac_link) 2>conftest.er1
12598 ac_status=$?
12599 grep -v '^ *+' conftest.er1 >conftest.err
12600 rm -f conftest.er1
12601 cat conftest.err >&5
12602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12603 (exit $ac_status); } &&
12604 { ac_try='test -z "$ac_c_werror_flag"
12605 || test ! -s conftest.err'
12606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12607 (eval $ac_try) 2>&5
12608 ac_status=$?
12609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12610 (exit $ac_status); }; } &&
12611 { ac_try='test -s conftest$ac_exeext'
12612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12613 (eval $ac_try) 2>&5
12614 ac_status=$?
12615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12616 (exit $ac_status); }; }; then
12617 ac_cv_lib_m_hypot=yes
12618else
12619 echo "$as_me: failed program was:" >&5
12620sed 's/^/| /' conftest.$ac_ext >&5
12621
12622ac_cv_lib_m_hypot=no
12623fi
12624rm -f conftest.err conftest.$ac_objext \
12625 conftest$ac_exeext conftest.$ac_ext
12626LIBS=$ac_check_lib_save_LIBS
12627fi
12628echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
12629echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
12630if test $ac_cv_lib_m_hypot = yes; then
12631
12632cat >>confdefs.h <<\_ACEOF
12633#define HAVE_HYPOT 1
12634_ACEOF
12635
12636fi
12637
12638echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
12639echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
12640if test "${ac_cv_lib_m_hypotl+set}" = set; then
12641 echo $ECHO_N "(cached) $ECHO_C" >&6
12642else
12643 ac_check_lib_save_LIBS=$LIBS
12644LIBS="-lm $LIBS"
12645if test x$gcc_no_link = xyes; then
12646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12647echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12648 { (exit 1); exit 1; }; }
12649fi
12650cat >conftest.$ac_ext <<_ACEOF
12651/* confdefs.h. */
12652_ACEOF
12653cat confdefs.h >>conftest.$ac_ext
12654cat >>conftest.$ac_ext <<_ACEOF
12655/* end confdefs.h. */
12656
12657/* Override any gcc2 internal prototype to avoid an error. */
12658#ifdef __cplusplus
12659extern "C"
12660#endif
12661/* We use char because int might match the return type of a gcc2
12662 builtin and then its argument prototype would still apply. */
12663char hypotl ();
12664int
12665main ()
12666{
12667hypotl ();
12668 ;
12669 return 0;
12670}
12671_ACEOF
12672rm -f conftest.$ac_objext conftest$ac_exeext
12673if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12674 (eval $ac_link) 2>conftest.er1
12675 ac_status=$?
12676 grep -v '^ *+' conftest.er1 >conftest.err
12677 rm -f conftest.er1
12678 cat conftest.err >&5
12679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12680 (exit $ac_status); } &&
12681 { ac_try='test -z "$ac_c_werror_flag"
12682 || test ! -s conftest.err'
12683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12684 (eval $ac_try) 2>&5
12685 ac_status=$?
12686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12687 (exit $ac_status); }; } &&
12688 { ac_try='test -s conftest$ac_exeext'
12689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12690 (eval $ac_try) 2>&5
12691 ac_status=$?
12692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12693 (exit $ac_status); }; }; then
12694 ac_cv_lib_m_hypotl=yes
12695else
12696 echo "$as_me: failed program was:" >&5
12697sed 's/^/| /' conftest.$ac_ext >&5
12698
12699ac_cv_lib_m_hypotl=no
12700fi
12701rm -f conftest.err conftest.$ac_objext \
12702 conftest$ac_exeext conftest.$ac_ext
12703LIBS=$ac_check_lib_save_LIBS
12704fi
12705echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
12706echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
12707if test $ac_cv_lib_m_hypotl = yes; then
12708
12709cat >>confdefs.h <<\_ACEOF
12710#define HAVE_HYPOTL 1
12711_ACEOF
12712
12713fi
12714
12715echo "$as_me:$LINENO: checking for logf in -lm" >&5
12716echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
12717if test "${ac_cv_lib_m_logf+set}" = set; then
12718 echo $ECHO_N "(cached) $ECHO_C" >&6
12719else
12720 ac_check_lib_save_LIBS=$LIBS
12721LIBS="-lm $LIBS"
12722if test x$gcc_no_link = xyes; then
12723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12724echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12725 { (exit 1); exit 1; }; }
12726fi
12727cat >conftest.$ac_ext <<_ACEOF
12728/* confdefs.h. */
12729_ACEOF
12730cat confdefs.h >>conftest.$ac_ext
12731cat >>conftest.$ac_ext <<_ACEOF
12732/* end confdefs.h. */
12733
12734/* Override any gcc2 internal prototype to avoid an error. */
12735#ifdef __cplusplus
12736extern "C"
12737#endif
12738/* We use char because int might match the return type of a gcc2
12739 builtin and then its argument prototype would still apply. */
12740char logf ();
12741int
12742main ()
12743{
12744logf ();
12745 ;
12746 return 0;
12747}
12748_ACEOF
12749rm -f conftest.$ac_objext conftest$ac_exeext
12750if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12751 (eval $ac_link) 2>conftest.er1
12752 ac_status=$?
12753 grep -v '^ *+' conftest.er1 >conftest.err
12754 rm -f conftest.er1
12755 cat conftest.err >&5
12756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12757 (exit $ac_status); } &&
12758 { ac_try='test -z "$ac_c_werror_flag"
12759 || test ! -s conftest.err'
12760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12761 (eval $ac_try) 2>&5
12762 ac_status=$?
12763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12764 (exit $ac_status); }; } &&
12765 { ac_try='test -s conftest$ac_exeext'
12766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12767 (eval $ac_try) 2>&5
12768 ac_status=$?
12769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12770 (exit $ac_status); }; }; then
12771 ac_cv_lib_m_logf=yes
12772else
12773 echo "$as_me: failed program was:" >&5
12774sed 's/^/| /' conftest.$ac_ext >&5
12775
12776ac_cv_lib_m_logf=no
12777fi
12778rm -f conftest.err conftest.$ac_objext \
12779 conftest$ac_exeext conftest.$ac_ext
12780LIBS=$ac_check_lib_save_LIBS
12781fi
12782echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
12783echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
12784if test $ac_cv_lib_m_logf = yes; then
12785
12786cat >>confdefs.h <<\_ACEOF
12787#define HAVE_LOGF 1
12788_ACEOF
12789
12790fi
12791
12792echo "$as_me:$LINENO: checking for log in -lm" >&5
12793echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
12794if test "${ac_cv_lib_m_log+set}" = set; then
12795 echo $ECHO_N "(cached) $ECHO_C" >&6
12796else
12797 ac_check_lib_save_LIBS=$LIBS
12798LIBS="-lm $LIBS"
12799if test x$gcc_no_link = xyes; then
12800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12801echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12802 { (exit 1); exit 1; }; }
12803fi
12804cat >conftest.$ac_ext <<_ACEOF
12805/* confdefs.h. */
12806_ACEOF
12807cat confdefs.h >>conftest.$ac_ext
12808cat >>conftest.$ac_ext <<_ACEOF
12809/* end confdefs.h. */
12810
12811/* Override any gcc2 internal prototype to avoid an error. */
12812#ifdef __cplusplus
12813extern "C"
12814#endif
12815/* We use char because int might match the return type of a gcc2
12816 builtin and then its argument prototype would still apply. */
12817char log ();
12818int
12819main ()
12820{
12821log ();
12822 ;
12823 return 0;
12824}
12825_ACEOF
12826rm -f conftest.$ac_objext conftest$ac_exeext
12827if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12828 (eval $ac_link) 2>conftest.er1
12829 ac_status=$?
12830 grep -v '^ *+' conftest.er1 >conftest.err
12831 rm -f conftest.er1
12832 cat conftest.err >&5
12833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12834 (exit $ac_status); } &&
12835 { ac_try='test -z "$ac_c_werror_flag"
12836 || test ! -s conftest.err'
12837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12838 (eval $ac_try) 2>&5
12839 ac_status=$?
12840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12841 (exit $ac_status); }; } &&
12842 { ac_try='test -s conftest$ac_exeext'
12843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12844 (eval $ac_try) 2>&5
12845 ac_status=$?
12846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12847 (exit $ac_status); }; }; then
12848 ac_cv_lib_m_log=yes
12849else
12850 echo "$as_me: failed program was:" >&5
12851sed 's/^/| /' conftest.$ac_ext >&5
12852
12853ac_cv_lib_m_log=no
12854fi
12855rm -f conftest.err conftest.$ac_objext \
12856 conftest$ac_exeext conftest.$ac_ext
12857LIBS=$ac_check_lib_save_LIBS
12858fi
12859echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
12860echo "${ECHO_T}$ac_cv_lib_m_log" >&6
12861if test $ac_cv_lib_m_log = yes; then
12862
12863cat >>confdefs.h <<\_ACEOF
12864#define HAVE_LOG 1
12865_ACEOF
12866
12867fi
12868
12869echo "$as_me:$LINENO: checking for logl in -lm" >&5
12870echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
12871if test "${ac_cv_lib_m_logl+set}" = set; then
12872 echo $ECHO_N "(cached) $ECHO_C" >&6
12873else
12874 ac_check_lib_save_LIBS=$LIBS
12875LIBS="-lm $LIBS"
12876if test x$gcc_no_link = xyes; then
12877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12878echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12879 { (exit 1); exit 1; }; }
12880fi
12881cat >conftest.$ac_ext <<_ACEOF
12882/* confdefs.h. */
12883_ACEOF
12884cat confdefs.h >>conftest.$ac_ext
12885cat >>conftest.$ac_ext <<_ACEOF
12886/* end confdefs.h. */
12887
12888/* Override any gcc2 internal prototype to avoid an error. */
12889#ifdef __cplusplus
12890extern "C"
12891#endif
12892/* We use char because int might match the return type of a gcc2
12893 builtin and then its argument prototype would still apply. */
12894char logl ();
12895int
12896main ()
12897{
12898logl ();
12899 ;
12900 return 0;
12901}
12902_ACEOF
12903rm -f conftest.$ac_objext conftest$ac_exeext
12904if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12905 (eval $ac_link) 2>conftest.er1
12906 ac_status=$?
12907 grep -v '^ *+' conftest.er1 >conftest.err
12908 rm -f conftest.er1
12909 cat conftest.err >&5
12910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12911 (exit $ac_status); } &&
12912 { ac_try='test -z "$ac_c_werror_flag"
12913 || test ! -s conftest.err'
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_logl=yes
12926else
12927 echo "$as_me: failed program was:" >&5
12928sed 's/^/| /' conftest.$ac_ext >&5
12929
12930ac_cv_lib_m_logl=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_logl" >&5
12937echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
12938if test $ac_cv_lib_m_logl = yes; then
12939
12940cat >>confdefs.h <<\_ACEOF
12941#define HAVE_LOGL 1
12942_ACEOF
12943
12944fi
12945
12946echo "$as_me:$LINENO: checking for clogf in -lm" >&5
12947echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
12948if test "${ac_cv_lib_m_clogf+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 clogf ();
12972int
12973main ()
12974{
12975clogf ();
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); } &&
12989 { ac_try='test -z "$ac_c_werror_flag"
12990 || test ! -s conftest.err'
12991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12992 (eval $ac_try) 2>&5
12993 ac_status=$?
12994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995 (exit $ac_status); }; } &&
12996 { ac_try='test -s conftest$ac_exeext'
12997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12998 (eval $ac_try) 2>&5
12999 ac_status=$?
13000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13001 (exit $ac_status); }; }; then
13002 ac_cv_lib_m_clogf=yes
13003else
13004 echo "$as_me: failed program was:" >&5
13005sed 's/^/| /' conftest.$ac_ext >&5
13006
13007ac_cv_lib_m_clogf=no
13008fi
13009rm -f conftest.err conftest.$ac_objext \
13010 conftest$ac_exeext conftest.$ac_ext
13011LIBS=$ac_check_lib_save_LIBS
13012fi
13013echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
13014echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
13015if test $ac_cv_lib_m_clogf = yes; then
13016
13017cat >>confdefs.h <<\_ACEOF
13018#define HAVE_CLOGF 1
13019_ACEOF
13020
13021fi
13022
13023echo "$as_me:$LINENO: checking for clog in -lm" >&5
13024echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
13025if test "${ac_cv_lib_m_clog+set}" = set; then
13026 echo $ECHO_N "(cached) $ECHO_C" >&6
13027else
13028 ac_check_lib_save_LIBS=$LIBS
13029LIBS="-lm $LIBS"
13030if test x$gcc_no_link = xyes; then
13031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13032echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13033 { (exit 1); exit 1; }; }
13034fi
13035cat >conftest.$ac_ext <<_ACEOF
13036/* confdefs.h. */
13037_ACEOF
13038cat confdefs.h >>conftest.$ac_ext
13039cat >>conftest.$ac_ext <<_ACEOF
13040/* end confdefs.h. */
13041
13042/* Override any gcc2 internal prototype to avoid an error. */
13043#ifdef __cplusplus
13044extern "C"
13045#endif
13046/* We use char because int might match the return type of a gcc2
13047 builtin and then its argument prototype would still apply. */
13048char clog ();
13049int
13050main ()
13051{
13052clog ();
13053 ;
13054 return 0;
13055}
13056_ACEOF
13057rm -f conftest.$ac_objext conftest$ac_exeext
13058if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13059 (eval $ac_link) 2>conftest.er1
13060 ac_status=$?
13061 grep -v '^ *+' conftest.er1 >conftest.err
13062 rm -f conftest.er1
13063 cat conftest.err >&5
13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 (exit $ac_status); } &&
13066 { ac_try='test -z "$ac_c_werror_flag"
13067 || test ! -s conftest.err'
13068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13069 (eval $ac_try) 2>&5
13070 ac_status=$?
13071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13072 (exit $ac_status); }; } &&
13073 { ac_try='test -s conftest$ac_exeext'
13074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13075 (eval $ac_try) 2>&5
13076 ac_status=$?
13077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13078 (exit $ac_status); }; }; then
13079 ac_cv_lib_m_clog=yes
13080else
13081 echo "$as_me: failed program was:" >&5
13082sed 's/^/| /' conftest.$ac_ext >&5
13083
13084ac_cv_lib_m_clog=no
13085fi
13086rm -f conftest.err conftest.$ac_objext \
13087 conftest$ac_exeext conftest.$ac_ext
13088LIBS=$ac_check_lib_save_LIBS
13089fi
13090echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
13091echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
13092if test $ac_cv_lib_m_clog = yes; then
13093
13094cat >>confdefs.h <<\_ACEOF
13095#define HAVE_CLOG 1
13096_ACEOF
13097
13098fi
13099
13100echo "$as_me:$LINENO: checking for clogl in -lm" >&5
13101echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
13102if test "${ac_cv_lib_m_clogl+set}" = set; then
13103 echo $ECHO_N "(cached) $ECHO_C" >&6
13104else
13105 ac_check_lib_save_LIBS=$LIBS
13106LIBS="-lm $LIBS"
13107if test x$gcc_no_link = xyes; then
13108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13109echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13110 { (exit 1); exit 1; }; }
13111fi
13112cat >conftest.$ac_ext <<_ACEOF
13113/* confdefs.h. */
13114_ACEOF
13115cat confdefs.h >>conftest.$ac_ext
13116cat >>conftest.$ac_ext <<_ACEOF
13117/* end confdefs.h. */
13118
13119/* Override any gcc2 internal prototype to avoid an error. */
13120#ifdef __cplusplus
13121extern "C"
13122#endif
13123/* We use char because int might match the return type of a gcc2
13124 builtin and then its argument prototype would still apply. */
13125char clogl ();
13126int
13127main ()
13128{
13129clogl ();
13130 ;
13131 return 0;
13132}
13133_ACEOF
13134rm -f conftest.$ac_objext conftest$ac_exeext
13135if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13136 (eval $ac_link) 2>conftest.er1
13137 ac_status=$?
13138 grep -v '^ *+' conftest.er1 >conftest.err
13139 rm -f conftest.er1
13140 cat conftest.err >&5
13141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13142 (exit $ac_status); } &&
13143 { ac_try='test -z "$ac_c_werror_flag"
13144 || test ! -s conftest.err'
13145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13146 (eval $ac_try) 2>&5
13147 ac_status=$?
13148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13149 (exit $ac_status); }; } &&
13150 { ac_try='test -s conftest$ac_exeext'
13151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13152 (eval $ac_try) 2>&5
13153 ac_status=$?
13154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13155 (exit $ac_status); }; }; then
13156 ac_cv_lib_m_clogl=yes
13157else
13158 echo "$as_me: failed program was:" >&5
13159sed 's/^/| /' conftest.$ac_ext >&5
13160
13161ac_cv_lib_m_clogl=no
13162fi
13163rm -f conftest.err conftest.$ac_objext \
13164 conftest$ac_exeext conftest.$ac_ext
13165LIBS=$ac_check_lib_save_LIBS
13166fi
13167echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
13168echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
13169if test $ac_cv_lib_m_clogl = yes; then
13170
13171cat >>confdefs.h <<\_ACEOF
13172#define HAVE_CLOGL 1
13173_ACEOF
13174
13175fi
13176
13177echo "$as_me:$LINENO: checking for log10f in -lm" >&5
13178echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
13179if test "${ac_cv_lib_m_log10f+set}" = set; then
13180 echo $ECHO_N "(cached) $ECHO_C" >&6
13181else
13182 ac_check_lib_save_LIBS=$LIBS
13183LIBS="-lm $LIBS"
13184if test x$gcc_no_link = xyes; then
13185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13186echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13187 { (exit 1); exit 1; }; }
13188fi
13189cat >conftest.$ac_ext <<_ACEOF
13190/* confdefs.h. */
13191_ACEOF
13192cat confdefs.h >>conftest.$ac_ext
13193cat >>conftest.$ac_ext <<_ACEOF
13194/* end confdefs.h. */
13195
13196/* Override any gcc2 internal prototype to avoid an error. */
13197#ifdef __cplusplus
13198extern "C"
13199#endif
13200/* We use char because int might match the return type of a gcc2
13201 builtin and then its argument prototype would still apply. */
13202char log10f ();
13203int
13204main ()
13205{
13206log10f ();
13207 ;
13208 return 0;
13209}
13210_ACEOF
13211rm -f conftest.$ac_objext conftest$ac_exeext
13212if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13213 (eval $ac_link) 2>conftest.er1
13214 ac_status=$?
13215 grep -v '^ *+' conftest.er1 >conftest.err
13216 rm -f conftest.er1
13217 cat conftest.err >&5
13218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13219 (exit $ac_status); } &&
13220 { ac_try='test -z "$ac_c_werror_flag"
13221 || test ! -s conftest.err'
13222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13223 (eval $ac_try) 2>&5
13224 ac_status=$?
13225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13226 (exit $ac_status); }; } &&
13227 { ac_try='test -s conftest$ac_exeext'
13228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13229 (eval $ac_try) 2>&5
13230 ac_status=$?
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); }; }; then
13233 ac_cv_lib_m_log10f=yes
13234else
13235 echo "$as_me: failed program was:" >&5
13236sed 's/^/| /' conftest.$ac_ext >&5
13237
13238ac_cv_lib_m_log10f=no
13239fi
13240rm -f conftest.err conftest.$ac_objext \
13241 conftest$ac_exeext conftest.$ac_ext
13242LIBS=$ac_check_lib_save_LIBS
13243fi
13244echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
13245echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
13246if test $ac_cv_lib_m_log10f = yes; then
13247
13248cat >>confdefs.h <<\_ACEOF
13249#define HAVE_LOG10F 1
13250_ACEOF
13251
13252fi
13253
13254echo "$as_me:$LINENO: checking for log10 in -lm" >&5
13255echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
13256if test "${ac_cv_lib_m_log10+set}" = set; then
13257 echo $ECHO_N "(cached) $ECHO_C" >&6
13258else
13259 ac_check_lib_save_LIBS=$LIBS
13260LIBS="-lm $LIBS"
13261if test x$gcc_no_link = xyes; then
13262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13263echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13264 { (exit 1); exit 1; }; }
13265fi
13266cat >conftest.$ac_ext <<_ACEOF
13267/* confdefs.h. */
13268_ACEOF
13269cat confdefs.h >>conftest.$ac_ext
13270cat >>conftest.$ac_ext <<_ACEOF
13271/* end confdefs.h. */
13272
13273/* Override any gcc2 internal prototype to avoid an error. */
13274#ifdef __cplusplus
13275extern "C"
13276#endif
13277/* We use char because int might match the return type of a gcc2
13278 builtin and then its argument prototype would still apply. */
13279char log10 ();
13280int
13281main ()
13282{
13283log10 ();
13284 ;
13285 return 0;
13286}
13287_ACEOF
13288rm -f conftest.$ac_objext conftest$ac_exeext
13289if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13290 (eval $ac_link) 2>conftest.er1
13291 ac_status=$?
13292 grep -v '^ *+' conftest.er1 >conftest.err
13293 rm -f conftest.er1
13294 cat conftest.err >&5
13295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13296 (exit $ac_status); } &&
13297 { ac_try='test -z "$ac_c_werror_flag"
13298 || test ! -s conftest.err'
13299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13300 (eval $ac_try) 2>&5
13301 ac_status=$?
13302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13303 (exit $ac_status); }; } &&
13304 { ac_try='test -s conftest$ac_exeext'
13305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13306 (eval $ac_try) 2>&5
13307 ac_status=$?
13308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309 (exit $ac_status); }; }; then
13310 ac_cv_lib_m_log10=yes
13311else
13312 echo "$as_me: failed program was:" >&5
13313sed 's/^/| /' conftest.$ac_ext >&5
13314
13315ac_cv_lib_m_log10=no
13316fi
13317rm -f conftest.err conftest.$ac_objext \
13318 conftest$ac_exeext conftest.$ac_ext
13319LIBS=$ac_check_lib_save_LIBS
13320fi
13321echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
13322echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
13323if test $ac_cv_lib_m_log10 = yes; then
13324
13325cat >>confdefs.h <<\_ACEOF
13326#define HAVE_LOG10 1
13327_ACEOF
13328
13329fi
13330
13331echo "$as_me:$LINENO: checking for log10l in -lm" >&5
13332echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
13333if test "${ac_cv_lib_m_log10l+set}" = set; then
13334 echo $ECHO_N "(cached) $ECHO_C" >&6
13335else
13336 ac_check_lib_save_LIBS=$LIBS
13337LIBS="-lm $LIBS"
13338if test x$gcc_no_link = xyes; then
13339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13340echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13341 { (exit 1); exit 1; }; }
13342fi
13343cat >conftest.$ac_ext <<_ACEOF
13344/* confdefs.h. */
13345_ACEOF
13346cat confdefs.h >>conftest.$ac_ext
13347cat >>conftest.$ac_ext <<_ACEOF
13348/* end confdefs.h. */
13349
13350/* Override any gcc2 internal prototype to avoid an error. */
13351#ifdef __cplusplus
13352extern "C"
13353#endif
13354/* We use char because int might match the return type of a gcc2
13355 builtin and then its argument prototype would still apply. */
13356char log10l ();
13357int
13358main ()
13359{
13360log10l ();
13361 ;
13362 return 0;
13363}
13364_ACEOF
13365rm -f conftest.$ac_objext conftest$ac_exeext
13366if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13367 (eval $ac_link) 2>conftest.er1
13368 ac_status=$?
13369 grep -v '^ *+' conftest.er1 >conftest.err
13370 rm -f conftest.er1
13371 cat conftest.err >&5
13372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13373 (exit $ac_status); } &&
13374 { ac_try='test -z "$ac_c_werror_flag"
13375 || test ! -s conftest.err'
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); }; } &&
13381 { ac_try='test -s conftest$ac_exeext'
13382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13383 (eval $ac_try) 2>&5
13384 ac_status=$?
13385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13386 (exit $ac_status); }; }; then
13387 ac_cv_lib_m_log10l=yes
13388else
13389 echo "$as_me: failed program was:" >&5
13390sed 's/^/| /' conftest.$ac_ext >&5
13391
13392ac_cv_lib_m_log10l=no
13393fi
13394rm -f conftest.err conftest.$ac_objext \
13395 conftest$ac_exeext conftest.$ac_ext
13396LIBS=$ac_check_lib_save_LIBS
13397fi
13398echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
13399echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
13400if test $ac_cv_lib_m_log10l = yes; then
13401
13402cat >>confdefs.h <<\_ACEOF
13403#define HAVE_LOG10L 1
13404_ACEOF
13405
13406fi
13407
13408echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
13409echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
13410if test "${ac_cv_lib_m_clog10f+set}" = set; then
13411 echo $ECHO_N "(cached) $ECHO_C" >&6
13412else
13413 ac_check_lib_save_LIBS=$LIBS
13414LIBS="-lm $LIBS"
13415if test x$gcc_no_link = xyes; then
13416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13417echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13418 { (exit 1); exit 1; }; }
13419fi
13420cat >conftest.$ac_ext <<_ACEOF
13421/* confdefs.h. */
13422_ACEOF
13423cat confdefs.h >>conftest.$ac_ext
13424cat >>conftest.$ac_ext <<_ACEOF
13425/* end confdefs.h. */
13426
13427/* Override any gcc2 internal prototype to avoid an error. */
13428#ifdef __cplusplus
13429extern "C"
13430#endif
13431/* We use char because int might match the return type of a gcc2
13432 builtin and then its argument prototype would still apply. */
13433char clog10f ();
13434int
13435main ()
13436{
13437clog10f ();
13438 ;
13439 return 0;
13440}
13441_ACEOF
13442rm -f conftest.$ac_objext conftest$ac_exeext
13443if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13444 (eval $ac_link) 2>conftest.er1
13445 ac_status=$?
13446 grep -v '^ *+' conftest.er1 >conftest.err
13447 rm -f conftest.er1
13448 cat conftest.err >&5
13449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13450 (exit $ac_status); } &&
13451 { ac_try='test -z "$ac_c_werror_flag"
13452 || test ! -s conftest.err'
13453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13454 (eval $ac_try) 2>&5
13455 ac_status=$?
13456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13457 (exit $ac_status); }; } &&
13458 { ac_try='test -s conftest$ac_exeext'
13459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13460 (eval $ac_try) 2>&5
13461 ac_status=$?
13462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13463 (exit $ac_status); }; }; then
13464 ac_cv_lib_m_clog10f=yes
13465else
13466 echo "$as_me: failed program was:" >&5
13467sed 's/^/| /' conftest.$ac_ext >&5
13468
13469ac_cv_lib_m_clog10f=no
13470fi
13471rm -f conftest.err conftest.$ac_objext \
13472 conftest$ac_exeext conftest.$ac_ext
13473LIBS=$ac_check_lib_save_LIBS
13474fi
13475echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
13476echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
13477if test $ac_cv_lib_m_clog10f = yes; then
13478
13479cat >>confdefs.h <<\_ACEOF
13480#define HAVE_CLOG10F 1
13481_ACEOF
13482
13483fi
13484
13485echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
13486echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
13487if test "${ac_cv_lib_m_clog10+set}" = set; then
13488 echo $ECHO_N "(cached) $ECHO_C" >&6
13489else
13490 ac_check_lib_save_LIBS=$LIBS
13491LIBS="-lm $LIBS"
13492if test x$gcc_no_link = xyes; then
13493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13494echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13495 { (exit 1); exit 1; }; }
13496fi
13497cat >conftest.$ac_ext <<_ACEOF
13498/* confdefs.h. */
13499_ACEOF
13500cat confdefs.h >>conftest.$ac_ext
13501cat >>conftest.$ac_ext <<_ACEOF
13502/* end confdefs.h. */
13503
13504/* Override any gcc2 internal prototype to avoid an error. */
13505#ifdef __cplusplus
13506extern "C"
13507#endif
13508/* We use char because int might match the return type of a gcc2
13509 builtin and then its argument prototype would still apply. */
13510char clog10 ();
13511int
13512main ()
13513{
13514clog10 ();
13515 ;
13516 return 0;
13517}
13518_ACEOF
13519rm -f conftest.$ac_objext conftest$ac_exeext
13520if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13521 (eval $ac_link) 2>conftest.er1
13522 ac_status=$?
13523 grep -v '^ *+' conftest.er1 >conftest.err
13524 rm -f conftest.er1
13525 cat conftest.err >&5
13526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13527 (exit $ac_status); } &&
13528 { ac_try='test -z "$ac_c_werror_flag"
13529 || test ! -s conftest.err'
13530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13531 (eval $ac_try) 2>&5
13532 ac_status=$?
13533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13534 (exit $ac_status); }; } &&
13535 { ac_try='test -s conftest$ac_exeext'
13536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13537 (eval $ac_try) 2>&5
13538 ac_status=$?
13539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13540 (exit $ac_status); }; }; then
13541 ac_cv_lib_m_clog10=yes
13542else
13543 echo "$as_me: failed program was:" >&5
13544sed 's/^/| /' conftest.$ac_ext >&5
13545
13546ac_cv_lib_m_clog10=no
13547fi
13548rm -f conftest.err conftest.$ac_objext \
13549 conftest$ac_exeext conftest.$ac_ext
13550LIBS=$ac_check_lib_save_LIBS
13551fi
13552echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
13553echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
13554if test $ac_cv_lib_m_clog10 = yes; then
13555
13556cat >>confdefs.h <<\_ACEOF
13557#define HAVE_CLOG10 1
13558_ACEOF
13559
13560fi
13561
13562echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
13563echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
13564if test "${ac_cv_lib_m_clog10l+set}" = set; then
13565 echo $ECHO_N "(cached) $ECHO_C" >&6
13566else
13567 ac_check_lib_save_LIBS=$LIBS
13568LIBS="-lm $LIBS"
13569if test x$gcc_no_link = xyes; then
13570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13571echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13572 { (exit 1); exit 1; }; }
13573fi
13574cat >conftest.$ac_ext <<_ACEOF
13575/* confdefs.h. */
13576_ACEOF
13577cat confdefs.h >>conftest.$ac_ext
13578cat >>conftest.$ac_ext <<_ACEOF
13579/* end confdefs.h. */
13580
13581/* Override any gcc2 internal prototype to avoid an error. */
13582#ifdef __cplusplus
13583extern "C"
13584#endif
13585/* We use char because int might match the return type of a gcc2
13586 builtin and then its argument prototype would still apply. */
13587char clog10l ();
13588int
13589main ()
13590{
13591clog10l ();
13592 ;
13593 return 0;
13594}
13595_ACEOF
13596rm -f conftest.$ac_objext conftest$ac_exeext
13597if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13598 (eval $ac_link) 2>conftest.er1
13599 ac_status=$?
13600 grep -v '^ *+' conftest.er1 >conftest.err
13601 rm -f conftest.er1
13602 cat conftest.err >&5
13603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13604 (exit $ac_status); } &&
13605 { ac_try='test -z "$ac_c_werror_flag"
13606 || test ! -s conftest.err'
13607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13608 (eval $ac_try) 2>&5
13609 ac_status=$?
13610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13611 (exit $ac_status); }; } &&
13612 { ac_try='test -s conftest$ac_exeext'
13613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13614 (eval $ac_try) 2>&5
13615 ac_status=$?
13616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13617 (exit $ac_status); }; }; then
13618 ac_cv_lib_m_clog10l=yes
13619else
13620 echo "$as_me: failed program was:" >&5
13621sed 's/^/| /' conftest.$ac_ext >&5
13622
13623ac_cv_lib_m_clog10l=no
13624fi
13625rm -f conftest.err conftest.$ac_objext \
13626 conftest$ac_exeext conftest.$ac_ext
13627LIBS=$ac_check_lib_save_LIBS
13628fi
13629echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
13630echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
13631if test $ac_cv_lib_m_clog10l = yes; then
13632
13633cat >>confdefs.h <<\_ACEOF
13634#define HAVE_CLOG10L 1
13635_ACEOF
13636
13637fi
13638
13639echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
13640echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
13641if test "${ac_cv_lib_m_nextafterf+set}" = set; then
13642 echo $ECHO_N "(cached) $ECHO_C" >&6
13643else
13644 ac_check_lib_save_LIBS=$LIBS
13645LIBS="-lm $LIBS"
13646if test x$gcc_no_link = xyes; then
13647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13648echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13649 { (exit 1); exit 1; }; }
13650fi
13651cat >conftest.$ac_ext <<_ACEOF
13652/* confdefs.h. */
13653_ACEOF
13654cat confdefs.h >>conftest.$ac_ext
13655cat >>conftest.$ac_ext <<_ACEOF
13656/* end confdefs.h. */
13657
13658/* Override any gcc2 internal prototype to avoid an error. */
13659#ifdef __cplusplus
13660extern "C"
13661#endif
13662/* We use char because int might match the return type of a gcc2
13663 builtin and then its argument prototype would still apply. */
13664char nextafterf ();
13665int
13666main ()
13667{
13668nextafterf ();
13669 ;
13670 return 0;
13671}
13672_ACEOF
13673rm -f conftest.$ac_objext conftest$ac_exeext
13674if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13675 (eval $ac_link) 2>conftest.er1
13676 ac_status=$?
13677 grep -v '^ *+' conftest.er1 >conftest.err
13678 rm -f conftest.er1
13679 cat conftest.err >&5
13680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13681 (exit $ac_status); } &&
13682 { ac_try='test -z "$ac_c_werror_flag"
13683 || test ! -s conftest.err'
13684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13685 (eval $ac_try) 2>&5
13686 ac_status=$?
13687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13688 (exit $ac_status); }; } &&
13689 { ac_try='test -s conftest$ac_exeext'
13690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13691 (eval $ac_try) 2>&5
13692 ac_status=$?
13693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13694 (exit $ac_status); }; }; then
13695 ac_cv_lib_m_nextafterf=yes
13696else
13697 echo "$as_me: failed program was:" >&5
13698sed 's/^/| /' conftest.$ac_ext >&5
13699
13700ac_cv_lib_m_nextafterf=no
13701fi
13702rm -f conftest.err conftest.$ac_objext \
13703 conftest$ac_exeext conftest.$ac_ext
13704LIBS=$ac_check_lib_save_LIBS
13705fi
13706echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
13707echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
13708if test $ac_cv_lib_m_nextafterf = yes; then
13709
13710cat >>confdefs.h <<\_ACEOF
13711#define HAVE_NEXTAFTERF 1
13712_ACEOF
13713
13714fi
13715
13716echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
13717echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
13718if test "${ac_cv_lib_m_nextafter+set}" = set; then
13719 echo $ECHO_N "(cached) $ECHO_C" >&6
13720else
13721 ac_check_lib_save_LIBS=$LIBS
13722LIBS="-lm $LIBS"
13723if test x$gcc_no_link = xyes; then
13724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13725echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13726 { (exit 1); exit 1; }; }
13727fi
13728cat >conftest.$ac_ext <<_ACEOF
13729/* confdefs.h. */
13730_ACEOF
13731cat confdefs.h >>conftest.$ac_ext
13732cat >>conftest.$ac_ext <<_ACEOF
13733/* end confdefs.h. */
13734
13735/* Override any gcc2 internal prototype to avoid an error. */
13736#ifdef __cplusplus
13737extern "C"
13738#endif
13739/* We use char because int might match the return type of a gcc2
13740 builtin and then its argument prototype would still apply. */
13741char nextafter ();
13742int
13743main ()
13744{
13745nextafter ();
13746 ;
13747 return 0;
13748}
13749_ACEOF
13750rm -f conftest.$ac_objext conftest$ac_exeext
13751if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13752 (eval $ac_link) 2>conftest.er1
13753 ac_status=$?
13754 grep -v '^ *+' conftest.er1 >conftest.err
13755 rm -f conftest.er1
13756 cat conftest.err >&5
13757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13758 (exit $ac_status); } &&
13759 { ac_try='test -z "$ac_c_werror_flag"
13760 || test ! -s conftest.err'
13761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13762 (eval $ac_try) 2>&5
13763 ac_status=$?
13764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765 (exit $ac_status); }; } &&
13766 { ac_try='test -s conftest$ac_exeext'
13767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13768 (eval $ac_try) 2>&5
13769 ac_status=$?
13770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13771 (exit $ac_status); }; }; then
13772 ac_cv_lib_m_nextafter=yes
13773else
13774 echo "$as_me: failed program was:" >&5
13775sed 's/^/| /' conftest.$ac_ext >&5
13776
13777ac_cv_lib_m_nextafter=no
13778fi
13779rm -f conftest.err conftest.$ac_objext \
13780 conftest$ac_exeext conftest.$ac_ext
13781LIBS=$ac_check_lib_save_LIBS
13782fi
13783echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
13784echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
13785if test $ac_cv_lib_m_nextafter = yes; then
13786
13787cat >>confdefs.h <<\_ACEOF
13788#define HAVE_NEXTAFTER 1
13789_ACEOF
13790
13791fi
13792
13793echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
13794echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
13795if test "${ac_cv_lib_m_nextafterl+set}" = set; then
13796 echo $ECHO_N "(cached) $ECHO_C" >&6
13797else
13798 ac_check_lib_save_LIBS=$LIBS
13799LIBS="-lm $LIBS"
13800if test x$gcc_no_link = xyes; then
13801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13802echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13803 { (exit 1); exit 1; }; }
13804fi
13805cat >conftest.$ac_ext <<_ACEOF
13806/* confdefs.h. */
13807_ACEOF
13808cat confdefs.h >>conftest.$ac_ext
13809cat >>conftest.$ac_ext <<_ACEOF
13810/* end confdefs.h. */
13811
13812/* Override any gcc2 internal prototype to avoid an error. */
13813#ifdef __cplusplus
13814extern "C"
13815#endif
13816/* We use char because int might match the return type of a gcc2
13817 builtin and then its argument prototype would still apply. */
13818char nextafterl ();
13819int
13820main ()
13821{
13822nextafterl ();
13823 ;
13824 return 0;
13825}
13826_ACEOF
13827rm -f conftest.$ac_objext conftest$ac_exeext
13828if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13829 (eval $ac_link) 2>conftest.er1
13830 ac_status=$?
13831 grep -v '^ *+' conftest.er1 >conftest.err
13832 rm -f conftest.er1
13833 cat conftest.err >&5
13834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13835 (exit $ac_status); } &&
13836 { ac_try='test -z "$ac_c_werror_flag"
13837 || test ! -s conftest.err'
13838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13839 (eval $ac_try) 2>&5
13840 ac_status=$?
13841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 (exit $ac_status); }; } &&
13843 { ac_try='test -s conftest$ac_exeext'
13844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13845 (eval $ac_try) 2>&5
13846 ac_status=$?
13847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13848 (exit $ac_status); }; }; then
13849 ac_cv_lib_m_nextafterl=yes
13850else
13851 echo "$as_me: failed program was:" >&5
13852sed 's/^/| /' conftest.$ac_ext >&5
13853
13854ac_cv_lib_m_nextafterl=no
13855fi
13856rm -f conftest.err conftest.$ac_objext \
13857 conftest$ac_exeext conftest.$ac_ext
13858LIBS=$ac_check_lib_save_LIBS
13859fi
13860echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
13861echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
13862if test $ac_cv_lib_m_nextafterl = yes; then
13863
13864cat >>confdefs.h <<\_ACEOF
13865#define HAVE_NEXTAFTERL 1
13866_ACEOF
13867
13868fi
13869
13870echo "$as_me:$LINENO: checking for powf in -lm" >&5
13871echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
13872if test "${ac_cv_lib_m_powf+set}" = set; then
13873 echo $ECHO_N "(cached) $ECHO_C" >&6
13874else
13875 ac_check_lib_save_LIBS=$LIBS
13876LIBS="-lm $LIBS"
13877if test x$gcc_no_link = xyes; then
13878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13879echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13880 { (exit 1); exit 1; }; }
13881fi
13882cat >conftest.$ac_ext <<_ACEOF
13883/* confdefs.h. */
13884_ACEOF
13885cat confdefs.h >>conftest.$ac_ext
13886cat >>conftest.$ac_ext <<_ACEOF
13887/* end confdefs.h. */
13888
13889/* Override any gcc2 internal prototype to avoid an error. */
13890#ifdef __cplusplus
13891extern "C"
13892#endif
13893/* We use char because int might match the return type of a gcc2
13894 builtin and then its argument prototype would still apply. */
13895char powf ();
13896int
13897main ()
13898{
13899powf ();
13900 ;
13901 return 0;
13902}
13903_ACEOF
13904rm -f conftest.$ac_objext conftest$ac_exeext
13905if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13906 (eval $ac_link) 2>conftest.er1
13907 ac_status=$?
13908 grep -v '^ *+' conftest.er1 >conftest.err
13909 rm -f conftest.er1
13910 cat conftest.err >&5
13911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13912 (exit $ac_status); } &&
13913 { ac_try='test -z "$ac_c_werror_flag"
13914 || test ! -s conftest.err'
13915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13916 (eval $ac_try) 2>&5
13917 ac_status=$?
13918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13919 (exit $ac_status); }; } &&
13920 { ac_try='test -s conftest$ac_exeext'
13921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13922 (eval $ac_try) 2>&5
13923 ac_status=$?
13924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925 (exit $ac_status); }; }; then
13926 ac_cv_lib_m_powf=yes
13927else
13928 echo "$as_me: failed program was:" >&5
13929sed 's/^/| /' conftest.$ac_ext >&5
13930
13931ac_cv_lib_m_powf=no
13932fi
13933rm -f conftest.err conftest.$ac_objext \
13934 conftest$ac_exeext conftest.$ac_ext
13935LIBS=$ac_check_lib_save_LIBS
13936fi
13937echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
13938echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
13939if test $ac_cv_lib_m_powf = yes; then
13940
13941cat >>confdefs.h <<\_ACEOF
13942#define HAVE_POWF 1
13943_ACEOF
13944
13945fi
13946
13947echo "$as_me:$LINENO: checking for pow in -lm" >&5
13948echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
13949if test "${ac_cv_lib_m_pow+set}" = set; then
13950 echo $ECHO_N "(cached) $ECHO_C" >&6
13951else
13952 ac_check_lib_save_LIBS=$LIBS
13953LIBS="-lm $LIBS"
13954if test x$gcc_no_link = xyes; then
13955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13956echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13957 { (exit 1); exit 1; }; }
13958fi
13959cat >conftest.$ac_ext <<_ACEOF
13960/* confdefs.h. */
13961_ACEOF
13962cat confdefs.h >>conftest.$ac_ext
13963cat >>conftest.$ac_ext <<_ACEOF
13964/* end confdefs.h. */
13965
13966/* Override any gcc2 internal prototype to avoid an error. */
13967#ifdef __cplusplus
13968extern "C"
13969#endif
13970/* We use char because int might match the return type of a gcc2
13971 builtin and then its argument prototype would still apply. */
13972char pow ();
13973int
13974main ()
13975{
13976pow ();
13977 ;
13978 return 0;
13979}
13980_ACEOF
13981rm -f conftest.$ac_objext conftest$ac_exeext
13982if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13983 (eval $ac_link) 2>conftest.er1
13984 ac_status=$?
13985 grep -v '^ *+' conftest.er1 >conftest.err
13986 rm -f conftest.er1
13987 cat conftest.err >&5
13988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13989 (exit $ac_status); } &&
13990 { ac_try='test -z "$ac_c_werror_flag"
13991 || test ! -s conftest.err'
13992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13993 (eval $ac_try) 2>&5
13994 ac_status=$?
13995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13996 (exit $ac_status); }; } &&
13997 { ac_try='test -s conftest$ac_exeext'
13998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13999 (eval $ac_try) 2>&5
14000 ac_status=$?
14001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14002 (exit $ac_status); }; }; then
14003 ac_cv_lib_m_pow=yes
14004else
14005 echo "$as_me: failed program was:" >&5
14006sed 's/^/| /' conftest.$ac_ext >&5
14007
14008ac_cv_lib_m_pow=no
14009fi
14010rm -f conftest.err conftest.$ac_objext \
14011 conftest$ac_exeext conftest.$ac_ext
14012LIBS=$ac_check_lib_save_LIBS
14013fi
14014echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
14015echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
14016if test $ac_cv_lib_m_pow = yes; then
14017
14018cat >>confdefs.h <<\_ACEOF
14019#define HAVE_POW 1
14020_ACEOF
14021
14022fi
14023
14024echo "$as_me:$LINENO: checking for powl in -lm" >&5
14025echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
14026if test "${ac_cv_lib_m_powl+set}" = set; then
14027 echo $ECHO_N "(cached) $ECHO_C" >&6
14028else
14029 ac_check_lib_save_LIBS=$LIBS
14030LIBS="-lm $LIBS"
14031if test x$gcc_no_link = xyes; then
14032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14033echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14034 { (exit 1); exit 1; }; }
14035fi
14036cat >conftest.$ac_ext <<_ACEOF
14037/* confdefs.h. */
14038_ACEOF
14039cat confdefs.h >>conftest.$ac_ext
14040cat >>conftest.$ac_ext <<_ACEOF
14041/* end confdefs.h. */
14042
14043/* Override any gcc2 internal prototype to avoid an error. */
14044#ifdef __cplusplus
14045extern "C"
14046#endif
14047/* We use char because int might match the return type of a gcc2
14048 builtin and then its argument prototype would still apply. */
14049char powl ();
14050int
14051main ()
14052{
14053powl ();
14054 ;
14055 return 0;
14056}
14057_ACEOF
14058rm -f conftest.$ac_objext conftest$ac_exeext
14059if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14060 (eval $ac_link) 2>conftest.er1
14061 ac_status=$?
14062 grep -v '^ *+' conftest.er1 >conftest.err
14063 rm -f conftest.er1
14064 cat conftest.err >&5
14065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14066 (exit $ac_status); } &&
14067 { ac_try='test -z "$ac_c_werror_flag"
14068 || test ! -s conftest.err'
14069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14070 (eval $ac_try) 2>&5
14071 ac_status=$?
14072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14073 (exit $ac_status); }; } &&
14074 { ac_try='test -s conftest$ac_exeext'
14075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14076 (eval $ac_try) 2>&5
14077 ac_status=$?
14078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14079 (exit $ac_status); }; }; then
14080 ac_cv_lib_m_powl=yes
14081else
14082 echo "$as_me: failed program was:" >&5
14083sed 's/^/| /' conftest.$ac_ext >&5
14084
14085ac_cv_lib_m_powl=no
14086fi
14087rm -f conftest.err conftest.$ac_objext \
14088 conftest$ac_exeext conftest.$ac_ext
14089LIBS=$ac_check_lib_save_LIBS
14090fi
14091echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
14092echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
14093if test $ac_cv_lib_m_powl = yes; then
14094
14095cat >>confdefs.h <<\_ACEOF
14096#define HAVE_POWL 1
14097_ACEOF
14098
14099fi
14100
14101echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
14102echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
14103if test "${ac_cv_lib_m_cpowf+set}" = set; then
14104 echo $ECHO_N "(cached) $ECHO_C" >&6
14105else
14106 ac_check_lib_save_LIBS=$LIBS
14107LIBS="-lm $LIBS"
14108if test x$gcc_no_link = xyes; then
14109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14110echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14111 { (exit 1); exit 1; }; }
14112fi
14113cat >conftest.$ac_ext <<_ACEOF
14114/* confdefs.h. */
14115_ACEOF
14116cat confdefs.h >>conftest.$ac_ext
14117cat >>conftest.$ac_ext <<_ACEOF
14118/* end confdefs.h. */
14119
14120/* Override any gcc2 internal prototype to avoid an error. */
14121#ifdef __cplusplus
14122extern "C"
14123#endif
14124/* We use char because int might match the return type of a gcc2
14125 builtin and then its argument prototype would still apply. */
14126char cpowf ();
14127int
14128main ()
14129{
14130cpowf ();
14131 ;
14132 return 0;
14133}
14134_ACEOF
14135rm -f conftest.$ac_objext conftest$ac_exeext
14136if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14137 (eval $ac_link) 2>conftest.er1
14138 ac_status=$?
14139 grep -v '^ *+' conftest.er1 >conftest.err
14140 rm -f conftest.er1
14141 cat conftest.err >&5
14142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14143 (exit $ac_status); } &&
14144 { ac_try='test -z "$ac_c_werror_flag"
14145 || test ! -s conftest.err'
14146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14147 (eval $ac_try) 2>&5
14148 ac_status=$?
14149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14150 (exit $ac_status); }; } &&
14151 { ac_try='test -s conftest$ac_exeext'
14152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14153 (eval $ac_try) 2>&5
14154 ac_status=$?
14155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14156 (exit $ac_status); }; }; then
14157 ac_cv_lib_m_cpowf=yes
14158else
14159 echo "$as_me: failed program was:" >&5
14160sed 's/^/| /' conftest.$ac_ext >&5
14161
14162ac_cv_lib_m_cpowf=no
14163fi
14164rm -f conftest.err conftest.$ac_objext \
14165 conftest$ac_exeext conftest.$ac_ext
14166LIBS=$ac_check_lib_save_LIBS
14167fi
14168echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
14169echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
14170if test $ac_cv_lib_m_cpowf = yes; then
14171
14172cat >>confdefs.h <<\_ACEOF
14173#define HAVE_CPOWF 1
14174_ACEOF
14175
14176fi
14177
14178echo "$as_me:$LINENO: checking for cpow in -lm" >&5
14179echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
14180if test "${ac_cv_lib_m_cpow+set}" = set; then
14181 echo $ECHO_N "(cached) $ECHO_C" >&6
14182else
14183 ac_check_lib_save_LIBS=$LIBS
14184LIBS="-lm $LIBS"
14185if test x$gcc_no_link = xyes; then
14186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14187echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14188 { (exit 1); exit 1; }; }
14189fi
14190cat >conftest.$ac_ext <<_ACEOF
14191/* confdefs.h. */
14192_ACEOF
14193cat confdefs.h >>conftest.$ac_ext
14194cat >>conftest.$ac_ext <<_ACEOF
14195/* end confdefs.h. */
14196
14197/* Override any gcc2 internal prototype to avoid an error. */
14198#ifdef __cplusplus
14199extern "C"
14200#endif
14201/* We use char because int might match the return type of a gcc2
14202 builtin and then its argument prototype would still apply. */
14203char cpow ();
14204int
14205main ()
14206{
14207cpow ();
14208 ;
14209 return 0;
14210}
14211_ACEOF
14212rm -f conftest.$ac_objext conftest$ac_exeext
14213if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14214 (eval $ac_link) 2>conftest.er1
14215 ac_status=$?
14216 grep -v '^ *+' conftest.er1 >conftest.err
14217 rm -f conftest.er1
14218 cat conftest.err >&5
14219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14220 (exit $ac_status); } &&
14221 { ac_try='test -z "$ac_c_werror_flag"
14222 || test ! -s conftest.err'
14223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14224 (eval $ac_try) 2>&5
14225 ac_status=$?
14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227 (exit $ac_status); }; } &&
14228 { ac_try='test -s conftest$ac_exeext'
14229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14230 (eval $ac_try) 2>&5
14231 ac_status=$?
14232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14233 (exit $ac_status); }; }; then
14234 ac_cv_lib_m_cpow=yes
14235else
14236 echo "$as_me: failed program was:" >&5
14237sed 's/^/| /' conftest.$ac_ext >&5
14238
14239ac_cv_lib_m_cpow=no
14240fi
14241rm -f conftest.err conftest.$ac_objext \
14242 conftest$ac_exeext conftest.$ac_ext
14243LIBS=$ac_check_lib_save_LIBS
14244fi
14245echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
14246echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
14247if test $ac_cv_lib_m_cpow = yes; then
14248
14249cat >>confdefs.h <<\_ACEOF
14250#define HAVE_CPOW 1
14251_ACEOF
14252
14253fi
14254
14255echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
14256echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
14257if test "${ac_cv_lib_m_cpowl+set}" = set; then
14258 echo $ECHO_N "(cached) $ECHO_C" >&6
14259else
14260 ac_check_lib_save_LIBS=$LIBS
14261LIBS="-lm $LIBS"
14262if test x$gcc_no_link = xyes; then
14263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14264echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14265 { (exit 1); exit 1; }; }
14266fi
14267cat >conftest.$ac_ext <<_ACEOF
14268/* confdefs.h. */
14269_ACEOF
14270cat confdefs.h >>conftest.$ac_ext
14271cat >>conftest.$ac_ext <<_ACEOF
14272/* end confdefs.h. */
14273
14274/* Override any gcc2 internal prototype to avoid an error. */
14275#ifdef __cplusplus
14276extern "C"
14277#endif
14278/* We use char because int might match the return type of a gcc2
14279 builtin and then its argument prototype would still apply. */
14280char cpowl ();
14281int
14282main ()
14283{
14284cpowl ();
14285 ;
14286 return 0;
14287}
14288_ACEOF
14289rm -f conftest.$ac_objext conftest$ac_exeext
14290if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14291 (eval $ac_link) 2>conftest.er1
14292 ac_status=$?
14293 grep -v '^ *+' conftest.er1 >conftest.err
14294 rm -f conftest.er1
14295 cat conftest.err >&5
14296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14297 (exit $ac_status); } &&
14298 { ac_try='test -z "$ac_c_werror_flag"
14299 || test ! -s conftest.err'
14300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14301 (eval $ac_try) 2>&5
14302 ac_status=$?
14303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14304 (exit $ac_status); }; } &&
14305 { ac_try='test -s conftest$ac_exeext'
14306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14307 (eval $ac_try) 2>&5
14308 ac_status=$?
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); }; }; then
14311 ac_cv_lib_m_cpowl=yes
14312else
14313 echo "$as_me: failed program was:" >&5
14314sed 's/^/| /' conftest.$ac_ext >&5
14315
14316ac_cv_lib_m_cpowl=no
14317fi
14318rm -f conftest.err conftest.$ac_objext \
14319 conftest$ac_exeext conftest.$ac_ext
14320LIBS=$ac_check_lib_save_LIBS
14321fi
14322echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
14323echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
14324if test $ac_cv_lib_m_cpowl = yes; then
14325
14326cat >>confdefs.h <<\_ACEOF
14327#define HAVE_CPOWL 1
14328_ACEOF
14329
14330fi
14331
14332echo "$as_me:$LINENO: checking for roundf in -lm" >&5
14333echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
14334if test "${ac_cv_lib_m_roundf+set}" = set; then
14335 echo $ECHO_N "(cached) $ECHO_C" >&6
14336else
14337 ac_check_lib_save_LIBS=$LIBS
14338LIBS="-lm $LIBS"
14339if test x$gcc_no_link = xyes; then
14340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14341echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14342 { (exit 1); exit 1; }; }
14343fi
14344cat >conftest.$ac_ext <<_ACEOF
14345/* confdefs.h. */
14346_ACEOF
14347cat confdefs.h >>conftest.$ac_ext
14348cat >>conftest.$ac_ext <<_ACEOF
14349/* end confdefs.h. */
14350
14351/* Override any gcc2 internal prototype to avoid an error. */
14352#ifdef __cplusplus
14353extern "C"
14354#endif
14355/* We use char because int might match the return type of a gcc2
14356 builtin and then its argument prototype would still apply. */
14357char roundf ();
14358int
14359main ()
14360{
14361roundf ();
14362 ;
14363 return 0;
14364}
14365_ACEOF
14366rm -f conftest.$ac_objext conftest$ac_exeext
14367if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14368 (eval $ac_link) 2>conftest.er1
14369 ac_status=$?
14370 grep -v '^ *+' conftest.er1 >conftest.err
14371 rm -f conftest.er1
14372 cat conftest.err >&5
14373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14374 (exit $ac_status); } &&
14375 { ac_try='test -z "$ac_c_werror_flag"
14376 || test ! -s conftest.err'
14377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14378 (eval $ac_try) 2>&5
14379 ac_status=$?
14380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14381 (exit $ac_status); }; } &&
14382 { ac_try='test -s conftest$ac_exeext'
14383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14384 (eval $ac_try) 2>&5
14385 ac_status=$?
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); }; }; then
14388 ac_cv_lib_m_roundf=yes
14389else
14390 echo "$as_me: failed program was:" >&5
14391sed 's/^/| /' conftest.$ac_ext >&5
14392
14393ac_cv_lib_m_roundf=no
14394fi
14395rm -f conftest.err conftest.$ac_objext \
14396 conftest$ac_exeext conftest.$ac_ext
14397LIBS=$ac_check_lib_save_LIBS
14398fi
14399echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
14400echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
14401if test $ac_cv_lib_m_roundf = yes; then
14402
14403cat >>confdefs.h <<\_ACEOF
14404#define HAVE_ROUNDF 1
14405_ACEOF
14406
14407fi
14408
14409echo "$as_me:$LINENO: checking for round in -lm" >&5
14410echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
14411if test "${ac_cv_lib_m_round+set}" = set; then
14412 echo $ECHO_N "(cached) $ECHO_C" >&6
14413else
14414 ac_check_lib_save_LIBS=$LIBS
14415LIBS="-lm $LIBS"
14416if test x$gcc_no_link = xyes; then
14417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14418echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14419 { (exit 1); exit 1; }; }
14420fi
14421cat >conftest.$ac_ext <<_ACEOF
14422/* confdefs.h. */
14423_ACEOF
14424cat confdefs.h >>conftest.$ac_ext
14425cat >>conftest.$ac_ext <<_ACEOF
14426/* end confdefs.h. */
14427
14428/* Override any gcc2 internal prototype to avoid an error. */
14429#ifdef __cplusplus
14430extern "C"
14431#endif
14432/* We use char because int might match the return type of a gcc2
14433 builtin and then its argument prototype would still apply. */
14434char round ();
14435int
14436main ()
14437{
14438round ();
14439 ;
14440 return 0;
14441}
14442_ACEOF
14443rm -f conftest.$ac_objext conftest$ac_exeext
14444if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14445 (eval $ac_link) 2>conftest.er1
14446 ac_status=$?
14447 grep -v '^ *+' conftest.er1 >conftest.err
14448 rm -f conftest.er1
14449 cat conftest.err >&5
14450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14451 (exit $ac_status); } &&
14452 { ac_try='test -z "$ac_c_werror_flag"
14453 || test ! -s conftest.err'
14454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14455 (eval $ac_try) 2>&5
14456 ac_status=$?
14457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14458 (exit $ac_status); }; } &&
14459 { ac_try='test -s conftest$ac_exeext'
14460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14461 (eval $ac_try) 2>&5
14462 ac_status=$?
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); }; }; then
14465 ac_cv_lib_m_round=yes
14466else
14467 echo "$as_me: failed program was:" >&5
14468sed 's/^/| /' conftest.$ac_ext >&5
14469
14470ac_cv_lib_m_round=no
14471fi
14472rm -f conftest.err conftest.$ac_objext \
14473 conftest$ac_exeext conftest.$ac_ext
14474LIBS=$ac_check_lib_save_LIBS
14475fi
14476echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
14477echo "${ECHO_T}$ac_cv_lib_m_round" >&6
14478if test $ac_cv_lib_m_round = yes; then
14479
14480cat >>confdefs.h <<\_ACEOF
14481#define HAVE_ROUND 1
14482_ACEOF
14483
14484fi
14485
14486echo "$as_me:$LINENO: checking for roundl in -lm" >&5
14487echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
14488if test "${ac_cv_lib_m_roundl+set}" = set; then
14489 echo $ECHO_N "(cached) $ECHO_C" >&6
14490else
14491 ac_check_lib_save_LIBS=$LIBS
14492LIBS="-lm $LIBS"
14493if test x$gcc_no_link = xyes; then
14494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14495echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14496 { (exit 1); exit 1; }; }
14497fi
14498cat >conftest.$ac_ext <<_ACEOF
14499/* confdefs.h. */
14500_ACEOF
14501cat confdefs.h >>conftest.$ac_ext
14502cat >>conftest.$ac_ext <<_ACEOF
14503/* end confdefs.h. */
14504
14505/* Override any gcc2 internal prototype to avoid an error. */
14506#ifdef __cplusplus
14507extern "C"
14508#endif
14509/* We use char because int might match the return type of a gcc2
14510 builtin and then its argument prototype would still apply. */
14511char roundl ();
14512int
14513main ()
14514{
14515roundl ();
14516 ;
14517 return 0;
14518}
14519_ACEOF
14520rm -f conftest.$ac_objext conftest$ac_exeext
14521if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14522 (eval $ac_link) 2>conftest.er1
14523 ac_status=$?
14524 grep -v '^ *+' conftest.er1 >conftest.err
14525 rm -f conftest.er1
14526 cat conftest.err >&5
14527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14528 (exit $ac_status); } &&
14529 { ac_try='test -z "$ac_c_werror_flag"
14530 || test ! -s conftest.err'
14531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14532 (eval $ac_try) 2>&5
14533 ac_status=$?
14534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14535 (exit $ac_status); }; } &&
14536 { ac_try='test -s conftest$ac_exeext'
14537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14538 (eval $ac_try) 2>&5
14539 ac_status=$?
14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541 (exit $ac_status); }; }; then
14542 ac_cv_lib_m_roundl=yes
14543else
14544 echo "$as_me: failed program was:" >&5
14545sed 's/^/| /' conftest.$ac_ext >&5
14546
14547ac_cv_lib_m_roundl=no
14548fi
14549rm -f conftest.err conftest.$ac_objext \
14550 conftest$ac_exeext conftest.$ac_ext
14551LIBS=$ac_check_lib_save_LIBS
14552fi
14553echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
14554echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
14555if test $ac_cv_lib_m_roundl = yes; then
14556
14557cat >>confdefs.h <<\_ACEOF
14558#define HAVE_ROUNDL 1
14559_ACEOF
14560
14561fi
14562
14563echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
14564echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
14565if test "${ac_cv_lib_m_scalbnf+set}" = set; then
14566 echo $ECHO_N "(cached) $ECHO_C" >&6
14567else
14568 ac_check_lib_save_LIBS=$LIBS
14569LIBS="-lm $LIBS"
14570if test x$gcc_no_link = xyes; then
14571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14572echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14573 { (exit 1); exit 1; }; }
14574fi
14575cat >conftest.$ac_ext <<_ACEOF
14576/* confdefs.h. */
14577_ACEOF
14578cat confdefs.h >>conftest.$ac_ext
14579cat >>conftest.$ac_ext <<_ACEOF
14580/* end confdefs.h. */
14581
14582/* Override any gcc2 internal prototype to avoid an error. */
14583#ifdef __cplusplus
14584extern "C"
14585#endif
14586/* We use char because int might match the return type of a gcc2
14587 builtin and then its argument prototype would still apply. */
14588char scalbnf ();
14589int
14590main ()
14591{
14592scalbnf ();
14593 ;
14594 return 0;
14595}
14596_ACEOF
14597rm -f conftest.$ac_objext conftest$ac_exeext
14598if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14599 (eval $ac_link) 2>conftest.er1
14600 ac_status=$?
14601 grep -v '^ *+' conftest.er1 >conftest.err
14602 rm -f conftest.er1
14603 cat conftest.err >&5
14604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14605 (exit $ac_status); } &&
14606 { ac_try='test -z "$ac_c_werror_flag"
14607 || test ! -s conftest.err'
14608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14609 (eval $ac_try) 2>&5
14610 ac_status=$?
14611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14612 (exit $ac_status); }; } &&
14613 { ac_try='test -s conftest$ac_exeext'
14614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14615 (eval $ac_try) 2>&5
14616 ac_status=$?
14617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14618 (exit $ac_status); }; }; then
14619 ac_cv_lib_m_scalbnf=yes
14620else
14621 echo "$as_me: failed program was:" >&5
14622sed 's/^/| /' conftest.$ac_ext >&5
14623
14624ac_cv_lib_m_scalbnf=no
14625fi
14626rm -f conftest.err conftest.$ac_objext \
14627 conftest$ac_exeext conftest.$ac_ext
14628LIBS=$ac_check_lib_save_LIBS
14629fi
14630echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
14631echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
14632if test $ac_cv_lib_m_scalbnf = yes; then
14633
14634cat >>confdefs.h <<\_ACEOF
14635#define HAVE_SCALBNF 1
14636_ACEOF
14637
14638fi
14639
14640echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
14641echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
14642if test "${ac_cv_lib_m_scalbn+set}" = set; then
14643 echo $ECHO_N "(cached) $ECHO_C" >&6
14644else
14645 ac_check_lib_save_LIBS=$LIBS
14646LIBS="-lm $LIBS"
14647if test x$gcc_no_link = xyes; then
14648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14649echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14650 { (exit 1); exit 1; }; }
14651fi
14652cat >conftest.$ac_ext <<_ACEOF
14653/* confdefs.h. */
14654_ACEOF
14655cat confdefs.h >>conftest.$ac_ext
14656cat >>conftest.$ac_ext <<_ACEOF
14657/* end confdefs.h. */
14658
14659/* Override any gcc2 internal prototype to avoid an error. */
14660#ifdef __cplusplus
14661extern "C"
14662#endif
14663/* We use char because int might match the return type of a gcc2
14664 builtin and then its argument prototype would still apply. */
14665char scalbn ();
14666int
14667main ()
14668{
14669scalbn ();
14670 ;
14671 return 0;
14672}
14673_ACEOF
14674rm -f conftest.$ac_objext conftest$ac_exeext
14675if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14676 (eval $ac_link) 2>conftest.er1
14677 ac_status=$?
14678 grep -v '^ *+' conftest.er1 >conftest.err
14679 rm -f conftest.er1
14680 cat conftest.err >&5
14681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14682 (exit $ac_status); } &&
14683 { ac_try='test -z "$ac_c_werror_flag"
14684 || test ! -s conftest.err'
14685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14686 (eval $ac_try) 2>&5
14687 ac_status=$?
14688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14689 (exit $ac_status); }; } &&
14690 { ac_try='test -s conftest$ac_exeext'
14691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14692 (eval $ac_try) 2>&5
14693 ac_status=$?
14694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695 (exit $ac_status); }; }; then
14696 ac_cv_lib_m_scalbn=yes
14697else
14698 echo "$as_me: failed program was:" >&5
14699sed 's/^/| /' conftest.$ac_ext >&5
14700
14701ac_cv_lib_m_scalbn=no
14702fi
14703rm -f conftest.err conftest.$ac_objext \
14704 conftest$ac_exeext conftest.$ac_ext
14705LIBS=$ac_check_lib_save_LIBS
14706fi
14707echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
14708echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
14709if test $ac_cv_lib_m_scalbn = yes; then
14710
14711cat >>confdefs.h <<\_ACEOF
14712#define HAVE_SCALBN 1
14713_ACEOF
14714
14715fi
14716
14717echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
14718echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
14719if test "${ac_cv_lib_m_scalbnl+set}" = set; then
14720 echo $ECHO_N "(cached) $ECHO_C" >&6
14721else
14722 ac_check_lib_save_LIBS=$LIBS
14723LIBS="-lm $LIBS"
14724if test x$gcc_no_link = xyes; then
14725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14726echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14727 { (exit 1); exit 1; }; }
14728fi
14729cat >conftest.$ac_ext <<_ACEOF
14730/* confdefs.h. */
14731_ACEOF
14732cat confdefs.h >>conftest.$ac_ext
14733cat >>conftest.$ac_ext <<_ACEOF
14734/* end confdefs.h. */
14735
14736/* Override any gcc2 internal prototype to avoid an error. */
14737#ifdef __cplusplus
14738extern "C"
14739#endif
14740/* We use char because int might match the return type of a gcc2
14741 builtin and then its argument prototype would still apply. */
14742char scalbnl ();
14743int
14744main ()
14745{
14746scalbnl ();
14747 ;
14748 return 0;
14749}
14750_ACEOF
14751rm -f conftest.$ac_objext conftest$ac_exeext
14752if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14753 (eval $ac_link) 2>conftest.er1
14754 ac_status=$?
14755 grep -v '^ *+' conftest.er1 >conftest.err
14756 rm -f conftest.er1
14757 cat conftest.err >&5
14758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14759 (exit $ac_status); } &&
14760 { ac_try='test -z "$ac_c_werror_flag"
14761 || test ! -s conftest.err'
14762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14763 (eval $ac_try) 2>&5
14764 ac_status=$?
14765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14766 (exit $ac_status); }; } &&
14767 { ac_try='test -s conftest$ac_exeext'
14768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14769 (eval $ac_try) 2>&5
14770 ac_status=$?
14771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14772 (exit $ac_status); }; }; then
14773 ac_cv_lib_m_scalbnl=yes
14774else
14775 echo "$as_me: failed program was:" >&5
14776sed 's/^/| /' conftest.$ac_ext >&5
14777
14778ac_cv_lib_m_scalbnl=no
14779fi
14780rm -f conftest.err conftest.$ac_objext \
14781 conftest$ac_exeext conftest.$ac_ext
14782LIBS=$ac_check_lib_save_LIBS
14783fi
14784echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
14785echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
14786if test $ac_cv_lib_m_scalbnl = yes; then
14787
14788cat >>confdefs.h <<\_ACEOF
14789#define HAVE_SCALBNL 1
14790_ACEOF
14791
14792fi
14793
14794echo "$as_me:$LINENO: checking for sinf in -lm" >&5
14795echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
14796if test "${ac_cv_lib_m_sinf+set}" = set; then
14797 echo $ECHO_N "(cached) $ECHO_C" >&6
14798else
14799 ac_check_lib_save_LIBS=$LIBS
14800LIBS="-lm $LIBS"
14801if test x$gcc_no_link = xyes; then
14802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14803echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14804 { (exit 1); exit 1; }; }
14805fi
14806cat >conftest.$ac_ext <<_ACEOF
14807/* confdefs.h. */
14808_ACEOF
14809cat confdefs.h >>conftest.$ac_ext
14810cat >>conftest.$ac_ext <<_ACEOF
14811/* end confdefs.h. */
14812
14813/* Override any gcc2 internal prototype to avoid an error. */
14814#ifdef __cplusplus
14815extern "C"
14816#endif
14817/* We use char because int might match the return type of a gcc2
14818 builtin and then its argument prototype would still apply. */
14819char sinf ();
14820int
14821main ()
14822{
14823sinf ();
14824 ;
14825 return 0;
14826}
14827_ACEOF
14828rm -f conftest.$ac_objext conftest$ac_exeext
14829if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14830 (eval $ac_link) 2>conftest.er1
14831 ac_status=$?
14832 grep -v '^ *+' conftest.er1 >conftest.err
14833 rm -f conftest.er1
14834 cat conftest.err >&5
14835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14836 (exit $ac_status); } &&
14837 { ac_try='test -z "$ac_c_werror_flag"
14838 || test ! -s conftest.err'
14839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14840 (eval $ac_try) 2>&5
14841 ac_status=$?
14842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 (exit $ac_status); }; } &&
14844 { ac_try='test -s conftest$ac_exeext'
14845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14846 (eval $ac_try) 2>&5
14847 ac_status=$?
14848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14849 (exit $ac_status); }; }; then
14850 ac_cv_lib_m_sinf=yes
14851else
14852 echo "$as_me: failed program was:" >&5
14853sed 's/^/| /' conftest.$ac_ext >&5
14854
14855ac_cv_lib_m_sinf=no
14856fi
14857rm -f conftest.err conftest.$ac_objext \
14858 conftest$ac_exeext conftest.$ac_ext
14859LIBS=$ac_check_lib_save_LIBS
14860fi
14861echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
14862echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
14863if test $ac_cv_lib_m_sinf = yes; then
14864
14865cat >>confdefs.h <<\_ACEOF
14866#define HAVE_SINF 1
14867_ACEOF
14868
14869fi
14870
14871echo "$as_me:$LINENO: checking for sin in -lm" >&5
14872echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
14873if test "${ac_cv_lib_m_sin+set}" = set; then
14874 echo $ECHO_N "(cached) $ECHO_C" >&6
14875else
14876 ac_check_lib_save_LIBS=$LIBS
14877LIBS="-lm $LIBS"
14878if test x$gcc_no_link = xyes; then
14879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14880echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14881 { (exit 1); exit 1; }; }
14882fi
14883cat >conftest.$ac_ext <<_ACEOF
14884/* confdefs.h. */
14885_ACEOF
14886cat confdefs.h >>conftest.$ac_ext
14887cat >>conftest.$ac_ext <<_ACEOF
14888/* end confdefs.h. */
14889
14890/* Override any gcc2 internal prototype to avoid an error. */
14891#ifdef __cplusplus
14892extern "C"
14893#endif
14894/* We use char because int might match the return type of a gcc2
14895 builtin and then its argument prototype would still apply. */
14896char sin ();
14897int
14898main ()
14899{
14900sin ();
14901 ;
14902 return 0;
14903}
14904_ACEOF
14905rm -f conftest.$ac_objext conftest$ac_exeext
14906if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14907 (eval $ac_link) 2>conftest.er1
14908 ac_status=$?
14909 grep -v '^ *+' conftest.er1 >conftest.err
14910 rm -f conftest.er1
14911 cat conftest.err >&5
14912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14913 (exit $ac_status); } &&
14914 { ac_try='test -z "$ac_c_werror_flag"
14915 || test ! -s conftest.err'
14916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14917 (eval $ac_try) 2>&5
14918 ac_status=$?
14919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14920 (exit $ac_status); }; } &&
14921 { ac_try='test -s conftest$ac_exeext'
14922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14923 (eval $ac_try) 2>&5
14924 ac_status=$?
14925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14926 (exit $ac_status); }; }; then
14927 ac_cv_lib_m_sin=yes
14928else
14929 echo "$as_me: failed program was:" >&5
14930sed 's/^/| /' conftest.$ac_ext >&5
14931
14932ac_cv_lib_m_sin=no
14933fi
14934rm -f conftest.err conftest.$ac_objext \
14935 conftest$ac_exeext conftest.$ac_ext
14936LIBS=$ac_check_lib_save_LIBS
14937fi
14938echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
14939echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
14940if test $ac_cv_lib_m_sin = yes; then
14941
14942cat >>confdefs.h <<\_ACEOF
14943#define HAVE_SIN 1
14944_ACEOF
14945
14946fi
14947
14948echo "$as_me:$LINENO: checking for sinl in -lm" >&5
14949echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
14950if test "${ac_cv_lib_m_sinl+set}" = set; then
14951 echo $ECHO_N "(cached) $ECHO_C" >&6
14952else
14953 ac_check_lib_save_LIBS=$LIBS
14954LIBS="-lm $LIBS"
14955if test x$gcc_no_link = xyes; then
14956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14957echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14958 { (exit 1); exit 1; }; }
14959fi
14960cat >conftest.$ac_ext <<_ACEOF
14961/* confdefs.h. */
14962_ACEOF
14963cat confdefs.h >>conftest.$ac_ext
14964cat >>conftest.$ac_ext <<_ACEOF
14965/* end confdefs.h. */
14966
14967/* Override any gcc2 internal prototype to avoid an error. */
14968#ifdef __cplusplus
14969extern "C"
14970#endif
14971/* We use char because int might match the return type of a gcc2
14972 builtin and then its argument prototype would still apply. */
14973char sinl ();
14974int
14975main ()
14976{
14977sinl ();
14978 ;
14979 return 0;
14980}
14981_ACEOF
14982rm -f conftest.$ac_objext conftest$ac_exeext
14983if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14984 (eval $ac_link) 2>conftest.er1
14985 ac_status=$?
14986 grep -v '^ *+' conftest.er1 >conftest.err
14987 rm -f conftest.er1
14988 cat conftest.err >&5
14989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14990 (exit $ac_status); } &&
14991 { ac_try='test -z "$ac_c_werror_flag"
14992 || test ! -s conftest.err'
14993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14994 (eval $ac_try) 2>&5
14995 ac_status=$?
14996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14997 (exit $ac_status); }; } &&
14998 { ac_try='test -s conftest$ac_exeext'
14999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15000 (eval $ac_try) 2>&5
15001 ac_status=$?
15002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15003 (exit $ac_status); }; }; then
15004 ac_cv_lib_m_sinl=yes
15005else
15006 echo "$as_me: failed program was:" >&5
15007sed 's/^/| /' conftest.$ac_ext >&5
15008
15009ac_cv_lib_m_sinl=no
15010fi
15011rm -f conftest.err conftest.$ac_objext \
15012 conftest$ac_exeext conftest.$ac_ext
15013LIBS=$ac_check_lib_save_LIBS
15014fi
15015echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
15016echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
15017if test $ac_cv_lib_m_sinl = yes; then
15018
15019cat >>confdefs.h <<\_ACEOF
15020#define HAVE_SINL 1
15021_ACEOF
15022
15023fi
15024
15025echo "$as_me:$LINENO: checking for csinf in -lm" >&5
15026echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
15027if test "${ac_cv_lib_m_csinf+set}" = set; then
15028 echo $ECHO_N "(cached) $ECHO_C" >&6
15029else
15030 ac_check_lib_save_LIBS=$LIBS
15031LIBS="-lm $LIBS"
15032if test x$gcc_no_link = xyes; then
15033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15034echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15035 { (exit 1); exit 1; }; }
15036fi
15037cat >conftest.$ac_ext <<_ACEOF
15038/* confdefs.h. */
15039_ACEOF
15040cat confdefs.h >>conftest.$ac_ext
15041cat >>conftest.$ac_ext <<_ACEOF
15042/* end confdefs.h. */
15043
15044/* Override any gcc2 internal prototype to avoid an error. */
15045#ifdef __cplusplus
15046extern "C"
15047#endif
15048/* We use char because int might match the return type of a gcc2
15049 builtin and then its argument prototype would still apply. */
15050char csinf ();
15051int
15052main ()
15053{
15054csinf ();
15055 ;
15056 return 0;
15057}
15058_ACEOF
15059rm -f conftest.$ac_objext conftest$ac_exeext
15060if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15061 (eval $ac_link) 2>conftest.er1
15062 ac_status=$?
15063 grep -v '^ *+' conftest.er1 >conftest.err
15064 rm -f conftest.er1
15065 cat conftest.err >&5
15066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15067 (exit $ac_status); } &&
15068 { ac_try='test -z "$ac_c_werror_flag"
15069 || test ! -s conftest.err'
15070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15071 (eval $ac_try) 2>&5
15072 ac_status=$?
15073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15074 (exit $ac_status); }; } &&
15075 { ac_try='test -s conftest$ac_exeext'
15076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15077 (eval $ac_try) 2>&5
15078 ac_status=$?
15079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15080 (exit $ac_status); }; }; then
15081 ac_cv_lib_m_csinf=yes
15082else
15083 echo "$as_me: failed program was:" >&5
15084sed 's/^/| /' conftest.$ac_ext >&5
15085
15086ac_cv_lib_m_csinf=no
15087fi
15088rm -f conftest.err conftest.$ac_objext \
15089 conftest$ac_exeext conftest.$ac_ext
15090LIBS=$ac_check_lib_save_LIBS
15091fi
15092echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
15093echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
15094if test $ac_cv_lib_m_csinf = yes; then
15095
15096cat >>confdefs.h <<\_ACEOF
15097#define HAVE_CSINF 1
15098_ACEOF
15099
15100fi
15101
15102echo "$as_me:$LINENO: checking for csin in -lm" >&5
15103echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
15104if test "${ac_cv_lib_m_csin+set}" = set; then
15105 echo $ECHO_N "(cached) $ECHO_C" >&6
15106else
15107 ac_check_lib_save_LIBS=$LIBS
15108LIBS="-lm $LIBS"
15109if test x$gcc_no_link = xyes; then
15110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15111echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15112 { (exit 1); exit 1; }; }
15113fi
15114cat >conftest.$ac_ext <<_ACEOF
15115/* confdefs.h. */
15116_ACEOF
15117cat confdefs.h >>conftest.$ac_ext
15118cat >>conftest.$ac_ext <<_ACEOF
15119/* end confdefs.h. */
15120
15121/* Override any gcc2 internal prototype to avoid an error. */
15122#ifdef __cplusplus
15123extern "C"
15124#endif
15125/* We use char because int might match the return type of a gcc2
15126 builtin and then its argument prototype would still apply. */
15127char csin ();
15128int
15129main ()
15130{
15131csin ();
15132 ;
15133 return 0;
15134}
15135_ACEOF
15136rm -f conftest.$ac_objext conftest$ac_exeext
15137if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15138 (eval $ac_link) 2>conftest.er1
15139 ac_status=$?
15140 grep -v '^ *+' conftest.er1 >conftest.err
15141 rm -f conftest.er1
15142 cat conftest.err >&5
15143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15144 (exit $ac_status); } &&
15145 { ac_try='test -z "$ac_c_werror_flag"
15146 || test ! -s conftest.err'
15147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15148 (eval $ac_try) 2>&5
15149 ac_status=$?
15150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151 (exit $ac_status); }; } &&
15152 { ac_try='test -s conftest$ac_exeext'
15153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15154 (eval $ac_try) 2>&5
15155 ac_status=$?
15156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157 (exit $ac_status); }; }; then
15158 ac_cv_lib_m_csin=yes
15159else
15160 echo "$as_me: failed program was:" >&5
15161sed 's/^/| /' conftest.$ac_ext >&5
15162
15163ac_cv_lib_m_csin=no
15164fi
15165rm -f conftest.err conftest.$ac_objext \
15166 conftest$ac_exeext conftest.$ac_ext
15167LIBS=$ac_check_lib_save_LIBS
15168fi
15169echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
15170echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
15171if test $ac_cv_lib_m_csin = yes; then
15172
15173cat >>confdefs.h <<\_ACEOF
15174#define HAVE_CSIN 1
15175_ACEOF
15176
15177fi
15178
15179echo "$as_me:$LINENO: checking for csinl in -lm" >&5
15180echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
15181if test "${ac_cv_lib_m_csinl+set}" = set; then
15182 echo $ECHO_N "(cached) $ECHO_C" >&6
15183else
15184 ac_check_lib_save_LIBS=$LIBS
15185LIBS="-lm $LIBS"
15186if test x$gcc_no_link = xyes; then
15187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15188echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15189 { (exit 1); exit 1; }; }
15190fi
15191cat >conftest.$ac_ext <<_ACEOF
15192/* confdefs.h. */
15193_ACEOF
15194cat confdefs.h >>conftest.$ac_ext
15195cat >>conftest.$ac_ext <<_ACEOF
15196/* end confdefs.h. */
15197
15198/* Override any gcc2 internal prototype to avoid an error. */
15199#ifdef __cplusplus
15200extern "C"
15201#endif
15202/* We use char because int might match the return type of a gcc2
15203 builtin and then its argument prototype would still apply. */
15204char csinl ();
15205int
15206main ()
15207{
15208csinl ();
15209 ;
15210 return 0;
15211}
15212_ACEOF
15213rm -f conftest.$ac_objext conftest$ac_exeext
15214if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15215 (eval $ac_link) 2>conftest.er1
15216 ac_status=$?
15217 grep -v '^ *+' conftest.er1 >conftest.err
15218 rm -f conftest.er1
15219 cat conftest.err >&5
15220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15221 (exit $ac_status); } &&
15222 { ac_try='test -z "$ac_c_werror_flag"
15223 || test ! -s conftest.err'
15224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15225 (eval $ac_try) 2>&5
15226 ac_status=$?
15227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15228 (exit $ac_status); }; } &&
15229 { ac_try='test -s conftest$ac_exeext'
15230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15231 (eval $ac_try) 2>&5
15232 ac_status=$?
15233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15234 (exit $ac_status); }; }; then
15235 ac_cv_lib_m_csinl=yes
15236else
15237 echo "$as_me: failed program was:" >&5
15238sed 's/^/| /' conftest.$ac_ext >&5
15239
15240ac_cv_lib_m_csinl=no
15241fi
15242rm -f conftest.err conftest.$ac_objext \
15243 conftest$ac_exeext conftest.$ac_ext
15244LIBS=$ac_check_lib_save_LIBS
15245fi
15246echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
15247echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
15248if test $ac_cv_lib_m_csinl = yes; then
15249
15250cat >>confdefs.h <<\_ACEOF
15251#define HAVE_CSINL 1
15252_ACEOF
15253
15254fi
15255
15256echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
15257echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
15258if test "${ac_cv_lib_m_sinhf+set}" = set; then
15259 echo $ECHO_N "(cached) $ECHO_C" >&6
15260else
15261 ac_check_lib_save_LIBS=$LIBS
15262LIBS="-lm $LIBS"
15263if test x$gcc_no_link = xyes; then
15264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15265echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15266 { (exit 1); exit 1; }; }
15267fi
15268cat >conftest.$ac_ext <<_ACEOF
15269/* confdefs.h. */
15270_ACEOF
15271cat confdefs.h >>conftest.$ac_ext
15272cat >>conftest.$ac_ext <<_ACEOF
15273/* end confdefs.h. */
15274
15275/* Override any gcc2 internal prototype to avoid an error. */
15276#ifdef __cplusplus
15277extern "C"
15278#endif
15279/* We use char because int might match the return type of a gcc2
15280 builtin and then its argument prototype would still apply. */
15281char sinhf ();
15282int
15283main ()
15284{
15285sinhf ();
15286 ;
15287 return 0;
15288}
15289_ACEOF
15290rm -f conftest.$ac_objext conftest$ac_exeext
15291if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15292 (eval $ac_link) 2>conftest.er1
15293 ac_status=$?
15294 grep -v '^ *+' conftest.er1 >conftest.err
15295 rm -f conftest.er1
15296 cat conftest.err >&5
15297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15298 (exit $ac_status); } &&
15299 { ac_try='test -z "$ac_c_werror_flag"
15300 || test ! -s conftest.err'
15301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15302 (eval $ac_try) 2>&5
15303 ac_status=$?
15304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15305 (exit $ac_status); }; } &&
15306 { ac_try='test -s conftest$ac_exeext'
15307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15308 (eval $ac_try) 2>&5
15309 ac_status=$?
15310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15311 (exit $ac_status); }; }; then
15312 ac_cv_lib_m_sinhf=yes
15313else
15314 echo "$as_me: failed program was:" >&5
15315sed 's/^/| /' conftest.$ac_ext >&5
15316
15317ac_cv_lib_m_sinhf=no
15318fi
15319rm -f conftest.err conftest.$ac_objext \
15320 conftest$ac_exeext conftest.$ac_ext
15321LIBS=$ac_check_lib_save_LIBS
15322fi
15323echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
15324echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
15325if test $ac_cv_lib_m_sinhf = yes; then
15326
15327cat >>confdefs.h <<\_ACEOF
15328#define HAVE_SINHF 1
15329_ACEOF
15330
15331fi
15332
15333echo "$as_me:$LINENO: checking for sinh in -lm" >&5
15334echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
15335if test "${ac_cv_lib_m_sinh+set}" = set; then
15336 echo $ECHO_N "(cached) $ECHO_C" >&6
15337else
15338 ac_check_lib_save_LIBS=$LIBS
15339LIBS="-lm $LIBS"
15340if test x$gcc_no_link = xyes; then
15341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15342echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15343 { (exit 1); exit 1; }; }
15344fi
15345cat >conftest.$ac_ext <<_ACEOF
15346/* confdefs.h. */
15347_ACEOF
15348cat confdefs.h >>conftest.$ac_ext
15349cat >>conftest.$ac_ext <<_ACEOF
15350/* end confdefs.h. */
15351
15352/* Override any gcc2 internal prototype to avoid an error. */
15353#ifdef __cplusplus
15354extern "C"
15355#endif
15356/* We use char because int might match the return type of a gcc2
15357 builtin and then its argument prototype would still apply. */
15358char sinh ();
15359int
15360main ()
15361{
15362sinh ();
15363 ;
15364 return 0;
15365}
15366_ACEOF
15367rm -f conftest.$ac_objext conftest$ac_exeext
15368if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15369 (eval $ac_link) 2>conftest.er1
15370 ac_status=$?
15371 grep -v '^ *+' conftest.er1 >conftest.err
15372 rm -f conftest.er1
15373 cat conftest.err >&5
15374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15375 (exit $ac_status); } &&
15376 { ac_try='test -z "$ac_c_werror_flag"
15377 || test ! -s conftest.err'
15378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15379 (eval $ac_try) 2>&5
15380 ac_status=$?
15381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15382 (exit $ac_status); }; } &&
15383 { ac_try='test -s conftest$ac_exeext'
15384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15385 (eval $ac_try) 2>&5
15386 ac_status=$?
15387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15388 (exit $ac_status); }; }; then
15389 ac_cv_lib_m_sinh=yes
15390else
15391 echo "$as_me: failed program was:" >&5
15392sed 's/^/| /' conftest.$ac_ext >&5
15393
15394ac_cv_lib_m_sinh=no
15395fi
15396rm -f conftest.err conftest.$ac_objext \
15397 conftest$ac_exeext conftest.$ac_ext
15398LIBS=$ac_check_lib_save_LIBS
15399fi
15400echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
15401echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
15402if test $ac_cv_lib_m_sinh = yes; then
15403
15404cat >>confdefs.h <<\_ACEOF
15405#define HAVE_SINH 1
15406_ACEOF
15407
15408fi
15409
15410echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
15411echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
15412if test "${ac_cv_lib_m_sinhl+set}" = set; then
15413 echo $ECHO_N "(cached) $ECHO_C" >&6
15414else
15415 ac_check_lib_save_LIBS=$LIBS
15416LIBS="-lm $LIBS"
15417if test x$gcc_no_link = xyes; then
15418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15419echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15420 { (exit 1); exit 1; }; }
15421fi
15422cat >conftest.$ac_ext <<_ACEOF
15423/* confdefs.h. */
15424_ACEOF
15425cat confdefs.h >>conftest.$ac_ext
15426cat >>conftest.$ac_ext <<_ACEOF
15427/* end confdefs.h. */
15428
15429/* Override any gcc2 internal prototype to avoid an error. */
15430#ifdef __cplusplus
15431extern "C"
15432#endif
15433/* We use char because int might match the return type of a gcc2
15434 builtin and then its argument prototype would still apply. */
15435char sinhl ();
15436int
15437main ()
15438{
15439sinhl ();
15440 ;
15441 return 0;
15442}
15443_ACEOF
15444rm -f conftest.$ac_objext conftest$ac_exeext
15445if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15446 (eval $ac_link) 2>conftest.er1
15447 ac_status=$?
15448 grep -v '^ *+' conftest.er1 >conftest.err
15449 rm -f conftest.er1
15450 cat conftest.err >&5
15451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452 (exit $ac_status); } &&
15453 { ac_try='test -z "$ac_c_werror_flag"
15454 || test ! -s conftest.err'
15455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15456 (eval $ac_try) 2>&5
15457 ac_status=$?
15458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15459 (exit $ac_status); }; } &&
15460 { ac_try='test -s conftest$ac_exeext'
15461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15462 (eval $ac_try) 2>&5
15463 ac_status=$?
15464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465 (exit $ac_status); }; }; then
15466 ac_cv_lib_m_sinhl=yes
15467else
15468 echo "$as_me: failed program was:" >&5
15469sed 's/^/| /' conftest.$ac_ext >&5
15470
15471ac_cv_lib_m_sinhl=no
15472fi
15473rm -f conftest.err conftest.$ac_objext \
15474 conftest$ac_exeext conftest.$ac_ext
15475LIBS=$ac_check_lib_save_LIBS
15476fi
15477echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
15478echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
15479if test $ac_cv_lib_m_sinhl = yes; then
15480
15481cat >>confdefs.h <<\_ACEOF
15482#define HAVE_SINHL 1
15483_ACEOF
15484
15485fi
15486
15487echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
15488echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
15489if test "${ac_cv_lib_m_csinhf+set}" = set; then
15490 echo $ECHO_N "(cached) $ECHO_C" >&6
15491else
15492 ac_check_lib_save_LIBS=$LIBS
15493LIBS="-lm $LIBS"
15494if test x$gcc_no_link = xyes; then
15495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15496echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15497 { (exit 1); exit 1; }; }
15498fi
15499cat >conftest.$ac_ext <<_ACEOF
15500/* confdefs.h. */
15501_ACEOF
15502cat confdefs.h >>conftest.$ac_ext
15503cat >>conftest.$ac_ext <<_ACEOF
15504/* end confdefs.h. */
15505
15506/* Override any gcc2 internal prototype to avoid an error. */
15507#ifdef __cplusplus
15508extern "C"
15509#endif
15510/* We use char because int might match the return type of a gcc2
15511 builtin and then its argument prototype would still apply. */
15512char csinhf ();
15513int
15514main ()
15515{
15516csinhf ();
15517 ;
15518 return 0;
15519}
15520_ACEOF
15521rm -f conftest.$ac_objext conftest$ac_exeext
15522if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15523 (eval $ac_link) 2>conftest.er1
15524 ac_status=$?
15525 grep -v '^ *+' conftest.er1 >conftest.err
15526 rm -f conftest.er1
15527 cat conftest.err >&5
15528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15529 (exit $ac_status); } &&
15530 { ac_try='test -z "$ac_c_werror_flag"
15531 || test ! -s conftest.err'
15532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15533 (eval $ac_try) 2>&5
15534 ac_status=$?
15535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15536 (exit $ac_status); }; } &&
15537 { ac_try='test -s conftest$ac_exeext'
15538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15539 (eval $ac_try) 2>&5
15540 ac_status=$?
15541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15542 (exit $ac_status); }; }; then
15543 ac_cv_lib_m_csinhf=yes
15544else
15545 echo "$as_me: failed program was:" >&5
15546sed 's/^/| /' conftest.$ac_ext >&5
15547
15548ac_cv_lib_m_csinhf=no
15549fi
15550rm -f conftest.err conftest.$ac_objext \
15551 conftest$ac_exeext conftest.$ac_ext
15552LIBS=$ac_check_lib_save_LIBS
15553fi
15554echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
15555echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
15556if test $ac_cv_lib_m_csinhf = yes; then
15557
15558cat >>confdefs.h <<\_ACEOF
15559#define HAVE_CSINHF 1
15560_ACEOF
15561
15562fi
15563
15564echo "$as_me:$LINENO: checking for csinh in -lm" >&5
15565echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
15566if test "${ac_cv_lib_m_csinh+set}" = set; then
15567 echo $ECHO_N "(cached) $ECHO_C" >&6
15568else
15569 ac_check_lib_save_LIBS=$LIBS
15570LIBS="-lm $LIBS"
15571if test x$gcc_no_link = xyes; then
15572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15573echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15574 { (exit 1); exit 1; }; }
15575fi
15576cat >conftest.$ac_ext <<_ACEOF
15577/* confdefs.h. */
15578_ACEOF
15579cat confdefs.h >>conftest.$ac_ext
15580cat >>conftest.$ac_ext <<_ACEOF
15581/* end confdefs.h. */
15582
15583/* Override any gcc2 internal prototype to avoid an error. */
15584#ifdef __cplusplus
15585extern "C"
15586#endif
15587/* We use char because int might match the return type of a gcc2
15588 builtin and then its argument prototype would still apply. */
15589char csinh ();
15590int
15591main ()
15592{
15593csinh ();
15594 ;
15595 return 0;
15596}
15597_ACEOF
15598rm -f conftest.$ac_objext conftest$ac_exeext
15599if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15600 (eval $ac_link) 2>conftest.er1
15601 ac_status=$?
15602 grep -v '^ *+' conftest.er1 >conftest.err
15603 rm -f conftest.er1
15604 cat conftest.err >&5
15605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15606 (exit $ac_status); } &&
15607 { ac_try='test -z "$ac_c_werror_flag"
15608 || test ! -s conftest.err'
15609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15610 (eval $ac_try) 2>&5
15611 ac_status=$?
15612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15613 (exit $ac_status); }; } &&
15614 { ac_try='test -s conftest$ac_exeext'
15615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15616 (eval $ac_try) 2>&5
15617 ac_status=$?
15618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15619 (exit $ac_status); }; }; then
15620 ac_cv_lib_m_csinh=yes
15621else
15622 echo "$as_me: failed program was:" >&5
15623sed 's/^/| /' conftest.$ac_ext >&5
15624
15625ac_cv_lib_m_csinh=no
15626fi
15627rm -f conftest.err conftest.$ac_objext \
15628 conftest$ac_exeext conftest.$ac_ext
15629LIBS=$ac_check_lib_save_LIBS
15630fi
15631echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
15632echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
15633if test $ac_cv_lib_m_csinh = yes; then
15634
15635cat >>confdefs.h <<\_ACEOF
15636#define HAVE_CSINH 1
15637_ACEOF
15638
15639fi
15640
15641echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
15642echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
15643if test "${ac_cv_lib_m_csinhl+set}" = set; then
15644 echo $ECHO_N "(cached) $ECHO_C" >&6
15645else
15646 ac_check_lib_save_LIBS=$LIBS
15647LIBS="-lm $LIBS"
15648if test x$gcc_no_link = xyes; then
15649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15650echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15651 { (exit 1); exit 1; }; }
15652fi
15653cat >conftest.$ac_ext <<_ACEOF
15654/* confdefs.h. */
15655_ACEOF
15656cat confdefs.h >>conftest.$ac_ext
15657cat >>conftest.$ac_ext <<_ACEOF
15658/* end confdefs.h. */
15659
15660/* Override any gcc2 internal prototype to avoid an error. */
15661#ifdef __cplusplus
15662extern "C"
15663#endif
15664/* We use char because int might match the return type of a gcc2
15665 builtin and then its argument prototype would still apply. */
15666char csinhl ();
15667int
15668main ()
15669{
15670csinhl ();
15671 ;
15672 return 0;
15673}
15674_ACEOF
15675rm -f conftest.$ac_objext conftest$ac_exeext
15676if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15677 (eval $ac_link) 2>conftest.er1
15678 ac_status=$?
15679 grep -v '^ *+' conftest.er1 >conftest.err
15680 rm -f conftest.er1
15681 cat conftest.err >&5
15682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15683 (exit $ac_status); } &&
15684 { ac_try='test -z "$ac_c_werror_flag"
15685 || test ! -s conftest.err'
15686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15687 (eval $ac_try) 2>&5
15688 ac_status=$?
15689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15690 (exit $ac_status); }; } &&
15691 { ac_try='test -s conftest$ac_exeext'
15692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15693 (eval $ac_try) 2>&5
15694 ac_status=$?
15695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15696 (exit $ac_status); }; }; then
15697 ac_cv_lib_m_csinhl=yes
15698else
15699 echo "$as_me: failed program was:" >&5
15700sed 's/^/| /' conftest.$ac_ext >&5
15701
15702ac_cv_lib_m_csinhl=no
15703fi
15704rm -f conftest.err conftest.$ac_objext \
15705 conftest$ac_exeext conftest.$ac_ext
15706LIBS=$ac_check_lib_save_LIBS
15707fi
15708echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
15709echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
15710if test $ac_cv_lib_m_csinhl = yes; then
15711
15712cat >>confdefs.h <<\_ACEOF
15713#define HAVE_CSINHL 1
15714_ACEOF
15715
15716fi
15717
15718echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
15719echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
15720if test "${ac_cv_lib_m_sqrtf+set}" = set; then
15721 echo $ECHO_N "(cached) $ECHO_C" >&6
15722else
15723 ac_check_lib_save_LIBS=$LIBS
15724LIBS="-lm $LIBS"
15725if test x$gcc_no_link = xyes; then
15726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15727echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15728 { (exit 1); exit 1; }; }
15729fi
15730cat >conftest.$ac_ext <<_ACEOF
15731/* confdefs.h. */
15732_ACEOF
15733cat confdefs.h >>conftest.$ac_ext
15734cat >>conftest.$ac_ext <<_ACEOF
15735/* end confdefs.h. */
15736
15737/* Override any gcc2 internal prototype to avoid an error. */
15738#ifdef __cplusplus
15739extern "C"
15740#endif
15741/* We use char because int might match the return type of a gcc2
15742 builtin and then its argument prototype would still apply. */
15743char sqrtf ();
15744int
15745main ()
15746{
15747sqrtf ();
15748 ;
15749 return 0;
15750}
15751_ACEOF
15752rm -f conftest.$ac_objext conftest$ac_exeext
15753if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15754 (eval $ac_link) 2>conftest.er1
15755 ac_status=$?
15756 grep -v '^ *+' conftest.er1 >conftest.err
15757 rm -f conftest.er1
15758 cat conftest.err >&5
15759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15760 (exit $ac_status); } &&
15761 { ac_try='test -z "$ac_c_werror_flag"
15762 || test ! -s conftest.err'
15763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15764 (eval $ac_try) 2>&5
15765 ac_status=$?
15766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15767 (exit $ac_status); }; } &&
15768 { ac_try='test -s conftest$ac_exeext'
15769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15770 (eval $ac_try) 2>&5
15771 ac_status=$?
15772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15773 (exit $ac_status); }; }; then
15774 ac_cv_lib_m_sqrtf=yes
15775else
15776 echo "$as_me: failed program was:" >&5
15777sed 's/^/| /' conftest.$ac_ext >&5
15778
15779ac_cv_lib_m_sqrtf=no
15780fi
15781rm -f conftest.err conftest.$ac_objext \
15782 conftest$ac_exeext conftest.$ac_ext
15783LIBS=$ac_check_lib_save_LIBS
15784fi
15785echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
15786echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
15787if test $ac_cv_lib_m_sqrtf = yes; then
15788
15789cat >>confdefs.h <<\_ACEOF
15790#define HAVE_SQRTF 1
15791_ACEOF
15792
15793fi
15794
15795echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
15796echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
15797if test "${ac_cv_lib_m_sqrt+set}" = set; then
15798 echo $ECHO_N "(cached) $ECHO_C" >&6
15799else
15800 ac_check_lib_save_LIBS=$LIBS
15801LIBS="-lm $LIBS"
15802if test x$gcc_no_link = xyes; then
15803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15804echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15805 { (exit 1); exit 1; }; }
15806fi
15807cat >conftest.$ac_ext <<_ACEOF
15808/* confdefs.h. */
15809_ACEOF
15810cat confdefs.h >>conftest.$ac_ext
15811cat >>conftest.$ac_ext <<_ACEOF
15812/* end confdefs.h. */
15813
15814/* Override any gcc2 internal prototype to avoid an error. */
15815#ifdef __cplusplus
15816extern "C"
15817#endif
15818/* We use char because int might match the return type of a gcc2
15819 builtin and then its argument prototype would still apply. */
15820char sqrt ();
15821int
15822main ()
15823{
15824sqrt ();
15825 ;
15826 return 0;
15827}
15828_ACEOF
15829rm -f conftest.$ac_objext conftest$ac_exeext
15830if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15831 (eval $ac_link) 2>conftest.er1
15832 ac_status=$?
15833 grep -v '^ *+' conftest.er1 >conftest.err
15834 rm -f conftest.er1
15835 cat conftest.err >&5
15836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15837 (exit $ac_status); } &&
15838 { ac_try='test -z "$ac_c_werror_flag"
15839 || test ! -s conftest.err'
15840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15841 (eval $ac_try) 2>&5
15842 ac_status=$?
15843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15844 (exit $ac_status); }; } &&
15845 { ac_try='test -s conftest$ac_exeext'
15846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15847 (eval $ac_try) 2>&5
15848 ac_status=$?
15849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15850 (exit $ac_status); }; }; then
15851 ac_cv_lib_m_sqrt=yes
15852else
15853 echo "$as_me: failed program was:" >&5
15854sed 's/^/| /' conftest.$ac_ext >&5
15855
15856ac_cv_lib_m_sqrt=no
15857fi
15858rm -f conftest.err conftest.$ac_objext \
15859 conftest$ac_exeext conftest.$ac_ext
15860LIBS=$ac_check_lib_save_LIBS
15861fi
15862echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
15863echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
15864if test $ac_cv_lib_m_sqrt = yes; then
15865
15866cat >>confdefs.h <<\_ACEOF
15867#define HAVE_SQRT 1
15868_ACEOF
15869
15870fi
15871
15872echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
15873echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
15874if test "${ac_cv_lib_m_sqrtl+set}" = set; then
15875 echo $ECHO_N "(cached) $ECHO_C" >&6
15876else
15877 ac_check_lib_save_LIBS=$LIBS
15878LIBS="-lm $LIBS"
15879if test x$gcc_no_link = xyes; then
15880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15881echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15882 { (exit 1); exit 1; }; }
15883fi
15884cat >conftest.$ac_ext <<_ACEOF
15885/* confdefs.h. */
15886_ACEOF
15887cat confdefs.h >>conftest.$ac_ext
15888cat >>conftest.$ac_ext <<_ACEOF
15889/* end confdefs.h. */
15890
15891/* Override any gcc2 internal prototype to avoid an error. */
15892#ifdef __cplusplus
15893extern "C"
15894#endif
15895/* We use char because int might match the return type of a gcc2
15896 builtin and then its argument prototype would still apply. */
15897char sqrtl ();
15898int
15899main ()
15900{
15901sqrtl ();
15902 ;
15903 return 0;
15904}
15905_ACEOF
15906rm -f conftest.$ac_objext conftest$ac_exeext
15907if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15908 (eval $ac_link) 2>conftest.er1
15909 ac_status=$?
15910 grep -v '^ *+' conftest.er1 >conftest.err
15911 rm -f conftest.er1
15912 cat conftest.err >&5
15913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15914 (exit $ac_status); } &&
15915 { ac_try='test -z "$ac_c_werror_flag"
15916 || test ! -s conftest.err'
15917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15918 (eval $ac_try) 2>&5
15919 ac_status=$?
15920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15921 (exit $ac_status); }; } &&
15922 { ac_try='test -s conftest$ac_exeext'
15923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15924 (eval $ac_try) 2>&5
15925 ac_status=$?
15926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15927 (exit $ac_status); }; }; then
15928 ac_cv_lib_m_sqrtl=yes
15929else
15930 echo "$as_me: failed program was:" >&5
15931sed 's/^/| /' conftest.$ac_ext >&5
15932
15933ac_cv_lib_m_sqrtl=no
15934fi
15935rm -f conftest.err conftest.$ac_objext \
15936 conftest$ac_exeext conftest.$ac_ext
15937LIBS=$ac_check_lib_save_LIBS
15938fi
15939echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
15940echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
15941if test $ac_cv_lib_m_sqrtl = yes; then
15942
15943cat >>confdefs.h <<\_ACEOF
15944#define HAVE_SQRTL 1
15945_ACEOF
15946
15947fi
15948
15949echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
15950echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
15951if test "${ac_cv_lib_m_csqrtf+set}" = set; then
15952 echo $ECHO_N "(cached) $ECHO_C" >&6
15953else
15954 ac_check_lib_save_LIBS=$LIBS
15955LIBS="-lm $LIBS"
15956if test x$gcc_no_link = xyes; then
15957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15958echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15959 { (exit 1); exit 1; }; }
15960fi
15961cat >conftest.$ac_ext <<_ACEOF
15962/* confdefs.h. */
15963_ACEOF
15964cat confdefs.h >>conftest.$ac_ext
15965cat >>conftest.$ac_ext <<_ACEOF
15966/* end confdefs.h. */
15967
15968/* Override any gcc2 internal prototype to avoid an error. */
15969#ifdef __cplusplus
15970extern "C"
15971#endif
15972/* We use char because int might match the return type of a gcc2
15973 builtin and then its argument prototype would still apply. */
15974char csqrtf ();
15975int
15976main ()
15977{
15978csqrtf ();
15979 ;
15980 return 0;
15981}
15982_ACEOF
15983rm -f conftest.$ac_objext conftest$ac_exeext
15984if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15985 (eval $ac_link) 2>conftest.er1
15986 ac_status=$?
15987 grep -v '^ *+' conftest.er1 >conftest.err
15988 rm -f conftest.er1
15989 cat conftest.err >&5
15990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15991 (exit $ac_status); } &&
15992 { ac_try='test -z "$ac_c_werror_flag"
15993 || test ! -s conftest.err'
15994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15995 (eval $ac_try) 2>&5
15996 ac_status=$?
15997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 (exit $ac_status); }; } &&
15999 { ac_try='test -s conftest$ac_exeext'
16000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16001 (eval $ac_try) 2>&5
16002 ac_status=$?
16003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16004 (exit $ac_status); }; }; then
16005 ac_cv_lib_m_csqrtf=yes
16006else
16007 echo "$as_me: failed program was:" >&5
16008sed 's/^/| /' conftest.$ac_ext >&5
16009
16010ac_cv_lib_m_csqrtf=no
16011fi
16012rm -f conftest.err conftest.$ac_objext \
16013 conftest$ac_exeext conftest.$ac_ext
16014LIBS=$ac_check_lib_save_LIBS
16015fi
16016echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
16017echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
16018if test $ac_cv_lib_m_csqrtf = yes; then
16019
16020cat >>confdefs.h <<\_ACEOF
16021#define HAVE_CSQRTF 1
16022_ACEOF
16023
16024fi
16025
16026echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
16027echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
16028if test "${ac_cv_lib_m_csqrt+set}" = set; then
16029 echo $ECHO_N "(cached) $ECHO_C" >&6
16030else
16031 ac_check_lib_save_LIBS=$LIBS
16032LIBS="-lm $LIBS"
16033if test x$gcc_no_link = xyes; then
16034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16035echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16036 { (exit 1); exit 1; }; }
16037fi
16038cat >conftest.$ac_ext <<_ACEOF
16039/* confdefs.h. */
16040_ACEOF
16041cat confdefs.h >>conftest.$ac_ext
16042cat >>conftest.$ac_ext <<_ACEOF
16043/* end confdefs.h. */
16044
16045/* Override any gcc2 internal prototype to avoid an error. */
16046#ifdef __cplusplus
16047extern "C"
16048#endif
16049/* We use char because int might match the return type of a gcc2
16050 builtin and then its argument prototype would still apply. */
16051char csqrt ();
16052int
16053main ()
16054{
16055csqrt ();
16056 ;
16057 return 0;
16058}
16059_ACEOF
16060rm -f conftest.$ac_objext conftest$ac_exeext
16061if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16062 (eval $ac_link) 2>conftest.er1
16063 ac_status=$?
16064 grep -v '^ *+' conftest.er1 >conftest.err
16065 rm -f conftest.er1
16066 cat conftest.err >&5
16067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16068 (exit $ac_status); } &&
16069 { ac_try='test -z "$ac_c_werror_flag"
16070 || test ! -s conftest.err'
16071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16072 (eval $ac_try) 2>&5
16073 ac_status=$?
16074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16075 (exit $ac_status); }; } &&
16076 { ac_try='test -s conftest$ac_exeext'
16077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16078 (eval $ac_try) 2>&5
16079 ac_status=$?
16080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16081 (exit $ac_status); }; }; then
16082 ac_cv_lib_m_csqrt=yes
16083else
16084 echo "$as_me: failed program was:" >&5
16085sed 's/^/| /' conftest.$ac_ext >&5
16086
16087ac_cv_lib_m_csqrt=no
16088fi
16089rm -f conftest.err conftest.$ac_objext \
16090 conftest$ac_exeext conftest.$ac_ext
16091LIBS=$ac_check_lib_save_LIBS
16092fi
16093echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
16094echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
16095if test $ac_cv_lib_m_csqrt = yes; then
16096
16097cat >>confdefs.h <<\_ACEOF
16098#define HAVE_CSQRT 1
16099_ACEOF
16100
16101fi
16102
16103echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
16104echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
16105if test "${ac_cv_lib_m_csqrtl+set}" = set; then
16106 echo $ECHO_N "(cached) $ECHO_C" >&6
16107else
16108 ac_check_lib_save_LIBS=$LIBS
16109LIBS="-lm $LIBS"
16110if test x$gcc_no_link = xyes; then
16111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16112echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16113 { (exit 1); exit 1; }; }
16114fi
16115cat >conftest.$ac_ext <<_ACEOF
16116/* confdefs.h. */
16117_ACEOF
16118cat confdefs.h >>conftest.$ac_ext
16119cat >>conftest.$ac_ext <<_ACEOF
16120/* end confdefs.h. */
16121
16122/* Override any gcc2 internal prototype to avoid an error. */
16123#ifdef __cplusplus
16124extern "C"
16125#endif
16126/* We use char because int might match the return type of a gcc2
16127 builtin and then its argument prototype would still apply. */
16128char csqrtl ();
16129int
16130main ()
16131{
16132csqrtl ();
16133 ;
16134 return 0;
16135}
16136_ACEOF
16137rm -f conftest.$ac_objext conftest$ac_exeext
16138if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16139 (eval $ac_link) 2>conftest.er1
16140 ac_status=$?
16141 grep -v '^ *+' conftest.er1 >conftest.err
16142 rm -f conftest.er1
16143 cat conftest.err >&5
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); } &&
16146 { ac_try='test -z "$ac_c_werror_flag"
16147 || test ! -s conftest.err'
16148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16149 (eval $ac_try) 2>&5
16150 ac_status=$?
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); }; } &&
16153 { ac_try='test -s conftest$ac_exeext'
16154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16155 (eval $ac_try) 2>&5
16156 ac_status=$?
16157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16158 (exit $ac_status); }; }; then
16159 ac_cv_lib_m_csqrtl=yes
16160else
16161 echo "$as_me: failed program was:" >&5
16162sed 's/^/| /' conftest.$ac_ext >&5
16163
16164ac_cv_lib_m_csqrtl=no
16165fi
16166rm -f conftest.err conftest.$ac_objext \
16167 conftest$ac_exeext conftest.$ac_ext
16168LIBS=$ac_check_lib_save_LIBS
16169fi
16170echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
16171echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
16172if test $ac_cv_lib_m_csqrtl = yes; then
16173
16174cat >>confdefs.h <<\_ACEOF
16175#define HAVE_CSQRTL 1
16176_ACEOF
16177
16178fi
16179
16180echo "$as_me:$LINENO: checking for tanf in -lm" >&5
16181echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
16182if test "${ac_cv_lib_m_tanf+set}" = set; then
16183 echo $ECHO_N "(cached) $ECHO_C" >&6
16184else
16185 ac_check_lib_save_LIBS=$LIBS
16186LIBS="-lm $LIBS"
16187if test x$gcc_no_link = xyes; then
16188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16189echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16190 { (exit 1); exit 1; }; }
16191fi
16192cat >conftest.$ac_ext <<_ACEOF
16193/* confdefs.h. */
16194_ACEOF
16195cat confdefs.h >>conftest.$ac_ext
16196cat >>conftest.$ac_ext <<_ACEOF
16197/* end confdefs.h. */
16198
16199/* Override any gcc2 internal prototype to avoid an error. */
16200#ifdef __cplusplus
16201extern "C"
16202#endif
16203/* We use char because int might match the return type of a gcc2
16204 builtin and then its argument prototype would still apply. */
16205char tanf ();
16206int
16207main ()
16208{
16209tanf ();
16210 ;
16211 return 0;
16212}
16213_ACEOF
16214rm -f conftest.$ac_objext conftest$ac_exeext
16215if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16216 (eval $ac_link) 2>conftest.er1
16217 ac_status=$?
16218 grep -v '^ *+' conftest.er1 >conftest.err
16219 rm -f conftest.er1
16220 cat conftest.err >&5
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); } &&
16223 { ac_try='test -z "$ac_c_werror_flag"
16224 || test ! -s conftest.err'
16225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16226 (eval $ac_try) 2>&5
16227 ac_status=$?
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); }; } &&
16230 { ac_try='test -s conftest$ac_exeext'
16231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16232 (eval $ac_try) 2>&5
16233 ac_status=$?
16234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16235 (exit $ac_status); }; }; then
16236 ac_cv_lib_m_tanf=yes
16237else
16238 echo "$as_me: failed program was:" >&5
16239sed 's/^/| /' conftest.$ac_ext >&5
16240
16241ac_cv_lib_m_tanf=no
16242fi
16243rm -f conftest.err conftest.$ac_objext \
16244 conftest$ac_exeext conftest.$ac_ext
16245LIBS=$ac_check_lib_save_LIBS
16246fi
16247echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
16248echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
16249if test $ac_cv_lib_m_tanf = yes; then
16250
16251cat >>confdefs.h <<\_ACEOF
16252#define HAVE_TANF 1
16253_ACEOF
16254
16255fi
16256
16257echo "$as_me:$LINENO: checking for tan in -lm" >&5
16258echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
16259if test "${ac_cv_lib_m_tan+set}" = set; then
16260 echo $ECHO_N "(cached) $ECHO_C" >&6
16261else
16262 ac_check_lib_save_LIBS=$LIBS
16263LIBS="-lm $LIBS"
16264if test x$gcc_no_link = xyes; then
16265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16266echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16267 { (exit 1); exit 1; }; }
16268fi
16269cat >conftest.$ac_ext <<_ACEOF
16270/* confdefs.h. */
16271_ACEOF
16272cat confdefs.h >>conftest.$ac_ext
16273cat >>conftest.$ac_ext <<_ACEOF
16274/* end confdefs.h. */
16275
16276/* Override any gcc2 internal prototype to avoid an error. */
16277#ifdef __cplusplus
16278extern "C"
16279#endif
16280/* We use char because int might match the return type of a gcc2
16281 builtin and then its argument prototype would still apply. */
16282char tan ();
16283int
16284main ()
16285{
16286tan ();
16287 ;
16288 return 0;
16289}
16290_ACEOF
16291rm -f conftest.$ac_objext conftest$ac_exeext
16292if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16293 (eval $ac_link) 2>conftest.er1
16294 ac_status=$?
16295 grep -v '^ *+' conftest.er1 >conftest.err
16296 rm -f conftest.er1
16297 cat conftest.err >&5
16298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299 (exit $ac_status); } &&
16300 { ac_try='test -z "$ac_c_werror_flag"
16301 || test ! -s conftest.err'
16302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16303 (eval $ac_try) 2>&5
16304 ac_status=$?
16305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16306 (exit $ac_status); }; } &&
16307 { ac_try='test -s conftest$ac_exeext'
16308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16309 (eval $ac_try) 2>&5
16310 ac_status=$?
16311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16312 (exit $ac_status); }; }; then
16313 ac_cv_lib_m_tan=yes
16314else
16315 echo "$as_me: failed program was:" >&5
16316sed 's/^/| /' conftest.$ac_ext >&5
16317
16318ac_cv_lib_m_tan=no
16319fi
16320rm -f conftest.err conftest.$ac_objext \
16321 conftest$ac_exeext conftest.$ac_ext
16322LIBS=$ac_check_lib_save_LIBS
16323fi
16324echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
16325echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
16326if test $ac_cv_lib_m_tan = yes; then
16327
16328cat >>confdefs.h <<\_ACEOF
16329#define HAVE_TAN 1
16330_ACEOF
16331
16332fi
16333
16334echo "$as_me:$LINENO: checking for tanl in -lm" >&5
16335echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
16336if test "${ac_cv_lib_m_tanl+set}" = set; then
16337 echo $ECHO_N "(cached) $ECHO_C" >&6
16338else
16339 ac_check_lib_save_LIBS=$LIBS
16340LIBS="-lm $LIBS"
16341if test x$gcc_no_link = xyes; then
16342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16343echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16344 { (exit 1); exit 1; }; }
16345fi
16346cat >conftest.$ac_ext <<_ACEOF
16347/* confdefs.h. */
16348_ACEOF
16349cat confdefs.h >>conftest.$ac_ext
16350cat >>conftest.$ac_ext <<_ACEOF
16351/* end confdefs.h. */
16352
16353/* Override any gcc2 internal prototype to avoid an error. */
16354#ifdef __cplusplus
16355extern "C"
16356#endif
16357/* We use char because int might match the return type of a gcc2
16358 builtin and then its argument prototype would still apply. */
16359char tanl ();
16360int
16361main ()
16362{
16363tanl ();
16364 ;
16365 return 0;
16366}
16367_ACEOF
16368rm -f conftest.$ac_objext conftest$ac_exeext
16369if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16370 (eval $ac_link) 2>conftest.er1
16371 ac_status=$?
16372 grep -v '^ *+' conftest.er1 >conftest.err
16373 rm -f conftest.er1
16374 cat conftest.err >&5
16375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376 (exit $ac_status); } &&
16377 { ac_try='test -z "$ac_c_werror_flag"
16378 || test ! -s conftest.err'
16379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16380 (eval $ac_try) 2>&5
16381 ac_status=$?
16382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16383 (exit $ac_status); }; } &&
16384 { ac_try='test -s conftest$ac_exeext'
16385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16386 (eval $ac_try) 2>&5
16387 ac_status=$?
16388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16389 (exit $ac_status); }; }; then
16390 ac_cv_lib_m_tanl=yes
16391else
16392 echo "$as_me: failed program was:" >&5
16393sed 's/^/| /' conftest.$ac_ext >&5
16394
16395ac_cv_lib_m_tanl=no
16396fi
16397rm -f conftest.err conftest.$ac_objext \
16398 conftest$ac_exeext conftest.$ac_ext
16399LIBS=$ac_check_lib_save_LIBS
16400fi
16401echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
16402echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
16403if test $ac_cv_lib_m_tanl = yes; then
16404
16405cat >>confdefs.h <<\_ACEOF
16406#define HAVE_TANL 1
16407_ACEOF
16408
16409fi
16410
16411echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
16412echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
16413if test "${ac_cv_lib_m_ctanf+set}" = set; then
16414 echo $ECHO_N "(cached) $ECHO_C" >&6
16415else
16416 ac_check_lib_save_LIBS=$LIBS
16417LIBS="-lm $LIBS"
16418if test x$gcc_no_link = xyes; then
16419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16420echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16421 { (exit 1); exit 1; }; }
16422fi
16423cat >conftest.$ac_ext <<_ACEOF
16424/* confdefs.h. */
16425_ACEOF
16426cat confdefs.h >>conftest.$ac_ext
16427cat >>conftest.$ac_ext <<_ACEOF
16428/* end confdefs.h. */
16429
16430/* Override any gcc2 internal prototype to avoid an error. */
16431#ifdef __cplusplus
16432extern "C"
16433#endif
16434/* We use char because int might match the return type of a gcc2
16435 builtin and then its argument prototype would still apply. */
16436char ctanf ();
16437int
16438main ()
16439{
16440ctanf ();
16441 ;
16442 return 0;
16443}
16444_ACEOF
16445rm -f conftest.$ac_objext conftest$ac_exeext
16446if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16447 (eval $ac_link) 2>conftest.er1
16448 ac_status=$?
16449 grep -v '^ *+' conftest.er1 >conftest.err
16450 rm -f conftest.er1
16451 cat conftest.err >&5
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); } &&
16454 { ac_try='test -z "$ac_c_werror_flag"
16455 || test ! -s conftest.err'
16456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16457 (eval $ac_try) 2>&5
16458 ac_status=$?
16459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16460 (exit $ac_status); }; } &&
16461 { ac_try='test -s conftest$ac_exeext'
16462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16463 (eval $ac_try) 2>&5
16464 ac_status=$?
16465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16466 (exit $ac_status); }; }; then
16467 ac_cv_lib_m_ctanf=yes
16468else
16469 echo "$as_me: failed program was:" >&5
16470sed 's/^/| /' conftest.$ac_ext >&5
16471
16472ac_cv_lib_m_ctanf=no
16473fi
16474rm -f conftest.err conftest.$ac_objext \
16475 conftest$ac_exeext conftest.$ac_ext
16476LIBS=$ac_check_lib_save_LIBS
16477fi
16478echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
16479echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
16480if test $ac_cv_lib_m_ctanf = yes; then
16481
16482cat >>confdefs.h <<\_ACEOF
16483#define HAVE_CTANF 1
16484_ACEOF
16485
16486fi
16487
16488echo "$as_me:$LINENO: checking for ctan in -lm" >&5
16489echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
16490if test "${ac_cv_lib_m_ctan+set}" = set; then
16491 echo $ECHO_N "(cached) $ECHO_C" >&6
16492else
16493 ac_check_lib_save_LIBS=$LIBS
16494LIBS="-lm $LIBS"
16495if test x$gcc_no_link = xyes; then
16496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16497echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16498 { (exit 1); exit 1; }; }
16499fi
16500cat >conftest.$ac_ext <<_ACEOF
16501/* confdefs.h. */
16502_ACEOF
16503cat confdefs.h >>conftest.$ac_ext
16504cat >>conftest.$ac_ext <<_ACEOF
16505/* end confdefs.h. */
16506
16507/* Override any gcc2 internal prototype to avoid an error. */
16508#ifdef __cplusplus
16509extern "C"
16510#endif
16511/* We use char because int might match the return type of a gcc2
16512 builtin and then its argument prototype would still apply. */
16513char ctan ();
16514int
16515main ()
16516{
16517ctan ();
16518 ;
16519 return 0;
16520}
16521_ACEOF
16522rm -f conftest.$ac_objext conftest$ac_exeext
16523if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16524 (eval $ac_link) 2>conftest.er1
16525 ac_status=$?
16526 grep -v '^ *+' conftest.er1 >conftest.err
16527 rm -f conftest.er1
16528 cat conftest.err >&5
16529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16530 (exit $ac_status); } &&
16531 { ac_try='test -z "$ac_c_werror_flag"
16532 || test ! -s conftest.err'
16533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16534 (eval $ac_try) 2>&5
16535 ac_status=$?
16536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537 (exit $ac_status); }; } &&
16538 { ac_try='test -s conftest$ac_exeext'
16539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16540 (eval $ac_try) 2>&5
16541 ac_status=$?
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543 (exit $ac_status); }; }; then
16544 ac_cv_lib_m_ctan=yes
16545else
16546 echo "$as_me: failed program was:" >&5
16547sed 's/^/| /' conftest.$ac_ext >&5
16548
16549ac_cv_lib_m_ctan=no
16550fi
16551rm -f conftest.err conftest.$ac_objext \
16552 conftest$ac_exeext conftest.$ac_ext
16553LIBS=$ac_check_lib_save_LIBS
16554fi
16555echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
16556echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
16557if test $ac_cv_lib_m_ctan = yes; then
16558
16559cat >>confdefs.h <<\_ACEOF
16560#define HAVE_CTAN 1
16561_ACEOF
16562
16563fi
16564
16565echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
16566echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
16567if test "${ac_cv_lib_m_ctanl+set}" = set; then
16568 echo $ECHO_N "(cached) $ECHO_C" >&6
16569else
16570 ac_check_lib_save_LIBS=$LIBS
16571LIBS="-lm $LIBS"
16572if test x$gcc_no_link = xyes; then
16573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16574echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16575 { (exit 1); exit 1; }; }
16576fi
16577cat >conftest.$ac_ext <<_ACEOF
16578/* confdefs.h. */
16579_ACEOF
16580cat confdefs.h >>conftest.$ac_ext
16581cat >>conftest.$ac_ext <<_ACEOF
16582/* end confdefs.h. */
16583
16584/* Override any gcc2 internal prototype to avoid an error. */
16585#ifdef __cplusplus
16586extern "C"
16587#endif
16588/* We use char because int might match the return type of a gcc2
16589 builtin and then its argument prototype would still apply. */
16590char ctanl ();
16591int
16592main ()
16593{
16594ctanl ();
16595 ;
16596 return 0;
16597}
16598_ACEOF
16599rm -f conftest.$ac_objext conftest$ac_exeext
16600if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16601 (eval $ac_link) 2>conftest.er1
16602 ac_status=$?
16603 grep -v '^ *+' conftest.er1 >conftest.err
16604 rm -f conftest.er1
16605 cat conftest.err >&5
16606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16607 (exit $ac_status); } &&
16608 { ac_try='test -z "$ac_c_werror_flag"
16609 || test ! -s conftest.err'
16610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16611 (eval $ac_try) 2>&5
16612 ac_status=$?
16613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16614 (exit $ac_status); }; } &&
16615 { ac_try='test -s conftest$ac_exeext'
16616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16617 (eval $ac_try) 2>&5
16618 ac_status=$?
16619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16620 (exit $ac_status); }; }; then
16621 ac_cv_lib_m_ctanl=yes
16622else
16623 echo "$as_me: failed program was:" >&5
16624sed 's/^/| /' conftest.$ac_ext >&5
16625
16626ac_cv_lib_m_ctanl=no
16627fi
16628rm -f conftest.err conftest.$ac_objext \
16629 conftest$ac_exeext conftest.$ac_ext
16630LIBS=$ac_check_lib_save_LIBS
16631fi
16632echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
16633echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
16634if test $ac_cv_lib_m_ctanl = yes; then
16635
16636cat >>confdefs.h <<\_ACEOF
16637#define HAVE_CTANL 1
16638_ACEOF
16639
16640fi
16641
16642echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
16643echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
16644if test "${ac_cv_lib_m_tanhf+set}" = set; then
16645 echo $ECHO_N "(cached) $ECHO_C" >&6
16646else
16647 ac_check_lib_save_LIBS=$LIBS
16648LIBS="-lm $LIBS"
16649if test x$gcc_no_link = xyes; then
16650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16651echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16652 { (exit 1); exit 1; }; }
16653fi
16654cat >conftest.$ac_ext <<_ACEOF
16655/* confdefs.h. */
16656_ACEOF
16657cat confdefs.h >>conftest.$ac_ext
16658cat >>conftest.$ac_ext <<_ACEOF
16659/* end confdefs.h. */
16660
16661/* Override any gcc2 internal prototype to avoid an error. */
16662#ifdef __cplusplus
16663extern "C"
16664#endif
16665/* We use char because int might match the return type of a gcc2
16666 builtin and then its argument prototype would still apply. */
16667char tanhf ();
16668int
16669main ()
16670{
16671tanhf ();
16672 ;
16673 return 0;
16674}
16675_ACEOF
16676rm -f conftest.$ac_objext conftest$ac_exeext
16677if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16678 (eval $ac_link) 2>conftest.er1
16679 ac_status=$?
16680 grep -v '^ *+' conftest.er1 >conftest.err
16681 rm -f conftest.er1
16682 cat conftest.err >&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); } &&
16685 { ac_try='test -z "$ac_c_werror_flag"
16686 || test ! -s conftest.err'
16687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16688 (eval $ac_try) 2>&5
16689 ac_status=$?
16690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16691 (exit $ac_status); }; } &&
16692 { ac_try='test -s conftest$ac_exeext'
16693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16694 (eval $ac_try) 2>&5
16695 ac_status=$?
16696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16697 (exit $ac_status); }; }; then
16698 ac_cv_lib_m_tanhf=yes
16699else
16700 echo "$as_me: failed program was:" >&5
16701sed 's/^/| /' conftest.$ac_ext >&5
16702
16703ac_cv_lib_m_tanhf=no
16704fi
16705rm -f conftest.err conftest.$ac_objext \
16706 conftest$ac_exeext conftest.$ac_ext
16707LIBS=$ac_check_lib_save_LIBS
16708fi
16709echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
16710echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
16711if test $ac_cv_lib_m_tanhf = yes; then
16712
16713cat >>confdefs.h <<\_ACEOF
16714#define HAVE_TANHF 1
16715_ACEOF
16716
16717fi
16718
16719echo "$as_me:$LINENO: checking for tanh in -lm" >&5
16720echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
16721if test "${ac_cv_lib_m_tanh+set}" = set; then
16722 echo $ECHO_N "(cached) $ECHO_C" >&6
16723else
16724 ac_check_lib_save_LIBS=$LIBS
16725LIBS="-lm $LIBS"
16726if test x$gcc_no_link = xyes; then
16727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16728echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16729 { (exit 1); exit 1; }; }
16730fi
16731cat >conftest.$ac_ext <<_ACEOF
16732/* confdefs.h. */
16733_ACEOF
16734cat confdefs.h >>conftest.$ac_ext
16735cat >>conftest.$ac_ext <<_ACEOF
16736/* end confdefs.h. */
16737
16738/* Override any gcc2 internal prototype to avoid an error. */
16739#ifdef __cplusplus
16740extern "C"
16741#endif
16742/* We use char because int might match the return type of a gcc2
16743 builtin and then its argument prototype would still apply. */
16744char tanh ();
16745int
16746main ()
16747{
16748tanh ();
16749 ;
16750 return 0;
16751}
16752_ACEOF
16753rm -f conftest.$ac_objext conftest$ac_exeext
16754if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16755 (eval $ac_link) 2>conftest.er1
16756 ac_status=$?
16757 grep -v '^ *+' conftest.er1 >conftest.err
16758 rm -f conftest.er1
16759 cat conftest.err >&5
16760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761 (exit $ac_status); } &&
16762 { ac_try='test -z "$ac_c_werror_flag"
16763 || test ! -s conftest.err'
16764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16765 (eval $ac_try) 2>&5
16766 ac_status=$?
16767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16768 (exit $ac_status); }; } &&
16769 { ac_try='test -s conftest$ac_exeext'
16770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16771 (eval $ac_try) 2>&5
16772 ac_status=$?
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); }; }; then
16775 ac_cv_lib_m_tanh=yes
16776else
16777 echo "$as_me: failed program was:" >&5
16778sed 's/^/| /' conftest.$ac_ext >&5
16779
16780ac_cv_lib_m_tanh=no
16781fi
16782rm -f conftest.err conftest.$ac_objext \
16783 conftest$ac_exeext conftest.$ac_ext
16784LIBS=$ac_check_lib_save_LIBS
16785fi
16786echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
16787echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
16788if test $ac_cv_lib_m_tanh = yes; then
16789
16790cat >>confdefs.h <<\_ACEOF
16791#define HAVE_TANH 1
16792_ACEOF
16793
16794fi
16795
16796echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
16797echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
16798if test "${ac_cv_lib_m_tanhl+set}" = set; then
16799 echo $ECHO_N "(cached) $ECHO_C" >&6
16800else
16801 ac_check_lib_save_LIBS=$LIBS
16802LIBS="-lm $LIBS"
16803if test x$gcc_no_link = xyes; then
16804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16805echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16806 { (exit 1); exit 1; }; }
16807fi
16808cat >conftest.$ac_ext <<_ACEOF
16809/* confdefs.h. */
16810_ACEOF
16811cat confdefs.h >>conftest.$ac_ext
16812cat >>conftest.$ac_ext <<_ACEOF
16813/* end confdefs.h. */
16814
16815/* Override any gcc2 internal prototype to avoid an error. */
16816#ifdef __cplusplus
16817extern "C"
16818#endif
16819/* We use char because int might match the return type of a gcc2
16820 builtin and then its argument prototype would still apply. */
16821char tanhl ();
16822int
16823main ()
16824{
16825tanhl ();
16826 ;
16827 return 0;
16828}
16829_ACEOF
16830rm -f conftest.$ac_objext conftest$ac_exeext
16831if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16832 (eval $ac_link) 2>conftest.er1
16833 ac_status=$?
16834 grep -v '^ *+' conftest.er1 >conftest.err
16835 rm -f conftest.er1
16836 cat conftest.err >&5
16837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16838 (exit $ac_status); } &&
16839 { ac_try='test -z "$ac_c_werror_flag"
16840 || test ! -s conftest.err'
16841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16842 (eval $ac_try) 2>&5
16843 ac_status=$?
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); }; } &&
16846 { ac_try='test -s conftest$ac_exeext'
16847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16848 (eval $ac_try) 2>&5
16849 ac_status=$?
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); }; }; then
16852 ac_cv_lib_m_tanhl=yes
16853else
16854 echo "$as_me: failed program was:" >&5
16855sed 's/^/| /' conftest.$ac_ext >&5
16856
16857ac_cv_lib_m_tanhl=no
16858fi
16859rm -f conftest.err conftest.$ac_objext \
16860 conftest$ac_exeext conftest.$ac_ext
16861LIBS=$ac_check_lib_save_LIBS
16862fi
16863echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
16864echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
16865if test $ac_cv_lib_m_tanhl = yes; then
16866
16867cat >>confdefs.h <<\_ACEOF
16868#define HAVE_TANHL 1
16869_ACEOF
16870
16871fi
16872
16873echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
16874echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
16875if test "${ac_cv_lib_m_ctanhf+set}" = set; then
16876 echo $ECHO_N "(cached) $ECHO_C" >&6
16877else
16878 ac_check_lib_save_LIBS=$LIBS
16879LIBS="-lm $LIBS"
16880if test x$gcc_no_link = xyes; then
16881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16882echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16883 { (exit 1); exit 1; }; }
16884fi
16885cat >conftest.$ac_ext <<_ACEOF
16886/* confdefs.h. */
16887_ACEOF
16888cat confdefs.h >>conftest.$ac_ext
16889cat >>conftest.$ac_ext <<_ACEOF
16890/* end confdefs.h. */
16891
16892/* Override any gcc2 internal prototype to avoid an error. */
16893#ifdef __cplusplus
16894extern "C"
16895#endif
16896/* We use char because int might match the return type of a gcc2
16897 builtin and then its argument prototype would still apply. */
16898char ctanhf ();
16899int
16900main ()
16901{
16902ctanhf ();
16903 ;
16904 return 0;
16905}
16906_ACEOF
16907rm -f conftest.$ac_objext conftest$ac_exeext
16908if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16909 (eval $ac_link) 2>conftest.er1
16910 ac_status=$?
16911 grep -v '^ *+' conftest.er1 >conftest.err
16912 rm -f conftest.er1
16913 cat conftest.err >&5
16914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16915 (exit $ac_status); } &&
16916 { ac_try='test -z "$ac_c_werror_flag"
16917 || test ! -s conftest.err'
16918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16919 (eval $ac_try) 2>&5
16920 ac_status=$?
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); }; } &&
16923 { ac_try='test -s conftest$ac_exeext'
16924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16925 (eval $ac_try) 2>&5
16926 ac_status=$?
16927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16928 (exit $ac_status); }; }; then
16929 ac_cv_lib_m_ctanhf=yes
16930else
16931 echo "$as_me: failed program was:" >&5
16932sed 's/^/| /' conftest.$ac_ext >&5
16933
16934ac_cv_lib_m_ctanhf=no
16935fi
16936rm -f conftest.err conftest.$ac_objext \
16937 conftest$ac_exeext conftest.$ac_ext
16938LIBS=$ac_check_lib_save_LIBS
16939fi
16940echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
16941echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
16942if test $ac_cv_lib_m_ctanhf = yes; then
16943
16944cat >>confdefs.h <<\_ACEOF
16945#define HAVE_CTANHF 1
16946_ACEOF
16947
16948fi
16949
16950echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
16951echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
16952if test "${ac_cv_lib_m_ctanh+set}" = set; then
16953 echo $ECHO_N "(cached) $ECHO_C" >&6
16954else
16955 ac_check_lib_save_LIBS=$LIBS
16956LIBS="-lm $LIBS"
16957if test x$gcc_no_link = xyes; then
16958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16959echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16960 { (exit 1); exit 1; }; }
16961fi
16962cat >conftest.$ac_ext <<_ACEOF
16963/* confdefs.h. */
16964_ACEOF
16965cat confdefs.h >>conftest.$ac_ext
16966cat >>conftest.$ac_ext <<_ACEOF
16967/* end confdefs.h. */
16968
16969/* Override any gcc2 internal prototype to avoid an error. */
16970#ifdef __cplusplus
16971extern "C"
16972#endif
16973/* We use char because int might match the return type of a gcc2
16974 builtin and then its argument prototype would still apply. */
16975char ctanh ();
16976int
16977main ()
16978{
16979ctanh ();
16980 ;
16981 return 0;
16982}
16983_ACEOF
16984rm -f conftest.$ac_objext conftest$ac_exeext
16985if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16986 (eval $ac_link) 2>conftest.er1
16987 ac_status=$?
16988 grep -v '^ *+' conftest.er1 >conftest.err
16989 rm -f conftest.er1
16990 cat conftest.err >&5
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); } &&
16993 { ac_try='test -z "$ac_c_werror_flag"
16994 || test ! -s conftest.err'
16995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16996 (eval $ac_try) 2>&5
16997 ac_status=$?
16998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16999 (exit $ac_status); }; } &&
17000 { ac_try='test -s conftest$ac_exeext'
17001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17002 (eval $ac_try) 2>&5
17003 ac_status=$?
17004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17005 (exit $ac_status); }; }; then
17006 ac_cv_lib_m_ctanh=yes
17007else
17008 echo "$as_me: failed program was:" >&5
17009sed 's/^/| /' conftest.$ac_ext >&5
17010
17011ac_cv_lib_m_ctanh=no
17012fi
17013rm -f conftest.err conftest.$ac_objext \
17014 conftest$ac_exeext conftest.$ac_ext
17015LIBS=$ac_check_lib_save_LIBS
17016fi
17017echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
17018echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
17019if test $ac_cv_lib_m_ctanh = yes; then
17020
17021cat >>confdefs.h <<\_ACEOF
17022#define HAVE_CTANH 1
17023_ACEOF
17024
17025fi
17026
17027echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
17028echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
17029if test "${ac_cv_lib_m_ctanhl+set}" = set; then
17030 echo $ECHO_N "(cached) $ECHO_C" >&6
17031else
17032 ac_check_lib_save_LIBS=$LIBS
17033LIBS="-lm $LIBS"
17034if test x$gcc_no_link = xyes; then
17035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17036echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17037 { (exit 1); exit 1; }; }
17038fi
17039cat >conftest.$ac_ext <<_ACEOF
17040/* confdefs.h. */
17041_ACEOF
17042cat confdefs.h >>conftest.$ac_ext
17043cat >>conftest.$ac_ext <<_ACEOF
17044/* end confdefs.h. */
17045
17046/* Override any gcc2 internal prototype to avoid an error. */
17047#ifdef __cplusplus
17048extern "C"
17049#endif
17050/* We use char because int might match the return type of a gcc2
17051 builtin and then its argument prototype would still apply. */
17052char ctanhl ();
17053int
17054main ()
17055{
17056ctanhl ();
17057 ;
17058 return 0;
17059}
17060_ACEOF
17061rm -f conftest.$ac_objext conftest$ac_exeext
17062if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17063 (eval $ac_link) 2>conftest.er1
17064 ac_status=$?
17065 grep -v '^ *+' conftest.er1 >conftest.err
17066 rm -f conftest.er1
17067 cat conftest.err >&5
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); } &&
17070 { ac_try='test -z "$ac_c_werror_flag"
17071 || test ! -s conftest.err'
17072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17073 (eval $ac_try) 2>&5
17074 ac_status=$?
17075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17076 (exit $ac_status); }; } &&
17077 { ac_try='test -s conftest$ac_exeext'
17078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17079 (eval $ac_try) 2>&5
17080 ac_status=$?
17081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17082 (exit $ac_status); }; }; then
17083 ac_cv_lib_m_ctanhl=yes
17084else
17085 echo "$as_me: failed program was:" >&5
17086sed 's/^/| /' conftest.$ac_ext >&5
17087
17088ac_cv_lib_m_ctanhl=no
17089fi
17090rm -f conftest.err conftest.$ac_objext \
17091 conftest$ac_exeext conftest.$ac_ext
17092LIBS=$ac_check_lib_save_LIBS
17093fi
17094echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
17095echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
17096if test $ac_cv_lib_m_ctanhl = yes; then
17097
17098cat >>confdefs.h <<\_ACEOF
17099#define HAVE_CTANHL 1
69a2d125
EB
17100_ACEOF
17101
17102fi
17103
17104echo "$as_me:$LINENO: checking for truncf in -lm" >&5
17105echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
17106if test "${ac_cv_lib_m_truncf+set}" = set; then
17107 echo $ECHO_N "(cached) $ECHO_C" >&6
17108else
17109 ac_check_lib_save_LIBS=$LIBS
17110LIBS="-lm $LIBS"
f02d008e
JD
17111if test x$gcc_no_link = xyes; then
17112 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17113echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17114 { (exit 1); exit 1; }; }
17115fi
69a2d125
EB
17116cat >conftest.$ac_ext <<_ACEOF
17117/* confdefs.h. */
17118_ACEOF
17119cat confdefs.h >>conftest.$ac_ext
17120cat >>conftest.$ac_ext <<_ACEOF
17121/* end confdefs.h. */
17122
17123/* Override any gcc2 internal prototype to avoid an error. */
17124#ifdef __cplusplus
17125extern "C"
17126#endif
17127/* We use char because int might match the return type of a gcc2
17128 builtin and then its argument prototype would still apply. */
1409cd0b
FXC
17129char truncf ();
17130int
17131main ()
17132{
17133truncf ();
17134 ;
17135 return 0;
17136}
17137_ACEOF
17138rm -f conftest.$ac_objext conftest$ac_exeext
17139if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17140 (eval $ac_link) 2>conftest.er1
17141 ac_status=$?
17142 grep -v '^ *+' conftest.er1 >conftest.err
17143 rm -f conftest.er1
17144 cat conftest.err >&5
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); } &&
17147 { ac_try='test -z "$ac_c_werror_flag"
17148 || test ! -s conftest.err'
17149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17150 (eval $ac_try) 2>&5
17151 ac_status=$?
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); }; } &&
17154 { ac_try='test -s conftest$ac_exeext'
17155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17156 (eval $ac_try) 2>&5
17157 ac_status=$?
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); }; }; then
17160 ac_cv_lib_m_truncf=yes
17161else
17162 echo "$as_me: failed program was:" >&5
17163sed 's/^/| /' conftest.$ac_ext >&5
17164
17165ac_cv_lib_m_truncf=no
17166fi
17167rm -f conftest.err conftest.$ac_objext \
17168 conftest$ac_exeext conftest.$ac_ext
17169LIBS=$ac_check_lib_save_LIBS
17170fi
17171echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
17172echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
17173if test $ac_cv_lib_m_truncf = yes; then
17174
17175cat >>confdefs.h <<\_ACEOF
17176#define HAVE_TRUNCF 1
17177_ACEOF
17178
17179fi
17180
17181echo "$as_me:$LINENO: checking for trunc in -lm" >&5
17182echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
17183if test "${ac_cv_lib_m_trunc+set}" = set; then
17184 echo $ECHO_N "(cached) $ECHO_C" >&6
17185else
17186 ac_check_lib_save_LIBS=$LIBS
17187LIBS="-lm $LIBS"
17188if test x$gcc_no_link = xyes; then
17189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17190echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17191 { (exit 1); exit 1; }; }
17192fi
17193cat >conftest.$ac_ext <<_ACEOF
17194/* confdefs.h. */
17195_ACEOF
17196cat confdefs.h >>conftest.$ac_ext
17197cat >>conftest.$ac_ext <<_ACEOF
17198/* end confdefs.h. */
17199
17200/* Override any gcc2 internal prototype to avoid an error. */
17201#ifdef __cplusplus
17202extern "C"
17203#endif
17204/* We use char because int might match the return type of a gcc2
17205 builtin and then its argument prototype would still apply. */
17206char trunc ();
17207int
17208main ()
17209{
17210trunc ();
17211 ;
17212 return 0;
17213}
17214_ACEOF
17215rm -f conftest.$ac_objext conftest$ac_exeext
17216if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17217 (eval $ac_link) 2>conftest.er1
17218 ac_status=$?
17219 grep -v '^ *+' conftest.er1 >conftest.err
17220 rm -f conftest.er1
17221 cat conftest.err >&5
17222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223 (exit $ac_status); } &&
17224 { ac_try='test -z "$ac_c_werror_flag"
17225 || test ! -s conftest.err'
17226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17227 (eval $ac_try) 2>&5
17228 ac_status=$?
17229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17230 (exit $ac_status); }; } &&
17231 { ac_try='test -s conftest$ac_exeext'
17232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17233 (eval $ac_try) 2>&5
17234 ac_status=$?
17235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17236 (exit $ac_status); }; }; then
17237 ac_cv_lib_m_trunc=yes
17238else
17239 echo "$as_me: failed program was:" >&5
17240sed 's/^/| /' conftest.$ac_ext >&5
17241
17242ac_cv_lib_m_trunc=no
17243fi
17244rm -f conftest.err conftest.$ac_objext \
17245 conftest$ac_exeext conftest.$ac_ext
17246LIBS=$ac_check_lib_save_LIBS
17247fi
17248echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
17249echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
17250if test $ac_cv_lib_m_trunc = yes; then
17251
17252cat >>confdefs.h <<\_ACEOF
17253#define HAVE_TRUNC 1
17254_ACEOF
17255
17256fi
17257
17258echo "$as_me:$LINENO: checking for truncl in -lm" >&5
17259echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
17260if test "${ac_cv_lib_m_truncl+set}" = set; then
17261 echo $ECHO_N "(cached) $ECHO_C" >&6
17262else
17263 ac_check_lib_save_LIBS=$LIBS
17264LIBS="-lm $LIBS"
17265if test x$gcc_no_link = xyes; then
17266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17267echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17268 { (exit 1); exit 1; }; }
17269fi
17270cat >conftest.$ac_ext <<_ACEOF
17271/* confdefs.h. */
17272_ACEOF
17273cat confdefs.h >>conftest.$ac_ext
17274cat >>conftest.$ac_ext <<_ACEOF
17275/* end confdefs.h. */
17276
17277/* Override any gcc2 internal prototype to avoid an error. */
17278#ifdef __cplusplus
17279extern "C"
17280#endif
17281/* We use char because int might match the return type of a gcc2
17282 builtin and then its argument prototype would still apply. */
17283char truncl ();
17284int
17285main ()
17286{
17287truncl ();
17288 ;
17289 return 0;
17290}
17291_ACEOF
17292rm -f conftest.$ac_objext conftest$ac_exeext
17293if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17294 (eval $ac_link) 2>conftest.er1
17295 ac_status=$?
17296 grep -v '^ *+' conftest.er1 >conftest.err
17297 rm -f conftest.er1
17298 cat conftest.err >&5
17299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17300 (exit $ac_status); } &&
17301 { ac_try='test -z "$ac_c_werror_flag"
17302 || test ! -s conftest.err'
17303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17304 (eval $ac_try) 2>&5
17305 ac_status=$?
17306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17307 (exit $ac_status); }; } &&
17308 { ac_try='test -s conftest$ac_exeext'
17309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17310 (eval $ac_try) 2>&5
17311 ac_status=$?
17312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); }; }; then
17314 ac_cv_lib_m_truncl=yes
17315else
17316 echo "$as_me: failed program was:" >&5
17317sed 's/^/| /' conftest.$ac_ext >&5
17318
17319ac_cv_lib_m_truncl=no
17320fi
17321rm -f conftest.err conftest.$ac_objext \
17322 conftest$ac_exeext conftest.$ac_ext
17323LIBS=$ac_check_lib_save_LIBS
17324fi
17325echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
17326echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
17327if test $ac_cv_lib_m_truncl = yes; then
17328
17329cat >>confdefs.h <<\_ACEOF
17330#define HAVE_TRUNCL 1
17331_ACEOF
17332
17333fi
17334
17335echo "$as_me:$LINENO: checking for erff in -lm" >&5
17336echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
17337if test "${ac_cv_lib_m_erff+set}" = set; then
17338 echo $ECHO_N "(cached) $ECHO_C" >&6
17339else
17340 ac_check_lib_save_LIBS=$LIBS
17341LIBS="-lm $LIBS"
17342if test x$gcc_no_link = xyes; then
17343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17344echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17345 { (exit 1); exit 1; }; }
17346fi
17347cat >conftest.$ac_ext <<_ACEOF
17348/* confdefs.h. */
17349_ACEOF
17350cat confdefs.h >>conftest.$ac_ext
17351cat >>conftest.$ac_ext <<_ACEOF
17352/* end confdefs.h. */
17353
17354/* Override any gcc2 internal prototype to avoid an error. */
17355#ifdef __cplusplus
17356extern "C"
17357#endif
17358/* We use char because int might match the return type of a gcc2
17359 builtin and then its argument prototype would still apply. */
17360char erff ();
17361int
17362main ()
17363{
17364erff ();
17365 ;
17366 return 0;
17367}
17368_ACEOF
17369rm -f conftest.$ac_objext conftest$ac_exeext
17370if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17371 (eval $ac_link) 2>conftest.er1
17372 ac_status=$?
17373 grep -v '^ *+' conftest.er1 >conftest.err
17374 rm -f conftest.er1
17375 cat conftest.err >&5
17376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17377 (exit $ac_status); } &&
17378 { ac_try='test -z "$ac_c_werror_flag"
17379 || test ! -s conftest.err'
17380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17381 (eval $ac_try) 2>&5
17382 ac_status=$?
17383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384 (exit $ac_status); }; } &&
17385 { ac_try='test -s conftest$ac_exeext'
17386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17387 (eval $ac_try) 2>&5
17388 ac_status=$?
17389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390 (exit $ac_status); }; }; then
17391 ac_cv_lib_m_erff=yes
17392else
17393 echo "$as_me: failed program was:" >&5
17394sed 's/^/| /' conftest.$ac_ext >&5
17395
17396ac_cv_lib_m_erff=no
17397fi
17398rm -f conftest.err conftest.$ac_objext \
17399 conftest$ac_exeext conftest.$ac_ext
17400LIBS=$ac_check_lib_save_LIBS
17401fi
17402echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
17403echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
17404if test $ac_cv_lib_m_erff = yes; then
17405
17406cat >>confdefs.h <<\_ACEOF
17407#define HAVE_ERFF 1
17408_ACEOF
17409
17410fi
17411
17412echo "$as_me:$LINENO: checking for erf in -lm" >&5
17413echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
17414if test "${ac_cv_lib_m_erf+set}" = set; then
17415 echo $ECHO_N "(cached) $ECHO_C" >&6
17416else
17417 ac_check_lib_save_LIBS=$LIBS
17418LIBS="-lm $LIBS"
17419if test x$gcc_no_link = xyes; then
17420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17421echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17422 { (exit 1); exit 1; }; }
17423fi
17424cat >conftest.$ac_ext <<_ACEOF
17425/* confdefs.h. */
17426_ACEOF
17427cat confdefs.h >>conftest.$ac_ext
17428cat >>conftest.$ac_ext <<_ACEOF
17429/* end confdefs.h. */
17430
17431/* Override any gcc2 internal prototype to avoid an error. */
17432#ifdef __cplusplus
17433extern "C"
17434#endif
17435/* We use char because int might match the return type of a gcc2
17436 builtin and then its argument prototype would still apply. */
17437char erf ();
17438int
17439main ()
17440{
17441erf ();
17442 ;
17443 return 0;
17444}
17445_ACEOF
17446rm -f conftest.$ac_objext conftest$ac_exeext
17447if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17448 (eval $ac_link) 2>conftest.er1
17449 ac_status=$?
17450 grep -v '^ *+' conftest.er1 >conftest.err
17451 rm -f conftest.er1
17452 cat conftest.err >&5
17453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17454 (exit $ac_status); } &&
17455 { ac_try='test -z "$ac_c_werror_flag"
17456 || test ! -s conftest.err'
17457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17458 (eval $ac_try) 2>&5
17459 ac_status=$?
17460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461 (exit $ac_status); }; } &&
17462 { ac_try='test -s conftest$ac_exeext'
17463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17464 (eval $ac_try) 2>&5
17465 ac_status=$?
17466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17467 (exit $ac_status); }; }; then
17468 ac_cv_lib_m_erf=yes
17469else
17470 echo "$as_me: failed program was:" >&5
17471sed 's/^/| /' conftest.$ac_ext >&5
17472
17473ac_cv_lib_m_erf=no
17474fi
17475rm -f conftest.err conftest.$ac_objext \
17476 conftest$ac_exeext conftest.$ac_ext
17477LIBS=$ac_check_lib_save_LIBS
17478fi
17479echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
17480echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
17481if test $ac_cv_lib_m_erf = yes; then
17482
17483cat >>confdefs.h <<\_ACEOF
17484#define HAVE_ERF 1
17485_ACEOF
17486
17487fi
17488
17489echo "$as_me:$LINENO: checking for erfl in -lm" >&5
17490echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
17491if test "${ac_cv_lib_m_erfl+set}" = set; then
17492 echo $ECHO_N "(cached) $ECHO_C" >&6
17493else
17494 ac_check_lib_save_LIBS=$LIBS
17495LIBS="-lm $LIBS"
17496if test x$gcc_no_link = xyes; then
17497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17498echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17499 { (exit 1); exit 1; }; }
17500fi
17501cat >conftest.$ac_ext <<_ACEOF
17502/* confdefs.h. */
17503_ACEOF
17504cat confdefs.h >>conftest.$ac_ext
17505cat >>conftest.$ac_ext <<_ACEOF
17506/* end confdefs.h. */
17507
17508/* Override any gcc2 internal prototype to avoid an error. */
17509#ifdef __cplusplus
17510extern "C"
17511#endif
17512/* We use char because int might match the return type of a gcc2
17513 builtin and then its argument prototype would still apply. */
17514char erfl ();
17515int
17516main ()
17517{
17518erfl ();
17519 ;
17520 return 0;
17521}
17522_ACEOF
17523rm -f conftest.$ac_objext conftest$ac_exeext
17524if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17525 (eval $ac_link) 2>conftest.er1
17526 ac_status=$?
17527 grep -v '^ *+' conftest.er1 >conftest.err
17528 rm -f conftest.er1
17529 cat conftest.err >&5
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); } &&
17532 { ac_try='test -z "$ac_c_werror_flag"
17533 || test ! -s conftest.err'
17534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17535 (eval $ac_try) 2>&5
17536 ac_status=$?
17537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17538 (exit $ac_status); }; } &&
17539 { ac_try='test -s conftest$ac_exeext'
17540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17541 (eval $ac_try) 2>&5
17542 ac_status=$?
17543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17544 (exit $ac_status); }; }; then
17545 ac_cv_lib_m_erfl=yes
17546else
17547 echo "$as_me: failed program was:" >&5
17548sed 's/^/| /' conftest.$ac_ext >&5
17549
17550ac_cv_lib_m_erfl=no
17551fi
17552rm -f conftest.err conftest.$ac_objext \
17553 conftest$ac_exeext conftest.$ac_ext
17554LIBS=$ac_check_lib_save_LIBS
17555fi
17556echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
17557echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
17558if test $ac_cv_lib_m_erfl = yes; then
17559
17560cat >>confdefs.h <<\_ACEOF
17561#define HAVE_ERFL 1
17562_ACEOF
17563
17564fi
17565
17566echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
17567echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
17568if test "${ac_cv_lib_m_erfcf+set}" = set; then
17569 echo $ECHO_N "(cached) $ECHO_C" >&6
17570else
17571 ac_check_lib_save_LIBS=$LIBS
17572LIBS="-lm $LIBS"
17573if test x$gcc_no_link = xyes; then
17574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17575echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17576 { (exit 1); exit 1; }; }
17577fi
17578cat >conftest.$ac_ext <<_ACEOF
17579/* confdefs.h. */
17580_ACEOF
17581cat confdefs.h >>conftest.$ac_ext
17582cat >>conftest.$ac_ext <<_ACEOF
17583/* end confdefs.h. */
17584
17585/* Override any gcc2 internal prototype to avoid an error. */
17586#ifdef __cplusplus
17587extern "C"
17588#endif
17589/* We use char because int might match the return type of a gcc2
17590 builtin and then its argument prototype would still apply. */
17591char erfcf ();
17592int
17593main ()
17594{
17595erfcf ();
17596 ;
17597 return 0;
17598}
17599_ACEOF
17600rm -f conftest.$ac_objext conftest$ac_exeext
17601if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17602 (eval $ac_link) 2>conftest.er1
17603 ac_status=$?
17604 grep -v '^ *+' conftest.er1 >conftest.err
17605 rm -f conftest.er1
17606 cat conftest.err >&5
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); } &&
17609 { ac_try='test -z "$ac_c_werror_flag"
17610 || test ! -s conftest.err'
17611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17612 (eval $ac_try) 2>&5
17613 ac_status=$?
17614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17615 (exit $ac_status); }; } &&
17616 { ac_try='test -s conftest$ac_exeext'
17617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17618 (eval $ac_try) 2>&5
17619 ac_status=$?
17620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17621 (exit $ac_status); }; }; then
17622 ac_cv_lib_m_erfcf=yes
17623else
17624 echo "$as_me: failed program was:" >&5
17625sed 's/^/| /' conftest.$ac_ext >&5
17626
17627ac_cv_lib_m_erfcf=no
17628fi
17629rm -f conftest.err conftest.$ac_objext \
17630 conftest$ac_exeext conftest.$ac_ext
17631LIBS=$ac_check_lib_save_LIBS
17632fi
17633echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
17634echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
17635if test $ac_cv_lib_m_erfcf = yes; then
17636
17637cat >>confdefs.h <<\_ACEOF
17638#define HAVE_ERFCF 1
17639_ACEOF
17640
17641fi
17642
17643echo "$as_me:$LINENO: checking for erfc in -lm" >&5
17644echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
17645if test "${ac_cv_lib_m_erfc+set}" = set; then
17646 echo $ECHO_N "(cached) $ECHO_C" >&6
17647else
17648 ac_check_lib_save_LIBS=$LIBS
17649LIBS="-lm $LIBS"
17650if test x$gcc_no_link = xyes; then
17651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17652echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17653 { (exit 1); exit 1; }; }
17654fi
17655cat >conftest.$ac_ext <<_ACEOF
17656/* confdefs.h. */
17657_ACEOF
17658cat confdefs.h >>conftest.$ac_ext
17659cat >>conftest.$ac_ext <<_ACEOF
17660/* end confdefs.h. */
17661
17662/* Override any gcc2 internal prototype to avoid an error. */
17663#ifdef __cplusplus
17664extern "C"
17665#endif
17666/* We use char because int might match the return type of a gcc2
17667 builtin and then its argument prototype would still apply. */
17668char erfc ();
69a2d125
EB
17669int
17670main ()
17671{
1409cd0b 17672erfc ();
69a2d125
EB
17673 ;
17674 return 0;
17675}
17676_ACEOF
17677rm -f conftest.$ac_objext conftest$ac_exeext
17678if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17679 (eval $ac_link) 2>conftest.er1
17680 ac_status=$?
17681 grep -v '^ *+' conftest.er1 >conftest.err
17682 rm -f conftest.er1
17683 cat conftest.err >&5
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); } &&
1409cd0b
FXC
17686 { ac_try='test -z "$ac_c_werror_flag"
17687 || test ! -s conftest.err'
69a2d125
EB
17688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17689 (eval $ac_try) 2>&5
17690 ac_status=$?
17691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17692 (exit $ac_status); }; } &&
17693 { ac_try='test -s conftest$ac_exeext'
17694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17695 (eval $ac_try) 2>&5
17696 ac_status=$?
17697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17698 (exit $ac_status); }; }; then
1409cd0b 17699 ac_cv_lib_m_erfc=yes
69a2d125
EB
17700else
17701 echo "$as_me: failed program was:" >&5
17702sed 's/^/| /' conftest.$ac_ext >&5
17703
1409cd0b 17704ac_cv_lib_m_erfc=no
69a2d125
EB
17705fi
17706rm -f conftest.err conftest.$ac_objext \
17707 conftest$ac_exeext conftest.$ac_ext
17708LIBS=$ac_check_lib_save_LIBS
17709fi
1409cd0b
FXC
17710echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
17711echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
17712if test $ac_cv_lib_m_erfc = yes; then
69a2d125
EB
17713
17714cat >>confdefs.h <<\_ACEOF
1409cd0b 17715#define HAVE_ERFC 1
69a2d125
EB
17716_ACEOF
17717
17718fi
17719
1409cd0b
FXC
17720echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
17721echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
17722if test "${ac_cv_lib_m_erfcl+set}" = set; then
e8525382
SK
17723 echo $ECHO_N "(cached) $ECHO_C" >&6
17724else
17725 ac_check_lib_save_LIBS=$LIBS
17726LIBS="-lm $LIBS"
f02d008e
JD
17727if test x$gcc_no_link = xyes; then
17728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17729echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17730 { (exit 1); exit 1; }; }
17731fi
e8525382
SK
17732cat >conftest.$ac_ext <<_ACEOF
17733/* confdefs.h. */
17734_ACEOF
17735cat confdefs.h >>conftest.$ac_ext
17736cat >>conftest.$ac_ext <<_ACEOF
17737/* end confdefs.h. */
17738
17739/* Override any gcc2 internal prototype to avoid an error. */
17740#ifdef __cplusplus
17741extern "C"
17742#endif
17743/* We use char because int might match the return type of a gcc2
17744 builtin and then its argument prototype would still apply. */
1409cd0b 17745char erfcl ();
e8525382
SK
17746int
17747main ()
17748{
1409cd0b 17749erfcl ();
e8525382
SK
17750 ;
17751 return 0;
17752}
17753_ACEOF
17754rm -f conftest.$ac_objext conftest$ac_exeext
17755if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17756 (eval $ac_link) 2>conftest.er1
17757 ac_status=$?
17758 grep -v '^ *+' conftest.er1 >conftest.err
17759 rm -f conftest.er1
17760 cat conftest.err >&5
17761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); } &&
1409cd0b
FXC
17763 { ac_try='test -z "$ac_c_werror_flag"
17764 || test ! -s conftest.err'
e8525382
SK
17765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17766 (eval $ac_try) 2>&5
17767 ac_status=$?
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); }; } &&
17770 { ac_try='test -s conftest$ac_exeext'
17771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17772 (eval $ac_try) 2>&5
17773 ac_status=$?
17774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775 (exit $ac_status); }; }; then
1409cd0b 17776 ac_cv_lib_m_erfcl=yes
e8525382
SK
17777else
17778 echo "$as_me: failed program was:" >&5
17779sed 's/^/| /' conftest.$ac_ext >&5
17780
1409cd0b 17781ac_cv_lib_m_erfcl=no
e8525382
SK
17782fi
17783rm -f conftest.err conftest.$ac_objext \
17784 conftest$ac_exeext conftest.$ac_ext
17785LIBS=$ac_check_lib_save_LIBS
17786fi
1409cd0b
FXC
17787echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
17788echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
17789if test $ac_cv_lib_m_erfcl = yes; then
e8525382
SK
17790
17791cat >>confdefs.h <<\_ACEOF
1409cd0b 17792#define HAVE_ERFCL 1
e8525382
SK
17793_ACEOF
17794
17795fi
17796
1409cd0b
FXC
17797echo "$as_me:$LINENO: checking for j0f in -lm" >&5
17798echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
17799if test "${ac_cv_lib_m_j0f+set}" = set; then
e8525382
SK
17800 echo $ECHO_N "(cached) $ECHO_C" >&6
17801else
17802 ac_check_lib_save_LIBS=$LIBS
17803LIBS="-lm $LIBS"
f02d008e
JD
17804if test x$gcc_no_link = xyes; then
17805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17806echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17807 { (exit 1); exit 1; }; }
17808fi
e8525382
SK
17809cat >conftest.$ac_ext <<_ACEOF
17810/* confdefs.h. */
17811_ACEOF
17812cat confdefs.h >>conftest.$ac_ext
17813cat >>conftest.$ac_ext <<_ACEOF
17814/* end confdefs.h. */
17815
17816/* Override any gcc2 internal prototype to avoid an error. */
17817#ifdef __cplusplus
17818extern "C"
17819#endif
17820/* We use char because int might match the return type of a gcc2
17821 builtin and then its argument prototype would still apply. */
1409cd0b 17822char j0f ();
e8525382
SK
17823int
17824main ()
17825{
1409cd0b 17826j0f ();
e8525382
SK
17827 ;
17828 return 0;
17829}
17830_ACEOF
17831rm -f conftest.$ac_objext conftest$ac_exeext
17832if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17833 (eval $ac_link) 2>conftest.er1
17834 ac_status=$?
17835 grep -v '^ *+' conftest.er1 >conftest.err
17836 rm -f conftest.er1
17837 cat conftest.err >&5
17838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17839 (exit $ac_status); } &&
1409cd0b
FXC
17840 { ac_try='test -z "$ac_c_werror_flag"
17841 || test ! -s conftest.err'
e8525382
SK
17842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17843 (eval $ac_try) 2>&5
17844 ac_status=$?
17845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17846 (exit $ac_status); }; } &&
17847 { ac_try='test -s conftest$ac_exeext'
17848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17849 (eval $ac_try) 2>&5
17850 ac_status=$?
17851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17852 (exit $ac_status); }; }; then
1409cd0b 17853 ac_cv_lib_m_j0f=yes
e8525382
SK
17854else
17855 echo "$as_me: failed program was:" >&5
17856sed 's/^/| /' conftest.$ac_ext >&5
17857
1409cd0b
FXC
17858ac_cv_lib_m_j0f=no
17859fi
17860rm -f conftest.err conftest.$ac_objext \
17861 conftest$ac_exeext conftest.$ac_ext
17862LIBS=$ac_check_lib_save_LIBS
17863fi
17864echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
17865echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
17866if test $ac_cv_lib_m_j0f = yes; then
17867
17868cat >>confdefs.h <<\_ACEOF
17869#define HAVE_J0F 1
17870_ACEOF
17871
17872fi
17873
17874echo "$as_me:$LINENO: checking for j0 in -lm" >&5
17875echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
17876if test "${ac_cv_lib_m_j0+set}" = set; then
17877 echo $ECHO_N "(cached) $ECHO_C" >&6
17878else
17879 ac_check_lib_save_LIBS=$LIBS
17880LIBS="-lm $LIBS"
17881if test x$gcc_no_link = xyes; then
17882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17883echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17884 { (exit 1); exit 1; }; }
17885fi
17886cat >conftest.$ac_ext <<_ACEOF
17887/* confdefs.h. */
17888_ACEOF
17889cat confdefs.h >>conftest.$ac_ext
17890cat >>conftest.$ac_ext <<_ACEOF
17891/* end confdefs.h. */
17892
17893/* Override any gcc2 internal prototype to avoid an error. */
17894#ifdef __cplusplus
17895extern "C"
17896#endif
17897/* We use char because int might match the return type of a gcc2
17898 builtin and then its argument prototype would still apply. */
17899char j0 ();
17900int
17901main ()
17902{
17903j0 ();
17904 ;
17905 return 0;
17906}
17907_ACEOF
17908rm -f conftest.$ac_objext conftest$ac_exeext
17909if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17910 (eval $ac_link) 2>conftest.er1
17911 ac_status=$?
17912 grep -v '^ *+' conftest.er1 >conftest.err
17913 rm -f conftest.er1
17914 cat conftest.err >&5
17915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17916 (exit $ac_status); } &&
17917 { ac_try='test -z "$ac_c_werror_flag"
17918 || test ! -s conftest.err'
17919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17920 (eval $ac_try) 2>&5
17921 ac_status=$?
17922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17923 (exit $ac_status); }; } &&
17924 { ac_try='test -s conftest$ac_exeext'
17925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17926 (eval $ac_try) 2>&5
17927 ac_status=$?
17928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17929 (exit $ac_status); }; }; then
17930 ac_cv_lib_m_j0=yes
17931else
17932 echo "$as_me: failed program was:" >&5
17933sed 's/^/| /' conftest.$ac_ext >&5
17934
17935ac_cv_lib_m_j0=no
17936fi
17937rm -f conftest.err conftest.$ac_objext \
17938 conftest$ac_exeext conftest.$ac_ext
17939LIBS=$ac_check_lib_save_LIBS
17940fi
17941echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
17942echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
17943if test $ac_cv_lib_m_j0 = yes; then
17944
17945cat >>confdefs.h <<\_ACEOF
17946#define HAVE_J0 1
17947_ACEOF
17948
17949fi
17950
17951echo "$as_me:$LINENO: checking for j0l in -lm" >&5
17952echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
17953if test "${ac_cv_lib_m_j0l+set}" = set; then
17954 echo $ECHO_N "(cached) $ECHO_C" >&6
17955else
17956 ac_check_lib_save_LIBS=$LIBS
17957LIBS="-lm $LIBS"
17958if test x$gcc_no_link = xyes; then
17959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17960echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17961 { (exit 1); exit 1; }; }
17962fi
17963cat >conftest.$ac_ext <<_ACEOF
17964/* confdefs.h. */
17965_ACEOF
17966cat confdefs.h >>conftest.$ac_ext
17967cat >>conftest.$ac_ext <<_ACEOF
17968/* end confdefs.h. */
17969
17970/* Override any gcc2 internal prototype to avoid an error. */
17971#ifdef __cplusplus
17972extern "C"
17973#endif
17974/* We use char because int might match the return type of a gcc2
17975 builtin and then its argument prototype would still apply. */
17976char j0l ();
17977int
17978main ()
17979{
17980j0l ();
17981 ;
17982 return 0;
17983}
17984_ACEOF
17985rm -f conftest.$ac_objext conftest$ac_exeext
17986if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17987 (eval $ac_link) 2>conftest.er1
17988 ac_status=$?
17989 grep -v '^ *+' conftest.er1 >conftest.err
17990 rm -f conftest.er1
17991 cat conftest.err >&5
17992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17993 (exit $ac_status); } &&
17994 { ac_try='test -z "$ac_c_werror_flag"
17995 || test ! -s conftest.err'
17996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17997 (eval $ac_try) 2>&5
17998 ac_status=$?
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); }; } &&
18001 { ac_try='test -s conftest$ac_exeext'
18002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18003 (eval $ac_try) 2>&5
18004 ac_status=$?
18005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006 (exit $ac_status); }; }; then
18007 ac_cv_lib_m_j0l=yes
18008else
18009 echo "$as_me: failed program was:" >&5
18010sed 's/^/| /' conftest.$ac_ext >&5
18011
18012ac_cv_lib_m_j0l=no
18013fi
18014rm -f conftest.err conftest.$ac_objext \
18015 conftest$ac_exeext conftest.$ac_ext
18016LIBS=$ac_check_lib_save_LIBS
18017fi
18018echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
18019echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
18020if test $ac_cv_lib_m_j0l = yes; then
18021
18022cat >>confdefs.h <<\_ACEOF
18023#define HAVE_J0L 1
18024_ACEOF
18025
18026fi
18027
18028echo "$as_me:$LINENO: checking for j1f in -lm" >&5
18029echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
18030if test "${ac_cv_lib_m_j1f+set}" = set; then
18031 echo $ECHO_N "(cached) $ECHO_C" >&6
18032else
18033 ac_check_lib_save_LIBS=$LIBS
18034LIBS="-lm $LIBS"
18035if test x$gcc_no_link = xyes; then
18036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18037echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18038 { (exit 1); exit 1; }; }
18039fi
18040cat >conftest.$ac_ext <<_ACEOF
18041/* confdefs.h. */
18042_ACEOF
18043cat confdefs.h >>conftest.$ac_ext
18044cat >>conftest.$ac_ext <<_ACEOF
18045/* end confdefs.h. */
18046
18047/* Override any gcc2 internal prototype to avoid an error. */
18048#ifdef __cplusplus
18049extern "C"
18050#endif
18051/* We use char because int might match the return type of a gcc2
18052 builtin and then its argument prototype would still apply. */
18053char j1f ();
18054int
18055main ()
18056{
18057j1f ();
18058 ;
18059 return 0;
18060}
18061_ACEOF
18062rm -f conftest.$ac_objext conftest$ac_exeext
18063if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18064 (eval $ac_link) 2>conftest.er1
18065 ac_status=$?
18066 grep -v '^ *+' conftest.er1 >conftest.err
18067 rm -f conftest.er1
18068 cat conftest.err >&5
18069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18070 (exit $ac_status); } &&
18071 { ac_try='test -z "$ac_c_werror_flag"
18072 || test ! -s conftest.err'
18073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18074 (eval $ac_try) 2>&5
18075 ac_status=$?
18076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18077 (exit $ac_status); }; } &&
18078 { ac_try='test -s conftest$ac_exeext'
18079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18080 (eval $ac_try) 2>&5
18081 ac_status=$?
18082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18083 (exit $ac_status); }; }; then
18084 ac_cv_lib_m_j1f=yes
18085else
18086 echo "$as_me: failed program was:" >&5
18087sed 's/^/| /' conftest.$ac_ext >&5
18088
18089ac_cv_lib_m_j1f=no
e8525382
SK
18090fi
18091rm -f conftest.err conftest.$ac_objext \
18092 conftest$ac_exeext conftest.$ac_ext
18093LIBS=$ac_check_lib_save_LIBS
18094fi
1409cd0b
FXC
18095echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
18096echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
18097if test $ac_cv_lib_m_j1f = yes; then
e8525382
SK
18098
18099cat >>confdefs.h <<\_ACEOF
1409cd0b 18100#define HAVE_J1F 1
e8525382
SK
18101_ACEOF
18102
18103fi
18104
1409cd0b
FXC
18105echo "$as_me:$LINENO: checking for j1 in -lm" >&5
18106echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
18107if test "${ac_cv_lib_m_j1+set}" = set; then
e8525382
SK
18108 echo $ECHO_N "(cached) $ECHO_C" >&6
18109else
18110 ac_check_lib_save_LIBS=$LIBS
18111LIBS="-lm $LIBS"
f02d008e
JD
18112if test x$gcc_no_link = xyes; then
18113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18114echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18115 { (exit 1); exit 1; }; }
18116fi
e8525382
SK
18117cat >conftest.$ac_ext <<_ACEOF
18118/* confdefs.h. */
18119_ACEOF
18120cat confdefs.h >>conftest.$ac_ext
18121cat >>conftest.$ac_ext <<_ACEOF
18122/* end confdefs.h. */
18123
18124/* Override any gcc2 internal prototype to avoid an error. */
18125#ifdef __cplusplus
18126extern "C"
18127#endif
18128/* We use char because int might match the return type of a gcc2
18129 builtin and then its argument prototype would still apply. */
1409cd0b 18130char j1 ();
e8525382
SK
18131int
18132main ()
18133{
1409cd0b 18134j1 ();
e8525382
SK
18135 ;
18136 return 0;
18137}
18138_ACEOF
18139rm -f conftest.$ac_objext conftest$ac_exeext
18140if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18141 (eval $ac_link) 2>conftest.er1
18142 ac_status=$?
18143 grep -v '^ *+' conftest.er1 >conftest.err
18144 rm -f conftest.er1
18145 cat conftest.err >&5
18146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147 (exit $ac_status); } &&
1409cd0b
FXC
18148 { ac_try='test -z "$ac_c_werror_flag"
18149 || test ! -s conftest.err'
e8525382
SK
18150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18151 (eval $ac_try) 2>&5
18152 ac_status=$?
18153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154 (exit $ac_status); }; } &&
18155 { ac_try='test -s conftest$ac_exeext'
18156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18157 (eval $ac_try) 2>&5
18158 ac_status=$?
18159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160 (exit $ac_status); }; }; then
1409cd0b 18161 ac_cv_lib_m_j1=yes
e8525382
SK
18162else
18163 echo "$as_me: failed program was:" >&5
18164sed 's/^/| /' conftest.$ac_ext >&5
18165
1409cd0b 18166ac_cv_lib_m_j1=no
e8525382
SK
18167fi
18168rm -f conftest.err conftest.$ac_objext \
18169 conftest$ac_exeext conftest.$ac_ext
18170LIBS=$ac_check_lib_save_LIBS
18171fi
1409cd0b
FXC
18172echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
18173echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
18174if test $ac_cv_lib_m_j1 = yes; then
e8525382
SK
18175
18176cat >>confdefs.h <<\_ACEOF
1409cd0b 18177#define HAVE_J1 1
e8525382
SK
18178_ACEOF
18179
18180fi
18181
1409cd0b
FXC
18182echo "$as_me:$LINENO: checking for j1l in -lm" >&5
18183echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
18184if test "${ac_cv_lib_m_j1l+set}" = set; then
e8525382
SK
18185 echo $ECHO_N "(cached) $ECHO_C" >&6
18186else
18187 ac_check_lib_save_LIBS=$LIBS
18188LIBS="-lm $LIBS"
f02d008e
JD
18189if test x$gcc_no_link = xyes; then
18190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18191echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18192 { (exit 1); exit 1; }; }
18193fi
e8525382
SK
18194cat >conftest.$ac_ext <<_ACEOF
18195/* confdefs.h. */
18196_ACEOF
18197cat confdefs.h >>conftest.$ac_ext
18198cat >>conftest.$ac_ext <<_ACEOF
18199/* end confdefs.h. */
18200
18201/* Override any gcc2 internal prototype to avoid an error. */
18202#ifdef __cplusplus
18203extern "C"
18204#endif
18205/* We use char because int might match the return type of a gcc2
18206 builtin and then its argument prototype would still apply. */
1409cd0b 18207char j1l ();
e8525382
SK
18208int
18209main ()
18210{
1409cd0b 18211j1l ();
e8525382
SK
18212 ;
18213 return 0;
18214}
18215_ACEOF
18216rm -f conftest.$ac_objext conftest$ac_exeext
18217if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18218 (eval $ac_link) 2>conftest.er1
18219 ac_status=$?
18220 grep -v '^ *+' conftest.er1 >conftest.err
18221 rm -f conftest.er1
18222 cat conftest.err >&5
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); } &&
1409cd0b
FXC
18225 { ac_try='test -z "$ac_c_werror_flag"
18226 || test ! -s conftest.err'
e8525382
SK
18227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18228 (eval $ac_try) 2>&5
18229 ac_status=$?
18230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231 (exit $ac_status); }; } &&
18232 { ac_try='test -s conftest$ac_exeext'
18233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18234 (eval $ac_try) 2>&5
18235 ac_status=$?
18236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18237 (exit $ac_status); }; }; then
1409cd0b 18238 ac_cv_lib_m_j1l=yes
e8525382
SK
18239else
18240 echo "$as_me: failed program was:" >&5
18241sed 's/^/| /' conftest.$ac_ext >&5
18242
1409cd0b 18243ac_cv_lib_m_j1l=no
e8525382
SK
18244fi
18245rm -f conftest.err conftest.$ac_objext \
18246 conftest$ac_exeext conftest.$ac_ext
18247LIBS=$ac_check_lib_save_LIBS
18248fi
1409cd0b
FXC
18249echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
18250echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
18251if test $ac_cv_lib_m_j1l = yes; then
e8525382
SK
18252
18253cat >>confdefs.h <<\_ACEOF
1409cd0b 18254#define HAVE_J1L 1
e8525382
SK
18255_ACEOF
18256
18257fi
18258
1409cd0b
FXC
18259echo "$as_me:$LINENO: checking for jnf in -lm" >&5
18260echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
18261if test "${ac_cv_lib_m_jnf+set}" = set; then
e8525382
SK
18262 echo $ECHO_N "(cached) $ECHO_C" >&6
18263else
18264 ac_check_lib_save_LIBS=$LIBS
18265LIBS="-lm $LIBS"
f02d008e
JD
18266if test x$gcc_no_link = xyes; then
18267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18268echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18269 { (exit 1); exit 1; }; }
18270fi
e8525382
SK
18271cat >conftest.$ac_ext <<_ACEOF
18272/* confdefs.h. */
18273_ACEOF
18274cat confdefs.h >>conftest.$ac_ext
18275cat >>conftest.$ac_ext <<_ACEOF
18276/* end confdefs.h. */
18277
18278/* Override any gcc2 internal prototype to avoid an error. */
18279#ifdef __cplusplus
18280extern "C"
18281#endif
18282/* We use char because int might match the return type of a gcc2
18283 builtin and then its argument prototype would still apply. */
1409cd0b 18284char jnf ();
e8525382
SK
18285int
18286main ()
18287{
1409cd0b 18288jnf ();
e8525382
SK
18289 ;
18290 return 0;
18291}
18292_ACEOF
18293rm -f conftest.$ac_objext conftest$ac_exeext
18294if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18295 (eval $ac_link) 2>conftest.er1
18296 ac_status=$?
18297 grep -v '^ *+' conftest.er1 >conftest.err
18298 rm -f conftest.er1
18299 cat conftest.err >&5
18300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18301 (exit $ac_status); } &&
1409cd0b
FXC
18302 { ac_try='test -z "$ac_c_werror_flag"
18303 || test ! -s conftest.err'
e8525382
SK
18304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18305 (eval $ac_try) 2>&5
18306 ac_status=$?
18307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18308 (exit $ac_status); }; } &&
18309 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
1409cd0b 18315 ac_cv_lib_m_jnf=yes
e8525382
SK
18316else
18317 echo "$as_me: failed program was:" >&5
18318sed 's/^/| /' conftest.$ac_ext >&5
18319
1409cd0b 18320ac_cv_lib_m_jnf=no
e8525382
SK
18321fi
18322rm -f conftest.err conftest.$ac_objext \
18323 conftest$ac_exeext conftest.$ac_ext
18324LIBS=$ac_check_lib_save_LIBS
18325fi
1409cd0b
FXC
18326echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
18327echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
18328if test $ac_cv_lib_m_jnf = yes; then
e8525382
SK
18329
18330cat >>confdefs.h <<\_ACEOF
1409cd0b 18331#define HAVE_JNF 1
e8525382
SK
18332_ACEOF
18333
18334fi
18335
1409cd0b
FXC
18336echo "$as_me:$LINENO: checking for jn in -lm" >&5
18337echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
18338if test "${ac_cv_lib_m_jn+set}" = set; then
e8525382
SK
18339 echo $ECHO_N "(cached) $ECHO_C" >&6
18340else
18341 ac_check_lib_save_LIBS=$LIBS
18342LIBS="-lm $LIBS"
f02d008e
JD
18343if test x$gcc_no_link = xyes; then
18344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18345echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18346 { (exit 1); exit 1; }; }
18347fi
e8525382
SK
18348cat >conftest.$ac_ext <<_ACEOF
18349/* confdefs.h. */
18350_ACEOF
18351cat confdefs.h >>conftest.$ac_ext
18352cat >>conftest.$ac_ext <<_ACEOF
18353/* end confdefs.h. */
18354
18355/* Override any gcc2 internal prototype to avoid an error. */
18356#ifdef __cplusplus
18357extern "C"
18358#endif
18359/* We use char because int might match the return type of a gcc2
18360 builtin and then its argument prototype would still apply. */
1409cd0b 18361char jn ();
e8525382
SK
18362int
18363main ()
18364{
1409cd0b 18365jn ();
e8525382
SK
18366 ;
18367 return 0;
18368}
18369_ACEOF
18370rm -f conftest.$ac_objext conftest$ac_exeext
18371if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18372 (eval $ac_link) 2>conftest.er1
18373 ac_status=$?
18374 grep -v '^ *+' conftest.er1 >conftest.err
18375 rm -f conftest.er1
18376 cat conftest.err >&5
18377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378 (exit $ac_status); } &&
1409cd0b
FXC
18379 { ac_try='test -z "$ac_c_werror_flag"
18380 || test ! -s conftest.err'
e8525382
SK
18381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18382 (eval $ac_try) 2>&5
18383 ac_status=$?
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); }; } &&
18386 { ac_try='test -s conftest$ac_exeext'
18387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18388 (eval $ac_try) 2>&5
18389 ac_status=$?
18390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18391 (exit $ac_status); }; }; then
1409cd0b 18392 ac_cv_lib_m_jn=yes
e8525382
SK
18393else
18394 echo "$as_me: failed program was:" >&5
18395sed 's/^/| /' conftest.$ac_ext >&5
18396
1409cd0b 18397ac_cv_lib_m_jn=no
e8525382
SK
18398fi
18399rm -f conftest.err conftest.$ac_objext \
18400 conftest$ac_exeext conftest.$ac_ext
18401LIBS=$ac_check_lib_save_LIBS
18402fi
1409cd0b
FXC
18403echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
18404echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
18405if test $ac_cv_lib_m_jn = yes; then
e8525382
SK
18406
18407cat >>confdefs.h <<\_ACEOF
1409cd0b 18408#define HAVE_JN 1
e8525382
SK
18409_ACEOF
18410
18411fi
18412
1409cd0b
FXC
18413echo "$as_me:$LINENO: checking for jnl in -lm" >&5
18414echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
18415if test "${ac_cv_lib_m_jnl+set}" = set; then
e8525382
SK
18416 echo $ECHO_N "(cached) $ECHO_C" >&6
18417else
18418 ac_check_lib_save_LIBS=$LIBS
18419LIBS="-lm $LIBS"
f02d008e
JD
18420if test x$gcc_no_link = xyes; then
18421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18422echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18423 { (exit 1); exit 1; }; }
18424fi
e8525382
SK
18425cat >conftest.$ac_ext <<_ACEOF
18426/* confdefs.h. */
18427_ACEOF
18428cat confdefs.h >>conftest.$ac_ext
18429cat >>conftest.$ac_ext <<_ACEOF
18430/* end confdefs.h. */
18431
18432/* Override any gcc2 internal prototype to avoid an error. */
18433#ifdef __cplusplus
18434extern "C"
18435#endif
18436/* We use char because int might match the return type of a gcc2
18437 builtin and then its argument prototype would still apply. */
1409cd0b 18438char jnl ();
e8525382
SK
18439int
18440main ()
18441{
1409cd0b 18442jnl ();
e8525382
SK
18443 ;
18444 return 0;
18445}
18446_ACEOF
18447rm -f conftest.$ac_objext conftest$ac_exeext
18448if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18449 (eval $ac_link) 2>conftest.er1
18450 ac_status=$?
18451 grep -v '^ *+' conftest.er1 >conftest.err
18452 rm -f conftest.er1
18453 cat conftest.err >&5
18454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455 (exit $ac_status); } &&
1409cd0b
FXC
18456 { ac_try='test -z "$ac_c_werror_flag"
18457 || test ! -s conftest.err'
e8525382
SK
18458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18459 (eval $ac_try) 2>&5
18460 ac_status=$?
18461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18462 (exit $ac_status); }; } &&
18463 { ac_try='test -s conftest$ac_exeext'
18464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18465 (eval $ac_try) 2>&5
18466 ac_status=$?
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); }; }; then
1409cd0b 18469 ac_cv_lib_m_jnl=yes
e8525382
SK
18470else
18471 echo "$as_me: failed program was:" >&5
18472sed 's/^/| /' conftest.$ac_ext >&5
18473
1409cd0b 18474ac_cv_lib_m_jnl=no
e8525382
SK
18475fi
18476rm -f conftest.err conftest.$ac_objext \
18477 conftest$ac_exeext conftest.$ac_ext
18478LIBS=$ac_check_lib_save_LIBS
18479fi
1409cd0b
FXC
18480echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
18481echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
18482if test $ac_cv_lib_m_jnl = yes; then
e8525382
SK
18483
18484cat >>confdefs.h <<\_ACEOF
1409cd0b 18485#define HAVE_JNL 1
e8525382
SK
18486_ACEOF
18487
18488fi
18489
1409cd0b
FXC
18490echo "$as_me:$LINENO: checking for y0f in -lm" >&5
18491echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
18492if test "${ac_cv_lib_m_y0f+set}" = set; then
e8525382
SK
18493 echo $ECHO_N "(cached) $ECHO_C" >&6
18494else
18495 ac_check_lib_save_LIBS=$LIBS
18496LIBS="-lm $LIBS"
f02d008e
JD
18497if test x$gcc_no_link = xyes; then
18498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18499echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18500 { (exit 1); exit 1; }; }
18501fi
e8525382
SK
18502cat >conftest.$ac_ext <<_ACEOF
18503/* confdefs.h. */
18504_ACEOF
18505cat confdefs.h >>conftest.$ac_ext
18506cat >>conftest.$ac_ext <<_ACEOF
18507/* end confdefs.h. */
18508
18509/* Override any gcc2 internal prototype to avoid an error. */
18510#ifdef __cplusplus
18511extern "C"
18512#endif
18513/* We use char because int might match the return type of a gcc2
18514 builtin and then its argument prototype would still apply. */
1409cd0b 18515char y0f ();
e8525382
SK
18516int
18517main ()
18518{
1409cd0b 18519y0f ();
e8525382
SK
18520 ;
18521 return 0;
18522}
18523_ACEOF
18524rm -f conftest.$ac_objext conftest$ac_exeext
18525if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18526 (eval $ac_link) 2>conftest.er1
18527 ac_status=$?
18528 grep -v '^ *+' conftest.er1 >conftest.err
18529 rm -f conftest.er1
18530 cat conftest.err >&5
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); } &&
1409cd0b
FXC
18533 { ac_try='test -z "$ac_c_werror_flag"
18534 || test ! -s conftest.err'
e8525382
SK
18535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18536 (eval $ac_try) 2>&5
18537 ac_status=$?
18538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18539 (exit $ac_status); }; } &&
18540 { ac_try='test -s conftest$ac_exeext'
18541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18542 (eval $ac_try) 2>&5
18543 ac_status=$?
18544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18545 (exit $ac_status); }; }; then
1409cd0b 18546 ac_cv_lib_m_y0f=yes
e8525382
SK
18547else
18548 echo "$as_me: failed program was:" >&5
18549sed 's/^/| /' conftest.$ac_ext >&5
18550
1409cd0b 18551ac_cv_lib_m_y0f=no
e8525382
SK
18552fi
18553rm -f conftest.err conftest.$ac_objext \
18554 conftest$ac_exeext conftest.$ac_ext
18555LIBS=$ac_check_lib_save_LIBS
18556fi
1409cd0b
FXC
18557echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
18558echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
18559if test $ac_cv_lib_m_y0f = yes; then
e8525382
SK
18560
18561cat >>confdefs.h <<\_ACEOF
1409cd0b 18562#define HAVE_Y0F 1
e8525382
SK
18563_ACEOF
18564
18565fi
18566
1409cd0b
FXC
18567echo "$as_me:$LINENO: checking for y0 in -lm" >&5
18568echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
18569if test "${ac_cv_lib_m_y0+set}" = set; then
e8525382
SK
18570 echo $ECHO_N "(cached) $ECHO_C" >&6
18571else
18572 ac_check_lib_save_LIBS=$LIBS
18573LIBS="-lm $LIBS"
f02d008e
JD
18574if test x$gcc_no_link = xyes; then
18575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18576echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18577 { (exit 1); exit 1; }; }
18578fi
e8525382
SK
18579cat >conftest.$ac_ext <<_ACEOF
18580/* confdefs.h. */
18581_ACEOF
18582cat confdefs.h >>conftest.$ac_ext
18583cat >>conftest.$ac_ext <<_ACEOF
18584/* end confdefs.h. */
18585
18586/* Override any gcc2 internal prototype to avoid an error. */
18587#ifdef __cplusplus
18588extern "C"
18589#endif
18590/* We use char because int might match the return type of a gcc2
18591 builtin and then its argument prototype would still apply. */
1409cd0b 18592char y0 ();
e8525382
SK
18593int
18594main ()
18595{
1409cd0b 18596y0 ();
e8525382
SK
18597 ;
18598 return 0;
18599}
18600_ACEOF
18601rm -f conftest.$ac_objext conftest$ac_exeext
18602if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18603 (eval $ac_link) 2>conftest.er1
18604 ac_status=$?
18605 grep -v '^ *+' conftest.er1 >conftest.err
18606 rm -f conftest.er1
18607 cat conftest.err >&5
18608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18609 (exit $ac_status); } &&
1409cd0b
FXC
18610 { ac_try='test -z "$ac_c_werror_flag"
18611 || test ! -s conftest.err'
e8525382
SK
18612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18613 (eval $ac_try) 2>&5
18614 ac_status=$?
18615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18616 (exit $ac_status); }; } &&
18617 { ac_try='test -s conftest$ac_exeext'
18618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18619 (eval $ac_try) 2>&5
18620 ac_status=$?
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); }; }; then
1409cd0b 18623 ac_cv_lib_m_y0=yes
e8525382
SK
18624else
18625 echo "$as_me: failed program was:" >&5
18626sed 's/^/| /' conftest.$ac_ext >&5
18627
1409cd0b 18628ac_cv_lib_m_y0=no
e8525382
SK
18629fi
18630rm -f conftest.err conftest.$ac_objext \
18631 conftest$ac_exeext conftest.$ac_ext
18632LIBS=$ac_check_lib_save_LIBS
18633fi
1409cd0b
FXC
18634echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
18635echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
18636if test $ac_cv_lib_m_y0 = yes; then
e8525382
SK
18637
18638cat >>confdefs.h <<\_ACEOF
1409cd0b 18639#define HAVE_Y0 1
e8525382
SK
18640_ACEOF
18641
18642fi
18643
1409cd0b
FXC
18644echo "$as_me:$LINENO: checking for y0l in -lm" >&5
18645echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
18646if test "${ac_cv_lib_m_y0l+set}" = set; then
e8525382
SK
18647 echo $ECHO_N "(cached) $ECHO_C" >&6
18648else
18649 ac_check_lib_save_LIBS=$LIBS
18650LIBS="-lm $LIBS"
f02d008e
JD
18651if test x$gcc_no_link = xyes; then
18652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18653echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18654 { (exit 1); exit 1; }; }
18655fi
e8525382
SK
18656cat >conftest.$ac_ext <<_ACEOF
18657/* confdefs.h. */
18658_ACEOF
18659cat confdefs.h >>conftest.$ac_ext
18660cat >>conftest.$ac_ext <<_ACEOF
18661/* end confdefs.h. */
18662
18663/* Override any gcc2 internal prototype to avoid an error. */
18664#ifdef __cplusplus
18665extern "C"
18666#endif
18667/* We use char because int might match the return type of a gcc2
18668 builtin and then its argument prototype would still apply. */
1409cd0b 18669char y0l ();
e8525382
SK
18670int
18671main ()
18672{
1409cd0b 18673y0l ();
e8525382
SK
18674 ;
18675 return 0;
18676}
18677_ACEOF
18678rm -f conftest.$ac_objext conftest$ac_exeext
18679if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18680 (eval $ac_link) 2>conftest.er1
18681 ac_status=$?
18682 grep -v '^ *+' conftest.er1 >conftest.err
18683 rm -f conftest.er1
18684 cat conftest.err >&5
18685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18686 (exit $ac_status); } &&
1409cd0b
FXC
18687 { ac_try='test -z "$ac_c_werror_flag"
18688 || test ! -s conftest.err'
e8525382
SK
18689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18690 (eval $ac_try) 2>&5
18691 ac_status=$?
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); }; } &&
18694 { ac_try='test -s conftest$ac_exeext'
18695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18696 (eval $ac_try) 2>&5
18697 ac_status=$?
18698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 (exit $ac_status); }; }; then
1409cd0b 18700 ac_cv_lib_m_y0l=yes
e8525382
SK
18701else
18702 echo "$as_me: failed program was:" >&5
18703sed 's/^/| /' conftest.$ac_ext >&5
18704
1409cd0b 18705ac_cv_lib_m_y0l=no
e8525382
SK
18706fi
18707rm -f conftest.err conftest.$ac_objext \
18708 conftest$ac_exeext conftest.$ac_ext
18709LIBS=$ac_check_lib_save_LIBS
18710fi
1409cd0b
FXC
18711echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
18712echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
18713if test $ac_cv_lib_m_y0l = yes; then
e8525382
SK
18714
18715cat >>confdefs.h <<\_ACEOF
1409cd0b 18716#define HAVE_Y0L 1
e8525382
SK
18717_ACEOF
18718
18719fi
18720
1409cd0b
FXC
18721echo "$as_me:$LINENO: checking for y1f in -lm" >&5
18722echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
18723if test "${ac_cv_lib_m_y1f+set}" = set; then
e8525382
SK
18724 echo $ECHO_N "(cached) $ECHO_C" >&6
18725else
18726 ac_check_lib_save_LIBS=$LIBS
18727LIBS="-lm $LIBS"
f02d008e
JD
18728if test x$gcc_no_link = xyes; then
18729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18730echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18731 { (exit 1); exit 1; }; }
18732fi
e8525382
SK
18733cat >conftest.$ac_ext <<_ACEOF
18734/* confdefs.h. */
18735_ACEOF
18736cat confdefs.h >>conftest.$ac_ext
18737cat >>conftest.$ac_ext <<_ACEOF
18738/* end confdefs.h. */
18739
18740/* Override any gcc2 internal prototype to avoid an error. */
18741#ifdef __cplusplus
18742extern "C"
18743#endif
18744/* We use char because int might match the return type of a gcc2
18745 builtin and then its argument prototype would still apply. */
1409cd0b 18746char y1f ();
e8525382
SK
18747int
18748main ()
18749{
1409cd0b 18750y1f ();
e8525382
SK
18751 ;
18752 return 0;
18753}
18754_ACEOF
18755rm -f conftest.$ac_objext conftest$ac_exeext
18756if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18757 (eval $ac_link) 2>conftest.er1
18758 ac_status=$?
18759 grep -v '^ *+' conftest.er1 >conftest.err
18760 rm -f conftest.er1
18761 cat conftest.err >&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); } &&
1409cd0b
FXC
18764 { ac_try='test -z "$ac_c_werror_flag"
18765 || test ! -s conftest.err'
e8525382
SK
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
1409cd0b 18777 ac_cv_lib_m_y1f=yes
e8525382
SK
18778else
18779 echo "$as_me: failed program was:" >&5
18780sed 's/^/| /' conftest.$ac_ext >&5
18781
1409cd0b 18782ac_cv_lib_m_y1f=no
e8525382
SK
18783fi
18784rm -f conftest.err conftest.$ac_objext \
18785 conftest$ac_exeext conftest.$ac_ext
18786LIBS=$ac_check_lib_save_LIBS
18787fi
1409cd0b
FXC
18788echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
18789echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
18790if test $ac_cv_lib_m_y1f = yes; then
e8525382
SK
18791
18792cat >>confdefs.h <<\_ACEOF
1409cd0b 18793#define HAVE_Y1F 1
e8525382
SK
18794_ACEOF
18795
18796fi
18797
1409cd0b
FXC
18798echo "$as_me:$LINENO: checking for y1 in -lm" >&5
18799echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
18800if test "${ac_cv_lib_m_y1+set}" = set; then
e8525382
SK
18801 echo $ECHO_N "(cached) $ECHO_C" >&6
18802else
18803 ac_check_lib_save_LIBS=$LIBS
18804LIBS="-lm $LIBS"
f02d008e
JD
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
e8525382
SK
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. */
1409cd0b 18823char y1 ();
e8525382
SK
18824int
18825main ()
18826{
1409cd0b 18827y1 ();
e8525382
SK
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); } &&
1409cd0b
FXC
18841 { ac_try='test -z "$ac_c_werror_flag"
18842 || test ! -s conftest.err'
e8525382
SK
18843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18844 (eval $ac_try) 2>&5
18845 ac_status=$?
18846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18847 (exit $ac_status); }; } &&
18848 { ac_try='test -s conftest$ac_exeext'
18849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18850 (eval $ac_try) 2>&5
18851 ac_status=$?
18852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18853 (exit $ac_status); }; }; then
1409cd0b 18854 ac_cv_lib_m_y1=yes
e8525382
SK
18855else
18856 echo "$as_me: failed program was:" >&5
18857sed 's/^/| /' conftest.$ac_ext >&5
18858
1409cd0b 18859ac_cv_lib_m_y1=no
e8525382
SK
18860fi
18861rm -f conftest.err conftest.$ac_objext \
18862 conftest$ac_exeext conftest.$ac_ext
18863LIBS=$ac_check_lib_save_LIBS
18864fi
1409cd0b
FXC
18865echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
18866echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
18867if test $ac_cv_lib_m_y1 = yes; then
e8525382
SK
18868
18869cat >>confdefs.h <<\_ACEOF
1409cd0b 18870#define HAVE_Y1 1
e8525382
SK
18871_ACEOF
18872
18873fi
18874
1409cd0b
FXC
18875echo "$as_me:$LINENO: checking for y1l in -lm" >&5
18876echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
18877if test "${ac_cv_lib_m_y1l+set}" = set; then
e8525382
SK
18878 echo $ECHO_N "(cached) $ECHO_C" >&6
18879else
18880 ac_check_lib_save_LIBS=$LIBS
18881LIBS="-lm $LIBS"
f02d008e
JD
18882if test x$gcc_no_link = xyes; then
18883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18884echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18885 { (exit 1); exit 1; }; }
18886fi
e8525382
SK
18887cat >conftest.$ac_ext <<_ACEOF
18888/* confdefs.h. */
18889_ACEOF
18890cat confdefs.h >>conftest.$ac_ext
18891cat >>conftest.$ac_ext <<_ACEOF
18892/* end confdefs.h. */
18893
18894/* Override any gcc2 internal prototype to avoid an error. */
18895#ifdef __cplusplus
18896extern "C"
18897#endif
18898/* We use char because int might match the return type of a gcc2
18899 builtin and then its argument prototype would still apply. */
1409cd0b 18900char y1l ();
e8525382
SK
18901int
18902main ()
18903{
1409cd0b 18904y1l ();
e8525382
SK
18905 ;
18906 return 0;
18907}
18908_ACEOF
18909rm -f conftest.$ac_objext conftest$ac_exeext
18910if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18911 (eval $ac_link) 2>conftest.er1
18912 ac_status=$?
18913 grep -v '^ *+' conftest.er1 >conftest.err
18914 rm -f conftest.er1
18915 cat conftest.err >&5
18916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18917 (exit $ac_status); } &&
1409cd0b
FXC
18918 { ac_try='test -z "$ac_c_werror_flag"
18919 || test ! -s conftest.err'
e8525382
SK
18920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18921 (eval $ac_try) 2>&5
18922 ac_status=$?
18923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18924 (exit $ac_status); }; } &&
18925 { ac_try='test -s conftest$ac_exeext'
18926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18927 (eval $ac_try) 2>&5
18928 ac_status=$?
18929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18930 (exit $ac_status); }; }; then
1409cd0b 18931 ac_cv_lib_m_y1l=yes
e8525382
SK
18932else
18933 echo "$as_me: failed program was:" >&5
18934sed 's/^/| /' conftest.$ac_ext >&5
18935
1409cd0b 18936ac_cv_lib_m_y1l=no
e8525382
SK
18937fi
18938rm -f conftest.err conftest.$ac_objext \
18939 conftest$ac_exeext conftest.$ac_ext
18940LIBS=$ac_check_lib_save_LIBS
18941fi
1409cd0b
FXC
18942echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
18943echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
18944if test $ac_cv_lib_m_y1l = yes; then
e8525382
SK
18945
18946cat >>confdefs.h <<\_ACEOF
1409cd0b 18947#define HAVE_Y1L 1
e8525382
SK
18948_ACEOF
18949
18950fi
18951
1409cd0b
FXC
18952echo "$as_me:$LINENO: checking for ynf in -lm" >&5
18953echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
18954if test "${ac_cv_lib_m_ynf+set}" = set; then
e8525382
SK
18955 echo $ECHO_N "(cached) $ECHO_C" >&6
18956else
18957 ac_check_lib_save_LIBS=$LIBS
18958LIBS="-lm $LIBS"
f02d008e
JD
18959if test x$gcc_no_link = xyes; then
18960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18961echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18962 { (exit 1); exit 1; }; }
18963fi
e8525382
SK
18964cat >conftest.$ac_ext <<_ACEOF
18965/* confdefs.h. */
18966_ACEOF
18967cat confdefs.h >>conftest.$ac_ext
18968cat >>conftest.$ac_ext <<_ACEOF
18969/* end confdefs.h. */
18970
18971/* Override any gcc2 internal prototype to avoid an error. */
18972#ifdef __cplusplus
18973extern "C"
18974#endif
18975/* We use char because int might match the return type of a gcc2
18976 builtin and then its argument prototype would still apply. */
1409cd0b 18977char ynf ();
e8525382
SK
18978int
18979main ()
18980{
1409cd0b 18981ynf ();
e8525382
SK
18982 ;
18983 return 0;
18984}
18985_ACEOF
18986rm -f conftest.$ac_objext conftest$ac_exeext
18987if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18988 (eval $ac_link) 2>conftest.er1
18989 ac_status=$?
18990 grep -v '^ *+' conftest.er1 >conftest.err
18991 rm -f conftest.er1
18992 cat conftest.err >&5
18993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18994 (exit $ac_status); } &&
1409cd0b
FXC
18995 { ac_try='test -z "$ac_c_werror_flag"
18996 || test ! -s conftest.err'
e8525382
SK
18997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18998 (eval $ac_try) 2>&5
18999 ac_status=$?
19000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19001 (exit $ac_status); }; } &&
19002 { ac_try='test -s conftest$ac_exeext'
19003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19004 (eval $ac_try) 2>&5
19005 ac_status=$?
19006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19007 (exit $ac_status); }; }; then
1409cd0b 19008 ac_cv_lib_m_ynf=yes
e8525382
SK
19009else
19010 echo "$as_me: failed program was:" >&5
19011sed 's/^/| /' conftest.$ac_ext >&5
19012
1409cd0b 19013ac_cv_lib_m_ynf=no
e8525382
SK
19014fi
19015rm -f conftest.err conftest.$ac_objext \
19016 conftest$ac_exeext conftest.$ac_ext
19017LIBS=$ac_check_lib_save_LIBS
19018fi
1409cd0b
FXC
19019echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
19020echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
19021if test $ac_cv_lib_m_ynf = yes; then
e8525382
SK
19022
19023cat >>confdefs.h <<\_ACEOF
1409cd0b 19024#define HAVE_YNF 1
e8525382
SK
19025_ACEOF
19026
19027fi
19028
19029echo "$as_me:$LINENO: checking for yn in -lm" >&5
19030echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
19031if test "${ac_cv_lib_m_yn+set}" = set; then
19032 echo $ECHO_N "(cached) $ECHO_C" >&6
19033else
19034 ac_check_lib_save_LIBS=$LIBS
19035LIBS="-lm $LIBS"
f02d008e
JD
19036if test x$gcc_no_link = xyes; then
19037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19038echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19039 { (exit 1); exit 1; }; }
19040fi
e8525382
SK
19041cat >conftest.$ac_ext <<_ACEOF
19042/* confdefs.h. */
19043_ACEOF
19044cat confdefs.h >>conftest.$ac_ext
19045cat >>conftest.$ac_ext <<_ACEOF
19046/* end confdefs.h. */
19047
19048/* Override any gcc2 internal prototype to avoid an error. */
19049#ifdef __cplusplus
19050extern "C"
19051#endif
19052/* We use char because int might match the return type of a gcc2
19053 builtin and then its argument prototype would still apply. */
19054char yn ();
19055int
19056main ()
19057{
19058yn ();
19059 ;
19060 return 0;
19061}
19062_ACEOF
19063rm -f conftest.$ac_objext conftest$ac_exeext
19064if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19065 (eval $ac_link) 2>conftest.er1
19066 ac_status=$?
19067 grep -v '^ *+' conftest.er1 >conftest.err
19068 rm -f conftest.er1
19069 cat conftest.err >&5
19070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19071 (exit $ac_status); } &&
1409cd0b
FXC
19072 { ac_try='test -z "$ac_c_werror_flag"
19073 || test ! -s conftest.err'
e8525382
SK
19074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19075 (eval $ac_try) 2>&5
19076 ac_status=$?
19077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19078 (exit $ac_status); }; } &&
19079 { ac_try='test -s conftest$ac_exeext'
19080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19081 (eval $ac_try) 2>&5
19082 ac_status=$?
19083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19084 (exit $ac_status); }; }; then
19085 ac_cv_lib_m_yn=yes
19086else
19087 echo "$as_me: failed program was:" >&5
19088sed 's/^/| /' conftest.$ac_ext >&5
19089
19090ac_cv_lib_m_yn=no
19091fi
19092rm -f conftest.err conftest.$ac_objext \
19093 conftest$ac_exeext conftest.$ac_ext
19094LIBS=$ac_check_lib_save_LIBS
19095fi
19096echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
19097echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
19098if test $ac_cv_lib_m_yn = yes; then
19099
19100cat >>confdefs.h <<\_ACEOF
19101#define HAVE_YN 1
19102_ACEOF
19103
19104fi
19105
1409cd0b
FXC
19106echo "$as_me:$LINENO: checking for ynl in -lm" >&5
19107echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
19108if test "${ac_cv_lib_m_ynl+set}" = set; then
e8525382
SK
19109 echo $ECHO_N "(cached) $ECHO_C" >&6
19110else
19111 ac_check_lib_save_LIBS=$LIBS
19112LIBS="-lm $LIBS"
f02d008e
JD
19113if test x$gcc_no_link = xyes; then
19114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19115echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19116 { (exit 1); exit 1; }; }
19117fi
e8525382
SK
19118cat >conftest.$ac_ext <<_ACEOF
19119/* confdefs.h. */
19120_ACEOF
19121cat confdefs.h >>conftest.$ac_ext
19122cat >>conftest.$ac_ext <<_ACEOF
19123/* end confdefs.h. */
19124
19125/* Override any gcc2 internal prototype to avoid an error. */
19126#ifdef __cplusplus
19127extern "C"
19128#endif
19129/* We use char because int might match the return type of a gcc2
19130 builtin and then its argument prototype would still apply. */
1409cd0b 19131char ynl ();
e8525382
SK
19132int
19133main ()
19134{
1409cd0b 19135ynl ();
e8525382
SK
19136 ;
19137 return 0;
19138}
19139_ACEOF
19140rm -f conftest.$ac_objext conftest$ac_exeext
19141if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19142 (eval $ac_link) 2>conftest.er1
19143 ac_status=$?
19144 grep -v '^ *+' conftest.er1 >conftest.err
19145 rm -f conftest.er1
19146 cat conftest.err >&5
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); } &&
1409cd0b
FXC
19149 { ac_try='test -z "$ac_c_werror_flag"
19150 || test ! -s conftest.err'
e8525382
SK
19151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19152 (eval $ac_try) 2>&5
19153 ac_status=$?
19154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19155 (exit $ac_status); }; } &&
19156 { ac_try='test -s conftest$ac_exeext'
19157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19158 (eval $ac_try) 2>&5
19159 ac_status=$?
19160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19161 (exit $ac_status); }; }; then
1409cd0b 19162 ac_cv_lib_m_ynl=yes
e8525382
SK
19163else
19164 echo "$as_me: failed program was:" >&5
19165sed 's/^/| /' conftest.$ac_ext >&5
19166
1409cd0b 19167ac_cv_lib_m_ynl=no
e8525382
SK
19168fi
19169rm -f conftest.err conftest.$ac_objext \
19170 conftest$ac_exeext conftest.$ac_ext
19171LIBS=$ac_check_lib_save_LIBS
19172fi
1409cd0b
FXC
19173echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
19174echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
19175if test $ac_cv_lib_m_ynl = yes; then
e8525382
SK
19176
19177cat >>confdefs.h <<\_ACEOF
1409cd0b 19178#define HAVE_YNL 1
e8525382
SK
19179_ACEOF
19180
19181fi
19182
a2a2059f 19183
118ea208 19184# On AIX, clog is present in libm as __clog
e097b4f1
DE
19185echo "$as_me:$LINENO: checking for __clog in -lm" >&5
19186echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
19187if test "${ac_cv_lib_m___clog+set}" = set; then
19188 echo $ECHO_N "(cached) $ECHO_C" >&6
19189else
19190 ac_check_lib_save_LIBS=$LIBS
19191LIBS="-lm $LIBS"
19192if test x$gcc_no_link = xyes; then
19193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19194echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19195 { (exit 1); exit 1; }; }
19196fi
19197cat >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/* Override any gcc2 internal prototype to avoid an error. */
19205#ifdef __cplusplus
19206extern "C"
19207#endif
19208/* We use char because int might match the return type of a gcc2
19209 builtin and then its argument prototype would still apply. */
19210char __clog ();
19211int
19212main ()
19213{
19214__clog ();
19215 ;
19216 return 0;
19217}
19218_ACEOF
19219rm -f conftest.$ac_objext conftest$ac_exeext
19220if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19221 (eval $ac_link) 2>conftest.er1
19222 ac_status=$?
19223 grep -v '^ *+' conftest.er1 >conftest.err
19224 rm -f conftest.er1
19225 cat conftest.err >&5
19226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19227 (exit $ac_status); } &&
19228 { ac_try='test -z "$ac_c_werror_flag"
19229 || test ! -s conftest.err'
19230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19231 (eval $ac_try) 2>&5
19232 ac_status=$?
19233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19234 (exit $ac_status); }; } &&
19235 { ac_try='test -s conftest$ac_exeext'
19236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19237 (eval $ac_try) 2>&5
19238 ac_status=$?
19239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19240 (exit $ac_status); }; }; then
19241 ac_cv_lib_m___clog=yes
19242else
19243 echo "$as_me: failed program was:" >&5
19244sed 's/^/| /' conftest.$ac_ext >&5
19245
19246ac_cv_lib_m___clog=no
19247fi
19248rm -f conftest.err conftest.$ac_objext \
19249 conftest$ac_exeext conftest.$ac_ext
19250LIBS=$ac_check_lib_save_LIBS
19251fi
19252echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
19253echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
19254if test $ac_cv_lib_m___clog = yes; then
19255
19256cat >>confdefs.h <<\_ACEOF
19257#define HAVE_CLOG 1
19258_ACEOF
19259
19260fi
19261
19262
118ea208
SE
19263# Check for a isfinite macro that works on long doubles.
19264
19265 echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
19266echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
19267if test "${have_broken_isfinite+set}" = set; then
19268 echo $ECHO_N "(cached) $ECHO_C" >&6
19269else
19270
19271 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
19272 LIBS="$LIBS -lm"
19273 if test "$cross_compiling" = yes; then
19274
19275case "${target}" in
19276 hppa*-*-hpux*) have_broken_isfinite=yes ;;
19277 *) have_broken_isfinite=no ;;
19278esac
19279else
19280 cat >conftest.$ac_ext <<_ACEOF
19281/* confdefs.h. */
19282_ACEOF
19283cat confdefs.h >>conftest.$ac_ext
19284cat >>conftest.$ac_ext <<_ACEOF
19285/* end confdefs.h. */
19286
19287#ifdef HAVE_MATH_H
19288#include <math.h>
19289#endif
19290#include <float.h>
19291int main ()
19292{
19293#ifdef isfinite
19294#ifdef LDBL_MAX
19295 if (!isfinite(LDBL_MAX)) return 1;
19296#endif
19297#ifdef DBL_MAX
19298 if (!isfinite(DBL_MAX)) return 1;
19299#endif
19300#endif
19301return 0;
19302}
19303_ACEOF
19304rm -f conftest$ac_exeext
19305if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19306 (eval $ac_link) 2>&5
19307 ac_status=$?
19308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19309 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19311 (eval $ac_try) 2>&5
19312 ac_status=$?
19313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314 (exit $ac_status); }; }; then
19315 have_broken_isfinite=no
19316else
19317 echo "$as_me: program exited with status $ac_status" >&5
19318echo "$as_me: failed program was:" >&5
19319sed 's/^/| /' conftest.$ac_ext >&5
19320
19321( exit $ac_status )
19322have_broken_isfinite=yes
19323fi
19324rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19325fi
19326 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
19327fi
19328echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
19329echo "${ECHO_T}$have_broken_isfinite" >&6
19330if test x"$have_broken_isfinite" = xyes; then
19331
19332cat >>confdefs.h <<\_ACEOF
19333#define HAVE_BROKEN_ISFINITE 1
19334_ACEOF
19335
19336fi
19337
19338# Check for a isnan macro that works on long doubles.
19339
19340 echo "$as_me:$LINENO: checking whether isnan is broken" >&5
19341echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
19342if test "${have_broken_isnan+set}" = set; then
19343 echo $ECHO_N "(cached) $ECHO_C" >&6
19344else
19345
19346 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
19347 LIBS="$LIBS -lm"
19348 if test "$cross_compiling" = yes; then
19349
19350case "${target}" in
19351 hppa*-*-hpux*) have_broken_isnan=yes ;;
19352 *) have_broken_isnan=no ;;
19353esac
19354else
19355 cat >conftest.$ac_ext <<_ACEOF
19356/* confdefs.h. */
19357_ACEOF
19358cat confdefs.h >>conftest.$ac_ext
19359cat >>conftest.$ac_ext <<_ACEOF
19360/* end confdefs.h. */
19361
19362#ifdef HAVE_MATH_H
19363#include <math.h>
19364#endif
19365#include <float.h>
19366int main ()
19367{
19368#ifdef isnan
19369#ifdef LDBL_MAX
19370 {
19371 long double x;
19372 x = __builtin_nanl ("");
19373 if (!isnan(x)) return 1;
19374 if (isnan(LDBL_MAX)) return 1;
19375#ifdef NAN
19376 x = (long double) NAN;
19377 if (!isnan(x)) return 1;
19378#endif
19379 }
19380#endif
19381#ifdef DBL_MAX
19382 {
19383 double y;
19384 y = __builtin_nan ("");
19385 if (!isnan(y)) return 1;
19386 if (isnan(DBL_MAX)) return 1;
19387#ifdef NAN
19388 y = (double) NAN;
19389 if (!isnan(y)) return 1;
19390#endif
19391 }
19392#endif
19393#endif
19394return 0;
19395}
19396_ACEOF
19397rm -f conftest$ac_exeext
19398if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19399 (eval $ac_link) 2>&5
19400 ac_status=$?
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19404 (eval $ac_try) 2>&5
19405 ac_status=$?
19406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19407 (exit $ac_status); }; }; then
19408 have_broken_isnan=no
19409else
19410 echo "$as_me: program exited with status $ac_status" >&5
19411echo "$as_me: failed program was:" >&5
19412sed 's/^/| /' conftest.$ac_ext >&5
19413
19414( exit $ac_status )
19415have_broken_isnan=yes
19416fi
19417rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19418fi
19419 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
19420fi
19421echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
19422echo "${ECHO_T}$have_broken_isnan" >&6
19423if test x"$have_broken_isnan" = xyes; then
19424
19425cat >>confdefs.h <<\_ACEOF
19426#define HAVE_BROKEN_ISNAN 1
19427_ACEOF
19428
19429fi
19430
19431# Check for a fpclassify macro that works on long doubles.
19432
19433 echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
19434echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
19435if test "${have_broken_fpclassify+set}" = set; then
19436 echo $ECHO_N "(cached) $ECHO_C" >&6
19437else
19438
19439 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
19440 LIBS="$LIBS -lm"
19441 if test "$cross_compiling" = yes; then
19442
19443case "${target}" in
19444 hppa*-*-hpux*) have_broken_fpclassify=yes ;;
19445 *) have_broken_fpclassify=no ;;
19446esac
19447else
19448 cat >conftest.$ac_ext <<_ACEOF
19449/* confdefs.h. */
19450_ACEOF
19451cat confdefs.h >>conftest.$ac_ext
19452cat >>conftest.$ac_ext <<_ACEOF
19453/* end confdefs.h. */
19454
19455#ifdef HAVE_MATH_H
19456#include <math.h>
19457#endif
19458#include <float.h>
19459int main ()
19460{
19461#ifdef fpclassify
19462#ifdef LDBL_MAX
19463 if (fpclassify(LDBL_MAX) == FP_NAN
19464 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
19465#endif
19466#ifdef DBL_MAX
19467 if (fpclassify(DBL_MAX) == FP_NAN
19468 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
19469#endif
19470#endif
19471return 0;
19472}
19473_ACEOF
19474rm -f conftest$ac_exeext
19475if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19476 (eval $ac_link) 2>&5
19477 ac_status=$?
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19481 (eval $ac_try) 2>&5
19482 ac_status=$?
19483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484 (exit $ac_status); }; }; then
19485 have_broken_fpclassify=no
19486else
19487 echo "$as_me: program exited with status $ac_status" >&5
19488echo "$as_me: failed program was:" >&5
19489sed 's/^/| /' conftest.$ac_ext >&5
19490
19491( exit $ac_status )
19492have_broken_fpclassify=yes
19493fi
19494rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19495fi
19496 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
19497fi
19498echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
19499echo "${ECHO_T}$have_broken_fpclassify" >&6
19500if test x"$have_broken_fpclassify" = xyes; then
19501
19502cat >>confdefs.h <<\_ACEOF
19503#define HAVE_BROKEN_FPCLASSIFY 1
19504_ACEOF
19505
19506fi
19507
ad238e4f
FXC
19508# Check whether the system has a working stat()
19509
19510 echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
19511echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
19512if test "${have_working_stat+set}" = set; then
19513 echo $ECHO_N "(cached) $ECHO_C" >&6
19514else
19515
19516 if test "$cross_compiling" = yes; then
19517
19518case "${target}" in
19519 *mingw*) have_working_stat=no ;;
19520 *) have_working_stat=yes;;
19521esac
19522else
19523 cat >conftest.$ac_ext <<_ACEOF
19524/* confdefs.h. */
19525_ACEOF
19526cat confdefs.h >>conftest.$ac_ext
19527cat >>conftest.$ac_ext <<_ACEOF
19528/* end confdefs.h. */
19529
19530#include <stdio.h>
19531#include <sys/types.h>
19532#include <sys/stat.h>
19533#include <unistd.h>
19534
19535int main ()
19536{
19537 FILE *f, *g;
19538 struct stat st1, st2;
19539
19540 f = fopen ("foo", "w");
19541 g = fopen ("bar", "w");
19542 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
19543 return 1;
19544 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
19545 return 1;
19546 fclose(f);
19547 fclose(g);
19548 return 0;
19549}
19550_ACEOF
19551rm -f conftest$ac_exeext
19552if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19553 (eval $ac_link) 2>&5
19554 ac_status=$?
19555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19556 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19558 (eval $ac_try) 2>&5
19559 ac_status=$?
19560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19561 (exit $ac_status); }; }; then
19562 have_working_stat=yes
19563else
19564 echo "$as_me: program exited with status $ac_status" >&5
19565echo "$as_me: failed program was:" >&5
19566sed 's/^/| /' conftest.$ac_ext >&5
19567
19568( exit $ac_status )
19569have_working_stat=no
19570fi
19571rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19572fi
19573fi
19574echo "$as_me:$LINENO: result: $have_working_stat" >&5
19575echo "${ECHO_T}$have_working_stat" >&6
19576if test x"$have_working_stat" = xyes; then
19577
19578cat >>confdefs.h <<\_ACEOF
19579#define HAVE_WORKING_STAT 1
19580_ACEOF
19581
19582fi
19583
69d3c9a4
SB
19584# Fallback in case isfinite is not available.
19585echo "$as_me:$LINENO: checking for finite in -lm" >&5
19586echo $ECHO_N "checking for finite in -lm... $ECHO_C" >&6
19587if test "${ac_cv_lib_m_finite+set}" = set; then
19588 echo $ECHO_N "(cached) $ECHO_C" >&6
19589else
19590 ac_check_lib_save_LIBS=$LIBS
19591LIBS="-lm $LIBS"
f02d008e
JD
19592if test x$gcc_no_link = xyes; then
19593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19594echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19595 { (exit 1); exit 1; }; }
19596fi
69d3c9a4
SB
19597cat >conftest.$ac_ext <<_ACEOF
19598/* confdefs.h. */
19599_ACEOF
19600cat confdefs.h >>conftest.$ac_ext
19601cat >>conftest.$ac_ext <<_ACEOF
19602/* end confdefs.h. */
19603
19604/* Override any gcc2 internal prototype to avoid an error. */
19605#ifdef __cplusplus
19606extern "C"
19607#endif
19608/* We use char because int might match the return type of a gcc2
19609 builtin and then its argument prototype would still apply. */
19610char finite ();
19611int
19612main ()
19613{
19614finite ();
19615 ;
19616 return 0;
19617}
19618_ACEOF
19619rm -f conftest.$ac_objext conftest$ac_exeext
19620if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19621 (eval $ac_link) 2>conftest.er1
19622 ac_status=$?
19623 grep -v '^ *+' conftest.er1 >conftest.err
19624 rm -f conftest.er1
19625 cat conftest.err >&5
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); } &&
1409cd0b
FXC
19628 { ac_try='test -z "$ac_c_werror_flag"
19629 || test ! -s conftest.err'
69d3c9a4
SB
19630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19631 (eval $ac_try) 2>&5
19632 ac_status=$?
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); }; } &&
19635 { ac_try='test -s conftest$ac_exeext'
19636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19637 (eval $ac_try) 2>&5
19638 ac_status=$?
19639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19640 (exit $ac_status); }; }; then
19641 ac_cv_lib_m_finite=yes
19642else
19643 echo "$as_me: failed program was:" >&5
19644sed 's/^/| /' conftest.$ac_ext >&5
19645
19646ac_cv_lib_m_finite=no
19647fi
19648rm -f conftest.err conftest.$ac_objext \
19649 conftest$ac_exeext conftest.$ac_ext
19650LIBS=$ac_check_lib_save_LIBS
19651fi
19652echo "$as_me:$LINENO: result: $ac_cv_lib_m_finite" >&5
19653echo "${ECHO_T}$ac_cv_lib_m_finite" >&6
19654if test $ac_cv_lib_m_finite = yes; then
19655
19656cat >>confdefs.h <<\_ACEOF
19657#define HAVE_FINITE 1
19658_ACEOF
19659
19660fi
19661
19662
944b8b35
FXC
19663# Check for GNU libc feenableexcept
19664echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
19665echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
19666if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
19667 echo $ECHO_N "(cached) $ECHO_C" >&6
19668else
19669 ac_check_lib_save_LIBS=$LIBS
19670LIBS="-lm $LIBS"
19671if test x$gcc_no_link = xyes; then
19672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19673echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19674 { (exit 1); exit 1; }; }
19675fi
19676cat >conftest.$ac_ext <<_ACEOF
19677/* confdefs.h. */
19678_ACEOF
19679cat confdefs.h >>conftest.$ac_ext
19680cat >>conftest.$ac_ext <<_ACEOF
19681/* end confdefs.h. */
19682
19683/* Override any gcc2 internal prototype to avoid an error. */
19684#ifdef __cplusplus
19685extern "C"
19686#endif
19687/* We use char because int might match the return type of a gcc2
19688 builtin and then its argument prototype would still apply. */
19689char feenableexcept ();
19690int
19691main ()
19692{
19693feenableexcept ();
19694 ;
19695 return 0;
19696}
19697_ACEOF
19698rm -f conftest.$ac_objext conftest$ac_exeext
19699if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19700 (eval $ac_link) 2>conftest.er1
19701 ac_status=$?
19702 grep -v '^ *+' conftest.er1 >conftest.err
19703 rm -f conftest.er1
19704 cat conftest.err >&5
19705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706 (exit $ac_status); } &&
19707 { ac_try='test -z "$ac_c_werror_flag"
19708 || test ! -s conftest.err'
19709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19710 (eval $ac_try) 2>&5
19711 ac_status=$?
19712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713 (exit $ac_status); }; } &&
19714 { ac_try='test -s conftest$ac_exeext'
19715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19716 (eval $ac_try) 2>&5
19717 ac_status=$?
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); }; }; then
19720 ac_cv_lib_m_feenableexcept=yes
19721else
19722 echo "$as_me: failed program was:" >&5
19723sed 's/^/| /' conftest.$ac_ext >&5
19724
19725ac_cv_lib_m_feenableexcept=no
19726fi
19727rm -f conftest.err conftest.$ac_objext \
19728 conftest$ac_exeext conftest.$ac_ext
19729LIBS=$ac_check_lib_save_LIBS
19730fi
19731echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
19732echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
19733if test $ac_cv_lib_m_feenableexcept = yes; then
19734 have_feenableexcept=yes
19735cat >>confdefs.h <<\_ACEOF
19736#define HAVE_FEENABLEEXCEPT 1
19737_ACEOF
19738
19739fi
19740
19741
3b14f664
FXC
19742# Check for SysV fpsetmask
19743
19744 echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
19745echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
19746if test "${have_fpsetmask+set}" = set; then
19747 echo $ECHO_N "(cached) $ECHO_C" >&6
19748else
19749
19750 if test x$gcc_no_link = xyes; then
19751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19752echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19753 { (exit 1); exit 1; }; }
19754fi
19755cat >conftest.$ac_ext <<_ACEOF
19756/* confdefs.h. */
19757_ACEOF
19758cat confdefs.h >>conftest.$ac_ext
19759cat >>conftest.$ac_ext <<_ACEOF
19760/* end confdefs.h. */
19761
19762#if HAVE_FLOATINGPOINT_H
19763# include <floatingpoint.h>
19764#endif /* HAVE_FLOATINGPOINT_H */
19765#if HAVE_IEEEFP_H
19766# include <ieeefp.h>
19767#endif /* HAVE_IEEEFP_H */
19768int
19769main ()
19770{
19771fpsetmask(0);
19772 ;
19773 return 0;
19774}
19775_ACEOF
19776rm -f conftest.$ac_objext conftest$ac_exeext
19777if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19778 (eval $ac_link) 2>conftest.er1
19779 ac_status=$?
19780 grep -v '^ *+' conftest.er1 >conftest.err
19781 rm -f conftest.er1
19782 cat conftest.err >&5
19783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784 (exit $ac_status); } &&
19785 { ac_try='test -z "$ac_c_werror_flag"
19786 || test ! -s conftest.err'
19787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19788 (eval $ac_try) 2>&5
19789 ac_status=$?
19790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19791 (exit $ac_status); }; } &&
19792 { ac_try='test -s conftest$ac_exeext'
19793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19794 (eval $ac_try) 2>&5
19795 ac_status=$?
19796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19797 (exit $ac_status); }; }; then
19798 eval "have_fpsetmask=yes"
19799else
19800 echo "$as_me: failed program was:" >&5
19801sed 's/^/| /' conftest.$ac_ext >&5
19802
19803eval "have_fpsetmask=no"
19804fi
19805rm -f conftest.err conftest.$ac_objext \
19806 conftest$ac_exeext conftest.$ac_ext
19807
19808fi
19809echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
19810echo "${ECHO_T}$have_fpsetmask" >&6
19811 if test x"$have_fpsetmask" = xyes; then
19812
19813cat >>confdefs.h <<\_ACEOF
19814#define HAVE_FPSETMASK 1
19815_ACEOF
19816
19817 fi
19818
19819
19820# Check for AIX fp_trap and fp_enable
19821echo "$as_me:$LINENO: checking for fp_trap" >&5
19822echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
19823if test "${ac_cv_func_fp_trap+set}" = set; then
19824 echo $ECHO_N "(cached) $ECHO_C" >&6
19825else
19826 if test x$gcc_no_link = xyes; then
19827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19828echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19829 { (exit 1); exit 1; }; }
19830fi
19831cat >conftest.$ac_ext <<_ACEOF
19832/* confdefs.h. */
19833_ACEOF
19834cat confdefs.h >>conftest.$ac_ext
19835cat >>conftest.$ac_ext <<_ACEOF
19836/* end confdefs.h. */
19837/* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
19838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19839#define fp_trap innocuous_fp_trap
19840
19841/* System header to define __stub macros and hopefully few prototypes,
19842 which can conflict with char fp_trap (); below.
19843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19844 <limits.h> exists even on freestanding compilers. */
19845
19846#ifdef __STDC__
19847# include <limits.h>
19848#else
19849# include <assert.h>
19850#endif
19851
19852#undef fp_trap
19853
19854/* Override any gcc2 internal prototype to avoid an error. */
19855#ifdef __cplusplus
19856extern "C"
19857{
19858#endif
19859/* We use char because int might match the return type of a gcc2
19860 builtin and then its argument prototype would still apply. */
19861char fp_trap ();
19862/* The GNU C library defines this for functions which it implements
19863 to always fail with ENOSYS. Some functions are actually named
19864 something starting with __ and the normal name is an alias. */
19865#if defined (__stub_fp_trap) || defined (__stub___fp_trap)
19866choke me
19867#else
19868char (*f) () = fp_trap;
19869#endif
19870#ifdef __cplusplus
19871}
19872#endif
19873
19874int
19875main ()
19876{
19877return f != fp_trap;
19878 ;
19879 return 0;
19880}
19881_ACEOF
19882rm -f conftest.$ac_objext conftest$ac_exeext
19883if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19884 (eval $ac_link) 2>conftest.er1
19885 ac_status=$?
19886 grep -v '^ *+' conftest.er1 >conftest.err
19887 rm -f conftest.er1
19888 cat conftest.err >&5
19889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890 (exit $ac_status); } &&
19891 { ac_try='test -z "$ac_c_werror_flag"
19892 || test ! -s conftest.err'
19893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19894 (eval $ac_try) 2>&5
19895 ac_status=$?
19896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19897 (exit $ac_status); }; } &&
19898 { ac_try='test -s conftest$ac_exeext'
19899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19900 (eval $ac_try) 2>&5
19901 ac_status=$?
19902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19903 (exit $ac_status); }; }; then
19904 ac_cv_func_fp_trap=yes
19905else
19906 echo "$as_me: failed program was:" >&5
19907sed 's/^/| /' conftest.$ac_ext >&5
19908
19909ac_cv_func_fp_trap=no
19910fi
19911rm -f conftest.err conftest.$ac_objext \
19912 conftest$ac_exeext conftest.$ac_ext
19913fi
19914echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
19915echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
19916if test $ac_cv_func_fp_trap = yes; then
19917 have_fp_trap=yes
19918cat >>confdefs.h <<\_ACEOF
19919#define HAVE_FP_TRAP 1
19920_ACEOF
19921
19922fi
19923
19924echo "$as_me:$LINENO: checking for fp_enable" >&5
19925echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
19926if test "${ac_cv_func_fp_enable+set}" = set; then
19927 echo $ECHO_N "(cached) $ECHO_C" >&6
19928else
19929 if test x$gcc_no_link = xyes; then
19930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19931echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19932 { (exit 1); exit 1; }; }
19933fi
19934cat >conftest.$ac_ext <<_ACEOF
19935/* confdefs.h. */
19936_ACEOF
19937cat confdefs.h >>conftest.$ac_ext
19938cat >>conftest.$ac_ext <<_ACEOF
19939/* end confdefs.h. */
19940/* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
19941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19942#define fp_enable innocuous_fp_enable
19943
19944/* System header to define __stub macros and hopefully few prototypes,
19945 which can conflict with char fp_enable (); below.
19946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19947 <limits.h> exists even on freestanding compilers. */
19948
19949#ifdef __STDC__
19950# include <limits.h>
19951#else
19952# include <assert.h>
19953#endif
19954
19955#undef fp_enable
19956
19957/* Override any gcc2 internal prototype to avoid an error. */
19958#ifdef __cplusplus
19959extern "C"
19960{
19961#endif
19962/* We use char because int might match the return type of a gcc2
19963 builtin and then its argument prototype would still apply. */
19964char fp_enable ();
19965/* The GNU C library defines this for functions which it implements
19966 to always fail with ENOSYS. Some functions are actually named
19967 something starting with __ and the normal name is an alias. */
19968#if defined (__stub_fp_enable) || defined (__stub___fp_enable)
19969choke me
19970#else
19971char (*f) () = fp_enable;
19972#endif
19973#ifdef __cplusplus
19974}
19975#endif
19976
19977int
19978main ()
19979{
19980return f != fp_enable;
19981 ;
19982 return 0;
19983}
19984_ACEOF
19985rm -f conftest.$ac_objext conftest$ac_exeext
19986if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19987 (eval $ac_link) 2>conftest.er1
19988 ac_status=$?
19989 grep -v '^ *+' conftest.er1 >conftest.err
19990 rm -f conftest.er1
19991 cat conftest.err >&5
19992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993 (exit $ac_status); } &&
19994 { ac_try='test -z "$ac_c_werror_flag"
19995 || test ! -s conftest.err'
19996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19997 (eval $ac_try) 2>&5
19998 ac_status=$?
19999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20000 (exit $ac_status); }; } &&
20001 { ac_try='test -s conftest$ac_exeext'
20002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20003 (eval $ac_try) 2>&5
20004 ac_status=$?
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); }; }; then
20007 ac_cv_func_fp_enable=yes
20008else
20009 echo "$as_me: failed program was:" >&5
20010sed 's/^/| /' conftest.$ac_ext >&5
20011
20012ac_cv_func_fp_enable=no
20013fi
20014rm -f conftest.err conftest.$ac_objext \
20015 conftest$ac_exeext conftest.$ac_ext
20016fi
20017echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
20018echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
20019if test $ac_cv_func_fp_enable = yes; then
20020 have_fp_enable=yes
20021cat >>confdefs.h <<\_ACEOF
20022#define HAVE_FP_ENABLE 1
20023_ACEOF
20024
20025fi
20026
20027
944b8b35
FXC
20028# Runs configure.host to set up necessary host-dependent shell variables.
20029# We then display a message about it, and propagate them through the
20030# build chain.
20031. ${srcdir}/configure.host
20032{ echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
20033echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
20034FPU_HOST_HEADER=config/${fpu_host}.h
20035
20036
96b8a615
AJ
20037# The standard autoconf HAVE_STRUCT_TIMEZONE doesn't actually check
20038# for struct timezone, as you might think. We also need to check how
20039# to call gettimeofday if we have it.
20040echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20041echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20042if test "${ac_cv_header_time+set}" = set; then
6de9cd9a
DN
20043 echo $ECHO_N "(cached) $ECHO_C" >&6
20044else
96b8a615
AJ
20045 cat >conftest.$ac_ext <<_ACEOF
20046/* confdefs.h. */
20047_ACEOF
20048cat confdefs.h >>conftest.$ac_ext
20049cat >>conftest.$ac_ext <<_ACEOF
20050/* end confdefs.h. */
20051#include <sys/types.h>
20052#include <sys/time.h>
20053#include <time.h>
20054
20055int
20056main ()
20057{
20058if ((struct tm *) 0)
20059return 0;
20060 ;
20061 return 0;
20062}
20063_ACEOF
20064rm -f conftest.$ac_objext
20065if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20066 (eval $ac_compile) 2>conftest.er1
20067 ac_status=$?
20068 grep -v '^ *+' conftest.er1 >conftest.err
20069 rm -f conftest.er1
20070 cat conftest.err >&5
20071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20072 (exit $ac_status); } &&
1409cd0b
FXC
20073 { ac_try='test -z "$ac_c_werror_flag"
20074 || test ! -s conftest.err'
96b8a615
AJ
20075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20076 (eval $ac_try) 2>&5
20077 ac_status=$?
20078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20079 (exit $ac_status); }; } &&
20080 { ac_try='test -s conftest.$ac_objext'
20081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20082 (eval $ac_try) 2>&5
20083 ac_status=$?
20084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20085 (exit $ac_status); }; }; then
20086 ac_cv_header_time=yes
20087else
20088 echo "$as_me: failed program was:" >&5
20089sed 's/^/| /' conftest.$ac_ext >&5
6de9cd9a 20090
96b8a615 20091ac_cv_header_time=no
6de9cd9a 20092fi
96b8a615 20093rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6de9cd9a 20094fi
96b8a615
AJ
20095echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20096echo "${ECHO_T}$ac_cv_header_time" >&6
20097if test $ac_cv_header_time = yes; then
6de9cd9a 20098
96b8a615
AJ
20099cat >>confdefs.h <<\_ACEOF
20100#define TIME_WITH_SYS_TIME 1
20101_ACEOF
6de9cd9a 20102
6de9cd9a
DN
20103fi
20104
6de9cd9a 20105
96b8a615
AJ
20106
20107for ac_func in gettimeofday
20108do
20109as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20110echo "$as_me:$LINENO: checking for $ac_func" >&5
20111echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20112if eval "test \"\${$as_ac_var+set}\" = set"; then
6de9cd9a
DN
20113 echo $ECHO_N "(cached) $ECHO_C" >&6
20114else
f02d008e
JD
20115 if test x$gcc_no_link = xyes; then
20116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20117echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20118 { (exit 1); exit 1; }; }
20119fi
20120cat >conftest.$ac_ext <<_ACEOF
96b8a615
AJ
20121/* confdefs.h. */
20122_ACEOF
20123cat confdefs.h >>conftest.$ac_ext
20124cat >>conftest.$ac_ext <<_ACEOF
20125/* end confdefs.h. */
20126/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20128#define $ac_func innocuous_$ac_func
20129
20130/* System header to define __stub macros and hopefully few prototypes,
20131 which can conflict with char $ac_func (); below.
20132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20133 <limits.h> exists even on freestanding compilers. */
20134
20135#ifdef __STDC__
20136# include <limits.h>
20137#else
20138# include <assert.h>
20139#endif
20140
20141#undef $ac_func
20142
20143/* Override any gcc2 internal prototype to avoid an error. */
20144#ifdef __cplusplus
20145extern "C"
20146{
20147#endif
20148/* We use char because int might match the return type of a gcc2
20149 builtin and then its argument prototype would still apply. */
20150char $ac_func ();
20151/* The GNU C library defines this for functions which it implements
20152 to always fail with ENOSYS. Some functions are actually named
20153 something starting with __ and the normal name is an alias. */
20154#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20155choke me
20156#else
20157char (*f) () = $ac_func;
20158#endif
20159#ifdef __cplusplus
20160}
20161#endif
20162
20163int
20164main ()
20165{
20166return f != $ac_func;
20167 ;
20168 return 0;
20169}
20170_ACEOF
20171rm -f conftest.$ac_objext conftest$ac_exeext
20172if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20173 (eval $ac_link) 2>conftest.er1
20174 ac_status=$?
20175 grep -v '^ *+' conftest.er1 >conftest.err
20176 rm -f conftest.er1
20177 cat conftest.err >&5
20178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20179 (exit $ac_status); } &&
1409cd0b
FXC
20180 { ac_try='test -z "$ac_c_werror_flag"
20181 || test ! -s conftest.err'
96b8a615
AJ
20182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20183 (eval $ac_try) 2>&5
20184 ac_status=$?
20185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20186 (exit $ac_status); }; } &&
20187 { ac_try='test -s conftest$ac_exeext'
20188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20189 (eval $ac_try) 2>&5
20190 ac_status=$?
20191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20192 (exit $ac_status); }; }; then
20193 eval "$as_ac_var=yes"
6de9cd9a 20194else
96b8a615
AJ
20195 echo "$as_me: failed program was:" >&5
20196sed 's/^/| /' conftest.$ac_ext >&5
6de9cd9a 20197
96b8a615 20198eval "$as_ac_var=no"
6de9cd9a 20199fi
96b8a615
AJ
20200rm -f conftest.err conftest.$ac_objext \
20201 conftest$ac_exeext conftest.$ac_ext
6de9cd9a 20202fi
96b8a615
AJ
20203echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20204echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20205if test `eval echo '${'$as_ac_var'}'` = yes; then
20206 cat >>confdefs.h <<_ACEOF
20207#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20208_ACEOF
6de9cd9a
DN
20209
20210fi
6de9cd9a
DN
20211done
20212
96b8a615
AJ
20213 if test "$ac_cv_func_gettimeofday" = yes; then
20214 echo "$as_me:$LINENO: checking for struct timezone" >&5
20215echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
20216if test "${gfor_cv_struct_timezone+set}" = set; then
20217 echo $ECHO_N "(cached) $ECHO_C" >&6
20218else
20219 cat >conftest.$ac_ext <<_ACEOF
20220/* confdefs.h. */
20221_ACEOF
20222cat confdefs.h >>conftest.$ac_ext
20223cat >>conftest.$ac_ext <<_ACEOF
20224/* end confdefs.h. */
20225#include <sys/time.h>
20226int
20227main ()
20228{
20229struct timezone tz;
20230 ;
20231 return 0;
20232}
20233_ACEOF
20234rm -f conftest.$ac_objext
20235if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20236 (eval $ac_compile) 2>conftest.er1
20237 ac_status=$?
20238 grep -v '^ *+' conftest.er1 >conftest.err
20239 rm -f conftest.er1
20240 cat conftest.err >&5
20241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242 (exit $ac_status); } &&
1409cd0b
FXC
20243 { ac_try='test -z "$ac_c_werror_flag"
20244 || test ! -s conftest.err'
96b8a615
AJ
20245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20246 (eval $ac_try) 2>&5
20247 ac_status=$?
20248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20249 (exit $ac_status); }; } &&
20250 { ac_try='test -s conftest.$ac_objext'
20251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20252 (eval $ac_try) 2>&5
20253 ac_status=$?
20254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20255 (exit $ac_status); }; }; then
20256 gfor_cv_struct_timezone=yes
6de9cd9a 20257else
96b8a615
AJ
20258 echo "$as_me: failed program was:" >&5
20259sed 's/^/| /' conftest.$ac_ext >&5
6de9cd9a 20260
96b8a615 20261gfor_cv_struct_timezone=no
6de9cd9a 20262fi
96b8a615
AJ
20263rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20264fi
20265echo "$as_me:$LINENO: result: $gfor_cv_struct_timezone" >&5
20266echo "${ECHO_T}$gfor_cv_struct_timezone" >&6
20267 if test $gfor_cv_struct_timezone = yes; then
20268 if test "$cross_compiling" = yes; then
20269 gfor_have_struct_timezone=yes
6de9cd9a 20270else
96b8a615
AJ
20271 cat >conftest.$ac_ext <<_ACEOF
20272/* confdefs.h. */
20273_ACEOF
20274cat confdefs.h >>conftest.$ac_ext
20275cat >>conftest.$ac_ext <<_ACEOF
20276/* end confdefs.h. */
6de9cd9a 20277
96b8a615
AJ
20278#ifdef TIME_WITH_SYS_TIME
20279#include <sys/time.h>
20280#include <time.h>
20281#else
20282#ifdef HAVE_SYS_TIME_H
20283#include <sys/time.h>
20284#else
20285#include <time.h>
20286#endif
20287#endif
20288main ()
20289{
20290 struct timeval time;
20291 struct timezone dummy;
20292 if (gettimeofday (&time, &dummy))
20293 exit (1);
20294 else
20295 exit (0);
20296}
20297_ACEOF
20298rm -f conftest$ac_exeext
20299if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20300 (eval $ac_link) 2>&5
6de9cd9a
DN
20301 ac_status=$?
20302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96b8a615
AJ
20303 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20305 (eval $ac_try) 2>&5
6de9cd9a
DN
20306 ac_status=$?
20307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96b8a615
AJ
20308 (exit $ac_status); }; }; then
20309 gfor_have_struct_timezone=yes
6de9cd9a 20310else
96b8a615
AJ
20311 echo "$as_me: program exited with status $ac_status" >&5
20312echo "$as_me: failed program was:" >&5
20313sed 's/^/| /' conftest.$ac_ext >&5
6de9cd9a 20314
96b8a615
AJ
20315( exit $ac_status )
20316gfor_have_struct_timezone=no
20317fi
20318rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20319fi
20320 if test $gfor_have_struct_timezone = yes; then
6de9cd9a 20321
96b8a615
AJ
20322cat >>confdefs.h <<\_ACEOF
20323#define HAVE_TIMEZONE 1
20324_ACEOF
6de9cd9a 20325
96b8a615
AJ
20326 fi
20327 fi
20328
20329 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5
20330echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
20331if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
20332 echo $ECHO_N "(cached) $ECHO_C" >&6
20333else
f02d008e
JD
20334 if test x$gcc_no_link = xyes; then
20335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20336echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20337 { (exit 1); exit 1; }; }
20338fi
20339cat >conftest.$ac_ext <<_ACEOF
6de9cd9a
DN
20340/* confdefs.h. */
20341_ACEOF
20342cat confdefs.h >>conftest.$ac_ext
20343cat >>conftest.$ac_ext <<_ACEOF
20344/* end confdefs.h. */
20345
96b8a615
AJ
20346#ifdef TIME_WITH_SYS_TIME
20347#include <sys/time.h>
20348#include <time.h>
20349#else
20350#ifdef HAVE_SYS_TIME_H
20351#include <sys/time.h>
20352#else
20353#include <time.h>
20354#endif
20355#endif
20356
6de9cd9a
DN
20357int
20358main ()
20359{
20360
96b8a615
AJ
20361 struct timeval time;
20362#ifdef HAVE_TIMEZONE
20363 struct timezone dummy;
20364#define DUMMY &dummy
20365#else
20366#define DUMMY NULL
20367#endif
20368 gettimeofday (&time, DUMMY);
6de9cd9a
DN
20369 ;
20370 return 0;
20371}
20372_ACEOF
20373rm -f conftest.$ac_objext conftest$ac_exeext
20374if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20375 (eval $ac_link) 2>conftest.er1
20376 ac_status=$?
20377 grep -v '^ *+' conftest.er1 >conftest.err
20378 rm -f conftest.er1
20379 cat conftest.err >&5
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); } &&
1409cd0b
FXC
20382 { ac_try='test -z "$ac_c_werror_flag"
20383 || test ! -s conftest.err'
6de9cd9a
DN
20384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20385 (eval $ac_try) 2>&5
20386 ac_status=$?
20387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20388 (exit $ac_status); }; } &&
20389 { ac_try='test -s conftest$ac_exeext'
20390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20391 (eval $ac_try) 2>&5
20392 ac_status=$?
20393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20394 (exit $ac_status); }; }; then
96b8a615 20395 emacs_cv_gettimeofday_two_arguments=yes
6de9cd9a
DN
20396else
20397 echo "$as_me: failed program was:" >&5
20398sed 's/^/| /' conftest.$ac_ext >&5
20399
96b8a615 20400emacs_cv_gettimeofday_two_arguments=no
6de9cd9a
DN
20401fi
20402rm -f conftest.err conftest.$ac_objext \
20403 conftest$ac_exeext conftest.$ac_ext
6de9cd9a 20404fi
96b8a615
AJ
20405echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
20406echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
20407 if test $emacs_cv_gettimeofday_two_arguments = no; then
6de9cd9a 20408
96b8a615
AJ
20409cat >>confdefs.h <<\_ACEOF
20410#define GETTIMEOFDAY_ONE_ARGUMENT 1
20411_ACEOF
6de9cd9a 20412
96b8a615
AJ
20413 fi
20414 fi
6de9cd9a 20415
3969c39f
EB
20416# Attempt to assert that the target is of common type in case we don't
20417# have C99 integer types at all.
20418
20419 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
20420echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
20421if test "${target_ilp32+set}" = set; then
20422 echo $ECHO_N "(cached) $ECHO_C" >&6
20423else
20424
20425 save_CFLAGS="$CFLAGS"
20426 CFLAGS="-O2"
f02d008e
JD
20427 if test x$gcc_no_link = xyes; then
20428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20429echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20430 { (exit 1); exit 1; }; }
20431fi
20432cat >conftest.$ac_ext <<_ACEOF
3969c39f
EB
20433/* confdefs.h. */
20434_ACEOF
20435cat confdefs.h >>conftest.$ac_ext
20436cat >>conftest.$ac_ext <<_ACEOF
20437/* end confdefs.h. */
20438
20439int
20440main ()
20441{
20442
20443if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
20444 ;
20445else
20446 undefined_function ();
20447
20448 ;
20449 return 0;
20450}
20451_ACEOF
20452rm -f conftest.$ac_objext conftest$ac_exeext
20453if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20454 (eval $ac_link) 2>conftest.er1
20455 ac_status=$?
20456 grep -v '^ *+' conftest.er1 >conftest.err
20457 rm -f conftest.er1
20458 cat conftest.err >&5
20459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20460 (exit $ac_status); } &&
1409cd0b
FXC
20461 { ac_try='test -z "$ac_c_werror_flag"
20462 || test ! -s conftest.err'
3969c39f
EB
20463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20464 (eval $ac_try) 2>&5
20465 ac_status=$?
20466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20467 (exit $ac_status); }; } &&
20468 { ac_try='test -s conftest$ac_exeext'
20469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20470 (eval $ac_try) 2>&5
20471 ac_status=$?
20472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20473 (exit $ac_status); }; }; then
20474 target_ilp32=yes
20475else
20476 echo "$as_me: failed program was:" >&5
20477sed 's/^/| /' conftest.$ac_ext >&5
20478
20479target_ilp32=no
20480fi
20481rm -f conftest.err conftest.$ac_objext \
20482 conftest$ac_exeext conftest.$ac_ext
20483 CFLAGS="$save_CFLAGS"
20484fi
20485echo "$as_me:$LINENO: result: $target_ilp32" >&5
20486echo "${ECHO_T}$target_ilp32" >&6
20487 if test $target_ilp32 = yes; then
20488
20489cat >>confdefs.h <<\_ACEOF
20490#define TARGET_ILP32 1
20491_ACEOF
20492
20493 fi
20494
20495
7d7b8bfe
RH
20496# Check out attribute support.
20497
20498 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
20499echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
20500if test "${have_attribute_visibility+set}" = set; then
20501 echo $ECHO_N "(cached) $ECHO_C" >&6
20502else
20503
20504 save_CFLAGS="$CFLAGS"
20505 CFLAGS="$CFLAGS -Werror"
20506 cat >conftest.$ac_ext <<_ACEOF
20507/* confdefs.h. */
20508_ACEOF
20509cat confdefs.h >>conftest.$ac_ext
20510cat >>conftest.$ac_ext <<_ACEOF
20511/* end confdefs.h. */
20512void __attribute__((visibility("hidden"))) foo(void) { }
20513int
20514main ()
20515{
20516
20517 ;
20518 return 0;
20519}
20520_ACEOF
20521rm -f conftest.$ac_objext
20522if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20523 (eval $ac_compile) 2>conftest.er1
20524 ac_status=$?
20525 grep -v '^ *+' conftest.er1 >conftest.err
20526 rm -f conftest.er1
20527 cat conftest.err >&5
20528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20529 (exit $ac_status); } &&
1409cd0b
FXC
20530 { ac_try='test -z "$ac_c_werror_flag"
20531 || test ! -s conftest.err'
7d7b8bfe
RH
20532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20533 (eval $ac_try) 2>&5
20534 ac_status=$?
20535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20536 (exit $ac_status); }; } &&
20537 { ac_try='test -s conftest.$ac_objext'
20538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20539 (eval $ac_try) 2>&5
20540 ac_status=$?
20541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20542 (exit $ac_status); }; }; then
20543 have_attribute_visibility=yes
20544else
20545 echo "$as_me: failed program was:" >&5
20546sed 's/^/| /' conftest.$ac_ext >&5
20547
20548have_attribute_visibility=no
20549fi
20550rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20551 CFLAGS="$save_CFLAGS"
20552fi
20553echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
20554echo "${ECHO_T}$have_attribute_visibility" >&6
20555 if test $have_attribute_visibility = yes; then
20556
20557cat >>confdefs.h <<\_ACEOF
20558#define HAVE_ATTRIBUTE_VISIBILITY 1
20559_ACEOF
20560
20561 fi
20562
20563 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
20564echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
20565if test "${have_attribute_dllexport+set}" = set; then
20566 echo $ECHO_N "(cached) $ECHO_C" >&6
20567else
20568
20569 save_CFLAGS="$CFLAGS"
20570 CFLAGS="$CFLAGS -Werror"
20571 cat >conftest.$ac_ext <<_ACEOF
20572/* confdefs.h. */
20573_ACEOF
20574cat confdefs.h >>conftest.$ac_ext
20575cat >>conftest.$ac_ext <<_ACEOF
20576/* end confdefs.h. */
20577void __attribute__((dllexport)) foo(void) { }
20578int
20579main ()
20580{
20581
20582 ;
20583 return 0;
20584}
20585_ACEOF
20586rm -f conftest.$ac_objext
20587if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20588 (eval $ac_compile) 2>conftest.er1
20589 ac_status=$?
20590 grep -v '^ *+' conftest.er1 >conftest.err
20591 rm -f conftest.er1
20592 cat conftest.err >&5
20593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594 (exit $ac_status); } &&
1409cd0b
FXC
20595 { ac_try='test -z "$ac_c_werror_flag"
20596 || test ! -s conftest.err'
7d7b8bfe
RH
20597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20598 (eval $ac_try) 2>&5
20599 ac_status=$?
20600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20601 (exit $ac_status); }; } &&
20602 { ac_try='test -s conftest.$ac_objext'
20603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20604 (eval $ac_try) 2>&5
20605 ac_status=$?
20606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20607 (exit $ac_status); }; }; then
20608 have_attribute_dllexport=yes
20609else
20610 echo "$as_me: failed program was:" >&5
20611sed 's/^/| /' conftest.$ac_ext >&5
20612
20613have_attribute_dllexport=no
20614fi
20615rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20616 CFLAGS="$save_CFLAGS"
20617fi
20618echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
20619echo "${ECHO_T}$have_attribute_dllexport" >&6
20620 if test $have_attribute_dllexport = yes; then
20621
20622cat >>confdefs.h <<\_ACEOF
20623#define HAVE_ATTRIBUTE_DLLEXPORT 1
20624_ACEOF
20625
20626 fi
20627
20628 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
20629echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
20630if test "${have_attribute_alias+set}" = set; then
20631 echo $ECHO_N "(cached) $ECHO_C" >&6
20632else
20633
f02d008e
JD
20634 if test x$gcc_no_link = xyes; then
20635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20636echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20637 { (exit 1); exit 1; }; }
20638fi
20639cat >conftest.$ac_ext <<_ACEOF
7d7b8bfe
RH
20640/* confdefs.h. */
20641_ACEOF
20642cat confdefs.h >>conftest.$ac_ext
20643cat >>conftest.$ac_ext <<_ACEOF
20644/* end confdefs.h. */
20645
20646#define ULP STR1(__USER_LABEL_PREFIX__)
20647#define STR1(x) STR2(x)
20648#define STR2(x) #x
20649void foo(void) { }
20650extern void bar(void) __attribute__((alias(ULP "foo")));
20651int
20652main ()
20653{
20654bar();
20655 ;
20656 return 0;
20657}
20658_ACEOF
20659rm -f conftest.$ac_objext conftest$ac_exeext
20660if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20661 (eval $ac_link) 2>conftest.er1
20662 ac_status=$?
20663 grep -v '^ *+' conftest.er1 >conftest.err
20664 rm -f conftest.er1
20665 cat conftest.err >&5
20666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20667 (exit $ac_status); } &&
1409cd0b
FXC
20668 { ac_try='test -z "$ac_c_werror_flag"
20669 || test ! -s conftest.err'
7d7b8bfe
RH
20670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20671 (eval $ac_try) 2>&5
20672 ac_status=$?
20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674 (exit $ac_status); }; } &&
20675 { ac_try='test -s conftest$ac_exeext'
20676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20677 (eval $ac_try) 2>&5
20678 ac_status=$?
20679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20680 (exit $ac_status); }; }; then
20681 have_attribute_alias=yes
20682else
20683 echo "$as_me: failed program was:" >&5
20684sed 's/^/| /' conftest.$ac_ext >&5
20685
20686have_attribute_alias=no
20687fi
20688rm -f conftest.err conftest.$ac_objext \
20689 conftest$ac_exeext conftest.$ac_ext
20690fi
20691echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
20692echo "${ECHO_T}$have_attribute_alias" >&6
20693 if test $have_attribute_alias = yes; then
20694
20695cat >>confdefs.h <<\_ACEOF
20696#define HAVE_ATTRIBUTE_ALIAS 1
20697_ACEOF
20698
20699 fi
20700
10c682a0
FXC
20701# Various other checks on target
20702
20703 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
20704echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
20705if test "${have_unlink_open_file+set}" = set; then
20706 echo $ECHO_N "(cached) $ECHO_C" >&6
20707else
20708
20709 if test "$cross_compiling" = yes; then
20710
20711case "${target}" in
20712 *mingw*) have_unlink_open_file=no ;;
20713 *) have_unlink_open_file=yes;;
20714esac
20715else
20716 cat >conftest.$ac_ext <<_ACEOF
20717/* confdefs.h. */
20718_ACEOF
20719cat confdefs.h >>conftest.$ac_ext
20720cat >>conftest.$ac_ext <<_ACEOF
20721/* end confdefs.h. */
20722
20723#include <errno.h>
20724#include <fcntl.h>
20725#include <unistd.h>
20726#include <sys/stat.h>
20727
20728int main ()
20729{
20730 int fd;
20731
20732 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
20733 if (fd <= 0)
20734 return 0;
20735 if (unlink ("testfile") == -1)
20736 return 1;
20737 write (fd, "This is a test\n", 15);
20738 close (fd);
20739
20740 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
20741 return 0;
20742 else
20743 return 1;
20744}
20745_ACEOF
20746rm -f conftest$ac_exeext
20747if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20748 (eval $ac_link) 2>&5
20749 ac_status=$?
20750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20751 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20753 (eval $ac_try) 2>&5
20754 ac_status=$?
20755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20756 (exit $ac_status); }; }; then
20757 have_unlink_open_file=yes
20758else
20759 echo "$as_me: program exited with status $ac_status" >&5
20760echo "$as_me: failed program was:" >&5
20761sed 's/^/| /' conftest.$ac_ext >&5
20762
20763( exit $ac_status )
20764have_unlink_open_file=no
20765fi
20766rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20767fi
20768fi
20769echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
20770echo "${ECHO_T}$have_unlink_open_file" >&6
20771if test x"$have_unlink_open_file" = xyes; then
20772
20773cat >>confdefs.h <<\_ACEOF
20774#define HAVE_UNLINK_OPEN_FILE 1
20775_ACEOF
20776
20777fi
20778
3c127520
FXC
20779# Check whether line terminator is LF or CRLF
20780
20781 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
20782echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
20783if test "${have_crlf+set}" = set; then
20784 echo $ECHO_N "(cached) $ECHO_C" >&6
20785else
20786
20787 if test "$cross_compiling" = yes; then
20788
20789case "${target}" in
20790 *mingw*) have_crlf=yes ;;
20791 *) have_crlf=no;;
20792esac
20793else
20794 cat >conftest.$ac_ext <<_ACEOF
20795/* confdefs.h. */
20796_ACEOF
20797cat confdefs.h >>conftest.$ac_ext
20798cat >>conftest.$ac_ext <<_ACEOF
20799/* end confdefs.h. */
20800
20801/* This test program should exit with status 0 if system uses a CRLF as
20802 line terminator, and status 1 otherwise.
20803 Since it is used to check for mingw systems, and should return 0 in any
20804 other case, in case of a failure we will not use CRLF. */
20805#include <sys/stat.h>
20806#include <stdlib.h>
20807#include <fcntl.h>
20808#include <stdio.h>
20809
20810int main ()
20811{
20812#ifndef O_BINARY
20813 exit(1);
20814#else
20815 int fd, bytes;
20816 char buff[5];
20817
20818 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
20819 if (fd < 0)
20820 exit(1);
20821 if (write (fd, "\n", 1) < 0)
20822 perror ("write");
20823
20824 close (fd);
20825
20826 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
20827 exit(1);
20828 bytes = read (fd, buff, 5);
20829 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
20830 exit(0);
20831 else
20832 exit(1);
20833#endif
20834}
20835_ACEOF
20836rm -f conftest$ac_exeext
20837if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20838 (eval $ac_link) 2>&5
20839 ac_status=$?
20840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20841 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20843 (eval $ac_try) 2>&5
20844 ac_status=$?
20845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20846 (exit $ac_status); }; }; then
20847 have_crlf=yes
20848else
20849 echo "$as_me: program exited with status $ac_status" >&5
20850echo "$as_me: failed program was:" >&5
20851sed 's/^/| /' conftest.$ac_ext >&5
20852
20853( exit $ac_status )
20854have_crlf=no
20855fi
20856rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20857fi
20858fi
20859echo "$as_me:$LINENO: result: $have_crlf" >&5
20860echo "${ECHO_T}$have_crlf" >&6
20861if test x"$have_crlf" = xyes; then
20862
20863cat >>confdefs.h <<\_ACEOF
20864#define HAVE_CRLF 1
20865_ACEOF
20866
20867fi
20868
6de9cd9a
DN
20869cat >confcache <<\_ACEOF
20870# This file is a shell script that caches the results of configure
20871# tests run on this system so they can be shared between configure
20872# scripts and configure runs, see configure's option --config-cache.
20873# It is not useful on other systems. If it contains results you don't
20874# want to keep, you may remove or edit it.
20875#
20876# config.status only pays attention to the cache file if you give it
20877# the --recheck option to rerun configure.
20878#
20879# `ac_cv_env_foo' variables (set or unset) will be overridden when
20880# loading this file, other *unset* `ac_cv_foo' will be assigned the
20881# following values.
20882
20883_ACEOF
20884
20885# The following way of writing the cache mishandles newlines in values,
20886# but we know of no workaround that is simple, portable, and efficient.
20887# So, don't put newlines in cache variables' values.
20888# Ultrix sh set writes to stderr and can't be redirected directly,
20889# and sets the high bit in the cache file unless we assign to the vars.
20890{
20891 (set) 2>&1 |
20892 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20893 *ac_space=\ *)
20894 # `set' does not quote correctly, so add quotes (double-quote
20895 # substitution turns \\\\ into \\, and sed turns \\ into \).
20896 sed -n \
20897 "s/'/'\\\\''/g;
20898 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20899 ;;
20900 *)
20901 # `set' quotes correctly as required by POSIX, so do not add quotes.
20902 sed -n \
20903 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20904 ;;
20905 esac;
20906} |
20907 sed '
20908 t clear
20909 : clear
20910 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20911 t end
20912 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20913 : end' >>confcache
20914if diff $cache_file confcache >/dev/null 2>&1; then :; else
20915 if test -w $cache_file; then
20916 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20917 cat confcache >$cache_file
20918 else
20919 echo "not updating unwritable cache $cache_file"
20920 fi
20921fi
20922rm -f confcache
20923
96b8a615
AJ
20924if test ${multilib} = yes; then
20925 multilib_arg="--enable-multilib"
6de9cd9a 20926else
96b8a615 20927 multilib_arg=
6de9cd9a 20928fi
6de9cd9a 20929
96b8a615 20930# Write our Makefile.
6de9cd9a 20931 ac_config_files="$ac_config_files Makefile"
96b8a615 20932
6de9cd9a
DN
20933cat >confcache <<\_ACEOF
20934# This file is a shell script that caches the results of configure
20935# tests run on this system so they can be shared between configure
20936# scripts and configure runs, see configure's option --config-cache.
20937# It is not useful on other systems. If it contains results you don't
20938# want to keep, you may remove or edit it.
20939#
20940# config.status only pays attention to the cache file if you give it
20941# the --recheck option to rerun configure.
20942#
20943# `ac_cv_env_foo' variables (set or unset) will be overridden when
20944# loading this file, other *unset* `ac_cv_foo' will be assigned the
20945# following values.
20946
20947_ACEOF
20948
20949# The following way of writing the cache mishandles newlines in values,
20950# but we know of no workaround that is simple, portable, and efficient.
20951# So, don't put newlines in cache variables' values.
20952# Ultrix sh set writes to stderr and can't be redirected directly,
20953# and sets the high bit in the cache file unless we assign to the vars.
20954{
20955 (set) 2>&1 |
20956 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20957 *ac_space=\ *)
20958 # `set' does not quote correctly, so add quotes (double-quote
20959 # substitution turns \\\\ into \\, and sed turns \\ into \).
20960 sed -n \
20961 "s/'/'\\\\''/g;
20962 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20963 ;;
20964 *)
20965 # `set' quotes correctly as required by POSIX, so do not add quotes.
20966 sed -n \
20967 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20968 ;;
20969 esac;
20970} |
20971 sed '
20972 t clear
20973 : clear
20974 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20975 t end
20976 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20977 : end' >>confcache
20978if diff $cache_file confcache >/dev/null 2>&1; then :; else
20979 if test -w $cache_file; then
20980 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20981 cat confcache >$cache_file
20982 else
20983 echo "not updating unwritable cache $cache_file"
20984 fi
20985fi
20986rm -f confcache
20987
20988test "x$prefix" = xNONE && prefix=$ac_default_prefix
20989# Let make expand exec_prefix.
20990test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20991
20992# VPATH may cause trouble with some makes, so we remove $(srcdir),
20993# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20994# trailing colons and then remove the whole line if VPATH becomes empty
20995# (actually we leave an empty line to preserve line numbers).
20996if test "x$srcdir" = x.; then
20997 ac_vpsub='/^[ ]*VPATH[ ]*=/{
20998s/:*\$(srcdir):*/:/;
20999s/:*\${srcdir}:*/:/;
21000s/:*@srcdir@:*/:/;
21001s/^\([^=]*=[ ]*\):*/\1/;
21002s/:*$//;
21003s/^[^=]*=[ ]*$//;
21004}'
21005fi
21006
21007DEFS=-DHAVE_CONFIG_H
21008
21009ac_libobjs=
21010ac_ltlibobjs=
21011for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21012 # 1. Remove the extension, and $U if already installed.
21013 ac_i=`echo "$ac_i" |
21014 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
21015 # 2. Add them.
21016 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
21017 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
21018done
21019LIBOBJS=$ac_libobjs
21020
21021LTLIBOBJS=$ac_ltlibobjs
21022
21023
21024if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21025 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
21026Usually this means the macro was only invoked conditionally." >&5
21027echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
21028Usually this means the macro was only invoked conditionally." >&2;}
21029 { (exit 1); exit 1; }; }
21030fi
6de9cd9a
DN
21031
21032: ${CONFIG_STATUS=./config.status}
21033ac_clean_files_save=$ac_clean_files
21034ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21035{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21036echo "$as_me: creating $CONFIG_STATUS" >&6;}
21037cat >$CONFIG_STATUS <<_ACEOF
21038#! $SHELL
21039# Generated by $as_me.
21040# Run this file to recreate the current configuration.
21041# Compiler output produced by configure, useful for debugging
21042# configure, is in config.log if it exists.
21043
21044debug=false
21045ac_cs_recheck=false
21046ac_cs_silent=false
21047SHELL=\${CONFIG_SHELL-$SHELL}
21048_ACEOF
21049
21050cat >>$CONFIG_STATUS <<\_ACEOF
21051## --------------------- ##
21052## M4sh Initialization. ##
21053## --------------------- ##
21054
21055# Be Bourne compatible
21056if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21057 emulate sh
21058 NULLCMD=:
21059 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21060 # is contrary to our usage. Disable this feature.
21061 alias -g '${1+"$@"}'='"$@"'
21062elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21063 set -o posix
21064fi
21065DUALCASE=1; export DUALCASE # for MKS sh
21066
21067# Support unset when possible.
21068if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21069 as_unset=unset
21070else
21071 as_unset=false
21072fi
21073
21074
21075# Work around bugs in pre-3.0 UWIN ksh.
21076$as_unset ENV MAIL MAILPATH
21077PS1='$ '
21078PS2='> '
21079PS4='+ '
21080
21081# NLS nuisances.
21082for as_var in \
21083 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21084 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21085 LC_TELEPHONE LC_TIME
21086do
21087 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21088 eval $as_var=C; export $as_var
21089 else
21090 $as_unset $as_var
21091 fi
21092done
21093
21094# Required to use basename.
21095if expr a : '\(a\)' >/dev/null 2>&1; then
21096 as_expr=expr
21097else
21098 as_expr=false
21099fi
21100
21101if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
21102 as_basename=basename
21103else
21104 as_basename=false
21105fi
21106
21107
21108# Name of the executable.
21109as_me=`$as_basename "$0" ||
21110$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21111 X"$0" : 'X\(//\)$' \| \
21112 X"$0" : 'X\(/\)$' \| \
21113 . : '\(.\)' 2>/dev/null ||
21114echo X/"$0" |
21115 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21116 /^X\/\(\/\/\)$/{ s//\1/; q; }
21117 /^X\/\(\/\).*/{ s//\1/; q; }
21118 s/.*/./; q'`
21119
21120
21121# PATH needs CR, and LINENO needs CR and PATH.
21122# Avoid depending upon Character Ranges.
21123as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21124as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21125as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21126as_cr_digits='0123456789'
21127as_cr_alnum=$as_cr_Letters$as_cr_digits
21128
21129# The user is always right.
21130if test "${PATH_SEPARATOR+set}" != set; then
21131 echo "#! /bin/sh" >conf$$.sh
21132 echo "exit 0" >>conf$$.sh
21133 chmod +x conf$$.sh
21134 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21135 PATH_SEPARATOR=';'
21136 else
21137 PATH_SEPARATOR=:
21138 fi
21139 rm -f conf$$.sh
21140fi
21141
21142
21143 as_lineno_1=$LINENO
21144 as_lineno_2=$LINENO
21145 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21146 test "x$as_lineno_1" != "x$as_lineno_2" &&
21147 test "x$as_lineno_3" = "x$as_lineno_2" || {
21148 # Find who we are. Look in the path if we contain no path at all
21149 # relative or not.
21150 case $0 in
21151 *[\\/]* ) as_myself=$0 ;;
21152 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21153for as_dir in $PATH
21154do
21155 IFS=$as_save_IFS
21156 test -z "$as_dir" && as_dir=.
21157 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21158done
21159
21160 ;;
21161 esac
21162 # We did not find ourselves, most probably we were run as `sh COMMAND'
21163 # in which case we are not to be found in the path.
21164 if test "x$as_myself" = x; then
21165 as_myself=$0
21166 fi
21167 if test ! -f "$as_myself"; then
21168 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
21169echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
21170 { (exit 1); exit 1; }; }
21171 fi
21172 case $CONFIG_SHELL in
21173 '')
21174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21175for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
21176do
21177 IFS=$as_save_IFS
21178 test -z "$as_dir" && as_dir=.
21179 for as_base in sh bash ksh sh5; do
21180 case $as_dir in
21181 /*)
21182 if ("$as_dir/$as_base" -c '
21183 as_lineno_1=$LINENO
21184 as_lineno_2=$LINENO
21185 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21186 test "x$as_lineno_1" != "x$as_lineno_2" &&
21187 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
21188 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
21189 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
21190 CONFIG_SHELL=$as_dir/$as_base
21191 export CONFIG_SHELL
21192 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
21193 fi;;
21194 esac
21195 done
21196done
21197;;
21198 esac
21199
21200 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21201 # uniformly replaced by the line number. The first 'sed' inserts a
21202 # line-number line before each line; the second 'sed' does the real
21203 # work. The second script uses 'N' to pair each line-number line
21204 # with the numbered line, and appends trailing '-' during
21205 # substitution so that $LINENO is not a special case at line end.
21206 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21207 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
21208 sed '=' <$as_myself |
21209 sed '
21210 N
21211 s,$,-,
21212 : loop
21213 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
21214 t loop
21215 s,-$,,
21216 s,^['$as_cr_digits']*\n,,
21217 ' >$as_me.lineno &&
21218 chmod +x $as_me.lineno ||
21219 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
21220echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
21221 { (exit 1); exit 1; }; }
21222
21223 # Don't try to exec as it changes $[0], causing all sort of problems
21224 # (the dirname of $[0] is not the place where we might find the
21225 # original and so on. Autoconf is especially sensible to this).
21226 . ./$as_me.lineno
21227 # Exit status is that of the last command.
21228 exit
21229}
21230
21231
21232case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
21233 *c*,-n*) ECHO_N= ECHO_C='
21234' ECHO_T=' ' ;;
21235 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
21236 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
21237esac
21238
21239if expr a : '\(a\)' >/dev/null 2>&1; then
21240 as_expr=expr
21241else
21242 as_expr=false
21243fi
21244
21245rm -f conf$$ conf$$.exe conf$$.file
21246echo >conf$$.file
21247if ln -s conf$$.file conf$$ 2>/dev/null; then
21248 # We could just check for DJGPP; but this test a) works b) is more generic
21249 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
21250 if test -f conf$$.exe; then
21251 # Don't use ln at all; we don't have any links
21252 as_ln_s='cp -p'
21253 else
21254 as_ln_s='ln -s'
21255 fi
21256elif ln conf$$.file conf$$ 2>/dev/null; then
21257 as_ln_s=ln
21258else
21259 as_ln_s='cp -p'
21260fi
21261rm -f conf$$ conf$$.exe conf$$.file
21262
21263if mkdir -p . 2>/dev/null; then
21264 as_mkdir_p=:
21265else
21266 test -d ./-p && rmdir ./-p
21267 as_mkdir_p=false
21268fi
21269
21270as_executable_p="test -f"
21271
21272# Sed expression to map a string onto a valid CPP name.
21273as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21274
21275# Sed expression to map a string onto a valid variable name.
21276as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21277
21278
21279# IFS
21280# We need space, tab and new line, in precisely that order.
21281as_nl='
21282'
21283IFS=" $as_nl"
21284
21285# CDPATH.
21286$as_unset CDPATH
21287
21288exec 6>&1
21289
21290# Open the log real soon, to keep \$[0] and so on meaningful, and to
21291# report actual input values of CONFIG_FILES etc. instead of their
21292# values after options handling. Logging --version etc. is OK.
21293exec 5>>config.log
21294{
21295 echo
21296 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21297## Running $as_me. ##
21298_ASBOX
21299} >&5
21300cat >&5 <<_CSEOF
21301
21302This file was extended by GNU Fortran Runtime Library $as_me 0.2, which was
21303generated by GNU Autoconf 2.59. Invocation command line was
21304
21305 CONFIG_FILES = $CONFIG_FILES
21306 CONFIG_HEADERS = $CONFIG_HEADERS
21307 CONFIG_LINKS = $CONFIG_LINKS
21308 CONFIG_COMMANDS = $CONFIG_COMMANDS
21309 $ $0 $@
21310
21311_CSEOF
21312echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
21313echo >&5
21314_ACEOF
21315
21316# Files that config.status was made for.
21317if test -n "$ac_config_files"; then
21318 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
21319fi
21320
21321if test -n "$ac_config_headers"; then
21322 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
21323fi
21324
21325if test -n "$ac_config_links"; then
21326 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
21327fi
21328
21329if test -n "$ac_config_commands"; then
21330 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
21331fi
21332
21333cat >>$CONFIG_STATUS <<\_ACEOF
21334
21335ac_cs_usage="\
21336\`$as_me' instantiates files from templates according to the
21337current configuration.
21338
21339Usage: $0 [OPTIONS] [FILE]...
21340
21341 -h, --help print this help, then exit
21342 -V, --version print version number, then exit
21343 -q, --quiet do not print progress messages
21344 -d, --debug don't remove temporary files
21345 --recheck update $as_me by reconfiguring in the same conditions
21346 --file=FILE[:TEMPLATE]
21347 instantiate the configuration file FILE
21348 --header=FILE[:TEMPLATE]
21349 instantiate the configuration header FILE
21350
21351Configuration files:
21352$config_files
21353
21354Configuration headers:
21355$config_headers
21356
21357Configuration commands:
21358$config_commands
21359
21360Report bugs to <bug-autoconf@gnu.org>."
21361_ACEOF
21362
21363cat >>$CONFIG_STATUS <<_ACEOF
21364ac_cs_version="\\
21365GNU Fortran Runtime Library config.status 0.2
21366configured by $0, generated by GNU Autoconf 2.59,
21367 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
21368
21369Copyright (C) 2003 Free Software Foundation, Inc.
21370This config.status script is free software; the Free Software Foundation
21371gives unlimited permission to copy, distribute and modify it."
21372srcdir=$srcdir
21373INSTALL="$INSTALL"
21374_ACEOF
21375
21376cat >>$CONFIG_STATUS <<\_ACEOF
21377# If no file are specified by the user, then we need to provide default
21378# value. By we need to know if files were specified by the user.
21379ac_need_defaults=:
21380while test $# != 0
21381do
21382 case $1 in
21383 --*=*)
21384 ac_option=`expr "x$1" : 'x\([^=]*\)='`
21385 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
21386 ac_shift=:
21387 ;;
21388 -*)
21389 ac_option=$1
21390 ac_optarg=$2
21391 ac_shift=shift
21392 ;;
21393 *) # This is not an option, so the user has probably given explicit
21394 # arguments.
21395 ac_option=$1
21396 ac_need_defaults=false;;
21397 esac
21398
21399 case $ac_option in
21400 # Handling of the options.
21401_ACEOF
21402cat >>$CONFIG_STATUS <<\_ACEOF
21403 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21404 ac_cs_recheck=: ;;
21405 --version | --vers* | -V )
21406 echo "$ac_cs_version"; exit 0 ;;
21407 --he | --h)
21408 # Conflict between --help and --header
21409 { { echo "$as_me:$LINENO: error: ambiguous option: $1
21410Try \`$0 --help' for more information." >&5
21411echo "$as_me: error: ambiguous option: $1
21412Try \`$0 --help' for more information." >&2;}
21413 { (exit 1); exit 1; }; };;
21414 --help | --hel | -h )
21415 echo "$ac_cs_usage"; exit 0 ;;
21416 --debug | --d* | -d )
21417 debug=: ;;
21418 --file | --fil | --fi | --f )
21419 $ac_shift
21420 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21421 ac_need_defaults=false;;
21422 --header | --heade | --head | --hea )
21423 $ac_shift
21424 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21425 ac_need_defaults=false;;
21426 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21427 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21428 ac_cs_silent=: ;;
21429
21430 # This is an error.
21431 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
21432Try \`$0 --help' for more information." >&5
21433echo "$as_me: error: unrecognized option: $1
21434Try \`$0 --help' for more information." >&2;}
21435 { (exit 1); exit 1; }; } ;;
21436
21437 *) ac_config_targets="$ac_config_targets $1" ;;
21438
21439 esac
21440 shift
21441done
21442
21443ac_configure_extra_args=
21444
21445if $ac_cs_silent; then
21446 exec 6>/dev/null
21447 ac_configure_extra_args="$ac_configure_extra_args --silent"
21448fi
21449
21450_ACEOF
21451cat >>$CONFIG_STATUS <<_ACEOF
21452if \$ac_cs_recheck; then
21453 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21454 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21455fi
21456
21457_ACEOF
21458
21459cat >>$CONFIG_STATUS <<_ACEOF
21460#
21461# INIT-COMMANDS section.
21462#
21463
96b8a615
AJ
21464
21465srcdir="$srcdir"
21466host="$host"
21467target="$target"
21468with_multisubdir="$with_multisubdir"
21469with_multisrctop="$with_multisrctop"
21470with_target_subdir="$with_target_subdir"
21471ac_configure_args="${multilib_arg} ${ac_configure_args}"
21472multi_basedir="$multi_basedir"
21473CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
21474CC="$CC"
6de9cd9a
DN
21475
21476_ACEOF
21477
21478
21479
21480cat >>$CONFIG_STATUS <<\_ACEOF
21481for ac_config_target in $ac_config_targets
21482do
21483 case "$ac_config_target" in
21484 # Handling of arguments.
21485 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
96b8a615 21486 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
6de9cd9a
DN
21487 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
21488 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21489echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21490 { (exit 1); exit 1; }; };;
21491 esac
21492done
21493
21494# If the user did not use the arguments to specify the items to instantiate,
21495# then the envvar interface is used. Set only those that are not.
21496# We use the long form for the default assignment because of an extremely
21497# bizarre bug on SunOS 4.1.3.
21498if $ac_need_defaults; then
21499 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21500 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21501 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21502fi
21503
21504# Have a temporary directory for convenience. Make it in the build tree
21505# simply because there is no reason to put it here, and in addition,
21506# creating and moving files from /tmp can sometimes cause problems.
21507# Create a temporary directory, and hook for its removal unless debugging.
21508$debug ||
21509{
21510 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
21511 trap '{ (exit 1); exit 1; }' 1 2 13 15
21512}
21513
21514# Create a (secure) tmp directory for tmp files.
21515
21516{
21517 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
21518 test -n "$tmp" && test -d "$tmp"
21519} ||
21520{
21521 tmp=./confstat$$-$RANDOM
21522 (umask 077 && mkdir $tmp)
21523} ||
21524{
21525 echo "$me: cannot create a temporary directory in ." >&2
21526 { (exit 1); exit 1; }
21527}
21528
21529_ACEOF
21530
21531cat >>$CONFIG_STATUS <<_ACEOF
21532
21533#
21534# CONFIG_FILES section.
21535#
21536
21537# No need to generate the scripts if there are no CONFIG_FILES.
21538# This happens for instance when ./config.status config.h
21539if test -n "\$CONFIG_FILES"; then
21540 # Protect against being on the right side of a sed subst in config.status.
21541 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21542 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21543s,@SHELL@,$SHELL,;t t
21544s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21545s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21546s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21547s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21548s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21549s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21550s,@exec_prefix@,$exec_prefix,;t t
21551s,@prefix@,$prefix,;t t
21552s,@program_transform_name@,$program_transform_name,;t t
21553s,@bindir@,$bindir,;t t
21554s,@sbindir@,$sbindir,;t t
21555s,@libexecdir@,$libexecdir,;t t
21556s,@datadir@,$datadir,;t t
21557s,@sysconfdir@,$sysconfdir,;t t
21558s,@sharedstatedir@,$sharedstatedir,;t t
21559s,@localstatedir@,$localstatedir,;t t
21560s,@libdir@,$libdir,;t t
21561s,@includedir@,$includedir,;t t
21562s,@oldincludedir@,$oldincludedir,;t t
21563s,@infodir@,$infodir,;t t
21564s,@mandir@,$mandir,;t t
21565s,@build_alias@,$build_alias,;t t
21566s,@host_alias@,$host_alias,;t t
21567s,@target_alias@,$target_alias,;t t
21568s,@DEFS@,$DEFS,;t t
21569s,@ECHO_C@,$ECHO_C,;t t
21570s,@ECHO_N@,$ECHO_N,;t t
21571s,@ECHO_T@,$ECHO_T,;t t
21572s,@LIBS@,$LIBS,;t t
96b8a615
AJ
21573s,@build@,$build,;t t
21574s,@build_cpu@,$build_cpu,;t t
21575s,@build_vendor@,$build_vendor,;t t
21576s,@build_os@,$build_os,;t t
21577s,@host@,$host,;t t
21578s,@host_cpu@,$host_cpu,;t t
21579s,@host_vendor@,$host_vendor,;t t
21580s,@host_os@,$host_os,;t t
21581s,@target@,$target,;t t
21582s,@target_cpu@,$target_cpu,;t t
21583s,@target_vendor@,$target_vendor,;t t
21584s,@target_os@,$target_os,;t t
6de9cd9a
DN
21585s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21586s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21587s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21588s,@CYGPATH_W@,$CYGPATH_W,;t t
21589s,@PACKAGE@,$PACKAGE,;t t
21590s,@VERSION@,$VERSION,;t t
21591s,@ACLOCAL@,$ACLOCAL,;t t
21592s,@AUTOCONF@,$AUTOCONF,;t t
21593s,@AUTOMAKE@,$AUTOMAKE,;t t
21594s,@AUTOHEADER@,$AUTOHEADER,;t t
21595s,@MAKEINFO@,$MAKEINFO,;t t
6de9cd9a
DN
21596s,@install_sh@,$install_sh,;t t
21597s,@STRIP@,$STRIP,;t t
21598s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21599s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
21600s,@mkdir_p@,$mkdir_p,;t t
21601s,@AWK@,$AWK,;t t
21602s,@SET_MAKE@,$SET_MAKE,;t t
21603s,@am__leading_dot@,$am__leading_dot,;t t
d49ec2d1
KC
21604s,@AMTAR@,$AMTAR,;t t
21605s,@am__tar@,$am__tar,;t t
21606s,@am__untar@,$am__untar,;t t
6de9cd9a
DN
21607s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
21608s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
21609s,@MAINT@,$MAINT,;t t
96b8a615 21610s,@multi_basedir@,$multi_basedir,;t t
96b8a615
AJ
21611s,@toolexecdir@,$toolexecdir,;t t
21612s,@toolexeclibdir@,$toolexeclibdir,;t t
6de9cd9a 21613s,@CC@,$CC,;t t
6de9cd9a
DN
21614s,@ac_ct_CC@,$ac_ct_CC,;t t
21615s,@EXEEXT@,$EXEEXT,;t t
21616s,@OBJEXT@,$OBJEXT,;t t
e606fb39
AJ
21617s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
21618s,@AM_CFLAGS@,$AM_CFLAGS,;t t
96b8a615
AJ
21619s,@AS@,$AS,;t t
21620s,@ac_ct_AS@,$ac_ct_AS,;t t
21621s,@AR@,$AR,;t t
21622s,@ac_ct_AR@,$ac_ct_AR,;t t
21623s,@RANLIB@,$RANLIB,;t t
21624s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21625s,@LN_S@,$LN_S,;t t
21626s,@LIBTOOL@,$LIBTOOL,;t t
21627s,@enable_shared@,$enable_shared,;t t
21628s,@enable_static@,$enable_static,;t t
c7a35fe9
AS
21629s,@FC@,$FC,;t t
21630s,@FCFLAGS@,$FCFLAGS,;t t
96b8a615 21631s,@LDFLAGS@,$LDFLAGS,;t t
c7a35fe9 21632s,@ac_ct_FC@,$ac_ct_FC,;t t
e87045f3 21633s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
6de9cd9a 21634s,@CPP@,$CPP,;t t
96b8a615 21635s,@CPPFLAGS@,$CPPFLAGS,;t t
6de9cd9a 21636s,@EGREP@,$EGREP,;t t
944b8b35 21637s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
6de9cd9a
DN
21638s,@LIBOBJS@,$LIBOBJS,;t t
21639s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21640CEOF
21641
21642_ACEOF
21643
21644 cat >>$CONFIG_STATUS <<\_ACEOF
21645 # Split the substitutions into bite-sized pieces for seds with
21646 # small command number limits, like on Digital OSF/1 and HP-UX.
21647 ac_max_sed_lines=48
21648 ac_sed_frag=1 # Number of current file.
21649 ac_beg=1 # First line for current file.
21650 ac_end=$ac_max_sed_lines # Line after last line for current file.
21651 ac_more_lines=:
21652 ac_sed_cmds=
21653 while $ac_more_lines; do
21654 if test $ac_beg -gt 1; then
21655 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21656 else
21657 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21658 fi
21659 if test ! -s $tmp/subs.frag; then
21660 ac_more_lines=false
21661 else
21662 # The purpose of the label and of the branching condition is to
21663 # speed up the sed processing (if there are no `@' at all, there
21664 # is no need to browse any of the substitutions).
21665 # These are the two extra sed commands mentioned above.
21666 (echo ':t
21667 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21668 if test -z "$ac_sed_cmds"; then
21669 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21670 else
21671 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21672 fi
21673 ac_sed_frag=`expr $ac_sed_frag + 1`
21674 ac_beg=$ac_end
21675 ac_end=`expr $ac_end + $ac_max_sed_lines`
21676 fi
21677 done
21678 if test -z "$ac_sed_cmds"; then
21679 ac_sed_cmds=cat
21680 fi
21681fi # test -n "$CONFIG_FILES"
21682
21683_ACEOF
21684cat >>$CONFIG_STATUS <<\_ACEOF
21685for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21686 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21687 case $ac_file in
21688 - | *:- | *:-:* ) # input from stdin
21689 cat >$tmp/stdin
21690 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21691 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21692 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21693 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21694 * ) ac_file_in=$ac_file.in ;;
21695 esac
21696
21697 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21698 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21699$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21700 X"$ac_file" : 'X\(//\)[^/]' \| \
21701 X"$ac_file" : 'X\(//\)$' \| \
21702 X"$ac_file" : 'X\(/\)' \| \
21703 . : '\(.\)' 2>/dev/null ||
21704echo X"$ac_file" |
21705 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21706 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21707 /^X\(\/\/\)$/{ s//\1/; q; }
21708 /^X\(\/\).*/{ s//\1/; q; }
21709 s/.*/./; q'`
21710 { if $as_mkdir_p; then
21711 mkdir -p "$ac_dir"
21712 else
21713 as_dir="$ac_dir"
21714 as_dirs=
21715 while test ! -d "$as_dir"; do
21716 as_dirs="$as_dir $as_dirs"
21717 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21718$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21719 X"$as_dir" : 'X\(//\)[^/]' \| \
21720 X"$as_dir" : 'X\(//\)$' \| \
21721 X"$as_dir" : 'X\(/\)' \| \
21722 . : '\(.\)' 2>/dev/null ||
21723echo X"$as_dir" |
21724 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21725 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21726 /^X\(\/\/\)$/{ s//\1/; q; }
21727 /^X\(\/\).*/{ s//\1/; q; }
21728 s/.*/./; q'`
21729 done
21730 test ! -n "$as_dirs" || mkdir $as_dirs
21731 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21732echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21733 { (exit 1); exit 1; }; }; }
21734
21735 ac_builddir=.
21736
21737if test "$ac_dir" != .; then
21738 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21739 # A "../" for each directory in $ac_dir_suffix.
21740 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21741else
21742 ac_dir_suffix= ac_top_builddir=
21743fi
21744
21745case $srcdir in
21746 .) # No --srcdir option. We are building in place.
21747 ac_srcdir=.
21748 if test -z "$ac_top_builddir"; then
21749 ac_top_srcdir=.
21750 else
21751 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21752 fi ;;
21753 [\\/]* | ?:[\\/]* ) # Absolute path.
21754 ac_srcdir=$srcdir$ac_dir_suffix;
21755 ac_top_srcdir=$srcdir ;;
21756 *) # Relative path.
21757 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21758 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21759esac
21760
21761# Do not use `cd foo && pwd` to compute absolute paths, because
21762# the directories may not exist.
21763case `pwd` in
21764.) ac_abs_builddir="$ac_dir";;
21765*)
21766 case "$ac_dir" in
21767 .) ac_abs_builddir=`pwd`;;
21768 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21769 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21770 esac;;
21771esac
21772case $ac_abs_builddir in
21773.) ac_abs_top_builddir=${ac_top_builddir}.;;
21774*)
21775 case ${ac_top_builddir}. in
21776 .) ac_abs_top_builddir=$ac_abs_builddir;;
21777 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21778 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21779 esac;;
21780esac
21781case $ac_abs_builddir in
21782.) ac_abs_srcdir=$ac_srcdir;;
21783*)
21784 case $ac_srcdir in
21785 .) ac_abs_srcdir=$ac_abs_builddir;;
21786 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21787 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21788 esac;;
21789esac
21790case $ac_abs_builddir in
21791.) ac_abs_top_srcdir=$ac_top_srcdir;;
21792*)
21793 case $ac_top_srcdir in
21794 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21795 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21796 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21797 esac;;
21798esac
21799
21800
21801 case $INSTALL in
21802 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21803 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21804 esac
21805
1409cd0b
FXC
21806 if test x"$ac_file" != x-; then
21807 { echo "$as_me:$LINENO: creating $ac_file" >&5
21808echo "$as_me: creating $ac_file" >&6;}
21809 rm -f "$ac_file"
21810 fi
6de9cd9a
DN
21811 # Let's still pretend it is `configure' which instantiates (i.e., don't
21812 # use $as_me), people would be surprised to read:
21813 # /* config.h. Generated by config.status. */
21814 if test x"$ac_file" = x-; then
21815 configure_input=
21816 else
21817 configure_input="$ac_file. "
21818 fi
21819 configure_input=$configure_input"Generated from `echo $ac_file_in |
21820 sed 's,.*/,,'` by configure."
21821
21822 # First look for the input files in the build tree, otherwise in the
21823 # src tree.
21824 ac_file_inputs=`IFS=:
21825 for f in $ac_file_in; do
21826 case $f in
21827 -) echo $tmp/stdin ;;
21828 [\\/$]*)
21829 # Absolute (can't be DOS-style, as IFS=:)
21830 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21831echo "$as_me: error: cannot find input file: $f" >&2;}
21832 { (exit 1); exit 1; }; }
21833 echo "$f";;
21834 *) # Relative
21835 if test -f "$f"; then
21836 # Build tree
21837 echo "$f"
21838 elif test -f "$srcdir/$f"; then
21839 # Source tree
21840 echo "$srcdir/$f"
21841 else
21842 # /dev/null tree
21843 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21844echo "$as_me: error: cannot find input file: $f" >&2;}
21845 { (exit 1); exit 1; }; }
21846 fi;;
21847 esac
21848 done` || { (exit 1); exit 1; }
6de9cd9a
DN
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
96b8a615
AJ
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 ;;
6de9cd9a
DN
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